/* ==============================================
   StudySprout — Stylesheet
   A cozy, pixel-art focus companion
   ============================================== */

/* ---------- CSS Custom Properties ---------- */
:root {
  --bg-primary: #0a0910;
  --bg-secondary: #12101e;
  --bg-card: rgba(25, 22, 41, 0.65);
  --bg-card-hover: rgba(36, 32, 59, 0.85);

  --text-primary: #f2f0f7;
  --text-secondary: #928fb8;

  --accent-green: #4ade80;
  --accent-green-dark: #15803d;
  --accent-amber: #fbbf24;
  --accent-amber-dark: #b45309;
  --accent-blue: #38bdf8;
  --accent-blue-dark: #0284c7;
  --accent-pink: #f472b6;
  --accent-pink-dark: #db2777;
  --accent-red: #f87171;
  --accent-red-dark: #dc2626;

  --pixel-border: #2e2a4a;
  --pixel-border-light: #453f6b;

  --font-pixel: 'Silkscreen', monospace;
  --font-mono: 'Space Mono', monospace;
  --font-sans: 'Inter', system-ui, sans-serif;

  --shadow-glow-green: 0 0 15px rgba(74, 222, 128, 0.2);
  --shadow-glow-amber: 0 0 15px rgba(251, 191, 36, 0.2);
  --shadow-glow-red: 0 0 15px rgba(248, 113, 113, 0.2);

  --transition-smooth: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --pixel-size: 4px;
}


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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background: linear-gradient(160deg, var(--bg-primary) 0%, var(--bg-secondary) 60%, #0d0b16 100%);
  color: var(--text-primary);
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  position: relative;
}

/* Pixel grid overlay — very subtle */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
  background-size: var(--pixel-size) var(--pixel-size);
  pointer-events: none;
  z-index: 0;
}

canvas {
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
  -webkit-tap-highlight-color: transparent;
}

input {
  font-family: inherit;
  color: inherit;
  border: none;
  background: none;
  outline: none;
}

textarea {
  font-family: 'Inter', system-ui, sans-serif;
  resize: vertical;
}


/* ---------- Typography ---------- */
.pixel-font {
  font-family: var(--font-pixel);
  line-height: 1.5;
  letter-spacing: 0.5px;
}


/* ---------- Utility Classes ---------- */
.hidden {
  display: none !important;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}


/* ==============================================
   SCREENS — Layout & Transitions
   ============================================== */
.screen {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  will-change: opacity;
}

.screen.active {
  opacity: 1;
  visibility: visible;
  z-index: 10;
}

/* The hidden class is used by JS for immediate hide, then active toggles fade */
.screen.hidden {
  display: none;
  opacity: 0;
  visibility: hidden;
}


/* ==============================================
   SCREEN 1 — LANDING
   ============================================== */
.landing-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.75rem;
  padding: 2rem 1.5rem;
  max-width: 640px;
  animation: fadeInUp 0.8s ease both;
}

/* ---- Logo group ---- */
.logo-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

/* Pixel sprout icon above the title */
.logo-sprout {
  position: relative;
  width: 40px;
  height: 52px;
  margin-bottom: 0.25rem;
}

.logo-leaf {
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--accent-green);
  border-radius: 2px;
  box-shadow: inset -2px -2px 0 rgba(0,0,0,0.2);
}
.logo-leaf-l {
  top: 0;
  left: 6px;
  transform: rotate(-20deg);
}
.logo-leaf-r {
  top: 0;
  right: 6px;
  transform: rotate(20deg);
}
.logo-stem-top {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 20px;
  background: var(--accent-green-dark);
  border-radius: 1px;
}
.logo-stem-bot {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 14px;
  background: #6b5b3e;
  border-radius: 1px;
}

/* Title */
.title-glow {
  font-size: 2rem;
  color: var(--accent-green);
  text-shadow:
    0 0 10px rgba(74, 222, 128, 0.5),
    0 0 30px rgba(74, 222, 128, 0.2),
    0 0 60px rgba(74, 222, 128, 0.1),
    2px 2px 0 rgba(0, 0, 0, 0.4);
  animation: glowPulse 3s ease-in-out infinite;
}

/* Tagline */
.tagline {
  font-size: 0.65rem;
  color: var(--accent-amber);
  text-shadow: 0 0 12px rgba(251, 191, 36, 0.3);
  letter-spacing: 1px;
}

/* Description */
.description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 420px;
}


