:root{color-scheme:light;font-family:system-ui,-apple-system,"Segoe UI",sans-serif;color:#253b34;background:#f5f7f4;font-size:14px}*{box-sizing:border-box}body{margin:0}main{max-width:1280px;margin:auto;padding:38px 28px}header{margin-bottom:25px}.eyebrow{font-size:11px;letter-spacing:2px;color:#2a7356;font-weight:800}h1{font-size:28px;margin:9px 0;letter-spacing:-.7px}header p{color:#68776e;margin:0;line-height:1.8}h2{font-size:18px;margin:0}h3{font-size:14px;margin:20px 0 12px}section{background:white;border:1px solid #dce5de;border-radius:12px;padding:22px;margin-bottom:24px}.paste-row{display:flex;align-items:stretch;gap:12px}.paste-row textarea{flex:1;min-width:0;resize:vertical;line-height:1.7}.paste-row button{width:105px;flex-shrink:0}.paste-hint{margin:10px 0 0}input,textarea,select{font:inherit;color:inherit;width:100%;padding:11px 12px;border:1px solid #bdcdc2;border-radius:7px;background:#fcfdfb}input:focus,textarea:focus,select:focus{outline:2px solid #2a805d;outline-offset:2px}label{display:block;font-weight:600;margin:14px 0 7px}button{font:650 14px system-ui;padding:10px 16px;border:1px solid transparent;border-radius:7px;background:#24664b;color:white;cursor:pointer;white-space:nowrap}button:hover{background:#194c36}button:disabled{opacity:.45;cursor:default}.secondary{color:#315b43;background:#fff;border-color:#bccfc1}.secondary:hover{background:#f0f5ee}.hint{color:#6a786e;font-size:12px;line-height:1.8}kbd{font-size:11px;border:1px solid #dce5de;border-radius:3px;padding:1px 4px}#paste-info{display:block;color:#46745d}#status{font-size:13px;line-height:1.8;margin:12px 0 0;padding:10px 12px;background:#f1f6ee;border-radius:7px}#status.error{background:#fff4df;color:#86561c}.section-title{display:flex;align-items:center;gap:10px}.badge{background:#eef5eb;border-radius:20px;padding:3px 10px;font-size:12px}.actions{display:flex;gap:12px;align-items:center;margin:16px 0}.actions input{max-width:420px}.actions .secondary{margin-left:auto}.table-scroll{overflow-x:auto;border:1px solid #e0e7df;border-radius:8px}table{width:100%;min-width:890px;border-collapse:collapse;text-align:left}th{font-size:12px;color:#687b6d;background:#f5f8f2;white-space:nowrap;padding:14px 16px;font-weight:600}td{padding:18px 16px;border-top:1px solid #e5eae3;vertical-align:middle;white-space:nowrap}.record:hover{background:#fafcf8}.player{color:#23654a;text-decoration:none;font-weight:600;line-height:1.6}.player:hover{text-decoration:underline}.player small{display:block;color:#7a877d;font-size:10px;font-weight:400;max-width:155px;white-space:normal;margin-top:3px}.table-empty{text-align:center;color:#7b877d;padding:36px}.prediction-list{list-style:none;padding:0;margin:0;display:grid;gap:10px}.game-summary{border:1px solid #dde7dc;border-radius:8px;background:#f7faf4;padding:14px}.prediction-fields{display:grid;grid-template-columns:1.2fr .7fr 1.1fr repeat(4,1fr);gap:12px;margin:0}.prediction-fields dt{color:#73806e;font-size:11px;margin-bottom:5px}.prediction-fields dd{margin:0;font-size:13px;line-height:1.7}.prediction-fields .player small{display:none}.prediction-state{color:#7b816b;font-size:11px;margin:10px 0 0}details{margin-top:16px;border-top:1px solid #e5eae3;padding-top:14px}summary{font-size:12px;color:#5d7666;cursor:pointer}.match-fields{display:grid;grid-template-columns:2fr 1fr;gap:16px;max-width:440px}.candidate{display:flex;align-items:flex-start;gap:10px;border-top:1px solid #e5eae3;padding:14px 0}.candidate>input{width:16px;height:16px;margin:2px 0}.candidate-content{flex:1;min-width:0}.candidate-content label{margin:0;font-size:12px}.url{display:block;overflow-wrap:anywhere;font-size:11px;color:#778378;line-height:1.7}.candidate-content label.game-label{margin:9px 0 5px}.candidate-content select{max-width:260px;padding:7px}.unmatched{font-size:12px;color:#855523;margin:8px 0 0}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #7caa8d;outline-offset:3px}@media(max-width:850px){.prediction-fields{grid-template-columns:repeat(4,1fr)}.prediction-fields>div:nth-child(-n+3){grid-column:span 1}.prediction-fields>div:nth-child(3){grid-column:span 2}}@media(max-width:520px){main{padding:24px 12px}section{padding:16px}h1{font-size:24px}.paste-row{gap:8px}.paste-row button{width:75px;padding:10px}.prediction-fields{grid-template-columns:repeat(2,1fr)}.prediction-fields>div:nth-child(3){grid-column:span 2}.actions{gap:8px}th,td{padding:12px}.hint{font-size:11px}}
.filters{display:grid;grid-template-columns:1fr 1.6fr 1.2fr auto;gap:12px;align-items:end;margin:12px 0 4px}.filters label{font-size:12px;color:#65796c;margin:8px 0 6px}.filters>div{min-width:0}.filters button{height:43px}.actions{flex-wrap:wrap}.actions input{flex:1;min-width:180px}.actions .secondary{margin-left:0}@media(max-width:850px){.filters{grid-template-columns:repeat(3,minmax(0,1fr))}.filters button{grid-column:3;justify-self:end}}@media(max-width:520px){.filters{grid-template-columns:1fr 1fr}.filters>div:nth-child(2){grid-column:span 2;grid-row:2}.filters button{grid-column:2;grid-row:3}.filters>div:nth-child(3){grid-column:1;grid-row:3}}

/* Player names and official team palette (M.LEAGUE main.bundle.css). */
.player-heading{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.team-chip{display:inline-block;border-radius:12px;color:#fff;font-size:10px;font-weight:750;padding:2px 7px;line-height:1.5;text-shadow:0 1px 1px #0003;white-space:nowrap}.team-jets{background:#006934}.team-drivens{background:#9cb832}.team-furinkazan{background:#000}.team-sakuraknights{background:#f895b5}.team-fightclub{background:#920101}.team-abemas{background:#c6ae6f}.team-phoenix{background:#b74801}.team-raiden{background:#dbb400}.team-beast{background:#002953}.team-pirates{background:#0582c8}.team-unknown{background:#66766b}.player-cell{min-width:275px;vertical-align:top}.gokujan-editor{margin-top:10px;max-width:340px}.gokujan-form{display:flex;gap:6px;align-items:center}.gokujan-form input{min-width:0;font-size:11px;padding:8px;flex:1;width:auto}.gokujan-form button{font-size:11px;padding:7px 10px;flex-shrink:0}.gokujan-open{display:block;color:#267164;font-size:11px;text-decoration:none;margin-bottom:6px}.gokujan-open:hover{text-decoration:underline}.gokujan-status{font-size:10px;white-space:normal;line-height:1.6;color:#438064;margin:5px 0 0;min-height:0}.gokujan-status:empty{display:none}.gokujan-status.error{color:#a34830}.prediction-fields .player-heading{flex-wrap:wrap;gap:3px}.prediction-fields .team-chip{font-size:9px}table{min-width:1380px}@media(max-width:520px){.player-cell{min-width:255px}}

/* Fit all seven columns on laptop screens without horizontal scrolling. */
main{max-width:1440px;padding:30px 20px}section{padding:18px}table{table-layout:fixed;min-width:860px}.date-column{width:100px}.table-column{width:48px}.game-column{width:80px}th{padding:10px 8px}td{padding:11px 8px}.player-cell{min-width:0}.player-heading{display:flex;flex-wrap:wrap;gap:4px;max-width:100%;white-space:normal}.player{font-size:13px;white-space:nowrap}.team-chip{font-size:9px;padding:2px 6px}.gokujan-editor{margin-top:6px;max-width:none;min-width:0}.gokujan-form{gap:4px}.gokujan-form input{width:0;flex:1 1 0;font-size:10px;padding:6px;line-height:1.5}.gokujan-form button{font-size:10px;padding:5px 7px;line-height:1.5}.gokujan-open{margin-bottom:4px;font-size:10px}.gokujan-status{margin-top:3px}td:first-child{font-size:12px}td:nth-child(2),td:nth-child(3){font-size:12px}@media(max-width:1100px){main{padding:24px 12px}section{padding:14px}.date-column{width:92px}.table-column{width:42px}.game-column{width:72px}th,td{padding-left:6px;padding-right:6px}}@media(max-width:520px){main{padding:20px 10px}section{padding:12px}.player-cell{min-width:0}}
.table-chip{display:inline-block;border-radius:2px;padding:2px 4px;font-size:11px;font-weight:600;line-height:1.5;white-space:nowrap;border:1px solid #000}.table-black{background:#000;color:#fff}.table-white{background:#fff;color:#000}

/* Keep saved links beside the team chip and fit the month filter. */
.filters{grid-template-columns:1fr .7fr 1.5fr 1fr auto}.player-cell .player-heading{flex-wrap:nowrap;gap:4px}.player-cell .player{font-size:12px;flex:0 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis}.player-cell .team-chip{flex-shrink:0;padding-left:4px;padding-right:4px}.player-heading .gokujan-open{display:inline-flex;align-items:center;gap:2px;flex-shrink:0;white-space:nowrap;font-size:9px;line-height:1.5;margin:0}.gokujan-open svg{flex-shrink:0}@media(max-width:850px){.filters{grid-template-columns:repeat(2,minmax(0,1fr))}.filters>div,.filters>div:nth-child(2),.filters>div:nth-child(3){grid-column:auto;grid-row:auto}.filters button{grid-column:2;grid-row:auto;justify-self:end}}@media(max-width:520px){.filters{gap:8px}}
