/* 绿茵生涯 · Matchday — light, mobile-first */
:root {
  color-scheme: light;
  --bg: #f2f4ef; --surface: #fff; --surface-2: #f4f7f1; --surface-3: #e8eee4;
  --line: #dce3d7; --text: #192c24; --muted: #647168;
  --green: #236548; --green-deep: #164d35; --lime: #d6ed98;
  --gold: #946c1e; --red: #b84942; --blue: #296ab5; --violet: #7056a4; --ink: #152e23;
  --safe-top: max(env(safe-area-inset-top, 0px), var(--container-top, 0px));
  --safe-bottom: max(env(safe-area-inset-bottom, 0px), var(--container-bottom, 0px));
  --safe-left: max(env(safe-area-inset-left, 0px), var(--container-left, 0px));
  --safe-right: max(env(safe-area-inset-right, 0px), var(--container-right, 0px));
  --viewport-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}
* { box-sizing: border-box; }
html { background: var(--bg); scroll-padding-top: calc(var(--safe-top) + 64px); scroll-padding-bottom: calc(var(--safe-bottom) + 90px); -webkit-text-size-adjust:100%; text-size-adjust:100%; }
body { margin: 0; min-width: 280px; min-height: 100vh; color: var(--text); background: var(--bg); -webkit-font-smoothing: antialiased; }
button, input, select { font: inherit; }
button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button:focus-visible, input:focus-visible, summary:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
#app { width: min(100%, 480px); min-height: 100vh; margin: 0 auto; padding: calc(8px + var(--safe-top)) 16px calc(22px + var(--safe-bottom)); }
.screen { min-height: calc(100vh - 30px - var(--safe-top) - var(--safe-bottom)); display: flex; flex-direction: column; gap: 16px; }
.screen > * { min-width: 0; }
.topbar { position: sticky; top: var(--safe-top); z-index: 8; display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 48px; padding: 4px 0 10px; border-bottom: 1px solid var(--line); background: var(--bg); }
.topbar::before { content: ""; position: absolute; left: -16px; right: -16px; bottom: 100%; height: calc(var(--safe-top) + 12px); background: var(--bg); pointer-events: none; }
.brand { display: flex; align-items: center; gap: 8px; color: var(--ink); font-size: 15px; letter-spacing: 1px; font-weight: 900; white-space: nowrap; }
.brand::before { content: "G"; display: grid; place-items: center; width: 25px; height: 28px; border-radius: 5px 5px 10px 10px; background: var(--green); color: white; font-size: 17px; font-style: italic; letter-spacing: 0; }
.badge { padding: 5px 8px; border-radius: 5px; background: #e8ece4; color: #526256; font-size: 10px; font-weight: 700; }
.topbar .badge { margin-left: auto; max-width: 44%; overflow-wrap: anywhere; }
.topbar .button.small { min-width: 44px; min-height: 40px; padding: 6px 9px; flex: 0 0 auto; }
h1,h2,h3,p { margin-top: 0; }
h1 { margin-bottom: 16px; font-size: clamp(40px,12vw,58px); line-height: 1.1; letter-spacing: -2px; white-space: pre-line; font-weight: 900; }
h2 { margin-bottom: 2px; font-size: 24px; line-height: 1.3; letter-spacing: -.6px; }
h3 { margin-bottom: 12px; font-size: 15px; line-height: 1.4; }
p:last-child { margin-bottom: 0; }
.eyebrow { margin: 0 0 10px; color: var(--green); font-size: 10px; font-weight: 850; letter-spacing: 2px; }
.lead { color: #58685e; font-size: 14px; line-height: 1.7; }
.muted { color: var(--muted); }
.tiny { color: var(--muted); font-size: 12px; line-height: 1.6; }
.gold { color: var(--gold); } .green { color: var(--green); }
.panel { position: relative; min-width: 0; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
.panel.compact { padding: 12px; }
.panel-title { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; margin-bottom: 12px; }
.panel-title h3 { margin: 0; }
.panel .panel { padding: 14px 0; border: 0; border-radius: 0; background: transparent; }
.panel .panel + .panel { border-top: 1px solid var(--line); }
.moment-card { border-left: 3px solid var(--blue); background: #f5f9ff; }
.danger-panel { border-color: #ebc4b9; background: #fff5ef; }
.success-panel { border-color: #b7d8b7; background: #f3faee; }
.realization-panel, .major-competition { border-color: #cad8e4; background: #f6f9fc; }
.world-cup-panel { border-color: #ded0a7; background: #fffaf0; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-height: 50px; padding: 12px 16px; border: 1px solid transparent; border-radius: 10px; color: #fff; background: var(--green); font-size: 15px; font-weight: 800; cursor: pointer; transition: background .15s, transform .12s; }
.button:active { transform: translateY(1px); }
.button:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.button.secondary { color: var(--text); background: var(--surface-2); border-color: var(--line); }
.button.ghost { color: var(--muted); background: transparent; border-color: var(--line); }
.button.gold-button { background: #eacb7a; color: #4a3611; }
.button.small { width: auto; min-height: 44px; padding: 8px 12px; border-radius: 8px; font-size: 12px; }
.button-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.button-row.three { grid-template-columns: repeat(3,minmax(0,1fr)); }
.hero { position: relative; overflow: hidden; padding: 26px 22px; border-radius: 16px; background: var(--ink); color: #fff; }
.hero::after { content: "10"; position: absolute; right: -5px; top: 6px; font: italic 900 170px/.9 sans-serif; letter-spacing: -18px; color: #ffffff0c; pointer-events: none; }
.hero > * { position: relative; z-index: 1; }
.hero .eyebrow { color: var(--lime); }
.hero .lead { color: #d0ddd0; max-width: 310px; font-size: 13px; }
.hero h1 { font-size: 44px; margin: 20px 0 14px; }
.hero .button { margin-top: 8px; color: var(--ink); background: var(--lime); }
.hero-facts { display: flex; gap: 20px; padding-top: 18px; margin-top: 22px; border-top: 1px solid #ffffff26; }
.hero-facts span { color: #b6c7b8; font-size: 10px; }
.hero-facts strong { color: #fff; font-size: 18px; margin-right: 4px; }
.landing-screen { gap: 20px; }
.landing-screen .save-panel { background: transparent; border: 0; padding: 0; }
.save-list { display: grid; gap: 10px; }
.save-entry { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.button.save-slot { display: block; min-height: 48px; padding: 0; border: 0; text-align: left; color: var(--text); background: transparent; }
.save-slot-title { display: block; font-size: 14px; font-weight: 800; }
.save-slot-meta { display: block; margin-top: 6px; font-size: 11px; color: var(--muted); font-weight: 400; }
.save-delete { padding: 8px 6px !important; min-height: 44px; color: var(--muted) !important; background: transparent !important; border: 0 !important; font-size: 11px !important; }
.choice-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.choice-grid.three { grid-template-columns: repeat(3,minmax(0,1fr)); }
.choice { min-width: 0; min-height: 72px; padding: 13px 12px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); color: var(--text); text-align: left; cursor: pointer; }
.choice strong,.choice span { display: block; }
.choice strong { font-size: 14px; }
.choice span { margin-top: 6px; color: var(--muted); font-size: 11px; line-height: 1.5; }
.choice.selected { border-color: var(--green); background: #eef6e5; box-shadow: inset 0 0 0 1px var(--green); }
.choice.locked { opacity: .4; cursor: not-allowed; }
.field { display: grid; gap: 7px; }
.field label { color: var(--muted); font-size: 12px; }
.field input { width: 100%; min-height: 48px; padding: 11px 12px; border: 1px solid var(--line); border-radius: 9px; color: var(--text); background: var(--surface-2); }
.progress-wrap { display: flex; align-items: center; gap: 10px; }
.progress { height: 5px; flex: 1; border-radius: 9px; background: #dfe6d9; overflow: hidden; }
.progress > span { display: block; height: 100%; background: var(--green); border-radius: inherit; transition: width .2s; }
.progress-wrap > strong { font-size: 12px; }
.build-screen { height: calc(100dvh - 30px - var(--safe-top) - var(--safe-bottom)); min-height: 0; gap: 8px; padding-bottom: 138px; }
.build-screen > :not(.build-candidates) { flex-shrink: 0; }
.build-screen > h2 { font-size: 26px; }
.build-summary { padding: 0; border: 0; background: transparent; }
.build-summary > summary { display: flex; align-items: center; justify-content: space-between; min-height: 40px; cursor: pointer; list-style: none; font-size: 12px; color: var(--muted); }
.build-summary > summary::after { content: "展开 +"; color: var(--green); font-weight: 700; }
.build-summary[open] > summary::after { content: "收起 −"; }
.build-summary .source-list { padding: 8px 0; }
.build-candidates { display: flex; flex-direction: column; flex: 1; min-height: 0; padding: 0; border: 0; background: transparent; }
.build-candidates > h3 { font-size: 13px; margin: 0 0 4px; }
.build-hint { margin: 0 0 12px; font-size: 11px; color: var(--muted); }
.ability-matrix-scroll { width: 100%; flex: 1; min-height: 100px; overflow: auto; border: 1px solid var(--line); border-radius: 12px; background: white; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: #a9bba6 #edf1e8; }
.ability-matrix { width: max-content; min-width: 100%; border-collapse: separate; border-spacing: 0; table-layout: fixed; }
.ability-matrix th,.ability-matrix td { padding: 0; border-bottom: 1px solid #e8ede4; }
.ability-matrix tr:last-child > * { border-bottom: 0; }
.matrix-corner,.matrix-attribute { position: sticky; left: 0; z-index: 3; width: 48px; min-width: 48px; color: #5a6c5e; background: #f1f5ed; font-size: 11px; font-weight: 500; text-align: center; border-right: 1px solid var(--line); }
.ability-matrix thead th { position: sticky; top: 0; z-index: 4; border-bottom: 2px solid #c9d6c1; }
.ability-matrix thead .matrix-corner { z-index: 5; }
.matrix-player { width: 100px; min-width: 100px; padding: 11px 6px 7px !important; background: #f8faf4; text-align: center; }
.matrix-player strong,.matrix-player small { display: block; }
.matrix-player strong { font-size: 14px; max-width: 88px; min-height: 20px; overflow-wrap: anywhere; }
.matrix-player small { margin-top: 4px; font-size: 10px; font-weight: 400; color: var(--muted); }
.matrix-keep { min-height: 32px; margin-top: 5px; padding: 5px 10px; border: 1px solid var(--line); border-radius: 6px; color: var(--muted); background: #fff; font-size: 10px; cursor: pointer; }
.matrix-keep.selected { background: var(--green); border-color: var(--green); color: white; }
.matrix-keep:disabled { opacity: .4; }
.matrix-value { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 100px; min-height: 47px; border: 0; border-radius: 0; color: var(--ink); background: #fff; cursor: pointer; }
.ability-matrix tbody tr:nth-child(even) .matrix-value { background: #fbfcf9; }
.matrix-value strong { font-size: 21px; font-weight: 800; font-variant-numeric: tabular-nums; }
.matrix-value small { margin-top: 1px; color: var(--muted); font-size: 9px; }
.ability-matrix .matrix-value.ability-high { color: #205ca2; background: #edf4ff; }
.ability-matrix .matrix-value.ability-elite { color: #79530b; background: #fff3cc; }
.matrix-value.selected, .ability-matrix tbody tr:nth-child(even) .matrix-value.selected { color: white; background: var(--green); box-shadow: inset 0 0 0 2px var(--green-deep); }
.ability-matrix .matrix-value.ability-high.selected { color: #205ca2; background: #dceaff; box-shadow: inset 0 0 0 2px var(--green-deep); }
.ability-matrix .matrix-value.ability-elite.selected { color: #79530b; background: #ffe7a0; box-shadow: inset 0 0 0 2px var(--green-deep); }
.build-value-legend { margin: 0 0 5px; color: var(--muted); font-size: 11px; line-height: 1.4; }
.build-value-legend .ability-high { color: #205ca2; }
.build-value-legend .ability-elite { color: #79530b; }
.matrix-value.selected small { color: #d4e6d7; }
.matrix-value:disabled { opacity: .32; cursor: not-allowed; }
.build-actions { position: fixed; z-index: 9; left: 50%; bottom: 0; transform: translateX(-50%); width: min(100%,480px); padding: 10px 16px calc(10px + var(--safe-bottom)); border-top: 1px solid var(--line); background: #f8faf5; box-shadow: 0 -4px 16px #19301c08; }
.build-selection { min-height: 34px; margin: 0 0 7px; color: var(--text); font-size: 11px; line-height: 1.5; }
.build-actions .button { min-height: 46px; }
.build-actions .build-reroll { min-height: 34px; margin-top: 3px; padding: 5px; border: 0; font-size: 11px; }
.sticky-action { position: sticky; bottom: calc(76px + var(--safe-bottom)); z-index: 4; }
.source-list { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 5px; }
.source-slot { min-width: 0; padding: 7px 2px; border-radius: 7px; background: var(--surface-3); text-align: center; }
.source-slot span,.source-slot small { display: block; color: var(--muted); font-size: 9px; }
.source-slot strong { display: block; margin: 4px 0; color: var(--green); font-size: 17px; }
.source-slot small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.attribute-grid,.attribute-overview { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.attribute-button,.attribute-line { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 45px; padding: 10px; border: 1px solid var(--line); border-radius: 8px; color: var(--text); background: var(--surface-2); }
.attribute-button { cursor: pointer; }
.attribute-button strong,.attribute-line strong { font-size: 20px; color: var(--green); }
.attribute-line span { font-size: 12px; color: var(--muted); }
.attribute-button.selected { border-color: var(--green); background: #eef6e5; }
.attribute-button:disabled { opacity: .4; }
.candidate-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.candidate { min-width: 0; min-height: 94px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--text); background: white; text-align: left; cursor: pointer; }
.candidate.selected,.candidate.band-star { border-color: var(--green); }
.candidate.band-world { border-color: var(--blue); }
.candidate.band-legend { border-color: var(--gold); background: #fffaf0; }
.candidate-name { font-size: 16px; font-weight: 850; }
.card-season,.candidate-meta,.candidate-top { margin: 5px 0; color: var(--muted); font-size: 11px; }
.candidate-avatar { width: 48px; height: 48px; margin: 4px auto; overflow: hidden; border-radius: 50%; background: var(--surface-2); }
.candidate-avatar img { width: 100%; height: 100%; object-fit: cover; }
.reveal,.team-reveal { text-align: center; padding: 28px 18px; }
.reveal { background: #f6f8ed; border-color: #cbd7b6; }
.ovr,.legacy-score { color: var(--green); font-size: 88px; line-height: 1; font-weight: 900; letter-spacing: -5px; text-align: center; font-variant-numeric: tabular-nums; }
.legacy-score { font-size: 68px; }
.ovr-label { margin-top: 9px; color: var(--muted); font-size: 11px; letter-spacing: 2px; }
.realization-preview { margin: 14px 0 8px; padding: 12px; border-radius: 8px; color: var(--green); background: #e9f1dd; font-size: 12px; font-weight: 700; }
.shirt { width: 126px; min-height: 135px; margin: 10px auto 20px; padding: 28px 12px 14px; clip-path: polygon(20% 0,35% 10%,65% 10%,80% 0,100% 20%,85% 38%,78% 30%,78% 100%,22% 100%,22% 30%,15% 38%,0 20%); background: var(--green); color: #fff; text-align: center; }
.shirt-name { font-size: 12px; font-weight: 800; overflow-wrap: anywhere; }
.shirt-number { font-size: 60px; line-height: 1; font-weight: 900; }
.team-mark { display: grid; place-items: center; width: 78px; height: 88px; margin: 0 auto 16px; border: 1px solid #ccd9c1; border-radius: 12px 12px 28px 28px; background: var(--surface-3); color: var(--green); font-size: 30px; font-weight: 900; }
.team-name { font-size: 28px; font-weight: 900; }
.club-choice-hero { min-height: 280px; display: flex; flex-direction: column; justify-content: flex-end; border-top: 4px solid var(--club-color,var(--green)); }
.club-choice-hero h1 { font-size: 36px; }
.stat-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0; }
.stat-grid.five { grid-template-columns: repeat(5,minmax(0,1fr)); }
.stat { min-width: 0; padding: 9px 3px; text-align: center; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat strong { display: block; color: var(--text); font-size: 23px; font-weight: 850; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.stat span { display: block; margin-top: 6px; color: var(--muted); font-size: 10px; }
.stat-grid.five .stat strong { font-size: 19px; }
.career-screen { padding-bottom: calc(76px + var(--safe-bottom)); }
.career-screen > h2 { display: none; }
.player-summary { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 8px 12px; padding: 19px 18px; border: 0; background: var(--ink); color: white; }
.player-identity { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.player-identity h2 { margin: 0; font-size: 24px; }
.number-badge { padding: 3px 7px; border-radius: 5px; color: #d8ebae; background: #ffffff12; font-size: 11px; font-weight: 700; }
.player-summary > .tiny { grid-column: 1; margin: 0; color: #c8d7cb; font-size: 11px; }
.player-ovr { grid-column: 2; grid-row: 1 / 3; text-align: center; color: var(--lime); }
.player-ovr strong { display: block; font-size: 42px; line-height: 1; font-weight: 900; letter-spacing: -2px; }
.player-ovr span { display: block; margin-top: 5px; font-size: 9px; letter-spacing: 2px; }
.season-data-bar { padding: 14px 12px 6px; }
.season-data-bar h3 { font-size: 12px; color: var(--muted); margin-bottom: 8px; }
.season-data-bar .stat strong { font-size: 28px; }
.season-data-bar .home-details summary { font-size: 11px; text-align: center; }
.season-hub { border-color: #cbd9bb; background: #edf4e2; }
.season-hub > h3 { font-size: 12px; color: var(--green); margin-bottom: 14px; }
.season-hub h2 { font-size: 26px; margin-bottom: 10px; }
.season-hub .button { margin-top: 16px; }
.season-stage-track { display: flex; gap: 5px; margin-bottom: 16px; }
.season-stage-track span { height: 4px; flex: 1; background: #d3dec8; border-radius: 2px; }
.season-stage-track span.done { background: var(--green); }
.career-nav { position: fixed; z-index: 12; left: 50%; bottom: 0; transform: translateX(-50%); display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); width: min(100%,480px); padding: 8px 10px calc(8px + var(--safe-bottom)); border-top: 1px solid var(--line); background: #fcfdf9; box-shadow: 0 -3px 18px #132a1606; }
.career-nav button { display: grid; place-items: center; gap: 4px; min-height: 48px; padding: 5px 0; border: 0; border-radius: 8px; color: var(--muted); background: transparent; font-size: 10px; font-weight: 750; cursor: pointer; }
.career-nav button.active { color: var(--green); background: #eaf2e0; }
.nav-icon { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.trust-line { margin: 10px 0 0; padding: 9px 0 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 12px; }
.home-details { min-width: 0; max-width: 100%; }
.home-details > summary { min-height: 44px; padding: 12px 2px; color: var(--muted); font-size: 12px; cursor: pointer; }
.home-details .panel { margin-top: 10px; }
.league-table { margin-top: 10px; border-top: 1px solid var(--line); }
.league-row { display: grid; grid-template-columns: 24px minmax(0,1fr) 30px 34px 40px; align-items: center; gap: 5px; min-height: 42px; padding: 7px 3px; border-bottom: 1px solid var(--line); font-size: 12px; font-variant-numeric: tabular-nums; }
.league-head { min-height: 30px; font-size: 10px; color: var(--muted); }
.league-row > :not(.team-cell) { text-align: center; }
.team-cell { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.leaderboard { margin-top: 8px; }
.leader-row { display: grid; grid-template-columns: 26px minmax(0,1fr) 42px; align-items: center; gap: 5px; min-height: 42px; padding: 8px 3px; border-bottom: 1px solid var(--line); font-size: 12px; }
.leader-row > :last-child { text-align: right; color: var(--green); font-weight: 800; }
.league-row.player-team,.leader-row.player-team { color: var(--green); background: #eef5e5; }
.rank-number { color: var(--muted); } .rank-up { color: var(--green) !important; } .rank-down { color: var(--red) !important; }
.subsection-title { margin-top: 18px; color: var(--green); font-size: 12px; font-weight: 800; }
.board-tabs { display: flex; gap: 6px; overflow-x: auto; padding: 2px 0 12px; }
.board-tabs button { flex: 0 0 auto; }
.competition-tabs { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 6px; padding: 6px; border-radius: 10px; background: var(--surface-3); }
.competition-tabs .button.small { width: 100%; padding: 7px 4px; }
.competition-card > summary { padding: 2px 0; cursor: pointer; font-size: 14px; font-weight: 800; overflow-wrap: anywhere; }
.competition-content { display: grid; gap: 12px; min-width: 0; margin-top: 12px; }
.fixture-list { display: grid; }
.fixture-row { display: grid; grid-template-columns: 42px minmax(0,1fr) 42px 44px; gap: 8px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.fixture-badge { color: var(--muted); }
.fixture-opponent { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.result-w { color: var(--blue); } .result-l { color: var(--red); } .result-d { color: #6e7772; }
.reveal-fixtures .fixture-row { grid-template-columns: minmax(0,1fr) 58px; gap: 6px 10px; padding: 14px 0; }
.reveal-fixtures .fixture-badge { grid-column: 1 / -1; font-size: 10px; white-space: normal; }
.reveal-fixtures .fixture-opponent { white-space: normal; overflow-wrap: anywhere; font-size: 14px; line-height: 1.5; }
.reveal-fixtures .fixture-row > strong { text-align: right; font-size: 23px; font-variant-numeric: tabular-nums; }
.reveal-fixtures .fixture-contribution { grid-column: 1 / -1; color: var(--muted); font-size: 11px; }
.reveal-match.key-fixture { border-left: 3px solid #d4b86a; padding-left: 10px; }
.result-summary { border-top: 3px solid var(--green); }
.match-stage,.major-match { min-height: 260px; display: flex; flex-direction: column; justify-content: flex-end; border: 0; color: white; background: var(--ink); }
.match-stage .lead,.major-match .lead { color: #d0ddd0; }
.match-stage .tiny,.major-match .tiny { color: #b6c7bb; }
.match-stage .eyebrow,.major-match .eyebrow,.match-stage .green { color: var(--lime); }
.match-minute { color: var(--lime); font-size: 64px; line-height: 1; font-weight: 900; letter-spacing: -3px; }
.live-score { margin: 12px 0 16px; font-size: 22px; font-weight: 800; color: white; }
.decision-hero { min-height: 190px; display: flex; flex-direction: column; justify-content: flex-end; }
.award-stage { min-height: 450px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: #fff9e9; border-color: #e0d2a8; }
.award-orb { display: grid; place-items: center; width: 90px; height: 90px; margin-bottom: 24px; border: 1px solid #d9b85e; border-radius: 50%; background: #f5e5ae; color: #8a641b; font-size: 42px; }
.award-place { font-size: 120px; line-height: 1; font-weight: 900; color: var(--gold); letter-spacing: -6px; }
.award-stage h1 { margin-top: 18px; font-size: 38px; }
.award-stage .eyebrow { color: var(--gold); }
.honour-ribbon { margin-top: 12px; padding: 10px 12px; border-radius: 8px; color: var(--gold); background: #faf1d9; font-size: 12px; line-height: 1.6; }
.trophy-list { display: grid; gap: 9px; }
.trophy-item { display: grid; grid-template-columns: 28px 1fr; gap: 3px 8px; padding: 12px; border: 1px solid #e4d9ba; border-radius: 10px; background: #fffaf0; }
.trophy-icon { grid-row: 1 / 3; color: var(--gold); font-size: 22px; }
.trophy-item strong { font-size: 13px; } .trophy-item small { color: var(--muted); font-size: 11px; }
.honour-group { border: 1px solid #e4dbc5; border-radius: 10px; background: #fffcf5; }
.honour-summary { display: flex; align-items: center; gap: 10px; min-height: 62px; padding: 12px; cursor: pointer; list-style: none; }
.honour-summary::before { content: "✦"; display: grid; place-items: center; width: 30px; height: 34px; flex: 0 0 auto; background: #f5e9c9; border-radius: 5px 5px 10px 10px; color: var(--gold); }
.honour-summary::after { content: "+"; color: var(--muted); }
.honour-group[open] .honour-summary::after { content: "−"; }
.honour-summary strong { flex: 1; font-size: 13px; overflow-wrap: anywhere; }
.honour-count { color: var(--gold); font-size: 19px; font-weight: 850; white-space: nowrap; }
.honour-seasons { padding: 10px 12px; border-top: 1px solid #e8dfcb; }
.honour-seasons p { overflow-wrap: anywhere; }
.honour-totals { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.honour-total { padding: 16px 6px; border: 1px solid #e5ddc9; border-radius: 10px; text-align: center; background: #fffcf5; }
.honour-total strong { display: block; color: var(--gold); font-size: 29px; }
.honour-total span { display: block; margin-top: 6px; font-size: 11px; color: var(--muted); }
.history { display: grid; gap: 0; }
.history-item { display: grid; gap: 7px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 13px; }
.history-item:last-child { border-bottom: 0; }
.history-item small { font-size: 11px; color: var(--muted); }
.timeline { display: grid; }
.timeline-item { position: relative; display: grid; grid-template-columns: 68px minmax(0,1fr); gap: 10px; padding: 12px 0 12px 14px; border-left: 1px solid #c1d3b7; }
.timeline-item::before { content: ""; position: absolute; top: 17px; left: -4px; width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.timeline-item small { color: var(--muted); font-size: 10px; }.timeline-item span { font-size: 12px; line-height: 1.6; }
.milestone-season { margin-top: 8px; border-bottom: 1px solid var(--line); }
.milestone-season > summary { min-height: 44px; padding: 12px 0; font-size: 12px; cursor: pointer; }
.squad-pitch { position: relative; display: flex; flex-direction: column; justify-content: space-around; min-height: 430px; margin: 14px 0; padding: 18px 7px; overflow: hidden; border: 1px solid #c0d1b7; border-radius: 12px; background: repeating-linear-gradient(0deg,#e0ead7 0 54px,#e7efdf 54px 108px); }
.squad-pitch::before { content: ""; position: absolute; left: 50%; top: 50%; width: 95px; height: 95px; border: 1px solid #b3c7a6; border-radius: 50%; transform: translate(-50%,-50%); }
.squad-pitch::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 1px solid #b3c7a6; }
.formation-line { position: relative; z-index: 1; display: flex; justify-content: space-around; align-items: center; gap: 4px; }
.formation-player { display: grid; align-content: center; justify-items: center; width: 66px; min-height: 60px; padding: 7px 3px; border: 1px solid #c7d6bc; border-radius: 7px; background: #fcfdf8; text-align: center; box-shadow: 0 2px 4px #17302208; }
.formation-player strong { max-width: 60px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }
.formation-player span { color: var(--green); margin-top: 4px; font-size: 10px; font-weight: 800; }
.formation-position { color: var(--muted); margin-bottom: 4px; font-size: 9px; }
.formation-player.is-player { background: var(--green); color: #fff; border-color: var(--green); }
.formation-player.is-player span,.formation-player.is-player .formation-position { color: #e0f0bd; }
.growth-row { display: grid; grid-template-columns: minmax(0,1fr) auto auto 72px; align-items: center; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.growth-row .button { min-height: 44px; padding: 6px 4px; }
.growth-row:last-child { border-bottom: 0; }
.growth-value { color: var(--text); font-weight: 800; }.growth-before { color: var(--muted); }.growth-up { min-width: 44px; color: var(--green); text-align: right; }
.news-list,.objective-list { display: grid; gap: 8px; margin-top: 12px; }
.news-item { padding: 11px 12px; border-left: 3px solid var(--green); background: var(--surface-2); font-size: 13px; line-height: 1.6; }
.objective-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 6px 10px; padding: 12px; border: 1px solid var(--line); border-radius: 9px; font-size: 13px; }
.objective-row small { grid-column: 1 / -1; color: var(--muted); font-size: 11px; }
.objective-row.complete { border-color: #b8d0a3; background: #f1f7e9; }.objective-row.complete strong { color: var(--green); }
.transfer-card .team-mark { width: 46px; height: 50px; margin-bottom: 12px; font-size: 22px; }
.transfer-card .stat-grid { margin: 12px 0; }
.toast { position: fixed; z-index: 1001; left: 50%; top: calc(58px + env(safe-area-inset-top,0px)); transform: translateX(-50%); width: min(88%,420px); padding: 9px 12px; border-radius: 8px; background: #edf5ef; color: var(--ink); border:1px solid #bad1c1; font-size: 12px; text-align: center; box-shadow: 0 3px 12px #18311f18; pointer-events:none; }
.save-warning { position: fixed; z-index: 1000; left: 12px; right: 12px; bottom: calc(155px + var(--safe-bottom)); padding: 12px 16px; border: 1px solid #d89273; border-radius: 10px; color: #fff; background: #963e25; }
.spacer { flex: 1; }
@media (max-width:360px) { .topbar::before { left: -10px; right: -10px; } #app { padding-left: 10px; padding-right: 10px; }.panel { padding: 14px; }.build-candidates { padding: 0; }.choice-grid.three,.button-row.three { grid-template-columns: 1fr; }.topbar .badge { font-size: 9px; }.brand { font-size: 13px; gap: 5px; }.matrix-player,.matrix-value { width: 90px; min-width: 90px; }.matrix-player strong { max-width: 78px; }.stat strong { font-size: 20px; } }
@media (min-width:520px) { #app { border-left: 1px solid var(--line); border-right: 1px solid var(--line); } }
@supports (min-height:100dvh) { body,#app { min-height: 100dvh; }.screen { min-height: calc(100dvh - 30px - var(--safe-top) - var(--safe-bottom)); } }
@media (prefers-reduced-motion:no-preference) { .reveal-match { animation: enter .22s ease both; animation-delay: calc(min(var(--reveal-order,0),8) * 40ms); }@keyframes enter { from { opacity: 0; } to { opacity: 1; } } }

@media (max-height:650px) { .build-screen { height: auto; min-height: 640px; }.ability-matrix-scroll { max-height: 340px; flex: auto; } }

.stat strong.stat-text { font-size: 15px; line-height: 1.45; }

/* Optional rewarded choices share one quiet, explicit visual language. */
.ad-panel { background: #fbfaf4; border-color: #e5ddc5; }
.ad-panel h3 { color: #79612c; }
.button.ad-button { width: 100%; border-color: #cab77d; color: #725b24; background: #fffaf0; }
.button.ad-button:disabled { border-color: var(--line); color: var(--muted); background: var(--surface-2); }
.ad-panel .field-label { display: grid; gap: 8px; font-size: 13px; margin-bottom: 14px; }
.ad-panel select { min-width: 0; width: 100%; min-height: 44px; background: white; border: 1px solid var(--line); border-radius: 8px; padding: 8px; color: var(--text); }
.ad-options { background: #fbfaf4; border-color: #e5ddc5; }
.ad-options > .panel { margin-top: 12px; }
.ad-options > summary { font-size: 14px; font-weight: 700; color: #79612c; padding: 14px 8px; }
.transfer-refresh-check { display:flex; align-items:center; justify-content:flex-end; gap:8px; min-height:44px; color:#79612c; font-size:13px; margin-bottom:8px; }
.transfer-refresh-check input { width:20px; height:20px; accent-color: var(--green); }
.rebuild-value { display:block; font-size:36px; color:var(--green); margin:12px 0; }
.career-poster { display:block; width:100%; height:auto; border-radius:12px; border:1px solid var(--line); -webkit-touch-callout:default; user-select:auto; -webkit-user-select:auto; }
.reward-loading { position:fixed; inset:0; z-index:1000; display:grid; place-items:center; padding:24px; background:rgba(242,244,239,.94); color:var(--green-deep); font-weight:700; text-align:center; }
.poster-entry { background:#f8faf5; }

/* Eight-player overview, with an optional four-column enlarged comparison. */
#app.build-active { min-height: 0; padding-bottom: 0; }
.build-screen { height: calc(100dvh - 8px - var(--safe-top)); min-height: 0; padding-bottom: calc(112px + var(--safe-bottom)); gap: 5px; }
.build-screen .topbar { min-height: 36px; padding-bottom: 5px; }
.build-screen .brand { font-size: 13px; }
.build-screen .brand::before { width: 20px; height: 23px; font-size: 14px; }
.build-screen .topbar .button.small { min-height: 32px; }
.build-screen > h2 { font-size: 18px; margin: 0; }
.build-screen .progress-wrap { margin: 0; min-height: 3px; }
.build-screen .progress { height: 3px; }
.build-summary > summary { min-height: 28px; font-size: 11px; }
.build-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 6px; min-height: 30px; margin-bottom: 4px; font-size: 10px; color: var(--muted); }
.button.matrix-zoom { min-height: 30px; padding: 4px 8px; font-size: 10px; color: var(--green); background: var(--surface-3); border-color: var(--line); }
.build-screen .ability-matrix-scroll { min-height: 100px; max-height: none; flex: 1; border-radius: 8px; }
.ability-matrix { width: 100%; min-width: 0; table-layout: fixed; }
.matrix-attribute, .matrix-corner { width: 30px; min-width: 0; font-size: 10px; }
.matrix-player { width: auto; min-width: 0; padding: 4px 1px 3px !important; vertical-align: top; }
.matrix-player .matrix-name { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; max-width: none; min-height: 24px; font-size: 10px; line-height: 12px; }
.matrix-player .matrix-club { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; min-height: 22px; margin-top: 3px; font-size: 9px; line-height: 11px; font-weight: 500; }
.matrix-player .matrix-position { font-size: 9px; line-height: 11px; margin-top: 2px; }
.matrix-player .matrix-season { margin-top: 1px; font-size: 8px; line-height: 11px; white-space: nowrap; letter-spacing: -.2px; font-variant-numeric: tabular-nums; }
.matrix-keep { width: 100%; min-height: 24px; margin-top: 3px; padding: 2px 0; font-size: 9px; border-radius: 4px; }
.matrix-value { width: 100%; min-width: 0; min-height: 28px; }
.matrix-value strong { font-size: 13px; line-height: 1; }
.matrix-expanded .ability-matrix { width: calc(200% - 30px); }
.matrix-expanded .matrix-name { font-size: 12px; line-height: 14px; min-height: 28px; }
.matrix-expanded .matrix-club { font-size: 10px; }
.matrix-expanded .matrix-season { font-size: 10px; }
.matrix-expanded .matrix-value { min-height: 32px; }
.matrix-expanded .matrix-value strong { font-size: 15px; }
.build-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 5px 7px; padding: 6px 12px calc(6px + var(--safe-bottom)); }
.build-selection { grid-column: 1 / -1; min-height: 30px; margin: 0; font-size: 11px; line-height: 1.45; white-space: pre-line; }
.build-actions .button { min-height: 36px; padding: 6px 5px; font-size: 12px; }
.build-actions .build-reroll { min-height: 36px; margin: 0; padding: 6px 4px; border: 1px solid var(--line); font-size: 10px; }
.delete-screen { gap: 12px; }
.delete-screen > .panel { margin-top: clamp(20px, 8vh, 64px); }
.delete-actions { margin-top: 20px; }
.button.delete-confirm { color: white; background: var(--red); }
.delete-feedback { margin: 10px 0 0; color: var(--red); font-size: 12px; }
.delete-feedback:empty { display: none; }
.delete-success { grid-column: 1 / -1; margin: 2px 0 0; padding: 9px 10px; border-radius: 6px; color: var(--green); background: var(--surface-2); font-size: 12px; line-height: 1.5; }
.growth-screen .choice-grid.three { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 6px; }
.growth-screen .choice { padding: 10px 7px; }
.growth-screen .choice strong { font-size: 13px; }
.growth-screen .choice small { font-size: 11px; }
.growth-screen .growth-row { min-height: 48px; padding: 7px 0; }
.growth-screen .growth-row strong { font-size: 15px; }
.academy-note { border-left: 3px solid var(--green); padding: 10px 12px; background: var(--surface-3); font-size: 12px; line-height: 1.65; }


.academy-note summary { cursor: pointer; font-weight: 650; }
.academy-note p { margin: 8px 0 0; font-weight: 400; }

/* Small expandable transfer feed and recruitment controls. */
.transfer-market,.recruitment-panel{margin:8px 0;padding:10px 12px;font-size:12px;}
.transfer-market>summary,.recruitment-panel>summary{font-size:12px;line-height:1.5;}
.market-row{display:grid;gap:3px;padding:9px 0;border-bottom:1px solid var(--border,#e6e9ed);font-size:12px;line-height:1.5;overflow-wrap:anywhere;}
.market-row small{font-size:11px;color:var(--muted,#687587);}
.market-more{margin-top:10px;max-height:330px;overflow:auto;}
.market-more>summary{position:sticky;top:0;background:var(--surface,#fff);padding:5px 0;font-size:12px;}
.recruitment-position{width:100%;min-height:40px;margin:6px 0;padding:8px 10px;border:1px solid #dce3e9;border-radius:9px;background:#fff;color:#203348;font-size:13px;}
.mental-standard .tiny{line-height:1.8;}

/* Keep long mobile lists cheap to paint without changing their scroll geometry. */
.fixture-row,.honour-group {content-visibility:auto;contain-intrinsic-size:auto 64px;}
.highlight-panel {border-left:3px solid var(--green);background:#f1f8f3;}
.highlight-title {display:block;margin-top:10px;font-size:15px;}
.recruitment-review {padding:10px 0;border-bottom:1px solid var(--line);margin-bottom:10px;}
.task-loading {position:fixed; bottom:calc(20px + env(safe-area-inset-bottom)); left:50%; transform:translateX(-50%); z-index:1000; max-width:85vw; padding:10px 16px; border:1px solid var(--line); border-radius:12px; background:#fff; box-shadow:0 3px 16px #183c1820; color:var(--green-deep); font-size:13px; pointer-events:none;}
@media (prefers-reduced-motion:reduce) {.reveal-match{animation:none;}.button,.progress>span{transition:none;}}
.growth-save-status{position:fixed;bottom:calc(12px + env(safe-area-inset-bottom,0px));left:50%;transform:translateX(-50%);z-index:80;max-width:90vw;padding:8px 14px;border:1px solid #cbded0;border-radius:20px;background:#f1f8f3;color:#254b34;font-size:12px;box-shadow:0 2px 8px #0001;}
.growth-save-status[data-status="failed"]{background:#fff3e9;color:#913a16;border-color:#e8ba9b;}
.growth-screen{padding-bottom:56px;}

/* Immediate feedback without another modal or a forced celebration step. */
.score-preview-row{display:grid;gap:4px;padding:9px 0;border-bottom:1px solid var(--line,#e6e9e8)}
.score-preview-row:last-child{border-bottom:0}.score-preview-row small{font-size:11px;color:var(--muted,#64756e)}
.score-teams{font-size:14px;line-height:1.5;font-weight:700;overflow-wrap:anywhere}
.champion-feedback{display:grid;grid-template-columns:28px 1fr;gap:6px 8px;padding:16px;margin:12px 0;border:1px solid #e4cd82;border-radius:14px;background:#fff9e7;color:#6c5019}
.champion-feedback strong{font-size:17px;align-self:center}.champion-feedback p{grid-column:2;margin:0}.champion-icon{font-size:25px}
.qualifiers-home .lead{font-size:15px}.award-standard{line-height:1.7}

/* 0.36: important actions and rewards remain visible on narrow phones. */
.key-result-report>h3{display:flex;align-items:center;font-size:22px;line-height:1.35;color:var(--green,#167b59);font-variant-numeric:tabular-nums}
.season-honours{border-color:#d8bb6b;background:#fffaf0}
.honour-chip{display:inline-block;margin:4px 6px 4px 0;padding:8px 10px;border-radius:10px;background:#f7e8bb;color:#684f12;font-size:14px;font-weight:700}
.recruitment-open-window{border:2px solid #60ad87!important;background:#effaf3!important;padding:16px!important}
.recruitment-open-window>summary{font-size:18px!important;min-height:48px;line-height:1.5;display:flex;align-items:center;color:#145c3c;font-weight:800}
.recruitment-invitation{font-size:14px;line-height:1.6;color:#276d4c;margin:4px 0}
.recruitment-panel select,.recruitment-panel button{min-height:46px;font-size:15px}
.economy-panel>summary{font-size:15px;min-height:42px;line-height:1.5}
.lifestyle-item{padding:12px 0;border-bottom:1px solid #dfe7e3}.lifestyle-item button{min-height:44px}.lifestyle-group select{width:100%;min-height:44px}
.salary-offer{background:#eef8f1;border-radius:10px;padding:12px;font-size:15px;line-height:1.6;font-weight:700;color:#246244}

.recruitment-open-window>summary{flex-direction:column;align-items:flex-start}.recruitment-invitation{font-weight:400}

/* National squad: compact touch-friendly list with a visible entry. */
.china-squad{border:2px solid #c63232;background:#fffafa;padding:14px;margin:12px 0}
.china-squad>summary{font-size:16px;font-weight:750;min-height:44px;align-content:center;color:#942121}
.national-roster{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.national-player{display:grid;grid-template-columns:1fr auto;gap:3px 6px;padding:9px;background:#fff;border:1px solid #e5dddd;border-radius:10px;min-width:0}
.national-player strong{font-size:13px;overflow-wrap:anywhere}.national-player b{color:#942121}.national-player small{grid-column:1/-1;font-size:11px;overflow-wrap:anywhere}
.national-player.is-player{background:#fff2d7;border-color:#d8b768}.china-reports>summary,.china-story>summary{min-height:44px;align-content:center;font-weight:650}

/* Contextual rewards and short career outcomes; no extra blocking dialogs. */
.reward-opportunity{background:#f0f7ef;border:1px solid #adc5a8;border-radius:16px;padding:16px;margin:12px 0;}
.reward-value{display:block;font-size:20px;line-height:1.4;color:#25583c;margin:8px 0;font-variant-numeric:tabular-nums;}
.reward-preview p,.recruit-target{line-height:1.55;margin:7px 0;font-size:13px;}
.recruit-target{padding:8px 10px;background:#fff;border-radius:8px;border:1px solid #e2e9dc;overflow-wrap:anywhere;}
.reward-opportunity .button,.recruitment-open-window .ad-button{min-height:46px;white-space:normal;}
.reward-receipt{padding:12px 14px;background:#e8f4e4;color:#245a36;border:1px solid #b7d2ac;border-radius:12px;margin:12px 0;line-height:1.5;}
.growth-affordable{background:#f0f7eb;box-shadow:inset 3px 0 #64935c;}
.career-milestone{background:#faf4e5;border:1px solid #d6bd81;padding:20px;border-radius:16px;}
.career-milestone h3{font-size:22px;line-height:1.45;color:#71511c;}
.journey-result{border-left:3px solid #7e9982;background:#f4f6f0;}
.journey-title{display:block;margin-top:12px;font-size:14px;}
.challenge-row{display:grid;grid-template-columns:1fr auto;gap:5px 10px;padding:12px 0;border-bottom:1px solid #e3e7de;font-size:14px;}
.challenge-row small{grid-column:1/-1;color:#657161;line-height:1.5;}
.poster-theme-preview{display:block;width:150px;max-width:100%;height:auto;border-radius:8px;margin:12px auto;}
@media(max-width:380px){.reward-value{font-size:18px}.reward-opportunity{padding:12px}.career-milestone h3{font-size:19px}}

.transfer-new-offer{border:2px solid #97b18a;background:#f4f9f0;}

/* One primary action stays within thumb reach; bottom navigation has its own space. */
.screen.has-progress-action{padding-bottom:calc(86px + var(--safe-bottom));}
.career-screen.has-progress-action{padding-bottom:calc(154px + var(--safe-bottom));}
.progress-dock{position:fixed;z-index:11;bottom:0;left:50%;transform:translateX(-50%);width:min(100%,480px);padding:10px 16px calc(10px + var(--safe-bottom));border-top:1px solid var(--line);background:#fcfdf9;box-shadow:0 -3px 14px #18311f09;}
.progress-dock.above-nav{bottom:calc(65px + var(--safe-bottom));padding-bottom:10px;}
.progress-dock .button{width:100%;min-height:48px;margin:0;}
.has-progress-dock .growth-save-status,.has-progress-dock .task-loading{bottom:calc(84px + var(--safe-bottom));}
.has-progress-dock.progress-above-nav .task-loading{bottom:calc(150px + var(--safe-bottom));}
.personal-spotlight{background:#edf5e7;border:1px solid #c3d8b9;padding:18px;}
.personal-spotlight h3{font-size:23px;line-height:1.4;margin-bottom:12px;}
.progress-change{font-weight:650;color:var(--green-deep);font-size:14px;line-height:1.6;margin:7px 0;}
.stage-notice{padding:12px 14px;background:#fff;border:1px solid var(--line);border-radius:12px;}
.stage-notice>strong{font-size:15px;}.stage-notice .button{width:auto;min-height:36px;}
.compact-reward{padding:12px 14px;}.compact-reward>summary{font-size:14px;line-height:1.6;}
.growth-plan{padding:12px;background:#edf5e7;border:1px solid #c3d8b9;border-radius:10px;margin:12px 0;}
.growth-plan>.button{margin-top:8px;}.growth-plan>p{display:inline-block;margin:8px 12px 8px 0;}
.preparation-panel{margin-top:12px;}.preparation-panel>summary,.offseason-plans>summary{font-size:13px;line-height:1.6;}
.recruitment-open-window{padding:12px 14px;}.recruitment-open-window>summary{font-size:15px;min-height:44px;}
.compact-podium{padding-top:10px;border-top:1px solid var(--line);line-height:1.7;}
@media(max-width:380px){.personal-spotlight h3{font-size:20px}.progress-dock{padding-left:12px;padding-right:12px;}}

/* Focus the home screen on the current season, with contextual actions below. */
.career-screen .season-hub .season-focus{font-size:17px;line-height:1.45;margin:8px 0;}
.career-shortcuts{display:flex;gap:8px;margin:8px 0;}
.career-shortcuts .button{flex:1;min-height:40px;}
.career-extras{margin:8px 0;padding:10px 12px;}
.career-extras>summary{min-height:24px;font-size:12px;}
.farewell-notice,.condition-warning{padding:8px 10px;background:var(--surface-2);border-left:3px solid var(--green);}
.condition-warning{font-size:12px;border-color:#bb8642;line-height:1.5;}
.contribution-impact{margin:10px 0;padding:10px 12px;background:var(--surface-2);border-left:3px solid var(--green);font-size:14px;font-weight:650;line-height:1.65;}
.quick-season .lead{font-size:14px;line-height:1.5;}
.build-guide{margin:4px 0 7px;font-size:11px;line-height:1.45;color:var(--muted);}
.ability-matrix .role-attribute{color:var(--green-deep);box-shadow:inset 2px 0 var(--green);}
.preparation-suggestion{margin:10px 0;padding:12px;border:1px solid #c3d8b9;border-radius:12px;background:#f4f8ef;}
.preparation-suggestion>strong{font-size:14px;line-height:1.5;}
.preparation-suggestion .button-row{display:flex;flex-wrap:wrap;gap:8px;}
.preparation-suggestion .button{flex:1;min-height:40px;margin:0;white-space:normal;}
.collection-status{margin-top:10px;}.collection-retry[hidden]{display:none;}
.recruitment-open-window>summary,.compact-reward>summary{line-height:1.55;}

/* Show the useful action now; keep full menus and records behind it. */
.visible-opportunity{margin:10px 0;padding:12px 14px;border:1px solid #bad2b1;border-radius:12px;background:#f1f7ed;}
.visible-opportunity.recruitment-open-window{padding:12px 14px!important;border-width:1px!important;}
.visible-opportunity>.opportunity-title{display:block;font-size:15px;line-height:1.45;color:var(--green-deep);}
.visible-opportunity .opportunity-summary{margin:6px 0;font-size:13px;line-height:1.5;overflow-wrap:anywhere;}
.visible-opportunity>.tiny{margin:6px 0;line-height:1.5;}
.visible-opportunity>.reward-value{margin:5px 0;font-size:19px;}
.opportunity-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px;}
.opportunity-actions>.button{flex:1;min-height:42px;margin:0;font-size:13px;white-space:normal;}
.opportunity-actions>.ghost{flex:0 1 auto;font-size:12px;}
.visible-opportunity .opportunity-note{font-size:11px;color:var(--muted);}
.visible-opportunity>details{margin:10px 0 0;padding:0;border-top:1px solid var(--line);}
.visible-opportunity>details>summary{font-size:12px;min-height:36px;padding:10px 0;}
.cash-opportunity>.button{width:100%;min-height:42px;margin:8px 0 0;white-space:normal;}
@media(max-width:360px){.visible-opportunity{padding:11px}.visible-opportunity>.opportunity-title{font-size:14px}.opportunity-actions{gap:6px}}

/* Season rewards and ten manual choices share one compact, stable mobile screen. */
.season-brief{padding:12px 14px;margin-bottom:10px}
.season-brief .stat-grid{margin:8px 0}
.season-brief .honour-chip{font-size:11px;padding:4px 6px;margin:3px 4px 0 0;border-radius:6px}
.season-brief .season-honours{border:0;background:transparent}
.season-achievement,.season-moment{font-size:12px;line-height:1.5;margin:7px 0 0;color:var(--green-deep)}
.season-achievement{color:#7a5d17;font-weight:700}
.season-growth{padding:12px;margin:10px 0}
.season-growth>h3{font-size:15px;margin-bottom:10px}
.growth-headline{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:8px 0 10px;font-variant-numeric:tabular-nums}
.growth-ovr{font-size:18px;color:var(--green-deep)}
.growth-resources{font-size:14px;color:#8a691c}
.growth-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 10px}
.growth-screen .growth-grid .growth-row{grid-template-columns:minmax(0,1fr) auto 52px;min-height:44px;gap:4px;padding:3px 0;font-size:12px}
.growth-grid .growth-before{display:none}
.growth-screen .growth-grid .growth-row strong{font-size:12px;white-space:nowrap}
.growth-grid .growth-row .button{min-height:38px;font-size:11px;padding:5px 2px;margin:0}
.growth-grid .growth-row:nth-last-child(-n+2){border-bottom:0}
.growth-allocation-actions>.button{min-height:38px;font-size:12px;margin:8px 0 2px}
.season-growth>.tiny{margin:7px 0;font-size:11px}
.season-growth .growth-confirm{margin:8px 0 0}
.season-archive{margin-top:12px}
.journey-result{padding:12px 14px;margin:10px 0;border-left:3px solid var(--green);background:#f0f7f1;border-radius:8px}
.journey-result>strong{font-size:14px}.journey-result>p{margin-bottom:0;line-height:1.6}
.career-dream{margin:12px 0;padding:10px 12px;border-left:3px solid #b79841;background:#fffaf0;border-radius:6px}
.career-dream>strong{font-size:15px;color:#685219}.career-dream>small{font-size:11px;color:var(--muted)}
.career-dream .tiny{margin:5px 0}.dream-next{font-size:12px;line-height:1.5;color:var(--green-deep);margin:7px 0 0}
.season-expectation{padding:4px 12px 10px}.era-news{font-size:12px;line-height:1.6;color:var(--muted)}
.china-story>.button{display:inline-block;width:auto;min-height:40px;padding:8px 12px;margin:10px 8px 0 0;font-size:12px}
.retirement-moment{display:block;margin:16px 0 6px;font-size:20px;color:var(--green-deep)}
.retirement-farewell{font-size:13px;line-height:1.8;color:var(--ink)}.retirement-farewell p{margin:10px 0}
.national-memory{padding:10px;border-radius:8px;background:#fff4ef;font-size:13px;line-height:1.6;color:#934329}
@media(max-width:350px){.growth-grid{gap:3px 7px}.growth-screen .growth-grid .growth-row{grid-template-columns:minmax(0,1fr) auto 46px;gap:2px;font-size:11px}.growth-grid .growth-row .button{font-size:10px}.growth-screen .growth-grid .growth-row strong{font-size:11px}}
.china-story>.button small{display:block;font-size:10px;font-weight:400;margin-top:3px}

/* Season rewards stay compact and immediately precede manual growth. */
.ballon-summary{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;border-color:#dec889;background:linear-gradient(115deg,#fffaf0,#fff)}
.ballon-summary .panel-title{width:100%;margin-bottom:0}.ballon-standing{font-size:17px;color:#72531b}.ballon-summary p{margin:0}.ballon-summary button{margin:0;width:auto}.ballon-summary>small{margin-left:auto}
.award-short-reveal{padding:22px 18px}.award-short-reveal .award-orb{width:58px;height:58px;font-size:34px;margin:0 auto 12px}.award-short-reveal h2{margin-bottom:18px}
.award-reveal-row{display:grid;grid-template-columns:50px 1fr;gap:5px 10px;padding:14px 6px;border-top:1px solid var(--line);text-align:left}.award-reveal-row .award-reveal-name{color:var(--muted)}.award-reveal-row.revealed .award-reveal-name{font-weight:800;color:var(--ink)}.award-reveal-row small,.award-reveal-row p{grid-column:2;margin:0;font-size:12px}.award-reveal-row.winner{background:#fff6dd;border-radius:10px}.award-reveal-row.winner .award-reveal-name{color:#805b17;font-size:20px}
.season-league-table .league-table{margin:4px 0 10px}.season-league-table>button{width:100%;margin:0}.salary-own-record{padding:10px 0}.salary-rank-row{padding:8px 0;border-top:1px solid var(--line);font-size:13px}.salary-own-rank{font-weight:700}.opening-cup-preview{padding:10px 12px;border-radius:10px;background:#f0f5ff;font-size:13px;font-weight:700}.quadruple-progress{font-size:12px;line-height:1.8;color:#536171}.quadruple-achievement{padding:12px;background:#fff3d0;border-radius:10px;font-weight:800;color:#775312}

/* Career expansion: compact choices, visible agency and long-term goals. */
.choice-grid.club-theme-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.club-theme-grid .choice{min-height:62px;padding:9px 6px;text-align:left}
.club-theme-grid .choice strong{font-size:13px;line-height:1.35}
.club-theme-grid .choice small{font-size:10px;line-height:1.35}
.agent-panel{border:1px solid #b9d2c2;background:#f6faf6}
.intent-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:8px 0}
.intent-buttons button{min-height:42px;font-size:12px;padding:8px}
.agent-panel select{width:100%;min-height:44px;margin:6px 0 10px;font-size:14px;background:#fff;border:1px solid #cbd6ce;border-radius:8px;padding:8px}
.player-summary-compact{padding:12px;grid-template-columns:1fr}
.captain-badge{display:inline-block;font-size:10px;padding:3px 6px;border-radius:5px;background:#f6df9d;color:#554321;margin:3px}
.formation-player{position:relative}
.formation-player .captain-armband{position:absolute;top:-7px;right:-4px;padding:1px 4px}
.national-pitch{min-height:320px;padding:12px 4px}
.national-pitch .formation-player{min-height:44px}
.national-pitch small{font-size:9px;max-width:68px;overflow-wrap:anywhere}
.salary-home-card,.china-chapter,.collection-progress,.legacy-challenge{background:linear-gradient(135deg,#fbfcf8,#edf4ec);border:1px solid #d1ddce}
.collection-progress{padding:12px;border-radius:10px;margin:8px 0}
.collection-next{font-size:12px;color:#576a52;margin:8px 0}
.legacy-target{display:block;font-size:19px;color:#3f6248;line-height:1.5}
.legacy-challenge .lead{font-size:15px;margin:6px 0}
.legacy-challenge .history-item{display:block;padding:10px 0}
.legacy-challenge .history-item small{display:block;margin-top:4px}
@media(max-width:359px){.choice-grid.club-theme-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

.legacy-completed{background:linear-gradient(135deg,#fffaf0,#f0dfae);border-color:#c9a85b}.legacy-completed .legacy-target{color:#826225}

/* Actionable choices stay readable and open on phones. */
.transfer-market,.recruitment-panel,.ad-options{padding:16px;margin:12px 0;font-size:14px;line-height:1.6}
.transfer-market>summary,.recruitment-panel>summary,.ad-options>summary{font-size:17px;font-weight:750;padding:4px 0 12px;line-height:1.5}
.recruit-target{padding:10px 12px;margin:8px 0;background:#fff;border:1px solid #d8e4dc;border-radius:10px;font-size:14px;line-height:1.6}
.recruitment-panel>.tiny,.ad-options .tiny{font-size:13px;line-height:1.6}
.recruitment-panel .ad-button,.ad-options .ad-button{width:100%;min-height:48px;font-size:15px;white-space:normal;line-height:1.5}
.transfer-market .market-row{padding:10px 0;font-size:14px;line-height:1.5}

.legacy-season-gain{padding:12px 14px;margin-bottom:12px;background:#fffdf6;border:1px solid #dfd4ac;border-radius:12px}.legacy-season-gain>strong{display:block;font-size:17px;color:#70521e}.legacy-season-gain .tiny{margin:5px 0 0;line-height:1.6}

/* Primary actions and optional depth retain usable touch targets on narrow phones. */
.pace-control{margin:10px 0;padding:10px 12px;background:#f3f6f2;border-radius:12px}.pace-control .button{min-height:44px}
.legendary-works{display:grid;gap:8px;margin:12px 0}.legendary-work{padding:10px 12px;border:1px solid #d5decf;border-radius:12px;background:#fff}.legendary-work .tiny{margin:5px 0;line-height:1.55}
.club-chapter{margin:12px 0;padding:14px;border-left:3px solid #59804f;background:#f3f7f0;border-radius:8px}
@media(max-width:480px){.season-hub>.button{min-height:48px;white-space:normal}.legendary-work strong{font-size:14px}.recruitment-position,.preparation-panel select{min-height:44px;font-size:16px}.pace-control .button{width:100%}}
/* 0.58: decisions and rewards stay close; long records remain optional. */
.season-goal{margin:12px 0;padding:12px 14px;border:1px solid #c8dfcf;border-radius:14px;background:#f1f8f2}
.season-goal>strong{font-size:15px;color:#205a3d}
.goal-progress{margin:6px 0;font-size:13px;font-weight:650}
.season-goal .home-details{margin:6px 0 0;padding:0;border:0;background:transparent}
.build-identity{margin:12px auto 0;padding:12px;border-radius:12px;background:#f1f8f2;text-align:left;max-width:440px}
.build-identity .tiny{margin:5px 0}
.selection-purpose{display:block;color:#236548;font-size:11px;margin-top:3px}
.ballon-podium{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:10px 0}
.podium-place{display:flex;flex-direction:column;gap:4px;align-items:center;padding:9px 5px;background:#f6f3e9;border-radius:10px;min-width:0;text-align:center}
.podium-place:first-child{background:#f7ebbf}
.podium-place>b{font-size:20px;color:#8d6e24}
.podium-place>strong{font-size:13px;overflow-wrap:anywhere}
.podium-place>small{font-size:10px;overflow-wrap:anywhere;color:#657068}
.podium-place.is-player{outline:2px solid #43835c;outline-offset:-2px}
.season-moment{display:block;margin-top:10px;font-size:16px;line-height:1.4;color:#236548}
.season-summary .season-moment-detail{margin:5px 0 0}
.growth-opportunities{margin-top:12px;display:grid;gap:9px}
.growth-opportunities .reward-opportunity{margin:0}
.growth-opportunities .ad-button{min-height:44px;width:100%}
.recovery-opportunity{border-top:1px solid #dbe3db;padding-top:10px}
.recovery-opportunity>small{display:block;margin-top:5px}
.growth-plan{margin:8px 0;padding:10px 12px;border:1px solid #d7e4d8;border-radius:12px;background:#f6faf5}
.growth-plan>strong{font-size:13px}
.growth-plan>.tiny{margin:6px 0;line-height:1.5}
.growth-plan .button{min-height:40px;margin:5px 0 0}
.transfer-comparison{font-size:13px;padding:9px 11px;background:#edf5ee;border-radius:10px;color:#285c40}
.replay-challenge{border:1px solid #c8dfcf;background:#f1f8f2}
@media(max-width:430px){
 .season-summary .season-brief,.season-summary .ballon-summary{padding:12px}
 .season-summary .ballon-summary>h3{font-size:17px;margin-bottom:6px}
 .season-summary .ballon-standing{font-size:13px}
 .season-summary .season-growth{padding:12px}
 .season-summary .growth-headline{gap:8px}
 .season-summary .growth-resources{white-space:nowrap;font-size:14px}
 .season-summary .growth-row{min-height:42px}
 .season-summary .growth-row .button{min-height:36px;padding:5px 7px}
}
@media(prefers-reduced-motion:reduce){.award-reveal-row,.honour-ribbon,.reveal-match{animation:none!important;transition:none!important}}

/* 0.60: consistent story choices and compact offseason navigation. */
.china-story>.button{display:flex;flex-direction:column;align-items:flex-start;width:100%;margin:10px 0 0;text-align:left;white-space:normal;gap:4px}
.china-story>.button small{margin:0;text-align:left}
.lifestyle-tabs{display:flex;gap:6px;margin:14px 0;position:sticky;top:0;background:var(--paper,#f7faf8);padding:6px 0;z-index:2}
.lifestyle-tabs .button{flex:1;min-width:0;padding:10px 4px;font-size:12px}
.economy-balance{font-size:20px;display:block}.lifestyle-content select{width:100%;min-height:44px;margin:8px 0}
.lifestyle-content .lifestyle-item{padding:14px 0}.lifestyle-item>.button{width:100%;margin-top:8px}
.tournament-step{border-left:3px solid #42886c;margin:12px 0;padding:8px 12px;background:#edf5ef;border-radius:0 8px 8px 0}
.youth-cohort{padding:8px;background:#edf5ef;border-radius:8px;font-size:12px;line-height:1.6}

/* 0.61: prices stay comparable; only the chosen project's controls are expanded. */
.lifestyle-catalog{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin:12px 0}
.lifestyle-catalog .lifestyle-option{margin:0;min-height:62px;padding:9px;text-align:left;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;white-space:normal;font-size:12px}
.lifestyle-option small{font-size:11px;font-weight:400;margin-top:4px}.lifestyle-option[aria-pressed=true]{border-color:#23694d;background:#e7f2e9;box-shadow:inset 0 0 0 1px #23694d}
.youth-results{border-top:1px solid #dce6df;margin-top:14px;padding-top:14px}.youth-results select{min-height:40px;width:100%;margin:8px 0}
.youth-player{padding:10px 0;border-bottom:1px solid #e0e8e3}.youth-player strong{font-size:13px}.youth-player p{margin:4px 0;line-height:1.5}.youth-pages{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:8px}.youth-arrival{background:#e8f3e9;padding:10px;border-radius:8px;font-size:13px}
.youth-summary{border-top:1px solid #dce6df;margin-top:12px;padding-top:12px}.youth-summary>.button{width:100%}.youth-purchase-preview{background:#e8f3e9;padding:10px;border-radius:8px;font-size:13px;line-height:1.6}.youth-archive>.youth-results{padding:14px;background:white;border:1px solid #dce6df;border-radius:12px}.youth-archive>.button{width:100%}

/* Compact body status and optional growth action keep football first. */
.condition-compact{display:flex;align-items:center;gap:6px 12px;flex-wrap:wrap;padding:6px 2px;font-size:12px}
.condition-compact .condition-explanation{font-size:12px;margin:0}.condition-compact .condition-explanation[open]{flex-basis:100%}.condition-alert{font-size:12px;color:#925e19}
.china-chapter>button{display:block;margin:10px 0 0 10px}
.growth-headline{flex-wrap:wrap}.growth-extra{display:inline-flex;align-items:center;margin-left:auto}.growth-extra .ad-button{width:auto;min-height:34px;font-size:12px;padding:6px 10px;background:transparent;box-shadow:none}
.youth-visit{padding:9px 10px;margin:7px 0;background:#f2f5ed;border-radius:8px;font-size:12px}.contract-talk{margin:12px 0;padding:12px;border:1px solid #d9dfd1;border-radius:10px}.contract-talk .button-row{flex-wrap:wrap}

/* 0.65: the final report is a light card, unlike the dark live-match panel. */
.key-result-report .report-score{color:var(--green,#236548);font-size:clamp(22px,6vw,30px);font-weight:850;line-height:1.5;margin:8px 0 14px;text-align:center;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}
.season-hub .youth-arrival{display:flex;align-items:center;gap:10px;margin:8px 0 12px;padding:10px 12px;background:#e4efdf;border:1px solid #cfdfc7}
.youth-arrival-copy{flex:1;min-width:0}.youth-arrival-copy strong{font-size:13px}.youth-arrival-copy p{margin:4px 0 0}
.season-hub .youth-arrival .button{flex-shrink:0;margin:0;min-height:36px;padding:8px 10px;font-size:12px;width:auto}
@media(max-width:360px){.season-hub .youth-arrival{flex-wrap:wrap}.season-hub .youth-arrival .button{margin-left:auto}}

.legend-album-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.legend-stamp{border:1px solid #dbe2dc;border-radius:10px;padding:10px;color:#67756e;background:#f5f7f4}.legend-stamp.earned{background:#f5efd9;border-color:#c9ad67;color:#584118}.legend-stamp summary{font-size:13px;line-height:1.5;font-weight:700;cursor:pointer}.legend-stamp p{margin:6px 0 0}.legend-album>h3{font-size:18px}

.shootout-report{padding:12px;background:#eef3ec;border-radius:10px;margin:12px 0}.shootout-rounds{display:flex;gap:8px;overflow-x:auto}.shootout-round{display:grid;gap:6px;justify-items:center;min-width:42px}.shootout-round small{font-size:11px}.shootout-round span{font-size:22px;font-weight:800}.shootout-round .scored{color:#257b49}.shootout-round .missed{color:#b64937}.shootout-round .not-taken{color:#7a837d}

.my-legend-score{display:grid;gap:5px;border-left:4px solid #a7863e;background:#edf2e7;padding:16px 18px;margin:12px 0 18px}.my-legend-score>span{font-size:14px;color:#426048}.my-legend-score>strong{font-size:36px;line-height:1.1;letter-spacing:-1px;color:#24543b;font-variant-numeric:tabular-nums}.my-legend-score>small{font-size:11px;color:#637066;line-height:1.5}
.major-injury-notice{border-top:4px solid #ae593a}.major-injury-notice>.lead{font-weight:650}

/* Shared iOS/Android layout: actual viewport and four safe edges, no device skin. */
body,#app { min-height:var(--viewport-height); }
#app,.career-nav,.build-actions,.progress-dock { width:min(480px,calc(100% - var(--safe-left) - var(--safe-right))); }
.screen { min-height:calc(var(--viewport-height) - 30px - var(--safe-top) - var(--safe-bottom)); }
.build-screen { height:calc(var(--viewport-height) - 8px - var(--safe-top)); min-height:0; padding-bottom:calc(174px + var(--safe-bottom)); }
input:not([type=checkbox]):not([type=radio]),select,textarea,.agent-panel select,.recruitment-panel select,.preparation-panel select { font-size:16px; max-width:100%; }
input,select,textarea { scroll-margin-top:calc(var(--safe-top) + 72px); scroll-margin-bottom:100px; }
select,textarea { min-width:0; }
.button { white-space:normal; overflow-wrap:anywhere; }
.build-actions .button,.build-actions .build-reroll,.button.matrix-zoom,.build-screen .topbar .button.small { min-height:44px; }
.matrix-expanded .matrix-value { min-height:44px; }
.matrix-expanded .matrix-keep { min-height:36px; }
.build-toolbar { flex-wrap:wrap; }
.lifestyle-tabs { top:calc(var(--safe-top) + 58px); }
.task-loading { bottom:calc(20px + var(--safe-bottom)); }
.growth-save-status { bottom:calc(12px + var(--safe-bottom)); }
.reward-loading { height:var(--viewport-height); padding:calc(24px + var(--safe-top)) calc(24px + var(--safe-right)) calc(24px + var(--safe-bottom)) calc(24px + var(--safe-left)); overflow:auto; }
html[data-keyboard=open] .career-nav,html[data-keyboard=open] .progress-dock { display:none; }
@media(max-width:319px) {
  #app { padding-left:8px; padding-right:8px; }
  .topbar { flex-wrap:wrap; }
  .choice-grid,.legend-album-grid { grid-template-columns:minmax(0,1fr); }
  .growth-grid { grid-template-columns:minmax(0,1fr); }
  .lifestyle-tabs { flex-wrap:wrap; }
  .lifestyle-tabs .button { flex-basis:40%; }
}
/* Short windows and landscape use document flow so controls cannot cover the table. */
@media(max-height:680px),(orientation:landscape) and (max-height:520px) {
  .build-screen { height:auto; min-height:0; padding-bottom:0; }
  .build-screen .ability-matrix-scroll { flex:none; height:300px; max-height:none; }
  .build-actions { position:static; width:100%; transform:none; margin-top:8px; }
  .build-screen .topbar { position:relative; top:0; }
  .lifestyle-tabs { position:static; }
}
@media(orientation:landscape) and (max-height:520px) {
  .career-nav { padding-top:3px; padding-bottom:calc(3px + var(--safe-bottom)); }
  .career-nav button { min-height:44px; }
  .career-screen { padding-bottom:calc(60px + var(--safe-bottom)); }
}

/* Rest-season choices distinguish completed benefits from the next purchase. */
.lifestyle-allowance{margin:8px 0;color:var(--green-deep);font-size:12px;line-height:1.6;font-weight:600}
.lifestyle-condition{display:flex;align-items:center;flex-wrap:wrap;gap:5px 12px;font-size:12px;color:var(--muted)}
.lifestyle-condition .condition-explanation{margin:0;width:100%}
.lifestyle-condition summary{display:list-item;width:fit-content;min-height:32px;padding:6px 0;cursor:pointer;font-size:12px}
.lifestyle-condition details p{margin:4px 0 8px}
.lifestyle-receipt,.lifestyle-done{border-radius:8px;background:#eef6ef;color:var(--green-deep);padding:9px 10px;font-size:12px;line-height:1.6;margin:8px 0}
.lifestyle-completed small{color:var(--green-deep);font-weight:600}
.lifestyle-content .lifestyle-item{background:#f8faf8;border:1px solid var(--line);border-radius:10px;padding:12px}
.lifestyle-item>.tiny{margin:6px 0;line-height:1.65}
.lifestyle-item>.lifestyle-done{margin-bottom:0}
.lifestyle-tabs .button:focus-visible,.lifestyle-option:focus-visible{outline:2px solid var(--green-deep);outline-offset:2px}
.growth-screen .growth-grid .growth-row .button{min-height:44px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;line-height:1.15}
.growth-grid .growth-row .button small{font-size:10px;font-weight:400}

/* Keep optional pacing settings together; the play button remains primary. */
.preparation-panel>summary{padding:8px 0;min-height:44px;cursor:pointer}
.preparation-panel .pace-control{margin:6px 0 10px;padding:10px;background:var(--surface-2)}
.preparation-panel .pace-control p{margin:0 0 8px}
.result-summary>.result-home{margin-top:10px;min-height:44px;width:auto;align-self:flex-start}

/* Key decisions remain within reach; optional match history never grows the hero. */
.key-match-screen .match-stage{min-height:0;padding:14px 16px;gap:6px;justify-content:flex-start}
.key-match-screen .match-stage>h3{font-size:14px;margin:0;line-height:1.35}
.key-match-screen .match-minute{font-size:28px;letter-spacing:-1px}
.key-match-screen .live-score{font-size:19px;line-height:1.35;margin:0;font-variant-numeric:tabular-nums}
.key-match-screen .match-stage h2{font-size:17px;line-height:1.4;margin:2px 0}
.key-match-screen .match-stage p{margin:0}
.key-match-log summary{font-size:12px;cursor:pointer;min-height:30px;display:flex;align-items:center}
.key-match-screen .choice{padding:12px;min-height:64px}
.key-match-screen .choice-grid{gap:8px}
.award-own-evidence,.award-score-summary{font-size:14px;line-height:1.5;margin:8px 0}
.award-table-scroll{max-width:100%;overflow-x:auto}
.award-comparison{width:100%;font-size:12px;border-collapse:collapse}
.award-comparison td,.award-comparison th{padding:7px 4px;text-align:left;border-bottom:1px solid var(--line)}
.award-comparison th{white-space:nowrap}
.achievement-row{display:grid;gap:4px;padding:10px 0;border-bottom:1px solid var(--line)}
.achievement-row.achieved>strong{color:var(--green)}

.board-filters{display:grid;gap:8px;margin:16px 0}.board-tabs{display:flex;gap:8px}.board-tabs button{flex:1;margin:0;min-width:0}.career-board-row{display:grid;grid-template-columns:24px minmax(0,1fr) auto;gap:10px;align-items:center;padding:12px 0;border-bottom:1px solid #ffffff18}.career-board-row small{display:block;overflow-wrap:anywhere}.career-board-row strong{overflow-wrap:anywhere}.board-rank{opacity:.65}.board-score{text-align:right;max-width:115px;font-size:14px}.retired-score-panel button{width:100%}.retired-score-panel [role=status]:empty{display:none}

/* A stable tournament page keeps the result and next action together. */
.national-journey .national-status,.national-journey .national-actions{padding:14px;margin:10px 0;}
.national-score{display:block;font-size:clamp(20px,5.5vw,28px);line-height:1.3;overflow-wrap:anywhere;}
.national-status .lead{margin:8px 0 0;font-size:15px;}
.national-story{line-height:1.65;}
.national-continuous{display:flex;align-items:center;gap:8px;font-size:13px;padding:8px 0 12px;}
.national-continuous input{width:20px;height:20px;flex:none;}
.national-actions .choice-grid{margin:8px 0;}.national-actions .choice{padding:12px;}
.national-actions .choice strong{font-size:15px;}.national-actions .button-row{display:flex;flex-wrap:wrap;gap:8px;}
.national-results .tournament-step{padding:9px 0;border-bottom:1px solid var(--line);}.national-results small{display:block;margin-top:4px;}
.national-table{overflow-x:auto;}.national-journey .china-squad{margin-top:12px;}
.advance-feed{padding:12px 14px;border:1px solid var(--line);border-radius:12px;background:#f0f7ef;margin:10px 0;}
.advance-feed-title{font-size:14px;}.advance-feed-results p{margin:6px 0;}
.phase-journey{display:flex;gap:6px;margin:8px 0 12px;}.phase-journey span{flex:1;text-align:center;border-radius:6px;padding:6px;background:#eef0ed;font-size:12px;}
.phase-journey .current{background:var(--green-deep);color:white;}.phase-journey .complete{color:var(--green-deep);background:#e7f3e2;}
.season-journey{gap:10px;overflow-anchor:none;}
.season-journey .phase-journey{margin:0;}
.season-scoreboard{flex:none;height:234px;padding:12px 14px;margin:0;display:flex;flex-direction:column;gap:5px;}
.season-scoreboard h3{margin:0;font-size:14px;}
.season-score-status{flex:none;min-height:32px;margin:0;font-size:11px;line-height:1.4;color:var(--green-deep);}
.season-score-list{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;}
.season-score-row{padding:7px 0;border-bottom:1px solid var(--line);}
.season-score-row small,.season-score-row strong{display:block;line-height:1.45;}
.season-score-row strong{font-size:13px;overflow-wrap:anywhere;}
.season-score-empty{padding-top:10px;}
.season-journey-content{display:flex;flex-direction:column;gap:12px;min-width:0;}
.season-journey-content>.decision-hero{min-height:0;padding:12px 14px;}
.season-journey-content>.decision-hero .lead{font-size:13px;line-height:1.55;margin-bottom:8px;}

/* A readable annual result while the existing verified save is in flight. */
.settlement-readonly{border:0;padding:0;margin:0;min-width:0}
.settlement-save-status{padding:12px 14px;margin-bottom:14px;border:1px solid var(--line,#dce5df);border-radius:12px;background:var(--panel,#fff)}
.settlement-save-status p{margin:6px 0}
.settlement-save-status button{margin-top:8px}
.settlement-save-status[data-saving]{position:sticky;top:var(--safe-top);z-index:12;background:var(--bg,#fff)}

/* A compact, persistent match reel. Reading controls never advance a save. */
.season-result-track{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:5px;margin:10px 0}
.season-scoreboard{height:auto;min-height:0;gap:4px}
.result-dot{appearance:none;min-width:0;min-height:28px;padding:3px 0;border:1px solid #dbe3dc;border-radius:6px;background:#f2f5f0;color:#647266;font-family:inherit;font-size:11px;font-weight:600;line-height:1.3;cursor:pointer;touch-action:manipulation}
.result-dot:disabled{opacity:1;color:#a0aaa1;background:#f5f6f3;cursor:default}
.result-dot.result-w{background:#d9efe3;border-color:#a9d0b9;color:#12643a}
.result-dot.result-d{background:#e1eaf8;border-color:#b9cdec;color:#2b5595}
.result-dot.result-l{background:#f7dedb;border-color:#e3b5af;color:#9b3329}
.result-dot:focus-visible{outline:2px solid #bd8b2d;outline-offset:2px}
.season-running-total{font-size:12px;font-weight:650;line-height:1.6;font-variant-numeric:tabular-nums}
.reel-current{display:flex;flex-direction:column;justify-content:center;gap:5px;min-height:83px;padding:10px 12px;background:#f3f5ef;border-radius:10px;box-sizing:border-box}
.reel-current strong{font-size:16px;line-height:1.5}
.reel-current:empty:before{content:'本段比赛即将揭晓 · 已赛轮次可点选回看';font-size:12px;color:#768477}
.reel-controls{display:flex;justify-content:space-between;gap:16px;min-height:38px;padding-top:7px}
.reel-controls:empty{min-height:0;padding:0}
.reel-controls button{min-height:34px;padding:6px 12px;border:1px solid #dce4d8;border-radius:8px;background:#fff;color:#426044}
.cup-tracks{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;margin-top:9px}
.cup-tracks{display:flex;overflow-x:auto;overscroll-behavior-x:contain;padding-bottom:3px}.cup-tracks:empty{margin:0;padding:0}
.cup-track{display:flex;flex-direction:column;gap:4px;min-width:0;padding:8px 9px;background:#f5f3ed;border-radius:8px}
.cup-track{min-width:125px;flex:0 0 auto;max-width:170px}
.cup-track strong{font-size:12px}.cup-track span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.score-ledger{margin-top:10px}.score-ledger>summary{font-size:12px;color:#687569;padding:6px 0;cursor:pointer}
.score-ledger .season-score-list{max-height:230px;margin-top:8px}
.season-journey[data-revealing] .season-journey-content{opacity:.55;pointer-events:none}
.season-journey[data-revealing] .season-scoreboard{border-color:#b4c7ae}
.press-card{padding:12px 14px;border-left:3px solid #b8aa76;border-radius:0 10px 10px 0;background:#f4f2e9;margin:10px 0}
.press-source{display:block;font-size:10px;color:#83846b;line-height:1.6}
.press-headline{display:block;font-size:14px;line-height:1.6;margin:4px 0;color:#263c2a}
.press-card p{margin:4px 0 0;line-height:1.65}.press-card .button{margin-top:9px}
.press-slot:empty{display:none}.national-journey .press-card p{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.national-actions .button-row{gap:14px}.national-actions .button-row>.button{min-height:48px}
.national-story{display:none}.compact-condition{margin:0 0 9px;padding:0 3px}
.career-shortcuts{gap:10px;flex-wrap:wrap}.career-shortcuts .button{min-height:42px}
.manual-growth>summary{font-weight:650;cursor:pointer;padding:12px 0}.manual-growth .growth-grid{margin-top:8px}
.season-growth .growth-confirm{margin-top:14px;min-height:48px}.offseason-services>summary{padding:14px 0}
.season-summary>.season-growth{margin-top:12px}.season-summary .season-brief .tiny{line-height:1.6}
@media(max-width:350px){.season-result-track{gap:4px}.result-dot{min-height:26px;font-size:9px}.reel-current strong{font-size:14px}.cup-tracks{gap:5px}}
@media(prefers-reduced-motion:reduce){.season-journey *,.national-journey *{animation:none!important;transition:none!important}}

/* Compact review layout: targets stay visible; long evidence is opt-in. */
.score-layout{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:12px;align-items:start}
.score-main,.score-side{min-width:0}.season-running-total{font-size:11px;line-height:1.5}
.season-result-track{grid-template-columns:repeat(8,minmax(0,1fr));gap:0;margin:6px -2px 0}
.result-dot,.result-dot:disabled,.result-dot.result-w,.result-dot.result-d,.result-dot.result-l{position:relative;background:transparent;border:0;min-height:24px;height:24px;padding:0;border-radius:50%}
.result-dot::after{content:'';display:block;width:9px;height:9px;margin:auto;border-radius:50%;background:#d5dad6}
.result-dot.result-w::after{background:#278158}.result-dot.result-d::after{background:#507db4}.result-dot.result-l::after{background:#c55c51}
.result-dot.current::after{outline:1px solid var(--ink);outline-offset:3px}.result-dot:focus-visible{outline-offset:-2px}
.score-legend{display:flex;justify-content:flex-end;gap:6px;font-size:10px;white-space:nowrap;color:#59655d}
.score-legend span::before{content:'';display:inline-block;width:6px;height:6px;border-radius:50%;margin-right:3px;background:#d5dad6}.score-legend .legend-w::before{background:#278158}.score-legend .legend-d::before{background:#507db4}.score-legend .legend-l::before{background:#c55c51}
.reel-current{min-height:0;margin:7px 0 0;padding:0;background:none;gap:4px;text-align:right}.reel-current strong{font-size:13px;line-height:1.5;overflow-wrap:anywhere}.reel-current .tiny{font-size:10px}
.season-score-status{font-size:10px;margin:2px 0 5px}.season-scoreboard{padding:11px}
.cup-tracks{gap:5px;margin-top:5px}.cup-track{padding:5px 7px;min-width:92px;max-width:125px;gap:1px}.cup-track strong,.cup-track .tiny{font-size:10px}
.score-records{display:flex;flex-wrap:wrap;gap:4px 12px;margin-top:4px}.score-records>details{margin:0;padding:0;border:0;background:none;min-width:0}.score-records>details>summary{font-size:11px;padding:8px 0;min-height:32px}.score-records>details[open]{flex-basis:100%}
.score-records .fixture-row{font-size:12px}.score-records .highlight-title{font-size:13px}
.season-journey>.press-slot,.national-journey>.press-slot{margin:0}.season-journey .press-card,.national-journey>.press-slot .press-card,.transfer-headline{padding:7px 9px;margin:0;border:0;border-left:2px solid #b59c61;border-radius:0;background:#f6f4ed}.press-source{font-size:10px}.press-headline{font-size:12px}.season-journey .press-card p,.transfer-headline p{font-size:11px;margin:3px 0;line-height:1.4}
.waiting-choice{padding:10px;background:#fff3d5;color:#755516;border-radius:8px;font-weight:650;font-size:13px}.awaiting-choice .season-journey-content{margin-bottom:4px}
.hero{position:relative}.hero-board{position:absolute;right:15px;top:14px;width:auto!important;min-height:36px;padding:6px 10px;font-size:12px}.hero .eyebrow{padding-right:80px}
.salary-inline{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;font-size:13px;padding:10px 0}.salary-inline .button{width:auto;margin:0;min-height:36px}.salary-feedback{flex-basis:100%;font-size:12px;color:#277649;margin:3px 0}.growth-feedback{grid-column:1/-1;text-align:right;color:#277649;font-size:11px}
.player-identity{font-size:13px;font-weight:650;margin:0}.compact-contract{padding:10px 12px}.compact-contract .stat-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.compact-contract .stat{padding:6px}.compact-contract p{font-size:11px;margin:6px 0}
.tab-squad .panel{margin-top:8px}.tab-squad .agent-panel{padding:10px 12px}.intent-buttons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}.intent-buttons .button{min-height:36px;padding:7px;font-size:12px;margin:0}.agent-status{font-size:13px}.agent-panel .tiny{font-size:11px}.primary-lineup{margin-top:0!important}.primary-lineup>.tiny{font-size:10px;margin:5px 0}.recruit-target{font-size:12px;padding:7px 0;border-bottom:1px solid #e4e9e3;margin:0}.recruitment-preview .reward-value{font-size:13px}
.honour-totals{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.honour-total{min-height:0;padding:7px;display:flex;flex-direction:row;align-items:center;justify-content:center;gap:5px}.honour-total strong{font-size:18px}.honour-total span{font-size:11px}
.manual-growth h3{font-size:13px;margin:10px 0}.compact-ballon{margin:8px 0 0}.compact-ballon>summary{font-size:12px;padding:8px 0}.compact-ballon .panel{margin:6px 0;padding:10px}
.offseason-plans .choice-grid{gap:6px}.offseason-plans .choice{padding:9px}.condition-preview{background:#edf4ee;padding:10px;border-radius:8px;font-size:13px;font-weight:600}.offseason-screen .panel{margin:9px 0}.offseason-screen>.button{margin:7px 0}
.other-legend-routes{margin:10px 0}.other-legend-routes h3{font-size:13px}.legendary-work summary{font-size:12px;padding:9px 0;cursor:pointer}.legacy-target{font-size:15px}.my-legend-score{padding:10px}.legacy-season-gain{padding:8px}.public-recognition{padding:9px;background:#f7f4e8;border-radius:7px}.public-recognition strong{font-size:13px}.public-recognition .collection-progress{display:inline-block;font-size:11px;margin:3px 8px 0 0}
.national-status{min-height:112px;padding:12px!important;position:relative}.national-status[data-loading]::after{content:'正在计算本场 · 已赛战报可回看';font-size:11px;color:#6a765d;display:block;margin-top:6px}.national-score{font-size:19px!important}.national-status .lead{font-size:13px;margin:6px 0}.national-results{padding:10px!important}.national-results .tournament-step{padding:9px 0;border-bottom:1px solid #e1e6de}.tournament-step>strong{font-size:13px}.tournament-step .tiny{font-size:11px;margin:4px 0}.national-playback{display:flex;gap:8px}.national-playback:empty{display:none}.national-report summary{font-size:11px;padding:6px 0}
.national-result-track{display:flex;gap:7px;margin-top:8px}.national-result-dot{width:18px;height:18px;border-radius:50%;font-size:10px;display:grid;place-items:center;background:#e0e5df}.national-result-dot.result-w{background:#d9eee2;color:#1d6846}.national-result-dot.result-d{background:#dee9f6;color:#345e98}.national-result-dot.result-l{background:#f6deda;color:#963e37}
@media(max-width:350px){.score-layout{gap:7px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.score-legend{gap:4px;font-size:9px}.result-dot{min-height:24px}.season-running-total{font-size:10px}.reel-current strong{font-size:12px}.hero-board{right:10px}}
.career-totals .stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.career-totals .stat:nth-child(4){border-left:0}.offseason-plans .choice-grid.three{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}.offseason-plans .choice strong{font-size:12px}.offseason-plans .choice{padding:8px 6px;min-height:80px}.national-results strong.result-w{color:#246b49}.national-results strong.result-d{color:#456992}.national-results strong.result-l{color:#a54b40}
.primary-lineup .squad-pitch{min-height:300px;padding:10px 5px;margin:10px 0}
.primary-lineup .formation-player{min-height:48px;padding:4px 2px}
.primary-lineup .formation-position{margin-bottom:2px}
.primary-lineup .formation-player span{margin-top:2px}
.public-recognition .collection-progress{padding:3px 0;background:none;border:0;border-radius:0;margin-right:10px}
.growth-save-status,.has-progress-dock .growth-save-status{top:calc(58px + env(safe-area-inset-top,0px));bottom:auto;border-radius:8px}
.compact-contract .stat strong{font-size:14px}.compact-contract .stat span{font-size:10px}
.offseason-screen>.button{width:auto;min-height:32px;padding:7px 10px;margin:4px 0}
.tab-player .attribute-overview{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px}
.tab-player .attribute-line{display:grid;justify-items:start;align-content:center;gap:2px;min-height:43px;padding:6px 8px;border-radius:6px}
.tab-player .attribute-line strong{font-size:15px;line-height:1.2;white-space:nowrap}
.tab-player .attribute-line span{font-size:11px;line-height:1.2}

/* Focused career layouts: shared across entry points and compact screens. */
.identity-condition{display:flex;justify-content:space-between;gap:8px;border-top:1px solid var(--line);padding-top:9px;margin-top:9px;font-size:12px;grid-column:1/-1}
.offseason-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:10px 0}.offseason-heading h2{margin:0}.offseason-heading .button{width:auto;min-height:36px;margin:0;padding:7px 10px;font-size:12px}
.compact-contract{padding:10px 12px}.compact-contract h3{font-size:14px;margin:0 0 7px}.contract-line{display:flex;flex-wrap:wrap;gap:5px 12px;font-size:12px}.contract-details{font-size:11px;margin-top:6px}.compact-contract .intent-buttons{display:flex;flex-wrap:wrap;gap:5px;margin-top:8px}.compact-contract .intent-buttons .button{flex:1 1 95px;min-height:36px;padding:6px}
.squad-switch{display:flex;gap:5px;margin:8px 0}.squad-switch .button{width:auto;min-height:36px;margin:0;padding:6px 16px}.squad-switch [aria-pressed=true],.recruitment-position [aria-pressed=true]{background:var(--green-deep,#24543b);color:#fff;border-color:var(--green-deep,#24543b)}
.squad-news{font-size:11px;line-height:1.5;margin:7px 0;color:var(--muted)}.national-lineup-body .china-squad{padding:0;margin:0;border:0}.national-lineup-body .lead{font-size:12px}
.recruitment-panel.recruitment-open-window{padding:10px 12px!important;border:1px solid #d8e4dc!important;background:#f8faf5!important}.recruitment-panel>summary,.recruitment-open-window>summary{font-size:14px!important;min-height:32px;padding:0!important}.recruitment-panel .tiny{font-size:11px;margin:5px 0}.recruitment-position{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;border:0;background:transparent;padding:0;margin:8px 0;min-height:0}.recruitment-position .button{font-size:11px;min-height:36px;width:auto;padding:5px 2px;margin:0}.recruit-target{font-size:12px;line-height:1.6;padding:7px 8px;margin:5px 0;border:1px solid #e1e7dd;background:#fff;border-radius:6px}.recruitment-panel .ad-button{min-height:40px;font-size:12px;margin-top:8px}.recruitment-offer-screen>.lead{font-size:12px}.recruitment-offer-screen .panel{padding:10px 12px;margin:8px 0}.recruitment-offer-screen .panel h3{font-size:15px}.recruitment-offer-screen .panel .lead{font-size:13px;margin:5px 0}.recruitment-offer-screen .button{min-height:40px;font-size:13px}
.career-totals .stat strong{font-size:20px}.career-totals .stat span{font-size:11px}.my-legend-score{grid-template-columns:minmax(75px,auto) minmax(0,1fr);gap:3px 14px;margin:8px 0;padding:9px 12px}.my-legend-score>span{font-size:11px}.my-legend-score>strong{grid-column:1;font-size:27px}.my-legend-score>.legend-next{grid-column:2;grid-row:1/3;align-self:center;font-size:12px;line-height:1.6}
.career-monument{border:1px solid #d6d9c3;background:linear-gradient(135deg,#f9faf3,#f0f4e9);padding:12px;border-radius:9px}.milestone-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.milestone-grid .challenge-row{display:grid;grid-template-columns:1fr auto;gap:4px 7px;background:#fff;border:1px solid #e0e5d7;border-radius:7px;padding:9px;min-width:0}.milestone-grid .challenge-row strong{font-size:12px}.milestone-grid .challenge-row>span{font-size:11px;color:#557253}.milestone-grid .challenge-row small{grid-column:1/-1;font-size:10px;line-height:1.4}.milestone-grid progress{grid-column:1/-1;width:100%;height:4px;accent-color:#8b9d53}.milestone-grid .complete{border-color:#b4b97b;background:#fffdf1}
.phase-personal{padding:4px 0 8px}.phase-personal>small{font-size:10px;color:var(--muted)}.phase-stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 12px;margin-top:5px}.phase-stat-grid>span{display:flex;justify-content:space-between;gap:5px}.phase-stat-grid small{font-size:10px;color:var(--muted)}.phase-stat-grid strong{font-size:13px}.phase-brief{padding:2px 4px}.phase-brief p{margin:5px 0}.score-side{min-width:0}
.national-result-track{gap:7px;display:flex;flex-wrap:wrap}.national-result-dot{width:34px;height:34px;min-height:34px;padding:0;border:0;border-radius:50%;cursor:pointer;font-size:12px}.national-result-dot.result-w{background:#d9ebdf;color:#245b3c}.national-result-dot.result-d{background:#dce5f5;color:#365c87}.national-result-dot.result-l{background:#f3dedd;color:#94423e}.national-result-dot.pending{background:#eceee9;color:#999}.national-result-dot[aria-pressed=true]{outline:2px solid #a99356;outline-offset:2px}.national-selected-match{min-height:100px;padding:12px 0 5px}.national-selected-match>.national-score{display:block;font-size:20px;margin:6px 0}.national-status[data-loading=true]::after{display:none}.national-table{padding:10px 12px}.national-table h3{font-size:13px}.national-table th,.national-table td{font-size:11px;padding:6px 4px}.national-next{margin:6px 0}.national-report{font-size:12px}
.season-brief>.compact-ballon{margin:8px 0 0;padding:8px 0 0;border:0;border-top:1px solid var(--line);box-shadow:none;background:transparent}.compact-ballon h3{font-size:12px;margin:0 0 4px}.compact-ballon .ballon-standing{font-size:13px}.compact-ballon .ballon-podium{gap:5px;margin:6px 0}.compact-ballon .podium-place{padding:5px;font-size:11px}.compact-ballon .podium-place strong{font-size:11px}.compact-ballon .podium-place small{font-size:10px}.ballon-extra>summary{font-size:11px}.season-moment-brief{border-top:1px solid var(--line);padding-top:8px;color:var(--muted)}.body-benefit{font-size:12px;color:#426048}
@media(max-width:360px){.milestone-grid{grid-template-columns:1fr}.phase-stat-grid{gap:4px 6px}.score-layout{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}}

.agent-visible .contract-talk{padding:8px 0;margin:6px 0;border-top:1px solid var(--line)}.agent-visible .contract-talk>strong{font-size:12px}.agent-visible .salary-offer{font-size:13px;margin:5px 0}.agent-visible .button{font-size:12px;min-height:40px;margin:6px 0;padding:8px 10px}.agent-visible .tiny{font-size:11px;margin:5px 0}.agent-visible .agent-target{min-height:38px;padding:6px 8px;margin:7px 0}.agent-visible h3{font-size:14px;margin:0 0 6px}

.transfer-market>summary{font-size:12px;font-weight:600;line-height:1.5;padding:3px 0}.transfer-market{padding:9px 12px;margin:8px 0}

.compact-contract .intent-buttons{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px}.compact-contract .intent-buttons .button{min-height:36px;padding:5px 2px;font-size:11px;white-space:normal}.contract-details .button{width:auto;font-size:11px;min-height:34px;padding:5px 9px}

.compact-ballon .podium-place>b{font-size:13px}.compact-ballon .podium-place{min-height:0;padding:5px}.compact-ballon .podium-place strong{line-height:1.3}

/* Season hierarchy and compact controls, shared between club and career screens. */
.season-hub .season-year{margin:0 0 8px;font-size:14px;font-weight:700;letter-spacing:.04em;color:var(--ink)}
.season-hub-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.season-hub-heading h3{font-size:13px;margin:0;white-space:nowrap}.stage-condition{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:3px 9px;font-size:11px;color:var(--muted)}
.season-hub .season-goal{border:1px solid #d9e3d7;background:#f4f7f0;border-radius:8px;padding:9px 11px;margin:9px 0}.season-goal>strong{font-size:13px}.season-goal .goal-progress{font-size:12px;margin:4px 0}.season-goal>.home-details{padding:0;margin:5px 0 0;border:0;background:none}.season-goal>.home-details>summary{font-size:11px}
.score-heading{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:12px;padding:0 0 9px;margin-bottom:5px;border-bottom:1px solid var(--line)}.score-heading>h3{font-size:13px;line-height:1.5;margin:0;padding:4px 0}.score-heading .phase-personal{padding:5px 8px;border:1px solid #dce5da;border-radius:6px;background:#f5f8f2}.phase-personal-heading{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:3px 6px}.phase-personal-heading>small{font-size:11px}.phase-rank{color:var(--green-deep,#24543b);font-weight:600}.phase-stat-grid{gap:3px 8px}.phase-stat-grid strong{font-size:12px}.score-records{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px;align-items:start}.score-records>details{min-width:0;margin:4px 0;padding:6px 0;border:0;background:none}.score-records>details>summary{font-size:11px}.score-records>details[open]{grid-column:1/-1}.score-records>.highlight-panel:not([open]){text-align:right}
.tab-player .attribute-line{min-height:35px;padding:4px 7px;gap:1px}.tab-player .attribute-line strong{font-size:13px}.tab-player .attribute-line span{font-size:10px}.tab-player .attribute-overview{gap:4px}.career-totals .stat-grid{gap:5px}.career-totals .stat{padding:6px;min-height:0}.career-totals .stat strong{font-size:16px;line-height:1.25}.career-totals .stat span{font-size:10px}.career-totals>h3{font-size:14px}
.season-brief>h3{display:flex;align-items:center;justify-content:space-between;gap:8px}.season-role{font-size:11px;font-weight:500;color:var(--muted);white-space:nowrap}
.economy-balance-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px}.economy-balance-row>.economy-balance{font-size:15px}.balance-ledger{display:contents}.balance-ledger>summary{grid-column:2;grid-row:1;font-size:11px;min-height:32px;display:flex;align-items:center;color:var(--green-deep,#24543b);cursor:pointer}.balance-ledger>p,.balance-ledger>small{grid-column:1/-1;margin:3px 0}.balance-ledger:not([open])>:not(summary){display:none}
.legacy-season-gain{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:5px 8px}.legacy-season-gain>strong{font-size:13px}.legacy-season-gain>p{grid-column:1/-1;margin:3px 0;font-size:11px}.legacy-evidence{display:contents}.legacy-evidence>summary{grid-column:2;grid-row:1;font-size:11px;min-height:32px;display:flex;align-items:center;cursor:pointer;color:var(--green-deep,#24543b)}.legacy-evidence>p{grid-column:1/-1}.legacy-evidence:not([open])>:not(summary){display:none}.legacy-target{display:flex;justify-content:space-between;gap:8px;align-items:center;font-size:13px}.benchmark-score{white-space:nowrap;color:var(--green-deep,#24543b);font-size:13px}.legacy-challenge>.lead{font-size:13px;margin:6px 0}
.agent-inline{box-shadow:none;border:0;border-top:1px solid var(--line);padding:10px 0 0;margin:10px 0 0;background:transparent}.agent-target-picker{border:1px solid var(--line);background:#f7f8f3;border-radius:7px;padding:7px 9px;margin:7px 0}.agent-target-picker>summary{font-size:12px;cursor:pointer;min-height:28px;line-height:28px}.agent-search{font:inherit;font-size:12px;width:100%;min-height:36px;padding:7px 9px;border:1px solid var(--line);border-radius:6px;margin:7px 0;box-sizing:border-box;background:#fff}.agent-league-filters{display:flex;gap:4px;overflow-x:auto;padding-bottom:4px}.agent-visible .agent-league-filters>.button{flex:0 0 auto;min-height:34px;margin:0;padding:5px 8px;font-size:11px}.agent-team-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;max-height:210px;overflow-y:auto;overscroll-behavior:contain}.agent-visible .agent-team-list>.button{min-height:36px;margin:0;padding:6px;font-size:11px}.agent-team-list [aria-pressed=true],.agent-league-filters [aria-pressed=true]{background:var(--green-deep,#24543b);color:#fff}.recruitment-receipt{font-size:12px;color:var(--green-deep,#24543b);padding:7px 9px;background:#edf5e9;border-radius:6px}
@media(max-width:360px){.score-heading{gap:7px;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr)}.score-heading>h3{font-size:12px}.stage-condition{font-size:10px;gap:3px 6px}.economy-balance-row>.economy-balance{font-size:13px}.legacy-season-gain{gap:4px}.legacy-evidence>summary{font-size:10px}}
.salary-tools{border:1px solid var(--line);border-radius:9px;padding:10px 12px;background:#fff;margin:10px 0}.salary-tools>strong{font-size:13px}.salary-tools .salary-offer{font-size:13px;margin:7px 0}.salary-tools .button{min-height:40px;font-size:12px;padding:8px 10px}.salary-tools .tiny{font-size:11px;margin:5px 0}.agent-inline>.agent-status{display:none}

/* Mobile review: compact local spacing and visible, shared controls. */
.offseason-screen{gap:10px}.offseason-screen>.offseason-heading{margin:0}.offseason-screen>.economy-panel{margin-top:0}
.season-goal>.home-details>summary{min-height:32px;padding:6px 0;line-height:20px}.season-hub .season-goal{padding-bottom:6px}
.player-finances{grid-column:1/-1;display:flex;justify-content:space-between;gap:8px;border-top:1px solid #ffffff25;padding-top:8px;color:#d4e1d6;font-size:11px}.player-finances>span{white-space:nowrap}
.youth-tracking{padding:9px 11px;margin:8px 0;border:1px solid #d6e2ce;border-radius:8px;background:#f6f8ef}.youth-tracking-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.youth-tracking-heading>strong{font-size:12px}.youth-tracking-heading>.button{width:auto;min-height:32px;font-size:11px;padding:5px 9px;margin:0}.youth-tracking-title{font-size:12px;font-weight:600;margin:5px 0}.youth-tracking .tiny{font-size:11px;margin:4px 0 0}
.youth-cohort-choices{display:flex;gap:6px;overflow-x:auto;padding:5px 0 8px;scrollbar-width:thin}.youth-cohort-choices>.button{flex:0 0 auto;width:auto;min-height:36px;margin:0;padding:7px 10px;font-size:12px}.youth-cohort-choices>[aria-pressed=true]{background:var(--green);color:white;border-color:var(--green)}
.benchmark-progress{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 8px;font-size:11px;color:var(--muted);margin:6px 0}.benchmark-details{display:contents}.benchmark-details>summary{grid-column:2;grid-row:1;min-height:32px;padding:6px 0;font-size:11px;cursor:pointer;color:var(--green)}.benchmark-details>:not(summary){grid-column:1/-1}.benchmark-details:not([open])>:not(summary){display:none}
.legacy-challenge .benchmark-entry{padding:14px 0}.benchmark-entry>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:32px;cursor:pointer;list-style:none}.benchmark-entry>summary::-webkit-details-marker{display:none}.benchmark-entry>summary>strong{min-width:0}.benchmark-toggle{flex-shrink:0;font-size:11px;color:var(--green)}.benchmark-toggle::after{content:'展开 ▾'}.benchmark-entry[open] .benchmark-toggle::after{content:'收起 ▴'}.benchmark-entry:not([open])>:not(summary){display:none}

.salary-inline{border-top:1px solid var(--line);padding:7px 0 0;margin:7px 0 0}.salary-inline>strong{display:none}.salary-inline .salary-offer,.salary-inline .tiny{font-size:11px;margin:3px 0}.salary-inline>.button{min-height:36px;font-size:12px;padding:6px 9px;margin:5px 0 0}.squad-contract-tools{display:grid;gap:8px}.squad-contract-tools>.panel{margin:0;padding:10px 12px}.squad-contract-tools .salary-talk{margin:0;padding:0;border:0}.squad-contract-tools .salary-talk>strong{display:none}

.score-records{grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:8px;align-items:start}.score-records>details{display:contents}.score-records>details>summary{grid-row:1;display:flex;align-items:center;gap:4px;min-height:36px;margin:0;padding:6px 0;line-height:18px;white-space:nowrap;list-style:none;font-size:11px;font-weight:600;cursor:pointer}.score-records>.competition-card>summary{grid-column:1}.score-records>.highlight-panel>summary{grid-column:2;justify-content:flex-end}.score-records>details>summary::-webkit-details-marker{display:none}.score-records>details>summary::before{content:'▸';font-size:10px}.score-records>details[open]>summary::before{content:'▾'}.score-records>details>summary>small{font-size:10px;font-weight:400;color:var(--muted)}.score-records>details>:not(summary){grid-column:1/-1;text-align:left}.score-records>details:not([open])>:not(summary){display:none}
.youth-cohort-choices>.button{transition:none}

/* National cups share the compact match-first rhythm of season progression. */
.national-journey{gap:9px}.national-journey>h1{font-size:22px;margin:3px 0}.national-journey .national-status,.national-journey .national-actions{margin:0;padding:10px 12px!important}.national-journey .national-status{min-height:0}.national-status>h3{font-size:13px;margin:0 0 5px}.national-result-track{gap:5px;margin-top:5px}.national-selected-match{min-height:0;padding:6px 0 2px}.national-selected-match>.national-score{font-size:18px!important;margin:3px 0}.national-selected-match>.tiny{font-size:11px;margin:3px 0;line-height:1.4}.national-next{font-size:11px;margin:4px 0 0}.national-status>.national-table{border-top:1px solid var(--line);padding:7px 0 0;margin:7px 0 0}.national-table h3{font-size:11px;margin:0 0 3px}.national-table .league-row{min-height:25px;padding:3px 2px;font-size:11px}.national-table .league-head{font-size:10px}.national-actions>h3{display:none}.national-continuous{font-size:11px;padding:0 0 7px;gap:6px}.national-continuous input{width:18px;height:18px}.national-actions .button-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.national-actions .button-row>.button{min-height:44px;margin:0;padding:8px 4px;font-size:12px}.national-actions .button-row>.button:only-child{grid-column:1/-1}.national-actions>.button{min-height:44px;margin:0;font-size:12px}.national-journey>.press-slot .press-card p{font-size:11px;line-height:1.4;margin:3px 0;-webkit-line-clamp:2}.national-journey>.china-squad{margin-top:0}.national-playback>.button{min-height:36px;padding:6px 10px;font-size:12px;margin:0}.national-journey .national-status[data-loading]::after{display:none}

.national-journey>.china-squad{border:1px solid var(--line);border-radius:14px;background:#fff;padding:9px 12px;margin:0}.national-journey>.china-squad>summary{font-size:12px;min-height:32px;color:var(--green)}.national-journey>.china-squad>.lead{font-size:12px;margin:6px 0;line-height:1.4}

/* Trophy moments are compact, local and never block the next action. */
.victory-card{position:relative;overflow:hidden;display:grid;grid-template-columns:32px minmax(0,1fr);gap:4px 8px;padding:12px 14px;margin:10px 0;border:1px solid #d6b76c;border-radius:12px;background:linear-gradient(115deg,#fff8df,#fffdf6);color:#58401a}
.victory-card .victory-cup{grid-row:1/4;font-size:25px;align-self:center}.victory-title{font-size:16px;line-height:1.4}.victory-detail{margin:0;font-size:12px;line-height:1.5}.victory-card small{font-size:11px;color:#786441}.history-celebration{color:#8b671a}.victory-enter{animation:victory-arrive .7s ease-out}.victory-enter:after{content:'';position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 10% 15%,#e2b649 2px,transparent 3px),radial-gradient(circle at 80% 15%,#b34632 2px,transparent 3px),radial-gradient(circle at 90% 60%,#e2b649 2px,transparent 3px);animation:victory-spark .9s ease-out forwards}@keyframes victory-arrive{from{transform:translateY(5px);opacity:.5}to{transform:none;opacity:1}}@keyframes victory-spark{to{transform:translateY(25px);opacity:0}}@media(prefers-reduced-motion:reduce){.victory-enter,.victory-enter:after{animation:none}.victory-enter:after{display:none}}

.award-result-reason{margin:7px 0 4px;padding:7px 9px;border-left:3px solid var(--gold,#bd9a4d);background:rgba(180,149,76,.07);font-size:11px;line-height:1.55;overflow-wrap:anywhere}
.award-race-detail{margin:8px 0;padding:8px 0;border-top:1px solid rgba(128,128,128,.2)}
.award-race-detail>strong{font-size:12px;line-height:1.5;overflow-wrap:anywhere}

/* Keep automatically refreshed match content in stable slots; details expand only on request. */
.season-journey>.press-slot,.national-journey>.press-slot{display:block;min-height:96px}
.season-journey>.press-slot .press-card,.national-journey>.press-slot .press-card{box-sizing:border-box;height:96px;overflow:hidden}
.season-journey>.press-slot .press-source,.national-journey>.press-slot .press-source{height:16px;line-height:16px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.season-journey>.press-slot .press-headline,.national-journey>.press-slot .press-headline{height:30px;line-height:15px;margin:3px 0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.season-journey>.press-slot .press-card p,.national-journey>.press-slot .press-card p{height:30px;line-height:15px;margin:3px 0 0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.national-journey>.topbar .badge{max-width:44%;height:32px;box-sizing:content-box;display:flex;align-items:center;line-height:16px;font-size:11px}
.national-status>h3{min-height:16px;line-height:16px;display:flex;align-items:center}
.national-result-track{flex-wrap:nowrap;overflow-x:auto;min-height:38px;align-items:center;padding:2px}
.national-result-dot{flex:0 0 30px;width:30px;height:30px;min-height:30px}
.national-selected-match>.tiny:first-child{display:block;min-height:16px;line-height:16px}
.national-selected-match>.national-score{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:8px;height:42px;line-height:20px;margin:3px 0}
.national-team{font-size:15px;text-align:center;overflow-wrap:anywhere;line-height:20px;min-width:0}
.national-score-value{font-size:22px;font-variant-numeric:tabular-nums;white-space:nowrap}
.national-selected-match>p.tiny{min-height:16px;line-height:16px;margin:3px 0}
.national-match-note{display:block;height:16px;line-height:16px;font-size:11px;color:var(--muted)}
.national-next{margin:6px 0 0;border-top:1px solid var(--line);padding-top:6px}
.national-next-stage{display:block;font-size:11px;line-height:16px;height:16px;color:var(--muted)}
.national-next-opponent{display:flex;align-items:center;min-height:42px;line-height:21px;font-size:17px;overflow-wrap:anywhere}
.national-control-area{display:grid;grid-template-columns:minmax(0,1fr);min-height:98px}
.national-control-area>.national-actions,.national-control-area>.national-playback{grid-area:1/1;margin:0}
.national-control-area>.national-actions[data-pending=true]{visibility:hidden;pointer-events:none}
.national-continuous{box-sizing:border-box;min-height:24px;line-height:16px;padding:0 0 8px;white-space:nowrap}
.national-control-area>.national-playback:not(:empty){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:center;gap:8px;padding:10px 12px}
.national-playback-note{grid-column:1/-1;line-height:16px;min-height:16px;font-size:11px;color:var(--muted)}
.national-control-area .national-playback>.button{height:44px;min-height:44px;margin:0;padding:8px 4px}

/* Reserve only the changing text/control rows, so revealing a longer result does not move the next action. */
.season-journey .season-running-total{min-height:30px;line-height:15px}
.season-journey .phase-personal-heading{min-height:32px;align-content:center}
.season-journey .season-score-status{min-height:32px;line-height:16px}
.season-journey .reel-current{min-height:114px;gap:3px;justify-content:center}
.season-journey .reel-current>small{line-height:14px}
.season-journey .reel-current>strong{line-height:18px}
.season-journey .reel-current>span{line-height:13px}
.season-journey .reel-controls,.season-journey .reel-controls:empty{box-sizing:border-box;min-height:45px;padding-top:7px}
.season-journey .reel-controls:empty::before{content:'点选已赛轮次，可回看单场表现';font-size:10px;line-height:34px;color:var(--muted)}

.national-status .national-table .league-table{margin-top:4px}
.national-status .national-table .league-row{min-height:25px;line-height:18px}

.award-v14-breakdown{flex-basis:100%;width:100%;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:8px 0;border-top:1px solid var(--line,#dfe3db)}
.award-v14-breakdown span{display:flex;align-items:center;justify-content:space-between;gap:4px}.award-v14-breakdown small{font-size:11px}.award-v14-breakdown strong{font-size:14px;font-variant-numeric:tabular-nums}
@media(max-width:360px){.award-v14-breakdown span{flex-direction:column;align-items:flex-start}}

/* Compact offers keep the decision visible; secondary terms expand in place. */
.transfer-card{padding:12px}.transfer-card .panel-title{margin-bottom:4px}.transfer-card .panel-title h3{font-size:17px}
.transfer-card .transfer-offer-meta,.transfer-card .transfer-offer-competition,.transfer-card .transfer-offer-fee{margin:5px 0;font-size:13px;line-height:1.45}
.transfer-card .transfer-offer-meta{color:var(--muted)}.transfer-card .transfer-offer-pay{display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 12px;margin:8px 0;padding:8px 10px;border-radius:8px;background:#eef8f1;color:#246244;line-height:1.5}.transfer-offer-pay strong{font-size:17px}.transfer-offer-pay span{font-size:12px}
.transfer-offer-details{margin:6px 0}.transfer-offer-details>summary{min-height:32px;display:list-item;padding:6px 0;cursor:pointer;font-size:12px;color:var(--muted)}.transfer-offer-details .tiny{margin:5px 0}
.transfer-offer-actions{display:flex;gap:8px;margin-top:6px}.transfer-offer-actions>.button{flex:1;min-width:0;min-height:44px;margin:0;padding:8px;font-size:13px;line-height:1.4}.transfer-card .transfer-refresh-check{margin:6px 0 0;min-height:32px;padding:4px 0}.transfer-card>.eyebrow{margin:4px 0}

.transfer-intro{padding:10px 12px}.transfer-intro .panel-title{margin-bottom:4px}.transfer-intro h3{font-size:15px}.transfer-intro>.tiny{margin:0;line-height:1.5}

.transfer-stay-salary>strong{display:block;font-size:13px}.transfer-stay-salary>.button{min-height:44px}.transfer-stay-salary .salary-offer{font-size:13px}
.coach-invitation,.coach-ending{margin:16px 0;padding:12px;border:1px solid var(--line);border-radius:10px;background:#f5f8f2}.coach-invitation>strong,.coach-ending>strong{font-size:14px}.coach-ending>p{font-size:13px;line-height:1.8}.coach-tactic{width:100%;margin:10px 0}.coach-scoreboard{min-height:105px;display:flex;flex-direction:column;justify-content:center;gap:10px;text-align:center}.coach-scoreboard>strong{font-size:20px}.coach-match-panel>.button{width:100%}.coach-player{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px;padding:10px 0;border-bottom:1px solid var(--line);font-size:12px}.coach-player small{font-size:11px}.coach-youth-tag{grid-column:1/-1;color:var(--green-deep);font-size:11px}.coach-match-report{border-top:1px solid var(--line);padding:10px 0;font-size:12px}.coach-match-report>summary{cursor:pointer}.coach-squad{padding:0 12px}.coach-exit{margin-top:18px}.coach-epilogue .button-row{flex-wrap:wrap}

.salary-talk{display:flex;flex-direction:column;align-items:stretch;gap:0}.salary-talk>.button{align-self:center;max-width:100%;margin-left:auto;margin-right:auto}

/* First-title story opens only after the paid season has been saved. */
.first-title-story { width: min(420px, calc(100% - 32px)); max-height: calc(100dvh - 48px); overflow-y: auto; margin: auto; padding: 24px; border: 1px solid #d6ba73; border-radius: 18px; color: var(--text); background: #fffaf0; box-shadow: 0 20px 70px #14251e40; }
.first-title-story-screen .first-title-story { max-height: none; overflow: visible; margin: 16px auto; }
.first-title-story-cup { display: block; text-align: center; font-size: 38px; }
.first-title-story > small { display: block; margin-top: 10px; color: var(--gold); text-align: center; }
.first-title-story h2 { margin: 8px 0 18px; text-align: center; outline: none; }
.first-title-story p { font-size: 15px; line-height: 1.8; }
.first-title-story .first-title-story-receipt { padding-top: 12px; border-top: 1px solid #e5d7b6; color: var(--gold); font-size: 13px; }
.first-title-story > .button { display: block; margin: 14px auto 0; min-width: 160px; }
.first-title-story > .tiny:empty { display: none; }

.poster-entry-featured { padding: 20px; border: 1px solid #b99a55; background: linear-gradient(135deg,#102e25,#244536); color: #fff8e5; }
.poster-entry-featured h3,.poster-entry-featured .poster-entry-moment { color: #f1d596; }
.poster-entry-label { display: block; margin-bottom: 10px; color: var(--gold); font-size: 11px; letter-spacing: 1px; }
.poster-entry-featured .poster-entry-label,.poster-entry-featured .tiny { color: #d6decf; }
.poster-entry-featured > .button { width: 100%; margin-top: 12px; }
.poster-entry-moment { display: block; font-size: 13px; }
.poster-share-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.poster-share-actions > .button { flex: 1 1 140px; margin: 0; text-align: center; }
.retired-player-chapter > summary { padding: 14px 0; font-weight: 700; cursor: pointer; }
.retired-player-chapter .retirement-story { margin-top: 12px; }
.coach-squad { padding: 14px; }
.coach-roster > summary { min-height: 44px; padding: 12px 0; cursor: pointer; font-size: 13px; }
.coach-squad .formation-player { min-width: 0; flex: 0 1 66px; }
.coach-squad .formation-player strong { max-width: 100%; }
.coach-squad .national-youth-label { color: #94621b; font-weight: 800; }
.coach-match-story{margin:10px 0 14px;padding:12px 14px;border-left:3px solid #b6924d;border-radius:0 8px 8px 0;background:#f8f5eb}.coach-match-story>strong{font-size:13px;color:var(--green-deep)}.coach-match-story p{margin:8px 0 0;font-size:13px;line-height:1.75}.coach-cup-ending{padding:22px 18px;border:1px solid #dac99d;border-radius:16px;background:#fffaf0}.coach-ending-symbol{display:block;text-align:center;font-size:42px}.coach-cup-ending>small{display:block;text-align:center;color:#886a36;margin:12px 0}.coach-cup-ending h2{text-align:center;font-size:22px;line-height:1.5}.coach-cup-ending p{font-size:14px;line-height:1.9;margin:16px 0}.coach-cup-ending>.button{display:block;margin:24px auto 0}.coach-story-replay p{line-height:1.8}
