*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  overflow-x: clip;
  background-color: #050e1c;
  color: var(--text-light);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
}

.sky-backdrop {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 78% 12%, rgba(255, 243, 200, 0.14), transparent 36%),
    radial-gradient(circle at 22% 18%, rgba(84, 134, 194, 0.16), transparent 44%),
    linear-gradient(180deg, #050e1c 0%, #0d1d35 55%, #15263a 100%);
  pointer-events: none;
}

.snow-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 12;
  pointer-events: none;
}

:root {
  --mobile-shell-width: 100%;
  --app-vh: 100dvh;
}

@media (min-width: 640px) {
  :root {
    --mobile-shell-width: min(680px, 92vw);
  }
}

@media (min-width: 1024px) {
  :root {
    --mobile-shell-width: min(740px, 84vw);
  }
}

.app-shell {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--mobile-shell-width);
  min-height: var(--app-vh);
  margin: 0 auto;
  padding: 0;
  background: linear-gradient(180deg, #050e1c 0%, #050e1c 22%, #11243d 65%, #15263a 84%, #15263a 100%);
  display: flex;
  flex-direction: column;
}

@media (min-width: 460px) {
  .app-shell {
    box-shadow: 0 0 80px rgba(2, 6, 15, 0.88);
  }
}

/* Floating Transparent Header Overlay */
.top-hud {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(100%, var(--mobile-shell-width));
  z-index: 26;
  padding: calc(12px + env(safe-area-inset-top)) 16px 22px;
  background: linear-gradient(
    180deg,
    rgba(5, 14, 28, 0.56) 0%,
    rgba(5, 14, 28, 0.22) 60%,
    rgba(5, 14, 28, 0) 100%
  );
  pointer-events: none;
}

.hud-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.brand-block {
  min-width: 0;
  flex: 1;
  pointer-events: auto;
}

.brand-kicker {
  display: block;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.2;
}

.brand-title {
  margin: 2px 0 0;
  font-family: var(--font-sans);
  font-size: clamp(0.84rem, 3.85vw, 1.08rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.14;
  color: rgba(255, 255, 255, 0.96);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-shadow: 0 2px 14px rgba(3, 8, 18, 0.55);
}

.hud-quick-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
  pointer-events: auto;
}

.btn-hud-pill,
.btn-hud-icon {
  appearance: none;
  border: 1px solid var(--ui-frost-nav-border);
  background: var(--ui-frost-nav);
  color: rgba(255, 255, 255, 0.96);
  font-family: var(--font-sans);
  backdrop-filter: var(--ui-frost-blur);
  -webkit-backdrop-filter: var(--ui-frost-blur);
  box-shadow: 0 6px 20px rgba(4, 10, 20, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.36);
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease, transform 0.14s ease;
}

.btn-hud-pill {
  border-radius: 999px;
  padding: 0 13px;
  height: 32px;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.btn-hud-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
  padding: 0;
}

#toggle-snow-btn[aria-pressed="true"] {
  color: rgba(255, 255, 255, 0.98);
  border-color: var(--ui-frost-nav-border);
}

#toggle-snow-btn[aria-pressed="false"] {
  color: rgba(255, 255, 255, 0.54);
  opacity: 0.78;
}

.btn-hud-pill:hover,
.btn-hud-icon:hover {
  background: var(--ui-frost-nav-hover);
  border-color: rgba(255, 255, 255, 0.52);
}

.btn-hud-pill:active,
.btn-hud-icon:active {
  transform: scale(0.96);
}

.btn-hud-pill:focus-visible,
.btn-hud-icon:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: 2px;
}

/* Header Utility Menu Popover */
.hud-utility-menu {
  position: absolute;
  top: calc(100% - 8px);
  right: 16px;
  left: 16px;
  z-index: 35;
  padding: 16px;
  border-radius: var(--radius-lg);
  background: var(--ui-frost-dock-strong);
  border: 1px solid var(--ui-frost-border);
  box-shadow: 0 20px 50px rgba(24, 16, 10, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.78);
  backdrop-filter: var(--ui-frost-blur-heavy);
  -webkit-backdrop-filter: var(--ui-frost-blur-heavy);
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: auto;
}

.hud-utility-menu[hidden] {
  display: none;
}

.utility-menu-legend {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--ui-hairline);
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--ui-ink-muted);
}

.utility-menu-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.btn-utility {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--ui-secondary-border);
  background: var(--ui-secondary-bg);
  color: var(--ui-ink);
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
}

.btn-utility-wide {
  grid-column: 1 / -1;
}

.btn-utility-finale {
  grid-column: 1 / -1;
  background: var(--ui-accent);
  border-color: var(--ui-accent);
  color: var(--ui-accent-ink);
  font-weight: 500;
}

