/* 로스터·영입·경기·훈련·구단·포털 추가 화면 공용 스타일 */

/* ---------- 선수 프로필 창 ---------- */
.pp-back { position: fixed; inset: 0; z-index: 120; background: rgba(4, 7, 14, .72); display: flex; align-items: center; justify-content: center; padding: 16px; }
.pp { position: relative; width: min(860px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.pp-x { position: absolute; right: 12px; top: 10px; z-index: 2; width: 32px; height: 32px; border-radius: 8px; background: rgba(0, 0, 0, .35); border: 0; color: #fff; font-size: 20px; }
.pp-head { display: flex; align-items: flex-end; gap: 18px; padding: 22px 24px 18px; background: linear-gradient(120deg, color-mix(in srgb, var(--c) 35%, #0f1626), var(--panel) 70%); }
.pp-photo { width: 120px; height: 120px; border-radius: 12px; object-fit: cover; object-position: top; background: #1c2640; flex: none; }
.pp-photo.pl-ph-empty { display: flex; align-items: center; justify-content: center; font-size: 40px; }
.pp-id { min-width: 0; }
.pp-team { display: flex; align-items: center; gap: 6px; font-size: 12px; color: #dfe5ef; }
.pp-team .team-logo, .pp-team .team-badge { width: 20px; height: 20px; }
.pp-id h2 { margin: 4px 0 0; font-size: 30px; }
.pp-sub { font-size: 13px; color: var(--muted); }
.pp-tags { display: flex; align-items: center; gap: 12px; margin-top: 8px; font-size: 13px; flex-wrap: wrap; }
.pp-val { margin-left: auto; text-align: right; }
.pp-val span { display: block; font-size: 11px; color: var(--muted); }
.pp-val b { font-family: var(--f-ui); font-size: 26px; color: var(--gold-2); }
.pp-body { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; padding: 6px 24px 10px; }
.pp-body h4 { font-size: 13px; margin: 14px 0 8px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.pp-body h4 small { color: var(--muted); font-weight: 400; margin-left: 4px; }
.pp-morale { display: flex; align-items: center; gap: 10px; font-size: 13px; padding: 4px 0; }
.pp-morale > span:first-child { width: 90px; color: var(--muted); }
.pp-line { font-size: 13px; color: #b3bccd; margin: 4px 0 8px; }
.pp-pool { flex-wrap: wrap; gap: 12px; }
.pp-link { font-size: 12px; color: var(--gold); text-decoration: none; display: inline-block; margin-top: 10px; }
.pp-foot { display: flex; justify-content: flex-end; gap: 8px; padding: 14px 24px 20px; border-top: 1px solid var(--line); }
.form-pts i.hi { background: rgba(63, 191, 127, .2); color: #7fe0ae; }
.form-pts i.mid { background: rgba(255, 255, 255, .07); color: #dfe5ef; }
.form-pts i.lo { background: rgba(226, 87, 92, .2); color: #ff9a9e; }

/* 계약 상태 */
.ct-st { font-size: 11px; font-weight: 700; padding: 2px 7px; border-radius: 4px; white-space: nowrap; }
.ct-st.fa { background: rgba(226, 87, 92, .2); color: #ff8a8e; }
.ct-st.soon { background: rgba(240, 165, 74, .18); color: #f0a54a; }
.ct-st.mid { background: rgba(200, 162, 74, .14); color: var(--gold-2); }
.ct-st.ok { background: rgba(63, 191, 127, .14); color: #4fd690; }
.ct-st.na { background: #1f2a44; color: var(--muted); }
.ct-bar { width: 120px; height: 6px; border-radius: 3px; background: #1c2640; overflow: hidden; }
.ct-bar i { display: block; height: 100%; }
.ct-bar i.fa, .ct-bar i.soon { background: #f0a54a; }
.ct-bar i.mid { background: var(--gold); }
.ct-bar i.ok { background: #3fbf7f; }
.ct-btn { padding: 4px 10px; font-size: 12px; white-space: nowrap; }
.ct-table tbody tr, .rc-table tbody tr { cursor: pointer; }
.neg { display: flex; flex-direction: column; gap: 10px; min-width: min(420px, 80vw); }
.neg-row { display: flex; justify-content: space-between; font-size: 13px; padding: 6px 0; border-bottom: 1px solid #1b2438; }
.neg-row span { color: var(--muted); }

/* 선수 비교 */
.cmp-grid { display: grid; grid-template-columns: 1fr auto 1fr; gap: 12px; align-items: start; }
.cmp-vs { align-self: center; font-family: var(--f-title); font-size: 26px; color: var(--gold); }
.cmp-card { display: flex; flex-direction: column; gap: 10px; }
.cmp-card h4 { font-size: 13px; margin: 6px 0 0; }
.cmp-sel { width: 100%; }
.cmp-head { display: flex; align-items: center; gap: 12px; }
.cmp-head .pl-ph { width: 64px; height: 64px; }
.cmp-head b { display: block; font-size: 20px; }
.cmp-head span { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.cmp-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.cmp-stats > div { background: var(--panel-2); border-radius: 8px; padding: 8px 10px; }
.cmp-stats span { display: block; font-size: 11px; color: var(--muted); }
.cmp-stats b { font-family: var(--f-ui); font-size: 20px; }

/* 컨디션·폼 */
.cd-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.cd-card { cursor: pointer; display: flex; flex-direction: column; gap: 4px; }
.cd-card:hover { border-color: #3a4a6c; }
.cd-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.cd-head .pl-ph { width: 40px; height: 40px; }
.cd-head b { display: block; }
.cd-head .morale { margin-left: auto; font-size: 12px; font-weight: 700; }
.cd-form { display: grid; grid-template-columns: 90px 1fr 34px; gap: 10px; align-items: center; font-size: 13px; }
.cd-form span { color: var(--muted); }
.cd-form svg { width: 100%; height: 26px; }
.cd-form b { text-align: right; }
.cd-meta { display: flex; gap: 12px; font-size: 11px; color: var(--muted); margin-top: 4px; flex-wrap: wrap; }
.cd-meta b { color: var(--text); font-weight: 500; }

/* 영입 */
.rc-star { background: none; border: 0; font-size: 16px; color: #3a4660; padding: 0 2px; }
.rc-star.on { color: var(--gold-2); }
.rc-lv { margin-left: 6px; padding: 1px 6px; border-radius: 4px; background: #24304a; color: #9fb0cc; font-size: 11px; font-weight: 600; }
.rc-go { display: inline-block; text-decoration: none; padding: 8px 16px; align-self: flex-start; margin-top: 6px; }
.rp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 10px; }
.rp-card { cursor: pointer; display: flex; flex-direction: column; gap: 10px; }
.rp-head { display: flex; align-items: center; gap: 10px; }
.rp-head .pl-ph { width: 44px; height: 44px; }
.rp-head b { display: block; font-size: 15px; }
.rp-head span { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--muted); }
.rp-head .rc-star { margin-left: auto; }
.rp-grade { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.rp-grade > span { color: var(--muted); }
.rp-grade b { color: var(--gold-2); }
.rp-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rp-cols h5 { margin: 0 0 4px; font-size: 12px; color: var(--muted); }
.rp-cols ul { margin: 0; padding-left: 16px; font-size: 12px; color: #b3bccd; line-height: 1.6; }
.rp-foot { display: flex; justify-content: space-between; font-size: 11px; color: #5f6b84; border-top: 1px solid #1b2438; padding-top: 8px; }
.of-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid #1b2438; cursor: pointer; flex-wrap: wrap; }
.of-row .pl-ph { width: 36px; height: 36px; }
.of-row b { display: block; font-size: 13px; }
.of-row span { display: flex; align-items: center; gap: 5px; font-size: 12px; color: var(--muted); }
.of-row > .ot-st { margin-left: auto; }
.of-fee { margin-left: auto; text-align: right; }
.of-fee b { font-family: var(--f-ui); font-size: 16px; color: var(--gold-2); }
.of-fee small { display: block; font-size: 10px; color: var(--muted); }
.of-act { display: flex; gap: 6px; }
.of-act button { padding: 4px 10px; font-size: 12px; }
.sc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.sc-card { display: flex; flex-direction: column; gap: 10px; }
.sc-head { display: flex; align-items: center; gap: 10px; }
.sc-head .pl-ph { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; }
.sc-head b { display: block; }
.sc-head span { font-size: 12px; color: var(--muted); }
.sc-meta { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); }

/* 경기 */
.nx-count { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.nx-count span { font-size: 12px; color: var(--muted); }
.nx-count b { font-family: var(--f-ui); font-size: 44px; color: var(--gold-2); line-height: 1; }
.nx-count small { font-size: 12px; color: #b3bccd; }
.nx-todo { margin: 0; padding-left: 18px; line-height: 2; font-size: 13px; }
.nx-todo a { color: var(--text); }
.nx-head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; padding: 20px; }
.nx-side { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; }
.nx-side .team-logo, .nx-side .team-badge { width: 64px; height: 64px; }
.nx-side b { font-size: 16px; }
.nx-mid { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.nx-mid span { font-size: 12px; color: var(--muted); }
.nx-mid b { font-family: var(--f-title); font-size: 30px; color: var(--gold); }
.nx-mid small { font-size: 12px; color: #b3bccd; }
.nx-mid em { font-style: normal; font-family: var(--f-ui); font-weight: 700; color: var(--gold-2); }
.mh-card { padding-bottom: 8px; }
.mh-row { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto auto 20px; gap: 10px; align-items: center; padding: 6px 8px; border-radius: 6px; font-size: 13px; border-left: 3px solid; margin-bottom: 3px; }
.mh-row.w { background: rgba(58, 160, 255, .07); border-color: #3aa0ff; }
.mh-row.l { background: rgba(226, 87, 92, .07); border-color: #e2575c; }
.mh-row > span:first-child { color: var(--muted); }
.mh-tab { font-size: 11px; color: var(--muted); }
.mh-score { font-family: var(--f-ui); font-size: 15px; }
.mh-row i { font-style: normal; font-weight: 700; font-size: 12px; }
.mh-row.w i { color: #7fc0ff; }
.mh-row.l i { color: #ff8a8e; }
.cr-grid .mh-row { grid-template-columns: 52px minmax(0, 1fr) auto; }
.op-title { display: flex; align-items: center; gap: 14px; }
.op-title .team-logo, .op-title .team-badge { width: 52px; height: 52px; }
.op-sel { margin-left: auto; }
.op-notes { margin: 0; padding-left: 18px; font-size: 13px; line-height: 2; color: #b3bccd; }
.op-notes b { color: var(--text); }
.op-champs { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; }
.op-champs > div { display: flex; align-items: center; gap: 6px; font-size: 12px; flex-wrap: wrap; }
.op-champs span { color: var(--muted); }
.op-champs small { flex-basis: 100%; padding-left: 32px; font-size: 11px; color: var(--gold); }
.op-roster { display: flex; flex-direction: column; gap: 6px; }
.op-pl { display: grid; grid-template-columns: 40px 120px minmax(0, 1fr); gap: 10px; align-items: center; cursor: pointer; padding: 4px 0; }
.op-pl .pl-ph { width: 40px; height: 40px; }
.op-pl b { display: block; font-size: 13px; }
.mt-ai { display: flex; flex-direction: column; gap: 4px; border-style: dashed; }
.mt-ai b { color: var(--gold-2); }
.mt-ai span { font-size: 12px; color: var(--muted); }
.mt-roles { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.mt-row { display: grid; grid-template-columns: 26px minmax(0, 1fr) 22px 44px; gap: 6px; align-items: center; font-size: 12px; padding: 3px 0; }
.mt-row b { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mt-row span { color: var(--muted); text-align: right; }
.mt-tier { font-style: normal; font-family: var(--f-ui); font-weight: 700; font-size: 11px; text-align: center; border-radius: 3px; padding: 1px 5px; }
.mt-tier.tS { background: #e2575c; color: #fff; }
.mt-tier.tA { background: #f0a54a; color: #1a1406; }
.mt-tier.tB { background: #3aa0ff33; color: #8cc8ff; }
.mt-tier.tC { background: #1f2a44; color: var(--muted); }
.mt-sig { font-size: 12px; color: var(--gold); white-space: normal !important; }
.st-table tr.mine td { background: rgba(58, 160, 255, .08); }
.st-table td.good { color: #3fbf7f; }
.st-table td.bad { color: #e2575c; }

/* 훈련 */
.tr-wrap { overflow-x: auto; }
.tr-grid { display: grid; grid-template-columns: 48px repeat(7, minmax(84px, 1fr)); gap: 4px; min-width: 640px; }
.tr-day, .tr-slot { font-size: 12px; color: var(--muted); display: flex; align-items: center; justify-content: center; padding: 4px; }
.tr-cell { height: 44px; border-radius: 6px; border: 1px solid color-mix(in srgb, var(--c) 60%, transparent); background: color-mix(in srgb, var(--c) 22%, #0f1626); color: #e6ebf5; font-size: 12px; font-weight: 700; }
.tr-cell:hover { filter: brightness(1.2); }
.tr-dot { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 6px; }
.in-table td { padding: 6px 10px; }
.in-int button { padding: 4px 10px; font-size: 12px; }
.sm-row { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid #1b2438; }
.sm-row .team-logo, .sm-row .team-badge { width: 30px; height: 30px; }
.sm-row b { display: block; font-size: 13px; }
.sm-row span { display: flex; align-items: center; gap: 4px; font-size: 11px; color: var(--muted); }
.sm-av { margin-left: auto; font-size: 11px !important; font-weight: 700; }
.sm-av.ok { color: #4fd690 !important; }
.sm-av.no { color: #5f6b84 !important; }
.sm-btn { padding: 4px 10px; font-size: 12px; }
.sm-btn:disabled { opacity: .4; cursor: default; }

/* 구단 */
.fn-chart { width: 100%; height: 140px; display: block; }
.cap-bar { position: relative; height: 16px; border-radius: 8px; background: #1c2640; margin: 8px 0 26px; }
.cap-bar i { display: block; height: 100%; border-radius: 8px; background: linear-gradient(90deg, #3fbf7f, var(--gold)); }
.cap-bar i.over { background: #e2575c; }
.cap-bar span { position: absolute; top: 20px; transform: translateX(-100%); font-size: 11px; color: var(--muted); white-space: nowrap; }
.cap-tiers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.cap-tiers > div { background: var(--panel-2); border-radius: 8px; padding: 8px 10px; opacity: .55; }
.cap-tiers > div.on { opacity: 1; border: 1px solid #e2575c; }
.cap-tiers b { display: block; font-size: 12px; }
.cap-tiers span { font-size: 11px; color: var(--muted); }
.cap-row { display: grid; grid-template-columns: 32px auto minmax(0, 140px) 24px minmax(0, 1fr) 64px; gap: 10px; align-items: center; font-size: 13px; padding: 5px 0; cursor: pointer; }
.cap-row .pl-ph { width: 32px; height: 32px; }
.cap-row.top b { color: var(--gold-2); }
.cap-row span { text-align: right; }
.sf-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.sf-card { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; cursor: pointer; }
.sf-card.me { border-color: var(--gold); cursor: default; }
.sf-card.empty { border-style: dashed; cursor: default; }
.sf-av, .sf-photo { width: 84px; height: 84px; border-radius: 50%; overflow: hidden; background: #1c2640; object-fit: cover; object-position: top; margin-bottom: 4px; }
.sf-av svg { width: 100%; height: 100%; display: block; }
.sf-photo.pl-ph-empty { display: flex; align-items: center; justify-content: center; font-size: 28px; color: #5f6b84; }
.sf-card b { font-size: 14px; }
.sf-card > span { font-size: 12px; color: var(--muted); }
.sf-card small { font-size: 11px; color: #5f6b84; display: flex; align-items: center; gap: 4px; }
.sf-hire { margin-top: 6px; padding: 4px 12px; font-size: 12px; }
.sp-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.sp-card { display: flex; flex-direction: column; gap: 4px; min-height: 130px; }
.sp-card.vacant { border-style: dashed; }
.sp-card > .ot-st { align-self: flex-start; }
.sp-card > b { font-size: 15px; margin-top: 6px; }
.sp-cat { font-size: 12px; color: var(--muted); }
.sp-val { margin-top: auto; }
.sp-val b { font-family: var(--f-ui); font-size: 20px; color: var(--gold-2); }
.sp-val small { display: block; font-size: 11px; color: var(--muted); }
.sp-btn { margin-top: auto; padding: 6px 12px; font-size: 12px; align-self: flex-start; }
.hs-titles { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 8px; }
.hs-title { position: relative; border-radius: 8px; overflow: hidden; background: var(--panel-2); aspect-ratio: 4 / 3; display: flex; flex-direction: column; justify-content: flex-end; padding: 8px; }
.hs-title img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hs-title b, .hs-title span { position: relative; }
.hs-title b { font-family: var(--f-ui); font-size: 20px; color: var(--gold-2); }
.hs-title span { font-size: 11px; }

/* 포털: 메시지 전체 화면 · 뉴스 */
.portal-full { display: block; max-width: 1100px; margin: 0 auto; }
.portal-full .msg-panel { min-height: calc(100vh - 200px); }
.nw-card { display: flex; gap: 14px; text-decoration: none; color: inherit; }
.nw-card:hover { border-color: #3a4a6c; }
.nw-card.hero { padding: 20px 22px; background: linear-gradient(120deg, #172340, var(--panel) 70%); }
.nw-card.hero b { font-size: 20px; }
.nw-ph { width: 72px; height: 72px; border-radius: 8px; object-fit: cover; object-position: top; flex: none; background: #1c2640; }
.nw-card b { display: block; font-size: 15px; margin: 4px 0; line-height: 1.4; }
.nw-card p { margin: 0; font-size: 13px; color: #b3bccd; line-height: 1.55; }
.nw-card small { font-size: 11px; color: var(--muted); margin-left: 6px; }
.nw-tag { font-size: 10px; font-weight: 700; padding: 2px 6px; border-radius: 3px; }
.nw-tag.transfer { background: rgba(240, 165, 74, .18); color: #f0a54a; }
.nw-tag.league { background: rgba(58, 160, 255, .16); color: #8cc8ff; }
.nw-tag.soloq { background: rgba(167, 112, 255, .18); color: #c4a2ff; }
.nw-tag.team { background: rgba(200, 162, 74, .18); color: var(--gold-2); }
.nw-tag.patch { background: rgba(63, 191, 127, .16); color: #4fd690; }
.nw-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }

@media (max-width: 1023px) {
  .mt-roles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cmp-grid { grid-template-columns: 1fr; }
  .cmp-vs { justify-self: center; }
}
@media (max-width: 767px) {
  .pp-head { flex-wrap: wrap; padding: 18px; }
  .pp-photo { width: 84px; height: 84px; }
  .pp-id h2 { font-size: 24px; }
  .pp-val { margin-left: 0; text-align: left; }
  .pp-body { grid-template-columns: 1fr; padding: 0 18px; }
  /* 프로필 아래 버튼: 폰에서는 두 줄 이상으로 감싼다 (0.4.0에 방출 · 상호 해지가 더해져 왼쪽 버튼이 화면 밖으로 밀려 누를 수 없었다) */
  .pp-foot { flex-wrap: wrap; padding: 12px 14px 14px; gap: 6px; }
  .pp-foot > * { flex: 1 1 calc(50% - 6px); min-width: 0; white-space: nowrap; }
  .pp-foot .pp-mv { flex-basis: 100%; margin-right: 0; display: flex; }
  .pp-foot .pp-mv > * { flex: 1; }
  .nx-head { grid-template-columns: 1fr; }
  .nw-grid, .rp-cols, .op-champs { grid-template-columns: 1fr; }
  .cap-tiers { grid-template-columns: repeat(2, 1fr); }
  .op-pl { grid-template-columns: 40px 1fr; }
  .op-pl .ms-chips { grid-column: 1 / -1; }
  .mh-row { grid-template-columns: 44px minmax(0, 1fr) auto 20px; }
  .mh-tab { display: none; }
  .rc-table th:nth-child(6), .rc-table td:nth-child(6), .ct-table th:nth-child(6), .ct-table td:nth-child(6) { display: none; }
}
@media (max-width: 767px) { .mt-roles { grid-template-columns: 1fr; } }

/* 선수 특성 */
.tr-ic { font-style: normal; font-size: 13px; margin-left: 4px; cursor: help; }
.tr-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 4px 0 8px; }
.tr-chip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid var(--line, #2a3348); font-size: 12px; cursor: help; }
.tr-chip i { font-style: normal; }
.tr-list { list-style: none; margin: 4px 0 14px; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.tr-list li { display: flex; gap: 10px; align-items: flex-start; padding: 8px 10px; border-radius: 8px; background: rgba(255,255,255,.04); }
.tr-list li > i { font-style: normal; font-size: 20px; line-height: 1.2; }
.tr-list b { display: block; font-size: 13px; }
.tr-list span { font-size: 12px; color: var(--muted); }

/* 능력치 표 · 챌린저스 */
.at-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px 16px; margin: 6px 0 12px; }
.at-grp h5 { margin: 0 0 4px; font-size: 11px; color: var(--muted); font-weight: 600; }
.at-row { display: flex; justify-content: space-between; font-size: 12px; padding: 2px 0; border-bottom: 1px solid rgba(255,255,255,.04); }
.at-v { min-width: 22px; text-align: right; }
.at-v.hi { color: #5fd38d; } .at-v.mid { color: #e8c75a; } .at-v.lo { color: var(--muted); }
.ac-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.ac-card { padding: 16px; }
.ac-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.ac-head > div:nth-child(2) { flex: 1; display: flex; flex-direction: column; }
.ac-head span { font-size: 12px; color: var(--muted); }
.ac-stars { display: flex; gap: 20px; margin-bottom: 8px; font-size: 12px; }
.ac-stars span { color: var(--muted); margin-right: 6px; }
.ac-grow { display: flex; align-items: center; gap: 8px; font-size: 12px; margin-bottom: 10px; }
.ac-grow span { color: var(--muted); white-space: nowrap; }
.ac-grow .ms-next { flex: 1; }
.ac-empty { padding: 30px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }

/* 챌린저스 · 아카데미 */
.sqv-table .sq-acts { white-space: nowrap; text-align: right; }
.sqv-table .sq-acts button { margin-left: 4px; }
.sqv-table tr.sq-click { cursor: pointer; }
.sqv-two { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; margin-top: 14px; }
.sqv-res { display: flex; gap: 14px; align-items: center; padding: 8px 14px; border-bottom: 1px solid rgba(255,255,255,.05); font-size: 13px; }
.sqv-res b { min-width: 40px; }
.sqv-res.w b { color: #5fd38d; } .sqv-res.l b { color: #e46a6a; }
.pp-mv { display: inline-flex; gap: 6px; margin-right: auto; }
@media (max-width: 760px) { .sqv-two { grid-template-columns: 1fr; } .sqv-table .sq-acts { white-space: normal; } }

/* ---------- 협상 (에이전트 채팅) ---------- */
.ng-back { position: fixed; inset: 0; z-index: 130; background: rgba(4, 7, 14, .75); display: flex; align-items: center; justify-content: center; padding: 16px; }
.ng { position: relative; width: min(980px, 100%); height: min(720px, calc(100vh - 32px)); display: grid; grid-template-columns: 250px 1fr; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.ng-side { padding: 22px 18px; background: linear-gradient(180deg, color-mix(in srgb, var(--c) 30%, #0f1626), var(--panel) 60%); display: flex; flex-direction: column; gap: 6px; overflow: auto; }
.ng-ph { width: 96px; height: 96px; border-radius: 10px; object-fit: cover; object-position: top; background: #1c2640; }
.ng-ph.pl-ph-empty { display: flex; align-items: center; justify-content: center; font-size: 32px; }
.ng-name { font-size: 22px; margin-top: 6px; }
.ng-sub { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 6px; }
.ng-side .cr-dl { margin-top: 10px; font-size: 12px; }
.ng-side .cr-dl small { color: var(--muted); }
.ng-side .warn { color: #ff9a9e; }
.ng-pat { margin-top: 10px; font-size: 12px; color: var(--muted); }
.ng-pbar { display: flex; gap: 4px; margin-top: 6px; }
.ng-pbar i { flex: 1; height: 8px; border-radius: 3px; background: rgba(255, 255, 255, .08); }
.ng-pbar i.on { background: var(--gold); }
.ng-main { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.ng-head { padding: 16px 20px 12px; font-weight: 700; border-bottom: 1px solid var(--line); }
.ng-head small { color: var(--muted); font-weight: 400; margin-left: 6px; }
.ng-log { flex: 1; overflow: auto; padding: 14px 20px; display: flex; flex-direction: column; gap: 10px; }
.ng-msg { max-width: 78%; }
.ng-msg b { font-size: 11px; color: var(--muted); }
.ng-msg p { margin: 3px 0 0; padding: 10px 12px; border-radius: 10px; background: #1a2338; font-size: 13px; line-height: 1.55; }
.ng-msg.me { align-self: flex-end; text-align: right; }
.ng-msg.me p { background: color-mix(in srgb, var(--gold) 20%, #1a2338); text-align: left; }
.ng-qs { display: flex; flex-wrap: wrap; gap: 6px; padding: 8px 20px; border-top: 1px solid var(--line); min-height: 20px; }
.ng-form { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px 12px; padding: 12px 20px 16px; border-top: 1px solid var(--line); background: rgba(0, 0, 0, .15); }
.ng-form label { display: flex; flex-direction: column; gap: 3px; font-size: 11px; color: var(--muted); }
.ng-form input, .ng-form select { background: #111a2c; border: 1px solid var(--line); color: var(--text, #e6ebf3); border-radius: 6px; padding: 6px 8px; font-size: 13px; }
.ng-bonus { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; font-size: 12px; color: var(--muted); }
.ng-bonus label { flex-direction: row; align-items: center; gap: 4px; color: #dfe5ef; }
.ng-act { grid-column: 1 / -1; display: flex; justify-content: flex-end; gap: 8px; }
@media (max-width: 760px) { .ng { grid-template-columns: 1fr; height: calc(100vh - 32px); } .ng-side { display: none; } .ng-form { grid-template-columns: 1fr 1fr; } }

/* ---------- 팀 검색 ---------- */
.tf-table tbody tr { cursor: pointer; }
.tf-table tr.tf-me td { background: rgba(212, 175, 55, .06); }
.tf-pow { font-family: var(--f-ui); font-size: 16px; color: var(--gold-2); }
.tf-pl { display: flex; align-items: center; gap: 6px; min-width: 0; }
.tf-pl .pl-ph { width: 28px; height: 28px; }
.tf-pl b { display: block; font-size: 12px; white-space: nowrap; }
.tf-s { font-size: 11px; font-weight: 700; }
.tf-s.hi { color: #7fe0ae; } .tf-s.mid { color: #dfe5ef; } .tf-s.lo { color: #ff9a9e; }
@media (max-width: 760px) { .tf-table th:nth-child(n+9), .tf-table td:nth-child(n+9) { display: none; } }

/* ---------- 능력치 ---------- */
.at-v.off, .at-row.off span { color: var(--muted); opacity: .45; text-decoration: line-through; }
.pp-attrs { padding: 0 22px 14px; }
.pp-attrs .at-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 760px) { .pp-attrs .at-grid { grid-template-columns: repeat(2, 1fr); } }
.pp-ovr b { color: #fff; }
.pp-ovr + .pp-val { margin-left: 22px; }

.ng-hold { display: block; margin-top: 6px; font-size: 11px; color: var(--muted); }
.nw-more-wrap { text-align: center; margin: 16px 0; }

.ng-term { display: flex; flex-direction: column; justify-content: flex-end; gap: 4px; font-size: 12px; }
.ng-term span { color: var(--muted); font-size: 11px; }
.ng-term b { color: var(--gold-2); font-size: 15px; }

/* ---------- OVR 배지: 선수 이름 앞 ---------- */
.ovr-b { display: inline-flex; align-items: center; justify-content: center; min-width: 24px; height: 18px; padding: 0 4px; margin-right: 6px; border-radius: 4px;
  font: 700 11px/1 var(--f-ui, inherit); font-style: normal; vertical-align: 2px; color: #0d1117; background: #8b95a5; letter-spacing: 0; }
.ovr-b.top { background: linear-gradient(135deg, #f3d77a, #c9a13c); }
.ovr-b.hi { background: #5fd38d; }
.ovr-b.mid { background: #d9dee7; }
.ovr-b.lo { background: #8b95a5; }
.ovr-b.lg { min-width: 30px; height: 22px; font-size: 13px; }
.ovr-b.xl { min-width: 38px; height: 28px; font-size: 17px; border-radius: 6px; vertical-align: 4px; margin-right: 10px; }

/* 바로가기: 선수 사진·OVR·이름, 팀 로고 */
#screen-game [data-pp], #screen-game .ovr-b[data-pp] + b, #screen-game [data-tt] { cursor: pointer; }
#screen-game .ovr-b[data-pp] + b:hover { text-decoration: underline; text-underline-offset: 3px; }
#screen-game img[data-pp]:hover, #screen-game .pl-ph-empty[data-pp]:hover { outline: 2px solid var(--gold, #c9a13c); outline-offset: 1px; }
#screen-game [data-tt]:hover { filter: brightness(1.2); }
.modal [data-pp], .modal [data-tt] { cursor: default; }

/* 국제대회 로스터 등록 */
.rg-ev { margin-bottom: 10px; }
.rg-row { display: flex; align-items: center; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--line, #1d2840); }
.rg-row select { flex: 1; }
.rg-sub small { color: var(--muted); margin-left: auto; }
.rg-foot { display: flex; align-items: center; gap: 10px; justify-content: flex-end; }
.rg-foot .cr-dim { margin-right: auto; }

/* 라커룸 회의 (채팅방) */
.lk-wrap { display: flex; flex-direction: column; height: calc(100vh - 170px); max-width: 860px; margin: 0 auto; padding: 10px 14px; box-sizing: border-box; }
.lk-head { display: flex; align-items: center; gap: 10px; padding: 10px 12px; background: var(--panel, #111a2b); border-radius: 10px; }
.lk-head small { display: block; color: var(--muted); font-size: 12px; }
.lk-head .lk-skip { margin-left: auto; }
.lk-chat { flex: 1; overflow-y: auto; padding: 14px 4px; display: flex; flex-direction: column; gap: 10px; }
.lk-msg { display: flex; gap: 9px; align-items: flex-start; max-width: 82%; }
.lk-msg.new { animation: lkIn .25s ease-out; }
.lk-msg.me { margin-left: auto; flex-direction: row-reverse; text-align: right; }
.lk-msg small { color: var(--muted); font-size: 11.5px; }
.lk-msg p { margin: 3px 0 0; padding: 9px 12px; border-radius: 12px; background: #172238; line-height: 1.45; font-size: 14px; text-align: left; }
.lk-msg.me p { background: #3a2f12; color: #f5e7c0; }
.lk-av { width: 36px; height: 36px; border-radius: 50%; flex: none; overflow: hidden; background: #1f2a44; display: grid; place-items: center; font-weight: 700; font-size: 13px; object-fit: cover; }
.lk-av svg { width: 100%; height: 100%; }
.lk-opts { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 0 4px; justify-content: flex-end; min-height: 44px; }
@keyframes lkIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.cd-left { display: flex; flex-wrap: wrap; gap: 8px; padding: 4px 12px 10px; }
.cd-left small { color: var(--muted); margin-left: 4px; }

/* 커뮤니티 반응 */
.nw-cm { display: block; margin-top: 6px; color: var(--gold-2); font-size: 11.5px; }
.cm-body { line-height: 1.55; margin: 0 0 10px; }
.cm-h { margin: 8px 0 6px; font-size: 13px; color: var(--muted); }

.un-banner { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; border-left: 3px solid #e2575c; }
.un-banner span { color: var(--muted); font-size: 13px; flex: 1; }

/* 패치 노트 */
.pt-notes { padding: 0 12px 10px; display: grid; gap: 10px; }
.pt-patch > b { margin-right: 8px; } .pt-patch > small { color: var(--muted); }
.pt-row { display: grid; grid-template-columns: 24px 90px 70px 1fr; gap: 8px; align-items: center; font-size: 12.5px; padding: 3px 0; }
.pt-row .sq-ic { width: 22px; height: 22px; }
.pt-row.up em { color: #5fd38d; font-style: normal; } .pt-row.dn em { color: #ff8a8e; font-style: normal; }
.pt-row small { color: var(--muted); }

/* 오버롤 옆 보정 (컨디션 · 사기 · 관계) */
.ovr-b { position: relative; }
.ovr-d { position: absolute; top: -7px; right: -9px; font-style: normal; font-size: 9px; font-weight: 800; line-height: 1; padding: 1px 2px; border-radius: 3px; background: #0b1220; }
.ovr-d.up { color: #5fd38d; } .ovr-d.dn { color: #ff7b80; }
.cd-eff { display: grid; grid-template-columns: 72px auto 1fr; gap: 8px; align-items: baseline; font-size: 12px; margin: 4px 0; }
.cd-eff span { color: var(--muted); } .cd-eff small { color: var(--muted); text-align: right; }

/* ---------- 뉴스: 카드 · 기사 화면 · 커뮤니티 ---------- */
button.nw-card { width: 100%; text-align: left; font: inherit; cursor: pointer; align-items: flex-start; }
.nw-txt { min-width: 0; }
.nw-logo { display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 50% 45%, color-mix(in srgb, var(--c, #334) 55%, #1c2640), #141b2c); }
.nw-logo img { width: 78%; height: 78%; object-fit: contain; }
.nw-logo b { font: 700 13px var(--f-ui); color: #fff; }
.nw-read-top { margin-bottom: 10px; }
.nw-read-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 14px; align-items: start; }
.nw-art { padding: 22px 26px; }
.nw-art-meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.nw-art-meta small { color: var(--muted); font-size: 12px; }
.nw-art h1 { font-size: 24px; line-height: 1.35; margin: 10px 0 14px; }
.nw-art-hero { display: flex; align-items: center; justify-content: center; gap: 18px; margin-bottom: 16px; padding: 18px; border-radius: 10px; background: #111a2b; }
.nw-big { width: 120px; height: 120px; border-radius: 12px; object-fit: cover; object-position: top; }
.nw-vs { font: 800 22px var(--f-display, serif); color: var(--gold-2); }
.nw-art p { font-size: 15px; line-height: 1.8; color: #d4dbe7; margin: 0 0 12px; }
.nw-facts { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 6px 0 14px; padding: 12px 14px; border-radius: 8px; background: #141d30; font-size: 13px; }
.nw-facts dt { color: var(--muted); }
.nw-facts dd { margin: 0; }
.nw-facts em { font-style: normal; font-weight: 700; }
.nw-facts em.up, .rl-log em.up { color: #4fd690; }
.nw-facts em.dn, .rl-log em.dn { color: #e2575c; }
.nw-rel { display: flex; gap: 8px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 12px; }
.nw-side { padding: 12px; display: flex; flex-direction: column; gap: 4px; }
.nw-side h4 { margin: 2px 4px 6px; font-size: 13px; color: var(--muted); }
.nw-side-row { display: flex; flex-direction: column; gap: 3px; text-align: left; padding: 8px; border: 0; border-radius: 6px; background: transparent; color: inherit; font: inherit; cursor: pointer; }
.nw-side-row:hover { background: #18223a; }
.nw-side-row .nw-tag { align-self: flex-start; }
.nw-side-row b { font-size: 13px; line-height: 1.4; font-weight: 600; }
.nw-side-row small { font-size: 11px; color: var(--muted); }
.nw-cm-box { margin-top: 14px; }
.cm-list { display: flex; flex-direction: column; gap: 6px; }
.cm-row { padding: 9px 12px; background: #141d30; border-radius: 8px; font-size: 13.5px; }
.cm-top { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.cm-top b { color: #c9d2e1; font-size: 12px; font-weight: 600; }
.cm-top small { color: var(--muted); font-size: 11px; }
.cm-top em, .cm-reply em { margin-left: auto; font-style: normal; color: #e2575c; font-size: 11.5px; }
.cm-row > p { margin: 0; line-height: 1.5; }
.cm-reply { display: flex; align-items: center; gap: 6px; margin: 6px 0 0 14px; padding: 6px 10px; border-radius: 6px; background: #101828; font-size: 12.5px; }
.cm-reply span { color: var(--muted); }
.cm-reply b { color: #9aa7bd; font-size: 11.5px; font-weight: 600; }
.cm-reply p { margin: 0; }
.cm-site { font-size: 10.5px; padding: 1px 6px; border-radius: 4px; background: #23304a; color: #b7c3d8; white-space: nowrap; }
.cm-site.fan { background: #3a2f12; color: #f0d58c; }
@media (max-width: 1023px) { .nw-read-grid { grid-template-columns: 1fr; } .nw-art { padding: 16px; } .nw-art h1 { font-size: 20px; } .nw-big { width: 90px; height: 90px; } }

/* ---------- 라이벌리 ---------- */
.rv-badge { display: inline-flex; align-items: center; gap: 6px; padding: 2px 9px; border-radius: 999px; background: rgba(226, 87, 92, .14); color: #ff9a9e; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.rv-badge b { color: #f0c552; font-weight: 400; letter-spacing: -1px; }
.rv-badge b i { color: #4a5368; font-style: normal; }
.nx-mid .rv-badge { margin: 4px auto 0; }
.ml-rv { font-style: normal; color: #ff9a9e; margin-left: 4px; }
.rv-list { display: flex; flex-direction: column; gap: 8px; }
.rv-row { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 8px; background: #141d30; }
.rv-row p { margin: 2px 0 0; font-size: 12.5px; color: #b3bccd; line-height: 1.5; }

/* ---------- 선수 관계 ---------- */
.rl-table td { vertical-align: middle; }
.rl-v { min-width: 150px; }
.rl-v b { margin-left: 8px; font-size: 12.5px; }
.rl-v small { margin-left: 4px; color: var(--muted); font-size: 11px; }
.rl-bar { display: inline-block; vertical-align: middle; width: 70px; height: 6px; border-radius: 3px; background: #1c2438; overflow: hidden; }
.rl-bar i { display: block; height: 100%; }
.rl-bar.good i { background: #4fd690; } .rl-bar.mid i { background: #e0b44a; } .rl-bar.bad i { background: #e2575c; }
.rl-log { font-size: 12px; line-height: 1.6; }
.rl-log small { color: var(--muted); font-size: 11px; }
.rl-log em { font-style: normal; font-weight: 700; }
.rl-alert { display: flex; gap: 10px; align-items: baseline; border-color: rgba(226, 87, 92, .45); background: rgba(226, 87, 92, .08); margin-bottom: 12px; font-size: 13px; }
.rl-alert b { color: #ff9a9e; white-space: nowrap; }
.rl-grid { width: 100%; border-collapse: separate; border-spacing: 3px; font-size: 12px; text-align: center; }
.rl-grid th { font-weight: 600; color: #c9d2e1; }
.rl-grid th span { display: block; font-size: 11px; }
.rl-grid td { padding: 8px 2px; border-radius: 5px; background: #1a2338; }
.rl-grid td.self { background: transparent; }
.rl-grid td.c1 { background: #24324d; } .rl-grid td.c2 { background: #26476b; } .rl-grid td.c3 { background: #2a6a6a; } .rl-grid td.c4 { background: #2f7f55; }
.rl-note { font-size: 12px; margin-top: 10px; }
.rl-lang { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.rl-lang small { display: block; color: var(--muted); font-size: 11px; }
.rl-lang span { margin-left: auto; font-size: 12px; font-weight: 700; }
.rl-lang .bad { color: #e2575c; } .rl-lang .mid { color: #e0b44a; } .rl-lang .good { color: #4fd690; }
.rv-badge b s { text-decoration: none; background: linear-gradient(90deg, #f0c552 50%, #4a5368 50%); -webkit-background-clip: text; background-clip: text; color: transparent; }

.tr-fx { margin: 0 0 8px; font-size: 11.5px; color: var(--muted); }
/* 팀 검색: 태블릿 가로에서 한 화면에 들어오게 (순번 · 사진 · 시그니처 · 명성 칸을 숨긴다) */
@media (max-width: 1300px) { .tf-table th:first-child, .tf-table td:first-child, .tf-table th:nth-child(n+12), .tf-table td:nth-child(n+12) { display: none; } .tf-pl .pl-ph { display: none; } }

/* 구단 역사: 대회별 전적 줄 (이름이 길어도 한 줄로) */
.mh-row.hs-ev { grid-template-columns: minmax(0, 1fr) auto; }
.mh-row.hs-ev > span:first-child { color: var(--text); }

/* 휴대폰 라커룸: 아래 날짜 바(60px)까지 빼고 한 화면 (주소창이 줄었다 늘었다 해도 맞게 dvh) */
@media (max-width: 767px) {
  .lk-wrap { height: calc(100vh - 250px); height: calc(100dvh - 250px); padding: 6px 4px; }
}

/* 잠재력: 별 + 예상 최고 OVR */
.sq-pot { display: inline-flex; flex-direction: column; gap: 1px; line-height: 1.1; }
.sq-pot small { font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; }

/* 면담 */
.mt-head { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.mt-head .pl-ph { width: 40px; height: 40px; }
.mt-head b { display: block; font-size: 15px; }
.mt-head small { color: var(--muted); font-size: 12px; }
.mt-ask { margin: 6px 0 8px; font-size: 13.5px; }
.mt-note { margin: 0 0 6px; font-size: 12.5px; color: var(--gold-2); }
.mt-list { display: flex; flex-direction: column; gap: 6px; }
.mt-opt { text-align: left; padding: 10px 12px; border-radius: 8px; border: 1px solid var(--line); background: rgba(255, 255, 255, .03); color: inherit; font: inherit; cursor: pointer; display: flex; flex-direction: column; gap: 2px; }
.mt-opt:hover { border-color: var(--gold); background: rgba(200, 162, 74, .08); }
.mt-opt b { font-size: 14px; }
.mt-opt small { font-size: 12px; color: var(--muted); line-height: 1.4; }
.mt-say { margin: 10px 0; padding: 12px 14px; border-left: 3px solid var(--gold); background: rgba(255, 255, 255, .03); border-radius: 0 8px 8px 0; font-size: 14.5px; line-height: 1.5; }
.mt-res { margin: 0; font-size: 13px; color: var(--muted); }
.mt-res b { color: var(--text); }
.rl-meet { white-space: nowrap; }

/* 계약 만료 선수 */
.ct-lapsed { padding-bottom: 8px; }
.ct-lp { display: flex; align-items: center; gap: 10px; padding: 8px 16px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.ct-lp .pl-ph { width: 36px; height: 36px; }
.ct-lp-n { flex: 1; min-width: 160px; display: flex; flex-direction: column; }
.ct-lp-n small { color: var(--muted); font-size: 12px; }

/* ── 휴대폰 협상 창: 한 줄로 쌓아 전체가 스크롤 (예전엔 입력칸 두 열이 화면 밖으로 밀리고, 선수 정보 · 연봉 여유 · 인내심이 숨겨졌다) ──
   위에서 아래로 [선수 · 연봉 여유 · 인내심 요약] → [대화] → [질문] → [제안 입력] → [협상 종료 · 제안 보내기 (아래에 붙음)] */
@media (max-width: 760px) {
  .ng-back { padding: 6px; align-items: stretch; }
  .ng { display: flex; flex-direction: column; height: auto; max-height: calc(100vh - 12px); max-height: calc(100dvh - 12px); overflow-y: auto; overscroll-behavior: contain; }
  .ng .pp-x { position: sticky; top: 6px; margin-left: auto; margin-bottom: -40px; z-index: 3; }
  .ng-side { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 2px 10px; padding: 12px 52px 10px 12px; overflow: visible; flex: none; }
  .ng-ph { width: 48px; height: 48px; grid-row: span 2; }
  .ng-ph.pl-ph-empty { font-size: 18px; }
  .ng-name { font-size: 16px; margin: 0; min-width: 0; }
  .ng-sub { min-width: 0; flex-wrap: wrap; }
  .ng-side .cr-dl { grid-column: 1 / -1; margin-top: 6px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 10px; font-size: 11.5px; }
  .ng-side .cr-dl dt, .ng-side .cr-dl dd { margin: 0; min-width: 0; }
  .ng-pat { grid-column: 1 / -1; margin-top: 4px; }
  .ng-main { min-height: auto; flex: none; }
  .ng-head { padding: 10px 12px 8px; }
  .ng-log { flex: none; max-height: 38vh; min-height: 110px; padding: 10px 12px; }
  .ng-msg { max-width: 88%; }
  .ng-qs { padding: 8px 12px; }
  .ng-qs button { font-size: 12.5px; }
  .ng-form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); padding: 10px 12px 0; }
  .ng-form > * { min-width: 0; }
  .ng-form input, .ng-form select { width: 100%; min-width: 0; box-sizing: border-box; padding: 8px; }
  .ng-term { grid-column: 1 / -1; flex-direction: row; align-items: baseline; justify-content: flex-start; gap: 8px; }
  .ng-bonus { gap: 8px 14px; }
  .ng-act { position: sticky; bottom: 0; margin: 0 -12px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px)); background: var(--panel); border-top: 1px solid var(--line); z-index: 2; }
  .ng-act button { flex: 1; padding: 11px; }
}
/* 모든 크기: 입력칸이 칸 너비를 넘지 않게. 태블릿 세로(761~1000px)는 두 열 */
.ng-form > * { min-width: 0; }
.ng-form input, .ng-form select { width: 100%; min-width: 0; box-sizing: border-box; }
@media (min-width: 761px) and (max-width: 1000px) { .ng { grid-template-columns: 210px minmax(0, 1fr); } .ng-form { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
@media (max-width: 760px) { .ng-act.ng-act-bottom { margin: 0; flex: none; } }

/* ── 우승 축하 화면 · 수상 경력 (js/awards.js) ── */
.aw-cele { position: fixed; inset: 0; z-index: 900; display: grid; place-items: center; padding: 16px; background: radial-gradient(ellipse at 50% 30%, rgba(232,196,106,.22), rgba(4,8,16,.94) 60%); animation: aw-in .5s ease; overflow: auto; }
@keyframes aw-in { from { opacity: 0; } to { opacity: 1; } }
.aw-box { position: relative; width: min(760px, 100%); text-align: center; padding: 18px 20px 22px; border-radius: 18px; background: linear-gradient(180deg, #141c2e, #0a0e18); border: 1px solid rgba(232,196,106,.45); box-shadow: 0 0 80px rgba(232,196,106,.18); }
.aw-trophy { height: 190px; display: flex; justify-content: center; filter: drop-shadow(0 0 28px rgba(232,196,106,.45)); animation: aw-up 1.1s cubic-bezier(.2,.9,.3,1.2); }
.aw-trophy svg, .three-ready .aw-trophy svg.trophy { display: block !important; height: 100%; width: auto; opacity: 1; animation: none; }   /* 3D 트로피가 뜨면 타이틀의 SVG는 숨지만 축하 화면에서는 보인다 */
@keyframes aw-up { from { transform: translateY(40px) scale(.8); opacity: 0; } to { transform: none; opacity: 1; } }
.aw-ev { display: block; margin-top: 6px; letter-spacing: .25em; color: var(--gold-2, #e8c46a); font-size: 12px; font-weight: 700; }
.aw-box h2 { margin: 6px 0 14px; font-size: 30px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.aw-five { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin: 0 0 14px; }
.aw-five > div { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 4px; border-radius: 10px; background: rgba(255,255,255,.04); }
.aw-five > div.fm { background: rgba(232,196,106,.16); outline: 1px solid rgba(232,196,106,.6); }
.aw-five .pl-ph { width: 54px; height: 54px; }
.aw-five b { font-size: 14px; } .aw-five small { font-size: 11px; color: #9fb0cc; }
.aw-five .fm small { color: var(--gold-2, #e8c46a); font-weight: 700; }
.aw-out { color: #c7d2e6; font-size: 13px; margin: 0 0 14px; }
.aw-act { display: flex; gap: 8px; justify-content: center; }
.aw-conf { position: fixed; inset: 0; pointer-events: none; overflow: hidden; }
.aw-conf i { position: absolute; top: -20px; left: var(--x); width: 8px; height: 14px; background: var(--c); border-radius: 2px; opacity: .9; animation: aw-fall 3.6s linear var(--d) infinite; }
@keyframes aw-fall { to { transform: translateY(110vh) rotate(540deg); } }
.aw-hon { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.aw-chip { padding: 3px 8px; border-radius: 6px; font-size: 12px; background: #1d2740; color: #c7d2e6; border: 1px solid #2c3a5a; }
.aw-chip.worlds, .aw-chip.fmvp, .aw-chip.mvp { background: rgba(232,196,106,.14); color: #f1d58e; border-color: rgba(232,196,106,.45); }
.aw-chip.ap1, .aw-chip.intl { color: #e6ecf8; border-color: #4a5f8c; }
@media (max-width: 600px) {
  .aw-trophy { height: 130px; } .aw-box h2 { font-size: 22px; }
  .aw-five { grid-template-columns: repeat(3, 1fr); } .aw-five .pl-ph { width: 44px; height: 44px; }
}
.pp-made { padding: 1px 6px; border-radius: 4px; background: #2a2f45; color: #9fb0cc; font-size: 11px; font-weight: 600; }
/* 글 속 이름 링크 (js/gameui.js Links.text) */
.lk { cursor: pointer; text-decoration: underline; text-decoration-color: rgba(232,196,106,.45); text-underline-offset: 3px; }
.lk:hover { color: var(--gold-2, #e8c46a); text-decoration-color: currentColor; }
.fx-team > b, .fx-team b { cursor: pointer; }
/* 사진 바꾸기 (js/faces.js) */
.pp-photo-wrap { position: relative; }
.pp-photo-edit, .cr-av-edit { position: absolute; left: 50%; bottom: 4px; transform: translateX(-50%); padding: 2px 8px; border-radius: 6px; border: 0; background: rgba(5,8,14,.75); color: #e6ecf8; font-size: 11px; cursor: pointer; opacity: 0; transition: opacity .15s; white-space: nowrap; }
.pp-photo-wrap:hover .pp-photo-edit, .cr-av:hover .cr-av-edit, .pp-photo-wrap .pp-photo-edit:focus { opacity: 1; }
@media (hover: none) { .pp-photo-edit, .cr-av-edit { opacity: .85; } }
.cr-av { position: relative; cursor: pointer; }
.fc-man { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; display: block; }
.fc-pick { display: grid; gap: 10px; }
.fc-prev { width: 120px; height: 120px; border-radius: 12px; overflow: hidden; background: #1d2740; display: grid; place-items: center; color: #9fb0cc; font-size: 12px; margin: 0 auto; }
.fc-prev img { width: 100%; height: 100%; object-fit: cover; }
.fc-file { justify-self: start; cursor: pointer; }

/* 다른 팀 스쿼드 탭 */
.op-sq { margin-left: auto; }
.op-cap { margin: 14px 0 6px; font-size: 13px; color: var(--muted); }
.op-sqt tr[data-pid] { cursor: pointer; }
.op-star { background: none; border: 0; color: #5f6b84; font-size: 16px; cursor: pointer; padding: 0 4px; }
.op-star.on { color: var(--gold-2); }

/* 성장 그래프 (프로필) */
.gr-spark { display: inline-flex; align-items: center; gap: 6px; color: var(--gold-2); }
.gr-spark svg { width: 90px; height: 22px; }
.gr-spark small { color: var(--muted); }

/* 선수 통계 */
.ps-table th.ps-h { cursor: pointer; user-select: none; white-space: nowrap; }
.ps-table th.ps-h.on, .ps-table td.ps-on { color: var(--gold-2); }
.ps-table tr[data-pid] { cursor: pointer; }
.ps-table tr.mine { background: rgba(58, 160, 255, .08); }
.ps-pl { display: inline-flex; gap: 6px; align-items: center; }

/* 임대 */
.ln-list { display: grid; gap: 4px; margin-top: 10px; max-height: 46vh; overflow-y: auto; }
.ln-row { display: flex; align-items: center; gap: 8px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 6px; cursor: pointer; font-size: 13px; }
.ln-row small { color: var(--muted); }
.ln-c { margin-left: auto; font-style: normal; font-size: 11px; font-weight: 700; padding: 1px 6px; border-radius: 4px; }
.ln-c.good { background: rgba(63, 191, 127, .18); color: #4fd690; }
.ln-c.mid { background: rgba(200, 162, 74, .18); color: var(--gold-2); }
.ln-c.bad { background: rgba(226, 87, 92, .15); color: #ff8a8e; }
.ln-cur { display: flex; gap: 8px; align-items: center; padding: 6px 2px; cursor: pointer; font-size: 13px; }
.ln-cur small { color: var(--muted); }

/* 상호 해지 */
.mu-info { display: flex; flex-wrap: wrap; gap: 6px 14px; margin: 8px 0 2px; font-size: 13px; color: var(--text); }

/* 코칭스태프 능력치 (js/coaches.js) */
.co-st { display: grid; gap: 3px; width: 100%; margin: 4px 0; }
.co-row { display: grid; grid-template-columns: 58px 1fr auto; align-items: center; gap: 6px; font-size: 11px; }
.co-row span { color: var(--dim, #8a96b0); }
.co-row b { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; min-width: 22px; }
.co-row b small { color: var(--gold, #c8aa6e); margin-left: 2px; font-weight: 400; }
.co-row > small { color: var(--dim, #8a96b0); font-size: 10px; white-space: nowrap; }
.co-bar { height: 5px; background: rgba(255,255,255,.08); border-radius: 3px; overflow: hidden; }
.co-bar i { display: block; height: 100%; border-radius: 3px; }
.co-trs { display: flex; flex-wrap: wrap; gap: 4px; margin: 4px 0; justify-content: center; }
.co-tr { font-size: 10.5px; padding: 1px 6px; border-radius: 9px; background: rgba(90,141,238,.18); color: #b8cdf5; cursor: help; }
.co-tr.only { background: rgba(200,170,110,.22); color: var(--gold, #c8aa6e); }
.co-team { margin-bottom: 10px; }
.co-team .co-row { grid-template-columns: 70px 1fr 44px 90px; font-size: 12px; }
.pp-col .co-row { grid-template-columns: 64px 1fr auto; font-size: 12px; }

/* LCK컵 그룹 드래프트 (js/cupdraft.js) */
.cd-board { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cd-group.turn { border-color: var(--gold); box-shadow: 0 0 0 1px rgba(200, 162, 74, .35), 0 0 24px rgba(200, 162, 74, .12); }
.cd-pw { color: var(--muted); font-size: 12px; } .cd-pw b { color: var(--gold-2); font-size: 15px; margin-left: 4px; }
.cd-slot { display: flex; align-items: center; gap: 10px; padding: 9px 6px; border-top: 1px solid var(--line); min-height: 46px; }
.cd-slot b { font-size: 14.5px; } .cd-slot small { margin-left: auto; color: var(--muted); font-size: 12px; }
.cd-slot.me { background: rgba(200, 162, 74, .1); } .cd-slot.empty i { color: var(--muted); font-style: normal; font-size: 13px; }
.cd-n { width: 38px; flex: none; color: var(--muted); font-size: 11.5px; font-weight: 700; letter-spacing: .03em; }
.cd-mine { margin-top: 8px; text-align: right; color: var(--gold-2); font-size: 12px; font-weight: 700; }
.cd-left { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.cd-left .cd-card { display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; column-gap: 10px; align-items: center; text-align: left; padding: 12px; border-radius: 10px; border: 1px solid var(--line); background: var(--panel-2); color: var(--text); }
.cd-left .cd-card > :first-child { grid-row: 1 / 3; } .cd-left .cd-card small { grid-column: 2; color: var(--muted); font-size: 12px; } .cd-left .cd-card small em { color: #f08a8a; font-style: normal; }
.cd-left .cd-card .btn-primary { grid-row: 1 / 3; grid-column: 3; pointer-events: none; }
.cd-left .cd-card:not(.off):hover { border-color: var(--gold); cursor: pointer; } .cd-left .cd-card.off { opacity: .75; cursor: default; }
.cd-call { color: var(--gold-2); font-size: 15px; }
.cd-log { margin: 0; padding-left: 22px; display: grid; gap: 6px; font-size: 13.5px; } .cd-log small { color: var(--muted); margin-left: 6px; }
@media (max-width: 900px) { .cd-board { grid-template-columns: 1fr; } }

/* 스위스 추첨 (js/swiss.js) */
.sw-tabs { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.sw-tabs button:not(.btn-ghost) { padding: 7px 16px; border-radius: 999px; border: 1px solid var(--line); background: transparent; color: var(--muted); font-weight: 600; }
.sw-tabs button.on { background: var(--gold-2); color: #1a1306; border-color: var(--gold-2); }
.sw-tabs .sw-replay { margin-left: auto; }
.sw-stage { display: grid; grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); gap: 14px; }
.sw-pot { display: flex; flex-wrap: wrap; gap: 6px; min-height: 34px; padding: 8px; border-radius: 10px; background: rgba(255, 255, 255, .03); border: 1px dashed var(--line); }
.sw-ball { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 999px; background: var(--panel-2); border: 1px solid var(--line); font-size: 12.5px; font-weight: 600; }
.sw-msg { min-height: 40px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 10px 0 6px; font-size: 14px; }
.sw-void { color: #f07c7c; font-style: normal; font-weight: 700; margin-left: 6px; animation: swShake .35s; }
.sw-ok { color: #3fbf7f; font-style: normal; font-weight: 700; margin-left: 6px; }
@keyframes swShake { 0%, 100% { transform: none; } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }
.sw-pairs { display: grid; gap: 6px; }
.sw-pair { display: grid; grid-template-columns: auto 1fr auto 1fr auto; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 8px; background: var(--panel-2); animation: swIn .3s; }
.sw-pair b:last-of-type { text-align: right; } .sw-pair span { color: var(--muted); font-size: 12px; }
.sw-pair.me { box-shadow: inset 3px 0 0 var(--gold); }
@keyframes swIn { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.sw-rec { display: flex; flex-wrap: wrap; gap: 6px; }
.sw-r { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 8px; background: var(--panel-2); font-size: 13px; }
.sw-r i { font-style: normal; color: var(--gold-2); font-weight: 700; } .sw-r.q { box-shadow: inset 0 0 0 1px #3fbf7f; } .sw-r.x { opacity: .5; }

/* ---------- 계약 현황 (개편) ---------- */
.ct2-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 10px; margin-top: 12px; }
.ct2 { display: flex; flex-direction: column; gap: 7px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--panel); cursor: pointer; }
.ct2:hover { border-color: #3a4a6c; }
.ct2.risk { border-color: rgba(226, 87, 92, .55); background: linear-gradient(180deg, rgba(226, 87, 92, .08), var(--panel)); }
.ct2-h { display: flex; align-items: center; gap: 10px; }
.ct2-h .pl-ph { width: 40px; height: 40px; }
.ct2-n { display: flex; flex-direction: column; min-width: 0; flex: 1; } .ct2-n b { font-size: 15px; } .ct2-n small { color: var(--muted); font-size: 12px; display: flex; align-items: center; gap: 4px; } .ct2-n .pos-ic { width: 13px; height: 13px; }
.ct2-type { font-size: 11.5px; font-weight: 700; padding: 2px 9px; border-radius: 999px; white-space: nowrap; }
.ct2-type.core { background: rgba(200, 162, 74, .2); color: var(--gold-2); } .ct2-type.rot { background: #22304d; color: #c7d0e3; }
.ct2-row { display: grid; grid-template-columns: auto 1fr auto auto; gap: 4px 10px; align-items: baseline; font-size: 13px; }
.ct2-row span { color: var(--muted); font-size: 12px; } .ct2-row b.warn { color: #ff9a9e; } .ct2-row b.ok { color: #7ee0ad; }
.ct2-row:first-of-type { grid-template-columns: auto 1fr; }
.ct2-st { display: flex; align-items: center; gap: 8px; font-size: 12.5px; }
.ct2-st i { font-style: normal; font-size: 11.5px; font-weight: 700; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.ct2-st i.g { background: rgba(63, 191, 127, .18); color: #7ee0ad; } .ct2-st i.n { background: #22304d; color: #c7d0e3; } .ct2-st i.w { background: rgba(240, 180, 60, .18); color: #ffcf6b; } .ct2-st i.b { background: rgba(226, 87, 92, .2); color: #ff9a9e; }
.ct2-st span { color: var(--muted); }
.ct2-cond { margin: -2px 0 0; font-size: 12px; color: #ffcf6b; }
.ct2-warn { margin: 0; font-size: 12px; color: #ff9a9e; line-height: 1.45; }
.ct2-act { display: flex; gap: 6px; margin-top: 2px; }
.ct2-staff { display: flex; flex-direction: column; }
.ct2-sr { display: grid; grid-template-columns: 34px 1fr 90px 100px auto; gap: 10px; align-items: center; padding: 8px 14px; border-top: 1px solid var(--line); font-size: 13px; cursor: pointer; }
.ct2-sr .pl-ph { width: 30px; height: 30px; } .ct2-sr span { color: var(--muted); }

/* ---------- 재정 (개편) ---------- */
.fn2 { display: flex; flex-direction: column; gap: 12px; }
.fn2 h3 { margin: 0 0 10px; font: 700 15px var(--f-ui); display: flex; align-items: baseline; gap: 8px; } .fn2 h3 small { color: var(--muted); font: 400 12px var(--f-body, inherit); }
.fn2 .neg { color: #ff9a9e; display: initial; min-width: 0; gap: 0; flex-direction: initial; } .fn2 .pos { color: #7ee0ad; }
.fn2-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 12px; }
.fn2-top .card { padding: 14px 16px; display: flex; flex-direction: column; gap: 6px; }
.fn2-top small { color: var(--muted); font-size: 12px; } .fn2-top small span { opacity: .7; margin-left: 4px; }
.fn2-hero b { font: 700 40px var(--f-ui); line-height: 1.05; color: var(--gold-2); } .fn2-hero b.neg { color: #ff9a9e; }
.fn2-hero > span { font-size: 13px; font-weight: 700; }
.fn2-hero p, .fn2-kpi p { margin: 0; font-size: 12.5px; color: var(--muted); } .fn2-hero p b { font-size: 13px; color: inherit; } .fn2-hero p b.neg { color: #ff9a9e; } .fn2-hero p b.pos { color: #7ee0ad; }
.fn2-kpi > b { font: 700 22px var(--f-ui); } .fn2-kpi > b i { font-style: normal; font-size: 13px; color: var(--muted); font-weight: 600; margin-left: 4px; }
.fn2-kpi p b { color: var(--text); }
.fn2-gauge { height: 8px; border-radius: 4px; background: #1b2640; overflow: hidden; } .fn2-gauge i { display: block; height: 100%; background: var(--gold); border-radius: 4px; } .fn2-gauge.warn i { background: #e2575c; }
.fn2-mid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 12px; }
.fn2-mid .card, .fn2-bot .card { padding: 14px 16px; }
.fn2-split { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.fn2-row { display: grid; grid-template-columns: 92px 1fr 60px 36px; gap: 8px; align-items: center; font-size: 12.5px; margin-bottom: 7px; }
.fn2-row span { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .fn2-row b { text-align: right; } .fn2-row em { font-style: normal; color: var(--muted); text-align: right; font-size: 11.5px; }
.fn2-bar { height: 8px; border-radius: 4px; background: #1b2640; overflow: hidden; } .fn2-bar i { display: block; height: 100%; border-radius: 4px; }
.fn2-bar.inc i { background: #3fbf7f; } .fn2-bar.exp i { background: #e2575c; }
.fn2-svgw { position: relative; }
.fn2-svg { width: 100%; height: 170px; display: block; }
.fn2-svg .zero { stroke: #3a4866; stroke-width: 1; stroke-dasharray: 3 3; vector-effect: non-scaling-stroke; }
.fn2-svg .real { fill: none; stroke: var(--gold-2); stroke-width: 2; vector-effect: non-scaling-stroke; }
.fn2-svg .proj { fill: none; stroke: #8fbaff; stroke-width: 2; stroke-dasharray: 6 4; vector-effect: non-scaling-stroke; } .fn2-svg .proj.neg { stroke: #ff9a9e; }
.fn2-svg .hit { fill: transparent; cursor: crosshair; }
.fn2-svg .dot { fill: var(--gold-2); stroke: var(--panel); stroke-width: 2; vector-effect: non-scaling-stroke; pointer-events: none; }
.fn2-tip { position: absolute; padding: 4px 9px; border-radius: 6px; background: #0b111d; border: 1px solid var(--line); font-size: 12px; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity .1s; }
.fn2-tip.on { opacity: 1; }
.fn2-axis { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin-top: 4px; }
.fn2-bot { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 12px; }
.fn2-months { display: flex; gap: 6px; height: 140px; align-items: stretch; }
.fn2-mo { flex: 1 1 0; display: grid; grid-template-rows: 1fr 1fr auto; gap: 0; min-width: 0; max-width: 44px; }
.fn2-mo .up { display: flex; align-items: flex-end; border-bottom: 1px solid #3a4866; } .fn2-mo .dn { display: flex; align-items: flex-start; }
.fn2-mo i { display: block; width: 100%; position: relative; min-height: 2px; } .fn2-mo i em { position: absolute; left: 50%; transform: translateX(-50%); font-style: normal; font-size: 10.5px; font-weight: 700; color: var(--text); white-space: nowrap; } .fn2-mo .up i em { bottom: 100%; padding-bottom: 2px; } .fn2-mo .dn i em { top: 100%; padding-top: 2px; } .fn2-mo .up i { background: #3fbf7f; border-radius: 4px 4px 0 0; } .fn2-mo .dn i { background: #e2575c; border-radius: 0 0 4px 4px; }
.fn2-mo small { text-align: center; font-size: 10.5px; color: var(--muted); padding-top: 4px; }
.fn2-link { margin-left: auto; font: 400 12px var(--f-body, inherit); color: var(--gold-2); text-decoration: none; }
.fn2-sp, .fn2-led { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: baseline; padding: 6px 0; border-bottom: 1px solid #172036; font-size: 13px; }
.fn2-sp span { color: var(--muted); font-size: 11.5px; } .fn2-sp em, .fn2-led em { font-style: normal; font-weight: 700; }
.fn2-led { grid-template-columns: 56px 1fr auto; } .fn2-led span { color: var(--muted); font-size: 11.5px; } .fn2-led b { font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
@media (max-width: 1200px) { .fn2-top { grid-template-columns: 1fr 1fr; } .fn2-mid, .fn2-bot { grid-template-columns: 1fr; } }

/* ---------- 이사회 회의실 (js/boardmeet.js) ---------- */
.bm { display: grid; grid-template-rows: auto minmax(0, 1fr); height: calc(100vh - var(--bm-top, 190px)); min-height: 560px; max-width: 1500px; margin: 0 auto; padding: 18px 26px 22px; gap: 16px; }
.bm-hd { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border: 1px solid #1d2840; border-radius: 12px; background: linear-gradient(90deg, #121b30, #0e1526); }
.bm-hd .bm-logo { width: 40px; height: 40px; font-size: 12px; } .bm-hd .bm-logo img { width: 40px; height: 40px; object-fit: contain; }
.bm-hd > div:nth-child(2) { display: flex; flex-direction: column; } .bm-hd > div:nth-child(2) b { font-size: 18px; } .bm-hd > div:nth-child(2) span { font-size: 12.5px; color: var(--muted); }
.bm-steps { flex: 1; display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
.bm-steps i { font-style: normal; font-size: 12px; padding: 5px 12px; border-radius: 99px; border: 1px solid #263252; color: var(--muted); }
.bm-steps i.now { border-color: var(--gold); color: var(--gold); background: rgba(200, 162, 74, .1); } .bm-steps i.ok { color: #7ee0ad; border-color: #22553f; }
.bm-steps i.ok::before { content: '✓ '; }
.bm-trust { display: flex; align-items: baseline; gap: 8px; } .bm-trust small { color: var(--muted); font-size: 12px; } .bm-trust b { font-size: 22px; }
.bm-trust em { font-style: normal; font-weight: 700; font-size: 13px; } .bm-trust em.pos { color: #7ee0ad; } .bm-trust em.neg { color: #ff9a9e; }
.bm-body { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; min-height: 0; }
.bm-room { display: grid; grid-template-rows: auto minmax(0, 1fr) auto; min-height: 0; border: 1px solid #1d2840; border-radius: 12px; background: radial-gradient(ellipse at 50% 0%, #16223d, #0c1222 70%); overflow: hidden; }
.bm-table { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid #1a2440; background: linear-gradient(180deg, rgba(200, 162, 74, .05), transparent); }
.bm-seat { display: flex; align-items: center; gap: 12px; } .bm-seat > div { display: flex; flex-direction: column; } .bm-seat.m > div { text-align: right; }
.bm-seat b { font-size: 15px; } .bm-seat small { font-size: 12px; color: var(--muted); }
.bm-av { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 13px; color: #fff; background: var(--c, #3a4a6a); box-shadow: 0 0 0 2px #0c1222, 0 0 0 3px #2a3656; }
.bm-av.me { background: linear-gradient(135deg, #c8a24a, #8a6b25); color: #1a1408; font-size: 18px; }
.bm-mood { font-style: normal; font-size: 12px; padding: 3px 10px; border-radius: 99px; background: #1c2742; color: var(--muted); margin-left: 6px; }
.bm-mood.good { background: rgba(63, 191, 127, .15); color: #7ee0ad; } .bm-mood.warn { background: rgba(230, 180, 80, .14); color: #f0c76a; } .bm-mood.bad { background: rgba(226, 87, 92, .16); color: #ff9a9e; }
.bm-log { overflow-y: auto; padding: 18px 20px; display: flex; flex-direction: column; gap: 12px; }
.bm-say { display: flex; } .bm-say p { margin: 0; max-width: 72%; padding: 11px 15px; border-radius: 14px; font-size: 14px; line-height: 1.6; }
.bm-say.b p { background: #18233d; border: 1px solid #23304f; border-top-left-radius: 4px; }
.bm-say.m { justify-content: flex-end; } .bm-say.m p { background: rgba(200, 162, 74, .14); border: 1px solid rgba(200, 162, 74, .35); color: #f2e2b8; border-top-right-radius: 4px; }
.bm-say.up p { border-left: 3px solid #3fbf7f; } .bm-say.down p { border-left: 3px solid #e2575c; }
.bm-say p b { color: var(--gold-2, #e8c872); font-weight: 700; } .bm-say p small { color: var(--muted); }
.bm-say.typing p { display: flex; gap: 5px; padding: 14px 16px; } .bm-say.typing i { width: 7px; height: 7px; border-radius: 50%; background: #6c7a9c; animation: bmDot 1s infinite; }
.bm-say.typing i:nth-child(2) { animation-delay: .15s; } .bm-say.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes bmDot { 0%, 60%, 100% { opacity: .3; transform: none; } 30% { opacity: 1; transform: translateY(-3px); } }
.bm-act { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; padding: 14px 20px 18px; border-top: 1px solid #1a2440; background: rgba(8, 12, 22, .5); }
.bm-opt { text-align: left; display: flex; flex-direction: column; gap: 3px; padding: 12px 14px; border-radius: 10px; border: 1px solid #2a3758; background: #131c32; color: var(--text); cursor: pointer; transition: border-color .15s, background .15s; }
.bm-opt:hover { border-color: var(--gold); background: #1a2440; } .bm-opt b { font-size: 14px; font-weight: 600; } .bm-opt small { font-size: 11.5px; color: var(--muted); }
.bm-sign { grid-column: 1 / -1; justify-self: center; padding: 13px 40px; border-radius: 10px; border: 0; font-size: 15px; font-weight: 700; color: #1a1408; background: linear-gradient(180deg, #e8c872, #c8a24a); cursor: pointer; }
.bm-act > .btn-ghost { grid-column: 1 / -1; justify-self: center; }
.bm-side { display: flex; flex-direction: column; gap: 14px; min-height: 0; overflow-y: auto; }
.bm-card { border: 1px solid #1d2840; border-radius: 12px; background: #0f1628; padding: 16px; } .bm-card h4 { margin: 0 0 10px; font-size: 14px; }
.bm-card p { margin: 0 0 8px; font-size: 12.5px; color: var(--muted); line-height: 1.6; }
.bm-term { display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 10px 0; border-bottom: 1px solid #172036; }
.bm-term span { font-size: 12px; color: var(--muted); } .bm-term em { font-style: normal; font-size: 11px; color: #5c6a8a; text-align: right; }
.bm-term b { grid-column: 1 / -1; font-size: 15px; } .bm-term b small { font-size: 11.5px; color: var(--muted); font-weight: 400; margin-left: 4px; }
.bm-term { grid-template-areas: 'l s' 'v v'; } .bm-term span { grid-area: l; } .bm-term em { grid-area: s; } .bm-term b { grid-area: v; }
.bm-term.now em { color: var(--gold); } .bm-term.ok em { color: #7ee0ad; } .bm-term.now { background: linear-gradient(90deg, rgba(200, 162, 74, .07), transparent); margin: 0 -16px; padding: 10px 16px; }
.bm-banner { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; } .bm-banner > div { display: flex; flex-direction: column; gap: 3px; }
.bm-banner span { font-size: 12.5px; color: var(--muted); } .bm-banner.on { border-color: var(--gold); background: linear-gradient(90deg, rgba(200, 162, 74, .1), transparent); }
.bm-fin { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; background: rgba(5, 8, 16, .82); animation: bmIn .35s; }
.bm-fin > div { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 0 20px; }
.bm-fin i { font-style: normal; font-size: 48px; } .bm-fin b { font-size: 30px; color: var(--gold-2, #e8c872); letter-spacing: -.5px; } .bm-fin span { color: var(--muted); font-size: 14px; }
.bm-fin.sad b { color: var(--text); } .bm-fin.out { opacity: 0; transition: opacity .4s; }
@keyframes bmIn { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 980px) { .bm { height: auto; padding: 14px 16px; } .bm-body { grid-template-columns: 1fr; } .bm-room { min-height: 520px; } .bm-steps { display: none; } .bm-say p { max-width: 88%; } }

/* ---------- 선수 프로필 탭 (js/ppcareer.js) ---------- */
.pc-tabs { display: flex; gap: 4px; padding: 0 24px; border-bottom: 1px solid var(--line); }
.pc-tabs button { background: none; border: 0; border-bottom: 2px solid transparent; color: var(--muted); padding: 12px 14px 10px; font-size: 14px; font-weight: 600; cursor: pointer; }
.pc-tabs button:hover { color: var(--text); } .pc-tabs button.on { color: var(--gold); border-bottom-color: var(--gold); }
.pc-tabs small { font-size: 11px; background: rgba(200, 162, 74, .18); color: var(--gold); border-radius: 99px; padding: 1px 7px; margin-left: 3px; }
.pc-pane { display: none; } .pc-pane.on { display: block; }
.pc-pane[data-tab="car"], .pc-pane[data-tab="cup"] { padding: 18px 24px 22px; min-height: 320px; }
.pc-tl { position: relative; display: flex; flex-direction: column; gap: 10px; }
.pc-tl::before { content: ''; position: absolute; left: 6px; top: 18px; bottom: 18px; width: 2px; background: #22304e; }
.pc-row { position: relative; display: grid; grid-template-columns: 14px 44px 1fr auto; align-items: center; gap: 12px; padding: 12px 14px 12px 0; }
.pc-row > .pc-logo, .pc-row > .pc-main, .pc-row > .pc-side { } .pc-row { background: none; }
.pc-row .pc-main, .pc-row .pc-side, .pc-row .pc-logo { position: relative; }
.pc-row::after { content: ''; position: absolute; left: 26px; right: 0; top: 0; bottom: 0; border: 1px solid #1d2840; border-radius: 10px; background: #0f1628; z-index: 0; }
.pc-row > * { z-index: 1; } .pc-row.now::after { border-color: rgba(200, 162, 74, .45); background: linear-gradient(90deg, rgba(200, 162, 74, .08), #0f1628 60%); }
.pc-dot { width: 14px; height: 14px; border-radius: 50%; background: #2a3758; border: 3px solid #0b1120; } .pc-row.now .pc-dot { background: var(--gold); }
.pc-logo { padding-left: 12px; } .pc-logo .team-logo img, .pc-logo .team-logo { width: 32px; height: 32px; object-fit: contain; }
.pc-main { display: flex; flex-direction: column; gap: 2px; } .pc-main b { font-size: 15px; } .pc-main span { font-size: 12.5px; color: var(--muted); }
.pc-side { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; } .pc-side b { font-size: 14px; }
.pc-side em { font-style: normal; font-size: 11px; padding: 2px 8px; border-radius: 99px; background: #1c2742; color: var(--muted); } .pc-side em.g { background: rgba(200, 162, 74, .15); color: var(--gold); }
.pc-note { margin: 14px 0 0; font-size: 12px; color: var(--muted); }
.pc-case { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; margin-bottom: 8px; }
.pc-cup { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 16px 10px; border: 1px solid #1d2840; border-radius: 12px; background: radial-gradient(ellipse at 50% 0%, #1a2440, #0f1628 70%); text-align: center; }
.pc-cup i { font-style: normal; font-size: 32px; } .pc-cup b { font-size: 13px; } .pc-cup span { font-size: 18px; font-weight: 800; color: var(--gold); }
.pc-cup.worlds { border-color: rgba(200, 162, 74, .55); background: radial-gradient(ellipse at 50% 0%, rgba(200, 162, 74, .2), #0f1628 70%); }
.pc-pane h4 { font-size: 13px; margin: 18px 0 8px; padding-bottom: 6px; border-bottom: 1px solid var(--line); }
.pc-li { display: grid; grid-template-columns: 48px 24px 1fr auto; gap: 8px; align-items: center; padding: 8px 0; border-bottom: 1px solid #172036; font-size: 13.5px; }
.pc-li span { color: var(--muted); font-size: 12.5px; } .pc-li i { font-style: normal; text-align: center; } .pc-li em { font-style: normal; font-size: 12px; color: var(--muted); }
.pc-li.worlds b, .pc-li.intl b, .pc-li.league b { color: var(--gold-2, #e8c872); }
.pc-empty { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 60px 0; color: var(--muted); } .pc-empty b { font-size: 40px; opacity: .5; } .pc-empty span { color: var(--text); }
.bm-home { grid-column: 1 / -1; margin: 0 0 14px; }
.bm.bm-full { position: fixed; inset: 0; z-index: 70; max-width: none; height: auto; min-height: 0; background: radial-gradient(ellipse at 50% -10%, #142040, var(--bg, #0a0f1c) 60%); overflow-y: auto; padding: 22px max(26px, calc((100vw - 1500px) / 2)); }
.bm-split .bm-sv { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; } .bm-sv small { display: block; font-size: 11.5px; color: var(--muted); } .bm-sv b { font-size: 17px; } .bm-sv > div:last-child { text-align: right; }
.bm-slide { width: 100%; accent-color: var(--gold); } .bm-sl { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); margin: 2px 0 8px; }
.bm-card h4 small { color: var(--muted); font-weight: 400; margin-left: 4px; }
.fn2-goods { margin: 12px 0 0; font-size: 12.5px; color: var(--muted); line-height: 1.7; } .fn2-goods small { display: block; font-size: 11.5px; } .fn2-goods b { color: var(--text); font-weight: 600; }
.aw-tag { font-style: normal; font-size: 10.5px; font-weight: 700; padding: 1px 6px; border-radius: 4px; margin-left: 5px; vertical-align: middle; background: rgba(90, 160, 255, .16); color: #8cc0ff; }
.aw-tag.leave { background: rgba(63, 191, 127, .16); color: #7ee0ad; }

/* ---------- 훈련 화면 (js/trainui.js) ---------- */
.tr2-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.tr2-head h2 { margin: 0 0 4px; font-size: 20px; } .tr2-head span { font-size: 12.5px; color: var(--muted); }
.tr2-tools { display: flex; gap: 10px; align-items: center; }
.tr2-auto { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 99px; border: 1px solid #2a3758; background: #131c32; color: var(--text); font-weight: 600; cursor: pointer; }
.tr2-auto i { width: 30px; height: 16px; border-radius: 99px; background: #2a3758; position: relative; transition: background .15s; } .tr2-auto i::after { content: ''; position: absolute; left: 2px; top: 2px; width: 12px; height: 12px; border-radius: 50%; background: #8a96b4; transition: left .15s; }
.tr2-auto.on { border-color: var(--gold); color: var(--gold); } .tr2-auto.on i { background: var(--gold); } .tr2-auto.on i::after { left: 16px; background: #1a1408; }
.tr2-main { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; margin-top: 16px; }
.tr2-pal { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.tr2-pal button { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 8px; border: 1px solid #253150; background: #111a2e; color: var(--text); font-size: 13px; cursor: pointer; }
.tr2-pal button i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); } .tr2-pal button small { color: var(--muted); font-size: 11px; }
.tr2-pal button.on { border-color: var(--c); background: color-mix(in srgb, var(--c) 18%, #111a2e); box-shadow: 0 0 0 1px var(--c) inset; }
.tr2-grid { display: grid; grid-template-columns: 52px repeat(7, minmax(0, 1fr)); gap: 6px; user-select: none; touch-action: none; }
.tr2-day { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 4px 0 6px; border-radius: 8px; } .tr2-day b { font-size: 13px; } .tr2-day small { font-size: 10.5px; color: var(--muted); }
.tr2-day i { font-style: normal; font-size: 10.5px; min-height: 16px; padding: 1px 6px; border-radius: 4px; margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.tr2-day i.match { background: rgba(226, 87, 92, .18); color: #ff9a9e; } .tr2-day i.scrim { background: rgba(58, 160, 255, .16); color: #8cc0ff; } .tr2-day i.ev { background: rgba(200, 162, 74, .16); color: var(--gold); }
.tr2-day.today { background: rgba(200, 162, 74, .1); } .tr2-day.today b { color: var(--gold); }
.tr2-slot { display: flex; align-items: center; font-size: 12px; color: var(--muted); }
.tr2-cell { height: 46px; border-radius: 8px; border: 1px solid color-mix(in srgb, var(--c) 45%, transparent); background: color-mix(in srgb, var(--c) 22%, #0e1526); color: var(--text); font-size: 12.5px; font-weight: 600; cursor: pointer; }
.tr2-cell:hover { filter: brightness(1.25); } .tr2-cell.today { box-shadow: 0 0 0 1px rgba(200, 162, 74, .5); }
.tr2-board.locked .tr2-cell { cursor: default; opacity: .8; } .tr2-board.locked .tr2-pal { opacity: .45; pointer-events: none; }
.tr2-hint { margin: 12px 0 0; font-size: 12px; color: var(--muted); }
.tr2-side { display: flex; flex-direction: column; gap: 16px; } .tr2-side h3 { margin: 0 0 10px; font-size: 14px; } .tr2-side p { font-size: 12px; color: var(--muted); line-height: 1.6; margin: 10px 0 0; }
.tr2-kv { display: flex; align-items: baseline; gap: 8px; margin-top: 8px; white-space: nowrap; } .tr2-kv span { font-size: 12.5px; color: var(--muted); flex: 1; } .tr2-kv b { font-size: 16px; } .tr2-kv small { font-size: 11px; color: var(--muted); font-weight: 400; }
.tr2-kv em { font-style: normal; font-size: 12px; color: var(--muted); } .tr2-kv em.pos { color: #7ee0ad; } .tr2-kv em.neg { color: #ff9a9e; }
.tr2-bar { height: 6px; border-radius: 99px; background: #1c2742; margin-top: 6px; overflow: hidden; } .tr2-bar i { display: block; height: 100%; background: #3fbf7f; } .tr2-bar.fat i { background: #f0a54a; } .tr2-bar.fat.hot i { background: #e2575c; }
.tr2-fx { display: grid; grid-template-columns: 10px 72px 1fr; gap: 8px; align-items: center; padding: 6px 0; border-bottom: 1px solid #172036; font-size: 12.5px; } .tr2-fx i { width: 10px; height: 10px; border-radius: 3px; } .tr2-fx span { color: var(--muted); }
.tr2-indbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; font-size: 13px; color: var(--muted); }
@media (max-width: 1100px) { .tr2-main { grid-template-columns: 1fr; } }

/* ---------- 개인 훈련 · 연습 챔피언 (js/practice.js) ---------- */
.pc2-auto { font-size: 12.5px; color: var(--muted); margin: 12px 0 0; }
.pc2-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); gap: 14px; margin-top: 16px; }
.pc2-card { display: flex; flex-direction: column; gap: 12px; }
.pc2-who { display: flex; align-items: center; gap: 12px; } .pc2-who > div:nth-child(2) { flex: 1; display: flex; flex-direction: column; gap: 3px; } .pc2-who b { font-size: 15px; display: flex; align-items: center; gap: 6px; } .pc2-who span { display: flex; align-items: center; gap: 4px; }
.pc2-cond { text-align: right; } .pc2-cond small { display: block; font-size: 11px; color: var(--muted); } .pc2-cond b { font-size: 18px; } .pc2-cond b.neg { color: #ff9a9e; }
.pc2-row { display: grid; grid-template-columns: 76px 1fr; gap: 10px; align-items: center; } .pc2-row > span { font-size: 12px; color: var(--muted); }
.pc2-chips { display: flex; flex-wrap: wrap; gap: 6px; } .pc2-chips button { padding: 5px 10px; border-radius: 99px; border: 1px solid #253150; background: #111a2e; color: var(--text); font-size: 12px; cursor: pointer; }
.pc2-chips button.on { border-color: var(--gold); color: var(--gold); background: rgba(200, 162, 74, .12); }
.pc2-chips.dis, .pc2-int.dis { opacity: .55; } .pc2-intnote { grid-column: 2; font-size: 11px; color: var(--muted); margin-top: -4px; }
.pc2-slot { display: flex; align-items: center; gap: 10px; width: 100%; padding: 8px 10px; border-radius: 10px; border: 1px solid #253150; background: #0f1628; color: var(--text); cursor: pointer; text-align: left; }
.pc2-slot:hover { border-color: var(--gold); } .pc2-slot img { width: 40px; height: 40px; border-radius: 8px; } .pc2-slot > div { flex: 1; min-width: 0; }
.pc2-slot b { font-size: 13.5px; display: flex; align-items: center; gap: 6px; } .pc2-slot b i, .pc2-ch i { font-style: normal; font-size: 11px; font-weight: 800; padding: 0 5px; border-radius: 4px; background: #1c2742; }
.pc2-slot small { font-size: 11px; color: var(--muted); } .pc2-prog { height: 5px; border-radius: 99px; background: #1c2742; margin: 5px 0 3px; overflow: hidden; } .pc2-prog i { display: block; height: 100%; background: var(--gold); }
.pc2-slot.empty { border-style: dashed; color: var(--muted); } .pc2-slot.empty i { font-style: normal; width: 40px; height: 40px; border-radius: 8px; display: grid; place-items: center; background: #1c2742; font-size: 18px; }
.pc2-note { margin: 8px 0; font-size: 12px; } .pc2-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(74px, 1fr)); gap: 8px; max-height: 52vh; overflow-y: auto; padding: 2px; min-width: 0; }
.modal:has(.pc2-grid) { width: min(760px, 100%); } .modal:has(.pc2-grid) .modal-body { overflow-x: hidden; }
.pc2-ch { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px 4px; border-radius: 8px; border: 1px solid transparent; background: #111a2e; color: var(--text); cursor: pointer; }
.pc2-ch img { width: 48px; height: 48px; border-radius: 8px; } .pc2-ch b { font-size: 11px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.pc2-ch i { position: absolute; top: 4px; right: 6px; } .pc2-ch.off { opacity: .7; } .pc2-ch.on, .pc2-ch:hover { border-color: var(--gold); opacity: 1; }
.sq2-mine { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; margin: 12px 0; }
.sq2-p { display: flex; flex-direction: column; gap: 8px; padding: 12px; cursor: pointer; } .sq2-p.out { opacity: .75; }
.sq2-top { display: flex; align-items: center; gap: 10px; } .sq2-top > div:nth-child(2) { flex: 1; display: flex; flex-direction: column; gap: 2px; } .sq2-top b { font-size: 14px; }
.sq2-rank { text-align: right; } .sq2-rank b { font-size: 22px; color: var(--gold); } .sq2-rank small { font-size: 11px; color: var(--muted); }
.sq2-mid { display: flex; gap: 10px; font-size: 12px; color: var(--muted); } .sq2-mid em { font-style: normal; } .sq2-mid em.pos { color: #7ee0ad; } .sq2-mid em.neg { color: #ff9a9e; }

/* ---------- 코치 채용 (js/staffc.js) ---------- */
.sx-hire { margin-top: 16px; } .sx-hire h3 { margin: 0 0 10px; font-size: 15px; } .sx-hire h3 small { color: var(--muted); font-weight: 400; margin-left: 6px; } .sx-hire > p { font-size: 13px; color: var(--muted); }
.sx-post { display: flex; gap: 10px; align-items: center; }
.sx-cands { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; margin-top: 14px; }
.sx-cand { border: 1px solid #1d2840; border-radius: 10px; background: #0f1628; padding: 12px; display: flex; flex-direction: column; gap: 10px; }
.sx-ch b { font-size: 15px; display: block; } .sx-ch span { font-size: 12px; color: var(--muted); }
.sx-st { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; } .sx-st span { display: flex; flex-direction: column; align-items: center; background: #131c32; border-radius: 6px; padding: 5px 0; } .sx-st small { font-size: 10.5px; color: var(--muted); } .sx-st b { font-size: 16px; } .sx-st b.hi { color: var(--gold); }
.sx-tr { display: flex; gap: 6px; flex-wrap: wrap; } .sx-tr i { font-style: normal; font-size: 11.5px; padding: 2px 8px; border-radius: 99px; background: rgba(200, 162, 74, .14); color: var(--gold); }
.sx-ft { display: flex; justify-content: space-between; align-items: center; font-size: 12.5px; color: var(--muted); } .sx-ft b { color: var(--text); }
.cf-table td { vertical-align: middle; } .cf-hi { color: var(--gold); } .cf-tr { font-style: normal; font-size: 11px; padding: 2px 7px; border-radius: 99px; background: rgba(200, 162, 74, .14); color: var(--gold); margin-right: 4px; white-space: nowrap; }
