/* puckaura.com: the generated public pages (Wildcat art, Season, Players; pa/views/public.py). Uses site.css's tokens. */
.hero.small{padding:36px 0 18px}
.chips{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 22px}
.chips a{background:var(--card);border:1px solid var(--line);color:var(--fg);text-decoration:none;padding:6px 12px;border-radius:999px;font-weight:600;font-size:.9rem;min-height:36px;display:inline-flex;align-items:center;gap:6px}
.chips a span{color:var(--lab)}
section.chap{margin:0 0 34px}.why{color:var(--mut);margin:0 0 12px;max-width:720px}
.gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:14px}
figure.art{margin:0;background:var(--card);border:1px solid var(--line);border-radius:12px;overflow:hidden;display:flex;flex-direction:column}
figure.art button.open{all:unset;cursor:zoom-in;display:block}
figure.art img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;background:#000}
figure.art figcaption{padding:10px 12px 12px;display:flex;flex-direction:column;gap:4px;flex:1}
figure.art .txt{color:var(--mut);font-size:.86rem;line-height:1.4}
.acts{display:flex;gap:8px;align-items:center;margin-top:auto;padding-top:6px;flex-wrap:wrap}
.acts small{color:var(--mut);margin-left:auto;font-size:.75rem}
button.like{background:transparent;border:1px solid var(--line);color:var(--mut);border-radius:999px;padding:4px 12px;min-height:36px;cursor:pointer;font:inherit;font-weight:700}
button.like.on{color:#ff5c8a;border-color:#ff5c8a}
a.dl{font-weight:700;text-decoration:none;border:1px solid var(--line);border-radius:999px;padding:4px 12px;min-height:36px;display:inline-flex;align-items:center}
dialog#big{max-width:min(1200px,96vw);width:96vw;padding:0;border:1px solid var(--line);border-radius:12px;background:var(--card);color:var(--fg)}
dialog#big::backdrop{background:rgba(0,0,0,.8)}
dialog#big img{display:block;width:100%;height:auto;max-height:75vh;object-fit:contain;background:#000}
dialog#big .cap{padding:10px 14px 14px}dialog#big p{color:var(--mut);margin:4px 0 10px}
dialog#big .x{position:absolute;top:6px;right:8px;font-size:28px;background:#000a;color:#fff;border:0;border-radius:50%;width:44px;height:44px;cursor:pointer}
dialog#big .acts button{min-height:44px;min-width:44px;background:var(--bg);color:var(--fg);border:1px solid var(--line);border-radius:10px;cursor:pointer;font-size:1.1rem}
.tw{overflow-x:auto;-webkit-overflow-scrolling:touch}
table.games{border-collapse:collapse;width:100%;font-size:.92rem;min-width:520px}
table.games th{text-align:left;color:var(--mut);font-weight:600;border-bottom:1px solid var(--line);padding:6px 8px;white-space:nowrap}
table.games td{border-bottom:1px solid var(--line);padding:7px 8px;vertical-align:top}
table.games td small{display:block;color:var(--mut);font-size:.78rem}
td.r{font-weight:700;white-space:nowrap}td.r.W{color:#2fbf71}td.r.L{color:#e5534b}td.r.T{color:var(--mut)}
.team{margin:0 0 30px}.team h2 .rec{color:var(--lab);margin-left:6px}
.pill{display:inline-block;background:var(--card);border:1px solid var(--line);border-radius:999px;padding:4px 12px;text-decoration:none;font-weight:600;margin:0 4px 4px 0}
.tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:10px;margin:0 0 28px}
.st{background:var(--card);border:1px solid var(--line);border-radius:12px;padding:12px;text-align:center}
.st b{display:block;font-size:1.6rem;line-height:1.1}.st span{color:var(--mut);font-size:.8rem}
.seg{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0 14px}
.seg button{background:var(--card);border:1px solid var(--line);color:var(--mut);border-radius:999px;padding:6px 14px;min-height:40px;font:inherit;font-weight:600;cursor:pointer}
.seg button.on{color:var(--fg);border-color:var(--acc)}
.moments{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:14px}
.mom{background:var(--card);border:1px solid var(--line);border-radius:12px;overflow:hidden}
.mom video{display:block;width:100%;aspect-ratio:16/9;background:#000}
.mi{padding:10px 12px;display:flex;flex-direction:column;gap:4px}.mi small{color:var(--mut)}
.tg{display:inline-block;font-size:.72rem;font-weight:700;color:var(--acc-ink);background:var(--lab);border-radius:999px;padding:1px 8px;margin-right:4px;width:max-content}
.ang{display:flex;flex-wrap:wrap;gap:4px;margin-top:4px}
.ang button{background:var(--bg);border:1px solid var(--line);color:var(--mut);border-radius:8px;padding:4px 10px;min-height:36px;font:inherit;font-size:.82rem;cursor:pointer}
.ang button.on{color:var(--fg);border-color:var(--lab)}
a.pcard{text-decoration:none;color:var(--fg);display:flex;flex-direction:column;gap:2px}a.pcard b{font-size:1.3rem}a.pcard span{color:var(--mut)}
@media (max-width:560px){.gallery{grid-template-columns:1fr 1fr;gap:8px}figure.art .txt{display:none}.moments{grid-template-columns:1fr}}
h2 .totop{font-size:.8rem;font-weight:600;margin-left:10px;text-decoration:none;color:var(--mut)}
h3.grp{font-size:1rem;color:var(--lab);margin:18px 0 10px}
.backtop{position:fixed;right:16px;bottom:16px;width:48px;height:48px;border-radius:50%;background:var(--acc-d);color:var(--acc-ink);display:flex;align-items:center;justify-content:center;text-decoration:none;font-size:1.4rem;box-shadow:0 6px 20px rgba(0,0,0,.4);z-index:4}
.wait{color:var(--mut);font-size:.8rem;font-style:italic}
.mi .row{display:flex;justify-content:space-between;align-items:center;gap:8px}
button.wt{background:transparent;border:1px solid var(--acc);color:var(--acc);border-radius:999px;padding:2px 10px;min-height:32px;font:inherit;font-weight:800;cursor:pointer;white-space:nowrap}
.calc{background:var(--bg);border:1px solid var(--line);border-radius:8px;padding:8px 10px;margin:6px 0;font-size:.85rem;display:flex;flex-direction:column;gap:2px}
.calc span{display:flex;justify-content:space-between;gap:10px;color:var(--mut)}.calc span i{font-style:normal;color:var(--fg)}
.calc .sum{border-top:1px solid var(--line);padding-top:4px;margin-top:2px;font-weight:700;color:var(--fg)}
h3.mgrp{grid-column:1/-1;margin:14px 0 0}h3.mgrp span{color:var(--mut);font-weight:500;font-size:.85rem;margin-left:6px}
.calc[hidden]{display:none}
button.tp{background:transparent;border:1px solid var(--line);color:var(--fg);border-radius:999px;padding:3px 10px;min-height:32px;font:inherit;font-size:.85rem;cursor:pointer;white-space:nowrap}
tr.tprow td{padding:8px 0 14px}tr.tprow video{width:100%;max-width:860px;aspect-ratio:16/9;background:#000;border-radius:10px;display:block}
/* owner 10-22: back to top on every page, sections that fold away (assets/ui.js) */
.backtop{opacity:0;pointer-events:none;transition:opacity .2s}.backtop.show{opacity:1;pointer-events:auto}
h2 .totop,h3 .totop{font-size:.8rem;font-weight:600;margin-left:10px;text-decoration:none;color:var(--mut);white-space:nowrap}
.foldbtn{margin-left:10px;vertical-align:middle;background:transparent;border:1px solid var(--line);color:var(--mut);border-radius:999px;padding:2px 12px;min-height:32px;font:inherit;font-size:.8rem;font-weight:600;cursor:pointer}
.foldbtn:hover{color:var(--fg);border-color:var(--acc)}
section.fold.folded > :not(h2):not(.foldhead){display:none}
section.fold.folded{margin-bottom:14px}
.foldall{display:flex;gap:6px;margin:-12px 0 18px}
.foldall button{background:transparent;border:1px solid var(--line);color:var(--mut);border-radius:999px;padding:2px 12px;min-height:32px;font:inherit;font-size:.8rem;cursor:pointer}
details.more{margin:8px 0 0;color:var(--mut)}details.more summary{cursor:pointer;font-weight:600;min-height:32px;display:flex;align-items:center}
details.more p{margin:6px 0 0;font-size:.9rem}
.morebtn{margin:12px 0 0;background:var(--card);border:1px solid var(--line);color:var(--fg);border-radius:999px;padding:6px 16px;min-height:40px;font:inherit;font-weight:600;cursor:pointer}
@media (max-width:560px){h2 .totop{display:block;margin:2px 0 0}.foldbtn{min-height:36px}}
/* clips on YouTube (D-186): our own still with a play button until tapped, then YouTube's privacy-enhanced player */
.ytv{display:block;position:relative;width:100%;aspect-ratio:16/9;background:#000;border:0;padding:0;margin:0;overflow:hidden}
.ytv iframe{position:absolute;inset:0;width:100%;height:100%;border:0}
button.yf{cursor:pointer}button.yf img{width:100%;height:100%;object-fit:cover;display:block}
button.yf .pl{position:absolute;inset:0;margin:auto;width:64px;height:64px;border-radius:50%;background:rgba(0,0,0,.6);color:#fff;font-size:26px;line-height:64px;text-align:center}
button.yf:hover .pl,button.yf:focus-visible .pl{background:rgba(0,0,0,.85)}
tr.tprow .ytv{max-width:860px;border-radius:10px}
/* player pages (owner 10-22): which games the numbers cover, running plus/minus, reel + livestream links */
.grpf{margin:4px 0 10px}.grpf button{white-space:nowrap}
td.run{color:var(--mut);font-variant-numeric:tabular-nums}
.vl{display:inline-flex;gap:10px;flex-wrap:wrap}
tr[hidden]{display:none}
/* opponent strength (owner 10-22): our own 0-10 score next to each game */
td.os{font-variant-numeric:tabular-nums}.osv{font-weight:700}.osv.hi{color:var(--acc)}.osv.ev{color:var(--fg)}.osv.lo{color:var(--lab)}
/* owner 11-26 (K on the Moments pages; Combo 1 + 2, his selection): the banner is the moving wall alone, edge to edge (two tiles play,
   four still; tap a still one and it and its mate play, tap a playing one for its Moment); the wall stays whole up to 2.45:1, then
   sits in the middle (K); under it the stats strip, led by the name plate (#number in gold, the name in copper), on the clip's own
   edges; the skate marks lie on the page ground below the banner only (never through a video, owner 11-26) */
html:has(.hero.vid){overflow-x:clip}
/* owner 11-26 ('not sure about the skate marks on the page and being able to read the stats and tables'): a short band of skate marks
   right under the banner, fading to the plain ground; the stats, cards and tables sit on plain Spruce */
.hero.vid:after{content:"";position:absolute;left:0;right:0;top:100%;height:320px;z-index:-1;pointer-events:none;
 background:url(/assets/skate.svg) center top/1600px auto repeat-x;-webkit-mask-image:linear-gradient(#000 0,transparent 100%);mask-image:linear-gradient(#000 0,transparent 100%)}
/* the page's columns (menu, content, footer) take the clip's width too (HERO_JS: --clipw = the wall's width, at most 2.45 x its height) */
body:has(.hero.vid) .pk-header>.pk-wrap,body:has(.hero.vid) main.pk-wrap,body:has(.hero.vid) .pk-footer>.pk-wrap{max-width:var(--clipw,1080px);padding-left:clamp(16px,2vw,40px);padding-right:clamp(16px,2vw,40px)}
.hero.vid{position:relative;width:100vw;margin:0 calc(50% - 50vw);border-radius:0;padding:0;background:#0A1411;min-height:0;display:block}
.hero.vid .hv-box{position:relative;overflow:hidden;height:clamp(280px,min(41.67vw,calc(100svh - 240px)),800px);container-type:size;background:#0A1411}
.hero.vid video{position:absolute;top:0;left:50%;height:100%;width:min(100cqw,245cqh);transform:translateX(-50%);object-fit:cover}
.hero.vid .hx-hits{position:absolute;top:0;left:50%;height:100%;width:min(100cqw,245cqh);transform:translateX(-50%);display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(2,1fr)}
.hero.vid .hx-hit{border:0;background:transparent;cursor:pointer;padding:0}
.hero.vid .hx-hit:hover,.hero.vid .hx-hit:focus-visible{outline:2px solid #F5B82E;outline-offset:-2px}
.hero.vid .hv-strip{display:grid;grid-template-columns:minmax(0,2.2fr) minmax(0,8fr);align-items:center;padding:0 calc((100% - var(--clipw,100%)) / 2 + clamp(16px,2vw,40px));background:#0A1411;border-top:2px solid #E08A4F}
.hero.vid .plate{display:flex;flex-direction:column;gap:4px;padding:12px 18px 12px 0}
.hero.vid .plate b{font-family:var(--pk-font-heading,'Archivo Black',sans-serif);font-weight:400;font-size:clamp(1.5rem,1rem + 1.4vw,2.3rem);line-height:1;color:#E08A4F}
.hero.vid .plate b .n{color:#F5B82E}
.hero.vid .plate small{color:#F5B82E;font-weight:700;letter-spacing:.1em;text-transform:uppercase;font-size:.7rem}
.hero.vid .tiles{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:0;margin:0;padding:0;background:none;border:0}
.hero.vid .st{display:flex;flex-direction:column-reverse;justify-content:flex-end;gap:4px;background:none;border:0;border-left:1px solid rgba(246,246,243,.12);border-radius:0;text-align:left;padding:14px 16px}
.hero.vid .st b{font-size:1.45rem}.hero.vid .st span{color:#F5B82E;font-size:.72rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;line-height:1.25}
.hx-dlg{position:fixed;inset:0;z-index:50;background:rgba(5,10,8,.84);display:flex;align-items:center;justify-content:center;padding:16px}
.hx-dlg[hidden]{display:none}
.hx-dlg figure{margin:0;width:min(1100px,100%);background:#19221F;border:1px solid #313A37;border-radius:4px;padding:10px;display:flex;flex-direction:column;gap:8px}
.hx-dlg video{width:100%;display:block}.hx-dlg figcaption{display:flex;justify-content:flex-end}
.hx-dlg button{font:700 14px var(--pk-font-text,system-ui);color:#F6F6F3;background:#0A1411;border:1px solid #313A37;border-radius:4px;padding:6px 12px;cursor:pointer}
@media (max-width:760px){.hero.vid .hv-box{height:auto;aspect-ratio:12/5;container-type:normal}.hero.vid video,.hero.vid .hx-hits{left:0;width:100%;transform:none}
 .hero.vid .hv-strip{grid-template-columns:1fr;padding:0 16px}.hero.vid .plate{padding:12px 0 6px}.hero.vid .tiles{grid-template-columns:repeat(4,minmax(0,1fr))}
 .hero.vid .st:nth-child(5){border-left:0;padding-left:0}.hero.vid .st:first-child{border-left:0;padding-left:0}.hero.vid .st{padding:10px 10px;border-top:1px solid rgba(246,246,243,.08)}}
@media (max-width:560px){.grpf button{white-space:normal;max-width:100%;text-align:left}}
