/* ==========================================================================
   VINTAGE KARLSSON SPLIT-FLAP ANALOG CLOCK & CALENDAR
   Design System, Brushed Metallic Gray Chassis & 3D Card Physics
   ========================================================================== */

:root {
  /* Color Palette */
  --bg-room-gradient: radial-gradient(circle at 50% 30%, #1f232b 0%, #111317 65%, #08090b 100%);
  --metal-base: #9aa0a6;
  --metal-highlight: #c7ccd4;
  --metal-shadow: #636870;
  --metal-rim: #383b40;
  
  --bezel-black: #0c0d10;
  --cavity-dark: #121418;
  --cavity-inner-shadow: rgba(0, 0, 0, 0.95);
  --backlight-glow: rgba(220, 235, 255, 0.45);
  
  --card-bg-top: #f5f6f8;
  --card-bg-bottom: #e8ebef;
  --card-text: #111316;
  --card-sublabel: #606770;
  --card-stacked-edge: #b5bac2;
  --card-hinge: #1c1e22;
  --split-line-color: rgba(18, 20, 24, 0.95);
  
  --brand-engrave-shadow: rgba(255, 255, 255, 0.65);
  --brand-engrave-deep: rgba(0, 0, 0, 0.85);

  /* Fonts */
  --font-numbers: 'Oswald', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-ui: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-brand: 'Cinzel', serif;

  /* Card Geometry (Scalable base variables) */
  --unit-width: 140px;
  --unit-height: 180px;
  --year-width: 195px;
  --font-size-card: 112px;
  --font-size-year: 94px;
  --font-size-month-text: 82px;
  --flip-duration: 360ms;
}

/* Base Reset & Layout */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  background: var(--bg-room-gradient);
  font-family: var(--font-ui);
  color: #e4e7eb;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Clock Stage / Canvas */
.clock-stage {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px 40px;
  position: relative;
  perspective: 1400px;
}

/* ==========================================================================
   Hamburger Settings Trigger & Dropdown Menu
   ========================================================================== */
.settings-container {
  position: fixed;
  top: 24px;
  right: 28px;
  z-index: 1000;
}

/* Minimalist Circular Glassmorphic Hamburger Button */
.hamburger-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(26, 29, 36, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 
    0 10px 25px -4px rgba(0, 0, 0, 0.65),
    inset 0 1px 1px rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  outline: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
}

.hamburger-btn:hover {
  background: rgba(38, 43, 54, 0.9);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 
    0 14px 28px -4px rgba(0, 0, 0, 0.75),
    inset 0 1px 1px rgba(255, 255, 255, 0.35);
}

.hamburger-btn:active {
  transform: translateY(0);
}

.hamburger-box {
  position: relative;
  width: 20px;
  height: 14px;
  display: block;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
  position: absolute;
  width: 20px;
  height: 2px;
  background-color: #e5e7eb;
  border-radius: 2px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.hamburger-inner {
  top: 50%;
  transform: translateY(-50%);
}

.hamburger-inner::before {
  content: '';
  top: -6px;
}

.hamburger-inner::after {
  content: '';
  bottom: -6px;
}

/* Open State (Animated X) */
.hamburger-btn.is-open .hamburger-inner {
  background-color: transparent;
}

.hamburger-btn.is-open .hamburger-inner::before {
  top: 0;
  transform: rotate(45deg);
}

.hamburger-btn.is-open .hamburger-inner::after {
  bottom: 0;
  transform: rotate(-45deg);
}

/* Settings Dropdown Popover */
.settings-menu {
  position: absolute;
  top: 56px;
  right: 0;
  width: 280px;
  background: rgba(18, 20, 26, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  box-shadow: 
    0 24px 50px -10px rgba(0, 0, 0, 0.85),
    inset 0 1px 1px rgba(255, 255, 255, 0.15);
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.96);
  transform-origin: top right;
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.2s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.2s;
  pointer-events: none;
}

.settings-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.settings-menu-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.settings-status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
}

.settings-menu-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9ca3af;
}

.settings-menu-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.settings-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: #d1d5db;
  font-family: var(--font-ui);
  cursor: pointer;
  outline: none;
  transition: all 0.18s ease;
}

.settings-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

.settings-item:active {
  transform: scale(0.98);
}

.item-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.item-icon {
  font-size: 0.88rem;
}

.item-name {
  font-size: 0.78rem;
  font-weight: 500;
}

.item-badge {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #e5e7eb;
}

.settings-item.active .item-badge {
  background: rgba(16, 185, 129, 0.2);
  border-color: rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
}

.item-badge.action-badge {
  background: rgba(255, 255, 255, 0.06);
  color: #9ca3af;
}

.settings-item:hover .item-badge.action-badge {
  color: #ffffff;
}

