/* 화면 2 담당: 경기 탭(승격전, 경기 준비, 경기, 결과, 리그, 토너먼트, 랭킹), 상점, 더보기.
   색과 버튼은 뼈대 app.css(--bg, --red, --gold, .btn, .panel)를 따른다. 틀은 두께 있는 안쪽 테두리와 아래 그림자, 둥근 모서리. */
.c2 { word-break: keep-all; --c2-edge: var(--edge); --c2-in: var(--track); --c2-card: linear-gradient(180deg, var(--panel) 0%, var(--panel2) 100%); display: flex; flex-direction: column; gap: 14px; }
.c2 .ic { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.c2 .ic.big { width: 44px; height: 44px; stroke-width: 1.6; }
.c2 .ic.end { margin-left: auto; color: var(--dim); width: 18px; height: 18px; }
.c2-num, .c2 [class*='-ovr'] b, .c2-price, .c2-gem-n { font-family: var(--f-num); }

/* 머리 */
.c2-head { display: flex; align-items: flex-end; gap: 10px; padding: 2px 4px 0; }
.c2-head-t { min-width: 0; flex: 1; }
.c2-head.sub p { margin: 0; font-size: 14px; font-weight: 700; color: var(--gold-lt); }
.c2-head h1 { margin: 0; font-size: 26px; font-weight: 900; letter-spacing: -.6px; line-height: 1.15; }
.c2-head p { margin: 2px 0 0; color: var(--mute); font-size: 13px; }
.c2-sec-t { display: flex; align-items: baseline; gap: 8px; font-weight: 900; font-size: 15.5px; margin: 0 0 10px; }
.c2-sec-t small { font-weight: 500; font-size: 12px; color: var(--mute); margin-left: auto; }
.c2-muted { color: var(--mute); margin: 4px 0; font-size: 13.5px; }
.c2-fine { color: var(--dim); font-size: 12px; line-height: 1.55; margin: 4px 4px 0; }
.c2-fine.center { text-align: center; }
.c2-kicker { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 800; color: var(--gold-lt); letter-spacing: .2px; }
.c2-kicker .ic { width: 15px; height: 15px; }
.c2-card { margin: 0; }
.c2 .panel + .panel { margin-top: 0; }
.c2 .sec-h { margin: 6px 4px -4px; }

/* 체급 고르기 */
.c2-chips { display: flex; gap: 8px; overflow-x: auto; margin: 0 -14px; padding: 2px 14px 6px; scrollbar-width: none; scroll-snap-type: x proximity; }
.c2-chips::-webkit-scrollbar { display: none; }
.c2-chip { flex: none; height: 38px; padding: 0 15px; border-radius: 19px; background: var(--c2-in); box-shadow: inset 0 0 0 2px var(--c2-edge), 0 3px 0 var(--lip); font-weight: 800; font-size: 13.5px; color: var(--mute); scroll-snap-align: center; transition: color .2s, background .2s; }
.c2-chip.on { color: var(--accink); background: linear-gradient(180deg, var(--red), var(--red2)); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .25), 0 3px 0 var(--acclip); }

/* 불러오는 중 뼈대 */
.c2-skel { gap: 12px; }
.c2-skel-b { border-radius: var(--r2); background: linear-gradient(100deg, var(--panel) 30%, var(--panel) 50%, var(--panel) 70%); background-size: 300% 100%; animation: c2sk 1.2s linear infinite; box-shadow: inset 0 0 0 2px var(--panel); }
@keyframes c2sk { from { background-position: 100% 0; } to { background-position: -200% 0; } }
.c2-empty { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 48px 20px; text-align: center; color: var(--mute); }
.c2-empty .ic.big { color: var(--dim); }
.c2-empty p { margin: 0; max-width: 260px; line-height: 1.55; }

/* 화면 아래 고정 버튼 줄 */
.c2-dock { position: sticky; bottom: calc(var(--tab-h) + var(--safe-b) - 6px); z-index: 4; margin: 4px -14px -10px; padding: 12px 14px 10px; background: linear-gradient(180deg, transparent, color-mix(in srgb, var(--panel2) 94%, transparent) 30%); }
body.no-chrome .c2-dock { bottom: 0; }
.c2-dock.two { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; }

/* ---------- 경기 첫 화면 ---------- */
.c2-reps { display: flex; gap: 10px; overflow-x: auto; margin: 0 -14px; padding: 4px 14px 10px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.c2-reps::-webkit-scrollbar { display: none; }
.c2-rep { position: relative; flex: none; width: 136px; padding: 10px 11px 12px; border-radius: 20px; text-align: left; scroll-snap-align: start; display: flex; flex-direction: column; gap: 3px;
  background: var(--c2-card); box-shadow: inset 0 0 0 2px var(--c2-edge), inset 0 3px 0 var(--hi), 0 4px 0 var(--lip); transition: transform .2s, box-shadow .2s; }
.c2-rep.on { box-shadow: inset 0 0 0 2.5px var(--gold), inset 0 3px 0 var(--hi), 0 4px 0 var(--gold2), 0 10px 22px color-mix(in srgb, var(--gold) 18%, transparent); transform: translateY(-2px); }
.c2-rep:active { transform: scale(.97); }
.c2-rep-wc { font-size: 11.5px; font-weight: 800; color: var(--mute); }
.c2-rep.on .c2-rep-wc { color: var(--gold-lt); }
.c2-rep-top { display: flex; align-items: center; justify-content: space-between; margin: 4px 0 2px; }
.c2-rep-ovr { display: flex; flex-direction: column; align-items: flex-end; line-height: .9; }
.c2-rep-ovr b { font-family: var(--f-num); font-size: 30px; font-weight: 800; }
.c2-rep-ovr small { font-size: 10px; color: var(--dim); font-weight: 800; letter-spacing: .5px; }
.c2-rep-nm { font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c2-rep-tier { font-size: 12px; color: var(--mute); }
.c2-pips { display: flex; gap: 3px; margin-top: 6px; }
.c2-pips i { flex: 1; height: 6px; border-radius: 3px; background: var(--track); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }
.c2-pips i.done { background: linear-gradient(180deg, var(--gold-lt), var(--gold)); }
.c2-pips i.now { background: var(--red); box-shadow: 0 0 8px color-mix(in srgb, var(--acc) 70%, transparent); }
.c2-rep.empty { align-items: center; justify-content: center; gap: 6px; color: var(--dim); background: color-mix(in srgb, var(--track) 70%, transparent); box-shadow: inset 0 0 0 2px var(--panel); min-height: 150px; text-align: center; }
.c2-rep-none { font-weight: 800; color: var(--mute); }
.c2-rep.empty small { color: var(--mute); font-size: 11.5px; }
.c2-rep.empty .ic.big { width: 32px; height: 32px; color: var(--gold); }

.c2-hero { position: relative; overflow: hidden; display: block; width: 100%; min-height: 188px; border-radius: 26px; text-align: left; isolation: isolate;
  background: radial-gradient(120% 90% at 85% 0%, var(--acc2) 0%, transparent 60%), linear-gradient(160deg, var(--acclip) 0%, var(--acclip) 70%);
  box-shadow: inset 0 0 0 2.5px var(--acc2), inset 0 3px 0 color-mix(in srgb, var(--gold-lt) 14%, transparent), 0 5px 0 var(--acclip), 0 14px 30px rgba(0, 0, 0, .45); transition: transform .15s; }
.c2-hero:active { transform: translateY(3px); box-shadow: inset 0 0 0 2.5px var(--acc2), 0 2px 0 var(--acclip); }
.c2-hero-bg { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, color-mix(in srgb, var(--track) 92%, transparent) 25%, color-mix(in srgb, var(--track) 20%, transparent)), url(../img/bg-arena.jpg) 70% 30% / cover no-repeat; }
.c2-hero-in { position: relative; padding: 18px 18px 18px; display: flex; flex-direction: column; gap: 6px; max-width: 80%; }
.c2-hero strong { font-size: 25px; font-weight: 900; letter-spacing: -.6px; line-height: 1.15; }
.c2-hero p { margin: 0; color: var(--gold-lt); font-size: 13.5px; line-height: 1.5; }
.c2-cta { margin-top: 8px; align-self: flex-start; display: inline-flex; align-items: center; gap: 4px; height: 42px; padding: 0 14px 0 18px; border-radius: 14px; font-weight: 900; color: var(--ink);
  background: linear-gradient(180deg, var(--acc), var(--acc2)); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .3), 0 4px 0 var(--acc2); }
.c2-cta .ic { width: 18px; height: 18px; stroke-width: 2.6; }
.c2-wins { display: flex; gap: 6px; margin-top: 2px; }
.c2-wins i { width: 26px; height: 26px; border-radius: 9px; display: grid; place-items: center; background: rgba(0, 0, 0, .45); box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .12); }
.c2-wins i.on { background: linear-gradient(180deg, var(--gold-lt), var(--gold)); box-shadow: 0 2px 0 var(--gold2); color: var(--goldink); }
.c2-wins .ic { width: 16px; height: 16px; stroke-width: 3; }

.c2-modes { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.c2-mode { position: relative; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 14px; border-radius: 22px; text-align: left; overflow: hidden;
  background: var(--c2-card); box-shadow: inset 0 0 0 2px var(--c2-edge), inset 0 3px 0 var(--hi), 0 4px 0 var(--lip), 0 10px 22px rgba(0, 0, 0, .3); transition: transform .12s; }
.c2-mode:active { transform: translateY(3px); box-shadow: inset 0 0 0 2px var(--c2-edge), 0 1px 0 var(--lip); }
.c2-mode strong { font-size: 16.5px; margin-top: 6px; }
.c2-mode small { color: var(--mute); font-size: 12.5px; }
.c2-mode-ic { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; color: var(--ink); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .25), 0 3px 0 rgba(0, 0, 0, .6); }
.c2-mode-ic .ic { width: 23px; height: 23px; }
.m-league .c2-mode-ic { background: linear-gradient(180deg, var(--cb), var(--cb2)); }
.m-tour .c2-mode-ic { background: linear-gradient(180deg, var(--gold-lt), var(--gold)); color: var(--goldink); }
.m-rank .c2-mode-ic { background: linear-gradient(180deg, var(--g-s), var(--g-s)); }
.c2-mode.wide { grid-column: span 2; flex-direction: row; align-items: center; gap: 12px; }
.c2-mode.wide strong { margin: 0; display: block; }
.c2-timer { display: inline-flex; align-items: center; gap: 4px; margin-top: 8px; height: 28px; padding: 0 10px 0 7px; border-radius: 14px; background: var(--track); box-shadow: inset 0 0 0 2px var(--edge); color: var(--gold-lt); font-size: 12px; }
.c2-timer .ic { width: 15px; height: 15px; }
.c2-timer b { font-family: var(--f-num); font-size: 16px; font-weight: 800; letter-spacing: .3px; color: var(--ink); }
.c2-timer.big { height: 34px; padding: 0 12px 0 9px; border-radius: 17px; }
.c2-timer.big b { font-size: 20px; }

/* ---------- 승격전 ---------- */
.c2-ladwrap { position: relative; max-height: 300px; overflow-y: auto; border-radius: 24px; padding: 10px; scrollbar-width: none;
  background: radial-gradient(80% 60% at 50% 0%, color-mix(in srgb, var(--gold) 12%, transparent), transparent 70%), var(--track); box-shadow: inset 0 0 0 2px var(--c2-edge), inset 0 8px 18px rgba(0, 0, 0, .5); }
.c2-ladwrap::-webkit-scrollbar { display: none; }
.c2-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; position: relative; }
.c2-steps::before { content: ''; position: absolute; left: 26px; top: 18px; bottom: 18px; width: 4px; border-radius: 2px; background: var(--panel); }
.c2-step { position: relative; display: flex; align-items: center; gap: 12px; padding: 8px 12px 8px 8px; border-radius: 16px; }
.c2-step-n { position: relative; z-index: 1; width: 40px; height: 40px; flex: none; border-radius: 13px; display: grid; place-items: center; font-family: var(--f-num); font-weight: 800; font-size: 20px;
  background: var(--panel2); box-shadow: inset 0 0 0 2px var(--edge), 0 3px 0 var(--lip); color: var(--dim); }
.c2-step-n .ic { width: 18px; height: 18px; }
.c2-step-t { display: flex; flex-direction: column; line-height: 1.25; }
.c2-step-t b { font-size: 15px; }
.c2-step-t small { font-size: 12px; color: var(--dim); }
.c2-step.done .c2-step-n { background: linear-gradient(180deg, var(--gold-lt), var(--gold)); color: var(--goldink); box-shadow: 0 3px 0 var(--gold2); }
.c2-step.done .c2-step-t b { color: var(--mute); }
.c2-step.lock { opacity: .55; }
.c2-step.next .c2-step-n { color: var(--ink); box-shadow: inset 0 0 0 2px var(--dim), 0 3px 0 var(--lip); }
.c2-step.now { background: linear-gradient(90deg, color-mix(in srgb, var(--acc) 30%, transparent), color-mix(in srgb, var(--acc) 6%, transparent)); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--acc) 70%, transparent); }
.c2-step.now .c2-step-n { background: linear-gradient(180deg, var(--acc), var(--acc2)); color: var(--accink); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .3), 0 3px 0 var(--acc2), 0 0 18px color-mix(in srgb, var(--acc) 55%, transparent); }
.c2-step-me { margin-left: auto; font-size: 12px; font-weight: 900; padding: 4px 9px; border-radius: 9px; background: var(--red); color: var(--accink); }
.c2-ladprog { display: flex; flex-direction: column; gap: 2px; margin: -2px 0 12px; padding: 10px 12px; border-radius: 14px; background: var(--track); box-shadow: inset 0 0 0 2px var(--edge); }
.c2-ladprog b { font-size: 14.5px; color: var(--gold-lt); }
.c2-ladprog small { color: var(--mute); font-size: 12px; }
.c2-opp-top { display: flex; align-items: center; gap: 12px; }
.c2-opp-id { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.35; }
.c2-opp-id strong { font-size: 18px; }
.c2-opp-id span { font-size: 12.5px; color: var(--mute); }
.c2-ovr { display: flex; flex-direction: column; align-items: center; line-height: .9; padding: 8px 10px; border-radius: 14px; background: var(--track); box-shadow: inset 0 0 0 2px var(--edge); }
.c2-ovr b { font-family: var(--f-num); font-size: 30px; font-weight: 800; }
.c2-ovr small { font-size: 10px; color: var(--dim); font-weight: 800; }
.c2-tape-mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.c2-tape-mini > div { display: flex; flex-direction: column; align-items: center; padding: 9px 4px; border-radius: 14px; background: var(--track); box-shadow: inset 0 0 0 2px var(--panel); }
.c2-tape-mini small { font-size: 11.5px; color: var(--mute); font-weight: 700; }
.c2-tape-mini b { font-family: var(--f-num); font-size: 26px; font-weight: 800; line-height: 1.05; }
.c2-tape-mini b i { font-style: normal; font-size: 13px; color: var(--dim); margin-left: 1px; }
.c2-tape-mini em { font-style: normal; font-size: 11.5px; font-weight: 700; }
.c2-tape-mini em.up { color: var(--green); } .c2-tape-mini em.down { color: var(--acc-lt); }
.c2-coach { display: flex; gap: 12px; align-items: flex-start; }
.c2-coach-ic { width: 42px; height: 42px; flex: none; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(180deg, var(--ok), var(--ok2)); color: var(--okink); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .4), 0 3px 0 var(--ok2); }
.c2-coach .c2-sec-t { margin-bottom: 4px; }
.c2-coach ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.c2-coach li { font-size: 13.5px; line-height: 1.5; color: var(--gold-lt); padding-left: 12px; position: relative; }
.c2-coach li::before { content: ''; position: absolute; left: 0; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--green); }

