@font-face{font-family:IRANSX;src:url("../assets/fonts/IRANSansXFaNum-Regular.woff2") format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:IRANSX;src:url("../assets/fonts/IRANSansXFaNum-Bold.woff2") format("woff2");font-weight:700;font-display:swap}
:root{--bg:#080606;--panel:#130d0b;--panel-2:#1b110e;--text:#fff8f2;--muted:#baa9a0;--red:#e31c2d;--orange:#ff6a18;--amber:#ffb52e;--line:#ff873642;--success:#52d891}
*{box-sizing:border-box}
html{min-height:100%;background:var(--bg);scroll-behavior:smooth}
body{min-height:100vh;margin:0;background:radial-gradient(circle at 10% 12%,#a915201f,transparent 32%),radial-gradient(circle at 90% 90%,#ff6a181a,transparent 34%),var(--bg);color:var(--text);font-family:IRANSX,Tahoma,sans-serif;overflow-x:hidden}
button,a{font:inherit}
button{color:inherit}
.game-header{width:min(1180px,calc(100% - 32px));height:76px;margin:auto;display:flex;align-items:center;justify-content:space-between;gap:20px}
.game-brand{display:flex;align-items:center;text-decoration:none}
.game-brand img{width:auto;height:35px;object-fit:contain}
.game-logo-light{display:none}
.game-header-actions{display:flex;align-items:center;gap:10px}
.game-theme-toggle{position:relative;display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;padding:0;border:1px solid var(--line);border-radius:50%;background:#ffffff08;color:var(--text);cursor:pointer;overflow:hidden}
.game-theme-toggle span{position:absolute;display:grid;place-items:center;inset:0;transition:opacity .2s,transform .25s}
.game-theme-toggle .moon{opacity:0;transform:scale(.65)}
.back-link{min-height:40px;padding:9px 14px;border:1px solid var(--line);border-radius:11px;color:#f8e9df;text-decoration:none;font-size:13px;font-weight:700}
.game-shell{width:min(1080px,calc(100% - 32px));min-height:calc(100vh - 100px);margin:auto;padding:18px 0 32px;display:grid;place-items:center}
.game-panel{display:none;width:100%;border:1px solid var(--line);border-radius:28px;background:linear-gradient(145deg,#180f0df5,#0e0908f7);box-shadow:0 30px 90px #0008;overflow:hidden}
.game-panel.is-active{display:grid;animation:panel-in .45s cubic-bezier(.2,.8,.2,1)}
@keyframes panel-in{from{opacity:0;transform:translateY(14px) scale(.99)}to{opacity:1;transform:none}}
.intro-screen{grid-template-columns:.95fr 1.05fr;min-height:610px}
.intro-art{position:relative;display:grid;place-items:center;min-height:520px;overflow:hidden;background:radial-gradient(circle,#ff6a1826,transparent 62%)}
.intro-art img{position:relative;z-index:2;width:min(57.6%,312px);height:auto;filter:drop-shadow(0 26px 44px #0008);transform:translateY(8%)}
.orbit{position:absolute;left:50%;top:54%;border:1px solid #ff793d73}
.orbit-one{width:80%;height:50%;bottom:auto;border-radius:47% 53% 44% 56% / 58% 43% 57% 42%;box-shadow:0 0 42px #e31c2d22;transform:translate(-50%,-50%) rotate(-11deg)}
.orbit-two{width:61%;height:36%;bottom:auto;border-color:#ffb52e59;border-radius:55% 45% 58% 42% / 43% 57% 46% 54%;transform:translate(-50%,-50%) rotate(9deg)}
.intro-copy{display:flex;flex-direction:column;justify-content:center;padding:60px 58px}
.game-kicker{margin:0;color:#ffad65;font-size:14px;font-weight:800}
.intro-copy h1,.result-screen h2{margin:10px 0 18px;font-size:clamp(36px,5vw,62px);line-height:1.35;letter-spacing:-1.5px}
.intro-copy h1 em{display:block;color:#ff8137;font-style:normal}
.intro-copy>p:not(.game-kicker,.game-disclaimer){margin:0;color:#d3c4bc;font-size:17px;line-height:2}
.intro-features{display:flex;flex-wrap:wrap;gap:8px;margin:24px 0 16px}
.intro-features span{padding:8px 12px;border:1px solid #ff8a3d38;border-radius:999px;background:#ff6a180d;color:#ffd6bd;font-size:12px;font-weight:700}
.game-disclaimer{margin:0 0 22px;padding:10px 12px;border-right:3px solid var(--amber);border-radius:8px;background:#ffb52e0d;color:#d8c3b2;font-size:12px;line-height:1.9}
.primary-button,.secondary-button{min-height:52px;border:0;border-radius:13px;padding:13px 22px;display:inline-flex;align-items:center;justify-content:center;font-weight:900;text-decoration:none;cursor:pointer;transition:transform .2s,filter .2s}
.primary-button{background:linear-gradient(110deg,var(--red),#c71424 58%,var(--orange));color:#fff;box-shadow:0 16px 32px #e31c2d33}
.secondary-button{border:1px solid var(--line);background:#ffffff08;color:var(--text)}
.primary-button:hover,.secondary-button:hover{transform:translateY(-2px);filter:brightness(1.08)}
.play-screen{min-height:650px;padding:24px}
.game-status{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}
.game-status>div{min-width:0;padding:12px 14px;border:1px solid #ff8c3b24;border-radius:13px;background:#ffffff05;text-align:center}
.game-status small{display:block;color:var(--muted);font-size:11px}
.game-status strong{display:block;margin-top:4px;color:#fff;font-size:15px;white-space:nowrap}
#livesValue{color:#ff5c65;letter-spacing:3px}
.progress-track{height:4px;margin:15px 0 24px;border-radius:4px;background:#ffffff0c;overflow:hidden}
.progress-track span{display:block;width:20%;height:100%;background:linear-gradient(90deg,var(--red),var(--orange),var(--amber));transition:width .35s}
.stage{display:none;min-height:510px}
.stage.is-active{display:block;animation:stage-in .35s ease-out}
@keyframes stage-in{from{opacity:0;transform:translateX(12px)}to{opacity:1;transform:none}}
.stage-heading{text-align:center;margin:36px auto 30px}
.stage-heading p{margin:0;color:#ff9857;font-size:13px;font-weight:800}
.stage-heading h2{margin:7px 0 8px;font-size:clamp(27px,4vw,40px);line-height:1.45}
.stage-heading span{color:var(--muted);font-size:14px;line-height:1.8}
.compact-heading{margin:14px auto 20px}
.sequence-result{display:flex;justify-content:center;gap:10px;min-height:74px;margin-bottom:24px}
.sequence-result span{width:min(150px,29%);padding:14px 9px;border:1px solid #ff823a4a;border-radius:13px;background:#ff6a1812;text-align:center;font-size:13px;font-weight:800;animation:pop .25s ease-out}
@keyframes pop{from{transform:scale(.8);opacity:0}to{transform:none;opacity:1}}
.sequence-options{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;max-width:760px;margin:auto}
.sequence-option{min-height:120px;padding:18px;border:1px solid #ff873642;border-radius:16px;background:linear-gradient(145deg,#241511,#120c0a);cursor:pointer}
.sequence-option b{display:grid;place-items:center;width:35px;height:35px;margin:0 auto 10px;border-radius:10px;background:linear-gradient(145deg,var(--red),var(--orange))}
.sequence-option strong{display:block;text-align:center;font-size:15px}
.sequence-option:disabled{opacity:.35;cursor:default}
.collect-meta{display:flex;justify-content:space-between;gap:10px;max-width:840px;margin:0 auto 8px;color:#d8c5ba;font-size:13px}
.collect-meta>span{padding:6px 10px;border:1px solid #ff873626;border-radius:9px;background:#ffffff04}
.shield-status{transition:.25s}.shield-status.is-active{border-color:#4cbcff88;color:#8bd7ff;background:#1682c51c;box-shadow:0 0 20px #249ee626}
.combo-track{width:min(840px,100%);height:5px;margin:0 auto 7px;border-radius:10px;background:#ffffff0c;overflow:hidden}
.combo-track span{display:block;width:0;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--red),var(--orange),var(--amber));transition:width .25s}
.collect-hint{max-width:840px;margin:0 auto 8px;color:#aa9990;font-size:11px;text-align:center}.collect-hint b{color:#ffab69}
.collect-arena{position:relative;isolation:isolate;width:min(840px,100%);height:355px;margin:auto;border:1px solid #ff873638;border-radius:20px;background:radial-gradient(circle at center,#5c1b1524,transparent 58%),repeating-linear-gradient(90deg,#ffffff05 0 1px,transparent 1px 68px),repeating-linear-gradient(#ffffff05 0 1px,transparent 1px 68px),#0c0807;overflow:hidden;touch-action:manipulation}
.collect-arena:after{content:"";position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 0 55px #000a}
.token{position:absolute;z-index:2;width:58px;height:58px;border:1px solid #ffc17899;border-radius:50%;display:grid;place-items:center;background:radial-gradient(circle at 32% 25%,#ffd49b,var(--orange) 50%,#b62a18);color:#fff;font-size:11px;font-weight:900;cursor:pointer;box-shadow:0 0 0 7px #ff6a1814,0 10px 24px #0006;animation:token-in .25s ease-out,token-pulse 1.2s ease-in-out infinite}
.token.bad{border-color:#ff6674;background:radial-gradient(circle at 32% 25%,#ff8a91,#bc1021 55%,#650811);font-size:9px;box-shadow:0 0 0 7px #e31c2d14,0 10px 24px #0006}
.token.shield{border-color:#86d8ff;background:radial-gradient(circle at 32% 25%,#d8f5ff,#219cd8 54%,#07558c);box-shadow:0 0 0 7px #27a9ed17,0 10px 24px #0006}
.token.gold{border-color:#fff0a5;background:radial-gradient(circle at 32% 25%,#fffbd1,#ffc227 50%,#d06900);box-shadow:0 0 0 8px #ffc2271f,0 0 28px #ffc22755;animation:token-in .25s ease-out,token-pulse .75s ease-in-out infinite}
.pair-cluster{position:absolute;z-index:3;display:flex;gap:12px}.pair-cluster:before{content:"";position:absolute;z-index:-1;top:27px;right:45px;width:42px;height:7px;border-radius:8px;background:linear-gradient(90deg,var(--red),var(--orange));box-shadow:0 0 15px #ff6a1877}.pair-cluster .token{position:relative;inset:auto!important;width:58px;height:58px;animation:token-in .25s ease-out,token-pulse 1s ease-in-out infinite}.pair-token span,.pair-token small{display:block}.pair-token small{margin-top:-8px;font-size:8px}.pair-token.is-picked{opacity:.45;scale:.9}
.collect-message{margin-top:7px}
@keyframes token-in{from{opacity:0;transform:scale(.5)}to{opacity:1;transform:none}}
@keyframes token-pulse{50%{scale:1.06}}
.memory-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;max-width:800px;margin:10px auto}
.memory-card{position:relative;min-height:120px;border:0;border-radius:15px;background:#211410;cursor:pointer;transform-style:preserve-3d;transition:transform .4s}
.memory-card.is-open,.memory-card.is-matched{transform:rotateY(180deg)}
.memory-face{position:absolute;inset:0;padding:14px;border:1px solid #ff873638;border-radius:15px;display:grid;place-items:center;backface-visibility:hidden;text-align:center;font-size:13px;font-weight:800;line-height:1.8}
.memory-front{background:linear-gradient(145deg,#2c1713,#120b09);color:#ff9f62;font-size:28px}
.memory-back{transform:rotateY(180deg);background:linear-gradient(145deg,#4d1718,#1c0d0c);color:#fff}
.memory-card.is-matched .memory-back{border-color:#52d89180;background:linear-gradient(145deg,#19452f,#10281d)}
.stage-message{min-height:28px;margin:16px auto 0;text-align:center;color:#ffba83;font-size:13px}
.quiz-card{max-width:760px;margin:22px auto;padding:28px;border:1px solid #ff873638;border-radius:20px;background:#ffffff05}
.quiz-card h3{min-height:68px;margin:0 0 20px;font-size:21px;line-height:1.9;text-align:center}
.quiz-options{display:grid;gap:10px}
.quiz-option{min-height:52px;padding:12px 16px;border:1px solid #ff873638;border-radius:12px;background:#190f0d;text-align:right;cursor:pointer;font-weight:700}
.quiz-option:hover{border-color:#ff8e4b99;background:#25130f}
.quiz-option.correct{border-color:#52d891;background:#143525}
.quiz-option.wrong{border-color:#ff5261;background:#3c1118}
.decision-board{max-width:820px;margin:12px auto;padding:24px;border:1px solid #ff873638;border-radius:20px;background:#ffffff05}
.decision-situation{display:flex;align-items:flex-start;gap:14px;min-height:92px;padding:18px;border:1px solid #ff9d4b30;border-radius:15px;background:linear-gradient(135deg,#3a1b12,#180e0b)}
.decision-situation>span{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:12px;background:linear-gradient(145deg,var(--red),var(--orange));font-size:22px;font-weight:900}
.decision-situation h3{margin:0;font-size:18px;line-height:2}
.decision-options{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin-top:14px}
.decision-option{display:flex;align-items:flex-start;gap:10px;min-height:126px;padding:15px 13px;border:1px solid #ff873638;border-radius:14px;background:linear-gradient(145deg,#251511,#120c0a);color:var(--text);text-align:right;cursor:pointer}
.decision-option b{display:grid;place-items:center;flex:0 0 28px;width:28px;height:28px;border-radius:9px;background:#ff6a181c;color:#ffac72}
.decision-option span{font-size:13px;font-weight:700;line-height:1.9}
.decision-option.correct{border-color:#52d891;background:#143525}
.decision-option.wrong{border-color:#ff5261;background:#3c1118}
.decision-option.selected{box-shadow:0 0 0 2px #52d89133}
.decision-feedback{min-height:48px;margin:13px 4px 0;color:var(--muted);font-size:12px;line-height:1.9;text-align:center}
.decision-feedback.correct{color:#78e2aa}.decision-feedback.wrong{color:#ff9aa2}
.result-screen{max-width:720px;min-height:590px;padding:58px;text-align:center;place-items:center;align-content:center}
.result-badge{display:grid;place-items:center;width:83px;height:83px;border:1px solid #ffbd6780;border-radius:25px;background:linear-gradient(145deg,var(--red),var(--orange));color:#fff;font-size:38px;box-shadow:0 18px 44px #e31c2d3d;transform:none}
.result-screen>.game-kicker{margin-top:16px}
.result-screen h2{margin:13px 0 5px;font-size:44px}
.result-screen>p:not(.game-kicker,.game-disclaimer,.best-score){color:var(--muted);line-height:1.9}
.result-score{min-width:210px;margin:22px 0;padding:16px 30px;border:1px solid var(--line);border-radius:16px;background:#ff6a180b}
.result-score small{display:block;color:var(--muted)}
.result-score strong{display:block;margin-top:4px;color:#ffad63;font-size:34px}
.best-score{margin:0 0 20px;color:#ffd9c1;font-size:13px}
.result-actions{display:flex;justify-content:center;gap:10px;width:100%;margin-bottom:18px}
.result-actions>*{flex:1;max-width:240px}
.result-screen .game-disclaimer{max-width:520px;margin:0}
.toast{position:fixed;z-index:20;right:50%;bottom:24px;max-width:calc(100% - 32px);padding:11px 16px;border:1px solid var(--line);border-radius:12px;background:#24120ff2;color:#fff;font-size:13px;opacity:0;pointer-events:none;transform:translate(50%,18px);transition:.25s}
.toast.is-visible{opacity:1;transform:translate(50%,0)}
@media(max-width:760px){.game-header{height:64px;width:calc(100% - 22px)}.game-brand img:first-child{height:25px}.game-brand img:last-child{height:27px}.game-brand span{height:22px}.back-link{min-height:36px;padding:8px 10px;font-size:11px}.game-shell{width:calc(100% - 20px);min-height:calc(100svh - 72px);padding:8px 0 20px}.game-panel{border-radius:22px}.intro-screen{grid-template-columns:1fr;min-height:calc(100svh - 92px)}.intro-art{min-height:260px}.intro-art img{width:min(50%,210px)}.orbit-one{width:62%;height:49%;bottom:7%}.orbit-two{width:48%;height:35%;bottom:13%}.intro-copy{padding:24px 22px 28px;text-align:center}.intro-copy h1{font-size:34px}.intro-copy>p:not(.game-kicker,.game-disclaimer){font-size:14px}.intro-features{justify-content:center;margin:16px 0 12px}.game-disclaimer{text-align:right;font-size:11px}.play-screen{min-height:calc(100svh - 92px);padding:14px 12px}.game-status{grid-template-columns:repeat(4,1fr);gap:5px}.game-status>div{padding:9px 4px}.game-status small{font-size:9px}.game-status strong{font-size:12px}.progress-track{margin:11px 0 14px}.stage{min-height:calc(100svh - 205px)}.stage-heading,.compact-heading{margin:14px auto 17px}.stage-heading h2{font-size:25px}.stage-heading span{font-size:12px}.sequence-result{min-height:58px;margin-bottom:15px;gap:5px}.sequence-result span{padding:10px 5px;font-size:10px}.sequence-options{grid-template-columns:1fr;gap:8px}.sequence-option{min-height:76px;display:flex;align-items:center;gap:12px;padding:11px 14px}.sequence-option b{flex:0 0 34px;margin:0}.sequence-option strong{text-align:right;font-size:13px}.collect-meta{font-size:11px}.collect-arena{height:calc(100svh - 300px);min-height:330px}.token{width:54px;height:54px}.memory-grid{grid-template-columns:repeat(2,1fr);gap:8px}.memory-card{min-height:92px}.memory-face{padding:10px;font-size:11px}.quiz-card{margin:12px auto;padding:18px 13px}.quiz-card h3{min-height:60px;font-size:17px}.quiz-option{font-size:13px}.result-screen{min-height:calc(100svh - 92px);padding:34px 18px}.result-badge{width:78px;height:78px}.result-screen h2{font-size:34px}.result-actions{flex-direction:column;align-items:stretch}.result-actions>*{max-width:none}.result-score{margin:15px 0}.toast{bottom:14px}}
@media(max-width:760px){.collect-meta{flex-wrap:wrap;font-size:11px}.collect-meta>span{flex:1;min-width:88px;text-align:center}.collect-hint{font-size:10px;line-height:1.7}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}.token{animation:none}}

@media(max-width:760px){
  .intro-art img{width:min(40%,168px)}
  .result-badge{width:70px;height:70px;border-radius:23px;font-size:34px}
  .orbit-one{bottom:auto;width:68%;height:50%;transform:translate(-50%,-50%) rotate(-13deg)}
  .orbit-two{bottom:auto;width:52%;height:36%;transform:translate(-50%,-50%) rotate(10deg)}
  .decision-board{margin:8px auto;padding:13px}
  .decision-situation{min-height:76px;padding:12px;gap:10px}
  .decision-situation>span{flex-basis:32px;width:32px;height:32px;font-size:18px}
  .decision-situation h3{font-size:14px;line-height:1.85}
  .decision-options{grid-template-columns:1fr;gap:7px;margin-top:9px}
  .decision-option{align-items:center;min-height:58px;padding:9px 11px}
  .decision-option span{font-size:12px;line-height:1.75}
  .decision-feedback{min-height:40px;margin-top:8px;font-size:11px}
  .game-brand img{height:25px}
}

@media(min-width:761px) and (max-height:760px) and (orientation:landscape){
  .game-shell{min-height:calc(100svh - 76px);padding:8px 0 14px}
  .intro-screen{min-height:calc(100svh - 98px)}
  .intro-art{min-height:400px}
  .intro-art img{width:min(52%,270px);transform:translateY(12%)}
  .intro-copy{padding:30px 42px}
  .intro-copy h1{font-size:clamp(34px,4.2vw,50px);margin-block:7px 12px}
  .intro-copy>p:not(.game-kicker,.game-disclaimer){font-size:15px;line-height:1.85}
  .intro-features{margin:14px 0 10px}
  .game-disclaimer{margin-bottom:14px;padding-block:8px}
  .orbit{top:57%}
}

html[data-theme="light"]{--bg:#fffaf6;--panel:#fff;--panel-2:#fff4ed;--text:#2a1c18;--muted:#75665e;--line:#d85b2f36;--success:#239a63;color-scheme:light}
html[data-theme="light"] body{background:radial-gradient(circle at 10% 12%,#e4481f12,transparent 32%),radial-gradient(circle at 90% 90%,#ff9b5415,transparent 34%),var(--bg)}
html[data-theme="light"] .game-logo-dark{display:none}
html[data-theme="light"] .game-logo-light{display:block}
html[data-theme="light"] .game-theme-toggle{background:#fff;border-color:#d64c1f24;color:#513c33;box-shadow:0 8px 18px #6a2b140d}
html[data-theme="light"] .game-theme-toggle .sun{opacity:0;transform:scale(.65)}
html[data-theme="light"] .game-theme-toggle .moon{opacity:1;transform:scale(1)}
html[data-theme="light"] .back-link{background:#fff;color:#513c33}
html[data-theme="light"] .game-panel{background:linear-gradient(145deg,#fff,#fff6f0);box-shadow:0 26px 70px #6f2e1417}
html[data-theme="light"] .intro-art{background:radial-gradient(circle,#ff7a2420,transparent 62%)}
html[data-theme="light"] .intro-art img{filter:drop-shadow(0 22px 34px #5d2a1426)}
html[data-theme="light"] .intro-copy>p:not(.game-kicker,.game-disclaimer){color:#6f5f57}
html[data-theme="light"] .intro-features span{background:#fff1e7;color:#8f351b}
html[data-theme="light"] .game-disclaimer{background:#ffb52e12;color:#6e5849}
html[data-theme="light"] .game-status>div,html[data-theme="light"] .decision-board,html[data-theme="light"] .quiz-card{background:#fffaf7}
html[data-theme="light"] .game-status strong{color:#2a1c18}
html[data-theme="light"] .sequence-option,html[data-theme="light"] .decision-option,html[data-theme="light"] .quiz-option{background:linear-gradient(145deg,#fff,#fff4ed)}
html[data-theme="light"] .decision-situation{background:linear-gradient(135deg,#fff1e7,#fffaf6)}
html[data-theme="light"] .collect-arena{background:radial-gradient(circle at center,#ff7d240d,transparent 62%),repeating-linear-gradient(90deg,#7b351206 0 1px,transparent 1px 68px),repeating-linear-gradient(#7b351206 0 1px,transparent 1px 68px),#fffaf6}
html[data-theme="light"] .collect-arena:after{box-shadow:inset 0 0 24px #8e4a2312}
html[data-theme="light"] .memory-card{background:#fff1e8}
html[data-theme="light"] .memory-front{background:linear-gradient(145deg,#fff,#fff1e7);color:#d64f20}
html[data-theme="light"] .memory-back{background:linear-gradient(145deg,#ffe7da,#fff7f2);color:#2a1c18}
html[data-theme="light"] .memory-card.is-matched .memory-back{color:#fff}
html[data-theme="light"] .secondary-button{background:#fff;color:#422d25}
html[data-theme="light"] .decision-option.correct,html[data-theme="light"] .quiz-option.correct{border-color:#239a63;background:#e8f8ef}
html[data-theme="light"] .decision-option.wrong,html[data-theme="light"] .quiz-option.wrong{border-color:#d43d4c;background:#fff0f1}

/* V112: regular, smaller intro ellipses and subtle robot motion. */
.orbit-one {
  width: 56% !important;
  height: 35% !important;
  border-radius: 50% !important;
  transform: translate(-50%, -50%) rotate(-8deg) !important;
}

.orbit-two {
  width: 43% !important;
  height: 25.2% !important;
  border-radius: 50% !important;
  transform: translate(-50%, -50%) rotate(7deg) !important;
}

@keyframes v112-game-robot-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -12px; }
}

.intro-art img {
  will-change: translate;
  animation: v112-game-robot-float 5.2s ease-in-out infinite;
}

@media (max-width: 760px) {
  .orbit-one {
    width: 47.6% !important;
    height: 35% !important;
  }

  .orbit-two {
    width: 36.4% !important;
    height: 25.2% !important;
  }
}

/* V142: center the experimental label directly below the game logo. */
.game-brand {
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0;
}
.game-brand .header-version-label {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 8px;
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}
html[data-theme="light"] .game-brand .header-version-label {
  color: #7b6b63;
}
@media (max-width: 760px) {
  .game-brand .header-version-label {
    margin-top: 1px;
    font-size: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .intro-art img {
    animation: none !important;
    will-change: auto;
  }
}

/* V111: keep the game's day mode visually identical to the landing system. */
html[data-theme="light"]{
  --bg:#fffaf6;
  --panel:#fff;
  --panel-2:#fff7f1;
  --text:#2a1c18;
  --muted:#75665e;
  --line:#cd542024;
}
html[data-theme="light"] body{
  color:var(--text);
  background:linear-gradient(#fffaf6 0,#fff7f1 55%,#fffaf6 100%);
}
html[data-theme="light"] .game-panel{
  border-color:#e7481f40;
  background:radial-gradient(circle at 8% 20%,#ff702b1a,transparent 35%),linear-gradient(135deg,#fff,#fff7f0 68%,#fff3ea);
  box-shadow:0 24px 70px #652b141a;
}
html[data-theme="light"] .game-status>div,
html[data-theme="light"] .result-score,
html[data-theme="light"] .decision-board,
html[data-theme="light"] .quiz-card{
  border-color:#cf4f1f21;
  background:#fff;
  box-shadow:0 10px 24px #58261209;
}
html[data-theme="light"] .game-status small,
html[data-theme="light"] .stage-heading span,
html[data-theme="light"] .collect-meta,
html[data-theme="light"] .collect-hint,
html[data-theme="light"] .result-screen>p:not(.game-kicker,.game-disclaimer,.best-score),
html[data-theme="light"] .best-score,
html[data-theme="light"] .decision-feedback{
  color:#75665e;
}
html[data-theme="light"] .sequence-result span,
html[data-theme="light"] .collect-meta>span{
  border-color:#cf4f1f21;
  background:#fff;
  color:#4b3931;
}
html[data-theme="light"] .game-disclaimer{
  border-right-color:var(--amber);
  background:#fff4df;
  color:#67584f;
}
html[data-theme="light"] .primary-button,
html[data-theme="light"] .result-badge,
html[data-theme="light"] .sequence-option b,
html[data-theme="light"] .decision-situation>span{
  color:#fff;
}
html[data-theme="light"] .memory-card.is-matched .memory-back,
html[data-theme="light"] .decision-option.correct,
html[data-theme="light"] .quiz-option.correct{
  color:#fff;
}
html[data-theme="light"] .decision-option.correct,
html[data-theme="light"] .quiz-option.correct{
  background:linear-gradient(145deg,#19764d,#125b3b);
}
html[data-theme="light"] .decision-feedback.correct{color:#19764d}
html[data-theme="light"] .decision-feedback.wrong{color:#b62b38}

/* V113: use the exact landing WebP logo in the game header. */
.game-brand img {
  width: auto;
  height: 35px;
  object-fit: contain;
}

@media (max-width: 760px) {
  .game-brand img,
  .game-brand img:first-child,
  .game-brand img:last-child {
    height: 25px;
  }
}

/* V143: add a clear, centered gap below the game logo. */
.game-brand .header-version-label {
  margin-top: 5px;
}
@media (max-width: 760px) {
  .game-brand .header-version-label {
    margin-top: 4px;
  }
}
