:root {
  color-scheme: dark;
  --bg: #081016;
  --panel: rgba(27, 39, 49, 0.62);
  --panel-strong: rgba(39, 55, 67, 0.72);
  --text: #f5f7f3;
  --muted: rgba(226, 234, 229, 0.66);
  --soft: rgba(226, 234, 229, 0.42);
  --line: rgba(255, 255, 255, 0.13);
  --hairline: rgba(255, 255, 255, 0.08);
  --accent: #8ed6c4;
  --accent-2: #c8b6ff;
  --accent-text: #ffffff;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --shadow-card: 0 18px 55px rgba(0, 0, 0, 0.34);
  --shadow-soft: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at 50% 0%, #15234a 0, var(--bg) 55%);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Apple SD Gothic Neo", "Pretendard", "Segoe UI", sans-serif;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.app-bg {
  background:
    radial-gradient(circle at 18% 8%, rgba(142, 214, 196, 0.17), transparent 18%),
    radial-gradient(circle at 70% 18%, rgba(200, 182, 255, 0.2), transparent 16%),
    radial-gradient(circle at 80% 86%, rgba(114, 158, 143, 0.16), transparent 22%),
    linear-gradient(180deg, #071116 0%, #0b171e 55%, #050b10 100%);
  background-attachment: fixed;
}

.screen {
  position: relative;
  width: min(720px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: 34px 20px 52px;
  overflow: hidden;
}

.center {
  display: grid;
  align-content: center;
  gap: 18px;
}

.top {
  margin-bottom: 28px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 12px;
  font-size: 42px;
  line-height: 1.08;
  letter-spacing: -0.045em;
}

h2 {
  font-size: 18px;
  line-height: 1.32;
  letter-spacing: -0.02em;
}

.lead {
  color: var(--muted);
  font-size: 22px;
  line-height: 1.5;
}

.primary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 0 20px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, #8ed6c4, #6b9f92);
  color: var(--accent-text);
  font: inherit;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 14px 34px rgba(106, 157, 145, 0.28), var(--shadow-soft);
  transition: transform 160ms ease, filter 160ms ease;
}

.primary:active {
  transform: scale(0.985);
  filter: brightness(0.96);
}

.wide {
  width: 100%;
}

.secondary {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font: inherit;
  font-weight: 750;
  cursor: pointer;
  text-decoration: none;
  box-shadow: var(--shadow-soft);
}

.survey {
  display: grid;
  gap: 16px;
}

.survey-screen {
  display: grid;
  align-content: center;
  min-height: 100vh;
}

.survey-top {
  position: relative;
  z-index: 1;
  margin-bottom: 18px;
}

.survey-progress {
  height: 6px;
  margin-top: 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.survey-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(142, 214, 196, 0.95), rgba(200, 182, 255, 0.9));
  transition: width 620ms ease;
}

.survey-flow {
  position: relative;
  min-height: min(640px, calc(100vh - 190px));
  z-index: 1;
}

.survey-card {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: min(580px, calc(100vh - 220px));
  max-height: calc(100vh - 190px);
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 82% 12%, rgba(142, 214, 196, 0.11), transparent 24%),
    linear-gradient(180deg, rgba(43, 58, 67, 0.76), rgba(22, 34, 42, 0.64));
  box-shadow: var(--shadow-card), var(--shadow-soft);
  backdrop-filter: blur(26px) saturate(150%);
  opacity: 0;
  transform: translateY(18px) scale(0.985);
  pointer-events: none;
  transition: opacity 520ms ease, transform 520ms ease;
}

.survey-card[hidden] {
  display: none !important;
}

.survey-card.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
  z-index: 2;
}

.step-count {
  margin-bottom: 0;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.step-copy {
  margin-top: -6px;
  margin-bottom: 4px;
  color: var(--muted);
  line-height: 1.55;
}

.survey-card .options {
  overflow: auto;
  padding-right: 2px;
}

.survey-card .options::-webkit-scrollbar {
  width: 0;
}

.start-card {
  justify-content: flex-end;
}

.start-illustration {
  position: relative;
  min-height: 220px;
  margin-bottom: auto;
  overflow: hidden;
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 255, 255, 0.12), transparent 3px),
    radial-gradient(circle at 58% 18%, rgba(255, 255, 255, 0.24), transparent 2px),
    linear-gradient(180deg, rgba(10, 25, 38, 0.42), rgba(10, 18, 27, 0.76));
}

.start-moon {
  position: absolute;
  top: 52px;
  left: 50%;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  box-shadow: 10px 0 0 #f6d88e;
  transform: translateX(-50%) rotate(22deg);
}

.start-hill {
  position: absolute;
  left: -10%;
  right: -10%;
  bottom: 0;
  height: 92px;
  background: radial-gradient(ellipse at 50% 100%, rgba(41, 68, 84, 0.82) 0 54%, transparent 55%);
}

.start-wave {
  position: absolute;
  left: 0;
  width: 120%;
  height: 54px;
  border: 2px solid rgba(142, 214, 196, 0.28);
  border-color: rgba(142, 214, 196, 0.28) transparent transparent transparent;
  border-radius: 50%;
}

.wave-a {
  bottom: 38px;
  transform: rotate(-4deg);
}

.wave-b {
  bottom: 22px;
  left: -20%;
  transform: rotate(4deg);
}

.option-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
  overflow: auto;
  padding-right: 2px;
}

.answer-card,
.method-card {
  position: relative;
  display: grid;
  gap: 10px;
  min-height: 128px;
  padding: 14px;
  border: 1px solid var(--hairline);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  overflow: hidden;
  transition: border-color 260ms ease, background 260ms ease, box-shadow 260ms ease, transform 260ms ease;
}

.answer-card input,
.method-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.answer-card strong,
.method-card strong {
  align-self: end;
  font-size: 13px;
  line-height: 1.35;
}

.answer-card:has(input:checked),
.method-card:has(input:checked) {
  border-color: rgba(142, 214, 196, 0.72);
  background:
    radial-gradient(circle at 18% 20%, rgba(142, 214, 196, 0.16), transparent 34%),
    rgba(142, 214, 196, 0.09);
  box-shadow:
    0 0 0 1px rgba(142, 214, 196, 0.18),
    0 12px 34px rgba(142, 214, 196, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.wide-card {
  grid-column: 1 / -1;
  min-height: 78px;
  grid-template-columns: auto 1fr;
  align-items: center;
}

.option-art,
.method-icon {
  position: relative;
  z-index: 1;
  display: block;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.28), transparent 38%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.045));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 10px 24px rgba(0, 0, 0, 0.12);
  color: #dfe8f2;
}

.option-art::before,
.option-art::after,
.method-icon::before,
.method-icon::after {
  content: none;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.option-art svg,
.method-icon svg,
.item-badge svg {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.35;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.option-art use,
.method-icon use,
.item-badge use {
  fill: none;
  stroke: currentColor;
}

.option-art svg,
.method-icon svg {
  padding: 11px;
}

.answer-card:has(input:checked) .option-art,
.method-card:has(input:checked) .method-icon {
  color: #ffffff;
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.36), transparent 38%),
    linear-gradient(145deg, rgba(142, 214, 196, 0.35), rgba(154, 118, 255, 0.2));
  box-shadow:
    0 0 0 1px rgba(142, 214, 196, 0.28),
    0 12px 30px rgba(142, 214, 196, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.art-hourglass::before {
  inset: 10px 16px;
  border: 2px solid #d8e2dc;
  border-left-color: transparent;
  border-right-color: transparent;
  transform: skewY(-12deg);
}

.art-light::before {
  left: 17px;
  top: 10px;
  width: 12px;
  height: 16px;
  border: 2px solid #d8e2dc;
  border-radius: 50% 50% 45% 45%;
}

.art-light::after {
  left: 18px;
  top: 30px;
  width: 10px;
  height: 4px;
  border-radius: 999px;
  background: #d8e2dc;
}

.art-knot::before {
  left: 12px;
  top: 16px;
  width: 20px;
  height: 16px;
  border: 2px solid #d8e2dc;
  border-radius: 50%;
}

.art-loop::before {
  left: 13px;
  top: 13px;
  width: 22px;
  height: 22px;
  border: 2px dashed #d8e2dc;
  border-radius: 50%;
}

.art-moon::before {
  left: 13px;
  top: 9px;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  box-shadow: -7px 4px 0 #d8e2dc;
}

.art-chart::before {
  left: 11px;
  bottom: 12px;
  width: 24px;
  height: 18px;
  background: linear-gradient(135deg, transparent 45%, #d8e2dc 47% 54%, transparent 56%);
}

.art-briefcase::before {
  left: 10px;
  top: 17px;
  width: 26px;
  height: 18px;
  border: 2px solid #d8e2dc;
  border-radius: 5px;
}

.art-heart::before {
  left: 14px;
  top: 14px;
  width: 18px;
  height: 18px;
  background: #d8e2dc;
  transform: rotate(45deg);
  border-radius: 4px;
}

.art-people::before {
  left: 10px;
  top: 14px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d8e2dc;
  box-shadow: 16px 0 0 #d8e2dc;
}

.art-people::after {
  left: 8px;
  top: 28px;
  width: 30px;
  height: 8px;
  border-radius: 999px 999px 0 0;
  background: #d8e2dc;
}

.art-school::before {
  left: 10px;
  top: 17px;
  width: 26px;
  height: 16px;
  clip-path: polygon(50% 0, 100% 35%, 50% 70%, 0 35%);
  background: #d8e2dc;
}

.art-home::before {
  left: 10px;
  top: 20px;
  width: 26px;
  height: 18px;
  background: #d8e2dc;
  clip-path: polygon(0 45%, 50% 0, 100% 45%, 100% 100%, 0 100%);
}

.art-dots::before {
  left: 13px;
  top: 22px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #d8e2dc;
  box-shadow: 8px 0 0 #d8e2dc, 16px 0 0 #d8e2dc;
}

.method-list {
  display: grid;
  gap: 11px;
  overflow: auto;
}

.method-card {
  min-height: 68px;
  grid-template-columns: auto 1fr;
  align-items: center;
}

.icon-book::before {
  inset: 12px 13px;
  border: 2px solid #d8e2dc;
  border-radius: 4px;
}

.icon-audio::before {
  left: 13px;
  top: 14px;
  width: 20px;
  height: 18px;
  border: 2px solid #d8e2dc;
  border-radius: 12px 12px 5px 5px;
}

.icon-breath::before {
  left: 12px;
  top: 13px;
  width: 22px;
  height: 22px;
  border: 2px solid #d8e2dc;
  border-radius: 50%;
}

.icon-note::before {
  left: 13px;
  top: 11px;
  width: 20px;
  height: 24px;
  border: 2px solid #d8e2dc;
  border-radius: 4px;
}

.icon-cloud::before {
  left: 9px;
  top: 18px;
  width: 28px;
  height: 16px;
  border-radius: 999px;
  background: #d8e2dc;
}

.survey-card .primary.wide,
.survey-card > .next-step {
  margin-top: auto;
}

.survey-actions {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 10px;
  margin-top: auto;
}

.primary:disabled,
.submit-step:disabled,
.next-step:disabled {
  cursor: default;
  opacity: 0.42;
  box-shadow: none;
}

.survey section,
.log-box,
.content-band {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: var(--shadow-card), var(--shadow-soft);
  backdrop-filter: blur(22px) saturate(140%);
}

.survey h2,
.log-box h2,
.content-band h2 {
  margin-bottom: 14px;
}

.options {
  display: grid;
  gap: 10px;
}

.options.compact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

label {
  display: block;
  color: var(--text);
}

.options label {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 15px;
  border: 1px solid var(--hairline);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: border-color 260ms ease, background 260ms ease, box-shadow 260ms ease, transform 260ms ease;
}

.options label:has(input:checked) {
  border-color: rgba(142, 214, 196, 0.72);
  background:
    radial-gradient(circle at 18% 20%, rgba(142, 214, 196, 0.16), transparent 34%),
    rgba(142, 214, 196, 0.09);
  box-shadow:
    0 0 0 1px rgba(142, 214, 196, 0.18),
    0 12px 34px rgba(142, 214, 196, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.options label:has(input:checked)::after {
  content: "";
  width: 8px;
  height: 8px;
  margin-left: auto;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 16px rgba(142, 214, 196, 0.75);
}

.options input {
  width: 18px;
  height: 18px;
}

input,
textarea {
  accent-color: var(--accent);
}

textarea {
  width: 100%;
  margin: 8px 0 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  resize: vertical;
  outline: none;
  transition: border-color 160ms ease, background 160ms ease;
}

textarea:focus {
  border-color: rgba(142, 214, 196, 0.7);
  background: rgba(255, 255, 255, 0.085);
}

.error {
  padding: 12px;
  border: 1px solid #7c3131;
  border-radius: 16px;
  background: #2b1717;
}

.stats {
  display: grid;
  gap: 12px;
}

.stat-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--panel);
  box-shadow: var(--shadow-card), var(--shadow-soft);
  backdrop-filter: blur(22px) saturate(140%);
}

.stat-headline {
  color: var(--muted);
}

.stat-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 36px;
  letter-spacing: -0.045em;
}

.stat-card a,
.sources a {
  color: var(--accent);
}

.content-band,
.log-box,
.sources {
  margin-top: 28px;
}

.comfort-note {
  margin: 0 0 18px;
  padding: 14px 16px;
  border-left: 3px solid var(--accent);
  color: var(--muted);
  background: rgba(215, 197, 160, 0.08);
}

.phone-screen {
  position: relative;
  width: min(520px, 100%);
  min-height: 100vh;
  margin: 0 auto;
  padding: 24px 18px 104px;
  overflow: hidden;
}

.phone-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.55) 0 1px, transparent 1px),
    radial-gradient(circle, rgba(255, 255, 255, 0.28) 0 1px, transparent 1px);
  background-position: 42px 58px, 190px 140px;
  background-size: 150px 180px, 220px 240px;
  opacity: 0.22;
}