/* ---------- 경기 준비 ---------- */
.c2-vs { position: relative; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 6px; padding: 18px 12px; border-radius: 26px; overflow: hidden;
  background: linear-gradient(90deg, color-mix(in srgb, var(--acc) 35%, transparent), transparent 45%, transparent 55%, color-mix(in srgb, var(--cb) 30%, transparent)), url(../img/bg-arena.jpg) center / cover, var(--panel2);
  box-shadow: inset 0 0 0 2.5px var(--c2-edge), inset 0 3px 0 var(--hi), 0 5px 0 var(--lip); }
.c2-vs::after { content: ''; position: absolute; inset: 0; background: color-mix(in srgb, var(--track) 55%, transparent); z-index: 0; }
.c2-vs > * { position: relative; z-index: 1; }
.c2-vs-side { display: flex; flex-direction: column; align-items: center; gap: 3px; text-align: center; min-width: 0; }
.c2-vs-side strong { font-size: 15px; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 4px; }
.c2-vs-side small { font-size: 11.5px; color: var(--mute); }
.c2-vs-ovr { font-family: var(--f-num); font-size: 34px; font-weight: 800; line-height: 1; text-shadow: 0 2px 0 var(--lip); }
.c2-vs-mid { font-family: var(--f-num); font-style: italic; font-weight: 800; font-size: 34px; color: var(--gold-lt); text-shadow: 0 3px 0 var(--lip); transform: skewX(-8deg); }
.c2-vs-side.unknown .c2-crest { width: 56px; height: 56px; border-radius: 32%; display: grid; place-items: center; background: var(--track); box-shadow: inset 0 0 0 2px var(--sec); font-size: 24px; color: var(--dim); }
.c2-tape { display: flex; flex-direction: column; gap: 6px; }
.c2-tape-r { display: grid; grid-template-columns: 1fr 96px 1fr; align-items: center; padding: 8px 12px; border-radius: 14px; background: var(--track); box-shadow: inset 0 0 0 2px var(--panel); }
.c2-tape-r > b { font-family: var(--f-num); font-size: 28px; font-weight: 800; line-height: 1; color: var(--mute); }
.c2-tape-r > b:last-child { text-align: right; }
.c2-tape-r > b.win { color: var(--ink); }
.c2-tape-r > b i { font-style: normal; font-size: 13px; color: var(--dim); margin-left: 2px; }
.c2-tape-r > span { display: flex; flex-direction: column; align-items: center; font-size: 12.5px; font-weight: 800; color: var(--mute); line-height: 1.2; }
.c2-tape-r em { font-style: normal; font-family: var(--f-num); font-size: 15px; color: var(--gold-lt); }
.c2-cmp { display: flex; flex-direction: column; gap: 7px; }
.c2-cmp-r { display: grid; grid-template-columns: 30px 1fr 30px; align-items: center; gap: 8px; }
.c2-cmp-r > b { font-family: var(--f-num); font-size: 18px; font-weight: 800; color: var(--mute); text-align: center; }
.c2-cmp-r > b.win { color: var(--ink); }
.c2-cmp-bars { position: relative; display: grid; grid-template-columns: 1fr 56px 1fr; align-items: center; height: 22px; }
.c2-cmp-bars span { text-align: center; font-size: 12px; font-weight: 700; color: var(--mute); }
.c2-cmp-bars i { height: 10px; border-radius: 5px; }
.c2-cmp-bars i.l { justify-self: end; background: linear-gradient(270deg, var(--acc-lt), var(--red2)); }
.c2-cmp-bars i.r { justify-self: start; background: linear-gradient(90deg, var(--cb), var(--cb2)); }
.c2-tactics { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.c2-tac { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 11px 12px; border-radius: 16px; text-align: left; background: var(--track); box-shadow: inset 0 0 0 2px var(--edge), 0 3px 0 var(--lip); transition: box-shadow .15s, background .15s; }
.c2-tac strong { font-size: 15px; }
.c2-tac small { font-size: 11.5px; color: var(--mute); line-height: 1.4; }
.c2-tac.on { background: linear-gradient(180deg, color-mix(in srgb, var(--acc) 32%, transparent), color-mix(in srgb, var(--acc) 12%, transparent)); box-shadow: inset 0 0 0 2.5px var(--red), 0 3px 0 var(--acc2); }
.c2-tac.on small { color: var(--acc-lt); }
.c2-slots { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.c2-slot { min-height: 68px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 8px; border-radius: 16px; text-align: center;
  background: color-mix(in srgb, var(--track) 60%, transparent); box-shadow: inset 0 0 0 2px var(--edge); color: var(--dim); }
.c2-slot.full { background: linear-gradient(180deg, var(--edge), var(--panel)); box-shadow: inset 0 0 0 2px var(--dim), inset 0 2px 0 var(--hi), 0 3px 0 var(--lip); color: var(--ink); }
.c2-slot strong { font-size: 14px; }
.c2-plus { font-size: 24px; font-weight: 400; line-height: 1; }
.c2-lv { display: flex; gap: 3px; }
.c2-lv i { width: 14px; height: 5px; border-radius: 3px; background: var(--track); }
.c2-lv i.on { background: var(--gold); }
.c2-sheet { display: flex; flex-direction: column; gap: 10px; }
.c2-sheet-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.c2-sheet-i { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px; border-radius: 16px; text-align: left; background: var(--track); box-shadow: inset 0 0 0 2px var(--edge), 0 3px 0 var(--lip); }
.c2-sheet-i strong { font-size: 14.5px; }
.c2-sheet-i small { font-size: 12px; color: var(--mute); }
.c2-sheet-i.on { box-shadow: inset 0 0 0 2.5px var(--gold), 0 3px 0 var(--gold2); }
.c2-sheet-i[disabled] { opacity: .4; }

/* 체육관 문장 크기 */
.c2-crest { display: inline-flex; flex: none; }
.c2-crest.tbd > b { width: 22px; height: 22px; font-size: 12px; color: var(--dim); background: var(--panel2); }
.c2-crest > b { width: 34px; height: 34px; border-radius: 32%; display: grid; place-items: center; background: var(--edge); }

/* ---------- 경기 ---------- */
.c2-match { position: relative; min-height: calc(100vh - 28px); min-height: calc(100dvh - 28px); gap: 10px; }
/* 3D 경기는 화면 전체(앱 폭 상한 480). match.css의 .m3d { height: 100% }보다 앞서게 선택자를 높인다 */
.c2-match .c2-stage3d, .c2-match .c2-stage3d.m3d { position: fixed; z-index: 5; top: 0; bottom: 0; left: 50%; transform: translateX(-50%); width: min(100%, 480px); height: 100vh; height: 100dvh; min-height: 0; }
.c2-board { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 6px; padding: 10px; border-radius: 20px; background: var(--track); box-shadow: inset 0 0 0 2px var(--edge), 0 4px 0 var(--lip); }
.c2-board-side { display: flex; align-items: center; gap: 7px; min-width: 0; }
.c2-board-side.b { justify-content: flex-end; }
.c2-board-side strong { font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c2-land { font-family: var(--f-num); font-size: 30px; font-weight: 800; line-height: 1; min-width: 34px; text-align: center; padding: 3px 4px; border-radius: 10px; }
.c2-board-side.a .c2-land { background: color-mix(in srgb, var(--acc) 25%, transparent); color: var(--acc-lt); }
.c2-board-side.b .c2-land { background: color-mix(in srgb, var(--cb) 22%, transparent); color: var(--dia-lt); }
.c2-board-mid { display: flex; flex-direction: column; align-items: center; line-height: 1; padding: 0 4px; }
.c2-rnd { font-family: var(--f-num); font-weight: 800; font-size: 14px; color: var(--gold-lt); }
.c2-clock { font-family: var(--f-num); font-weight: 800; font-size: 24px; }
.c2-ring { position: relative; height: 250px; border-radius: 24px; overflow: hidden; display: grid; place-items: center;
  background: radial-gradient(60% 60% at 50% 40%, color-mix(in srgb, var(--gold) 22%, transparent), transparent 70%), linear-gradient(180deg, var(--cb2) 0%, var(--cb2) 100%); box-shadow: inset 0 0 0 2.5px var(--edge), 0 4px 0 var(--lip); }
.c2-ring-bg { position: absolute; inset: 0; background: url(../img/bg-arena.jpg) center 40% / cover; opacity: .55; }
.c2-ring::before { content: ''; position: absolute; left: 8%; right: 8%; bottom: 18%; height: 44%; border-radius: 6px; background: linear-gradient(180deg, var(--cb2), var(--cb2)); transform: perspective(300px) rotateX(48deg); box-shadow: 0 -3px 0 var(--acc), 0 -9px 0 var(--ink), 0 -15px 0 var(--cb); opacity: .85; }
.c2-ring-call { position: relative; z-index: 2; font-family: var(--f-num); font-style: italic; font-weight: 800; font-size: 46px; letter-spacing: 1px; text-shadow: 0 4px 0 var(--lip), 0 0 24px rgba(0, 0, 0, .6); opacity: 0; }
.c2-ring-call.show { animation: c2call 1.4s cubic-bezier(.2, 1.3, .4, 1) both; }
.c2-ring-call.kd, .c2-ring-call.ko { color: var(--acc); font-size: 60px; }
.c2-fighter { position: absolute; z-index: 1; bottom: 16%; width: 34%; transition: transform .25s ease; }
.c2-fighter .sil { width: 100%; height: auto; display: block; filter: drop-shadow(0 6px 6px rgba(0, 0, 0, .55)); }
.c2-fighter.a { left: 14%; }
.c2-fighter.b { right: 14%; }
.c2-fighter.b .sil { transform: scaleX(-1); }
.c2-fighter.punch.a { animation: c2pa .32s ease; }
.c2-fighter.punch.b { animation: c2pb .32s ease; }
.c2-fighter.hurt.a { animation: c2hb .36s ease; }
.c2-fighter.hurt.b { animation: c2ha .36s ease; }
.c2-fighter.down { transform: translateY(18%) rotate(-12deg) scale(.92); filter: brightness(.6); }
.c2-fighter.b.down { transform: translateY(18%) rotate(12deg) scale(.92); }
@keyframes c2pa { 40% { transform: translateX(14%); } }
@keyframes c2pb { 40% { transform: translateX(-14%); } }
@keyframes c2ha { 30% { transform: translateX(10%) rotate(5deg); filter: brightness(1.6); } }
@keyframes c2hb { 30% { transform: translateX(-10%) rotate(-5deg); filter: brightness(1.6); } }
.c2-mo { position: absolute; z-index: 2; left: 12px; right: 12px; bottom: 10px; height: 8px; display: flex; gap: 3px; }
.c2-mo i { flex: 1; border-radius: 4px; transition: flex .5s ease; }
.c2-mo .a { background: linear-gradient(90deg, var(--acc2), var(--acc-lt)); }
.c2-mo .b { background: linear-gradient(90deg, var(--cb), var(--cb)); }
@keyframes c2call { 0% { opacity: 0; transform: scale(1.8); } 18% { opacity: 1; transform: scale(1); } 75% { opacity: 1; } 100% { opacity: 0; transform: scale(.96); } }
.c2-feedwrap { flex: 1; min-height: 200px; max-height: calc(100dvh - 400px); overflow: hidden; border-radius: 20px; background: var(--track); box-shadow: inset 0 0 0 2px var(--panel); padding: 10px 12px; mask-image: linear-gradient(180deg, var(--lip) 70%, transparent); -webkit-mask-image: linear-gradient(180deg, var(--lip) 70%, transparent); }
.c2-feed { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.c2-feed li { font-size: 14px; line-height: 1.45; animation: c2line .3s ease both; }
.c2-feed li.dim { color: var(--mute); }
.c2-feed li.sys { color: var(--gold-lt); font-weight: 700; font-size: 13px; }
.c2-feed li.hot { color: var(--acc-lt); font-weight: 700; }
.c2-feed li.kd { color: var(--accink); font-weight: 900; padding: 6px 10px; border-radius: 10px; background: color-mix(in srgb, var(--acc) 35%, transparent); }
@keyframes c2line { from { opacity: 0; transform: translateY(-6px); } }
.c2-skip { position: fixed; z-index: 8; right: max(14px, calc(50vw - 226px)); top: calc(10px + var(--safe-t)); height: 36px; padding: 0 14px; border-radius: 18px; background: color-mix(in srgb, var(--track) 85%, transparent); box-shadow: inset 0 0 0 2px var(--sec); font-weight: 800; font-size: 13px; color: var(--mute); }
.c2-match .c2-skip { top: auto; bottom: calc(14px + var(--safe-b)); }
.c2-corner { position: fixed; z-index: 9; left: 50%; bottom: 0; transform: translateX(-50%); width: min(100%, 480px); padding: 16px 14px calc(16px + var(--safe-b)); border-radius: 26px 26px 0 0;
  background: linear-gradient(180deg, var(--panel), var(--panel2)); box-shadow: inset 0 2px 0 var(--hi), inset 0 0 0 2px var(--sec), 0 -10px 30px rgba(0, 0, 0, .6); animation: c2up .3s cubic-bezier(.2, 1, .3, 1); }
@keyframes c2up { from { transform: translate(-50%, 100%); } }
.c2-corner-t { display: flex; align-items: baseline; gap: 8px; margin-bottom: 10px; }
.c2-corner-t b { font-size: 18px; }
.c2-corner-t span { color: var(--mute); font-size: 13px; }
.c2-orders { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.c2-order { display: flex; align-items: center; gap: 8px; height: 56px; padding: 0 14px; border-radius: 16px; background: linear-gradient(180deg, var(--edge), var(--panel)); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .1), inset 0 0 0 2px var(--sec), 0 4px 0 var(--lip); font-size: 15.5px; }
.c2-order:active { transform: translateY(3px); box-shadow: inset 0 0 0 2px var(--red), 0 1px 0 var(--lip); }
.c2-order .ic { color: var(--gold); }
.c2-auto { font-family: var(--f-num); color: var(--gold); margin-left: 4px; }

/* ---------- 결과 ---------- */
.c2-res-hero { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 22px 14px 18px; border-radius: 28px; text-align: center; isolation: isolate;
  background: linear-gradient(180deg, var(--panel), var(--panel2)); box-shadow: inset 0 0 0 2.5px var(--c2-edge), inset 0 3px 0 var(--hi), 0 5px 0 var(--lip); }
.c2-res-glow { position: absolute; inset: -40% -20% auto; height: 120%; z-index: -1; background: radial-gradient(50% 50% at 50% 50%, color-mix(in srgb, var(--gold) 45%, transparent), transparent 70%); animation: c2glow 3s ease-in-out infinite alternate; }
.loss .c2-res-glow { background: radial-gradient(50% 50% at 50% 50%, color-mix(in srgb, var(--dim) 35%, transparent), transparent 70%); }
@keyframes c2glow { to { transform: scale(1.12); opacity: .8; } }
.c2-res-label { font-size: 12.5px; color: var(--mute); font-weight: 700; }
.c2-res-big { font-size: 54px; font-weight: 900; letter-spacing: -2px; line-height: 1.05; animation: c2pop .6s cubic-bezier(.2, 1.4, .4, 1) both; }
.win .c2-res-big { background: linear-gradient(180deg, var(--gold-lt), var(--gold) 60%, var(--gold2)); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 4px 0 var(--lip)); }
.loss .c2-res-big { color: var(--mute); text-shadow: 0 4px 0 var(--lip); }
.neutral .c2-res-big { font-size: 34px; }
@keyframes c2pop { from { opacity: 0; transform: scale(1.6); } }
.c2-res-method { font-weight: 800; font-size: 15px; color: var(--gold-lt); }
.c2-res-vs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; width: 100%; margin-top: 12px; }
.c2-res-vs > div { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 14px; background: rgba(0, 0, 0, .35); box-shadow: inset 0 0 0 2px var(--panel); min-width: 0; opacity: .6; }
.c2-res-vs > div.w { opacity: 1; box-shadow: inset 0 0 0 2px var(--gold); }
/* 긴 이름(빅토르 린드크비스트처럼 열 자 안팎)은 말줄임 대신 두 줄로 */
.c2-res-vs b { font-size: 13.5px; line-height: 1.25; overflow: hidden; overflow-wrap: anywhere; word-break: keep-all; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.c2-judges { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.c2-judge { display: flex; flex-direction: column; align-items: center; padding: 10px 4px; border-radius: 14px; background: var(--track); box-shadow: inset 0 0 0 2px var(--panel); }
.c2-judge small { font-size: 11.5px; color: var(--mute); font-weight: 700; }
.c2-judge b { font-family: var(--f-num); font-size: 25px; font-weight: 800; color: var(--mute); }
.c2-judge b .w { color: var(--ink); }
.c2-rtot { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 8px; }
.c2-rtot > div { display: flex; align-items: baseline; gap: 6px; }
.c2-rtot > div:last-child { justify-content: flex-end; }
.c2-rtot b { font-family: var(--f-num); font-size: 30px; font-weight: 800; }
.c2-rtot > div:first-child b { color: var(--acc-lt); } .c2-rtot > div:last-child b { color: var(--dia-lt); }
.c2-rtot small { font-size: 12px; color: var(--mute); }
.c2-rounds { display: flex; flex-direction: column; gap: 5px; }
.c2-rrow { display: grid; grid-template-columns: 1fr 52px 1fr; align-items: center; gap: 6px; }
.c2-rbar { height: 14px; display: flex; }
.c2-rbar.l { justify-content: flex-end; }
.c2-rbar i { display: flex; height: 100%; border-radius: 7px; overflow: hidden; }
.c2-rbar.l i { background: color-mix(in srgb, var(--acc) 30%, transparent); justify-content: flex-end; }
.c2-rbar.r i { background: color-mix(in srgb, var(--cb) 28%, transparent); }
.c2-rbar u { display: block; height: 100%; text-decoration: none; border-radius: 7px; }
.c2-rbar.l u { background: linear-gradient(270deg, var(--acc-lt), var(--acc2)); }
.c2-rbar.r u { background: linear-gradient(90deg, var(--cb), var(--cb)); }
.c2-rno { display: flex; flex-direction: column; align-items: center; line-height: 1.05; }
.c2-rno b { font-family: var(--f-num); font-size: 15px; font-weight: 800; }
.c2-rno small { font-family: var(--f-num); font-size: 12px; color: var(--dim); }
.c2-rno em { font-style: normal; font-size: 10.5px; font-weight: 900; color: var(--acc-lt); }
.c2-rws { display: flex; flex-wrap: wrap; gap: 8px; }
.c2-rw { display: inline-flex; align-items: center; gap: 5px; height: 36px; padding: 0 12px 0 8px; border-radius: 18px; background: var(--track); box-shadow: inset 0 0 0 2px var(--edge); }
.c2-rw .ic { width: 20px; height: 20px; }
.c2-rw b { font-family: var(--f-num); font-size: 19px; font-weight: 800; }
.c2-rw small { font-size: 12px; color: var(--mute); }
.rw-gold .ic { color: var(--gold); } .rw-gems .ic { color: var(--cyan); } .rw-tickets .ic { color: var(--gold-lt); } .rw-drinks .ic, .rw-energy .ic { color: var(--green); } .rw-belt .ic { color: var(--gold); }
.c2-gain { display: flex; flex-direction: column; }
.c2-double { margin-top: 12px; }
.c2-double .sub { margin-left: 4px; }
.c2-rp { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; padding-top: 10px; border-top: 2px solid var(--panel); }
.c2-rp small { color: var(--mute); font-weight: 700; }
.c2-rp b { font-family: var(--f-num); font-size: 26px; font-weight: 800; }
.c2-rp b.up { color: var(--green); } .c2-rp b.down { color: var(--acc-lt); }
.c2-promo { position: fixed; inset: 0; z-index: 30; pointer-events: auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 24px; text-align: center; overflow: hidden;
  background: radial-gradient(70% 50% at 50% 42%, color-mix(in srgb, var(--acc2) 90%, transparent), color-mix(in srgb, var(--lip) 97%, transparent) 75%); animation: c2fade .35s ease both; }
@keyframes c2fade { from { opacity: 0; } }
.c2-promo-rays { position: absolute; left: 50%; top: 42%; width: 140vmax; height: 140vmax; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--gold) 35%, transparent) 0%, color-mix(in srgb, var(--gold) 8%, transparent) 25%, transparent 50%); animation: c2breath 2.4s ease-in-out infinite alternate; pointer-events: none; }
@keyframes c2breath { from { transform: translate(-50%, -50%) scale(.9); } to { transform: translate(-50%, -50%) scale(1.08); } }
.c2-promo > :not(.c2-promo-rays) { position: relative; }
.c2-promo .ic { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.c2-promo p { word-break: keep-all; text-wrap: balance; }
.c2-promo-k { font-size: 15px; font-weight: 900; letter-spacing: 3px; color: var(--gold-lt); animation: c2pop .5s .1s cubic-bezier(.2, 1.4, .4, 1) both; }
.c2-promo-steps { display: flex; align-items: center; gap: 10px; font-weight: 900; }
.c2-promo-steps .from { font-size: 18px; color: var(--mute); text-decoration: line-through; text-decoration-thickness: 2px; }
.c2-promo-steps .ic { width: 26px; height: 26px; color: var(--gold); stroke-width: 3; }
.c2-promo-steps .to { font-size: 40px; letter-spacing: -1px; background: linear-gradient(180deg, var(--gold-lt), var(--gold) 60%, var(--gold2)); -webkit-background-clip: text; background-clip: text; color: transparent; filter: drop-shadow(0 4px 0 var(--lip)); animation: c2pop .7s .35s cubic-bezier(.2, 1.4, .4, 1) both; }
.c2-promo p { margin: 0 0 10px; color: var(--gold-lt); max-width: 300px; line-height: 1.55; animation: c2fade .4s .7s both; }
.c2-promo .btn { min-width: 200px; animation: c2fade .4s .9s both; }

/* 벨트 그림(없으면 선 아이콘) */
.c2-belt { position: relative; width: 120px; height: 72px; display: grid; place-items: center; }
.c2-belt img { position: absolute; inset: -20px; width: calc(100% + 40px); height: calc(100% + 40px); object-fit: contain; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .6)); }
.c2-belt img + .beltic { display: none; }
.c2-belt .beltic { width: 96px; height: 96px; color: var(--gold); stroke-width: 1.4; filter: drop-shadow(0 0 14px color-mix(in srgb, var(--gold) 45%, transparent)); }
.c2-promo .c2-belt { width: 220px; height: 130px; animation: c2pop .7s .1s cubic-bezier(.2, 1.4, .4, 1) both; }
.c2-promo .c2-belt .beltic { width: 170px; height: 170px; }

