/* ==========================================================================
   boostnet机场网络实验室 (Pastel Bubble Tea Laboratory)
   Design System & Global Styles
   Colors:
     Background: #FFF8F1
     Milk Tea Beige: #EAD7C2
     Pale Taro Purple: #DDD0EE
     Light Peach: #F5D2C5
     Mint: #D2E9DE
     Body Text: #504747
   ========================================================================== */

:root {
  --bg-cream: #FFF8F1;
  --c-tea-beige: #EAD7C2;
  --c-taro-purple: #DDD0EE;
  --c-light-peach: #F5D2C5;
  --c-mint: #D2E9DE;
  --c-text-primary: #504747;
  --c-text-muted: #7A6F6D;
  --c-text-light: #9E918E;
  --c-border: rgba(80, 71, 71, 0.12);
  --c-border-strong: rgba(80, 71, 71, 0.22);
  --c-frosted: rgba(255, 248, 241, 0.78);
  --c-card-bg: rgba(255, 255, 255, 0.65);
  --c-card-bg-solid: #FFFFFF;
  --c-accent-dark: #3F3737;
  --c-highlight: #E79B82;
  --c-success: #679E83;
  --c-warning: #D98858;

  --shadow-sm: 0 4px 12px rgba(80, 71, 71, 0.05);
  --shadow-md: 0 10px 25px rgba(180, 150, 130, 0.10);
  --shadow-lg: 0 18px 45px rgba(180, 150, 130, 0.15);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --font-heading: Optima, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;

  --container-max: 1240px;
  --header-h1: 64px;
  --header-h2: 44px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  background-color: var(--bg-cream);
  color: var(--c-text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  background-image: 
    radial-gradient(circle at 10% 15%, rgba(245, 210, 197, 0.35) 0%, transparent 35%),
    radial-gradient(circle at 90% 30%, rgba(221, 208, 238, 0.35) 0%, transparent 40%),
    radial-gradient(circle at 50% 85%, rgba(210, 233, 222, 0.35) 0%, transparent 45%);
  background-attachment: fixed;
}

a {
  color: var(--c-text-primary);
  text-decoration: none;
  transition: color 0.25s ease, opacity 0.25s ease;
}

a:hover {
  color: var(--c-highlight);
}

img, svg {
  display: block;
  max-width: 100%;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
  touch-action: manipulation;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--c-accent-dark);
  line-height: 1.28;
  letter-spacing: -0.015em;
}

h1 { font-size: clamp(2rem, 3.8vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 2.8vw, 2.3rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.5rem); }
h4 { font-size: 1.15rem; }

p {
  margin-bottom: 1rem;
  color: var(--c-text-primary);
}

p:last-child {
  margin-bottom: 0;
}

.text-muted {
  color: var(--c-text-muted);
}

.text-small {
  font-size: 0.875rem;
}

.text-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: var(--c-card-bg-solid);
  border: 1px solid var(--c-border);
}

.badge-lab {
  background: linear-gradient(135deg, var(--c-light-peach), var(--c-taro-purple));
  color: var(--c-accent-dark);
  box-shadow: 0 2px 8px rgba(221, 208, 238, 0.4);
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* Grid & Section Layouts */
.section {
  padding: 70px 0;
  position: relative;
}

@media (min-width: 992px) {
  .section {
    padding: 95px 0;
  }
}

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.section-head h2 {
  margin-bottom: 14px;
}

.section-head p {
  color: var(--c-text-muted);
  font-size: 1.05rem;
}

/* ==========================================================================
   Two-Tier Navigation Bar
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--c-frosted);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--c-border);
  transition: all 0.3s ease;
}

/* Upper Tier */
.nav-tier-upper {
  border-bottom: 1px solid rgba(80, 71, 71, 0.06);
  padding: 10px 0;
}

.upper-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--c-light-peach) 0%, var(--c-taro-purple) 60%, var(--c-mint) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(245, 210, 197, 0.45);
}

.brand-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--c-accent-dark);
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--c-accent-dark);
}

