/**
 * 야구선수 키우기 — game.css(.gm) 위에 얹는 rk- 스타일. PC·모바일 공용.
 *
 * 디자인 방향 「전광판 아래 라커룸」
 * - 야구는 숫자다: 숫자가 주인공. Pretendard 굵기 대비(900 숫자 / 600 라벨)와 tabular-nums.
 * - 어두운 면은 화면마다 하나 — 전광판(.rk-board). 나머지는 밝은 종이 위 얇은 선.
 * - 색(design-guardrails): 액센트는 인디고 하나. 구단 색(--team)은 카드 띠·점·등번호·명판 선에만(정체성 표시).
 *   골든글러브 금색(--rk-gold)은 장갑 아이콘에만 쓰는 기능색(game.css 의 '게임 고유 기능색' 예외).
 * - 움직임은 훈련 뒤 한 번(막대가 자라고 숫자가 오른다). prefers-reduced-motion 이면 없다.
 */

.rk {
    --rk-paper: #f5f6fa;
    --rk-ink: #171a33;
    --rk-ink-2: #3d4160;
    --rk-ink-3: #6b7090;
    --rk-ink-4: #6f7491;        /* 흰 바탕 대비 4.6:1 — 작은 설명 글자도 읽히게(예전 #a1a5be 는 2.4:1) */
    --rk-line: #e3e5ee;
    --rk-line-soft: #eef0f5;
    --rk-accent: #4f46e5;
    --rk-accent-wash: #eef0ff;
    --rk-accent-line: #dcdffd;
    --rk-board: #15183d;
    --rk-board-ink: #eef0ff;
    --rk-board-dim: #8c93c9;
    --rk-led: #a5b4fc;
    --rk-gold: #b4882c;
    --rk-gold-wash: #fbf5e6;
    --rk-fail: #be123c;
    --rk-r: 14px;
    background: var(--rk-paper);
    color: var(--rk-ink);
    word-break: keep-all;       /* 한국어 단어 중간 줄바꿈('0실/점') 방지 */
    overflow-wrap: anywhere;
}
.rk .rk-mt { margin-top: 12px; }
.rk .rk-member-history { margin: 16px 0; }
.rk-member-history-list { list-style: none; margin: 0; padding: 0; }
.rk-member-history-list > li { display: grid; grid-template-columns: minmax(130px, 1fr) minmax(0, 2fr) auto; align-items: center; gap: 12px; padding: 14px 0; border-top: 1px solid var(--rk-line); }
.rk-member-who, .rk-member-record { display: flex; flex-direction: column; gap: 4px; margin: 0; min-width: 0; }
.rk-member-who a { font-weight: 800; color: var(--rk-accent); overflow-wrap: anywhere; }
.rk-member-who span, .rk-member-record span, .rk-member-team-result { color: var(--rk-ink-3); font-size: .78rem; }
.rk-member-record b { font-size: .88rem; }
.rk .rk-member-game { grid-column: 1 / -1; width: 100%; min-width: 0; padding: 10px 12px; border-radius: 8px; background: var(--rk-accent-wash); color: var(--rk-ink); font-size: .8rem; line-height: 1.6; }
.rk-member-game > b { display: block; font-size: .72rem; color: var(--rk-ink-3); }
.rk-member-game-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; padding-top: 4px; }
.rk .rk-member-game a { font-weight: 800; color: var(--rk-accent); overflow-wrap: anywhere; }
.rk-member-game small { flex-basis: 100%; color: var(--rk-ink-3); }
.rk .rk-member-game a:focus-visible, .rk-member-who a:focus-visible { outline: 2px solid var(--rk-accent); outline-offset: 3px; }
@media (max-width: 600px) {
    .rk-member-history-list > li { grid-template-columns: minmax(0, 1fr); gap: 6px; }
    .rk-member-who { flex-direction: row; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; }
    .rk .rk-member-game { padding: 8px 10px; }
}
.rk .rk-fine { font-size: 0.75rem; color: var(--rk-ink-4); text-decoration: none; }
.rk a.rk-fine:hover { color: var(--rk-accent); }
.rk .rk-center { text-align: center; margin-top: 18px; }
.rk h2, .rk h3 { color: var(--rk-ink); }
/* 구장 전용 스타일이 늦게 적용돼도 원본 이미지가 페이지 폭을 밀지 않게 해요. */
.rk .rs-stadium-art { max-width: 100%; height: auto; }

/* ── 머리: 제목·시즌·메뉴 ─────────────────────────────── */
.rk-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.rk-top-main { flex: 1; min-width: 0; }
.rk-top .gm-back { margin-bottom: 6px; }
.rk-title { margin: 0; font-size: 1.75rem; font-weight: 900; letter-spacing: -0.02em; line-height: 1.15; }
.rk-season { flex: none; display: grid; grid-template-columns: auto auto; column-gap: 8px; row-gap: 6px; align-items: baseline; margin: 0; }
.rk-season b { font-size: 0.9rem; font-weight: 800; }
.rk-season span { font-size: 0.82rem; color: var(--rk-ink-3); font-variant-numeric: tabular-nums; }
.rk-season-bar { grid-column: 1 / -1; display: block; width: 168px; height: 4px; border-radius: 99px; background: var(--rk-line); overflow: hidden; }
.rk-season-bar i { display: block; height: 100%; background: var(--rk-accent); }

.rk-nav { display: flex; gap: 4px; margin: 0 0 18px; border-bottom: 1px solid var(--rk-line); overflow-x: auto; scrollbar-width: none; }
.rk-nav::-webkit-scrollbar { display: none; }
.rk-nav a {
    flex: none;
    position: relative;
    padding: 10px 14px 12px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--rk-ink-3);
    text-decoration: none;
}
.rk-nav a:hover { color: var(--rk-ink); }
.rk-nav a[aria-current="page"] { color: var(--rk-ink); }
.rk-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: -1px; height: 3px; border-radius: 3px 3px 0 0; background: var(--rk-accent); }
.rk-nav a:focus-visible { outline: 2px solid var(--rk-accent); outline-offset: -2px; border-radius: 8px; }

.rk-h2 { margin: 30px 0 10px; font-size: 1.15rem; font-weight: 800; letter-spacing: -0.01em; }
.rk-note { margin: -4px 0 12px; font-size: 0.82rem; line-height: 1.6; color: var(--rk-ink-3); }
.rk-note.is-flush { margin: 0 0 8px; }
.rk-note.is-inline { margin: 0; }
.rk-empty { margin: 0; padding: 18px 0; font-size: 0.88rem; color: var(--rk-ink-3); text-align: center; }
.rk-live { display: inline-block; padding: 0 6px; border-radius: 4px; font-size: 0.68rem; font-weight: 800; color: var(--rk-accent); background: var(--rk-accent-wash); vertical-align: 1px; }

/* ── 패널(밝은 면) ───────────────────────────────────── */
.rk-panel { padding: 20px; border: 1px solid var(--rk-line); border-radius: var(--rk-r); background: #fff; }
.rk-panel > h2 { margin: 0 0 12px; font-size: 1rem; font-weight: 800; }
.rk-panel + .rk-panel { margin-top: 12px; }
.rk-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 4px; }
.rk-head h2 { margin: 0; font-size: 1rem; font-weight: 800; }
.rk-hint { margin: 4px 0 12px; font-size: 0.8rem; line-height: 1.55; color: var(--rk-ink-3); }
.rk-hint strong { color: #b45309; }

/* ── 내 선수: 카드 + 전광판 ─────────────────────────── */
.rk-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 12px; align-items: stretch; }
.rk-hero.is-profile { align-items: start; }

.rk-card {
    position: relative;
    overflow: hidden;
    padding: 22px 20px 18px;
    border: 1px solid var(--rk-line);
    border-radius: var(--rk-r);
    background: #fff;
    box-shadow: 0 1px 2px rgba(23, 26, 51, .04), 0 12px 28px -12px rgba(23, 26, 51, .12);
}
.rk-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 6px; background: var(--team); }
.rk-card-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.rk-team { display: inline-flex; align-items: center; gap: 6px; font-size: 0.82rem; font-weight: 700; color: var(--rk-ink-2); }
.rk-dot { display: inline-block; flex: none; width: 9px; height: 9px; border-radius: 50%; background: var(--team, var(--rk-accent)); box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--rk-line); }
.rk-dot.is-lg { width: 12px; height: 12px; }
.rk-tier { display: inline-block; padding: 3px 10px; border-radius: 99px; font-size: 0.72rem; font-weight: 800; white-space: nowrap; color: var(--rk-ink-2); background: var(--rk-line-soft); }
.rk-tier.is-pro { color: var(--rk-accent); background: var(--rk-accent-wash); }     /* 프로 하위 리그 */
.rk-tier.is-top { color: #fff; background: var(--rk-accent); }                        /* 각 나라 최상위 리그 */
.rk-tier.is-retired { color: var(--rk-ink-3); background: transparent; box-shadow: inset 0 0 0 1px var(--rk-line); }
.rk-dot.is-sm { width: 7px; height: 7px; margin: 0 3px 0 4px; vertical-align: 1px; }
.rk-card-main { display: flex; align-items: center; gap: 14px; margin-top: 16px; }
.rk-number { flex: none; width: 66px; font-size: 3.1rem; font-weight: 900; line-height: 1; letter-spacing: -0.05em; text-align: center; color: var(--team); font-variant-numeric: tabular-nums; }
.rk-who { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.rk-name { font-size: 1.4rem; font-weight: 900; letter-spacing: -0.02em; line-height: 1.4; white-space: normal; }
.rk-meta { font-size: 0.8rem; color: var(--rk-ink-3); }
.rk-ovr { flex: none; text-align: right; }
.rk-ovr small { display: block; font-size: 0.7rem; font-weight: 700; color: var(--rk-ink-4); }
.rk-ovr b { display: block; font-size: 2.2rem; font-weight: 900; line-height: 1.05; letter-spacing: -0.02em; color: var(--rk-accent); font-variant-numeric: tabular-nums; }
.rk-trophies { display: flex; flex-wrap: wrap; gap: 6px; margin: 14px 0 0; padding: 0; list-style: none; }
.rk-trophies li { display: inline-flex; align-items: center; gap: 4px; padding: 3px 9px 3px 6px; border-radius: 99px; font-size: 0.72rem; font-weight: 700; color: var(--rk-ink-2); background: var(--rk-gold-wash); }
.rk-glove { width: 14px; height: 14px; color: var(--rk-gold); flex: none; }
.rk-next { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--rk-line); }
.rk-next-label { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 6px; font-size: 0.82rem; color: var(--rk-ink-3); }
.rk-next-label b { color: var(--rk-ink); }
.rk-card-note { margin: 10px 0 0; font-size: 0.78rem; color: var(--rk-ink-3); }
.rk-role-line { margin-top: 3px; font-size: 0.82rem; color: var(--rk-ink-2); }
.rk-role-line b { font-weight: 800; color: var(--rk-accent); }

/* 타순·보직 계단 */
.rk-steps { display: flex; gap: 4px; margin: 10px 0 0; padding: 0; list-style: none; }
.rk-steps li { flex: 1 1 0; min-width: 0; padding: 7px 4px; border-radius: 8px; font-size: 0.72rem; font-weight: 800; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--rk-ink-4); background: var(--rk-line-soft); }
.rk-steps li.is-done { color: var(--rk-accent); background: var(--rk-accent-wash); }
.rk-steps li.is-cur { color: #fff; background: var(--rk-accent); }
.rk-ladder-now { margin: 10px 0 0; font-size: 0.92rem; }
.rk-ladder-now b { font-weight: 900; }
.rk-ladder .rk-hint { margin-bottom: 0; }

/* 전광판 — 화면의 단 하나의 어두운 면. 점 무늬는 LED 판 */
.rk-board {
    position: relative;
    padding: 16px 20px 18px;
    border-radius: 16px;
    color: var(--rk-board-ink);
    background-color: var(--rk-board);
    background-image: radial-gradient(rgba(255, 255, 255, .055) 1px, transparent 1.3px);
    background-size: 6px 6px;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06), 0 14px 32px -14px rgba(21, 24, 61, .55);
}
.rk-board-head { display: flex; justify-content: space-between; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid rgba(255, 255, 255, .09); font-size: 0.78rem; font-weight: 600; color: var(--rk-board-dim); }
.rk-board-rows { margin: 0; padding: 0; list-style: none; }
.rk-board-rows li {
    display: grid;
    grid-template-columns: 2.6em 9.4em 3.2em minmax(0, 1fr);
    align-items: center;
    column-gap: 12px;
    padding: 9px 0;
    border-top: 1px dashed rgba(255, 255, 255, .07);
}
.rk-board-rows li:first-child { border-top: 0; }
.rk-gno { font-size: 0.78rem; font-weight: 700; color: var(--rk-board-dim); font-variant-numeric: tabular-nums; }
.rk-score { display: inline-flex; align-items: baseline; gap: 6px; font-variant-numeric: tabular-nums; }
.rk-score b { font-size: 0.86rem; font-weight: 800; }
.rk-score em { min-width: 1.2ch; font-style: normal; font-size: 1.3rem; font-weight: 900; line-height: 1; text-align: center; color: #fff; }
.rk-score i { font-style: normal; color: var(--rk-board-dim); }
.rk-score span { font-size: 0.86rem; font-weight: 600; color: var(--rk-board-dim); }
.rk-board-rows li.is-win .rk-score em:first-of-type { color: var(--rk-led); text-shadow: 0 0 14px rgba(165, 180, 252, .55); }
.rk-wl { justify-self: start; padding: 2px 8px; border-radius: 6px; font-size: 0.72rem; font-weight: 800; color: var(--rk-board-dim); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); white-space: nowrap; }
.rk-board-rows li.is-win .rk-wl { color: var(--rk-board); background: var(--rk-led); box-shadow: none; }
.rk-gsum { font-size: 0.88rem; line-height: 1.45; color: var(--rk-board-ink); }
.rk-board-rows.is-pitcher li { padding: 14px 0; }
.rk-board-rows.is-pitcher .rk-gsum { font-size: 1rem; font-weight: 700; }
.rk-board-rows.is-race li { grid-template-columns: 2.6em max-content max-content minmax(0, 1fr); }
.rk-box { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); margin: 14px 0 0; border-top: 1px solid rgba(255, 255, 255, .09); padding-top: 12px; }
.rk-box > div { text-align: center; }
.rk-box dt { font-size: 0.7rem; font-weight: 600; color: var(--rk-board-dim); }
.rk-box dd { margin: 4px 0 0; font-size: 1.45rem; font-weight: 900; color: #fff; font-variant-numeric: tabular-nums; }
/* 상대 등급 표시 — 전광판(어두운 면) 위 */
.rk-vs { display: inline-block; margin-right: 8px; padding: 1px 7px; border-radius: 5px; font-size: 0.7rem; font-weight: 800; white-space: nowrap; vertical-align: 1px; font-variant-numeric: tabular-nums; }
.rk-vs.is-ace, .rk-vs.is-strong { color: var(--rk-board); background: #fff; }
.rk-vs.is-reg, .rk-vs.is-normal { color: var(--rk-board-ink); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .35); }
.rk-vs.is-bak, .rk-vs.is-weak { color: var(--rk-board-dim); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); }
.rk-box-split { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 12px 0 0; padding: 0; list-style: none; font-size: 0.8rem; color: var(--rk-board-ink); font-variant-numeric: tabular-nums; }
.rk-box-split b { font-weight: 800; }
.rk-box-split .is-bak { color: var(--rk-board-dim); }
.rk-board-empty { display: flex; flex-direction: column; gap: 8px; padding: 22px 0 6px; }
.rk-board-empty b { font-size: 2.8rem; font-weight: 900; line-height: 1; letter-spacing: -0.03em; color: var(--rk-led); text-shadow: 0 0 22px rgba(165, 180, 252, .45); font-variant-numeric: tabular-nums; }
.rk-board-empty span { max-width: 46ch; font-size: 0.9rem; line-height: 1.6; color: var(--rk-board-dim); }
.rk-board-note { margin: 10px 0 0; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .09); font-size: 0.8rem; color: var(--rk-board-dim); }
.rk-test { margin-bottom: 14px; }
.rk-test-verdict { margin: 14px 0 6px; font-size: 1.9rem; font-weight: 900; letter-spacing: -0.02em; color: var(--rk-board-ink); }
.rk-test.is-pass .rk-test-verdict { color: var(--rk-led); text-shadow: 0 0 22px rgba(165, 180, 252, .45); }
.rk-test .rk-board-rows li { grid-template-columns: 2.6em minmax(0, 1fr) max-content; }

