:root {
  --ink: #08070E;
  --ink-2: #0D0B16;
  --ink-3: #131020;
  --cream: #F6EFE6;
  --cream-dim: rgba(246, 239, 230, 0.62);
  --cream-faint: rgba(246, 239, 230, 0.38);
  --gold: #E9B872;
  --gold-soft: rgba(233, 184, 114, 0.16);
  --violet: #8C7BB8;
  --line: rgba(246, 239, 230, 0.10);
  --radius: 18px;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --max: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* halo de fondo */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(900px 600px at 78% -10%, rgba(140, 123, 184, 0.18), transparent 60%),
    radial-gradient(700px 500px at 10% 8%, rgba(233, 184, 114, 0.10), transparent 60%),
    radial-gradient(1000px 800px at 50% 110%, rgba(140, 123, 184, 0.10), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.22;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

main, .nav, .foot { position: relative; z-index: 2; }

/* ---------- tipografía ---------- */
h1, h2, h3 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; margin: 0; }
h1 { font-size: clamp(46px, 6.4vw, 82px); line-height: 1.02; }
h1 em { font-style: italic; color: var(--gold); }
h2 { font-size: clamp(32px, 3.6vw, 50px); line-height: 1.1; }
h3 { font-size: clamp(22px, 2vw, 30px); line-height: 1.2; }
h4 { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); margin: 0 0 8px; }

p { margin: 0 0 16px; }
a { color: inherit; text-decoration: none; }
strong { font-weight: 500; color: var(--cream); }

.eyebrow {
  font-size: 11.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 18px;
  font-weight: 500;
}

.lead { font-size: clamp(16px, 1.35vw, 19px); color: var(--cream-dim); max-width: 46ch; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; gap: 32px;
  max-width: var(--max); margin: 0 auto;
  padding: 22px 28px;
  backdrop-filter: blur(14px);
  background: linear-gradient(to bottom, rgba(8, 7, 14, 0.86), rgba(8, 7, 14, 0.35));
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 24px; letter-spacing: 0.01em; }
.brand-mark { width: 17px; height: 17px; color: var(--gold); }
.nav-links { display: flex; gap: 26px; margin-left: auto; font-size: 14px; color: var(--cream-dim); }
.nav-links a { transition: color 0.2s; }
.nav-links a:hover { color: var(--cream); }
.nav .btn { margin-left: 8px; }

/* ---------- botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 24px;
  border-radius: 100px;
  font-size: 14.5px; font-weight: 500; letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(.2,.8,.2,1), background 0.25s, border-color 0.25s, box-shadow 0.3s;
  white-space: nowrap;
  font-family: var(--sans);
}
.btn-solid {
  background: linear-gradient(180deg, #F7F0E4, #E9B872);
  color: #17121F;
  box-shadow: 0 10px 30px -12px rgba(233, 184, 114, 0.55);
}
.btn-solid:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -14px rgba(233, 184, 114, 0.7); }
.btn-ghost { border-color: var(--line); color: var(--cream); background: rgba(255,255,255,0.02); }
.btn-ghost:hover { border-color: rgba(233,184,114,0.5); background: rgba(233,184,114,0.07); }
.btn-block { width: 100%; }
.link-sub { font-size: 14px; color: var(--cream-dim); border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: color .2s, border-color .2s; }
.link-sub:hover { color: var(--cream); border-color: var(--gold); }

/* ---------- hero ---------- */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 44px 28px 96px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - 90px);
}
.hero-actions { display: flex; align-items: center; gap: 22px; margin: 30px 0 42px; flex-wrap: wrap; }
.hero-facts { list-style: none; display: flex; gap: 30px; padding: 0; margin: 0; font-size: 13px; color: var(--cream-faint); flex-wrap: wrap; }
.hero-facts strong { color: var(--cream); font-weight: 500; }

