:root {
  --ink: #2a1b2e;
  --muted: #7d7186;
  --paper: #fffaf6;
  --rose: #ef6f8e;
  --violet: #8b6cf0;
  --gold: #f6c66b;
  --line: rgba(80, 50, 90, 0.12);
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }

body {
  margin: 0;
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", sans-serif;
  background:
    radial-gradient(60% 45% at 12% -5%, rgba(246, 198, 107, 0.30), transparent 70%),
    radial-gradient(55% 45% at 92% 0%, rgba(139, 108, 240, 0.22), transparent 70%),
    radial-gradient(70% 55% at 50% 110%, rgba(239, 111, 142, 0.18), transparent 70%),
    linear-gradient(180deg, #fff8f3 0%, #f7f0ff 48%, #fff6f2 100%);
  overflow-x: hidden;
}

#ambient {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.glow {
  position: fixed;
  width: 46vw;
  height: 46vw;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  pointer-events: none;
  z-index: 0;
  animation: glowDrift 18s ease-in-out infinite alternate;
}
@keyframes glowDrift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(4vw, -3vw) scale(1.15); }
}
body[data-style="night"] .glow-a, body[data-style="aurora"] .glow-a { background: #6d5adf; }
body[data-style="night"] .glow-b, body[data-style="aurora"] .glow-b { background: #3fa8d4; }
body[data-style="mint"] .glow-a { background: #7fe0b4; }
body[data-style="mint"] .glow-b { background: #a8e6cd; }
body[data-style="festival"] .glow-a { background: #ffb0c4; }
body[data-style="festival"] .glow-b { background: #ffd98a; }
body[data-style="ocean"] .glow-a { background: #7cc9f0; }
body[data-style="ocean"] .glow-b { background: #a8e4ff; }
body[data-style="ember"] .glow-a { background: #ff8a4c; }
body[data-style="ember"] .glow-b { background: #ffc07a; }
body[data-style="sakura"] .glow-a { background: #f2a0c4; }
body[data-style="sakura"] .glow-b { background: #ffd9e8; }
body[data-style="forest"] .glow-a { background: #7cc98a; }
body[data-style="forest"] .glow-b { background: #c4e8bc; }

.partner-ad {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding: 12px 14px 0;
}
.partner-ad a {
  color: #7a5d6e;
  text-decoration: none;
  font-size: 13px;
  padding: 5px 12px;
  border: 1px solid rgba(139, 108, 240, 0.25);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 4px 14px rgba(120, 70, 110, 0.08);
  transition: color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.partner-ad a:hover { color: var(--violet); border-color: rgba(139, 108, 240, 0.6); box-shadow: 0 6px 18px rgba(139, 108, 240, 0.18); }

@keyframes cardIn {
  from { opacity: 0; transform: translateY(14px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.result-panel canvas { animation: cardIn 0.5s cubic-bezier(0.2,0.8,0.25,1); }
.result-panel { position: relative; }
#card-fx {
  position: absolute;
  pointer-events: none;
  z-index: 1;
}
@media (prefers-reduced-motion: reduce) {
  #card-fx, #ambient { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .glow { animation: none; }
  .result-panel canvas { animation: none; }
}
.glow-a { top: -18vw; left: -12vw; background: #ffb7c8; }
.glow-b { right: -16vw; bottom: -20vw; background: #b9a8ff; }

.shell {
  position: relative;
  z-index: 1;
  width: min(1320px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 44px;
}

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

.back {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
}
.back:hover { color: var(--violet); }

.badge {
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  color: #7a5d8a;
  font-size: 13px;
  box-shadow: 0 6px 20px rgba(90, 50, 120, 0.06);
}

.hero {
  text-align: center;
  padding: 46px 0 34px;
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 12px;
  letter-spacing: 0.28em;
  color: #b08aa0;
  font-weight: 700;
}

.hero h1 {
  margin: 0;
  font-size: clamp(38px, 6vw, 64px);
  letter-spacing: 0.08em;
  background: linear-gradient(120deg, #e35f84, #8b6cf0 65%, #e8a13c);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  margin: 16px 0 0;
  font-size: 17px;
  line-height: 1.9;
  color: #6e6177;
}

.generator {
  display: grid;
  grid-template-columns: minmax(380px, 0.9fr) minmax(480px, 1.1fr);
  gap: 28px;
  align-items: start;
}

.panel {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 26px;
  padding: 26px;
  box-shadow: 0 20px 60px rgba(90, 50, 120, 0.10);
  backdrop-filter: blur(18px);
}

.input-panel label {
  display: block;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 12px;
}

textarea {
  width: 100%;
  min-height: 160px;
  resize: vertical;
  border-radius: 18px;
  border: 1px solid rgba(139, 108, 240, 0.28);
  background: rgba(255, 255, 255, 0.86);
  padding: 18px 18px;
  font: inherit;
  font-size: 16px;
  line-height: 1.8;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
textarea:focus {
  border-color: rgba(139, 108, 240, 0.65);
  box-shadow: 0 0 0 4px rgba(139, 108, 240, 0.10);
}

.meta-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 10px 2px 18px;
  font-size: 13px;
  color: var(--muted);
}
.counter.low { color: #e35f84; font-weight: 700; }

.styles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 20px;
}

.style-chip {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.9);
  color: #6b6075;
  padding: 8px 9px;
  border-radius: 12px;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  text-align: left;
  transition: all 0.2s;
}
.style-chip::before {
  content: '';
  flex: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--chip, #ccc);
  box-shadow: 0 0 0 2px rgba(255,255,255,0.9), 0 2px 6px rgba(0,0,0,0.12);
}
.style-chip:hover { transform: translateY(-2px); border-color: var(--chip); }
.style-chip.is-active {
  color: #4a2f3a;
  border-color: var(--chip);
  background: #fff;
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(90,50,120,0.14);
}
.style-chip.is-active::after {
  content: '✓';
  margin-left: auto;
  color: var(--chip);
  font-size: 13px;
}

.primary, .secondary {
  width: 100%;
  border: 0;
  border-radius: 16px;
  padding: 16px 20px;
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s, opacity 0.2s, box-shadow 0.2s;
}
.primary {
  color: #fff;
  background: linear-gradient(120deg, #ef6f8e, #8b6cf0);
  box-shadow: 0 14px 34px rgba(139, 108, 240, 0.28);
}
.primary:hover:not(:disabled), .secondary:hover:not(:disabled) { transform: translateY(-2px); }
.primary:disabled, .secondary:disabled { opacity: 0.45; cursor: not-allowed; box-shadow: none; }

.secondary {
  color: #6c4f7d;
  background: rgba(139, 108, 240, 0.10);
  border: 1px solid rgba(139, 108, 240, 0.25);
}

.hint {
  margin: 14px 0 0;
  text-align: center;
  font-size: 12px;
  color: #9a8fa3;
}

.result-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin-bottom: 16px;
  font-weight: 700;
  font-size: 15px;
}
.watermark-note {
  font-weight: 400;
  font-size: 12px;
  color: var(--muted);
}

#card {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 16px 44px rgba(60, 30, 80, 0.18);
  background: #f8e8ee;
}

.actions { margin-top: 16px; display: grid; gap: 10px; }

.recent {
  margin-top: 34px;
}
.recent h2 {
  font-size: 18px;
  margin: 0 0 14px;
}
.recent-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
}
.recent-item {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  border-radius: 16px;
  padding: 14px;
  font-size: 13px;
  line-height: 1.7;
  color: #6b6075;
  cursor: pointer;
}
.recent-item:hover { border-color: rgba(139, 108, 240, 0.5); }
.recent-item b {
  display: block;
  font-size: 11px;
  color: #a291ad;
  margin-bottom: 6px;
  font-weight: 600;
}

.foot a { color: var(--violet); text-decoration: none; }
.foot a:hover { text-decoration: underline; }

.foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: #9a8fa3;
}

@media (max-width: 860px) {
  .generator { grid-template-columns: 1fr; }
  .hero { padding: 34px 0 26px; }
  .panel { padding: 20px; }
}

.brand-mini {
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #7a4e78;
}
.top-actions { display: flex; align-items: center; gap: 10px; }
.upgrade {
  border: 0;
  border-radius: 999px;
  padding: 8px 16px;
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  background: linear-gradient(120deg, #e9a33c, #ef6f8e 60%, #8b6cf0);
  box-shadow: 0 8px 22px rgba(220, 120, 100, 0.22);
}

.custom-row { margin: 0 0 12px; }
.custom-row label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #6c6076;
}
.pro-tag {
  display: inline-block;
  margin-left: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  color: #8a5a00;
  background: rgba(246, 198, 107, 0.35);
}
.custom-row input {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.7);
  padding: 11px 14px;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  outline: none;
}
.custom-row input:disabled { opacity: 0.55; cursor: not-allowed; }
.custom-row input:focus { border-color: rgba(139,108,240,0.6); }

.style-chip.is-locked {
  opacity: 0.55;
  border-style: dashed;
}
.style-chip.is-locked::after { content: ' 🔒'; font-size: 11px; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(36, 20, 44, 0.55);
  backdrop-filter: blur(10px);
}
.modal[hidden] { display: none; }
.modal-card {
  position: relative;
  width: min(880px, 100%);
  max-height: 90vh;
  overflow: auto;
  border-radius: 28px;
  padding: 32px;
  background: linear-gradient(180deg, #fffaf7, #f8f2ff);
  box-shadow: 0 30px 80px rgba(40, 20, 60, 0.3);
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  border: 0;
  background: transparent;
  font-size: 28px;
  color: #9a8fa3;
  cursor: pointer;
}
.modal-card h2 { margin: 0 0 6px; font-size: 28px; }
.modal-lead { margin: 0 0 22px; color: var(--muted); font-size: 14px; }

.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.plan {
  position: relative;
  border-radius: 20px;
  padding: 20px;
  background: #fff;
  border: 1px solid var(--line);
}
.plan.featured {
  border-color: rgba(139,108,240,0.55);
  box-shadow: 0 12px 32px rgba(139,108,240,0.16);
}
.plan-tag {
  position: absolute;
  top: -10px;
  right: 16px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  color: #fff;
  background: linear-gradient(120deg, #ef6f8e, #8b6cf0);
}
.plan h3 { margin: 0 0 8px; font-size: 16px; }
.plan .price { margin: 0 0 12px; font-size: 24px; font-weight: 800; color: #7a4e78; }
.plan .price small { font-size: 12px; font-weight: 500; color: var(--muted); }
.plan ul { margin: 0; padding-left: 18px; font-size: 13px; line-height: 1.9; color: #6b6075; }

.pay-region { margin-top: 24px; }
.region-label {
  font-size: 13px;
  font-weight: 700;
  color: #6c5a8a;
  margin-bottom: 14px;
}
.pay-buttons { display: flex; gap: 10px; flex-wrap: wrap; }
.pay-btn {
  flex: 1 1 160px;
  border: 1px solid rgba(139,108,240,0.3);
  border-radius: 14px;
  padding: 13px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  color: #6c4f7d;
  background: rgba(139,108,240,0.08);
  cursor: pointer;
}
.pay-btn.primary-pay {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(120deg, #ef6f8e, #8b6cf0);
}
.pay-note { margin: 12px 0 0; font-size: 12px; color: #9a8fa3; }
.dev-unlock {
  margin-top: 12px;
  border: 1px dashed #b6a7c6;
  background: transparent;
  border-radius: 10px;
  padding: 8px 12px;
  font: inherit;
  font-size: 12px;
  color: #8b7d9a;
  cursor: pointer;
}

.no-ai-note { margin: 10px 0 0; font-size: 12px; color: #a4929f; font-style: italic; }

/* ---- account modal (WORKFLOWS §11.2/§11.3) ---- */
.account-btn {
  border: 1px solid rgba(139,108,240,0.3);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 13px;
  color: #6c4f7d;
  background: rgba(255,255,255,0.7);
  cursor: pointer;
}
.account-btn:hover { border-color: #8b6cf0; color: #4a3570; }
.acc-modal {
  position: fixed; inset: 0; z-index: 30;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
  background: rgba(24,16,32,0.55);
  backdrop-filter: blur(6px);
}
.acc-card {
  width: min(420px, 100%);
  max-height: 90vh; overflow: auto;
  padding: 26px;
  border: 1px solid rgba(139,108,240,0.25);
  border-radius: 22px;
  background: rgba(255,250,252,0.98);
  box-shadow: 0 30px 80px rgba(60,30,70,0.3);
}
.acc-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.acc-title { margin: 0; font-size: 22px; color: #4a2f3a; }
.acc-close { border: 0; background: transparent; font-size: 20px; color: #9a8fa3; cursor: pointer; padding: 2px 8px; }
.acc-sub { margin: 8px 0 18px; font-size: 13px; line-height: 1.5; color: #9a8fa3; }
.acc-tabs { display: flex; gap: 8px; margin-bottom: 16px; border-bottom: 1px solid rgba(139,108,240,0.18); }
.acc-tab {
  flex: 1; border: 0; border-bottom: 2px solid transparent;
  padding: 10px; background: transparent; cursor: pointer;
  font-size: 14px; color: #9a8fa3;
}
.acc-tab.is-active { color: #6c4f7d; border-bottom-color: #ef6f8e; font-weight: 700; }
.acc-form { display: flex; flex-direction: column; gap: 12px; }
.acc-input {
  width: 100%; box-sizing: border-box;
  padding: 12px 14px;
  border: 1px solid rgba(139,108,240,0.3);
  border-radius: 12px;
  font: inherit; font-size: 14px;
  color: #4a2f3a; background: #fff;
}
.acc-input:focus { outline: 2px solid rgba(139,108,240,0.35); }
.pw-row { position: relative; }
.pw-row .acc-input { padding-right: 46px; }
.pw-eye {
  position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
  width: 34px; height: 34px; border: 0; border-radius: 8px;
  background: transparent; color: #9a8fa3; cursor: pointer;
  display: grid; place-items: center;
}
.pw-eye:hover { color: #6c4f7d; background: rgba(139,108,240,0.08); }
.acc-error { margin: 0; min-height: 18px; color: #d3466b; font-size: 12px; }
.acc-link { align-self: flex-start; border: 0; background: transparent; padding: 0; color: #8b6cf0; font-size: 12px; cursor: pointer; }
.acc-actions { display: flex; gap: 10px; }
.acc-actions .primary, .acc-actions .secondary { width: auto; flex: 1; padding: 11px 14px; font-size: 14px; }
.acc-toast {
  position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%);
  z-index: 40; padding: 12px 22px; border-radius: 999px;
  background: #4a2f3a; color: #fff; font-size: 13px;
  box-shadow: 0 12px 34px rgba(60,30,70,0.3);
}

@media (max-width: 720px) {
  .plans { grid-template-columns: 1fr; }
  .modal-card { padding: 24px 18px; }
  .brand-mini { display: none; }
  .top-actions { gap: 6px; }
  .account-btn { padding: 6px 10px; font-size: 12px; }
}

/* ===== VISUAL RITUAL (2026-11-19 product redefinition) — overrides old layout ===== */
.shell { width: min(1080px, calc(100% - 36px)); }
.hero { padding: 30px 0 22px; }
.hero h1 { font-size: clamp(40px, 6vw, 68px); }
.lead { font-size: 17px; line-height: 1.7; }

.ritual {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  gap: 26px;
  align-items: stretch;
}

.stage {
  position: relative;
  min-height: 520px;
  border-radius: 30px;
  overflow: hidden;
  cursor: pointer;
  background: radial-gradient(circle at 50% 42%, rgba(255,255,255,0.9), rgba(255,255,255,0.35) 45%, rgba(255,255,255,0.06));
  border: 1px solid rgba(255,255,255,0.85);
  box-shadow: 0 30px 80px rgba(90,50,120,0.13), inset 0 0 80px rgba(255,255,255,0.4);
  transition: box-shadow 0.8s ease, transform 0.8s ease;
}
body[data-style="night"] .stage, body[data-style="aurora"] .stage, body[data-style="ember"] .stage {
  background: radial-gradient(circle at 50% 42%, rgba(255,255,255,0.12), rgba(255,255,255,0.03) 45%, rgba(0,0,0,0.25));
  border-color: rgba(255,255,255,0.15);
}
.stage.is-gathering { transform: scale(0.99); }
.stage.is-blooming { box-shadow: 0 40px 120px rgba(90,50,120,0.24), inset 0 0 140px rgba(255,255,255,0.55); }
#bloom-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; }

.stage-idle {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 20px; pointer-events: none;
  transition: opacity 0.5s ease;
}
.stage.is-gathering .stage-idle, .stage.is-blooming .stage-idle { opacity: 0; }
.idle-hint { margin: 0; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: #9a8fa3; }
.seed-orb {
  width: 74px; height: 74px; border-radius: 50%;
  background: radial-gradient(circle at 38% 34%, #fff, var(--violet) 70%);
  box-shadow: 0 0 0 10px rgba(139,108,240,0.08), 0 0 46px rgba(139,108,240,0.5);
  animation: seedPulse 3.2s ease-in-out infinite;
  pointer-events: auto; cursor: pointer;
}
@keyframes seedPulse {
  0%, 100% { transform: scale(1); box-shadow: 0 0 0 10px rgba(139,108,240,0.08), 0 0 46px rgba(139,108,240,0.5); }
  50% { transform: scale(1.09); box-shadow: 0 0 0 18px rgba(139,108,240,0.05), 0 0 64px rgba(139,108,240,0.65); }
}
body[data-style="warm"] .seed-orb { background: radial-gradient(circle at 38% 34%, #fff, #ef6f8e 70%); }
body[data-style="mint"] .seed-orb, body[data-style="forest"] .seed-orb { background: radial-gradient(circle at 38% 34%, #fff, #3dbb86 70%); }
body[data-style="ember"] .seed-orb { background: radial-gradient(circle at 38% 34%, #fff, #ff8a4c 70%); }
body[data-style="sakura"] .seed-orb { background: radial-gradient(circle at 38% 34%, #fff, #e875a5 70%); }
body[data-style="ocean"] .seed-orb { background: radial-gradient(circle at 38% 34%, #fff, #2b9bd6 70%); }
.seed-orb.is-gathering { animation: none; transform: scale(0.2); opacity: 0; transition: transform 0.8s ease, opacity 0.8s ease; }
.sound-toggle {
  position: absolute; bottom: 16px; right: 16px; z-index: 4;
  border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 14px; font-size: 12px; color: #7a5d8a;
  background: rgba(255,255,255,0.8); cursor: pointer;
}
body[data-style="night"] .sound-toggle, body[data-style="aurora"] .sound-toggle, body[data-style="ember"] .sound-toggle {
  color: #e8e0f5; background: rgba(30,25,45,0.6); border-color: rgba(255,255,255,0.2);
}

.controls { display: flex; flex-direction: column; gap: 14px; }
.controls .styles { margin-bottom: 4px; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.style-chip { aspect-ratio: 1.5; justify-content: center; padding: 10px; }
.style-chip::before { width: 22px; height: 22px; }
.bloom-btn {
  width: 100%; padding: 16px; border-radius: 16px;
  font-size: 17px; letter-spacing: 0.05em;
  background: linear-gradient(120deg, #ef6f8e, #8b6cf0);
  color: #fff; border: 0; cursor: pointer;
  box-shadow: 0 12px 30px rgba(139,108,240,0.32);
  transition: transform 0.2s, box-shadow 0.2s;
}
.bloom-btn:hover:not(:disabled) { transform: translateY(-2px); box-shadow: 0 18px 38px rgba(139,108,240,0.42); }
.bloom-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.ritual-label { color: #8b6cf0; font-weight: 700; }

.daily-card {
  margin-top: 8px; padding: 14px; border-radius: 20px;
  background: rgba(255,255,255,0.7); border: 1px solid rgba(255,255,255,0.9);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  box-shadow: 0 12px 36px rgba(90,50,120,0.08);
}
body[data-style="night"] .daily-card, body[data-style="aurora"] .daily-card, body[data-style="ember"] .daily-card {
  background: rgba(30,25,45,0.5); border-color: rgba(255,255,255,0.14);
}
.daily-tag { font-size: 10px; letter-spacing: 0.2em; color: #9a8fa3; }
#daily-canvas { width: 160px; height: 160px; border-radius: 14px; }
.daily-name { font-size: 14px; font-weight: 700; color: #7a5d8a; }
body[data-style="night"] .daily-name, body[data-style="aurora"] .daily-name, body[data-style="ember"] .daily-name { color: #e8e0f5; }

@media (max-width: 860px) {
  .ritual { grid-template-columns: 1fr; }
  .stage { min-height: 400px; }
  .controls .styles { grid-template-columns: repeat(3, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