/* ---- Timer Selector ---- */
.timer-selector {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.duration-btn {
  font-size: 0.8rem;
  padding: 0.65rem 1.1rem;
  border: 2px solid var(--pixel-border);
  border-radius: 0;
  background: var(--bg-card);
  color: var(--text-secondary);
  transition: all var(--transition-smooth);
  position: relative;
  font-family: var(--font-mono);
}
.duration-btn::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: -2px;
  right: -2px;
  height: 4px;
  background: transparent;
  border-radius: 0;
  transition: background var(--transition-smooth);
}
.duration-btn:hover {
  border-color: var(--accent-green);
  color: var(--text-primary);
  background: var(--bg-card-hover);
}
.duration-btn.active {
  border-color: var(--accent-green);
  color: var(--accent-green);
  background: rgba(74, 222, 128, 0.08);
  box-shadow: var(--shadow-glow-green);
}
.duration-btn.active::after {
  background: var(--accent-green);
}

.custom-time-wrapper {
  position: relative;
}
#custom-duration {
  width: 70px;
  font-size: 0.8rem;
  padding: 0.65rem 0.5rem;
  border: 2px solid var(--pixel-border);
  border-radius: 0;
  background: var(--bg-card);
  color: var(--text-primary);
  text-align: center;
  transition: all var(--transition-smooth);
  -moz-appearance: textfield;
  font-family: var(--font-mono);
}
#custom-duration::-webkit-inner-spin-button,
#custom-duration::-webkit-outer-spin-button {
  -webkit-appearance: none;
}
#custom-duration:focus {
  border-color: var(--accent-amber);
  box-shadow: var(--shadow-glow-amber);
}
#custom-duration::placeholder {
  color: var(--text-secondary);
  opacity: 0.6;
}
#custom-duration.error {
  border-color: #ef4444;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.3);
  animation: shake 0.4s ease;
}


/* ---- Start Button ---- */
.btn-start {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  padding: 1rem 2rem;
  background: var(--accent-green);
  color: var(--bg-primary);
  border: 2px solid var(--bg-primary);
  border-radius: 0;
  box-shadow:
    2px 2px 0 var(--pixel-border-light),
    -2px -2px 0 var(--pixel-border-light),
    2px -2px 0 var(--pixel-border-light),
    -2px 2px 0 var(--pixel-border-light),
    0 4px 15px rgba(74, 222, 128, 0.2);
  transition: all 0.15s ease;
  position: relative;
  text-transform: uppercase;
  font-family: var(--font-pixel);
  letter-spacing: 1px;
}
.btn-start:hover {
  transform: translateY(-2px);
  box-shadow:
    0 6px 0 #16a34a,
    0 10px 30px rgba(74, 222, 128, 0.4);
}
.btn-start:active {
  transform: translateY(2px);
  box-shadow:
    0 2px 0 #16a34a,
    0 2px 10px rgba(74, 222, 128, 0.3);
}
.btn-start-icon {
  font-size: 1.1rem;
  line-height: 1;
}


/* ---- Pixel Stars Decoration ---- */
.pixel-stars {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.star {
  position: absolute;
  width: var(--pixel-size);
  height: var(--pixel-size);
  background: var(--accent-amber);
  border-radius: 0;
  opacity: 0;
  animation: twinkle var(--dur, 3s) var(--delay, 0s) ease-in-out infinite;
}

.star-1  { top: 8%;  left: 12%; --dur: 2.8s; --delay: 0s; }
.star-2  { top: 15%; left: 78%; --dur: 3.5s; --delay: 0.8s; }
.star-3  { top: 25%; left: 90%; --dur: 2.5s; --delay: 1.2s; }
.star-4  { top: 40%; left: 5%;  --dur: 4s;   --delay: 0.3s; }
.star-5  { top: 55%; left: 92%; --dur: 3.2s; --delay: 1.5s; }
.star-6  { top: 70%; left: 15%; --dur: 2.9s; --delay: 0.6s; }
.star-7  { top: 82%; left: 85%; --dur: 3.8s; --delay: 1s; }
.star-8  { top: 10%; left: 45%; --dur: 4.2s; --delay: 2s; }
.star-9  { top: 90%; left: 50%; --dur: 3s;   --delay: 0.4s; }
.star-10 { top: 35%; left: 30%; --dur: 3.6s; --delay: 1.8s; }
.star-11 { top: 60%; left: 65%; --dur: 2.6s; --delay: 0.9s; }
.star-12 { top: 75%; left: 40%; --dur: 3.3s; --delay: 1.4s; }


/* ---- Decorative Mini Plants ---- */
.pixel-deco {
  position: fixed;
  bottom: 2rem;
  z-index: 0;
  pointer-events: none;
  opacity: 0.35;
}
.deco-plant-left {
  left: 3rem;
}
.deco-plant-right {
  right: 3rem;
}

.pixel-deco .deco-leaf {
  position: absolute;
  width: 8px;
  height: 8px;
  background: var(--accent-green);
  border-radius: 1px;
}
.pixel-deco .dl-1 { bottom: 28px; left: 2px;  }
.pixel-deco .dl-2 { bottom: 32px; left: 10px; }
.pixel-deco .dl-3 { bottom: 24px; left: 14px; }

.pixel-deco .deco-stem {
  position: absolute;
  bottom: 10px;
  left: 10px;
  width: 4px;
  height: 18px;
  background: var(--accent-green-dark);
}
.pixel-deco .deco-pot {
  position: absolute;
  bottom: 0;
  left: 4px;
  width: 16px;
  height: 10px;
  background: #8b6f47;
  border-radius: 0 0 2px 2px;
  box-shadow: inset 0 -3px 0 #6b5536;
}


/* ==============================================
   SCREEN 2 — MATCHING
   ============================================== */
.matching-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  animation: fadeInUp 0.6s ease both;
}

