/* ==========================================================================
   JoeCoding — open-world game theme for the public site.
   Loaded after style.css and after each page's own <style> block, and every
   rule is prefixed with body.game-ui, so it restyles the shared building
   blocks (panels, cards, buttons, nav) without touching the pages themselves.
   Remove the game.css <link> and the "game-ui" body class to switch it off.
   ========================================================================== */

body.game-ui {
    --gw-night: #0c1411;
    --gw-panel: #121c18;
    --gw-panel-2: #18251f;
    --gw-line: #2b3d33;
    --gw-green: #b1cb54;
    --gw-green-deep: #68a242;
    --gw-gold: #e3c77a;
    --gw-text: #e9efe2;
    --gw-mute: #9aa894;
    --gw-sea: #0a181c;
    --gw-display: 'Chakra Petch', 'Sarabun', sans-serif;
    --gw-body: 'Sarabun', 'Figtree', system-ui, sans-serif;

    background-color: var(--gw-night) !important;
    /* faint map contour lines behind everything */
    background-image:
        radial-gradient(ellipse at 50% -10%, rgba(104, 162, 66, .16), transparent 55%),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600' viewBox='0 0 600 600' fill='none' stroke='%23b1cb54' stroke-opacity='.055'%3E%3Cpath d='M-20 120C80 60 160 170 260 130S430 40 620 110'/%3E%3Cpath d='M-20 170C90 120 170 220 270 180S440 100 620 160'/%3E%3Cpath d='M-20 400C100 340 200 470 320 420S500 350 620 410'/%3E%3Cpath d='M-20 450C110 400 210 520 330 470S510 410 620 460'/%3E%3Cellipse cx='450' cy='270' rx='90' ry='50'/%3E%3Cellipse cx='450' cy='270' rx='55' ry='28'/%3E%3Cellipse cx='130' cy='300' rx='70' ry='36'/%3E%3C/svg%3E");
    background-attachment: fixed, scroll;
    color: var(--gw-text);
    font-family: var(--gw-body);
    font-size: 17px;
    line-height: 1.7;
}

body.game-ui h1,
body.game-ui h2,
body.game-ui h3,
body.game-ui h4,
body.game-ui h5 {
    font-family: var(--gw-display);
    letter-spacing: .01em;
}
body.game-ui h1 { font-weight: 700; }
body.game-ui h2 {
    font-weight: 700;
    font-size: 1.7rem;
    display: flex;
    align-items: center;
    gap: 12px;
}
/* diamond waypoint in front of every section title */
body.game-ui h2::before {
    content: "";
    width: 11px;
    height: 11px;
    flex: none;
    background: var(--gw-green);
    transform: rotate(45deg);
    box-shadow: 0 0 0 3px rgba(177, 203, 84, .18);
}
body.game-ui .text-center h2,
body.game-ui h2.text-center,
body.game-ui .cta-box h2 { justify-content: center; }
body.game-ui a:focus-visible,
body.game-ui button:focus-visible {
    outline: 2px solid var(--gw-gold);
    outline-offset: 3px;
}

