/* Desktop art system v124. Text remains live; artwork never contains controls. */
body.pc-redesign {--pc-gold:#b89252;--pc-gold-light:#f0d8a1;--pc-ink:#f1e1bd;--pc-muted:#bca889;--pc-leather:#24180f;--pc-stone:#171717;--pc-button:url('assets/pc-v124/ui/button-normal.webp');--pc-button-hover:url('assets/pc-v124/ui/button-hover.webp');--pc-panel:url('assets/pc-v124/ui/panel.webp');--pc-frame:url('assets/pc-v124/ui/frame.webp');background:#171717 url('assets/pc-v124/ui/app-stone.webp') repeat!important;color:var(--pc-ink)}
body.pc-redesign [data-pc-more-item]{display:none!important}
body.pc-redesign .layout-navigation>[data-pc-more-open]{order:95;justify-content:center!important;min-height:38px!important;height:38px!important;font-size:16px!important}
body.pc-redesign .layout-navigation>[data-pc-vip]{display:flex!important;order:98;justify-content:center!important;min-height:38px!important;height:38px!important}
body.pc-redesign .layout-navigation>[data-pc-admin]{order:99;justify-content:center!important;min-height:38px!important;height:38px!important}
body.pc-redesign[data-layout=sidebar] :is(.panel,.current-panel,.hh-panel,.growth-panel,.cl-info>section,.smith-design,.live-building-drawer,.character-card,.shop-panel,.market-panel,.current-kitchen,.alchemy-panel,.knowledge-panel,.help-panel,.notification-panel,.admin-panel,.layout-footer,.building-level-facts){background-color:#24180f!important;background-image:linear-gradient(#130d08a6,#130d08a6),var(--pc-panel)!important;background-position:center!important;background-size:auto,cover!important;color:var(--pc-ink)!important;border-color:#987344!important}
body.pc-redesign[data-layout=sidebar] :is(.current-panel,.hh-panel,.growth-panel,.panel){border-radius:0!important;box-shadow:inset 0 0 0 1px #b08a4c44,0 3px 12px #0007!important}
body.pc-redesign dialog {box-sizing:border-box!important;background-color:#24180f!important;background-image:linear-gradient(#130d08aa,#130d08aa),var(--pc-panel)!important;background-position:center!important;background-size:auto,cover!important;color:var(--pc-ink)!important;border:10px solid transparent!important;border-image:var(--pc-frame) 92 fill/10px!important;border-radius:0!important}
body.pc-redesign dialog::backdrop{background:#080604d9!important;backdrop-filter:blur(3px)}
body.pc-redesign dialog:is(.pc-community,.pc-characters,.pc-workshop,.pc-caves-dialog,.pc-compare-dialog){position:fixed!important;inset:0!important;margin:auto!important;box-sizing:border-box!important;width:min(1150px,94vw)!important;max-width:94vw!important;height:min(860px,94dvh)!important;max-height:94dvh!important;padding:18px!important;overflow:hidden!important}
body.pc-redesign dialog.pc-more-dialog{position:fixed!important;inset:0!important;margin:auto!important;width:min(540px,94vw)!important;max-width:94vw!important;height:max-content!important;max-height:92dvh!important;padding:18px!important;overflow:auto!important}
body.pc-redesign .pc-more-dialog header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
body.pc-redesign .pc-more-dialog h2{margin:0;color:var(--pc-gold-light);font:24px Georgia}
body.pc-redesign .pc-more-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
body.pc-redesign .pc-more-grid label{display:flex;flex-direction:column;gap:6px;color:var(--pc-ink);font:16px Georgia;min-width:0}
body.pc-redesign .pc-more-grid select{font:16px Georgia;min-height:42px;padding:7px;color:var(--pc-ink);background:#180f09;border:1px solid #b89252;min-width:0}
body.pc-redesign :is([data-pc-button=true],dialog button:not(:has(img))){position:relative;isolation:isolate;background:transparent!important;border-radius:0!important;box-shadow:none!important;transform:none!important;color:var(--pc-ink)!important;font-family:Georgia,serif;text-shadow:0 1px 2px #000;min-height:36px}
body.pc-redesign [data-pc-button=true]{border:0!important}
body.pc-redesign [data-pc-button=true]::before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;border:10px solid transparent;border-image:var(--pc-button) 180 fill/10px}
body.pc-redesign [data-pc-button=true]:is(:hover,.active,.selected,.primary)::before{border-image-source:var(--pc-button-hover)}
body.pc-redesign [data-pc-button=true]>.smith-button-skin{display:none!important}
body.pc-redesign dialog button:not(:has(img)):not([data-pc-button=true]){border:9px solid transparent!important;border-image:var(--pc-button) 180 fill/9px!important;padding:6px 12px;font:15px Georgia;min-height:42px}
body.pc-redesign :is([data-pc-button=true],dialog button):focus-visible{outline:2px solid #ffe0a0!important;outline-offset:3px!important}
body.pc-redesign .pc-more-dialog button{padding:10px 14px!important;min-height:46px!important;cursor:pointer}
body.pc-redesign .pc-character-appearance{grid-template-columns:minmax(140px,.85fr) minmax(0,1.15fr)!important;min-width:0!important}
body.pc-redesign .pc-character-fields{min-width:0!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
body.pc-redesign .pc-character-fields label,body.pc-redesign .pc-character-fields select{min-width:0!important;width:100%!important;max-width:100%!important;box-sizing:border-box}
body.pc-redesign[data-layout=sidebar] .layout-topbar .layout-navigation [data-pc-more-item]{display:none!important}
body.pc-redesign[data-layout=sidebar] .layout-topbar .layout-navigation button[data-pc-button=true]::before{display:block!important;border-image-slice:180 fill!important}
body.pc-redesign[data-layout=sidebar] .layout-topbar .layout-navigation button[data-pc-button=true]>.smith-button-skin{display:none!important}
body.pc-redesign[data-layout=sidebar] .layout-topbar .layout-navigation>button.active>.smith-button-label{color:#ffdf9b!important}
body.pc-redesign[data-layout=sidebar] :is(.approved-market-panel,.approved-offer,.approved-art,.approved-caption,.inventory-panel,.current-item-detail,.current-hero-stats,.hl-panel,.hl-stats,.cl-portrait,.cl-bio,.cl-attributes,.pc-cave-player,.pc-cave-region){background-color:#24180f!important;background-image:linear-gradient(#130d08b8,#130d08b8),var(--pc-panel)!important;background-position:center!important;background-size:auto,cover!important;border-color:#987344!important;color:var(--pc-ink)!important}
@media(min-width:901px){
 body.pc-redesign[data-layout=sidebar] .citadel-brand{top:8px!important;height:clamp(92px,14vh,160px)!important}
 body.pc-redesign[data-layout=sidebar] .layout-navigation{top:clamp(108px,16vh,180px)!important;bottom:78px!important;overflow:hidden!important;gap:clamp(3px,.5vh,6px)!important;justify-content:flex-start!important}
 body.pc-redesign[data-layout=sidebar] .layout-navigation>button:not([data-pc-more-item]):not([data-pc-more-open]):not([data-pc-vip]):not([data-pc-admin]){height:clamp(30px,4.6vh,55px)!important;min-height:clamp(30px,4.6vh,55px)!important;font-size:clamp(14px,1.1vw,19px)!important}
 body.pc-redesign[data-layout=sidebar] .layout-navigation>.layout-nav-heading{padding:0!important;min-height:0!important;height:0!important}
 body.pc-redesign[data-layout=sidebar] .layout-navigation>.layout-nav-divider{padding:0!important;height:3px!important;min-height:3px!important}
 body.pc-redesign[data-layout=sidebar] .layout-navigation>[data-pc-more-open]{margin-top:auto!important}
 body.pc-redesign[data-layout=sidebar] .layout-nav-hint{display:none!important}
 body.pc-redesign[data-layout=sidebar] .layout-navigation>button>.smith-button-label{padding-bottom:0!important}
}
@media(max-width:900px){
 body.pc-redesign[data-layout=sidebar] .layout-navigation{overflow:auto!important;gap:5px!important;bottom:74px!important;top:102px!important}
 body.pc-redesign[data-layout=sidebar] .layout-navigation>button:not([data-pc-more-item]){min-height:42px!important;height:42px!important;font-size:16px!important}
 body.pc-redesign[data-layout=sidebar] .layout-navigation>[data-pc-more-open]{margin-top:10px!important}
 body.pc-redesign .pc-more-grid{gap:9px}
 body.pc-redesign dialog:is(.pc-community,.pc-characters,.pc-workshop,.pc-caves-dialog,.pc-compare-dialog){width:calc(100vw - 12px)!important;max-width:calc(100vw - 12px)!important;height:calc(100dvh - 12px)!important;max-height:calc(100dvh - 12px)!important;inset:0!important;margin:auto!important;border-width:6px!important;border-image-width:6px!important;padding:calc(8px + env(safe-area-inset-top)) calc(8px + env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) calc(8px + env(safe-area-inset-left))!important}
 body.pc-redesign .pc-character-appearance{grid-template-columns:minmax(65px,.65fr) minmax(0,1.35fr)!important;gap:8px!important}
 body.pc-redesign .pc-more-grid button{min-height:48px!important}
 html[data-view=shop],html[data-view=shop] body.pc-redesign{height:100dvh!important;max-height:100dvh!important;overflow:hidden!important}
 body.pc-redesign[data-layout=sidebar][data-view=shop] .main-content{height:100%!important;max-height:100%!important;overflow:hidden!important;padding-block:8px!important}
 body.pc-redesign[data-layout=sidebar][data-view=shop] .view-content{height:100%!important;max-height:100%!important;min-height:0!important;overflow:hidden!important;padding-bottom:0!important}
 body.pc-redesign[data-layout=sidebar] .approved-market{height:100%!important;min-height:0!important;max-height:100%!important;display:grid!important;grid-template-rows:auto minmax(0,1fr) auto!important;gap:7px!important;overflow:hidden!important;padding:0!important}
 body.pc-redesign[data-layout=sidebar] .approved-market-title{margin:0!important;padding:0!important;min-height:55px!important}
 body.pc-redesign[data-layout=sidebar] .approved-market-title h1{font-size:23px!important;margin:3px 0!important}
 body.pc-redesign[data-layout=sidebar] .approved-market-panel{min-height:0!important;height:100%!important;display:grid!important;grid-template-rows:auto auto minmax(0,1fr) auto!important;gap:5px!important;padding:8px!important;overflow:hidden!important}
 body.pc-redesign[data-layout=sidebar] .approved-stock-heading{min-height:0!important;margin:0!important;padding:0!important;gap:4px!important}
 body.pc-redesign[data-layout=sidebar] .approved-stock-heading h2{font-size:18px!important;margin:2px 0!important}
 body.pc-redesign[data-layout=sidebar] .approved-stock{height:100%!important;min-height:0!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:minmax(0,1fr)!important;grid-auto-rows:minmax(0,1fr)!important;overflow:hidden!important;gap:7px!important}
 body.pc-redesign[data-layout=sidebar] .offer.approved-offer{height:100%!important;min-height:0!important;max-height:100%!important;padding:7px!important;overflow:hidden!important}
 body.pc-redesign[data-layout=sidebar] .approved-inspect{display:flex!important;flex-direction:column!important;min-height:0!important;height:100%!important;overflow:hidden!important}
 body.pc-redesign[data-layout=sidebar] .approved-art{flex:1!important;height:auto!important;min-height:45px!important;max-height:none!important;overflow:hidden!important}
 body.pc-redesign[data-layout=sidebar] .approved-art>svg{height:100%!important;max-height:100%!important;min-height:0!important}
 body.pc-redesign[data-layout=sidebar] .approved-caption{min-height:69px!important;padding:4px 0!important}
 body.pc-redesign[data-layout=sidebar] .approved-caption>strong{font-size:11px!important;height:28px!important;line-height:14px!important}
 body.pc-redesign[data-layout=sidebar] .approved-market-bottom{min-height:0!important;gap:5px!important;padding:0!important;flex-wrap:wrap!important}
 body.pc-redesign[data-layout=sidebar] .approved-market-bottom>small{font-size:10px!important;line-height:1.2!important}
 body.pc-redesign[data-layout=sidebar] .approved-market-pager{gap:8px!important;margin:0!important}
 body.pc-redesign[data-layout=sidebar] .approved-building{margin:0!important;padding:3px 0!important;font-size:12px!important}
 body.pc-redesign[data-layout=sidebar] .approved-admin-link{display:none!important}
}
[data-pc-vip] {display:none!important}
@media (min-width:1000px) and (pointer:fine) {
 body.pc-redesign {
  --pc-gold:#b89252; --pc-gold-light:#f0d8a1; --pc-ink:#f1e1bd;
  --pc-muted:#bca889; --pc-leather:#24180f; --pc-stone:#171717;
  --pc-button:url('assets/pc-v124/ui/button-normal.webp');
  --pc-button-hover:url('assets/pc-v124/ui/button-hover.webp');
  --pc-panel:url('assets/pc-v124/ui/panel.webp');
  --pc-frame:url('assets/pc-v124/ui/frame.webp');
  color:var(--pc-ink); background:var(--pc-stone) url('assets/pc-v124/ui/app-stone.webp') repeat;
 }
 body.pc-redesign[data-layout=sidebar] {--layout-sidebar:clamp(170px,11.5vw,230px)}
 body.pc-redesign[data-layout=sidebar] #app {padding-right:clamp(12px,1.1vw,30px)}
 body.pc-redesign .layout-sidebar-background {
  background:var(--pc-leather) var(--pc-panel) center/cover!important;
  border:1px solid #a78349!important; border-image:none!important;
  box-shadow:inset -5px 0 14px #000a,4px 0 16px #000b!important;
 }
 body.pc-redesign[data-layout=sidebar] .layout-navigation {
  top:clamp(132px,17.4vh,196px);bottom:88px;gap:clamp(3px,.7vh,8px);
 }
 body.pc-redesign[data-layout=sidebar] .citadel-brand {height:clamp(106px,15.5vh,175px)!important;top:10px}
 body.pc-redesign[data-layout=sidebar] .layout-navigation>button {
  min-height:clamp(36px,5.5vh,64px)!important;height:clamp(36px,5.5vh,64px)!important;
  font-size:clamp(14px,1.15vw,21px);padding:5px 11px!important;
 }
 body.pc-redesign .layout-navigation .woodland-nav-icon {height:clamp(25px,3.5vh,40px);width:clamp(25px,2.2vw,40px)}
 body.pc-redesign .layout-nav-hint {font-size:clamp(9px,.65vw,11px);bottom:5px}
 body.pc-redesign .layout-navigation>button>.smith-button-label {padding-bottom:7px}
 body.pc-redesign .layout-nav-heading:empty {display:none}
 body.pc-redesign .layout-nav-divider {padding:0;min-height:4px}
 body.pc-redesign .layout-navigation .top-actions {order:80;margin-top:auto;flex-wrap:wrap;gap:4px}
 body.pc-redesign .layout-navigation>[data-pc-vip] {display:flex!important;order:90;color:#ffe7a0!important;font-weight:bold;letter-spacing:.15em;flex-shrink:0}
 body.pc-redesign .layout-navigation>[data-pc-admin] {order:91;color:#f0dfba!important;letter-spacing:.1em;flex-shrink:0}
 body.pc-redesign .layout-navigation>[data-pc-vip],body.pc-redesign .layout-navigation>[data-pc-admin] {
  justify-content:center!important;text-align:center;font-size:16px!important;
 }
 body.pc-redesign .layout-navigation>[data-pc-admin]>.smith-button-label {justify-content:center!important;padding-bottom:0!important}
 body.pc-redesign [data-pc-button=true] {
  position:relative;isolation:isolate;border:0!important;border-radius:0!important;
  background:transparent!important;box-shadow:none!important;transform:none!important;
  color:var(--pc-ink);text-shadow:0 1px 2px #000;font-family:Georgia,serif;
 }
 body.pc-redesign [data-pc-button=true]::before {
  content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;
  border:12px solid transparent;border-image:var(--pc-button) 180 fill/12px;
 }
 body.pc-redesign [data-pc-button=true]:is(:hover,.active,.selected,.primary)::before {
  border-image-source:var(--pc-button-hover);
 }
 body.pc-redesign [data-pc-button=true]>.smith-button-skin {display:none!important}
 body.pc-redesign [data-pc-button=true]:disabled {opacity:.48;cursor:not-allowed;filter:saturate(.55)}
 body.pc-redesign [data-pc-button=true]:active:not(:disabled)::before {filter:brightness(.8)}
 body.pc-redesign [data-pc-button=true]:focus-visible {outline:2px solid #f4d482!important;outline-offset:3px!important}
 body.pc-redesign [data-pc-button=true]:is(.primary,.active,.selected) {color:#ffe6a9!important}
 body.pc-redesign .layout-topbar {color:var(--pc-ink);border-bottom-color:#aa844d80!important}
 body.pc-redesign .layout-location {font-size:clamp(17px,1.3vw,24px);color:var(--pc-gold-light)}
 body.pc-redesign .layout-footer {
  background:var(--pc-leather) var(--pc-panel) center/cover!important;
  border:10px solid transparent!important;border-image:var(--pc-frame) 92 fill/10px!important;
  box-shadow:0 4px 15px #0008;
 }
 body.pc-redesign :is(.panel,.account-dialog,.settings-dialog,.catalog-details-dialog) {
  background-color:var(--pc-leather);background-image:var(--pc-panel);background-size:cover;
  border:12px solid transparent;border-image:var(--pc-frame) 92 fill/12px;
  color:var(--pc-ink);box-shadow:0 5px 20px #0008;
 }
 body.pc-redesign :is(input,select,textarea) {
  color:var(--pc-ink);background-color:#160f0b;border-color:#9b7947;
 }
 body.pc-redesign :is(input,textarea)::placeholder {color:#bca889;opacity:1}
 body.pc-redesign :is(h1,h2,h3) {color:var(--pc-gold-light);text-shadow:0 2px 3px #000b}
 body.pc-redesign img {image-rendering:auto}
 /* Reusable future views opt in explicitly. Never crop existing game controls. */
 body.pc-redesign .pc-page {min-width:0;min-height:0;display:grid;gap:clamp(10px,1vw,22px);grid-template-rows:auto minmax(0,1fr) auto;height:100%}
 body.pc-redesign .pc-columns {min-height:0;display:grid;grid-template-columns:minmax(190px,.8fr) minmax(280px,1.4fr) minmax(240px,1fr);gap:clamp(10px,1vw,22px)}
 body.pc-redesign .pc-paged-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;min-width:0;min-height:0}
 body.pc-redesign .pc-pagination {display:flex;align-items:center;justify-content:center;gap:12px;min-height:42px}
 body.pc-redesign .pc-portrait {width:100%;height:100%;min-height:0;object-fit:contain;object-position:center bottom}
 @media (max-height:760px) {
  body.pc-redesign[data-layout=sidebar] .layout-navigation {top:108px;bottom:67px;gap:3px}
  body.pc-redesign[data-layout=sidebar] .citadel-brand {height:90px!important}
  body.pc-redesign[data-layout=sidebar] .layout-navigation>button {min-height:34px!important;height:34px!important;font-size:14px}
  body.pc-redesign .layout-nav-hint {display:none}
  body.pc-redesign .layout-navigation>button>.smith-button-label {padding-bottom:0}
  body.pc-redesign .layout-profile {bottom:9px;padding-top:6px}
 }
 @media (min-width:2200px) {
  body.pc-redesign {font-size:18px}
  body.pc-redesign .main-content {padding-left:24px!important}
  body.pc-redesign .layout-topbar {margin-left:24px!important}
 }
}

/* Final explicit dimensions defeat the legacy navigation icon pseudo-element. */
body.pc-redesign [data-pc-button=true]::before,
body.pc-redesign[data-layout=sidebar] .layout-topbar .layout-navigation button[data-pc-button=true]::before{content:""!important;display:block!important;inset:0!important;left:0!important;right:0!important;top:0!important;bottom:0!important;width:auto!important;height:auto!important;min-width:0!important;min-height:0!important;max-width:none!important;max-height:none!important;transform:none!important;opacity:1!important;background:none!important;border:10px solid transparent!important;border-image:var(--pc-button) 180 fill/10px!important;pointer-events:none!important}
body.pc-redesign [data-pc-button=true]:is(:hover,.active,.selected,.primary)::before,
body.pc-redesign[data-layout=sidebar] .layout-topbar .layout-navigation button[data-pc-button=true]:is(:hover,.active,.selected,.primary)::before{border-image-source:var(--pc-button-hover)!important}
body.pc-redesign[data-layout=sidebar] .layout-navigation>[data-pc-more-open]{order:95!important;min-height:40px!important;height:40px!important}
body.pc-redesign[data-layout=sidebar] .layout-navigation>[data-pc-vip]{order:98!important;min-height:40px!important;height:40px!important}
body.pc-redesign[data-layout=sidebar] .layout-navigation>[data-pc-admin]{order:99!important;min-height:40px!important;height:40px!important}
body.pc-redesign[data-layout=sidebar] :is(.building-inset,.current-building-upgrade,.smith-building-upgrade,.smith-build-cost,.smith-facts,.building-facts),body.pc-redesign :is(.auth-card,.auth-card fieldset){background-color:#24180f!important;background-image:linear-gradient(#130d08b8,#130d08b8),var(--pc-panel)!important;background-position:center!important;background-size:auto,cover!important;color:var(--pc-ink)!important;border-color:#987344!important}
body.pc-redesign .auth-card{border:10px solid transparent!important;border-image:var(--pc-frame) 92 fill/10px!important;border-radius:0!important}
body.pc-redesign .auth-screen{background:transparent!important}

@media(min-width:901px){body.pc-redesign[data-layout=sidebar] .village-mobile-summary{display:none!important}}
body.pc-redesign[data-layout=sidebar][data-view=expeditions] .destination-live{padding-bottom:0!important;min-height:0!important}
body.pc-redesign[data-layout=sidebar][data-view=expeditions] .hub-portals{height:min(560px,calc(100dvh - 355px))!important;min-height:220px!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important;margin-bottom:0!important}
body.pc-redesign[data-layout=sidebar][data-view=expeditions] .hub-portal{height:100%!important;min-height:0!important;display:flex!important;flex-direction:column!important}
body.pc-redesign[data-layout=sidebar][data-view=expeditions] .hub-portal-art{height:auto!important;min-height:0!important;flex:1!important;overflow:hidden!important}
body.pc-redesign[data-layout=sidebar][data-view=expeditions] .hub-portal-art>img{height:100%!important;width:100%!important;object-fit:cover!important;min-height:0!important}
body.pc-redesign[data-layout=sidebar][data-view=expeditions] .hub-portal-footer{flex:none!important;min-height:54px!important;gap:7px!important}
@media(max-width:900px){body.pc-redesign[data-layout=sidebar][data-view=expeditions] .hub-portals{height:calc(100dvh - 420px)!important;gap:8px!important}body.pc-redesign[data-layout=sidebar][data-view=expeditions] .hub-portal-caption{padding:8px!important}body.pc-redesign[data-layout=sidebar][data-view=expeditions] .hub-portal-caption h2{font-size:21px!important}body.pc-redesign[data-layout=sidebar][data-view=expeditions] .hub-portal-caption p{font-size:11px!important;line-height:1.3!important}body.pc-redesign[data-layout=sidebar][data-view=expeditions] .hub-portal-footer{padding:7px!important;flex-wrap:wrap!important}body.pc-redesign[data-layout=sidebar][data-view=expeditions] .hub-portal-footer>span{display:none!important}body.pc-redesign[data-layout=sidebar][data-view=expeditions] .hub-portal-footer button{width:100%!important;font-size:13px!important}}

body.pc-redesign [data-pc-button=true]::before,
body.pc-redesign[data-layout=sidebar] .layout-topbar .layout-navigation button[data-pc-button=true]::before{z-index:-1!important}
body.pc-redesign[data-layout=sidebar] button[data-pc-button=true]>.smith-button-label,
body.pc-redesign[data-layout=sidebar] button[data-pc-button=true] .smith-button-label{color:#f1dfb4!important;text-shadow:0 1px 2px #000!important}
body.pc-redesign[data-layout=sidebar] .layout-navigation>[data-pc-vip]{color:#ffe39a!important;font-weight:bold!important;letter-spacing:.15em}

/* Reserve a real row for the added equipment launcher instead of stacking it
   above a hero canvas that already occupies the entire available height. */
body.pc-redesign[data-layout=sidebar][data-view=hero] .view-content:has(>.extra-equipment-launch):has(>.current-hero){display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto minmax(0,1fr)!important;gap:6px!important;height:100%!important;min-height:0!important;max-height:100%!important;overflow:hidden!important;padding-bottom:0!important}
body.pc-redesign[data-layout=sidebar][data-view=hero] .view-content>.extra-equipment-launch{grid-row:1!important;min-height:38px!important;height:38px!important;max-height:38px!important;margin:0!important;justify-self:start}
body.pc-redesign[data-layout=sidebar][data-view=hero] .view-content:has(>.extra-equipment-launch)>.current-hero{grid-row:2!important;min-height:0!important;height:100%!important;max-height:100%!important;overflow:hidden!important}
@media(max-width:900px){body.pc-redesign[data-layout=sidebar][data-view=hero] .view-content>.extra-equipment-launch{height:44px!important;min-height:44px!important;max-height:44px!important}body.pc-redesign[data-layout=sidebar][data-view=hero] .view-content:has(>.extra-equipment-launch)>.current-hero{grid-template-rows:auto 42px 61px minmax(110px,1fr) auto!important}}

/* Account gateway: live forms over a separately exported scene, matching refs34–36. */
body.pc-redesign .auth-v124{position:relative!important;display:block!important;width:100vw!important;height:100dvh!important;min-height:0!important;max-height:100dvh!important;margin:0!important;padding:0!important;overflow:hidden!important;isolation:isolate}
body.pc-redesign .auth-v124 .auth-scene{position:absolute;inset:0;z-index:-2;background:var(--auth-scene) center/cover no-repeat}
body.pc-redesign .auth-v124:after{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(90deg,transparent 45%,#120c0577 78%,#080503aa)}
body.pc-redesign .auth-v124 .auth-story{position:absolute!important;left:5.5vw!important;top:3vh!important;width:40vw!important;max-width:650px!important;height:40vh!important;padding:0!important;background:none!important;border:0!important;display:block!important;overflow:visible!important;box-shadow:none!important}
body.pc-redesign .auth-v124 .auth-logo{display:block!important;width:100%!important;height:100%!important;max-width:none!important;max-height:none!important;object-fit:contain!important;object-position:left top!important;filter:drop-shadow(0 7px 7px #0009)}
body.pc-redesign .auth-v124 .auth-card{position:absolute!important;right:2vw!important;top:16.5vh!important;bottom:6.5vh!important;width:32vw!important;max-width:610px!important;min-width:370px!important;height:auto!important;max-height:none!important;margin:0!important;padding:clamp(18px,1.7vw,32px)!important;display:flex!important;flex-direction:column!important;justify-content:center!important;gap:0!important;background:linear-gradient(#130d08aa,#100b0799),var(--pc-panel) center/cover!important;border:12px solid transparent!important;border-image:var(--pc-frame) 92 fill/12px!important;box-shadow:0 4px 24px #0009!important;border-radius:0!important;color:#f5e7c6!important;overflow:auto!important}
body.pc-redesign .auth-v124 .auth-card fieldset{padding:0!important;margin:0!important;border:0!important;min-width:0!important;display:flex!important;flex-direction:column!important;gap:0!important;background:none!important}
body.pc-redesign .auth-v124 .auth-form-title{display:flex;align-items:center;justify-content:center;gap:14px;font:clamp(27px,2.45vw,46px)/1.1 Georgia!important;text-align:center;color:#f5d794!important;margin:0 0 18px!important;text-shadow:0 2px 3px #000}
body.pc-redesign .auth-v124 .auth-form-title img{width:45px;height:55px;object-fit:contain}
body.pc-redesign .auth-v124 .auth-form-tabs{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:0 0 18px!important}
body.pc-redesign .auth-v124 .auth-form-tabs button{height:52px!important;min-height:52px!important;padding:7px!important;font:clamp(17px,1.6vw,25px) Georgia!important}
body.pc-redesign .auth-v124 form{display:flex!important;flex-direction:column!important;gap:0!important;margin:0!important;padding:0!important;min-width:0!important}
body.pc-redesign .auth-v124 .auth-field{display:flex!important;flex-direction:column!important;gap:5px!important;margin:0 0 15px!important;padding:0!important;min-width:0!important;font:clamp(16px,1.25vw,21px)/1.2 Georgia!important;color:#f0e2c5!important}
body.pc-redesign .auth-v124 .auth-input-shell{display:flex;align-items:center;gap:10px;position:relative;min-width:0;height:54px;padding:5px 10px;background:linear-gradient(#26221e,#15120f);border:1px solid #b89457;box-shadow:inset 0 1px 5px #000c,0 1px 1px #e5c97c44}
body.pc-redesign .auth-v124 .auth-input-shell>img{width:26px;height:28px;object-fit:contain;flex:none;opacity:.9}
body.pc-redesign .auth-v124 .auth-input-shell input{display:block!important;flex:1!important;min-width:0!important;width:100%!important;height:100%!important;padding:3px 0!important;border:0!important;outline:0!important;box-shadow:none!important;background:transparent!important;color:#f5e7c9!important;font:clamp(17px,1.25vw,21px) Georgia!important;margin:0!important;letter-spacing:.02em}
body.pc-redesign .auth-v124 .auth-input-shell:focus-within{outline:2px solid #efcf83;outline-offset:2px}
body.pc-redesign .auth-v124 .auth-password-toggle{display:grid;place-items:center;width:36px;height:36px;min-width:36px!important;min-height:36px!important;flex:none!important;border:0!important;padding:3px!important;margin:0!important;background:none!important;box-shadow:none!important}
body.pc-redesign .auth-v124 .auth-password-toggle img{width:28px;height:23px;object-fit:contain}
body.pc-redesign .auth-v124 .auth-remember{display:flex!important;align-items:center;gap:10px;margin:0 0 14px!important;font:16px Georgia!important;min-height:28px!important}
body.pc-redesign .auth-v124 .auth-remember input{flex:none;width:23px!important;height:23px!important;min-width:23px!important;margin:0!important;accent-color:#b18a43}
body.pc-redesign .auth-v124 .auth-remember span{display:flex;flex-wrap:wrap;gap:3px 10px;align-items:baseline}
body.pc-redesign .auth-v124 .auth-remember small{display:none!important}
body.pc-redesign .auth-v124 button.auth-submit{width:100%!important;min-height:64px!important;height:64px!important;font:clamp(22px,1.9vw,33px) Georgia!important;margin:3px 0!important;padding:10px!important;color:#ffe3a0!important}
body.pc-redesign .auth-v124 .auth-divider{display:flex;align-items:center;justify-content:center;gap:8px;color:#d9b469;height:21px;margin:9px 0 4px}
body.pc-redesign .auth-v124 .auth-divider:before,body.pc-redesign .auth-v124 .auth-divider:after{content:"";height:1px;background:linear-gradient(90deg,transparent,#c4a25f);flex:1}
body.pc-redesign .auth-v124 .auth-divider:after{transform:rotate(180deg)}
body.pc-redesign .auth-v124 .auth-text-link{background:none!important;box-shadow:none!important;border:0!important;border-radius:0!important;min-height:32px!important;padding:3px 0!important;font:17px Georgia!important;color:#e8c970!important;text-decoration:underline!important;cursor:pointer}
body.pc-redesign .auth-v124 .auth-text-link:before,body.pc-redesign .auth-v124 .auth-password-toggle:before{display:none!important}
body.pc-redesign .auth-v124 .auth-mode-switch{display:flex!important;align-items:center;justify-content:center;flex-wrap:wrap;gap:5px 12px!important;border:0!important;padding:0!important;margin:6px 0 0!important;font:16px Georgia!important}
body.pc-redesign .auth-v124 .auth-small-print{font:13px/1.35 Georgia!important;color:#c9b897!important;text-align:center;margin:0 0 7px!important}
body.pc-redesign .auth-v124 .auth-message{font:14px/1.4 Georgia!important;padding:7px;margin:0 0 10px!important;flex:none;color:#ffd4b6!important}
body.pc-redesign .auth-v124 .auth-message[hidden]{display:none!important}
body.pc-redesign .auth-v124.auth-register .auth-field{margin-bottom:9px!important}
body.pc-redesign .auth-v124.auth-register .auth-form-title{margin-bottom:12px!important}
body.pc-redesign .auth-v124.auth-register .auth-form-tabs{margin-bottom:12px!important}
body.pc-redesign .auth-v124.auth-register .auth-input-shell{height:46px}
body.pc-redesign .auth-v124.auth-register .auth-remember{margin-bottom:7px!important}
body.pc-redesign .auth-v124.auth-register button.auth-submit{height:54px!important;min-height:54px!important}
body.pc-redesign .auth-v124 .auth-utilities{position:absolute;right:2vw;top:16px;display:flex;align-items:center;gap:10px;z-index:2}
body.pc-redesign .auth-v124 .auth-language select{min-width:150px;width:auto!important;height:48px;border:1px solid #ad874a!important;background:#21160df0!important;color:#f1dfb7!important;font:19px Georgia!important;padding:5px 12px!important;border-radius:0!important}
body.pc-redesign .auth-v124 .auth-sound{position:relative;isolation:isolate;display:grid;place-items:center;width:55px!important;height:48px!important;min-height:48px!important;padding:7px!important;border:9px solid transparent!important;border-image:var(--pc-button) 180 fill/9px!important;background:transparent!important}
body.pc-redesign .auth-v124 .auth-sound>img{width:28px;height:25px;object-fit:contain}
body.pc-redesign .auth-v124 .auth-sound[aria-pressed=false]:after{content:"";position:absolute;width:24px;height:2px;background:#e3c38a;transform:rotate(-45deg);box-shadow:0 0 2px #000}
body.pc-redesign .auth-v124 .auth-version{position:absolute!important;right:2vw!important;bottom:12px!important;margin:0!important;color:#e2d2b6!important;font:16px Georgia!important;text-shadow:0 1px 3px #000}
body.pc-redesign .auth-v124 .auth-help-link{position:absolute;left:22px;bottom:12px;display:flex;align-items:center;gap:8px;color:#efcd7c!important;text-shadow:0 1px 3px #000;font:20px Georgia!important;background:none!important;border:0!important;padding:2px!important;min-height:32px!important}
body.pc-redesign .auth-v124 .auth-help-link>span{display:grid;place-items:center;width:29px;height:29px;border:2px solid #d5ac58;border-radius:50%;font:bold 22px Georgia}
body.pc-redesign .auth-v124 .auth-recovery-intro{font:clamp(18px,1.6vw,25px)/1.4 Georgia!important;text-align:center;color:#eeddb6;margin:0 0 24px!important}
body.pc-redesign .auth-v124 .auth-recovery-note{padding:16px;border:1px solid #a27e42;background:#130e08bb;font:16px/1.5 Georgia!important;text-align:center;margin:16px 0 0!important}
body.pc-redesign .auth-v124 .auth-back{height:54px!important;font:21px Georgia!important;margin-top:8px!important}
body.pc-redesign .auth-sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
body.pc-redesign dialog.auth-help-dialog{position:fixed!important;inset:0!important;margin:auto!important;width:min(580px,94vw)!important;max-width:94vw!important;height:max-content!important;max-height:90dvh!important;padding:22px!important;overflow:auto!important}
@media(max-width:900px){
 body.pc-redesign .auth-v124 .auth-story{left:12px!important;top:5px!important;width:45vw!important;height:15vh!important;max-height:130px!important}
 body.pc-redesign .auth-v124 .auth-logo{object-position:left center!important}
 body.pc-redesign .auth-v124 .auth-utilities{right:12px;top:12px;gap:7px}
 body.pc-redesign .auth-v124 .auth-language select{font-size:15px!important;min-width:105px;height:42px;padding:5px 7px!important}
 body.pc-redesign .auth-v124 .auth-sound{width:43px!important;height:42px!important;min-height:42px!important;padding:3px!important}
 body.pc-redesign .auth-v124 .auth-sound>img{width:24px;height:22px}
 body.pc-redesign .auth-v124 .auth-card{top:clamp(100px,17vh,150px)!important;bottom:40px!important;right:12px!important;left:12px!important;width:auto!important;min-width:0!important;max-width:none!important;padding:18px!important;border-width:8px!important;border-image-width:8px!important;justify-content:center!important}
 body.pc-redesign .auth-v124 .auth-form-title{font-size:30px!important;margin-bottom:15px!important}
 body.pc-redesign .auth-v124 .auth-form-tabs{gap:8px;margin-bottom:14px!important}
 body.pc-redesign .auth-v124 .auth-form-tabs button{height:44px!important;min-height:44px!important;font-size:18px!important}
 body.pc-redesign .auth-v124 .auth-field{font-size:16px!important;margin-bottom:13px!important}
 body.pc-redesign .auth-v124 .auth-input-shell{height:48px}
 body.pc-redesign .auth-v124 .auth-input-shell input{font-size:17px!important}
 body.pc-redesign .auth-v124 button.auth-submit{height:54px!important;min-height:54px!important;font-size:27px!important}
 body.pc-redesign .auth-v124.auth-register .auth-input-shell{height:42px}
 body.pc-redesign .auth-v124.auth-register .auth-field{font-size:14px!important;margin-bottom:7px!important}
 body.pc-redesign .auth-v124.auth-register .auth-form-title{font-size:28px!important;margin-bottom:10px!important}
 body.pc-redesign .auth-v124.auth-register .auth-form-tabs{margin-bottom:10px!important}
 body.pc-redesign .auth-v124.auth-register .auth-small-print{font-size:11px!important;margin-bottom:5px!important}
 body.pc-redesign .auth-v124.auth-register .auth-remember{font-size:14px!important;min-height:24px!important;margin-bottom:6px!important}
 body.pc-redesign .auth-v124.auth-register .auth-remember input{width:20px!important;height:20px!important;min-width:20px!important}
 body.pc-redesign .auth-v124.auth-register button.auth-submit{height:48px!important;min-height:48px!important;font-size:24px!important}
 body.pc-redesign .auth-v124 .auth-version{right:12px!important;bottom:9px!important;font-size:12px!important}
 body.pc-redesign .auth-v124 .auth-help-link{left:12px;bottom:7px;font-size:15px!important}
 body.pc-redesign .auth-v124 .auth-help-link>span{width:23px;height:23px;font-size:18px}
 body.pc-redesign .auth-v124 .auth-recovery-intro{font-size:20px!important;margin-bottom:20px!important}
}
@media(min-width:901px) and (max-height:800px){body.pc-redesign .auth-v124 .auth-card{top:12vh!important;bottom:5vh!important;padding:18px!important}body.pc-redesign .auth-v124 .auth-form-title{font-size:32px!important;margin-bottom:12px!important}body.pc-redesign .auth-v124 .auth-form-tabs{margin-bottom:12px!important}body.pc-redesign .auth-v124 .auth-input-shell{height:46px}body.pc-redesign .auth-v124 .auth-field{margin-bottom:12px!important}body.pc-redesign .auth-v124.auth-register .auth-form-title{font-size:29px!important;margin-bottom:9px!important}body.pc-redesign .auth-v124.auth-register .auth-form-tabs{margin-bottom:9px!important}body.pc-redesign .auth-v124.auth-register .auth-input-shell{height:39px}body.pc-redesign .auth-v124.auth-register .auth-field{font-size:15px!important;margin-bottom:6px!important}body.pc-redesign .auth-v124.auth-register .auth-small-print{font-size:11px!important}body.pc-redesign .auth-v124.auth-register button.auth-submit{height:48px!important;min-height:48px!important}body.pc-redesign .auth-v124.auth-register .auth-remember{margin-bottom:5px!important;font-size:14px!important}}

body.pc-redesign .auth-v124{max-width:none!important}
body.pc-redesign .auth-v124 button[data-pc-button=true]>.smith-button-label{color:#f1dfb4!important;text-shadow:0 1px 2px #000!important}
body.pc-redesign .auth-v124 .auth-card{justify-content:flex-start!important}
/* The same real account panel is used by normal, VIP, tester and admin accounts. */
body.pc-redesign #modal-root .account-dialog:has(.account-hub){width:min(760px,94vw)!important;max-width:94vw!important;max-height:92dvh!important;padding:22px!important;overflow:auto!important}
body.pc-redesign .account-hub{display:flex;flex-direction:column;gap:14px;min-width:0;font:16px/1.4 Georgia;color:var(--pc-ink)}
body.pc-redesign .account-hub-header{display:flex;align-items:center;justify-content:space-between;gap:12px}
body.pc-redesign .account-hub-header h2{margin:0!important;font:30px Georgia;color:var(--pc-gold-light)}
body.pc-redesign .account-hub-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
body.pc-redesign .account-hub-tabs:has(.account-admin-entry){grid-template-columns:repeat(4,minmax(0,1fr))}
body.pc-redesign .account-hub-tabs button{min-width:0;min-height:44px!important;font-size:16px!important;white-space:normal!important;padding:7px!important}
body.pc-redesign .account-hub-content{min-width:0}
body.pc-redesign .account-profile-overview{display:flex;align-items:center;gap:22px;padding:12px;background:#160f09bb;border:1px solid #93703d}
body.pc-redesign .account-profile-overview>img{width:115px;height:150px;object-fit:cover;object-position:center top;border:1px solid #9b7741}
body.pc-redesign .account-profile-overview h3{font:27px Georgia;margin:0 0 7px;color:#f0d5a1}
body.pc-redesign .account-profile-overview p{margin:0 0 12px!important;color:#c4af8b}
body.pc-redesign .account-profile-badges{display:flex;align-items:center;flex-wrap:wrap;gap:9px}
body.pc-redesign .account-profile-details{margin:14px 0;display:grid;grid-template-columns:1fr 1fr;gap:8px 18px}
body.pc-redesign .account-profile-details>div{padding:8px 0;border-bottom:1px solid #916d3a66;min-width:0}
body.pc-redesign .account-profile-details dt{font-size:13px;color:#bea580}
body.pc-redesign .account-profile-details dd{margin:4px 0 0;font-size:17px;overflow-wrap:anywhere}
body.pc-redesign .account-hub-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px}
body.pc-redesign .account-hub-actions button{flex:1;min-height:44px!important}
body.pc-redesign .account-security>p{margin:0 0 14px!important;font-size:15px!important;color:#d8c49e}
body.pc-redesign .account-security form{display:grid;grid-template-columns:1fr 1fr;gap:12px}
body.pc-redesign .account-security label:first-child{grid-column:1/-1}
body.pc-redesign .account-security label{margin:0!important;font-size:15px}
body.pc-redesign .account-security input{display:block;width:100%;box-sizing:border-box;min-height:44px;margin-top:5px;color:#f2e2bd;background:#160f09;border:1px solid #b08a4c}
body.pc-redesign .account-security button{grid-column:1/-1;min-height:48px!important}
body.pc-redesign .account-privacy-option{display:flex;align-items:flex-start;gap:12px;margin:0 0 18px!important;padding:12px;border:1px solid #977341;background:#160f09aa}
body.pc-redesign .account-privacy-option input{flex:none;width:22px!important;height:22px!important;margin:3px 0 0!important;accent-color:#b58b3b}
body.pc-redesign .account-privacy-option strong,body.pc-redesign .account-privacy-option small{display:block}
body.pc-redesign .account-privacy-option strong{font-size:17px;color:#f1dab0}
body.pc-redesign .account-privacy-option small{margin-top:4px;font-size:13px;color:#c2ab86}
body.pc-redesign .account-privacy-note{font-size:14px!important;margin:0 0 16px!important;color:#d2bd96}
body.pc-redesign .account-privacy-status{font-size:14px!important;color:#f1ce89}
@media(max-width:600px){body.pc-redesign #modal-root .account-dialog:has(.account-hub){padding:15px!important;max-height:96dvh!important}body.pc-redesign .account-hub{gap:10px;font-size:14px}body.pc-redesign .account-hub-header h2{font-size:25px}body.pc-redesign .account-hub-tabs,body.pc-redesign .account-hub-tabs:has(.account-admin-entry){grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}body.pc-redesign .account-hub-tabs button{font-size:14px!important}body.pc-redesign .account-profile-overview{gap:12px;padding:8px}body.pc-redesign .account-profile-overview>img{width:82px;height:115px}body.pc-redesign .account-profile-overview h3{font-size:22px}body.pc-redesign .account-profile-details{gap:6px 12px}body.pc-redesign .account-profile-details dd{font-size:15px}body.pc-redesign .account-security form{grid-template-columns:1fr}body.pc-redesign .account-privacy-option{padding:9px;gap:9px}body.pc-redesign .account-privacy-option strong{font-size:15px}}

body.pc-redesign .account-profile-overview>div{min-width:0;flex:1;overflow-wrap:anywhere}body.pc-redesign .account-profile-overview>img{flex-shrink:0}body.pc-redesign .account-profile-overview h3,body.pc-redesign .account-profile-overview p{overflow-wrap:anywhere}

/* Account emblems remain compact dialogs even under the legacy full-height modal rule. */
body.pc-redesign dialog.account-crest-dialog{display:block!important;min-height:0!important;height:fit-content!important;max-height:90dvh!important;padding:30px 24px 24px!important}
body.pc-redesign dialog.account-crest-dialog:not([open]){display:none!important}
body.pc-redesign dialog.account-crest-dialog>[data-crest-close]{position:absolute!important;inset:8px 8px auto auto!important;width:36px!important;height:36px!important;min-height:36px!important;padding:0!important}
body.pc-redesign .portrait-battle,body.pc-redesign .portrait-battle .pb-heading,body.pc-redesign .portrait-battle .pb-fighter,body.pc-redesign .portrait-battle .pb-fighter>header,body.pc-redesign .portrait-battle .pb-vitals,body.pc-redesign .portrait-battle .pb-combat-details,body.pc-redesign .portrait-battle .pb-controls,body.pc-redesign .portrait-battle .battle121-helper-panel,body.pc-redesign .portrait-battle .pb-detail-values>div{background:#24170f url('assets/pc-v124/ui/panel.webp') center/cover!important;border-color:#a78243!important}

/* Reserve real space for the gear launcher and paginate the merchant at short desktop heights. */
@media(min-width:901px){
 body.pc-redesign[data-view=shop] .view-content:has(>.extra-equipment-launch){display:grid!important;grid-template-rows:36px minmax(0,1fr)!important;gap:7px!important;height:100%!important;max-height:100%!important;overflow:hidden!important}
 body.pc-redesign[data-view=shop] .extra-equipment-launch{height:36px!important;min-height:36px!important;margin:0!important}
 body.pc-redesign[data-view=shop] .approved-market{display:grid!important;grid-template-rows:auto minmax(0,1fr) auto!important;min-height:0!important;height:100%!important;max-height:100%!important;gap:8px!important;overflow:hidden!important}
 body.pc-redesign[data-view=shop] .approved-market-panel{display:grid!important;grid-template-rows:auto auto minmax(0,1fr) auto!important;gap:7px!important;min-height:0!important;max-height:100%!important;overflow:hidden!important;padding:12px!important}
 body.pc-redesign[data-view=shop] .growth-screen.smith-design.approved-market .approved-stock{height:100%!important;min-height:0!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;grid-template-rows:repeat(2,minmax(0,1fr))!important;grid-auto-rows:minmax(0,1fr)!important;overflow:hidden!important}
 body.pc-redesign[data-view=shop] .growth-screen.smith-design.approved-market .approved-stock-heading{padding:6px 0!important}
 body.pc-redesign[data-view=shop] .offer.approved-offer{height:100%!important;min-height:0!important;max-height:100%!important;overflow:hidden!important;padding:8px!important}
 body.pc-redesign[data-view=shop] .approved-inspect{height:auto!important;min-height:0!important;flex:1!important;overflow:hidden!important}
 body.pc-redesign[data-view=shop] .approved-art{flex:1!important;min-height:45px!important;height:auto!important;overflow:hidden!important}
 body.pc-redesign[data-view=shop] .approved-caption{height:82px!important;min-height:82px!important;flex:0 0 82px!important}
 body.pc-redesign[data-view=shop] .approved-market-bottom{padding-top:0!important;min-height:32px!important}
 body.pc-redesign[data-view=shop] .approved-building{min-height:22px!important;position:relative;z-index:3;margin:0!important}
 body.pc-redesign[data-view=shop] .approved-building[open]{position:absolute;bottom:0;left:0;right:0;background:#24170f url('assets/pc-v124/ui/panel.webp') center/cover;padding:12px;border:1px solid #b89252;max-height:70%;overflow:auto}
 body.pc-redesign[data-view=shop] .approved-admin-link{position:absolute;bottom:1px;right:0;z-index:4}
}
@media(min-width:901px) and (max-height:899px){body.pc-redesign[data-view=shop] .growth-screen.smith-design.approved-market .approved-stock{grid-template-rows:minmax(0,1fr)!important}}

/* Approved utility screens: real controls inside separately framed category/content columns. */
body.pc-redesign .pc-hall-heading{background:linear-gradient(90deg,#130d09e8,#130d0944),url('assets/pc-v124/ui/hall-header.webp') center/cover!important;border:1px solid #a78243;padding:12px 18px;display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:66px;box-sizing:border-box}
body.pc-redesign .pc-hall-heading :is(h1,h2){margin:0!important;color:#f1d59a!important;font:700 clamp(23px,2vw,36px)/1.15 Georgia!important}
body.pc-redesign dialog.pc-settings-shell,body.pc-redesign dialog.notifications-popover{width:min(1320px,96vw)!important;max-width:96vw!important;height:min(850px,94dvh)!important;min-height:0!important;max-height:94dvh!important;inset:0!important;margin:auto!important;padding:12px!important;overflow:hidden!important;display:flex;flex-direction:column;gap:10px}
body.pc-redesign .pc-settings-layout{display:grid;grid-template-columns:180px minmax(0,1fr) minmax(0,1fr);gap:14px;flex:1;min-height:0}
body.pc-redesign .pc-settings-layout>*,body.pc-redesign .pc-notice-layout>*,body.pc-redesign .pc-help-topics,body.pc-redesign .pc-help-detail,body.pc-redesign .pc-update-versions,body.pc-redesign .pc-update-detail{border:1px solid #a78243;background:#17110ce8;padding:16px;min-width:0;box-sizing:border-box}
body.pc-redesign .pc-settings-categories{display:flex;flex-direction:column;gap:12px}body.pc-redesign .pc-settings-categories strong{padding:14px 8px;color:#f4d794;border:1px solid #9d7439}body.pc-redesign .pc-settings-categories small{margin-top:auto}
body.pc-redesign .pc-settings-layout h3{font:24px Georgia;color:#f1d59a;margin:0 0 16px}body.pc-redesign .pc-settings-layout label{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin:16px 0}body.pc-redesign .pc-settings-layout input[type=range]{width:100%;min-width:0}body.pc-redesign .pc-settings-layout p{font:16px/1.6 Georgia!important;color:#d7c39d}
body.pc-redesign .pc-notice-body{flex:1;min-height:0}body.pc-redesign .pc-notice-layout{display:grid;grid-template-columns:170px minmax(240px,1fr) minmax(250px,1fr);height:100%;gap:12px}body.pc-redesign .pc-notice-layout>nav{display:flex;flex-direction:column;gap:10px}body.pc-redesign .pc-notice-layout h3{font:23px Georgia;color:#f0d59a;margin:0 0 14px}body.pc-redesign .pc-notice-messages{display:flex;flex-direction:column;gap:8px}body.pc-redesign .pc-notice-messages .notification-list{flex:1;min-height:0;overflow:hidden;display:flex;flex-direction:column;gap:7px}body.pc-redesign .pc-notice-messages .notification-list article{min-height:70px;padding:6px;background:#2a1a10;border:1px solid #8c6938}body.pc-redesign .pc-notice-messages button{width:100%;text-align:left}body.pc-redesign .pc-notice-messages time{display:block;font-size:12px;margin-top:7px;color:#bca987}body.pc-redesign .pc-notice-messages footer{display:flex;justify-content:space-between;align-items:center;gap:8px}body.pc-redesign .pc-notice-detail p{font:18px/1.7 Georgia;color:#dfcba4}body.pc-redesign .pc-notice-detail time{font-size:12px;color:#bca987}body.pc-redesign .notice-clear{align-self:flex-end}
body.pc-redesign .pc-help-shell,body.pc-redesign .pc-update-shell{height:100%;min-height:0;display:grid;grid-template-columns:230px minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);gap:12px}body.pc-redesign :is(.pc-help-shell,.pc-update-shell)>.pc-hall-heading{grid-column:1/-1}body.pc-redesign .pc-help-topics,body.pc-redesign .pc-update-versions{display:flex;flex-direction:column;gap:10px}body.pc-redesign .pc-help-topics button,body.pc-redesign .pc-update-versions button{min-height:49px!important;white-space:normal!important;line-height:1.25!important}body.pc-redesign .pc-help-detail{display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;gap:12px;min-height:0}body.pc-redesign .pc-help-detail header{display:flex;align-items:center;justify-content:space-between;gap:10px}body.pc-redesign .pc-help-detail h2{margin:0;font:28px Georgia;color:#edd19b}body.pc-redesign .pc-help-scene{width:100%;height:100%;min-height:0;max-height:100%;object-fit:contain}body.pc-redesign .pc-help-step{display:flex;gap:18px;align-items:center;border:1px solid #886534;padding:10px}body.pc-redesign .pc-help-step b{font:30px Georgia;color:#e3bd69}body.pc-redesign .pc-help-step p{font:18px/1.5 Georgia!important;margin:0!important}body.pc-redesign .pc-help-detail footer,body.pc-redesign .pc-update-versions footer{display:flex;align-items:center;gap:10px;justify-content:space-between}body.pc-redesign .pc-update-versions button strong,body.pc-redesign .pc-update-versions button span{display:block}body.pc-redesign .pc-update-versions button span{font-size:12px}body.pc-redesign .pc-update-versions footer{margin-top:auto}body.pc-redesign .pc-update-detail{overflow:auto}body.pc-redesign .pc-update-detail h2{font:27px Georgia;color:#f0d49a;margin:0 0 14px}body.pc-redesign .pc-update-detail li{font:18px/1.65 Georgia;margin:12px 0;padding-bottom:12px;border-bottom:1px solid #87653855}
body.pc-redesign .pc-bug-report{display:grid;grid-template-columns:minmax(220px,.65fr) minmax(0,1.35fr);grid-template-rows:auto minmax(0,1fr);gap:12px;height:100%;min-height:0}body.pc-redesign .pc-bug-report>header{grid-column:1/-1}body.pc-redesign .pc-bug-report>section:nth-child(2){grid-column:2;grid-row:2;margin:0;min-height:0;padding:16px}body.pc-redesign .pc-bug-report>section:nth-child(3){grid-column:1;grid-row:2;margin:0;padding:16px;overflow:auto}body.pc-redesign .pc-bug-report textarea{height:clamp(90px,15dvh,180px);resize:none}body.pc-redesign .pc-bug-report label{font-size:15px;display:flex;flex-direction:column;gap:5px}body.pc-redesign .pc-bug-report form{display:grid;gap:9px}body.pc-redesign .pc-bug-report h2{font:24px Georgia;margin:0 0 12px;color:#f0d49a}
body.pc-redesign [data-pc-admin-layout]{height:100%;min-height:0;display:grid!important;grid-template-columns:190px minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);gap:12px}body.pc-redesign [data-pc-admin-layout]>.pc-hall-heading{grid-column:1/-1;margin:0}body.pc-redesign [data-pc-admin-layout]>.admin-tabs{grid-column:1;grid-row:2;display:flex!important;flex-direction:column;gap:9px;margin:0!important;padding:10px!important;background:#1b120c;border:1px solid #98713c}body.pc-redesign [data-pc-admin-layout]>.admin-tabs button{width:100%;min-height:48px!important;font-size:14px!important;white-space:normal!important}body.pc-redesign .pc-admin-body{grid-column:2;grid-row:2;min-height:0;min-width:0;overflow:auto;display:flex;flex-direction:column;gap:12px}body.pc-redesign .pc-admin-body>.admin-layout{flex:1;min-height:0;margin:0!important}body.pc-redesign .pc-admin-body>.catalog-entry{min-height:0;flex:1;margin:0;overflow:auto}body.pc-redesign .pc-admin-body .catalog-illustration{height:clamp(100px,25dvh,300px)!important}
@media(max-width:900px){body.pc-redesign dialog.pc-settings-shell,body.pc-redesign dialog.notifications-popover{width:98vw!important;max-width:98vw!important;height:96dvh!important;max-height:96dvh!important;padding:8px!important}body.pc-redesign .pc-hall-heading{padding:8px;min-height:48px}body.pc-redesign .pc-settings-layout{grid-template-columns:1fr 1fr;gap:8px;overflow:auto}body.pc-redesign .pc-settings-categories{grid-column:1/-1;display:flex;flex-direction:row;flex-wrap:wrap;padding:8px;gap:7px}body.pc-redesign .pc-settings-categories h3,body.pc-redesign .pc-settings-categories strong{display:none}body.pc-redesign .pc-settings-categories small{margin:auto}body.pc-redesign .pc-settings-layout>section{padding:10px}body.pc-redesign .pc-settings-layout p{font-size:13px!important;line-height:1.4!important}body.pc-redesign .pc-settings-layout h3{font-size:19px}body.pc-redesign .pc-notice-layout{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(130px,1fr) minmax(150px,1fr);gap:7px}body.pc-redesign .pc-notice-layout>nav{flex-direction:row;flex-wrap:wrap;padding:7px;gap:5px}body.pc-redesign .pc-notice-layout h3{font-size:18px;margin:0 0 7px}body.pc-redesign .pc-notice-layout>nav h3{display:none}body.pc-redesign .pc-notice-layout>*{padding:9px}body.pc-redesign .pc-notice-detail p{font-size:15px;line-height:1.45}body.pc-redesign .pc-notice-messages .notification-list article{min-height:45px}body.pc-redesign .pc-notice-layout button{min-height:36px!important}body.pc-redesign .pc-help-shell,body.pc-redesign .pc-update-shell{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto minmax(0,1fr);gap:7px}body.pc-redesign .pc-help-topics,.pc-update-versions{grid-column:1;flex-direction:row!important;flex-wrap:wrap;padding:7px!important;gap:5px!important}body.pc-redesign .pc-help-topics h2,body.pc-redesign .pc-update-versions h2{display:none}body.pc-redesign .pc-help-topics button{flex:1 1 27%;font-size:11px!important;min-height:35px!important}body.pc-redesign .pc-help-detail{padding:9px;gap:6px}body.pc-redesign .pc-help-detail h2{font-size:20px}body.pc-redesign .pc-help-step p{font-size:14px!important}body.pc-redesign .pc-help-detail footer{gap:5px;flex-wrap:wrap}body.pc-redesign .pc-help-detail footer button{font-size:12px!important}body.pc-redesign .pc-update-versions button{flex:1 1 27%;font-size:11px!important;min-height:38px!important}body.pc-redesign .pc-update-versions button span{font-size:9px}body.pc-redesign .pc-update-versions footer{width:100%;gap:5px}body.pc-redesign .pc-update-detail{padding:10px}body.pc-redesign .pc-update-detail h2{font-size:20px}body.pc-redesign .pc-update-detail li{font-size:14px;line-height:1.4;margin:7px 0;padding-bottom:7px}body.pc-redesign .pc-bug-report{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto;gap:7px}body.pc-redesign .pc-bug-report>section:nth-child(2){grid-column:1;grid-row:2;padding:10px}body.pc-redesign .pc-bug-report>section:nth-child(3){grid-column:1;grid-row:3;padding:8px;max-height:100px}body.pc-redesign .pc-bug-report h2{font-size:18px;margin:0 0 6px}body.pc-redesign .pc-bug-report label{font-size:12px}body.pc-redesign .pc-bug-report form{gap:5px}body.pc-redesign .pc-bug-report textarea{height:70px}body.pc-redesign .pc-bug-report .muted{font-size:11px}body.pc-redesign [data-pc-admin-layout]{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto minmax(0,1fr);gap:7px}body.pc-redesign [data-pc-admin-layout]>.admin-tabs{grid-column:1;grid-row:2;flex-direction:row;flex-wrap:wrap;padding:5px!important;gap:5px}body.pc-redesign [data-pc-admin-layout]>.admin-tabs button{flex:1 1 28%;min-height:35px!important;font-size:11px!important}body.pc-redesign .pc-admin-body{grid-column:1;grid-row:3}}

body.pc-redesign[data-layout=sidebar]:is([data-view=help],[data-view=updates],[data-view=bugReports],[data-view=admin]) .view-content{height:100%!important;max-height:100%!important;min-height:0!important;overflow:hidden!important}
body.pc-redesign[data-layout=sidebar]:is([data-view=help],[data-view=updates],[data-view=bugReports],[data-view=admin]) .main-content{overflow:hidden!important}
body.pc-redesign dialog.pc-settings-shell:not([open]),body.pc-redesign dialog.notifications-popover:not([open]){display:none!important}

body.pc-redesign[data-layout=sidebar][data-view=expeditions] .view-content:has(>.destination-live){display:grid!important;grid-template-rows:38px minmax(0,1fr)!important;gap:6px!important;height:100%!important;min-height:0!important;max-height:100%!important;overflow:hidden!important}
body.pc-redesign[data-layout=sidebar][data-view=expeditions] .pc-caves-launch{height:38px!important;min-height:38px!important;margin:0!important;justify-self:start}
body.pc-redesign[data-layout=sidebar][data-view=expeditions] .destination-live{height:100%!important;min-height:0!important;max-height:100%!important;max-width:none!important;display:flex!important;flex-direction:column!important;padding:4px!important;gap:7px!important;overflow:hidden!important}
body.pc-redesign[data-layout=sidebar][data-view=expeditions] .destination-live>.hub-list-heading{flex:0 0 auto!important;min-height:0!important;max-height:78px!important;padding:4px!important;margin:0!important}
body.pc-redesign[data-layout=sidebar][data-view=expeditions] .destination-live>.hub-list-heading h1{margin:2px 0!important}
body.pc-redesign[data-layout=sidebar][data-view=expeditions] .destination-live>.hub-portals{flex:1!important;height:auto!important;min-height:0!important;max-height:100%!important;overflow:hidden!important;margin:0!important}
@media(max-height:540px){body.pc-redesign[data-layout=sidebar][data-view=expeditions] .view-content:has(>.destination-live){grid-template-rows:34px minmax(0,1fr)!important;gap:3px!important}body.pc-redesign[data-layout=sidebar][data-view=expeditions] .pc-caves-launch{min-height:34px!important;height:34px!important}body.pc-redesign[data-layout=sidebar][data-view=expeditions] .destination-live{padding:0!important;gap:3px!important}body.pc-redesign[data-layout=sidebar][data-view=expeditions] .destination-live>.hub-list-heading{max-height:35px!important;padding:0!important}body.pc-redesign[data-layout=sidebar][data-view=expeditions] .hub-list-heading small{display:none!important}body.pc-redesign[data-layout=sidebar][data-view=expeditions] .hub-list-heading h1{font-size:23px!important;margin:0!important}body.pc-redesign[data-layout=sidebar][data-view=expeditions] .hub-portal-footer{min-height:37px!important;padding:2px 5px!important}body.pc-redesign[data-layout=sidebar][data-view=expeditions] .hub-portal-footer button{min-height:34px!important;height:34px!important}body.pc-redesign[data-layout=sidebar][data-view=expeditions] .hub-portal-caption p{display:none!important}body.pc-redesign[data-layout=sidebar][data-view=expeditions] .hub-portal-caption{padding:5px!important}body.pc-redesign .pc-more-dialog{max-height:calc(100dvh - 12px)!important;padding:10px!important}body.pc-redesign .pc-more-grid{gap:6px!important}body.pc-redesign .pc-more-grid button{min-height:38px!important}}

@media(min-width:1000px) and (pointer:fine){body.pc-redesign[data-layout=sidebar] .layout-navigation>button{font-size:clamp(14px,1vw,20px)!important;white-space:normal!important}body.pc-redesign[data-layout=sidebar] .layout-navigation>button>.smith-button-label{line-height:1.15;min-width:0;overflow-wrap:normal}body.pc-redesign .layout-navigation .woodland-nav-icon{flex-shrink:0;width:clamp(23px,1.7vw,34px);height:clamp(25px,3.5vh,36px)}}

body.pc-redesign .layout-topbar{background:#171717 url('assets/pc-v124/ui/app-stone.webp') repeat!important}

/* Reference content is charcoal; leather is reserved for controls and outer framing. */
body.pc-redesign{--pc-content-color:#111314;--pc-content-image:url('assets/pc-v124/ui/panel-dark.webp')}
body.pc-redesign[data-layout=sidebar] :is(.pc-settings-layout>*,.pc-notice-layout>*,.pc-help-topics,.pc-help-detail,.pc-update-versions,.pc-update-detail,.pc-bug-report>.hh-panel,.pc-admin-body .hh-panel,.admin124-section,.admin124-review,.catalog124-list,.catalog124-tile,.pc-community-body,.pc-workshop-body,.pc-caves-body,.current-panel,.current-inventory,.current-attributes,.current-hero>section,.cl-info>section,.growth-panel){background-color:var(--pc-content-color)!important;background-image:var(--pc-content-image)!important;background-position:center!important;background-size:cover!important;border-color:#9b793f!important}
body.pc-redesign :is(.pc-settings-layout h3,.pc-notice-layout h3,.pc-update-detail h2,.pc-help-detail h2){color:#f1d89e}
body.pc-redesign [data-notice-category][aria-pressed=true]::before,body.pc-redesign [data-notice-select][aria-pressed=true]::before{border-image-source:var(--pc-button-hover)}

body.pc-redesign [data-pc-admin-layout]{max-width:none!important;width:100%!important;margin:0!important}
body.pc-redesign [data-pc-admin-layout]>.admin-tabs button{flex:0 0 48px!important;height:48px!important;min-height:48px!important}
body.pc-redesign .catalog124-tile{background-color:var(--pc-content-color)!important;background-image:var(--pc-content-image)!important}
body.pc-redesign .catalog124-tile>.smith-button-skin,body.pc-redesign .catalog124-tile::before{display:none!important}
body.pc-redesign .catalog124-tile>.smith-button-label{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;width:100%!important;height:100%!important;min-height:0!important;gap:6px!important}
body.pc-redesign .catalog124-tile>.smith-button-label>div{flex:1!important;min-height:0!important;width:100%!important}
body.pc-redesign .catalog124-tile>.smith-button-label>strong{flex:none!important;font:12px/1.2 Georgia!important;overflow-wrap:anywhere}
body.pc-redesign .catalog124-tile>.smith-button-label>small{flex:none!important;font-size:11px!important}
@media(max-width:900px){body.pc-redesign [data-pc-admin-layout]>.admin-tabs button{flex:1 1 27%!important;min-height:36px!important;height:36px!important}}

@media(min-width:1000px) and (pointer:fine){
 body.pc-redesign[data-layout=sidebar][data-view=admin] .layout-navigation{display:none!important}
 body.pc-redesign[data-layout=sidebar][data-view=admin] [data-pc-admin-layout]{grid-template-columns:minmax(0,1fr)!important}
 body.pc-redesign[data-layout=sidebar][data-view=admin] [data-pc-admin-layout]>.admin-tabs{position:fixed!important;left:17px!important;top:clamp(132px,17.4vh,196px)!important;bottom:20px!important;width:calc(var(--layout-sidebar) - 34px)!important;box-sizing:border-box!important;z-index:20!important;grid-column:auto!important;grid-row:auto!important;padding:0!important;gap:8px!important;border:0!important;background:none!important;overflow:auto!important}
 body.pc-redesign[data-layout=sidebar][data-view=admin] .pc-admin-body{grid-column:1!important;grid-row:2!important}
 body.pc-redesign[data-layout=sidebar][data-view=admin] [data-pc-admin-layout]>.admin-tabs button{font-size:14px!important;min-height:48px!important;height:48px!important;flex:0 0 48px!important}
}

body.pc-redesign .pc-admin-sidebar{display:none!important}
@media(min-width:1000px) and (pointer:fine){body.pc-redesign[data-view=admin] [data-pc-admin-layout]>.admin-tabs{visibility:hidden!important;pointer-events:none!important}body.pc-redesign[data-view=admin] .pc-admin-sidebar{position:fixed;display:grid!important;grid-template-columns:minmax(0,1fr);align-content:start;left:17px;top:clamp(132px,17.4vh,196px);bottom:16px;width:calc(var(--layout-sidebar) - 34px);z-index:70;gap:9px;overflow:auto}body.pc-redesign .pc-admin-sidebar>button{width:100%;min-height:48px!important;height:48px!important;padding:5px 8px!important;font:14px/1.2 Georgia;white-space:normal}}

/* Newly added gameplay sheets share the approved charcoal content surface. */
body.pc-redesign .gp124-columns>section:not(.gp124-workbench),body.pc-redesign :is(.gp124-attribute-list>div,.gp124-impact,.gp124-ach-detail,.gp124-ach-list,.gp124-ach-categories){background-color:var(--pc-content-color)!important;background-image:var(--pc-content-image)!important;background-position:center!important;background-size:cover!important}

/* Keep live notification contents inside the actual dialog flex box. */
body.pc-redesign[data-layout=sidebar] dialog.notifications-popover[open]{display:flex!important;flex-direction:column!important}
body.pc-redesign .pc-notice-layout>*{min-height:0}
body.pc-redesign .pc-notice-messages .notification-list article{flex:1;min-height:0}
body.pc-redesign .pc-notice-messages .notification-list article button{height:100%;min-height:0!important}
body.pc-redesign .pc-notice-messages .notification-list article button>.smith-button-label{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px;align-items:center;width:100%;height:100%}
body.pc-redesign .pc-notice-messages .notification-list article time{flex:none;margin:0;font-size:11px}
body.pc-redesign .pc-notice-messages footer>span{white-space:nowrap;min-width:42px;text-align:center}
@media(max-width:600px){body.pc-redesign .pc-notice-layout{grid-template-rows:auto minmax(0,1fr) minmax(0,1fr)}body.pc-redesign .pc-notice-detail p{font-size:14px;line-height:1.35}body.pc-redesign .pc-notice-layout h3{font-size:17px;margin-bottom:5px}body.pc-redesign .pc-notice-messages .notification-list article strong{font-size:13px}body.pc-redesign .pc-notice-layout button{min-height:32px!important}}
@media(max-height:500px) and (min-width:601px){body.pc-redesign .pc-notice-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:auto minmax(0,1fr)}body.pc-redesign .pc-notice-layout>nav{grid-column:1/-1;flex-wrap:nowrap}body.pc-redesign .pc-notice-detail p{font-size:13px;line-height:1.3}body.pc-redesign .pc-notice-layout h3{font-size:15px;margin-bottom:4px}body.pc-redesign dialog.notifications-popover .pc-hall-heading{min-height:38px;padding:4px}body.pc-redesign .pc-notice-layout button{min-height:30px!important}}

body.pc-redesign .pc-notice-body{display:flex;flex-direction:column;gap:6px}body.pc-redesign .pc-notice-layout{flex:1;min-height:0}body.pc-redesign .pc-notice-mode{display:none}body.pc-redesign .pc-notice-text-pages{display:flex;gap:6px;align-items:center;justify-content:space-between;margin-bottom:8px}body.pc-redesign .pc-notice-text-pages>span{white-space:nowrap}body.pc-redesign .pc-notice-text-pages button{font-size:11px;min-height:32px;padding:5px}
@media(max-width:600px) and (orientation:portrait){body.pc-redesign .pc-notice-mode{display:flex;gap:6px;flex:none}body.pc-redesign .pc-notice-mode button{flex:1;min-height:36px}body.pc-redesign .pc-notice-layout{grid-template-rows:auto minmax(0,1fr)}body.pc-redesign .pc-notice-layout[data-notice-pane=list]>.pc-notice-detail,body.pc-redesign .pc-notice-layout[data-notice-pane=detail]>.pc-notice-messages{display:none}body.pc-redesign .pc-notice-detail p{font-size:14px;line-height:1.4}body.pc-redesign .pc-notice-messages .notification-list article{max-height:90px}}

@media(max-width:600px) and (orientation:portrait){body.pc-redesign .pc-notice-layout[data-notice-pane=detail]{grid-template-rows:minmax(0,1fr)}body.pc-redesign .pc-notice-layout[data-notice-pane=detail]>nav{display:none}}

@media(max-height:500px){body.pc-redesign .pc-notice-detail p{margin:5px 0}body.pc-redesign .pc-notice-text-pages{margin-bottom:4px}body.pc-redesign .pc-notice-detail .actions{margin-top:4px}}

/* The login painting has native1672x941 pixels. Keep the scenic stage sharp
   and complete on wide displays, with live UI anchored to that same stage. */
@media(min-width:901px){
 html body.pc-redesign[data-layout=auth] #app{display:grid!important;place-items:center!important;height:100dvh!important;min-height:0!important;overflow:hidden!important;background:linear-gradient(#15120de8,#090907ef),url('assets/round2-crafting/74-craft-stone-tile-v1.png') center/384px 384px repeat!important}
 html body.pc-redesign .auth-v124{box-sizing:border-box!important;width:min(100vw,1672px,calc(100dvh * 1.776833156))!important;height:auto!important;aspect-ratio:1672 / 941!important;max-height:min(100dvh,941px)!important;margin:auto!important;border:1px solid #997139;box-shadow:0 0 0 7px #100d09,0 0 50px #000c}
 html body.pc-redesign .auth-v124 .auth-scene{background-size:100% 100%!important;filter:none!important;transform:none!important}
 html body.pc-redesign .auth-v124 .auth-story{left:5.5%!important;top:3%!important;width:40%!important;height:40%!important}
 html body.pc-redesign .auth-v124 .auth-card{right:2%!important;top:16.5%!important;bottom:6.5%!important;width:32%!important}
 html body.pc-redesign .auth-v124 .auth-utilities{right:2%;top:16px}
 html body.pc-redesign .auth-v124 .auth-version{right:2%!important}
 html body.pc-redesign .auth-v124.auth-register .auth-card{padding:16px 24px!important}
 html body.pc-redesign .auth-v124.auth-register .auth-form-title{font-size:30px!important;margin-bottom:8px!important}
 html body.pc-redesign .auth-v124.auth-register .auth-form-tabs{margin-bottom:8px!important}
 html body.pc-redesign .auth-v124.auth-register .auth-form-tabs button{height:40px!important;min-height:40px!important;font-size:19px!important}
 html body.pc-redesign .auth-v124.auth-register .auth-field{font-size:15px!important;gap:4px!important;margin-bottom:6px!important}
 html body.pc-redesign .auth-v124.auth-register .auth-input-shell{height:38px}
 html body.pc-redesign .auth-v124.auth-register .auth-input-shell input{font-size:16px!important}
 html body.pc-redesign .auth-v124.auth-register .auth-remember{min-height:22px!important;font-size:14px!important;margin-bottom:4px!important}
 html body.pc-redesign .auth-v124.auth-register .auth-small-print{font-size:11px!important;margin-bottom:4px!important}
 html body.pc-redesign .auth-v124.auth-register button.auth-submit{min-height:44px!important;height:44px!important;font-size:22px!important;margin:2px 0!important}
 html body.pc-redesign .auth-v124.auth-register .auth-divider{height:14px;margin:4px 0}
 html body.pc-redesign .auth-v124.auth-register .auth-mode-switch{font-size:14px!important;margin:2px 0 0!important}
 html body.pc-redesign .auth-v124.auth-register .auth-mode-switch button{min-height:24px!important;font-size:14px!important;padding:2px 0!important}
}
/* Tall tablet backgrounds keep native detail instead of scaling above941px. */
@media(min-width:901px) and (max-width:1199px){
 html body.pc-redesign .auth-v124{width:100vw!important;height:min(100dvh,941px)!important;aspect-ratio:auto!important}
 html body.pc-redesign .auth-v124 .auth-scene{background-size:cover!important}
 html body.pc-redesign .auth-v124 .auth-card{top:12%!important;bottom:6%!important;padding:16px 22px!important}
}
@media(max-width:900px) and (min-height:942px){
 html body.pc-redesign .auth-v124 .auth-scene{background-size:auto 941px!important;background-color:#17120d}
}