.brand-sub {
  font-size: 0.72rem;
  color: var(--c-text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.upper-cta-group {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lab-status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  color: var(--c-text-muted);
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: var(--radius-full);
  border: 1px solid var(--c-border);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--c-success);
  display: inline-block;
  box-shadow: 0 0 0 3px rgba(103, 158, 131, 0.25);
  animation: pulse-dot 2.2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(103, 158, 131, 0.4); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(103, 158, 131, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(103, 158, 131, 0); }
}

/* Lower Tier */
.nav-tier-lower {
  padding: 8px 0;
}

.lower-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.nav-links::-webkit-scrollbar {
  display: none;
}

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--c-text-primary);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  white-space: nowrap;
  transition: all 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  background: rgba(80, 71, 71, 0.06);
  color: var(--c-accent-dark);
}

.nav-link.active {
  background: var(--c-card-bg-solid);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 20px;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.2;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, #F5D2C5 0%, #EAD7C2 100%);
  color: var(--c-accent-dark);
  border: 1px solid rgba(80, 71, 71, 0.15);
  box-shadow: 0 4px 14px rgba(245, 210, 197, 0.5);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #f8c5b3 0%, #e3cbb0 100%);
  transform: translateY(-1.5px);
  box-shadow: 0 6px 18px rgba(245, 210, 197, 0.65);
  color: var(--c-accent-dark);
}

.btn-secondary {
  background: var(--c-card-bg-solid);
  color: var(--c-text-primary);
  border: 1px solid var(--c-border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: var(--c-border-strong);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.82rem;
}

.btn-lg {
  padding: 13px 28px;
  font-size: 1.02rem;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  color: var(--c-accent-dark);
  background: var(--c-card-bg-solid);
  border: 1px solid var(--c-border);
}

@media (max-width: 820px) {
  .lab-status-indicator {
    display: none;
  }
  .mobile-nav-toggle {
    display: inline-flex;
  }
  .nav-tier-lower {
    display: none;
  }
  .nav-tier-lower.is-open {
    display: block;
    border-top: 1px solid var(--c-border);
    padding: 12px 0;
  }
  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .nav-link {
    width: 100%;
    padding: 8px 14px;
  }
}

@media (max-width: 540px) {
  .container {
    padding-left: 14px;
    padding-right: 14px;
  }
  .brand-wrapper {
    gap: 8px;
    min-width: 0;
  }
  .brand-icon {
    width: 30px;
    height: 30px;
    border-radius: 9px;
  }
  .brand-title {
    font-size: 0.94rem;
    white-space: nowrap;
  }
  .brand-sub {
    font-size: 0.56rem;
    letter-spacing: 0.02em;
  }
  .upper-cta-group {
    gap: 6px;
    flex-shrink: 0;
  }
  .upper-cta-group .btn-sm {
    padding: 6px 10px;
    font-size: 0.72rem;
  }
  .upper-cta-group .btn-sm svg {
    display: none;
  }
}

/* ==========================================================================
   Hero 3-Column Section (Desktop) / Mobile Order
   ========================================================================== */
.hero-section {
  padding: 40px 0 65px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.15fr) minmax(0, 0.9fr);
    gap: 28px;
    align-items: stretch;
  }
}

.hero-col-title,
.hero-col-game,
.hero-col-summary {
  min-width: 0;
}

/* Hero Left: Title & Specs Base Rules (before responsive overrides) */
.hero-col-title {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-badge-wrap {
  margin-bottom: 16px;
}

.hero-title {
  font-size: clamp(1.7rem, 3.8vw, 3.1rem);
  margin-bottom: 18px;
  line-height: 1.24;
  overflow-wrap: break-word;
}

.hero-title .brand-gradient {
  background: linear-gradient(135deg, #a76b5c 0%, #765691 60%, #3e735d 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--c-text-muted);
  margin-bottom: 24px;
  line-height: 1.7;
}

.hero-cta-desktop {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.hero-col-cta-mobile {
  display: none;
}

/* Mobile Layout Order:
   1: Title & Lead
   2: CTA Group
   3: Interactive Tea Cup Game
   4: Product Summary
*/
@media (max-width: 991px) {
  .hero-col-title {
    order: 1;
    text-align: center;
  }
  .hero-cta-desktop {
    display: none;
  }
  .hero-col-cta-mobile {
    order: 2;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: -10px;
    margin-bottom: 8px;
  }
  .hero-col-game {
    order: 3;
  }
  .hero-col-summary {
    order: 4;
  }
}

@media (min-width: 992px) {
  .hero-col-cta-mobile {
    display: none;
  }
  .hero-col-title .hero-cta-desktop {
    display: flex;
  }
}

.hero-specs-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  padding-top: 18px;
  border-top: 1px dashed var(--c-border-strong);
}

.spec-item {
  display: flex;
  flex-direction: column;
}

.spec-label {
  font-size: 0.75rem;
  color: var(--c-text-light);
  letter-spacing: 0.04em;
}

.spec-value {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-accent-dark);
}

/* Hero Middle: Interactive Tea Cup Laboratory */
.hero-col-game {
  background: var(--c-card-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  box-shadow: var(--shadow-md);
  position: relative;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.game-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--c-border);
}

.game-title-group h3 {
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.game-title-group span {
  font-size: 0.75rem;
  color: var(--c-text-muted);
}

.game-round-pill {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: var(--c-taro-purple);
  color: var(--c-accent-dark);
  max-width: 100%;
}

/* Formula Recipe Banner */
.recipe-target-card {
  background: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  margin-bottom: 16px;
  border: 1px dashed var(--c-border-strong);
}

.target-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--c-text-muted);
  margin-bottom: 8px;
}