/* ---------- HUD navigation ---------- */
body.game-ui .bg-dark { background-color: transparent !important; }
body.game-ui .navbar { padding: 14px 0 8px; }
body.game-ui ul.navbar-nav li.nav-item a.nav-link {
    font-family: var(--gw-display);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .08em;
    margin: 0;
    padding: 18px 16px 12px;
    color: var(--gw-mute);
    transition: color .2s;
}
body.game-ui ul.navbar-nav li.nav-item a.nav-link::before {
    /* waypoint diamond above the label */
    top: 4px;
    left: 50%;
    width: 8px;
    height: 8px;
    border: 0;
    background: var(--gw-green);
    transform: translateX(-50%) rotate(45deg) scale(.4);
    opacity: 0;
    transition: opacity .2s, transform .2s;
}
body.game-ui ul.navbar-nav li.nav-item a.nav-link::after {
    top: auto;
    bottom: 4px;
    left: 16px;
    width: calc(100% - 32px);
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--gw-green), transparent);
    transform: scaleX(0);
    opacity: 1;
    z-index: 0;
    transition: transform .25s;
}
body.game-ui ul.navbar-nav li.nav-item a.nav-link:hover,
body.game-ui ul.navbar-nav li.nav-item.active a.nav-link { color: #fff; }
body.game-ui ul.navbar-nav li.nav-item a.nav-link:hover::before,
body.game-ui ul.navbar-nav li.nav-item.active a.nav-link::before {
    opacity: 1;
    transform: translateX(-50%) rotate(45deg) scale(1);
}
body.game-ui ul.navbar-nav li.nav-item a.nav-link:hover::after,
body.game-ui ul.navbar-nav li.nav-item.active a.nav-link::after { transform: scaleX(1); }
body.game-ui ul.navbar-nav li.nav-item.active a.nav-link { border-bottom: 0; }
body.game-ui ul.navbar-nav li.nav-item.active a.nav-link::before {
    background: var(--gw-gold);
    box-shadow: 0 0 10px rgba(227, 199, 122, .8);
}

/* compass strip under the nav */
body.game-ui .hud-compass {
    position: relative;
    height: 16px;
    margin-bottom: 6px;
    background:
        repeating-linear-gradient(90deg, rgba(233, 239, 226, .55) 0 1px, transparent 1px 60px) 0 100% / 100% 9px no-repeat,
        repeating-linear-gradient(90deg, rgba(233, 239, 226, .28) 0 1px, transparent 1px 12px) 0 100% / 100% 4px no-repeat;
    border-bottom: 1px solid rgba(233, 239, 226, .3);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent);
}
body.game-ui .hud-compass::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -1px;
    border: 6px solid transparent;
    border-bottom-color: var(--gw-gold);
    transform: translateX(-50%);
}

/* ---------- panels ---------- */
body.game-ui .content-box-section,
body.game-ui .footer {
    position: relative;
    background: linear-gradient(180deg, rgba(24, 37, 31, .92), rgba(18, 28, 24, .92));
    border: 1px solid var(--gw-line);
    border-radius: 3px;
    padding: 28px 30px;
}
/* HUD corner brackets */
body.game-ui .content-box-section::before,
body.game-ui .content-box-section::after,
body.game-ui .footer::before,
body.game-ui .footer::after {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    border: 2px solid var(--gw-green);
    pointer-events: none;
}
body.game-ui .content-box-section::before,
body.game-ui .footer::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
body.game-ui .content-box-section::after,
body.game-ui .footer::after { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }

/* ---------- cards ---------- */
body.game-ui .content-box,
body.game-ui .service-card,
body.game-ui .use-case-card,
body.game-ui .faq-item,
body.game-ui .process-step {
    background: var(--gw-panel);
    border: 1px solid var(--gw-line);
    border-radius: 3px;
    transition: border-color .2s, box-shadow .2s, transform .2s;
}
body.game-ui .content-box { border-left: 3px solid var(--gw-green-deep); }
body.game-ui div.content-box:hover,
body.game-ui .service-card:hover,
body.game-ui .use-case-card:hover {
    animation: none;
    transform: translateY(-4px);
    border-color: var(--gw-green);
    box-shadow: 0 0 0 1px rgba(177, 203, 84, .25), 0 14px 30px rgba(0, 0, 0, .45);
}
body.game-ui .content-box img,
body.game-ui .service-card .service-img,
body.game-ui .content-box-section img[style*="border-radius"] { border-radius: 2px !important; }
body.game-ui .faq-item { border-left: 3px solid var(--gw-gold); }
body.game-ui .faq-item h5 { color: var(--gw-gold); font-size: 16px; }
body.game-ui .service-card p,
body.game-ui .faq-item p,
body.game-ui .use-case-card p,
body.game-ui .process-step p,
body.game-ui .feature-item p { color: var(--gw-mute); font-size: 15px; }
body.game-ui .process-step .step-number,
body.game-ui .feature-item .fi-icon {
    border-radius: 2px;
    transform: rotate(45deg);
    background: var(--gw-green);
}
body.game-ui .process-step .step-number { width: 44px; height: 44px; margin-top: 8px; margin-bottom: 22px; }
body.game-ui .process-step .step-number > *,
body.game-ui .feature-item .fi-icon > * { transform: rotate(-45deg); }
body.game-ui .process-step .step-number { font-family: var(--gw-display); }
body.game-ui .feature-item .fi-icon { width: 36px; height: 36px; margin: 4px 4px 0; font-size: 15px; }
body.game-ui .feature-item { gap: 18px; }