.hero-night {
  position: relative;
  min-height: 405px;
  padding: 8px 8px 0;
}

.waiting-screen {
  padding-top: 22px;
}

.waiting-hero {
  position: relative;
  min-height: 470px;
  padding: 8px 8px 0;
}

.waiting-hero h1 {
  position: relative;
  z-index: 2;
  margin-top: 22px;
  margin-bottom: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 46px;
  letter-spacing: -0.02em;
}

.waiting-hero .hero-copy {
  position: relative;
  z-index: 2;
}

.waiting-room {
  position: relative;
  height: 310px;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 32px;
  background:
    radial-gradient(circle at 78% 25%, rgba(200, 182, 255, 0.18), transparent 24%),
    linear-gradient(180deg, rgba(23, 40, 50, 0.88), rgba(9, 18, 24, 0.92));
  box-shadow: var(--shadow-card), var(--shadow-soft);
}

.room-window {
  position: absolute;
  right: 36px;
  top: 38px;
  width: 84px;
  height: 112px;
  border: 2px solid rgba(216, 226, 220, 0.3);
  border-radius: 18px;
  background: rgba(4, 12, 20, 0.54);
}

.room-window span {
  position: absolute;
  right: 28px;
  top: 26px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  box-shadow: 7px 0 0 #f6d88e;
  transform: rotate(22deg);
}

.floor-lamp {
  position: absolute;
  right: 132px;
  top: 82px;
  width: 58px;
  height: 160px;
}

.floor-lamp::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 42px;
  width: 2px;
  height: 106px;
  background: rgba(216, 226, 220, 0.38);
}

.floor-lamp span {
  position: absolute;
  left: 8px;
  top: 8px;
  width: 52px;
  height: 34px;
  border-radius: 50% 50% 8px 8px;
  background: linear-gradient(180deg, rgba(246, 216, 142, 0.55), rgba(246, 216, 142, 0.08));
}

.arm-chair {
  position: absolute;
  left: 38px;
  bottom: 38px;
  width: 148px;
  height: 108px;
  border-radius: 34px 34px 24px 24px;
  background: linear-gradient(135deg, #7f8e94, #435762);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.28);
}

.arm-chair::before,
.arm-chair::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 38px;
  height: 70px;
  border-radius: 20px;
  background: rgba(45, 61, 70, 0.82);
}

.arm-chair::before {
  left: -14px;
}

.arm-chair::after {
  right: -14px;
}

.arm-chair span {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 16px;
  height: 36px;
  border-radius: 18px;
  background: rgba(216, 226, 220, 0.18);
}

.side-table {
  position: absolute;
  right: 84px;
  bottom: 50px;
  width: 62px;
  height: 42px;
  border-top: 7px solid rgba(216, 226, 220, 0.36);
  border-left: 2px solid rgba(216, 226, 220, 0.25);
  border-right: 2px solid rgba(216, 226, 220, 0.25);
}

.plant {
  position: absolute;
  right: 26px;
  bottom: 42px;
  width: 54px;
  height: 84px;
}

.plant::before {
  content: "";
  position: absolute;
  left: 17px;
  bottom: 0;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: rgba(216, 226, 220, 0.22);
}

.plant::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 12px;
  width: 38px;
  height: 54px;
  background:
    radial-gradient(ellipse at 30% 35%, rgba(142, 214, 196, 0.55) 0 28%, transparent 30%),
    radial-gradient(ellipse at 70% 38%, rgba(142, 214, 196, 0.45) 0 26%, transparent 28%),
    radial-gradient(ellipse at 50% 72%, rgba(142, 214, 196, 0.38) 0 30%, transparent 32%);
}

.waiting-list {
  display: grid;
  gap: 12px;
}

.waiting-item {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 14px;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(245, 247, 243, 0.9);
  color: #17222b;
  text-decoration: none;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.24);
}

.waiting-item strong {
  display: block;
  margin-bottom: 4px;
  font-size: 15px;
}

.waiting-item p {
  margin-bottom: 0;
  color: rgba(23, 34, 43, 0.68);
  font-size: 13px;
}

.item-badge {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(142, 214, 196, 0.38), rgba(200, 182, 255, 0.34));
  color: #f8fbff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 10px 22px rgba(0, 0, 0, 0.12);
}

.item-badge::before {
  content: none;
}

.item-badge svg {
  padding: 10px;
  stroke-width: 2.45;
}

.badge-audio::before {
  border-radius: 50%;
}

.badge-story::before {
  border-radius: 50%;
  box-shadow: 9px 0 0 -3px #17222b;
}

.badge-note::before {
  border-radius: 4px;
  transform: rotate(-8deg);
}

.time {
  margin-bottom: 56px;
  color: #ffffff;
  font-weight: 760;
  letter-spacing: -0.02em;
}

.hero-night h1 {
  margin-bottom: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 58px;
  letter-spacing: 0;
  text-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
}

.hero-copy {
  width: 78%;
  color: rgba(247, 248, 255, 0.88);
  font-size: 18px;
  line-height: 1.55;
  letter-spacing: -0.025em;
}

.moon {
  position: absolute;
  right: 29%;
  bottom: 122px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  box-shadow: 9px 0 0 #ffd990;
  transform: rotate(20deg);
}

.skyline {
  position: absolute;
  left: -18px;
  right: -18px;
  bottom: 0;
  height: 142px;
  background:
    radial-gradient(ellipse at 45% 86%, rgba(49, 72, 128, 0.8) 0 24%, transparent 25%),
    linear-gradient(180deg, transparent 0%, rgba(7, 12, 28, 0.35) 35%, rgba(5, 8, 18, 0.95) 100%);
}

.skyline::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 70px;
  background:
    linear-gradient(#111b33 0 0) 7% 100% / 28px 60px no-repeat,
    linear-gradient(#0d162b 0 0) 19% 100% / 40px 42px no-repeat,
    linear-gradient(#101a31 0 0) 35% 100% / 32px 78px no-repeat,
    linear-gradient(#0c1427 0 0) 64% 100% / 44px 54px no-repeat,
    linear-gradient(#121c34 0 0) 82% 100% / 34px 82px no-repeat,
    linear-gradient(#0a1020 0 0) 100% 100% / 100% 26px no-repeat;
}

.skyline::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 42px;
  width: 2px;
  height: 88px;
  background: linear-gradient(#d8dcff, #6e7ab8);
  box-shadow: 0 0 18px rgba(155, 172, 255, 0.42);
}

.glass-panel {
  margin-top: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(43, 58, 67, 0.72), rgba(22, 34, 42, 0.58));
  box-shadow: var(--shadow-card), var(--shadow-soft);
  backdrop-filter: blur(24px) saturate(150%);
}

.glass-panel,
.list-card,
.stat-card,
.count-modal,
.survey section,
.log-box,
.content-band,
.empty-state {
  position: relative;
  overflow: hidden;
}

.glass-panel::before,
.list-card::before,
.stat-card::before,
.count-modal::before,
.survey section::before,
.log-box::before,
.content-band::before,
.empty-state::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 34%);
  opacity: 0.38;
}

.panel-title {
  margin-bottom: 14px;
  font-weight: 760;
  letter-spacing: -0.02em;
}

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

.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  text-align: center;
}

.mini-stats div {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 10px 8px;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.035);
}

.mini-stats strong {
  color: #ffffff;
  font-size: 21px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.045em;
}

