/* One anchored workspace, with a little more komšiluk in its controls. */
.dashboard-brand{display:none}
.top-actions .icon-button,.top-actions .profile-button{border-radius:12px;transition:background .18s,border-color .18s;color:var(--ink)}
:root[data-theme=dark]{--muted:#c5d6e5;--line:#b5d5ee30}
:root[data-theme=dark] .top-actions .icon-button,:root[data-theme=dark] .top-actions .profile-button{background:#0c2239e8;border:1px solid #b9d8f057;box-shadow:inset 0 1px #ffffff12,0 3px 12px #03111f35;--control-fill:#112d46;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
:root[data-theme=dark] .top-actions #sound{color:#d9eeff}:root[data-theme=dark] .top-actions #theme{color:#ffdb97}:root[data-theme=dark] .top-actions #settings{color:#aad8ff}:root[data-theme=dark] .top-actions #account{color:#bcf1da}
:root[data-theme=dark] .top-actions .icon-button:hover,:root[data-theme=dark] .top-actions .profile-button:hover{background:#1d4566;border-color:#b6ddffb3}
.top-actions svg{stroke-width:2}.top-actions .avatar{color:inherit}
.mobile-nav{gap:5px;flex-shrink:0}.mobile-nav a{border-radius:12px;padding:5px 3px;position:relative;line-height:1.2;font-size:11px}.mobile-nav [data-icon]{width:29px;height:29px}.mobile-nav svg{width:27px;height:27px;stroke-width:1.65}.mobile-nav a.active:after{display:none}
:root[data-theme=dark] .mobile-nav{background:linear-gradient(135deg,#0d293ee0,#10263bd6);border-color:#c9e4f74a;box-shadow:inset 0 1px #ffffff0d,0 8px 25px #02132333}
:root[data-theme=dark] .mobile-nav a{color:#d1dfeb}:root[data-theme=dark] .mobile-nav a.active{background:#8dc7f51a;color:#fff;box-shadow:inset 0 0 0 1px #a9d7ff38}
.mobile-nav a:nth-child(1) [data-icon]{color:#edc397}.mobile-nav a:nth-child(2) [data-icon]{color:#9bdac2}.mobile-nav a:nth-child(3) [data-icon]{color:#ffd28d}.mobile-nav a:nth-child(4) [data-icon]{color:#bcd0ff}
:root[data-theme=light] .mobile-nav a{color:#345267}:root[data-theme=light] .mobile-nav a.active{color:#102e49;background:#fff9;box-shadow:inset 0 0 0 1px #15426422}:root[data-theme=light] .mobile-nav a:nth-child(1) [data-icon]{color:#995424}:root[data-theme=light] .mobile-nav a:nth-child(2) [data-icon]{color:#28775e}:root[data-theme=light] .mobile-nav a:nth-child(3) [data-icon]{color:#986212}:root[data-theme=light] .mobile-nav a:nth-child(4) [data-icon]{color:#4d609b}
@media(min-width:801px){
 html{height:100%;overflow:hidden;overscroll-behavior:none}body{height:var(--app-height,100dvh);min-height:0;overflow:hidden;display:flex;flex-direction:column;padding:76px 0 10px;overscroll-behavior:none}.site-milje{position:fixed;height:57px}.site-milje img{min-width:1100px}.topbar,.bottom-caption{display:none}
 .layout{flex:1 1 auto;min-height:0;width:100%;max-width:1130px;margin:0 auto;padding:0 28px;display:grid;grid-template-columns:minmax(230px,330px) minmax(0,1fr);align-items:stretch;gap:28px}
 .intro{display:flex;flex-direction:column;min-height:0;overflow:hidden;padding:23px;border:1px solid var(--line);border-radius:24px;background:#0c263c50;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}:root[data-theme=light] .intro{background:#eef7ff73}
 .dashboard-brand{display:flex;align-items:center;gap:10px;font:800 20px/1.2 Manrope,system-ui,sans-serif;letter-spacing:-.5px;margin-bottom:19px}.dashboard-brand img{width:39px;height:39px;border-radius:12px}.dashboard-brand small{display:block;font:550 7px/1.3 'DM Sans',system-ui,sans-serif;letter-spacing:1.7px;color:var(--muted);margin-top:5px}.edition{font-size:8px;letter-spacing:.7px;gap:7px}.beta{font-size:7px;margin-left:auto;padding:3px 4px;white-space:nowrap}
 .intro h1{font-size:clamp(34px,3.4vw,48px);letter-spacing:-2px;line-height:1.12;margin:20px 0 16px}.intro-copy{font-size:12px;line-height:1.8;margin:0}.intro-rule{margin:19px 0;gap:13px}.intro-rule>span{font-size:40px;padding-right:15px}.intro-rule p{font-size:12px;line-height:1.6}.intro-rule strong{font-size:10px}.intro-stats{padding:16px 0;max-width:none;margin-top:auto}.intro-stats strong{font-size:22px}.intro-stats span{font-size:9px}.text-button{text-align:left;margin-top:15px;font-size:11px}.scene-caption{margin-top:23px;gap:11px}.scene-caption small{font-size:7px;letter-spacing:1.4px}.scene-caption button{font-size:16px;margin-top:4px}.scene-rule{height:31px}.dashboard-tools{margin-top:22px;padding-top:15px;border-top:1px solid var(--line)}.dashboard-tools .top-actions{display:flex;justify-content:space-between;gap:7px}.dashboard-tools .icon-button{width:43px;height:41px}.dashboard-tools .profile-button{padding:0;min-width:43px;height:41px}.dashboard-tools #account-label{display:none}.dashboard-tools .avatar{background:transparent;border:0;width:30px;height:30px}
 .workspace{display:flex;flex-direction:column;min-width:0;min-height:0;padding:0;height:100%;overflow:hidden}.main-panel{flex:1 1 auto;min-height:0;height:0;padding:22px 25px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;border-radius:24px;scrollbar-gutter:stable}
 .game-panel{display:flex;flex-direction:column;overflow:hidden;scrollbar-gutter:auto}.game-top{flex-shrink:0;margin-bottom:12px}.progress{flex-shrink:0;margin-bottom:16px}.question-heading{flex-shrink:0}.question-heading h2{font-size:29px;margin-top:5px}.timer-strip{flex-shrink:0;margin-top:13px}.game-panel .clues{flex:1 1 auto;min-height:0;max-height:290px;display:grid;grid-template-rows:repeat(5,minmax(0,1fr));margin:14px 0;gap:7px}.game-panel .clue{min-height:0;padding:8px 10px;font-size:12px;line-height:1.35;overflow:hidden;gap:10px}.answer-form{flex-shrink:0}.answer-row input{font-size:16px;min-height:43px;height:43px}.game-panel .primary{min-height:42px;height:42px;padding:9px 13px;font-size:13px}.answer-form .primary{margin-top:8px}.game-panel .secondary{flex-shrink:0;min-height:34px;height:34px;padding:7px 12px;font-size:12px}.answer-form+.secondary{margin-top:7px}.game-panel .feedback{flex-shrink:0;font-size:9px;min-height:13px;line-height:1.4;margin:8px 0 0}.archive-game-note{flex-shrink:0;font-size:9px;margin-top:7px}.game-panel.answered .clues{max-height:260px}.game-panel.answered .reveal-box{flex-shrink:0;margin-top:3px;padding:13px 15px}.game-panel.answered .reveal-box p{margin:4px 0 0;font-size:11px}.game-panel.answered .reveal-box h3{font-size:23px;margin:3px 0}.game-panel.answered #next{flex-shrink:0;margin-top:12px}
 .ready-screen{display:flex;flex-direction:column;align-items:center;justify-content:center;flex:1;min-height:0;padding:15px 0}.ready-screen p{margin:4px 0}.score-bands{width:100%;margin-top:18px}.game-panel.awaiting-start{justify-content:space-between}
 .mobile-nav{margin-top:9px;padding:6px 8px;min-height:65px;flex:0 0 65px}.mobile-nav a{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:5px;font-size:10px}.panel-footer{flex:0 0 28px;min-height:28px;padding:8px 5px 0;font-size:9px}.panel-footer button{font-size:9px}.panel-footer .pain-link{font-size:9px}.archive-list{max-height:none;overflow:visible}.page-head{margin-bottom:18px}.league-panel .empty-state{padding:20px 8px}.league-panel .empty-state>svg{width:64px;height:64px;opacity:1;color:var(--accent)}.results-panel .result-score{font-size:56px;margin:14px 0}.results-panel .result-row{padding:10px 0}.notice{font-size:11px}
}
@media(min-width:801px) and (max-height:820px){
 body{padding-top:61px}.site-milje{height:43px}.layout{gap:22px}.intro{padding:19px}.dashboard-brand{margin-bottom:14px;font-size:18px}.dashboard-brand img{width:34px;height:34px}.intro h1{font-size:38px;margin:15px 0 13px}.intro-rule{margin:15px 0}.intro-stats{padding:13px 0}.scene-caption{margin-top:17px}.dashboard-tools{margin-top:16px;padding-top:13px}
 .main-panel{padding:16px 20px}.game-top{margin-bottom:8px}.progress{margin-bottom:10px}.step{height:26px}.question-heading h2{font-size:25px}.timer-strip{margin-top:9px;padding:7px 10px}.timer-label strong{font-size:19px}.timer-track{margin-top:6px}.game-panel .clues{margin:10px 0;gap:5px;max-height:240px}.game-panel .clue{font-size:11px;padding:5px 8px;gap:8px}.clue .num{height:21px;min-width:21px;width:21px;font-size:10px}.game-panel .primary{height:37px;min-height:37px}.answer-row input{height:39px;min-height:39px}.game-panel .secondary{height:30px;min-height:30px;font-size:11px}.game-panel .feedback{font-size:8px;margin-top:6px}.archive-game-note{display:none}.game-panel.answered .reveal-box{padding:10px 12px}.game-panel.answered .reveal-box h3{font-size:22px}.game-panel.answered .clues{max-height:220px}.game-panel.answered #next{margin-top:9px}.mobile-nav{min-height:58px;flex-basis:58px;margin-top:7px;padding:4px 6px}.mobile-nav svg{width:25px;height:25px}.mobile-nav [data-icon]{width:27px;height:27px}.panel-footer{min-height:25px;flex-basis:25px;padding-top:6px}.ready-clock{width:48px;height:48px;margin-bottom:7px}.ready-screen h3{font-size:21px;margin:7px 0}.ready-screen p{font-size:12px}.score-bands{margin-top:13px}.score-bands>span{padding:7px 2px}.score-bands strong{font-size:11px}
}
@media(min-width:801px) and (max-height:660px){body{padding-top:49px;padding-bottom:6px}.site-milje{height:34px}.intro{padding:16px}.intro h1{font-size:33px;margin:13px 0}.intro-copy,.intro-rule{display:none}.intro-stats{margin-top:14px}.scene-caption{margin-top:auto}.dashboard-tools{margin-top:14px}.main-panel{padding:12px 17px}.question-heading h2{font-size:22px}.question-heading .eyebrow{font-size:8px}.game-top .eyebrow{font-size:8px}.game-top{margin-bottom:6px}.progress{margin-bottom:7px}.step{height:23px}.timer-strip{margin-top:7px;padding:5px 9px}.game-panel .clues{gap:4px;margin:7px 0}.game-panel .clue{padding:3px 7px;font-size:10px;line-height:1.25}.game-panel .primary{height:33px;min-height:33px;font-size:12px}.answer-row input{height:35px;min-height:35px}.answer-form .primary{margin-top:5px}.game-panel .secondary{height:27px;min-height:27px}.game-panel .feedback{font-size:8px;margin-top:4px;min-height:10px}.mobile-nav{flex-basis:52px;min-height:52px;margin-top:5px;padding:3px 5px}.mobile-nav a{gap:2px;font-size:9px}.panel-footer{flex-basis:23px;min-height:23px;padding-top:4px}.ready-screen{padding:7px 0}.ready-screen h3{font-size:19px}.ready-clock{height:36px;width:36px}.ready-clock svg{height:24px;width:24px}.ready-screen p{font-size:11px}.score-bands{margin-top:9px}}
@media(max-width:800px){.mobile-nav{padding:4px 6px 5px}.mobile-nav a{font-size:9px;gap:3px;min-height:43px}.mobile-nav [data-icon]{width:25px;height:25px}.mobile-nav svg{height:24px;width:24px}.top-actions .icon-button,.top-actions .profile-button{border-radius:10px}:root[data-theme=dark] .top-actions .icon-button,:root[data-theme=dark] .top-actions .profile-button{background:#0b213bea;border-color:#bad9f06b}.main-panel{scrollbar-gutter:stable}.game-panel{scrollbar-gutter:auto}.league-panel .empty-state>svg{width:55px;height:55px;color:var(--accent);opacity:1}}

.main-panel{scrollbar-color:#91b9db66 transparent}.main-panel::-webkit-scrollbar{width:5px}.main-panel::-webkit-scrollbar-track{background:transparent}.main-panel::-webkit-scrollbar-thumb{background:#91b9db66;border-radius:6px}:root[data-theme=light] .main-panel{scrollbar-color:#426b8c66 transparent}

/* Character family from the main logo; four equal quadrants in the PNG atlas. */
.mobile-nav .mascot-icon{display:block;flex:none;width:36px;height:36px;border-radius:9px;background-image:url('assets/nav-mascots-v020.webp');background-size:200% 200%;background-repeat:no-repeat;box-shadow:0 2px 7px #0003}.mascot-play{background-position:0 0}.mascot-archive{background-position:100% 0}.mascot-stats{background-position:0 100%}.mascot-raja{background-position:100% 100%}.mobile-nav a{gap:4px}.mobile-nav{min-height:70px;flex-basis:70px}
@media(min-width:801px){.site-milje{height:86px;filter:drop-shadow(0 5px 5px #06132270)}body{padding-top:104px}.site-milje img{min-width:1000px;object-fit:cover;object-position:center bottom}}
@media(min-width:801px) and (max-height:820px){.site-milje{height:67px}body{padding-top:83px}.mobile-nav{min-height:65px;flex-basis:65px}}
@media(min-width:801px) and (max-height:660px){.site-milje{height:49px}body{padding-top:64px}.mobile-nav{min-height:61px;flex-basis:61px}.mobile-nav .mascot-icon{width:32px;height:32px}}
@media(max-width:800px){.mobile-nav{min-height:62px;flex-basis:62px;padding:4px 6px}.mobile-nav a{min-height:52px;font-size:9px;gap:3px}.mobile-nav .mascot-icon{height:33px;width:33px}.topbar .brand{font-size:14px}}
@media(max-width:800px) and (max-height:670px){.mobile-nav{min-height:57px;flex-basis:57px}.mobile-nav a{min-height:46px}.mobile-nav .mascot-icon{width:29px;height:29px}}

.raja-mascot-preview{display:block;width:90px;height:90px;margin:0 auto 12px;border-radius:20px;background-image:url('assets/nav-mascots-v020.webp');background-size:200% 200%;background-position:100% 100%}

/* Kompaktne ilustracije ostavljaju više prostora za igru. */
.mobile-nav{min-height:54px;flex-basis:54px}.mobile-nav .mascot-icon{width:26px;height:26px;border-radius:7px}.mobile-nav a{gap:3px}
@media(max-width:800px){.mobile-nav{min-height:51px;flex-basis:51px}.mobile-nav a{min-height:41px}.mobile-nav .mascot-icon{width:25px;height:25px}}