.target-bars {
  display: flex;
  gap: 8px;
}

.target-chip {
  flex: 1;
  min-width: 0;
  border-radius: var(--radius-sm);
  padding: 6px 8px;
  text-align: center;
  font-size: 0.76rem;
  border: 1px solid rgba(80, 71, 71, 0.08);
  transition: transform 0.2s ease;
}

@media (max-width: 540px) {
  .hero-col-game {
    padding: 18px 12px;
  }
  .recipe-target-card {
    padding: 10px;
  }
  .target-title {
    flex-wrap: wrap;
    gap: 6px;
    font-size: 0.76rem;
  }
  .target-bars {
    gap: 6px;
  }
  .target-chip {
    padding: 6px 4px;
    font-size: 0.72rem;
  }
}

.target-chip.chip-peach { background: rgba(245, 210, 197, 0.5); }
.target-chip.chip-taro { background: rgba(221, 208, 238, 0.5); }
.target-chip.chip-mint { background: rgba(210, 233, 222, 0.5); }

.target-chip strong {
  display: block;
  font-size: 0.9rem;
  color: var(--c-accent-dark);
  margin-top: 2px;
}

/* Tall Tea Cup Container */
.cup-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 0;
  min-height: 290px;
}

.tea-cup-beaker {
  position: relative;
  width: 170px;
  height: 260px;
  border: 3.5px solid var(--c-accent-dark);
  border-top: none;
  border-radius: 0 0 42px 42px;
  background: rgba(255, 255, 255, 0.35);
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.6), 0 10px 25px rgba(80, 71, 71, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column-reverse;
  backdrop-filter: blur(2px);
}

/* Cup Lip / Rim */
.cup-rim {
  position: absolute;
  top: -4px;
  left: -10px;
  right: -10px;
  height: 8px;
  border: 3px solid var(--c-accent-dark);
  border-radius: 50%;
  background: #FFF8F1;
  z-index: 5;
}

/* Straw */
.cup-straw {
  position: absolute;
  top: -45px;
  right: 38px;
  width: 14px;
  height: 310px;
  background: repeating-linear-gradient(
    45deg,
    #F5D2C5,
    #F5D2C5 12px,
    #FFF8F1 12px,
    #FFF8F1 24px
  );
  border: 2px solid var(--c-accent-dark);
  border-radius: 6px;
  transform: rotate(11deg);
  transform-origin: bottom center;
  z-index: 4;
  opacity: 0.85;
  pointer-events: none;
}

/* Measuring Scale Ticks */
.cup-ticks {
  position: absolute;
  top: 15px;
  left: 0;
  bottom: 25px;
  width: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
  z-index: 6;
}

.cup-tick {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.62rem;
  font-family: var(--font-heading);
  color: var(--c-text-muted);
  font-weight: 600;
}

.cup-tick::before {
  content: "";
  display: block;
  width: 10px;
  height: 1.5px;
  background: var(--c-accent-dark);
}

.cup-tick.major::before {
  width: 16px;
  height: 2px;
}

/* Liquid Layers Inside Cup */
.liquid-layer {
  width: 100%;
  transition: height 0.08s ease-out;
  position: relative;
  overflow: hidden;
}