.mini-stats span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.topic-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.topic {
  flex: 0 0 auto;
  padding: 13px 12px;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.065);
  color: var(--text);
  font: inherit;
  font-weight: 650;
  text-align: center;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.topic.active {
  border-color: rgba(142, 214, 196, 0.72);
  color: #ffffff;
  background: linear-gradient(180deg, rgba(142, 214, 196, 0.26), rgba(107, 159, 146, 0.16));
  box-shadow: 0 10px 28px rgba(106, 157, 145, 0.2), var(--shadow-soft);
}

.story-card {
  color: var(--muted);
}

.main-cta {
  margin-top: 22px;
}

.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  width: min(520px, 100%);
  padding: 12px 18px 18px;
  border-top: 1px solid var(--line);
  background: rgba(5, 9, 20, 0.76);
  backdrop-filter: blur(26px) saturate(160%);
  transform: translateX(-50%);
}

.bottom-nav a {
  color: var(--muted);
  font-size: 12px;
  text-align: center;
  text-decoration: none;
  font-weight: 650;
}

.bottom-nav a::before {
  display: block;
  margin-bottom: 5px;
  font-size: 18px;
}

.bottom-nav a:nth-child(1)::before {
  content: "⌂";
}

.bottom-nav a:nth-child(2)::before {
  content: "☷";
}

.bottom-nav a:nth-child(3)::before {
  content: "◐";
}

.bottom-nav a:nth-child(4)::before {
  content: "◇";
}

.bottom-nav a:nth-child(5)::before {
  content: "♙";
}

.bottom-nav .active {
  color: var(--accent);
  font-weight: 760;
}

.sub-screen {
  padding-top: 20px;
}

.ambient-orb {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.7;
}

.orb-a {
  top: 92px;
  right: 28px;
  width: 64px;
  height: 64px;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.65), rgba(157, 115, 255, 0.36) 38%, transparent 72%);
}

.orb-b {
  left: 24px;
  bottom: 132px;
  width: 92px;
  height: 92px;
  background: radial-gradient(circle, rgba(49, 72, 128, 0.38), transparent 72%);
}

.sub-header {
  padding: 6px 8px 12px;
}

.sub-header h1 {
  margin-bottom: 8px;
  font-size: 30px;
}

.sub-header p:not(.time) {
  color: var(--muted);
  line-height: 1.55;
}

.segment {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 10px 0 16px;
  padding: 5px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow-soft);
}

.segment span {
  padding: 10px;
  border-radius: 12px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
  text-align: center;
}

.segment .active {
  background: rgba(157, 115, 255, 0.42);
  color: var(--text);
}

.list-stack {
  display: grid;
  gap: 12px;
}

.feature-story {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin: 14px 0;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 122, 184, 0.28), transparent 25%),
    linear-gradient(140deg, rgba(70, 88, 150, 0.76), rgba(28, 35, 60, 0.68));
  box-shadow: var(--shadow-card), var(--shadow-soft);
  backdrop-filter: blur(24px) saturate(150%);
}

.care-grid {
  display: grid;
  gap: 12px;
}

.care-card {
  display: block;
  padding: 18px;
  border: 1px solid var(--hairline);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.055);
  color: var(--text);
  text-decoration: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.care-card span {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(142, 214, 196, 0.14);
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
}

.care-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 18px;
  letter-spacing: -0.025em;
}

.care-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.5;
}

.video-hero,
.content-feature {
  display: grid;
  gap: 18px;
  margin: 14px 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    radial-gradient(circle at 82% 16%, rgba(200, 182, 255, 0.18), transparent 24%),
    linear-gradient(145deg, rgba(43, 58, 67, 0.76), rgba(22, 34, 42, 0.62));
  box-shadow: var(--shadow-card), var(--shadow-soft);
  backdrop-filter: blur(24px) saturate(150%);
}

.video-hero {
  min-height: 280px;
  align-content: end;
}

.play-button {
  display: grid;
  place-items: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-size: 24px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.3), var(--shadow-soft);
}

.video-hero h2,
.content-feature h2 {
  margin-bottom: 8px;
  font-size: 26px;
}

.video-hero p:not(.eyebrow),
.content-feature p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.55;
}

.feature-story h2 {
  margin-bottom: 8px;
  font-size: 24px;
}

.feature-story p:not(.eyebrow) {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.5;
}

.feature-story span {
  flex: 0 0 auto;
  color: #ffffff;
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.055em;
}

.story-stack {
  display: grid;
  gap: 12px;
}

.story-preview {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(37, 47, 78, 0.72), rgba(19, 27, 48, 0.58));
  box-shadow: var(--shadow-card), var(--shadow-soft);
  backdrop-filter: blur(22px) saturate(145%);
}

.story-preview h2 {
  margin-bottom: 5px;
  font-size: 16px;
}

.story-preview p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.story-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  color: #ffffff;
  font-size: 13px;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.story-purple .story-icon {
  background: linear-gradient(135deg, #8f6fff, #5d48c6);
}

.story-blue .story-icon {
  background: linear-gradient(135deg, #5aa7ff, #5167d8);
}

.story-pink .story-icon {
  background: linear-gradient(135deg, #ff7ab8, #9d63f0);
}

.list-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 17px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(43, 58, 67, 0.7), rgba(22, 34, 42, 0.58));
  box-shadow: var(--shadow-card), var(--shadow-soft);
  backdrop-filter: blur(22px) saturate(145%);
}

.list-card h2 {
  margin-bottom: 6px;
  font-size: 17px;
}

.list-card p,
.empty-state p,
.source-list p {
  color: var(--muted);
}

.small-button {
  flex: 0 0 auto;
  padding: 9px 12px;
  border: 0;
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  font: inherit;
}

.empty-state {
  margin-top: 18px;
  padding: 22px 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
}

.empty-state h2 {
  margin-bottom: 8px;
}

.calendar-card {
  margin-top: 4px;
}

.calendar-head {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  color: var(--muted);
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  text-align: center;
}

.calendar-grid span {
  color: var(--muted);
  font-size: 12px;
}

.calendar-grid b {
  min-height: 34px;
  padding-top: 8px;
  border-radius: 12px;
  color: var(--text);
  font-weight: 600;
}

.calendar-grid .today {
  background: linear-gradient(180deg, rgba(142, 214, 196, 0.58), rgba(107, 159, 146, 0.42));
  box-shadow: 0 10px 26px rgba(106, 157, 145, 0.22);
}

.profile-head {
  display: flex;
  align-items: center;
  gap: 14px;
}

.avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 60% 30%, rgba(255, 255, 255, 0.45), transparent 18%),
    linear-gradient(135deg, #1f4141, #6b8f83);
  box-shadow: 0 0 28px rgba(142, 214, 196, 0.24);
}

.source-list {
  display: grid;
  gap: 8px;
}

.napkin-note {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(232, 226, 210, 0.68));
  color: #20303a;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 18px 38px rgba(0, 0, 0, 0.16);
}

.napkin-note p {
  margin-bottom: 0;
  color: rgba(23, 34, 43, 0.78);
}

.compact-empty {
  padding: 22px 0 6px;
  background: transparent;
  box-shadow: none;
}

.chart-card {
  padding-bottom: 14px;
}

.chart-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.chart-head p:last-child {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.chart-head span {
  align-self: flex-start;
  padding: 6px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.line-chart {
  padding-top: 4px;
}

.line-chart svg {
  display: block;
  width: 100%;
  height: 150px;
}

.chart-line {
  fill: none;
  stroke: url(#chartLine);
  stroke-width: 5;
  stroke-linecap: round;
}

.chart-fill {
  fill: rgba(169, 133, 255, 0.12);
}

.line-chart circle {
  fill: #ffffff;
  stroke: #a985ff;
  stroke-width: 3;
}

.chart-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.record-list {
  margin-top: 16px;
}

.record-card strong {
  flex: 0 0 auto;
  color: var(--accent);
  font-size: 24px;
  font-variant-numeric: tabular-nums;
}

.record-meta {
  margin-bottom: 6px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.main-preview {
  filter: none;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(8px);
  z-index: 10;
}

.modal-backdrop.hidden {
  display: none;
}

.count-modal {
  position: relative;
  width: min(420px, 100%);
  padding: 30px 22px 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(31, 39, 64, 0.98), rgba(13, 19, 38, 0.96));
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(28px) saturate(150%);
  text-align: center;
}

.count-modal h2 {
  margin-bottom: 8px;
  font-size: 22px;
}

.modal-category {
  color: var(--text);
  font-weight: 800;
}

.count-modal strong {
  display: block;
  margin: 12px 0;
  color: var(--accent);
  font-size: 44px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.055em;
}

.modal-x {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--text);
  font-size: 28px;
  text-decoration: none;
  cursor: pointer;
}

.modal-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
}

.modal-source {
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
  text-align: left;
}

.modal-actions a,
.modal-actions button {
  min-width: 0;
}

.modal-source a {
  color: var(--accent);
}

.log-box {
  display: grid;
  gap: 10px;
}

input[type="range"] {
  width: 100%;
}

output {
  color: var(--accent);
  font-size: 28px;
  font-weight: 800;
}

.sources {
  color: var(--muted);
}

summary {
  cursor: pointer;
  color: var(--text);
}

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

/* 3AM cafe skin */
:root {
  --bg: #050b0d;
  --panel: rgba(18, 31, 33, 0.72);
  --panel-strong: rgba(28, 45, 47, 0.82);
  --text: #f7f4ea;
  --muted: rgba(238, 232, 214, 0.68);
  --soft: rgba(238, 232, 214, 0.42);
  --line: rgba(231, 216, 176, 0.16);
  --hairline: rgba(231, 216, 176, 0.1);
  --accent: #9fd8cc;
  --accent-2: #e4c879;
  --accent-text: #07100f;
  --shadow-card: 0 24px 70px rgba(0, 0, 0, 0.42);
  --shadow-soft: inset 0 1px 0 rgba(255, 255, 255, 0.11);
}

body {
  background:
    radial-gradient(circle at 50% -6%, rgba(45, 74, 83, 0.64), transparent 46%),
    linear-gradient(180deg, #071113 0%, #061012 58%, #030708 100%);
}

.app-bg {
  background:
    radial-gradient(circle at 18% 10%, rgba(159, 216, 204, 0.16), transparent 18%),
    radial-gradient(circle at 74% 12%, rgba(228, 200, 121, 0.16), transparent 14%),
    radial-gradient(circle at 82% 86%, rgba(96, 126, 132, 0.18), transparent 24%),
    linear-gradient(180deg, #071113 0%, #0b181a 52%, #04090a 100%);
}

.screen::before,
.phone-screen::before {
  background-image:
    radial-gradient(circle, rgba(255, 242, 194, 0.68) 0 1px, transparent 1.2px),
    radial-gradient(circle, rgba(159, 216, 204, 0.34) 0 1px, transparent 1.2px);
  background-position: 42px 58px, 190px 140px;
  background-size: 148px 180px, 224px 238px;
  opacity: 0.18;
}

.eyebrow {
  color: var(--accent);
  letter-spacing: 0.16em;
}

h1 {
  color: #fffaf0;
  text-shadow: 0 12px 34px rgba(0, 0, 0, 0.38);
}

.primary {
  background:
    radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.34), transparent 26%),
    linear-gradient(135deg, #bde6db, #8fd0c2 54%, #d7bf72);
  color: #07100f;
  box-shadow:
    0 18px 44px rgba(143, 208, 194, 0.23),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    var(--shadow-soft);
}

.secondary {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.045));
  border-color: rgba(231, 216, 176, 0.18);
}

