*{box-sizing:border-box}

:root{
  --apple-blue:#0071e3;
  --apple-blue-hover:#0077ed;
  --apple-text:#1d1d1f;
  --apple-subtle-text:#6e6e73;
  --apple-border:rgba(0,0,0,.08);
  --apple-border-soft:rgba(0,0,0,.05);
  --apple-surface:#fbfbfd;
  --apple-surface-strong:#ffffff;
  --apple-glass:rgba(255,255,255,.72);
  --apple-glass-border:rgba(255,255,255,.46);
  --apple-shadow:0 8px 30px rgba(0,0,0,.04);
  --apple-pill-border:rgba(0,0,0,.07);
  --apple-pill-fill:rgba(255,255,255,.78);
}

html{
  scroll-behavior:smooth
}

body{
  margin:0;
  font-family:-apple-system,BlinkMacSystemFont,"SF Pro Display","SF Pro Text","Helvetica Neue",Arial,sans-serif;
  background:#fbfbfd;
  color:#1d1d1f
}

.wrap{
  max-width:980px;
  margin:0 auto;
  padding:clamp(32px,6vw,56px) clamp(16px,4vw,24px) clamp(40px,8vw,72px)
}

.site-header{
  text-align:center;
  margin-bottom:clamp(24px,5vw,40px)
}

.site-header img{
  width:100%;
  max-width:min(720px,92vw);
  height:auto
}

.hero-title{
  margin:0 0 clamp(28px,5vw,44px);
  text-align:center;
  font-size:clamp(36px,6vw,64px);
  line-height:1.05;
  font-weight:700;
  letter-spacing:-0.05em;
  color:#1d1d1f
}

.hero-subtitle{
  margin:0 0 clamp(28px,5vw,40px);
  text-align:center;
  font-size:clamp(16px,2.2vw,21px);
  line-height:1.4;
  font-weight:500;
  letter-spacing:-0.02em;
  color:#6e6e73
}

.jump-bar{
  position:sticky;
  top:16px;
  z-index:900;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
  align-items:center;
  margin-bottom:32px;
  padding:12px;
  background:var(--apple-glass);
  border:1px solid var(--apple-glass-border);
  border-radius:28px;
  box-shadow:var(--apple-shadow);
  backdrop-filter:saturate(180%) blur(24px);
  -webkit-backdrop-filter:saturate(180%) blur(24px)
}

.jump-link{
  background:var(--apple-pill-fill);
  min-height:44px;
  padding:10px 14px;
  border-radius:999px;
  text-decoration:none;
  font-weight:500;
  font-size:13px;
  line-height:1.30769;
  letter-spacing:-0.01em;
  color:var(--apple-text);
  border:1px solid var(--apple-pill-border);
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  white-space:nowrap;
  transition:background-color .2s ease,border-color .2s ease,color .2s ease,box-shadow .2s ease;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.42)
}

.jump-link:hover{
  background:#fff;
  border-color:rgba(0,113,227,.16);
  color:var(--apple-blue)
}


.jump-link:focus-visible{
  outline:none;
  border-color:rgba(0,113,227,.42);
  box-shadow:0 0 0 4px rgba(0,113,227,.16)
}

.section-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin:clamp(48px,9vw,88px) 0 clamp(16px,3vw,22px);
  gap:12px
}

.section-title{
  font-size:clamp(24px,4vw,32px);
  font-weight:700;
  letter-spacing:-0.03em;
  color:#1d1d1f
}

.toggle-btn{
  border:1px solid var(--apple-border);
  background:rgba(255,255,255,.9);
  min-height:36px;
  padding:7px 15px;
  border-radius:999px;
  font-weight:400;
  font-size:14px;
  line-height:1.28577;
  letter-spacing:-0.016em;
  cursor:pointer;
  color:var(--apple-text);
  transition:background-color .2s ease,border-color .2s ease,color .2s ease;
  display:none;
}

.toggle-btn:hover{
  background:#fff;
  border-color:rgba(0,113,227,.24);
  color:var(--apple-blue)
}

.section-content.is-collapsed{
  display:block
}

