/* ====================================================================
   NUSANTARA NADA — ENSIKLOPEDIA DIGITAL ALAT MUSIK NUSANTARA
   Figma Specification Stylesheet (Pixel-Perfect Alignment & Typography)
   ==================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Almarai:wght@300;400;600;700;800&display=swap');
@import url('https://fonts.cdnfonts.com/css/libertinus-serif');

/* Local Fallback Font-Faces to Guarantee Seamless Rendering */
@font-face {
  font-family: 'Libertinus Serif';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/LibertinusSerif-Regular.woff') format('woff');
}

@font-face {
  font-family: 'Libertinus Serif';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/LibertinusSerif-Bold.woff') format('woff');
}

@font-face {
  font-family: 'Almarai';
  font-style: normal;
  font-weight: 400;
  src: url('fonts/Almarai-Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'Almarai';
  font-style: normal;
  font-weight: 700;
  src: url('fonts/Almarai-Bold.ttf') format('truetype');
}

@font-face {
  font-family: 'Almarai';
  font-style: normal;
  font-weight: 800;
  src: url('fonts/Almarai-ExtraBold.ttf') format('truetype');
}

:root {
  /* Design Tokens from design.md */
  --maroon-900: #2B0303;
  --gold-500: #D4AF37;
  --amber-400: #F0AD52;
  --gold-ornament: #DDAE3F;
  --cream-50: #FDF6E3;
  --parchment-light: #F5E3C2;
  --parchment-dark: #D0B78A;
  --brown-600: #83562C;
  --brown-900: #2E2119;
  --white: #FFFFFF;
  --black: #000000;

  /* Gradients */
  --grad-gold: linear-gradient(135deg, #D4AF37 0%, #F0AD52 100%);
  --grad-gold-hover: linear-gradient(135deg, #E5BD42 0%, #F8BA67 100%);
  --grad-parchment: linear-gradient(135deg, #F5E3C2 0%, #E7D0A6 50%, #D0B78A 100%);
  --grad-brown: linear-gradient(180deg, #83562C 0%, #2E2119 100%);
  --grad-quiz: radial-gradient(ellipse 95% 75% at 50% 25%, #7D431D 0%, #5C3013 45%, #42200B 80%, #2A1305 100%);
  --bg-quiz-glow: rgba(221, 174, 63, 0.28);

  /* Typography: Libertinus Serif for Headings & Titles, Almarai for Body, UI, Buttons & Content */
  --font-heading: "Libertinus Serif", Georgia, "Times New Roman", serif;
  --font-body: "Almarai", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-ui: "Almarai", sans-serif;

  /* Radii */
  --r-sm: 10px;
  --r-tile: 16px;
  --r-md: 20px;
  --r-card-materi: 25px;
  --r-card-menu: 35px;
  --r-card-instr: 39px;
  --r-panel: 42px;
  --r-pill: 56px;

  /* Shadows */
  --shadow-panel: 0 30px 10px rgba(167, 100, 48, 0.2);
  --shadow-btn: 0 4px 10px rgba(0, 0, 0, 0.4);
  --shadow-card: 0 8px 20px rgba(43, 3, 3, 0.15);
  --shadow-modal: 0 25px 50px rgba(0, 0, 0, 0.7);
}

/* ====================================================================
   Reset & Viewport Structure
   ==================================================================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  width: 100%;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--maroon-900);
  background-color: var(--maroon-900);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
.font-heading {
  font-family: var(--font-heading);
}

p,
span,
button,
input,
textarea,
select,
.font-body {
  font-family: var(--font-body);
}

/* Theme Switching */
body.theme-splash {
  background-color: #2B0303;
}

body.theme-content {
  background-color: #FDF6E3;
}

body.theme-quiz {
  background: var(--grad-quiz);
  background-attachment: fixed;
}

body.theme-admin {
  background-color: #2E2119;
}

.app-viewport {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  overflow: hidden;
}

/* Watermark Pattern Background Layer */
.bg-pattern-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-repeat: repeat;
  background-position: center;
  transition: opacity 0.3s ease;
}

body.theme-splash .bg-pattern-layer {
  opacity: 0.28;
  background-image: url("aset-gambar/ui/bg_batik_pattern_official.webp");
  background-size: 1920px auto;
  background-repeat: repeat;
  background-position: center top;
  mix-blend-mode: screen;
  filter: contrast(1.12);
}

body.theme-content .bg-pattern-layer {
  opacity: 0.14;
  background-image: url("aset-gambar/ui/bg_batik_pattern_official.webp");
  background-size: 1920px auto;
  background-repeat: repeat;
  background-position: center top;
  mix-blend-mode: multiply;
}

body.theme-quiz .bg-pattern-layer {
  opacity: 0.22;
  background-image: url("aset-gambar/ui/bg_batik_pattern_official.webp");
  background-size: 1400px auto;
  background-repeat: repeat;
  background-position: center top;
  mix-blend-mode: soft-light;
}

body.theme-admin .bg-pattern-layer {
  opacity: 0.28;
  background-image: url("aset-gambar/ui/bg_batik_pattern_official.webp");
  background-size: 1920px auto;
  background-repeat: repeat;
  background-position: center top;
  mix-blend-mode: screen;
}

/* ====================================================================
   Desktop Canvas Shell (Max-width 1260px for exact card alignment)
   ==================================================================== */
.app-canvas {
  width: 100%;
  max-width: 1260px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  padding: 0 24px;
  padding-top: 6px;
  box-sizing: border-box;
}

/* Screen Transition Glass Blur Overlay - Disabled per user request */
.screen-glass-blur-layer {
  display: none !important;
}

/* ====================================================================
   Docked 100% Full-Width Edge-to-Edge Footer
   ==================================================================== */
.app-footer-docked {
  width: 100%;
  height: 38px;
  min-height: 38px;
  background: var(--grad-brown);
  border-top: 1px solid rgba(212, 175, 55, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 24px;
  margin-top: auto;
  position: relative;
  z-index: 10;
  flex-shrink: 0;
  box-sizing: border-box;
}

.footer-copy-text {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  color: rgba(253, 246, 227, 0.9);
  letter-spacing: 0.3px;
  text-align: center;
  margin: 0;
}

/* ====================================================================
   Header Bar (Aligned edge-to-edge with content cards)
   ==================================================================== */
.app-header {
  width: 100%;
  height: 68px;
  padding: 4px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 10;
  margin-bottom: 8px;
  flex-shrink: 0;
  box-sizing: border-box;
}

/* Brand Logo (Top Left) */
.brand-badge-btn {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
  user-select: none;
}

.brand-badge-btn:hover {
  transform: scale(1.04);
}

body.theme-splash .brand-badge-btn {
  background: var(--amber-400);
  border: none;
  border-radius: 18px;
  padding: 8px 14px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

body.theme-content .brand-badge-btn {
  background: transparent;
  padding: 0;
}

body.theme-quiz .brand-badge-btn {
  background: var(--amber-400);
  border: none;
  border-radius: 18px;
  padding: 8px 14px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

body.theme-admin .brand-badge-btn {
  background: var(--amber-400);
  border: none;
  border-radius: 18px;
  padding: 8px 14px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.brand-logo-img {
  height: 52px;
  width: auto;
  max-width: 65px;
  aspect-ratio: 300 / 280;
  display: block;
  object-fit: contain;
}

/* Center Title in Header (Active on Menu Utama - Spaced & Lowered) */
.header-center-title {
  display: none;
  text-align: center;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.header-center-title.visible {
  display: block;
}

.header-main-heading {
  font-family: var(--font-heading);
  font-size: clamp(32px, 3.2vw, 40px);
  font-weight: 700;
  color: var(--maroon-900);
  line-height: 1.15;
  letter-spacing: -0.2px;
}

.header-sub-heading {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.3vw, 18px);
  font-weight: 700;
  color: #5D331A;
  margin-top: 5px;
}

/* Top Right Actions Group */
.header-actions-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Golden Tile Buttons (60x60, grad-gold, radius 16px, shadow y4) */
.gold-icon-btn {
  width: 60px;
  height: 60px;
  background: var(--grad-gold);
  border: none;
  border-radius: var(--r-tile);
  box-shadow: var(--shadow-btn);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--maroon-900);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.gold-icon-btn:hover {
  background: var(--grad-gold-hover);
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.gold-icon-btn:active {
  transform: translateY(1px);
}

.gold-icon-btn svg {
  width: 32px;
  height: 32px;
}

/* Header Modes Visibility */
.header-splash .btn-splash-only {
  display: inline-flex;
}

.header-splash .btn-content-only {
  display: none !important;
}

.header-content .btn-splash-only {
  display: none !important;
}

.header-content .btn-content-only {
  display: inline-flex;
}

/* ============================================================
   Main Screen Content Shell & Ultra-Smooth Glass Screen Transitions
   ============================================================ */
.app-main-content {
  flex: 1;
  min-height: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  padding: 0;
  box-sizing: border-box;
}

.screen-view {
  display: none;
  width: 100%;
  opacity: 0;
}

.screen-view.active {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  min-height: 0;
  height: 100%;
  animation: screenFadeIn 0.22s ease-out forwards;
}

@keyframes screenFadeIn {
  0% {
    opacity: 0;
    transform: translateY(4px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   1. LAYAR BERANDA / SPLASH (Desktop - 1)
   ============================================================ */
.hero-panel-card {
  width: 100%;
  flex: 1;
  min-height: 0;
  max-height: 615px;
  background: var(--grad-parchment);
  border-radius: var(--r-panel);
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: var(--shadow-panel);
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  padding: 16px 20px 16px 48px;
  gap: 16px;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

.hero-left-col {
  flex: 0 0 470px;
  max-width: 490px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  align-self: center;
  gap: 18px;
  padding: 0;
  z-index: 5;
  position: relative;
}

.hero-title-main {
  font-family: "Libertinus Serif", Georgia, serif !important;
  font-size: 54px;
  font-weight: 700;
  color: var(--maroon-900);
  line-height: 1.15;
  margin: 0;
  letter-spacing: -0.3px;
}

.hero-title-main .hero-title-sub,
.hero-title-main span {
  font-family: "Libertinus Serif", Georgia, serif !important;
  font-size: 54px;
  font-weight: 700;
  color: var(--maroon-900);
  display: inline-block;
  white-space: nowrap;
  letter-spacing: -0.3px;
}

.hero-subtitle-desc {
  font-family: "Almarai", sans-serif;
  font-size: 24px;
  font-weight: 500;
  color: #3B1B10;
  line-height: 1.45;
  margin: 0;
}

/* Figma-Accurate Primary CTA Button (Desktop - 1) */
.btn-hero-mulai {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(180deg, #F0AD52 0%, #D88F35 100%);
  border: none;
  border-radius: 18px;
  padding: 16px 48px;
  font-family: "Almarai", sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #2B0303;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
  margin-top: 6px;
}

.btn-hero-mulai:hover {
  transform: translateY(-2px) scale(1.02);
  background: linear-gradient(180deg, #F7BA68 0%, #E29B42 100%);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.45);
}

.hero-right-col {
  flex: 1.15;
  height: 100%;
  min-height: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;
  z-index: 2;
  align-self: stretch;
  overflow: visible;
}

/* Majestic Artwork (Desktop - 1.png) - Prominent, Large, Pure Transparent, Never Clipped */
.hero-boy-artwork {
  height: 100%;
  max-height: 575px;
  width: 100%;
  max-width: 790px;
  object-fit: contain;
  object-position: right center;
  transform: none;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  filter: none !important;
  display: block;
  margin: 0;
  pointer-events: none;
  user-select: none;
  transition: transform 0.4s ease;
}


/* ============================================================
   2. LAYAR MENU UTAMA (Desktop - 6 Proportional & Harmonious)
   ============================================================ */
.menu-grand-panel {
  width: 100%;
  background: #FFFDF9;
  border-radius: var(--r-panel);
  box-shadow: 0 20px 48px rgba(167, 100, 48, 0.18), 0 2px 10px rgba(0, 0, 0, 0.05);
  border: 1.5px solid rgba(212, 175, 55, 0.35);
  padding: 24px 36px 18px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
  box-sizing: border-box;
}

.menu-cards-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 24px);
  margin-top: 0;
  width: 100%;
}

.menu-nav-card {
  height: 395px;
  background: var(--amber-400);
  border: 2.5px solid var(--maroon-900);
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(43, 3, 3, 0.16);
  position: relative;
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.28s ease, border-color 0.28s ease;
  user-select: none;
  box-sizing: border-box;
}

.menu-nav-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 38px rgba(43, 3, 3, 0.28), 0 0 18px rgba(212, 175, 55, 0.5);
  border-color: #5D1414;
}

.menu-nav-card.is-selected {
  transform: translateY(-10px) scale(1.035);
  box-shadow: 0 0 30px rgba(240, 173, 82, 0.75), 0 20px 42px rgba(43, 3, 3, 0.35);
  border-color: #D4AF37;
}

.menu-nav-card.is-selected::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.5) 0%, transparent 70%);
  animation: pulseCardGlow 0.45s ease-out forwards;
  pointer-events: none;
}

@keyframes pulseCardGlow {
  0% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

.menu-card-top-art {
  height: 275px;
  width: 100%;
  overflow: hidden;
  background: transparent;
  display: block;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.menu-card-top-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  border-radius: 0;
  display: block;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.menu-nav-card:hover .menu-card-top-art img {
  transform: scale(1.08);
}

.menu-card-bottom-info {
  flex: 1;
  padding: 14px 20px 16px 20px;
  background: linear-gradient(180deg, #F0AD52 0%, #E39C38 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
  border-top: 2.5px solid var(--maroon-900);
  box-sizing: border-box;
}

.menu-card-title-text {
  font-family: var(--font-body);
  font-size: clamp(21px, 1.9vw, 25px);
  font-weight: 800;
  color: var(--maroon-900);
  margin-bottom: 4px;
  line-height: 1.2;
}

.menu-card-sub-text {
  font-family: var(--font-body);
  font-size: clamp(14px, 1.15vw, 16px);
  font-weight: 600;
  color: #381A08;
  line-height: 1.3;
}

.menu-bottom-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
}

.gold-arrow-btn {
  width: 58px;
  height: 58px;
  background: var(--grad-gold);
  border: none;
  border-radius: var(--r-md);
  box-shadow: var(--shadow-btn);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--maroon-900);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.gold-arrow-btn:hover {
  background: var(--grad-gold-hover);
  transform: scale(1.06);
}

.gold-arrow-btn svg {
  width: 32px;
  height: 32px;
}

/* ============================================================
   Common Grand Parchment Panel (Desktop - 9, 10, 11, 12)
   ============================================================ */
.grand-parchment-panel {
  width: 100%;
  flex: 1;
  min-height: 0;
  background: var(--grad-parchment);
  border-radius: var(--r-panel);
  box-shadow: var(--shadow-panel);
  border: 1px solid rgba(0, 0, 0, 0.12);
  padding: 16px 40px;
  position: relative;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.panel-banner-header {
  text-align: center;
  margin-bottom: 10px;
}

.banner-title-inline {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 4px;
}

.panel-header-icon-img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.panel-header-heading {
  font-family: var(--font-heading);
  font-size: 38px;
  font-weight: 700;
  color: var(--maroon-900);
}

.panel-header-sub {
  font-family: var(--font-body);
  font-size: 18px;
  color: var(--maroon-900);
}

/* ============================================================
   3. LAYAR MATERI EDUKASI (Desktop - 9)
   ============================================================ */
.materi-grid-2x2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 24px;
  flex: 1;
  align-content: center;
}

.materi-item-card {
  height: 195px;
  background: var(--amber-400);
  border: 1.5px solid var(--black);
  border-radius: var(--r-card-materi);
  display: flex;
  align-items: center;
  padding: 16px 24px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.materi-item-card:hover {
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 12px 24px rgba(43, 3, 3, 0.22);
  border-color: var(--maroon-900);
}

.materi-card-icon-col {
  width: 140px;
  height: 165px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.materi-card-icon-col img {
  width: 100%;
  height: 100%;
  max-width: 135px;
  max-height: 155px;
  object-fit: contain;
  border-radius: 12px;
  filter: drop-shadow(0 6px 14px rgba(43, 3, 3, 0.22));
  transition: transform 0.3s ease;
}

.materi-item-card:hover .materi-card-icon-col img {
  transform: scale(1.06);
}

.materi-card-divider-line {
  width: 2px;
  height: 135px;
  background-color: rgba(43, 3, 3, 0.3);
  margin: 0 22px;
  flex-shrink: 0;
}

.materi-card-body-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.materi-item-title {
  font-family: var(--font-body);
  font-size: 24px;
  font-weight: 800;
  color: var(--maroon-900);
  margin-bottom: 6px;
  line-height: 1.25;
}

.materi-item-desc {
  font-family: var(--font-body);
  font-size: 16.5px;
  color: #2D1408;
  margin-bottom: 10px;
  line-height: 1.35;
}

.materi-read-link {
  font-family: var(--font-body);
  font-size: 15.5px;
  font-weight: 800;
  color: var(--maroon-900);
  transition: transform 0.2s ease;
  display: inline-block;
}

.materi-item-card:hover .materi-read-link {
  transform: translateX(4px);
}

/* ============================================================
   4. LAYAR INSTRUMEN KATEGORI MENU (Desktop - 10)
   ============================================================ */
.category-cards-3-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
  flex: 1;
  align-items: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.category-select-card {
  height: 410px;
  background: var(--amber-400);
  border: 2.5px solid var(--maroon-900);
  border-radius: 30px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(43, 3, 3, 0.18);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
  box-sizing: border-box;
}

.category-select-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 38px rgba(43, 3, 3, 0.28);
}

.category-card-top-art {
  height: 290px;
  width: 100%;
  overflow: hidden;
  background-color: transparent;
  display: block;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.category-card-top-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 0;
  transition: transform 0.4s ease;
}

.category-select-card:hover .category-card-top-art img {
  transform: scale(1.08);
}

.category-card-bottom-info {
  flex: 1;
  padding: 16px 22px;
  background: var(--amber-400);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  box-sizing: border-box;
  border-top: 2px solid var(--maroon-900);
}

.category-name-title {
  font-family: var(--font-body);
  font-size: 27px;
  font-weight: 800;
  color: var(--maroon-900);
  margin-bottom: 6px;
}

.category-underline {
  width: 85%;
  height: 2px;
  background-color: rgba(43, 3, 3, 0.4);
  margin-bottom: 8px;
}

.category-desc-text {
  font-family: var(--font-body);
  font-size: 15.5px;
  font-weight: 600;
  color: #381A08;
  line-height: 1.35;
}
  line-height: 1.3;
}

/* ============================================================
   5. LAYAR KATEGORI DETAIL (Desktop - 11, 21, 22)
   ============================================================ */
.panel-with-carousel {
  position: relative;
  justify-content: space-between;
}

.panel-inner-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.panel-inner-top-row.center-aligned {
  justify-content: center;
}

.category-active-heading {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 700;
  color: var(--maroon-900);
}

.panel-main-heading-center {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 700;
  color: var(--maroon-900);
}

.instrument-count-pill {
  background: var(--amber-400);
  padding: 8px 26px;
  border-radius: var(--r-md);
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--maroon-900);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Side Navigation Arrows for Carousel (< and >) */
.gold-side-arrow-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 58px;
  height: 58px;
  background: var(--grad-gold);
  border: none;
  border-radius: var(--r-tile);
  box-shadow: var(--shadow-btn);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--maroon-900);
  z-index: 5;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.gold-side-arrow-btn:hover {
  background: var(--grad-gold-hover);
  transform: translateY(-50%) scale(1.08);
}

.gold-side-arrow-btn svg {
  width: 32px;
  height: 32px;
}

.side-arrow-left {
  left: -24px;
}

.side-arrow-right {
  right: -24px;
}

.carousel-card-viewport {
  flex: 1;
  width: 100%;
  display: block;
  overflow: hidden;
  position: relative;
  padding: 4px 0;
}

/* ============================================================
   SISTEM SLIDER HORIZONTAL (Horizontal Drag, Inertia & Blur+Fade)
   ============================================================ */
.slider-horizontal-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  padding: 4px 0;
  box-sizing: border-box;
}

.slider-horizontal-container.is-dragging {
  cursor: grabbing !important;
}

.slider-horizontal-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 24px;
  margin: 0;
  padding: 0;
  width: max-content;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.slider-horizontal-track.no-transition {
  transition: none !important;
}

/* Individual Slide Card in Horizontal Track */
.slider-slide-card {
  flex: 0 0 380px;
  max-width: 380px;
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, filter, opacity;
}

#kategori-card-viewport .slider-slide-card {
  flex: 0 0 clamp(290px, 32vw, 380px);
  max-width: 380px;
}

#all-instruments-triplet .slider-slide-card {
  flex: 0 0 var(--catalog-card-width, 336px);
  width: var(--catalog-card-width, 336px);
  max-width: var(--catalog-card-width, 336px);
  min-width: 0;
  box-sizing: border-box;
}

/* Slide Transition States: Clean subtle focus without muddy blur */
.slider-slide-card.slide-inactive {
  transform: scale(0.97);
  filter: none;
  opacity: 0.72;
}

.slider-slide-card.slide-active {
  transform: scale(1);
  filter: none;
  opacity: 1;
}

/* In all-instruments catalog: keep all cards 100% sharp, full opacity, and pristine */
#all-instruments-triplet .slider-slide-card,
#all-instruments-triplet .slider-slide-card.slide-inactive,
#all-instruments-triplet .slider-slide-card.slide-active {
  filter: none !important;
  opacity: 1 !important;
  transform: none !important;
}

/* Bottom Pagination Dots & Drag Hints */
.slider-bottom-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
  position: relative;
  z-index: 4;
}

.slider-dots-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background: rgba(43, 3, 3, 0.25);
  border: 1px solid rgba(212, 175, 55, 0.5);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.slider-dot:hover {
  background: rgba(212, 175, 55, 0.85);
}

.slider-dot.active {
  width: 28px;
  background: linear-gradient(90deg, #D4AF37, #F0AD52);
  border-color: #2B0303;
  box-shadow: 0 2px 8px rgba(212, 175, 55, 0.55);
}

.slider-drag-hint {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  color: #6A3B18;
  opacity: 0.85;
  letter-spacing: 0.3px;
}

/* ============================================================
   Instrument Card (Responsive containment within panel)
   ============================================================ */
.instrument-card-figma {
  width: 100%;
  max-width: 390px;
  height: 415px;
  background: var(--amber-400);
  border: 2.5px solid var(--maroon-900);
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-sizing: border-box;
  margin: 0 auto;
}

.instrument-card-figma:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 32px rgba(43, 3, 3, 0.25);
}

.instrument-card-photo-box {
  height: 310px;
  width: 100%;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at center, #FFFDF8 0%, #EBD5B0 100%);
  border-bottom: 2.5px solid var(--maroon-900);
}

.instrument-card-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.35s ease;
}

.instrument-card-figma:hover .instrument-card-main-img {
  transform: scale(1.08);
}

.instrument-card-inset-preview {
  display: none !important;
}

.instrument-card-meta-bar {
  flex: 1;
  padding: 10px 18px;
  background: var(--amber-400);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-sizing: border-box;
}

.instrument-card-texts {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.instrument-card-name {
  font-family: var(--font-body);
  font-size: 21px;
  font-weight: 700;
  color: var(--maroon-900);
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: -0.2px;
}

.instrument-card-location {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: #502206;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.instrument-card-action-btn {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background-color: var(--maroon-900);
  border: none;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
  font-size: 18px;
  flex-shrink: 0;
}

.instrument-card-action-btn:hover {
  background-color: #4A0505;
  transform: scale(1.1);
}

.btn-quick-play-sound {
  position: absolute;
  left: 14px;
  top: 14px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(43, 3, 3, 0.85);
  border: 2px solid var(--gold-500);
  color: var(--gold-500);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease;
  z-index: 3;
}

.btn-quick-play-sound:hover {
  transform: scale(1.1);
  background: var(--maroon-900);
}

/* ============================================================
   6. LAYAR ALAT MUSIK KATALOG (Desktop - 12 Continuous Track)
   ============================================================ */
.cards-triplet-viewport {
  flex: 1;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 10px 0;
  position: relative;
}

/* ============================================================
   7. LAYAR GAME KUIS MENU (Desktop - 13 Proportional 1-Page Layout)
   ============================================================ */
.quiz-menu-container {
  width: 100%;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6px 0;
  position: relative;
  box-sizing: border-box;
}

.quiz-hero-header {
  text-align: center;
  margin-bottom: 8px;
  position: relative;
  width: 100%;
}

.quiz-group-hero-img {
  max-width: 820px;
  width: 95%;
  height: auto;
  max-height: 280px;
  object-fit: contain;
  margin: 0 auto 10px auto;
  display: block;
  filter: drop-shadow(0 16px 36px rgba(0, 0, 0, 0.65)) drop-shadow(0 0 24px rgba(221, 174, 63, 0.35));
  transition: transform 0.35s ease, filter 0.35s ease;
}

.quiz-group-hero-img:hover {
  transform: translateY(-4px) scale(1.02);
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.75)) drop-shadow(0 0 30px rgba(221, 174, 63, 0.45));
}

.quiz-boy-art {
  max-width: 380px;
  height: auto;
  margin: 0 auto -20px auto;
  display: block;
}

.quiz-3d-title-img {
  max-width: 580px;
  width: 100%;
  height: auto;
  margin: 0 auto 10px auto;
  display: block;
}

.quiz-quote-sub {
  font-family: var(--font-body);
  font-size: clamp(15.5px, 1.55vw, 19.5px);
  font-weight: 700;
  color: #FFF9ED;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85), 0 0 16px rgba(221, 174, 63, 0.4);
  max-width: 840px;
  margin: 0 auto 14px auto;
  line-height: 1.35;
}

.quiz-mode-cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  width: 100%;
  max-width: 1020px;
  margin: 0 auto;
}

.quiz-select-mode-card {
  height: 250px;
  min-height: 250px;
  background: var(--amber-400);
  border: 2.5px solid var(--maroon-900);
  border-radius: 28px;
  padding: 18px 24px 16px 24px;
  position: relative;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease;
  box-sizing: border-box;
}

.quiz-select-mode-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 38px rgba(0, 0, 0, 0.45), 0 0 18px rgba(221, 174, 63, 0.55);
}

.card-dots-badge {
  position: absolute;
  top: 14px;
  right: 18px;
  color: var(--white);
  font-size: 20px;
  letter-spacing: 2px;
  opacity: 0.9;
}

.mode-icon-art {
  width: 100%;
  height: 145px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}

.quiz-mode-icon-img {
  width: auto;
  height: 135px;
  max-height: 140px;
  max-width: 160px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.38));
  transition: transform 0.25s ease;
}