/* ==========================================================================
   The Metallic Gray Clock Chassis (Karlsson Brushed Aluminum Bezel)
   ========================================================================== */
.clock-chassis {
  position: relative;
  padding: 44px 48px;
  background: 
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.04) 0px,
      rgba(255, 255, 255, 0.04) 1px,
      transparent 1px,
      transparent 3px
    ),
    linear-gradient(
      135deg,
      #b0b6bf 0%,
      #8c929c 18%,
      #a7adb7 35%,
      #767c86 52%,
      #9da3ad 70%,
      #828892 88%,
      #9ea4af 100%
    );
  border-radius: 18px;
  /* Heavy authentic industrial drop shadows and outer bevel */
  box-shadow:
    0 40px 90px -15px rgba(0, 0, 0, 0.85),
    0 15px 35px rgba(0, 0, 0, 0.5),
    inset 0 2px 2px rgba(255, 255, 255, 0.75),
    inset 0 -3px 4px rgba(0, 0, 0, 0.5),
    inset 2px 0 3px rgba(255, 255, 255, 0.4),
    inset -2px 0 3px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Outer Rim Chamfer */
.bezel-outer-chamfer {
  position: absolute;
  inset: 4px;
  border-radius: 14px;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.4), inset 0 -1px 2px rgba(0, 0, 0, 0.4);
}

/* Metallic Industrial Screws in 4 Corners */
.corner-screw {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: 
    radial-gradient(circle at 35% 35%, #e6ebf2 0%, #8e949e 55%, #595d66 100%);
  box-shadow:
    0 1px 3px rgba(0, 0, 0, 0.7),
    inset 0 1px 1px rgba(255, 255, 255, 0.9),
    inset 0 -1px 1px rgba(0, 0, 0, 0.8);
  border: 1px solid #4a4e57;
  z-index: 5;
}

.corner-screw::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 8px;
  height: 1.5px;
  background: #2b2e34;
  box-shadow: 0 0.5px 0.5px rgba(255, 255, 255, 0.4);
  transform: translate(-50%, -50%);
}

.screw-tl { top: 16px; left: 16px; transform: rotate(28deg); }
.screw-tr { top: 16px; right: 16px; transform: rotate(-52deg); }
.screw-bl { bottom: 16px; left: 16px; transform: rotate(73deg); }
.screw-br { bottom: 16px; right: 16px; transform: rotate(-18deg); }

/* ==========================================================================
   Thick Black Border & Recessed Display Cavity
   ========================================================================== */
.display-cavity {
  position: relative;
  background: var(--cavity-dark);
  border-radius: 10px;
  padding: 30px 36px 32px;
  /* Thick black border & deep recessed cavity shadows */
  border: 14px solid var(--bezel-black);
  box-shadow:
    /* Deep interior recess shadow */
    inset 0 14px 28px rgba(0, 0, 0, 0.95),
    inset 0 -10px 20px rgba(0, 0, 0, 0.85),
    inset 12px 0 20px rgba(0, 0, 0, 0.85),
    inset -12px 0 20px rgba(0, 0, 0, 0.85),
    /* Outer highlight around thick black border */
    0 1px 2px rgba(255, 255, 255, 0.4),
    0 -1px 2px rgba(0, 0, 0, 0.8);
  overflow: hidden;
}

/* Recessed Cavity Inner Bevel Line */
.cavity-bevel {
  position: absolute;
  inset: 0;
  border-radius: 2px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.9);
  pointer-events: none;
}

/* Inner Rim Backlight Glow (matching CloclSample.HEIC photo reflection) */
.cavity-backlight {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: 
    linear-gradient(180deg, rgba(230, 240, 255, 0.18) 0%, rgba(230, 240, 255, 0.04) 15%, transparent 40%),
    linear-gradient(90deg, rgba(230, 240, 255, 0.1) 0%, transparent 10%, transparent 90%, rgba(230, 240, 255, 0.1) 100%);
  opacity: 1;
  transition: opacity 0.4s ease;
  z-index: 10;
}

.display-cavity.no-backlight .cavity-backlight {
  opacity: 0;
}

.cavity-shadow-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, transparent 60%, rgba(0, 0, 0, 0.6) 100%);
  pointer-events: none;
  z-index: 11;
}

/* Cards Wrapper */
.cards-layout-wrapper {
  position: relative;
  z-index: 12;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Row Layout */
.clock-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
}

/* Row Divider Line */
.cavity-row-divider {
  width: 100%;
  height: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
}

.divider-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.08) 25%, rgba(255, 255, 255, 0.12) 50%, rgba(255, 255, 255, 0.08) 75%, transparent 100%);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.9);
}

/* ==========================================================================
   Split-Flap Rolodex Unit & Card Architecture
   ========================================================================== */
