/* SHOTCLOCK brand layer (v0.01 beta): rocket logo + beta badge, 3 color modes, site search, share sheet.
   Modes: light (default) · navy (data-theme=dark data-mode=navy) · championship red (data-theme=dark data-mode=red). No near-black backgrounds. */

/* ---------- logo ---------- */
.scb-logo{display:inline-flex!important;align-items:center;gap:8px;text-decoration:none;flex:0 0 auto;color:var(--pink,#e5125d)}
.scb-logo .scb-mk{width:34px;height:34px;flex:0 0 34px;display:block;transition:transform .5s cubic-bezier(.2,1.5,.4,1)}
.scb-logo:hover .scb-mk{transform:rotate(-14deg) translate(1px,-2px)}
.scb-wm{font:900 21px/1 Inter,system-ui,sans-serif;letter-spacing:-.045em;color:var(--pink,#e5125d);white-space:nowrap}.scb-wm b{color:var(--navy,#16215e);font-weight:900}
:root[data-theme=dark] .scb-wm b{color:#fff}
.scb-beta{font:800 9.5px/1 Inter,system-ui,sans-serif;font-style:normal;letter-spacing:.08em;text-transform:uppercase;padding:4px 7px;border-radius:999px;white-space:nowrap;
  background:linear-gradient(135deg,#fff6dc,#f0cf7a 60%,#d9ab4f);color:#4a3200;box-shadow:inset 0 0 0 1px rgba(160,110,20,.35),0 2px 6px rgba(160,110,20,.18)}
#hdr{display:flex;align-items:center;gap:8px}
@media(max-width:420px){.scb-logo{gap:5px}.scb-wm{font-size:16.5px}.scb-logo .scb-mk{width:28px;height:28px;flex-basis:28px}.scb-beta{font-size:8px;padding:3px 5px;letter-spacing:.04em}#hdr{gap:6px}.scq-mbtn{width:36px!important;height:36px!important}}

/* ---------- color modes ---------- */
:root[data-mode=red]{--bg:#b5102c;--card:#cc1d3b;--ink:#fff;--muted:#ffd7de;--line:#e25670;--chip:#a30d27;--good:#a6ffd4;--good-bg:#17694a;--royal:#1d3fc6;
  --shadow:0 1px 2px rgba(90,0,18,.22),0 8px 24px rgba(90,0,18,.25);color-scheme:dark}
:root[data-mode=navy]{color-scheme:dark}
:root[data-mode=red] body{background:radial-gradient(1200px 500px at 85% -10%,rgba(255,80,100,.35),transparent),var(--bg)}
:root[data-mode=red] header{background:linear-gradient(90deg,#1a39bd,#2550e6)!important;border-bottom-color:rgba(255,255,255,.16)!important;color:#fff}
:root[data-mode=red] header .search input{background:rgba(255,255,255,.15);border-color:rgba(255,255,255,.28);color:#fff}
:root[data-mode=red] header .search input::placeholder{color:rgba(255,255,255,.78)}:root[data-mode=red] header .search svg,:root[data-mode=red] header .search span{color:#fff}
:root[data-mode=red] .scb-wm{color:#f3d58a}
:root[data-mode=red] aside{background:linear-gradient(180deg,#1d3fc6,#1a35a8);border-right-color:rgba(255,255,255,.14)!important}
:root[data-mode=red] aside .nav a{color:#dce4ff}:root[data-mode=red] aside .nav a.on,:root[data-mode=red] aside .nav a:hover{background:rgba(255,255,255,.16);color:#fff}
:root[data-mode=red] .tabbar{background:#1d3fc6;border-top-color:rgba(255,255,255,.16)}:root[data-mode=red] .tabbar a{color:#cdd8ff}:root[data-mode=red] .tabbar a.on{color:#f3d58a}
/* champagne / platinum buttons */
:root[data-mode=red] .btn-pink,:root[data-mode=red] .sc-login,:root[data-mode=red] .btn.pink,:root[data-mode=red] .scb-btn:not(.ghost):not(.line){background:linear-gradient(180deg,#fff7df,#f3d58a 52%,#d3a44a)!important;color:#3b2600!important;
  box-shadow:0 8px 20px rgba(80,40,0,.28),inset 0 1px 0 rgba(255,255,255,.8)!important}
:root[data-mode=red] .btn-white,:root[data-mode=red] .btn.ghost,:root[data-mode=red] .rbtn{background:linear-gradient(180deg,#fff,#e6e9f0 55%,#c8cdd8)!important;color:#8f0b24!important;box-shadow:0 6px 16px rgba(60,0,12,.22),inset 0 1px 0 #fff!important}
:root[data-mode=red] .prize{color:#ffe08a}:root[data-mode=red] .status.soon{color:#ffe08a}
:root[data-mode=red] .fchip.on,:root[data-mode=red] .stake.on{background:#1d3fc6;color:#fff;border-color:#f3d58a}
:root[data-mode=red] .row:hover{background:rgba(255,255,255,.07)}
:root[data-mode=red] .sc-chip{box-shadow:inset 0 0 0 1.5px #f3d58a}
:root[data-mode=red] .sc-foot{background:#1d3fc6!important;border-top-color:rgba(255,255,255,.16)!important}
:root[data-mode=navy] .btn-white{color:#1f3fc7}

/* ---------- mode switcher ---------- */
/* header color-mode control: one clean icon button (sun / moon / trophy) that cycles light -> navy -> red. Full picker lives in the bottom bar. */
.scm{display:inline-flex;align-items:center;flex:0 0 auto}
.scm button{all:unset;cursor:pointer;box-sizing:border-box;width:38px;height:38px;border-radius:50%;display:none;place-items:center;background:var(--chip,#eef0f8);color:var(--ink,#16215e);transition:transform .15s,background .15s}
.scm button[aria-checked=true]{display:grid}
.scm button:hover{transform:scale(1.06)}.scm button:focus-visible{outline:2px solid #2f4bff;outline-offset:2px}
.scm i{width:18px;height:18px;display:block;background:currentColor;-webkit-mask:var(--ic) center/contain no-repeat;mask:var(--ic) center/contain no-repeat}
.scm [data-scm=light] i{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='M12 2v2M12 20v2M4.9 4.9l1.4 1.4M17.7 17.7l1.4 1.4M2 12h2M20 12h2M4.9 19.1l1.4-1.4M17.7 6.3l1.4-1.4'/%3E%3C/svg%3E")}
.scm [data-scm=navy] i{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 12.8A9 9 0 1 1 11.2 3a7 7 0 0 0 9.8 9.8z'/%3E%3C/svg%3E")}
.scm [data-scm=red] i{--ic:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M8 21h8M12 17v4M7 4h10v5a5 5 0 0 1-10 0V4zM7 6H4a3 3 0 0 0 3 4M17 6h3a3 3 0 0 1-3 4'/%3E%3C/svg%3E")}
:root[data-theme=dark] .scm button{background:rgba(255,255,255,.14);color:#fff}
:root[data-mode=red] .scm button{background:linear-gradient(180deg,#fff7df,#f3d58a 52%,#d3a44a);color:#3b2600}

/* ---------- search ---------- */
.search{position:relative}
.scq-pop span,.scq-pop i,.scq-pop small{position:static!important;left:auto!important;top:auto!important}.scq-pop .scq-it>span{flex:1;min-width:0}
.scq-pop{position:absolute;left:0;right:0;top:calc(100% + 8px);z-index:80;background:var(--card,#fff);color:var(--ink,#16215e);border-radius:18px;border:1px solid var(--line,#e6e8f2);
  box-shadow:0 22px 60px rgba(12,18,60,.3);padding:6px;max-height:min(70vh,540px);overflow:auto;text-align:left;font-family:Inter,system-ui,sans-serif}
.scq-pop h6{font:800 10.5px/1 Inter,system-ui,sans-serif;letter-spacing:.09em;text-transform:uppercase;color:var(--muted,#6c7396);margin:12px 10px 6px}
.scq-it{display:flex;align-items:center;gap:11px;padding:8px 10px;border-radius:12px;text-decoration:none;color:inherit;font:700 14px/1.25 Inter,system-ui,sans-serif;cursor:pointer}
.scq-it[aria-selected=true],.scq-it:hover{background:var(--chip,#eef0f8)}
.scq-ic{width:34px;height:34px;border-radius:11px;display:grid;place-items:center;background:var(--chip,#eef0f8) center/cover;flex:0 0 34px;font-size:17px;color:#fff;font-weight:900}
.scq-it.pl .scq-ic{border-radius:50%}
.scq-it small{display:block;font-weight:600;font-size:12px;color:var(--muted,#6c7396);margin-top:1px}
.scq-it mark{background:rgba(240,207,122,.55);color:inherit;border-radius:3px}
.scq-empty{padding:14px 12px;color:var(--muted,#6c7396);font:600 13px Inter,system-ui,sans-serif}
.scq-hint{display:flex;gap:10px;justify-content:flex-end;padding:8px 10px 4px;font:600 11px Inter,system-ui,sans-serif;color:var(--muted,#6c7396)}.scq-hint kbd{font:inherit;background:var(--chip,#eef0f8);border-radius:5px;padding:1px 5px}
.scq-mbtn{display:none;width:40px;height:40px;border-radius:50%;place-items:center;background:var(--chip,#eef0f8);color:var(--ink,#16215e);border:0;cursor:pointer;flex:0 0 auto}
.scq-mbtn svg{width:19px;height:19px}
:root[data-mode=red] .scq-mbtn{background:rgba(255,255,255,.16);color:#fff}
@media(max-width:900px){.scq-mbtn{display:grid}
  header.scq-open .search{display:block!important;position:absolute;left:10px;right:10px;top:calc(100% + 6px);max-width:none;z-index:70;flex:none}
  header.scq-open .search input{box-shadow:0 12px 30px rgba(12,18,60,.25);background:var(--card,#fff);color:var(--ink,#16215e)}}

/* ---------- share sheet ---------- */
.scsh{position:fixed;inset:0;z-index:2147483100;display:flex;align-items:flex-end;justify-content:center;background:rgba(8,12,44,.55);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);animation:scsh-f .2s ease-out;font-family:Inter,system-ui,sans-serif}
.scsh-box{position:relative;width:100%;max-width:470px;background:#fff;color:#16215e;border-radius:28px 28px 0 0;padding:10px 18px calc(18px + env(safe-area-inset-bottom));max-height:94vh;overflow:auto;animation:scsh-u .32s cubic-bezier(.2,.9,.25,1);box-shadow:0 -10px 60px rgba(8,12,44,.35)}
@media(min-width:600px){.scsh{align-items:center}.scsh-box{border-radius:28px}}
@keyframes scsh-f{from{opacity:0}}@keyframes scsh-u{from{transform:translateY(48px);opacity:.3}}
.scsh-grab{width:44px;height:5px;border-radius:9px;background:#dde0ec;margin:2px auto 10px}
.scsh-hd{display:flex;align-items:center;justify-content:space-between;gap:10px}.scsh-hd h3{margin:0;font:900 19px/1.2 Inter,system-ui,sans-serif;letter-spacing:-.02em}
.scsh-x{all:unset;cursor:pointer;width:36px;height:36px;border-radius:50%;display:grid;place-items:center;background:#eef0f8;color:#16215e;font-size:18px;font-weight:900}
.scsh-card{position:relative;overflow:hidden;margin:12px 0 14px;border-radius:24px;padding:16px;display:flex;gap:16px;align-items:center;color:#fff;
  background:linear-gradient(130deg,#2d55f0,#1f3fc7 38%,#5a2bb8 70%,#c8102e)}
.scsh-card::after{content:"";position:absolute;right:-70px;top:-90px;width:220px;height:220px;border-radius:50%;background:rgba(255,255,255,.08)}
.scsh-qr{position:relative;z-index:1;width:140px;height:140px;flex:0 0 140px;background:#fff;border-radius:22px;padding:7px;box-shadow:0 12px 30px rgba(8,12,44,.35)}
.scsh-qr img{display:block;width:100%;height:100%}
.scsh-meta{position:relative;z-index:1;min-width:0}
.scsh-meta .k{font:800 10.5px/1 Inter,system-ui,sans-serif;letter-spacing:.14em;color:#f3d58a}
.scsh-meta b{display:block;font:900 23px/1.1 Inter,system-ui,sans-serif;letter-spacing:-.03em;margin:7px 0 4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.scsh-meta span{display:block;font:700 13px/1.3 Inter,system-ui,sans-serif;opacity:.85;overflow-wrap:anywhere}
.scsh-meta .scb-beta{display:inline-block;margin-top:10px}
@media(max-width:420px){.scsh-qr{width:118px;height:118px;flex-basis:118px}.scsh-meta b{font-size:19px}.scsh-card{gap:12px;padding:14px}}
.scsh-link{display:flex;align-items:center;gap:8px;background:#f1f3fa;border-radius:16px;padding:6px 6px 6px 14px}
.scsh-link span{flex:1;min-width:0;font:700 14px Inter,system-ui,sans-serif;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#16215e}
.scsh-copy{all:unset;cursor:pointer;box-sizing:border-box;min-height:40px;padding:0 16px;border-radius:12px;font:800 14px Inter,system-ui,sans-serif;color:#fff;background:linear-gradient(135deg,#2d55f0,#1f3fc7);white-space:nowrap}
.scsh-copy.ok{background:linear-gradient(135deg,#19b36b,#0f9d63)}
.scsh-apps{display:flex;gap:12px;overflow-x:auto;padding:16px 2px 6px;scroll-snap-type:x mandatory;scrollbar-width:none}.scsh-apps::-webkit-scrollbar{display:none}
.scsh-app{all:unset;cursor:pointer;flex:0 0 64px;scroll-snap-align:start;display:flex;flex-direction:column;align-items:center;gap:7px;font:700 11.5px/1.15 Inter,system-ui,sans-serif;color:#4a5280;text-align:center}
.scsh-app i{width:56px;height:56px;border-radius:50%;display:grid;place-items:center;color:#fff;box-shadow:0 6px 16px rgba(15,20,60,.16);transition:transform .15s}
.scsh-app:hover i,.scsh-app:focus-visible i{transform:translateY(-2px) scale(1.05)}.scsh-app:focus-visible{outline:none}
.scsh-app svg{width:25px;height:25px;fill:currentColor}
.scsh-acts{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:10px}
.scsh-act{all:unset;cursor:pointer;box-sizing:border-box;min-height:64px;border-radius:16px;background:#f1f3fa;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;font:800 12px Inter,system-ui,sans-serif;color:#16215e;text-align:center;padding:6px}
.scsh-act svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.scsh-act:hover{background:#e6e9f5}
.scsh-note{margin:12px 2px 0;font:600 12px/1.45 Inter,system-ui,sans-serif;color:#6c7396}
.scsh-toast{position:fixed;left:50%;bottom:calc(24px + env(safe-area-inset-bottom));transform:translateX(-50%) translateY(20px);opacity:0;z-index:2147483200;background:#16215e;color:#fff;font:800 14px Inter,system-ui,sans-serif;padding:11px 18px;border-radius:999px;box-shadow:0 10px 30px rgba(8,12,44,.35);transition:.25s;pointer-events:none;max-width:90vw;text-align:center}
.scsh-toast.on{opacity:1;transform:translateX(-50%)}

/* ---------- profile comment wall + link-in-bio (sc-social.js) in navy / red ---------- */
:root[data-theme=dark] .scs{color:#f5f7ff}
:root[data-theme=dark] .scs-box,:root[data-theme=dark] .scs-lt a{background:var(--card,#2438a3);color:#f5f7ff;box-shadow:inset 0 0 0 1.5px var(--line,#4a62d4)}
:root[data-theme=dark] .scs-lt a:hover{box-shadow:inset 0 0 0 1.5px #f0cf7a}
:root[data-theme=dark] .scs-new,:root[data-theme=dark] .scs-c{border-color:var(--line,#4a62d4)}
:root[data-theme=dark] .scs-new textarea{border-color:var(--line,#4a62d4);background:rgba(255,255,255,.08);color:#fff}
:root[data-theme=dark] .scs-new textarea:focus{border-color:#f0cf7a}
:root[data-theme=dark] .scs-c .h a{color:#fff}
:root[data-theme=dark] .scs-c .h small,:root[data-theme=dark] .scs-empty,:root[data-theme=dark] .scs-note,:root[data-theme=dark] .scs-lt small{color:var(--muted,#c5cdf8)}
:root[data-theme=dark] .scs-tabs button{background:rgba(255,255,255,.14);color:#fff}:root[data-theme=dark] .scs-tabs button.on{background:#fff;color:#16215e}
:root[data-theme=dark] .scs-v{background:rgba(255,255,255,.12);color:#dfe5ff}:root[data-theme=dark] .scs-v.on{background:#ffe8f0;color:#e5125d}
:root[data-theme=dark] .scs-del{color:#ffc0d0}
:root[data-mode=red] .scs-btn{background:linear-gradient(180deg,#fff7df,#f3d58a 52%,#d3a44a);color:#3b2600}
:root[data-mode=red] .scs-tabs button.on{background:#f3d58a;color:#3b2600}
/* share sheet: per-player banners (og / square / story / X header) */
.scsh-bn{margin-top:14px;padding:12px;border-radius:20px;background:linear-gradient(135deg,#fff8ec,#ffeef1)}
.scsh-bn-hd{display:flex;align-items:center;gap:10px}.scsh-bn-hd b{font:900 14px Inter,system-ui,sans-serif;color:#16215e;margin-right:auto}
.scsh-th{display:flex;gap:6px}.scsh-tc{all:unset;cursor:pointer;width:22px;height:22px;border-radius:50%;box-shadow:inset 0 0 0 1.5px rgba(22,33,94,.18)}
.scsh-tc.on{box-shadow:0 0 0 2px #fff,0 0 0 4px #e0173b}.scsh-tc:focus-visible{outline:3px solid #2d55f0;outline-offset:2px}
.scsh-shuf{all:unset;cursor:pointer;font:800 12px Inter,system-ui,sans-serif;color:#fff;background:linear-gradient(135deg,#ff3550,#c8102e);border-radius:999px;padding:7px 11px;white-space:nowrap}
.scsh-tiles{display:flex;gap:10px;overflow-x:auto;padding:12px 2px 4px;scrollbar-width:none}.scsh-tiles::-webkit-scrollbar{display:none}
.scsh-tile{all:unset;cursor:pointer;flex:0 0 auto;display:flex;flex-direction:column;gap:3px;font-family:Inter,system-ui,sans-serif;color:#16215e}
.scsh-tim{display:block;height:128px;border-radius:14px;overflow:hidden;background:#fff;box-shadow:0 6px 18px rgba(22,33,94,.16);transition:transform .15s,opacity .2s}
.scsh-tim img{display:block;height:100%;width:auto}
.scsh-t-og .scsh-tim{width:244px}.scsh-t-square .scsh-tim{width:128px}.scsh-t-story .scsh-tim{width:72px}.scsh-t-header .scsh-tim{width:384px}
.scsh-tile.ld .scsh-tim{opacity:.45}.scsh-tile:hover .scsh-tim,.scsh-tile:focus-visible .scsh-tim{transform:translateY(-2px)}.scsh-tile:focus-visible{outline:none}
.scsh-tile b{font-size:12.5px;font-weight:900;margin-top:4px}.scsh-tile small{font-size:11px;font-weight:600;color:#6c7396}
.scsh-hint{margin:8px 2px 0;font:600 12px/1.4 Inter,system-ui,sans-serif;color:#6c7396}.scsh-hint em{font-style:normal;font-weight:900;color:#c8102e}

/* phones: keep the header inside the screen (Log in was pushed 15px off the edge) */
@media (max-width:420px){.sc-login{padding:0 13px!important;min-height:36px!important;font-size:13px!important}.scb-beta{display:none!important}}
