/* ==========================================================================
   Parentia v110 — Gelombang 2 Super-App Upgrade (Hasil Bedah REA 5 Aplikasi)
   1. Tombol Darurat Bunda / SOS Tantrum (Good Inside)
   2. Ruang Tenang Montessori Rendah Stimulasi (Pok Pok)
   3. Cek Tumbuh Kembang 5 Menit & Rapor 4 Aspek (Kinedu)
   4. Pojok Dongeng Audio Malam + Mode Layar Redup (Edoki / Little Readers)
   5. Alat Peraga Montessori: Tebak Bunyi Awal & Meja Manik Emas (Edoki)
   ========================================================================== */

.su-tabnum, .bead-sum, .bead-col-num, .ck-pct, .sos-timer, .dg-step-pill {
  font-variant-numeric: tabular-nums;
}

/* Sembunyikan panel khusus orang tua saat Mode Si Kecil aktif */
body.kid-mode .parent-quick-strip {
  display: none !important;
}

/* ---------- Strip Pegangan Cepat Bunda di Beranda ---------- */
.parent-quick-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 18px;
}
@media (max-width: 720px) {
  .parent-quick-strip {
    grid-template-columns: minmax(0, 1fr);
  }
}
.pqs-card {
  display: flex;
  align-items: center;
  gap: 13px;
  width: 100%;
  min-height: 76px;
  text-align: left;
  padding: 13px 16px;
  border-radius: 20px;
  border: 1.5px solid transparent;
  cursor: pointer;
  font-family: inherit;
  transition-property: transform, box-shadow, border-color, background-color;
  transition-duration: 160ms;
  transition-timing-function: ease-out;
}
.pqs-card:active { transform: scale(0.985); }
.pqs-card.sos {
  background: linear-gradient(135deg, #FFF1F2 0%, #FFE4E6 100%);
  border-color: #FECDD3;
  color: #881337;
  box-shadow: 0 12px 24px -18px rgba(225, 29, 72, 0.35);
}
.pqs-card.sos:hover { border-color: #FDA4AF; box-shadow: 0 14px 28px -16px rgba(225, 29, 72, 0.42); }
.pqs-card.kinedu {
  background: linear-gradient(135deg, #F0FDFA 0%, #CCFBF1 100%);
  border-color: #99F6E4;
  color: #134E4A;
  box-shadow: 0 12px 24px -18px rgba(13, 148, 136, 0.35);
}
.pqs-card.kinedu:hover { border-color: #5EEAD4; box-shadow: 0 14px 28px -16px rgba(13, 148, 136, 0.42); }
.pqs-ic {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 24px;
  flex: none;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
}
.pqs-body { min-width: 0; flex: 1; }
.pqs-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 99px;
  margin-bottom: 3px;
}
.pqs-card.sos .pqs-eyebrow { background: #FFE4E6; color: #BE123C; }
.pqs-card.kinedu .pqs-eyebrow { background: #CCFBF1; color: #0F766E; }
.pqs-body b {
  display: block;
  font-family: 'Baloo 2', cursive;
  font-size: 17.5px;
  line-height: 1.18;
  text-wrap: balance;
}
.pqs-body span {
  display: block;
  font-size: 12.5px;
  opacity: 0.88;
  line-height: 1.35;
  text-wrap: pretty;
}
.pqs-go {
  font-weight: 800;
  font-size: 13px;
  padding: 7px 11px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.85);
  flex: none;
}
@media (max-width: 420px) {
  .pqs-go { display: none; }
}

/* Warna Kartu Dunia Spesial Gelombang 2 */
.dw.sage   { background: linear-gradient(150deg, #84A98C, #52796F); --wc: #52796F; }
.dw.night  { background: linear-gradient(150deg, #4338CA, #1E1B4B); --wc: #312E81; }
.dw.gold   { background: linear-gradient(150deg, #F59E0B, #B45309); --wc: #B45309; }

/* ---------- Layout Umum Halaman Modul Gelombang 2 ---------- */
.su-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 18px 16px 56px;
}
.su-hero {
  border-radius: 26px;
  padding: 22px 20px;
  margin-bottom: 18px;
  position: relative;
  overflow: hidden;
}
.su-hero h1 {
  font-family: 'Baloo 2', cursive;
  font-size: 27px;
  line-height: 1.15;
  text-wrap: balance;
  margin-bottom: 6px;
}
.su-hero p {
  font-size: 14px;
  line-height: 1.5;
  text-wrap: pretty;
  opacity: 0.94;
}

/* ==========================================================================
   1. TOMBOL DARURAT BUNDA / SOS TANTRUM (GOOD INSIDE STYLE)
   ========================================================================== */
.sos-hero {
  background: linear-gradient(135deg, #881337 0%, #BE123C 58%, #E11D48 100%);
  color: #fff;
  box-shadow: 0 20px 40px -22px rgba(136, 19, 55, 0.55);
}
.sos-breath-box {
  margin-top: 14px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 18px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.sos-orb-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.sos-orb {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle, #FFE4E6 0%, #FDA4AF 100%);
  color: #881337;
  display: grid;
  place-items: center;
  font-size: 20px;
  flex: none;
}
.sos-orb.breathing {
  animation: sosPulse 5s ease-in-out infinite;
}
@keyframes sosPulse {
  0%, 100% { transform: scale(0.88); box-shadow: 0 0 0 0 rgba(255, 228, 230, 0.5); }
  45% { transform: scale(1.16); box-shadow: 0 0 0 12px rgba(255, 228, 230, 0); }
}
.sos-breath-btn {
  min-height: 44px;
  padding: 9px 15px;
  border-radius: 13px;
  border: none;
  background: #fff;
  color: #9F1239;
  font-family: inherit;
  font-weight: 800;
  font-size: 13.5px;
  cursor: pointer;
  transition-property: transform, background-color, box-shadow;
  transition-duration: 150ms;
  transition-timing-function: ease-out;
}
.sos-breath-btn:active { transform: scale(0.97); }

.sos-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.sos-tab {
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 13px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--navy);
  font-family: inherit;
  font-weight: 800;
  font-size: 13.5px;
  cursor: pointer;
  transition-property: transform, background-color, border-color, color;
  transition-duration: 150ms;
}
.sos-tab.on {
  background: #FFF1F2;
  border-color: #FB7185;
  color: #9F1239;
}

.sos-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
@media (max-width: 680px) {
  .sos-grid { grid-template-columns: minmax(0, 1fr); }
}
.sos-sit-btn {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  min-height: 82px;
  padding: 15px;
  border-radius: 20px;
  border: 1.5px solid var(--line);
  background: #fff;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  transition-property: transform, border-color, box-shadow;
  transition-duration: 150ms;
}
.sos-sit-btn:hover { border-color: #FDA4AF; box-shadow: 0 12px 24px -18px rgba(190, 18, 60, 0.3); }
.sos-sit-btn:active { transform: scale(0.98); }
.sos-sit-em {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: #FFF1F2;
  display: grid;
  place-items: center;
  font-size: 24px;
  flex: none;
}
.sos-sit-tx b {
  display: block;
  font-family: 'Baloo 2', cursive;
  font-size: 17.5px;
  color: var(--navy);
  line-height: 1.2;
}
.sos-sit-tx span {
  display: block;
  font-size: 12.5px;
  color: var(--slate);
  margin-top: 3px;
  line-height: 1.38;
}

.sos-detail-card {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 24px;
  padding: 20px 18px;
  box-shadow: 0 16px 34px -24px rgba(26, 16, 51, 0.22);
}
.sos-why {
  background: #FFFBEB;
  border: 1.5px solid #FDE68A;
  border-radius: 16px;
  padding: 12px 14px;
  font-size: 13.5px;
  color: #92400E;
  line-height: 1.48;
  margin: 14px 0;
}
.sos-say-card {
  background: #F0FDF4;
  border: 1.5px solid #BBF7D0;
  border-radius: 18px;
  padding: 14px;
  margin-bottom: 10px;
}
.sos-say-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}
.sos-say-tag {
  font-size: 11.5px;
  font-weight: 800;
  color: #15803D;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.sos-save-btn {
  min-height: 40px;
  padding: 5px 11px;
  border-radius: 10px;
  border: 1px solid #86EFAC;
  background: #fff;
  color: #166534;
  font-family: inherit;
  font-weight: 700;
  font-size: 12px;
  cursor: pointer;
}
.sos-save-btn.saved {
  background: #DCFCE7;
  border-color: #22C55E;
}
.sos-quote {
  font-size: 15px;
  font-weight: 700;
  color: #14532D;
  line-height: 1.48;
  text-wrap: pretty;
}
.sos-avoid-box {
  background: #FEF2F2;
  border: 1.5px solid #FECACA;
  border-radius: 16px;
  padding: 13px 14px;
  margin-top: 12px;
  font-size: 13.5px;
  color: #991B1B;
  line-height: 1.45;
}
.sos-repair-box {
  background: #F5F3FF;
  border: 1.5px solid #DDD6FE;
  border-radius: 16px;
  padding: 13px 14px;
  margin-top: 12px;
  font-size: 13.5px;
  color: #4C1D95;
  line-height: 1.45;
}

/* ==========================================================================
   2. RUANG TENANG MONTESSORI (POK POK LOW-STIMULATION PLAYROOM)
   ========================================================================== */
.zen-page {
  background: #FBF8F1;
  border-radius: 28px;
  padding: 18px 16px 28px;
  border: 1.5px solid #E7DEC8;
}
.zen-hero {
  background: linear-gradient(135deg, #EDE5D5 0%, #DDE7DC 100%);
  color: #354F52;
  border: 1.5px solid #CAD7C9;
}
.zen-shelf {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
@media (max-width: 720px) {
  .zen-shelf { grid-template-columns: minmax(0, 1fr); }
}
.zen-toy-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-height: 148px;
  padding: 18px;
  border-radius: 22px;
  border: 2px solid #E3D9C6;
  background: #FFFDF8;
  color: #354F52;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  transition-property: transform, border-color, box-shadow;
  transition-duration: 180ms;
  transition-timing-function: ease-out;
}
.zen-toy-card:hover { border-color: #84A98C; box-shadow: 0 14px 28px -20px rgba(53, 79, 82, 0.35); }
.zen-toy-card:active { transform: scale(0.98); }
.zen-toy-ic {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: #F2ECE1;
  display: grid;
  place-items: center;
  font-size: 28px;
}
.zen-toy-card b {
  font-family: 'Baloo 2', cursive;
  font-size: 19px;
  line-height: 1.15;
}
.zen-toy-card span {
  font-size: 13px;
  color: #5C6F68;
  line-height: 1.4;
}

/* Toy 1: Papan Sakelar Kayu (Busy Board) */
.wood-board {
  background: linear-gradient(160deg, #EAD8BE 0%, #DEC39E 100%);
  border: 4px solid #C6A477;
  border-radius: 26px;
  padding: 18px;
  box-shadow: inset 0 2px 6px rgba(255, 255, 255, 0.45), 0 18px 34px -22px rgba(92, 64, 35, 0.45);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
@media (max-width: 640px) {
  .wood-board { grid-template-columns: minmax(0, 1fr); }
}
.wb-cell {
  background: rgba(255, 251, 244, 0.86);
  border: 2px solid #D3B892;
  border-radius: 20px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 150px;
}
.wb-label {
  font-size: 12.5px;
  font-weight: 800;
  color: #6B4F35;
  letter-spacing: 0.02em;
}
.wb-switches {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.wb-sw-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.wb-lamp {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #E5DEC9;
  border: 2px solid #C8B99E;
  transition-property: background-color, box-shadow;
  transition-duration: 220ms;
}
.wb-lamp.on.amber { background: #FDE68A; box-shadow: 0 0 16px #F59E0B; border-color: #F59E0B; }
.wb-lamp.on.sage  { background: #A7F3D0; box-shadow: 0 0 16px #10B981; border-color: #10B981; }
.wb-lamp.on.sky   { background: #BAE6FD; box-shadow: 0 0 16px #0EA5E9; border-color: #0EA5E9; }
.wb-toggle {
  width: 54px;
  height: 74px;
  border-radius: 16px;
  border: 2.5px solid #B08D62;
  background: #DFC8A7;
  padding: 5px;
  cursor: pointer;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  transition-property: background-color;
  transition-duration: 180ms;
}
.wb-toggle.on {
  background: #C9D8C5;
  align-items: flex-start;
}
.wb-knob {
  width: 38px;
  height: 30px;
  border-radius: 10px;
  background: #FFFDF8;
  box-shadow: 0 3px 6px rgba(92, 64, 35, 0.25);
}
.wb-gears-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  min-height: 86px;
}
.wb-gear {
  display: inline-grid;
  place-items: center;
  font-size: 54px;
  line-height: 1;
  transition-property: transform;
  transition-duration: 520ms;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  user-select: none;
}
.wb-gear.small { font-size: 40px; }
.wb-shutter {
  width: 100%;
  max-width: 210px;
  min-height: 88px;
  border-radius: 16px;
  border: 3px solid #B08D62;
  background: #D5BA95;
  color: #4A3520;
  font-family: 'Baloo 2', cursive;
  font-size: 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition-property: background-color, transform;
  transition-duration: 220ms;
}
.wb-shutter.open {
  background: linear-gradient(180deg, #E0F2FE 0%, #FEF3C7 100%);
}
.wb-slider-wrap {
  width: 100%;
  padding: 12px 14px;
  border-radius: 16px;
  transition-property: background-color;
  transition-duration: 250ms;
}
.wb-range {
  width: 100%;
  height: 44px;
  accent-color: #6B8F71;
  cursor: pointer;
}

/* Toy 2: Mesin Jalur Kelereng Kayu (Marble Machine) */
.marble-box {
  background: linear-gradient(180deg, #F6EFE2 0%, #EADBC4 100%);
  border: 3px solid #C9AD86;
  border-radius: 26px;
  padding: 18px 14px;
}
.marble-pick-row {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.marble-drop-btn {
  min-width: 68px;
  min-height: 54px;
  padding: 8px 14px;
  border-radius: 16px;
  border: 2px solid #C6A982;
  background: #FFFDF8;
  font-family: inherit;
  font-weight: 800;
  font-size: 14px;
  color: #4A3728;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition-property: transform, border-color, box-shadow;
  transition-duration: 150ms;
}
.marble-drop-btn:active { transform: scale(0.95); }
.marble-stage {
  position: relative;
  background: rgba(255, 253, 248, 0.78);
  border: 2px solid #D8C3A5;
  border-radius: 20px;
  padding: 18px 10px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mm-row {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  position: relative;
}
.mm-gate {
  flex: 1;
  max-width: 170px;
  min-width: 76px;
  min-height: 50px;
  padding: 6px 10px;
  border-radius: 14px;
  border: 2.5px solid #9C7A54;
  background: #E8D3B5;
  color: #4A3520;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  transition-property: transform, background-color;
  transition-duration: 160ms;
}
.mm-gate:active { transform: scale(0.95); }
.mm-gate.right { background: #CFE1CC; border-color: #6B8F71; }
.mm-bowl {
  flex: 1;
  max-width: 110px;
  min-height: 62px;
  margin: 0 4px;
  border-radius: 12px 12px 26px 26px;
  border: 2.5px solid #B08D62;
  background: #EFE2CE;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6px;
  font-size: 16px;
  transition-property: transform, background-color;
  transition-duration: 220ms;
}
.mm-bowl.lit {
  background: #DCEAD8;
  transform: translateY(-3px);
}
.mm-ball-live {
  font-size: 26px;
  filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.2));
}

/* Toy 3: Kolam Gelembung Nada Zen */
.zen-pond {
  background: linear-gradient(180deg, #E6F0EC 0%, #D4E4DF 100%);
  border: 2.5px solid #B7CFC7;
  border-radius: 26px;
  padding: 20px 14px;
  text-align: center;
}
.zen-blobs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 14px 0 20px;
}
.zen-blob {
  width: 78px;
  height: 78px;
  border-radius: 46% 54% 52% 48% / 48% 45% 55% 52%;
  border: none;
  cursor: pointer;
  font-family: 'Baloo 2', cursive;
  font-size: 22px;
  font-weight: 800;
  color: #2F3E46;
  box-shadow: 0 10px 20px -12px rgba(47, 62, 70, 0.35);
  transition-property: transform, box-shadow;
  transition-duration: 220ms;
  transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}
.zen-blob:active, .zen-blob.playing {
  transform: scale(1.14);
  box-shadow: 0 0 0 10px rgba(255, 255, 255, 0.55);
}
.zen-seq-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  max-width: 420px;
  margin: 12px auto 0;
}
.zen-seq-step {
  min-height: 48px;
  border-radius: 14px;
  border: 2px solid #AEC6BE;
  background: rgba(255, 255, 255, 0.72);
  font-weight: 800;
  font-size: 14px;
  color: #354F52;
  cursor: pointer;
  transition-property: transform, background-color, border-color;
  transition-duration: 150ms;
}
.zen-seq-step.active-col {
  border-color: #52796F;
  box-shadow: 0 0 0 3px rgba(82, 121, 111, 0.22);
}

/* ==========================================================================
   3. CEK TUMBUH KEMBANG 5 MENIT & RAPOR 4 ASPEK (KINEDU STYLE)
   ========================================================================== */
.ck-hero {
  background: linear-gradient(135deg, #0F766E 0%, #0D9488 60%, #14B8A6 100%);
  color: #fff;
}
.ck-stage-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.ck-stage-pill {
  min-height: 44px;
  padding: 8px 14px;
  border-radius: 13px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--navy);
  font-family: inherit;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  transition-property: background-color, border-color, color;
  transition-duration: 150ms;
}
.ck-stage-pill.on {
  background: #CCFBF1;
  border-color: #14B8A6;
  color: #115E59;
}
.ck-q-card {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 20px;
  padding: 16px;
  margin-bottom: 12px;
}
.ck-q-dom {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 99px;
  background: #F0FDFA;
  color: #0F766E;
  margin-bottom: 6px;
}
.ck-q-tx {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 10px;
}
.ck-opts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
@media (max-width: 520px) {
  .ck-opts { grid-template-columns: minmax(0, 1fr); }
}
.ck-opt {
  min-height: 44px;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1.5px solid var(--line);
  background: #FAF8FF;
  color: var(--navy);
  font-family: inherit;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition-property: background-color, border-color, color, transform;
  transition-duration: 140ms;
}
.ck-opt.on {
  background: #CCFBF1;
  border-color: #0D9488;
  color: #134E4A;
}
.ck-report-card {
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 24px;
  padding: 20px 18px;
  box-shadow: 0 18px 36px -24px rgba(15, 118, 110, 0.35);
}
.ck-bars {
  display: grid;
  gap: 12px;
  margin: 16px 0;
}
.ck-bar-row {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 12px 14px;
}
.ck-bar-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 7px;
  font-size: 14px;
  font-weight: 800;
  color: var(--navy);
}
.ck-status-pill {
  font-size: 11.5px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 99px;
}
.ck-status-pill.high { background: #DCFCE7; color: #166534; }
.ck-status-pill.mid  { background: #E0F2FE; color: #075985; }
.ck-status-pill.grow { background: #FEF3C7; color: #92400E; }
.ck-track {
  height: 11px;
  border-radius: 99px;
  background: #E2E8F0;
  overflow: hidden;
}
.ck-fill {
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #14B8A6, #0EA5E9);
}

/* ==========================================================================
   4. POJOK DONGENG AUDIO MALAM + MODE LAYAR REDUP (EDOKI / LITTLE READERS)
   ========================================================================== */
.dg-hero {
  background: linear-gradient(135deg, #1E1B4B 0%, #312E81 58%, #4338CA 100%);
  color: #fff;
}
.dg-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
@media (max-width: 660px) {
  .dg-grid { grid-template-columns: minmax(0, 1fr); }
}
.dg-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  width: 100%;
  min-height: 108px;
  padding: 16px;
  border-radius: 22px;
  border: 1.5px solid var(--line);
  background: #fff;
  text-align: left;
  font-family: inherit;
  cursor: pointer;
  transition-property: transform, border-color, box-shadow;
  transition-duration: 160ms;
}
.dg-card:hover { border-color: #818CF8; box-shadow: 0 14px 28px -20px rgba(49, 46, 129, 0.35); }
.dg-card:active { transform: scale(0.98); }
.dg-ic {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: #EEF2FF;
  display: grid;
  place-items: center;
  font-size: 28px;
  flex: none;
}
.dg-reader {
  background: linear-gradient(180deg, #1E1B4B 0%, #27235C 100%);
  color: #F8FAFC;
  border-radius: 26px;
  padding: 22px 18px;
  box-shadow: 0 24px 48px -24px rgba(30, 27, 75, 0.65);
}
.dg-scene-art {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  padding: 20px;
  text-align: center;
  font-size: 54px;
  margin-bottom: 16px;
}
.dg-paras {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
}
.dg-para {
  padding: 13px 15px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid transparent;
  font-size: 15.5px;
  line-height: 1.58;
  color: rgba(248, 250, 252, 0.78);
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition-property: background-color, border-color, color, transform;
  transition-duration: 180ms;
}
.dg-para.active {
  background: rgba(254, 243, 199, 0.16);
  border-color: #FBBF24;
  color: #FFFBEB;
  font-weight: 700;
}
.dg-controls {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}
.dg-btn {
  min-height: 46px;
  padding: 10px 18px;
  border-radius: 14px;
  border: none;
  font-family: inherit;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
  transition-property: transform, opacity;
  transition-duration: 140ms;
}
.dg-btn:active { transform: scale(0.97); }
.dg-btn.play { background: #FBBF24; color: #1E1B4B; }
.dg-btn.dim  { background: rgba(255, 255, 255, 0.14); color: #E0E7FF; border: 1px solid rgba(255, 255, 255, 0.25); }

/* Overlay Layar Redup Malam (Screen-Free Podcast Mode) */
.dg-dim-ov {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: #05040B;
  color: rgba(199, 210, 254, 0.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
}
.dg-dim-moon { font-size: 46px; opacity: 0.45; margin-bottom: 12px; }
.dg-dim-wake {
  margin-top: 24px;
  min-height: 48px;
  padding: 10px 22px;
  border-radius: 99px;
  border: 1px solid rgba(199, 210, 254, 0.28);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(224, 231, 255, 0.72);
  font-family: inherit;
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
}

/* ==========================================================================
   5. ALAT PERAGA MONTESSORI: TEBAK BUNYI & MANIK EMAS (EDOKI STYLE)
   ========================================================================== */
.mt-hero {
  background: linear-gradient(135deg, #B45309 0%, #D97706 60%, #F59E0B 100%);
  color: #fff;
}
.spy-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.spy-card {
  min-height: 126px;
  border-radius: 22px;
  border: 2.5px solid var(--line);
  background: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  cursor: pointer;
  font-family: inherit;
  transition-property: transform, border-color, background-color, box-shadow;
  transition-duration: 150ms;
}
.spy-card:active { transform: scale(0.96); }
.spy-card.correct { background: #ECFDF5; border-color: #10B981; }
.spy-card.wrong   { background: #FEF2F2; border-color: #F87171; }
.spy-em { font-size: 48px; line-height: 1; }
.spy-lbl { font-weight: 800; font-size: 15px; color: var(--navy); }

/* Meja Manik Emas Montessori (Ratusan · Puluhan · Satuan) */
.bead-tray {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 14px 0;
}
@media (max-width: 350px) {
  .bead-tray { grid-template-columns: minmax(0, 1fr); }
}
.bead-col {
  background: #FFFDF7;
  border: 2px solid #FDE68A;
  border-radius: 20px;
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  min-height: 186px;
}
.bead-col-head {
  text-align: center;
}
.bead-col-head span {
  display: block;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  text-transform: uppercase;
  color: #92400E;
}
.bead-col-num {
  font-family: 'Baloo 2', cursive;
  font-size: 25px;
  color: #B45309;
  line-height: 1.1;
}
.bead-vis {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: center;
  align-items: center;
  padding: 8px 2px;
  min-height: 70px;
}
.bead-hundred {
  width: 26px;
  height: 26px;
  border-radius: 5px;
  background: repeating-linear-gradient(0deg, #F59E0B 0 3px, #FDE68A 3px 5px);
  border: 1.5px solid #B45309;
  box-shadow: 0 2px 5px rgba(180, 83, 9, 0.2);
}
.bead-ten {
  width: 8px;
  height: 36px;
  border-radius: 99px;
  background: repeating-linear-gradient(180deg, #F59E0B 0 3px, #FEF3C7 3px 4.2px);
  border: 1.5px solid #B45309;
}
.bead-one {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 32%, #FEF08A, #D97706);
  border: 1.5px solid #92400E;
}
.bead-btns {
  display: flex;
  gap: 6px;
  width: 100%;
  justify-content: center;
}
.bead-pm {
  min-width: 42px;
  min-height: 42px;
  border-radius: 11px;
  border: 1.5px solid #FCD34D;
  background: #FFFBEB;
  color: #92400E;
  font-family: 'Baloo 2', cursive;
  font-size: 20px;
  font-weight: 800;
  cursor: pointer;
  transition-property: transform, background-color;
  transition-duration: 140ms;
}
.bead-pm:active { transform: scale(0.94); background: #FEF3C7; }
.bead-pm:disabled { opacity: 0.4; cursor: not-allowed; }
.bead-eq-bar {
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 20px;
  padding: 14px 16px;
  text-align: center;
  font-family: 'Baloo 2', cursive;
  font-size: 24px;
  color: var(--navy);
}
