/* =====================================================
   BOX BREATH GLASS OVERRIDE
   Brings the practice page into the hand-bg studio world.
===================================================== */

:root {
  --box-ink: rgba(255, 248, 255, 0.96);
  --box-soft: rgba(255, 238, 250, 0.78);
  --box-muted: rgba(255, 231, 248, 0.58);
  --box-line: rgba(255, 238, 255, 0.30);
  --box-line-bright: rgba(255, 242, 255, 0.54);
  --box-glass: rgba(255, 255, 255, 0.065);
  --box-glass-strong: rgba(255, 255, 255, 0.115);
}

html {
  min-height: 100%;
  background-color: #18143a;
  background-image: url("/assets/hand-desktop-bg.webp");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

body {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  background: transparent !important;
  color: var(--box-ink) !important;
  font-family: "IM Fell English", Georgia, serif !important;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background-image: url("/assets/hand-desktop-bg.webp");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 50% 24%, rgba(255, 231, 248, 0.08), transparent 30%),
    linear-gradient(180deg, rgba(12, 16, 46, 0.42), rgba(62, 35, 86, 0.20) 44%, rgba(18, 15, 48, 0.64));
  pointer-events: none;
}

.bubble-field,
.mini-bubble {
  display: none !important;
}

.site-logo {
  top: 24px !important;
  left: 28px !important;
  width: clamp(72px, 7vw, 96px) !important;
  height: clamp(72px, 7vw, 96px) !important;
  border-radius: 0 !important;
  overflow: visible !important;
}

.site-logo a,
.site-logo img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
}

.site-logo img {
  object-fit: contain !important;
  border-radius: 0 !important;
  opacity: 0.96 !important;
  filter: drop-shadow(0 0 18px rgba(255, 220, 245, 0.20)) !important;
  mix-blend-mode: normal !important;
}

.page-wrapper {
  max-width: 1040px !important;
  padding: clamp(5.8rem, 9vh, 7rem) clamp(18px, 3vw, 32px) 4.5rem !important;
}

.hero {
  min-height: min(840px, 92vh) !important;
  justify-content: center !important;
}

.breath-card,
.container {
  border: 1px solid var(--box-line) !important;
  background:
    radial-gradient(circle at 18% 8%, rgba(255, 255, 255, 0.18), transparent 30%),
    radial-gradient(circle at 86% 16%, rgba(255, 205, 235, 0.11), transparent 32%),
    linear-gradient(150deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.052) 48%, rgba(183, 153, 221, 0.10)) !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.10),
    inset 18px 18px 46px rgba(255, 255, 255, 0.038),
    0 30px 82px rgba(17, 13, 48, 0.30) !important;
  backdrop-filter: blur(9px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(9px) saturate(150%) !important;
}

.breath-card {
  width: min(94vw, 430px) !important;
  border-radius: 30px !important;
  padding: clamp(2rem, 5vw, 2.7rem) clamp(1.45rem, 4vw, 2.35rem) 2.2rem !important;
}

.breath-card h1 {
  font-family: "Cinzel Decorative", Georgia, serif !important;
  font-size: clamp(1.85rem, 4vw, 2.35rem) !important;
  line-height: 1.18 !important;
  font-weight: 400 !important;
  color: var(--box-ink) !important;
  letter-spacing: 0.02em !important;
  text-shadow: 0 0 24px rgba(255, 224, 248, 0.20) !important;
}

.breath-subtitle,
.y-tap-hint,
.step-time,
.science-source {
  color: var(--box-muted) !important;
  font-family: Cinzel, Georgia, serif !important;
}

.breath-instruction,
.breath-note,
.gentle-message,
.container p,
.benefit-text {
  color: var(--box-soft) !important;
}

.breath-instruction {
  font-size: 1.05rem !important;
}

.yuna-breath-wrap {
  width: min(280px, 70vw) !important;
  height: min(400px, 86vw) !important;
  margin-top: 1.25rem !important;
  border: 1px solid rgba(255, 238, 255, 0.18) !important;
  background: rgba(255, 255, 255, 0.035) !important;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 18px 46px rgba(17, 13, 48, 0.18) !important;
}

.y-ring-svg rect {
  stroke: rgba(255, 238, 255, 0.24) !important;
}

.y-ring-svg circle {
  fill: rgba(255, 238, 255, 0.46) !important;
}

.y-dot {
  background: rgba(255, 238, 255, 0.12) !important;
  border-color: rgba(255, 238, 255, 0.34) !important;
}

.y-img {
  filter: drop-shadow(0 10px 26px rgba(23, 16, 55, 0.28)) saturate(0.98) !important;
}

.gentle-message {
  margin-top: 1.55rem !important;
  text-shadow: 0 0 18px rgba(255, 220, 245, 0.18) !important;
}

.content-section {
  padding: 1rem 0 4rem !important;
}

.container {
  border-radius: 24px !important;
  padding: clamp(1.6rem, 3vw, 2.2rem) !important;
  margin: 1.35rem 0 !important;
}

.container h2 {
  font-family: "Cinzel Decorative", Georgia, serif !important;
  color: var(--box-ink) !important;
  font-weight: 400 !important;
  letter-spacing: 0.02em !important;
  text-shadow: 0 0 24px rgba(255, 224, 248, 0.16) !important;
}

.step,
.benefit-icon,
.use-tag,
.science-note {
  border: 1px solid rgba(255, 238, 255, 0.22) !important;
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.13), transparent 34%),
    rgba(255, 255, 255, 0.055) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.07) !important;
}

.step {
  border-radius: 18px !important;
}

.step-number,
.step-label,
.benefit-icon,
.use-tag,
.emphasis {
  color: var(--box-ink) !important;
}

.science-note {
  border-left: 1px solid rgba(255, 238, 255, 0.22) !important;
  border-radius: 18px !important;
}

.use-tag {
  border-radius: 999px !important;
  color: var(--box-soft) !important;
}

#cookie-panel {
  background:
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.16), transparent 32%),
    rgba(66, 43, 98, 0.76) !important;
  border-color: rgba(255, 238, 255, 0.24) !important;
  box-shadow: 0 18px 44px rgba(17, 13, 48, 0.28) !important;
}

#cookie-bubble-btn {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 238, 255, 0.28) !important;
}

@media (max-width: 768px) {
  html,
  body::before {
    background-image: url("/assets/hand-mobile-bg.webp") !important;
  }

  .site-logo {
    top: 14px !important;
    left: 14px !important;
    width: 64px !important;
    height: 64px !important;
  }

  .page-wrapper {
    padding-top: 5.2rem !important;
  }

  .hero {
    min-height: auto !important;
    padding-top: 1rem !important;
  }

  .steps {
    gap: 0.75rem !important;
  }
}

@media (max-width: 480px) {
  .breath-card {
    width: 100% !important;
  }

  .yuna-breath-wrap {
    width: min(230px, 74vw) !important;
    height: min(336px, 104vw) !important;
  }
}
