/* MLO shared styles: review-c
   Used by 5 pages (review). Moved out of the pages on 2026-11-07,
   identical in every copy, so one edit here changes them all. */
  /* On design-system/styles.css — every palette token matched the core, so the inline :root was dropped. */
  * { box-sizing: border-box; margin: 0; padding: 0; }
  html, body {
    min-height: 100vh;
    font-family: 'Andika', sans-serif;
    background: var(--night-deep);
    color: var(--cream);
    overflow-x: hidden;
  }
  body {
    background:
      radial-gradient(circle at 18% 15%, rgba(180,85,255,0.18), transparent 50%),
      radial-gradient(circle at 85% 70%, rgba(244,200,66,0.12), transparent 55%),
      linear-gradient(180deg, var(--night-deep) 0%, var(--royal) 50%, var(--night-deep) 100%);
    padding: 32px 24px 80px;
    position: relative;
  }
  .starfield {
    position: fixed; inset: 0; pointer-events: none; z-index: 0;
    background-image:
      radial-gradient(1px 1px at 12% 18%, rgba(244,200,66,0.7), transparent),
      radial-gradient(1.5px 1.5px at 22% 60%, rgba(180,85,255,0.5), transparent),
      radial-gradient(1px 1px at 60% 18%, rgba(244,200,66,0.5), transparent),
      radial-gradient(1.5px 1.5px at 78% 38%, rgba(77,208,193,0.4), transparent);
    background-size: 900px 900px; background-repeat: repeat;
  }
  .container { position: relative; z-index: 1; max-width: 1000px; margin: 0 auto; }

  .breadcrumb {
    display: flex; align-items: center; gap: 8px;
    margin-bottom: 28px; font-size: 13px;
    color: rgba(254,246,228,0.55); font-weight: 500;
  }
  .breadcrumb a { color: rgba(254,246,228,0.7); text-decoration: none; }
  .breadcrumb a:hover { color: var(--gold); }
  .breadcrumb-sep { opacity: 0.4; }

  .hero { margin-bottom: 36px; padding: 16px 0; }
  .hero-eyebrow {
    font-weight: 800; font-size: 13px; color: var(--magenta);
    letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 10px;
  }
  .hero-title {
    font-weight: 800; font-size: clamp(34px, 6vw, 54px);
    color: var(--cream); line-height: 1; margin-bottom: 12px;
  }
  .hero-title em { color: var(--pink-soft); font-style: italic; }
  .hero-sub { font-size: clamp(15px, 2vw, 18px); color: rgba(254,246,228,0.78); max-width: 640px; line-height: 1.55; }

  .section-title {
    font-weight: 800; font-size: 18px; color: var(--gold);
    margin: 8px 0 16px; display: flex; align-items: center; gap: 10px;
  }
  .section-title small { font-weight: 600; font-size: 13px; color: rgba(254,246,228,0.6); }

  /* === Recap gallery === */
  .recap {
    background: rgba(244,200,66,0.05);
    border: 1px solid rgba(244,200,66,0.2);
    border-radius: 20px;
    padding: 22px 24px;
    margin-bottom: 40px;
  }
  .vowel-group { margin-bottom: 22px; }
  .vowel-group:last-child { margin-bottom: 0; }
  .vowel-group-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
  .vowel-medallion {
    min-width: 52px; height: 52px; padding: 0 6px; box-sizing: border-box; border-radius: 14px;
    background: linear-gradient(135deg, var(--vc) 0%, var(--vc-dark) 100%);
    display: grid; place-items: center;
    font-weight: 800; font-size: 30px; color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.25);
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
    cursor: pointer; flex-shrink: 0; line-height: 1;
    transition: transform 0.15s ease;
  }
  /* Labels longer than two letters (hard c, soft g, air) widen the badge instead of spilling out. */
  .vowel-medallion.long { width: auto; min-width: 52px; padding: 0 12px; font-size: 21px; white-space: nowrap; }
  .vowel-medallion:hover { transform: scale(1.08) rotate(-3deg); }
  .vowel-group-label { font-weight: 800; font-size: 15px; color: var(--cream); }
  .vowel-group-label small { display:block; font-weight:600; font-size:12px; color: rgba(254,246,228,0.55); letter-spacing:0.06em; text-transform:uppercase; }
  .word-chips { display: flex; flex-wrap: wrap; gap: 10px; }
  .word-chip {
    display: inline-flex; align-items: center; gap: 8px;
    background: linear-gradient(135deg, #fff 0%, #fdecdc 100%);
    color: #4a2d8c;
    border: 2px solid transparent;
    border-radius: 14px;
    padding: 8px 14px;
    font-weight: 800; font-size: 20px; letter-spacing: 0.04em;
    cursor: pointer; transition: all 0.15s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  }
  .word-chip:hover { transform: translateY(-3px); border-color: var(--vc); box-shadow: 0 8px 18px rgba(0,0,0,0.4); }
  .word-chip:active { transform: translateY(0); }
  .word-chip .wc-pic { font-size: 26px; line-height: 1; }
  .word-chip .v { color: var(--vc-dark); }
  .recap-hint { font-size: 13px; color: rgba(254,246,228,0.6); margin-top: 4px; }

  /* === Game cards (reused .step pattern) === */
  .games { display: flex; flex-direction: column; gap: 12px; margin-bottom: 24px; }
  .step {
    background: rgba(255,255,255,0.04);
    border: 1.5px solid rgba(180,85,255,0.35);
    border-radius: 18px;
    padding: 20px 22px;
    text-decoration: none; color: var(--cream);
    transition: all 0.25s ease;
    display: flex; align-items: center; gap: 18px;
    cursor: pointer;
  }
  .step:hover {
    border-color: var(--magenta);
    background: rgba(180,85,255,0.08);
    transform: translateX(6px);
    box-shadow: 0 8px 22px rgba(180,85,255,0.2);
  }
  .step-num {
    flex: 0 0 52px; width: 52px; height: 52px;
    border-radius: 13px;
    background: rgba(180,85,255,0.18);
    border: 1.5px solid rgba(180,85,255,0.5);
    display: grid; place-items: center;
    font-size: 26px; color: var(--magenta);
  }
  .step-body { flex: 1; min-width: 0; }
  .step-kind {
    font-size: 11px; font-weight: 700; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--magenta); margin-bottom: 3px;
  }
  .step-name { font-weight: 700; font-size: clamp(16px, 2vw, 19px); color: var(--cream); line-height: 1.25; margin-bottom: 3px; }
  .step-meta { font-size: 13px; color: rgba(254,246,228,0.6); }
  .step-arrow { font-size: 20px; color: var(--magenta); opacity: 0.6; transition: all 0.2s; }
  .step:hover .step-arrow { opacity: 1; transform: translateX(4px); }

  .err {
    background: rgba(196,74,106,0.15);
    border: 1px solid rgba(196,74,106,0.4);
    color: var(--pink-soft);
    padding: 14px 18px; border-radius: 12px; text-align: center;
  }

  /* === Slideshow (full-screen, projector-friendly presentation) === */
  .ss-launch {
    margin-left: auto;
    background: var(--magenta); color: #fff; border: none;
    font-family: 'Andika', sans-serif; font-weight: 800; font-size: 14px;
    padding: 9px 18px; border-radius: 100px; cursor: pointer;
    box-shadow: 0 4px 0 #6f2bbf; transition: all 0.15s ease;
  }
  .ss-launch:hover { transform: translateY(-2px); box-shadow: 0 6px 0 #6f2bbf; }
  .ss-launch:active { transform: translateY(2px); box-shadow: 0 2px 0 #6f2bbf; }

  .slideshow { overflow-y: auto;
    position: fixed; inset: 0; z-index: 1000;
    display: none; flex-direction: column;
    align-items: center; justify-content: center;
    background:
      radial-gradient(circle at 50% 38%, rgba(var(--ss-rgb,180,85,255),0.28), transparent 60%),
      linear-gradient(180deg, var(--night-deep) 0%, var(--royal) 100%);
    padding: 24px;
  }
  .slideshow.show { display: flex; animation: fadeIn 0.3s ease; }
  @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
  .ss-close {
    position: absolute; top: 22px; right: 24px;
    width: 50px; height: 50px; border-radius: 50%;
    background: rgba(255,255,255,0.1); border: 1.5px solid rgba(255,255,255,0.25);
    color: var(--cream); font-size: 22px; cursor: pointer;
  }
  .ss-close:hover { background: rgba(255,255,255,0.2); }
  .ss-stage { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; }
  .ss-vowel-tag {
    font-weight: 800; font-size: clamp(15px, 2.4vw, 22px);
    color: #fff; background: linear-gradient(135deg, var(--ss-c, #f4c842) 0%, var(--ss-c-dark, #c89c1c) 100%);
    padding: 8px 22px; border-radius: 100px;
    text-transform: uppercase; letter-spacing: 0.06em;
    box-shadow: 0 6px 18px rgba(0,0,0,0.3);
  }
  .ss-emoji {
    font-size: clamp(200px, 42vw, 460px); line-height: 1;
    filter: drop-shadow(0 16px 40px rgba(0,0,0,0.5));
    animation: ssPop 0.4s cubic-bezier(0.34,1.56,0.64,1);
  }
  @keyframes ssPop { 0% { transform: scale(0.6); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
  .ss-emoji .vimg { width: 1.3em; height: 1.3em; }
  .ss-word {
    font-weight: 800; font-size: clamp(64px, 15vw, 180px); line-height: 1;
    color: var(--cream); letter-spacing: 0.06em;
    text-shadow: 0 6px 0 rgba(0,0,0,0.25);
  }
  .ss-word .v { color: var(--ss-c, var(--gold)); }
  .ss-replay {
    margin-top: 6px;
    background: rgba(255,255,255,0.1); border: 1.5px solid rgba(244,200,66,0.4);
    color: var(--cream); font-family: 'Andika', sans-serif; font-weight: 700; font-size: 15px;
    padding: 10px 22px; border-radius: 100px; cursor: pointer;
  }
  .ss-replay:hover { background: rgba(244,200,66,0.15); border-color: var(--gold); }
  .ss-controls {
    display: flex; align-items: center; gap: 22px; margin-top: 24px;
  }
  .ss-nav, .ss-auto {
    background: var(--gold); color: var(--night-deep);
    border: none; font-family: 'Andika', sans-serif; font-weight: 800; font-size: 18px;
    padding: 12px 24px; border-radius: 100px; cursor: pointer;
    box-shadow: 0 5px 0 #c89c1c; transition: all 0.12s ease;
  }
  .ss-nav:hover:not(:disabled), .ss-auto:hover { transform: translateY(-2px); box-shadow: 0 7px 0 #c89c1c; }
  .ss-nav:active:not(:disabled), .ss-auto:active { transform: translateY(3px); box-shadow: 0 2px 0 #c89c1c; }
  .ss-nav:disabled { opacity: 0.35; cursor: not-allowed; }
  .ss-auto.on { background: var(--magenta); color: #fff; box-shadow: 0 5px 0 #6f2bbf; }
  .ss-counter { font-weight: 800; font-size: 18px; color: rgba(254,246,228,0.85); min-width: 64px; text-align: center; }

  /* vimg-fallback: our own vocab PNGs, with emoji/text fallback until they exist */
  .vimg{display:inline-block;width:1em;height:1em;object-fit:contain;vertical-align:middle;}
  .vemoji{display:inline-block;line-height:1;}
  .vword{display:inline-block;font-size:.26em;font-weight:800;line-height:1.15;padding:.18em .35em;border-radius:.3em;background:rgba(255,255,255,.14);color:var(--cream);text-transform:lowercase;letter-spacing:.02em;}