.layer-peach {
  background: linear-gradient(180deg, #F9D8CD 0%, #E8A895 100%);
  opacity: 0.92;
}

.layer-taro {
  background: linear-gradient(180deg, #E6DCF5 0%, #C8B5E8 100%);
  opacity: 0.92;
}

.layer-mint {
  background: linear-gradient(180deg, #DDF3E8 0%, #A9DAC2 100%);
  opacity: 0.92;
}

/* Animated Boba Bubbles Inside */
.boba-bubble {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: floatUp 3s infinite ease-in;
}

@keyframes floatUp {
  0% { transform: translateY(20px) scale(0.8); opacity: 0; }
  50% { opacity: 0.9; }
  100% { transform: translateY(-70px) scale(1.1); opacity: 0; }
}

/* Real-time Readings Banner */
.readout-banner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  margin: 12px 0;
  border: 1px solid var(--c-border);
  font-size: 0.78rem;
}

@media (max-width: 540px) {
  .readout-banner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
}

.readout-item {
  text-align: center;
  min-width: 0;
}

.readout-item span {
  display: block;
  font-size: 0.68rem;
  color: var(--c-text-light);
}

.readout-item strong {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--c-accent-dark);
}

/* Ingredient Hold Buttons */
.pour-buttons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 12px;
}

.btn-pour {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 10px 4px;
  min-width: 0;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--c-border-strong);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--c-accent-dark);
  background: var(--c-card-bg-solid);
  user-select: none;
  -webkit-user-select: none;
  transition: all 0.15s ease;
  position: relative;
  overflow: hidden;
  text-align: center;
  line-height: 1.3;
}

@media (max-width: 540px) {
  .pour-buttons {
    gap: 6px;
  }
  .btn-pour {
    font-size: 0.7rem;
    padding: 8px 3px;
  }
}

.btn-pour:active,
.btn-pour.is-pouring {
  transform: scale(0.96);
  box-shadow: inset 0 2px 8px rgba(80, 71, 71, 0.15);
}

.btn-pour-peach { background: var(--c-light-peach); }
.btn-pour-taro { background: var(--c-taro-purple); }
.btn-pour-mint { background: var(--c-mint); }

.btn-pour span {
  font-size: 0.68rem;
  font-weight: normal;
  opacity: 0.8;
  margin-top: 2px;
}

/* Game Action Controls */
.game-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 8px;
}

@media (max-width: 540px) {
  .game-controls {
    gap: 6px;
  }
  .game-controls .btn-sm {
    padding: 7px 6px;
    font-size: 0.74rem;
  }
}

/* Game Score & Message Bar */
.game-status-msg {
  text-align: center;
  font-size: 0.8rem;
  min-height: 22px;
  margin-top: 10px;
  color: var(--c-accent-dark);
  font-weight: 500;
}

.game-disclaimer {
  font-size: 0.68rem;
  color: var(--c-text-light);
  text-align: center;
  margin-top: 10px;
  line-height: 1.4;
}

/* Hero Right: Product Summary Card */
.hero-col-summary {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.lab-summary-card {
  background: var(--c-card-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.summary-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--c-border);
}

.summary-header h3 {
  font-size: 1.15rem;
}

.recipe-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.recipe-item {
  display: flex;
  gap: 12px;
}

.recipe-bullet {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--c-tea-beige);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--c-accent-dark);
  flex-shrink: 0;
}

.recipe-content strong {
  display: block;
  font-size: 0.92rem;
  color: var(--c-accent-dark);
}

.recipe-content p {
  font-size: 0.82rem;
  color: var(--c-text-muted);
  margin-bottom: 0;
  line-height: 1.5;
}

.lab-meta-box {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 14px;
  font-size: 0.82rem;
}

.meta-row {
  display: flex;
  justify-content: space-between;
  padding: 4px 0;
  border-bottom: 1px dashed rgba(80, 71, 71, 0.08);
}

.meta-row:last-child {
  border-bottom: none;
}

/* ==========================================================================
   Core Advantages: Horizontal Recipe / Laboratory Formula Cards
   ========================================================================== */
.advantages-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}

@media (min-width: 768px) {
  .advantages-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .advantages-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.formula-card {
  background: var(--c-card-bg-solid);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.formula-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.formula-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--c-light-peach), var(--c-taro-purple));
}

.formula-id {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--c-text-light);
  font-weight: 700;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.formula-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: var(--bg-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border: 1px solid var(--c-border);
}

.formula-icon svg {
  width: 22px;
  height: 22px;
  fill: var(--c-accent-dark);
}

