/* 2026 The Last Run : 굿바이 잠실 */
:root {
  --red: #BD0738;
  --red-2: #A50034;
  --red-hot: #E3154C;
  --red-soft: #FCE8EE;
  --ink: #1E1A1B;
  --ink-2: #2B2627;
  --ink-3: #3A3435;
  --gray: #6B6B6B;
  --line: #ECE3E5;
  --bg: #FFFAF8;
  --white: #fff;
  --turf: #5FA52E;
  --turf-2: #7DBE3C;
  --dirt: #C98A55;
  --gold: #FFD23F;
  --led: #FFB020;
  --runit-1: #8341FF;
  --runit-2: #580EE3;
  --runit: linear-gradient(135deg, var(--runit-1), var(--runit-2));
  --f-body: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --f-disp: 'Black Han Sans', var(--f-body);
  --f-en: 'Anton', 'Black Han Sans', Impact, sans-serif;
  --f-dot: 'DotGothic16', ui-monospace, monospace;
  --hh: 76px;
  --r: 22px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--hh) + 12px); -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--f-body); color: var(--ink); background: var(--bg); line-height: 1.65; letter-spacing: -0.01em; word-break: keep-all; overflow-x: clip; -webkit-font-smoothing: antialiased; }
body.menu-open, body.modal-open { overflow: hidden; }
body.is-intro { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, dl, dd, figure { margin: 0; }
.ic { width: 1.15em; height: 1.15em; flex: none; }
.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--red); color: #fff; }