.btn-utility-reset {
  border-color: rgba(154, 72, 72, 0.18);
  background: rgba(154, 72, 72, 0.06);
  color: #7c3535;
}

/* Full-Bleed Background House Stage (bleeds seamlessly past app-shell on iPad/wide viewports) */
.stage-wrap {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0 0 env(safe-area-inset-bottom);
  overflow: visible;
}

.facade-stage {
  width: 100%;
  display: block;
}

.building-mount {
  position: relative;
  width: 100%;
  aspect-ratio: 780 / 2160;
  overflow: visible;
  background: transparent;
  touch-action: pan-y;
}

.building-mount.building-mount--zoomed,
.building-mount.building-mount--manual-zoom {
  overflow: hidden;
}

.building-mount.building-mount--manual-zoom {
  touch-action: none;
  cursor: grab;
}

.building-mount.building-mount--panning {
  cursor: grabbing;
}

.zoom-reset-chip {
  position: fixed;
  top: calc(58px + env(safe-area-inset-top));
  left: 50%;
  transform: translateX(-50%);
  z-index: 32;
  appearance: none;
  padding: 7px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 240, 210, 0.42);
  background: rgba(14, 29, 51, 0.84);
  color: #fff4df;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 600;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
  cursor: pointer;
}

.building-mount::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.42s ease;
  background: radial-gradient(
    circle at 50% 42%,
    rgba(6, 15, 30, 0) 42%,
    rgba(5, 11, 24, 0.24) 76%,
    rgba(3, 8, 18, 0.5) 100%
  );
}

.building-mount--zoomed::after {
  opacity: 1;
}

.building-camera {
  position: relative;
  width: 100%;
  height: 100%;
}

.facade-svg {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* Subtle GPU-composited living streetscape animations */
@keyframes lamp-breathe {
  0%, 100% { opacity: 0.82; }
  50% { opacity: 1; }
}

@keyframes smoke-rise {
  0% { transform: translate3d(0, 8px, 0) scale(0.76); opacity: 0; }
  25% { opacity: 0.34; }
  100% { transform: translate3d(18px, -46px, 0) scale(1.42); opacity: 0; }
}

@keyframes car-cruise {
  0% { transform: translate3d(-340px, 0, 0); }
  100% { transform: translate3d(1120px, 0, 0); }
}

@keyframes cat-stroll {
  0% { transform: translate3d(-110px, 0, 0); }
  48% { transform: translate3d(520px, 0, 0); }
  66% { transform: translate3d(520px, 0, 0); }
  100% { transform: translate3d(960px, 0, 0); }
}

@keyframes cat-bob {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -3.5px, 0); }
}

.anim-lamp-breathe {
  animation: lamp-breathe 4.2s ease-in-out infinite;
}

.anim-smoke-puff {
  transform-box: fill-box;
  transform-origin: center center;
  animation: smoke-rise 6.4s ease-out infinite;
}

.anim-smoke-2 {
  animation-delay: -2.1s;
}

.anim-smoke-3 {
  animation-delay: -4.2s;
}

.anim-car-cruise {
  animation: car-cruise 26s linear infinite;
}

.anim-cat-stroll {
  animation: cat-stroll 24s linear infinite;
}

.anim-cat-bob {
  animation: cat-bob 0.65s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .anim-lamp-breathe,
  .anim-smoke-puff,
  .anim-car-cruise,
  .anim-cat-stroll,
  .anim-cat-bob {
    animation: none;
  }
}

/* Unified SVG Frosted Glass Sprite: softly blurred feathery winter frost completely hides closed scenes until lit */
.facade-window-scene {
  isolation: isolate;
}

.facade-window-img {
  transition: opacity 1.1s ease, filter 1.1s ease;
}

.facade-window-scene:not(.is-lit) .facade-window-img {
  opacity: 0.14;
  filter: blur(10px) brightness(0.68);
}

.facade-window-scene.is-lit .facade-window-img {
  opacity: 1;
  filter: blur(0px) brightness(1.06) contrast(1.04) saturate(1.06);
}

.facade-window-frost {
  opacity: 1;
  transform-box: fill-box;
  transform-origin: center center;
  transform: scale(1);
  filter: blur(0px);
  transition:
    opacity 1.35s cubic-bezier(0.22, 1, 0.36, 1),
    transform 1.45s cubic-bezier(0.22, 1, 0.36, 1),
    filter 1.35s ease;
  pointer-events: none;
}

.facade-window-scene.is-lit .facade-window-frost {
  opacity: 0;
  transform: scale(1.04);
  filter: blur(6px);
}

[data-halo-day],
[data-surround-halo-day],
[data-spill-day],
[data-arch-glow-day] {
  opacity: 0;
  transition: opacity 1.15s ease-out;
  pointer-events: none;
}