.flap-unit {
  position: relative;
  width: var(--unit-width);
  height: var(--unit-height);
  perspective: 900px;
  user-select: none;
}

/* Year Card is slightly wider to fit 4 digits comfortably */
.flap-unit-year {
  width: var(--year-width);
}

/* Side Mechanical Pivot Brackets / Axle Pins (Karlsson Rolodex Clamps) */
.flap-bracket {
  position: absolute;
  top: 50%;
  width: 7px;
  height: 16px;
  background: var(--card-hinge);
  border-radius: 2px;
  transform: translateY(-50%);
  z-index: 30;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.8), inset 0 1px 1px rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.6);
}

.bracket-left {
  left: -4px;
}

.bracket-right {
  right: -4px;
}

/* AM / PM Mechanical Tag */
.ampm-tag {
  position: absolute;
  top: -12px;
  right: 8px;
  background: #191c22;
  color: #e5e7eb;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 1px 6px;
  border-radius: 4px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.7);
  z-index: 25;
  transition: opacity 0.2s ease;
}

.ampm-tag.hidden {
  display: none;
}

/* Flap Card Wrapper */
.flap-card-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 8px;
  box-shadow:
    0 12px 24px -4px rgba(0, 0, 0, 0.8),
    0 4px 8px rgba(0, 0, 0, 0.6);
}

/* Crisp Realistic Razor Split Line Across Center of Card */
.flap-card-wrapper::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(14, 16, 20, 0.95);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
  transform: translateY(-50%);
  z-index: 20;
  pointer-events: none;
}

/* Individual Flap Half (Top or Bottom) */
.flap-half {
  position: absolute;
  left: 0;
  width: 100%;
  height: 50%;
  overflow: hidden;
  background: var(--card-bg-top);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Top Half Flap */
.flap-top {
  top: 0;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  background: linear-gradient(180deg, #fbfcfd 0%, #ebedf0 88%, #d9dde3 100%);
  transform-origin: bottom center;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15);
}

/* Bottom Half Flap */
.flap-bottom {
  bottom: 0;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  background: linear-gradient(180deg, #d3d7de 0%, #e2e5eb 12%, #ebedf2 100%);
  transform-origin: top center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* Flap Typography Content Container - Mathematically aligned without border offset */
.flap-content {
  position: absolute;
  left: 0;
  right: 0;
  width: 100%;
  height: 200%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-numbers);
  font-size: var(--font-size-card);
  font-weight: 700;
  color: var(--card-text);
  line-height: 1;
  letter-spacing: -0.02em;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}

.flap-top .flap-content {
  top: 0;
}

.flap-bottom .flap-content {
  top: -100%;
}

/* Year typography sizing */
.flap-unit-year .flap-content {
  font-size: var(--font-size-year);
  letter-spacing: -0.04em;
}

/* Text Month Mode font sizing */
.flap-unit-month.is-text-mode .flap-content {
  font-size: var(--font-size-month-text);
  letter-spacing: -0.03em;
}

/* Sublabels ("Month", "Day", "Year", "Hour", etc.) at bottom-left corner */
.unit-sublabel {
  position: absolute;
  bottom: 10px;
  left: 12px;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--card-sublabel);
  opacity: 0.85;
  pointer-events: none;
  z-index: 6;
}

/* Stacked Rolodex Card Base Deck (Simulating card pack depth as seen in photo) */
.stacked-deck {
  position: absolute;
  bottom: -6px;
  left: 3px;
  right: 3px;
  height: 6px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1px;
  z-index: 1;
}

.deck-line {
  display: block;
  width: 100%;
  height: 1px;
  background: var(--card-stacked-edge);
  opacity: 0.75;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.4);
}

.deck-line:nth-child(1) { width: 94%; margin: 0 auto; opacity: 0.4; }
.deck-line:nth-child(2) { width: 96%; margin: 0 auto; opacity: 0.55; }
.deck-line:nth-child(3) { width: 98%; margin: 0 auto; opacity: 0.7; }
.deck-line:nth-child(4) { width: 100%; opacity: 0.85; }

/* ==========================================================================
   Split-Flap 3D Physics Animation & Layer Stacking
   ========================================================================== */

/* Static Base Layers */
.flap-static-bottom {
  z-index: 1;
}

.flap-static-top {
  z-index: 1;
}

/* Animated Leaves: HIDDEN by default when idle so old values cannot linger */
.flap-leaf {
  display: none;
  visibility: hidden;
}

.flap-unit.is-flipping .flap-leaf {
  display: block;
  visibility: visible;
}

.flap-leaf-dropping {
  z-index: 2;
  transform: rotateX(90deg);
}

.flap-leaf-falling {
  z-index: 3;
  transform: rotateX(0deg);
}

