/* PAPER DYNASTY V1.0.47 – cinematic industrial UI. Presentation only. */
:root{--pd-gold:#c5aa69;--pd-gold-light:#f2dfaa;--pd-edge:#786c48;--pd-deep:#071711;--pd-olive:#42662c}
.topbar{background:radial-gradient(ellipse at 65% -60%,#314232 0%,#0a1a15 72%)!important;border-bottom:1px solid #786b43!important;box-shadow:inset 0 -2px #07110c,0 4px 20px #0009}
.brand h1,.brand h1 span{color:#f0d39b!important;text-shadow:0 2px 3px #000a;font-weight:850;letter-spacing:.03em}
.brand p{color:#e1d8bd!important;letter-spacing:0!important;font-size:11px!important}
.resources button,.delivery{background:linear-gradient(140deg,#10271f,#071710 85%)!important;border:1px solid #85764c!important;border-radius:13px!important;box-shadow:inset 0 1px #d9c88925,0 3px 0 #06110b,0 5px 13px #0008!important}
.resources b,.delivery b{color:#f1e5c9!important;text-shadow:0 1px 2px #000}
.resources small,.delivery small{color:#c1c6b5!important}
nav{background:linear-gradient(180deg,#10251d,#071810)!important;border-top:2px solid #8b7848!important}
nav button{background:linear-gradient(160deg,#152c22,#0a1c14)!important;border:1px solid #6c6246!important;box-shadow:inset 0 1px #e6d29b1c,0 3px 7px #0006!important;border-radius:12px!important}
nav button.active{background:linear-gradient(145deg,#527236,#213f25)!important;border-color:#c5b271!important;box-shadow:inset 0 1px #ffedb05e,0 0 0 1px #55492c!important;color:#fff2cf!important}
#sheet{background:radial-gradient(ellipse at top,#1d3b2c 0%,#081c15 70%)!important;border:2px solid #aa955e!important;border-radius:19px 19px 0 0!important;box-shadow:inset 0 0 0 3px #0b2219,inset 0 0 0 4px #564c31,0 -12px 50px #000b!important}
#sheet .sheet-head{background:linear-gradient(160deg,#19382a,#0c241b)!important;border-bottom:2px solid #7e7048!important;padding:15px 18px!important;min-height:72px}
#sheet .sheet-head h2{color:#f1d9a6!important;font-size:clamp(23px,5.3vw,30px)!important;font-weight:850!important;text-shadow:0 2px 3px #000b}
#sheet .sheet-head button{color:#f1d9a6!important;font-size:28px;min-width:42px;min-height:42px;border:1px solid #7e7048;border-radius:10px;background:linear-gradient(#1b3528,#081710);box-shadow:inset 0 1px #f1d9a62c}
#sheet #sheet-tabs{background:linear-gradient(#102b20,#071b14)!important;border-bottom:2px solid #847348!important;padding:10px!important;gap:7px!important}
#sheet #sheet-tabs button{background:linear-gradient(155deg,#1c3729,#081b13)!important;border:1px solid #81754f!important;color:#e5e0cf!important;border-radius:11px!important;min-height:50px!important;box-shadow:inset 0 1px #fff2cb26,0 3px 5px #0005!important;font-size:clamp(11px,2.75vw,14px)!important}
#sheet #sheet-tabs button[aria-selected=true]{background:linear-gradient(160deg,#668d43,#304d2b)!important;border-color:#e0c77b!important;color:#fff4d5!important;box-shadow:inset 0 1px #fff7c16e,0 0 0 2px #69582d,0 3px 9px #0008!important;font-weight:800}
#sheet-body{background:linear-gradient(150deg,#0d291e,#071c15)!important;padding:12px 13px 24px!important}
#sheet-body .card,#sheet-body .menu-item,#sheet-body details{border:1px solid #81764d!important;background:linear-gradient(150deg,#18372a,#0a241a 88%)!important;border-radius:13px!important;box-shadow:inset 0 1px #e5d5a01e,inset 0 0 0 2px #0b2219,0 4px 12px #0006!important}
#sheet-body .card{padding:15px!important;margin:10px 0!important}
#sheet-body .card h3,#sheet-body h3{color:#f2d7a1!important;text-shadow:0 1px 2px #0009}
#sheet-body .muted,#sheet-body .row span{color:#c8cdbb!important}
#sheet-body .row b{color:#f5eedb!important;font-variant-numeric:tabular-nums}
#sheet-body .action,#sheet-body button.action{background:linear-gradient(180deg,#b7d786,#749c4e)!important;border:1px solid #d6e8a6!important;color:#182716!important;border-radius:11px!important;box-shadow:inset 0 1px #fff9cb94,0 3px 0 #42592e,0 5px 9px #0005!important;font-weight:800!important;min-height:46px!important}
#sheet-body .secondary,#sheet-body button.secondary{background:linear-gradient(160deg,#274b35,#122c20)!important;border:1px solid #97875b!important;color:#f1e7d2!important;border-radius:11px!important;box-shadow:inset 0 1px #f2e2af29,0 3px 5px #0005!important;min-height:45px!important}
#sheet-body button:active{transform:translateY(1px);filter:brightness(1.08)}
#sheet-body .progress{height:9px;border-color:#9d9065;background:#071810;box-shadow:inset 0 2px 4px #0008}
#sheet-body .progress>span{background:linear-gradient(#b7dc80,#6c9c42)!important}
#sheet-body .pd-shipping-card{gap:0!important}
#sheet-body .pd-shipping-card .row{grid-template-columns:minmax(0,1fr) max-content!important;padding:8px 0!important;border-bottom:1px solid #c4b1801e!important}
#sheet-body .pd-shipping-card .row b{white-space:nowrap!important}
#sheet-body .pd-shipping-card>button{width:100%!important;margin:10px 0 4px!important}
#sheet-body .pm-upgrade-card{border-color:#a08c5b!important}
#sheet-body .pm-upgrade-card .pm-upgrade-price{color:#f2d7a1!important;font-weight:850!important}
#sheet-body .pm-upgrade-card .pm-upgrade-icon{background:linear-gradient(155deg,#224634,#0a2017)!important;border-color:#a18d5e!important}
#sheet-body .pm-upgrade-card .pm-upgrade-metrics>strong{color:#b5e485!important}
#sheet-body .pd-stat{background:linear-gradient(140deg,#173729,#0a241a)!important;border:1px solid #746b4c!important;border-radius:11px!important}
#sheet-body .pd-stat-value{color:#f3e8c9!important}
@media(max-width:420px){#sheet-body{padding:9px 10px 20px!important}#sheet-body .card{padding:12px!important}#sheet #sheet-tabs{gap:5px!important;padding:8px 7px!important}#sheet #sheet-tabs button{padding:9px 3px!important}#sheet-body .pm-upgrade-card .pm-upgrade-top{grid-template-columns:minmax(0,1fr) auto!important}}
@media(prefers-reduced-motion:reduce){#sheet-body button{transition:none!important}}