[data-halo-day].is-lit {
  opacity: 0.72;
}

[data-surround-halo-day].is-lit {
  opacity: 1;
}

[data-spill-day].is-lit {
  opacity: 1;
}

[data-arch-glow-day].is-lit {
  opacity: 0.56;
}

.windows-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  transform-origin: 0 0;
  pointer-events: none;
}

/* Interactive Window Button Hitbox — zero separate scaling transforms */
.advent-window {
  position: absolute;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
  overflow: hidden;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  border-radius: 50% 50% 0 0 / var(--arch-v, 40%) var(--arch-v, 40%) 0 0;
}

.advent-window--rect {
  border-radius: 3px;
}

.advent-window:focus-visible {
  outline: 3px solid var(--gold-bright);
  outline-offset: 4px;
}

/* Soft GPU-composited hover warmth & next-window pulse inside window hitbox */
.window-hover-veil {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(
    ellipse at 50% 48%,
    rgba(255, 232, 178, 0.24) 0%,
    rgba(244, 198, 104, 0.1) 65%,
    rgba(244, 198, 104, 0.03) 100%
  );
  transition: opacity 0.22s ease;
}

.window-next-halo {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(
    ellipse at 50% 45%,
    rgba(255, 226, 154, 0.42) 0%,
    rgba(244, 198, 104, 0.15) 62%,
    rgba(244, 198, 104, 0.04) 100%
  );
  box-shadow: inset 0 0 16px rgba(255, 214, 132, 0.48);
}

.advent-window--next .window-next-halo {
  display: block;
  animation: next-window-pulse 2.8s ease-in-out infinite;
}

@keyframes next-window-pulse {
  0%,
  100% {
    opacity: 0.24;
  }
  50% {
    opacity: 0.88;
  }
}

@media (hover: hover) and (pointer: fine) {
  .advent-window:hover .window-hover-veil {
    opacity: 1;
  }
}

.advent-window--dim svg {
  animation: none;
}

