[hidden] { display: none !important; }
:root {
  --bg: #0b0f13; --panel: #131a21; --panel2: #1a232c; --line: #26323d;
  --text: #e8eef3; --muted: #8a9aa8; --ice: #7cc4ff; --red: #e53935; --gold: #f5c518; --green: #2fbf71;
  --radius: 10px;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: var(--bg); color: var(--text); font: 14px/1.4 Inter, system-ui, sans-serif; }
button, input, select { font: inherit; color: inherit; }
kbd { font: 600 10px Inter, sans-serif; opacity: .55; margin-left: 4px; border: 1px solid currentColor; border-radius: 3px; padding: 0 3px; }

.topbar { display: flex; align-items: center; gap: 16px; padding: 10px 16px; border-bottom: 1px solid var(--line); background: #0e1419; position: sticky; top: 0; z-index: 5; }
.brand { font: 800 22px "Barlow Condensed", sans-serif; letter-spacing: .5px; display: flex; align-items: center; gap: 8px; }
.puck { width: 18px; height: 10px; background: #000; border: 2px solid var(--ice); border-radius: 50%; display: inline-block; }
.live-status { margin-left: auto; display: flex; align-items: center; gap: 8px; font: 700 13px Inter; color: var(--muted); }
.live-status .dot { width: 10px; height: 10px; border-radius: 50%; background: #455; }
.live-status.live { color: #fff; }
.live-status.live .dot { background: var(--red); box-shadow: 0 0 0 0 rgba(229,57,53,.7); animation: pulse 1.4s infinite; }
.live-status.connecting .dot { background: var(--gold); }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(229,57,53,0); } 100% { box-shadow: 0 0 0 0 rgba(229,57,53,0); } }

.btn { background: var(--ice); color: #06121c; border: 0; border-radius: 8px; padding: 9px 14px; font-weight: 700; cursor: pointer; text-decoration: none; display: inline-block; }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn.ghost:hover { border-color: var(--ice); }
.btn.danger { color: #ff8a80; }
.btn-live { background: var(--red); color: #fff; min-width: 110px; }
.btn-live.stop { background: #333; }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 16px; padding: 16px; max-width: 1700px; margin: 0 auto; }
@media (max-width: 1000px) { .layout { grid-template-columns: 1fr; padding: 8px; } }

.preview-wrap { position: relative; background: #000; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16/9; }
#out { width: 100%; height: 100%; display: block; }
.no-cam { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: rgba(0,0,0,.35); color: var(--muted); }
.no-cam.hidden { display: none; }

.pad { display: grid; grid-template-columns: 1fr 230px 1fr; gap: 10px; margin-top: 12px; }
@media (max-width: 640px) { .pad { grid-template-columns: 1fr 1fr; } .pad-clock { grid-column: 1 / -1; order: -1; } }
.pad-team, .pad-clock { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; display: flex; flex-direction: column; gap: 8px; }
.pad-name { font: 700 20px "Barlow Condensed", sans-serif; text-align: center; padding: 4px; border-radius: 6px; }
.pad-row { display: flex; gap: 8px; }
.pad-row.small { gap: 4px; }
.pbtn { flex: 1; min-height: 58px; border-radius: 8px; border: 0; font: 700 17px Inter; cursor: pointer; touch-action: manipulation; transition: transform .05s; }
.pbtn:active { transform: scale(.97); }
.pbtn.shot { background: #2a3a4a; }
.pbtn.goal { background: var(--green); color: #04150b; }
.pbtn.pen { background: #3b2a12; color: #ffcc80; min-height: 44px; }
.pbtn.clock { background: var(--ice); color: #06121c; }
.pbtn.clock.running { background: var(--red); color: #fff; }
.mini { flex: 1; background: var(--panel2); border: 1px solid var(--line); border-radius: 6px; padding: 6px 4px; font-size: 12px; cursor: pointer; }
.clock-read { font: 800 46px "Barlow Condensed", sans-serif; text-align: center; line-height: 1; font-variant-numeric: tabular-nums; }
.period-read { text-align: center; font: 700 14px Inter; color: var(--gold); }

.side { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); display: flex; flex-direction: column; min-height: 0; max-height: calc(100vh - 90px); position: sticky; top: 74px; }
@media (max-width: 1000px) { .side { max-height: none; position: static; } }
.tabs { display: flex; border-bottom: 1px solid var(--line); }
.tab { flex: 1; background: none; border: 0; padding: 12px 6px; color: var(--muted); font-weight: 600; cursor: pointer; border-bottom: 2px solid transparent; }
.tab.active { color: var(--text); border-bottom-color: var(--ice); }
.panel { display: none; padding: 14px; overflow-y: auto; }
.panel.active { display: block; }
.panel h3 { font: 700 13px Inter; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 18px 0 8px; }
.panel h3:first-child { margin-top: 0; }
label { display: flex; flex-direction: column; gap: 4px; margin-bottom: 10px; font-size: 12px; color: var(--muted); }
label.check { flex-direction: row; align-items: center; gap: 8px; color: var(--text); font-size: 13px; }
label.color { flex-direction: row; align-items: center; justify-content: space-between; color: var(--text); font-size: 13px; }
input:not([type=checkbox]):not([type=color]):not([type=range]):not([type=file]), select { background: var(--panel2); border: 1px solid var(--line); border-radius: 6px; padding: 8px; color: var(--text); width: 100%; }
input[type=color] { width: 44px; height: 30px; border: 1px solid var(--line); border-radius: 6px; background: none; padding: 2px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.grid3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0 10px; }
.row { display: flex; align-items: center; }
.row.gap { gap: 8px; flex-wrap: wrap; }
.row.end { justify-content: flex-end; }
.hint { color: var(--muted); font-size: 12px; margin: 0 0 10px; }
.team-cards { display: grid; gap: 10px; }
.team-card { border: 1px solid var(--line); border-radius: 8px; padding: 10px; margin: 0 0 4px; }
.team-card legend { font-weight: 700; padding: 0 6px; }
.logo-prev { width: 40px; height: 40px; object-fit: contain; background: var(--panel2); border-radius: 6px; }
.logo-prev[src=""], .logo-prev:not([src]) { visibility: hidden; }

.log { list-style: none; padding: 0; margin: 0 0 12px; display: flex; flex-direction: column-reverse; gap: 4px; }
.log li { background: var(--panel2); border-radius: 6px; padding: 6px 8px; display: flex; gap: 8px; align-items: center; font-size: 13px; }
.log .t { color: var(--muted); font-variant-numeric: tabular-nums; min-width: 72px; }
.log .tag { font-weight: 700; padding: 1px 6px; border-radius: 4px; font-size: 11px; }
.log .x { margin-left: auto; background: none; border: 0; color: var(--muted); cursor: pointer; }
.penalty-list { display: flex; flex-direction: column; gap: 4px; margin-bottom: 10px; }
.penalty-list .pen-item { display: flex; justify-content: space-between; align-items: center; background: #2a1f10; border: 1px solid #5a3d10; color: #ffcc80; border-radius: 6px; padding: 6px 8px; font-weight: 600; }
.penalty-list .pen-item button { background: none; border: 0; color: inherit; cursor: pointer; }

.box { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; margin-bottom: 8px; }
.box th, .box td { padding: 6px; text-align: center; border-bottom: 1px solid var(--line); }
.box th:first-child, .box td:first-child { text-align: left; }
.box th { color: var(--muted); font-weight: 600; font-size: 12px; }

.stream-log { background: #070a0d; border-radius: 6px; padding: 8px; font-size: 11px; color: var(--muted); max-height: 140px; overflow: auto; white-space: pre-wrap; margin-top: 12px; }

dialog { background: var(--panel); color: var(--text); border: 1px solid var(--line); border-radius: 12px; padding: 18px; width: min(420px, 92vw); }
dialog::backdrop { background: rgba(0,0,0,.6); }
dialog h3 { margin: 0 0 12px; }

/* ---------- remote ---------- */
.game-code { font: 800 18px "Barlow Condensed", sans-serif; letter-spacing: .12em; background: var(--panel2); border: 1px solid var(--line); border-radius: 6px; padding: 1px 8px; margin-left: 6px; }
.cam-status { margin-left: auto; display: flex; align-items: center; gap: 8px; font: 700 13px Inter; color: var(--muted); background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 6px 12px; }
.cam-status .dot { width: 10px; height: 10px; border-radius: 50%; background: #455; }
.cam-status.ready .dot { background: var(--green); }
.cam-status.connecting .dot { background: var(--gold); }
.cam-status.bad { color: #ff8a80; } .cam-status.bad .dot { background: var(--red); }
.cam-status.live { color: #fff; border-color: var(--red); }
.cam-status.live .dot { background: var(--red); animation: pulse 1.4s infinite; }
.bug-preview { background: #2a3540 repeating-linear-gradient(45deg, #26313b 0 12px, #2a3540 12px 24px); border-radius: var(--radius); overflow: hidden; line-height: 0; }
.bug-preview canvas { width: 100%; height: auto; display: block; }
.remote .pad-team .pbtn { width: 100%; }
.remote .pbtn small { display: block; font: 500 11px Inter; opacity: .7; margin-top: 2px; }
.remote .pbtn.shot { min-height: 76px; }
.remote .pbtn.goal { min-height: 64px; }
.cam-card { background: var(--panel2); border-radius: 8px; padding: 6px 12px; margin-bottom: 8px; }
.cam-line { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.cam-line:last-child { border-bottom: 0; }
.cam-line span { color: var(--muted); }
.cam-line b { text-align: right; }
.btn:disabled { opacity: .45; cursor: not-allowed; }
@media (max-width: 640px) {
  .remote .topbar { padding: 8px 10px; gap: 8px; }
  .remote .brand { font-size: 18px; }
  .remote .cam-status { font-size: 11px; padding: 5px 9px; }
  .remote .clock-read { font-size: 40px; }
  .remote kbd { display: none; }
}

/* ---------- accounts & dashboard ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 30px); opacity: 0; background: #1f2a33; border: 1px solid var(--line); color: var(--text); padding: 10px 16px; border-radius: 8px; font-weight: 600; transition: all .2s; z-index: 100; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast.bad { border-color: var(--red); color: #ff8a80; }
.page { max-width: 980px; margin: 0 auto; padding: 20px 16px 60px; }
.page h1 { font: 800 34px "Barlow Condensed", sans-serif; margin: 0 0 4px; }
.page h2 { font: 700 13px Inter; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 28px 0 10px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 16px; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.team-tile { display: flex; gap: 12px; align-items: center; text-decoration: none; color: inherit; border-left: 6px solid var(--c, var(--ice)); }
.team-tile:hover { border-color: var(--ice); }
.team-tile img, .team-tile .ph { width: 48px; height: 48px; object-fit: contain; border-radius: 8px; background: var(--panel2); flex: none; }
.team-tile .meta { color: var(--muted); font-size: 12px; }
.team-tile b { display: block; font-size: 16px; }
.role-badge { font: 700 10px Inter; text-transform: uppercase; letter-spacing: .06em; padding: 2px 6px; border-radius: 4px; background: var(--panel2); color: var(--muted); }
.role-badge.owner { color: var(--gold); } .role-badge.manager { color: var(--ice); }
.user-menu { margin-left: auto; display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 13px; }
.user-menu a { color: var(--text); text-decoration: none; }
.auth-wrap { max-width: 400px; margin: 6vh auto; padding: 0 16px; }
.auth-wrap .card { padding: 22px; }
.auth-wrap .btn { width: 100%; padding: 12px; font-size: 15px; margin-top: 4px; }
.err { color: #ff8a80; font-size: 13px; min-height: 18px; margin: 4px 0; }
.ok-msg { color: #b9f6ca; font-size: 13px; }
.linkish { background: none; border: 0; color: var(--ice); cursor: pointer; padding: 0; font: inherit; text-decoration: underline; }
table.list { width: 100%; border-collapse: collapse; }
table.list th, table.list td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); font-size: 13px; }
table.list th { color: var(--muted); font-weight: 600; font-size: 12px; }
table.list input, table.list select { padding: 6px !important; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.seg button { background: none; border: 0; padding: 8px 14px; cursor: pointer; color: var(--muted); font-weight: 600; }
.seg button.on { background: var(--ice); color: #06121c; }
.page-tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin: 16px 0; overflow-x: auto; }
.page-tabs button { background: none; border: 0; padding: 10px 14px; color: var(--muted); font-weight: 600; cursor: pointer; border-bottom: 2px solid transparent; white-space: nowrap; }
.page-tabs button.on { color: var(--text); border-bottom-color: var(--ice); }
.tabpane { display: none; } .tabpane.on { display: block; }
.score-pill { font: 800 18px "Barlow Condensed", sans-serif; }
.win { color: var(--green); } .loss { color: #ff8a80; }

#oppTable td, #oppTable th { padding: 6px 4px; }
#oppTable td:nth-child(2) input { min-width: 96px; }
#oppTable td:last-child { width: 30px; }
#oppTable input[type=color] { width: 30px !important; }
@media (max-width: 640px) { #oppTable th:first-child, #oppTable td:first-child { width: 48px; } }

/* roster picker */
.pick-dlg { width: min(560px, 96vw); max-height: 90vh; }
.pick-head h3 { margin: 0; }
.pick-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; margin-top: 12px; max-height: 60vh; overflow-y: auto; }
.pick-grid button { background: var(--panel2); border: 1px solid var(--line); border-radius: 10px; padding: 12px 10px; text-align: left; cursor: pointer; color: var(--text); display: flex; gap: 10px; align-items: center; min-height: 58px; touch-action: manipulation; }
.pick-grid button:active { transform: scale(.98); }
.pick-grid button .n { font: 800 26px "Barlow Condensed", sans-serif; min-width: 38px; text-align: center; color: var(--ice); }
.pick-grid button .nm { font-weight: 600; font-size: 14px; line-height: 1.2; }
.pick-grid button .ps { display: block; font-size: 11px; color: var(--muted); font-weight: 500; }
.pick-grid .sep { grid-column: 1 / -1; color: var(--muted); font: 700 11px Inter; text-transform: uppercase; letter-spacing: .08em; margin-top: 4px; }
.goalie-btn { width: 100%; background: rgba(255,255,255,.06); border: 1px dashed var(--line); border-radius: 8px; padding: 7px; color: var(--text); font-size: 13px; cursor: pointer; }
.goalie-btn b { color: var(--ice); }
.goalie-btn.none { border-color: var(--gold); color: #ffe082; }

/* Penalties: dialog + live list in the clock card */
.pen-field { margin: 10px 0; }
.pen-field .lbl { display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px; font-weight: 600; }
.pen-kind { display: flex; } .pen-kind button { flex: 1; padding: 10px 6px; }
.pen-presets { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.pen-presets button { background: var(--panel2); border: 1px solid var(--line); color: var(--text); border-radius: 8px; padding: 9px 12px; font: 700 16px "Barlow Condensed", sans-serif; cursor: pointer; touch-action: manipulation; }
.pen-presets button.on { background: var(--ice); color: #06121c; border-color: var(--ice); }
.pen-presets button small { font: 600 10px Inter; opacity: .7; margin-left: 4px; }
.pen-time { display: flex; gap: 8px; align-items: center; }
.pen-time .mini { flex: 0 0 64px; padding: 10px 4px; font-size: 14px; }
.pen-time input { flex: 1; text-align: center; font: 800 26px "Barlow Condensed", sans-serif; padding: 4px; }
.clock-pens { display: flex; flex-direction: column; gap: 4px; }
.clock-pens:empty { display: none; }
.cpen { background: #2a1f10; border: 1px solid #5a3d10; color: #ffcc80; border-radius: 8px; padding: 5px 6px; }
.cpen .top { display: flex; align-items: center; gap: 6px; font-weight: 600; font-size: 12px; }
.cpen .tm { margin-left: auto; font: 800 20px "Barlow Condensed", sans-serif; color: #fff; }
.cpen .sw { width: 10px; height: 10px; border-radius: 2px; flex: none; border: 1px solid rgba(255,255,255,.4); }
.cpen .who { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
.cpen .adj { display: flex; gap: 4px; margin-top: 4px; }
.cpen .adj button { flex: 1; background: #3a2a12; border: 1px solid #5a3d10; color: #ffcc80; border-radius: 5px; padding: 6px 0; font-size: 12px; font-weight: 700; cursor: pointer; touch-action: manipulation; }
.cpen .adj button.rel { flex: 0 0 34px; }

/* Go-live sheet */
.golive-dlg { width: min(460px, 94vw); }
.golive-dlg input { font-size: 16px; }
.golive-dlg .gl-hint { font-size: 12px; color: var(--muted); margin: -4px 0 12px; }
.golive-dlg .gl-hint a { color: var(--ice); }
.golive-dlg .gl-lbl { font-size: 12px; color: var(--muted); font-weight: 600; margin-bottom: 6px; }
.gl-priv { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-bottom: 10px; }
.gl-priv button { background: var(--panel2); border: 1px solid var(--line); color: var(--text); border-radius: 10px; padding: 10px 6px; cursor: pointer; text-align: center; touch-action: manipulation; }
.gl-priv button b { display: block; font-size: 14px; }
.gl-priv button small { display: block; font-size: 11px; color: var(--muted); margin-top: 2px; line-height: 1.2; }
.gl-priv button.on { border-color: var(--ice); background: rgba(100, 181, 246, .15); box-shadow: inset 0 0 0 1px var(--ice); }
.btn.live { background: #e53935; color: #fff; }

.mute-chip { margin-left: auto; background: var(--panel2); border: 1px solid var(--line); color: var(--text); border-radius: 20px; padding: 6px 12px; font: 600 13px Inter; cursor: pointer; touch-action: manipulation; white-space: nowrap; }
.mute-chip.muted { background: #8e1c1c; border-color: #e53935; color: #fff; }
.mute-chip:not([hidden]) + .cam-status { margin-left: 8px; }

.game-actions { display: flex; gap: 8px; margin-top: 8px; }
.cam-card .game-actions { margin: 6px 4px 0; }
.btn.small { padding: 6px 12px; font-size: 13px; }
.btn.danger { color: #ff8a80; border-color: #5a2323; }
#cams { grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); }
.cam-card { background: none; border: 0; padding: 0; }
.cam-card .team-tile { flex-wrap: wrap; }

/* Away team on the left, home on the right, matching the scorebug. */
.pad-team[data-team="away"] { order: 1; }
.pad-clock { order: 2; }
.pad-team[data-team="home"] { order: 3; }
@media (max-width: 640px) { .pad-clock { order: 0; } }

/* Intermission */
.pe-score { font: 800 30px "Barlow Condensed", sans-serif; margin: 4px 0 8px; }
.int-panel { position: fixed; left: 50%; bottom: max(16px, env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 50;
  width: min(520px, 94vw); background: #1b1406; border: 2px solid var(--gold, #f5c518); border-radius: 14px; padding: 14px 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,.6); text-align: center; }
.int-panel .ip-top { font: 700 18px Inter; color: #ffe082; }
.int-panel .ip-top b { color: #fff; }
.int-panel .ip-sub { font-size: 13px; color: #c9b98a; margin: 4px 0 10px; }
.int-panel .ip-end { width: 100%; padding: 14px; font-size: 17px; background: #2ecc71; color: #06210f; touch-action: manipulation; }

.intro-btn { background: #3b2a6b; border: 1px solid #7e57c2; color: #fff; border-radius: 10px; padding: 10px; font: 700 16px Inter; cursor: pointer; touch-action: manipulation; }
.intro-btn small { display: block; font: 500 11px Inter; opacity: .75; }
.int-panel.intro { background: #1d1533; border-color: #9575cd; }
.int-panel.intro .ip-top { color: #d1c4e9; }
.int-panel.intro .ip-sub { color: #b39ddb; }

.en-btn { background: var(--panel2); border: 1px dashed #6b3a3a; color: #e0a0a0; border-radius: 8px; padding: 8px; font: 600 13px Inter; cursor: pointer; touch-action: manipulation; }
.en-btn small { display: block; font: 500 10px Inter; opacity: .85; }
.en-btn.on { background: #c62828; border: 1px solid #ff6b6b; color: #fff; font-weight: 800; animation: enPulse 1.6s ease-in-out infinite; }
@keyframes enPulse { 50% { box-shadow: 0 0 0 4px rgba(198,40,40,.35); } }

/* Timeouts */
.to-teams { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 6px 0 12px; }
.to-team { border: 0; border-radius: 12px; padding: 18px 10px; cursor: pointer; touch-action: manipulation; background: var(--panel2); color: var(--text); }
.to-team b { display: block; font: 800 30px "Barlow Condensed", sans-serif; }
.to-team small { display: block; font: 500 12px Inter; opacity: .85; }
.to-len { flex-direction: row; align-items: center; gap: 10px; }
.to-len input { width: 90px; text-align: center; font: 700 18px "Barlow Condensed", sans-serif; }
.clock-to { display: flex; align-items: center; gap: 8px; background: #3a3006; border: 1px solid #f5c518; color: #ffe082; border-radius: 8px; padding: 6px 8px; font-weight: 700; font-size: 13px; }
.clock-to b { margin-left: auto; font: 800 22px "Barlow Condensed", sans-serif; color: #fff; }
.clock-to button { background: #f5c518; color: #1b1406; border: 0; border-radius: 6px; padding: 6px 10px; font-weight: 800; cursor: pointer; }
.mini#toBtn.on { background: #f5c518; color: #1b1406; border-color: #f5c518; font-weight: 800; }

.rec-field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 10px; font-size: 12px; color: var(--muted); }
.rec-field small { font-size: 11px; }
.rec-row { display: flex; gap: 6px; }
.rec-row .rec-n { width: 100%; min-width: 0; text-align: center; font: 700 20px "Barlow Condensed", sans-serif; padding: 8px 4px; }
/* iPhone Safari zooms the page when a field under 16px gets focus; keep touch-screen fields at 16px+. */
@media (pointer: coarse) { input, select, textarea { font-size: 16px; } }
/* Parents: claim + my players */
.claim-team { display: flex; align-items: center; gap: 10px; border-left: 6px solid var(--c, var(--ice)); padding-left: 10px; font-weight: 700; margin-bottom: 14px; }
.claim-team img { width: 40px; height: 40px; object-fit: contain; }
.claim-player { display: flex; align-items: baseline; gap: 10px; margin-bottom: 10px; }
.claim-player .num { font: 800 44px "Barlow Condensed", sans-serif; color: var(--ice); }
.claim-player .nm { font: 800 34px "Barlow Condensed", sans-serif; }
.warn-card { border-color: #6b5a1a; background: #221d0a; color: #ffe082; margin-bottom: 12px; }
.player-card { margin-bottom: 12px; }
.player-card.focus { border-color: var(--ice); }
.pc-head { display: flex; align-items: center; gap: 12px; border-left: 6px solid var(--c, var(--ice)); padding-left: 10px; margin-bottom: 10px; }
.pc-head img, .pc-head .ph { width: 40px; height: 40px; object-fit: contain; border-radius: 6px; background: var(--panel2); }
.pc-head b { font-size: 17px; } .pc-head .meta { color: var(--muted); font-size: 12px; }
.pc-head .unclaim { margin-left: auto; color: var(--muted); }
.phones { list-style: none; padding: 0; margin: 0 0 10px; }
.phones li { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.phones .ph-num { font-weight: 700; } .phones .ph-label { color: var(--muted); font-size: 13px; }
.phones .del { margin-left: auto; flex: none; width: 34px; }
.tag { font-size: 11px; font-weight: 700; border-radius: 999px; padding: 3px 8px; }
.tag.ok { background: #12391f; color: #9be7b0; } .tag.wait { background: #3a3006; color: #ffe082; } .tag.bad { background: #3a1212; color: #ff8a80; }
.hint.small { font-size: 12px; margin: 6px 0 0; }
.linkish { background: none; border: 0; color: var(--ice); cursor: pointer; padding: 0; font: inherit; text-decoration: underline; }
.parent-badge { font-size: 11px; color: var(--muted); white-space: nowrap; }
.parent-badge.has { color: #9be7b0; }

.parents-cell { white-space: nowrap; } .parents-cell .mini { margin-left: 6px; width: auto; padding: 4px 8px; }
#inviteDlg { width: min(520px, 94vw); }
