/* ============================================================
   ECON DEV WARS: ARCADE EDITION — neon 80s skin
   ============================================================ */
:root {
    --bg: #05010d;
    --panel: #0d0524;
    --panel2: #120836;
    --cyan: #00f0ff;
    --magenta: #ff2bd6;
    --yellow: #ffe600;
    --green: #39ff14;
    --red: #ff2244;
    --orange: #ff9f1c;
    --dim: #6a5a9a;
    --font: 'Press Start 2P', 'Courier New', monospace;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html, body {
    margin: 0; padding: 0;
    background: var(--bg);
    color: #fff;
    font-family: var(--font);
    font-size: 11px;
    line-height: 1.5;
    min-height: 100%;
    overflow-x: hidden;
}

button { font-family: var(--font); cursor: pointer; text-transform: uppercase; }
button:disabled { opacity: 0.35; cursor: not-allowed; }

/* ---------- CRT overlay ---------- */
.crt::before {
    content: '';
    position: fixed; inset: 0;
    background: repeating-linear-gradient(0deg,
        rgba(0,0,0,0.22) 0px, rgba(0,0,0,0.22) 1px,
        transparent 1px, transparent 3px);
    pointer-events: none; z-index: 9000;
}
.crt::after {
    content: '';
    position: fixed; inset: 0;
    background: radial-gradient(ellipse at center, transparent 55%, rgba(5,0,20,0.55) 100%);
    pointer-events: none; z-index: 9001;
}

/* ---------- shared ---------- */
.neon-cyan    { color: var(--cyan);    text-shadow: 0 0 6px var(--cyan); }
.neon-magenta { color: var(--magenta); text-shadow: 0 0 8px var(--magenta); }
.neon-yellow  { color: var(--yellow);  text-shadow: 0 0 8px var(--yellow); }
.dim  { color: var(--dim); font-size: 9px; }
.dim2 { color: var(--dim); }
.good { color: var(--green); }
.bad  { color: var(--red); }
.warn-txt { color: var(--orange); }
@keyframes blink { 50% { opacity: 0.2; } }
@keyframes pulse { 50% { transform: scale(1.05); filter: brightness(1.5); } }

.pbar { height: 10px; background: #1a0a3a; border: 1px solid rgba(0,240,255,0.35); overflow: hidden; }
.pbar-fill { height: 100%; transition: width 0.3s; }
.pbar-fill.good { background: linear-gradient(90deg, var(--green), var(--cyan)); }
.pbar-fill.mid  { background: linear-gradient(90deg, var(--yellow), var(--orange)); }

.chip {
    display: inline-block;
    font-size: 8px;
    padding: 2px 6px;
    border: 1px solid var(--c, var(--cyan));
    color: var(--c, var(--cyan));
    text-shadow: 0 0 4px var(--c, var(--cyan));
    white-space: nowrap;
}
.kbd { font-size: 7px; color: var(--dim); }

.big-btn {
    background: linear-gradient(180deg, #2a0a55, #14052e);
    border: 3px solid var(--magenta);
    color: #fff;
    text-shadow: 0 0 6px var(--magenta);
    box-shadow: 0 0 16px rgba(255,43,214,0.5), inset 0 0 12px rgba(255,43,214,0.2);
    font-size: 15px;
    padding: 16px 34px;
}
.big-btn:hover { filter: brightness(1.4); }
.big-btn.small { font-size: 11px; padding: 12px 20px; }
.big-btn.cont { border-color: var(--green); text-shadow: 0 0 6px var(--green); box-shadow: 0 0 16px rgba(57,255,20,0.5), inset 0 0 12px rgba(57,255,20,0.2); }
.ghost-btn {
    background: transparent;
    border: 2px solid var(--cyan);
    color: var(--cyan);
    padding: 10px 20px;
    font-size: 10px;
}
.ghost-btn:hover { background: rgba(0,240,255,0.12); }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }


/* ============================================================
   GAME MARQUEE — always-on title header on the game screen
   ============================================================ */
#gameMarquee {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 9px 0 8px;
    background:
        linear-gradient(180deg, rgba(255,43,214,0.22), rgba(0,240,255,0.10)),
        #14052e;
    border: 2px solid var(--magenta);
    box-shadow: 0 0 14px rgba(255,43,214,0.35);
}
.gm-title {
    font-size: 15px;
    color: var(--yellow);
    text-shadow: 0 0 10px var(--yellow), 2px 2px 0 var(--magenta);
    letter-spacing: 2px;
}
.gm-sub { font-size: 8px; color: var(--cyan); text-shadow: 0 0 6px var(--cyan); letter-spacing: 3px; }

/* ============================================================
   ATTRACT
   ============================================================ */
#screen-attract {
    min-height: 100vh;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center;
    padding: 24px 12px;
    gap: 18px;
    background:
        radial-gradient(ellipse at 50% 110%, rgba(255,43,214,0.25), transparent 60%),
        radial-gradient(ellipse at 50% -20%, rgba(0,240,255,0.15), transparent 60%),
        var(--bg);
}
.title-main {
    font-size: clamp(24px, 6.5vw, 58px);
    margin: 0;
    color: var(--yellow);
    text-shadow: 0 0 10px var(--yellow), 4px 4px 0 var(--magenta), 8px 8px 0 rgba(255,43,214,0.4);
    letter-spacing: 2px;
    animation: titleGlow 2.4s ease-in-out infinite;
}
@keyframes titleGlow {
    50% { text-shadow: 0 0 22px var(--yellow), 4px 4px 0 var(--magenta), 8px 8px 0 rgba(255,43,214,0.4); }
}
.title-sub { font-size: clamp(12px, 3vw, 20px); color: var(--cyan); text-shadow: 0 0 10px var(--cyan); letter-spacing: 6px; margin: 0; }
.title-tag { color: var(--dim); font-size: 10px; max-width: 600px; line-height: 2; }
#pressStart { font-size: clamp(12px, 3vw, 18px); color: var(--green); text-shadow: 0 0 10px var(--green); letter-spacing: 3px; }

