/* Taste Skill: Data terminal / seed 1726677812 / Open plane.
   1440 = 230 sidebar + 32 left + 1146 content + 32 right.
   Management UI uses neutral chrome; baseball green belongs only to the field. */
:root {
  --ground:#151719; --surface:#101214; --raised:#202325;
  --text:#eceeeb; --muted:#adb2ae; --border:#2c3031;
  --control:#505657; --accent:#c83d45;
  --space:20px; --body-font:'Yu Gothic UI','Meiryo',sans-serif;
  --number-font:Consolas,'Courier New',monospace;
  font-family:var(--body-font);
}
body,.game-sidebar,.game-topbar { background:var(--ground); }
.game-sidebar { width:230px; border-color:var(--border); }
.game-mode main { margin-left:230px; padding:30px 32px; }
.game-mode footer { margin-left:230px; background:var(--ground); }
.sidebar-logo { height:90px; border:0; padding:0 24px; }
.sidebar-logo span,.small-brand { font-family:var(--body-font); letter-spacing:0; }
.sidebar-logo span { font-size:14px; }
.club-context { align-items:flex-start; text-align:left; padding:12px 24px 24px; gap:10px; }
.club-context strong { font-size:15px; line-height:1.7; }
.club-context small,.sidebar-bottom small { font-size:12px; }
.club-context .crest { width:45px; height:52px; }
.crest svg { fill:var(--raised); stroke:#929a94; }
.crest .crest-line { stroke:#9c7779; stroke-width:1; }
.nav-caption { margin:8px 24px 14px; font-size:12px; }
.game-sidebar nav { padding:0 18px; gap:4px; }
.game-sidebar nav a { min-height:40px; padding:8px 6px; gap:12px; }
.game-sidebar nav a[aria-current=page] { background:transparent; }
.game-sidebar nav a:after { display:none; }
.nav-label { position:relative; width:auto!important; font-size:14px!important; color:inherit!important; }
nav a[aria-current=page] .nav-label:after { content:''; position:absolute; height:1px; left:0; right:0; bottom:-7px; background:var(--accent); }
.nav-icon { width:18px!important; display:inline-flex; align-items:center; justify-content:center; color:var(--muted); flex:none; }
.nav-icon svg { width:18px; height:18px; fill:none; stroke:currentColor; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; }
.sidebar-bottom { padding:20px 24px; font-size:13px; border-color:var(--border); }
.sidebar-bottom a { font-size:12px; }
.office-heading { margin-bottom:20px; align-items:start; }
.office-heading h1,.game-mode .heading h1 { font-size:24px; }
.office-actions { display:flex; flex-direction:column; gap:5px; align-items:flex-end; }
.office-date { font-size:13px; color:var(--text); }
.season-state { padding:0; font-size:12px; color:var(--muted); border:0; }
.context { font-size:12px; letter-spacing:0; }
.club-masthead { background:var(--surface); border:1px solid var(--border); border-bottom:0; padding:18px 20px; }
.club-masthead h2 { font-size:24px; }
.club-masthead p,.club-masthead span { font-size:13px; color:var(--muted); }
.club-masthead>div:first-child { gap:18px; }
.club-masthead .crest-large { width:55px; height:65px; }
.club-record strong { font-size:26px; }
.club-record strong span { font-size:13px; }
.club-record small { font-size:12px; }
.office-metrics { background:var(--surface); border-color:var(--border); }
.office-metrics>div { padding:12px 20px; border-color:var(--border); }
.office-metrics span { font-size:12px; }
.office-metrics strong { font-size:25px; }
.office-metrics small { font-size:12px; }
.panel,.team-item { background:var(--surface); border-color:var(--border); box-shadow:none; }
.game-mode .panel,.game-mode .team-item { border-color:var(--border); }
.office-grid { grid-template-columns:1.15fr 1fr; gap:var(--space); align-items:stretch; }
.office-grid .panel { padding:18px; }
.office-grid .panel h2,.panel-title h2 { font-size:16px; }
.panel-title a { font-size:13px; }
.office-grid .diamond-board { height:310px; }
.diamond-drawing { opacity:.75; }
.outfield { fill:#1f3429; stroke:#526350; }
.infield { fill:#40392d; stroke:#79705c; }
.field-player { font-size:13px; min-width:90px; line-height:1.45; }
.field-player a { background:#141b17; border-color:#566351; padding:4px 7px; }
.field-position,.field-player small { font:12px/1.5 var(--number-font); }
.field-position { color:#c4cdbd; }
.pitcher-marker a { border-color:#929b83; }
.board-caption { font-size:12px; color:var(--muted); margin-top:8px; }
.inbox-item { padding:12px 0; border-color:var(--border); }
.inbox-item small { font-size:12px; }
.inbox-item h3 { font-size:14px; }
.inbox-item p { font-size:13px; line-height:1.75; color:#b6bbb7; }
.inbox-item a { font-size:13px; }
.inbox-item.development-note { padding-top:10px; }
.key-players { padding:18px; }
.key-player-grid { grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.key-player { gap:8px; }
.key-player strong { font-size:14px; }
.key-player small { font-size:12px; }
.key-player b small { font-size:11px; }
.jersey-number { font:24px var(--number-font); color:#a5ada6; }
.num { font-variant-numeric:tabular-nums; }
.game-mode { font-variant-numeric:tabular-nums; }
.game-mode small,.game-mode .context,.game-mode .nav-caption,
.game-mode .office-metrics span,.game-mode .board-caption,
.game-mode .field-position,.game-mode .field-player small,
.game-mode .key-player b small,.game-mode .key-player small,
.game-mode .club-record small,.game-mode .club-masthead span,
.game-mode .club-masthead p { font-size:13px; }
.club-record strong span { font-family:inherit; }
.office-metrics small { font-family:inherit; }
th { font-size:12px; }
td { padding-top:12px; padding-bottom:12px; }
td small { font-size:12px; }
.table-wrap { max-height:calc(100svh - 230px); }
.table-wrap thead { position:sticky; top:0; background:var(--surface); z-index:2; }
input,select,button,.button { border-color:var(--control); }
.filters label { font-size:13px; }
.lineup-row select { font-size:13px; min-height:40px; }
.lineup-row>span { font-size:13px; }
.tactics-layout .muted { font-size:13px; }
.text-button { font-size:13px; }
.title-scene { background-color:#090c0b; }
.game-logo,.game-logo * { text-shadow:none; }
.title-kicker { font:13px/1.5 var(--body-font); letter-spacing:0; }
.title-actions { background:#101415; border-color:#525a57; }
.title-action strong { font-size:18px; }
.title-action small { font-size:13px; color:#b6bdb8; line-height:1.6; }
.title-action.compact { font-size:14px; min-height:52px; }
.title-action.featured:before { width:1px; }
.title-action,.title-bottom { border-color:#424947; }
.title-bottom { font-size:12px; }
.title-bottom>span:first-child { font:12px var(--body-font); letter-spacing:0; }
.title-top { font-size:12px; }
.small-brand { font-size:20px; }
.front-mode:not(.title-mode) { background:var(--ground); }
.front-mode:not(.title-mode):before { display:none; }
.setup-heading>p:not(.context),.setup-steps li,.setup-league-line span,.setup-note,.setup-bottom>span { font-size:13px; }
.club-option { background:var(--surface); border-color:var(--border); }
.club-option:hover { background:#1b1e20; }
.club-option.selected { background:var(--surface); outline:0; border-color:#969e98; }
.club-option.selected strong { text-decoration:underline; text-decoration-color:var(--accent); text-underline-offset:7px; text-decoration-thickness:1px; }
.club-option strong { font-size:15px; }
.club-option small { font-size:12px; }
.select-mark { color:var(--text); }
.chosen-club,#career-form,.front-panel { background:var(--surface); border-color:var(--border); }
.chosen-club p,.chosen-club dl,#career-form .muted,#career-form details,.career-scope { font-size:13px; }
.setup-bottom { border-color:var(--border); }
.setup-header>a:last-child { font-size:13px; }
.setup-header { margin-bottom:32px; }
.setup-steps { border-color:var(--border); }
.setup-steps li.current { border-color:var(--accent); }
.chosen-club .crest-large { width:55px; height:65px; }
.career-scope { border-color:var(--border); }
.preference-row p { font-size:13px; }
@media(min-width:1101px) {
  .game-topbar { display:none; }
}
@media(max-width:1280px) and (min-width:1101px) {
  .key-player-grid { grid-template-columns:1fr 1fr; }
  .key-player { padding:10px 0; }
}
@media(max-width:1100px) {
  .game-sidebar { position:static; width:auto; border:0; }
  .sidebar-logo,.club-context,.nav-caption,.sidebar-bottom { display:none; }
  .game-sidebar nav { position:fixed; inset:auto 0 0; flex-direction:row; background:var(--ground); justify-content:space-around; border-top:1px solid var(--border); gap:0; padding:0 8px; }
  .game-sidebar nav a { padding:9px 12px 12px; flex-direction:column; gap:3px; min-height:64px; }
  .game-sidebar nav a[aria-current=page] { background:transparent; }
  .nav-label { font-size:12px!important; }
  nav a[aria-current=page] .nav-label:after { bottom:-5px; }
  .game-topbar { display:flex; left:0; height:64px; padding:0 24px; background:var(--ground); }
  .game-mode main { margin-left:0; padding:88px 24px 24px; }
  .game-mode footer { margin-left:0; margin-bottom:64px; padding:16px 24px; }
  .office-grid { grid-template-columns:1fr 1fr; }
  .office-grid .diamond-board { height:350px; }
  .key-player-grid { grid-template-columns:1fr 1fr; }
  .columns { grid-template-columns:1fr; }
  .game-mode #notice:not(:empty) { bottom:82px; }
}
@media(max-width:900px) {
  .office-grid { grid-template-columns:1fr; }
  .office-grid .diamond-board { height:340px; }
}
@media(max-width:700px) {
  .game-mode main { padding:86px 16px 24px; }
  .game-topbar { padding:0 16px; }
  .topbar-club span { font-size:13px; }
  .game-date strong { font-size:12px; }
  .game-mode footer { padding:14px 16px; }
  .office-heading h1,.game-mode .heading h1 { font-size:23px; }
  .office-actions { gap:4px; }
  .office-date,.season-state { font-size:12px; }
  .office-date { display:none; }
  .club-masthead { padding:16px; }
  .club-masthead h2 { font-size:21px; }
  .club-masthead p,.club-masthead span { font-size:12px; }
  .club-record { border-color:var(--border); }
  .club-record strong { font-size:24px; }
  .club-record small { font-size:11px; }
  .office-metrics>div { padding:12px 14px; }
  .office-metrics span { font-size:12px; }
  .office-metrics strong { font-size:25px; }
  .office-grid .panel { padding:16px 12px; }
  .office-grid .panel-title h2 { font-size:15px; }
  .panel-title a { font-size:12px; }
  .office-grid .diamond-board,.tactics-layout .diamond-board { height:335px; }
  .field-player { font-size:12px; min-width:72px; }
  .field-player a { padding:4px 5px; }
  .field-position,.field-player small { font-size:11px; }
  .board-caption { font-size:12px; line-height:1.6; }
  .key-player-grid { grid-template-columns:1fr; }
  .key-player { padding:13px 0; }
  .key-player strong { font-size:14px; }
  .key-player small { font-size:12px; }
  .title-kicker { font-size:13px; letter-spacing:0; }
  .title-action small { font-size:13px; }
  .title-action strong { font-size:17px; }
  .title-top,.title-bottom { font-size:12px; }
  .title-bottom { gap:7px; line-height:1.7; }
  .title-bottom>span:first-child { font-size:12px; }
  .title-content { padding:32px 0; }
  .title-actions { background:#101415; }
  .title-action.featured:before { width:1px; }
  .game-logo { font-size:clamp(45px,12vw,68px); }
  .title-tagline { font-size:13px; }
  .setup-heading>p:not(.context),.setup-steps li,.setup-league-line span,.setup-note { font-size:13px; }
  .club-option strong { font-size:15px; }
  .club-option small { font-size:12px; }
  .setup-bottom { background:var(--ground); }
  .front-panel dl { font-size:13px; }
  .table-wrap { max-height:calc(100svh - 270px); }
  .lineup-row select { min-height:44px; font-size:13px; }
}
body.game-mode * { font-variant-numeric:tabular-nums; }
.bench-summary { margin-top:18px; padding-top:14px; border-top:1px solid var(--border); }
.bench-summary h2 { font-size:14px; margin-bottom:8px; }
.bench-summary .panel-title a { font-size:12px; }
.bench-row { display:grid; grid-template-columns:1fr 50px 90px; gap:12px; align-items:center; min-height:34px; font-size:13px; }
.bench-row small,.bench-row b { font-size:12px; font-weight:400; }
@media(max-width:1180px) { .bench-summary { display:none; } }

/* Historical records and personnel share the roster table's geometry. */
.history-panel{margin-top:24px}.history-panel table{min-width:850px}
.record-detail{min-width:70px}.record-detail[open]{min-width:260px;max-width:330px;white-space:normal}
.record-detail dl{grid-template-columns:minmax(85px,1fr) minmax(55px,1fr);font-size:13px;max-height:360px;overflow:auto}
.money-detail{display:block;margin-top:3px;font-size:12px;color:var(--muted)}
.record-detail summary{cursor:pointer;min-height:30px}.record-detail a{text-decoration:underline}
.data-notice{border:1px solid var(--border);padding:12px 16px;color:var(--muted);font-size:13px}
.club-initial{width:38px;height:44px;display:grid;place-items:center;border:1px solid var(--control);font-family:Georgia,serif;font-size:22px;flex-shrink:0}
.setup-bottom{gap:24px}.setup-bottom p{margin:4px 0}.setup-bottom small{color:var(--muted)}
.office-metrics strong{overflow-wrap:anywhere;font-size:25px}.office-metrics strong small{display:block;margin-left:0;font-size:12px}
@media(max-width:700px){.record-detail[open]{min-width:220px}.setup-bottom{align-items:stretch;flex-direction:column}.setup-bottom button{width:100%}.office-metrics strong{font-size:23px}}

.field-player a{max-width:145px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:700px){.field-player a{max-width:92px}}

.columns:has(.player-identity){align-items:stretch}
#player-history{scroll-margin-top:80px}

.career-setup .setup-bottom{position:relative;bottom:auto;margin:0 0 20px;padding:18px 20px;background:var(--surface);border:1px solid var(--border)}
.setup-regions{display:flex;gap:10px;margin:0 0 20px}.setup-regions button[aria-pressed=true]{background:var(--raised);border-color:var(--muted)}
@media(max-width:700px){.career-setup .setup-bottom{padding:16px}.setup-regions button{flex:1}}

@media(max-width:700px){
 .staff-table,.staff-table tbody{display:block;width:100%;min-width:0;white-space:normal}
 .staff-table thead{display:none}
 .staff-table tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px 12px;padding:16px 0;border-bottom:1px solid var(--border)}
 .staff-table td{padding:0;border:0;font-size:14px;min-width:0}
 .staff-table td:first-child{grid-area:1/1;min-width:0;position:static;z-index:auto}
 .staff-table td:nth-child(2){grid-area:1/2;white-space:nowrap}
 .staff-table td:nth-child(2)::before{content:attr(data-label);display:block;font-size:12px;color:var(--muted);font-family:inherit}
 .staff-table td:nth-child(3),.staff-table td:nth-child(4){grid-column:1/-1;display:flex;justify-content:space-between;gap:12px}
 .staff-table td:nth-child(3)::before,.staff-table td:nth-child(4)::before{content:attr(data-label);color:var(--muted);font-family:inherit}
 .staff-table td:last-child{grid-column:1/-1;text-align:right}
}

/* Player abilities: one working category with a persistent contract column. */
.player-summary{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:18px 22px}
.rating-summary{display:flex;gap:0;flex:1}.rating-summary>div{min-width:125px;padding:0 28px;border-right:1px solid var(--border)}
.rating-summary>div:first-child{padding-left:0}.rating-summary>div:last-child{border-right:0}
.rating-summary span{display:block;font-size:12px;color:var(--muted)}.rating-summary strong{display:block;font-size:32px;line-height:1.4;font-weight:500}
.player-summary p{margin:0;font-size:13px;color:var(--muted);white-space:nowrap}
.player-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(335px,1fr);gap:24px;align-items:start}
.skill-panel{min-width:0}.ability-tabs{display:flex;gap:4px;border-bottom:1px solid var(--border);margin:-4px 0 20px;overflow-x:auto}
.ability-tabs button{flex:1;min-width:62px;min-height:44px;border:0;border-radius:0;box-shadow:none;background:transparent;color:var(--muted);padding:10px 12px;font-size:14px;white-space:nowrap}
.ability-tabs button[aria-selected=true]{background:var(--raised);color:var(--text)}
.skill-panel h2{font-size:16px;margin:0 0 14px}.skill-rows{display:grid;gap:3px}
.skill-row{display:grid;grid-template-columns:136px minmax(30px,1fr) 28px;gap:14px;align-items:center;min-height:32px;font-size:14px}
.skill-row b{font-size:14px;font-weight:500}.skill-row .track{height:4px}.skill-row .track i{display:block;height:100%;background:#a8b5ac}
.contract-card dl{grid-template-columns:125px minmax(0,1fr);gap:13px 14px}.contract-card dd{overflow-wrap:anywhere;font-size:14px}
@media(max-width:1100px){.player-layout{grid-template-columns:minmax(0,1fr) minmax(280px,.8fr);gap:16px}.skill-row{grid-template-columns:125px minmax(20px,1fr) 25px;gap:9px}.rating-summary>div{padding:0 20px;min-width:115px}.contract-card dl{grid-template-columns:105px minmax(0,1fr)}}
@media(max-width:850px){.player-layout{grid-template-columns:1fr}.rating-summary>div{min-width:110px}.player-summary{gap:18px}.skill-row{grid-template-columns:150px minmax(30px,1fr) 28px}.contract-card dl{grid-template-columns:130px minmax(0,1fr)}}
@media(max-width:700px){.player-summary{display:block;padding:16px}.player-summary p{margin:14px 0 0;line-height:1.6}.rating-summary{justify-content:space-between}.rating-summary>div{min-width:0;flex:1;padding:0 14px}.rating-summary>div:last-child{padding-right:0}.rating-summary strong{font-size:30px}.rating-summary span{font-size:12px}.player-layout{gap:0}.skill-panel{padding:16px 14px}.ability-tabs{gap:0}.ability-tabs button{padding:10px 8px;min-width:56px}.skill-row{grid-template-columns:122px minmax(20px,1fr) 26px;gap:12px;min-height:34px}.contract-card{padding:18px 16px}.contract-card dl{grid-template-columns:122px minmax(0,1fr);gap:13px 12px}}

.player-layout{align-items:stretch}
.contract-card{border-left:1px solid var(--border);padding-left:24px}
@media(max-width:850px){.contract-card{border-left:0;border-top:1px solid var(--border);padding:22px 0 0;margin-top:6px}}
@media(max-width:700px){.player-layout{padding:16px 14px}.player-layout .skill-panel{padding:0}.player-layout .contract-card{padding:20px 0 0;margin-top:22px}}
