/* =========================================================================
   WARM-UP · 热身 · Sentence-builder teacher tool
   Teacher host page has the full library + sentence stage. Player phone
   has a read-only mirror of the current sentence. Every word card carries
   its category color (--cat-color) so pinyin + Spanish translation share
   colors and reveal sentence structure at a glance.
   ========================================================================= */

/* ============================ HOST PAGE ============================ */
body.wu-bg {
  background:
    radial-gradient(ellipse 70% 50% at 50% 0%, rgba(91, 232, 209, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 80% 70% at 50% 100%, rgba(91, 141, 239, 0.16) 0%, transparent 60%),
    linear-gradient(180deg, #1a2238 0%, #0f1626 50%, #080d18 100%);
  color: #e7faff;
}
body.wu-bg::before {
  content: '';
  position: fixed; inset: 0;
  background: repeating-linear-gradient(45deg,
    rgba(255, 255, 255, 0) 0px,
    rgba(255, 255, 255, 0) 28px,
    rgba(91, 232, 209, 0.02) 28px,
    rgba(91, 232, 209, 0.02) 30px);
  pointer-events: none;
  z-index: 1;
}
body.wu-bg .container { position: relative; z-index: 2; }
body.wu-bg .market-banner {
  background: linear-gradient(90deg, #1a3a4a, #1f4a5a, #1a3a4a);
  border: 2px solid #5be8d1;
  color: #e7faff;
  text-shadow: 0 0 12px rgba(91, 232, 209, 0.6);
  box-shadow: 0 0 28px rgba(91, 232, 209, 0.4);
}

/* === Admin gate === */
.wu-gate {
  min-height: 100dvh;
  display: flex !important;
  align-items: center;
  justify-content: center;
}
.wu-gate-card {
  background: rgba(15, 22, 38, 0.92);
  border: 3px solid #5be8d1;
  border-radius: 18px;
  padding: 32px;
  text-align: center;
  max-width: 380px;
  width: 90%;
  box-shadow: 0 0 38px rgba(91, 232, 209, 0.4);
}
.wu-gate-icon { font-size: 4rem; margin-bottom: 6px; }
.wu-gate-title { font-size: 1.6rem; font-weight: 900; margin: 6px 0; color: #5be8d1; text-shadow: 0 0 14px rgba(91, 232, 209, 0.6); }
.wu-gate-sub { color: rgba(220, 235, 245, 0.7); font-size: 0.95rem; margin-bottom: 16px; }
.wu-gate-input {
  width: 100%;
  margin-bottom: 14px;
  text-align: center;
  font-size: 1.2rem;
  letter-spacing: 0.1em;
}

/* === Active sentence-builder layout === */
.wu-active {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 14px;
  max-width: 1400px;
  margin: 0 auto;
  min-height: 100dvh;
}
.wu-active-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 8px;
}
.wu-active-meta {
  display: flex; align-items: center; gap: 14px;
  font-weight: 900;
}
.wu-active-label { color: #5be8d1; font-size: 1.1rem; text-shadow: 0 0 10px rgba(91, 232, 209, 0.5); }
.wu-active-pin { color: rgba(220, 235, 245, 0.85); font-size: 0.9rem; letter-spacing: 0.05em; }
.wu-active-pin strong { color: #ffe66a; font-size: 1.1rem; }

/* === SENTENCE STAGE — the big construction area === */
.wu-stage {
  background:
    linear-gradient(135deg, rgba(40, 60, 90, 0.55), rgba(20, 30, 50, 0.65)),
    radial-gradient(ellipse at 50% 0%, rgba(91, 232, 209, 0.10), transparent 70%);
  border: 3px solid rgba(91, 232, 209, 0.55);
  border-radius: 18px;
  padding: 22px 18px 18px;
  position: relative;
  min-height: 220px;
  box-shadow: inset 0 0 28px rgba(0, 0, 0, 0.45), 0 0 26px rgba(91, 232, 209, 0.2);
}
.wu-stage-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  align-items: center;
  min-height: 84px;
}
.wu-stage-empty {
  text-align: center;
  color: rgba(220, 235, 245, 0.55);
  font-style: italic;
  font-size: 1.1rem;
  margin-top: 30px;
}
/* === Stage action row — Undo / Rearrange / Clear === */
.wu-stage-actions {
  position: absolute;
  top: 8px; right: 8px;
  display: flex; gap: 6px;
  flex-wrap: wrap;
}
.wu-stage-actions .btn {
  font-size: 0.78rem !important;
  padding: 5px 10px !important;
}
.wu-undo-btn, .wu-rearrange-btn, .wu-save-current-btn {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(91, 232, 209, 0.5) !important;
  color: #5be8d1 !important;
}
.wu-save-current-btn {
  border-color: #ffd57a !important;
  color: #ffe66a !important;
  background: rgba(255, 213, 122, 0.12) !important;
}
.wu-rearrange-btn.active {
  background: #5be8d1 !important;
  color: #0a1320 !important;
  box-shadow: 0 0 14px rgba(91, 232, 209, 0.55) !important;
}

/* === Swap-selected highlight on the staged word === */
.wu-stage-word.rearrange-mode {
  cursor: pointer;
  position: relative;
}
.wu-stage-word.rearrange-mode::before {
  content: '🔀';
  position: absolute;
  top: -6px; right: -6px;
  font-size: 0.9rem;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.6));
}
.wu-stage-word.swap-selected {
  background: rgba(91, 232, 209, 0.25) !important;
  border-color: #5be8d1 !important;
  box-shadow: 0 0 22px rgba(91, 232, 209, 0.9) !important;
  animation: wu-swap-pulse 0.9s ease-in-out infinite;
}
@keyframes wu-swap-pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.06); }
}

/* Player phone admin tools — additional buttons */
.wu-player-admin-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.wu-player-admin-undo,
.wu-player-admin-rearrange,
.wu-player-admin-save {
  background: rgba(91, 232, 209, 0.15);
  border: 2px solid #5be8d1;
  color: #5be8d1;
  font-family: inherit;
  font-weight: 900;
  padding: 5px 10px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.78rem;
}
.wu-player-admin-save {
  background: rgba(255, 213, 122, 0.18);
  border-color: #ffd57a;
  color: #ffe66a;
}
.wu-player-admin-rearrange.active {
  background: #5be8d1;
  color: #0a1320;
  box-shadow: 0 0 12px rgba(91, 232, 209, 0.55);
}

/* Same swap visuals on player-side word */
.wu-player-word.rearrange-mode {
  cursor: pointer;
  position: relative;
}
.wu-player-word.rearrange-mode::before {
  content: '🔀';
  position: absolute;
  top: -6px; right: -6px;
  font-size: 0.85rem;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.6));
}
.wu-player-word.swap-selected {
  background: rgba(91, 232, 209, 0.25);
  border-color: #5be8d1 !important;
  box-shadow: 0 0 22px rgba(91, 232, 209, 0.9);
  animation: wu-swap-pulse 0.9s ease-in-out infinite;
}

/* === History item polish — date + delete button === */
.wu-history-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
  gap: 8px;
}
.wu-history-item-meta {
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: rgba(220, 235, 245, 0.75);
  font-weight: 800;
  margin-bottom: 0;
}
.wu-history-item-delete {
  background: rgba(255, 90, 102, 0.15);
  border: 2px solid rgba(255, 90, 102, 0.55);
  color: #ff8a96;
  width: 32px; height: 32px;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  font-family: inherit;
  flex-shrink: 0;
}
.wu-history-item-delete:active { transform: scale(0.9); }

/* Each placed pinyin word — gets the category color */
.wu-stage-word {
  background: rgba(0, 0, 0, 0.4);
  border: 3px solid var(--cat-color, #fff);
  color: var(--cat-color, #fff);
  border-radius: 14px;
  padding: 10px 14px;
  display: flex; flex-direction: column;
  align-items: center; gap: 2px;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.15s ease, filter 0.15s;
  box-shadow: 0 0 16px rgba(91, 232, 209, 0.15);
}
.wu-stage-word:hover { transform: translateY(-2px); filter: brightness(1.2); }
.wu-stage-word:active { transform: scale(0.95); }
.wu-sw-icon { font-size: 1.5rem; line-height: 1; }
.wu-sw-pinyin { font-size: 1.45rem; font-weight: 900; letter-spacing: 0.02em; text-shadow: 0 0 10px currentColor; }
.wu-sw-hanzi { font-size: 1.1rem; font-weight: 700; opacity: 0.85; }
/* Spanish translation row — same color, smaller pill */
.wu-stage-es {
  margin-top: 6px;
}
.wu-stage-es-word {
  background: rgba(255, 255, 255, 0.06);
  border: 2px solid var(--cat-color, #fff);
  color: var(--cat-color, #fff);
  border-radius: 10px;
  padding: 4px 12px;
  font-weight: 800;
  font-size: 1rem;
  min-height: 32px;
  display: flex; align-items: center;
  text-shadow: 0 0 6px currentColor;
}

/* === Toolbar — view-mode toggle + preset save/load === */
.wu-toolbar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  background: rgba(15, 22, 38, 0.65);
  border: 2px solid rgba(91, 232, 209, 0.3);
  border-radius: 12px;
  padding: 8px 12px;
}
.wu-vm-group, .wu-preset-group {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.wu-vm-label {
  font-size: 0.85rem;
  font-weight: 800;
  color: rgba(220, 235, 245, 0.7);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-right: 4px;
}
.wu-vm-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 2px solid rgba(91, 232, 209, 0.4);
  color: #d6e6f2;
  padding: 6px 12px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.85rem;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: 0.02em;
  transition: background 0.15s, color 0.15s;
}
.wu-vm-btn:hover { background: rgba(91, 232, 209, 0.15); }
.wu-vm-btn.active {
  background: #5be8d1;
  color: #0a1320;
  border-color: #5be8d1;
  box-shadow: 0 0 12px rgba(91, 232, 209, 0.45);
}
.wu-preset-select {
  background: rgba(255, 255, 255, 0.06);
  border: 2px solid rgba(91, 232, 209, 0.4);
  color: #d6e6f2;
  padding: 6px 10px;
  border-radius: 10px;
  font-weight: 700;
  font-family: inherit;
  font-size: 0.85rem;
  max-width: 200px;
}

/* === Experience tab strip === */
.wu-exp-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  padding: 0 6px;
  margin-top: 2px;
}
.wu-exp-tab {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(91, 232, 209, 0.35);
  color: #5be8d1;
  padding: 5px 10px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.85rem;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: 0.02em;
}
.wu-exp-tab.active {
  background: #5be8d1;
  color: #0a1320;
  box-shadow: 0 0 12px rgba(91, 232, 209, 0.5);
}

/* === Word library === */
.wu-library {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-bottom: 40px;
}
.wu-lib-section-title {
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 0;
  margin-bottom: 6px;
  border-bottom: 2px solid;
}
.wu-lib-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 8px;
}
.wu-lib-card {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid var(--cat-color, #aaa);
  border-radius: 12px;
  padding: 10px 8px;
  display: flex; flex-direction: column;
  align-items: center; gap: 2px;
  cursor: pointer;
  font-family: inherit;
  color: inherit;
  transition: transform 0.12s ease, background 0.15s, box-shadow 0.15s;
  text-align: center;
}
.wu-lib-card:hover {
  background: rgba(255, 255, 255, 0.10);
  box-shadow: 0 0 14px var(--cat-color, #aaa);
  transform: translateY(-2px);
}
.wu-lib-card:active { transform: scale(0.95); }
.wu-lib-icon  { font-size: 1.4rem; line-height: 1; }
.wu-lib-pic {
  width: 84px; height: 84px;
  object-fit: contain;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.55));
}
.wu-lib-pic.missing { display: none; }
.wu-lib-pinyin { font-size: 1.1rem; font-weight: 900; color: var(--cat-color, #fff); text-shadow: 0 0 8px var(--cat-color, transparent); }
.wu-lib-hanzi { font-size: 0.95rem; font-weight: 700; color: #fff; opacity: 0.85; }
.wu-lib-es { font-size: 0.75rem; font-style: italic; opacity: 0.75; }

/* Picture in the stage word card — BIGGER so a 5-8 word sentence stays
   the centerpiece of the board (user feedback: "they're too freaking small"). */
.wu-sw-pic {
  width: clamp(110px, 14vmin, 160px); height: clamp(110px, 14vmin, 160px);
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.6));
}
.wu-sw-pic.missing { display: none; }
.wu-stage-word.picture-only .wu-sw-pic { width: clamp(160px, 22vmin, 240px); height: clamp(160px, 22vmin, 240px); }

/* Picture in the player phone word */
.wu-pw-pic {
  width: clamp(78px, 18vmin, 130px); height: clamp(78px, 18vmin, 130px);
  object-fit: contain;
  filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.55));
}
.wu-pw-pic.missing { display: none; }
.wu-player-word.picture-only .wu-pw-pic { width: clamp(130px, 26vmin, 200px); height: clamp(130px, 26vmin, 200px); }