/* 시즌 기록 줄 */
.rk-line { margin-top: 12px; padding: 18px 20px; border: 1px solid var(--rk-line); border-radius: var(--rk-r); background: #fff; }
.rk-line-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.rk-line-head h2 { margin: 0; font-size: 0.95rem; font-weight: 800; }
.rk-qual { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 0.76rem; color: var(--rk-ink-3); font-variant-numeric: tabular-nums; }
.rk-qual > i { display: block; width: 90px; height: 5px; border-radius: 99px; background: var(--rk-line-soft); overflow: hidden; }
.rk-qual > i > i { display: block; height: 100%; background: var(--rk-ink-4); }
.rk-qual.is-ok > i > i { background: var(--rk-accent); }
.rk-line-main { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin: 14px 0 0; }
.rk-line-main > div { padding: 0 12px; border-left: 1px solid var(--rk-line-soft); }
.rk-line-main > div:first-child { padding-left: 0; border-left: 0; }
.rk-line-main dt { font-size: 0.74rem; font-weight: 600; color: var(--rk-ink-3); }
.rk-line-main dd { margin: 2px 0 0; font-size: 1.75rem; font-weight: 900; letter-spacing: -0.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.rk-line-main dd small { margin: 0 2px; font-size: 1rem; color: var(--rk-ink-4); }
.rk-line-main .is-war dd { color: var(--rk-accent); }
/* 상대 등급별 성적(밝은 면) */
.rk-split { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--rk-line-soft); }
.rk-split h3 { margin: 0 0 8px; font-size: 0.85rem; font-weight: 800; color: var(--rk-ink-2); }
.rk-split-wrap { overflow-x: auto; }
.rk-split-table { width: 100%; border-collapse: collapse; font-size: 0.84rem; white-space: nowrap; font-variant-numeric: tabular-nums; }
.rk-split-table th, .rk-split-table td { padding: 7px 10px; text-align: right; border-bottom: 1px solid var(--rk-line-soft); }
.rk-split-table thead th { font-size: 0.72rem; font-weight: 700; color: var(--rk-ink-3); }
.rk-split-table th[scope="row"], .rk-split-table thead th:first-child { text-align: left; padding-left: 0; }
.rk-split-table tbody tr:last-child th, .rk-split-table tbody tr:last-child td { border-bottom: 0; }
.rk-split-table .is-key { font-weight: 900; }
.rk-grade { display: inline-block; padding: 2px 8px; border-radius: 6px; font-size: 0.74rem; font-weight: 800; }
.rk-grade.is-ace { color: #fff; background: var(--rk-ink); }
.rk-grade.is-reg { color: var(--rk-ink); background: var(--rk-line-soft); }
.rk-grade.is-bak { color: var(--rk-ink-3); box-shadow: inset 0 0 0 1px var(--rk-line); }
.rk-grade.is-pen { color: var(--rk-accent); background: var(--rk-accent-wash); }
.rk-grade-note { display: block; margin-top: 2px; font-size: 0.68rem; font-weight: 600; color: var(--rk-ink-4); }
.rk-split-note { margin: 8px 0 0; font-size: 0.74rem; line-height: 1.55; color: var(--rk-ink-4); }
.rk-line-sub { margin: 12px 0 0; padding-top: 10px; border-top: 1px solid var(--rk-line-soft); font-size: 0.78rem; line-height: 1.6; color: var(--rk-ink-3); font-variant-numeric: tabular-nums; }

/* 아래 두 단: 훈련 | 오늘의 TP·컨디션·기록 */
.rk-grid { display: flex; gap: 12px; align-items: flex-start; margin-top: 12px; }
.rk-col { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.rk-col.is-main { flex: 1.15 1 0; }
.rk-col.is-side { flex: 1 1 0; }
.rk-col .rk-panel + .rk-panel { margin-top: 0; }

.rk-tp { font-size: 0.85rem; color: var(--rk-ink-3); }
.rk-tp b { font-size: 1.55rem; font-weight: 900; color: var(--rk-ink); font-variant-numeric: tabular-nums; }
.rk-stats { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 6px; }
.rk-stat { margin: 0 -10px; padding: 8px 10px; border-radius: 10px; transition: background-color .5s ease; }
.rk-stat.is-up { background: var(--rk-accent-wash); }
.rk-stat-top { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; }
.rk-stat-name { font-size: 0.9rem; font-weight: 700; }
.rk-stat-name em { margin-left: 6px; padding: 1px 6px; border-radius: 4px; font-style: normal; font-size: 0.68rem; font-weight: 800; color: var(--rk-accent); background: var(--rk-accent-wash); }
.rk-stat-val { font-size: 1.2rem; font-weight: 900; font-variant-numeric: tabular-nums; }
.rk-bar { position: relative; height: 8px; border-radius: 99px; background: var(--rk-line-soft); overflow: hidden; }
.rk-cap { position: absolute; top: 0; bottom: 0; z-index: 1; width: 2px; margin-left: -1px; background: var(--rk-ink-2); opacity: .5; text-decoration: none; }   /* 나이·잠재력 한계 눈금 */
.rk-stat-name em.is-cap { color: var(--rk-ink-3); background: var(--rk-line-soft); }
.rk-tp em { margin-left: 4px; padding: 1px 6px; border-radius: 4px; font-style: normal; font-size: 0.68rem; font-weight: 800; color: var(--rk-ink-3); background: var(--rk-line-soft); vertical-align: 2px; }
.rk-bar i { display: block; height: 100%; border-radius: inherit; background: var(--rk-ink-4); transition: width .7s cubic-bezier(.2, .8, .2, 1); }
.rk-bar.is-next i, .rk-stat.is-focus .rk-bar i { background: var(--rk-accent); }
.rk-stat-act { display: flex; gap: 6px; margin-top: 8px; }
.rk-stat-act form { flex: 1 1 0; min-width: 0; }
.rk-train-btn {
    width: 100%;
    min-height: 40px;
    padding: 0 10px;
    border: 1px solid var(--rk-line);
    border-radius: 10px;
    background: #fff;
    color: var(--rk-ink);
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: border-color .15s ease, background-color .15s ease;
}
.rk-train-btn small { margin-left: 4px; font-weight: 700; color: var(--rk-accent); font-variant-numeric: tabular-nums; }
.rk-train-btn:hover:not(:disabled) { border-color: var(--rk-accent-line); background: var(--rk-accent-wash); }
.rk-train-btn:focus-visible { outline: 2px solid var(--rk-accent); outline-offset: 2px; }
.rk-train-btn:disabled { opacity: .45; cursor: not-allowed; }
.rk-stats.is-compact { gap: 2px; }

.rk-earn-list { margin: 6px 0 0; padding: 0; list-style: none; }
.rk-earn-list li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--rk-line-soft); }
.rk-earn-list li:first-child { border-top: 0; }
.rk-check { flex: none; width: 22px; height: 22px; border: 1.5px solid var(--rk-line); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 0.75rem; font-weight: 900; color: #fff; }
.rk-earn-list li.is-done .rk-check { border-color: var(--rk-accent); background: var(--rk-accent); }
.rk-earn-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.rk-earn-main b { font-size: 0.9rem; }
.rk-earn-main small { font-size: 0.75rem; color: var(--rk-ink-3); }
.rk-earn-list li.is-done .rk-earn-main b { color: var(--rk-ink-3); }
.rk .rk-go { min-height: 34px; padding: 0 12px; font-size: 0.8rem; white-space: nowrap; }

.rk-cond-badge { padding: 2px 10px; border-radius: 99px; font-size: 0.72rem; font-weight: 800; }
.rk-cond.is-good .rk-cond-badge { color: var(--rk-accent); background: var(--rk-accent-wash); }
.rk-cond.is-ok .rk-cond-badge { color: var(--rk-ink-2); background: var(--rk-line-soft); }
.rk-cond.is-bad .rk-cond-badge { color: var(--rk-fail); background: #fff1f2; }
.rk-cond-note { margin: 8px 0 4px; font-size: 0.88rem; line-height: 1.55; }
.rk-cond.is-bad .rk-cond-note { color: var(--rk-fail); }
.rk-cond .rk-hint { margin-bottom: 0; }

.rk-log-list { margin: 6px 0 0; padding: 0; list-style: none; }
.rk-log-list li { display: flex; gap: 10px; padding: 7px 0; border-top: 1px solid var(--rk-line-soft); font-size: 0.82rem; }
.rk-log-list li:first-child { border-top: 0; }
.rk-log-list time { flex: none; width: 6.8em; white-space: nowrap; color: var(--rk-ink-4); font-variant-numeric: tabular-nums; }
.rk-log-list li.is-decay span, .rk-log-list li.is-demote span { color: var(--rk-fail); }
.rk-log-list li.is-promote span, .rk-log-list li.is-award span { color: var(--rk-accent); font-weight: 700; }
.rk-retire { margin-top: 14px; font-size: 0.8rem; color: var(--rk-ink-3); }
.rk-retire summary { cursor: pointer; }
.rk-retire form { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 8px; }
.rk-retire .gm-btn { min-height: 34px; font-size: 0.8rem; }

.rk-toast { position: fixed; left: 50%; bottom: 28px; z-index: 1060; max-width: calc(100% - 32px); padding: 10px 16px; border-radius: 99px; transform: translateX(-50%); background: var(--rk-ink); color: #fff; font-size: 0.88rem; font-weight: 700; box-shadow: 0 10px 30px rgba(23, 26, 51, .25); }
.rk-toast.is-great { background: var(--rk-accent); }
.rk-toast.is-warn { background: #b45309; }

/* ── 입단 ───────────────────────────────────────────── */
.rk-create .rk-panel + .rk-panel { margin-top: 12px; }
.rk-roles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.rk-role, .rk-chip, .rk-teamopt { position: relative; }
.rk-role input, .rk-chip input, .rk-teamopt input { position: absolute; opacity: 0; pointer-events: none; }
.rk-role-box { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 14px 16px; border: 1.5px solid var(--rk-line); border-radius: 12px; cursor: pointer; }
.rk-role-box b { font-size: 1.1rem; font-weight: 900; }
.rk-role-box small { font-size: 0.78rem; color: var(--rk-ink-3); }
.rk-role input:checked + .rk-role-box { border-color: var(--rk-accent); background: var(--rk-accent-wash); }
.rk-role input:focus-visible + .rk-role-box, .rk-chip input:focus-visible + span, .rk-teamopt input:focus-visible + span { outline: 2px solid var(--rk-accent); outline-offset: 2px; }
.rk-focus, .rl-pick { margin: 16px 0 0; padding: 0; border: 0; min-width: 0; }
.rk-focus legend, .rl-pick legend { margin-bottom: 8px; font-size: 0.88rem; font-weight: 800; color: var(--rk-ink); }
.rk-focus legend small, .rl-pick legend small { margin-left: 6px; font-weight: 500; font-size: 0.76rem; color: var(--rk-ink-3); }
.rl-pick legend small .rl-hard { margin: 0 1px 0 0; }
.rl-hard { margin-left: 5px; font-size: 0.7rem; font-weight: 800; color: var(--rk-accent); }
.rl-school-note { flex-basis: 100%; margin: 0 0 2px; font-size: 0.8rem; color: var(--rk-ink-3); }
.rl-school-groups { clear: left; }
.rk-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.rk-chip span { display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px; border: 1.5px solid var(--rk-line); border-radius: 99px; font-size: 0.85rem; font-weight: 700; cursor: pointer; }
.rk-chip input:checked + span { border-color: var(--rk-accent); color: var(--rk-accent); background: var(--rk-accent-wash); }
.rk-teams { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.rk-teamopt span { display: flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px; border: 1.5px solid var(--rk-line); border-radius: 12px; font-size: 0.85rem; font-weight: 700; cursor: pointer; white-space: nowrap; }
.rk-teamopt input:checked + span { border-color: var(--team); box-shadow: inset 0 0 0 1px var(--team); }
.rk-fields { display: flex; gap: 10px; }
.rk-field { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; font-size: 0.8rem; font-weight: 700; color: var(--rk-ink-3); }
.rk-field.is-num { flex: 0 0 110px; }
.rk-field input { width: 100%; min-width: 0; min-height: 44px; padding: 0 12px; border: 1.5px solid var(--rk-line); border-radius: 12px; font-size: 0.95rem; color: var(--rk-ink); background: #fff; }
.rk-field input:focus { outline: none; border-color: var(--rk-accent); }
.rk-rules, .rk-intro { margin-top: 12px; }
.rk-intro p { margin: 0; font-size: 0.92rem; line-height: 1.7; color: var(--rk-ink-2); }
.rk-rule-list { margin: 0; padding-left: 1.2em; display: flex; flex-direction: column; gap: 10px; }
.rk-rule-list li { font-size: 0.85rem; line-height: 1.6; color: var(--rk-ink-2); }
.rk-rule-list b { display: block; color: var(--rk-ink); }
.rk-rule-list span { display: block; }
.rk-rule-list span + span { margin-top: 4px; }

/* ── 리그: 조작부·리더·순위 ─────────────────────────── */
.rk-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 16px; }
.rk-seg { display: inline-flex; padding: 3px; border-radius: 99px; background: #e9ebf3; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.rk-seg::-webkit-scrollbar { display: none; }
.rk-seg a { flex: none; display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border-radius: 99px; font-size: 0.85rem; font-weight: 700; color: var(--rk-ink-3); text-decoration: none; }
.rk-seg a:hover { color: var(--rk-ink); }
.rk-seg a[aria-current="page"] { background: #fff; color: var(--rk-ink); box-shadow: 0 1px 3px rgba(23, 26, 51, .12); }
.rk-seg.is-quiet { background: transparent; box-shadow: inset 0 0 0 1px var(--rk-line); }
.rk-seg.is-quiet a[aria-current="page"] { background: var(--rk-ink); color: #fff; box-shadow: none; }

.rk-leads { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.rk-lead { padding: 16px 18px; border: 1px solid var(--rk-line); border-radius: var(--rk-r); background: #fff; }
.rk-lead h3 { margin: 0 0 10px; font-size: 0.85rem; font-weight: 800; color: var(--rk-ink-2); }
.rk-lead ol { margin: 0; padding: 0; list-style: none; counter-reset: lead; }
.rk-lead li { counter-increment: lead; display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: 0.86rem; }
.rk-lead li::before { content: counter(lead); width: 1.2em; font-size: 0.75rem; font-weight: 800; color: var(--rk-ink-4); text-align: center; }
.rk-lead li > a, .rk-lead li > span { flex: 1; min-width: 0; display: inline-flex; align-items: center; gap: 7px; color: var(--rk-ink-2); font-weight: 600; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rk-lead li > a:hover { color: var(--rk-accent); }
.rk-lead li > b { font-weight: 800; font-variant-numeric: tabular-nums; }
.rk-lead li.is-first { padding: 4px 0 10px; margin-bottom: 4px; border-bottom: 1px solid var(--rk-line-soft); }
.rk-lead li.is-first::before { color: var(--rk-accent); }
.rk-lead li.is-first > a, .rk-lead li.is-first > span { font-size: 0.98rem; font-weight: 800; color: var(--rk-ink); }
.rk-lead li.is-first > b { font-size: 1.7rem; font-weight: 900; letter-spacing: -0.02em; color: var(--rk-accent); }
.rk-lead li.is-me > a { color: var(--rk-accent); }
.rk-lead .rk-empty { padding: 10px 0 4px; text-align: left; font-size: 0.8rem; }

.rk-rank { margin: 0; padding: 0; list-style: none; }
.rk-rank li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--rk-line-soft); }
.rk-rank li:first-child { border-top: 0; }
.rk-rank li.is-me { margin: 0 -12px; padding-left: 12px; padding-right: 12px; border-radius: 12px; background: var(--rk-accent-wash); }
.rk-rank li.is-dim { opacity: .55; }
.rk-rank-no { flex: none; width: 1.8em; font-size: 0.95rem; font-weight: 900; text-align: center; color: var(--rk-ink-4); font-variant-numeric: tabular-nums; }
.rk-rank li:nth-child(-n+3) .rk-rank-no { color: var(--rk-accent); }
.rk-rank-main { flex: 1; min-width: 0; display: flex; flex-direction: column; text-decoration: none; }
.rk-rank-main b { font-size: 0.95rem; font-weight: 800; color: var(--rk-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rk-rank-main b small { font-size: 0.72rem; font-weight: 600; color: var(--rk-ink-4); }
.rk-rank-main span { font-size: 0.78rem; color: var(--rk-ink-3); }
a.rk-rank-main:hover b { color: var(--rk-accent); }
.rk-rank-val { flex: none; min-width: 3.2em; text-align: right; font-size: 1.15rem; font-weight: 900; font-variant-numeric: tabular-nums; }

/* ── 시상식 ─────────────────────────────────────────── */
.rk-podium { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 12px; }
.rk-podium-side { display: flex; flex-direction: column; gap: 12px; }
.rk-plaque { padding: 18px 20px; border: 1px solid var(--rk-line); border-left: 4px solid var(--team); border-radius: var(--rk-r); background: #fff; }
.rk-plaque-kind { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 0.8rem; font-weight: 800; color: var(--rk-ink-3); }
.rk-plaque h2, .rk-plaque h3 { margin: 6px 0 2px; font-weight: 900; letter-spacing: -0.02em; }
.rk-plaque h2 { font-size: 2.3rem; }
.rk-plaque h3 { font-size: 1.3rem; }
.rk-plaque h2 a, .rk-plaque h3 a { color: inherit; text-decoration: none; }
.rk-plaque-team { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 0.84rem; color: var(--rk-ink-2); }
.rk-plaque-value { margin: 10px 0 0; font-size: 0.92rem; font-weight: 700; color: var(--rk-ink-2); font-variant-numeric: tabular-nums; }
.rk-plaque.is-mvp { display: flex; flex-direction: column; justify-content: center; padding: 28px 28px 26px; box-shadow: 0 14px 32px -16px rgba(23, 26, 51, .25); }
.rk-plaque.is-mvp .rk-plaque-kind { color: var(--rk-gold); }
.rk-plaque.is-mvp .rk-glove { width: 18px; height: 18px; }
.rk-plaque-nums { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin: 22px 0 0; padding-top: 16px; border-top: 1px solid var(--rk-line-soft); }
.rk-plaque-nums > div { padding: 0 10px; border-left: 1px solid var(--rk-line-soft); }
.rk-plaque-nums > div:first-child { padding-left: 0; border-left: 0; }
.rk-plaque-nums dt { font-size: 0.74rem; font-weight: 600; color: var(--rk-ink-3); }
.rk-plaque-nums dd { margin: 2px 0 0; font-size: 1.6rem; font-weight: 900; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.rk-plaque-nums .is-war dd { color: var(--rk-accent); }

.rk-diamond { position: relative; width: 100%; max-width: 920px; margin: 0 auto; aspect-ratio: 1000 / 760; }
.rk-park { position: absolute; inset: 0; width: 100%; height: 100%; }
.rk-park-grass { fill: var(--rk-accent-wash); }
.rk-park-dirt { fill: #e4e6f8; }
.rk-park-line { stroke: #fff; stroke-width: 4; fill: none; }
.rk-park-mound { fill: #d9dcf5; }
.rk-park-base { fill: #fff; }
.rk-spot {
    position: absolute;
    width: 158px;
    padding: 8px 10px 9px;
    border: 1px solid var(--rk-line);
    border-top: 3px solid var(--team, var(--rk-line));
    border-radius: 10px;
    background: #fff;
    text-align: center;
    transform: translate(-50%, -50%);
    box-shadow: 0 8px 18px -10px rgba(23, 26, 51, .3);
}
.rk-spot-pos { display: block; font-size: 0.7rem; font-weight: 800; color: var(--rk-ink-3); }
.rk-spot b { display: block; margin-top: 2px; font-size: 0.98rem; font-weight: 900; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rk-spot b a { color: inherit; text-decoration: none; }
.rk-spot b a:hover { color: var(--rk-accent); }
.rk-spot-team { display: inline-flex; align-items: center; gap: 5px; font-size: 0.74rem; color: var(--rk-ink-2); }
.rk-spot-val { display: block; margin-top: 3px; font-size: 0.7rem; line-height: 1.35; color: var(--rk-ink-3); font-variant-numeric: tabular-nums; }
.rk-spot-none { display: block; margin-top: 4px; font-size: 0.78rem; color: var(--rk-ink-4); }
.rk-spot.is-vacant { border-style: dashed; border-top-width: 1px; background: rgba(255, 255, 255, .7); box-shadow: none; }
.rk-spot.is-of1 { left: 17%; top: 23%; }
.rk-spot.is-of2 { left: 50%; top: 12%; }
.rk-spot.is-of3 { left: 83%; top: 23%; }
.rk-spot.is-ss { left: 34%; top: 45%; }
.rk-spot.is-2b { left: 66%; top: 45%; }
.rk-spot.is-3b { left: 17%; top: 66%; }
.rk-spot.is-1b { left: 83%; top: 66%; }
.rk-spot.is-sp { left: 50%; top: 66%; }
.rk-spot.is-c { left: 50%; top: 91%; }
.rk-spot.is-dh { left: 86%; top: 91%; }

.rk-titles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.rk-titles li { display: flex; flex-direction: column; gap: 2px; padding: 14px 14px 12px; border: 1px solid var(--rk-line); border-top: 3px solid var(--team); border-radius: 12px; background: #fff; }
.rk-title-name { font-size: 0.76rem; font-weight: 800; color: var(--rk-ink-3); }
.rk-titles b { font-size: 1.4rem; font-weight: 900; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.rk-title-who { display: inline-flex; align-items: center; gap: 6px; font-size: 0.82rem; font-weight: 700; color: var(--rk-ink-2); }

/* ── 기록실 ─────────────────────────────────────────── */
.rk-hof {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 22px;
    padding: 26px 28px;
    border: 1px solid var(--rk-line);
    border-left: 6px solid var(--team);
    border-radius: var(--rk-r);
    background: #fff;
    box-shadow: 0 16px 36px -18px rgba(23, 26, 51, .28);
}
.rk-hof-rank { font-size: 4.2rem; font-weight: 900; line-height: .9; letter-spacing: -0.05em; color: var(--team); font-variant-numeric: tabular-nums; }
.rk-hof-main h3 { margin: 0; font-size: 1.9rem; font-weight: 900; letter-spacing: -0.02em; }
.rk-hof-main h3 a { color: inherit; text-decoration: none; }
.rk-hof-meta { display: flex; align-items: center; gap: 6px; margin: 4px 0 0; font-size: 0.85rem; color: var(--rk-ink-2); }
.rk-hof-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 16px; margin: 14px 0 0; font-variant-numeric: tabular-nums; }
.rk-hof-line b { font-size: 1.5rem; font-weight: 900; letter-spacing: -0.01em; }
.rk-hof-line span { font-size: 0.88rem; color: var(--rk-ink-3); }
.rk-hof-war { text-align: right; }
.rk-hof-war small { display: block; font-size: 0.75rem; font-weight: 700; color: var(--rk-ink-4); }
.rk-hof-war b { display: block; font-size: 3.2rem; font-weight: 900; line-height: 1; letter-spacing: -0.03em; color: var(--rk-accent); font-variant-numeric: tabular-nums; }

.rk-highs { margin: 10px 0 0; padding: 0; list-style: none; }
.rk-highs li { display: grid; grid-template-columns: 2.2em minmax(0, 1.1fr) minmax(0, 1.3fr) minmax(120px, 1fr); align-items: center; gap: 12px; padding: 12px 4px; border-bottom: 1px solid var(--rk-line); }
.rk-highs li.is-me { background: var(--rk-accent-wash); border-radius: 10px; }
.rk-highs-who { display: flex; flex-direction: column; min-width: 0; }
.rk-highs-who b { font-size: 0.98rem; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rk-highs-who b a { color: inherit; text-decoration: none; }
.rk-highs-who b a:hover { color: var(--rk-accent); }
.rk-highs-who > span { display: inline-flex; align-items: center; gap: 6px; font-size: 0.76rem; color: var(--rk-ink-3); }
.rk-highs-line { font-size: 0.85rem; color: var(--rk-ink-2); font-variant-numeric: tabular-nums; }
.rk-highs-war { position: relative; display: flex; align-items: center; gap: 8px; }
.rk-highs-war i { display: block; height: 10px; border-radius: 99px; background: var(--rk-accent); opacity: .85; }
.rk-highs-war b { font-size: 1.05rem; font-weight: 900; font-variant-numeric: tabular-nums; }

.rk-records { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0; padding: 0; list-style: none; }
.rk-records li { display: flex; flex-direction: column; gap: 3px; padding: 14px 14px 12px; border: 1px solid var(--rk-line); border-top: 3px solid var(--team, var(--rk-line)); border-radius: 12px; background: #fff; }
.rk-record-name { font-size: 0.76rem; font-weight: 800; color: var(--rk-ink-3); }
.rk-records b { font-size: 1.6rem; font-weight: 900; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.rk-records b.is-none { color: var(--rk-ink-4); }
.rk-record-who { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 0.8rem; font-weight: 600; color: var(--rk-ink-2); }

/* ── 선수 페이지 ────────────────────────────────────── */
.rk-ratings .rk-stat { margin: 0; padding: 6px 0; }
.rk-table-wrap { overflow-x: auto; border: 1px solid var(--rk-line); border-radius: var(--rk-r); background: #fff; }
.rk-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.rk-table th, .rk-table td { padding: 10px 12px; text-align: right; border-bottom: 1px solid var(--rk-line-soft); }
.rk-table thead th { font-size: 0.74rem; font-weight: 700; color: var(--rk-ink-3); background: #fafbfd; }
.rk-table th[scope="row"], .rk-table thead th:first-child, .rk-table .is-text { text-align: left; }
.rk-table tbody tr:last-child th, .rk-table tbody tr:last-child td { border-bottom: 0; }
.rk-table tr.is-first td, .rk-table tr.is-first th { font-weight: 700; }
.rk-table .is-war { font-weight: 900; color: var(--rk-accent); }

/* ── 반응형 ─────────────────────────────────────────── */
@media (max-width: 900px) {
    .rk-hero, .rk-podium { grid-template-columns: minmax(0, 1fr); }
    .rk-leads { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rk-titles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rk-records { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rk-teams { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
    .rk-grid { flex-direction: column; align-items: stretch; }
}
@media (max-width: 720px) {
    /* 다이아몬드는 위치별 목록으로 */
    .rk-diamond { aspect-ratio: auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
    .rk-park { display: none; }
    .rk-spot { position: static; width: auto; transform: none; text-align: left; box-shadow: none; }
    .rk-highs li { grid-template-columns: 2em minmax(0, 1fr) minmax(90px, .8fr); }
    .rk-highs-line { grid-column: 2 / 3; grid-row: 2; }
    .rk-hof { grid-template-columns: auto minmax(0, 1fr); padding: 20px; gap: 14px; }
    .rk-hof-war { grid-column: 1 / -1; display: flex; align-items: baseline; gap: 8px; text-align: left; }
    .rk-hof-war b { font-size: 2.4rem; }
}
@media (max-width: 575.98px) {
    .rk-title { font-size: 1.4rem; }
    .rk-season-bar { width: 110px; }
    .rk-card { padding: 20px 16px 16px; }
    .rk-number { width: 50px; font-size: 2.4rem; }
    /* 번호·OVR는 왼쪽, 선수 소개는 오른쪽에 두어 긴 이름도 읽을 수 있게 해요. */
    .rk-card-main { display: grid; grid-template-columns: 64px minmax(0, 1fr); align-items: start; gap: 10px 12px; }
    .rk .rk-card-main .rk-number { grid-column: 1; grid-row: 1; width: 100%; min-width: 0; }
    .rk-card-main .rk-who { grid-column: 2; grid-row: 1 / span 2; }
    .rk-name { font-size: 1.2rem; }
    .rk-card-main .rk-ovr { grid-column: 1; grid-row: 2; text-align: center; white-space: nowrap; }
    .rk-ovr b { font-size: 1.35rem; }
    .rk-board { padding: 14px 16px 16px; }
    .rk-board-rows li { grid-template-columns: 2.2em 9.4em minmax(0, 1fr); row-gap: 4px; }
    .rk-board-rows li .rk-wl { justify-self: end; }
    .rk-board-rows li .rk-gsum { grid-column: 2 / -1; }
    .rk-test .rk-board-rows li { grid-template-columns: 2.2em minmax(0, 1fr) max-content; }
    .rk-box { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 10px; }
    .rk-test .rk-board-rows li .rk-gsum { grid-column: auto; }
    .rk-line { padding: 16px; }
    .rk-line-head { flex-direction: column; align-items: flex-start; gap: 6px; }
    .rk-line-main { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 12px; }
    .rk-line-main > div:nth-child(4) { padding-left: 0; border-left: 0; }
    .rk-line-main dd { font-size: 1.45rem; }
    .rk-panel { padding: 16px; }
    /* 리더는 가로 레일(design-guardrails 5) */
    .rk-leads { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 0 16px 6px; gap: 10px; scrollbar-width: none; }
    .rk-leads::-webkit-scrollbar { display: none; }
    .rk-lead { flex: 0 0 78%; scroll-snap-align: start; }
    .rk-hof-rank { font-size: 3rem; }
    .rk-hof-main h3 { font-size: 1.45rem; }
    .rk-hof-line b { font-size: 1.15rem; }
    .rk-plaque h2 { font-size: 1.8rem; }
    .rk-plaque-nums { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 12px; }
    .rk-plaque-nums > div:nth-child(4) { padding-left: 0; border-left: 0; }
    .rk-plaque-nums dd { font-size: 1.35rem; }
    .rk-toast { bottom: 92px; }
}
@media (prefers-reduced-motion: reduce) {
    .rk *, .rk *::before, .rk *::after { transition: none !important; animation: none !important; }
}

/* ── 선수 일생: 진로 결정(진학 지원·드래프트) ───────────────── */
.rk-decide { margin-bottom: 12px; border-color: var(--rk-accent-line); box-shadow: 0 0 0 3px var(--rk-accent-wash); }
.rk-decide .rk-hint b { color: var(--rk-ink); }
.rk-decide-now { margin: 0 0 10px; font-size: 0.9rem; color: var(--rk-ink-2); }
.rk-decide-now b { color: var(--rk-ink); }
.rk-decide-form { display: flex; flex-wrap: wrap; gap: 8px; }
.rk-select { flex: 1 1 260px; min-width: 0; }
.rk-select select { width: 100%; min-height: 44px; padding: 0 12px; border: 1.5px solid var(--rk-line); border-radius: 12px; font-size: 0.92rem; color: var(--rk-ink); background: #fff; }
.rk-select select:focus { outline: none; border-color: var(--rk-accent); }
.rk-offer { display: flex; flex-direction: column; gap: 4px; margin: 10px 0 14px; padding: 16px 18px; border-left: 5px solid var(--team, var(--rk-accent)); border-radius: 12px; background: var(--rk-paper); }
.rk-offer.is-none { border-left-color: var(--rk-line); }
.rk-offer-pick { font-size: 1rem; font-weight: 700; color: var(--rk-ink-2); font-variant-numeric: tabular-nums; }
.rk-offer-pick b { font-size: 2rem; font-weight: 900; letter-spacing: -0.02em; color: var(--rk-ink); }
.rk-offer-team { display: inline-flex; align-items: center; gap: 8px; font-size: 1.15rem; font-weight: 900; }
.rk-offer-team em { padding: 2px 8px; border-radius: 99px; font-style: normal; font-size: 0.72rem; font-weight: 800; color: #fff; background: var(--rk-accent); }
.rk-paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.rk-path-opt { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; border: 1px solid var(--rk-line); border-radius: 12px; }
.rk-path-opt.is-main { border-color: var(--rk-accent-line); background: var(--rk-accent-wash); }
.rk-path-opt b { font-size: 1rem; font-weight: 900; }
.rk-path-opt > span { flex: 1; font-size: 0.8rem; line-height: 1.5; color: var(--rk-ink-3); }
.rk-path-opt .rk-select { flex: none; }
.rk-h3 { margin: 18px 0 8px; font-size: 0.9rem; font-weight: 800; color: var(--rk-ink-2); }
.rk-abroad { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 0 0 10px; padding: 0; list-style: none; }
.rk-abroad li { display: flex; flex-direction: column; gap: 6px; padding: 14px; border: 1px solid var(--rk-line); border-top: 3px solid var(--team, var(--rk-line)); border-radius: 12px; background: #fff; }
.rk-abroad li.is-none { background: var(--rk-paper); }
.rk-abroad-country { font-size: 0.74rem; font-weight: 800; color: var(--rk-ink-3); }
.rk-abroad b { display: inline-flex; align-items: center; gap: 6px; font-size: 0.95rem; font-weight: 900; }
.rk-abroad li > span:not(.rk-abroad-country) { flex: 1; font-size: 0.78rem; line-height: 1.5; color: var(--rk-ink-3); }
.rk-abroad strong { color: #b45309; }

/* 진로 칸 — 지나온 길·스카우트 평가·한계·특성 */
.rk-steps.is-path li { font-size: 0.7rem; }
.rk-facts { display: flex; flex-direction: column; gap: 6px; margin: 12px 0 0; }
.rk-facts > div { display: flex; justify-content: space-between; gap: 10px; font-size: 0.82rem; }
.rk-facts dt { font-weight: 600; color: var(--rk-ink-3); }
.rk-facts dd { margin: 0; font-weight: 700; text-align: right; }
.rk-stars { display: inline-flex; gap: 2px; vertical-align: -1px; }
.rk-stars i { width: 12px; height: 12px; background: var(--rk-line); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.rk-stars i.is-on { background: var(--rk-accent); }
.rk-traits { display: flex; flex-direction: column; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; }
.rk-traits li { padding: 8px 10px; border-radius: 10px; font-size: 0.78rem; line-height: 1.5; color: var(--rk-ink-2); background: var(--rk-accent-wash); }
.rk-traits b { display: block; font-size: 0.85rem; color: var(--rk-accent); }
.rk-pathlist { display: flex; flex-wrap: wrap; gap: 6px 4px; margin: 12px 0 0; padding: 10px 0 0; border-top: 1px dashed var(--rk-line); list-style: none; font-size: 0.76rem; }
.rk-pathlist li { display: inline-flex; align-items: baseline; gap: 4px; }
.rk-pathlist li + li::before { content: "→"; margin-right: 2px; color: var(--rk-ink-4); }
.rk-pathlist span, .rk-pathlist small { color: var(--rk-ink-4); }
.rk-pathlist b { font-weight: 800; }
.rk-legacy-note { margin-bottom: 12px; }
.rk-legacy-note p { margin: 0; font-size: 0.88rem; }
.rk-legacy-note a { color: var(--rk-ink); }
.rk-board-note.is-xp { color: var(--rk-led); }

/* 시상식 — 다른 리그 MVP · 기록실 — 이정표·통산 순위 */
.rk-titles.is-others b { font-size: 1.15rem; }
.rk-titles b a { color: inherit; text-decoration: none; }
.rk-titles b a:hover, .rk-title-who a:hover { color: var(--rk-accent); }
.rk-title-who a { color: var(--rk-ink-3); font-weight: 600; }
.rk-miles { margin: 0; padding: 4px 16px; border: 1px solid var(--rk-line); border-radius: var(--rk-r); list-style: none; background: #fff; }
.rk-miles li { display: flex; gap: 10px; padding: 9px 0; border-top: 1px solid var(--rk-line-soft); font-size: 0.85rem; }
.rk-miles li:first-child { border-top: 0; }
.rk-miles time { flex: none; width: 5.2em; color: var(--rk-ink-4); font-variant-numeric: tabular-nums; }
.rk-miles a { flex: none; font-weight: 800; color: var(--rk-ink); text-decoration: none; }
.rk-miles a:hover { color: var(--rk-accent); }
.rk-career-table th a { font-weight: 800; color: inherit; text-decoration: none; }
.rk-career-table th a:hover { color: var(--rk-accent); }
.rk-table tr.is-sum th, .rk-table tr.is-sum td { background: #fafbfd; }
@media (max-width: 720px) {
    .rk-paths, .rk-abroad { grid-template-columns: minmax(0, 1fr); }
}

/* 승격 심사 조건(OVR·최소 체류·최근 성적 과제) */
.rk-gate { display: flex; flex-direction: column; gap: 4px; margin: 10px 0 0; padding: 0; list-style: none; font-size: 0.78rem; color: var(--rk-ink-3); }
.rk-gate li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 6px; padding-left: 20px; position: relative; }
.rk-gate li::before { content: ""; position: absolute; left: 2px; top: 4px; width: 11px; height: 11px; border: 1.5px solid var(--rk-line); border-radius: 50%; }
.rk-gate li.is-ok { color: var(--rk-ink); }
.rk-gate li.is-ok::before { border-color: var(--rk-accent); background: var(--rk-accent); box-shadow: inset 0 0 0 2px #fff; }
.rk-gate small { color: var(--rk-ink-4); }

/* ── 야구선수 키우기 라이트(rl-) — 한 판 30분 커리어 ───────────────── */
.rl-main { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 14px; align-items: start; }
.rl-side { position: sticky; top: 76px; }
.rl-stage { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.rl-stage .rk-h2 { margin: 14px 0 0; }
.rl-stage-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 12px; margin: 0; font-size: 0.9rem; color: var(--rk-ink-3); }
.rl-stage-head b { font-size: 1.15rem; font-weight: 900; color: var(--rk-ink); }
.rl-plan { display: flex; flex-direction: column; gap: 12px; }
.rl-story { margin: 6px 0 12px; font-size: 0.92rem; line-height: 1.65; color: var(--rk-ink-2); }
.rl-programs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.rl-programs.is-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.rl-choice { position: relative; }
.rl-choice input { position: absolute; opacity: 0; pointer-events: none; }
.rl-choice span { display: flex; flex-direction: column; gap: 3px; height: 100%; padding: 12px 14px; border: 1.5px solid var(--rk-line); border-radius: 12px; background: #fff; cursor: pointer; }
.rl-choice b { font-size: 0.95rem; font-weight: 800; }
.rl-choice small { font-size: 0.76rem; line-height: 1.45; color: var(--rk-ink-3); }
.rl-choice input:checked + span { border-color: var(--rk-accent); background: var(--rk-accent-wash); }
.rl-choice input:focus-visible + span { outline: 2px solid var(--rk-accent); outline-offset: 2px; }
.rl-choice input:disabled + span { opacity: .45; cursor: not-allowed; }
.rl-pathcard { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px; border: 1px solid var(--rk-line); border-top: 3px solid var(--team, var(--rk-line)); border-radius: 12px; background: #fff; }
.rl-pathcard.is-main { border-color: var(--rk-accent-line); background: var(--rk-accent-wash); }
.rl-pathcard > b { display: inline-flex; align-items: center; gap: 6px; font-size: 1rem; font-weight: 900; }
.rl-pathcard > span { flex: 1; font-size: 0.8rem; line-height: 1.5; color: var(--rk-ink-3); }
.rl-farewell { border-left: 4px solid var(--team); }
.rl-farewell h2 { margin: 2px 0 6px; font-size: 1.15rem; font-weight: 900; }
.rl-farewell h2 a { color: inherit; text-decoration: none; }
.rl-farewell p { margin: 0; font-size: 0.86rem; line-height: 1.6; color: var(--rk-ink-2); }
.rl-stats { margin-top: 12px; }
.rl-card .rk-facts { margin-top: 12px; padding-top: 10px; border-top: 1px dashed var(--rk-line); }

/* 시즌 전광판 — 달마다 한 줄 */
.rk-board-rows li.rl-month { grid-template-columns: 7.2em minmax(0, 1fr) max-content; transition: opacity .35s ease, transform .35s ease; }
.rl-month .rk-gno { white-space: nowrap; }
.rl-mline { font-size: 0.92rem; font-weight: 700; color: var(--rk-board-ink); font-variant-numeric: tabular-nums; }
.rl-wl { font-size: 0.8rem; font-weight: 700; color: var(--rk-board-dim); font-variant-numeric: tabular-nums; white-space: nowrap; }
.rl-month.is-hot .rl-mline { color: var(--rk-led); text-shadow: 0 0 14px rgba(165, 180, 252, .5); }
.rl-final { margin: 10px 0 0; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .09); font-size: 0.92rem; font-weight: 700; color: var(--rk-board-ink); transition: opacity .35s ease; }
.rl-final b { color: var(--rk-led); }
.rl-skip { display: none; margin-top: 10px; padding: 6px 12px; border: 1px solid rgba(255, 255, 255, .2); border-radius: 99px; background: transparent; color: var(--rk-board-dim); font-size: 0.78rem; font-weight: 700; cursor: pointer; }
.rl-ticker.is-playing .rl-skip { display: inline-block; }
.rl-wait { opacity: 0; transform: translateY(6px); pointer-events: none; }
.rl-result.rl-wait { transform: none; }
.rl-choice-result p { margin: 0 0 6px; font-weight: 700; }
.rl-choice-result small { color: var(--rk-ink-3); }
.rl-reactions ul { margin: 0; padding: 0; list-style: none; }
.rl-reactions li + li { border-top: 1px solid var(--rk-line); padding-top: 12px; margin-top: 12px; }
.rl-reactions li > b { font-size: .76rem; color: var(--rk-ink-3); }
.rl-reactions li > p { margin: 4px 0 0; font-size: .88rem; line-height: 1.6; }

/* 결산 */
.rl-line { margin: 10px 0 4px; }
.rl-awards { display: flex; flex-wrap: wrap; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; }
.rl-awards.is-list { flex-direction: column; align-items: flex-start; }
.rl-award { display: inline-flex; align-items: center; gap: 4px; margin: 1px 4px 1px 0; padding: 3px 9px; border-radius: 99px; font-size: 0.74rem; font-weight: 700; color: var(--rk-ink-2); background: var(--rk-line-soft); white-space: nowrap; }
.rl-award.is-mvp, .rl-award.is-gg, .rl-award.is-ace, .rl-award.is-title, .rl-award.is-rookie, .rl-award.is-minor { background: var(--rk-gold-wash); }
.rl-award.is-ring { color: #fff; background: var(--rk-accent); }
.rl-award.is-allstar, .rl-award.is-national { color: var(--rk-accent); background: var(--rk-accent-wash); }
.rl-deltas { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin: 14px 0 0; padding: 0; list-style: none; }
.rl-deltas li { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 4px; border-radius: 10px; background: var(--rk-line-soft); font-size: 0.74rem; color: var(--rk-ink-3); }
.rl-deltas b { font-size: 1.05rem; font-weight: 900; color: var(--rk-ink-2); font-variant-numeric: tabular-nums; }
.rl-deltas li.is-up b { color: var(--rk-accent); }
.rl-deltas li.is-down b { color: var(--rk-fail); }
.rl-news { display: flex; flex-direction: column; gap: 4px; margin: 12px 0; padding: 0; list-style: none; font-size: 0.86rem; color: var(--rk-ink-2); }
.rl-news li { padding-left: 14px; position: relative; }
.rl-news li::before { content: ""; position: absolute; left: 2px; top: .6em; width: 5px; height: 5px; border-radius: 50%; background: var(--rk-accent); }
.rl-years td.is-text { white-space: normal; min-width: 5em; }
.rl-years td.is-text:nth-of-type(6) { min-width: 15em; }
@media (max-width: 900px) {
    .rl-main { grid-template-columns: minmax(0, 1fr); }
    .rl-side { position: static; order: 2; }                 /* 좁은 화면은 할 일(비시즌·결산·갈림길)이 먼저 */
    .rl-stage { order: 1; }
    .rl-years td.is-text { white-space: nowrap; }            /* 연표는 옆으로 밀어 보게 */
    .rl-programs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) {
    .rl-programs, .rl-programs.is-two { grid-template-columns: minmax(0, 1fr); }
    .rl-deltas { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .rk-board-rows li.rl-month { grid-template-columns: 6em minmax(0, 1fr); }
    .rl-wl { grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) {
    .rl-wait { opacity: 1; transform: none; }
}

/* 두 판 공용 하단 고지 */
.rk-rights { margin: 36px 0 0; padding-top: 14px; border-top: 1px solid var(--rk-line); text-align: center; }
.rk-rights p { margin: 0; font-size: 0.75rem; line-height: 1.7; color: var(--rk-ink-4); }

/* ── 연구실 사람들(코칭스태프·기자) — LimeZu 16×32 픽셀 인물, 정면 6프레임(18~23) 숨쉬기 ── */
.rk-staff { display: inline-flex; align-items: flex-end; justify-content: center; flex: none; width: 52px; height: 70px; border-radius: 14px 14px 26px 26px; background: linear-gradient(180deg, var(--rk-accent-wash) 0 62%, var(--rk-accent-line) 62% 100%); overflow: hidden; }
.rk-staff.is-big { width: 68px; height: 92px; }
.rk-sprite { display: block; width: 32px; height: 64px; background-image: var(--sprite); background-repeat: no-repeat; background-size: 768px 64px; background-position: -576px 0; image-rendering: pixelated; animation: rk-breathe 1s steps(6) infinite; }
.rk-staff.is-big .rk-sprite { width: 48px; height: 96px; margin-bottom: -6px; background-size: 1152px 96px; background-position: -864px 0; animation-name: rk-breathe-big; }
@keyframes rk-breathe { from { background-position: -576px 0; } to { background-position: -768px 0; } }
@keyframes rk-breathe-big { from { background-position: -864px 0; } to { background-position: -1152px 0; } }

/* 말풍선 — 사람이 직접 말하는 칸 */
.rl-say { display: flex; align-items: flex-end; gap: 12px; margin: 4px 0 14px; }
.rl-bubble { position: relative; flex: 1; min-width: 0; padding: 12px 16px 13px; border: 1px solid var(--rk-line); border-radius: 14px 14px 14px 4px; background: #fff; }
.rl-bubble::before { content: ""; position: absolute; left: -7px; bottom: 10px; width: 12px; height: 12px; border-left: 1px solid var(--rk-line); border-bottom: 1px solid var(--rk-line); background: #fff; transform: rotate(45deg); }
.rl-bubble p { margin: 0; font-size: 0.93rem; line-height: 1.65; color: var(--rk-ink-2); }
.rl-bubble p.rl-who { margin-bottom: 2px; font-size: 0.76rem; color: var(--rk-ink-3); }
.rl-who b { font-size: 0.86rem; font-weight: 800; color: var(--rk-ink); }
.rl-say.is-big .rl-bubble p:not(.rl-who) { font-size: 1rem; }
.rl-say.is-small .rl-bubble { background: var(--rk-paper); }
.rl-say.is-small .rl-bubble::before { background: var(--rk-paper); }
.rl-say.is-news { margin-top: 16px; }
.rl-say .rl-news { margin: 4px 0 0; }
.rl-welcome { margin: 4px 0 14px; }
.rl-guest-note { margin: 8px 0 0; padding: 10px 14px; border-radius: 12px; font-size: 0.84rem; line-height: 1.6; color: var(--rk-ink-2); background: var(--rk-accent-wash); }
.rl-guest-note a { font-weight: 800; color: var(--rk-accent); }

/* 해야 할 일 — 차례가 있는 단계라 번호를 단다 */
.rk-panel > h2.rl-step, .rl-step { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin: 0 0 12px; font-size: 1.12rem; font-weight: 800; letter-spacing: -0.01em; color: var(--rk-ink); }
.rl-step > span { display: inline-grid; place-items: center; flex: none; width: 26px; height: 26px; border-radius: 50%; font-size: 0.85rem; font-weight: 900; color: #fff; background: var(--rk-accent); font-variant-numeric: tabular-nums; }
.rl-step em { font-style: normal; color: var(--rk-accent); text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 5px; text-decoration-color: var(--rk-accent-line); }
.rl-step.is-sub { margin: 18px 0 10px; font-size: 1rem; }
.rl-step.is-sub > span { width: 22px; height: 22px; font-size: 0.78rem; }
.rl-count { margin-left: auto; padding: 3px 12px; border-radius: 99px; font-size: 0.85rem; font-weight: 900; color: var(--rk-ink-3); background: var(--rk-line-soft); font-variant-numeric: tabular-nums; }
.rl-count.is-done { color: #fff; background: var(--rk-accent); }
.rl-choice.is-check span { padding-left: 40px; }
.rl-choice.is-check span::before { content: ""; position: absolute; left: 14px; top: 15px; width: 16px; height: 16px; border: 1.5px solid var(--rk-line); border-radius: 5px; background: #fff; }
.rl-choice.is-check input:checked + span::before { border-color: var(--rk-accent); background: var(--rk-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.rl-go:disabled { opacity: 1; color: var(--rk-ink-3); background: var(--rk-line-soft); border-color: var(--rk-line); cursor: not-allowed; }
@media (prefers-reduced-motion: reduce) {
    .rk-sprite { animation: none; }
}
@media (max-width: 575.98px) {
    .rk-panel > h2.rl-step, .rl-step { font-size: 1.02rem; }
    .rl-count { margin-left: 34px; }
    .rk-staff { width: 44px; height: 60px; }
    .rk-staff .rk-sprite { width: 28px; height: 56px; background-size: 672px 56px; background-position: -504px 0; animation-name: rk-breathe-sm; }
    @keyframes rk-breathe-sm { from { background-position: -504px 0; } to { background-position: -672px 0; } }
}

/* ══ 라이트 게임 화면(2026-10-18 개편: "실제 게임처럼 몰입감") — 「야간 경기 중계」 ══════════════════
 * 어두운 면은 중계 패키지처럼 쓴다: 맨 위 HUD 띠, 전광판, 감독실, 은퇴 카드. 나머지는 밝은 종이 위.
 * 색은 남색(전광판 계열)·LED 라벤더·인디고 하나. 구단 색은 정체성 띠·카드 테두리에만. */
.rl { --rl-night: #0e1130; --rl-night-2: #1b1f4b; --rl-glow: rgba(79, 70, 229, .45); }

/* HUD — 소속 · 달력 · 사다리 · 감독 신뢰 · OVR */
.rl-hud { display: grid; grid-template-columns: minmax(0, 1.25fr) auto minmax(0, 1.6fr) auto auto; align-items: center; gap: 10px 22px; margin: 0 0 14px; padding: 12px 20px; border-radius: 16px; color: var(--rk-board-ink); background-color: var(--rl-night); background-image: linear-gradient(90deg, color-mix(in srgb, var(--team) 30%, transparent) 0, transparent 42%), radial-gradient(rgba(255, 255, 255, .05) 1px, transparent 1.3px); background-size: auto, 6px 6px; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07), 0 14px 30px -18px rgba(14, 17, 48, .8); }
.rl-hud-team { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.rl-hud-team b { display: inline-flex; align-items: center; gap: 7px; overflow: hidden; font-size: 1rem; font-weight: 900; white-space: nowrap; text-overflow: ellipsis; color: #fff; }
.rl-hud-team .rk-dot { flex: none; box-shadow: 0 0 0 2px rgba(255, 255, 255, .25); }
.rl-hud-team > span, .rl-hud-time span, .rl-hud-trust span, .rl-hud-ovr span { font-size: 0.72rem; font-weight: 700; color: var(--rk-board-dim); }
.rl-hud-time { display: flex; flex-direction: column; }
.rl-hud-time b { font-size: 1.25rem; font-weight: 900; line-height: 1.1; color: var(--rk-led); font-variant-numeric: tabular-nums; }
.rl-hud-ladder { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; }
.rl-hud-ladder li { position: relative; flex: 1 1 0; min-width: 0; padding-top: 14px; overflow: hidden; font-size: 0.72rem; font-weight: 700; text-align: center; white-space: nowrap; text-overflow: ellipsis; color: rgba(238, 240, 255, .45); }
.rl-hud-ladder li::before { content: ""; position: absolute; top: 4px; left: 0; right: 0; height: 2px; background: rgba(255, 255, 255, .12); }
.rl-hud-ladder li::after { content: ""; position: absolute; top: 1px; left: 50%; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: #2b3066; box-shadow: 0 0 0 2px var(--rl-night); }
.rl-hud-ladder li.is-done { color: var(--rk-board-dim); }
.rl-hud-ladder li.is-done::before, .rl-hud-ladder li.is-on::before { background: var(--rk-led); opacity: .55; }
.rl-hud-ladder li.is-done::after { background: var(--rk-led); }
.rl-hud-ladder li.is-on { color: #fff; }
.rl-hud-ladder li.is-on::after { width: 12px; height: 12px; top: -1px; margin-left: -6px; background: var(--rk-accent); box-shadow: 0 0 0 2px var(--rl-night), 0 0 12px 2px var(--rl-glow); }
.rl-hud-trust { display: grid; grid-template-columns: auto auto; align-items: center; gap: 2px 8px; }
.rl-hud-trust span { grid-column: 1 / -1; }
.rl-hud-trust b, .rl-trust b { font-size: 0.95rem; font-weight: 900; color: #fff; font-variant-numeric: tabular-nums; }
.rl-meter { position: relative; display: block; width: 84px; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.rl-meter::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--v, 50%); border-radius: inherit; background: linear-gradient(90deg, #6366f1, var(--rk-led)); }
.rl-hud-ovr { display: flex; flex-direction: column; align-items: flex-end; }
.rl-hud-ovr b { font-size: 1.75rem; font-weight: 900; line-height: 1; letter-spacing: -0.02em; color: var(--rk-led); text-shadow: 0 0 16px rgba(165, 180, 252, .45); font-variant-numeric: tabular-nums; }

/* 선수 카드 — 수집 카드처럼: 구단 색 머리띠 + 칸 나뉜 능력 막대 */
.rl-card { padding-top: 0; border: 0; box-shadow: 0 0 0 1px var(--rk-line), 0 18px 34px -22px rgba(23, 26, 51, .45); }
.rl-card::before { display: none; }
.rl-card .rk-card-top { margin: 0 -20px; padding: 12px 20px; color: #fff; background: linear-gradient(115deg, var(--team), color-mix(in srgb, var(--team) 45%, #0e1130)); }
.rl-card .rk-team { color: #fff; }
.rl-card .rk-team .rk-dot { background: #fff; }
.rl-card .rk-tier { color: var(--rl-night); background: #fff; }
.rl-card .rk-number { font-size: 3.4rem; color: var(--team); }
.rl-card .rk-bar { height: 9px; border-radius: 3px; }
.rl-card .rk-bar::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 calc(10% - 2px), #fff calc(10% - 2px) 10%); pointer-events: none; }
.rl-card .rk-bar i { border-radius: 0; background: linear-gradient(90deg, #818cf8, var(--rk-accent)); }

/* 장면 머리 */
.rl-scene { margin: 2px 0 0; }
.rl-scene-kicker { margin: 0; font-size: 0.78rem; font-weight: 800; color: var(--rk-accent); }
.rl-scene-title { margin: 2px 0 4px; font-size: 1.5rem; font-weight: 900; letter-spacing: -0.025em; color: var(--rk-ink); }
.rl-scene-sub { margin: 0; font-size: 0.88rem; color: var(--rk-ink-3); }
.rl-scene-sub b { color: var(--rk-ink); }

/* 훈련 — 스킬 카드 */
.rl-skills { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.rl-skill { position: relative; }
.rl-skill input { position: absolute; opacity: 0; pointer-events: none; }
.rl-skill-card { position: relative; display: flex; flex-direction: column; gap: 3px; height: 100%; padding: 14px 14px 13px; border: 1.5px solid var(--rk-line); border-radius: 14px; background: #fff; cursor: pointer; transition: border-color .15s ease, box-shadow .15s ease; }
.rl-skill-card .rl-icon { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 6px; border-radius: 11px; color: var(--rk-accent); background: var(--rk-accent-wash); }
.rl-skill-card .rl-icon svg { width: 22px; height: 22px; }
.rl-skill-card b { font-size: 0.98rem; font-weight: 800; color: var(--rk-ink); }
.rl-skill-card small { font-size: 0.76rem; line-height: 1.45; color: var(--rk-ink-3); }
.rl-skill-card::after { content: ""; position: absolute; top: 12px; right: 12px; width: 20px; height: 20px; border: 1.5px solid var(--rk-line); border-radius: 50%; background: #fff; }
.rl-skill input:checked + .rl-skill-card { border-color: var(--rk-accent); box-shadow: 0 0 0 3px var(--rk-accent-line), 0 10px 22px -14px var(--rl-glow); }
.rl-skill input:checked + .rl-skill-card::after { border-color: var(--rk-accent); background: var(--rk-accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat; }
.rl-skill input:checked + .rl-skill-card .rl-icon { color: #fff; background: var(--rk-accent); }
.rl-skill input:focus-visible + .rl-skill-card { outline: 2px solid var(--rk-accent); outline-offset: 2px; }
.rl-skill input:disabled + .rl-skill-card { cursor: not-allowed; opacity: .5; }
.rl-skill.is-locked .rl-skill-card { opacity: 1; border-style: dashed; background: repeating-linear-gradient(135deg, #fff 0 10px, var(--rk-paper) 10px 20px); }
.rl-skill.is-locked .rl-skill-card::after { display: none; }
.rl-skill.is-locked .rl-icon { color: var(--rk-ink-4); background: var(--rk-line-soft); }
.rl-skill.is-locked b, .rl-skill.is-locked small { color: var(--rk-ink-4); }
.rl-lock { display: inline-flex; align-items: center; gap: 4px; margin-top: 6px; font-style: normal; font-size: 0.72rem; font-weight: 800; color: var(--rk-ink-2); }
.rl-lock i { display: inline-flex; width: 14px; height: 14px; }
.rl-lock svg { width: 14px; height: 14px; }
.rl-cap { display: inline-flex; margin-top: 6px; font-style: normal; font-size: 0.72rem; font-weight: 800; color: var(--rk-fail); }
.rl-warn { margin: 10px 0 0; padding: 9px 12px; border-radius: 10px; font-size: 0.84rem; font-weight: 700; color: var(--rk-fail); background: #fff1f2; }
.rl-warn[hidden] { display: none; }

/* 훈련 강도 — 게이지 */
.rl-gauge { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.rl-gauge-opt { position: relative; }
.rl-gauge-opt input { position: absolute; opacity: 0; pointer-events: none; }
.rl-gauge-opt > span { display: flex; flex-direction: column; gap: 2px; padding: 11px 12px 12px; border: 1.5px solid var(--rk-line); border-radius: 12px; background: #fff; cursor: pointer; }
.rl-gauge-opt b { font-size: 0.92rem; font-weight: 800; }
.rl-gauge-opt small { font-size: 0.74rem; color: var(--rk-ink-3); font-variant-numeric: tabular-nums; }
.rl-gauge-bar { position: relative; display: block; height: 6px; margin-top: 7px; border-radius: 99px; background: var(--rk-line-soft); overflow: hidden; }
.rl-gauge-bar::before { content: ""; position: absolute; inset: 0 auto 0 0; border-radius: inherit; background: #a5b4fc; }
.rl-gauge-opt.is-light .rl-gauge-bar::before { width: 34%; }
.rl-gauge-opt.is-normal .rl-gauge-bar::before { width: 67%; background: #818cf8; }
.rl-gauge-opt.is-hard .rl-gauge-bar::before { width: 100%; background: var(--rk-accent); }
.rl-gauge-opt input:checked + span { border-color: var(--rk-accent); background: var(--rk-accent-wash); }
.rl-gauge-opt input:focus-visible + span { outline: 2px solid var(--rk-accent); outline-offset: 2px; }

/* 국가대표 소집 */
.rl-tourneys { display: flex; flex-direction: column; gap: 8px; margin: 0; padding: 0; list-style: none; }
.rl-tourney { display: grid; grid-template-columns: minmax(0, 1fr); align-items: center; gap: 8px 14px; min-width: 0; padding: 12px 14px; border: 1px solid var(--rk-line); border-left: 4px solid var(--rk-accent); border-radius: 12px; background: #fff; }
.rl-tourney-main b { display: block; font-size: 1.02rem; font-weight: 900; }
.rl-tourney-main span { font-size: 0.78rem; color: var(--rk-ink-3); }
.rl-tags { grid-column: 1; display: flex; flex-wrap: wrap; gap: 4px; }
.rl-tag { padding: 2px 8px; border-radius: 6px; font-size: 0.72rem; font-weight: 700; color: var(--rk-ink-2); background: var(--rk-line-soft); }
.rl-tag.is-good { color: var(--rk-accent); background: var(--rk-accent-wash); }
.rl-seg { grid-column: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; padding: 3px; border-radius: 14px; background: var(--rk-line-soft); }
.rl-seg label { position: relative; min-width: 0; }
.rl-seg input { position: absolute; opacity: 0; pointer-events: none; }
.rl-seg span { display: flex; align-items: center; justify-content: center; height: 100%; min-height: 44px; padding: 7px 13px; border-radius: 11px; font-size: 0.8rem; font-weight: 800; line-height: 1.5; color: var(--rk-ink-3); white-space: normal; overflow-wrap: anywhere; text-align: center; cursor: pointer; }
.rl-seg input:checked + span { color: #fff; background: var(--rk-accent); box-shadow: 0 4px 12px -6px var(--rl-glow); }
.rl-seg input[value=skip]:checked + span { color: var(--rk-ink); background: #fff; box-shadow: 0 1px 2px rgba(23, 26, 51, .12); }
.rl-seg input:focus-visible + span { outline: 2px solid var(--rk-accent); outline-offset: 2px; }

/* 전광판 — LIVE 표시 · 시즌 중 이동 줄 */
.rl-live { display: inline-flex; align-items: center; gap: 5px; margin-right: 8px; padding: 1px 7px 1px 6px; border-radius: 4px; font-style: normal; font-size: 0.66rem; font-weight: 900; letter-spacing: .06em; color: var(--rl-night); background: var(--rk-led); }
.rl-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--rl-night); }
.rl-ticker.is-playing .rl-live::before { animation: rl-blink 1s steps(2) infinite; }
@keyframes rl-blink { 50% { opacity: .15; } }
.rk-board-rows li.rl-month.is-move { margin: 4px -8px; padding: 8px; border: 0; border-radius: 8px; background: rgba(79, 70, 229, .35); }
.rl-month.is-move .rk-gno, .rl-month.is-move .rl-wl { color: #fff; }
.rl-splits { display: flex; flex-direction: column; gap: 6px; margin: 12px 0 0; padding: 0; list-style: none; }
.rl-splits li { display: grid; grid-template-columns: 7.5em minmax(0, 1fr); gap: 2px 10px; padding: 8px 12px; border-radius: 10px; font-size: 0.82rem; color: var(--rk-ink-2); background: var(--rk-paper); }
.rl-splits b { grid-row: 1 / span 2; font-weight: 900; color: var(--rk-ink); }
.rl-splits span:last-child { font-weight: 700; font-variant-numeric: tabular-nums; }

/* 기사 — 스포츠 신문 지면 */
.rl-paper { position: relative; padding: 16px 20px 14px; border: 1px solid var(--rk-line); border-radius: var(--rk-r); background: #fff; transition: opacity .35s ease, transform .35s ease; }
.rl-masthead { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin: 0 0 12px; padding-bottom: 8px; border-bottom: 3px double var(--rk-ink); }
.rl-masthead b { font-size: 1.05rem; font-weight: 900; letter-spacing: -0.03em; color: var(--rk-ink); }
.rl-masthead span { font-size: 0.74rem; font-weight: 700; color: var(--rk-ink-3); }
.rl-lead { padding-bottom: 12px; border-bottom: 1px solid var(--rk-line); }
.rl-lead em, .rl-heads em { margin-right: 6px; font-style: normal; font-weight: 900; color: var(--rk-accent); }
.rl-lead h3 { display: inline; margin: 0; font-size: 1.32rem; font-weight: 900; line-height: 1.35; letter-spacing: -0.03em; color: var(--rk-ink); word-break: keep-all; }
.rl-lead p { margin: 6px 0 0; font-size: 0.84rem; font-weight: 600; color: var(--rk-ink-3); font-variant-numeric: tabular-nums; }
.rl-heads { margin: 0; padding: 0; list-style: none; }
.rl-heads li { padding: 9px 0; border-bottom: 1px solid var(--rk-line-soft); }
.rl-heads li:last-child { border-bottom: 0; }
.rl-heads b { font-size: 0.98rem; font-weight: 800; letter-spacing: -0.02em; color: var(--rk-ink); word-break: keep-all; }
.rl-heads small { display: block; margin-top: 2px; font-size: 0.76rem; color: var(--rk-ink-3); font-variant-numeric: tabular-nums; }
.rl-paper.is-mini { padding: 12px 16px 6px; }
.rl-paper.is-mini .rl-masthead { margin-bottom: 4px; }
.rl-paper.is-mini .rl-heads b { font-size: 0.9rem; }
.rl-byline { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin: 8px 0 0; font-size: 0.76rem; color: var(--rk-ink-3); }
.rl-byline b { color: var(--rk-ink); }
.rl-byline .rk-staff { width: 34px; height: 46px; border-radius: 10px 10px 16px 16px; }
.rl-byline .rk-staff .rk-sprite { width: 24px; height: 48px; margin-bottom: -6px; background-size: 576px 48px; background-position: -432px 0; animation-name: rl-breathe-xs; }
@keyframes rl-breathe-xs { from { background-position: -432px 0; } to { background-position: -576px 0; } }
.rl-diary h3 { margin-top: 0; }
.rl-diary .rl-news { margin: 0; }
.rl-next { transition: opacity .35s ease; }

/* 감독실 — 장면 + 대사 창 + 답 고르기 */
.rl-room { overflow: hidden; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--rk-line), 0 22px 44px -26px rgba(14, 17, 48, .55); }
.rl-room-scene { position: relative; height: 250px; overflow: hidden; color: #fff; background:
    radial-gradient(120px 90px at 82% 22%, rgba(165, 180, 252, .32), transparent 70%),
    linear-gradient(180deg, transparent 0 70%, #23285e 70% 72%, #181c45 72% 100%),
    linear-gradient(180deg, #232968 0, var(--rl-night) 100%); }
.rl-room-scene::before { content: ""; position: absolute; top: 26px; right: 7%; width: 132px; height: 88px; border-radius: 6px; background: linear-gradient(135deg, rgba(165, 180, 252, .28), rgba(165, 180, 252, .06)); box-shadow: inset 0 0 0 3px rgba(255, 255, 255, .08); }
.rl-room-scene::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background: radial-gradient(rgba(255, 255, 255, .05) 1px, transparent 1.3px) 0 0 / 6px 6px; }
.rl-room-tag { position: absolute; top: 14px; left: 18px; margin: 0; padding: 3px 10px; border-radius: 99px; font-size: 0.74rem; font-weight: 800; color: var(--rl-night); background: var(--rk-led); }
.rl-trust { position: absolute; top: 14px; right: 18px; z-index: 2; display: flex; align-items: center; gap: 8px; padding: 5px 10px; border-radius: 10px; background: rgba(14, 17, 48, .6); }
.rl-trust span { font-size: 0.72rem; font-weight: 700; color: var(--rk-board-dim); }
.rl-room-desk { position: absolute; left: 9%; bottom: 22%; z-index: 1; }
.rl-room .rk-staff { background: none; border-radius: 0; overflow: visible; }
.rk-staff.is-huge { width: 96px; height: 128px; }
.rk-staff.is-huge .rk-sprite { width: 64px; height: 128px; background-size: 1536px 128px; background-position: -1152px 0; animation-name: rk-breathe-huge; }
@keyframes rk-breathe-huge { from { background-position: -1152px 0; } to { background-position: -1536px 0; } }
.rl-room-desk::after { content: ""; position: absolute; left: -18px; right: -60px; bottom: -14px; height: 34px; border-radius: 6px 6px 0 0; background: linear-gradient(180deg, #3a3f86, #262b66); box-shadow: inset 0 2px 0 rgba(255, 255, 255, .14); }
.rl-rival { position: absolute; right: 18px; bottom: 26%; z-index: 2; display: flex; flex-direction: column; gap: 1px; max-width: 46%; padding: 10px 14px; border: 1px solid rgba(255, 255, 255, .14); border-radius: 12px; background: rgba(14, 17, 48, .72); }
.rl-rival small { font-size: 0.7rem; font-weight: 700; color: var(--rk-board-dim); }
.rl-rival b { font-size: 1rem; font-weight: 900; color: #fff; }
.rl-rival span { font-size: 0.78rem; font-weight: 700; color: var(--rk-led); font-variant-numeric: tabular-nums; }
.rk .rl-room-title { position: absolute; left: 18px; top: 46px; z-index: 2; margin: 0; font-size: 1.45rem; font-weight: 900; letter-spacing: -0.03em; color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, .4); }
.rl-dialog { position: relative; margin: -2px 14px 0; padding: 18px 18px 14px; border: 1.5px solid var(--rk-ink); border-radius: 0 0 14px 14px; border-top: 0; background: #fff; }
.rl-dialog-name { position: absolute; top: -13px; left: 14px; margin: 0; padding: 3px 12px; border-radius: 8px; font-size: 0.78rem; color: var(--rk-led); background: var(--rl-night); }
.rl-dialog-name b { font-weight: 900; color: #fff; }
.rl-dialog-text { margin: 4px 0 0; font-size: 1rem; line-height: 1.75; color: var(--rk-ink); word-break: keep-all; }
.rl-replies { display: flex; flex-direction: column; gap: 8px; padding: 14px; }
.rl-replies form { margin: 0; }
.rl-reply { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 2px 12px; width: 100%; padding: 12px 14px; border: 1.5px solid var(--rk-line); border-radius: 12px; text-align: left; background: #fff; cursor: pointer; transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.rl-reply:hover { border-color: var(--rk-accent); box-shadow: 0 8px 20px -14px var(--rl-glow); transform: translateX(3px); }
.rl-reply:focus-visible { outline: 2px solid var(--rk-accent); outline-offset: 2px; }
.rl-reply b { font-size: 0.98rem; font-weight: 800; color: var(--rk-ink); }
.rl-reply small { grid-column: 2; font-size: 0.76rem; color: var(--rk-ink-3); }
.rl-tone { grid-row: 1 / span 2; display: grid; place-items: center; min-width: 48px; padding: 6px 8px; border-radius: 8px; font-style: normal; font-size: 0.76rem; font-weight: 900; color: var(--rk-accent); background: var(--rk-accent-wash); }
.rl-reply.is-argue .rl-tone, .rl-reply.is-demand .rl-tone, .rl-reply.is-trade .rl-tone { color: #fff; background: var(--rk-ink); }
.rl-reply.is-modest .rl-tone { color: var(--rk-ink-2); background: var(--rk-line-soft); }

/* 은퇴 카드 — 캡처해서 자랑하는 한 장 */
@property --rl-a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.rl-cardpage { display: flex; flex-direction: column; align-items: center; gap: 14px; margin: 6px 0 0; }
.rl-cardpage-head { max-width: 420px; margin: 0; font-size: 1rem; line-height: 1.5; text-align: center; color: var(--rk-ink); word-break: keep-all; }
.rl-cardpage-head em { margin-right: 6px; font-style: normal; font-weight: 900; color: var(--rk-accent); }
.rl-cardpage-head b { font-weight: 900; letter-spacing: -0.02em; }
.rl-cardpage-lead { max-width: 420px; margin: 0; font-size: 0.88rem; line-height: 1.6; text-align: center; color: var(--rk-ink-3); }
.rl-cardpage-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.rl-cardpage-actions .gm-btn { display: inline-flex; align-items: center; gap: 6px; }
.rl-cardpage-actions svg { width: 16px; height: 16px; }
.rl-share-done { margin: 0; font-size: 0.82rem; font-weight: 700; color: var(--rk-accent); }
@keyframes rl-holo { to { --rl-a: 360deg; } }
.rl-cardpage.is-fresh .rl-rcard { animation: rl-reveal 1s cubic-bezier(.2, .8, .2, 1) both; }
.rl-cardpage.is-fresh .rl-rcard.is-legend { animation: rl-reveal 1s cubic-bezier(.2, .8, .2, 1) both, rl-holo 6s linear 1s infinite; }
@keyframes rl-reveal { from { opacity: 0; transform: perspective(900px) rotateY(-70deg) scale(.92); } to { opacity: 1; transform: none; } }

/* 카드 보관함 — 고정 3열 → 2열 → 1열 */
.rl-minis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 12px 0 0; padding: 0; list-style: none; }
.rl-mini { position: relative; display: flex; flex-direction: column; gap: 2px; min-height: 168px; overflow: hidden; padding: 14px 16px; border-radius: 16px; text-decoration: none; color: var(--rk-board-ink); background-color: var(--rl-night); background-image: linear-gradient(160deg, color-mix(in srgb, var(--team) 36%, transparent) 0, transparent 50%); box-shadow: inset 0 0 0 2px #2b3066; transition: transform .15s ease, box-shadow .15s ease; }
.rl-mini.is-pro { box-shadow: inset 0 0 0 2px var(--team); }
.rl-mini.is-star { box-shadow: inset 0 0 0 2px #818cf8; }
.rl-mini.is-legend { box-shadow: inset 0 0 0 2px #a5b4fc, 0 0 0 3px var(--rk-accent-line); }
.rl-mini:hover { color: var(--rk-board-ink); transform: translateY(-2px); }
.rl-mini:focus-visible { outline: 2px solid var(--rk-accent); outline-offset: 3px; }
.rl-mini-top { display: flex; justify-content: space-between; font-size: 0.72rem; font-weight: 700; color: var(--rk-board-dim); }
.rl-mini-top em { font-style: normal; font-weight: 900; color: var(--rk-led); }
.rl-mini-no { position: absolute; right: 8px; bottom: -14px; font-size: 5.5rem; font-weight: 900; line-height: 1; color: color-mix(in srgb, var(--team) 70%, #fff); opacity: .22; }
.rl-mini-name { position: relative; margin-top: 18px; font-size: 1.35rem; font-weight: 900; letter-spacing: -0.03em; color: #fff; }
.rl-mini-pos { position: relative; font-size: 0.78rem; color: var(--rk-board-dim); }
.rl-mini-key { position: relative; display: flex; gap: 10px; margin-top: auto; padding-top: 10px; font-size: 0.76rem; font-weight: 800; color: var(--rk-led); }

@media (max-width: 900px) {
    .rl-hud { grid-template-columns: minmax(0, 1fr) auto; gap: 10px 14px; padding: 12px 16px; }
    .rl-hud-ladder { grid-column: 1 / -1; grid-row: 3; }
    .rl-hud-time { grid-row: 2; }
    .rl-hud-trust { grid-row: 2; justify-self: end; }
    .rl-hud-ovr { grid-row: 1; grid-column: 2; }
    .rl-skills { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rl-minis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) {
    .rl-hud { margin-bottom: 12px; border-radius: 14px; }
    .rl-hud-ovr b { font-size: 1.5rem; }
    .rl-scene-title { font-size: 1.3rem; }
    .rl-skill-card { padding: 12px; }
    .rl-skill-card .rl-icon { width: 34px; height: 34px; }
    .rl-gauge { gap: 6px; }
    .rl-gauge-opt > span { padding: 10px; }
    .rl-tourney { grid-template-columns: minmax(0, 1fr); }
    .rl-seg { grid-column: 1; grid-row: auto; justify-self: start; }
    .rl-room-scene { height: 220px; }
    .rl-trust { top: 12px; right: 12px; padding: 5px 8px; }
    .rl-trust span { display: none; }
    .rl-trust .rl-meter { width: 60px; }
    .rl-room-tag { top: 12px; left: 12px; }
    .rl-room-desk { left: 4%; }
    .rk-staff.is-huge { width: 72px; height: 96px; }
    .rk-staff.is-huge .rk-sprite { width: 48px; height: 96px; background-size: 1152px 96px; background-position: -864px 0; animation-name: rk-breathe-big; }
    .rl-rival { max-width: 58%; padding: 8px 11px; }
    .rk .rl-room-title { top: 42px; font-size: 1.2rem; }
    .rl-dialog { margin: -2px 8px 0; }
    .rl-dialog-text { font-size: 0.95rem; }
    .rl-replies { padding: 12px 8px; }
    .rl-lead h3 { font-size: 1.15rem; }
    .rl-minis { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
    .rl-rcard.is-legend, .rl-cardpage.is-fresh .rl-rcard, .rl-cardpage.is-fresh .rl-rcard.is-legend { animation: none; }
    .rl-ticker.is-playing .rl-live::before { animation: none; }
    .rl-reply:hover { transform: none; }
}

/* ══ 라이트 모바일 압축(2026-10-18 "핸드폰에서 플레이하기 어려워 보인다") ══════════════════════
 * 내용은 그대로 두고 세로 길이를 줄인다 — 할 일 버튼은 늘 화면 아래, 능력치는 늘 위, 긴 표는 접는다. */

/* 할 일 버튼 — 폼(또는 무대)이 화면에 있는 동안 아래에 붙는다 */
.rl-cta { position: sticky; bottom: 12px; z-index: 20; margin-top: 2px; }
.rl-cta .gm-btn { box-shadow: 0 10px 24px -12px var(--rl-glow); }
.rl-create .rl-cta { margin-top: 12px; }
.rl-card .rk-number { width: auto; min-width: 66px; white-space: nowrap; }

/* 모바일 선수 요약 — 번호·이름·별점 한 줄 + 능력치 다섯 칸, 눌러서 특성·연봉 */
.rl-mcard { margin: 0 0 10px; border: 1px solid var(--rk-line); border-radius: 14px; background: #fff; overflow: hidden; }
.rl-mcard > summary { display: block; padding: 9px 12px 10px; border-top: 4px solid var(--team); list-style: none; cursor: pointer; }
.rl-mcard > summary::-webkit-details-marker { display: none; }
.rl-mcard > summary:focus-visible { outline: 2px solid var(--rk-accent); outline-offset: -2px; }
.rl-mcard-head { display: flex; align-items: center; gap: 10px; }
.rl-mcard-no { flex: none; min-width: 34px; font-size: 1.6rem; font-weight: 900; line-height: 1; text-align: center; color: var(--team); font-variant-numeric: tabular-nums; }
.rl-mcard-who { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.rl-mcard-who b { overflow: hidden; font-size: 1rem; font-weight: 900; white-space: nowrap; text-overflow: ellipsis; color: var(--rk-ink); }
.rl-mcard-who small { overflow: hidden; font-size: 0.72rem; white-space: nowrap; text-overflow: ellipsis; color: var(--rk-ink-3); }
.rl-mcard-stars { display: inline-flex; flex: none; gap: 1px; }
.rl-mcard-stars i { width: 10px; height: 10px; background: var(--rk-line); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.rl-mcard-stars i.is-on { background: var(--rk-accent); }
.rl-mcard-more { flex: none; padding: 3px 9px; border-radius: 99px; font-size: 0.7rem; font-weight: 800; color: var(--rk-accent); background: var(--rk-accent-wash); }
.rl-mcard[open] .rl-mcard-more { color: #fff; background: var(--rk-accent); }
.rl-mcard-stats { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; margin-top: 9px; }
.rl-mstat { display: flex; flex-direction: column; align-items: center; min-width: 0; }
.rl-mstat small { font-size: 0.66rem; font-weight: 700; white-space: nowrap; color: var(--rk-ink-3); }
.rl-mstat b { font-size: 1.05rem; font-weight: 900; line-height: 1.15; color: var(--rk-ink); font-variant-numeric: tabular-nums; }
.rl-mstat i { position: relative; display: block; width: 100%; height: 4px; margin-top: 3px; border-radius: 99px; background: var(--rk-line-soft); overflow: hidden; }
.rl-mstat i::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, #818cf8, var(--rk-accent)); }
.rl-mcard-body { padding: 0 12px 12px; border-top: 1px dashed var(--rk-line); }
.rl-mcard-note { margin: 10px 0 0; font-size: 0.78rem; color: var(--rk-ink-3); }

/* 접는 연표 */
.rl-yearsbox { margin-top: 4px; border: 1px solid var(--rk-line); border-radius: 12px; background: #fff; }
.rl-yearsbox > summary { display: flex; align-items: center; gap: 8px; padding: 12px 14px; font-size: 0.9rem; font-weight: 800; list-style: none; cursor: pointer; }
.rl-yearsbox > summary::-webkit-details-marker { display: none; }
.rl-yearsbox > summary span { font-size: 0.8rem; font-weight: 700; color: var(--rk-ink-3); }
.rl-yearsbox > summary::after { content: ""; width: 8px; height: 8px; margin-left: auto; border-right: 2px solid var(--rk-ink-3); border-bottom: 2px solid var(--rk-ink-3); transform: rotate(45deg) translateY(-2px); }
.rl-yearsbox[open] > summary::after { transform: rotate(-135deg) translateY(-2px); }
.rl-yearsbox .rk-table-wrap { margin: 0; border-width: 1px 0 0; border-radius: 0 0 12px 12px; }

@media (max-width: 575.98px) {
    /* 이름과 소개는 넓게, 별점과 펼치기는 그 아래 한 줄에 표시해요. */
    .rl-mcard-head { display: grid; grid-template-columns: 44px minmax(0, 1fr) auto; gap: 4px 10px; }
    .rl-mcard-no { grid-row: 1 / span 2; white-space: nowrap; }
    .rl-mcard-who { grid-column: 2 / -1; }
    .rl-mcard-who b { line-height: 1.4; white-space: normal; overflow: visible; }
    .rl-mcard-who small { white-space: normal; overflow: visible; }
    .rl-mcard-stars { grid-column: 2; }
    .rl-mcard-more { grid-column: 3; justify-self: end; }
    /* 머리 — 제목 한 줄, 탭은 촘촘히 */
    .rl .rk-top { align-items: center; margin-bottom: 8px; }
    .rl .rk-top .gm-back { margin-bottom: 2px; font-size: 0.76rem; }
    .rl .rk-title { font-size: 1.22rem; }
    .rl .rk-season { display: flex; flex-direction: column; align-items: flex-end; gap: 0; }
    .rl .rk-season b { font-size: 0.78rem; }
    .rl .rk-season span { font-size: 0.7rem; }
    .rl .rk-nav { margin-bottom: 10px; }
    .rl .rk-nav a { padding: 8px 10px; font-size: 0.84rem; }

    /* HUD — 소속·OVR / 달력·신뢰 / 사다리 */
    .rl-hud { grid-template-columns: minmax(0, 1fr) auto; gap: 4px 12px; margin-bottom: 8px; padding: 9px 14px 8px; }
    .rl-hud-team b { font-size: 0.92rem; }
    .rl-hud-team > span { display: none; }
    .rl-hud-time { flex-direction: row; align-items: baseline; gap: 6px; }
    .rl-hud-time b { font-size: 0.98rem; }
    .rl-hud-ovr { flex-direction: row; align-items: baseline; gap: 6px; }
    .rl-hud-ovr b { font-size: 1.4rem; }
    .rl-hud-trust { grid-template-columns: auto auto auto; gap: 6px; }
    .rl-hud-trust span { grid-column: auto; }
    .rl-hud .rl-meter { width: 52px; }
    .rl-hud-ladder li { padding-top: 12px; font-size: 0.64rem; }

    /* 말풍선 — 작은 얼굴 + 촘촘한 말 */
    .rl-say { gap: 8px; margin: 0 0 10px; }
    .rl .rk-staff:not(.is-huge) { width: 36px; height: 48px; border-radius: 10px 10px 18px 18px; }
    .rl .rk-staff:not(.is-huge) .rk-sprite { width: 24px; height: 48px; margin-bottom: -4px; background-size: 576px 48px; background-position: -432px 0; animation-name: rl-breathe-xs; }
    .rl-bubble { padding: 9px 12px 10px; border-radius: 12px 12px 12px 4px; }
    .rl-bubble::before { left: -6px; bottom: 8px; width: 10px; height: 10px; }
    .rl-bubble p { font-size: 0.86rem; line-height: 1.55; }
    .rl-say.is-big .rl-bubble p:not(.rl-who) { font-size: 0.9rem; }
    .rl-bubble p.rl-who { font-size: 0.7rem; }

    /* 패널·단계 */
    .rl .rk-panel { padding: 14px; }
    .rl-stage, .rl-plan { gap: 10px; }
    .rk-panel > h2.rl-step, .rl-step { gap: 6px 8px; margin-bottom: 10px; font-size: 0.98rem; }
    .rl-step > span { width: 22px; height: 22px; font-size: 0.76rem; }
    .rl-step.is-sub { margin: 14px 0 8px; font-size: 0.92rem; }
    .rl-count { margin-left: auto; padding: 2px 10px; font-size: 0.78rem; }
    .rl .rk-hint { font-size: 0.76rem; }
    .rl-scene-kicker { font-size: 0.72rem; }
    .rl-scene-title { margin: 1px 0 2px; font-size: 1.15rem; }
    .rl-scene-sub { font-size: 0.8rem; }

    /* 훈련 — 가로 타일(아이콘 왼쪽, 이름·효과 오른쪽) */
    .rl-skills { gap: 8px; }
    .rl-skill-card { display: grid; grid-template-columns: 30px minmax(0, 1fr); align-items: center; column-gap: 9px; row-gap: 0; padding: 10px 26px 10px 10px; border-radius: 12px; }
    .rl-skill-card .rl-icon { grid-row: 1 / span 2; width: 30px; height: 30px; margin: 0; border-radius: 9px; }
    .rl-skill-card .rl-icon svg { width: 18px; height: 18px; }
    .rl-skill-card b { font-size: 0.86rem; }
    .rl-skill-card small { font-size: 0.68rem; line-height: 1.35; }
    .rl-skill-card::after { top: 8px; right: 8px; width: 16px; height: 16px; }
    .rl-skill input:checked + .rl-skill-card::after { background-size: 10px; }
    .rl-lock, .rl-cap { grid-column: 1 / -1; margin-top: 5px; font-size: 0.66rem; }

    /* 강도 */
    .rl-gauge-opt > span { padding: 8px 9px 9px; }
    .rl-gauge-opt b { font-size: 0.84rem; }
    .rl-gauge-opt small { font-size: 0.66rem; }
    .rl-gauge-bar { height: 5px; margin-top: 5px; }

    /* 국가대표 — 답 버튼은 반반 */
    .rl-tourney { gap: 6px; padding: 10px 12px; }
    .rl-seg { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rl-seg span { padding: 8px 6px; text-align: center; }

    /* 이벤트·만들기 선택지는 두 칸 */
    .rl-event .rl-programs.is-two, .rl-create .rl-programs.is-two { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
    .rl-choice span { padding: 10px 11px; border-radius: 10px; }
    .rl-choice b { font-size: 0.86rem; }
    .rl-choice small { font-size: 0.7rem; }
    .rl .rk-chips { gap: 5px; }
    .rl .rk-chip span { min-height: 32px; padding: 0 11px; font-size: 0.8rem; }

    /* 기사 */
    .rl-paper { padding: 12px 14px 10px; }
    .rl-masthead { margin-bottom: 8px; }
    .rl-masthead b { font-size: 0.95rem; }
    .rl-lead { padding-bottom: 9px; }
    .rl-lead h3 { font-size: 1.05rem; }
    .rl-heads li { padding: 7px 0; }
    .rl-heads b, .rl-paper.is-mini .rl-heads b { font-size: 0.86rem; }

    /* 할 일 버튼 — 하단 탭바(70px) 위에 붙는다 */
    .rl-cta { bottom: calc(78px + env(safe-area-inset-bottom, 0px)); margin: 0 -6px; padding: 6px; border-radius: 16px; background: rgba(245, 246, 250, .9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
    .rl-cta .gm-btn { min-height: 48px; font-size: 0.95rem; }
    body:has(.rl-cta) .m-version-fab { bottom: calc(146px + env(safe-area-inset-bottom, 0px)); }   /* PC 버전 버튼은 할 일 버튼 위로 */

    /* 전광판 — 한 달에 한 줄 */
    .rl-ticker { padding: 12px 14px 14px; }
    .rl-ticker .rk-board-head { flex-wrap: wrap; row-gap: 2px; font-size: 0.7rem; }
    .rk-board-rows li.rl-month { grid-template-columns: 4.6em minmax(0, 1fr) auto; column-gap: 8px; padding: 7px 0; }
    .rl-month .rk-gno { font-size: 0.68rem; line-height: 1.25; white-space: normal; }
    .rl-mline { overflow: hidden; font-size: 0.8rem; white-space: nowrap; text-overflow: ellipsis; }
    .rl-wl { grid-column: auto; font-size: 0.68rem; }
    .rl-month.is-move .rl-mline { white-space: normal; }
    .rl-final { font-size: 0.84rem; }

    /* 결산 */
    .rl-line dd { font-size: 1.2rem; }
    .rl-deltas { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; margin-top: 10px; }
    .rl-deltas li { padding: 6px 2px; font-size: 0.62rem; }
    .rl-deltas b { font-size: 0.88rem; }
    .rl-splits li { grid-template-columns: minmax(0, 1fr); padding: 7px 10px; font-size: 0.76rem; }
    .rl-splits b { grid-row: auto; }
    .rl-awards { gap: 4px; margin-top: 10px; }
    .rl-diary .rl-news { font-size: 0.8rem; }
    .rl .rk-h3 { margin: 12px 0 6px; font-size: 0.9rem; }

    /* 갈림길 */
    .rl-pathcard { gap: 6px; padding: 12px; }
    .rl-pathcard > b { font-size: 0.92rem; }
    .rl-pathcard > span { font-size: 0.76rem; }

    /* 감독실 */
    .rl-room-scene { height: 160px; }
    .rl-room-desk { bottom: 16%; }
    .rl-room .rk-staff.is-huge { width: 60px; height: 80px; }
    .rl-room .rk-staff.is-huge .rk-sprite { width: 40px; height: 80px; background-size: 960px 80px; background-position: -720px 0; animation-name: rl-breathe-80; }
    .rk .rl-room-title { top: 40px; font-size: 1.08rem; }
    .rl-rival { right: 10px; bottom: 14%; padding: 6px 10px; }
    .rl-rival b { font-size: 0.88rem; }
    .rl-rival span { font-size: 0.7rem; }
    .rl-dialog { padding: 16px 14px 12px; }
    .rl-dialog-text { font-size: 0.9rem; line-height: 1.65; }
    .rl-replies { gap: 6px; padding: 10px 8px 12px; }
    .rl-reply { gap: 2px 10px; padding: 10px 12px; }
    .rl-reply b { font-size: 0.88rem; }
    .rl-reply small { font-size: 0.7rem; }
    .rl-tone { min-width: 40px; padding: 5px 6px; font-size: 0.7rem; }

    /* 만들기 */
    .rl-welcome { margin-bottom: 10px; }
}
@keyframes rl-breathe-80 { from { background-position: -720px 0; } to { background-position: -960px 0; } }

/* ══ 결정적 순간(결승 승부처) · 능력치가 바뀐 이유 — 2026-10-18 ══════════════════════════════
 * 결정적 순간은 감독실과 같은 장면 문법(장면 → 대사 창 → 답)에, 무대만 야간 구장: 조명·전광판 점수 띠·주자 다이아몬드. */
.rl-moment { --rl-moment-inset: 18px; overflow: hidden; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--rk-line), 0 22px 44px -26px rgba(14, 17, 48, .6); }
.rl-moment-scene { position: relative; height: 236px; overflow: hidden; color: #fff; background:
    radial-gradient(140px 70px at 18% 0, rgba(238, 240, 255, .35), transparent 70%),
    radial-gradient(140px 70px at 82% 0, rgba(238, 240, 255, .35), transparent 70%),
    linear-gradient(180deg, transparent 0 64%, #1f5132 64% 66%, #173e27 66% 100%),
    linear-gradient(180deg, #1a1f55 0, var(--rl-night) 64%); }
.rl-moment-scene::after { content: ""; position: absolute; left: 50%; bottom: -60px; width: 300px; height: 150px; margin-left: -150px; border-radius: 50% 50% 0 0; background: #8a6a45; opacity: .35; }
.rl-moment-tag { position: absolute; top: 14px; left: 18px; z-index: 2; margin: 0; padding: 3px 10px; border-radius: 99px; font-size: 0.74rem; font-weight: 800; color: var(--rl-night); background: var(--rk-led); }
.rk .rl-moment-title { position: absolute; top: 44px; left: 18px; z-index: 2; margin: 0; font-size: 1.45rem; font-weight: 900; letter-spacing: -0.03em; color: #fff; text-shadow: 0 2px 10px rgba(0, 0, 0, .45); }
.rl-scorebug { position: absolute; left: 18px; bottom: 26px; z-index: 2; display: flex; align-items: center; gap: 12px; padding: 7px 12px; border-radius: 10px; background: rgba(14, 17, 48, .85); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.rl-sb-inn { font-size: 0.86rem; font-weight: 900; color: var(--rk-led); }
.rl-sb-score { display: inline-flex; align-items: baseline; gap: 6px; font-size: 1.25rem; font-weight: 900; color: #fff; font-variant-numeric: tabular-nums; }
.rl-sb-score small { font-size: 0.66rem; font-weight: 700; color: var(--rk-board-dim); }
.rl-sb-outs { display: inline-flex; align-items: center; gap: 3px; }
.rl-sb-outs i { width: 9px; height: 9px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px var(--rk-led); }
.rl-sb-outs i.is-on { background: var(--rk-led); }
.rl-sb-outs small { margin-left: 3px; font-size: 0.66rem; font-weight: 700; color: var(--rk-board-dim); }
.rl-diamond { position: relative; display: inline-block; width: 34px; height: 26px; }
.rl-diamond i { position: absolute; width: 10px; height: 10px; transform: rotate(45deg); box-shadow: inset 0 0 0 1.5px var(--rk-led); }
.rl-diamond i.is-on { background: var(--rk-led); }
.rl-diamond i.is-b2 { left: 12px; top: 1px; }
.rl-diamond i.is-b3 { left: 2px; top: 11px; }
.rl-diamond i.is-b1 { left: 22px; top: 11px; }
.rl-moment-brief { padding: 18px var(--rl-moment-inset); }
.rl-moment-brief .rl-dialog { margin: 0; padding: 0; border: 0; border-radius: 0; }
.rl-moment-brief .rl-dialog-name { position: static; display: flex; align-items: baseline; gap: 5px; margin: 0; padding: 0; border-radius: 0; color: var(--rk-ink-3); background: none; }
.rl-moment-brief .rl-dialog-name b { color: var(--rk-ink-2); }
.rl-moment-brief .rl-dialog-text { margin: 6px 0 0; }
.rl-moment-brief .rl-scout { position: static; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: baseline; gap: 4px 10px; max-width: none; margin: 14px 0 0; padding: 12px 0 0; border: 0; border-top: 1px solid var(--rk-line); border-radius: 0; color: var(--rk-ink); background: none; }
.rl-moment-brief .rl-scout :is(small, b, span) { color: var(--rk-ink-2); }
.rl-moment-brief .rl-scout span { grid-column: 1 / -1; }
.rl-moment > .rl-replies { padding: 0 var(--rl-moment-inset) 18px; }
.rl-moment .rl-moment-tag, .rk .rl-moment-title, .rl-moment .rl-scorebug { left: var(--rl-moment-inset); }
.rk .rl-moment-title { right: var(--rl-moment-inset); }
.rl-moment .rl-sb-score { color: var(--rk-ink); }
.rl-replies-q { margin: 0 0 2px; font-size: 0.84rem; font-weight: 800; color: var(--rk-ink-2); }
.rl-reply.is-short .rl-tone, .rl-reply.is-edge .rl-tone { color: var(--rk-ink-2); background: var(--rk-line-soft); }
.rl-reply.is-fast .rl-tone, .rl-reply.is-break .rl-tone { color: #fff; background: var(--rk-accent); }
.rl-moment-prev { margin: 0; padding: 10px 16px 14px; font-size: 0.8rem; color: var(--rk-ink-3); border-top: 1px dashed var(--rk-line); }

/* 결산 — 결정적 순간 결과 */
.rl-moments { display: flex; flex-direction: column; gap: 8px; transition: opacity .35s ease, transform .35s ease; }
.rl-moment-res { padding: 14px 18px; border: 1px solid var(--rk-line); border-left: 5px solid var(--rk-ink-4); border-radius: 14px; background: #fff; }
.rl-moment-res.is-won { border-left-color: var(--rk-accent); background: linear-gradient(90deg, var(--rk-accent-wash), #fff 60%); }
.rl-moment-res-stage { margin: 0; font-size: 0.76rem; font-weight: 700; color: var(--rk-ink-3); }
.rl-moment-res h3 { margin: 2px 0 4px; font-size: 1.3rem; font-weight: 900; letter-spacing: -0.02em; color: var(--rk-ink); }
.rl-moment-res.is-won h3 { color: var(--rk-accent); }
.rl-moment-res p { margin: 0; font-size: 0.88rem; line-height: 1.55; color: var(--rk-ink-2); }
.rl-moment-res small { display: block; margin-top: 3px; font-size: 0.74rem; color: var(--rk-ink-3); }

/* 능력치가 바뀐 이유 */
.rl-why { margin-top: 10px; }
.rl-why-title { margin: 0 0 6px; font-size: 0.84rem; font-weight: 800; color: var(--rk-fail); }
.rl-why-list { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 0; list-style: none; }
.rl-why-list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; padding: 8px 10px; border-radius: 10px; background: var(--rk-paper); font-size: 0.82rem; }
.rl-why-list b { flex: none; min-width: 5.4em; font-weight: 900; color: var(--rk-ink); font-variant-numeric: tabular-nums; }
.rl-why-parts { display: flex; flex-wrap: wrap; gap: 4px; }
.rl-why-parts em { padding: 1px 7px; border-radius: 6px; font-style: normal; font-size: 0.74rem; font-weight: 700; color: var(--rk-ink-2); background: #fff; box-shadow: inset 0 0 0 1px var(--rk-line); font-variant-numeric: tabular-nums; }
.rl-why-parts em.is-down { color: var(--rk-fail); box-shadow: inset 0 0 0 1px #fecdd3; }
.rl-why-parts em.is-up { color: var(--rk-accent); box-shadow: inset 0 0 0 1px var(--rk-accent-line); }
.rl-why-all { margin-top: 8px; }
.rl-why-all > summary { font-size: 0.8rem; font-weight: 700; color: var(--rk-ink-3); cursor: pointer; }
.rl-why-all .rl-why-list { margin-top: 8px; }

/* 정식 판 훈련 칸 — 능력치가 하는 일 · 밤사이 빠진 이유 */
.rk-stat-role { margin: -2px 0 6px; font-size: 0.72rem; color: var(--rk-ink-3); }
.rk-stat-why { margin: -2px 0 6px; font-size: 0.72rem; font-weight: 700; color: var(--rk-fail); }

@media (max-width: 575.98px) {
    .rl-moment { --rl-moment-inset: 14px; }
    .rl-moment-scene { height: 214px; }
    .rk .rl-moment-title { top: 40px; font-size: 1.12rem; }
    .rl-scorebug { left: 10px; bottom: 22px; gap: 8px; padding: 6px 9px; }
    .rl-sb-score { font-size: 1.05rem; }
    .rl-moment-res { padding: 12px 14px; }
    .rl-moment-res h3 { font-size: 1.12rem; }
    .rl-why-list li { padding: 7px 9px; font-size: 0.78rem; }
}

/* ══ 4차(2026-10-18) — 상점·명예의 전당 투수/야수·은퇴 카드 통산 줄·스캔들·커리어 하이 ═════════════════════════
 * 상점은 비시즌 화면의 접히는 칸 하나: 요약 줄(현금·장비·집)만 보이고, 펼치면 물건마다 [이름·효과·값·버튼]. */
.rl-shop { padding: 0; overflow: hidden; }
.rl-shop-sum { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 12px; padding: 14px 18px; cursor: pointer; list-style: none; }
.rl-shop-sum::-webkit-details-marker { display: none; }
.rl-shop-sum::after { content: "펼치기"; flex: none; font-size: 0.74rem; font-weight: 700; color: var(--rk-ink-3); }
.rl-shop[open] .rl-shop-sum::after { content: "접기"; }
.rl-shop-title { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.rl-shop-title b { font-size: 1rem; font-weight: 900; color: var(--rk-ink); }
.rl-shop-title small { font-size: 0.8rem; color: var(--rk-ink-3); }
.rl-shop-title strong { color: var(--rk-accent); font-variant-numeric: tabular-nums; }
.rl-shop-chips { display: flex; flex-wrap: wrap; gap: 4px; flex: 1; justify-content: flex-end; }
.rl-shop-chips em { padding: 2px 9px; border-radius: 99px; font-style: normal; font-size: 0.72rem; font-weight: 700; white-space: nowrap; color: var(--rk-ink-3); background: var(--rk-paper); }
.rl-shop-chips em.is-on { color: var(--rk-accent); background: var(--rk-accent-wash); }
.rl-shop-chips em.is-new { color: #fff; background: var(--rk-accent); }
.rl-shop-body { display: flex; flex-direction: column; gap: 14px; padding: 0 18px 18px; border-top: 1px solid var(--rk-line-soft); }
.rl-shop-body > .rk-hint { margin: 12px 0 0; }
.rl-shop-name { display: flex; align-items: baseline; gap: 8px; margin: 0 0 6px; }
.rl-shop-name b { font-size: 0.9rem; font-weight: 900; }
.rl-shop-name span { font-size: 0.74rem; color: var(--rk-ink-3); }
.rl-shop-items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.rl-shop-items.is-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.rl-item { display: grid; grid-template-rows: auto 1fr auto auto; gap: 3px; padding: 11px 12px; border: 1px solid var(--rk-line); border-radius: 12px; background: #fff; }
.rl-item b { font-size: 0.88rem; font-weight: 800; color: var(--rk-ink); }
.rl-item small { font-size: 0.74rem; line-height: 1.45; color: var(--rk-ink-3); }
.rl-price { margin-top: 2px; font-size: 0.86rem; font-weight: 900; color: var(--rk-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.rl-item .gm-btn { width: 100%; min-height: 34px; margin-top: 4px; font-size: 0.8rem; }
.rl-item.is-own { border-color: var(--rk-accent-line); background: var(--rk-accent-wash); }
.rl-item.is-rare { border-color: var(--rk-accent); box-shadow: 0 0 0 3px var(--rk-accent-wash); }
.rl-shop-empty { margin: 0; font-size: 0.8rem; color: var(--rk-ink-3); }
.rl-item-pick select { width: 100%; min-height: 32px; margin-top: 4px; padding: 4px 8px; border: 1px solid var(--rk-line); border-radius: 8px; font-size: 0.78rem; color: var(--rk-ink); background: #fff; }

/* 명예의 전당 — 리그 줄과 투수·야수 줄 */
.rl-hall-controls { gap: 8px 10px; }
.rl-hall th[scope="row"] a { font-weight: 800; }
.rl-hall-who { display: block; margin-top: 1px; font-size: 0.7rem; font-weight: 600; color: var(--rk-ink-3); }

/* 은퇴 카드 통산 줄 — 3칸 두 줄, 숫자는 한 줄로 */

/* 감독실 — 경쟁자 스캔들 꼬리표 · 복귀 제안의 희망 구단 표시 */
.rl-rival-tag { align-self: flex-start; margin-bottom: 3px; padding: 1px 8px; border-radius: 99px; font-style: normal; font-size: 0.68rem; font-weight: 900; color: var(--rl-night); background: var(--rk-led); }
.rl-want { margin-left: 6px; padding: 1px 8px; border-radius: 99px; font-style: normal; font-size: 0.7rem; font-weight: 800; color: #fff; background: var(--rk-accent); }

/* 커리어 페이지 — 커리어 하이 */
.rl-high { margin: 12px 0 0; padding: 10px 12px; border-radius: 10px; font-size: 0.82rem; line-height: 1.55; color: var(--rk-ink-2); background: var(--rk-paper); }
.rl-high span { margin-right: 8px; font-weight: 900; color: var(--rk-accent); }

@media (max-width: 575.98px) {
    .rl-shop-sum { padding: 12px 14px; }
    .rl-shop-chips { justify-content: flex-start; }
    .rl-shop-body { padding: 0 14px 14px; }
    .rl-shop-items.is-three { grid-template-columns: 1fr; }
    .rl-shop-items.is-three .rl-item { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 10px; }
    .rl-shop-items.is-three .rl-item b, .rl-shop-items.is-three .rl-item small { grid-column: 1; }
    .rl-shop-items.is-three .rl-item .rl-price { grid-column: 2; grid-row: 1; justify-self: end; margin: 0; }
    .rl-shop-items.is-three .rl-item .gm-btn { grid-column: 2; grid-row: 2; width: auto; min-width: 112px; margin: 0; }
    .rl-item { padding: 10px; }
}

/* ══ 글자 배치 정돈(2026-10-18 사용자 요청: 줄바꿈·정렬) ═══════════════════════════════════════════════
 * 한국어는 기본값이면 낱말 한가운데서도 줄이 바뀐다('갈 / 길이 멀다', '평생이에 / 요') — 띄어쓰기에서만 끊고,
 * 너무 긴 덩어리만 넘칠 때 끊는다. 제목은 줄 길이를 고르게(balance), 문단은 마지막 줄에 한 글자만 남지 않게(pretty). */
.rk { word-break: keep-all; overflow-wrap: break-word; }
.rk h1, .rk h2, .rk h3, .rk .rl-scene-title, .rk .rl-cardpage-head, .rk .rl-heads b, .rk .rl-lead h3,
.rk .rl-room-title, .rk .rl-moment-title { text-wrap-style: balance; }
.rk p, .rk li, .rk small, .rk .rl-bubble p { text-wrap-style: pretty; }   /* 줄임말(text-wrap)은 nowrap 을 풀어 버려서 longhand 로 */
.rk-nowrap { white-space: nowrap; }
.rk .gm-btn, .rl-tone, .rl-tag { white-space: nowrap; }

/* 홀수 개 선택지 — 마지막 하나가 반쪽 칸에 홀로 남지 않게 한 줄 전체로 */
.rl-programs.is-two > :last-child:nth-child(odd):not(:first-child) { grid-column: 1 / -1; }

/* 계약 조건 — 줄마다 한 가지 */
.rl-terms { display: flex; flex-direction: column; gap: 1px; }
.rl-terms b { color: var(--rk-ink); font-weight: 800; }
.rl-terms small { color: var(--rk-ink-3); }

/* 연표 — 칸 안에서 줄이 바뀌지 않게(넓으면 옆으로 밀어 본다), 수상 칸만 여러 줄 */
.rl-years td.is-text, .rl-years th { white-space: nowrap; min-width: 0; }
.rl-years td.is-text:nth-of-type(6) { min-width: 0; }
.rl-years td.is-text:last-child { white-space: normal; min-width: 10em; }

/* 명예의 전당 — 순위는 이름 칸 안에, 이름 칸은 옆으로 밀어도 붙어 있다 */
.rl-hall .rl-hall-name { position: sticky; left: 0; z-index: 1; min-width: 8.5em; background: #fff; box-shadow: 1px 0 0 var(--rk-line-soft); }
.rl-hall thead .rl-hall-name { background: #fafbfd; }
.rl-hall tr.is-first .rl-hall-name { background: #fff; }
.rl-hall-no { display: inline-block; min-width: 1.7em; font-weight: 800; color: var(--rk-ink-3); font-variant-numeric: tabular-nums; }
.rl-hall-who { padding-left: 1.7em; white-space: nowrap; }

/* 커리어 페이지 수상 묶음 */
.rl-award-sum { margin-top: 0; }
.rl-award-sum .rl-award b { margin-left: 4px; font-weight: 900; color: var(--rk-ink); }
.rl-award-sum .rl-award.is-ring b { color: #fff; }

/* 상점 요약 줄 — 제목·접기 한 줄, 칩은 그 아래 한 줄 */
.rl-shop-sum { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
.rl-shop-sum::after { grid-column: 2; grid-row: 1; }
.rl-shop-title { grid-column: 1; grid-row: 1; }
.rl-shop-chips { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; }
.rl-shop-items.is-one { grid-template-columns: minmax(0, 1fr); }
.rl-shop-items.is-one .rl-item, .rl-shop-items.is-three .rl-item { align-content: start; }
.rl-item .gm-btn { white-space: nowrap; }

@media (min-width: 576px) {
    .rl-shop-items.is-one .rl-item { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 14px; }
    .rl-shop-items.is-one .rl-item b, .rl-shop-items.is-one .rl-item small { grid-column: 1; }
    .rl-shop-items.is-one .rl-item .rl-price { grid-column: 2; grid-row: 1; justify-self: end; margin: 0; }
    .rl-shop-items.is-one .rl-item .gm-btn { grid-column: 2; grid-row: 2; width: auto; min-width: 140px; margin: 0; }
}
@media (max-width: 575.98px) {
    .rl-shop-items.is-one .rl-item { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: 10px; }
    .rl-shop-items.is-one .rl-item b, .rl-shop-items.is-one .rl-item small { grid-column: 1; }
    .rl-shop-items.is-one .rl-item .rl-price { grid-column: 2; grid-row: 1; justify-self: end; margin: 0; }
    .rl-shop-items.is-one .rl-item .gm-btn { grid-column: 2; grid-row: 2; width: auto; min-width: 104px; margin: 0; }
}

/* 연표 — 그 시즌 상은 바로 아래 한 줄(칸이 길게 늘어나지 않게) */
.rl-years th, .rl-years td { padding-left: 9px; padding-right: 9px; }
.rl-years tr.has-awards th, .rl-years tr.has-awards td { border-bottom: 0; padding-bottom: 4px; }
.rl-years tr.rl-years-awards td { padding-top: 0; text-align: left; white-space: normal; }
.rl-years-awards-in { display: flex; flex-wrap: wrap; gap: 4px; padding-left: 2.6em; }
.rl-years-awards-in .rl-award { margin: 0; font-size: 0.7rem; }

/* 모바일 훈련 카드 — 아이콘·이름은 첫 줄, 설명은 카드 폭 전체(좁은 칸에 끼어 '삼진 / ↑'처럼 끊기지 않게) */
@media (max-width: 575.98px) {
    .rl-skill-card { grid-template-columns: 26px minmax(0, 1fr); align-items: center; row-gap: 5px; padding: 10px; }
    .rl-skill-card .rl-icon { grid-row: 1; width: 26px; height: 26px; border-radius: 8px; }
    .rl-skill-card .rl-icon svg { width: 16px; height: 16px; }
    .rl-skill-card b { grid-column: 2; padding-right: 18px; line-height: 1.25; }
    .rl-skill-card small, .rl-skill-card .rl-cap, .rl-skill-card .rl-lock { grid-column: 1 / -1; }
    .rl-skill-card .rl-cap, .rl-skill-card .rl-lock { margin-top: 0; }
}


/* 카드 페이지 — 이미지 저장·링크 공유 두 버튼, 나머지는 글자 링크 */
.rl-cardpage-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; width: min(100%, 420px); }
.rl-cardpage-actions .gm-btn { justify-content: center; }
.rl-cardpage-actions .gm-btn[aria-busy="true"] { opacity: .75; pointer-events: none; }
.rl-cardpage-note { max-width: 420px; margin: 0; font-size: 0.78rem; line-height: 1.55; text-align: center; color: var(--rk-ink-3); }
.rl-cardpage-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 20px; margin: 2px 0 0; font-size: 0.86rem; }
.rl-cardpage-links a { font-weight: 700; color: var(--rk-ink-3); text-decoration: none; }
.rl-cardpage-links a:hover, .rl-cardpage-links a.is-strong { color: var(--rk-accent); }

/* 명예의 전당 — 드롭다운 거르기 바(2026-10-18 사용자 요청: 투수·타자 드롭다운) */
.rl-filter { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px 12px; margin: 0 0 12px; padding: 12px 14px; border: 1px solid var(--rk-line); border-radius: 14px; background: #fff; }
.rl-select { display: flex; flex-direction: column; gap: 4px; margin: 0; }
.rl-select > span { font-size: 0.72rem; font-weight: 700; color: var(--rk-ink-3); }
.rl-select select { min-width: 148px; height: 40px; padding: 0 38px 0 14px; border: 1px solid var(--rk-line); border-radius: 10px; font: inherit; font-size: 0.9rem; font-weight: 800; color: var(--rk-ink); cursor: pointer; -webkit-appearance: none; appearance: none;
    background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%234f46e5' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 12px center / 14px no-repeat; }
.rl-select select:hover { border-color: var(--rk-accent-line); }
.rl-select select:focus-visible { outline: 2px solid var(--rk-accent); outline-offset: 1px; border-color: var(--rk-accent); }
.rl-filter-go { height: 40px; }
.rl-filter-count { margin: 0 0 10px auto; font-size: 0.8rem; font-weight: 700; color: var(--rk-ink-3); }
@media (max-width: 575.98px) {
    .rl-filter { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 10px 12px; }
    .rl-filter:has(> .rl-select:nth-of-type(3)) { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px 8px; }
    .rl-filter:has(> .rl-select:nth-of-type(4)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }   /* 버전·날짜·투타·리그는 두 줄 */
    .rl-select select { width: 100%; min-width: 0; }
    .rl-filter-go, .rl-filter-count { grid-column: 1 / -1; }
    .rl-filter-count { margin: 0; }
}

/* ══ 각성(2026-10-19) — 다섯 능력이 모두 한계에 닿으면. 보라색은 사용자가 지정한 '각성 별' 색이라 이 장면에서만 쓴다 ══════════════
 * 고르는 장면: 밤 무대에 보라 기운이 숨 쉬고, 다섯 막대가 모두 '한계'에 걸려 있다. 결과는 화면 전체를 덮는 한 장면. */
.rl { --rl-purple: #8b5cf6; --rl-purple-hi: #c4b5fd; --rl-purple-deep: #4c1d95; }
.rk-stars i.is-awaken, .rl-mcard-stars i.is-awaken { background: linear-gradient(160deg, #e9d5ff, #8b5cf6 55%, #4c1d95); filter: drop-shadow(0 0 3px rgba(139, 92, 246, .8)); }
.rl-awaken { overflow: hidden; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px var(--rk-line), 0 22px 44px -26px rgba(30, 10, 70, .6); }
.rl-awaken-stage { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; overflow: hidden; padding: 26px 20px 22px; text-align: center; color: #fff;
    background: radial-gradient(80% 70% at 50% 30%, #3b1d7a 0, #160b36 60%, #0b0620 100%); }
.rl-awaken-aura { position: absolute; left: 50%; top: 42%; width: 420px; height: 420px; margin: -210px 0 0 -210px; border-radius: 50%; pointer-events: none;
    background: radial-gradient(circle, rgba(196, 181, 253, .35) 0, rgba(139, 92, 246, .18) 35%, transparent 65%); animation: rl-breathe-aura 3.2s ease-in-out infinite; }
@keyframes rl-breathe-aura { 0%, 100% { transform: scale(.88); opacity: .7; } 50% { transform: scale(1.08); opacity: 1; } }
.rl-awaken-tag { position: relative; margin: 0; padding: 3px 12px; border-radius: 99px; font-size: 0.76rem; font-weight: 800; color: #160b36; background: var(--rl-purple-hi); }
.rk .rl-awaken-title { position: relative; margin: 2px 0 4px; font-size: 2.2rem; font-weight: 900; letter-spacing: -0.03em; color: #fff; text-shadow: 0 0 18px rgba(139, 92, 246, .9), 0 0 2px #fff; }
.rl-awaken-wall { position: relative; display: grid; gap: 6px; width: min(100%, 360px); margin: 4px 0 0; padding: 0; list-style: none; }
.rl-awaken-wall li { display: grid; grid-template-columns: 3.4em minmax(0, 1fr) 2em auto; align-items: center; gap: 8px; font-size: 0.8rem; }
.rl-awaken-wall span { font-weight: 700; color: var(--rl-purple-hi); text-align: left; }
.rl-awaken-wall i { position: relative; height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.rl-awaken-wall i::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: inherit; background: linear-gradient(90deg, #7c3aed, #c4b5fd); box-shadow: 0 0 10px rgba(196, 181, 253, .8); }
.rl-awaken-wall b { font-weight: 900; text-align: right; font-variant-numeric: tabular-nums; }
.rl-awaken-wall em { padding: 1px 6px; border-radius: 5px; font-style: normal; font-size: 0.66rem; font-weight: 900; color: #160b36; background: #fff; }
.rl-awaken-stars { position: relative; display: flex; align-items: center; gap: 8px; margin: 6px 0 0; font-size: 0.78rem; color: var(--rl-purple-hi); }
.rl-awaken-stars .rk-stars i:not(.is-on):not(.is-awaken):not(.is-next) { background: rgba(255, 255, 255, .25); }
.rl-awaken-slot { width: 16px; height: 16px; clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); background: var(--rl-purple); animation: rl-slot 1.4s ease-in-out infinite; }
@keyframes rl-slot { 0%, 100% { opacity: .35; transform: scale(.85); } 50% { opacity: 1; transform: scale(1.15); } }
.rl-awaken-stars small { color: rgba(255, 255, 255, .6); }
.rl-reply.is-awaken { border-color: var(--rl-purple); background: linear-gradient(90deg, #f5f3ff, #fff 70%); }
.rl-reply.is-awaken .rl-tone { color: #fff; background: linear-gradient(135deg, #7c3aed, #a78bfa); }
.rl-reply.is-awaken:hover { box-shadow: 0 8px 22px -12px rgba(124, 58, 237, .7); }

/* 결과 — 화면 전체 */
html.rl-fx-open { overflow: hidden; }
.rl-fx { position: fixed; inset: 0; z-index: 10000; word-break: keep-all; display: grid; place-items: center; padding: 20px; overflow: hidden;
    background: radial-gradient(60% 50% at 50% 45%, #2e1065 0, #12072b 55%, #05020d 100%); animation: rl-fx-in .35s ease both; }
.rl-fx.is-fail { background: radial-gradient(60% 50% at 50% 45%, #2a2d45 0, #15172a 60%, #07080f 100%); }
.rl-fx.is-leaving { animation: rl-fx-out .3s ease both; }
@keyframes rl-fx-in { from { opacity: 0; } to { opacity: 1; } }
@keyframes rl-fx-out { to { opacity: 0; } }
.rl-fx-rays { position: absolute; left: 50%; top: 45%; width: 160vmax; height: 160vmax; margin: -80vmax 0 0 -80vmax; pointer-events: none;
    background: repeating-conic-gradient(from 0deg, rgba(196, 181, 253, .16) 0 6deg, transparent 6deg 18deg);
    -webkit-mask: radial-gradient(circle, #000 0, transparent 55%); mask: radial-gradient(circle, #000 0, transparent 55%);
    animation: rl-rays 18s linear infinite, rl-fx-in 1.2s ease .4s both; }
@keyframes rl-rays { to { transform: rotate(360deg); } }
.rl-fx-burst { position: absolute; left: 50%; top: 45%; width: 240px; height: 240px; margin: -120px 0 0 -120px; border-radius: 50%; pointer-events: none;
    background: radial-gradient(circle, #fff 0, rgba(233, 213, 255, .9) 18%, rgba(139, 92, 246, .55) 40%, transparent 70%); animation: rl-burst 1.1s cubic-bezier(.2, .8, .2, 1) .55s both; }
@keyframes rl-burst { 0% { transform: scale(0); opacity: 1; } 60% { opacity: 1; } 100% { transform: scale(4.5); opacity: 0; } }
.rl-fx-sparks { position: absolute; left: 50%; top: 45%; pointer-events: none; }
.rl-fx-sparks i { position: absolute; width: 6px; height: 6px; margin: -3px; border-radius: 50%; background: #e9d5ff; box-shadow: 0 0 10px 2px rgba(196, 181, 253, .9);
    transform: rotate(calc(var(--k) * 30deg)) translateY(0); animation: rl-spark 1.3s cubic-bezier(.15, .7, .3, 1) .6s both; }
@keyframes rl-spark { 0% { opacity: 0; transform: rotate(calc(var(--k) * 30deg)) translateY(0) scale(.4); } 15% { opacity: 1; }
    100% { opacity: 0; transform: rotate(calc(var(--k) * 30deg)) translateY(-46vmin) scale(1); } }
.rl-fx-card { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; width: min(100%, 420px); text-align: center; color: #fff; animation: rl-shake .5s ease .55s both; }
@keyframes rl-shake { 0%, 100% { transform: none; } 20% { transform: translate(-6px, 3px); } 40% { transform: translate(5px, -4px); } 60% { transform: translate(-3px, 2px); } 80% { transform: translate(2px, -1px); } }
.rl-fx-star { width: 132px; height: 132px; margin-bottom: 6px; clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    background: linear-gradient(160deg, #faf5ff 0, #c4b5fd 30%, #8b5cf6 60%, #4c1d95 100%); filter: drop-shadow(0 0 24px rgba(167, 139, 250, .95));
    animation: rl-star-drop .7s cubic-bezier(.5, -0.2, .4, 1.4) .1s both, rl-star-glow 2.4s ease-in-out 1.2s infinite; }
@keyframes rl-star-drop { 0% { opacity: 0; transform: translateY(-60vh) rotate(-200deg) scale(.4); } 70% { opacity: 1; transform: translateY(8px) rotate(8deg) scale(1.1); } 100% { transform: none; } }
@keyframes rl-star-glow { 0%, 100% { filter: drop-shadow(0 0 18px rgba(167, 139, 250, .8)); } 50% { filter: drop-shadow(0 0 36px rgba(196, 181, 253, 1)); } }
.rl-fx-kicker { margin: 0; padding: 3px 12px; border-radius: 99px; font-size: 0.8rem; font-weight: 900; color: #12072b; background: #c4b5fd; animation: rl-rise .5s ease .9s both; }
.rk .rl-fx-title, .rl-fx-title { margin: 4px 0 2px; font-size: 3.4rem; font-weight: 900; letter-spacing: -0.04em; line-height: 1.05; color: #fff; text-shadow: 0 0 28px rgba(139, 92, 246, .95), 0 0 3px #fff; animation: rl-title-in .6s cubic-bezier(.2, .9, .2, 1.2) .75s both; }
.rl-fx.is-fail .rl-fx-title { font-size: 2.2rem; text-shadow: none; }
@keyframes rl-title-in { from { opacity: 0; transform: scale(1.8); letter-spacing: .3em; } to { opacity: 1; transform: none; } }
@keyframes rl-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.rl-fx-text { margin: 0; max-width: 32ch; font-size: 0.98rem; line-height: 1.6; color: #ddd6fe; animation: rl-rise .5s ease 1.05s both; }
.rl-fx.is-fail .rl-fx-text { color: #c4c7dc; }
.rl-fx-ups { display: flex; gap: 8px; margin: 4px 0 0; padding: 0; list-style: none; animation: rl-rise .5s ease 1.2s both; }
.rl-fx-ups li { padding: 4px 12px; border-radius: 99px; font-size: 0.85rem; font-weight: 700; color: #fff; background: rgba(139, 92, 246, .35); box-shadow: inset 0 0 0 1px rgba(196, 181, 253, .6); }
.rl-fx-ups b { color: #e9d5ff; }
.rl-fx-go { min-width: 160px; margin-top: 12px; animation: rl-rise .5s ease 1.35s both; }
.rl-fx .rl-fx-go { color: #fff; }
.rl-fx.is-ok .rl-fx-go { background: linear-gradient(135deg, #7c3aed, var(--rk-accent)); border-color: transparent; }
.rl-fx.is-fail .rl-fx-go { color: #15172a; background: #fff; border-color: transparent; }
.rl-fx-crack { width: 112px; height: 112px; margin-bottom: 4px; filter: drop-shadow(0 10px 22px rgba(0, 0, 0, .6)); animation: rl-shake .45s ease .2s both; }
.rl-fx.is-fail .rl-fx-rays, .rl-fx.is-fail .rl-fx-burst, .rl-fx.is-fail .rl-fx-sparks { display: none; }
@media (max-width: 575.98px) {
    .rk .rl-awaken-title { font-size: 1.8rem; }
    .rl-fx-star { width: 104px; height: 104px; }
    .rk .rl-fx-title, .rl-fx-title { font-size: 2.6rem; }
}
@media (prefers-reduced-motion: reduce) {
    .rl-awaken-aura, .rl-awaken-slot, .rl-fx, .rl-fx-rays, .rl-fx-burst, .rl-fx-sparks i, .rl-fx-card, .rl-fx-star, .rl-fx-kicker, .rl-fx-title, .rl-fx-text, .rl-fx-ups, .rl-fx-go, .rl-fx-crack { animation: none; }
    .rl-fx-burst, .rl-fx-sparks { display: none; }
}

/* ══ 명예의 전당 — 역대 베스트 라인업(2026-10-19) ══════════════════════════════════════════════════════
 * 야간 경기장 그라운드(전광판과 같은 밤색) 위에 자리마다 이름표. 지명타자·마무리는 그라운드 밖 벤치 줄. */
.rl-lineup { --rl-night: #0e1130; margin: 0 0 16px; padding: 16px; border-radius: 18px; color: #fff; background: radial-gradient(90% 60% at 50% 0, #232968 0, var(--rl-night) 70%); box-shadow: 0 18px 36px -24px rgba(14, 17, 48, .8); }
.rl-lineup-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; margin: 0 0 8px; }
.rk .rl-lineup-title { margin: 0; font-size: 1.15rem; font-weight: 900; color: #fff; }
.rl-lineup-head p { margin: 0; font-size: 0.78rem; color: var(--rk-board-dim); }
.rl-field { position: relative; width: min(100%, 620px); aspect-ratio: 100 / 80; margin: 0 auto; }
html.rl-fx-open #mobile-version-fab { display: none !important; }
.rl-field-art { position: absolute; inset: 0; width: 100%; height: 100%; }
.rl-field-grass { fill: #1d4a31; }
.rl-field-track { stroke: #8a6a45; stroke-width: 2.4; opacity: .55; }
.rl-field-dirt { fill: #7a5c3c; opacity: .9; }
.rl-field-infield { fill: #1f5132; }
.rl-field-mound { fill: #8a6a45; }
.rl-field-line { stroke: rgba(255, 255, 255, .55); stroke-width: .5; fill: none; }
.rl-field-base { fill: #fff; }
.rl-spot { position: absolute; left: var(--x); top: var(--y); z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 0; min-width: 6.6em; max-width: 9em; padding: 5px 9px 6px; border-radius: 10px; transform: translate(-50%, -50%);
    text-decoration: none; text-align: center; color: #fff; background: rgba(14, 17, 48, .88); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14), inset 0 3px 0 var(--team, #4f46e5), 0 8px 18px -10px rgba(0, 0, 0, .7); transition: transform .15s ease; }
a.rl-spot:hover { transform: translate(-50%, -54%); }
a.rl-spot:focus-visible { outline: 2px solid var(--rk-led); outline-offset: 2px; }
.rl-spot small { font-size: 0.64rem; font-weight: 700; color: var(--rk-board-dim); white-space: nowrap; }
.rl-spot b { max-width: 100%; overflow: hidden; font-size: 0.86rem; font-weight: 900; white-space: nowrap; text-overflow: ellipsis; }
.rl-spot em { font-style: normal; font-size: 0.68rem; font-weight: 800; color: var(--rk-led); font-variant-numeric: tabular-nums; }
.rl-spot.is-empty { background: rgba(14, 17, 48, .55); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1); }
.rl-spot.is-empty b { font-size: 0.72rem; font-weight: 700; color: var(--rk-board-dim); }
.rl-bench { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; width: min(100%, 620px); margin: 10px auto 0; padding: 0; list-style: none; }
.rl-spot.is-bench { position: static; transform: none; flex-direction: row; justify-content: center; gap: 8px; max-width: none; min-height: 40px; padding: 6px 12px; }
a.rl-spot.is-bench:hover { transform: none; box-shadow: inset 0 0 0 1px var(--rk-led), inset 0 3px 0 var(--team, #4f46e5); }
@media (max-width: 575.98px) {
    .rl-lineup { padding: 12px 10px; }
    .rl-field { aspect-ratio: 100 / 100; }
    .rl-spot { min-width: 5.4em; max-width: 6.6em; padding: 4px 6px 5px; border-radius: 8px; }
    .rl-spot b { font-size: 0.74rem; }
    .rl-spot small, .rl-spot em { font-size: 0.58rem; }
    .rl-spot.is-bench { flex-wrap: wrap; gap: 2px 6px; }
}

/* ══ 은퇴 카드 — 유니폼 등판 트레이딩 카드(2026-10-19 개편: "구단별 색, 화려하고 동적인 카드") ══════════════════════
 * 주인공은 흰 홈 유니폼 등판(SVG): 어깨에 이름, 가운데 등번호(구단 주색 + 보조색 두 겹 테두리). 바탕은 구단 주색을 어둡게 눌러
 * 경기장 조명이 유니폼 뒤를 비추는 장면. 등급은 비스듬한 원형 인장, 왼쪽 가장자리엔 카드 인쇄 문구. 크기는 모두 --u(카드 폭/400).
 * 움직임: 레전드·스타는 포일 광택이 천천히 흐르고, 마우스를 따라 카드가 기울며 빛이 비친다(카드 페이지 스크립트). 이미지(PNG)는 멈춘 장면. */
.rl-rcard { --frame: #2b3066; --team: #4f46e5; --trim: #c7d2fe; --ink: #312e81; position: relative; container-type: inline-size; width: min(100%, 400px); aspect-ratio: 4 / 5;
    border-radius: 22px; background: var(--frame); box-shadow: 0 30px 60px -30px rgba(10, 12, 30, .75);
    transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
.rl-rcard.is-tilting { transition: transform .08s linear; }
.rl-rcard.is-pro { background: linear-gradient(135deg, var(--trim), var(--team) 60%, color-mix(in srgb, var(--team) 60%, #000)); }
.rl-rcard.is-star { background: linear-gradient(135deg, #f8fafc 0, #cbd5e1 30%, #f1f5f9 50%, #94a3b8 75%, #e2e8f0 100%); }
.rl-rcard.is-legend { background: conic-gradient(from var(--rl-a), #ffd1f5, #a5f3fc, #fde68a, #c4b5fd, var(--team), #ffd1f5); animation: rl-holo 6s linear infinite; }
.rl-rcard-in { --u: 0.25cqi; position: absolute; inset: calc(5 * var(--u)); display: flex; flex-direction: column; overflow: hidden;
    padding: calc(14 * var(--u)) calc(16 * var(--u)) calc(11 * var(--u)) calc(27 * var(--u)); border-radius: calc(18 * var(--u));
    color: #fff; background-color: color-mix(in srgb, var(--bg, var(--team)) 36%, #070914);
    background-image: radial-gradient(62% 40% at 54% 34%, color-mix(in srgb, var(--team) 62%, transparent) 0, transparent 72%),
                      radial-gradient(40% 26% at 54% 30%, rgba(255, 255, 255, .16) 0, transparent 70%),
                      repeating-linear-gradient(135deg, rgba(255, 255, 255, .035) 0 calc(2 * var(--u)), transparent calc(2 * var(--u)) calc(14 * var(--u))),
                      linear-gradient(180deg, transparent 45%, rgba(0, 0, 0, .5));
    font-variant-numeric: normal; font-kerning: normal; line-height: 1.25; letter-spacing: -0.01em; }   /* 고정폭 숫자는 카드에서 '12 1.2'처럼 틈이 생겨 보통 숫자로 */

.rl-rc-edge { position: absolute; left: calc(5 * var(--u)); top: calc(16 * var(--u)); bottom: calc(16 * var(--u)); width: calc(13 * var(--u)); overflow: hidden; display: flex; align-items: center; justify-content: center; line-height: 1;
    writing-mode: vertical-rl; text-orientation: sideways; transform: rotate(180deg); font-size: calc(8 * var(--u)); font-weight: 700; letter-spacing: .16em; color: rgba(255, 255, 255, .42); white-space: nowrap; }
.rl-rc-top { display: flex; align-items: flex-end; justify-content: space-between; gap: calc(10 * var(--u)); }
.rl-rc-team { display: flex; flex-direction: column; gap: calc(2 * var(--u)); min-width: 0; margin: 0; }
.rl-rc-team span { align-self: flex-start; padding-bottom: calc(1 * var(--u)); border-bottom: calc(2 * var(--u)) solid var(--trim); font-size: calc(10.5 * var(--u)); font-weight: 900; letter-spacing: .04em; color: rgba(255, 255, 255, .9); }
.rl-rc-team b { overflow: hidden; font-size: calc(25 * var(--u)); font-weight: 900; line-height: 1; letter-spacing: -0.04em; color: #fff; white-space: nowrap; text-overflow: ellipsis; text-shadow: 0 calc(2 * var(--u)) 0 rgba(0, 0, 0, .25); }
.rl-rc-years { display: flex; flex-direction: column; align-items: flex-end; gap: calc(1 * var(--u)); margin: 0; font-size: calc(11 * var(--u)); font-weight: 800; color: rgba(255, 255, 255, .85); white-space: nowrap; }
.rl-rc-years small { font-size: calc(9.5 * var(--u)); font-weight: 700; color: rgba(255, 255, 255, .55); }

.rl-rc-hero { position: relative; display: flex; justify-content: center; height: calc(148 * var(--u)); margin-top: calc(2 * var(--u)); }
.rl-rc-jersey { height: 100%; width: auto; overflow: visible; filter: drop-shadow(0 calc(10 * var(--u)) calc(14 * var(--u)) rgba(0, 0, 0, .45)); }
.rl-rc-shadow { fill: rgba(0, 0, 0, .25); }
.rl-rc-jname { font-weight: 900; }
.rl-rc-num text { font-weight: 900; letter-spacing: -0.04em; }
.rl-rc-seal { position: absolute; right: 0; top: calc(4 * var(--u)); display: flex; flex-direction: column; align-items: center; justify-content: center; width: calc(64 * var(--u)); height: calc(64 * var(--u));
    border-radius: 50%; transform: rotate(-14deg); color: var(--team); background: #fff; box-shadow: inset 0 0 0 calc(3 * var(--u)) var(--trim), 0 calc(6 * var(--u)) calc(14 * var(--u)) rgba(0, 0, 0, .45); }
.rl-rc-seal::before { content: ""; position: absolute; inset: calc(6 * var(--u)); border: calc(1.2 * var(--u)) dashed currentColor; border-radius: 50%; opacity: .45; }
.rl-rc-seal b { font-size: calc(14 * var(--u)); font-weight: 900; line-height: 1.05; }
.rl-rc-seal small { font-size: calc(8.5 * var(--u)); font-weight: 800; opacity: .8; }
.rl-rcard.is-legend .rl-rc-seal { color: #2a1450; background: conic-gradient(from 30deg, #ffd1f5, #a5f3fc, #fde68a, #c4b5fd, #ffd1f5); box-shadow: inset 0 0 0 calc(2 * var(--u)) rgba(255, 255, 255, .7), 0 0 calc(18 * var(--u)) rgba(196, 181, 253, .7); }
.rl-rcard.is-star .rl-rc-seal { color: #0f172a; background: linear-gradient(135deg, #f8fafc, #cbd5e1 45%, #f1f5f9 55%, #94a3b8); box-shadow: inset 0 0 0 calc(2 * var(--u)) rgba(255, 255, 255, .8), 0 calc(6 * var(--u)) calc(14 * var(--u)) rgba(0, 0, 0, .45); }
.rl-rcard.is-rookie .rl-rc-seal { color: #fff; background: rgba(255, 255, 255, .14); box-shadow: inset 0 0 0 calc(1.5 * var(--u)) rgba(255, 255, 255, .5); }

.rl-rc-who { margin-top: calc(4 * var(--u)); min-width: 0; }
.rk .rl-rc-name { display: flex; align-items: baseline; gap: calc(7 * var(--u)); margin: 0; overflow: hidden; font-size: calc(21 * var(--u)); font-weight: 900; line-height: 1.15; letter-spacing: -0.035em; color: #fff; white-space: nowrap; }
.rl-rc-name em { flex: none; font-style: normal; font-size: calc(12 * var(--u)); font-weight: 800; letter-spacing: 0; color: color-mix(in srgb, var(--trim) 45%, #fff); }
.rl-rc-pos { margin: calc(3 * var(--u)) 0 0; overflow: hidden; font-size: calc(11 * var(--u)); font-weight: 600; color: rgba(255, 255, 255, .72); white-space: nowrap; text-overflow: ellipsis; }

.rl-rc-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: calc(5 * var(--u)) calc(10 * var(--u)); margin: calc(8 * var(--u)) 0 0; padding: calc(7 * var(--u)) calc(11 * var(--u)) calc(8 * var(--u));
    border-radius: calc(10 * var(--u)); background: rgba(0, 0, 0, .3); box-shadow: inset 0 calc(2.5 * var(--u)) 0 color-mix(in srgb, var(--team) 55%, #fff), inset 0 0 0 1px rgba(255, 255, 255, .08); }
.rl-rc-stats div { display: flex; flex-direction: column; gap: calc(1 * var(--u)); min-width: 0; }
.rl-rc-stats dt { font-size: calc(9 * var(--u)); font-weight: 700; color: rgba(255, 255, 255, .6); white-space: nowrap; }
.rl-rc-stats dd { margin: 0; overflow: hidden; font-size: calc(16 * var(--u)); font-weight: 900; line-height: 1.1; letter-spacing: -0.02em; color: #fff; white-space: nowrap; text-overflow: ellipsis; }
.rl-rc-stats .is-key { padding-top: calc(4 * var(--u)); border-top: 1px solid rgba(255, 255, 255, .14); }
.rl-rc-stats .is-key dd { font-size: calc(14 * var(--u)); color: color-mix(in srgb, var(--team) 30%, #fff); }

.rl-rc-honors { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: calc(4 * var(--u)); margin: calc(7 * var(--u)) 0 0; padding: 0; list-style: none; }
.rl-rc-honors li { display: flex; flex-direction: column; align-items: center; gap: calc(2 * var(--u)); min-width: 0; }
.rl-rc-honors b { display: grid; place-items: center; width: calc(24 * var(--u)); height: calc(24 * var(--u)); border-radius: 50%; font-size: calc(12.5 * var(--u)); font-weight: 900; color: var(--ink); background: #fff;
    box-shadow: 0 0 0 calc(2 * var(--u)) color-mix(in srgb, var(--trim) 70%, #fff), 0 calc(3 * var(--u)) calc(8 * var(--u)) rgba(0, 0, 0, .35); }
.rl-rc-honors small { max-width: 100%; overflow: hidden; font-size: calc(8.5 * var(--u)); font-weight: 700; color: rgba(255, 255, 255, .78); white-space: nowrap; text-overflow: ellipsis; }
.rl-rc-honors li.is-zero b { color: rgba(255, 255, 255, .38); background: transparent; box-shadow: inset 0 0 0 calc(1.5 * var(--u)) rgba(255, 255, 255, .26); }
.rl-rc-honors li.is-zero small { color: rgba(255, 255, 255, .45); }

.rl-rc-best { display: flex; flex-direction: column; gap: calc(1 * var(--u)); margin: calc(6 * var(--u)) 0 calc(4 * var(--u)); font-size: calc(10.5 * var(--u)); }
.rl-rc-best span { font-weight: 800; color: color-mix(in srgb, var(--trim) 45%, #fff); white-space: nowrap; }
.rl-rc-best em { overflow: hidden; font-style: normal; font-weight: 600; color: rgba(255, 255, 255, .88); white-space: nowrap; text-overflow: ellipsis; }
.rl-rc-foot { display: flex; justify-content: space-between; gap: calc(10 * var(--u)); margin-top: auto; padding-top: calc(7 * var(--u)); border-top: 1px dashed rgba(255, 255, 255, .2);
    font-size: calc(9.5 * var(--u)); font-weight: 700; color: rgba(255, 255, 255, .6); white-space: nowrap; }
.rl-rc-foot span:first-child { overflow: hidden; text-overflow: ellipsis; }

/* 포일·빛 — 레전드는 무지갯빛, 스타는 은빛, 프로는 은은하게. 마우스를 따라 빛이 움직인다 */
.rl-rc-foil, .rl-rc-glare { position: absolute; inset: 0; z-index: 2; border-radius: inherit; pointer-events: none; }
.rl-rc-foil { opacity: 0; background-size: 260% 260%; background-position: 20% 20%; mix-blend-mode: color-dodge; }
.rl-rcard.is-legend .rl-rc-foil { opacity: .5; background-image: linear-gradient(115deg, transparent 22%, rgba(255, 120, 220, .35) 36%, rgba(120, 220, 255, .35) 50%, rgba(255, 230, 120, .35) 64%, transparent 78%); animation: rl-foil 7s ease-in-out infinite alternate; }
.rl-rcard.is-star .rl-rc-foil { opacity: .4; background-image: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .45) 46%, rgba(255, 255, 255, .1) 54%, transparent 70%); animation: rl-foil 8s ease-in-out infinite alternate; }
.rl-rcard.is-pro .rl-rc-foil { opacity: .22; background-image: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .45) 50%, transparent 65%); }
@keyframes rl-foil { from { background-position: 10% 10%; } to { background-position: 90% 90%; } }
.rl-rc-glare { opacity: 0; background: radial-gradient(circle at var(--gx, 30%) var(--gy, 20%), rgba(255, 255, 255, .32) 0, transparent 46%); mix-blend-mode: soft-light; transition: opacity .3s ease; }
.rl-rcard.is-tilting .rl-rc-glare { opacity: 1; }
.rl-rcard.is-tilting .rl-rc-foil { animation: none; background-position: var(--gx, 50%) var(--gy, 50%); }
.rl-cardpage .rl-rcard { width: min(100%, 420px); }
.rl-cardpage.is-fresh .rl-rcard { animation: rl-reveal 1s cubic-bezier(.2, .8, .2, 1) backwards; }
.rl-cardpage.is-fresh .rl-rcard.is-legend { animation: rl-reveal 1s cubic-bezier(.2, .8, .2, 1) backwards, rl-holo 6s linear 1s infinite; }
@media (prefers-reduced-motion: reduce) {
    .rl-rcard, .rl-rcard.is-tilting { transform: none; transition: none; }
    .rl-rcard .rl-rc-foil, .rl-rcard.is-legend .rl-rc-foil, .rl-rcard.is-star .rl-rc-foil { animation: none; }
}

/* 시즌 결산 줄 — 여섯 칸이 좁아도 '1.034'가 두 줄로 쪼개지지 않게 */
.rl-result .rk-line-main > div { padding: 0 10px; }
.rl-result .rk-line-main > div:first-child { padding-left: 0; }
.rl-result .rk-line-main dd { font-size: 1.5rem; white-space: nowrap; }
@media (max-width: 575.98px) {
    .rl-result .rk-line-main > div:nth-child(4) { padding-left: 0; border-left: 0; }
    .rl-result .rk-line-main dd { font-size: 1.3rem; }
}

/* 정식 판 선수 페이지 — 은퇴 카드로 가는 줄 */
.rk-cardlink { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 12px; margin: 0 0 14px; font-size: 0.84rem; color: var(--rk-ink-3); }

/* 각성 — 다음 별 칸(다섯 칸 고정, 스카우트 별 다음 빈 칸이 보라색으로 숨 쉰다) */
.rk-stars i.is-next { background: #a78bfa; filter: drop-shadow(0 0 4px rgba(139, 92, 246, .9)); animation: rk-next 1.4s ease-in-out infinite; }
@keyframes rk-next { 0%, 100% { opacity: .6; transform: scale(.92); } 50% { opacity: 1; transform: scale(1.12); } }
@media (prefers-reduced-motion: reduce) { .rk-stars i.is-next { animation: none; opacity: .7; } }

/* 결정적 순간 결과 연출(2026-10-19) — 각성처럼 이펙트만: 공(메달)이 날아와 박히는 순간 섬광·충격파·불꽃·빛줄기 → 제목 → 점수판 → 우승/준우승.
   기본 모양 = 마지막 장면, 애니메이션이 처음부터 끌고 온다(fill both). 시각: --ti 박힘, --th 제목, --ts 점수, --tr 결과, --tw 빛줄기
   끝없이 도는 것(빛줄기 회전·공 빛)은 .rl-mfx-spin — 건너뛰기에서 빼야 미친 듯이 돌지 않는다 */
.rl-mfx { position: fixed; inset: 0; z-index: 10000; display: grid; grid-template-columns: minmax(0, 1fr); place-items: center; overflow: hidden; padding: 20px 16px; word-break: keep-all; color: #fff;
    background: radial-gradient(60% 50% at 50% 38%, #312e81 0, #0f1240 55%, #04051a 100%);
    --ti: .65s; --th: .8s; --ts: 1.45s; --tr: 1.8s; --tw: var(--ti); animation: rl-fx-in .3s ease both; }
.rl-mfx.has-after { --tr: 2.35s; --tw: var(--tr); }
.rl-mfx.is-bad { --ti: .85s; --th: 1s; --ts: 1.6s; --tr: 2s; }
.rl-mfx.is-bad.has-after { --tr: 2.55s; }
.rl-mfx.is-lost { background: radial-gradient(60% 50% at 50% 38%, #2a2d45 0, #15172a 60%, #07080f 100%); }
.rl-mfx.is-leaving { animation: rl-fx-out .3s ease both; }
.rl-mfx-skip { position: fixed; top: 14px; right: 14px; z-index: 3; padding: 6px 14px; border: 1px solid rgba(199, 210, 254, .35); border-radius: 99px; font-size: 0.8rem; font-weight: 700;
    color: #e0e7ff; background: rgba(255, 255, 255, .08); opacity: 0; visibility: hidden; animation: rl-mfx-gone .2s ease calc(var(--tr) + .3s) both; }
.rl-mfx-skip:hover, .rl-mfx-skip:focus-visible { background: rgba(255, 255, 255, .16); outline: 2px solid #a5b4fc; outline-offset: 2px; }
.rl-mfx-in { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; width: min(100%, 440px); text-align: center; }
.rl-mfx.is-good .rl-mfx-in { animation: rl-shake .5s ease var(--ti) both; }
.rk .rl-mfx-kicker, .rl-mfx-kicker { margin: 0; padding: 3px 12px; border-radius: 99px; font-size: 0.8rem; font-weight: 900; color: #0f1240; background: #c7d2fe; animation: rl-mfx-rise .4s ease .1s both; }
.rl-mfx.is-lost .rl-mfx-kicker { color: #cbd5e1; background: rgba(148, 163, 184, .22); }

/* 무대 — 공(메달)과 그 뒤 이펙트. 이펙트는 무대 가운데를 기준으로 퍼진다(바깥은 화면이 자른다) */
.rl-mfx-stage { position: relative; display: grid; place-items: center; width: 132px; height: 132px; margin: 4px 0 2px; }
.rl-mfx-stage > span:not(.rl-mfx-glow):not(.rl-mfx-medal) { position: absolute; left: 50%; top: 50%; z-index: -1; pointer-events: none; }
.rl-mfx-rays { width: 160vmax; height: 160vmax; margin: -80vmax 0 0 -80vmax; animation: rl-mfx-fade 1.1s ease var(--tw) both; }
.rl-mfx-rays i { position: absolute; inset: 0;
    background: repeating-conic-gradient(from 9deg, color-mix(in srgb, var(--mfx-c1) 22%, transparent) 0 3deg, transparent 3deg 18deg),
        repeating-conic-gradient(from 0deg, rgba(199, 210, 254, .13) 0 6deg, transparent 6deg 18deg);
    -webkit-mask: radial-gradient(circle, #000 0, transparent 40%); mask: radial-gradient(circle, #000 0, transparent 40%); animation: rl-rays 22s linear infinite; }
.rl-mfx.is-lost .rl-mfx-rays { display: none; }
.rl-mfx-burst { width: 230px; height: 230px; margin: -115px 0 0 -115px; border-radius: 50%; opacity: 0;
    background: radial-gradient(circle, #fff 0, rgba(224, 231, 255, .92) 18%, rgba(99, 102, 241, .6) 42%, transparent 70%); }
.rl-mfx.is-good .rl-mfx-burst { animation: rl-burst 1s cubic-bezier(.2, .8, .2, 1) var(--ti) both; }
.rl-mfx-ring { width: 124px; height: 124px; margin: -62px 0 0 -62px; border: 3px solid rgba(199, 210, 254, .9); border-radius: 50%; opacity: 0; }
.rl-mfx.is-good .rl-mfx-ring { animation: rl-mfx-ring .8s cubic-bezier(.2, .7, .3, 1) var(--ti) both; }
.rl-mfx.is-good .rl-mfx-ring.is-late { border-color: color-mix(in srgb, var(--mfx-c1) 70%, #fff); animation-delay: calc(var(--ti) + .14s); }
@keyframes rl-mfx-ring { 0% { opacity: 0; transform: scale(.6); } 10% { opacity: 1; } 100% { opacity: 0; transform: scale(3.4); } }
.rl-mfx-sparks i { position: absolute; width: 6px; height: 6px; margin: -3px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px 2px rgba(199, 210, 254, .9); opacity: 0; }
.rl-mfx-sparks i:nth-child(3n+2) { background: #a5b4fc; }
.rl-mfx-sparks i:nth-child(3n) { background: var(--mfx-c1); box-shadow: 0 0 10px 2px color-mix(in srgb, var(--mfx-c1) 70%, #fff); }
.rl-mfx.is-good .rl-mfx-sparks i { animation: rl-mfx-spark 1.2s cubic-bezier(.15, .7, .3, 1) calc(var(--ti) + .03s) both; }
@keyframes rl-mfx-spark { 0% { opacity: 0; transform: rotate(calc(var(--k) * 22.5deg)) translateY(0) scale(.4); } 15% { opacity: 1; }
    100% { opacity: 0; transform: rotate(calc(var(--k) * 22.5deg)) translateY(-44vmin) scale(1); } }

/* 공 — 멀리서 회전하며 날아와 박힌다(안 좋은 결과는 잿빛으로 툭 떨어지고, 지면 금이 간다) */
.rl-mfx-glow { display: block; filter: drop-shadow(0 0 18px rgba(129, 140, 248, .75)); }
.rl-mfx-glow.rl-mfx-spin { animation: rl-mfx-pulse 2.4s ease-in-out 1.6s infinite; }
@keyframes rl-mfx-pulse { 0%, 100% { filter: drop-shadow(0 0 16px rgba(129, 140, 248, .7)); } 50% { filter: drop-shadow(0 0 34px rgba(199, 210, 254, 1)); } }
.rl-mfx.is-bad .rl-mfx-glow { filter: drop-shadow(0 10px 22px rgba(0, 0, 0, .55)); }
.rl-mfx-ball { display: block; width: 120px; height: 120px; animation: rl-mfx-fly .7s cubic-bezier(.45, 0, .35, 1.25) .05s both; }
.rl-mfx.is-bad .rl-mfx-ball { filter: grayscale(.75) brightness(.78); animation: rl-mfx-thud .9s cubic-bezier(.5, 0, .5, 1) .05s both; }
@keyframes rl-mfx-fly { 0% { opacity: 0; transform: translate(34vw, -36vh) scale(.22) rotate(-720deg); }
    85% { opacity: 1; transform: translate(0, 0) scale(1.16) rotate(14deg); } 100% { transform: none; } }
@keyframes rl-mfx-thud { 0% { opacity: 0; transform: translateY(-38vh) rotate(-160deg) scale(.7); } 70% { opacity: 1; transform: translateY(6px) rotate(6deg) scale(1.02, .96); }
    85% { transform: translateY(-5px) rotate(2deg); } 100% { transform: none; } }
.rl-mfx-crack { stroke-dasharray: 1; stroke-dashoffset: 0; animation: rl-mfx-draw .35s ease-out calc(var(--ti) + .05s) both; }
@keyframes rl-mfx-draw { from { stroke-dashoffset: 1; } }
.rl-mfx.is-bad.is-lost .rl-mfx-in { animation: rl-shake .4s ease calc(var(--ti) + .05s) both; }     /* 금이 가는 순간 — 흔들리고 부스러기가 떨어진다 */
.rl-mfx.is-bad.is-lost .rl-mfx-sparks i { width: 5px; height: 5px; border-radius: 1px; background: #8b93b5; box-shadow: none;
    transform: rotate(calc(var(--k) * 22.5deg)) translateY(-50px); animation: rl-mfx-debris 1s cubic-bezier(.5, 0, .9, .6) calc(var(--ti) + .05s) both; }
@keyframes rl-mfx-debris { 0% { opacity: 0; translate: 0 0; } 12% { opacity: .9; } 100% { opacity: 0; translate: calc((var(--k) - 8.5) * 7px) calc(14vh + var(--k) * 1.3vh); } }

/* 메달(국가대표 결승) — 뒤집히며 날아와 박히고 빛이 한 번 훑는다 */
.rl-mfx-medal { position: relative; display: block; width: 104px; height: 104px; margin-top: 22px; border-radius: 50%; overflow: visible;
    animation: rl-mfx-coin .8s cubic-bezier(.4, 0, .3, 1.2) .05s both; }
.rl-mfx-medal::before { content: ''; position: absolute; left: 50%; bottom: 100%; width: 34px; height: 24px; margin-left: -17px;
    background: linear-gradient(90deg, #CD2E3A 0 50%, #0047A0 50% 100%); clip-path: polygon(0 0, 100% 0, 70% 100%, 30% 100%); }
.rl-mfx-medal::after { content: ''; position: absolute; inset: 11px; border-radius: 50%; box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .45), 0 0 0 2px rgba(0, 0, 0, .12); }
.rl-mfx-medal.is-gold { background: radial-gradient(circle at 35% 30%, #fef3c7, #facc15 45%, #a16207); box-shadow: 0 0 34px rgba(250, 204, 21, .5), inset 0 0 0 4px rgba(161, 98, 7, .4); }
.rl-mfx-medal.is-silver { background: radial-gradient(circle at 35% 30%, #fff, #cbd5e1 50%, #64748b); box-shadow: 0 0 26px rgba(203, 213, 225, .35), inset 0 0 0 4px rgba(71, 85, 105, .4); }
.rl-mfx-shine { position: absolute; inset: 0; border-radius: 50%; overflow: hidden; opacity: 0;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .85) 48%, transparent 62%) 0 0 / 260% 100% no-repeat;
    animation: rl-mfx-shine .9s ease-out calc(var(--ti) + .15s) both; }
@keyframes rl-mfx-shine { 0% { opacity: 1; background-position: 120% 0; } 100% { opacity: 1; background-position: -60% 0; } }
@keyframes rl-mfx-coin { 0% { opacity: 0; transform: perspective(500px) translateY(-34vh) rotateY(1080deg) scale(.4); }
    80% { opacity: 1; transform: perspective(500px) translateY(4px) rotateY(-14deg) scale(1.12); } 100% { transform: none; } }

/* 글자 — 제목이 박히고, 점수판이 넘어가고, 결과가 찍힌다 */
.rk .rl-mfx-head, .rl-mfx-head { margin: 2px 0 0; font-size: 3.2rem; font-weight: 900; letter-spacing: -0.04em; line-height: 1.08; color: #fff; text-wrap-style: balance;
    text-shadow: 0 0 26px rgba(99, 102, 241, .95), 0 0 3px #fff; animation: rl-title-in .55s cubic-bezier(.2, .9, .2, 1.2) var(--th) both; }
.rk .rl-mfx.is-bad .rl-mfx-head, .rl-mfx.is-bad .rl-mfx-head { font-size: 2.3rem; color: #cbd5e1; text-shadow: none; animation-name: rl-mfx-rise; }
.rl-mfx-bug { display: inline-flex; align-items: stretch; overflow: hidden; border-radius: 8px; background: rgba(4, 6, 24, .7); box-shadow: inset 0 0 0 1px rgba(165, 180, 252, .25);
    font-variant-numeric: tabular-nums; animation: rl-mfx-rise .4s ease calc(var(--th) + .35s) both; }
.rl-mfx-sit { display: flex; align-items: center; padding: 5px 11px; font-size: 0.8rem; font-weight: 700; color: #cbd5e1; background: rgba(79, 70, 229, .3); }
.rl-mfx-score { display: flex; align-items: center; gap: 6px; padding: 3px 11px; font-size: 1.2rem; font-weight: 900; color: #fff; }
.rl-mfx-score small { font-size: 0.7rem; font-weight: 700; color: #94a3b8; }
.rl-mfx-colon { color: #64748b; }
.rl-mfx-num { display: inline-grid; overflow: hidden; }
.rl-mfx-num i { grid-area: 1 / 1; font-style: normal; }
.rl-mfx-num .is-old { opacity: 0; animation: rl-mfx-num-out .35s ease var(--ts) both; }
.rl-mfx-num .is-flip { color: #c7d2fe; animation: rl-mfx-num-in .35s ease var(--ts) both; }
@keyframes rl-mfx-num-out { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(-70%); } }
@keyframes rl-mfx-num-in { from { opacity: 0; transform: translateY(70%); } }
.rk .rl-mfx-line, .rl-mfx-line { margin: 0; font-size: 0.8rem; color: #94a3b8; animation: rl-mfx-rise .4s ease calc(var(--th) + .4s) both; }
.rk .rl-mfx-after, .rl-mfx-after { margin: 2px 0 0; font-size: 0.95rem; font-weight: 700; color: #e0e7ff; animation: rl-mfx-rise .4s ease calc(var(--tr) - .5s) both; }
.rk .rl-mfx-result, .rl-mfx-result { margin: 4px 0 0; font-size: 2.1rem; font-weight: 900; letter-spacing: -0.03em; line-height: 1.1; color: #fff;
    text-shadow: 0 0 20px rgba(129, 140, 248, .8); animation: rl-mfx-stamp .45s cubic-bezier(.2, .9, .2, 1.25) var(--tr) both; }
.rk .rl-mfx.is-lost .rl-mfx-result, .rl-mfx.is-lost .rl-mfx-result { font-size: 1.7rem; color: #94a3b8; text-shadow: none; animation-name: rl-mfx-rise; }
.rl-mfx-ribbon { width: 110px; height: 6px; border-radius: 3px; background: linear-gradient(90deg, var(--mfx-c1) 0 50%, var(--mfx-c2) 50% 100%);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .3); animation: rl-mfx-grow .45s ease calc(var(--tr) + .2s) both; }
.rk .rl-mfx-play, .rl-mfx-play { max-width: 32ch; margin: 2px 0 0; font-size: 0.95rem; line-height: 1.6; color: #cbd5e1; text-wrap-style: pretty; animation: rl-mfx-rise .4s ease calc(var(--tr) + .35s) both; }
.rl-mfx .rl-mfx-go { min-width: 180px; margin-top: 8px; color: #fff; background: linear-gradient(135deg, #6366f1, var(--rk-accent, #4f46e5)); border-color: transparent;
    animation: rl-mfx-rise .4s ease calc(var(--tr) + .5s) both; }
.rl-mfx.is-lost .rl-mfx-go { color: #15172a; background: #fff; }

/* 꽃가루 — 이겼을 때만, 구단 주·보조색과 흰색 */
.rl-mfx-confetti { position: absolute; inset: 0; z-index: 2; overflow: hidden; pointer-events: none; }
.rl-mfx-confetti i { position: absolute; top: -4vh; left: calc(var(--k) * 4.1% - 3%); width: 8px; height: 13px; border-radius: 2px; background: var(--mfx-c1); opacity: 0;
    animation: rl-mfx-fall 2.8s cubic-bezier(.25, .6, .4, 1) calc(var(--tr) + var(--k) * 28ms) both; }
.rl-mfx-confetti i:nth-child(3n+2) { width: 6px; height: 10px; background: var(--mfx-c2); animation-duration: 3.3s; --dx: -36px; }
.rl-mfx-confetti i:nth-child(3n) { width: 5px; height: 8px; background: #fff; animation-duration: 2.5s; --dx: 18px; }
.rl-mfx-confetti i:nth-child(4n) { --dx: -60px; }
@keyframes rl-mfx-fall { 0% { opacity: 1; transform: translate(0, 0) rotate(0); } 85% { opacity: 1; } 100% { opacity: 0; transform: translate(var(--dx, 40px), 108vh) rotate(560deg); } }
@keyframes rl-mfx-rise { from { opacity: 0; transform: translateY(8px); } }
@keyframes rl-mfx-stamp { from { opacity: 0; transform: scale(1.7); } }
@keyframes rl-mfx-grow { from { transform: scaleX(0); } }
@keyframes rl-mfx-fade { from { opacity: 0; } }
@keyframes rl-mfx-gone { from { opacity: 1; visibility: visible; } to { opacity: 0; visibility: hidden; } }
@media (max-width: 575.98px) {
    .rk .rl-mfx-head, .rl-mfx-head { font-size: 2.6rem; }
    .rk .rl-mfx.is-bad .rl-mfx-head, .rl-mfx.is-bad .rl-mfx-head { font-size: 2rem; }
}
@media (max-height: 640px) {                                   /* 낮은 화면 — 결과까지 한 화면에 */
    .rl-mfx-in { gap: 6px; }
    .rl-mfx-stage { width: 96px; height: 96px; }
    .rl-mfx-ball { width: 88px; height: 88px; }
    .rl-mfx-medal { width: 76px; height: 76px; margin-top: 18px; }
    .rk .rl-mfx-head, .rl-mfx-head { font-size: 2.3rem; }
    .rk .rl-mfx-result, .rl-mfx-result { font-size: 1.7rem; }
}
/* 수상 축하(2026-10-19) — 결정적 순간 연출과 같은 이펙트에 트로피. 트로피의 금색은 재질 표시로만 */
.rl-mfx[hidden] { display: none; }
.rl-mfx.is-award { --ti: .75s; --th: .9s; --ts: 1.3s; --tr: 1.5s; }
.rl-mfx-glow.is-gold { filter: drop-shadow(0 0 20px rgba(250, 204, 21, .55)); }
.rl-mfx-glow.is-gold.rl-mfx-spin { animation: rl-mfx-pulse-gold 2.4s ease-in-out 1.6s infinite; }
@keyframes rl-mfx-pulse-gold { 0%, 100% { filter: drop-shadow(0 0 16px rgba(250, 204, 21, .5)); } 50% { filter: drop-shadow(0 0 34px rgba(253, 230, 138, .95)); } }
.rl-mfx-trophy { display: block; width: 124px; height: 124px; animation: rl-mfx-lift .85s cubic-bezier(.3, 0, .3, 1.25) .05s both; }
@keyframes rl-mfx-lift { 0% { opacity: 0; transform: perspective(500px) translateY(38vh) rotateY(900deg) scale(.4); }
    80% { opacity: 1; transform: perspective(500px) translateY(-6px) rotateY(-12deg) scale(1.12); } 100% { transform: none; } }
.rk .rl-mfx-count, .rl-mfx-count { margin: 0; padding: 3px 12px; border-radius: 99px; font-size: 0.85rem; font-weight: 800; color: #fde68a; background: rgba(250, 204, 21, .14);
    box-shadow: inset 0 0 0 1px rgba(250, 204, 21, .45); animation: rl-mfx-rise .4s ease calc(var(--th) + .3s) both; }
.rl-mfx-others { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 4px 0 0; padding: 0; list-style: none; }
.rl-mfx-others li { padding: 4px 11px; border-radius: 99px; font-size: 0.8rem; font-weight: 700; color: #e0e7ff; background: rgba(99, 102, 241, .25);
    box-shadow: inset 0 0 0 1px rgba(165, 180, 252, .5); animation: rl-mfx-rise .35s ease calc(var(--tr) + var(--i, 0) * 80ms) both; }
.rl-mfx-others li:nth-child(2) { --i: 1; } .rl-mfx-others li:nth-child(3) { --i: 2; } .rl-mfx-others li:nth-child(4) { --i: 3; }
.rl-mfx-others li:nth-child(5) { --i: 4; } .rl-mfx-others li:nth-child(n+6) { --i: 5; }
@media (max-height: 640px) { .rl-mfx-trophy { width: 92px; height: 92px; } }
.rl-mfx.is-skip *:not(.rl-mfx-spin), .rl-mfx.is-skip *::before, .rl-mfx.is-skip *::after { animation-delay: 0s !important; animation-duration: .01s !important; }
@media (prefers-reduced-motion: reduce) {
    .rl-mfx, .rl-mfx *, .rl-mfx *::before, .rl-mfx *::after { animation: none !important; }
}

/* 스스로 은퇴 뒤 기다림(2026-10-19) · 카드 페이지 스토리 버튼 */
.rl-quitwait { margin: 0 0 12px; padding: 10px 12px; border-radius: 10px; font-size: 0.85rem; line-height: 1.5; color: var(--rk-ink-2); background: var(--rk-accent-wash); }
.rl-quitwait b { color: var(--rk-accent); font-variant-numeric: tabular-nums; }
@media (max-width: 575.98px) {                                     /* 카드 페이지 버튼 셋 — 피드·스토리 두 칸, 링크는 한 줄 전체 */
    .rl-cardpage-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .rl-cardpage-actions .gm-btn { justify-content: center; }
    .rl-cardpage-actions .gm-btn:nth-child(3) { grid-column: 1 / -1; }
}

/* 해외 제안 — 나라마다 구단 셋 가운데 고른다(2026-10-19) */
.rl-abroad-teams { display: flex; flex-direction: column; gap: 6px; margin: 4px 0 2px; }
.rl-abroad-team { display: block; cursor: pointer; }
.rl-abroad-team input { position: absolute; opacity: 0; pointer-events: none; }
.rl-abroad-team span { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border: 1px solid var(--rk-line); border-radius: 10px; font-size: 0.85rem; font-weight: 700; color: var(--rk-ink); background: #fff; }
.rl-abroad-team .rk-dot { background: var(--team); }
.rl-abroad-team input:checked + span { border-color: var(--rk-accent); box-shadow: 0 0 0 2px var(--rk-accent-wash); color: var(--rk-accent); }
.rl-abroad-team input:focus-visible + span { outline: 2px solid var(--rk-accent); outline-offset: 2px; }
.rl-programs.is-one { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 900px) and (min-width: 576px) { .rl-programs.is-three > :last-child:nth-child(3) { grid-column: 1 / -1; } }   /* 두 칸이 되면 셋째는 한 줄 전체 */

/* 한 번에 쇼핑(2026-10-19) */
.rl-planform { display: flex; flex-direction: column; gap: 10px; }
.rl-plan-group { margin: 0; padding: 0; border: 0; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.rl-plan-group legend { float: none; width: auto; margin: 0 0 2px; padding: 0; font-size: 0.86rem; font-weight: 900; }
.rl-plan-group legend small { font-weight: 600; color: var(--rk-ink-3); }
.rl-plan-opt { display: block; cursor: pointer; }
.rl-plan-opt input { position: absolute; opacity: 0; pointer-events: none; }
.rl-plan-opt > span { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 10px; padding: 10px 12px; border: 1px solid var(--rk-line); border-radius: 10px; background: #fff; }
.rl-plan-opt b { font-size: 0.86rem; }
.rl-plan-opt small { grid-column: 1; font-size: 0.74rem; color: var(--rk-ink-3); }
.rl-plan-opt em { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-style: normal; font-size: 0.84rem; font-weight: 900; font-variant-numeric: tabular-nums; }
.rl-plan-opt input:checked + span { border-color: var(--rk-accent); background: var(--rk-accent-wash); box-shadow: 0 0 0 2px var(--rk-accent-wash); }
.rl-plan-opt input:focus-visible + span { outline: 2px solid var(--rk-accent); outline-offset: 2px; }
.rl-plan-opt.is-done > span { opacity: .55; cursor: default; }

/* 연표 — 기록 칸은 줄바꿈해서 WAR 칸이 잘리지 않게(2026-10-19) */
.rl-years td.is-text:nth-of-type(5) { white-space: normal; min-width: 11em; }

/* 모바일 — 떠 있는 'PC 버전' 버튼이 마지막 줄(상점 가격·푸터)을 덮지 않게 아래 여백을 더 둔다(2026-10-24) */
@media (max-width: 767.98px) { .gm.rk, .gm-wrap.rk { padding-bottom: 3.5rem; } }
