.turn-panel{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;border:0!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap;pointer-events:none}
.game-hub{position:fixed;z-index:6;top:15px;left:50%;transform:translateX(-50%);width:min(440px,calc(100% - 550px));padding:7px;background:linear-gradient(135deg,#32160ff5,#180a06f5);border:1px solid #b784456e;border-radius:8px;box-shadow:0 5px 25px #0007}.hub-nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}.hub-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:7px 3px;min-width:0;min-height:55px;font:11px/1.3 system-ui;color:#f9dc9c;background:#5f341927;border-color:#bb843c55}.hub-nav button>span:first-child{font:23px/1 Georgia;color:#e9bb5f}.hub-nav button:hover{background:#9d692939}.wallet-strip{display:flex;align-items:center;gap:10px;padding:8px 5px 0;font:10px system-ui;color:#d5b887}.wallet-strip>progress{height:4px;width:60px;accent-color:#e8b755;flex:1}.wallet-strip>button{padding:0 3px;min-height:20px;font:11px system-ui;background:none;border:0}.wallet-strip strong{color:#ffe2a0;font-variant-numeric:tabular-nums}.lobby-journey{margin:0 0 24px;padding:15px;border:1px solid #b7844555;border-radius:10px;background:#25110bed}.lobby-journey .hub-nav button{font-size:13px;min-height:62px}.lobby-journey .wallet-strip{font-size:12px}.language-tools{display:flex;gap:7px;align-items:center}#sound-toggle{padding:8px 12px;min-width:44px;font-size:20px;background:#291106f5}
.progress-panel{width:min(940px,calc(100% - 24px));max-height:90svh;padding:25px;background:radial-gradient(ellipse at top,#492714,#1d0c07 80%);border-radius:14px}.progress-panel h1{margin:6px 0 15px}.progress-wallet{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:14px 16px;border:1px solid #b7844555;border-radius:8px;background:#170a07a8;color:#f6cf7b;font:13px system-ui}.progress-wallet>strong{font:24px Georgia}.progress-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;margin:18px 0}.progress-tabs button{font:12px system-ui;padding:9px 3px}.progress-tabs [aria-selected=true]{background:#b9803155;border-color:#edc574;color:#fff0c6}.feature-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.feature-card{position:relative;overflow:hidden;padding:23px;border:1px solid #ad7b3b77;border-radius:12px;background:linear-gradient(140deg,#4c291dcc,#221006ed);display:flex;align-items:flex-start;flex-direction:column;gap:12px;box-shadow:inset 0 0 30px #af7a1110}.feature-card h2{font-size:25px;margin:0;color:#f5d48e}.feature-card p{font-size:13px;line-height:1.7}.feature-symbol{font:39px/1 Georgia;color:#e9bd66;text-shadow:0 4px 12px #0008}.feature-card>button{margin-top:auto;min-width:130px}.meta-label{font:10px/1.6 system-ui;color:#c9ac7c;letter-spacing:1px}.reward-value{font:bold 17px/1.5 system-ui;color:#f1c866}.milestone-number,.coin-total{font:48px/1 Georgia;color:#ffe2a0}.section-title,.ledger{grid-column:1/-1}.section-title{font:22px Georgia;color:#e7c17a;margin:13px 0 0}.feature-card.locked,.collection-card.uncollected{filter:saturate(.4);background:#21150ee0;border-color:#82653d55}.collection-card{min-height:250px;text-align:center;align-items:center;background:radial-gradient(ellipse at top,#68471b,#24110b 80%);border:2px solid #c18b3f}.collection-card .feature-symbol{font-size:64px;margin:10px}.collection-card.uncollected .feature-symbol{opacity:.3}.collection-label{margin-top:auto;font:bold 10px system-ui;letter-spacing:2px;color:#c6a46a}.planned-rate{font:19px/1.6 Georgia;color:#e1c794}.gift-preview{border-style:dashed;background:#281a11}.requirement{font:11px system-ui;color:#b79a78}.ledger{border-top:1px solid #b7844544;padding-top:15px}.ledger-row{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #b7844522;font:12px system-ui;color:#d4bb94}.ledger-row strong{color:#edc16b}.result-rewards{font:bold 20px system-ui;color:#f8cf77;margin:16px 0}.rivalry-score{font:22px/1.5 Georgia;color:#ffe2a0;margin-top:10px}#result-progression{padding-top:16px;margin-top:16px;border-top:1px solid #aa794744}.progress-panel button:disabled{opacity:.5}.capture-flash{animation:capture-glow .85s ease-out}@keyframes capture-glow{0%,100%{box-shadow:0 0 0 transparent}30%{box-shadow:0 0 30px #ffc85b,inset 0 0 20px #ffc85b55}}
.scene{background-image:none!important}.scene::before{content:'';position:absolute;inset:0;background-image:url('/royal-board.png');background-position:center;background-size:inherit;background-repeat:no-repeat;pointer-events:none}body[data-board="cedar"] .scene::before{filter:sepia(.45) saturate(.75) brightness(1.08)}body[data-board="emerald"] .scene::before{filter:sepia(.45) hue-rotate(65deg) saturate(.8) brightness(.82)}body[data-board="midnight"] .scene::before{filter:sepia(.55) hue-rotate(160deg) saturate(.6) brightness(.65)}body[data-seeds="ivory"] .seed{background:radial-gradient(ellipse at 35% 25%,#fffdf2,#ece0b6 35%,#a89468 70%,#53432b)}body[data-seeds="jade"] .seed{background:radial-gradient(ellipse at 35% 25%,#c7ffd8,#49bd80 35%,#116b4e 70%,#062f26)}body[data-seeds="ruby"] .seed{background:radial-gradient(ellipse at 35% 25%,#ffe0ce,#ea7460 35%,#9d2428 70%,#400b18)}body[data-crown="silver"] .players .crest{color:#d8e4ed}body[data-crown="royal"] .players .crest{color:#fff1a2;filter:drop-shadow(0 0 7px #ffc65a)}[data-preview="emerald"] .feature-symbol,[data-preview="jade"] .feature-symbol{color:#7cce9e}[data-preview="midnight"] .feature-symbol{color:#a7bde9}[data-preview="ivory"] .feature-symbol{color:#f4e9c5}[data-preview="ruby"] .feature-symbol{color:#df7b75}
@media(max-width:950px){.game-hub{top:108px;width:calc(100% - 28px);max-width:540px}.hub-nav button{font-size:12px}.game-hub .wallet-strip{padding-top:6px}}
@media(max-width:600px){.game-hub{top:105px;width:calc(100% - 20px);padding:6px}.hub-nav button{font-size:10px;min-height:52px}.hub-nav button>span:first-child{font-size:21px}.wallet-strip{font-size:10px;padding-top:6px}.progress-panel{padding:18px}.progress-wallet{padding:12px;align-items:flex-start}.progress-wallet>strong{font-size:21px}.progress-wallet>span{font-size:11px;text-align:right}.progress-tabs button{font-size:10px;min-height:44px}.feature-grid{grid-template-columns:1fr}.feature-card{padding:21px}.feature-card h2{font-size:23px}.lobby-journey{padding:10px}.lobby-journey .hub-nav button{font-size:10px;min-height:56px}.language-tools{gap:5px}#sound-toggle{padding:7px 9px}.collection-card{min-height:230px}.hub-nav button>span:last-child{overflow-wrap:anywhere}html[lang="am"] .hub-nav button{font:13px/1.4 Nyala,'Noto Sans Ethiopic',system-ui}html[lang="am"] .progress-tabs button{font-size:13px}}
@media(max-height:450px) and (orientation:landscape){.game-hub{top:6px;width:calc(100% - 410px);max-width:440px;padding:4px}.hub-nav button{min-height:39px;font-size:9px;padding:3px}.hub-nav button>span:first-child{font-size:16px}.wallet-strip{padding-top:3px;font-size:9px}.language-tools{bottom:48px}.game-hub .wallet-strip>button{font-size:9px}}
@media(prefers-reduced-motion:reduce){.capture-flash{animation:none;box-shadow:0 0 16px #e5ba5a}}
.player{position:relative}.series-chip{position:absolute;right:-5px;top:-9px;padding:3px 8px;border:1px solid #dcad55;border-radius:12px;background:#32190afa;color:#ffe19b;font:bold 11px system-ui;box-shadow:0 3px 10px #0006}.result-loot{display:flex;gap:7px;flex-wrap:wrap;justify-content:center;margin-top:15px}.result-loot small{width:100%;font:11px system-ui;color:#cfb183}.result-loot span{font:12px system-ui;border:1px solid #c29145;padding:5px 8px;border-radius:4px;color:#f9dda0;background:#80562033}#result .dialog-actions{flex-wrap:wrap;gap:8px}#result #play-again{width:100%}#result .dialog-actions>button:not(#play-again){flex:1}
.progress-panel[open]{display:flex;flex-direction:column;height:min(800px,90svh);overflow:hidden}.progress-panel .dialog-head,.progress-wallet,.progress-tabs,#progress-status{flex-shrink:0}#progress-content{flex:1;min-height:0;overflow:auto;align-content:start;padding-right:4px;scrollbar-color:#9c692a #25120b}
/* Cosmetic finishes affect the carved board, preserving the royal scenery. */
.scene::before{z-index:0}.scene::after{content:'';position:absolute;inset:0;background-image:url('/royal-board.png');background-position:center;background-size:inherit;background-repeat:no-repeat;clip-path:polygon(12% 53%,88% 53%,94% 96%,6% 96%);opacity:0;z-index:1;pointer-events:none}#pits{position:absolute;inset:0;z-index:2}body[data-board="cedar"] .scene::before,body[data-board="emerald"] .scene::before,body[data-board="midnight"] .scene::before{filter:none}body[data-board="cedar"] .scene::after{opacity:1;filter:sepia(.5) saturate(.7) brightness(1.08)}body[data-board="emerald"] .scene::after{opacity:1;filter:sepia(.55) hue-rotate(65deg) saturate(.8) brightness(.82)}body[data-board="midnight"] .scene::after{opacity:1;filter:sepia(.55) hue-rotate(160deg) saturate(.6) brightness(.65)}
@media(max-width:600px) and (orientation:portrait){.scene::after{clip-path:polygon(0 53%,100% 53%,100% 96%,0 96%)}}
html[lang="am"] .feature-card p{font:16px/1.75 Nyala,'Noto Sans Ethiopic',system-ui}html[lang="am"] .feature-card>button{font-size:16px}html[lang="am"] .feature-card .meta-label,html[lang="am"] .collection-label{font-size:13px;letter-spacing:0}
.quest-badge{font:700 10px/1.4 system-ui;letter-spacing:2px;color:#ffe0a0;border:1px solid #d4a14c66;background:#b77c2526;padding:6px 10px;border-radius:20px}.daily-feature{grid-column:1/-1;background:radial-gradient(ellipse at top right,#92642866,transparent 65%),linear-gradient(135deg,#472a16,#201008);border-color:#dfb45d}.daily-feature .feature-symbol{position:absolute;right:26px;top:26px;font-size:82px;opacity:.18}.journey-meter{width:100%;display:flex;flex-direction:column;gap:8px;grid-column:1/-1;padding:4px 0}.journey-meter progress{appearance:none;width:100%;height:7px;border:0;border-radius:8px;overflow:hidden;background:#130a07}.journey-meter progress::-webkit-progress-bar{background:#130a07}.journey-meter progress::-webkit-progress-value{background:linear-gradient(90deg,#a96c29,#ffdb82);border-radius:8px}.stage-map{grid-template-columns:1fr;position:relative}.stage-node{margin-left:24px;border-left:3px solid #ad7b3b}.stage-node:before{content:'';position:absolute;left:0;top:0;width:5px;height:100%;background:#775021}.stage-current{border-color:#ffda81;box-shadow:0 0 25px #e1a83b15}.stage-node.locked{opacity:.72}.stage-node h2{font-size:27px}.style-preview{width:100%;height:125px;border-radius:9px;display:grid;align-content:center;justify-content:center;gap:7px;border:3px double #e9af55;background:repeating-linear-gradient(3deg,#78401d,#975629 4px,#693516 8px);box-shadow:inset 0 3px 15px #0009,0 8px 20px #0005;padding:12px;box-sizing:border-box}.board-preview{grid-template-columns:repeat(6,1fr);grid-template-rows:repeat(2,36px)}.preview-pit{border-radius:50%;background:radial-gradient(ellipse at 50% 70%,#673616,#1a0903);box-shadow:inset 0 3px 5px #000b,0 1px 0 #f7be6655;display:grid;grid-template-columns:repeat(2,8px);gap:2px;align-content:center;justify-content:center}.preview-pit i,.preview-seed{display:block;border-radius:50%;background:radial-gradient(ellipse at 35% 25%,#fff1b4,#e8ae35 35%,#90500d 75%,#402006);box-shadow:1px 2px 3px #0009;transform:rotate(-20deg)}.preview-pit i{width:8px;height:6px}.seed-preview{display:flex;align-items:center;gap:12px;background:radial-gradient(ellipse,#57321c,#211009);border-color:#9e733b}.preview-seed{width:28px;height:21px}.style-preview[data-finish=cedar]{filter:sepia(.5) saturate(.7) brightness(1.08)}.style-preview[data-finish=emerald]{filter:sepia(.55) hue-rotate(65deg) saturate(.8) brightness(.82)}.style-preview[data-finish=midnight]{filter:sepia(.55) hue-rotate(160deg) saturate(.6) brightness(.65)}[data-finish=ivory] .preview-seed{background:radial-gradient(ellipse at 35% 25%,#fffdf2,#ece0b6 35%,#a89468 70%,#53432b)}[data-finish=jade] .preview-seed{background:radial-gradient(ellipse at 35% 25%,#c7ffd8,#49bd80 35%,#116b4e 70%,#062f26)}[data-finish=ruby] .preview-seed{background:radial-gradient(ellipse at 35% 25%,#ffe0ce,#ea7460 35%,#9d2428 70%,#400b18)}.style-equipped{border-color:#ffe1a0;box-shadow:inset 0 0 30px #c08a2020}.card-edition{align-self:flex-start;font:10px system-ui;letter-spacing:2px;color:#c5a774}.collection-card{background:repeating-linear-gradient(45deg,transparent,transparent 12px,#dfac3810 13px,transparent 14px),radial-gradient(ellipse at top,#775320,#24110b 80%)}.collection-card:not(.uncollected):after{content:'✦';position:absolute;right:16px;top:14px;color:#ffe0a0}.collection-card .feature-symbol{border:1px solid #c18b3f77;border-radius:50%;width:96px;height:96px;display:grid;place-items:center;background:#24100699}.crown-track{width:100%;display:flex;justify-content:space-around;padding:12px 0}.crown-track>div{display:flex;flex-direction:column;align-items:center;gap:8px;opacity:.3}.crown-track span{font:44px Georgia}.crown-track small{font:11px system-ui}.crown-track .crown-earned{opacity:1;color:#ffda81}.round-track{display:flex;justify-content:center;gap:9px;flex-wrap:wrap;color:#ffdc83;font:32px Georgia}.round-track small{width:100%;font:11px system-ui;color:#c9ac7c}.reward-reveal .result-rewards{animation:reward-rise .6s ease-out}.result-loot span{animation:reward-rise .8s ease-out}@keyframes reward-rise{from{opacity:0;transform:translateY(14px) scale(.92)}to{opacity:1;transform:none}}@media(prefers-reduced-motion:reduce){.reward-reveal .result-rewards,.result-loot span{animation:none}}@media(max-width:600px){.stage-node{margin-left:8px}.daily-feature{grid-column:auto}.style-preview{height:115px}.board-preview{grid-template-rows:repeat(2,30px);gap:5px}}
#progress-content{grid-auto-rows:max-content}.feature-card{min-height:min-content}.style-preview{flex-shrink:0}

