/* ==========================================================================
   How to Play – animated tour (tutorial.js). Layout of the overlay first,
   then the shared scene parts, then one block per chapter scene.
   Scenes are drawn on a 960 × 600 canvas that is scaled to fit.
   ========================================================================== */
.tut-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  grid-template-columns: minmax(220px, 272px) minmax(0, 1fr);
  background:
    radial-gradient(ellipse at 72% -10%, rgba(76, 201, 240, 0.13), transparent 52%),
    radial-gradient(ellipse at 8% 110%, rgba(247, 216, 74, 0.09), transparent 46%),
    #050d18;
  color: #f7fbff;
  font-family: Inter, Aptos, "Segoe UI", Arial, sans-serif;
}

.tut-overlay[hidden] {
  display: none;
}

.tut-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 0;
  padding: 22px 14px 18px 18px;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(3, 10, 20, 0.55);
  overflow-y: auto;
}

.tut-brand {
  display: grid;
  gap: 4px;
  padding: 0 6px;
}

.tut-brand small,
.tut-header-copy small,
.tut-step-count {
  color: #f7d84a;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.tut-brand strong {
  font-size: 25px;
  line-height: 1.1;
}

.tut-brand span {
  color: #a9c5d8;
  font-size: 13px;
  font-weight: 650;
}

.tut-chapters {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tut-chapter {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  width: 100%;
  min-height: 50px;
  padding: 7px 10px;
  border: 1px solid transparent;
  border-radius: 11px;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.tut-chapter:hover {
  background: rgba(255, 255, 255, 0.05);
}

.tut-chapter-number {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  color: #cfe3f0;
  font-size: 13px;
  font-weight: 800;
}

.tut-chapter-copy {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.tut-chapter-copy b {
  font-size: 15px;
  font-weight: 750;
}

.tut-chapter-copy small {
  color: #8fb0c6;
  font-size: 12px;
  font-weight: 650;
}

.tut-chapter.is-current {
  border-color: rgba(247, 216, 74, 0.45);
  background: linear-gradient(90deg, rgba(247, 216, 74, 0.15), rgba(247, 216, 74, 0.03));
}

.tut-chapter.is-current .tut-chapter-number {
  border-color: #f7d84a;
  background: #f7d84a;
  color: #1b1400;
}

.tut-chapter.is-done:not(.is-current) .tut-chapter-number {
  border-color: rgba(73, 229, 143, 0.6);
  color: #9effcd;
}

.tut-sidebar-foot {
  margin: auto 6px 0;
  color: #7f9db2;
  font-size: 12px;
  line-height: 1.45;
}

.tut-main {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 14px;
  min-width: 0;
  min-height: 0;
  padding: 18px 26px 20px;
}

.tut-header {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.tut-header-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
  margin-right: auto;
}

.tut-header-copy h2 {
  margin: 0;
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.1;
}

.tut-close,
.tut-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #f7fbff;
  font: 750 15px/1 Inter, Aptos, "Segoe UI", Arial, sans-serif;
  white-space: nowrap;
  cursor: pointer;
}

.tut-close:hover,
.tut-control:hover {
  background: rgba(255, 255, 255, 0.13);
}

.tut-control.is-primary {
  border-color: transparent;
  background: linear-gradient(180deg, #ffe27a, #f0bf2c);
  color: #1b1400;
}

.tut-control[disabled] {
  opacity: 0.38;
  cursor: default;
}

.tut-close:focus-visible,
.tut-control:focus-visible,
.tut-chapter:focus-visible,
.tut-progress-step:focus-visible {
  outline: 3px solid #4cc9f0;
  outline-offset: 2px;
}

.tut-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.tut-canvas-frame {
  position: relative;
  width: calc(960px * var(--tut-scale, 1));
  height: calc(600px * var(--tut-scale, 1));
  overflow: hidden;
  border-radius: 18px;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.1);
}

.tut-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 960px;
  height: 600px;
  overflow: hidden;
  background: #07172a;
  transform: scale(var(--tut-scale, 1));
  transform-origin: 0 0;
}

.tut-caption {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 24px;
  align-items: center;
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(8, 22, 39, 0.82);
}

.tut-progress {
  display: flex;
  grid-column: 1 / -1;
  gap: 6px;
}

.tut-progress-step {
  position: relative;
  flex: 1;
  height: 6px;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.15);
  cursor: pointer;
}

.tut-progress-step::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #f7d84a;
  transform: scaleX(0);
  transform-origin: 0 50%;
}

.tut-progress-step.is-done::after {
  transform: scaleX(1);
}

.tut-progress-step.is-current::after {
  animation: tutProgress var(--tut-step-ms, 5000ms) linear forwards;
}

.tut-overlay.is-paused .tut-progress-step.is-current::after {
  animation-play-state: paused;
}

@keyframes tutProgress {
  to {
    transform: scaleX(1);
  }
}

.tut-caption-copy {
  display: grid;
  align-content: start;
  gap: 5px;
  min-width: 0;
  /* Room for a two-line text, so the scene keeps its size from step to step. */
  min-height: 108px;
}

.tut-caption h3 {
  margin: 0;
  font-size: clamp(19px, 1.7vw, 25px);
  line-height: 1.15;
}

.tut-caption p {
  max-width: 72ch;
  margin: 0;
  color: #d6e7f2;
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.45;
}

.tut-controls-bar {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tut-control svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.tut-control[hidden] {
  display: none;
}

/* Tablets and small laptops: chapters become a row of tabs above the stage. */
@media (max-width: 980px) {
  .tut-overlay {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
  }

  .tut-sidebar {
    flex-direction: row;
    align-items: center;
    padding: 10px 12px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    overflow-x: auto;
    overflow-y: hidden;
  }

  .tut-brand,
  .tut-sidebar-foot {
    display: none;
  }

  .tut-chapters {
    display: flex;
  }

  .tut-chapter {
    grid-template-columns: 28px auto;
    width: auto;
    min-height: 42px;
    white-space: nowrap;
  }

  .tut-chapter-copy small {
    display: none;
  }

  .tut-main {
    gap: 10px;
    padding: 12px 14px 14px;
  }

  .tut-caption-copy {
    min-height: 124px;
  }
}

@media (max-width: 640px) {
  .tut-chapter {
    grid-template-columns: 28px;
    padding: 6px;
  }

  .tut-chapter-copy {
    display: none;
  }

  .tut-chapter.is-current {
    grid-template-columns: 28px auto;
    padding: 6px 12px 6px 6px;
  }

  .tut-chapter.is-current .tut-chapter-copy {
    display: grid;
  }

  .tut-caption {
    grid-template-columns: minmax(0, 1fr);
    padding: 14px;
  }

  .tut-controls-bar {
    justify-content: space-between;
  }

  .tut-close-label {
    display: none;
  }
}

/* Phones held sideways: stage and caption side by side. */
@media (max-height: 520px) and (orientation: landscape) {
  .tut-main {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
    gap: 8px 12px;
    padding: 8px 12px 10px;
  }

  .tut-header {
    grid-column: 1 / -1;
  }

  .tut-header-copy h2 {
    font-size: 18px;
  }

  .tut-close,
  .tut-control {
    min-height: 38px;
    padding: 0 12px;
    font-size: 14px;
  }

  .tut-caption {
    grid-template-columns: minmax(0, 1fr);
    align-self: stretch;
    align-content: space-between;
    padding: 10px 12px;
    overflow-y: auto;
  }

  .tut-caption h3 {
    font-size: 17px;
  }

  .tut-caption p {
    font-size: 14px;
  }

  .tut-sidebar {
    padding: 6px 10px;
  }

  .tut-chapter {
    min-height: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tut-overlay *,
  .tut-overlay *::before,
  .tut-overlay *::after {
    animation-delay: 0ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}

/* ----- Shared scene parts. Each step is rendered fresh, so every step
   animates from its own start state (the end state of the step before). ----- */
.tut-scene {
  position: absolute;
  inset: 0;
  color: #f7fbff;
  font-family: Inter, Aptos, "Segoe UI", Arial, sans-serif;
}

.tut-scene *,
.tut-scene *::before,
.tut-scene *::after {
  box-sizing: border-box;
}

.tut-backdrop {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  opacity: 0.6;
}

.tut-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 12, 24, 0.3), rgba(4, 12, 24, 0.8));
}

.tut-pitch {
  position: absolute;
  top: 130px;
  left: 70px;
  width: 820px;
  height: 300px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-radius: 14px;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(255, 255, 255, 0.12), transparent 60%),
    repeating-linear-gradient(90deg, #2f9148 0 117px, #298241 117px 234px);
  box-shadow:
    inset 0 0 70px rgba(0, 0, 0, 0.38),
    0 22px 50px rgba(0, 0, 0, 0.45);
}

.tut-pitch-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 409px;
  width: 2px;
  background: rgba(255, 255, 255, 0.62);
}

.tut-pitch-circle {
  position: absolute;
  top: 93px;
  left: 355px;
  width: 110px;
  height: 110px;
  border: 2px solid rgba(255, 255, 255, 0.62);
  border-radius: 50%;
}

.tut-goal {
  position: absolute;
  top: 103px;
  width: 24px;
  height: 90px;
  border: 3px solid rgba(255, 255, 255, 0.9);
  background:
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.28) 0 2px, transparent 2px 8px),
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, 0.28) 0 2px, transparent 2px 8px);
}

.tut-goal-left {
  left: -26px;
  border-right: 0;
  border-radius: 6px 0 0 6px;
}

.tut-goal-right {
  right: -26px;
  border-left: 0;
  border-radius: 0 6px 6px 0;
}

.tut-ball {
  position: absolute;
  top: 258px;
  left: 458px;
  z-index: 6;
  width: 44px;
  height: 44px;
  filter: drop-shadow(0 8px 10px rgba(0, 0, 0, 0.45));
  transform: translateX(var(--to-x, 0px));
}

.tut-emblem {
  width: 150px;
  height: 150px;
  object-fit: contain;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.5));
}