/* Unified SVG cloisonne jewel window medallion styling inside `.facade-svg` */
.window-number-aura {
  fill: url(#medallionLitAura);
  opacity: 0;
  transition: opacity 0.65s ease;
}

.window-number-shadow {
  fill: rgba(16, 7, 4, 0.42);
}

.window-lock-shadow {
  fill: rgba(12, 8, 6, 0.32);
}

.window-number-bezel {
  fill: url(#medallionGoldRim);
  stroke: #34140a;
  stroke-width: 0.7;
}

.window-number-bg {
  fill: url(#medallionEnamelDim);
  transition: opacity 0.45s ease;
}

.window-number-sheen {
  fill: url(#medallionGlassSheen);
  pointer-events: none;
}

.window-number-ring {
  fill: none;
  stroke: var(--ui-medallion-ring);
  stroke-width: 0.55;
  transition: stroke 0.45s ease;
}

.window-number-digit {
  fill: var(--ui-medallion-ink);
  fill-rule: nonzero;
  shape-rendering: geometricPrecision;
  paint-order: stroke;
  stroke: rgba(34, 8, 12, 0.45);
  stroke-width: 0.85;
  stroke-linejoin: round;
}

.window-number.is-lit .window-number-aura {
  opacity: 0.92;
}

.window-number.is-lit .window-number-bg {
  fill: url(#medallionEnamelLit);
}

.window-number.is-lit .window-number-ring {
  stroke: var(--ui-medallion-lit-ring);
  stroke-width: 0.65;
}

.window-number.is-lit .window-number-digit {
  fill: var(--ui-medallion-lit-ink);
  stroke: rgba(255, 246, 214, 0.45);
  stroke-width: 0.65;
}

.window-number.is-locked .window-number-bezel {
  fill: url(#medallionGoldRimLocked);
}

.window-number.is-locked .window-number-bg {
  fill: url(#medallionEnamelLocked);
}

.window-number.is-locked .window-number-ring {
  stroke: var(--ui-medallion-locked-ring);
}

.window-number.is-locked .window-number-digit {
  fill: #141e2b;
  stroke: rgba(242, 248, 255, 0.72);
  stroke-width: 0.9;
  paint-order: stroke;
}


/* Window interior animations */
.anim-steam {
  animation: steam-rise 3.2s ease-in-out infinite;
  transform-origin: center bottom;
}

.anim-steam-delay {
  animation: steam-rise 3.2s ease-in-out 1.2s infinite;
  transform-origin: center bottom;
}

@keyframes steam-rise {
  0% {
    opacity: 0.25;
    transform: translateY(2px) scaleY(0.85);
  }
  50% {
    opacity: 0.85;
    transform: translateY(-4px) scaleY(1.08);
  }
  100% {
    opacity: 0.2;
    transform: translateY(-8px) scaleY(0.9);
  }
}

.anim-ball-roll {
  animation: ball-roll 2.6s ease-in-out infinite;
}

@keyframes ball-roll {
  0%,
  100% {
    transform: translateX(0px);
  }
  50% {
    transform: translateX(9px);
  }
}

.anim-sway {
  animation: gentle-sway 2.8s ease-in-out infinite;
  transform-origin: 50% 80%;
}

@keyframes gentle-sway {
  0%,
  100% {
    transform: rotate(-3deg);
  }
  50% {
    transform: rotate(4deg);
  }
}

.anim-flicker {
  animation: candle-flicker 1.9s ease-in-out infinite;
  transform-origin: center bottom;
}

@keyframes candle-flicker {
  0%,
  100% {
    opacity: 0.95;
    transform: scale(1);
  }
  45% {
    opacity: 0.72;
    transform: scale(0.92, 1.06);
  }
  75% {
    opacity: 1;
    transform: scale(1.06, 0.96);
  }
}

.anim-twinkle {
  animation: star-twinkle 2.2s ease-in-out infinite;
}

.anim-sleigh-soar {
  animation: sleigh-soar 5.6s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}

.anim-reindeer-leap {
  animation: reindeer-leap 1.25s ease-in-out infinite;
  transform-box: fill-box;
  transform-origin: center;
}

.anim-reindeer-leap-alt {
  animation: reindeer-leap 1.25s ease-in-out 0.42s infinite;
  transform-box: fill-box;
  transform-origin: center;
}

@keyframes sleigh-soar {
  0%, 100% {
    transform: translateY(0px) rotate(-1.4deg);
  }
  50% {
    transform: translateY(-7px) rotate(1.2deg);
  }
}

@keyframes reindeer-leap {
  0%, 100% {
    transform: translateY(0px) rotate(-2deg);
  }
  50% {
    transform: translateY(-4.5px) rotate(2.6deg);
  }
}

.anim-twinkle-alt {
  animation: star-twinkle 2.2s ease-in-out 1.1s infinite;
}

@keyframes star-twinkle {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.42;
  }
}

/* Compact legend strip below building */
.legend-strip {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 11px 13px;
  border-radius: 14px;
  background: rgba(11, 24, 43, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 0.77rem;
  line-height: 1.35;
  color: var(--text-light-muted);
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.legend-swatch {
  width: 14px;
  height: 18px;
  border-radius: 4px 4px 2px 2px;
  display: inline-block;
  flex-shrink: 0;
}

.legend-swatch-dim {
  background: linear-gradient(180deg, var(--glass-dim-top), var(--glass-dim-bottom));
  border: 1.5px solid #537896;
}

.legend-swatch-lit {
  background: radial-gradient(circle, var(--glass-lit-center), var(--glass-lit-mid));
  border: 1.5px solid var(--gold);
  box-shadow: 0 0 10px rgba(245, 182, 74, 0.75);
}

/* Modal / Reflection Postcard — Warm Porcelain Frost Sheet */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 48;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 0;
  background: rgba(20, 14, 10, 0.28);
  backdrop-filter: blur(18px) saturate(135%);
  -webkit-backdrop-filter: blur(18px) saturate(135%);
}

.modal-overlay[hidden] {
  display: none;
}

.postcard-modal {
  position: relative;
  width: min(100%, var(--mobile-shell-width));
  max-height: 92dvh;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  overscroll-behavior: contain;
  background: var(--ui-frost-sheet);
  color: var(--ui-ink);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  border: 1px solid var(--ui-frost-border);
  border-bottom: none;
  box-shadow: var(--shadow-card);
  backdrop-filter: var(--ui-frost-blur-heavy);
  -webkit-backdrop-filter: var(--ui-frost-blur-heavy);
  padding: 24px 24px calc(32px + env(safe-area-inset-bottom));
  animation: modal-pop 0.26s cubic-bezier(0.22, 1, 0.36, 1);
}

.postcard-modal::-webkit-scrollbar {
  display: none;
}

.postcard-modal--fullscreen {
  width: min(100%, var(--mobile-shell-width));
  height: 100%;
  min-height: 0;
  max-height: 100%;
  border-radius: 0;
  border: none;
  padding: 0 24px calc(40px + env(safe-area-inset-bottom));
  box-shadow: none;
}

.postcard-modal::before {
  content: "";
  display: block;
  width: 36px;
  height: 4px;
  border-radius: 999px;
  background: rgba(154, 132, 102, 0.26);
  margin: -6px auto 16px;
}

.postcard-modal--fullscreen::before {
  display: none;
}

.journal-modal {
  width: min(100%, var(--mobile-shell-width));
}

@keyframes modal-pop {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.99);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 24px;
}

.modal-header--sticky {
  position: sticky;
  top: 0;
  z-index: 8;
  margin: 0 -24px 28px;
  padding: calc(16px + env(safe-area-inset-top)) 24px 14px;
  background: var(--ui-frost-sheet-header);
  border-bottom: 1px solid var(--ui-hairline);
  backdrop-filter: var(--ui-frost-blur);
  -webkit-backdrop-filter: var(--ui-frost-blur);
}

.day-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.badge-date {
  display: inline-flex;
  align-items: center;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--ui-pill-bg);
  border: 1px solid var(--ui-pill-border);
  color: var(--ui-pill-ink);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

.badge-status {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 500;
}

.badge-status--dim {
  background: var(--ui-pill-bg);
  border: 1px solid var(--ui-hairline);
  color: var(--ui-ink-muted);
}

.badge-status--lit {
  background: rgba(218, 186, 130, 0.22);
  border: 1px solid rgba(201, 167, 114, 0.38);
  color: #6e512b;
}

.modal-close-btn {
  appearance: none;
  border: 1px solid var(--ui-hairline);
  background: var(--ui-glass-card);
  color: var(--ui-ink);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 1.15rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  touch-action: manipulation;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background-color 0.18s ease, transform 0.14s ease;
}

.modal-close-btn:hover {
  background: rgba(255, 253, 249, 0.96);
}

.modal-close-btn:active {
  transform: scale(0.95);
}

.modal-theme {
  margin: 0 0 10px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ui-ink-muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.modal-question {
  margin: 0 0 24px;
  font-family: var(--font-sans);
  font-size: clamp(1.18rem, 4.2vw, 1.44rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.28;
  color: var(--ui-ink);
}

.field-label {
  display: block;
  margin-bottom: 10px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--ui-ink-muted);
}

.reflection-textarea {
  width: 100%;
  min-height: 132px;
  padding: 16px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--ui-hairline);
  background: var(--ui-glass-input);
  color: var(--ui-ink);
  font-family: var(--font-sans);
  font-size: 0.96rem;
  line-height: 1.6;
  resize: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.reflection-textarea::placeholder {
  color: var(--ui-ink-subtle);
}

.reflection-textarea:focus {
  outline: none;
  background: rgba(255, 254, 251, 0.96);
  border-color: rgba(201, 167, 114, 0.56);
  box-shadow: 0 0 0 4px rgba(201, 167, 114, 0.14);
}

.field-error {
  margin: 8px 0 0;
  font-size: 0.82rem;
  font-weight: 500;
  color: #96413b;
}

.practice-box {
  margin-top: 22px;
  padding: 20px 22px;
  border-radius: var(--radius-md);
  background: var(--ui-glass-card);
  border: 1px solid var(--ui-hairline);
}

.practice-kicker {
  display: block;
  margin-bottom: 8px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ui-ink-muted);
}

.practice-text {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.6;
  color: var(--ui-ink);
}

.modal-scene-hero {
  position: relative;
  margin: 0 0 18px;
  border-radius: 26px 26px 18px 18px;
  overflow: hidden;
  background: #1b120c;
  border: 1.5px solid rgba(208, 168, 98, 0.48);
  box-shadow:
    0 14px 32px rgba(24, 16, 10, 0.16),
    inset 0 1px 0 rgba(255, 245, 220, 0.35);
}

.modal-scene-img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-height: 360px;
  object-fit: cover;
  object-position: center;
}

.modal-scene-caption {
  padding: 10px 14px;
  font-size: 0.82rem;
  line-height: 1.4;
  color: #f7ebda;
  background: linear-gradient(180deg, rgba(28, 18, 12, 0.86), rgba(20, 13, 9, 0.96));
  border-top: 1px solid rgba(235, 198, 132, 0.22);
}

.shop-hotspot {
  position: absolute;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: box-shadow 0.25s ease, background-color 0.25s ease;
}

.shop-hotspot:hover,
.shop-hotspot:focus-visible {
  background: rgba(255, 224, 152, 0.1);
  box-shadow: inset 0 0 0 2px rgba(255, 220, 148, 0.65);
  outline: none;
}

.shop-visual-heading {
  margin: 0 0 14px;
  font-size: 1.32rem;
  font-weight: 800;
  color: var(--ui-ink);
}

.shop-feature-strip {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(232, 198, 138, 0.24);
  border: 1.5px solid rgba(204, 152, 68, 0.45);
  color: var(--ui-ink);
}

.shop-feature-strip[hidden] {
  display: none;
}

.shop-feature-thumb {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(204, 152, 68, 0.5);
}

.shop-feature-strip strong {
  display: block;
  margin-bottom: 3px;
  font-size: 0.92rem;
  color: #6b4616;
}

.shop-feature-strip p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.4;
}

.shop-visual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.shop-visual-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  border-radius: 18px;
  overflow: hidden;
  text-align: left;
  font-family: inherit;
  background: rgba(255, 250, 242, 0.84);
  border: 1.5px solid rgba(204, 168, 114, 0.38);
  box-shadow: 0 8px 20px rgba(28, 18, 10, 0.08);
  cursor: pointer;
  transition: transform 0.16s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.shop-visual-card:active {
  transform: scale(0.98);
}

.shop-visual-card.is-selected {
  border-color: rgba(196, 138, 48, 0.92);
  box-shadow: 0 10px 26px rgba(186, 128, 36, 0.24);
}

.shop-visual-media {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #1a120c;
}

.shop-visual-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shop-visual-info {
  padding: 10px 11px 12px;
}

.shop-visual-title {
  display: block;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.25;
  color: var(--ui-ink);
}

.shop-visual-sub {
  display: block;
  margin-top: 3px;
  font-size: 0.74rem;
  line-height: 1.3;
  color: var(--ui-ink-muted);
}

.cat-story-box {
  margin: 0 0 14px;
  padding: 12px 15px;
  border-radius: 16px;
  background: rgba(232, 217, 193, 0.36);
  border: 1px solid rgba(201, 167, 114, 0.32);
}

.cat-story-badge {
  display: inline-block;
  margin-bottom: 4px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7c541f;
}

.cat-story-box p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--ui-ink);
}

.why-works-box {
  margin-top: 12px;
  padding: 14px 18px;
  border-radius: var(--radius-md);
  background: rgba(217, 185, 134, 0.14);
  border-left: 3px solid var(--gold);
}

.why-works-kicker {
  display: block;
  margin-bottom: 5px;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ui-ink-muted);
}

.why-works-text {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.55;
  color: var(--ui-ink-muted);
}

.btn-paper-share {
  width: 100%;
}

.auth-support-note {
  margin: 18px 0 0;
  text-align: center;
  font-size: 0.8rem;
  color: var(--ui-ink-muted);
}

.auth-support-note a {
  color: var(--ui-ink);
  font-weight: 600;
}

.welcome-steps {
  display: grid;
  gap: 10px;
  margin: 18px 0 6px;
}

.welcome-step {
  padding: 13px 16px;
  border-radius: var(--radius-md);
  background: var(--ui-glass-card);
  border: 1px solid var(--ui-hairline);
}

.welcome-step strong {
  display: block;
  margin-bottom: 3px;
  font-size: 0.92rem;
  color: var(--ui-ink);
}

.welcome-step span {
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--ui-ink-muted);
}