.formula-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.formula-card p {
  font-size: 0.88rem;
  color: var(--c-text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Regional Node Index Table & Metrics
   ========================================================================== */
.nodes-board {
  background: var(--c-card-bg-solid);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 24px 16px;
  box-shadow: var(--shadow-sm);
}

@media (min-width: 768px) {
  .nodes-board {
    padding: 30px;
  }
}

.nodes-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--c-border);
}

.node-filter-btn {
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-text-muted);
  background: var(--bg-cream);
  border: 1px solid var(--c-border);
  transition: all 0.2s ease;
}

.node-filter-btn.active,
.node-filter-btn:hover {
  background: var(--c-taro-purple);
  color: var(--c-accent-dark);
  border-color: rgba(80, 71, 71, 0.2);
}

.nodes-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

@media (min-width: 640px) {
  .nodes-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .nodes-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.node-card {
  background: var(--bg-cream);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  transition: all 0.2s ease;
  position: relative;
}

.node-card:hover {
  background: #FFFDF9;
  border-color: var(--c-border-strong);
  transform: translateY(-2px);
}

.node-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.node-country {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--c-accent-dark);
}

.node-flag {
  font-size: 1.2rem;
}

.node-status-tag {
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  background: rgba(103, 158, 131, 0.15);
  color: #3B7258;
  font-weight: 600;
}

.node-details {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--c-text-muted);
  border-top: 1px dashed rgba(80, 71, 71, 0.1);
  padding-top: 8px;
}

.node-details strong {
  color: var(--c-accent-dark);
}

/* ==========================================================================
   AI & Streaming Stacked Full-Width Zones
   ========================================================================== */
.zone-stack {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.zone-block {
  background: var(--c-card-bg-solid);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 26px 18px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

@media (min-width: 640px) {
  .zone-block {
    padding: 36px 28px;
  }
}

@media (min-width: 992px) {
  .zone-block {
    padding: 48px;
  }
}

.zone-ai {
  background: linear-gradient(135deg, rgba(245, 210, 197, 0.22) 0%, rgba(221, 208, 238, 0.28) 100%), #FFFFFF;
}

.zone-streaming {
  background: linear-gradient(135deg, rgba(221, 208, 238, 0.22) 0%, rgba(210, 233, 222, 0.28) 100%), #FFFFFF;
}

.zone-content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

@media (min-width: 880px) {
  .zone-content-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 32px;
  }
}

.zone-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0;
}

.zone-tag-item {
  font-size: 0.78rem;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--c-border);
  color: var(--c-accent-dark);
  font-weight: 500;
}

.zone-metric-card {
  background: var(--bg-cream);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  padding: 18px 16px;
}

@media (min-width: 640px) {
  .zone-metric-card {
    padding: 24px;
  }
}

.metric-title {
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 14px;
  color: var(--c-accent-dark);
}

.metric-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.85rem;
}

.metric-row:last-child {
  margin-bottom: 0;
}

.metric-bar-bg {
  flex: 1;
  height: 7px;
  background: rgba(80, 71, 71, 0.1);
  border-radius: 4px;
  margin: 0 14px;
  overflow: hidden;
}

.metric-bar-fill {
  height: 100%;
  border-radius: 4px;
}

/* ==========================================================================
   Five-Tier Plans: Vertical Recipe Checklists & Side Color Strip
   ========================================================================== */
.plans-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}

@media (min-width: 680px) {
  .plans-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .plans-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
  }
}

.plan-card {
  background: var(--c-card-bg-solid);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 26px 16px;
  min-width: 0;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.plan-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* Recommended Tier with Side Color Strip */
.plan-card.plan-featured {
  border: 2px solid var(--c-taro-purple);
  background: #FFFDFB;
  box-shadow: var(--shadow-md);
}

.plan-card.plan-featured::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 6px;
  background: linear-gradient(180deg, #F5D2C5 0%, #DDD0EE 50%, #D2E9DE 100%);
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
}

.plan-badge {
  position: absolute;
  top: -12px;
  right: 16px;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #F5D2C5, #DDD0EE);
  color: var(--c-accent-dark);
  box-shadow: 0 2px 6px rgba(80, 71, 71, 0.12);
}

.plan-tier-name {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.plan-tagline {
  font-size: 0.78rem;
  color: var(--c-text-muted);
  margin-bottom: 18px;
  min-height: 38px;
}

.plan-price-box {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px dashed var(--c-border);
}

.plan-price {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--c-accent-dark);
  line-height: 1.2;
  margin-bottom: 4px;
  white-space: nowrap;
}

.plan-period {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--c-text-muted);
}