@keyframes appleFadeLiftIn{
  from{
    opacity:0;
    transform:translateY(32px) scale(.985);
    filter:blur(12px)
  }
  to{
    opacity:1;
    transform:translateY(0) scale(1);
    filter:blur(0)
  }
}

@keyframes appleSoftRevealIn{
  from{
    opacity:0;
    transform:translateY(22px);
    filter:blur(8px)
  }
  to{
    opacity:1;
    transform:translateY(0);
    filter:blur(0)
  }
}

.reveal,
.reveal-soft{
  opacity:0;
  will-change:transform,opacity,filter
}

.reveal{
  transform:translateY(32px) scale(.985);
  filter:blur(12px)
}

.reveal-soft{
  transform:translateY(22px);
  filter:blur(8px)
}

.reveal.is-visible{
  animation:appleFadeLiftIn .9s cubic-bezier(.22,1,.36,1) both
}

.reveal-soft.is-visible{
  animation:appleSoftRevealIn .72s cubic-bezier(.22,1,.36,1) both
}

.reveal-delay-1{ animation-delay:.06s }
.reveal-delay-2{ animation-delay:.12s }
.reveal-delay-3{ animation-delay:.18s }
.reveal-delay-4{ animation-delay:.24s }
.reveal-delay-5{ animation-delay:.30s }
.reveal-delay-6{ animation-delay:.36s }
.reveal-delay-7{ animation-delay:.42s }
.reveal-delay-8{ animation-delay:.48s }

@media (prefers-reduced-motion:reduce){
  .reveal,
  .reveal-soft,
  .reveal.is-visible,
  .reveal-soft.is-visible{
    animation:none !important;
    opacity:1 !important;
    transform:none !important;
    filter:none !important
  }
}

.card{
  background:#fff;
  border-radius:28px;
  box-shadow:0 6px 24px rgba(0,0,0,0.04);
  overflow:hidden;
  border:1px solid var(--apple-border-soft)
}

.table-wrap{
  overflow-x:auto
}

table{
  width:100%;
  border-collapse:collapse;
  background:#fff;
  table-layout:auto
}

th{
  background:#fbfbfd;
  color:#6e6e73;
  padding:14px 12px;
  text-align:center;
  font-size:13px;
  font-weight:600;
  letter-spacing:-0.01em;
  border-bottom:1px solid #ececf0
}

td{
  padding:16px 12px;
  border-bottom:1px solid #f0f0f2;
  font-size:16px;
  vertical-align:middle
}

tbody tr{
  transition:background .2s ease, transform .2s ease
}

tbody tr:hover{
  background:#fbfbfd;
  transform:none
}

.number{
  text-align:center;
  width:76px;
  font-weight:700;
  white-space:nowrap
}

.team{
  font-weight:600;
  color:#1d1d1f;
  letter-spacing:-0.01em
}

.actions{
  width:140px;
  text-align:center;
  white-space:nowrap
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:36px;
  padding:7px 15px;
  border-radius:999px;
  text-decoration:none;
  font-weight:400;
  font-size:14px;
  line-height:1.28577;
  letter-spacing:-0.016em;
  cursor:pointer;
  border:1px solid transparent;
  transition:background-color .2s ease,border-color .2s ease,color .2s ease
}

.btn-play{
  background:var(--apple-blue);
  color:#fff;
  border-color:var(--apple-blue)
}

.btn-play:hover{
  background:var(--apple-blue-hover);
  border-color:var(--apple-blue-hover)
}

.score-board{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:20px;
  margin-bottom:28px
}

.score-card{
  background:#fff;
  border-radius:32px;
  box-shadow:0 8px 30px rgba(0,0,0,0.04);
  padding:24px 24px;
  border:1px solid var(--apple-border-soft)
}