.tut-vs {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 2px solid rgba(247, 216, 74, 0.7);
  border-radius: 50%;
  background: radial-gradient(circle, #1d2a3a, #0b1624);
  color: #f7d84a;
  font-size: 24px;
  font-weight: 900;
}

.tut-label {
  margin: 0;
  color: #9fc3d8;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tut-label em {
  margin-left: 10px;
  color: #9effcd;
  font-style: normal;
  letter-spacing: 0;
  text-transform: none;
}

.tut-btn {
  display: inline-grid;
  place-items: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: linear-gradient(180deg, #1b3350, #102239);
  color: #eaf6ff;
  font-size: 17px;
  font-weight: 800;
  white-space: nowrap;
}

.tut-btn-good {
  border-color: rgba(96, 240, 160, 0.4);
  background: linear-gradient(180deg, #2a8a58, #17613d);
}

.tut-btn-bad {
  border-color: rgba(255, 130, 130, 0.4);
  background: linear-gradient(180deg, #9b3040, #6c1d2a);
}

.tut-btn-neutral {
  background: linear-gradient(180deg, #34465c, #223244);
}

.tut-btn-gold {
  border-color: transparent;
  background: linear-gradient(180deg, #ffe27a, #eebc2a);
  color: #1b1400;
}

.tut-controls {
  position: absolute;
  right: 40px;
  bottom: 30px;
  left: 40px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 14px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(4, 14, 26, 0.86);
}

.tut-controls-side,
.tut-controls-middle {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 10px;
}

.tut-controls-middle .tut-btn {
  min-width: 140px;
}

.tut-board {
  position: absolute;
  top: 18px;
  right: 40px;
  left: 40px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: center;
  height: 84px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(4, 14, 26, 0.84);
}

.tut-board-side {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
}

.tut-board-side.tut-side-b {
  justify-content: flex-end;
}

.tut-board-emblem {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.tut-goals {
  margin: 0 8px;
  color: #ffffff;
  font-size: 30px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.tut-goals em {
  font-style: normal;
}

.tut-board-clock {
  display: grid;
  justify-items: center;
  color: #a9c5d8;
  font-size: 13px;
  font-weight: 700;
}

.tut-board-clock b {
  color: #ffffff;
  font-size: 30px;
  font-variant-numeric: tabular-nums;
}

.tut-wordcard,
.tut-duel-card {
  position: absolute;
  top: 150px;
  left: 290px;
  z-index: 8;
  display: grid;
  justify-items: center;
  gap: 4px;
  width: 380px;
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  background: rgba(6, 18, 34, 0.92);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.tut-wordcard small,
.tut-duel-card small {
  color: #a9c5d8;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tut-wordcard strong,
.tut-duel-word {
  font-size: 42px;
  font-weight: 900;
  line-height: 1.05;
}

.tut-burst {
  position: absolute;
  inset: 0;
  z-index: 12;
  display: grid;
  place-items: center;
  opacity: 0;
  pointer-events: none;
}

.tut-burst strong {
  color: #ffe27a;
  font-size: 110px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-shadow:
    0 0 40px rgba(247, 216, 74, 0.65),
    0 8px 0 rgba(90, 60, 0, 0.6);
}

.tut-modal {
  position: absolute;
  top: 120px;
  left: 230px;
  z-index: 14;
  display: grid;
  justify-items: center;
  gap: 10px;
  width: 500px;
  padding: 26px;
  border: 1px solid rgba(247, 216, 74, 0.45);
  border-radius: 20px;
  background: linear-gradient(180deg, #13263d, #081424);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
  opacity: 0;
}

.tut-modal small {
  color: #f7d84a;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tut-modal strong {
  font-size: 32px;
}

.tut-modal-actions {
  display: flex;
  gap: 12px;
  margin-top: 6px;
}

.tut-bubble {
  position: absolute;
  top: 330px;
  left: 110px;
  z-index: 9;
  padding: 12px 18px;
  border-radius: 18px 18px 18px 4px;
  background: #ffffff;
  color: #0b1624;
  font-size: 24px;
  font-weight: 800;
  opacity: 0;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.tut-cursor {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 40;
  width: 36px;
  height: 36px;
  margin: -18px 0 0 -18px;
  opacity: 0;
  pointer-events: none;
}

.tut-cursor i {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow:
    0 0 0 5px rgba(247, 216, 74, 0.75),
    0 8px 20px rgba(0, 0, 0, 0.5);
}

/* The app panel used by the vocabulary and setup scenes. */
.tut-app {
  position: absolute;
  inset: 28px 40px;
  padding: 26px 30px;
  border: 1px solid rgba(152, 217, 255, 0.28);
  border-radius: 20px;
  background:
    radial-gradient(ellipse at 18% 0%, rgba(115, 232, 255, 0.14), transparent 45%),
    linear-gradient(135deg, #0c2340, #061425);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.45);
}

/* ----- Generic motion ----- */
@keyframes tutPopIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.9);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes tutFadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes tutFadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes tutBallMove {
  from {
    transform: translateX(var(--from-x, 0px)) rotate(0deg);
  }
  to {
    transform: translateX(var(--to-x, 0px)) rotate(var(--spin, 540deg));
  }
}

@keyframes tutPress {
  0%,
  100% {
    transform: none;
    filter: none;
  }
  40% {
    transform: scale(0.92);
    filter: brightness(1.45);
    box-shadow: 0 0 0 4px rgba(247, 216, 74, 0.8);
  }
}

/* Cursor glides from (--c0x, --c0y) to (--c1x, --c1y) and taps once. */
@keyframes tutCursorTap {
  0% {
    opacity: 0;
    transform: translate(var(--c0x), var(--c0y));
  }
  15% {
    opacity: 1;
    transform: translate(var(--c0x), var(--c0y));
  }
  65% {
    transform: translate(var(--c1x), var(--c1y));
  }
  75% {
    transform: translate(var(--c1x), var(--c1y)) scale(0.72);
  }
  88% {
    opacity: 1;
    transform: translate(var(--c1x), var(--c1y)) scale(1);
  }
  100% {
    opacity: 0.85;
    transform: translate(var(--c1x), var(--c1y));
  }
}

@keyframes tutBurst {
  0% {
    opacity: 0;
    transform: scale(0.4) rotate(-6deg);
  }
  30% {
    opacity: 1;
    transform: scale(1.12) rotate(2deg);
  }
  45% {
    transform: scale(1);
  }
  85% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scale(1.05);
  }
}

@keyframes tutGlow {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(247, 216, 74, 0);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(247, 216, 74, 0.35), 0 0 40px rgba(247, 216, 74, 0.35);
  }
}

/* ----- 1 Welcome ----- */
.tut-scene-welcome .tut-team {
  position: absolute;
  top: 150px;
  z-index: 7;
  display: grid;
  justify-items: center;
  gap: 6px;
  width: 220px;
}

.tut-scene-welcome .tut-team-a {
  left: 205px;
}

.tut-scene-welcome .tut-team-b {
  left: 535px;
}

.tut-scene-welcome .tut-team strong {
  font-size: 34px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tut-scene-welcome .tut-team-a strong {
  color: #8cc8ff;
}

.tut-scene-welcome .tut-team-b strong {
  color: #ff9494;
}

.tut-scene-welcome .tut-emblem {
  width: 180px;
  height: 180px;
}

.tut-scene-welcome .tut-vs {
  position: absolute;
  top: 210px;
  left: 448px;
  z-index: 7;
}

.tut-scene-welcome .tut-wordcard,
.tut-scene-welcome .tut-ball,
.tut-scene-welcome .tut-welcome-trophy {
  opacity: 0;
}

.tut-scene-welcome .tut-welcome-trophy {
  position: absolute;
  top: 300px;
  left: 405px;
  z-index: 13;
  width: 150px;
  height: 150px;
  object-fit: contain;
  filter: drop-shadow(0 0 30px rgba(247, 216, 74, 0.6));
}

.tut-scene-welcome[data-step="0"] .tut-team-a {
  animation: tutWelcomeFromLeft 0.8s 0.2s both;
}

.tut-scene-welcome[data-step="0"] .tut-team-b {
  animation: tutWelcomeFromRight 0.8s 0.5s both;
}

.tut-scene-welcome[data-step="0"] .tut-vs {
  animation: tutPopIn 0.5s 1.1s both;
}

.tut-scene-welcome:not([data-step="0"]) .tut-vs {
  opacity: 0;
}

.tut-scene-welcome:not([data-step="0"]) .tut-team-a {
  transform: translate(-190px, -118px) scale(0.5);
}

.tut-scene-welcome:not([data-step="0"]) .tut-team-b {
  transform: translate(190px, -118px) scale(0.5);
}

.tut-scene-welcome[data-step="1"] .tut-team-a {
  animation: tutWelcomeCornerA 0.8s both;
}

.tut-scene-welcome[data-step="1"] .tut-team-b {
  animation: tutWelcomeCornerB 0.8s both;
}

.tut-scene-welcome[data-step="1"] .tut-wordcard {
  animation: tutPopIn 0.6s 0.8s both;
}

.tut-scene-welcome[data-step="1"] .tut-ball {
  animation: tutFadeIn 0.5s 1.3s both;
}

.tut-scene-welcome[data-step="2"] .tut-wordcard {
  opacity: 1;
}

.tut-scene-welcome[data-step="2"] .tut-ball {
  --to-x: 117px;
  opacity: 1;
  animation: tutBallMove 0.9s 0.8s cubic-bezier(0.3, 0.7, 0.3, 1) both;
}

.tut-scene-welcome[data-step="3"] .tut-wordcard {
  animation: tutFadeOut 0.4s both;
}

.tut-scene-welcome[data-step="3"] .tut-ball {
  --from-x: 117px;
  --to-x: 418px;
  --spin: 900deg;
  opacity: 1;
  animation: tutBallMove 0.9s 0.4s cubic-bezier(0.5, 0, 0.3, 1) both;
}

.tut-scene-welcome[data-step="3"] .tut-burst {
  animation: tutBurst 1.8s 1.2s both;
}

.tut-scene-welcome[data-step="3"] .tut-welcome-trophy {
  animation: tutTrophyRise 1s 2.8s both;
}

@keyframes tutWelcomeFromLeft {
  from {
    opacity: 0;
    transform: translateX(-160px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes tutWelcomeFromRight {
  from {
    opacity: 0;
    transform: translateX(160px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes tutWelcomeCornerA {
  from {
    transform: none;
  }
  to {
    transform: translate(-190px, -118px) scale(0.5);
  }
}

@keyframes tutWelcomeCornerB {
  from {
    transform: none;
  }
  to {
    transform: translate(190px, -118px) scale(0.5);
  }
}

@keyframes tutTrophyRise {
  from {
    opacity: 0;
    transform: translateY(60px) scale(0.6);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ----- 2 Choose words ----- */
.tut-tabs {
  display: flex;
  gap: 10px;
}

.tut-tab {
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  color: #a9c5d8;
  font-size: 17px;
  font-weight: 750;
}

.tut-scene-words[data-step="0"] .tut-tab-builtin,
.tut-scene-words:not([data-step="0"]) .tut-tab-paste {
  border-color: rgba(76, 201, 240, 0.7);
  background: rgba(76, 201, 240, 0.16);
  color: #ffffff;
}

.tut-view {
  position: absolute;
  top: 96px;
  right: 30px;
  bottom: 24px;
  left: 30px;
  display: grid;
  align-content: start;
  gap: 14px;
  opacity: 0;
}

.tut-scene-words[data-step="0"] .tut-view-builtin,
.tut-scene-words[data-step="1"] .tut-view-paste,
.tut-scene-words[data-step="2"] .tut-view-check {
  animation: tutFadeIn 0.5s both;
}

.tut-scene-words[data-step="3"] .tut-view-check {
  opacity: 1;
}

.tut-chips {
  display: flex;
  gap: 10px;
}

.tut-chips span {
  flex: 1;
  padding: 14px 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 17px;
  font-weight: 750;
  text-align: center;
}

.tut-chips .is-on {
  border-color: rgba(82, 255, 168, 0.6);
  background: rgba(82, 255, 168, 0.13);
  animation: tutGlow 1.4s 0.4s 2 both;
}

.tut-packages {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.tut-package {
  position: relative;
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.tut-package b {
  font-size: 20px;
}

.tut-package small {
  color: #a9c5d8;
  font-size: 15px;
  font-weight: 650;
}

.tut-package i {
  position: absolute;
  top: 16px;
  right: 16px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #49e58f;
  color: #06231a;
  font-size: 17px;
  font-style: normal;
  font-weight: 900;
  opacity: 0;
}

.tut-scene-words[data-step="0"] .tut-package:nth-child(-n + 3) {
  animation: tutPackagePick 0.5s both;
}

.tut-scene-words[data-step="0"] .tut-package:nth-child(-n + 3) i {
  animation: tutPopIn 0.4s both;
}

.tut-scene-words[data-step="0"] .tut-package:nth-child(1),
.tut-scene-words[data-step="0"] .tut-package:nth-child(1) i {
  animation-delay: 1s;
}

.tut-scene-words[data-step="0"] .tut-package:nth-child(2),
.tut-scene-words[data-step="0"] .tut-package:nth-child(2) i {
  animation-delay: 1.7s;
}

.tut-scene-words[data-step="0"] .tut-package:nth-child(3),
.tut-scene-words[data-step="0"] .tut-package:nth-child(3) i {
  animation-delay: 2.4s;
}

@keyframes tutPackagePick {
  to {
    border-color: rgba(82, 255, 168, 0.55);
    background: rgba(82, 255, 168, 0.1);
  }
}

.tut-textarea {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 250px;
  padding: 20px 22px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  background: rgba(2, 9, 18, 0.62);
  font-size: 24px;
  font-weight: 650;
}

.tut-textarea span {
  width: max-content;
  clip-path: inset(0 100% 0 0);
}

.tut-scene-words[data-step="1"] .tut-textarea span {
  animation: tutType 0.7s steps(22) both;
}

.tut-scene-words[data-step="1"] .tut-textarea span:nth-child(1) { animation-delay: 0.4s; }
.tut-scene-words[data-step="1"] .tut-textarea span:nth-child(2) { animation-delay: 1.2s; }
.tut-scene-words[data-step="1"] .tut-textarea span:nth-child(3) { animation-delay: 2s; }
.tut-scene-words[data-step="1"] .tut-textarea span:nth-child(4) { animation-delay: 2.8s; }

@keyframes tutType {
  to {
    clip-path: inset(0 0 0 0);
  }
}

.tut-formats {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  color: #a9c5d8;
  font-size: 16px;
  font-weight: 650;
}

.tut-formats code {
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 7px;
  background: rgba(2, 9, 18, 0.55);
  color: #ffffff;
  font: 600 16px/1.3 ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}

.tut-table {
  display: grid;
  gap: 6px;
}

.tut-row {
  display: grid;
  grid-template-columns: 1fr 1fr 150px;
  align-items: center;
  padding: 9px 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(2, 9, 18, 0.45);
  font-size: 19px;
}

.tut-row span {
  color: #cfe3f0;
}

.tut-level {
  justify-self: start;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 14px;
  font-style: normal;
  font-weight: 800;
}

.tut-level.normal {
  background: rgba(76, 201, 240, 0.2);
  color: #9fe4ff;
}

.tut-level.challenge {
  background: rgba(247, 176, 74, 0.22);
  color: #ffc97a;
}

.tut-level.elite {
  background: rgba(255, 99, 130, 0.22);
  color: #ff9fb4;
}

.tut-scene-words[data-step="2"] .tut-row {
  animation: tutPopIn 0.45s both;
}

.tut-scene-words[data-step="2"] .tut-row:nth-child(1) { animation-delay: 0.5s; }
.tut-scene-words[data-step="2"] .tut-row:nth-child(2) { animation-delay: 0.9s; }
.tut-scene-words[data-step="2"] .tut-row:nth-child(3) { animation-delay: 1.3s; }
.tut-scene-words[data-step="2"] .tut-row:nth-child(4) { animation-delay: 1.7s; }

.tut-scene-words[data-step="2"] .tut-level {
  animation: tutPopIn 0.4s 2.3s both;
}

.tut-save {
  display: flex;
  align-items: center;
  gap: 14px;
}

.tut-field {
  flex: 1;
  padding: 12px 16px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  background: rgba(2, 9, 18, 0.55);
  font-size: 18px;
  font-weight: 700;
}

.tut-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 17px;
  font-weight: 750;
}

.tut-checkbox i {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 5px;
  background: #f7d84a;
  color: #1b1400;
  font-style: normal;
  font-weight: 900;
}

.tut-done {
  padding: 12px 16px;
  border: 1px solid rgba(82, 255, 168, 0.4);
  border-radius: 12px;
  background: rgba(82, 255, 168, 0.1);
  color: #d8ffea;
  font-size: 18px;
  font-weight: 750;
  opacity: 0;
}

.tut-scene-words[data-step="3"] .tut-cursor {
  --c0x: 560px;
  --c0y: 520px;
  --c1x: 745px;
  --c1y: 398px;
  animation: tutCursorTap 1.4s 0.3s both;
}

.tut-scene-words[data-step="3"] .tut-save-button {
  animation: tutPress 0.5s 1.25s both;
}

.tut-scene-words[data-step="3"] .tut-done {
  animation: tutPopIn 0.5s 1.8s both;
}

/* ----- 3 Game Setup ----- */
.tut-setup {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  gap: 16px;
}

.tut-kicker {
  margin: 0;
  color: #f7d84a;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.tut-setup-teams,
.tut-setup-row,
.tut-setup-start {
  border: 1px solid transparent;
  border-radius: 16px;
  opacity: 0.38;
}

.tut-setup-teams {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 8px;
}

.tut-setup-team {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 290px;
  padding: 10px 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.tut-setup-team .tut-emblem {
  width: 84px;
  height: 84px;
}

.tut-setup-team span {
  display: grid;
}

.tut-setup-team small {
  color: #a9c5d8;
  font-size: 14px;
  font-weight: 700;
}

.tut-setup-team b {
  font-size: 30px;
}

.tut-setup-team.tut-side-a b {
  color: #8cc8ff;
}

.tut-setup-team.tut-side-b b {
  color: #ff9494;
}

.tut-setup-row {
  display: grid;
  grid-template-columns: 140px 360px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
}

.tut-toggle {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 5px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(2, 9, 18, 0.55);
}

.tut-toggle span {
  position: relative;
  z-index: 1;
  padding: 12px 8px;
  font-size: 17px;
  font-weight: 800;
  text-align: center;
}

.tut-toggle-thumb {
  position: absolute;
  top: 5px;
  bottom: 5px;
  left: 5px;
  width: calc(50% - 5px);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(247, 216, 74, 0.95), rgba(226, 170, 30, 0.95));
}

.tut-toggle-thumb + span {
  color: #1b1400;
}

.tut-level-trail {
  display: flex;
  gap: 8px;
}

.tut-level-trail span {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #6f8aa0;
  font-size: 14px;
  font-weight: 800;
}

.tut-setup-start {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 6px;
  padding: 10px 16px;
}

.tut-setup-start small {
  color: #a9c5d8;
  font-size: 16px;
  font-weight: 700;
}

.tut-start-button {
  min-height: 56px;
  padding: 0 28px;
  font-size: 20px;
}

.tut-scene-setup[data-step="0"] .tut-setup-teams,
.tut-scene-setup[data-step="1"] .tut-setup-mode,
.tut-scene-setup[data-step="2"] .tut-setup-format,
.tut-scene-setup[data-step="3"] .tut-setup-start {
  border-color: rgba(247, 216, 74, 0.45);
  background: rgba(247, 216, 74, 0.06);
  opacity: 1;
  animation: tutFadeIn 0.5s both;
}

.tut-scene-setup[data-step="0"] .tut-setup-team {
  animation: tutPopIn 0.6s both;
}

.tut-scene-setup[data-step="0"] .tut-setup-team.tut-side-b {
  animation-delay: 0.4s;
}

.tut-scene-setup[data-step="1"] .tut-setup-mode .tut-toggle-thumb {
  animation: tutToggleThere 3.6s 0.8s both;
}

.tut-scene-setup[data-step="2"] .tut-setup-format .tut-toggle-thumb,
.tut-scene-setup[data-step="3"] .tut-setup-format .tut-toggle-thumb {
  transform: translateX(100%);
}

.tut-scene-setup[data-step="2"] .tut-setup-format .tut-toggle-thumb {
  animation: tutToggleOver 0.6s 0.8s both;
}

.tut-scene-setup[data-step="2"] .tut-setup-format .tut-toggle span:last-child,
.tut-scene-setup[data-step="3"] .tut-setup-format .tut-toggle span:last-child {
  color: #1b1400;
}

.tut-scene-setup[data-step="2"] .tut-setup-format .tut-toggle-thumb + span,
.tut-scene-setup[data-step="3"] .tut-setup-format .tut-toggle-thumb + span {
  color: #f7fbff;
}

.tut-scene-setup[data-step="2"] .tut-level-trail span {
  animation: tutTrailLight 0.5s both;
}

.tut-scene-setup[data-step="2"] .tut-level-trail span:nth-child(1) { animation-delay: 1.5s; }
.tut-scene-setup[data-step="2"] .tut-level-trail span:nth-child(2) { animation-delay: 2.1s; }
.tut-scene-setup[data-step="2"] .tut-level-trail span:nth-child(3) { animation-delay: 2.7s; }

.tut-scene-setup[data-step="3"] .tut-level-trail span {
  background: rgba(247, 216, 74, 0.2);
  color: #ffe27a;
}

.tut-scene-setup[data-step="3"] .tut-start-button {
  animation: tutGlow 1.2s 0.4s 1 both, tutPress 0.5s 2s both;
}

.tut-scene-setup[data-step="3"] .tut-cursor {
  --c0x: 520px;
  --c0y: 330px;
  --c1x: 728px;
  --c1y: 443px;
  animation: tutCursorTap 1.5s 0.8s both;
}

@keyframes tutToggleThere {
  0%,
  100% {
    transform: none;
  }
  25%,
  70% {
    transform: translateX(100%);
  }
}

@keyframes tutToggleOver {
  from {
    transform: none;
  }
  to {
    transform: translateX(100%);
  }
}

@keyframes tutTrailLight {
  to {
    background: rgba(247, 216, 74, 0.2);
    color: #ffe27a;
  }
}

/* ----- 4 Duel Mode ----- */
.tut-duel-card {
  min-height: 118px;
  opacity: 1;
}

.tut-duel-players {
  letter-spacing: 0.04em !important;
}

.tut-duel-players .tut-a {
  color: #8cc8ff;
}

.tut-duel-players .tut-b {
  color: #ff9494;
}

.tut-duel-answer {
  color: #9effcd;
  font-size: 26px;
  font-style: normal;
  font-weight: 800;
  opacity: 0;
}

.tut-countdown {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: #081a2e;
  opacity: 0;
}

.tut-countdown i {
  position: absolute;
  color: #ffe27a;
  font-size: 76px;
  font-style: normal;
  font-weight: 900;
  opacity: 0;
}

.tut-goals {
  position: relative;
  display: inline-block;
}

.tut-goals-after {
  position: absolute;
  left: 0;
  opacity: 0;
}

.tut-scene-duel[data-step="0"] .tut-duel-card {
  animation: tutPopIn 0.4s 0.2s both;
}

.tut-scene-duel[data-step="0"] .tut-countdown {
  animation: tutCountdownBox 2.8s 0.9s both;
}

.tut-scene-duel[data-step="0"] .tut-countdown i {
  animation: tutCountNumber 0.8s both;
}

.tut-scene-duel[data-step="0"] .tut-countdown i:nth-child(1) { animation-delay: 1s; }
.tut-scene-duel[data-step="0"] .tut-countdown i:nth-child(2) { animation-delay: 1.8s; }
.tut-scene-duel[data-step="0"] .tut-countdown i:nth-child(3) { animation-delay: 2.6s; }

.tut-scene-duel[data-step="0"] .tut-cursor {
  --c0x: 480px;
  --c0y: 440px;
  --c1x: 394px;
  --c1y: 535px;
  animation: tutCursorTap 1s 0.1s both;
}

.tut-scene-duel[data-step="0"] .tut-next {
  animation: tutPress 0.5s 0.7s both;
}

.tut-scene-duel[data-step="1"] .tut-bubble {
  animation: tutPopIn 0.45s 0.4s both;
}

.tut-scene-duel[data-step="1"] .tut-cursor {
  --c0x: 320px;
  --c0y: 470px;
  --c1x: 112px;
  --c1y: 535px;
  animation: tutCursorTap 1.3s 0.9s both;
}

.tut-scene-duel[data-step="1"] .tut-score-a {
  animation: tutPress 0.5s 1.85s both;
}

.tut-scene-duel[data-step="2"] .tut-ball {
  --to-x: 117px;
  animation: tutBallMove 0.9s 0.2s cubic-bezier(0.3, 0.7, 0.3, 1) both;
}

.tut-scene-duel[data-step="2"] .tut-cursor {
  --c0x: 112px;
  --c0y: 535px;
  --c1x: 565px;
  --c1y: 535px;
  animation: tutCursorTap 1.2s 1.1s both;
}

.tut-scene-duel[data-step="2"] .tut-reveal {
  animation: tutPress 0.5s 2s both;
}

.tut-scene-duel[data-step="2"] .tut-duel-answer {
  animation: tutPopIn 0.45s 2.2s both;
}

.tut-scene-duel[data-step="3"] .tut-duel-answer {
  opacity: 1;
}

.tut-scene-duel[data-step="3"] .tut-ball {
  --from-x: 117px;
  --to-x: 418px;
  --spin: 900deg;
  animation: tutBallMove 0.8s 0.3s cubic-bezier(0.5, 0, 0.3, 1) both;
}

.tut-scene-duel[data-step="3"] .tut-burst {
  animation: tutBurst 1.8s 1s both;
}

.tut-scene-duel[data-step="3"] .tut-goals-before {
  animation: tutFadeOut 0.2s 1.4s both;
}

.tut-scene-duel[data-step="3"] .tut-goals-after {
  animation: tutPopIn 0.45s 1.4s both;
}

.tut-scene-duel[data-step="4"] .tut-goals-before {
  opacity: 0;
}

.tut-scene-duel[data-step="4"] .tut-goals-after {
  opacity: 1;
}

.tut-scene-duel[data-step="4"] .tut-duel-card {
  opacity: 0.35;
}

.tut-scene-duel[data-step="4"] .tut-cursor {
  --c0x: 480px;
  --c0y: 440px;
  --c1x: 240px;
  --c1y: 535px;
  --c2x: 409px;
  --c2y: 256px;
  animation: tutCursorTwoTaps 3s 0.3s both;
}

.tut-scene-duel[data-step="4"] .tut-penalty-a {
  animation: tutPress 0.5s 1.25s both;
}

.tut-scene-duel[data-step="4"] .tut-penalty-modal {
  animation: tutPopIn 0.5s 1.6s both;
}

.tut-scene-duel[data-step="4"] .tut-wins {
  animation: tutPress 0.5s 2.45s both;
}

@keyframes tutCountdownBox {
  0%,
  88% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes tutCountNumber {
  0% {
    opacity: 0;
    transform: scale(1.8);
  }
  25% {
    opacity: 1;
    transform: scale(1);
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scale(0.8);
  }
}

@keyframes tutCursorTwoTaps {
  0% {
    opacity: 0;
    transform: translate(var(--c0x), var(--c0y));
  }
  8% {
    opacity: 1;
    transform: translate(var(--c0x), var(--c0y));
  }
  30% {
    transform: translate(var(--c1x), var(--c1y));
  }
  36% {
    transform: translate(var(--c1x), var(--c1y)) scale(0.72);
  }
  44% {
    transform: translate(var(--c1x), var(--c1y)) scale(1);
  }
  68% {
    transform: translate(var(--c2x), var(--c2y));
  }
  74% {
    transform: translate(var(--c2x), var(--c2y)) scale(0.72);
  }
  82% {
    opacity: 1;
    transform: translate(var(--c2x), var(--c2y)) scale(1);
  }
  100% {
    opacity: 0.85;
    transform: translate(var(--c2x), var(--c2y));
  }
}

/* ----- 5 Possession Rush ----- */
@property --tut-ring {
  syntax: "<number>";
  inherits: false;
  initial-value: 1;
}

.tut-rush-banner {
  position: absolute;
  top: 18px;
  left: 250px;
  display: flex;
  align-items: center;
  width: 460px;
  height: 90px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  background: rgba(4, 14, 26, 0.88);
}

.tut-rush-timer {
  position: relative;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
}

.tut-rush-timer i {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(#4cc9f0 calc(var(--tut-ring) * 360deg), rgba(255, 255, 255, 0.12) 0);
  -webkit-mask: radial-gradient(circle, transparent 25px, #000 26px);
  mask: radial-gradient(circle, transparent 25px, #000 26px);
  animation: tutRing 6s linear both;
}

.tut-rush-timer b {
  font-size: 18px;
}

.tut-rush-team {
  position: absolute;
  left: 104px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.tut-rush-team span {
  display: grid;
}

.tut-rush-team small {
  color: #a9c5d8;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tut-rush-team b {
  font-size: 32px;
  font-weight: 900;
  text-transform: uppercase;
}

.tut-rush-team-a b {
  color: #8cc8ff;
}

.tut-rush-team-b b {
  color: #ff9494;
}

.tut-rush-team-b {
  opacity: 0;
}

.tut-rush-word {
  position: absolute;
  top: 146px;
  left: 330px;
  z-index: 8;
  width: 300px;
  height: 80px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  background: rgba(6, 18, 34, 0.92);
}

.tut-rush-word strong {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 36px;
  font-weight: 900;
  opacity: 0;
}

.tut-meter {
  position: absolute;
  top: 378px;
  left: 96px;
  z-index: 7;
  display: grid;
  gap: 6px;
  width: 250px;
}

.tut-meter small {
  color: #ffe27a;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.tut-meter i {
  display: block;
  height: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  background: rgba(2, 9, 18, 0.6);
}

.tut-meter b {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f7a62a, #ffe27a);
}

.tut-flash {
  position: absolute;
  inset: 0;
  z-index: 12;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 6px;
  opacity: 0;
  pointer-events: none;
}

.tut-flash-icon {
  width: 150px;
  height: 150px;
  object-fit: contain;
  filter: drop-shadow(0 0 30px rgba(247, 216, 74, 0.5));
}

.tut-flash strong {
  font-size: 64px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-shadow: 0 6px 24px rgba(0, 0, 0, 0.6);
}

.tut-turnover strong {
  color: #ff9494;
}

.tut-powershot strong {
  color: #ffe27a;
}

.tut-assist {
  position: absolute;
  top: 360px;
  left: 390px;
  z-index: 7;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 8px;
  border: 1px solid rgba(76, 201, 240, 0.4);
  border-radius: 999px;
  background: rgba(4, 14, 26, 0.88);
  opacity: 0.4;
}

.tut-assist-icon {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.tut-assist span,
.tut-underdog {
  display: grid;
}

.tut-assist small,
.tut-underdog small {
  color: #a9c5d8;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.tut-assist b,
.tut-underdog b {
  font-size: 20px;
}

.tut-underdog {
  position: absolute;
  top: 366px;
  left: 660px;
  z-index: 7;
  padding: 8px 16px;
  border: 1px solid rgba(247, 216, 74, 0.4);
  border-radius: 14px;
  background: rgba(4, 14, 26, 0.88);
  opacity: 0.4;
}

.tut-rush-side-b {
  opacity: 0.35;
}

.tut-scene-rush[data-step="0"] .tut-rush-banner {
  animation: tutPopIn 0.5s 0.2s both;
}

.tut-scene-rush[data-step="0"] .tut-rush-word-1 {
  animation: tutPopIn 0.4s 1s both;
}

.tut-scene-rush[data-step="0"] .tut-rush-side-a {
  animation: tutGlow 1.2s 1.6s 2 both;
}

.tut-scene-rush[data-step="1"] .tut-rush-word-1 {
  animation: tutWordOut 3s 0.3s both;
}

.tut-scene-rush[data-step="1"] .tut-rush-word-2 {
  animation: tutWordMiddle 3s 0.3s both;
}

.tut-scene-rush[data-step="1"] .tut-rush-word-3 {
  animation: tutWordLast 3s 0.3s both;
}

.tut-scene-rush[data-step="1"] .tut-cursor {
  --c0x: 320px;
  --c0y: 470px;
  --c1x: 112px;
  --c1y: 535px;
  --c2x: 112px;
  --c2y: 535px;
  animation: tutCursorTwoTaps 3s 0.3s both;
}

.tut-scene-rush[data-step="1"] .tut-correct-a {
  animation: tutPress 0.45s 1.3s both, tutPress 0.45s 2.5s both;
}

.tut-scene-rush[data-step="1"] .tut-ball {
  animation: tutBallTwoZones 3s 0.3s both;
}

.tut-scene-rush[data-step="1"] .tut-meter b {
  animation: tutMeterTwo 3s 0.3s both;
}

.tut-scene-rush:is([data-step="2"], [data-step="3"], [data-step="4"]) .tut-rush-word-3 {
  opacity: 1;
}

.tut-scene-rush[data-step="2"] .tut-meter b {
  width: 66%;
  animation: tutMeterFull 0.8s 0.4s both;
}

.tut-scene-rush[data-step="2"] .tut-powershot {
  animation: tutBurst 1.8s 1.2s both;
}

.tut-scene-rush[data-step="2"] .tut-ball {
  --from-x: 234px;
  --to-x: 418px;
  --spin: 900deg;
  animation: tutBallMove 0.7s 2.4s cubic-bezier(0.5, 0, 0.3, 1) both;
}

.tut-scene-rush[data-step="3"] .tut-ball {
  --to-x: 117px;
}

.tut-scene-rush[data-step="3"] .tut-cursor {
  --c0x: 320px;
  --c0y: 470px;
  --c1x: 240px;
  --c1y: 535px;
  animation: tutCursorTap 1.2s 0.3s both;
}

.tut-scene-rush[data-step="3"] .tut-wrong-a {
  animation: tutPress 0.5s 1.1s both;
}

.tut-scene-rush[data-step="3"] .tut-turnover {
  animation: tutBurst 1.8s 1.4s both;
}

.tut-scene-rush[data-step="3"] .tut-rush-team-a {
  animation: tutFadeOut 0.4s 2.2s both;
}

.tut-scene-rush[data-step="3"] .tut-rush-team-b {
  animation: tutFadeIn 0.4s 2.4s both;
}

.tut-scene-rush[data-step="3"] .tut-rush-side-a {
  animation: tutDim 0.4s 2.4s both;
}

.tut-scene-rush[data-step="3"] .tut-rush-side-b {
  animation: tutUndim 0.4s 2.4s both;
}

.tut-scene-rush[data-step="4"] .tut-rush-team-a {
  opacity: 0;
}

.tut-scene-rush[data-step="4"] .tut-rush-team-b {
  opacity: 1;
}

.tut-scene-rush[data-step="4"] .tut-rush-side-a {
  opacity: 0.35;
}

.tut-scene-rush[data-step="4"] .tut-rush-side-b {
  opacity: 1;
}

.tut-scene-rush[data-step="4"] .tut-ball {
  --to-x: 117px;
}

.tut-scene-rush[data-step="4"] .tut-assist {
  opacity: 1;
  animation: tutGlow 1.2s 0.4s 3 both;
}

.tut-scene-rush[data-step="4"] .tut-underdog {
  opacity: 1;
  animation: tutGlow 1.2s 1.2s 3 both;
}

@keyframes tutRing {
  from {
    --tut-ring: 1;
  }
  to {
    --tut-ring: 0.35;
  }
}

@keyframes tutWordOut {
  0%,
  30% {
    opacity: 1;
  }
  36%,
  100% {
    opacity: 0;
  }
}

@keyframes tutWordMiddle {
  0%,
  34% {
    opacity: 0;
  }
  40%,
  70% {
    opacity: 1;
  }
  76%,
  100% {
    opacity: 0;
  }
}

@keyframes tutWordLast {
  0%,
  74% {
    opacity: 0;
  }
  80%,
  100% {
    opacity: 1;
  }
}

@keyframes tutBallTwoZones {
  0%,
  33% {
    transform: translateX(0) rotate(0deg);
  }
  45%,
  73% {
    transform: translateX(117px) rotate(360deg);
  }
  85%,
  100% {
    transform: translateX(234px) rotate(720deg);
  }
}

@keyframes tutMeterTwo {
  0%,
  33% {
    width: 0;
  }
  45%,
  73% {
    width: 33%;
  }
  85%,
  100% {
    width: 66%;
  }
}

@keyframes tutMeterFull {
  from {
    width: 66%;
  }
  to {
    width: 100%;
    box-shadow: 0 0 18px rgba(255, 226, 122, 0.9);
  }
}

@keyframes tutDim {
  to {
    opacity: 0.35;
  }
}

@keyframes tutUndim {
  from {
    opacity: 0.35;
  }
  to {
    opacity: 1;
  }
}

/* ----- 6 Match moments ----- */
.tut-ladder {
  position: absolute;
  top: 40px;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  opacity: 0;
}

.tut-rung {
  display: grid;
  justify-items: center;
  gap: 6px;
  width: 180px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(4, 14, 26, 0.85);
  opacity: 0.45;
}

.tut-rung-trophy {
  width: 84px;
  height: 84px;
  object-fit: contain;
}

.tut-rung b {
  font-size: 22px;
}

.tut-ladder-link {
  width: 60px;
  height: 4px;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.16);
}

.tut-levelup {
  position: absolute;
  top: 290px;
  left: 210px;
  display: grid;
  justify-items: center;
  gap: 4px;
  width: 540px;
  padding: 26px;
  border: 1px solid rgba(247, 176, 74, 0.6);
  border-radius: 20px;
  background: radial-gradient(ellipse at 50% 0%, rgba(247, 176, 74, 0.3), rgba(4, 14, 26, 0.94) 70%);
  opacity: 0;
}

.tut-levelup small,
.tut-phase-final small {
  color: #ffc97a;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.tut-levelup strong {
  font-size: 36px;
  font-weight: 900;
}

.tut-clock {
  position: absolute;
  top: 70px;
  left: 330px;
  display: grid;
  justify-items: center;
  gap: 6px;
  width: 300px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  background: rgba(4, 14, 26, 0.92);
  opacity: 0;
}

.tut-clock small {
  color: #a9c5d8;
  font-size: 15px;
  font-weight: 700;
}

.tut-clock-time,
.tut-clock-badge {
  display: grid;
}

.tut-clock-time em,
.tut-clock-badge em {
  grid-area: 1 / 1;
  font-style: normal;
  text-align: center;
  opacity: 0;
}

.tut-clock-time em {
  font-size: 60px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
}

.tut-clock-badge {
  padding: 6px 14px;
  border: 1px solid rgba(247, 216, 74, 0.5);
  border-radius: 999px;
  color: #ffe27a;
  font-size: 16px;
  font-weight: 800;
  text-transform: uppercase;
}

.tut-phase {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.tut-phase-pressure {
  inset: 0;
  display: grid;
  align-content: end;
  justify-items: center;
  padding-bottom: 90px;
  background: radial-gradient(ellipse at 50% 45%, transparent 35%, rgba(210, 30, 50, 0.5));
}

.tut-phase-pressure strong {
  color: #ffffff;
  font-size: 58px;
  font-weight: 900;
  line-height: 1.05;
  text-align: center;
  text-shadow: 0 0 30px rgba(255, 70, 90, 0.8);
}

.tut-phase-final {
  top: 320px;
  left: 170px;
  display: grid;
  justify-items: center;
  gap: 4px;
  width: 620px;
  padding: 24px;
  border: 1px solid rgba(247, 216, 74, 0.65);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(247, 216, 74, 0.22), rgba(4, 14, 26, 0.94));
}

.tut-phase-final strong {
  color: #ffe27a;
  font-size: 58px;
  font-weight: 900;
}

.tut-phase-final span {
  font-size: 24px;
  font-weight: 700;
}

.tut-celebrations {
  position: absolute;
  top: 190px;
  left: 120px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  width: 720px;
}

.tut-celebrations span {
  padding: 16px 26px;
  border: 1px solid rgba(247, 216, 74, 0.5);
  border-radius: 999px;
  background: rgba(4, 14, 26, 0.9);
  color: #ffe27a;
  font-size: 26px;
  font-weight: 900;
  opacity: 0;
}

.tut-confetti {
  position: absolute;
  inset: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.tut-confetti i {
  position: absolute;
  top: -24px;
  left: calc(var(--x) * 39px + 12px);
  width: 11px;
  height: 18px;
  border-radius: 2px;
  background: hsl(calc(var(--i) * 47deg) 90% 62%);
}

.tut-scene-moments[data-step="0"] .tut-ladder {
  animation: tutFadeIn 0.5s both;
}

.tut-scene-moments[data-step="0"] .tut-rung-normal {
  border-color: rgba(76, 201, 240, 0.6);
  opacity: 1;
}

.tut-scene-moments[data-step="0"] .tut-rung-challenge {
  animation: tutRungOn 0.6s 1.4s both;
}

.tut-scene-moments[data-step="0"] .tut-levelup {
  animation: tutPopIn 0.6s 1.9s both;
}

.tut-scene-moments:is([data-step="1"], [data-step="2"]) .tut-clock {
  opacity: 1;
}

.tut-scene-moments[data-step="1"] .tut-clock {
  animation: tutPopIn 0.5s both;
}

.tut-scene-moments[data-step="1"] .tut-time-1 {
  animation: tutWordOut 3s 0.3s both;
}

.tut-scene-moments[data-step="1"] .tut-time-2 {
  animation: tutWordLast 3s 0.3s both;
}

.tut-scene-moments[data-step="1"] .tut-phase-pressure {
  animation: tutFadeIn 0.6s 2.8s both;
}

.tut-scene-moments[data-step="2"] .tut-time-2 {
  animation: tutWordOut 2s 0.2s both;
}

.tut-scene-moments[data-step="2"] .tut-time-3 {
  animation: tutWordLast 2s 0.2s both;
}

.tut-scene-moments[data-step="2"] .tut-phase-final {
  animation: tutPopIn 0.6s 1.9s both;
}

.tut-scene-moments[data-step="3"] .tut-celebrations span {
  animation: tutPopIn 0.45s both;
}

.tut-scene-moments[data-step="3"] .tut-celebrations span:nth-child(1) { animation-delay: 0.3s; }
.tut-scene-moments[data-step="3"] .tut-celebrations span:nth-child(2) { animation-delay: 0.7s; }
.tut-scene-moments[data-step="3"] .tut-celebrations span:nth-child(3) { animation-delay: 1.1s; }
.tut-scene-moments[data-step="3"] .tut-celebrations span:nth-child(4) { animation-delay: 1.5s; }
.tut-scene-moments[data-step="3"] .tut-celebrations span:nth-child(5) { animation-delay: 1.9s; }
.tut-scene-moments[data-step="3"] .tut-celebrations span:nth-child(6) { animation-delay: 2.3s; }

.tut-scene-moments[data-step="3"] .tut-confetti {
  opacity: 1;
}

.tut-scene-moments[data-step="3"] .tut-confetti i {
  animation: tutConfetti calc(2.2s + var(--d) * 0.08s) calc(var(--d) * 0.22s) linear infinite;
}

@keyframes tutRungOn {
  to {
    border-color: rgba(247, 176, 74, 0.7);
    opacity: 1;
    box-shadow: 0 0 30px rgba(247, 176, 74, 0.35);
  }
}

@keyframes tutConfetti {
  from {
    transform: translateY(0) rotate(0deg);
  }
  to {
    transform: translateY(650px) rotate(720deg);
  }
}

/* ----- 7 Keyboard ----- */
.tut-laptop {
  position: absolute;
  top: 22px;
  left: 180px;
  width: 600px;
  height: 360px;
  padding: 12px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px 18px 8px 8px;
  background: #0b1422;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5);
  transform-origin: 50% 40%;
}

.tut-laptop-screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 10px;
  background: #081a2e;
}

.tut-laptop-screen .tut-pitch {
  top: 30px;
  left: 42px;
  transform: scale(0.6);
  transform-origin: 0 0;
}

.tut-laptop-screen .tut-ball {
  top: 106px;
  left: 274px;
  width: 28px;
  height: 28px;
}

.tut-mini-word {
  position: absolute;
  top: 36px;
  left: 178px;
  z-index: 8;
  display: grid;
  justify-items: center;
  width: 220px;
  padding: 8px;
  border-radius: 12px;
  background: rgba(6, 18, 34, 0.94);
}

.tut-mini-word strong {
  grid-area: 1 / 1;
  font-size: 24px;
  font-weight: 900;
}

.tut-mini-word-2,
.tut-mini-word em {
  opacity: 0;
}

.tut-mini-word em {
  color: #9effcd;
  font-size: 16px;
  font-style: normal;
  font-weight: 800;
}

.tut-mini-sound {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 9;
  width: 30px;
  height: 30px;
  fill: none;
  stroke: #ffffff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.tut-sound-waves {
  opacity: 0.2;
}

.tut-mini-keylist {
  position: absolute;
  top: 60px;
  left: 138px;
  z-index: 12;
  display: grid;
  gap: 6px;
  width: 300px;
  padding: 16px;
  border: 1px solid rgba(247, 216, 74, 0.45);
  border-radius: 14px;
  background: #0b2238;
  opacity: 0;
}

.tut-mini-keylist b {
  font-size: 18px;
}

.tut-mini-keylist span {
  color: #cfe3f0;
  font-size: 16px;
  font-weight: 700;
}

.tut-mini-controls {
  position: absolute;
  right: 10px;
  bottom: 10px;
  left: 10px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
}

.tut-mini-controls .tut-btn {
  min-height: 40px;
  padding: 0 6px;
  font-size: 14px;
}

.tut-keyboard {
  position: absolute;
  top: 412px;
  right: 130px;
  left: 130px;
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  background: linear-gradient(180deg, #1a2433, #0e1520);
}

.tut-key-row {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.tut-keyboard kbd {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-bottom-width: 5px;
  border-radius: 10px;
  background: #253246;
  color: #ffffff;
  font: 800 22px/1 Inter, Aptos, "Segoe UI", Arial, sans-serif;
}

.tut-keyboard .tut-key-space {
  width: 300px;
  font-size: 17px;
}

.tut-key-gap {
  width: 26px;
}

.tut-scene-keys[data-step="0"] .tut-key-1 { animation: tutKeyPress 0.5s 0.6s both; }
.tut-scene-keys[data-step="0"] .tut-k1 { animation: tutPress 0.5s 0.7s both; }
.tut-scene-keys[data-step="0"] .tut-key-9 { animation: tutKeyPress 0.5s 2.4s both; }
.tut-scene-keys[data-step="0"] .tut-k9 { animation: tutPress 0.5s 2.5s both; }

.tut-scene-keys[data-step="0"] .tut-laptop-screen .tut-ball {
  animation: tutMiniBallThereBack 3.4s both;
}

.tut-scene-keys[data-step="1"] .tut-key-n { animation: tutKeyPress 0.5s 0.5s both; }
.tut-scene-keys[data-step="1"] .tut-kn { animation: tutPress 0.5s 0.6s both; }
.tut-scene-keys[data-step="1"] .tut-mini-word-1 { animation: tutFadeOut 0.3s 0.8s both; }
.tut-scene-keys[data-step="1"] .tut-mini-word-2 { animation: tutFadeIn 0.3s 1s both; }
.tut-scene-keys[data-step="1"] .tut-key-r { animation: tutKeyPress 0.5s 2s both; }
.tut-scene-keys[data-step="1"] .tut-kr { animation: tutPress 0.5s 2.1s both; }
.tut-scene-keys[data-step="1"] .tut-mini-word em { animation: tutPopIn 0.4s 2.3s both; }
.tut-scene-keys[data-step="1"] .tut-key-cmd,
.tut-scene-keys[data-step="1"] .tut-key-z { animation: tutKeyPress 0.6s 3.4s both; }

.tut-scene-keys[data-step="1"] .tut-laptop-screen .tut-ball {
  --to-x: 70px;
  --spin: -360deg;
  animation: tutBallMove 0.6s 3.6s both;
}

.tut-scene-keys[data-step="2"] .tut-mini-word-1 {
  opacity: 0;
}

.tut-scene-keys[data-step="2"] .tut-mini-word-2,
.tut-scene-keys[data-step="2"] .tut-mini-word em {
  opacity: 1;
}

.tut-scene-keys[data-step="2"] .tut-laptop-screen .tut-ball {
  --to-x: 70px;
}

.tut-scene-keys[data-step="2"] .tut-key-f { animation: tutKeyPress 0.5s 0.5s both; }
.tut-scene-keys[data-step="2"] .tut-laptop { animation: tutLaptopGrow 0.7s 0.7s both; }
.tut-scene-keys[data-step="2"] .tut-key-m { animation: tutKeyPress 0.5s 1.9s both; }
.tut-scene-keys[data-step="2"] .tut-sound-waves { animation: tutSoundOn 0.5s 2.1s both; }
.tut-scene-keys[data-step="2"] .tut-key-q { animation: tutKeyPress 0.5s 3.3s both; }
.tut-scene-keys[data-step="2"] .tut-mini-keylist { animation: tutPopIn 0.45s 3.5s both; }

@keyframes tutKeyPress {
  0%,
  100% {
    transform: none;
  }
  35%,
  60% {
    border-bottom-width: 1px;
    background: #f7d84a;
    color: #1b1400;
    transform: translateY(4px);
  }
}

@keyframes tutMiniBallThereBack {
  0%,
  28% {
    transform: translateX(0) rotate(0deg);
  }
  40%,
  74% {
    transform: translateX(70px) rotate(360deg);
  }
  86%,
  100% {
    transform: translateX(0) rotate(0deg);
  }
}

@keyframes tutLaptopGrow {
  to {
    border-color: rgba(247, 216, 74, 0.6);
    box-shadow: 0 0 0 6px rgba(247, 216, 74, 0.2), 0 24px 60px rgba(0, 0, 0, 0.5);
    transform: scale(1.06);
  }
}

@keyframes tutSoundOn {
  to {
    opacity: 1;
    stroke: #ffe27a;
  }
}

/* ----- 8 Season Mode ----- */
.tut-season-profile {
  position: absolute;
  top: 22px;
  left: 40px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 20px 10px 10px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(4, 14, 26, 0.9);
  opacity: 0;
}

.tut-league {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.tut-season-profile span {
  display: grid;
}

.tut-season-profile small {
  color: #a9c5d8;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.tut-season-profile b {
  font-size: 24px;
}

.tut-season-teams {
  position: absolute;
  top: 120px;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 70px;
  opacity: 0;
}

.tut-season-team {
  display: grid;
  justify-items: center;
  gap: 6px;
  width: 280px;
}

.tut-season-team > b {
  font-size: 34px;
  font-weight: 900;
  text-transform: uppercase;
}

.tut-season-team.tut-side-a > b {
  color: #ffb36b;
}

.tut-season-team.tut-side-b > b {
  color: #9fd0ff;
}

.tut-pairs {
  display: flex;
  gap: 14px;
  min-height: 84px;
}

.tut-pair {
  width: 80px;
  height: 80px;
  object-fit: contain;
  opacity: 0;
}

.tut-hub {
  position: absolute;
  top: 110px;
  left: 120px;
  display: grid;
  gap: 12px;
  width: 720px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  background: rgba(4, 14, 26, 0.94);
  opacity: 0;
}

.tut-standing {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 6px 16px 6px 6px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  font-size: 24px;
}

.tut-standing-emblem {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.tut-standing em {
  position: relative;
  margin-left: auto;
  font-size: 22px;
  font-style: normal;
  font-weight: 800;
}

.tut-standing em i {
  font-style: normal;
}

.tut-points-after {
  position: absolute;
  left: 0;
  color: #9effcd;
  opacity: 0;
}

.tut-fixture {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2px 16px;
  padding: 12px 16px;
  border: 1px solid rgba(247, 216, 74, 0.35);
  border-radius: 12px;
  background: rgba(247, 216, 74, 0.06);
}

.tut-fixture small {
  color: #f7d84a;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
}

.tut-fixture b {
  grid-row: 2;
  font-size: 22px;
}

.tut-fixture .tut-btn {
  grid-row: 1 / span 2;
  grid-column: 2;
}

.tut-result {
  position: absolute;
  top: 150px;
  left: 230px;
  z-index: 10;
  display: grid;
  justify-items: center;
  gap: 10px;
  width: 500px;
  padding: 26px;
  border: 1px solid rgba(247, 216, 74, 0.5);
  border-radius: 20px;
  background: linear-gradient(180deg, #13263d, #081424);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
  opacity: 0;
}

.tut-result small {
  color: #a9c5d8;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
}

.tut-result strong {
  font-size: 40px;
  font-weight: 900;
}

.tut-awards {
  position: absolute;
  top: 140px;
  right: 50px;
  left: 50px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.tut-award {
  display: grid;
  justify-items: center;
  gap: 6px;
  width: 260px;
  padding: 24px 16px;
  border: 1px solid rgba(247, 216, 74, 0.4);
  border-radius: 20px;
  background: rgba(4, 14, 26, 0.92);
  opacity: 0;
}

.tut-award-icon {
  width: 130px;
  height: 130px;
  object-fit: contain;
}

.tut-award small {
  color: #f7d84a;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
}

.tut-award b {
  font-size: 22px;
  text-align: center;
}

.tut-scene-season .tut-season-profile {
  opacity: 1;
}

.tut-scene-season[data-step="0"] .tut-season-profile {
  animation: tutPopIn 0.5s 0.2s both;
}

.tut-scene-season[data-step="0"] .tut-season-teams {
  animation: tutPopIn 0.6s 0.8s both;
}

.tut-scene-season[data-step="1"] .tut-season-teams {
  opacity: 1;
}

.tut-scene-season[data-step="1"] .tut-pair {
  animation: tutPopIn 0.45s both;
}

.tut-scene-season[data-step="1"] .tut-side-a .tut-pair:nth-child(1) { animation-delay: 0.5s; }
.tut-scene-season[data-step="1"] .tut-side-b .tut-pair:nth-child(1) { animation-delay: 0.9s; }
.tut-scene-season[data-step="1"] .tut-side-a .tut-pair:nth-child(2) { animation-delay: 1.3s; }
.tut-scene-season[data-step="1"] .tut-side-b .tut-pair:nth-child(2) { animation-delay: 1.7s; }

.tut-scene-season[data-step="2"] .tut-hub {
  animation: tutPopIn 0.5s 0.3s both;
}

.tut-scene-season[data-step="2"] .tut-cursor {
  --c0x: 480px;
  --c0y: 520px;
  --c1x: 708px;
  --c1y: 330px;
  animation: tutCursorTap 1.3s 0.9s both;
}

.tut-scene-season[data-step="2"] .tut-start-season {
  animation: tutPress 0.5s 1.75s both;
}

.tut-scene-season[data-step="3"] .tut-hub {
  opacity: 1;
}

.tut-scene-season[data-step="3"] .tut-result {
  animation: tutResultShow 2.6s 0.3s both;
}

.tut-scene-season[data-step="3"] .tut-cursor {
  --c0x: 480px;
  --c0y: 520px;
  --c1x: 480px;
  --c1y: 287px;
  animation: tutCursorTap 1.2s 0.7s both, tutFadeOut 0.3s 2.4s forwards;
}

.tut-scene-season[data-step="3"] .tut-save-result {
  animation: tutPress 0.5s 1.5s both;
}

.tut-scene-season[data-step="3"] .tut-points-before {
  animation: tutFadeOut 0.2s 3s both;
}

.tut-scene-season[data-step="3"] .tut-points-after {
  animation: tutPopIn 0.45s 3s both;
}

.tut-scene-season[data-step="4"] .tut-award {
  animation: tutPopIn 0.5s both;
}

.tut-scene-season[data-step="4"] .tut-award:nth-child(1) { animation-delay: 0.3s; }
.tut-scene-season[data-step="4"] .tut-award:nth-child(2) { animation-delay: 0.9s; }
.tut-scene-season[data-step="4"] .tut-award:nth-child(3) { animation-delay: 1.5s; }

@keyframes tutResultShow {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.9);
  }
  15%,
  85% {
    opacity: 1;
    transform: none;
  }
  100% {
    opacity: 0;
    transform: scale(0.96);
  }
}

/* ----- 9 Good to know ----- */
.tut-tips {
  position: absolute;
  top: 60px;
  right: 60px;
  left: 60px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.tut-tip {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 30px 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  background: rgba(4, 14, 26, 0.9);
  text-align: center;
  opacity: 0.35;
}

.tut-tip svg {
  width: 92px;
  height: 92px;
  fill: none;
  stroke: #9fe4ff;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.tut-tip b {
  font-size: 26px;
}

.tut-tip small {
  color: #a9c5d8;
  font-size: 17px;
  font-weight: 650;
}

.tut-kickoff {
  position: absolute;
  top: 370px;
  right: 170px;
  left: 170px;
  display: grid;
  justify-items: center;
  gap: 6px;
  padding: 22px;
  border: 1px solid rgba(247, 216, 74, 0.55);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(247, 216, 74, 0.2), rgba(4, 14, 26, 0.94));
  opacity: 0;
}

.tut-kickoff-ball {
  width: 64px;
  height: 64px;
}

.tut-kickoff strong {
  color: #ffe27a;
  font-size: 42px;
  font-weight: 900;
}

.tut-kickoff small {
  font-size: 20px;
  font-weight: 700;
}

.tut-scene-tips[data-step="0"] .tut-tip-offline,
.tut-scene-tips[data-step="1"] .tut-tip-device,
.tut-scene-tips[data-step="2"] .tut-tip-backup {
  border-color: rgba(76, 201, 240, 0.6);
  opacity: 1;
  animation: tutPopIn 0.55s 0.2s both;
}

.tut-scene-tips[data-step="2"] .tut-backup-arrow {
  animation: tutArrowDrop 1.2s 0.8s ease-in-out 3 both;
}

.tut-scene-tips[data-step="3"] .tut-tip {
  opacity: 0.7;
}

.tut-scene-tips[data-step="3"] .tut-kickoff {
  animation: tutPopIn 0.6s 0.3s both;
}

.tut-scene-tips[data-step="3"] .tut-kickoff-ball {
  animation: tutSpin 1.6s 0.6s ease-out both;
}

@keyframes tutArrowDrop {
  0%,
  100% {
    transform: none;
  }
  50% {
    transform: translateY(2px);
  }
}

@keyframes tutSpin {
  from {
    transform: rotate(-540deg) scale(0.4);
  }
  to {
    transform: none;
  }
}

/* The welcome scene has no control bar, so its pitch sits in the middle. */
.tut-scene-welcome > :not(.tut-backdrop) {
  translate: 0 60px;
}

/* Duel word card sits above the ball's path on the centre line. */
.tut-scene-duel .tut-duel-card {
  top: 116px;
  padding: 12px 20px;
}

/* The key list pops up over the pitch; the word card steps back. */
.tut-scene-keys[data-step="2"] .tut-mini-word {
  animation: tutFadeOut 0.3s 3.3s both;
}

@media (max-width: 640px) {
  .tut-controls-bar {
    flex-wrap: wrap;
  }
}

/* Chapter tabs never squeeze into each other; on short phone screens only the current one shows its name. */
@media (max-width: 980px) {
  .tut-chapters > li {
    flex: 0 0 auto;
  }
}

@media (max-height: 520px) and (orientation: landscape) {
  .tut-chapter {
    grid-template-columns: 28px;
    padding: 4px;
  }

  .tut-chapter-copy {
    display: none;
  }

  .tut-chapter.is-current {
    grid-template-columns: 28px auto;
    padding: 4px 12px 4px 4px;
  }

  .tut-chapter.is-current .tut-chapter-copy {
    display: grid;
  }
}

/* Polish Run 29.09.2026: Stadion-Schritt im Setup, Kapitel „Match controls“ */
.tut-setup-stadium {
  display: none;
}

.tut-scene-setup[data-step="4"] .tut-setup-start {
  display: none;
}

.tut-scene-setup[data-step="4"] .tut-setup-stadium {
  position: relative;
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  border-color: rgba(247, 216, 74, 0.45);
  background: rgba(247, 216, 74, 0.06);
  opacity: 1;
  animation: tutFadeIn 0.5s both;
}

.tut-stadium-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.tut-stadium-tile {
  display: grid;
  gap: 2px;
  padding: 6px;
  border: 2px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(2, 9, 18, 0.55);
  font-size: 15px;
}

.tut-stadium-tile small {
  color: #a9c5d8;
  font-size: 12px;
  font-weight: 700;
}

.tut-stadium-image {
  width: 100%;
  height: 58px;
  border-radius: 8px;
  object-fit: cover;
}

.tut-scene-setup[data-step="4"] .tut-stadium-tile {
  animation: tutPopIn 0.5s both;
}

.tut-scene-setup[data-step="4"] .tut-stadium-tile:nth-child(2) { animation-delay: 0.25s; }
.tut-scene-setup[data-step="4"] .tut-stadium-tile:nth-child(3) { animation-delay: 0.5s; }

.tut-scene-setup[data-step="4"] .tut-stadium-matchday {
  border-color: #f7d84a;
  animation: tutPopIn 0.5s both, tutGlow 1.2s 1s 2 both;
}

.tut-manager-bubble {
  position: absolute;
  top: -22px;
  left: 190px;
  padding: 6px 14px;
  border-radius: 16px 16px 16px 4px;
  background: #f7fbff;
  color: #102a43;
  font-size: 15px;
  font-weight: 800;
  opacity: 0;
}

.tut-scene-setup[data-step="4"] .tut-manager-bubble {
  animation: tutPopIn 0.5s 1.8s both;
}

.tut-ctl-word {
  position: absolute;
  top: 150px;
  left: 290px;
  z-index: 8;
  display: grid;
  justify-items: center;
  gap: 4px;
  width: 380px;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 16px;
  background: rgba(6, 18, 34, 0.92);
}

.tut-ctl-word small {
  color: #a9c5d8;
  font-size: 15px;
  font-weight: 800;
}

.tut-ctl-word strong {
  font-size: 44px;
}

.tut-ctl-clocks {
  position: absolute;
  top: 28px;
  left: 50%;
  z-index: 9;
  display: flex;
  gap: 14px;
  transform: translateX(-50%);
  opacity: 0.35;
}

.tut-ctl-clock {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 78px;
  padding: 6px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background: rgba(4, 14, 26, 0.9);
}

.tut-ctl-clock small {
  color: #a9c5d8;
  font-size: 15px;
  font-weight: 800;
}

.tut-ctl-clock-possession b {
  font-size: 30px;
}

.tut-ctl-resume {
  position: absolute;
  top: 36px;
  right: 40px;
  z-index: 9;
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(247, 216, 74, 0.95), rgba(226, 170, 30, 0.95));
  color: #1b1400;
  font-size: 16px;
  font-weight: 900;
  opacity: 0;
}

.tut-ctl-penalty {
  top: 110px;
}

.tut-ctl-pick-emblem {
  width: 28px;
  height: 28px;
  margin-right: 6px;
  object-fit: contain;
}

.tut-ctl-penalty .tut-btn {
  display: inline-flex;
  align-items: center;
}

.tut-ctl-cancel {
  min-height: 36px;
  font-size: 14px;
}

.tut-ctl-pause-cover {
  position: absolute;
  top: 140px;
  left: 270px;
  z-index: 10;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 6px;
  width: 420px;
  height: 150px;
  border: 1px solid rgba(247, 216, 74, 0.45);
  border-radius: 18px;
  background: rgba(3, 10, 20, 0.97);
  opacity: 0;
}

.tut-ctl-pause-cover strong {
  font-size: 40px;
}

.tut-ctl-pause-cover small {
  color: #a9c5d8;
  font-size: 16px;
  font-weight: 700;
}

.tut-ctl-bar {
  grid-template-columns: auto auto;
  justify-content: space-between;
}

.tut-ctl-tools,
.tut-ctl-rush {
  transition: opacity 0.3s;
}

.tut-scene-controls:not([data-step="0"]) .tut-ctl-tools,
.tut-scene-controls[data-step="0"] .tut-ctl-rush {
  opacity: 0.35;
}

.tut-scene-controls[data-step="0"] .tut-ctl-draw {
  animation: tutGlow 1s 0.4s both, tutPress 0.4s 0.6s both;
}

.tut-scene-controls[data-step="0"] .tut-ctl-undo {
  animation: tutGlow 1s 1.6s both, tutPress 0.4s 1.8s both;
}

.tut-scene-controls[data-step="0"] .tut-ctl-settings {
  animation: tutGlow 1s 2.8s both, tutPress 0.4s 3s both;
}

.tut-scene-controls[data-step="0"] .tut-ctl-resume {
  animation: tutPopIn 0.5s 3.4s both;
}

.tut-scene-controls[data-step="0"] .tut-ctl-restart {
  animation: tutGlow 1s 4.6s both;
}

.tut-scene-controls[data-step="1"] .tut-ctl-clocks {
  opacity: 1;
  animation: tutPopIn 0.5s both;
}

.tut-scene-controls[data-step="1"] .tut-ctl-clock-word {
  animation: tutGlow 1.2s 0.8s 2 both;
}

.tut-scene-controls[data-step="1"] .tut-ctl-clock-possession {
  animation: tutGlow 1.2s 3.4s 2 both;
}

.tut-scene-controls[data-step="2"] .tut-cursor {
  --c0x: 520px;
  --c0y: 420px;
  --c1x: 755px;
  --c1y: 534px;
  --c2x: 410px;
  --c2y: 240px;
  animation: tutCursorTwoTaps 3.2s 0.3s both;
}

.tut-scene-controls[data-step="2"] .tut-ctl-penalty-btn {
  animation: tutPress 0.5s 1.25s both;
}

.tut-scene-controls[data-step="2"] .tut-ctl-penalty {
  animation: tutPopIn 0.5s 1.6s both;
}

.tut-scene-controls[data-step="2"] .tut-ctl-pick {
  animation: tutPress 0.5s 2.6s both;
}

.tut-scene-controls[data-step="3"] .tut-cursor {
  --c0x: 520px;
  --c0y: 420px;
  --c1x: 859px;
  --c1y: 534px;
  animation: tutCursorTap 1.5s 0.3s both;
}

.tut-scene-controls[data-step="3"] .tut-ctl-pause {
  animation: tutPress 0.5s 1.1s both;
}

.tut-scene-controls[data-step="3"] .tut-ctl-pause-cover {
  animation: tutFadeIn 0.5s 1.4s both;
}

.tut-ctl-bar .tut-controls-middle {
  grid-auto-columns: auto;
  gap: 8px;
}

.tut-ctl-bar .tut-btn {
  min-width: 96px;
  padding: 0 14px;
  font-size: 16px;
}

/* ----- Season Tour (Polish Run 29.09.2026) ----- */
.tut-spot {
  border: 1px solid transparent;
  border-radius: 16px;
  opacity: 0.3;
  transition: opacity 0.3s;
}

.tut-scene[data-step="0"] .tut-spot-0,
.tut-scene[data-step="1"] .tut-spot-1,
.tut-scene[data-step="2"] .tut-spot-2,
.tut-scene[data-step="3"] .tut-spot-3 {
  border-color: rgba(247, 216, 74, 0.5);
  background: rgba(7, 23, 42, 0.78);
  opacity: 1;
  animation: tutFadeIn 0.5s both;
}

.tut-sn-stack {
  position: absolute;
  inset: 34px 60px;
  display: grid;
  grid-template-rows: 1.25fr 1fr 0.8fr;
  gap: 16px;
}

.tut-sn-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding: 12px 18px;
}

.tut-sn-main {
  display: grid;
  justify-items: center;
  gap: 4px;
  font-size: 24px;
}

.tut-sn-emblem {
  width: 116px;
  height: 116px;
  object-fit: contain;
  filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.5));
}

.tut-sn-term {
  display: grid;
  justify-items: center;
  gap: 6px;
  margin: 0 30px;
  color: #a9c5d8;
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.tut-sn-pairs {
  justify-content: space-between;
}

.tut-sn-pairlist {
  display: flex;
  gap: 8px;
}

.tut-sn-pair {
  width: 74px;
  height: 74px;
  object-fit: contain;
}

.tut-sn-rotation {
  display: grid;
  grid-template-columns: auto auto;
  align-items: baseline;
  gap: 4px 14px;
  font-size: 18px;
}

.tut-sn-rotation small,
.tut-sn-label,
.tut-sn-field small,
.tut-sn-award small,
.tut-sn-ceremony small,
.tut-sn-backup small {
  color: #a9c5d8;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tut-sn-standing {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
}

.tut-sn-standing em {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  min-width: 70px;
  color: #ffe27a;
  font-style: normal;
  font-weight: 900;
}

.tut-sn-num {
  display: inline-grid;
}

.tut-sn-num i {
  grid-area: 1 / 1;
  font-style: normal;
}

.tut-sn-after {
  opacity: 0;
}

.tut-sn-mini {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.tut-sn-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(76, 201, 240, 0.45);
  border-radius: 999px;
  background: rgba(76, 201, 240, 0.12);
  font-size: 16px;
  font-weight: 800;
}

.tut-sn-chip .tut-sn-mini {
  width: 28px;
  height: 28px;
}

.tut-scene-season-idea[data-step="1"] .tut-sn-pair {
  animation: tutPopIn 0.5s both;
}

.tut-scene-season-idea[data-step="1"] .tut-sn-pair:nth-child(2) {
  animation-delay: 0.3s;
}

.tut-scene-season-idea[data-step="2"] .tut-sn-before,
.tut-scene-season-match[data-step="3"] .tut-sn-before {
  animation: tutFadeOut 0.3s 1.6s both;
}

.tut-scene-season-idea[data-step="2"] .tut-sn-after,
.tut-scene-season-match[data-step="3"] .tut-sn-after {
  animation: tutPopIn 0.45s 1.8s both;
}

/* Setup scene */
.tut-sn-setup {
  display: grid;
  align-content: start;
  gap: 12px;
}

.tut-sn-setup .tut-sn-row {
  justify-content: flex-start;
  min-height: 86px;
}

.tut-sn-switch {
  position: relative;
  width: 58px;
  height: 32px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
}

.tut-sn-switch i {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #f7fbff;
}

.tut-scene-season-setup[data-step="0"] .tut-sn-switch {
  animation: tutSwitchOn 0.4s 0.8s both;
}

.tut-scene-season-setup[data-step="0"] .tut-sn-switch i {
  animation: tutSwitchThumb 0.4s 0.8s both;
}

.tut-scene-season-setup:not([data-step="0"]) .tut-sn-switch {
  background: #2fbf71;
}

.tut-scene-season-setup:not([data-step="0"]) .tut-sn-switch i {
  transform: translateX(26px);
}

@keyframes tutSwitchOn {
  to {
    background: #2fbf71;
  }
}

@keyframes tutSwitchThumb {
  to {
    transform: translateX(26px);
  }
}

.tut-sn-toggle-row b {
  margin-right: 12px;
  font-size: 20px;
}

.tut-sn-card {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  border: 1px solid rgba(152, 217, 255, 0.3);
  border-radius: 12px;
  background: rgba(2, 9, 18, 0.55);
  font-size: 16px;
  font-weight: 800;
}

.tut-sn-card small {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #f7d84a;
  color: #1b1400;
  font-size: 13px;
}

.tut-scene-season-setup[data-step="0"] .tut-sn-card-1 {
  animation: tutPopIn 0.5s 1.4s both;
}

.tut-scene-season-setup[data-step="0"] .tut-sn-card-2 {
  animation: tutPopIn 0.5s 1.7s both;
}

.tut-sn-field {
  display: grid;
  gap: 2px;
  min-width: 220px;
  padding: 8px 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  background: rgba(2, 9, 18, 0.55);
  font-size: 18px;
}

.tut-sn-teams {
  gap: 34px;
}

.tut-sn-team {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
}

.tut-sn-team b {
  margin-right: 6px;
}

.tut-sn-pair-small {
  width: 40px;
  height: 40px;
  object-fit: contain;
  vertical-align: middle;
}

.tut-scene-season-setup[data-step="3"] .tut-sn-pair-small {
  animation: tutPopIn 0.45s both;
}

.tut-scene-season-setup[data-step="3"] .tut-sn-pair-small:nth-of-type(3) {
  animation-delay: 0.3s;
}

/* Hub scene */
.tut-sn-hub-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 14px;
  height: calc(100% - 34px);
  margin-top: 10px;
}

.tut-sn-side {
  display: grid;
  gap: 10px;
}

.tut-sn-panel {
  display: grid;
  align-content: center;
  justify-items: start;
  gap: 8px;
  padding: 12px 16px;
  background: rgba(2, 9, 18, 0.4);
}

.tut-sn-ready {
  color: #7ee2a8;
  font-size: 15px;
  font-weight: 800;
}

.tut-sn-rule-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tut-sn-rule-chips span {
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(247, 216, 74, 0.16);
  color: #ffe27a;
  font-size: 15px;
  font-weight: 800;
}

.tut-sn-fixture,
.tut-sn-score {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
}

.tut-sn-start,
.tut-sn-save {
  min-height: 42px;
  font-size: 16px;
}

.tut-scene-season-match[data-step="2"] .tut-sn-start {
  animation: tutGlow 1.2s 0.6s both, tutPress 0.5s 1.8s both;
}

.tut-scene-season-match[data-step="3"] .tut-sn-save {
  animation: tutGlow 1.2s 0.4s both, tutPress 0.5s 1.4s both;
}

.tut-sn-saved {
  color: #7ee2a8;
  font-size: 15px;
  font-weight: 800;
  opacity: 0;
}

.tut-scene-season-match[data-step="3"] .tut-sn-saved {
  animation: tutPopIn 0.45s 1.9s both;
}

/* Awards scene */
.tut-sn-awards {
  gap: 18px;
}

.tut-sn-award {
  display: grid;
  justify-items: center;
  gap: 4px;
  width: 210px;
  padding: 10px;
  border: 1px solid rgba(247, 216, 74, 0.35);
  border-radius: 14px;
  background: rgba(2, 9, 18, 0.55);
  font-size: 18px;
}

.tut-sn-award-icon {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.tut-scene-season-awards[data-step="0"] .tut-sn-award {
  animation: tutPopIn 0.5s both;
}

.tut-scene-season-awards[data-step="0"] .tut-sn-award:nth-child(2) { animation-delay: 0.35s; }
.tut-scene-season-awards[data-step="0"] .tut-sn-award:nth-child(3) { animation-delay: 0.7s; }

.tut-sn-ceremony span,
.tut-sn-backup span {
  display: grid;
  gap: 4px;
  font-size: 24px;
}

.tut-sn-cup {
  width: 96px;
  height: 96px;
  object-fit: contain;
  filter: drop-shadow(0 0 24px rgba(247, 216, 74, 0.45));
}

.tut-scene-season-awards[data-step="1"] .tut-sn-cup {
  animation: tutPopIn 0.6s 0.4s both, tutCupShine 1.4s 1s 2 both;
}

.tut-sn-backup svg {
  width: 56px;
  height: 56px;
  fill: none;
  stroke: #4cc9f0;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tut-scene-season-awards[data-step="2"] .tut-backup-arrow {
  animation: tutBackupDrop 1.2s 0.5s 2 both;
}

@keyframes tutBackupDrop {
  0% {
    transform: translateY(-6px);
    opacity: 0.3;
  }
  60%,
  100% {
    transform: none;
    opacity: 1;
  }
}

@keyframes tutCupShine {
  50% {
    filter: drop-shadow(0 0 38px rgba(247, 216, 74, 0.85));
  }
}

.tut-sn-hub-grid > .tut-sn-panel {
  align-content: start;
  padding-top: 22px;
}