.hero-card { position: relative; display: flex; flex-direction: column; align-items: center; }
.hero-card::before {
  content: ""; position: absolute; inset: 8% 6% 14%;
  background: radial-gradient(circle at 50% 45%, rgba(233,184,114,0.22), transparent 62%);
  filter: blur(48px); z-index: -1;
}
#card-hero, #card-demo, #card-result {
  width: 100%; max-width: 430px; aspect-ratio: 2 / 3;
  display: block;
  border-radius: 22px;
  filter: drop-shadow(0 40px 70px rgba(0,0,0,0.65));
  touch-action: none;
  cursor: grab;
}
#card-hero:active { cursor: grabbing; }
.card-caption { margin-top: 18px; font-size: 13px; color: var(--cream-faint); display: flex; align-items: center; gap: 8px; }
.card-caption strong { color: var(--cream-dim); font-weight: 500; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 12px var(--gold); }

/* ---------- secciones ---------- */
section { max-width: var(--max); margin: 0 auto; padding: 96px 28px; scroll-margin-top: 86px; }
.section-head { max-width: 620px; margin-bottom: 54px; }

.how .steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.steps li {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px 30px;
  background: linear-gradient(180deg, rgba(255,255,255,0.028), rgba(255,255,255,0.008));
  position: relative;
}
.step-n { font-family: var(--serif); font-size: 15px; color: var(--gold); opacity: .8; display: block; margin-bottom: 40px; letter-spacing: .08em; }
.steps h3 { font-family: var(--sans); font-size: 17px; font-weight: 500; margin-bottom: 10px; }
.steps p { font-size: 14.5px; color: var(--cream-dim); margin: 0; }

.thecard { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.thecard-visual { position: relative; display: flex; justify-content: center; }
.thecard-visual::after {
  content: ""; position: absolute; inset: 12% 14%; z-index: -1;
  background: radial-gradient(circle, rgba(140,123,184,0.22), transparent 65%);
  filter: blur(52px);
}
.thecard-copy p { color: var(--cream-dim); font-size: 16px; }
.ticks { list-style: none; padding: 0; margin: 26px 0 32px; }
.ticks li { position: relative; padding-left: 26px; font-size: 14.5px; color: var(--cream-dim); margin-bottom: 10px; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 8px; width: 12px; height: 12px; border-radius: 50%; border: 1px solid var(--gold); box-shadow: inset 0 0 0 3px var(--ink), inset 0 0 0 8px var(--gold-soft); }

/* ---------- lectura ---------- */
.reading {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 40px 44px;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.008));
  max-width: 820px;
}
.reading.demo { max-width: 820px; }
.reading-kicker { font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.reading h3 { font-size: clamp(28px, 3vw, 40px); margin-bottom: 18px; }
.reading-lead { font-size: 18px; color: var(--cream); line-height: 1.65; }
.reading-moon { font-size: 15.5px; color: var(--cream-dim); border-left: 2px solid var(--gold-soft); padding-left: 16px; }
.reading-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin: 30px 0; }
.reading-grid p { font-size: 15px; color: var(--cream-dim); margin: 0; }
.reading-ritual { font-size: 15px; color: var(--cream-dim); background: var(--gold-soft); border-radius: 12px; padding: 16px 18px; margin: 0 0 12px; }
.reading-ritual strong { color: var(--gold); }
.reading-human { font-size: 14px; color: var(--cream-faint); margin: 0; font-style: italic; }

/* ---------- form ---------- */
.create { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
.create-copy p { color: var(--cream-dim); font-size: 16px; }
.note { font-size: 13px !important; color: var(--cream-faint) !important; }
.form { border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; background: rgba(255,255,255,0.022); }
.field { margin-bottom: 22px; }
.field label { display: block; font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--cream-dim); margin-bottom: 10px; }
.hint { text-transform: none; letter-spacing: 0; color: var(--cream-faint); font-size: 12px; }
input[type="text"], input[type="date"] {
  width: 100%; padding: 15px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--line); border-radius: 12px;
  color: var(--cream); font-family: var(--sans); font-size: 16px; font-weight: 300;
  outline: none; transition: border-color .2s, background .2s;
}
input::placeholder { color: rgba(246,239,230,0.25); }
input:focus { border-color: rgba(233,184,114,0.6); background: rgba(233,184,114,0.06); }
input[type="date"]::-webkit-calendar-picker-indicator { filter: invert(0.8) sepia(1) saturate(3) hue-rotate(340deg); cursor: pointer; }

