.ig{--accent:#77aaff;color:#ecf2ff;font-family:Inter,system-ui,sans-serif;max-width:620px;margin:0 auto;text-align:left;line-height:1.5}.ig *{box-sizing:border-box}.ig button,.ig input{font:inherit}.ig button{cursor:pointer;touch-action:manipulation}.ig button:disabled{opacity:.5;cursor:default}.ig button:focus-visible,.ig input:focus-visible{outline:3px solid #ffe180;outline-offset:3px}.ig h2{font-size:clamp(24px,5vw,36px);letter-spacing:-1px;margin:8px 0}.ig p{color:#a9b9d8;margin:10px 0 20px}.ig .eyebrow{color:var(--accent);font-size:11px;font-weight:800;letter-spacing:2px;text-transform:uppercase}.ig .panel{padding:22px;border:1px solid #2b3b61;background:linear-gradient(145deg,#14213e,#0b1225);border-radius:20px;margin:14px 0}.ig .row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.ig .btnx{border:1px solid #3e5683;border-radius:11px;background:#1a2c4e;color:#eef4ff;padding:12px 18px;font-weight:700}.ig .primary{background:linear-gradient(130deg,#477cf5,#7954e9);border-color:#7b92ff}.ig .subtle{background:transparent;color:#b3c4e2}.ig .big{font-size:30px;font-weight:800;font-variant-numeric:tabular-nums}.ig .muted{font-size:12px;color:#9badcd}.ig .metrics{display:flex;gap:12px;flex-wrap:wrap}.ig .metric{background:#111e36;border:1px solid #2b3b61;border-radius:12px;padding:10px 16px;flex:1}.ig .mineboard{display:grid;grid-template-columns:repeat(8,1fr);gap:4px;user-select:none}.ig .minecell{aspect-ratio:1;border:1px solid #344b78;background:#23385e;border-radius:6px;color:#fff;font-weight:800;min-width:0;padding:0;font-size:19px}.ig .minecell.open{background:#0e192d;border-color:#1d2d4b}.ig .notice{padding:12px 15px;background:#182d43;border:1px solid #3b5c7c;border-radius:12px;margin:12px 0;color:#c5e3ff}.ig .error{background:#3b1d2c;border-color:#884359;color:#ffd0dc}.ig .success{background:#11342e;border-color:#31866a;color:#9bffdc}.ig .answers{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:18px 0}.ig .answer{min-height:76px;padding:14px;border:1px solid #40577e;background:#14223f;color:#eef4ff;border-radius:12px;text-align:left;font-weight:650;line-height:1.45}.ig .answer.correct{background:#144234;border-color:#60dba5}.ig .answer.wrong{background:#4d2336;border-color:#ff88aa}.ig .progress{height:6px;background:#22314f;border-radius:8px;overflow:hidden;margin:15px 0}.ig .progress>div{height:100%;background:linear-gradient(90deg,#69a4ff,#b18bff);transition:width .1s}.ig .question{font-size:clamp(19px,4vw,25px);line-height:1.45;min-height:70px;font-weight:700}.ig .players{display:grid;gap:8px;margin:16px 0}.ig .player{display:flex;justify-content:space-between;gap:10px;background:#14213b;padding:12px;border-radius:9px}.ig .code{letter-spacing:5px;font-size:29px;font-weight:850}.ig .duelstage{min-height:160px;display:grid;place-items:center;text-align:center;background:#0a1328;border-radius:18px;margin:16px 0;padding:20px}.ig .duelword{font-size:clamp(28px,8vw,48px);font-weight:900;letter-spacing:3px}.ig .review{padding:14px 0;border-bottom:1px solid #2b3b61}.ig .review strong{display:block}.ig a{color:#a6c7ff}.ig .keypad{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.ig .keypad button{padding:13px}.ig .tag{font-size:10px;background:#1c3e39;color:#92f9cd;padding:3px 8px;border-radius:20px;letter-spacing:1px}.ig input{width:100%;padding:13px;background:#0a1328;color:white;border:1px solid #48618d;border-radius:10px}.ig .quiz-feedback{min-height:100px}.ig details summary{cursor:pointer;color:#b9cded;margin:10px 0}@media(max-width:430px){.ig .panel{padding:16px}.ig .answers{grid-template-columns:1fr}.ig .answer{min-height:58px}.ig .minecell{font-size:16px}.ig .row .btnx{flex-grow:1}}@media(prefers-reduced-motion:reduce){.ig *{transition:none!important;animation:none!important}}
.ig .minecell:disabled{opacity:1;filter:none}.ig .answer:disabled.correct,.ig .answer:disabled.wrong{opacity:1}

/* Match the original minigames. Kept separate from the daily quiz skin. */
.ig-game{--accent:#88aaff;max-width:480px;color:#e0e8ff;font-family:Inter,sans-serif;text-align:center}
.ig-game .game-nav{margin-bottom:12px}.ig-game .game-nav .eyebrow{font-size:9px;letter-spacing:2px;color:#9d83d9}
.ig-game h2{font-family:Orbitron,sans-serif;font-size:clamp(19px,4.5vw,25px);font-weight:900;letter-spacing:1px;text-transform:uppercase;color:#fff;text-shadow:0 0 20px #4488ff66;margin:4px 0 8px}
.ig-game h3{font-family:Orbitron,sans-serif;font-size:17px;line-height:1.4;letter-spacing:.4px}
.ig-game .game-description{font-size:12px;line-height:1.7;color:#99aaca;max-width:390px;margin:0 auto 16px}
.ig-game .panel{background:rgba(10,15,35,.8);border:1px solid #1e2a4a;border-radius:12px;padding:18px;margin:12px 0}
.ig-game .btnx{background:linear-gradient(135deg,rgba(68,136,255,.15),rgba(34,85,204,.13));border:1px solid #2a4a8a;border-radius:8px;padding:11px 16px;font-size:12px;letter-spacing:.5px;transition:transform .15s,filter .15s;color:#c9daff;min-height:42px}
.ig-game .btnx:hover:not(:disabled){transform:translateY(-2px);filter:brightness(1.2)}
.ig-game .primary{font-family:Orbitron,sans-serif;background:linear-gradient(135deg,#3366dd,#2255bb);border:1px solid #4488ff;color:#fff;box-shadow:0 0 20px #2255cc33;font-weight:700;letter-spacing:1px;text-transform:uppercase}
.ig-game .subtle{background:transparent;border-color:#263353;color:#9caed1}
.ig-game .game-nav .btnx{padding:6px 11px;min-height:34px;font-size:11px}
.ig-game .metrics{gap:6px;flex-wrap:nowrap}.ig-game .metric{background:rgba(12,18,52,.8);border:1px solid #1a2448;border-radius:8px;padding:8px 5px;min-width:0}
.ig-game .metric .muted{font-size:9px;letter-spacing:1px;color:#9aabca}.ig-game .big{font-family:Orbitron,sans-serif;font-size:23px;font-weight:900;color:#88aaff}
.ig-game .muted{color:#9aabca}.ig-game p{font-size:13px}.ig-game .notice{border-radius:8px;background:rgba(68,136,255,.09);border-color:#2a4a8a;font-size:13px}
.ig-game .success{background:rgba(68,255,170,.08);border-color:#276f59;color:#8dffcd}.ig-game .error{background:rgba(255,68,119,.1);border-color:#87384e;color:#ffadbf}
.ig-game .mineboard{max-width:360px;margin:0 auto;gap:4px}.ig-game .minecell{background:linear-gradient(135deg,#192748,#111c38);border:1px solid #2b4270;border-radius:4px;font-family:Orbitron,sans-serif;font-size:17px}
.ig-game .minecell:hover:not(:disabled){border-color:#4488ff;background:#203561}.ig-game .minecell.open{background:#080d1f;border-color:#19233d}
.ig-game .duelstage{background:#080d1e;border:1px solid #1e2a4a;border-radius:10px;min-height:160px;margin:12px 0}
.ig-game .duelword,.ig-game .code{font-family:Orbitron,sans-serif}.ig-game .code{color:#ffd76a;font-size:26px;letter-spacing:4px}
.ig-game .answers{grid-template-columns:1fr 1fr;gap:8px}.ig-game .answer{background:rgba(12,18,52,.8);border-radius:8px;text-align:center;min-height:62px;padding:10px;font-size:13px;letter-spacing:1px}
.ig-game .answer:hover:not(:disabled){background:#182747}.ig-game .player{background:rgba(12,18,52,.8);border:1px solid #1a2448;border-radius:8px;padding:10px 12px;font-size:12px;text-align:left;overflow-wrap:anywhere}.ig-game .player strong{color:#88aaff;white-space:nowrap}
.ig-game input{border-radius:8px;background:#0d1428;border-color:#2a3a6a;text-align:center;letter-spacing:3px;margin:8px 0 12px}
.ig-game label{font-size:11px;color:#a5b7d6;letter-spacing:1px}.ig-game details{text-align:left;font-size:12px;margin-top:10px}
.ig-game .meteor-metrics .metric:last-child .big{color:#ff719c;font-family:Inter,sans-serif;letter-spacing:3px}
.ig-game .meteor-hud{display:flex;justify-content:space-between;gap:10px;color:#93adcb;font-size:9px;letter-spacing:1px;padding:10px 2px 7px}
.ig-game .meteor-hud .combo-active{color:#ffd76a}
.ig-game .meteor-field{position:relative;width:100%;max-width:380px;margin:0 auto;border:1px solid #25365d;border-radius:12px;overflow:hidden;touch-action:none;user-select:none;outline-offset:4px}
.ig-game .meteor-field:focus-visible{outline:2px solid #88aaff}.ig-game .meteor-field svg{display:block;width:100%;height:auto}.ig-game .meteor-ship{transition:transform .07s ease-out}
.ig-game .meteor-event{position:absolute;top:12px;left:4px;right:4px;font-family:Orbitron,sans-serif;font-size:11px;font-weight:700;letter-spacing:1px;color:#d8eeff;text-shadow:0 2px 4px #000;pointer-events:none}
.ig-game .meteor-overlay{position:absolute;inset:0;display:grid;place-items:center;padding:20px;background:rgba(5,8,20,.7);backdrop-filter:blur(3px)}
.ig-game .meteor-dialog{width:100%;padding:22px 15px;background:rgba(10,15,35,.93);border:1px solid #2a3a6a;border-radius:12px;box-shadow:0 10px 40px #0005}
.ig-game .meteor-dialog .eyebrow{font-size:9px;margin-bottom:10px;display:block;color:#bb88ff}.ig-game .meteor-dialog h3{color:white;font-size:18px}.ig-game .meteor-dialog p{font-size:12px;line-height:1.7;margin:12px 0 18px;color:#a8b9d9}.ig-game .meteor-dialog .big{font-size:32px;margin-top:12px;color:#ffd76a}
.ig-game .meteor-dialog .meteor-bonus{color:#8dffcd;margin-top:-8px}.ig-game .meteor-dialog .btnx{width:100%}
.ig-game .meteor-controls{display:flex;gap:8px;max-width:380px;margin:10px auto 0}.ig-game .meteor-controls .btnx{flex:1;padding:10px 5px;font-size:11px;white-space:nowrap;min-height:44px}.ig-game .meteor-controls .subtle{flex:.8}
.ig-game .meteor-help{font-size:10px;line-height:1.7;margin:10px auto;max-width:370px}.ig-game .meteor-record{color:#ffd76a;font-family:Orbitron,sans-serif;font-size:11px;background:rgba(255,215,0,.05);border:1px solid rgba(255,215,0,.18);border-radius:8px;padding:9px 10px}
@media(max-width:430px){.ig-game .panel{padding:12px}.ig-game .row{gap:8px}.ig-game .row .btnx{flex-grow:0}.ig-game .big{font-size:20px}.ig-game .minecell{font-size:15px}.ig-game .meteor-overlay{padding:14px}.ig-game .meteor-dialog{padding:18px 12px}.ig-game .meteor-dialog h3{font-size:16px}.ig-game .game-nav .eyebrow{font-size:8px;letter-spacing:1px}}

/* Code Hunt uses the same compact arcade skin as the original games. */
.ig-game .code-secret,.ig-game .code-pegs,.ig-game .code-draft{display:flex;justify-content:center;gap:8px}
.ig-game .code-secret{margin:18px 0;padding:14px;background:#080d1f;border:1px solid #263353;border-radius:8px}
.ig-game .code-peg,.ig-game .code-hidden{display:inline-grid;place-items:center;width:32px;height:32px;flex:none;border-radius:50%;font-family:Orbitron,sans-serif;font-weight:800;font-size:14px;background:var(--peg,#111b35);color:#081022;border:2px solid #ffffff40}
.ig-game .code-hidden{color:#9aabca;border-color:#2a3a6a}.ig-game .code-legend{display:flex;justify-content:center;flex-wrap:wrap;gap:8px 18px;color:#a8b9d9;font-size:11px;margin-bottom:12px}
.ig-game .code-history{margin:12px 0}.ig-game .code-attempt{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px 10px;margin:6px 0;background:rgba(12,18,52,.8);border:1px solid #1a2448;border-radius:8px}
.ig-game .code-hint{display:flex;gap:10px;white-space:nowrap;font-size:13px;color:#d5e3ff}.ig-game .code-attempt>.muted{width:16px;text-align:left}
.ig-game .code-draft{margin:14px 0}.ig-game .code-slot{display:grid;place-items:center;width:52px;height:52px;padding:4px;border-radius:8px;background:#0d1428;border:1px solid #2a3a6a;color:#9aabca;font-size:24px;cursor:pointer}.ig-game .code-slot.selected{border:2px solid #88aaff;background:#192b50;box-shadow:0 0 12px #4488ff30}
.ig-game .code-slot:focus-visible,.ig-game .code-palette button:focus-visible{outline:2px solid #fff;outline-offset:3px}
.ig-game .code-palette{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.ig-game .code-palette .btnx{display:flex;align-items:center;justify-content:center;gap:7px;padding:8px 4px;font-size:11px;min-height:48px}.ig-game .code-palette .code-peg{width:25px;height:25px;font-size:11px}.ig-game .code-palette button:disabled{opacity:.35}.ig-game .code-submit{margin-top:16px;justify-content:center}.ig-game .code-submit .btnx{font-size:11px}
@media(max-width:430px){.ig-game .code-pegs{gap:5px}.ig-game .code-attempt .code-peg{width:27px;height:27px;font-size:12px}.ig-game .code-hint{gap:7px;font-size:12px}.ig-game .code-attempt{padding:8px 6px;gap:5px}.ig-game .code-palette .btnx{flex-direction:column;gap:5px}.ig-game .code-submit .btnx{width:100%}}
