/* One accent palette for the complete interface. Original artwork keeps its colors. */
:root{--accent:#ff0000;--accent-rgb:255 0 0;--red:var(--accent);--accent-light:#ff6666;--accent-mid:#ff0000;--accent-deep:#cc0000;--accent-rim:#ff9999;--accent-shadow:#990000;--accent-glint:#ffcccc}
:root[data-accent=blue]{--accent:#2463eb;--accent-rgb:36 99 235;--accent-light:#7197ff;--accent-mid:#2463eb;--accent-deep:#1d4ed8;--accent-rim:#b4c9ff;--accent-shadow:#163a9e;--accent-glint:#dbe5ff}
:root[data-accent=yellow]{--accent:#fed201;--accent-rgb:254 210 1;--accent-light:#ffe28a;--accent-mid:#fed201;--accent-deep:#d8b02b;--accent-rim:#fff0ad;--accent-shadow:#9e7a12;--accent-glint:#fff5ce}
.accent-menu{position:relative;flex-shrink:0}
.settings-toggle{display:grid;place-items:center;width:36px;min-height:42px;padding:0;border-radius:50%;cursor:pointer;list-style:none;color:var(--muted);transition:background .2s,color .2s}
.settings-toggle::-webkit-details-marker{display:none}.settings-toggle:hover,.accent-menu[open] .settings-toggle{background:#ffffff10;color:var(--ink)}
.settings-toggle>svg{width:18px;height:18px}
.accent-options{position:absolute;z-index:5;right:0;top:calc(100% + 19px);width:260px;padding:17px;border:1px solid #ffffff29;border-radius:21px;background:linear-gradient(135deg,#ffffff19,#ffffff05 55%),#15171cf2;-webkit-backdrop-filter:blur(30px) saturate(150%);backdrop-filter:blur(30px) saturate(150%);box-shadow:inset 0 1px 0 #ffffff24,0 22px 60px #0006;animation:social-in .2s ease both}
.settings-heading{display:block;font:9px/1.6 var(--mono);letter-spacing:.06em;color:var(--muted);margin-bottom:18px}.settings-label{display:block;font:12px/1.5 Arial,sans-serif;color:var(--ink);margin-bottom:12px}
.accent-choices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.accent-choice{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;min-height:76px;padding:10px 3px;border:1px solid transparent;border-radius:13px;font-size:11px;color:var(--muted);transition:background .2s,border-color .2s}
.accent-choice:hover{background:#ffffff0b;color:var(--ink)}.accent-choice[aria-pressed=true]{background:#ffffff0c;border-color:#ffffff33;color:var(--ink)}
.accent-swatch{position:relative;display:grid;place-items:center;width:26px;height:26px;border-radius:50%;background:var(--swatch);box-shadow:inset 0 1px 0 #ffffff55,0 3px 10px #0003;color:#101010}
.accent-swatch>svg{width:13px;height:13px;opacity:0}.accent-choice[aria-pressed=true] .accent-swatch>svg{opacity:1}
.accent-choice[data-accent-choice=red]{--swatch:#ff0000}.accent-choice[data-accent-choice=blue]{--swatch:#2463eb}.accent-choice[data-accent-choice=yellow]{--swatch:#fed201}
.settings-motion-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:17px;padding-top:14px;border-top:1px solid #ffffff1c}.settings-motion-row>span{font:12px/1.5 Arial,sans-serif;color:var(--ink)}
.settings-menu .motion-toggle{display:flex;align-items:center;gap:7px;min-height:40px;padding:8px 11px;border:1px solid #ffffff24;border-radius:999px;font:11px/1.4 Arial,sans-serif;text-transform:none;color:var(--ink);background:#ffffff06;transition:background .2s}
.settings-menu .motion-toggle:hover{background:#ffffff12}.settings-menu .motion-toggle span{display:inline}.settings-menu .motion-toggle i{width:5px;height:5px;flex-shrink:0;background:var(--red)}.settings-menu .motion-toggle[aria-pressed=true] i{background:var(--muted)}
.header-contact{display:flex;align-items:center;justify-content:center;min-height:42px;padding:0 8px;border-radius:999px;font-size:11px;white-space:nowrap;transition:background .2s,color .2s}.header-contact:hover,.header-contact.active{background:linear-gradient(150deg,#ffffff19,#ffffff07);color:var(--ink)}
.settings-menu :is(summary,button):focus-visible,.header-contact:focus-visible{outline:2px solid var(--accent-rim);outline-offset:3px}
@media(max-width:1100px){.header-contact{font-size:10px;padding-inline:5px}}
@media(max-width:760px){.header-actions{gap:4px}.header-actions .search-toggle{width:32px;min-height:42px;padding:7px}.settings-toggle{width:32px}.settings-menu{position:static}.accent-options{right:12px;top:calc(100% + 10px);width:min(260px,calc(100vw - 56px))}.header-contact{font-size:10px;padding-inline:3px}.header-actions .social-toggle{padding-inline:5px;gap:5px}.settings-menu .motion-toggle span{display:inline}}
@media(prefers-reduced-motion:reduce){.accent-options{animation:none}.settings-toggle,.accent-choice,.settings-menu .motion-toggle,.header-contact{transition:none}}
.motion-paused .accent-options{animation:none}.motion-paused :is(.settings-toggle,.accent-choice,.header-contact){transition:none}
@media(prefers-reduced-transparency:reduce){.accent-options{background:#1d1f24;-webkit-backdrop-filter:none;backdrop-filter:none}}

/* Editorial club refinement: quiet surfaces, immediate controls, anchored panels. */
:root{--ease-ui:cubic-bezier(.23,1,.32,1);--surface-panel:#1b1c20;--edge-quiet:#ffffff1c}
.header{border-color:var(--edge-quiet);border-radius:20px;box-shadow:inset 0 1px 0 #ffffff12,0 8px 32px #0002;transition:border-color 160ms ease}
.header::before{background:linear-gradient(120deg,#ffffff09,transparent 60%),#131518b8}
.scrolled .header{height:70px}
.scrolled .header::before{background:#131518ed}
.header .desktop-nav>a,.header .shop-main-link{min-height:44px;display:flex;align-items:center;gap:4px;transition:background 140ms ease,color 140ms ease}
.header .desktop-nav sup{margin-left:0;align-self:center;opacity:.7}
.header .desktop-nav>a.active{background:#ffffff0c;box-shadow:inset 0 1px 0 #ffffff0d}
.header .desktop-nav>a.active::before{content:'';position:absolute;left:calc(50% - 2px);bottom:4px;width:4px;height:4px;border-radius:50%;background:var(--accent)}
.header .header-actions{gap:8px}
.header :is(.search-toggle,.settings-toggle){width:40px;min-height:44px}
.header :is(.social-toggle,.header-contact){min-height:44px}
.header .shop-menu-toggle{min-height:44px;width:28px}
.header .shop-main-link{background:transparent}
.header .shop-menu-toggle{background:transparent}
.header .shop-menu-toggle[aria-expanded=true]{background:#ffffff0c}
.header :is(.accent-options,.social-links,.shop-menu-panel,.mobile-nav){background:var(--surface-panel);border-color:#ffffff24;box-shadow:inset 0 1px 0 #ffffff0d,0 16px 48px #0006;-webkit-backdrop-filter:none;backdrop-filter:none;border-radius:18px;animation:none}
.header :is(.accent-options,.social-links,.shop-menu-panel){transform-origin:top right}
.header .mobile-nav{transform-origin:top center}
.header .social-links a{border-radius:10px}
.header .social-links a:focus-visible{outline-offset:-2px}
.header .accent-choice{border-radius:11px;transition:background 140ms ease,border-color 140ms ease,transform 120ms var(--ease-ui)}
.header .accent-choice[aria-pressed=true]{border-color:var(--accent-rim);background:rgb(var(--accent-rgb) / .07)}
.header .accent-swatch>svg{transition:opacity 120ms ease}
.header .settings-heading{letter-spacing:.1em;font-size:9px}
.header .settings-label,.header .settings-motion-row>span{font-family:Arial,sans-serif}

.hero .hero-shade{background:linear-gradient(90deg,#08080870,transparent 75%),linear-gradient(0deg,#080808eb,transparent 85%)}
.hero .hero-slide{transition:opacity 280ms ease}
.hero .hero-content{bottom:64px}
.hero h1.hero-title-long{font-size:clamp(48px,8.5vw,140px)}
.hero .hero-meta{font-size:10px;letter-spacing:.12em;color:#eeece5b8}
.hero .hero-bottom p{font-size:clamp(18px,1.8vw,28px);line-height:1.5}
.hero-tabs{border-radius:18px;border-color:var(--edge-quiet);background:#141517e8;box-shadow:inset 0 1px 0 #ffffff0c,0 12px 28px #0002;-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px)}
.hero-tabs .hero-tab{border-radius:12px;transition:background 140ms ease,color 140ms ease;box-shadow:none}
.hero-tabs .hero-tab.active{background:#ffffff09;box-shadow:inset 0 1px 0 #ffffff0c}
.hero-tabs .hero-tab small{color:#b1aea7;line-height:1.5;letter-spacing:.04em}
.hero-tabs .hero-tab::after{height:2px;width:26px;transition:transform 180ms var(--ease-ui)}
.hero-tabs .hero-tab .tab-arrow{opacity:.5}
.hero .circle-button{transform:none}
.hero-tabs .hero-tab.active .tab-arrow{color:var(--accent);opacity:1}

:is(.pill,.outline-button,.circle-button,.flow-arrow,.rail-controls button,.close-dialog,.player-top button,.menu-toggle,.search-toggle,.settings-toggle,.accent-choice){transition:transform 120ms var(--ease-ui),background 140ms ease,border-color 140ms ease,color 140ms ease}
:is(.pill,.outline-button){box-shadow:inset 0 1px 0 #ffffff0c;-webkit-backdrop-filter:none;backdrop-filter:none}
:is(.pill,.outline-button):hover{transform:none}
:is(.circle-button,.flow-arrow,.rail-controls button){box-shadow:inset 0 1px 0 #ffffff16;-webkit-backdrop-filter:none;backdrop-filter:none}
:is(.pill,.outline-button,.circle-button,.flow-arrow,.rail-controls button,.close-dialog,.player-top button,.menu-toggle,.search-toggle,.settings-toggle,.accent-choice):active{transform:scale(.97)}
:is(.hero-tab,.filter,.series-button,.view-controls button){touch-action:manipulation}
:is(.story-image,.rail-image){border-radius:10px}
:is(.story-image,.rail-image) img{transition:transform 240ms var(--ease-ui)}
:is(.audio-feature,.coverflow,.archive-coverflow.coverflow){box-shadow:inset 0 1px 0 #ffffff0c;border-color:var(--edge-quiet);background:#171819}
.js-motion .reveal{transform:translateY(12px);transition:opacity 260ms ease,transform 280ms var(--ease-ui)}
.js-motion .reveal.visible{transform:none}
::view-transition-old(editorial-grid){animation-duration:120ms}
::view-transition-new(editorial-grid){animation-duration:180ms}
dialog[open]{animation:none}
dialog::backdrop{animation:none;background:#07080bb3;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
dialog .dialog-toolbar{background:#191a1eed}
:is(.player,.archive-player){animation:none}
:is(button,a,summary,input,select,textarea,[tabindex]):focus-visible{outline:2px solid var(--accent-rim);outline-offset:4px}
.header .settings-menu :is(summary,button):focus-visible{outline-offset:2px}

@media(hover:hover) and (pointer:fine){
 .hero .circle-button:hover{transform:translateX(2px)}
 :is(.pill,.outline-button):hover{transform:translateY(-1px)}
 :is(.story,.rail-card):hover img{transform:scale(1.025)}
}
@media(hover:none),(pointer:coarse){
 :is(.pill,.outline-button,.circle-button,.flow-arrow):hover{transform:none}
 :is(.story,.rail-card):hover img{transform:none}
}
@media(max-width:1100px){.header .header-actions{gap:4px}}
@media(max-width:760px){
 .header,.scrolled .header{height:64px;border-radius:18px}
 .header .header-actions{gap:2px}
 .header :is(.search-toggle,.settings-toggle){width:36px;min-height:44px}
 .header .menu-toggle{width:36px;min-height:44px;justify-content:center}
 .header .header-contact{padding-inline:5px}
 .hero .hero-content{bottom:49px}
 .hero h1.hero-title-long{font-size:clamp(42px,12vw,72px)}
 .hero .hero-meta{font-size:8px;line-height:1.7;letter-spacing:.07em}
 .hero .hero-bottom p{font-size:18px;line-height:1.45;max-width:250px}
 .hero-tabs{border-radius:16px}
 .hero-tabs .hero-tab{border-radius:11px;gap:0;padding:13px 9px!important;min-height:79px}
 .hero-tabs .hero-tab .tab-number{display:none}
 .hero-tabs .hero-tab small{font-size:7px;line-height:1.5;min-height:25px;letter-spacing:0}
 .hero-tabs .hero-tab strong{font-size:clamp(9px,2.5vw,12px);line-height:1.5}
 .hero-tabs .hero-tab::after{left:9px;width:18px;bottom:6px}
}
@media(max-width:360px){.header .header-actions{gap:0}.header :is(.search-toggle,.settings-toggle,.menu-toggle){width:32px}.hero-tabs .hero-tab small{font-size:6px}}
/* Keyboard interactions are immediate; motion preferences also cover JS entrances. */
html[data-input=keyboard] :is(.header *,dialog,dialog::backdrop,.hero-slide,.hero-tabs *,.filter,.pill,.outline-button,.circle-button){transition:none!important;animation:none!important}
html.motion-paused :is(.header *,dialog,dialog::backdrop,.hero-slide,.hero-tabs *){animation:none!important}
@media(prefers-reduced-motion:reduce){.js-motion .reveal{opacity:1;transform:none}}
@media(prefers-reduced-transparency:reduce){.header::before,.scrolled .header::before,.hero-tabs{background:var(--surface-panel);-webkit-backdrop-filter:none;backdrop-filter:none}}
