/* 새 디자인(PC) — 2026-11-19 결정(tmp/lol-draft-design/DECISIONS.md). html.pc(폭 761px 이상)일 때만 적용, 휴대폰은 예전 그대로(모바일은 PC 뒤에).
   라이트 = C 방송 화면 밝은 판, 다크 = B 흑연 + 라임. 예전 토큰 이름(--bg·--panel·--gold…)을 새 값으로 바꿔 기존 화면도 함께 따라오게 한다. */
/* 11-21 휴대폰도 PC와 같은 색(사용자: 모바일을 PC 시안에 맞춤) — 색 토큰·기본 모양은 :root(PC·휴대폰 공통) */
:root {
  --bg: #F4F3EF; --bg2: #ECEBE6; --panel: #FFFFFF; --panel2: #ECEBE6; --line: #DAD8D1;
  --text: #15171C; --muted: #62656E; --dim: #8A8C93;
  --blue: #1D63D8; --blue-bg: rgba(29, 99, 216, 0.10); --red: #D42F3C; --red-bg: rgba(212, 47, 60, 0.09);
  --gold: #5B3FE0; --gold-bg: rgba(91, 63, 224, 0.10); --on-gold: #FFFFFF;
  --good: #1F7A4D; --good-bg: rgba(31, 122, 77, 0.10); --bad: #D42F3C; --bad-bg: rgba(212, 47, 60, 0.09);
  --hi: #5B3FE0; --hi-bg: rgba(91, 63, 224, 0.08);
  --font-num: "Pretendard Variable", Pretendard, sans-serif;
  --radius: 14px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0D0D0F; --bg2: #17171B; --panel: #17171B; --panel2: #202026; --line: #2C2C33;
    --text: #EDEDF0; --muted: #8E8E98; --dim: #6E6E78;
    --blue: #5B8CFF; --blue-bg: rgba(91, 140, 255, 0.14); --red: #FF5468; --red-bg: rgba(255, 84, 104, 0.13);
    --gold: #C8F031; --gold-bg: rgba(200, 240, 49, 0.12); --on-gold: #141A02;
    --good: #4FD68C; --good-bg: rgba(79, 214, 140, 0.12); --bad: #FF5468; --bad-bg: rgba(255, 84, 104, 0.13);
    --hi: #C8F031; --hi-bg: rgba(200, 240, 49, 0.10);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
    --bg: #0D0D0F; --bg2: #17171B; --panel: #17171B; --panel2: #202026; --line: #2C2C33;
    --text: #EDEDF0; --muted: #8E8E98; --dim: #6E6E78;
    --blue: #5B8CFF; --blue-bg: rgba(91, 140, 255, 0.14); --red: #FF5468; --red-bg: rgba(255, 84, 104, 0.13);
    --gold: #C8F031; --gold-bg: rgba(200, 240, 49, 0.12); --on-gold: #141A02;
    --good: #4FD68C; --good-bg: rgba(79, 214, 140, 0.12); --bad: #FF5468; --bad-bg: rgba(255, 84, 104, 0.13);
    --hi: #C8F031; --hi-bg: rgba(200, 240, 49, 0.10);
    color-scheme: dark;
  }

html, body { background: var(--bg); color: var(--text); } html.pc, html.pc body { font-size: 15px; }
::selection { background: var(--hi-bg); }
:where(button, a, select, input, summary, [tabindex]):focus-visible { outline: 2px solid var(--hi); }
.btn.primary, html.pc .btn.primary { background: var(--gold); color: var(--on-gold); border-color: var(--gold); }
::-webkit-scrollbar-thumb { background: var(--line); border-color: var(--bg); }

/* ---------- 틀: 왼쪽 사이드바 280 + 오른쪽(머리줄 96 + 본문) ---------- */
html.pc .top { display: none; }
html.pc #side { display: flex; }
html:not(.pc) #side, html:not(.pc) #mhead { display: none; }
/* 11-26 유튜브식 메뉴: 머리줄(☰·로고)이 맨 위 전체 폭, 메뉴는 그 아래 왼쪽. 펼침 280 · 아이콘 줄 72 · 보는 화면 0(서랍만) */
html.pc body { display: grid; grid-template-columns: var(--gw, 280px) minmax(0, 1fr); grid-template-rows: auto auto 1fr; min-height: 100vh; }
html.pc.g-mini body { --gw: 72px; }
html.pc.g-none body { --gw: 0px; }
html.pc #mhead { grid-column: 1 / -1; grid-row: 1; }
html.pc #view { grid-row: 2; } html.pc body > footer { grid-row: 3; align-self: end; }
html.pc #side { grid-row: 2 / span 2; grid-column: 1; position: sticky; top: 96px; height: calc(100vh - 96px); overflow-y: auto; flex-direction: column; gap: 4px; padding: 12px 20px 26px; border-right: 1px solid var(--line); background: var(--bg); align-self: start; }
html.pc #view, html.pc body > footer { grid-column: 2; }
html.pc:is(.g-mini, .g-none) #side { display: none; }
/* 아이콘 줄(72): 아이콘 위 · 이름 아래(10px) */
#rail { display: none; }
html.pc.g-mini #rail { display: flex; flex-direction: column; gap: 2px; grid-row: 2 / span 2; grid-column: 1; position: sticky; top: 96px; height: calc(100vh - 96px); align-self: start; padding: 4px 4px; background: var(--bg); overflow-y: auto; }
.rl-i { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; width: 64px; min-height: 74px; padding: 14px 0 12px; border: 0; border-radius: 10px; background: none; color: var(--text); font-size: 10px; font-weight: 500; line-height: 1.2; text-align: center; word-break: keep-all; }
.rl-i:hover { background: var(--bg2); }
.rl-i[aria-selected="true"] { background: var(--hi-bg); font-weight: 700; }
/* ☰ 버튼 · 머리줄 왼쪽 로고(펼침 메뉴와 같은 자리) */
.g-btn { width: 40px; height: 40px; flex: none; display: inline-grid; place-items: center; border: 0; border-radius: 50%; background: none; color: var(--text); }
.g-btn:hover { background: var(--bg2); }
.mh-g { display: inline-flex; align-items: center; gap: 10px; margin-right: 12px; flex: none; }
.mh-g .sd-logo { margin: 0; font-size: 24px; }
html.pc #mhead { padding-left: 24px; }
html.pc .mh-l { grid-column: 1; justify-self: start; display: flex; align-items: center; gap: 12px; min-width: 0; }
.sd-gh { display: none; }
/* 서랍: 보는 화면·좁은 창에서 ☰ — 펼친 메뉴를 왼쪽 위에 덮고 바깥은 어둡게 */
#gscrim { display: none; }
html.pc.g-drawer #gscrim { display: block; position: fixed; inset: 0; z-index: 85; background: rgba(10, 10, 14, .5); animation: g-fade .2s ease-out; }
html.pc.g-drawer #side { display: flex; position: fixed; z-index: 86; top: 0; left: 0; width: 280px; height: 100vh; padding-top: 0; box-sizing: border-box; box-shadow: 8px 0 30px rgba(0, 0, 0, .25); animation: g-in .2s cubic-bezier(.2, .8, .2, 1); }
html.pc.g-drawer #side .sd-gh { display: flex; align-items: center; gap: 10px; height: 96px; flex: none; margin: 0 0 4px 4px; }   /* ☰·로고가 머리줄과 같은 자리(머리줄 왼쪽 24 = 서랍 20 + 4) */
html.pc.g-drawer #side .sd-gh .sd-logo { margin: 0; font-size: 24px; align-self: center; }
@keyframes g-in { from { transform: translateX(-100%); } to { transform: none; } }
@keyframes g-fade { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { html.pc.g-drawer #side, html.pc.g-drawer #gscrim { animation: none; } }
/* 홈은 펼침 고정: ☰ 자리만 비워 둠(로고가 움직이지 않게) */
html.pc.g-full #mhead .g-btn { visibility: hidden; }
/* 당겨서 열기: 왼쪽 끝 잡는 곳(14px) — 마우스를 올리면 옅은 손잡이 */
#gedge { display: none; }
html.pc:is(.g-mini, .g-none):not(.g-drawer) #gedge { display: block; position: fixed; z-index: 40; left: 0; top: 0; bottom: 0; width: 14px; cursor: grab; touch-action: none; }
#gedge::after { content: ""; position: absolute; left: 4px; top: 50%; width: 4px; height: 56px; margin-top: -28px; border-radius: 4px; background: var(--muted); opacity: 0; transition: opacity .15s; }
#gedge:hover::after { opacity: .5; }
html.pc #rail { touch-action: pan-y; }
/* 끄는 동안: 메뉴가 손을 그대로 따라옴(움직임 효과 없이), 놓으면 0.2초에 자리 잡음 */
html.pc.g-pull #side { display: flex; position: fixed; z-index: 86; top: 0; left: 0; width: 280px; height: 100vh; padding-top: 0; box-sizing: border-box; box-shadow: 8px 0 30px rgba(0, 0, 0, .25); animation: none; transition: none; }
html.pc.g-pull #side .sd-gh { display: flex; align-items: center; gap: 10px; height: 96px; flex: none; margin: 0 0 4px 4px; }
html.pc.g-pull #side .sd-gh .sd-logo { margin: 0; font-size: 24px; align-self: center; }
html.pc.g-pull #gscrim { display: block; position: fixed; inset: 0; z-index: 85; background: rgba(10, 10, 14, .5); animation: none; transition: none; }
html.pc.g-pull, html.pc.g-pull * { cursor: grabbing !important; user-select: none; }
html.pc.g-settle #side { transition: transform .2s cubic-bezier(.2, .8, .2, 1); }
html.pc.g-settle #gscrim { transition: opacity .2s ease-out; }
html.pc.g-noanim.g-drawer #side, html.pc.g-noanim.g-drawer #gscrim { animation: none; }
html.pc #view { max-width: none; margin: 0; padding: 24px 40px 40px; }
html.pc body > footer { max-width: none; margin: 0; padding: 16px 40px 28px; color: var(--muted); }

.sd-logo { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; margin: 0 12px 22px; color: var(--text); text-decoration: none; display: inline-flex; align-items: center; gap: 0.28em; align-self: flex-start; }
.sd-logo .lb-mark { width: 1.06em; height: 1.06em; flex: none; }
.sd-logo i { color: var(--hi); font-style: normal; }
.sd-mi { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; font-size: 16px; font-weight: 600; color: var(--muted); background: none; border: 0; text-align: left; width: 100%; }
.sd-mi:hover { background: var(--bg2); color: var(--text); }
.sd-mi[aria-current="page"] { color: var(--text); background: var(--hi-bg); }
.sd-mi .lbi { flex: none; }
.sd-sec { margin: 22px 12px 6px; font-size: 12px; font-weight: 700; color: var(--muted); display: flex; justify-content: space-between; align-items: center; }
.sd-sec button { background: none; border: 0; padding: 2px; color: var(--hi); display: inline-flex; border-radius: 6px; }
.sd-tm { display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 12px; font-size: 15px; font-weight: 500; background: none; border: 0; width: 100%; text-align: left; color: var(--text); min-width: 0; }
.sd-tm:hover { background: var(--bg2); }
.sd-tm .nm { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; flex: 1; }
.sd-tm[aria-current="true"] { background: var(--red-bg); }
.sd-tm[aria-current="true"] .nm { color: var(--red); font-weight: 700; }
.sd-tm.our .nm { color: var(--blue); font-weight: 700; }
.sd-tm .act { margin-left: auto; color: var(--muted); display: inline-flex; padding: 2px; border-radius: 6px; }
.sd-tm .act:hover { color: var(--text); }
.sd-new { color: var(--hi); font-weight: 600; }
.crest { width: 28px; height: 28px; border-radius: 50%; display: inline-grid; place-items: center; color: #fff; font-size: 12px; font-weight: 800; flex: none; background: #A9AAB0; }
.crest.b { background: var(--blue); } .crest.r { background: var(--red); }
.sd-foot { margin-top: auto; padding-top: 16px; }

#mhead { position: sticky; top: 0; z-index: 20; height: 96px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 40px; border-bottom: 1px solid var(--line); background: var(--bg); }
.mh-c { grid-column: 2; display: grid; justify-items: center; gap: 4px; text-align: center; }
.mh-t { display: flex; align-items: center; gap: 14px; font-size: 22px; font-weight: 800; }
.mh-t .vs { font-size: 13px; color: var(--muted); font-weight: 600; }
.mh-t .tb { color: var(--blue); } .mh-t .tr { color: var(--red); }
.mh-s { font-size: 13px; color: var(--muted); }
.mh-r { grid-column: 3; justify-self: end; display: flex; align-items: center; gap: 12px; }

/* 전용 아이콘(한 점 서명) — 보라 점은 지금 차례 표시와 같은 색 */
.lbi { display: inline-block; vertical-align: middle; flex: none; }
.lbi .dot { fill: var(--hi); }
.lbi .hil { stroke: var(--hi); }

/* ---------- 공통: 둥근 챔프 그림, 숙련도 글자 알약, 옅은 면 버튼 ---------- */
html.pc .ic { border-radius: 50%; }
html.pc .ic.md { width: 40px; height: 40px; }
html.pc .ic.lg { width: 52px; height: 52px; border-radius: 50%; }
html.pc .lv { display: inline-flex; align-items: center; height: 20px; padding: 0 8px; border-radius: 999px; font-size: 12px; font-weight: 700; white-space: nowrap; border: 0; }
html.pc .lv.lv3 { background: var(--text); color: var(--bg); }
html.pc .lv.lv2 { background: var(--bg2); color: var(--text); }
html.pc .lv.lv1 { background: transparent; box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); }
html.pc .lv.lvone { background: var(--hi); color: var(--on-gold); }
html.pc .pill { border-radius: 999px; }
.soft-b { display: inline-flex; align-items: center; gap: 6px; background: var(--bg2); border: 0; border-radius: 999px; padding: 7px 14px; font-size: 13px; font-weight: 600; color: var(--text); white-space: nowrap; }
.soft-b:hover { background: var(--line); }

/* ---------- 홈 A ---------- */
.home { display: grid; gap: 36px; }
.h-sec { display: grid; gap: 14px; }
.h-h { margin: 0; font-size: 18px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.h-h small { font-size: 13px; color: var(--muted); font-weight: 500; }
.h-h .tsm { margin-left: 8px; }
.lane5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; }
.l5 { display: grid; gap: 10px; align-content: start; min-width: 0; }
.l5-r { font-size: 13px; color: var(--muted); line-height: 1; }
.l5-n { font-size: 17px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.l5-s { font-size: 13px; color: var(--muted); }
.l5-w { min-height: 18px; display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--red); }
.l5-alt { justify-self: start; align-self: start; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--hi-bg); color: var(--hi); cursor: default; } .l5-alt.wait { background: var(--bg2); color: var(--muted); }
.l5-x { color: var(--hi); } .l5-x .ico { width: 15px; height: 15px; flex: none; }
.l5-c { display: flex; align-items: center; gap: 10px; min-width: 0; }
.l5-c b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.l5-c.first b { font-size: 16px; }
/* 첫 화면은 라인마다 5개만 — 나머지 개수(11-21 사용자: 6번째 야스오가 안 보여 뺀 줄 알았음) */
.l5-more { justify-self: start; font: inherit; font-size: 12px; font-weight: 700; color: var(--muted); background: var(--bg2); border: 0; border-radius: 999px; padding: 4px 10px; min-height: 28px; cursor: pointer; }
.l5-more:hover { color: var(--hi); background: var(--hi-bg); } .l5-more:focus-visible { outline: 2px solid var(--hi); outline-offset: 2px; }
.l5-b { display: flex; align-items: center; gap: 8px; }
.hb { display: flex; gap: 12px; }
.hc3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.hc { display: grid; gap: 12px; align-content: start; padding: 16px 18px; border-radius: 16px; background: var(--panel); }
.hc-h { display: flex; gap: 8px; align-items: baseline; font-size: 16px; } .hc-h span { color: var(--muted); }
.hc-5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }   /* 긴 이름이 칸을 늘려 옆 카드로 넘치던 것(11-20) */
.hc-s { display: grid; justify-items: center; gap: 6px; font-size: 12px; color: var(--muted); min-width: 0; }
.hc-s small { color: var(--text); font-size: 12px; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.hc-w { font-size: 13px; line-height: 1.55; }
.hc-d summary { cursor: pointer; font-size: 13px; font-weight: 700; color: var(--hi); list-style: none; }
.hc-d summary::-webkit-details-marker { display: none; }
.hc-d dl { margin: 10px 0 0; display: grid; grid-template-columns: 64px 1fr; gap: 6px 10px; font-size: 13px; line-height: 1.55; }
.hc-d dt { color: var(--muted); font-weight: 700; } .hc-d dt.bad { color: var(--red); } .hc-d dd { margin: 0; }
.hg-ref { margin-left: auto; background: none; border: 0; color: var(--muted); display: inline-flex; padding: 4px; border-radius: 8px; }
.hg-ref:hover { color: var(--text); } .hg-ref.busy .lbi { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hgl { display: grid; }
.hg { display: grid; grid-template-columns: 44px 190px auto auto; justify-content: start; align-items: center; gap: 12px 20px; padding: 8px 0; }
.hg { border-bottom: 1px solid var(--line); padding: 10px 6px; } .hg:last-child { border-bottom: 0; } .hgl { border-top: 1px solid var(--line); }
.hg.focus { background: var(--hi-bg); border-radius: 12px; }
.hg > b { font-size: 16px; } .hg > b.w { color: var(--blue); } .hg > b.l { color: var(--red); }
.hg-d { font-size: 14px; color: var(--muted); }
.hg-p { display: flex; gap: 14px; }
.hg-c { display: grid; justify-items: center; gap: 3px; } .hg-c small { font-size: 11px; color: var(--muted); }
.h-pg { justify-content: flex-start; }
.sd-tm .act { border: 0; background: none; box-shadow: none; }
html.pc .tsm-b { background: var(--bg2); color: var(--text); border: 0; box-shadow: none; }
/* 11-22 사용자: 우리 팀 「챔프폭 입력」은 회색 말고 강조색 */
html.pc .tsm-se { background: var(--hi); color: var(--panel); border: 0; box-shadow: none; font-weight: 700; }
html.pc .tsm-se:hover { filter: brightness(1.08); }
.h-h .tsm + .tsm-se { margin-left: -2px; }

/* ---------- 실시간 밴픽 C ---------- */
html.pc .live-pc { display: grid; grid-template-columns: 232px minmax(0, 1fr) 248px; gap: 28px; height: calc(100vh - 96px - 48px); min-height: 860px; }
html.pc .live-pc + * { display: none; }
.mh-r .seg { display: inline-flex; gap: 3px; background: var(--bg2); border-radius: 999px; padding: 3px; border: 0; }
.mh-r .seg button { border: 0; background: none; font-size: 13px; padding: 5px 12px; border-radius: 999px; color: var(--muted); }
.mh-r .seg button[aria-pressed="true"] { background: var(--hi); color: var(--on-gold); font-weight: 700; }
.mh-ib { background: none; border: 0; color: var(--muted); display: inline-flex; padding: 4px; border-radius: 8px; }
.mh-ib:hover { color: var(--text); }
.end-ask { display: inline-flex; gap: 6px; }
/* 11-21 QA: 머리줄에서 승·패·취소가 세로로 쌓여 위로 잘렸음(app.css의 줄바꿈) → 한 줄 고정 */
html.pc .end-ask { flex-wrap: nowrap; flex: none; align-items: center; white-space: nowrap; }
html.pc .end-ask-l { font-size: 13px; font-weight: 700; color: var(--muted); margin-right: 2px; }
html.pc .end-ask .res-w { color: var(--blue); } html.pc .end-ask .res-l { color: var(--red); }

/* 양 팀 칸: 위아래 끝까지, 다섯 칸 고르게, 선수 이름은 초상화 아래 */
html.pc .live-pc .side { display: grid; grid-template-rows: auto auto repeat(5, minmax(0, 1fr)); gap: 8px; height: 100%; background: none; border: 0; padding: 0; min-width: 0; }
html.pc .live-pc .side .picks { display: contents; }
html.pc .live-pc .side-h { display: flex; justify-content: space-between; align-items: baseline; font-size: 15px; font-weight: 700; padding: 0; border: 0; }
html.pc .live-pc .side.B .side-h .nm { color: var(--blue); } html.pc .live-pc .side.R .side-h .nm { color: var(--red); }
html.pc .live-pc .side-h .tag { font-size: 12px; color: var(--muted); background: none; padding: 0; font-weight: 500; }
html.pc .live-pc .bans { display: flex; gap: 5px; flex-wrap: nowrap; }
html.pc .live-pc .side.R .bans { justify-content: flex-end; }
html.pc .live-pc .slot-ban { width: 32px; height: 32px; border-radius: 50%; overflow: hidden; background: var(--bg2); border: 0; position: relative; display: grid; place-items: center; font-size: 10px; }
html.pc .live-pc .slot-ban img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1); opacity: .6; }
html.pc .live-pc .slot-ban .x { display: none; }
html.pc .live-pc .slot-ban.now { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--hi); }
html.pc .live-pc .slot-pick { display: grid; grid-template-columns: 76px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 12px; row-gap: 6px; align-items: center; align-content: center; background: none; border: 0; padding: 0; border-radius: 0; min-height: 0; }
html.pc .live-pc .side.R .slot-pick { grid-template-columns: minmax(0, 1fr) 76px; text-align: right; }
html.pc .live-pc .slot-pick .who { display: contents; }
html.pc .live-pc .slot-pick .ic { grid-row: 1; grid-column: 1; justify-self: center; width: 64px; height: 64px; border-radius: 50%; box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--blue); }
html.pc .live-pc .side.R .slot-pick .ic { grid-column: 2; box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--red); }
html.pc .live-pc .slot-pick.empty .ic { box-shadow: none; border: 2px dashed var(--line); background: transparent; }
html.pc .live-pc .slot-pick.now .ic { border-color: var(--hi); background: var(--hi-bg); }
html.pc .live-pc .slot-pick .cn { grid-row: 1; grid-column: 2; font-size: 16px; font-weight: 700; }
html.pc .live-pc .side.R .slot-pick .cn { grid-column: 1; }
html.pc .live-pc .slot-pick.empty .cn { color: var(--muted); font-weight: 600; } html.pc .live-pc .slot-pick.now .cn { color: var(--hi); }
html.pc .live-pc .slot-pick .pn { grid-row: 2; grid-column: 1; justify-self: center; text-align: center; font-size: 12px; font-weight: 600; color: var(--muted); max-width: 76px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html.pc .live-pc .side.R .slot-pick .pn { grid-column: 2; }
html.pc .live-pc .slot-pick select { grid-row: 2; grid-column: 2; justify-self: start; min-height: 26px; padding: 0 8px; font-size: 12px; border-radius: 999px; background: var(--bg2); border: 0; width: auto; }
html.pc .live-pc .side.R .slot-pick select { grid-column: 1; justify-self: end; }

/* 가운데 */
html.pc .lv-c { display: grid; grid-template-rows: auto auto auto minmax(0, 1fr) auto; gap: 14px; min-height: 0; min-width: 0; }
html.pc .live-pc .dstat { display: flex; align-items: center; gap: 14px; background: none; border: 0; padding: 0; text-align: left; border-radius: 14px; }
html.pc .live-pc .dstat-top { display: flex; align-items: baseline; gap: 8px; order: 2; color: var(--muted); font-size: 14px; }
html.pc .live-pc .dstat-n { font-size: 14px; color: var(--muted); font-weight: 600; } .live-pc .dstat-n small { font-size: 12px; }
html.pc .live-pc .dstat-what { order: 1; font-size: 22px; font-weight: 800; display: flex; align-items: center; gap: 12px; color: var(--text); }
html.pc .live-pc .dstat-what::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--hi); box-shadow: 0 0 0 6px var(--hi-bg); }
html.pc .live-pc.turn-enemy .dstat-what { color: var(--red); } html.pc .live-pc.turn-enemy .dstat-what::before { background: var(--red); box-shadow: 0 0 0 6px var(--red-bg); }
html.pc .live-pc .dstat-act { order: 3; margin-left: auto; display: flex; gap: 8px; }
html.pc .live-pc .dstat-act .btn { background: none; border: 0; color: var(--muted); }
.gline { display: flex; align-items: center; gap: 16px; font-size: 13px; min-height: 36px; flex-wrap: wrap; }
.gl-pc { display: flex; align-items: center; gap: 8px; } .gl-pc > b { color: var(--hi); }
.gl-c { display: inline-flex; align-items: center; gap: 6px; background: var(--bg2); border-radius: 999px; padding: 3px 4px 3px 3px; font-weight: 600; }
.gl-x { border: 0; background: none; color: var(--muted); font-size: 14px; padding: 0 6px; }
.gl-in { width: 130px; min-height: 30px; border-radius: 999px; background: var(--bg2); border: 0; padding: 0 12px; font-size: 13px; }
.gsep { width: 1px; height: 22px; background: var(--line); }
.gp-pc { display: flex; align-items: center; gap: 8px; white-space: nowrap; } .gp-pc b { font-size: 14px; }
.gp-c .ic { box-shadow: none; } .gp-c.now .ic { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--hi); }
html.pc .ic.xs { width: 26px; height: 26px; font-size: 9px; }

