/* ==========================================================================
   KO 1 MÌNH — GIAO DIỆN RẠP TỐI XANH NAVY & THẺ TÌNH HUỐNG TƯƠNG PHẢN CAO
   ========================================================================== */

:root {
  --navy-bg: #111827;
  --navy-hud: #162038;
  --navy-pill: #1E293B;
  --navy-border: rgba(148, 163, 184, 0.24);

  --cobalt: #1E29B8;
  --cobalt-hover: #172094;
  --red-alert: #EF233C;
  --amber: #F59E0B;
  --sky: #0EA5E9;
  --emerald: #10B981;
  --coral: #FB7185;

  --card-bg: #FFFDF9;
  --ink-dark: #1E293B;
  --ink-muted: #475569;

  --font-body: 'Nunito', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-title: 'Quicksand', 'Nunito', 'Segoe UI', system-ui, sans-serif;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background: radial-gradient(circle at top center, #1E293B 0%, var(--navy-bg) 70%);
  color: #F8FAFC;
  min-height: 100vh;
  padding: 10px 10px 20px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--font-title);
}

p {
  margin: 0;
}

.hidden {
  display: none !important;
}

.app-container {
  width: 100%;
  max-width: 1180px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* ==========================================================================
   1. HEADER HUD NỀN TỐI (#162038) & 4 THANH CHỈ SỐ BA-LÔ HÀNH TRANG
   ========================================================================== */
.hud-shell {
  background-color: var(--navy-hud);
  border: 1.5px solid var(--navy-border);
  border-radius: 20px;
  padding: 12px 14px;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hud-top-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.hud-day-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.day-badge-red {
  background-color: var(--red-alert);
  color: #FFFFFF;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  padding: 5px 11px;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(239, 35, 60, 0.45);
  flex-shrink: 0;
}

.day-title {
  font-size: 1rem;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1.2;
}

.day-sub {
  font-size: 0.74rem;
  color: #94A3B8;
  font-weight: 600;
  margin-top: 2px;
}

.day-sub strong {
  color: #E2E8F0;
}

.day-sub a {
  color: #38BDF8;
  text-decoration: underline dotted;
  font-weight: 700;
}

/* Thanh tiến trình 7 ngày T2 -> CN dạng viên thuốc phát sáng */
.week-pills {
  order: 3;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background-color: rgba(15, 23, 42, 0.65);
  border: 1px solid var(--navy-border);
  border-radius: 999px;
  padding: 4px 8px;
}

.week-pill {
  font-family: var(--font-title);
  font-size: 0.74rem;
  font-weight: 800;
  color: #94A3B8;
  padding: 3px 10px;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.week-pill.is-done {
  background-color: rgba(16, 185, 129, 0.22);
  color: #6EE7B7;
  cursor: pointer;
  border: 1px solid rgba(110, 231, 183, 0.35);
}

.week-pill.is-done:hover {
  background-color: rgba(16, 185, 129, 0.38);
  color: #FFFFFF;
  transform: translateY(-1px);
}

.week-pill.is-active {
  background-color: var(--sky);
  color: #FFFFFF;
  box-shadow: 0 0 12px rgba(14, 165, 233, 0.75);
  cursor: pointer;
}

.week-pill.is-reviewing {
  background-color: var(--amber);
  color: #111827;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.75);
}

/* Nút điều khiển trên Header */
.hud-controls {
  order: 2;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hud-btn {
  font-family: var(--font-body);
  font-size: 0.76rem;
  font-weight: 700;
  color: #E2E8F0;
  background-color: var(--navy-pill);
  border: 1px solid rgba(148, 163, 184, 0.3);
  border-radius: 10px;
  padding: 6px 10px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: background-color 0.15s ease, transform 0.12s ease;
}

.hud-btn:hover {
  background-color: #334155;
  transform: translateY(-1px);
}

.hud-btn-sky {
  background-color: rgba(14, 165, 233, 0.2);
  border-color: rgba(56, 189, 248, 0.55);
  color: #BAE6FD;
}

.hud-btn-sky:hover {
  background-color: rgba(14, 165, 233, 0.35);
}

.hud-btn-gold {
  background-color: rgba(245, 158, 11, 0.22);
  border-color: rgba(251, 191, 36, 0.65);
  color: #FDE68A;
}

.hud-btn-gold:hover {
  background-color: rgba(245, 158, 11, 0.38);
}

.hud-btn-ghost {
  background-color: transparent;
}

.btn-hide-sm {
  display: none;
}

/* Hàng dưới Header: Ba-lô Hành Trang */
.backpack-hud {
  border-top: 1px solid rgba(148, 163, 184, 0.16);
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.backpack-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.backpack-label {
  font-family: var(--font-title);
  font-size: 0.82rem;
  font-weight: 800;
  color: #CBD5E1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.status-pill {
  font-size: 0.74rem;
  font-weight: 800;
  padding: 2px 10px;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.1);
  color: #F8FAFC;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.status-pill.is-tired {
  background-color: rgba(239, 35, 60, 0.22);
  border-color: rgba(239, 35, 60, 0.6);
  color: #FECDD3;
}

.status-pill.is-shielded {
  background-color: rgba(16, 185, 129, 0.22);
  border-color: rgba(16, 185, 129, 0.6);
  color: #A7F3D0;
}

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

.stat-pill {
  position: relative;
  background-color: var(--navy-pill);
  border: 1px solid rgba(148, 163, 184, 0.22);
  border-radius: 12px;
  padding: 8px 10px;
}

.stat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 6px;
  font-size: 0.78rem;
  font-weight: 800;
}

.stat-name {
  color: #E2E8F0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stat-val {
  font-family: var(--font-title);
  font-weight: 800;
}

.stat-energy .stat-val { color: #FBBF24; }
.stat-focus .stat-val  { color: #38BDF8; }
.stat-social .stat-val { color: #FB7185; }
.stat-shield .stat-val { color: #34D399; }

.stat-track {
  width: 100%;
  height: 8px;
  background-color: #0F172A;
  border-radius: 999px;
  overflow: hidden;
}

.stat-fill {
  height: 100%;
  border-radius: 999px;
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.stat-energy .stat-fill { background: linear-gradient(90deg, #F59E0B, #FBBF24); }
.stat-focus .stat-fill  { background: linear-gradient(90deg, #1E29B8, #0EA5E9); }
.stat-social .stat-fill { background: linear-gradient(90deg, #E11D48, #FB7185); }
.stat-shield .stat-fill { background: linear-gradient(90deg, #059669, #34D399); }

.stat-delta-badge {
  position: absolute;
  right: 8px;
  top: -10px;
  font-weight: 800;
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 999px;
  pointer-events: none;
  z-index: 20;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
  animation: floatBadge 1.8s forwards ease-out;
}

.stat-delta-badge.is-pos { background-color: #10B981; color: #FFFFFF; }
.stat-delta-badge.is-neg { background-color: #EF233C; color: #FFFFFF; }

@keyframes floatBadge {
  0%   { opacity: 0; transform: translateY(8px) scale(0.8); }
  20%  { opacity: 1; transform: translateY(-4px) scale(1.06); }
  80%  { opacity: 1; transform: translateY(-16px) scale(1); }
  100% { opacity: 0; transform: translateY(-24px) scale(0.95); }
}

/* ==========================================================================
   2. SÂN KHẤU CHIA ĐÔI (SPLIT STAGE)
   ========================================================================== */
.split-stage {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  align-items: stretch;
}

/* CỘT TRÁI: KHUNG CẢNH BÀN HỌC CÓ CHIỀU SÂU & ÁNH SÁNG ĐỘNG */
.scene-frame {
  border-radius: 20px;
  padding: 12px 14px;
  border: 2px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
  transition: background 0.45s ease;
}

.scene-frame.theme-morning {
  background: linear-gradient(160deg, #DBEAFE 0%, #FEF3C7 55%, #FDE68A 100%);
  color: var(--ink-dark);
}

.scene-frame.theme-afternoon {
  background: linear-gradient(160deg, #FED7AA 0%, #FDBA74 52%, #FBCFE8 100%);
  color: var(--ink-dark);
}

.scene-frame.theme-evening {
  background: linear-gradient(160deg, #0F172A 0%, #1E293B 58%, #312E81 100%);
  color: #F8FAFC;
}

.scene-frame-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.scene-frame-bottom {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.slot-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-title);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.88);
  color: var(--ink-dark);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.mood-pill {
  font-size: 0.76rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  background-color: rgba(15, 23, 42, 0.72);
  color: #FFFFFF;
}

.character-stage {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.scene-svg {
  width: 100%;
  max-width: 400px;
  height: auto;
  display: block;
  border-radius: 14px;
  user-select: none;
}

.scene-caption {
  font-size: 0.75rem;
  font-weight: 700;
  opacity: 0.9;
}

.scene-step {
  font-family: var(--font-title);
  font-size: 0.76rem;
  font-weight: 800;
  padding: 2px 9px;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.22);
}

/* CỘT PHẢI: THẺ TÌNH HUỐNG SÁNG SẮC NÉT (#FFFDF9) */
.scenario-card {
  background-color: var(--card-bg);
  color: var(--ink-dark);
  border-radius: 20px;
  border: 2px solid #E2E8F0;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.42);
  padding: 18px 18px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.card-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 2px solid #E2E8F0;
}

.card-title-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-icon {
  font-size: 1.4rem;
}

.card-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #0F172A;
}

.card-tag {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  background-color: #EEF2FF;
  color: var(--cobalt);
  border: 1px solid #C7D2FE;
}

.card-story {
  font-size: 0.96rem;
  line-height: 1.6;
  font-weight: 600;
  color: #1E293B;
  margin-bottom: 12px;
}

/* Hộp DÒNG SUY NGHĨ TRONG ĐẦU AN BÌNH */
.thought-box {
  background-color: #FFF1F2;
  border-left: 5px solid var(--red-alert);
  border-radius: 12px;
  padding: 10px 13px;
  margin-bottom: 10px;
}

.box-kicker {
  font-family: var(--font-title);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 3px;
}

.kicker-thought {
  color: #BE123C;
}

.kicker-miu {
  color: #0369A1;
}

.box-text {
  font-size: 0.87rem;
  font-weight: 600;
  line-height: 1.5;
  color: #1E293B;
}

/* Hộp GÓC NHÌN CỦA MÈO MIU */
.miu-box {
  background-color: #ECFEFF;
  border-left: 5px solid var(--sky);
  border-radius: 12px;
  padding: 10px 13px;
  margin-bottom: 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.miu-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: #FEF3C7;
  border: 2px solid #0EA5E9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.miu-box-content {
  flex: 1;
}

.miu-kicker-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  flex-wrap: wrap;
}

.miu-alert-badge {
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 999px;
  background-color: #10B981;
  color: #FFFFFF;
}

/* Nút lựa chọn A, B, C nổi 3D nhẹ */
.choices-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.choice-btn {
  width: 100%;
  text-align: left;
  font-family: var(--font-body);
  background-color: #FFFFFF;
  color: #0F172A;
  border: 2px solid #CBD5E1;
  border-radius: 14px;
  box-shadow: 0 4px 0 #CBD5E1;
  padding: 11px 14px;
  min-height: 50px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  transition: transform 0.14s ease, box-shadow 0.14s ease, border-color 0.14s ease, background-color 0.14s ease;
}

.choice-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  border-color: var(--cobalt);
  background-color: #EFF6FF;
  box-shadow: 0 6px 0 #93C5FD;
}

.choice-btn:active:not(:disabled) {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #93C5FD;
}

.choice-btn:disabled {
  opacity: 0.58;
  cursor: default;
}

.choice-btn.is-selected {
  opacity: 1;
  border-color: var(--cobalt);
  background-color: #DBEAFE;
  box-shadow: 0 3px 0 var(--cobalt);
}

.choice-letter {
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background-color: var(--cobalt);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 0.8rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.choice-text {
  font-size: 0.91rem;
  font-weight: 700;
  line-height: 1.45;
}

/* Phản hồi kết quả & Nút chính Xanh Cobalt */
.outcome-panel {
  background-color: #F8FAFC;
  border: 2px solid #CBD5E1;
  border-radius: 16px;
  padding: 14px;
}

.outcome-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.outcome-icon {
  font-size: 1.25rem;
}

.outcome-heading {
  font-size: 0.98rem;
  font-weight: 800;
  color: #0F172A;
}

.outcome-text {
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.55;
  color: #334155;
  margin-bottom: 10px;
}

.outcome-deltas {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.delta-pill {
  font-size: 0.75rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
}

.delta-pill.pos { background-color: #D1FAE5; color: #065F46; }
.delta-pill.neg { background-color: #FFE4E6; color: #9F1239; }

.outcome-actions {
  display: flex;
  justify-content: flex-end;
}

.btn-primary-cobalt {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 0.92rem;
  padding: 10px 20px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, var(--cobalt) 0%, #2563EB 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 0 #1E1B4B, 0 8px 18px rgba(30, 41, 184, 0.35);
  cursor: pointer;
  transition: transform 0.14s ease, filter 0.14s ease;
}

.btn-primary-cobalt:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.btn-primary-cobalt:active {
  transform: translateY(2px);
}

/* ==========================================================================
   THANH PREVIEW PHẦN NHÌN
   ========================================================================== */
.preview-bar {
  background-color: var(--navy-hud);
  border: 1px solid var(--navy-border);
  border-radius: 14px;
  padding: 10px 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
}

.preview-title {
  font-family: var(--font-title);
  font-size: 0.8rem;
  font-weight: 800;
  color: #94A3B8;
}

.preview-groups {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
}

.preview-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
}

.preview-label {
  font-size: 0.74rem;
  font-weight: 700;
  color: #CBD5E1;
}

.preview-chip {
  font-family: var(--font-body);
  font-size: 0.73rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.35);
  background-color: var(--navy-pill);
  color: #E2E8F0;
  cursor: pointer;
}

.preview-chip.is-active {
  background-color: var(--amber);
  color: #111827;
  border-color: var(--amber);
  font-weight: 800;
}

/* ==========================================================================
   CHUYỂN ĐỘNG SVG CÓ HỒN CHO AN BÌNH & MÈO MIU
   ========================================================================== */
@keyframes blinkEyes {
  0%, 46%, 50%, 96%, 100% { transform: scaleY(1); }
  48%, 98% { transform: scaleY(0.08); }
}

@keyframes glanceAnBinh {
  0%, 24%  { transform: translate(0px, 0px); }
  30%, 54% { transform: translate(2.6px, -0.4px); }
  60%, 80% { transform: translate(-2.2px, 0.8px); }
  86%, 100%{ transform: translate(0px, 0px); }
}

@keyframes glanceMiu {
  0%, 20%  { transform: translate(0px, 0px); }
  28%, 52% { transform: translate(-2.4px, -0.4px); }
  58%, 82% { transform: translate(2.2px, 0px); }
  88%, 100%{ transform: translate(0px, 0px); }
}

@keyframes wagTail {
  0%, 100% { transform: rotate(0deg); }
  35% { transform: rotate(8deg); }
  70% { transform: rotate(-6deg); }
}

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

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

@keyframes phoneGlow {
  0%, 100% { opacity: 0.76; }
  50% { opacity: 1; }
}

.eye-lid-ab {
  transform-box: fill-box;
  transform-origin: center;
  animation: blinkEyes 5.4s infinite;
}

.eye-lid-miu {
  transform-box: fill-box;
  transform-origin: center;
  animation: blinkEyes 4.2s infinite 1.1s;
}

.pupil-ab { animation: glanceAnBinh 7.2s infinite ease-in-out; }
.pupil-miu { animation: glanceMiu 6.1s infinite ease-in-out; }

.miu-tail {
  transform-origin: 306px 146px;
  animation: wagTail 3.3s infinite ease-in-out;
}

.character-breathe { animation: gentleBreathe 3.8s infinite ease-in-out; }
.character-tired   { animation: tiredSlump 4.2s infinite ease-in-out; }
.phone-screen-glow { animation: phoneGlow 2.4s infinite ease-in-out; }

/* ==========================================================================
   MODAL CẨM NANG 01M
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  background-color: rgba(15, 23, 42, 0.78);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-card {
  width: 100%;
  max-width: 540px;
  background-color: var(--card-bg);
  color: var(--ink-dark);
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
  max-height: 88vh;
  overflow-y: auto;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 2px solid #E2E8F0;
}

.modal-title { font-size: 1.15rem; font-weight: 800; }

.modal-close {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 1.5px solid #CBD5E1;
  background-color: #FFFFFF;
  font-weight: 800;
  cursor: pointer;
}

.handbook-body { display: flex; flex-direction: column; gap: 10px; }

.handbook-box {
  border-radius: 14px;
  padding: 12px;
}

.handbook-box h4 { font-size: 0.92rem; font-weight: 800; margin-bottom: 6px; }
.handbook-box ul { margin: 0; padding-left: 18px; font-size: 0.85rem; font-weight: 600; line-height: 1.55; }

.box-red  { background-color: #FFF1F2; border-left: 4px solid var(--red-alert); }
.box-blue { background-color: #EFF6FF; border-left: 4px solid var(--sky); }

/* ==========================================================================
   BỘ 3 PHÍM MỞ KHÓA 0 - 1 - M TRÊN BA-LÔ HÀNH TRANG
   ========================================================================== */
.backpack-right-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.keycaps-group {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.keycap {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background-color: #0F172A;
  color: #64748B;
  border: 1.5px solid #334155;
  box-shadow: 0 2px 0 #020617;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 0.78rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}

.keycap.is-unlocked {
  background: linear-gradient(135deg, #F59E0B, #FBBF24);
  color: #111827;
  border-color: #FEF3C7;
  box-shadow: 0 0 12px rgba(251, 191, 36, 0.75), 0 2px 0 #B45309;
  transform: translateY(-1px);
}

/* ==========================================================================
   KHUNG CHAT UI GIẢ LẬP
   ========================================================================== */
.chat-ui-box {
  background-color: #F1F5F9;
  border: 1.5px solid #CBD5E1;
  border-radius: 14px;
  padding: 10px 12px;
  margin-bottom: 12px;
}

.chat-ui-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid #CBD5E1;
}

.chat-sender {
  font-family: var(--font-title);
  font-size: 0.8rem;
  font-weight: 800;
  color: #0F172A;
}

.chat-status {
  font-size: 0.7rem;
  font-weight: 700;
  color: #059669;
}

.chat-bubbles {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-start;
}

.chat-bubble {
  background-color: #FFFFFF;
  color: #0F172A;
  border: 1px solid #CBD5E1;
  border-radius: 14px 14px 14px 4px;
  padding: 7px 11px;
  font-size: 0.84rem;
  font-weight: 700;
  line-height: 1.4;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
}

.key-pill {
  background-color: #FEF3C7;
  color: #92400E;
  border: 1px solid #F59E0B;
}

/* ==========================================================================
   OVERLAY BẪY HỐ ĐEN THUẬT TOÁN (21:15 -> 22:05)
   ========================================================================== */
.trap-card {
  width: 100%;
  max-width: 420px;
  background: radial-gradient(circle at top, #312E81 0%, #1E1B4B 75%);
  color: #FFFFFF;
  border: 2px solid #F472B6;
  border-radius: 22px;
  padding: 24px 20px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65);
}

@keyframes spinVortex {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

.trap-vortex {
  width: 68px;
  height: 68px;
  margin: 0 auto 12px;
  border-radius: 50%;
  border: 3px dashed #F472B6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  animation: spinVortex 1.2s linear infinite;
}

.trap-badge {
  display: inline-block;
  font-family: var(--font-title);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 999px;
  background-color: var(--red-alert);
  color: #FFFFFF;
  margin-bottom: 8px;
}

.trap-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #FDE68A;
  margin-bottom: 6px;
}

.trap-desc {
  font-size: 0.84rem;
  color: #E2E8F0;
  margin-bottom: 14px;
}

.trap-clock-box {
  display: inline-block;
  background-color: rgba(0, 0, 0, 0.55);
  border: 2px solid #FDE047;
  border-radius: 16px;
  padding: 10px 24px;
  margin-bottom: 10px;
}

.trap-clock {
  font-family: var(--font-title);
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #FDE047;
}

.trap-subtext {
  font-size: 0.8rem;
  font-weight: 700;
  color: #FBCFE8;
}

.trap-skip-hint {
  margin-top: 12px;
  font-size: 0.76rem;
  font-weight: 700;
  color: rgba(226, 232, 240, 0.75);
  cursor: pointer;
}

.trap-card {
  cursor: pointer;
}

/* ==========================================================================
   THẺ CHỐT CUỐI NGÀY (DAILY TAKEAWAY CARD)
   ========================================================================== */
.takeaway-card {
  max-width: 560px;
}

.takeaway-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 2px solid #E2E8F0;
}

.takeaway-puzzle-box {
  background: linear-gradient(135deg, #EEF2FF 0%, #E0F2FE 100%);
  border-left: 5px solid var(--cobalt);
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 14px;
}

.takeaway-kicker {
  font-family: var(--font-title);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--cobalt);
  margin-bottom: 4px;
}

.takeaway-message {
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.5;
  color: #0F172A;
}

.takeaway-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.takeaway-stat-item {
  background-color: #F8FAFC;
  border: 1.5px solid #CBD5E1;
  border-radius: 10px;
  padding: 8px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 700;
}

.takeaway-stat-item strong {
  font-family: var(--font-title);
  font-size: 0.92rem;
  color: var(--cobalt);
}

.takeaway-miu {
  margin-bottom: 12px;
}

.domino-alert {
  background-color: #FFF1F2;
  border: 1.5px solid var(--red-alert);
  color: #9F1239;
  border-radius: 12px;
  padding: 9px 12px;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 12px;
}

/* ==========================================================================
   OVERLAY ĐIỂM CHẠM THỰC TẾ 15 GIÂY (MICRO-ACTION REALITY ANCHOR)
   ========================================================================== */
.anchor-card {
  max-width: 480px;
  text-align: center;
}

.anchor-badge {
  display: inline-block;
  font-family: var(--font-title);
  font-size: 0.74rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 999px;
  background-color: #E0F2FE;
  color: #0369A1;
  margin-bottom: 8px;
}

.anchor-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 10px;
}

.anchor-visual {
  position: relative;
  width: 132px;
  height: 132px;
  margin: 8px auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@keyframes breathPulse {
  0%, 100% { transform: scale(0.9); opacity: 0.65; }
  50%      { transform: scale(1.08); opacity: 1; }
}

.anchor-breath-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background-color: rgba(186, 230, 253, 0.45);
  border: 2px dashed var(--sky);
  animation: breathPulse 5s infinite ease-in-out;
}

.anchor-glass-svg {
  width: 104px;
  height: 104px;
  position: relative;
  z-index: 2;
}

.anchor-miu {
  text-align: left;
  margin-bottom: 14px;
}

.anchor-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.anchor-timer-text {
  font-size: 0.88rem;
  font-weight: 700;
  color: #0369A1;
}

.anchor-timer-text strong {
  font-family: var(--font-title);
  font-size: 1.2rem;
  color: #0F172A;
}

.btn-primary-cobalt:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  filter: none;
}

/* ==========================================================================
   MÀN HÌNH TỔNG KẾT HOÀN TẤT & THẺ DANH HIỆU CHIBI
   ========================================================================== */
.summary-card {
  max-width: 640px;
}

.summary-top-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 10px;
  margin-bottom: 12px;
  border-bottom: 2px solid #E2E8F0;
}

.summary-campaign-tag {
  font-family: var(--font-title);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--cobalt);
  background-color: #EEF2FF;
  padding: 4px 10px;
  border-radius: 999px;
}

.summary-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: center;
  background: linear-gradient(135deg, #EFF6FF 0%, #FEF3C7 100%);
  border: 2px solid #CBD5E1;
  border-radius: 16px;
  padding: 12px;
  margin-bottom: 12px;
}

.summary-svg-wrap {
  max-width: 210px;
  margin: 0 auto;
}

.summary-kicker {
  font-family: var(--font-title);
  font-size: 0.72rem;
  font-weight: 800;
  color: #B45309;
  margin-bottom: 2px;
}

.summary-title-name {
  font-size: 1.32rem;
  font-weight: 800;
  color: var(--cobalt);
  margin-bottom: 4px;
}

.summary-title-desc {
  font-size: 0.84rem;
  font-weight: 600;
  color: #334155;
  line-height: 1.45;
  margin-bottom: 8px;
}

.summary-keys-row {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.summary-plan-box {
  background-color: #ECFDF5;
  border-left: 5px solid var(--emerald);
  border-radius: 12px;
  padding: 10px 12px;
  margin-bottom: 10px;
}

.summary-action-plan {
  font-size: 0.88rem;
  font-weight: 700;
  color: #065F46;
  line-height: 1.45;
}

.summary-campaign-footer {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  color: #475569;
  margin-bottom: 12px;
}

.summary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.btn-secondary-outline {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 0.9rem;
  padding: 10px 18px;
  border-radius: 12px;
  border: 2px solid #CBD5E1;
  background-color: #FFFFFF;
  color: #1E293B;
  cursor: pointer;
}

.btn-secondary-outline:hover {
  background-color: #F1F5F9;
}

.btn-review-outline {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 0.9rem;
  padding: 10px 18px;
  border-radius: 12px;
  border: 2px solid var(--sky);
  background-color: #F0F9FF;
  color: #0369A1;
  cursor: pointer;
}

.btn-review-outline:hover {
  background-color: #E0F2FE;
}

/* Hộp 3 Điều Mèo Miu Nhắn Nhủ ở kết thúc Tuần */
.outcome-quotes-box {
  background: linear-gradient(135deg, #EFF6FF 0%, #FEF3C7 100%);
  border-left: 5px solid var(--cobalt);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 12px;
}

.outcome-quotes-title {
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--cobalt);
  margin-bottom: 6px;
}

.outcome-quotes-list {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.5;
  color: #1E293B;
}

/* ==========================================================================
   MÀN HÌNH THÔNG ĐIỆP RIÊNG CUỐI TUẦN (FULL-SCREEN REFLECTION + TYPEWRITER)
   ========================================================================== */
.reflection-screen {
  position: fixed;
  inset: 0;
  z-index: 55;
  background: radial-gradient(circle at center, #FFFFFF 0%, #FFFDF7 52%, #FEF3C7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
}

.reflection-card {
  width: 100%;
  max-width: 680px;
  background-color: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 24px;
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.12);
  padding: 22px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.reflection-top-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.reflection-pill {
  background-color: #1E40AF;
  color: #FFFFFF;
  font-family: var(--font-title);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 5px 12px;
  border-radius: 999px;
}

.reflection-toggles {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.reflection-toggle-btn {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  color: #334155;
  background-color: #F8FAFC;
  border: 1px solid #CBD5E1;
  border-radius: 999px;
  padding: 5px 11px;
  cursor: pointer;
}

.reflection-toggle-btn:hover {
  background-color: #EFF6FF;
}

.reflection-header {
  text-align: center;
}

.reflection-kicker {
  font-family: var(--font-title);
  font-size: 0.88rem;
  font-weight: 800;
  color: #D97706;
  margin-bottom: 4px;
}

.reflection-title {
  font-family: var(--font-title);
  font-size: 1.6rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.25;
}

.reflection-typewriter-box {
  position: relative;
  background-color: #FFFDF7;
  border: 1.5px solid #E2E8F0;
  border-radius: 18px;
  padding: 18px 18px 34px;
  min-height: 190px;
  cursor: pointer;
  line-height: 1.7;
  color: #1E293B;
  font-size: 0.98rem;
  font-weight: 600;
}

.reflection-typewriter-text {
  display: inline;
  white-space: pre-line;
}

@keyframes blinkCursor {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.reflection-cursor {
  display: inline-block;
  font-weight: 800;
  color: var(--cobalt);
  animation: blinkCursor 0.8s infinite;
}

.reflection-skip-hint {
  position: absolute;
  right: 14px;
  bottom: 10px;
  font-size: 0.74rem;
  font-style: italic;
  font-weight: 700;
  color: #94A3B8;
}

.reflection-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.reflection-cta:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
  filter: none;
  box-shadow: none;
}

.reflection-review-link {
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 800;
  color: #475569;
  background: transparent;
  border: none;
  text-decoration: underline dotted;
  cursor: pointer;
  padding: 4px 8px;
}

.reflection-review-link:hover {
  color: var(--cobalt);
}

/* Nút & Modal Hướng dẫn trên Splash Screen */
.splash-guide-link {
  font-family: var(--font-body);
  font-size: 0.86rem;
  font-weight: 800;
  color: #475569;
  background: transparent;
  border: none;
  padding: 6px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: color 0.14s ease, background-color 0.14s ease;
}

.splash-guide-link:hover {
  color: #1E40AF;
  background-color: rgba(219, 234, 254, 0.55);
}

.modal-guide-top {
  z-index: 70;
}

.guide-card {
  max-width: 500px;
}

.guide-blocks {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 14px;
}

.guide-block {
  border-radius: 14px;
  padding: 11px 13px;
  text-align: left;
}

.guide-block-title {
  font-family: var(--font-title);
  font-size: 0.88rem;
  font-weight: 800;
  margin-bottom: 4px;
  color: #0F172A;
}

.guide-block p {
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.5;
  color: #334155;
}

.guide-goal     { background-color: #EFF6FF; border-left: 4px solid #2563EB; }
.guide-backpack { background-color: #FFFBEB; border-left: 4px solid #F59E0B; }
.guide-flow     { background-color: #ECFDF5; border-left: 4px solid #10B981; }

.guide-footer {
  display: flex;
  justify-content: center;
}

@media (min-width: 640px) {
  .reflection-card {
    padding: 28px 30px;
  }
  .reflection-title {
    font-size: 1.85rem;
  }
  .reflection-typewriter-box {
    font-size: 1.04rem;
    padding: 22px 22px 36px;
  }
}

/* Modal xác nhận Làm lại */
.restart-card {
  max-width: 440px;
}

.restart-hero {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.restart-miu-avatar {
  width: 44px;
  height: 44px;
  font-size: 1.45rem;
}

.restart-subtitle {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--ink-muted);
}

.restart-message {
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.55;
  color: #1E293B;
  background-color: #FFF1F2;
  border-left: 4px solid var(--red-alert);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 16px;
}

.restart-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.btn-danger-red {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 0.9rem;
  padding: 10px 18px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(135deg, var(--red-alert) 0%, #DC2626 100%);
  color: #FFFFFF;
  box-shadow: 0 4px 0 #991B1B;
  cursor: pointer;
  transition: transform 0.14s ease, filter 0.14s ease;
}

.btn-danger-red:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.btn-danger-red:active {
  transform: translateY(2px);
}

/* ==========================================================================
   BANNER CHẾ ĐỘ XEM LẠI (REVIEW MODE)
   ========================================================================== */
.review-banner {
  background: linear-gradient(135deg, #FEF3C7 0%, #E0F2FE 100%);
  border: 2px solid #F59E0B;
  border-radius: 14px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.review-banner-label {
  font-family: var(--font-title);
  font-size: 0.82rem;
  font-weight: 800;
  color: #92400E;
}

.review-banner-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.review-slot-tabs,
.review-action-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.review-tab {
  font-family: var(--font-body);
  font-size: 0.74rem;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: 999px;
  border: 1.5px solid #CBD5E1;
  background-color: #FFFFFF;
  color: #1E293B;
  cursor: pointer;
}

.review-tab.is-active {
  background-color: var(--cobalt);
  border-color: var(--cobalt);
  color: #FFFFFF;
}

.review-btn-return {
  font-family: var(--font-title);
  font-size: 0.74rem;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 10px;
  border: none;
  background-color: var(--cobalt);
  color: #FFFFFF;
  cursor: pointer;
}

.review-btn-replay {
  font-family: var(--font-title);
  font-size: 0.74rem;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 10px;
  border: 1.5px solid var(--red-alert);
  background-color: #FFF1F2;
  color: #9F1239;
  cursor: pointer;
}

.review-btn-replay:hover {
  background-color: var(--red-alert);
  color: #FFFFFF;
}

/* ==========================================================================
   CƠ CHẾ MỞ TỪNG BƯỚC 1 LẦN CHẠM (PROGRESSIVE REVEAL)
   ========================================================================== */
.scenario-card.is-awaiting-tap {
  cursor: pointer;
}

.reveal-prompt-btn {
  width: 100%;
  margin-top: 4px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 2px dashed var(--sky);
  background: linear-gradient(135deg, #F0F9FF 0%, #EEF2FF 100%);
  color: var(--cobalt);
  font-family: var(--font-title);
  font-size: 0.9rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.reveal-prompt-btn:hover {
  transform: translateY(-2px);
  border-color: var(--cobalt);
  background: linear-gradient(135deg, #E0F2FE 0%, #DBEAFE 100%);
}

@keyframes pulseArrow {
  0%, 100% { transform: translateX(0px); }
  50%      { transform: translateX(4px); }
}

.reveal-arrow {
  display: inline-block;
  font-size: 1.1rem;
  animation: pulseArrow 1.5s infinite ease-in-out;
}

@keyframes revealSlideUp {
  0% {
    opacity: 0;
    transform: translateY(14px);
  }
  100% {
    opacity: 1;
    transform: translateY(0px);
  }
}

.reveal-content.is-revealed,
.choices-container.is-revealed {
  animation: revealSlideUp 0.34s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

/* ==========================================================================
   MÀN HÌNH MỞ ĐẦU (SPLASH SCREEN)
   ========================================================================== */
.splash-screen {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: radial-gradient(circle at center, #FFFFFF 0%, #FFFDF7 48%, #FEF3C7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}

.splash-screen.is-fading {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.splash-card {
  width: 100%;
  max-width: 520px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.splash-top-badge {
  display: inline-block;
  background-color: #1E40AF;
  color: #FFFFFF;
  font-family: var(--font-title);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(30, 64, 175, 0.25);
}

.splash-hero-svg-wrap {
  width: 100%;
  max-width: 260px;
  margin: 4px 0;
}

.splash-hero-svg {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes keyPulse {
  0%, 100% { opacity: 0.85; transform: translateY(0px); }
  50%      { opacity: 1; transform: translateY(-2px); }
}

.splash-key-0 { animation: keyPulse 2.4s infinite ease-in-out; }
.splash-key-1 { animation: keyPulse 2.4s infinite ease-in-out 0.4s; }
.splash-key-m { animation: keyPulse 2.4s infinite ease-in-out 0.8s; }

.splash-miu-tail {
  transform-origin: 68px 82px;
  animation: wagTail 3s infinite ease-in-out;
}

.splash-title {
  font-family: var(--font-title);
  font-size: 2.5rem;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.splash-tagline {
  font-size: 0.98rem;
  font-weight: 700;
  color: #475569;
  line-height: 1.5;
  max-width: 420px;
}

.splash-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  width: 100%;
}

.splash-cta-btn {
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.05rem;
  padding: 14px 32px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #1E40AF 0%, #2563EB 100%);
  color: #FFFFFF;
  box-shadow: 0 5px 0 #1E1B4B, 0 12px 24px rgba(30, 64, 175, 0.3);
  cursor: pointer;
  transition: transform 0.14s ease, filter 0.14s ease;
}

.splash-cta-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.splash-cta-btn:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 #1E1B4B;
}

.splash-sub-btn {
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 800;
  color: #1E40AF;
  background-color: transparent;
  border: 1.5px solid #BFDBFE;
  border-radius: 999px;
  padding: 7px 18px;
  cursor: pointer;
}

.splash-sub-btn:hover {
  background-color: #EFF6FF;
}

@media (min-width: 560px) {
  .summary-hero {
    grid-template-columns: 200px 1fr;
  }
}

/* ==========================================================================
   RESPONSIVE: ĐIỆN THOẠI DỌC (375-430px) -> MÁY CHIẾU LỚP HỌC (16:9)
   ========================================================================== */
@media (min-width: 640px) {
  body { padding: 16px 22px 24px; }
  .week-pills { order: 2; width: auto; }
  .hud-controls { order: 3; }
  .btn-hide-sm { display: inline; }
}

@media (min-width: 960px) {
  body { padding: 18px 28px; }
  .stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
  .split-stage { grid-template-columns: 5fr 7fr; gap: 16px; }
  .card-title { font-size: 1.28rem; }
  .card-story { font-size: 1rem; }
}
