/* shell.css: the ONE header, menu and footer for proroundnet.com.
   Loaded by every website page and by the app. Everything is scoped to .pl-shell and carries
   its own values, so it looks the same whatever stylesheet the page around it uses.
   Values are the app header's own (app.css header block, 2026-11-12): black scorebug bar,
   yellow rule, Inter, radii 6/10/14/20/999, 44px controls. */
.pl-shell {
  --pl-panel: linear-gradient(105deg,#030303 0%,#111111 42%,#262626 78%,#3D3D3D 100%);
  --pl-yellow: #FAE116; --pl-ink: #111111; --pl-ink2: #444444; --pl-line: #E5E5E5;
  --pl-on-dark: #E5E5E5; --pl-on-dark2: #D4D4D4; --pl-hover: #F5F5F5;
  --pl-w: 1060px; --pl-h: 44px;
  font-family: Inter, system-ui, sans-serif; letter-spacing: 0; line-height: 1.4; box-sizing: border-box;
}
.pl-shell *, .pl-shell *::before, .pl-shell *::after { box-sizing: border-box; }
.pl-shell a { text-decoration: none; }
.pl-shell :focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(250,225,22,.55); }

/* ---- header ---- */
.pl-shell.topbar { position: sticky; top: 0; z-index: 50; margin: 0; background: var(--pl-panel); color: #fff; border-bottom: 3px solid var(--pl-yellow); box-shadow: 0 8px 18px rgba(0,0,0,.12), 0 2px 5px rgba(0,0,0,.08); }
.pl-shell .topbar-in { position: relative; max-width: var(--pl-w); margin: 0 auto; display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; grid-template-areas: "brand partner me menu" "links links links links"; gap: 0 12px; align-items: center; padding: 4px 16px 0; }
.pl-shell .brand { grid-area: brand; display: flex; align-items: center; min-height: var(--pl-h); line-height: 0; }
.pl-shell .brand-logo { height: 44px; width: auto; display: block; max-width: none; }
.pl-shell .hdr-partner { position: absolute; left: 50%; top: 10px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 2px; }
.pl-shell .hdr-partner span { font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #A1A1AA; line-height: 1.3; white-space: nowrap; }
.pl-shell .hdr-partner img { height: 13.3px; width: auto; display: block; }
.pl-shell .hdr-me { grid-area: me; justify-self: end; margin-left: auto; display: flex; align-items: center; gap: 8px; min-width: 0; max-width: 100%; overflow: hidden; min-height: var(--pl-h); color: #fff; border-radius: 10px; padding: 0 0 0 4px; font-weight: 400; }
.pl-shell .hdr-me:hover { background: rgba(255,255,255,.08); color: #fff; }
.pl-shell .hdr-me .avatar { width: 36px; height: 36px; border-radius: 999px; object-fit: cover; background: #262626; border: 2px solid var(--pl-yellow); flex: none; display: inline-flex; align-items: center; justify-content: center; font-weight: 900; color: #fff; font-size: 13px; max-width: none; }
.pl-shell .hdr-me .hdr-ava { position: relative; display: inline-flex; flex: none; }
.pl-shell .hdr-me .hdr-badge { position: absolute; top: 0; right: 0; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; background: var(--pl-yellow); color: var(--pl-ink); border: 1.5px solid #111; font-size: 10px; font-weight: 800; line-height: 13px; text-align: center; }
.pl-shell .hdr-me .who { display: flex; flex-direction: column; align-items: flex-end; text-align: right; min-width: 0; max-width: 100%; overflow: hidden; line-height: 1.2; }
.pl-shell .hdr-me .who strong { font-weight: 800; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; max-width: 100%; color: #fff; }
.pl-shell .hdr-me .who span { font-size: 12px; color: var(--pl-yellow); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; max-width: 100%; }
.pl-shell .hdr-signin { padding: 0 12px; font-weight: 800; font-size: 13px; text-transform: uppercase; color: var(--pl-on-dark); white-space: nowrap; }
.pl-shell .hdr-signin:hover { color: var(--pl-yellow); background: none; }
.pl-shell .hdr-menu { grid-area: menu; position: relative; justify-self: end; }
.pl-shell .hdr-menu > button { min-width: var(--pl-h); min-height: var(--pl-h); margin: 0; border-radius: 10px; background: none; border: 1px solid var(--pl-on-dark2); color: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 12px; cursor: pointer; font: inherit; font-weight: 800; font-size: 13px; text-transform: uppercase; }
.pl-shell .hdr-menu > button:hover, .pl-shell .hdr-menu > button[aria-expanded="true"] { background: rgba(255,255,255,.1); }
.pl-shell .hdr-menu > button .lbl { display: none; }
.pl-shell .hdr-drop { position: absolute; right: 0; top: calc(100% + 8px); width: min(320px, calc(100vw - 32px)); max-height: calc(100vh - 90px); overflow-y: auto; background: #fff; color: var(--pl-ink); border-radius: 14px; box-shadow: 0 14px 30px rgba(0,0,0,.14), 0 3px 8px rgba(0,0,0,.10); border: 1px solid var(--pl-line); padding: 8px; z-index: 60; text-align: left; }
.pl-shell .hdr-drop[hidden] { display: none; }
.pl-shell .hdr-drop h4 { margin: 12px 12px 4px; padding: 0; font-size: 12px; font-weight: 900; text-transform: uppercase; letter-spacing: .06em; color: var(--pl-ink2); line-height: 1.4; }
.pl-shell .hdr-drop h4.sep { margin: 4px 12px 0; border-top: 1px solid var(--pl-line); height: 0; overflow: hidden; }
.pl-shell .hdr-drop a, .pl-shell .hdr-drop button { display: flex; align-items: center; gap: 12px; width: 100%; min-height: var(--pl-h); margin: 0; padding: 0 12px; border-radius: 10px; color: var(--pl-ink); background: none; border: 0; font: inherit; font-weight: 600; font-size: 15px; cursor: pointer; text-align: left; text-transform: none; }
.pl-shell .hdr-drop a:hover, .pl-shell .hdr-drop button:hover { background: var(--pl-hover); color: var(--pl-ink); }
.pl-shell .hdr-drop a[aria-current="page"] { background: var(--pl-yellow); color: var(--pl-ink); font-weight: 800; }
/* Menu search (Alex, 2026-11-17): a filter box pinned to the top of the menu panel.
   The panel's top padding moves into the search bar itself, so the sticky bar sits
   flush at the panel's top edge while the links scroll under it. Ink on white like
   the panel's own rows; yellow appears only as the shared focus ring. */
.pl-shell .hdr-drop { padding-top: 0; }
.pl-shell .hdr-search { position: sticky; top: 0; z-index: 1; margin: 0 -8px; padding: 8px; background: #fff; border-bottom: 1px solid var(--pl-line); }
.pl-shell .hdr-search-in { display: block; width: 100%; min-height: var(--pl-h); margin: 0; padding: 0 12px; border: 1px solid var(--pl-line); border-radius: 10px; background: #fff; color: var(--pl-ink); font: inherit; font-size: 15px; font-weight: 600; -webkit-appearance: none; appearance: none; }
.pl-shell .hdr-search-in::placeholder { color: var(--pl-ink2); opacity: 1; }
.pl-shell .hdr-nomatch { margin: 8px 4px 2px; font-size: 14px; font-weight: 600; color: var(--pl-ink2); }
.pl-shell .hdr-drop .hdr-off { display: none !important; }
.pl-shell .hdr-scrollwrap { grid-area: links; position: relative; min-width: 0; margin: 0 -16px; }
.pl-shell .hdr-links { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; margin: 0; padding: 0 16px; }
.pl-shell .hdr-links::-webkit-scrollbar { display: none; }
.pl-shell .hdr-links a { flex: none; color: var(--pl-on-dark); font-weight: 800; font-size: 13px; text-transform: uppercase; min-height: var(--pl-h); padding: 0 12px; display: inline-flex; align-items: center; gap: 8px; border-bottom: 3px solid transparent; white-space: nowrap; }
.pl-shell .hdr-links a:hover { color: var(--pl-yellow); }
.pl-shell .hdr-links a[aria-current="page"] { color: var(--pl-yellow); border-bottom-color: var(--pl-yellow); }
/* po-hot: the Playoffs strip item keeps its marker class from nav.json (first in the
   strip, as ruled), but the class carries NO styling of its own. Its old rule painted
   the tab yellow with the active underline on every page, so the strip always read as
   if Playoffs were the current page (Alex, 2026-11-14, homepage screenshots: "This
   makes me feel like I'm always on the playoff page"). A strip tab now lights only
   through the [aria-current="page"] rule above, on the page that is actually its own;
   pages with no tab of their own light none. Do not re-add lit styling here. */
.pl-shell .hdr-scrollwrap.has-r > .hdr-links { -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 34px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 34px), transparent); }
.pl-shell .hdr-scrollwrap.has-l > .hdr-links { -webkit-mask-image: linear-gradient(to left, #000 calc(100% - 34px), transparent); mask-image: linear-gradient(to left, #000 calc(100% - 34px), transparent); }
.pl-shell .hdr-scrollwrap.has-l.has-r > .hdr-links { -webkit-mask-image: linear-gradient(to right, transparent, #000 34px, #000 calc(100% - 34px), transparent); mask-image: linear-gradient(to right, transparent, #000 34px, #000 calc(100% - 34px), transparent); }
.pl-shell .hdr-chev { position: absolute; top: 50%; right: 6px; transform: translateY(-50%); width: 24px; height: 24px; border-radius: 999px; background: var(--pl-yellow); box-shadow: 0 8px 18px rgba(0,0,0,.12), 0 2px 5px rgba(0,0,0,.08); opacity: 0; pointer-events: none; transition: opacity 150ms cubic-bezier(.2,.7,.2,1); z-index: 2; }
.pl-shell .hdr-chev::before { content: ''; position: absolute; top: 50%; left: 50%; width: 7px; height: 7px; border-top: 2px solid #111; border-right: 2px solid #111; transform: translate(-60%, -50%) rotate(45deg); }
.pl-shell .hdr-scrollwrap.has-r > .hdr-chev { opacity: 1; }
.pl-shell .ico { display: inline-block; width: 22px; height: 22px; flex: none; background-color: currentColor; -webkit-mask: var(--ico) center / contain no-repeat; mask: var(--ico) center / contain no-repeat; }
@media (max-width: 560px) {
  .pl-shell .hdr-me .who span { font-size: 10px; }
  .pl-shell .hdr-me .who strong { font-size: 12px; }
  .pl-shell.topbar.is-in .hdr-partner { display: none; }
}
/* Partner mark yield (Alex's screenshot, 2026-11-12): the centered "In Partnership With" mark
   must never touch the signed-in account cluster. The widest cluster in the league (a four-role
   line, 346px; cluster 394px + 12px gap + 96px menu button = 502px) against the 530px half of
   the 1060px-capped bar, with the mark 124px wide, cannot clear with a 16px gap below a 1190px
   viewport, so below that the mark hides rather than collides. Above it, shell.js re-checks the
   real rendered boxes per account and hides the mark for any cluster that still reaches it. */
@media (max-width: 1189px) {
  .pl-shell.topbar.is-in .hdr-partner { display: none; }
}
@media (min-width: 900px) { .pl-shell .hdr-menu > button .lbl { display: inline; } }
@media (prefers-reduced-motion: reduce) { .pl-shell * { transition: none !important; } }

/* ---- footer ---- */
.pl-shell.pl-foot { max-width: calc(var(--pl-w) + 32px); margin: 44px auto 24px; padding: 0 16px; background: none; box-shadow: none; border-radius: 0; text-align: center; }
.wrap > .pl-shell.pl-foot { padding: 0; max-width: none; margin-bottom: 0; }
.pl-shell .pl-foot-panel { position: relative; overflow: hidden; background: var(--pl-panel); color: #fff; border-radius: 20px; box-shadow: 0 22px 44px rgba(0,0,0,.30), 0 6px 14px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.30); padding: 30px 32px 26px; text-align: center; }
.pl-shell .pl-foot-panel::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 38%; background: linear-gradient(180deg,rgba(255,255,255,.13),rgba(255,255,255,0)); pointer-events: none; }
.pl-shell .pl-foot-panel > * { position: relative; }
.pl-shell .pl-foot-panel .mark { height: 44px; width: auto; display: block; margin: 0 auto 6px; }
.pl-shell .pl-foot-panel nav { display: flex; gap: 0 6px; justify-content: center; flex-wrap: wrap; margin: 6px 0; padding: 0; }
.pl-shell .pl-foot-panel nav a { color: var(--pl-on-dark); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .03em; min-height: var(--pl-h); padding: 0 6px; display: inline-flex; align-items: center; }
.pl-shell .pl-foot-panel nav a:hover { color: var(--pl-yellow); }
.pl-shell .pl-foot-panel .partner { margin: 14px 0 4px; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.pl-shell .pl-foot-panel .partner .lbl { font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #A1A1AA; }
.pl-shell .pl-foot-panel .partner img { height: 16px; width: auto; display: block; }
.pl-shell .pl-foot-panel p { margin: 10px 0 0; color: #A1A1AA; font-size: 13.5px; font-weight: 600; line-height: 1.5; }
@media (max-width: 560px) { .pl-shell .pl-foot-panel { padding: 24px 14px 20px; } }

/* Menu icons: shell-icons.css, generated from the app's own icon artwork by apply_portal_shell.py. */

/* Live pill (2026-11-18): in the header only while a match is streaming. Yellow fill,
   black text — the one allowed yellow treatment. The dot pulses so the eye catches it. */
.hdr-live{display:inline-flex;align-items:center;gap:7px;background:#F9E211;color:#000;font:700 12px/1 Inter,system-ui,sans-serif;letter-spacing:.08em;text-decoration:none;padding:9px 12px;border-radius:999px;margin-left:10px;white-space:nowrap;flex:0 0 auto}
.hdr-live-dot{width:8px;height:8px;border-radius:50%;background:#000;animation:hdrLivePulse 1.1s ease-in-out infinite}
.hdr-live-tri{width:0;height:0;border-left:9px solid #000;border-top:5.5px solid transparent;border-bottom:5.5px solid transparent}
@keyframes hdrLivePulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.3;transform:scale(.7)}}
@media (max-width:640px){.hdr-live{padding:8px 9px;margin-left:6px}}