/* ============================ PLAYER PHONE ============================ */
.wu-player-screen {
  display: flex !important;
  flex-direction: column;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(91, 232, 209, 0.20) 0%, transparent 60%),
    radial-gradient(ellipse 90% 80% at 50% 100%, rgba(91, 141, 239, 0.18) 0%, transparent 60%),
    linear-gradient(180deg, #1a2238 0%, #0f1626 50%, #080d18 100%);
  color: #e7faff;
  padding: 16px 14px;
  padding-bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  gap: 14px;
  min-height: 100dvh;
  user-select: none;
  font-family: 'Nunito', sans-serif;
  text-align: center;
}
.wu-player-screen.hidden { display: none !important; }
.wu-player-header {
  display: flex; flex-direction: column;
  gap: 4px;
}
.wu-player-tag {
  font-size: 1.2rem;
  font-weight: 900;
  color: #5be8d1;
  text-shadow: 0 0 14px rgba(91, 232, 209, 0.6);
  letter-spacing: 0.05em;
}
.wu-player-sub {
  font-size: 0.85rem;
  font-style: italic;
  color: rgba(220, 235, 245, 0.7);
}
.wu-player-id-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}
.wu-player-code-chip {
  background: rgba(91, 232, 209, 0.15);
  border: 2px solid #5be8d1;
  color: #5be8d1;
  padding: 4px 12px;
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: 0.12em;
  font-size: 0.9rem;
}
.wu-player-code-chip #wu-player-code {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  margin-left: 2px;
}
.wu-player-history-btn {
  background: rgba(255, 213, 122, 0.18);
  border: 2px solid #ffd57a;
  color: #ffe66a;
  padding: 5px 14px;
  border-radius: 10px;
  font-family: inherit;
  font-weight: 900;
  font-size: 0.85rem;
  cursor: pointer;
  letter-spacing: 0.03em;
}
.wu-player-history-btn:active { transform: scale(0.94); }

/* ═══════════════════════════════════════════════════════════════════
 * 📜 MIS ORACIONES — full-screen sentence library
 *   Fernando 2026-06-04: "This is the main language essence. Make it
 *   bigger, full screen, beautiful, scale perfectly."
 *
 *   Layout decisions:
 *   - .wu-history-modal is now a full-viewport sheet, not a modal.
 *     Background fades over the page; the sheet itself is opaque so
 *     the kid focuses entirely on their collection.
 *   - .wu-history-sheet is the scrollable inner column. Max-width
 *     1100px so it doesn't sprawl on 4K monitors but goes edge-to-edge
 *     on phones.
 *   - Sticky hero header with a big ← back chip + title + counts.
 *   - Tabs are sticky right under the hero so flipping between
 *     "✍️ Mías" and "📤 De la maestra" doesn't lose your place.
 *   - Cards are a responsive grid: 1 col on phone, 2 on tablet,
 *     3 on desktop wide. Each card shows date, words (with hanzi +
 *     pinyin + icon stacked), 🔊 Escuchar button, 🗑 delete.
 * ═══════════════════════════════════════════════════════════════════ */
.wu-history-modal {
  position: fixed;
  inset: 0;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  background:
    radial-gradient(1200px 600px at 50% -10%, rgba(255, 210, 74, 0.10), transparent 70%),
    linear-gradient(160deg, #1a2540 0%, #0e1426 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
  overflow: hidden;
}
.wu-history-modal.hidden { display: none !important; }
.wu-history-modal.show   { opacity: 1; }
.wu-history-sheet {
  flex: 1;
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px clamp(14px, 4vw, 28px) 32px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.wu-history-hero {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 6px 0 14px;
  position: sticky;
  top: 0;
  z-index: 3;
  background: linear-gradient(180deg, rgba(14, 20, 38, 0.96) 0%, rgba(14, 20, 38, 0.85) 75%, rgba(14, 20, 38, 0) 100%);
  backdrop-filter: blur(4px);
}
.wu-history-back {
  width: 46px; height: 46px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.18);
  color: #fff5d8;
  font-size: 1.5rem;
  font-weight: 900;
  cursor: pointer;
  touch-action: manipulation;
  flex: 0 0 auto;
  transition: background 120ms ease, transform 120ms ease;
}
.wu-history-back:hover  { background: rgba(255, 255, 255, 0.14); }
.wu-history-back:active { transform: scale(0.94); background: rgba(255, 255, 255, 0.22); }
.wu-history-hero-text { min-width: 0; flex: 1; }
.wu-history-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(1.4rem, 4.2vw, 2.1rem);
  font-weight: 900;
  color: #ffd166;
  margin: 0;
  line-height: 1.1;
  text-shadow: 0 0 18px rgba(255, 209, 102, 0.35);
  letter-spacing: 0.02em;
}
.wu-history-sub {
  color: rgba(243, 230, 194, 0.78);
  font-size: clamp(0.85rem, 2.6vw, 0.95rem);
  font-weight: 600;
  margin-top: 6px;
  line-height: 1.5;
}
.wu-history-sub strong { color: #fff5d8; }
.wu-history-code-chip {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(91, 232, 209, 0.15);
  color: #5be8d1;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.03em;
}
.wu-history-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.wu-history-empty {
  text-align: center;
  padding: 60px 24px;
  color: rgba(220, 235, 245, 0.65);
  font-style: italic;
  font-size: 1rem;
  line-height: 1.5;
}

/* Tabs — sticky, sized for thumbs, count chips for at-a-glance */
.wu-history-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
  position: sticky;
  top: 70px;
  z-index: 2;
  padding: 4px 0;
  background: linear-gradient(180deg, rgba(14, 20, 38, 0.96) 0%, rgba(14, 20, 38, 0.6) 80%, rgba(14, 20, 38, 0) 100%);
}
.wu-history-tab {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  color: rgba(220, 235, 245, 0.7);
  border-radius: 14px;
  padding: 12px 10px;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  touch-action: manipulation;
  transition: background 120ms ease, transform 120ms ease, border-color 120ms ease;
}
.wu-history-tab:active { transform: scale(0.97); }
.wu-history-tab.is-active {
  background: linear-gradient(135deg, rgba(255, 200, 110, 0.22), rgba(255, 90, 102, 0.16));
  border-color: rgba(255, 200, 110, 0.7);
  color: #fff5d8;
  box-shadow: 0 0 16px rgba(255, 200, 110, 0.22);
}
.wu-history-tab-n {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  color: #ffe082;
  font-size: 0.9rem;
  font-weight: 900;
}

/* The card grid — 1 col phone, 2 col tablet, 3 col big screen.
   Each card is its own little book page. */
.wu-history-tab-body {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 760px) {
  .wu-history-tab-body { grid-template-columns: 1fr 1fr; gap: 18px; }
}
@media (min-width: 1140px) {
  .wu-history-tab-body { grid-template-columns: 1fr 1fr 1fr; }
}

.wu-history-item {
  background: linear-gradient(160deg, rgba(40, 50, 80, 0.78), rgba(22, 28, 48, 0.92));
  border-radius: 18px;
  border-left: 6px solid #ffd166;
  padding: 16px 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  transition: transform 150ms ease, box-shadow 150ms ease;
}
.wu-history-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
}
.wu-history-item.is-from-teacher {
  border-left-color: #5be88a;
  background: linear-gradient(160deg, rgba(40, 75, 55, 0.7), rgba(22, 38, 28, 0.92));
}
.wu-history-item-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.wu-history-item-meta {
  font-size: 0.92rem;
  color: rgba(243, 230, 194, 0.85);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}