.survey-progress {
  background: rgba(246, 236, 204, 0.09);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.32);
}

.survey-progress span {
  background: linear-gradient(90deg, #9fd8cc, #e4c879);
  box-shadow: 0 0 18px rgba(159, 216, 204, 0.36);
}

.survey-card,
.glass-panel,
.content-feature,
.feature-story,
.video-hero,
.story-preview,
.list-card,
.calendar-card,
.empty-state {
  border-color: rgba(231, 216, 176, 0.15);
  background:
    radial-gradient(circle at 76% 8%, rgba(228, 200, 121, 0.09), transparent 28%),
    linear-gradient(180deg, rgba(25, 42, 45, 0.82), rgba(10, 20, 22, 0.76));
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.survey-card {
  border-radius: 30px;
}

.survey-card h2,
.sub-header h1,
.waiting-hero h1 {
  color: #fff8e8;
}

.step-copy,
.sub-header p:not(.time),
.hero-copy {
  color: rgba(238, 232, 214, 0.72);
}

.answer-card,
.method-card {
  border-color: rgba(231, 216, 176, 0.12);
  background:
    radial-gradient(circle at 22% 18%, rgba(255, 255, 255, 0.07), transparent 28%),
    linear-gradient(180deg, rgba(34, 55, 58, 0.76), rgba(18, 32, 35, 0.72));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 14px 34px rgba(0, 0, 0, 0.18);
}

.answer-card strong,
.method-card strong {
  color: #fff7e4;
}

.answer-card:has(input:checked),
.method-card:has(input:checked) {
  border-color: rgba(159, 216, 204, 0.74);
  background:
    radial-gradient(circle at 18% 18%, rgba(159, 216, 204, 0.22), transparent 34%),
    linear-gradient(180deg, rgba(31, 65, 65, 0.84), rgba(16, 39, 40, 0.76));
  box-shadow:
    0 0 0 1px rgba(159, 216, 204, 0.18),
    0 0 32px rgba(159, 216, 204, 0.16),
    0 22px 48px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.option-art,
.method-icon,
.item-badge {
  background:
    radial-gradient(circle at 34% 24%, rgba(255, 255, 255, 0.26), transparent 36%),
    linear-gradient(145deg, rgba(159, 216, 204, 0.24), rgba(228, 200, 121, 0.12));
  color: #f8eed2;
}

.waiting-screen {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), transparent 40%);
}

.waiting-hero {
  min-height: 520px;
}

.waiting-hero .time,
.sub-header .time {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  color: rgba(255, 248, 232, 0.86);
}

.waiting-hero .time::before,
.sub-header .time::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e4c879;
  box-shadow: 0 0 18px rgba(228, 200, 121, 0.48);
}

.waiting-room {
  height: 340px;
  border-color: rgba(231, 216, 176, 0.18);
  background:
    radial-gradient(circle at 58% 20%, rgba(228, 200, 121, 0.16), transparent 26%),
    radial-gradient(circle at 16% 18%, rgba(159, 216, 204, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(15, 31, 36, 0.94), rgba(5, 12, 14, 0.96));
}

.waiting-room::before {
  content: "3AM CAFE";
  position: absolute;
  left: 28px;
  top: 24px;
  padding: 7px 12px;
  border: 1px solid rgba(228, 200, 121, 0.3);
  border-radius: 999px;
  color: rgba(255, 248, 232, 0.76);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.14em;
  background: rgba(6, 14, 15, 0.46);
  box-shadow: 0 0 28px rgba(228, 200, 121, 0.12);
}

.waiting-room::after {
  content: "";
  position: absolute;
  left: 170px;
  bottom: 62px;
  width: 34px;
  height: 24px;
  border: 2px solid rgba(255, 248, 232, 0.58);
  border-top: 0;
  border-radius: 0 0 12px 12px;
  box-shadow:
    18px 2px 0 -8px rgba(255, 248, 232, 0.18),
    0 -18px 24px rgba(228, 200, 121, 0.1);
}

.room-window {
  border-color: rgba(228, 200, 121, 0.28);
  background:
    radial-gradient(circle at 50% 26%, rgba(255, 242, 194, 0.08), transparent 28%),
    rgba(3, 9, 12, 0.62);
}

.floor-lamp span {
  background: linear-gradient(180deg, rgba(228, 200, 121, 0.72), rgba(228, 200, 121, 0.08));
  filter: drop-shadow(0 0 22px rgba(228, 200, 121, 0.24));
}

.arm-chair {
  background: linear-gradient(135deg, #6f8587, #293f43);
}

.waiting-list {
  margin-top: 4px;
}

.waiting-item {
  border-color: rgba(231, 216, 176, 0.18);
  border-radius: 22px;
  background:
    radial-gradient(circle at 94% 12%, rgba(228, 200, 121, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(247, 244, 234, 0.94), rgba(220, 230, 223, 0.86));
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.64);
}

.waiting-item strong {
  color: #142327;
}

.waiting-item p {
  color: rgba(20, 35, 39, 0.66);
}

.bottom-nav {
  border-top-color: rgba(231, 216, 176, 0.12);
  background:
    linear-gradient(180deg, rgba(12, 23, 25, 0.7), rgba(4, 9, 10, 0.92));
  box-shadow: 0 -16px 42px rgba(0, 0, 0, 0.34);
}

.bottom-nav a {
  color: rgba(238, 232, 214, 0.58);
}

.bottom-nav a::before {
  color: rgba(228, 200, 121, 0.72);
}

.bottom-nav .active {
  color: #f8eed2;
}

.bottom-nav .active::before {
  color: var(--accent);
  text-shadow: 0 0 18px rgba(159, 216, 204, 0.38);
}

.segment {
  background: rgba(255, 248, 232, 0.055);
  border: 1px solid rgba(231, 216, 176, 0.08);
}

.segment .active {
  background: rgba(159, 216, 204, 0.2);
  color: #fff8e8;
}

.story-icon,
.play-button {
  background:
    radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.22), transparent 34%),
    linear-gradient(145deg, rgba(159, 216, 204, 0.28), rgba(228, 200, 121, 0.12));
  color: #fff8e8;
}

.napkin-note {
  background:
    linear-gradient(145deg, rgba(255, 250, 238, 0.92), rgba(219, 229, 221, 0.78));
}

/* Keep the cafe visible immediately on mobile. */
.waiting-screen {
  padding: 12px 18px 96px;
}

.waiting-hero {
  min-height: auto;
  padding: 0;
}

.waiting-hero .time {
  margin: 0 0 12px;
}

.waiting-room {
  height: min(300px, 39vh);
  margin-top: 0;
}

.waiting-hero h1 {
  margin-top: 18px;
  margin-bottom: 8px;
  font-size: clamp(38px, 11vw, 52px);
}

.waiting-hero .hero-copy {
  margin-bottom: 18px;
  line-height: 1.48;
}

@media (max-height: 760px) {
  .waiting-screen {
    padding-top: 8px;
  }

  .waiting-room {
    height: min(260px, 36vh);
  }

  .waiting-hero h1 {
    margin-top: 14px;
    font-size: clamp(34px, 10vw, 46px);
  }
}

/* Full cafe scene main screen */
.cafe-body {
  min-height: 100vh;
  margin: 0;
  background: #0f172a;
  color: #f8f0dd;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Apple SD Gothic Neo", "Pretendard", "Segoe UI", sans-serif;
  overflow: hidden;
}

.cafe-screen {
  position: relative;
  width: min(520px, 100%);
  min-height: 100dvh;
  margin: 0 auto;
  overflow: hidden;
  background:
    radial-gradient(circle at 64% 15%, rgba(111, 147, 176, 0.15), transparent 24%),
    radial-gradient(circle at 18% 26%, rgba(227, 176, 95, 0.12), transparent 25%),
    linear-gradient(180deg, #0f172a 0%, #0a111d 54%, #05070b 100%);
}

.cafe-wall {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 54px 54px;
  opacity: 0.26;
}

.cafe-floor {
  position: absolute;
  left: -8%;
  right: -8%;
  bottom: 0;
  height: 36%;
  background:
    repeating-linear-gradient(96deg, rgba(86, 48, 23, 0.32) 0 16px, rgba(26, 15, 10, 0.36) 16px 32px),
    linear-gradient(180deg, rgba(58, 35, 21, 0.2), rgba(9, 6, 4, 0.92));
  transform: perspective(420px) rotateX(58deg);
  transform-origin: bottom;
  opacity: 0.9;
}

.cafe-mist {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 36%, rgba(211, 227, 216, 0.08), transparent 42%),
    radial-gradient(ellipse at 30% 70%, rgba(227, 176, 95, 0.09), transparent 24%);
  animation: cafeMist 18s ease-in-out infinite alternate;
}

.cafe-window {
  position: absolute;
  top: 8.5%;
  right: 8%;
  width: 54%;
  height: 39%;
  border: 2px solid rgba(178, 157, 117, 0.28);
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.04),
    0 24px 90px rgba(0, 0, 0, 0.48),
    inset 0 0 42px rgba(4, 10, 18, 0.78);
}

