/* ---------- Journey Home: cinematic intro ---------- */
#cine {
    position: fixed; inset: 0; z-index: 100000; overflow: hidden;
    background: #05040d; color: #f5efe6;
    font-family: Electrolize, Poppins, system-ui, sans-serif;
    -webkit-font-smoothing: antialiased; user-select: none;
}
#cine span { color: inherit; font-size: inherit; }
html.cine-active, html.cine-active body { overflow: hidden !important; }
#cine .cine-canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; opacity: 0; }
#cine .cine-landing {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
    opacity: 0; transform-origin: 50% 50%;
}
#cine .cine-flash { position: absolute; inset: 0; background: #f3f6fb; opacity: 0; pointer-events: none; }
#cine .cine-vignette {
    position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(ellipse at center, rgba(0,0,0,0) 55%, rgba(0,0,0,.55) 100%);
}
#cine .cine-grain {
    position: absolute; inset: -50%; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    animation: cine-grain 1s steps(6) infinite;
}
@keyframes cine-grain {
    0% { transform: translate(0, 0) } 20% { transform: translate(-5%, 3%) } 40% { transform: translate(4%, -6%) }
    60% { transform: translate(-3%, 5%) } 80% { transform: translate(6%, 2%) } 100% { transform: translate(0, 0) }
}
#cine .cine-bar { position: absolute; left: 0; right: 0; height: 9vh; background: #000; z-index: 3; }
#cine .cine-bar.top { top: 0; }
#cine .cine-bar.bottom { bottom: 0; }

/* HUD */
#cine .cine-hud { position: absolute; inset: calc(9vh + 18px) 28px; z-index: 4; pointer-events: none; font-size: 11px; letter-spacing: .22em; text-transform: uppercase; }
#cine .cine-hud > div { position: absolute; opacity: 0; }
#cine .cine-tl { top: 0; left: 0; color: rgba(245,239,230,.85); }
#cine .cine-tl i { font-style: normal; color: #ff923e; margin: 0 .35em; }
#cine .cine-tl b { font-weight: 400; color: #ff923e; }
#cine .cine-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #ff3e3e; margin-right: 8px; vertical-align: 1px; animation: cine-blink 1.2s infinite; }
@keyframes cine-blink { 50% { opacity: .2 } }
#cine .cine-tr { top: 0; right: 0; color: rgba(245,239,230,.7); font-variant-numeric: tabular-nums; }
#cine .cine-bl { bottom: 0; left: 0; display: grid; gap: 6px; }
#cine .cine-bl div { display: flex; gap: 14px; }
#cine .cine-bl span { color: #ff923e; width: 32px; }
#cine .cine-bl b { font-weight: 400; color: #f5efe6; font-variant-numeric: tabular-nums; min-width: 12ch; }
#cine .cine-br { bottom: 0; right: 0; color: #60caff; }
#cine .cine-br::before { content: ""; display: inline-block; width: 26px; height: 1px; background: currentColor; margin-right: 10px; vertical-align: 4px; }

/* captions */
#cine .cine-caption {
    position: absolute; left: 0; right: 0; bottom: calc(9vh + 70px); z-index: 4; text-align: center;
    font-size: clamp(13px, 1.5vw, 18px); letter-spacing: .32em; text-transform: uppercase; color: #f5efe6;
    text-shadow: 0 2px 18px rgba(0,0,0,.6); opacity: 0; pointer-events: none;
}

/* target reticle */
#cine .cine-reticle { position: absolute; width: 74px; height: 74px; margin: -37px 0 0 -37px; z-index: 4; opacity: 0; pointer-events: none; left: 50%; top: 50%; }
#cine .cine-reticle i { position: absolute; width: 16px; height: 16px; border: 2px solid #ff923e; }
#cine .cine-reticle i:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; }
#cine .cine-reticle i:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; }
#cine .cine-reticle i:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; }
#cine .cine-reticle i:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; }
#cine .cine-reticle span { position: absolute; left: 86px; top: 28px; white-space: nowrap; font-size: 11px; letter-spacing: .22em; color: #ff923e; text-shadow: 0 1px 8px rgba(0,0,0,.7); }