.hs-panel {
    border: 2px solid var(--cyan);
    box-shadow: 0 0 14px rgba(0,240,255,0.35);
    background: rgba(13,5,36,0.85);
    padding: 14px 18px;
    min-width: min(92vw, 460px);
}
.hs-title { color: var(--magenta); text-shadow: 0 0 8px var(--magenta); font-size: 12px; margin-bottom: 10px; }
.hs-row {
    display: grid;
    grid-template-columns: 2ch 5ch 1fr auto;
    gap: 10px;
    font-size: 10px;
    padding: 3px 0;
    color: var(--cyan);
    text-align: left;
}
.hs-row:first-child { color: var(--yellow); text-shadow: 0 0 6px var(--yellow); }
.hs-ini { color: var(--green); }
.hs-score { text-align: right; }
.hs-jobs { color: var(--dim); }

/* ============================================================
   GAME SCREEN
   ============================================================ */
#screen-game {
    min-height: 100vh;
    display: flex; flex-direction: column;
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    padding: 8px 8px 0;
    gap: 8px;
}

/* top bar */
#topbar { display: flex; align-items: center; gap: 12px; }
.day-wrap { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.day-bar { height: 12px; }
.stat-label { font-size: 8px; color: var(--dim); letter-spacing: 1px; }
.top-btns { display: flex; gap: 5px; }
.hud-btn {
    background: #14052e;
    border: 2px solid var(--cyan);
    color: var(--cyan);
    font-size: 10px;
    padding: 6px 9px;
}
.hud-btn:hover { background: rgba(0,240,255,0.15); }

/* stats bar */
#statsbar {
    display: flex; flex-wrap: wrap;
    gap: 6px 18px;
    align-items: center;
    border: 2px solid var(--magenta);
    box-shadow: 0 0 12px rgba(255,43,214,0.4);
    background: linear-gradient(180deg, var(--panel2), var(--panel));
    padding: 8px 12px;
}
.stat-cell { display: flex; flex-direction: column; gap: 2px; }
.stat-val { font-size: 13px; white-space: nowrap; }
.rep-cell { flex: 1; min-width: 130px; }
.rep-bar { height: 8px; }

/* skyline */
#skylineWrap { border: 2px solid var(--magenta); box-shadow: 0 0 12px rgba(255,43,214,0.35); position: relative; }
#skyline { display: block; width: 100%; height: 130px; }
#skylineLabel { position: absolute; top: 4px; left: 8px; font-size: 8px; color: rgba(255,255,255,0.65); text-shadow: 0 0 4px var(--magenta); }