body.game-ui .service-tag,
body.game-ui .tech-tag {
    border-radius: 2px;
    background: rgba(177, 203, 84, .08);
    border: 1px solid rgba(177, 203, 84, .4);
    font-family: var(--gw-display);
    letter-spacing: .03em;
}
body.game-ui .service-hero-badge,
body.game-ui .sp-badge,
body.game-ui .platform-badge {
    font-family: var(--gw-display);
    border-radius: 0;
    background: var(--gw-gold);
    color: #1a1608;
    clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
    padding-left: 20px;
    padding-right: 20px;
}
body.game-ui .stat-box {
    border: 1px solid var(--gw-line);
    background: var(--gw-panel);
    border-radius: 3px;
}
body.game-ui .stat-box .stat-number { font-family: var(--gw-display); font-variant-numeric: tabular-nums; }
body.game-ui .stat-box .stat-label { color: var(--gw-mute); text-transform: uppercase; letter-spacing: .06em; }
body.game-ui .cta-box {
    border-radius: 3px;
    border-color: var(--gw-gold);
    background:
        radial-gradient(ellipse at 50% 0, rgba(227, 199, 122, .14), transparent 60%),
        var(--gw-panel);
}
body.game-ui .breadcrumb-custom { font-family: var(--gw-display); letter-spacing: .04em; }

/* ---------- buttons ---------- */
body.game-ui .btn-cta,
body.game-ui .btn-cta-outline {
    font-family: var(--gw-display);
    letter-spacing: .04em;
    border-radius: 0;
    padding: 12px 30px;
}
body.game-ui .btn-cta {
    background: var(--gw-green);
    color: #10180a;
    clip-path: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
    transition: background .2s, transform .15s;
}
body.game-ui .btn-cta:hover { opacity: 1; background: #c6e062; transform: translateY(-2px); color: #10180a; }
body.game-ui .btn-cta-outline {
    border: 1px solid var(--gw-green);
    color: var(--gw-green);
    background: rgba(177, 203, 84, .06);
}
body.game-ui .btn-cta-outline:hover { background: var(--gw-green); color: #10180a; }

/* ---------- forms (quote request) ---------- */
body.game-ui .qr-form .form-control,
body.game-ui .qr-form .flatpickr-input[readonly] {
    background: var(--gw-night);
    border-color: var(--gw-line);
    border-radius: 2px;
}
body.game-ui .qr-form .form-control:focus { border-color: var(--gw-green); background: var(--gw-night); }
body.game-ui .qr-group-title { font-family: var(--gw-display); letter-spacing: .04em; }
body.game-ui .qr-lead { color: var(--gw-mute); }

/* ---------- footer ---------- */
body.game-ui .footer { margin-bottom: 30px; }
body.game-ui .footer h3 {
    font-size: 15px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--gw-gold);
}
body.game-ui .footer ul { padding-left: 0; list-style: none; }
body.game-ui .footer .col-md-4:last-child ul li { padding: 3px 0; }
body.game-ui .footer .col-md-4:last-child ul li::before { content: "◇ "; color: var(--gw-green); }
body.game-ui .footer .col-md-4:last-child ul li a:hover { color: var(--gw-green) !important; }
body.game-ui .footer a.contact { color: var(--gw-text); }
body.game-ui .footer a.contact:hover { color: var(--gw-green); text-decoration: none; }

/* ==========================================================================
   Home page: hero, quest tracker, world map, quest board
   ========================================================================== */
body.game-ui .gw-kicker {
    font-family: var(--gw-display);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--gw-gold);
    margin-bottom: 14px;
}
body.game-ui .gw-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    line-height: 1.15;
    margin-bottom: 16px;
}
body.game-ui .gw-hero h1 span { color: var(--gw-green); display: block; }
body.game-ui .gw-hero .gw-lead { font-size: 1.15rem; color: var(--gw-mute); max-width: 30em; margin-bottom: 26px; }
body.game-ui .gw-hero .btn-cta,
body.game-ui .gw-hero .btn-cta-outline { margin: 0 10px 10px 0; display: inline-block; text-decoration: none; font-weight: 700; }

