/* GBO ALL-STAR VOTE — 공통 토큰과 컴포넌트
   기준: web.gbo.life styles.css (v=20261102-2) */

:root {
  /* 색 */
  --navy: #1f2b45;
  --navy-deep: #111a2c;
  --navy-soft: #2e3b59;
  --navy-end: #2b3957;
  --ink: #151b27;
  --muted: #697388;
  --muted-2: #8993a4;
  --muted-3: #9aa2b2;
  --line: #e2e7ef;
  --line-soft: #edf0f5;
  --line-strong: #cbd3df;
  --surface: #ffffff;
  --canvas: #f4f6f9;
  --chip: #edf1f7;
  --tab-bg: #e9edf3;
  --th-bg: #f5f7fa;
  --row-hover: #fafbfd;
  --panel: #f2f5f9;
  --gold: #d7a61c;
  --gold-soft: rgba(215, 166, 28, .18);
  --gold-ink: #7d5a13;
  --gold-bg: #fff8e7;
  --red: #c53a3a;
  --red-deep: #a82929;
  --red-bg: #fdf1f1;
  --green: #16794a;
  --green-dot: #36b778;
  --amber-dot: #e9ab26;

  /* 글꼴 */
  --font: "Pretendard Variable", Pretendard, "Noto Sans KR", -apple-system, "Segoe UI", sans-serif;
  --fs-9: 9px;
  --fs-10: 10px;
  --fs-11: 11px;
  --fs-12: 12px;
  --fs-13: 13px;
  --fs-14: 14px;
  --fs-15: 15px;
  --fs-17: 17px;
  --fs-20: 20px;
  --fs-24: 24px;
  --fs-28: 28px;
  --fs-32: 32px;
  --fw-label: 800;
  --fw-strong: 850;
  --fw-heavy: 900;

  /* 간격 */
  --sp-4: 4px;
  --sp-6: 6px;
  --sp-8: 8px;
  --sp-10: 10px;
  --sp-12: 12px;
  --sp-16: 16px;
  --sp-20: 20px;
  --sp-24: 24px;
  --sp-32: 32px;
  --sp-40: 40px;
  --sp-56: 56px;
  --sp-72: 72px;

  /* 모양 */
  --r-card: 20px;
  --r-panel: 16px;
  --r-cell: 14px;
  --r-btn: 13px;
  --r-input: 12px;
  --r-pill: 999px;
  --shadow-card: 0 10px 34px rgba(22, 34, 57, .07);
  --shadow-soft: 0 8px 25px rgba(22, 34, 57, .035);
  --shadow-pop: 0 20px 55px rgba(19, 30, 51, .12);
  --focus: 0 0 0 3px rgba(31, 43, 69, .22);
  --topbar-h: 78px;
  --container: min(1360px, calc(100% - 48px));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-14);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "tnum" 0;
}
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; }
p { margin: 0; }
[hidden] { display: none !important; }
.num, .tnum { font-variant-numeric: tabular-nums; }
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.container { width: var(--container); margin: 0 auto; }