.quiz-select-mode-card:hover .quiz-mode-icon-img {
  transform: scale(1.1);
}

.svg-quiz-icon {
  width: 72px;
  height: 72px;
}

.mode-card-title {
  font-family: var(--font-body);
  font-size: 24px;
  font-weight: 800;
  color: var(--maroon-900);
  margin-bottom: 4px;
  line-height: 1.2;
}

.mode-card-sub {
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 600;
  color: #381A08;
  line-height: 1.3;
}

.quiz-mode-card-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: linear-gradient(135deg, #2B0303 0%, #4A0505 100%);
  color: var(--gold-500);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 800;
  border-radius: var(--r-pill);
  padding: 5px 16px;
  margin-top: 10px;
  border: 1.5px solid var(--gold-500);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, background 0.2s ease;
}

.quiz-select-mode-card:hover .quiz-mode-card-badge {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #4A0505 0%, #2B0303 100%);
  color: #FFF;
  border-color: #FFF;
}

/* ============================================================
   8. LAYAR KUIS TEBAK CERDAS PLAY (Desktop - 14)
   ============================================================ */
.quiz-play-wrapper {
  width: 100%;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  box-sizing: border-box;
}

.quiz-backdrop-illustration-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 1200px;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
}

.quiz-backdrop-art-img {
  width: 92vw;
  max-width: 1150px;
  max-height: 85vh;
  height: auto;
  object-fit: contain;
  opacity: 0.25;
  filter: drop-shadow(0 16px 40px rgba(0, 0, 0, 0.6));
}

.quiz-top-progress-shell {
  width: 500px;
  height: 24px;
  background: var(--parchment-light);
  border: 2px solid var(--maroon-900);
  border-radius: var(--r-md);
  overflow: hidden;
  margin-bottom: 10px;
  padding: 2px;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.quiz-progress-fill-bar {
  height: 100%;
  background: var(--grad-gold);
  border-radius: 12px;
  transition: width 0.3s ease;
}

.quiz-play-parchment-panel {
  width: 100%;
  max-width: 1100px;
  flex: 1;
  min-height: 0;
  max-height: 520px;
  background: var(--parchment-light);
  border-radius: var(--r-panel);
  border: 1px solid rgba(0, 0, 0, 0.15);
  box-shadow: var(--shadow-panel);
  padding: 18px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
}

.quiz-question-pill-bar {
  width: 100%;
  min-height: 56px;
  background-color: #2B0303;
  border-radius: 22px;
  padding: 12px 24px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  box-sizing: border-box;
}

.question-prefix-label {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--amber-400);
  line-height: 1.2;
  margin-top: 2px;
}

.question-text-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.question-text-content {
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 700;
  color: var(--white);
  line-height: 1.35;
}

/* Quiz Media Slot (Photo & Audio) */
.quiz-media-slot {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.quiz-media-slot.is-hidden {
  display: none !important;
}

.quiz-question-photo-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid var(--gold-500);
  border-radius: 14px;
  padding: 5px 14px 5px 5px;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  user-select: none;
}

.quiz-question-photo-card:hover {
  transform: translateY(-2px);
  background: rgba(212, 175, 55, 0.18);
  border-color: #FFF;
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.35);
}

