/**
 * [AI_NETWORK_MAP & DATA_FLOW]
 * Role: Pixel-Perfect CSS Engine for 1:1 Exact AI Concept Sheet Replicas.
 * Matches:
 * 1. light_ratings_sheet.jpg: 3D translucent liquid jelly lozenges with curved specular reflections and colored neon drop shadows.
 * 2. light_student_bento_sheet.jpg: Stacked squircle bento card (R=42px), glowing cyan avatar halo, 5 golden stars, 12 asar pill, and 3D jelly 'حاضر' button.
 * 3. light_portfolio_sheet.jpg: Frosted glass floating sheet, 4 colorful pill tags, clay solar system artwork, glowing cyan 3D emoji ring, and audio waveform pill.
 * 4. light_pbis_sheet.jpg: 5 hanging 3D faceted crystal gemstone medals (Emerald Microscope, Sapphire Quill, Rose Heart, Amethyst Book, Topaz Star/PBIS) in acrylic glass showcase.
 * 5. light_dismissal_sheet.jpg: Guardian photo card, green verified pill, Iranian license plate (۷۲۹ ب ۴۴ - ایران ۱۱), and glowing cyan 'فراخوان در گیت ۲' jelly button.
 * 6. light_report_card_sheet.jpg: Official Sida A4 certificate with national emblem, header, 5-column curriculum matrix with circular checkmarks, feedback box, and blue ink stamp.
 * 7. light_master_ui_sheet.jpg: Dynamic Island navigation capsule with active dashboard pill.
 */

/* ==========================================================================
   1. 3D TRANSLUCENT LIQUID JELLY LOZENGES (light_ratings_sheet.jpg)
   ========================================================================== */
.pixel-jelly-card {
  background: #ffffff;
  border-radius: 38px;
  padding: 24px 20px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05), 0 10px 20px rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.04);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
}

.pixel-jelly-topbar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.pixel-segmented-pill {
  display: inline-flex;
  background: #eceff3;
  padding: 3px;
  border-radius: 9999px;
  gap: 2px;
}
.pixel-seg-btn {
  padding: 6px 16px;
  border-radius: 9999px;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  color: #64748b;
  cursor: pointer;
  transition: all 0.2s ease;
}
.pixel-seg-btn.active {
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
.pixel-chip-pill {
  background: #eceff3;
  color: #475569;
  border: none;
  padding: 6px 14px;
  border-radius: 9999px;
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.pixel-jelly-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: nowrap;
  width: 100%;
}

/* Master 3D Liquid Jelly Pill */
.pixel-jelly-pill {
  position: relative;
  flex: 1;
  min-width: 0;
  max-width: 135px;
  height: 48px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Vazirmatn', sans-serif;
  font-size: 13.5px;
  font-weight: 900;
  color: #ffffff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
  overflow: hidden;
  white-space: nowrap;
}

.pixel-jelly-pill:hover {
  transform: translateY(-3px) scale(1.03);
}
.pixel-jelly-pill:active {
  transform: translateY(1px) scale(0.98);
}

/* Specular Curved Gloss Reflection on Upper Rim */
.pixel-jelly-pill::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 6px;
  right: 6px;
  height: 44%;
  border-radius: 9999px 9999px 60% 60%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85) 0%, rgba(255, 255, 255, 0.2) 65%, transparent 100%);
  pointer-events: none;
}

/* Bottom specular rim */
.pixel-jelly-pill::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 25%;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.35) 0%, transparent 80%);
  pointer-events: none;
}

