:root {
  --page: #faf8f1;
  --muted: #596b60;
}
body {
  background:
    radial-gradient(ellipse at 95% 0%, #eaf0d580, transparent 38%), var(--page);
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 20px;
  z-index: 20;
  background: var(--ink);
  color: white;
  padding: 15px 22px;
  border-radius: 10px;
}
.skip-link:focus {
  top: 15px;
}
.site-header {
  padding-top: 18px;
  padding-bottom: 18px;
}
main {
  padding-top: 28px;
}
#home-view > .page-eyebrow,
#home-view > .page-heading {
  display: none;
}
.club-welcome {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-bottom: 25px;
}
.club-kicker {
  display: block;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.14em;
  line-height: 1.5;
  color: #526953;
}
.club-welcome h1 {
  font-size: clamp(30px, 4vw, 48px);
  margin: 7px 0 8px;
}
.club-welcome h1 > span {
  color: #e97940;
}
.club-welcome p {
  font-size: 14px;
  color: var(--muted);
}
.surprise-button {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #fffdf6;
  border: 1px solid #ced8c3;
  border-radius: 12px;
  padding: 13px 18px;
  min-height: 48px;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 3px 0 #dde2ce;
  white-space: nowrap;
}
.surprise-button > span:first-child {
  font-size: 24px;
  color: #ac5126;
}
.surprise-button:hover {
  background: #edf4d8;
  transform: rotate(-2deg);
}
.member-strip {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #fffdf9;
  border: 1px solid #e0e4d6;
  border-radius: 15px;
  padding: 15px 20px;
  margin-bottom: 24px;
}
.member-emblem {
  display: grid;
  place-items: center;
  width: 40px;
  height: 46px;
  flex-shrink: 0;
  background: var(--ink);
  color: #e3edb0;
  font: 28px var(--display);
  clip-path: polygon(0 0, 100% 0, 95% 75%, 50% 100%, 5% 75%);
}
.member-rank {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 95px;
}
.member-rank > span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.member-rank strong {
  font-size: 17px;
}
.member-progress {
  flex: 1;
  margin: 0 25px 0 5px;
  max-width: 510px;
}
.member-progress > div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 10px;
  margin-bottom: 6px;
  color: var(--muted);
}
.member-progress b {
  white-space: nowrap;
  color: var(--ink);
}
.member-progress progress {
  display: block;
  width: 100%;
  height: 7px;
  appearance: none;
  border: 0;
  background: #e6ebdd;
  border-radius: 5px;
  overflow: hidden;
}
.member-progress progress::-webkit-progress-bar {
  background: #e6ebdd;
}
.member-progress progress::-webkit-progress-value {
  background: #4b7b4b;
  border-radius: 5px;
}
.member-progress progress::-moz-progress-bar {
  background: #4b7b4b;
  border-radius: 5px;
}
.member-stat {
  text-align: center;
  min-width: 52px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.member-stat strong {
  font-size: 18px;
}
.member-stat > span {
  font-size: 10px;
  color: var(--muted);
}
.trophy-jump {
  border: 0;
  border-left: 1px solid #e0e4d6;
  padding: 2px 0 2px 20px;
  min-height: 44px;
  background: transparent;
}
.sports-slider {
  border-radius: 22px;
  grid-template-columns: 44% 56%;
  grid-template-rows: minmax(340px, auto) auto;
  min-height: 0;
}
.sports-slider .featured-copy {
  padding: 30px 20px 27px 32px;
}
.sports-slider .featured-copy h2 {
  font-size: clamp(39px, 4.8vw, 61px);
  margin: 18px 0 15px;
}
.sports-slider .featured-copy p {
  font-size: 14px;
  margin-bottom: 18px;
}
.sports-slider .play-hint {
  margin-top: 14px;
}
.slider-controls {
  padding: 9px 20px;
}
.game-selection-heading {
  margin-top: 30px;
}
.game-grid {
  gap: 18px;
}
.game-card {
  min-height: 237px;
  padding: 21px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.game-card-art {
  position: absolute;
  width: 60%;
  height: 150px;
  right: -20px;
  top: -20px;
  object-fit: cover;
  border-radius: 0 0 0 80px;
  transform: rotate(-4deg);
  opacity: 0.95;
  mask-image: linear-gradient(180deg, #000 65%, transparent);
}
.card-top {
  align-items: flex-start;
  position: relative;
  margin-bottom: 37px;
}
.card-top .ball-emoji {
  font-size: 28px;
  margin-top: 34px;
}
.game-kind {
  position: absolute;
  left: 0;
  top: 0;
  background: #ffffffb8;
  font-size: 9px;
  letter-spacing: 0.09em;
  border: 0;
}
.card-bottom {
  position: relative;
  align-items: flex-end;
}
.card-bottom h3 {
  font-size: 25px;
}
.card-bottom p {
  font-size: 12px;
}
.card-record {
  display: block;
  margin-top: 12px;
  color: #405d4b;
  font-size: 10px;
  font-weight: 700;
}
.round-play {
  background: var(--ink);
  color: white;
  width: 43px;
  height: 43px;
  flex-basis: 43px;
}
.club-feature-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 20px;
  margin-top: 26px;
}
.daily-ticket {
  position: relative;
  padding: 24px 28px;
  border-radius: 18px;
  background: #f4d97d;
  background-image: radial-gradient(circle at 100% 0, #fff8 0, transparent 55%);
  border: 1px solid #cfb765;
}
.ticket-top {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.12em;
  margin-bottom: 23px;
}
.ticket-top time {
  letter-spacing: 0;
  white-space: nowrap;
}
.daily-sport {
  display: block;
  font-size: 12px;
  font-weight: 750;
  margin-bottom: 7px;
}
.daily-ticket h2 {
  font-size: clamp(25px, 2.9vw, 36px);
  line-height: 1.15;
}
.daily-ticket p {
  font-size: 12px;
  line-height: 1.6;
  margin-top: 10px;
}
.ticket-bottom {
  margin-top: 23px;
  padding-top: 16px;
  border-top: 1px dashed #86743677;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.ticket-bottom > span {
  font-size: 11px;
  font-weight: 800;
}
.ticket-bottom button {
  background: var(--ink);
  color: #fff;
  border: 0;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 750;
  min-height: 44px;
  padding: 12px 15px;
}
.ticket-bottom button:hover {
  background: #2e5c46;
}
.club-feature-grid .maker-banner {
  margin: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 17px;
  padding: 26px 28px;
  align-content: center;
  background: #173e35;
  position: relative;
  overflow: hidden;
}
.club-feature-grid .maker-banner::before {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  border: 1px solid #fff2;
  border-radius: 50%;
  right: -80px;
  top: -60px;
  box-shadow:
    0 0 0 22px #fff1,
    0 0 0 44px #fff1;
  pointer-events: none;
}
.club-feature-grid .maker-spark {
  grid-column: 2;
  grid-row: 1;
  font-size: 60px;
  transform: rotate(12deg);
}
.club-feature-grid .maker-banner > div {
  grid-column: 1;
  grid-row: 1;
}
.club-feature-grid .maker-banner h2 {
  font-size: 31px;
  line-height: 1.08;
  max-width: 250px;
  margin-bottom: 13px;
}
.club-feature-grid .maker-banner p {
  font-size: 13px;
  line-height: 1.7;
  max-width: 230px;
}
.club-feature-grid .maker-link {
  grid-column: 1 / -1;
  margin-left: 0;
  justify-self: start;
  background: #e5ecb2;
  color: var(--ink);
  border: 0;
  font-size: 12px;
}
.club-feature-grid .maker-link > span {
  color: var(--ink);
}
.trophy-room {
  margin-top: 38px;
}
.trophy-room .section-heading {
  align-items: end;
  margin-bottom: 22px;
}
.trophy-room h2 {
  font-size: 30px;
  margin-top: 6px;
}
.trophy-room h2 > span {
  color: #a76724;
  margin-left: 5px;
}
.badge-shelf {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.club-badge {
  text-align: center;
  background: #f0f0e8;
  border: 1px dashed #bfcab7;
  border-radius: 14px;
  padding: 18px 8px 12px;
  display: flex;
  align-items: center;
  flex-direction: column;
}
.badge-emblem {
  width: 49px;
  height: 49px;
  border: 1px solid #c5cdbd;
  border-radius: 50%;
  background: #e4e8dc;
  color: #657660;
  font-size: 26px;
  line-height: 47px;
  filter: grayscale(1);
}
.club-badge strong {
  font-size: 11px;
  margin-top: 13px;
  line-height: 1.35;
}
.badge-hint {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.5;
  margin-top: 7px;
  flex: 1;
}
.badge-state {
  font-size: 9px;
  font-weight: 750;
  color: #586750;
  margin-top: 13px;
}
.club-badge.unlocked {
  background: #fff9df;
  border: 1px solid #d6bc64;
  box-shadow: 0 3px 0 #e4d59d66;
}
.unlocked .badge-emblem {
  filter: none;
  background: #f9df83;
  border-color: #c9a53f;
  color: #755516;
}
.unlocked .badge-state {
  color: #42632c;
}
.progress-storage {
  font-size: 11px;
  color: var(--muted);
  text-align: right;
  margin-top: 14px;
}
.recent-section {
  margin-top: 36px;
  margin-bottom: 24px;
}
.recent-matches {
  list-style: none;
  padding: 0;
  margin: 0;
}
.recent-empty {
  border: 1px solid #dce3d2;
  border-radius: 12px;
  padding: 22px;
  color: var(--muted);
  font-size: 13px;
  background: #fffdf880;
}
.recent-match {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 17px 18px;
  border-bottom: 1px solid #dce3d2;
  font-size: 13px;
}
.recent-sport {
  font-size: 23px;
}
.recent-format {
  color: var(--muted);
  font-size: 11px;
}
.recent-score {
  margin-left: auto;
  font-size: 17px;
  white-space: nowrap;
}
.recent-outcome {
  font-size: 9px;
  font-weight: 800;
  border-radius: 5px;
  padding: 5px 8px;
  min-width: 56px;
  text-align: center;
  background: #e8eade;
}
.recent-outcome.won {
  background: #dceeb9;
  color: #375528;
}
.match-mission {
  border: 1px solid #d6bd65;
  background: #fff0b6;
  border-radius: 10px;
  padding: 13px 18px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.5;
}
.match-extras {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: start;
  margin: 0 0 13px;
}
.coach-corner {
  font-size: 12px;
  flex: 1;
}
.coach-corner summary {
  cursor: pointer;
  font-weight: 800;
  padding: 12px 0;
}
.coach-corner p {
  line-height: 1.7;
  color: var(--muted);
  max-width: 590px;
  padding-bottom: 15px;
}
.match-personal-best {
  font-size: 11px;
  color: var(--muted);
  padding: 12px 0;
}
.match-sound {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff9;
  margin-bottom: 13px;
}
.match-sound > summary {
  cursor: pointer;
  padding: 13px 16px;
  font-size: 12px;
  font-weight: 700;
}
.match-sound .audio-dock {
  margin: 0;
  border: 0;
  background: none;
}
.match-combo {
  min-height: 21px;
  font-size: 13px;
  color: #34632c;
  font-weight: 850;
  text-align: center;
  margin: 10px 0;
}
summary:focus-visible,
select:focus-visible,
#trophy-title:focus-visible {
  outline: 3px solid #287eba;
  outline-offset: 4px;
}
.match-rewards {
  margin: 18px 0 23px;
  padding: 17px;
  background: #f1f4e2;
  border: 1px solid #dce4c1;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 12px;
  line-height: 1.5;
}
.match-rewards p {
  margin: 0;
}
.reward-xp {
  font: 33px var(--display);
  color: #306327;
}
.reward-highlight {
  color: #65500f;
}
.reward-badge {
  background: #fffdf5;
  border: 1px solid #d9dfc3;
  border-radius: 8px;
  padding: 7px;
  font-weight: 700;
}
.storage-warning {
  color: #82512d;
}
.result-content {
  position: relative;
  overflow: hidden;
}
.next-sport-button {
  display: block;
  background: #fffdf6;
  border: 1px solid #bfcbb7;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 750;
  min-height: 45px;
  margin: 15px auto 0;
  padding: 10px 20px;
}
.club-confetti {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 2;
}
.club-confetti i {
  position: absolute;
  top: -15px;
  left: var(--x);
  width: 7px;
  height: 12px;
  border-radius: 2px;
  animation: club-confetti-fall 1.9s var(--delay) ease-in both;
}
@keyframes club-confetti-fall {
  from {
    transform: translateY(-20px) rotate(0);
    opacity: 1;
  }
  to {
    transform: translateY(750px) rotate(var(--spin));
    opacity: 0;
  }
}
@media (max-width: 1000px) {
  .badge-shelf {
    grid-template-columns: repeat(4, 1fr);
  }
  .member-strip {
    gap: 14px;
  }
  .member-progress {
    margin-right: 0;
  }
  .sports-slider {
    grid-template-rows: minmax(330px, auto) auto;
  }
  .sports-slider .featured-copy h2 {
    font-size: 47px;
  }
  .game-card {
    padding: 17px;
  }
  .card-bottom h3 {
    font-size: 22px;
  }
  .card-bottom p {
    font-size: 11px;
  }
  .round-play {
    flex-basis: 35px;
    width: 35px;
    height: 35px;
  }
  .club-feature-grid .maker-banner {
    padding: 24px;
  }
  .club-feature-grid .maker-banner h2 {
    font-size: 28px;
  }
}
@media (max-width: 740px) {
  .club-welcome {
    gap: 12px;
  }
  .club-welcome h1 {
    font-size: 32px;
  }
  .club-welcome p {
    font-size: 12px;
  }
  .surprise-button {
    padding: 10px 12px;
    gap: 8px;
    font-size: 11px;
  }
  .member-emblem {
    display: none;
  }
  .member-strip {
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px 16px;
  }
  .member-progress {
    min-width: 190px;
    margin: 0 0 0 6px;
  }
  .member-rank {
    min-width: 85px;
  }
  .member-stat {
    flex: 1;
    flex-direction: row;
    align-items: baseline;
    justify-content: center;
    gap: 7px;
  }
  .member-stat strong {
    font-size: 15px;
  }
  .trophy-jump {
    padding: 0 5px;
    min-height: 34px;
    border-left: 0;
  }
  .game-card {
    min-height: 230px;
  }
  .game-card-art {
    width: 78%;
  }
  .card-bottom {
    align-items: start;
  }
  .card-bottom .round-play {
    display: none;
  }
  .club-feature-grid {
    grid-template-columns: 1fr;
  }
  .club-feature-grid .maker-banner {
    grid-template-columns: auto 1fr auto;
    gap: 18px;
  }
  .club-feature-grid .maker-spark {
    grid-column: 1;
    font-size: 37px;
  }
  .club-feature-grid .maker-banner > div {
    grid-column: 2;
  }
  .club-feature-grid .maker-banner h2 {
    font-size: 24px;
  }
  .club-feature-grid .maker-link {
    grid-column: 3;
    grid-row: 1;
  }
  .trophy-room .section-heading {
    align-items: center;
  }
}
@media (max-width: 600px) {
  main {
    padding-top: 22px;
  }
  .club-welcome {
    flex-wrap: wrap;
    margin-bottom: 20px;
  }
  .club-welcome h1 {
    font-size: 34px;
  }
  .club-kicker {
    font-size: 9px;
  }
  .surprise-button {
    margin-top: 3px;
    min-height: 44px;
  }
  .member-strip {
    margin-bottom: 20px;
  }
  .member-progress {
    min-width: 150px;
  }
  .member-progress > div {
    flex-wrap: wrap;
    gap: 4px;
  }
  .member-stat {
    min-width: 27%;
  }
  .sports-slider {
    grid-template-columns: 1.1fr 0.9fr;
    grid-template-rows: auto auto;
    border-radius: 18px;
  }
  .sports-slider .featured-copy {
    padding: 22px 0 21px 18px;
  }
  .sports-slider .featured-copy h2 {
    font-size: 34px;
    margin: 13px 0;
  }
  .sports-slider .featured-copy h2 br {
    display: block;
  }
  .sports-slider .featured-copy p {
    font-size: 12px;
    line-height: 1.5;
    max-width: 180px;
  }
  .sports-slider .featured-copy .primary-button {
    font-size: 12px;
    padding: 12px 13px;
    min-height: 46px;
    gap: 8px;
  }
  .sports-slider .sport-label {
    font-size: 8px;
    padding: 6px;
    letter-spacing: 0.06em;
  }
  .sports-slider .sport-label > span {
    font-size: 14px;
  }
  .sports-slider .featured-art {
    grid-row: 1;
    grid-column: 2;
    aspect-ratio: auto;
  }
  .sports-slider .featured-art img {
    object-position: 53% center;
  }
  .sports-slider .featured-art::before {
    height: 100%;
    width: 25px;
    background: linear-gradient(90deg, var(--slide-bg), transparent);
  }
  .sports-slider .hero-sticker,
  .sports-slider .play-hint {
    display: none;
  }
  .slider-controls {
    padding: 8px;
    gap: 5px;
  }
  .sport-selector {
    font-size: 10px;
    padding: 6px;
    gap: 4px;
  }
  .sport-selector > span:first-child {
    font-size: 15px;
  }
  .slider-navigation {
    gap: 7px;
  }
  .game-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .game-card {
    min-height: 135px;
    padding: 19px;
    justify-content: end;
  }
  .game-card-art {
    top: -12px;
    right: 0;
    width: 42%;
    height: 150px;
    border-radius: 0;
    mask-image: linear-gradient(90deg, transparent, #000 25%);
    transform: none;
  }
  .card-top {
    margin: 0;
  }
  .card-top .game-kind {
    top: -91px;
    font-size: 8px;
  }
  .card-top .ball-emoji {
    display: none;
  }
  .card-bottom h3 {
    font-size: 25px;
  }
  .card-bottom p {
    font-size: 11px;
  }
  .card-bottom > div {
    max-width: 69%;
  }
  .card-record {
    margin-top: 9px;
    font-size: 9px;
  }
  .card-bottom .round-play {
    display: grid;
    align-self: end;
    background: #153c35e8;
  }
  .club-feature-grid {
    margin-top: 22px;
    gap: 15px;
  }
  .daily-ticket {
    padding: 22px;
  }
  .daily-ticket h2 {
    font-size: 29px;
  }
  .ticket-bottom {
    flex-wrap: wrap;
    gap: 13px;
  }
  .club-feature-grid .maker-banner {
    grid-template-columns: 1fr auto;
  }
  .club-feature-grid .maker-spark {
    grid-column: 2;
  }
  .club-feature-grid .maker-banner > div {
    grid-column: 1;
  }
  .club-feature-grid .maker-link {
    grid-column: 1 / -1;
    grid-row: 2;
  }
  .club-feature-grid .maker-banner h2 {
    font-size: 28px;
  }
  .badge-shelf {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .club-badge {
    padding: 17px 12px 13px;
  }
  .club-badge strong {
    font-size: 12px;
  }
  .badge-hint {
    font-size: 11px;
  }
  .trophy-room h2 {
    font-size: 27px;
  }
  .trophy-room .section-heading {
    align-items: start;
  }
  .trophy-room .section-heading > span {
    max-width: 65px;
    line-height: 1.5;
    font-size: 10px;
    text-align: right;
    margin-top: 21px;
  }
  .progress-storage {
    text-align: left;
    line-height: 1.6;
  }
  .recent-section .section-heading h2 {
    font-size: 21px;
  }
  .recent-section .section-heading > span {
    font-size: 10px;
  }
  .recent-match {
    padding: 14px 0;
    gap: 9px;
    flex-wrap: wrap;
  }
  .recent-match > strong {
    font-size: 12px;
  }
  .recent-format {
    order: 5;
    width: 100%;
    padding-left: 32px;
  }
  .recent-score {
    font-size: 15px;
  }
  .match-extras {
    flex-direction: column;
    gap: 0;
  }
  .match-personal-best {
    padding-top: 0;
  }
  .game-heading {
    gap: 8px;
  }
  .next-sport-button {
    width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .club-confetti i {
    animation: none;
    display: none;
  }
  .surprise-button,
  .game-card {
    transition: none;
  }
}

/* Account pages keep registration separate from the play area. */
.account-entry {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 1px solid #cbd6bc;
  background: #edf2d8;
  border-radius: 30px;
  padding: 12px 17px;
  font-size: 14px;
  font-weight: 750;
  min-height: 46px;
  max-width: 220px;
}
.account-entry > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.account-entry > span:first-child {
  color: #7e641b;
}
.membership-note {
  font-size: 13px;
  color: var(--muted);
  margin: -12px 0 22px;
  line-height: 1.6;
}
.membership-note a {
  color: #27613d;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.account-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  max-width: 1050px;
  margin: 45px auto 70px;
  align-items: center;
}
.account-story h1 {
  font-size: clamp(38px, 4.5vw, 58px);
  margin: 16px 0 22px;
  line-height: 1.08;
}
.account-story > p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
  max-width: 400px;
}
.account-medals {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 45px;
  margin: 24px 0;
}
.account-medals span {
  color: #b68a27;
  font-size: 40px;
}
.account-story ul {
  list-style: none;
  padding: 0;
  font-size: 15px;
  line-height: 2.2;
}
.account-story li::before {
  content: "✓";
  color: #467440;
  margin-right: 12px;
  font-weight: 800;
}
.account-story small {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-top: 24px;
}
.account-card {
  background: #fffdf7;
  border: 1px solid #d9e0ce;
  padding: 38px;
  border-radius: 23px;
  box-shadow: 0 9px 0 #e9ecd9;
}
.account-card h2 {
  font-size: 34px;
  line-height: 1.13;
  margin: 15px 0;
  overflow-wrap: anywhere;
}
.account-card p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--muted);
}
.account-card .primary-button {
  width: 100%;
  font-size: 14px;
  margin-top: 23px;
  padding: 15px;
}
.account-card .account-note {
  font-size: 13px;
  margin-top: 24px;
}
.account-card .text-button {
  display: block;
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
}
#account-status:not([hidden]) {
  padding: 12px;
  border-radius: 10px;
  background: #edf2df;
  margin-bottom: 20px;
  font-size: 14px;
}
.account-card form label {
  display: block;
  font-size: 14px;
  font-weight: 750;
  margin: 24px 0 8px;
}
.account-card form input {
  display: block;
  width: 100%;
  border: 1px solid #b9c9aa;
  border-radius: 10px;
  background: #fff;
  padding: 14px;
  font-size: 16px;
}
.auth-switch {
  display: flex;
  gap: 6px;
  padding: 5px;
  background: #e9eedf;
  border-radius: 12px;
  margin: 24px 0;
}
.auth-switch button {
  flex: 1;
  min-height: 44px;
  border: 0;
  border-radius: 9px;
  padding: 10px 8px;
  font-size: 14px;
  font-weight: 750;
  background: transparent;
  color: var(--ink);
}
.auth-switch button[aria-pressed="true"] {
  background: #fffdf7;
  box-shadow: 0 2px 5px #314b2514;
}
.auth-hint {
  display: block;
  margin-top: 9px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}
.auth-divider {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 24px;
  color: var(--muted);
  font-size: 14px;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: #d9e0ce;
}
.account-card .chatgpt-signin {
  background: transparent;
  border: 1px solid #9bab8d;
  color: var(--ink);
  margin-top: 18px;
  box-shadow: none;
}
.password-help,
#password-settings,
#name-settings {
  margin-top: 20px;
  font-size: 14px;
  text-align: left;
}
.password-help summary,
#password-settings summary,
#name-settings summary {
  cursor: pointer;
  min-height: 32px;
  padding: 6px 0;
}
.password-help p {
  font-size: 14px;
}
.account-card button:disabled {
  cursor: wait;
  opacity: 0.65;
}
#email-auth-status:not([hidden]),
#password-change-status:not([hidden]) {
  margin-top: 14px;
  padding: 12px;
  border-radius: 10px;
  background: #edf2df;
  font-size: 14px;
}
#nickname-hint {
  display: block;
  margin-top: 9px;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}