.quiz-question-photo-frame {
  width: 130px;
  height: 85px;
  border-radius: 10px;
  background: radial-gradient(circle, #FFFDF8 0%, #EBD5B0 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.6);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
}

.quiz-question-img {
  width: 96%;
  height: 96%;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
}

.quiz-question-photo-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.quiz-photo-badge {
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 800;
  color: var(--amber-400);
}

.quiz-photo-zoom-hint {
  font-size: 11.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(0, 0, 0, 0.35);
  padding: 3px 8px;
  border-radius: 6px;
  display: inline-block;
}

.quiz-audio-trigger-btn {
  height: 42px !important;
  font-size: 14px !important;
  padding: 0 16px !important;
  border-radius: 12px !important;
}

.quiz-options-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quiz-option-pill {
  width: 100%;
  min-height: 52px;
  background-color: #2B0303;
  border-radius: 26px;
  padding: 12px 28px;
  display: flex;
  align-items: center;
  cursor: pointer;
  border: 2px solid transparent;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 700;
  transition: transform 0.15s ease, background-color 0.2s ease, border-color 0.2s ease;
  user-select: none;
}

.quiz-option-pill:hover {
  transform: translateX(6px);
  border-color: var(--amber-400);
  background-color: #3D0808;
}

.quiz-option-pill.correct {
  background-color: #1A5319 !important;
  border-color: #508D4E !important;
  color: #FFF !important;
}

.quiz-option-pill.incorrect {
  background-color: #8B0000 !important;
  border-color: #D32F2F !important;
  color: #FFF !important;
}

.quiz-feedback-row {
  margin-top: 20px;
  background: rgba(43, 3, 3, 0.08);
  border-radius: var(--r-md);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.feedback-badge {
  padding: 6px 16px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-weight: 800;
  color: #FFF;
  background-color: #1A5319;
}

.feedback-badge.wrong {
  background-color: #8B0000;
}

.feedback-text {
  flex: 1;
  font-size: 16px;
  color: var(--maroon-900);
  line-height: 1.35;
}

.btn-next-question-gold {
  background: var(--grad-gold);
  border: none;
  border-radius: 12px;
  padding: 10px 24px;
  font-family: var(--font-ui);
  font-size: 17px;
  font-weight: 700;
  color: var(--maroon-900);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  white-space: nowrap;
}

.quiz-finish-dialog {
  text-align: center;
  padding: 20px 0;
}

.finish-title {
  font-family: var(--font-heading);
  font-size: 36px;
  color: var(--maroon-900);
  margin-bottom: 15px;
}

.finish-score-circle {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--grad-gold);
  border: 4px solid var(--maroon-900);
  color: var(--maroon-900);
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  box-shadow: var(--shadow-btn);
}

.finish-summary-line {
  font-size: 20px;
  color: var(--maroon-900);
  margin-bottom: 25px;
}

.finish-actions {
  display: flex;
  justify-content: center;
  gap: 18px;
}

.btn-gold-action {
  background: var(--grad-gold);
  border: none;
  border-radius: var(--r-md);
  padding: 12px 32px;
  font-family: var(--font-ui);
  font-size: 18px;
  font-weight: 700;
  color: var(--maroon-900);
  cursor: pointer;
  box-shadow: var(--shadow-btn);
}

.btn-dark-action {
  background: var(--maroon-900);
  border: none;
  border-radius: var(--r-md);
  padding: 12px 32px;
  font-family: var(--font-ui);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  cursor: pointer;
}

/* ============================================================
   9. LAYAR KUIS PASANG-PASANGAN (Desktop - 23)
   ============================================================ */
.matching-screen-wrapper {
  width: 100%;
  max-width: 1150px;
  margin: 0 auto;
  position: relative;
  flex: 1;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

.matching-header-pill {
  width: 500px;
  height: 48px;
  background-color: #2B0303;
  border-radius: 24px;
  margin: 0 auto 10px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.matching-header-title {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--gold-ornament);
}

.matching-board-panel {
  width: 100%;
  flex: 1;
  min-height: 0;
  max-height: 485px;
  background: var(--parchment-light);
  border-radius: var(--r-panel);
  border: 1px solid rgba(0, 0, 0, 0.15);
  box-shadow: var(--shadow-panel);
  padding: 16px 36px;
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 36px;
  align-items: center;
  position: relative;
  z-index: 1;
  box-sizing: border-box;
}

.matching-col-left {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.matching-item-instr {
  display: flex;
  align-items: center;
  gap: 14px;
}

.matching-instr-box {
  width: 295px;
  height: 82px;
  background: linear-gradient(135deg, #2B0303 0%, #1A0202 100%);
  border-radius: 18px;
  padding: 6px 14px;
  cursor: pointer;
  border: 2.5px solid var(--gold-500);
  box-shadow: 0 4px 12px rgba(43, 3, 3, 0.25);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  align-items: center;
  gap: 14px;
  box-sizing: border-box;
}

.matching-instr-box:hover,
.matching-instr-box.selected {
  transform: scale(1.03);
  border-color: #FFF;
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.45);
}

.matching-instr-box.matched {
  border-color: #508D4E !important;
  background: linear-gradient(135deg, #18331A 0%, #0F2010 100%) !important;
  opacity: 0.9;
  cursor: default;
}

.matching-img-frame {
  width: 95px;
  height: 70px;
  border-radius: 12px;
  background: radial-gradient(circle, #FFFDF8 0%, #EBD5B0 100%);
  border: 1.5px solid rgba(212, 175, 55, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.matching-img-frame img {
  width: 96%;
  height: 96%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.25));
}

.matching-name-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.matching-name-title {
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 800;
  color: #FFF9ED;
  letter-spacing: -0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.matching-name-sub {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--amber-400);
  margin-top: 2px;
}

.matching-dot-connector {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background-color: #2B0303;
  border: 2.5px solid var(--gold-500);
  flex-shrink: 0;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.matching-instr-box.selected+.matching-dot-connector,
.matching-desc-card.selected+.matching-dot-connector {
  background-color: var(--amber-400);
  transform: scale(1.3);
}

.matching-col-right {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.matching-item-desc {
  display: flex;
  align-items: center;
  gap: 14px;
}

.matching-desc-card {
  flex: 1;
  min-height: 82px;
  background: var(--amber-400);
  border-radius: 16px;
  padding: 12px 22px;
  display: flex;
  align-items: center;
  cursor: pointer;
  border: 2px solid transparent;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.matching-desc-card:hover,
.matching-desc-card.selected {
  transform: translateX(4px);
  border-color: var(--maroon-900);
}

.matching-desc-card.matched {
  background-color: #508D4E !important;
  color: #FFF !important;
  cursor: default;
}

.matching-desc-text {
  font-family: var(--font-body);
  font-size: 17px;
  font-weight: 700;
  color: var(--maroon-900);
  line-height: 1.25;
}

.matching-desc-card.matched .matching-desc-text {
  color: #FFF;
}

.matching-footer-controls {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.matching-status-pill {
  background: var(--parchment-light);
  border: 2px solid var(--maroon-900);
  padding: 8px 24px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 16px;
}

.btn-refresh-matching {
  background: var(--grad-gold);
  border: none;
  border-radius: 12px;
  padding: 8px 24px;
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 700;
  color: var(--maroon-900);
  cursor: pointer;
}

/* ============================================================
   10. LAYAR LOGIN ADMIN (Desktop - 3 Proportional & Aesthetic)
   ============================================================ */
.admin-split-screen {
  width: 100%;
  flex: 1;
  min-height: 0;
  max-height: 520px;
  display: flex;
  border-radius: var(--r-panel);
  overflow: hidden;
  box-shadow: var(--shadow-panel);
  border: 3px solid #2B0303;
  box-sizing: border-box;
}

.admin-left-half {
  width: 45%;
  background: #3B2014 url('aset-gambar/ui/bg_batik_pattern_official.webp') repeat;
  background-size: 800px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  overflow: hidden;
  position: relative;
}

.admin-left-bg-img {
  max-width: 100%;
  max-height: 520px;
  width: auto;
  height: auto;
  object-fit: contain;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  filter: none !important;
  transition: transform 0.3s ease;
}

.admin-left-bg-img:hover {
  transform: scale(1.02);
}

.admin-right-half {
  width: 55%;
  background: #FAF2E1 url('aset-gambar/ui/bg_batik_pattern_official.webp') repeat;
  background-size: 800px auto;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 24px;
}

.admin-close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: #EEA849;
  border: 2px solid #2B0303;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 800;
  color: #2B0303;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  z-index: 20;
}

.admin-close-btn:hover {
  transform: scale(1.06);
  background: #F7BA68;
}

.admin-login-card {
  width: 100%;
  max-width: 440px;
  background: #FFF8EA;
  border: 2.5px solid #2B0303;
  border-radius: 32px;
  padding: 22px 34px;
  box-shadow: 0 14px 32px rgba(43, 3, 3, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.admin-lock-icon-wrap {
  width: 44px;
  height: 44px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.svg-admin-lock {
  width: 36px;
  height: 36px;
}

.admin-card-heading {
  font-family: "Libertinus Serif", Georgia, serif;
  font-size: 28px;
  font-weight: 700;
  color: #2B0303;
  margin-bottom: 14px;
  text-align: center;
}

#form-admin-auth {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.admin-field-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.admin-field-label {
  font-family: "Almarai", sans-serif;
  font-size: 16px;
  font-weight: 600;
  color: #2B0303;
  text-align: left;
}

.admin-input-gold {
  height: 50px;
  background: #EEA849;
  border: none;
  border-radius: 12px;
  padding: 0 16px;
  font-family: "Almarai", sans-serif;
  font-size: 16px;
  color: #2B0303;
  font-weight: 600;
  outline: none;
  transition: box-shadow 0.2s ease;
}

.admin-input-gold:focus {
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.6);
}

.btn-admin-submit {
  height: 50px;
  background: #3B2014;
  color: var(--white);
  border: none;
  border-radius: 14px;
  font-family: "Almarai", sans-serif;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 8px;
  transition: background-color 0.2s ease, transform 0.2s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn-admin-submit:hover {
  background: #251408;
  transform: translateY(-2px);
}

.admin-dashboard-panel {
  width: 100%;
  max-width: 480px;
  background: var(--parchment-light);
  border: 2px solid var(--black);
  border-radius: var(--r-panel);
  padding: 30px;
}

.dashboard-heading {
  font-family: var(--font-heading);
  font-size: 26px;
  color: var(--maroon-900);
  margin-bottom: 18px;
  text-align: center;
}

.dashboard-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-bottom: 20px;
}

.dash-stat-box {
  background: var(--amber-400);
  border-radius: 12px;
  padding: 12px;
  text-align: center;
}

.dash-stat-val {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--maroon-900);
}

.dash-stat-lbl {
  font-size: 14px;
  color: var(--maroon-900);
}

.dashboard-students-list {
  max-height: 180px;
  overflow-y: auto;
  margin-bottom: 16px;
}

.btn-admin-logout {
  width: 100%;
  height: 42px;
  background: var(--maroon-900);
  color: #FFF;
  border: none;
  border-radius: 10px;
  font-weight: bold;
  cursor: pointer;
}


/* ============================================================
   Modals System
   ============================================================ */
.app-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.55);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(3px);
  animation: fadeInModal 0.2s ease forwards;
}

.app-modal-overlay.active {
  display: flex;
}

@keyframes fadeInModal {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.modal-close-gold {
  width: 44px;
  height: 44px;
  background: var(--grad-gold);
  border: none;
  border-radius: 12px;
  box-shadow: var(--shadow-btn);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: bold;
  color: var(--maroon-900);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.modal-close-gold:hover {
  transform: scale(1.08);
}

/* Modal 1: Selamat Datang (Desktop - 18) */
/* ============================================================
   MODAL 0: PILIHAN MASUK ROLE (Siswa vs Admin)
   ============================================================ */
.modal-box-role-choice {
  background: var(--cream-50);
  border: 4px solid var(--maroon-900);
  border-radius: var(--r-panel);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.7);
  width: 100%;
  max-width: 780px;
  padding: 36px 40px;
  position: relative;
  animation: modalPopIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-box-role-choice .modal-close-gold,
.modal-close-corner {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 30;
}

.role-choice-header {
  text-align: center;
  margin-bottom: 28px;
  position: relative;
}

.role-choice-title {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--maroon-900);
  margin-bottom: 6px;
}

.role-choice-sub {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--brown-600);
}

.role-choice-cards-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.role-choice-card {
  background: #FFF9ED;
  border: 2px solid rgba(131, 86, 44, 0.25);
  border-radius: var(--r-card-materi);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  box-shadow: 0 6px 18px rgba(43, 3, 3, 0.08);
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.role-choice-card:hover {
  transform: translateY(-5px);
  border-color: var(--gold-500);
  box-shadow: 0 12px 28px rgba(43, 3, 3, 0.16), 0 0 16px rgba(212, 175, 55, 0.25);
}

.role-card-badge {
  position: absolute;
  top: 14px;
  right: 16px;
  background: var(--parchment-light);
  color: var(--maroon-900);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
}

.role-card-badge.admin-badge {
  background: #4E0A0A;
  color: var(--gold-500);
}

.role-card-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--cream-50);
  border: 2px solid var(--gold-500);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.role-choice-card:hover .role-card-icon-wrap {
  transform: scale(1.1);
}

.role-card-svg {
  width: 40px;
  height: 40px;
}

.role-card-heading {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--maroon-900);
  margin-bottom: 8px;
}

.role-card-desc {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.5;
  color: #3B1B10;
  margin-bottom: 20px;
  flex: 1;
}

.btn-role-select {
  width: 100%;
  padding: 12px 18px;
  border-radius: var(--r-md);
  font-family: var(--font-ui);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.btn-role-siswa {
  background: var(--grad-gold);
  color: var(--maroon-900);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4);
}

.btn-role-siswa:hover {
  transform: scale(1.02);
  filter: brightness(1.06);
}

.btn-role-admin {
  background: linear-gradient(135deg, #2B0303 0%, #4D0A0A 100%);
  color: var(--gold-500);
  border: 1.5px solid var(--gold-500);
  box-shadow: 0 4px 12px rgba(43, 3, 3, 0.3);
}

.btn-role-admin:hover {
  transform: scale(1.02);
  color: #FFD580;
}

/* ============================================================
   MODAL 1: SELAMAT DATANG SISWA (login popup untuk siswa.jpg)
   Desain Otentik Figma Sesuai Aset Asli, Responsif Mobile & Desktop
   ============================================================ */
.modal-box-welcome {
  width: 92vw;
  max-width: 634px;
  aspect-ratio: 634 / 447;
  background: url("aset-gambar/ui/login_popup_siswa.jpg") no-repeat center center;
  background-size: 100% 100%;
  border-radius: 26px;
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.85);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
  overflow: hidden;
  animation: modalPopIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

.modal-box-welcome .modal-close-gold {
  position: absolute;
  top: 3.13%;
  right: 2.52%;
  width: 7%;
  height: 10%;
  min-width: 32px;
  min-height: 32px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 10;
  font-size: 0;
  border-radius: 50%;
}

.modal-welcome-header {
  display: none;
  /* Tertera langsung dalam gambar login_popup_siswa.jpg */
}

.modal-welcome-form {
  position: absolute;
  top: 36.69%;
  left: 50%;
  transform: translateX(-50%);
  width: 68.45%;
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 2.8vw, 26px);
  align-items: center;
}

.welcome-input-pill {
  width: 100%;
  height: clamp(34px, 8.8vw, 60px);
  background: #FFF8EE;
  border: 2px solid transparent;
  border-radius: 9999px;
  padding: 0 clamp(10px, 3.2vw, 24px);
  font-family: var(--font-body);
  font-size: clamp(12.5px, 2.7vw, 18px);
  font-weight: 700;
  color: #2B0303;
  box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.25);
  outline: none;
  text-align: center;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.welcome-input-pill::placeholder {
  color: #B59B7C;
  font-weight: 500;
}

.welcome-input-pill:focus {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.35);
}

.btn-welcome-lanjut {
  width: 58.5%;
  height: clamp(36px, 9.6vw, 64px);
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 0;
  border-radius: 9999px;
  transition: transform 0.2s ease;
}

.btn-welcome-lanjut:hover {
  transform: scale(1.03);
}

.btn-welcome-lanjut:active {
  transform: scale(0.98);
}

/* Modal 2: Informasi (Desktop - 19) */
.modal-box-info {
  width: 100%;
  max-width: 680px;
  background: #613C1C url("aset-gambar/ui/bg_batik_dark.png") repeat;
  border: 4px solid var(--maroon-900);
  border-radius: var(--r-card-menu);
  box-shadow: var(--shadow-modal);
  overflow: hidden;
}

.modal-info-top-bar {
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-info-h2 {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 700;
  color: var(--white);
}

.modal-info-inner-box {
  margin: 0 18px 24px 18px;
  background: var(--cream-50);
  border: 3px solid var(--maroon-900);
  border-radius: 28px;
  padding: 32px 36px;
}

.modal-info-paragraph {
  font-family: var(--font-body);
  font-size: 20px;
  color: var(--black);
  line-height: 1.5;
}

/* Modal 3: Hendrotriyo (Desktop - 20) */
.modal-box-hendrotriyo {
  width: 100%;
  max-width: 860px;
  background: #613C1C url("aset-gambar/ui/bg_batik_dark.png") repeat;
  border: 4px solid var(--maroon-900);
  border-radius: var(--r-card-menu);
  box-shadow: var(--shadow-modal);
  position: relative;
  overflow: hidden;
}

.modal-box-hendrotriyo .modal-close-gold {
  position: absolute;
  top: 18px;
  right: 20px;
  z-index: 5;
}

.hendrotriyo-header-bar {
  padding: 24px 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.hendrotriyo-avatar-circle {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 3.5px solid var(--gold-500);
  object-fit: cover;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease;
}

.hendrotriyo-avatar-circle:hover {
  transform: scale(1.05);
}

.hendrotriyo-titles-block {
  text-align: left;
}

.hendrotriyo-name {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--amber-400);
  line-height: 1.1;
}

.hendrotriyo-role {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-top: 4px;
}

.hendrotriyo-inner-panel {
  margin: 0 20px 24px 20px;
  background: var(--cream-50);
  border: 3px solid var(--maroon-900);
  border-radius: 28px;
  padding: 28px 36px;
}

.hendrotriyo-heading-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 12px;
}

.hendrotriyo-icon-art {
  font-size: 24px;
}

.hendrotriyo-section-title {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  color: var(--maroon-900);
}

.hendrotriyo-gold-divider {
  width: 70%;
  height: 2px;
  background: var(--amber-400);
  margin: 0 auto 20px auto;
}

.hendrotriyo-body-text p {
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--black);
  line-height: 1.5;
  margin-bottom: 14px;
}

.hendrotriyo-body-text p:last-child {
  margin-bottom: 0;
}

/* Modal 4: Instrument Detail & Sound */
.modal-box-instrument-detail {
  width: 100%;
  max-width: 980px;
  max-height: 92vh;
  background: var(--parchment-light);
  border: 4px solid var(--maroon-900);
  border-radius: var(--r-panel);
  box-shadow: var(--shadow-modal);
  overflow-y: auto;
  padding: 28px 38px;
}

.detail-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
  border-bottom: 2px solid rgba(43, 3, 3, 0.15);
  padding-bottom: 12px;
}

.detail-instrument-name {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 700;
  color: var(--maroon-900);
}

.detail-content-grid {
  display: grid;
  grid-template-columns: 390px 1fr;
  gap: 32px;
}

.detail-left-visual {
  display: flex;
  flex-direction: column;
}

.detail-main-img-wrap {
  width: 100%;
  height: 310px;
  border-radius: 20px;
  overflow: hidden;
  border: 3px solid var(--maroon-900);
  background: radial-gradient(circle, #FFFDF8 0%, #F5E8D0 100%);
  box-shadow: var(--shadow-card);
  margin-bottom: 16px;
  position: relative;
  cursor: zoom-in;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  box-sizing: border-box;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.detail-main-img-wrap:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 25px rgba(43, 3, 3, 0.25);
}

.detail-main-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.2));
}