#matching-canvas {
  width: 380px;
  height: 480px;
  filter: drop-shadow(0 0 20px rgba(74, 222, 128, 0.2));
}

.matching-status {
  font-size: 0.65rem;
  color: var(--accent-green);
  text-shadow: 0 0 12px rgba(74, 222, 128, 0.3);
  animation: pulse 2s ease-in-out infinite;
  transition: opacity 0.3s ease;
}

/* Pop animation class toggled by JS */
.matching-status.pop {
  animation: popIn 0.3s ease both, pulse 2s ease-in-out infinite 0.3s;
}

/* Loading dots */
.loading-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  background: var(--accent-green);
  border-radius: 0;
  animation: dotBounce 1.2s ease-in-out infinite;
}
.dot-1 { animation-delay: 0s; }
.dot-2 { animation-delay: 0.2s; }
.dot-3 { animation-delay: 0.4s; }


/* ==============================================
   SCREEN 3 — FOCUS SESSION
   ============================================== */

/* ---- Progress Bar ---- */
.session-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.05);
  z-index: 100;
}
.session-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-green), var(--accent-amber));
  transition: width 1s linear;
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.4);
}

.timer-bar {
  position: fixed;
  top: 3px;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0.75rem 1.5rem;
  background: transparent;
  z-index: 50;
  pointer-events: none;
}

.timer-display-wrapper {
  margin-bottom: 0.5rem;
  text-align: center;
}

.timer-digits {
  font-family: var(--font-mono);
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 2px;
  text-shadow: 0 0 15px rgba(242, 240, 247, 0.25);
}

.timer-controls {
  display: flex;
  gap: 0.5rem;
  pointer-events: auto;
}

.btn-pause,
.btn-end {
  font-family: var(--font-pixel);
  font-size: 0.75rem;
  padding: 0.5rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--pixel-border);
  border-radius: 0;
  background: var(--bg-card);
  color: var(--text-secondary);
  transition: all var(--transition-smooth);
}
.btn-pause:hover {
  border-color: var(--accent-amber);
  color: var(--accent-amber);
  background: rgba(251, 191, 36, 0.05);
}
.btn-pause.paused {
  border-color: var(--accent-green);
  color: var(--accent-green);
  background: rgba(74, 222, 128, 0.05);
}
.btn-end:hover {
  border-color: var(--accent-red);
  color: var(--accent-red);
  background: rgba(248, 113, 113, 0.05);
}

/* ---- Plant Area ---- */
.plant-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding-top: 4.5rem;
}

.plant-canvas-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.plant-glow {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 40px;
  background: radial-gradient(ellipse, rgba(74, 222, 128, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: glowBreath 4s ease-in-out infinite;
}

#plant-canvas {
  width: 380px;
  height: 480px;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.3));
  animation: float 6s ease-in-out infinite;
}

/* ---- Interaction Buttons ---- */
.interaction-buttons {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  margin-top: 0.75rem;
}

.btn-action {
  border: none;
  background: none;
  padding: 0;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.btn-action-icon {
  font-size: 3rem;
  line-height: 1;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.2s ease;
}

.btn-action:hover {
  transform: translateY(-4px);
}

.btn-action:hover .btn-action-icon {
  transform: scale(1.18);
}

.btn-action:active {
  transform: translateY(1px) scale(0.92);
}

.btn-action-label {
  font-family: var(--font-pixel);
  font-size: 0.55rem;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.btn-action:hover .btn-action-label {
  color: var(--text-primary);
}

/* Water button specific */
.btn-water:hover .btn-action-icon {
  filter: drop-shadow(0 0 15px rgba(56, 189, 248, 0.6)) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

/* Sunlight button specific */
.btn-sunlight:hover .btn-action-icon {
  filter: drop-shadow(0 0 15px rgba(251, 191, 36, 0.6)) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

/* Button cooldown state (floating emojis style) */
.btn-action.cooldown {
  opacity: 0.35;
  pointer-events: none;
  filter: grayscale(0.8);
  transform: scale(0.9);
}

/* ---- Partner Status Pill ---- */
.partner-status-wrapper {
  position: fixed;
  top: 1.15rem;
  right: 1.5rem;
  z-index: 55;
}

.partner-status-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  background: var(--bg-card);
  border: 2px solid var(--pixel-border);
  border-radius: 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  animation: slideInLeft 0.4s ease both;
  transition: all var(--transition-smooth);
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.25);
}

.partner-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-green);
  border-radius: 0;
  box-shadow: 0 0 6px rgba(74, 222, 128, 0.5);
  animation: dotPulse 2s ease-in-out infinite;
}