/* ---------- 리그 ---------- */
.c2-next { display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: 24px; background: radial-gradient(90% 120% at 0% 0%, color-mix(in srgb, var(--cb) 25%, transparent), transparent 60%), var(--c2-card);
  box-shadow: inset 0 0 0 2px var(--c2-edge), inset 0 3px 0 var(--hi), 0 4px 0 var(--lip); }
.c2-next-l { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-width: 0; }
.c2-next-l small { font-size: 12px; color: var(--mute); font-weight: 700; }
.c2-next-l strong { font-size: 17px; }
.c2-next-r { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; text-align: right; max-width: 48%; }
.c2-next-r small { font-size: 11px; color: var(--dim); }
.c2-next-r.ok { color: var(--green); font-size: 13.5px; }
.c2-next-r.ok > .ic { width: 26px; height: 26px; stroke-width: 3; }
.c2-table { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.c2-tr { display: grid; grid-template-columns: 30px 1fr 26px 26px 26px 38px; align-items: center; gap: 4px; min-height: 50px; padding: 4px 8px; border-radius: 14px; font-family: var(--f-num); font-size: 17px; font-weight: 800; text-align: center; }
.c2-tr:not(.th):nth-child(odd) { background: rgba(255, 255, 255, .025); }
.c2-tr.th { min-height: 26px; font-family: inherit; font-size: 11.5px; color: var(--dim); font-weight: 700; }
.c2-tr .who { display: flex; align-items: center; gap: 8px; text-align: left; min-width: 0; font-family: 'Noto Sans KR', sans-serif; }
.c2-tr .who > span:last-child { display: flex; flex-direction: column; min-width: 0; line-height: 1.2; }
.c2-tr .who b { font-size: 13.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c2-tr .who small { font-size: 11.5px; color: var(--mute); font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c2-tr .pos { font-size: 19px; }
.c2-tr.up .pos { color: var(--green); } .c2-tr.down .pos { color: var(--acc-lt); }
.c2-tr .pts { color: var(--gold-lt); font-size: 19px; }
.c2-tr.mine { background: linear-gradient(90deg, color-mix(in srgb, var(--acc) 30%, transparent), color-mix(in srgb, var(--acc) 8%, transparent)) !important; box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--acc) 70%, transparent); }
.c2-pairs { display: flex; flex-direction: column; gap: 6px; }
.c2-pair { display: grid; grid-template-columns: 1fr 30px 1fr; align-items: center; padding: 9px 12px; border-radius: 14px; background: var(--track); box-shadow: inset 0 0 0 2px var(--panel); font-size: 13.5px; font-weight: 700; }
.c2-pair > span:last-child { text-align: right; }
.c2-pair i { font-style: normal; text-align: center; font-family: var(--f-num); color: var(--dim); }
.c2-pair.mine { box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--acc) 70%, transparent); background: color-mix(in srgb, var(--acc) 12%, transparent); }
.c2-hist { display: flex; flex-direction: column; gap: 12px; }
.c2-hist-r { display: flex; flex-direction: column; gap: 6px; }
.c2-hist-at { font-size: 12px; color: var(--mute); font-weight: 700; margin-left: 4px; }
.c2-game { display: grid; grid-template-columns: 1fr 48px 1fr 22px; align-items: center; gap: 4px; min-height: 44px; padding: 9px 10px 9px 12px; border-radius: 14px; background: var(--track); box-shadow: inset 0 0 0 2px var(--panel), 0 3px 0 var(--lip); font-size: 13px; text-align: left; }
.c2-game:active { transform: translateY(2px); }
.c2-game > span { color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c2-game > span:nth-child(3) { text-align: right; }
.c2-game > span.w { color: var(--ink); font-weight: 800; }
.c2-game em { font-style: normal; text-align: center; font-size: 11.5px; font-weight: 800; color: var(--gold-lt); }
.c2-game .ic { width: 16px; height: 16px; color: var(--gold); fill: currentColor; }
.c2-game.mine { box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--acc) 70%, transparent), 0 3px 0 var(--lip); }

/* ---------- 토너먼트 ---------- */
.c2-tour-hero { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 24px;
  background: radial-gradient(80% 140% at 0% 50%, color-mix(in srgb, var(--gold) 30%, transparent), transparent 60%), linear-gradient(180deg, var(--panel), var(--panel2));
  box-shadow: inset 0 0 0 2.5px var(--gold2), inset 0 3px 0 color-mix(in srgb, var(--gold) 12%, transparent), 0 4px 0 var(--lip); }