.detail-img-zoom-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(43, 3, 3, 0.88);
  color: var(--amber-400);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: 8px;
  border: 1px solid var(--gold-500);
  pointer-events: none;
  backdrop-filter: blur(4px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.btn-play-sound-gold {
  background: var(--grad-gold);
  border: none;
  border-radius: 14px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-size: 18px;
  font-weight: 700;
  color: var(--maroon-900);
  box-shadow: var(--shadow-btn);
  cursor: pointer;
  transition: transform 0.2s ease;
}

.btn-play-sound-gold:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.detail-right-specs {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.spec-row {
  display: flex;
  gap: 10px;
  font-size: 16px;
  padding-bottom: 6px;
  border-bottom: 1px dashed rgba(43, 3, 3, 0.2);
}

.spec-label {
  font-weight: 700;
  color: var(--maroon-900);
  min-width: 140px;
}

.spec-value {
  color: var(--black);
}

.spec-desc-block {
  margin-top: 6px;
}

.spec-desc-heading {
  font-family: var(--font-heading);
  font-size: 18px;
  color: var(--maroon-900);
  margin-bottom: 4px;
}

.spec-desc-p {
  font-size: 15px;
  line-height: 1.45;
  color: var(--black);
}

/* ============================================================
   MODAL 5: DETAIL MATERI TEORI EDUKASI
   Figma Fidelity to Group 69.png, Screenshot_399, 400, 401
   ============================================================ */
.modal-box-materi-detail {
  width: 100%;
  max-width: 530px;
  max-height: 88vh;
  background: #FFF9ED;
  border: 1.5px solid #E2BD68;
  border-radius: 28px;
  box-shadow: 0 20px 45px rgba(43, 3, 3, 0.45);
  overflow-y: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-y: contain;
  padding: 30px 32px 36px 32px;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Custom Sleek Golden Scrollbar matching Figma references */
.modal-box-materi-detail::-webkit-scrollbar,
.modal-box-instrument-detail::-webkit-scrollbar {
  width: 6px;
}

.modal-box-materi-detail::-webkit-scrollbar-track,
.modal-box-instrument-detail::-webkit-scrollbar-track {
  background: transparent;
}

.modal-box-materi-detail::-webkit-scrollbar-thumb,
.modal-box-instrument-detail::-webkit-scrollbar-thumb {
  background: #DDAE3F;
  border-radius: 8px;
}

/* Top bar with title, gold underline, and close button */
.materi-detail-top-bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 18px;
  position: relative;
}

.materi-title-group {
  display: flex;
  flex-direction: column;
}

.materi-detail-heading {
  font-family: var(--font-heading);
  font-size: 27px;
  font-weight: 700;
  color: #2B0303;
  line-height: 1.2;
  margin: 0;
}

.materi-gold-underline {
  width: 135px;
  height: 3.5px;
  background: #DDAE3F;
  margin-top: 6px;
  border-radius: 2px;
}

/* Rounded Gold Square Close Button */
.modal-close-gold-square {
  width: 38px;
  height: 38px;
  background: #DDAE3F;
  border: none;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 20px;
  font-weight: 900;
  color: #1A0A05;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, background-color 0.2s ease;
  line-height: 1;
  padding: 0;
}

.modal-close-gold-square:hover {
  transform: scale(1.08);
  background: #E5BD42;
}

.materi-detail-scroll-body {
  width: 100%;
}

/* ------------------------------------------------------------
   POPUP 1: PENGERTIAN & CIRI-CIRI (Group 69.png)
   ------------------------------------------------------------ */
.materi-typo-section {
  display: flex;
  flex-direction: column;
}

.materi-subheading-bold {
  font-family: var(--font-body);
  font-size: 19px;
  font-weight: 800;
  color: #2B0303;
  margin-top: 10px;
  margin-bottom: 8px;
}

.materi-body-p {
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 1.6;
  color: #2B0303;
  margin-bottom: 14px;
}

.materi-hr-divider {
  border: none;
  border-top: 1px solid rgba(43, 3, 3, 0.35);
  margin: 10px 0 16px 0;
}

.materi-ciri-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.materi-ciri-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.45;
  color: #2B0303;
}

.materi-ciri-bullet {
  font-size: 18px;
  line-height: 1;
  color: #2B0303;
  margin-top: 2px;
}

.materi-ciri-label {
  font-weight: 800;
  color: #2B0303;
}

/* ------------------------------------------------------------
   POPUP 2: FUNGSI MUSIK TRADISIONAL (Screenshot_401.jpg)
   ------------------------------------------------------------ */
/* ------------------------------------------------------------
   POPUP 2: FUNGSI MUSIK TRADISIONAL (Screenshot_401.jpg - HD Enhanced)
   ------------------------------------------------------------ */
.materi-fungsi-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 6px;
}

.materi-fungsi-card {
  background: #EEA849;
  border-radius: 20px;
  border: 2px solid #2B0303;
  box-shadow: 0 4px 10px rgba(43, 3, 3, 0.12);
  display: flex;
  align-items: center;
  padding: 10px;
  gap: 14px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.materi-fungsi-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(43, 3, 3, 0.18);
}

.materi-fungsi-thumb-box {
  width: 86px;
  min-width: 86px;
  height: 86px;
  border-radius: 14px;
  overflow: hidden;
  border: 2px solid #2B0303;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  background: #FFF8EA;
  padding: 6px;
}

.materi-fungsi-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.materi-fungsi-body {
  flex: 1;
  padding: 4px 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.materi-fungsi-title {
  font-family: "Libertinus Serif", Georgia, serif;
  font-size: 19px;
  font-weight: 700;
  color: #2B0303;
  margin-bottom: 4px;
  line-height: 1.25;
}

.materi-fungsi-desc {
  font-family: "Almarai", sans-serif;
  font-size: 13.5px;
  line-height: 1.45;
  color: #2B0303;
  font-weight: 500;
}

/* ------------------------------------------------------------
   POPUP 3: UNSUR-UNSUR MUSIK (Screenshot_399.jpg - HD Enhanced)
   ------------------------------------------------------------ */
.materi-unsur-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 10px;
}

.materi-unsur-card {
  background: #EEA849;
  border-radius: 22px;
  border: 2px solid #2B0303;
  box-shadow: 0 4px 12px rgba(43, 3, 3, 0.12);
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.materi-unsur-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(43, 3, 3, 0.18);
}

.materi-unsur-art-wrap {
  width: 100%;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  border-radius: 14px;
  overflow: hidden;
  background: #FFF8EA;
  border: 1.5px solid rgba(43, 3, 3, 0.25);
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.05);
  padding: 6px;
}

.materi-unsur-art-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.materi-unsur-title {
  font-family: "Libertinus Serif", Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  color: #2B0303;
  margin-bottom: 6px;
  line-height: 1.25;
}

.materi-unsur-desc {
  font-family: "Almarai", sans-serif;
  font-size: 13px;
  line-height: 1.45;
  color: #2B0303;
  font-weight: 500;
}

/* ------------------------------------------------------------
   POPUP 4: JENIS ALAT MUSIK (Screenshot_400.jpg - HD Enhanced)
   ------------------------------------------------------------ */
.materi-jenis-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 8px;
}

.materi-jenis-item {
  display: flex;
  align-items: center;
  gap: 14px;
  transition: transform 0.2s ease;
}

.materi-jenis-item:hover {
  transform: translateY(-2px);
}

.materi-jenis-box {
  width: 82px;
  min-width: 82px;
  height: 82px;
  background: #FFF8EA;
  border: 2px solid #2B0303;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 6px;
  box-shadow: 0 4px 8px rgba(43, 3, 3, 0.12);
}

.materi-jenis-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.materi-jenis-card {
  flex: 1;
  background: #EEA849;
  border-radius: 18px;
  border: 2px solid #2B0303;
  box-shadow: 0 4px 10px rgba(43, 3, 3, 0.1);
  padding: 14px 18px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.materi-jenis-title {
  font-family: "Libertinus Serif", Georgia, serif;
  font-size: 18px;
  font-weight: 700;
  color: #2B0303;
  margin-bottom: 4px;
  line-height: 1.25;
}

.materi-jenis-desc {
  font-family: "Almarai", sans-serif;
  font-size: 13px;
  line-height: 1.45;
  color: #2B0303;
  font-weight: 500;
}


.modal-info-paragraph-sub {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  color: #3B1B10;
}

/* ============================================================
   Custom Golden-Bronze Smooth Scrollbar (Vertical Sliders & Modals)
   ============================================================ */
* {
  scrollbar-width: thin;
  scrollbar-color: #DDAE3F rgba(43, 3, 3, 0.08);
}

*::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}

*::-webkit-scrollbar-track {
  background: rgba(43, 3, 3, 0.06);
  border-radius: 8px;
}

*::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #D4AF37 0%, #B8860B 100%);
  border-radius: 8px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
}

*::-webkit-scrollbar-thumb:hover {
  background: #F0AD52;
}

.modal-box-materi-detail,
.modal-box-instrument-detail,
.modal-box-lightbox,
.dashboard-students-list,
.materi-detail-scroll-body {
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

/* ============================================================
   MODAL 6: LIGHTBOX FULL-RESOLUTION IMAGE PREVIEW
   ============================================================ */
.modal-box-lightbox {
  width: 92%;
  max-width: 860px;
  background: linear-gradient(145deg, #1A0202 0%, #2B0303 100%);
  border: 3px solid var(--gold-500);
  border-radius: var(--r-panel);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85);
  padding: 24px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  animation: zoomModalIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-sizing: border-box;
}

@keyframes zoomModalIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.modal-close-corner {
  position: absolute;
  top: 16px;
  right: 18px;
  z-index: 10;
}

.lightbox-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1.5px solid rgba(212, 175, 55, 0.3);
  margin-bottom: 16px;
  padding-right: 48px;
}