.window-frame {
  position: absolute;
  inset: 0;
  z-index: 4;
  border: 10px solid rgba(18, 18, 18, 0.45);
  box-shadow:
    inset 50% 0 0 rgba(178, 157, 117, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.window-frame::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -10px;
  bottom: -10px;
  width: 3px;
  background: rgba(178, 157, 117, 0.22);
}

.dawn-sky {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 68% 22%, rgba(255, 246, 191, 0.08), transparent 16%),
    linear-gradient(180deg, #0b1730 0%, #172641 54%, #1b2b33 100%);
}

.moon {
  position: absolute;
  right: 24%;
  top: 21%;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  box-shadow: 11px 0 0 #f0d184;
  transform: rotate(16deg);
}

.stars {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: rgba(255, 243, 206, 0.82);
}

.star-a {
  left: 24%;
  top: 18%;
  box-shadow: 44px 28px 0 rgba(255, 243, 206, 0.5), 104px -12px 0 rgba(255, 243, 206, 0.52);
}

.star-b {
  right: 18%;
  top: 44%;
  box-shadow: -68px 22px 0 rgba(255, 243, 206, 0.48), -128px -30px 0 rgba(255, 243, 206, 0.42);
}

.hill {
  position: absolute;
  left: -12%;
  right: -12%;
  bottom: 20%;
  height: 36%;
  border-radius: 52% 48% 0 0;
}

.hill-back {
  background: rgba(29, 51, 61, 0.72);
  transform: translateX(18%) scaleX(1.25);
}

.hill-front {
  bottom: 14%;
  background: rgba(16, 36, 38, 0.88);
  transform: translateX(-14%) scaleX(1.16);
}

.lake {
  position: absolute;
  left: 12%;
  right: 8%;
  bottom: 9%;
  height: 12%;
  border-radius: 50%;
  background:
    linear-gradient(90deg, transparent, rgba(235, 213, 156, 0.3), transparent),
    rgba(60, 83, 86, 0.34);
  filter: blur(1px);
}

.fog {
  position: absolute;
  left: -30%;
  width: 160%;
  height: 16%;
  border-radius: 999px;
  background: rgba(225, 230, 210, 0.12);
  filter: blur(10px);
  animation: windowFog 22s linear infinite;
}

.fog-a {
  bottom: 24%;
}

.fog-b {
  bottom: 10%;
  animation-duration: 28s;
  animation-direction: reverse;
}

.cafe-title {
  position: absolute;
  left: 7%;
  top: 9.4%;
  z-index: 8;
  max-width: 42%;
}

.cafe-title p {
  margin: 0 0 86px;
  color: rgba(255, 250, 231, 0.92);
  font-size: 20px;
  font-weight: 760;
}

.cafe-title h1 {
  margin: 0 0 14px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 13vw, 66px);
  line-height: 1.06;
  letter-spacing: 0;
}

.cafe-title span {
  display: block;
  color: rgba(255, 241, 210, 0.78);
  font-size: 18px;
  line-height: 1.55;
}

.scene-object {
  position: absolute;
  z-index: 10;
  display: block;
  color: #fff4dc;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.scene-object em {
  position: absolute;
  left: 50%;
  top: 100%;
  padding-top: 8px;
  color: rgba(255, 244, 220, 0.9);
  font-style: normal;
  font-size: 14px;
  font-weight: 720;
  line-height: 1.3;
  text-align: center;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
  transform: translateX(-50%);
  white-space: nowrap;
}

.scene-object:focus-visible {
  outline: 2px solid #9fd8cc;
  outline-offset: 8px;
  border-radius: 20px;
}

.neighbor-table {
  left: 9%;
  top: 52%;
  width: 34%;
  height: 22%;
}

.neighbor-person {
  position: absolute;
  left: 6%;
  bottom: 14%;
  width: 48px;
  height: 86px;
  border-radius: 28px 28px 18px 18px;
  background: linear-gradient(180deg, #171b22, #090b0e);
}

.neighbor-person::before {
  content: "";
  position: absolute;
  left: 15px;
  top: -22px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #07090b;
}

.neighbor-chair {
  position: absolute;
  left: -4%;
  bottom: 0;
  width: 56px;
  height: 64px;
  border: 5px solid rgba(77, 47, 28, 0.72);
  border-radius: 18px 18px 8px 8px;
}

.small-table {
  position: absolute;
  left: 34%;
  bottom: 8%;
  width: 92px;
  height: 38px;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 50% 35%, rgba(182, 112, 54, 0.5), transparent 56%),
    #3a2215;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.48);
}

.small-lamp {
  position: absolute;
  left: 55%;
  bottom: 44%;
  width: 24px;
  height: 44px;
  border-radius: 50% 50% 8px 8px;
  background: rgba(240, 198, 112, 0.72);
  box-shadow: 0 0 32px rgba(240, 198, 112, 0.36);
  animation: lampFlicker 5s ease-in-out infinite;
}

.small-lamp::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 30px;
  width: 2px;
  height: 46px;
  background: rgba(213, 184, 134, 0.46);
}

.open-note {
  position: absolute;
  left: 52%;
  bottom: 20%;
  width: 46px;
  height: 25px;
  border-radius: 5px;
  background:
    linear-gradient(90deg, rgba(249, 238, 208, 0.9) 0 49%, rgba(224, 211, 179, 0.94) 50% 100%);
  transform: rotate(-5deg);
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.38);
}

.wall-phone {
  left: 5%;
  bottom: 22%;
  width: 25%;
  height: 18%;
}

.phone-body {
  position: absolute;
  left: 8%;
  bottom: 4%;
  width: 82px;
  height: 58px;
  border-radius: 18px 18px 10px 10px;
  background:
    radial-gradient(circle at 48% 58%, transparent 0 4px, rgba(214, 188, 136, 0.55) 5px 7px, transparent 8px),
    radial-gradient(circle, rgba(5, 6, 7, 0.92), #111 65%);
  border: 2px solid rgba(186, 150, 96, 0.24);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.55);
}

.phone-body::before {
  content: "";
  position: absolute;
  left: 2px;
  top: -18px;
  width: 78px;
  height: 22px;
  border-radius: 999px;
  background: #050607;
  transform: rotate(-4deg);
}

.phone-cord {
  position: absolute;
  left: 2%;
  bottom: 0;
  width: 62px;
  height: 66px;
  border-left: 2px solid rgba(20, 14, 12, 0.78);
  border-bottom: 2px solid rgba(20, 14, 12, 0.78);
  border-radius: 0 0 0 44px;
  transform: rotate(12deg);
}

.turntable-table {
  right: 7%;
  top: 61%;
  width: 31%;
  height: 18%;
}

