/* assets/arcade/skins.css — THE LOOK OF EVERY ARCADE GAME. 17 Nov 2026 (night).
   Owner: "All games should have their unique style" and "relevant to their game style".
   One block per game. The page has the class g-<game id> (game.php), so ".g-tennis" means "only in Verb Tennis".
   Each game is its own little world. Most look the same in day and night mode; the 15 Knowledge games have a day look and a night look. No pictures are downloaded: every
   background is drawn with CSS or a tiny drawing written inside this file. Loaded after ar.css (game.php). */
/* ── MINI CROSSWORD: a puzzle book on squared paper, filled in with a pencil ── */
html .ar.g-crossword { --bg: #f4f8fd; --card: #fff; --ink: #1d2a44; --body: #3d4b66; --mute: #7486a6; --line: #c9d6ea; --soft: #fff3b0; color: #1d2a44; --c: #f59e0b !important; --pat-o: 0;
  background: linear-gradient(#cfdef3 1px, transparent 1px) 0 0 / 100% 24px, linear-gradient(90deg, #cfdef3 1px, transparent 1px) 0 0 / 24px 100%, #f4f8fd; }
.g-crossword .cw-grid { background: #1d2a44; padding: 3px; gap: 2px; border-radius: 3px; box-shadow: 7px 7px 0 rgba(29,42,68,.14); }
.g-crossword .cw-grid button { border: 0; border-radius: 0; background: #fff; } .g-crossword .cw-grid button b { font-family: "Segoe Print", "Bradley Hand", "Chalkboard SE", "Comic Sans MS", "Coming Soon", cursive; color: #33415c; }
.g-crossword .cw-grid button.in { background: #fff3b0; } .g-crossword .cw-grid button.cur { background: #fbbf24; box-shadow: inset 0 0 0 2px #1d2a44; }
.g-crossword .cw-now { border: 0; border-radius: 4px; background: #fde68a; border-left: 16px solid #f9a8d4; border-right: 16px solid #33415c; box-shadow: 0 3px 0 #e4c35c; } .g-crossword .cw-now b { color: #1d2a44; }
.g-crossword .cw-clues { font-family: Georgia, "Noto Serif", "Times New Roman", serif; } .g-crossword .cw-clues b { font-family: Inter, system-ui, sans-serif; letter-spacing: .08em; text-transform: uppercase; font-size: 12px; }
.g-crossword .ar-kb button { background: #fff; border: 1.5px solid #9db4d6; box-shadow: 0 2px 0 #9db4d6; color: #1d2a44; }

/* ── WORD CHAIN: steel links and a riveted metal plate ── */
html .ar.g-chain { --bg: #1c232e; --card: #2a3442; --ink: #eef3f8; --body: #c5cfdb; --mute: #8d9bb0; --line: #3d4a5c; --soft: #334052; color: #eef3f8; --c: #14b8a6 !important; --pat-o: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='40' viewBox='0 0 64 40'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.06' stroke-width='5'%3E%3Crect x='4' y='10' width='34' height='20' rx='10'/%3E%3Crect x='36' y='10' width='34' height='20' rx='10'/%3E%3Crect x='-28' y='10' width='34' height='20' rx='10'/%3E%3C/g%3E%3C/svg%3E"), linear-gradient(#232c39, #141a22); }
.g-chain .ar-card { border: 2px solid #56667c; border-radius: 10px; box-shadow: inset 0 1px 0 #6b7c93, 0 18px 40px -18px #000;
  background: radial-gradient(circle at 13px 13px, #9fb0c5 0 3px, #141a22 3.5px 5px, transparent 5.5px), radial-gradient(circle at calc(100% - 13px) 13px, #9fb0c5 0 3px, #141a22 3.5px 5px, transparent 5.5px), radial-gradient(circle at 13px calc(100% - 13px), #9fb0c5 0 3px, #141a22 3.5px 5px, transparent 5.5px), radial-gradient(circle at calc(100% - 13px) calc(100% - 13px), #9fb0c5 0 3px, #141a22 3.5px 5px, transparent 5.5px), linear-gradient(#323e4f, #262f3d); }
.g-chain .ar-qt { font-family: "Roboto Condensed", "Arial Narrow", "Avenir Next Condensed", "sans-serif-condensed", Impact, sans-serif; text-transform: uppercase; letter-spacing: .05em; font-size: 23px; } .g-chain .ar-qt b { color: #2dd4bf; font-size: 1.5em; }
.g-chain .ch-log span { background: #141a22; border: 2.5px solid #5eead4; color: #ccfbf1; margin-right: -9px; padding: 4px 16px; } .g-chain .ch-log .w0 { border-color: #fb7185; background: #3b1d27; color: #fecdd3; } .g-chain .ch-log .w1 { border-color: #60a5fa; background: #1b2b47; color: #dbeafe; }
.g-chain .ar-in { background: #141a22; color: #eef3f8; border-color: #2dd4bf; font-family: ui-monospace, "SF Mono", "Cascadia Mono", "Roboto Mono", "Droid Sans Mono", "Courier New", monospace; letter-spacing: .08em; }

/* ── ODD ONE OUT: a comic book page ── */
html .ar.g-oddone { --bg: #ffd60a; --card: #fff; --ink: #111; --body: #222; --mute: #4b4b4b; --line: #111; --soft: #fff; color: #111; --c: #ff3b30 !important; --pat-o: 0;
  background: radial-gradient(rgba(0,0,0,.16) 1.6px, transparent 2px) 0 0 / 14px 14px, linear-gradient(135deg, #ffd60a, #ffb703); }
.g-oddone .ar-h { border: 2.5px solid #111; box-shadow: 3px 3px 0 #111; border-radius: 6px; }
.g-oddone .ar-card { border: 3.5px solid #111; border-radius: 6px; box-shadow: 9px 9px 0 #111; transform: rotate(-.5deg); }
.g-oddone .ar-qt { font-family: "Roboto Condensed", "Arial Narrow", "Avenir Next Condensed", "sans-serif-condensed", Impact, sans-serif; font-weight: 900; text-transform: uppercase; font-size: 27px; letter-spacing: .02em; }
.g-oddone .ar-opt { border: 3px solid #111; border-radius: 6px; box-shadow: 4px 4px 0 #111; font-weight: 900; font-size: 17px; text-transform: uppercase; color: #111; }
.g-oddone .ar-opt:nth-child(1) { background: #7dd3fc; } .g-oddone .ar-opt:nth-child(2) { background: #fda4af; } .g-oddone .ar-opt:nth-child(3) { background: #86efac; } .g-oddone .ar-opt:nth-child(4) { background: #fff; }
.g-oddone .ar-opt:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 #111; } .g-oddone .ar-why { border: 2.5px solid #111; border-radius: 6px; }

/* ── SYNONYM SNAP: a thunderstorm — decide in a flash ── */
html .ar.g-snap { --bg: #0b1020; --card: #141b33; --ink: #f8fafc; --body: #cbd5e1; --mute: #8b97b3; --line: #27304f; --soft: #1c2545; color: #f8fafc; --c: #facc15 !important; --pat-o: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='220' viewBox='0 0 180 220'%3E%3Cpath d='M70 10 40 90h26l-16 70 58-96H78l18-54z' fill='%23facc15' fill-opacity='.05'/%3E%3C/svg%3E"), radial-gradient(900px 520px at 50% -60px, #2b3577, transparent), #0b1020; }
.g-snap .ar-card { background: #101733; border: 2px solid #facc15; border-radius: 18px; box-shadow: 0 0 0 5px rgba(250,204,21,.12), 0 0 46px -10px rgba(250,204,21,.75); }
.g-snap .ar-qt { font-size: 29px; font-weight: 900; color: #fff; text-shadow: 0 0 20px rgba(250,204,21,.5); }
.g-snap .ar-opt { border-radius: 99px; min-height: 62px; font-size: 18px; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; }
.g-snap .ar-opt:nth-child(1) { background: #facc15; border-color: #facc15; color: #1a1300; } .g-snap .ar-opt:nth-child(2) { background: transparent; border-color: #94a3b8; color: #fff; }
.g-snap .ar-btn { color: #1a1300 !important; }

/* ── MEMORY PAIRS: playing cards on a wooden table ── */
html .ar.g-memory { --bg: #6f4424; --card: #4d2f17; --ink: #fff5e6; --body: #f1dcc0; --mute: #d2b38d; --line: #8a5a33; --soft: #5d3a1d; color: #fff5e6; --c: #1d4ed8 !important; --pat-o: 0;
  background: radial-gradient(ellipse at 50% 40%, transparent 30%, rgba(0,0,0,.42)), repeating-linear-gradient(92deg, #8a5a2f 0 22px, #7f5129 22px 44px, #94622f 44px 70px, #86562c 70px 96px); }
.g-memory .mm { gap: 10px; }
.g-memory .mm button { background: repeating-linear-gradient(45deg, #1e3a8a 0 7px, #2447ad 7px 14px); border: 4px solid #fffaf0; border-radius: 12px; box-shadow: 0 5px 0 rgba(0,0,0,.35), 0 10px 16px -8px rgba(0,0,0,.6); color: #fde68a; }
.g-memory .mm button.on { background: #fffaf0; color: #2b1d0e; box-shadow: 0 5px 0 rgba(0,0,0,.35), inset 0 0 0 3px #d4a373; } .g-memory .mm button.done { background: #dcfce7; color: #14532d; box-shadow: inset 0 0 0 3px #16a34a; }

/* ── WORD BINGO: a bingo card in a bingo hall ── */
html .ar.g-bingo { --bg: #fdf4ff; --card: #fff; --ink: #3b0764; --body: #581c87; --mute: #9d6bb8; --line: #f0d5fb; --soft: #fbe8ff; color: #3b0764; --pat-o: 0;
  background: radial-gradient(circle, rgba(240,171,252,.45) 0 9px, transparent 10px) 0 0 / 64px 64px, radial-gradient(circle, rgba(253,224,71,.5) 0 6px, transparent 7px) 32px 32px / 64px 64px, linear-gradient(#fae8ff, #fdf4ff); }
.g-bingo .ar-bingo { position: relative; background: #a21caf; padding: 46px 10px 10px; border-radius: 18px; box-shadow: 0 16px 32px -16px #a21caf, inset 0 0 0 3px rgba(255,255,255,.25); }
.g-bingo .ar-bingo::before { content: "B I N G O"; position: absolute; left: 0; right: 0; top: 9px; text-align: center; color: #fff; font: 900 22px/1 ui-rounded, "SF Pro Rounded", "Nunito", "Arial Rounded MT Bold", "Varela Round", Inter, system-ui, sans-serif; letter-spacing: .3em; }
.g-bingo .ar-bingo button { border: 0; border-radius: 10px; background: #fff; color: #3b0764; } .g-bingo .ar-bingo button.on { background: radial-gradient(circle, rgba(244,63,94,.92) 0 56%, #fff 58%); color: #fff; }
.g-bingo .ar-card { border: 4px solid #a21caf; border-radius: 26px; }
.g-bingo .ar-stage > .ar-who { display: table; margin: 0 auto 10px; padding: 5px 14px; border-radius: 99px; background: #fff; color: #581c87; }

/* ── CATEGORY SPRINT: a running track with white lanes ── */
html .ar.g-sprint { --bg: #b84a2f; --card: #8f3a24; --ink: #fff; --body: #ffe4d6; --mute: #ffcdb5; --line: #a8452c; --soft: #a3412a; color: #fff; --c: #15803d !important; --pat-o: 0;
  background: repeating-linear-gradient(#c5553a 0 78px, rgba(255,255,255,.85) 78px 81px), #c5553a; }
.g-sprint .ar-card { --card: #fff; --ink: #1f2937; --body: #374151; --mute: #6b7280; --line: #e5e7eb; --soft: #f0fdf4; background: #fff; color: #1f2937; border: 0; border-radius: 0 0 14px 14px; border-top: 14px solid #111; border-image: repeating-linear-gradient(90deg, #111 0 14px, #fff 14px 28px) 14 / 14px 0 0 0; box-shadow: 0 20px 34px -18px rgba(0,0,0,.6); }
.g-sprint .ar-big { font-family: "Roboto Condensed", "Arial Narrow", "Avenir Next Condensed", "sans-serif-condensed", Impact, sans-serif; font-style: italic; font-size: 38px; letter-spacing: .02em; }
.g-sprint .ar-found span { background: #fff; color: #111; border: 2px solid #111; border-radius: 4px; font-family: "Roboto Condensed", "Arial Narrow", "Avenir Next Condensed", "sans-serif-condensed", Impact, sans-serif; text-transform: uppercase; }

/* ── WORD FACTORY: a workshop — warning stripes, machine parts, a moving belt ── */
html .ar.g-factory { --bg: #e7ebef; --card: #fff; --ink: #1f2933; --body: #3e4c59; --mute: #7b8794; --line: #cbd2d9; --soft: #f0f4f8; color: #1f2933; --c: #ea580c !important; --pat-o: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23b9c3cd' stroke-width='5' stroke-dasharray='7 6.6'%3E%3Ccircle cx='36' cy='36' r='20'/%3E%3Ccircle cx='92' cy='88' r='15'/%3E%3C/g%3E%3Cg fill='none' stroke='%23b9c3cd' stroke-width='3'%3E%3Ccircle cx='36' cy='36' r='7'/%3E%3Ccircle cx='92' cy='88' r='5'/%3E%3C/g%3E%3C/svg%3E"), #e7ebef; }
.g-factory .ar-card { border: 3px solid #1f2933; border-radius: 0 0 10px 10px; border-top: 16px solid #1f2933; border-image: repeating-linear-gradient(-45deg, #facc15 0 14px, #1f2933 14px 28px) 16 / 16px 3px 3px 3px; box-shadow: 0 18px 30px -18px rgba(0,0,0,.5); }
.g-factory .ar-qt, .g-factory .fc { font-family: ui-monospace, "SF Mono", "Cascadia Mono", "Roboto Mono", "Droid Sans Mono", "Courier New", monospace; }
.g-factory .fc { padding-bottom: 16px; background: repeating-linear-gradient(90deg, #52606d 0 10px, #323f4b 10px 20px) 0 100% / 40px 10px repeat-x; animation: skBelt .7s linear infinite; }
@keyframes skBelt { to { background-position: 40px 100%; } }
.g-factory .ar-chip { background: linear-gradient(#f8fafc, #d9e2ec); border: 2px solid #52606d; border-radius: 6px; font-family: ui-monospace, "SF Mono", "Cascadia Mono", "Roboto Mono", "Droid Sans Mono", "Courier New", monospace; box-shadow: 0 3px 0 #9aa5b1; } .g-factory .ar-chip.on { background: #ea580c; border-color: #9a3412; color: #fff; box-shadow: 0 3px 0 #9a3412; }

/* ── PICTURE WORD: a photo pinned to a cork board, answers on sticky notes ── */
html .ar.g-picture { --bg: #d2a679; --card: #fffdf5; --ink: #2b1d0e; --body: #4a3728; --mute: #6f563f; --line: #e3c9a6; --soft: #fff3d6; color: #2b1d0e; --c: #0e7490 !important; --pat-o: 0;
  background: radial-gradient(#b3875a 1px, transparent 1.6px) 0 0 / 9px 9px, radial-gradient(#e6c297 1px, transparent 1.6px) 4px 5px / 11px 11px, #d2a679; }
.g-picture .ar-card { position: relative; border: 0; border-radius: 3px; padding: 18px 16px 22px; box-shadow: 0 2px 0 #e9e2cf, 0 20px 30px -12px rgba(60,30,0,.6); transform: rotate(-.8deg); }
.g-picture .ar-card::before { content: ""; position: absolute; top: -9px; left: calc(50% - 9px); width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ff9a9a, #dc2626 60%, #991b1b); box-shadow: 0 3px 4px rgba(0,0,0,.4); }
.g-picture .ar-pic { background: #1f2937; border-radius: 2px; padding: 20px 0; margin: 0 0 12px; }
.g-picture .ar-qt { font-family: "Segoe Print", "Bradley Hand", "Chalkboard SE", "Comic Sans MS", "Coming Soon", cursive; }
.g-picture .ar-opt { background: #fff48f; border: 0; border-radius: 2px; box-shadow: 2px 3px 0 rgba(60,30,0,.28); font-family: "Segoe Print", "Bradley Hand", "Chalkboard SE", "Comic Sans MS", "Coming Soon", cursive; font-size: 17px; color: #2b1d0e; } .g-picture .ar-opt:nth-child(odd) { transform: rotate(-1.2deg); } .g-picture .ar-opt:nth-child(even) { transform: rotate(1deg); background: #b9f6ca; }
.g-picture .ar-in { font-family: "Segoe Print", "Bradley Hand", "Chalkboard SE", "Comic Sans MS", "Coming Soon", cursive; }

/* ── MISSING VOWELS: a neon sign with broken letters on a brick wall ── */
html .ar.g-vowels { --bg: #1a0f14; --card: #2a1820; --ink: #ffeef5; --body: #f3c9d8; --mute: #c59aab; --line: #4a2a36; --soft: #3a2029; color: #ffeef5; --c: #ff2d95 !important; --pat-o: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='32' viewBox='0 0 64 32'%3E%3Crect width='64' height='32' fill='%23231319'/%3E%3Cg stroke='%23120a0d' stroke-width='2'%3E%3Cpath d='M0 1h64M0 17h64M16 1v16M48 1v16M0 17v16M32 17v16M64 17v16'/%3E%3C/g%3E%3C/svg%3E"), #1a0f14; }
.g-vowels .ar-card { background: rgba(18,10,13,.78); border: 2px solid #ff2d95; border-radius: 22px; box-shadow: 0 0 0 1px rgba(255,45,149,.35), 0 0 30px rgba(255,45,149,.5), inset 0 0 24px rgba(255,45,149,.14); }
.g-vowels .ar-big { color: #fff; font-family: ui-rounded, "SF Pro Rounded", "Nunito", "Arial Rounded MT Bold", "Varela Round", Inter, system-ui, sans-serif; font-size: clamp(21px, 6.4vw, 34px); letter-spacing: .14em; text-shadow: 0 0 6px #fff, 0 0 18px #ff2d95, 0 0 44px #ff2d95; }
.g-vowels .ar-in { background: #120a0d; color: #7df9ff; border-color: #22d3ee; box-shadow: 0 0 16px rgba(34,211,238,.4); letter-spacing: .1em; text-transform: uppercase; } .g-vowels .ar-btn { box-shadow: 0 0 20px rgba(255,45,149,.65); }

/* ── SENTENCE BUILDER: toy bricks on a base plate ── */
html .ar.g-builder { --bg: #dbeafe; --card: #fff; --ink: #172554; --body: #1e3a8a; --mute: #5b74a8; --line: #bfdbfe; --soft: #eff6ff; color: #172554; --pat-o: 0;
  background: radial-gradient(circle, #a9cbfa 0 6px, transparent 6.5px) 0 0 / 28px 28px, #cfe2fd; }
.g-builder .ar-card { border: 0; border-radius: 14px; box-shadow: 0 8px 0 #9dbdf0, 0 24px 34px -18px rgba(23,37,84,.5); }
.g-builder .ar-tiles { gap: 12px 8px; padding-top: 6px; }
.g-builder .ar-tile { position: relative; border: 0; border-radius: 5px; min-height: 48px; color: #fff; font-weight: 900; background: #ef4444; box-shadow: inset 0 -5px 0 rgba(0,0,0,.2), 0 3px 0 rgba(0,0,0,.14); }
.g-builder .ar-tile::before { content: ""; position: absolute; top: -5px; left: 8px; right: 8px; height: 5px; background: inherit; filter: brightness(.93); -webkit-mask: repeating-linear-gradient(90deg, #000 0 13px, transparent 13px 21px); mask: repeating-linear-gradient(90deg, #000 0 13px, transparent 13px 21px); }
.g-builder .ar-tile:nth-child(5n+2) { background: #2563eb; } .g-builder .ar-tile:nth-child(5n+3) { background: #f59e0b; } .g-builder .ar-tile:nth-child(5n+4) { background: #16a34a; } .g-builder .ar-tile:nth-child(5n+5) { background: #9333ea; }
.g-builder .ar-slot { border: 0; border-radius: 8px; min-height: 72px; padding: 14px 8px 8px; gap: 10px 6px; background: radial-gradient(circle, #34c26a 0 5px, transparent 5.5px) 0 0 / 22px 22px, #22a955; } .g-builder .ar-slot:empty::before { color: #eafff1; font-weight: 700; }

/* ── ERROR HUNTER: a page of an exercise book on a green desk mat ── */
html .ar.g-errorhunt { --bg: #0f5f57; --card: #0b4a44; --ink: #ecfdf5; --body: #c5efe6; --mute: #9ad9cc; --line: #1a7a70; --soft: #0e5850; color: #ecfdf5; --pat-o: 0;
  background: linear-gradient(rgba(255,255,255,.1) 1px, transparent 1px) 0 0 / 100% 30px, linear-gradient(90deg, rgba(255,255,255,.1) 1px, transparent 1px) 0 0 / 30px 100%, #0f5f57; }
.g-errorhunt .ar-card { --card: #fffef7; --ink: #1f2937; --body: #374151; --mute: #6b7280; --line: #e5e7eb; --soft: #fef3c7; background: #fffef7; color: #1f2937; border: 0; border-radius: 4px; padding-left: 54px; box-shadow: 0 22px 34px -18px rgba(0,0,0,.6);
  background: radial-gradient(circle at 20px 26%, #0f5f57 0 7px, transparent 7.5px), radial-gradient(circle at 20px 74%, #0f5f57 0 7px, transparent 7.5px), linear-gradient(90deg, transparent 40px, #fca5a5 40px 42px, transparent 42px), repeating-linear-gradient(#fffef7 0 30px, #bfdbfe 30px 31px); }

/* ── TENSE TIME MACHINE: the control room of a time machine ── */
html .ar.g-tenses { --bg: #0d0b1f; --card: #1a1638; --ink: #f3f0ff; --body: #cdc6f5; --mute: #9d95d6; --line: #352e6b; --soft: #241f4d; color: #f3f0ff; --pat-o: 0;
  background: radial-gradient(circle at 50% 42%, transparent 0, #0d0b1f 72%), repeating-conic-gradient(from 0deg at 50% 42%, #1d1650 0 10deg, #120e2e 10deg 20deg); }
.g-tenses .ar-card { background: linear-gradient(#221c4b, #17133a); border: 2px solid #8b5cf6; border-radius: 18px; box-shadow: 0 0 0 5px #0d0b1f, 0 0 0 7px #4c1d95, 0 0 40px -6px #8b5cf6; }
.g-tenses .ar-qt { font-family: ui-monospace, "SF Mono", "Cascadia Mono", "Roboto Mono", "Droid Sans Mono", "Courier New", monospace; color: #ede9fe; font-size: 19px; }
.g-tenses .ar-opt { border: 0; border-radius: 12px; min-height: 62px; font-family: ui-monospace, "SF Mono", "Cascadia Mono", "Roboto Mono", "Droid Sans Mono", "Courier New", monospace; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; color: #0d0b1f; box-shadow: 0 5px 0 rgba(0,0,0,.5); }
.g-tenses .ar-opt:nth-child(1) { background: linear-gradient(#fcd34d, #f59e0b); } .g-tenses .ar-opt:nth-child(2) { background: linear-gradient(#86efac, #22c55e); } .g-tenses .ar-opt:nth-child(3) { background: linear-gradient(#67e8f9, #06b6d4); }
.g-tenses .tm { background: #0d0b1f; border: 2px solid #4c1d95; box-shadow: inset 0 0 18px rgba(139,92,246,.5); }

/* ── PREPOSITION PARACHUTE: high in the evening sky ── */
html .ar.g-parachute { --bg: #fde2cf; --card: #fff; --ink: #3b1d4a; --body: #5b3a6b; --mute: #8b6c99; --line: #ead4f0; --soft: #fdf0ff; color: #3b1d4a; --pat-o: 0;
  background: linear-gradient(#5b6ee1 0, #a78bfa 32%, #fda4af 66%, #fed7aa 100%); }
html .ar.g-parachute::after { height: 90px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='90' viewBox='0 0 600 90'%3E%3Cpath d='M0 90V52c60-30 120-34 190-8 60-34 130-40 210-6 70-26 130-22 200 8v44z' fill='%234c2a63' fill-opacity='.55'/%3E%3Cpath d='M0 90V70c90-26 170-22 260 0 110-28 220-26 340 4v16z' fill='%233b1d4a' fill-opacity='.7'/%3E%3C/svg%3E") repeat-x bottom / auto 100%; }
.g-parachute .ar-card { background: rgba(255,255,255,.86); border: 0; border-radius: 28px; box-shadow: 0 24px 40px -22px rgba(59,29,74,.7); }
.g-parachute .pa-sky { background: linear-gradient(#7c8cf0, #fbc4b5); border-radius: 18px; box-shadow: inset 0 0 0 3px rgba(255,255,255,.65); } .g-parachute .pa-ground { background: #4c2a63; } .g-parachute .pa b { color: #3b1d4a; }

/* ── ARTICLE ALLEY: a road at night with road signs ── */
html .ar.g-articles { --bg: #2f3640; --card: #3b4450; --ink: #fff; --body: #e5e9ef; --mute: #aab3c0; --line: #4b5563; --soft: #434c59; color: #fff; --c: #0b5cab !important; --pat-o: 0;
  background: repeating-linear-gradient(#facc15 0 46px, transparent 46px 92px) 50% 0 / 8px 100% no-repeat, radial-gradient(rgba(255,255,255,.05) 1px, transparent 1.4px) 0 0 / 7px 7px, #2f3640; }
.g-articles .ar-card { --card: #0b5cab; --ink: #fff; --body: #e3eefb; --mute: #b9d2f1; --line: #3d7fc6; --soft: #1668bd; background: #0b5cab; color: #fff; border: 4px solid #fff; border-radius: 16px; box-shadow: 0 0 0 4px #0b5cab, 0 24px 34px -16px #000; }
.g-articles .ar-qt { font-size: 23px; }
.g-articles .ar-opt { background: #fff; color: #111; border: 3px solid #111; border-radius: 10px; font-size: 21px; font-weight: 900; }
.g-articles .al { background: repeating-linear-gradient(90deg, #6b7280 0 22px, #4b5563 22px 44px); box-shadow: 0 0 0 3px #fff; }

/* ── GRAMMAR TOWER: a building site at sunrise ── */
html .ar.g-tower { --bg: #fff1e0; --card: #fff; --ink: #3a2208; --body: #5c3a14; --mute: #9a7a55; --line: #f1d9bd; --soft: #fff7ed; color: #3a2208; --c: #ea580c !important; --pat-o: 0;
  background: linear-gradient(#fbbf77 0, #fde3c0 46%, #fff7ed 100%); }
html .ar.g-tower::after { height: 120px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='120' viewBox='0 0 420 120'%3E%3Cpath fill='%239a3412' fill-opacity='.2' d='M0 120V70h30V40h36v30h20V20h44v50h26V54h30v16h24V8h40v62h22V46h34v24h26V30h42v40h46v50z'/%3E%3C/svg%3E") repeat-x bottom / auto 100%; }
.g-tower .ar-card { border: 0; border-top: 9px solid #ea580c; border-radius: 6px; box-shadow: 7px 7px 0 rgba(154,52,18,.18); }
.g-tower .ar-opt { border-radius: 4px; background: #fff7ed; border: 2px solid #ea580c; border-bottom-width: 5px; color: #3a2208; }
.g-tower .tw-b i { width: 84px; height: 13px; border-radius: 0; border: 1.5px solid #7c2d12; background: repeating-linear-gradient(90deg, #fde68a 0 9px, #9a3412 9px 14px); opacity: 1; }

/* ── VERB TENNIS: a blue hard court and a scoreboard ── */
html .ar.g-tennis { --bg: #1d4f91; --card: #173f75; --ink: #fff; --body: #dbeafe; --mute: #b5cdee; --line: #2f66ad; --soft: #1f5aa0; color: #fff; --c: #c7e627 !important; --pat-o: 0;
  background: linear-gradient(90deg, transparent calc(50% - 2px), rgba(255,255,255,.38) calc(50% - 2px) calc(50% + 2px), transparent calc(50% + 2px)), linear-gradient(transparent 24%, rgba(255,255,255,.3) 24% calc(24% + 3px), transparent calc(24% + 3px) 76%, rgba(255,255,255,.3) 76% calc(76% + 3px), transparent calc(76% + 3px)), linear-gradient(#2a6db8, #1d4f91); }
.g-tennis .ar-card { --card: #0b1f3a; --ink: #fff; --body: #dbeafe; --mute: #93b4e0; --line: #27476f; --soft: #143258; background: #0b1f3a; color: #fff; border: 3px solid #fff; border-radius: 8px; box-shadow: 0 24px 36px -18px #000; }
.g-tennis .ar-big { font-family: "Roboto Condensed", "Arial Narrow", "Avenir Next Condensed", "sans-serif-condensed", Impact, sans-serif; font-size: 46px; color: #d9f24b; letter-spacing: .05em; } .g-tennis .ar-in { background: #fff; color: #0b1f3a; border-color: #d9f24b; }
.g-tennis .ar-btn { color: #1a2e05 !important; } .g-tennis .tn { background: #2a6db8; box-shadow: 0 0 0 2px #2a6db8; }

/* ── QUESTION MAKER: an interview — the answer is in a speech bubble ── */
html .ar.g-qmaker { --bg: #ffe4ec; --card: #fff; --ink: #4a0d24; --body: #7a1f3d; --mute: #b06a82; --line: #fbc4d4; --soft: #fff0f5; color: #4a0d24; --pat-o: .1;
  background: linear-gradient(160deg, #ffd1dc, #ffe9d6); }
.g-qmaker .ar-card { position: relative; border: 3px solid #e11d48; border-radius: 30px; margin-bottom: 22px; box-shadow: 0 18px 30px -20px #e11d48; }
.g-qmaker .ar-card::after { content: ""; position: absolute; left: 44px; bottom: -15px; width: 26px; height: 26px; background: #fff; border-right: 3px solid #e11d48; border-bottom: 3px solid #e11d48; transform: rotate(45deg); }
.g-qmaker .ar-tile { border-radius: 99px; border-color: #e11d48; box-shadow: 0 3px 0 #fda4af; } .g-qmaker .ar-slot { border-radius: 99px; border-color: #e11d48; background: #fff0f5; }

/* ── SNAKES AND LADDERS: a wooden board game in the jungle ── */
html .ar.g-snakes { --bg: #14532d; --card: #1b6b3a; --ink: #f0fdf4; --body: #d1fae5; --mute: #a7dfbd; --line: #2a8a50; --soft: #1f7a43; color: #f0fdf4; --pat-o: .1;
  background: radial-gradient(800px 520px at 50% -40px, #24a35d, transparent), #14532d; }
.g-snakes .sn { padding: 9px; gap: 2px; background: #8b5a2b; border-radius: 12px; box-shadow: inset 0 0 0 3px #6b4220, 0 16px 30px -14px #000; }
.g-snakes .sn div { border: 0; border-radius: 3px; background: #fef9e7; } .g-snakes .sn div:nth-child(12n+1), .g-snakes .sn div:nth-child(12n+3), .g-snakes .sn div:nth-child(12n+5), .g-snakes .sn div:nth-child(12n+8), .g-snakes .sn div:nth-child(12n+10), .g-snakes .sn div:nth-child(12n+12) { background: #e3f3c8; }
.g-snakes .sn div.up { background: #a7f3d0; } .g-snakes .sn div.dn { background: #fecaca; } .g-snakes .sn em { color: #6b5a3a; } .g-snakes .sn small { font-size: 12px; }
.g-snakes .ar-card { --card: #fff8e1; --ink: #3b2a12; --body: #5b4424; --mute: #8a744f; --line: #e8d5a8; --soft: #fdeec2; background: #fff8e1; color: #3b2a12; border: 4px solid #8b5a2b; border-radius: 12px; box-shadow: 0 16px 30px -16px #000; }
@media (max-width: 859px) { .g-snakes .sn { max-width: min(100%, 44vh); } }

/* ── PUNCTUATION FIXER: a typed page and the editor's red pen ── */
html .ar.g-punct { --bg: #d9d2c3; --card: #fff; --ink: #22201c; --body: #45413a; --mute: #857f72; --line: #cfc7b6; --soft: #f6f1e4; color: #22201c; --c: #dc2626 !important; --pat-o: 0;
  background: linear-gradient(#ddd6c7, #cbc3b2); }
.g-punct .ar-card { border: 0; border-radius: 2px; box-shadow: 0 1px 0 #bbb, 5px 6px 0 -1px #fbfaf6, 5px 6px 0 #bbb, 10px 12px 0 -1px #f6f4ee, 10px 12px 0 #bbb, 0 30px 34px -20px rgba(0,0,0,.55); }
.g-punct .pu { font-family: "Courier New", "Roboto Mono", Courier, monospace; font-size: 21px; } .g-punct .pu .w { background: none; border-radius: 0; border-bottom: 1px dotted #a8a294; }
.g-punct .pu .m { color: #dc2626; } .g-punct .pu .m.on { background: none; color: #dc2626; border-radius: 50%; box-shadow: 0 0 0 2px #dc2626; }

/* ── PARAPHRASE MATCH: one idea, two ways to say it — a page in two colours ── */
html .ar.g-paraphrase { --bg: #e6f7f8; --card: #fff; --ink: #083344; --body: #155e75; --mute: #5b8a96; --line: #b9e3e8; --soft: #ecfeff; color: #083344; --pat-o: 0;
  background: linear-gradient(115deg, #cdeff3 0 50%, #ffe1d6 50% 100%); }
.g-paraphrase .ar-card { position: relative; border: 0; border-radius: 4px 28px 4px 28px; box-shadow: 0 22px 36px -22px #0e7490; }
.g-paraphrase .ar-card::before { content: "\201C"; position: absolute; top: -4px; left: 12px; font: 900 96px/1 Georgia, "Noto Serif", "Times New Roman", serif; color: #0891b2; opacity: .22; pointer-events: none; }
.g-paraphrase .ar-qt { font-family: Georgia, "Noto Serif", "Times New Roman", serif; font-style: italic; font-size: 22px; position: relative; }
.g-paraphrase .ar-opt { border-radius: 4px 16px 4px 16px; background: #fff; border: 1.5px solid #b9e3e8; border-left: 7px solid #fb7185; font-family: Georgia, "Noto Serif", "Times New Roman", serif; font-size: 16.5px; color: #083344; }

/* ── TRUE · FALSE · NOT GIVEN: a courtroom — read the evidence, stamp your verdict ── */
html .ar.g-tfng { --bg: #5e3b1e; --card: #4a2e17; --ink: #fff7ea; --body: #f0dfc6; --mute: #d6bb97; --line: #7d5530; --soft: #57361b; color: #fff7ea; --c: #7c2d12 !important; --pat-o: 0;
  background: radial-gradient(900px 520px at 50% -40px, rgba(255,226,170,.28), transparent), repeating-linear-gradient(90deg, #6b4423 0 118px, #57361b 118px 122px); }
.g-tfng .ar-text { --card: #fffdf8; --ink: #2a2118; --body: #3a3024; --mute: #857560; --line: #d9ccb6; --soft: #f6efe2; background: #fffdf8; color: #2a2118; font-family: Georgia, "Noto Serif", "Times New Roman", serif; border: 0; border-radius: 2px; border-top: 6px double #7c2d12; box-shadow: 0 16px 26px -16px #000; }
.g-tfng .ar-card { --card: #fffdf8; --ink: #2a2118; --body: #4a3d2e; --mute: #857560; --line: #d9ccb6; --soft: #f6efe2; background: #fffdf8; color: #2a2118; border: 0; border-radius: 2px; box-shadow: 0 18px 30px -16px #000; }
.g-tfng .ar-qt { font-family: Georgia, "Noto Serif", "Times New Roman", serif; }
.g-tfng .ar-opt { background: #fffdf8; border: 3.5px double currentColor; border-radius: 8px; font-family: ui-monospace, "SF Mono", "Cascadia Mono", "Roboto Mono", "Droid Sans Mono", "Courier New", monospace; font-weight: 900; text-transform: uppercase; letter-spacing: .1em; }
.g-tfng .ar-opt:nth-child(1) { color: #15803d; transform: rotate(-2deg); } .g-tfng .ar-opt:nth-child(2) { color: #b91c1c; transform: rotate(1.5deg); } .g-tfng .ar-opt:nth-child(3) { color: #57534e; transform: rotate(-1deg); }

/* ── HEADING HERO: the front page of a newspaper — you choose the headline ── */
html .ar.g-heading { --bg: #e9e7e0; --card: #fbfaf5; --ink: #151515; --body: #2c2c2c; --mute: #6e6e6a; --line: #cfcdc4; --soft: #f1efe6; color: #151515; --c: #b91c1c !important; --pat-o: 0;
  background: radial-gradient(rgba(0,0,0,.06) 1px, transparent 1.3px) 0 0 / 5px 5px, #e9e7e0; }
.g-heading .ar-stage.longopts::before, .g-heading .ar-stage.hd::before { content: "The Daily Paragraph"; display: block; text-align: center; font: 900 30px/1.3 Georgia, "Noto Serif", "Times New Roman", serif; border-bottom: 3px double #151515; margin-bottom: 10px; }
.g-heading .ar-text { font-family: Georgia, "Noto Serif", "Times New Roman", serif; background: #fbfaf5; border: 0; border-radius: 0; border-top: 1px solid #151515; border-bottom: 1px solid #151515; text-align: justify; }
.g-heading .ar-text::first-letter { float: left; font: 900 48px/.85 Georgia, "Noto Serif", "Times New Roman", serif; margin: 5px 7px 0 0; }
.g-heading .ar-card { border: 0; border-radius: 0; background: #fbfaf5; box-shadow: none; border-bottom: 3px double #151515; }
.g-heading .ar-qt { font-family: Georgia, "Noto Serif", "Times New Roman", serif; font-style: italic; font-size: 16px; font-weight: 400; }
.g-heading .ar-opt { background: none; border: 0; border-bottom: 1px solid #cfcdc4; border-radius: 0; font: 900 20px/1.2 Georgia, "Noto Serif", "Times New Roman", serif; padding: 12px 6px; color: #151515; }

/* ── BAND BOOSTER: power up — arrows that only go up ── */
html .ar.g-booster { --bg: #07130f; --card: #0f2a20; --ink: #eafff5; --body: #bfeeda; --mute: #86c7ad; --line: #1d4a39; --soft: #143a2c; color: #eafff5; --c: #34d399 !important; --pat-o: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='44' viewBox='0 0 60 44'%3E%3Cpath d='M6 34 30 12l24 22' fill='none' stroke='%2334d399' stroke-opacity='.09' stroke-width='6'/%3E%3C/svg%3E"), linear-gradient(#0a2018, #07130f); }
.g-booster .ar-card { background: #0c211a; border: 1.5px solid #34d399; border-radius: 14px; box-shadow: 0 0 34px -10px #34d399; }
.g-booster .ar-qt mark { background: rgba(52,211,153,.18); color: #a7f3d0; box-shadow: 0 0 0 1.5px #34d399; }
.g-booster .ar-opt { background: #0f2a20; border: 1.5px solid #1d6b50; border-radius: 10px; color: #eafff5; } .g-booster .ar-opt::before { content: "▲ "; color: #34d399; font-size: .7em; }
.g-booster .ar-btn { color: #062016 !important; } .g-booster .ar-streak { color: #fbbf24; }

/* ── LINKER LAB: a chemistry lab — find the word that joins the two halves ── */
html .ar.g-linker { --bg: #f3effc; --card: #fff; --ink: #2e1065; --body: #4c1d95; --mute: #8f7ab8; --line: #ddd0f5; --soft: #f5f0ff; color: #2e1065; --pat-o: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='96' viewBox='0 0 84 96'%3E%3Cg fill='none' stroke='%23c9b8f0' stroke-width='2'%3E%3Cpath d='M42 6 72 24v36L42 78 12 60V24z'/%3E%3Cpath d='M42 78v18M12 24 0 16M72 24l12-8'/%3E%3C/g%3E%3Cg fill='%23c9b8f0'%3E%3Ccircle cx='42' cy='6' r='4'/%3E%3Ccircle cx='72' cy='60' r='4'/%3E%3Ccircle cx='12' cy='60' r='4'/%3E%3C/g%3E%3C/svg%3E"), #f3effc; }
.g-linker .ar-card { border: 2.5px solid #c4b5fd; border-radius: 18px 18px 44px 44px; box-shadow: 0 22px 34px -22px #7c3aed; padding-bottom: 26px; }
.g-linker .ar-opt { border-radius: 99px; background: #fff; border: 2px solid #9333ea; color: #2e1065; } .g-linker .ar-opt::before { content: ""; display: inline-block; width: 11px; height: 11px; margin-right: 8px; border-radius: 50%; background: #22d3ee; vertical-align: 0; }
.g-linker .ar-opt:nth-child(2)::before { background: #f472b6; } .g-linker .ar-opt:nth-child(3)::before { background: #a3e635; } .g-linker .ar-opt:nth-child(4)::before { background: #fbbf24; }

/* ── CHART WORDS: a market screen — numbers, lines and green type ── */
html .ar.g-chart { --bg: #0b1220; --card: #111c2e; --ink: #e6edf7; --body: #b8c4d6; --mute: #7d8ba1; --line: #22314a; --soft: #18253b; color: #e6edf7; --c: #38bdf8 !important; --pat-o: 0;
  background: linear-gradient(rgba(56,189,248,.07) 1px, transparent 1px) 0 0 / 100% 32px, linear-gradient(90deg, rgba(56,189,248,.07) 1px, transparent 1px) 0 0 / 32px 100%, #0b1220; }
.g-chart .ar-card { background: #0f1a2c; border: 1px solid #22314a; border-top: 3px solid #38bdf8; border-radius: 6px; box-shadow: 0 24px 40px -22px #000; }
.g-chart .ar-qt, .g-chart .ar-opt, .g-chart .ar-h { font-family: ui-monospace, "SF Mono", "Cascadia Mono", "Roboto Mono", "Droid Sans Mono", "Courier New", monospace; } .g-chart .ar-qt { font-size: 16px; color: #7dd3fc; }
.g-chart .ar-opt { background: #0b1220; border: 1px solid #22314a; border-radius: 4px; font-size: 14px; color: #e6edf7; } .g-chart .ar-opt::before { content: "› "; color: #4ade80; }
.g-chart .ar-btn { color: #06202a !important; }
@media (min-width: 720px) { .g-chart .ar-opts { grid-template-columns: 1fr 1fr; } .g-chart .ar-pic svg { max-width: 360px; } }

/* ── LISTENING NUMBERS: an old wooden radio ── */
html .ar.g-numbers { --bg: #f6e7d0; --card: #fffaf0; --ink: #3a2414; --body: #5a3b22; --mute: #93765a; --line: #e2caa6; --soft: #fdf1dc; color: #3a2414; --c: #c2410c !important; --pat-o: 0;
  background: repeating-radial-gradient(circle at 50% 48%, transparent 0 38px, rgba(194,65,12,.08) 38px 40px), #f6e7d0; }
.g-numbers .ar-card { --card: #7a4a25; --ink: #fff5e6; --body: #f3dcc0; --mute: #e6c8a3; --line: #9a6a3f; --soft: #8a5730; background: #7a4a25; color: #fff5e6; background: repeating-linear-gradient(92deg, #7f4e27 0 26px, #744620 26px 52px); border: 6px solid #53300f; border-radius: 28px; box-shadow: inset 0 2px 0 rgba(255,255,255,.2), 0 26px 36px -18px rgba(58,36,20,.8); }
.ar.g-numbers .ln-play { background: radial-gradient(#150c05 1.7px, transparent 2.1px) 0 0 / 8px 8px, #3a2414; border: 6px solid #e2b76a; box-shadow: 0 6px 0 #53300f; }
.g-numbers .ar-in { background: #b9c7a0; color: #1f2a12; border: 3px solid #2a1808; border-radius: 8px; font-family: ui-monospace, "SF Mono", "Cascadia Mono", "Roboto Mono", "Droid Sans Mono", "Courier New", monospace; letter-spacing: .1em; box-shadow: inset 0 3px 8px rgba(0,0,0,.3); }
.g-numbers .ar-btn { background: linear-gradient(#f3cf86, #c9973f); color: #2a1808 !important; box-shadow: 0 4px 0 #8a6220; }

/* ── SPEAKING WHEEL: a fairground wheel with lights ── */
html .ar.g-wheel { --bg: #fff3d6; --card: #fff; --ink: #4a1d0a; --body: #7a3413; --mute: #a56a4a; --line: #f6d7a8; --soft: #fff7e6; color: #4a1d0a; --pat-o: 0;
  background: repeating-conic-gradient(from 0deg at 50% 56%, #ffe0a0 0 12deg, #fff3d6 12deg 24deg); }
.g-wheel .ar-card { border: 7px solid #dc2626; border-radius: 30px; outline: 5px dotted #fbbf24; outline-offset: 4px; box-shadow: 0 26px 40px -20px #7c2d12; }
.g-wheel .ar-wh-disc { border-color: #fbbf24; box-shadow: 0 0 0 4px #b45309, 0 14px 28px -10px rgba(0,0,0,.5); }

/* ── ESSAY DETECTIVE: a case file under a desk lamp ── */
html .ar.g-detective { --bg: #1b1a17; --card: #2a2823; --ink: #f1ead9; --body: #d6cdb8; --mute: #a8a08c; --line: #3d3a32; --soft: #322f29; color: #f1ead9; --c: #b45309 !important; --pat-o: 0;
  background: radial-gradient(720px 500px at 50% 34%, rgba(255,214,140,.22), transparent), #1b1a17; }
.g-detective .ar-card { --card: #e9c98a; --ink: #2a2113; --body: #4a3b22; --mute: #7a6746; --line: #cfae6e; --soft: #f2d9a5; background: #e9c98a; color: #2a2113; position: relative; margin-top: 26px; border: 0; border-radius: 0 14px 14px 14px; box-shadow: 0 26px 40px -18px #000; }
.g-detective .ar-card::before { content: "CASE FILE"; position: absolute; top: -24px; left: 0; height: 24px; padding: 6px 16px 0; background: #e9c98a; border-radius: 8px 8px 0 0; font: 800 11px/1 ui-monospace, "SF Mono", "Cascadia Mono", "Roboto Mono", "Droid Sans Mono", "Courier New", monospace; letter-spacing: .22em; color: #7a6746; }
.g-detective .ar-qt { font-family: "Courier New", "Roboto Mono", Courier, monospace; }
.g-detective .ar-opt { background: #fffdf5; border: 0; border-radius: 2px; font-family: "Courier New", "Roboto Mono", Courier, monospace; font-size: 15px; color: #2a2113; box-shadow: 1px 2px 0 rgba(0,0,0,.28); }

/* ═══════ THE 15 KNOWLEDGE GAMES — second design (18 Nov 2026) ═══════
   The owner looked at five previews of each and wrote what he wants: looks that belong to the subject, drawings, movement,
   and a DAY and a NIGHT look for every game ("html.dark" = night; the ☀️ / 🌙 button in the top bar changes it).
   In each block: first the day look, then the night look, then the moving parts. */
@keyframes skDrift { to { background-position-x: 600px; } } @keyframes skTwinkle { 50% { opacity: .35; } } @keyframes skSpin { to { transform: rotate(360deg); } }
@keyframes skFloat { 50% { transform: translateY(-8px); } } @keyframes skSwing { 0%, 100% { transform: rotate(-1.2deg); } 50% { transform: rotate(1.2deg); } } @keyframes skFlick { 50% { opacity: .7; transform: scaleY(1.08); } }

/* ── TIMELINE: history — stone, papyrus, pyramids and temples; torches at night ── */
html .ar.g-timeline { --bg: #ecd9b0; --card: #f6e8c4; --ink: #3a2a12; --body: #5b4424; --mute: #8a744f; --line: #d3bd8c; --soft: #efdcae; color: #3a2a12; --c: #9a4d1a !important; --pat-o: 0;
  background: radial-gradient(ellipse at 50% 40%, transparent 50%, rgba(120,72,20,.3)), repeating-linear-gradient(0deg, rgba(120,80,30,.05) 0 2px, transparent 2px 7px), linear-gradient(#f0deb6, #e0c48d); }
html .ar.g-timeline::after { height: 150px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='640' height='150' viewBox='0 0 640 150'%3E%3Cg fill='%238a6a3f' fill-opacity='.55'%3E%3Cpath d='M0 150l70-110 70 110zM110 150l52-78 52 78z'/%3E%3Cpath d='M270 150V70h-8V58h132v12h-8v80h-14V74h-10v76h-14V74h-10v76h-14V74h-10v76h-14V74h-10v76zM262 58l66-34 66 34z'/%3E%3Cpath d='M440 150V96a16 16 0 0 1 32 0v54h10V96a16 16 0 0 1 32 0v54h10V96a16 16 0 0 1 32 0v54h10V96a16 16 0 0 1 32 0v54h10V84H430v66z'/%3E%3C/g%3E%3C/svg%3E") repeat-x bottom / auto 100%; }
.g-timeline .ar-card { position: relative; border: 0; border-radius: 10px; padding: 20px 18px; font-family: Georgia, "Noto Serif", "Times New Roman", serif; background: linear-gradient(160deg, #f9eccb, #ecd7a6); box-shadow: inset 0 0 0 2px #c9a86a, inset 0 0 0 6px #f6e8c4, inset 0 0 0 7px #c9a86a, inset 0 0 40px rgba(146,90,30,.22), 0 24px 34px -18px rgba(60,30,0,.6); }
.g-timeline .ar-card::after { content: "⏳"; position: absolute; right: 14px; top: 10px; font-size: 24px; animation: tlFlip 4s ease-in-out infinite; } @keyframes tlFlip { 0%, 40% { transform: rotate(0); } 50%, 90% { transform: rotate(180deg); } 100% { transform: rotate(360deg); } }
.g-timeline .ar-who { letter-spacing: .2em; text-transform: uppercase; font-weight: 800; color: #9a4d1a; }
.g-timeline .tl-out { border: 0; border-left: 4px solid #9a4d1a; border-radius: 0; padding: 4px 0 4px 12px; background: linear-gradient(90deg, rgba(154,77,26,.08), transparent); }
.g-timeline .tl-out button, .g-timeline .tl-in button { display: flex; align-items: center; font-family: Georgia, "Noto Serif", "Times New Roman", serif; font-size: 16px; color: #3a2a12; border: 1px solid #c9a86a; border-radius: 4px; background: linear-gradient(#fbf1d6, #f1dfb4); box-shadow: 0 2px 0 #c9a86a; }
.g-timeline .tl-ic { display: inline-grid; place-items: center; flex: none; width: 34px; height: 34px; margin-right: 10px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #f3d58a, #b8862b); box-shadow: inset 0 0 0 2px rgba(255,255,255,.4), 0 1px 0 #7a5a1a; font-size: 18px; }
html.dark .ar.g-timeline { --bg: #17120b; --card: #231b10; --ink: #f6e7c3; --body: #e2cf9f; --mute: #b39a63; --line: #4a3a1e; --soft: #2e2414; color: #f6e7c3; --c: #e0a23a !important;
  background: radial-gradient(260px 300px at 6% 30%, rgba(255,150,40,.4), transparent 70%), radial-gradient(260px 300px at 94% 30%, rgba(255,150,40,.4), transparent 70%), repeating-linear-gradient(0deg, rgba(255,255,255,.03) 0 2px, transparent 2px 44px), repeating-linear-gradient(90deg, rgba(255,255,255,.03) 0 2px, transparent 2px 90px), #17120b; }
html.dark .g-timeline .ar-card { background: linear-gradient(160deg, #2c2213, #1d160b); box-shadow: inset 0 0 0 2px #7a5a1a, inset 0 0 0 6px #231b10, inset 0 0 0 7px #7a5a1a, 0 0 50px -12px rgba(255,160,50,.5); }
html.dark .g-timeline .tl-out button, html.dark .g-timeline .tl-in button { background: linear-gradient(#34281a, #281f12); color: #f6e7c3; border-color: #7a5a1a; box-shadow: 0 2px 0 #7a5a1a; } html.dark .g-timeline .ar-who { color: #e0a23a; }

/* ── WHO AM I?: an artist's sketch book — pencil lines, a drawn portrait with a question mark ── */
html .ar.g-whoami { --bg: #f4f1e8; --card: #fffdf7; --ink: #2f2b26; --body: #4a453e; --mute: #8a8478; --line: #d8d2c2; --soft: #f1ede0; color: #2f2b26; --c: #3b6ea8 !important; --pat-o: 0;
  background: radial-gradient(circle at 22px 50%, #cfc8b6 0 7px, transparent 8px) 0 0 / 44px 46px repeat-y, linear-gradient(90deg, #e3ddcd 0 44px, transparent 44px), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg stroke='%238a8478' stroke-opacity='.16' stroke-width='1'%3E%3Cpath d='M0 60 60 0M-15 15 15-15M45 75 75 45M10 60 60 10M0 40 40 0'/%3E%3C/g%3E%3C/svg%3E"), #f4f1e8; }
.g-whoami .ar-card { border: 2.5px solid #3a3530; border-radius: 255px 18px 225px 18px / 18px 225px 18px 255px; background: #fffdf7; box-shadow: 3px 4px 0 rgba(58,53,48,.25); font-family: "Segoe Print", "Bradley Hand", "Chalkboard SE", "Comic Sans MS", "Coming Soon", cursive; padding: 20px; }
.g-whoami .wa-face { width: 108px; height: 108px; border: 2.5px solid #3a3530; border-radius: 255px 18px 225px 18px / 18px 225px 18px 255px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cg fill='none' stroke='%2355504a' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='M50 14c-15 0-24 11-24 25 0 10 4 18 10 23v8c-12 3-22 9-25 20M50 14c15 0 24 11 24 25 0 10-4 18-10 23v8c12 3 22 9 25 20'/%3E%3Cpath d='M30 30c6-12 34-14 41 0M22 84l8-6M70 78l8 6M34 22l-4-6M66 22l4-6' stroke-opacity='.5'/%3E%3C/g%3E%3C/svg%3E") center / 86% no-repeat, #faf6ea; animation: skFloat 4s ease-in-out infinite; } .g-whoami .wa-face span { color: #3b6ea8; font-family: "Segoe Print", "Bradley Hand", "Chalkboard SE", "Comic Sans MS", "Coming Soon", cursive; font-size: 40px; } .g-whoami .wa-face.on { background: #fff8d6; animation: none; } .g-whoami .wa-face.on span { font-size: 56px; }
.g-whoami .ar-clues li { background: none; border-radius: 0; border-bottom: 2px dashed #b9b2a1; font-family: "Segoe Print", "Bradley Hand", "Chalkboard SE", "Comic Sans MS", "Coming Soon", cursive; font-size: 17px; padding-left: 30px; position: relative; } .g-whoami .ar-clues li::before { content: "✏️"; position: absolute; left: 2px; top: 8px; font-size: 15px; }
.g-whoami .ar-opts { counter-reset: wa; } .g-whoami .ar-opt { counter-increment: wa; display: flex; align-items: center; gap: 10px; text-align: left; background: #fffdf7; border: 2.2px solid #3a3530; border-radius: 255px 18px 225px 18px / 18px 225px 18px 255px; font-family: "Segoe Print", "Bradley Hand", "Chalkboard SE", "Comic Sans MS", "Coming Soon", cursive; font-size: 17px; color: #2f2b26; }
.g-whoami .ar-opt::before { content: counter(wa, upper-alpha); flex: none; display: grid; place-items: center; width: 30px; height: 30px; border: 2px solid #3b6ea8; border-radius: 50% 46% 52% 48%; color: #3b6ea8; font-weight: 900; }
html.dark .ar.g-whoami { --bg: #1a1b1f; --card: #232429; --ink: #f1efe8; --body: #d9d6cc; --mute: #a5a297; --line: #3d3f47; --soft: #2b2c32; color: #f1efe8; --c: #8ec5ff !important;
  background: radial-gradient(circle at 22px 50%, #0f1012 0 7px, transparent 8px) 0 0 / 44px 46px repeat-y, linear-gradient(90deg, #121316 0 44px, transparent 44px), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg stroke='%23fff' stroke-opacity='.06'%3E%3Cpath d='M0 60 60 0M-15 15 15-15M45 75 75 45M10 60 60 10M0 40 40 0'/%3E%3C/g%3E%3C/svg%3E"), #1a1b1f; }
html.dark .g-whoami .ar-card, html.dark .g-whoami .ar-opt { background: #232429; border-color: #e8e4d8; color: #f1efe8; box-shadow: 3px 4px 0 rgba(0,0,0,.5); } html.dark .g-whoami .wa-face { border-color: #e8e4d8; background-color: #2b2c32; filter: invert(.92) hue-rotate(180deg); } html.dark .g-whoami .wa-face.on { filter: none; background: #33342c; }
html.dark .g-whoami .ar-opt::before { border-color: #8ec5ff; color: #8ec5ff; } html.dark .g-whoami .ar-clues li { border-color: #4a4c55; }

/* ── GUESS THE COUNTRY: a turning globe, a plane and a travel map; the Earth at night with city lights ── */
html .ar.g-country { --bg: #d9f0ff; --card: #fff; --ink: #0b2c4a; --body: #16466e; --mute: #5f86a3; --line: #c3e0f3; --soft: #eaf6ff; color: #0b2c4a; --c: #0e7ac4 !important; --pat-o: 0;
  background: radial-gradient(circle, rgba(255,255,255,.9) 0 26px, transparent 27px) 0 60px / 420px 200px, radial-gradient(circle, rgba(255,255,255,.75) 0 18px, transparent 19px) 200px 150px / 520px 260px, linear-gradient(#8fd0ff, #dff3ff 60%, #f3fbff); animation: skDrift 90s linear infinite; }
.g-country .ar-card { position: relative; margin-top: 62px; padding-top: 62px; border: 0; border-radius: 22px; box-shadow: 0 24px 40px -22px rgba(11,44,74,.6); }
.g-country .ar-card::before { content: ""; position: absolute; left: calc(50% - 56px); top: -56px; width: 112px; height: 112px; border-radius: 50%; background: radial-gradient(circle at 32% 28%, rgba(255,255,255,.55), transparent 42%), radial-gradient(circle at 70% 76%, rgba(0,20,60,.45), transparent 55%), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='120' viewBox='0 0 240 120'%3E%3Cg fill='%233fae5a'%3E%3Cpath d='M14 28c14-10 36-12 48-2 6 8-2 16-12 18-6 8 2 20-8 26-10 2-12-12-18-18-8-6-16-12-10-24zM66 70c8-4 18 2 18 12s-4 26-12 28c-8-4-10-16-10-24s0-12 4-16zM118 22c16-8 44-8 58 0 10 6 6 16-4 18-8 10-2 22-14 26-12 0-10-14-20-18-12-2-26-12-20-26zM150 74c10-2 18 6 16 16s-8 18-16 18-12-10-10-20 4-12 10-14zM196 84c8-2 16 2 16 8s-8 10-16 8-6-14 0-16z'/%3E%3C/g%3E%3C/svg%3E") 0 50% / 224px 112px repeat-x, linear-gradient(#2a9df4, #1479c9); box-shadow: 0 0 0 5px #fff, 0 10px 18px -6px rgba(11,44,74,.6); animation: gcTurn 14s linear infinite; }
@keyframes gcTurn { to { background-position: 0 0, 0 0, -224px 50%, 0 0; } }
.g-country .ar-card::after { content: "✈️"; position: absolute; top: 14px; left: 8%; font-size: 22px; animation: gcFly 9s linear infinite; } @keyframes gcFly { from { left: 4%; transform: translateY(0); } 50% { transform: translateY(-10px); } to { left: 88%; transform: translateY(0); } }
.g-country .ar-clues li { background: #eaf6ff; border-radius: 10px; padding-left: 34px; position: relative; } .g-country .ar-clues li::before { content: "📍"; position: absolute; left: 9px; top: 8px; }
html.dark .ar.g-country { --bg: #04101f; --card: #0b1d36; --ink: #f4f5fa; --body: #d3d6e2; --mute: #9aa0b4; --line: #17355e; --soft: #10294b; color: #f4f5fa; --c: #38bdf8 !important;
  background: radial-gradient(#fff 1px, transparent 1.4px) 0 0 / 90px 90px, radial-gradient(#fff 1px, transparent 1.2px) 40px 60px / 140px 130px, radial-gradient(900px 600px at 50% 120%, #1e4f8f, transparent 70%), #04101f; animation: none; }
html.dark .g-country .ar-card::before { background: radial-gradient(circle at 32% 28%, rgba(255,255,255,.2), transparent 42%), radial-gradient(circle at 70% 76%, rgba(0,0,0,.7), transparent 60%), radial-gradient(#ffd97a 1px, transparent 1.6px) 0 0 / 11px 9px, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='120' viewBox='0 0 240 120'%3E%3Cg fill='%23193a2a'%3E%3Cpath d='M14 28c14-10 36-12 48-2 6 8-2 16-12 18-6 8 2 20-8 26-10 2-12-12-18-18-8-6-16-12-10-24zM66 70c8-4 18 2 18 12s-4 26-12 28c-8-4-10-16-10-24s0-12 4-16zM118 22c16-8 44-8 58 0 10 6 6 16-4 18-8 10-2 22-14 26-12 0-10-14-20-18-12-2-26-12-20-26zM150 74c10-2 18 6 16 16s-8 18-16 18-12-10-10-20 4-12 10-14zM196 84c8-2 16 2 16 8s-8 10-16 8-6-14 0-16z'/%3E%3C/g%3E%3C/svg%3E") 0 50% / 224px 112px repeat-x, linear-gradient(#0b2a55, #06162f); box-shadow: 0 0 0 5px #0b1d36, 0 0 30px -4px #38bdf8; animation-name: gcTurnN; } @keyframes gcTurnN { to { background-position: 0 0, 0 0, 0 0, -224px 50%, 0 0; } }
html.dark .g-country .ar-clues li { background: #10294b; }

/* ── FLAG PAINTER: a painter's room — an easel, a canvas, a wooden palette; a lamp at night ── */
html .ar.g-flagpaint { --bg: #efe6d6; --card: #fff; --ink: #2b2118; --body: #4a3b2c; --mute: #857560; --line: #e2d6c2; --soft: #faf3e6; color: #2b2118; --c: #c2410c !important; --pat-o: 0;
  background: radial-gradient(circle at 6% 16%, #f87171 0 30px, transparent 31px), radial-gradient(circle at 12% 26%, #fbbf24 0 12px, transparent 13px), radial-gradient(circle at 93% 12%, #60a5fa 0 36px, transparent 37px), radial-gradient(circle at 87% 24%, #34d399 0 14px, transparent 15px), linear-gradient(#f3ead9 0 72%, transparent 72%), repeating-linear-gradient(90deg, #b9824a 0 80px, #a8733f 80px 84px); }
.g-flagpaint .ar-card { background: none; border: 0; box-shadow: none; padding: 6px 8px; } .g-flagpaint .fp-note { display: table; margin: -12px auto 12px; padding: 4px 12px; border-radius: 99px; background: var(--card); color: var(--body); box-shadow: 0 2px 6px -2px rgba(0,0,0,.4); } .g-flagpaint .ar-big { font-family: Georgia, "Noto Serif", "Times New Roman", serif; letter-spacing: .08em; }
html.dark .ar.g-flagpaint { --bg: #1c1712; --card: #2a221a; --ink: #f6ecd9; --body: #e0d2b8; --mute: #b3a283; --line: #4a3d2c; --soft: #342a1f; color: #f6ecd9; --c: #f59e0b !important;
  background: radial-gradient(520px 520px at 50% 34%, rgba(255,214,140,.34), transparent 70%), linear-gradient(#241d16 0 72%, transparent 72%), repeating-linear-gradient(90deg, #4a3320 0 80px, #3d2a1a 80px 84px); }

/* ── CAPITAL RACE: red city against blue city — skylines, flags and map pins ── */
html .ar.g-capitals { --bg: #111827; --card: #1f2937; --ink: #f4f5fa; --body: #d3d6e2; --mute: #9aa0b4; --line: #374151; --soft: #273244; color: #f4f5fa; --pat-o: 0;
  background: radial-gradient(#fff 1px, transparent 1.3px) 0 0 / 80px 80px, linear-gradient(#0b1b3a, #111827); }
.g-capitals .cr-half { position: relative; overflow: hidden; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='70' viewBox='0 0 360 70'%3E%3Cpath fill='%23000' fill-opacity='.28' d='M0 70V44h18V26h20v18h14V12h8l6-12 6 12h8v32h16V30h22v14h12V20h26v24h14V36h18V8h6v28h16v8h18V22h24v22h14V34h20v36z'/%3E%3C/svg%3E") repeat-x bottom / auto 70px, linear-gradient(#e03131, #8f1717); border-color: #fecaca; color: #fff; } .g-capitals .cr-half.p1 { background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='70' viewBox='0 0 360 70'%3E%3Cpath fill='%23000' fill-opacity='.28' d='M0 70V44h18V26h20v18h14V12h8l6-12 6 12h8v32h16V30h22v14h12V20h26v24h14V36h18V8h6v28h16v8h18V22h24v22h14V34h20v36z'/%3E%3C/svg%3E") repeat-x bottom / auto 70px, linear-gradient(#2563eb, #1e3a8a); border-color: #bfdbfe; }
.g-capitals .cr-half::before { content: "📍"; position: absolute; right: 12px; top: 8px; font-size: 22px; animation: skFloat 2.4s ease-in-out infinite; }
.g-capitals .cr-q { font-size: 19px; } .g-capitals .cr-o button { background: rgba(255,255,255,.92); border: 0; color: #111827; box-shadow: 0 3px 0 rgba(0,0,0,.3); } .g-capitals .cr-sc { color: #fff; opacity: .9; }
.g-capitals .cr-mid { color: #111; background: repeating-conic-gradient(#fff 0 25%, #d1d5db 0 50%) 0 0 / 14px 14px; border-radius: 6px; padding: 3px 0; }
html:not(.dark) .ar.g-capitals { background: linear-gradient(#bfe3ff, #eef8ff); } html:not(.dark) .ar.g-capitals .cr-mid { box-shadow: 0 2px 0 rgba(0,0,0,.2); }

/* ── MONEY AND LANGUAGES: flags, banknotes with coins, and "hello" in every language; a bank vault at night ── */
html .ar.g-money { --bg: #e4efe4; --card: #f7fbf3; --ink: #12331f; --body: #23523a; --mute: #6d8f7a; --line: #bcd6c0; --soft: #eaf4e6; color: #12331f; --c: #166534 !important; --pat-o: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cg fill='none' stroke='%23166534' stroke-opacity='.13'%3E%3Ccircle cx='0' cy='30' r='28'/%3E%3Ccircle cx='60' cy='30' r='28'/%3E%3Ccircle cx='30' cy='0' r='28'/%3E%3Ccircle cx='30' cy='60' r='28'/%3E%3Ccircle cx='30' cy='30' r='12'/%3E%3C/g%3E%3C/svg%3E"), #e4efe4; }
.g-money .ar-card { background: #f7fbf3; border: 4px double #166534; outline: 1px solid #166534; outline-offset: -11px; border-radius: 6px; padding: 24px 20px; box-shadow: 0 20px 30px -20px #12331f; }
.g-money .mt button { min-height: 52px; border: 1.5px solid #166534; border-radius: 6px; background: #fff; color: #12331f; font-size: 15px; transition: transform .12s; } .g-money .mt button:active { transform: scale(.97); }
.g-money #mt-b button { background: repeating-linear-gradient(135deg, rgba(22,101,52,.05) 0 6px, transparent 6px 12px), linear-gradient(#f3faee, #e2f0d9); box-shadow: inset 0 0 0 3px #f7fbf3, inset 0 0 0 4px rgba(22,101,52,.45); }
.g-money .mt-g { background: #166534; animation: arBob 3s ease-in-out infinite; } .g-money #mt-b button:nth-child(even) .mt-g { animation-delay: .8s; } .g-money .mt-s { animation: mtCoin 5s ease-in-out infinite; } @keyframes mtCoin { 0%, 80%, 100% { transform: rotateY(0); } 90% { transform: rotateY(180deg); } }
html.dark .ar.g-money { --bg: #0c1016; --card: #151b24; --ink: #f4f5fa; --body: #d3d6e2; --mute: #9aa0b4; --line: #2b3644; --soft: #1c2430; color: #f4f5fa; --c: #eab308 !important;
  background: radial-gradient(circle at 50% 46%, transparent 0 150px, rgba(255,255,255,.06) 150px 156px, transparent 157px 210px, rgba(255,255,255,.05) 210px 216px, transparent 217px), repeating-linear-gradient(90deg, rgba(255,255,255,.03) 0 2px, transparent 2px 60px), linear-gradient(#1a2230, #0c1016); }
html.dark .g-money .ar-card { background: #151b24; border-color: #eab308; outline-color: #eab308; box-shadow: 0 0 46px -14px #eab308; } html.dark .g-money .mt button { background: #1c2430; color: #f4f5fa; border-color: #6b5a1e; } html.dark .g-money #mt-b button { background: linear-gradient(#232d3b, #1a222e); box-shadow: inset 0 0 0 3px #151b24, inset 0 0 0 4px rgba(234,179,8,.45); } html.dark .g-money .mt-g { background: #eab308; color: #1a1300; }

/* ── INVENTIONS QUIZ: an electric board — wires, a lamp that glows; a light workshop drawing by day ── */
html .ar.g-inventions { --bg: #eef5fb; --card: #fff; --ink: #0e2a3d; --body: #234a63; --mute: #6b8799; --line: #cfe0ec; --soft: #e9f4fb; color: #0e2a3d; --c: #0891b2 !important; --pat-o: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cg fill='none' stroke='%230891b2' stroke-opacity='.2' stroke-width='2.5'%3E%3Cpath d='M0 30h46l16 16h34l16-16h28M24 140v-34l18-18h36M112 0v40M70 140v-26l14-14h56M0 84h20'/%3E%3C/g%3E%3Cg fill='%23f59e0b' fill-opacity='.55'%3E%3Ccircle cx='46' cy='30' r='5'/%3E%3Ccircle cx='78' cy='88' r='5'/%3E%3Ccircle cx='112' cy='40' r='5'/%3E%3Ccircle cx='20' cy='84' r='5'/%3E%3Ccircle cx='84' cy='100' r='5'/%3E%3C/g%3E%3C/svg%3E"), linear-gradient(#cfe0ec 1px, transparent 1px) 0 0 / 100% 28px, linear-gradient(90deg, #cfe0ec 1px, transparent 1px) 0 0 / 28px 100%, #f3f9fd; }
.g-inventions .ar-card { position: relative; border: 2px solid #0891b2; border-radius: 16px; box-shadow: 0 0 0 5px rgba(8,145,178,.12), 0 22px 34px -20px rgba(14,42,61,.55); }
.g-inventions .ar-pic .qp { width: 104px; height: 104px; background: radial-gradient(circle at 50% 42%, #fff7c2, #fde047 55%, #f59e0b); box-shadow: 0 0 0 4px #fff, 0 0 34px 6px rgba(253,224,71,.75); animation: invGlow 2.4s ease-in-out infinite; } @keyframes invGlow { 50% { box-shadow: 0 0 0 4px #fff, 0 0 52px 16px rgba(253,224,71,.95); transform: translateY(-4px); } }
.g-inventions .ar-opt { position: relative; padding-left: 34px; text-align: left; background: #fff; border: 2px solid #b5d3e3; border-radius: 10px; color: #0e2a3d; box-shadow: 0 3px 0 #b5d3e3; }
.g-inventions .ar-opt::before { content: ""; position: absolute; left: 12px; top: calc(50% - 6px); width: 12px; height: 12px; border-radius: 50%; background: #f59e0b; box-shadow: 0 0 8px #f59e0b; animation: skTwinkle 1.6s infinite; } .g-inventions .ar-opt:nth-child(2)::before { animation-delay: .4s; } .g-inventions .ar-opt:nth-child(3)::before { animation-delay: .8s; } .g-inventions .ar-opt:nth-child(4)::before { animation-delay: 1.2s; }
.g-inventions .ar-opt.ok::before { background: #16a34a; box-shadow: 0 0 10px #16a34a; } .g-inventions .ar-opt.no::before { background: #dc2626; box-shadow: 0 0 10px #dc2626; }
html.dark .ar.g-inventions { --bg: #061217; --card: #0c2029; --ink: #f4f5fa; --body: #d3d6e2; --mute: #9aa0b4; --line: #17404d; --soft: #11303b; color: #f4f5fa; --c: #22d3ee !important;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140' viewBox='0 0 140 140'%3E%3Cg fill='none' stroke='%2322d3ee' stroke-opacity='.2' stroke-width='2.5'%3E%3Cpath d='M0 30h46l16 16h34l16-16h28M24 140v-34l18-18h36M112 0v40M70 140v-26l14-14h56M0 84h20'/%3E%3C/g%3E%3Cg fill='%23fbbf24' fill-opacity='.7'%3E%3Ccircle cx='46' cy='30' r='5'/%3E%3Ccircle cx='78' cy='88' r='5'/%3E%3Ccircle cx='112' cy='40' r='5'/%3E%3Ccircle cx='20' cy='84' r='5'/%3E%3Ccircle cx='84' cy='100' r='5'/%3E%3C/g%3E%3C/svg%3E"), radial-gradient(600px 420px at 50% 0, rgba(34,211,238,.18), transparent), #061217; }
html.dark .g-inventions .ar-card { background: rgba(12,32,41,.92); box-shadow: 0 0 0 4px rgba(34,211,238,.14), 0 0 40px -8px #22d3ee; } html.dark .g-inventions .ar-opt { background: #0c2029; border-color: #17404d; color: #e6fbff; box-shadow: 0 3px 0 #0a1a21; } html.dark .g-inventions .ar-btn { color: #06202a !important; }

/* ── BODY BUILDER: a poster in the doctor's room with a moving heart line; an X-ray light box at night ── */
html .ar.g-body { --bg: #eaf6f6; --card: #fff; --ink: #0f2e33; --body: #24525a; --mute: #6a9299; --line: #c5e3e5; --soft: #e6f6f7; color: #0f2e33; --c: #0f766e !important; --pat-o: 0; background: linear-gradient(#dff2f2, #f4fbfb); }
html .ar.g-body::after { height: 84px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='84' viewBox='0 0 300 84'%3E%3Cpath d='M0 54h70l10-10 10 10h22l8-40 14 68 10-28h32l10-10 10 10h104' fill='none' stroke='%23e11d48' stroke-opacity='.55' stroke-width='3' stroke-linejoin='round'/%3E%3C/svg%3E") repeat-x bottom / auto 100%; animation: skDrift 12s linear infinite; }
.g-body .ar-card { position: relative; border: 0; border-top: 36px solid #0f766e; border-radius: 14px; box-shadow: 0 22px 34px -20px #0f766e; }
.g-body .ar-card::before { content: "✚  THE HUMAN BODY"; position: absolute; top: -27px; left: 16px; color: #fff; font: 800 13px/1 Inter, system-ui, sans-serif; letter-spacing: .18em; }
.g-body .ar-big { color: #0f766e; letter-spacing: .14em; }
html.dark .ar.g-body { --bg: #03080f; --card: #081424; --ink: #d7ecff; --body: #b5d4f0; --mute: #7ea3c7; --line: #16304f; --soft: #0c1d33; color: #d7ecff; --c: #38bdf8 !important; background: radial-gradient(520px 560px at 50% 58%, rgba(56,189,248,.26), transparent 70%), #03080f; }
html.dark .ar.g-body::after { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='84' viewBox='0 0 300 84'%3E%3Cpath d='M0 54h70l10-10 10 10h22l8-40 14 68 10-28h32l10-10 10 10h104' fill='none' stroke='%2338bdf8' stroke-opacity='.55' stroke-width='3' stroke-linejoin='round'/%3E%3C/svg%3E"); }
html.dark .g-body .ar-card { border-top-color: #0b2a4a; background: #061120; box-shadow: 0 0 0 2px #38bdf8, 0 0 46px -8px #38bdf8; } html.dark .g-body .bd-body { fill: #0c2a4a; stroke: #7dd3fc; } html.dark .g-body .bd [data-o] { filter: saturate(.75) brightness(1.1) drop-shadow(0 0 5px rgba(125,211,252,.7)); } html.dark .g-body .ar-big { color: #7dd3fc; }

/* ── ANIMAL TALK: a wooden sign that hangs on ropes in the savanna — sun and clouds; the jungle at night with fireflies ── */
html .ar.g-animals { --bg: #eaf4d3; --card: #fff8e6; --ink: #2d2208; --body: #4a3a14; --mute: #6f5f38; --line: #d8c79a; --soft: #f3eccb; color: #2d2208; --c: #4d7c0f !important; --pat-o: 0;
  background: radial-gradient(circle at 84% 15%, #fff7c2 0 34px, #fde047 35px 46px, rgba(253,224,71,.3) 47px 80px, transparent 81px), radial-gradient(ellipse, rgba(255,255,255,.95) 0 40%, transparent 42%) 0 90px / 320px 60px repeat-x, linear-gradient(#aee0fb 0, #e4f3d6 52%, #d9ecb0 100%); animation: skDrift 70s linear infinite; }
html .ar.g-animals::after { height: 130px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='520' height='130' viewBox='0 0 520 130'%3E%3Cg fill='%234d7c0f' fill-opacity='.5'%3E%3Cpath d='M0 130v-22c40-10 90-12 140-6 60-12 130-10 190 0 70-10 130-8 190 4v24z'/%3E%3Cpath d='M96 104V58h6v46zM60 62c8-20 70-24 84-2-20-8-62-8-84 2zM402 108V70h5v38zM374 74c8-16 54-18 66 0-18-6-48-6-66 0z'/%3E%3C/g%3E%3C/svg%3E") repeat-x bottom / auto 100%; }
.g-animals .ar-card { --card: #cf9a58; --ink: #2d1a05; --body: #40270b; --mute: #5e4320; --line: #a87435; --soft: #e6bf85; background: #cf9a58; color: #2d1a05; background: repeating-linear-gradient(90deg, rgba(90,50,10,.07) 0 2px, transparent 2px 9px), repeating-linear-gradient(#d9a565 0 44px, #b98445 44px 46px), #cf9a58; position: relative; margin-top: 44px; border: 4px solid #7a4f22; border-radius: 12px; box-shadow: inset 0 2px 0 rgba(255,255,255,.3), 0 8px 0 #5e3b17, 0 26px 34px -18px rgba(45,26,5,.7); transform-origin: 50% -44px; animation: skSwing 5s ease-in-out infinite; }
.g-animals .ar-card::before, .g-animals .ar-card::after { content: ""; position: absolute; top: -48px; width: 5px; height: 48px; background: repeating-linear-gradient(#d6c08a 0 4px, #a8905a 4px 8px); border-radius: 2px; } .g-animals .ar-card::before { left: 16%; } .g-animals .ar-card::after { right: 16%; }
.g-animals .ar-pic .qp { background: #fff8e6; box-shadow: 0 0 0 4px #7a4f22, 0 6px 10px -4px rgba(0,0,0,.5); }
.g-animals .ar-opt { background: #fff8e6; border: 2px solid #7a4f22; border-radius: 99px 14px 99px 14px; color: #2d1a05; } .g-animals .ar-opt::before { content: "🐾 "; opacity: .55; }
html.dark .ar.g-animals { --bg: #06200f; --card: #0c3319; --ink: #f4f5fa; --body: #d3d6e2; --mute: #9aa0b4; --line: #1c5a30; --soft: #124524; color: #f4f5fa; --c: #a3e635 !important;
  background: radial-gradient(circle, #fde047 0 2px, rgba(253,224,71,.35) 3px 6px, transparent 7px) 0 0 / 190px 170px, radial-gradient(circle, #d9f99d 0 2px, transparent 3px) 90px 60px / 230px 210px, url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'%3E%3Cg fill='%2322c55e' fill-opacity='.13'%3E%3Cpath d='M20 150c0-60 30-100 70-120-10 50-30 90-70 120zM150 60c-40 0-70 20-90 50 40 0 70-15 90-50z'/%3E%3C/g%3E%3Cg fill='%23fde047' fill-opacity='.6'%3E%3Cellipse cx='118' cy='128' rx='5' ry='3'/%3E%3Cellipse cx='136' cy='128' rx='5' ry='3'/%3E%3C/g%3E%3C/svg%3E"), radial-gradient(700px 500px at 50% 0, #14532d, transparent), #06200f; animation: anFly 9s ease-in-out infinite alternate; } @keyframes anFly { to { background-position: 40px -30px, 60px 90px, 0 0, 0 0, 0 0; } }
html.dark .ar.g-animals::after { opacity: .35; }
html.dark .g-animals .ar-card { --card: #4a2f17; --ink: #fff3e0; --body: #f1dcc0; --mute: #d2b38d; --line: #7a4f22; --soft: #5d3a1d; background: #4a2f17; color: #fff3e0; background: repeating-linear-gradient(90deg, rgba(0,0,0,.12) 0 2px, transparent 2px 9px), repeating-linear-gradient(#55361b 0 44px, #3f2812 44px 46px); border-color: #2a1808; box-shadow: 0 8px 0 #1c1005, 0 0 40px -10px #a3e635; }
html.dark .g-animals .ar-opt { background: #124524; border-color: #a3e635; color: #f0fdf4; } html.dark .g-animals .ar-btn { color: #06200f !important; }

/* ── SCIENCE: TRUE OR FALSE — a real blackboard with a wooden frame, chalk and drawings; glowing atoms at night ── */
html .ar.g-science { --bg: #e9e2d3; --card: #fff; --ink: #2b2118; --body: #4a3b2c; --mute: #857560; --line: #d8ccb6; --soft: #f6efe2; color: #2b2118; --c: #fde047 !important; --pat-o: 0;
  background: linear-gradient(#efe9db 0 78%, #c9b089 78% 80%, #d8c39c 80%); }
.g-science .ar-card { --card: #27493d; --ink: #f4fff9; --body: #d6efe3; --mute: #a9cdbd; --line: #3b6455; --soft: #2d5346; background: #27493d; color: #f4fff9; position: relative; border: 12px solid #8b5a2b; border-radius: 6px; padding: 26px 20px 30px; margin-bottom: 26px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='200' viewBox='0 0 260 200'%3E%3Cg fill='none' stroke='%23fff' stroke-opacity='.2' stroke-width='2.2' stroke-linecap='round'%3E%3Cellipse cx='52' cy='52' rx='36' ry='13'/%3E%3Cellipse cx='52' cy='52' rx='36' ry='13' transform='rotate(60 52 52)'/%3E%3Cellipse cx='52' cy='52' rx='36' ry='13' transform='rotate(120 52 52)'/%3E%3Cpath d='M196 18v30l-22 38a8 8 0 0 0 7 12h46a8 8 0 0 0 7-12l-22-38V18M188 18h32M182 76h44'/%3E%3Cpath d='M150 150h70M176 136l-14 14 14 14M40 150c10-18 20-18 30 0s20 18 30 0'/%3E%3C/g%3E%3C/svg%3E") 50% 50% / 260px 200px, radial-gradient(ellipse at 30% 30%, rgba(255,255,255,.08), transparent 60%), linear-gradient(#2c5446, #1f3d33); box-shadow: inset 0 0 0 2px #5e3b17, inset 0 0 30px rgba(0,0,0,.45), 0 4px 0 #5e3b17, 0 26px 34px -16px rgba(0,0,0,.55); }
.g-science .ar-card::after { content: ""; position: absolute; left: -12px; right: -12px; bottom: -30px; height: 16px; border-radius: 0 0 5px 5px; background: linear-gradient(90deg, transparent 8%, #fff 8% 15%, transparent 15% 19%, #fca5a5 19% 25%, transparent 25% 29%, #93c5fd 29% 34%, transparent 34% 76%, #cbd5e1 76% 90%, transparent 90%) 0 2px / 100% 7px no-repeat, linear-gradient(#a8733f, #7a4f22); box-shadow: 0 5px 8px -3px rgba(0,0,0,.5); }
.g-science .ar-pic .qp { background: none; box-shadow: none; outline: 3px dashed rgba(255,255,255,.7); outline-offset: -6px; } .g-science .ar-pic .qp.ph { outline-offset: 5px; }
.g-science .ar-qt { font-family: "Segoe Print", "Bradley Hand", "Chalkboard SE", "Comic Sans MS", "Coming Soon", cursive; font-size: 23px; color: #fff; text-shadow: 0 0 1px rgba(255,255,255,.6); }
.g-science .ar-opt { font-family: "Segoe Print", "Bradley Hand", "Chalkboard SE", "Comic Sans MS", "Coming Soon", cursive; font-size: 22px; background: transparent; border: 3px solid #fff; border-radius: 10px 14px 9px 15px; color: #fff; } .g-science .ar-opt:nth-child(1) { color: #86efac; border-color: #86efac; } .g-science .ar-opt:nth-child(2) { color: #fca5a5; border-color: #fca5a5; }
.g-science .ar-opt:nth-child(1)::before { content: "✓ "; } .g-science .ar-opt:nth-child(2)::before { content: "✗ "; } .g-science .ar-btn { color: #1a1300 !important; } .g-science .ar-why { font-family: "Segoe Print", "Bradley Hand", "Chalkboard SE", "Comic Sans MS", "Coming Soon", cursive; }
html.dark .ar.g-science { --bg: #120a2a; --card: #1c1140; --ink: #f4f5fa; --body: #d3d6e2; --mute: #9aa0b4; --line: #372470; --soft: #281955; color: #f4f5fa; --c: #a78bfa !important; background: radial-gradient(600px 420px at 50% 0, #3b2a8a, transparent), #120a2a; }
html.dark .ar.g-science::before { opacity: 1; inset: auto; left: calc(50% - 170px); top: 90px; width: 340px; height: 340px; transform: none; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%23a78bfa' stroke-opacity='.4' stroke-width='1.6'%3E%3Cellipse cx='100' cy='100' rx='92' ry='30'/%3E%3Cellipse cx='100' cy='100' rx='92' ry='30' transform='rotate(60 100 100)'/%3E%3Cellipse cx='100' cy='100' rx='92' ry='30' transform='rotate(120 100 100)'/%3E%3C/g%3E%3Ccircle cx='100' cy='100' r='7' fill='%23c4b5fd'/%3E%3Ccircle cx='192' cy='100' r='5' fill='%2322d3ee'/%3E%3Ccircle cx='54' cy='20' r='5' fill='%23f472b6'/%3E%3Ccircle cx='54' cy='180' r='5' fill='%23a3e635'/%3E%3C/svg%3E") center / contain no-repeat; animation: skSpin 26s linear infinite; }
html.dark .g-science .ar-card { --card: #1c1140; --ink: #f4f5fa; --body: #d3d6e2; --mute: #9aa0b4; --line: #372470; --soft: #281955; background: #1c1140; color: #f4f5fa; border: 2px solid #a78bfa; border-radius: 16px; margin-bottom: 0; background: rgba(28,17,64,.9); box-shadow: 0 0 0 4px rgba(167,139,250,.16), 0 0 44px -8px #a78bfa; } html.dark .g-science .ar-card::after { display: none; } html.dark .g-science .ar-btn { color: #1a1033 !important; }

/* ── MATHS SPRINT: a real calculator on a desk with squared paper; a lit screen at night ── */
html .ar.g-maths { --bg: #eef1f6; --card: #fff; --ink: #111827; --body: #374151; --mute: #6b7280; --line: #cdd5e3; --soft: #e5e9ee; color: #111827; --c: #f97316 !important; --pat-o: 0;
  background: linear-gradient(#cdd8ee 1px, transparent 1px) 0 0 / 100% 24px, linear-gradient(90deg, #cdd8ee 1px, transparent 1px) 0 0 / 24px 100%, linear-gradient(90deg, transparent 52px, #fca5a5 52px 54px, transparent 54px), #fbfcff; }
html.dark .ar.g-maths { --bg: #0d0f14; --card: #171a21; --ink: #f4f5fa; --body: #d3d6e2; --mute: #9aa0b4; --line: #2c313c; --soft: #1f232c; color: #f4f5fa; --c: #f97316 !important;
  background: radial-gradient(520px 420px at 50% 40%, rgba(110,231,183,.14), transparent 70%), repeating-linear-gradient(90deg, rgba(255,255,255,.025) 0 2px, transparent 2px 70px), #0d0f14; }
html.dark .g-maths .calc { background: linear-gradient(160deg, #2a2e37, #15171c 60%); box-shadow: inset 0 2px 0 rgba(255,255,255,.1), inset 0 -6px 0 rgba(0,0,0,.5), 0 0 60px -14px #6ee7b7; }
html.dark .g-maths .calc-lcd { background: linear-gradient(#0f3a30, #0a2a23); box-shadow: inset 0 4px 10px rgba(0,0,0,.7), 0 0 22px -4px #34d399; } html.dark .g-maths .calc .ms-q, html.dark .ar.g-maths .calc-in { color: #6ee7b7; text-shadow: 0 0 10px rgba(110,231,183,.8); caret-color: #6ee7b7; } html.dark .g-maths .calc-in::placeholder { color: rgba(110,231,183,.3); }

/* ── WORLD RECORDS: a winners’ podium, a gold cup and falling paper; an arena with moving lamps at night ── */
html .ar.g-records { --bg: #e3f3ff; --card: #fff; --ink: #3a2c05; --body: #5a4611; --mute: #8a7430; --line: #ecd98e; --soft: #fff7d6; color: #3a2c05; --c: #d4a017 !important; --pat-o: 0;
  background: radial-gradient(circle, #f87171 0 4px, transparent 5px) 0 0 / 90px 110px, radial-gradient(circle, #facc15 0 4px, transparent 5px) 30px 40px / 110px 90px, radial-gradient(circle, #34d399 0 3px, transparent 4px) 60px 10px / 70px 100px, radial-gradient(circle, #60a5fa 0 3px, transparent 4px) 10px 70px / 130px 120px, linear-gradient(#9fd4ff, #eef8ff); animation: wrFall 14s linear infinite; } @keyframes wrFall { to { background-position: 0 440px, 30px 400px, 60px 510px, 10px 550px, 0 0; } }
html .ar.g-records::after { height: 150px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='420' height='150' viewBox='0 0 420 150'%3E%3Cg%3E%3Crect x='150' y='40' width='120' height='110' fill='%23f2c230'/%3E%3Crect x='30' y='78' width='120' height='72' fill='%23c9ced6'/%3E%3Crect x='270' y='100' width='120' height='50' fill='%23d08a4a'/%3E%3Cg fill='%23fff' fill-opacity='.9' font-family='Arial' font-weight='900' font-size='44' text-anchor='middle'%3E%3Ctext x='210' y='104'%3E1%3C/text%3E%3Ctext x='90' y='130'%3E2%3C/text%3E%3Ctext x='330' y='140' font-size='34'%3E3%3C/text%3E%3C/g%3E%3Cpath d='M0 150h420' stroke='%2300000033' stroke-width='4'/%3E%3C/g%3E%3C/svg%3E") no-repeat 50% 100% / auto 100%; }
.g-records .ar-card { position: relative; margin-top: 40px; border: 4px solid #d4a017; border-radius: 16px; background: linear-gradient(#fffdf2, #fff6d2); box-shadow: 0 0 0 3px #fff, 0 0 0 5px #b8860b, 0 24px 36px -18px rgba(90,70,17,.6); }
.g-records .ar-card::before { content: "🏆"; position: absolute; left: calc(50% - 30px); top: -44px; width: 60px; height: 60px; display: grid; place-items: center; font-size: 40px; filter: drop-shadow(0 4px 4px rgba(0,0,0,.3)); animation: skFloat 3s ease-in-out infinite; }
.g-records .ar-card::after { content: "WORLD RECORD"; position: absolute; right: 14px; top: 10px; padding: 3px 8px; border: 2px solid #b91c1c; border-radius: 4px; color: #b91c1c; font: 900 10px/1 Inter, system-ui, sans-serif; letter-spacing: .14em; transform: rotate(6deg); opacity: .8; }
.g-records .ar-pic .qp { background: radial-gradient(circle at 35% 30%, #fff7c2, #f2c230 60%, #b8860b); box-shadow: inset 0 0 0 4px rgba(255,255,255,.5), 0 0 0 3px #b8860b; }
.g-records .ar-qt { font-family: Georgia, "Noto Serif", "Times New Roman", serif; font-size: 22px; padding-top: 10px; }
.g-records .ar-opts { counter-reset: wr; } .g-records .ar-opt { counter-increment: wr; display: flex; align-items: center; gap: 10px; text-align: left; background: #fff; border: 2px solid #d4a017; border-radius: 99px; color: #3a2c05; } .g-records .ar-opt::before { content: counter(wr); flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff3b8, #e6b422 62%, #b8860b); color: #4a3200; font-weight: 900; font-size: 13px; }
.g-records .ar-btn { color: #3a2c05 !important; }
html.dark .ar.g-records { --bg: #070b18; --card: #111a33; --ink: #f4f5fa; --body: #d3d6e2; --mute: #9aa0b4; --line: #27365f; --soft: #18244a; color: #f4f5fa; --c: #eab308 !important;
  background: conic-gradient(from 150deg at 16% -6%, transparent 0 10deg, rgba(255,255,255,.12) 10deg 26deg, transparent 26deg), conic-gradient(from 184deg at 84% -6%, transparent 0 10deg, rgba(255,255,255,.12) 10deg 26deg, transparent 26deg), radial-gradient(#fde68a 1px, transparent 1.4px) 0 0 / 60px 60px, #070b18; animation: wrLamp 6s ease-in-out infinite alternate; } @keyframes wrLamp { to { background-position: 60px 0, -60px 0, 0 0, 0 0; } }
html.dark .g-records .ar-card { background: linear-gradient(#18244a, #111a33); box-shadow: 0 0 0 3px #070b18, 0 0 0 5px #eab308, 0 0 50px -10px #eab308; } html.dark .g-records .ar-opt { background: #18244a; color: #fef9e7; } html.dark .g-records .ar-card::after { color: #fca5a5; border-color: #fca5a5; }

/* ── UZBEKISTAN AND CENTRAL ASIA: by day a caravan in the desert at sunset; at night the Registan under the stars ── */
html .ar.g-uzbek { --bg: #ffe1b8; --card: #fffaf0; --ink: #3a1d0a; --body: #5c3317; --mute: #8a6a50; --line: #f1cfa0; --soft: #fff1d9; color: #3a1d0a; --c: #c2410c !important; --pat-o: 0;
  background: radial-gradient(circle at 76% 34%, #fff3c4 0 38px, #fde68a 39px 54px, rgba(253,230,138,.35) 55px 100px, transparent 101px), linear-gradient(#f97316 0, #fdba74 38%, #fde68a 70%, #fcd9a0 100%); }
html .ar.g-uzbek::after { height: 110px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='520' height='110' viewBox='0 0 520 110'%3E%3Cpath d='M0 110V70c70-34 150-36 230-6 90-40 190-40 290 4v42z' fill='%23b45309' fill-opacity='.6'/%3E%3Cpath d='M0 110V92c110-30 220-26 330-2 70-16 130-14 190 2v18z' fill='%237c2d12' fill-opacity='.7'/%3E%3C/svg%3E") repeat-x bottom / auto 100%; }
html .ar.g-uzbek::before { content: "🐪  🐪    🐫  🐪"; opacity: 1; inset: auto; left: 0; bottom: 62px; width: max-content; height: auto; transform: none; background: none; font-size: 30px; white-space: pre; filter: brightness(.25) sepia(1) hue-rotate(-20deg); animation: uzWalk 46s linear infinite; } @keyframes uzWalk { from { transform: translateX(100vw) scaleX(-1); } to { transform: translateX(-340px) scaleX(-1); } }
.g-uzbek .ar-card { border: 0; border-top: 10px solid #c2410c; border-image: repeating-linear-gradient(90deg, #c2410c 0 14px, #1c2550 14px 20px, #f4c95d 20px 34px, #1c2550 34px 40px) 10 / 10px 0 0 0; border-radius: 0 0 20px 20px; background: rgba(255,250,240,.94); box-shadow: 0 26px 36px -18px rgba(124,45,18,.7); }
.g-uzbek .ar-pic .qp { background: #fff1d9; box-shadow: 0 0 0 3px #c2410c; } .g-uzbek .ar-qt { font-family: Georgia, "Noto Serif", "Times New Roman", serif; font-size: 21px; }
.g-uzbek .ar-opt { border-radius: 18px 18px 6px 6px; background: #fff; border: 2px solid #c2410c; color: #3a1d0a; }
html.dark .ar.g-uzbek { --bg: #0a1230; --card: #111c45; --ink: #f4f5fa; --body: #d3d6e2; --mute: #9aa0b4; --line: #24336b; --soft: #18265a; color: #f4f5fa; --c: #d4a017 !important;
  background: radial-gradient(circle at 82% 14%, #fdf6d8 0 22px, transparent 23px), radial-gradient(circle at 85% 12.5%, #0a1230 0 21px, transparent 22px), radial-gradient(#fff 1px, transparent 1.4px) 0 0 / 80px 80px, radial-gradient(#fde68a 1px, transparent 1.3px) 34px 50px / 110px 110px, radial-gradient(700px 480px at 50% 110%, #1e3a8a, transparent 70%), #0a1230; }
html.dark .ar.g-uzbek::after { height: 210px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='720' height='210' viewBox='0 0 720 210'%3E%3Cg fill='%232a3a86'%3E%3Crect x='0' y='196' width='720' height='14'/%3E%3Cpath d='M18 200V80h10V54a5 5 0 0 1 10 0v26h10v120zM204 200V80h10V54a5 5 0 0 1 10 0v26h10v120zM486 200V80h10V54a5 5 0 0 1 10 0v26h10v120zM672 200V80h10V54a5 5 0 0 1 10 0v26h10v120z'/%3E%3Cpath d='M52 200V70h148v130zM520 200V70h148v130zM268 200V58h184v142z'/%3E%3Cpath d='M40 200v-96h172v96zM508 200v-96h172v96z' fill-opacity='.85'/%3E%3C/g%3E%3Cg fill='%231fb6c9'%3E%3Cpath d='M130 70c-22-4-30-26-18-42 6-8 12-10 18-20 6 10 12 12 18 20 12 16 4 38-18 42zM590 70c-22-4-30-26-18-42 6-8 12-10 18-20 6 10 12 12 18 20 12 16 4 38-18 42zM238 58c-14-3-20-18-12-30 4-6 8-8 12-14 4 6 8 8 12 14 8 12 2 27-12 30zM482 58c-14-3-20-18-12-30 4-6 8-8 12-14 4 6 8 8 12 14 8 12 2 27-12 30z' fill-opacity='.9'/%3E%3Crect x='24' y='84' width='18' height='6'/%3E%3Crect x='210' y='84' width='18' height='6'/%3E%3Crect x='492' y='84' width='18' height='6'/%3E%3Crect x='678' y='84' width='18' height='6'/%3E%3C/g%3E%3Cg fill='%23f4c95d'%3E%3Cpath d='M96 200v-74a30 30 0 0 1 60 0v74zM564 200v-74a30 30 0 0 1 60 0v74zM318 200v-88a42 42 0 0 1 84 0v88z' fill-opacity='.9'/%3E%3Cpath d='M60 84h132v8H60zM528 84h132v8H528zM278 70h164v8H278z' fill='%231fb6c9'/%3E%3C/g%3E%3Cg fill='%2316224f'%3E%3Cpath d='M108 200v-66a18 18 0 0 1 36 0v66zM576 200v-66a18 18 0 0 1 36 0v66zM334 200v-78a26 26 0 0 1 52 0v78z'/%3E%3C/g%3E%3Cg fill='%23f4c95d' fill-opacity='.8'%3E%3Crect x='62' y='120' width='12' height='18' rx='6'/%3E%3Crect x='62' y='160' width='12' height='18' rx='6'/%3E%3Crect x='178' y='120' width='12' height='18' rx='6'/%3E%3Crect x='178' y='160' width='12' height='18' rx='6'/%3E%3Crect x='530' y='120' width='12' height='18' rx='6'/%3E%3Crect x='530' y='160' width='12' height='18' rx='6'/%3E%3Crect x='646' y='120' width='12' height='18' rx='6'/%3E%3Crect x='646' y='160' width='12' height='18' rx='6'/%3E%3Crect x='282' y='112' width='12' height='20' rx='6'/%3E%3Crect x='282' y='156' width='12' height='20' rx='6'/%3E%3Crect x='426' y='112' width='12' height='20' rx='6'/%3E%3Crect x='426' y='156' width='12' height='20' rx='6'/%3E%3C/g%3E%3C/svg%3E") no-repeat 50% 100% / min(100%, 760px) auto; } html.dark .ar.g-uzbek::before { content: ""; inset: 0; width: auto; filter: none; transform: none; background: radial-gradient(#fff 1.4px, transparent 2px) 20px 30px / 170px 150px; animation: skTwinkle 3s ease-in-out infinite; }
html.dark .g-uzbek .ar-card { border: 3px solid #d4a017; border-image: none; outline: 1px solid #d4a017; outline-offset: -9px; border-radius: 6px; padding: 24px 22px; background: rgba(17,28,69,.94); box-shadow: 0 0 50px -12px #d4a017; }
html.dark .g-uzbek .ar-opt { background: #18265a; border-color: #d4a017; color: #fef9e7; } html.dark .g-uzbek .ar-btn { color: #1a1300 !important; } html.dark .g-uzbek .ar-pic .qp { background: #18265a; box-shadow: 0 0 0 3px #d4a017; }

/* ── SPORTS QUIZ: a swimming pool — moving water, lane ropes, a starting block; lamps under the water at night ── */
html .ar.g-sports { --bg: #bfe9fb; --card: #fff; --ink: #063a5c; --body: #0b4f7a; --mute: #5b8fae; --line: #bfe3f3; --soft: #eaf8ff; color: #063a5c; --c: #0284c7 !important; --pat-o: 0;
  background: radial-gradient(ellipse at 20% 30%, rgba(255,255,255,.35) 0 8%, transparent 9%) 0 0 / 240px 120px, radial-gradient(ellipse at 70% 60%, rgba(255,255,255,.25) 0 10%, transparent 11%) 60px 40px / 300px 150px, radial-gradient(ellipse at 40% 80%, rgba(255,255,255,.2) 0 7%, transparent 8%) 120px 10px / 200px 130px, repeating-linear-gradient(90deg, #ef4444 0 16px, #fff 16px 32px) 0 24% / 100% 7px no-repeat, repeating-linear-gradient(90deg, #ef4444 0 16px, #fff 16px 32px) 0 82% / 100% 7px no-repeat, repeating-linear-gradient(90deg, rgba(255,255,255,.1) 0 3px, transparent 3px 120px), linear-gradient(#38bdf8, #0ea5e9 60%, #0284c7); animation: spWater 9s ease-in-out infinite alternate; }
@keyframes spWater { to { background-position: 70px 26px, 0 70px, 190px -20px, 16px 24%, -16px 82%, 0 0, 0 0; } }
.g-sports .ar-card { position: relative; border: 0; border-radius: 22px; border-top: 34px solid #0b4f7a; box-shadow: 0 0 0 4px rgba(255,255,255,.7), 0 26px 40px -18px rgba(6,58,92,.8); }
.g-sports .ar-card::before { content: "LANE  4"; position: absolute; top: -26px; left: 18px; color: #fff; font: 900 13px/1 Inter, system-ui, sans-serif; letter-spacing: .2em; } .g-sports .ar-card::after { content: "🏊"; position: absolute; top: -31px; right: 14px; font-size: 22px; animation: spSwim 6s ease-in-out infinite alternate; } @keyframes spSwim { from { right: 14px; } to { right: 62%; } }
.g-sports .ar-pic .qp { background: #eaf8ff; box-shadow: 0 0 0 4px #0284c7; }
.g-sports .ar-opts { counter-reset: sp; } .g-sports .ar-opt { counter-increment: sp; display: flex; align-items: center; gap: 10px; text-align: left; border-radius: 99px; background: #fff; border: 2px solid #0284c7; color: #063a5c; }
.g-sports .ar-opt::before { content: counter(sp); flex: none; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 6px; background: #0b4f7a; color: #fff; font-weight: 900; font-size: 13px; }
html.dark .ar.g-sports { --bg: #031626; --card: #072a45; --ink: #f4f5fa; --body: #d3d6e2; --mute: #9aa0b4; --line: #124a73; --soft: #0a3557; color: #f4f5fa; --c: #38bdf8 !important;
  background: radial-gradient(ellipse at 20% 30%, rgba(125,211,252,.35) 0 8%, transparent 9%) 0 0 / 240px 120px, radial-gradient(ellipse at 70% 60%, rgba(125,211,252,.25) 0 10%, transparent 11%) 60px 40px / 300px 150px, radial-gradient(ellipse at 40% 80%, rgba(125,211,252,.2) 0 7%, transparent 8%) 120px 10px / 200px 130px, repeating-linear-gradient(90deg, #b91c1c 0 16px, #cbd5e1 16px 32px) 0 24% / 100% 7px no-repeat, repeating-linear-gradient(90deg, #b91c1c 0 16px, #cbd5e1 16px 32px) 0 82% / 100% 7px no-repeat, radial-gradient(circle, rgba(125,211,252,.55) 0 10px, rgba(56,189,248,.18) 11px 60px, transparent 61px) 0 100% / 260px 150px repeat-x, linear-gradient(#053456, #031626); }
html.dark .g-sports .ar-card { border-top-color: #031626; background: #072a45; box-shadow: 0 0 0 3px #38bdf8, 0 0 46px -8px #38bdf8; } html.dark .g-sports .ar-opt { background: #0a3557; color: #e0f6ff; border-color: #38bdf8; } html.dark .g-sports .ar-opt::before { background: #38bdf8; color: #031626; } html.dark .g-sports .ar-btn { color: #031626 !important; }

/* ── SPACE MISSION: the cockpit of a spaceship — flying stars, a planet with a ring, a board with dials and lamps ── */
html .ar.g-space { --bg: #0a0822; --card: #16133a; --ink: #f4f5fa; --body: #d3d6e2; --mute: #9aa0b4; --line: #2f2a66; --soft: #201c4f; color: #f4f5fa; --c: #22d3ee !important; --pat-o: 0;
  background: radial-gradient(#fff 1px, transparent 1.5px) 0 0 / 90px 90px, radial-gradient(#fff 1.4px, transparent 2px) 40px 60px / 150px 130px, radial-gradient(#c4b5fd 1px, transparent 1.4px) 70px 20px / 110px 170px, radial-gradient(640px 420px at 82% 8%, rgba(168,85,247,.5), transparent), radial-gradient(520px 420px at 8% 80%, rgba(34,211,238,.3), transparent), linear-gradient(#141046, #0a0822); animation: spcStars 60s linear infinite; }
@keyframes spcStars { to { background-position: -360px 180px, -600px 260px, -440px 340px, 0 0, 0 0, 0 0; } }
html .ar.g-space::after { height: 120px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='700' height='120' viewBox='0 0 700 120'%3E%3Cpath d='M0 120V58c120-34 240-44 350-44s230 10 350 44v62z' fill='%23171a26'/%3E%3Cpath d='M0 62c120-34 240-44 350-44s230 10 350 44' fill='none' stroke='%2322d3ee' stroke-opacity='.7' stroke-width='2'/%3E%3Cg fill='none' stroke='%233b4263' stroke-width='3'%3E%3Ccircle cx='130' cy='92' r='20'/%3E%3Ccircle cx='350' cy='78' r='26'/%3E%3Ccircle cx='570' cy='92' r='20'/%3E%3C/g%3E%3Cg stroke='%2322d3ee' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M130 92l10-12M350 78l-14-12M570 92l12 6'/%3E%3C/g%3E%3Cg%3E%3Crect x='196' y='82' width='14' height='8' rx='2' fill='%2322c55e'/%3E%3Crect x='216' y='82' width='14' height='8' rx='2' fill='%23f59e0b'/%3E%3Crect x='236' y='82' width='14' height='8' rx='2' fill='%23ef4444'/%3E%3Crect x='450' y='82' width='14' height='8' rx='2' fill='%2322d3ee'/%3E%3Crect x='470' y='82' width='14' height='8' rx='2' fill='%2322c55e'/%3E%3Crect x='490' y='82' width='14' height='8' rx='2' fill='%23a78bfa'/%3E%3C/g%3E%3C/svg%3E") no-repeat 50% 100% / 100% 100%; animation: skTwinkle 2.2s steps(2) infinite; }
html .ar.g-space::before { content: "🪐"; opacity: 1; inset: auto; right: 7%; top: 96px; width: auto; height: auto; transform: none; background: none; font-size: 64px; filter: drop-shadow(0 0 18px rgba(168,85,247,.8)); animation: skFloat 7s ease-in-out infinite; }
.g-space .ar-card { position: relative; background: rgba(18,16,43,.78); border: 1px solid #22d3ee; border-radius: 4px 22px 4px 22px; box-shadow: 0 0 28px -8px #22d3ee, inset 0 0 0 1px rgba(34,211,238,.2); overflow: hidden; }
.g-space .ar-card::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 40px; background: linear-gradient(rgba(34,211,238,.16), transparent); animation: spcScan 4s linear infinite; pointer-events: none; } @keyframes spcScan { from { transform: translateY(-40px); } to { transform: translateY(420px); } }
.g-space .ar-pic .qp { background: rgba(34,211,238,.1); box-shadow: 0 0 0 2px #22d3ee, 0 0 22px -4px #22d3ee; }
.g-space .ar-opt { background: rgba(34,211,238,.08); border: 1px solid #22d3ee; border-radius: 2px 12px 2px 12px; color: #e0fbff; font-family: ui-monospace, "SF Mono", "Cascadia Mono", "Roboto Mono", "Droid Sans Mono", "Courier New", monospace; } .g-space .ar-opt::before { content: "▸ "; color: #22d3ee; } .g-space .ar-btn { color: #06202a !important; }
.g-space .sp { background: rgba(7,6,22,.8); border: 1px solid #2b2757; }
html.dark .ar.g-space { --bg: #030310; --card: #0c0b22; --ink: #f4f5fa; --body: #d3d6e2; --mute: #9aa0b4; --line: #232050; --soft: #15133a; color: #f4f5fa; --c: #22d3ee !important;
  background: radial-gradient(#fff 1px, transparent 1.5px) 0 0 / 90px 90px, radial-gradient(#fff 1.4px, transparent 2px) 40px 60px / 150px 130px, radial-gradient(#c4b5fd 1px, transparent 1.4px) 70px 20px / 110px 170px, radial-gradient(640px 420px at 82% 8%, rgba(168,85,247,.28), transparent), #030310; }

/* ── QUIZ BOARD: a TV quiz studio — blue board, gold numbers, spotlights ── */
html .ar.g-jeopardy { --bg: #060b2e; --card: #0f1a5c; --ink: #fff; --body: #dbe4ff; --mute: #a9b8ee; --line: #24348f; --soft: #16236f; color: #fff; --pat-o: 0;
  background: conic-gradient(from 150deg at 18% -8%, transparent 0 12deg, rgba(255,255,255,.08) 12deg 26deg, transparent 26deg), conic-gradient(from 184deg at 82% -8%, transparent 0 12deg, rgba(255,255,255,.08) 12deg 26deg, transparent 26deg), radial-gradient(900px 520px at 50% 0, #1b2c98, transparent), #060b2e; }
.g-jeopardy .jb-h { background: #0a1147; color: #fde047; border: 2px solid #fde047; text-transform: uppercase; font-family: "Roboto Condensed", "Arial Narrow", "Avenir Next Condensed", "sans-serif-condensed", Impact, sans-serif; letter-spacing: .04em; }
.ar.g-jeopardy .jb-c { background: linear-gradient(#2a4de0, #162aa0); color: #fde047; text-shadow: 0 2px 0 rgba(0,0,0,.6); border: 2px solid #0a1147; font-family: "Roboto Condensed", "Arial Narrow", "Avenir Next Condensed", "sans-serif-condensed", Impact, sans-serif; }
.g-jeopardy .ar-card { border: 3px solid #fde047; border-radius: 10px; box-shadow: 0 0 50px -12px #3b55d9; } .g-jeopardy .ar-opt { background: #16236f; border-color: #3b55d9; color: #fff; }

/* ── HOT SEAT: fire under the chair ── */
html .ar.g-hotseat { --bg: #1a0403; --card: #3d0d08; --ink: #fff4e6; --body: #ffd9bf; --mute: #eab092; --line: #6b1a10; --soft: #51130b; color: #fff4e6; --c: #f97316 !important; --pat-o: 0;
  background: radial-gradient(1000px 520px at 50% 112%, #f97316, #b91c1c 42%, transparent 72%), #1a0403; }
html .ar.g-hotseat::after { height: 96px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='96' viewBox='0 0 160 96'%3E%3Cpath fill='%23fbbf24' fill-opacity='.75' d='M0 96V70c8-10 6-24 14-34 2 14 14 16 16 30 6-18 2-34 14-50 4 22 20 28 18 52 8-8 6-20 14-28 2 16 14 20 14 34 6-14 4-26 14-38 4 18 18 24 16 44 8-10 8-22 16-30 2 14 12 18 12 30 4-6 6-12 12-16v32z'/%3E%3C/svg%3E") repeat-x bottom / auto 100%; }
.g-hotseat .ar-card { background: #140302; border: 3px solid #f97316; border-radius: 16px; box-shadow: 0 0 46px -6px #ef4444; }
.g-hotseat .tg-word { font-family: "Roboto Condensed", "Arial Narrow", "Avenir Next Condensed", "sans-serif-condensed", Impact, sans-serif; text-transform: uppercase; color: #fff; text-shadow: 0 0 24px #f97316; }

/* ── DESCRIBE IT: a card from a party game ── */
html .ar.g-describe { --bg: #f3e8ff; --card: #fff; --ink: #3b0764; --body: #581c87; --mute: #8b6aa8; --line: #e4cffb; --soft: #f7efff; color: #3b0764; --pat-o: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='150' height='130' viewBox='0 0 150 130'%3E%3Cg fill='%23a855f7' fill-opacity='.13'%3E%3Cpath d='M14 14h60a10 10 0 0 1 10 10v26a10 10 0 0 1-10 10H40L24 74V60H14A10 10 0 0 1 4 50V24a10 10 0 0 1 10-10z'/%3E%3Cpath d='M96 74h36a8 8 0 0 1 8 8v18a8 8 0 0 1-8 8h-6v12l-14-12H96a8 8 0 0 1-8-8V82a8 8 0 0 1 8-8z'/%3E%3C/g%3E%3C/svg%3E"), linear-gradient(150deg, #e9d5ff, #fbcfe8); }
.g-describe .ar-card { --card: #7e22ce; --ink: #fff; --body: #f3e8ff; --mute: #e2c9fb; --line: #a855f7; --soft: #9333ea; background: #7e22ce; color: #fff; border: 8px solid #fff; border-radius: 28px; box-shadow: 0 0 0 3px #7e22ce, 0 28px 40px -18px #581c87; }
.g-describe .tg-word { color: #fff; padding-bottom: 12px; border-bottom: 3px dashed rgba(255,255,255,.5); } .g-describe .tg-ban li { background: #fff; color: #b91c1c; border-radius: 99px; }
.g-describe .ar-card .ar-btn { background: #fff; color: #7e22ce !important; box-shadow: 0 4px 0 #581c87; }

/* ── SENTENCE AUCTION: an auction room with dark wooden walls ── */
html .ar.g-auction { --bg: #2b1a0e; --card: #3a2413; --ink: #fff5e6; --body: #f0dcc0; --mute: #cfb088; --line: #5a3a1e; --soft: #472c17; color: #fff5e6; --pat-o: 0;
  background: radial-gradient(800px 460px at 50% -40px, rgba(255,214,150,.22), transparent), repeating-linear-gradient(90deg, #3b2412 0 96px, #2a180b 96px 100px); }
.g-auction .ar-card { --card: #fffaf0; --ink: #2b1a0e; --body: #4a3320; --mute: #8a6f55; --line: #e6d5b8; --soft: #f7ecd6; background: #fffaf0; color: #2b1a0e; border: 0; border-top: 10px solid #166534; border-radius: 4px; box-shadow: 0 28px 40px -18px #000; }
.g-auction .au-s { font-family: Georgia, "Noto Serif", "Times New Roman", serif; font-style: italic; }
.g-auction .ar-chip { border-radius: 99px; background: #fff; border: 2px solid #b45309; color: #2b1a0e; font-family: Georgia, "Noto Serif", "Times New Roman", serif; font-weight: 900; }

/* ── FASTEST FINGER: a neon arcade ── */
html .ar.g-finger { --bg: #0a0118; --card: #170b2e; --ink: #f5edff; --body: #d5c4f7; --mute: #a995d6; --line: #35205f; --soft: #22123f; color: #f5edff; --c: #22d3ee !important; --pat-o: 0;
  background: linear-gradient(rgba(255,45,149,.22) 1.5px, transparent 1.5px) 0 0 / 100% 36px, linear-gradient(90deg, rgba(34,211,238,.16) 1.5px, transparent 1.5px) 50% 0 / 56px 100%, radial-gradient(640px 320px at 50% 0, rgba(255,45,149,.38), transparent), #0a0118; }
.g-finger .ar-card { background: rgba(10,1,24,.84); border: 2px solid #22d3ee; border-radius: 6px; box-shadow: 0 0 0 3px #0a0118, 0 0 0 5px #ff2d95, 0 0 34px -4px #22d3ee; }
.g-finger .ff-t { color: #ff2d95; text-shadow: 0 0 14px #ff2d95; font-family: ui-monospace, "SF Mono", "Cascadia Mono", "Roboto Mono", "Droid Sans Mono", "Courier New", monospace; text-transform: uppercase; }
.g-finger .ff button { background: #170b2e; border: 1.5px solid #6d28d9; border-radius: 4px; color: #f5edff; font-family: ui-monospace, "SF Mono", "Cascadia Mono", "Roboto Mono", "Droid Sans Mono", "Courier New", monospace; } .g-finger .ff button i { background: rgba(34,211,238,.15); color: #22d3ee; } .g-finger .ff button.on { border-color: #22d3ee; box-shadow: 0 0 14px -2px #22d3ee; }
.g-finger .ar-btn { color: #06202a !important; }

/* ── BINGO QUIZ: a slot machine — red, gold and little lamps ── */
html .ar.g-bingoquiz { --bg: #7f1d1d; --card: #651616; --ink: #fff7e6; --body: #ffe0c2; --mute: #f3bd9a; --line: #a12a2a; --soft: #8a2020; color: #fff7e6; --c: #f59e0b !important; --pat-o: 0;
  background: radial-gradient(circle, #fde68a 0 4px, rgba(253,230,138,.28) 5px 9px, transparent 10px) 0 0 / 48px 48px, linear-gradient(#991b1b, #6b1414); }
.g-bingoquiz .ar-bingo { padding: 12px; border-radius: 16px; background: linear-gradient(#fcd34d, #d97706); box-shadow: 0 0 0 4px #7c2d12, 0 22px 36px -16px #000; }
.g-bingoquiz .ar-stage > .ar-who { display: table; margin: 0 auto 10px; padding: 5px 14px; border-radius: 99px; background: #4a0f0f; color: #ffe0c2; }
.g-bingoquiz .ar-bingo button { background: #fffaf0; border: 0; border-radius: 6px; color: #3a1505; } .g-bingoquiz .ar-bingo button.on { background: #dc2626; color: #fff; }
.g-bingoquiz .ar-card { --card: #fffaf0; --ink: #3a1505; --body: #5a2a12; --mute: #8a6248; --line: #ecd9b8; --soft: #fdefd0; background: #fffaf0; color: #3a1505; border: 4px solid #f59e0b; border-radius: 14px; } .g-bingoquiz .ar-btn { color: #1a1300 !important; }

/* ── BATTLE SHIPS: the sea and a captain's chart ── */
html .ar.g-ships { --bg: #0c4a6e; --card: #0b3f5e; --ink: #f0f9ff; --body: #d3ecfa; --mute: #a4cde6; --line: #1b6a94; --soft: #125a80; color: #f0f9ff; --pat-o: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='40' viewBox='0 0 120 40'%3E%3Cpath d='M0 20c15-12 30-12 45 0s30 12 45 0 30-12 45 0' fill='none' stroke='%23fff' stroke-opacity='.09' stroke-width='3'/%3E%3C/svg%3E"), linear-gradient(#0e7490, #0c4a6e 60%, #082f49); }
.g-ships .bs-sea { background: rgba(8,47,73,.62); border-color: #38bdf8; color: #fff; } .g-ships .bs-g button { border-radius: 4px; background: radial-gradient(circle at 50% 130%, #7dd3fc, #0ea5e9); }
.g-ships .ar-card { --card: #fdf6e3; --ink: #1c2a36; --body: #35485a; --mute: #7a8794; --line: #d9cfb4; --soft: #f3e9c9; background: #fdf6e3; color: #1c2a36; border: 3px solid #1c2a36; outline: 1px solid #1c2a36; outline-offset: -8px; border-radius: 6px; padding: 20px; box-shadow: 0 24px 34px -18px #000; }
.g-ships .ar-opt { background: #fff; border-color: #1c2a36; color: #1c2a36; }

/* ── RELAY RACE: school sports day — flags, grass and a red track ── */
html .ar.g-relay { --bg: #ecfccb; --card: #fff; --ink: #1a2e05; --body: #365314; --mute: #5f7a35; --line: #cfe8a0; --soft: #f3fbe0; color: #1a2e05; --pat-o: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='46' viewBox='0 0 240 46'%3E%3Cpath d='M0 4c80 14 160 14 240 0' fill='none' stroke='%23475569' stroke-width='1.5'/%3E%3Cpath d='M16 8l14 26 12-22z' fill='%23ef4444'/%3E%3Cpath d='M64 13l12 26 13-23z' fill='%23facc15'/%3E%3Cpath d='M112 15l11 26 13-26z' fill='%233b82f6'/%3E%3Cpath d='M160 14l13 25 12-28z' fill='%2322c55e'/%3E%3Cpath d='M206 10l14 24 10-28z' fill='%23f97316'/%3E%3C/svg%3E") 0 58px / 240px 46px repeat-x, linear-gradient(#bae6fd 0, #e0f2fe 34%, #d9f99d 34.2%, #bef264 100%); }
.g-relay .rl-lane { background: #c5553a; border-color: #fff; } .g-relay .rl-lane b { background: #fff; border-radius: 6px; padding: 2px 6px; text-align: center; } .g-relay .rl-road { border-bottom-color: rgba(255,255,255,.85); }
.g-relay .ar-card { border: 0; border-radius: 18px; box-shadow: 0 8px 0 #a3d65c, 0 26px 34px -20px #365314; }

/* ── LUCKY WHEEL: clovers and gold ── */
html .ar.g-lucky { --bg: #064e3b; --card: #065f46; --ink: #f0fdf4; --body: #d1fae5; --mute: #9adfbf; --line: #0f7a5c; --soft: #0a6b4f; color: #f0fdf4; --c: #eab308 !important; --pat-o: .13;
  background: radial-gradient(820px 520px at 50% -20px, #10b981, transparent), #064e3b; }
.g-lucky .ar-card { --card: #fffbeb; --ink: #1f2a12; --body: #3b4a22; --mute: #7a8a5a; --line: #e8dfa8; --soft: #fef9c3; background: #fffbeb; color: #1f2a12; border: 4px solid #eab308; border-radius: 18px; box-shadow: 0 0 0 3px #a16207, 0 24px 36px -18px #000; }
.g-lucky .ar-wh-disc { border-color: #eab308; box-shadow: 0 0 0 4px #a16207, 0 0 44px -6px #fde047; } .g-lucky .ar-btn { color: #1a1300 !important; }

/* ── DAILY CHALLENGE: a page of a wall calendar at sunrise ── */
html .ar.g-daily { --bg: #fff1e6; --card: #fff; --ink: #3b1220; --body: #6b2a3c; --mute: #a9788a; --line: #f6d3d9; --soft: #fff0f3; color: #3b1220; --pat-o: 0;
  background: radial-gradient(circle at 50% 100%, rgba(253,224,71,.85) 0 150px, rgba(253,224,71,.25) 151px 230px, transparent 231px), linear-gradient(#fda4af 0, #fed7aa 40%, #fff7ed 100%); }
.g-daily .ar-card, .g-daily .dc { position: relative; border: 0; border-top: 30px solid #e11d48; border-radius: 14px; box-shadow: 0 22px 34px -20px #9f1239; }
.g-daily .ar-card::before, .g-daily .dc::before { content: ""; position: absolute; top: -40px; left: 14%; right: 14%; height: 20px; background: radial-gradient(circle, #fff 0 4px, #9f1239 4.5px 7px, transparent 7.5px) 0 0 / 44px 20px repeat-x; }

/* ── FLAG QUIZ (18 Nov 2026): a row of little flags on a string under an open sky; at night a dark-blue sky with stars. The flag moves in the wind. ── */
html .ar.g-flagquiz { --bg: #dff3ff; --card: #fff; --ink: #10243e; --body: #2b4666; --mute: #6b86a6; --line: #cfe3f5; --soft: #eef7ff; color: #10243e; --c: #0f62d6 !important; --pat-o: 0;
  background: conic-gradient(from 150deg at 50% 0, #e11d48 60deg, transparent 0) 0 58px / 88px 30px repeat-x, conic-gradient(from 150deg at 50% 0, #f59e0b 60deg, transparent 0) 44px 58px / 88px 30px repeat-x, linear-gradient(#8fd0ff, #dff3ff 55%, #f4fbff); }
.g-flagquiz .ar-card { border: 0; border-radius: 18px; box-shadow: 0 14px 30px -18px rgba(16,36,62,.5), 0 0 0 1.5px #cfe3f5; }
.g-flagquiz .ar-pic img.flag { width: 190px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0,0,0,.15), 8px 10px 0 -2px rgba(16,36,62,.12); transform-origin: left center; animation: fqWave 3.4s ease-in-out infinite; }
@keyframes fqWave { 0%, 100% { transform: perspective(500px) rotateY(0) skewY(0); } 50% { transform: perspective(500px) rotateY(-9deg) skewY(-1.2deg); } }
.g-flagquiz .ar-opt { border-radius: 12px; background: #fff; border: 2px solid #cfe3f5; box-shadow: 0 3px 0 #cfe3f5; }
html.dark .ar.g-flagquiz { --bg: #07162b; --card: #0e2444; --ink: #f2f6fc; --body: #cfdaea; --mute: #8fa5c2; --line: #1f3d68; --soft: #12305a; color: #f2f6fc; --c: #60a5fa !important;
  background: conic-gradient(from 150deg at 50% 0, #be123c 60deg, transparent 0) 0 58px / 88px 30px repeat-x, conic-gradient(from 150deg at 50% 0, #b45309 60deg, transparent 0) 44px 58px / 88px 30px repeat-x, radial-gradient(1.5px 1.5px at 20% 30%, #fff 50%, transparent 51%) 0 0 / 130px 130px, radial-gradient(1px 1px at 70% 60%, #cfe3f5 50%, transparent 51%) 0 0 / 90px 110px, linear-gradient(#050d1c, #0b2142); }
html.dark .g-flagquiz .ar-card { box-shadow: 0 0 0 1.5px #1f3d68, 0 0 40px -10px rgba(96,165,250,.5); } html.dark .g-flagquiz .ar-opt { background: #12305a; border-color: #1f3d68; box-shadow: 0 3px 0 #0a1a33; color: #f2f6fc; }
@media (prefers-reduced-motion: reduce) { .g-flagquiz .ar-pic img.flag { animation: none; } }
/* ── WORLD EXPLORER (18 Nov 2026): a page of a passport — fine curved lines, answers as visa stamps; at night the green cover with gold. ── */
html .ar.g-worldquiz { --bg: #f3ecd9; --card: #fffaf0; --ink: #2a2416; --body: #4d4530; --mute: #8a7f63; --line: #e0d5b8; --soft: #f6efdc; color: #2a2416; --c: #a16207 !important; --pat-o: 0;
  background: repeating-radial-gradient(circle at 0 0, transparent 0 18px, rgba(161,98,7,.08) 18px 19px), repeating-radial-gradient(circle at 100% 100%, transparent 0 22px, rgba(21,128,61,.07) 22px 23px), #f3ecd9; }
.g-worldquiz .ar-card { border: 1.5px solid #d9cba3; border-radius: 10px 22px 22px 10px; box-shadow: inset 8px 0 0 -4px rgba(161,98,7,.18), 0 14px 26px -18px rgba(60,40,0,.55); }
.g-worldquiz .ar-opt { border: 2px dashed #b08d3c; border-radius: 8px; background: transparent; color: #5b3d06; text-transform: uppercase; letter-spacing: .04em; font-size: 14px; }
.g-worldquiz .ar-opt:nth-child(odd) { transform: rotate(-.8deg); } .g-worldquiz .ar-opt:nth-child(even) { transform: rotate(.7deg); }
.g-worldquiz .ar-pic img.flag { border-radius: 3px; box-shadow: 0 0 0 1px rgba(0,0,0,.2); }
html.dark .ar.g-worldquiz { --bg: #12251b; --card: #193326; --ink: #f4ecd2; --body: #d9cfae; --mute: #9aa58f; --line: #2c4b39; --soft: #1f3d2d; color: #f4ecd2; --c: #eab308 !important;
  background: repeating-radial-gradient(circle at 0 0, transparent 0 18px, rgba(234,179,8,.07) 18px 19px), repeating-radial-gradient(circle at 100% 100%, transparent 0 22px, rgba(234,179,8,.05) 22px 23px), #12251b; }
html.dark .g-worldquiz .ar-card { border-color: #b08d3c; box-shadow: inset 0 0 0 4px #193326, inset 0 0 0 5px rgba(234,179,8,.5), 0 18px 30px -18px #000; } html.dark .g-worldquiz .ar-opt { border-color: #eab308; color: #fde68a; }
/* ── The colours of "right" and "wrong" are the same in every game, whatever its look ── */
html .ar .ar-opt.ok, html .ar .ar-tile.ok { background: #dcfce7 !important; border-color: #16a34a !important; color: #14532d !important; }
html .ar .ar-opt.no { background: #fee2e2 !important; border-color: #dc2626 !important; color: #7f1d1d !important; }
html .ar .ar-tile.no { background: #fee2e2 !important; border-color: #dc2626 !important; color: #7f1d1d !important; }
html .ar .ar-why.ok { background: #dcfce7; color: #14532d; } html .ar .ar-why.no { background: #fee2e2; color: #7f1d1d; }
@media (prefers-reduced-motion: reduce) { .ar * { animation-duration: .01s !important; } }

/* ── LANGUAGE DETECTIVE (18 Nov 2026): a traveller's notebook, with "hello" in ten writings drawn faintly behind it ── */
html .ar.g-langs { --bg: #f6f1ff; --card: #fffdf9; --ink: #22183d; --body: #3f3560; --mute: #74699a; --line: #e2d8f7; --soft: #faf7ff; color: #22183d; --c: #7c3aed !important; --pat-o: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='380' height='250'%3E%3Cg fill='%237c3aed' fill-opacity='.09' font-family='Georgia, Noto Serif, serif' font-size='22' font-weight='700'%3E%3Ctext x='20' y='34' transform='rotate%28-8 20 34%29'%3ESalom%3C/text%3E%3Ctext x='150' y='24' transform='rotate%286 150 24%29'%3E%D0%9F%D1%80%D0%B8%D0%B2%D0%B5%D1%82%3C/text%3E%3Ctext x='270' y='52' transform='rotate%28-4 270 52%29'%3E%D9%85%D8%B1%D8%AD%D8%A8%D8%A7%3C/text%3E%3Ctext x='40' y='112' transform='rotate%285 40 112%29'%3E%E4%BD%A0%E5%A5%BD%3C/text%3E%3Ctext x='170' y='100' transform='rotate%28-6 170 100%29'%3EHola%3C/text%3E%3Ctext x='270' y='140' transform='rotate%284 270 140%29'%3E%E0%A4%A8%E0%A4%AE%E0%A4%B8%E0%A5%8D%E0%A4%A4%E0%A5%87%3C/text%3E%3Ctext x='90' y='190' transform='rotate%28-5 90 190%29'%3E%EC%95%88%EB%85%95%3C/text%3E%3Ctext x='210' y='200' transform='rotate%287 210 200%29'%3E%CE%93%CE%B5%CE%B9%CE%AC%3C/text%3E%3Ctext x='10' y='232' transform='rotate%283 10 232%29'%3E%E1%88%B0%E1%88%8B%E1%88%9D%3C/text%3E%3Ctext x='300' y='232' transform='rotate%28-7 300 232%29'%3EBonjour%3C/text%3E%3C/g%3E%3C/svg%3E") 0 0 / 380px 250px, radial-gradient(1100px 520px at 50% -12%, #ffe4f3, transparent 62%), linear-gradient(#f6f1ff, #eee6ff); }
html.dark .ar.g-langs { --bg: #0d0a1f; --card: #1a1436; --ink: #f3efff; --body: #d6cef3; --mute: #a097c8; --line: #352b62; --soft: #221a46; color: #f3efff; --c: #a78bfa !important;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='380' height='250'%3E%3Cg fill='%23c4b5fd' fill-opacity='.08' font-family='Georgia, Noto Serif, serif' font-size='22' font-weight='700'%3E%3Ctext x='20' y='34' transform='rotate%28-8 20 34%29'%3ESalom%3C/text%3E%3Ctext x='150' y='24' transform='rotate%286 150 24%29'%3E%D0%9F%D1%80%D0%B8%D0%B2%D0%B5%D1%82%3C/text%3E%3Ctext x='270' y='52' transform='rotate%28-4 270 52%29'%3E%D9%85%D8%B1%D8%AD%D8%A8%D8%A7%3C/text%3E%3Ctext x='40' y='112' transform='rotate%285 40 112%29'%3E%E4%BD%A0%E5%A5%BD%3C/text%3E%3Ctext x='170' y='100' transform='rotate%28-6 170 100%29'%3EHola%3C/text%3E%3Ctext x='270' y='140' transform='rotate%284 270 140%29'%3E%E0%A4%A8%E0%A4%AE%E0%A4%B8%E0%A5%8D%E0%A4%A4%E0%A5%87%3C/text%3E%3Ctext x='90' y='190' transform='rotate%28-5 90 190%29'%3E%EC%95%88%EB%85%95%3C/text%3E%3Ctext x='210' y='200' transform='rotate%287 210 200%29'%3E%CE%93%CE%B5%CE%B9%CE%AC%3C/text%3E%3Ctext x='10' y='232' transform='rotate%283 10 232%29'%3E%E1%88%B0%E1%88%8B%E1%88%9D%3C/text%3E%3Ctext x='300' y='232' transform='rotate%28-7 300 232%29'%3EBonjour%3C/text%3E%3C/g%3E%3C/svg%3E") 0 0 / 380px 250px, radial-gradient(900px 520px at 50% -12%, #3a1858, transparent 62%), #0d0a1f; }
.g-langs .ar-card { border: 0; border-radius: 22px; background: var(--card); box-shadow: 0 18px 40px -22px rgba(76,29,149,.45), 0 0 0 1.5px var(--line); }
html.dark .g-langs .ar-card { box-shadow: 0 0 0 1.5px var(--line), 0 0 46px -12px rgba(167,139,250,.45); }
.g-langs .lg-k { margin: 0 0 10px; text-align: center; font-size: 15px; color: var(--mute); } .g-langs .lg-k b { color: var(--ink); }
/* the text: a page of a notebook with ruled lines and a big opening quote */
.g-langs .lg-paper { position: relative; margin: 0 auto 14px; padding: 20px 20px 16px 24px; border-radius: 14px; color: #2a2140; text-align: start;
  background: linear-gradient(transparent 0 31px, rgba(124,58,237,.10) 31px 32px) 0 5px / 100% 32px, #fffaf0; border: 1px solid #eadfc8; box-shadow: 0 2px 0 #eadfc8, 7px 9px 0 -2px rgba(76,29,149,.08); }
.g-langs .lg-paper::before { content: "\201C"; position: absolute; left: 8px; top: -12px; font: 900 56px/1 Georgia, serif; color: #c4b5fd; }
.g-langs .lg-paper[dir="rtl"]::before { left: auto; right: 8px; content: "\201D"; }
.g-langs .lg-paper p { margin: 0; font-size: 21px; line-height: 1.6; overflow-wrap: anywhere; font-family: "Noto Sans", "Segoe UI", system-ui, -apple-system, Roboto, sans-serif; }
.g-langs .lg-paper.long p { font-size: 17px; line-height: 1.55; }
.g-langs .lg-paper[dir="rtl"] p { font-size: 24px; line-height: 1.9; }
.g-langs .lg-paper mark { background: #fde047; color: inherit; border-radius: 4px; box-shadow: 0 0 0 2px #fde047; animation: lgMark .7s ease-out both; }
@keyframes lgMark { from { background: transparent; box-shadow: 0 0 0 0 transparent; } }
html.dark .g-langs .lg-paper { color: #f3efff; background: linear-gradient(transparent 0 31px, rgba(167,139,250,.13) 31px 32px) 0 5px / 100% 32px, #241c49; border-color: #3a2f70; box-shadow: 0 2px 0 #110c28, 7px 9px 0 -2px rgba(0,0,0,.35); }
html.dark .g-langs .lg-paper::before { color: #6d5bd0; }
html.dark .g-langs .lg-paper mark { background: #a16207; box-shadow: 0 0 0 2px #a16207; color: #fff; }
.g-langs .lg-nosnd { margin: 0 0 8px; text-align: center; font-size: 14px; color: var(--mute); }
/* the player: a big round button with rings that spread while the voice speaks */
.g-langs .lg-player { display: grid; justify-items: center; gap: 10px; margin: 6px auto 14px; }
.g-langs .lg-play { position: relative; width: 104px; height: 104px; border: 0; border-radius: 50%; cursor: pointer; color: #fff; font-size: 38px;
  background: radial-gradient(circle at 35% 30%, #c084fc, #7c3aed 55%, #db2777); box-shadow: 0 14px 30px -10px rgba(124,58,237,.7), inset 0 -5px 0 rgba(0,0,0,.18); }
.g-langs .lg-pi { position: relative; z-index: 1; display: inline-block; padding-left: 7px; }
.g-langs .lg-ring { position: absolute; inset: 0; border: 3px solid #c084fc; border-radius: 50%; opacity: 0; pointer-events: none; }
.g-langs .lg-player.on .lg-ring { animation: lgRing 1.6s ease-out infinite; } .g-langs .lg-player.on .lg-ring.r2 { animation-delay: .8s; }
@keyframes lgRing { from { transform: scale(1); opacity: .85; } to { transform: scale(1.75); opacity: 0; } }
.g-langs .lg-player.tap .lg-play { animation: lgTap 1.1s ease-in-out infinite; } @keyframes lgTap { 50% { transform: scale(1.09); } }
.g-langs .lg-wave { display: flex; align-items: center; gap: 4px; height: 34px; }
.g-langs .lg-wave i { width: 5px; height: 6px; border-radius: 3px; background: var(--c); opacity: .35; }
.g-langs .lg-player.on .lg-wave i { opacity: 1; animation: lgBar .9s ease-in-out infinite alternate; }
.g-langs .lg-wave i:nth-child(3n) { animation-delay: .2s; } .g-langs .lg-wave i:nth-child(3n+1) { animation-delay: .45s; } .g-langs .lg-wave i:nth-child(4n) { animation-duration: .7s; }
@keyframes lgBar { from { height: 6px; } to { height: 32px; } }
.g-langs .lg-src { margin: 0; font-size: 13.5px; color: var(--mute); }
.g-langs .lg-again { padding: 2px 4px; border: 0; background: none; color: var(--c); font: inherit; font-weight: 700; cursor: pointer; }
/* the answers */
.g-langs .lg-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.g-langs .lg-opts.n3 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .g-langs .lg-opts.n3, .g-langs .lg-opts.n6 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.g-langs .ar-opt { justify-content: center; text-align: center; font-size: 16px; font-weight: 700; border-radius: 14px; background: var(--soft); border: 2px solid var(--line); box-shadow: 0 3px 0 var(--line); }
.g-langs .lg-tools { margin: 10px 0 0; text-align: center; }
.g-langs .lg-clue { padding: 7px 14px; border: 1.5px dashed var(--line); border-radius: 99px; background: transparent; color: var(--body); font: inherit; font-weight: 700; cursor: pointer; }
.g-langs .lg-clue small { font-weight: 500; color: var(--mute); }
.g-langs .lg-hint { display: inline-block; padding: 8px 12px; border-radius: 12px; background: #fef9c3; color: #713f12; font-size: 14.5px; } html.dark .g-langs .lg-hint { background: #422006; color: #fde68a; }
/* after the answer: a card about the language */
.g-langs .lg-reveal { margin-top: 12px; animation: lgIn .35s ease-out; } @keyframes lgIn { from { opacity: 0; transform: translateY(8px); } }
.g-langs .lg-res { margin: 0 0 8px; font-weight: 800; } .g-langs .lg-reveal.ok .lg-res { color: #15803d; } .g-langs .lg-reveal.no .lg-res { color: #b91c1c; }
html.dark .g-langs .lg-reveal.ok .lg-res { color: #4ade80; } html.dark .g-langs .lg-reveal.no .lg-res { color: #f87171; }
.g-langs .lg-card { padding: 12px 14px; border-radius: 16px; background: var(--soft); border: 1.5px solid var(--line); text-align: left; }
.g-langs .lg-names { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0 0 6px; }
.g-langs .lg-names b { font-size: 20px; } .g-langs .lg-names span { font-size: 20px; font-weight: 700; color: var(--c); }
.g-langs .lg-card dl { display: grid; grid-template-columns: auto 1fr; gap: 3px 10px; margin: 0 0 8px; font-size: 14.5px; }
.g-langs .lg-card dt { color: var(--mute); font-weight: 700; } .g-langs .lg-card dd { margin: 0; }
.g-langs .lg-how { margin: 0; font-size: 14.5px; line-height: 1.5; }
.g-langs .lg-said { margin-top: 10px; text-align: left; } .g-langs .lg-said summary { cursor: pointer; font-weight: 700; color: var(--c); } .g-langs .lg-said .lg-paper { margin-top: 10px; }
.g-langs .lg-en { margin: 4px 0 0; font-size: 13.5px; color: var(--mute); }
.g-langs .lg-next { width: 100%; margin-top: 12px; }
/* the result: the languages of the round */
.g-langs .lg-met { margin: 14px 0; text-align: center; } .g-langs .lg-met p { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 8px 0 0; }
.g-langs .lg-met span { padding: 5px 10px; border-radius: 99px; font-size: 13.5px; font-weight: 700; }
.g-langs .lg-met .y { background: #dcfce7; color: #166534; } .g-langs .lg-met .n { background: #fee2e2; color: #991b1b; }
html.dark .g-langs .lg-met .y { background: #14532d; color: #bbf7d0; } html.dark .g-langs .lg-met .n { background: #7f1d1d; color: #fecaca; }
@media (prefers-reduced-motion: reduce) { .g-langs .lg-player.on .lg-ring, .g-langs .lg-player.on .lg-wave i, .g-langs .lg-paper mark, .g-langs .lg-player.tap .lg-play { animation: none; } }

/* ══ BATCH 1, NEW COUNTRY GAMES (18 Nov 2026, assets/arcade/ar-g.js) — shared pieces, then one look per game (day and night) ══ */
.cg .cg-flag { display: block; height: 46px; width: auto; max-width: 92px; border-radius: 4px; box-shadow: 0 0 0 1px rgba(0,0,0,.14), 0 3px 8px -3px rgba(0,0,0,.35); }
.cg .cg-flag.big { height: 84px; max-width: 170px; } .cg .cg-flag.sm { height: 30px; max-width: 60px; } .cg .cg-flag.xs { display: inline-block; height: 16px; max-width: 32px; vertical-align: -3px; margin-right: 5px; }
.cg .cg-ask { margin: 0 0 12px; text-align: center; font-size: 17px; color: var(--body); } .cg .cg-ask b { color: var(--ink); }
.cg .cg-hud { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 10px; }
.cg .cg-learnt { margin: 14px 0; text-align: center; } .cg .cg-learnt p { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 8px 0 0; }
.cg .cg-learnt span { padding: 5px 10px; border-radius: 99px; background: var(--soft); border: 1px solid var(--line); font-size: 13.5px; font-weight: 700; }
.cg .cg-tools { text-align: center; margin: 10px 0 0; } .cg .cg-clue { padding: 7px 14px; border: 1.5px dashed var(--line); border-radius: 99px; background: transparent; color: var(--body); font: inherit; font-weight: 700; cursor: pointer; } .cg .cg-clue small { font-weight: 500; color: var(--mute); }
.cg .cg-hint { display: inline-block; padding: 8px 12px; border-radius: 12px; background: #fef9c3; color: #713f12; font-size: 14.5px; } html.dark .cg .cg-hint { background: #422006; color: #fde68a; }
.cg-map .land { fill: #cbd5c0; stroke: #fff; stroke-width: .7px; vector-effect: non-scaling-stroke; } .cg-map .grat { fill: none; stroke: rgba(30,64,120,.12); stroke-width: .6; }
html.dark .cg-map .land { fill: #2c3a4f; stroke: #0b1222; } html.dark .cg-map .grat { stroke: rgba(160,190,255,.1); }

/* ── BIGGER OR SMALLER: a surveyor's map table — land parcels and a measuring tape ── */
html .ar.g-bigsmall { --bg: #eef6e8; --card: #fffdf6; --ink: #1f2a1a; --body: #3d4a33; --mute: #6f7c62; --line: #d5e3c6; --soft: #f6fbef; color: #1f2a1a; --c: #16a34a !important; --pat-o: 0;
  background: repeating-linear-gradient(90deg, rgba(22,101,52,.06) 0 1px, transparent 1px 48px), repeating-linear-gradient(0deg, rgba(22,101,52,.06) 0 1px, transparent 1px 48px), radial-gradient(800px 400px at 80% -10%, #fef3c7, transparent 60%), #eef6e8; }
html.dark .ar.g-bigsmall { --bg: #0d1a10; --card: #142619; --ink: #ecfdf0; --body: #c4dccb; --mute: #8aa894; --line: #24402b; --soft: #1a3020; color: #ecfdf0; --c: #4ade80 !important;
  background: repeating-linear-gradient(90deg, rgba(74,222,128,.07) 0 1px, transparent 1px 48px), repeating-linear-gradient(0deg, rgba(74,222,128,.07) 0 1px, transparent 1px 48px), #0d1a10; }
.g-bigsmall .cg-duel-card, .g-morepeople .cg-duel-card { border: 0; border-radius: 22px; box-shadow: 0 18px 40px -22px rgba(0,0,0,.4), 0 0 0 1.5px var(--line); }
.cg .cg-duel { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: stretch; }
.cg .cg-side { display: grid; justify-items: center; align-content: start; gap: 8px; min-height: 190px; padding: 16px 10px; border-radius: 18px; text-align: center; background: var(--soft); border: 2px solid var(--line); box-shadow: 0 4px 0 var(--line); transition: transform .15s; }
.cg .cg-side:not(:disabled):hover { transform: translateY(-3px); } .cg .cg-side .cg-flag { height: 64px; max-width: 120px; } .cg .cg-side b { font-size: 18px; line-height: 1.2; }
.cg .cg-val { min-height: 20px; font-size: 14px; font-weight: 700; color: var(--c); }
.cg .cg-bar { width: 100%; height: 10px; border-radius: 99px; background: rgba(0,0,0,.07); overflow: hidden; } .cg .cg-bar u { display: block; height: 100%; width: 0; border-radius: 99px; background: var(--c); transition: width .9s cubic-bezier(.2,.8,.2,1); }
.cg .cg-side.ok { border-color: #22c55e; box-shadow: 0 4px 0 #16a34a, 0 0 0 4px rgba(34,197,94,.2); } .cg .cg-side.no { border-color: #ef4444; box-shadow: 0 4px 0 #b91c1c; } .cg .cg-side.lo { opacity: .85; }
.cg .cg-vs { position: absolute; left: 50%; top: 38%; transform: translate(-50%, -50%); z-index: 2; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--c); color: #fff; font: 900 14px/1 Inter, sans-serif; box-shadow: 0 0 0 5px var(--card); }
@media (max-width: 420px) { .cg .cg-side { min-height: 170px; } .cg .cg-side b { font-size: 16px; } }

/* ── MORE PEOPLE: a busy city square at dusk — little people everywhere ── */
html .ar.g-morepeople { --bg: #fff4ec; --card: #fffaf6; --ink: #2b1a12; --body: #5b4033; --mute: #8c7062; --line: #f3d9c7; --soft: #fff7f1; color: #2b1a12; --c: #ea580c !important; --pat-o: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='70'%3E%3Cg fill='%23ea580c' fill-opacity='.08'%3E%3Ccircle cx='15' cy='18' r='5'/%3E%3Cpath d='M7 36q8-12 16 0z'/%3E%3Ccircle cx='60' cy='48' r='5'/%3E%3Cpath d='M52 66q8-12 16 0z'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 90px 70px, linear-gradient(#fff4ec, #ffe8d6); }
html.dark .ar.g-morepeople { --bg: #1a0f0a; --card: #26170f; --ink: #fff3ea; --body: #e7cdbd; --mute: #b0907d; --line: #4a2c1c; --soft: #2f1c12; color: #fff3ea; --c: #fb923c !important;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='70'%3E%3Cg fill='%23fb923c' fill-opacity='.08'%3E%3Ccircle cx='15' cy='18' r='5'/%3E%3Cpath d='M7 36q8-12 16 0z'/%3E%3Ccircle cx='60' cy='48' r='5'/%3E%3Cpath d='M52 66q8-12 16 0z'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 90px 70px, #1a0f0a; }
.g-morepeople .cg-bar u { background: repeating-linear-gradient(90deg, var(--c) 0 8px, color-mix(in srgb, var(--c) 70%, #fff) 8px 10px); }

/* ── CONTINENT SORT: a sky over six harbours; the flag drops like a parcel ── */
html .ar.g-contsort { --bg: #e0f2fe; --card: #fff; --ink: #0c2a43; --body: #1f4466; --mute: #5b7a99; --line: #bfdcf2; --soft: #f0f8ff; color: #0c2a43; --c: #0284c7 !important; --pat-o: 0;
  background: radial-gradient(60px 30px at 15% 18%, #fff 60%, transparent 62%), radial-gradient(80px 34px at 80% 30%, #fff 60%, transparent 62%), linear-gradient(#bae6fd, #e0f2fe 55%, #dcfce7); }
html.dark .ar.g-contsort { --bg: #06131f; --card: #0c2133; --ink: #e6f4ff; --body: #b9d4ea; --mute: #7d9bb5; --line: #1c3a55; --soft: #102a40; color: #e6f4ff; --c: #38bdf8 !important;
  background: radial-gradient(1.5px 1.5px at 20% 20%, #fff, transparent), radial-gradient(1.5px 1.5px at 70% 12%, #fff, transparent), radial-gradient(1px 1px at 45% 35%, #fff, transparent), linear-gradient(#020617, #0c1e33 60%, #0b2a1f); }
.contsort .cg-sky { position: relative; height: 270px; margin: 4px 0 12px; border-radius: 22px; overflow: hidden; background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,.1)); border: 1.5px solid var(--line); }
html.dark .contsort .cg-sky { background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)); }
.contsort .cg-fall { position: absolute; left: 50%; top: 30px; display: grid; justify-items: center; gap: 6px; padding: 10px 12px; border-radius: 14px; background: var(--card); box-shadow: 0 10px 22px -10px rgba(0,0,0,.45); transform: translateX(-50%); }
.contsort .cg-fall::before { content: "🪂"; position: absolute; top: -26px; font-size: 24px; }
.contsort .cg-fall b { font-size: 15px; } .contsort .cg-fall.go { animation: cgDrop var(--d, 5s) linear forwards; }
@keyframes cgDrop { from { top: 30px; transform: translate(-50%, 0); } to { top: 100%; transform: translate(-50%, calc(-100% - 8px)); } }
.contsort .cg-fall.win { animation: cgWin .45s ease-in forwards; } .contsort .cg-fall.miss { animation: cgMiss .7s ease-in forwards; }
@keyframes cgWin { to { transform: translateX(-50%) scale(.2) translateY(260px); opacity: 0; } } @keyframes cgMiss { 30% { transform: translateX(-55%) rotate(-8deg); } 60% { transform: translateX(-45%) rotate(8deg); } to { transform: translateX(-50%) translateY(40px); opacity: 0; } }
.contsort .cg-boxes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.contsort .cg-cont { position: relative; display: grid; justify-items: center; gap: 2px; min-height: 64px; padding: 8px 4px; text-align: center; border-radius: 16px; font-weight: 800; }
.contsort .cg-cont i { font-style: normal; font-size: 22px; } .contsort .cg-cont span { font-size: 13.5px; line-height: 1.15; } .contsort .cg-cont small { position: absolute; top: 4px; right: 7px; font-size: 10px; color: var(--mute); }
.contsort .cg-cont.lit { background: #dcfce7; border-color: #22c55e; } html.dark .contsort .cg-cont.lit { background: #14532d; }
.contsort .cg-msg { min-height: 22px; margin: 10px 0 0; text-align: center; font-weight: 700; color: var(--body); }
@media (min-width: 700px) { .contsort .cg-boxes { grid-template-columns: repeat(6, 1fr); } .contsort .cg-sky { height: 300px; } }

/* ── FURTHER NORTH?: an old navigator's chart with a brass compass ── */
html .ar.g-northsouth { --bg: #f5ecd7; --card: #fffaf0; --ink: #2d2416; --body: #54462e; --mute: #85765a; --line: #e2d3b0; --soft: #fbf4e3; color: #2d2416; --c: #b45309 !important; --pat-o: 0;
  background: radial-gradient(circle at 85% 12%, transparent 0 58px, rgba(180,83,9,.16) 59px 60px, transparent 61px 92px, rgba(180,83,9,.1) 93px 94px, transparent 95px), repeating-linear-gradient(0deg, rgba(120,90,40,.08) 0 1px, transparent 1px 60px), repeating-linear-gradient(90deg, rgba(120,90,40,.08) 0 1px, transparent 1px 60px), #f5ecd7; }
html.dark .ar.g-northsouth { --bg: #14110b; --card: #1f1a11; --ink: #f7efdc; --body: #dccfb0; --mute: #a6977a; --line: #3d3220; --soft: #2a2316; color: #f7efdc; --c: #f59e0b !important;
  background: repeating-linear-gradient(0deg, rgba(245,158,11,.06) 0 1px, transparent 1px 60px), repeating-linear-gradient(90deg, rgba(245,158,11,.06) 0 1px, transparent 1px 60px), #14110b; }
.northsouth .cg-dir { display: inline-grid; place-items: center; width: 40px; height: 40px; margin-right: 6px; border-radius: 50%; background: var(--soft); border: 2px solid var(--c); vertical-align: middle; animation: cgNeedle 2.4s ease-in-out infinite; }
@keyframes cgNeedle { 50% { transform: rotate(-12deg); } }
.northsouth .cg-cities .ar-opt { display: grid; justify-items: center; gap: 4px; min-height: 110px; text-align: center; } .northsouth .cg-cities b { font-size: 18px; } .northsouth .cg-cities small { color: var(--mute); }
.northsouth .cg-mini { margin: 12px 0 8px; border-radius: 14px; overflow: hidden; border: 1.5px solid var(--line); background: #dbeafe; }
html.dark .northsouth .cg-mini { background: #0b1a2e; }
.northsouth .cg-mini svg { display: block; width: 100%; height: auto; aspect-ratio: 2.2; }
.northsouth .cg-map .land.win { fill: #f59e0b; } .northsouth .cg-map .land.other { fill: #93c5fd; }
.northsouth .cg-map .ln { stroke: #dc2626; stroke-dasharray: 4 3; } .northsouth .cg-map .pin { fill: #1d4ed8; stroke: #fff; } .northsouth .cg-map .pin.w { fill: #dc2626; }
.northsouth .cg-map text { font-weight: 800; fill: #111827; paint-order: stroke; stroke: #fff; } html.dark .northsouth .cg-map text { fill: #fff; stroke: #0b1222; }

/* ── FLAG MEMORY: a felt card table ── */
html .ar.g-flagmem { --bg: #0f5132; --card: #14603f; --ink: #f0fff6; --body: #cdeedd; --mute: #9fd3b8; --line: #2e7d5b; --soft: #13633f; color: #f0fff6; --c: #facc15 !important; --pat-o: 0;
  background: radial-gradient(circle at 50% 30%, #17784c, #0f5132 70%); }
html.dark .ar.g-flagmem { --bg: #062a1b; --card: #0b3d27; --soft: #0b3d27; --line: #1c5c40; background: radial-gradient(circle at 50% 30%, #0d4a30, #04180f 75%); }
.flagmem .cg-mem { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; perspective: 900px; }
@media (min-width: 560px) { .flagmem .cg-mem { grid-template-columns: repeat(4, 1fr); } .flagmem .cg-mem.n10 { grid-template-columns: repeat(5, 1fr); } }
.flagmem .cg-card { position: relative; aspect-ratio: 4 / 3.2; border: 0; padding: 0; background: none; cursor: pointer; transform-style: preserve-3d; transition: transform .45s; }
.flagmem .cg-card span { position: absolute; inset: 0; display: grid; place-items: center; border-radius: 12px; backface-visibility: hidden; }
.flagmem .cg-card .bk { background: repeating-linear-gradient(45deg, #b91c1c 0 6px, #dc2626 6px 12px); border: 3px solid #fff; color: #fff; font: 900 26px/1 Inter, sans-serif; box-shadow: 0 6px 12px -6px rgba(0,0,0,.6); }
.flagmem .cg-card .fr { transform: rotateY(180deg); background: #fff; color: #1c1a2e; padding: 6px; box-shadow: 0 6px 12px -6px rgba(0,0,0,.6); }
.flagmem .cg-card .fr b { font-size: 13.5px; line-height: 1.15; text-align: center; } .flagmem .cg-card .fr .cg-flag { height: auto; width: 88%; max-width: none; max-height: 82%; }
.flagmem .cg-card.up, .flagmem .cg-card.got { transform: rotateY(180deg); } .flagmem .cg-card.got .fr { box-shadow: 0 0 0 3px #facc15, 0 6px 14px -6px rgba(0,0,0,.6); animation: cgGot .5s; }
@keyframes cgGot { 50% { transform: rotateY(180deg) scale(1.08); } }
.flagmem .ar-h { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.2); }

/* ── AROUND THE WORLD: a flight map with a dotted route ── */
html .ar.g-trip { --bg: #e6f0ff; --card: #fff; --ink: #0f1f3d; --body: #2c4166; --mute: #6a7fa3; --line: #cfdcf3; --soft: #f3f7ff; color: #0f1f3d; --c: #2563eb !important; --pat-o: 0;
  background: linear-gradient(160deg, #e0ecff, #f5f0ff 60%, #fff1e6); }
html.dark .ar.g-trip { --bg: #070d1c; --card: #0e1830; --ink: #eaf1ff; --body: #c3d1ef; --mute: #8495ba; --line: #22335a; --soft: #142242; color: #eaf1ff; --c: #60a5fa !important; background: linear-gradient(160deg, #050a18, #0d1430 60%, #1a1030); }
.trip .cg-route { margin: 0 0 12px; border-radius: 18px; overflow: hidden; border: 1.5px solid var(--line); background: #cfe5ff; box-shadow: 0 12px 30px -20px rgba(15,31,61,.6); }
html.dark .trip .cg-route { background: #0a1730; }
.trip .cg-route svg { display: block; width: 100%; height: auto; }
.trip .cg-map .land.home { fill: #f59e0b; } .trip .cg-map .land.got { fill: #22c55e; transition: fill .8s; } .trip .cg-map .land.miss { fill: #f87171; transition: fill .8s; }
.trip .cg-map .trail { fill: none; stroke: #e11d48; stroke-width: 2.5px; stroke-dasharray: 6 5; vector-effect: non-scaling-stroke; } .trip .cg-map .home { fill: #f59e0b; stroke: #fff; stroke-width: 1.5; }
.trip .cg-map .stop { fill: #22c55e; stroke: #fff; stroke-width: 1.5; } .trip .cg-map .stop.x { fill: #ef4444; }
.trip .cg-map .plane { font-size: 40px; dominant-baseline: middle; text-anchor: middle; transition: transform 1.6s cubic-bezier(.45,0,.2,1); }
.trip .cg-clue { display: grid; justify-items: center; margin: 0 0 14px; } .trip .cg-clue.cap { font-size: 24px; } .trip .cg-clue.cap b { color: var(--c); }
.trip .ar-opts { grid-template-columns: 1fr 1fr; }

/* ── COUNTRY SHAPES: a cartographer's tracing paper on a light table ── */
html .ar.g-shapes { --bg: #eef2f7; --card: #fff; --ink: #172033; --body: #364258; --mute: #6b778c; --line: #d6deea; --soft: #f6f8fb; color: #172033; --c: #7c3aed !important; --pat-o: 0;
  background: radial-gradient(circle at 50% 0, #fff, transparent 60%), repeating-linear-gradient(0deg, rgba(23,32,51,.05) 0 1px, transparent 1px 22px), repeating-linear-gradient(90deg, rgba(23,32,51,.05) 0 1px, transparent 1px 22px), #eef2f7; }
html.dark .ar.g-shapes { --bg: #0b0f1a; --card: #121828; --ink: #eef2fb; --body: #c8d1e6; --mute: #8e9ab3; --line: #263049; --soft: #182036; color: #eef2fb; --c: #a78bfa !important;
  background: repeating-linear-gradient(0deg, rgba(167,139,250,.06) 0 1px, transparent 1px 22px), repeating-linear-gradient(90deg, rgba(167,139,250,.06) 0 1px, transparent 1px 22px), #0b0f1a; }
.shapes .cg-shape { width: min(250px, 66vw); margin: 0 auto 14px; padding: 12px; border-radius: 20px; background: radial-gradient(circle, #fff, #f1f5f9); box-shadow: inset 0 0 0 1.5px var(--line); }
html.dark .shapes .cg-shape { background: radial-gradient(circle, #1e2740, #121828); }
.shapes .cg-shape svg { display: block; width: 100%; height: auto; } .shapes .cg-shape path { fill: #7c3aed; stroke: #4c1d95; stroke-width: 2; stroke-linejoin: round; animation: cgTrace 1.4s ease-out; }
html.dark .shapes .cg-shape path { fill: #a78bfa; stroke: #ede9fe; }
.shapes .cg-shape.got path { fill: #22c55e; stroke: #166534; transition: fill .5s; }
@keyframes cgTrace { from { opacity: 0; transform: scale(.9); transform-origin: center; } }
.shapes .cg-reveal { display: grid; justify-items: center; gap: 8px; }

/* ══ BATCH 2, MAP GAMES (18 Nov 2026, assets/arcade/ar-h.js) — the shared map, then one look per game (day and night) ══ */
.hm-game { --sea: #cfe6fb; --land: #e7e2cf; --edge: #ffffff; --other: #d9d6cc; --got: #22c55e; --miss: #ef4444; --lbl: #0f172a; --lbls: #fff; }
html.dark .hm-game { --sea: #0b1a2e; --land: #2b3a52; --edge: #0b1222; --other: #1f2937; --lbl: #f8fafc; --lbls: #0b1222; }
.hm-game .hm-box { position: relative; margin: 0 0 10px; border-radius: 18px; overflow: hidden; border: 1.5px solid var(--line); background: var(--sea); box-shadow: 0 12px 30px -22px rgba(0,0,0,.6); }
.hm-svg { display: block; width: 100%; height: auto; aspect-ratio: var(--ar, 2.26); touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.hm-svg:active { cursor: grabbing; }
.hm-svg .sea { fill: var(--sea); } .hm-svg .grat { fill: none; stroke: rgba(30,64,120,.12); stroke-width: .6px; vector-effect: non-scaling-stroke; } html.dark .hm-svg .grat { stroke: rgba(160,190,255,.08); }
.hm-svg .land { fill: var(--land); stroke: var(--edge); stroke-width: .8px; vector-effect: non-scaling-stroke; stroke-linejoin: round; transition: fill .3s; }
.hm-svg .land.other { fill: var(--other); }
.hm-svg .dot { fill: var(--land); stroke: #64748b; stroke-width: 1.2px; vector-effect: non-scaling-stroke; }
.hm-svg .c-AF { fill: #f6d9a8; } .hm-svg .c-AS { fill: #f4c7c3; } .hm-svg .c-EU { fill: #c7d7f6; } .hm-svg .c-NA { fill: #c9e8c4; } .hm-svg .c-SA { fill: #f7e3a1; } .hm-svg .c-OC { fill: #dccaf2; }
html.dark .hm-svg .c-AF { fill: #5b4423; } html.dark .hm-svg .c-AS { fill: #5a2f35; } html.dark .hm-svg .c-EU { fill: #26406b; } html.dark .hm-svg .c-NA { fill: #24502f; } html.dark .hm-svg .c-SA { fill: #5a4b1c; } html.dark .hm-svg .c-OC { fill: #43306b; }
.nocol .hm-svg .land:not(.other), .nocol .hm-svg .dot { fill: var(--land); }
.noborder .hm-svg .land { stroke: none; } .noborder .hm-svg .land.c-AF, .noborder .hm-svg .land.c-AS, .noborder .hm-svg .land.c-EU, .noborder .hm-svg .land.c-NA, .noborder .hm-svg .land.c-SA, .noborder .hm-svg .land.c-OC { fill: var(--land); }
.noborder .hm-svg .land.other { fill: var(--land); }
.hm-svg .got, .noborder .hm-svg .land.got, .nocol .hm-svg .land.got, .nocol .hm-svg .dot.got { fill: var(--got) !important; }
.hm-svg .miss, .noborder .hm-svg .land.miss { fill: var(--miss) !important; }
.hm-svg .now { animation: hmBlink .7s steps(2) infinite; } @keyframes hmBlink { 0% { fill: #facc15; } 100% { fill: #f97316; } }
.hm-svg .lb text { fill: var(--lbl); stroke: var(--lbls); paint-order: stroke; font-weight: 800; text-anchor: middle; dominant-baseline: middle; pointer-events: none; font-family: Inter, system-ui, sans-serif; }
.hm-svg .lb text.tmp { fill: #b91c1c; } .hm-svg .lb text.ans { fill: #c2410c; } .hm-svg .lb text.miss { fill: #b91c1c; } html.dark .hm-svg .lb text.tmp, html.dark .hm-svg .lb text.miss { fill: #fca5a5; }
.nonames .hm-svg .lb text.got { display: none; }
.hm-ctl { position: absolute; right: 8px; bottom: 8px; display: grid; gap: 6px; }
.hm-svg.far .lb text.ok:not(.last), .hm-svg.far .lb text.got:not(.last) { display: none; }
.hm-ctl button, .hm-sw button, .hm-regs button { min-width: 38px; height: 38px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); font: 800 18px/1 Inter, sans-serif; cursor: pointer; box-shadow: 0 3px 0 var(--line); }
.hm-sw { position: absolute; left: 8px; bottom: 8px; display: flex; gap: 6px; flex-wrap: wrap; }
.hm-sw button { height: 32px; padding: 0 10px; font-size: 12.5px; opacity: .75; } .hm-sw button::before { content: "○ "; } .hm-sw button.on { opacity: 1; background: var(--c); color: #fff; border-color: var(--c); box-shadow: none; } .hm-sw button.on::before { content: "● "; }
.hm-regs { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: -2px 0 10px; } .hm-regs button { height: 34px; padding: 0 12px; font-size: 13px; }
.hm-game .hm-hud { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 8px; }
.hm-ask { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; min-height: 52px; margin: 0 0 10px; padding: 8px 14px; border-radius: 16px; background: var(--card); border: 1.5px solid var(--line); font-size: 22px; text-align: center; box-shadow: 0 6px 16px -12px rgba(0,0,0,.5); }
.hm-ask span { font-size: 15px; color: var(--mute); font-weight: 700; } .hm-ask b { color: var(--ink); } .hm-ask small { font-size: 14px; color: var(--mute); }
.hm-ask .cg-flag.sm { height: 28px; max-width: 56px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0,0,0,.15); }
.hm-msg { min-height: 30px; text-align: center; } .hm-msg .ar-why { margin: 0 0 8px; } .hm-note { margin: 0; color: var(--body); font-weight: 600; } .hm-note.no { color: #b91c1c; } html.dark .hm-note.no { color: #fca5a5; }
@media (max-width: 620px) { .maptap .hm-box .hm-svg, .typeall .hm-box .hm-svg { aspect-ratio: 1.2; max-height: 58vh; } }
@media (min-width: 621px) { .hm-game .hm-box .hm-svg { max-height: 62vh; } }
/* the typing games */
.ty .ty-bar { position: sticky; top: 0; z-index: 5; margin: 0 -4px 10px; padding: 8px 4px 6px; background: var(--bg); }
.ty .ty-in { display: flex; align-items: center; gap: 10px; } .ty .ty-in input { flex: 1; min-width: 0; height: 52px; font-size: 19px; } .ty .ty-in b { padding: 8px 12px; border-radius: 14px; background: var(--c); color: #fff; font: 900 17px/1 Inter, sans-serif; white-space: nowrap; }
.ty .ty-in input.flash { animation: tyFlash .5s; } @keyframes tyFlash { 0% { box-shadow: 0 0 0 0 rgba(34,197,94,.7); border-color: #22c55e; } 100% { box-shadow: 0 0 0 12px rgba(34,197,94,0); } }
.ty .ty-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; } .ty .ty-row .ar-hud { margin: 0; }
.ty .ty-give { height: 36px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--card); color: var(--body); font: 700 14px/1 Inter, sans-serif; cursor: pointer; } .ty .ty-res { height: 40px; padding: 0 16px; }
.ty .ty-msg { min-height: 20px; margin: 6px 0 0; font-size: 14.5px; color: var(--body); text-align: center; } .ty .ty-new { color: #16a34a; } html.dark .ty .ty-new { color: #4ade80; }
.ty .ty-lists { display: grid; gap: 12px; } @media (min-width: 760px) { .ty .ty-lists { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); align-items: start; } }
.ty .ty-g { padding: 10px 12px; border-radius: 16px; background: var(--card); border: 1.5px solid var(--line); } .ty .ty-g h3 { display: flex; justify-content: space-between; margin: 0 0 8px; font-size: 15px; color: var(--ink); } .ty .ty-g h3 small { color: var(--mute); }
.ty .ty-g ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 4px 8px; }
.ty .ty-g li { min-height: 24px; border-bottom: 1.5px dashed var(--line); font-size: 13.5px; line-height: 22px; color: var(--ink); } .ty .ty-g li.got { border-bottom-color: #22c55e; font-weight: 700; } .ty .ty-g li.miss { border-bottom-color: #ef4444; color: #b91c1c; } html.dark .ty .ty-g li.miss { color: #fca5a5; }
.ty .ty-g li.got span::before { content: "✓ "; color: #16a34a; }
.cg-learnt.ty-missed span { font-weight: 600; }

/* ── MAP TAP: an explorer's atlas desk ── */
html .ar.g-maptap { --bg: #eaf3fb; --card: #fff; --ink: #0f2742; --body: #2b4867; --mute: #63809e; --line: #cddff0; --soft: #f3f8fd; color: #0f2742; --c: #0369a1 !important; --pat-o: 0;
  background: radial-gradient(900px 380px at 10% -10%, #fff7d6, transparent 60%), repeating-linear-gradient(115deg, rgba(3,105,161,.05) 0 2px, transparent 2px 26px), #eaf3fb; }
html.dark .ar.g-maptap { --bg: #071423; --card: #0d2136; --ink: #e8f3ff; --body: #bcd3ea; --mute: #7e9bb8; --line: #1d3a58; --soft: #11283f; color: #e8f3ff; --c: #38bdf8 !important;
  background: repeating-linear-gradient(115deg, rgba(56,189,248,.05) 0 2px, transparent 2px 26px), #071423; }
/* ── TYPE THE COUNTRIES: a quiz-show scoreboard ── */
html .ar.g-typeall { --bg: #f4f1ff; --card: #fff; --ink: #1e1b4b; --body: #3f3a77; --mute: #7a74ad; --line: #ddd7fb; --soft: #f8f6ff; color: #1e1b4b; --c: #6d28d9 !important; --pat-o: 0;
  background: radial-gradient(circle at 12% 0, #ffe4f1, transparent 40%), radial-gradient(circle at 90% 10%, #dbeafe, transparent 40%), #f4f1ff; }
html.dark .ar.g-typeall { --bg: #0d0b1f; --card: #17142f; --ink: #f0eeff; --body: #c9c4f0; --mute: #8f89c2; --line: #2c2756; --soft: #1d1940; color: #f0eeff; --c: #a78bfa !important; background: radial-gradient(circle at 12% 0, #2a1240, transparent 40%), #0d0b1f; }
/* ── US STATES: stars and stripes, softly ── */
html .ar.g-usstates { --bg: #f5f7fb; --card: #fff; --ink: #14213d; --body: #33415c; --mute: #6b7891; --line: #d7deeb; --soft: #f8fafd; color: #14213d; --c: #b91c1c !important; --pat-o: 0;
  background: repeating-linear-gradient(0deg, rgba(185,28,28,.05) 0 22px, transparent 22px 44px), radial-gradient(circle at 8% 6%, rgba(30,58,138,.12) 0 120px, transparent 121px), #f5f7fb; }
html.dark .ar.g-usstates { --bg: #0a1020; --card: #121a30; --ink: #eef2fb; --body: #c3cce0; --mute: #8792ab; --line: #24304d; --soft: #182240; color: #eef2fb; --c: #f87171 !important;
  background: repeating-linear-gradient(0deg, rgba(248,113,113,.05) 0 22px, transparent 22px 44px), #0a1020; }
.usstates .hm-svg .land { fill: #dbe4f3; } .usstates .hm-svg .land:nth-of-type(3n) { fill: #e9dfcf; } .usstates .hm-svg .land:nth-of-type(3n+1) { fill: #d7ead5; }
html.dark .usstates .hm-svg .land { fill: #26385c; } html.dark .usstates .hm-svg .land:nth-of-type(3n) { fill: #3b3247; } html.dark .usstates .hm-svg .land:nth-of-type(3n+1) { fill: #22423a; }
.usstates .hm-svg .dot { fill: #fde68a; stroke: #92400e; } .usstates.noborder .hm-svg .land, .noborder.usstates .hm-svg .land { fill: var(--land); }
/* ── NEIGHBOURS: border posts on a hiking map ── */
html .ar.g-neighbours { --bg: #f1f5ea; --card: #fffef9; --ink: #1d2a14; --body: #3c4a2e; --mute: #72805f; --line: #dbe4cc; --soft: #f7faf0; color: #1d2a14; --c: #65a30d !important; --pat-o: 0;
  background: repeating-linear-gradient(90deg, transparent 0 34px, rgba(101,163,13,.12) 34px 36px, transparent 36px 70px), repeating-linear-gradient(0deg, transparent 0 34px, rgba(234,88,12,.08) 34px 36px, transparent 36px 70px), #f1f5ea; }
html.dark .ar.g-neighbours { --bg: #0d140a; --card: #151f10; --ink: #eef7e4; --body: #c8d8b6; --mute: #8fa47a; --line: #2a3a1f; --soft: #1b2814; color: #eef7e4; --c: #a3e635 !important;
  background: repeating-linear-gradient(90deg, transparent 0 34px, rgba(163,230,53,.08) 34px 36px, transparent 36px 70px), #0d140a; }
.neighbours .nb-map { margin: 0 0 12px; border-radius: 14px; overflow: hidden; border: 1.5px solid var(--line); }
.neighbours .nb-map svg { display: block; width: 100%; height: auto; aspect-ratio: 1.8; } .neighbours .nb-map .sea { fill: #cfe6fb; } html.dark .neighbours .nb-map .sea { fill: #0b1a2e; }
.neighbours .nb-map .land, .neighbours .nb-map .dot { fill: #e7e2cf; stroke: #fff; stroke-width: .8px; vector-effect: non-scaling-stroke; } html.dark .neighbours .nb-map .land, html.dark .neighbours .nb-map .dot { fill: #2b3a52; stroke: #0b1222; }
.neighbours .nb-map .me { fill: #f59e0b !important; } .neighbours .nb-map .nbr { fill: #4ade80 !important; } .neighbours .nb-map .far { fill: #fca5a5 !important; }
.neighbours .nb-map .grat { fill: none; stroke: none; }
.neighbours .nb-map text { fill: #111827; stroke: #fff; paint-order: stroke; font-weight: 800; text-anchor: middle; dominant-baseline: middle; font-family: Inter, system-ui, sans-serif; } .neighbours .nb-map text.me { fill: #9a3412; }
html.dark .neighbours .nb-map text { fill: #fff; stroke: #0b1222; } html.dark .neighbours .nb-map text.me { fill: #fdba74; }
.neighbours .cg-ask .cg-flag.sm { display: inline-block; height: 22px; max-width: 44px; vertical-align: -4px; margin-right: 4px; border-radius: 3px; }
/* ── UZBEKISTAN MAP: Samarkand blue tiles ── */
html .ar.g-uzmap { --bg: #eef6fb; --card: #fff; --ink: #0b2a4a; --body: #2a4a6b; --mute: #6683a1; --line: #cfe0ee; --soft: #f4f9fd; color: #0b2a4a; --c: #0e7490 !important; --pat-o: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64'%3E%3Cg fill='none' stroke='%230e7490' stroke-opacity='.12' stroke-width='2'%3E%3Cpath d='M32 4 60 32 32 60 4 32z'/%3E%3Ccircle cx='32' cy='32' r='9'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 64px 64px, linear-gradient(#eef6fb, #e3f1f8); }
html.dark .ar.g-uzmap { --bg: #061520; --card: #0c2231; --ink: #e6f6ff; --body: #b9d6e6; --mute: #7d9db0; --line: #1b3a4d; --soft: #102a3b; color: #e6f6ff; --c: #22d3ee !important;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64'%3E%3Cg fill='none' stroke='%2322d3ee' stroke-opacity='.09' stroke-width='2'%3E%3Cpath d='M32 4 60 32 32 60 4 32z'/%3E%3Ccircle cx='32' cy='32' r='9'/%3E%3C/g%3E%3C/svg%3E") 0 0 / 64px 64px, #061520; }
.uzmap .hm-svg .land.r0 { fill: #a5d8e6; } .uzmap .hm-svg .land.r1 { fill: #fde7a7; } .uzmap .hm-svg .land.r2 { fill: #c4e5c1; } .uzmap .hm-svg .land.r3 { fill: #f7c9b4; } .uzmap .hm-svg .land.r4 { fill: #d6cdf3; }
html.dark .uzmap .hm-svg .land.r0 { fill: #1f5566; } html.dark .uzmap .hm-svg .land.r1 { fill: #5c4c1c; } html.dark .uzmap .hm-svg .land.r2 { fill: #24502f; } html.dark .uzmap .hm-svg .land.r3 { fill: #5e3324; } html.dark .uzmap .hm-svg .land.r4 { fill: #3c3170; }
.uzmap .hm-svg .land { stroke-width: 1.4px; } .uzmap .hm-svg .land.other { fill: var(--other); }
.uzmap .hm-svg .cn { fill: #94a3b8; font: 700 15px Inter, sans-serif; text-anchor: middle; pointer-events: none; letter-spacing: .08em; text-transform: uppercase; }
.uzmap .hm-svg .dot { fill: #f43f5e; stroke: #fff; stroke-width: 2px; }
.uzmap.noborder .hm-svg .land:not(.other), .noborder .uzmap .hm-svg .land:not(.other) { fill: #b9dfe9; } html.dark .uzmap.noborder .hm-svg .land:not(.other) { fill: #1f5566; }


/* ══ BATCH 3, PHOTO GAMES (18 Nov 2026, assets/arcade/ar-i.js) — the photo box, then one look per game (day and night) ══ */
.ph-game .ph { position: relative; margin: 0 auto 12px; width: 100%; max-width: 560px; aspect-ratio: 4 / 3; max-height: 46vh; border-radius: 18px; overflow: hidden; background: #0b1220; box-shadow: 0 14px 30px -18px rgba(0,0,0,.65); }
.ph-game .ph .ph-bg { position: absolute; inset: -20px; background-size: cover; background-position: center; filter: blur(18px) brightness(.75); }
.ph-game .ph img { position: relative; display: block; width: 100%; height: 100%; object-fit: contain; animation: phIn .5s ease-out; }
@keyframes phIn { from { opacity: 0; transform: scale(1.03); } }
.ph-game .ph figcaption { position: absolute; right: 6px; bottom: 6px; max-width: 80%; padding: 3px 8px; border-radius: 8px; background: rgba(0,0,0,.55); color: #f1f5f9; font: 500 10.5px/1.3 Inter, sans-serif; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-game .ph-ask { margin: 0 0 10px; text-align: center; font-size: 18px; color: var(--body); } .ph-game .ph-ask b { color: var(--ink); }
.ph-game .ph-opts .ar-opt { min-height: 50px; }
.ph-game .ph-c { display: inline-flex; align-items: center; gap: 8px; } .ph-game .cg-flag.xs { display: inline-block; height: 16px; width: auto; max-width: 30px; border-radius: 2px; vertical-align: -3px; margin-right: 6px; box-shadow: 0 0 0 1px rgba(0,0,0,.15); }
.ph-game .ph-c .cg-flag.xs { margin: 0; height: 20px; max-width: 34px; }
.ph-game .ph-reveal .ar-why { line-height: 1.5; } .ph-game .ph-fact { display: inline-block; margin-top: 4px; color: inherit; opacity: .85; font-weight: 500; }
.ph-game .wd-sign { margin: 6px auto 14px; width: 92px; height: 92px; display: grid; place-items: center; border-radius: 50%; font-size: 46px; background: var(--soft); box-shadow: inset 0 0 0 3px var(--c); animation: wdSpin 6s ease-in-out infinite; }
@keyframes wdSpin { 50% { transform: rotate(-6deg) scale(1.05); } }
@media (max-width: 420px) { .ph-game .ph { max-height: 38vh; } .ph-game .ph-ask { font-size: 16px; } }

/* ── LANDMARK HUNT: a traveller's journal — postcards and passport stamps ── */
html .ar.g-landmarks { --bg: #f6efe2; --card: #fffaf1; --ink: #2a2017; --body: #50402f; --mute: #8a7760; --line: #e7d8bf; --soft: #fbf5ea; color: #2a2017; --c: #c2410c !important; --pat-o: 0;
  background: radial-gradient(circle at 12% 18%, transparent 0 34px, rgba(194,65,12,.13) 35px 37px, transparent 38px), radial-gradient(circle at 86% 64%, transparent 0 42px, rgba(30,64,175,.11) 43px 45px, transparent 46px), repeating-linear-gradient(0deg, rgba(120,90,40,.05) 0 1px, transparent 1px 28px), #f6efe2; }
html.dark .ar.g-landmarks { --bg: #17120c; --card: #221a11; --ink: #f8efe0; --body: #dcc9ad; --mute: #a48d6e; --line: #3c2f1f; --soft: #2a2015; color: #f8efe0; --c: #fb923c !important;
  background: radial-gradient(circle at 12% 18%, transparent 0 34px, rgba(251,146,60,.12) 35px 37px, transparent 38px), repeating-linear-gradient(0deg, rgba(251,146,60,.04) 0 1px, transparent 1px 28px), #17120c; }
.landmarks .ph { border: 8px solid #fff; border-radius: 6px; transform: rotate(-.6deg); box-shadow: 0 16px 30px -16px rgba(60,40,10,.6), 0 0 0 1px rgba(0,0,0,.06); }
html.dark .landmarks .ph { border-color: #f3ead8; }
.landmarks .ph::after { content: "✈"; position: absolute; top: 6px; right: 8px; width: 34px; height: 40px; display: grid; place-items: center; border: 2px dashed rgba(194,65,12,.8); border-radius: 4px; background: rgba(255,250,241,.85); color: #c2410c; font-size: 18px; transform: rotate(8deg); }

/* ── DISH DETECTIVE: a restaurant table — a checked tablecloth by day, candlelight at night ── */
html .ar.g-dishes { --bg: #fff6f3; --card: #fffdfb; --ink: #2b1612; --body: #5a3a33; --mute: #93736b; --line: #f1d8d1; --soft: #fff8f5; color: #2b1612; --c: #dc2626 !important; --pat-o: 0;
  background: linear-gradient(90deg, rgba(220,38,38,.09) 50%, transparent 50%) 0 0 / 44px 44px, linear-gradient(rgba(220,38,38,.09) 50%, transparent 50%) 0 0 / 44px 44px, #fff6f3; }
html.dark .ar.g-dishes { --bg: #170d09; --card: #24140e; --ink: #fff1ea; --body: #e3c7bb; --mute: #a88a7e; --line: #42261b; --soft: #2d1912; color: #fff1ea; --c: #f87171 !important;
  background: radial-gradient(500px 300px at 50% 0, rgba(251,191,36,.16), transparent 70%), repeating-linear-gradient(90deg, #1f120c 0 26px, #1a0f0a 26px 52px); }
.dishes .ph { aspect-ratio: 1 / 1; width: min(420px, 46vh, 100%); max-height: none; border-radius: 50%; border: 10px solid #fff; box-shadow: 0 0 0 6px #f1e5df, 0 18px 34px -18px rgba(0,0,0,.6); }
html.dark .dishes .ph { border-color: #f6efe9; box-shadow: 0 0 0 6px #3a2219, 0 18px 34px -18px rgba(0,0,0,.8); }
.dishes .ph img { object-fit: cover; } .dishes .ph figcaption { right: 50%; transform: translateX(50%); bottom: 10px; }
@media (max-width: 420px) { .dishes .ph { width: min(300px, 40vh, 100%); } }

/* ── WONDERS OF THE WORLD: old stone and gold, with a Greek key border ── */
html .ar.g-wonders { --bg: #f3ecdc; --card: #fffaf0; --ink: #2b2414; --body: #554a30; --mute: #8b7d5c; --line: #e3d6b4; --soft: #faf4e4; color: #2b2414; --c: #a16207 !important; --pat-o: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='24'%3E%3Cpath d='M0 20h20V4H8v10h6V9' fill='none' stroke='%23a16207' stroke-opacity='.18' stroke-width='2'/%3E%3Cpath d='M24 20h20V4H32v10h6V9' fill='none' stroke='%23a16207' stroke-opacity='.18' stroke-width='2'/%3E%3C/svg%3E") 0 0 / 48px 24px repeat-x, radial-gradient(900px 500px at 50% 120%, #e9d9ad, transparent 70%), #f3ecdc; }
html.dark .ar.g-wonders { --bg: #0e0c08; --card: #1b170e; --ink: #fbf3df; --body: #ddd0ac; --mute: #a69878; --line: #3b3220; --soft: #241e12; color: #fbf3df; --c: #fbbf24 !important;
  background: radial-gradient(1.5px 1.5px at 20% 30%, #fde68a, transparent), radial-gradient(1.5px 1.5px at 70% 20%, #fff, transparent), radial-gradient(1px 1px at 40% 60%, #fde68a, transparent), radial-gradient(900px 500px at 50% 120%, #3a2c0d, transparent 70%), #0e0c08; }
.wonders .ph { border-radius: 14px; box-shadow: 0 0 0 3px #d4a72c, 0 0 0 7px var(--card), 0 0 0 9px #d4a72c, 0 18px 34px -18px rgba(0,0,0,.6); }


/* ══ BATCH 4, SCIENCE AND NATURE (18 Nov 2026, assets/arcade/ar-j.js) — one look per game, day and night ══ */
/* ── HABITAT SORT: a nature-park map ── */
html .ar.g-habitats { --bg: #eef7ee; --card: #fff; --ink: #14291a; --body: #35503b; --mute: #6c8571; --line: #d3e6d4; --soft: #f5fbf5; color: #14291a; --c: #15803d !important; --pat-o: 0;
  background: radial-gradient(120px 60px at 10% 20%, rgba(59,130,246,.14), transparent 70%), radial-gradient(160px 80px at 90% 30%, rgba(234,179,8,.16), transparent 70%), radial-gradient(140px 70px at 30% 90%, rgba(22,163,74,.16), transparent 70%), #eef7ee; }
html.dark .ar.g-habitats { --bg: #08140c; --card: #102016; --ink: #e9f8ec; --body: #c0dcc6; --mute: #86a68d; --line: #20402a; --soft: #142a1c; color: #e9f8ec; --c: #4ade80 !important;
  background: radial-gradient(160px 80px at 90% 30%, rgba(234,179,8,.08), transparent 70%), #08140c; }
.habitats .hb-card { margin: 4px auto 6px; width: min(260px, 70vw); padding: 16px 12px; border-radius: 22px; background: var(--card); border: 2px solid var(--line); text-align: center; box-shadow: 0 14px 30px -18px rgba(0,0,0,.5); }
.habitats .hb-card i { display: block; font-style: normal; font-size: 64px; line-height: 1.1; } .habitats .hb-card b { font-size: 22px; color: var(--ink); }
.habitats .hb-card.in { animation: hbIn .35s ease-out; } @keyframes hbIn { from { transform: translateY(-20px) scale(.9); opacity: 0; } }
.habitats .hb-card.shake { animation: hbShake .45s; } @keyframes hbShake { 25% { transform: translateX(-10px); } 75% { transform: translateX(10px); } }
.habitats .hb-card[class*="go-"] { animation: hbGo .55s ease-in forwards; } @keyframes hbGo { to { transform: translateY(160px) scale(.3); opacity: 0; } }
.habitats .hb-fact { min-height: 40px; margin: 0 0 8px; text-align: center; font-size: 14px; color: var(--body); }
.habitats .hb-boxes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.habitats .hb-h { position: relative; display: grid; justify-items: center; gap: 2px; min-height: 78px; padding: 8px 4px; border-radius: 16px; font-weight: 800; color: #fff !important; border: 0 !important; text-shadow: 0 1px 2px rgba(0,0,0,.35); }
.habitats .hb-h i { font-style: normal; font-size: 26px; } .habitats .hb-h span { font-size: 13.5px; } .habitats .hb-h small { position: absolute; top: 4px; right: 8px; font-size: 10px; opacity: .8; }
.habitats .h-ocean { background: linear-gradient(#38bdf8, #1d4ed8) !important; } .habitats .h-desert { background: linear-gradient(#fcd34d, #d97706) !important; } .habitats .h-rainforest { background: linear-gradient(#4ade80, #15803d) !important; }
.habitats .h-polar { background: linear-gradient(#e0f2fe, #7dd3fc) !important; color: #0c4a6e !important; text-shadow: none; } .habitats .h-savanna { background: linear-gradient(#fde68a, #a3a635) !important; color: #3f3a0b !important; text-shadow: none; } .habitats .h-mountains { background: linear-gradient(#cbd5e1, #64748b) !important; }
.habitats .hb-h.lit { box-shadow: 0 0 0 4px #fff, 0 0 0 7px #22c55e; transform: scale(1.04); }
@media (min-width: 700px) { .habitats .hb-boxes { grid-template-columns: repeat(6, 1fr); } }
/* ── FOOD CHAIN: a nature notebook ── */
html .ar.g-foodchain { --bg: #f4f8ec; --card: #fffff8; --ink: #1d2a12; --body: #3f522c; --mute: #77885f; --line: #dde7c9; --soft: #f8fbf0; color: #1d2a12; --c: #4d7c0f !important; --pat-o: 0;
  background: repeating-linear-gradient(0deg, transparent 0 27px, rgba(77,124,15,.12) 27px 28px), #f4f8ec; }
html.dark .ar.g-foodchain { --bg: #0c1208; --card: #141d0e; --ink: #f0f8e3; --body: #cfdcb9; --mute: #91a379; --line: #2a3a1b; --soft: #19240f; color: #f0f8e3; --c: #a3e635 !important; background: repeating-linear-gradient(0deg, transparent 0 27px, rgba(163,230,53,.06) 27px 28px), #0c1208; }
.foodchain .fc-hud { display: flex; justify-content: center; gap: 8px; margin-bottom: 8px; } .foodchain .fc-ask { margin: 0 0 12px; text-align: center; color: var(--body); }
.foodchain .fc-line { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px; margin: 0 0 16px; padding: 0; list-style: none; }
.foodchain .fc-slot { display: grid; justify-items: center; align-content: center; width: 86px; min-height: 86px; padding: 4px; border-radius: 16px; border: 2px dashed var(--line); background: var(--soft); text-align: center; }
.foodchain .fc-slot span { font-size: 22px; font-weight: 900; color: var(--mute); } .foodchain .fc-slot i { font-style: normal; font-size: 30px; } .foodchain .fc-slot b { font-size: 12px; line-height: 1.15; } .foodchain .fc-slot em { margin-top: 3px; padding: 2px 6px; border-radius: 99px; background: var(--c); color: #fff; font: 700 9.5px/1.2 Inter, sans-serif; font-style: normal; }
html.dark .foodchain .fc-slot em { color: #1a2e05; }
.foodchain .fc-slot.in { border-style: solid; border-color: #22c55e; background: #f0fdf4; animation: fcIn .35s; } html.dark .foodchain .fc-slot.in { background: #14301c; } @keyframes fcIn { from { transform: scale(.8); } }
.foodchain .fc-arr { color: var(--c); font-weight: 900; font-size: 18px; }
.foodchain .fc-pile { display: grid; grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); gap: 8px; }
.foodchain .fc-t { display: grid; justify-items: center; gap: 2px; min-height: 76px; } .foodchain .fc-t i { font-style: normal; font-size: 28px; } .foodchain .fc-t b { font-size: 13px; } .foodchain .fc-t.used { opacity: .35; }
@media (max-width: 420px) { .foodchain .fc-slot { width: 64px; min-height: 70px; } .foodchain .fc-slot i { font-size: 24px; } .foodchain .fc-slot b { font-size: 10.5px; } .foodchain .fc-arr { font-size: 13px; } }
/* ── PLANET ORDER: deep space ── */
html .ar.g-planets, html.dark .ar.g-planets { --bg: #070b1d; --card: #0f1630; --ink: #eef2ff; --body: #c7d0f0; --mute: #8792bd; --line: #26305a; --soft: #141d3d; color: #eef2ff; --c: #818cf8 !important; --pat-o: 0;
  background: radial-gradient(1.5px 1.5px at 10% 20%, #fff, transparent), radial-gradient(1px 1px at 30% 70%, #fff, transparent), radial-gradient(1.5px 1.5px at 60% 30%, #c7d2fe, transparent), radial-gradient(1px 1px at 80% 80%, #fff, transparent), radial-gradient(1px 1px at 90% 10%, #fff, transparent), radial-gradient(600px 300px at 0 0, rgba(250,204,21,.18), transparent 60%), #070b1d; }
html:not(.dark) .ar.g-planets { background: radial-gradient(1.5px 1.5px at 10% 20%, #fff, transparent), radial-gradient(1px 1px at 30% 70%, #fff, transparent), radial-gradient(1.5px 1.5px at 60% 30%, #c7d2fe, transparent), radial-gradient(700px 360px at 0 0, rgba(250,204,21,.35), transparent 60%), #111a3d; }
.planets .pl-hud { display: flex; justify-content: center; gap: 8px; margin-bottom: 8px; } .planets .pl-ask { margin: 0 0 14px; text-align: center; font-size: 17px; color: var(--body); } .planets .pl-ask b { color: #fde68a; }
.planets .pl-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-end; gap: 8px; }
.planets .pl-p { display: grid; justify-items: center; align-content: end; gap: 4px; min-width: 76px; min-height: 140px; padding: 8px 6px; background: rgba(255,255,255,.04) !important; }
.planets .pl-p i { display: block; border-radius: 50%; background: radial-gradient(circle at 32% 30%, rgba(255,255,255,.65), var(--pc) 45%, rgba(0,0,0,.55) 100%); box-shadow: 0 0 18px -4px var(--pc); animation: plSpin 6s ease-in-out infinite; }
.planets .pl-p i.ring { position: relative; } .planets .pl-p i.ring::after { content: ""; position: absolute; left: -30%; right: -30%; top: 42%; height: 16%; border-radius: 50%; border: 3px solid rgba(230,200,143,.9); transform: rotate(-14deg); }
@keyframes plSpin { 50% { transform: translateY(-4px); } }
.planets .pl-p b { font-size: 14px; color: var(--ink) !important; }
.planets .pl-p.ok { background: rgba(34,197,94,.16) !important; border-color: #22c55e !important; } .planets .pl-p.no { background: rgba(239,68,68,.22) !important; border-color: #ef4444 !important; } .planets .pl-p small { min-height: 16px; font-weight: 900; color: #86efac; }
.planets .pl-fact { display: inline-block; margin-top: 6px; }
/* ── ELEMENT HUNT: a chemistry lab ── */
html .ar.g-elements { --bg: #eef7f6; --card: #fff; --ink: #0f2a2a; --body: #2f4d4c; --mute: #6a8584; --line: #cfe4e2; --soft: #f4fbfa; color: #0f2a2a; --c: #0d9488 !important; --pat-o: 0;
  background: radial-gradient(circle at 15% 85%, rgba(13,148,136,.12) 0 40px, transparent 41px), radial-gradient(circle at 85% 15%, rgba(124,58,237,.1) 0 60px, transparent 61px), repeating-linear-gradient(60deg, rgba(13,148,136,.05) 0 1px, transparent 1px 26px), #eef7f6; }
html.dark .ar.g-elements { --bg: #061413; --card: #0c2120; --ink: #e6fbf8; --body: #b9dcd7; --mute: #7fa29d; --line: #1b3b38; --soft: #10302d; color: #e6fbf8; --c: #2dd4bf !important;
  background: repeating-linear-gradient(60deg, rgba(45,212,191,.05) 0 1px, transparent 1px 26px), #061413; }
.elements .el-table { position: relative; display: grid; grid-template-columns: repeat(18, 1fr); grid-template-rows: repeat(9, auto); gap: 2px; margin: 0 0 12px; padding: 6px; border-radius: 12px; background: var(--soft); border: 1.5px solid var(--line); }
.elements .el-c { display: grid; place-items: center; aspect-ratio: 1; border-radius: 3px; background: rgba(13,148,136,.16); color: var(--body); font: 700 clamp(7px, 1.6vw, 11px)/1 Inter, sans-serif; }
.elements .el-c.hi { background: #f59e0b; color: #fff; font-size: clamp(9px, 2vw, 14px); animation: elPulse 1s ease-in-out infinite; z-index: 1; } .elements .el-c.shown { animation: none; background: #22c55e; transform: scale(1.5); box-shadow: 0 2px 8px rgba(0,0,0,.3); }
@keyframes elPulse { 50% { transform: scale(1.35); } }
.elements .el-f { grid-row: 9; grid-column: 1 / 6; align-self: center; font: 600 9px/1 Inter, sans-serif; color: var(--mute); }
.elements .el-ask { margin: 0 0 12px; text-align: center; font-size: 18px; color: var(--body); } .elements .el-sym { display: inline-grid; place-items: center; min-width: 48px; height: 48px; padding: 0 8px; border-radius: 8px; background: var(--c); color: #fff; font-size: 24px; vertical-align: middle; }
/* ── WEATHER WORDS: a TV weather map ── */
html .ar.g-weather { --bg: #e8f4ff; --card: #fff; --ink: #0c2540; --body: #2b4a6b; --mute: #6683a1; --line: #cfe2f5; --soft: #f3f9ff; color: #0c2540; --c: #0284c7 !important; --pat-o: 0;
  background: radial-gradient(70px 34px at 15% 18%, #fff 60%, transparent 62%), radial-gradient(90px 40px at 80% 26%, #fff 60%, transparent 62%), radial-gradient(circle at 92% 6%, #fde047 0 36px, rgba(253,224,71,.3) 37px 52px, transparent 53px), linear-gradient(#bfe3ff, #e8f4ff 60%); }
html.dark .ar.g-weather { --bg: #07111f; --card: #0d1d33; --ink: #e8f2ff; --body: #bcd0e8; --mute: #8199b6; --line: #1f3654; --soft: #11253f; color: #e8f2ff; --c: #38bdf8 !important;
  background: radial-gradient(circle at 90% 20%, #e2e8f0 0 22px, transparent 23px), radial-gradient(1px 1px at 20% 30%, #fff, transparent), radial-gradient(1px 1px at 60% 20%, #fff, transparent), linear-gradient(#020617, #0c1e33); }
.weather .wt-ask { margin: 0 0 14px; text-align: center; font-size: 18px; color: var(--body); line-height: 1.5; } .weather .wt-ask b { color: var(--ink); }
.weather .wt-pic { display: block; margin: 0 auto 8px; font-size: 76px; line-height: 1.1; animation: wtFloat 3s ease-in-out infinite; } @keyframes wtFloat { 50% { transform: translateY(-6px); } }
.weather .wt-gap { display: inline-block; min-width: 70px; border-bottom: 3px solid var(--c); color: transparent; }
/* ── TRUE OR MADE-UP?: a detective's desk and a big rubber stamp ── */
html .ar.g-truefake { --bg: #f5f0e6; --card: #fffdf7; --ink: #29231a; --body: #51473a; --mute: #877b69; --line: #e5dccb; --soft: #faf6ee; color: #29231a; --c: #7c2d12 !important; --pat-o: 0;
  background: repeating-linear-gradient(45deg, rgba(124,45,18,.04) 0 12px, transparent 12px 24px), #f5f0e6; }
html.dark .ar.g-truefake { --bg: #120f0b; --card: #1d1912; --ink: #f7f0e3; --body: #d9cdb7; --mute: #a0937c; --line: #3a3224; --soft: #241f16; color: #f7f0e3; --c: #fb923c !important; background: repeating-linear-gradient(45deg, rgba(251,146,60,.04) 0 12px, transparent 12px 24px), #120f0b; }
.truefake .tm-paper { position: relative; margin: 0 0 14px; padding: 22px 18px; border-radius: 10px; background: #fffef8; color: #29231a; box-shadow: 0 10px 22px -14px rgba(0,0,0,.5); transform: rotate(-.6deg); background-image: repeating-linear-gradient(0deg, transparent 0 29px, rgba(59,130,246,.15) 29px 30px); }
.truefake .tm-q { margin: 0; font: 600 20px/1.5 Georgia, "Times New Roman", serif; text-align: center; }
.truefake .ar-card { overflow: hidden; }
.truefake .tm-stamp { position: absolute; right: 12px; bottom: 4px; display: none; padding: 4px 14px; border: 4px solid; border-radius: 8px; font: 900 22px/1 Inter, sans-serif; letter-spacing: .1em; opacity: 0; transform: rotate(-14deg) scale(1.6); }
.truefake .tm-stamp.on { display: block; }
.truefake .tm-stamp.on { animation: tmStamp .35s ease-out forwards; } .truefake .tm-stamp.yes { color: #15803d; border-color: #15803d; } .truefake .tm-stamp.myth { color: #b91c1c; border-color: #b91c1c; }
@keyframes tmStamp { to { opacity: .9; transform: rotate(-14deg) scale(1); } }
.truefake .tm-paper { padding-bottom: 34px; }
.truefake .tm-opts .ar-opt { min-height: 58px; font-size: 18px; font-weight: 800; }


/* ══ BATCH 5, NEW WAYS TO PLAY THE KNOWLEDGE QUESTIONS (18 Nov 2026, assets/arcade/ar-k.js) — one look per game, day and night ══ */
/* ── QUIZ LADDER: a TV quiz studio — spotlights, a gold ladder ── */
html .ar.g-quizladder { --bg: #efeafe; --card: #fff; --ink: #1e1446; --body: #3f3570; --mute: #7a72a6; --line: #dcd3fb; --soft: #f6f3ff; color: #1e1446; --c: #6d28d9 !important; --pat-o: 0;
  background: conic-gradient(from 200deg at 50% -10%, transparent 0 10deg, rgba(250,204,21,.18) 14deg 22deg, transparent 26deg 40deg, rgba(250,204,21,.14) 44deg 50deg, transparent 54deg), radial-gradient(900px 420px at 50% 0, #ddd3ff, #efeafe 70%); }
html.dark .ar.g-quizladder { --bg: #0b0920; --card: #15113a; --ink: #f2eeff; --body: #cdc5f2; --mute: #9189c4; --line: #2c2563; --soft: #1b1648; color: #f2eeff; --c: #facc15 !important;
  background: conic-gradient(from 200deg at 50% -10%, transparent 0 10deg, rgba(250,204,21,.10) 14deg 22deg, transparent 26deg 40deg, rgba(167,139,250,.12) 44deg 50deg, transparent 54deg), radial-gradient(900px 420px at 50% 0, #241c63, #0b0920 70%); }
.quizladder .ql-wrap { display: grid; gap: 14px; } .quizladder .ql-side { display: none; }
.quizladder .ql-bar { display: flex; gap: 3px; margin: 0 0 10px; } .quizladder .ql-bar i { flex: 1; height: 8px; border-radius: 99px; background: var(--line); }
.quizladder .ql-bar i.safe { height: 12px; margin-top: -2px; box-shadow: 0 0 0 2px #f59e0b inset; } .quizladder .ql-bar i.done { background: #f59e0b; } .quizladder .ql-bar i.now { background: #a78bfa; animation: qlPulse 1s ease-in-out infinite; }
@keyframes qlPulse { 50% { transform: scaleY(1.6); } }
@media (min-width: 900px) { .quizladder .ql-wrap { grid-template-columns: 1fr 230px; align-items: start; } .quizladder .ql-side { display: block; } .quizladder .ql-bar { display: none; } }
.quizladder .ql-for { background: linear-gradient(90deg, #f59e0b, #facc15) !important; color: #3b2300 !important; font-weight: 900; }
.quizladder .ql-card .ar-qt { font-size: clamp(18px, 2.4vw, 23px); text-align: center; }
.quizladder .ql-opts { grid-template-columns: 1fr 1fr; } @media (max-width: 480px) { .quizladder .ql-opts { grid-template-columns: 1fr; } }
.quizladder .ql-opts .ar-opt { display: flex; align-items: center; gap: 10px; text-align: left; border-radius: 999px; padding: 8px 16px 8px 8px; min-height: 52px; }
.quizladder .ql-opts .ar-opt i { flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(#fde68a, #f59e0b); color: #3b2300; font: 900 14px/1 Inter, sans-serif; font-style: normal; }
.quizladder .ql-opts .ar-opt.lock { background: #f59e0b !important; border-color: #b45309 !important; color: #2b1700 !important; animation: qlLock .45s ease-in-out infinite alternate; }
@keyframes qlLock { to { box-shadow: 0 0 0 6px rgba(245,158,11,.35); } }
.quizladder .ql-opts .ar-opt.gone { opacity: .12; }
.quizladder .ql-help { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 12px 0 0; }
.quizladder .ql-help .ar-btn { border-radius: 999px; } html.dark .ar.g-quizladder .ar-btn { color: #2b1700; } .quizladder .ql-help .ar-btn[disabled] { opacity: .35; text-decoration: line-through; }
.quizladder .ql-steps { margin: 0; padding: 10px; list-style: none; border-radius: 18px; background: var(--card); border: 1.5px solid var(--line); box-shadow: 0 18px 40px -26px rgba(30,20,70,.55); }
.quizladder .ql-steps li { display: flex; justify-content: space-between; gap: 8px; padding: 3px 10px; border-radius: 99px; font: 700 13.5px/1.4 Inter, sans-serif; color: var(--mute); }
.quizladder .ql-steps li.safe { color: var(--ink); } .quizladder .ql-steps li.safe b::before { content: "🛡 "; }
.quizladder .ql-steps li.done { color: #16a34a; } .quizladder .ql-steps li.now { background: linear-gradient(90deg, #f59e0b, #facc15); color: #2b1700; }
.quizladder .ql-steps li.up { animation: qlUp .6s ease-out; } @keyframes qlUp { 40% { transform: scale(1.08); background: #22c55e; color: #fff; } }
/* ── 60-SECOND BLITZ: speed — orange, red, racing lines ── */
html .ar.g-blitz { --bg: #fff3e8; --card: #fff; --ink: #2a1205; --body: #5b3418; --mute: #94704f; --line: #fbd9bd; --soft: #fff8f1; color: #2a1205; --c: #ea580c !important; --pat-o: 0;
  background: repeating-linear-gradient(-20deg, transparent 0 34px, rgba(234,88,12,.07) 34px 38px), radial-gradient(800px 380px at 50% 0, #ffe0c2, #fff3e8 70%); }
html.dark .ar.g-blitz { --bg: #160902; --card: #24120a; --ink: #fff1e6; --body: #f2cfb5; --mute: #b48b6e; --line: #47240f; --soft: #2d170c; color: #fff1e6; --c: #fb923c !important;
  background: repeating-linear-gradient(-20deg, transparent 0 34px, rgba(251,146,60,.06) 34px 38px), radial-gradient(800px 380px at 50% 0, #3b1606, #160902 70%); }
.blitz .ar-hud { position: relative; } .blitz .ar-h.t { font-size: 18px; background: linear-gradient(90deg, #ef4444, #f97316) !important; color: #fff !important; }
.blitz .ar-h.t.low { animation: bzLow .5s ease-in-out infinite alternate; } @keyframes bzLow { to { transform: scale(1.12); } }
.blitz .bz-streak { margin: 0 0 8px; padding: 6px 12px; border-radius: 99px; text-align: center; font-weight: 700; color: var(--body); background: var(--soft); border: 1.5px dashed var(--line); }
.blitz .bz-streak.hot { color: #fff; background: linear-gradient(90deg, #f97316, #ef4444); border-color: transparent; animation: bzHot 1s ease-in-out infinite; } @keyframes bzHot { 50% { box-shadow: 0 0 18px rgba(249,115,22,.6); } }
.blitz .bz-pop { position: absolute; right: 8px; top: -6px; padding: 4px 10px; border-radius: 99px; font: 900 16px/1 Inter, sans-serif; animation: bzPop 1.1s ease-out forwards; pointer-events: none; }
.blitz .bz-pop.up { background: #22c55e; color: #fff; } .blitz .bz-pop.down { background: #ef4444; color: #fff; }
@keyframes bzPop { from { transform: translateY(10px) scale(.6); opacity: 0; } 20% { transform: none; opacity: 1; } to { transform: translateY(-34px); opacity: 0; } }
.blitz .ar-card { border-width: 2px; } .blitz .ar-pic .qp { width: 64px; height: 64px; font-size: 36px; }
.blitz .ar-opt { font-size: 16px; }
/* ── THREE CLUES: a detective's notebook ── */
html .ar.g-threeclues { --bg: #f1e8d6; --card: #fffaf0; --ink: #2b2112; --body: #54442a; --mute: #8a7858; --line: #e3d4b4; --soft: #f8f1e2; color: #2b2112; --c: #0f766e !important; --pat-o: 0;
  background: radial-gradient(circle at 85% 12%, rgba(15,118,110,.12) 0 60px, transparent 61px), repeating-linear-gradient(0deg, transparent 0 31px, rgba(43,33,18,.06) 31px 32px), #f1e8d6; }
html.dark .ar.g-threeclues { --bg: #0b1514; --card: #12211f; --ink: #eaf6f3; --body: #c2dbd6; --mute: #86a39d; --line: #22403b; --soft: #172b28; color: #eaf6f3; --c: #2dd4bf !important;
  background: radial-gradient(500px 300px at 80% 0, rgba(250,204,21,.12), transparent 70%), #0b1514; }
.threeclues .tc-worth { background: linear-gradient(90deg, #fde68a, #f59e0b) !important; color: #3b2300 !important; }
.threeclues .tc-clues { display: grid; gap: 8px; margin: 0 0 12px; }
.threeclues .tc-c { position: relative; padding: 10px 12px 10px 14px; border-radius: 12px; background: var(--soft); border: 1.5px dashed var(--line); color: var(--mute); }
.threeclues .tc-c p { margin: 4px 0 0; filter: blur(5px); user-select: none; } .threeclues .tc-c .tc-n { font: 800 12px/1 Inter, sans-serif; letter-spacing: .04em; text-transform: uppercase; }
.threeclues .tc-c:not(.on)::after { content: "🔒"; position: absolute; right: 12px; top: 8px; }
.threeclues .tc-c.on { border-style: solid; border-color: color-mix(in srgb, var(--c) 45%, var(--line)); background: var(--card); color: var(--ink); animation: tcIn .45s ease-out; box-shadow: 4px 4px 0 color-mix(in srgb, var(--c) 18%, transparent); }
.threeclues .tc-c.on p { filter: none; user-select: auto; font-size: 16.5px; line-height: 1.5; } .threeclues .tc-c.on .tc-n { color: var(--c); }
@keyframes tcIn { from { transform: rotateX(70deg); opacity: .3; } }
.threeclues .tc-gap { display: inline-block; min-width: calc(var(--w, 4) * .55em); padding: 0 4px; border-radius: 6px; background: var(--ink); color: var(--card); font-style: normal; font-weight: 900; text-align: center; }
.threeclues .tc-gap.open { background: #22c55e; color: #fff; }
.threeclues .tc-pic { float: right; margin: 0 0 4px 8px; } .threeclues .tc-pic .qp { width: 60px; height: 60px; font-size: 32px; }
.threeclues .tc-opts .ar-opt.gone { opacity: .15; text-decoration: line-through; }
.threeclues .tc-more { display: block; margin: 12px auto 0; } .threeclues .tc-more[disabled] { opacity: .35; }
/* ── KNOWLEDGE CROSSWORD: a newspaper puzzle page ── */
html .ar.g-quizcross { --bg: #efece4; --card: #fbfaf6; --ink: #161616; --body: #3a3a3a; --mute: #777; --line: #d9d4c7; --soft: #f4f1ea; color: #161616; --c: #1d4ed8 !important; --pat-o: 0;
  background: repeating-linear-gradient(90deg, transparent 0 46px, rgba(0,0,0,.035) 46px 47px), #efece4; }
html.dark .ar.g-quizcross { --bg: #101113; --card: #1a1b1f; --ink: #f1f1f1; --body: #cfcfcf; --mute: #8f8f8f; --line: #2e3036; --soft: #212328; color: #f1f1f1; --c: #60a5fa !important;
  background: repeating-linear-gradient(90deg, transparent 0 46px, rgba(255,255,255,.03) 46px 47px), #101113; }
.quizcross .qx-paper { display: flex; justify-content: center; margin: 0 0 12px; overflow-x: auto; }
.quizcross .qx-grid { display: grid; grid-template-columns: repeat(var(--cols), var(--px)); grid-template-rows: repeat(var(--rows), var(--px)); gap: 0; padding: 6px; border-radius: 10px; background: #111; }
html.dark .quizcross .qx-grid { background: #000; }
.quizcross .qx-c { position: relative; width: var(--px); height: var(--px); margin: 0; padding: 0; border: 1px solid #111; background: #fff; color: #111; font: 800 calc(var(--px) * .55)/1 Inter, sans-serif; cursor: pointer; }
.quizcross .qx-c small { position: absolute; left: 2px; top: 1px; font: 700 calc(var(--px) * .3)/1 Inter, sans-serif; color: #555; }
.quizcross .qx-c.cur { background: #fde68a; } .quizcross .qx-c.got { background: #dcfce7; color: #14532d; } .quizcross .qx-c.cur.got { background: #bbf7d0; }
.quizcross .qx-c.pop b { display: inline-block; animation: qxPop .5s ease-out; } @keyframes qxPop { 40% { transform: scale(1.5); } }
.quizcross .qx-ask { position: sticky; bottom: 0; z-index: 2; padding: 10px; border-radius: 14px; background: var(--soft); border: 1.5px solid var(--line); }
.quizcross .qx-now { margin: 0 0 8px; color: var(--body); font-size: 14px; } .quizcross .qx-now span { color: var(--ink); font-size: 16px; font-weight: 600; }
.quizcross .qx-row { display: flex; gap: 6px; } .quizcross .qx-row .ar-in { flex: 1; min-width: 0; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; }
.quizcross .qx-row .ar-in.no { animation: arShake .3s; border-color: var(--no); }
.quizcross .qx-clues { display: grid; gap: 10px; margin: 12px 0 0; } @media (min-width: 760px) { .quizcross .qx-clues { grid-template-columns: 1fr 1fr; } }
.quizcross .qx-clues h3 { margin: 0 0 4px; font: 800 13px/1.3 Inter, sans-serif; letter-spacing: .05em; text-transform: uppercase; color: var(--mute); }
.quizcross .qx-clues ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.quizcross .qx-cl { width: 100%; padding: 7px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--card); color: var(--body); text-align: left; font: 500 14px/1.4 Inter, sans-serif; cursor: pointer; }
.quizcross .qx-cl b { color: var(--c); } .quizcross .qx-cl i { color: var(--mute); font-style: normal; }
.quizcross .qx-cl.cur { border-color: var(--c); box-shadow: 0 0 0 2px color-mix(in srgb, var(--c) 30%, transparent); } .quizcross .qx-cl.got { opacity: .55; text-decoration: line-through; }
.quizcross .qx-end { text-align: center; margin: 12px 0 0; }
/* ── FACT DUEL: blue against red ── */
html .ar.g-factduel, html.dark .ar.g-factduel { --pat-o: 0; } html .ar.g-factduel { --c: #7c3aed !important; background: linear-gradient(180deg, #fee2e2 0 50%, #dbeafe 50% 100%); }
html.dark .ar.g-factduel { background: linear-gradient(180deg, #2a0d12 0 50%, #0b1a33 50% 100%); }
@media (min-width: 760px) { html .ar.g-factduel { background: linear-gradient(90deg, #dbeafe 0 50%, #fee2e2 50% 100%); } html.dark .ar.g-factduel { background: linear-gradient(90deg, #0b1a33 0 50%, #2a0d12 50% 100%); } }
.factduel .fd-wrap { display: flex; flex-direction: column; gap: 8px; min-height: calc(100vh - 150px); }
.factduel .fd-p { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 8px; padding: 12px; border-radius: 18px; background: var(--card); border: 3px solid var(--pc); transition: opacity .2s, box-shadow .2s; }
.factduel .fd-1 { --pc: #3b82f6; } .factduel .fd-2 { --pc: #ef4444; transform: rotate(180deg); }
.factduel .fd-top { display: flex; justify-content: space-between; align-items: center; font-weight: 800; color: var(--pc); } .factduel .fd-sc { min-width: 36px; padding: 2px 10px; border-radius: 99px; background: var(--pc); color: #fff; text-align: center; font-size: 18px; }
.factduel .fd-q { margin: 0; font-size: 17px; font-weight: 600; line-height: 1.4; text-align: center; color: var(--ink); }
.factduel .fd-os { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.factduel .fd-o { position: relative; min-height: 50px; padding: 8px 10px; border-radius: 14px; border: 2px solid color-mix(in srgb, var(--pc) 35%, var(--line)); background: var(--soft); color: var(--ink); font: 700 15px/1.25 Inter, sans-serif; cursor: pointer; touch-action: manipulation; }
.factduel .fd-o:active { transform: scale(.97); } .factduel .fd-o kbd { display: none; position: absolute; left: 6px; top: 4px; font: 700 10px/1 Inter, sans-serif; color: var(--mute); }
.factduel .fd-o.ok { background: #dcfce7; border-color: #22c55e; color: #14532d; } .factduel .fd-o.no { background: #fee2e2; border-color: #ef4444; color: #7f1d1d; animation: arShake .3s; }
.factduel .fd-p.won { box-shadow: 0 0 0 6px color-mix(in srgb, var(--pc) 35%, transparent); animation: fdWin .5s ease-out; } .factduel .fd-p.out { opacity: .55; }
@keyframes fdWin { 40% { box-shadow: 0 0 0 14px color-mix(in srgb, var(--pc) 45%, transparent); } }
.factduel .fd-msg { min-height: 20px; margin: 0; text-align: center; font-weight: 700; color: var(--pc); }
.factduel .fd-mid { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 12px; padding: 6px 10px; border-radius: 16px; background: var(--card); border: 1.5px solid var(--line); }
.factduel .fd-n { color: var(--mute); font-weight: 700; } .factduel .fd-score { font: 900 22px/1 Inter, sans-serif; } .factduel .fd-s1 { color: #3b82f6; } .factduel .fd-s2 { color: #ef4444; }
.factduel .fd-fb { flex-basis: 100%; } .factduel .fd-fb .ar-why { margin: 4px 0 6px; font-size: 13.5px; }
@media (min-width: 760px) {
  .factduel .fd-wrap { flex-direction: row; align-items: stretch; min-height: 0; } .factduel .fd-2 { transform: none; order: 3; } .factduel .fd-mid { order: 2; flex: 0 0 170px; flex-direction: column; justify-content: center; } .factduel .fd-1 { order: 1; }
  .factduel .fd-o kbd { display: block; }
}
.ar-end .fd-final { display: flex; justify-content: center; align-items: center; gap: 14px; margin: 6px 0 10px; font: 900 22px/1.2 Inter, sans-serif; } .ar-end .fd-final .fd-b1 { color: #3b82f6; } .ar-end .fd-final .fd-b2 { color: #ef4444; }


/* ══ BATCH 6 (18 Nov 2026, assets/arcade/ar-l.js): FLAGS OF THE PAST — a history museum: old flags in wooden frames, a label with the years ══ */
html .ar.g-oldflags { --bg: #f3ecdf; --card: #fffaf1; --ink: #2d2216; --body: #574633; --mute: #8c7a62; --line: #e4d6bf; --soft: #f8f1e4; color: #2d2216; --c: #8b5e34 !important; --pat-o: 0;
  background: repeating-linear-gradient(90deg, rgba(139,94,52,.05) 0 2px, transparent 2px 120px), linear-gradient(#efe4d0, #f3ecdf 40%); }
html.dark .ar.g-oldflags { --bg: #120d08; --card: #1c150e; --ink: #f6ecdc; --body: #d8c7ad; --mute: #a08c6f; --line: #3a2c1c; --soft: #241b12; color: #f6ecdc; --c: #d6a35c !important;
  background: radial-gradient(420px 300px at 50% 0, rgba(255,214,150,.16), transparent 70%), #120d08; }
.oldflags .of-frame { position: relative; width: min(300px, 82%); margin: 0 auto 14px; padding: 12px; border-radius: 6px; background: linear-gradient(135deg, #a47148, #6b4423); box-shadow: 0 16px 30px -18px rgba(0,0,0,.7), inset 0 0 0 3px rgba(255,255,255,.18); animation: ofHang 4s ease-in-out infinite; transform-origin: 50% -30px; }
.oldflags .of-frame::before { content: ""; position: absolute; left: 50%; top: -22px; width: 2px; height: 22px; background: #6b4423; }
@keyframes ofHang { 50% { transform: rotate(.8deg); } }
.oldflags .of-flag { display: block; width: 100%; height: auto; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.15); background: #fff; }
.oldflags .of-frame .of-flag { filter: sepia(.18) saturate(.95); }
.oldflags .of-tag { position: absolute; right: -10px; bottom: -14px; padding: 5px 10px; border-radius: 6px; background: #fffaf1; color: #2d2216; font: 800 13px/1 Inter, sans-serif; box-shadow: 0 6px 14px -8px rgba(0,0,0,.6); transform: rotate(-3deg); }
.oldflags .of-opts.imgs .ar-opt { display: grid; place-items: center; padding: 8px; min-height: 84px; } .oldflags .of-opts.imgs .of-flag { width: 120px; }
@media (max-width: 480px) { .oldflags .of-opts.imgs { grid-template-columns: 1fr 1fr; } .oldflags .of-opts.imgs .of-flag { width: 100%; max-width: 130px; } }
.oldflags .of-then { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 6px 0 10px; } .oldflags .of-then figure { margin: 0; text-align: center; }
.oldflags .of-then .of-flag { width: 120px; } .oldflags .of-then figcaption { margin-top: 4px; font: 700 12px/1.3 Inter, sans-serif; color: var(--mute); max-width: 140px; }
.oldflags .of-arrow { font-size: 26px; color: var(--c); animation: ofArrow 1.2s ease-in-out infinite; } @keyframes ofArrow { 50% { transform: translateX(5px); } }


/* Flags of the Past: "today it is several countries" (18 Nov 2026, o4f) */
.oldflags .of-many { display: grid; place-items: center; width: 120px; height: 80px; margin: 0 auto; border-radius: 6px; background: var(--soft); font-size: 44px; }

/* ══ LOGO QUIZ (18 Nov 2026, assets/arcade/ar-l.js): a city street at night — the logo hangs on a lit billboard; by day a shop window ══ */
html .ar.g-logos { --bg: #eef1f7; --card: #fff; --ink: #141a2b; --body: #3a4460; --mute: #76809c; --line: #d8deeb; --soft: #f5f7fc; color: #141a2b; --c: #e11d48 !important; --pat-o: 0;
  background: linear-gradient(180deg, transparent 0 62%, rgba(20,26,43,.06) 62% 63%, transparent 63%), repeating-linear-gradient(90deg, rgba(225,29,72,.05) 0 60px, rgba(59,130,246,.05) 60px 120px), #eef1f7; }
html.dark .ar.g-logos { --bg: #07080f; --card: #12142a; --ink: #f2f3ff; --body: #c8cbef; --mute: #8d91bd; --line: #262a52; --soft: #181b38; color: #f2f3ff; --c: #ff3d7f !important;
  background: radial-gradient(300px 120px at 20% 10%, rgba(255,61,127,.20), transparent 70%), radial-gradient(300px 120px at 80% 0, rgba(56,189,248,.18), transparent 70%), #07080f; }
.logoquiz .lq-board { position: relative; margin: 0 auto 32px; width: min(340px, 92%); padding: 14px; border-radius: 16px; background: #fff; box-shadow: 0 0 0 4px #141a2b, 0 18px 34px -20px rgba(0,0,0,.7); }
html.dark .logoquiz .lq-board { box-shadow: 0 0 0 4px #ff3d7f, 0 0 26px rgba(255,61,127,.45), 0 0 60px rgba(56,189,248,.18); animation: lqNeon 3s ease-in-out infinite; }
@keyframes lqNeon { 50% { box-shadow: 0 0 0 4px #ff3d7f, 0 0 14px rgba(255,61,127,.3), 0 0 40px rgba(56,189,248,.12); } }
.logoquiz .lq-board::before, .logoquiz .lq-board::after { content: ""; position: absolute; bottom: -22px; width: 6px; height: 22px; background: #141a2b; } .logoquiz .lq-board::before { left: 22%; } .logoquiz .lq-board::after { right: 22%; }
html.dark .logoquiz .lq-board::before, html.dark .logoquiz .lq-board::after { background: #2b2f55; }
.logoquiz .lq-box { position: relative; height: 150px; overflow: hidden; display: grid; place-items: center; border-radius: 8px; }
.logoquiz .lq-box img { max-width: 100%; max-height: 150px; width: auto; height: auto; object-fit: contain; }
.logoquiz .lq-box.zoom img { transform: scale(var(--z, 3)); transform-origin: var(--ox, 50%) var(--oy, 50%); transition: transform .9s cubic-bezier(.2,.8,.2,1), opacity .2s; opacity: 0; }
.logoquiz .lq-box.zoom.ready img { opacity: 1; } .logoquiz .lq-box.zoom.open img { transform: scale(1); }
.logoquiz .lq-box.zoom::after { content: "🔍"; position: absolute; right: 6px; top: 4px; font-size: 18px; } .logoquiz .lq-box.zoom.open::after { content: none; }
.logoquiz .lq-name { margin: 8px 0 0; text-align: center; font: 900 20px/1.2 Inter, sans-serif; color: #141a2b; }
.logoquiz .lq-opts.flags .ar-opt { display: flex; align-items: center; gap: 10px; text-align: left; } .logoquiz .lq-fl { width: 36px; height: 24px; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0,0,0,.15); flex: none; }
.logoquiz .ar-why .lq-fl { width: 24px; height: 16px; vertical-align: -3px; }