.plan-cycle {
  font-size: 0.75rem;
  color: var(--c-text-light);
}

.pending-update {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--c-warning);
  background: rgba(217, 136, 88, 0.12);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
}

.plan-recipe-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
  flex-grow: 1;
}

.plan-recipe-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--c-text-primary);
}

.plan-recipe-item span {
  min-width: 0;
  overflow-wrap: break-word;
}

.plan-recipe-item svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin-top: 3px;
  fill: var(--c-success);
}

.plan-btn-wrap {
  margin-top: auto;
}

.plan-btn-wrap .btn {
  width: 100%;
  padding: 9px 12px;
  font-size: 0.85rem;
}

.pricing-notes {
  margin-top: 24px;
  text-align: center;
  font-size: 0.8rem;
  color: var(--c-text-muted);
}

/* ==========================================================================
   Editorial SEO Articles: Unequal-Width 2-Column Layout
   ========================================================================== */
.editorial-section {
  position: relative;
}

.editorial-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
}

@media (min-width: 992px) {
  .editorial-layout {
    grid-template-columns: minmax(0, 7.2fr) minmax(0, 4.8fr);
    gap: 36px;
  }
}

/* Left Column: Featured Major Articles */
.editorial-primary {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.article-feature-card {
  background: var(--c-card-bg-solid);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 22px 18px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

@media (min-width: 640px) {
  .article-feature-card {
    padding: 30px;
  }
}

.article-feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.article-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-size: 0.78rem;
  color: var(--c-text-muted);
}

.article-feature-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
  line-height: 1.35;
}

.article-feature-card p {
  font-size: 0.92rem;
  color: var(--c-text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
}

.read-more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--c-accent-dark);
}

.read-more-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s ease;
}

.read-more-link:hover svg {
  transform: translateX(4px);
}

/* Right Column: Compact Article Digest List */
.editorial-secondary {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar-panel {
  background: var(--c-card-bg);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

@media (min-width: 640px) {
  .sidebar-panel {
    padding: 24px;
  }
}

.sidebar-panel h4 {
  font-size: 1.05rem;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.article-compact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.article-compact-item {
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: var(--c-card-bg-solid);
  border: 1px solid var(--c-border);
  transition: all 0.2s ease;
}

.article-compact-item:hover {
  border-color: var(--c-border-strong);
  background: #FFFDF9;
  transform: translateX(3px);
}

.compact-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--c-accent-dark);
  margin-bottom: 4px;
  line-height: 1.4;
}

.compact-desc {
  font-size: 0.78rem;
  color: var(--c-text-muted);
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ==========================================================================
   Laboratory Feedback & Community Notes (No Fake Reviews!)
   ========================================================================== */
.lab-notes-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}

@media (min-width: 768px) {
  .lab-notes-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.lab-note-card {
  background: var(--c-card-bg-solid);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
}

.note-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.note-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--c-tea-beige);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--c-accent-dark);
}

.note-author {
  font-size: 0.88rem;
  font-weight: 600;
}

.note-role {
  font-size: 0.75rem;
  color: var(--c-text-light);
}

.lab-note-card p {
  font-size: 0.85rem;
  color: var(--c-text-muted);
  line-height: 1.6;
}

.feedback-disclaimer-card {
  margin-top: 24px;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  background: rgba(234, 215, 194, 0.4);
  border: 1px solid var(--c-border);
  font-size: 0.82rem;
  color: var(--c-text-muted);
  text-align: center;
}

/* ==========================================================================
   FAQ Accordion (Lightweight Foldable)
   ========================================================================== */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--c-card-bg-solid);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-item.is-active {
  border-color: var(--c-taro-purple);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-accent-dark);
}