.lightbox-titles {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lightbox-photo-title {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  color: var(--amber-400);
}

.lightbox-photo-subtitle {
  font-family: var(--font-body);
  font-size: 13.5px;
  color: #D6C29E;
}

.lightbox-stage-wrap {
  width: 100%;
  height: 440px;
  background: radial-gradient(circle, #240C0C 0%, #0E0202 100%);
  border-radius: 16px;
  border: 1.5px solid rgba(212, 175, 55, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: inset 0 4px 20px rgba(0, 0, 0, 0.7);
  padding: 16px;
  box-sizing: border-box;
}

.lightbox-full-img {
  width: 100%;
  height: 100%;
  max-width: 650px;
  max-height: 400px;
  object-fit: contain;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.65));
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.lightbox-stage-wrap:hover .lightbox-full-img {
  transform: scale(1.03);
}

.lightbox-bottom-bar {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  text-align: center;
}

.lightbox-caption-text {
  font-family: var(--font-body);
  font-size: 14px;
  color: #FFF9ED;
  font-style: italic;
}

/* ============================================================
   Comprehensive Responsive Adaptations
   ============================================================ */
@media (max-width: 1200px) {
  .hero-title-main {
    font-size: 46px;
  }

  .hero-subtitle-desc {
    font-size: 20px;
  }

  .hero-boy-artwork {
    max-width: 620px;
    width: 100%;
    margin: 0;
    transform: none;
  }

  .menu-cards-row {
    gap: 16px;
  }

  .menu-nav-card {
    height: 310px;
  }

  .slider-slide-card {
    flex: 0 0 340px;
    max-width: 340px;
  }
}

@media (max-width: 992px) {
  .app-canvas {
    padding: 0 16px;
    padding-top: 16px;
  }

  .app-header {
    height: 90px;
    margin-bottom: 12px;
  }

  .header-center-title {
    top: 22px;
  }

  .hero-panel-card {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
    gap: 28px;
    overflow: hidden;
  }

  .hero-left-col {
    max-width: 100%;
    align-items: center;
  }

  .hero-boy-artwork {
    max-width: 100%;
    width: 100%;
    margin: 0;
    transform: none;
  }

  .menu-grand-panel {
    padding: 28px 20px 24px 20px;
  }

  .menu-cards-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .menu-nav-card {
    height: 290px;
  }

  .menu-card-top-art {
    height: 180px;
  }

  .materi-grid-2x2 {
    grid-template-columns: 1fr;
  }

  .category-cards-3-row {
    grid-template-columns: 1fr;
  }

  #all-instruments-triplet .slider-slide-card {
    flex: 0 0 calc((100% - 20px) / 2);
    max-width: calc((100% - 20px) / 2);
    min-width: 240px;
  }

  #kategori-card-viewport .slider-slide-card {
    flex: 0 0 clamp(280px, 45vw, 340px);
    max-width: 340px;
  }

  .quiz-mode-cards-row {
    grid-template-columns: 1fr;
    max-width: 440px;
    gap: 18px;
  }

  .matching-board-panel {
    grid-template-columns: 1fr;
  }

  .admin-split-screen {
    flex-direction: column;
  }

  .admin-left-half {
    width: 100%;
    height: 240px;
  }

  .detail-content-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================================
   RESPONSIVE MOBILE ENGINE (<= 768px: Mobile & Tablet Viewport)
   ============================================================ */
@media (max-width: 768px) {
  /* --- Viewport & Natural Mobile Scrolling --- */
  .app-viewport {
    height: auto !important;
    min-height: 100vh;
    min-height: 100dvh;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  .app-canvas {
    width: 100%;
    max-width: 100%;
    padding: 0 16px;
    padding-top: 10px;
    min-height: 100vh;
    min-height: 100dvh;
    flex: 1;
    display: flex;
    flex-direction: column;
  }

  .app-main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: auto;
    padding-bottom: 24px;
  }

  .screens-container {
    flex: 1;
    height: auto !important;
    min-height: auto !important;
    overflow: visible !important;
    display: flex;
    flex-direction: column;
  }

  .screen-view.active {
    flex: 1;
    height: auto !important;
    min-height: auto !important;
    overflow: visible !important;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  /* --- Mobile Header & Branding --- */
  .app-header {
    height: auto;
    min-height: 56px;
    padding: 6px 0;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
  }

  .brand-badge-btn {
    padding: 6px 10px;
    border-radius: 14px;
  }

  .brand-logo-img {
    height: 38px;
    max-width: 52px;
  }

  .header-actions-group {
    gap: 8px;
  }

  .gold-icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .gold-icon-btn svg {
    width: 20px;
    height: 20px;
  }

  .header-center-title {
    position: static;
    transform: none;
    display: none;
    text-align: center;
    margin: 4px 0 10px;
    width: 100%;
  }

  .header-center-title.visible {
    display: block;
  }

  .header-main-heading {
    font-size: 24px;
    line-height: 1.2;
  }

  .header-sub-heading {
    font-size: 13px;
    margin-top: 2px;
  }

  /* --- 1. Screen Beranda / Splash --- */
  .hero-panel-card {
    flex-direction: column-reverse;
    max-height: none;
    height: auto;
    padding: 24px 18px 20px;
    align-items: center;
    text-align: center;
    gap: 18px;
    border-radius: 24px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  }

  .hero-left-col {
    flex: none;
    width: 100%;
    max-width: 100%;
    align-items: center;
    text-align: center;
    gap: 14px;
  }

  .hero-title-main {
    font-size: clamp(28px, 7.5vw, 36px) !important;
    line-height: 1.2;
    text-align: center;
  }

  .hero-title-main .hero-title-sub,
  .hero-title-main span {
    font-size: clamp(28px, 7.5vw, 36px) !important;
    white-space: normal;
    display: block;
  }

  .hero-subtitle-desc {
    font-size: 15px;
    line-height: 1.5;
    text-align: center;
    max-width: 440px;
  }

  .btn-hero-mulai {
    width: 100%;
    max-width: 320px;
    justify-content: center;
    padding: 14px 28px;
    font-size: 18px;
    border-radius: 16px;
    margin-top: 4px;
  }

  .hero-right-col {
    flex: none;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    max-height: 250px;
    overflow: hidden;
  }

  .hero-boy-artwork {
    max-height: 230px;
    width: auto;
    object-fit: contain;
  }

  /* --- 2. Screen Menu Utama --- */
  .menu-grand-panel {
    padding: 18px 14px;
    border-radius: 24px;
  }

  .menu-cards-row {
    grid-template-columns: 1fr;
    gap: 14px;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
  }

  .menu-nav-card {
    height: auto;
    min-height: 110px;
    display: flex;
    flex-direction: row;
    align-items: center;
    border-radius: 20px;
    border: 2.5px solid var(--maroon-900);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22);
    overflow: hidden;
    background: var(--amber-400);
  }

  .menu-card-top-art {
    width: 36%;
    min-width: 100px;
    height: 110px;
    padding: 8px;
    border-bottom: none;
    border-right: 2.5px solid var(--maroon-900);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #4A1A10;
  }

  .menu-art-img {
    max-height: 94px;
    max-width: 94px;
    object-fit: contain;
  }

  .menu-card-bottom-banner {
    width: 64%;
    height: 100%;
    padding: 12px 16px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    box-sizing: border-box;
  }

  .menu-card-h2 {
    font-size: 17px;
    font-weight: 800;
    color: var(--maroon-900);
    line-height: 1.25;
    text-align: left;
    margin: 0;
  }

  .menu-card-arrow-btn {
    width: 34px;
    min-width: 34px;
    height: 34px;
    font-size: 15px;
    border-radius: 50%;
    background: var(--maroon-900);
    color: var(--gold-500);
    border: 1.5px solid var(--gold-500);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  /* --- 3. Screen Materi Edukasi --- */
  .materi-grand-panel {
    padding: 20px 16px;
    border-radius: 24px;
  }

  .materi-grid-2x2 {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .materi-item-card {
    height: auto;
    min-height: 110px;
    padding: 14px 16px;
    border-radius: 18px;
    gap: 12px;
  }

  .materi-card-icon-col {
    width: 65px;
    height: 80px;
  }

  .materi-card-icon-col img {
    max-width: 65px;
    max-height: 80px;
  }

  .materi-card-divider-line {
    height: 60px;
    margin: 0 10px;
  }

  .materi-item-title {
    font-size: 18px;
    margin-bottom: 4px;
  }

  .materi-item-desc {
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 6px;
  }

  .materi-read-more-link {
    font-size: 12.5px;
  }

  /* --- 4. Screen Kategori Menu --- */
  .category-cards-3-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .category-select-card {
    height: auto;
    min-height: 150px;
    flex-direction: row;
    border-radius: 20px;
  }

  .category-card-top-art {
    width: 40%;
    height: 150px;
    border-bottom: none;
    border-right: 2px solid var(--maroon-900);
  }

  .category-card-bottom-info {
    width: 60%;
    padding: 14px 16px;
    border-top: none;
  }

  .category-name-title {
    font-size: 20px;
  }

  .category-desc-text {
    font-size: 13px;
  }

  /* --- 5 & 6. Catalog Toolbar & Slider --- */
  .catalog-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .catalog-controls-group {
    flex-direction: column;
    width: 100%;
    gap: 8px;
  }

  .search-input-wrapper {
    width: 100%;
  }

  .catalog-search-pill {
    width: 100%;
    box-sizing: border-box;
  }

  .catalog-filter-select {
    width: 100%;
  }

  .catalog-view-toggle-btn {
    width: 100%;
    justify-content: center;
  }

  #all-instruments-triplet .slider-slide-card,
  #kategori-card-viewport .slider-slide-card {
    flex: 0 0 calc(100% - 10px);
    max-width: calc(100% - 10px);
    min-width: 0;
    margin: 0 auto;
  }

  .instrument-card-figma {
    max-width: 100%;
    height: 310px;
    border-radius: 22px;
  }

  .instrument-card-photo-box {
    height: 200px;
  }

  .instrument-title-h3 {
    font-size: 18px;
  }

  .side-arrow-left {
    left: 4px;
  }

  .side-arrow-right {
    right: 4px;
  }

  .gold-side-arrow-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    z-index: 10;
  }

  .gold-side-arrow-btn svg {
    width: 20px;
    height: 20px;
  }

  .instruments-grid-container {
    grid-template-columns: 1fr;
    gap: 14px;
    max-height: none;
    overflow: visible;
  }

  /* --- 7, 8, 9. Screen Game Kuis --- */
  .quiz-group-hero-img {
    max-height: 160px;
    width: 96%;
    margin-bottom: 6px;
  }

  .quiz-quote-sub {
    font-size: 13.5px;
    margin-bottom: 14px;
    padding: 0 8px;
  }

  .quiz-mode-cards-row {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    width: 100% !important;
    max-width: 500px !important;
    margin: 0 auto !important;
  }

  .quiz-select-mode-card {
    height: auto !important;
    min-height: 105px !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    text-align: left !important;
    padding: 12px 14px !important;
    border-radius: 20px !important;
    gap: 14px !important;
    border: 2.5px solid var(--maroon-900) !important;
    background: var(--amber-400) !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.22) !important;
    position: relative !important;
    box-sizing: border-box !important;
  }

  .card-dots-badge {
    top: 10px !important;
    right: 14px !important;
    font-size: 14px !important;
    opacity: 0.9 !important;
  }

  .mode-icon-art {
    width: 76px !important;
    min-width: 76px !important;
    height: 76px !important;
    margin-bottom: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
  }

  .quiz-mode-icon-img {
    max-height: 72px !important;
    max-width: 72px !important;
    object-fit: contain !important;
  }

  .mode-card-title {
    font-size: 17px !important;
    font-weight: 800 !important;
    margin-bottom: 2px !important;
    color: var(--maroon-900) !important;
    line-height: 1.2 !important;
  }

  .mode-card-sub {
    font-size: 12.5px !important;
    margin-bottom: 6px !important;
    color: #4A1A10 !important;
    line-height: 1.3 !important;
  }

  .quiz-mode-card-badge {
    margin-top: 2px !important;
    padding: 4px 12px !important;
    font-size: 11.5px !important;
    display: inline-block !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
  }

  .quiz-play-parchment-panel {
    max-height: none;
    height: auto;
    padding: 20px 14px;
    border-radius: 22px;
  }

  .quiz-progress-meta-row {
    font-size: 13px;
  }

  .quiz-question-pill-bar {
    padding: 12px 14px;
    border-radius: 16px;
    gap: 10px;
    margin-bottom: 12px;
    min-height: auto;
  }

  .question-prefix-label {
    font-size: 18px;
  }

  .question-text-content {
    font-size: 15.5px;
    line-height: 1.35;
  }

  .quiz-option-pill {
    font-size: 14.5px;
    padding: 10px 16px;
    min-height: 46px;
    border-radius: 14px;
  }

  .quiz-feedback-row {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 10px;
    padding: 12px;
  }

  .btn-next-question-gold {
    width: 100%;
    justify-content: center;
    height: 46px;
  }

  .matching-board-panel {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .matching-instr-box,
  .matching-target-box {
    min-height: 58px;
    padding: 10px 14px;
    font-size: 14px;
  }

  /* --- 10. Screen Login Admin & Dashboard --- */
  .admin-split-screen {
    flex-direction: column;
    max-height: none;
    height: auto;
    border-radius: 22px;
  }

  .admin-left-half {
    width: 100%;
    height: 130px;
    padding: 10px;
  }

  .admin-left-bg-img {
    max-height: 110px;
  }

  .admin-right-half {
    width: 100%;
    padding: 22px 16px;
  }

  .admin-login-card {
    max-width: 100%;
    padding: 20px 16px;
    border-radius: 22px;
  }

  .admin-card-heading {
    font-size: 24px;
  }

  .admin-filter-bar {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .admin-filter-input,
  .admin-filter-select,
  .btn-admin-action-gold,
  .btn-admin-action-danger {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }

  /* --- Modals on Mobile --- */
  .app-modal-overlay {
    padding: 14px;
    align-items: center;
    justify-content: center;
  }

  .modal-box-role-choice {
    padding: 24px 18px;
    border-radius: 22px;
    max-height: 90vh;
    overflow-y: auto;
  }

  .role-choice-title {
    font-size: 24px;
  }

  .role-choice-sub {
    font-size: 13.5px;
  }

  .role-choice-cards-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .role-choice-card {
    padding: 20px 16px;
    border-radius: 18px;
  }

  .modal-box-instrument-detail {
    padding: 20px 16px;
    border-radius: 22px;
    max-height: 88vh;
  }

  .detail-header-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .detail-instrument-name {
    font-size: 24px;
  }

  .detail-content-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .detail-main-img-wrap {
    height: 200px;
  }

  .modal-side-nav-btn {
    display: none;
  }

  .modal-box-materi-detail {
    padding: 20px 16px;
    border-radius: 22px;
    max-height: 88vh;
  }

  .modal-materi-heading {
    font-size: 22px;
  }

  .modal-box-info {
    border-radius: 22px;
    max-height: 88vh;
  }

  .modal-info-inner-box {
    padding: 18px 16px;
  }

  .modal-box-hendrotriyo {
    padding: 20px 16px;
    border-radius: 22px;
    max-height: 88vh;
  }

  .hendrotriyo-top-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
  }

  .hendrotriyo-avatar-frame {
    width: 90px;
    height: 90px;
  }

  .lightbox-stage-wrap {
    height: 240px;
  }

  /* --- Footer on Mobile --- */
  .app-footer-docked {
    height: auto;
    min-height: 34px;
    padding: 8px 16px;
  }

  .footer-copy-text {
    font-size: 11.5px;
  }
}

/* ============================================================
   EXTRA COMPACT MOBILE (<= 480px: Small Phones / iPhone SE)
   ============================================================ */
@media (max-width: 480px) {
  .app-canvas {
    padding: 0 10px;
    padding-top: 6px;
  }

  .hero-panel-card {
    padding: 20px 14px;
    border-radius: 20px;
  }

  .hero-title-main {
    font-size: 25px !important;
  }

  .hero-title-main .hero-title-sub,
  .hero-title-main span {
    font-size: 25px !important;
  }

  .hero-subtitle-desc {
    font-size: 13.5px;
  }

  .menu-cards-row {
    gap: 12px;
  }

  .menu-nav-card {
    min-height: 96px;
    border-radius: 18px;
  }

  .menu-card-top-art {
    width: 35%;
    min-width: 90px;
    height: 96px;
  }

  .menu-art-img {
    max-height: 80px;
    max-width: 80px;
  }

  .menu-card-h2 {
    font-size: 15px;
  }
}


/* ====================================================================
   PERBAIKAN 1.2: Screen Reader Only Utility
   ==================================================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ====================================================================
   PERBAIKAN 1.1: Virtual Instrument Simulator (Piano & Drum Pad)
   ==================================================================== */
.interactive-play-section {
  margin-top: 24px;
  padding: 18px 22px;
  background: rgba(43, 3, 3, 0.05);
  border: 2px solid var(--gold-500);
  border-radius: var(--r-md);
  box-shadow: inset 0 2px 6px rgba(43, 3, 3, 0.08);
}

.simulator-header {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
  border-bottom: 1px dashed rgba(212, 175, 55, 0.4);
  padding-bottom: 8px;
}

.simulator-hint {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--brown-600);
  font-style: italic;
}

.virtual-pad-container {
  width: 100%;
  overflow-x: auto;
  padding-bottom: 8px;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-500) transparent;
}

.virtual-pad-container::-webkit-scrollbar {
  height: 6px;
}

.virtual-pad-container::-webkit-scrollbar-thumb {
  background: var(--gold-500);
  border-radius: 4px;
}