/* Dynamic Shadow Overlays */
.leaf-shadow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--flip-duration) linear;
}

.flap-leaf-falling .leaf-shadow {
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
}

.flap-leaf-dropping .leaf-shadow {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
}

/* Flipping State Animations */
.flap-unit.is-flipping .flap-leaf-falling {
  animation: flip-top-leaf var(--flip-duration) cubic-bezier(0.38, 0.04, 0.55, 0.98) forwards;
}

.flap-unit.is-flipping .flap-leaf-falling .leaf-shadow {
  animation: shadow-fall var(--flip-duration) cubic-bezier(0.38, 0.04, 0.55, 0.98) forwards;
}

.flap-unit.is-flipping .flap-leaf-dropping {
  animation: flip-bottom-leaf var(--flip-duration) cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.flap-unit.is-flipping .flap-leaf-dropping .leaf-shadow {
  animation: shadow-drop var(--flip-duration) cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

@keyframes flip-top-leaf {
  0% {
    transform: rotateX(0deg);
  }
  50%, 100% {
    transform: rotateX(-90deg);
  }
}

@keyframes flip-bottom-leaf {
  0%, 50% {
    transform: rotateX(90deg);
  }
  100% {
    transform: rotateX(0deg);
  }
}

@keyframes shadow-fall {
  0% { opacity: 0; }
  50%, 100% { opacity: 0.85; }
}

@keyframes shadow-drop {
  0%, 50% { opacity: 0.85; }
  100% { opacity: 0; }
}

/* Time Colon Separator */
.time-separator {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  width: 14px;
  height: var(--unit-height);
  padding-bottom: 12px;
}

.separator-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2a2e36;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 
    inset 0 1px 2px rgba(0, 0, 0, 0.9),
    0 1px 1px rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   Responsive Sizing & Media Queries
   ========================================================================== */
@media (max-width: 1024px) {
  :root {
    --unit-width: 110px;
    --unit-height: 145px;
    --year-width: 155px;
    --font-size-card: 90px;
    --font-size-year: 72px;
    --font-size-month-text: 64px;
  }
  
  .clock-chassis {
    padding: 34px 38px;
  }
  
  .display-cavity {
    padding: 22px 26px 24px;
    border-width: 10px;
  }
  
  .clock-row {
    gap: 16px;
  }
}

@media (max-width: 768px) {
  :root {
    --unit-width: 82px;
    --unit-height: 110px;
    --year-width: 116px;
    --font-size-card: 66px;
    --font-size-year: 52px;
    --font-size-month-text: 46px;
  }
  
  .settings-container {
    top: 16px;
    right: 16px;
  }

  .hamburger-btn {
    width: 40px;
    height: 40px;
  }

  .settings-menu {
    width: 250px;
    top: 48px;
  }
  
  .clock-chassis {
    padding: 20px 18px;
    border-radius: 12px;
  }
  
  .display-cavity {
    padding: 16px 12px 18px;
    border-width: 8px;
  }
  
  .clock-row {
    gap: 10px;
  }
  
  .cards-layout-wrapper {
    gap: 16px;
  }
  
  .unit-sublabel {
    bottom: 6px;
    left: 6px;
    font-size: 0.58rem;
  }
  
  .time-separator {
    width: 8px;
    gap: 12px;
  }
  
  .separator-dot {
    width: 6px;
    height: 6px;
  }
  
  .corner-screw {
    width: 10px;
    height: 10px;
  }
  
  .screw-tl { top: 10px; left: 10px; }
  .screw-tr { top: 10px; right: 10px; }
  .screw-bl { bottom: 10px; left: 10px; }
  .screw-br { bottom: 10px; right: 10px; }
}

@media (max-width: 480px) {
  :root {
    --unit-width: 64px;
    --unit-height: 86px;
    --year-width: 90px;
    --font-size-card: 50px;
    --font-size-year: 38px;
    --font-size-month-text: 36px;
  }
  
  .clock-chassis {
    padding: 18px 10px 16px;
  }
  
  .display-cavity {
    padding: 12px 8px;
    border-width: 6px;
  }
  
  .clock-row {
    gap: 6px;
  }
  
  .unit-sublabel {
    display: none; /* Hide sublabels on tiny mobile screens for legibility */
  }
}

/* ==========================================================================
   Accessibility: Reduced Motion Preference Support
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  .flap-unit.is-flipping .flap-leaf-falling,
  .flap-unit.is-flipping .flap-leaf-dropping {
    animation: none !important;
    transform: none !important;
  }
  
  .flap-unit.is-flipping .leaf-shadow {
    animation: none !important;
    opacity: 0 !important;
  }
  
  .toolbar-status-dot {
    animation: none !important;
  }
}