.segmented { display: flex; gap: 10px; }
.seg { flex: 1; position: relative; cursor: pointer; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: block; text-align: center; padding: 13px; border: 1px solid var(--line); border-radius: 12px; font-size: 14.5px; color: var(--cream-dim); transition: all .2s; }
.seg input:checked + span { border-color: var(--gold); background: var(--gold-soft); color: var(--cream); }
.form-error { color: #F08A7A; font-size: 13.5px; margin: 14px 0 0; }

/* ---------- resultado ---------- */
.result { border-top: 1px solid var(--line); }
.result-head { max-width: 720px; margin-bottom: 48px; }
.result-sub { color: var(--cream-dim); font-size: 16px; }
.result-body { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; }
.result-card { display: flex; flex-direction: column; align-items: center; gap: 16px; position: sticky; top: 100px; }
.result-card canvas { max-width: 380px; }
.result-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.result-actions .btn { padding: 12px 18px; font-size: 13.5px; }
.result-hint { font-size: 12px; color: var(--cream-faint); margin: 0; }

/* ---------- precio ---------- */
.pricing { display: flex; justify-content: center; }
.price-card {
  text-align: center; max-width: 620px;
  border: 1px solid rgba(233,184,114,0.28);
  border-radius: 24px; padding: 52px 44px;
  background: radial-gradient(600px 300px at 50% 0%, rgba(233,184,114,0.12), transparent 70%), rgba(255,255,255,0.02);
}
.price-card p { color: var(--cream-dim); font-size: 16px; }
.price-fine { font-size: 12.5px !important; color: var(--cream-faint) !important; margin-top: 18px; }

/* ---------- faq ---------- */
.faq-list { max-width: 760px; }
details { border-bottom: 1px solid var(--line); padding: 22px 0; }
details summary { cursor: pointer; font-size: 17px; font-family: var(--serif); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; color: var(--gold); font-family: var(--sans); font-size: 20px; line-height: 1; transition: transform .25s; }
details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--cream-dim); font-size: 15px; margin: 14px 0 0; max-width: 62ch; }