/* Green (خیلی خوب) */
.pixel-jelly-pill.green {
  background: linear-gradient(180deg, #34d399 0%, #10b981 40%, #059669 100%);
  box-shadow: 0 16px 32px -4px rgba(16, 185, 129, 0.55), 0 6px 12px -2px rgba(16, 185, 129, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

/* Blue (خوب) */
.pixel-jelly-pill.blue {
  background: linear-gradient(180deg, #38bdf8 0%, #0ea5e9 40%, #0284c7 100%);
  box-shadow: 0 16px 32px -4px rgba(14, 165, 233, 0.55), 0 6px 12px -2px rgba(14, 165, 233, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

/* Amber/Orange (قابل قبول) */
.pixel-jelly-pill.amber {
  background: linear-gradient(180deg, #fbbf24 0%, #f59e0b 40%, #d97706 100%);
  box-shadow: 0 16px 32px -4px rgba(245, 158, 11, 0.55), 0 6px 12px -2px rgba(245, 158, 11, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

/* Rose/Pink (نیازمند تلاش) */
.pixel-jelly-pill.rose {
  background: linear-gradient(180deg, #fb7185 0%, #f43f5e 40%, #e11d48 100%);
  box-shadow: 0 16px 32px -4px rgba(244, 63, 94, 0.55), 0 6px 12px -2px rgba(244, 63, 94, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   2. PIXEL-PERFECT STUDENT BENTO PROFILE CARD (light_student_bento_sheet.jpg)
   ========================================================================== */
.pixel-student-card-wrap {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  position: relative;
}

.pixel-student-card {
  background: #ffffff;
  border-radius: 42px;
  padding: 32px 28px 28px;
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.04);
  /* Stacked card layers shadow matching the AI image */
  box-shadow: 
    0 25px 50px -10px rgba(0, 0, 0, 0.07),
    0 10px 20px -5px rgba(0, 0, 0, 0.04),
    0 6px 0 2px #f8fafc,
    0 8px 0 3px rgba(0, 0, 0, 0.03),
    0 14px 0 5px #f1f5f9,
    0 16px 0 6px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.pixel-student-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

/* Glowing Avatar Halo */
.pixel-avatar-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.pixel-avatar-halo {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  padding: 3px;
  border: 3px solid #5eead4;
  box-shadow: 0 0 22px rgba(94, 234, 212, 0.65), inset 0 0 10px rgba(94, 234, 212, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: #ffffff;
}
.pixel-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #e2e8f0;
}
.pixel-grade-pill {
  background: #eceff3;
  color: #0f172a;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 14px;
}

/* Top Right Stars & Medals */
.pixel-stars-medals {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}
.pixel-stars-row {
  display: flex;
  gap: 3px;
  font-size: 18px;
  color: #f59e0b;
}
.pixel-artifacts-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #eceff3;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 800;
  color: #0f172a;
}
.pixel-gold-medal-icon {
  font-size: 16px;
}

/* Student Name & ID in Center */
.pixel-student-center {
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.pixel-student-name {
  font-size: 26px;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.2;
}
.pixel-student-id-pill {
  background: #eceff3;
  color: #64748b;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 16px;
  font-family: inherit;
  direction: ltr;
}

/* Attendance Buttons at Bottom */
.pixel-att-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 8px;
}
.pixel-att-jelly-btn {
  position: relative;
  flex: 1.2;
  height: 48px;
  border-radius: 9999px;
  border: none;
  background: linear-gradient(180deg, #34d399 0%, #10b981 50%, #059669 100%);
  box-shadow: 0 12px 24px -2px rgba(16, 185, 129, 0.5);
  color: #ffffff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  overflow: hidden;
}
.pixel-att-jelly-btn::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 6px;
  right: 6px;
  height: 42%;
  border-radius: 9999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.8) 0%, transparent 100%);
}
.pixel-att-soft-btn {
  flex: 1;
  height: 48px;
  border-radius: 9999px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  background: #f1f5f9;
  color: #64748b;
  font-family: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}
.pixel-att-soft-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

/* ==========================================================================
   3. PIXEL-PERFECT DIGITAL PORTFOLIO CARD (light_portfolio_sheet.jpg)
   ========================================================================== */
.pixel-portfolio-sheet {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border-radius: 44px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05), inset 0 1px 2px rgba(255, 255, 255, 0.9);
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pixel-portfolio-inner-card {
  background: #ffffff;
  border-radius: 30px;
  padding: 22px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* 2x2 Tag Pills */
.pixel-portfolio-tags-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.pixel-tag-pill {
  padding: 6px 12px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 800;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.pixel-tag-pill.blue {
  background: #e0f2fe;
  color: #0369a1;
}
.pixel-tag-pill.purple {
  background: #ede9fe;
  color: #6d28d9;
}
.pixel-tag-pill.green {
  background: #dcfce7;
  color: #15803d;
}
.pixel-tag-pill.pink {
  background: #fce7f3;
  color: #be185d;
}

/* Project Photo Box & Title */
.pixel-project-body {
  display: flex;
  align-items: center;
  gap: 16px;
}
.pixel-project-img-frame {
  width: 140px;
  height: 125px;
  border-radius: 18px;
  overflow: hidden;
  background: #f1f5f9;
  flex-shrink: 0;
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.pixel-project-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pixel-project-title-text {
  font-size: 19px;
  font-weight: 900;
  color: #0f172a;
  line-height: 1.4;
  text-align: right;
}

/* 3D Emoji Evaluation Bar */
.pixel-emoji-rating-bar {
  background: #f1f5f9;
  border-radius: 9999px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.pixel-emojis-group {
  display: flex;
  align-items: center;
  gap: 8px;
}
.pixel-emoji-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s ease;
}
.pixel-emoji-circle:hover {
  transform: scale(1.15);
}
.pixel-emoji-circle.active-halo {
  background: #ffffff;
  border: 2px solid #5eead4;
  box-shadow: 0 0 16px rgba(94, 234, 212, 0.7);
}
.pixel-divider-v {
  width: 1px;
  height: 24px;
  background: #cbd5e1;
}

/* Audio Waveform Bar */
.pixel-audio-bar {
  background: #f1f5f9;
  border-radius: 9999px;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 800;
  color: #334155;
  cursor: pointer;
}
.pixel-waveform-graphic {
  display: flex;
  align-items: center;
  gap: 2.5px;
  height: 18px;
}
.pixel-wave-bar {
  width: 2.5px;
  background: #94a3b8;
  border-radius: 9999px;
}

/* ==========================================================================
   4. PIXEL-PERFECT PBIS 3D CRYSTAL MEDALS SHOWCASE (light_pbis_sheet.jpg)
   ========================================================================== */
.pixel-pbis-showcase-box {
  background: linear-gradient(180deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 36px;
  padding: 32px 24px;
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
}

.pixel-medals-row {
  display: flex;
  direction: ltr;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  padding-bottom: 16px;
}

.pixel-medal-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.pixel-medal-unit:hover {
  transform: translateY(-8px);
}

/* Gold Fabric Hanging Ribbon */
.pixel-gold-ribbon {
  width: 44px;
  height: 72px;
  background: linear-gradient(90deg, #ca8a04 0%, #eab308 30%, #fef08a 50%, #eab308 70%, #a16207 100%);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  margin-bottom: -1px;
}
.pixel-gold-bracket {
  width: 32px;
  height: 10px;
  border: 3px solid #eab308;
  border-radius: 4px;
  background: #ca8a04;
  margin-bottom: 2px;
}

/* Faceted Cut Gemstone Medal in Gold Bezel */
.pixel-faceted-gem {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  border: 4px solid #facc15;
  box-shadow: 
    0 14px 28px rgba(0, 0, 0, 0.2),
    inset 0 2px 4px rgba(255, 255, 255, 0.9),
    inset 0 -3px 6px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

/* Faceted Glass Shader Patterns */
.pixel-faceted-gem.emerald-gem {
  background: 
    radial-gradient(circle at 35% 30%, #a7f3d0 0%, #10b981 40%, #047857 75%, #064e3b 100%);
}
.pixel-faceted-gem.sapphire-gem {
  background: 
    radial-gradient(circle at 35% 30%, #bae6fd 0%, #0ea5e9 40%, #1d4ed8 75%, #1e3a8a 100%);
}
.pixel-faceted-gem.rose-gem {
  background: 
    radial-gradient(circle at 35% 30%, #fbcfe8 0%, #f472b6 40%, #db2777 75%, #831843 100%);
}
.pixel-faceted-gem.amethyst-gem {
  background: 
    radial-gradient(circle at 35% 30%, #ddd6fe 0%, #a855f7 40%, #7e22ce 75%, #581c87 100%);
}
.pixel-faceted-gem.topaz-gem {
  background: 
    radial-gradient(circle at 35% 30%, #fef08a 0%, #facc15 40%, #d97706 75%, #78350f 100%);
}

.pixel-gem-emblem-svg {
  width: 58px;
  height: 58px;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.3));
}

/* Acrylic Glass Podium Block */
.pixel-glass-podium {
  width: 90px;
  height: 38px;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.06);
  border-radius: 4px;
  margin-top: -12px;
  z-index: 1;
}

/* ==========================================================================
   5. PIXEL-PERFECT SAFE DISMISSAL CARD (light_dismissal_sheet.jpg)
   ========================================================================== */
.pixel-dismissal-sheet {
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  border-radius: 44px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
  max-width: 440px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pixel-guardian-card {
  background: #ffffff;
  border-radius: 26px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(0, 0, 0, 0.04);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.03);
}
.pixel-guardian-info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}
.pixel-guardian-name {
  font-size: 17px;
  font-weight: 900;
  color: #0f172a;
}
.pixel-guardian-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.pixel-guardian-phone {
  font-size: 11px;
  color: #64748b;
  font-family: inherit;
}
.pixel-verified-pill {
  background: #15803d;
  color: #ffffff;
  border-radius: 9999px;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(21, 128, 61, 0.4);
}

/* License Plate Row */
.pixel-plate-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.pixel-car-model-pill {
  background: #eceff3;
  color: #64748b;
  padding: 8px 16px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 800;
}

/* Call to Gate Lozenge Button */
.pixel-gate-call-btn {
  position: relative;
  width: 100%;
  height: 52px;
  border-radius: 9999px;
  border: none;
  background: linear-gradient(180deg, #38bdf8 0%, #0ea5e9 45%, #0284c7 100%);
  box-shadow: 0 14px 28px -2px rgba(14, 165, 233, 0.55);
  color: #ffffff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  overflow: hidden;
}
.pixel-gate-call-btn::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 8px;
  right: 8px;
  height: 44%;
  border-radius: 9999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.85) 0%, transparent 100%);
}

.pixel-dismissal-bottom-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.pixel-sms-sent-pill {
  background: #dcfce7;
  color: #15803d;
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.pixel-time-box {
  background: #eceff3;
  color: #0f172a;
  padding: 6px 14px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 800;
  font-family: inherit;
}

/* ==========================================================================
   6. PIXEL-PERFECT OFFICIAL SIDA REPORT CARD CERTIFICATE (light_report_card_sheet.jpg)
   ========================================================================== */
.pixel-sida-card-sheet {
  background: #ffffff;
  border-radius: 36px;
  padding: 36px 32px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.06);
  max-width: 580px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.pixel-sida-header-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}
.pixel-iran-emblem-svg {
  width: 44px;
  height: 44px;
  margin-bottom: 2px;
}
.pixel-ministry-text {
  font-size: 11px;
  color: #475569;
  font-weight: 700;
}
.pixel-school-title {
  font-size: 19px;
  font-weight: 900;
  color: #0f172a;
}

.pixel-sida-student-box {
  background: #f8fafc;
  border-radius: 18px;
  padding: 12px 18px;
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  color: #1e293b;
}
.pixel-sida-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* 5-Column Matrix Table */
.pixel-sida-matrix-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #cbd5e1;
}
.pixel-sida-matrix-table th,
.pixel-sida-matrix-table td {
  border: 1px solid #cbd5e1;
  padding: 8px 6px;
  text-align: center;
}
.pixel-sida-matrix-table th {
  background: #f1f5f9;
  font-weight: 900;
  color: #0f172a;
}
.pixel-sida-matrix-table td.subject-col {
  background: #ffffff;
  font-weight: 900;
  color: #0f172a;
  text-align: right;
  padding-right: 12px;
}
.pixel-sida-matrix-table td.excellent-bg {
  background: #ecfdf5;
}

.pixel-green-check-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #10b981;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.4);
}

.pixel-narrative-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 14px 16px;
  font-size: 11px;
  line-height: 1.8;
  color: #334155;
  font-weight: 600;
  text-align: right;
}

.pixel-signatures-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
}
.pixel-blue-stamp {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  border: 2.5px solid #1e40af;
  color: #1e40af;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.2;
  text-align: center;
  box-shadow: inset 0 0 0 2px #bfdbfe;
  transform: rotate(-8deg);
  opacity: 0.9;
}

/* ==========================================================================
   MASTER UI & AUTHENTIC PBIS ENHANCEMENTS
   ========================================================================== */
.pixel-master-header-brand {
  display: flex;
  direction: ltr;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
  width: 100%;
}
.pixel-master-title-en {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
  font-size: 32px;
  font-weight: 900;
  color: #0b1329;
  letter-spacing: -0.6px;
  line-height: 1.1;
}
.pixel-master-subtitle-en {
  font-size: 13px;
  color: #64748b;
  font-weight: 600;
  margin-top: 4px;
}
.pixel-dynamic-island-capsule {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  padding: 6px 14px 6px 8px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 16px 36px -4px rgba(14, 165, 233, 0.12), 0 2px 8px rgba(0, 0, 0, 0.04);
}
.pixel-island-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e0f2fe;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0284c7;
  font-size: 17px;
  border: none;
  cursor: pointer;
}
.pixel-island-nav-items {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  color: #64748b;
}
.pixel-island-nav-pill {
  cursor: pointer;
  padding: 6px 14px;
  border-radius: 9999px;
  transition: all 0.2s ease;
  border: none;
  background: transparent;
  color: #64748b;
  font-family: inherit;
}
.pixel-island-nav-pill.active {
  background: #ffffff;
  color: #0f172a;
  font-weight: 900;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

/* Authentic PBIS Cut Crystal Medal */
.pixel-pbis-img-wrap {
  width: 104px;
  height: 226px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.35s ease;
  filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.12));
}
.pixel-medal-unit:hover .pixel-pbis-img-wrap {
  transform: translateY(-8px) scale(1.05);
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.2));
}
.pixel-pbis-authentic-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
