:root {
  --navy: #10152a;
  --paper: #f3f4f6;
  --white: #fff;
  --ink: #20263a;
  --gold: #f3bd7c;
  --silver: #c4c6cc;
  --text-intro: 16px;
  --text-body: 15px;
  --text-note: 13px;
  --text-control: 14px;
  --win: #10152a;
  --loss: #566078;
  --sans: 'Oswald', 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', Meiryo, sans-serif;
}
@media (max-width: 700px) {
  :root {
    --text-intro: 15px;
    --text-body: 14px;
  }
}
* {
  box-sizing: border-box;
  border-radius: 0;
}
*::before,
*::after {
  border-radius: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--text-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea,
summary {
  touch-action: manipulation;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
}
button {
  color: inherit;
}
button:focus-visible,
a:focus-visible,
select:focus-visible,
input:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid #8d5a20;
  outline-offset: 4px;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.4;
}
.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  background: var(--white);
  padding: 12px;
}
.skip-link:focus {
  top: 8px;
}
.site-header {
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}
.brand-mark {
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--white);
  font: 700 44px/1 var(--sans);
  position: relative;
}
.brand strong {
  display: block;
  font-size: 17px;
  letter-spacing: 0.08em;
}
.brand small {
  display: block;
  font: 12px/1.8 var(--sans);
  color: var(--muted);
}
nav {
  display: flex;
  gap: 28px;
  align-self: stretch;
  align-items: center;
}
nav a {
  text-decoration: none;
  font-size: 12px;
  position: relative;
  padding: 12px 0;
}
nav a.active {
  font-weight: 700;
}
.site-nav > a::after {
  content: '';
  position: absolute;
  height: 2px;
  background: var(--nav-indicator, var(--navy));
  bottom: 0;
  left: 0;
  right: 0;
  opacity: 0;
}
.site-nav > a.active::after {
  opacity: 1;
}
main {
  max-width: 1152px;
  margin: 0 auto;
  padding: 0 32px;
}
.page-intro {
  padding: 60px 0 36px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-size: clamp(34px, 4vw, 52px);
  letter-spacing: 0.06em;
  line-height: 1.3;
  margin-bottom: 16px;
  font-weight: 800;
}
.season-picker {
  display: grid;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted);
  min-width: 138px;
}
.season-picker select {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--navy);
  color: var(--navy);
  font: 24px/1.5 var(--sans);
  padding: 8px 28px 8px 0;
  cursor: pointer;
}
.season-record {
  border-top: 2px solid var(--navy);
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr) 1.25fr;
  align-items: center;
  margin-bottom: 44px;
}
.record-item {
  padding: 0 24px;
  border-right: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 12px;
}
.record-item:last-child {
  border: 0;
}
.record-item strong {
  font: 46px/1.1 var(--sans);
  letter-spacing: -0.04em;
  color: var(--navy);
}
.record-item span {
  color: var(--muted);
}
.section-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.section-caption h2 {
  font: 12px var(--sans);
  letter-spacing: 0.12em;
  margin: 0;
  font-weight: 700;
}
.section-caption h2 span {
  font: 12px var(--sans);
  color: var(--muted);
  margin-left: 16px;
}
.scorecard {
  color: var(--white);
  overflow: hidden;
  position: relative;
}
.scorecard:before {
  content: '';
  width: 350px;
  height: 350px;
  border: 1px solid #ffffff08;
  position: absolute;
  transform: rotate(45deg);
  top: -220px;
  right: -85px;
  pointer-events: none;
}
.scorecard-meta {
  padding: 16px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid #ffffff1a;
  font-size: var(--text-note);
  color: #bdc2d0;
}
.scorecard-meta time {
  font: var(--text-note) var(--sans);
  color: var(--white);
}
.scorecard-meta .competition {
  margin-left: 16px;
}
.matchup {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 20px;
  padding: 20px 32px;
}
.team {
  text-align: center;
  min-width: 0;
}
.team-name {
  font-size: 20px;
  font-weight: 700;
  overflow-wrap: anywhere;
  margin-bottom: 4px;
}
.team small {
  font: 12px var(--sans);
  letter-spacing: 0.12em;
  color: #a6afc3;
}
.match-result {
  text-align: center;
  min-width: 0;
}
.result-label {
  font: 12px var(--sans);
  color: var(--gold);
  margin-bottom: 4px;
}
.result-label.loss {
  color: #c4c6cc;
}
.result-label.draw {
  color: #d1d5de;
}
.big-score {
  font: 64px/1 var(--sans);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  white-space: nowrap;
}
.big-score > span:first-child {
  justify-self: end;
}
.big-score > span:last-child {
  justify-self: start;
}
.big-score .divider {
  color: #7e879e;
}
.final-label {
  font: 12px var(--sans);
  letter-spacing: 0.2em;
  color: #a6afc3;
  margin-top: 8px;
}
.scoreboard-wrap {
  padding: 0 32px 16px;
}
.score-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.score-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  font: 16px var(--sans);
  table-layout: fixed;
  min-width: 520px;
}
.score-table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
}
.score-table th,
.score-table td {
  height: 43px;
  padding: 8px;
  border-bottom: 1px solid #ffffff14;
}
.score-table thead th {
  color: #9ba5bc;
  font-size: 12px;
  font-weight: 400;
  border-top: 1px solid #ffffff22;
}
.score-table th:first-child {
  width: 210px;
  text-align: left;
  font: 12px var(--sans);
  font-weight: 500;
}
.score-table .total {
  width: 64px;
  background: #ffffff09;
  font-weight: 700;
}
.score-table tbody tr.our-team {
  color: var(--white);
}
.score-table tbody tr:not(.our-team) {
  color: #b8c0d1;
}
.scorecard-bottom {
  padding: 12px 32px;
  border-top: 1px solid #ffffff15;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #afb8cb;
}
.scorecard-bottom p {
  margin: 0;
  max-width: 80%;
  white-space: pre-wrap;
}
.edit-button {
  border: 0;
  background: transparent;
  color: inherit;
  font-size: var(--text-control);
  text-decoration: underline;
  text-underline-offset: 4px;
  padding: 4px 0;
  white-space: nowrap;
}
.archive-section {
  padding-top: 44px;
}
.archive-toolbar {
  display: flex;
  justify-content: space-between;
}
.archive-toolbar h2 {
  font-size: 18px;
  letter-spacing: 0.04em;
  margin: 0;
}
.filters {
  display: flex;
  gap: 4px;
}
.filters button {
  border: 0;
  background: transparent;
  padding: 8px 16px;
  font-size: var(--text-control);
  transition:
    background 0.18s,
    color 0.18s;
  min-height: 36px;
}
.filters button[aria-pressed='true'] {
  background: var(--navy);
  color: var(--white);
}
.game-list {
  border-top: 1px solid var(--line);
}
.game-row {
  border-bottom: 1px solid var(--line);
}
.game-summary {
  display: grid;
  gap: 20px;
  padding: 16px 24px;
  align-items: center;
  cursor: pointer;
  list-style: none;
}
.game-summary::-webkit-details-marker {
  display: none;
}
.game-date {
  font: 18px/1.25 var(--sans);
}
.game-date small {
  display: block;
  font: 12px var(--sans);
  color: var(--muted);
  margin-top: 4px;
  letter-spacing: 0.05em;
}
.outcome {
  font-weight: 700;
  color: var(--win);
  text-align: center;
}
.outcome.loss {
  color: var(--loss);
  background: #e5e8ee;
}
.outcome.draw {
  color: #566078;
}
.outcome.live,
.outcome.scheduled,
.outcome.cancelled {
  background: #e9ebef;
  color: #515c75;
}
.row-match {
  display: flex;
  align-items: center;
  gap: 20px;
  font-weight: 600;
  font-size: var(--text-body);
}
.row-match span:not(.row-score) {
  font-size: 18px;
  flex: 1;
  overflow-wrap: anywhere;
}
.row-match span:last-child {
  text-align: right;
}
.row-score {
  font: 24px var(--sans);
  white-space: nowrap;
  min-width: 80px;
  text-align: center;
}
.row-competition {
  color: var(--muted);
  font-size: var(--text-note);
  margin-bottom: 4px;
}
.row-toggle {
  font-size: 12px;
  text-align: right;
  color: var(--muted);
}
.row-toggle:after {
  content: '＋';
  display: inline-block;
  font-size: 14px;
  margin-left: 12px;
}
.game-row[open] .row-toggle:after {
  content: '−';
}
.game-row .row-detail {
  padding: 20px 24px;
}
.row-detail .score-table {
  --score-heading-ink: #778090;
  color: var(--ink);
}
.row-detail .score-table th,
.row-detail .score-table td {
  border-color: var(--line);
}
.row-detail .score-table tbody tr,
.row-detail .score-table tbody tr.our-team {
  color: var(--ink);
}
.row-detail .score-table .total {
  background: rgba(16, 21, 42, 0.04);
}
.row-detail .score-table tbody .total {
  color: var(--navy);
}
.detail-note {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 16px;
  font-size: var(--text-note);
  color: var(--muted);
}
.detail-note p {
  margin: 0;
  white-space: pre-wrap;
}
.table-legend {
  font-size: var(--text-note);
  color: var(--muted);
  margin: 16px 0 0;
}
.empty-state {
  padding: 36px 24px;
  text-align: center;
  color: var(--muted);
  border-bottom: 1px solid var(--line);
}
.text-link {
  font-size: var(--text-control);
  text-underline-offset: 6px;
  white-space: nowrap;
  padding: 8px 0;
}
.text-link span {
  margin-left: 8px;
}
.schedule-item {
  display: grid;
  grid-template-columns: 84px 60px minmax(0, 1fr) 135px;
  gap: 20px;
  align-items: center;
  border-top: 1px solid var(--line);
}
.schedule-date {
  font: 23px/1.3 var(--sans);
  display: block;
}
.schedule-date small {
  font: 12px var(--sans);
  color: var(--muted);
  margin-left: 8px;
}
.event-type {
  font-size: var(--text-control);
  background: #e5e8ee;
  text-align: center;
}
.event-type.practice {
  background: #e5e8ee;
  color: #10152a;
}
.schedule-item h3 {
  font-size: var(--text-body);
  margin-bottom: 4px;
  font-weight: 600;
}
.event-place {
  font-size: var(--text-body);
  color: var(--muted);
  margin-bottom: 0;
}
.event-time {
  font: var(--text-note) var(--sans);
  text-align: right;
}
.event-time a {
  display: block;
  font: var(--text-control) var(--sans);
  margin-top: 8px;
  color: var(--muted);
  text-underline-offset: 3px;
}
.event-note {
  font-size: var(--text-body);
  margin: 8px 0 0;
  color: var(--muted);
}
.template-tools {
  margin: 44px 0 40px;
  color: var(--muted);
  font-size: var(--text-body);
}
.template-tools summary {
  font-size: var(--text-control);
  padding: 12px 20px 16px;
  cursor: pointer;
}
.tools-content {
  padding: 0 20px 20px;
}
.tool-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 12px 20px;
  background: var(--white);
  border: 1px solid #c8cbc7;
  color: var(--ink);
  font-size: var(--text-control);
  text-decoration: none;
}
.button.primary {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.file-button {
  cursor: pointer;
}
.file-button input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.file-button:focus-within {
  outline: 3px solid #8d5a20;
  outline-offset: 3px;
}
.help {
  font-size: var(--text-note);
  color: var(--muted);
  line-height: 1.8;
}
.tools-content .help {
  margin: 12px 0 0;
}
.site-footer {
  color: var(--white);
  text-align: center;
}
.site-footer small {
  font-size: 12px;
  color: #9ba5bc;
}
dialog {
  width: min(900px, calc(100% - 32px));
  max-height: 90dvh;
  overflow-y: auto;
  border: 0;
  padding: 32px;
  color: var(--ink);
  box-shadow: 0 20px 100px #10152a40;
}
body:has(dialog[open]) {
  overflow: hidden;
}
.dialog-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.dialog-heading h2 {
  font-size: 24px;
  margin: 0;
}
.close-button {
  background: transparent;
  border: 0;
  width: 44px;
  height: 44px;
  font-size: 30px;
  color: var(--muted);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-grid label,
.note-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: var(--text-control);
  font-weight: 500;
}
input,
select,
textarea {
  border: 1px solid #c9cdc9;
  padding: 12px 12px;
  background: var(--white);
  color: var(--ink);
  min-width: 0;
}
textarea {
  resize: vertical;
}
.editor-score-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 28px;
}
.editor-score-heading h3 {
  font-size: 14px;
  margin: 0;
}
.small-button {
  background: transparent;
  border: 1px solid var(--line);
  padding: 8px 12px;
  font-size: var(--text-control);
  min-height: 36px;
}
.editor-score-heading + .help {
  margin: 12px 0 12px;
}
.edit-score-table {
  border-collapse: collapse;
  min-width: 640px;
  width: 100%;
  font-size: 12px;
  text-align: center;
}
.edit-score-table th,
.edit-score-table td {
  padding: 4px;
  border-bottom: 1px solid var(--line);
}
.edit-score-table th:first-child {
  text-align: left;
  min-width: 135px;
  max-width: 180px;
  overflow-wrap: anywhere;
}
.edit-score-table input {
  width: 50px;
  padding: 8px 4px;
  text-align: center;
  font: 14px var(--sans);
}
.edit-total {
  font: 22px var(--sans);
  min-width: 45px;
}
.note-field {
  margin-top: 24px;
}
.checkbox-label {
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: var(--text-control);
  margin-top: 16px;
}
.checkbox-label input {
  width: 16px;
  height: 16px;
}
.form-error {
  font-size: var(--text-note);
  color: #9e2f27;
  margin: 16px 0;
  white-space: pre-wrap;
}
.dialog-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.toast {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  max-width: calc(100% - 32px);
  background: var(--navy);
  color: var(--white);
  padding: 12px 20px;
  z-index: 50;
  font-size: 12px;
  box-shadow: 0 4px 20px #10152a33;
}
.toast[hidden] {
  display: none;
}
.noscript {
  padding: 24px;
  text-align: center;
}
@media (min-width: 1100px) {
  .latest-section .score-table td {
    font-size: 19px;
  }
  .latest-section .score-table tbody th,
  .latest-section .score-table tbody td {
    height: 46px;
  }
}
@media (max-width: 700px) {
  .brand {
    gap: 12px;
  }
  .brand-mark {
    font-size: 35px;
  }
  .brand small {
    letter-spacing: 0.06em;
  }
  nav {
    gap: 16px;
  }
  nav a {
    font-size: 12px;
  }
  main {
    padding: 0 24px;
  }
  .page-intro {
    padding: 36px 0 24px;
    gap: 16px;
  }
  .season-picker {
    min-width: 85px;
  }
  .season-picker select {
    font-size: 21px;
    padding-right: 12px;
  }
  .season-record {
    margin-bottom: 28px;
  }
  .record-item span {
    font-size: 12px;
  }
  .record-item:nth-child(4) {
    border-right: 0;
  }
  .record-item.rate {
    grid-column: 1/-1;
    border: 0;
    border-top: 1px solid var(--line);
    margin-top: 20px;
    padding-top: 16px;
    justify-content: flex-end;
    gap: 12px;
  }
  .section-caption h2 span {
    margin-left: 12px;
  }
  .scorecard-meta {
    padding: 12px 20px;
    font-size: var(--text-note);
    flex-wrap: wrap;
    gap: 8px;
  }
  .matchup {
    padding: 16px;
    gap: 8px;
  }
  .team-name {
    line-height: 1.7;
  }
  .team small {
    font-size: 12px;
    letter-spacing: 0.07em;
  }
  .big-score .divider {
    font-size: 18px;
  }
  .result-label {
    font-size: 12px;
  }
  .final-label {
    font-size: 12px;
  }
  .scoreboard-wrap {
    padding: 0 20px 12px;
  }
  .score-table {
    font-size: 14px;
  }
  .score-table th:first-child {
    font-size: 12px;
  }
  .score-table .total {
    width: 45px;
  }
  .scorecard-bottom {
    padding: 8px 20px;
    font-size: var(--text-note);
  }
  .archive-section {
    padding-top: 32px;
  }
  .archive-toolbar {
    flex-direction: column;
  }
  .archive-toolbar h2 {
    font-size: 17px;
  }
  .filters {
    width: 100%;
    gap: 4px;
  }
  .filters button {
    flex: 1;
    padding: 8px 12px;
  }
  .game-summary {
    padding: 12px 16px;
  }
  .game-date {
    font-size: 17px;
  }
  .game-date small {
    font-size: 12px;
  }
  .row-match {
    font-size: var(--text-body);
    align-items: center;
  }
  .row-toggle {
    grid-column: 3;
    text-align: right;
  }
  .row-toggle:after {
    font-size: 12px;
  }
  .game-row .row-detail {
    padding: 20px 16px;
  }
  .table-legend {
    font-size: var(--text-note);
  }
  .schedule-date {
    font-size: 22px;
  }
  .schedule-date small {
    display: block;
    margin: 4px 0 0;
  }
  .event-type {
    font-size: var(--text-control);
    padding: 4px 4px;
  }
  .schedule-item h3 {
    font-size: var(--text-body);
  }
  .event-time {
    grid-column: 3;
    text-align: left;
    margin-top: -6px;
  }
  .template-tools {
    margin-top: 28px;
  }
  .tool-buttons {
    gap: 8px;
  }
  .button {
    font-size: var(--text-control);
    padding: 12px 12px;
  }
  dialog {
    padding: 24px 20px;
    max-height: 94dvh;
  }
  .form-grid {
    gap: 16px;
  }
  .form-grid input,
  .form-grid select {
    padding: 8px 8px;
    font-size: 13px;
  }
  .editor-score-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
  .edit-score-table th:first-child {
    min-width: 110px;
  }
  .dialog-actions .button {
    flex: 1;
  }
  .dialog-heading h2 {
    font-size: 21px;
  }
}
@media (max-width: 380px) {
  nav {
    gap: 12px;
  }
  .site-header {
    padding: 16px;
  }
  main {
    padding: 0 16px;
  }
  .matchup {
    padding-left: 12px;
    padding-right: 12px;
  }
  .game-summary {
    gap: 8px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .row-score {
    font-size: 21px;
    min-width: 48px;
  }
  .row-match {
    gap: 4px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    transition: none !important;
  }
}
@media print {
  .template-tools,
  .edit-button,
  nav,
  .filters,
  .skip-link {
    display: none;
  }
  .site-header {
    padding: 12px 0;
  }
  .scorecard {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
  .game-row {
    break-inside: avoid;
  }
  main {
    padding: 0;
  }
  .site-footer {
    padding: 16px;
  }
}
.scorecard-meta,
.row-competition,
.detail-note,
.table-legend,
.event-time,
.help,
.form-error {
  font-size: var(--text-note);
}
.row-match,
.schedule-item h3,
.event-place,
.event-note,
.template-tools {
  font-size: var(--text-body);
}
.form-grid label,
.note-field,
.checkbox-label {
  font-size: var(--text-control);
}
.brand small {
  font-size: 12px;
  letter-spacing: 0.045em;
}
.record-item span {
  font-size: 14px;
}
.scorecard-bottom {
  font-size: var(--text-note);
}
.score-table th:first-child {
  font-size: 14px;
}
.row-match {
  line-height: 1.6;
}
.scorecard-meta .competition {
  display: inline-block;
}
.edit-button,
.small-button,
.filters button,
.event-type,
.text-link,
.button {
  font-size: var(--text-control);
}
.site-header nav a {
  font-size: var(--text-control);
}
.tools-content .help {
  margin-top: 16px;
}
@media (max-width: 700px) {
  .site-header nav {
    gap: 24px;
  }
  .brand small {
    font-size: 12px;
  }
  .brand strong {
    font-size: 15px;
  }
  .page-intro {
    align-items: flex-start;
  }
  .scorecard-meta > div {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  .scorecard-meta .competition {
    margin-left: 0;
  }
  .scorecard-meta time {
    font-size: var(--text-note);
  }
  .matchup {
    grid-template-columns: 1fr 1.1fr 1fr;
  }
  .team-name {
    font-size: 16px;
  }
  .big-score {
    font-size: 48px;
    gap: 12px;
  }
  .score-table {
    min-width: 500px;
  }
  .score-table th:first-child {
    width: 170px;
  }
  .row-match {
    flex-wrap: wrap;
    gap: 4px 12px;
  }
  .row-match span:not(.row-score) {
    flex: 0 0 100%;
  }
  .row-match span:last-child {
    text-align: left;
  }
  .row-score {
    min-width: 0;
    text-align: left;
    font-size: 26px;
  }
  .row-match span:first-child {
    order: 0;
  }
  .row-match .row-score {
    order: 1;
  }
  .row-match span:last-child {
    order: 2;
  }
  .row-toggle {
    font-size: 12px;
    margin-top: 0;
  }
  .outcome {
    padding: 4px;
  }
  .event-time {
    font-size: var(--text-note);
  }
  .event-time a {
    font-size: var(--text-control);
    display: block;
    margin-left: 0;
  }
  .form-grid label {
    font-size: var(--text-control);
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .site-header nav {
    margin-left: 52px;
  }
  .record-item {
    gap: 4px;
    padding: 0 8px;
  }
  .record-item strong {
    font-size: 32px;
  }
  .section-caption h2 span {
    font-size: 12px;
    display: block;
    margin: 4px 0 0;
  }
  .section-caption h2 {
    font-size: 12px;
  }
  .scorecard-bottom {
    flex-wrap: wrap;
  }
  .scorecard-bottom p {
    max-width: 100%;
  }
}
@media (max-width: 380px) {
  .brand small {
    display: block;
  }
  .brand strong {
    font-size: 15px;
  }
  .big-score {
    font-size: 46px;
    gap: 8px;
  }
  .record-item strong {
    font-size: 29px;
  }
  .record-item span {
    font-size: 13px;
  }
  .brand small {
    font-size: 12px;
  }
}

@media (max-width: 700px) {
  .team-name {
    word-break: keep-all;
    overflow-wrap: anywhere;
  }
  .final-label {
    letter-spacing: 0.04em;
  }
  .scoreboard-wrap:after {
    content: 'スコア表は横にスクロールできます →';
    display: block;
    color: #bdc2d0;
    font-size: 12px;
    margin-top: 12px;
  }
  .score-table th:first-child {
    position: sticky;
    left: 0;
    background: var(--navy);
    z-index: 1;
  }
}
.brand-mark {
  background: transparent;
  width: 52px;
  height: 52px;
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.score-table .total {
  color: var(--gold);
}
.outcome.loss,
.outcome.draw,
.outcome.live,
.outcome.scheduled,
.outcome.cancelled {
  border-color: #c4c6cc;
}
.outcome.draw {
  background: transparent;
}
.record-item.win strong {
  color: var(--navy);
}
.record-item.loss strong {
  color: #566078;
}
@media (max-width: 700px) {
  .brand-mark {
    width: 44px;
    height: 44px;
  }
}