/* game title screen */
#cine .cine-title {
    position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center; opacity: 0; pointer-events: none; padding: 0 20px;
}
#cine.cine-titlemode { cursor: pointer; }
#cine.cine-titlemode .cine-title { pointer-events: auto; }
#cine.cine-titlemode .cine-bar { background: #091434; }
#cine .cine-title > * { opacity: 0; }
#cine .cine-kicker { font-family: Poppins, sans-serif; font-weight: 500; font-size: clamp(12px, 1.2vw, 15px); letter-spacing: .45em; text-transform: uppercase; color: #ff923e; margin-bottom: 14px; }
#cine .cine-place {
    opacity: 1 !important; margin: 0; font-family: Poppins, sans-serif; font-weight: 600; line-height: .95;
    font-size: clamp(54px, 11vw, 150px); letter-spacing: -.01em; color: #091434;
    text-shadow: 0 1px 0 #ffb874, 0 2px 0 #ff923e, 0 3px 0 #f08226, 0 4px 0 #e47619, 0 5px 0 #d86c12, 0 14px 22px rgba(9,20,52,.25);
}
#cine .cine-place span { display: inline-block; opacity: 0; }
#cine .cine-sub { font-family: Poppins, sans-serif; font-size: clamp(12px, 1.4vw, 16px); letter-spacing: .3em; text-transform: uppercase; margin-top: 26px; color: #4a5468; }
#cine .cine-sub i { font-style: normal; color: #ff923e; }
#cine .cine-start {
    margin-top: 34px; font: 600 clamp(15px, 1.6vw, 19px) Poppins, sans-serif; letter-spacing: .28em; text-transform: uppercase;
    color: #fff; background: #ff923e; border: 0; border-radius: 999px; padding: 16px 38px; cursor: pointer;
    box-shadow: 0 6px 0 #d86c12, 0 14px 30px rgba(255,146,62,.45);
    animation: cine-start-pulse 1.2s ease-in-out infinite;
}
#cine .cine-start:hover, #cine .cine-start:focus-visible { background: #091434; box-shadow: 0 6px 0 #000, 0 14px 30px rgba(9,20,52,.35); outline: none; }
@keyframes cine-start-pulse { 50% { transform: translateY(-3px) scale(1.03); } }
#cine .cine-hint { font: 400 12px Poppins, sans-serif; color: #7c8594; margin-top: 14px; letter-spacing: .08em; }
#cine .cine-controls { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 34px; opacity: 1 !important; }
#cine .cine-controls span { opacity: 0; font: 400 12.5px Poppins, sans-serif; color: #4a5468; background: rgba(255,255,255,.7); border: 1px solid #e6dccd; border-radius: 999px; padding: 7px 14px; }
#cine .cine-controls b { color: #091434; font-weight: 600; }

#cine .cine-skip {
    position: absolute; right: 28px; bottom: calc(9vh + 52px); z-index: 6; opacity: 0;
    font: 500 12px Poppins, sans-serif; letter-spacing: .18em; text-transform: uppercase; color: #f5efe6;
    background: rgba(255,255,255,.06); border: 1px solid rgba(245,239,230,.35); border-radius: 999px; padding: 10px 18px; cursor: pointer;
    transition: background .25s, border-color .25s, color .25s;
}
#cine .cine-skip:hover, #cine .cine-skip:focus-visible { background: #ff923e; border-color: #ff923e; color: #091434; outline: none; }