/* ---------- footer ---------- */
.foot { max-width: var(--max); margin: 0 auto; padding: 64px 28px 72px; border-top: 1px solid var(--line); }
.foot-brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 21px; margin-bottom: 14px; }
.foot-line { color: var(--cream-dim); font-size: 14.5px; max-width: 46ch; }
.foot-meta { color: var(--cream-faint); font-size: 12.5px; margin: 22px 0 0; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 940px) {
  .hero { grid-template-columns: 1fr; gap: 40px; padding-top: 20px; min-height: 0; }
  .hero-card { order: -1; }
  #card-hero { max-width: 330px; }
  .thecard, .create, .result-body { grid-template-columns: 1fr; gap: 40px; }
  .result-card { position: static; }
  .how .steps { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  section { padding: 72px 22px; }
  .reading { padding: 30px 26px; }
  .reading-grid { grid-template-columns: 1fr; gap: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- lo que descubres ---------- */
.section-sub { color: var(--cream-dim); font-size: 16px; max-width: 52ch; margin-top: 12px; }
.insight-grid {
  list-style: none; padding: 0; margin: 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
.insight-grid li {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 24px 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.028), rgba(255,255,255,0.006));
  transition: border-color .3s, transform .3s;
}
.insight-grid li:hover { border-color: rgba(233,184,114,0.32); transform: translateY(-3px); }
.insight-grid span { font-family: var(--serif); font-size: 14px; color: var(--gold); opacity: .75; display: block; margin-bottom: 26px; letter-spacing: .08em; }
.insight-grid h3 { font-family: var(--sans); font-size: 16.5px; font-weight: 500; margin-bottom: 8px; }
.insight-grid p { font-size: 14px; color: var(--cream-dim); margin: 0; }

/* ---------- subida de foto ---------- */
.drop {
  position: relative; border: 1px dashed rgba(246,239,230,0.22); border-radius: 14px;
  min-height: 168px; display: flex; align-items: center; justify-content: center;
  cursor: pointer; overflow: hidden; transition: border-color .25s, background .25s;
  background: rgba(255,255,255,0.02);
}
.drop:hover, .drop.over { border-color: rgba(233,184,114,0.55); background: rgba(233,184,114,0.05); }
.drop.over { transform: scale(0.997); }
.drop-inner { text-align: center; padding: 22px; color: var(--cream-dim); }
.drop-inner svg { color: var(--gold); margin-bottom: 10px; }
.drop-inner p { font-size: 14.5px; margin: 0 0 6px; }
.drop-inner strong { color: var(--cream); font-weight: 500; }
.drop-inner span { font-size: 12px; color: var(--cream-faint); }
.drop img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.drop.has-photo img { object-position: center 35%; }
.drop.has-photo .drop-inner { opacity: 0; pointer-events: none; }
.drop.has-photo::after {
  content: "Cambiar foto"; position: absolute; left: 12px; bottom: 12px;
  font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(8,7,14,0.7); border: 1px solid var(--line); padding: 6px 10px; border-radius: 100px;
  color: var(--cream-dim); backdrop-filter: blur(6px);
}
.drop-clear {
  position: absolute; right: 10px; top: 10px; z-index: 3;
  width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line);
  background: rgba(8,7,14,0.75); color: var(--cream); font-size: 18px; line-height: 1;
  cursor: pointer; backdrop-filter: blur(6px);
}
.drop-clear:hover { border-color: rgba(233,184,114,0.5); color: var(--gold); }

/* ---------- lectura del resultado ---------- */
.reading-blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 30px; margin: 26px 0 22px; }
.reading-block h4 { margin-bottom: 6px; }
.reading-block p { font-size: 14.5px; color: var(--cream-dim); margin: 0; }
.disclaimer { font-size: 12px; color: var(--cream-faint); border-top: 1px solid var(--line); padding-top: 14px; margin: 18px 0 0; }