/* Piano Keyboard (Chromatic 25 Keys C3 to C5) */
.piano-keyboard-wrap {
  position: relative;
  display: flex;
  user-select: none;
  width: fit-content;
  margin: 0 auto;
  padding: 10px 10px 4px 10px;
  background: #1F1008;
  border: 3px solid var(--maroon-900);
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

.piano-key-white {
  width: 38px;
  height: 135px;
  background: linear-gradient(180deg, #FFFFFF 0%, #FAF7F0 65%, #EDE5D5 100%);
  border: 1.5px solid #2B0303;
  border-right: none;
  border-radius: 0 0 6px 6px;
  box-shadow: inset 0 -4px 6px rgba(0, 0, 0, 0.12), 0 3px 4px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding-bottom: 8px;
  cursor: pointer;
  position: relative;
  z-index: 1;
  outline: none;
  transition: transform 0.05s ease, background 0.08s ease, box-shadow 0.08s ease;
}

.piano-key-white:last-child {
  border-right: 1.5px solid #2B0303;
}

.piano-key-white .key-note-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  color: #613C1C;
  line-height: 1;
  pointer-events: none;
}

.piano-key-white .key-shortcut-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 19px;
  height: 19px;
  margin-top: 5px;
  background: #D4AF37;
  color: #2B0303;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 800;
  border-radius: 4px;
  border: 1px solid #83562C;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  pointer-events: none;
}

.piano-key-white:hover {
  background: linear-gradient(180deg, #FFFFFF 0%, #FFF8E7 100%);
}

.piano-key-white.is-active,
.piano-key-white:active {
  background: linear-gradient(180deg, #F0AD52 0%, #D4AF37 100%) !important;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.25), 0 0 12px rgba(212, 175, 55, 0.8) !important;
  transform: translateY(3px);
}

.piano-key-black {
  position: absolute;
  top: 10px;
  width: 24px;
  height: 82px;
  background: linear-gradient(180deg, #382012 0%, #190B04 80%, #000000 100%);
  border: 1.5px solid #D4AF37;
  border-top: none;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding-bottom: 6px;
  cursor: pointer;
  z-index: 3;
  outline: none;
  transition: transform 0.05s ease, background 0.08s ease, box-shadow 0.08s ease;
}

.piano-key-black .key-note-label {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 700;
  color: #FAF2E1;
  pointer-events: none;
}

.piano-key-black .key-shortcut-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 17px;
  height: 17px;
  margin-top: 3px;
  background: #2B0303;
  color: #D4AF37;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 800;
  border-radius: 3px;
  border: 1px solid #D4AF37;
  pointer-events: none;
}

.piano-key-black:hover {
  background: linear-gradient(180deg, #4F2E1B 0%, #2B0303 100%);
}

.piano-key-black.is-active,
.piano-key-black:active {
  background: linear-gradient(180deg, #D4AF37 0%, #F0AD52 100%) !important;
  box-shadow: 0 0 14px rgba(240, 173, 82, 0.9) !important;
  transform: translateY(3px);
}

.piano-key-black.is-active .key-shortcut-badge,
.piano-key-black:active .key-shortcut-badge {
  background: #FAF2E1;
  color: #2B0303;
}

/* Rhythm / Drum Pad (Grid 2x4) */
.drumpad-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 680px;
  margin: 0 auto;
}

.drumpad-btn {
  background: linear-gradient(135deg, #FAF2E1 0%, #E7D0A6 100%);
  border: 2px solid var(--gold-500);
  border-radius: 12px;
  padding: 12px 10px;
  min-height: 76px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(43, 3, 3, 0.15);
  outline: none;
  transition: transform 0.08s ease, background 0.1s ease, box-shadow 0.1s ease;
}

.drumpad-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
  box-shadow: 0 6px 12px rgba(43, 3, 3, 0.22);
}

.drumpad-btn:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 2px;
}

.drumpad-btn.is-active,
.drumpad-btn:active {
  background: var(--grad-gold);
  transform: scale(0.96) translateY(1px);
  box-shadow: 0 0 16px rgba(212, 175, 55, 0.85);
}

.drumpad-top-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.drumpad-key-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  background: var(--maroon-900);
  color: var(--gold-500);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 800;
  border-radius: 6px;
  border: 1px solid var(--gold-500);
}

.drumpad-icon {
  font-size: 16px;
  line-height: 1;
}

.drumpad-label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  color: var(--maroon-900);
  text-align: center;
  line-height: 1.2;
}

@media (max-width: 768px) {
  .drumpad-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}


/* ====================================================================
   PERBAIKAN TAHAP 2, 3, 4: UNIVERSAL UTILITIES & ACCESSIBILITY
   ==================================================================== */
.is-hidden {
  display: none !important;
}

:focus-visible {
  outline: 2px solid var(--gold-500) !important;
  outline-offset: 3px !important;
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
    scroll-behavior: auto !important;
  }
}

/* UI Badges & Statistics dieliminasi sesuai arahan audit UI/UX */
.kategori-heading-group {
  display: flex;
  align-items: center;
  gap: 20px;
}

.category-pill-tabs,
.kategori-segmented-tabs {
  display: flex;
  align-items: center;
  background: rgba(43, 3, 3, 0.1);
  border: 1.5px solid var(--gold-500);
  border-radius: var(--r-pill);
  padding: 3px;
  gap: 4px;
}

.category-tab-btn {
  background: transparent;
  border: none;
  border-radius: var(--r-pill);
  padding: 6px 16px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  color: var(--maroon-900);
  cursor: pointer;
  transition: all 0.2s ease;
}

.category-tab-btn:hover {
  background: rgba(212, 175, 55, 0.2);
}

.category-tab-btn.active {
  background: var(--maroon-900);
  color: var(--gold-500);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Catalog Toolbar, Search & Filter (Tahap 2.1) */
.catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-bottom: 12px;
  border-bottom: 1.5px solid rgba(43, 3, 3, 0.15);
}

.catalog-controls-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.search-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.search-icon-svg {
  position: absolute;
  left: 14px;
  width: 16px;
  height: 16px;
  stroke: var(--brown-600);
  pointer-events: none;
}

.catalog-search-pill {
  width: 250px;
  height: 42px;
  background: var(--cream-50);
  border: 1.5px solid var(--gold-500);
  border-radius: var(--r-pill);
  padding: 0 16px 0 38px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--maroon-900);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.08);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.catalog-search-pill:focus {
  border-color: var(--maroon-900);
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.4);
}

.catalog-filter-select {
  height: 42px;
  background: var(--cream-50);
  border: 1.5px solid var(--gold-500);
  border-radius: var(--r-pill);
  padding: 0 16px;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--maroon-900);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  outline: none;
}

.catalog-view-toggle-btn {
  height: 42px;
  background: var(--grad-gold);
  border: 1.5px solid var(--maroon-900);
  border-radius: var(--r-pill);
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  color: var(--maroon-900);
  cursor: pointer;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
  transition: transform 0.15s ease, filter 0.15s ease;
}

.catalog-view-toggle-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

/* Catalog meta info dieliminasi */
.catalog-empty-state {
  text-align: center;
  padding: 40px 20px;
}

.empty-state-title {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--maroon-900);
  margin-bottom: 14px;
}

.btn-reset-filter {
  background: var(--maroon-900);
  color: var(--gold-500);
  border: 1.5px solid var(--gold-500);
  border-radius: var(--r-pill);
  padding: 10px 24px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.2s;
}

.btn-reset-filter:hover {
  background: #421208;
  transform: translateY(-2px);
}

.instruments-grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  max-height: 520px;
  overflow-y: auto;
  padding: 14px 6px;
  scrollbar-width: thin;
  scrollbar-color: var(--gold-500) transparent;
}

.instruments-grid-container::-webkit-scrollbar {
  width: 8px;
}

.instruments-grid-container::-webkit-scrollbar-thumb {
  background: var(--gold-500);
  border-radius: 4px;
}

/* Quiz rules & badges dieliminasi */

/* Quiz Play Timer & Media Slot & Review (Tahap 2.3) */
.quiz-progress-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 600px;
  margin-bottom: 8px;
}

.quiz-progress-step-text {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 800;
  color: var(--cream-50);
}

.quiz-timer-badge {
  background: #B22222;
  color: #FFFFFF;
  border: 1.5px solid var(--gold-500);
  border-radius: var(--r-pill);
  padding: 3px 12px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 0 10px rgba(255, 0, 0, 0.4);
}

.quiz-media-slot {
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px dashed rgba(212, 175, 55, 0.3);
}

.btn-quiz-audio-play {
  background: var(--grad-gold);
  border: none;
  border-radius: var(--r-pill);
  padding: 8px 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 800;
  color: var(--maroon-900);
  cursor: pointer;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
  transition: transform 0.15s;
}

.btn-quiz-audio-play:hover {
  transform: translateY(-2px);
}

.finish-time-line {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--brown-600);
  font-weight: 700;
  margin-bottom: 16px;
}

.quiz-review-panel {
  margin-top: 20px;
  background: var(--cream-50);
  border: 2px solid var(--gold-500);
  border-radius: var(--r-md);
  padding: 18px;
  text-align: left;
  max-height: 280px;
  overflow-y: auto;
}

.review-panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.review-panel-heading {
  font-family: var(--font-heading);
  font-size: 18px;
  color: var(--maroon-900);
}

.btn-close-review-corner {
  background: var(--maroon-900);
  color: var(--gold-500);
  border: none;
  border-radius: 50%;
  width: 26px;
  height: 26px;
  cursor: pointer;
  font-weight: bold;
}

.review-item-card {
  background: #FFFFFF;
  border: 1px solid #E7D0A6;
  border-radius: 8px;
  padding: 10px 12px;
  margin-bottom: 8px;
  font-size: 13.5px;
}

.review-item-card.is-correct {
  border-left: 4px solid #2E7D32;
}

.review-item-card.is-wrong {
  border-left: 4px solid #C62828;
}

/* Matching Lines SVG & Micro Hint (Tahap 2.3) */
.matching-board-panel {
  position: relative;
}

.matching-micro-hint {
  font-family: var(--font-body);
  font-size: 14px;
  font-style: italic;
  color: var(--cream-50);
  text-align: center;
  margin-bottom: 12px;
}

.matching-lines-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 4;
}

.matching-stats-badge {
  background: rgba(43, 3, 3, 0.45);
  border: 1px solid var(--gold-500);
  color: var(--cream-50);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--r-pill);
}

.matching-finish-dialog {
  background: var(--cream-50);
  border: 3px solid var(--maroon-900);
  border-radius: var(--r-panel);
  padding: 30px;
  text-align: center;
  margin-top: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

/* Admin Screen Enhancements (Tahap 2.3) */
.admin-pass-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.btn-toggle-pass-visibility {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
  padding: 4px;
}

.admin-switch-siswa-row {
  text-align: center;
  margin-top: 16px;
}

.admin-switch-link {
  color: #83562C;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  text-decoration: underline;
}

.admin-status-note {
  margin-top: 15px;
  font-size: 14px;
  text-align: center;
  color: #8B0000;
  font-weight: bold;
}

.admin-filter-bar {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.admin-filter-input,
.admin-filter-select {
  height: 38px;
  background: #FFFFFF;
  border: 1.5px solid var(--gold-500);
  border-radius: var(--r-pill);
  padding: 0 14px;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--maroon-900);
  outline: none;
}

.btn-admin-action-gold {
  background: var(--grad-gold);
  border: 1px solid var(--maroon-900);
  border-radius: var(--r-pill);
  padding: 8px 16px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.btn-admin-action-danger {
  background: #B22222;
  color: #FFFFFF;
  border: 1px solid #5C0000;
  border-radius: var(--r-pill);
  padding: 8px 16px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

/* Modal Side Navigation Buttons (Tahap 3.4) */
.modal-side-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background: var(--grad-gold);
  border: 2px solid var(--maroon-900);
  border-radius: 50%;
  color: var(--maroon-900);
  font-size: 28px;
  font-weight: bold;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
  z-index: 10;
  transition: transform 0.15s, filter 0.15s;
}

.modal-side-nav-btn:hover {
  filter: brightness(1.1);
  transform: translateY(-50%) scale(1.08);
}

.nav-modal-prev {
  left: -22px;
}

.nav-modal-next {
  right: -22px;
}

/* Audio Waveform Equalizer (Tahap 3.4) */
.audio-waveform-bar {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  height: 24px;
  margin-top: 10px;
}

.eq-bar {
  width: 5px;
  background: var(--gold-500);
  border-radius: 2px;
  animation: eqBounce 0.8s ease-in-out infinite alternate;
}

.bar-1 {
  height: 12px;
  animation-delay: 0.1s;
}

.bar-2 {
  height: 22px;
  animation-delay: 0.3s;
}

.bar-3 {
  height: 16px;
  animation-delay: 0.2s;
}

.bar-4 {
  height: 24px;
  animation-delay: 0.4s;
}

.bar-5 {
  height: 14px;
  animation-delay: 0.15s;
}

@keyframes eqBounce {
  0% {
    height: 6px;
  }

  100% {
    height: 24px;
  }
}

/* Modal Info Meta & Shortcuts List (Tahap 3.3) */
.modal-info-meta-box {
  margin-top: 18px;
  padding: 14px 18px;
  background: rgba(43, 3, 3, 0.05);
  border: 1.5px solid var(--gold-500);
  border-radius: var(--r-md);
}

.info-version-pill {
  display: inline-block;
  background: var(--maroon-900);
  color: var(--gold-500);
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 800;
  padding: 3px 12px;
  border-radius: var(--r-pill);
  margin-bottom: 8px;
}

.info-meta-heading {
  font-family: var(--font-heading);
  font-size: 16px;
  color: var(--maroon-900);
  margin-bottom: 8px;
}

.info-shortcuts-list {
  list-style: none;
  font-size: 13.5px;
  line-height: 1.6;
}

.info-shortcuts-list li strong {
  color: #613C1C;
}

/* Modal Materi Footer Nav (Tahap 3.5) */
.materi-detail-footer-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  padding-top: 16px;
  border-top: 2px solid rgba(43, 3, 3, 0.15);
}

.btn-materi-nav {
  background: var(--cream-50);
  border: 1.5px solid var(--gold-500);
  border-radius: var(--r-pill);
  padding: 10px 22px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  color: var(--maroon-900);
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-materi-nav:hover:not(:disabled) {
  background: var(--grad-gold);
  transform: translateY(-2px);
}

.btn-materi-nav:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.btn-materi-nav-next {
  background: var(--grad-gold);
  border-color: var(--maroon-900);
}



/* ====================================================================
   ADMIN DATA TABLE STYLES (TAHAP 2.3)
   ==================================================================== */
.admin-table-wrapper {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--r-md);
  border: 1.5px solid var(--gold-500);
  background: var(--cream-50);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.admin-data-table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-body);
  font-size: 13.5px;
  text-align: left;
}

.admin-data-table thead th {
  background: var(--maroon-900);
  color: var(--gold-500);
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  padding: 10px 14px;
  border-bottom: 2px solid var(--gold-500);
  white-space: nowrap;
}

.admin-data-table tbody tr {
  border-bottom: 1px solid rgba(43, 3, 3, 0.1);
  transition: background 0.15s ease;
}

.admin-data-table tbody tr:hover {
  background: rgba(212, 175, 55, 0.15);
}

.admin-data-table tbody td {
  padding: 10px 14px;
  color: var(--maroon-900);
  vertical-align: middle;
}

.table-mode-badge {
  display: inline-block;
  background: var(--maroon-900);
  color: var(--cream-50);
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--r-pill);
}

.table-score-val {
  color: #1A5319;
  font-size: 15px;
  font-weight: 800;
}

.table-date-text {
  font-size: 12px;
  color: var(--brown-600);
}

.admin-empty-table-note {
  text-align: center;
  color: var(--maroon-900);
  padding: 24px;
  font-style: italic;
}


/* ====================================================================
   NUSANTARA NADA — ASESMEN LENGKAP UJI KEMAMPUAN STYLES
   ==================================================================== */

.uji-container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  box-sizing: border-box;
  position: relative;
}