.score-card-gold{
  background:linear-gradient(180deg,#fff8e6 0%,#f6f1e2 100%);
  border-color:rgba(191,155,48,.35);
  box-shadow:0 10px 32px rgba(191,155,48,.12);
}

.score-card-silver{
  background:linear-gradient(180deg,#ffffff 0%,#fbfbfd 100%);
  border-color:rgba(0,0,0,.05);
  opacity:1
}

.score-card-label{
  display:flex;
  align-items:center;
  gap:6px;
  color:var(--apple-subtle-text);
  font-size:13px;
  font-weight:600;
  margin-bottom:10px;
  letter-spacing:-0.01em
}

.score-card-gold .score-card-label::before{
  content:"🥇";
  font-size:16px;
  line-height:1
}

.score-card-silver .score-card-label::before{
  content:"🥈";
  font-size:16px;
  line-height:1
}

.score-card-team{
  font-size:clamp(22px,3vw,28px);
  font-weight:700;
  line-height:1.2;
  letter-spacing:-0.03em;
  margin-bottom:12px;
  color:var(--apple-text)
}

.score-card-value{
  font-size:clamp(34px,6vw,48px);
  font-weight:700;
  line-height:1;
  color:var(--apple-text);
  letter-spacing:-0.045em;
  margin-bottom:16px
}

@media (max-width:734px){
  .wrap{
    padding:20px 14px 32px
  }

  .site-header{
    margin-bottom:24px
  }

  .site-header img{
    max-width:min(520px,92vw)
  }

  .jump-bar{
    top:8px;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:8px;
    padding:8px;
    margin-bottom:20px;
    border-radius:22px
  }

  .jump-link{
    min-height:40px;
    font-size:12px;
    padding:8px 10px
  }

  .section-header{
    margin:48px 0 16px;
    align-items:center
  }

  .section-title{
    font-size:24px
  }

  th,td{
    font-size:14px;
    padding:10px 8px
  }

  .actions{
    width:116px
  }

  .btn{
    min-height:36px;
    padding:7px 14px;
    font-size:14px
  }

  .score-card{
    padding:18px 18px
  }

  .score-card-team{
    font-size:22px
  }

  .score-card-value{
    font-size:36px
  }

  .score-detail-table th,
  .score-detail-table td{
    font-size:12px;
    padding:8px 0
  }
}

@media (max-width:480px){
  .wrap{
    padding:16px 12px 28px
  }

  .jump-bar{
    position:sticky;
    top:8px;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:8px;
    padding:8px;
    overflow-x:auto;
    overflow-y:hidden;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none
  }

  .jump-bar::-webkit-scrollbar{
    display:none
  }

  .jump-link{
    width:100%;
    min-width:0;
    min-height:38px;
    padding:8px 8px;
    font-size:11px
  }

  .section-header{
    flex-direction:column;
    align-items:flex-start;
    gap:10px;
    margin:40px 0 14px
  }

  .toggle-btn{
    min-height:36px
  }

  .score-card{
    padding:16px 16px;
    border-radius:28px
  }

  .score-card-team{
    font-size:20px
  }

  .score-card-value{
    font-size:32px
  }

  .score-detail-table th,
  .score-detail-table td{
    font-size:11px
  }
}

.score-detail-table{
  width:100%;
  border-collapse:collapse;
  margin-top:8px;
  background:transparent
}

.score-detail-table th,
.score-detail-table td{
  padding:10px 0;
  border-bottom:1px solid rgba(0,0,0,0.06);
  font-size:13px;
  background:transparent
}

.score-detail-table th{
  color:var(--apple-subtle-text);
  text-align:left;
  font-weight:600;
  padding-right:12px;
  letter-spacing:-0.01em
}

.score-detail-table td{
  text-align:right;
  font-weight:600;
  color:var(--apple-text);
  letter-spacing:-0.01em
}

.score-detail-table tr:last-child th,
.score-detail-table tr:last-child td{
  border-bottom:none
}

.score-detail-total th,
.score-detail-total td{
  font-weight:600;
  font-size:14px;
  color:var(--apple-text)
}

#competitionAnchor,
#exhibitionAnchor,
#battleAnchor{
  scroll-margin-top:72px
}

@media (max-width:1068px){
  .wrap{
    padding:40px 20px 56px
  }

  .section-header{
    margin:60px 0 18px
  }

  .section-title{
    font-size:28px
  }

  .score-board{
    grid-template-columns:1fr;
    gap:18px
  }
}