#sot-journey-nodes .node:is([data-mode="short"],[data-mode="long_count"]){--mode-color:#6ee7b7}
#sot-journey-nodes .countdown-mini-art{inset:26%!important;display:grid!important;place-items:center!important;font:500 48px/1 Inter,sans-serif!important;color:#6ee7b7!important;border:1px solid currentColor!important;border-radius:50%}
#sot-journey-nodes .countdown-final-title{font-size:clamp(8px,2.2vw,12px)!important;white-space:nowrap}
#sot-journey-nodes .countdown-final-node{--journey-clock-scale:.65!important}
#sot-journey-nodes .countdown-final-node .orb{width:clamp(58px,23cqw,112px)!important;height:clamp(58px,23cqw,112px)!important;zoom:1!important}
#sot-journey-nodes .countdown-final-node{transform:translate(-50%,-44%)!important}
#sot-journey-nodes .countdown-final-node .orb>.mode{font-size:clamp(7px,2cqw,11px)!important;bottom:9%!important}
#sot-journey-nodes .countdown-final-node .orb>.action{font-size:clamp(7px,2cqw,11px)!important;top:12%!important;bottom:auto!important}
#sot-journey-nodes .countdown-final-node[data-mode="duel"] .orb>.action{inset:14% auto auto 50%!important;transform:translateX(-50%)!important;width:auto!important;max-width:90%!important;font-size:10px!important;white-space:nowrap!important}
#sot-journey-nodes .countdown-final-node .duel-journey-label{display:none!important}
#sot-journey-nodes .countdown-final-node .stage-number{font-size:10px!important}
#sot-journey-nodes .countdown-final-node .clock-art{transform:scale(.72)}
#sot-journey-nodes .journey-edge.countdown-edge,#sot-journey-nodes .journey-edge.countdown-edge.current{stroke:#6ee7b7!important;marker-end:url(#journey-countdown-tip)!important}
.tension-hourglass {
  border:0!important;
  border-radius:0;
  background:none!important;
  box-shadow:none!important;
  margin:0!important;
  color:#8af0c5;
  filter:drop-shadow(0 0 4px #34d39966);
}
#sot-journey-nodes .node[data-mode="long_count"] .tension-hourglass {
  inset:25% 28%!important;
}
.tension-hourglass-art {
  display:block;
  width:100%;
  height:100%;
  overflow:visible;
}
.tension-glass {
  fill:currentColor;
  fill-opacity:.035;
  stroke:currentColor;
  stroke-width:2;
}
.tension-caps {
  fill:none;
  stroke:currentColor;
  stroke-width:3.5;
  stroke-linecap:round;
}
.tension-glass-shine {
  fill:none;
  stroke:#d1fae5;
  stroke-width:1.2;
  stroke-linecap:round;
  opacity:.4;
}
.tension-sand-top { fill:#bdfbe0; opacity:.85; }
.tension-sand-bottom { fill:currentColor; opacity:.9; }
.tension-sand-stream {
  fill:none;
  stroke:#d1fae5;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-dasharray:1.8 5;
}
body.mode-countdown { --accent:#6ee7b7; --clock-accent:#6ee7b7; }
body.mode-countdown #live-timer-display:not(.revealed) { visibility:hidden!important; }
body.mode-countdown #hourglass-wrap .countdown-game-icon {
  position:absolute;
  top:9%;
  left:50%;
  transform:translateX(-50%);
  display:grid;
  place-items:center;
  width:12%;
  height:12%;
  box-sizing:border-box;
  color:#6ee7b7;
  z-index:8;
  pointer-events:none;
}
body.mode-countdown #hourglass-wrap .countdown-mini-art {
  border:1px solid currentColor;
  border-radius:50%;
  font:500 clamp(20px,7vw,38px)/1 Inter,sans-serif;
}
body.mode-countdown #hourglass-wrap .tension-hourglass { inset:7% auto auto 50%!important; width:13%; height:18%; }
body.mode-countdown #new-game-btn,
body.mode-countdown #result-unlock .result-unlock-fill { background:linear-gradient(110deg,#059669,#6ee7b7)!important; }
body.mode-countdown #final-mode-label,
body.mode-countdown #target-display { color:#6ee7b7!important; }body.mode-countdown #hourglass-wrap #live-timer-display.revealed{opacity:1!important;visibility:visible!important}

