body{margin:0;background:#000;color:#f6f0df;font-family:Georgia,"Times New Roman",serif}
#timeRushGame{min-height:100vh;background:radial-gradient(circle at 50% 0,#11130f 0,#020304 38%,#000 100%)}
.history-unlocked-lockup{text-align:center;padding:18px 12px 14px;background:#050505;border-bottom:1px solid #282828}
.hu-title{color:#fff200;font-family:Impact,Haettenschweiler,"Arial Narrow Bold",sans-serif;font-size:clamp(28px,5vw,54px);letter-spacing:.06em;line-height:1}
.hu-subtitle{color:#94ff53;font-weight:700;font-style:italic;font-size:clamp(13px,2.1vw,19px);margin-top:6px}
.hu-credit{color:#ddd;font-size:clamp(9px,1.5vw,12px);margin-top:5px;letter-spacing:.04em}
.game-hero{width:min(1500px,100%);margin:0 auto;padding:0 0 18px;background:#020304;overflow:hidden}
.hero-image-wrap{position:relative;width:100%;aspect-ratio:1672/941;background:#000;overflow:hidden}
.hero-image{display:block;width:100%;height:100%;object-fit:contain;object-position:center center;image-rendering:auto}
.hero-title-mask{position:absolute;left:22%;right:22%;top:7%;height:32%;background:radial-gradient(ellipse at center,rgba(0,0,0,.96) 0 50%,rgba(0,0,0,.82) 66%,rgba(0,0,0,.18) 88%,transparent 100%);pointer-events:none}
.hero-title{position:absolute;z-index:3;left:50%;top:9%;transform:translateX(-50%);width:76%;text-align:center;text-shadow:0 3px 16px #000}
.world-title{color:#fff200;font-family:Impact,Haettenschweiler,"Arial Narrow Bold",sans-serif;font-size:clamp(24px,5.4vw,78px);letter-spacing:.08em;line-height:1}
.rush-title{color:#ffe083;font-family:Impact,Haettenschweiler,"Arial Narrow Bold",sans-serif;font-size:clamp(20px,4.3vw,62px);letter-spacing:.12em;line-height:1.05;margin-top:4px}
.game-subtitle{color:#fff;font-style:italic;font-weight:700;font-size:clamp(11px,1.8vw,24px);margin-top:6px}
.progress-bar{display:flex;justify-content:center;gap:7px;flex-wrap:wrap;margin:13px auto 0;padding:0 8px}
.progress-dot{width:31px;height:31px;border-radius:50%;border:1px solid rgba(214,173,77,.35);background:#090b0c;color:#6d6d68;display:grid;place-items:center;font:700 11px Arial,sans-serif;transition:.25s}
.progress-dot.current{color:#ffe38a;border-color:#d5a632;box-shadow:0 0 16px rgba(220,173,53,.32)}
.progress-dot.done{color:#10140e;background:#9acb51;border-color:#a6e65c}
.live-timeline{position:absolute;z-index:4;left:11.5%;right:11.5%;top:43.7%;height:14%;pointer-events:none}
.timeline-slots{height:100%;display:grid;grid-template-columns:repeat(var(--slot-count,6),1fr);align-items:center;gap:1.2%;position:relative}
.timeline-slot{appearance:none;border:0;background:transparent;position:relative;height:100%;min-width:0;color:#fff;padding:0;pointer-events:none}
.timeline-slot.filled{pointer-events:auto;cursor:pointer}
.timeline-slot .timeline-label{position:absolute;left:50%;transform:translateX(-50%);width:min(150px,15vw);color:#fff;font:800 clamp(8px,1.05vw,13px)/1.15 Arial,sans-serif;text-align:center;text-shadow:0 2px 5px #000,0 0 8px #000;opacity:0;animation:timelineFade .55s ease forwards}
.timeline-slot:nth-child(odd) .timeline-label{bottom:62%}.timeline-slot:nth-child(even) .timeline-label{top:62%}
.timeline-slot.empty .timeline-label{display:none}
@keyframes timelineFade{from{opacity:0;filter:blur(5px);transform:translateX(-50%) scale(.92)}to{opacity:1;filter:blur(0);transform:translateX(-50%) scale(1)}}
.game-shell{width:min(1160px,calc(100% - 20px));margin:0 auto 60px;display:grid;grid-template-columns:300px 1fr;gap:16px}
.panel{border:1px solid #2c2d29;border-radius:16px;background:rgba(10,11,9,.96);box-shadow:0 18px 46px rgba(0,0,0,.46),inset 0 1px rgba(255,255,255,.025)}
.controls{padding:20px;align-self:start;position:sticky;top:104px}
.controls h2,.main-panel h2{margin:0 0 10px;color:#fff200;font-family:Impact,Haettenschweiler,"Arial Narrow Bold",sans-serif;text-transform:uppercase;letter-spacing:.035em}
.mission-copy{font-size:13px;line-height:1.5;color:#ddd8c9;margin:0 0 14px}
.metrics{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0}
.metric{padding:10px;border:1px solid #34362f;border-radius:10px;background:#080908}
.metric b{display:block;color:#94ff53;font:700 9px Arial,sans-serif;letter-spacing:.13em;text-transform:uppercase;margin-bottom:5px}
.metric span{font-size:20px;color:#f2e6bd}
.hint-box,.result-box{margin-top:12px;padding:12px;border-radius:10px;border:1px solid #34362f;background:#0c0d0b;color:#ddd8c9;font-size:12px;line-height:1.45}
.hint-box strong,.result-box strong{color:#fff}
.action,.ghost{width:100%;min-height:48px;border-radius:11px;cursor:pointer;font-weight:800;transition:transform .18s,box-shadow .18s,filter .18s}
.action{color:#fff;border:1px solid rgba(255,255,255,.18);box-shadow:inset 0 1px rgba(255,255,255,.08),0 9px 20px rgba(0,0,0,.3)}
.action:hover,.action:focus-visible,.event-card:hover,.event-card:focus-visible{transform:translateY(-3px) scale(1.01);filter:brightness(1.14);outline:none}
.action[disabled]{opacity:.38;cursor:not-allowed;transform:none;filter:none}
.tone-maroon{background:linear-gradient(180deg,#671c2b,#2c0911)!important;border-color:#8b3445!important}
.tone-blue{background:linear-gradient(180deg,#174e7d,#071e35)!important;border-color:#286a9e!important}
.tone-green{background:linear-gradient(180deg,#246d42,#0a2d19)!important;border-color:#37885a!important}
.tone-gold,.tone-yellow{background:linear-gradient(180deg,#8a6418,#382306)!important;border-color:#b68b2e!important;color:#fff5c9!important}
.tone-red{background:linear-gradient(180deg,#671c2b,#2c0911)!important;border-color:#8b3445!important}
.ghost{border:1px solid #333;background:#111;color:#ddd;margin-top:7px}
.main-panel{padding:22px;min-height:440px}
.study-card{padding:22px;border:1px solid #34362f;border-radius:14px;background:linear-gradient(160deg,#11120f,#080907);line-height:1.65;color:#f2eee2;font-size:15px}
.study-card h3{margin:0 0 11px;color:#ffe38a;font-size:21px}
.study-timer{font:900 12px Arial,sans-serif;letter-spacing:.15em;color:#94ff53;text-transform:uppercase;margin-bottom:10px}
.card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.event-card{border:1px solid #3b3c35;border-radius:12px;color:#f5f1e7;padding:15px;text-align:left;cursor:pointer;min-height:82px;transition:.18s;position:relative;overflow:hidden}
.event-card strong{display:block;font-size:14px;line-height:1.25}.event-card small{display:block;margin-top:5px;color:#d2d2ca;font-size:10px}
.event-card.placed{opacity:.24;pointer-events:none}
.board-note{color:#a4a198;font-size:12px;line-height:1.45;margin:0 0 14px}
.feedback-order{margin:10px 0 0;padding-left:18px;color:#cfc9b9;font-size:12px}
.completion{display:none;position:fixed;inset:0;z-index:5000;background:rgba(0,0,0,.9);align-items:center;justify-content:center;padding:20px}
.completion.show{display:flex}
.badge-card{width:min(560px,100%);border:1px solid #a77c24;border-radius:24px;padding:34px;text-align:center;background:radial-gradient(circle at 50% 20%,rgba(221,166,49,.2),transparent 35%),linear-gradient(#15120a,#060706);box-shadow:0 0 60px rgba(215,161,48,.25)}
.badge-emblem{width:170px;height:170px;border-radius:50%;margin:0 auto 18px;border:5px double #d8aa46;display:grid;place-items:center;background:radial-gradient(circle,#2a210f,#0b0b08 70%);box-shadow:0 0 34px rgba(255,196,58,.35),inset 0 0 28px rgba(255,196,58,.12)}
.badge-emblem span{font-size:70px}
.badge-card h2{font-family:Impact,Haettenschweiler,"Arial Narrow Bold",sans-serif;color:#fff200;font-size:38px;margin:0 0 6px;text-transform:uppercase}
.badge-rank{color:#94ff53;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.unlock{margin:20px auto 0;padding:13px;border:1px solid #2f5e35;border-radius:12px;background:#071308;color:#baff72;font-weight:800}
#vaultReturn{margin-top:18px}
@media(max-width:900px){.history-unlocked-lockup{padding:14px 10px 12px}.game-shell{grid-template-columns:1fr;gap:10px}.controls{position:static}.card-grid{grid-template-columns:1fr}.timeline-slot .timeline-label{width:17vw;font-size:clamp(7px,1.7vw,10px)}}
@media(max-width:560px){.history-unlocked-lockup{padding:11px 8px 10px}.hu-title{font-size:30px}.hu-subtitle{font-size:12px}.hu-credit{font-size:9px}.hero-title-mask{left:13%;right:13%;top:5%;height:36%}.hero-title{top:7%;width:88%}.world-title{font-size:8vw}.rush-title{font-size:6.5vw}.game-subtitle{font-size:3.2vw;margin-top:4px}.live-timeline{left:8%;right:8%;top:42.7%;height:18%}.timeline-slot .timeline-label{width:19vw;font-size:2.05vw;line-height:1.08}.timeline-slot:nth-child(odd) .timeline-label{bottom:60%}.timeline-slot:nth-child(even) .timeline-label{top:60%}.progress-bar{gap:5px;margin-top:10px}.progress-dot{width:27px;height:27px}.game-shell{width:calc(100% - 12px);margin-top:8px}.main-panel,.controls{padding:15px}.main-panel{min-height:360px}.metrics{grid-template-columns:repeat(4,1fr);gap:5px}.metric{padding:8px 5px;text-align:center}.metric span{font-size:15px}.metric b{font-size:7px}.study-card{padding:17px;font-size:14px}.event-card{min-height:72px;padding:13px}.badge-card{padding:24px 18px}.badge-emblem{width:140px;height:140px}}

/* Build 14 banner + mobile-first Time Rush lock */
#timeRushGame{
  background:
    radial-gradient(ellipse at 50% 38%,rgba(27,72,45,.20),transparent 34%),
    linear-gradient(180deg,#020303 0%,#050806 48%,#000 100%);
}
.game-hero{width:min(1600px,100%);padding:0;margin:0 auto;background:#000;overflow:visible}
.hero-image-wrap{width:100%;aspect-ratio:2048/647;overflow:hidden;background:#000;box-shadow:0 12px 38px rgba(0,0,0,.55)}
.hero-image{width:100%;height:100%;object-fit:contain;object-position:center center;display:block;image-rendering:auto}
.hero-image-wrap::after{
  content:"";position:absolute;left:3%;right:3%;bottom:-2px;height:4px;
  background:linear-gradient(90deg,transparent,rgba(118,255,94,.22),rgba(179,255,116,.58),rgba(118,255,94,.22),transparent);
  box-shadow:0 0 20px rgba(112,255,98,.26);pointer-events:none;z-index:8
}
.hero-title,.hero-title-mask{display:none!important}
.live-timeline{left:8.5%;right:8.5%;top:60%;height:36%;z-index:7}
.timeline-slots{display:grid;grid-template-columns:repeat(var(--slot-count,6),1fr)!important;gap:1.2%;height:100%;align-items:stretch}
.timeline-slot{height:100%;min-width:0;background:transparent!important;border:0!important;box-shadow:none!important}
.timeline-slot .timeline-label{
  width:min(178px,15vw);padding:2px 3px;color:#fff;
  font:800 clamp(8px,.92vw,14px)/1.12 Arial,sans-serif;
  letter-spacing:.01em;text-shadow:0 2px 5px #000,0 0 10px #000,0 0 4px #000;
}
.timeline-slot:nth-child(odd) .timeline-label{bottom:58%}
.timeline-slot:nth-child(even) .timeline-label{top:56%}
.banner-transition{
  min-height:56px;display:flex;align-items:center;justify-content:center;gap:12px;flex-wrap:wrap;
  padding:9px 16px 5px;text-align:center;
  background:linear-gradient(180deg,rgba(6,14,9,.98),rgba(1,3,2,.98));
  border-top:1px solid rgba(126,255,93,.22);
  box-shadow:inset 0 13px 26px rgba(89,255,108,.035)
}
.banner-transition span{color:#fff200;font:800 13px/1 Arial,sans-serif;letter-spacing:.12em}
.banner-transition small{color:#8ee65e;font:italic 11px/1.25 Georgia,serif}
.progress-bar{margin:0 auto;padding:7px 8px 10px;background:#010201}
.game-shell{width:min(1320px,calc(100% - 22px));margin:0 auto 54px;gap:14px}
.controls{top:92px}
.main-panel{min-height:400px}
#game-shell-footer{border-top:1px solid rgba(124,255,92,.24);box-shadow:0 -16px 34px rgba(69,255,104,.055)}

@media(max-width:900px){
  .game-hero{width:100%}
  .game-shell{width:calc(100% - 12px);grid-template-columns:1fr;margin-top:0}
  .controls{position:static}
  .banner-transition{min-height:44px;padding:7px 10px 4px;gap:5px}
  .banner-transition span{font-size:11px}
  .banner-transition small{font-size:9px;width:100%}
  .timeline-slot .timeline-label{width:15.5vw;font-size:clamp(6px,1.35vw,9px)}
}
@media(max-width:560px){
  .hero-image-wrap{aspect-ratio:2048/647}
  .live-timeline{left:7.5%;right:7.5%;top:59%;height:38%}
  .timeline-slot .timeline-label{width:16vw;font-size:1.55vw;line-height:1.05;padding:1px}
  .timeline-slot:nth-child(odd) .timeline-label{bottom:58%}
  .timeline-slot:nth-child(even) .timeline-label{top:55%}
  .banner-transition{min-height:38px}
  .banner-transition span{font-size:10px}
  .banner-transition small{font-size:8px}
  .progress-bar{padding:5px 5px 8px;gap:4px}
  .progress-dot{width:24px;height:24px;font-size:9px}
  .game-shell{width:calc(100% - 10px);gap:8px}
  .controls,.main-panel{border-radius:12px;padding:13px}
  .mission-copy{margin-bottom:9px}
  .metrics{margin:8px 0}
  .action,.ghost{min-height:45px}
}

.game-sources{width:min(1160px,calc(100% - 20px));margin:-34px auto 52px;padding-top:14px;border-top:1px solid rgba(112,255,74,.16);font-family:Arial,sans-serif}
.game-sources details{color:#777;font-size:10px}
.game-sources summary{display:inline-block;cursor:pointer;color:#8f9389;font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;transition:color .18s}
.game-sources summary:hover,.game-sources summary:focus-visible{color:#a9e88b;outline:none}
.source-links{display:flex;flex-wrap:wrap;gap:6px 14px;margin-top:10px}
.source-links a{color:#7f9a79;text-decoration:none;border-bottom:1px dotted rgba(127,154,121,.45);line-height:1.4}
.source-links a:hover,.source-links a:focus-visible{color:#b8e89e;border-bottom-color:#b8e89e;outline:none}
.game-sources p{margin:9px 0 0;max-width:760px;color:#62665f;font-size:9px;line-height:1.45}
@media(max-width:560px){.game-sources{width:calc(100% - 24px);margin:-28px auto 38px}.source-links{display:grid;gap:7px}.source-links a{width:max-content;max-width:100%}}

.mastery-note{display:block;margin-top:9px;color:#b8e89e;font-weight:700;line-height:1.45}
.level-win-flash{position:fixed;inset:0;z-index:4900;display:grid;place-items:center;pointer-events:none;background:radial-gradient(circle at center,rgba(115,255,79,.12),rgba(0,0,0,0) 48%);opacity:0;transform:scale(.94);transition:opacity .22s ease,transform .3s cubic-bezier(.2,.9,.25,1.2)}
.level-win-flash.show{opacity:1;transform:scale(1)}
.level-win-inner{width:min(560px,86vw);padding:28px 22px;text-align:center;border:1px solid rgba(255,221,73,.6);border-radius:22px;background:radial-gradient(circle at 50% 10%,rgba(255,211,56,.19),transparent 40%),linear-gradient(160deg,rgba(15,24,13,.97),rgba(2,5,3,.98));box-shadow:0 0 34px rgba(117,255,76,.22),0 0 80px rgba(255,200,44,.12);text-shadow:0 3px 18px #000}
.level-win-kicker{color:#9cff65;font:800 12px Arial,sans-serif;letter-spacing:.18em}
.level-win-title{color:#fff200;font-family:Impact,Haettenschweiler,"Arial Narrow Bold",sans-serif;font-size:clamp(42px,8vw,78px);letter-spacing:.04em;line-height:1;margin:8px 0}
.level-win-next{color:#fff;font:800 clamp(14px,2.6vw,20px) Arial,sans-serif}
@media(max-width:560px){.level-win-inner{padding:24px 14px}.level-win-kicker{font-size:10px}.level-win-title{font-size:48px}}

/* Build 16C footer hardening — kept here so game and footer always style together */
#game-shell-footer{width:100%;overflow:hidden;background:#000;border-top:1px solid rgba(85,255,74,.22)}
#game-shell-footer .compact-game-footer{width:100%;margin:0;padding:34px 18px 20px;background:radial-gradient(circle at 50% 0,rgba(40,92,35,.18),transparent 34%),#000;color:#fff;text-align:center}
#game-shell-footer .share-game{width:min(760px,100%);margin:0 auto;text-align:center}
#game-shell-footer .share-kicker{margin:0 0 7px;color:#94ff53;font:800 9px Arial,sans-serif;letter-spacing:.22em}
#game-shell-footer .share-game h2{margin:0;color:#fff200;font-family:Impact,Haettenschweiler,"Arial Narrow Bold",Arial,sans-serif;font-size:clamp(28px,4vw,42px);letter-spacing:.05em}
#game-shell-footer .share-actions{display:flex;justify-content:center;align-items:center;gap:10px;flex-wrap:wrap;margin:17px auto 0}
#game-shell-footer .share-actions a,#game-shell-footer .share-actions button{margin:0;text-decoration:none;border:0;cursor:pointer;box-sizing:border-box}
#game-shell-footer .share-native{height:44px;padding:0 18px;border-radius:24px;background:linear-gradient(135deg,#23633b,#0b321c);color:#fff;border:1px solid #3c8c55;font:800 12px Arial,sans-serif}
#game-shell-footer .share-icon{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;color:#fff;font:900 17px Arial,sans-serif;box-shadow:0 6px 18px #000}
#game-shell-footer .share-facebook{background:#1d65bd}#game-shell-footer .share-x{background:#171717;border:1px solid #555}#game-shell-footer .share-pinterest{background:#b51625}#game-shell-footer .share-email{background:#7b5310}#game-shell-footer .share-copy{background:#4f2d73}
#game-shell-footer .share-actions a:hover,#game-shell-footer .share-actions button:hover{transform:translateY(-3px) scale(1.05);filter:brightness(1.14)}
#game-shell-footer .share-status{height:16px;margin-top:6px;color:#94ff53;font:700 10px Arial,sans-serif}
#game-shell-footer .footer-divider{width:min(900px,82%);height:1px;margin:22px auto 25px;background:linear-gradient(90deg,transparent,rgba(148,255,83,.42),rgba(255,242,0,.3),transparent)}
#game-shell-footer .join-title{margin:0 0 17px;color:#fff;font:800 18px Arial,sans-serif;letter-spacing:.08em}
#game-shell-footer .footer-social{display:flex;justify-content:center;align-items:center;gap:12px;flex-wrap:wrap;margin:0 auto}
#game-shell-footer .community-icon{width:54px;margin:0;display:flex;flex-direction:column;align-items:center;gap:5px;color:#999;text-decoration:none;font:700 8px Arial,sans-serif}
#game-shell-footer .community-icon>span{width:40px;height:40px;border-radius:50%;display:grid;place-items:center;color:#fff;font:900 14px Arial,sans-serif;border:1px solid rgba(255,255,255,.15)}
#game-shell-footer .community-icon small{color:#888;font:700 7px Arial,sans-serif}
#game-shell-footer .brand-youtube{background:#c91d2d}#game-shell-footer .brand-facebook{background:#1d65bd}#game-shell-footer .brand-instagram{background:linear-gradient(145deg,#7d35ad,#db4e55,#efb84b)}#game-shell-footer .brand-pinterest{background:#b51625}#game-shell-footer .brand-blog{background:#d97819}#game-shell-footer .brand-tpt{background:#18816e;font-size:9px}#game-shell-footer .brand-etsy{background:#d75a13;font:900 19px Georgia,serif}#game-shell-footer .brand-redbubble{background:#c92736;font-size:9px}#game-shell-footer .brand-zazzle{background:#292929}
#game-shell-footer .copyright{margin-top:23px;color:#666;font:400 9px Arial,sans-serif}
@media(max-width:560px){#game-shell-footer .compact-game-footer{padding:29px 10px 17px}#game-shell-footer .share-actions{gap:8px}#game-shell-footer .share-native{height:40px;padding:0 14px}#game-shell-footer .share-icon{width:40px;height:40px}#game-shell-footer .footer-social{gap:8px 4px}#game-shell-footer .community-icon{width:49px}#game-shell-footer .community-icon>span{width:37px;height:37px}}

/* Build 17 — quiet universal game-share footer */
#game-shell-footer .build17-footer{padding:30px 18px 18px;background:linear-gradient(180deg,#020403,#000);border:0}
#game-shell-footer .build17-footer .share-game{width:min(520px,100%);margin:0 auto}
#game-shell-footer .build17-footer .share-game h2{margin:0;color:#fff200;font:700 italic clamp(19px,2.2vw,25px)/1.15 Georgia,"Times New Roman",serif;letter-spacing:.015em;text-transform:none}
#game-shell-footer .build17-footer .share-actions{display:flex;justify-content:center;align-items:center;gap:13px;margin:14px auto 0}
#game-shell-footer .build17-footer .share-logo{width:38px;height:38px;display:grid;place-items:center;border-radius:50%;overflow:hidden;box-shadow:0 5px 15px rgba(0,0,0,.34);transition:transform .18s ease,filter .18s ease}
#game-shell-footer .build17-footer .share-logo svg{width:100%;height:100%;display:block}
#game-shell-footer .build17-footer .facebook-logo{background:#1877f2}#game-shell-footer .build17-footer .facebook-logo svg{fill:#fff}
#game-shell-footer .build17-footer .x-logo{background:#fff}#game-shell-footer .build17-footer .x-logo svg{width:22px;height:22px;fill:#000}
#game-shell-footer .build17-footer .pinterest-logo{background:#e60023}#game-shell-footer .build17-footer .pinterest-logo svg{fill:#fff}
#game-shell-footer .build17-footer .linkedin-logo{background:#0a66c2}#game-shell-footer .build17-footer .linkedin-logo svg{width:23px;height:23px;fill:#fff}
#game-shell-footer .build17-footer .share-logo:hover,#game-shell-footer .build17-footer .share-logo:focus-visible{transform:translateY(-3px) scale(1.06);filter:brightness(1.1);outline:1px solid rgba(255,242,0,.55)}
#game-shell-footer .build17-footer .share-status{height:8px;margin:0}
#game-shell-footer .build17-footer .copyright{margin:19px 0 0;color:#666;font:400 9px Arial,sans-serif}
@media(max-width:560px){#game-shell-footer .build17-footer{padding:25px 10px 15px}#game-shell-footer .build17-footer .share-game h2{font-size:19px}#game-shell-footer .build17-footer .share-actions{gap:11px;margin-top:12px}#game-shell-footer .build17-footer .share-logo{width:35px;height:35px}#game-shell-footer .build17-footer .copyright{margin-top:16px}}

/* Build 17 uploaded share icons */
#game-shell-footer .build17-footer .uploaded-logo{padding:0;border:0;background:transparent;appearance:none}
#game-shell-footer .build17-footer .uploaded-logo img{display:block;width:100%;height:100%;object-fit:cover;border-radius:10px}
#game-shell-footer .build17-footer button.uploaded-logo{cursor:pointer}
#game-shell-footer .build17-footer .x-custom{background:linear-gradient(145deg,#363636,#111);border:1px solid #4b4b4b;border-radius:10px}
#game-shell-footer .build17-footer .x-custom span{color:#fff;font:500 22px/1 Arial,sans-serif}

/* Build 18 — darker Time Rush interaction palette */
.action,.event-card{position:relative;overflow:hidden;isolation:isolate}
.tone-maroon{background:linear-gradient(145deg,#2c0b15 0%,#14060b 58%,#080304 100%)!important;border-color:#5d2431!important}
.tone-blue{background:linear-gradient(145deg,#0c263d 0%,#071522 58%,#02070c 100%)!important;border-color:#234c68!important}
.tone-green{background:linear-gradient(145deg,#12311f 0%,#081a10 58%,#020804 100%)!important;border-color:#2b5b3d!important}
.tone-gold,.tone-yellow{background:linear-gradient(145deg,#3b2b0b 0%,#1d1405 58%,#090601 100%)!important;border-color:#6d5520!important;color:#f5e8bd!important}
.tone-red{background:linear-gradient(145deg,#2c0b15 0%,#14060b 58%,#080304 100%)!important;border-color:#5d2431!important}
.action::after,.event-card::after{content:"";position:absolute;z-index:-1;top:-80%;left:-55%;width:32%;height:260%;transform:rotate(19deg) translateX(-260%);background:linear-gradient(90deg,transparent,rgba(255,255,255,.11),rgba(255,238,170,.16),transparent);opacity:0}
.action:hover::after,.action:focus-visible::after,.event-card:hover::after,.event-card:focus-visible::after{opacity:1;animation:timeRushShimmy .72s ease-out}
.action:hover,.action:focus-visible,.event-card:hover,.event-card:focus-visible{filter:brightness(1.08) saturate(.88);box-shadow:0 11px 28px rgba(0,0,0,.48),inset 0 1px rgba(255,255,255,.07)}
@keyframes timeRushShimmy{0%{transform:rotate(19deg) translateX(-260%)}100%{transform:rotate(19deg) translateX(620%)}}

#vaultReturn{background:linear-gradient(145deg,#3b2b0b,#130d03 65%,#070401)!important;border-color:#6d5520!important;color:#f5e8bd!important}

/* Build 29 — shared atmospheric section background */
body{
  background:#050504!important;
  position:relative;
}
body::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:0;
  pointer-events:none;
  background:
    linear-gradient(180deg,rgba(0,0,0,.52) 0%,rgba(0,0,0,.67) 42%,rgba(0,0,0,.82) 100%),
    url("/examine-the-past-home/games/assets/time-rush-section-bg-build29.png?v=29") center top/cover no-repeat;
  filter:saturate(.82) contrast(.96);
}
body>*,#timeRushGame{
  position:relative;
  z-index:1;
}
#timeRushGame{
  background:transparent!important;
}
@media(max-width:700px){
  body::before{
    background:
      linear-gradient(180deg,rgba(0,0,0,.72) 0%,rgba(0,0,0,.82) 48%,rgba(0,0,0,.90) 100%),
      url("/examine-the-past-home/games/assets/time-rush-section-bg-build29.png?v=29") center top/auto 100vh no-repeat;
    filter:saturate(.70) contrast(.92);
  }
}
@media(prefers-reduced-motion:reduce){
  body::before{background-attachment:scroll}
}

/* Build 29 — shared section background */
body{
  background:
    linear-gradient(rgba(0,0,0,.76),rgba(0,0,0,.86)),
    url("/examine-the-past-home/games/assets/history-unlocked-time-rush-section-bg-build29.png?v=29") center top / cover fixed no-repeat,
    #050504 !important;
}
@media (max-width:760px){
  body{
    background:
      linear-gradient(rgba(0,0,0,.87),rgba(0,0,0,.93)),
      url("/examine-the-past-home/games/assets/history-unlocked-time-rush-section-bg-build29.png?v=29") center top / cover scroll no-repeat,
      #050504 !important;
  }
}

/* Build 30 — section background */
body{background-color:#050504!important;background-image:linear-gradient(rgba(5,5,4,.30),rgba(5,5,4,.52)),url("/examine-the-past-home/games/assets/time-rush-section-bg-build30.png")!important;background-position:center top!important;background-size:cover!important;background-repeat:no-repeat!important;background-attachment:fixed!important}
@media(max-width:760px){body{background-image:linear-gradient(rgba(5,5,4,.42),rgba(5,5,4,.62)),url("/examine-the-past-home/games/assets/time-rush-section-bg-build30.png")!important;background-attachment:scroll!important}}