/* 추천·예상 6개(운영 renderNow 그대로, 모양만) */
html.pc .live-pc .now-box { background: none; border: 0; padding: 0; display: grid; gap: 10px; }
html.pc .live-pc .now-h { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
html.pc .live-pc .now-h .what { display: none; }
html.pc .live-pc .now-h .step { font-size: 13px; color: var(--muted); font-weight: 600; }
html.pc .live-pc .now-h .dir { margin-left: auto; font-size: 13px; color: var(--muted); }
html.pc .live-pc .now-h .dir b { color: var(--hi); }
html.pc .live-pc .seg, html.pc .pool .seg, html.pc .dock-tabs { display: inline-flex; gap: 3px; background: var(--bg2); border-radius: 999px; padding: 3px; border: 0; }
html.pc .live-pc .seg button, html.pc .dock-tabs button { border: 0; background: none; font-size: 13px; padding: 5px 12px; border-radius: 999px; color: var(--muted); min-height: 0; }
html.pc .live-pc .seg button[aria-pressed="true"], html.pc .dock-tabs button[aria-selected="true"] { background: var(--hi); color: var(--on-gold); font-weight: 700; }
html.pc :is(.live-pc, .enemy-pc) .recs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
html.pc :is(.live-pc, .enemy-pc) .rec { display: grid; justify-items: center; align-content: start; gap: 6px; text-align: center; background: none; border: 0; padding: 0 4px 10px; border-radius: 0; min-width: 0; color: var(--text); }
html.pc :is(.live-pc, .enemy-pc) .rec:hover { background: var(--hi-bg); border-radius: 14px; }
html.pc :is(.live-pc, .enemy-pc) .rec.first { box-shadow: inset 0 -3px 0 var(--hi); }
html.pc :is(.live-pc, .enemy-pc) .rec .hero { position: relative; display: grid; place-items: center; height: 104px; align-content: end; background: none; padding: 0; }
html.pc :is(.live-pc, .enemy-pc) .rec .hero .ic { width: 84px; height: 84px; border-radius: 50%; }
html.pc :is(.live-pc, .enemy-pc) .rec.first .hero .ic { width: 100px; height: 100px; }
html.pc :is(.live-pc, .enemy-pc) .rec .rk { position: absolute; left: 4px; top: 0; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--panel); color: var(--text); font-weight: 800; font-size: 13px; box-shadow: 0 0 0 1px var(--line); }
html.pc :is(.live-pc, .enemy-pc) .rec.first .rk { background: var(--hi); color: var(--on-gold); box-shadow: none; }
html.pc :is(.live-pc, .enemy-pc) .rec .lab { position: absolute; bottom: -4px; left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--panel); color: var(--muted); box-shadow: 0 0 0 1px var(--line); max-width: 140px; overflow: hidden; text-overflow: ellipsis; }
html.pc :is(.live-pc, .enemy-pc) .rec.comp .lab { background: var(--hi); color: var(--on-gold); box-shadow: none; }
html.pc :is(.live-pc, .enemy-pc) .rec .nm { display: flex; gap: 6px; align-items: baseline; justify-content: center; margin-top: 6px; }
html.pc :is(.live-pc, .enemy-pc) .rec .cn { font-size: 16px; font-weight: 700; } html.pc :is(.live-pc, .enemy-pc) .rec.first .cn { color: var(--hi); }
html.pc :is(.live-pc, .enemy-pc) .rec .pos { font-size: 12px; color: var(--muted); font-weight: 600; }
html.pc :is(.live-pc, .enemy-pc) .rec .why { font-size: 12px; color: var(--muted); line-height: 1.45; display: grid; gap: 3px; justify-items: center; }
html.pc :is(.live-pc, .enemy-pc) .rec .ans { font-size: 12px; color: var(--hi); font-weight: 600; }
html.pc :is(.live-pc, .enemy-pc) .rec.muted { opacity: 1; }
html.pc :is(.live-pc, .enemy-pc) .cpills, html.pc :is(.live-pc, .enemy-pc) .tgs { display: flex; flex-wrap: wrap; gap: 4px; justify-content: center; }
html.pc :is(.live-pc, .enemy-pc) .cp, html.pc :is(.live-pc, .enemy-pc) .tg { background: none; border: 0; padding: 0 2px; font-size: 12px; color: var(--muted); }
html.pc :is(.live-pc, .enemy-pc) .cp.bad, html.pc :is(.live-pc, .enemy-pc) .tg.bad { color: var(--red); font-weight: 600; }
html.pc :is(.live-pc, .enemy-pc) .cp.good, html.pc :is(.live-pc, .enemy-pc) .tg.good { color: var(--text); }

