:root {
  --red: #fc2022;
  --red-ink: #bd1820;
  --ink: #302523;
  --muted: #81716d;
  --paper: #fffaf7;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  font-family: Outfit, Arial, sans-serif;
  font-synthesis: none;
  color: var(--ink);
  background: var(--paper);
}
* { box-sizing: border-box; }
body, h1, p { margin: 0; }
button, a { font: inherit; color: inherit; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
a { text-decoration: none; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible { outline: 2px solid var(--red-ink); outline-offset: 5px; }
[hidden] { display: none !important; }
.timer-page { position: relative; isolation: isolate; display: grid; grid-template-rows: auto 1fr auto; min-height: 100svh; min-height: 100dvh; padding: 0 clamp(22px, 5vw, 88px); }
.clock-art { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: -1; background: radial-gradient(ellipse at 100% 100%, #fc20220a, transparent 65%), radial-gradient(ellipse at 0 0, #fff, transparent 65%); }
.orbit { position: absolute; border: 1px solid #fc202212; border-radius: 50%; }
.orbit-one { width: 680px; height: 680px; right: -370px; top: -265px; animation: clock-orbit 60s linear infinite; }
.orbit-one::before { content: ''; position: absolute; inset: 25px; border: 1px dashed #fc202215; border-radius: inherit; }
.orbit-one i { position: absolute; top: 50%; left: -4px; width: 7px; height: 7px; background: #fc20227a; border-radius: 50%; }
.orbit-two { width: 580px; height: 580px; right: -320px; top: -215px; }
.orbit-three { width: 430px; height: 430px; left: -280px; bottom: -210px; }
.page-header { min-height: 122px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-bottom: 1px solid #ebdfd9; }
.brand-lockup { display: flex; align-items: center; gap: 14px; }
.brand-lockup img { width: 58px; height: 58px; border-radius: 50%; }
.brand-lockup>span { font-size: 13px; font-weight: 500; letter-spacing: 2px; line-height: 1.65; }
.brand-lockup strong { font-size: 10px; font-weight: 400; letter-spacing: 4px; }
.header-note { font-size: 11px; text-align: right; line-height: 1.7; color: var(--muted); }
.header-note em { font-style: normal; color: #483b36; }
.preview-link { font-size: 12px; color: var(--red-ink); }
.timer-stage { align-self: center; width: 100%; max-width: 1120px; margin: 0 auto; padding: 50px 0; text-align: center; }
.event-label { color: var(--red-ink); display: flex; justify-content: center; align-items: center; gap: 10px; font-size: 10px; letter-spacing: 2.6px; font-weight: 500; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 4px #fc20220d; }
h1 { font-size: clamp(30px, 3.5vw, 50px); font-weight: 450; letter-spacing: -1.7px; line-height: 1.14; text-wrap: balance; max-width: 900px; margin: 20px auto 14px; overflow-wrap: anywhere; }
.subtitle { font-size: 13px; line-height: 1.7; color: var(--muted); max-width: 530px; margin: auto; text-wrap: pretty; overflow-wrap: anywhere; }
.countdown { display: grid; grid-template-columns: minmax(0,1fr) 30px minmax(0,1fr) 30px minmax(0,1fr) 30px minmax(0,1fr); align-items: start; margin: 42px auto 30px; max-width: 1010px; }
.time-unit { min-width: 0; }
.digit-face { display: grid; place-items: center; position: relative; height: clamp(130px,15vw,212px); background: #fffefd; border: 1px solid #ecdfd9; border-radius: 12px; box-shadow: 0 5px 0 #e9dcd326, 0 16px 50px #442c1703; }
.digit-face::after { content: ''; position: absolute; top: 50%; inset-inline: 0; border-top: 1px solid #30252307; }
.digit-face strong { font-size: clamp(76px,10.5vw,150px); line-height: 1; font-weight: 400; letter-spacing: -7px; font-variant-numeric: tabular-nums; padding-right: 7px; }
.digit-face strong.wide { font-size: clamp(27px,7vw,106px); letter-spacing: -3px; }
.time-unit>span { display: block; margin-top: 18px; font-size: 10px; font-weight: 450; letter-spacing: 3px; color: #8a716a; }
.seconds-unit .digit-face { background: var(--red); border-color: var(--red); color: #fff; box-shadow: 0 5px 0 #dd0c1512, 0 15px 40px #fc202219; }
.seconds-unit .digit-face::after { border-color: #75000012; }
.seconds-unit>span { color: var(--red-ink); }
.colon { font-style: normal; color: #cbb0a7; font-size: 38px; line-height: clamp(130px,15vw,212px); font-weight: 300; }
.waiting-area { max-width: 560px; margin: auto; }
.time-track { height: 2px; width: 150px; background: #f0dfd8; overflow: hidden; margin: 0 auto 24px; }
.time-track span { display: block; width: 100%; height: 100%; background: var(--red); transform: scaleX(0); transform-origin: left center; transition: transform 250ms linear; }
.wait-note { display: flex; align-items: center; justify-content: center; gap: 10px; }
.wait-note p { font-size: 11px; color: #7b6861; line-height: 1.65; text-wrap: pretty; overflow-wrap: anywhere; }
.waiting-clock { width: 15px; height: 15px; border: 1px solid #d1aea3; border-radius: 50%; position: relative; flex-shrink: 0; }
.waiting-clock::after { content: ''; position: absolute; left: 6px; top: 2px; width: 1px; height: 5px; background: var(--red-ink); transform-origin: center bottom; animation: clock-orbit 12s linear infinite; }
.connection-note { color: var(--red-ink); font-size: 11px; line-height: 1.5; margin: 10px auto 0; }
.page-footer { min-height: 76px; border-top: 1px solid #ebdfd9; display: flex; align-items: center; justify-content: space-between; gap: 16px; color: #806f69; }
.page-footer>span:first-child { font-size: 8px; letter-spacing: 1.6px; }
.footer-note { font-size: 11px; }
#motion-toggle { min-height: 44px; display: flex; align-items: center; justify-content: end; gap: 8px; padding: 0; border: 0; background: transparent; color: #806f69; font-size: 10px; transition: color 160ms ease; }
.entrance { transition: opacity 500ms var(--ease-out), transform 500ms var(--ease-out); }
.intro { transition-delay: 60ms; }
.countdown { transition-delay: 120ms; }
.waiting-area { transition-delay: 180ms; }
.page-footer { transition-delay: 240ms; }
@starting-style { .entrance { opacity: 0; transform: translateY(12px); } }
@keyframes clock-orbit { to { transform: rotate(360deg); } }
[data-phase='hold'] .waiting-clock::after, [data-phase='hold'] .orbit-one { animation-play-state: paused; }
[data-motion-paused='true'] .orbit-one, [data-motion-paused='true'] .waiting-clock::after { animation-play-state: paused; }
[data-motion-paused='true'] .time-track span { transition: none; }
.no-script { position: fixed; inset: auto 0 0; background: #fff0e8; color: #8c241f; padding: 12px; font-size: 13px; text-align: center; }
@media (hover: hover) and (pointer: fine) { #motion-toggle:hover, .preview-link:hover { color: var(--red-ink); } }
@media (max-width: 700px) {
  .timer-page { padding-inline: 22px; }
  .page-header { min-height: 94px; }
  .brand-lockup { gap: 10px; }
  .brand-lockup img { width: 44px; height: 44px; }
  .brand-lockup>span { font-size: 10px; letter-spacing: 1.5px; }
  .brand-lockup strong { font-size: 8px; letter-spacing: 2.5px; }
  .header-note { font-size: 9px; }
  .preview-link { max-width: 110px; text-align: right; font-size: 10px; }
  .timer-stage { padding-block: 35px; }
  .event-label { font-size: 8px; letter-spacing: 1.4px; }
  h1 { max-width: 410px; font-size: 35px; letter-spacing: -1.2px; margin-top: 22px; }
  .subtitle { font-size: 12px; max-width: 345px; }
  .countdown { grid-template-columns: minmax(0,1fr) 12px minmax(0,1fr) 12px minmax(0,1fr) 12px minmax(0,1fr); margin: 34px auto 27px; }
  .digit-face { height: clamp(93px,23vw,155px); border-radius: 7px; }
  .digit-face strong { font-size: clamp(36px,9.5vw,68px); letter-spacing: -2px; padding-right: 2px; }
  .time-unit>span { font-size: 7px; letter-spacing: 1.4px; margin-top: 13px; }
  .colon { font-size: 20px; line-height: clamp(93px,23vw,155px); }
  .waiting-area { max-width: 355px; }
  .time-track { width: 95px; margin-bottom: 22px; }
  .wait-note p { font-size: 10px; }
  .page-footer { min-height: 67px; }
  .page-footer>span:first-child { font-size: 7px; letter-spacing: 1px; }
  .footer-note { display: none; }
  #motion-toggle { font-size: 9px; }
  .orbit-one { right: -505px; top: -365px; }
  .orbit-two { right: -455px; top: -315px; }
  .orbit-three { left: -335px; bottom: -250px; }
}
@media (max-height: 740px) {
  .page-header { min-height: 82px; }
  .timer-stage { padding-block: 24px; }
  .countdown { margin-block: 25px 20px; }
  .digit-face { height: clamp(85px,15vw,155px); }
  .digit-face strong { font-size: clamp(35px,9.5vw,112px); }
  .colon { line-height: clamp(85px,15vw,155px); }
  .page-footer { min-height: 58px; }
  .time-track { margin-bottom: 16px; }
}
@media (max-height: 520px) {
  .page-header { min-height: 58px; }
  .brand-lockup img { width: 36px; height: 36px; }
  .timer-stage { padding-block: 12px; }
  .event-label { font-size: 8px; }
  h1 { font-size: 25px; margin-block: 8px; }
  .subtitle { font-size: 10px; max-width: 620px; }
  .countdown { max-width: 570px; margin-block: 16px 13px; }
  .digit-face { height: 76px; }
  .digit-face strong { font-size: 52px; letter-spacing: -2px; padding-right: 2px; }
  .colon { line-height: 76px; }
  .time-unit>span { font-size: 7px; margin-top: 7px; }
  .time-track { display: none; }
  .wait-note p { font-size: 9px; }
  .page-footer { min-height: 44px; }
}
@media (max-width: 400px) and (max-height: 650px) {
  .timer-stage { padding-block: 16px; }
  .page-header { min-height: 74px; }
  .page-footer { min-height: 50px; }
  h1 { font-size: 32px; margin-block: 16px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .orbit-one, .waiting-clock::after { animation: none; }
  .entrance { transition: opacity 200ms ease; }
  @starting-style { .entrance { opacity: 0; transform: none; } }
  .time-track span { transition: none; }
  #motion-toggle { display: none; }
}
