* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; background: #2a2520; font-family: 'Nunito', sans-serif; color: #3d2f22; overflow: hidden; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
button { font-family: inherit; cursor: pointer; }
[role="button"], [role="tab"] { outline: none; }
button:focus-visible,
[role="button"]:focus-visible,
[role="tab"]:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(107, 125, 98, 0.48);
  outline-offset: 3px;
}
.phone-frame { width: 100vw; height: 100vh; max-width: 420px; margin: 0 auto; background: #fdf8f2; position: relative; overflow: hidden; }
.scr { position: absolute; inset: 0; background: #fdf8f2; opacity: 0; pointer-events: none; transition: opacity 0.4s ease, transform 0.4s ease; transform: translateY(8px); overflow-y: auto; -webkit-overflow-scrolling: touch; }
.scr::-webkit-scrollbar { display: none; }
.scr.on { opacity: 1; pointer-events: all; transform: translateY(0); }

/* COVER */
.cv { min-height: 100%; background: linear-gradient(180deg, #fffaf4 0%, #f8efe3 38%, #f0dfca 100%); background-size: 180% 180%; animation: cvBreathBg 18s ease-in-out infinite; display: flex; flex-direction: column; padding: 42px 28px 24px; position: relative; overflow: hidden; isolation: isolate; }
.cv::before { content: ''; position: absolute; top: -110px; right: -70px; width: 310px; height: 310px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 247, 232, 0.96) 0%, rgba(236, 208, 168, 0.42) 44%, transparent 74%); filter: blur(5px); z-index: 0; }
.cv::after { content: ''; position: absolute; bottom: -110px; left: -90px; width: 330px; height: 330px; border-radius: 50%; background: radial-gradient(circle, rgba(175, 140, 102, 0.20) 0%, rgba(212,191,160,0.10) 40%, transparent 74%); z-index: 0; }
@keyframes cvBreathBg { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.cv-noise { position: absolute; inset: 0; background-image: radial-gradient(rgba(92, 71, 53, 0.055) 0.6px, transparent 0.6px); background-size: 10px 10px; opacity: 0.20; mix-blend-mode: soft-light; pointer-events: none; z-index: 1; }

/* кикер — маленький тег сверху */
.cv-kicker {
  font-family: 'Playfair Display', serif; font-style: italic;
  font-size: 16px; font-weight: 600;
  color: rgba(86, 62, 42, 0.78);
  margin-bottom: 12px; position: relative; z-index: 2;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 0 rgba(255, 250, 244, 0.78);
}
.cv-kicker::before {
  content: none;
}
@keyframes cvDotPulse { 0%,100%{opacity:.5;transform:scale(.85)} 50%{opacity:1;transform:scale(1.1)} }

.cv-title { font-family: 'Playfair Display', serif; font-size: 92px; font-weight: 700; line-height: 0.84; color: #4a3520; letter-spacing: -0.04em; margin-bottom: 14px; position: relative; z-index: 2; font-style: italic; }
.cv-tag { font-family: 'Playfair Display', serif; font-style: italic; font-size: 25px; color: #563c28; margin-bottom: 14px; position: relative; z-index: 2; max-width: 324px; line-height: 1.14; text-shadow: 0 1px 0 rgba(255, 250, 244, 0.62); }
.cv-desc { font-size: 15px; color: rgba(69, 50, 34, 0.78); line-height: 1.58; max-width: 330px; position: relative; z-index: 2; font-weight: 700; margin-bottom: 0; text-shadow: 0 1px 0 rgba(255, 250, 244, 0.68); }
.deck-w { flex: 1; min-height: 240px; position: relative; margin: 18px 0 0; display: flex; align-items: center; justify-content: center; }
.cv-halo { position: absolute; left: 50%; top: 50%; width: 220px; height: 220px; transform: translate(-50%, -48%); border-radius: 50%; background: radial-gradient(circle, rgba(255,245,225,0.96) 0%, rgba(240,214,174,0.45) 34%, rgba(216,188,150,0.12) 56%, transparent 72%); filter: blur(2px); opacity: 0.95; z-index: 0; animation: cvHaloPulse 6.2s ease-in-out infinite; }
.cv-orbit { position: absolute; border-radius: 50%; border: 1px solid rgba(184, 155, 122, 0.28); pointer-events: none; }
.cv-orbit-1 { width: 250px; height: 250px; opacity: 0.48; animation: cvOrbit 18s linear infinite; }
.cv-orbit-2 { width: 310px; height: 310px; opacity: 0.20; animation: cvOrbit 24s linear reverse infinite; }
.dk { position: absolute; width: 140px; height: 188px; border-radius: 24px; padding: 16px 14px 14px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 22px 44px rgba(120,80,40,0.14); backdrop-filter: blur(12px) saturate(124%); -webkit-backdrop-filter: blur(12px) saturate(124%); transition: transform 0.28s ease, box-shadow 0.28s ease; will-change: transform; overflow: hidden; }
.dk::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255, 249, 244, 0.35), transparent 35%, transparent 100%); pointer-events: none; }
.dk .em { font-size: 28px; position: relative; z-index: 2; }
.dk .nm { font-size: 14px; font-weight: 800; line-height: 1.25; position: relative; z-index: 2; color: rgba(53, 38, 24, 0.92); text-shadow: 0 1px 0 rgba(255, 250, 244, 0.45); }
.dk .ds { font-size: 11px; opacity: 0.92; line-height: 1.4; position: relative; z-index: 2; color: rgba(66, 48, 31, 0.82); }
.dk-glow { position: absolute; width: 90px; height: 90px; border-radius: 50%; right: -22px; bottom: -18px; opacity: 0.45; }
.dk1 { background: linear-gradient(145deg, rgba(255,248,241,0.84), rgba(234,217,193,0.62)); color: #5c4735; transform: translateX(-96px) translateY(16px) rotate(-15deg); z-index: 1; border: 1px solid rgba(224,207,181,0.82); animation: fan1 1.05s cubic-bezier(0.22, 1, 0.36, 1) both, drift1 6.5s ease-in-out 1s infinite; }
.dk1 .dk-glow { background: radial-gradient(circle, rgba(255, 250, 244, 0.95) 0%, rgba(212, 191, 160, 0.22) 62%, transparent 72%); }
.dk2 { background: linear-gradient(145deg, rgba(244,232,213,0.9), rgba(212,191,160,0.7)); color: #4a3825; transform: translateX(0) translateY(-14px) rotate(-2deg) scale(1.03); z-index: 3; border: 1px solid rgba(201,178,145,0.82); animation: fan2 1.1s cubic-bezier(0.22, 1, 0.36, 1) both, drift2 5.8s ease-in-out 1.08s infinite; }
.dk2 .dk-glow { background: radial-gradient(circle, rgba(255, 244, 228, 0.9) 0%, rgba(184, 155, 122, 0.22) 64%, transparent 74%); }
.dk3 { background: linear-gradient(145deg, rgba(224,204,174,0.82), rgba(184,155,122,0.72)); color: #3d2f22; transform: translateX(96px) translateY(18px) rotate(13deg); z-index: 2; border: 1px solid rgba(168,138,104,0.78); animation: fan3 1.08s cubic-bezier(0.22, 1, 0.36, 1) both, drift3 6.6s ease-in-out 1.16s infinite; }
.dk3 .dk-glow { background: radial-gradient(circle, rgba(255, 247, 239, 0.7) 0%, rgba(92, 71, 53, 0.12) 62%, transparent 72%); }
@keyframes fan1 { from { transform: translateX(-24px) translateY(42px) rotate(-4deg) scale(0.9); opacity: 0; } to { transform: translateX(-96px) translateY(16px) rotate(-15deg) scale(1); opacity: 1; } }
@keyframes fan2 { from { transform: translateX(0) translateY(36px) rotate(0deg) scale(0.9); opacity: 0; } to { transform: translateX(0) translateY(-14px) rotate(-2deg) scale(1.03); opacity: 1; } }
@keyframes fan3 { from { transform: translateX(24px) translateY(42px) rotate(4deg) scale(0.9); opacity: 0; } to { transform: translateX(96px) translateY(18px) rotate(13deg) scale(1); opacity: 1; } }
.cv-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; position: relative; z-index: 2; color: #7d6350; }
.cv-meta-item { font-size: 11px; letter-spacing: 0.05em; text-transform: uppercase; font-weight: 700; }
.cv-meta-sep { width: 20px; height: 1px; background: linear-gradient(90deg, rgba(184,155,122,0), rgba(184,155,122,0.7), rgba(184,155,122,0)); }
@keyframes drift1 { 0%,100% { transform: translateX(-96px) translateY(16px) rotate(-15deg); } 50% { transform: translateX(-102px) translateY(6px) rotate(-17deg); } }
@keyframes drift2 { 0%,100% { transform: translateX(0) translateY(-14px) rotate(-2deg) scale(1.03); } 50% { transform: translateX(0) translateY(-24px) rotate(0deg) scale(1.055); } }
@keyframes drift3 { 0%,100% { transform: translateX(96px) translateY(18px) rotate(13deg); } 50% { transform: translateX(102px) translateY(8px) rotate(15deg); } }
@keyframes cvOrbit { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes cvHaloPulse { 0%,100% { transform: translate(-50%, -48%) scale(0.96); opacity: 0.82; } 50% { transform: translate(-50%, -48%) scale(1.04); opacity: 1; } }
@keyframes cvFloatB { 0%, 100% { transform: translateY(0) rotate(4deg); } 50% { transform: translateY(7px) rotate(1deg); } }
.dk:hover { box-shadow: 0 28px 52px rgba(120,80,40,0.18); }
.dk1:hover { transform: translateX(-102px) translateY(10px) rotate(-16deg); }
.dk2:hover { transform: translateX(0) translateY(-24px) rotate(-1deg) scale(1.055); }
.dk3:hover { transform: translateX(102px) translateY(12px) rotate(14deg); }
/* кнопка — светлая, тёплая, притягивающая */
.cv-btn {
  padding: 0 24px;
  height: 62px;
  border-radius: 20px; border: none;
  font-size: 16px; font-weight: 800;
  background: linear-gradient(160deg, #fdf5e8 0%, #f5e4c4 50%, #ecd6ac 100%);
  color: #4a3218;
  box-shadow:
    0 18px 44px rgba(160,110,50,0.22),
    0 4px 12px rgba(160,110,50,0.12),
    inset 0 1px 0 rgba(255,255,255,0.72),
    inset 0 -1px 0 rgba(180,130,70,0.18);
  position: relative; z-index: 2;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  overflow: hidden;
  margin-top: 0;
  width: 100%;
}
.cv-btn::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.28) 0%, transparent 55%);
  pointer-events: none; border-radius: inherit;
}
.cv-btn::after {
  content: '';
  position: absolute; left: 0; right: 0; top: 0; bottom: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.22) 50%, transparent 100%);
  transform: translateX(-100%);
  animation: cvShimmer 3.8s ease-in-out infinite 1.2s;
  pointer-events: none;
}
@keyframes cvShimmer { 0%{transform:translateX(-100%)} 100%{transform:translateX(200%)} }
.cv-btn span { position: relative; z-index: 1; }
.cv-btn-arr { font-size: 17px; transform: translateY(-1px); }
.cv-btn:hover { transform: translateY(-2px); box-shadow: 0 24px 54px rgba(160,110,50,0.28), inset 0 1px 0 rgba(255,255,255,0.8); }
.cv-btn:active { transform: scale(0.97); }

.cv-sub { margin-top: 12px; text-align: center; font-size: 13px; font-weight: 800; letter-spacing: 0.035em; color: rgba(82, 59, 39, 0.62); position: relative; z-index: 2; text-shadow: 0 1px 0 rgba(255, 250, 244, 0.7); }
.cv-foot { margin-top: 12px; font-family: 'Playfair Display', serif; font-style: italic; font-size: 19px; line-height: 1.22; color: rgba(82, 59, 39, 0.66); max-width: 320px; position: relative; z-index: 2; text-align: center; align-self: center; text-shadow: 0 1px 0 rgba(255, 250, 244, 0.72); }

@media (max-width: 380px) {
  .cv { padding: 38px 22px 22px; }
  .cv-kicker { font-size: 16px; }
  .cv-title { font-size: 78px; }
  .cv-tag { font-size: 22px; max-width: 278px; }
  .cv-desc { max-width: 292px; font-size: 14.5px; line-height: 1.56; }
  .deck-w { min-height: 230px; margin: 16px 0 0; }
  .cv-halo { width: 190px; height: 190px; }
  .dk { width: 126px; height: 170px; border-radius: 22px; }
  .dk1 { transform: translateX(-78px) translateY(14px) rotate(-15deg); }
  .dk2 { transform: translateX(0) translateY(-10px) rotate(-2deg) scale(1.02); }
  .dk3 { transform: translateX(78px) translateY(16px) rotate(13deg); }
  .cv-foot { font-size: 18px; }
  @keyframes drift1 { 0%,100% { transform: translateX(-78px) translateY(14px) rotate(-15deg); } 50% { transform: translateX(-84px) translateY(7px) rotate(-16deg); } }
  @keyframes drift2 { 0%,100% { transform: translateX(0) translateY(-10px) rotate(-2deg) scale(1.02); } 50% { transform: translateX(0) translateY(-18px) rotate(0deg) scale(1.04); } }
  @keyframes drift3 { 0%,100% { transform: translateX(78px) translateY(16px) rotate(13deg); } 50% { transform: translateX(84px) translateY(8px) rotate(14deg); } }
}

/* MOOD */
.mood-wrap { min-height: 100%; padding: 52px 22px 20px; background: radial-gradient(circle at 50% 0%, rgba(255, 247, 232, 0.96), transparent 35%), linear-gradient(180deg, #fffaf4 0%, #f2e4d2 100%); display: flex; flex-direction: column; position: relative; overflow: hidden; }
.mood-wrap::before { content: ''; position: absolute; top: -70px; right: -90px; width: 250px; height: 250px; border-radius: 50%; background: radial-gradient(circle, rgba(213, 189, 154, 0.32), transparent 70%); pointer-events: none; }
.mood-wrap::after { content: ''; position: absolute; left: -80px; bottom: -90px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(107, 125, 98, 0.16), transparent 72%); pointer-events: none; }
.mood-kicker { position: relative; z-index: 1; font-family: 'Playfair Display', serif; font-size: 16px; font-style: italic; font-weight: 600; color: rgba(112, 82, 54, 0.68); margin-bottom: 8px; letter-spacing: 0; text-transform: none; }
.mood-q { font-family: 'Playfair Display',serif; font-size: 35px; font-weight: 700; color: #4a3520; line-height: 1.08; text-align: left; margin-bottom: 8px; position: relative; z-index: 1; letter-spacing: 0; max-width: 310px; }
.mood-q em { font-style: italic; color: #8a6e52; }
.mood-s { font-size: 14px; color: rgba(82, 59, 39, 0.72); text-align: left; margin-bottom: 22px; font-weight: 800; line-height: 1.45; position: relative; z-index: 1; max-width: 310px; }
.mood-quiz { display: flex; flex-direction: column; gap: 12px; position: relative; z-index: 1; }
.mood-step { background: rgba(255, 253, 249, 0.62); border: 1.5px solid rgba(222, 203, 176, 0.86); border-radius: 20px; padding: 14px; box-shadow: 0 10px 24px rgba(92, 62, 32, 0.055), inset 0 1px 0 rgba(255,255,255,0.76); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.mood-step-k { font-size: 12px; font-weight: 900; letter-spacing: 0.06em; text-transform: uppercase; color: rgba(92, 71, 53, 0.58); margin-bottom: 11px; }
.mood-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.mood-choice { border: 1.5px solid rgba(205, 181, 149, 0.92); border-radius: 999px; background: rgba(255, 250, 244, 0.82); color: #5c4735; padding: 10px 13px; font-size: 13.5px; font-weight: 900; line-height: 1.15; box-shadow: inset 0 1px 0 rgba(255,255,255,0.82); transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.14s, box-shadow 0.18s; }
.mood-choice:active { transform: scale(0.97); }
.mood-choice.selected { background: linear-gradient(135deg, #5c4735, #8a6e52); border-color: transparent; color: #fff9f4; box-shadow: 0 6px 16px rgba(90, 55, 25, 0.18); }
.mood-pills-two .mood-choice { flex: 1 1 calc(50% - 8px); }
.mood-pills-time .mood-choice { flex: 1; }
.mood-next { width: 100%; min-height: 56px; margin-top: 16px; border: none; border-radius: 18px; background: linear-gradient(135deg, #5c4735, #8a6e52); color: #fff9f4; font-size: 15px; font-weight: 900; box-shadow: 0 14px 32px rgba(90,55,25,0.2), inset 0 1px 0 rgba(255,255,255,0.18); position: relative; z-index: 1; transition: opacity 0.18s, transform 0.14s; }
.mood-next:disabled { opacity: 0.42; cursor: default; box-shadow: none; }
.mood-next:not(:disabled):active { transform: scale(0.985); }
.mood-skip { text-align: center; color: #6a5140; font-size: 14px; font-weight: 900; cursor: pointer; padding: 12px 16px; margin-top: 8px; border-radius: 16px; background: transparent; border: none; text-decoration: none; position: relative; z-index: 1; }

@media (max-width: 380px) {
  .mood-wrap { padding: 38px 18px 18px; }
  .mood-kicker { font-size: 15px; margin-bottom: 7px; }
  .mood-q { font-size: 31px; max-width: 270px; margin-bottom: 8px; }
  .mood-s { font-size: 14px; margin-bottom: 14px; }
  .mood-quiz { gap: 9px; }
  .mood-step { padding: 12px; border-radius: 18px; }
  .mood-step-k { font-size: 11px; margin-bottom: 9px; }
  .mood-choice { font-size: 13px; padding: 9px 11px; }
  .mood-next { min-height: 52px; margin-top: 12px; }
  .mood-skip { padding: 12px 16px; }
}

/* TOPBAR */
.topbar { display: flex; align-items: center; gap: 12px; padding: 56px 24px 12px; }
.back { width: 36px; height: 36px; border-radius: 50%; background: #f9f3ea; border: 1.5px solid #e8d9c4; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 18px; color: #8a6e52; line-height: 1; padding-bottom: 2px; }
.back:active { background: #e8d9c4; }
.tb-title { font-family: 'Playfair Display',serif; font-size: 20px; color: #5c4735; flex: 1; }
.tb-greet { display: flex; align-items: center; gap: 8px; }
.tb-greet-ico { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; font-size: 20px; line-height: 1; transform-origin: 50% 60%; }
.tb-greet-ico.sunrise { animation: greetSun 3.8s ease-in-out infinite; }
.tb-greet-ico.day { animation: greetLeaf 3.8s ease-in-out infinite; }
.tb-greet-ico.evening { animation: greetEvening 4.2s ease-in-out infinite; }
.tb-greet-ico.night { animation: greetMoon 4.6s ease-in-out infinite; }
@keyframes greetSun {
  0%,100% { transform: translateY(0) scale(1) rotate(0deg); filter: drop-shadow(0 0 0 rgba(247,191,71,0)); }
  50% { transform: translateY(-1px) scale(1.08) rotate(4deg); filter: drop-shadow(0 0 10px rgba(247,191,71,0.28)); }
}
@keyframes greetLeaf {
  0%,100% { transform: rotate(-4deg) scale(1); filter: drop-shadow(0 0 0 rgba(135,160,107,0)); }
  50% { transform: rotate(7deg) scale(1.04); filter: drop-shadow(0 0 8px rgba(135,160,107,0.2)); }
}
@keyframes greetEvening {
  0%,100% { transform: translateY(0) rotate(-3deg) scale(1); filter: drop-shadow(0 0 0 rgba(233,148,94,0)); }
  50% { transform: translateY(-2px) rotate(5deg) scale(1.05); filter: drop-shadow(0 0 10px rgba(233,148,94,0.24)); }
}
@keyframes greetMoon {
  0%,100% { transform: translateY(0) rotate(-6deg) scale(1); filter: drop-shadow(0 0 0 rgba(132,145,197,0)); }
  50% { transform: translateY(-2px) rotate(4deg) scale(1.05); filter: drop-shadow(0 0 10px rgba(132,145,197,0.24)); }
}
.tb-icon { width: 36px; height: 36px; border-radius: 50%; background: #f9f3ea; border: 1.5px solid #e8d9c4; display: flex; align-items: center; justify-content: center; font-size: 16px; color: #8a6e52; cursor: pointer; }

/* HOME */
.home-wrap { padding: 8px 20px 90px; }
.hero-30 { background: linear-gradient(145deg, #f7efe4 0%, #ebdcc9 56%, #ddc4a8 100%); border-radius: 22px; padding: 22px 20px; margin-bottom: 18px; position: relative; overflow: hidden; cursor: pointer; transition: transform 0.18s; border: 1px solid rgba(210, 184, 152, 0.9); box-shadow: 0 10px 30px rgba(92, 62, 32, 0.09), inset 0 1px 0 rgba(255,255,255,0.76); }
.hero-30:active { transform: scale(0.98); }
.hero-30::before { content: ''; position: absolute; top: -42px; right: -30px; width: 170px; height: 170px; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,0.72), rgba(224,195,160,0.30) 48%, transparent 72%); }
.hero-30::after { content: ''; position: absolute; bottom: -70px; left: -26px; width: 150px; height: 150px; border-radius: 50%; background: radial-gradient(circle, rgba(182,145,106,0.14), transparent 72%); }
.hero-30-tag { display: inline-block; background: rgba(255,250,244,0.46); color: #7f5f42; font-size: 10px; padding: 4px 10px; border-radius: 20px; margin-bottom: 10px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 700; position: relative; z-index: 2; border: 1px solid rgba(190, 159, 126, 0.42); }
.hero-30-title { font-family: 'Playfair Display',serif; font-size: 26px; color: #4f3928; line-height: 1.15; margin-bottom: 8px; font-style: italic; position: relative; z-index: 2; }
.hero-30-desc { font-size: 12.5px; color: rgba(88, 64, 45, 0.76); line-height: 1.55; margin-bottom: 14px; position: relative; z-index: 2; max-width: 260px; }
.hero-30-progress { display: flex; align-items: center; gap: 10px; position: relative; z-index: 2; }
.hero-30-bar { flex: 1; height: 6px; background: rgba(166, 132, 96, 0.18); border-radius: 999px; overflow: hidden; box-shadow: inset 0 1px 2px rgba(122, 92, 62, 0.08); }
.hero-30-fill { height: 100%; background: linear-gradient(90deg, #d3ad82, #b9895d); border-radius: 999px; transition: width 0.6s; }
.hero-30-day { font-size: 11px; color: #7f5f42; font-weight: 700; white-space: nowrap; }

.home-flow { display: flex; flex-direction: column; gap: 14px; margin-bottom: 24px; }
.home-band { padding: 0 2px; }
.home-band-head { display: flex; flex-direction: column; gap: 2px; margin-bottom: 10px; }
.home-band-k { font-size: 10px; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(122, 96, 72, 0.52); }
.home-band-title { font-family: 'Playfair Display', serif; font-size: 18px; line-height: 1.12; color: #4f3928; }
.home-band-sub { font-size: 12.5px; line-height: 1.45; color: rgba(122, 88, 61, 0.72); margin-bottom: 12px; }

.quick-pick { width: 100%; border: 1.5px solid rgba(232, 217, 196, 0.92); border-radius: 18px; background: linear-gradient(135deg, rgba(255,253,249,0.92), rgba(246,236,220,0.86)); padding: 14px 14px; margin: 0; display: flex; align-items: center; gap: 13px; text-align: left; color: #5c4735; box-shadow: 0 8px 24px rgba(92, 62, 32, 0.06), inset 0 1px 0 rgba(255,255,255,0.78); transition: transform 0.15s, box-shadow 0.2s, border-color 0.2s; }
.quick-pick:active { transform: scale(0.985); border-color: rgba(184, 155, 122, 0.9); box-shadow: 0 10px 28px rgba(92, 62, 32, 0.1), inset 0 1px 0 rgba(255,255,255,0.82); }
.quick-pick-ico { width: 42px; height: 42px; border-radius: 14px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: linear-gradient(145deg, rgba(247,239,226,0.96), rgba(239,228,209,0.92)); color: #5c4735; font-size: 22px; box-shadow: inset 0 1px 0 rgba(255,255,255,0.62); }
.quick-pick-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.quick-pick-k { font-size: 11px; font-weight: 800; letter-spacing: 0; text-transform: none; color: rgba(122, 96, 72, 0.58); line-height: 1.25; }
.quick-pick-title { font-family: 'Playfair Display', serif; font-size: 19px; font-weight: 700; color: #4f3928; line-height: 1.15; }
.quick-pick-desc { font-size: 12.5px; font-weight: 700; color: rgba(122, 88, 61, 0.72); line-height: 1.35; }
.quick-pick-arr { color: #b89b7a; font-size: 22px; line-height: 1; padding-bottom: 2px; }

.all-sections { width: 100%; border: 1.5px solid rgba(232, 217, 196, 0.92); border-radius: 18px; background: linear-gradient(135deg, rgba(255,253,249,0.92), rgba(244,238,228,0.88)); padding: 14px 14px; display: flex; align-items: center; gap: 13px; text-align: left; color: #5c4735; box-shadow: 0 8px 24px rgba(92, 62, 32, 0.05), inset 0 1px 0 rgba(255,255,255,0.78); transition: transform 0.15s, box-shadow 0.2s, border-color 0.2s; }
.all-sections:active { transform: scale(0.985); border-color: rgba(184, 155, 122, 0.9); box-shadow: 0 10px 28px rgba(92, 62, 32, 0.08), inset 0 1px 0 rgba(255,255,255,0.82); }
.all-sections-ico { width: 42px; height: 42px; border-radius: 14px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; background: linear-gradient(145deg, #f1e5d3, #e2d0b4); color: #5c4735; font-size: 18px; box-shadow: inset 0 1px 0 rgba(255,255,255,0.55); }
.all-sections-text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.all-sections-k { font-size: 11px; font-weight: 800; color: rgba(122, 96, 72, 0.58); line-height: 1.25; }
.all-sections-title { font-family: 'Playfair Display', serif; font-size: 19px; font-weight: 700; color: #4f3928; line-height: 1.15; }
.all-sections-desc { font-size: 12.5px; font-weight: 700; color: rgba(122, 88, 61, 0.72); line-height: 1.35; }
.all-sections-arr { color: #b89b7a; font-size: 22px; line-height: 1; padding-bottom: 2px; transition: transform 0.2s ease; }
.all-sections.open .all-sections-arr { transform: rotate(180deg); }
.home-sections-panel { max-height: 0; overflow: hidden; opacity: 0; transition: max-height 0.32s ease, opacity 0.22s ease, margin-top 0.22s ease; margin-top: 0; }
.home-sections-panel.open { max-height: 860px; opacity: 1; margin-top: 12px; }
.home-sections-panel #home-sec-list { padding: 4px 0 0; }

.home-h2 { font-family: 'Playfair Display',serif; font-size: 19px; color: #5c4735; margin: 0 0 6px; padding: 0 2px; }
.home-h2-sub { font-size: 12.5px; color: #9a7d62; margin-bottom: 14px; padding: 0 2px; font-weight: 500; line-height: 1.45; max-width: 320px; }
.sounds-row { display: flex; gap: 10px; overflow-x: auto; padding: 4px 2px 6px; margin: 0; -webkit-overflow-scrolling: touch; }
.sounds-row::-webkit-scrollbar { display: none; }
.sounds-grid { display: flex; gap: 10px; overflow-x: auto; overflow-y: visible; margin: 0; padding: 0; }
.sound-c { flex: 0 0 76px; width: 76px; height: 76px; background: linear-gradient(145deg, rgba(255,253,249,0.98), rgba(245,236,223,0.9)); border: 1.5px solid rgba(232,217,196,0.92); border-radius: 17px; padding: 7px 5px; text-align: center; cursor: pointer; transition: transform 0.18s, box-shadow 0.22s, border-color 0.2s, background 0.2s; position: relative; min-width: 76px; min-height: 76px; display: flex; flex-direction: column; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(92, 62, 32, 0.05), inset 0 1px 0 rgba(255,255,255,0.78); }
.sound-c:active { transform: scale(0.98); }
.sound-c.playing { background: linear-gradient(145deg, #d8c3a6, #b99674); border-color: #8a6e52; box-shadow: 0 10px 28px rgba(92, 62, 32, 0.13), inset 0 1px 0 rgba(255,255,255,0.18); }
.sound-c.playing .sound-l { color: #fff9f4; }
.sound-c.playing::after { content: 'играет'; position: absolute; top: 6px; right: 6px; color: rgba(255,249,244,0.92); font-size: 6px; line-height: 1; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; animation: pulse 1.5s infinite; }
@keyframes pulse { 50% { opacity: 0.4; } }
.sound-em { font-size: 20px; margin-bottom: 4px; display: block; }
.sound-icon { width: 34px; height: 34px; margin: 0 auto 6px; border-radius: 12px; display: flex; align-items: center; justify-content: center; background: linear-gradient(145deg, rgba(247,239,226,0.96), rgba(239,228,209,0.9)); box-shadow: inset 0 1px 0 rgba(255,255,255,0.78); }
.sound-l { font-size: 10px; font-weight: 650; color: #5b4432; line-height: 1.1; margin-bottom: 0; }

/* SECTIONS */
.sec-list { padding: 8px 16px 90px; }
.practice-tabs { display: flex; flex-wrap: nowrap; gap: 8px; overflow-x: auto; -webkit-overflow-scrolling: touch; padding: 4px 2px 14px; margin: 0 -4px 4px; scrollbar-width: none; }
.practice-tabs::-webkit-scrollbar { display: none; }
.practice-tab { flex-shrink: 0; border: 1.5px solid #e8d9c4; background: #fffdf9; color: #7a6050; font-family: 'Nunito', sans-serif; font-size: 13px; font-weight: 600; padding: 10px 16px; border-radius: 999px; cursor: pointer; transition: background 0.2s, border-color 0.2s, color 0.2s; }
.practice-tab.on { background: linear-gradient(135deg, #5c4735, #8a6e52); border-color: transparent; color: #fff9f4; box-shadow: 0 3px 12px rgba(90, 55, 25, 0.18); }
.practice-panel { margin-top: 0; }
.practice-empty { text-align: center; font-size: 13px; color: #a08070; font-style: italic; padding: 28px 16px; line-height: 1.5; }
.greet { font-size: 13px; color: #a08070; margin-bottom: 16px; padding-left: 4px; }
.sc { background: #fffdf9; border-radius: 16px; padding: 14px 16px; margin-bottom: 0; display: flex; align-items: center; gap: 14px; cursor: pointer; border: 1px solid rgba(232, 217, 196, 0.85); transition: transform 0.18s, box-shadow 0.2s; box-shadow: 0 1px 0 rgba(255, 249, 244, 0.9) inset; }
.sc:active { transform: scale(0.99); }
.sc-i { width: 46px; height: 46px; border-radius: 14px; background: linear-gradient(145deg, rgba(247,239,226,0.96), rgba(239,228,209,0.9)); display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; box-shadow: 0 2px 8px rgba(90, 55, 25, 0.06); }
.sc-info { flex: 1; }
.sc-n { font-size: 15px; font-weight: 600; color: #5c4735; margin-bottom: 3px; letter-spacing: -0.02em; }
.sc-d { font-size: 12px; color: #7a6050; font-weight: 300; line-height: 1.4; }
.sc-arr { color: #b89b7a; font-size: 18px; opacity: 0.9; }

/* SECTION GROUPS — один визуальный «ярус» на блок */
.sec-group { margin-bottom: 24px; }
.sec-panel { background: linear-gradient(165deg, #fffdf9 0%, #f9f3ea 100%); border-radius: 22px; padding: 14px 12px 12px; border: 1px solid #e8d9c4; box-shadow: 0 4px 20px rgba(90, 55, 25, 0.06); }
.sec-group-head { display: flex; align-items: flex-start; gap: 12px; padding: 4px 6px 14px; margin-bottom: 4px; border-bottom: 1px solid rgba(232, 217, 196, 0.75); }
.sec-group-num { flex-shrink: 0; width: 36px; height: 36px; border-radius: 12px; background: linear-gradient(135deg, #5c4735, #8a6e52); color: #fff9f4; font-family: 'Playfair Display', serif; font-size: 17px; font-weight: 600; display: flex; align-items: center; justify-content: center; line-height: 1; box-shadow: 0 3px 10px rgba(90, 55, 25, 0.2); }
.sec-group-text { flex: 1; min-width: 0; }
.sec-group-title { font-family: 'Playfair Display', serif; font-size: 17px; font-weight: 600; color: #5c4735; letter-spacing: -0.02em; line-height: 1.2; }
.sec-group-sub { font-size: 11px; color: #8a7260; font-weight: 300; line-height: 1.5; margin-top: 5px; }
.sec-panel-rows { display: flex; flex-direction: column; gap: 8px; padding-top: 4px; }
.sec-lead { font-size: 12px; color: #7a6050; line-height: 1.55; padding: 0 6px 18px; font-weight: 300; max-width: 340px; border-left: 3px solid #d4bfa0; padding-left: 12px; margin-left: 4px; }

/* CARDS */
.cg-wrap { padding: 8px 14px 90px; }
.cg-softbar { display: flex; justify-content: center; gap: 10px; padding: 12px 0 6px; margin-bottom: 10px; }
.cg-soft-dot { width: 5px; height: 5px; border-radius: 50%; background: #c9b496; opacity: 0.5; }
.cg-h { font-family: 'Playfair Display',serif; font-size: 24px; color: #5c4735; margin-bottom: 6px; padding: 0 4px; letter-spacing: -0.02em; }
.cg-s { font-size: 13px; color: #7a6050; margin-bottom: 18px; padding: 0 4px; font-weight: 300; line-height: 1.55; max-width: 340px; }
.cg-lead { display: none; margin: 0 0 18px; padding: 16px 4px 0; border-top: 1px solid rgba(218, 196, 166, 0.46); font-family: 'Playfair Display', serif; font-size: 15.5px; font-style: italic; line-height: 1.48; color: rgba(111, 88, 70, 0.62); }
.cg-lead.on { display: block; }
.card-grid { display: flex; flex-direction: column; gap: 12px; }
.card-grid.anxiety-final {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding-bottom: 22px;
}
.anxiety-card {
  position: relative;
  aspect-ratio: 3 / 4.05;
  border: 1px solid rgba(213, 193, 164, 0.58);
  border-radius: 18px;
  padding: 13px 10px 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 1px 3px rgba(80,55,25,0.06), 0 4px 18px rgba(80,55,25,0.07), inset 0 1px 0 rgba(255,255,255,0.74);
  background: var(--card-bg);
  color: var(--ink);
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.22s ease;
}
.anxiety-card:active { transform: scale(0.965); }
.anxiety-card::before {
  content: '';
  position: absolute;
  inset: -36px -34px auto auto;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.46) 0%, var(--wash) 54%, transparent 72%);
}
.anxiety-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.28), transparent 45%);
  pointer-events: none;
}
.anxiety-icon {
  width: 24px;
  height: 24px;
  margin-bottom: 8px;
  color: var(--accent);
  position: relative;
  z-index: 1;
}
.anxiety-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.anxiety-icon-emoji { display: grid; place-items: center; color: inherit; }
.anxiety-icon-emoji span { font-size: 22px; line-height: 1; filter: saturate(0.96); }
.anxiety-badge {
  position: absolute;
  top: 9px;
  right: 9px;
  z-index: 2;
  max-width: calc(100% - 48px);
  min-height: 17px;
  padding: 3px 7px;
  border-radius: 8px;
  background: rgba(255,255,255,0.55);
  color: var(--accent);
  font-size: 7.6px;
  line-height: 1.05;
  font-weight: 900;
  white-space: nowrap;
  overflow: hidden;
}
.anxiety-name {
  position: relative;
  z-index: 1;
  font-family: 'Playfair Display', serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.22;
  margin-bottom: 8px;
  flex: 1;
  color: var(--ink);
}
.anxiety-whisper {
  position: relative;
  z-index: 1;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 10.5px;
  font-weight: 500;
  line-height: 1.48;
  color: color-mix(in srgb, var(--ink) 72%, #fff 28%);
}
.anxiety-foot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 8px;
}
.anxiety-time {
  min-width: 0;
  height: 21px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 8px;
  background: var(--pill);
  color: var(--pill-ink);
  font-size: 9px;
  font-weight: 900;
  white-space: nowrap;
}
.anxiety-arr { color: color-mix(in srgb, var(--accent) 54%, #fff 46%); font-size: 12px; line-height: 1; }
.tone-sage { --card-bg: linear-gradient(148deg, #f6f1e5, #efe5d3); --wash: rgba(229,196,154,0.26); --ink: #473825; --accent: #9a8560; --pill: rgba(160,132,92,0.14); --pill-ink: #7e6744; }
.tone-lavender { --card-bg: linear-gradient(148deg, #f7efea, #efdfd6); --wash: rgba(228,192,164,0.24); --ink: #4b342d; --accent: #b18778; --pill: rgba(177,135,120,0.14); --pill-ink: #92695c; }
.tone-honey { --card-bg: linear-gradient(148deg, #faf3e7, #f2e5d1); --wash: rgba(232,196,150,0.28); --ink: #4a3820; --accent: #b28b56; --pill: rgba(176,136,86,0.14); --pill-ink: #876639; }
.tone-peach { --card-bg: linear-gradient(148deg, #f8ede3, #f1decf); --wash: rgba(230,190,156,0.26); --ink: #4a3121; --accent: #bc8465; --pill: rgba(188,132,101,0.14); --pill-ink: #986448; }
.tone-rose { --card-bg: linear-gradient(148deg, #f7eeea, #f0dfd6); --wash: rgba(225,186,166,0.24); --ink: #493230; --accent: #b27d74; --pill: rgba(178,125,116,0.14); --pill-ink: #935f57; }
.tone-butter { --card-bg: linear-gradient(148deg, #f8f0e2, #f0e2ca); --wash: rgba(232,198,154,0.28); --ink: #46351f; --accent: #a9875e; --pill: rgba(169,135,94,0.14); --pill-ink: #856642; }
.cd { border-radius: 20px; cursor: pointer; position: relative; overflow: hidden; transition: transform 0.2s ease, box-shadow 0.25s ease; border: 1px solid rgba(232, 217, 196, 0.9); box-shadow: 0 3px 16px rgba(90, 55, 25, 0.07); }
@keyframes cdCardIn { from { opacity: 0; transform: translateY(12px) scale(0.99); } to { opacity: 1; transform: none; } }
.cd:hover { box-shadow: 0 6px 22px rgba(90, 55, 25, 0.1); }
.cd:active { transform: scale(0.988); }
.cd.cd-row { padding: 0; display: block; animation: cdCardIn 0.48s cubic-bezier(0.22, 1, 0.36, 1) backwards; animation-delay: calc(var(--cd-i, 0) * 0.05s); }
.cd-accent { position: absolute; left: 0; top: 14px; bottom: 14px; width: 4px; border-radius: 0 4px 4px 0; z-index: 3; opacity: 0.95; }
.cd-var-0 .cd-accent { background: linear-gradient(180deg, #8a6e52, #b89b7a); }
.cd-var-1 .cd-accent { background: linear-gradient(180deg, #6b7d62, #9aab8f); }
.cd-var-2 .cd-accent { background: linear-gradient(180deg, #a67c52, #d4bfa0); }
.cd-row-inner { display: flex; align-items: center; gap: 12px; padding: 15px 14px 15px 16px; position: relative; z-index: 2; }
.cd-icon-stack { display: flex; flex-direction: column; align-items: center; gap: 8px; flex-shrink: 0; }
.cd-icon-wrap { width: 52px; height: 52px; border-radius: 16px; background: rgba(255, 249, 244, 0.55); display: flex; align-items: center; justify-content: center; flex-shrink: 0; border: 1px solid rgba(232, 217, 196, 0.65); box-shadow: 0 2px 10px rgba(90, 55, 25, 0.06); }
.cd-micro { min-height: 26px; display: flex; align-items: center; justify-content: center; gap: 5px; }
.cd-micro-breath span { width: 6px; height: 6px; border-radius: 50%; background: #8a6e52; opacity: 0.55; animation: cdBreathDot 2.2s ease-in-out infinite; }
.cd-micro-breath span:nth-child(2) { animation-delay: 0.25s; }
.cd-micro-breath span:nth-child(3) { animation-delay: 0.5s; }
.cd-micro-breath span:nth-child(4) { animation-delay: 0.75s; }
.cd-deep .cd-micro-breath span, .cd-warm .cd-micro-breath span { background: rgba(255, 249, 244, 0.75); }
@keyframes cdBreathDot { 0%, 100% { transform: scale(0.65); opacity: 0.3; } 45% { transform: scale(1.1); opacity: 1; } }
.cd-micro-timer .cmt-ring { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #8a6e52; border-right-color: transparent; opacity: 0.75; animation: cdRingSpin 1.6s linear infinite; }
.cd-deep .cd-micro-timer .cmt-ring, .cd-warm .cd-micro-timer .cmt-ring { border-color: rgba(255, 249, 244, 0.55); border-right-color: transparent; }
@keyframes cdRingSpin { to { transform: rotate(360deg); } }
.cd-micro-paper { flex-direction: column; gap: 4px; }
.cd-micro-paper i { display: block; width: 22px; height: 3px; background: rgba(92, 71, 53, 0.22); border-radius: 2px; }
.cd-deep .cd-micro-paper i, .cd-warm .cd-micro-paper i { background: rgba(255, 249, 244, 0.35); }
.cd-micro-anchor b { font-size: 9px; font-weight: 700; opacity: 0.45; width: 12px; text-align: center; color: inherit; }
.cd-deep .cd-micro-anchor b, .cd-warm .cd-micro-anchor b { opacity: 0.55; }
.cd-micro-heartpulse .cmh { font-size: 13px; line-height: 1; animation: cdHeartPulse 1.35s ease-in-out infinite; }
@keyframes cdHeartPulse { 0%, 100% { transform: scale(1); opacity: 0.75; } 50% { transform: scale(1.12); opacity: 1; } }
.cd-micro-glimmer { gap: 6px; }
.cd-micro-glimmer span { width: 12px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, transparent, rgba(138, 110, 82, 0.45), transparent); animation: cdGlim 2.2s ease-in-out infinite alternate; }
.cd-deep .cd-micro-glimmer span, .cd-warm .cd-micro-glimmer span { background: linear-gradient(90deg, transparent, rgba(255, 249, 244, 0.4), transparent); }
@keyframes cdGlim { from { opacity: 0.35; } to { opacity: 0.95; } }
.cd-micro-cloudmini span { width: 14px; height: 9px; background: rgba(255, 249, 244, 0.55); border-radius: 10px; opacity: 0.55; animation: cdDrift 4s ease-in-out infinite alternate; }
.cd-micro-cloudmini span:nth-child(2) { animation-delay: 1.2s; transform: scale(0.85); }
@keyframes cdDrift { from { transform: translateX(-2px); } to { transform: translateX(3px); } }
.cd-micro-three span { width: 18px; height: 3px; border-radius: 2px; background: rgba(92, 71, 53, 0.2); }
.cd-deep .cd-micro-three span, .cd-warm .cd-micro-three span { background: rgba(255, 249, 244, 0.3); }
.cd-micro-bodywave span { width: 7px; height: 20px; border-radius: 4px; background: linear-gradient(180deg, #8a6e52, #d4bfa0); opacity: 0.35; animation: cdWave 2.8s ease-in-out infinite; }
.cd-micro-bodywave span:nth-child(2) { animation-delay: 0.4s; }
.cd-micro-bodywave span:nth-child(3) { animation-delay: 0.8s; }
.cd-deep .cd-micro-bodywave span, .cd-warm .cd-micro-bodywave span { background: linear-gradient(180deg, rgba(255, 249, 244, 0.6), rgba(255, 249, 244, 0.2)); }
@keyframes cdWave { 0%, 100% { transform: scaleY(0.85); opacity: 0.25; } 50% { transform: scaleY(1.05); opacity: 0.55; } }
.cd-micro-orb { width: 20px; height: 20px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff9f4, #b89b7a); box-shadow: 0 2px 8px rgba(90, 55, 25, 0.12); animation: cdOrb 3.5s ease-in-out infinite alternate; }
@keyframes cdOrb { from { transform: scale(0.92); filter: brightness(0.95); } to { transform: scale(1.06); filter: brightness(1.05); } }
.cd-micro-dashes span { width: 12px; height: 2px; border-radius: 1px; background: rgba(122, 96, 80, 0.25); }
.cd-deep .cd-micro-dashes span, .cd-warm .cd-micro-dashes span { background: rgba(255, 249, 244, 0.28); }
.cd-kind-breath .cd-icon-wrap { box-shadow: 0 0 0 1px rgba(184, 155, 122, 0.35), 0 2px 12px rgba(138, 110, 82, 0.12); }
.cd-kind-timer .cd-chip { background: rgba(107, 125, 98, 0.12); }
.cd-kind-journal .cd-icon-wrap, .cd-kind-letter .cd-icon-wrap { border-style: dashed; }
.cd-deep .cd-icon-wrap, .cd-warm .cd-icon-wrap { background: rgba(255, 249, 244, 0.14); border-color: rgba(255, 249, 244, 0.22); }
.cd-body { flex: 1; min-width: 0; }
.cd-em { font-size: 26px; line-height: 1; display: block; margin: 0; }
.cd-n { font-family: 'Playfair Display', serif; font-size: 15px; font-weight: 600; line-height: 1.22; margin-bottom: 5px; letter-spacing: -0.02em; }
.cd-result { font-size: 12px; line-height: 1.45; opacity: 0.9; margin: 0 0 6px; font-weight: 500; }
.cd-whisper { font-family: 'Playfair Display', serif; font-style: italic; font-size: 12px; line-height: 1.5; opacity: 0.88; margin: 0 0 6px; font-weight: 400; }
.cd-deep .cd-whisper, .cd-warm .cd-whisper { opacity: 0.92; }
.cd-line { font-size: 11px; line-height: 1.45; color: #8a6e52; font-style: italic; margin: 0 0 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cd-deep .cd-line, .cd-warm .cd-line { color: rgba(255, 249, 244, 0.88); }
.cd-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.cd-chip { font-size: 8px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 4px 9px; border-radius: 20px; background: rgba(90, 71, 53, 0.09); color: #5c4735; }
.cd-deep .cd-chip, .cd-warm .cd-chip { background: rgba(255, 249, 244, 0.22); color: rgba(255, 249, 244, 0.95); }
.cd-time { display: inline-block; font-size: 10px; padding: 4px 10px; border-radius: 20px; font-weight: 600; letter-spacing: 0.02em; }
.cd-go { font-size: 22px; color: #b89b7a; flex-shrink: 0; opacity: 0.75; padding-left: 2px; }
.cd-deep .cd-go, .cd-warm .cd-go { color: rgba(255, 249, 244, 0.8); }
.cd-bg { position: absolute; bottom: -10px; right: -10px; width: 50px; height: 50px; border-radius: 50%; opacity: 0.2; }
.cd-fav { position: absolute; top: 10px; right: 12px; font-size: 13px; z-index: 4; opacity: 0.5; }
.cd-fav.active { opacity: 1; color: #c45a6b; }
.cd-deep .cd-fav.active, .cd-warm .cd-fav.active { color: #fff0f3; }
.cd-cream { background: linear-gradient(135deg, #fdf8f2, #f5ebd9); color: #5c4735; }
.cd-cream .cd-bg { background: #d4bfa0; }
.cd-cream .cd-time { background: rgba(184,155,122,0.2); color: #8a6e52; }
.cd-sand { background: linear-gradient(135deg, #f0e6d6, #d4bfa0); color: #4a3825; }
.cd-sand .cd-bg { background: #b89b7a; }
.cd-sand .cd-time { background: rgba(255,249,244,0.5); color: #5c4735; }
.cd-warm { background: linear-gradient(135deg, #d4bfa0, #b89b7a); color: #3d2f22; }
.cd-warm .cd-bg { background: #f9f3ea; }
.cd-warm .cd-time { background: rgba(255,249,244,0.5); color: #5c4735; }
.cd-deep { background: linear-gradient(135deg, #b89b7a, #8a6e52); color: #fff9f4; }
.cd-deep .cd-bg { background: #fdf8f2; }
.cd-deep .cd-time { background: rgba(255,249,244,0.25); color: #fdf8f2; }
.cd-soft { background: linear-gradient(135deg, #f9f3ea, #efe1cb); color: #5c4735; }
.cd-soft .cd-bg { background: #d4bfa0; }
.cd-soft .cd-time { background: rgba(184,155,122,0.2); color: #8a6e52; }
.cd-rose { background: linear-gradient(135deg, #f5e0d3, #e8c4b0); color: #6b3a2a; }
.cd-rose .cd-bg { background: #d49d85; }
.cd-rose .cd-time { background: rgba(212,157,133,0.25); color: #6b3a2a; }
.cd-olive { background: linear-gradient(135deg, #e8e0c5, #c9bd95); color: #4a3f1f; }
.cd-olive .cd-bg { background: #9c8f5a; }
.cd-olive .cd-time { background: rgba(156,143,90,0.25); color: #4a3f1f; }

.card-detail {
  position: absolute;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: end center;
  padding-top: 18px;
  background: rgba(39,34,29,0);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease, background 0.28s ease;
}
.card-detail.on { opacity: 1; pointer-events: auto; background: rgba(39,34,29,0.42); }
.card-detail-sheet {
  position: absolute;
  left: 0;
  right: 0;
  top: 20px;
  bottom: 0;
  width: 100%;
  max-height: none;
  min-height: 0;
  overflow-y: auto;
  border-radius: 32px 32px 0 0;
  background: radial-gradient(circle at 78% 12%, var(--sheet-wash, rgba(236,220,192,0.34)), transparent 34%), var(--sheet-bg, linear-gradient(180deg, #fffdf7 0%, #f7f0e4 100%));
  color: var(--sheet-ink, #453829);
  box-shadow: 0 -24px 70px rgba(32,24,18,0.32);
  padding: 18px 28px 0;
  transform: translateY(100%);
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}
.card-detail.on .card-detail-sheet { transform: translateY(0); }
.card-detail-sheet::-webkit-scrollbar { display: none; }
.card-detail-handle { width: 40px; height: 4px; border-radius: 999px; background: rgba(150,132,112,0.22); margin: 0 auto 16px; }
.card-detail-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 20px; }
.card-detail-back { border: none; background: transparent; color: color-mix(in srgb, var(--sheet-ink, #453829) 48%, transparent); font-size: 14px; font-weight: 900; letter-spacing: 0.02em; padding: 8px 0; }
.card-detail-top-right { display: flex; align-items: center; gap: 10px; }
.card-detail-kicker { font-size: 11px; font-weight: 900; letter-spacing: 0.12em; text-transform: uppercase; color: color-mix(in srgb, var(--sheet-ink, #453829) 28%, transparent); }
.card-detail-fav { flex: 0 0 36px; line-height: 1; }
.card-detail-fav.active { color: #8a6e52; }
.card-detail-icon { width: 44px; height: 44px; margin-bottom: 20px; color: var(--sheet-accent, #8a6e52); }
.card-detail-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.card-detail-emoji { display: grid; place-items: center; width: 100%; height: 100%; font-size: 34px; line-height: 1; }
.card-detail-title { font-family: 'Playfair Display', serif; font-size: 27px; font-style: italic; font-weight: 600; line-height: 1.1; color: color-mix(in srgb, var(--sheet-ink, #453829) 88%, #2a2119 12%); margin-bottom: 16px; }
.card-detail-sub { font-family: 'Playfair Display', serif; font-size: 15px; font-style: italic; line-height: 1.45; color: color-mix(in srgb, var(--sheet-ink, #453829) 56%, transparent); }
.card-detail-line { height: 1px; background: color-mix(in srgb, var(--sheet-accent, #8a6e52) 22%, transparent); margin: 22px 0; }
.card-detail-desc { font-size: 15px; font-weight: 800; line-height: 1.52; color: color-mix(in srgb, var(--sheet-ink, #453829) 62%, transparent); margin-bottom: 22px; }
.card-detail-steps-label { font-size: 11px; font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; color: color-mix(in srgb, var(--sheet-ink, #453829) 32%, transparent); margin-bottom: 12px; }
.card-detail-steps { display: flex; flex-direction: column; gap: 9px; margin-bottom: 24px; }
.card-detail-step { display: grid; grid-template-columns: 28px 1fr; align-items: start; gap: 14px; color: color-mix(in srgb, var(--sheet-ink, #453829) 66%, transparent); font-size: 14px; line-height: 1.42; font-weight: 800; }
.card-detail-num { width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--sheet-accent, #8a6e52) 24%, transparent); display: grid; place-items: center; color: color-mix(in srgb, var(--sheet-ink, #453829) 40%, transparent); font-size: 12px; font-weight: 900; }
.card-detail-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.card-detail-chip { min-height: 25px; border-radius: 999px; padding: 6px 13px 5px; background: var(--sheet-pill, rgba(214,204,185,0.32)); color: var(--sheet-pill-ink, rgba(90,78,64,0.5)); font-size: 10px; line-height: 1; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; }
.card-detail-actions { position: sticky; bottom: 0; margin: 0 -28px; padding: 10px 28px 18px; background: var(--sheet-solid, #f7f0e4); box-shadow: 0 -18px 26px var(--sheet-solid, #f7f0e4); }
.card-detail-start { width: 100%; min-height: 58px; border: 1px solid color-mix(in srgb, var(--sheet-accent, #8a6e52) 18%, transparent); border-radius: 20px; background: color-mix(in srgb, var(--sheet-accent, #8a6e52) 10%, #fff9f1 90%); color: color-mix(in srgb, var(--sheet-ink, #453829) 88%, #2a2119 12%); font-size: 17px; font-weight: 800; box-shadow: inset 0 1px 0 rgba(255,255,255,0.56); }

@media (max-width: 380px) {
  .card-grid.anxiety-final { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-inline: 2px; }
  .anxiety-card { aspect-ratio: 3 / 3.85; }
  .anxiety-name { font-size: 13.5px; }
  .anxiety-whisper { font-size: 11px; }
}

/* TECHNIQUE — PREMIUM REDESIGN */
.scr[data-s="tech"] { background: var(--card-bg, #fdf8f2); transition: background 0.5s ease; overflow: hidden; }

/* entrance animations */
@keyframes tHeroIn  { from { opacity: 0; transform: translateY(-18px) scale(0.9); } to { opacity: 1; transform: none; } }
@keyframes tCardIn  { from { opacity: 0; transform: translateY(22px) scale(0.97); } to { opacity: 1; transform: none; } }
@keyframes tBtnIn   { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes tEmFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

.t-wrap {
  height: calc(100% - 104px);
  min-height: 0;
  padding: 0 22px 18px;
  display: flex;
  flex-direction: column;
}

/* hero — emoji + title */
.t-em {
  font-size: 68px; line-height: 1; text-align: center; margin-bottom: 14px;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,0.13));
  animation: tHeroIn 0.55s cubic-bezier(0.22,1,0.36,1) both, tEmFloat 4.5s ease-in-out 0.6s infinite;
}
.t-t {
  font-family: 'Playfair Display',serif; font-size: 26px; font-weight: 700;
  color: var(--ink, #5c4735); line-height: 1.15; margin-bottom: 12px; text-align: center;
  animation: tHeroIn 0.55s 0.06s cubic-bezier(0.22,1,0.36,1) both;
  text-shadow: 0 1px 0 rgba(255,255,255,0.45);
}

/* result card */
.t-result-card {
  background: var(--wash, rgba(212,191,160,0.24));
  border-radius: 22px; padding: 18px 20px; margin-bottom: 16px;
  border: 1px solid rgba(255,255,255,0.55);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  animation: tCardIn 0.52s 0.1s cubic-bezier(0.22,1,0.36,1) both;
}
.t-result-label {
  font-family: 'Playfair Display',serif; font-style: italic;
  font-size: 11px; letter-spacing: 0.09em; text-transform: uppercase;
  color: var(--accent, #788050); font-weight: 700; margin-bottom: 8px; opacity: 0.9;
}
.t-result-text {
  font-family: 'Playfair Display',serif; font-style: italic;
  font-size: 16px; color: var(--ink, #5c4735); line-height: 1.5;
}

/* whisper block */
.t-sup {
  background: rgba(255,255,255,0.42); border-left: 3px solid var(--accent, #788050);
  border-radius: 0 18px 18px 0; padding: 13px 16px; font-size: 13px;
  color: var(--ink, #5c4735); line-height: 1.55; margin-bottom: 12px; font-style: italic;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  animation: tCardIn 0.52s 0.14s cubic-bezier(0.22,1,0.36,1) both;
}

#interactive-area {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding-bottom: 8px;
}

#interactive-area::-webkit-scrollbar { display: none; }

/* interactive container */
.inter-box {
  background: rgba(255,255,255,0.52); border-radius: 24px; padding: 22px 18px;
  border: 1px solid rgba(255,255,255,0.68); margin-bottom: 10px;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 4px 28px rgba(0,0,0,0.06);
  animation: tCardIn 0.52s 0.18s cubic-bezier(0.22,1,0.36,1) both;
}
.inter-label {
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent, #788050); font-weight: 800; margin-bottom: 16px; text-align: center;
}

/* breathing ring */
.b-area { display: flex; justify-content: center; align-items: center; padding: 14px 0 10px; }
.b-ring {
  width: 140px; height: 140px; border-radius: 50%;
  background: radial-gradient(circle at 38% 35%, rgba(255,255,255,0.92), var(--wash,rgba(212,191,160,0.4)) 55%, var(--accent,#788050) 130%);
  box-shadow: 0 0 0 14px var(--wash,rgba(212,191,160,0.2)), 0 10px 34px rgba(0,0,0,0.13);
  animation: bRingIdle 6s ease-in-out infinite;
}
@keyframes bRingIdle { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }

/* timer */
.timer-wrap { text-align: center; padding: 14px 0; }
.timer-circle {
  width: 152px; height: 152px; border-radius: 50%;
  background: radial-gradient(circle at 38% 35%, rgba(255,255,255,0.92), var(--wash,rgba(212,191,160,0.4)) 60%);
  margin: 0 auto 16px; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 12px var(--wash,rgba(212,191,160,0.2)), 0 10px 34px rgba(0,0,0,0.1);
}
.timer-num { font-family: 'Playfair Display',serif; font-size: 52px; color: var(--ink,#5c4735); line-height: 1; }
.timer-status { font-size: 13px; color: var(--ink,#5c4735); opacity: 0.65; margin-top: 4px; }
.timer-bar { width: 100%; height: 5px; background: var(--wash,rgba(212,191,160,0.3)); border-radius: 3px; overflow: hidden; margin: 14px 0; }
.timer-fill { height: 100%; background: linear-gradient(90deg, var(--wash,rgba(212,191,160,0.6)), var(--accent,#788050)); transition: width 0.5s linear; }

/* journal */
.journal-input {
  width: 100%; min-height: 108px; padding: 14px;
  background: rgba(255,255,255,0.58); border: 1.5px solid rgba(255,255,255,0.75);
  border-radius: 18px; font-family: 'Nunito',sans-serif; font-size: 14px;
  color: var(--ink,#5c4735); line-height: 1.6; resize: none; outline: none;
}
.journal-input:focus { border-color: var(--accent,#788050); }
.journal-prompt {
  padding: 12px 15px; background: rgba(255,255,255,0.48); border-radius: 14px;
  border-left: 3px solid var(--accent,#788050); font-size: 13px;
  color: var(--ink,#5c4735); line-height: 1.55; font-style: italic; margin-bottom: 10px;
}

/* three warm moments */
.three-input {
  width: 100%; padding: 13px 15px;
  background: rgba(255,255,255,0.58); border: 1.5px solid rgba(255,255,255,0.75);
  border-radius: 16px; font-family: 'Nunito',sans-serif; font-size: 14px;
  color: var(--ink,#5c4735); outline: none; margin-bottom: 10px;
}
.three-input:focus { border-color: var(--accent,#788050); }
.three-num { font-size: 10px; color: var(--accent,#788050); margin-bottom: 5px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }

/* anchor / 5 senses */
.anchor-step {
  padding: 13px 14px; background: rgba(255,255,255,0.48);
  border-radius: 16px; border: 1px solid rgba(255,255,255,0.65); margin-bottom: 8px;
}
.anchor-step-h { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.anchor-num {
  width: 26px; height: 26px; border-radius: 50%; background: var(--accent,#788050);
  color: #fff; font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.anchor-q { font-size: 13px; color: var(--ink,#5c4735); font-weight: 700; }
.anchor-input {
  width: 100%; padding: 9px 12px; border: 1px solid rgba(255,255,255,0.7);
  border-radius: 12px; font-size: 13px; font-family: 'Nunito',sans-serif;
  color: var(--ink,#5c4735); background: rgba(255,255,255,0.55); outline: none;
}
.anchor-input:focus { border-color: var(--accent,#788050); }

/* body scan */
.body-scan { display: flex; justify-content: center; padding: 14px 0 6px; }
.body-svg { width: 110px; height: 200px; }
.body-part { fill: var(--wash,rgba(212,191,160,0.5)); transition: all 0.6s ease; opacity: 0.55; }
.body-part.active { fill: var(--accent,#788050); opacity: 1; filter: drop-shadow(0 0 6px var(--accent,#788050)); }
.body-status { text-align: center; font-family: 'Playfair Display',serif; font-style: italic; font-size: 16px; color: var(--ink,#5c4735); margin-top: 12px; }

/* clouds */
.cloud-input {
  width: 100%; padding: 14px;
  background: rgba(255,255,255,0.58); border: 1.5px solid rgba(255,255,255,0.75);
  border-radius: 18px; font-family: 'Nunito',sans-serif; font-size: 14px; color: var(--ink,#5c4735); outline: none;
}
.cloud-input:focus { border-color: var(--accent,#788050); }
.cloud-area { position: relative; height: 110px; margin-top: 12px; overflow: hidden; }
.cloud-item {
  position: absolute; padding: 8px 18px; background: rgba(255,255,255,0.75);
  border-radius: 30px; font-size: 13px; color: var(--ink,#5c4735);
  box-shadow: 0 3px 12px rgba(0,0,0,0.08); animation: floatAway 4s ease-out forwards;
  white-space: nowrap; max-width: 90%; overflow: hidden; text-overflow: ellipsis;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
@keyframes floatAway { 0% { bottom: 0; opacity: 1; } 100% { bottom: 120px; opacity: 0; transform: translateX(15px) scale(0.9); } }
.cloud-empty { text-align: center; color: var(--accent,#788050); font-size: 12px; padding-top: 32px; font-style: italic; opacity: 0.7; }

/* letter */
.letter-paper {
  background: rgba(255,255,255,0.52); border: 1px solid rgba(255,255,255,0.72);
  border-radius: 20px; padding: 18px; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
}
.letter-greet { font-family: 'Playfair Display',serif; font-style: italic; font-size: 16px; color: var(--accent,#788050); margin-bottom: 10px; }
.letter-input { width: 100%; min-height: 140px; background: transparent; border: none; outline: none; font-family: 'Nunito',sans-serif; font-size: 14px; color: var(--ink,#5c4735); line-height: 1.75; resize: none; }

/* heart / self-compassion */
.heart-wrap { display: flex; flex-direction: column; align-items: center; padding: 14px 0 8px; }
.heart { font-size: 86px; animation: heartbeat 1.4s ease-in-out infinite; filter: drop-shadow(0 6px 16px rgba(0,0,0,0.12)); }
@keyframes heartbeat { 0%, 100% { transform: scale(1); } 20%, 70% { transform: scale(1.12); } 45% { transform: scale(1.06); } }
.heart-text { font-family: 'Playfair Display',serif; font-style: italic; font-size: 17px; color: var(--ink,#5c4735); text-align: center; margin-top: 14px; transition: opacity 0.4s; }

/* affirmation */
.aff-card {
  background: rgba(255,255,255,0.52); border-radius: 24px; padding: 28px 20px;
  text-align: center; border: 1px solid rgba(255,255,255,0.72);
  min-height: 130px; display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 22px rgba(0,0,0,0.06);
}
.aff-text { font-family: 'Playfair Display',serif; font-style: italic; font-size: 20px; color: var(--ink,#5c4735); line-height: 1.45; }
.aff-nav { display: flex; gap: 8px; justify-content: center; margin-top: 14px; }
.aff-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--wash,rgba(212,191,160,0.4)); transition: all 0.3s; }
.aff-dot.active { background: var(--accent,#788050); width: 22px; border-radius: 3px; }

/* shuffle */
.t-shuffle {
  display: block; width: 100%; margin: 12px 0 0; padding: 14px 16px; border-radius: 20px;
  border: 1.5px dashed rgba(255,255,255,0.65); background: rgba(255,255,255,0.32);
  font-family: inherit; font-size: 13px; font-weight: 700; color: var(--accent,#788050);
  cursor: pointer; transition: background 0.2s, transform 0.15s; backdrop-filter: blur(6px);
}
.t-shuffle:hover { background: rgba(255,255,255,0.52); }
.t-shuffle:active { transform: scale(0.98); }

/* main action button */
.t-btn {
  background: color-mix(in srgb, var(--accent,#788050) 10%, #fff9f1 90%);
  color: color-mix(in srgb, var(--ink,#5c4735) 90%, #2a2119 10%);
  padding: 17px; border-radius: 20px; border: 1px solid color-mix(in srgb, var(--accent,#788050) 18%, transparent);
  font-size: 15px; font-weight: 800; width: 100%; letter-spacing: 0.02em;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.56); margin-top: 8px;
  animation: tBtnIn 0.5s 0.28s cubic-bezier(0.22,1,0.36,1) both;
}
.t-btn-rep {
  background: rgba(255,255,255,0.52); color: var(--accent,#788050);
  padding: 14px; border-radius: 20px; border: 1.5px solid rgba(255,255,255,0.72);
  font-size: 14px; font-weight: 700; width: 100%; margin-top: 8px;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.t-btn-secondary {
  background: transparent; color: var(--accent,#788050); padding: 12px;
  border: 1.5px solid rgba(255,255,255,0.55); border-radius: 16px;
  font-size: 13px; font-weight: 600; width: 100%; margin-top: 8px;
}
.choice-opt.on { background: var(--wash,rgba(212,191,160,0.35)) !important; border-color: var(--accent,#788050) !important; color: var(--ink,#5c4735) !important; }
.choice-opt:disabled { cursor: default; }

/* feedback */
.feedback-card {
  background: rgba(255,255,255,0.52); border-radius: 24px; padding: 20px;
  margin-top: 14px; text-align: center; border: 1px solid rgba(255,255,255,0.7);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  animation: tCardIn 0.42s cubic-bezier(0.22,1,0.36,1) both;
}
.feedback-q { font-family: 'Playfair Display',serif; font-style: italic; font-size: 16px; color: var(--ink,#5c4735); margin-bottom: 14px; }
.feedback-buttons { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.feedback-b { padding: 10px 20px; border-radius: 16px; border: none; background: rgba(255,255,255,0.68); font-size: 13px; font-weight: 700; color: var(--ink,#5c4735); }

/* breathing fullscreen overlay */
.b-overlay {
  position: absolute; inset: 0; background: var(--card-bg, linear-gradient(160deg,#fdf8f2,#f0e6d6));
  z-index: 50; display: flex; flex-direction: column; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.45s; padding: 30px;
}
.b-overlay.on { opacity: 1; pointer-events: all; }
.b-big {
  width: 190px; height: 190px; border-radius: 50%;
  background: radial-gradient(circle at 38% 35%, rgba(255,255,255,0.92), var(--wash,rgba(212,191,160,0.5)) 55%, var(--accent,#788050));
  box-shadow: 0 0 0 18px var(--wash,rgba(212,191,160,0.2)), 0 0 70px rgba(0,0,0,0.12);
  margin-bottom: 36px; transition: transform 4s ease-in-out;
}
.b-st { font-family: 'Playfair Display',serif; font-size: 26px; color: var(--ink,#5c4735); margin-bottom: 4px; }
.b-cnt { font-size: 52px; font-weight: 300; color: var(--accent,#788050); }
.b-ph { font-size: 14px; color: var(--ink,#5c4735); opacity: 0.7; }
.b-cyc { font-size: 12px; color: var(--ink,#5c4735); opacity: 0.45; margin: 20px 0; }
.b-stop {
  background: rgba(255,255,255,0.48); border: 1.5px solid rgba(255,255,255,0.68);
  border-radius: 30px; padding: 11px 28px; font-size: 13px; color: var(--ink,#5c4735);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}

/* JOURNAL */
.j-wrap { padding: 8px 20px 90px; }
.j-stat { background: linear-gradient(135deg, #f9f3ea, #ead9c1); border-radius: 18px; padding: 18px; margin-bottom: 18px; border: 1.5px solid #e8d9c4; text-align: center; }
.j-stat-n { font-family: 'Playfair Display',serif; font-size: 36px; color: #5c4735; line-height: 1; margin-bottom: 4px; }
.j-stat-l { font-size: 12px; color: #7a6050; }
.j-empty { text-align: center; padding: 40px 20px; color: #a08070; font-size: 13px; font-style: italic; }
.j-entry { background: #f9f3ea; border-radius: 14px; padding: 14px; margin-bottom: 10px; border: 1.5px solid #e8d9c4; }
.j-entry-d { font-size: 11px; color: #a08070; margin-bottom: 4px; }
.j-entry-t { font-size: 13px; font-weight: 600; color: #5c4735; margin-bottom: 4px; }
.j-entry-x { font-size: 12px; color: #7a6050; line-height: 1.5; }
.tabs { display: flex; gap: 6px; padding: 4px; background: #f9f3ea; border-radius: 14px; margin-bottom: 18px; border: 1.5px solid #e8d9c4; }
.tab { flex: 1; padding: 9px 12px; text-align: center; font-size: 12px; font-weight: 600; color: #a08070; border-radius: 10px; cursor: pointer; }
.tab.on { background: #fdf8f2; color: #5c4735; }

/* 30 DAYS LIST */
.r30-wrap { padding: 0 0 90px; }
.r30-hero { background: linear-gradient(160deg, #5c4735 0%, #8a6e52 50%, #b89b7a 100%); padding: 70px 24px 30px; position: relative; overflow: hidden; color: #fff9f4; }
.r30-hero::before { content: ''; position: absolute; top: -100px; right: -80px; width: 300px; height: 300px; border-radius: 50%; background: radial-gradient(circle, rgba(255,249,244,0.15), transparent 70%); }
.r30-back { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,249,244,0.15); display: flex; align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0; font-size: 18px; color: #fff9f4; line-height: 1; padding-bottom: 2px; margin-bottom: 16px; backdrop-filter: blur(10px); position: relative; z-index: 2; }
.r30-tag { display: inline-block; background: rgba(255,249,244,0.18); color: #fff9f4; font-size: 11px; padding: 5px 12px; border-radius: 20px; margin-bottom: 12px; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 600; position: relative; z-index: 2; }
.r30-title { font-family: 'Playfair Display',serif; font-size: 36px; line-height: 1.1; margin-bottom: 10px; font-style: italic; position: relative; z-index: 2; }
.r30-sub { font-size: 14px; line-height: 1.55; color: rgba(255,249,244,0.85); font-weight: 300; position: relative; z-index: 2; max-width: 320px; }
.r30-progress-card { background: rgba(255,249,244,0.12); backdrop-filter: blur(10px); border-radius: 16px; padding: 16px; margin-top: 20px; position: relative; z-index: 2; border: 1px solid rgba(255,249,244,0.2); }
.r30-pc-h { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.r30-pc-l { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,249,244,0.7); font-weight: 600; }
.r30-pc-d { font-size: 14px; color: #fff9f4; font-weight: 600; }
.r30-pc-bar { height: 5px; background: rgba(255,249,244,0.18); border-radius: 3px; overflow: hidden; }
.r30-pc-fill { height: 100%; background: linear-gradient(90deg, #f9f3ea, #fff9f4); border-radius: 3px; transition: width 0.6s; }
.r30-content { padding: 24px 20px 20px; }
.r30-week { margin-bottom: 28px; }
.r30-week-h { display: flex; align-items: baseline; gap: 10px; margin-bottom: 4px; padding: 0 4px; }
.r30-week-num { font-family: 'Playfair Display',serif; font-size: 22px; color: #b89b7a; font-style: italic; }
.r30-week-name { font-family: 'Playfair Display',serif; font-size: 18px; color: #5c4735; }
.r30-week-sub { font-size: 12px; color: #a08070; padding: 0 4px; margin-bottom: 14px; font-weight: 300; }
.r30-days { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.r30-day { background: #f9f3ea; border-radius: 16px; padding: 14px 12px; border: 1.5px solid #e8d9c4; cursor: pointer; transition: transform 0.18s; position: relative; min-height: 96px; display: flex; flex-direction: column; }
.r30-day:active { transform: scale(0.96); }
.r30-day.done { background: linear-gradient(135deg, #d4bfa0, #b89b7a); border-color: #8a6e52; color: #fff9f4; }
.r30-day.today { background: linear-gradient(135deg, #f5ebd9, #ead9c1); border-color: #8a6e52; box-shadow: 0 0 0 3px rgba(138,110,82,0.15); }
.r30-d-num { font-family: 'Playfair Display',serif; font-size: 26px; color: #b89b7a; font-style: italic; line-height: 1; margin-bottom: 4px; }
.r30-day.done .r30-d-num { color: #fff9f4; }
.r30-day.today .r30-d-num { color: #5c4735; }
.r30-d-title { font-size: 11.5px; font-weight: 600; color: #5c4735; line-height: 1.3; flex: 1; }
.r30-day.done .r30-d-title { color: #fff9f4; }
.r30-d-meta { font-size: 9.5px; color: #a08070; margin-top: 6px; font-weight: 500; }
.r30-day.done .r30-d-meta { color: rgba(255,249,244,0.8); }
.r30-d-icon { position: absolute; top: 8px; right: 8px; font-size: 12px; opacity: 0.5; }
.r30-day.done .r30-d-icon::after { content: '✓'; color: #fff9f4; opacity: 1; font-size: 14px; font-weight: 700; }
.r30-empty-cta { background: linear-gradient(135deg, #5c4735, #8a6e52); color: #fff9f4; padding: 18px; border-radius: 18px; text-align: center; margin-bottom: 20px; }
.r30-empty-cta-t { font-family: 'Playfair Display',serif; font-size: 19px; font-style: italic; margin-bottom: 6px; }
.r30-empty-cta-d { font-size: 12.5px; opacity: 0.85; line-height: 1.5; margin-bottom: 14px; }
.r30-empty-cta-btn { background: #fff9f4; color: #5c4735; border: none; padding: 12px 24px; border-radius: 14px; font-size: 14px; font-weight: 700; }

/* DAY DETAIL */
.day-wrap { padding: 0 0 90px; min-height: 100%; background: linear-gradient(180deg, #fdf8f2, #f5ebd9); }
.day-hero { padding: 20px 18px 0; }
.day-topbar { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; padding-top: 36px; }
.day-tag { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: #8a6e52; font-weight: 600; margin-bottom: 4px; }
.day-title { font-family: 'Playfair Display',serif; font-style: italic; font-size: 28px; color: #5c4735; line-height: 1.15; margin-bottom: 8px; }
.day-tagline { font-family: 'Playfair Display',serif; font-style: italic; font-size: 13px; color: #8a6e52; margin-bottom: 16px; line-height: 1.5; }
.day-progress-text { font-size: 11px; color: #a08070; font-weight: 600; margin-left: auto; }
.day-pb { background: rgba(184,155,122,0.2); border-radius: 4px; height: 6px; overflow: hidden; margin-bottom: 18px; }
.day-pb-fill { background: linear-gradient(90deg, #d4bfa0, #8a6e52); height: 100%; border-radius: 4px; transition: width 0.4s; }

.day-content { padding: 0 18px; }
.day-section { margin-bottom: 18px; }
.day-section-h { display: flex; align-items: center; gap: 6px; margin-bottom: 8px; padding: 0 2px; }
.day-section-em { font-size: 14px; }
.day-section-name { font-family: 'Playfair Display',serif; font-size: 14px; color: #5c4735; font-weight: 600; flex: 1; }
.day-section-count { font-size: 10px; color: #a08070; font-weight: 600; background: #f9f3ea; padding: 2px 8px; border-radius: 20px; border: 1px solid #e8d9c4; }

.day-card { background: #f9f3ea; border-radius: 14px; border: 1.5px solid #e8d9c4; padding: 12px; margin-bottom: 6px; display: flex; align-items: center; gap: 10px; cursor: pointer; transition: transform 0.15s; }
.day-card:active { transform: scale(0.98); }
.day-card.done { background: linear-gradient(135deg, #ead9c1, #d4bfa0); border-color: #b89b7a; }
.day-check { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #b89b7a; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 11px; color: transparent; background: #fff9f4; transition: all 0.2s; }
.day-card.done .day-check { background: #8a6e52; border-color: #8a6e52; color: #fff9f4; }
.day-card-em { font-size: 18px; flex-shrink: 0; }
.day-card-text { flex: 1; min-width: 0; }
.day-card-name { font-size: 12.5px; font-weight: 600; color: #5c4735; line-height: 1.3; }
.day-card-tip { font-size: 10px; color: #a08070; margin-top: 2px; line-height: 1.3; }
.day-card.done .day-card-name { text-decoration: line-through; opacity: 0.7; }
.day-card-arr { color: #b89b7a; font-size: 14px; flex-shrink: 0; }
.day-card.done .day-card-arr { display: none; }
.day-card-input-val { font-size: 11px; color: #5c4735; font-style: italic; margin-top: 3px; opacity: 0.85; }

.day-water { background: linear-gradient(135deg, #f9f3ea, #ead9c1); border-radius: 16px; padding: 14px; border: 1.5px solid #e8d9c4; margin-bottom: 18px; display: flex; align-items: center; gap: 12px; }
.day-water-info { flex: 1; }
.day-water-label { font-size: 10px; color: #a08070; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 2px; }
.day-water-count { font-family: 'Playfair Display',serif; font-size: 18px; color: #5c4735; font-weight: 600; }
.day-water-glasses { display: flex; gap: 4px; cursor: pointer; }
.day-glass { width: 16px; height: 22px; border: 1.5px solid #b89b7a; border-radius: 0 0 6px 6px; background: transparent; transition: all 0.2s; }
.day-glass.full { background: linear-gradient(180deg, transparent 20%, #b89b7a 20%); }

.day-mood-row { display: flex; gap: 6px; }
.day-mood-c { flex: 1; background: #f9f3ea; border-radius: 12px; border: 1.5px solid #e8d9c4; padding: 10px 4px; text-align: center; cursor: pointer; transition: all 0.2s; }
.day-mood-c:active { transform: scale(0.95); }
.day-mood-c.selected { background: linear-gradient(135deg, #d4bfa0, #b89b7a); border-color: #8a6e52; }
.day-mood-em { font-size: 22px; margin-bottom: 2px; }
.day-mood-l { font-size: 9px; color: #5c4735; font-weight: 600; }
.day-mood-c.selected .day-mood-l { color: #fff9f4; }

.day-practice { background: linear-gradient(135deg, #5c4735, #8a6e52); border-radius: 18px; padding: 18px 16px; margin-bottom: 18px; color: #fff9f4; cursor: pointer; transition: transform 0.18s; position: relative; overflow: hidden; }
.day-practice::after { content: ''; position: absolute; bottom: -30px; right: -30px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, rgba(255,249,244,0.15), transparent 70%); }
.day-practice:active { transform: scale(0.98); }
.day-practice.done { background: linear-gradient(135deg, #b89b7a, #d4bfa0); }
.day-prac-tag { font-size: 9px; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,249,244,0.7); font-weight: 700; margin-bottom: 6px; position: relative; z-index: 2; }
.day-prac-em { font-size: 28px; margin-bottom: 8px; position: relative; z-index: 2; }
.day-prac-name { font-family: 'Playfair Display',serif; font-style: italic; font-size: 19px; line-height: 1.2; margin-bottom: 6px; position: relative; z-index: 2; }
.day-prac-desc { font-size: 11.5px; opacity: 0.88; line-height: 1.5; margin-bottom: 10px; position: relative; z-index: 2; }
.day-prac-meta { display: flex; align-items: center; gap: 8px; position: relative; z-index: 2; }
.day-prac-time { font-size: 10px; background: rgba(255,249,244,0.18); padding: 3px 10px; border-radius: 20px; font-weight: 600; }
.day-prac-cta { margin-left: auto; font-size: 11px; font-weight: 700; }

.day-quote { background: linear-gradient(135deg, #f9f3ea, #ead9c1); border-radius: 14px; padding: 14px; border: 1.5px solid #e8d9c4; text-align: center; margin-bottom: 18px; }
.day-quote-t { font-family: 'Playfair Display',serif; font-style: italic; font-size: 13px; color: #5c4735; line-height: 1.55; }
.day-finish { background: linear-gradient(135deg, #8a6e52, #5c4735); color: #fff9f4; padding: 16px; border-radius: 16px; border: none; font-size: 14px; font-weight: 700; width: 100%; box-shadow: 0 5px 16px rgba(90,55,25,0.25); }
.day-finish.done { background: #d4bfa0; }

.celeb { position: absolute; inset: 0; background: linear-gradient(160deg, #5c4735, #8a6e52, #b89b7a); z-index: 60; display: flex; flex-direction: column; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.5s; padding: 40px; text-align: center; color: #fff9f4; }
.celeb.on { opacity: 1; pointer-events: all; }
.celeb-em { font-size: 64px; margin-bottom: 20px; animation: floatBall 3s ease-in-out infinite; }
@keyframes floatBall { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.celeb-t { font-family: 'Playfair Display',serif; font-size: 30px; font-style: italic; line-height: 1.2; margin-bottom: 14px; }
.celeb-d { font-size: 14px; line-height: 1.6; opacity: 0.9; margin-bottom: 28px; max-width: 280px; }
.celeb-btn { background: #fff9f4; color: #5c4735; border: none; padding: 14px 32px; border-radius: 16px; font-size: 14px; font-weight: 700; }

/* INPUT MODAL */
.modal { position: absolute; inset: 0; background: rgba(60,40,25,0.6); z-index: 70; display: flex; align-items: center; justify-content: center; padding: 28px; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.modal.on { opacity: 1; pointer-events: all; }
.modal-content { background: #fdf8f2; border-radius: 20px; padding: 24px; width: 100%; max-width: 340px; }
.modal-title { font-family: 'Playfair Display',serif; font-style: italic; font-size: 18px; color: #5c4735; margin-bottom: 6px; }
.modal-desc { font-size: 12px; color: #a08070; margin-bottom: 14px; }
.modal-input { width: 100%; padding: 12px 14px; background: #f9f3ea; border: 1.5px solid #e8d9c4; border-radius: 12px; font-family: 'Nunito',sans-serif; font-size: 14px; color: #5c4735; outline: none; margin-bottom: 14px; }
.modal-input:focus { border-color: #b89b7a; }
.modal-btns { display: flex; gap: 8px; }
.modal-btn { flex: 1; padding: 12px; border-radius: 12px; border: none; font-size: 13px; font-weight: 600; cursor: pointer; }
.modal-btn-cancel { background: #f9f3ea; color: #8a6e52; border: 1.5px solid #e8d9c4; }
.modal-btn-save { background: linear-gradient(135deg, #8a6e52, #5c4735); color: #fff9f4; }

/* TIMER MODAL */
.timer-modal { position: absolute; inset: 0; background: linear-gradient(160deg, #fdf8f2, #f0e6d6); z-index: 65; display: flex; flex-direction: column; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.4s; padding: 30px; }
.timer-modal.on { opacity: 1; pointer-events: all; }
.tm-name { font-family: 'Playfair Display',serif; font-size: 22px; color: #5c4735; margin-bottom: 8px; font-style: italic; }
.tm-tip { font-size: 13px; color: #7a6050; margin-bottom: 24px; text-align: center; max-width: 280px; }
.tm-circle { width: 180px; height: 180px; border-radius: 50%; background: radial-gradient(circle at 40% 38%, #f9f3ea, #d4bfa0 60%, #b89b7a); margin-bottom: 24px; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 24px rgba(180,140,100,0.3); }
.tm-num { font-family: 'Playfair Display',serif; font-size: 48px; color: #5c4735; }
.tm-stop { background: #f9f3ea; border: 1.5px solid #e8d9c4; border-radius: 30px; padding: 10px 26px; font-size: 13px; color: #7a6050; }

/* BOTTOM NAV */
.bottom-nav { position: absolute; bottom: 0; left: 0; right: 0; background: rgba(253,248,242,0.95); backdrop-filter: blur(20px); border-top: 1px solid #e8d9c4; display: flex; padding: 10px 0 14px; z-index: 30; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.bottom-nav.on { opacity: 1; pointer-events: all; }
.phone-frame.detail-card-open .bottom-nav { opacity: 0; pointer-events: none; }
.scr[data-s="cards"].detail-locked { overflow: hidden; }
.scr[data-s="cards"].detail-locked .cg-wrap { visibility: hidden; pointer-events: none; }
.bn-i { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px; padding: 6px; cursor: pointer; }
.bn-em { font-size: 18px; opacity: 0.5; transition: opacity 0.2s; }
.bn-l { font-size: 10px; color: #a08070; font-weight: 500; }
.bn-i.on .bn-em { opacity: 1; }
.bn-i.on .bn-l { color: #5c4735; }

.toast { position: absolute; bottom: 90px; left: 50%; transform: translateX(-50%) translateY(20px); background: #5c4735; color: #fff9f4; padding: 11px 20px; border-radius: 30px; font-size: 13px; opacity: 0; transition: all 0.3s; z-index: 100; white-space: nowrap; max-width: 80%; }
.toast.on { opacity: 1; transform: translateX(-50%) translateY(0); }

/* MOBILE READABILITY */
.cv-desc,
.mood-s,
.mood-l,
.mood-d,
.hero-30-desc,
.hero-30-day,
.home-greet,
.home-rec-name,
.home-rec-time,
.home-h2-sub,
.sound-l,
.practice-tab,
.practice-empty,
.greet,
.sc-d,
.sec-group-sub,
.sec-lead,
.cg-s,
.cd-whisper,
.cd-line,
.cd-time,
.t-result-label,
.t-sup,
.inter-label,
.t-shuffle,
.timer-status,
.journal-prompt,
.three-input,
.three-num,
.cloud-item,
.cloud-empty,
.anchor-q,
.anchor-input,
.t-btn-secondary,
.feedback-b,
.b-ph,
.b-cyc,
.b-stop,
.j-stat-l,
.j-empty,
.j-entry-d,
.j-entry-t,
.j-entry-x,
.tab,
.r30-tag,
.r30-pc-l,
.r30-week-sub,
.r30-d-title,
.r30-d-meta,
.r30-empty-cta-d,
.day-tag,
.day-tagline,
.day-progress-text,
.day-section-count,
.day-card-name,
.day-card-tip,
.day-card-input-val,
.day-water-label,
.day-mood-l,
.day-prac-tag,
.day-prac-desc,
.day-prac-time,
.day-prac-cta,
.day-quote-t,
.modal-desc,
.modal-btn,
.tm-tip,
.tm-stop,
.toast {
  font-size: 14px;
  line-height: 1.5;
}

.hero-30-tag,
.home-rec-tag,
.cd-chip,
.bn-l {
  font-size: 12px;
  line-height: 1.3;
}

.cd-n,
.sc-n,
.home-rec-name,
.day-card-name {
  font-size: 16px;
}

.cd-row-inner {
  align-items: flex-start;
  padding: 17px 14px 17px 16px;
}

.cd-meta,
.day-prac-meta {
  gap: 7px;
}

.bottom-nav {
  padding: 8px 0 max(10px, env(safe-area-inset-bottom));
}

.bn-i {
  min-height: 54px;
  justify-content: center;
}

.toast {
  white-space: normal;
  text-align: center;
  width: max-content;
}

@media (max-width: 380px) {
  .cv-desc { font-size: 14px; }
  .mood-wrap { padding-top: 56px; }
  .mood-grid { gap: 10px; }
  .mood-c { min-height: 150px; padding: 16px 10px 14px; border-radius: 20px; }
  .home-wrap,
  .j-wrap { padding-left: 16px; padding-right: 16px; }
  .sec-list { padding-left: 14px; padding-right: 14px; }
  .cg-wrap { padding-left: 12px; padding-right: 12px; }
  .cd-row-inner { gap: 10px; }
  .cd-icon-wrap { width: 48px; height: 48px; }
  .day-content { padding-left: 14px; padding-right: 14px; }
  .r30-days { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .cv,
  .cv-halo,
  .cv-orbit-1,
  .cv-orbit-2,
  .cv-note-1,
  .cv-note-2,
  .dk1,
  .dk2,
  .dk3,
  .cd.cd-row,
  .cd-micro-breath span,
  .cd-micro-timer .cmt-ring,
  .cd-micro-heartpulse .cmh,
  .cd-micro-glimmer span,
  .cd-micro-cloudmini span,
  .cd-micro-bodywave span,
  .cd-micro-orb,
  .b-ring { animation: none !important; }
}