/* 아래 탭 + 챔프 격자(넘치면 격자 안에서만 스크롤) */
.dock-pc { display: grid; grid-template-rows: auto minmax(0, 1fr); gap: 12px; min-height: 0; border-top: 1px solid var(--line); padding-top: 12px; }
.dock-pc .dock-tabs { justify-self: start; }
.dock-pc .dock-body { min-height: 0; overflow-y: auto; padding-right: 8px; }
.dock-pc .dock-body.is-grid { overflow: hidden; display: grid; }
html.pc .dock-pc .pool { display: grid; grid-template-rows: auto minmax(0, 1fr); gap: 12px; min-height: 0; background: none; border: 0; padding: 0; }
html.pc .dock-pc .pool-bar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
html.pc .dock-pc .pool-bar .input { width: 220px; border: 0; background: var(--bg2); border-radius: 12px; min-height: 38px; }
html.pc .dock-pc .pool-bar .btn { border: 0; background: var(--bg2); border-radius: 999px; }
html.pc .dock-pc .pool-bar .btn.primary { background: var(--hi); color: var(--on-gold); }
html.pc .dock-pc .champs { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 10px 6px; overflow-y: auto; min-height: 0; padding-right: 8px; align-content: start; max-height: none; }
html.pc .dock-pc .cbtn { display: grid; justify-items: center; gap: 4px; background: none; border: 0; padding: 4px 0; font-size: 12px; color: var(--text); }
html.pc .dock-pc .cbtn .ic { width: 52px; height: 52px; border-radius: 50%; }
html.pc .dock-pc .cbtn:disabled { opacity: .4; filter: grayscale(1); }
html.pc .dock-pc .cbtn.mine span:last-child { color: var(--blue); font-weight: 600; }
html.pc .dock-pc .cbtn:hover:not(:disabled) .ic { box-shadow: 0 0 0 2px var(--bg), 0 0 0 4px var(--hi); }
.lock-pc { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); flex-wrap: wrap; }
.lock-pc .ic { filter: grayscale(1); opacity: .5; }
html.pc .live-pc .dstat { flex-direction: row; justify-content: flex-start; align-items: center; box-shadow: none; min-height: 40px; }
html.pc .live-pc .slot-pick .cn { line-height: 1.25; }
/* 추천 조합 탭 */
.cc-top { display: flex; gap: 14px; align-items: baseline; font-size: 13px; margin-bottom: 10px; flex-wrap: wrap; }
.cc-g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.cc { display: grid; gap: 12px; align-content: start; text-align: left; padding: 14px 16px; border-radius: 16px; background: var(--panel); border: 0; color: var(--text); }
.cc:hover { box-shadow: inset 0 0 0 1px var(--line); }
.cc.on { box-shadow: inset 0 0 0 2px var(--hi); }
.cc-h { display: flex; align-items: center; gap: 8px; min-width: 0; }
.cc-n { font-size: 20px; min-width: 18px; } .cc.on .cc-n, .cc:first-child .cc-n { color: var(--hi); }
.cc-t { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.cc-vs { margin-left: auto; font-size: 11px; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: var(--muted); color: #fff; white-space: nowrap; }
.cc-vs.good { background: var(--blue); } .cc-vs.bad { background: var(--red); }
.cc-on { font-size: 11px; font-weight: 700; padding: 2px 9px; border-radius: 999px; background: var(--hi); color: var(--on-gold); white-space: nowrap; }
.cc-d { display: flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; } .cc-d.good { color: var(--blue); } .cc-d.bad { color: var(--red); }
.cc-5 { display: flex; justify-content: space-between; gap: 6px; padding: 0 4px; }
.cc-s { display: grid; justify-items: center; gap: 6px; font-size: 12px; min-width: 0; }
.cc-r { color: var(--muted); } .cc-cn { font-weight: 700; white-space: nowrap; max-width: 70px; overflow: hidden; text-overflow: ellipsis; }
.cc-st { font-size: 11px; font-weight: 700; color: var(--hi); margin-top: -4px; } .cc-st.done { color: var(--blue); } .cc-st.goal { color: var(--good); }
.cc-b { font-size: 12px; color: var(--muted); line-height: 1.5; }
html.pc .live-pc .slot-pick.now { outline: 0; box-shadow: none; background: none; }
/* 차례 바뀜 강조 */
@keyframes flashOur { 0%,100% { background: transparent; } 18%,52% { background: var(--hi-bg); } 35% { background: transparent; } }
@keyframes flashEnemy { 0%,100% { background: transparent; } 30% { background: var(--red-bg); } }
@keyframes ripple { 0% { box-shadow: 0 0 0 0 var(--rc); } 100% { box-shadow: 0 0 0 16px transparent; } }
@keyframes breathe { 0%,100% { box-shadow: 0 0 0 0 var(--rc); transform: scale(1); } 50% { box-shadow: 0 0 0 10px transparent; transform: scale(1.04); } }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
html.pc .live-pc .dstat { padding: 6px 12px; margin: 0 -12px; }   /* 위 -6px는 감싸는 칸(overflow:hidden)에 잘렸음(11-20 사용자: 차례 줄·되돌리기 잘림) */
html.pc .live-pc.go.turn-our .dstat { animation: flashOur 1.3s ease-out 1; }
html.pc .live-pc.go.turn-enemy .dstat { animation: flashEnemy .9s ease-out 1; }
html.pc .live-pc.turn-our .dstat-what::before { --rc: rgba(91, 63, 224, .55); animation: ripple 1.4s ease-out infinite; }
html.pc .live-pc.turn-enemy .dstat-what::before { --rc: rgba(212, 47, 60, .45); animation: ripple 2.4s ease-out infinite; }
html.pc .live-pc.turn-our .slot-pick.now .ic { --rc: rgba(91, 63, 224, .45); animation: breathe 1.8s ease-in-out infinite; }
html.pc .live-pc.turn-enemy .slot-pick.now .ic { --rc: rgba(212, 47, 60, .3); animation: breathe 2.6s ease-in-out infinite; border-color: var(--red); background: var(--red-bg); }
html.pc .live-pc.go .recs > * { animation: rise .35s ease-out both; }
@media (prefers-reduced-motion: reduce) { html.pc .live-pc .dstat, html.pc .live-pc .dstat-what::before, html.pc .live-pc .slot-pick.now .ic, html.pc :is(.live-pc, .enemy-pc) .recs > * { animation: none !important; } }
.st-pc { display: grid; gap: 14px; }
.st-h { display: flex; align-items: center; gap: 10px; font-size: 16px; } .st-h .seg { margin-left: auto; }
.st-w { margin: 0; display: flex; gap: 12px; font-size: 14px; line-height: 1.6; } .st-w b { min-width: 72px; display: inline-flex; gap: 4px; align-items: center; }
.st-w.bad { color: var(--red); }
.st-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.st-3 > div { padding: 16px; border-radius: 16px; background: var(--panel); display: grid; gap: 8px; align-content: start; }
.st-3 span { display: flex; justify-content: space-between; } .st-3 small { color: var(--muted); } .st-3 p { margin: 0; font-size: 14px; line-height: 1.6; }
/* 추천 카드: 초상화 잘림·어두운 띠 없앰, 근거는 분류 칸 + 값 왼쪽 정렬 */
html.pc :is(.live-pc, .enemy-pc) .rec { overflow: visible; align-items: stretch; }
html.pc :is(.live-pc, .enemy-pc) .rec .hero { aspect-ratio: auto; background: none; overflow: visible; display: flex; justify-content: center; align-items: flex-end; }
html.pc :is(.live-pc, .enemy-pc) .rec .hero::after { display: none; }
html.pc :is(.live-pc, .enemy-pc) .rec .hero .ic.hero { width: 84px; height: 84px; border-radius: 50%; overflow: hidden; }
html.pc :is(.live-pc, .enemy-pc) .rec.first .hero .ic.hero { width: 100px; height: 100px; }
html.pc :is(.live-pc, .enemy-pc) .rec .hero .ic.hero img { transform: none; }
html.pc :is(.live-pc, .enemy-pc) .rec .hero .lab { left: 50%; bottom: -6px; max-width: 120px; }
html.pc :is(.live-pc, .enemy-pc) .rec .why { justify-items: stretch; text-align: left; padding: 0 6px; }
html.pc :is(.live-pc, .enemy-pc) .rec .cpills { display: grid; gap: 3px; justify-content: stretch; }
html.pc :is(.live-pc, .enemy-pc) .rec .cp { padding: 0; text-align: left; line-height: 1.45; }
html.pc :is(.live-pc, .enemy-pc) .rec .cp.kv { display: grid; grid-template-columns: 30px 1fr; gap: 6px; color: var(--text); }
html.pc :is(.live-pc, .enemy-pc) .rec .cp.kv i { font-style: normal; color: var(--muted); }
html.pc :is(.live-pc, .enemy-pc) .rec .cp.gold { color: var(--text); }
html.pc :is(.live-pc, .enemy-pc) .rec .tgs { display: grid; gap: 3px; justify-content: stretch; }
html.pc :is(.live-pc, .enemy-pc) .rec .tg { text-align: left; }
html.pc :is(.live-pc, .enemy-pc) .rec .ans { text-align: left; padding: 0 6px; }
/* 추천 카드(시안 모양) */
html.pc :is(.live-pc, .enemy-pc) .rec .rk { display: none; }
html.pc :is(.live-pc, .enemy-pc) .rec .nm { gap: 6px; }
html.pc :is(.live-pc, .enemy-pc) .rec .rk2 { font-size: 16px; } html.pc :is(.live-pc, .enemy-pc) .rec.first .rk2 { color: var(--hi); }
html.pc :is(.live-pc, .enemy-pc) .rec.muted.first .rk2, html.pc :is(.live-pc, .enemy-pc) .rec.muted.first .cn { color: var(--red); }
html.pc :is(.live-pc, .enemy-pc) .rec.muted.first { box-shadow: inset 0 -3px 0 var(--red); }
html.pc :is(.live-pc, .enemy-pc) .rec .why { justify-items: center; text-align: center; gap: 4px; padding: 0 2px; }
html.pc :is(.live-pc, .enemy-pc) .rec .rl { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--muted); line-height: 1.35; }
html.pc :is(.live-pc, .enemy-pc) .rec .rl.bad { color: var(--red); font-weight: 600; }
html.pc :is(.live-pc, .enemy-pc) .rec .rl.gd { color: var(--text); } html.pc :is(.live-pc, .enemy-pc) .rec .rl.bd { color: var(--red); }
html.pc :is(.live-pc, .enemy-pc) .rec .rl.rec-who { color: var(--text); }
html.pc :is(.live-pc, .enemy-pc) .rec .ans { display: inline-flex; align-items: center; gap: 4px; justify-content: center; text-align: center; font-size: 12px; }
html.pc :is(.live-pc, .enemy-pc) .rec .nm { display: flex; flex-direction: row; align-items: baseline; justify-content: center; flex-wrap: nowrap; }
html.pc :is(.live-pc, .enemy-pc) .rec .nm .cn { display: inline; width: auto; }
html.pc :is(.live-pc, .enemy-pc) .rec .ans { white-space: nowrap; }
html.pc :is(.live-pc, .enemy-pc) .rec .rl.gd, html.pc :is(.live-pc, .enemy-pc) .rec .rl.bd { display: block; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* 순위는 초상화 왼쪽 위, 1순위는 상자 테두리로 강조 */
html.pc :is(.live-pc, .enemy-pc) .rec { border-radius: 16px; padding: 10px 4px 12px; }
html.pc :is(.live-pc, .enemy-pc) .rec.first, html.pc :is(.live-pc, .enemy-pc) .rec.comp { box-shadow: inset 0 0 0 2px var(--hi); background: var(--hi-bg); }
html.pc :is(.live-pc, .enemy-pc) .rec.muted.first { box-shadow: inset 0 0 0 2px var(--red); background: var(--red-bg); }
html.pc :is(.live-pc, .enemy-pc) .rec .hero { position: relative; }
html.pc :is(.live-pc, .enemy-pc) .rec .rk3 { position: absolute; left: calc(50% - 50px); top: 2px; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 800; background: var(--panel); color: var(--text); box-shadow: 0 0 0 1px var(--line); z-index: 2; }
html.pc :is(.live-pc, .enemy-pc) .rec.first .rk3 { left: calc(50% - 56px); background: var(--hi); color: var(--on-gold); box-shadow: none; }
html.pc :is(.live-pc, .enemy-pc) .rec.muted.first .rk3 { background: var(--red); color: #fff; }
html.pc :is(.live-pc, .enemy-pc) .rec.first .cn { color: var(--text); }
html.pc .lv-c { grid-template-rows: auto auto auto auto minmax(0, 1fr) auto; }
/* 상세 줄 — 한 줄로 단순하게 */

/* ---------- 상대 팀 분석 A ---------- */
.e-sum { display: flex; align-items: center; gap: 40px; padding: 18px 22px; border-radius: 16px; background: var(--panel); flex-wrap: wrap; }
.e-k { display: grid; gap: 6px; } .e-k small { font-size: 13px; color: var(--muted); }
.e-k > b { font-size: 22px; } .e-dir > b { font-size: 15px; }
.e-k .tb { color: var(--blue); } .e-k .tr, .l5-n.tr a { color: var(--red); }
.e-lanes { display: flex; gap: 6px; }
html.pc .e-lanes .pill { background: var(--bg2); border: 0; font-weight: 700; } html.pc .e-lanes .pill.good { background: var(--blue); color: #fff; } html.pc .e-lanes .pill.bad { background: var(--red); color: #fff; }
.e-thr { display: flex; gap: 24px; margin-left: auto; }
.e-t { display: flex; align-items: center; gap: 10px; } .e-t > span { display: grid; gap: 2px; }
.e-t .ic { box-shadow: 0 0 0 2px var(--panel), 0 0 0 4px var(--red); }
.e-t small { font-size: 12px; color: var(--muted); } .e-t small.bad { color: var(--red); font-weight: 700; }
.l5-n a { color: inherit; text-decoration: none; } .l5-n a:hover { text-decoration: underline; }
.l5-s b.pos { color: var(--blue); } .l5-s b.neg { color: var(--red); }
.e-mini { display: grid; gap: 4px; margin-top: 4px; } .e-mini small { font-size: 12px; color: var(--muted); }
.e-mini small.good { color: var(--blue); } .e-mini small.hi { color: var(--hi); } .e-mini small.bad { color: var(--red); font-weight: 600; }
.e-mini > span { display: flex; gap: 5px; flex-wrap: wrap; }
.e-mi.good .ic { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px var(--blue); } .e-mi.hi .ic { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px var(--hi); } .e-mi.bad .ic { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px var(--red); }
.hc-h b.tr { color: var(--red); } .hc-h b.hi { color: var(--hi); }
html.pc .enemy-pc .recs { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 10px; max-width: none; }

/* ---------- 피드백 노트 B ---------- */
.n-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.n-bar .seg { display: inline-flex; gap: 3px; background: var(--bg2); border-radius: 999px; padding: 3px; border: 0; }
.n-bar .seg button { border: 0; background: none; font-size: 14px; padding: 6px 14px; border-radius: 999px; color: var(--muted); min-height: 0; }
.n-bar .seg button[aria-pressed="true"] { background: var(--hi); color: var(--panel); font-weight: 700; }
.n-sel { display: inline-flex; align-items: center; background: var(--bg2); border-radius: 999px; padding: 0 8px; color: var(--muted); }
.n-sel select { border: 0; background: none; font: inherit; font-size: 14px; color: var(--text); padding: 8px 6px; }
.n-chip { border: 0; background: var(--hi-bg); color: var(--hi); font-weight: 700; font-size: 13px; border-radius: 999px; padding: 7px 14px; }
.n-sp { flex: 1; }
.n-new { display: inline-flex; align-items: center; gap: 8px; border: 0; background: var(--hi); color: var(--panel); font-weight: 700; font-size: 15px; border-radius: 999px; padding: 11px 24px; }
.n-new:hover { filter: brightness(1.08); }
html.pc .notes-pc .h-h { align-items: center; }
.nc-add { border: 0; background: none; color: var(--muted); display: inline-flex; padding: 4px; border-radius: 8px; margin-left: 6px; }
.nc-add:hover { color: var(--hi); background: var(--hi-bg); }
.n-team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: start; }
.n-cols { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; align-items: start; }
.n-col { display: grid; gap: 10px; align-content: start; min-width: 0; }
.n-ch { display: grid; gap: 10px; padding: 0 2px 6px; }
.n-ch > b { font-size: 18px; letter-spacing: 0; }
.n-cnt { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.n-cnt .nc-add { margin-left: auto; }
.nc { background: var(--panel); border-radius: 14px; padding: 16px 16px 12px; display: grid; gap: 10px; min-width: 0; }
.nc-h { display: flex; align-items: flex-start; gap: 10px; }
.nc-h .ic { flex: none; }
.nc-h > b { flex: 1; min-width: 0; font-size: 15px; line-height: 1.4; overflow-wrap: anywhere; }
.nc-k { flex: none; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 3px 9px; letter-spacing: 0.01em; }
.nc-k.fix { background: var(--bad-bg); color: var(--bad); } .nc-k.good { background: var(--good-bg); color: var(--good); }
.nc .nbody { margin: 0; font-size: 14px; line-height: 1.55; color: var(--muted); white-space: pre-wrap; overflow-wrap: anywhere; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; line-clamp: 5; overflow: hidden; }
.nc .nbody.clamped { cursor: pointer; position: relative; }
.nc .nbody.clamped:not(.open)::after { content: "더 보기"; position: absolute; right: 0; bottom: 0; padding-left: 18px; background: linear-gradient(90deg, transparent, var(--panel) 40%); color: var(--hi); font-weight: 700; }
.nc .nbody.open { display: block; -webkit-line-clamp: unset; line-clamp: unset; overflow: visible; }
.nc-g { display: flex; align-items: center; gap: 10px; border: 0; background: none; padding: 0; text-align: left; font-size: 13px; }
.nc-g b.w { color: var(--blue); } .nc-g b.l { color: var(--red); }
.nc-gp { display: inline-flex; } .nc-gp .ic { margin-left: -4px; box-shadow: 0 0 0 2px var(--panel); } .nc-gp .ic:first-child { margin-left: 0; }
.nc-f { display: flex; align-items: center; gap: 12px; font-size: 13px; }
.nc-a { border: 0; background: none; padding: 0; font-size: 13px; color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.nc-a.del { color: var(--muted); }
.nc-a:hover { color: var(--hi); }

/* ---------- 상대 예상 조합 ---------- */
.ec-more { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; border: 0; background: none; color: var(--hi); font-weight: 700; font-size: 14px; padding: 4px 6px; border-radius: 8px; }
.ec-more:hover { background: var(--hi-bg); }
.ec-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ec { position: relative; display: grid; gap: 14px; align-content: start; padding: 16px 18px; border-radius: 16px; background: var(--panel); cursor: pointer; outline-offset: 2px; }
.ec:hover, .ec:focus-visible { box-shadow: 0 0 0 2px var(--hi); }
.ec-h { display: flex; align-items: center; gap: 8px; min-width: 0; }
.ec-h > b { font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ec-tag { flex: none; font-size: 12px; font-weight: 700; border-radius: 999px; padding: 3px 10px; }
.ec-tag.tr { background: var(--red); color: #fff; } .ec-tag.tr2 { background: var(--red-bg); color: var(--red); }
.ec-tag.hi { background: var(--hi-bg); color: var(--hi); } .ec-tag.nu { background: var(--bg2); color: var(--muted); }
.ec-lk { margin-left: auto; flex: none; display: grid; grid-template-columns: auto auto; align-items: center; gap: 2px 6px; font-size: 12px; }
.ec-lk small { color: var(--muted); font-size: 11px; } .ec-lk b { font-size: 13px; }
.ec-lk i { grid-column: 1 / -1; display: block; height: 4px; border-radius: 4px; background: linear-gradient(90deg, currentColor var(--w), var(--bg2) var(--w)); }
.ec-lk.hi { color: var(--red); } .ec-lk.mid { color: var(--text); } .ec-lk.lo { color: var(--muted); }
.ec-why { font-size: 13px; color: var(--muted); line-height: 1.5; }
.ec-ans { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 20; display: grid; gap: 10px; padding: 14px 16px; border-radius: 14px; background: var(--panel); box-shadow: 0 0 0 2px var(--hi), 0 12px 32px rgba(0, 0, 0, .18); opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .15s, transform .15s, visibility .15s; pointer-events: none; }
.ec:hover .ec-ans, .ec:focus-visible .ec-ans { opacity: 1; visibility: visible; transform: none; }
.ec-ah { display: flex; align-items: center; gap: 8px; font-size: 15px; } .ec-ah > b { color: var(--hi); } .ec-ah > span:last-child { color: var(--muted); }
.vsb { font-size: 12px; font-weight: 700; border-radius: 999px; padding: 2px 9px; background: var(--bg2); color: var(--muted); }
.vsb.good { background: var(--blue); color: #fff; } .vsb.bad { background: var(--red); color: #fff; }
.ec-bar { gap: 20px; }
.ec-back { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; font-weight: 700; font-size: 15px; color: var(--text); padding: 6px 8px; border-radius: 8px; }
.ec-back:hover { background: var(--bg2); }
.ec-fl { display: inline-flex; align-items: center; gap: 8px; } .ec-fl > small { color: var(--muted); font-size: 13px; }
.n-bar .seg button:disabled { opacity: .4; cursor: default; }
.ec-bans { display: inline-flex; gap: 4px; } .ec-bans .ic { box-shadow: 0 0 0 2px var(--bg), 0 0 0 3.5px var(--red); filter: grayscale(.6); }
.ec-flow { display: grid; gap: 10px; padding: 16px 20px; border-radius: 16px; background: var(--panel); } .ec-flow > small { color: var(--muted); font-size: 13px; }
.ec-fs { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.ec-f { display: inline-flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 12px; background: var(--bg2); }
.ec-f.now { box-shadow: 0 0 0 2px var(--hi); background: var(--hi-bg); } .ec-f.past { opacity: .55; }
.ec-fi { display: inline-flex; gap: 2px; }
.ecl { display: grid; gap: 12px; }
.ecr { display: grid; grid-template-columns: 32px minmax(240px, 1fr) minmax(330px, 1.1fr) minmax(330px, 1.1fr); gap: 24px; align-items: center; padding: 16px 20px; border-radius: 16px; background: var(--panel); }
.ecr-n { font-size: 20px; font-weight: 800; color: var(--muted); text-align: center; }
.ecr-l { display: grid; gap: 10px; min-width: 0; } .ecr-l .ec-lk { margin-left: 0; justify-self: start; min-width: 120px; }
.ecr-a { display: grid; gap: 8px; padding-left: 24px; border-left: 1px solid var(--line); }

/* ---------- 시야 공부 A ---------- */
.vz-bar { gap: 14px; } .vz-sep { width: 1px; height: 24px; background: var(--line); }
.vz-bar .seg button small { margin-left: 6px; font-size: 11px; opacity: .75; font-weight: 600; }
.vz-ut { font-size: 16px; }
.n-new.sm { padding: 9px 18px; font-size: 14px; }
.vz { display: grid; grid-template-columns: min(860px, calc(100vh - 230px), 56%) minmax(0, 1fr); gap: 32px; align-items: start; }
.vz-l { display: grid; gap: 8px; position: sticky; top: 16px; }
.vz-l .sc-stage, html.pc .vision-pc .sc-stage { border-radius: 18px; }
.vz-txt { position: static; gap: 14px; }
.vz-r { display: grid; gap: 16px; align-content: start; min-width: 0; }
.vz-meta { display: flex; align-items: center; gap: 10px; font-size: 14px; } .vz-meta .dmeta { margin-left: auto; color: var(--muted); display: inline-flex; align-items: center; gap: 4px; font-size: 13px; }
.vz-q { margin: 0; font-size: 26px; line-height: 1.35; letter-spacing: -0.01em; }
.vz-t { font-size: 14px; color: var(--muted); margin-top: -8px; }
html.pc .vision-pc .dsides { display: flex; gap: 8px; flex-wrap: wrap; }
html.pc .vision-pc .dside, html.pc .vision-pc .dwhen { background: var(--bg2); border: 0; border-radius: 999px; padding: 4px 12px; font-size: 13px; color: var(--text); }
html.pc .vision-pc .dside.b { color: var(--blue); } html.pc .vision-pc .dside.r { color: var(--red); }
html.pc .vision-pc .dteams { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
html.pc .vision-pc .dteams > div { background: var(--panel); border: 0; border-radius: 14px; padding: 12px 14px; display: grid; gap: 6px; }
html.pc .vision-pc .dnote { background: var(--panel); border: 0; border-radius: 14px; padding: 14px 16px; }
html.pc .vision-pc .dnote ul { margin: 6px 0 0; padding-left: 18px; display: grid; gap: 4px; font-size: 14px; }
html.pc .vision-pc .dopts { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
html.pc .vision-pc .dopt { width: 100%; display: flex; align-items: flex-start; gap: 14px; text-align: left; padding: 16px 18px; border-radius: 14px; background: var(--panel); border: 2px solid transparent; font-size: 16px; font-weight: 700; color: var(--text); }
html.pc .vision-pc .dopt:not(:disabled):hover { border-color: var(--hi); }
html.pc .vision-pc .dopt > b { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--hi); color: var(--panel); font-size: 14px; }
html.pc .vision-pc .dopt span { display: grid; gap: 6px; } html.pc .vision-pc .dopt small { font-weight: 400; font-size: 14px; color: var(--muted); line-height: 1.5; }
html.pc .vision-pc .dopt.ok { border-color: var(--good); background: var(--good-bg); } html.pc .vision-pc .dopt.ok > b { background: var(--good); }
html.pc .vision-pc .dopt.no { border-color: var(--bad); background: var(--bad-bg); } html.pc .vision-pc .dopt.no > b { background: var(--bad); }
html.pc .vision-pc .dopt:disabled { opacity: 1; cursor: default; }
.vz-v { display: grid; gap: 8px; padding: 16px 18px; border-radius: 14px; background: var(--bg2); }
.vz-v .dres { margin: 0; font-size: 15px; line-height: 1.55; } .vz-v .dres.ok { color: var(--good); } .vz-v .dres.no { color: var(--bad); }
.vz-src { display: flex; flex-wrap: wrap; gap: 6px; }
.vz-nav { display: flex; align-items: center; gap: 10px; }
html.pc .vision-pc .sc-note { font-size: 13px; color: var(--muted); margin: 0; }
html.pc .vision-pc .dmap-pos .dpin { width: 34px; height: 34px; font-size: 15px; }
/* 배우기 */
html.pc .vision-pc .card.vbox { background: none; border: 0; padding: 0; box-shadow: none; }
html.pc .vision-pc .vbox > .now-h, html.pc .vision-pc .vbox > .vctl, html.pc .vision-pc .vbox > .lhead { display: none; }
html.pc .vision-pc .lus { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
html.pc .vision-pc .lu { display: flex; gap: 16px; align-items: flex-start; text-align: left; padding: 20px; border-radius: 16px; background: var(--panel); border: 2px solid transparent; }
html.pc .vision-pc .lu:hover { border-color: var(--hi); }
html.pc .vision-pc .lu-n { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--hi-bg); color: var(--hi); font-weight: 800; }
html.pc .vision-pc .lu.fin .lu-n { background: var(--good-bg); color: var(--good); }
html.pc .vision-pc .lu-b { display: grid; gap: 8px; min-width: 0; } html.pc .vision-pc .lu-b b { font-size: 17px; } html.pc .vision-pc .lu-b > span:not(.lu-p) { font-size: 14px; color: var(--muted); line-height: 1.5; }
html.pc .vision-pc .lu-p { height: 5px; border-radius: 5px; background: var(--bg2); overflow: hidden; } html.pc .vision-pc .lu-p i { display: block; height: 100%; background: var(--hi); }
html.pc .vision-pc .lu-b small { font-size: 12px; color: var(--muted); }
html.pc .vision-pc .lsteps { display: flex; gap: 8px; list-style: none; margin: 0 0 14px; padding: 0; }
html.pc .vision-pc .lsteps li { font-size: 13px; padding: 5px 14px; border-radius: 999px; background: var(--bg2); color: var(--muted); }
html.pc .vision-pc .lsteps li.on { background: var(--hi); color: var(--panel); font-weight: 700; }
html.pc .vision-pc .sc-wrap { grid-template-columns: min(860px, calc(100vh - 270px), 56%) minmax(0, 1fr); gap: 32px; }
html.pc .vision-pc .sc-cap { display: grid; gap: 14px; align-content: start; }
html.pc .vision-pc .sc-cap-h { display: grid; gap: 8px; } html.pc .vision-pc .sc-cap-h b { font-size: 24px; line-height: 1.35; }
html.pc .vision-pc .sc-cap p { font-size: 16px; line-height: 1.7; margin: 0; }
html.pc .vision-pc .sc-meta { display: flex; flex-wrap: wrap; gap: 6px; }
html.pc .vision-pc .lsum { font-size: 18px; font-weight: 700; } html.pc .vision-pc .lres { display: grid; gap: 8px; font-size: 15px; }
/* 한눈에 보기 */
html.pc .vision-pc .vgrid { grid-template-columns: min(860px, calc(100vh - 230px), 56%) minmax(0, 1fr); gap: 32px; }
html.pc .vision-pc .vmap { border-radius: 18px; position: sticky; top: 16px; }
html.pc .vision-pc .sm-groups { display: grid; gap: 18px; }
html.pc .vision-pc .sm-row { background: var(--panel); border-radius: 14px; padding: 14px 16px; }
html.pc .vision-pc .sm-row.sel { box-shadow: 0 0 0 2px var(--hi); }
html.pc .vision-pc .dmap-pos { max-width: none; width: 100%; }
html.pc .sc-zoom button { color: #fff; border-color: rgba(255, 255, 255, .22); background: rgba(11, 14, 20, .78); }
html.pc .sc-zoom button[aria-pressed="true"] { background: var(--hi); color: var(--panel); border-color: var(--hi); }
html.pc .vlink { color: var(--blue); background: var(--blue-bg); font-size: 13px; padding: 4px 10px; border-radius: 999px; }
html.pc .vision-pc .sc-n { justify-self: start; color: var(--hi); background: var(--hi-bg); font-size: 13px; padding: 5px 12px; }
html.pc .vision-pc .sc-dots { display: flex; gap: 8px; }
html.pc .vision-pc .sc-cap .dnav .btn.primary { background: var(--hi); border-color: var(--hi); color: var(--panel); }

/* ---------- 설정 D ---------- */
.settings-pc { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 32px; align-items: start; }
.sd-main-c { display: grid; gap: 14px; min-width: 0; }
.sd-bar { gap: 10px; } .sd-help { font-size: 13px; }
.soft-b.bad { color: var(--red); background: var(--red-bg); }
.sd-ed { display: grid; }
.sd-role { display: grid; grid-template-columns: 64px minmax(260px, 340px) minmax(0, 1fr); gap: 20px; align-items: start; padding: 18px 0; border-top: 1px solid var(--line); }
.sd-role:first-child { border-top: 0; }
.sd-r { font-size: 16px; padding-top: 10px; }
.sd-acc { display: grid; gap: 8px; min-width: 0; position: relative; }
.sd-acc .input, .sd-add .input, .sd-add select { width: 100%; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 9px 12px; font-size: 14px; color: var(--text); min-height: 0; }
.sd-main .input { font-weight: 700; font-size: 15px; }
.sd-alt { display: grid; grid-template-columns: 52px 1fr; align-items: center; gap: 6px; } .sd-alt small { font-size: 12px; color: var(--muted); text-align: center; background: var(--bg2); border-radius: 999px; padding: 3px 0; }
.sd-alt .input { padding: 7px 10px; font-size: 13px; }
.sd-tier { display: flex; gap: 6px; align-items: center; } .sd-tier select, .sd-tier .input { padding: 6px 8px !important; font-size: 13px !important; }
.sd-acc .ed-chk { margin: 0; font-size: 12px; color: var(--muted); } .sd-acc .ed-chk:empty { display: none; }
.sd-acc .ed-sug { position: absolute; top: 44px; left: 0; right: 0; z-index: 30; }
.sd-pool { display: grid; gap: 10px; min-width: 0; }
.sd-pool .row-chips { display: flex; flex-wrap: wrap; gap: 8px; }
html.pc .sd-pool .chip { display: inline-flex; align-items: center; gap: 6px; background: var(--panel); border: 0; border-radius: 999px; padding: 4px 10px 4px 4px; font-size: 14px; font-weight: 600; cursor: pointer; }
html.pc .sd-pool .chip:hover { box-shadow: 0 0 0 2px var(--hi); }
html.pc .sd-pool .chip .del { display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; color: var(--muted); } html.pc .sd-pool .chip .del:hover { background: var(--red-bg); color: var(--red); }
html.pc .sd-pool .chip .del svg { width: 12px; height: 12px; stroke: currentColor; stroke-width: 2.4; fill: none; }
.sd-add { display: grid; grid-template-columns: minmax(0, 260px) 84px 36px; gap: 6px; align-items: center; }
.sd-side { display: grid; gap: 16px; position: sticky; top: 16px; }
.sd-card { display: grid; gap: 12px; padding: 20px 22px; border-radius: 16px; background: var(--panel); }
.sd-card h3 { margin: 0; font-size: 17px; }
.sd-card .help { margin: 0; font-size: 13px; line-height: 1.55; color: var(--muted); }
.sd-sub { font-size: 14px; margin-top: 4px; }
.sd-team { display: flex; align-items: center; gap: 10px; } .sd-team b { font-size: 17px; color: var(--blue); } .sd-team small { color: var(--muted); font-size: 12px; }
.sd-link { font-size: 13px; background: var(--bg2); border-radius: 10px; padding: 11px 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); }
.sd-card > .n-new { justify-self: start; }
.sd-btns { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } .sd-btns .soft-b { display: inline-flex; align-items: center; gap: 6px; }
.sd-card .seg { display: inline-flex; gap: 3px; background: var(--bg2); border-radius: 999px; padding: 3px; border: 0; justify-self: start; }
.sd-card .seg button { border: 0; background: none; font-size: 14px; padding: 6px 14px; border-radius: 999px; color: var(--muted); min-height: 0; }
.sd-card .seg button[aria-pressed="true"] { background: var(--hi); color: var(--panel); font-weight: 700; }
.sd-bar .seg { display: inline-flex; gap: 3px; background: var(--bg2); border-radius: 999px; padding: 3px; border: 0; }
.sd-bar .seg button { border: 0; background: none; font-size: 14px; padding: 6px 14px; border-radius: 999px; color: var(--muted); min-height: 0; }
.sd-bar .seg button[aria-pressed="true"] { background: var(--hi); color: var(--panel); font-weight: 700; }
.sd-altadd { justify-self: start; display: inline-flex; align-items: center; gap: 4px; border: 0; background: none; padding: 2px 0; font-size: 13px; color: var(--muted); } .sd-altadd:hover { color: var(--hi); } .sd-altadd small { font-size: 12px; }

/* ---------- 새 사용자 홈 A ---------- */
.nu-pc { max-width: 780px; margin: 40px auto 0; display: grid; gap: 36px; }
.nu-bar { display: flex; align-items: center; gap: 14px; list-style: none; margin: 0; padding: 0; }
.nu-bar > li:not(.nu-line) > button, .nu-bar > li:not(.nu-line) > span { display: flex; align-items: center; gap: 10px; border: 0; background: none; padding: 0; text-align: left; color: var(--muted); }
.nu-bar .nu-line { flex: 1; height: 2px; background: var(--line); min-width: 20px; }
.nu-n { flex: none; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--line); font-weight: 800; font-size: 14px; }
.nu-t { display: grid; gap: 2px; } .nu-t b { font-size: 15px; } .nu-t small { font-size: 12px; }
.nu-bar li.on .nu-n { background: var(--hi); border-color: var(--hi); color: var(--panel); box-shadow: 0 0 0 4px var(--hi-bg); } .nu-bar li.on .nu-t b { color: var(--text); }
.nu-bar li.done .nu-n { background: var(--good-bg); border-color: transparent; color: var(--good); }
.nu-body { display: grid; gap: 18px; }
.nu-in { display: grid; grid-template-columns: 1fr 1.2fr; gap: 14px; }
.nu-f { display: flex; align-items: center; justify-content: space-between; gap: 8px; background: var(--bg2); border: 0; border-radius: 12px; padding: 14px 16px; font-size: 16px; font-weight: 700; color: var(--text); }
input.nu-f:focus { outline: 2px solid var(--hi); background: var(--panel); }
.nu-f small.ok { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; color: var(--good); }
.nu-ver { display: flex; align-items: center; gap: 32px; padding: 22px 26px; border-radius: 18px; background: var(--panel); }
.nu-ic { display: grid; justify-items: center; gap: 8px; } .nu-ic img { border-radius: 14px; box-shadow: 0 0 0 3px var(--panel), 0 0 0 6px var(--hi); } .nu-ic b { color: var(--hi); font-size: 14px; }
.nu-how { margin: 0; padding-left: 22px; display: grid; gap: 12px; font-size: 16px; } .nu-how li::marker { color: var(--hi); font-weight: 800; }
.nu-act { display: flex; align-items: center; gap: 16px; } .nu-act .n-new { padding: 13px 28px; font-size: 16px; }
.nu-act .n-new:disabled { opacity: .6; }
.nu-msg:empty { display: none; } .nu-msg { margin: 0; color: var(--red); }
.nu-foot { margin: 0; font-size: 13px; color: var(--muted); }
.nu-done { display: flex; align-items: center; gap: 10px; font-size: 17px; color: var(--good); } .nu-done b { color: var(--text); }
.nu-five { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.nu-p { display: grid; gap: 6px; padding: 14px; border-radius: 14px; background: var(--panel); } .nu-p small { color: var(--muted); font-size: 12px; } .nu-p b { font-size: 14px; color: var(--muted); } .nu-p.ok b { color: var(--text); }
.nu-link { display: block; }

/* 설정 D: 칸 제목(왼쪽 위) · 티어 문장 */
.sd-fl { position: relative; display: block; min-width: 0; }
.sd-fl > small { position: absolute; left: 11px; top: 6px; z-index: 1; font-size: 11px; font-weight: 600; color: var(--muted); pointer-events: none; letter-spacing: .01em; }
.sd-acc .sd-fl .input, .sd-tier .sd-fl .input { width: 100%; padding: 22px 12px 7px !important; font-size: 14px !important; }
.sd-main .input { font-size: 15px !important; }
.sd-tier { display: grid !important; grid-template-columns: minmax(0, 1.6fr) minmax(0, .9fr) minmax(0, .9fr); gap: 6px; }
.sd-tsel { position: relative; display: block; } .sd-tsel .tier-ic { position: absolute; left: 11px; bottom: 9px; pointer-events: none; }
.sd-tier .sd-ft .input { padding-left: 40px !important; }
.sd-pts { display: block; background: var(--bg2); border-radius: 10px; padding: 22px 12px 7px; font-size: 14px; font-weight: 700; }

/* 설정 D(11-19 사용자 지적): 칸 제목은 박스 밖 위, 챔프 추가 줄은 왼쪽 티어 줄과 같은 높이·같은 줄 */
.sd-fl > small { position: static; display: block; margin: 0 0 5px 2px; font-size: 12px; }
.sd-acc .sd-fl .input, .sd-tier .sd-fl .input, .sd-add .sd-fl .input { height: 42px; padding: 0 12px !important; font-size: 14px !important; }
.sd-main .input { font-size: 15px !important; font-weight: 700; }
.sd-tsel .tier-ic { top: 50%; bottom: auto; transform: translateY(-50%); }
.sd-pts { height: 42px; padding: 0 12px; display: flex; align-items: center; }
.sd-role { align-items: stretch; }
.sd-pool { display: flex; flex-direction: column; gap: 10px; }
.sd-pool .row-chips { flex: 1; align-content: flex-start; }
.sd-add { grid-template-columns: minmax(0, 260px) 96px 42px; align-items: end; }
.sd-addb { width: 42px; height: 42px; min-height: 42px; display: grid; place-items: center; padding: 0; border-radius: 10px; }
.sd-acc { align-content: start; }
.sd-tier { display: flex !important; gap: 6px; } .sd-tier .sd-ft { flex: 1.6 1 0; } .sd-tier .sd-fd, .sd-tier .sd-fp { flex: .9 1 0; }
.sd-tier .sd-ft .input { padding-left: 40px !important; }

/* 설정 D: 계정마다 솔랭·자랭 + 반영 티어 */
.sd-role { grid-template-columns: 64px minmax(420px, 480px) minmax(0, 1fr); }
.sd-rk { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: -2px 0 6px; }
.sd-q { display: grid; gap: 4px; min-width: 0; } .sd-q > small { font-size: 12px; color: var(--muted); margin-left: 2px; }
.sd-qrow { display: flex; gap: 4px; min-width: 0; } .sd-qrow .sd-tsel { flex: 1 1 0; min-width: 0; } .sd-qrow .sd-qd { flex: 0 0 64px; }
.sd-acc .sd-qrow .input { height: 38px; padding: 0 8px !important; font-size: 13px !important; } .sd-acc .sd-qrow .sd-tsel .input { padding-left: 34px !important; }
.sd-qrow .sd-tsel .tier-ic { left: 9px; width: 19px; height: 15px; }
.sd-acc .sd-qrow .input:disabled { opacity: .5; }
.sd-eff { display: flex; align-items: flex-end; gap: 14px; flex-wrap: wrap; padding-top: 10px; border-top: 1px dashed var(--line); }
.sd-eff-h { display: grid; gap: 5px; } .sd-eff-h small { font-size: 12px; color: var(--muted); margin-left: 2px; }
.sd-eff-h b { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px; border-radius: 10px; background: var(--hi-bg); font-size: 15px; }
.sd-eff-m { font-size: 13px; color: var(--muted); padding-bottom: 12px; } .sd-eff-m b { color: var(--text); }
.sd-eff .sd-fp { width: 90px; }
.sd-warn { flex-basis: 100%; font-size: 12px; color: var(--red); }
.sd-eff.fb .sd-eff-h b { background: var(--red-bg); } .sd-eff.none .sd-eff-h b { background: var(--bg2); color: var(--muted); }

/* ---------- 좁은 PC(1366 등, 1599px 이하): 사이드바·양 팀 칸을 줄여 가운데 추천 칸 확보, 설정은 챔프폭을 계정 아래로 ---------- */
.mh-r .seg button, .mh-r .soft-b { white-space: nowrap; }
@media (max-width: 1599px) {
  html.pc body { grid-template-columns: 220px minmax(0, 1fr); }
  html.pc #side { padding: 22px 14px; }
  html.pc #view { padding: 20px 24px 32px; }
  html.pc .live-pc { grid-template-columns: 184px minmax(0, 1fr) 196px; gap: 16px; }
  html.pc :is(.live-pc, .enemy-pc) .recs { gap: 8px; }
  html.pc :is(.live-pc, .enemy-pc) .rec :is(b, .nm) { white-space: nowrap; }
  .mh-r { gap: 6px; } .mh-r .seg button { padding: 5px 9px; font-size: 12px; } .mh-r .soft-b { font-size: 12px; padding: 7px 10px; }
  .settings-pc { grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; }
  .sd-role { grid-template-columns: 52px minmax(0, 1fr); gap: 10px 16px; }
  .sd-pool { grid-column: 2; }
  .sd-add { grid-template-columns: minmax(0, 1fr) 96px 42px; max-width: 460px; }
}

/* ---------- 명단 등록(사진·엑셀·텍스트) ---------- */
.imp-pc { display: grid; gap: 28px; }
.ip-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 28px; align-items: start; }
.ip-in { display: grid; gap: 16px; }
.ip-drop { display: grid; justify-items: center; gap: 8px; padding: 34px 20px; border-radius: 18px; background: var(--panel); cursor: pointer; text-align: center; box-shadow: inset 0 0 0 2px var(--bg2); transition: box-shadow .15s, background .15s; }
.ip-drop:hover, .ip-drop.over { box-shadow: inset 0 0 0 2px var(--hi); background: var(--hi-bg); }
.ip-drop b { font-size: 17px; } .ip-drop > span:not(.ip-ic) { font-size: 13px; color: var(--muted); }
.ip-ic { color: var(--hi); }
kbd { font: 600 12px/1 var(--font-num, inherit); padding: 2px 6px; border-radius: 6px; background: var(--bg2); color: var(--text); }
.ip-bar { display: grid; gap: 6px; } .ip-bar i { display: block; height: 8px; border-radius: 8px; background: linear-gradient(90deg, var(--hi) var(--w), var(--bg2) var(--w)); transition: background .2s; }
.ip-bar span { font-size: 14px; font-weight: 700; } .ip-bar small { font-size: 12px; color: var(--muted); }
.ip-team { display: flex; align-items: flex-end; gap: 10px; } .ip-team .sd-fl { flex: 1; }
.ip-team .input { width: 100%; height: 42px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); font-size: 14px; color: var(--text); }
.ip-team .seg, .imp-pc .seg { display: inline-flex; gap: 3px; background: var(--bg2); border-radius: 999px; padding: 3px; border: 0; }
.imp-pc .seg button { border: 0; background: none; font-size: 14px; padding: 8px 14px; border-radius: 999px; color: var(--muted); min-height: 0; }
.imp-pc .seg button[aria-pressed="true"] { background: var(--hi); color: var(--panel); font-weight: 700; }
.ip-txt textarea { width: 100%; min-height: 200px; resize: vertical; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); font: 14px/1.6 ui-monospace, "SF Mono", Menlo, monospace; color: var(--text); }
.ip-msg { margin: 0; font-size: 14px; color: var(--text); }
.ip-ex { margin: 0; padding: 12px 14px; border-radius: 10px; background: var(--bg2); font: 12px/1.6 ui-monospace, "SF Mono", Menlo, monospace; white-space: pre-wrap; color: var(--text); }
.ip-chk { display: grid; gap: 8px; padding: 14px 16px; border-radius: 14px; background: var(--panel); margin-bottom: 12px; } .ip-chk b small { color: var(--muted); font-weight: 600; margin-left: 4px; }
.ip-ids { display: flex; flex-wrap: wrap; gap: 6px; }
.ip-id { font-size: 13px; padding: 4px 10px; border-radius: 999px; background: var(--bg2); color: var(--muted); }
.ip-id.ok { background: var(--good-bg); color: var(--good); } .ip-id.no { background: var(--bad-bg); color: var(--bad); font-weight: 700; }
html.pc .imp-pc .imp-pv { display: grid; gap: 12px; }
html.pc .imp-pc .imp-team { background: var(--panel); border: 0; border-radius: 14px; padding: 16px 18px; }
@media (max-width: 1599px) { .ip-grid { grid-template-columns: minmax(0, 1fr) 320px; } }

/* 머리줄 왼쪽(진영·피어리스) · 아이콘 이름표 · 다크 전환 */
.mh-l { grid-column: 1; justify-self: start; display: flex; align-items: center; gap: 8px; }
.mh-l .seg { display: inline-flex; gap: 3px; background: var(--bg2); border-radius: 999px; padding: 3px; border: 0; }
.mh-l .seg button { border: 0; background: none; font-size: 13px; padding: 6px 13px; border-radius: 999px; color: var(--muted); white-space: nowrap; }
.mh-l .seg button[aria-pressed="true"] { background: var(--hi); color: var(--on-gold); font-weight: 700; }
html.pc:not([data-theme="dark"]) .mh-l .seg button[aria-pressed="true"] { color: #fff; }
@media (prefers-color-scheme: dark) { html.pc:not([data-theme="light"]) .mh-l .seg button[aria-pressed="true"] { color: var(--on-gold); } }
html.pc [data-tip] { position: relative; }
html.pc [data-tip]:hover::after, html.pc [data-tip]:focus-visible::after { content: attr(data-tip); position: absolute; top: calc(100% + 8px); left: 50%; transform: translateX(-50%); z-index: 60; padding: 6px 10px; border-radius: 8px; background: var(--text); color: var(--bg); font-size: 12px; font-weight: 600; white-space: nowrap; pointer-events: none; box-shadow: 0 6px 18px rgba(0, 0, 0, .18); }
html.pc #side [data-tip]:hover::after, html.pc #side [data-tip]:focus-visible::after { top: 50%; left: calc(100% + 8px); transform: translateY(-50%); }
.sd-foot { display: grid; gap: 2px; }
@media (max-width: 1599px) { .mh-l .seg button { padding: 5px 9px; font-size: 12px; } }

/* VS 제목에서 우리·상대 바꾸기 */
.vs-side { position: relative; display: inline-flex; }
.vs-btn { display: inline-flex; align-items: center; gap: 12px; border: 0; background: none; padding: 4px 10px; border-radius: 12px; font: inherit; font-size: 22px; font-weight: 800; cursor: pointer; }
.vs-btn.tb { color: var(--blue); } .vs-btn.tr { color: var(--red); }
.vs-btn:hover, .vs-btn[aria-expanded="true"] { background: var(--bg2); }
.vs-car { color: var(--muted); }
.vs-pop { position: absolute; top: calc(100% + 8px); z-index: 70; min-width: 240px; display: grid; gap: 2px; padding: 8px; border-radius: 14px; background: var(--panel); box-shadow: 0 0 0 1px var(--line), 0 14px 36px rgba(0, 0, 0, .18); text-align: left; }
.vs-pop.our { left: 0; } .vs-pop.enemy { right: 0; }
.vs-pop small { font-size: 11px; color: var(--muted); padding: 8px 10px 4px; }
.vs-pop button { display: flex; align-items: center; gap: 10px; border: 0; background: none; padding: 8px 10px; border-radius: 10px; font-size: 15px; font-weight: 600; color: var(--text); text-align: left; }
.vs-pop button:hover, .vs-pop button:focus-visible { background: var(--bg2); }
.vs-pop button[aria-selected="true"] { color: var(--hi); } .vs-pop button .lbi { margin-left: auto; }
.vs-pop .vs-add { color: var(--muted); font-size: 13px; margin-top: 4px; }

/* 다크 모드 토글 스위치 */
.sd-theme .sw { margin-left: auto; position: relative; width: 40px; height: 22px; border-radius: 999px; background: var(--line); transition: background .18s; flex: none; }
.sd-theme .sw i { position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .18s; }
.sd-theme[aria-checked="true"] .sw { background: var(--hi); } .sd-theme[aria-checked="true"] .sw i { transform: translateX(18px); background: var(--on-gold); }
@media (prefers-reduced-motion: reduce) { .sd-theme .sw, .sd-theme .sw i { transition: none; } }

/* 손님(로그인 전) */
.sd-guest { margin: 4px 12px 0; font-size: 12px; line-height: 1.55; color: var(--muted); }

/* 로그인 · 팀 만들기/들어가기 · 초대 코드 */
.lg { display: grid; gap: 14px; }
.lg-b { display: flex; align-items: center; justify-content: center; gap: 10px; height: 48px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); font-size: 15px; font-weight: 700; color: var(--text); }
.lg-b:hover { box-shadow: 0 0 0 2px var(--hi); }
.lg-b.naver { background: #03C75A; border-color: #03C75A; color: #fff; }
.lg-b.kakao { background: #FEE500; border-color: #FEE500; color: #191600; }
.lg-b.apple { background: #000; border-color: #000; color: #fff; }   /* Apple 로그인 버튼 가이드: 검은 바탕·흰 로고(11-25 웹) */
.pv-a { width: 16px; height: 19px; flex: none; margin-top: -2px; }
.lg-foot { font-size: 12px; }
.lg-who { display: flex; align-items: center; gap: 12px; margin: 0; font-weight: 700; } .lg-who .nc-a { margin-left: auto; }
.lg-two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.lg-two section { display: grid; gap: 10px; align-content: start; padding: 18px; border-radius: 14px; background: var(--panel); }
.lg-two .input, .lg .input { height: 44px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); font-size: 15px; color: var(--text); }
.lg-code { text-transform: uppercase; letter-spacing: .2em; font-weight: 800; }
.lg-team { display: flex; align-items: baseline; gap: 10px; margin: 0; } .lg-team b { font-size: 18px; color: var(--blue); }
.lg-code-box { display: grid; gap: 8px; padding: 16px; border-radius: 14px; background: var(--hi-bg); } .lg-code-box > b { font: 800 30px/1.1 var(--font-num); letter-spacing: .18em; color: var(--hi); }
.lg-msg { margin: 0; color: var(--text); }
.sd-card .lg-two { grid-template-columns: 1fr; }

.sd-me { display: flex; align-items: center; gap: 8px; padding: 8px 12px; font-size: 13px; }
.sd-me > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; } .sd-me small { margin-left: 6px; font-weight: 500; color: var(--muted); }
.sd-me .nc-a { margin-left: auto; flex: none; color: var(--muted); }

.ip-our { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 16px; border-radius: 14px; background: var(--hi-bg); margin-bottom: 12px; }
.ip-our select { height: 40px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); color: var(--text); font-size: 14px; font-weight: 700; }
.ip-our .help { font-size: 13px; }

/* 사이드바 상대 팀: 마우스를 올리면 삭제 × */
.sd-tmw { position: relative; }
.sd-tmw .sd-tm { padding-right: 36px; }
.sd-tm-x { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); width: 26px; height: 26px; border: 0; border-radius: 8px; background: none; color: var(--muted); font-size: 18px; line-height: 1; opacity: 0; transition: opacity .12s; }
.sd-tmw:hover .sd-tm-x, .sd-tm-x:focus-visible { opacity: 1; } .sd-tm-x:hover { background: var(--red-bg); color: var(--red); }

/* 우리 팀 화면·설정 나눔 */
.settings-only { max-width: 760px; }
.set-cards { display: grid; gap: 16px; }
.sd-tmw.our-w .sd-tm { padding-right: 40px; }
.sd-tm-inv { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: 0; background: none; color: var(--muted); padding: 5px; border-radius: 8px; display: inline-flex; }
.sd-tm-inv:hover, .sd-tm-inv[aria-expanded="true"] { color: var(--hi); background: var(--hi-bg); }
.jp-card { margin: 6px 8px 4px; padding: 10px; display: grid; gap: 8px; background: var(--bg2); border-radius: 12px; }
.jp-card label { font-size: 12px; font-weight: 600; color: var(--muted); }
.jp-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px; }
.jp-row .input { width: 100%; min-width: 0; height: 34px; padding: 0 8px; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.jp-row .btn { height: 34px; padding: 0 10px; white-space: nowrap; }
.jp-msg { margin: 0; font-size: 12px; color: var(--bad); }
.jp-oth { display: grid; gap: 2px; } .jp-oth small { font-size: 11px; color: var(--muted); }
.jp-sw { text-align: left; border: 0; background: none; padding: 6px 4px; border-radius: 6px; color: var(--text); font: inherit; font-size: 13px; cursor: pointer; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jp-sw:hover, .jp-sw:focus-visible { background: var(--panel); color: var(--hi); }
.sd-tm.our .nm { color: var(--blue); font-weight: 700; }
html.pc .sd-tm.our[aria-current="true"] { background: var(--bg2); }
/* 명단 등록: 양식 내려받기 */
.ip-tpl { display: flex; align-items: center; gap: 16px; padding: 16px 18px; border-radius: 16px; background: var(--hi-bg); }
.ip-tpl > span { display: grid; gap: 4px; flex: 1; } .ip-tpl b { font-size: 16px; } .ip-tpl small { font-size: 13px; color: var(--muted); line-height: 1.5; }
.ip-tpl .n-new { flex: none; display: inline-flex; align-items: center; gap: 8px; }

/* 이름표(data-tip)의 position: relative가 덮지 않게 */
html.pc .sd-tm-inv, html.pc .sd-tm-x { position: absolute; }

/* ---------- 실시간 밴픽 한 줄 정리(11-19) ---------- */
html.pc .live-pc .dstat-act.m-act { display: none; }   /* PC 되돌리기·밴 넘기기는 제목 줄 오른쪽(.pc-act) */
html.pc .lv-c { display: flex; flex-direction: column; gap: 14px; }
html.pc .lv-c > .dock-pc { flex: 1 1 auto; min-height: 0; }
.lv-ctrl { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 16px; }
.lc-l { display: flex; align-items: center; gap: 10px; min-width: 0; flex-wrap: wrap; } .lc-l .step { font-size: 13px; color: var(--muted); font-weight: 600; white-space: nowrap; }
.lc-c { display: flex; gap: 8px; justify-content: center; }
.lc-b { display: inline-flex; align-items: center; gap: 6px; border: 0; background: var(--bg2); color: var(--text); font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 10px; white-space: nowrap; }
.lc-b:hover:not(:disabled) { box-shadow: 0 0 0 2px var(--hi); } .lc-b:disabled { opacity: .4; }
.lc-b svg { width: 16px; height: 16px; }
.lc-r { display: flex; justify-content: flex-end; min-width: 0; }
.lc-r .gl-pc { flex-wrap: wrap; justify-content: flex-end; }
html.pc .live-pc .gline .dir { margin-left: auto; font-size: 13px; color: var(--muted); } html.pc .live-pc .gline .dir b { color: var(--hi); }
/* 챔프 고르기: 거르기·검색 한 줄, 검색은 오른쪽 끝 짧게 */
html.pc .live-pc .pool-bar { display: flex; align-items: center; gap: 10px; flex-wrap: nowrap; }
html.pc .live-pc .pool-bar #q { order: 3; margin-left: auto; flex: 0 0 260px; width: 260px; height: 38px; }
/* 도움 탭: 알약(거르기)과 다르게 밑줄 탭 */
html.pc .dock-pc .dock-tabs { display: flex; gap: 22px; background: none; border-radius: 0; padding: 0; border-bottom: 1px solid var(--line); justify-self: stretch; }
html.pc .dock-pc .dock-tabs button { background: none; border-radius: 0; padding: 8px 2px 10px; font-size: 14px; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
html.pc .dock-pc .dock-tabs button:hover { color: var(--text); }
html.pc .dock-pc .dock-tabs button[aria-selected="true"] { background: none; color: var(--text); font-weight: 800; border-bottom-color: var(--hi); }
html.pc .dock-pc { border-top: 0; padding-top: 0; }
/* 1순위 카드 알약: 옛 휴대폰 규칙(짙은 바탕)이 덮지 않게 — 밴은 옅은 빨강, 픽은 옅은 보라 */
html.pc :is(.live-pc, .enemy-pc) .rec.first .hero .lab { background: var(--hi-bg); color: var(--hi); box-shadow: 0 0 0 1px var(--hi); }
html.pc :is(.live-pc, .enemy-pc) .rec.ban.first .hero .lab { background: var(--red-bg); color: var(--red); box-shadow: 0 0 0 1px var(--red); }
html.pc :is(.live-pc, .enemy-pc) .rec:not(.first):not(.comp) .hero .lab { background: var(--panel); color: var(--muted); }
/* 한 줄 정리 보강: 다른 줄은 줄어들지 않게(상세 줄 잘림), 라인 칸 글자 꺾임 막기 */
html.pc .lv-c > * { flex: none; }
html.pc .lv-c > .dock-pc { flex: 1 1 auto; }
.lc-l .seg button, .lc-c .lc-b, .lc-r .gl-pc { white-space: nowrap; }
.lc-r .gl-pc { flex-wrap: nowrap; } .lc-r .gl-in { width: 140px; }
@media (max-width: 1599px) {
  .lv-ctrl { gap: 10px; } .lc-l .step { display: none; }
  .lc-l .seg button { padding: 5px 9px; font-size: 12px; }
  .lc-b { padding: 6px 10px; font-size: 12px; }
  .lc-r .gl-in { width: 110px; } .lc-r .gl-pc > b { font-size: 12px; }
}
.lv-ctrl { display: flex; } .lv-ctrl .lc-l, .lv-ctrl .lc-r { flex: none; } .lv-ctrl .lc-c { flex: 1 1 auto; min-width: 0; }
/* 1순위 알약: 반투명 바탕은 초상화가 비쳐 안 보임(라이트) → 불투명 카드 바탕 + 색 글자·테두리 */
html.pc :is(.live-pc, .enemy-pc) .rec.first .hero .lab { background: var(--panel); color: var(--hi); box-shadow: 0 0 0 1.5px var(--hi); }
html.pc :is(.live-pc, .enemy-pc) .rec.ban.first .hero .lab { background: var(--panel); color: var(--red); box-shadow: 0 0 0 1.5px var(--red); }

/* 기록 수집 상태 띠 */
.cs-band { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 18px; border-radius: 14px; background: var(--bg2); font-size: 14px; }
.cs-band span { color: var(--muted); } .cs-band.run { background: var(--hi-bg); } .cs-band.run b { color: var(--hi); }
.cs-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--hi); animation: csPulse 1.2s ease-in-out infinite; flex: none; }
@keyframes csPulse { 50% { opacity: .25; } }
@media (prefers-reduced-motion: reduce) { .cs-dot { animation: none; } }
.settings-pc > .cs-wrap { grid-column: 1 / -1; }

/* 수집 범위 한 줄 */
.cs-range { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.5; } .cs-range b { color: var(--text); font-weight: 700; }
.cs-band + .cs-range { margin-top: -6px; padding: 0 4px; }

/* 편집 화면: 기록에서 자동으로 잡힌 챔프 */
.auto-h { font-size: 12px; color: var(--muted); font-weight: 600; align-self: center; margin-right: 2px; }
.auto-sep { flex-basis: 100%; height: 0; }
.chip.auto-chip { border: 1px dashed var(--line); background: transparent; color: var(--text); cursor: pointer; font: inherit; }
.chip.auto-chip:hover { border-color: var(--hi); border-style: solid; }
.chip.auto-chip .st { color: var(--muted); font-size: 11px; margin-left: 2px; }
.auto-all { border: 0; background: none; color: var(--hi); font-size: 12px; font-weight: 700; padding: 4px 6px; cursor: pointer; }

.cs-row { display: flex; align-items: center; gap: 12px 16px; flex-wrap: wrap; }
.cs-row .cs-range { flex: 1 1 520px; }
.cs-ref { display: inline-flex; align-items: center; gap: 10px; } .cs-ref .soft-b { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.cs-ref .soft-b.busy svg { animation: csSpin 1s linear infinite; } @keyframes csSpin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .cs-ref .soft-b.busy svg { animation: none; } }
.cs-band + .cs-row { margin-top: -6px; padding: 0 4px; }
.auto-h { flex-basis: 100%; }

/* ---------- 명단 등록 단계(11-19) ---------- */
.iw { max-width: 1080px; display: grid; gap: 22px; }
.iw-steps { display: flex; gap: 8px; list-style: none; margin: 0; padding: 0; counter-reset: none; }
.iw-steps li { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--muted); padding: 8px 14px 8px 8px; border-radius: 999px; background: var(--bg2); }
.iw-steps li span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--panel); font-size: 12px; font-weight: 800; }
.iw-steps li.now { color: var(--text); background: var(--hi-bg); } .iw-steps li.now span { background: var(--hi); color: #fff; }
.iw-steps li.past span { background: var(--hi-bg); color: var(--hi); }
.iw-body { display: grid; gap: 18px; background: var(--panel); border-radius: 18px; padding: 28px; }
.iw-h { margin: 0; font-size: 22px; font-weight: 800; display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; } .iw-h small { font-size: 14px; font-weight: 500; color: var(--muted); }
.iw-modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.iw-mode { display: grid; justify-items: start; gap: 8px; text-align: left; padding: 24px; border-radius: 16px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font: inherit; cursor: pointer; }
.iw-mode:hover, .iw-mode:focus-visible { border-color: var(--hi); box-shadow: 0 0 0 2px var(--hi-bg); }
.iw-mode b { font-size: 18px; } .iw-mode small { font-size: 13px; color: var(--muted); line-height: 1.5; }
.iw-ic svg { width: 32px; height: 32px; fill: none; stroke: var(--hi); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.iw-nav { display: flex; gap: 10px; justify-content: flex-end; align-items: center; flex-wrap: wrap; } .iw-nav > :first-child { margin-right: auto; }
.iw-msg { margin: 0; font-size: 14px; } .iw-msg.bad { color: var(--red); }
.iw-sum { display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap; padding: 14px 18px; border-radius: 12px; background: var(--bg2); font-size: 14px; }
.iw-sum span { color: var(--muted); } .iw-sum.bad { background: var(--red-bg); } .iw-sum.bad b { color: var(--red); } .iw-sum.good b { color: var(--hi); }
.iw-teams { display: grid; gap: 16px; }
.iw-team { border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; } .iw-team h3 { margin: 0 0 10px; font-size: 16px; display: flex; gap: 8px; align-items: center; }
.iw-tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.iw-tbl th, .iw-tbl td { padding: 8px 10px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.iw-tbl thead th { border-top: 0; font-size: 12px; color: var(--muted); font-weight: 600; } .iw-tbl tbody th { width: 64px; font-weight: 700; padding-top: 16px; }
.iw-tbl .iw-pool { width: 34%; } .iw-pool .cp { margin: 2px 4px 2px 0; }
.iw-accs { display: grid; gap: 6px; }
.iw-acc { display: grid; grid-template-columns: minmax(0, 1fr) 28px; align-items: center; gap: 8px; }
.iw-acc .input { height: 38px; } .iw-acc.bad .input { border-color: var(--red); box-shadow: 0 0 0 1px var(--red); }
.iw-acc .iw-canon { grid-column: 1 / -1; font-size: 12px; color: var(--muted); }
.iw-st { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 13px; font-weight: 800; background: var(--bg2); color: var(--muted); }
.iw-st.ok { background: var(--hi-bg); color: var(--hi); } .iw-st.no { background: var(--red-bg); color: var(--red); }
.iw-done { justify-items: start; } .iw-ok { color: var(--hi); }
@media (max-width: 1599px) { .iw-body { padding: 22px; } .iw-mode { padding: 18px; } }

.iw-team > summary { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; cursor: pointer; list-style: none; font-size: 15px; }
.iw-team > summary::-webkit-details-marker { display: none; }
.iw-team > summary::before { content: ""; width: 7px; height: 7px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(-45deg); margin-right: 4px; transition: transform .15s; }
.iw-team[open] > summary::before { transform: rotate(45deg); } .iw-team[open] > summary { margin-bottom: 10px; }
.iw-tst { font-size: 13px; font-weight: 700; color: var(--muted); } .iw-tst.ok { color: var(--hi); } .iw-tst.bad { color: var(--red); }
.iw-who { flex-basis: 100%; font-size: 13px; color: var(--muted); padding-left: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.iw-team[open] .iw-who { display: none; }
@media (prefers-reduced-motion: reduce) { .iw-team > summary::before { transition: none; } }
/* 티어 못 받은 계정 목록 */
.tq-fails { border-radius: 12px; background: var(--red-bg); padding: 12px 16px; font-size: 14px; }
.tq-fails summary { cursor: pointer; font-weight: 700; color: var(--red); }
.tq-fails ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.tq-fails li .dim { margin-left: 6px; }

/* 기록 갱신 아이콘 버튼(11-19) */
.cs-row { flex-wrap: nowrap; gap: 8px; } .cs-row .cs-range { flex: 0 1 auto; }
.cs-rb { width: 32px; height: 32px; display: inline-grid; place-items: center; border: 0; border-radius: 50%; background: var(--bg2); color: var(--muted); cursor: pointer; flex: none; }
.cs-rb:hover:not(:disabled) { color: var(--hi); box-shadow: 0 0 0 2px var(--hi); }
.cs-rb.busy svg { animation: csSpin 1s linear infinite; } .cs-rb.done { color: var(--hi); background: var(--hi-bg); } .cs-rb.bad { color: var(--red); }
@media (prefers-reduced-motion: reduce) { .cs-rb.busy svg { animation: none; } }

/* 우리 팀 보기 화면(11-19) */
.sd-bar .h-h { margin: 0; }
.tv { display: grid; }
.tv-r { display: grid; grid-template-columns: 56px minmax(180px, 260px) minmax(0, 1fr); gap: 16px; align-items: center; padding: 14px 0; border-top: 1px solid var(--line); }
.tv-r:first-child { border-top: 0; }
.tv-l { font-size: 14px; } .tv-who { display: grid; gap: 4px; min-width: 0; }
.tv-n { font-weight: 800; font-size: 16px; color: var(--text); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .tv-n small { font-weight: 500; color: var(--muted); margin-left: 2px; } .tv-n:hover { color: var(--hi); }
.tv-alt { display: flex; align-items: baseline; gap: 6px; min-width: 0; font-size: 14px; font-weight: 700; color: var(--text); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .tv-alt small { font-weight: 500; color: var(--muted); } .tv-alt i { font-style: normal; font-size: 11px; font-weight: 600; padding: 1px 6px; border-radius: 999px; background: var(--bg2); color: var(--muted); flex: none; } .tv-alt:hover { color: var(--hi); } .tv-t { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--muted); }
.tv-pool { gap: 6px; }
.hovercard { overflow: hidden; }

/* 편집 칸: 티어는 보기만, 부계정 지우기(11-19) */
.sd-rkv { display: flex; gap: 18px; flex-wrap: wrap; margin: 2px 0 6px; font-size: 14px; font-weight: 600; } .sd-rkv.dim { font-weight: 400; font-size: 13px; color: var(--muted); }
.sd-rkq { display: inline-flex; align-items: center; gap: 6px; } .sd-rkq small { color: var(--muted); font-weight: 500; margin-right: 2px; }
.sd-altw { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: end; }
.sd-altdel { width: 40px; height: 44px; border: 0; border-radius: 10px; background: var(--bg2); color: var(--muted); display: grid; place-items: center; cursor: pointer; }
.sd-altdel:hover { color: var(--red); background: var(--red-bg); } .sd-altdel svg { width: 16px; height: 16px; stroke: currentColor; stroke-width: 2; fill: none; }

/* 승률 우위(11-19 B): 카운터보다 연하게, 점선 */
.e-edge > small { color: var(--hi); font-weight: 600; opacity: .85; }
.e-mi.edge { display: inline-flex; align-items: center; gap: 6px; padding: 2px 8px 2px 2px; border-radius: 999px; border: 1px dashed var(--line); margin: 2px 6px 2px 0; }
.e-mi.edge small { font-size: 12px; color: var(--muted); white-space: nowrap; }

/* 11-19: 되돌리기·밴 넘기기 = 제목 줄 오른쪽, 호버 카드 = 추천 카드 오른쪽 두 칸 */
html.pc .live-pc .dstat-act.pc-act { order: 3; margin-left: auto; display: flex; gap: 8px; }
html.pc .live-pc .dstat-act.pc-act .lc-b { background: var(--bg2); color: var(--text); }
.dstat-act.pc-act { display: none; } html.pc .dstat-act.pc-act { display: flex; }
.hovercard.hc-wide { width: 600px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 18px; overflow: hidden; }
.hovercard.hc-wide .hc-h { grid-column: 1 / -1; }
.hovercard.hc-wide li:nth-child(n+3) { display: none; }
/* ---------- 공부자료(11-19): 이론 학습 / 문제 풀이 · 라인별·운영 ---------- */
.study-pc { display: grid; gap: 18px; }
.st-bar .st-mode button { min-width: 110px; font-size: 15px; }
.st-grid { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 24px; align-items: start; }
.st-nav { display: grid; gap: 4px; position: sticky; top: 16px; }
.st-nav button { display: flex; justify-content: space-between; align-items: center; border: 0; background: none; padding: 12px 14px; border-radius: 12px; font: inherit; font-size: 16px; font-weight: 700; color: var(--muted); cursor: pointer; text-align: left; }
.st-nav button small { font-size: 12px; font-weight: 600; color: var(--dim); }
.st-nav button:hover { background: var(--bg2); color: var(--text); }
.st-nav button[aria-pressed="true"] { background: var(--panel); color: var(--text); box-shadow: 0 0 0 1px var(--line); } .st-nav button[aria-pressed="true"] small { color: var(--hi); }
.st-main { display: grid; gap: 18px; min-width: 0; }
.st-topics { display: flex; gap: 6px 18px; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.st-topics button { border: 0; background: none; padding: 8px 2px 10px; font: inherit; font-size: 14px; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; cursor: pointer; }
.st-topics button small { font-size: 11px; color: var(--dim); }
.st-topics button[aria-pressed="true"] { color: var(--text); font-weight: 800; border-bottom-color: var(--hi); }
.st-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(380px, 1fr)); gap: 16px; }
.st-card { background: var(--panel); border-radius: 16px; padding: 20px 22px; display: grid; gap: 10px; align-content: start; }
.st-card h3 { margin: 0; font-size: 18px; line-height: 1.35; }
.st-tag { justify-self: start; font-size: 12px; font-weight: 700; color: var(--hi); background: var(--hi-bg); padding: 3px 10px; border-radius: 999px; }
.st-sum { margin: 0; font-size: 15px; line-height: 1.6; }
.st-pts { margin: 0; padding-left: 18px; display: grid; gap: 6px; font-size: 14px; line-height: 1.55; color: var(--text); }
.st-when, .st-mis { margin: 0; font-size: 13px; line-height: 1.55; color: var(--muted); } .st-when b, .st-mis b { margin-right: 8px; color: var(--text); } .st-mis b { color: var(--red); }
.st-foot { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-top: 4px; }
.st-src { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); text-decoration: none; background: var(--bg2); padding: 5px 10px; border-radius: 999px; max-width: 100%; }
.st-src span { font-weight: 700; color: var(--text); white-space: nowrap; } .st-src small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.st-src:hover { box-shadow: 0 0 0 1px var(--hi); } .st-src svg { width: 14px; height: 14px; flex: none; }
.st-empty { padding: 30px 0; }
.st-q { background: var(--panel); border-radius: 18px; padding: 28px; display: grid; gap: 16px; max-width: 920px; }
.st-qh { display: flex; gap: 12px; align-items: center; } .st-qh b { font-size: 14px; color: var(--muted); }
.st-sit { margin: 0; font-size: 15px; line-height: 1.7; background: var(--bg2); border-radius: 12px; padding: 14px 16px; }
.st-qq { margin: 0; font-size: 20px; line-height: 1.45; }
.st-opts { display: grid; gap: 10px; }
.st-opt { display: flex; gap: 12px; align-items: center; text-align: left; border: 1px solid var(--line); background: var(--bg); border-radius: 12px; padding: 13px 16px; font: inherit; font-size: 15px; color: var(--text); cursor: pointer; line-height: 1.5; }
.st-opt span { width: 26px; height: 26px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--bg2); font-size: 13px; font-weight: 800; }
.st-opt:hover:not(:disabled) { border-color: var(--hi); } .st-opt:disabled { cursor: default; }
.st-opt.ok { border-color: var(--good); background: var(--good-bg); } .st-opt.ok span { background: var(--good); color: #fff; }
.st-opt.bad { border-color: var(--red); background: var(--red-bg); } .st-opt.bad span { background: var(--red); color: #fff; }
.st-why { border-radius: 12px; padding: 14px 16px; display: grid; gap: 6px; font-size: 14px; line-height: 1.6; } .st-why p { margin: 0; }
.st-why.ok { background: var(--good-bg); } .st-why.ok b { color: var(--good); } .st-why.bad { background: var(--red-bg); } .st-why.bad b { color: var(--red); }
.st-end { justify-items: start; } .st-end h2 { margin: 0; }
@media (max-width: 1599px) { .st-grid { grid-template-columns: 150px minmax(0, 1fr); gap: 18px; } .st-cards { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); } }

/* 추천 카드: 글씨가 카드 밖으로 안 나가게(11-19) — 줄마다 카드 폭 안에서 말줄임 */
html.pc :is(.live-pc, .enemy-pc) .rec { min-width: 0; overflow: hidden; }
html.pc :is(.live-pc, .enemy-pc) .rec :is(.why, .nm) { max-width: 100%; min-width: 0; }
html.pc :is(.live-pc, .enemy-pc) .rec :is(.rl, .ans) { max-width: 100%; min-width: 0; overflow: hidden; }
html.pc :is(.live-pc, .enemy-pc) .rec .rl > span:last-child, html.pc :is(.live-pc, .enemy-pc) .rec .ans > span, html.pc :is(.live-pc, .enemy-pc) .rec .rec-who { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }
html.pc :is(.live-pc, .enemy-pc) .rec .rec-who { display: block; }
html.pc :is(.live-pc, .enemy-pc) .rec .rl > span:last-child, html.pc :is(.live-pc, .enemy-pc) .rec .ans > span, html.pc :is(.live-pc, .enemy-pc) .rec .rec-who { white-space: normal; text-overflow: clip; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; word-break: keep-all; }
html.pc :is(.live-pc, .enemy-pc) .rec :is(.rl, .ans) { align-items: flex-start; }

/* 이론 지도 보기(11-19) */
.st-tv { align-items: start; } .st-tv-r { display: grid; gap: 12px; align-content: start; }
.st-play { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; } .st-play .dim { font-size: 13px; }
.n-new.sm { padding: 6px 12px; font-size: 13px; display: inline-flex; align-items: center; gap: 6px; } .n-new.sm svg { width: 14px; height: 14px; }

/* 팀원 포지션(11-19) */
.rp-card { display: grid; gap: 14px; padding: 18px 20px; border-radius: 16px; background: var(--hi-bg); box-shadow: 0 0 0 1px var(--hi); }
.rp-card > div:first-child { display: grid; gap: 4px; } .rp-card b { font-size: 16px; }
.rp-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.rp-b { display: grid; justify-items: center; gap: 2px; min-width: 92px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--panel); color: var(--text); font: inherit; cursor: pointer; }
.rp-b b { font-size: 15px; } .rp-b small { font-size: 12px; color: var(--muted); max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rp-b:hover { border-color: var(--hi); box-shadow: 0 0 0 1px var(--hi); }
.mr-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.mr-list li { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.mr-n { display: inline-flex; align-items: center; gap: 6px; min-width: 0; } .mr-n b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mr-n small { font-size: 11px; padding: 1px 6px; border-radius: 999px; background: var(--bg2); color: var(--muted); } .mr-n .mr-own { background: var(--hi-bg); color: var(--hi); }
.mr-sel { width: 96px; height: 34px; padding: 0 8px; }
.mr-act { display: inline-flex; align-items: center; gap: 6px; }
.mr-kick { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 8px; background: transparent; color: var(--muted); cursor: pointer; }
.mr-kick-sp { width: 30px; flex: none; }
.mr-kick:hover, .mr-kick:focus-visible { color: var(--bad, #d14343); border-color: currentColor; } .mr-r { font-size: 14px; font-weight: 600; color: var(--muted); }
.tv-l { display: grid; gap: 2px; } .tv-mem { font-size: 11px; font-weight: 600; color: var(--hi); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 56px; }

/* 상대 챔프폭 편집 창: 부계정(11-20) */
.ed-alts { display: grid; gap: 6px; margin: 4px 0 6px 52px; }
.ed-alt-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; }
.ed-alt-row .input { height: 38px; } .ed-alt-row .sd-altdel { height: 38px; width: 38px; }
.ed-alts .sd-altadd { justify-self: start; } .ed-alts .ed-chk { margin: 0; font-size: 13px; }
.ed-who small { color: var(--muted); font-weight: 500; margin-left: 2px; }
/* 상대 요약 한 줄(11-20): 운영 방향이 길어도 요주의 인물은 같은 줄 오른쪽 — 운영 방향은 남는 폭에서 줄바꿈 */
html.pc .e-sum { flex-wrap: nowrap; gap: 32px; }
html.pc .e-sum > .e-k { flex: none; }
html.pc .e-sum > .e-dir { flex: 1 1 auto; min-width: 180px; }
html.pc .e-sum > .e-dir > b { line-height: 1.45; word-break: keep-all; overflow-wrap: anywhere; }
html.pc .e-thr { flex: none; max-width: 52%; gap: 20px; }
html.pc .e-thr .e-t { min-width: 0; } html.pc .e-thr .e-t small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: block; max-width: 230px; }
@media (max-width: 1599px) { html.pc .e-sum { gap: 22px; } html.pc .e-thr { max-width: 46%; } html.pc .e-thr .e-t small { max-width: 170px; } }
html.pc .e-thr .e-t > span { min-width: 0; display: grid; } html.pc .e-thr .e-t b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 230px; }
@media (max-width: 1599px) { html.pc .e-thr .e-t b { max-width: 170px; } }

/* 사이드바 정리(11-20): 상대 팀은 5개 높이 안에서 스크롤, 아래엔 다크 모드·로그아웃, 프로필·설정은 오른쪽 위 */
html.pc #side { overflow-y: auto; }   /* 상대 팀 목록이 5개 높이로 줄어 보통 화면에선 사이드바가 안 넘침 */
.sd-opp { display: grid; gap: 2px; max-height: calc(5 * 48px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; margin-right: -6px; padding-right: 6px; }
.sd-foot { display: grid; gap: 8px; }
.sd-out { justify-self: center; border: 0; background: none; color: var(--muted); font: inherit; font-size: 13px; text-decoration: underline; text-underline-offset: 3px; padding: 6px 12px; border-radius: 8px; cursor: pointer; }
.sd-out:hover { color: var(--red); }
a.sd-out:hover { color: var(--hi); }
.mh-r { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.hd-me { display: inline-flex; align-items: center; gap: 8px; margin-left: 6px; }
.hd-set[aria-pressed="true"] { color: var(--hi); }
.hd-prof { position: relative; width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--hi); color: var(--on-gold, #fff); font: inherit; font-size: 15px; font-weight: 800; display: grid; place-items: center; cursor: pointer; flex: none; }
.hd-prof:hover { box-shadow: 0 0 0 3px var(--hi-bg); }
.hd-prof i { position: absolute; right: -2px; bottom: -2px; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--bg); background: var(--muted); }
.hd-prof i.pv-naver { background: #03C75A; } .hd-prof i.pv-google { background: #fff; box-shadow: inset 0 0 0 3px #4285F4; } .hd-prof i.pv-kakao { background: #FEE500; } .hd-prof i.pv-apple { background: #000; }
.hd-login { border: 0; background: var(--hi); color: var(--on-gold, #fff); font: inherit; font-weight: 700; font-size: 14px; padding: 8px 16px; border-radius: 999px; cursor: pointer; }
/* 실시간 밴픽은 한 화면 안에(11-20 사용자 지적: 5번째 줄이 잘리고 페이지가 스크롤됨) — 높이를 화면에 맞추고 슬롯 크기를 화면 높이에 따라 줄임, 챔프 목록만 안에서 스크롤 */
html.pc .live-pc { min-height: 0; height: calc(100vh - 96px - 32px); }
html.pc body:has(.live-pc) > footer { display: none; }
html.pc .live-pc .side { grid-template-rows: auto auto repeat(5, minmax(0, 1fr)); overflow: hidden; }
html.pc .live-pc .slot-pick { min-height: 0; }
html.pc .live-pc .slot-pick .ic { width: clamp(40px, 6.4vh, 64px); height: clamp(40px, 6.4vh, 64px); }
html.pc .live-pc .slot-pick .cn { font-size: clamp(13px, 1.7vh, 16px); }
html.pc .live-pc .lv-c { min-height: 0; overflow: hidden; }
html.pc .live-pc .lv-c > .dock-pc { min-height: 0; overflow: hidden; }
@media (max-height: 860px) {
  html.pc :is(.live-pc) .rec .hero { height: 84px; } html.pc .live-pc .rec .hero .ic { width: 68px; height: 68px; } html.pc .live-pc .rec.first .hero .ic { width: 80px; height: 80px; }
  html.pc .live-pc .lv-c { gap: 10px; }
}

/* 사이드바 아이콘 안내: 사이드바 안쪽(버튼 위)에 띄워 잘리지 않게(11-20) */
html.pc #side :is(.sd-tm-inv, .sd-tm-x, .sd-sec button)[data-tip]:hover::after, html.pc #side :is(.sd-tm-inv, .sd-tm-x, .sd-sec button)[data-tip]:focus-visible::after { left: auto; right: 0; top: auto; bottom: calc(100% + 6px); transform: none; white-space: nowrap; }
/* 실시간 밴픽: 남은 페이지 스크롤 없애기 */
html.pc .live-pc { height: calc(100vh - 96px - 64px); }

/* ---------- 11-20: 사이드바 살짝 좁게 · 실시간 밴픽 양 팀 칸 넓게, 고리·점이 잘리지 않게, 짧은 화면에서 추천 카드 줄여 챔프 격자 확보 ---------- */
html.pc body { grid-template-columns: 248px minmax(0, 1fr); }
html.pc .live-pc { grid-template-columns: 248px minmax(0, 1fr) 264px; }
@media (max-width: 1599px) {
  html.pc body { grid-template-columns: 212px minmax(0, 1fr); }
  html.pc #side { padding: 22px 12px; }
  html.pc .live-pc { grid-template-columns: 200px minmax(0, 1fr) 212px; }
}
/* overflow:hidden 칸 안의 강조 고리(밴 차례·지금 픽)·제목 점이 가장자리에서 잘리던 것: 안쪽 여백만큼 바깥으로 넓힘 */
html.pc .live-pc .side { padding: 6px; margin: -6px; }
html.pc .live-pc .lv-c { padding: 0 8px; margin: 0 -8px; }
html.pc .mh-r { gap: 10px; }
/* 화면 높이가 낮으면 추천 카드를 줄여 아래 챔프 격자가 두세 줄은 보이게(사용자 지적: 격자가 한두 줄뿐이라 스크롤 막대가 탭 옆에 붙어 보임) */
@media (max-height: 1000px) {
  html.pc .live-pc .rec .hero { height: 76px; } html.pc .live-pc .rec .hero .ic { width: 60px; height: 60px; } html.pc .live-pc .rec.first .hero .ic { width: 70px; height: 70px; }
  html.pc .live-pc .rec .nm { margin-top: 4px; } html.pc .live-pc .rec .cn { font-size: 15px; }
  html.pc .live-pc .rec .why > :nth-child(n+2) { display: none; }
  html.pc .live-pc .rec { padding-bottom: 6px; gap: 4px; }
  html.pc .live-pc .lv-c { gap: 10px; }
}
@media (max-height: 800px) {
  html.pc .live-pc .rec .hero { height: 62px; } html.pc .live-pc .rec .hero .ic { width: 50px; height: 50px; } html.pc .live-pc .rec.first .hero .ic { width: 56px; height: 56px; }
  html.pc .live-pc .rec .why { display: none; }
  html.pc .live-pc .rec .lab { font-size: 10px; padding: 1px 6px; }
}
/* 챔프 격자 스크롤 막대: 얇게, 탭 줄과 떨어지게 */
html.pc .dock-pc .champs { scrollbar-width: thin; scrollbar-gutter: stable; }
/* 사이드바 상대 팀 목록: 가로 스크롤 막대가 생기지 않게 */
.sd-opp { overflow-x: hidden; } #side .sd-tm { box-sizing: border-box; }
/* 호버 카드: 넓은 카드는 칸마다 챔프 4개까지 */
.hovercard.hc-wide li:nth-child(n+3) { display: flex; }
.hovercard.hc-wide li:nth-child(n+5) { display: none; }
/* 감사(11-20): 좁은 PC에서 공부자료 카드 3열·상대 요약 줄이 화면 밖으로 넘치던 것 */
.st-grid > *, .st-cards > * { min-width: 0; }
.st-cards { grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); }
html.pc .e-thr { flex: 0 1 auto; min-width: 0; } html.pc .e-thr .e-t { flex: 0 1 auto; }
.st-card { grid-template-columns: minmax(0, 1fr); }

/* ---------- 11-20: 추천 카드 강조 칩(흰색 상세 줄 대신 카드 안에 추천 사유 3~4개) ---------- */
html.pc :is(.live-pc, .enemy-pc) .rec .why.rchips { display: flex; flex-wrap: wrap; justify-content: center; align-content: flex-start; gap: 4px; padding: 0 4px; max-width: 100%; }
html.pc :is(.live-pc, .enemy-pc) .rec .why.rchips > .rc { display: inline-flex; align-items: center; gap: 4px; max-width: 100%; min-width: 0; padding: 3px 9px 3px 6px; border-radius: 999px; font-size: 12px; font-weight: 600; line-height: 1.3; white-space: nowrap; background: var(--panel2); color: var(--text); }
html.pc :is(.live-pc, .enemy-pc) .rec .rc > span { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
html.pc :is(.live-pc, .enemy-pc) .rec .rc .lbi { flex: none; }
/* 높이가 낮은 화면: 칩은 두 줄까지(4개), 아주 낮으면 한 줄(2개) — 예전처럼 이유를 통째로 숨기지 않음 */
@media (max-height: 1000px) {
  html.pc .live-pc .rec .why.rchips > .rc { display: inline-flex; font-size: 11.5px; padding: 2px 8px 2px 5px; }
  html.pc .live-pc .rec .why.rchips { max-height: 90px; overflow: hidden; }
}
@media (max-height: 800px) {
  html.pc .live-pc .rec .why.rchips { display: flex; max-height: 42px; }
  html.pc .live-pc .rec .why.rchips > .rc { order: 2; } html.pc .live-pc .rec .why.rchips > .rc:first-child { order: 0; } html.pc .live-pc .rec .why.rchips > .rc.k-bad { order: 1; }
  /* 두 개만 보일 때는 가장 강한 이유 + 경고(빨강) */
}
/* 사전 밴 후보 카드 = 누르면 자세히 보기 */
html.pc .enemy-pc .rec { cursor: pointer; }
/* 라인별 상대 챔프: 누르면 자세히 보기 */
html.pc .l5 button.l5-c { font: inherit; color: inherit; text-align: left; background: none; border: 0; padding: 4px 6px; margin: -4px -6px; border-radius: 12px; cursor: pointer; width: calc(100% + 12px); }
html.pc .l5 button.l5-c:hover { background: var(--hi-bg); }
html.pc .l5 button.l5-c:focus-visible { outline: 2px solid var(--hi); outline-offset: 0; }

/* 상대 챔프 자세히 보기 모달 */
html.pc .modal.chd { width: min(720px, 100%); background: var(--panel); border: 0; border-radius: 20px; padding: 24px; display: grid; gap: 18px; color: var(--text); }
html.pc .ic.xl { width: 72px; height: 72px; border-radius: 50%; flex: none; }
.chd .cd-h { display: flex; align-items: center; gap: 16px; }
.chd .cd-hm { flex: 1; min-width: 0; }
.chd .cd-h h2 { margin: 0; font-size: 22px; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.chd .cd-h h2 .pos { font-size: 14px; color: var(--muted); font-weight: 600; }
.chd .cd-rk { font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 999px; background: var(--red); color: #fff; align-self: center; }
.chd .cd-h p { margin: 4px 0 0; color: var(--muted); font-size: 14px; } .chd .cd-h p a { color: var(--text); font-weight: 700; }
.chd .cd-kvs { display: flex; flex-wrap: wrap; gap: 8px; }
.chd .cd-kv { display: grid; gap: 2px; padding: 10px 14px; border-radius: 14px; background: var(--panel2); min-width: 96px; }
.chd .cd-kv small { font-size: 12px; color: var(--muted); font-weight: 600; } .chd .cd-kv b { font-size: 15px; }
.chd .cd-kv.threat { background: var(--red-bg); } .chd .cd-kv.threat b { color: var(--red); font-weight: 800; }
.chd .cd-sec h3 { margin: 0 0 10px; font-size: 15px; }
.chd .cd-rs { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.chd .cd-rs li { display: grid; grid-template-columns: 18px auto minmax(0, 1fr); align-items: center; gap: 8px; font-size: 14px; }
.chd .cd-rs li b { white-space: nowrap; } .chd .cd-rs li span { color: var(--muted); }
.chd .cd-rs li.bad b, .chd .cd-rs li.bad span { color: var(--red); }
.chd .cd-ans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; }
.chd .cd-g h4 { margin: 0 0 8px; font-size: 13px; color: var(--muted); }
.chd .cd-g h4.good { color: var(--good); } .chd .cd-g h4.bad { color: var(--red); } .chd .cd-g h4.hi { color: var(--hi); }
.chd .cd-chs { display: grid; gap: 6px; }
.chd .cd-ch { display: flex; align-items: center; gap: 8px; min-width: 0; }
.chd .cd-ch > span { display: grid; min-width: 0; } .chd .cd-ch b { font-size: 14px; } .chd .cd-ch small { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chd .cd-g .help { margin: 0; font-size: 13px; }
@media (max-width: 760px) { .chd .cd-ans { grid-template-columns: minmax(0, 1fr); } }

/* 11-20 사용자 지적: 화면 높이가 낮을 때 초상화가 카드 위로 튀어나감 — 초상화 칸(hero)만 줄고 초상화(.ic.hero, 더 강한 규칙)는 84·100px 그대로였음. 같은 강도로 함께 줄임 */
@media (max-height: 1000px) {
  html.pc .live-pc .rec .hero .ic.hero { width: 60px; height: 60px; }
  html.pc .live-pc .rec.first .hero .ic.hero { width: 70px; height: 70px; }
}
@media (max-height: 800px) {
  html.pc .live-pc .rec .hero .ic.hero { width: 50px; height: 50px; }
  html.pc .live-pc .rec.first .hero .ic.hero { width: 56px; height: 56px; }
}

/* 11-20 칩 색 = 뜻(사용자 요청): 조합 파랑 · 카운터 초록 · 숙련도·기록 보라 · 메타 주황 · 주의 빨강. 옅은 바탕 + 같은 색 글자, 기준 넘는 기록은 같은 색으로 꽉 채움 */
:root { --k-comp: #0277B6; --k-ctr: #15803D; --k-rec: #7C3AED; --k-meta: #C2410C; --k-bad: #D42F3C; --k-on: #FFFFFF; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --k-comp: #4CC3F5; --k-ctr: #4FD68C; --k-rec: #B79CFF; --k-meta: #FFA35C; --k-bad: #FF5468; --k-on: #121216; } }
:root[data-theme="dark"] { --k-comp: #4CC3F5; --k-ctr: #4FD68C; --k-rec: #B79CFF; --k-meta: #FFA35C; --k-bad: #FF5468; --k-on: #121216; }
html.pc .k-comp { --k: var(--k-comp); } html.pc .k-ctr { --k: var(--k-ctr); } html.pc .k-rec { --k: var(--k-rec); } html.pc .k-meta { --k: var(--k-meta); } html.pc .k-bad { --k: var(--k-bad); }
html.pc :is(.live-pc, .enemy-pc) .rec .why.rchips > .rc { background: color-mix(in srgb, var(--k, var(--muted)) 13%, transparent); color: var(--k, var(--text)); }
html.pc :is(.live-pc, .enemy-pc) .rec .why.rchips > .rc.rc-strong { background: var(--k); color: var(--k-on); font-weight: 800; }
html.pc :is(.live-pc, .enemy-pc) .rec .why.rchips > .rc.rc-threat { background: var(--k-bad); color: var(--k-on); }
/* 카드 바탕이 색(1순위·조합)이어도 칩 색이 묻히지 않게 */
html.pc :is(.live-pc, .enemy-pc) .rec:is(.first, .comp) .why.rchips > .rc:not(.rc-strong) { background: color-mix(in srgb, var(--k, var(--muted)) 16%, var(--panel)); }
/* 자세히 보기 모달의 이유 줄도 같은 색 */
.chd .cd-rs li[class*="k-"] b { color: var(--k); }

/* 11-20: 계정 추천 창 — 지금 쓰는 칸 바로 아래(위치는 app.js edSuggest가 칸에 맞춤), ↑↓로 고른 줄 표시 */
.sd-acc .ed-sug { max-height: 300px; overflow-y: auto; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12); }
.ed-s.cur { background: var(--panel2); }

/* 11-20 사용자 요청: 라인 다섯 칸(로스터·챔프폭, 라인별 상대) 사이를 가운데 짧은 세로선으로 구분 — 칸 높이의 가운데 절반, 칸 사이 간격 한가운데 */
html.pc .lane5 > .l5 { position: relative; }
html.pc .lane5 > .l5 + .l5::before { content: ""; position: absolute; left: var(--ll, -14px); top: 25%; bottom: 25%; width: 1px; background: var(--line); pointer-events: none; }

/* 11-20: 계정 티어 옆 「최고 다이아 2」(2년 내 최고가 현재보다 높을 때) */
.sd-pk { margin-left: 6px; padding: 1px 7px; border-radius: 999px; font-size: 11px; font-weight: 700; background: var(--hi-bg); color: var(--hi); white-space: nowrap; }

/* 11-20: 선수 티어 한 줄 — 티어 로고 + 「골드 2」 + 솔랭/자랭 알약 + 판수·승률 */
html.pc .l5-s { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; min-height: 20px; }
.l5-t { display: inline-flex; align-items: center; gap: 5px; } .l5-t .tier-ic { flex: none; }
.l5-t b { color: var(--text); font-weight: 700; }
.l5-q { font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: 999px; background: var(--panel2); color: var(--muted); }
.l5-dot { color: var(--dim); }

/* 11-20: 실시간 밴픽 같이 보기 — 진행 줄 가운데(PC)·머리 아래(휴대폰): 상태 점 + 진행자·보는 사람 + 진행 맡기·혼자 하기 */
.livebar { display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 0; font-size: 12px; }
.lvb { display: inline-flex; align-items: center; gap: 6px; min-width: 0; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lvb > span { overflow: hidden; text-overflow: ellipsis; }
.lvb .ico { width: 15px; height: 15px; flex: none; }
.lvb.on { color: var(--text); font-weight: 600; }
.lvb-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--good); box-shadow: 0 0 0 3px var(--good-bg); }
.lvb.me .lvb-dot { background: var(--hi, var(--gold)); box-shadow: 0 0 0 3px var(--hi-bg, var(--gold-bg)); }
.lvb-b { flex: none; border: 0; border-radius: 999px; padding: 4px 10px; font: inherit; font-size: 12px; font-weight: 700; background: var(--panel2); color: var(--text); cursor: pointer; white-space: nowrap; }
.lvb-b.primary { background: var(--hi, var(--gold)); color: var(--on-gold, #fff); }
.lvb-b:focus-visible { outline: 2px solid var(--hi, var(--gold)); outline-offset: 2px; }
.mv-livebar { justify-content: flex-start; flex-wrap: wrap; padding: 6px 2px; }

/* 11-20 사용자 지적: 블루(왼쪽) 픽 칸의 챔프 이름이 가운데 정렬을 물려받아 초상화에서 떨어져 보임 — 레드(오른쪽)처럼 초상화 쪽으로 붙임 */
html.pc .live-pc .side.B .slot-pick { text-align: left; }

/* 11-20 사용자 요청: 진영 머리 — 블루·레드 글자는 빼고(색으로 구분) 우리 쪽에만 「우리」를 팀 이름 바로 옆에. 레드는 오른쪽에서부터 */
html.pc .live-pc .side-h { justify-content: flex-start; align-items: center; gap: 8px; min-width: 0; }
html.pc .live-pc .side.R .side-h { flex-direction: row-reverse; }
html.pc .live-pc .side-h .nm { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html.pc .live-pc .side-h .tag.our { flex: none; font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 999px; background: var(--blue-bg); color: var(--blue); }
html.pc .live-pc .side.R .side-h .tag.our { background: var(--red-bg); color: var(--red); }
/* 남는 자리만큼 양쪽 칸을 줄이고 가운데 밴픽을 넓힘(밴 다섯 칸 180px은 그대로 들어감) */
html.pc .live-pc { grid-template-columns: 216px minmax(0, 1fr) 216px; }
@media (max-width: 1599px) { html.pc .live-pc { grid-template-columns: 192px minmax(0, 1fr) 192px; } }
/* 11-20 사용자 요청: 사이드바도 여유가 있어 줄이고(긴 팀 이름은 「…」+ 마우스 올리면 전체) 그만큼 가운데를 넓힘 */
html.pc body { grid-template-columns: 220px minmax(0, 1fr); }
html.pc #side { padding-left: 14px; padding-right: 14px; }
@media (max-width: 1599px) {
  html.pc body { grid-template-columns: 200px minmax(0, 1fr); }
  html.pc #side { padding-left: 8px; padding-right: 8px; }
}

/* 11-20: 명단 등록 진행 화면 — 화면 전체를 덮고(뒤는 inert) 진행 막대·예상 남은 시간 */
.iq { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px; background: var(--bg, #0d0d0f); }   /* 받기 전에는 뒤 화면을 아예 안 보이게(사용자 요청) */
.iq-box { width: min(440px, 100%); display: grid; gap: 10px; justify-items: center; text-align: center; padding: 28px 24px; border-radius: 20px; background: var(--panel); color: var(--text); box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18); }
.iq-box h2 { margin: 4px 0 0; font-size: 20px; }
.iq-box p { margin: 0; font-size: 14px; color: var(--text); } .iq-box .help { color: var(--muted); font-size: 12.5px; line-height: 1.5; }
.iq-bar { width: 100%; height: 8px; border-radius: 999px; background: var(--panel2); overflow: hidden; }
.iq-bar i { display: block; height: 100%; border-radius: 999px; background: var(--hi, var(--gold)); transition: width .4s ease; }
.iq-eta b { color: var(--hi, var(--gold)); }
.iq-spin { width: 34px; height: 34px; border-radius: 50%; border: 3px solid var(--panel2); border-top-color: var(--hi, var(--gold)); animation: iqspin 0.9s linear infinite; }
@keyframes iqspin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .iq-spin { animation: none; } .iq-bar i { transition: none; } }
/* 11-20 사용자 지적: 차례 제목 앞 점의 퍼지는 원(16px)이 가운데 칸 왼쪽에서 잘림 — 안쪽 여유를 늘리고 같은 만큼 바깥으로(내용 위치는 그대로) */
html.pc .live-pc .lv-c { padding: 0 18px; margin: 0 -18px; }
@media (max-width: 1599px) { html.pc .live-pc .lv-c { padding: 0 16px; margin: 0 -16px; } }
.lvb.wait.bad { color: var(--red); font-weight: 600; }
.iq-steps { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 6px; justify-items: start; text-align: left; font-size: 13px; color: var(--muted); }
.iq-steps li { display: flex; align-items: center; gap: 8px; } .iq-steps li span { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 800; background: var(--panel2); color: var(--muted); flex: none; }
.iq-steps li.on { color: var(--text); font-weight: 700; } .iq-steps li.on span { background: var(--hi, var(--gold)); color: var(--on-gold, #fff); }
.iq-steps li.ok span { background: var(--good-bg); color: var(--good); }
.lvb-dot.off { background: var(--red); box-shadow: 0 0 0 3px var(--red-bg); }

/* 11-20 사용자 요청: 넓은 화면은 추천 카드를 더(최대 10) — 최소 6칸은 항상 한 줄, 남는 폭은 128px 칸으로, 칸에 안 드는 카드는 숨김(app.js fitRecs) */
html.pc .live-pc .lv-c .recs { grid-template-columns: repeat(auto-fit, minmax(min(128px, calc((100% - 5 * 12px) / 6)), 1fr)); }
@media (max-width: 1599px) { html.pc .live-pc .lv-c .recs { grid-template-columns: repeat(auto-fit, minmax(min(128px, calc((100% - 5 * 8px) / 6)), 1fr)); } }
html.pc .live-pc .lv-c .recs > .rec-over { display: none; }
html.pc .live-pc .lv-c .recs { max-width: none; }   /* 예전 최대 1000px 제한 때문에 넓은 화면 오른쪽이 비었음 */

/* 11-20 사용자 지적: 카드 초상화 아래 알약(숙련도 중 등)이 얼굴을 너무 가림 — 더 내리고 이름도 그만큼 아래로 */
html.pc :is(.live-pc, .enemy-pc) .rec .hero .lab { bottom: -14px; }
html.pc :is(.live-pc, .enemy-pc) .rec .nm { margin-top: 16px; }
/* 11-20: 실시간 밴픽을 화면 아래까지 조금 더(남던 44px 중 12px, 페이지 스크롤 없이) — 격자 줄은 app.js fitGrid가 줄 단위로 */
@media (max-width: 1599px) { html.pc .live-pc { height: calc(100vh - 96px - 52px); } }   /* 노트북 크기만(아래 여백 32px) — 큰 화면은 여백 40px라 그대로 */

/* 따로 된 로그인 페이지(11-20) — 앱 화면을 가리고 가운데 카드 하나 */
html.auth-on body > :not(#authpg):not(script):not(.toast):not(#toast) { display: none !important; }
#authpg { grid-column: 1 / -1; width: 100%; min-height: 100vh; background: var(--bg); color: var(--text); }
.ap { min-height: 100vh; display: grid; grid-template-rows: auto 1fr auto; padding: 0 16px; }
.ap-top { display: flex; align-items: center; justify-content: space-between; max-width: 1080px; width: 100%; margin: 0 auto; padding: 20px 0; }
.ap-logo { display: inline-flex; align-items: center; gap: 8px; border: 0; background: none; padding: 0; cursor: pointer; font: inherit; font-size: 22px; font-weight: 800; color: var(--text); letter-spacing: -0.02em; }
.ap-logo i { color: var(--hi); font-style: normal; }
.ap-logo svg { width: 28px; height: 28px; }
.ap-card { align-self: center; justify-self: center; width: min(420px, 100%); display: grid; gap: 14px; padding: 36px 32px 28px; margin: 24px 0 48px; background: var(--panel); border-radius: 20px; box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 12px 40px rgba(0,0,0,.08); }
.ap-card h1 { margin: 0; font-size: 26px; font-weight: 800; letter-spacing: -0.02em; text-align: center; }
.ap-sub { margin: -6px 0 10px; text-align: center; color: var(--muted); font-size: 14px; }
.ap-card .lg-foot { font-size: 12px; text-align: center; }
.ap-card .lg-msg { text-align: center; }
.ap-card .lg-two { display: grid; grid-template-columns: 1fr; gap: 12px; }
.ap-card .lg-two section { display: grid; gap: 8px; padding: 14px; border-radius: 14px; background: var(--bg2); }
.ap-card .lg-who { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0; font-size: 14px; color: var(--muted); }
.ap-skip { justify-self: center; border: 0; background: none; padding: 8px 4px; font: inherit; font-size: 14px; color: var(--muted); cursor: pointer; }
.ap-skip:hover, .ap-skip:focus-visible { color: var(--hi); }
.ap-mine { justify-self: center; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 4px 12px; margin: 0; font-size: 14px; color: var(--muted); }
.ap-foot { text-align: center; padding: 18px 0 24px; font-size: 12px; color: var(--muted); }
.ap-foot a { color: inherit; }
@media (max-width: 480px) { .ap-card { padding: 28px 20px 22px; border-radius: 16px; } .ap-card h1 { font-size: 23px; } }

/* 부계정 찾기(11-20) */
.sd-badge { margin-left: auto; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--red); color: #fff; font-size: 12px; font-weight: 800; display: inline-grid; place-items: center; }
.as-pg { display: grid; gap: 24px; max-width: 1200px; }
.as-top { margin: 0; max-width: 820px; line-height: 1.6; }
.as-sec { display: grid; gap: 12px; } .as-sec h3 { margin: 0; font-size: 17px; } .as-sec h3 small { font-size: 12px; color: var(--muted); font-weight: 600; margin-left: 6px; }
.as-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: 12px; }
.as-card { display: grid; gap: 10px; padding: 16px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); }
.as-card.hi { border-color: var(--red); }
.as-h { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.as-g { font-size: 12px; font-weight: 800; padding: 2px 8px; border-radius: 999px; background: var(--bg2); color: var(--muted); }
.as-card.hi .as-g { background: var(--bad-bg); color: var(--bad); }
.as-t { font-size: 13px; color: var(--muted); font-weight: 600; }
.as-who { display: flex; align-items: baseline; gap: 8px; min-width: 0; font-size: 16px; }
.as-main { color: var(--muted); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 40%; }
.as-ar { color: var(--muted); }
.as-sus { font-weight: 800; color: var(--text); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .as-sus small { font-weight: 500; color: var(--muted); } .as-sus:hover { color: var(--hi); }
.as-ev { margin: 0; padding-left: 18px; display: grid; gap: 4px; font-size: 13px; line-height: 1.5; color: var(--text); }
.as-note { margin: 0; font-size: 12px; }
.as-act { display: flex; gap: 8px; }
.as-empty { display: grid; justify-items: center; gap: 6px; padding: 48px 16px; color: var(--muted); text-align: center; }
.alt-sus { display: grid; gap: 6px; padding: 10px; border-radius: 10px; background: var(--bad-bg); } .alt-sus > small { font-size: 12px; font-weight: 700; color: var(--bad); }
.alt-sus-i { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; } .alt-sus-i b small { font-weight: 500; color: var(--muted); } .alt-sus-i .btn { margin-left: auto; }
.as-wait { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--hi-bg); color: var(--text); font-size: 14px; max-width: 820px; }
.as-wait .iq-spin { width: 18px; height: 18px; flex: none; }
.as-bar { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.as-bar .as-top { flex: 1 1 520px; }
.as-view { flex: none; }
.as-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.as-chip { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); color: var(--text); font: inherit; font-weight: 700; cursor: pointer; }
.as-chip small { font-size: 11px; color: var(--blue); }
.as-chip[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); } .as-chip[aria-pressed="true"] small { color: inherit; opacity: .8; }
.as-n { min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--red); color: #fff; font-size: 12px; font-weight: 800; display: inline-grid; place-items: center; } .as-n.z { background: var(--bg2); color: var(--dim); }
.as-tw { overflow-x: auto; }
.as-mx { width: 100%; min-width: 760px; border-collapse: separate; border-spacing: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.as-mx th, .as-mx td { padding: 10px 12px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: middle; }
.as-mx tr:last-child td { border-bottom: 0; }
.as-mx thead th { font-size: 12px; color: var(--muted); font-weight: 700; background: var(--bg2); }
.as-tn { font-weight: 800; white-space: nowrap; } .as-tn small { color: var(--blue); font-size: 11px; margin-left: 6px; }
.as-mx td { min-width: 0; } .as-mx td > * + * { margin-top: 4px; }
.as-cell { display: flex; align-items: center; max-width: 170px; padding: 5px 10px; border-radius: 999px; border: 0; background: var(--bg2); color: var(--text); font: inherit; font-weight: 700; font-size: 13px; cursor: pointer; }
.as-cell span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.as-cell.hi { background: var(--red-bg); color: var(--red); }
.as-cell[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--hi); }
.as-dash { color: var(--dim); }
/* 리스트형: 라인 칸은 가운데 정렬(팀 이름만 왼쪽) — 11-20 사용자 */
.as-mx th:not(:first-child), .as-mx td:not(:first-child) { text-align: center; }
.as-mx td:not(:first-child) .as-cell { margin-inline: auto; justify-content: center; }
.as-mx td:not(:first-child) > * + * { margin-top: 4px; }
.as-mx { table-layout: fixed; } .as-mx th:first-child { width: 190px; }
.as-card.lo { opacity: .82; } .as-card.lo .as-g { background: var(--bg2); color: var(--dim); }
.as-card:not(.hi):not(.lo) .as-g { background: var(--hi-bg); color: var(--hi); }
.as-cell.lo { background: transparent; box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); }
/* 알약 말풍선(11-20) */
.hint-bubble { position: fixed; z-index: 90; max-width: min(360px, calc(100vw - 16px)); padding: 6px 10px; border-radius: 8px; background: var(--text); color: var(--bg); font-size: 12px; line-height: 1.45; font-weight: 600; pointer-events: none; opacity: 0; transition: opacity .12s; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.hint-bubble.on { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .hint-bubble { transition: none; } }
.alt-seg { display: inline-flex; align-items: center; gap: 2px; } .alt-seg-l { font-size: 12px; font-weight: 700; color: var(--muted); padding: 0 6px 0 4px; }
/* 로그인 B · 첫 화면 A(11-20 사용자 결정) */
.ap-split { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); grid-template-rows: none; padding: 0; min-height: 100vh; }
.ap-intro { background: #15171C; color: #EDEDF0; padding: 44px 56px; display: grid; align-content: space-between; gap: 32px; }
.ap-intro .ap-logo { color: #fff; } .ap-intro .ap-logo i { color: #C8F031; }
.ap-intro h2 { margin: 0 0 24px; font-size: clamp(28px, 3vw, 40px); line-height: 1.25; letter-spacing: -.02em; }
.ap-feat { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.ap-feat li { display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: start; }
.ap-feat b { display: block; font-size: 16px; } .ap-feat small { display: block; color: #9a9ca5; font-size: 13.5px; margin-top: 2px; }
.ap-ic { width: 38px; height: 38px; border-radius: 10px; background: rgba(200, 240, 49, .14); color: #C8F031; display: grid; place-items: center; font-weight: 900; font-size: 13px; } .ap-ic svg { width: 18px; height: 18px; }
.ap-tag { color: #7d7f88; font-size: 12.5px; }
.ap-side { display: grid; grid-template-rows: auto 1fr auto; padding: 0 24px; background: var(--bg); }
.ap-tool { display: flex; justify-content: flex-end; padding: 20px 8px; }
.ap-box { align-self: center; justify-self: center; width: min(380px, 100%); display: grid; gap: 12px; }
.ap-box h1 { margin: 0 0 8px; font-size: 28px; letter-spacing: -.02em; }
.ap-box .lg-b { height: 52px; font-size: 15.5px; gap: 10px; } .ap-box .lg-b.google { background: #fff; color: #15171C; border-color: #DAD8D1; }
.pv-g { width: 18px; height: 18px; border-radius: 50%; background: conic-gradient(#EA4335 0 25%, #FBBC05 0 50%, #34A853 0 75%, #4285F4 0); flex: none; }
.pv-n { width: 18px; height: 18px; background: none; color: #fff; display: grid; place-items: center; font-weight: 900; font-size: 17px; font-family: Arial, Helvetica, sans-serif; flex: none; }   /* 네이버 로그인 디자인 가이드: 초록 바탕에 흰 N 로고(11-24 검수 준비) */
.pv-k { width: 18px; height: 18px; border-radius: 4px; background: #191600; color: #FEE500; display: grid; place-items: center; font-weight: 900; font-size: 11px; flex: none; }
.ap-note { font-size: 12.5px; margin: 4px 0 0; } .ap-box .ap-skip { justify-self: start; padding-left: 0; text-decoration: underline; text-underline-offset: 3px; }
.ap-msg { margin: 0; padding: 10px 12px; border-radius: 10px; background: var(--bad-bg); color: var(--bad); font-size: 13.5px; font-weight: 600; }
.ap-first { grid-template-rows: auto 1fr auto; }
.ap-who { display: inline-flex; align-items: center; gap: 12px; color: var(--muted); font-size: 14px; }
.ap-wrap { align-self: center; justify-self: center; width: min(880px, 100%); display: grid; gap: 18px; margin: 24px 0 40px; }
.ap-wrap h1 { margin: 0; text-align: center; font-size: 30px; letter-spacing: -.02em; } .ap-wrap .ap-sub { margin: -8px 0 8px; text-align: center; }
.ap-two { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 18px; }
.ap-c { background: var(--panel); border-radius: 20px; padding: 28px; display: grid; gap: 12px; align-content: start; box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 10px 30px rgba(0,0,0,.05); }
.ap-role { font-size: 12px; font-weight: 800; color: var(--hi); } .ap-c h2 { margin: 0; font-size: 21px; } .ap-c p { margin: 0 0 6px; color: var(--muted); font-size: 14px; line-height: 1.55; }
.ap-c .input { height: 50px; font-size: 15px; } .ap-c .n-new { height: 50px; justify-content: center; font-size: 15px; }
.ap-code { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.ap-cbox { height: 56px; min-width: 0; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); color: var(--text); text-align: center; font: inherit; font-size: 24px; font-weight: 800; text-transform: uppercase; }
.ap-cbox:focus { outline: none; border-color: var(--hi); box-shadow: 0 0 0 3px var(--hi-bg); }
.ap-wrap > .ap-skip { justify-self: center; text-decoration: underline; text-underline-offset: 3px; }
.ap-wrap > .ap-msg { justify-self: center; }
@media (max-width: 860px) {
  .ap-split { grid-template-columns: 1fr; }
  .ap-intro { padding: 24px 20px 28px; gap: 18px; } .ap-intro h2 { font-size: 24px; margin-bottom: 14px; } .ap-feat { gap: 10px; } .ap-tag { display: none; }
  .ap-tool { padding: 10px 0; position: absolute; top: 14px; right: 16px; } .ap-side { padding: 20px 16px 0; }
  .ap-c { padding: 22px 18px; } .ap-cbox { height: 50px; font-size: 21px; } .ap-wrap h1 { font-size: 25px; }
  .ap-who > span:first-child { display: none; }
}
.ap-c .n-new { display: flex; align-items: center; justify-content: center; width: 100%; border: 0; border-radius: 12px; background: var(--hi, #5B3FE0); color: var(--on-gold, #fff); font: inherit; font-weight: 800; cursor: pointer; }
.ap-c .n-new:disabled { opacity: .6; cursor: default; }
/* 자기평가 A안(11-20) */
.se-intro { margin: 0 0 12px; }
.se-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-bottom: 14px; }
.se-tab { display: grid; gap: 2px; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); color: var(--text); text-align: left; font: inherit; cursor: pointer; min-width: 0; }
.se-tab b { font-size: 14px; display: flex; align-items: center; gap: 6px; } .se-tab span { font-size: 12px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.se-tab small { font-size: 11.5px; color: var(--dim); } .se-tab small.ok { color: var(--hi); font-weight: 700; }
.se-tab[aria-selected="true"] { border-color: var(--hi); box-shadow: 0 0 0 3px var(--hi-bg); }
.se-me { font-size: 11px; font-weight: 800; padding: 1px 7px; border-radius: 999px; background: var(--text); color: var(--bg); }
.se-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.se-list > .help { grid-column: 1 / -1; margin: 6px 0; }
.se-row { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 12px; background: var(--bg); min-width: 0; }
.se-row .ic { flex: none; } .se-nm { flex: 1; min-width: 0; display: grid; } .se-nm b { font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .se-nm small { font-size: 12px; color: var(--muted); }
.se-lv { display: inline-flex; border-radius: 999px; background: var(--bg2); padding: 2px; flex: none; }
.se-lv button { border: 0; background: none; font: inherit; font-size: 12px; font-weight: 700; padding: 4px 8px; border-radius: 999px; color: var(--muted); cursor: pointer; }
.se-lv button[aria-pressed="true"] { background: var(--text); color: var(--bg); }
.se-lv.ro { background: none; }
.se-del { border: 0; background: none; color: var(--dim); width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; cursor: pointer; flex: none; } .se-del:hover { color: var(--bad); background: var(--bad-bg); } .se-del .ico { width: 15px; height: 15px; }
.se-rec { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 12px; } .se-rec-h { font-size: 12px; font-weight: 700; color: var(--muted); margin-right: 4px; }
.se-add { display: grid; grid-template-columns: minmax(0, 1fr) 110px auto; gap: 8px; margin-top: 12px; align-items: center; }
.se-lock { margin: 12px 0 0; padding: 10px 12px; border-radius: 10px; background: var(--bg2); color: var(--muted); font-size: 13px; }
html.pc .modal.se-modal { width: min(820px, calc(100vw - 32px)); max-width: none; }
/* 처음 설정: 이름 → 포지션(11-20) */
.ob-wrap { width: min(560px, 100%); }
.ob-step { margin: 0; text-align: center; font-size: 12.5px; font-weight: 800; color: var(--hi); letter-spacing: .02em; }
.ob-box { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.ob-in { height: 54px; font-size: 18px; text-align: center; }
.ob-go { height: 54px; padding: 0 22px; display: flex; align-items: center; justify-content: center; border: 0; border-radius: 12px; background: var(--hi, #5B3FE0); color: var(--on-gold, #fff); font: inherit; font-weight: 800; cursor: pointer; }
.ob-roles { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.ob-role { display: grid; gap: 4px; padding: 16px 16px 14px; border-radius: 16px; border: 1px solid var(--line); background: var(--panel); color: var(--text); text-align: left; font: inherit; cursor: pointer; }
.ob-role b { font-size: 17px; } .ob-role small { font-size: 12.5px; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ob-role:hover, .ob-role:focus-visible { border-color: var(--hi); box-shadow: 0 0 0 3px var(--hi-bg); outline: none; }
.ob-role[aria-checked="true"] { border-color: var(--hi); background: var(--hi-bg); box-shadow: 0 0 0 1px var(--hi) inset; }
.ob-role[aria-checked="true"] b, .ob-role[aria-checked="true"] b .lane-ic { color: var(--hi); }
.ob-start { width: 100%; margin-top: 14px; justify-content: center; }
.ob-start:disabled { opacity: .5; cursor: default; }
.ob-wrap .ap-skip { justify-self: center; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 860px) { .ob-roles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* 부계정 찾기 배치(11-20 사용자): 양쪽 같은 여백으로 넓게, 팀 칩 한 줄(넘치면 가로 스크롤)·보기 전환은 그 줄 오른쪽 끝,
   의심 없음은 화면 가운데, 설명은 화면 맨 아래(스크롤 안 생기게) */
.as-pg { max-width: none; width: 100%; display: flex; flex-direction: column; gap: 20px; }
.as-bar { display: flex; align-items: center; gap: 12px; flex-wrap: nowrap; }
.as-bar .as-chips { flex: 1 1 auto; min-width: 0; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: thin; padding-bottom: 2px; }
.as-bar .as-chip { flex: none; white-space: nowrap; }
.as-bar .as-view { flex: none; margin-left: auto; }
.as-bar-t { font-weight: 800; font-size: 15px; }
.as-pg > .as-empty { flex: 1 1 auto; align-content: center; padding: 24px 16px; }
.as-empty b { font-size: 16px; color: var(--text); }
.as-foot { margin-top: auto; display: grid; gap: 4px; }
.as-desc { margin: 0; max-width: none; font-size: 12.5px; line-height: 1.55; }
.as-grid { grid-template-columns: repeat(auto-fill, minmax(min(360px, 100%), 1fr)); }
/* 스크롤 막대 없애기(11-20 사용자 「우측 끝 스크롤 표시」): 탭 줄은 세로로 1px 넘쳐 막대가 생겼음 → 세로는 자르고 가로만, 막대는 숨김(밀어서 넘기기는 됨) */
.dock-tabs, .as-bar .as-chips { overflow-y: hidden; scrollbar-width: none; }
.dock-tabs::-webkit-scrollbar, .as-bar .as-chips::-webkit-scrollbar { display: none; }
/* 피드백 노트(11-20): 화면 높이를 채우고, 빈 라인은 「아직 노트가 없습니다」 칸이 아래까지 */
html.pc .notes-pc { display: flex; flex-direction: column; }
html.pc .notes-pc > .n-cols { flex: 1 1 auto; align-items: stretch; }
html.pc .notes-pc .n-col { display: flex; flex-direction: column; gap: 10px; }
.n-empty { flex: 1 1 auto; min-height: 160px; display: grid; place-content: center; justify-items: center; gap: 6px; padding: 18px 12px; border: 1px dashed var(--line); border-radius: 14px; background: transparent; color: var(--muted); font: inherit; cursor: pointer; text-align: center; }
.n-empty span { font-size: 14px; font-weight: 700; color: var(--text); } .n-empty small { font-size: 12.5px; }
.n-empty:hover, .n-empty:focus-visible { border-color: var(--hi); color: var(--hi); background: var(--hi-bg); outline: none; }
.n-empty .lbi { width: 22px; height: 22px; }
/* 점수 기준표(11-20) */
.pt-pg { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.pt-card { background: var(--panel); border-radius: 18px; padding: 20px 22px; display: grid; gap: 14px; }
.pt-card h3 { margin: 0; font-size: 16px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px; } .pt-card h3 small { font-size: 12.5px; color: var(--muted); font-weight: 600; } .pt-card h3 small b { color: var(--text); }
.pt-tbl { width: 100%; border-collapse: collapse; } .pt-tbl th, .pt-tbl td { padding: 7px 8px; text-align: left; border-bottom: 1px solid var(--bg2); } .pt-tbl thead th { font-size: 12px; color: var(--muted); font-weight: 700; }
.pt-tbl tbody th { font-weight: 700; font-size: 14px; } .pt-t { display: inline-flex; align-items: center; gap: 8px; } .pt-none { width: 22px; text-align: center; color: var(--dim); }
.pt-in { width: 110px; height: 38px; text-align: right; font-size: 15px; font-weight: 700; } .pt-def { font-size: 12px; color: var(--muted); }
.pt-act { display: flex; align-items: center; gap: 8px; } .pt-note { margin: 0; font-size: 12.5px; }
.pt-team { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.pt-team li { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; background: var(--bg); font-size: 14px; }
.pt-team li b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .pt-team .muted { color: var(--muted); font-size: 12.5px; } .pt-v { font-weight: 800; }
@media (max-width: 1100px) { .pt-pg { grid-template-columns: 1fr; } }

/* ---------- 홈(11-20 시안 C 위 + B 아래): 다음 상대 띠 + 상대 팀 카드 + 우리 팀 할 일 ---------- */
.home-new { gap: 18px; }
.nx { position: relative; background: #15171C; color: #EDEDF0; border-radius: 20px; padding: 22px 26px; display: grid; grid-template-columns: 1.25fr 1fr 1fr 132px; gap: 26px; }
/* 홈 「기록 갱신」 칸(11-22): 다음 상대 오른쪽 정사각형 — 마지막으로 받은 때 · 누르면 우리 팀과 상대 팀 전부 */
.nx-d { all: unset; box-sizing: border-box; cursor: pointer; align-self: start; width: 132px; aspect-ratio: 1; display: grid; align-content: space-between; padding: 14px; border-radius: 16px; background: #2a2c33; color: #EDEDF0; }
.nx-d:hover { background: #363944; }
.nx-d:focus-visible { outline: 2px solid var(--hi); outline-offset: 2px; }
.nx-d-h { display: flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; color: #cfd0d6; }
.nx-d-t { font-size: 21px; font-weight: 800; line-height: 1.15; letter-spacing: -0.01em; }
.nx-d small { font-size: 11.5px; color: #9a9ca5; line-height: 1.35; }
.nx-d.busy { cursor: progress; }
.nx-d.busy .nx-d-h svg { animation: nxspin .9s linear infinite; }
@keyframes nxspin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .nx-d.busy .nx-d-h svg { animation: none; } }
@media (prefers-color-scheme: dark) { html.pc:not([data-theme="light"]) .nx { background: var(--panel2); } }
html.pc[data-theme="dark"] .nx { background: var(--panel2); }
.nx-k { color: #9a9ca5; font-size: 12.5px; font-weight: 700; }
.nx h2 { margin: 2px 0 8px; font-size: 26px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.nx-name { all: unset; cursor: pointer; } .nx-name:hover { text-decoration: underline; text-underline-offset: 4px; }
.nx-name:focus-visible { outline: 2px solid var(--hi); border-radius: 6px; }
.nx-pick, .nx-soft, .nx-chip { display: inline-flex; align-items: center; gap: 6px; border: 0; background: #2a2c33; color: #EDEDF0; font: inherit; font-weight: 700; border-radius: 999px; }
.nx-pick { height: 28px; padding: 0 11px; font-size: 12.5px; } .nx-pick svg { width: 15px; height: 15px; }
.nx-pick:hover, .nx-soft:hover, .nx-chip:hover { background: #363944; }
.nx-when { display: inline-flex; align-items: center; gap: 7px; width: fit-content; font-size: 13px; font-weight: 700; background: #2a2c33; padding: 5px 11px; border-radius: 8px; }
.nx-when b { color: #B9ACFF; }
.nx-comp { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 12px; }
.nx-tc { display: inline-flex; align-items: center; gap: 3px; font-size: 13px; font-weight: 800; }
.nx-sub { color: #9a9ca5; font-size: 12.5px; font-weight: 600; margin: 0; }
.nx-a { display: grid; align-content: start; gap: 2px; }
.nx-btns { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.nx-btns .n-new { font-size: 14px; padding: 9px 18px; }
.nx-soft { padding: 9px 16px; font-size: 14px; }
.nx-bans { display: flex; gap: 16px; margin-top: 12px; flex-wrap: wrap; }
.nx-ban { display: grid; justify-items: center; gap: 3px; font-size: 12.5px; text-align: center; max-width: 84px; }
.nx-ban small { color: #9a9ca5; font-size: 11.5px; line-height: 1.3; }
.nx-news { display: grid; gap: 10px; margin-top: 12px; }
.nx-nl { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.nx-nl .nw-l { flex: 1; min-width: 0; }
.nx-tg { font-size: 11px; font-weight: 800; padding: 1px 8px; border-radius: 999px; background: #2a2c33; color: #cfd0d6; white-space: nowrap; }
.nx-tg.new { background: rgba(157,140,255,.22); color: #C6BBFF; } .nx-tg.red { background: rgba(255,99,110,.2); color: #FF8F98; }
.nx-empty { grid-template-columns: 1fr; }
.nx-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.nx-chip { height: 38px; padding: 0 14px 0 6px; font-size: 13.5px; } .nx-chip .crest { width: 26px; height: 26px; }
.nx-pop { position: absolute; z-index: 20; left: 120px; top: 70px; width: 320px; background: var(--panel); color: var(--text); border-radius: 14px; box-shadow: 0 14px 40px rgba(0,0,0,.28); padding: 14px; display: grid; gap: 8px; }
.nx-pop small { color: var(--muted); font-weight: 700; font-size: 12px; }
.nx-list { display: grid; gap: 2px; max-height: 240px; overflow: auto; }
.nx-it { display: flex; align-items: center; gap: 9px; border: 0; background: transparent; color: var(--text); font: inherit; font-weight: 700; font-size: 14px; padding: 7px 8px; border-radius: 10px; text-align: left; }
.nx-it span { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .nx-it .crest { flex: none; width: 26px; height: 26px; }
.nx-it:hover { background: var(--bg2); } .nx-it[aria-selected="true"] { background: var(--hi-bg); color: var(--hi); }
.nx-fld { display: flex; gap: 6px; } .nx-fld .input { flex: 1; min-width: 0; height: 38px; }
.nx-pb { display: flex; gap: 6px; align-items: center; margin-top: 2px; } .nx-pb .n-new { padding: 8px 18px; font-size: 14px; }
.nw-l { display: flex; align-items: center; gap: 8px; font-size: 13.5px; min-width: 0; }
.nw-r { color: var(--dim); display: inline-grid; flex: none; } .nx .nw-r { color: #9a9ca5; }
.nw-l .ic.xs { width: 24px; height: 24px; border-radius: 50%; flex: none; }
.nw-t { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.tcard { background: var(--panel); border-radius: 16px; padding: 15px 17px; display: grid; gap: 9px; align-content: start; min-width: 0; }
.tc-h { display: flex; align-items: center; gap: 9px; min-width: 0; } .tc-h .crest { width: 26px; height: 26px; }
.tc-n { all: unset; flex: 1; min-width: 0; font-size: 15px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
button.tc-n { cursor: pointer; } button.tc-n:hover { text-decoration: underline; } button.tc-n:focus-visible { outline: 2px solid var(--hi); border-radius: 4px; }
.tcard .tag { font-size: 11.5px; font-weight: 800; padding: 2px 9px; border-radius: 999px; background: var(--bg2); color: var(--muted); white-space: nowrap; }
.tcard .tag.new { background: var(--hi-bg); color: var(--hi); } .tcard .tag.red { background: var(--red-bg); color: var(--red); }
.tc-our { grid-column: span 2; }
.td-l { display: flex; align-items: center; gap: 9px; font-size: 13.5px; } .td-l b { flex: 1; font-weight: 600; }
.td-r { display: inline-flex; gap: 3px; color: var(--muted); }
.td-b { border: 0; background: var(--hi-bg); color: var(--hi); font: inherit; font-size: 12.5px; font-weight: 800; padding: 4px 11px; border-radius: 999px; }
.td-b:hover { background: var(--hi); color: var(--panel); }
.team-home { gap: 30px; }

/* ---------- 선수·챔프폭(11-20 시안 편집 3): 라인 탭 · 머리 · 원챔/상/중/하 칸 · 기록 줄 ---------- */
.pool-pc { display: grid; gap: 14px; }
.pk-tabs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.pk-tab { display: flex; align-items: center; gap: 9px; min-width: 0; padding: 11px 13px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); color: var(--text); font: inherit; text-align: left; }
.pk-tab b { flex: 1; min-width: 0; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pk-tab .lane-ic { color: var(--muted); flex: none; }
.pk-tab[aria-selected="true"] { border-color: var(--hi); box-shadow: 0 0 0 3px var(--hi-bg); color: var(--hi); } .pk-tab[aria-selected="true"] .lane-ic { color: var(--hi); }
.pk-lock { color: var(--dim); display: inline-grid; }
.pk-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; background: var(--panel); border-radius: 16px; padding: 14px 18px; }
.pk-nm { display: flex; align-items: baseline; gap: 5px; } .pk-nm b { font-size: 19px; } .pk-nm small { color: var(--muted); font-size: 14px; }
.pk-ib { border: 0; background: transparent; color: var(--dim); padding: 2px; align-self: center; display: inline-grid; } .pk-ib:hover { color: var(--text); } .pk-ib svg { width: 16px; height: 16px; }
.pk-trs, .pk-alts { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pk-tr { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px 3px 8px; border-radius: 999px; background: var(--bg2); font-size: 13px; opacity: .6; }
.pk-tr small { font-size: 11.5px; font-weight: 700; color: var(--muted); } .pk-tr b { font-weight: 800; }
.pk-tr.use { opacity: 1; background: var(--hi-bg); color: var(--hi); box-shadow: inset 0 0 0 1.5px var(--hi); } .pk-tr.use small { color: var(--hi); }
.pk-alt { display: inline-flex; align-items: center; gap: 4px; padding: 4px 11px; border-radius: 999px; background: var(--bg2); font-size: 13px; font-weight: 600; } .pk-alt small { color: var(--muted); font-weight: 500; }
.pk-alt.use { padding-right: 4px; } .pk-alt .pk-tr { margin-left: 4px; }
.pk-addalt { display: inline-flex; align-items: center; gap: 5px; height: 30px; padding: 0 13px; border-radius: 999px; border: 0; background: var(--hi); color: var(--panel); font: inherit; font-size: 13px; font-weight: 700; }
.pk-lockmsg { margin: 0; display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: 13.5px; }
.pk-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.pk-col { background: var(--panel); border-radius: 16px; padding: 12px 14px 16px; min-width: 0; transition: box-shadow .12s; }
.pk-cols .pk-col { min-height: 210px; }
.pk-col.over { box-shadow: inset 0 0 0 2px var(--hi); }
.pk-ch { display: flex; align-items: center; gap: 8px; height: 22px; margin-bottom: 12px; color: var(--muted); font-size: 13px; font-weight: 700; } .pk-ch b { color: var(--text); font-size: 14px; } .pk-ch small { font-weight: 600; }
.pk-crown { color: #C98A12; }
.pk-bars { display: inline-flex; align-items: flex-end; gap: 2px; height: 15px; } .pk-bars i { width: 4px; border-radius: 2px; background: var(--line); } .pk-bars i:nth-child(1) { height: 6px; } .pk-bars i:nth-child(2) { height: 10px; } .pk-bars i:nth-child(3) { height: 15px; } .pk-bars i.f { background: var(--hi); }
.pk-tl { display: flex; flex-wrap: wrap; gap: 14px 10px; align-content: start; }
.pk-t { position: relative; display: grid; justify-items: center; gap: 3px; width: 70px; text-align: center; }
.pk-t[draggable="true"] { cursor: grab; } .pk-t.dragging { opacity: .35; }
.pk-tb { border: 0; padding: 0; background: transparent; border-radius: 50%; display: grid; }
.pk-t .ic.lg { width: 52px; height: 52px; }
.pk-t b { font-size: 12px; font-weight: 700; max-width: 70px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .pk-t small { font-size: 11px; color: var(--dim); }
.pk-x { position: absolute; top: -4px; right: 4px; width: 20px; height: 20px; border-radius: 50%; border: 0; background: var(--panel); box-shadow: 0 1px 3px rgba(0,0,0,.2); color: var(--muted); display: grid; place-items: center; padding: 0; opacity: 0; }
.pk-x svg { width: 12px; height: 12px; }
.pk-t:hover .pk-x, .pk-x:focus-visible { opacity: 1; }
.pk-t.ghost .ic { opacity: .5; filter: grayscale(.6); } .pk-t.ghost b { color: var(--muted); }
.pk-drop { width: 100%; padding: 22px 0; border: 1.5px dashed var(--line); border-radius: 12px; text-align: center; color: var(--dim); font-size: 12.5px; }
.pk-tray { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px; padding: 12px 18px; }
.pk-tray .pk-ch { margin: 0; display: grid; height: auto; gap: 2px; } .pk-tray .pk-ch small { font-size: 11.5px; color: var(--dim); }
.pk-find { display: flex; align-items: center; gap: 8px; height: 40px; padding: 0 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--dim); width: 270px; }
.pk-find .input { border: 0; background: transparent; padding: 0; height: 100%; flex: 1; min-width: 0; outline: none; }
.pk-find:focus-within { border-color: var(--hi); }
/* 챔피언 찾기 목록(초상화 + 이름, 누르거나 Enter = 중 칸) */
.pk-find { position: relative; }
.pk-find .input:focus, .pk-find .input:focus-visible { outline: none; box-shadow: none; }
.pk-sug { position: absolute; right: -1px; left: -1px; bottom: calc(100% + 6px); z-index: 30; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 32px rgba(0,0,0,.18); padding: 6px; display: grid; gap: 2px; max-height: 360px; overflow: auto; }
.pk-sg { display: flex; align-items: center; gap: 10px; border: 0; background: transparent; color: var(--text); font: inherit; padding: 6px 8px; border-radius: 9px; text-align: left; cursor: pointer; }
.pk-sg .ic.sm { width: 32px; height: 32px; border-radius: 50%; flex: none; }
.pk-sg b { flex: 1; min-width: 0; font-size: 14px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pk-sg small { font-size: 11.5px; color: var(--dim); white-space: nowrap; }
.pk-sg:hover, .pk-sg[aria-selected="true"] { background: var(--hi-bg); } .pk-sg[aria-selected="true"] small { color: var(--hi); }
.pk-sg[aria-disabled="true"] { opacity: .5; cursor: default; }
.pk-sg-none { margin: 6px 8px; color: var(--muted); font-size: 13px; }
/* 실시간 밴픽: 방에 있는 사람(첫 글자 동그라미, 진행자 테두리, 나 = 아래 점) · 진행 요청 한 줄 */
.lvps { display: inline-flex; align-items: center; flex: none; }
.lvp { position: relative; display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--bg2); color: var(--text); font-size: 11.5px; font-weight: 800; border: 2px solid var(--bg); margin-left: -5px; }
.lvp:first-child { margin-left: 0; }
.lvp.host { background: var(--hi, var(--gold)); color: var(--panel); }   /* 11-21 QA: 휴대폰(--hi 없음)에서 진행자 동그라미가 안 보였음 */
.lvp.me::after { content: ""; position: absolute; bottom: -4px; left: 50%; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--hi, var(--gold)); }
.lvp.more { width: auto; padding: 0 6px; border-radius: 999px; color: var(--muted); font-weight: 700; }
.lv-room { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; min-height: 32px; }
.lv-room .livebar { justify-content: flex-start; }
.livereq { display: inline-flex; align-items: center; gap: 8px; padding: 4px 6px 4px 12px; border-radius: 999px; background: var(--hi-bg); font-size: 12.5px; }
.livereq[hidden] { display: none; }
.lvq-t { display: inline-flex; align-items: center; gap: 6px; color: var(--text); } .lvq-t b { color: var(--hi); }
/* 점수 기준표(11-20 사용자: 화면을 너무 넓게 씀): 좌우 여백 · 두 카드를 가운데로 · 점수 칸 가운데 */
html.pc .pt-pg { grid-template-columns: minmax(0, 560px) minmax(0, 440px); justify-content: center; max-width: 1040px; margin: 0 auto; width: 100%; }
html.pc .pt-tbl th:nth-child(n+2), html.pc .pt-tbl td { text-align: center; }
html.pc .pt-tbl thead th:first-child { padding-left: 8px; }
html.pc .pt-in { text-align: center; width: 96px; }
html.pc .pt-act { justify-content: center; } html.pc .pt-note { text-align: center; }
@media (max-width: 1100px) { html.pc .pt-pg { grid-template-columns: minmax(0, 600px); } }
/* 우리 팀 지금 점수: 라인 아이콘 · 티어 엠블럼 + 단계 */
.pt-lane { display: inline-grid; place-items: center; color: var(--muted); }
.pt-tr { display: inline-flex; align-items: center; gap: 4px; font-size: 13px; } .pt-tr b { font-weight: 800; } .pt-tr small { font-size: 11.5px; color: var(--muted); font-weight: 700; }
/* 실시간 밴픽 진영: 블루는 파랑, 레드는 빨강(11-20 사용자: 보라색 말고) */
html.pc .seg button[data-act="side"][data-v="B"][aria-pressed="true"] { background: var(--blue); color: #fff; border-color: var(--blue); }
html.pc .seg button[data-act="side"][data-v="R"][aria-pressed="true"] { background: var(--red); color: #fff; border-color: var(--red); }
/* 자료가 없을 때(11-20 사용자): 아이콘 + 안내 문구, 가운데 */
.empty-box { display: grid; justify-items: center; align-content: center; gap: 6px; padding: 40px 16px; text-align: center; color: var(--muted); min-height: 140px; }
.empty-box .lbi { color: var(--dim); }
.empty-box b { font-size: 15px; font-weight: 700; color: var(--text); }
.empty-box small { font-size: 12.5px; color: var(--muted); max-width: 46ch; line-height: 1.5; }
.empty-box.sm { padding: 14px 8px; gap: 4px; min-height: 0; }
.empty-box.sm b { font-size: 13px; font-weight: 600; color: var(--muted); }
.nx .empty-box b { color: #c9cad1; } .nx .empty-box .lbi { color: #8e909a; } .nx .empty-box.sm { justify-items: start; text-align: left; padding: 12px 0; }
.pk-tray .empty-box.sm { justify-items: start; padding: 0; }
.notes-pc > .empty-box, .as-pg > .empty-box { flex: 1 1 auto; min-height: 320px; }
/* 상단바 아래 작은 글씨 빼기(11-20 사용자) — 실시간 밴픽의 세트·피어리스 잠금만 남김 */
html.pc #mhead .mh-s { display: none; }
html.pc:has(#view .live-pc) #mhead .mh-s { display: block; }
/* 운영 전략·시나리오 글씨가 라이트 모드에서 안 보이던 것(11-20 사용자): 예전 다크 전용 연한 색(#cfd6e4) → 본문 색 */
html.pc :is(.pp-sum, .sc-sum, .plan dd, .vtip, .lcore p) { color: var(--text); line-height: 1.6; }
html.pc .plan dd { font-size: 13.5px; }
/* 실시간 밴픽 B안(11-20 사용자): 상단바 「팀 방」 버튼 + 창, 가운데는 라인 / 상대 분석·목표 챔프 */
.lv-roomslot { display: inline-flex; }
.lv-room-w { position: relative; display: inline-flex; }
.lv-roomb { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 10px 0 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel); color: var(--text); font: inherit; font-size: 12.5px; font-weight: 700; white-space: nowrap; position: relative; }
.lv-roomb:hover { border-color: var(--dim); } .lv-roomb[aria-expanded="true"] { border-color: var(--hi); box-shadow: 0 0 0 3px var(--hi-bg); }
.lv-roomb .lvp { width: 24px; height: 24px; border-color: var(--panel); }
.lv-roomb .vs-car { color: var(--muted); }
.lv-roomb .lvb-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--good); box-shadow: 0 0 0 3px var(--good-bg); flex: none; }
.lv-roomb .lvb-dot.bad { background: var(--red); box-shadow: 0 0 0 3px var(--red-bg); } .lv-roomb .lvb-dot.wait { background: var(--dim); box-shadow: none; } .lv-roomb .lvb-dot.off { background: var(--line); box-shadow: none; }
.lvr-badge { position: absolute; top: -2px; right: -2px; width: 10px; height: 10px; border-radius: 50%; background: var(--red); border: 2px solid var(--bg); }
.lvr-pop { position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; width: 300px; background: var(--panel); color: var(--text); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 16px 40px rgba(0,0,0,.18); padding: 12px; display: grid; gap: 8px; text-align: left; }
.lvr-pop > small { font-size: 12px; font-weight: 700; color: var(--muted); padding: 0 4px; }
.lvr-ppl { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.lvr-ppl li { display: flex; align-items: center; gap: 10px; padding: 6px 4px; border-radius: 9px; font-size: 13.5px; }
.lvr-ppl li .lvp { width: 26px; height: 26px; margin: 0; border: 0; } .lvr-ppl li b { font-weight: 700; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lvr-ppl li i { font-style: normal; font-size: 12px; color: var(--muted); } .lvr-ppl li em { font-style: normal; margin-left: auto; font-size: 11.5px; font-weight: 800; color: var(--hi); background: var(--hi-bg); padding: 2px 8px; border-radius: 999px; }
.lvr-acts { display: grid; gap: 2px; border-top: 1px solid var(--bg2); padding-top: 8px; }
.lvr-a { display: flex; align-items: center; gap: 8px; width: 100%; padding: 8px; border: 0; border-radius: 9px; background: transparent; color: var(--muted); font: inherit; font-size: 13px; font-weight: 700; text-align: left; }
.lvr-a:hover { background: var(--bg2); color: var(--text); } .lvr-a.pri { color: var(--hi); } .lvr-a.pri:hover { background: var(--hi-bg); }
.lvr-req { display: grid; gap: 6px; padding: 8px; border-radius: 10px; background: var(--hi-bg); font-size: 13px; } .lvr-req b { color: var(--hi); } .lvr-req span { display: flex; gap: 4px; } .lvr-req .lvr-a { width: auto; background: var(--panel); }
.lc-div { width: 1px; height: 22px; background: var(--line); margin: 0 4px; flex: none; }
html.pc .live-pc .lc-r { display: flex; align-items: center; gap: 10px; }
.lv-room[hidden] { display: none !important; }
.lvr-req p { margin: 0; }
html.pc #mhead .vs-btn > span { white-space: nowrap; }
@media (max-width: 1560px) { .lv-roomb .lv-rl { display: none; } .lv-roomb { padding-left: 10px; } }
@media (max-width: 1400px) { html.pc #mhead .mh-t .vs-btn > span { max-width: 180px; overflow: hidden; text-overflow: ellipsis; } }
/* 선수·챔프폭: 전적 추천 픽 줄을 칸들 위로, 찾기 칸은 그 줄 오른쪽 위(11-20 사용자) — 목록은 아래로 펼침 */
.pk-tray { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "h f" "l l"; row-gap: 10px; }
.pk-tray > .pk-ch { grid-area: h; } .pk-tray > .pk-tl { grid-area: l; } .pk-tray > .pk-find { grid-area: f; align-self: start; width: 300px; }
.pk-tray .pk-ch { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; } .pk-tray .pk-ch b { font-size: 14px; }
.pk-sug { bottom: auto; top: calc(100% + 6px); }
.pk-find { border-color: var(--hi); background: var(--panel); } .pk-find .lbi { color: var(--hi); }
/* 픽 순서 띠: 칸 모양에 맞춰 잘리던 초상화 → 칸 가운데 동그란 초상화(11-20 사용자) */
html.pc .tl { gap: 4px; }
html.pc .tl-c { height: 46px; border-radius: 10px; }
html.pc .tl-c img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
html.pc .tl-c.pick.b.filled img { box-shadow: 0 0 0 2px var(--blue); } html.pc .tl-c.pick.r.filled img { box-shadow: 0 0 0 2px var(--red); }
html.pc .tl-c.pick.b.filled, html.pc .tl-c.pick.r.filled { box-shadow: none; }
html.pc .tl-c.pick.b { background: var(--blue-bg); } html.pc .tl-c.pick.r { background: var(--red-bg); }
html.pc .tl-c.open.pick { background: transparent; border: 1.5px dashed var(--line); }
html.pc .tl-c.open.pick.b span { color: var(--blue); } html.pc .tl-c.open.pick.r span { color: var(--red); }
html.pc .tl-c.now { outline: 2px solid var(--hi); outline-offset: 1px; }
html.pc .tl-key .k.ban { background: var(--bg2); } html.pc .tl-key .k.now { outline-color: var(--hi); }
/* 상대 분석 라인 챔프: 마우스를 올린 상자가 칸 경계까지 튀어나가던 것 → 내용만큼만(11-20 사용자) */
html.pc .l5 button.l5-c { width: fit-content; max-width: 100%; margin: -4px 0; padding: 4px 10px 4px 4px; }
/* 추천 조합 B안(11-20 사용자): 크게 보는 조합 + 한 줄 목록 */
.cr-top { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; font-size: 13px; margin-bottom: 12px; }
.cr-hero { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 28px; background: var(--panel); border-radius: 18px; padding: 20px 22px; box-shadow: inset 0 0 0 2px var(--hi); }
.cr-k { font-size: 12px; font-weight: 800; color: var(--hi); }
.cr-hero h3 { margin: 2px 0 4px; font-size: 22px; font-weight: 800; }
.cr-win { margin: 0 0 14px; font-size: 13.5px; color: var(--muted); line-height: 1.5; }
.cr-5 { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.cr-5:not(.big) { display: inline-flex; gap: 4px; } .cr-5:not(.big) .ic.sm { width: 30px; height: 30px; border-radius: 50%; }
.cr-s { display: grid; justify-items: center; gap: 4px; min-width: 0; text-align: center; }
.cr-s small { font-size: 11.5px; color: var(--dim); font-weight: 700; }
.cr-s .ic.lg { width: 56px; height: 56px; border-radius: 50%; }
.cr-s b { font-size: 12.5px; font-weight: 700; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cr-s em { font-style: normal; font-size: 10.5px; font-weight: 800; color: var(--hi); background: var(--hi-bg); padding: 0 6px; border-radius: 999px; }
.cr-hr { display: grid; gap: 14px; align-content: center; }
.cr-bars { display: grid; gap: 10px; }
.cr-bar { display: grid; grid-template-columns: 72px minmax(0, 1fr) 44px; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.cr-bar i { height: 8px; border-radius: 4px; background: var(--bg2); position: relative; overflow: hidden; }
.cr-bar i::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--hi); border-radius: 4px; }
.cr-bar.good i::after { background: var(--good); } .cr-bar.bad i::after { background: var(--red); }
.cr-bar b { text-align: right; color: var(--text); }
.cr-chips { display: flex; gap: 6px; flex-wrap: wrap; }
.cr-chip { display: inline-flex; align-items: center; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--bg2); color: var(--muted); white-space: nowrap; }
.cr-chip.good { background: var(--good-bg); color: var(--good); } .cr-chip.bad { background: var(--red-bg); color: var(--red); }
.cr-btn { justify-self: start; }
.cr-rows { display: grid; gap: 6px; margin-top: 10px; }
.cr-row { display: flex; align-items: center; gap: 14px; background: var(--panel); border-radius: 12px; padding: 10px 14px; min-width: 0; }
.cr-n { width: 18px; color: var(--dim); font-size: 15px; font-weight: 800; flex: none; }
.cr-t { width: 230px; flex: none; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cr-sp { flex: 1; }
.cr-row .cr-chip { max-width: 260px; overflow: hidden; text-overflow: ellipsis; }
/* 추천 조합: 줄 전체가 버튼(누르면 그 자리에서 크게), 고르기 버튼 없음 */
.cr-rows { margin-top: 0; }
button.cr-row { width: 100%; border: 0; font: inherit; color: inherit; text-align: left; cursor: pointer; transition: background .12s, box-shadow .12s; }
button.cr-row:hover { box-shadow: inset 0 0 0 1.5px var(--hi); }
button.cr-row:focus-visible { outline: 2px solid var(--hi); outline-offset: 2px; }
.cr-car { color: var(--dim); flex: none; }
/* 상대 예상 조합 「우리 밴」 직접 넣기(11-20 사용자) */
.ec-banin { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.ec-ban { display: inline-flex; align-items: center; gap: 5px; padding: 3px 4px 3px 4px; border-radius: 999px; background: var(--red-bg); font-size: 12.5px; font-weight: 700; }
.ec-ban .ic.xs { width: 22px; height: 22px; border-radius: 50%; filter: grayscale(.5); }
.ec-ban button { border: 0; background: transparent; color: var(--muted); display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; padding: 0; } .ec-ban button:hover { background: var(--panel); color: var(--text); } .ec-ban button svg { width: 12px; height: 12px; }
.ec-find { position: relative; display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 10px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); color: var(--dim); width: 170px; }
.ec-find:focus-within { border-color: var(--hi); } .ec-find .input { border: 0; background: transparent; padding: 0; height: 100%; flex: 1; min-width: 0; outline: none; font-size: 13px; }
.ec-find .input:focus, .ec-find .input:focus-visible { outline: none; box-shadow: none; }
.ec-find .ec-sug { left: 0; right: auto; width: 260px; top: calc(100% + 6px); bottom: auto; }
/* 시리즈 끝(5판 3선승) 띠 · 저장한 밴픽 최종 결과(11-21 사용자) */
.sr-end { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 14px; background: var(--hi-bg); font-size: 14px; flex-wrap: wrap; }
.sr-end.lose { background: var(--red-bg); } .sr-end.win { background: var(--good-bg); }
.sr-end b { font-size: 16px; font-weight: 800; } .sr-end.lose b { color: var(--red); } .sr-end.win b { color: var(--good); }
.sr-end span:not(.n-sp) { display: inline-flex; gap: 4px; } .sr-end i { font-style: normal; font-size: 12px; font-weight: 800; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--red); } .sr-end i.w { background: var(--good); }
.sr-end .n-new { padding: 8px 16px; font-size: 13.5px; }
.sv-fin.l { color: var(--red); } .sv-fin.w { color: var(--good); }
/* 피어리스·저장 탭 위 지금 시리즈 줄 · 상대 분석 「우리 팀과 한 연습 결과」(11-21 사용자) */
.sv-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 14px; border-radius: 12px; background: var(--panel); margin-bottom: 12px; font-size: 13.5px; }
.sv-dots, .vr-gs { display: inline-flex; gap: 4px; flex-wrap: wrap; }
.sv-dots i, .vr-g i { font-style: normal; font-size: 11.5px; font-weight: 800; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--dim); flex: none; }
.sv-dots i.w, .vr-g i.w { background: var(--good); } .sv-dots i.l, .vr-g i.l { background: var(--red); }
.vr-sum { display: flex; gap: 18px; font-size: 13.5px; color: var(--muted); } .vr-sum b.w { color: var(--good); } .vr-sum b.l { color: var(--red); }
.vr-list { display: grid; gap: 8px; }
.vr { background: var(--panel); border-radius: 14px; padding: 12px 16px; display: grid; gap: 10px; }
.vr-h { display: flex; align-items: center; gap: 12px; font-size: 13.5px; }
.vr-gs { gap: 10px 16px; }
.vr-g { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 4px; border-radius: 999px; background: var(--bg); }
.vr-g small { color: var(--dim); font-weight: 700; font-size: 11px; }
.vr-p { display: inline-flex; gap: 2px; } .vr-p .ic.xs { width: 22px; height: 22px; border-radius: 50%; }
.vr-p.our .ic.xs { box-shadow: 0 0 0 1.5px var(--blue); } .vr-p:not(.our) .ic.xs { box-shadow: 0 0 0 1.5px var(--red); }

/* ---- 11-21 전체 QA 화면 수리 ---- */
.ap-msg.ok { background: var(--good-bg); color: var(--good); }
.ob-roles { grid-auto-rows: 1fr; }
.ob-role { align-content: start; }
.ob-role b { display: inline-flex; align-items: center; gap: 8px; }
.ob-role b .lane-ic { flex: none; color: var(--muted); }
/* 사이드바: 긴 팀 이름이 칸을 밀고 나가 테두리에 붙었음(그리드 항목 최소 너비) */
.sd-opp > *, .sd-opp .sd-tmw { min-width: 0; }
/* 밴 카드 이름: 「누누와 윌럼 / 프」·「정 / 글」로 쪼개지던 것 → 한 줄 + 말줄임 */
html.pc :is(.live-pc, .enemy-pc) .rec .nm { max-width: 100%; padding: 0 4px; box-sizing: border-box; }
html.pc :is(.live-pc, .enemy-pc) .rec .nm > * { white-space: nowrap; flex: none; }
html.pc :is(.live-pc, .enemy-pc) .rec .nm > .cn { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
/* 좁은 화면(1366 등): 밴 카드 알약 아이콘은 빼고 글자만(색으로 종류 구분) */
@media (max-width: 1599px) {
  html.pc :is(.live-pc, .enemy-pc) .rec .why.rchips > .rc { padding: 2px 7px; gap: 0; }
  html.pc :is(.live-pc, .enemy-pc) .rec .why.rchips > .rc .lbi { display: none; }
}
/* 로스터·상대 라인 칸: 1366에서 챔프 이름이 「키...」처럼 1~2글자만 보였음 → 이름 한 줄, 숙련도 알약은 그 아래 */
@media (max-width: 1699px) {
  html.pc .lane5 .l5-c { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 10px; row-gap: 3px; align-items: center; }
  html.pc .lane5 .l5-c > .ic { grid-row: 1 / 3; }
  html.pc .lane5 .l5-c > b { align-self: end; }
  html.pc .lane5 .l5-c > .lv { justify-self: start; align-self: start; height: 18px; padding: 0 7px; font-size: 11px; }
}
/* 티어 줄: 「자 / 랭」 세로 쪼개짐 */
.l5-t, .l5-q { white-space: nowrap; flex: none; }
.empty-box small { max-width: 52ch; text-wrap: balance; }

.nf-bad { color: var(--red, #D42F3C) !important; font-weight: 600; }
#nmodal .input[aria-invalid="true"] { border-color: var(--red, #D42F3C); box-shadow: 0 0 0 3px color-mix(in srgb, var(--red, #D42F3C) 18%, transparent); }

/* 실시간 밴픽 들어가기 선택(11-21 사용자): PC = 가운데 창, 휴대폰 = 아래 시트 */
#lventry .lve-bg { position: fixed; inset: 0; z-index: 95; background: rgba(10, 10, 14, .42); }
#lventry .lve { position: fixed; z-index: 96; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(400px, calc(100vw - 32px)); box-sizing: border-box; background: var(--panel); color: var(--text); border-radius: 20px; padding: 24px 22px 20px; display: grid; justify-items: center; gap: 8px; text-align: center; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); }
#lventry .lve-ic { display: grid; place-items: center; }
#lventry h2 { margin: 4px 0 0; font-size: 20px; text-wrap: balance; }
#lventry p { margin: 0 0 10px; color: var(--muted); font-size: 14px; line-height: 1.5; text-wrap: balance; word-break: keep-all; }
#lventry h2 { word-break: keep-all; }
#lventry .lve-bs { display: grid; gap: 8px; width: 100%; }
#lventry .lve-b { height: 48px; border-radius: 14px; border: 0; background: var(--bg2); color: var(--text); font: inherit; font-size: 15px; font-weight: 800; cursor: pointer; }
#lventry .lve-b.pri { background: var(--hi); color: var(--on-gold); }
#lventry .lve-b.ghost { background: transparent; color: var(--muted); height: 40px; font-weight: 700; }
#lventry .lve-b:focus-visible { outline: 2px solid var(--hi); outline-offset: 2px; }
@media (max-width: 760px) { #lventry .lve { top: auto; bottom: 0; left: 0; transform: none; width: 100%; border-radius: 22px 22px 0 0; padding-bottom: calc(20px + env(safe-area-inset-bottom)); } }
/* 11-22 「미리 밴」 칸이 더해져 1366 폭에서 목표 챔프가 잘렸음 → 한 줄에 안 들어가면 오른쪽 칸을 다음 줄 오른쪽으로 */
html.pc .live-pc .lv-ctrl { flex-wrap: wrap; row-gap: 8px; }
html.pc .live-pc .lv-ctrl .lc-r { margin-left: auto; flex-wrap: wrap; justify-content: flex-end; row-gap: 8px; }
html.pc .live-pc .lc-r .gl-in { width: 104px; }
/* 상대 팀 소식 자세히(11-22 시안 B+C): 홈 소식 줄 = 버튼, 오른쪽 서랍(휴대폰은 아래에서) — 목록(팀별·종류 거르기) ↔ 항목 자세히 */
.nw-btn { all: unset; box-sizing: border-box; display: flex; align-items: center; gap: 8px; width: 100%; min-height: 30px; cursor: pointer; border-radius: 8px; }
.nw-btn .nw-l { flex: 1; min-width: 0; }
.nw-btn:hover .nw-t { text-decoration: underline; text-underline-offset: 3px; }
.nw-btn:focus-visible { outline: 2px solid var(--hi); outline-offset: 2px; }
.nd-bg { position: fixed; inset: 0; z-index: 80; background: rgba(10, 10, 14, .42); }
/* 11-22 사용자: 웹은 오른쪽 서랍 말고 가운데 모달 */
.nd { position: fixed; inset: 0; margin: auto; z-index: 81; width: min(560px, calc(100vw - 32px)); height: fit-content; max-height: min(82vh, 760px); display: flex; flex-direction: column; padding: 16px 20px 0; border-radius: 20px; background: var(--panel); color: var(--text); box-shadow: 0 24px 64px rgba(0, 0, 0, .28); outline: none; }
.nd-bg.in { animation: ndfade .2s ease-out; }
.nd.in { animation: ndin .22s cubic-bezier(.23, 1, .32, 1); }
@keyframes ndfade { from { opacity: 0; } }
@keyframes ndin { from { transform: scale(.96); opacity: 0; } }
@keyframes ndup { from { transform: translateY(36px); opacity: 0; } }
html.nd-on body { overflow: hidden; }
.nd-hd, .nd-dh { display: flex; align-items: center; gap: 8px; min-height: 40px; }
.nd-hd b { font-size: 17px; } .nd-hd .dim { font-size: 12.5px; }
.nd-x { margin-left: auto; }
.nd-who { display: flex; align-items: center; gap: 7px; min-width: 0; font-size: 13.5px; } .nd-who b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nd-f { display: flex; gap: 6px; flex-wrap: wrap; margin: 8px 0 6px; }
.nd-f button { border: 0; border-radius: 999px; min-height: 32px; padding: 0 12px; background: var(--bg2); color: var(--muted); font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; }
.nd-f button[aria-pressed="true"] { background: var(--text); color: var(--panel); }
.nd-sc { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; margin: 0 -20px; padding: 0 20px 20px; }
.nd-teams { display: flex; gap: 6px; overflow-x: auto; margin: 10px -20px 0; padding: 0 20px 2px; scrollbar-width: none; }
.nd-teams button { flex: none; display: inline-flex; align-items: center; gap: 6px; min-height: 34px; padding: 0 12px 0 5px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--muted); font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; }
.nd-teams button[aria-pressed="true"] { border-color: var(--text); color: var(--text); }
.nd-day { display: flex; align-items: baseline; gap: 8px; margin: 14px 0 2px; font-size: 13px; } .nd-day small { color: var(--muted); font-weight: 600; font-size: 12px; }
.nd-th { display: flex; align-items: center; gap: 8px; margin: 14px 0 2px; font-size: 14px; } .nd-th small { color: var(--muted); font-weight: 700; }
.nd-row { all: unset; box-sizing: border-box; display: flex; align-items: center; gap: 8px; width: 100%; min-height: 44px; padding: 6px 2px; border-top: 1px solid var(--line); cursor: pointer; font-size: 13px; }
.nd-row .nw-l { flex: 1; min-width: 0; } .nd-row > svg { color: var(--muted); flex: none; }
.nd-row:hover { background: var(--bg2); } .nd-row:focus-visible { outline: 2px solid var(--hi); outline-offset: -2px; }
.nd .tag { font-size: 11.5px; font-weight: 800; padding: 2px 9px; border-radius: 999px; background: var(--bg2); color: var(--muted); white-space: nowrap; }
.nd .tag.new { background: var(--hi-bg); color: var(--hi); } .nd .tag.red { background: var(--red-bg); color: var(--red); }
.nd-hero { display: flex; align-items: center; gap: 12px; margin: 12px 0 10px; } .nd-hero > div { display: grid; gap: 3px; flex: 1; min-width: 0; } .nd-hero .dim { font-size: 13px; }
.nd-t { font-size: 19px; }
.nd-lane { width: 44px; height: 44px; display: grid; place-items: center; flex: none; color: var(--text); }
.nd-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 10px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.nd-stats span { display: grid; gap: 2px; } .nd-stats small { color: var(--muted); font-size: 12px; } .nd-stats b { font-size: 19px; }
.nd-h4 { margin: 14px 0 2px; font-size: 12.5px; color: var(--muted); }
.nd-p { font-size: 13.5px; line-height: 1.55; margin: 0 0 4px; }
.nd-g { display: flex; align-items: center; gap: 8px; min-height: 38px; font-size: 13px; border-top: 1px solid var(--line); }
.nd-q { flex: 1; min-width: 0; color: var(--muted); } .nd-kda { font-variant-numeric: tabular-nums; }
.nd-g b { width: 22px; text-align: right; } .nd-g .w { color: var(--good); } .nd-g .l { color: var(--red); }
.nd-five { display: flex; gap: 2px; }
.nd-champs { display: flex; gap: 14px; margin-top: 6px; } .nd-champs span { display: grid; justify-items: center; gap: 3px; } .nd-champs small { font-size: 11.5px; }
.nd-act { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.nd-act .n-new.sm { padding: 0 16px; min-height: 40px; font-size: 13.5px; }
.nd-soft { background: transparent; border: 1px solid var(--line); color: var(--text); min-height: 40px; padding: 0 16px; font-size: 13.5px; }
.nd-soft:hover { background: var(--line); }
@media (max-width: 760px) {
  .nd { inset: auto 0 0 0; margin: 0; width: auto; height: auto; max-height: 86vh; border-radius: 20px 20px 0 0; padding: 14px 16px 0; box-shadow: 0 -12px 40px rgba(0, 0, 0, .2); }
  .nd-teams { margin: 10px -16px 0; padding: 0 16px 2px; }
  .nd-f { flex-wrap: nowrap; overflow-x: auto; margin: 8px -16px 6px; padding: 0 16px; scrollbar-width: none; } .nd-f button { flex: none; }
  .nd.in { animation-name: ndup; }
  .nd-sc { margin: 0 -16px; padding: 0 16px calc(20px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) { .nd.in, .nd-bg.in { animation: none; } }
/* 11-22 사용자: 흰 카드·다음 상대 칸 자체를 누르면 그 팀 변동 모달 */
.tc-click, .nx-click { cursor: pointer; transition: box-shadow .16s ease-out, transform .16s ease-out; }
.tc-click:hover { box-shadow: 0 0 0 1.5px var(--line), 0 6px 18px rgba(0, 0, 0, .06); }
.tc-click:active, .nx-click:active { transform: scale(.995); }
.tc-click:focus-visible, .nx-click:focus-visible { outline: 2px solid var(--hi); outline-offset: 2px; }
.tc-click .tc-n { font-weight: 800; }
.nd-row { cursor: default; } .nd-row:hover { background: none; }
.nd-ex { color: var(--muted); font-size: 12px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.nd-gr .nd-q { flex: 1; } .nd-gr b { width: 22px; text-align: right; } .nd-gr .w { color: var(--good); } .nd-gr .l { color: var(--red); }
.nd-stats { margin: 4px 0 8px; } .nd-stats em { font-style: normal; color: var(--muted); font-size: 11.5px; }
@media (prefers-reduced-motion: reduce) { .tc-click, .nx-click { transition: none; } .tc-click:active, .nx-click:active { transform: none; } }

/* 챔프 찾기 목록(11-22): 미리 밴·목표 챔프·챔프폭 넣기 칸 아래 「초상화 + 이름」 — 화면 위에 떠서 칸 위치를 따라감 */
#csgBox.csg { position: fixed; z-index: 120; display: grid; gap: 2px; max-height: 320px; overflow-y: auto; padding: 6px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); box-shadow: 0 12px 32px rgba(0, 0, 0, .18); }
#csgBox.csg[hidden] { display: none; }
#csgBox .pk-sg { display: flex; align-items: center; gap: 8px; min-height: 40px; padding: 4px 8px; border: 0; border-radius: 8px; background: transparent; color: var(--text); font: inherit; font-size: 13.5px; text-align: left; cursor: pointer; }
#csgBox .pk-sg[aria-selected="true"], #csgBox .pk-sg:hover { background: var(--bg2); }
#csgBox .csg-none { margin: 6px 8px; }

/* ---------- 5:5 내전 구인 · 연습중인 상대 순위(11-24) ---------- */
.scrim { display: grid; gap: 18px; }
.scr-hero { position: relative; overflow: hidden; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; background: #15171C; color: #EDEDF0; border-radius: 20px; padding: 26px 28px; }
.scr-hero::after { content: ""; position: absolute; right: -60px; top: -80px; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(91,63,224,.45), transparent 65%); pointer-events: none; }
html[data-theme="dark"] .scr-hero { background: var(--panel2); }
@media (prefers-color-scheme: dark) { html:not([data-theme="light"]) .scr-hero { background: var(--panel2); } }
html[data-theme="dark"] .scr-hero::after { background: radial-gradient(circle, rgba(200,240,49,.18), transparent 65%); }
@media (prefers-color-scheme: dark) { html:not([data-theme="light"]) .scr-hero::after { background: radial-gradient(circle, rgba(200,240,49,.18), transparent 65%); } }
.scr-hero-t { position: relative; z-index: 1; max-width: 640px; display: grid; gap: 6px; }
.scr-k { font-size: 12.5px; font-weight: 800; color: #B9ACFF; letter-spacing: .02em; }
html[data-theme="dark"] .scr-k { color: var(--hi); }
@media (prefers-color-scheme: dark) { html:not([data-theme="light"]) .scr-k { color: var(--hi); } }
.scr-hero h1 { margin: 0; font-size: 26px; line-height: 1.25; letter-spacing: -0.02em; }
.scr-hero p { margin: 0; color: #a9abb3; font-size: 14px; line-height: 1.55; }
.scr-hero-b { position: relative; z-index: 1; display: grid; justify-items: end; gap: 7px; }
.scr-hero-b small { color: #9a9ca5; font-size: 12px; }
.scr-hero .n-new { background: var(--hi); color: var(--on-gold, #fff); }
.scr-main { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 18px; align-items: start; }
.scr-col { display: grid; gap: 14px; min-width: 0; }
.scr-side { position: sticky; top: 12px; min-width: 0; }
.scr-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: var(--panel); border-radius: 16px; padding: 10px 12px; }
.scr-seg { border: 0; background: var(--bg2); border-radius: 11px; padding: 3px; }
.scr-seg button { padding: 7px 13px; font-size: 13px; border-radius: 8px; display: inline-flex; gap: 6px; align-items: center; }
.scr-seg button small { font-size: 11.5px; color: var(--dim); font-weight: 700; }
.scr-seg button[aria-pressed="true"] { background: var(--panel); color: var(--text); box-shadow: 0 1px 2px rgba(0,0,0,.08); }
.scr-roles { display: inline-flex; gap: 4px; }
.scr-rb { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel); color: var(--muted); padding: 0; }
.scr-rb:hover { color: var(--text); border-color: var(--dim); }
.scr-rb[aria-pressed="true"] { background: var(--hi-bg); border-color: var(--hi); color: var(--hi); }
.scr-roles.big { gap: 8px; flex-wrap: wrap; }
.scr-roles.big .scr-rb { width: auto; height: auto; min-width: 64px; padding: 8px 10px; gap: 4px; }
.scr-roles.big .scr-rb small { font-size: 12px; font-weight: 700; }
.scr-sel { height: 36px; width: auto; min-width: 0; border-radius: 10px; font-size: 13px; padding: 0 10px; background: var(--panel); }
.scr-re { margin-left: auto; }
.scr-re[aria-busy="true"] svg { animation: nxspin .9s linear infinite; }
/* 구인 글 리스트(11-24 사용자: 카드 대신 리스트 · 컬럼 머리글 — 닉네임이 한 줄에 다 보이고 내용이 한눈에) */
.scr-list { background: var(--panel); border-radius: 16px; padding: 4px 0; }
.scr { display: grid; grid-template-columns: 78px minmax(130px, 1fr) 86px 72px 100px 60px 46px 54px 68px; align-items: center; column-gap: 8px; row-gap: 5px; padding: 12px 14px; min-width: 0; }
.scr + .scr { border-top: 1px solid var(--line); }
.scr:not(.scr-hd):not(.is-sk):hover { background: var(--bg2); }
.scr-hd { padding-top: 9px; padding-bottom: 9px; font-size: 11.5px; font-weight: 700; color: var(--dim); }
.scr-meta { display: contents; }
.scr-kind { justify-self: start; font-size: 11.5px; font-weight: 800; padding: 3px 9px; border-radius: 999px; white-space: nowrap; }
.scr-who { display: flex; align-items: center; gap: 7px; min-width: 0; }
.scr-who b { display: flex; min-width: 0; font-size: 15.5px; font-weight: 800; letter-spacing: -0.01em; white-space: nowrap; }
.scr-who .scr-tag { flex: none; color: var(--dim); font-weight: 700; }
.scr-who i { flex: none; }
.scr-c { font-size: 12.5px; font-weight: 700; color: var(--muted); white-space: nowrap; min-width: 0; }
.scr-c.is-none { color: var(--line); }
.scr-c i { font-style: normal; display: inline-block; padding: 2px 8px; border-radius: 7px; font-size: 11.5px; font-weight: 800; }
.scr-need { display: inline-flex; align-items: center; gap: 2px; color: var(--hi); }
.scr-need .scr-ln { display: inline-grid; place-items: center; }
.scr-need b { display: none; }
/* 밴픽 방식 색: 하드 = 빨강 · 소프트 = 주황 · 일반 = 회색 / 보이스 필수 = 초록 */
.scr-mode.m-hard i { background: var(--red-bg); color: var(--red); }
.scr-mode.m-soft i { background: rgba(232, 150, 46, 0.14); color: #E08A1E; }
.scr-mode.m-off i { background: var(--bg2); color: var(--muted); }
.scr-voice i { background: var(--good-bg); color: var(--good); }
.scr-voice em { font-style: normal; display: none; }
.scr-at { font-size: 12px; color: var(--dim); font-weight: 600; white-space: nowrap; text-align: right; }
.scr-end { display: flex; align-items: center; justify-content: flex-end; gap: 4px; }
.scr-end .ib { flex: none; width: 32px; height: 32px; min-height: 32px; padding: 0; display: inline-grid; place-items: center; border-radius: 9px; }
.scr-memo { grid-column: 2 / -1; margin: 0; font-size: 14px; line-height: 1.45; color: var(--text); white-space: pre-line; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.scr-kind.team { background: var(--blue-bg); color: var(--blue); }
.scr-kind.mem { background: var(--hi-bg); color: var(--hi); }
.scr-tier.t-gold { color: #B7862A; } .scr-tier.t-platinum { color: #2E9C8F; } .scr-tier.t-emerald { color: #1F9D5C; } .scr-tier.t-diamond { color: #4C6FE0; }
.scr-tier.t-master { color: #9B4FD1; } .scr-tier.t-grandmaster { color: #D4434F; } .scr-tier.t-challenger { color: #C98F12; }
.scr-ok, .scr-no { font-style: normal; font-size: 10.5px; font-weight: 800; padding: 1px 6px; border-radius: 6px; }
.scr-ok { background: var(--good-bg); color: var(--good); } .scr-no { background: var(--bg2); color: var(--dim); }

/* 글쓰기 창 */
.modal.scr-form { width: min(600px, 100%); background: var(--panel); border: 0; border-radius: 20px; padding: 22px 24px; display: grid; gap: 14px; color: var(--text); }
.scr-form .modal-h { margin: 0; } .scr-form .modal-h h2 { font-size: 19px; }
.scf-kind { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; border: 0; padding: 0; background: transparent; }
.scf-kind button { display: grid; gap: 3px; text-align: left; padding: 12px 14px; border-radius: 13px; border: 1.5px solid var(--line); background: var(--panel); color: var(--text); }
.scf-kind button b { font-size: 14.5px; } .scf-kind button small { font-size: 12px; color: var(--muted); font-weight: 600; }
.scf-kind button[aria-pressed="true"] { border-color: var(--hi); background: var(--hi-bg); }
.scf-kind button[aria-pressed="true"] b { color: var(--hi); }
.scf-f { display: grid; gap: 6px; min-width: 0; }
.scf-f > span { font-size: 13px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.scf-f em { font-style: normal; font-size: 11px; font-weight: 800; color: var(--hi); } .scf-f em.opt { color: var(--dim); }
.scf-f .input { width: 100%; height: 40px; border-radius: 11px; font-size: 14px; padding: 0 12px; }
.scf-f textarea.input { height: auto; padding: 10px 12px; resize: vertical; font: inherit; font-size: 14px; line-height: 1.5; }
.scr-form[data-kind="team"] .scf-need { display: none; }
.scf-row { display: grid; grid-template-columns: 1.2fr 1.2fr 1fr; gap: 10px; }
.scf-when { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; } .scf-when .input { flex: 1 1 160px; }
.scf-chk { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; }
.scf-err { margin: 0; min-height: 0; color: var(--red); font-size: 13px; font-weight: 700; } .scf-err:empty { display: none; }
.scf-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 4px; }
.scf-foot small { color: var(--muted); font-size: 12px; line-height: 1.45; }
.scf-foot .n-new { padding: 10px 26px; } .scf-foot .n-new:disabled { opacity: .6; }

/* 연습중인 상대(홈 · 구인 화면 옆) */
.prk { display: grid; gap: 12px; }
.prk-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.prk-h h2 { margin: 0; font-size: 19px; letter-spacing: -0.01em; }
.prk-h p { margin: 2px 0 0; font-size: 12.5px; color: var(--muted); }
.prk-hide { font-size: 12px; padding: 6px 12px; }
.prk-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.prk.compact .prk-grid { grid-template-columns: 1fr; }
.prk.compact .prk-h h2 { font-size: 16px; }
.prk-card { background: var(--panel); border-radius: 16px; padding: 14px 14px 10px; display: grid; gap: 6px; align-content: start; min-width: 0; }
.prk.compact .prk-card.is-sk { min-height: 150px; }
.prk-card h3 { margin: 0 0 4px; display: flex; align-items: center; gap: 7px; font-size: 14.5px; }
.prk-card h3 .lbi { color: var(--hi); } .prk-card h3 small { margin-left: auto; font-size: 11.5px; color: var(--dim); font-weight: 700; }
.prk-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.prk-row { position: relative; display: flex; align-items: center; gap: 10px; padding: 8px 6px; border-radius: 11px; min-width: 0; }
.prk-row.me { background: var(--hi-bg); }
.prk-n { width: 20px; text-align: center; font-size: 13px; font-weight: 800; color: var(--dim); font-variant-numeric: tabular-nums; flex: none; }
.prk-n.t3 { color: var(--hi); }
.prk-row .crest { width: 30px; height: 30px; flex: none; }
.prk-nm { flex: 1; min-width: 0; display: grid; gap: 0; }
.prk-nm b { font-size: 14px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prk-nm i { font-style: normal; font-size: 10.5px; font-weight: 800; color: var(--hi); }
.prk-nm small { font-size: 11.5px; color: var(--dim); font-weight: 600; }
.prk-v { display: grid; justify-items: end; flex: none; } .prk-v b { font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; } .prk-v small { font-size: 11px; color: var(--dim); font-weight: 700; }
.prk-bar { position: absolute; left: 36px; right: 6px; bottom: 2px; height: 2px; border-radius: 2px; background: var(--bg2); overflow: hidden; }
.prk-bar::after { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); background: var(--hi); opacity: .55; border-radius: 2px; }
.prk-note { margin: 0; }
.home-new > .prk { margin-top: 6px; }

.scr-col { container: scrcol / inline-size; }
@container scrcol (max-width: 800px) {
  /* 좁은 화면: 머리글 없이 — 닉네임이 한 줄을 통째로(잘리지 않게), 칸은 꼬리표로 */
  .scr-hd { display: none; } .scr-hd + .scr { border-top: 0; }
  .scr { grid-template-columns: minmax(0, 1fr) auto auto; grid-template-areas: "kind at end" "who who who" "memo memo memo" "meta meta meta"; row-gap: 8px; column-gap: 9px; padding: 13px 14px; }
  .scr-kind { grid-area: kind; } .scr-who { grid-area: who; } .scr-at { grid-area: at; } .scr-end { grid-area: end; } .scr-memo { grid-area: memo; -webkit-line-clamp: 3; }
  .scr-who b { font-size: 17px; }
  .scr-meta { grid-area: meta; display: flex; flex-wrap: wrap; align-items: center; gap: 5px; }
  .scr-c.is-none { display: none; } .scr-voice em { display: inline; }
  .scr-c:not(.scr-mode):not(.scr-voice) { padding: 2px 8px; border-radius: 7px; background: var(--bg2); font-size: 11.5px; }
  .scr-need { background: var(--hi-bg) !important; } .scr-need b { display: inline; margin-left: 3px; font-weight: 800; }
}
@media (max-width: 1100px) { .scr-main { grid-template-columns: 1fr; } .scr-side { position: static; } .prk.compact .prk-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) {
  .scrim { gap: 14px; padding: 4px 0 24px; }
  .scr-hero { padding: 20px 18px; border-radius: 18px; gap: 14px; }
  .scr-hero h1 { font-size: 20px; } .scr-hero p { font-size: 13px; }
  .scr-hero-b { justify-items: stretch; width: 100%; } .scr-hero-b .n-new { justify-content: center; } .scr-hero-b small { text-align: center; }
  .scr-bar { padding: 8px; gap: 8px; } .scr-seg { width: 100%; display: grid; grid-template-columns: repeat(3, 1fr); } .scr-seg button { justify-content: center; padding: 7px 4px; font-size: 12.5px; }
  .scr-sel { flex: 1 1 40%; }
  .prk-grid, .prk.compact .prk-grid { grid-template-columns: 1fr; }
  .modal.scr-form { padding: 18px 16px; border-radius: 18px; max-height: 92vh; }
  .scf-row { grid-template-columns: 1fr 1fr; } .scf-row .scf-f:first-child { grid-column: span 2; }
  .scf-foot { flex-direction: column; align-items: stretch; } .scf-foot .n-new { justify-content: center; }
}

/* 점수 기준표(11-24 사용자 「점수도 중앙에」): 티어 | 점수 | 기본값 칸을 좌우 대칭으로 — 점수 칸이 표 한가운데 */
.pt-tbl { table-layout: fixed; }
.pt-tbl thead th:nth-child(1), .pt-tbl tbody th { width: 40%; }
.pt-tbl thead th:nth-child(2), .pt-tbl tbody td:nth-of-type(1) { width: 20%; text-align: center; }
.pt-tbl thead th:nth-child(3), .pt-tbl td.pt-def { width: 40%; text-align: right; }
.pt-tbl .pt-in { width: 96px; max-width: 100%; text-align: center; }
.pt-act { justify-content: center; }

/* 구인 글(11-24 사용자 수정): 보이스 필수는 팀원 구함에만 · 카드 아래 롤 닉네임 */
.scr-form[data-kind="team"] .scf-voice { display: none; }
.scr-nick { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* 마스터 콘솔 입구(11-25): 계정 줄에 링크가 둘이면 오른쪽에 붙여 모음 · 모바일 메뉴는 버튼 모양 링크 */
.lg-who .nc-a + .nc-a { margin-left: 0; }
a.mv-admin { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; color: var(--text); }
.ap-who .nc-a { white-space: nowrap; }
.ap-who { min-width: 0; } .ap-nm { font-style: normal; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 11-26 메뉴 폭은 여기 한 곳에서(위쪽 옛 규칙들이 220·200px를 다시 박아 메뉴가 접혀도 그 자리가 비어 있었음) */
html.pc body { --gw: 220px; grid-template-columns: var(--gw) minmax(0, 1fr); }
@media (max-width: 1599px) { html.pc body { --gw: 200px; } }
html.pc.g-mini body { --gw: 72px; }
html.pc.g-none body { --gw: 0px; }