/* quest tracker */
body.game-ui .gw-quest {
    background: rgba(12, 20, 17, .7);
    border: 1px solid var(--gw-line);
    border-left: 3px solid var(--gw-gold);
    padding: 20px 22px;
    height: 100%;
}
body.game-ui .gw-quest__title { font-family: var(--gw-display); font-weight: 700; font-size: 1.2rem; margin-bottom: 14px; }
body.game-ui .gw-quest ol { list-style: none; padding: 0; margin: 0; }
body.game-ui .gw-quest li {
    position: relative;
    padding: 0 0 12px 26px;
    color: var(--gw-text);
    font-size: 16px;
}
body.game-ui .gw-quest li::before {
    content: "";
    position: absolute;
    left: 3px;
    top: .55em;
    width: 9px;
    height: 9px;
    border: 1.5px solid var(--gw-green);
    transform: rotate(45deg);
}
body.game-ui .gw-quest li:not(:last-child)::after {
    content: "";
    position: absolute;
    left: 7px;
    top: 1.35em;
    bottom: -.3em;
    border-left: 1px dashed var(--gw-line);
}
body.game-ui .gw-quest__reward { margin-top: 6px; font-size: 14px; color: var(--gw-mute); }
body.game-ui .gw-quest__reward b { color: var(--gw-gold); font-weight: 600; }

/* world map */
body.game-ui .gw-map {
    position: relative;
    aspect-ratio: 16 / 9;
    background: var(--gw-sea);
    border: 1px solid var(--gw-line);
    overflow: hidden;
}
body.game-ui .gw-map > svg:not(.gw-map__compass) { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
body.game-ui .gw-map__hud {
    position: absolute;
    z-index: 3;
    font-family: var(--gw-display);
    font-size: 12px;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--gw-mute);
    pointer-events: none;
}
body.game-ui .gw-map__hud--tl { top: 14px; left: 16px; }
body.game-ui .gw-map__hud--bl { bottom: 12px; left: 16px; }
body.game-ui .gw-map__hud b { color: var(--gw-green); font-weight: 600; }
body.game-ui .gw-map__compass { position: absolute; z-index: 3; top: 12px; right: 14px; width: 64px; height: 64px; pointer-events: none; }