/* ---- Notification Area ---- */
.notification-area {
  position: fixed;
  top: 4.5rem;
  right: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  z-index: 60;
  pointer-events: none;
}

/* Toast notifications from app.js */
.toast {
  padding: 0.6rem 1rem;
  background: var(--bg-card);
  border: 2px solid var(--pixel-border);
  border-radius: 0;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-secondary);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  pointer-events: auto;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  box-shadow: -2px 2px 0 rgba(0, 0, 0, 0.25);
}
.toast.show {
  opacity: 1;
  transform: translateX(0);
}
.toast.hide {
  opacity: 0;
  transform: translateX(30px);
}


/* ---- Self Tools Sidebar Panel (Bottom-Left) ---- */
.self-tools-panel {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 40;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
}

.self-sidebar {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  background: var(--bg-card);
  border: 2px solid var(--pixel-border);
  padding: 0.5rem;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.25);
  width: 120px;
  position: relative;
}

.session-controls-floating {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 40;
  display: flex;
  gap: 0.5rem;
  background: var(--bg-card);
  border: 2px solid var(--pixel-border);
  padding: 0.5rem;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.session-controls-floating button {
  width: 36px;
  height: 36px;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--pixel-border);
  background: rgba(25, 22, 41, 0.4);
  cursor: pointer;
  transition: all var(--transition-smooth);
  color: var(--text-secondary);
}
.session-controls-floating button:hover {
  border-color: var(--accent-green);
  color: var(--accent-green);
  background: var(--bg-card-hover);
}
.session-controls-floating button.paused {
  border-color: var(--accent-amber);
  color: var(--accent-amber);
}


.sidebar-toggles {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  width: 100%;
}
.sidebar-toggles button {
  width: 100%;
  text-align: left;
  font-size: 0.65rem;
  padding: 0.55rem 0.75rem;
  border: 2px solid var(--pixel-border);
  background: rgba(25, 22, 41, 0.4);
  cursor: pointer;
  transition: all var(--transition-smooth);
  color: var(--text-secondary);
}
.sidebar-toggles button:hover,
.sidebar-toggles button.active {
  border-color: var(--accent-green);
  color: var(--accent-green);
  background: var(--bg-card-hover);
}

/* ---- Notes Panel (Side-Opening) ---- */
.notes-panel {
  position: static;
}
.notes-body {
  width: 280px;
  padding: 1rem;
  background: rgba(10, 9, 16, 0.98);
  border: 2px solid var(--pixel-border);
  border-radius: 0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: none;
  position: absolute;
  left: calc(100% + 0.75rem);
  bottom: 0;
  z-index: 100;
  animation: slideInLeft 0.25s ease both;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.3);
}
.notes-panel.open .notes-body {
  display: block;
}

.notes-heading {
  font-size: 0.5rem;
  color: var(--accent-amber);
  margin-bottom: 0.75rem;
  display: block;
}

.notes-textarea {
  width: 100%;
  height: 120px;
  padding: 0.75rem;
  background: rgba(25, 22, 41, 0.4);
  border: 2px solid var(--pixel-border);
  border-radius: 0;
  color: var(--text-primary);
  font-size: 0.85rem;
  line-height: 1.5;
  outline: none;
  transition: border-color var(--transition-smooth);
}
.notes-textarea::placeholder {
  color: var(--text-secondary);
  opacity: 0.5;
}
.notes-textarea:focus {
  border-color: var(--accent-amber);
}
.notes-textarea:focus {
  border-color: var(--accent-amber);
}


/* ==============================================
   SCREEN 4 — SESSION COMPLETE
   ============================================== */
.complete-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
  padding: 2rem 1.5rem;
  animation: fadeInUp 0.8s ease both;
  position: relative;
  z-index: 2;
}

.complete-title {
  font-size: 1rem;
  color: var(--accent-pink);
  text-shadow:
    0 0 10px rgba(244, 114, 182, 0.5),
    0 0 30px rgba(244, 114, 182, 0.2);
}

.complete-plant-wrapper {
  position: relative;
}

#complete-canvas {
  width: 280px;
  height: 360px;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.3));
}

/* Stats container — receives innerHTML from app.js */
.stats-container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  width: 100%;
  max-width: 360px;
}

.stat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  background: var(--bg-card);
  border: 2px solid var(--pixel-border);
  border-radius: 0;
  transition: all var(--transition-smooth);
}
.stat-row:hover {
  border-color: var(--pixel-border-light);
  background: var(--bg-card-hover);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

.stat-value {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent-green);
}