body.mode-countdown .clock-mechanism {
  --clock-accent:#6ee7b7;
  --clock-accent-tt:#6ee7b7!important;
}
body.mode-countdown .clock-mechanism .clock-core {
  background:radial-gradient(circle at 42% 34%,#153c37,#0c2427 58%,#080f20 100%)!important;
  border-color:#41b98d!important;
  box-shadow:inset 0 0 34px #0009,0 0 28px #34d39925!important;
}
body.mode-countdown .clock-mechanism .clock-core::before { border-color:#6ee7b738!important; }
body.mode-countdown .clock-mechanism .clock-hand {
  background:linear-gradient(#d1fae5,#6ee7b7 45%,transparent)!important;
}
body.mode-countdown :is(#target-value-caption,#clock-ready-round,#live-timer-display.revealed,#final-score,#tt-stat-points,#tt-stat-rounds,#tt-stat-best,#personal-best-value) {
  color:#6ee7b7!important;
}
body.mode-countdown #live-timer-display.revealed {
  text-shadow:0 0 8px #6ee7b799,0 0 20px #34d39966!important;
}
body.mode-countdown #tt-bottom-bar {
  background:linear-gradient(135deg,#0d292b,#0b1726)!important;
  border-color:#6ee7b74d!important;
}
body.mode-countdown #tt-bottom-bar :is(svg,.tt-stat-label) { color:#6ee7b7!important; }
body.mode-countdown #new-game-btn {
  background:linear-gradient(110deg,#059669,#6ee7b7)!important;
  color:#042f2e!important;
  border-color:#6ee7b7!important;
  text-shadow:none!important;
  box-shadow:0 6px 20px #34d39933,inset 0 1px #ffffff55!important;
}
body.mode-countdown :is(#share-result-btn,#leaderboard-scope-tabs button,#personal-best-line) {
  border-color:#6ee7b74d!important;
}
body.mode-countdown #share-result-btn { color:#6ee7b7!important; background:#0d292b88!important; }
body.mode-countdown #leaderboard-scope-tabs button[aria-pressed="true"] {
  background:#134e4a88!important;
  color:#6ee7b7!important;
  border-color:#6ee7b7!important;
  box-shadow:inset 0 0 16px #34d39922!important;
}
body.mode-countdown #submit-score-btn {
  background:linear-gradient(110deg,#059669,#6ee7b7)!important;
  color:#042f2e!important;
  border-color:#6ee7b7!important;
}
body.mode-countdown #tt-round-score-pill {
  color:#a7f3d0!important;
  border-color:#6ee7b766!important;
  background:#064e3b88!important;
}
body.mode-countdown #result-unlock .result-unlock-fill {
  background:linear-gradient(110deg,#059669,#6ee7b7)!important;
}