.c2-tour-hero > div:last-child { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.c2-tour-hero small { font-size: 12.5px; color: var(--gold-lt); font-weight: 700; }
.c2-tour-hero strong { font-size: 19px; }
.c2-prizes { display: flex; flex-direction: column; gap: 8px; }
.c2-prize { display: grid; grid-template-columns: 52px 1fr; align-items: center; gap: 10px; }
.c2-prize > b { font-size: 14px; }
.c2-prize.p0 > b { color: var(--gold-lt); }
.c2-bracket { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 6px; overflow-x: auto; margin: 0 -4px; padding: 0 4px 2px; }
.c2-bcol { display: flex; flex-direction: column; min-width: 0; }
.c2-bcol-t { text-align: center; font-size: 11.5px; font-weight: 800; color: var(--mute); margin-bottom: 6px; }
.c2-bcol-in { flex: 1; display: flex; flex-direction: column; justify-content: space-around; gap: 8px; }
.c2-bm { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 4px; border-radius: 14px; background: var(--track); box-shadow: inset 0 0 0 2px var(--panel); text-align: left; width: 100%; }
button.c2-bm { box-shadow: inset 0 0 0 2px var(--edge), 0 3px 0 var(--lip); }
button.c2-bm:active { transform: translateY(2px); }
.c2-bm.tbd { opacity: .55; }
.c2-bslot { display: flex; align-items: center; gap: 5px; padding: 4px 5px; border-radius: 10px; min-width: 0; }
.c2-bslot > span:last-child { display: flex; flex-direction: column; min-width: 0; line-height: 1.15; }
.c2-bslot b { font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c2-bslot small { font-size: 10px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c2-bslot .gbadge { --sz: 22px !important; }
.c2-bslot.w { background: color-mix(in srgb, var(--gold) 16%, transparent); }
.c2-bslot.w b { color: var(--gold-lt); }
.c2-bslot.l { opacity: .45; }
.c2-bslot.mine { background: color-mix(in srgb, var(--acc) 25%, transparent); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--acc) 70%, transparent); }
.c2-bslot.open { justify-content: center; min-height: 32px; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .08); border: 2px dashed color-mix(in srgb, var(--gold) 35%, transparent); }
.c2-bslot.open b { color: var(--gold-lt); }
.c2-bmeth { align-self: center; font-style: normal; font-size: 10px; font-weight: 900; color: var(--dim); line-height: 1; padding: 1px 0 2px; }
.c2-bchamp { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 4px; border-radius: 14px; text-align: center;
  background: linear-gradient(180deg, color-mix(in srgb, var(--gold) 32%, transparent), color-mix(in srgb, var(--gold) 8%, transparent)); box-shadow: inset 0 0 0 2px var(--gold); }
.c2-bchamp .ic { color: var(--gold); width: 24px; height: 24px; }
.c2-bchamp b { font-size: 12px; }
.c2-bchamp small { font-size: 10.5px; color: var(--gold-lt); }

/* ---------- 세계 랭킹 ---------- */
.c2-champ { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 18px 16px 16px; border-radius: 28px; text-align: center; isolation: isolate;
  background: radial-gradient(70% 70% at 50% 20%, color-mix(in srgb, var(--gold) 35%, transparent), transparent 70%), linear-gradient(180deg, var(--panel), var(--panel2));
  box-shadow: inset 0 0 0 3px var(--gold2), inset 0 3px 0 color-mix(in srgb, var(--gold) 16%, transparent), 0 5px 0 var(--lip), 0 14px 30px rgba(0, 0, 0, .45); }
.c2-champ-bg { position: absolute; inset: 0; z-index: -1; background: url(../img/bg-arena.jpg) center 30% / cover; opacity: .22; }
.c2-champ small { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 800; color: var(--gold-lt); }
.c2-champ small .ic { width: 16px; height: 16px; }
.c2-champ strong { font-size: 24px; font-weight: 900; letter-spacing: -.5px; }
.c2-champ > span { font-size: 12.5px; color: var(--mute); }
.c2-champ-body { display: flex; gap: 10px; align-items: center; margin-top: 6px; font-size: 12.5px; color: var(--mute); }
.c2-champ-body b { font-family: var(--f-num); font-size: 18px; color: var(--ink); padding: 2px 9px; border-radius: 9px; background: rgba(0, 0, 0, .45); }
.c2-champ.mine { box-shadow: inset 0 0 0 3px var(--red), 0 5px 0 var(--lip); }
.c2-mepos { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 20px; background: linear-gradient(90deg, color-mix(in srgb, var(--acc) 30%, transparent), color-mix(in srgb, var(--acc) 8%, transparent)); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--acc) 70%, transparent), 0 4px 0 var(--lip); }
.c2-mepos > div { flex: 1; display: flex; flex-direction: column; line-height: 1.35; min-width: 0; }
.c2-mepos small { font-size: 11.5px; color: var(--acc-lt); font-weight: 700; }
.c2-mepos strong { font-size: 16px; }
.c2-mepos span { font-size: 12.5px; color: var(--mute); }
.c2-mepos-n { font-family: var(--f-num); font-size: 34px; font-weight: 800; }
.c2-mepos.wait { background: var(--panel2); box-shadow: inset 0 0 0 2px var(--edge); }
.c2-mepos.wait .ic.big { width: 30px; height: 30px; color: var(--dim); }
.c2-rlist { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.c2-rk { display: grid; grid-template-columns: 30px auto 1fr auto; align-items: center; gap: 9px; min-height: 52px; padding: 5px 10px 5px 6px; border-radius: 14px; }
.c2-rk:nth-child(odd) { background: rgba(255, 255, 255, .025); }
.c2-rk-n { font-family: var(--f-num); font-size: 20px; font-weight: 800; text-align: center; color: var(--mute); }
.c2-rk.top .c2-rk-n { color: var(--gold-lt); }
.c2-rk-who { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.c2-rk-who b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* 순위·전당 줄의 체육관과 전적은 두 줄까지(한 줄 말줄임이면 전적이 잘렸다) */
.c2-rk-who small { font-size: 11.5px; color: var(--mute); overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.c2-rk-pt { display: flex; align-items: baseline; gap: 2px; }
.c2-rk-pt b { font-family: var(--f-num); font-size: 19px; font-weight: 800; }
.c2-rk-pt small { font-size: 11px; color: var(--dim); }
.c2-rk.mine { background: linear-gradient(90deg, color-mix(in srgb, var(--acc) 30%, transparent), color-mix(in srgb, var(--acc) 8%, transparent)); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--acc) 70%, transparent); }

/* ---------- 상점 ---------- */
.c2-starter { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 8px; padding: 18px 16px 16px; border-radius: 28px; isolation: isolate;
  background: radial-gradient(90% 80% at 100% 0%, color-mix(in srgb, var(--gold) 50%, transparent), transparent 60%), linear-gradient(160deg, var(--edge), var(--panel2) 75%);
  box-shadow: inset 0 0 0 3px var(--gold2), inset 0 3px 0 color-mix(in srgb, var(--gold) 20%, transparent), 0 5px 0 var(--panel2), 0 14px 30px rgba(0, 0, 0, .45); }
.c2-starter-bg { position: absolute; inset: 0; z-index: -1; background: url(../img/bg-gym.jpg) center / cover; opacity: .18; }
.c2-starter strong { font-size: 26px; font-weight: 900; letter-spacing: -.6px; }
.c2-starter-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 4px 0 6px; }
.c2-starter-items span { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 10px 4px; border-radius: 16px; background: rgba(0, 0, 0, .4); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--gold) 20%, transparent); }
.c2-starter-items .ic { width: 28px; height: 28px; color: var(--gold-lt); }
.c2-starter-items b { font-family: var(--f-num); font-size: 24px; font-weight: 800; line-height: 1; }
.c2-starter-items small { font-size: 11.5px; color: var(--gold-lt); }
.c2-shop-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.c2-shop-two > :only-child { grid-column: span 2; }
.c2-sp { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.c2-sp strong { font-size: 16px; margin-top: 4px; }
.c2-sp p { margin: 0 0 6px; font-size: 12px; color: var(--mute); line-height: 1.45; flex: 1; }
.c2-sp .chip { margin-bottom: 6px; }
.c2-sp-ic { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; box-shadow: inset 0 2px 0 rgba(255, 255, 255, .25), 0 3px 0 rgba(0, 0, 0, .6); }
.c2-sp-mo .c2-sp-ic { background: linear-gradient(180deg, var(--dia), var(--dia2)); color: var(--dia2); }
.c2-sp-na .c2-sp-ic { background: linear-gradient(180deg, var(--dim), var(--sec)); }
.c2-ads { display: flex; flex-direction: column; gap: 8px; }
.c2-ad { display: flex; align-items: center; gap: 12px; padding: 10px 10px 10px 12px; border-radius: 20px; text-align: left; background: var(--c2-card); box-shadow: inset 0 0 0 2px var(--c2-edge), inset 0 3px 0 var(--hi), 0 4px 0 var(--lip); }
.c2-ad:active { transform: translateY(3px); box-shadow: inset 0 0 0 2px var(--c2-edge), 0 1px 0 var(--lip); }
.c2-ad-ic { width: 44px; height: 44px; flex: none; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(180deg, var(--ok), var(--ok2)); color: var(--okink); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .4), 0 3px 0 var(--ok2); }
.c2-ad-ic .ic { width: 24px; height: 24px; }
.c2-ad-t { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.c2-ad-t b { font-size: 15px; }
.c2-ad-t small { font-size: 12px; color: var(--mute); }
.c2-ad-go { display: inline-flex; align-items: center; gap: 5px; height: 40px; padding: 0 12px; border-radius: 13px; font-weight: 900; font-size: 13.5px; background: linear-gradient(180deg, var(--ok), var(--ok2)); color: var(--okink); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .45), 0 3px 0 var(--ok2); }
.c2-ad-go .ic { width: 17px; height: 17px; }
.c2-ad.done { opacity: .55; }
.c2-ad.done .c2-ad-go { background: var(--panel); color: var(--green); box-shadow: none; }
.c2-gems { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.c2-gem { position: relative; display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 26px 6px 10px; border-radius: 20px; text-align: center; overflow: hidden;
  background: radial-gradient(80% 60% at 50% 30%, color-mix(in srgb, var(--dia) 20%, transparent), transparent 70%), var(--c2-card); box-shadow: inset 0 0 0 2px var(--c2-edge), inset 0 3px 0 var(--hi), 0 4px 0 var(--lip); }
.c2-gem:active { transform: translateY(3px); box-shadow: inset 0 0 0 2px var(--c2-edge), 0 1px 0 var(--lip); }
.c2-gem-badge { position: absolute; left: 0; right: 0; top: 0; height: 20px; display: grid; place-items: center; font-size: 10.5px; font-weight: 900; background: linear-gradient(180deg, var(--acc), var(--acc2)); color: var(--accink); }
.c2-gem-badge.alt { background: linear-gradient(180deg, var(--gold-lt), var(--gold)); color: var(--goldink); }
.c2-gem-pile { position: relative; height: 46px; width: 64px; }
.c2-gem-pile i { position: absolute; left: 50%; bottom: 0; line-height: 0; transform: translateX(calc(-50% + var(--c) * 11px)) translateY(var(--y)); color: var(--cyan); filter: drop-shadow(0 2px 0 rgba(0, 0, 0, .6)); }
.c2-gem-pile .ic { width: 34px; height: 34px; stroke-width: 1.8; fill: color-mix(in srgb, var(--dia) 22%, transparent); }
.c2-gem-n { font-size: 24px; font-weight: 800; line-height: 1; }
.c2-gem-bonus { font-size: 10.5px; color: var(--green); font-weight: 700; min-height: 14px; }
.c2-price { margin-top: 6px; width: 100%; height: 34px; border-radius: 12px; display: grid; place-items: center; font-family: var(--f-num); font-size: 17px; font-weight: 800; background: linear-gradient(180deg, var(--gold-lt), var(--gold)); color: var(--goldink); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .55), 0 3px 0 var(--gold2); }
.c2-fakead .ic.big { width: 52px; height: 52px; color: var(--gold); }
.c2-fakead { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 26px 10px 18px; text-align: center; }
.c2-fakead p { margin: 0; color: var(--mute); font-size: 13px; }
.c2-fakead-n { font-family: var(--f-num); font-size: 40px; font-weight: 800; color: var(--gold); }

/* ---------- 더보기 ---------- */
.c2-profile { display: flex; align-items: center; gap: 14px; padding: 16px; border-radius: 24px; background: var(--c2-card); box-shadow: inset 0 0 0 2px var(--c2-edge), inset 0 3px 0 var(--hi), 0 4px 0 var(--lip); }
.c2-profile > div { display: flex; flex-direction: column; line-height: 1.3; }
.c2-profile small { font-size: 12px; color: var(--mute); font-weight: 700; }
.c2-profile strong { font-size: 20px; }
.c2-profile span { font-size: 13px; color: var(--gold-lt); }
.c2-rows { display: flex; flex-direction: column; border-radius: 22px; overflow: hidden; background: var(--c2-card); box-shadow: inset 0 0 0 2px var(--c2-edge), inset 0 3px 0 var(--hi), 0 4px 0 var(--lip); }
.c2-row { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 8px 14px; text-align: left; width: 100%; }
.c2-row + .c2-row { box-shadow: 0 -2px 0 rgba(0, 0, 0, .35); }
button.c2-row:active { background: rgba(255, 255, 255, .04); }
.c2-row-ic { width: 36px; height: 36px; flex: none; border-radius: 12px; display: grid; place-items: center; background: var(--track); box-shadow: inset 0 0 0 2px var(--edge); color: var(--gold); }
.c2-row-ic .ic { width: 19px; height: 19px; }
.c2-row-t { flex: 1; display: flex; flex-direction: column; min-width: 0; line-height: 1.3; }
.c2-row-t b { font-size: 15px; }
.c2-row-t small { font-size: 12px; color: var(--mute); }
.c2-badge { min-width: 24px; height: 24px; padding: 0 7px; border-radius: 12px; background: var(--red); color: var(--accink); font-family: var(--f-num); font-weight: 800; font-size: 15px; display: grid; place-items: center; }
.c2-tg { position: relative; width: 56px; height: 44px; flex: none; padding: 0; border: 0; background: none; }
.c2-tg::before { content: ''; position: absolute; left: 2px; top: 7px; width: 52px; height: 30px; border-radius: 15px; background: var(--track); box-shadow: inset 0 0 0 2px var(--edge); transition: background .2s; }
.c2-tg i { position: absolute; left: 6px; top: 11px; width: 22px; height: 22px; border-radius: 50%; background: var(--dim); box-shadow: 0 2px 0 rgba(0, 0, 0, .5); transition: transform .2s cubic-bezier(.3, 1.4, .5, 1), background .2s; }
.c2-tg.on::before { background: linear-gradient(180deg, var(--ok), var(--ok2)); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .3); }
.c2-tg.on i { transform: translateX(22px); background: var(--ink); }
.c2-acc { display: flex; flex-direction: column; gap: 10px; }
.c2-guest { display: flex; gap: 10px; align-items: flex-start; margin: 0 0 4px; font-size: 13px; line-height: 1.55; color: var(--acc-lt); }
.c2-guest .ic { flex: none; color: var(--acc-lt); margin-top: 1px; }
.c2-guest.ok { color: var(--ok-lt); }
.c2-guest.ok .ic { color: var(--green); }
.c2-sso { display: flex; align-items: center; gap: 12px; height: 54px; padding: 0 16px; border-radius: 16px; font-weight: 800; font-size: 15px; box-shadow: 0 4px 0 var(--lip); }
.c2-sso .ic { width: 22px; height: 22px; stroke: none; }
.c2-sso.google { background: var(--ink); color: var(--panel); }
.c2-sso.apple { background: var(--lip); color: var(--ink); box-shadow: inset 0 0 0 2px var(--edge), 0 4px 0 var(--lip); }
.c2-sso:active { transform: translateY(3px); box-shadow: 0 1px 0 var(--lip); }
.c2-sso.on { opacity: .75; }
.c2-sso .ic.end { stroke: currentColor; stroke-width: 3; color: var(--green); }
.c2-mails { display: flex; flex-direction: column; gap: 10px; }
.c2-mailc { position: relative; display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 22px; background: var(--c2-card); box-shadow: inset 0 0 0 2px var(--c2-edge), inset 0 3px 0 var(--hi), 0 4px 0 var(--lip); transition: transform .3s, opacity .3s; }
.c2-mailc.done { opacity: .55; }
.c2-mailc.taking { transform: translateX(30px); opacity: 0; }
.c2-mail-ic { width: 42px; height: 42px; flex: none; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(180deg, var(--gold-lt), var(--gold)); color: var(--goldink); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .5), 0 3px 0 var(--gold2); }
.c2-mailc.done .c2-mail-ic { background: var(--panel); color: var(--green); box-shadow: none; }
.c2-mail-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.c2-mail-t > b { font-size: 15px; }
.c2-mailc:not(.done) .c2-mail-t { padding-right: 62px; }
.c2-mail-t p { margin: 0; font-size: 13px; color: var(--mute); line-height: 1.5; }
.c2-mail-rw { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.c2-mail-rw .c2-rw { height: 30px; }
.c2-mail-rw .c2-rw b { font-size: 16px; }
.c2-mail-at { font-size: 11.5px; color: var(--dim); }
.c2-mail-go { position: absolute; right: 12px; top: 10px; min-height: 44px; min-width: 60px; height: 44px; }

@media (prefers-reduced-motion: reduce) {
  .c2 *, .c2-promo, .c2-promo * { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition: none !important; }
}
/* ---------- 경기 준비: 라운드 작전, 경고 ---------- */
.c2-warn { display: flex; gap: 8px; align-items: center; margin: 0; padding: 10px 12px; border-radius: 14px; background: color-mix(in srgb, var(--acc) 15%, transparent); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--acc) 50%, transparent); color: var(--acc-lt); font-size: 13.5px; }
.c2-plan { display: flex; flex-direction: column; gap: 10px; }
.c2-plan-r { display: flex; flex-direction: column; gap: 6px; }
.c2-plan-r > b { font-size: 13px; color: var(--mute); }
.c2-plan-c { display: flex; gap: 6px; overflow-x: auto; margin: 0 -14px; padding: 0 14px 4px; scrollbar-width: none; }
.c2-plan-c::-webkit-scrollbar { display: none; }
.c2-pchip { flex: none; height: 38px; padding: 0 13px; border-radius: 13px; font-weight: 800; font-size: 13.5px; color: var(--mute); background: var(--track); box-shadow: inset 0 0 0 2px var(--edge), 0 3px 0 var(--lip); }
.c2-pchip.on { color: var(--accink); background: linear-gradient(180deg, color-mix(in srgb, var(--acc) 55%, transparent), color-mix(in srgb, var(--acc2) 55%, transparent)); box-shadow: inset 0 0 0 2px var(--red), 0 3px 0 var(--acc2); }
.c2-dock.two .btn.big { min-height: 56px; }