/* ---- Confetti ---- */
.confetti-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.confetti-piece {
  position: absolute;
  width: 6px;
  height: 6px;
  top: -10px;
  animation: confettiFall var(--fall-dur, 3s) var(--fall-delay, 0s) linear forwards;
}

@keyframes confettiFall {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(110vh) rotate(var(--rotation, 720deg));
    opacity: 0;
  }
}


/* ==============================================
   KEYFRAME ANIMATIONS
   ============================================== */

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes fadeOut {
  from { opacity: 1; }
  to   { opacity: 0; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(1); }
  50%      { opacity: 0.8; transform: scale(1.5); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.5; }
}

@keyframes popIn {
  0%   { transform: scale(0.8); opacity: 0; }
  60%  { transform: scale(1.05); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes dotBounce {
  0%, 80%, 100% {
    transform: translateY(0);
    opacity: 0.3;
  }
  40% {
    transform: translateY(-10px);
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideOutRight {
  from {
    opacity: 1;
    transform: translateX(0);
  }
  to {
    opacity: 0;
    transform: translateX(30px);
  }
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes glowPulse {
  0%, 100% {
    filter: brightness(1);
  }
  50% {
    filter: brightness(1.08);
  }
}

@keyframes glowBreath {
  0%, 100% { opacity: 0.5; transform: translateX(-50%) scale(1); }
  50%      { opacity: 1;   transform: translateX(-50%) scale(1.1); }
}

@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 6px rgba(74, 222, 128, 0.5); }
  50%      { box-shadow: 0 0 12px rgba(74, 222, 128, 0.8); }
}

@keyframes buttonPress {
  0%   { transform: scale(1); }
  50%  { transform: scale(0.92); }
  100% { transform: scale(1); }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20%      { transform: translateX(-4px); }
  40%      { transform: translateX(4px); }
  60%      { transform: translateX(-3px); }
  80%      { transform: translateX(3px); }
}

@keyframes confetti {
  0%   { transform: translateY(-10px) rotate(0deg); opacity: 1; }
  100% { transform: translateY(100vh) rotate(720deg); opacity: 0; }
}


/* ==============================================
   RESPONSIVE — Mobile ≤ 768px
   ============================================== */
@media (max-width: 768px) {

  .title-glow {
    font-size: 1.3rem;
  }

  .tagline {
    font-size: 0.5rem;
  }

  .description {
    font-size: 0.85rem;
    padding: 0 0.5rem;
  }

  .timer-selector {
    gap: 0.4rem;
  }

  .duration-btn {
    font-size: 0.5rem;
    padding: 0.55rem 0.85rem;
  }

  #custom-duration {
    width: 60px;
    font-size: 0.5rem;
    padding: 0.55rem 0.4rem;
  }

  .btn-start {
    font-size: 0.6rem;
    padding: 0.85rem 1.5rem;
  }

  /* Matching */
  #matching-canvas {
    width: 160px;
    height: 210px;
  }
  .matching-status {
    font-size: 0.5rem;
  }

  /* Session */
  .timer-digits {
    font-size: 1.1rem;
  }

  .btn-pause {
    font-size: 0.45rem;
    padding: 0.4rem 0.6rem;
  }

  #plant-canvas {
    width: 240px;
    height: 320px;
  }

  .btn-action {
    padding: 0.65rem 1.1rem;
  }
  .btn-action-icon {
    font-size: 1.3rem;
  }
  .btn-action-label {
    font-size: 0.45rem;
  }

  .partner-status-wrapper {
    top: 1rem;
    right: 1rem;
    bottom: auto;
    left: auto;
  }
  .partner-status-pill {
    font-size: 0.65rem;
    padding: 0.4rem 0.75rem;
  }

  .notes-body {
    width: 240px;
  }

  .notification-area {
    top: 4rem;
    right: 1rem;
  }

  /* Complete */
  .complete-title {
    font-size: 0.8rem;
  }

  #complete-canvas {
    width: 220px;
    height: 280px;
  }

  .stat-row {
    padding: 0.6rem 0.75rem;
  }
  .stat-label {
    font-size: 0.65rem;
  }
  .stat-value {
    font-size: 0.6rem;
  }

  /* Hide deco plants on mobile */
  .pixel-deco {
    display: none;
  }
}

/* Extra small screens */
@media (max-width: 380px) {

  .title-glow {
    font-size: 1rem;
  }

  .landing-content {
    gap: 1.25rem;
  }

  .duration-btn {
    padding: 0.5rem 0.7rem;
  }

  .btn-start {
    font-size: 0.55rem;
    padding: 0.75rem 1.2rem;
  }

  #plant-canvas {
    width: 200px;
    height: 260px;
  }

  .interaction-buttons {
    gap: 0.6rem;
  }

  .notes-body {
    width: 200px;
  }
}