body.game-ui .gw-marker {
    position: absolute;
    z-index: 4;
    left: var(--x);
    top: var(--y);
    transform: translate(-50%, -22px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--gw-text);
}
body.game-ui .gw-marker__pin {
    position: relative;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    transform: rotate(45deg);
    background: var(--gw-panel);
    border: 2px solid var(--gw-green);
    color: var(--gw-green);
    font-size: 17px;
    transition: background .2s, color .2s, transform .2s;
}
body.game-ui .gw-marker__pin i { transform: rotate(-45deg); }
body.game-ui .gw-marker__pin::after {
    content: "";
    position: absolute;
    inset: -8px;
    border: 1px solid var(--gw-green);
    opacity: 0;
    animation: gw-ping 2.8s ease-out infinite;
    animation-delay: var(--d, 0s);
}
@keyframes gw-ping {
    0% { transform: scale(.7); opacity: .7; }
    70%, 100% { transform: scale(1.35); opacity: 0; }
}
body.game-ui .gw-marker__label {
    font-family: var(--gw-display);
    font-size: 13px;
    font-weight: 600;
    line-height: 1.25;
    text-align: center;
    white-space: nowrap;
    padding: 4px 10px;
    background: rgba(12, 20, 17, .88);
    border: 1px solid var(--gw-line);
    transition: border-color .2s, color .2s;
}
body.game-ui .gw-marker__label small { color: var(--gw-mute); font-size: 11px; margin-right: 5px; letter-spacing: .08em; }
body.game-ui .gw-marker:hover .gw-marker__pin,
body.game-ui .gw-marker:focus-visible .gw-marker__pin,
body.game-ui .gw-marker.is-lit .gw-marker__pin {
    background: var(--gw-green);
    color: #10180a;
    transform: rotate(45deg) scale(1.12);
}
body.game-ui .gw-marker:hover .gw-marker__label,
body.game-ui .gw-marker:focus-visible .gw-marker__label,
body.game-ui .gw-marker.is-lit .gw-marker__label { border-color: var(--gw-green); color: #fff; }
body.game-ui .gw-marker:hover,
body.game-ui .gw-marker.is-lit { z-index: 5; }
body.game-ui .gw-marker:focus-visible { outline: 0; }

/* main-quest marker is gold */
body.game-ui .gw-marker--quest .gw-marker__pin { border-color: var(--gw-gold); color: var(--gw-gold); }
body.game-ui .gw-marker--quest .gw-marker__pin::after { border-color: var(--gw-gold); }
body.game-ui .gw-marker--quest .gw-marker__label { border-color: rgba(227, 199, 122, .55); color: var(--gw-gold); }
body.game-ui .gw-marker--quest:hover .gw-marker__pin,
body.game-ui .gw-marker--quest:focus-visible .gw-marker__pin { background: var(--gw-gold); color: #1a1608; }
body.game-ui .gw-marker--quest:hover .gw-marker__label { border-color: var(--gw-gold); color: var(--gw-gold); }

/* quest board (service cards on the home page) */
body.game-ui .gw-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--gw-panel);
    border: 1px solid var(--gw-line);
    color: var(--gw-text);
    text-decoration: none;
    transition: border-color .2s, transform .2s, box-shadow .2s;
}
body.game-ui .gw-card:hover,
body.game-ui .gw-card:focus-visible,
body.game-ui .gw-card.is-lit {
    transform: translateY(-4px);
    border-color: var(--gw-green);
    box-shadow: 0 14px 30px rgba(0, 0, 0, .45);
    color: var(--gw-text);
    text-decoration: none;
}
body.game-ui .gw-card__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
body.game-ui .gw-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; border-radius: 0 !important; }
body.game-ui .gw-card__img::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(18, 28, 24, .95));
}
body.game-ui .gw-card__no {
    position: absolute;
    z-index: 1;
    left: 0;
    top: 14px;
    font-family: var(--gw-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .14em;
    padding: 4px 16px 4px 12px;
    background: var(--gw-green);
    color: #10180a;
    clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%);
}
body.game-ui .gw-card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; flex: 1; }
body.game-ui .gw-card__body h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
body.game-ui .gw-card__body h3 i { color: var(--gw-green); margin-right: 8px; font-size: .9em; }
body.game-ui .gw-card__body p { color: var(--gw-mute); font-size: 15px; margin-bottom: 14px; }
body.game-ui .gw-card__go {
    margin-top: auto;
    font-family: var(--gw-display);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--gw-green);
}
body.game-ui .gw-card__go i { margin-left: 6px; transition: transform .2s; }
body.game-ui .gw-card:hover .gw-card__go i { transform: translateX(5px); }

/* ---------- small screens ---------- */
@media (max-width: 991.98px) {
    body.game-ui .navbar-collapse {
        background: var(--gw-panel);
        border: 1px solid var(--gw-line);
        margin-top: 10px;
        padding: 6px 14px 12px;
    }
    body.game-ui ul.navbar-nav li.nav-item a.nav-link { padding: 12px 6px 12px 24px; }
    body.game-ui ul.navbar-nav li.nav-item a.nav-link::before { top: 50%; left: 6px; margin-top: -4px; }
    body.game-ui ul.navbar-nav li.nav-item a.nav-link::after { display: none; }
}
@media (max-width: 767.98px) {
    body.game-ui { font-size: 16px; }
    body.game-ui .content-box-section,
    body.game-ui .footer { padding: 22px 18px; }
    body.game-ui .gw-quest { margin-top: 22px; }
    body.game-ui .gw-map { aspect-ratio: 4 / 5; }
    body.game-ui .gw-map__compass { width: 46px; height: 46px; }
    body.game-ui .gw-marker { gap: 9px; transform: translate(-50%, -17px); }
    body.game-ui .gw-marker__pin { width: 34px; height: 34px; font-size: 14px; }
    body.game-ui .gw-marker__label { font-size: 11.5px; padding: 3px 7px; }
    body.game-ui .gw-marker__label small { display: none; }
    body.game-ui .footer .col-md-4 + .col-md-4 { margin-top: 26px; }
}
@media (prefers-reduced-motion: reduce) {
    body.game-ui *,
    body.game-ui *::before,
    body.game-ui *::after { animation: none !important; transition: none !important; }
}