.wu-history-item-meta strong { color: #fff5d8; font-weight: 900; }
.wu-history-from-teacher {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(91, 232, 138, 0.2);
  color: #5be88a;
  font-size: 0.78rem;
  font-weight: 900;
}
.wu-history-item-delete {
  background: rgba(255, 90, 102, 0.12);
  border: 2px solid rgba(255, 90, 102, 0.4);
  color: #ff9a8a;
  width: 38px; height: 38px;
  border-radius: 12px;
  font-size: 1rem;
  cursor: pointer;
  font-family: inherit;
  flex-shrink: 0;
  touch-action: manipulation;
}
.wu-history-item-delete:active { transform: scale(0.92); background: rgba(255, 90, 102, 0.25); }

.wu-history-item-words {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.wu-hist-word {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  background: rgba(255, 255, 255, 0.06);
  border: 2px solid var(--cat-color, rgba(255, 245, 216, 0.4));
  color: #fff5d8;
  border-radius: 12px;
  padding: 8px 10px;
  min-width: 64px;
  font-family: inherit;
  cursor: pointer;
  touch-action: manipulation;
  transition: background 120ms ease, transform 100ms ease;
}
.wu-hist-word:active { transform: scale(0.94); background: rgba(255, 255, 255, 0.14); }
.wu-hist-icon {
  font-size: 1.5rem;
  line-height: 1;
}
.wu-hist-hanzi {
  font-family: 'Noto Sans SC', 'Noto Sans CJK SC', 'PingFang SC', 'Microsoft YaHei', system-ui, serif;
  font-weight: 900;
  font-size: 1.2rem;
  line-height: 1.05;
  color: var(--cat-color, #fff5d8);
  text-shadow: 0 0 6px rgba(0, 0, 0, 0.6);
}
.wu-hist-pinyin {
  font-weight: 800;
  font-size: 0.92rem;
  line-height: 1;
  color: var(--cat-color, #fff5d8);
}
.wu-hist-es {
  font-size: 0.74rem;
  font-style: italic;
  color: rgba(243, 230, 194, 0.6);
  line-height: 1;
}

.wu-history-item-actions {
  display: flex;
  gap: 8px;
  margin-top: 2px;
}
.wu-history-listen {
  flex: 1;
  background: linear-gradient(135deg, #ffb46b, #ff7e5f);
  color: #2a1500;
  border: none;
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 900;
  font-size: 0.98rem;
  cursor: pointer;
  touch-action: manipulation;
  box-shadow: 0 4px 14px rgba(255, 126, 95, 0.32);
  transition: transform 100ms ease, box-shadow 150ms ease;
}
.wu-history-listen:active { transform: scale(0.97); }
.wu-history-listen.speaking {
  animation: wuHistListenPulse 0.75s ease-in-out infinite;
}
@keyframes wuHistListenPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 4px 14px rgba(255, 126, 95, 0.32); }
  50%      { transform: scale(1.04); box-shadow: 0 6px 20px rgba(255, 126, 95, 0.5); }
}

/* 🆕 2026-06-04 — Category filter chips on the "De la maestra" tab.
   Horizontal-scrolling bar so any number of categories fits without
   wrapping awkwardly on phone width. */
.wu-history-catbar {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  padding-bottom: 4px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
}
.wu-history-catbar::-webkit-scrollbar { height: 4px; }
.wu-history-catbar::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 999px; }
.wu-history-cat-chip {
  flex: 0 0 auto;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid var(--cat-color, rgba(255, 255, 255, 0.18));
  color: var(--cat-color, rgba(243, 230, 194, 0.7));
  border-radius: 999px;
  padding: 8px 14px;
  font-weight: 800;
  font-size: 0.9rem;
  cursor: pointer;
  touch-action: manipulation;
  scroll-snap-align: start;
  white-space: nowrap;
  transition: background 120ms ease, transform 120ms ease;
}
.wu-history-cat-chip:active { transform: scale(0.96); }
.wu-history-cat-chip.is-active {
  background: var(--cat-color, rgba(255, 200, 110, 0.3));
  color: #1a1a1a;
  box-shadow: 0 0 12px color-mix(in srgb, var(--cat-color, #ffc874) 60%, transparent);
}
.wu-history-cat-n {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 8px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  color: inherit;
  font-size: 0.78rem;
  font-weight: 900;
}

/* Category pill on the card meta line — small color-tinted badge */
.wu-history-cat-pill {
  display: inline-block;
  margin-left: 4px;
  padding: 2px 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--cat-color, #fff) 18%, transparent);
  border: 1px solid color-mix(in srgb, var(--cat-color, #fff) 60%, transparent);
  color: var(--cat-color, #fff5d8);
  font-size: 0.78rem;
  font-weight: 800;
}
.wu-player-stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  justify-content: center;
  align-items: center;
  background:
    linear-gradient(135deg, rgba(40, 60, 90, 0.55), rgba(20, 30, 50, 0.65));
  border: 3px solid rgba(91, 232, 209, 0.55);
  border-radius: 18px;
  padding: 18px 14px;
  box-shadow: inset 0 0 28px rgba(0, 0, 0, 0.45);
  min-height: 240px;
}
.wu-player-stage-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}
.wu-player-stage-empty {
  text-align: center;
  color: rgba(220, 235, 245, 0.55);
  font-style: italic;
  font-size: 1rem;
}
.wu-player-word {
  background: rgba(0, 0, 0, 0.4);
  border: 2px solid var(--cat-color, #fff);
  color: var(--cat-color, #fff);
  border-radius: 12px;
  padding: 8px 12px;
  display: flex; flex-direction: column;
  align-items: center; gap: 0;
  animation: wu-word-pop 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes wu-word-pop {
  0%   { transform: scale(0.5); opacity: 0; }
  60%  { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}
.wu-pw-icon { font-size: clamp(1rem, 4vmin, 1.3rem); line-height: 1; }
.wu-pw-pinyin { font-size: clamp(1.1rem, 4.6vmin, 1.4rem); font-weight: 900; text-shadow: 0 0 10px currentColor; }
.wu-pw-hanzi  { font-size: clamp(0.85rem, 3.4vmin, 1.05rem); font-weight: 700; opacity: 0.85; }

.wu-player-es-word {
  background: rgba(255, 255, 255, 0.06);
  border: 2px solid var(--cat-color, #fff);
  color: var(--cat-color, #fff);
  border-radius: 10px;
  padding: 4px 10px;
  font-weight: 800;
  font-size: clamp(0.85rem, 3.4vmin, 1.05rem);
  text-shadow: 0 0 6px currentColor;
}
.wu-player-hint {
  font-size: 0.85rem;
  font-style: italic;
  color: rgba(220, 235, 245, 0.65);
  text-align: center;
  margin-top: 4px;
}
.wu-player-hint strong {
  color: #ffe66a;
  font-style: normal;
  font-weight: 900;
}

/* === MODO CURIOSO — host toggle button === */
.wu-curious-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  background: rgba(15, 22, 38, 0.55);
  border: 2px dashed rgba(255, 230, 106, 0.4);
  border-radius: 12px;
  padding: 10px 14px;
}
.wu-curious-btn {
  background: linear-gradient(135deg, #5be8d1, #2dd4bf);
  color: #0a1320;
  border: 3px solid #5be8d1;
  border-radius: 14px;
  padding: 10px 22px;
  font-family: inherit;
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  box-shadow: 0 0 18px rgba(91, 232, 209, 0.4);
  transition: transform 0.12s, box-shadow 0.15s, filter 0.15s;
}
.wu-curious-btn:hover { transform: translateY(-2px); box-shadow: 0 0 26px rgba(91, 232, 209, 0.7); }
.wu-curious-btn:active { transform: scale(0.96); }
.wu-curious-btn.active {
  background: linear-gradient(135deg, #ffe66a, #f5b14a);
  color: #381900;
  border-color: #ffe66a;
  box-shadow: 0 0 22px rgba(255, 230, 106, 0.7);
}
.wu-curious-hint {
  flex: 1;
  font-size: 0.85rem;
  color: rgba(220, 235, 245, 0.75);
  font-style: italic;
}

/* === HOST ROSTER (active screen) — grant/revoke asistente buttons === */
.wu-roster-section {
  background: rgba(15, 22, 38, 0.55);
  border: 2px dashed rgba(255, 213, 122, 0.4);
  border-radius: 12px;
  padding: 10px 14px;
}
.wu-roster-title {
  font-size: 0.95rem;
  font-weight: 900;
  color: #ffe66a;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
  display: flex; align-items: baseline; gap: 10px;
  flex-wrap: wrap;
}
.wu-roster-sub {
  font-size: 0.78rem;
  font-style: italic;
  color: rgba(220, 235, 245, 0.7);
  font-weight: 700;
  letter-spacing: 0;
}
.wu-roster-list {
  display: grid;
  /* Bumped from 220px → 300px so the 3 action buttons + name all fit. With
     the old minimum the name flex-shrunk down to a single letter. */
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 6px;
  margin-top: 8px;
}
.wu-roster-empty {
  font-style: italic;
  color: rgba(220, 235, 245, 0.55);
  padding: 8px;
}
.wu-roster-row {
  display: flex;
  align-items: center;
  /* flex-wrap so the 3 buttons (grant + pause + judge) drop to a second
     line when the row is narrow, instead of squishing the name to 1 letter. */
  flex-wrap: wrap;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 6px 10px;
  transition: background 0.15s, border-color 0.15s;
}
.wu-roster-row.is-delegate {
  background: rgba(255, 230, 106, 0.18);
  border-color: #ffe66a;
  box-shadow: 0 0 12px rgba(255, 230, 106, 0.4);
}
.wu-roster-avatar { font-size: 1.4rem; line-height: 1; }
.wu-roster-name {
  flex: 1 1 140px;       /* shrink down to ~140px before wrapping buttons */
  min-width: 140px;       /* keep enough space to show a full name */
  font-weight: 800;
  color: #fff5d8;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-size: 0.95rem;
}
/* Buttons stay their natural width — never shrink to a single letter. */
.wu-roster-btn, .wu-roster-pause-btn, .wu-roster-judge-btn { flex: 0 0 auto; }
.wu-roster-btn {
  background: rgba(91, 232, 209, 0.18);
  border: 2px solid #5be8d1;
  color: #5be8d1;
  font-family: inherit;
  font-weight: 900;
  font-size: 0.8rem;
  padding: 5px 10px;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
}
.wu-roster-btn.revoke {
  background: rgba(255, 90, 102, 0.18);
  border-color: #ff5a66;
  color: #ff8a96;
}
.wu-roster-btn:active { transform: scale(0.95); }

/* === PLAYER ADMIN TOOLS (only when delegated) === */
.wu-player-admin {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
  background: rgba(255, 230, 106, 0.10);
  border: 2px dashed #ffe66a;
  border-radius: 14px;
  padding: 10px;
  animation: wu-player-admin-in 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.wu-player-admin.hidden { display: none; }
@keyframes wu-player-admin-in {
  0%   { transform: scale(0.85); opacity: 0; }
  60%  { transform: scale(1.04); }
  100% { transform: scale(1); opacity: 1; }
}
.wu-player-admin-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
}
.wu-player-admin-tag {
  background: linear-gradient(135deg, #ffe66a, #f5b14a);
  color: #381900;
  font-weight: 900;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  box-shadow: 0 0 12px rgba(255, 230, 106, 0.55);
}
.wu-player-admin-clear {
  background: rgba(255, 90, 102, 0.18);
  border: 2px solid #ff5a66;
  color: #ff8a96;
  font-family: inherit;
  font-weight: 900;
  padding: 5px 10px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.8rem;
}
.wu-player-exp-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: center;
}
.wu-pl-exp-tab {
  background: rgba(255, 255, 255, 0.06);
  border: 2px solid rgba(91, 232, 209, 0.35);
  color: #5be8d1;
  padding: 4px 9px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.78rem;
  cursor: pointer;
  font-family: inherit;
}
.wu-pl-exp-tab.active {
  background: #5be8d1;
  color: #0a1320;
}
.wu-player-library {
  max-height: 50vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: flex; flex-direction: column;
  gap: 10px;
  padding: 4px;
}
.wu-pl-lib-title {
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffe66a;
  border-bottom: 2px solid #ffe66a;
  padding-bottom: 2px;
  margin-bottom: 4px;
}
.wu-pl-lib-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 6px;
}
.wu-pl-lib-card {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid var(--cat-color, #aaa);
  border-radius: 10px;
  padding: 8px 6px;
  display: flex; flex-direction: column;
  align-items: center; gap: 1px;
  font-family: inherit;
  color: inherit;
  text-align: center;
  cursor: pointer;
}
.wu-pl-lib-card:active { transform: scale(0.94); }
.wu-pl-icon { font-size: 1.2rem; line-height: 1; }
.wu-pl-pinyin { font-size: 0.92rem; font-weight: 900; color: var(--cat-color, #fff); text-shadow: 0 0 6px var(--cat-color, transparent); }
.wu-pl-hanzi  { font-size: 0.85rem; font-weight: 700; color: #fff; opacity: 0.85; }
.wu-pl-es     { font-size: 0.66rem; font-style: italic; opacity: 0.75; }

/* Tappable word styling — only when curious mode is on */
.wu-player-word.curious-tappable {
  cursor: pointer;
  background: rgba(255, 255, 255, 0.10);
  box-shadow: 0 0 14px var(--cat-color, transparent);
  animation: wu-cur-pulse 1.6s ease-in-out infinite;
}
@keyframes wu-cur-pulse {
  0%, 100% { box-shadow: 0 0 10px var(--cat-color, transparent); }
  50%      { box-shadow: 0 0 22px var(--cat-color, transparent); }
}
.wu-player-word.curious-tappable:active { transform: scale(0.95); }

/* === 🔍 POKÉDEX OVERLAY === */
.wu-pokedex {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.25s;
}
.wu-pokedex.hidden { display: none !important; }
.wu-pokedex.show { opacity: 1; }
.wu-pokedex-close {
  position: fixed;
  top: calc(env(safe-area-inset-top, 0px) + 14px);
  right: 14px;
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #e7faff;
  width: 44px; height: 44px;
  font-size: 1.2rem;
  font-weight: 900;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10000;
}
.wu-pokedex-card {
  background: linear-gradient(160deg, rgba(40, 60, 100, 0.95), rgba(20, 30, 60, 0.98));
  border: 4px solid var(--cat-color, #5be8d1);
  border-radius: 22px;
  padding: 28px 28px 22px;
  text-align: center;
  max-width: 380px;
  width: 100%;
  box-shadow:
    0 0 38px var(--cat-color, rgba(91, 232, 209, 0.7)),
    0 18px 48px rgba(0, 0, 0, 0.6);
  transform: scale(0.6);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex; flex-direction: column;
  align-items: center; gap: 4px;
  color: #fff5d8;
  font-family: 'Nunito', sans-serif;
}
.wu-pokedex.show .wu-pokedex-card { transform: scale(1); }
.wu-pk-icon {
  font-size: clamp(5rem, 22vmin, 8rem);
  line-height: 1;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.5));
  margin-bottom: 6px;
  animation: wu-pk-icon-bob 1.4s ease-in-out infinite;
}
@keyframes wu-pk-icon-bob {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50%      { transform: translateY(-6px) rotate(2deg); }
}
.wu-pk-pinyin {
  font-size: clamp(2rem, 8vmin, 2.8rem);
  font-weight: 900;
  color: var(--cat-color, #fff);
  text-shadow: 0 0 18px var(--cat-color, transparent);
  letter-spacing: 0.02em;
}
.wu-pk-hanzi {
  font-size: clamp(2.5rem, 10vmin, 3.5rem);
  font-weight: 900;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  margin: 4px 0;
  font-family: 'ZCOOL XiaoWei', serif;
}
.wu-pk-es {
  font-size: clamp(1.1rem, 4.5vmin, 1.4rem);
  font-weight: 800;
  color: #ffe66a;
  text-shadow: 0 0 10px rgba(255, 230, 106, 0.5);
  font-style: italic;
}
.wu-pk-meta {
  display: flex; flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 14px;
}
.wu-pk-chip {
  padding: 4px 12px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.wu-pk-chip.exp {
  background: rgba(91, 232, 209, 0.18);
  border: 2px solid #5be8d1;
  color: #5be8d1;
}
.wu-pk-hint {
  font-size: 0.78rem;
  font-style: italic;
  color: rgba(220, 235, 245, 0.55);
  margin-top: 14px;
}

/* ====================================================================
   CUADERNO DE ALUMNOS — teacher-only window into every saved sentence
   Triggered by the 📓 button below the asistentes roster on the
   warmup host page. Auth-gated by the admin password the teacher
   already entered to unlock maestro mode. Two phases of the modal:
     1) Roster: scroll list of every student code with sentence count
     2) Detail: one student's full sentence history
   ==================================================================== */
.wu-notebook-row {
  display: flex; align-items: center; gap: 10px; margin: 16px 0 6px;
  flex-wrap: wrap;
}
.wu-notebook-btn {
  white-space: nowrap;
}
.wu-notebook-hint {
  color: var(--ink-dim);
  font-size: 0.85rem;
  font-style: italic;
}
.wu-notebook-overlay {
  position: fixed;
  inset: 0;
  background: rgba(8, 6, 18, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9000;
  display: flex; align-items: flex-start; justify-content: center;
  padding: 24px 12px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}
.wu-notebook-overlay.hidden { display: none; }
.wu-notebook-card {
  width: 100%;
  max-width: 720px;
  background: linear-gradient(160deg, rgba(38, 28, 58, 0.96), rgba(20, 14, 32, 0.98));
  border: 3px solid rgba(255, 213, 122, 0.55);
  border-radius: 18px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.7), 0 0 24px rgba(255, 213, 122, 0.18);
  padding: 18px 18px 24px;
  color: #f0e4c8;
  font-family: 'Nunito', sans-serif;
  display: flex; flex-direction: column; gap: 12px;
  max-height: calc(100dvh - 48px);
}
.wu-notebook-header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
}
.wu-notebook-title {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: #ffe082;
}
.wu-notebook-close {
  background: rgba(255, 90, 102, 0.18);
  border: 2px solid rgba(255, 90, 102, 0.6);
  color: #ffd1d6;
  border-radius: 999px;
  width: 36px; height: 36px;
  font-size: 1rem; font-weight: 900;
  cursor: pointer;
  transition: transform 0.1s ease;
}
.wu-notebook-close:hover { transform: scale(1.08); background: rgba(255, 90, 102, 0.35); }
.wu-notebook-sub {
  color: var(--ink-dim, rgba(220, 235, 245, 0.65));
  font-size: 0.95rem;
  min-height: 1.2em;
}
.wu-notebook-roster {
  display: flex; flex-direction: column; gap: 8px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  max-height: calc(100dvh - 220px);
  padding-right: 4px;
}
.wu-notebook-roster.hidden { display: none; }
.wu-notebook-row-btn {
  display: grid;
  grid-template-columns: 44px 80px 1fr auto auto;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: rgba(60, 45, 90, 0.6);
  border: 2px solid rgba(255, 213, 122, 0.25);
  border-radius: 12px;
  color: inherit;
  font-family: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform 0.08s ease, background 0.15s ease, border-color 0.15s ease;
}
.wu-nb-row-avatar {
  font-size: 1.8rem;
  line-height: 1;
  text-align: center;
  width: 44px;
  height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  flex: 0 0 auto;
}
.wu-nb-avatar-img {
  width: 100%; height: 100%;
  object-fit: contain;
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 100%, rgba(91, 232, 209, 0.3), transparent 70%),
    rgba(255, 255, 255, 0.04);
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}
.wu-nb-avatar-emoji { font-size: 1.8rem; }
.wu-nb-head-avatar .wu-nb-avatar-img { width: 60px; height: 60px; }
.wu-nb-head-avatar .wu-nb-avatar-emoji { font-size: 2.4rem; }

/* === Class summary header — quick aggregate stats === */
.wu-nb-class-summary {
  background: linear-gradient(160deg, rgba(91, 232, 209, 0.14), rgba(180, 100, 255, 0.12));
  border: 2px solid rgba(91, 232, 209, 0.45);
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}
.wu-nb-class-summary-title {
  font-family: 'Cinzel', serif; font-weight: 900;
  color: #5be8d1;
  font-size: 1.0rem;
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}
.wu-nb-class-summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
}
.wu-nb-class-stat {
  padding: 10px;
  background: rgba(20, 22, 36, 0.55);
  border-radius: 10px;
  text-align: center;
}
.wu-nb-class-stat-num {
  font-family: 'Cinzel', serif;
  font-weight: 900;
  color: #ffe082;
  font-size: 1.5rem;
}
.wu-nb-class-stat-label {
  font-size: 0.82rem;
  color: rgba(243, 230, 194, 0.9);
  font-weight: 700;
  margin: 4px 0 2px;
}
.wu-nb-class-stat-detail {
  font-size: 0.72rem;
  color: rgba(243, 230, 194, 0.55);
  font-style: italic;
}
.wu-nb-row-counts {
  display: flex; gap: 6px;
  font-size: 0.78rem;
}
.wu-nb-row-c {
  background: rgba(0, 0, 0, 0.3);
  padding: 3px 7px;
  border-radius: 999px;
  white-space: nowrap;
  font-weight: 700;
}
.wu-notebook-row-btn:hover {
  transform: translateY(-1px);
  background: rgba(80, 60, 120, 0.75);
  border-color: rgba(255, 213, 122, 0.55);
}
.wu-nb-code {
  font-family: 'Cinzel', serif;
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  color: #ffe082;
}
.wu-nb-name {
  font-weight: 800;
  color: #fff5d8;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.wu-nb-count {
  font-weight: 800;
  color: #5be8d1;
  white-space: nowrap;
}
.wu-nb-date {
  font-size: 0.85rem;
  color: var(--ink-dim, rgba(220, 235, 245, 0.6));
  white-space: nowrap;
}
.wu-notebook-empty {
  padding: 24px;
  text-align: center;
  font-style: italic;
  color: var(--ink-dim, rgba(220, 235, 245, 0.6));
  background: rgba(40, 30, 60, 0.4);
  border-radius: 12px;
}
.wu-notebook-detail {
  display: flex; flex-direction: column; gap: 10px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  max-height: calc(100dvh - 220px);
  padding-right: 4px;
}
.wu-notebook-detail.hidden { display: none; }
.wu-notebook-back {
  align-self: flex-start;
}
.wu-notebook-detail-head {
  background: rgba(60, 45, 90, 0.55);
  border: 2px solid rgba(255, 213, 122, 0.4);
  border-radius: 12px;
  padding: 10px 14px;
}
.wu-nb-head-row {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
}
.wu-nb-head-avatar {
  font-size: 2.4rem;
  line-height: 1;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,0.4));
  background: linear-gradient(135deg, rgba(91, 232, 209, 0.2), rgba(180, 100, 255, 0.2));
  border: 2px solid rgba(91, 232, 209, 0.5);
  border-radius: 12px;
  padding: 4px 8px;
}
.wu-nb-section-title {
  font-family: 'Cinzel', serif;
  font-weight: 900;
  font-size: 1.05rem;
  color: #ffe082;
  letter-spacing: 0.04em;
  margin: 16px 0 8px;
  padding-bottom: 6px;
  border-bottom: 2px dashed rgba(255, 213, 122, 0.35);
}
.wu-nb-asg-row, .wu-nb-test-row {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  background: rgba(30, 35, 60, 0.5);
  border-left: 3px solid #ffd57a;
  border-radius: 8px;
  margin-bottom: 5px;
}
.wu-nb-asg-row.great, .wu-nb-test-row.great { border-left-color: #5be8d1; }
.wu-nb-asg-row.ok,    .wu-nb-test-row.ok    { border-left-color: #ffd57a; }
.wu-nb-asg-row.low,   .wu-nb-test-row.low   { border-left-color: #ff5a66; }
.wu-nb-asg-title, .wu-nb-test-story {
  color: #fff5d8;
  font-weight: 800;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.wu-nb-asg-score, .wu-nb-test-score {
  color: #ffe082;
  font-weight: 900;
  font-family: 'Cinzel', serif;
  white-space: nowrap;
}
.wu-nb-asg-score small { color: rgba(255, 224, 130, 0.6); font-weight: 700; font-size: 0.75em; }
.wu-nb-asg-date, .wu-nb-test-date {
  color: rgba(243, 230, 194, 0.55);
  font-size: 0.82rem;
  font-style: italic;
  white-space: nowrap;
}
.wu-nb-head-code {
  font-family: 'Cinzel', serif;
  font-weight: 900;
  font-size: 1.3rem;
  color: #ffe082;
  letter-spacing: 0.1em;
}
.wu-nb-head-name {
  font-size: 1.1rem;
  font-weight: 800;
}
.wu-nb-head-meta {
  font-size: 0.85rem;
  color: var(--ink-dim, rgba(220, 235, 245, 0.6));
  margin-top: 4px;
}
.wu-notebook-sentence {
  background: rgba(38, 28, 58, 0.75);
  border: 1px solid rgba(255, 213, 122, 0.25);
  border-radius: 10px;
  padding: 10px 12px;
}
.wu-nb-sentence-meta {
  font-size: 0.8rem;
  color: var(--ink-dim, rgba(220, 235, 245, 0.6));
  margin-bottom: 6px;
}
.wu-nb-sentence-words {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.wu-nb-word {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 8px;
  background: rgba(0, 0, 0, 0.35);
  border-radius: 8px;
  border-left: 3px solid var(--cat-color, #fff);
  font-size: 0.85rem;
}
.wu-nb-icon { font-size: 1.05em; }
.wu-nb-pinyin {
  font-weight: 800;
  color: var(--cat-color, #fff);
}
.wu-nb-es {
  font-size: 0.78em;
  color: rgba(220, 235, 245, 0.7);
  font-style: italic;
}

/* ====================================================================
   SAVE FEEDBACK — flash + confirmation chip for 💾 Guardar (host + asistente)
   Rewards.show is disabled platform-wide, so we provide a dedicated
   green flash on the button + a small floating chip with word/contributor
   count. Both auto-clean after ~1.8s.
   ==================================================================== */
.wu-save-flash-ok {
  animation: wu-save-pulse-ok 0.55s ease-out !important;
  background: linear-gradient(180deg, rgba(91, 232, 209, 0.95), rgba(45, 212, 191, 0.95)) !important;
  border-color: #5be8d1 !important;
  color: #003028 !important;
  box-shadow: 0 0 22px rgba(91, 232, 209, 0.85) !important;
}
.wu-save-flash-err {
  animation: wu-save-shake 0.4s ease-in-out !important;
  background: linear-gradient(180deg, rgba(255, 90, 102, 0.92), rgba(220, 60, 80, 0.92)) !important;
  border-color: #ff5a66 !important;
  color: #fff5d8 !important;
  box-shadow: 0 0 22px rgba(255, 90, 102, 0.7) !important;
}
@keyframes wu-save-pulse-ok {
  0%   { transform: scale(1);    }
  40%  { transform: scale(1.18); }
  100% { transform: scale(1);    }
}
@keyframes wu-save-shake {
  0%, 100% { transform: translateX(0); }
  25%      { transform: translateX(-5px); }
  75%      { transform: translateX(5px); }
}
.wu-save-chip {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translate(-50%, 6px) scale(0.86);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 800;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.18s ease;
  z-index: 50;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.55);
  font-family: 'Nunito', sans-serif;
}
.wu-save-chip.show {
  opacity: 1;
  transform: translate(-50%, 0) scale(1);
}
.wu-save-chip-ok {
  background: linear-gradient(135deg, rgba(91, 232, 209, 0.95), rgba(45, 212, 191, 0.95));
  border: 2px solid #5be8d1;
  color: #003028;
}
.wu-save-chip-err {
  background: linear-gradient(135deg, rgba(255, 90, 102, 0.92), rgba(200, 50, 70, 0.92));
  border: 2px solid #ff5a66;
  color: #fff5d8;
}
/* The save buttons live inside a flex row — make sure they're positioned
   so the absolute-positioned chip anchors above them correctly. */
.wu-stage-actions, .wu-player-admin-actions {
  position: relative;
}

/* === TOUCH RESPONSIVENESS (2026-05-28) === instant taps on the builder +
   player phone; no 300ms delay, no ghost/double taps. */
button, .wu-lib-card, .wu-stage-word, .wu-fx-btn, .wu-vm-btn, .wu-exp-tab,
.wu-roster-btn, .wu-roster-judge-btn, .wu-player-word, .wu-pl-exp-tab,
.wu-player-speak-btn, .wu-player-hand-btn, [role="button"], input, select {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/* =====================================================================
   2026-05-28 BATCH: search · speak · super-prompt · activity · VFX
   ===================================================================== */

/* 🔍 Catalog search bar */
.wu-search-row {
  display: flex; align-items: center; gap: 8px;
  margin: 10px auto 6px; max-width: 680px;
  padding: 4px 10px;
  background: rgba(20, 28, 44, 0.55);
  border: 1.5px solid rgba(120, 160, 220, 0.35);
  border-radius: 14px;
}
.wu-search-icon { font-size: 1.1rem; opacity: 0.8; }
.wu-search-input {
  flex: 1; border: none; background: transparent; color: #f3f7ff;
  font-size: 1rem; padding: 8px 4px; outline: none;
}
.wu-search-input::placeholder { color: rgba(200, 215, 240, 0.5); }
.wu-search-clear {
  border: none; background: rgba(255, 255, 255, 0.12); color: #fff;
  width: 28px; height: 28px; border-radius: 50%; cursor: pointer;
  font-size: 0.85rem; line-height: 1;
}
.wu-search-clear.hidden { display: none; }
.wu-lib-empty {
  text-align: center; padding: 26px 18px; color: rgba(220, 230, 250, 0.7);
  font-size: 0.98rem; line-height: 1.5;
}
.wu-lib-empty em { color: var(--gold-glow, #ffd86b); font-style: normal; font-weight: 800; }

/* 🔊 Escuchar button feedback */
.wu-speak-btn.speaking { animation: wuSpeakPulse 0.8s ease-in-out infinite; }
@keyframes wuSpeakPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.08); } }

/* ✍️ Super-maestro Spanish prompt bar (host) */
.wu-prompt-row {
  max-width: 720px; margin: 0 auto 10px; padding: 10px 12px;
  background: linear-gradient(135deg, rgba(90, 60, 140, 0.5), rgba(140, 70, 120, 0.45));
  border: 1.5px solid rgba(200, 150, 240, 0.45);
  border-radius: 14px;
}
.wu-prompt-row.hidden { display: none; }
.wu-prompt-label {
  display: block; font-weight: 800; color: #f3e3ff; margin-bottom: 6px; font-size: 0.95rem;
}
.wu-prompt-label small { font-weight: 600; opacity: 0.7; }
.wu-prompt-inputwrap { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.wu-prompt-input { flex: 1; min-width: 180px; }

/* 👀 Assistant activity ticker */
.wu-activity {
  margin-top: 10px; padding: 8px 10px;
  background: rgba(16, 24, 38, 0.5);
  border: 1px solid rgba(120, 160, 220, 0.25); border-radius: 12px;
}
.wu-activity-title { font-weight: 800; color: #cfe0ff; font-size: 0.9rem; margin-bottom: 6px; }
.wu-activity-feed { display: flex; flex-direction: column; gap: 4px; max-height: 200px; overflow-y: auto; }
.wu-activity-empty { color: rgba(200, 215, 240, 0.5); font-size: 0.85rem; padding: 4px 2px; }
.wu-activity-row {
  display: flex; gap: 8px; align-items: center; font-size: 0.85rem;
  padding: 5px 8px; border-radius: 8px; background: rgba(255, 255, 255, 0.04);
  animation: wuActIn 0.3s ease;
}
@keyframes wuActIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.wu-activity-row.is-add { border-left: 3px solid #5bef8a; }
.wu-activity-row.is-remove { border-left: 3px solid #ef5b5b; }
.wu-activity-who { font-weight: 800; color: #fff; }
.wu-activity-verb { opacity: 0.85; }
.wu-activity-word { color: var(--gold-glow, #ffd86b); font-weight: 700; }
.wu-activity-time { margin-left: auto; opacity: 0.5; font-size: 0.75rem; }

/* 🎮 Interactive VFX controls */
.wu-fx-row {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  justify-content: center; margin: 12px auto; max-width: 720px;
}
.wu-fx-label { font-weight: 800; color: #cfe0ff; font-size: 0.9rem; }
.wu-fx-btn {
  border: 1.5px solid rgba(120, 160, 220, 0.4); border-radius: 12px;
  background: rgba(30, 40, 60, 0.6); color: #eaf2ff; cursor: pointer;
  font-size: 0.92rem; font-weight: 700; padding: 8px 12px; transition: transform 0.1s, background 0.15s;
}
.wu-fx-btn:hover { background: rgba(60, 80, 120, 0.7); }
.wu-fx-btn:active { transform: scale(0.93); }

/* VFX layer + animated bits */
.wu-fx-layer {
  position: fixed; inset: 0; pointer-events: none; overflow: hidden; z-index: 40;
}
.wu-fx-confetti-bit { position: absolute; top: -8vh; will-change: transform, opacity; animation: wuConfettiFall linear forwards; }
@keyframes wuConfettiFall {
  0% { transform: translateY(0) rotate(0); opacity: 1; }
  100% { transform: translateY(112vh) rotate(720deg); opacity: 0.2; }
}
.wu-fx-rain-drop { position: absolute; top: -6vh; will-change: transform; animation: wuRainFall linear forwards; font-size: 22px; }
@keyframes wuRainFall { 0% { transform: translateY(0); opacity: 0.9; } 100% { transform: translateY(110vh); opacity: 0.4; } }
.wu-fx-runner { position: absolute; will-change: transform; }
.wu-fx-runner.from-left { left: -12vw; animation: wuRunL2R linear forwards; }
.wu-fx-runner.from-right { right: -12vw; animation: wuRunR2L linear forwards; }
@keyframes wuRunL2R { from { transform: translateX(0); } to { transform: translateX(124vw); } }
@keyframes wuRunR2L { from { transform: translateX(0); } to { transform: translateX(-124vw); } }
.wu-fx-runner.is-zombie.from-left { animation-timing-function: steps(8); }
.wu-fx-runner.is-zombie.from-right { animation-timing-function: steps(8); }

/* 💥 Full-screen color flash (strobes a few times, then fades) */
.wu-fx-flash {
  position: fixed; inset: 0; pointer-events: none; z-index: 60;
  background: #fff; opacity: 0;
  animation: wuFlash 0.9s ease-out forwards;
}
@keyframes wuFlash {
  0% { opacity: 0; background: #fff; }
  10% { opacity: 0.85; background: #fff; }
  25% { opacity: 0.1; }
  40% { opacity: 0.7; background: #ffe066; }
  55% { opacity: 0.1; }
  70% { opacity: 0.6; background: #74c0ff; }
  100% { opacity: 0; }
}

/* 📳 Screen shake */
body.wu-shake { animation: wuShake 0.6s cubic-bezier(.36,.07,.19,.97); }
@keyframes wuShake {
  10%,90% { transform: translate3d(-2px,0,0); }
  20%,80% { transform: translate3d(4px,0,0); }
  30%,50%,70% { transform: translate3d(-8px,0,0); }
  40%,60% { transform: translate3d(8px,0,0); }
}

/* ✍️ Player-side challenge prompt banner */
.wu-player-prompt {
  display: flex; flex-direction: column; gap: 2px;
  margin: 8px auto 10px; max-width: 560px; padding: 10px 14px;
  background: linear-gradient(135deg, rgba(120, 70, 180, 0.92), rgba(170, 80, 140, 0.92));
  border: 2px solid rgba(230, 180, 255, 0.6); border-radius: 16px;
  box-shadow: 0 6px 20px rgba(120, 60, 160, 0.4);
  animation: wuActIn 0.35s ease;
}
.wu-player-prompt.hidden { display: none; }
.wu-player-prompt-label { font-weight: 800; color: #ffe6ff; font-size: 0.8rem; letter-spacing: 0.04em; }
.wu-player-prompt-text { font-weight: 900; color: #fff; font-size: 1.25rem; line-height: 1.3; }

/* 🔍 Asistente catalog search */
.wu-pl-search-row {
  display: flex; align-items: center; gap: 8px;
  margin: 8px auto 6px; max-width: 560px; padding: 4px 10px;
  background: rgba(20, 28, 44, 0.55);
  border: 1.5px solid rgba(120, 160, 220, 0.35); border-radius: 14px;
}
.wu-pl-search-icon { font-size: 1.05rem; opacity: 0.8; }
.wu-pl-search-input {
  flex: 1; border: none; background: transparent; color: #f3f7ff;
  font-size: 1rem; padding: 8px 4px; outline: none;
}
.wu-pl-search-input::placeholder { color: rgba(200, 215, 240, 0.5); }
.wu-pl-search-clear {
  border: none; background: rgba(255,255,255,0.12); color: #fff;
  width: 28px; height: 28px; border-radius: 50%; cursor: pointer; font-size: 0.85rem;
}
.wu-pl-search-clear.hidden { display: none; }
.wu-pl-lib-empty { text-align: center; padding: 22px 16px; color: rgba(220,230,250,0.7); }

/* 🔊 + ✋ player row (global audio + raise hand) */
.wu-player-speak-row {
  display: flex; gap: 8px; flex-wrap: wrap; justify-content: center;
  margin: 8px auto 6px; max-width: 560px;
}
.wu-player-speak-btn, .wu-player-hand-btn, .wu-player-savemine-btn {
  border: 2px solid rgba(255, 213, 122, 0.6); border-radius: 14px;
  background: linear-gradient(135deg, rgba(255,200,90,0.22), rgba(255,160,60,0.18));
  color: #fff5d8; font-weight: 800; font-size: 0.98rem; padding: 10px 16px;
  cursor: pointer; transition: transform 0.1s;
  touch-action: manipulation;
}
.wu-player-speak-btn:active, .wu-player-hand-btn:active, .wu-player-savemine-btn:active { transform: scale(0.94); }
.wu-player-speak-btn.speaking { animation: wuSpeakPulse 0.8s ease-in-out infinite; }
.wu-player-hand-btn {
  border-color: rgba(150, 220, 255, 0.6);
  background: linear-gradient(135deg, rgba(90,160,240,0.25), rgba(120,90,220,0.2));
}
.wu-player-hand-btn.raised { animation: wuSpeakPulse 0.5s ease-in-out 3; }
.wu-player-hand-btn.hidden { display: none; }
/* 💾 Save-is-everywhere button — every kid, always visible (green tint). */
.wu-player-savemine-btn {
  border-color: rgba(120, 235, 180, 0.6);
  background: linear-gradient(135deg, rgba(70,210,150,0.26), rgba(40,180,170,0.2));
}
.wu-player-savemine-btn.wu-save-flash-ok { animation: wuSpeakPulse 0.4s ease-in-out 2; border-color: #5be88a; }
.wu-player-savemine-btn.wu-save-flash-err { border-color: #ef6b6b; }
.wu-hist-word.curious-tappable { cursor: pointer; }
.wu-hist-word.curious-tappable:active { transform: scale(0.93); }

/* ===================================================================
   ⏱ TIME MACHINE — teacher countdown + selective freeze (2026-05-29)
   =================================================================== */
.wu-timer-row {
  display: flex; align-items: center; gap: 6px; flex-wrap: wrap;
  margin: 8px 0 4px;
}
.wu-timer-label { font-weight: 800; color: #ffe082; font-size: 0.9rem; }
.wu-timer-btn {
  border: 2px solid rgba(255,120,120,0.55); border-radius: 12px;
  background: rgba(255,80,80,0.14); color: #ffd5d5; font-weight: 900;
  font-size: 0.9rem; padding: 7px 12px; cursor: pointer; touch-action: manipulation;
}
.wu-timer-btn:active { transform: scale(0.93); }
.wu-timer-clear { border-color: rgba(255,255,255,0.3); background: rgba(255,255,255,0.1); color: #fff; }

/* Big countdown badge — host board + player phone */
.wu-countdown, .wu-player-countdown {
  position: fixed; top: calc(env(safe-area-inset-top, 0px) + 10px); left: 50%;
  transform: translateX(-50%); z-index: 9997;
  display: flex; flex-direction: column; align-items: center; gap: 0;
  background: linear-gradient(160deg, rgba(60,20,30,0.96), rgba(120,20,30,0.96));
  border: 3px solid #ff6b6b; border-radius: 18px; padding: 8px 22px;
  box-shadow: 0 0 30px rgba(255,80,80,0.6), 0 10px 30px rgba(0,0,0,0.5);
  pointer-events: none;
}
.wu-countdown.hidden, .wu-player-countdown.hidden { display: none !important; }
.wu-countdown-num, .wu-player-countdown-num {
  font-family: 'Cinzel', serif; font-weight: 900;
  font-size: clamp(2.4rem, 9vmin, 3.6rem); line-height: 1; color: #fff;
  text-shadow: 0 0 16px rgba(255,120,120,0.9);
}
.wu-countdown-cap, .wu-player-countdown-cap { font-size: 0.78rem; font-weight: 800; color: #ffd5d5; letter-spacing: 0.04em; }
.wu-countdown.wu-countdown-low, .wu-player-countdown.wu-countdown-low { animation: wuCdPulse 0.5s ease-in-out infinite; border-color: #ff3030; }
.wu-countdown.wu-countdown-done, .wu-player-countdown.wu-countdown-done { animation: none; border-color: #ffe082; background: linear-gradient(160deg, rgba(80,60,20,0.96), rgba(120,90,20,0.96)); }
@keyframes wuCdPulse { 0%,100% { transform: translateX(-50%) scale(1); } 50% { transform: translateX(-50%) scale(1.12); } }

/* Body-wide "time machine" intensity — pulsing red vignette on the board */
body.wu-timemachine::after {
  content: ''; position: fixed; inset: 0; z-index: 9996; pointer-events: none;
  box-shadow: inset 0 0 120px 30px rgba(255,40,40,0.35);
  animation: wuTmVignette 1s ease-in-out infinite;
}
@keyframes wuTmVignette { 0%,100% { opacity: 0.55; } 50% { opacity: 1; } }

/* Selective freeze — per-kid pause in the roster */
.wu-roster-pause-btn {
  border: 2px solid rgba(150,180,255,0.5); border-radius: 10px;
  background: rgba(90,130,240,0.16); color: #cdd9ff; font-weight: 800;
  font-size: 0.82rem; padding: 6px 10px; cursor: pointer; touch-action: manipulation;
}
.wu-roster-pause-btn.on { background: linear-gradient(135deg, #6f9cff, #5b6cff); color: #fff; border-color: #6f9cff; }
.wu-roster-row.is-paused { opacity: 0.72; outline: 2px dashed rgba(150,180,255,0.4); }
.wu-paused-tag { font-size: 0.72rem; color: #aac2ff; font-weight: 800; }

/* 6-7 swing jumpscare on the host builder */
.wu-fx-67 {
  position: fixed; left: 50%; bottom: 8vh; transform: translateX(-50%);
  z-index: 50; pointer-events: none; will-change: transform;
  animation: wu67Swing 2.4s cubic-bezier(.2,.8,.3,1) forwards;
  font-size: 80px; text-shadow: 0 6px 18px rgba(0,0,0,0.5);
}
.wu-fx-67 img { width: min(40vw, 240px); height: auto; filter: drop-shadow(0 10px 22px rgba(0,0,0,0.5)); }
@keyframes wu67Swing {
  0%   { transform: translateX(-50%) translateY(120%) rotate(-18deg) scale(0.7); opacity: 0; }
  18%  { transform: translateX(-50%) translateY(0) rotate(10deg) scale(1.1); opacity: 1; }
  35%  { transform: translateX(-50%) translateY(-4%) rotate(-8deg) scale(1); }
  55%  { transform: translateX(-50%) translateY(0) rotate(6deg) scale(1.04); }
  75%  { transform: translateX(-50%) translateY(-2%) rotate(-4deg) scale(1); }
  100% { transform: translateX(-50%) translateY(120%) rotate(14deg) scale(0.7); opacity: 0; }
}

/* ✋ raised-hand banner + roster highlight */
.wu-hand-banner {
  position: fixed; top: 14px; left: 50%; transform: translate(-50%, -120%);
  z-index: 9998; padding: 12px 22px; border-radius: 16px;
  background: linear-gradient(135deg, rgba(90,160,240,0.96), rgba(120,90,220,0.96));
  color: #fff; font-weight: 900; font-size: 1.05rem;
  box-shadow: 0 10px 30px rgba(60,80,160,0.5); border: 2px solid rgba(200,220,255,0.7);
  transition: transform 0.35s cubic-bezier(.2,.9,.3,1.2); white-space: nowrap;
}
.wu-hand-banner.show { transform: translate(-50%, 0); }
.wu-roster-row.hand-raised {
  animation: wuHandGlow 1.2s ease-in-out infinite;
  border-color: #5aa0f0 !important;
}
@keyframes wuHandGlow {
  0%,100% { box-shadow: 0 0 0 0 rgba(90,160,240,0); }
  50%     { box-shadow: 0 0 16px 3px rgba(90,160,240,0.6); }
}
.wu-activity-row.is-hand { border-left: 3px solid #5aa0f0; background: rgba(90,160,240,0.12); }

/* 🧊 Freeze toggle (host) + frozen builder (player) */
.wu-freeze-btn.active {
  background: linear-gradient(135deg, #ff8a5a, #ef5b5b) !important;
  color: #fff !important;
}
.wu-player-admin.wu-frozen { opacity: 0.5; filter: grayscale(0.4); pointer-events: none; position: relative; }
.wu-player-admin.wu-frozen::after {
  content: '⏸ En pausa'; position: absolute; inset: 0; display: flex;
  align-items: center; justify-content: center; font-weight: 900; font-size: 1.2rem;
  color: #fff; background: rgba(20,24,40,0.35); border-radius: 12px; pointer-events: none;
}

/* ⚖️ Judge controls (host roster) */
.wu-roster-judge-btn {
  border: 1.5px solid rgba(200,170,255,0.5); border-radius: 10px;
  background: rgba(120,90,200,0.25); color: #eadcff; cursor: pointer;
  font-size: 0.82rem; font-weight: 800; padding: 6px 10px; margin-left: 4px;
}
.wu-roster-judge-btn.on { background: rgba(180,140,255,0.55); color: #fff; }
.wu-roster-row.is-judge { border-color: #b48cff !important; }
.wu-judge-tag {
  display: inline-block; font-size: 0.72rem; font-weight: 800; color: #d8c4ff;
  background: rgba(150,110,230,0.3); border-radius: 8px; padding: 1px 6px; margin-left: 4px;
}

/* ⚖️ Judge approve tray (player) */
.wu-judge-tray {
  position: fixed; right: 10px; bottom: 10px; z-index: 9997;
  display: flex; flex-direction: column; gap: 8px; max-width: 86vw;
}
.wu-judge-card {
  display: flex; flex-direction: column; gap: 6px;
  background: linear-gradient(135deg, rgba(120,90,200,0.97), rgba(90,70,170,0.97));
  border: 2px solid rgba(210,185,255,0.7); border-radius: 14px;
  padding: 10px 12px; box-shadow: 0 10px 28px rgba(60,40,120,0.5); color: #fff;
  animation: wuActIn 0.3s ease;
}
.wu-judge-who { font-weight: 900; font-size: 1.02rem; }
.wu-judge-q { font-size: 0.85rem; opacity: 0.9; }
.wu-judge-actions { display: flex; gap: 8px; }
.wu-judge-yes, .wu-judge-no {
  flex: 1; border: none; border-radius: 10px; padding: 8px 10px;
  font-weight: 900; font-size: 0.95rem; cursor: pointer;
}
.wu-judge-yes { background: #5be88a; color: #06321b; }
.wu-judge-no  { background: #ef6b6b; color: #2e0606; }

/* Phone scaling for the new host controls */
@media (max-width: 560px) {
  .wu-search-row { margin: 8px 6px 4px; }
  .wu-fx-row { gap: 6px; }
  .wu-fx-btn { font-size: 0.82rem; padding: 7px 9px; }
  .wu-prompt-inputwrap { flex-direction: column; align-items: stretch; }
  .wu-prompt-input { min-width: 0; }
  .wu-player-prompt-text { font-size: 1.1rem; }
  .wu-hand-banner { font-size: 0.9rem; padding: 10px 14px; }
  .wu-fx-67 img { width: 55vw; }
  .wu-roster-judge-btn { font-size: 0.76rem; padding: 5px 7px; }
}

/* 🎛 Word-bank visibility control + ➕ live custom word (host builder) */
.wu-banks-panel {
  max-width: 720px; margin: 6px auto; padding: 8px 12px;
  background: rgba(20, 28, 44, 0.5); border: 1.5px solid rgba(120,160,220,0.3); border-radius: 14px;
}
.wu-banks-head { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; align-items: baseline; }
.wu-banks-title { font-weight: 800; color: #cfe0ff; font-size: 0.95rem; }
.wu-banks-hint { font-size: 0.78rem; color: rgba(200,215,240,0.6); }
.wu-banks-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.wu-bank-chip {
  border: 1.5px solid rgba(120,160,220,0.4); border-radius: 999px;
  background: rgba(30,40,60,0.6); color: rgba(220,230,250,0.55);
  font-weight: 800; font-size: 0.82rem; padding: 6px 12px; cursor: pointer;
  opacity: 0.55; transition: opacity 0.12s, background 0.15s, transform 0.1s;
}
.wu-bank-chip.on { opacity: 1; background: linear-gradient(135deg, rgba(91,232,209,0.4), rgba(120,90,220,0.3)); color: #fff; border-color: #5be8d1; }
.wu-bank-chip:active { transform: scale(0.93); }
.wu-newword-row {
  display: flex; gap: 6px; align-items: center; flex-wrap: wrap;
  max-width: 720px; margin: 6px auto 4px; padding: 6px 10px;
  background: rgba(255,216,107,0.1); border: 1.5px dashed rgba(255,216,107,0.45); border-radius: 14px;
}
.wu-newword-icon { font-size: 1.1rem; }
.wu-newword-pinyin { flex: 1 1 140px; min-width: 0; }
.wu-newword-es { flex: 1 1 120px; min-width: 0; }

/* =====================================================================
   🦸 CHARACTER SUMMONS + bigger 6-7 + pinned FX tray (2026-05-28)
   ===================================================================== */
/* Bigger 6-7 jumpscare — HUGE */
.wu-fx-67 { bottom: 4vh !important; }
.wu-fx-67 img { width: min(90vw, 640px) !important; }

/* Full-screen anime/comic character summon */
.wu-fx-char {
  position: fixed; inset: 0; z-index: 56; pointer-events: none;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.wu-fx-char-aura {
  position: absolute; width: 90vmin; height: 90vmin; border-radius: 50%;
  background: radial-gradient(circle, var(--char-glow, #fff) 0%, var(--char-color, #6cf) 35%, transparent 68%);
  opacity: 0; filter: blur(6px);
  animation: wuCharAura 3s ease-out forwards;
}
@keyframes wuCharAura {
  0% { opacity: 0; transform: scale(0.3); }
  18% { opacity: 0.85; transform: scale(1.05); }
  45% { opacity: 0.4; transform: scale(1); }
  100% { opacity: 0; transform: scale(1.2); }
}
/* Comic speed-lines bursting from center */
.wu-fx-char-lines {
  position: absolute; inset: -25%;
  background: repeating-conic-gradient(from 0deg,
    rgba(255,255,255,0.0) 0deg 5deg,
    var(--char-color, #fff) 5deg 6deg,
    rgba(255,255,255,0.0) 6deg 11deg);
  opacity: 0; mix-blend-mode: screen;
  animation: wuCharLines 3s ease-out forwards;
}
@keyframes wuCharLines {
  0% { opacity: 0; transform: scale(0.6) rotate(0deg); }
  15% { opacity: 0.55; }
  35% { opacity: 0.25; }
  100% { opacity: 0; transform: scale(1.4) rotate(22deg); }
}
.wu-fx-char-img {
  position: relative; z-index: 2;
  width: min(78vw, 520px); max-height: 82vh; object-fit: contain;
  filter: drop-shadow(0 12px 34px rgba(0,0,0,0.6)) drop-shadow(0 0 26px var(--char-glow, #fff));
  animation: wuCharSlam 3.2s cubic-bezier(.18,.9,.3,1.2) forwards;
}
@keyframes wuCharSlam {
  0%   { transform: translateY(60%) scale(0.4) rotate(-8deg); opacity: 0; }
  16%  { transform: translateY(0) scale(1.12) rotate(3deg); opacity: 1; }
  26%  { transform: translateY(0) scale(1) rotate(0deg); }
  72%  { transform: translateY(0) scale(1.02); opacity: 1; }
  100% { transform: translateY(-8%) scale(1.06); opacity: 0; }
}
.wu-fx-char-cry {
  position: absolute; z-index: 3; bottom: 14%;
  font-family: 'Cinzel', serif; font-weight: 900; font-size: clamp(1.6rem, 7vw, 3.4rem);
  color: #fff; text-shadow: 0 0 14px var(--char-color, #fff), 0 4px 10px rgba(0,0,0,0.6);
  -webkit-text-stroke: 2px rgba(0,0,0,0.4); letter-spacing: 0.04em; text-align: center;
  animation: wuCharCry 3s ease-out forwards;
}
@keyframes wuCharCry {
  0% { opacity: 0; transform: scale(0.5); }
  20% { opacity: 1; transform: scale(1.15); }
  35% { transform: scale(1); }
  82% { opacity: 1; }
  100% { opacity: 0; transform: scale(1.1); }
}

/* 🎮 Pinned FAB + scrollable tray */
.wu-fx-fab {
  position: fixed; right: 14px; bottom: calc(14px + env(safe-area-inset-bottom, 0px));
  z-index: 9990; width: 60px; height: 60px; border-radius: 50%;
  border: 3px solid rgba(255,216,107,0.8); background: linear-gradient(135deg, #7b5bef, #ef5b95);
  color: #fff; font-size: 1.7rem; cursor: pointer; box-shadow: 0 8px 24px rgba(0,0,0,0.5);
  display: flex; align-items: center; justify-content: center; touch-action: manipulation;
  animation: wuFabPulse 2.6s ease-in-out infinite;
}
@keyframes wuFabPulse { 0%,100% { box-shadow: 0 8px 24px rgba(0,0,0,0.5); } 50% { box-shadow: 0 8px 30px rgba(180,100,255,0.7); } }
.wu-fx-tray {
  position: fixed; right: 12px; bottom: calc(84px + env(safe-area-inset-bottom, 0px));
  z-index: 9991; width: min(340px, 88vw); max-height: 60vh; overflow-y: auto;
  background: linear-gradient(160deg, rgba(30,34,54,0.98), rgba(18,20,34,0.99));
  border: 2px solid rgba(180,100,255,0.5); border-radius: 18px; padding: 12px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.6);
}
.wu-fx-tray.hidden { display: none; }
.wu-fx-tray-head { display: flex; justify-content: space-between; align-items: center; font-weight: 900; color: #cfe0ff; margin-bottom: 8px; }
.wu-fx-tray-close { border: none; background: rgba(255,255,255,0.12); color: #fff; width: 30px; height: 30px; border-radius: 50%; cursor: pointer; }
.wu-fx-tray-grid { display: flex; flex-wrap: wrap; gap: 6px; }
.wu-fx-tray-section { width: 100%; font-size: 0.8rem; font-weight: 800; color: rgba(200,215,240,0.6); margin-top: 6px; }
.wu-fx-char-btn { background: linear-gradient(135deg, rgba(180,100,255,0.35), rgba(91,232,209,0.25)); border-color: #c5a3ff; }

/* 🎬 ANIMACIONES OVERLAY — persistent transparent-GIF that the teacher
   toggles from host-warmup's Animaciones tray. Shown on every kid +
   the host screen. Click-through (pointer-events:none) so it doesn't
   block any UI underneath. */
.wu-anim-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  pointer-events: none;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0, 0, 0, 0.15);
  animation: wuAnimIn 0.32s ease-out;
}
.wu-anim-overlay img {
  max-width: 72vw;
  max-height: 72vh;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.55));
}
@keyframes wuAnimIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

/* Animaciones-section button styling — distinct from character/efectos
   buttons so the teacher can tell them apart at a glance. Purple-pink
   gradient signals "persistent, toggle-on/off". */
.wu-fx-anim-btn {
  background: linear-gradient(135deg, #a855f7, #ec4899) !important;
  color: #fff !important;
  border: 2px solid #ec4899 !important;
  box-shadow: 0 4px 14px rgba(236, 72, 153, 0.35) !important;
}
.wu-fx-anim-btn:active { transform: scale(0.96); }

/* 📤 Push-to-students preview chips inside the wu-push-modal */
.wu-push-prev {
  display: flex; flex-wrap: wrap; gap: 6px;
  background: rgba(91, 232, 209, 0.10);
  border: 1.5px solid rgba(91, 232, 209, 0.45);
  border-radius: 10px;
  padding: 8px 10px;
  margin: 8px 0 4px;
}
.wu-push-prev-chip {
  display: inline-flex; flex-direction: column; align-items: center;
  background: #fff;
  color: #1a1a26;
  border-radius: 8px;
  padding: 6px 12px;
  font-weight: 900;
  font-size: 0.95rem;
}
.wu-push-prev-chip small {
  font-weight: 700; font-size: 0.74rem;
  color: rgba(0, 0, 0, 0.55);
}
.wu-push-search { width: 100%; }

/* ═══════════════════════════════════════════════════════════════════
 * 📤 PUSH-TO-STUDENTS — full-screen redesign (Fernando 2026-06-04).
 *   "Super disorganized, something like a box at the very bottom,
 *    not clean, not beautiful." → Full-screen sheet, sticky hero +
 *    tabs, breathing room, two modes (Una / Paquete de lección).
 * ═══════════════════════════════════════════════════════════════════ */
.wu-push-sheet {
  position: fixed; inset: 0; z-index: 9999;
  display: flex;
  background:
    radial-gradient(900px 500px at 50% -10%, rgba(91, 232, 138, 0.10), transparent 70%),
    linear-gradient(160deg, #1a2540 0%, #0e1426 100%);
  opacity: 0;
  transition: opacity 0.22s ease;
  overflow: hidden;
}
.wu-push-sheet.show { opacity: 1; }
.wu-push-canvas {
  flex: 1;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 14px clamp(14px, 4vw, 28px) 96px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.wu-push-hero {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 6px 0 14px;
  position: sticky;
  top: 0;
  z-index: 3;
  background: linear-gradient(180deg, rgba(14, 20, 38, 0.96) 0%, rgba(14, 20, 38, 0.85) 75%, rgba(14, 20, 38, 0) 100%);
  backdrop-filter: blur(4px);
}
.wu-push-back {
  min-width: 140px;
  height: 56px;
  padding: 0 18px;
  border-radius: 16px;
  background: rgba(255, 230, 106, 0.18);
  border: 2px solid rgba(255, 230, 106, 0.55);
  color: #fff5d8;
  font-size: 1.05rem; font-weight: 900;
  cursor: pointer;
  /* 🆕 2026-06-06 v4: force max touch reactivity. Some Safari versions
     swallow the click on inset-positioned sticky buttons unless we
     explicitly opt out of double-tap zoom & guarantee pointer events. */
  touch-action: manipulation;
  pointer-events: auto;
  -webkit-tap-highlight-color: rgba(255, 230, 106, 0.32);
  flex: 0 0 auto;
  display: inline-flex; align-items: center; gap: 6px;
  position: relative; z-index: 5;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
}
.wu-push-back:hover  { background: rgba(255, 230, 106, 0.28); }
.wu-push-back:active { transform: scale(0.94); background: rgba(255, 230, 106, 0.4); }

/* 🆕 2026-06-04 v2 — floating corner-close button that's ALWAYS
   visible. Fernando: "there's no back button, so I cannot go back." */
.wu-push-corner-close {
  position: fixed;
  top: 14px;
  right: 14px;
  z-index: 10;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255, 90, 102, 0.18);
  border: 2px solid rgba(255, 90, 102, 0.55);
  color: #ff9a8a;
  font-size: 1.05rem; font-weight: 900;
  cursor: pointer; touch-action: manipulation;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}
.wu-push-corner-close:hover  { background: rgba(255, 90, 102, 0.32); }
.wu-push-corner-close:active { transform: scale(0.9); }
/* Also bump tap target (was 44; iOS HIG min). 56 makes it impossible to miss. */
.wu-push-corner-close {
  width: 56px; height: 56px;
  font-size: 1.4rem;
  touch-action: manipulation;
  pointer-events: auto;
  -webkit-tap-highlight-color: rgba(255, 90, 102, 0.32);
}

/* 🆕 2026-06-06 v4 — small "hint" line in the Una oración pane below
   the Add button, replacing the old free-form category row. */
.wu-push-hint {
  font-size: 0.88rem;
  color: rgba(255, 245, 216, 0.7);
  margin-top: 10px;
  padding: 10px 12px;
  border-left: 3px solid rgba(91, 232, 138, 0.55);
  background: rgba(91, 232, 138, 0.06);
  border-radius: 6px;
  line-height: 1.45;
}

/* 🆕 2026-06-06 v4 — package picker overlay (opens when teacher
   taps "Añadir al paquete"). Sits inside the push modal so closing
   it doesn't dismiss the parent modal — only the picker. */
.wu-pack-pick-overlay {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(8, 12, 22, 0.75);
  backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center;
  padding: 18px;
  animation: wuPackPickFade 0.18s ease;
}
@keyframes wuPackPickFade { from { opacity: 0; } to { opacity: 1; } }
.wu-pack-pick-card {
  background: linear-gradient(180deg, #1a2240 0%, #121830 100%);
  border: 2px solid rgba(255, 230, 106, 0.35);
  border-radius: 18px;
  padding: 18px;
  max-width: 720px; width: 100%;
  max-height: 88vh; overflow-y: auto;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.55);
}
.wu-pack-pick-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.wu-pack-pick-title {
  font-size: 1.15rem; font-weight: 900; color: #ffe66a;
}
.wu-pack-pick-close {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 2px solid rgba(255, 255, 255, 0.18);
  color: #fff; font-size: 1rem; font-weight: 900;
  cursor: pointer; touch-action: manipulation;
}
.wu-pack-pick-prev {
  padding: 10px; margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 10px;
  display: flex; flex-wrap: wrap; gap: 6px;
}
.wu-pack-pick-sep {
  margin: 14px 0 8px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.1em; text-transform: uppercase;
}
.wu-pack-pick-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 10px;
}
.wu-pack-pick-tile {
  padding: 12px; min-height: 80px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 2px solid rgba(255, 255, 255, 0.14);
  color: #fff; cursor: pointer; touch-action: manipulation;
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  text-align: left;
  font-weight: 800;
  transition: transform 0.08s, background 0.18s, border-color 0.18s;
}
.wu-pack-pick-tile:hover  { background: rgba(255, 255, 255, 0.12); border-color: rgba(255, 230, 106, 0.4); }
.wu-pack-pick-tile:active { transform: scale(0.96); }
.wu-pack-pick-tile.is-auto {
  border-color: rgba(91, 232, 138, 0.7);
  background: rgba(91, 232, 138, 0.1);
}
.wu-pack-pick-tile.is-custom {
  border-color: rgba(255, 154, 107, 0.55);
  background: rgba(255, 154, 107, 0.08);
}
.wu-pack-pick-label  { font-size: 0.95rem; font-weight: 900; line-height: 1.2; }
.wu-pack-pick-count  { font-size: 0.78rem; color: rgba(255, 255, 255, 0.6); font-weight: 700; }
.wu-pack-pick-auto   { font-size: 0.72rem; color: #5be88a; font-weight: 900; }
.wu-pack-pick-new {
  margin-top: 14px; width: 100%;
  padding: 14px; border-radius: 12px;
  background: linear-gradient(180deg, rgba(167, 139, 255, 0.18), rgba(167, 139, 255, 0.06));
  border: 2px dashed rgba(167, 139, 255, 0.55);
  color: #c4b6ff; font-size: 0.98rem; font-weight: 900;
  cursor: pointer; touch-action: manipulation;
}
.wu-pack-pick-new:hover  { background: rgba(167, 139, 255, 0.28); color: #fff; }
.wu-pack-pick-new:active { transform: scale(0.98); }

/* 🆕 2026-06-06 v4 — per-package send-mode bar (Marca todas /
   info chip) and per-sentence checkbox row. */
.wu-push-pack-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; padding: 8px 10px; margin-bottom: 6px;
  background: rgba(255, 230, 106, 0.06);
  border-radius: 8px;
}
.wu-push-pack-pickall {
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(91, 232, 138, 0.14);
  border: 2px solid rgba(91, 232, 138, 0.4);
  color: #d6ffe5; font-size: 0.85rem; font-weight: 800;
  cursor: pointer; touch-action: manipulation;
}
.wu-push-pack-pickall:active { transform: scale(0.95); }
.wu-push-pack-bar-info {
  font-size: 0.78rem; color: rgba(255, 230, 106, 0.85);
  font-weight: 700; letter-spacing: 0.03em;
}
.wu-push-pack-row-check {
  display: inline-flex; align-items: center;
  padding: 0 6px;
}
.wu-push-pack-row-check input { width: 18px; height: 18px; cursor: pointer; }
.wu-push-pack-row.is-picked {
  background: rgba(91, 232, 138, 0.08);
  border-left: 3px solid rgba(91, 232, 138, 0.7);
}
.wu-push-pack-box.is-custom .wu-push-pack-box-label {
  color: #ffd5b8;
}

/* 🆕 2026-06-04 v2 — in-modal feedback chip (the host-page chip is
   hidden behind the modal, so the teacher needs feedback INSIDE). */
.wu-push-flash {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 11;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 1rem;
  color: #0d2a16;
  background: linear-gradient(135deg, #5be88a, #5be8d1);
  box-shadow: 0 6px 22px rgba(91, 232, 138, 0.5);
  animation: wuPushFlashIn 220ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
.wu-push-flash.is-err {
  color: #2a0a0a;
  background: linear-gradient(135deg, #ffb46b, #ff7e5f);
  box-shadow: 0 6px 22px rgba(255, 126, 95, 0.5);
}
.wu-push-flash.hidden { display: none; }
@keyframes wuPushFlashIn { from { opacity: 0; transform: translate(-50%, 12px); } to { opacity: 1; transform: translate(-50%, 0); } }
.wu-push-hero-text { flex: 1; min-width: 0; }
.wu-push-title {
  font-family: 'Cinzel', serif;
  font-weight: 900;
  font-size: clamp(1.3rem, 4vw, 2rem);
  color: #5be88a;
  margin: 0; line-height: 1.1;
  text-shadow: 0 0 18px rgba(91, 232, 138, 0.3);
}
.wu-push-sub {
  margin: 6px 0 0;
  font-size: 0.92rem;
  color: rgba(243, 230, 194, 0.78);
  line-height: 1.45;
}
.wu-push-sub strong { color: #fff5d8; }
.wu-push-sub em { color: #5be88a; font-style: normal; }

.wu-push-tabs {
  display: flex;
  gap: 10px;
  position: sticky;
  top: 70px;
  z-index: 2;
  padding: 4px 0 14px;
  background: linear-gradient(180deg, rgba(14, 20, 38, 0.96) 0%, rgba(14, 20, 38, 0.6) 80%, rgba(14, 20, 38, 0) 100%);
}
.wu-push-tab {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  color: rgba(220, 235, 245, 0.7);
  border-radius: 14px;
  padding: 12px 12px;
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer; touch-action: manipulation;
  transition: background 120ms ease;
}
.wu-push-tab:active { transform: scale(0.97); }
.wu-push-tab.is-active {
  background: linear-gradient(135deg, rgba(91, 232, 138, 0.22), rgba(91, 232, 209, 0.16));
  border-color: rgba(91, 232, 138, 0.7);
  color: #fff5d8;
  box-shadow: 0 0 16px rgba(91, 232, 138, 0.22);
}
.wu-push-tab-n {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 10px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  color: #ffe082;
  font-size: 0.85rem;
  font-weight: 900;
}

.wu-push-pane { display: none; flex-direction: column; gap: 14px; margin-bottom: 14px; }
.wu-push-pane.is-active { display: flex; }

.wu-push-section {
  background: linear-gradient(160deg, rgba(40, 50, 80, 0.55), rgba(22, 28, 48, 0.75));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 14px 16px;
  display: flex; flex-direction: column; gap: 10px;
}
.wu-push-section-h {
  font-weight: 900;
  color: #ffd166;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
}
.wu-push-section-note {
  font-weight: 600; font-size: 0.78rem;
  color: rgba(243, 230, 194, 0.55);
  font-style: italic;
  margin-left: 6px;
}
.wu-push-section-foot {
  display: flex; flex-wrap: wrap; gap: 8px;
}

/* Sentence preview chips — now show pinyin + hanzi + es stacked */
.wu-push-prev {
  display: flex; flex-wrap: wrap; gap: 6px;
  background: rgba(91, 232, 209, 0.06);
  border: 1.5px solid rgba(91, 232, 209, 0.25);
  border-radius: 12px;
  padding: 10px 12px;
}
.wu-push-prev-chip {
  display: inline-flex; flex-direction: column; align-items: center;
  background: #fff;
  color: #1a1a26;
  border-radius: 10px;
  padding: 6px 12px;
  font-weight: 900;
  font-size: 0.95rem;
  gap: 1px;
}
.wu-push-prev-hz {
  font-family: 'Noto Sans SC', 'Noto Sans CJK SC', 'PingFang SC', serif;
  font-style: normal;
  font-weight: 800;
  font-size: 1.05rem;
  color: #c75a00;
}
.wu-push-prev-chip small {
  font-weight: 700; font-size: 0.72rem;
  color: rgba(0, 0, 0, 0.55);
}

/* 🆕 2026-06-04 v3 — 8 fixed EXP packages (Fernando: "there should only
   be eight, the eight that you have"). Each box is a row with a checkbox
   for select-to-send, the EXP label, the count, and a ▼ toggle when
   non-empty. */
.wu-push-pack-current-hint {
  margin-top: 8px;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(91, 232, 209, 0.10);
  border: 1px solid rgba(91, 232, 209, 0.3);
  color: #5be8d1;
  font-size: 0.88rem;
  font-weight: 700;
}
.wu-push-pack-current-hint strong { color: #fff5d8; }
.wu-push-pack-box {
  background: rgba(255, 255, 255, 0.04);
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  margin-bottom: 8px;
  overflow: hidden;
  transition: background 150ms ease, border-color 150ms ease;
}
.wu-push-pack-box.has-items {
  background: linear-gradient(160deg, rgba(91, 232, 138, 0.06), rgba(91, 232, 209, 0.03));
  border-color: rgba(91, 232, 138, 0.25);
}
.wu-push-pack-box-head {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  gap: 10px;
  align-items: center;
  padding: 10px 14px;
}
.wu-push-pack-box-check {
  display: inline-flex;
  cursor: pointer;
}
.wu-push-pack-box-check input[type=checkbox] {
  appearance: none;
  width: 22px; height: 22px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 6px;
  cursor: pointer;
  display: grid; place-items: center;
}
.wu-push-pack-box-check input[type=checkbox]:checked {
  background: #5be88a;
  border-color: #5be88a;
}
.wu-push-pack-box-check input[type=checkbox]:checked::after {
  content: '✓';
  color: #0d2a16;
  font-weight: 900;
  font-size: 0.95rem;
  line-height: 1;
}
.wu-push-pack-box-check input[type=checkbox]:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.wu-push-pack-box-label {
  color: #fff5d8;
  font-weight: 800;
  font-size: 0.98rem;
  overflow: hidden; text-overflow: ellipsis;
}
.wu-push-pack-box-count {
  color: rgba(243, 230, 194, 0.7);
  font-size: 0.85rem;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.25);
  padding: 2px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.wu-push-pack-box.has-items .wu-push-pack-box-count {
  color: #5be88a;
  background: rgba(91, 232, 138, 0.18);
}
.wu-push-pack-box-toggle {
  width: 32px; height: 32px;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  color: #fff5d8;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 900;
  cursor: pointer;
}
.wu-push-pack-box-toggle:active { transform: scale(0.92); }
.wu-push-pack-box-body {
  padding: 0 14px 12px;
  display: flex; flex-direction: column;
  gap: 4px;
}

/* Pack groups by EXP */
.wu-push-pack { display: flex; flex-direction: column; gap: 12px; }
.wu-push-pack-empty {
  text-align: center;
  padding: 28px 20px;
  color: rgba(243, 230, 194, 0.55);
  font-style: italic;
  line-height: 1.5;
  border: 1px dashed rgba(243, 230, 194, 0.18);
  border-radius: 12px;
}
.wu-push-pack-empty strong { color: #5be88a; font-style: normal; }
.wu-push-pack-group {
  background: rgba(255, 255, 255, 0.03);
  border-left: 4px solid #ffd166;
  border-radius: 0 12px 12px 0;
  padding: 10px 12px;
}
.wu-push-pack-grouph {
  font-weight: 900;
  color: #ffd166;
  font-size: 0.9rem;
  letter-spacing: 0.03em;
  margin-bottom: 8px;
}
.wu-push-pack-grouph small { font-weight: 600; color: rgba(243, 230, 194, 0.6); }
.wu-push-pack-row {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.06);
}
.wu-push-pack-row:last-child { border-bottom: none; }
.wu-push-pack-chips { flex: 1; display: flex; flex-wrap: wrap; gap: 4px; }
.wu-push-pack-row .wu-push-prev-chip { padding: 3px 8px; font-size: 0.82rem; }
.wu-push-pack-row .wu-push-prev-chip small { font-size: 0.62rem; }
.wu-push-pack-del {
  width: 32px; height: 32px;
  background: rgba(255, 90, 102, 0.12);
  border: 1.5px solid rgba(255, 90, 102, 0.4);
  color: #ff9a8a;
  border-radius: 10px;
  font-size: 0.85rem; font-weight: 900;
  cursor: pointer; touch-action: manipulation;
}
.wu-push-pack-del:active { transform: scale(0.9); background: rgba(255, 90, 102, 0.25); }

/* Student picker */
.wu-push-search {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 2px solid rgba(255, 255, 255, 0.12);
  color: #fff5d8;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 0.95rem;
  font-weight: 700;
}
.wu-push-search::placeholder { color: rgba(243, 230, 194, 0.45); }
.wu-push-quick { display: flex; flex-wrap: wrap; gap: 6px; }
.wu-push-students {
  max-height: 38vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  display: flex; flex-direction: column; gap: 4px;
  padding: 4px;
  background: rgba(0, 0, 0, 0.18);
  border-radius: 12px;
}
.wu-push-stu {
  display: grid;
  grid-template-columns: auto auto 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 10px;
  cursor: pointer; touch-action: manipulation;
}
.wu-push-stu:hover { background: rgba(255, 255, 255, 0.07); }
.wu-push-stu input[type=checkbox] {
  appearance: none;
  width: 22px; height: 22px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 6px;
  cursor: pointer;
  display: grid; place-items: center;
}
.wu-push-stu input[type=checkbox]:checked {
  background: #5be88a;
  border-color: #5be88a;
}
.wu-push-stu input[type=checkbox]:checked::after {
  content: '✓';
  color: #0d2a16;
  font-weight: 900;
  font-size: 0.95rem;
  line-height: 1;
}
.wu-push-stu-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
}
.wu-push-stu-name {
  color: #fff5d8;
  font-weight: 800;
  font-size: 0.95rem;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.wu-push-stu-code {
  font-family: 'Courier New', monospace;
  color: rgba(243, 230, 194, 0.6);
  font-size: 0.82rem;
  letter-spacing: 0.05em;
}
.wu-push-empty {
  text-align: center;
  color: rgba(243, 230, 194, 0.55);
  font-style: italic;
  padding: 18px;
}

/* Sticky send footer */
.wu-push-footer {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  padding: 12px clamp(14px, 4vw, 28px) calc(12px + env(safe-area-inset-bottom));
  background: linear-gradient(0deg, rgba(14, 20, 38, 0.98) 0%, rgba(14, 20, 38, 0.78) 70%, rgba(14, 20, 38, 0) 100%);
  z-index: 4;
}
.wu-push-send {
  display: block;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  background: linear-gradient(135deg, #5be88a, #5be8d1);
  color: #0d2a16;
  border: none;
  border-radius: 14px;
  padding: 16px 18px;
  font-weight: 900;
  font-size: 1.1rem;
  cursor: pointer; touch-action: manipulation;
  box-shadow: 0 4px 18px rgba(91, 232, 138, 0.35);
  transition: transform 120ms ease, box-shadow 150ms ease;
}
.wu-push-send:hover  { box-shadow: 0 6px 24px rgba(91, 232, 138, 0.5); }
.wu-push-send:active { transform: scale(0.98); }
.wu-push-send:disabled { background: rgba(255, 255, 255, 0.06); color: rgba(243, 230, 194, 0.4); box-shadow: none; cursor: not-allowed; }

/* 🆕 2026-06-04 — Category chips inside the push-to-students modal.
   Teacher single-selects one chip; the default "🚫 Sin categoría" is
   pre-active so leaving it alone just sends an untagged push. */
.wu-push-cat-label {
  font-size: 0.82rem;
  color: rgba(243, 230, 194, 0.7);
  font-weight: 700;
  margin: 14px 0 4px;
}
.wu-push-cats {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: 6px;
}
.wu-push-cat-chip {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid var(--cat-color, rgba(255, 255, 255, 0.18));
  color: var(--cat-color, rgba(243, 230, 194, 0.75));
  border-radius: 999px;
  padding: 6px 12px;
  font-weight: 800;
  font-size: 0.85rem;
  cursor: pointer;
  touch-action: manipulation;
  transition: background 120ms ease, transform 120ms ease;
}
.wu-push-cat-chip:active { transform: scale(0.96); }
.wu-push-cat-chip.is-active {
  background: var(--cat-color, rgba(255, 200, 110, 0.28));
  color: #1a1a1a;
  box-shadow: 0 0 10px color-mix(in srgb, var(--cat-color, #ffc874) 60%, transparent);
}


/* ══════════════════════════════════════════════════════════════════
   🧠 PRÁCTICA DE ORACIONES 31-40 (2026-07-04) — teacher-side analysis
   of Reading Parts 3 & 4. Sim picker cards, question cards with the
   real A-F exam bank, tap-to-eliminate interaction, vocab panel.
   ══════════════════════════════════════════════════════════════════ */
.wu-prac-simcard {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 16px 10px;
  background: rgba(20, 22, 36, 0.7);
  border: 2px solid rgba(255, 230, 106, 0.25);
  border-radius: 14px;
  color: #f3e6c2;
  cursor: pointer;
  touch-action: manipulation;
  transition: transform 120ms ease, border-color 120ms ease;
}
.wu-prac-simcard:hover { transform: translateY(-2px); border-color: #ffe66a; }
.wu-prac-simcard.is-all { border-color: #5be8d1; background: rgba(30, 60, 60, 0.5); }
.wu-prac-simemoji { font-size: 1.8rem; }
.wu-prac-simname { font-weight: 900; font-size: 1rem; text-align: center; }
.wu-prac-simmeta { font-size: 0.78rem; color: rgba(255, 255, 255, 0.55); }
.wu-prac-simhead {
  font-weight: 900; font-size: 1.15rem; color: #ffe66a;
  margin: 20px 0 6px; padding-top: 10px;
  border-top: 2px dashed rgba(255, 230, 106, 0.25);
}
.wu-prac-part { margin: 12px 0 20px; }
.wu-prac-parttitle { font-weight: 900; color: #5be8d1; font-size: 1.02rem; margin-bottom: 2px; }
.wu-prac-instr { color: rgba(255, 255, 255, 0.6); font-size: 0.85rem; margin-bottom: 8px; }
.wu-prac-example {
  background: rgba(255, 230, 106, 0.08);
  border: 1px dashed rgba(255, 230, 106, 0.4);
  border-radius: 10px;
  padding: 7px 10px;
  font-size: 0.88rem;
  color: rgba(243, 230, 194, 0.85);
  margin-bottom: 10px;
}
.wu-prac-zh { color: #ffe66a; }
.wu-prac-hanzi { font-family: 'ZCOOL XiaoWei', serif; color: rgba(255, 245, 216, 0.85); }
.wu-prac-ans { color: #7dffa8; }
.wu-prac-q {
  background: rgba(13, 18, 36, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 8px;
}
.wu-prac-qrow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.wu-prac-qnum {
  flex-shrink: 0;
  background: #ffe66a; color: #1a1a1a;
  font-weight: 900; font-size: 0.9rem;
  border-radius: 8px; padding: 3px 8px;
}
.wu-prac-qtext { flex: 1; min-width: 180px; font-size: 1.05rem; }
.wu-prac-analysis { margin-top: 10px; border-top: 1px solid rgba(255, 255, 255, 0.1); padding-top: 10px; }
.wu-prac-hint { color: rgba(255, 255, 255, 0.65); font-size: 0.85rem; margin-bottom: 8px; font-weight: 700; }
.wu-prac-bank {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 8px;
}
.wu-prac-opt {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 10px 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 2px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  color: #f3e6c2;
  cursor: pointer;
  touch-action: manipulation;
  transition: transform 100ms ease, border-color 120ms ease, opacity 150ms ease;
}
.wu-prac-opt:active { transform: scale(0.96); }
.wu-prac-optletter {
  font-weight: 900; font-size: 1.05rem; color: #5be8d1;
  background: rgba(91, 232, 209, 0.12);
  border-radius: 6px; padding: 1px 8px;
}
.wu-prac-optpinyin { font-weight: 800; color: #ffe66a; font-size: 0.95rem; text-align: center; }
.wu-prac-opthanzi { font-family: 'ZCOOL XiaoWei', serif; font-size: 1.05rem; color: rgba(255, 245, 216, 0.85); }
.wu-prac-opt.is-eliminated {
  opacity: 0.32;
  filter: grayscale(0.9);
  border-color: rgba(255, 90, 102, 0.5);
}
.wu-prac-opt.is-eliminated .wu-prac-optpinyin { text-decoration: line-through; }
.wu-prac-opt.is-correct {
  opacity: 1 !important;
  filter: none !important;
  border-color: #7dffa8;
  background: rgba(125, 255, 168, 0.14);
  box-shadow: 0 0 14px rgba(125, 255, 168, 0.35);
  animation: wu-prac-win 400ms ease;
}
@keyframes wu-prac-win { 0% { transform: scale(1); } 40% { transform: scale(1.1); } 100% { transform: scale(1); } }
.wu-prac-extag {
  position: absolute; top: 4px; right: 6px;
  font-size: 0.6rem; font-weight: 900; text-transform: uppercase;
  color: #ffb26b; letter-spacing: 0.4px;
}
/* 📚 Vocabulary panel */
.wu-practice-vocab {
  background: rgba(13, 18, 36, 0.8);
  border: 1px solid rgba(91, 232, 209, 0.35);
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 14px;
  max-height: 46vh;
  overflow: auto;
}
.wu-prac-vocabexp summary {
  cursor: pointer; font-weight: 900; color: #5be8d1;
  padding: 6px 0; font-size: 0.95rem;
}
.wu-prac-vocabexp summary small { color: rgba(255, 255, 255, 0.45); font-weight: 700; }
.wu-prac-vocabgrid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 6px;
  padding: 6px 0 10px;
}
.wu-prac-vocabchip {
  display: flex; flex-direction: column; align-items: center; gap: 1px;
  padding: 7px 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  color: #f3e6c2;
  cursor: pointer;
  touch-action: manipulation;
  font-size: 0.85rem;
}
.wu-prac-vocabchip b { color: #ffe66a; }
.wu-prac-vocabchip small { color: rgba(255, 255, 255, 0.5); font-style: italic; }
.wu-prac-vocabchip:active { transform: scale(0.95); }

/* ══════════════════════════════════════════════════════════════════
   🔍 PRACTICE "MODO CURIOSO" CARDS (2026-07-06) — Fernando: "the list
   of vocabulary can be like the curious mode: touch each word → its
   little card. Icon BIGGER (pictures teach), meaning in parentheses,
   NO Chinese characters in the reading practice, toggle ES/EN."
   ══════════════════════════════════════════════════════════════════ */
/* No hanzi anywhere inside the practice surfaces */
#wu-practice-sheet .wu-prac-hanzi,
#wu-practice-sheet .wu-prac-opthanzi,
#m-practice-modal .wu-prac-hanzi,
#m-practice-modal .wu-prac-opthanzi { display: none !important; }
/* Vocab chips: BIG icon + pinyin + (meaning) */
.wu-prac-vocabchip .wu-prac-vicon { font-size: 2.1rem; line-height: 1; }
.wu-prac-vocabchip small { font-style: normal; color: rgba(243, 230, 194, 0.75); }
/* Full-screen word card */
.wu-prac-cardwrap {
  position: fixed; inset: 0; z-index: 300;
  display: flex; align-items: center; justify-content: center;
  background: rgba(5, 8, 18, 0.78);
  backdrop-filter: blur(3px);
}
.wu-prac-card {
  background: linear-gradient(160deg, #141624, #0d1224);
  border: 3px solid #ffe66a;
  border-radius: 22px;
  padding: 26px 34px;
  text-align: center;
  max-width: min(420px, 88vw);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.6);
  animation: wu-prac-cardin 200ms ease;
}
@keyframes wu-prac-cardin { from { transform: scale(0.85); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.wu-prac-card-icon { font-size: 5.2rem; line-height: 1.1; }
.wu-prac-card-pinyin { font-size: 2rem; font-weight: 900; color: #ffe66a; margin-top: 6px; }
.wu-prac-card-meaning { font-size: 1.25rem; color: #f3e6c2; margin-top: 4px; }
.wu-prac-card-speak {
  margin-top: 16px; border: none; cursor: pointer;
  background: #ffe66a; color: #1a1a2a;
  font-weight: 900; font-size: 1.05rem;
  border-radius: 999px; padding: 12px 26px;
  touch-action: manipulation;
}
.wu-prac-card-hint { margin-top: 10px; font-size: 0.8rem; color: rgba(255, 255, 255, 0.45); }

/* 🔤 Practice word-taps + sentence meanings (2026-07-07) */
.wu-prac-w {
  display: inline;
  background: none; border: none; padding: 0;
  font: inherit; color: inherit; cursor: pointer;
  border-bottom: 2px dotted rgba(91, 232, 209, 0.55);
  touch-action: manipulation;
}
.wu-prac-w:hover, .wu-prac-w:active { color: #5be8d1; border-bottom-style: solid; }
.wu-prac-qmeaning {
  margin: 4px 0 0 42px;
  font-size: 0.92rem;
  color: rgba(243, 230, 194, 0.75);
  font-style: italic;
}