/* ===== intro ===== */
.intro { position: fixed; inset: 0; z-index: 200; background: #0E0B0C; display: grid; place-items: center; overflow: hidden; pointer-events: auto; }
.intro.is-done { pointer-events: none; }
.intro-lights { position: absolute; inset: 0; display: flex; justify-content: space-between; align-items: flex-start; padding: 7vh 8vw; }
.intro-lights i { width: clamp(70px, 10vw, 140px); height: clamp(46px, 6.5vw, 90px); border-radius: 8px; background: radial-gradient(circle, #fff 0 32%, transparent 36%) 0 0 / 25% 33.4%; box-shadow: 0 0 60px 20px rgba(255, 244, 200, .35); opacity: 0; }
.intro.is-go .intro-lights i { animation: lightOn .3s steps(2) forwards; }
.intro.is-go .intro-lights i:nth-child(2) { animation-delay: .12s; }
.intro.is-go .intro-lights i:nth-child(3) { animation-delay: .24s; }
.intro.is-go .intro-lights i:nth-child(4) { animation-delay: .36s; }
@keyframes lightOn { 0% { opacity: 0; } 50% { opacity: .4; } 100% { opacity: 1; } }
.intro-ball { width: 120px; height: 120px; color: #222; transform: scale(.05) rotate(0); opacity: 0; filter: drop-shadow(0 20px 40px rgba(0,0,0,.6)); }
.intro-ball svg { width: 100%; height: 100%; }
.intro.is-go .intro-ball { animation: pitch .9s .45s cubic-bezier(.5,0,.9,.4) forwards; }
@keyframes pitch { 0% { opacity: 1; transform: scale(.05) rotate(0); } 85% { opacity: 1; transform: scale(2.4) rotate(900deg); } 100% { opacity: 0; transform: scale(9) rotate(1080deg); } }
.intro-txt { position: absolute; font-family: var(--f-en); font-size: clamp(64px, 14vw, 200px); color: #fff; letter-spacing: .02em; line-height: 1; display: flex; gap: .25em; }
.intro-txt span { display: inline-block; opacity: 0; transform: translateY(40%) skewY(8deg); }
.intro-txt span:last-child { color: var(--red-hot); }
.intro.is-go .intro-txt span { animation: introTxt .45s 1.25s var(--spring) forwards; }
.intro.is-go .intro-txt span:last-child { animation-delay: 1.38s; }
@keyframes introTxt { to { opacity: 1; transform: none; } }
.intro-wipe { position: absolute; inset: 0; background: var(--red); transform: scaleY(0); transform-origin: bottom; }
.intro.is-out .intro-wipe { animation: wipe .7s var(--ease) forwards; }
.intro.is-out { animation: introOut .5s .55s ease forwards; }
@keyframes wipe { 0% { transform: scaleY(0); transform-origin: bottom; } 50% { transform: scaleY(1); transform-origin: bottom; } 51% { transform-origin: top; } 100% { transform: scaleY(0); transform-origin: top; } }
@keyframes introOut { to { opacity: 0; visibility: hidden; } }

/* ===== progress ===== */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 120; pointer-events: none; }
.progress-bar { height: 100%; width: 100%; background: linear-gradient(90deg, var(--red), var(--red-hot), var(--gold)); transform-origin: left; transform: scaleX(var(--p, 0)); }
.progress-ball { position: absolute; top: -7px; left: 0; width: 18px; height: 18px; color: #333; transform: translateX(calc(var(--p, 0) * (100vw - 18px))) rotate(calc(var(--p, 0) * 1440deg)); filter: drop-shadow(0 2px 3px rgba(0,0,0,.3)); }
.progress-ball svg { width: 100%; height: 100%; }

/* ===== fx canvas ===== */
.fx { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 150; pointer-events: none; }

/* ===== header ===== */
.header { position: fixed; inset: 0 0 auto; z-index: 100; height: var(--hh); transition: background .35s, box-shadow .35s, transform .4s var(--ease); }
.header.is-solid { background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px) saturate(1.4); -webkit-backdrop-filter: blur(14px) saturate(1.4); box-shadow: 0 1px 0 var(--line), 0 10px 30px -18px rgba(60, 0, 20, .25); }
.header.is-hidden { transform: translateY(-100%); }
.header-in { height: 100%; width: min(1320px, 100% - 40px); margin-inline: auto; display: flex; align-items: center; gap: 28px; }
.brand img { height: 52px; width: auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,.25)); transition: transform .4s var(--spring); }
.brand:hover img { transform: rotate(-3deg) scale(1.06); }
.gnb { margin-left: auto; }
.gnb > ul { display: flex; gap: 6px; }
.gnb > ul > li { position: relative; }
.gnb > ul > li > a { display: block; padding: 10px 16px; font-weight: 700; font-size: 16px; color: #fff; border-radius: 999px; transition: color .25s, background .25s; text-shadow: 0 1px 8px rgba(0,0,0,.25); }
.header.is-solid .gnb > ul > li > a { color: var(--ink); text-shadow: none; }
.gnb > ul > li > a:hover, .gnb > ul > li > a.is-active { background: rgba(255,255,255,.18); }
.header.is-solid .gnb > ul > li > a:hover, .header.is-solid .gnb > ul > li > a.is-active { background: var(--red-soft); color: var(--red); }
.gnb .sub { position: absolute; top: calc(100% + 6px); left: 50%; min-width: 168px; padding: 8px; background: #fff; border-radius: 16px; box-shadow: 0 20px 50px -12px rgba(40, 0, 15, .3); opacity: 0; visibility: hidden; transform: translate(-50%, -6px); transition: .25s var(--ease); }
.gnb .sub::before { content: ''; position: absolute; inset: -10px 0 auto; height: 10px; }
.gnb li:hover > .sub, .gnb li:focus-within > .sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.gnb .sub a { display: block; padding: 9px 14px; border-radius: 10px; font-size: 15px; font-weight: 600; white-space: nowrap; }
.gnb .sub a:hover { background: var(--red-soft); color: var(--red); }

.btn-runit { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 22px; border-radius: 999px; background: var(--runit); color: #fff; font-weight: 800; font-size: 15px; box-shadow: 0 10px 24px -8px rgba(88, 14, 227, .55), inset 0 1px 0 rgba(255,255,255,.25); position: relative; overflow: hidden; isolation: isolate; transition: transform .3s var(--spring), box-shadow .3s; white-space: nowrap; }
.btn-runit::after { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.45) 50%, transparent 70%); transform: translateX(-120%); z-index: -1; }
.btn-runit:hover { box-shadow: 0 16px 30px -8px rgba(88, 14, 227, .7); }
.btn-runit:hover::after { animation: shine .9s ease; }
.btn-runit:hover .ic { transform: translateX(3px); }
.btn-runit .ic { transition: transform .3s; }
@keyframes shine { to { transform: translateX(120%); } }
.btn-block { display: flex; width: 100%; }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-head { margin-left: 8px; }
.burger { display: none; width: 46px; height: 46px; border-radius: 14px; background: rgba(255,255,255,.18); position: relative; margin-left: auto; }
.header.is-solid .burger { background: var(--red-soft); }
.burger i { position: absolute; left: 13px; right: 13px; height: 2.5px; border-radius: 2px; background: #fff; transition: .3s var(--ease); }
.header.is-solid .burger i { background: var(--red); }
.burger i:nth-child(1) { top: 15px; } .burger i:nth-child(2) { top: 22px; } .burger i:nth-child(3) { top: 29px; }
.burger[aria-expanded="true"] i:nth-child(1) { top: 22px; transform: rotate(45deg); }
.burger[aria-expanded="true"] i:nth-child(2) { opacity: 0; transform: scaleX(0); }
.burger[aria-expanded="true"] i:nth-child(3) { top: 22px; transform: rotate(-45deg); }
.mnav { position: fixed; inset: var(--hh) 0 0; background: var(--red); overflow-y: auto; animation: mnavIn .35s var(--ease); }
.mnav-in { padding: 24px 24px 48px; display: grid; gap: 22px; }
.mnav-group p { font-family: var(--f-en); font-size: 13px; letter-spacing: .12em; color: rgba(255,255,255,.6); margin-bottom: 6px; }
.mnav-group a { display: block; padding: 8px 0; font-family: var(--f-disp); font-size: 26px; color: #fff; border-bottom: 1px solid rgba(255,255,255,.15); }
.menu-open .header { background: var(--red); box-shadow: none; }
.menu-open .header .burger { background: rgba(255,255,255,.18); }
.menu-open .header .burger i { background: #fff; }
@keyframes mnavIn { from { opacity: 0; transform: translateY(-12px); } }

/* ===== hero ===== */
.hero { position: relative; min-height: max(100svh, 760px); overflow: hidden; background: var(--red); color: #fff; isolation: isolate; cursor: crosshair; }
.hero [data-depth] { will-change: transform; }
.hero-sky { position: absolute; inset: -6%; background: radial-gradient(120% 80% at 50% 30%, #D4123F 0%, var(--red) 45%, #8E0029 100%); }
/* 하늘: KV 원본 번개 (2026굿바이잠실_포스터_최종_out.ai 에서 추출) — 회전 없이 번쩍임만 */
.hero-rays { position: absolute; inset: 0; background: url(../img/sky-bolts.webp) 50% 41% / cover no-repeat; transform-origin: 50% 41%; animation: boltBreath 9s ease-in-out infinite; }
.hero-rays::after { content: ''; position: absolute; inset: 0; background: inherit; background-image: url(../img/sky-bolts-white.webp); opacity: 0; mix-blend-mode: soft-light; animation: zap 7s 2.2s infinite; }
@keyframes boltBreath { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.035); } }
@keyframes zap { 0%, 84%, 100% { opacity: 0; } 86% { opacity: .9; } 88% { opacity: .1; } 90% { opacity: .7; } 94% { opacity: 0; } }
.hero-flash { position: absolute; inset: 0; background: radial-gradient(circle at 50% 35%, rgba(255,255,255,.55), transparent 50%); opacity: 0; }
.hero.is-flash .hero-flash { animation: flash .6s ease; }
@keyframes flash { 0%, 100% { opacity: 0; } 20% { opacity: 1; } }

.hero-clouds { position: absolute; inset: 0; pointer-events: none; }
.cl { position: absolute; display: block; width: 260px; height: 80px; background: #F6C4CF; border-radius: 80px; filter: drop-shadow(0 6px 0 rgba(150, 0, 40, .18)); animation: drift 38s linear infinite; }
.cl::before, .cl::after { content: ''; position: absolute; background: inherit; border-radius: 50%; }
.cl::before { width: 120px; height: 120px; left: 40px; bottom: 20px; }
.cl::after { width: 90px; height: 90px; right: 40px; bottom: 26px; }
.cl.c1 { top: 56%; left: -6%; transform: scale(1.2); }
.cl.c2 { top: 52%; right: -4%; transform: scale(1.4); animation-duration: 46s; animation-direction: reverse; }
.cl.c3 { top: 22%; left: 8%; transform: scale(.6); opacity: .5; animation-duration: 60s; }
.cl.c4 { top: 16%; right: 10%; transform: scale(.5); opacity: .45; animation-duration: 54s; animation-direction: reverse; }
.cl.c5 { top: 58%; left: 34%; transform: scale(.9); opacity: .9; animation-duration: 70s; }
@keyframes drift { 0% { translate: -40px 0; } 50% { translate: 40px -6px; } 100% { translate: -40px 0; } }

.hero-stadium { position: absolute; left: -4%; right: -4%; top: 56%; height: 20%; }
.stands { position: absolute; inset: 0; width: 100%; height: 100%; }
.tower { position: absolute; bottom: 70%; width: 70px; height: 50px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 5px; background: #3C4850; border-radius: 4px; }
.tower::after { content: ''; position: absolute; top: 100%; left: 50%; width: 8px; height: 220%; margin-left: -4px; background: #3C4850; }
.tower b { background: #FFF7D6; border-radius: 2px; box-shadow: 0 0 12px 3px rgba(255, 240, 180, .7); animation: twinkle 3s infinite; }
.tower b:nth-child(2n) { animation-delay: .6s; } .tower b:nth-child(3n) { animation-delay: 1.3s; }
.tower.t-l { left: 12%; } .tower.t-r { right: 12%; }
@keyframes twinkle { 0%, 100% { opacity: 1; } 50% { opacity: .65; } }
.scoreboard { position: absolute; left: 50%; bottom: 8%; transform: translateX(-50%); width: min(300px, 40vw); }
.sb-screen { background: #283238; border: 6px solid #3C4850; border-radius: 8px; padding: 10px 8px 8px; text-align: center; box-shadow: 0 0 0 3px #1C2328, 0 12px 30px rgba(0,0,0,.35); }
.sb-main { font-family: var(--f-en); font-size: clamp(22px, 3vw, 38px); line-height: 1; color: #fff; letter-spacing: .04em; text-shadow: 0 0 10px rgba(255,255,255,.5); animation: ledBlink 4s steps(1) infinite; }
.sb-sub { font-family: var(--f-dot); color: #E7ECEF; font-size: 13px; letter-spacing: .25em; margin-top: 4px; }
.sb-leg { width: 40%; height: 30px; margin: 0 auto; background: #283238; }
@keyframes ledBlink { 0%, 92% { opacity: 1; } 93% { opacity: .2; } 95% { opacity: 1; } 97% { opacity: .3; } }

.hero-field { position: absolute; left: -6%; right: -6%; bottom: -6%; height: 34%; }
.turf { position: absolute; inset: 0; background: repeating-linear-gradient(90deg, var(--turf-2) 0 8%, var(--turf) 8% 16%); transform: perspective(500px) rotateX(38deg); transform-origin: top; box-shadow: inset 0 18px 0 #E8DCC8, inset 0 22px 0 #fff; }
.dirt { position: absolute; left: 50%; top: 32%; width: 52%; height: 70%; transform: translateX(-50%); background: radial-gradient(ellipse at 50% 40%, #E3B98A 0 40%, #D39B66 41% 60%, transparent 61%); }
.plate { position: absolute; left: 50%; top: 48%; width: 54px; height: 22px; transform: translateX(-50%); background: #fff; clip-path: polygon(0 0, 100% 0, 100% 50%, 50% 100%, 0 50%); filter: drop-shadow(0 2px 0 rgba(0,0,0,.2)); }

.hero-content { position: relative; z-index: 5; display: flex; flex-direction: column; align-items: center; text-align: center; padding: calc(var(--hh) + 22px) 20px 0; pointer-events: none; }
.hero-copy { font-weight: 700; font-size: clamp(14px, 1.6vw, 19px); line-height: 1.55; text-shadow: 0 2px 10px rgba(80, 0, 20, .45); }
.hero-copy .line { display: block; overflow: hidden; }
.hero-copy .line > span { display: inline-block; transform: translateY(110%); transition: transform .9s var(--ease); }
.hero-copy .line:nth-child(2) > span { transition-delay: .1s; }
.is-ready .hero-copy .line > span { transform: none; }
.hero-logo { width: min(620px, 82vw, 64vh); margin-top: clamp(10px, 2.5vh, 26px); }
.hero-logo img { width: 100%; height: auto; filter: drop-shadow(0 18px 30px rgba(60, 0, 15, .45)); opacity: 0; transform: scale(2.2) rotate(-6deg); }
.is-ready .hero-logo img { animation: stamp .8s .15s var(--spring) forwards; }
.is-live .hero-logo img { animation: stamp .8s .15s var(--spring) forwards, bob 5s 1.2s ease-in-out infinite; }
@keyframes stamp { 0% { opacity: 0; transform: scale(2.2) rotate(-6deg); } 60% { opacity: 1; } 100% { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.hero-chips { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: clamp(8px, 2vh, 20px); }
.hero-chips li { display: inline-flex; align-items: center; gap: 7px; padding: 9px 16px; border-radius: 999px; background: rgba(30, 26, 27, .82); border: 2px solid rgba(255,255,255,.2); font-weight: 800; font-size: clamp(14px, 1.4vw, 17px); opacity: 0; transform: translateY(16px) scale(.9); transition: .6s var(--spring); backdrop-filter: blur(4px); }
.hero-chips li.is-hot { background: #fff; color: var(--red); border-color: #fff; font-family: var(--f-en); letter-spacing: .03em; font-size: clamp(16px, 1.6vw, 20px); padding-block: 7px; }
.is-ready .hero-chips li { opacity: 1; transform: none; }
.is-ready .hero-chips li:nth-child(1) { transition-delay: .7s; } .is-ready .hero-chips li:nth-child(2) { transition-delay: .8s; } .is-ready .hero-chips li:nth-child(3) { transition-delay: .9s; }

.char { position: absolute; z-index: 6; display: block; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.char img { width: 100%; height: auto; filter: drop-shadow(0 16px 18px rgba(40, 0, 10, .35)); transform-origin: 50% 90%; transition: transform .35s var(--spring); }
.char:hover img { transform: scale(1.06) rotate(-2deg); }
.char-star { left: max(2%, calc(50% - 640px)); bottom: 15%; width: clamp(150px, 19vw, 300px); }
.char-lucky { right: max(90px, calc(50% - 620px)); bottom: 13%; width: clamp(140px, 17vw, 270px); }
.char-nero { left: 22%; bottom: 3%; width: clamp(110px, 10vw, 160px); }
.char .bubble { position: absolute; top: -8%; left: 50%; padding: 8px 14px; border-radius: 16px; background: #fff; color: var(--red); font-family: var(--f-disp); font-size: clamp(14px, 1.5vw, 20px); white-space: nowrap; box-shadow: 0 10px 24px rgba(0,0,0,.2); opacity: 0; transform: translate(-50%, 10px) scale(.6); transition: .35s var(--spring); pointer-events: none; }
.char .bubble::after { content: ''; position: absolute; top: 100%; left: 50%; margin-left: -8px; border: 8px solid transparent; border-top-color: #fff; }
.char.is-talk .bubble { opacity: 1; transform: translate(-50%, 0) scale(1); }
.char-star, .char-lucky, .char-nero { opacity: 0; }
.is-ready .char-star { animation: popL .9s .5s var(--spring) forwards; }
.is-ready .char-lucky { animation: popR .9s .65s var(--spring) forwards; }
.is-ready .char-nero { animation: neroIn 1.2s .9s var(--ease) forwards; }
@keyframes popL { from { opacity: 0; translate: -60% 30%; rotate: -15deg; } to { opacity: 1; translate: 0 0; rotate: 0deg; } }
@keyframes popR { from { opacity: 0; translate: 60% 30%; rotate: 15deg; } to { opacity: 1; translate: 0 0; rotate: 0deg; } }
@keyframes neroIn { from { opacity: 0; translate: -60vw 0; } to { opacity: 1; translate: 0 0; } }
.is-live .char-star img { animation: idle 2.6s ease-in-out infinite; }
.is-live .char-lucky img { animation: idleRun .9s ease-in-out infinite; }
.is-live .char-nero img { animation: idleRun .5s ease-in-out infinite; }
@keyframes idle { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes idleRun { 0%, 100% { translate: 0 0; rotate: 0deg; } 50% { translate: 0 -8px; rotate: -2deg; } }
.char.is-act img { animation: act .7s var(--spring) !important; }
@keyframes act { 0% { transform: rotate(0) scale(1); } 30% { transform: rotate(-14deg) scale(1.08); } 60% { transform: rotate(10deg) scale(1.12); } 100% { transform: none; } }
.char-nero.is-act img { animation: neroJump .7s var(--spring) !important; }
@keyframes neroJump { 0%, 100% { transform: none; } 40% { transform: translateY(-60px) rotate(-12deg) scale(1.1); } }

.hero-bottom { position: absolute; z-index: 7; left: 50%; bottom: clamp(64px, 9vh, 110px); transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 16px; opacity: 0; translate: 0 30px; transition: opacity .8s 1.1s, translate .8s 1.1s var(--ease); }
.is-ready .hero-bottom { opacity: 1; translate: 0 0; }
.led { display: flex; flex-wrap: wrap; justify-content: center; align-items: flex-start; gap: 6px; padding: 12px 18px 10px; background: #141011; border-radius: 16px; border: 3px solid #3A3435; box-shadow: 0 0 0 4px #0B0809, 0 20px 40px -10px rgba(0,0,0,.6), inset 0 0 30px rgba(255, 176, 32, .08); }
.led-title { flex-basis: 100%; display: flex; justify-content: center; align-items: baseline; gap: 12px; padding-bottom: 8px; margin-bottom: 6px; border-bottom: 1px dashed rgba(255,255,255,.14); }
.led-title b { font-family: var(--f-en); font-weight: 400; font-size: 20px; letter-spacing: .06em; color: #fff; text-shadow: 0 0 10px rgba(255,255,255,.55); animation: ledBlink 4s steps(1) infinite; }
.led-title span { font-family: var(--f-dot); font-size: 12px; letter-spacing: .25em; color: #CFC6C7; }
.led-cell { display: flex; flex-direction: column; align-items: center; min-width: 64px; }
.led-num { font-family: var(--f-dot); font-size: clamp(30px, 3.6vw, 46px); line-height: 1; color: var(--led); text-shadow: 0 0 8px rgba(255, 176, 32, .85), 0 0 22px rgba(255, 120, 0, .45); letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.led-num.flip { animation: flipNum .45s var(--ease); }
@keyframes flipNum { 0% { transform: rotateX(90deg); opacity: .2; } 100% { transform: none; opacity: 1; } }
.led-lb { margin-top: 6px; font-family: var(--f-en); font-size: 11px; letter-spacing: .2em; color: #9C9293; }
.led-colon { font-family: var(--f-dot); font-style: normal; font-size: clamp(26px, 3vw, 40px); line-height: 1; color: var(--led); opacity: .8; animation: colon 1s steps(1) infinite; }
@keyframes colon { 50% { opacity: .15; } }
.led-done { font-family: var(--f-disp); font-size: 22px; }
.btn-hero { display: inline-flex; align-items: center; gap: 10px; padding: 16px 30px; border-radius: 999px; background: #fff; color: var(--red); font-family: var(--f-disp); font-size: clamp(17px, 1.6vw, 21px); box-shadow: 0 0 0 5px rgba(255,255,255,.25), 0 16px 34px -8px rgba(60, 0, 15, .55); transition: transform .3s var(--spring), box-shadow .3s; position: relative; overflow: hidden; }
.btn-hero::before { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: 0 0 0 0 rgba(255,255,255,.7); animation: ring 2.2s infinite; }
@keyframes ring { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.65); } 100% { box-shadow: 0 0 0 22px rgba(255,255,255,0); } }
.btn-hero:hover { box-shadow: 0 0 0 7px rgba(255,255,255,.35), 0 20px 40px -8px rgba(60, 0, 15, .6); }
.btn-hero .ic { transition: transform .3s; } .btn-hero:hover .ic { transform: translateX(4px); }
.hero-hint { position: absolute; z-index: 7; left: 0; right: 0; bottom: 36px; text-align: center; font-size: 12px; font-weight: 600; color: rgba(255,255,255,.8); letter-spacing: .02em; opacity: 0; transition: opacity 1s 2.4s; pointer-events: none; }
.is-ready .hero-hint { opacity: 1; }
.scroll-cue { position: absolute; z-index: 7; right: 28px; bottom: 26px; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.7); border-radius: 14px; }
.scroll-cue span { position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: cue 1.6s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ===== marquee ===== */
.marquee { position: relative; z-index: 3; overflow: hidden; white-space: nowrap; padding: 14px 0; font-family: var(--f-en); font-size: clamp(22px, 3vw, 40px); letter-spacing: .03em; line-height: 1; }
.marquee.m1 { background: var(--ink); color: #fff; transform: rotate(-2deg); margin: -26px -20px 0; box-shadow: 0 12px 30px rgba(0,0,0,.25); }
.marquee.m2 { background: var(--red); color: #fff; transform: rotate(1.2deg); margin: -8px -20px 0; z-index: 2; }
.marquee-track { display: inline-flex; gap: 28px; align-items: center; will-change: transform; }
.marquee-track span:nth-of-type(odd) { color: transparent; -webkit-text-stroke: 1.5px currentColor; }
.m1 .marquee-track span:nth-of-type(odd) { -webkit-text-stroke-color: #fff; }
.m1 .marquee-track span:nth-of-type(even) { color: var(--red-hot); }
.m2 .marquee-track span:nth-of-type(odd) { -webkit-text-stroke-color: #fff; }
.marquee-track b { font-size: .6em; color: var(--gold); }

/* ===== sponsor roll ===== */
.sponsor-roll { position: relative; z-index: 1; display: flex; align-items: center; gap: 22px; margin-top: 22px; padding: 22px 0 22px max(20px, calc(50% - 600px)); background: #fff; border-bottom: 1px solid var(--line); }
.sponsor-roll-lb { flex: none; font-family: var(--f-en); font-size: 15px; letter-spacing: .16em; color: var(--red); writing-mode: vertical-rl; transform: rotate(180deg); }
.sponsor-roll-view { flex: 1; min-width: 0; overflow: hidden; mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.sponsor-roll-track { display: flex; align-items: center; width: max-content; animation: roll var(--roll-dur, 30s) linear infinite; }
.sponsor-roll:hover .sponsor-roll-track { animation-play-state: paused; }
.sponsor-roll-track li { flex: none; display: flex; align-items: center; justify-content: center; height: 56px; padding: 0 clamp(26px, 3.4vw, 48px); }
.sponsor-roll-track img { display: block; height: 44px; width: auto; max-width: 180px; object-fit: contain; transition: transform .3s var(--spring); }
.sponsor-roll-track li:hover img { transform: scale(1.08); }
@keyframes roll { to { transform: translateX(-50%); } }

/* ===== section base ===== */
.section { position: relative; padding: clamp(90px, 12vw, 150px) 0; }
.sec-head { margin-bottom: clamp(36px, 5vw, 60px); }
.eyebrow { font-family: var(--f-en); font-size: clamp(15px, 1.4vw, 18px); letter-spacing: .14em; color: var(--red); display: inline-flex; gap: .4em; align-items: center; }
.eyebrow span { color: var(--ink); }
.eyebrow::before { content: ''; width: 14px; height: 14px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.2 4.6c2.2 2 3.3 4.6 3.3 7.4s-1.1 5.4-3.3 7.4M17.8 4.6c-2.2 2-3.3 4.6-3.3 7.4s1.1 5.4 3.3 7.4' fill='none' stroke='%23D3123F' stroke-width='2'/%3E%3C/svg%3E") center/100%; box-shadow: 0 0 0 2px var(--ink); }
.h2 { font-family: var(--f-disp); font-weight: 400; font-size: clamp(38px, 5.6vw, 68px); line-height: 1.1; margin-top: 10px; letter-spacing: -0.01em; }
.sec-desc { margin-top: 14px; font-size: clamp(15px, 1.4vw, 18px); color: #5A5254; }
.sec-head--light .eyebrow { color: var(--gold); }
.sec-head--light .eyebrow span { color: #fff; }
.sec-head--light .eyebrow::before { box-shadow: 0 0 0 2px #fff; }
.sec-head--light .h2 { color: #fff; }
.sec-head--light .sec-desc { color: rgba(255,255,255,.75); }
.note { font-size: 14px; color: #7A7173; margin-top: 8px; }

/* reveal */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ===== story ===== */
.story { background: var(--bg); overflow: hidden; padding-top: clamp(120px, 14vw, 180px); }
.story-bg { position: absolute; inset: 0; display: flex; align-items: center; pointer-events: none; }
.outline-txt { font-family: var(--f-en); font-size: clamp(120px, 20vw, 300px); line-height: 1; white-space: nowrap; color: transparent; -webkit-text-stroke: 2px rgba(189, 7, 56, .1); transform: translateX(var(--x, 0)); }
.story-in { position: relative; text-align: center; }
.story-year { display: flex; align-items: center; justify-content: center; gap: clamp(14px, 3vw, 40px); font-family: var(--f-en); font-size: clamp(64px, 11vw, 160px); line-height: 1; }
.yr { color: var(--ink); font-variant-numeric: tabular-nums; }
.yr-end { color: var(--red); }
.yr-line { position: relative; width: clamp(60px, 14vw, 200px); height: 8px; background: var(--line); border-radius: 4px; overflow: hidden; }
.yr-line b { position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink), var(--red)); transform: scaleX(0); transform-origin: left; transition: transform 1.8s var(--ease) .3s; }
.story-year.in .yr-line b { transform: scaleX(1); }
.story-lead { max-width: 860px; margin: clamp(36px, 5vw, 56px) auto 0; font-family: var(--f-disp); font-size: clamp(24px, 3.2vw, 42px); line-height: 1.45; }
.split .w { display: inline-block; color: #D9CFD1; transition: color .4s; }
.split .w.on { color: var(--ink); }
.split .w.on.hl { color: var(--red); }
.story-cast { display: flex; justify-content: center; align-items: flex-end; gap: clamp(10px, 4vw, 60px); margin-top: clamp(40px, 6vw, 70px); }
.cast { position: relative; width: clamp(100px, 16vw, 200px); }
.cast:nth-child(2) { width: clamp(90px, 13vw, 170px); }
.cast img { width: 100%; height: auto; transition: transform .5s var(--spring); filter: drop-shadow(0 14px 14px rgba(60, 0, 15, .18)); }
.cast:hover img { transform: translateY(-14px) rotate(-4deg) scale(1.05); }
.cast figcaption { margin-top: 10px; font-weight: 700; font-size: 14px; color: var(--gray); }
.cast figcaption b { display: block; font-family: var(--f-en); font-weight: 400; font-size: clamp(18px, 2vw, 24px); color: var(--ink); letter-spacing: .06em; }
.story-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: clamp(50px, 7vw, 80px); }
.story-stats li { padding: 28px 18px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); box-shadow: 0 20px 40px -30px rgba(80, 0, 25, .35); }
.story-stats .num { font-family: var(--f-en); font-weight: 400; font-size: clamp(44px, 6vw, 76px); line-height: 1; color: var(--red); }
.story-stats .unit { font-family: var(--f-en); font-size: clamp(24px, 3vw, 40px); color: var(--red); }
.story-stats p { margin-top: 8px; font-weight: 700; color: #5A5254; }

/* ===== overview / lineup ===== */
.overview { background: #fff; }
.lineup { position: relative; background: var(--ink); color: #fff; border-radius: 28px; padding: clamp(22px, 3vw, 40px); box-shadow: 0 30px 60px -30px rgba(40, 0, 10, .6); overflow: hidden; }
.lineup::before { content: ''; position: absolute; inset: 10px; border: 2px dashed rgba(255,255,255,.12); border-radius: 22px; pointer-events: none; }
.lineup-head { display: grid; grid-template-columns: 70px 160px 1fr; gap: 16px; padding: 0 12px 14px; font-family: var(--f-en); font-size: 13px; letter-spacing: .2em; color: #8C8284; border-bottom: 2px solid rgba(255,255,255,.12); }
.lineup-list li { display: grid; grid-template-columns: 70px 160px 1fr; gap: 16px; align-items: center; padding: 16px 12px; border-bottom: 1px solid rgba(255,255,255,.08); border-radius: 12px; transition: background .3s; opacity: 0; transform: translateX(-30px); }
.lineup.in .lineup-list li { animation: rowIn .6s var(--ease) forwards; }
.lineup-list li:nth-child(1) { animation-delay: .1s !important; } .lineup-list li:nth-child(2) { animation-delay: .18s !important; } .lineup-list li:nth-child(3) { animation-delay: .26s !important; } .lineup-list li:nth-child(4) { animation-delay: .34s !important; } .lineup-list li:nth-child(5) { animation-delay: .42s !important; } .lineup-list li:nth-child(6) { animation-delay: .5s !important; } .lineup-list li:nth-child(7) { animation-delay: .58s !important; } .lineup-list li:nth-child(8) { animation-delay: .66s !important; }
@keyframes rowIn { to { opacity: 1; transform: none; } }
.lineup-list li:hover { background: rgba(255,255,255,.06); }
.lineup-list li:hover i { background: var(--red-hot); transform: scale(1.12) rotate(-8deg); }
.lineup-list i { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; background: var(--red); font-family: var(--f-en); font-style: normal; font-size: 22px; transition: .3s var(--spring); }
.lp { font-weight: 700; color: #B5ABAD; }
.lineup-list strong { font-size: clamp(16px, 1.6vw, 20px); font-weight: 800; }
.lineup-list small { display: block; font-size: 13px; font-weight: 600; color: var(--gold); margin-top: 2px; }
.tag-10k { display: inline-block; padding: 2px 14px; border-radius: 999px; background: var(--red); font-family: var(--f-en); font-style: normal; font-weight: 400; letter-spacing: .04em; }
.lineup-char { position: absolute; right: clamp(10px, 3vw, 40px); bottom: -10px; width: clamp(110px, 14vw, 190px); height: auto; transform: rotate(6deg); transition: transform .5s var(--spring); }
.lineup:hover .lineup-char { transform: rotate(-4deg) translateY(-12px); }
.nowheel { margin-top: 20px; display: flex; gap: 16px; align-items: flex-start; padding: 22px 24px; border-radius: 20px; background: var(--red-soft); color: #5A1A2A; font-size: 15px; }
.nowheel b { color: var(--red); }
.nowheel-ic { font-size: 28px; line-height: 1; }

/* ===== schedule ===== */
.schedule { background: var(--ink); color: #fff; overflow: hidden; }
.schedule::before { content: ''; position: absolute; inset: 0; background: radial-gradient(60% 50% at 80% 0%, rgba(189, 7, 56, .45), transparent 70%), radial-gradient(50% 50% at 0% 100%, rgba(95, 165, 46, .25), transparent 70%); pointer-events: none; }
.innings { position: relative; display: grid; gap: 14px; padding-left: 60px; }
.inn-rail { position: absolute; left: 22px; top: 10px; bottom: 10px; width: 4px; background: rgba(255,255,255,.12); border-radius: 2px; }
.inn-rail b { position: absolute; inset: 0; background: linear-gradient(var(--gold), var(--red-hot)); transform-origin: top; transform: scaleY(var(--tp, 0)); border-radius: 2px; }
.inn-ball { position: absolute; left: 50%; top: calc(var(--tp, 0) * 100%); width: 28px; height: 28px; margin: -14px 0 0 -14px; color: #333; transform: rotate(calc(var(--tp, 0) * 1080deg)); filter: drop-shadow(0 0 10px rgba(255, 210, 63, .8)); }
.inn-ball svg { width: 100%; height: 100%; }
.inning { position: relative; display: grid; grid-template-columns: 80px 150px 1fr; align-items: center; gap: 20px; padding: 22px 26px; border-radius: 20px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08); transition: background .4s, border-color .4s, transform .4s var(--spring); }
.inning::before { content: ''; position: absolute; left: -44px; top: 50%; width: 14px; height: 14px; margin-top: -7px; border-radius: 50%; background: var(--ink); border: 3px solid rgba(255,255,255,.3); transition: .3s; }
.inning.is-on { background: rgba(255,255,255,.1); border-color: rgba(255, 210, 63, .4); }
.inning.is-on::before { background: var(--gold); border-color: var(--gold); box-shadow: 0 0 0 6px rgba(255, 210, 63, .2); }
.inning:hover { transform: translateX(8px); }
.inn-no { font-family: var(--f-en); font-size: 30px; color: rgba(255,255,255,.35); line-height: 1; }
.inn-no sup { font-size: .45em; margin-left: 2px; }
.inning time { font-family: var(--f-dot); font-size: clamp(28px, 3vw, 38px); color: var(--led); text-shadow: 0 0 10px rgba(255, 176, 32, .6); line-height: 1; }
.inning time small { font-size: .55em; }
.inning h3 { font-family: var(--f-disp); font-weight: 400; font-size: clamp(20px, 2vw, 26px); }
.inning p { color: rgba(255,255,255,.65); font-size: 15px; }
.inning.is-key { background: linear-gradient(110deg, var(--red), var(--red-2)); border-color: transparent; }
.inning.is-key .inn-no { color: rgba(255,255,255,.7); }
.inning.is-key time { color: #fff; text-shadow: 0 0 12px rgba(255,255,255,.6); }
.inning.is-key p { color: rgba(255,255,255,.85); }

/* ===== apply ===== */
.apply { background: var(--bg); overflow: hidden; }
.apply::before { content: 'TICKET'; position: absolute; right: -2vw; top: 40px; font-family: var(--f-en); font-size: clamp(120px, 18vw, 260px); line-height: 1; color: transparent; -webkit-text-stroke: 2px rgba(189, 7, 56, .08); pointer-events: none; }
.phase { position: relative; margin-bottom: 40px; padding: 28px 24px 22px; background: #fff; border-radius: var(--r); border: 1px solid var(--line); box-shadow: 0 20px 40px -32px rgba(80, 0, 25, .4); }
.phase-track { position: relative; height: 6px; margin: 0 12.5%; background: var(--line); border-radius: 3px; }
.phase-fill { position: absolute; inset: 0; background: linear-gradient(90deg, var(--red), var(--red-hot)); border-radius: 3px; transform-origin: left; transform: scaleX(0); transition: transform 1.4s var(--ease) .3s; }
.phase.in .phase-fill { transform: scaleX(var(--pp, 0)); }
.phase-now { position: absolute; top: 50%; left: calc(var(--pp, 0) * 100%); width: 18px; height: 18px; margin: -9px 0 0 -9px; border-radius: 50%; background: var(--red-hot); box-shadow: 0 0 0 5px rgba(227, 21, 76, .2); opacity: 0; transition: opacity .4s 1.6s; }
.phase.in .phase-now { opacity: 1; animation: nowPulse 1.6s 1.8s infinite; }
.phase-now em { position: absolute; bottom: 150%; left: 50%; transform: translateX(-50%); font-family: var(--f-en); font-style: normal; font-size: 12px; letter-spacing: .12em; background: var(--ink); color: #fff; padding: 3px 8px; border-radius: 6px; }
@keyframes nowPulse { 50% { box-shadow: 0 0 0 11px rgba(227, 21, 76, 0); } }
.phase-steps { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 18px; text-align: center; }
.phase-steps li { position: relative; padding-top: 6px; }
.phase-steps li::before { content: ''; position: absolute; top: -27px; left: 50%; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: #fff; border: 3px solid var(--line); transition: .4s; }
.phase-steps li.is-past::before { border-color: var(--red); background: var(--red); }
.phase-steps li.is-race b { color: var(--red); }
.phase-steps b { font-family: var(--f-en); font-weight: 400; font-size: clamp(20px, 2.4vw, 30px); line-height: 1; }
.phase-steps span { font-size: 13px; font-weight: 700; color: var(--gray); margin-left: 2px; }
.phase-steps p { margin-top: 4px; font-weight: 800; font-size: 15px; }
.phase-steps small { display: block; font-weight: 600; font-size: 12px; color: var(--gray); }

.tickets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; perspective: 1200px; }
.ticket { position: relative; display: flex; flex-direction: column; border-radius: 24px; background: #fff; box-shadow: 0 30px 50px -30px rgba(80, 0, 25, .45), 0 0 0 1px var(--line); transform-style: preserve-3d; transition: box-shadow .4s, transform .5s var(--ease); --rx: 0deg; --ry: 0deg; }
.ticket.in { transform: rotateX(var(--rx)) rotateY(var(--ry)); }
.ticket::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(circle at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,.55), transparent 45%); opacity: 0; transition: opacity .3s; pointer-events: none; mix-blend-mode: soft-light; }
.ticket:hover::after { opacity: 1; }
.ticket:hover { box-shadow: 0 40px 60px -30px rgba(80, 0, 25, .55), 0 0 0 2px var(--red); }
.ticket-main { padding: 26px 26px 22px; flex: 1; display: flex; flex-direction: column; border-radius: 24px 24px 0 0; background: linear-gradient(160deg, #fff 55%, var(--red-soft)); }
.ticket--lg .ticket-main { background: linear-gradient(160deg, var(--red) 10%, var(--red-2)); color: #fff; }
.ticket-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.t-badge { display: inline-block; padding: 5px 12px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 800; font-size: 13px; }
.t-badge--red { background: #fff; color: var(--red); }
.t-badge--dark { background: var(--ink); }
.t-status { display: inline-flex; align-items: center; gap: 6px; font-weight: 800; font-size: 13px; color: var(--gray); }
.t-status::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.ticket--lg .t-status { color: rgba(255,255,255,.8); }
[data-state="open"] .t-status { color: #11A85A; }
[data-state="open"] .t-status::before { animation: blinkDot 1s infinite; box-shadow: 0 0 0 4px rgba(17, 168, 90, .2); }
.ticket--lg[data-state="open"] .t-status { color: #8CFFB9; }
[data-state="closed"] .t-status { color: #A09597; }
@keyframes blinkDot { 50% { opacity: .3; } }
.t-title { margin-top: 18px; font-family: var(--f-disp); font-weight: 400; font-size: clamp(26px, 2.6vw, 34px); line-height: 1.2; }
.t-limit { display: inline-block; margin-left: 6px; padding: 2px 9px 3px; border: 2.5px solid var(--red); border-radius: 6px; background: #fff; color: var(--ink); font-family: var(--f-disp); font-style: normal; font-size: .6em; line-height: 1.15; vertical-align: middle; white-space: nowrap; transform: translateY(-2px) rotate(-2deg); box-shadow: 3px 3px 0 var(--red); animation: limitPop 2.8s ease-in-out infinite; }
.ticket--lg .t-limit { border-color: #fff; background: var(--red-2); color: #fff; box-shadow: 3px 3px 0 var(--ink); }
@keyframes limitPop { 0%, 80%, 100% { transform: translateY(-2px) rotate(-2deg); } 86% { transform: translateY(-4px) rotate(2deg) scale(1.08); } 92% { transform: translateY(-2px) rotate(-3deg); } }
.t-quota { margin-top: 8px; font-weight: 700; font-size: 15px; color: var(--gray); }
.t-quota b { color: var(--red); font-family: var(--f-en); font-weight: 400; font-size: 20px; letter-spacing: .02em; }
.ticket--lg .t-quota { color: rgba(255,255,255,.8); }
.t-price { margin-top: 16px; font-weight: 800; font-size: 18px; }
.t-price b { font-family: var(--f-en); font-weight: 400; font-size: clamp(40px, 4vw, 54px); line-height: 1; letter-spacing: .01em; }
.t-price small { display: block; margin-top: 4px; font-size: 13px; color: var(--red); font-weight: 700; }
.t-when { margin-top: 16px; display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; font-size: 14px; padding-top: 16px; border-top: 1px dashed rgba(0,0,0,.14); }
.ticket--lg .t-when { border-color: rgba(255,255,255,.3); }
.t-when dt { font-weight: 700; color: var(--gray); }
.ticket--lg .t-when dt { color: rgba(255,255,255,.7); }
.t-when dd { font-weight: 700; }
.t-note { margin-top: auto; padding-top: 14px; font-size: 13px; color: #7A7173; }
.ticket--lg .t-note { color: rgba(255,255,255,.75); }
.t-note--app { margin-top: auto; padding: 10px 12px; border-radius: 10px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35); color: #fff !important; font-weight: 800; font-size: 14px; }
.ticket-stub { position: relative; padding: 20px 26px 24px; border-top: 2px dashed var(--line); border-radius: 0 0 24px 24px; background: #fff; }
.ticket-stub::before, .ticket-stub::after { content: ''; position: absolute; top: -14px; width: 26px; height: 26px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 1px var(--line); }
.ticket-stub::before { left: -13px; } .ticket-stub::after { right: -13px; }
.t-count { min-height: 1.6em; margin-bottom: 10px; text-align: center; font-family: var(--f-dot); font-size: 15px; color: var(--red); letter-spacing: .02em; }
.btn-tl { background: linear-gradient(135deg, #2D2829, #121011); box-shadow: 0 10px 24px -8px rgba(0,0,0,.5); }
.btn-tl:hover { box-shadow: 0 16px 30px -8px rgba(0,0,0,.6); }
[data-state="soon"] .btn-runit[href="#"], [data-state="closed"] .btn-runit { filter: saturate(.55); opacity: .82; }
[data-state="closed"] .btn-runit { filter: grayscale(1); opacity: .5; }
.refund-line { margin-top: 26px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 16px; border-radius: 16px; background: var(--ink); color: #fff; font-weight: 600; text-align: center; flex-wrap: wrap; }
.refund-line b { color: var(--gold); }
.refund-line .ic { color: var(--gold); }
.apply-notes { margin-top: 26px; padding: clamp(22px, 3vw, 34px); border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.apply-notes h3 { font-family: var(--f-disp); font-weight: 400; font-size: 22px; color: var(--red); margin-bottom: 12px; }
.apply-notes ul li, .g-body ul li, .acc-body ul li, .doc ul li { position: relative; padding-left: 16px; margin: 6px 0; }
.apply-notes ul li::before, .g-body ul li::before, .acc-body ul li::before, .doc ul li::before { content: ''; position: absolute; left: 2px; top: .7em; width: 5px; height: 5px; border-radius: 50%; background: var(--red); }
.fee-box { margin-top: 22px; }
.fee-btn { display: inline-flex; align-items: center; gap: 7px; margin: 2px 0 4px; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 800; font-size: 14px; transition: background .25s, transform .3s var(--spring); }
.fee-btn:hover { background: var(--red); transform: translateY(-2px); }
.fee-btn .chev { transition: transform .3s var(--ease); }
.fee-btn[aria-expanded="true"] { background: var(--red); }
.fee-btn[aria-expanded="true"] .chev { transform: rotate(180deg); }
.fee-fold { margin-top: 10px; animation: accIn .4s var(--ease); }
.fee-fold[hidden] { display: none; }
.t-fee { display: block; margin-top: 4px; font-size: 13px; font-weight: 700; color: var(--gray) !important; }
.ticket--lg .t-fee { color: rgba(255,255,255,.75) !important; }
.cert-note { margin-top: 6px; font-size: 13px; color: var(--gray); }
.fee-head { margin: 14px 0 10px; font-size: 15px; }
.fee-head b { display: inline-block; padding: 2px 10px; border-radius: 6px; background: var(--ink); color: #fff; font-size: 13px; margin-right: 6px; }
.table-wrap { overflow-x: auto; border-radius: 14px; border: 1px solid var(--line); }
.fee { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 520px; background: #fff; }
.fee th, .fee td { padding: 13px 14px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); text-align: left; vertical-align: middle; }
.fee thead th { background: var(--ink); color: #fff; font-weight: 700; border-color: rgba(255,255,255,.1); }
.fee tbody th { background: #FBF5F6; font-weight: 700; white-space: nowrap; }
.fee td:nth-child(2) { font-weight: 800; color: var(--red); white-space: nowrap; }
.fee td[rowspan] { font-size: 13px; color: #5A5254; line-height: 1.6; }
.fee tr:last-child th, .fee tr:last-child td { border-bottom: 0; }
.fee thead th:last-child, .fee td[rowspan] { border-right: 0; }
.fee td[rowspan] { border-left: 1px solid var(--line); }

/* ===== pace ===== */
.pace { background: linear-gradient(180deg, #2E7D1F, #1F5E14); color: #fff; overflow: hidden; }
.pace::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, rgba(255,255,255,.04) 0 80px, transparent 80px 160px); pointer-events: none; }
.pace-in { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.pace-in .sec-head { margin-bottom: 0; }
.pace-card { position: relative; padding: clamp(24px, 3vw, 38px); border-radius: 28px; background: rgba(10, 30, 6, .45); border: 1px solid rgba(255,255,255,.15); backdrop-filter: blur(8px); box-shadow: 0 40px 60px -30px rgba(0,0,0,.5); }
.pace-input label { font-weight: 700; color: rgba(255,255,255,.75); font-size: 15px; }
.pace-time { display: block; margin: 4px 0 14px; font-family: var(--f-dot); font-size: clamp(48px, 6vw, 76px); line-height: 1; color: var(--led); text-shadow: 0 0 14px rgba(255, 176, 32, .7); letter-spacing: .03em; font-variant-numeric: tabular-nums; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 12px; border-radius: 6px; background: linear-gradient(90deg, var(--gold) 0 var(--fill, 50%), rgba(255,255,255,.18) var(--fill, 50%)); outline: none; cursor: pointer; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 34px; height: 34px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.2 4.6c2.2 2 3.3 4.6 3.3 7.4s-1.1 5.4-3.3 7.4M17.8 4.6c-2.2 2-3.3 4.6-3.3 7.4s1.1 5.4 3.3 7.4' fill='none' stroke='%23D3123F' stroke-width='1.6' stroke-dasharray='1.6 1.4'/%3E%3C/svg%3E") center/100%; box-shadow: 0 4px 12px rgba(0,0,0,.4); border: 2px solid #ddd; transition: transform .2s; }
input[type="range"]::-webkit-slider-thumb:hover { transform: scale(1.15) rotate(40deg); }
input[type="range"]::-moz-range-thumb { width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 2px solid #ddd; box-shadow: 0 4px 12px rgba(0,0,0,.4); }
.pace-scale { display: flex; justify-content: space-between; margin-top: 8px; font-size: 12px; font-weight: 700; color: rgba(255,255,255,.55); }
.pace-track { position: relative; height: 110px; margin-top: 22px; }
.pt-line { position: absolute; left: 0; right: 0; bottom: 18px; height: 8px; border-radius: 4px; background: repeating-linear-gradient(90deg, #fff 0 18px, transparent 18px 30px); opacity: .35; }
.pt-fill { position: absolute; inset: 0; background: var(--gold); border-radius: 4px; transform-origin: left; transform: scaleX(var(--run, .5)); opacity: 1; }
.pt-runner { position: absolute; bottom: 22px; left: calc(var(--run, .5) * (100% - 70px)); width: 70px; height: auto; transition: left .5s var(--ease); animation: idleRun .5s ease-in-out infinite; }
.pt-start, .pt-goal { position: absolute; bottom: -6px; font-family: var(--f-en); font-size: 12px; letter-spacing: .12em; color: rgba(255,255,255,.6); }
.pt-start { left: 0; } .pt-goal { right: 0; color: var(--gold); }
.pace-out { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; }
.pace-out > div { padding: 16px 12px; border-radius: 16px; background: rgba(255,255,255,.08); text-align: center; }
.pace-out dt { font-size: 13px; font-weight: 700; color: rgba(255,255,255,.65); }
.pace-out dd { margin-top: 4px; font-family: var(--f-en); font-size: clamp(24px, 2.6vw, 32px); line-height: 1.1; }
.pace-out small { font-family: var(--f-body); font-size: 12px; font-weight: 700; margin-left: 3px; color: rgba(255,255,255,.65); }
.pace-msg { margin-top: 16px; padding: 12px 16px; border-radius: 14px; background: rgba(255, 210, 63, .14); color: var(--gold); font-weight: 700; text-align: center; font-size: 15px; }
.pace-msg.is-warn { background: rgba(227, 21, 76, .25); color: #FFC2D1; }

/* ===== guide ===== */
.guide { background: #fff; }
.guide-layout { display: grid; grid-template-columns: 300px 1fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.guide-layout > *, .record-grid > *, .pace-in > *, .course-map > * { min-width: 0; }
.guide-side-sticky { position: sticky; top: calc(var(--hh) + 20px); }
.g-search { display: flex; align-items: center; gap: 10px; padding: 0 16px; height: 54px; border-radius: 16px; border: 1.5px solid var(--line); background: var(--bg); transition: border-color .3s, box-shadow .3s; }
.g-search:focus-within { border-color: var(--red); box-shadow: 0 0 0 4px rgba(189, 7, 56, .12); }
.g-search .ic { color: var(--red); }
.g-search input { flex: 1; min-width: 0; border: 0; background: none; font: inherit; font-size: 15px; outline: none; }
.g-count { font-size: 13px; font-weight: 800; color: var(--red); }
.g-tabs { display: grid; gap: 6px; margin-top: 16px; }
.g-tab { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border-radius: 14px; font-weight: 700; text-align: left; transition: background .25s, color .25s, transform .3s var(--spring); }
.g-tab:hover { background: var(--red-soft); transform: translateX(4px); }
.g-tab .ic { color: var(--gray); }
.g-tab b { margin-left: auto; min-width: 28px; height: 24px; padding: 0 8px; display: grid; place-items: center; border-radius: 12px; background: var(--red-soft); color: var(--red); font-size: 13px; }
.g-tab.is-on { background: var(--ink); color: #fff; }
.g-tab.is-on .ic { color: var(--red-hot); }
.g-tab.is-on b { background: rgba(255,255,255,.15); color: #fff; }
.g-help { margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--gray); }
.g-help a { font-weight: 800; color: var(--ink); }
.g-keys { display: grid; grid-template-columns: repeat(5, 1fr); border-radius: 22px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 24px 40px -30px rgba(80, 0, 25, .4); }
.g-keys li { padding: 20px 18px; border-right: 1px solid var(--line); transition: background .3s; }
.g-keys li:hover { background: var(--bg); }
.g-keys li:last-child { border-right: 0; }
.k-label { display: block; font-size: 13px; color: var(--gray); font-weight: 700; }
.g-keys strong { display: block; margin: 6px 0 4px; font-family: var(--f-disp); font-weight: 400; font-size: 22px; line-height: 1.2; }
.k-note { font-size: 12px; color: var(--gray); }
.g-keys .is-warn { background: var(--red); color: #fff; }
.g-keys .is-warn:hover { background: var(--red-2); }
.g-keys .is-warn .k-label, .g-keys .is-warn .k-note { color: rgba(255,255,255,.8); }
.g-list-head { display: flex; justify-content: space-between; align-items: center; margin-top: 36px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.g-label { font-weight: 700; }
.g-label b { color: var(--red); }
.g-actions { display: flex; gap: 6px; }
.g-act { padding: 6px 12px; border-radius: 10px; font-size: 14px; color: var(--gray); font-weight: 600; }
.g-act:hover { background: var(--bg); color: var(--ink); }
.g-item, .acc-item { border-bottom: 1px solid var(--line); }
.g-item summary, .acc-item summary { display: flex; align-items: center; gap: 14px; padding: 22px 4px; cursor: pointer; list-style: none; transition: padding .3s var(--ease); }
.g-item summary::-webkit-details-marker, .acc-item summary::-webkit-details-marker { display: none; }
.g-item summary:hover, .acc-item summary:hover { padding-left: 12px; }
.g-tag { flex: none; padding: 4px 9px; border-radius: 8px; background: var(--red-soft); color: var(--red); font-size: 12px; font-weight: 800; }
.g-item[data-cat="day"] .g-tag { background: #EAF5E2; color: #2F7A1C; }
.g-item[data-cat="rule"] .g-tag { background: #EDEBFF; color: #4B2FD1; }
.g-item[data-cat="safety"] .g-tag { background: #FFF2D6; color: #A86400; }
.g-title, .acc-t { font-weight: 800; font-size: clamp(16px, 1.5vw, 18px); flex: 1; }
.g-toggle { position: relative; flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line); transition: .35s var(--spring); }
.g-toggle::before, .g-toggle::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; background: var(--ink); border-radius: 1px; transition: transform .35s var(--ease); }
.g-toggle::after { transform: rotate(90deg); }
details[open] > summary .g-toggle { background: var(--red); border-color: var(--red); transform: rotate(180deg); }
details[open] > summary .g-toggle::before, details[open] > summary .g-toggle::after { background: #fff; }
details[open] > summary .g-toggle::after { transform: rotate(0); }
.acc-body { padding: 0 4px 26px; color: #463F41; font-size: 15px; }
.acc-body > * + * { margin-top: 10px; }
details[open] .acc-body { animation: accIn .45s var(--ease); }
@keyframes accIn { from { opacity: 0; transform: translateY(-8px); } }
.num { counter-reset: n; }
.num li { position: relative; padding-left: 32px; margin: 8px 0; counter-increment: n; }
.num li::before { content: counter(n); position: absolute; left: 0; top: 1px; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--ink); color: #fff; font-size: 12px; font-weight: 800; }
.how-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.how { padding: 18px; border-radius: 16px; background: var(--bg); border: 1px solid var(--line); }
.how-h { font-weight: 800; font-size: 16px; margin-bottom: 4px; }
.how-h span { display: inline-block; margin-left: 6px; padding: 2px 9px; border-radius: 999px; font-size: 12px; color: #fff; background: var(--runit); }
.how--tl .how-h span { background: var(--ink); }
.kv-rows { display: grid; gap: 6px; padding: 14px 16px; border-radius: 14px; background: var(--bg); }
.kv-rows p { display: flex; gap: 12px; }
.kv-rows b { flex: none; min-width: 90px; color: var(--red); }
.kv-rows--stack p { flex-direction: column; gap: 2px; }
.store-badges { display: flex; gap: 10px; flex-wrap: wrap; }
.store-badges img { height: 40px; width: auto; }
.inline-link { color: var(--red); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
mark { background: #FFE58A; color: inherit; border-radius: 3px; padding: 0 2px; }
.g-empty { padding: 40px 0; text-align: center; color: var(--gray); }
.g-item.is-hide { display: none; }

/* ===== course ===== */
.course { background: radial-gradient(80% 60% at 50% 0%, #2F6E1F, #163D0D); color: #fff; overflow: hidden; }
.course-map { position: relative; border-radius: 30px; box-shadow: 0 40px 70px -30px rgba(0,0,0,.6); }
.course-map picture, .course-map picture img { display: block; width: 100%; height: auto; border-radius: 30px; }
.course-zoom { position: relative; display: block; border-radius: 30px; overflow: hidden; }
.course-zoom img { transition: transform .6s var(--ease); }
.course-zoom:hover img { transform: scale(1.02); }
.course-zoom-tag { position: absolute; right: 16px; top: 16px; padding: 7px 14px; border-radius: 999px; background: rgba(30,26,27,.78); color: #fff; font-size: 13px; font-weight: 800; backdrop-filter: blur(4px); }
.course-note { display: block; width: fit-content; max-width: 100%; margin: 18px auto 0; text-align: center; padding: 10px 18px; border-radius: 12px; background: #fff; color: var(--red); font-weight: 800; font-size: 15px; }
.course-map.in .course-char { animation: slideIn 1.2s .3s var(--ease) both; }
.course-char { position: absolute; right: -20px; bottom: -30px; width: clamp(150px, 20vw, 280px); height: auto; transform: rotate(-6deg); pointer-events: none; }
@keyframes slideIn { from { transform: translateX(120%) rotate(-6deg); } }

/* ===== record ===== */
.record { background: var(--bg); overflow: hidden; }
.record-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(30px, 5vw, 80px); align-items: center; }
.cert-wrap { perspective: 1400px; display: flex; flex-direction: column; align-items: center; }
.cert { position: relative; width: min(340px, 80vw); aspect-ratio: 9 / 15; transform-style: preserve-3d; transition: transform .9s var(--spring); transform: rotateY(var(--flip, 0deg)) rotateX(var(--rx, 0deg)) rotateZ(-3deg); }
.cert.is-flip { --flip: 180deg; }
.cert-face { position: absolute; inset: 0; border-radius: 28px; backface-visibility: hidden; -webkit-backface-visibility: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 26px; text-align: center; overflow: hidden; box-shadow: 0 40px 60px -30px rgba(80, 0, 25, .6); }
.cert-front { background: linear-gradient(170deg, var(--red) 0%, #8E0029 100%); color: #fff; }
.cert-front::before { content: ''; position: absolute; inset: 0; background: url(../img/sky-bolts.webp) 50% 30% / cover no-repeat; opacity: .9; }
.cert-front > * { position: relative; }
.cert-front img { width: 90%; height: auto; }
.cert-lb { margin-top: 18px; font-family: var(--f-en); letter-spacing: .3em; font-size: 14px; color: var(--gold); }
.cert-name { margin-top: 4px; font-family: var(--f-disp); font-size: 28px; }
.cert-time { margin-top: 8px; font-family: var(--f-dot); font-size: 54px; line-height: 1; color: #fff; text-shadow: 0 0 16px rgba(255,255,255,.5); }
.cert-meta { margin-top: 10px; font-family: var(--f-en); font-size: 13px; letter-spacing: .14em; color: rgba(255,255,255,.75); }
.cert-sample { position: absolute !important; top: 16px; right: 16px; padding: 3px 9px; border-radius: 999px; background: rgba(0,0,0,.35); font-size: 11px; font-weight: 700; }
.cert-back { background: var(--ink); color: #fff; transform: rotateY(180deg); gap: 10px; }
.cert-back img { width: 60%; height: auto; }
.cert-back b { font-family: var(--f-en); font-weight: 400; font-size: 26px; letter-spacing: .06em; color: var(--red-hot); }
.cert-back span { color: rgba(255,255,255,.75); font-weight: 600; }
.cert-hint { margin-top: 20px; font-size: 14px; font-weight: 700; color: var(--gray); }
.rec-list { display: grid; gap: 14px; }
.rec-list li { display: flex; gap: 16px; padding: 22px; border-radius: 20px; background: #fff; border: 1px solid var(--line); transition: transform .4s var(--spring), box-shadow .4s; }
.rec-list li:hover { transform: translateX(8px); box-shadow: 0 20px 30px -24px rgba(80, 0, 25, .5); }
.rec-ic { flex: none; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; background: var(--red); color: #fff; }
.rec-ic .ic { width: 24px; height: 24px; }
.rec-list b { font-size: 18px; font-weight: 800; }
.rec-list p { color: #5A5254; font-size: 15px; margin-top: 2px; }
.btn-line { margin-top: 22px; display: inline-flex; align-items: center; gap: 10px; padding: 15px 26px; border-radius: 999px; border: 2px solid var(--ink); font-weight: 800; transition: background .3s, color .3s; }
.btn-line:hover { background: var(--ink); color: #fff; }

/* ===== goods ===== */
.goods { background: #fff; overflow: hidden; }
.boxes { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.gbox { position: relative; display: flex; flex-direction: column; align-items: center; padding: clamp(30px, 4vw, 50px) 24px; border-radius: 28px; background: radial-gradient(circle at 50% 30%, #FFF0F4, var(--red-soft) 70%); border: 1px solid #F6D5DE; overflow: hidden; text-align: center; transition: transform .4s var(--spring), box-shadow .4s; }
.gbox:hover { transform: translateY(-6px); box-shadow: 0 30px 50px -30px rgba(189, 7, 56, .5); }
.gbox-art { position: relative; width: 170px; height: 160px; }
.gbox-art .body { position: absolute; left: 15px; right: 15px; bottom: 0; height: 100px; background: var(--red); border-radius: 10px; box-shadow: inset -20px 0 0 rgba(0,0,0,.12); }
.gbox-art .lid { position: absolute; left: 5px; right: 5px; top: 30px; height: 36px; background: var(--red-hot); border-radius: 10px; z-index: 2; transform-origin: 20% 100%; transition: transform .6s var(--spring); box-shadow: inset -20px 0 0 rgba(0,0,0,.1); }
.gbox-art .ribbon { position: absolute; left: 50%; top: 30px; bottom: 0; width: 22px; margin-left: -11px; background: var(--gold); z-index: 3; transition: transform .6s var(--spring); transform-origin: 50% 0; }
.gbox-art .ribbon::before, .gbox-art .ribbon::after { content: ''; position: absolute; top: -26px; width: 36px; height: 30px; border: 7px solid var(--gold); border-radius: 50% 50% 0 50%; }
.gbox-art .ribbon::before { right: 50%; transform: rotate(-20deg); }
.gbox-art .ribbon::after { left: 50%; transform: scaleX(-1) rotate(-20deg); }
.gbox-art .q { position: absolute; left: 50%; top: 40px; z-index: 1; font-family: var(--f-en); font-style: normal; font-size: 64px; color: var(--ink); transform: translate(-50%, 20px) scale(.4); opacity: 0; transition: .6s var(--spring); }
.gbox:hover .gbox-art { animation: shake .5s ease-in-out infinite; }
@keyframes shake { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-4deg); } 75% { transform: rotate(4deg); } }
.gbox.is-open .gbox-art { animation: none; }
.gbox.is-open .lid { transform: translate(-30px, -40px) rotate(-35deg); }
.gbox.is-open .ribbon { transform: scaleY(0); }
.gbox.is-open .q { opacity: 1; transform: translate(-50%, -70px) scale(1); }
.gbox-lb { margin-top: 24px; font-family: var(--f-disp); font-size: clamp(26px, 2.6vw, 34px); }
.gbox-tx { margin-top: 6px; font-weight: 700; color: #5A5254; }
.gbox-tx small { font-weight: 600; font-size: 13px; color: var(--gray); }
.gbox-cs { margin-top: 18px; padding: 8px 18px; border-radius: 999px; background: var(--ink); color: var(--led); font-family: var(--f-dot); font-size: 16px; letter-spacing: .08em; }
.goods-note { margin-top: 22px; text-align: center; color: #5A5254; }
.goods-note b { color: var(--red); }

/* ===== community ===== */
.community { background: var(--bg); }
.ctabs { position: relative; display: inline-flex; padding: 6px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--line); margin-bottom: 26px; }
.ctab { position: relative; z-index: 1; padding: 12px 26px; border-radius: 999px; font-weight: 800; transition: color .3s; }
.ctab.is-on { color: #fff; }
.ctab-ink { position: absolute; top: 6px; bottom: 6px; left: var(--ix, 6px); width: var(--iw, 100px); border-radius: 999px; background: var(--red); transition: left .45s var(--spring), width .45s var(--spring); }
.acc { background: #fff; border-radius: var(--r); padding: 6px clamp(16px, 3vw, 34px); border: 1px solid var(--line); }
.acc .acc-item:last-child { border-bottom: 0; }
.n-badge { flex: none; padding: 4px 10px; border-radius: 8px; background: var(--red); color: #fff; font-size: 12px; font-weight: 800; }
.n-badge--g { background: var(--ink); }
.n-date { font-size: 13px; color: var(--gray); font-weight: 600; }
.q-mark { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; background: var(--red); color: #fff; font-family: var(--f-en); font-size: 17px; }
.btn-kakao { display: inline-flex; align-items: center; gap: 8px; padding: 12px 20px; border-radius: 14px; background: #FEE500; color: #191600; font-weight: 800; transition: transform .3s var(--spring); }
.btn-kakao:hover { transform: translateY(-2px); }
.cpanel[hidden] { display: none; }
.cpanel:not([hidden]) .acc { animation: accIn .45s var(--ease); }

/* ===== sponsor ===== */
.sponsor { padding: 60px 0; background: #fff; border-top: 1px solid var(--line); }
.sponsor-in { display: flex; align-items: center; gap: 40px; flex-wrap: wrap; }
.sp-eyebrow { font-family: var(--f-en); font-size: 28px; letter-spacing: .1em; color: var(--red); }
.sp-rows { display: grid; gap: 12px; flex: 1; }
.sp-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.sp-k { min-width: 80px; font-weight: 800; color: var(--gray); font-size: 14px; }
.sp-row ul { display: flex; gap: 10px; flex-wrap: wrap; }
.sp-row li { padding: 10px 20px; border-radius: 12px; background: var(--bg); border: 1px solid var(--line); font-weight: 800; transition: .3s var(--spring); }
.sp-row li:hover { transform: translateY(-3px); border-color: var(--red); color: var(--red); }

/* ===== footer ===== */
.footer { position: relative; background: var(--ink); color: rgba(255,255,255,.8); padding: 90px 0 0; overflow: hidden; }
.footer-wave { position: absolute; top: 0; left: 0; right: 0; height: 10px; background: repeating-linear-gradient(90deg, var(--red) 0 40px, #fff 40px 44px); }
.footer-in { display: grid; grid-template-columns: 280px 1fr; gap: 60px; }
.f-brand img { width: 260px; height: auto; }
.f-info dl { display: grid; gap: 14px; }
.f-info dl > div { display: grid; grid-template-columns: 110px 1fr; gap: 16px; font-size: 15px; }
.f-info dt { color: rgba(255,255,255,.5); font-weight: 700; }
.f-info small { color: rgba(255,255,255,.5); }
.f-kakao { display: inline-flex; align-items: center; gap: 5px; margin-left: 8px; padding: 3px 12px; border-radius: 999px; background: #FEE500; color: #191600; font-weight: 800; font-size: 13px; }
.f-links { display: flex; gap: 6px; margin-top: 30px; flex-wrap: wrap; }
.f-links button { padding: 8px 14px; border-radius: 10px; background: rgba(255,255,255,.07); font-size: 14px; transition: background .3s; }
.f-links button:hover { background: rgba(255,255,255,.15); }
.f-links b { color: #fff; }
.f-copy { margin-top: 26px; font-size: 13px; color: rgba(255,255,255,.4); }
.f-run { position: relative; height: 120px; margin-top: 40px; }
.f-run img { position: absolute; bottom: 0; height: 100px; width: auto; animation: footRun 18s linear infinite; }
.f-run img:nth-child(2) { animation-delay: -6s; }
.f-run img:nth-child(3) { height: 70px; animation-delay: -12s; }
@keyframes footRun { 0% { left: 100%; } 100% { left: -140px; } }

/* ===== floats ===== */
.floats { position: fixed; right: 20px; bottom: 24px; z-index: 90; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; transition: opacity .4s, transform .4s var(--ease); }
.floats.is-hidden { opacity: 0; transform: translateY(20px); pointer-events: none; }
.float { display: flex; align-items: center; gap: 0; height: 54px; min-width: 54px; padding: 0 16px; border-radius: 27px; color: #fff; font-weight: 800; font-size: 15px; box-shadow: 0 14px 30px -10px rgba(0,0,0,.4); transition: gap .35s var(--ease), transform .3s var(--spring), padding .35s; overflow: hidden; }
.float .ic { width: 22px; height: 22px; }
.float-tx { max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .4s var(--ease); }
.float:hover { gap: 8px; transform: translateY(-2px); }
.float:hover .float-tx { max-width: 160px; }
.float-runit { background: var(--runit); }
.float-kakao { background: #FEE500; color: #191600; }
.float-sponsor { background: var(--ink); }
.float-top { background: #fff; color: var(--ink); padding: 0; justify-content: center; width: 54px; opacity: 0; transform: scale(.6); pointer-events: none; }
.float-top.show { opacity: 1; transform: none; pointer-events: auto; }

/* ===== toast ===== */
.toast { position: fixed; left: 50%; bottom: 30px; z-index: 300; max-width: calc(100% - 40px); padding: 14px 22px; border-radius: 16px; background: var(--ink); color: #fff; font-weight: 700; font-size: 15px; text-align: center; box-shadow: 0 20px 40px -10px rgba(0,0,0,.5); transform: translate(-50%, 140%); opacity: 0; transition: .45s var(--spring); pointer-events: none; }
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* ===== modal ===== */
.modal { position: fixed; inset: 0; z-index: 250; display: grid; place-items: center; padding: 20px; background: rgba(20, 10, 12, .6); backdrop-filter: blur(6px); animation: fadeIn .3s; }
.modal[hidden] { display: none; }
@keyframes fadeIn { from { opacity: 0; } }
.modal-card { position: relative; width: min(820px, 100%); max-height: min(86vh, 900px); display: flex; flex-direction: column; background: #fff; border-radius: 26px; overflow: hidden; animation: popIn .45s var(--spring); }
@keyframes popIn { from { opacity: 0; transform: translateY(30px) scale(.96); } }
.modal-t { padding: 26px 30px 18px; font-family: var(--f-disp); font-weight: 400; font-size: 28px; border-bottom: 1px solid var(--line); }
.modal-x { position: absolute; top: 20px; right: 20px; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: var(--bg); transition: transform .3s var(--spring); }
.modal-x:hover { transform: rotate(90deg); background: var(--red-soft); }
.modal-body { padding: 10px 30px 34px; overflow-y: auto; font-size: 15px; color: #463F41; }
.doc h3 { margin: 24px 0 8px; font-size: 17px; font-weight: 800; color: var(--ink); }
.doc p + p { margin-top: 8px; }
.doc .table-wrap { margin-top: 10px; }

/* ===== responsive ===== */
@media (max-width: 1180px) {
  .gnb > ul > li > a { padding: 10px 11px; font-size: 15px; }
}
@media (max-width: 1024px) {
  :root { --hh: 64px; }
  .gnb, .btn-head { display: none; }
  .burger { display: block; }
  .brand img { height: 44px; }
  .tickets { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .pace-in, .record-grid { grid-template-columns: 1fr; }
  .guide-layout { grid-template-columns: 1fr; }
  .guide-side-sticky { position: static; }
  .g-tabs { grid-template-columns: repeat(5, auto); overflow-x: auto; scrollbar-width: none; }
  .g-tab { white-space: nowrap; }
  .g-keys { grid-template-columns: repeat(3, 1fr); }
  .g-keys li:nth-child(3) { border-right: 0; }
  .g-keys li:nth-child(-n+3) { border-bottom: 1px solid var(--line); }
  .g-keys li.is-warn { grid-column: span 2; }
  .footer-in { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 720px) {
  .container { width: calc(100% - 32px); }
  .header-in { width: calc(100% - 32px); }
  .hero-content { padding-top: calc(var(--hh) + 18px); }
  .hero-copy { font-size: 13px; }
  .hero-logo { width: 92vw; }
  .hero-stadium { top: 50%; height: 18%; }
  .tower { width: 46px; height: 34px; }
  .led-title b { font-size: 16px; }
  .led-title span { font-size: 10px; }
  /* 모바일: 로고 → 캐릭터 3열 → 전광판 → 버튼 순서로 쌓아 서로 겹치지 않게 */
  .hero { min-height: 100svh; display: grid; grid-template-columns: 1fr .8fr 1fr; grid-template-rows: auto 1fr auto; align-items: end; padding: 0 12px 64px; }
  .hero-content { grid-column: 1 / -1; grid-row: 1; align-self: start; padding-inline: 0; }
  .char { position: relative; left: auto; right: auto; bottom: auto; margin: 0; grid-row: 2; justify-self: center; margin-top: 18px; margin-bottom: -6px; }
  .char-star { grid-column: 1; width: min(30vw, 150px); }
  .char-nero { grid-column: 2; width: min(22vw, 110px); }
  .char-lucky { grid-column: 3; width: min(28vw, 140px); }
  .char .bubble { font-size: 13px; padding: 6px 10px; top: -14%; }
  .hero-bottom { position: relative; grid-column: 1 / -1; grid-row: 3; left: auto; bottom: auto; transform: none; width: 100%; gap: 14px; }
  .led { padding: 10px 10px 8px; gap: 2px; }
  .led-cell { min-width: 54px; }
  .led-lb { font-size: 9px; letter-spacing: .14em; }
  .hero-hint { bottom: 14px; font-size: 11px; }
  .scroll-cue { display: none; }
  .marquee.m1 { margin-top: -18px; }
  .lineup-head { display: none; }
  .lineup-list li { grid-template-columns: 40px 1fr; gap: 4px 12px; padding: 14px 4px; }
  .lineup-list i { width: 36px; height: 36px; font-size: 18px; grid-row: span 2; }
  .lineup-list strong { font-size: 16px; }
  .lp { font-size: 13px; }
  .lineup-char { width: 90px; opacity: .9; right: -6px; bottom: -6px; }
  .lineup-list li:last-child strong { padding-right: 70px; }
  .innings { padding-left: 34px; }
  .inn-rail { left: 8px; }
  .inning { grid-template-columns: 1fr; gap: 4px; padding: 18px 18px; }
  .inning::before { left: -33px; }
  .inn-no { display: none; }
  .phase { padding: 22px 10px 16px; }
  .phase-steps b { font-size: 17px; }
  .phase-steps span { display: none; }
  .phase-steps p { font-size: 12px; }
  .phase-steps small { font-size: 10px; }
  .story-stats { grid-template-columns: 1fr; }
  .story-stats li { display: flex; align-items: baseline; gap: 10px; padding: 20px; text-align: left; }
  .story-stats p { margin: 0 0 0 auto; font-size: 14px; }
  .how-2 { grid-template-columns: 1fr; }
  .g-keys { grid-template-columns: 1fr 1fr; }
  .g-keys li { border-bottom: 1px solid var(--line); }
  .g-keys li:nth-child(2n) { border-right: 0; }
  .g-keys li:nth-child(3) { border-right: 1px solid var(--line); }
  .g-keys li.is-warn { grid-column: span 2; border-bottom: 0; }
  .g-keys strong { font-size: 19px; }
  .g-tabs { grid-template-columns: repeat(5, max-content); }
  .g-list-head { flex-direction: column; align-items: flex-start; gap: 6px; }
  .boxes { grid-template-columns: 1fr; }
  .pace-out { grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
  .pace-out > div { padding: 12px 4px; }
  .pace-out dt { font-size: 11px; }
  .f-info dl > div { grid-template-columns: 1fr; gap: 2px; }
  .floats { right: 14px; bottom: 16px; }
  .floats.is-hero { opacity: 0; transform: translateY(20px); pointer-events: none; }
  .hero-chips { gap: 6px; flex-wrap: nowrap; }
  .hero-chips li { padding: 7px 11px; font-size: 13px; gap: 5px; white-space: nowrap; }
  .hero-chips li.is-hot { font-size: 15px; padding-block: 5px; }
  .float { height: 48px; min-width: 48px; padding: 0 13px; }
  .float-top { width: 48px; }
  .modal { padding: 0; align-items: end; }
  .modal-card { border-radius: 24px 24px 0 0; max-height: 90vh; }
  .modal-t { padding: 22px 20px 14px; font-size: 24px; }
  .modal-body { padding: 6px 20px 30px; }
  .course-char { width: 130px; right: -14px; bottom: -14px; }
}

@media (max-width: 385px) {
  .hero-chips { flex-wrap: wrap; }
  .hero-chips li { font-size: 12.5px; padding: 6px 10px; }
}

@media (max-width: 720px) {
  .sponsor-roll { gap: 12px; padding: 16px 0 16px 14px; margin-top: 16px; }
  .sponsor-roll-lb { font-size: 12px; }
  .sponsor-roll-track li { height: 42px; padding: 0 20px; }
  .sponsor-roll-track img { height: 32px; max-width: 130px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
  .lineup-list li { opacity: 1; transform: none; }
  .intro { display: none; }
}