.faq-icon {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--bg-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.faq-item.is-active .faq-icon {
  transform: rotate(45deg);
  background: var(--c-taro-purple);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
  padding: 0 22px;
  color: var(--c-text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.faq-item.is-active .faq-answer {
  padding: 0 22px 20px;
  max-height: 500px;
}

/* ==========================================================================
   Clean Footer with Natural Links
   ========================================================================== */
.site-footer {
  background: #F7EEE5;
  border-top: 1px solid var(--c-border);
  padding: 56px 0 32px;
  margin-top: 60px;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .footer-top {
    grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
  }
}

.footer-brand p {
  font-size: 0.85rem;
  color: var(--c-text-muted);
  margin-top: 12px;
  max-width: 320px;
}

.footer-col h5 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 14px;
  color: var(--c-accent-dark);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-link {
  font-size: 0.85rem;
  color: var(--c-text-muted);
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--c-highlight);
}

/* Natural Links Paragraph in Footer */
.footer-friendly-links {
  padding: 18px 0;
  border-top: 1px dashed var(--c-border);
  border-bottom: 1px dashed var(--c-border);
  margin-bottom: 24px;
  font-size: 0.84rem;
  color: var(--c-text-muted);
  line-height: 1.7;
}

.footer-friendly-links a {
  color: var(--c-accent-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
}

.footer-friendly-links a:hover {
  color: var(--c-highlight);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.78rem;
  color: var(--c-text-light);
}

.footer-disclaimer-text {
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--c-text-light);
}

/* ==========================================================================
   Article Pages Template & Typography (>1000 Chars Rich Articles)
   ========================================================================== */
.article-page-header {
  padding: 48px 0 24px;
  text-align: center;
  border-bottom: 1px solid var(--c-border);
  margin-bottom: 40px;
}

.article-page-header h1 {
  max-width: 900px;
  margin: 14px auto 16px;
  line-height: 1.25;
}

.article-meta-bar {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: 0.82rem;
  color: var(--c-text-muted);
}

.article-container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 20px;
}

.article-body {
  font-size: 1.02rem;
  line-height: 1.85;
  color: var(--c-text-primary);
}

.article-body h2 {
  font-size: 1.55rem;
  margin: 40px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--c-border);
}

.article-body h3 {
  font-size: 1.25rem;
  margin: 28px 0 12px;
}

.article-body p {
  margin-bottom: 1.3rem;
}

.article-body ul, .article-body ol {
  margin: 0 0 1.5rem 1.6rem;
}

.article-body li {
  margin-bottom: 0.5rem;
}

.article-body blockquote {
  border-left: 4px solid var(--c-taro-purple);
  padding: 12px 20px;
  margin: 24px 0;
  background: rgba(221, 208, 238, 0.2);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-style: normal;
  color: var(--c-text-primary);
}

.article-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 24px 0;
  border-radius: var(--radius-md);
  border: 1px solid var(--c-border);
  background: var(--c-card-bg-solid);
}

.article-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  text-align: left;
}

.article-table th {
  background: var(--c-tea-beige);
  padding: 12px 16px;
  font-weight: 600;
  color: var(--c-accent-dark);
}

.article-table td {
  padding: 12px 16px;
  border-top: 1px solid var(--c-border);
  color: var(--c-text-primary);
}

.article-table tr:nth-child(even) td {
  background: rgba(255, 248, 241, 0.5);
}

.code-box {
  background: #2D2727;
  color: #F8F5F2;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  font-family: Consolas, Monaco, "Courier New", monospace;
  font-size: 0.86rem;
  line-height: 1.6;
  overflow-x: auto;
  margin: 24px 0;
}

.callout-box {
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin: 24px 0;
  display: flex;
  gap: 14px;
}

.callout-box.info {
  background: rgba(210, 233, 222, 0.4);
  border: 1px solid #B0D7C5;
}

.callout-box.warning {
  background: rgba(245, 210, 197, 0.4);
  border: 1px solid #E5B2A3;
}

.article-author-card {
  margin-top: 48px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--c-card-bg);
  border: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  gap: 20px;
}

.author-avatar {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-light-peach), var(--c-mint));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--c-accent-dark);
}

/* Modals & Popups for Game Rules */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(80, 71, 71, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
}

.modal-overlay.is-open {
  display: flex;
}

.modal-dialog {
  background: var(--bg-cream);
  border: 1px solid var(--c-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  max-width: 480px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  position: relative;
  animation: modalIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--c-border);
}

.btn-close-modal {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--c-card-bg-solid);
  border: 1px solid var(--c-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

/* Helper Utilities */
.text-center { text-align: center; }
.mt-4 { margin-top: 1.5rem; }
.mb-4 { margin-bottom: 1.5rem; }
.w-full { width: 100%; }

/* Accessibility Focus Outline */
button:focus-visible, a:focus-visible {
  outline: 2px solid var(--c-highlight);
  outline-offset: 2px;
}