.uji-view-panel {
  width: 100%;
  animation: screenFadeIn 0.25s ease-out forwards;
}

/* --------------------------------------------------------------------
   1. INTRO / START SCREEN
   -------------------------------------------------------------------- */
.uji-intro-card {
  background: linear-gradient(165deg, #FFFDF8 0%, #FAF1DC 55%, #F4E2BD 100%);
  border: 3px solid var(--maroon-900);
  border-radius: var(--r-panel);
  box-shadow: var(--shadow-panel), inset 0 2px 4px rgba(255, 255, 255, 0.9);
  padding: 36px 40px;
  box-sizing: border-box;
}

.uji-intro-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.uji-royal-badge {
  background: var(--maroon-900);
  color: var(--gold-500);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 6px 16px;
  border-radius: var(--r-pill);
  border: 1px solid var(--gold-500);
  box-shadow: 0 2px 6px rgba(43, 3, 3, 0.2);
}

.uji-duration-badge {
  background: #EFE2CA;
  color: var(--maroon-900);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: var(--r-pill);
  border: 1.5px solid #8C532B;
}

.uji-intro-title {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 700;
  color: var(--maroon-900);
  line-height: 1.2;
  margin-bottom: 12px;
}

.uji-intro-desc {
  font-family: var(--font-body);
  font-size: 15.5px;
  color: #4A220F;
  line-height: 1.6;
  margin-bottom: 28px;
  max-width: 880px;
}

/* 3 Parts Grid Cards */
.uji-parts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.uji-part-box {
  background: #FFFDF9;
  border: 2px solid #DEC38E;
  border-radius: 20px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 6px 16px rgba(43, 3, 3, 0.06);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.uji-part-box:hover {
  transform: translateY(-4px);
  border-color: var(--maroon-900);
  box-shadow: 0 10px 24px rgba(43, 3, 3, 0.14);
}

.part-header-pill {
  display: inline-block;
  align-self: flex-start;
  background: var(--maroon-900);
  color: var(--gold-500);
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 3px 10px;
  border-radius: var(--r-pill);
  margin-bottom: 8px;
}

.part-title {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--maroon-900);
  margin-bottom: 4px;
}

.part-meta {
  font-size: 13px;
  font-weight: 700;
  color: #7D4924;
  margin-bottom: 10px;
}

.part-badge {
  display: inline-block;
  background: #FAF1DC;
  color: #381A08;
  border: 1px solid #C49F60;
  font-size: 11.5px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 8px;
  margin-bottom: 12px;
}

.part-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 12.5px;
  line-height: 1.6;
  color: #4A220F;
}

.part-list li::before {
  content: "• ";
  color: var(--gold-500);
  font-weight: bold;
}

/* Identity Input Box */
.uji-identity-box {
  background: rgba(43, 3, 3, 0.04);
  border: 1.5px dashed var(--gold-500);
  border-radius: 18px;
  padding: 20px 24px;
  margin-bottom: 28px;
}

.identity-box-title {
  font-family: var(--font-heading);
  font-size: 17px;
  color: var(--maroon-900);
  margin-bottom: 14px;
}

.identity-inputs-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.identity-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.identity-label {
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--maroon-900);
}

.identity-input {
  height: 46px;
  background: #FFFFFF;
  border: 1.5px solid #DEC38E;
  border-radius: var(--r-pill);
  padding: 0 18px;
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--maroon-900);
  outline: none;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.04);
  transition: all 0.2s;
}

.identity-input:focus {
  border-color: var(--maroon-900);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.45);
}

.uji-intro-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-uji-back-menu {
  background: transparent;
  border: 2px solid var(--maroon-900);
  color: var(--maroon-900);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  border-radius: var(--r-pill);
  padding: 12px 24px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-uji-back-menu:hover {
  background: rgba(43, 3, 3, 0.08);
  transform: translateY(-2px);
}

.btn-uji-start-exam {
  background: var(--grad-gold);
  border: 2px solid var(--maroon-900);
  color: var(--maroon-900);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 800;
  border-radius: var(--r-pill);
  padding: 13px 32px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.45);
  transition: all 0.2s;
}

.btn-uji-start-exam:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(212, 175, 55, 0.65);
}

/* --------------------------------------------------------------------
   2. STICKY TOP CONTROLLER BAR & MASTERPIECE SVG TIMER
   -------------------------------------------------------------------- */
.uji-sticky-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(43, 3, 3, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 2px solid var(--gold-500);
  border-radius: 20px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
  margin-bottom: 6px;
  box-sizing: border-box;
}

.uji-header-left {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.uji-question-crumb {
  display: flex;
  align-items: center;
  gap: 8px;
}

.crumb-part-badge {
  font-size: 11.5px;
  font-weight: 800;
  color: var(--gold-500);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.crumb-diff-badge {
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--r-pill);
  text-transform: uppercase;
}

.diff-mudah {
  background: #1B5E20;
  color: #C8E6C9;
  border: 1px solid #4CAF50;
}

.diff-sedang {
  background: #E65100;
  color: #FFE0B2;
  border: 1px solid #FF9800;
}

.diff-hots {
  background: #880E4F;
  color: #F8BBD0;
  border: 1px solid #E91E63;
}

.uji-crumb-num {
  font-family: var(--font-heading);
  font-size: 18px;
  color: #FFFFFF;
  margin: 0;
}

/* SVG Ring Timer Hub */
.uji-timer-hub {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: var(--r-pill);
  padding: 4px 14px 4px 6px;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.4);
}

.timer-svg-wrap {
  position: relative;
  width: 66px;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.timer-ring-svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.timer-ring-track {
  fill: none;
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 6.5;
}

.timer-ring-bar {
  fill: none;
  stroke: #43A047;
  stroke-width: 6.5;
  stroke-linecap: round;
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
  transition: stroke-dashoffset 0.6s linear, stroke 0.4s ease;
}

/* Phase Colors */
.timer-phase-green .timer-ring-bar {
  stroke: #43A047;
}

.timer-phase-amber .timer-ring-bar {
  stroke: #FFA000;
}

.timer-phase-orange .timer-ring-bar {
  stroke: #FB8C00;
}

.timer-phase-red .timer-ring-bar {
  stroke: #E53935;
}

.timer-center-content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.timer-digits-text {
  font-family: "Consolas", "Courier New", monospace;
  font-variant-numeric: tabular-nums;
  font-size: 15px;
  font-weight: 800;
  color: #FFFFFF;
  line-height: 1;
  letter-spacing: -0.5px;
  transition: color 0.4s ease;
}

.timer-label-sub {
  font-family: var(--font-body);
  font-size: 8.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 2px;
  letter-spacing: 0.3px;
}

/* 5 Minutes Gentle Pulse */
.timer-phase-urgent .timer-ring-bar {
  animation: timerRingGentlePulse 2s infinite ease-in-out;
}

@keyframes timerRingGentlePulse {
  0%, 100% {
    filter: drop-shadow(0 0 2px rgba(229, 57, 53, 0.6));
    opacity: 1;
  }
  50% {
    filter: drop-shadow(0 0 8px rgba(229, 57, 53, 0.9));
    opacity: 0.85;
  }
}

/* 60 Seconds Critical Pulse */
.timer-phase-critical .timer-digits-text {
  animation: timerCriticalBlink 0.9s infinite alternate;
  color: #FF5252 !important;
}

@keyframes timerCriticalBlink {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(1.08);
    opacity: 0.6;
  }
}

@media (prefers-reduced-motion: reduce) {
  .timer-phase-urgent .timer-ring-bar,
  .timer-phase-critical .timer-digits-text {
    animation: none !important;
  }
}

.btn-timer-mute {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(212, 175, 55, 0.5);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #FFF;
  transition: all 0.15s;
}

.btn-timer-mute:hover {
  background: var(--gold-500);
  color: var(--maroon-900);
}

.uji-header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-uji-map-toggle {
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid var(--gold-500);
  border-radius: var(--r-pill);
  padding: 8px 14px;
  color: #FFF;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-uji-map-toggle:hover {
  background: rgba(212, 175, 55, 0.25);
  transform: translateY(-1px);
}

.badge-map-count {
  background: var(--gold-500);
  color: var(--maroon-900);
  font-size: 11px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: var(--r-pill);
}

.btn-uji-finish-early {
  background: var(--grad-gold);
  border: 1.5px solid var(--maroon-900);
  border-radius: var(--r-pill);
  padding: 8px 16px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 800;
  color: var(--maroon-900);
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  transition: all 0.18s;
}

.btn-uji-finish-early:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

/* Progress Fill Line */
.uji-top-progress-bar {
  width: 100%;
  height: 5px;
  background: rgba(43, 3, 3, 0.12);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 14px;
}

.uji-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #D4AF37, #4CAF50);
  border-radius: 3px;
  transition: width 0.3s ease;
}

/* Toast Alert */
.uji-toast-alert {
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  background: #2B0303;
  color: #FFF;
  border: 2px solid var(--gold-500);
  border-radius: var(--r-pill);
  padding: 10px 24px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 800;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  animation: modalPopIn 0.3s ease-out;
}

/* --------------------------------------------------------------------
   3. QUESTION STAGE & CARD
   -------------------------------------------------------------------- */
.uji-exam-stage {
  width: 100%;
  position: relative;
}

.uji-question-card {
  background: var(--cream-50);
  border: 2.5px solid var(--maroon-900);
  border-radius: var(--r-panel);
  padding: 28px 32px;
  box-shadow: 0 12px 30px rgba(43, 3, 3, 0.1);
  min-height: 380px;
  box-sizing: border-box;
  animation: questionCardFade 0.22s ease-out;
}

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

.q-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1.5px solid rgba(43, 3, 3, 0.12);
}

.q-number-pill {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--maroon-900);
}

.q-flagged-tag {
  background: #FFF3E0;
  color: #E65100;
  border: 1px solid #FF9800;
  font-size: 12px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: var(--r-pill);
}

.q-text-body {
  font-family: var(--font-body);
  font-size: 17.5px;
  font-weight: 700;
  color: var(--maroon-900);
  line-height: 1.6;
  margin-bottom: 24px;
  white-space: pre-line;
}

/* Options List (Bagian A: Pilihan Ganda) */
.uji-options-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.uji-option-card {
  width: 100%;
  min-height: 54px;
  background: #FFFFFF;
  border: 2px solid #E0CEB3;
  border-radius: 16px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  box-sizing: border-box;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.18s ease;
  user-select: none;
}

.uji-option-card:hover {
  border-color: var(--gold-500);
  background: #FFFDF8;
  transform: translateX(4px);
  box-shadow: 0 6px 14px rgba(43, 3, 3, 0.1);
}

.uji-option-card.is-selected {
  background: #FFF7E6 !important;
  border-color: var(--maroon-900) !important;
  box-shadow: 0 0 0 2px var(--gold-500), 0 6px 16px rgba(43, 3, 3, 0.15) !important;
}

.opt-letter-circle {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background: #F4E7CF;
  color: var(--maroon-900);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #D4AF37;
  transition: all 0.15s;
}

.uji-option-card.is-selected .opt-letter-circle {
  background: var(--maroon-900);
  color: var(--gold-500);
  border-color: var(--maroon-900);
}

.opt-text-val {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--maroon-900);
  font-weight: 600;
  line-height: 1.4;
}

/* Matching UI (Bagian B: Menjodohkan) */
.uji-matching-wrapper {
  margin-top: 10px;
}

.matching-instr-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #FFF7E6;
  border: 1.5px solid var(--gold-500);
  border-radius: 14px;
  padding: 12px 18px;
  margin-bottom: 20px;
}

.instr-target-icon {
  font-size: 24px;
}

.instr-target-name {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--maroon-900);
}

.matching-dropdown-label {
  font-size: 13.5px;
  font-weight: 700;
  color: #6D3D1F;
  margin-bottom: 8px;
  display: block;
}

.matching-select-box {
  width: 100%;
  height: 52px;
  background: #FFFFFF;
  border: 2px solid var(--maroon-900);
  border-radius: var(--r-pill);
  padding: 0 18px;
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--maroon-900);
  outline: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
  cursor: pointer;
  margin-bottom: 24px;
}

.matching-select-box:focus {
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.5);
}

/* Visual Options Cards Grid for Matching */
.matching-options-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.match-opt-tile {
  background: #FFFFFF;
  border: 1.5px solid #DEC38E;
  border-radius: 12px;
  padding: 12px 14px;
  cursor: pointer;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  transition: all 0.15s;
}

.match-opt-tile:hover {
  border-color: var(--gold-500);
  background: #FFFDF8;
}

.match-opt-tile.is-selected {
  border-color: var(--maroon-900);
  background: #FFF4DC;
  box-shadow: 0 0 0 2px var(--gold-500);
}

.match-opt-code {
  font-weight: 800;
  font-size: 14px;
  color: var(--maroon-900);
  background: var(--amber-400);
  padding: 2px 7px;
  border-radius: 6px;
}

.match-opt-desc {
  font-size: 13.5px;
  line-height: 1.4;
  color: #381A08;
}

/* Essay UI (Bagian C: Uraian & HOTS) */
.uji-essay-wrapper {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.rubrik-hint-banner {
  background: #F2E7D3;
  border-left: 4px solid var(--gold-500);
  border-radius: 8px;
  padding: 10px 16px;
  font-size: 13px;
  color: #5D331A;
  line-height: 1.4;
}

.uji-essay-textarea {
  width: 100%;
  min-height: 170px;
  background: #FFFFFF;
  border: 2px solid #DEC38E;
  border-radius: 16px;
  padding: 16px 20px;
  font-family: var(--font-body);
  font-size: 15.5px;
  color: var(--maroon-900);
  line-height: 1.6;
  outline: none;
  box-sizing: border-box;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.04);
  resize: vertical;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.uji-essay-textarea:focus {
  border-color: var(--maroon-900);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.45);
}

.essay-meta-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: #7D4924;
}

.char-counter-text strong {
  color: var(--maroon-900);
}

/* Bottom Navigation */
.uji-exam-bottom-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}

.btn-uji-nav {
  background: #FFFFFF;
  border: 2px solid var(--maroon-900);
  border-radius: var(--r-pill);
  padding: 12px 24px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  color: var(--maroon-900);
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  transition: all 0.2s;
}

.btn-uji-nav:hover:not(:disabled) {
  background: var(--maroon-900);
  color: var(--gold-500);
  transform: translateY(-2px);
}

.btn-uji-nav:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.btn-uji-next {
  background: var(--grad-gold);
  border-color: var(--maroon-900);
  color: var(--maroon-900);
  font-weight: 800;
}

.btn-uji-next:hover:not(:disabled) {
  background: var(--grad-gold);
  color: var(--maroon-900);
  filter: brightness(1.06);
}

.btn-uji-flag {
  background: #FFFDF9;
  border: 1.5px solid #DEC38E;
  border-radius: var(--r-pill);
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 700;
  color: #6D3D1F;
  cursor: pointer;
  transition: all 0.15s;
}

.btn-uji-flag.is-flagged {
  background: #FFF3E0;
  border-color: #FF9800;
  color: #E65100;
  box-shadow: 0 0 10px rgba(255, 152, 0, 0.4);
}

/* --------------------------------------------------------------------
   4. MODAL / DRAWER PETA SOAL (1 - 49)
   -------------------------------------------------------------------- */
.uji-map-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.uji-map-drawer-box {
  width: 100%;
  max-width: 680px;
  max-height: 88vh;
  background: #FFFDF8;
  border: 3px solid var(--maroon-900);
  border-radius: 24px;
  padding: 26px 28px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modalPopIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.map-drawer-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 14px;
}

.map-drawer-title {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--maroon-900);
  margin-bottom: 4px;
}