@media (max-width: 700px) {
    #cine .cine-bar { height: 7vh; }
    #cine .cine-hud { inset: calc(7vh + 12px) 16px; font-size: 9px; }
    #cine .cine-br { display: none; }
    #cine .cine-caption { bottom: calc(7vh + 64px); padding: 0 20px; letter-spacing: .2em; }
    #cine .cine-skip { right: 16px; bottom: calc(7vh + 72px); }
    #cine .cine-reticle span { display: none; }
}

/* ---------- landing: guided tour line ---------- */
#landing-tour { cursor: pointer; }
.landing-location-text { font-size: 13px; fill: #7c8594; font-family: Poppins, sans-serif; }
.landing-location-text .loc-time { fill: #091434; font-weight: 600; }
.landing-location-text .loc-sep { fill: #ff923e; }
#landing-tour .loc-dot { fill: #ff923e; }
#landing-tour .loc-pulse { fill: #ff923e; opacity: .35; transform-box: fill-box; transform-origin: center; animation: loc-pulse 2s ease-out infinite; }
#landing-tour:hover .landing-location-text { fill: #ff923e; }
@keyframes loc-pulse { 0% { transform: scale(.6); opacity: .5 } 100% { transform: scale(2.4); opacity: 0 } }

/* ---------- menu: replay ---------- */
#replay-journey {
    display: inline-flex; align-items: center; gap: 10px; align-self: flex-start;
    margin: 18px 0 4px; padding: 10px 16px; border-radius: 999px; cursor: pointer;
    font: 500 13px Poppins, sans-serif; color: #091434; white-space: nowrap; background: #f5efe6; border: 1px solid #e6dccd;
    transition: background .25s, color .25s;
}
#replay-journey:hover, #replay-journey:focus-visible { background: #ff923e; color: #fff; border-color: #ff923e; }
.rj-globe {
    width: 18px; height: 18px; border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #8fd0ff, #2f86d6 55%, #1b4f8f);
    box-shadow: inset -3px -2px 0 rgba(0,0,0,.15); position: relative;
}
.rj-globe::after { content: ""; position: absolute; left: 6px; top: 4px; width: 7px; height: 7px; border-radius: 50% 50% 50% 0; background: #6fbf4e; }
@media (max-aspect-ratio: 12/10) { #replay-journey { align-self: center; } }

/* ---------- project cards ---------- */
.work-image-wrap { position: relative; perspective: 900px; margin: 8px 8px 5px; border-radius: 13px; }
.work-image-wrap .work-item-image { margin: 0; width: 100%; display: block; will-change: transform; transform-style: preserve-3d; }
.work-image-shine {
    position: absolute; inset: 0; border-radius: 13px; pointer-events: none; opacity: 0; transition: opacity .3s;
    background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.35), rgba(255,255,255,0) 45%);
    mix-blend-mode: soft-light;
}

@media (prefers-reduced-motion: reduce) {
    #cine .cine-grain, #cine .cine-dot, #landing-tour .loc-pulse { animation: none; }
}
#landing-tour.loc-enter .loc-inner { animation: loc-enter .9s 1.4s cubic-bezier(.2,.8,.2,1) both; }
@keyframes loc-enter { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
@media (max-width: 700px) {
    #cine .cine-skip { top: calc(7vh + 40px); bottom: auto; }
}
#cine.cine-titlemode .cine-skip { color: #091434; border-color: rgba(9,20,52,.3); background: rgba(255,255,255,.5); }
/* ================= Abshan's World: game layer ================= */
:root { --gx-navy: #091434; --gx-orange: #ff923e; --gx-cream: #f5efe6; --gx-blue: #60caff; }

/* ---------- HUD ---------- */
#gx-hud {
    position: fixed; left: 22px; bottom: 22px; z-index: 50; display: flex; align-items: center; gap: 10px;
    padding: 8px 10px 8px 8px; border-radius: 18px; opacity: 0;
    background: rgba(255,255,255,.82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(9,20,52,.08); box-shadow: 0 10px 30px rgba(9,20,52,.12);
    font-family: Poppins, sans-serif; transform-origin: left bottom;
}
html.cine-active #gx-hud { visibility: hidden; }
#gx-hud button { font-family: inherit; cursor: pointer; }
.gx-portrait {
    position: relative; width: 46px; height: 46px; border-radius: 14px; border: 2px solid var(--gx-orange); padding: 0; overflow: hidden;
    background: linear-gradient(180deg, #8fd0ff, #3a8fd8);
}
.gx-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.gx-ping { position: absolute; right: 3px; top: 3px; width: 9px; height: 9px; border-radius: 50%; background: #5fe08a; box-shadow: 0 0 0 2px #fff; }
.gx-ping::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #5fe08a; animation: gx-ping 1.6s ease-out infinite; }
@keyframes gx-ping { to { transform: scale(2.6); opacity: 0; } }
.gx-stats { display: grid; gap: 4px; min-width: 120px; }
.gx-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; font-size: 11px; letter-spacing: .12em; color: var(--gx-navy); }
.gx-row b { font-weight: 600; }
.gx-lv { font-family: Electrolize, monospace; color: var(--gx-orange); font-size: 12px; }
.gx-xp { height: 8px; border-radius: 99px; background: #ece3d6; overflow: hidden; box-shadow: inset 0 1px 2px rgba(0,0,0,.08); }
.gx-xp i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, #ffb874, var(--gx-orange)); box-shadow: 0 0 10px rgba(255,146,62,.7); }
.gx-qbtn { all: unset; font-size: 11.5px; color: #4a5468; text-align: left; cursor: pointer; }
.gx-qbtn:hover, .gx-qbtn:focus-visible { color: var(--gx-orange); }
.gx-qcount { color: var(--gx-navy); font-weight: 600; }
.gx-play {
    display: inline-flex; align-items: center; gap: 6px; height: 46px; padding: 0 14px; border: 0; border-radius: 14px;
    background: var(--gx-navy); color: #fff; font-weight: 600; font-size: 13px; letter-spacing: .06em;
    box-shadow: 0 4px 0 #000; transition: transform .15s, box-shadow .15s, background .2s;
}
.gx-play svg { width: 22px; height: 22px; color: var(--gx-orange); }
.gx-play:hover, .gx-play:focus-visible { background: var(--gx-orange); outline: none; transform: translateY(-2px); box-shadow: 0 6px 0 #d86c12; }
.gx-play:hover svg { color: #fff; }
.gx-play:active { transform: translateY(3px); box-shadow: 0 1px 0 #000; }
#gx-hud .gx-portrait:focus-visible, .gx-qbtn:focus-visible { outline: 2px solid var(--gx-orange); outline-offset: 2px; }

/* ---------- guide dialogue ---------- */
#gx-dialog {
    position: fixed; left: 50%; bottom: 96px; z-index: 60; width: min(600px, calc(100vw - 28px));
    display: none; gap: 14px; padding: 16px 18px 16px 16px; border-radius: 22px;
    background: var(--gx-navy); color: #fff; font-family: Poppins, sans-serif;
    border: 3px solid var(--gx-orange); box-shadow: 0 8px 0 #d86c12, 0 24px 60px rgba(9,20,52,.35); cursor: pointer;
}
#gx-dialog.open { display: flex; }
#gx-dialog { translate: -50% 0; }
.gx-d-portrait { flex: none; width: 72px; height: 72px; border-radius: 16px; overflow: hidden; background: linear-gradient(180deg, #8fd0ff, #3a8fd8); border: 2px solid rgba(255,255,255,.25); }
.gx-d-portrait img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.gx-d-body { position: relative; flex: 1; min-width: 0; }
.gx-d-name { font-size: 12px; letter-spacing: .22em; color: var(--gx-orange); font-weight: 600; margin-bottom: 4px; }
.gx-d-name span { color: var(--gx-blue); font-weight: 400; letter-spacing: .1em; text-transform: none; margin-left: 6px; }
.gx-d-text { margin: 0; font-size: 15.5px; line-height: 1.5; min-height: 46px; color: #fff; }
.gx-d-next { position: absolute; right: 0; bottom: -4px; color: var(--gx-orange); font-size: 12px; opacity: 0; animation: gx-bob .8s ease-in-out infinite; }
@keyframes gx-bob { 50% { transform: translateY(4px); } }
.gx-d-choices { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.gx-d-choices button {
    font: 500 13px Poppins, sans-serif; color: var(--gx-navy); background: var(--gx-cream); border: 0; border-radius: 999px; padding: 8px 14px; cursor: pointer;
    box-shadow: 0 3px 0 #cdbfa9; transition: background .15s, color .15s, transform .15s;
}
.gx-d-choices button::before { content: "▶ "; font-size: 9px; color: var(--gx-orange); vertical-align: 1px; }
.gx-d-choices button:hover, .gx-d-choices button:focus-visible { background: var(--gx-orange); color: #fff; outline: none; transform: translateY(-2px); }
.gx-d-choices button:hover::before, .gx-d-choices button:focus-visible::before { color: #fff; }
.gx-d-close { position: absolute; top: -14px; right: -14px; width: 32px; height: 32px; border-radius: 50%; border: 3px solid var(--gx-orange); background: var(--gx-navy); color: #fff; font-size: 18px; line-height: 1; cursor: pointer; }
.gx-d-close:hover, .gx-d-close:focus-visible { background: var(--gx-orange); outline: none; }

/* ---------- zone banner ---------- */
#gx-zone { position: fixed; top: 16vh; left: 0; right: 0; z-index: 45; display: none; flex-direction: column; align-items: center; pointer-events: none; text-align: center; }
#gx-zone.show { display: flex; }
.gx-zone-code { font: 400 13px Electrolize, monospace; letter-spacing: .5em; color: #fff; background: var(--gx-orange); padding: 4px 14px 4px 20px; border-radius: 4px; }
.gx-zone-title {
    font: 600 clamp(40px, 6vw, 84px)/1.05 Poppins, sans-serif; color: var(--gx-navy); margin-top: 8px; letter-spacing: -.01em;
    text-shadow: 0 3px 0 #fff, 0 5px 0 var(--gx-orange), 0 16px 30px rgba(9,20,52,.2);
}
.gx-zone-tag { font: 500 13px Poppins, sans-serif; letter-spacing: .3em; text-transform: uppercase; color: #4a5468; margin-top: 8px; background: rgba(255,255,255,.75); padding: 4px 12px; border-radius: 999px; }

/* ---------- toasts ---------- */
#gx-toasts { position: fixed; top: 92px; right: 22px; z-index: 70; display: grid; gap: 10px; pointer-events: none; }
.gx-toast {
    display: flex; align-items: center; gap: 12px; min-width: 260px; max-width: 340px; padding: 10px 14px 10px 10px; border-radius: 16px;
    background: var(--gx-navy); color: #fff; font-family: Poppins, sans-serif; border: 2px solid var(--gx-orange); box-shadow: 0 5px 0 #d86c12, 0 16px 34px rgba(9,20,52,.3);
}
.gx-toast.quiet { border-color: var(--gx-blue); box-shadow: 0 5px 0 #2a8fc4, 0 16px 34px rgba(9,20,52,.3); }
.gx-t-icon { flex: none; width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--gx-orange); font-size: 20px; color: #fff; }
.gx-toast.quiet .gx-t-icon { background: var(--gx-blue); font: 600 18px Georgia, serif; }
.gx-toast b { display: block; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gx-orange); }
.gx-toast.quiet b { color: var(--gx-blue); }
.gx-toast span { display: block; font-size: 14px; color: #fff; }
.gx-toast em { margin-left: auto; font: 400 13px Electrolize, monospace; font-style: normal; color: #8ee07a; white-space: nowrap; }

/* ---------- level up ---------- */
.gx-levelup { position: fixed; inset: 0; z-index: 80; display: flex; flex-direction: column; align-items: center; justify-content: center; pointer-events: none; font-family: Poppins, sans-serif; }
.gx-levelup span { font: 400 16px Electrolize, monospace; letter-spacing: .6em; color: #fff; background: var(--gx-navy); padding: 6px 16px 6px 24px; border-radius: 6px; }
.gx-levelup b { font-size: clamp(70px, 12vw, 150px); color: var(--gx-orange); line-height: 1; text-shadow: 0 4px 0 #fff, 0 8px 0 var(--gx-navy), 0 20px 40px rgba(9,20,52,.3); }

/* ---------- quest log ---------- */
#gx-log { position: fixed; inset: 0; z-index: 90; display: none; align-items: center; justify-content: center; background: rgba(9,20,52,.45); backdrop-filter: blur(4px); padding: 16px; }
#gx-log.open { display: flex; }
.gx-log-card { width: min(520px, 100%); max-height: 86vh; overflow: auto; background: var(--gx-cream); border-radius: 24px; padding: 22px; font-family: Poppins, sans-serif; color: var(--gx-navy); border: 3px solid var(--gx-navy); box-shadow: 0 8px 0 var(--gx-navy); }
.gx-log-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.gx-log-head h3 { margin: 0; font-size: 24px; }
.gx-log-head span { font: 400 13px Electrolize, monospace; color: var(--gx-orange); }
.gx-log-x { margin-left: auto; width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--gx-navy); color: #fff; font-size: 18px; cursor: pointer; }
.gx-log-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.gx-log-card li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: #fff; border-radius: 14px; border: 1px solid #e6dccd; }
.gx-log-card li i { flex: none; width: 24px; height: 24px; border-radius: 8px; border: 2px solid #cdbfa9; display: grid; place-items: center; font-style: normal; font-weight: 600; color: #fff; }
.gx-log-card li.done i { background: #5fbf4e; border-color: #5fbf4e; }
.gx-log-card li.done b { text-decoration: line-through; text-decoration-color: rgba(9,20,52,.3); }
.gx-log-card li b { display: block; font-size: 14.5px; }
.gx-log-card li span { display: block; font-size: 12.5px; color: #7c8594; }
.gx-log-card li em { margin-left: auto; font: 400 12px Electrolize, monospace; font-style: normal; color: var(--gx-orange); white-space: nowrap; }
.gx-log-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; font-size: 13px; color: #4a5468; }
.gx-log-reset { font: 500 12px Poppins, sans-serif; background: none; border: 1px solid #cdbfa9; border-radius: 999px; padding: 6px 12px; cursor: pointer; color: #4a5468; }
.gx-log-reset:hover { border-color: #e04848; color: #e04848; }

/* ---------- sparks ---------- */
#gx-sparks { position: fixed; inset: 0; width: 100vw; height: 100vh; z-index: 10001; pointer-events: none; }

/* ---------- arcade ---------- */
#gx-arcade { position: fixed; inset: 0; z-index: 100002; display: flex; align-items: center; justify-content: center; padding: 14px; background: radial-gradient(ellipse at center, rgba(9,20,52,.7), rgba(5,4,13,.92)); perspective: 1200px; font-family: Poppins, sans-serif; touch-action: none; }
.gx-cab { width: min(900px, 100%); background: linear-gradient(180deg, #1b2a5c, #0d1638); border-radius: 26px; padding: 14px; border: 3px solid var(--gx-orange); box-shadow: 0 10px 0 #d86c12, 0 40px 80px rgba(0,0,0,.5), inset 0 2px 0 rgba(255,255,255,.12); }
.gx-marquee { position: relative; display: flex; align-items: baseline; justify-content: center; gap: 14px; padding: 8px 50px 12px; }
.gx-m-title { font: 600 clamp(22px, 3.4vw, 34px) Poppins, sans-serif; letter-spacing: .14em; color: var(--gx-orange); text-shadow: 0 0 18px rgba(255,146,62,.65), 0 3px 0 #b85a10; }
.gx-m-by { font: 400 12px Electrolize, monospace; color: var(--gx-blue); letter-spacing: .18em; }
.gx-cab-x { position: absolute; right: 4px; top: 4px; width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--gx-orange); background: transparent; color: #fff; font-size: 20px; cursor: pointer; }
.gx-cab-x:hover, .gx-cab-x:focus-visible { background: var(--gx-orange); outline: none; }
.gx-screen { position: relative; border-radius: 16px; overflow: hidden; border: 4px solid #050a1c; box-shadow: inset 0 0 40px rgba(0,0,0,.4); cursor: pointer; }
.gx-screen canvas { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
.gx-scan { position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(0deg, rgba(0,0,0,.06) 0 2px, transparent 2px 4px); mix-blend-mode: multiply; }
.gx-panel { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; padding: 12px 6px 2px; color: #c9d6ff; }
.gx-score { font: 400 13px Electrolize, monospace; letter-spacing: .2em; }
.gx-score b { font: 600 22px Electrolize, monospace; color: #fff; margin-left: 6px; letter-spacing: 0; }
.gx-keys { font-size: 12px; color: #9fb0e0; margin-left: auto; }
.gx-keys kbd { font: 400 11px Electrolize, monospace; background: #24346c; border: 1px solid #3a4d8f; border-bottom-width: 3px; border-radius: 6px; padding: 1px 6px; color: #fff; }
.gx-jump { display: none; }

/* ---------- landing tour line ---------- */
#landing-tour { cursor: pointer; outline: none; }
#landing-tour .loc-time { fill: #ff923e; font-weight: 600; }
#landing-tour:focus-visible .landing-location-text { text-decoration: underline; }

/* ---------- arcade menu item ---------- */
.gx-menu-arcade { color: #ff923e !important; }

/* ---------- small screens ---------- */
@media (max-width: 700px) {
    #gx-hud { left: 10px; bottom: 10px; padding: 6px; gap: 8px; border-radius: 16px; }
    .gx-portrait { width: 40px; height: 40px; }
    .gx-stats { min-width: 92px; }
    .gx-row { font-size: 9.5px; }
    .gx-play { height: 40px; padding: 0 10px; }
    .gx-play span { display: none; }
    #gx-dialog { bottom: 70px; padding: 12px; gap: 10px; }
    .gx-d-portrait { width: 52px; height: 52px; }
    .gx-d-text { font-size: 14px; min-height: 40px; }
    .gx-d-choices button { font-size: 12.5px; padding: 8px 12px; }
    #gx-toasts { top: 76px; right: 10px; left: 10px; }
    .gx-toast { min-width: 0; max-width: none; }
    .gx-keys { display: none; }
    .gx-jump { display: block; margin-left: auto; font: 600 15px Poppins, sans-serif; letter-spacing: .2em; color: #fff; background: var(--gx-orange); border: 0; border-radius: 999px; padding: 14px 26px; box-shadow: 0 5px 0 #d86c12; touch-action: manipulation; }
    .gx-jump:active { transform: translateY(3px); box-shadow: 0 2px 0 #d86c12; }
    .gx-cab { padding: 10px; border-radius: 20px; }
    .gx-m-by { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    .gx-ping::after, .gx-d-next, #cine .cine-start { animation: none; }
}
.gx-film { text-decoration: none; background: #ff923e; box-shadow: 0 4px 0 #d86c12; }
.gx-film svg { color: #091434 !important; }
.gx-film:hover, .gx-film:focus-visible { background: #091434; box-shadow: 0 6px 0 #000; }
.gx-film:hover svg { color: #ff923e !important; }