/* Tall / landscape considerations */
@media (max-height: 600px) {
  .landing-content {
    gap: 1rem;
  }

  .logo-sprout {
    display: none;
  }

  .description {
    display: none;
  }

  .plant-area {
    padding-top: 3.5rem;
    gap: 0.75rem;
  }

  #plant-canvas {
    width: 200px;
    height: 260px;
  }
}

/* ==============================================
   SESSION GOALS & TASKS CHECKLIST
   ============================================== */

/* ---- Landing Page Setup ---- */
.goals-setup {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  max-width: 340px;
  margin-top: 0.5rem;
  animation: fadeInUp 0.8s ease both;
}

.goals-setup-title {
  font-size: 0.55rem;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
}

.goals-input-row {
  display: flex;
  width: 100%;
  gap: 0.5rem;
}

#goal-input {
  flex: 1;
  font-size: 0.75rem;
  padding: 0.6rem 0.8rem;
  background: var(--bg-card);
  border: 2px solid var(--pixel-border);
  border-radius: 0;
  color: var(--text-primary);
  transition: all var(--transition-smooth);
}
#goal-input:focus {
  border-color: var(--accent-amber);
}

#btn-add-goal {
  font-size: 1rem;
  padding: 0 1rem;
  background: var(--bg-card);
  border: 2px solid var(--pixel-border);
  border-radius: 0;
  color: var(--text-secondary);
  transition: all var(--transition-smooth);
}
#btn-add-goal:hover {
  border-color: var(--accent-green);
  color: var(--accent-green);
  background: rgba(74, 222, 128, 0.05);
}

.landing-goals-list {
  list-style: none;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  max-height: 120px;
  overflow-y: auto;
  padding-right: 0.25rem;
}

.landing-goals-list li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  padding: 0.4rem 0.6rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed var(--pixel-border);
  color: var(--text-primary);
}

.landing-goals-list li button {
  font-size: 0.7rem;
  color: var(--accent-red);
  padding: 0 0.25rem;
  transition: opacity 0.2s ease;
}
.landing-goals-list li button:hover {
  opacity: 0.7;
}

/* ---- Session Goals & Tasks Checklist (relocated to Bottom-Left) ---- */
.tasks-panel {
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-start;
  gap: 0.5rem;
  position: relative;
}

.btn-tasks-toggle {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  background: var(--bg-card);
  border: 2px solid var(--pixel-border);
  border-radius: 0;
  font-family: var(--font-pixel);
  font-size: 0.7rem;
  color: var(--text-secondary);
  transition: all var(--transition-smooth);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.25);
  cursor: pointer;
}
.btn-tasks-toggle:hover,
.btn-tasks-toggle.active {
  border-color: var(--accent-green);
  color: var(--accent-green);
  background: var(--bg-card-hover);
}

.tasks-body {
  width: 260px;
  padding: 1rem;
  background: rgba(10, 9, 16, 0.98);
  border: 2px solid var(--pixel-border);
  border-radius: 0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: none;
  position: absolute;
  left: calc(100% + 0.75rem);
  bottom: 0;
  z-index: 100;
  animation: slideInLeft 0.25s ease both;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.3);
}

.tasks-panel.open .tasks-body {
  display: block;
}

.tasks-heading {
  font-size: 0.55rem;
  color: var(--accent-green);
  margin-bottom: 0.75rem;
  display: block;
  letter-spacing: 0.5px;
}

.session-goals-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-height: 180px;
  overflow-y: auto;
  font-family: 'Space Mono', monospace;
  padding-right: 0.25rem;
}

.session-goals-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.7rem;
  color: var(--text-primary);
  line-height: 1.4;
  padding: 0.2rem 0;
}

/* Custom Pixel Checkbox styling */
.session-goals-list li input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 14px;
  height: 14px;
  border: 2px solid var(--pixel-border);
  background: rgba(25, 22, 41, 0.4);
  cursor: pointer;
  position: relative;
  outline: none;
  flex-shrink: 0;
  image-rendering: pixelated;
  transition: all var(--transition-smooth);
}

.session-goals-list li input[type="checkbox"]:checked {
  background: var(--accent-green);
  border-color: var(--accent-green-dark);
}

.session-goals-list li input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 3px;
  top: 1px;
  width: 4px;
  height: 7px;
  border: solid #0a0910;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.session-goals-list li.completed span {
  text-decoration: line-through;
  color: var(--text-secondary);
  opacity: 0.6;
}

/* ---- Session Garden Panel (Bottom-Left) ---- */
.session-garden-panel {
  display: flex;
  flex-direction: column-reverse;
  align-items: flex-start;
  gap: 0.5rem;
  position: relative;
}