.map-drawer-sub {
  font-size: 13px;
  color: #6D3D1F;
}

.map-drawer-close {
  background: none;
  border: none;
  font-size: 22px;
  color: var(--maroon-900);
  cursor: pointer;
  padding: 4px;
}

.map-legend-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding: 8px 12px;
  background: #F5EBD7;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 12px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
}

.legend-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.dot-current {
  background: #D4AF37;
  border: 2px solid var(--maroon-900);
}

.dot-answered {
  background: #2E7D32;
}

.dot-flagged {
  background: #FFA000;
}

.dot-empty {
  background: #FFFFFF;
  border: 1px solid #BCAAA4;
}

.map-filter-tabs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  margin-bottom: 14px;
  padding-bottom: 4px;
}

.map-tab-btn {
  background: transparent;
  border: 1px solid #DEC38E;
  border-radius: var(--r-pill);
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 700;
  color: var(--maroon-900);
  cursor: pointer;
  white-space: nowrap;
}

.map-tab-btn.active {
  background: var(--maroon-900);
  color: var(--gold-500);
  border-color: var(--maroon-900);
}

.map-numbers-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  overflow-y: auto;
  padding: 6px;
  max-height: 280px;
}

.map-num-btn {
  height: 40px;
  background: #FFFFFF;
  border: 1.5px solid #DEC38E;
  border-radius: 10px;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 800;
  color: var(--maroon-900);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: all 0.15s;
}

.map-num-btn:hover {
  transform: scale(1.08);
  border-color: var(--maroon-900);
}

.map-num-btn.is-active {
  background: #D4AF37 !important;
  color: var(--maroon-900) !important;
  border: 2px solid var(--maroon-900) !important;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.8);
}

.map-num-btn.is-answered {
  background: #2E7D32;
  color: #FFFFFF;
  border-color: #1B5E20;
}

.map-num-btn.is-flagged {
  background: #FFA000;
  color: #FFFFFF;
  border-color: #E65100;
}

.map-num-btn.is-flagged::after {
  content: "🚩";
  position: absolute;
  top: -6px;
  right: -4px;
  font-size: 10px;
}

.map-drawer-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(43, 3, 3, 0.12);
  gap: 12px;
  flex-wrap: wrap;
}

.map-stats-summary {
  font-size: 13px;
  color: #4A220F;
}

.btn-map-submit-now {
  background: var(--maroon-900);
  color: var(--gold-500);
  border: 1.5px solid var(--gold-500);
  border-radius: var(--r-pill);
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
}

/* --------------------------------------------------------------------
   5. CONFIRMATION & TIMEOUT MODALS
   -------------------------------------------------------------------- */
.modal-box-confirm {
  width: 100%;
  max-width: 520px;
  background: #FFFDF8;
  border: 3px solid var(--maroon-900);
  border-radius: 26px;
  padding: 32px 30px;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7);
  animation: modalPopIn 0.3s ease-out;
}

.confirm-icon-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #FFF4DC;
  border: 2px solid var(--gold-500);
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.timeout-circle {
  background: #FFEBEE;
  border-color: #EF5350;
}

.confirm-modal-title {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--maroon-900);
  margin-bottom: 8px;
}

.confirm-modal-desc {
  font-size: 14px;
  color: #6D3D1F;
  margin-bottom: 20px;
  line-height: 1.5;
}

.confirm-stats-card {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  background: #F8EFE0;
  border-radius: 16px;
  padding: 14px;
  margin-bottom: 18px;
}

.c-stat-box {
  display: flex;
  flex-direction: column;
}

.c-stat-val {
  font-size: 22px;
  font-weight: 800;
}

.stat-ok .c-stat-val { color: #2E7D32; }
.stat-empty .c-stat-val { color: #C62828; }
.stat-flag .c-stat-val { color: #E65100; }

.c-stat-lbl {
  font-size: 11px;
  font-weight: 700;
  color: #6D3D1F;
  margin-top: 2px;
}

.confirm-warning-note {
  font-size: 13px;
  font-weight: 700;
  color: #C62828;
  margin-bottom: 18px;
}

.confirm-actions-row {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.btn-confirm-cancel {
  background: transparent;
  border: 2px solid var(--maroon-900);
  color: var(--maroon-900);
  border-radius: var(--r-pill);
  padding: 10px 20px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}

.btn-confirm-submit {
  background: var(--grad-gold);
  border: 2px solid var(--maroon-900);
  color: var(--maroon-900);
  border-radius: var(--r-pill);
  padding: 10px 24px;
  font-weight: 800;
  font-size: 14px;
  cursor: pointer;
}

/* --------------------------------------------------------------------
   6. RESULT SCREEN & TEACHER EVALUATION
   -------------------------------------------------------------------- */
.uji-result-card {
  background: #FFFDF9;
  border: 3px solid var(--maroon-900);
  border-radius: 28px;
  padding: 36px 40px;
  box-shadow: var(--shadow-panel);
  box-sizing: border-box;
}

.result-report-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 20px;
  border-bottom: 2px solid rgba(43, 3, 3, 0.15);
  margin-bottom: 20px;
}

.report-brand-badge {
  display: flex;
  align-items: center;
  gap: 14px;
}

.report-logo-img {
  height: 52px;
  object-fit: contain;
}

.report-brand-name {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--maroon-900);
  margin: 0;
}

.report-brand-sub {
  font-size: 12px;
  color: #7D4924;
  margin: 2px 0 0;
}

.report-exam-tag {
  text-align: right;
}

.report-badge-top {
  display: inline-block;
  background: var(--maroon-900);
  color: var(--gold-500);
  font-size: 12px;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: var(--r-pill);
  margin-bottom: 4px;
}

.report-date-text {
  display: block;
  font-size: 12px;
  color: #6D3D1F;
}

.result-student-bar {
  display: flex;
  gap: 24px;
  background: #F9F1E2;
  border-radius: 14px;
  padding: 12px 20px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}

.r-info-item {
  font-size: 13.5px;
}

.r-lbl {
  color: #6D3D1F;
  margin-right: 4px;
}

.r-val {
  color: var(--maroon-900);
}

/* Score Overview */
.result-score-overview {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  margin-bottom: 30px;
  align-items: center;
}

.score-main-gauge {
  background: #FFF8EA;
  border: 2.5px solid var(--maroon-900);
  border-radius: 24px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(43, 3, 3, 0.08);
}

.gauge-ring-shell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.gauge-score-big {
  font-family: var(--font-heading);
  font-size: 52px;
  font-weight: 800;
  color: #1B5E20;
  line-height: 1;
}

.gauge-score-sub {
  font-size: 14px;
  font-weight: 800;
  color: #6D3D1F;
  margin-top: 4px;
}

.gauge-predicate-badge {
  display: inline-block;
  background: var(--maroon-900);
  color: var(--gold-500);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 800;
  padding: 4px 14px;
  border-radius: var(--r-pill);
  margin-bottom: 6px;
}

.gauge-predicate-desc {
  font-size: 12.5px;
  color: #5D331A;
  margin: 0;
  line-height: 1.4;
}

/* Breakdown Tiles */
.score-parts-breakdown {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.breakdown-tile {
  background: #FFFFFF;
  border: 2px solid #E4D5BC;
  border-radius: 18px;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.b-tile-head {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 800;
  color: #6D3D1F;
  margin-bottom: 6px;
}

.b-tile-score {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 800;
  color: var(--maroon-900);
  margin-bottom: 4px;
}

.b-tile-meta {
  font-size: 11px;
  color: #8C532B;
}

/* Teacher Scoring Panel */
.result-teacher-panel {
  background: #FFF8EA;
  border: 2px dashed #C49F60;
  border-radius: 18px;
  padding: 18px 22px;
  margin-bottom: 28px;
}

.teacher-panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.t-panel-title {
  font-family: var(--font-heading);
  font-size: 17px;
  color: var(--maroon-900);
  margin: 0 0 4px;
}

.t-panel-sub {
  font-size: 13px;
  color: #6D3D1F;
  margin: 0;
}

.btn-rubrik-info-modal {
  background: var(--maroon-900);
  color: var(--gold-500);
  border: 1px solid var(--gold-500);
  border-radius: var(--r-pill);
  padding: 6px 14px;
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
}

/* Detailed Review Items */
.review-tabs-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 10px;
  margin-bottom: 16px;
  border-bottom: 2px solid rgba(43, 3, 3, 0.1);
}

.btn-review-tab {
  background: transparent;
  border: 1.5px solid #DEC38E;
  border-radius: var(--r-pill);
  padding: 7px 16px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  color: var(--maroon-900);
  cursor: pointer;
  white-space: nowrap;
}

.btn-review-tab.active {
  background: var(--maroon-900);
  color: var(--gold-500);
  border-color: var(--maroon-900);
}

.review-items-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-height: 520px;
  overflow-y: auto;
  padding-right: 6px;
}

.review-card-item {
  background: #FFFFFF;
  border: 1.5px solid #E0CEB3;
  border-radius: 16px;
  padding: 16px 20px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.04);
}

.review-card-item.is-correct {
  border-left: 5px solid #2E7D32;
}

.review-card-item.is-wrong {
  border-left: 5px solid #C62828;
}

.review-card-item.is-essay {
  border-left: 5px solid #880E4F;
}

.review-top-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.review-q-num {
  font-weight: 800;
  font-size: 14.5px;
  color: var(--maroon-900);
}

.review-status-badge {
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: var(--r-pill);
}

.status-correct {
  background: #E8F5E9;
  color: #2E7D32;
}

.status-wrong {
  background: #FFEBEE;
  color: #C62828;
}

.status-essay {
  background: #FCE4EC;
  color: #880E4F;
}

.review-q-text {
  font-size: 14.5px;
  font-weight: 700;
  color: #2B0303;
  margin-bottom: 12px;
  line-height: 1.5;
}

.review-answer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  background: #FAF7F0;
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 10px;
  font-size: 13px;
}

.answer-label {
  font-size: 11px;
  color: #7D4924;
  font-weight: 700;
}

.review-explanation-box {
  background: #FFFDF8;
  border: 1px dashed #DEC38E;
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 13px;
  color: #4A220F;
  line-height: 1.45;
}

/* Essay Teacher Scoring Widget inside review card */
.essay-teacher-score-widget {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #FFF4DC;
  border: 1.5px solid #D4AF37;
  border-radius: 12px;
  padding: 10px 14px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.score-pills-row {
  display: flex;
  gap: 6px;
}

.btn-score-pill {
  width: 34px;
  height: 34px;
  background: #FFFFFF;
  border: 1.5px solid var(--maroon-900);
  border-radius: 50%;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 800;
  color: var(--maroon-900);
  cursor: pointer;
  transition: all 0.15s;
}

.btn-score-pill:hover {
  background: var(--amber-400);
}

.btn-score-pill.is-active {
  background: var(--maroon-900);
  color: var(--gold-500);
  box-shadow: 0 0 8px rgba(43, 3, 3, 0.4);
}

/* Result Bottom Actions */
.result-bottom-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.btn-result-action {
  padding: 12px 24px;
  border-radius: var(--r-pill);
  font-family: var(--font-body);
  font-size: 14.5px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s;
}

.btn-result-replay {
  background: #FFFFFF;
  border: 2px solid var(--maroon-900);
  color: var(--maroon-900);
}

.btn-result-print {
  background: var(--grad-gold);
  border: 2px solid var(--maroon-900);
  color: var(--maroon-900);
  box-shadow: 0 4px 14px rgba(212, 175, 55, 0.4);
}

.btn-result-home {
  background: var(--maroon-900);
  border: 2px solid var(--maroon-900);
  color: var(--gold-500);
}

/* Rubrik Modal Table View */
.rubrik-table-view {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.rubrik-table-view th {
  background: var(--maroon-900);
  color: var(--gold-500);
  padding: 8px 12px;
  text-align: left;
}

.rubrik-table-view td {
  padding: 8px 12px;
  border-bottom: 1px solid rgba(43, 3, 3, 0.1);
}

.rubrik-badge-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-weight: 800;
  color: #FFF;
}

.r-4 { background: #2E7D32; }
.r-3 { background: #1976D2; }
.r-2 { background: #FFA000; }
.r-1 { background: #E65100; }
.r-0 { background: #C62828; }

/* --------------------------------------------------------------------
   7. PRINT STYLESHEET (PROFESSIONAL REPORT CARD)
   -------------------------------------------------------------------- */
@media print {
  body {
    background: #FFFFFF !important;
    color: #000000 !important;
  }

  .app-header,
  .app-footer-docked,
  .bg-pattern-layer,
  .btn-result-action,
  .btn-rubrik-info-modal,
  .review-tabs-bar,
  .essay-teacher-score-widget button {
    display: none !important;
  }

  .screen-view {
    display: none !important;
  }

  #screen-uji-kemampuan {
    display: block !important;
  }

  #uji-view-intro,
  #uji-view-exam {
    display: none !important;
  }

  #uji-view-result {
    display: block !important;
  }

  .uji-result-card {
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
  }

  .review-items-list {
    max-height: none !important;
    overflow: visible !important;
  }
}

/* --------------------------------------------------------------------
   8. MOBILE RESPONSIVE ENGINE (<= 768px & <= 480px)
   -------------------------------------------------------------------- */
@media (max-width: 768px) {
  .uji-intro-card {
    padding: 22px 18px;
    border-radius: 22px;
  }

  .uji-parts-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .identity-inputs-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .uji-intro-actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .btn-uji-back-menu,
  .btn-uji-start-exam {
    width: 100%;
    justify-content: center;
  }

  /* Sticky Top Bar on Mobile */
  .uji-sticky-header {
    padding: 8px 12px;
    border-radius: 16px;
    gap: 8px;
  }

  .uji-header-left .crumb-part-badge {
    font-size: 10px;
  }

  .uji-crumb-num {
    font-size: 15px;
  }

  .timer-svg-wrap {
    width: 54px;
    height: 54px;
  }

  .timer-digits-text {
    font-size: 13px;
  }

  .timer-label-sub {
    font-size: 7.5px;
  }

  .btn-uji-map-toggle {
    padding: 6px 10px;
    font-size: 11.5px;
  }

  .btn-uji-finish-early {
    padding: 6px 12px;
    font-size: 11.5px;
  }

  .uji-question-card {
    padding: 20px 16px;
    border-radius: 20px;
    min-height: 320px;
  }

  .q-text-body {
    font-size: 15.5px;
  }

  .opt-text-val {
    font-size: 14px;
  }

  .matching-options-cards-grid {
    grid-template-columns: 1fr;
  }

  .uji-exam-bottom-nav {
    flex-wrap: wrap;
    gap: 8px;
  }

  .btn-uji-nav {
    padding: 10px 16px;
    font-size: 13.5px;
  }

  .btn-uji-flag {
    padding: 8px 12px;
    font-size: 12px;
  }

  .map-numbers-grid {
    grid-template-columns: repeat(5, 1fr);
  }

  .result-score-overview {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .score-parts-breakdown {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .review-answer-grid {
    grid-template-columns: 1fr;
  }

  .result-student-bar {
    flex-direction: column;
    gap: 8px;
  }

  .result-report-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .report-exam-tag {
    text-align: left;
  }
}

@media (max-width: 480px) {
  .map-numbers-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .uji-sticky-header {
    padding: 6px 8px;
  }

  .timer-svg-wrap {
    width: 48px;
    height: 48px;
  }

  .timer-digits-text {
    font-size: 11.5px;
  }

  .timer-label-sub {
    display: none;
  }

  .btn-uji-map-toggle span:first-child {
    display: none;
  }

  .btn-uji-finish-early span {
    font-size: 10.5px;
  }
}