.turntable-deck {
  position: absolute;
  right: 0;
  bottom: 4%;
  width: 112px;
  height: 70px;
  border-radius: 10px;
  background: linear-gradient(180deg, #3a2418, #17100d);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.52);
}

.record-disc {
  position: absolute;
  right: 34px;
  bottom: 21px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #d7bf72 0 4px, #111 5px 8px, #1b1c23 9px 100%);
  box-shadow: inset 0 0 0 8px #08090e;
  animation: recordSpin 7s linear infinite;
}

.tone-arm {
  position: absolute;
  right: 14px;
  bottom: 54px;
  width: 50px;
  height: 4px;
  border-radius: 999px;
  background: rgba(219, 202, 162, 0.72);
  transform: rotate(28deg);
  transform-origin: right center;
}

.user-table {
  right: 3%;
  bottom: 10.5%;
  width: 58%;
  height: 25%;
}

.round-table {
  position: absolute;
  inset: auto 0 0 0;
  height: 86%;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 42% 28%, rgba(169, 98, 42, 0.54), transparent 56%),
    repeating-radial-gradient(ellipse at center, rgba(255, 235, 184, 0.06) 0 2px, transparent 2px 9px),
    linear-gradient(145deg, #4a2d19, #1d110b);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.58);
}

.notebook {
  position: absolute;
  right: 8%;
  bottom: 30%;
  width: 128px;
  height: 88px;
  border-radius: 8px;
  background:
    repeating-linear-gradient(180deg, transparent 0 13px, rgba(46, 45, 42, 0.18) 13px 14px),
    linear-gradient(90deg, #e8d7ad 0 48%, #d7c496 50% 100%);
  transform: rotate(4deg);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.42);
}

.notebook::before {
  content: "오늘\A한 줄만";
  white-space: pre;
  position: absolute;
  left: 28px;
  top: 20px;
  color: rgba(63, 44, 27, 0.72);
  font-size: 14px;
  line-height: 1.45;
}

.pen {
  position: absolute;
  right: 10%;
  bottom: 40%;
  width: 6px;
  height: 72px;
  border-radius: 999px;
  background: linear-gradient(180deg, #0c1116, #060708);
  transform: rotate(34deg);
}

.coffee-cup {
  position: absolute;
  left: 30%;
  bottom: 43%;
  width: 42px;
  height: 38px;
  border-radius: 5px 5px 16px 16px;
  background: linear-gradient(180deg, #151515, #060606);
  box-shadow: inset 0 0 0 2px rgba(226, 198, 139, 0.14);
}

.coffee-cup::after {
  content: "";
  position: absolute;
  right: -12px;
  top: 10px;
  width: 14px;
  height: 14px;
  border: 3px solid #111;
  border-left: 0;
  border-radius: 0 10px 10px 0;
}

.candle {
  position: absolute;
  left: 47%;
  bottom: 31%;
  width: 34px;
  height: 42px;
  border-radius: 7px;
  background: rgba(255, 237, 195, 0.2);
  box-shadow: 0 0 36px rgba(232, 180, 88, 0.34);
}

.candle::before {
  content: "";
  position: absolute;
  left: 12px;
  top: -14px;
  width: 10px;
  height: 18px;
  border-radius: 50% 50% 50% 0;
  background: #f0bd62;
  transform: rotate(45deg);
  animation: lampFlicker 3.8s ease-in-out infinite;
}

.cafe-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  width: min(520px, 100%);
  padding: 12px 18px 18px;
  background: linear-gradient(180deg, rgba(6, 8, 10, 0.46), rgba(3, 4, 5, 0.9));
  border-top: 1px solid rgba(230, 204, 152, 0.14);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.cafe-nav a {
  color: rgba(248, 240, 221, 0.58);
  font-size: 12px;
  font-weight: 680;
  text-align: center;
  text-decoration: none;
}

.cafe-nav a::before {
  display: block;
  margin-bottom: 5px;
  color: rgba(228, 200, 121, 0.68);
  font-size: 18px;
}

.cafe-nav a:nth-child(1)::before {
  content: "☕";
}

.cafe-nav a:nth-child(2)::before {
  content: "▱";
}

.cafe-nav a:nth-child(3)::before {
  content: "✎";
}

.cafe-nav a:nth-child(4)::before {
  content: "☎";
}

.cafe-nav a:nth-child(5)::before {
  content: "◐";
}

.cafe-nav .active {
  color: #f8e6b6;
}

@keyframes windowFog {
  from {
    transform: translateX(-4%);
  }
  to {
    transform: translateX(8%);
  }
}

@keyframes cafeMist {
  from {
    transform: translate3d(-8px, 0, 0);
  }
  to {
    transform: translate3d(10px, -5px, 0);
  }
}

@keyframes lampFlicker {
  0%, 100% {
    opacity: 0.88;
  }
  50% {
    opacity: 1;
  }
}

@keyframes recordSpin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-height: 760px) {
  .cafe-title p {
    margin-bottom: 54px;
  }

  .cafe-window {
    top: 7%;
    height: 35%;
  }

  .neighbor-table {
    top: 48%;
  }

  .turntable-table {
    top: 57%;
  }

  .user-table {
    bottom: 9%;
    height: 23%;
  }
}

/* Mobile scene composition refinements */
.cafe-title {
  left: 7%;
  top: 9%;
  max-width: 74%;
}

.cafe-title p {
  margin-bottom: 72px;
}

.cafe-title h1 {
  font-size: clamp(40px, 10vw, 52px);
  white-space: nowrap;
}

.cafe-title span {
  max-width: 190px;
  font-size: 16px;
}

.cafe-window {
  top: 8%;
  right: 7%;
  width: 56%;
  height: 34%;
}

.neighbor-table {
  left: 8%;
  top: 43%;
  width: 38%;
  height: 20%;
}

.neighbor-table em {
  left: 72%;
  top: 84%;
}

.neighbor-person {
  left: 2%;
  bottom: 11%;
  opacity: 0.92;
}

.small-table {
  left: 32%;
  bottom: 10%;
}

.small-lamp {
  left: 58%;
  bottom: 48%;
}

.open-note {
  left: 56%;
  bottom: 24%;
}

.wall-phone {
  left: 5%;
  bottom: 20%;
  width: 25%;
  height: 16%;
  z-index: 13;
}

.wall-phone em {
  top: 86%;
}

.turntable-table {
  right: 5%;
  top: 54%;
  width: 34%;
  height: 17%;
  z-index: 14;
}

.turntable-table em {
  top: 88%;
}

.turntable-deck {
  width: 118px;
  height: 74px;
}

.record-disc {
  right: 38px;
  bottom: 23px;
}

.user-table {
  right: -2%;
  bottom: 9%;
  width: 55%;
  height: 22%;
  z-index: 12;
}

.user-table em {
  top: 72%;
}

.notebook {
  right: 7%;
  bottom: 36%;
  width: 126px;
  height: 82px;
}

.coffee-cup {
  left: 26%;
  bottom: 48%;
}

.candle {
  left: 43%;
  bottom: 35%;
}

@media (max-height: 760px) {
  .cafe-title p {
    margin-bottom: 52px;
  }

  .cafe-title h1 {
    font-size: clamp(35px, 9.6vw, 46px);
  }

  .cafe-window {
    height: 31%;
  }

  .neighbor-table {
    top: 41%;
  }

  .turntable-table {
    top: 53%;
  }
}

/* Final cafe-stage pass: reduce empty top air and make the room feel entered, not opened as a dashboard. */
.cafe-screen {
  min-height: 100svh;
  background:
    radial-gradient(circle at 58% 9%, rgba(126, 149, 178, 0.18), transparent 21%),
    radial-gradient(circle at 18% 32%, rgba(228, 181, 104, 0.16), transparent 28%),
    linear-gradient(180deg, #0f172a 0%, #09111c 48%, #05070b 100%);
}

.cafe-window {
  top: 4%;
  right: 5%;
  width: 58%;
  height: 36%;
}

.cafe-title {
  top: 3.8%;
  left: 6%;
  max-width: 72%;
}

.cafe-title p {
  margin-bottom: 50px;
  font-size: 18px;
}

.cafe-title h1 {
  font-size: clamp(34px, 9.4vw, 48px);
}

.cafe-title span {
  max-width: 178px;
  font-size: 15px;
}

.neighbor-table {
  left: 7%;
  top: 39%;
  width: 40%;
  height: 20%;
}

.wall-phone {
  left: 5%;
  bottom: 19%;
}

.turntable-table {
  right: 6%;
  top: 51%;
  width: 34%;
  height: 16%;
}

.user-table {
  right: -7%;
  bottom: 8.5%;
  width: 60%;
  height: 21%;
}

.round-table {
  height: 78%;
}

.notebook {
  right: 9%;
  bottom: 37%;
  width: 112px;
  height: 76px;
}

.notebook::before {
  left: 24px;
  top: 16px;
  font-size: 13px;
}

.pen {
  right: 11%;
  bottom: 42%;
  height: 62px;
}

.coffee-cup {
  left: 28%;
  bottom: 49%;
  width: 36px;
  height: 33px;
}

.candle {
  left: 43%;
  bottom: 36%;
  width: 30px;
  height: 37px;
}

.cafe-nav {
  padding-top: 10px;
  padding-bottom: max(14px, env(safe-area-inset-bottom));
}

@media (max-height: 760px) {
  .cafe-window {
    top: 3.2%;
    height: 33%;
  }

  .cafe-title {
    top: 3.2%;
    width: min(90%, 400px);
    gap: 10px;
  }

  .neighbor-table {
    top: 37%;
  }

  .turntable-table {
    top: 50%;
  }

  .user-table {
    bottom: 8%;
    height: 20%;
  }
}

/* Production cafe background pass: use a generated scene, keep routing as quiet hotspots. */
.cafe-body {
  background: #0f172a;
}

.cafe-screen {
  width: min(520px, 100vw);
  height: 100svh;
  min-height: 100svh;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(5, 8, 12, 0.04), rgba(5, 8, 12, 0.02) 58%, rgba(0, 0, 0, 0.08) 100%),
    url("/static/assets/cafe-main-user-bg.webp") right center / auto 107% no-repeat;
}

.cafe-period-day .cafe-screen {
  background:
    linear-gradient(180deg, rgba(5, 8, 12, 0.03), rgba(5, 8, 12, 0.02) 58%, rgba(0, 0, 0, 0.06) 100%),
    url("/static/assets/cafe-main-bg-daytime.webp") right center / auto 107% no-repeat;
}

.cafe-period-sunset .cafe-screen {
  background:
    linear-gradient(180deg, rgba(5, 8, 12, 0.04), rgba(5, 8, 12, 0.02) 58%, rgba(0, 0, 0, 0.07) 100%),
    url("/static/assets/cafe-main-bg-sunset.webp") right center / auto 107% no-repeat;
}

.cafe-period-night .cafe-screen {
  background:
    linear-gradient(180deg, rgba(5, 8, 12, 0.04), rgba(5, 8, 12, 0.02) 58%, rgba(0, 0, 0, 0.08) 100%),
    url("/static/assets/cafe-main-user-bg.webp") right 23% / auto 115% no-repeat;
}

.cafe-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 34%, transparent 0 52%, rgba(0, 0, 0, 0.12) 100%),
    linear-gradient(180deg, rgba(4, 7, 12, 0.12) 0%, transparent 26%, transparent 72%, rgba(0, 0, 0, 0.08) 100%);
}

.cafe-screen::after {
  content: none;
}

.cafe-mist,
.cafe-wall,
.cafe-floor,
.cafe-window {
  display: none;
}

.cafe-title {
  left: 50%;
  top: 3.6%;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: min(88%, 420px);
  transform: translateX(-50%);
}

.cafe-title::before,
.cafe-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(245, 226, 198, 0.28);
}

.cafe-title-text {
  color: rgba(242, 231, 213, 0.8);
  font-family: "Apple SD Gothic Neo", "Malgun Gothic", Georgia, "Times New Roman", serif;
  font-size: clamp(16px, 4.3vw, 22px);
  font-weight: 300;
  line-height: 1.2;
  letter-spacing: 0.12em;
  white-space: nowrap;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.cafe-menu-toggle {
  position: absolute;
  right: 17px;
  top: max(17px, env(safe-area-inset-top));
  z-index: 12;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid rgba(180, 132, 72, 0.12);
  border-radius: 50%;
  background: rgba(21, 15, 11, 0.18);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.14);
  color: rgba(218, 181, 124, 0.46);
  font: 700 16px/1 "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  -webkit-tap-highlight-color: transparent;
}

.cafe-light {
  position: absolute;
  z-index: 3;
  pointer-events: none;
  border-radius: 50%;
  mix-blend-mode: screen;
  opacity: var(--light-base, 0.42);
  --light-low: 0.28;
  --light-mid: 0.42;
  --light-high: 0.58;
  transform: translate(-50%, -50%) scale(1);
  filter: blur(10px);
  background:
    radial-gradient(circle, rgba(255, 220, 136, 0.72) 0 8%, rgba(228, 150, 58, 0.3) 34%, rgba(228, 150, 58, 0.06) 62%, transparent 74%);
  animation: cafeLightFlicker 3.8s ease-in-out infinite;
}

.cafe-light-lantern-left {
  left: 4.8%;
  top: 55.8%;
  width: 18%;
  height: 10%;
  animation-duration: 4.6s;
  animation-delay: -1.1s;
}

.cafe-light-lantern-window {
  left: 29%;
  top: 33%;
  width: 15%;
  height: 9%;
  --light-low: 0.28;
  --light-mid: 0.46;
  --light-high: 0.64;
  animation-duration: 5.2s;
  animation-delay: -2.4s;
}

.cafe-light-candle {
  left: 21%;
  top: 74%;
  width: 19%;
  height: 10%;
  --light-low: 0.42;
  --light-mid: 0.62;
  --light-high: 0.8;
  filter: blur(8px);
  animation-duration: 3.2s;
  animation-delay: -0.6s;
}

.cafe-period-day .cafe-light {
  --light-low: 0.22;
  --light-mid: 0.34;
  --light-high: 0.48;
}

.cafe-period-day .cafe-light-candle {
  --light-low: 0.3;
  --light-mid: 0.46;
  --light-high: 0.62;
}

.cafe-period-sunset .cafe-light {
  --light-low: 0.22;
  --light-mid: 0.34;
  --light-high: 0.46;
}

.cafe-period-night .cafe-light {
  --light-low: 0.32;
  --light-mid: 0.48;
  --light-high: 0.62;
}

.cafe-period-night .cafe-light-candle {
  --light-low: 0.38;
  --light-mid: 0.58;
  --light-high: 0.72;
}

@keyframes cafeLightFlicker {
  0%, 100% {
    opacity: var(--light-mid);
    transform: translate(-50%, -50%) scale(0.98);
  }
  22% {
    opacity: var(--light-low);
    transform: translate(-50.4%, -50.2%) scale(0.93);
  }
  41% {
    opacity: var(--light-high);
    transform: translate(-49.7%, -50.1%) scale(1.04);
  }
  63% {
    opacity: var(--light-low);
    transform: translate(-50.1%, -49.8%) scale(0.97);
  }
  82% {
    opacity: var(--light-high);
    transform: translate(-49.9%, -50.4%) scale(1.06);
  }
}

.scene-object {
  z-index: 6;
  border-radius: 22px;
}

.scene-object::before {
  display: none;
}

.scene-object:active::before,
.scene-object:focus-visible::before {
  display: none;
}