.btn-session-garden-toggle {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  background: var(--bg-card);
  border: 2px solid var(--pixel-border);
  border-radius: 0;
  font-family: var(--font-pixel);
  font-size: 0.7rem;
  color: var(--text-secondary);
  transition: all var(--transition-smooth);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.25);
  cursor: pointer;
}
.btn-session-garden-toggle:hover,
.btn-session-garden-toggle.active {
  border-color: var(--accent-green);
  color: var(--accent-green);
  background: var(--bg-card-hover);
}

.session-garden-body {
  width: 320px;
  padding: 1rem;
  background: rgba(10, 9, 16, 0.98);
  border: 2px solid var(--pixel-border);
  border-radius: 0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: none;
  position: absolute;
  left: calc(100% + 0.75rem);
  bottom: 0;
  z-index: 100;
  animation: slideInLeft 0.25s ease both;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.3);
}

.session-garden-panel.open .session-garden-body {
  display: block;
}

/* ---- Partner Panel (Top-Right) ---- */
.partner-panel {
  position: fixed;
  top: 1.15rem;
  right: 1.5rem;
  z-index: 55;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.partner-panel .partner-status-pill {
  position: static;
  animation: none;
}

.partner-garden-panel {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
  position: relative;
}

.btn-partner-garden-toggle {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  background: var(--bg-card);
  border: 2px solid var(--pixel-border);
  border-radius: 0;
  font-family: var(--font-pixel);
  font-size: 0.7rem;
  color: var(--text-secondary);
  transition: all var(--transition-smooth);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.25);
  cursor: pointer;
}
.btn-partner-garden-toggle:hover,
.btn-partner-garden-toggle.active {
  border-color: var(--accent-pink);
  color: var(--accent-pink);
  background: var(--bg-card-hover);
}

.partner-garden-body {
  width: 320px;
  padding: 1rem;
  background: rgba(10, 9, 16, 0.98);
  border: 2px solid var(--pixel-border);
  border-radius: 0;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: none;
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  z-index: 100;
  animation: slideInDown 0.25s ease both;
  box-shadow: -4px 4px 0 rgba(0, 0, 0, 0.3);
}

.partner-garden-panel.open .partner-garden-body {
  display: block;
}

/* ---- Self & Partner Live Stats Badge ---- */
.self-live-stats,
.partner-live-stats {
  font-size: 0.65rem;
  color: var(--text-secondary);
  background: rgba(25, 22, 41, 0.55);
  border: 2px solid var(--pixel-border);
  padding: 0.4rem 0.8rem;
  border-radius: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.15);
  pointer-events: none;
}
.self-live-stats span,
.partner-live-stats span {
  color: var(--text-primary);
  font-weight: 700;
  font-family: var(--font-mono);
}

/* ---- Relocated Session Controls (Bottom-Left) ---- */
.session-controls {
  display: flex;
  gap: 0.5rem;
}
.session-controls button {
  pointer-events: auto;
}

.self-toggles-row {
  display: flex;
  gap: 0.75rem;
  align-items: flex-end;
}

