/* 2026-10-14: mobile standings and the official merchandise shop. */
.sec-shop {
  padding: clamp(48px, 7vw, 88px) 24px;
}
.sec-shop .eyebrow {
  color: #b8a16a;
  font-size: 13px;
  line-height: 1.5;
}
.sec-shop__title {
  margin: 16px 0 12px;
  color: var(--light);
  font-family: var(--f-min);
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .05em;
}
.sec-shop__lead {
  color: #aaa;
  font-family: var(--f-go);
  font-size: 14px;
  line-height: 1.8;
}
.sec-shop__banner {
  display: block;
  width: 100%;
  max-width: 720px;
  margin: 24px auto 0;
  border: 1px solid #5a5028;
}
.sec-shop__banner img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 1;
}
.sec-shop__button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  width: min(100%, 320px);
  min-height: 52px;
  margin: 24px auto 0;
  padding: 12px 20px;
  border: 1px solid #b8a16a;
  color: #d1bb7b;
  font-family: var(--f-go);
  font-size: 15px;
  line-height: 1.6;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.g-nav__shop a, .f-nav__shop a {
  color: #d1bb7b;
}

@media screen and (max-width: 768px) {
  /* Wrap the extra menu item without shrinking the existing links. */
  .l-header { gap: 12px; }
  .l-header__logo { flex-shrink: 0; }
  .g-nav { min-width: 0; }
  .g-nav__list { flex-wrap: wrap; justify-content: flex-end; gap: 2px 8px; }
  .g-nav__list a { display: inline-block; padding-block: 5px; font-size: 11px; }
  .sec-shop { padding: 44px 16px 52px; }
  .sec-shop__title { font-size: 22px; }
  .sec-shop__banner { margin-top: 20px; }

  /* Use the same table cells as the desktop view: no duplicate score data. */
  .sec-standings { padding-inline: 16px; }
  .rank__scroll {
    width: 100%;
    max-width: 560px;
    margin: 28px auto 0;
    overflow: visible;
  }
  .rank {
    display: block;
    width: 100%;
    min-width: 0;
  }
  .rank thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .rank tbody { display: grid; gap: 12px; }
  .rank tbody tr {
    display: grid;
    grid-template-columns: repeat(10, minmax(0, 1fr));
    align-items: center;
    gap: 18px 0;
    padding: 18px 12px;
    border: 1px solid #5c644c;
    background: #06180e;
  }
  .rank tbody td {
    position: static;
    width: auto;
    height: auto;
    min-width: 0;
    border: 0;
    background: transparent;
    color: var(--light);
    font-family: var(--f-go);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0;
    text-align: center;
    font-variant-numeric: tabular-nums;
  }
  .rank tbody .rank__no {
    grid-column: 1;
    grid-row: 1;
    background: transparent;
    color: #d1bb7b;
    font-family: var(--f-en);
    font-size: 22px;
  }
  .rank tbody .rank__no::after {
    content: "位";
    display: block;
    color: #a3b2a6;
    font-family: var(--f-go);
    font-size: 10px;
  }
  .rank tbody .rank__team {
    grid-column: 2 / 8;
    grid-row: 1;
    background: transparent;
    padding-inline: 10px;
    font-size: 15px;
    line-height: 1.6;
    text-align: left;
    overflow-wrap: anywhere;
  }
  .rank tbody .rank__num {
    grid-row: 2;
    border-left: 1px solid #354432;
  }
  .rank tbody .rank__num::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    color: #a3b2a6;
    font-size: 11px;
    line-height: 1.5;
  }
  .rank tbody td:nth-child(3) { grid-column: 1 / 3; border-left: 0; }
  .rank tbody td:nth-child(4) { grid-column: 3 / 5; }
  .rank tbody td:nth-child(5) { grid-column: 5 / 7; }
  .rank tbody td:nth-child(6) { grid-column: 7 / 9; }
  .rank tbody td:nth-child(7) { grid-column: 9 / 11; }
  .rank tbody td:nth-child(8) {
    grid-column: 8 / 11;
    grid-row: 1;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 1px solid #5c644c;
    color: #e1cd8d;
    font-family: var(--f-en);
    font-size: 28px;
    font-weight: 500;
    line-height: 1.2;
  }
  .rank tbody td:nth-child(8)::before {
    color: #d1bb7b;
    font-family: var(--f-go);
    font-size: 11px;
    font-weight: 400;
  }
}