.inapp-banner {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(255, 248, 236, 0.96);
  color: #241913;
  border-bottom: 1px solid rgba(196, 152, 85, 0.35);
  font-size: 0.82rem;
}

.inapp-banner-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1 1 220px;
}

.inapp-banner-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.inapp-banner-copy {
  appearance: none;
  border: 0;
  border-radius: 999px;
  padding: 7px 14px;
  background: #232631;
  color: #f9f7f4;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
}

.inapp-banner-close {
  appearance: none;
  border: 0;
  background: transparent;
  color: #5b493f;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 6px;
}

.modal-footer {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
}

.modal-footer-right {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
}

.btn-paper-secondary {
  appearance: none;
  border: 1px solid var(--ui-secondary-border);
  background: var(--ui-secondary-bg);
  color: var(--ui-ink-muted);
  border-radius: 999px;
  padding: 12px 18px;
  font-family: var(--font-sans);
  font-size: 0.86rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.btn-paper-secondary:hover {
  background: rgba(255, 255, 255, 0.85);
  color: var(--ui-ink);
}

.btn-paper-submit {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 14px 26px;
  min-height: 50px;
  background: var(--ui-accent);
  color: var(--ui-accent-ink);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(24, 26, 34, 0.18);
  transition: transform 0.15s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-paper-submit:hover {
  transform: translateY(-1px);
  background: var(--ui-accent-hover);
  box-shadow: 0 14px 32px rgba(24, 26, 34, 0.22);
}

/* Journal Modal */
.journal-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 22px;
}

.journal-entry {
  padding: 18px 20px;
  border-radius: 20px;
  background: var(--ui-glass-card);
  border: 1px solid var(--ui-hairline);
}

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

.journal-entry-date {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ui-ink-muted);
  text-transform: uppercase;
}