.scene-object em {
  left: 50%;
  top: auto;
  bottom: -18px;
  padding: 0;
  color: rgba(218, 183, 128, 0.82);
  font-size: 13px;
  font-weight: 580;
  letter-spacing: -0.035em;
  text-shadow:
    0 2px 10px rgba(0, 0, 0, 0.88),
    0 0 18px rgba(166, 104, 45, 0.18);
}

.neighbor-table {
  left: 0;
  top: 27%;
  width: 47%;
  height: 22%;
}

.neighbor-table em {
  left: 54%;
  bottom: 28%;
}

.wall-phone {
  left: auto;
  right: 0;
  top: 20%;
  width: 23%;
  height: 21%;
}

.wall-phone em {
  left: 36%;
  bottom: 18%;
}

.turntable-table {
  right: 0;
  top: 43%;
  width: 35%;
  height: 17%;
}

.turntable-table em {
  bottom: 28%;
}

.user-table {
  left: 12%;
  top: 69%;
  bottom: auto;
  width: 70%;
  height: 25%;
}

.user-table em {
  left: 50%;
  bottom: 50%;
}

.cafe-nav {
  z-index: 8;
  padding: 7px 12px max(19px, env(safe-area-inset-bottom));
  background: transparent;
  border-top: 0;
  backdrop-filter: none;
}

.cafe-nav a {
  color: rgba(255, 241, 211, 0.64);
  font-size: 10px;
}

.cafe-nav a::before {
  margin-bottom: 4px;
  font-size: 15px;
}

.cafe-nav a:nth-child(1)::before {
  content: "⌂";
}

.cafe-nav a:nth-child(4)::before {
  content: "☷";
}

.cafe-nav .active {
  color: #f7dfab;
}

@media (max-height: 760px) {
  .cafe-title {
    top: 4.1%;
    width: min(90%, 400px);
    gap: 10px;
  }

  .cafe-title-text {
    font-size: clamp(15px, 4.1vw, 20px);
  }

  .neighbor-table {
    top: 27%;
  }

  .turntable-table {
    top: 43%;
  }

  .user-table {
    top: 69%;
    bottom: auto;
  }
}

/* Keep the labels aligned with the zoomed cafe objects. */
.neighbor-table em {
  bottom: 50% !important;
}

.wall-phone em {
  left: 66% !important;
  bottom: 54% !important;
}

.turntable-table em {
  left: 70% !important;
  bottom: 64% !important;
}

.user-table em {
  left: 44% !important;
  bottom: 32% !important;
}

.scene-tag {
  position: absolute;
  z-index: 2;
  display: block;
  height: auto;
  transform: translateX(-50%);
  filter: brightness(0.57) saturate(0.78);
  transition: filter 180ms ease, opacity 420ms ease;
  pointer-events: none;
}

.cafe-period-day .scene-tag {
  filter: brightness(0.57) saturate(0.82) sepia(0.28) hue-rotate(-10deg);
}

.cafe-period-sunset .scene-tag {
  filter: brightness(0.57) saturate(0.8) sepia(0.48) hue-rotate(-12deg);
}

.cafe-period-night .scene-tag {
  filter: brightness(0.51) saturate(0.72) sepia(0.62) hue-rotate(-14deg);
}

.neighbor-table .scene-tag {
  left: 46%;
  bottom: 29%;
  width: clamp(64px, 19vw, 82px);
}

.wall-phone .scene-tag {
  left: 55%;
  bottom: 31%;
  width: clamp(48px, 14vw, 62px);
}

.turntable-table .scene-tag {
  left: 49%;
  bottom: 34%;
  width: clamp(50px, 15vw, 64px);
}

.user-table .scene-tag {
  left: 46%;
  bottom: 11%;
  width: clamp(92px, 27vw, 116px);
}

.scene-object:active .scene-tag,
.scene-object:focus-visible .scene-tag {
  filter: brightness(0.75) saturate(0.82);
}

.cafe-title {
  top: calc(max(17px, env(safe-area-inset-top)) + 3px) !important;
}

.cafe-nav {
  padding-top: 3px !important;
  padding-bottom: max(23px, env(safe-area-inset-bottom)) !important;
}

.cafe-body.ambient-mode .cafe-title,
.cafe-body.ambient-mode .cafe-menu-toggle,
.cafe-body.ambient-mode .scene-object em,
.cafe-body.ambient-mode .scene-tag,
.cafe-body.ambient-mode .cafe-nav {
  opacity: 0;
  pointer-events: none;
  transition: opacity 420ms ease;
}

.cafe-title,
.scene-object em,
.cafe-nav {
  transition: opacity 420ms ease;
}