/* TH / EN switch, squared off to match the HUD */
body.game-ui .lang-switch__box { border-radius: 2px; border-color: var(--gw-line); background: var(--gw-panel); }
body.game-ui .lang-switch__link { border-radius: 1px; font-family: var(--gw-display); }
body.game-ui .lang-switch__link.is-current,
body.game-ui .lang-switch__link.is-current:hover { background: var(--gw-green); color: #10180a; }
@media (max-width: 991.98px) {
    body.game-ui .navbar-nav .lang-switch { margin: 8px 0 6px 6px; }
}

/* Pages opened inside the game window (see layouts/public.blade.php): no header or footer, a little room on top. */
body.game-ui.is-embed { padding-top: 16px; }

/* ==========================================================================
   Sky-islands look, to match the home page (/islands): bright sky and clouds
   behind, with the content on dark plates like the HUD of the islands page.
   These rules come last, so they replace the night-map background above.
   ========================================================================== */
body.game-ui {
    background-color: #8fcaf0 !important;
    background-image:
        /* low-poly clouds, two layers so they do not line up */
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='720' height='520' viewBox='0 0 720 520'%3E%3Cg fill='%23fff' fill-opacity='.78'%3E%3Cpath d='M60 96l34-26 46 6 30-22 52 10 26 30-18 26-150 4z'/%3E%3Cpath d='M470 300l28-20 40 8 34-16 38 22 8 26-150 6z'/%3E%3C/g%3E%3Cg fill='%23e3f1fb' fill-opacity='.8'%3E%3Cpath d='M94 70l46 6 30-22-20 44-76 2z'/%3E%3Cpath d='M498 280l40 8 34-16-12 40-74 4z'/%3E%3C/g%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='980' height='700' viewBox='0 0 980 700'%3E%3Cg fill='%23fff' fill-opacity='.45'%3E%3Cpath d='M620 120l50-34 64 10 44-26 60 30 14 40-240 8z'/%3E%3Cpath d='M120 470l40-28 56 8 40-20 54 26 10 34-210 8z'/%3E%3C/g%3E%3C/svg%3E"),
        linear-gradient(180deg, #5fa9e2 0%, #8fcaf0 45%, #cfe9f8 100%);
    background-attachment: fixed, fixed, fixed;
    background-size: 720px 520px, 980px 700px, cover;
}
/* a small floating island in the corner of wide screens */
body.game-ui::after {
    content: "";
    position: fixed;
    z-index: -1;
    right: 1.5vw;
    bottom: 3vh;
    width: 210px;
    height: 230px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 210 230'%3E%3Cpath d='M22 96l40 26 46 6 52-8 30-24-26 52-24 18-18 46-22-40-34-22z' fill='%237d6a58'/%3E%3Cpath d='M22 96l40 26 46 6-8 46-34-22z' fill='%239b7b55'/%3E%3Cpath d='M12 90l34-20 58-8 60 6 36 22-34 22-60 10-60-8z' fill='%2374b452'/%3E%3Cpath d='M12 90l34-20 58-8-6 54-52-4z' fill='%2386c463'/%3E%3Cpath d='M92 52h40v34H92z' fill='%23f3ead6'/%3E%3Cpath d='M84 54l28-26 28 26z' fill='%237ea82e'/%3E%3Cpath d='M106 66h12v20h-12z' fill='%237a5530'/%3E%3Cpath d='M50 84l12-34 12 34z' fill='%233a8445'/%3E%3Cpath d='M152 88l10-28 10 28z' fill='%233a8445'/%3E%3C/svg%3E") no-repeat center / contain;
    pointer-events: none;
    animation: gw-float 7s ease-in-out infinite;
}
@keyframes gw-float { 50% { transform: translateY(-12px); } }
@media (max-width: 1399.98px) { body.game-ui::after { display: none; } }
body.game-ui.is-embed::after { display: none; }

/* header: a dark plate, like the logo plate on the islands page */
body.game-ui .navbar {
    margin-top: 14px;
    padding: 8px 18px;
    background: #0c1411 !important;
    border: 1px solid var(--gw-line);
    border-bottom: 3px solid var(--gw-green);
    box-shadow: 0 8px 22px rgba(8, 30, 50, .3);
}
body.game-ui .navbar-brand img { width: 96px; }
body.game-ui .hud-compass { display: none; }
body.game-ui .contents { margin-top: 18px; }

/* content plates: solid enough to read on the bright sky */
body.game-ui .content-box-section,
body.game-ui .footer {
    background: linear-gradient(180deg, #16231d, #101a16);
    box-shadow: 0 10px 26px rgba(8, 30, 50, .28);
}
body.game-ui .cta-box { box-shadow: 0 10px 26px rgba(8, 30, 50, .28); }
@media (max-width: 991.98px) {
    body.game-ui .navbar-collapse { border: 0; padding: 6px 0 8px; margin-top: 6px; }
}

/* call-to-action box: centred on every page, including pages that do not carry their own style for it (contact) */
body.game-ui .cta-box { text-align: center; padding: 36px 28px; border: 1px solid var(--gw-gold); }
body.game-ui .cta-box .btn-cta, body.game-ui .cta-box .btn-cta-outline { margin: 6px; display: inline-block; text-decoration: none; font-weight: 700; }

/* ---------- articles ---------- */
body.game-ui .article-row { display: block; padding: 20px 22px; margin-bottom: 14px; background: var(--gw-panel); border: 1px solid var(--gw-line); border-left: 3px solid var(--gw-green); color: var(--gw-text); text-decoration: none; transition: border-color .2s, transform .2s; }
body.game-ui .article-row:last-child { margin-bottom: 0; }
body.game-ui .article-row:hover, body.game-ui .article-row:focus-visible { border-color: var(--gw-green); transform: translateY(-3px); color: #fff; text-decoration: none; }
body.game-ui .article-row h2, body.game-ui .article-row h3 { display: block; font-size: 1.35rem; margin: 4px 0 8px; }
body.game-ui .article-row h2::before { content: none; }
body.game-ui .article-row p { color: var(--gw-mute); margin-bottom: 10px; }
body.game-ui .article-row__date, body.game-ui .article-meta { font-family: var(--gw-display); font-size: 13px; letter-spacing: .08em; color: var(--gw-gold); }
body.game-ui .article-row__go { font-family: var(--gw-display); font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gw-green); }
body.game-ui .article-summary { font-size: 1.15rem; color: #c9d3c3; border-left: 3px solid var(--gw-gold); padding-left: 16px; margin: 18px 0 26px; }
body.game-ui .article-body { max-width: 46em; font-size: 1.08rem; line-height: 1.85; color: #dbe3d4; }
body.game-ui .article-body h2 { font-size: 1.45rem; margin: 34px 0 12px; }
body.game-ui .article-body h3 { font-size: 1.2rem; margin: 26px 0 10px; }
body.game-ui .article-body p, body.game-ui .article-body ul, body.game-ui .article-body ol { margin-bottom: 16px; }
body.game-ui .article-body li { margin-bottom: 6px; }
body.game-ui .article-body a { color: var(--gw-green); text-decoration: underline; }
body.game-ui .article-body strong { color: #fff; }
body.game-ui .article-body blockquote { border-left: 3px solid var(--gw-line); padding-left: 16px; color: var(--gw-mute); }
body.game-ui .breadcrumb-custom { font-size: 13px; margin-bottom: 14px; }
body.game-ui .breadcrumb-custom a { color: var(--gw-green); text-decoration: none; }
body.game-ui .breadcrumb-custom a:hover { text-decoration: underline; }
