:root { color: #f5f5f5; background: #090909; font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP", sans-serif; }
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; background: #090909; }
.site-header { padding: 24px 16px 20px; text-align: center; border-bottom: 1px solid #303030; }
.site-header h1 { margin: 4px 0 0; font-size: clamp(21px, 4vw, 32px); }
.brand { margin: 0; color: #f2c94c; font-size: 13px; font-weight: 800; letter-spacing: .12em; }
.date-nav { display: grid; grid-template-columns: clamp(64px, 10vw, 160px) auto clamp(64px, 10vw, 160px); align-items: center; justify-content: center; margin-top: 24px; }
.date-nav h2 { margin: 0; font-size: clamp(20px, 2.4vw, 28px); white-space: nowrap; }
.date-nav button:first-child { justify-self: start; }
.date-nav button:last-child { justify-self: end; }
.date-nav button { width: 42px; height: 42px; border: 1px solid #4c4c4c; border-radius: 50%; background: #202020; color: #fff; font-size: 27px; line-height: 1; cursor: pointer; }
.date-nav button:not(:disabled):hover { background: #3d3d3d; }
.date-nav button:disabled { opacity: .32; cursor: default; }
.games { width: min(920px, 100%); margin: 0 auto; }
.game { display: block; padding: 20px clamp(16px, 4vw, 30px); border-bottom: 1px solid #303030; color: inherit; text-decoration: none; transition: background .18s ease; }
.game:hover { background: #1b1b1b; }
.top { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 15px; color: #c7c7c7; font-size: 14px; }
.score { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 14px; font-size: clamp(19px, 4.1vw, 32px); font-weight: 700; }
.team { font-size: .7em; }
.team:first-child { text-align: right; }
.team:last-child { text-align: left; }
.result, .time { min-width: 94px; text-align: center; white-space: nowrap; }
.win { color: #f2c94c; }
.empty { padding: 48px 20px; color: #bbb; text-align: center; }
.compact-header { padding: 16px; }
.back-link { display: block; margin: 0 auto 14px; width: min(920px, 100%); color: #ddd; text-align: left; text-decoration: none; }
.detail { width: min(920px, 100%); margin: 0 auto; padding: 32px 16px; }
.detail h1 { margin: 8px 0; text-align: center; font-size: clamp(24px, 5vw, 38px); }
.match-meta { margin: 0; color: #bdbdbd; text-align: center; }
.detail-score { margin: 10px 0 32px; color: #f2c94c; text-align: center; font-size: clamp(32px, 8vw, 56px); font-weight: 800; }
.scoreboard-section { padding: 20px; border: 1px solid #383838; border-radius: 10px; background: #121212; }
.scoreboard-section h2 { margin: 0 0 16px; font-size: 19px; }
.table-wrap { overflow-x: auto; }
table { width: 100%; min-width: 620px; border-collapse: collapse; }
th, td { padding: 10px 8px; border: 1px solid #505050; text-align: center; }
th { background: #262626; }
th:first-child, td:first-child { min-width: 150px; text-align: left; }
.error-message { color: #ff9d9d; text-align: center; }
@media (max-width: 600px) { .team { font-size: .8em; } }
@media (max-width: 480px) { .date-nav { grid-template-columns: 48px auto 48px; } .date-nav h2 { font-size: 19px; } .top { font-size: 12px; } .score { gap: 7px; font-size: clamp(23px, 6.5vw, 28px); } .result, .time { min-width: 0; } }