body.mode-countdown :is(#tt-stat-label-points,#tt-stat-label-rounds,#tt-stat-label-best) { color:#6ee7b7!important; }
body.mode-countdown #result-unlock { --result-action-gradient:linear-gradient(110deg,#059669,#6ee7b7); }

body.mode-countdown #hourglass-wrap .clock-core.countdown-rush-core {
  border-color:transparent!important;
}
body.mode-countdown #hourglass-wrap .countdown-rush-core::before {
  border-color:transparent!important;
}
.countdown-rush-frame {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  overflow:visible;
  pointer-events:none;
  z-index:8;
  filter:drop-shadow(0 0 4px #34d39977);
}
.rush-arrow-icon {
  color:#8af0c5;
  width:100%;
  height:100%;
  display:block;
  overflow:visible;
}
.rush-arrow-icon .rush-frame-track {
  fill:none;
  stroke:currentColor;
  stroke-width:1;
  opacity:.14;
}
.rush-arrow-icon .rush-frame-arc {
  fill:none;
  stroke:currentColor;
  stroke-width:2.2;
  stroke-linecap:round;
}
.rush-arrow-icon .rush-frame-tip {
  fill:currentColor;
  stroke:currentColor;
  stroke-width:1;
  stroke-linejoin:round;
}
#sot-journey-nodes .node[data-mode="short"] .rush-clock-art {
  inset:29%!important;
  margin:0!important;
  border:0!important;
  background:none!important;
  filter:drop-shadow(0 0 4px #34d39966);
}
#sot-journey-nodes .node.is-current-mode .rush-clock-art .rush-arrow-icon {
  animation:rush-counterclockwise 14s linear infinite;
}
body.mode-countdown .countdown-rush-frame {
  animation:rush-counterclockwise-game var(--round-clock-hand-duration,4.1s) linear infinite;
  animation-play-state:paused;
}
body.mode-countdown.timing-active .countdown-rush-frame {
  animation-play-state:running;
  will-change:transform;
}
@keyframes rush-counterclockwise {
  from { transform:rotate(0deg); }
  to { transform:rotate(-360deg); }
}
@media (prefers-reduced-motion:reduce) {
  #sot-journey-nodes .rush-clock-art .rush-arrow-icon,
  body.mode-countdown .countdown-rush-frame {
    animation:none;
    will-change:auto;
  }
}
/* Highlight the current progression mode through its own artwork. */
#sot-journey-nodes .journey-pulse-baseline { opacity:0; }
#sot-journey-nodes .is-current-mode .journey-pulse-baseline { opacity:.2; }
#sot-journey-nodes .is-current-mode .journey-pulse-trace {
  stroke-dasharray:20 80;
  animation:journey-heartbeat 1.55s linear infinite;
}
#sot-journey-nodes .is-current-mode[data-mode="blitz"] .clock-art {
  animation:journey-lightning 2.2s ease-in-out infinite;
  transform-origin:50% 50%;
}
#sot-journey-nodes .is-current-mode .journey-play-stamp {
  animation:journey-play-invite 1.8s ease-in-out infinite;
}
#sot-journey-nodes .is-current-mode[data-mode="flow"] .clock-art svg {
  transform-origin:50% 90%;
  animation:journey-fire .85s ease-in-out infinite;
}
#sot-journey-nodes .is-current-mode[data-mode="flow"] .clock-art::before,
#sot-journey-nodes .is-current-mode[data-mode="flow"] .clock-art::after {
  content:'';
  position:absolute;
  bottom:62%;
  left:30%;
  width:3px;
  height:3px;
  border-radius:50%;
  background:#ffe4a8;
  box-shadow:0 0 4px #fb923c;
  opacity:0;
  animation:journey-ember 1.6s ease-out infinite;
}
#sot-journey-nodes .is-current-mode[data-mode="flow"] .clock-art::after {
  left:66%;
  animation-delay:.75s;
}
#sot-journey-nodes .is-current-mode[data-mode="precision"] .clock-art {
  transform-origin:center;
  animation:journey-target 2.4s ease-in-out infinite;
}
#sot-journey-nodes .is-current-mode .tension-sand-top,
body.mode-countdown.timing-active .countdown-game-icon .tension-sand-top {
  transform-box:fill-box;
  transform-origin:50% 100%;
  animation:journey-sand 3.2s ease-in-out infinite;
}
#sot-journey-nodes .is-current-mode[data-mode="long"] .clock-art::after {
  animation:journey-sun 3s ease-in-out infinite;
}
#sot-journey-nodes .is-current-mode[data-mode="one"] .clock-art svg g circle {
  transform-box:fill-box;
  transform-origin:center;
  animation:journey-orbit 2.8s ease-in-out infinite;
}
#sot-journey-nodes .is-current-mode[data-mode="one"] .clock-art svg g circle:nth-child(2) { animation-delay:.25s; }
#sot-journey-nodes .is-current-mode[data-mode="one"] .clock-art svg g circle:nth-child(3) { animation-delay:.5s; }
#sot-journey-nodes .is-current-mode[data-mode="duel"] .clock-art {
  animation:journey-versus 2.2s ease-in-out infinite;
}
@keyframes journey-heartbeat {
  from { stroke-dashoffset:100; }
  to { stroke-dashoffset:0; }
}
@keyframes journey-lightning {
  0%,64%,100% { opacity:1; transform:scale(1); }
  68% { opacity:.5; transform:scale(.97); }
  72% { opacity:1; transform:scale(1.06); }
  76% { opacity:.7; transform:scale(1); }
  80% { opacity:1; transform:scale(1.03); }
}
@keyframes journey-play-invite {
  0%,100% { opacity:1; }
  50% { opacity:.7; }
}
@keyframes journey-fire {
  0%,100% { transform:scale(.97,1); opacity:.94; }
  20% { transform:scale(1.03,.96) rotate(-2deg); opacity:1; }
  45% { transform:scale(.94,1.1) rotate(1deg); opacity:.88; }
  70% { transform:scale(1.04,1.03) rotate(-1deg); opacity:1; }
}
@keyframes journey-ember {
  0% { transform:translate(0,0) scale(.7); opacity:0; }
  20% { opacity:.9; }
  100% { transform:translate(5px,-22px) scale(.2); opacity:0; }
}
@keyframes journey-target {
  0%,100% { transform:scale(.97); opacity:.75; }
  50% { transform:scale(1.04); opacity:1; }
}
@keyframes journey-sand {
  0%,12% { transform:scaleY(1); opacity:1; }
  85% { transform:scaleY(.15); opacity:.7; }
  100% { transform:scaleY(1); opacity:1; }
}
@keyframes journey-sun {
  0%,100% { translate:0 0; scale:1; opacity:.85; }
  50% { translate:0 -3px; scale:1.12; opacity:1; }
}
@keyframes journey-orbit {
  0%,100% { transform:scale(.95); opacity:.65; }
  50% { transform:scale(1.04); opacity:1; }
}
@keyframes journey-versus {
  0%,100% { scale:1; opacity:.82; }
  50% { scale:1.08; opacity:1; }
}
body:not(.menu-screen) #sot-journey-nodes .is-current-mode :is(.clock-art,.clock-art *,.journey-play-stamp) {
  animation-play-state:paused!important;
}
@media (prefers-reduced-motion:reduce) {
  #sot-journey-nodes .is-current-mode :is(.clock-art,.clock-art *,.journey-play-stamp),
  #sot-journey-nodes .is-current-mode .clock-art::before,
  #sot-journey-nodes .is-current-mode .clock-art::after {
    animation:none!important;
  }
  #sot-journey-nodes .is-current-mode .journey-pulse-trace {
    stroke-dasharray:none;
  }
}
body.mode-countdown :is(#time-trial-mode-title,#final-mode-label,#target-display) {
  color:#fff!important;
}

