/* Compatibility layer, no visual rebrand. */
:focus-visible{outline:3px solid #2563eb!important;outline-offset:3px}
.modal-overlay{overscroll-behavior:contain;max-height:100dvh;padding:max(12px,env(safe-area-inset-top)) 12px max(12px,env(safe-area-inset-bottom));box-sizing:border-box}
.modal-overlay>.board-container,.modal-overlay>.modal-content{max-height:calc(100dvh - 32px);overflow-y:auto;overscroll-behavior:contain;box-sizing:border-box}
.close-modal-top{min-height:44px;min-width:44px;z-index:10;flex-shrink:0}
.opt-btn{touch-action:manipulation;min-height:48px}
button:disabled{cursor:wait}
@media(max-width:480px){.modal-overlay>.board-container,.modal-overlay>.modal-content{width:100%;max-width:100%;padding:20px 16px}.close-modal-top{right:8px;top:8px}.header-nav{min-width:0}.passport-grid-inner{gap:10px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
.atlas-consent{position:fixed;bottom:16px;left:16px;max-width:360px;padding:16px;background:#fff;color:#334155;border:1px solid #cbd5e1;border-radius:14px;box-shadow:0 8px 32px #0f172a33;z-index:100000;font:14px/1.5 system-ui,sans-serif}.atlas-consent p{margin:0 0 12px}.atlas-consent button,.atlas-privacy-choice{padding:8px 10px;border:1px solid #cbd5e1;border-radius:8px;background:#f8fafc;color:#334155;cursor:pointer}.atlas-consent a{color:#6d28d9}@media(max-width:420px){.atlas-consent{right:12px;left:12px;bottom:12px}}
.atlas-connection-status{position:fixed;bottom:16px;left:50%;transform:translateX(-50%);width:min(480px,calc(100% - 32px));padding:16px;border:1px solid #cbd5e1;border-radius:14px;background:#fff;color:#334155;z-index:100001;box-shadow:0 8px 32px #0f172a33;font:14px/1.5 system-ui}.atlas-connection-status .action-btn{font-size:14px;padding:10px;display:inline-block;margin:4px;width:auto}.atlas-connection-status a{color:#6d28d9;display:inline-block;margin:8px}.atlas-connection-status p{margin:0 0 8px}

/* atlas-ui-polish-20261028 */
.atlas-consent{left:24px;bottom:24px;width:400px;max-width:calc(100vw - 48px);padding:24px;border:1px solid #a78bfa55;border-radius:24px;background:linear-gradient(145deg,#202342fa,#111b30fa);color:#e2e8f0;box-shadow:0 24px 70px #02061766;backdrop-filter:blur(18px);font:14px/1.65 Inter,system-ui,sans-serif;box-sizing:border-box}
.atlas-consent .atlas-consent-title{display:flex;align-items:center;gap:10px;margin:0 0 10px;color:#fff;font-size:17px;font-weight:800;line-height:1.4}
.atlas-consent-title span{display:grid;place-items:center;width:34px;height:34px;border-radius:12px;background:#8b5cf633;color:#c4b5fd}
.atlas-consent p{margin:0 0 18px;color:#cbd5e1;font-size:14px;line-height:1.65}
.atlas-consent-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.atlas-consent button{margin:0;min-height:46px;padding:10px 12px;border:1px solid #a78bfa66;border-radius:13px;background:#8b5cf61f;color:#f5f3ff;font:700 13px/1.4 Inter,system-ui,sans-serif;cursor:pointer;transition:background .18s,border-color .18s}
.atlas-consent button:hover{background:#8b5cf64d;border-color:#c4b5fd}
.atlas-consent .atlas-consent-details{display:inline-flex;align-items:center;min-height:36px;margin-top:10px;color:#c4b5fd;text-decoration:none;font-size:12px;font-weight:600}
.atlas-consent .atlas-consent-details:hover{color:#fff;text-decoration:underline}
footer .atlas-privacy-choice{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:36px;margin:12px 0 0;padding:6px 13px;border:1px solid #94a3b833;border-radius:999px;background:#ffffff06;color:#b9c2d5;font:600 12px/1.5 Inter,system-ui,sans-serif;cursor:pointer;box-shadow:none;transition:background .18s,color .18s}
footer .atlas-privacy-choice:hover{background:#8b5cf626;color:#ede9fe;border-color:#a78bfa66}
.atlas-guide-links{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}
body .facts .atlas-guide-links a{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:12px 18px;border:1px solid #a78bfa55;border-radius:14px;background:#ffffff08;color:#ede9fe;text-decoration:none;font-size:14px;font-weight:700;line-height:1.5;transition:background .18s,border-color .18s}
body .facts .atlas-guide-links a:hover{background:#8b5cf62b;border-color:#c4b5fd}
body > footer{box-sizing:border-box;padding:28px 20px;border-top:1px solid #94a3b81f;background:#0b1225aa}
body > footer a{display:inline-block;padding:6px 4px;color:#cbd5e1;text-decoration:none;font-size:14px;font-weight:650;line-height:1.6}
body > footer a:hover{color:#c4b5fd}
body > footer p{color:#94a3b8;font-size:13px;line-height:1.6;margin:10px 0 0}
@media(max-width:480px){.atlas-consent{left:12px;right:12px;bottom:max(12px,env(safe-area-inset-bottom));width:auto;max-width:none;padding:20px;border-radius:20px;max-height:calc(100dvh - 24px);overflow:auto}.atlas-guide-links{flex-direction:column}.atlas-guide-links a{width:100%;box-sizing:border-box}}
/* Shared special-day intro for visitors, sign-in and authenticated lobby. */
#event-splash-screen[hidden]{display:none!important}
#event-splash-screen:not([hidden]){position:fixed;inset:0;width:100%;height:100dvh;display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:18px;padding:28px;text-align:center;box-sizing:border-box;z-index:2147483000!important;background:linear-gradient(135deg,var(--event-a,#1e293b),var(--event-b,#0f172a));color:#fff;animation:none!important;pointer-events:auto!important;font-family:Inter,system-ui,sans-serif}
.atlas-event-open{overflow:hidden}
#event-splash-screen .atlas-event-icon{font-size:clamp(48px,12vw,90px);line-height:1.2}
#event-splash-screen h2{max-width:900px;margin:0;font-size:clamp(28px,6vw,56px);font-weight:900;line-height:1.2;color:#fff}
#event-splash-screen p{max-width:640px;margin:0;font-size:clamp(14px,3vw,18px);line-height:1.7;color:#f1f5f9}
#atlas-event-continue{margin-top:10px;min-height:48px;border:1px solid #ffffff88;border-radius:12px;background:#0004;color:#fff;padding:12px 22px;font:750 14px/1.5 Inter,system-ui,sans-serif;cursor:pointer}
body footer.atlas-unified-footer{width:100%;padding:28px 20px!important;background:#070d1b!important;border-top:1px solid #a78bfa26!important;text-align:center;box-sizing:border-box;font-family:Inter,system-ui,sans-serif}
body footer.atlas-unified-footer a{color:#cbd5e1!important;text-decoration:none;font-size:12px!important;font-weight:650!important;line-height:1.7}
body footer.atlas-unified-footer a:hover{color:#ddd6fe!important;text-decoration:underline;text-underline-offset:4px}
body footer.atlas-unified-footer a[href*="barisozcan.net"]{color:#f4d68b!important}
body footer.atlas-unified-footer p{color:#94a3b8!important;font-size:12px!important;line-height:1.7}
body footer.atlas-unified-footer :is(nav,.footer-links-wrap,.footer-seo-links){display:flex;justify-content:center;flex-wrap:wrap;align-items:center;gap:12px 20px}
#atlas-resume-card{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;background:#8b5cf60d;border:1px solid #a78bfa40;border-radius:12px;padding:14px;margin-bottom:20px;color:#cbd5e1;font-size:12px;line-height:1.6}
#atlas-resume-card button{border:1px solid #a78bfa60;background:#8b5cf622;color:#ddd6fe;border-radius:9px;padding:10px 12px;font:700 12px/1.5 Inter,system-ui,sans-serif;cursor:pointer}
.atlas-game-premium #game-screen .opt-btn:disabled{cursor:default}
.atlas-game-premium #game-screen .opt-btn.atlas-answer-pending{box-shadow:inset 0 0 0 3px #ddd6fe;opacity:.85}

.atlas-game-premium #leaderboard-list-monthly>div{background:#17243a!important;border:1px solid #a78bfa40!important;color:#dbe4f4!important;border-radius:12px}
.atlas-game-premium #leaderboard-list-monthly>div span{color:#e2e8f0!important}
.atlas-game-premium #leaderboard-list-monthly>div span:last-child{color:#f4d68b!important}