/* 글 중계 아래 단추 */
.c2-castbar { position: fixed; z-index: 8; left: 50%; transform: translateX(-50%); bottom: calc(12px + var(--safe-b)); width: min(100% - 28px, 452px); display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.c2-castbtn { height: 50px; border-radius: 16px; font-weight: 900; font-size: 15px; background: color-mix(in srgb, var(--track) 92%, transparent); box-shadow: inset 0 0 0 2px var(--sec), 0 4px 0 var(--lip); }
.c2-castbtn:active { transform: translateY(3px); box-shadow: inset 0 0 0 2px var(--sec), 0 1px 0 var(--lip); }
.c2-match .c2-feedwrap { margin-bottom: 64px; }

/* 결과: 통한 것, 다음에 키울 것 */
.c2-lines { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 7px; }
.c2-lines li { position: relative; padding-left: 14px; font-size: 13.5px; line-height: 1.55; color: var(--gold-lt); }
.c2-lines li::before { content: ''; position: absolute; left: 0; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); }
.c2-hl { background: radial-gradient(90% 120% at 0% 0%, color-mix(in srgb, var(--gold) 16%, transparent), transparent 60%), var(--panel); }
.c2-hl .c2-sec-t .ic, .c2-next2 .c2-sec-t .ic { width: 18px; height: 18px; color: var(--gold); }
.c2-next2 { background: radial-gradient(90% 120% at 0% 0%, color-mix(in srgb, var(--ok) 14%, transparent), transparent 60%), var(--panel); }
.c2-next2 .c2-lines li::before { background: var(--green); }
.c2-next2 .btn { margin-top: 12px; }

/* 토너먼트 일정 */
.c2-sched { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.c2-sched > div { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 9px 4px; border-radius: 14px; background: var(--track); box-shadow: inset 0 0 0 2px var(--panel); text-align: center; }
.c2-sched b { font-size: 14px; color: var(--gold-lt); }
.c2-sched small { font-size: 11.5px; color: var(--mute); }
.m-daily .c2-mode-ic { background: linear-gradient(180deg, var(--ok), var(--ok2)); color: var(--okink); }

/* ---------- 출석과 과제 ---------- */
.c2-att { display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 26px; background: radial-gradient(90% 80% at 100% 0%, color-mix(in srgb, var(--gold) 30%, transparent), transparent 60%), linear-gradient(170deg, var(--panel), var(--panel2) 75%);
  box-shadow: inset 0 0 0 2.5px var(--gold2), inset 0 3px 0 color-mix(in srgb, var(--gold) 14%, transparent), 0 5px 0 var(--lip); }
.c2-att-h { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.c2-att-h > div { display: flex; flex-direction: column; }
.c2-att-h small { font-size: 12px; color: var(--gold-lt); font-weight: 800; }
.c2-att-h strong { font-size: 19px; }
.c2-att-h .c2-timer { margin: 0; }
.c2-att-days { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; }
.c2-att-d { display: flex; flex-direction: column; align-items: center; gap: 1px; padding: 8px 2px 7px; border-radius: 14px; background: rgba(0, 0, 0, .4); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--gold) 16%, transparent); }
.c2-att-d small { font-size: 11px; color: var(--mute); font-weight: 700; }
.c2-att-d .ic { width: 22px; height: 22px; color: var(--gold-lt); margin: 2px 0; }
.c2-att-d b { font-family: var(--f-num); font-size: 18px; font-weight: 800; line-height: 1; }
.c2-att-d em { font-style: normal; font-size: 10px; color: var(--mute); white-space: nowrap; }
.c2-att-d.got { opacity: .55; }
.c2-att-d.got .ic { color: var(--green); }
.c2-att-d.now { background: linear-gradient(180deg, color-mix(in srgb, var(--gold) 40%, transparent), color-mix(in srgb, var(--gold) 12%, transparent)); box-shadow: inset 0 0 0 2.5px var(--gold), 0 3px 0 var(--gold2); animation: c2nowp 1.6s ease-in-out infinite; }
@keyframes c2nowp { 50% { transform: translateY(-2px); } }
.c2-att-d.big { grid-column: span 2; background: linear-gradient(180deg, color-mix(in srgb, var(--dia) 20%, transparent), rgba(0, 0, 0, .4)); }
.c2-att-ms > div { display: grid; grid-template-columns: auto 1fr auto; gap: 8px; align-items: center; font-size: 12px; }
.c2-att-ms small { color: var(--mute); font-weight: 700; }
.c2-att-ms b { font-size: 12px; color: var(--gold-lt); }
.c2-bar { height: 10px; border-radius: 5px; background: var(--track); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .06); overflow: hidden; }
.c2-bar i { display: block; height: 100%; border-radius: 5px; background: linear-gradient(90deg, var(--gold), var(--gold-lt)); transition: width .5s ease; }
.c2-bar.big { height: 14px; border-radius: 7px; }
.c2-seg { display: flex; gap: 4px; padding: 4px; border-radius: 18px; background: var(--track); box-shadow: inset 0 0 0 2px var(--panel); }
.c2-seg button { position: relative; flex: 1; height: 44px; border-radius: 14px; font-weight: 800; font-size: 13.5px; color: var(--mute); }
.c2-seg button.on { color: var(--accink); background: linear-gradient(180deg, var(--red), var(--red2)); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .25), 0 3px 0 var(--acclip); }
.c2-dot-n { position: absolute; top: 3px; right: 6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--gold); color: var(--goldink); font-style: normal; font-family: var(--f-num); font-size: 13px; line-height: 18px; }
.c2-mises { display: flex; flex-direction: column; gap: 8px; }
.c2-mis { display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 14px; border-radius: 20px; background: var(--c2-card); box-shadow: inset 0 0 0 2px var(--c2-edge), inset 0 3px 0 var(--hi), 0 4px 0 var(--lip); transition: transform .3s, opacity .3s; }
.c2-mis.ready { box-shadow: inset 0 0 0 2.5px var(--gold), inset 0 3px 0 var(--hi), 0 4px 0 var(--gold2); }
.c2-mis.done { opacity: .55; }
.c2-mis.lock { opacity: .45; }
.c2-mis.taking { transform: scale(.97); opacity: .4; }
.c2-mis-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.c2-mis-t > b { font-size: 15px; }
.c2-mis-t > small { font-size: 11.5px; color: var(--mute); }
.c2-mis-p { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px; }
.c2-mis-p span { font-family: var(--f-num); font-weight: 800; font-size: 14px; color: var(--mute); }
.c2-mis-st { display: inline-flex; align-items: center; gap: 4px; color: var(--green); font-weight: 800; font-size: 13px; }
.c2-mis-st .ic { width: 16px; height: 16px; stroke-width: 3; }
.c2-mail-rw.sm .c2-rw { height: 26px; padding: 0 9px 0 6px; }
.c2-mail-rw.sm .c2-rw b { font-size: 14px; }
.c2-mail-rw.sm .c2-rw .ic { width: 16px; height: 16px; }
.c2-pts .btn { margin-top: 10px; }
.c2-season-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.c2-season-h small { color: var(--mute); font-weight: 700; }
.c2-season-h .c2-timer { margin: 0; }

/* 예약 경기 앞뒤: 작전 마감, 방금 끝난 경기, 놓친 경기 */
.c2-lock { display: flex; align-items: center; gap: 8px; margin: -4px 4px 0; font-size: 13px; color: var(--mute); }
.c2-lock .ic { width: 16px; height: 16px; color: var(--gold-lt); flex: none; }
.c2-lock b { color: var(--gold-lt); font-family: var(--f-num); font-size: 15px; }
.c2-lock.now { color: var(--acc-lt); }
.c2-justnow { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px; border-radius: 22px; text-align: left; background: linear-gradient(90deg, color-mix(in srgb, var(--acc) 32%, transparent), color-mix(in srgb, var(--acc) 8%, transparent)); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--acc) 70%, transparent), 0 4px 0 var(--lip); }
.c2-justnow > div { flex: 1; display: flex; flex-direction: column; }
.c2-justnow small { font-size: 12px; color: var(--acc-lt); font-weight: 700; }
.c2-justnow b { font-size: 20px; }
.c2-justnow .c2-cta { margin: 0; }
.c2-live-dot { width: 12px; height: 12px; flex: none; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px color-mix(in srgb, var(--acc) 30%, transparent); animation: c2live 1.2s ease-in-out infinite; }
@keyframes c2live { 50% { box-shadow: 0 0 0 8px transparent; } }
.c2-missed { background: radial-gradient(90% 120% at 0% 0%, color-mix(in srgb, var(--cb) 18%, transparent), transparent 60%), var(--panel); }
.c2-tr.tap { cursor: pointer; }
.c2-tr.tap:active { background: rgba(255, 255, 255, .06); }
.c2-grow { background: radial-gradient(90% 120% at 0% 0%, color-mix(in srgb, var(--ok) 18%, transparent), transparent 60%), var(--panel); }
.c2-grow .c2-sec-t .ic { width: 18px; height: 18px; color: var(--green); }
.c2-grow .c2-lines li::before { background: var(--green); }
/* 명예의 전당 */
.m-hall .c2-mode-ic { background: linear-gradient(180deg, var(--gold-lt), var(--gold)); color: var(--goldink); }
.c2-hall-hero { display: flex; align-items: center; gap: 12px; padding: 16px; border-radius: 26px; background: radial-gradient(80% 140% at 0% 50%, color-mix(in srgb, var(--gold) 30%, transparent), transparent 60%), linear-gradient(180deg, var(--panel), var(--panel2));
  box-shadow: inset 0 0 0 2.5px var(--gold2), inset 0 3px 0 color-mix(in srgb, var(--gold) 12%, transparent), 0 4px 0 var(--lip); }
.c2-hall-hero strong { font-size: 22px; }
.c2-hall-hero p { margin: 4px 0 0; font-size: 12.5px; color: var(--mute); line-height: 1.5; }
.c2-hall-hero .c2-belt { flex: none; width: 96px; height: 60px; }
.c2-hall-hero .c2-belt .beltic { width: 70px; height: 70px; }
.c2-hall-champ { position: relative; overflow: hidden; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 18px 16px 16px; border-radius: 28px; text-align: center; isolation: isolate;
  background: radial-gradient(70% 60% at 50% 25%, color-mix(in srgb, var(--gold) 40%, transparent), transparent 70%), linear-gradient(180deg, var(--panel), var(--panel2));
  box-shadow: inset 0 0 0 3px var(--gold2), inset 0 3px 0 color-mix(in srgb, var(--gold) 16%, transparent), 0 5px 0 var(--lip), 0 14px 30px rgba(0, 0, 0, .45); }