#account-member {
  text-align: center;
}
.player-card-mark {
  width: 60px;
  height: 67px;
  background: var(--ink);
  color: var(--lime);
  clip-path: polygon(0 0, 100% 0, 95% 75%, 50% 100%, 5% 75%);
  font: 45px var(--display);
  margin: 0 auto 20px;
  padding-top: 3px;
}
.player-card-stats {
  display: flex;
  justify-content: space-around;
  gap: 15px;
  padding: 25px 0;
  border-block: 1px dashed #c7d4b8;
  margin-top: 25px;
}
.player-card-stats > div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.player-card-stats strong {
  font-size: 25px;
}
.player-card-stats span {
  font-size: 13px;
  color: var(--muted);
}
.pending-results {
  border-top: 1px solid var(--line);
  padding-top: 20px;
  margin-top: 20px;
}
.pending-results p {
  font-size: 14px;
}
.save-confirmation {
  font-weight: 700;
  color: #42642f;
}

/* Comfortable reading sizes for controls and progress details. */
.club-kicker,
.ticket-top,
.game-kind {
  font-size: 12px;
}
.member-rank > span,
.member-progress > div,
.member-stat > span,
.card-record,
.badge-hint,
.badge-state,
.progress-storage,
.recent-format,
.recent-outcome {
  font-size: 12px;
}
.club-badge strong,
.ticket-bottom > span,
.ticket-bottom button,
.daily-sport,
.coach-corner,
.match-personal-best,
.match-sound > summary,
.match-rewards {
  font-size: 14px;
}
.card-bottom p,
.daily-ticket p,
.club-feature-grid .maker-banner p,
.club-welcome p {
  font-size: 14px;
}
.badge-shelf {
  grid-template-columns: repeat(4, 1fr);
}
.club-badge {
  padding: 20px 14px 16px;
}
.badge-emblem {
  width: 54px;
  height: 54px;
  line-height: 52px;
  font-size: 28px;
}
.trophy-jump {
  min-height: 44px;
}
@media (max-width: 850px) {
  .account-layout {
    grid-template-columns: 1fr;
    gap: 30px;
    max-width: 590px;
  }
  .account-card {
    padding: 28px;
  }
  .account-entry {
    max-width: 170px;
    padding: 11px 13px;
  }
}
@media (max-width: 600px) {
  .account-layout {
    grid-template-columns: 1fr;
    gap: 28px;
    margin: 25px auto 45px;
  }
  .account-story h1 {
    font-size: 38px;
  }
  .account-story ul,
  .account-medals,
  .account-story > small {
    display: none;
  }
  .account-card {
    padding: 27px 23px;
  }
  .account-entry {
    max-width: 160px;
    font-size: 12px;
    padding: 10px 12px;
  }
  .badge-shelf {
    grid-template-columns: repeat(2, 1fr);
  }
  .club-badge strong {
    font-size: 13px;
  }
  .membership-note {
    font-size: 12px;
  }
  .member-progress {
    min-width: 140px;
  }
  .member-progress > div {
    font-size: 12px;
  }
  .card-bottom > div {
    max-width: 75%;
  }
  .game-card {
    min-height: 150px;
  }
  .card-top .game-kind {
    top: -105px;
    font-size: 10px;
  }
  .card-record {
    font-size: 11px;
  }
  .ticket-bottom button {
    font-size: 14px;
  }
  .surprise-button {
    font-size: 14px;
  }
  .member-strip {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  .member-rank {
    grid-column: span 2;
  }
  .member-progress {
    grid-column: span 4;
    min-width: 0;
    width: 100%;
    margin: 0;
  }
  .member-stat {
    grid-column: span 2;
    min-width: 0;
  }
}

#account-verification .text-button {
  display: block;
  margin-top: 16px;
}
#password-reset-form label {
  display: block;
  margin: 12px 0 6px;
}
#password-reset-form input {
  width: 100%;
  box-sizing: border-box;
  padding: 12px;
  border: 1px solid #b7c6bd;
  border-radius: 8px;
  font: inherit;
}
#password-reset-form button {
  margin-top: 12px;
}
.analytics-choice {
  position: fixed;
  z-index: 30;
  bottom: 16px;
  left: 16px;
  max-width: 430px;
  width: calc(100% - 32px);
  box-sizing: border-box;
  background: #fffbed;
  color: #183b2b;
  border: 2px solid #183b2b;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 8px 30px #163d2633;
}
.analytics-choice[hidden] {
  display: none;
}
.analytics-choice p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.5;
}
.analytics-choice div {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.analytics-choice button {
  padding: 11px 16px;
  border: 1px solid #183b2b;
  border-radius: 8px;
  background: #fffbed;
  color: #183b2b;
  font: inherit;
  cursor: pointer;
}
.analytics-settings {
  display: block;
  margin: 18px auto;
}
