/* IRIS: legible navigation, reusable portrait cards, a permanent pack home. */
.brand { text-decoration:none; color:inherit; display:block; width:fit-content; border:0; padding:0; text-align:left; background:none; cursor:pointer; }
.brand:hover b { color:#f4dfbf; }
.brand:focus-visible, button:focus-visible, a:focus-visible { outline:2px solid var(--focus); outline-offset:3px; }
.brand:focus-visible { outline-offset:6px; }
.nav { gap:8px; margin-top:clamp(48px,13vh,150px); padding-right:18px; }
.nav > button { font:500 clamp(24px,2.2vw,34px)/1.2 var(--serif); text-transform:none; letter-spacing:.015em; padding:13px 16px 13px 20px; color:#d9cec6; border-radius:0 8px 8px 0; }
.nav > button[aria-current="true"] { background:linear-gradient(90deg,rgba(94,34,38,.52),rgba(30,15,18,0)); }
.nav > button:hover { background-color:rgba(245,225,200,.06); }
.nav .subnav { margin-top:10px; }
body[data-view="today"] .nav .subnav { display:none; }
.nav .subnav button { font-size:14px; min-height:44px; letter-spacing:.035em; color:#ccc1bb; }
.nav .subnav em { color:#efe4d4; }
.eyebrow { color:#d4bfa7; font:600 12.5px/1.5 var(--sans); letter-spacing:.22em; margin:0 0 14px; }
.phead:has(.eyebrow) { display:block; }
.pack-face::after { content:""; position:absolute; inset:69% 9% 5%; background:linear-gradient(#1b1319,#0d0a0e); border:1px solid #8f7c7166; }
.pack-face .pf-title,.pack-face .pf-sub,.pack-face .pf-count { z-index:2; }
.pack-face .pf-title { font-size:7cqw; top:72%; }
.pack-face .pf-sub { left:11%; right:11%; top:81%; font:600 3cqw/1 var(--sans); letter-spacing:.14em; }
.pack-face .pf-count { top:88%; font-size:3cqw; }
.pack-note { margin-top:20px; color:#c3b7af; font:400 13px/1.6 var(--sans); }
.pack-home .pack:disabled { opacity:.55; cursor:default; filter:saturate(.35); }
.pacts { flex-wrap:wrap; }
.pacts .textlink { min-height:44px; padding:0 12px; }
#portraitUrl { display:block; width:100%; padding:14px; margin:10px 0; background:#110d11; color:#fff2e3; border:1px solid #75605c; border-radius:6px; font:400 16px/1.5 var(--sans); }
.opening-top { gap:16px; }
.opening-top #openCount { margin-right:auto; }
.top .who-am-i, .top .jl-status { color:#f0e6dd; font-size:14px; line-height:1.5; }
.photo-card { border-radius:4%; }
.tc-interior { position:absolute; inset:16% 8.8% 5%; background:linear-gradient(145deg,#201c20,#100d11 46%,#171114); border:1px solid color-mix(in srgb,var(--tierink) 50%,transparent); box-shadow:inset 0 0 8cqw #000; }
.tc-photo { position:absolute; inset:18% 16% 32%; overflow:hidden; border-radius:48% 48% 2% 2% / 33% 33% 2% 2%; border:.6cqw solid var(--tierink); background:radial-gradient(ellipse at 50% 30%,#45404a,#121015 75%); box-shadow:0 0 0 1cqw #171316,0 0 0 1.2cqw color-mix(in srgb,var(--tierink) 50%,transparent); }
.tc-photo img { position:absolute; inset:0; display:block; width:100%; height:100%; object-fit:cover; object-position:50% 35%; filter:saturate(.88) contrast(1.04); }
.tc-photo img[hidden] { display:none; }
.tc-photo.placeholder-photo img { object-fit:cover; filter:sepia(.16) contrast(1.06); }
.tc-monogram { position:absolute; inset:0; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4cqw; color:var(--tierink); font:400 23cqw/1 var(--serif); }
.tc-monogram small { font:500 2.4cqw/1.5 var(--sans); letter-spacing:.15em; }
.portrait-foil { position:absolute; inset:0; pointer-events:none; background:linear-gradient(120deg,transparent 24%,#e7c1ff33 40%,#a9ffe426 48%,transparent 63%); opacity:.35; mix-blend-mode:screen; }
.photo-card:hover .portrait-foil { opacity:.75; }
.photo-card.mortal .portrait-foil,.photo-card.mortal > .tc-holo { display:none; }
.photo-card > .tc-holo { z-index:1; pointer-events:none; opacity:.18; }
.photo-card .tc-name { z-index:2; top:70%; left:12%; right:12%; height:7.4%; font:500 6.6cqw/1.05 var(--serif); letter-spacing:0; color:#fff2dc; text-align:center; overflow:hidden; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; align-content:center; text-shadow:0 1px 2px #000; }
.photo-card .tc-tier { z-index:2; top:78.6%; left:15%; right:15%; font:600 2.8cqw/1 var(--sans); text-transform:uppercase; letter-spacing:.24em; height:3%; }
.tc-details { position:absolute; z-index:2; top:83.3%; left:13%; right:13%; display:grid; grid-template-columns:1fr 1.35fr; gap:4cqw; border-top:1px solid #77655766; padding-top:2.1cqw; }
.tc-details div { min-width:0; display:flex; flex-direction:column; gap:1cqw; }
.tc-details div:last-child { text-align:right; }
.tc-details b { color:#f8ead8; font:500 3.5cqw/1.1 var(--sans); overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.tc-details span { color:#cabeb2; font:500 2.3cqw/1.3 var(--sans); white-space:nowrap; text-overflow:ellipsis; overflow:hidden; }
.tc-footer { position:absolute; z-index:2; top:92%; left:13%; right:13%; display:flex; justify-content:space-between; gap:2cqw; color:#c6b8a6; font:500 2.5cqw/1.2 var(--sans); }
.tc-footer span:first-child { white-space:nowrap; text-overflow:ellipsis; overflow:hidden; }
.photo-card .tc-name { font-size:7.3cqw; }
.photo-card .tc-tier { font-size:3.5cqw; letter-spacing:.16em; color:var(--tierink); background:color-mix(in srgb,var(--tierink) 12%,#100d11); border-radius:2cqw; }
.tc-details b { font-size:4.2cqw; }
.tc-details span,.tc-footer { font-size:2.9cqw; }
.photo-card { outline:1px solid var(--tierink); outline-offset:-1px; }
@media (max-width:860px) {
 .side { grid-row:1; grid-column:1; flex-wrap:wrap; gap:18px; }
 .brand b { font-size:44px; }
 .nav { margin:0; padding:0; flex:1; min-width:0; justify-content:flex-end; gap:4px 8px; }
 .nav > button { font-size:23px; padding:9px 13px; }
 .nav .subnav { flex-basis:100%; justify-content:flex-end; margin-top:4px; }
 .nav .subnav button { font-size:12px; padding:8px; min-height:38px; }
 .top { grid-row:2; grid-column:1; padding:8px 18px 18px; flex-wrap:wrap; gap:14px; }
 .pcard { height:320px; }
 .pacts { flex-direction:column; }
 .pacts .btn { width:100%; }
 .stagebox { grid-row:3; grid-column:1; }
 .pack-note { font-size:13px; }
 .opening-top { padding:16px; flex-wrap:wrap; gap:10px; }
 .opening-top #openCount { width:100%; margin:0; }
 .opening-top .btn { min-height:40px; }
}
@media (max-width:440px) {
 .side { gap:10px; }
 .brand b { font-size:36px; }
 .nav > button { font-size:21px; }
 .nav .subnav button { font-size:11px; letter-spacing:0; padding:7px; }
 .panel { padding-left:18px; padding-right:18px; }
}
@media (prefers-reduced-motion:reduce) { .tc { transform:none!important; } }
/* phones: the menu runs across the top with centred words, so the lit plate glows up from a bar under the word
   (the desktop's left bar + sideways wash sat off to the left of the centred label) */
@media (max-width:860px) {
 .side .nav > button { border-radius:var(--r-md) var(--r-md) 0 0; }
 .side .nav > button[aria-current="true"] { background:linear-gradient(0deg,rgba(94,34,38,.55),rgba(30,15,18,0)); }
 .side .nav > button[aria-current="true"]::before { top:auto; bottom:0; left:18%; right:18%; width:auto; height:2px; }
 body[data-theme="holo"] .side .nav > button[aria-current="true"] { background:linear-gradient(0deg,rgba(150,165,210,.22),rgba(20,20,28,0)); }
}