/* ---- Garden Content & Calendar structures ---- */
.session-garden-content {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

/* For the landing drawer, make it flex-row side-by-side */
.garden-panel .session-garden-content {
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 1.5rem;
}
.garden-panel .shelf-wrapper {
  flex: 1;
}

.calendar-wrapper,
.shelf-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.section-subheading {
  font-size: 0.55rem;
  color: var(--text-secondary);
  font-family: var(--font-pixel);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.calendar-grid {
  display: grid;
  grid-template-rows: repeat(7, 7px);
  grid-auto-flow: column;
  gap: 2px;
  background: rgba(25, 22, 41, 0.3);
  border: 1px solid var(--pixel-border);
  padding: 6px;
  width: max-content;
  image-rendering: pixelated;
}

.calendar-cell {
  width: 7px;
  height: 7px;
  border-radius: 0;
}
.calendar-cell.cell-0 { background-color: #1a172a; }
.calendar-cell.cell-1 { background-color: #1e4620; } /* light focus green */
.calendar-cell.cell-2 { background-color: #2e7d32; } /* medium focus green */
.calendar-cell.cell-3 { background-color: #4ade80; } /* high focus green */
.calendar-cell.cell-4 { background-color: #a7f3d0; } /* max focus green */

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .self-tools-panel {
    left: 1rem;
    bottom: 1rem;
    gap: 0.4rem;
  }
  .self-sidebar {
    width: auto;
    padding: 0.35rem;
  }
  .sidebar-toggles {
    flex-direction: row;
    gap: 0.35rem;
  }
  .sidebar-toggles button {
    width: 36px;
    height: 36px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
  }
  .sidebar-toggles button .toggle-text {
    display: none;
  }
  .notes-body,
  .tasks-body,
  .session-garden-body {
    width: 290px;
    position: absolute;
    left: 0;
    bottom: calc(100% + 0.5rem);
    animation: slideInUp 0.25s ease both;
  }
  
  .session-controls-floating {
    right: 1rem;
    bottom: 1rem;
    padding: 0.35rem;
  }
  .session-controls-floating button {
    width: 36px;
    height: 36px;
  }

  .partner-panel {
    right: 1rem;
    top: 1rem;
  }
  .partner-garden-body {
    width: 290px;
  }
}

.matching-users {
  font-size: 0.75rem;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
  margin-top: -0.5rem;
  animation: pulse 2s ease-in-out infinite 0.5s;
  text-align: center;
}

/* ==============================================
   STREAK & GARDEN SHELF (PHASE 1)
   ============================================== */

.streak-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.65rem;
  color: var(--accent-amber);
  background: rgba(251, 191, 36, 0.08);
  border: 1.5px solid var(--accent-amber);
  padding: 0.4rem 0.8rem;
  border-radius: 0;
  margin-top: -0.5rem;
  box-shadow: var(--shadow-glow-amber);
  animation: glowPulse 2s ease-in-out infinite;
}

.streak-flame {
  display: inline-block;
  animation: flamePulse 0.5s ease-in-out infinite alternate;
}

@keyframes flamePulse {
  0% { transform: scale(1); filter: brightness(1); }
  100% { transform: scale(1.15); filter: brightness(1.2); }
}

.garden-panel {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) translateY(calc(100% - 38px));
  width: 100%;
  max-width: 500px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform var(--transition-smooth);
}

.garden-panel.open {
  transform: translateX(-50%) translateY(0);
}

.btn-garden-toggle {
  font-family: var(--font-pixel);
  font-size: 0.75rem;
  padding: 0.55rem 1.2rem;
  background: var(--bg-card);
  border: 2px solid var(--pixel-border);
  border-bottom: none;
  border-radius: 0;
  color: var(--text-secondary);
  transition: all var(--transition-smooth);
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

.btn-garden-toggle:hover,
.btn-garden-toggle.active {
  border-color: var(--accent-amber);
  color: var(--accent-amber);
  background: var(--bg-card-hover);
}

.garden-body {
  width: 100%;
  background: rgba(10, 9, 16, 0.98);
  border: 2px solid var(--pixel-border);
  border-bottom: none;
  border-radius: 0;
  padding: 1.25rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
  height: 240px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.garden-heading {
  font-size: 0.6rem;
  color: var(--accent-amber);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border-bottom: 1px dashed var(--pixel-border);
  padding-bottom: 0.5rem;
  text-align: center;
}

.garden-shelf-list {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.5rem 0.25rem 1rem 0.25rem;
  flex: 1;
  align-items: flex-end;
}

.garden-shelf-list::-webkit-scrollbar {
  height: 6px;
}
.garden-shelf-list::-webkit-scrollbar-track {
  background: rgba(25, 22, 41, 0.2);
}
.garden-shelf-list::-webkit-scrollbar-thumb {
  background: var(--pixel-border);
}
.garden-shelf-list::-webkit-scrollbar-thumb:hover {
  background: var(--pixel-border-light);
}

.garden-plant-item {
  flex: 0 0 70px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--pixel-border);
  padding: 0.5rem 0.25rem;
  transition: all var(--transition-smooth);
}

.garden-plant-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--accent-green);
}

.garden-plant-canvas {
  width: 50px;
  height: 65px;
  display: block;
}

.garden-plant-info {
  font-family: var(--font-mono);
  font-size: 0.5rem;
  color: var(--text-secondary);
  text-align: center;
}

/* ---- Partner Extension Request Modal ---- */
.extension-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 9, 16, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  animation: fadeIn 0.25s ease both;
}

.extension-modal-content {
  width: 90%;
  max-width: 380px;
  background: rgba(15, 14, 23, 0.98);
  border: 4px solid var(--pixel-border);
  padding: 1.5rem;
  text-align: center;
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.4);
  animation: zoomIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

.extension-modal-text {
  font-size: 0.75rem;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  line-height: 1.6;
}

.extension-modal-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.extension-modal-buttons button {
  padding: 0.5rem 1.25rem;
  font-size: 0.7rem;
  border: 2px solid var(--pixel-border);
  cursor: pointer;
  background: var(--bg-card);
  color: var(--text-primary);
  transition: all var(--transition-smooth);
}

.extension-modal-buttons button.btn-accept {
  color: var(--accent-green);
  border-color: var(--accent-green);
}
.extension-modal-buttons button.btn-accept:hover {
  background: rgba(74, 222, 128, 0.1);
  box-shadow: 0 0 8px rgba(74, 222, 128, 0.3);
}

.extension-modal-buttons button.btn-decline {
  color: var(--accent-pink);
  border-color: var(--accent-pink);
}
.extension-modal-buttons button.btn-decline:hover {
  background: rgba(244, 114, 182, 0.1);
  box-shadow: 0 0 8px rgba(244, 114, 182, 0.3);
}

@keyframes zoomIn {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}


