/* Seventh Player command desk. Match mockups. Never invent ICE/TALK. */
.seventh-stage,.seventh-rink-wrap,.seventh-bug,.seventh-card,.seventh-chip,.seventh-actions button,.seventh-widget,.seventh-sq{box-sizing:border-box}
body:has(#seventhStage){background:#05070d}
body:has(#seventhStage) main#app{max-width:none;width:100%;padding:0;margin:0}
body:has(#seventhStage) .game-strip,body:has(#seventhStage) .game-strip-inner{min-height:0!important}
body:has(#seventhStage) .site-footer{margin-top:0}
.seventh-stage{
  --ice:#f4f8fc;--line:rgba(255,255,255,.14);--crimson:#e31837;--gold:#d4b483;--cyan:#3aa0ff;--navy:#06142d;--paper:#f8fbff;
  --glass:rgba(8,14,28,.86);
  color:var(--paper);margin:0;max-width:none;padding:8px 18px 40px;width:100%;overflow-x:hidden;
  position:relative;font-family:Arial,Helvetica,sans-serif;
}
.seventh-stage::before{
  content:"";position:absolute;z-index:-1;inset:0;
  background:
    repeating-linear-gradient(90deg,rgba(255,255,255,.015) 0 1px,transparent 1px 48px),
    repeating-linear-gradient(0deg,rgba(255,255,255,.015) 0 1px,transparent 1px 48px),
    radial-gradient(1000px 480px at 12% 8%,rgba(227,24,55,.2),transparent 58%),
    radial-gradient(1000px 480px at 88% 10%,rgba(58,160,255,.16),transparent 58%),
    #05070d;
}
.seventh-desk{display:grid;gap:12px;width:100%;position:relative;z-index:1}
.seventh-kicker{letter-spacing:.28em;font-size:11px;color:var(--crimson);margin:0;font-weight:800}
.seventh-copy{position:relative;z-index:2;max-width:100%;min-width:0}
.seventh-copy h1{
  font-size:clamp(26px,2.4vw,42px);margin:6px 0 12px;letter-spacing:.02em;font-style:italic;line-height:.88;
  text-shadow:0 0 32px rgba(227,24,55,.45);
  max-width:100%;overflow-wrap:anywhere;position:relative;z-index:2;
}
.seventh-copy p{font-size:15px;line-height:1.45;max-width:42rem;color:#c9d7e8;margin:0 0 8px}
.seventh-bugs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.seventh-bug{
  background:var(--glass);border:1px solid var(--line);padding:10px 12px;min-height:72px;
  border-radius:8px;backdrop-filter:blur(10px);
}
#bugIce{border-color:rgba(227,24,55,.55);box-shadow:inset 0 -2px 0 var(--crimson),0 0 16px rgba(227,24,55,.25)}
#bugTalk{border-color:rgba(212,180,131,.75)}
#bugTalk span,#bugTalk strong{color:#e6c37a}
.seventh-bug span{display:block;font-size:10px;letter-spacing:.18em;color:#8db4db}
.seventh-bug strong{display:block;font-size:clamp(15px,2.2vw,24px);margin-top:6px;line-height:1.15;overflow-wrap:anywhere;white-space:pre-line}
.seventh-night{display:flex;flex-wrap:wrap;gap:8px;margin-top:8px}
.seventh-chip{min-height:32px;display:inline-flex;align-items:center;padding:0 10px;border:1px solid rgba(141,180,219,.35);font-size:11px;letter-spacing:.08em;border-radius:6px;background:#121c30}
.seventh-pulse{
  display:grid;grid-template-columns:1fr auto 1fr;gap:8px;align-items:center;
  padding:14px 14px 10px;background:rgba(6,12,24,.72);
}
.seventh-pulse-side{display:flex;flex-direction:column;gap:4px;min-width:0}
.seventh-pulse-side span{font-size:10px;letter-spacing:.16em;color:#8db4db;font-weight:800}
.seventh-pulse-side strong{font-size:clamp(22px,5vw,36px);line-height:1}
.seventh-pulse-side.is-wsh span,.seventh-pulse-side.is-wsh strong{color:var(--crimson);text-shadow:0 0 12px rgba(227,24,55,.45)}
.seventh-pulse-side.is-opp span,.seventh-pulse-side.is-opp strong{color:var(--gold)}
.seventh-pulse-mark{
  width:78px;height:78px;border-radius:50%;display:flex;flex-direction:column;align-items:center;justify-content:center;
  border:1px solid var(--gold);background:#0a1224;box-shadow:0 0 20px rgba(212,180,131,.3);overflow:hidden;
}
.seventh-pulse-mark img{width:46px;height:46px;object-fit:contain}
.seventh-pulse-mark b{font-size:9px;letter-spacing:.14em;color:var(--gold)}
.seventh-ekg{display:block;width:100%;height:28px}
.seventh-ekg path{fill:none;stroke:currentColor;stroke-width:2}
.seventh-pulse-note{grid-column:1/-1;margin:6px 0 0;font-size:12px;letter-spacing:.14em;color:var(--crimson);text-align:center;font-weight:800}
.seventh-posts{grid-area:posts;display:flex;flex-direction:column;gap:10px;min-height:220px}
.seventh-glass{
  flex:1;min-height:110px;display:flex;flex-direction:column;justify-content:center;
  padding:14px 16px;border-radius:12px;background:rgba(8,14,28,.86);
  border:1px solid rgba(255,255,255,.14);backdrop-filter:blur(10px);
}
.seventh-glass span{font-size:11px;letter-spacing:.18em;font-weight:800}
.seventh-glass strong{font-size:clamp(28px,3vw,44px);font-style:italic;line-height:1;margin:6px 0 4px}
.seventh-glass small{letter-spacing:.16em;color:#8db4db}
.seventh-glass.is-wsh{border-color:rgba(227,24,55,.45)}
.seventh-glass.is-wsh span,.seventh-glass.is-wsh strong{color:#e31837}
.seventh-glass.is-opp{border-color:rgba(58,160,255,.45)}
.seventh-glass.is-opp span,.seventh-glass.is-opp strong{color:#3aa0ff}
.seventh-glass.is-lead{animation:glassPulse 1.6s ease-in-out infinite}
.seventh-glass.is-wsh.is-lead{--glass-ring:rgba(227,24,55,.85);--glass-glow:rgba(227,24,55,.55)}
.seventh-glass.is-opp.is-lead{--glass-ring:rgba(58,160,255,.85);--glass-glow:rgba(58,160,255,.55)}
@keyframes glassPulse{
  0%,100%{box-shadow:0 0 0 1px var(--glass-ring),0 0 12px transparent}
  50%{box-shadow:0 0 0 2px var(--glass-ring),0 0 22px var(--glass-glow)}
}
.seventh-rink-wrap{
  position:relative;width:100%;aspect-ratio:1672/941;height:auto;min-height:0;max-height:none;
  background:#070b12;overflow:hidden;border-radius:4px;
  box-shadow:-36px 0 70px -16px rgba(227,24,55,.5),36px 0 70px -16px rgba(58,160,255,.45);
}
.seventh-rink-wrap:before,.seventh-rink-wrap:after{
  content:"";position:absolute;top:8%;bottom:8%;width:18px;pointer-events:none;z-index:2;
}
.seventh-rink-wrap:before{left:0;background:linear-gradient(90deg,rgba(227,24,55,.55),transparent);box-shadow:0 0 40px rgba(227,24,55,.55)}
.seventh-rink-wrap:after{right:0;background:linear-gradient(270deg,rgba(58,160,255,.5),transparent);box-shadow:0 0 40px rgba(58,160,255,.5)}
.seventh-rink-wrap canvas{display:block;width:100%;height:100%;background:#070b12}
.seventh-stamp{position:absolute;left:50%;bottom:8%;transform:translateX(-50%);padding:8px 14px;background:rgba(6,20,45,.9);border:1px solid var(--gold);color:var(--gold);letter-spacing:.18em;font-size:clamp(12px,2.6vw,18px);white-space:nowrap;z-index:3}
.seventh-wait{position:absolute;left:50%;bottom:12%;transform:translateX(-50%);margin:0;padding:8px 14px;background:rgba(6,20,45,.85);letter-spacing:.16em;font-size:13px;z-index:3}
.seventh-energy{
  display:grid;grid-template-columns:1fr auto 1fr;gap:12px;align-items:end;
  padding:10px 8px 4px;
}
.seventh-eq{display:flex;align-items:flex-end;gap:4px;height:54px}
.seventh-eq i{flex:1;background:currentColor;opacity:.28;border-radius:1px 1px 0 0;transform-origin:bottom;animation:eq 1.2s ease-in-out infinite;height:var(--eq-min,18%)}
.seventh-eq.is-wsh{color:var(--crimson);justify-content:flex-end}
.seventh-eq.is-opp{color:var(--cyan)}
.seventh-eq.is-wsh i:nth-child(odd){animation-delay:.1s}
.seventh-eq.is-opp i:nth-child(even){animation-delay:.18s}
.seventh-energy.is-live .seventh-eq.is-lead i{opacity:.95}
.seventh-energy.is-live .seventh-eq:not(.is-lead) i{opacity:.35}
.seventh-energy-pct{text-align:center;min-width:88px}
.seventh-energy-pct strong{display:block;font-size:clamp(36px,5vw,64px);line-height:.9;font-style:italic}
.seventh-energy-pct span{display:block;font-size:10px;letter-spacing:.16em;color:#8db4db;margin-top:4px}
.seventh-eq-label{font-size:10px;letter-spacing:.14em;color:#8db4db;margin-top:6px;font-weight:800}
.seventh-eq.is-wsh .seventh-eq-label{color:var(--crimson)}
.seventh-eq.is-opp .seventh-eq-label{color:var(--cyan);text-align:right}
@keyframes eq{0%,100%{height:var(--eq-min,18%)}40%{height:var(--eq-max,92%)}70%{height:var(--eq-mid,42%)}}
@keyframes ekg{to{stroke-dashoffset:-36}}
.seventh-rail-right{display:none}
.seventh-widget{
  background:var(--glass);border:1px solid var(--line);border-radius:10px;padding:12px 14px 10px;
  min-height:108px;display:flex;flex-direction:column;gap:6px;
}
.seventh-widget span{font-size:10px;letter-spacing:.16em;color:#8db4db;font-weight:800}
.seventh-widget strong{font-size:clamp(24px,2.1vw,34px);line-height:1;color:#fff}
.seventh-widget small{font-size:10px;letter-spacing:.12em;color:#9db0c9}
.seventh-widget svg{width:100%;height:36px;display:block}
.seventh-widget path,.seventh-widget rect{fill:none;stroke:var(--crimson);stroke-width:2}
.seventh-widget.dim svg,.seventh-widget.dim .seventh-gauge{opacity:.28}
#railVolume{border-color:rgba(227,24,55,.45);box-shadow:0 0 16px rgba(227,24,55,.12)}
#railPeak{border-color:rgba(58,160,255,.35)}
#railPeak svg rect:nth-child(odd){stroke:var(--crimson);fill:var(--crimson)}
#railPeak svg rect:nth-child(even){stroke:var(--cyan);fill:var(--cyan)}
.seventh-gauge{
  height:54px;border-radius:56px 56px 0 0;background:conic-gradient(from 200deg at 50% 100%,var(--crimson) 0 40%,#1b335c 40% 60%,var(--cyan) 60% 100%);
  -webkit-mask:radial-gradient(circle at 50% 100%,transparent 58%,#000 59%);
  mask:radial-gradient(circle at 50% 100%,transparent 58%,#000 59%);
  opacity:.85;
}
.seventh-momentum{display:flex;align-items:center;gap:8px}
.seventh-momentum b{color:var(--crimson);font-size:22px}
.seventh-widget.is-live path{animation:ekg 1.4s linear infinite;stroke-dasharray:12 6}
.seventh-pulse.is-live .seventh-pulse-side.is-lead .seventh-ekg path{stroke-width:2.6;opacity:1}
.seventh-pulse.is-live .seventh-pulse-side:not(.is-lead){opacity:.55}
.seventh-pulse.is-live .seventh-pulse-side:not(.is-lead) .seventh-ekg path{stroke-width:1.4;opacity:.4}
.seventh-pulse.is-live .seventh-ekg path{animation:ekg 1.4s linear infinite;stroke-dasharray:10 5}

.seventh-eq-label{font-size:10px;letter-spacing:.14em;margin-top:6px;font-weight:800;display:flex;flex-direction:column;gap:2px}
.seventh-eq-label b{color:#fff;font-size:11px}
.seventh-eq.is-wsh .seventh-eq-label span{color:var(--crimson)}
.seventh-eq.is-opp .seventh-eq-label{text-align:right;align-items:flex-end}
.seventh-eq.is-opp .seventh-eq-label span{color:var(--cyan)}
.seventh-dominance{
  display:grid;grid-template-columns:auto 1fr auto;gap:14px;align-items:center;
  margin:16px 0;padding:12px 16px;border-radius:12px;
  border:1px solid rgba(227,24,55,.45);border-right-color:rgba(58,160,255,.45);
  background:rgba(6,12,24,.72);
}
.seventh-dom-num{display:flex;flex-direction:column;min-width:64px}
.seventh-dom-num strong{font-size:clamp(22px,3vw,36px);font-style:italic;line-height:1}
.seventh-dom-num span{font-size:11px;letter-spacing:.16em;font-weight:800}
.seventh-dom-num.wsh strong,.seventh-dom-num.wsh span{color:var(--crimson)}
.seventh-dom-num.opp{text-align:right;align-items:flex-end}
.seventh-dom-num.opp strong,.seventh-dom-num.opp span{color:var(--cyan)}
.seventh-split{height:16px;border-radius:999px;background:#1b335c;overflow:hidden;display:flex;position:relative}
.seventh-split i{display:block;height:100%;background:var(--crimson);box-shadow:0 0 18px var(--crimson)}
.seventh-split b{display:block;height:100%;background:#0b3a7a;flex:1}
.seventh-split em{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-style:normal;font-size:10px;letter-spacing:.18em;font-weight:800;color:#fff;text-shadow:0 1px 4px #000}
.seventh-widget strong{font-style:italic}
.seventh-floor{position:relative;z-index:1}
.seventh-ticks{display:grid;grid-template-columns:repeat(42,minmax(0,1fr));gap:3px;margin:14px 0 8px}
.seventh-tick{height:8px;border:0;padding:0;background:#1a335c;cursor:pointer}
.seventh-tick.is-wsh{background:var(--crimson)}
.seventh-tick.is-opp{background:var(--gold)}
.seventh-tick.is-tie{background:linear-gradient(90deg,var(--crimson),var(--gold))}
.seventh-tick.is-live{animation:seventh-breathe 1.6s ease-in-out infinite}
@keyframes seventh-breathe{0%,100%{opacity:.45;transform:scaleY(.8)}50%{opacity:1;transform:scaleY(1.4)}}
.seventh-last10{margin:16px 0}
.seventh-last10 h2,.seventh-archive h2{font-size:12px;letter-spacing:.2em;color:#8db4db;margin:0 0 10px}
.last10-phone{display:none}
.seventh-pills{display:flex;gap:8px;flex-wrap:wrap}
.seventh-pill{
  min-height:32px;padding:0 10px;display:inline-flex;align-items:center;text-decoration:none;color:#fff;
  font-weight:900;font-size:12px;letter-spacing:.06em;border-radius:8px;background:#1a335c;
}
.seventh-pill-letter{display:none}
.seventh-pill-tag{display:inline}
.seventh-pill.is-wsh{background:var(--crimson)}
.seventh-pill.is-tie{background:#24365a}
.seventh-pill.is-opp{background:var(--gold);color:#06142d}
.seventh-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:12px}
.seventh-card{
  display:flex;flex-direction:column;gap:6px;min-height:108px;padding:14px;
  background:var(--glass);border:1px solid var(--line);color:inherit;text-decoration:none;border-radius:10px;
  box-shadow:inset 0 -3px 0 var(--cyan);
}
.seventh-card.is-wsh{box-shadow:inset 0 -3px 0 var(--crimson),0 0 16px rgba(227,24,55,.18)}
.seventh-card.is-tie{box-shadow:inset 0 -3px 0 var(--cyan),0 0 16px rgba(58,160,255,.16)}
.seventh-card.is-opp{box-shadow:inset 0 -3px 0 var(--gold),0 0 16px rgba(212,180,131,.16)}
.seventh-tools{display:flex;flex-wrap:wrap;gap:12px;align-items:flex-end;justify-content:space-between;margin:18px 0}
.seventh-actions{display:flex;flex-direction:column;gap:8px}
.seventh-actions button{
  min-height:44px;padding:0 18px;background:transparent;color:#fff;border:1px solid rgba(227,24,55,.7);
  font-weight:800;letter-spacing:.1em;border-radius:6px;
}
.seventh-actions button#seventhRecord{border-color:rgba(58,160,255,.7)}
.seventh-crest{width:110px;height:110px;object-fit:contain;margin-left:auto;opacity:.95}
.seventh-legal{font-size:12px;color:#9db0c9;max-width:220px}
.seventh-empty{color:#9db0c9}
body.seventh-record .topbar,body.seventh-record .site-header,body.seventh-record .ticker,body.seventh-record .game-strip,body.seventh-record .site-footer,body.seventh-record .search-overlay,body.seventh-record .seventh-copy,body.seventh-record .seventh-posts,body.seventh-record .seventh-archive,body.seventh-record .seventh-last10,body.seventh-record .seventh-actions,body.seventh-record .seventh-legal,body.seventh-record .seventh-ticks,body.seventh-record .seventh-night,body.seventh-record .seventh-pulse,body.seventh-record .seventh-bugs,body.seventh-record .seventh-rail-right,body.seventh-record .seventh-energy,body.seventh-record .seventh-dominance,body.seventh-record .seventh-crest,body.seventh-record .sp-admin-chrome{display:none!important}
body.seventh-record .seventh-dash{display:none!important}
body.seventh-record .seventh-stage,body.seventh-record .seventh-desk,body.seventh-record .seventh-board{max-width:none;padding:0;margin:0;display:block;border:0;box-shadow:none}
body.seventh-record .seventh-rink-wrap{aspect-ratio:9/16;height:100dvh;max-height:100dvh;border:0;margin:0 auto;border-radius:0}

/* Culture Game Center — match mockup, this page only */
body:has(#seventhStage) .game-strip{
  background:radial-gradient(circle at 12% 50%,rgba(227,24,55,.18),transparent 42%),radial-gradient(circle at 88% 50%,rgba(58,160,255,.16),transparent 42%),linear-gradient(90deg,#06101c,#0a1a33 55%,#050b14)!important;
  border-color:rgba(227,24,55,.35)!important;color:#f8fbff!important;min-height:0!important;
}
body:has(#seventhStage) .game-strip-inner{
  min-height:0!important;padding:12px 18px!important;align-items:center;
}
body:has(#seventhStage) .game-strip-title strong{font-style:italic;letter-spacing:.04em;color:#f8fbff!important}
body:has(#seventhStage) .game-strip-title small{color:#8be6ff!important;font-weight:900}
body:has(#seventhStage) .strip-game,body:has(#seventhStage) .strip-game.live{
  background:#102448!important;border:1px solid rgba(139,230,255,.35);min-height:78px!important;
  box-shadow:0 0 14px rgba(139,230,255,.12);color:#f8fbff!important;
}
body:has(#seventhStage) .full-schedule-link{
  border:1px solid rgba(255,255,255,.7);border-radius:8px;padding:10px 14px;color:#f8fbff!important;
}
body:has(#seventhStage) .strip-freshness{color:#d6e4f6!important}
body:has(#seventhStage) .game-strip,
body:has(#seventhStage) .game-strip-inner,
body:has(#seventhStage) .game-strip-title,
body:has(#seventhStage) .game-rail,
body:has(#seventhStage) .game-card-meta,
body:has(#seventhStage) .game-card-meta b,
body:has(#seventhStage) .matchup-line,
body:has(#seventhStage) .matchup-line strong,
body:has(#seventhStage) .matchup-line i,
body:has(#seventhStage) .matchup-detail,
body:has(#seventhStage) .matchup-detail b,
body:has(#seventhStage) .matchup-detail span,
body:has(#seventhStage) .scheduled-match,
body:has(#seventhStage) .scheduled-match:before,
body:has(#seventhStage) .scheduled-match strong,
body:has(#seventhStage) .live-score,
body:has(#seventhStage) .live-score strong,
body:has(#seventhStage) .strip-game>div:first-child>b{
  color:#f8fbff!important;
}
body:has(#seventhStage) .game-type,
body:has(#seventhStage) .strip-game>small,
body:has(#seventhStage) .scheduled-match span{
  color:#8be6ff!important;
}

/* Phone preview frame on a wide monitor */
html.seventh-view-phone body{background:#02040a}
html.seventh-view-phone .topbar,
html.seventh-view-phone .site-header,
html.seventh-view-phone .brand-statement,
html.seventh-view-phone .main-nav,
html.seventh-view-phone .ticker,
html.seventh-view-phone .game-strip,
html.seventh-view-phone main#app,
html.seventh-view-phone .site-footer,
html.seventh-view-phone .seventh-stage,
html.seventh-view-phone .seventh-desk,
html.seventh-view-phone .seventh-floor{
  width:390px!important;max-width:390px!important;margin-left:auto!important;margin-right:auto!important;box-sizing:border-box;
}
html.seventh-view-phone body:has(#seventhStage) main#app{
  width:390px;max-width:390px;margin-left:auto;margin-right:auto;padding:0;
}
html.seventh-view-phone .seventh-stage{overflow-x:hidden}
html.seventh-view-phone body{overflow-x:hidden}


/* Phone layout (forced by ?view=phone or narrow window) */
body.seventh-phone .seventh-stage{padding:8px 12px 28px}
body.seventh-phone .seventh-desk{display:flex;flex-direction:column;gap:12px}
body.seventh-phone .seventh-dash{
  display:flex;flex-direction:column;gap:10px;
  padding:12px 12px 14px;border-radius:14px;
  border:1px solid rgba(90,190,255,.55);
  box-shadow:0 0 18px rgba(58,160,255,.28), inset 0 0 0 1px rgba(255,255,255,.04);
  background:rgba(8,14,28,.72);
}
body.seventh-phone .seventh-copy{display:block;position:relative;z-index:2}
body.seventh-phone .seventh-copy p{display:none}
body.seventh-phone .seventh-kicker{display:none}
body.seventh-phone .seventh-copy h1{text-align:center;font-size:clamp(26px,8vw,34px);margin:4px 0 8px;width:100%;max-width:100%;overflow-wrap:anywhere}
body.seventh-phone .seventh-dash{overflow:hidden}
body.seventh-phone .seventh-pulse{display:grid;grid-template-columns:minmax(0,1fr) 56px minmax(0,1fr);gap:4px;background:transparent;padding:4px 0 0;min-width:0;overflow:hidden}
body.seventh-phone .seventh-pulse-side{min-width:0;overflow:hidden}
body.seventh-phone .seventh-pulse-side.is-wsh{color:var(--crimson);align-items:flex-start}
body.seventh-phone .seventh-pulse-side.is-opp{color:var(--gold);align-items:flex-end;text-align:right}
body.seventh-phone .seventh-pulse-side.is-wsh span{color:var(--crimson)}
body.seventh-phone .seventh-pulse-side.is-opp span{color:var(--gold)}
body.seventh-phone .seventh-pulse-side strong{font-size:22px;color:#fff;text-shadow:none;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.seventh-phone .seventh-pulse-mark{width:56px;height:56px}
body.seventh-phone .seventh-pulse-mark img{width:32px;height:32px}
body.seventh-phone .seventh-ekg{width:100%;max-width:100%;height:22px}
body.seventh-phone .seventh-night{margin-top:0;gap:6px}
body.seventh-phone .seventh-bugs{grid-template-columns:1fr 1fr;padding:0;gap:6px}
body.seventh-phone .seventh-bug{min-height:64px;padding:8px}
body.seventh-phone .seventh-bug strong{font-size:12px}
body.seventh-phone .seventh-board{display:contents}
body.seventh-phone .seventh-rink-col{display:flex;flex-direction:column;gap:8px}
body.seventh-phone .seventh-rail-right,
body.seventh-phone .seventh-energy,
body.seventh-phone .seventh-dominance,
body.seventh-phone .seventh-archive,
body.seventh-phone .seventh-tools,
body.seventh-phone .seventh-posts{display:none}
body.seventh-phone .seventh-rink-wrap{
  aspect-ratio:941/1672;
  height:auto;
  max-height:none;
  min-height:0;
  width:100%;
  border-radius:8px;
}
body.seventh-phone .seventh-last10{display:flex;flex-direction:column;gap:8px;margin:8px 0 0}
body.seventh-phone .seventh-last10 h2{writing-mode:horizontal-tb;transform:none;margin:0}
body.seventh-phone .last10-desk{display:none}
body.seventh-phone .last10-phone{display:inline}
body.seventh-phone .seventh-pill-tag{display:none}
body.seventh-phone .seventh-pill-letter{display:flex;align-items:center;justify-content:center;width:100%;height:100%;font-style:normal}
body.seventh-phone .seventh-pill{
  width:28px;height:28px;min-width:28px;min-height:28px;padding:0;
  border-radius:4px;justify-content:center;font-size:13px;letter-spacing:0;
}
body.seventh-phone .seventh-pills{flex-wrap:nowrap;gap:6px;overflow-x:auto}
body.seventh-phone .seventh-ticks{display:none}
body.seventh-phone .seventh-grid{grid-template-columns:1fr}
body.seventh-phone .seventh-crest{width:86px;height:86px}


/* Phone chrome: preview is a wide monitor, so site @media never fires.
   Scope only to Seventh Player phone / ?view=phone. Inner pieces are 100% of the
   390px frame, never 100% of the viewport. */
html.seventh-view-phone .site-header .header-inner,
html.seventh-view-phone .player-tracker,
html.seventh-view-phone .nav-inner,
html.seventh-view-phone .topbar-inner,
html.seventh-view-phone .brand-statement,
html.seventh-view-phone .game-strip-inner,
body.seventh-phone .site-header .header-inner,
body.seventh-phone .player-tracker,
body.seventh-phone .nav-inner,
body.seventh-phone .topbar-inner,
body.seventh-phone .game-strip-inner{
  width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box;
}
html.seventh-view-phone .topbar,
body.seventh-phone .topbar{overflow:hidden}
html.seventh-view-phone .topbar-inner,
body.seventh-phone .topbar-inner{
  display:flex!important;align-items:center;height:24px!important;min-height:24px!important;
  padding:3px 10px!important;font-size:7px!important;letter-spacing:.08em!important;
  white-space:nowrap!important;overflow:hidden;gap:8px;
}
html.seventh-view-phone .topbar-tagline,
body.seventh-phone .topbar-tagline{display:none!important}
html.seventh-view-phone .topbar-inner>*,
body.seventh-phone .topbar-inner>*{min-width:0;overflow:hidden;text-overflow:ellipsis}

html.seventh-view-phone .site-header,
body.seventh-phone .site-header{overflow:hidden}
html.seventh-view-phone .site-header:before,
html.seventh-view-phone .site-header:after,
body.seventh-phone .site-header:before,
body.seventh-phone .site-header:after{display:none!important}
html.seventh-view-phone .site-header .header-inner,
body.seventh-phone .site-header .header-inner{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  grid-template-rows:44px 58px!important;
  height:106px!important;min-height:106px!important;max-height:106px!important;
  gap:2px 6px!important;padding:4px 8px 2px!important;overflow:hidden;
}
html.seventh-view-phone .site-header .brand,
body.seventh-phone .site-header .brand{grid-column:1;grid-row:1;min-width:0;overflow:hidden;display:flex;align-items:center}
html.seventh-view-phone .site-header .brand img,
body.seventh-phone .site-header .brand img{width:40px!important;height:40px!important;flex:0 0 40px!important}
html.seventh-view-phone .site-header .brand-type,
body.seventh-phone .site-header .brand-type{display:grid!important;margin-left:6px;min-width:0;flex:1;gap:0;overflow:hidden}
html.seventh-view-phone .site-header .brand-type strong,
body.seventh-phone .site-header .brand-type strong{
  font-size:13px!important;line-height:1.05;white-space:nowrap;max-width:none!important;
  overflow:hidden;text-overflow:ellipsis;
}
html.seventh-view-phone .site-header .brand-type small,
body.seventh-phone .site-header .brand-type small{display:none}
html.seventh-view-phone .site-header .header-actions,
body.seventh-phone .site-header .header-actions{grid-column:2;grid-row:1;gap:4px;margin:0;flex-shrink:0}
html.seventh-view-phone .site-header .header-actions .icon-btn[aria-label="Toggle theme"],
body.seventh-phone .site-header .header-actions .icon-btn[aria-label="Toggle theme"]{display:none!important}
html.seventh-view-phone .site-header .header-actions .icon-btn,
html.seventh-view-phone .site-header .header-actions .menu-btn,
body.seventh-phone .site-header .header-actions .icon-btn,
body.seventh-phone .site-header .header-actions .menu-btn{
  width:36px!important;height:36px!important;min-width:36px!important;border-radius:10px;
}
html.seventh-view-phone .site-header .menu-btn,
html.seventh-view-phone .site-header .header-actions .menu-btn,
body.seventh-phone .site-header .menu-btn,
body.seventh-phone .site-header .header-actions .menu-btn{display:grid!important}
html.seventh-view-phone .site-header .player-tracker,
body.seventh-phone .site-header .player-tracker{
  grid-column:1/-1!important;grid-row:2!important;
  display:grid!important;
  grid-template-columns:96px minmax(0,1fr)!important;
  grid-template-rows:24px 30px!important;
  grid-template-areas:"identity scoreboard" "controls freshness"!important;
  column-gap:6px!important;row-gap:0!important;height:54px!important;margin:0!important;
  min-width:0!important;max-width:none!important;overflow:hidden;
}
html.seventh-view-phone .tracker-name,
body.seventh-phone .tracker-name{min-width:0;overflow:hidden;padding-left:6px!important}
html.seventh-view-phone .tracker-name>span,
body.seventh-phone .tracker-name>span{font-size:12px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.seventh-view-phone .tracker-name small,
body.seventh-phone .tracker-name small{font-size:6px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html.seventh-view-phone .tracker-stats,
body.seventh-phone .tracker-stats{
  grid-template-columns:repeat(4,minmax(0,1fr))!important;padding:0!important;min-width:0;overflow:hidden;
}
html.seventh-view-phone .tracker-stats span,
body.seventh-phone .tracker-stats span{min-width:0!important;overflow:hidden}
html.seventh-view-phone .tracker-stats b,
body.seventh-phone .tracker-stats b{font-size:15px!important;line-height:1}
html.seventh-view-phone .tracker-stats small,
body.seventh-phone .tracker-stats small{font-size:6px!important;color:#8be6ff!important}
html.seventh-view-phone .tracker-modes,
body.seventh-phone .tracker-modes{padding-left:6px!important;min-width:0}
html.seventh-view-phone .tracker-modes button,
body.seventh-phone .tracker-modes button{height:26px!important;min-height:26px!important;font-size:7px!important;padding:1px!important}
html.seventh-view-phone .data-freshness,
body.seventh-phone .data-freshness{font-size:6px!important;letter-spacing:0!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#8be6ff!important}
html.seventh-view-phone .main-nav,
body.seventh-phone .main-nav{display:none!important;height:auto;width:390px;max-width:100%;margin:0 auto}
html.seventh-view-phone .main-nav.open,
body.seventh-phone .main-nav.open{display:block!important}
html.seventh-view-phone .nav-inner,
body.seventh-phone .nav-inner{display:grid!important;height:auto!important;justify-content:stretch!important;padding:8px 10px!important;gap:0}
html.seventh-view-phone .nav-inner>a,
html.seventh-view-phone .nav-inner>.nav-dropdown>a,
body.seventh-phone .nav-inner>a,
body.seventh-phone .nav-inner>.nav-dropdown>a{height:44px;padding:0 12px;white-space:normal}
html.seventh-view-phone .brand-statement,
body.seventh-phone .brand-statement{
  display:flex;flex-wrap:nowrap;align-items:center;height:36px!important;min-height:36px!important;
  padding:0 10px;overflow:hidden;gap:6px;
}
html.seventh-view-phone .brand-statement p,
body.seventh-phone .brand-statement p{
  font-size:11px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;flex:1;margin:0;
}
html.seventh-view-phone .site-social-links,
body.seventh-phone .site-social-links{flex:0 0 auto;flex-wrap:nowrap;gap:3px}
html.seventh-view-phone .site-social-links a,
body.seventh-phone .site-social-links a{width:28px!important;height:28px!important;flex:0 0 28px!important}

body.seventh-phone .seventh-history{display:flex;flex-direction:column;gap:10px}
body.seventh-phone .seventh-pills{flex-wrap:wrap;overflow:visible}
body.seventh-phone .seventh-bug{min-width:0}
body.seventh-phone .seventh-bug strong{font-size:11px;overflow-wrap:anywhere;word-break:break-word}
body.seventh-phone .seventh-night{margin-top:0;gap:6px;flex-wrap:wrap}
body.seventh-phone .seventh-chip{font-size:10px;max-width:100%}
body.seventh-phone .seventh-floor{width:100%;max-width:100%;overflow:hidden}

/* Game Center: beat body:has(#seventhStage) ID rules and desktop Impact type. */
html.seventh-view-phone body:has(#seventhStage) .game-strip,
body.seventh-phone.seventh-phone .game-strip{
  min-height:0!important;height:auto!important;overflow:hidden;
}
html.seventh-view-phone body:has(#seventhStage) .game-strip-inner,
html.seventh-view-phone .game-strip-inner,
body.seventh-phone .game-strip-inner{
  display:flex!important;
  flex-wrap:wrap!important;
  overflow:hidden!important;
  gap:6px!important;
  align-items:stretch;
  min-height:0!important;
  padding:8px 10px!important;
  grid-template-columns:none!important;
  grid-template-rows:none!important;
  scrollbar-width:none;
}
html.seventh-view-phone .game-strip-inner::-webkit-scrollbar,
body.seventh-phone .game-strip-inner::-webkit-scrollbar{display:none;width:0;height:0}
html.seventh-view-phone .game-strip-title,
body.seventh-phone .game-strip-title{flex:1 0 100%;min-width:0;padding-left:8px}
html.seventh-view-phone .game-strip-title strong,
body.seventh-phone .game-strip-title strong{font-size:16px!important;line-height:1.1}
html.seventh-view-phone .game-strip-title small,
body.seventh-phone .game-strip-title small{font-size:9px!important;margin-top:0}
html.seventh-view-phone .game-rail,
body.seventh-phone .game-rail{
  display:flex!important;flex-wrap:wrap!important;gap:6px;width:100%;flex:1 0 100%;min-width:0;overflow:hidden!important;
}
html.seventh-view-phone body:has(#seventhStage) .strip-game,
html.seventh-view-phone body:has(#seventhStage) .strip-game.live,
html.seventh-view-phone .strip-game,
html.seventh-view-phone .strip-game.live,
body.seventh-phone .strip-game,
body.seventh-phone .strip-game.live{
  flex:1 1 calc(50% - 6px)!important;
  min-width:0!important;width:auto!important;max-width:none!important;
  min-height:48px!important;height:auto!important;
  padding:6px 8px!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:4px!important;
}
html.seventh-view-phone .scheduled-match,
body.seventh-phone .scheduled-match{display:flex!important;align-items:baseline;gap:6px;grid-template-columns:none!important}
html.seventh-view-phone .scheduled-match:before,
html.seventh-view-phone .scheduled-match strong,
html.seventh-view-phone .live-score strong,
html.seventh-view-phone .strip-game>div:first-child>b,
body.seventh-phone .scheduled-match:before,
body.seventh-phone .scheduled-match strong,
body.seventh-phone .live-score strong,
body.seventh-phone .strip-game>div:first-child>b{font-size:15px!important;line-height:1}
html.seventh-view-phone .scheduled-match span,
html.seventh-view-phone .game-type,
html.seventh-view-phone .strip-game>small,
body.seventh-phone .scheduled-match span,
body.seventh-phone .game-type,
body.seventh-phone .strip-game>small{font-size:8px!important}
html.seventh-view-phone .full-schedule-link,
body.seventh-phone .full-schedule-link{
  flex:1 0 auto;white-space:nowrap;text-align:center;padding:6px 10px!important;font-size:10px!important
}
html.seventh-view-phone .strip-freshness,
body.seventh-phone .strip-freshness{flex:1 0 auto;font-size:8px!important;margin:0!important;text-align:right}

/* Phone Game Center: light type on the dark strip. */
html.seventh-view-phone .game-strip,
html.seventh-view-phone .game-strip-inner,
html.seventh-view-phone .game-strip-title,
html.seventh-view-phone .game-strip-title strong,
html.seventh-view-phone .game-rail,
html.seventh-view-phone .strip-game,
html.seventh-view-phone .strip-game.live,
html.seventh-view-phone .strip-game>div:first-child>b,
html.seventh-view-phone .scheduled-match,
html.seventh-view-phone .scheduled-match:before,
html.seventh-view-phone .scheduled-match strong,
html.seventh-view-phone .live-score,
html.seventh-view-phone .live-score strong,
html.seventh-view-phone .full-schedule-link,
html.seventh-view-phone .strip-freshness,
body.seventh-phone .game-strip,
body.seventh-phone .game-strip-inner,
body.seventh-phone .game-strip-title,
body.seventh-phone .game-strip-title strong,
body.seventh-phone .strip-game,
body.seventh-phone .strip-game.live,
body.seventh-phone .strip-game>div:first-child>b,
body.seventh-phone .scheduled-match,
body.seventh-phone .scheduled-match:before,
body.seventh-phone .scheduled-match strong,
body.seventh-phone .live-score strong,
body.seventh-phone .full-schedule-link,
body.seventh-phone .strip-freshness{
  color:#f8fbff!important;
}
html.seventh-view-phone .game-strip-title small,
html.seventh-view-phone .game-type,
html.seventh-view-phone .strip-game>small,
html.seventh-view-phone .scheduled-match span,
body.seventh-phone .game-strip-title small,
body.seventh-phone .game-type,
body.seventh-phone .strip-game>small,
body.seventh-phone .scheduled-match span{
  color:#8be6ff!important;
}
html.seventh-view-phone body:has(#seventhStage) .game-strip,
body.seventh-phone .game-strip{
  background:#06142d!important;
  color:#f8fbff!important;
}
html.seventh-view-phone body:has(#seventhStage) .strip-game,
html.seventh-view-phone body:has(#seventhStage) .strip-game.live,
body.seventh-phone .strip-game,
body.seventh-phone .strip-game.live{
  background:#102448!important;
  border:1px solid rgba(139,230,255,.45)!important;
  color:#f8fbff!important;
}

/* Lower phone stack: stay inside 390px. Footer is still desktop-sized otherwise. */
html.seventh-view-phone .seventh-stage,
html.seventh-view-phone .seventh-desk,
html.seventh-view-phone .seventh-dash,
html.seventh-view-phone .seventh-rink-col,
html.seventh-view-phone .seventh-rink-wrap,
html.seventh-view-phone .seventh-floor,
html.seventh-view-phone .site-footer,
html.seventh-view-phone .footer-grid,
body.seventh-phone .seventh-stage,
body.seventh-phone .seventh-desk,
body.seventh-phone .seventh-dash,
body.seventh-phone .seventh-rink-wrap,
body.seventh-phone .seventh-floor{
  max-width:100%!important;width:100%!important;min-width:0!important;overflow-x:hidden;box-sizing:border-box;
}
html.seventh-view-phone .seventh-rink-wrap,
body.seventh-phone .seventh-rink-wrap{
  aspect-ratio:941/1672;height:auto;max-height:none;
}
html.seventh-view-phone .seventh-rink-wrap canvas,
body.seventh-phone .seventh-rink-wrap canvas{width:100%!important;height:100%!important;max-width:100%}
html.seventh-view-phone .seventh-stamp,
body.seventh-phone .seventh-stamp{max-width:calc(100% - 16px);overflow:hidden;text-overflow:ellipsis}
html.seventh-view-phone .footer-grid,
body.seventh-phone .footer-grid{
  display:flex!important;flex-direction:column;gap:12px;padding:12px 10px!important;
}
html.seventh-view-phone .footer-logo,
body.seventh-phone .footer-logo{width:120px!important;height:auto!important;max-width:40%}
html.seventh-view-phone .footer-grid>div:last-child,
body.seventh-phone .footer-grid>div:last-child{grid-column:auto}
html.seventh-view-phone .site-footer,
body.seventh-phone .site-footer{padding:16px 10px 12px!important;overflow:hidden}


/* Desktop / horizontal browser */
body:not(.seventh-phone) .seventh-board{display:contents}
body:not(.seventh-phone) .seventh-dash{display:contents}
body:not(.seventh-phone) .seventh-desk{
  display:grid;
  grid-template-columns:minmax(220px,280px) minmax(0,1fr) minmax(220px,260px);
  grid-template-rows:auto minmax(220px,1fr) auto auto;
  grid-template-areas:
    "copy rink right"
    "posts rink right"
    "bugs rink right"
    "night rink right";
  gap:12px 18px;align-items:stretch;
}
body:not(.seventh-phone) .seventh-copy{grid-area:copy}
body:not(.seventh-phone) .seventh-posts{grid-area:posts}
body:not(.seventh-phone) .seventh-bugs{grid-area:bugs}
body:not(.seventh-phone) .seventh-night{grid-area:night}
body:not(.seventh-phone) .seventh-rink-col{grid-area:rink;display:flex;flex-direction:column;gap:8px;min-width:0}
body:not(.seventh-phone) .seventh-rink-wrap{flex:0 0 auto;width:100%;aspect-ratio:1672/941;height:auto;min-height:0;max-height:none}
body:not(.seventh-phone) .seventh-rail-right{display:flex;flex-direction:column;gap:10px;grid-area:right}
body:not(.seventh-phone) .seventh-widget{flex:1}
body:not(.seventh-phone) .seventh-rail-right .seventh-crest{margin-top:auto;width:120px;height:120px}
body:not(.seventh-phone) .seventh-pulse{display:none}
body:not(.seventh-phone) .seventh-copy p{font-size:14px}
body:not(.seventh-phone) .seventh-energy{display:block;padding:4px 0 0}
body:not(.seventh-phone) .seventh-energy-names{display:flex;justify-content:space-between;font-size:11px;letter-spacing:.16em;font-weight:800;margin-bottom:4px}
body:not(.seventh-phone) .seventh-energy-names .wsh{color:var(--crimson)}
body:not(.seventh-phone) .seventh-energy-names .opp{color:var(--cyan);text-align:right}
body:not(.seventh-phone) .seventh-eq-row{display:grid;grid-template-columns:1fr auto 1fr;gap:12px;align-items:end}
body:not(.seventh-phone) .seventh-eq-row strong{font-size:clamp(42px,5vw,72px);font-style:italic;line-height:.85;text-align:center;min-width:90px;text-shadow:0 0 24px rgba(255,255,255,.25)}
body:not(.seventh-phone) .seventh-eq{height:64px}
body:not(.seventh-phone) .seventh-history{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:16px;align-items:start}
body:not(.seventh-phone) .seventh-last10 h2{writing-mode:vertical-rl;transform:rotate(180deg);margin:0 6px 0 0}
body:not(.seventh-phone) .seventh-last10{display:flex;align-items:flex-start;margin:0}
body:not(.seventh-phone) .seventh-archive .seventh-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
body:not(.seventh-phone) .seventh-tools{flex-direction:column;align-items:flex-end;margin:0;max-width:220px}
body:not(.seventh-phone) .seventh-floor{display:grid;gap:10px;margin-top:8px}