.c2-hall-champ-bg { position: absolute; inset: 0; z-index: -1; background: url(../img/bg-arena.jpg) center 30% / cover; opacity: .18; }
.c2-hall-rank { position: absolute; left: 14px; top: 14px; padding: 4px 10px; border-radius: 10px; background: var(--gold); color: var(--goldink); font-weight: 900; font-size: 13px; }
.c2-hall-champ .c2-hall-face { width: 150px; }
.c2-hall-face { display: block; width: 40px; flex: none; }
.c2-hall-face .face.img-on { border-radius: 16px; background-size: cover; background-position: center 18%; }
.c2-hall-list .c2-hall-face .face.img-on { border-radius: 10px; }
.c2-hall-belt { position: relative; width: 200px; height: 90px; display: grid; place-items: center; margin-top: -26px; }
.c2-hall-belt img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .6)); }
.c2-hall-belt img + .beltic { display: none; }
.c2-hall-belt .beltic { width: 90px; height: 90px; color: var(--gold); }
.c2-hall-belt b { position: absolute; bottom: -4px; padding: 2px 8px; border-radius: 8px; background: var(--track); font-size: 12px; color: var(--gold-lt); }
.c2-hall-champ strong { font-size: 24px; font-weight: 900; margin-top: 4px; }
.c2-hall-champ > small { font-size: 12.5px; color: var(--gold-lt); }
.c2-hall-champ p { margin: 4px 0 6px; font-size: 13px; color: var(--gold-lt); line-height: 1.5; }
.c2-hall-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; width: 100%; }
.c2-hall-stats span { display: flex; flex-direction: column; align-items: center; padding: 8px 2px; border-radius: 12px; background: rgba(0, 0, 0, .45); }
.c2-hall-stats small { font-size: 11px; color: var(--mute); }
.c2-hall-stats b { font-size: 13.5px; }
.c2-hall-list .c2-rk { grid-template-columns: 30px auto 1fr auto; }
.c2-hall-ret li { font-size: 13px; color: var(--mute); }
/* 라이벌전 */
.c2-rival-tag { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 8px; background: linear-gradient(180deg, var(--g-s), var(--g-s)); color: var(--ink); font-size: 12px; font-weight: 900; box-shadow: 0 2px 0 var(--g-s2); }
.c2-rival-rec { margin: -4px 0 10px; font-size: 13px; color: var(--g-s-lt); }
.c2-rivalbox { background: radial-gradient(90% 120% at 0% 0%, color-mix(in srgb, var(--g-s) 20%, transparent), transparent 60%), var(--panel); }
.c2-rivalbox .c2-lines li::before { background: var(--g-s); }
/* 리그·토너먼트 다음 상대, 시즌 보상 미리보기 */
.c2-nextop { padding: 14px; border-radius: 24px; background: linear-gradient(90deg, color-mix(in srgb, var(--acc) 22%, transparent), transparent 45%, transparent 55%, color-mix(in srgb, var(--cb) 20%, transparent)), var(--c2-card);
  box-shadow: inset 0 0 0 2px var(--c2-edge), inset 0 3px 0 var(--hi), 0 4px 0 var(--lip); }
.c2-nextop-row { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 6px; }
.c2-nextop-s { display: flex; flex-direction: column; align-items: center; gap: 3px; text-align: center; min-width: 0; }
.c2-nextop-s b { font-size: 14.5px; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c2-nextop-s small { font-size: 11.5px; color: var(--mute); line-height: 1.35; }
.c2-nextop .c2-vs-mid { font-size: 28px; }
.c2-pv { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.c2-pv b { font-size: 17px; }
.c2-pv b.up { color: var(--green); } .c2-pv b.down { color: var(--acc-lt); }
.c2-pv span { font-size: 14px; color: var(--gold-lt); font-weight: 800; }
.c2-pv-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.c2-pv-steps span { display: flex; flex-direction: column; align-items: center; padding: 8px 2px; border-radius: 12px; background: var(--track); box-shadow: inset 0 0 0 2px var(--panel); }
.c2-pv-steps span.on { box-shadow: inset 0 0 0 2px var(--gold); background: color-mix(in srgb, var(--gold) 12%, transparent); }
.c2-pv-steps b { font-size: 12.5px; }
.c2-pv-steps small { font-size: 11px; color: var(--mute); text-align: center; line-height: 1.35; word-break: keep-all; }
/* 타이틀전 입장 연출 */
.c2-title-in { position: fixed; inset: 0; z-index: 12; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px; text-align: center; pointer-events: none;
  background: radial-gradient(70% 50% at 50% 45%, color-mix(in srgb, var(--gold2) 85%, transparent), color-mix(in srgb, var(--lip) 96%, transparent) 75%); animation: c2tin 3.2s ease forwards; }
@keyframes c2tin { 0% { opacity: 0; } 12% { opacity: 1; } 82% { opacity: 1; } 100% { opacity: 0; visibility: hidden; } }
.c2-title-in .c2-belt { width: 240px; height: 140px; animation: c2pop .8s .2s cubic-bezier(.2, 1.4, .4, 1) both; }
.c2-title-in .c2-belt .beltic { width: 180px; height: 180px; }
.c2-title-in small { font-size: 14px; font-weight: 900; letter-spacing: 3px; color: var(--gold-lt); }
.c2-title-in strong { font-size: 30px; font-weight: 900; letter-spacing: -1px; }
.c2-title-in .vs { display: flex; gap: 12px; align-items: center; font-size: 17px; font-weight: 800; }
.c2-title-in .vs i { font-style: italic; font-family: var(--f-num); color: var(--gold-lt); font-size: 26px; }
.c2-need { margin: -4px 4px 0; font-size: 13px; }
.c2-need b { color: var(--gold-lt); }
.c2-starter-items { grid-template-columns: repeat(auto-fit, minmax(68px, 1fr)); }
/* 누름 대상 44px 이상(점검 지적): 겉모양은 그대로 두고 누르는 자리를 넓힌다 */
.c2-chip, .c2-pchip { height: 44px; }
.c2 .btn.sm { min-height: 44px; }
.c2-fatigue { align-items: center; }
.c2-fatigue > span { flex: 1; line-height: 1.5; }
.c2-fatigue .btn { flex: none; }

@media (max-width: 360px) {
  .c2-gems { grid-template-columns: repeat(2, 1fr); }
  .c2-tr { grid-template-columns: 26px 1fr 22px 22px 22px 32px; font-size: 15px; }
}

/* 세계 랭킹 주간 목표 */
.c2-ww-list { display: flex; flex-direction: column; gap: 8px; }
.c2-ww-row { display: grid; grid-template-columns: 30px 1fr; gap: 6px 10px; align-items: center; padding: 10px 12px; border-radius: 16px; background: var(--track); box-shadow: inset 0 0 0 2px var(--panel); }
.c2-ww-row .c2-rws { grid-column: 2; }
.c2-ww-ck { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--panel2); box-shadow: inset 0 0 0 3px var(--edge); }
.c2-ww-row.done { box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--ok) 55%, transparent); background: color-mix(in srgb, var(--ok) 8%, transparent); }
.c2-ww-row.done .c2-ww-ck { background: var(--ok); box-shadow: inset 0 -3px 0 rgba(0, 0, 0, .25); color: var(--ink); }
.c2-ww-ck .ic { width: 18px; height: 18px; }
.c2-ww-t { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; min-width: 0; }
.c2-ww-t b { font-size: 14.5px; }
.c2-ww-t small { font-size: 12px; color: var(--mute); white-space: nowrap; }
.c2-judge em { display: block; margin-top: 4px; font-style: normal; font-size: 11px; color: var(--gold-lt); line-height: 1.3; }

/* 명예의 전당 배경: 화면에 고정, 아래로 갈수록 어둡게 해 칸 글자를 읽히게 */
.c2-hallp { position: relative; isolation: isolate; }
.c2-hallp-bg { position: fixed; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(180deg, transparent 0%, color-mix(in srgb, var(--panel2) 15%, transparent) 40%, color-mix(in srgb, var(--track) 72%, transparent) 78%, color-mix(in srgb, var(--track) 90%, transparent) 100%), url(../img/bg-hall.jpg) center top / cover no-repeat, var(--cb2); }
.c2-hallp .c2-hall-hero { background: linear-gradient(180deg, color-mix(in srgb, var(--cb2) 55%, transparent), color-mix(in srgb, var(--cb2) 20%, transparent)); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--gold) 35%, transparent); margin-top: 6px; }
.c2-hallp .c2-empty { padding: 22px 20px; background: color-mix(in srgb, var(--track) 66%, transparent); border-radius: 22px; box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--gold) 18%, transparent); }

/* ---------- 두 칸 본문(가로 화면, 뼈대 문법 .ls-split) ----------
   screens-compete.js two(): 두 칸 위 한 줄(.c2-topline: 화면 설명, 체급 고르기), 왼쪽 칸(.c2-lcol > .ls-scroll: 요약),
   오른쪽 칸(.c2-rcol > .ls-scroll: 표와 목록, 그 아래 .ls-bar: 주요 단추). 화면은 fit이라 칸마다 따로 굴린다. */
.c2-topline:empty, .c2-col:empty, .c2-actbar:empty { display: none; }
.c2-col { min-width: 0; }
.c2-lcol:has(> .c2-col:empty) { display: none; }
.c2.c2-two { display: grid; grid-template-rows: auto minmax(0, 1fr); row-gap: 8px; height: 100%; }
.c2.c2-two:has(> .c2-topline:empty) { grid-template-rows: minmax(0, 1fr); }
.c2.c2-two:has(> .c2-lcol > .c2-col:empty) { grid-template-columns: minmax(0, 1fr); }
.c2-two > .c2-topline { grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; min-width: 0; min-height: 44px; }
.c2-two > .c2-empty, .c2-two > .c2-hallp-bg { grid-column: 1 / -1; }
.c2-two > .ls-col { overflow: hidden; }
.c2-col.ls-scroll { gap: 10px; }
.c2-topline .c2-head { flex: none; max-width: 40%; padding: 0 4px; align-items: center; }
.c2-topline .c2-head h1 { display: none; }
.c2-topline .c2-head p { margin: 0; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c2-topline .c2-chips, .c2-topline .c2-reps { flex: 1; min-width: 0; margin: 0; padding: 2px 2px 4px; }
/* 오른쪽 칸 아래 단추 줄: 주요 행동을 오른쪽 끝에 */
.c2-actbar { justify-content: flex-end; }
.c2-actbar > .c2-dock { position: static; flex: 1; margin: 0; padding: 0; background: none; display: flex; justify-content: flex-end; gap: 10px; }
.c2-actbar > .c2-dock > .btn { flex: 0 1 auto; width: auto; min-width: min(240px, 100%); min-height: 52px; }
.c2-actbar > .c2-dock.two { display: flex; }
.c2-actbar > .c2-dock.two > .btn { min-width: 0; flex: 1 1 0; max-width: 260px; }
@media (orientation: landscape) {

  /* 경기 첫 화면: 위 줄에 체급 대표(작은 패), 왼쪽 승격전, 오른쪽 경기 방식 */
  .c2-two .c2-rep { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; grid-template-areas: 'cr wc ov' 'cr nm ov'; column-gap: 8px; row-gap: 0; align-items: center;
    width: auto; min-width: 150px; max-width: 220px; min-height: 52px; padding: 6px 12px 6px 8px; border-radius: 16px; }
  .c2-two .c2-rep.on { transform: none; }
  .c2-two .c2-rep-top { display: contents; }
  .c2-two .c2-rep-top .c2-crest { grid-area: cr; }
  .c2-two .c2-rep-ovr { grid-area: ov; }
  .c2-two .c2-rep-ovr b { font-size: 24px; }
  .c2-two .c2-rep-wc { grid-area: wc; font-size: 11px; line-height: 1.2; }
  .c2-two .c2-rep-nm { grid-area: nm; font-size: 13.5px; line-height: 1.25; }
  .c2-two .c2-rep-tier, .c2-two .c2-rep .c2-pips { display: none; }
  .c2-two .c2-rep.empty { display: flex; flex-direction: row; min-height: 52px; gap: 8px; }
  .c2-two .c2-rep.empty .ic.big { width: 24px; height: 24px; }
  .c2-two .c2-rep.empty small { display: none; }
  .c2-compete .c2-hero { flex: 1 0 auto; min-height: 200px; display: flex; flex-direction: column; justify-content: flex-end; }
  .c2-compete .c2-hero-bg { background: linear-gradient(0deg, color-mix(in srgb, var(--track) 94%, transparent) 30%, color-mix(in srgb, var(--track) 25%, transparent)), url(../img/bg-arena.jpg) 60% 30% / cover no-repeat; }
  .c2-compete .c2-hero-in { max-width: 100%; }
  .c2-two .c2-modes { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
  .c2-two .c2-mode { grid-column: span 3; padding: 12px; }
  .c2-two .c2-mode.wide { grid-column: span 2; flex-direction: column; align-items: flex-start; gap: 3px; }
  .c2-two .c2-mode.wide strong { margin-top: 6px; }
  .c2-two .c2-mode.wide > .ic.end { display: none; }
  .c2-two .c2-mode-ic { width: 38px; height: 38px; }

  /* 승격전: 왼쪽 단계 사다리(칸 안에서 굴림), 오른쪽 상대와 시작 버튼 */
  .c2-ladder .c2-lcol > .c2-col { overflow: hidden; }
  .c2-ladder .c2-ladwrap { flex: 1; min-height: 0; max-height: none; }

  /* 경기 준비: 왼쪽 두 선수와 신체 조건, 바닥에 시작 버튼. 오른쪽 전술, 작전, 콤보, 능력 비교 */
  .c2-prep .c2-vs, .c2-visit .c2-vs { padding: 12px 10px; }
  .c2-prep .c2-vs-ovr, .c2-visit .c2-vs-ovr { font-size: 28px; }
  .c2-prep .c2-tape-r > b { font-size: 22px; }
  .c2-prep .c2-tape-r { padding: 6px 12px; }
  .c2-two .c2-tactics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .c2-two .c2-plan-r { flex-direction: row; align-items: center; gap: 10px; }
  .c2-two .c2-plan-r > b { flex: none; width: 84px; }
  .c2-two .c2-plan-c { flex: 1; min-width: 0; margin: 0; padding: 0 0 4px; }
  .c2-two .c2-slots { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .c2-two .c2-slot { min-height: 60px; }

  /* 결과: 왼쪽 승패와 보상, 바닥에 버튼. 오른쪽 통한 것, 채점표, 라운드별 주먹 */
  .c2-result .c2-res-hero { padding: 16px 14px 14px; }
  .c2-result .c2-res-big { font-size: 46px; }
  .c2-result .c2-dock.two .btn { min-height: 48px; }

  /* 리그: 오른쪽 순위표를 넓게 */
  .c2-two .c2-tr { grid-template-columns: 40px minmax(0, 1fr) 40px 40px 40px 52px; }
  .c2-two .c2-next { flex-wrap: wrap; }
  /* 토너먼트: 오른쪽 대진표를 넓게 */
  .c2-two .c2-bracket { grid-template-columns: 1.2fr 1fr 1fr; gap: 10px; }
  .c2-two .c2-bslot b { font-size: 12.5px; }
  .c2-two .c2-bslot small { font-size: 11px; }
  .c2-two .c2-bslot .gbadge { --sz: 26px !important; }
  .c2-two .c2-belt { width: 96px; height: 58px; }
  .c2-two .c2-belt .beltic { width: 72px; height: 72px; }
  /* 랭킹: 왼쪽 챔피언과 내 순위 */
  .c2-rank .c2-champ { padding: 14px 14px 12px; }
  .c2-rank .c2-champ strong { font-size: 21px; }

  /* 상점: 왼쪽 초보자 묶음, 오른쪽 월정액·광고 제거·무료 보상·다이아 */
  .c2-shop > .c2-col.l .c2-shop-two { grid-template-columns: 1fr; }
  .c2-shop > .c2-col.l .c2-shop-two > :only-child { grid-column: auto; }
  .c2-two .c2-ads { display: grid; grid-template-columns: minmax(0, 1fr); }
  .c2-two .c2-gems { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .c2-shop .c2-starter strong { font-size: 22px; }
  /* 우편함: 오른쪽 목록을 두 줄로 */
  .c2-mail .c2-mails { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; align-items: start; }
  /* 명예의 전당: 오른쪽에 벨트 딴 선수와 명단 */
  .c2-hallp .c2-hall-champ .c2-hall-face { width: 110px; }
  /* 출석과 과제: 왼쪽 출석, 오른쪽 과제 탭 */
  .c2-daily .c2-att { padding: 12px; gap: 10px; }
  .c2-daily .c2-att-d { padding: 6px 2px 5px; }
  .c2-two .c2-mises { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 8px; }

  /* 글 중계(3D가 없을 때): 위 점수판, 왼쪽 링, 오른쪽 중계 글 */
  .c2-match:not(:has(.c2-stage3d)) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); gap: 10px; min-height: 0; height: calc(100dvh - 24px); }
  .c2-match .c2-board { grid-column: 1 / -1; padding: 6px 10px; }
  .c2-match .c2-ring { height: auto; min-height: 0; }
  .c2-match .c2-feedwrap { min-height: 0; max-height: none; margin-bottom: 64px; }
  .c2-match .c2-castbar { left: auto; right: max(14px, env(safe-area-inset-right, 0px)); transform: none; width: min(46vw, 380px); }
  /* 코너 지시(글 중계): 오른쪽에서 나오는 판 */
  .c2-corner { left: auto; right: 0; top: 0; bottom: 0; transform: none; width: min(400px, 52vw); display: flex; flex-direction: column; justify-content: center; border-radius: 26px 0 0 26px;
    padding: 14px max(14px, env(safe-area-inset-right, 0px)) 14px 16px; animation: c2side .3s cubic-bezier(.2, 1, .3, 1); }
  @keyframes c2side { from { transform: translateX(100%); } }
  /* 승격 축하와 타이틀전 입장: 높이 390 안에 들어가게 벨트를 줄인다 */
  .c2-promo { gap: 8px; padding: 14px; }
  .c2-promo .c2-belt { width: 160px; height: 90px; }
  .c2-promo .c2-belt .beltic { width: 110px; height: 110px; }
  .c2-promo-steps .to { font-size: 34px; }
  .c2-title-in .c2-belt { width: 180px; height: 100px; }
  .c2-title-in .c2-belt .beltic { width: 130px; height: 130px; }
}
/* 3D 경기는 화면 전체(가로 화면에서 폭 상한 없음) */
.c2-match .c2-stage3d, .c2-match .c2-stage3d.m3d { left: 0; right: 0; width: auto; transform: none; }

/* 예약 경기 안내 한 줄 */
.c2-sched { display: flex; align-items: flex-start; gap: 8px; margin: 0; padding: 10px 14px; border-radius: 16px; background: color-mix(in srgb, var(--cb) 10%, transparent); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--cb) 35%, transparent); font-size: 13px; line-height: 1.5; color: var(--dia-lt); }
.c2-sched .ic { flex: none; width: 18px; height: 18px; margin-top: 1px; color: var(--cb); }