/* ---------- overlay de generación ---------- */
body.busy { overflow: hidden; }
.revealing {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: center; justify-content: center;
  background: rgba(6,5,11,0.86); backdrop-filter: blur(10px);
  animation: fade-in .3s ease-out;
}
.revealing[hidden] { display: none; }
.revealing-inner { text-align: center; max-width: 420px; padding: 32px; }
.orb { position: relative; width: 96px; height: 96px; margin: 0 auto 28px; }
.orb span {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(233,184,114,0.5);
  animation: orb-pulse 2.6s ease-out infinite;
}
.orb span:nth-child(2) { animation-delay: .8s; }
.orb span:nth-child(3) { animation-delay: 1.6s; }
.orb::after {
  content: ""; position: absolute; inset: 38px; border-radius: 50%;
  background: radial-gradient(circle, #F7F1E7, #E9B872 60%, transparent 72%);
  box-shadow: 0 0 30px rgba(233,184,114,0.7);
}
@keyframes orb-pulse { 0% { transform: scale(.55); opacity: 0; } 30% { opacity: .9; } 100% { transform: scale(1.35); opacity: 0; } }
.step-text { font-family: var(--serif); font-size: 24px; color: var(--cream); margin: 0 0 18px; }
.step-track { height: 3px; background: rgba(246,239,230,0.12); border-radius: 4px; overflow: hidden; margin-bottom: 14px; }
.step-bar { height: 100%; width: 8%; background: linear-gradient(90deg, #E9B872, #F7F1E7); border-radius: 4px; transition: width .9s cubic-bezier(.2,.8,.2,1); }
.step-note { font-size: 12.5px; color: var(--cream-faint); margin: 0; }

@media (max-width: 940px) {
  .insight-grid { grid-template-columns: 1fr 1fr; }
  .reading-blocks { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 560px) {
  .insight-grid { grid-template-columns: 1fr; }
}

/* ---------- v3: foto estable, quiz, capítulos ilustrados ---------- */
.drop {
  aspect-ratio: 16 / 10;
  min-height: 0;
  contain: layout paint;
}
.drop img { object-position: center 38%; }

.field-note { font-size: 12px; color: var(--cream-faint); margin: 8px 0 0; }

.btn:disabled { opacity: .55; cursor: progress; transform: none; }

/* quiz */
.quiz { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 18px; }
.quiz[hidden] { display: none; }
.quiz-head { font-size: 13px; color: var(--cream-dim); margin: 0 0 14px; }
.quiz-q { margin-bottom: 16px; }
.quiz-title { font-size: 13.5px; color: var(--cream); margin: 0 0 8px; font-weight: 500; }
.quiz-opts { display: grid; gap: 6px; }
.quiz-opt { position: relative; cursor: pointer; }
.quiz-opt input { position: absolute; opacity: 0; pointer-events: none; }
.quiz-opt span {
  display: block; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px;
  font-size: 13px; color: var(--cream-dim); transition: all .18s;
}
.quiz-opt input:checked + span { border-color: rgba(233,184,114,0.6); background: var(--gold-soft); color: var(--cream); }

/* capítulos */
.reading-blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 28px; margin: 28px 0 22px; }
.reading-block { margin: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: rgba(255,255,255,0.02); }
.block-media {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  background: radial-gradient(120% 100% at 50% 0%, rgba(140,123,184,0.18), rgba(8,7,14,0.9));
  display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid var(--line);
}
.block-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.block-media svg.glyph { width: 120px; height: 120px; color: var(--gold); opacity: .9; filter: drop-shadow(0 0 18px rgba(233,184,114,0.35)); }
.block-media::after {
  content: ""; position: absolute; inset: 22%; border-radius: 50%;
  background: radial-gradient(circle, rgba(233,184,114,0.14), transparent 70%);
  pointer-events: none;
}
.block-body { padding: 18px 18px 20px; }
.block-body h4 { margin-bottom: 6px; }
.block-body p { font-size: 14px; color: var(--cream-dim); margin: 0; }

@media (max-width: 940px) {
  .reading-blocks { grid-template-columns: 1fr; gap: 20px; }
}

/* ---------- v4: recorte, iconos, llegada de la carta ---------- */
.drop { position: relative; }
.drop.has-photo .drop-inner, .drop.has-photo .drop-actions { display: none; }
.drop-actions { position: absolute; inset: auto 0 10px 0; display: flex; gap: 8px; justify-content: center; z-index: 2; }
.drop-inner { padding-bottom: 44px; }
.drop-inner span { display: none; }
.mini {
  font: inherit; font-size: 12px; letter-spacing: .02em; cursor: pointer;
  padding: 7px 12px; border-radius: 999px; color: var(--cream);
  background: rgba(12,9,20,.72); border: 1px solid var(--line); backdrop-filter: blur(6px);
}
.mini:hover { border-color: rgba(233,184,114,.5); color: #fff; }

.crop-modal {
  position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 18px;
  background: rgba(5,4,10,.86); backdrop-filter: blur(8px);
}
body.crop-open { overflow: hidden; }
.crop-card {
  width: min(400px, 100%); background: #0d0b16; border: 1px solid var(--line);
  border-radius: 20px; padding: 18px; box-shadow: 0 30px 80px rgba(0,0,0,.6);
}
.crop-title { font-family: var(--serif); font-size: 24px; margin: 0 0 4px; color: var(--cream); }
.crop-hint { font-size: 12.5px; color: var(--cream-dim); margin: 0 0 14px; line-height: 1.5; }
.crop-stage {
  position: relative; margin: 0 auto; overflow: hidden; touch-action: none;
  border-radius: 14px; background: #08060e; cursor: grab;
  box-shadow: inset 0 0 0 1px rgba(233,184,114,.35);
}
.crop-stage:active { cursor: grabbing; }
.crop-stage img { position: absolute; top: 0; left: 0; user-select: none; -webkit-user-drag: none; will-change: transform; }
.crop-zoom { width: 100%; margin: 14px 0 4px; accent-color: #E9B872; }
.crop-actions { display: flex; gap: 10px; margin-top: 8px; }
.crop-actions .btn { flex: 1; justify-content: center; }

/* capítulos con icono y trama */
.block-media {
  background:
    radial-gradient(120% 100% at 50% 10%, rgba(140,123,184,.16), transparent 60%),
    radial-gradient(circle at 20% 80%, rgba(233,184,114,.10), transparent 55%),
    #0a0812;
}
.block-media .glyph { width: 108px; height: 108px; }
.block-num {
  position: absolute; top: 12px; left: 14px; font-size: 10.5px; letter-spacing: .22em;
  color: rgba(233,184,114,.75);
}
.reading-block { transition: transform .5s cubic-bezier(.2,.7,.2,1), border-color .4s; }
.reading-block:hover { transform: translateY(-3px); border-color: rgba(233,184,114,.35); }

#resultado { transition: opacity .5s ease; }
#resultado.is-preparing { opacity: 0; pointer-events: none; }

#reading-intro p { margin: 0 0 12px; }
#reading-intro p:last-child { margin-bottom: 0; }

@media (max-width: 560px) {
  .drop { aspect-ratio: 4 / 3; }
  .drop-inner { padding-bottom: 48px; }
}

/* ---------- v5: iconos en segmentados, fecha en selectores, la orden ---------- */
.seg span { display: flex; align-items: center; justify-content: center; gap: 8px; }
.seg svg { width: 19px; height: 19px; flex: none; opacity: .9; }
.seg input:checked + span svg { opacity: 1; color: var(--gold); }

.date-row { display: grid; grid-template-columns: 0.85fr 1.25fr 0.95fr; gap: 8px; }
.date-row select {
  width: 100%; appearance: none; -webkit-appearance: none;
  background-color: rgba(255,255,255,.03);
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238f87a3' stroke-width='1.8'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 10px center; background-size: 15px;
  border: 1px solid var(--line); border-radius: 11px; color: var(--cream);
  font: inherit; font-size: 14px; padding: 12px 30px 12px 12px; cursor: pointer;
}
.date-row select:focus { outline: none; border-color: rgba(233,184,114,.55); }
.date-row select option { background: #14101f; color: var(--cream); }

.reading-order {
  margin: 26px 0 8px; padding: 20px 22px; border-radius: 16px;
  border: 1px solid rgba(233,184,114,.35);
  background: linear-gradient(160deg, rgba(233,184,114,.10), rgba(140,123,184,.05));
}
.order-kicker {
  font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase;
  color: var(--gold); margin: 0 0 8px;
}
.order-text { font-family: var(--serif); font-size: 21px; line-height: 1.35; color: var(--cream); margin: 0; }

/* ---------- v6: selectores sueltos y bloque de consejo ---------- */
.field > select {
  width: 100%; appearance: none; -webkit-appearance: none;
  background-color: rgba(255,255,255,.03);
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238f87a3' stroke-width='1.8'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 16px;
  border: 1px solid var(--line); border-radius: 11px; color: var(--cream);
  font: inherit; font-size: 14.5px; padding: 13px 34px 13px 14px; cursor: pointer;
}
.field > select:focus { outline: none; border-color: rgba(233,184,114,.55); }
.field > select option { background: #14101f; color: var(--cream); }

.reading-advice {
  margin: 6px 0 10px; padding: 20px 22px; border-radius: 16px;
  border: 1px dashed rgba(140,123,184,.45);
  background: rgba(140,123,184,.05);
}
.advice-text { font-size: 15px; line-height: 1.62; color: var(--cream-dim); margin: 0; }