body.mode-countdown #hourglass-wrap #live-timer-display.countdown-timeout-text {
  font-family:Inter,sans-serif!important;
  font-size:clamp(20px,6vw,32px)!important;
  line-height:1.2;
  letter-spacing:.07em;
  text-align:center;
  white-space:normal!important;
  width:auto!important;
}
body.mode-countdown .countdown-timeout-text span { display:block; }

#sot-journey-nodes .is-current-mode .tension-sand-bottom,
body.mode-countdown.timing-active .countdown-game-icon .tension-sand-bottom {
  transform-box:fill-box;
  transform-origin:50% 100%;
  animation:journey-sand-pile 3.2s ease-in-out infinite;
}
#sot-journey-nodes .is-current-mode .tension-sand-stream,
body.mode-countdown.timing-active .countdown-game-icon .tension-sand-stream {
  animation:journey-sand-flow .8s linear infinite;
}
@keyframes journey-sand-pile {
  0%,12%,100% { transform:scaleY(.6); }
  85% { transform:scaleY(1); }
}
@keyframes journey-sand-flow {
  from { stroke-dashoffset:0; }
  to { stroke-dashoffset:-13.6; }
}
@media (prefers-reduced-motion:reduce) {
  body.mode-countdown.timing-active .countdown-game-icon :is(.tension-sand-top,.tension-sand-bottom,.tension-sand-stream) {
    animation:none;
  }
}
/* Gameplay hourglass uses the live timer circle as its waist. */
body.mode-countdown #hourglass-wrap .tension-game-hourglass {inset:0!important;width:100%;height:100%;transform:none;z-index:1;display:block;color:#8af0c5;filter:drop-shadow(0 0 5px #34d39955)}
.tension-game-hourglass svg {display:block;width:100%;height:100%;overflow:visible}
.tension-game-bowls {fill:none;stroke:#8af0c5;stroke-width:2;stroke-linecap:round}
.tension-game-cap {fill:none;stroke:#a7f3d0;stroke-width:3;stroke-linecap:round}
.tension-game-shine {fill:none;stroke:#d1fae5;stroke-width:1;opacity:.5;stroke-linecap:round}
body.mode-countdown .clock-core.countdown-tension-core {border:2px solid #8af0c5!important;box-shadow:inset 0 0 30px #0009,0 0 22px #34d39935!important}

body.mode-countdown #hourglass-wrap:has(.tension-game-hourglass) .clock-hand {opacity:0!important}

#sot-journey-nodes .node:is([data-mode="short"],[data-mode="long_count"]) .orb>.mode {translate:0 .25mm}
#sot-journey-nodes .countdown-final-node[data-mode="duel"] .duel-journey-label {display:block!important;position:absolute!important;inset:auto 1% calc(12% + .5mm)!important;transform:none!important;width:98%!important;text-align:center!important;font:600 clamp(6px,1.7cqw,9px)/1.1 Inter,sans-serif!important;letter-spacing:0!important;white-space:nowrap!important;color:#e9d5ff!important}

#sot-journey-nodes .countdown-final-node .orb>:is(.stage-number,.lock) {display:none!important}
#sot-journey-nodes .challenges-card-badge {position:absolute;top:calc(79.62025% + 6px);left:3%;right:3%;bottom:calc(.37975% + 6px);z-index:12;display:flex;align-items:flex-start;gap:5px;color:#e9d5ff;pointer-events:none}
#sot-journey-nodes .challenges-card-number {display:grid;place-items:center;box-sizing:border-box;width:24px;height:24px;border:1px solid #b98ade;border-radius:7px;background:#101b33;font:600 12px/1 Inter,sans-serif}
#sot-journey-nodes .challenges-card-lock {position:absolute;right:0;bottom:0;display:grid;place-items:center;width:27px;height:27px;border:1px solid #8b75a2;border-radius:50%;background:#101b33;color:#d4c2e3}
#sot-journey-nodes .challenges-card-lock[hidden] {display:none!important}
#sot-journey-nodes .challenges-card-badge.is-locked .challenges-card-number {color:#a6a0b4;border-color:#70647e}

#sot-journey-nodes .countdown-final-node .orb>.mode.daily-challenge-caption {bottom:7%!important;line-height:1.1!important;display:flex!important;flex-direction:column;gap:1px;text-align:center}
#sot-journey-nodes .daily-challenge-caption>span {display:block}

#sot-journey-nodes .challenges-card-badge.lock-feedback .challenges-card-lock {animation:journey-lock-feedback 280ms ease-out}
@media(prefers-reduced-motion:reduce){#sot-journey-nodes .challenges-card-badge.lock-feedback .challenges-card-lock {animation:none;outline:2px solid #eaf1fc}}

/* Rush uses only its rotating inner-circle arrow during gameplay. */
body.mode-countdown #hourglass-wrap:has(.countdown-rush-core) > .clock-hand {display:none!important}

@keyframes rush-counterclockwise-game {from {transform:rotate(var(--rush-start-angle,0deg))}to {transform:rotate(calc(var(--rush-start-angle,0deg) - 360deg))}}
#sot-journey-nodes .countdown-final-node[data-mode="duel"] .clock-art {
  inset:35%!important;
  margin:0!important;
  padding:0!important;
  display:grid!important;
  place-items:center!important;
  text-align:center!important;
  text-indent:0!important;
  letter-spacing:0!important;
  line-height:1!important;
}
