:root {
  color-scheme: light;
  --background: #fffafd;
  --foreground: #543a47;
  --muted: #806471;
  --accent: #b6507a;
  --blush: #f8dce8;
  --line: #eddae3;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--foreground);
  background: var(--background);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 280px; }
button { font: inherit; }
button:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.page-shell { min-height: 100svh; display: flex; flex-direction: column; position: relative; overflow: clip; isolation: isolate; background: linear-gradient(180deg, #fff 0%, #fffafd 62%, #fff4f9 100%); }
.sakura-garden { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.sakura-tree { position: absolute; width: clamp(350px, 42vw, 720px); bottom: 6%; opacity: .8; }
.sakura-tree img { display: block; width: 100%; height: auto; transform-origin: 45% 95%; animation: blossom-sway 20s ease-in-out infinite alternate; }
.sakura-tree--left { left: clamp(-240px, -13vw, -115px); }
.sakura-tree--right { right: clamp(-240px, -13vw, -115px); transform: scaleX(-1); bottom: 11%; width: clamp(330px, 39vw, 650px); opacity: .7; }
.sakura-tree--right img { animation-delay: -9s; animation-duration: 24s; }
.garden-veil { position: absolute; inset: 0; background: linear-gradient(90deg, #ffffff08 0%, #ffffff35 19%, #ffffffd9 35%, #fffffff0 50%, #ffffffd9 65%, #ffffff35 81%, #ffffff08 100%); }
.site-header, .site-footer { z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin: 0 clamp(1.25rem, 4.5vw, 5rem); }
.site-header { min-height: 108px; border-bottom: 1px solid var(--line); }
.wordmark { font-size: 1.5rem; font-weight: 900; letter-spacing: -.05em; }
.brand-period { color: var(--accent); }
.header-label { color: var(--muted); font-size: .875rem; letter-spacing: .2em; }
main { flex: 1; display: flex; flex-direction: column; position: relative; }
.countdown-scene { flex: 1; display: grid; place-items: center; min-height: 530px; padding: 5rem 1.25rem; position: relative; isolation: isolate; }
.countdown-scene::before { content: ''; z-index: -2; position: absolute; width: min(47vw, 560px); aspect-ratio: 1; border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%); background: linear-gradient(145deg, #ffedf5a6, #fbe3ed45); pointer-events: none; }
.orbit { z-index: -1; position: absolute; left: 50%; top: 50%; border: 1px solid #d697b329; border-radius: 50%; pointer-events: none; transform: translate(-50%, -50%); }
.orbit-outer { width: min(77vw, 930px); aspect-ratio: 1; }
.orbit-inner { width: min(62vw, 740px); aspect-ratio: 1; }
.scene-content { width: min(100%, 1120px); text-align: center; }
.eyebrow { margin: 0 0 1.5rem; color: var(--muted); font-size: .875rem; letter-spacing: .22em; display: flex; align-items: center; justify-content: center; gap: 1rem; line-height: 1.6; }
.short-rule { width: 28px; height: 1px; background: var(--accent); opacity: .6; }
h1 { font-size: clamp(1.6rem, 3.4vw, 3rem); letter-spacing: -.035em; line-height: 1.1; font-weight: 800; margin: 0; }
.countdown { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: start; margin: 2.8rem 0 2.5rem; }
.time-unit { display: flex; flex-direction: column; min-width: 0; align-items: center; }
.digits { display: block; font-size: clamp(2.9rem, 12.7vw, 10.5rem); line-height: 1.1; font-weight: 600; letter-spacing: -.065em; font-variant-numeric: tabular-nums; padding-right: .065em; color: #654354; }
.unit-label { color: var(--muted); margin-top: 1.2rem; font-size: .875rem; letter-spacing: .23em; line-height: 1.5; }
.separator { color: #d9afc2; font-size: clamp(2.3rem, 8vw, 7rem); font-weight: 300; line-height: 1.6; padding: 0 .1em; }
.seconds-unit .digits { color: var(--accent); }
.seconds-unit .unit-label { color: #a24c70; }
.countdown-caption { display: flex; align-items: center; justify-content: center; gap: .65rem; margin-top: 3.2rem; }
.countdown-caption p { font-size: 1rem; color: #806471; margin: 0; line-height: 1.6; }
.play-mark { width: 25px; height: 25px; color: var(--accent); flex-shrink: 0; }
.play-mark svg { display: block; width: 100%; height: 100%; }
.site-footer { min-height: 102px; padding: 1.5rem 0; border-top: 1px solid var(--line); font-size: .875rem; letter-spacing: .04em; }
.footer-detail { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; line-height: 1.7; }
.footer-label { color: var(--muted); font-size: .8125rem; }
.footer-time > span:first-child { font-size: 1.125rem; font-variant-numeric: tabular-nums; }
.edge-track { height: 3px; width: 100%; background: #f2e1e9; }
.edge-track span { display: block; height: 100%; width: 100%; transform: scaleX(0); transform-origin: left; background: linear-gradient(90deg, #ebbad0, #bd6289, #ebbad0); transition: transform .2s linear; }
.premiere-scene { flex: 1; padding: 2.5rem 1.25rem 1rem; display: flex; flex-direction: column; align-items: center; animation: reveal .7s ease-out both; }
.premiere-heading { text-align: center; margin-bottom: 1.75rem; }
.premiere-heading .eyebrow { margin-bottom: .75rem; }
.premiere-heading h1 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
.live-indicator { height: 6px; width: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px #f4dce7; }
.video-frame { width: min(100%, 770px); padding: 10px; background: #fff; border: 1px solid #ebd5df; border-radius: 20px; position: relative; display: grid; place-items: center; overflow: hidden; box-shadow: 0 18px 70px #9d557c12, 0 3px 14px #9d557c0a; }
video { width: 100%; height: min(60svh, 720px); min-height: 250px; display: block; object-fit: contain; background: #fff8fc; border-radius: 11px; }
.play-overlay { position: absolute; inset: 10px; width: calc(100% - 20px); border: 0; border-radius: 11px; cursor: pointer; background: #fff8fce8; color: var(--foreground); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1.5rem; font-size: .875rem; letter-spacing: .16em; }
.play-circle { display: grid; place-items: center; width: 80px; height: 80px; border-radius: 50%; background: #f2c8da; color: #874760; box-shadow: 0 0 0 10px #fff7fb, 0 10px 35px #a2557522; transition: transform .2s, background .2s; }
.play-circle svg { width: 30px; height: 30px; }
.play-overlay:hover .play-circle { transform: scale(1.06); background: #edb7cf; }
.video-actions { width: min(100%, 770px); min-height: 58px; display: flex; align-items: center; justify-content: center; gap: .75rem; flex-wrap: wrap; padding: .85rem 0; }
.retry-button { color: var(--foreground); background: #fff3f9; border: 1px solid #e8c4d5; border-radius: 999px; cursor: pointer; min-height: 44px; padding: .65rem 1.2rem; font-size: .9375rem; }
.retry-button:hover { border-color: var(--accent); background: #fce6f0; }
#player-message { color: var(--muted); font-size: 1rem; margin: 0; text-align: center; line-height: 1.6; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.noscript-message { padding: 1rem 2rem; text-align: center; color: var(--accent); line-height: 1.6; }
@keyframes reveal { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }
@keyframes blossom-sway { from { transform: rotate(-.6deg); } to { transform: rotate(.6deg); } }

/* The second experience is revealed only after the original video has finished. */
.mode-controls { width: min(100%, 770px); display: flex; justify-content: center; padding: 0 0 1.5rem; animation: mode-reveal .55s ease-out both; scroll-margin-block: 1.5rem; }
.mode-button { display: inline-flex; align-items: center; justify-content: center; gap: .9rem; width: min(100%, 530px); min-height: 76px; padding: 1.15rem 1.75rem; border: 1px solid #292b33; border-radius: 14px; background: #17191f; color: #fff; cursor: pointer; font-size: clamp(1.1rem, 2.7vw, 1.45rem); font-weight: 700; letter-spacing: -.025em; line-height: 1.35; box-shadow: 0 10px 35px #17191f1c; transition: background-color .2s, transform .2s, box-shadow .2s; }
.mode-button:hover { background: #2a2d38; transform: translateY(-2px); box-shadow: 0 14px 40px #17191f24; }
.mode-button:active { transform: translateY(0); }
.mode-icon { width: 25px; height: 25px; flex: 0 0 auto; }
.mode-icon--sun { display: none; }
@keyframes mode-reveal { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }

/* A quiet typographic mystery, visible only in the second video experience. */
.mystery-scene { display: none; position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; user-select: none; }
.mystery-number, .mystery-mark { position: absolute; display: block; line-height: 1; font-weight: 900; }
.mystery-number { font-size: clamp(220px, 28vw, 430px); letter-spacing: -.09em; padding-right: .09em; }
.mystery-number--left { left: -2.5%; top: 22%; color: #dc26260b; -webkit-text-stroke: 1px #ef444471; transform: rotate(-11deg); text-shadow: 10px 7px 0 #dc26260a; }
.mystery-number--right { right: -1.5%; bottom: 15%; font-size: clamp(200px, 24vw, 370px); color: #e234341c; transform: rotate(9deg); text-shadow: -7px 3px 0 #ef44440b; }
.mystery-mark { color: #f04444; text-shadow: 0 0 42px #dc26262e; animation: mystery-drift 12s ease-in-out infinite alternate; }
.mystery-mark--one { right: 8%; top: 13%; font-size: clamp(90px, 13vw, 200px); opacity: .36; --tilt: 15deg; }
.mystery-mark--two { left: 9%; top: 61%; font-size: clamp(72px, 8vw, 122px); opacity: .27; --tilt: -18deg; animation-delay: -5s; animation-duration: 15s; }
.mystery-mark--three { left: 25%; top: 14%; font-size: 48px; opacity: .21; --tilt: 12deg; animation-delay: -9s; animation-duration: 17s; }
.mystery-mark--four { right: 3%; top: 48%; font-size: 62px; opacity: .24; --tilt: -12deg; animation-delay: -3s; animation-duration: 14s; }
.mystery-mark--five { left: 29%; bottom: 12%; font-size: 42px; opacity: .18; --tilt: 21deg; animation-delay: -7s; animation-duration: 16s; }
@keyframes mystery-drift { from { transform: translateY(0) rotate(var(--tilt)); } to { transform: translateY(-14px) rotate(calc(var(--tilt) + 5deg)); } }

:root[data-theme="dark"] { color-scheme: dark; --background: #050505; --foreground: #f5f5f5; --muted: #aaa7a7; --accent: #ef4444; --blush: #231010; --line: #ef44442b; }
[data-theme="dark"] .page-shell { background: radial-gradient(ellipse at 5% 39%, #9a11111a, transparent 43%), radial-gradient(ellipse at 96% 69%, #7c0d0d12, transparent 42%), #050505; }
[data-theme="dark"] .mystery-scene { display: block; animation: mystery-arrive 1.1s ease-out both; }
@keyframes mystery-arrive { from { opacity: 0; } to { opacity: 1; } }
[data-theme="dark"] .sakura-garden,
[data-theme="dark"] .orbit,
[data-theme="dark"] .countdown-scene::before { display: none; }
[data-theme="dark"] .digits { color: var(--foreground); }
[data-theme="dark"] .separator { color: #565252; }
[data-theme="dark"] .seconds-unit .digits,
[data-theme="dark"] .seconds-unit .unit-label { color: var(--accent); }
[data-theme="dark"] .countdown-caption p { color: var(--muted); }
[data-theme="dark"] .edge-track { background: #190b0b; }
[data-theme="dark"] .edge-track span { background: linear-gradient(90deg, #491313, #ef4444, #491313); }
[data-theme="dark"] .premiere-heading h1 { text-shadow: 0 0 34px #dc26262b; }
[data-theme="dark"] .live-indicator { background: #ef4444; box-shadow: 0 0 0 4px #2b1010, 0 0 18px #ef444450; }
[data-theme="dark"] .video-frame { background: linear-gradient(140deg, #241010, #090909 34%, #090909 65%, #190b0b); border-color: #aa272757; border-radius: 13px; box-shadow: 0 24px 80px #0009, 0 0 50px #dc26260c; }
[data-theme="dark"] video { background: #030303; border-radius: 6px; }
[data-theme="dark"] .play-overlay { background: #050505e8; border-radius: 6px; }
[data-theme="dark"] .play-circle { background: #dc2626; color: #ffffff; box-shadow: 0 0 0 10px #261010, 0 0 45px #dc26262e; }
[data-theme="dark"] .play-overlay:hover .play-circle { background: #ee3535; }
[data-theme="dark"] .retry-button { background: #141414; border-color: #662323; }
[data-theme="dark"] .retry-button:hover { background: #1e0b0b; border-color: #ef4444; }
[data-theme="dark"] .mode-button { color: #f5f5f5; background: #0a0a0a; border-color: #992525; box-shadow: 0 10px 35px #0005, 0 0 36px #dc26261a; }
[data-theme="dark"] .mode-button:hover { background: #190909; border-color: #ef4444; box-shadow: 0 12px 40px #0005, 0 0 46px #dc262630; }
[data-theme="dark"] .mode-icon--moon { display: none; }
[data-theme="dark"] .mode-icon--sun { display: block; color: #ef4444; }

@media (min-width: 1440px) { .countdown-scene { min-height: 620px; } }
@media (max-width: 900px) {
  .mystery-number--left { top: 13%; font-size: 240px; left: -45px; }
  .mystery-number--right { bottom: 12%; font-size: 250px; right: -45px; }
  .mystery-mark--one { right: 3%; top: 12%; }
  .mystery-mark--two { left: 2%; }
  .mystery-mark--three { display: none; }
  .sakura-tree { width: 410px; bottom: 8%; }
  .sakura-tree--left { left: -180px; }
  .sakura-tree--right { width: 390px; right: -180px; bottom: 12%; }
  .garden-veil { background: linear-gradient(90deg, #ffffff20, #ffffffd9 32%, #ffffffed 50%, #ffffffd9 68%, #ffffff20); }
}
@media (max-width: 600px) {
  .mystery-number--left { top: 100px; left: -15px; font-size: 138px; -webkit-text-stroke-color: #ef444455; }
  .mystery-number--right { bottom: 112px; right: -14px; font-size: 170px; }
  .mystery-mark--one { top: 100px; right: 13px; font-size: 96px; opacity: .27; }
  .mystery-mark--two { top: auto; bottom: 130px; left: 10px; font-size: 82px; opacity: .21; }
  .mystery-mark--four, .mystery-mark--five { display: none; }
  .site-header { min-height: 84px; }
  .wordmark { font-size: 1.3rem; }
  .header-label { font-size: .75rem; letter-spacing: .12em; }
  .countdown-scene { min-height: 455px; padding: 4rem .8rem; }
  .countdown-scene::before { width: 76vw; }
  .eyebrow { font-size: .875rem; gap: .7rem; letter-spacing: .12em; }
  .countdown { margin-top: 2.4rem; margin-bottom: 2rem; }
  .digits { font-size: clamp(2.65rem, 12.5vw, 4.7rem); letter-spacing: -.055em; }
  .separator { padding: 0 .03em; line-height: 1.45; }
  .unit-label { font-size: .875rem; letter-spacing: .02em; margin-top: .8rem; }
  .countdown-caption { margin-top: 2.5rem; padding: 0 1.2rem; gap: .35rem; }
  .countdown-caption p { max-width: 255px; font-size: 1rem; }
  .site-footer { align-items: flex-start; min-height: 108px; }
  .footer-detail { flex-direction: column; align-items: flex-start; gap: .25rem; }
  .footer-time { align-items: flex-end; text-align: right; max-width: 175px; }
  .footer-label { font-size: .75rem; letter-spacing: .015em; }
  .footer-time > span:first-child { font-size: 1rem; }
  .orbit-outer { width: 120vw; }
  .orbit-inner { width: 95vw; }
  .sakura-tree { width: 330px; bottom: 12%; opacity: .65; }
  .sakura-tree--left { left: -190px; }
  .sakura-tree--right { width: 280px; right: -175px; bottom: auto; top: 8%; opacity: .5; }
  .garden-veil { background: linear-gradient(90deg, #ffffff25, #ffffffb8 21%, #ffffffdb 50%, #ffffffb8 79%, #ffffff25); }
  .premiere-scene { padding: 2rem 1rem .75rem; }
  .video-frame { padding: 7px; border-radius: 15px; }
  video { height: auto; aspect-ratio: 950 / 1080; min-height: 0; max-height: 66svh; border-radius: 8px; }
  .play-overlay { inset: 7px; width: calc(100% - 14px); border-radius: 8px; }
}
@media (max-width: 340px) {
  .header-label { max-width: 80px; text-align: right; line-height: 1.6; }
  .countdown { grid-template-columns: 1fr 1fr; gap: 1.75rem .75rem; }
  .separator { display: none; }
  .digits { font-size: 3.5rem; }
  .unit-label { font-size: .875rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