/* ---------- 리그(축구 리그 방식)·랭킹·능력 비교 그래프(가로 화면, 2026-11-19) ----------
   색은 app.css 변수만 쓴다(--green 승격, --red 강등·내 선수, --blue 상대, --gold 점수). 반투명은 color-mix로 */
.c2-rseg { flex: none; padding: 3px; gap: 4px; }
.c2-rseg button { flex: none; min-width: 84px; padding: 0 12px; white-space: nowrap; }
.c2-lgtabs { position: sticky; top: 0; z-index: 2; }
.c2-lgtab[hidden] { display: none; }
.c2-lgtab { container-type: inline-size; }

/* 내 선수 순위 요약: 큰 순위 숫자, 구역 색 띠 */
.c2-lgme { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: var(--r); background: var(--panel-fill);
  box-shadow: inset 4px 0 0 var(--dim), inset 0 0 0 2px color-mix(in srgb, var(--ink) 10%, transparent), 0 3px 0 var(--lip); }
.c2-lgme.z-promote { box-shadow: inset 5px 0 0 var(--green), inset 0 0 0 2px color-mix(in srgb, var(--green) 35%, transparent), 0 3px 0 var(--lip); }
.c2-lgme.z-relegate { box-shadow: inset 5px 0 0 var(--red), inset 0 0 0 2px color-mix(in srgb, var(--red) 40%, transparent), 0 3px 0 var(--lip); }
.c2-lgme-pos { flex: none; font-family: var(--f-num); font-size: 40px; line-height: 1; color: var(--gold); }
.c2-lgme-pos small { font-size: 15px; margin-left: 1px; color: var(--mute); }
.c2-lgme-t { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.c2-lgme-t small { font-size: 12px; color: var(--mute); }
.c2-lgme-t strong { font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c2-lgme-t span { font-size: 13px; color: var(--ink); }
.c2-lgme > .c2-form { flex: none; align-self: flex-end; }

/* 최근 5경기 점 */
.c2-form { display: inline-flex; gap: 3px; align-items: center; }
.c2-form i { width: 17px; height: 17px; border-radius: 6px; display: grid; place-items: center; font-style: normal; font-family: 'Noto Sans KR', sans-serif; font-size: 10px; font-weight: 900; color: var(--bg); }
.c2-form i.w { background: var(--green); }
.c2-form i.d { background: var(--dim); color: var(--ink); }
.c2-form i.l { background: var(--red); color: var(--ink); }
.c2-form em { font-style: normal; font-size: 11px; color: var(--dim); font-family: 'Noto Sans KR', sans-serif; }

/* 순위표: 순위, 선수/관장, 경기, 승, 무, 패, KO, 승점, 최근 5경기. 좁은 칸에서는 무·최근 칸을 감춘다 */
.c2-lgt .c2-tr { grid-template-columns: 30px minmax(0, 1fr) 28px 26px 26px 26px 28px 38px 96px; gap: 3px; min-height: 48px; padding: 3px 6px; font-size: 16px; }
.c2-lgt .c2-tr.th { min-height: 24px; font-size: 11.5px; }
.c2-lgt .c2-tr.th .who { justify-content: flex-start; padding-left: 4px; }
.c2-lgt .c2-tr .form { display: flex; justify-content: flex-end; }
.c2-lgt .c2-tr.z-promote { box-shadow: inset 4px 0 0 var(--green); }
.c2-lgt .c2-tr.z-relegate { box-shadow: inset 4px 0 0 var(--red); }
.c2-lgt .c2-tr.z-promote .pos { color: var(--green); }
.c2-lgt .c2-tr.z-relegate .pos { color: var(--red); }
.c2-lgt .c2-tr.mine.z-promote { box-shadow: inset 4px 0 0 var(--green), inset 0 0 0 2px color-mix(in srgb, var(--red) 70%, transparent); }
.c2-lgt .c2-tr.mine.z-relegate { box-shadow: inset 4px 0 0 var(--red), inset 0 0 0 2px color-mix(in srgb, var(--red) 70%, transparent); }
.c2-lgt .c2-tr .pts { color: var(--gold); }
@container (max-width: 430px) {
  .c2-lgt .c2-tr { grid-template-columns: 28px minmax(0, 1fr) 26px 24px 24px 26px 36px; }
  .c2-lgt .c2-tr .form, .c2-lgt .c2-tr .dcol { display: none; }
}
.c2-zlegend { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin-top: 10px; font-size: 12px; color: var(--mute); }
.c2-zlegend span { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--ink); }
.c2-zlegend span::before { content: ''; width: 12px; height: 12px; border-radius: 4px; }
.c2-zlegend .z-promote::before { background: var(--green); }
.c2-zlegend .z-relegate::before { background: var(--red); }
.c2-zlegend small { margin-left: auto; font-size: 12px; }

/* 내 일정: 라운드, 상대, 결과나 예정 시각. 치른 경기는 눌러서 다시 본다 */
.c2-fixl { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.c2-fx { width: 100%; display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 6px 10px; border-radius: 14px; text-align: left;
  background: var(--track); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--ink) 8%, transparent), 0 3px 0 var(--lip); }
button.c2-fx:active { transform: translateY(1px); }
.c2-fx.next { box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--gold) 65%, transparent), 0 3px 0 var(--lip); }
.c2-fx-r { flex: none; width: 34px; display: flex; align-items: baseline; justify-content: center; font-family: var(--f-num); }
.c2-fx-r b { font-size: 20px; }
.c2-fx-r small { font-size: 11px; color: var(--mute); }
.c2-fx-who { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.c2-fx-who b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c2-fx-who small { font-size: 12px; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c2-fx-res, .c2-fx-at { flex: none; display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; }
.c2-fx-res b { min-width: 30px; padding: 2px 8px; border-radius: 8px; text-align: center; font-size: 13px; }
.c2-fx-res.w b { background: var(--green); color: var(--bg); }
.c2-fx-res.d b { background: var(--dim); }
.c2-fx-res.l b { background: var(--red); }
.c2-fx-res small, .c2-fx-at small { font-size: 11px; color: var(--mute); }
.c2-fx-at b { font-size: 13px; color: var(--ink); }
.c2-fx.next .c2-fx-at small { color: var(--gold); font-weight: 700; }
.c2-fx-play { width: 20px; height: 20px; color: var(--mute); }

/* 랭킹: 관장 점수 기준 */
.c2-gpts { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 6px; margin-bottom: 8px; }
.c2-gpts span { display: flex; flex-direction: column; align-items: center; padding: 6px 4px; border-radius: 12px; background: var(--track); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--ink) 8%, transparent); }
.c2-gpts b { font-family: var(--f-num); font-size: 20px; color: var(--gold); line-height: 1.1; }
.c2-gpts small { font-size: 12px; color: var(--mute); }
.c2-rank .c2-rk-pt small { white-space: nowrap; }