/* 상단 바 */
.topbar {
  position: sticky; top: 0; z-index: 50;
  height: var(--topbar-h);
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid rgba(31, 43, 69, .08);
  backdrop-filter: blur(16px);
}
.topbar-inner { height: 100%; display: flex; align-items: center; gap: var(--sp-24); }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--navy); flex: none; }
.brand-mark { width: 48px; height: 48px; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 7px 22px rgba(31, 43, 69, .14); }
.brand-mark img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); }
.brand-copy { display: flex; flex-direction: column; line-height: 1; }
.brand-copy strong { font-size: var(--fs-20); letter-spacing: -.04em; font-weight: var(--fw-heavy); }
.brand-copy small { margin-top: 6px; font-size: var(--fs-9); font-weight: var(--fw-heavy); letter-spacing: .16em; color: #7c8596; }
.brand-copy small b { color: var(--gold); font-weight: inherit; }
.top-nav { display: flex; align-self: stretch; align-items: stretch; gap: var(--sp-8); margin-left: auto; }
.top-nav a.nav-link {
  position: relative; display: flex; align-items: center; padding: 0 12px;
  text-decoration: none; color: #747e91; font-weight: var(--fw-strong); font-size: var(--fs-14);
}
.top-nav a.nav-link::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 0; height: 3px;
  background: var(--navy); border-radius: 4px 4px 0 0; transform: scaleX(0); transition: transform .2s;
}
.top-nav a.nav-link:hover, .top-nav a.nav-link.is-active { color: var(--navy); }
.top-nav a.nav-link.is-active::after { transform: scaleX(1); }
.top-user { display: flex; align-items: center; gap: var(--sp-10); align-self: center; }
.user-chip {
  display: inline-flex; align-items: center; gap: 9px; height: 42px; padding: 0 14px 0 6px;
  border-radius: var(--r-btn); background: var(--chip); color: var(--navy);
  font-weight: var(--fw-strong); font-size: var(--fs-13); max-width: 220px;
}
.user-chip img { width: 30px; height: 30px; border-radius: 9px; image-rendering: pixelated; background: #dfe4ec; flex: none; }
.user-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-chip em { font-style: normal; font-size: var(--fs-10); font-weight: var(--fw-heavy); letter-spacing: .08em; color: var(--gold-ink); background: var(--gold-bg); padding: 3px 6px; border-radius: var(--r-pill); }

/* 히어로 */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(circle at 74% 45%, rgba(255, 255, 255, .13), transparent 25%),
    linear-gradient(125deg, var(--navy-deep), var(--navy) 58%, var(--navy-end));
}
.eyebrow, .kicker {
  display: block; font-size: var(--fs-12); font-weight: var(--fw-heavy); letter-spacing: .18em; text-transform: uppercase;
}
.eyebrow { color: rgba(255, 255, 255, .58); }
.kicker { color: var(--muted-2); }

/* 섹션 */
.section { padding: var(--sp-56) 0; }
.section + .section { padding-top: 0; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: var(--sp-24); margin-bottom: var(--sp-24); }
.section-heading h2 { margin-top: 8px; color: var(--navy); font-size: var(--fs-32); font-weight: var(--fw-heavy); letter-spacing: -.04em; line-height: 1.2; }
.section-heading .meta { color: var(--muted); font-size: var(--fs-13); font-weight: 600; text-align: right; }
.section-heading .actions { display: flex; flex-wrap: wrap; gap: var(--sp-8); justify-content: flex-end; }

/* 카드 */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); box-shadow: var(--shadow-card); }