.cafe-interaction-hint {
  position: absolute;
  left: 50%;
  bottom: max(28px, calc(env(safe-area-inset-bottom) + 22px));
  z-index: 6;
  width: min(74%, 310px);
  padding: 10px 14px;
  border: 1px solid rgba(224, 194, 145, 0.16);
  border-radius: 999px;
  background: rgba(19, 12, 7, 0.58);
  color: rgba(244, 226, 195, 0.78);
  font: 500 clamp(12px, 3.2vw, 14px)/1.45 "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  text-align: center;
  letter-spacing: -0.04em;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 520ms ease, transform 520ms ease;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.cafe-interaction-hint.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.cafe-menu-modal {
  position: fixed;
  inset: 0;
  z-index: 48;
  display: none;
  align-items: flex-start;
  justify-content: flex-end;
  padding: max(54px, calc(env(safe-area-inset-top) + 44px)) 16px 16px;
}

.cafe-menu-modal.visible {
  display: flex;
}

.cafe-menu-dim {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(5, 4, 3, 0.48);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.cafe-menu-card {
  position: relative;
  z-index: 1;
  width: min(74vw, 270px);
  padding: 18px 18px 16px;
  border: 1px solid rgba(200, 164, 106, 0.2);
  border-radius: 18px;
  background: rgba(27, 18, 11, 0.9);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.42);
  color: rgba(242, 231, 213, 0.86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.cafe-menu-close {
  position: absolute;
  right: 12px;
  top: 10px;
  border: 0;
  background: transparent;
  color: rgba(242, 231, 213, 0.62);
  font: 700 12px/1 "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
}

.cafe-menu-eyebrow {
  margin: 0 0 4px;
  color: rgba(200, 164, 106, 0.72);
  font: 700 11px/1.2 "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  letter-spacing: 0.08em;
}

.cafe-menu-card h2 {
  margin: 0 0 14px;
  color: rgba(242, 231, 213, 0.86);
  font: 300 22px/1.25 Georgia, "Apple SD Gothic Neo", serif;
  letter-spacing: -0.03em;
}

.cafe-menu-card a,
.cafe-menu-link {
  display: block;
  width: 100%;
  padding: 12px 0;
  border-top: 1px solid rgba(200, 164, 106, 0.13);
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
  background: transparent;
  color: rgba(242, 231, 213, 0.78);
  font: 700 14px/1.25 "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  text-align: left;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.stranger-note-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  align-items: center;
  justify-content: center;
  padding: max(18px, env(safe-area-inset-top)) 20px max(18px, env(safe-area-inset-bottom));
}

.stranger-note-modal.visible {
  display: flex;
}

.stranger-note-dim {
  position: absolute;
  inset: 0;
  background: rgba(5, 4, 3, 0.72);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.stranger-note-card {
  position: relative;
  width: min(82vw, 360px);
  aspect-ratio: 2 / 3;
  z-index: 1;
  filter: drop-shadow(0 24px 42px rgba(0, 0, 0, 0.52));
}

.stranger-note-paper {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0.8) contrast(1.02);
  user-select: none;
  -webkit-user-drag: none;
}

.stranger-note-text {
  position: absolute;
  left: 23%;
  top: 34%;
  width: 54%;
  max-height: 28%;
  margin: 0;
  overflow: hidden;
  color: rgba(54, 34, 20, 0.82);
  font-family: Georgia, "Times New Roman", "Apple SD Gothic Neo", "Malgun Gothic", serif;
  font-size: clamp(14px, 3.6vw, 17px);
  font-weight: 700;
  line-height: 1.82;
  letter-spacing: -0.055em;
  text-align: center;
  word-break: keep-all;
  transform: rotate(-2.1deg);
  transform-origin: 50% 50%;
}

.stranger-note-action {
  position: absolute;
  top: 19%;
  z-index: 2;
  border: 0;
  background: transparent;
  color: rgba(57, 35, 20, 0.72);
  font: 800 clamp(11px, 3vw, 13px) "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  -webkit-tap-highlight-color: transparent;
}

.stranger-note-next {
  left: 18%;
}

.stranger-note-close {
  right: 20%;
}

@media (max-height: 760px) {
  .stranger-note-card {
    width: min(74vw, 310px);
  }

  .stranger-note-text {
    font-size: clamp(14px, 3.8vw, 17px);
  }
}

/* Turntable / meditation LP selector */
.vinyl-screen {
  background:
    radial-gradient(circle at 50% 44%, rgba(228, 200, 121, 0.08), transparent 42%),
    radial-gradient(circle at 74% 14%, rgba(228, 200, 121, 0.14), transparent 22%),
    radial-gradient(circle at 24% 12%, rgba(112, 139, 156, 0.14), transparent 24%),
    linear-gradient(180deg, #101827 0%, #0a111c 52%, #05070b 100%);
}

.vinyl-screen::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(110deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 8px),
    radial-gradient(circle at 18% 28%, rgba(228, 200, 121, 0.08), transparent 26%);
  mix-blend-mode: screen;
  opacity: 0.6;
}

.vinyl-header {
  margin-bottom: 12px;
}

.vinyl-header h1 {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

.vinyl-stage {
  position: relative;
  margin: 10px -18px 18px;
  padding: 10px 0 20px;
  overflow: hidden;
}

.shelf-light {
  position: absolute;
  left: 14%;
  right: 14%;
  top: 24px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(228, 200, 121, 0.16), transparent 64%);
  filter: blur(12px);
  pointer-events: none;
}

.vinyl-carousel {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding: 8px 36px 18px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.vinyl-carousel::-webkit-scrollbar {
  display: none;
}

.lp-card {
  flex: 0 0 68%;
  max-width: 280px;
  scroll-snap-align: center;
}

.lp-select {
  display: grid;
  gap: 15px;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
}

.lp-cover {
  position: relative;
  display: block;
  aspect-ratio: 1;
  border: 0;
  border-radius: 50%;
  overflow: visible;
  background: #08090c;
  box-shadow:
    0 30px 68px rgba(0, 0, 0, 0.5),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 0 22px rgba(255, 255, 255, 0.04);
}

.lp-cover::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    linear-gradient(112deg, transparent 0 43%, rgba(255, 255, 255, 0.18) 46%, transparent 52%),
    repeating-radial-gradient(circle at center, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 7px),
    radial-gradient(circle at 50% 50%, transparent 0 18%, rgba(0, 0, 0, 0.34) 19% 25%, transparent 26%);
}

.lp-cover::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 34%;
  height: 34%;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #111 0 5px, transparent 6px),
    radial-gradient(circle at 36% 34%, rgba(255, 255, 255, 0.22), transparent 18%),
    var(--lp-label, #d7b568);
  box-shadow:
    inset 0 0 0 8px rgba(0, 0, 0, 0.16),
    0 0 0 7px rgba(0, 0, 0, 0.22);
  transform: translate(-50%, -50%);
}

.lp-disc {
  position: absolute;
  inset: 7%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 26%, rgba(255, 255, 255, 0.16), transparent 12%),
    radial-gradient(circle at center, transparent 0 24%, rgba(0, 0, 0, 0.28) 25% 31%, transparent 32%),
    repeating-radial-gradient(circle at center, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 9px);
  pointer-events: none;
}

.cover-moon {
  --lp-label: linear-gradient(145deg, #f1d887, #8e6b36);
  background:
    radial-gradient(circle at 64% 25%, rgba(245, 217, 138, 0.16), transparent 16%),
    radial-gradient(circle at center, #151923 0 29%, #0b0d12 30% 100%);
}

.cover-rain {
  --lp-label: linear-gradient(145deg, #8fb8c4, #365265);
  background:
    radial-gradient(circle at 45% 28%, rgba(143, 184, 196, 0.18), transparent 18%),
    radial-gradient(circle at center, #16212a 0 29%, #080c10 30% 100%);
}

.cover-forest {
  --lp-label: linear-gradient(145deg, #9bb692, #3f5a42);
  background:
    radial-gradient(circle at 50% 24%, rgba(217, 229, 203, 0.14), transparent 20%),
    radial-gradient(circle at center, #13241f 0 29%, #070b09 30% 100%);
}

.cover-piano {
  --lp-label: linear-gradient(145deg, #c9b3d5, #58446d);
  background:
    radial-gradient(circle at 62% 36%, rgba(201, 179, 213, 0.14), transparent 16%),
    radial-gradient(circle at center, #221a2e 0 29%, #08090e 30% 100%);
}

.cover-fire {
  --lp-label: linear-gradient(145deg, #d9a050, #6d3921);
  background:
    radial-gradient(circle at 38% 56%, rgba(241, 164, 73, 0.18), transparent 18%),
    radial-gradient(circle at center, #2a1710 0 29%, #070707 30% 100%);
}

.lp-meta {
  display: grid;
  gap: 6px;
  padding: 0 4px;
}

.lp-meta small {
  color: rgba(228, 200, 121, 0.78);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.lp-meta strong {
  color: #fff5dc;
  font-size: 22px;
  letter-spacing: -0.035em;
}

.lp-meta span {
  color: rgba(246, 235, 210, 0.64);
  font-size: 13px;
  line-height: 1.45;
}

.lp-card.active .lp-cover {
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.52),
    0 0 0 1px rgba(228, 200, 121, 0.16),
    0 0 52px rgba(228, 200, 121, 0.16),
    inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  transform: translateY(-2px) scale(1.03);
}

.now-playing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
  padding: 16px;
  border: 1px solid rgba(231, 216, 176, 0.12);
  border-radius: 22px;
  background:
    radial-gradient(circle at 90% 10%, rgba(228, 200, 121, 0.12), transparent 26%),
    rgba(255, 248, 232, 0.055);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.now-playing p {
  margin-bottom: 5px;
  color: rgba(228, 200, 121, 0.72);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.now-playing h2 {
  margin-bottom: 4px;
  color: #fff5dc;
  font-size: 18px;
}

.now-playing span {
  color: rgba(246, 235, 210, 0.58);
  font-size: 13px;
}

.now-playing button {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #e4c879, #9fd8cc);
  color: #101315;
  font-size: 18px;
  font-weight: 900;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.32);
}

.lp-categories {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 84px;
  scrollbar-width: none;
}

.lp-categories::-webkit-scrollbar {
  display: none;
}

.lp-categories button {
  flex: 0 0 auto;
  padding: 9px 13px;
  border: 1px solid rgba(231, 216, 176, 0.12);
  border-radius: 999px;
  background: rgba(255, 248, 232, 0.055);
  color: rgba(246, 235, 210, 0.7);
  font: inherit;
  font-size: 12px;
  font-weight: 760;
}

.lp-categories .active {
  border-color: rgba(228, 200, 121, 0.32);
  background: rgba(228, 200, 121, 0.16);
  color: #fff5dc;
}

/* Warm illustrated pass for the turntable room. */
.vinyl-screen {
  background:
    radial-gradient(circle at 22% 12%, rgba(232, 183, 98, 0.18), transparent 26%),
    radial-gradient(circle at 78% 8%, rgba(159, 216, 204, 0.08), transparent 24%),
    radial-gradient(ellipse at 50% 68%, rgba(126, 72, 34, 0.28), transparent 44%),
    linear-gradient(180deg, #18202a 0%, #181715 48%, #080706 100%);
}

.vinyl-screen::before {
  background:
    repeating-linear-gradient(104deg, rgba(255, 246, 220, 0.026) 0 1px, transparent 1px 9px),
    radial-gradient(circle at 18% 28%, rgba(228, 166, 87, 0.12), transparent 24%),
    radial-gradient(circle at 82% 42%, rgba(228, 200, 121, 0.08), transparent 26%);
  mix-blend-mode: screen;
  opacity: 0.78;
}

.vinyl-screen::after {
  content: "";
  position: fixed;
  left: -12%;
  right: -12%;
  bottom: 70px;
  height: 34%;
  pointer-events: none;
  background:
    repeating-linear-gradient(96deg, rgba(121, 73, 37, 0.18) 0 14px, rgba(47, 27, 14, 0.2) 14px 28px),
    linear-gradient(180deg, transparent, rgba(42, 23, 12, 0.38));
  transform: perspective(420px) rotateX(58deg);
  transform-origin: bottom;
  opacity: 0.72;
}

.vinyl-header {
  position: relative;
  z-index: 2;
}

.vinyl-header .time {
  color: rgba(255, 240, 204, 0.88);
}

.vinyl-header h1 {
  color: #fff1cf;
  text-shadow: 0 8px 34px rgba(0, 0, 0, 0.42);
}

.vinyl-header p:not(.time) {
  color: rgba(255, 238, 205, 0.66);
}

.vinyl-stage {
  position: relative;
  z-index: 2;
}

.shelf-light {
  background:
    radial-gradient(ellipse at center, rgba(238, 189, 102, 0.28), transparent 62%);
  filter: blur(16px);
}

.vinyl-carousel {
  padding-top: 14px;
}

.lp-cover {
  background:
    radial-gradient(circle at 34% 26%, rgba(255, 255, 255, 0.13), transparent 12%),
    radial-gradient(circle at center, #1a1715 0 29%, #090807 30% 100%);
  box-shadow:
    0 30px 70px rgba(0, 0, 0, 0.48),
    0 14px 28px rgba(95, 51, 20, 0.18),
    inset 0 0 0 1px rgba(255, 238, 200, 0.08),
    inset 0 0 30px rgba(255, 220, 150, 0.035);
}

.lp-cover::before {
  background:
    linear-gradient(112deg, transparent 0 42%, rgba(255, 230, 184, 0.2) 46%, transparent 53%),
    repeating-radial-gradient(circle at center, rgba(255, 238, 205, 0.04) 0 1px, transparent 1px 7px),
    radial-gradient(circle at 50% 50%, transparent 0 18%, rgba(0, 0, 0, 0.32) 19% 25%, transparent 26%),
    radial-gradient(circle at 24% 78%, rgba(228, 166, 87, 0.08), transparent 26%);
}

.lp-cover::after {
  box-shadow:
    inset 0 0 0 8px rgba(78, 42, 19, 0.16),
    0 0 0 7px rgba(0, 0, 0, 0.2),
    0 0 22px rgba(228, 200, 121, 0.08);
}

.lp-disc {
  background:
    radial-gradient(circle at 31% 24%, rgba(255, 241, 210, 0.18), transparent 12%),
    radial-gradient(circle at center, transparent 0 24%, rgba(0, 0, 0, 0.28) 25% 31%, transparent 32%),
    repeating-radial-gradient(circle at center, rgba(255, 240, 210, 0.042) 0 1px, transparent 1px 9px);
}

.cover-moon {
  --lp-label: linear-gradient(145deg, #f4d891, #9b6a31);
}

.cover-rain {
  --lp-label: linear-gradient(145deg, #b8c8bb, #56705f);
  background:
    radial-gradient(circle at 44% 28%, rgba(184, 200, 187, 0.13), transparent 18%),
    radial-gradient(circle at center, #18211d 0 29%, #090807 30% 100%);
}

.cover-forest {
  --lp-label: linear-gradient(145deg, #c4bb7b, #59633a);
}

.cover-piano {
  --lp-label: linear-gradient(145deg, #d5b98b, #795133);
  background:
    radial-gradient(circle at 62% 36%, rgba(213, 185, 139, 0.14), transparent 16%),
    radial-gradient(circle at center, #211817 0 29%, #090807 30% 100%);
}

.cover-fire {
  --lp-label: linear-gradient(145deg, #edae5e, #7b3e20);
}

.lp-meta small {
  color: rgba(232, 183, 98, 0.82);
}

.lp-meta strong {
  color: #fff0cd;
}

.lp-meta span {
  color: rgba(255, 239, 211, 0.66);
}

.lp-card.active .lp-cover {
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(232, 183, 98, 0.22),
    0 0 58px rgba(232, 183, 98, 0.18),
    inset 0 0 0 1px rgba(255, 238, 200, 0.1);
}

.now-playing {
  position: relative;
  z-index: 2;
  border-color: rgba(232, 183, 98, 0.18);
  background:
    radial-gradient(circle at 86% 12%, rgba(232, 183, 98, 0.14), transparent 28%),
    linear-gradient(145deg, rgba(66, 43, 25, 0.58), rgba(22, 20, 18, 0.5));
}

.now-playing p {
  color: rgba(232, 183, 98, 0.78);
}

.now-playing h2 {
  color: #fff0cd;
}

.now-playing button {
  background: linear-gradient(135deg, #e8b762, #c9904c);
  color: #21140b;
}

.lp-categories {
  position: relative;
  z-index: 2;
}

.lp-categories button {
  border-color: rgba(232, 183, 98, 0.16);
  background: rgba(84, 52, 27, 0.26);
  color: rgba(255, 239, 211, 0.72);
}

.lp-categories .active {
  border-color: rgba(232, 183, 98, 0.34);
  background: rgba(232, 183, 98, 0.18);
  color: #fff0cd;
}