.journal-entry-q {
  margin: 0 0 8px;
  font-family: var(--font-sans);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.35;
}

.journal-entry-a {
  margin: 0;
  font-size: 0.92rem;
  white-space: pre-wrap;
  color: var(--ink-dark);
}

.journal-empty {
  padding: 28px 16px;
  text-align: center;
  color: var(--ink-muted);
  background: var(--paper-surface);
  border-radius: var(--radius-md);
}

/* Floating Bottom Progress Pill */
.floating-progress-dock {
  position: fixed;
  left: 50%;
  bottom: max(12px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  width: min(calc(100vw - 92px), 284px);
  z-index: 28;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.floating-progress-dock.is-hidden {
  opacity: 0;
  transform: translate(-50%, 16px);
}

.progress-pill {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 11px 20px 13px;
  border-radius: 999px;
  background: var(--ui-frost-dock);
  border: 1px solid var(--ui-frost-border);
  color: var(--ui-ink);
  box-shadow: 0 14px 36px rgba(24, 16, 10, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.72);
  backdrop-filter: var(--ui-frost-blur);
  -webkit-backdrop-filter: var(--ui-frost-blur);
}

.frost-corner-flake {
  position: absolute;
  pointer-events: none;
  color: rgba(176, 150, 112, 0.44);
  z-index: 1;
}

.frost-corner-flake--tl {
  top: 7px;
  left: 11px;
}

.frost-corner-flake--br {
  right: 11px;
  bottom: 7px;
}

.progress-pill-head {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
  font-size: 0.76rem;
}

.progress-label {
  color: var(--ui-ink);
  font-weight: 500;
}

.progress-value {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.progress-num {
  color: var(--ui-ink);
  font-weight: 600;
}

.progress-sep {
  color: var(--ui-ink-muted);
  font-weight: 400;
}

.progress-track {
  position: relative;
  z-index: 2;
  height: 4px;
  border-radius: 999px;
  background: rgba(160, 134, 96, 0.18);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: linear-gradient(90deg, #b8986b 0%, #dfc088 100%);
  transition: width 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Toast notification */
.toast {
  position: fixed;
  left: 50%;
  top: calc(64px + env(safe-area-inset-top));
  transform: translateX(-50%);
  z-index: 55;
  max-width: calc(min(100vw, var(--mobile-shell-width)) - 40px);
  padding: 10px 18px;
  border-radius: var(--radius-md);
  background: var(--ui-frost-dock-strong);
  color: var(--ui-ink);
  border: 1px solid var(--ui-frost-border);
  box-shadow: 0 12px 32px rgba(24, 16, 10, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.78);
  backdrop-filter: var(--ui-frost-blur);
  -webkit-backdrop-filter: var(--ui-frost-blur);
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 1.38;
  text-align: center;
}

/* Light frost dock when inspecting an opened/locked window */
.window-peek-dock {
  position: fixed;
  left: 50%;
  bottom: max(12px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 44;
  width: min(calc(100vw - 24px), calc(var(--mobile-shell-width) - 20px));
}

.window-peek-dock[hidden] {
  display: none;
}

.peek-dock-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  background: var(--ui-frost-dock-strong);
  border: 1px solid var(--ui-frost-border);
  box-shadow: 0 20px 48px rgba(24, 16, 10, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.82);
  backdrop-filter: var(--ui-frost-blur-heavy);
  -webkit-backdrop-filter: var(--ui-frost-blur-heavy);
  animation: peek-rise 0.26s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes peek-rise {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.peek-dock-meta {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.peek-dock-day {
  padding: 4px 11px;
  border-radius: 999px;
  background: var(--ui-pill-bg);
  border: 1px solid var(--ui-pill-border);
  color: var(--ui-pill-ink);
  font-size: 0.72rem;
  font-weight: 500;
}

.peek-dock-archetype {
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid var(--ui-hairline);
  color: var(--ui-ink-muted);
  font-size: 0.72rem;
  font-weight: 500;
}

.peek-dock-title {
  position: relative;
  z-index: 2;
  margin: 0;
  color: var(--ui-ink);
  font-family: var(--font-sans);
  font-size: 1.04rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.22;
}

.peek-dock-caption {
  position: relative;
  z-index: 2;
  margin: 0;
  color: var(--ui-ink-muted);
  font-size: 0.83rem;
  line-height: 1.45;
}

.peek-dock-actions {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.peek-open-btn {
  flex: 1;
  min-height: 44px;
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--ui-accent);
  color: var(--ui-accent-ink);
  font-size: 0.86rem;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  touch-action: manipulation;
  box-shadow: 0 8px 20px rgba(24, 26, 34, 0.16);
}

.peek-open-btn:disabled {
  opacity: 0.48;
  cursor: default;
  box-shadow: none;
}

.peek-open-btn:active:not(:disabled) {
  transform: scale(0.985);
}

.peek-close-btn {
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid var(--ui-secondary-border);
  background: rgba(255, 255, 255, 0.62);
  color: var(--ui-ink);
  font-size: 0.84rem;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  touch-action: manipulation;
}

/* Auth / Checkout / Device limit UI inside postcard modal */
.auth-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
}

.auth-tab {
  flex: 1;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--ui-hairline);
  background: var(--ui-glass-card);
  color: var(--ui-ink-muted);
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
}

.auth-tab.is-active {
  background: var(--ui-accent);
  border-color: var(--ui-accent);
  color: var(--ui-accent-ink);
}

.auth-subtext {
  margin: 0 0 18px;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--ui-ink-muted);
}

.auth-input {
  width: 100%;
  min-height: 48px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--ui-hairline);
  background: var(--ui-glass-input);
  color: var(--ui-ink);
  font-family: var(--font-sans);
  font-size: 0.98rem;
}

.auth-input:focus {
  outline: none;
  background: rgba(255, 254, 251, 0.96);
  border-color: rgba(201, 167, 114, 0.56);
  box-shadow: 0 0 0 4px rgba(201, 167, 114, 0.14);
}

.auth-input-code {
  text-align: center;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.24em;
}

.auth-test-hint {
  margin-bottom: 14px;
  padding: 11px 14px;
  border-radius: 14px;
  background: var(--ui-glass-card);
  border: 1px solid var(--ui-hairline);
  color: var(--ui-ink);
  font-size: 0.84rem;
}

.auth-buy-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}

.practice-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.84rem;
  line-height: 1.45;
  color: var(--ui-ink);
  cursor: pointer;
}

.practice-check input {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: #9e6b23;
}

.practice-check a {
  color: #7c4f13;
  font-weight: 600;
}

.device-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.device-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  background: var(--ui-glass-card);
  border: 1px solid var(--ui-hairline);
}

.device-row-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 0.84rem;
  color: var(--ui-ink);
}

