:root {
  color-scheme: light;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  color: #20214c;
  background: #f6f4ff;
}
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, p, dl, dd, ul { margin: 0; }
ul { list-style: none; padding: 0; }
img { display: block; max-width: 100%; }
button, a { font: inherit; }
button { color: inherit; cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #ffda76; outline-offset: 4px; }
.hero { overflow: clip; }
.hero-stage {
  --px: 0px; --py: 0px; --scroll: 0px;
  position: relative; isolation: isolate; overflow: hidden; container-type: inline-size;
  width: 100%; aspect-ratio: 1672 / 941;
  background: #31398d; color: #fffaf7;
}
.scenery, .brand, #event-title, .entry, .prize, .broadcast, .rules { position: absolute; }
.scenery, .brand, #event-title, .globe-shine { pointer-events: none; }
.landscape, .lab, .aurora, .constellation, .aura, .snow-edge, .weather { inset: 0; }
.landscape { z-index: 0; inset: -1.6%; transform: translate3d(calc(var(--px) * -.3),calc(var(--py) * -.3 + var(--scroll) * .24),0); }
.landscape img, .lab img { width: 100%; height: 100%; object-fit: cover; }
.aurora { z-index: 1; inset: -4% 5% auto 17%; height: 35%; background: url("assets/ornaments/aurora.svg") center/100% 100% no-repeat; mix-blend-mode: screen; opacity: .39; }
.lab { z-index: 2; inset: -1% -1.5% 0; transform: translate3d(calc(var(--px) * .55),calc(var(--py) * .55 + var(--scroll) * .52),0); }
.constellation { z-index: 3; }
.constellation i { position: absolute; width: clamp(11px,1.35cqw,24px); aspect-ratio: 1; background: url("assets/ornaments/magic-star.svg") center/contain no-repeat; filter: drop-shadow(0 0 5px #ffc4ef); }
.constellation i:nth-child(1) { left: 18%; top: 25%; }
.constellation i:nth-child(2) { left: 62%; top: 34%; --delay: -2s; }
.constellation i:nth-child(3) { left: 30%; top: 62%; --delay: -1s; }
.constellation i:nth-child(4) { left: 69%; top: 69%; --delay: -3s; }
.constellation i:nth-child(5) { left: 9%; top: 67%; --delay: -.5s; }
.aura { z-index: 5; inset: 32% 26% 4%; background: radial-gradient(ellipse, #f5c0ff66, #ad9eff46 33%, transparent 69%); }
.lumina { z-index: 6; width: 58.5%; left: 20%; bottom: 8.5%; transform: translate3d(calc(var(--px) * .2),calc(var(--py) * .2),0); }
.lumina img, .fairy img { width: 100%; height: auto; }
.fairy { z-index: 7; }
.fairy img { user-select: none; -webkit-user-drag: none; }
.main-blue { left: 20%; top: 32%; width: 15.6%; --travel: -10px; --period: 4.8s; --tilt: -2.5deg; }
.main-pink { left: 61%; top: 36%; width: 13.5%; --travel: -9px; --period: 5.6s; --delay: -1.6s; --tilt: 3deg; }
.back-blue { left: 72.5%; top: 11%; width: 6.2%; --period: 5.8s; --delay: -2.4s; z-index: 4; }
.back-pink { left: 11.5%; top: 25.5%; width: 8.2%; --period: 6.1s; --delay: -3.1s; z-index: 4; }
.near-blue { left: 10%; top: 75.8%; width: 8.3%; --period: 5.2s; --delay: -1.1s; }
.near-pink { right: 6.8%; top: 75.6%; width: 8%; --period: 6.5s; --delay: -.4s; }
.fairy-action, .fairy-art { display: block; width: 100%; margin: 0; padding: 0; border: 0; border-radius: 50%; background: transparent; }
.fairy-action { min-width: 44px; min-height: 44px; pointer-events: auto; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.fairy-action:disabled { cursor: default; }
.fairy-action:focus-visible, .fairy-action:hover:enabled { filter: drop-shadow(0 0 8px #c9f5ff); }
.main-pink .fairy-action:hover:enabled { filter: drop-shadow(0 0 8px #ffd4f0); }
.snow-edge { z-index: 8; transform: translate3d(var(--px),calc(var(--py) * .55 - var(--scroll) * .32),0); inset: 0 -1.2% -2%; }
.snow-edge img { position: absolute; width: 100%; height: 88%; bottom: 5%; object-fit: fill; }
.snow-edge::after { content: ""; position: absolute; height: 5.2%; inset: auto 0 0; background: linear-gradient(#d5c7ff,#ece1ff 60%,#eee8ff); }
.weather { z-index: 9; width: 100%; height: 100%; }
.brand { z-index: 10; filter: drop-shadow(0 2px 8px #231855); height: auto; }
.jacc { left: 3.3%; top: 3.5%; width: 10.8%; }
.newtake { right: 3%; top: 3.8%; width: 17%; }
#event-title { z-index: 10; width: 42%; left: 29%; top: -.8%; }
#event-title img { width: 100%; height: auto; filter: drop-shadow(0 4px 7px #181358aa); }
.glass {
  border: 2px solid #f5e9ff;
  background: radial-gradient(ellipse at 10% 0%, #cec5ff80, transparent 46%), linear-gradient(150deg,#4b54b8ef,#313a86f5 45%,#6458aeea 82%,#928bd8ed);
  box-shadow: inset 0 2px 3px #ffffffe0,inset 0 -3px 6px #c5b0ff,0 0 0 1px #b08bf2,0 0 0 3px #eeccaeaa,0 0 15px #c1c1ff9c;
}
.entry { z-index: 11; width: 25.3%; left: 1.7%; top: 43%; }
.date { border-radius: 2.8cqw 1.8cqw 2.6cqw 1.25cqw; padding: 1.05cqw 1.25cqw .95cqw; text-shadow: 0 2px 3px #211843; }
.date-label { display: flex; align-items: center; gap: .45em; font-size: clamp(14px,1.6cqw,33px); font-weight: 750; }
.date-label svg,.formats svg { width: 1.18em; height: 1.18em; flex: none; stroke: currentColor; stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.date-label svg { color: #ffe4a7; }
.date-label span { font-size: .65em; font-weight: 600; letter-spacing: .08em; color: #f0eaff; }
.dates { display: flex; align-items: baseline; justify-content: space-between; margin-top: .35cqw; font: 700 clamp(26px,3.05cqw,74px)/1.17 var(--display); font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.dates small { font: 700 .34em/1 sans-serif; }
.until { font: 700 .38em/1 sans-serif; color: #ffe3a7; }
.formats { display: grid; gap: .5cqw; width: 75%; margin: 1.4cqw auto 0; }
.formats li { display:flex; align-items:center; justify-content: center; gap:.5em; min-height: 2.85cqw; padding:.23em .5em; border-radius:99px; border:2px solid #faf9ff; color:#22194f; font-size:clamp(15px,1.48cqw,30px); font-weight:800; background:linear-gradient(173deg,#fff 2%,#dadaff 28%,#b9b8f2 58%,#e5e7ff 88%,#fff); box-shadow: inset 0 -2px 3px #8f88d4,0 0 0 1px #8d82dc,0 0 12px #dad6ff; }
.formats small { font-size:.74em; }
.prize { z-index: 11; width: 25%; right: 2%; top: 10.2%; aspect-ratio: 1; container-type: inline-size; text-align: center; }
.globe { width: 100%; height: auto; }
.globe-shine { position:absolute; left:19%; top:6%; width:62%; height:36%; border-radius:50%; background:radial-gradient(ellipse at 32% 8%,#fffcf180,transparent 40%); opacity:.18; }
.total { position: absolute; inset: 21% 4% auto; font-size: 7.2cqw; font-weight: 750; line-height: 1.1; text-shadow: 0 2px 5px #291866; }
.amount { color: #ffdf82; font: 700 9.5cqw/1.04 var(--display); white-space: nowrap; text-shadow: 0 1px 0 #fff8e3,1px 3px 3px #71215d; }
.amount strong { font: 700 24cqw/1 var(--display); letter-spacing: -.055em; margin-right: .035em; }
.secondary { position:absolute; inset:50% 17% auto; display:flex; justify-content:center; align-items:baseline; gap:.28em; font:700 4.7cqw/1.35 var(--display); text-shadow:0 1px 3px #30104e; }
.secondary b { font: 700 8cqw/1 var(--display); color:#ffe495; }
.secondary b span { font: 700 .62em/1 var(--display); }
.broadcast { z-index: 12; right: 2%; width: 27.6%; top: 56.8%; min-height: 17%; border-radius: 45% 14% 28% 15% / 24% 36% 24% 36%; display:flex; align-items:center; padding:1cqw 1cqw 1cqw 1.9cqw; }
.broadcast p { flex:1; z-index:1; font-size:clamp(14px,1.27cqw,27px); font-weight:700; line-height:1.6; text-shadow:0 1px 4px #241848; }
.broadcast strong { color:#ffdf89; }
.broadcast img { width:31%; height:auto; align-self:center; }
.rules { display:flex; justify-content:center; align-items:center; gap:1.4cqw; z-index:13; left: 8%; right:8%; bottom:3%; min-height:7.4%; padding:.6cqw 1.4cqw; border-radius:80px; font-weight:750; font-size:clamp(14px,1.4cqw,30px); line-height:1.4; }
.rules li { display:flex; gap:.35em; align-items:baseline; }
.rules li+li { border-left:1px solid #d4c6f2; padding-left:1.4cqw; }
.rules small { font-size:.72em; }
.rules li span { color:#ffe6aa; }
.hero-foot { display:flex; justify-content:center; gap:1rem; align-items:center; padding: .4rem 1rem .6rem; background:linear-gradient(#ede6ff,#f4f1ff); color:#423764; }
.hero-foot a,.motion-control { display:inline-flex; align-items:center; justify-content:center; min-height:44px; gap:.55em; padding:.35rem .85rem; border:0; background:transparent; color:inherit; font-size:.86rem; font-weight:700; text-decoration:none; }
.hero-foot a:hover,.motion-control:hover { text-decoration:underline; }
.motion-symbol { display:inline-block; width:10px; height:11px; border-inline:3px solid currentColor; }
.motion-control[data-paused="true"] .motion-symbol { border:0; width:0; height:0; border-top:6px solid transparent; border-bottom:6px solid transparent; border-left:9px solid currentColor; }
.overview { background: radial-gradient(ellipse at 95% 0,#e9deff,transparent 58%),linear-gradient(#f4f1ff,#fff); }
.overview-inner { max-width:1200px; margin:auto; padding:clamp(3rem,6vw,6rem) clamp(1.3rem,5vw,4.8rem); display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); gap:clamp(2.5rem,6vw,6rem); }
.overview h2 { font-size:clamp(1.65rem,3.2vw,3rem); line-height:1.24; color:#292051; scroll-margin-top:2rem; }
.overview-lead>p { margin-top:1.25rem; font-size:1.04rem; line-height:1.95; }
.screening { border-left:3px solid #a38bdc; padding-left:1rem; margin:1.5rem 0; line-height:1.85; }
.overview-links { display:flex; gap:4px 24px; flex-wrap:wrap; }
.overview-links a { display:inline-flex; align-items:center; min-height:44px; color:#493381; font-weight:700; text-underline-offset:.3em; }
.overview-facts>div { display:grid; grid-template-columns:6em 1fr; gap:.8rem; padding:.72rem 0; border-top:1px solid #cfc6df; font-size:1rem; line-height:1.65; }
.overview-facts dt { color:#574273; font-weight:700; }
.hero-foot :focus-visible,.overview :focus-visible { outline-color:#554680; }
@media (max-width: 1024px) {
  .hero-stage { --art:clamp(355px,107vw,570px); aspect-ratio:auto; padding:var(--art) clamp(16px,5vw,36px) 1.5rem; display:grid; grid-template-columns:minmax(0,1fr); justify-items:center; gap:18px; background:radial-gradient(ellipse at 8% 68%,#d5ebff,transparent 35%),radial-gradient(ellipse at 93% 73%,#ebd3ff,transparent 47%),linear-gradient(#191d66 0 var(--art),#cccaff var(--art),#ece6ff 69%,#eee8ff); }
  .landscape,.lab,.constellation,.weather,.snow-edge { top:0; bottom:auto; height:var(--art); }
  .landscape { inset-inline:-2%; }
  .landscape img { object-position:41% center; }
  .lab img { object-fit:fill; }
  .lab { inset-inline:-3%; }
  .aurora { top:0; left:0; right:0; height:calc(var(--art)*.5); }
  .aura { top:calc(var(--art)*.32); height:calc(var(--art)*.62); }
  .jacc { left:5%; top:11px; width:clamp(55px,14%,88px); }
  .newtake { right:5%; top:13px; width:clamp(90px,23%,136px); }
  #event-title { width:min(88%,470px); left:50%; translate:-50% 0; top:30px; }
  .lumina { left:50%; translate:-50% 0; width:min(117%,760px); bottom:auto; top:var(--art); margin-top:0; transform:translateY(-100%); }
  .main-blue { width:25%; max-width:155px; left:1%; top:calc(var(--art)*.49); --travel:-6px; }
  .main-pink { width:21.5%; max-width:140px; left:auto; right:2%; top:calc(var(--art)*.52); --travel:-6px; }
  .back-blue { left:auto; right:3%; top:calc(var(--art)*.34); width:9%; max-width:65px; }
  .back-pink { left:4%; top:calc(var(--art)*.34); width:10%; max-width:70px; }
  .near-blue,.near-pink { display:none; }
  .snow-edge { inset-inline:-2%; }
  .snow-edge img { height:57%; bottom:-1%; }
  .snow-edge::after { height:1.2%; bottom:-1%; background:#d6cefd; }
  .entry,.prize,.broadcast,.rules { position:relative; inset:auto; margin:0; }
  .entry { width:min(100%,500px); margin-top:1px; }
  .date { border-radius:28px 18px 28px 16px; padding:9px 20px 11px; }
  .date-label { justify-content:center; gap:.5em; font-size:16px; }
  .date-label span { font-size:13px; }
  .dates { justify-content:center; gap:.23em; font-size:clamp(32px,8.8vw,48px); line-height:1.08; margin-top:4px; }
  .dates small { font-size:.35em; }
  .formats { display:flex; justify-content:center; gap:10px; width:100%; margin:10px auto 0; }
  .formats li { padding:4px 15px; font-size:16px; min-height:34px; }
  .prize { width:clamp(225px,65vw,284px); margin-block:-1px -2px; }
  .broadcast { width:min(100%,500px); min-height:100px; gap:5px; border-radius:30px 21px; padding:10px 15px 10px 22px; }
  .broadcast p { font-size:clamp(14px,4.05vw,19px); }
  .broadcast img { width:24%; max-width:85px; }
  .rules { width:min(100%,500px); border-radius:22px; flex-wrap:wrap; justify-content:flex-start; gap:5px 13px; padding:12px 16px; font-size:14px; }
  .rules li { line-height:1.6; }
  .rules li+li { border:0; padding:0; }
  .rules small { font-size:12px; }
  .hero-foot { padding-top:0; gap:.2rem; }
  .overview-inner { grid-template-columns:1fr; gap:1.8rem; padding-top:2.1rem; }
}
@media (min-width:540px) and (max-width:1024px) {
  .hero-stage { grid-template-columns:minmax(0,1.35fr) minmax(0,1fr); align-items:center; column-gap:20px; }
  .prize { max-width:100%; grid-column:2; grid-row:1 / span 2; }
  .broadcast { grid-column:1; }
  .rules { max-width:none; width:100%; grid-column:1 / -1; justify-content:center; }
}
@media (max-width:359px) {
  .overview-facts>div { grid-template-columns:5em 1fr; gap:.5rem; }
  .rules { padding-inline:12px; gap:4px 10px; }
  .formats li { font-size:15px; }
}
@keyframes fairy-drift {
  0%,100% { transform: translate3d(0,2px,0) rotate(0); }
  50% { transform: translate3d(3px,var(--travel,-6px),0) rotate(var(--tilt,2deg)); }
}
@keyframes shimmer { 0%,100% { opacity:.22; } 50% { opacity:.95; } }
@keyframes sky-glow { 0%,100% { opacity:.26; transform:translateX(-.8%); } 50% { opacity:.53; transform:translateX(1.1%); } }
.hero-stage[data-motion] .fairy-float { animation: fairy-drift var(--period,5s) ease-in-out var(--delay,0s) infinite; }
.hero-stage[data-motion] .constellation i { animation: shimmer 4.2s ease-in-out var(--delay,0s) infinite; }
.hero-stage[data-motion] .aurora { animation: sky-glow 15s ease-in-out infinite; }
.hero-stage[data-motion] .globe-shine { animation: shimmer 9s ease-in-out infinite; }
.hero-stage[data-motion="idle"] *, .hero-stage[data-motion="idle"] *::before { animation-play-state:paused; }
.hero-stage[data-motion="off"] .fairy-float, .hero-stage[data-motion="off"] .constellation i,
.hero-stage[data-motion="off"] .aurora, .hero-stage[data-motion="off"] .globe-shine { animation:none; }
.constellation i:nth-child(4) { background-image:url("assets/ornaments/snowflake.svg"); width:clamp(18px,2cqw,29px); }
@media (max-width:1024px) {
  .constellation i:nth-child(1) { top:40%; left:18%; }
  .constellation i:nth-child(3) { top:78%; left:16%; }
}
@media (min-width:1025px) {
  .dates { font-size:clamp(24px,2.72cqw,68px); }
}
.total { top:17%; }
.amount { line-height:1; }
.amount strong { font-size:23cqw; }
.secondary { top:49.2%; flex-direction:column; gap:0; align-items:center; font-size:3.9cqw; line-height:1.15; }
.secondary b { font-size:7cqw; }
.date { position:relative; }
.date::after { content:""; position:absolute; width:1.35em; aspect-ratio:1; right:.25em; top:-.52em; background:url("assets/ornaments/snowflake.svg") center/contain no-repeat; filter:drop-shadow(0 0 3px #6660c0); pointer-events:none; }
@media (min-width:1025px) {
  .main-blue { left:22.2%; top:30.8%; width:14.6%; }
  .near-blue,.near-pink { z-index:9; }
  .near-blue { top:74.3%; }
  .near-pink { top:74.6%; }
}
@media (max-width:1024px) {
  .entry { container-type:inline-size; }
  .dates { font-size:clamp(23px,10.5cqw,43px); gap:.13em; }
  .lumina { width:min(114%,570px); }
  #event-title { width:min(86%,455px); top:28px; }
}
@media (min-width:540px) and (max-width:660px) {
  .date { padding-inline:12px; }
}
@media (max-width:1024px) {
  .secondary { font-size:max(12px,3.9cqw); }
  .back-pink,.back-blue { top:calc(var(--art)*.40); }
}
@media (max-width:539px) {
  .prize::before { content:""; position:absolute; z-index:-1; inset:89% 7% -1.8%; border-radius:50%; background:radial-gradient(ellipse,#8876b67a,transparent 69%); }
  .hero-stage::before { content:""; position:absolute; inset:calc(var(--art) + 125px) 0 3%; pointer-events:none; background:
    url("assets/ornaments/snowflake.svg") 6% 13% / 27px 27px no-repeat,
    url("assets/ornaments/magic-star.svg") 92% 36% / 15px 15px no-repeat,
    url("assets/ornaments/snowflake.svg") 96% 55% / 24px 24px no-repeat,
    url("assets/ornaments/magic-star.svg") 9% 43% / 13px 13px no-repeat; opacity:.8; }
}

/* Date suffixes, award labels and eligibility stay legible at every breakpoint. */
.date-label span,.dates small,.until,.formats small,.rules small {font-size:max(14px,.72em)}
.dates small,.until {font-size:max(14px,.34em)}
.hero-foot a,.hero-foot .motion-control {font-size:14px}
.secondary,.secondary b span {font-size:max(18px,4.55cqw);line-height:1.05}
.secondary b {font-size:max(27px,8.5cqw)}
.broadcast p span,.broadcast p strong {display:block;word-break:keep-all}
.rules li {flex-wrap:wrap;align-items:center;column-gap:.28em}
.rules small,.rules b {white-space:nowrap}
.spell-ring {position:absolute;pointer-events:none;inset:7%;border:3px solid #f5ffff;border-radius:50%;opacity:0;box-shadow:0 0 11px 4px #86f6ff,inset 0 0 9px #adf8ff}
[data-spell="pink"] .spell-ring {box-shadow:0 0 12px 4px #ffd298,inset 0 0 11px #ff99df}
.fairy-action {position:relative}
@media(max-width:539px){
 .rules li:first-child {flex-basis:100%}
 .rules li:first-child small {font-size:14px}
 .broadcast p span {white-space:normal}
 .dates {gap:.1em}
}
