/* Device-specific presentation only; no NFT artwork, pricing or verification changes. */
body.portal main,body.portal section,body.portal .curator-page{min-width:0}
body.portal main :is(h1,h2,h3,p,dd){overflow-wrap:break-word}
body.portal :is(button,input,select,a.pn-button){touch-action:manipulation}
.pn-device-close{display:none}
@media(min-width:768px) and (max-width:1099px){
 body.portal.pn-curator main.pn-wrap{width:calc(100% - 48px)!important}
 body.portal.pn-curator :is(.pn-trailer-strip,#home-trailers,.home-series-grid,.pn-route-grid,.pn-special-grid){grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.portal.pn-curator .pn-relic-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.portal.pn-curator .dash-rarities{grid-template-columns:repeat(4,minmax(0,1fr))!important}
 body.portal.pn-curator .pn-pricing-columns{grid-template-columns:1fr!important}
 body.portal.pn-curator .pn-pagehead h1{font-size:clamp(36px,5vw,52px)!important}
 body.portal.pn-curator .home-cinema .pn-heading h2{white-space:normal!important;text-wrap:balance!important;font-size:36px!important}
}
@media(max-width:1099px){
 body.pn-curator #curator-menu-toggle{display:flex!important;align-items:center;justify-content:center;position:absolute;right:16px;top:16px;left:auto;width:44px;height:44px;padding:10px;background:#142021;border:1px solid #c6aa7966;border-radius:6px;z-index:2;color:#e2c797}
 body.pn-curator #curator-menu-toggle svg{width:24px;height:24px}
 body.pn-curator .curator-sidebar.curator-expanded{width:min(320px,calc(100vw - 24px))!important;max-width:none!important}
 .curator-expanded .pn-device-close{display:flex;position:absolute;right:12px;top:12px;align-items:center;justify-content:center;width:44px;height:44px;font:30px/1 system-ui;background:#142021;color:#e2c797;border:1px solid #c6aa7966;border-radius:6px;z-index:3}
 body.pn-curator .curator-sidebar .pn-nav a{min-height:48px!important}
 body.pn-curator .curator-language-panel button{min-width:44px;min-height:44px}
}
@media(max-width:767px){
 body.portal.pn-curator{--curator-rail:0px!important;--curator-topbar:76px!important;padding:0!important}
 body.portal.pn-curator .curator-page{margin-left:0!important;padding-top:76px!important;width:100%!important}
 body.portal.pn-curator .curator-page .pn-header{position:fixed!important;inset:0 0 auto 0!important;width:100%!important;height:76px!important;min-height:76px!important;padding:8px 16px!important;display:flex!important;flex-direction:row!important;align-items:center!important;z-index:60}
 body.portal.pn-curator .curator-context{padding:0!important;margin:0!important;width:calc(100% - 56px)!important;min-width:0!important}
 body.portal.pn-curator .curator-context .pn-header-lockup{max-width:210px!important;width:min(210px,100%)!important;height:58px!important;margin:0!important}
 body.portal.pn-curator .curator-context .brand-logo-shell{width:100%!important;max-width:210px!important}
 body.portal.pn-curator .curator-sidebar{inset:0 auto 0 0!important;width:min(320px,calc(100vw - 24px))!important;height:100dvh!important;transform:translateX(-105%);visibility:hidden;transition:transform .25s ease,visibility .25s;z-index:80;overflow-y:auto}
 body.portal.pn-curator .curator-sidebar.curator-expanded{transform:translateX(0);visibility:visible}
 body.portal.pn-curator .curator-sidebar .pn-nav a{color:#e4d8c2!important;font-size:18px!important}
 body.portal.pn-curator .curator-sidebar .curator-language-panel{display:block!important;visibility:visible!important;opacity:1!important;margin:16px 0!important}
 body.portal.pn-curator .curator-sidebar .curator-menu-row{display:block!important}
 body.portal.pn-curator main.pn-wrap{width:calc(100% - 32px)!important;margin-inline:auto!important}
 body.portal.pn-curator main#main{margin:0!important;padding:28px 16px!important;width:100%!important}
 body.portal.pn-curator .pn-pagehead{padding:28px 0 20px!important}
 body.portal.pn-curator .pn-pagehead h1,body.portal.pn-curator main#main h1{font-size:clamp(32px,8.5vw,42px)!important;line-height:1.14!important;white-space:normal!important;text-wrap:balance!important}
 body.portal.pn-curator .trailer-section>h1{font-size:clamp(32px,8.5vw,42px)!important;line-height:1.14!important}
 body.portal.pn-curator .trailer-section>p{font-size:16px!important;line-height:1.7!important}
 body.portal.pn-curator :is(.pn-lead,.pn-pagehead p,main#main .lead){font-size:16px!important;line-height:1.7!important}
 body.portal.pn-curator .pn-hero{display:grid!important;grid-template-columns:1fr!important;grid-template-rows:auto auto!important;min-height:0!important;padding:28px 0 36px!important;gap:24px!important}
 body.portal.pn-curator .pn-hero>div:first-child{grid-row:1!important;grid-column:1!important}
 body.portal.pn-curator .pn-hero>.constellation-scene{grid-row:2!important;grid-column:1!important;width:100%!important;max-width:430px!important;aspect-ratio:1!important;margin:0 auto!important}
 body.portal.pn-curator .pn-hero h1{font-size:clamp(36px,10vw,48px)!important;line-height:1.08!important;letter-spacing:-1px!important}
 body.portal.pn-curator .pn-hero .pn-actions{display:grid!important;grid-template-columns:1fr!important;gap:10px!important}
 body.portal.pn-curator .pn-hero .pn-actions a{font-size:15px!important;min-height:48px!important}
 body.portal.pn-curator :is(.pn-trailer-strip,#home-trailers,.home-series-grid,.pn-route-grid,.pn-special-grid,.pn-pricing-columns,.pn-notes){grid-template-columns:minmax(0,1fr)!important}
 body.portal.pn-curator :is(.pn-heading,.home-story-promise){display:block!important}
 body.portal.pn-curator .pn-heading h2,body.portal.pn-curator .home-series h2{font-size:clamp(29px,7.7vw,36px)!important;line-height:1.2!important;white-space:normal!important;text-wrap:balance!important}
 body.portal.pn-curator :is(.home-story-lead,.home-series-step p,.pn-route p){font-size:15px!important;line-height:1.7!important}
 body.portal.pn-curator .pn-relic-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important}
 body.portal.pn-curator #home-relics h3{font-size:21px!important}
 body.portal.pn-curator .dash-summary,body.portal.pn-curator .dash-rarities{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.portal.pn-curator .pn-toolbar{grid-template-columns:1fr!important}
 body.portal.pn-curator .pn-toolbar .pn-field{grid-column:auto!important}
 body.portal.pn-curator :is(.pn-field input,.pn-field select,.pn-pricing-choice select,main#main input:not([type=checkbox]),main#main button){font-size:16px!important;min-height:44px!important;max-width:100%}
 body.portal.pn-curator :is(.pn-pricing-state,.notice,.panel){padding:20px 16px!important}
 body.portal.pn-curator .curator-chapters{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 body.portal.pn-curator .pn-section{padding-block:36px!important}
 body.portal.pn-curator::before{left:0!important}
 body.portal.pn-curator .input-row{display:flex!important;flex-direction:column!important;gap:12px!important}
 body.portal.pn-curator main#main dl{grid-template-columns:1fr!important}
 body.portal.pn-curator .pn-special-popout-scene{height:clamp(330px,110vw,450px)!important}
 body.portal.pn-curator .pn-footer{padding-inline:16px!important}
}
/* Purchase iframe: keep the genuine selected NFT large, with readable controls below it. */
@media(max-width:767px){
 body:has(.app) .app{display:block!important}
 body:has(.app) main{padding:20px 16px!important}
 body:has(.app) .layout{display:flex!important;flex-direction:column!important;gap:24px!important}
 body:has(.app) .panel{width:100%!important;padding:20px 16px!important}
 body:has(.app) :is(button,select,.btn){min-height:44px;font-size:16px}
 body:has(.app) .actions{display:grid!important;grid-template-columns:1fr!important}
 body:has(.explorer) main{padding-inline:12px!important}
 body:has(.explorer) .explorer{grid-template-columns:1fr!important;gap:24px!important}
 body:has(.explorer) .filters{grid-template-columns:1fr 1fr!important}
 body:has(.explorer) .filters label{padding:12px!important}
 body:has(.explorer) .filters :is(input,select){font-size:16px!important;min-height:44px!important}
 body:has(.explorer) .collection-stage{height:540px!important}
 body:has(.explorer) .native-stage{height:380px!important}
 body:has(.explorer) :is(#selected-description,.sale-note,.review-button){font-size:14px!important;line-height:1.7!important}
 body:has(.explorer) .detail h2{font-size:32px!important}
 body:has(.explorer) .review-button{min-height:48px!important}
}
@media(prefers-reduced-motion:reduce){body.pn-curator .curator-sidebar{transition:none!important}}
/* Touch controls in embedded panels must be usable at their own viewport size. */
@media(max-width:1099px),(pointer:coarse){
 body:has(.explorer){min-width:0!important}
 body:has(.explorer) .filters :is(input,select){min-height:46px!important;font-size:16px!important}
 body:has(.explorer) :is(#reset,#motion-toggle){min-height:46px!important;min-width:96px!important;padding:10px 14px!important;font-size:14px!important;line-height:1.4!important;display:inline-flex;align-items:center;justify-content:center}
 body:has(.app) :is(button,select,.btn){min-height:46px!important}
}
@media(max-width:400px){
 body:has(.explorer) .filters{grid-template-columns:minmax(0,1fr)!important}
 body:has(.explorer) .filters :is(input,select){width:100%!important;min-width:0!important;box-sizing:border-box}
 body:has(.explorer) .result-line{align-items:center;flex-wrap:wrap;gap:8px}
}

/* pn-scrollbar-no-arrows-20261012: preserve scrolling; remove native arrow buttons. */
* { scrollbar-width: auto; scrollbar-color: auto; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #101716; }
::-webkit-scrollbar-thumb { background: #a39776; border-radius: 8px; }
::-webkit-scrollbar-button { display: none !important; width: 0 !important; height: 0 !important; }
::-webkit-scrollbar-corner { background: #101716; }

/* Customer-requested invisible scrollbar; preserve native scrolling. */
html,body,*{scrollbar-width:none!important;scrollbar-gutter:auto!important}
html::-webkit-scrollbar,body::-webkit-scrollbar,*::-webkit-scrollbar{display:none!important;width:0!important;height:0!important}
*::-webkit-scrollbar-thumb,*::-webkit-scrollbar-track,*::-webkit-scrollbar-button,*::-webkit-scrollbar-corner{display:none!important;background:transparent!important;border:0!important}