.device-row-meta small {
  color: var(--ui-ink-muted);
  font-size: 0.74rem;
}

.gift-link-box {
  padding: 12px 14px;
  border-radius: var(--radius-md);
  background: var(--ui-glass-input);
  border: 1px dashed var(--ui-secondary-border);
  color: var(--ui-ink);
  font-size: 0.82rem;
  word-break: break-all;
}

.modal-footer-right .btn-paper-secondary,
.modal-footer-right .btn-paper-submit {
  flex: 1 1 150px;
  min-height: 48px;
  text-align: center;
}

/* Tablet, iPad & Desktop Layout: fluid shell width, floating card modals, balanced docks */
@media (min-width: 640px) {
  .floating-progress-dock {
    width: min(calc(100vw - 48px), 320px);
    bottom: max(18px, env(safe-area-inset-bottom));
  }

  .window-peek-dock {
    width: min(calc(100vw - 48px), 480px);
    bottom: max(18px, env(safe-area-inset-bottom));
  }

  .modal-overlay {
    align-items: center;
    padding: 24px;
  }

  .postcard-modal--fullscreen {
    width: min(540px, 90vw);
    height: auto;
    min-height: auto;
    max-height: min(88%, 720px);
    border-radius: 28px;
    border: 1px solid var(--ui-frost-border);
    box-shadow: var(--shadow-card);
    padding: 0 28px 30px;
  }

  .modal-header--sticky {
    margin: 0 -28px 24px;
    padding: 18px 28px 14px;
    border-radius: 28px 28px 0 0;
  }
}

