    * { box-sizing: border-box; margin: 0; padding: 0; }
    html, body { height: 100%; overflow: hidden; touch-action: manipulation; }
    body {
      font-family: 'DM Sans', system-ui, sans-serif;
      background: var(--text);
      color: var(--cream);
      font-size: clamp(14px, 2.5vw, 16px);
    }
    .skip-link {
      position: fixed;
      top: 8px;
      left: 8px;
      z-index: 1000;
      min-height: 44px;
      padding: 11px 14px;
      border-radius: 8px;
      background: var(--sun);
      color: var(--text);
      font: 700 14px/1.4 'DM Sans', system-ui, sans-serif;
      text-decoration: none;
      transform: translateY(-140%);
      transition: transform 0.15s ease;
    }
    .skip-link:focus { transform: translateY(0); }
    #app {
      position: relative;
      width: 100%;
      height: 100%;
      overflow: hidden;
    }
    #viewport {
      position: absolute;
      inset: 0;
      z-index: 0;
      touch-action: none;
    }
    #viewport canvas {
      width: 100%;
      height: 100%;
      display: block;
    }

    /* Vignette overlay on viewport edges — stronger at bottom for FAB contrast */
    .vignette-overlay {
      position: absolute;
      inset: 0;
      z-index: 1;
      pointer-events: none;
      background:
        radial-gradient(ellipse at center, transparent 55%, rgba(30,17,10,0.45) 100%),
        linear-gradient(to top, rgba(30,17,10,0.38) 0%, transparent 28%);
    }

    /* ── HUD ── */
    #hud {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      z-index: 10;
      padding: 10px 14px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      background: linear-gradient(180deg, rgba(30,17,10,0.88) 0%, rgba(30,17,10,0.4) 70%, transparent 100%);
      pointer-events: none;
    }
    #hud > * { pointer-events: auto; }

    .hud-left, .hud-right {
      display: flex;
      align-items: center;
      gap: 6px;
    }

    .hud-pause-btn {
      background: rgba(247,242,234,0.06);
      border: 1px solid rgba(247,242,234,0.1);
      border-radius: 8px;
      width: 36px;
      height: 36px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 15px;
      color: rgba(247,242,234,0.45);
      -webkit-tap-highlight-color: transparent;
      transition: border-color 0.15s, color 0.15s;
      flex-shrink: 0;
    }
    .hud-pause-btn:hover {
      border-color: rgba(232,200,74,0.3);
      color: rgba(247,242,234,0.7);
    }

    .hud-pill {
      font-family: 'DM Mono', monospace;
      font-size: clamp(9px, 1.8vw, 11px);
      letter-spacing: 0.08em;
      text-transform: uppercase;
      padding: 5px 10px;
      border-radius: 999px;
      background: rgba(30,17,10,0.65);
      backdrop-filter: blur(4px);
      border: 1px solid rgba(232,200,74,0.18);
      color: var(--sun);
      white-space: nowrap;
      transition: background 0.2s, border-color 0.2s;
    }
    .hud-pill.chapter {
      color: var(--cream);
      border-color: rgba(247,242,234,0.12);
      font-weight: 500;
    }
    .hud-action-btn {
      display: none;
      align-items: center;
      justify-content: center;
      min-height: 44px;
      padding: 0 16px;
      border-radius: 999px;
      border: 1px solid rgba(232,200,74,0.3);
      background: rgba(232,200,74,0.18);
      color: var(--cream);
      font-family: 'DM Mono', monospace;
      font-size: clamp(9px, 1.8vw, 11px);
      letter-spacing: 0.08em;
      text-transform: uppercase;
      cursor: pointer;
      -webkit-tap-highlight-color: transparent;
      transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease, opacity 0.18s ease;
    }
    .hud-action-btn.is-visible {
      display: inline-flex;
    }
    .hud-action-btn:hover {
      background: rgba(232,200,74,0.28);
      border-color: rgba(232,200,74,0.48);
    }
    .hud-action-btn:active {
      transform: scale(0.96);
    }
    .hud-action-btn:disabled {
      opacity: 0.45;
      cursor: default;
    }
    .hud-pill.season-icon {
      font-size: 14px;
      padding: 4px 8px;
      border: none;
      background: none;
    }
    .hud-pill.tokens {
      color: var(--info);
      border-color: rgba(139,168,181,0.2);
    }
    .hud-pill.tokens .token-dot {
      display: inline-block;
      width: 6px;
      height: 6px;
      border-radius: 50%;
      background: var(--info);
      margin-right: 2px;
    }
    .hud-pill.tokens .token-dot.spent {
      background: rgba(139,168,181,0.2);
    }

    .hud-score {
      font-family: 'Fraunces', serif;
      font-weight: 700;
      font-size: clamp(16px, 3.5vw, 20px);
      color: var(--sun);
      min-width: 28px;
      text-align: right;
      text-shadow: 0 1px 4px rgba(0,0,0,0.55);
      transition: color 0.3s ease, transform 0.3s ease;
    }
    .hud-score.is-harvest-glow {
      color: #f4dfa1;
      transform: scale(1.18);
    }
    .hud-score-label {
      font-family: 'DM Mono', monospace;
      font-size: 8px;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: rgba(232,200,74,0.35);
      text-align: right;
      line-height: 1;
      margin-bottom: 1px;
    }
    .hud-score-wrap {
      display: flex;
      flex-direction: column;
      align-items: flex-end;
    }

    /* Phase progress dots */
    #phase-dots {
      position: absolute;
      top: 50px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 10;
      display: flex;
      gap: 5px;
      align-items: center;
      pointer-events: none;
      transition: opacity 0.3s ease;
    }
    #phase-dots.is-cutscene {
      opacity: 0;
    }
    .phase-dot {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: rgba(247,242,234,0.1);
      border: 1px solid rgba(247,242,234,0.12);
      transition: all 0.3s ease;
    }
    .phase-dot--active {
      background: var(--sun);
      border-color: var(--sun);
      box-shadow: 0 0 8px rgba(232,200,74,0.4);
      transform: scale(1.35);
    }
    .phase-dot--done {
      background: rgba(232,200,74,0.35);
      border-color: rgba(232,200,74,0.25);
    }

    #phase-helper {
      position: absolute;
      top: 76px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 11;
      max-width: min(560px, calc(100vw - 28px));
      padding: 9px 14px;
      border-radius: 999px;
      background: rgba(30,17,10,0.78);
      backdrop-filter: blur(10px);
      border: 1px solid rgba(232,200,74,0.16);
      color: rgba(247,242,234,0.78);
      font-family: 'DM Sans', sans-serif;
      font-size: 13px;
      line-height: 1.35;
      text-align: center;
      pointer-events: none;
      opacity: 0;
      transition: opacity 0.2s ease;
    }

    #phase-helper.is-visible {
      opacity: 1;
    }

    #panel-container {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      z-index: 20;
    }
    .panel-sheet {
      background: var(--text);
      border-top: 1px solid rgba(232,200,74,0.15);
      border-radius: 16px 16px 0 0;
      max-height: 50vh;
      max-height: 50dvh;
      overflow-y: auto;
      overscroll-behavior: contain;
      -webkit-overflow-scrolling: touch;
      touch-action: pan-y;
      transform: translateY(100%);
      transition: transform 0.25s cubic-bezier(0.22,1,0.36,1);
      padding: 0 16px calc(24px + env(safe-area-inset-bottom, 0px));
      will-change: transform;
    }
    .panel-sheet.is-open { transform: translateY(0); }
    .panel-handle {
      width: 36px;
      height: 4px;
      border-radius: 2px;
      background: rgba(247,242,234,0.2);
      margin: 10px auto 16px;
    }
    #overlay-container {
      position: absolute;
      inset: 0;
      z-index: 30;
      pointer-events: none;
    }
    #overlay-container > * { pointer-events: auto; }

    /* Chapter intro with fade-in animation */
    .chapter-intro {
      position: absolute;
      inset: 0;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      background: rgba(30,17,10,0.92);
      padding: 32px 24px;
      text-align: center;
    }
    .chapter-intro h2 {
      font-family: 'Fraunces', serif;
      font-weight: 700;
      font-size: clamp(24px, 6vw, 42px);
      color: var(--sun);
      margin-bottom: 8px;
    }
    .chapter-intro .chapter-num {
      font-family: 'DM Mono', monospace;
      font-size: clamp(10px, 2.5vw, 12px);
      letter-spacing: 0.2em;
      text-transform: uppercase;
      color: rgba(247,242,234,0.4);
      margin-bottom: 12px;
    }
    .chapter-intro p {
      font-family: 'DM Sans', sans-serif;
      font-size: clamp(14px, 3vw, 16px);
      line-height: 1.85;
      color: rgba(247,242,234,0.75);
      max-width: min(540px, 65ch);
    }
    .entry-intro .entry-shell {
      width: min(720px, calc(100vw - 32px));
      padding: 24px;
      border-radius: 24px;
      background: rgba(24, 16, 10, 0.74);
      border: 1px solid rgba(232, 200, 74, 0.18);
      box-shadow: 0 22px 60px rgba(0, 0, 0, 0.35);
      backdrop-filter: blur(16px);
    }
    .entry-intro .entry-shell h2 {
      margin-bottom: 12px;
    }
    .entry-grid {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 10px;
      margin-top: 22px;
    }
    .entry-card {
      text-align: left;
      padding: 14px;
      border-radius: 14px;
      background: rgba(247, 242, 234, 0.05);
      border: 1px solid rgba(247, 242, 234, 0.08);
      min-height: 116px;
    }
    .entry-card__label {
      font-family: 'DM Mono', monospace;
      font-size: 10px;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: rgba(232, 200, 74, 0.72);
      margin-bottom: 8px;
    }
    .entry-card__copy {
      font-size: 13px;
      line-height: 1.7;
      color: rgba(247, 242, 234, 0.78);
    }
    .chapter-intro .tap-hint {
      margin-top: 32px;
      font-family: 'DM Mono', monospace;
      font-size: clamp(10px, 2vw, 11px);
      color: rgba(247,242,234,0.25);
      letter-spacing: 0.1em;
    }
    .start-choice-actions {
      display:flex;
      gap:16px;
      margin-top:28px;
      flex-wrap:wrap;
      justify-content:center;
    }
    .start-choice-btn {
      font-family:'DM Sans',sans-serif;
      font-size:15px;
      padding:12px 28px;
      border-radius:8px;
      cursor:pointer;
      font-weight:500;
      border:none;
    }
    .start-choice-btn--primary {
      background:#e8c84a;
      color:#1e110a;
    }
    .start-choice-btn--ghost {
      background:rgba(247,242,234,0.1);
      color:#f7f2ea;
      border:1px solid rgba(247,242,234,0.2);
    }

    /* Fade-in/out keyframes for chapter intro */
    @keyframes fadeInIntro {
      from { opacity: 0; transform: translateY(12px); }
      to   { opacity: 1; transform: translateY(0); }
    }
    @keyframes fadeOutIntro {
      from { opacity: 1; transform: translateY(0); }
      to   { opacity: 0; transform: translateY(-12px); }
    }
    @keyframes harvestRewardFleck {
      0% { opacity: 0; transform: translate3d(0, 0, 0) rotate(0deg) scale(0.72); }
      18% { opacity: 0.95; }
      100% { opacity: 0; transform: translate3d(calc(var(--drift, 18px) * 0.45), calc(var(--drift, 18px) * -1), 0) rotate(34deg) scale(1); }
    }
    @keyframes harvestCardSheen {
      from { transform: translateX(-65%); opacity: 0; }
      35% { opacity: 0.36; }
      to { transform: translateX(65%); opacity: 0; }
    }

    /* Floating Action Button */
    #fab-backpack {
      position: absolute;
      bottom: 24px;
      left: 24px;
      z-index: 25;
      width: 56px;
      height: 56px;
      border-radius: 28px;
      background: rgba(30,17,10,0.82);
      backdrop-filter: blur(12px);
      border: 1px solid rgba(232,200,74,0.2);
      font-size: 24px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 4px 16px rgba(0,0,0,0.35);
      transition: transform 0.15s, border-color 0.15s, background 0.15s;
      -webkit-tap-highlight-color: transparent;
    }
    #fab-backpack:hover {
      border-color: rgba(232,200,74,0.4);
    }
    #fab-backpack:active {
      transform: scale(0.95);
    }
    #fab-backpack.is-open {
      background: rgba(232,200,74,0.15);
      border-color: var(--sun);
    }
    #fab-backpack.is-hidden {
      opacity: 0;
      pointer-events: none;
      transform: scale(0.8);
    }

    #fab-plant {
      position: absolute;
      bottom: 92px;
      left: 24px;
      z-index: 25;
      min-width: 92px;
      height: 48px;
      border-radius: 24px;
      background: rgba(232,200,74,0.16);
      backdrop-filter: blur(12px);
      border: 1px solid rgba(232,200,74,0.35);
      color: var(--cream);
      font-family: 'DM Sans', sans-serif;
      font-size: 14px;
      font-weight: 600;
      padding: 0 16px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      box-shadow: 0 4px 16px rgba(0,0,0,0.28);
      transition: transform 0.15s, border-color 0.15s, background 0.15s, opacity 0.2s;
      -webkit-tap-highlight-color: transparent;
      opacity: 0;
      pointer-events: none;
      transform: translateY(10px);
    }
    #fab-plant.is-visible {
      opacity: 1;
      pointer-events: auto;
      transform: translateY(0);
    }
    #fab-plant:hover {
      border-color: rgba(232,200,74,0.55);
    }
    #fab-plant:active {
      transform: scale(0.96);
    }

    #fab-bug {
      position: absolute;
      top: 12px;
      right: 16px;
      z-index: 25;
      width: 44px;
      height: 44px;
      border-radius: 22px;
      background: rgba(30,17,10,0.72);
      backdrop-filter: blur(12px);
      border: 1px solid rgba(139,168,181,0.2);
      font-size: 22px;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 2px 8px rgba(0,0,0,0.25);
      transition: transform 0.15s, border-color 0.15s, background 0.15s;
      -webkit-tap-highlight-color: transparent;
    }
    #fab-bug:hover { border-color: rgba(139,168,181,0.4); }
    #fab-bug:active { transform: scale(0.92); }

    .bug-report-panel {
      position: absolute;
      top: 64px;
      right: 16px;
      z-index: 26;
      width: min(340px, calc(100vw - 32px));
      background: rgba(30,17,10,0.94);
      backdrop-filter: blur(16px);
      border: 1px solid rgba(139,168,181,0.15);
      border-radius: 12px;
      padding: 16px;
      box-shadow: 0 8px 32px rgba(0,0,0,0.4);
      transform: translateY(-8px);
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.2s, transform 0.2s;
    }
    .bug-report-panel.is-open {
      opacity: 1;
      transform: translateY(0);
      pointer-events: auto;
    }
    .bug-report-panel h3 {
      font-family: 'DM Sans', sans-serif;
      font-size: 15px;
      font-weight: 600;
      color: var(--cream);
      margin-bottom: 4px;
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .bug-report-panel .bug-subtitle {
      font-family: 'DM Mono', monospace;
      font-size: 10px;
      color: rgba(247,242,234,0.3);
      letter-spacing: 0.08em;
      margin-bottom: 12px;
    }
    .bug-report-panel textarea {
      width: 100%;
      min-height: 100px;
      background: rgba(247,242,234,0.05);
      border: 1px solid rgba(247,242,234,0.1);
      border-radius: 8px;
      padding: 10px 12px;
      font-family: 'DM Sans', sans-serif;
      font-size: 14px;
      color: var(--cream);
      resize: vertical;
      line-height: 1.5;
      margin-bottom: 10px;
    }
    .bug-report-panel textarea:focus {
      border-color: rgba(139,168,181,0.4);
      outline: none;
    }
    .bug-report-panel textarea::placeholder {
      color: rgba(247,242,234,0.25);
    }
    .bug-report-actions {
      display: flex;
      gap: 8px;
      justify-content: flex-end;
    }
    .bug-report-actions button {
      font-family: 'DM Sans', sans-serif;
      font-size: 13px;
      padding: 8px 16px;
      border-radius: 6px;
      cursor: pointer;
      font-weight: 500;
      border: none;
    }
    .bug-btn-send {
      background: var(--info);
      color: var(--text);
    }
    .bug-btn-cancel {
      background: rgba(247,242,234,0.08);
      color: rgba(247,242,234,0.6);
      border: 1px solid rgba(247,242,234,0.1) !important;
    }
    .bug-report-panel .bug-meta {
      font-family: 'DM Mono', monospace;
      font-size: 9px;
      color: rgba(247,242,234,0.2);
      margin-top: 8px;
      line-height: 1.4;
    }

    #fab-advance {
      position: absolute;
      bottom: 24px;
      right: 24px;
      z-index: 25;
      width: auto;
      min-width: 56px;
      height: 56px;
      border-radius: 28px;
      background: var(--sun);
      color: var(--text);
      border: none;
      font-family: 'DM Sans', sans-serif;
      font-weight: 600;
      font-size: 15px;
      padding: 0 20px;
      cursor: pointer;
      box-shadow: 0 4px 16px rgba(0,0,0,0.35);
      display: flex;
      align-items: center;
      justify-content: center;
      opacity: 0;
      transform: scale(0.8) translateY(20px);
      transition: opacity 0.25s ease, transform 0.25s ease;
      pointer-events: none;
      -webkit-tap-highlight-color: transparent;
    }
    #fab-advance.is-visible {
      opacity: 1;
      transform: scale(1) translateY(0);
      pointer-events: auto;
    }
    #fab-advance:active {
      transform: scale(0.95) translateY(0);
    }

    /* Toast notification */
    #toast-container {
      position: absolute;
      bottom: 96px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 25;
      pointer-events: none;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;
    }
    .toast-notification {
      font-family: 'DM Sans', sans-serif;
      font-size: 13px;
      color: var(--cream);
      background: rgba(30,17,10,0.88);
      backdrop-filter: blur(12px);
      border: 1px solid rgba(232,200,74,0.2);
      border-left: 3px solid #e8c84a;
      border-radius: 12px;
      padding: 10px 20px;
      white-space: nowrap;
      max-width: 90vw;
      overflow: hidden;
      text-overflow: ellipsis;
      opacity: 0;
      transform: translateY(10px);
      transition: opacity 0.25s ease, transform 0.25s ease;
    }
    .toast-notification.toast--success {
      border-left-color: var(--success);
    }
    .toast-notification.toast--error {
      border-left-color: #d44a2a;
    }
    .toast-notification.toast--info {
      border-left-color: var(--sun);
    }
    .toast-notification.is-visible {
      opacity: 1;
      transform: translateY(0);
    }

    /* Pause / Main Menu */
    .pause-overlay {
      position: absolute;
      inset: 0;
      z-index: 50;
      background: rgba(30,17,10,0.88);
      backdrop-filter: blur(8px);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.25s ease;
    }
    .pause-overlay.is-open {
      opacity: 1;
      pointer-events: auto;
    }
    .pause-shell {
      position: relative;
      width: min(640px, calc(100vw - 32px));
      padding: 28px 24px 22px;
      border-radius: 24px;
      background: rgba(24, 16, 10, 0.74);
      border: 1px solid rgba(232, 200, 74, 0.18);
      box-shadow: 0 22px 60px rgba(0, 0, 0, 0.35);
      backdrop-filter: blur(16px);
    }
    .pause-shell__top {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 16px;
      margin-bottom: 14px;
    }
    .pause-title {
      font-family: 'Fraunces', serif;
      font-weight: 700;
      font-size: clamp(24px, 5vw, 36px);
      color: var(--sun);
      margin-bottom: 4px;
    }
    .pause-subtitle {
      font-family: 'DM Mono', monospace;
      font-size: 11px;
      color: rgba(247,242,234,0.3);
      letter-spacing: 0.1em;
      text-transform: uppercase;
    }
    .pause-close-btn {
      width: 42px;
      height: 42px;
      border-radius: 12px;
      border: 1px solid rgba(247,242,234,0.12);
      background: rgba(247,242,234,0.06);
      color: rgba(247,242,234,0.72);
      font-size: 20px;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
    }
    .pause-close-btn:hover {
      border-color: rgba(232,200,74,0.35);
      background: rgba(247,242,234,0.1);
    }
    .pause-section {
      margin-top: 18px;
    }
    .pause-section-label {
      font-family: 'DM Mono', monospace;
      font-size: 10px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: rgba(232,200,74,0.6);
      margin-bottom: 10px;
    }
    .pause-action-grid {
      display: grid;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 10px;
    }
    .pause-action {
      width: 100%;
      padding: 14px 16px;
      border-radius: 14px;
      font-family: 'DM Sans', sans-serif;
      font-size: 14px;
      font-weight: 500;
      cursor: pointer;
      border: 1px solid rgba(247,242,234,0.1);
      background: rgba(247,242,234,0.06);
      color: var(--cream);
      text-align: left;
      transition: background 0.15s, border-color 0.15s, transform 0.15s;
      display: flex;
      align-items: flex-start;
      gap: 12px;
    }
    .pause-action:hover {
      background: rgba(247,242,234,0.1);
      border-color: rgba(232,200,74,0.3);
      transform: translateY(-1px);
    }
    .pause-action__icon {
      font-size: 20px;
      width: 28px;
      text-align: center;
      margin-top: 1px;
      flex-shrink: 0;
    }
    .pause-action__title {
      display: block;
      font-weight: 600;
      margin-bottom: 3px;
      color: var(--cream);
    }
    .pause-action__copy {
      display: block;
      font-size: 12px;
      line-height: 1.45;
      color: rgba(247,242,234,0.55);
    }
    .pause-action--primary {
      border-color: rgba(232,200,74,0.28);
      background: rgba(232,200,74,0.14);
    }
    .pause-action--primary:hover {
      background: rgba(232,200,74,0.2);
      border-color: rgba(232,200,74,0.42);
    }
    .pause-action--danger {
      color: rgba(var(--danger-rgb, 212,74,42),0.92);
      border-color: rgba(var(--danger-rgb, 212,74,42),0.15);
    }
    .pause-action--danger:hover {
      background: rgba(212,74,42,0.08);
      border-color: rgba(var(--danger-rgb, 212,74,42),0.3);
    }
    .pause-footer-note {
      margin-top: 18px;
      font-family: 'DM Mono', monospace;
      font-size: 10px;
      color: rgba(247,242,234,0.18);
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .read-only-sheet {
      padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
    }
    .read-only-sheet__header {
      align-items: flex-start;
      gap: 12px;
    }
    .read-only-sheet__subtitle {
      margin-top: 4px;
      font-family: 'DM Sans', sans-serif;
      font-size: 13px;
      line-height: 1.5;
      color: rgba(247,242,234,0.6);
    }
    .read-only-sheet__close {
      margin-left: 8px;
      flex-shrink: 0;
    }
    .read-only-sheet__body {
      display: grid;
      gap: 10px;
      margin-top: 4px;
    }
    .read-only-sheet__footer {
      margin-top: 16px;
      font-family: 'DM Mono', monospace;
      font-size: 10px;
      color: rgba(247,242,234,0.18);
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }
    .read-only-sheet__footer .pause-action {
      text-transform: none;
      letter-spacing: normal;
    }
    .read-only-sheet__empty {
      padding: 14px 16px;
      border-radius: 12px;
      background: rgba(247,242,234,0.05);
      border: 1px solid rgba(247,242,234,0.08);
      color: rgba(247,242,234,0.68);
      line-height: 1.65;
    }
    .read-only-sheet__list {
      display: grid;
      gap: 10px;
    }
    .read-only-sheet__card {
      padding: 14px 16px;
      border-radius: 14px;
      background: rgba(247,242,234,0.04);
      border: 1px solid rgba(247,242,234,0.08);
      display: grid;
      gap: 10px;
    }
    .read-only-sheet__card--bug {
      background: rgba(139,168,181,0.06);
      border-color: rgba(139,168,181,0.12);
    }
    .read-only-sheet__card-top {
      display: flex;
      align-items: flex-start;
      justify-content: space-between;
      gap: 12px;
    }
    .read-only-sheet__card-title {
      font-family: 'Fraunces', serif;
      font-size: 18px;
      color: var(--cream);
      margin-bottom: 2px;
    }
    .read-only-sheet__card-meta {
      font-family: 'DM Mono', monospace;
      font-size: 10px;
      color: rgba(247,242,234,0.42);
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }
    .read-only-sheet__score {
      font-family: 'Fraunces', serif;
      font-size: 20px;
      color: var(--sun);
      flex-shrink: 0;
    }
    .read-only-sheet__card-row {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
    }
    .read-only-sheet__chip {
      display: inline-flex;
      align-items: center;
      padding: 4px 8px;
      border-radius: 999px;
      border: 1px solid rgba(247,242,234,0.08);
      background: rgba(247,242,234,0.03);
      color: rgba(247,242,234,0.64);
      font-family: 'DM Mono', monospace;
      font-size: 9px;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }
    .read-only-sheet__card-copy {
      font-size: 13px;
      line-height: 1.6;
      color: rgba(247,242,234,0.72);
    }

    @media (min-width: 768px) {
      #panel-container {
        top: 0;
        left: auto;
        right: 0;
        width: 340px;
        bottom: 0;
      }
      .panel-sheet {
        border-radius: 0;
        border-top: none;
        border-left: 1px solid rgba(232,200,74,0.15);
        max-height: 100%;
        height: 100%;
      }
    }

    @media (max-width: 640px) {
      #hud {
        padding: 10px 10px 0;
      }

      .hud-left, .hud-right {
        gap: 4px;
      }

      .hud-pause-btn {
        width: 40px;
        height: 40px;
        border-radius: 10px;
      }

      .hud-pill {
        padding: 6px 9px;
        font-size: 10px;
      }

      #phase-dots {
        top: 56px;
      }

      #phase-helper {
        top: 82px;
        font-size: 12px;
        padding: 8px 12px;
      }

      .panel-sheet {
        max-height: min(64vh, 560px);
        max-height: min(64dvh, 560px);
        border-radius: 18px 18px 0 0;
        padding: 0 14px calc(26px + env(safe-area-inset-bottom, 0px));
      }

      #fab-backpack {
        left: 14px;
        bottom: calc(16px + env(safe-area-inset-bottom, 0px));
        width: 58px;
        height: 58px;
        border-radius: 29px;
      }

      #fab-plant {
        left: 14px;
        bottom: calc(84px + env(safe-area-inset-bottom, 0px));
        min-width: 108px;
        height: 52px;
        border-radius: 26px;
        font-size: 15px;
        padding: 0 18px;
      }

      #fab-advance {
        right: 14px;
        bottom: calc(16px + env(safe-area-inset-bottom, 0px));
        min-width: 74px;
        height: 58px;
        border-radius: 29px;
        font-size: 16px;
      }

      #fab-bug {
        top: auto;
        right: 14px;
        bottom: calc(86px + env(safe-area-inset-bottom, 0px));
        width: 46px;
        height: 46px;
        border-radius: 23px;
      }

      .bug-report-panel {
        top: auto;
        right: 10px;
        bottom: calc(148px + env(safe-area-inset-bottom, 0px));
        width: min(360px, calc(100vw - 20px));
        max-height: 48vh;
        overflow-y: auto;
      }

      #toast-container {
        bottom: calc(154px + env(safe-area-inset-bottom, 0px));
        width: calc(100vw - 28px);
      }

      .toast-notification {
        white-space: normal;
        width: 100%;
        text-align: center;
      }

      .entry-grid {
        grid-template-columns: 1fr;
      }

      .pause-action-grid {
        grid-template-columns: 1fr;
      }

      .pause-menu {
        width: min(320px, calc(100vw - 28px));
      }

      .pause-menu button {
        min-height: 54px;
      }
    }

    @media (max-width: 420px) {
      .hud-pill#hud-crops {
        display: none;
      }

      .hud-score {
        font-size: 18px;
      }

      .chapter-intro {
        padding: 28px 18px;
      }

      .start-choice-btn {
        width: 100%;
      }

      .bug-report-actions {
        flex-direction: column-reverse;
      }

      .bug-report-actions button {
        width: 100%;
        min-height: 44px;
      }
    }

    /* FAB pulse animation — one cycle on appearance */
    @keyframes fabPulse {
      0%   { box-shadow: 0 4px 16px rgba(0,0,0,0.35), 0 0 0 0 rgba(232,200,74,0.35); }
      50%  { box-shadow: 0 4px 16px rgba(0,0,0,0.35), 0 0 0 8px rgba(232,200,74,0); }
      100% { box-shadow: 0 4px 16px rgba(0,0,0,0.35), 0 0 0 0 rgba(232,200,74,0); }
    }
    #fab-backpack.is-entering,
    #fab-advance.is-entering,
    #fab-plant.is-entering {
      animation: fabPulse 0.6s ease-out 1;
    }

    /* Screen shake for negative events */
    @keyframes screenShake {
      0%, 100% { transform: translateX(0); }
      20%      { transform: translateX(-2px); }
      40%      { transform: translateX(2px); }
      60%      { transform: translateX(-2px); }
      80%      { transform: translateX(1px); }
    }
    #app.is-shaking {
      animation: screenShake 0.2s ease-out;
    }

    /* General polish — cursor, tap highlight, will-change */
    button, [role="button"], .palette-item, .intervention-btn, .start-choice-btn, .palette-dismiss {
      cursor: pointer;
      -webkit-tap-highlight-color: transparent;
    }
    .panel-sheet, .pause-overlay, .chapter-intro, .toast-notification, #fab-advance, #fab-backpack, #fab-plant {
      will-change: transform;
    }

    /* ── Reduced motion (inline animations) ── */
    @media (prefers-reduced-motion: reduce) {
      #app.is-shaking { animation: none; }
      .fab-enter { animation: none; }
      .chapter-intro { animation: none; opacity: 1; }
      .harvest-reveal__reward-fleck { animation: none; opacity: 0.32; }
      .harvest-reveal__recipe-card::after { animation: none; opacity: 0; }
    }

    /* ── Title Screen ── */
    .title-screen {
      position: fixed;
      inset: 0;
      z-index: 200;
      background: var(--text);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 32px 24px;
      gap: 36px;
      transition: opacity 0.4s ease, transform 0.4s ease;
    }
    .title-screen.is-exiting {
      opacity: 0;
      transform: scale(1.03);
      pointer-events: none;
    }
    .title-logo {
      text-align: center;
    }
    .title-eyebrow {
      font-family: 'DM Mono', monospace;
      font-size: clamp(10px, 2vw, 12px);
      letter-spacing: 0.18em;
      text-transform: uppercase;
      color: rgba(247,242,234,0.3);
      margin-bottom: 6px;
    }
    .title-name {
      font-family: 'Fraunces', serif;
      font-weight: 700;
      font-size: clamp(36px, 8vw, 64px);
      color: var(--sun);
      line-height: 1.1;
      margin-bottom: 10px;
    }
    .title-tagline {
      font-family: 'DM Sans', sans-serif;
      font-style: italic;
      font-size: clamp(13px, 2.5vw, 16px);
      color: rgba(247,242,234,0.45);
      max-width: 36ch;
      margin: 0 auto;
    }

    .save-slots {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 14px;
      width: min(720px, calc(100vw - 48px));
    }
    .save-slot-card {
      background: rgba(247,242,234,0.04);
      border: 1px solid rgba(247,242,234,0.08);
      border-radius: 12px;
      padding: 18px 16px;
      min-height: 160px;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
      position: relative;
    }
    .save-slot-card:hover {
      transform: translateY(-2px);
      box-shadow: 0 6px 20px rgba(0,0,0,0.25);
    }
    .save-slot-card--empty {
      justify-content: center;
      align-items: center;
      border-style: dashed;
    }
    .save-slot-card--occupied {
      border-left: 3px solid #5aab6b;
    }
    .save-slot-card--occupied.progress-mid {
      border-left-color: var(--sun);
    }
    .save-slot-card--occupied.progress-low {
      border-left-color: #d44a2a;
    }
    .save-slot-label {
      font-family: 'DM Mono', monospace;
      font-size: 9px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: rgba(247,242,234,0.25);
      margin-bottom: 8px;
    }
    .save-slot-chapter {
      font-family: 'Fraunces', serif;
      font-weight: 700;
      font-size: 20px;
      color: var(--sun);
      display: flex;
      align-items: center;
      gap: 6px;
    }
    .save-slot-chapter .season-emoji {
      font-size: 16px;
    }
    .save-slot-meta {
      font-family: 'DM Sans', sans-serif;
      font-size: 12px;
      color: rgba(247,242,234,0.4);
      margin-top: 4px;
      line-height: 1.5;
    }
    .save-slot-sparkline {
      display: flex;
      gap: 3px;
      align-items: center;
      margin-top: 8px;
    }
    .sparkline-dot {
      width: 7px;
      height: 7px;
      border-radius: 50%;
      background: rgba(247,242,234,0.15);
    }
    .sparkline-dot--a { background: #5aab6b; }
    .sparkline-dot--b { background: var(--info); }
    .sparkline-dot--c { background: var(--sun); }
    .sparkline-dot--d { background: #dda855; }
    .sparkline-dot--f { background: #d44a2a; }
    .save-slot-empty-label {
      font-family: 'DM Sans', sans-serif;
      font-size: 14px;
      color: rgba(247,242,234,0.25);
      margin-bottom: 12px;
    }
    .save-slot-actions {
      display: flex;
      gap: 8px;
      margin-top: 12px;
    }
    .save-slot-btn {
      font-family: 'DM Sans', sans-serif;
      font-size: 13px;
      font-weight: 500;
      padding: 8px 16px;
      border-radius: 8px;
      border: none;
      cursor: pointer;
      transition: background 0.15s, transform 0.1s;
      -webkit-tap-highlight-color: transparent;
    }
    .save-slot-btn:active { transform: scale(0.96); }
    .save-slot-btn--primary {
      background: var(--sun);
      color: var(--text);
      flex: 1;
    }
    .save-slot-btn--primary:hover { background: #f0d45c; }
    .save-slot-btn--danger {
      background: rgba(212,74,42,0.12);
      color: rgba(var(--danger-rgb, 212,74,42),0.8);
      border: 1px solid rgba(212,74,42,0.2);
    }
    .save-slot-btn--danger:hover { background: rgba(212,74,42,0.2); }

    .title-footer {
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 16px;
    }
    .title-footer-actions {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
      justify-content: center;
    }
    .title-version {
      font-family: 'DM Mono', monospace;
      font-size: 10px;
      letter-spacing: 0.1em;
      color: rgba(247,242,234,0.15);
    }
    .title-link-btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      padding: 9px 14px;
      border-radius: 999px;
      border: 1px solid rgba(232,200,74,0.18);
      background: rgba(247,242,234,0.04);
      color: rgba(247,242,234,0.82);
      font-family: 'DM Sans', sans-serif;
      font-size: 12px;
      transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease;
    }
    .title-link-btn:hover {
      transform: translateY(-1px);
      border-color: rgba(232,200,74,0.36);
      background: rgba(232,200,74,0.08);
    }
    .title-link-btn__icon {
      color: var(--sun);
      font-size: 14px;
      line-height: 1;
    }
    .title-modes {
      display: flex;
      gap: 10px;
      flex-wrap: wrap;
      justify-content: center;
    }
    .mode-card {
      background: rgba(247,242,234,0.04);
      border: 1px solid rgba(247,242,234,0.08);
      border-radius: 10px;
      padding: 10px 16px;
      font-family: 'DM Sans', sans-serif;
      font-size: 12px;
      color: rgba(247,242,234,0.5);
      display: flex;
      align-items: center;
      gap: 8px;
      white-space: nowrap;
      transition: border-color 0.15s;
    }
    .mode-card--active {
      border-color: rgba(232,200,74,0.3);
      color: var(--sun);
    }
    .mode-card--selectable {
      cursor: pointer;
      opacity: 0.7;
    }
    .mode-card--selectable:hover {
      border-color: rgba(232,200,74,0.15);
      opacity: 1;
    }
    .mode-card--locked {
      opacity: 0.4;
    }
    .freeplay-start-btn {
      margin: 16px auto;
      display: block;
      font-size: 15px;
      padding: 12px 32px;
    }
    .mode-card .mode-icon {
      font-size: 16px;
    }
    .mode-card .mode-lock {
      font-size: 11px;
      color: rgba(247,242,234,0.2);
    }
    .mode-card .mode-soon {
      font-family: 'DM Mono', monospace;
      font-size: 9px;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      color: rgba(247,242,234,0.2);
    }
    .title-guide-overlay {
      position: fixed;
      inset: 0;
      z-index: 220;
      display: grid;
      align-items: end;
      padding: 24px 24px 0;
      background: rgba(16, 9, 4, 0.68);
      backdrop-filter: blur(12px);
      opacity: 0;
      pointer-events: none;
      transition: opacity 0.2s ease;
    }
    .title-guide-overlay.is-open {
      opacity: 1;
      pointer-events: auto;
    }
    .title-guide-overlay .panel-sheet {
      width: min(920px, 100%);
      max-height: min(86vh, 860px);
      margin: 0 auto;
      border: 1px solid rgba(232,200,74,0.16);
      border-bottom: none;
      border-radius: 18px 18px 0 0;
      box-shadow: 0 24px 64px rgba(0,0,0,0.42);
    }
    .read-only-sheet--gameplay-guide .read-only-sheet__body {
      display: block;
      overflow: hidden;
      margin-top: 8px;
    }
    .gameplay-guide-shell {
      display: grid;
      grid-template-columns: 188px minmax(0, 1fr);
      min-height: min(62vh, 540px);
      border-radius: 8px;
      border: 1px solid rgba(247,242,234,0.08);
      background: rgba(247,242,234,0.02);
      overflow: hidden;
    }
    .gameplay-guide__nav {
      display: grid;
      align-content: start;
      gap: 2px;
      padding: 12px 0;
      background: rgba(247,242,234,0.03);
      border-right: 1px solid rgba(247,242,234,0.08);
      overflow-y: auto;
    }
    .gameplay-guide__nav-item {
      border: none;
      border-left: 2px solid transparent;
      border-radius: 0;
      background: transparent;
      color: rgba(247,242,234,0.58);
      font-family: 'DM Sans', sans-serif;
      font-size: 12.5px;
      text-align: left;
      padding: 10px 14px;
      display: flex;
      align-items: center;
      gap: 10px;
      transition: background 0.12s ease, color 0.12s ease, border-color 0.12s ease;
    }
    .gameplay-guide__nav-item:hover {
      background: rgba(247,242,234,0.04);
      color: rgba(247,242,234,0.9);
    }
    .gameplay-guide__nav-item.is-active {
      background: rgba(232,200,74,0.1);
      color: var(--cream);
      border-left-color: var(--sun);
      font-weight: 600;
    }
    .gameplay-guide__nav-dot {
      width: 7px;
      height: 7px;
      flex-shrink: 0;
      border-radius: 999px;
    }
    .gameplay-guide__nav-dot--green { background: #639922; }
    .gameplay-guide__nav-dot--amber { background: #ba7517; }
    .gameplay-guide__nav-dot--blue { background: #185fa5; }
    .gameplay-guide__nav-dot--gray { background: rgba(247,242,234,0.3); }
    .gameplay-guide__content {
      overflow-y: auto;
      padding: 20px;
      display: grid;
      align-content: start;
      background: rgba(16,9,4,0.12);
    }
    .gameplay-guide__section {
      display: none;
      gap: 16px;
    }
    .gameplay-guide__section.is-active {
      display: grid;
    }
    .gameplay-guide__section-header {
      display: grid;
      gap: 4px;
    }
    .gameplay-guide__section-title {
      margin: 0;
      font-family: 'Fraunces', serif;
      font-size: 24px;
      line-height: 1.05;
      color: var(--cream);
    }
    .gameplay-guide__section-subtitle {
      font-size: 13px;
      line-height: 1.55;
      color: rgba(247,242,234,0.54);
    }
    .gameplay-guide__callout {
      padding: 12px 14px;
      border-left: 3px solid;
      border-radius: 0 14px 14px 0;
      display: grid;
      gap: 4px;
    }
    .gameplay-guide__callout--green {
      background: rgba(99,153,34,0.16);
      border-color: #639922;
    }
    .gameplay-guide__callout--amber {
      background: rgba(186,117,23,0.16);
      border-color: #ba7517;
    }
    .gameplay-guide__callout-label {
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 0.03em;
      text-transform: uppercase;
    }
    .gameplay-guide__callout--green .gameplay-guide__callout-label { color: #c0dd97; }
    .gameplay-guide__callout--amber .gameplay-guide__callout-label { color: #f0d48e; }
    .gameplay-guide__callout-body {
      font-size: 13px;
      line-height: 1.6;
      color: rgba(247,242,234,0.82);
    }
    .gameplay-guide__table {
      width: 100%;
      border-collapse: collapse;
      font-size: 12px;
      margin: 0;
    }
    .gameplay-guide__table th {
      background: rgba(39,80,10,0.92);
      color: #c0dd97;
      text-align: left;
      padding: 8px 10px;
      font-size: 11px;
      font-weight: 600;
      letter-spacing: 0.02em;
    }
    .gameplay-guide__table th:first-child { border-radius: 8px 0 0 0; }
    .gameplay-guide__table th:last-child { border-radius: 0 8px 0 0; }
    .gameplay-guide__table td {
      padding: 8px 10px;
      vertical-align: top;
      border-bottom: 1px solid rgba(247,242,234,0.08);
      color: rgba(247,242,234,0.82);
      line-height: 1.5;
    }
    .gameplay-guide__table tbody tr:nth-child(even) td {
      background: rgba(247,242,234,0.03);
    }
    .gameplay-guide__table tbody tr:last-child td {
      border-bottom: none;
    }
    .gameplay-guide__pill {
      display: inline-flex;
      align-items: center;
      border-radius: 999px;
      padding: 3px 8px;
      font-size: 10px;
      line-height: 1;
      font-weight: 600;
      letter-spacing: 0.03em;
      white-space: nowrap;
    }
    .gameplay-guide__pill--green {
      background: rgba(99,153,34,0.16);
      color: #c0dd97;
    }
    .gameplay-guide__pill--amber {
      background: rgba(186,117,23,0.16);
      color: #f0d48e;
    }
    .gameplay-guide__pill--gray {
      background: rgba(247,242,234,0.05);
      color: rgba(247,242,234,0.6);
      border: 1px solid rgba(247,242,234,0.08);
    }
    .gameplay-guide__pill--blue {
      background: rgba(24,95,165,0.16);
      color: #9dc9ef;
    }
    .gameplay-guide__microheading {
      font-size: 12px;
      font-weight: 600;
      color: rgba(247,242,234,0.68);
      margin-bottom: -4px;
    }
    .gameplay-guide__grade-grid {
      display: grid;
      grid-template-columns: repeat(6, minmax(0, 1fr));
      gap: 6px;
    }
    .gameplay-guide__grade-card {
      border-radius: 8px;
      padding: 10px 8px;
      text-align: center;
      border: 1px solid rgba(247,242,234,0.08);
      background: rgba(247,242,234,0.03);
    }
    .gameplay-guide__grade-letter {
      font-family: 'Fraunces', serif;
      font-size: 20px;
      line-height: 1;
      margin-bottom: 3px;
    }
    .gameplay-guide__grade-letter--green { color: #c0dd97; }
    .gameplay-guide__grade-letter--green-soft { color: #9fc577; }
    .gameplay-guide__grade-letter--amber-deep { color: #dca252; }
    .gameplay-guide__grade-letter--amber { color: #f0d48e; }
    .gameplay-guide__grade-letter--red { color: #d87569; }
    .gameplay-guide__grade-letter--red-deep { color: #c5574b; }
    .gameplay-guide__grade-score {
      font-size: 10px;
      color: rgba(247,242,234,0.44);
    }
    .gameplay-guide__loop {
      display: grid;
      gap: 0;
    }
    .gameplay-guide__loop-step {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      padding: 10px 0;
      border-bottom: 1px solid rgba(247,242,234,0.08);
    }
    .gameplay-guide__loop-step:last-child {
      border-bottom: none;
    }
    .gameplay-guide__loop-num {
      width: 24px;
      height: 24px;
      flex-shrink: 0;
      border-radius: 3px;
      background: rgba(99,153,34,0.16);
      color: #c0dd97;
      font-size: 11px;
      font-weight: 700;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-top: 1px;
    }
    .gameplay-guide__loop-label {
      font-size: 13px;
      font-weight: 600;
      color: var(--cream);
      margin-bottom: 2px;
    }
    .gameplay-guide__loop-body {
      font-size: 12px;
      line-height: 1.55;
      color: rgba(247,242,234,0.72);
    }
    .gameplay-guide__scene-stack {
      display: grid;
      gap: 8px;
    }
    .gameplay-guide__scene-card {
      border-radius: 12px;
      border: 1px solid rgba(247,242,234,0.08);
      padding: 12px 14px;
      display: flex;
      align-items: flex-start;
      gap: 12px;
      background: rgba(247,242,234,0.03);
    }
    .gameplay-guide__scene-swatch {
      width: 10px;
      flex-shrink: 0;
      align-self: stretch;
      border-radius: 999px;
      min-height: 54px;
    }
    .gameplay-guide__scene-swatch--green { background: #639922; }
    .gameplay-guide__scene-swatch--amber { background: #ba7517; }
    .gameplay-guide__scene-swatch--blue { background: #185fa5; }
    .gameplay-guide__scene-name {
      font-size: 13px;
      font-weight: 700;
      color: var(--cream);
      margin-bottom: 2px;
    }
    .gameplay-guide__scene-when {
      font-size: 11px;
      color: rgba(247,242,234,0.46);
      margin-bottom: 4px;
    }
    .gameplay-guide__scene-desc {
      font-size: 12px;
      line-height: 1.55;
      color: rgba(247,242,234,0.72);
    }
    .gameplay-guide__footnote {
      font-size: 11px;
      line-height: 1.55;
      color: rgba(247,242,234,0.42);
      margin-top: -2px;
    }
    .gameplay-guide__tool-table {
      border-radius: 12px;
      overflow: hidden;
      border: 1px solid rgba(247,242,234,0.08);
    }
    .gameplay-guide__tool-head,
    .gameplay-guide__tool-row {
      display: grid;
      grid-template-columns: 84px minmax(0, 1fr) 84px;
    }
    .gameplay-guide__tool-head {
      background: rgba(39,80,10,0.92);
    }
    .gameplay-guide__tool-head-cell {
      padding: 8px 10px;
      font-size: 11px;
      font-weight: 600;
      color: #c0dd97;
    }
    .gameplay-guide__tool-head-cell--right {
      text-align: right;
    }
    .gameplay-guide__tool-row {
      border-top: 1px solid rgba(247,242,234,0.08);
      background: rgba(247,242,234,0.03);
    }
    .gameplay-guide__tool-row:nth-child(even) {
      background: rgba(247,242,234,0.05);
    }
    .gameplay-guide__tool-cell {
      padding: 8px 10px;
      font-size: 12px;
      line-height: 1.45;
      color: rgba(247,242,234,0.78);
    }
    .gameplay-guide__tool-cell--label {
      color: var(--cream);
      font-weight: 600;
    }
    .gameplay-guide__tool-cell--cooldown {
      text-align: right;
      color: rgba(247,242,234,0.48);
      font-size: 11px;
    }
    .gameplay-guide__kbd {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 20px;
      padding: 1px 6px;
      border-radius: 6px;
      background: rgba(247,242,234,0.05);
      border: 1px solid rgba(247,242,234,0.08);
      color: rgba(247,242,234,0.76);
      font-family: 'DM Mono', monospace;
      font-size: 10px;
      letter-spacing: 0;
    }

    @media (max-width: 640px) {
      .save-slots {
        grid-template-columns: 1fr;
        gap: 10px;
        width: min(360px, calc(100vw - 32px));
      }
      .save-slot-card {
        min-height: 120px;
        padding: 14px;
      }
      .title-modes {
        flex-direction: column;
        align-items: center;
      }
      .title-guide-overlay {
        padding: 12px 12px 0;
      }
      .title-guide-overlay .panel-sheet {
        width: min(100%, 720px);
      }
      .gameplay-guide-shell {
        grid-template-columns: 1fr;
        min-height: auto;
      }
      .gameplay-guide__nav {
        display: flex;
        gap: 0;
        padding: 0;
        overflow-x: auto;
        overflow-y: hidden;
        border-right: none;
        border-bottom: 1px solid rgba(247,242,234,0.08);
      }
      .gameplay-guide__nav-item {
        flex: 0 0 auto;
        border-left: none;
        border-bottom: 2px solid transparent;
        padding: 12px 14px;
      }
      .gameplay-guide__nav-item.is-active {
        border-bottom-color: var(--sun);
      }
      .gameplay-guide__content {
        padding: 16px;
      }
      .gameplay-guide__grade-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
      }
      .gameplay-guide__tool-head,
      .gameplay-guide__tool-row {
        grid-template-columns: 74px minmax(0, 1fr) 64px;
      }
    }

    /* GRAPHICAL OVERHAUL - PHASE 2 */
    :root {
      --story-shell-paper: rgba(244, 235, 221, 0.92);
      --story-shell-paper-strong: rgba(250, 244, 235, 0.96);
      --story-shell-paper-soft: rgba(255, 250, 244, 0.74);
      --story-shell-ink: #26160a;
      --story-shell-ink-soft: rgba(74, 50, 30, 0.72);
      --story-shell-border: rgba(104, 68, 40, 0.22);
      --story-shell-border-strong: rgba(104, 68, 40, 0.38);
      --story-shell-shadow: 0 24px 68px rgba(14, 8, 4, 0.34);
      --story-shell-shadow-soft: 0 12px 30px rgba(14, 8, 4, 0.22);
      --story-season-accent: #d4a820;
      --story-season-accent-rgb: 212, 168, 32;
      --story-season-wash: rgba(212, 168, 32, 0.12);
      --story-season-line: rgba(212, 168, 32, 0.28);
    }

    body[data-story-screen="title"],
    body:not([data-season]) {
      --story-season-accent: #d4a820;
      --story-season-accent-rgb: 212, 168, 32;
      --story-season-wash: rgba(212, 168, 32, 0.12);
      --story-season-line: rgba(212, 168, 32, 0.28);
    }

    body[data-season="spring"] {
      --story-season-accent: #7da14a;
      --story-season-accent-rgb: 125, 161, 74;
      --story-season-wash: rgba(125, 161, 74, 0.12);
      --story-season-line: rgba(125, 161, 74, 0.28);
    }

    body[data-season="summer"] {
      --story-season-accent: #d28f24;
      --story-season-accent-rgb: 210, 143, 36;
      --story-season-wash: rgba(210, 143, 36, 0.12);
      --story-season-line: rgba(210, 143, 36, 0.28);
    }

    body[data-season="fall"] {
      --story-season-accent: #b86027;
      --story-season-accent-rgb: 184, 96, 39;
      --story-season-wash: rgba(184, 96, 39, 0.12);
      --story-season-line: rgba(184, 96, 39, 0.28);
    }

    body[data-season="winter"] {
      --story-season-accent: #7c97b0;
      --story-season-accent-rgb: 124, 151, 176;
      --story-season-wash: rgba(124, 151, 176, 0.12);
      --story-season-line: rgba(124, 151, 176, 0.28);
    }

    body {
      background:
        radial-gradient(circle at 18% 12%, rgba(var(--story-season-accent-rgb), 0.14), transparent 28%),
        radial-gradient(circle at 82% 20%, rgba(255, 224, 170, 0.08), transparent 24%),
        linear-gradient(180deg, rgba(27, 16, 8, 0.96), rgba(12, 7, 4, 1));
      color: var(--cream);
    }

    body::before,
    body::after {
      content: "";
      position: fixed;
      inset: 0;
      pointer-events: none;
      z-index: 0;
    }

    body::before {
      background:
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 0, rgba(255, 255, 255, 0.02) 1px, transparent 1px, transparent 72px),
        linear-gradient(rgba(255, 255, 255, 0.018) 0, rgba(255, 255, 255, 0.018) 1px, transparent 1px, transparent 72px);
      opacity: 0.18;
      mix-blend-mode: screen;
    }

    body::after {
      background:
        radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.08), transparent 36%),
        linear-gradient(180deg, transparent 0%, rgba(5, 3, 2, 0.38) 100%);
    }

    #app {
      isolation: isolate;
    }

    #app::before,
    #app::after {
      content: "";
      position: absolute;
      pointer-events: none;
      z-index: 0;
    }

    #app::before {
      inset: 18px;
      border: 1px solid rgba(255, 255, 255, 0.04);
      border-radius: 28px;
    }

    #app::after {
      right: -60px;
      bottom: -80px;
      width: 260px;
      height: 260px;
      border-radius: 50%;
      background: radial-gradient(circle, rgba(var(--story-season-accent-rgb), 0.14), transparent 68%);
      filter: blur(6px);
    }

    #viewport,
    .vignette-overlay {
      z-index: 0;
    }

    .vignette-overlay {
      background:
        radial-gradient(ellipse at center, transparent 48%, rgba(18, 11, 6, 0.44) 100%),
        linear-gradient(to top, rgba(11, 7, 4, 0.48) 0%, transparent 28%);
    }

    #hud {
      padding: 14px 18px 0;
      background: linear-gradient(180deg, rgba(16, 10, 5, 0.48), transparent 76%);
      align-items: flex-start;
    }

    .hud-left,
    .hud-right {
      gap: 8px;
    }

    .hud-pause-btn,
    .hud-pill,
    .hud-action-btn {
      min-height: 38px;
      border-radius: 999px;
      border: 1px solid var(--story-shell-border);
      background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0)),
        var(--story-shell-paper-soft);
      color: rgba(49, 30, 15, 0.88);
      box-shadow: var(--story-shell-shadow-soft);
      backdrop-filter: blur(14px);
    }

    .hud-pause-btn {
      width: 40px;
      height: 40px;
      color: rgba(74, 50, 30, 0.78);
    }

    .hud-pause-btn:hover {
      border-color: var(--story-season-line);
      color: rgba(49, 30, 15, 0.94);
    }

    .hud-pill {
      padding: 6px 12px;
      letter-spacing: 0.12em;
      color: rgba(84, 53, 29, 0.82);
    }

    .hud-pill.chapter {
      color: rgba(38, 22, 10, 0.94);
      border-color: rgba(104, 68, 40, 0.18);
    }

    .hud-pill.tokens {
      color: rgba(49, 77, 97, 0.88);
      border-color: rgba(73, 116, 145, 0.18);
    }

    .hud-pill.tokens .token-dot {
      background: rgba(var(--story-season-accent-rgb), 0.78);
      box-shadow: 0 0 0 3px rgba(var(--story-season-accent-rgb), 0.12);
    }

    .hud-pill.tokens .token-dot.spent {
      background: rgba(104, 68, 40, 0.16);
      box-shadow: none;
    }

    .hud-action-btn {
      background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0)),
        rgba(var(--story-season-accent-rgb), 0.16);
      border-color: rgba(var(--story-season-accent-rgb), 0.28);
      color: rgba(38, 22, 10, 0.94);
      font-weight: 600;
      min-height: 40px;
    }

    .hud-action-btn:hover {
      background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0)),
        rgba(var(--story-season-accent-rgb), 0.24);
      border-color: rgba(var(--story-season-accent-rgb), 0.42);
    }

    .hud-score-label {
      color: rgba(247, 219, 167, 0.48);
      letter-spacing: 0.14em;
    }

    .hud-score {
      color: #f7df9d;
      text-shadow: 0 3px 14px rgba(0, 0, 0, 0.42);
    }

    #phase-helper {
      background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0)),
        rgba(250, 244, 235, 0.9);
      color: rgba(74, 50, 30, 0.88);
      border: 1px solid var(--story-shell-border);
      box-shadow: var(--story-shell-shadow-soft);
      backdrop-filter: blur(12px);
    }

    .phase-dot {
      background: rgba(248, 236, 214, 0.16);
      border-color: rgba(248, 236, 214, 0.18);
    }

    .phase-dot--active {
      background: rgba(var(--story-season-accent-rgb), 0.92);
      border-color: rgba(var(--story-season-accent-rgb), 0.92);
      box-shadow: 0 0 10px rgba(var(--story-season-accent-rgb), 0.34);
    }

    .phase-dot--done {
      background: rgba(var(--story-season-accent-rgb), 0.42);
      border-color: rgba(var(--story-season-accent-rgb), 0.34);
    }

    .panel-sheet,
    .pause-shell,
    .bug-report-panel,
    .title-screen__poster {
      background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0)),
        linear-gradient(135deg, var(--story-season-wash), transparent 55%),
        var(--story-shell-paper);
      border: 1px solid var(--story-shell-border);
      box-shadow: var(--story-shell-shadow);
      color: var(--story-shell-ink);
    }

    .panel-sheet {
      border-top: 1px solid var(--story-shell-border);
      border-radius: 24px 24px 0 0;
      color: var(--story-shell-ink);
    }

    .panel-handle {
      width: 54px;
      height: 6px;
      border-radius: 999px;
      background: rgba(104, 68, 40, 0.18);
      margin: 14px auto 18px;
    }

    .chapter-intro {
      padding: 36px 24px;
      background: rgba(15, 9, 4, 0.78);
    }

    .chapter-intro::before {
      content: "";
      position: absolute;
      width: min(760px, calc(100vw - 32px));
      height: min(440px, calc(100vh - 64px));
      border-radius: 28px;
      background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0)),
        linear-gradient(135deg, var(--story-season-wash), transparent 56%),
        rgba(248, 241, 230, 0.96);
      border: 1px solid var(--story-shell-border);
      box-shadow: var(--story-shell-shadow);
    }

    .chapter-intro > * {
      position: relative;
      z-index: 1;
      max-width: min(560px, 72ch);
    }

    .chapter-intro .chapter-num {
      color: rgba(84, 53, 29, 0.5);
    }

    .chapter-intro h2 {
      color: rgba(38, 22, 10, 0.96);
    }

    .chapter-intro p,
    .chapter-intro .tap-hint {
      color: rgba(74, 50, 30, 0.82);
    }

    .entry-intro .entry-shell {
      background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0)),
        rgba(248, 241, 230, 0.9);
      border-color: var(--story-shell-border);
      box-shadow: var(--story-shell-shadow);
    }

    .entry-card {
      background: rgba(255, 255, 255, 0.36);
      border-color: rgba(104, 68, 40, 0.12);
    }

    .entry-card__label {
      color: rgba(84, 53, 29, 0.64);
    }

    .entry-card__copy {
      color: rgba(56, 35, 19, 0.78);
    }

    .start-choice-btn {
      border-radius: 999px;
      border: 1px solid transparent;
      box-shadow: var(--story-shell-shadow-soft);
    }

    .start-choice-btn--primary {
      background: rgba(var(--story-season-accent-rgb), 0.92);
      color: rgba(34, 20, 10, 0.96);
    }

    .start-choice-btn--ghost {
      background: rgba(255, 250, 244, 0.68);
      color: rgba(56, 35, 19, 0.9);
      border-color: rgba(104, 68, 40, 0.16);
    }

    #fab-backpack,
    #fab-plant,
    #fab-bug,
    #fab-advance {
      border-radius: 999px;
      border: 1px solid var(--story-shell-border);
      box-shadow: var(--story-shell-shadow-soft);
      backdrop-filter: blur(16px);
    }

    #fab-backpack,
    #fab-bug {
      background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0)),
        var(--story-shell-paper-soft);
      color: rgba(74, 50, 30, 0.9);
    }

    #fab-backpack.is-open,
    #fab-plant,
    #fab-advance {
      background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0)),
        rgba(var(--story-season-accent-rgb), 0.2);
      border-color: rgba(var(--story-season-accent-rgb), 0.28);
      color: rgba(38, 22, 10, 0.94);
    }

    #fab-plant:hover,
    #fab-advance:hover,
    #fab-backpack:hover,
    #fab-bug:hover {
      border-color: rgba(var(--story-season-accent-rgb), 0.42);
    }

    .bug-report-panel {
      border-radius: 18px;
    }

    .bug-report-panel h3,
    .bug-report-panel .bug-subtitle,
    .bug-report-panel .bug-meta,
    .bug-report-panel textarea,
    .bug-report-panel textarea::placeholder {
      color: rgba(56, 35, 19, 0.78);
    }

    .bug-report-panel textarea {
      background: rgba(255, 255, 255, 0.46);
      border-color: rgba(104, 68, 40, 0.14);
    }

    .bug-report-panel textarea:focus {
      border-color: rgba(var(--story-season-accent-rgb), 0.34);
    }

    .bug-report-actions button {
      border-radius: 999px;
      min-height: 40px;
    }

    .bug-btn-send {
      background: rgba(var(--story-season-accent-rgb), 0.86);
      color: rgba(34, 20, 10, 0.96);
    }

    .bug-btn-cancel {
      background: rgba(255, 255, 255, 0.42);
      color: rgba(74, 50, 30, 0.82);
      border-color: rgba(104, 68, 40, 0.16) !important;
    }

    .toast-notification {
      background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0)),
        rgba(248, 241, 230, 0.94);
      color: rgba(56, 35, 19, 0.92);
      border: 1px solid var(--story-shell-border);
      border-left-color: rgba(var(--story-season-accent-rgb), 0.88);
      box-shadow: var(--story-shell-shadow-soft);
    }

    .pause-overlay {
      background: rgba(15, 9, 4, 0.76);
      backdrop-filter: blur(14px);
    }

    .pause-shell {
      width: min(680px, calc(100vw - 32px));
      padding: 30px 26px 24px;
      border-radius: 28px;
    }

    .pause-shell__top {
      margin-bottom: 18px;
      padding-bottom: 14px;
      border-bottom: 1px dashed rgba(104, 68, 40, 0.18);
    }

    .pause-title {
      color: rgba(38, 22, 10, 0.96);
    }

    .pause-subtitle,
    .pause-footer-note {
      color: rgba(84, 53, 29, 0.52);
    }

    .pause-section {
      margin-top: 22px;
    }

    .pause-section-label {
      color: rgba(84, 53, 29, 0.64);
    }

    .pause-close-btn,
    .pause-action {
      background: rgba(255, 255, 255, 0.44);
      border-color: rgba(104, 68, 40, 0.14);
      color: rgba(56, 35, 19, 0.92);
    }

    .pause-close-btn:hover,
    .pause-action:hover {
      border-color: rgba(var(--story-season-accent-rgb), 0.32);
      background: rgba(255, 255, 255, 0.58);
    }

    .pause-action__title {
      color: rgba(38, 22, 10, 0.94);
    }

    .pause-action__copy {
      color: rgba(74, 50, 30, 0.7);
    }

    .pause-action--primary {
      background: rgba(var(--story-season-accent-rgb), 0.16);
      border-color: rgba(var(--story-season-accent-rgb), 0.26);
    }

    .pause-action--danger {
      background: rgba(184, 96, 39, 0.08);
      border-color: rgba(184, 96, 39, 0.18);
    }

    .read-only-sheet__subtitle,
    .read-only-sheet__footer,
    .read-only-sheet__card-meta {
      color: rgba(84, 53, 29, 0.52);
    }

    .read-only-sheet__empty,
    .read-only-sheet__card,
    .gameplay-guide-shell {
      background: rgba(255, 255, 255, 0.42);
      border-color: rgba(104, 68, 40, 0.12);
      color: rgba(56, 35, 19, 0.84);
    }

    .read-only-sheet__card-title,
    .read-only-sheet__score,
    .gameplay-guide__section-title,
    .gameplay-guide__scene-name,
    .gameplay-guide__loop-label {
      color: rgba(38, 22, 10, 0.94);
    }

    .read-only-sheet__chip {
      background: rgba(var(--story-season-accent-rgb), 0.08);
      border-color: rgba(var(--story-season-accent-rgb), 0.18);
      color: rgba(74, 50, 30, 0.78);
    }

    .read-only-sheet__card--bug {
      background: rgba(210, 223, 232, 0.34);
      border-color: rgba(73, 116, 145, 0.14);
    }

    .title-screen {
      padding: 30px 24px;
      background:
        radial-gradient(circle at 16% 14%, rgba(var(--story-season-accent-rgb), 0.2), transparent 34%),
        radial-gradient(120% 55% at 76% -6%, rgba(242, 201, 106, 0.5), transparent 62%),
        linear-gradient(180deg, #35506b 0%, #7f97a8 26%, #d9b077 46%, #c0623a 58%, #4a3823 60%, #2b3d24 78%, #1d2b19 100%);
      overflow: hidden;
    }

    .title-screen__atmosphere,
    .title-screen__poster {
      position: relative;
    }

    .title-screen__atmosphere {
      position: absolute;
      inset: 0;
      pointer-events: none;
    }

    .title-screen__sun {
      position: absolute;
      top: 8%;
      right: 10%;
      width: clamp(140px, 22vw, 240px);
      height: clamp(140px, 22vw, 240px);
      border-radius: 50%;
      background: radial-gradient(circle, rgba(255, 226, 150, 0.55), rgba(245, 214, 128, 0) 70%);
      filter: blur(6px);
    }

    .title-screen__grid {
      position: absolute;
      inset: 8% 4%;
      border: 1px solid rgba(255, 255, 255, 0.04);
      border-radius: 28px;
    }

    .title-screen__stamp {
      position: absolute;
      padding: 8px 12px;
      border-radius: 999px;
      border: 1px solid rgba(var(--story-season-accent-rgb), 0.18);
      background: rgba(255, 248, 238, 0.08);
      color: rgba(247, 231, 198, 0.64);
      font-family: 'DM Mono', monospace;
      font-size: 10px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
    }

    .title-screen__stamp--north {
      top: 10%;
      left: 8%;
      transform: rotate(-5deg);
    }

    .title-screen__stamp--south {
      right: 8%;
      bottom: 10%;
      transform: rotate(4deg);
    }

    .title-screen__poster {
      width: min(960px, calc(100vw - 36px));
      padding: 24px 24px 22px;
      border-radius: 30px;
      display: grid;
      gap: 20px;
      z-index: 1;
      position: relative;
    }

    .title-screen__poster::before,
    .save-slot-card::before {
      content: "";
      position: absolute;
      top: -10px;
      left: 28px;
      width: 70px;
      height: 18px;
      border-radius: 6px;
      background: rgba(var(--story-season-accent-rgb), 0.18);
      box-shadow: 0 1px 0 rgba(255, 255, 255, 0.16) inset;
      transform: rotate(-2deg);
      opacity: 0.9;
    }

    .title-screen__rail {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      padding-bottom: 12px;
      border-bottom: 1px dashed rgba(104, 68, 40, 0.18);
    }

    .title-screen__issue,
    .title-version {
      font-family: 'DM Mono', monospace;
      font-size: 10px;
      letter-spacing: 0.14em;
      text-transform: uppercase;
      color: rgba(84, 53, 29, 0.58);
    }

    .title-logo {
      text-align: center;
      display: grid;
      gap: 8px;
    }

    .title-eyebrow {
      color: rgba(84, 53, 29, 0.54);
    }

    .title-name {
      color: rgba(38, 22, 10, 0.96);
      text-shadow: 0 10px 24px rgba(119, 77, 38, 0.12);
    }

    .title-tagline {
      color: rgba(74, 50, 30, 0.72);
      max-width: 42ch;
    }

    .title-ledger {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 8px;
    }

    .title-ledger__item {
      display: inline-flex;
      align-items: center;
      min-height: 32px;
      padding: 0 12px;
      border-radius: 999px;
      background: rgba(var(--story-season-accent-rgb), 0.08);
      border: 1px solid rgba(var(--story-season-accent-rgb), 0.16);
      color: rgba(74, 50, 30, 0.78);
      font-family: 'DM Mono', monospace;
      font-size: 10px;
      letter-spacing: 0;
      text-transform: uppercase;
    }

    .save-slots {
      width: 100%;
      gap: 16px;
    }

    .save-slot-card {
      background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0)),
        rgba(255, 250, 244, 0.56);
      border-color: rgba(104, 68, 40, 0.14);
      border-radius: 18px;
      min-height: 188px;
      box-shadow: var(--story-shell-shadow-soft);
      overflow: hidden;
    }

    .save-slot-card:hover {
      border-color: rgba(var(--story-season-accent-rgb), 0.28);
      box-shadow: 0 16px 30px rgba(14, 8, 4, 0.18);
    }

    .save-slot-card--empty {
      border-style: solid;
    }

    .save-slot-card--occupied {
      border-left-width: 1px;
    }

    .save-slot-label,
    .save-slot-empty-copy,
    .save-slot-meta {
      color: rgba(84, 53, 29, 0.58);
    }

    .save-slot-stamps,
    .save-slot-ledger {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
    }

    .save-slot-stamp,
    .save-slot-ledger span {
      display: inline-flex;
      align-items: center;
      padding: 4px 8px;
      border-radius: 999px;
      background: rgba(var(--story-season-accent-rgb), 0.08);
      border: 1px solid rgba(var(--story-season-accent-rgb), 0.14);
      color: rgba(74, 50, 30, 0.74);
      font-family: 'DM Mono', monospace;
      font-size: 9px;
      letter-spacing: 0.08em;
      text-transform: uppercase;
    }

    .save-slot-stamps {
      margin-bottom: 10px;
    }

    .save-slot-chapter {
      color: rgba(38, 22, 10, 0.96);
      margin-bottom: 4px;
    }

    .save-slot-empty-copy {
      font-size: 12px;
      line-height: 1.55;
      text-align: center;
      max-width: 22ch;
      margin: 0 auto 10px;
    }

    .save-slot-empty-label {
      color: rgba(74, 50, 30, 0.88);
    }

    .save-slot-sparkline {
      margin-top: 12px;
    }

    .sparkline-dot {
      width: 8px;
      height: 8px;
      background: rgba(104, 68, 40, 0.16);
    }

    .save-slot-actions {
      margin-top: 14px;
    }

    .save-slot-btn,
    .title-link-btn {
      border-radius: 999px;
      border: 1px solid rgba(104, 68, 40, 0.16);
      box-shadow: var(--story-shell-shadow-soft);
      min-height: 44px;
    }

    .save-slot-btn--primary {
      background: rgba(var(--story-season-accent-rgb), 0.88);
      color: rgba(34, 20, 10, 0.96);
    }

    .save-slot-btn--primary:hover {
      background: rgba(var(--story-season-accent-rgb), 0.96);
    }

    .save-slot-btn--danger {
      background: rgba(184, 96, 39, 0.08);
      color: rgba(136, 58, 24, 0.9);
      border-color: rgba(184, 96, 39, 0.18);
    }

    .title-footer {
      gap: 18px;
    }

    .title-footer-actions {
      gap: 12px;
    }

    .title-link-btn {
      background: rgba(255, 255, 255, 0.48);
      color: rgba(56, 35, 19, 0.86);
    }

    .title-link-btn:hover {
      background: rgba(255, 255, 255, 0.62);
      border-color: rgba(var(--story-season-accent-rgb), 0.28);
    }

    .title-link-btn__icon {
      color: rgba(var(--story-season-accent-rgb), 0.92);
    }

    .title-modes {
      gap: 12px;
    }

    .mode-card {
      background: rgba(255, 255, 255, 0.44);
      border-color: rgba(104, 68, 40, 0.12);
      border-radius: 16px;
      color: rgba(74, 50, 30, 0.8);
      min-height: 54px;
      padding: 12px 16px;
      min-height: 44px;
    }

    .mode-card--active {
      border-color: rgba(var(--story-season-accent-rgb), 0.28);
      background: rgba(var(--story-season-accent-rgb), 0.12);
      color: rgba(38, 22, 10, 0.94);
    }

    .mode-card--selectable:hover {
      border-color: rgba(var(--story-season-accent-rgb), 0.22);
    }

    .mode-card--locked {
      opacity: 0.56;
    }

    .title-guide-overlay {
      background: rgba(15, 9, 4, 0.58);
      backdrop-filter: blur(14px);
    }

    .title-guide-overlay .panel-sheet {
      border-color: var(--story-shell-border);
      border-bottom: none;
    }

    .title-profile-setup {
      position: absolute;
      inset: 14px;
      z-index: 6;
      display: grid;
      place-items: center;
      padding: 16px;
      border-radius: 24px;
      background: rgba(41, 26, 15, 0.42);
      backdrop-filter: blur(16px);
    }

    .profile-editor {
      width: min(680px, 100%);
      max-height: min(78vh, 760px);
      overflow: auto;
      display: grid;
      gap: 16px;
      padding: 20px;
      border: 1px solid rgba(104, 68, 40, 0.18);
      border-radius: 18px;
      background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0)),
        rgba(255, 250, 244, 0.94);
      box-shadow: 0 24px 70px rgba(24, 12, 6, 0.32);
      color: rgba(38, 22, 10, 0.94);
    }

    .profile-sheet .profile-editor {
      max-height: calc(86vh - 112px);
      border: 0;
      border-radius: 0;
      box-shadow: none;
      background: transparent;
      padding: 0;
    }

    .profile-editor__top {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      align-items: center;
      gap: 18px;
    }

    .profile-editor__eyebrow,
    .profile-name-field span,
    .profile-fieldset legend {
      font-family: 'DM Mono', monospace;
      font-size: 10px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      color: rgba(84, 53, 29, 0.58);
    }

    .profile-editor__title {
      margin: 4px 0 6px;
      font-family: 'Fraunces', serif;
      font-size: clamp(26px, 5vw, 42px);
      line-height: 1;
      color: rgba(38, 22, 10, 0.96);
    }

    .profile-editor__subtitle {
      max-width: 48ch;
      margin: 0;
      color: rgba(74, 50, 30, 0.72);
      font-size: 14px;
      line-height: 1.45;
    }

    .profile-name-field {
      display: grid;
      gap: 8px;
    }

    .profile-name-field input {
      min-height: 44px;
      padding: 0 14px;
      border-radius: 10px;
      border: 1px solid rgba(104, 68, 40, 0.18);
      background: rgba(255, 255, 255, 0.62);
      color: rgba(38, 22, 10, 0.94);
      font: 600 17px 'DM Sans', sans-serif;
      outline: none;
    }

    .profile-name-field input:focus-visible,
    .profile-choice:focus-visible {
      border-color: rgba(var(--story-season-accent-rgb), 0.76);
      box-shadow: 0 0 0 3px rgba(var(--story-season-accent-rgb), 0.18);
    }

    .profile-fieldset {
      display: grid;
      gap: 10px;
      margin: 0;
      padding: 0;
      border: 0;
    }

    .profile-choice-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 8px;
    }

    .profile-choice {
      min-height: 42px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 8px 10px;
      border: 1px solid rgba(104, 68, 40, 0.16);
      border-radius: 10px;
      background: rgba(255, 255, 255, 0.48);
      color: rgba(56, 35, 19, 0.86);
      font: 600 12px 'DM Sans', sans-serif;
      cursor: pointer;
    }

    .profile-choice.is-selected {
      border-color: rgba(var(--story-season-accent-rgb), 0.48);
      background: rgba(var(--story-season-accent-rgb), 0.16);
    }

    .profile-choice__swatch {
      width: 16px;
      height: 16px;
      border-radius: 50%;
      background: var(--choice-color);
      border: 1px solid rgba(38, 22, 10, 0.16);
      box-shadow: 0 1px 2px rgba(24, 12, 6, 0.16);
    }

    .profile-editor__actions {
      display: flex;
      gap: 10px;
      align-items: center;
    }

    .profile-avatar {
      position: relative;
      width: 92px;
      height: 124px;
      flex: 0 0 auto;
    }

    .profile-avatar span {
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
      display: block;
    }

    .profile-avatar__shadow {
      bottom: 2px;
      width: 62px;
      height: 12px;
      border-radius: 50%;
      background: rgba(38, 22, 10, 0.16);
    }

    .profile-avatar__legs {
      bottom: 12px;
      width: 34px;
      height: 44px;
      border-radius: 12px 12px 8px 8px;
      background: var(--avatar-pants);
      box-shadow: -18px 0 0 -4px var(--avatar-pants), 18px 0 0 -4px var(--avatar-pants);
    }

    .profile-avatar__body {
      bottom: 48px;
      width: 50px;
      height: 42px;
      border-radius: 20px 20px 14px 14px;
      background: var(--avatar-shirt);
    }

    .profile-avatar__apron {
      bottom: 42px;
      width: 34px;
      height: 46px;
      border-radius: 12px;
      background: var(--avatar-apron);
      opacity: 0.94;
    }

    .profile-avatar__head {
      bottom: 86px;
      width: 38px;
      height: 38px;
      border-radius: 50%;
      background: var(--avatar-skin);
    }

    .profile-avatar__hair {
      bottom: 107px;
      width: 42px;
      height: 21px;
      border-radius: 28px 28px 10px 10px;
      background: var(--avatar-hair);
    }

    .profile-avatar__hat {
      bottom: 119px;
      width: 60px;
      height: 10px;
      border-radius: 999px;
      background: var(--avatar-hat);
      box-shadow: 0 -8px 0 -2px var(--avatar-hat);
    }

    .profile-sheet__body {
      padding: 0 18px 18px;
    }

    @media (max-width: 640px) {
      .title-profile-setup {
        inset: 8px;
        padding: 10px;
      }

      .profile-editor {
        max-height: 82vh;
        padding: 16px;
      }

      .profile-editor__top {
        grid-template-columns: 1fr;
      }

      .profile-avatar {
        justify-self: center;
      }

      .profile-choice-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }

      .profile-editor__actions {
        flex-direction: column;
      }

      .profile-editor__actions .save-slot-btn {
        width: 100%;
      }
    }

    .gameplay-guide-shell {
      overflow: hidden;
    }

    .gameplay-guide__nav {
      background: rgba(255, 255, 255, 0.28);
      border-right-color: rgba(104, 68, 40, 0.12);
    }

    .gameplay-guide__nav-item {
      color: rgba(74, 50, 30, 0.72);
    }

    .gameplay-guide__nav-item:hover,
    .gameplay-guide__nav-item.is-active {
      color: rgba(38, 22, 10, 0.94);
    }

    .gameplay-guide__nav-item.is-active {
      background: rgba(var(--story-season-accent-rgb), 0.12);
      border-left-color: rgba(var(--story-season-accent-rgb), 0.88);
    }

    .gameplay-guide__content {
      background: rgba(255, 255, 255, 0.16);
    }

    .gameplay-guide__section-subtitle,
    .gameplay-guide__loop-body,
    .gameplay-guide__scene-desc,
    .gameplay-guide__footnote,
    .gameplay-guide__tool-cell,
    .gameplay-guide__tool-cell--cooldown,
    .gameplay-guide__callout-body {
      color: rgba(74, 50, 30, 0.74);
    }

    .gameplay-guide__table th,
    .gameplay-guide__tool-head {
      background: rgba(var(--story-season-accent-rgb), 0.7);
      color: rgba(34, 20, 10, 0.92);
    }

    .gameplay-guide__table td,
    .gameplay-guide__tool-row {
      border-bottom-color: rgba(104, 68, 40, 0.08);
    }

    .gameplay-guide__tool-row,
    .gameplay-guide__table tbody tr:nth-child(even) td,
    .gameplay-guide__grade-card,
    .gameplay-guide__scene-card {
      background: rgba(255, 255, 255, 0.34);
      border-color: rgba(104, 68, 40, 0.1);
    }

    .gameplay-guide__kbd {
      background: rgba(255, 255, 255, 0.48);
      border-color: rgba(104, 68, 40, 0.12);
      color: rgba(56, 35, 19, 0.82);
    }

    .event-card-sheet {
      box-shadow: var(--story-shell-shadow);
    }

    .event-card-sheet[data-valence="negative"] .event-card__valence {
      box-shadow: 0 0 0 6px rgba(212, 74, 42, 0.08);
    }

    @media (max-width: 768px) {
      .title-screen__poster {
        width: min(100%, calc(100vw - 24px));
        padding: 20px 18px 18px;
      }

      .title-screen__rail {
        flex-wrap: wrap;
        justify-content: center;
      }
    }

    @media (max-width: 640px) {
      #hud {
        padding: 10px 10px 0;
      }

      .hud-left,
      .hud-right {
        gap: 5px;
      }

      .hud-pill,
      .hud-action-btn {
        min-height: 36px;
        padding-left: 10px;
        padding-right: 10px;
      }

      .title-screen {
        padding: 18px 12px;
      }

      .title-screen__stamp {
        font-size: 9px;
        padding: 7px 10px;
      }

      .title-ledger {
        justify-content: flex-start;
      }

      .title-ledger__item {
        min-height: 30px;
      }

      .save-slot-card {
        min-height: 164px;
      }

      .save-slot-actions {
        flex-direction: column;
      }

      .save-slot-btn {
        width: 100%;
      }

      .mode-card {
        width: 100%;
        justify-content: center;
      }

      .pause-shell {
        padding: 24px 18px 18px;
        border-radius: 24px;
      }
    }

    /* GRAPHICAL OVERHAUL - PHASE 2B */
    .harvest-reveal-overlay,
    .winter-review-overlay {
      position: absolute;
      inset: 0;
      z-index: 32;
      display: flex;
      align-items: flex-start;
      justify-content: center;
      padding: 18px;
      padding-top: max(18px, env(safe-area-inset-top, 0px));
      padding-bottom: max(18px, env(safe-area-inset-bottom, 0px));
      background: rgba(15, 9, 4, 0.82);
      overflow-y: auto;
      animation: fadeInIntro 0.35s ease-out both;
    }

    .harvest-reveal__sheet,
    .winter-review__shell {
      position: relative;
      width: min(1040px, 100%);
      border-radius: 28px;
      background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0)),
        linear-gradient(135deg, var(--story-season-wash), transparent 56%),
        var(--story-shell-paper-strong);
      border: 1px solid var(--story-shell-border);
      box-shadow: var(--story-shell-shadow);
      color: var(--story-shell-ink);
      overflow: hidden;
    }

    .harvest-reveal__sheet::before,
    .winter-review__shell::before {
      content: "";
      position: absolute;
      inset: 0;
      pointer-events: none;
      background:
        linear-gradient(90deg, rgba(104, 68, 40, 0.025) 0, rgba(104, 68, 40, 0.025) 1px, transparent 1px, transparent 84px),
        linear-gradient(rgba(104, 68, 40, 0.025) 0, rgba(104, 68, 40, 0.025) 1px, transparent 1px, transparent 84px);
      opacity: 0.35;
    }

    .harvest-reveal__sheet {
      max-width: 980px;
      display: flex;
      flex-direction: column;
      gap: 18px;
      max-height: calc(100vh - 36px);
    }

    .winter-review__shell {
      max-height: calc(100vh - 36px);
      display: flex;
      flex-direction: column;
      gap: 14px;
    }

    .harvest-reveal__reward-burst {
      position: absolute;
      inset: 0;
      z-index: 0;
      pointer-events: none;
      overflow: hidden;
    }

    .harvest-reveal__reward-fleck {
      position: absolute;
      left: var(--x, 50%);
      top: var(--y, 50%);
      width: 9px;
      height: 4px;
      border-radius: 1px;
      opacity: 0;
      background: var(--sun);
      box-shadow: 0 0 10px rgba(232, 200, 74, 0.16);
      transform-origin: 50% 50%;
      animation: harvestRewardFleck 1180ms ease-out var(--delay, 0ms) both;
    }

    .harvest-reveal__reward-fleck[data-reward-fleck="leaf"] {
      background: var(--leaf);
      box-shadow: 0 0 10px rgba(61, 122, 79, 0.14);
    }

    .harvest-reveal__reward-fleck[data-reward-fleck="soil"] {
      background: var(--soil);
      box-shadow: none;
    }

    .harvest-reveal__reward-fleck[data-reward-fleck="cream"] {
      background: rgba(247, 242, 234, 0.92);
      border: 1px solid rgba(104, 68, 40, 0.1);
      box-shadow: none;
    }

    .harvest-reveal__hero,
    .winter-review__header {
      position: relative;
      z-index: 1;
      padding: 24px 24px 0;
    }

    .harvest-reveal__hero {
      display: grid;
      grid-template-columns: minmax(0, 1fr) auto;
      align-items: center;
      gap: 20px;
    }

    .winter-review__header {
      display: grid;
      gap: 8px;
      text-align: center;
    }

    .harvest-reveal__eyebrow,
    .winter-review__eyebrow,
    .harvest-reveal__section-label,
    .winter-review__section-label,
    .winter-review__mini-label,
    .harvest-reveal__metric-label,
    .harvest-reveal__meta-count {
      font-family: 'DM Mono', monospace;
      font-size: 10px;
      letter-spacing: 0.12em;
      text-transform: uppercase;
    }

    .harvest-reveal__eyebrow,
    .winter-review__eyebrow,
    .harvest-reveal__section-label,
    .winter-review__section-label,
    .winter-review__mini-label,
    .harvest-reveal__meta-count {
      color: rgba(84, 53, 29, 0.56);
    }

    .harvest-reveal__title,
    .winter-review__title {
      margin: 0;
      font-family: 'Fraunces', serif;
      color: rgba(38, 22, 10, 0.96);
      line-height: 1.05;
    }

    .harvest-reveal__title {
      font-size: clamp(30px, 5.5vw, 44px);
    }

    .winter-review__title {
      font-size: clamp(28px, 5vw, 40px);
    }

    .harvest-reveal__dek,
    .winter-review__dek,
    .winter-review__footer-copy,
    .harvest-reveal__footer-copy,
    .winter-review__summary-copy,
    .winter-review__summary-meta,
    .winter-review__entry-meta,
    .winter-review__soil-carry,
    .winter-review__review-soil,
    .winter-review__review-tip,
    .winter-review__event-item,
    .winter-review__empty-note,
    .harvest-reveal__empty-note,
    .harvest-reveal__hint-item,
    .harvest-reveal__adjustment-copy,
    .harvest-reveal__keepsake-name,
    .factor-explain__verdict,
    .factor-explain__tip {
      color: rgba(74, 50, 30, 0.78);
    }

    .harvest-reveal__dek,
    .winter-review__dek {
      margin: 0;
      font-size: 15px;
      line-height: 1.65;
      max-width: 58ch;
    }

    .harvest-reveal__intro {
      display: grid;
      gap: 10px;
    }

    .harvest-score-ring {
      width: 132px;
      height: 132px;
      border-radius: 50%;
      border: 4px solid var(--harvest-grade, rgba(var(--story-season-accent-rgb), 0.88));
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      background:
        radial-gradient(circle at 50% 35%, rgba(255, 255, 255, 0.26), transparent 58%),
        rgba(255, 250, 244, 0.62);
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        0 18px 40px rgba(18, 11, 5, 0.18);
    }

    .harvest-reveal__score {
      font-family: 'Fraunces', serif;
      font-weight: 700;
      font-size: 40px;
      line-height: 1;
      color: var(--harvest-grade, rgba(38, 22, 10, 0.96));
    }

    .harvest-reveal__score-max {
      font-family: 'DM Mono', monospace;
      font-size: 11px;
      letter-spacing: 0.12em;
      color: rgba(84, 53, 29, 0.48);
    }

    .harvest-reveal__grade-badge {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      min-height: 44px;
      min-width: 72px;
      padding: 0 18px;
      border-radius: 999px;
      border: 1px solid rgba(var(--story-season-accent-rgb), 0.18);
      background: rgba(var(--story-season-accent-rgb), 0.08);
      color: rgba(38, 22, 10, 0.94);
      font-family: 'Fraunces', serif;
      font-weight: 700;
      font-size: 28px;
      opacity: 0;
      transform: scale(0.5);
      transition: opacity 0.3s ease, transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
      width: fit-content;
    }

    .harvest-reveal__grade-badge.is-visible {
      opacity: 1;
      transform: scale(1);
    }

    .harvest-reveal__body,
    .winter-review__body {
      position: relative;
      z-index: 1;
      padding: 0 24px 0;
      display: grid;
      gap: 16px;
      overflow-y: auto;
      min-height: 0;
    }

    .harvest-reveal__panel,
    .winter-review__panel {
      background: rgba(255, 255, 255, 0.42);
      border: 1px solid rgba(104, 68, 40, 0.12);
      border-radius: 18px;
      padding: 16px;
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
      display: grid;
      gap: 12px;
    }

    .harvest-reveal__panel--factors {
      padding-top: 18px;
    }

    .harvest-reveal__factor-list,
    .winter-review__card-stack,
    .winter-review__hint-list,
    .harvest-reveal__hint-list,
    .winter-review__event-list,
    .harvest-reveal__adjustment-list,
    .harvest-reveal__keepsake-list,
    .harvest-reveal__recipe-list {
      display: grid;
      gap: 10px;
    }

    .factor-row {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      padding: 12px 14px;
      border-radius: 16px;
      background: rgba(255, 255, 255, 0.46);
      border: 1px solid rgba(104, 68, 40, 0.1);
      opacity: 0;
      transform: translateY(6px);
      transition: opacity 0.3s ease var(--factor-delay), transform 0.3s ease var(--factor-delay);
      cursor: pointer;
    }

    .factor-row.is-visible {
      opacity: 1;
      transform: translateY(0);
    }

    .factor-row__icon {
      font-size: 18px;
      width: 24px;
      text-align: center;
      flex-shrink: 0;
      margin-top: 1px;
    }

    .factor-row__main {
      flex: 1;
      min-width: 0;
      display: grid;
      gap: 6px;
    }

    .factor-row__top {
      display: flex;
      align-items: baseline;
      justify-content: space-between;
      gap: 10px;
    }

    .factor-row__label {
      font-size: 13px;
      color: rgba(38, 22, 10, 0.92);
      font-weight: 600;
    }

    .factor-row__value {
      font-family: 'DM Mono', monospace;
      font-size: 11px;
      color: rgba(84, 53, 29, 0.66);
      white-space: nowrap;
    }

    .factor-row__weight {
      font-size: 9px;
      color: rgba(84, 53, 29, 0.42);
    }

    .factor-bar {
      height: 7px;
      border-radius: 999px;
      background: rgba(104, 68, 40, 0.08);
      overflow: hidden;
    }

    .factor-bar-fill {
      width: 0;
      height: 100%;
      border-radius: 999px;
      background: var(--factor-accent, rgba(var(--story-season-accent-rgb), 0.88));
      transition: width 0.8s ease-out calc(var(--factor-delay) + 180ms);
    }

    .factor-explain {
      display: none;
      padding: 10px 12px;
      border-radius: 12px;
      background: rgba(255, 255, 255, 0.58);
      border: 1px solid rgba(104, 68, 40, 0.1);
    }

    .factor-explain.is-open {
      display: block;
    }

    .factor-explain__verdict {
      font-size: 12px;
      line-height: 1.55;
    }

    .factor-explain__tip {
      margin-top: 5px;
      font-size: 11px;
      line-height: 1.45;
      color: var(--factor-accent, rgba(84, 53, 29, 0.78));
    }

    .harvest-reveal__columns,
    .winter-review__two-up,
    .winter-review__review-grid {
      display: grid;
      gap: 16px;
    }

    .harvest-reveal__columns {
      grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    }

    .winter-review__two-up {
      grid-template-columns: minmax(0, 1.25fr) minmax(280px, 1fr);
    }

    .winter-review__review-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .harvest-reveal__column {
      display: grid;
      gap: 16px;
      align-content: start;
    }

    .harvest-reveal__metric-grid,
    .winter-review__entry-grid {
      display: grid;
      gap: 12px;
    }

    .harvest-reveal__metric-grid {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .winter-review__entry-grid {
      grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    }

    .harvest-reveal__metric-card,
    .winter-review__entry,
    .winter-review__soil-card,
    .winter-review__review-card,
    .harvest-reveal__keepsake {
      background: rgba(255, 255, 255, 0.46);
      border: 1px solid rgba(104, 68, 40, 0.1);
      border-radius: 16px;
      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
    }

    .harvest-reveal__metric-card {
      padding: 14px 12px;
      text-align: center;
    }

    .harvest-reveal__metric-value {
      margin-top: 4px;
      font-family: 'Fraunces', serif;
      font-size: 26px;
      color: rgba(38, 22, 10, 0.94);
    }

    .harvest-reveal__adjustment {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 10px;
      padding: 12px 14px;
      border-radius: 14px;
      border: 1px solid rgba(104, 68, 40, 0.1);
      background: rgba(255, 255, 255, 0.44);
    }

    .harvest-reveal__adjustment-label {
      font-family: 'DM Mono', monospace;
      font-size: 12px;
      letter-spacing: 0.04em;
      color: rgba(38, 22, 10, 0.9);
    }

    .harvest-reveal__adjustment[data-tone="good"] {
      background: rgba(90, 171, 107, 0.12);
      border-color: rgba(90, 171, 107, 0.22);
    }

    .harvest-reveal__adjustment[data-tone="warn"] {
      background: rgba(212, 168, 32, 0.12);
      border-color: rgba(212, 168, 32, 0.22);
    }

    .harvest-reveal__adjustment[data-tone="bad"] {
      background: rgba(212, 74, 42, 0.12);
      border-color: rgba(212, 74, 42, 0.22);
    }

    .harvest-reveal__hint-item,
    .winter-review__hint-item {
      position: relative;
      padding-left: 16px;
      font-size: 13px;
      line-height: 1.6;
    }

    .harvest-reveal__hint-item::before,
    .winter-review__hint-item::before {
      content: "•";
      position: absolute;
      left: 0;
      color: rgba(var(--story-season-accent-rgb), 0.88);
    }

    .harvest-reveal__tag-list {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
    }

    .harvest-reveal__tag,
    .winter-review__event-item {
      display: inline-flex;
      align-items: center;
      min-height: 32px;
      padding: 0 12px;
      border-radius: 999px;
      background: rgba(var(--story-season-accent-rgb), 0.1);
      border: 1px solid rgba(var(--story-season-accent-rgb), 0.18);
      font-size: 12px;
    }

    .harvest-reveal__panel--recipes {
      background:
        linear-gradient(135deg, rgba(212, 168, 32, 0.1), transparent 58%),
        rgba(255, 255, 255, 0.42);
    }

    .harvest-reveal__recipe-card {
      position: relative;
      display: grid;
      grid-template-columns: 42px minmax(0, 1fr);
      gap: 12px;
      align-items: stretch;
      padding: 12px;
      border-radius: 8px;
      background:
        radial-gradient(circle at 14% 20%, rgba(92, 61, 30, 0.04) 0 1px, transparent 1.5px),
        radial-gradient(circle at 72% 68%, rgba(92, 61, 30, 0.035) 0 1px, transparent 1.5px),
        linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 250, 244, 0.34)),
        rgba(245, 231, 202, 0.62);
      background-size: 28px 24px, 34px 30px, auto, auto;
      border: 1px solid rgba(104, 68, 40, 0.14);
      box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.34),
        0 10px 20px rgba(60, 36, 16, 0.08);
      overflow: hidden;
      transform: translateZ(0);
    }

    .harvest-reveal__recipe-card::after {
      content: "";
      position: absolute;
      inset: 0;
      pointer-events: none;
      background: linear-gradient(105deg, transparent 20%, rgba(232, 200, 74, 0.16) 48%, transparent 70%);
      opacity: 0.36;
      transform: translateX(-35%);
      animation: harvestCardSheen 920ms ease-out 180ms both;
    }

    .harvest-reveal__recipe-ticket {
      min-height: 100%;
      border-radius: 8px;
      border: 1px dashed rgba(104, 68, 40, 0.24);
      background:
        linear-gradient(180deg, rgba(var(--story-season-accent-rgb), 0.22), rgba(255, 255, 255, 0.34)),
        rgba(255, 250, 244, 0.52);
      display: grid;
      place-items: center;
      gap: 5px;
      padding: 8px 0;
    }

    .harvest-reveal__recipe-ticket span {
      width: 20px;
      height: 3px;
      border-radius: 999px;
      background: rgba(84, 53, 29, 0.42);
    }

    .harvest-reveal__recipe-ticket span:nth-child(2) {
      width: 14px;
      opacity: 0.72;
    }

    .harvest-reveal__recipe-ticket span:nth-child(3) {
      width: 24px;
      opacity: 0.55;
    }

    .harvest-reveal__recipe-main {
      min-width: 0;
      display: grid;
      align-content: center;
      gap: 9px;
    }

    .harvest-reveal__recipe-name {
      font-family: 'Fraunces', serif;
      font-size: 18px;
      line-height: 1.15;
      color: rgba(38, 22, 10, 0.94);
    }

    .harvest-reveal__ingredient-list {
      display: flex;
      flex-wrap: wrap;
      gap: 6px;
    }

    .harvest-reveal__ingredient {
      display: inline-flex;
      align-items: center;
      max-width: 100%;
      min-height: 26px;
      gap: 6px;
      padding: 3px 8px 3px 4px;
      border-radius: 999px;
      background: rgba(255, 255, 255, 0.5);
      border: 1px solid rgba(104, 68, 40, 0.12);
      color: rgba(74, 50, 30, 0.8);
      font-size: 11px;
      line-height: 1.2;
    }

    .harvest-reveal__ingredient--empty {
      padding-left: 8px;
    }

    .harvest-reveal__ingredient-mark {
      display: inline-grid;
      place-items: center;
      width: 22px;
      height: 18px;
      border-radius: 999px;
      background: rgba(var(--story-season-accent-rgb), 0.14);
      color: rgba(38, 22, 10, 0.72);
      font-family: 'DM Mono', monospace;
      font-size: 8px;
      letter-spacing: 0;
      text-transform: uppercase;
      flex-shrink: 0;
    }

    .harvest-reveal__ingredient-name {
      min-width: 0;
      overflow-wrap: anywhere;
    }

    .harvest-reveal__panel-head,
    .winter-review__entry-top,
    .winter-review__soil-top,
    .winter-review__review-top,
    .winter-review__summary-row {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
    }

    .winter-review__entry,
    .winter-review__soil-card,
    .winter-review__review-card {
      padding: 14px;
    }

    .winter-review__summary-block {
      display: grid;
      gap: 8px;
    }

    .winter-review__entry {
      display: grid;
      gap: 8px;
    }

    .winter-review__entry-grade,
    .winter-review__summary-grade {
      font-family: 'Fraunces', serif;
      font-size: 22px;
      line-height: 1;
    }

    .winter-review__entry[data-grade^="A"] .winter-review__entry-grade,
    .winter-review__panel--summary[data-grade^="A"] .winter-review__summary-grade {
      color: #5aab6b;
    }

    .winter-review__entry[data-grade^="B"] .winter-review__entry-grade,
    .winter-review__panel--summary[data-grade^="B"] .winter-review__summary-grade {
      color: #d4a820;
    }

    .winter-review__entry[data-grade^="C"] .winter-review__entry-grade,
    .winter-review__panel--summary[data-grade^="C"] .winter-review__summary-grade {
      color: #c68341;
    }

    .winter-review__entry[data-grade^="D"] .winter-review__entry-grade,
    .winter-review__entry[data-grade^="F"] .winter-review__entry-grade,
    .winter-review__panel--summary[data-grade^="D"] .winter-review__summary-grade,
    .winter-review__panel--summary[data-grade^="F"] .winter-review__summary-grade {
      color: #c45c3d;
    }

    .winter-review__entry-score,
    .winter-review__summary-score,
    .winter-review__review-total {
      font-family: 'Fraunces', serif;
      color: rgba(38, 22, 10, 0.94);
    }

    .winter-review__entry-score {
      font-size: 30px;
      line-height: 1;
    }

    .winter-review__summary-score {
      font-size: 38px;
      line-height: 1;
    }

    .winter-review__soil-grid {
      display: grid;
      grid-template-columns: repeat(4, minmax(0, 1fr));
      gap: 8px;
    }

    .winter-review__soil-fatigue,
    .winter-review__review-soil {
      font-size: 11px;
      color: rgba(84, 53, 29, 0.6);
    }

    .winter-review__soil-card[data-tone="good"] .winter-review__soil-fatigue,
    .winter-review__panel--spotlight[data-tone="good"] .winter-review__section-label,
    .winter-review__review-card[data-tone="good"] .winter-review__review-total {
      color: #428453;
    }

    .winter-review__soil-card[data-tone="warn"] .winter-review__soil-fatigue {
      color: #b57d18;
    }

    .winter-review__soil-card[data-tone="bad"] .winter-review__soil-fatigue,
    .winter-review__panel--spotlight[data-tone="bad"] .winter-review__section-label,
    .winter-review__review-card[data-tone="bad"] .winter-review__review-total {
      color: #b44f37;
    }

    .winter-review__review-card {
      display: grid;
      gap: 8px;
    }

    .winter-review__review-crop {
      font-family: 'Fraunces', serif;
      font-size: 17px;
      color: rgba(38, 22, 10, 0.94);
    }

    .winter-review__review-score {
      text-align: right;
    }

    .winter-review__review-total {
      font-size: 22px;
      line-height: 1;
    }

    .winter-review__panel--spotlight[data-tone="good"] {
      background: rgba(90, 171, 107, 0.1);
      border-color: rgba(90, 171, 107, 0.16);
    }

    .winter-review__panel--spotlight[data-tone="bad"] {
      background: rgba(212, 74, 42, 0.08);
      border-color: rgba(212, 74, 42, 0.14);
    }

    .winter-review__footer,
    .harvest-reveal__footer {
      position: relative;
      z-index: 1;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 16px;
      padding: 16px 24px 22px;
      border-top: 1px dashed rgba(104, 68, 40, 0.18);
      background: linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(255, 250, 244, 0.46));
    }

    .winter-review__actions,
    .harvest-reveal__actions {
      display: flex;
      justify-content: flex-end;
      gap: 10px;
      flex-wrap: wrap;
      flex-shrink: 0;
    }

    .winter-review__button,
    .harvest-reveal__button {
      min-height: 44px;
      padding: 0 18px;
      border-radius: 999px;
      border: 1px solid rgba(104, 68, 40, 0.16);
      font-family: 'DM Sans', sans-serif;
      font-size: 14px;
      font-weight: 600;
      cursor: pointer;
      box-shadow: var(--story-shell-shadow-soft);
    }

    .winter-review__button--secondary,
    .harvest-reveal__button--secondary {
      background: rgba(255, 255, 255, 0.48);
      color: rgba(56, 35, 19, 0.9);
    }

    .winter-review__button--primary,
    .harvest-reveal__button--primary {
      background: rgba(var(--story-season-accent-rgb), 0.88);
      border-color: rgba(var(--story-season-accent-rgb), 0.24);
      color: rgba(34, 20, 10, 0.96);
    }

    .winter-review__button:hover,
    .harvest-reveal__button:hover {
      border-color: rgba(var(--story-season-accent-rgb), 0.34);
    }

    .harvest-reveal__keepsake {
      display: flex;
      align-items: center;
      justify-content: flex-start;
      gap: 12px;
      padding: 12px 14px;
      background: rgba(90, 171, 107, 0.12);
      border-color: rgba(90, 171, 107, 0.22);
    }

    .harvest-reveal__keepsake-mark {
      display: inline-grid;
      place-items: center;
      width: 38px;
      height: 38px;
      border-radius: 50%;
      border: 1px dashed rgba(66, 132, 83, 0.38);
      background:
        radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.42), transparent 62%),
        rgba(90, 171, 107, 0.12);
      color: #428453;
      font-family: 'DM Mono', monospace;
      font-size: 9px;
      letter-spacing: 0;
      text-transform: uppercase;
      flex-shrink: 0;
    }

    .harvest-reveal__keepsake-name {
      min-width: 0;
      flex: 1;
      overflow-wrap: anywhere;
    }

    .harvest-reveal__keepsake-badge {
      font-family: 'DM Mono', monospace;
      font-size: 10px;
      letter-spacing: 0;
      text-transform: uppercase;
      color: #428453;
    }

    .harvest-reveal__empty-note,
    .winter-review__empty-note {
      font-size: 12px;
      line-height: 1.55;
    }

    @media (max-width: 900px) {
      .harvest-reveal__columns,
      .winter-review__two-up,
      .winter-review__review-grid {
        grid-template-columns: 1fr;
      }

      .winter-review__soil-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
      }
    }

    @media (max-width: 640px) {
      .harvest-reveal-overlay,
      .winter-review-overlay {
        padding: 12px;
      }

      .harvest-reveal__sheet,
      .winter-review__shell {
        border-radius: 22px;
        max-height: calc(100vh - 24px);
      }

      .harvest-reveal__hero,
      .winter-review__header,
      .harvest-reveal__body,
      .winter-review__body,
      .winter-review__footer,
      .harvest-reveal__footer {
        padding-left: 16px;
        padding-right: 16px;
      }

      .harvest-reveal__hero {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
      }

      .harvest-reveal__intro {
        justify-items: center;
      }

      .harvest-score-ring {
        width: 104px;
        height: 104px;
      }

      .harvest-reveal__score {
        font-size: 32px;
      }

      .harvest-reveal__metric-grid {
        grid-template-columns: 1fr;
      }

      .winter-review__entry-grid {
        grid-template-columns: 1fr;
      }

      .winter-review__soil-grid {
        grid-template-columns: 1fr 1fr;
      }

      .winter-review__footer,
      .harvest-reveal__footer {
        flex-direction: column;
        align-items: stretch;
      }

      .winter-review__actions,
      .harvest-reveal__actions {
        width: 100%;
      }

      .winter-review__button,
      .harvest-reveal__button {
        width: 100%;
        justify-content: center;
      }
    }

    @media (max-width: 420px) {
      .winter-review__soil-grid {
        grid-template-columns: 1fr;
      }

      .factor-row {
        padding: 10px 12px;
      }

      .factor-row__top {
        flex-direction: column;
        align-items: flex-start;
      }

      .harvest-reveal__recipe-card {
        grid-template-columns: 1fr;
      }

      .harvest-reveal__recipe-ticket {
        min-height: 30px;
        grid-auto-flow: column;
        grid-template-columns: repeat(3, auto);
      }
    }

    /* Zine Press Sprint 1 */
    :root {
      --story-print-paper: #f1e3ce;
      --story-print-paper-light: #fff7eb;
      --story-print-ink: #271408;
      --story-print-ink-soft: rgba(65, 39, 21, 0.76);
      --story-print-rule: rgba(79, 48, 27, 0.28);
      --story-print-fiber:
        repeating-linear-gradient(0deg, rgba(42, 24, 10, 0.025) 0, rgba(42, 24, 10, 0.025) 1px, transparent 1px, transparent 7px),
        repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.12) 0, rgba(255, 255, 255, 0.12) 1px, transparent 1px, transparent 11px);
      --story-print-halftone:
        radial-gradient(circle at 1px 1px, rgba(39, 20, 8, 0.13) 1px, transparent 1.6px);
      --story-registration-shadow:
        2px 2px 0 rgba(46, 91, 112, 0.16),
        -2px 1px 0 rgba(178, 68, 34, 0.12),
        var(--story-shell-shadow-soft);
      --story-zone-accent: #8a7d3d;
      --story-zone-accent-rgb: 138, 125, 61;
      --story-zone-wash: rgba(138, 125, 61, 0.14);
    }

    body[data-zone="player_plot"] {
      --story-zone-accent: #7d9147;
      --story-zone-accent-rgb: 125, 145, 71;
      --story-zone-wash: rgba(125, 145, 71, 0.16);
    }

    body[data-zone="neighborhood"] {
      --story-zone-accent: #a65336;
      --story-zone-accent-rgb: 166, 83, 54;
      --story-zone-wash: rgba(166, 83, 54, 0.16);
    }

    body[data-zone="meadow"] {
      --story-zone-accent: #6b9848;
      --story-zone-accent-rgb: 107, 152, 72;
      --story-zone-wash: rgba(107, 152, 72, 0.16);
    }

    body[data-zone="riverside"] {
      --story-zone-accent: #4f8797;
      --story-zone-accent-rgb: 79, 135, 151;
      --story-zone-wash: rgba(79, 135, 151, 0.16);
    }

    body[data-zone="market_square"] {
      --story-zone-accent: #b36f2f;
      --story-zone-accent-rgb: 179, 111, 47;
      --story-zone-wash: rgba(179, 111, 47, 0.16);
    }

    body[data-zone="forest_edge"] {
      --story-zone-accent: #536d3c;
      --story-zone-accent-rgb: 83, 109, 60;
      --story-zone-wash: rgba(83, 109, 60, 0.16);
    }

    body[data-zone="greenhouse"] {
      --story-zone-accent: #3d8e76;
      --story-zone-accent-rgb: 61, 142, 118;
      --story-zone-wash: rgba(61, 142, 118, 0.16);
    }

    body[data-zone="festival_grounds"] {
      --story-zone-accent: #b24358;
      --story-zone-accent-rgb: 178, 67, 88;
      --story-zone-wash: rgba(178, 67, 88, 0.16);
    }

    body {
      background:
        var(--story-print-halftone),
        radial-gradient(circle at 18% 12%, rgba(var(--story-season-accent-rgb), 0.14), transparent 28%),
        linear-gradient(90deg, rgba(92, 47, 30, 0.18), transparent 18%, transparent 82%, rgba(79, 44, 28, 0.16)),
        linear-gradient(180deg, rgba(31, 19, 11, 0.98), rgba(12, 7, 4, 1));
      background-size: 6px 6px, auto, auto, auto;
    }

    #app::before {
      border-radius: 10px;
      border-color: rgba(var(--story-zone-accent-rgb), 0.18);
    }

    #app::after {
      display: none;
    }

    #hud {
      border-bottom: 1px solid rgba(var(--story-zone-accent-rgb), 0.18);
    }

    .hud-pause-btn,
    .hud-pill,
    .hud-action-btn,
    #phase-helper,
    .panel-sheet,
    .pause-shell,
    .bug-report-panel,
    .title-screen__poster {
      border-radius: 8px;
      background:
        var(--story-print-fiber),
        linear-gradient(135deg, var(--story-zone-wash), transparent 58%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0)),
        var(--story-print-paper);
      border-color: var(--story-print-rule);
      color: var(--story-print-ink);
      box-shadow: var(--story-registration-shadow);
    }

    .hud-pill.season-icon {
      background: transparent;
      box-shadow: none;
    }

    .hud-pill.chapter {
      border-color: rgba(var(--story-zone-accent-rgb), 0.32);
    }

    .hud-action-btn {
      border-color: rgba(var(--story-season-accent-rgb), 0.38);
      background:
        var(--story-print-fiber),
        linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0)),
        rgba(var(--story-season-accent-rgb), 0.22);
    }

    #phase-helper {
      display: flex;
      align-items: center;
      gap: 10px;
      border-left: 4px solid var(--story-zone-accent);
      text-align: left;
      color: var(--story-print-ink-soft);
    }

    #phase-helper::before {
      content: attr(data-zone-label);
      flex: 0 0 auto;
      padding: 3px 7px;
      border: 1px solid rgba(var(--story-zone-accent-rgb), 0.28);
      background: rgba(var(--story-zone-accent-rgb), 0.12);
      color: rgba(48, 29, 15, 0.82);
      font-family: 'DM Mono', monospace;
      font-size: 9px;
      letter-spacing: 0.12em;
      line-height: 1;
      text-transform: uppercase;
    }

    .panel-sheet {
      border-radius: 8px 8px 0 0;
      border-top: 3px solid rgba(var(--story-zone-accent-rgb), 0.5);
    }

    .panel-handle {
      width: 48px;
      height: 4px;
      background: rgba(65, 39, 21, 0.26);
    }

    .event-card-sheet {
      border-top-width: 4px;
      background:
        var(--story-print-fiber),
        linear-gradient(135deg, rgba(var(--story-zone-accent-rgb), 0.12), transparent 60%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0)),
        var(--story-print-paper-light);
    }

    .event-card-sheet::before {
      content: "";
      position: absolute;
      inset: 12px;
      pointer-events: none;
      border: 1px dashed rgba(65, 39, 21, 0.14);
    }

    .event-card__eyebrow {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      gap: 8px;
      color: rgba(65, 39, 21, 0.62);
    }

    .event-card__category {
      padding: 3px 7px;
      border: 1px solid rgba(var(--story-zone-accent-rgb), 0.28);
      background: rgba(var(--story-zone-accent-rgb), 0.12);
      color: rgba(48, 29, 15, 0.84);
    }

    .event-card__title {
      max-width: 24ch;
      color: var(--story-print-ink);
      text-wrap: balance;
    }

    .event-card__body,
    .event-card__effect,
    .event-card__intervention-copy,
    .targeting-hint {
      color: var(--story-print-ink-soft);
    }

    .event-card__valence {
      border-radius: 8px;
      box-shadow:
        2px 2px 0 rgba(46, 91, 112, 0.14),
        -2px 1px 0 rgba(178, 68, 34, 0.12);
    }

    .intervention-btn,
    .palette-item,
    .targeting-chip {
      border-radius: 8px;
    }

    .intervention-btn {
      border-color: rgba(65, 39, 21, 0.18);
      background:
        var(--story-print-fiber),
        linear-gradient(180deg, rgba(255, 255, 255, 0.28), rgba(255, 255, 255, 0)),
        rgba(255, 248, 237, 0.68);
    }

    .intervention-btn:hover {
      border-color: rgba(var(--story-season-accent-rgb), 0.48);
      transform: translateY(-1px);
    }

    @media (max-width: 640px) {
      #hud {
        flex-wrap: wrap;
        gap: 8px;
      }

      .hud-left,
      .hud-right {
        min-width: 0;
        flex-wrap: wrap;
      }

      #phase-helper {
        top: 92px;
        width: calc(100vw - 20px);
        align-items: flex-start;
      }

      .panel-sheet {
        max-height: 68dvh;
      }
    }

    /* ── Title key-art pass ──────────────────────────────────────────────
       Turn the old "settings page" title into key art: a South-Philly backyard
       at golden hour behind a translucent glass menu. Scoped + appended so it
       wins the cascade over the base title rules above. */
    .title-screen {
      background:
        radial-gradient(120% 60% at 78% 8%, rgba(255, 214, 138, 0.55), transparent 55%),
        radial-gradient(90% 50% at 20% 4%, rgba(192, 98, 58, 0.28), transparent 60%),
      linear-gradient(180deg, #2f4a63 0%, #6d86a0 22%, #d7b784 44%, #c8703f 56%, #7a4a2c 63%, #38492c 74%, #223019 100%);
      overflow-x: hidden;
      overflow-y: auto;
      min-height: 100dvh;
    }
    .title-ledger { display: none !important; }
    .title-screen__grid { display: none; }

    .title-screen__scene {
      position: absolute; left: 0; right: 0; bottom: 0;
      width: 100%; height: min(56%, 460px);
      pointer-events: none; z-index: 0;
    }
    .title-screen__scene .ts-hill--far { fill: rgba(86, 104, 88, 0.5); }
    .title-screen__scene .ts-rowhomes { fill: rgba(52, 37, 31, 0.82); }
    .title-screen__scene .ts-rowhomes path:last-child { fill: rgba(70, 48, 38, 0.82); }
    .title-screen__scene .ts-hill--near { fill: rgba(35, 44, 30, 0.95); }
    .title-screen__scene .ts-fence rect { fill: rgba(40, 30, 22, 0.7); }
    .title-screen__scene .ts-bed-soil { fill: #3a2a1c; }
    .title-screen__scene .ts-bed-frame { fill: #8a5a30; }
    .title-screen__scene .ts-bed-frame--front { fill: #6f4526; }
    .title-screen__scene .ts-sprouts { fill: none; stroke: #8fbf6a; stroke-width: 4; stroke-linecap: round; }

    .title-screen__sun {
      top: 9%; right: 16%;
      width: clamp(120px, 20vw, 220px); height: clamp(120px, 20vw, 220px);
      background: radial-gradient(circle, rgba(255, 236, 178, 0.85), rgba(255, 214, 128, 0.28) 45%, transparent 72%);
      filter: blur(2px);
      animation: ts-sun-pulse 7s ease-in-out infinite;
    }
    @keyframes ts-sun-pulse { 0%, 100% { transform: scale(1); opacity: 0.92; } 50% { transform: scale(1.06); opacity: 1; } }
    .title-screen__clouds { position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
    .title-cloud {
      position: absolute; background: rgba(255, 246, 232, 0.5);
      border-radius: 999px; filter: blur(6px);
      animation: ts-cloud-drift linear infinite;
    }
    .title-cloud--1 { top: 14%; left: -20%; width: 200px; height: 42px; animation-duration: 68s; }
    .title-cloud--2 { top: 22%; left: -30%; width: 140px; height: 32px; opacity: 0.7; animation-duration: 92s; animation-delay: -30s; }
    .title-cloud--3 { top: 8%;  left: -25%; width: 260px; height: 50px; opacity: 0.55; animation-duration: 120s; animation-delay: -60s; }
    @keyframes ts-cloud-drift { from { transform: translateX(0); } to { transform: translateX(160vw); } }

    .title-screen__poster {
      width: min(760px, calc(100vw - 36px));
      background: linear-gradient(180deg, rgba(247, 241, 232, 0.82), rgba(244, 236, 224, 0.72));
      backdrop-filter: blur(9px) saturate(1.05);
      -webkit-backdrop-filter: blur(9px) saturate(1.05);
      border: 1px solid rgba(255, 250, 242, 0.5);
      box-shadow: 0 30px 70px rgba(18, 12, 6, 0.42);
      z-index: 1;
    }
    .title-name { font-size: clamp(2.6rem, 7vw, 4rem); }

    .save-slots { gap: 12px; }
    .save-slot-card--empty {
      min-height: 128px; background: rgba(255, 251, 245, 0.5);
      gap: 8px; padding: 14px 12px;
    }
    .save-slot-card--empty .save-slot-empty-copy { display: none; }
    .save-slot-card--empty .save-slot-empty-label { font-size: 12px; opacity: 0.75; }

    @media (max-width: 640px) {
      .title-screen {
        justify-content: flex-start;
        padding: 10px 8px max(16px, env(safe-area-inset-bottom));
      }
      .title-screen__poster {
        width: 100%;
        max-width: 100%;
        padding: 16px 12px;
        border-radius: 20px;
        gap: 14px;
        margin: auto 0;
      }
      .title-screen__rail { display: none; }
      .title-logo { gap: 4px; }
      .title-name { font-size: clamp(2.25rem, 13vw, 3.25rem); }
      .title-tagline { font-size: 13px; }
      .save-slots {
        width: 100%;
        max-width: 100%;
        grid-template-columns: minmax(0, 1fr);
      }
      .save-slot-card,
      .save-slot-card--empty {
        width: 100%;
        min-width: 0;
        min-height: 116px;
      }
      .save-slot-actions { width: 100%; }
      .save-slot-btn,
      .freeplay-start-btn,
      .planner-start-btn { min-height: 44px; }
      .title-footer { gap: 12px; }
      .title-footer-actions,
      .title-modes { width: 100%; }
      .title-link-btn,
      .mode-card {
        width: 100%;
        min-width: 0;
        justify-content: center;
        white-space: normal;
        text-align: center;
      }
    }

    @media (prefers-reduced-motion: reduce) { .title-screen__sun, .title-cloud { animation: none; } }