/* 버튼 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 0 18px; border-radius: var(--r-btn); border: 1px solid transparent;
  text-decoration: none; font-weight: var(--fw-strong); font-size: var(--fs-14); white-space: nowrap;
  transition: transform .18s, background-color .18s, border-color .18s, color .18s;
}
.btn:hover:not(:disabled) { transform: translateY(-2px); }
.btn:active:not(:disabled) { transform: translateY(0); }
.btn:focus-visible { outline: 2px solid var(--navy); outline-offset: 2px; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover:not(:disabled) { background: #26355a; }
.btn-white { background: #fff; color: var(--navy); }
.btn-ghost { border-color: rgba(255, 255, 255, .22); background: rgba(255, 255, 255, .08); color: #fff; }
.btn-outline { border-color: var(--line); background: #fff; color: var(--navy); }
.btn-outline:hover:not(:disabled) { border-color: var(--line-strong); }
.btn-danger { background: var(--red-deep); color: #fff; }
.btn-danger-outline { border-color: #efc9c9; background: #fff; color: var(--red-deep); }
.btn-danger-outline:hover:not(:disabled) { border-color: var(--red); }
.btn-text { min-height: 36px; padding: 0 10px; background: transparent; color: var(--muted); }
.btn-text:hover:not(:disabled) { color: var(--navy); transform: none; }
.btn-sm { min-height: 34px; padding: 0 12px; border-radius: 10px; font-size: var(--fs-12); }
.btn-lg { min-height: 52px; padding: 0 24px; font-size: var(--fs-15); }
.btn:disabled { cursor: not-allowed; background: #e6eaf0; color: #9aa2b2; border-color: transparent; }
.btn .count { font-variant-numeric: tabular-nums; opacity: .7; font-weight: 700; }

/* 탭 */
.tabs { display: flex; gap: 6px; padding: 5px; border-radius: 14px; background: var(--tab-bg); width: max-content; max-width: 100%; }
.tab {
  border: 0; background: transparent; padding: 9px 15px; border-radius: 10px;
  color: #6f798c; font-weight: var(--fw-strong); font-size: var(--fs-13); white-space: nowrap;
}
.tab:hover { color: var(--navy); }
.tab[aria-selected="true"], .tab.is-active { background: #fff; color: var(--navy); box-shadow: 0 5px 14px rgba(31, 43, 69, .1); }

/* 입력 */
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field > span, .field-label { font-size: var(--fs-11); font-weight: var(--fw-heavy); color: #6f798c; letter-spacing: .02em; }
.input, .select, .textarea {
  width: 100%; border: 1px solid var(--line); border-radius: var(--r-input); background: #f9fafc;
  padding: 11px 13px; color: var(--ink); outline: 0; min-height: 44px;
}
.select { appearance: none; padding-right: 36px; background-image: linear-gradient(45deg, transparent 50%, #6f798c 50%), linear-gradient(135deg, #6f798c 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.textarea { min-height: 96px; resize: vertical; line-height: 1.6; }
.input:focus, .select:focus, .textarea:focus { border-color: #8592a8; box-shadow: 0 0 0 3px rgba(31, 43, 69, .08); background: #fff; }
.input[aria-invalid="true"], .textarea[aria-invalid="true"] { border-color: var(--red); }

/* 팀 표시 */
.team-dot {
  display: inline-block; flex: none; width: 9px; height: 9px; border-radius: 50%;
  background: var(--team, #9aa2b2);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--team, #9aa2b2) 22%, transparent), inset 0 0 0 1px rgba(17, 26, 44, .14);
}
.team-tag { display: inline-flex; align-items: center; gap: 7px; font-size: var(--fs-11); font-weight: var(--fw-strong); color: var(--muted); letter-spacing: .02em; }
.team-band { display: flex; gap: 3px; }
.team-band i { display: block; flex: 1; height: 4px; border-radius: 2px; background: var(--team); box-shadow: inset 0 0 0 1px rgba(17, 26, 44, .08); }

/* 얼굴 */
.face { image-rendering: pixelated; background: #e9edf3; border-radius: 10px; flex: none; object-fit: cover; }

/* 알약 */
.pill { display: inline-flex; align-items: center; gap: 7px; border-radius: var(--r-pill); padding: 7px 12px; background: var(--chip); color: var(--navy); font-size: var(--fs-12); font-weight: var(--fw-strong); white-space: nowrap; }
.pill i { width: 8px; height: 8px; border-radius: 50%; background: var(--amber-dot); }
.pill.is-open i { background: var(--green-dot); }
.pill.is-closed i { background: #9aa2b2; }
.pill-dark { background: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .86); }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: var(--r-pill); font-size: var(--fs-11); font-weight: var(--fw-heavy); background: #e8f4ee; color: var(--green); white-space: nowrap; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status.is-void { background: var(--red-bg); color: var(--red-deep); }

/* 표 */
.table-card { overflow: hidden; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow-soft); }
.table-scroll { overflow-x: auto; }
.data-table { width: 100%; border-collapse: separate; border-spacing: 0; white-space: nowrap; font-variant-numeric: tabular-nums; }
.data-table th {
  position: sticky; top: 0; z-index: 1; background: var(--th-bg); border-bottom: 1px solid #dce2eb;
  color: #5f697c; font-size: var(--fs-11); font-weight: var(--fw-heavy); letter-spacing: .04em;
  padding: 12px 14px; text-align: left;
}
.data-table td { padding: 12px 14px; border-bottom: 1px solid #edf0f4; font-size: var(--fs-13); text-align: left; vertical-align: middle; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover td { background: var(--row-hover); }
.data-table .r { text-align: right; }
.data-table .c { text-align: center; }
.data-table .muted { color: var(--muted); }
.data-table .strong { font-weight: var(--fw-heavy); color: var(--navy); }
.data-table tr.is-clickable { cursor: pointer; }
.data-table tr.is-clickable:focus-visible td { background: #f0f3f8; }
.data-table tr.is-clickable:focus-visible { outline: 2px solid var(--navy); outline-offset: -2px; }

/* 플레이어 셀 */
.player { display: inline-flex; align-items: center; gap: 10px; min-width: 0; }
.player .face { width: 28px; height: 28px; border-radius: 8px; }
.player strong { font-weight: var(--fw-strong); color: var(--ink); overflow: hidden; text-overflow: ellipsis; }

/* 빈 상태·로딩 */
.empty { padding: 36px; text-align: center; color: var(--muted); background: #fff; border: 1px dashed var(--line-strong); border-radius: var(--r-panel); font-size: var(--fs-13); }
.loading { padding: 70px 20px; text-align: center; color: var(--muted); font-size: var(--fs-13); }

/* 토스트 */
.toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 200; max-width: min(560px, calc(100% - 32px));
  transform: translate(-50%, 30px); padding: 13px 17px; border-radius: var(--r-btn);
  background: #17233a; color: #fff; box-shadow: 0 16px 45px rgba(0, 0, 0, .28);
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; font-size: var(--fs-13); font-weight: 600;
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.toast.is-error { background: var(--red-deep); }
body.has-dock .toast { bottom: 120px; }

/* 대화 상자 */
dialog { padding: 0; border: 0; color: var(--ink); background: transparent; max-width: calc(100% - 24px); max-height: calc(100% - 24px); }
dialog::backdrop { background: rgba(17, 26, 44, .55); backdrop-filter: blur(3px); }
.modal { width: min(520px, calc(100% - 24px)); }
.modal-card { background: #fff; border-radius: var(--r-card); box-shadow: 0 32px 90px rgba(0, 0, 0, .32); padding: 26px; }
.modal-card h3 { color: var(--navy); font-size: var(--fs-20); font-weight: var(--fw-heavy); letter-spacing: -.03em; }
.modal-card .modal-sub { margin-top: 6px; color: var(--muted); font-size: var(--fs-13); }
.modal-body { margin-top: 18px; display: grid; gap: 14px; }
.modal-actions { margin-top: 22px; display: flex; justify-content: flex-end; gap: 8px; }
.form-error { color: var(--red-deep); font-size: var(--fs-12); font-weight: 700; min-height: 18px; }
.chip-row { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1px solid var(--line); background: #fff; color: var(--navy); border-radius: var(--r-pill); padding: 6px 11px; font-size: var(--fs-12); font-weight: 700; }
.chip:hover { border-color: var(--line-strong); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }

/* 라인업 카드 (확인 창·완료·관리자 1위 라인업 공용) */
.lineup { background: #fff; border-radius: var(--r-card); overflow: hidden; border: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.lineup-head {
  position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px; color: #fff;
  background:
    radial-gradient(circle at 88% 30%, rgba(255, 255, 255, .12), transparent 32%),
    linear-gradient(125deg, var(--navy-deep), var(--navy) 62%, var(--navy-end));
}
.lineup-brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.lineup-brand img { width: 44px; height: 44px; border-radius: 50%; background: #fff; object-fit: cover; flex: none; }
.lineup-brand .kick { display: block; font-size: var(--fs-10); font-weight: var(--fw-heavy); letter-spacing: .18em; color: var(--gold); }
.lineup-brand h3 { margin-top: 5px; font-size: var(--fs-20); font-weight: var(--fw-heavy); letter-spacing: -.03em; color: #fff; line-height: 1.15; }
.lineup-owner { display: flex; align-items: center; gap: 10px; text-align: right; min-width: 0; }
.lineup-owner img { width: 40px; height: 40px; border-radius: 11px; image-rendering: pixelated; background: rgba(255, 255, 255, .12); flex: none; }
.lineup-owner strong { display: block; font-size: var(--fs-14); font-weight: var(--fw-heavy); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 180px; }
.lineup-owner small { display: block; margin-top: 3px; font-size: var(--fs-11); color: rgba(255, 255, 255, .6); }
.lineup-cols { display: grid; grid-template-columns: 1fr 64px 1fr; align-items: center; padding: 14px 18px 6px; gap: 0 10px; }
.lineup-cols .side-name { display: flex; align-items: baseline; gap: 8px; font-size: var(--fs-15); font-weight: var(--fw-heavy); color: var(--navy); }
.lineup-cols .side-name small { font-size: var(--fs-10); letter-spacing: .16em; color: var(--muted-2); font-weight: var(--fw-heavy); }
.lineup-cols .side-name.is-right { justify-content: flex-end; }
.lineup-cols .team-band { margin-top: 8px; }
.lineup-cols .mid { text-align: center; font-size: var(--fs-10); font-weight: var(--fw-heavy); letter-spacing: .14em; color: var(--muted-3); }
.lineup-rows { list-style: none; margin: 0; padding: 4px 18px 16px; position: relative; }
.lineup-rows::before {
  content: ""; position: absolute; top: 4px; bottom: 16px; left: 50%; width: 64px; transform: translateX(-50%);
  background: var(--navy); border-radius: 12px;
}
.lineup-row { position: relative; display: grid; grid-template-columns: 1fr 64px 1fr; align-items: stretch; gap: 0 10px; min-height: 38px; }
.lineup-row + .lineup-row .lp-cell { border-top: 1px solid var(--line-soft); }
.lineup-row + .lineup-row .lpos { border-top: 1px solid rgba(255, 255, 255, .1); }
.lpos { display: grid; place-items: center; color: #fff; font-size: var(--fs-13); font-weight: var(--fw-heavy); letter-spacing: .02em; }
.lp-cell { min-width: 0; display: grid; align-content: center; }
.lp-cell.is-multi { display: flex; flex-wrap: wrap; justify-content: center; align-content: center; gap: 10px 8px; padding: 6px 0; }
.lp-cell.is-multi > .lp { flex: 0 0 calc((100% - (var(--n, 3) - 1) * 8px) / var(--n, 3)); }
.lp { display: flex; align-items: center; gap: 9px; min-width: 0; padding: 5px 0; }
.lp.is-left { flex-direction: row-reverse; text-align: right; }
.lp-cell.is-multi .lp { flex-direction: column; justify-content: flex-start; text-align: center; gap: 5px; padding: 2px 0; }
.lp .face { width: 26px; height: 26px; border-radius: 7px; }
.lp .lp-name { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; }
.lp.is-left .lp-name { align-items: flex-end; }
.lp-cell.is-multi .lp .lp-name { flex: none; align-self: stretch; align-items: center; }
/* 긴 닉네임: fitNames()가 한 줄에 맞추고(조금 축소), 안 되면 밑줄 자리에서 두 줄로 나눈다 */
.lp strong {
  max-width: 100%; font-size: var(--fs-13); font-weight: var(--fw-strong); color: var(--ink); line-height: 1.25;
  overflow-wrap: anywhere; text-wrap: balance; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.lp strong.is-one, .lp strong.is-probe { white-space: nowrap; }
.lp strong.is-one wbr, .lp strong.is-probe wbr { display: none; }
.lp-cell.is-multi .lp strong { font-size: var(--fs-12); }
.lp .team-tag { font-size: var(--fs-10); gap: 6px; margin-top: 2px; }
.lp .team-dot { width: 7px; height: 7px; box-shadow: inset 0 0 0 1px rgba(17, 26, 44, .14); }
.lp .lp-dot { display: none; } /* 넓은 폭은 이름 밑 팀 표시에 점이 있다 */
.lp.is-empty strong { color: var(--muted-3); font-weight: 600; }
.lineup-foot { display: flex; justify-content: space-between; gap: 12px; padding: 12px 22px; border-top: 1px solid var(--line-soft); background: #fafbfd; color: var(--muted-2); font-size: var(--fs-10); font-weight: var(--fw-heavy); letter-spacing: .14em; }

/* 바닥글 */
.footer { margin-top: var(--sp-40); background: var(--navy-deep); color: #fff; }
.footer-inner { min-height: 120px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 28px 0; }
.footer strong { display: block; font-size: var(--fs-14); letter-spacing: .02em; }
.footer span, .footer p { color: rgba(255, 255, 255, .55); font-size: var(--fs-12); }
.footer a { color: rgba(255, 255, 255, .75); text-decoration: none; }
.footer a:hover { color: #fff; }

@media (max-width: 760px) {
  :root { --topbar-h: 64px; --container: min(100% - 28px, 1360px); }
  .brand-mark { width: 40px; height: 40px; border-radius: 12px; }
  .brand-copy strong { font-size: var(--fs-17); }
  .brand-copy small { margin-top: 5px; font-size: 8px; }
  .topbar-inner { gap: 10px; }
  .top-nav { gap: 0; }
  .top-nav a.nav-link { padding: 0 8px; font-size: var(--fs-13); }
  .top-nav a.nav-link::after { left: 8px; right: 8px; }
  .user-chip { height: 38px; padding: 0 10px 0 4px; max-width: 150px; font-size: var(--fs-12); }
  .user-chip img { width: 28px; height: 28px; }
  .section { padding: 40px 0; }
  .section-heading { flex-direction: column; align-items: flex-start; gap: 10px; margin-bottom: 18px; }
  .section-heading h2 { font-size: var(--fs-28); }
  .section-heading .meta { text-align: left; }
  .section-heading .actions { justify-content: flex-start; }
  .tabs { width: 100%; overflow-x: auto; }
  .tab { flex: 1; padding: 9px 10px; }
  .modal-card { padding: 20px; }
  .modal-actions { display: grid; grid-template-columns: 1fr 1fr; }
  .lineup-head { padding: 16px; }
  .lineup-brand img { width: 36px; height: 36px; }
  .lineup-brand h3 { font-size: var(--fs-17); }
  .lineup-owner img { width: 32px; height: 32px; border-radius: 9px; }
  .lineup-owner strong { max-width: 96px; font-size: var(--fs-12); }
  .lineup-cols, .lineup-row { grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr); gap: 0 8px; }
  .lineup-cols { padding: 12px 12px 4px; }
  .lineup-rows { padding: 4px 12px 12px; }
  .lineup-rows::before { width: 40px; top: 4px; bottom: 12px; border-radius: 10px; }
  .lineup-row { min-height: 34px; }
  .lpos { font-size: var(--fs-11); }
  .lp { gap: 7px; padding: 4px 0; }
  .lp .face { width: 22px; height: 22px; border-radius: 6px; }
  .lp strong { font-size: var(--fs-12); }
  .lp .team-tag { display: none; }
  .lp .lp-dot { display: block; margin: 0 -2px; }
  .lp-cell.is-multi { display: grid; grid-auto-flow: row; grid-auto-columns: auto; gap: 0; padding: 2px 0; }
  .lp-cell.is-multi .lp { flex-direction: row; text-align: left; gap: 7px; padding: 4px 0; }
  .lp-cell.is-multi .lp.is-left { flex-direction: row-reverse; text-align: right; }
  .lp-cell.is-multi .lp .lp-name { flex: 1 1 0; align-self: auto; align-items: flex-start; }
  .lp-cell.is-multi .lp.is-left .lp-name { align-items: flex-end; }
  .lineup-foot { padding: 10px 16px; }
  .footer-inner { flex-direction: column; align-items: flex-start; justify-content: center; }
}

@media (max-width: 420px) {
  .brand-copy small { letter-spacing: .1em; }
  .lineup-owner small { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .btn:hover:not(:disabled) { transform: none; }
}

/* 최종 디자인 (2026-12-06 22:20) · 공통 표면과 조작 — GPT 시안 채택분 + 총괄 조정 */
:root {
  --muted-2: #5b697e;
  --muted-3: #627086;
  --release: cubic-bezier(.32, .72, 0, 1);
}
.brand-mark { box-shadow: none; }
.kicker, .eyebrow { letter-spacing: .12em; font-weight: 720; }
.eyebrow { color: #bdcadc; }
.field-label, .field > span { color: #526179; }
.btn:disabled { color: #596578; }
.topbar { background: #fff; }
dialog::backdrop { background: rgba(17, 26, 44, .52); }
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .topbar {
    background: rgba(255, 255, 255, .8);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
  }
  dialog::backdrop {
    background: rgba(17, 26, 44, .46);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
  }
}
@media (prefers-reduced-motion: no-preference) {
  .btn {
    transition: transform 180ms var(--release), background-color 150ms, border-color 150ms;
  }
  .btn:hover:not(:disabled) { transform: none; }
  .btn:active:not(:disabled) { transform: scale(.975); transition-duration: 90ms; }
  dialog {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 220ms ease, transform 340ms var(--release),
                overlay 340ms allow-discrete, display 340ms allow-discrete;
  }
  dialog.drawer { transform: translateX(18px); }
  dialog[open] { opacity: 1; transform: none; }
  dialog.drawer[open] { transform: none; }
  dialog::backdrop {
    opacity: 0;
    transition: opacity 240ms ease, overlay 340ms allow-discrete, display 340ms allow-discrete;
  }
  dialog[open]::backdrop { opacity: 1; }
  @starting-style {
    dialog[open] { opacity: 0; transform: translateY(16px); }
    dialog.drawer[open] { transform: translateX(18px); }
    dialog[open]::backdrop { opacity: 0; }
  }
}

/* 상태와 일정은 안내 문구로 표시한다. */
#heroMeta {
  align-items: center;
  gap: 8px 12px;
}
#heroMeta .pill {
  padding: 0;
  gap: .3em;
  background: transparent;
  color: #c8d4e3;
  font-size: 12px;
  font-weight: 550;
}
#heroMeta .pill:first-child { color: #fff; font-weight: 750; }
#heroMeta .pill b { color: inherit; font-weight: inherit; }
#heroMeta .pill + .pill {
  padding-inline-start: 12px;
  border-inline-start: 1px solid #65748b;
  border-radius: 0;
  line-height: 1.1;
}
#heroMeta .pill > i { display: none; }
.status, .status.is-void, body .ltype, body .ltype[data-type] {
  padding: 0;
  background: transparent;
}
.status, body .ltype { color: #46566c; }
.status.is-void, body .ltype:is([data-type="void"], [data-type="login_fail"], [data-type="ballot_reject"]) {
  color: var(--red-deep);
}
.status::before, body .ltype::before, body .notice::before { content: none; }


/* 총괄 조정 */
.kicker { display: none; }                       /* 한글 제목 위의 영어 소제목 제거 */
.team-dot { box-shadow: inset 0 0 0 1px rgba(17, 26, 44, .14); }   /* 바깥 고리 제거 */
@media (prefers-reduced-motion: no-preference) {
  .tab, .seg button, .chip, .input { transition: background-color 180ms, color 180ms, border-color 180ms, box-shadow 180ms; }
  .toast { transition: opacity 220ms ease, transform 380ms var(--release); }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 760px) {
  dialog:not(.drawer) { transform: translateY(40px); }
  dialog:not(.drawer)[open] { transform: none; }
  @starting-style { dialog:not(.drawer)[open] { transform: translateY(40px); } }
}
/* 빛 번짐(방사형 밝은 점) 제거: 그림 없는 히어로와 라인업 카드 머리 */
.hero { background: linear-gradient(125deg, var(--navy-deep), var(--navy) 58%, var(--navy-end)); }
.lineup-head { background: var(--navy); }
/* 전수 점검 반영 (22:35) */
body { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }   /* 짧은 화면에서 푸터를 바닥에 */
body > main { flex: 1 0 auto; }
dialog.modal { border-radius: var(--r-card); box-shadow: 0 24px 60px rgba(13, 22, 40, .28); }   /* 그림자가 네모로 잘리던 것 */
.modal-card { box-shadow: none; }
.btn-sm { min-height: 36px; }
@media (max-width: 400px) { .lineup-brand .kick { letter-spacing: .08em; white-space: nowrap; } }