@media (min-width: 768px) and (max-height: 820px) {
  .postcard-modal--fullscreen {
    max-height: min(90%, 660px);
    padding-bottom: 24px;
  }

  .modal-header--sticky {
    margin-bottom: 18px;
  }

  .modal-question {
    margin-bottom: 18px;
  }

  .reflection-textarea {
    min-height: 112px;
  }

  .practice-box {
    margin-top: 16px;
    padding: 16px 20px;
  }

  .modal-footer {
    margin-top: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Compact Floating Cookie Consent Banner */
.cookie-banner {
  position: fixed;
  right: 14px;
  bottom: calc(82px + env(safe-area-inset-bottom));
  z-index: 42;
  width: min(360px, calc(100vw - 28px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 14px;
  border-radius: 16px;
  background: rgba(11, 25, 48, 0.92);
  border: 1px solid rgba(235, 200, 134, 0.34);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  color: #f3e9d8;
}

.cookie-banner-text {
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.4;
  color: rgba(243, 233, 216, 0.88);
}

.cookie-banner-text a {
  color: #f3c978;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner-btn {
  flex-shrink: 0;
  padding: 7px 13px;
  border-radius: 999px;
  border: 1px solid rgba(243, 201, 120, 0.52);
  background: linear-gradient(180deg, #f3cd7e, #d4a147);
  color: #241408;
  font-family: inherit;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
}