/* panels grid */
#gamegrid {
    display: grid;
    grid-template-columns: minmax(250px, 5fr) minmax(300px, 7fr);
    gap: 8px;
}
.panel {
    border: 2px solid var(--cyan);
    box-shadow: 0 0 10px rgba(0,240,255,0.2);
    background: rgba(13,5,36,0.92);
    padding: 10px;
}
.panel-title { font-size: 9px; color: var(--magenta); text-shadow: 0 0 6px var(--magenta); letter-spacing: 1px; margin-bottom: 8px; }
.rival-title { margin-top: 14px; }

/* market */
.mkt-row { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: center; padding: 3px 0; }
.mkt-bar { height: 8px; background: #1a0a3a; border: 1px solid rgba(255,255,255,0.15); overflow: hidden; }
.mkt-fill { height: 100%; }
.mkt-txt { font-size: 8px; white-space: nowrap; }

/* rivals */
.rival-row { display: grid; grid-template-columns: 11ch 1fr auto; gap: 8px; align-items: center; padding: 3px 0; font-size: 8px; }
.rival-name { color: var(--dim); }
.rival-row:first-child .rival-name { color: var(--yellow); }
.rival-bar { height: 10px; background: #1a0a3a; border: 1px solid rgba(255,255,255,0.15); overflow: hidden; }
.rival-bar div { height: 100%; box-shadow: 0 0 8px currentColor; transition: width 0.4s; }
.rival-jobs { color: var(--cyan); }

/* portfolio */
.portfolio { max-height: 210px; overflow-y: auto; display: flex; flex-direction: column; gap: 5px; }
.empty-note { color: var(--dim); font-size: 9px; padding: 18px 6px; text-align: center; line-height: 2; }
.empty-note b { color: var(--green); }
.biz-row {
    display: flex; align-items: center; gap: 8px;
    border: 1px solid rgba(0,240,255,0.3);
    background: rgba(0,240,255,0.04);
    padding: 6px 8px;
    cursor: pointer;
}
.biz-row:hover { background: rgba(0,240,255,0.1); }
.biz-row.selected { border: 2px solid var(--yellow); box-shadow: 0 0 10px rgba(255,230,0,0.4); background: rgba(255,230,0,0.07); }
.biz-icon { font-size: 16px; }
.biz-main { flex: 1; min-width: 0; }
.biz-name { font-size: 9px; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.biz-sub { font-size: 8px; color: var(--dim); display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin-top: 3px; }
.biz-exp { font-size: 8px; color: var(--yellow); text-shadow: 0 0 5px var(--yellow); white-space: nowrap; }

/* actions */
#actionbar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.act-btn {
    background: linear-gradient(180deg, #1c0d3a, #10062a);
    border: 2px solid var(--cyan);
    color: #fff;
    font-size: 9px;
    padding: 10px 4px;
    display: flex; flex-direction: column; align-items: center; gap: 3px;
}
.act-btn:hover:not(:disabled) { border-color: var(--yellow); box-shadow: 0 0 10px rgba(255,230,0,0.4); }
.day-btn {
    grid-column: span 4;
    border: 3px solid var(--green);
    color: #fff;
    text-shadow: 0 0 6px var(--green);
    box-shadow: 0 0 14px rgba(57,255,20,0.4), inset 0 0 10px rgba(57,255,20,0.15);
    font-size: 13px;
    padding: 13px 4px;
    flex-direction: row; gap: 10px;
}
.day-btn:hover { filter: brightness(1.4); }

/* message log */
.log-panel { border-color: var(--green); box-shadow: 0 0 8px rgba(57,255,20,0.25); }
.log-panel .panel-title { color: var(--green); text-shadow: 0 0 6px var(--green); }
.message-log {
    height: 110px; overflow-y: auto;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    line-height: 1.5;
    color: #9be89b;
}
.msg { padding: 1px 0; }
.msg.success { color: var(--green); }
.msg.error   { color: var(--red); }
.msg.warning { color: var(--orange); }

/* ticker */
#ticker {
    border: 2px solid var(--green);
    box-shadow: 0 0 8px rgba(57,255,20,0.3);
    background: #04120a;
    overflow: hidden;
    white-space: nowrap;
    padding: 6px 0;
    margin-bottom: 8px;
}
#tickerInner {
    display: inline-block;
    color: var(--green);
    text-shadow: 0 0 5px var(--green);
    font-size: 10px;
    animation: tickerScroll 40s linear infinite;
}
@keyframes tickerScroll { to { transform: translateX(-50%); } }

/* ============================================================
   MODALS
   ============================================================ */
.overlay {
    position: fixed; inset: 0;
    background: rgba(3,0,12,0.88);
    z-index: 8500;
    display: flex; align-items: center; justify-content: center;
    padding: 14px;
}
.modal-box {
    border: 3px solid var(--cyan);
    box-shadow: 0 0 22px rgba(0,240,255,0.5);
    background: var(--panel);
    max-width: 640px; width: 100%;
    padding: 18px;
    max-height: 92vh; overflow-y: auto;
    text-align: center;
}
.modal-box h2 { color: var(--yellow); text-shadow: 0 0 8px var(--yellow); font-size: 14px; margin: 0 0 10px; }
.modal-box h3 { color: var(--magenta); font-size: 10px; margin: 12px 0 4px; text-align: left; }
.modal-note { font-size: 9px; line-height: 1.9; }
.help-list { text-align: left; padding-left: 16px; margin: 4px 0; }
.help-list li { font-size: 9px; color: #d9d2ff; line-height: 1.9; }
.help-list b { color: var(--cyan); }

.arcade-input {
    width: 100%;
    background: #04120a;
    border: 2px solid var(--green);
    color: var(--green);
    font-family: var(--font);
    font-size: 10px;
    padding: 10px;
    margin: 10px 0;
    text-transform: uppercase;
}
.modal-close { width: 100%; }

/* recruit grid */
.biz-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(178px, 1fr));
    gap: 8px;
    margin: 10px 0;
}
.biz-card {
    border: 2px solid var(--cyan);
    background: rgba(0,240,255,0.05);
    color: #fff;
    padding: 8px;
    display: flex; flex-direction: column; gap: 4px;
    text-align: left;
    text-transform: none;
}
.biz-card:hover:not(:disabled) { border-color: var(--yellow); box-shadow: 0 0 10px rgba(255,230,0,0.5); background: rgba(255,230,0,0.07); }
.biz-card.cant { opacity: 0.4; }
.bc-head { font-size: 8px; color: var(--cyan); }
.bc-cost { font-size: 11px; }
.bc-line { font-size: 7px; color: #d9d2ff; display: flex; gap: 5px; align-items: center; flex-wrap: wrap; }
.bc-desc { font-size: 7px; color: var(--dim); font-style: italic; }

/* rfp */
.rfp-name { font-size: 13px; color: var(--green); text-shadow: 0 0 8px var(--green); margin: 6px 0; }
.rfp-facts { display: flex; justify-content: center; gap: 26px; margin: 10px 0; flex-wrap: wrap; }
.rfp-facts > div { display: flex; flex-direction: column; gap: 3px; }
.rfp-facts span { font-size: 7px; }
.rfp-facts b { font-size: 12px; }
.rfp-checks {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 6px 14px;
    font-size: 8px;
    text-align: left;
    border: 1px solid rgba(0,240,255,0.3);
    background: rgba(0,240,255,0.04);
    padding: 10px;
    margin: 10px 0;
}

/* crisis */
.crisis-title { color: var(--red) !important; text-shadow: 0 0 10px var(--red) !important; animation: blink 0.9s steps(2) infinite; }
.crisis-msg { color: var(--yellow); font-size: 10px; line-height: 2; }
.crisis-choices { display: flex; flex-direction: column; gap: 8px; margin-top: 12px; }
.crisis-btn {
    background: #0d2c0d;
    border: 2px solid var(--green);
    color: #fff;
    font-size: 9px;
    padding: 12px 8px;
}
.crisis-btn:hover { background: #164e16; box-shadow: 0 0 10px rgba(57,255,20,0.4); }

/* ============================================================
   MINIGAME OVERLAY
   ============================================================ */
.mg-overlay { cursor: pointer; z-index: 8700; }
.mg-box {
    position: relative;   /* anchors the GET READY overlay */
    border: 3px solid var(--yellow);
    box-shadow: 0 0 26px rgba(255,230,0,0.5);
    background: var(--panel);
    max-width: 560px; width: 100%;
    padding: 22px 16px;
    text-align: center;
    display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.mg-badge {
    font-size: 9px;
    color: var(--magenta);
    text-shadow: 0 0 8px var(--magenta);
    letter-spacing: 3px;
    border: 1px solid var(--magenta);
    padding: 4px 12px;
    animation: pulse 1.2s ease-in-out infinite;
}
.mg-howto {
    border: 1px solid rgba(0,240,255,0.35);
    background: rgba(0,240,255,0.05);
    padding: 12px 14px;
    font-size: 9px;
    color: #d9d2ff;
    line-height: 2.1;
    max-width: 460px;
}
.mg-howto b { color: var(--cyan); }
.press-start-prompt {
    font-size: 13px;
    color: var(--green);
    text-shadow: 0 0 10px var(--green);
    letter-spacing: 2px;
    animation: blink 1s steps(2) infinite;
    padding: 6px 0;
}
.mg-result {
    display: flex; flex-direction: column; align-items: center; gap: 8px;
    border-top: 1px solid rgba(255,230,0,0.4);
    padding-top: 12px;
    width: 100%;
}
.mg-result-line { font-size: 11px; color: #d9d2ff; line-height: 1.9; }
.mg-ready {
    position: absolute;
    inset: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(5,1,13,0.72);
    font-size: 22px;
    color: var(--yellow);
    text-shadow: 0 0 16px var(--yellow);
    letter-spacing: 3px;
}
.mg-title { font-size: 15px; color: var(--cyan); text-shadow: 0 0 10px var(--cyan); letter-spacing: 2px; }
.mg-title.gold { color: var(--yellow); text-shadow: 0 0 10px var(--yellow); }
.mg-title.bad-title { color: var(--red); text-shadow: 0 0 10px var(--red); animation: blink 0.8s steps(2) infinite; }
.mg-sub { font-size: 9px; color: #d9d2ff; line-height: 1.9; }
.mg-sub b { color: var(--cyan); }
.mg-prompt { color: var(--green); text-shadow: 0 0 6px var(--green); font-size: 9px; letter-spacing: 1px; animation: blink 1s steps(2) infinite; }
.mg-bignum { font-size: 44px; color: var(--cyan); text-shadow: 0 0 18px var(--cyan); }
.mg-bignum.gold { color: var(--yellow); text-shadow: 0 0 18px var(--yellow); }
.mg-timer { height: 14px; width: 100%; max-width: 380px; }

.pitch-bar {
    position: relative;
    width: 100%; max-width: 480px;
    height: 42px;
    background: #180a38;
    border: 2px solid var(--cyan);
    box-shadow: 0 0 12px rgba(0,240,255,0.3), inset 0 0 20px rgba(0,0,0,0.5);
    overflow: hidden;
}
.pitch-bar .zone { position: absolute; top: 0; bottom: 0; }
.zone.good    { background: rgba(57,255,20,0.28); }
.zone.perfect { background: rgba(57,255,20,0.75); box-shadow: 0 0 12px rgba(57,255,20,0.8); }
.pitch-cursor {
    position: absolute; top: -4px; bottom: -4px;
    width: 5px; margin-left: -2px;
    background: #fff;
    box-shadow: 0 0 10px #fff, 0 0 20px var(--cyan);
}
.mg-splash { min-height: 26px; font-size: 20px; color: var(--green); text-shadow: 0 0 12px var(--green); }
.mg-splash.perfect { color: var(--yellow); text-shadow: 0 0 16px var(--yellow); animation: pulse 0.3s ease-in-out infinite; }
.mg-splash.miss { color: var(--red); text-shadow: 0 0 12px var(--red); }

.confetti-row { min-height: 28px; font-size: 18px; letter-spacing: 4px; }
.confetti-row span { display: inline-block; animation: confetti 0.8s ease-in-out infinite; }
@keyframes confetti { 50% { transform: translateY(-10px) rotate(20deg); } }

.ring-arena { position: relative; width: 180px; height: 180px; }
.ring-target {
    position: absolute; left: 50%; top: 50%;
    width: 58px; height: 58px;
    transform: translate(-50%,-50%);
    border: 18px solid rgba(57,255,20,0.35);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(57,255,20,0.5);
}
.ring-shrink {
    position: absolute; left: 50%; top: 50%;
    width: 180px; height: 180px;
    transform: translate(-50%,-50%);
    border: 4px solid var(--cyan);
    border-radius: 50%;
    box-shadow: 0 0 14px var(--cyan);
}
.ring-flash { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); font-size: 40px; }
.ring-flash.good { color: var(--green); text-shadow: 0 0 14px var(--green); }
.ring-flash.bad  { color: var(--red);   text-shadow: 0 0 14px var(--red); }

.slots-row { display: flex; gap: 14px; }
.reel {
    width: 80px; height: 80px;
    display: flex; align-items: center; justify-content: center;
    font-size: 42px;
    background: #180a38;
    border: 3px solid var(--yellow);
    box-shadow: 0 0 12px rgba(255,230,0,0.4), inset 0 0 16px rgba(0,0,0,0.6);
}
.reel.stopped { border-color: var(--green); box-shadow: 0 0 14px rgba(57,255,20,0.5); }

/* ============================================================
   TOASTS
   ============================================================ */
#toastBox {
    position: fixed;
    top: 92px; left: 50%;
    transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center;
    gap: 8px;
    z-index: 8800;
    pointer-events: none;
    width: min(94vw, 620px);
}
.toast {
    background: var(--panel2);
    border: 2px solid var(--cyan);
    box-shadow: 0 0 14px rgba(0,240,255,0.5);
    color: #fff;
    font-size: 10px;
    padding: 9px 16px;
    text-align: center;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.25s, transform 0.25s;
}
.toast.show { opacity: 1; transform: scale(1); }
.toast.good { border-color: var(--green); box-shadow: 0 0 14px rgba(57,255,20,0.5); }
.toast.bad  { border-color: var(--red);   box-shadow: 0 0 14px rgba(255,34,68,0.5); }
.toast.big {
    border: 3px solid var(--yellow);
    box-shadow: 0 0 24px rgba(255,230,0,0.7);
    color: var(--yellow); text-shadow: 0 0 8px var(--yellow);
    font-size: 12px;
    padding: 13px 20px;
}

/* ============================================================
   GAME OVER
   ============================================================ */
#screen-gameover {
    min-height: 100vh;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 14px;
    text-align: center;
    padding: 22px 12px;
}
.go-reason { font-size: clamp(16px, 4.5vw, 30px); }
.go-reason.good { color: var(--green); text-shadow: 0 0 14px var(--green); }
.go-reason.bad  { color: var(--red);   text-shadow: 0 0 14px var(--red); }
#goScore {
    font-size: clamp(30px, 8vw, 56px);
    color: var(--yellow);
    text-shadow: 0 0 18px var(--yellow), 4px 4px 0 var(--magenta);
}
#goRating { font-size: clamp(12px, 3vw, 18px); color: var(--cyan); text-shadow: 0 0 8px var(--cyan); }
#goStats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 4px 24px;
    border: 2px solid var(--magenta);
    background: rgba(13,5,36,0.85);
    padding: 12px 16px;
    min-width: min(92vw, 580px);
}
.go-stat { display: flex; justify-content: space-between; gap: 12px; font-size: 9px; }
.go-stat span:first-child { color: var(--dim); }
.go-stat span:last-child { color: var(--cyan); }

#initialsEntry { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.initials-label { color: var(--green); text-shadow: 0 0 8px var(--green); font-size: 12px; animation: blink 1s steps(2) infinite; }
#initialsInput {
    width: 130px;
    background: #04120a;
    border: 3px solid var(--green);
    color: var(--green);
    text-shadow: 0 0 8px var(--green);
    font-family: var(--font);
    font-size: 26px;
    text-align: center;
    text-transform: uppercase;
    padding: 8px;
    letter-spacing: 8px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 700px) {
    body { font-size: 10px; }

    .gm-sub { display: none; }
    #toastBox { top: 58px; }
    #gamegrid { grid-template-columns: 1fr; }
    #actionbar { grid-template-columns: repeat(2, 1fr); }
    .day-btn { grid-column: span 2; }
    #skyline { height: 96px; }
    .portfolio { max-height: 170px; }
    .message-log { height: 90px; }
    .reel { width: 64px; height: 64px; font-size: 32px; }
    .ring-arena, .ring-shrink { width: 150px; height: 150px; }
    .ring-target { width: 48px; height: 48px; border-width: 15px; }
    .rfp-checks { grid-template-columns: 1fr; }
}