/* 능력 비교 방사형 그래프: 내 선수 빨강, 상대 파랑 */
.c2-radarbox { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.c2-radar { width: 100%; max-width: 280px; height: auto; overflow: visible; }
.c2-radar .ring { fill: none; stroke: color-mix(in srgb, var(--ink) 9%, transparent); stroke-width: 1.5; }
.c2-radar .ring.out { stroke: color-mix(in srgb, var(--ink) 18%, transparent); stroke-width: 2; }
.c2-radar .spoke { stroke: color-mix(in srgb, var(--ink) 8%, transparent); stroke-width: 1.5; }
.c2-radar polygon.me { fill: color-mix(in srgb, var(--red) 30%, transparent); stroke: var(--red); stroke-width: 3; stroke-linejoin: round; }
.c2-radar polygon.op { fill: color-mix(in srgb, var(--blue) 26%, transparent); stroke: var(--blue); stroke-width: 3; stroke-linejoin: round; }
.c2-radar .lab { fill: var(--mute); font-size: 12px; font-weight: 700; }
.c2-radar .val { font-family: var(--f-num); font-size: 14px; font-weight: 800; }
.c2-radar .val .me { fill: color-mix(in srgb, var(--red) 70%, var(--ink)); }
.c2-radar .val .op { fill: color-mix(in srgb, var(--blue) 70%, var(--ink)); }
.c2-radar .val .win { fill: var(--ink); }
.c2-radar .val .sep { fill: var(--dim); }
.c2-radar-key { display: flex; gap: 16px; font-size: 12.5px; font-weight: 700; }
.c2-radar-key span { display: inline-flex; align-items: center; gap: 6px; max-width: 46%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.c2-radar-key span::before { content: ''; flex: none; width: 12px; height: 12px; border-radius: 4px; }
.c2-radar-key .me::before { background: var(--red); }
.c2-radar-key .op::before { background: var(--blue); }
.c2-topline .c2-lgtabs { position: static; flex: none; margin-left: auto; padding: 3px; gap: 4px; }
.c2-topline .c2-lgtabs button { flex: none; min-width: 78px; padding: 0 10px; white-space: nowrap; }
/* 출석과 과제(가로): 출석 단추는 머리 줄 오른쪽, 탭 배지는 글자 옆에 붙인다 */
.c2-att-h > .btn { flex: none; min-height: 48px; min-width: 96px; padding: 0 16px; }
.c2-att-h .c2-timer { align-self: flex-start; margin-top: 6px; }
.c2-daily .c2-seg button { display: flex; align-items: center; justify-content: center; gap: 4px; padding: 0 6px; white-space: nowrap; }
.c2-daily .c2-seg .c2-dot-n { position: static; flex: none; }
/* 상점(가로): 시작 묶음 구성품을 두 줄 두 칸 가로 배치로 줄여 구매 단추가 첫 화면에 들어오게 */
.c2-shop .c2-starter { gap: 6px; padding: 12px 14px 14px; }
.c2-shop .c2-starter-items { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin: 2px 0 4px; }
.c2-shop .c2-starter-items span { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 8px; align-items: center; justify-items: start; padding: 6px 10px; }
.c2-shop .c2-starter-items .ic { grid-row: 1 / 3; width: 24px; height: 24px; }
.c2-shop .c2-starter-items b { font-size: 20px; }
.c2-shop .c2-starter-items small { font-size: 12px; white-space: nowrap; }
.c2-shop .c2-starter .btn.big { min-height: 52px; }
.c2-gympts .c2-sec-t { flex-wrap: wrap; row-gap: 2px; }
.c2-gympts .c2-sec-t small { flex-basis: 100%; margin-left: 0; }
/* 리그: 왼쪽 칸 33%, 내 순위 카드는 순위·이름 줄 아래에 최근 5경기 */
.c2.c2-league.c2-two { --ls-left: 33%; }
.c2-lgme { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 12px; row-gap: 8px; }
.c2-lgme > .c2-form { grid-column: 1 / -1; align-self: auto; }
.c2-lgme-t small, .c2-lgme-t span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* 토너먼트 첫 판(가로): 벨트가 줄어들며 그림이 대회 이름을 덮지 않게 폭을 고정하고 그림 넘침을 줄인다 */
.c2-two .c2-tour-hero .c2-belt { flex: none; }
.c2-two .c2-tour-hero .c2-belt img { inset: -8px; width: calc(100% + 16px); height: calc(100% + 16px); }
.c2-two .c2-tour-hero > div:last-child { min-width: 0; }
.c2-radar-key small { font-size: 12px; font-weight: 500; color: var(--mute); }
/* 리그: 다음 시즌 자동 등록 스위치, 지난 시즌 순위 줄 */
.c2-autorow { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 14px; }
.c2-lastseason { display: flex; align-items: center; gap: 8px; margin: 0; padding: 10px 14px; border-radius: 16px; background: var(--track); box-shadow: inset 0 0 0 2px var(--edge); font-size: 13px; }
.c2-lastseason .ic { width: 18px; height: 18px; color: var(--gold); }
.c2-lastseason b { color: var(--gold); }
.c2-hlabel { width: 100%; gap: 10px; }
.c2-hlabel .ic { width: 20px; height: 20px; color: var(--mute); }
.c2-hlabel b { flex: 1; font-size: 14px; }
.c2-hlabel small { font-size: 12px; color: var(--mute); }
.c2-hlabel.on { box-shadow: inset 0 0 0 2px var(--gold), 0 3px 0 var(--lip); }
.c2-hlabel.on .ic { color: var(--gold); }
/* 더보기: 경기 연출 세기 세 칸 */
.c2-fxrow { flex-wrap: wrap; }
.c2-fxseg { flex: none; width: 210px; padding: 3px; gap: 4px; }
.c2-fxseg button { min-height: 44px; }

/* 리그 순위표 밤 경기장(2차 견본): 구역 구분 줄(승격 초록 글자, 강등 빨강 글자), 구역 줄 바탕을 옅게 물들이고 왼쪽 띠.
   내 줄은 빨강 대신 밝은 판과 테두리(빨강은 주 단추와 내 코너에만) */
.c2-zdiv { list-style: none; display: flex; align-items: center; gap: 10px; margin: 6px 2px 0; font-size: 12px; font-weight: 900; }
.c2-zdiv::after { content: ''; flex: 1; height: 3px; border-radius: 2px; background: currentColor; opacity: .35; }
.c2-zdiv.z-promote { color: var(--ok); }
.c2-zdiv.z-relegate { color: var(--danger); }
.c2-zdiv.z-mid { color: var(--mute); }
.c2-lgt .c2-tr:not(.th):nth-child(odd) { background: none; }
.c2-lgt .c2-tr.z-promote { background: color-mix(in srgb, var(--ok) 9%, transparent); box-shadow: inset 4px 0 0 var(--ok); }
.c2-lgt .c2-tr.z-relegate { background: color-mix(in srgb, var(--danger) 9%, transparent); box-shadow: inset 4px 0 0 var(--danger); }
.c2-lgt .c2-tr.z-relegate .pos { color: var(--danger); }
.c2-lgt .c2-tr.z-promote .pos { color: var(--ok); }
.c2-lgt .c2-tr.mine, .c2-lgt .c2-tr.mine.z-promote, .c2-lgt .c2-tr.mine.z-relegate { background: color-mix(in srgb, var(--sec) 80%, var(--ink) 8%) !important; }
.c2-lgt .c2-tr.mine { box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--ink) 35%, transparent), 0 3px 0 var(--lip); }
.c2-lgt .c2-tr.mine.z-promote { box-shadow: inset 4px 0 0 var(--ok), inset 0 0 0 2px color-mix(in srgb, var(--ink) 35%, transparent), 0 3px 0 var(--lip); }
.c2-lgt .c2-tr.mine.z-relegate { box-shadow: inset 4px 0 0 var(--danger), inset 0 0 0 2px color-mix(in srgb, var(--ink) 35%, transparent), 0 3px 0 var(--lip); }
.c2-zlegend .z-relegate::before { background: var(--danger); }
.c2-zlegend .z-promote::before { background: var(--ok); }
.c2-lgme.z-relegate { box-shadow: inset 5px 0 0 var(--danger), inset 0 0 0 2px color-mix(in srgb, var(--danger) 40%, transparent), 0 3px 0 var(--lip); }
.c2-lgme.z-promote { box-shadow: inset 5px 0 0 var(--ok), inset 0 0 0 2px color-mix(in srgb, var(--ok) 35%, transparent), 0 3px 0 var(--lip); }
.c2-form i.l { background: var(--danger); }
.c2-fx-res.l b { background: var(--danger); }
/* 승격선까지 승점 */
.c2-pgap { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 5px; }
.c2-pgap-t { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font-size: 12.5px; color: var(--mute); }
.c2-pgap-t b { font-family: var(--f-num); font-size: 20px; color: var(--ok); }
.c2-pgap-bar { height: 9px; border-radius: 5px; background: var(--track); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--lip) 70%, transparent); overflow: hidden; }
.c2-pgap-bar i { display: block; height: 100%; border-radius: 5px; background: linear-gradient(180deg, color-mix(in srgb, var(--ok) 70%, var(--ink)), var(--ok)); }
/* 밤 경기장 색 규칙: 빨강은 주 단추와 내 코너에만. 고른 칩·탭·전술·작전은 공통 탭(.ls-tabs .on)과 같은 밝은 남색 판 + 금빛 아닌 밝은 테두리 */
.c2-chip.on, .c2-seg button.on, .c2-pchip.on { color: var(--ink); background: linear-gradient(180deg, var(--sec), var(--edge)); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--ink) 45%, transparent), inset 0 2px 0 var(--hi), 0 3px 0 var(--lip); }
.c2-tac.on { background: linear-gradient(180deg, color-mix(in srgb, var(--sec) 90%, var(--ink) 10%), var(--sec2)); box-shadow: inset 0 0 0 2px color-mix(in srgb, var(--ink) 55%, transparent), 0 3px 0 var(--lip); }
.c2-tac.on small { color: var(--ink); }

/* ================= 화면 2를 밤 경기장 2차 공통 구성 요소에 맞춤(land1 app.css "공통 구성 요소" 장) =================
   판은 .panel 조리법(둘레 빛 기울기, 윗면 빛, 아래 두께), 파인 홈은 --well, 고른 것은 --sel, 강조 숫자는 --hl.
   금색은 벨트·재화에만, 빨강은 주 단추와 내 코너(--cr)에만 */
.c2-lgme, .c2-next, .c2-mepos, .c2-nextop, .c2-autorow, .c2-fx, .c2-justnow {
  border: var(--rim) solid transparent; background: var(--top-light) padding-box, var(--surf-1) padding-box, var(--rim-grad) border-box; box-shadow: var(--sh-1); }
.c2-mepos { border-radius: var(--r-panel); }
.c2-lgme { position: relative; border-radius: var(--r-panel); }
.c2-lgme::before { content: ''; position: absolute; left: -1px; top: 12px; bottom: 12px; width: 5px; border-radius: 0 4px 4px 0; background: var(--dim); }
.c2-lgme.z-promote::before { background: var(--ok); }
.c2-lgme.z-relegate::before { background: var(--danger); }
.c2-lgme, .c2-lgme.z-promote, .c2-lgme.z-relegate { box-shadow: var(--sh-1); }
.c2-lgme-pos { color: var(--ink); font-family: var(--f-disp); font-weight: 400; }
.c2-fx { border-radius: 14px; }
.c2-fx.next { background: var(--top-light) padding-box, var(--surf-3) padding-box, var(--rim-grad) border-box; box-shadow: var(--sh-2); }
.c2-fx.next .c2-fx-at small { color: var(--sel); }
.c2-lastseason { background: var(--well); box-shadow: var(--well-sh); }
.c2-lastseason .ic, .c2-lastseason b { color: var(--hl-lt); }
/* 고른 칩·탭·전술·기록: 파인 홈 위 뜬 판, 글자 --sel */
.c2-chip, .c2-pchip { color: var(--mute); background: var(--well); box-shadow: var(--well-sh); }
.c2-chip.on, .c2-seg button.on, .c2-pchip.on { color: var(--sel); background: var(--surf-3); box-shadow: inset 0 1px 0 var(--hi2), 0 2px 0 var(--lip); }
.c2-seg { background: var(--well); box-shadow: var(--well-sh); }
.c2-tac.on { background: var(--surf-3); box-shadow: inset 0 0 0 2px var(--sel), 0 3px 0 var(--lip); }
.c2-tac.on strong { color: var(--sel); }
.c2-hlabel.on { box-shadow: inset 0 0 0 2px var(--sel), 0 3px 0 var(--lip); }
.c2-hlabel.on .ic { color: var(--sel); }
/* 강조 숫자: 금색 대신 --hl */
.c2-lgt .c2-tr .pts, .c2-tr .pts { color: var(--hl-lt); }
.c2-gpts b, .c2-pgap-t b { color: var(--hl-lt); }
.c2-gpts span { background: var(--well); box-shadow: var(--well-sh); }
.c2-pgap-bar { background: var(--well); box-shadow: var(--well-sh); }
.c2-rk-pt b { color: var(--ink); }
/* 순위표 표 머리와 내 줄 */
.c2-lgt .c2-tr.th { color: var(--mute); }
.c2-lgt .c2-tr.mine, .c2-lgt .c2-tr.mine.z-promote, .c2-lgt .c2-tr.mine.z-relegate { background: var(--surf-3) !important; }

/* 결과 첫 판의 두 선수: 좁은 왼쪽 칸에서는 위아래 두 줄로(이름이 글자마다 꺾이지 않게) */
@container c2res (max-width: 300px) { .c2-res-vs { grid-template-columns: minmax(0, 1fr) !important; } }
.c2-result .c2-res-hero { container: c2res / inline-size; }
.c2-res-vs b { word-break: keep-all; overflow-wrap: anywhere; }
.c2-res-vs > div.w { box-shadow: inset 0 0 0 2px var(--sel); }

/* 경기 준비 대진 판(그림 결합 견본 gac-versus): 왼쪽 홍 코너 빛, 오른쪽 청 코너 빛, 두 초상이 마주 보고 아래에 이름·종합. VS는 빨강·파랑 겹 그림자 */
.c2-vs.c2-vs-stage { min-height: 210px; align-items: end; padding: 12px 10px 10px; border-radius: var(--r-panel);
  background: radial-gradient(60% 80% at 0% 40%, color-mix(in srgb, var(--cr) 45%, transparent), transparent 70%), radial-gradient(60% 80% at 100% 40%, color-mix(in srgb, var(--cb) 45%, transparent), transparent 70%), var(--surf-1);
  box-shadow: var(--sh-2); }
.c2-vs.c2-vs-stage::after { background: linear-gradient(0deg, color-mix(in srgb, var(--bg) 92%, transparent) 0%, transparent 55%); }
.c2-vs-face { position: absolute; bottom: 0; height: 88%; max-width: 52%; object-fit: contain; object-position: bottom; z-index: 0; pointer-events: none;
  filter: drop-shadow(0 0 0 transparent); }
.c2-vs-face.me { left: -4%; filter: drop-shadow(3px 0 0 var(--cr)); }
.c2-vs-face.op { right: -4%; transform: scaleX(-1); filter: drop-shadow(3px 0 0 var(--cb)); }
.c2-vs-stage .c2-vs-side { z-index: 2; padding: 6px 8px; border-radius: 14px; background: color-mix(in srgb, var(--surf-2) 88%, transparent); box-shadow: 0 3px 0 var(--lip); }
.c2-vs-stage .c2-vs-side .c2-crest { display: none; }
.c2-vs-stage .c2-vs-side.me { box-shadow: inset 0 3px 0 var(--cr), 0 3px 0 var(--lip); }
.c2-vs-stage .c2-vs-side.op { box-shadow: inset 0 3px 0 var(--cb), 0 3px 0 var(--lip); }
.c2-vs-stage .c2-vs-mid { z-index: 2; align-self: start; margin-top: 18px; font-family: var(--f-disp); font-style: normal; font-weight: 400; font-size: 40px; color: var(--ink); transform: none;
  text-shadow: -3px 0 0 var(--cr), 3px 0 0 var(--cb), 0 4px 0 var(--lip); }
.c2-vs-stage:not(:has(.c2-vs-face)) .c2-vs-side .c2-crest { display: grid; }

/* 친선 경기: 후보 줄(문장, 이름·관장·단계·전적, OVR, 한 판 단추), 남은 횟수 */
.c2-frrow { gap: 10px; }
.c2-frrow .c2-rk-who { flex: 1; min-width: 0; }
.c2-frrow .c2-rk-pt { flex: none; }
.c2-fr-go { flex: none; min-width: 72px; }
.c2-frme .c2-mepos-n small { font-size: 14px; color: var(--mute); }
.c2-promo-steps { margin-top: 8px; line-height: 1.15; }

/* 챔피언 판 이름표-값 묶음(선수 정보 원칙: 이름표 위 작게, 값 아래 크게, 가운뎃점 나열 안 함) */
.c2-champ-kv { width: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 6px; text-align: center; }
.c2-champ-kv > span { align-items: center; }

/* 리그 왼쪽 칸(덜어 낸 판): 내 순위, 다음 상대, 작은 단추 둘. 나머지는 리그 정보 창 */
.c2-lgbtns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.c2-lgbtns .btn { gap: 6px; white-space: nowrap; }
.c2-lgbtns .btn .ic { width: 18px; height: 18px; }
.c2-lginfo { gap: 10px; }
/* 경기 첫 화면 작은 칸: 두 칸씩 두 줄(설명이 꺾이지 않게) */
.c2-two .c2-mode.wide { grid-column: span 3; }
.c2-two .c2-mode.wide small { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
/* 더보기 경기 연출 줄: 설명 칸이 최소 폭을 가져 좁으면 세 칸 고르기가 아래 줄로 내려간다 */
.c2-fxrow .c2-row-t { flex: 1 1 180px; min-width: 180px; }
.c2-fxrow .c2-fxseg { margin-left: auto; }

/* ---------- 좁은 칸 글자 넘침(UI 개편 2차, 667x375 넘침 검사): 남은 시간은 한 줄, 판은 좁으면 위아래로 쌓는다 ---------- */
.c2-timer, .c2-timer b { white-space: nowrap; flex: none; }
.c2-next { flex-wrap: wrap; }
.c2-next-l { flex: 1 1 150px; }
.c2-next-l strong { white-space: nowrap; }
.c2-next-r { flex: 1 1 150px; max-width: none; }
.c2-tour-hero { flex-wrap: wrap; }
.c2-tour-hero > div:last-child { flex: 1 1 170px; min-width: 0; }
.c2-tour-hero strong { overflow-wrap: anywhere; }
.c2-att-h { flex-wrap: wrap; row-gap: 6px; }
