:root{
  --ink:#26343b;
  --muted:#718087;
  --accent:#5e8f86;
  --accent-dark:#416d66;
  --accent-soft:#e4f0ec;
  --sky:#dcecf6;
  --lav:#e7e3f4;
  --cream:#f8f7f1;
  --peach:#f5dfcf;
  --card:rgba(255,255,255,.86);
  --line:#dfe8e5;
  --shadow:0 22px 58px rgba(55,77,78,.12);
}
*{box-sizing:border-box}
html,body{margin:0;width:100%;min-height:100%;}
html{scroll-behavior:smooth}
body{
  min-height:100svh;
  background:linear-gradient(145deg,#f8faf6 0%,#f5f7f3 42%,#f2f5f8 100%);
  font-family:Inter,ui-rounded,"SF Pro Rounded",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:var(--ink);
  overflow:hidden;
  display:flex;
  flex-direction:column;
}
button,select,textarea{font-family:inherit}
button,a{-webkit-tap-highlight-color:transparent}
.aurora{position:fixed;border-radius:50%;filter:blur(10px);opacity:.5;pointer-events:none;z-index:-2}
.a1{width:330px;height:330px;background:#cfe8df;left:-130px;top:-105px;animation:drift 12s ease-in-out infinite}
.a2{width:300px;height:300px;background:#dbe5f2;right:-95px;top:17%;animation:drift 14s ease-in-out infinite reverse}
.a3{width:275px;height:275px;background:#e7e1f2;left:34%;bottom:-185px;animation:drift 17s ease-in-out infinite}
.sparkles i{position:fixed;font-style:normal;color:#719b94;opacity:.27;z-index:-1;animation:twinkle 3s ease-in-out infinite}
.sparkles i:nth-child(1){left:6%;top:17%}.sparkles i:nth-child(2){left:89%;top:11%;animation-delay:.7s}.sparkles i:nth-child(3){left:81%;top:76%;animation-delay:1.4s}.sparkles i:nth-child(4){left:18%;top:82%;animation-delay:.3s}.sparkles i:nth-child(5){left:57%;top:12%;animation-delay:1.9s}.sparkles i:nth-child(6){left:43%;top:88%;animation-delay:1.1s}
.topbar{height:58px;flex:0 0 58px;width:min(1220px,100%);margin:auto;padding:0 20px;display:flex;align-items:center;justify-content:space-between}
.brand{text-decoration:none;color:var(--ink);font-size:20px;font-weight:850;letter-spacing:-.9px;display:flex;align-items:center}
.brand>span:last-child{color:var(--accent)}
.brand-mark{display:inline-grid;place-items:center;width:25px;height:25px;margin-right:7px;background:var(--accent-soft);border:1px solid #cfe3dd;border-radius:9px;color:var(--accent);transform:rotate(-6deg);font-size:13px}
.top-actions{display:flex;gap:7px;align-items:center}
/* Firma ChatGPT — visible junto a Mi perfil en escritorio */
.chatgpt-credit{
  align-self:center;
  margin-right:2px;
  color:#8b989a;
  font-size:9px;
  line-height:1;
  white-space:nowrap;
  opacity:.78;
}
.chatgpt-credit strong{font-weight:800;color:#6f8285}
@media(max-width:700px){.chatgpt-credit{display:none}}

.app-shell{width:min(1180px,100%);margin:0 auto;padding:4px 18px 6px;display:grid;grid-template-columns:180px minmax(0,1fr);gap:18px;position:relative;flex:1;min-height:0}
.setup-banner{grid-column:1/-1;padding:8px 12px;border:1px solid #edd8ae;background:#fff8e8;border-radius:12px;font-size:12px}.setup-banner a{color:inherit;font-weight:800}
.mascot-column{padding-top:38px;position:relative;min-height:0}
.mascot-wrap{position:relative;animation:float 5s ease-in-out infinite;width:154px;margin:auto}
.mascot{width:100%;display:block;margin:auto;overflow:visible}
.mascot ellipse{fill:#b8c9c4!important;opacity:.28!important}
.star-body{fill:#f4f8f5;stroke:var(--accent);stroke-width:5;stroke-linejoin:round;transform-origin:50% 75%;animation:wiggle 5s ease-in-out infinite}
.face path{fill:none;stroke:var(--ink);stroke-width:6;stroke-linecap:round;transform-origin:center;animation:blink 5s infinite}.face .mouth{stroke-width:4;animation:none}
.blush{fill:#e3ad91;opacity:.17}.arm{fill:none;stroke:var(--accent);stroke-width:5;stroke-linecap:round}
.mascot-orbit{position:absolute;right:-2px;top:25px;color:var(--accent);font-size:20px;animation:orbit 5s ease-in-out infinite}.mascot-orbit.o2{left:1px;right:auto;top:98px;color:#7688ad;animation-delay:1s}
.speech{margin:2px auto 0;max-width:174px;background:rgba(255,255,255,.72);border:1px solid var(--line);border-radius:17px 17px 17px 6px;padding:10px 11px;font-size:11.5px;line-height:1.4;color:var(--muted);box-shadow:0 10px 28px rgba(65,88,86,.06)}
.stage{background:var(--card);border:1px solid rgba(218,230,226,.95);border-radius:27px;height:100%;min-height:0;padding:18px 22px;box-shadow:var(--shadow);backdrop-filter:blur(18px);position:relative;overflow:hidden}
.progress{height:9px;display:flex;gap:6px;margin-bottom:12px}.progress i{width:8px;height:8px;border-radius:20px;background:#dbe5e2;transition:.35s}.progress i.active{width:26px;background:var(--accent)}
.step{display:none;animation:rise .42s cubic-bezier(.2,.8,.2,1);height:calc(100% - 21px);min-height:0}.step.active{display:block}
.eyebrow{text-transform:uppercase;letter-spacing:.14em;font-size:9px;font-weight:900;color:#74958f}
.step h1{font-size:clamp(27px,3.3vw,36px);margin:3px 0 3px;letter-spacing:-1.25px;line-height:1.06}.lead{margin:0 0 12px;color:var(--muted);font-size:13px}
.mood-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.mood{min-height:63px;background:rgba(255,255,255,.9);border:1px solid var(--line);border-radius:15px;padding:7px;cursor:pointer;color:var(--ink);font:inherit;transition:.18s ease;box-shadow:0 5px 15px rgba(55,77,78,.035)}.mood b{font-size:20px;display:block;margin-bottom:2px;transition:.18s}.mood span{font-size:11.5px;font-weight:760}.mood:hover{transform:translateY(-2px);border-color:#a9c8c1}.mood:hover b{transform:scale(1.08)}.mood.selected{background:#edf5f2;border-color:#7eaaa1;box-shadow:0 7px 20px rgba(75,122,113,.12);transform:translateY(-1px)}
.primary,.ghost{border-radius:12px;padding:9px 13px;font-weight:800;border:0;cursor:pointer;transition:.17s ease;font-size:12px}.primary{background:linear-gradient(135deg,#557f79,#6d9d94);color:#fff;box-shadow:0 8px 18px rgba(78,126,117,.2)}.primary:hover{transform:translateY(-1px);box-shadow:0 10px 22px rgba(78,126,117,.26)}.primary:disabled{opacity:.34;cursor:not-allowed;transform:none;box-shadow:none}.primary.next{width:100%;margin-top:10px}.ghost{background:rgba(255,255,255,.86);border:1px solid var(--line);color:var(--ink)}.ghost:hover{border-color:#abc8c2;background:#f8fbfa}.ghost.small{padding:7px 10px;font-size:11px}
.question-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}.qcard{display:block;background:rgba(255,255,255,.9);border:1px solid var(--line);border-radius:15px;padding:11px 12px;position:relative}.qcard>span{font-weight:820;font-size:12px}.qcard small{font-weight:500;color:var(--muted)}.range-row{display:flex;gap:9px;align-items:center;margin-top:8px}.range-row input{accent-color:var(--accent);width:100%}.range-row b{white-space:nowrap;background:var(--accent-soft);color:var(--accent-dark);border-radius:9px;padding:5px 7px;font-size:10px}
select,textarea{width:100%;margin-top:7px;border:1px solid #dfe8e5;background:#fbfdfc;border-radius:10px;color:var(--ink);font:inherit;padding:8px 9px;outline:none;font-size:12px}select:focus,textarea:focus{border-color:#79a69d;box-shadow:0 0 0 3px rgba(93,143,134,.1)}
.intensity-card{margin-top:8px}.segmented{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:7px}.segmented button{padding:7px 5px;border:1px solid var(--line);border-radius:9px;background:#fff;color:var(--ink);cursor:pointer;font-size:11px}.segmented button.selected{background:#edf5f2;border-color:#83aaa3;color:var(--accent-dark);font-weight:800}
.note-card{margin-top:8px}.note-card textarea{min-height:52px;height:52px;resize:none}.note-card em{display:block;text-align:right;color:var(--muted);font-size:9px;font-style:normal;margin-top:1px}.buttons{display:flex;gap:7px;margin-top:9px}.buttons .primary{flex:1}
.loading-box{text-align:center;padding:58px 18px 30px}.loader-face{width:88px;height:88px;margin:auto;background:#edf5f2;border:2px solid #bfd8d2;border-radius:27px;display:flex;align-items:center;justify-content:center;gap:6px;font-size:15px;animation:breathe 1.6s ease-in-out infinite}.loader-face b{font-size:18px}.loader-face span{color:var(--accent);animation:twinkle 1.5s infinite}.loader-face span:last-child{animation-delay:.6s;color:#7287a5}.loading-box h2{margin:15px 0 4px;font-size:24px}.loading-box p{color:var(--muted);font-size:12px}.loading-bar{height:6px;max-width:300px;background:#e5ecea;border-radius:20px;margin:16px auto;overflow:hidden}.loading-bar i{display:block;height:100%;width:36%;background:linear-gradient(90deg,var(--accent),#7e91bb);border-radius:20px;animation:scan 1.4s ease-in-out infinite}
.result-heading{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}.result-heading h1{font-size:29px}.match{background:#edf5f2;border:1px solid #c5ddd7;color:var(--accent-dark);padding:7px 10px;border-radius:12px;font-size:13px;font-weight:900}
.movie-card{display:grid;grid-template-columns:155px 1fr;gap:16px;margin-top:8px;min-height:0}.poster-wrap{position:relative;aspect-ratio:2/3;border-radius:17px;overflow:hidden;background:linear-gradient(145deg,#dbece7,#dee7f1);box-shadow:0 12px 30px rgba(50,70,70,.16)}.poster-wrap img{width:100%;height:100%;object-fit:cover;display:block;position:relative;z-index:2}.poster-wrap img[src=""]{display:none}.poster-fallback{position:absolute;inset:0;display:grid;place-content:center;text-align:center;font-size:34px;color:#71858b}.poster-fallback small{display:block;font-size:10px;margin-top:4px}.heart-float{position:absolute;z-index:3;right:7px;top:7px;background:rgba(255,255,255,.88);width:29px;height:29px;display:grid;place-items:center;border-radius:10px;color:var(--accent);font-size:15px;animation:heart 2.4s ease-in-out infinite}
.movie-info{min-width:0}.chips{display:flex;flex-wrap:wrap;gap:4px}.chips span{font-size:9px;font-weight:800;padding:4px 7px;background:#eef3f2;color:#647a78;border-radius:8px}.movie-info h2{font-size:27px;line-height:1.02;margin:5px 0 2px;letter-spacing:-.9px}.meta{color:var(--muted);margin:0 0 6px;font-size:10.5px}
.why{background:#f7faf8;border:1px solid var(--line);border-radius:13px;padding:8px 10px}.why div,.why-now span{font-size:9px;font-weight:900;color:#537f77;text-transform:none}.why p,.why-now p{margin:3px 0 0;line-height:1.35;font-size:11px}.why-now{padding:6px 2px 2px}.effect{background:linear-gradient(135deg,#edf5f2,#eef1f7);border-radius:11px;padding:7px 9px;margin-top:4px}.effect small{display:block;color:var(--muted);font-size:9px}.effect strong{display:block;margin-top:1px;font-size:11px}.content-note{font-size:9.5px;color:#758188;margin:5px 2px}
.watch-box{border-top:1px dashed var(--line);border-bottom:1px dashed var(--line);padding:6px 0;margin:5px 0}.watch-title{font-weight:850;font-size:10px;display:inline}.watch-title small{font-weight:500;color:var(--muted)}.providers{display:inline-flex;vertical-align:middle;gap:4px;flex-wrap:wrap;margin:0 5px}.provider{display:inline-flex;align-items:center;gap:4px;background:#fff;border:1px solid var(--line);border-radius:8px;padding:3px 5px;font-size:9px;font-weight:760}.provider img{width:16px;height:16px;border-radius:4px}.watch-box a{font-size:9px;color:var(--accent-dark);font-weight:800;white-space:nowrap}
.result-actions{display:flex;gap:4px;flex-wrap:wrap;margin-top:6px}.result-actions button{font-size:9px;padding:6px 7px}.secondary-actions{display:flex;align-items:center;gap:5px;flex-wrap:wrap;margin-top:5px}.linkbtn{font-size:10px;padding:6px 8px}.textbtn{background:none;border:0;color:var(--muted);text-decoration:underline;cursor:pointer;font-size:9px;padding:4px}.streaming-warning{margin-top:5px;background:#fff9e9;border:1px solid #e9ddb8;padding:6px 8px;border-radius:9px;font-size:9px;color:#74684c}
.hidden{display:none!important}
.modal-backdrop{position:fixed;inset:0;background:rgba(39,52,57,.34);backdrop-filter:blur(8px);z-index:50;display:grid;place-items:center;padding:18px}.modal{width:min(510px,100%);background:#fbfdfc;border:1px solid var(--line);border-radius:23px;padding:20px;box-shadow:0 28px 90px rgba(39,55,58,.25);position:relative;animation:pop .28s ease}.modal h2{font-size:25px;margin:0 0 4px}.modal>p{color:var(--muted);margin:0 0 14px;font-size:12px}.close{position:absolute;right:12px;top:10px;border:0;background:#edf3f1;border-radius:50%;width:31px;height:31px;font-size:20px;cursor:pointer;color:#667c79}.modal-mascot{width:40px;height:40px;display:grid;place-items:center;background:#edf5f2;border:1px solid #c8ddd8;border-radius:13px;color:var(--accent);font-size:20px;margin-bottom:8px;animation:float 3s infinite}.profile-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin:10px 0 15px}.profile-stats div{background:#f6f9f8;border:1px solid var(--line);border-radius:11px;text-align:center;padding:8px}.profile-stats b{display:block;font-size:18px}.profile-stats span{font-size:9px;color:var(--muted)}.modal h3{font-size:12px}.services{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}.services label input{display:none}.services label span{display:block;text-align:center;border:1px solid var(--line);border-radius:10px;padding:8px 5px;cursor:pointer;font-size:10px;font-weight:760}.services label input:checked+span{background:#edf5f2;border-color:#82aaa2;color:var(--accent-dark)}.full{width:100%;margin-top:11px}.danger-link{display:block;margin:12px auto 0;border:0;background:none;color:#7f8f91;text-decoration:underline;cursor:pointer;font-size:9px}
.trailer-modal{width:min(900px,94vw);padding:16px;border-radius:22px}.trailer-head{display:flex;align-items:center;gap:9px;padding-right:38px;margin-bottom:9px}.trailer-head .modal-mascot{margin:0;animation:none}.trailer-head small{display:block;color:var(--muted);font-size:9px;text-transform:uppercase;letter-spacing:.13em;font-weight:900}.trailer-head h2{font-size:19px;margin:1px 0 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:70vw}.video-frame{position:relative;width:100%;aspect-ratio:16/9;background:#172126;border-radius:15px;overflow:hidden}.video-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0;background:#172126}
.toast{position:fixed;z-index:80;left:50%;bottom:18px;transform:translateX(-50%);background:#26343b;color:#fff;border-radius:99px;padding:8px 14px;font-size:10px;font-weight:700;box-shadow:0 10px 25px rgba(0,0,0,.15);animation:pop .25s ease;white-space:nowrap}
footer{height:24px;flex:0 0 24px;width:min(1180px,100%);margin:0 auto;padding:0 20px;display:flex;justify-content:space-between;align-items:center;color:#8c999b;font-size:9px}footer nav{display:flex;gap:12px}footer a{color:inherit}
.legal-page{padding:24px;overflow:auto;display:block}.legal-card{max-width:760px;margin:auto;background:#fff;border:1px solid var(--line);border-radius:24px;padding:28px;box-shadow:var(--shadow);line-height:1.6}.legal-card a{color:var(--accent-dark)}.legal-card h1{font-size:34px}.legal-card h2{margin-top:25px}.legal-note{background:#fff7df;padding:12px;border-radius:12px;font-size:12px}
@keyframes drift{50%{transform:translate(25px,18px) scale(1.05)}}@keyframes twinkle{0%,100%{opacity:.2;transform:scale(.8) rotate(0)}50%{opacity:.9;transform:scale(1.2) rotate(12deg)}}@keyframes float{50%{transform:translateY(-7px)}}@keyframes wiggle{0%,100%{transform:rotate(-1.5deg)}50%{transform:rotate(1.5deg)}}@keyframes blink{0%,46%,52%,100%{transform:scaleY(1)}49%{transform:scaleY(.06)}}@keyframes orbit{50%{transform:translate(7px,-7px) rotate(18deg)}}@keyframes rise{from{opacity:0;transform:translateY(9px)}to{opacity:1;transform:none}}@keyframes breathe{50%{transform:scale(1.04) rotate(1deg)}}@keyframes scan{0%{transform:translateX(-110%)}50%{transform:translateX(185%)}100%{transform:translateX(-110%)}}@keyframes heart{50%{transform:translateY(-2px) rotate(5deg)}}@keyframes pop{from{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}

@media(max-width:900px){
  .topbar{height:52px;flex-basis:52px;padding:0 12px}.brand{font-size:18px}.app-shell{padding:2px 10px 4px;grid-template-columns:1fr;grid-template-rows:58px minmax(0,1fr);gap:6px}.mascot-column{display:flex;padding:0;align-items:center;gap:9px;min-height:0}.mascot-wrap{width:54px;flex:0 0 54px;margin:0}.speech{margin:0;max-width:none;flex:1;font-size:10px;padding:7px 9px;border-radius:13px 13px 13px 5px;line-height:1.25}.mascot-orbit{font-size:12px;right:-4px;top:8px}.mascot-orbit.o2{left:-2px;top:34px}.stage{border-radius:21px;padding:13px 14px}.progress{margin-bottom:7px}.step{height:calc(100% - 16px)}.step h1{font-size:27px}.lead{font-size:11px;margin-bottom:7px}.mood-grid{grid-template-columns:repeat(4,1fr);gap:5px}.mood{min-height:53px;border-radius:12px;padding:5px 3px}.mood b{font-size:17px;margin-bottom:1px}.mood span{font-size:9.5px}.primary.next{margin-top:6px}.question-grid{margin-top:7px}.qcard{padding:8px 9px}.qcard>span{font-size:10px}.range-row{margin-top:4px}.intensity-card,.note-card{margin-top:5px}.segmented{margin-top:4px}.segmented button{padding:6px 3px;font-size:9px}.note-card textarea{height:42px;min-height:42px;margin-top:4px}.buttons{margin-top:6px}.movie-card{grid-template-columns:115px 1fr;gap:10px;margin-top:5px}.result-heading h1{font-size:24px}.movie-info h2{font-size:22px}.why p,.why-now p{font-size:9.5px}.why{padding:6px 7px}.why-now{padding:4px 1px 1px}.effect{padding:5px 7px}.effect strong{font-size:9.5px}.poster-wrap{border-radius:14px}.providers{gap:3px}.provider span{display:none}.provider{padding:2px}.provider img{width:18px;height:18px}.watch-title small{display:none}.result-actions button{font-size:8px;padding:5px 6px}.secondary-actions{margin-top:3px}.streaming-warning{font-size:8px}.loading-box{padding:45px 12px 20px}.loading-box h2{font-size:21px}
}
@media(max-width:650px){
  .top-actions .small{font-size:0;padding:7px 9px}.top-actions .small:first-child:after{content:'☁';font-size:14px}.top-actions .small:last-child:after{content:'🎲';font-size:14px}.brand-mark{width:22px;height:22px}.app-shell{grid-template-rows:54px minmax(0,1fr)}.mascot-wrap{width:50px;flex-basis:50px}.speech{font-size:9px}.stage{padding:11px 11px}.step h1{font-size:24px}.mood{min-height:49px}.mood b{font-size:15px}.mood span{font-size:8.7px}.question-grid{gap:5px}.qcard{padding:7px}.qcard>span{font-size:9px}select{padding:6px;font-size:10px}.segmented button{font-size:8.5px}.movie-card{grid-template-columns:96px minmax(0,1fr);gap:8px}.result-heading h1{font-size:20px}.match{font-size:11px;padding:5px 7px}.chips span{font-size:7.5px;padding:3px 5px}.movie-info h2{font-size:19px}.meta{font-size:8.5px;margin-bottom:4px}.why div,.why-now span{font-size:7.5px}.why p,.why-now p{font-size:8.5px;line-height:1.25}.effect small{font-size:7.5px}.effect strong{font-size:8.5px}.content-note{font-size:7.5px;margin:3px 1px}.watch-box{padding:3px 0;margin:3px 0}.watch-title{font-size:8px}.watch-box a{font-size:8px}.provider img{width:15px;height:15px}.result-actions{margin-top:4px}.result-actions button{font-size:7.2px;padding:4px 5px}.secondary-actions .ghost{font-size:8px;padding:5px 6px}.textbtn{font-size:7.5px}.trailer-modal{width:96vw;padding:11px}.trailer-head h2{font-size:16px}.modal-backdrop{padding:10px}footer{padding:0 12px;font-size:8px}.services{grid-template-columns:repeat(2,1fr)}
}
@media(min-width:901px) and (max-height:720px){
  .topbar{height:50px;flex-basis:50px}.app-shell{grid-template-columns:155px minmax(0,1fr);gap:14px;padding-top:0}.mascot-column{padding-top:22px}.mascot-wrap{width:132px}.speech{font-size:10px;padding:8px;max-width:150px}.stage{padding:14px 18px}.progress{margin-bottom:8px}.mood{min-height:55px}.mood b{font-size:18px}.mood span{font-size:10px}.question-grid{margin-top:8px}.qcard{padding:9px}.note-card textarea{height:44px;min-height:44px}.movie-card{grid-template-columns:135px 1fr;gap:12px}.result-heading h1{font-size:25px}.movie-info h2{font-size:23px}.why p,.why-now p{font-size:10px}.poster-wrap{border-radius:14px}footer{display:none}
}
@media(max-height:610px){.speech{display:none}.app-shell{grid-template-rows:minmax(0,1fr)}.mascot-column{display:none}footer{display:none}.stage{height:100%}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

/* v1.3 — layout de altura completa: ocupar el viewport sin encoger la experiencia */
.app-shell{grid-template-columns:235px minmax(0,1fr);gap:24px;padding:8px 18px 10px}
.mascot-column{padding-top:0;display:flex;flex-direction:column;justify-content:center;align-items:center}
.mascot-wrap{width:220px;max-width:100%;margin:0 auto}
.speech{max-width:220px;margin:12px auto 0;padding:13px 14px;font-size:13px;line-height:1.42}
.stage{padding:24px 28px}
.progress{margin-bottom:16px}
.step{height:calc(100% - 25px)}
#step1.active,#step2.active,#loadingStep.active,#step3.active{display:flex;flex-direction:column}
.step h1{font-size:clamp(31px,3.2vw,42px);margin-top:4px}
.lead{font-size:14px;margin-bottom:13px}
#step1 .mood-grid{flex:1;min-height:0;grid-template-rows:repeat(3,minmax(72px,1fr));gap:10px}
.mood{min-height:0;border-radius:18px;padding:10px}
.mood b{font-size:25px;margin-bottom:4px}.mood span{font-size:13px}
.primary.next{margin-top:14px;padding:11px 14px}

#step2 .question-grid{margin-top:15px;gap:11px}.qcard{padding:14px 15px}.qcard>span{font-size:13px}.range-row{margin-top:10px}.intensity-card{margin-top:11px}.segmented{margin-top:9px}.segmented button{padding:9px 6px;font-size:11.5px}.note-card{margin-top:11px;flex:1;min-height:100px;display:flex;flex-direction:column}.note-card textarea{height:auto;min-height:68px;flex:1;margin-top:8px}.buttons{margin-top:11px}.buttons .primary,.buttons .ghost{padding:10px 14px}
.loading-box{margin:auto;width:100%;padding:20px}.loader-face{width:108px;height:108px}.loading-box h2{font-size:27px}

.result-heading{align-items:center;flex:0 0 auto}.result-heading h1{font-size:32px}.match{font-size:14px;padding:8px 11px}
.movie-card{flex:1;min-height:0;grid-template-columns:clamp(190px,21vw,220px) minmax(0,1fr);gap:22px;margin-top:12px;align-items:start}
.poster-wrap{width:100%;border-radius:21px}.movie-info{display:flex;flex-direction:column;min-height:0}
.chips{gap:6px}.chips span{font-size:10px;padding:5px 8px}.movie-info h2{font-size:clamp(29px,3vw,37px);margin:7px 0 3px}.meta{font-size:12px;margin-bottom:10px}
.insight-grid{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);gap:9px}
.why,.why-now{border-radius:15px;padding:11px 12px;min-height:0}.why-now{background:#f7f8fb;border:1px solid var(--line)}
.why div,.why-now span{font-size:10px}.why p,.why-now p{font-size:12px;line-height:1.4;margin-top:5px}
.effect{padding:9px 11px;margin-top:7px;border-radius:13px}.effect small{font-size:10px}.effect strong{font-size:12px}.content-note{font-size:10px;margin:6px 2px}
.watch-box{margin:7px 0 0;padding:9px 0;border-top:1px dashed var(--line);border-bottom:1px dashed var(--line)}
.watch-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:7px}.watch-title{font-size:11px}.watch-title small{font-size:9px;margin-left:4px}.watch-head>a{font-size:10px;color:var(--accent-dark);font-weight:850;text-decoration:none;white-space:nowrap}
.watch-rows{display:grid;gap:5px}.watch-row{display:flex;align-items:center;gap:8px;min-width:0}.watch-kind{flex:0 0 68px;font-size:9px;font-weight:850;color:var(--muted)}.providers{display:flex;gap:5px;flex-wrap:wrap;margin:0;min-width:0}.provider{display:inline-flex;align-items:center;gap:5px;background:#fff;border:1px solid var(--line);border-radius:9px;padding:4px 7px;font-size:9.5px;font-weight:780;color:var(--ink);text-decoration:none;transition:.16s ease}.provider:hover{border-color:#9bbfb7;background:#f6faf8;transform:translateY(-1px)}.provider img{width:20px;height:20px;border-radius:5px}
.result-actions{margin-top:8px;gap:5px}.result-actions button{font-size:9.5px;padding:7px 8px}.secondary-actions{margin-top:6px;gap:6px}.secondary-actions .ghost{font-size:10px;padding:7px 9px}.textbtn{font-size:9.5px}
.streaming-warning{font-size:9px}

@media(max-width:900px){
  .app-shell{grid-template-columns:1fr;grid-template-rows:92px minmax(0,1fr);gap:8px;padding:4px 10px 6px}
  .mascot-column{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;gap:13px;padding:0}
  .mascot-wrap{width:88px;flex:0 0 88px;margin:0}.speech{max-width:none;margin:0;font-size:11px;padding:9px 11px}
  .mascot-orbit{font-size:15px;right:-2px;top:14px}.mascot-orbit.o2{left:0;top:55px}
  .stage{padding:16px 18px}.progress{margin-bottom:10px}.step{height:calc(100% - 19px)}
  .step h1{font-size:30px}.lead{font-size:12px;margin-bottom:9px}
  #step1 .mood-grid{grid-template-columns:repeat(4,1fr);grid-template-rows:repeat(3,minmax(58px,1fr));gap:7px}.mood{padding:7px}.mood b{font-size:21px}.mood span{font-size:10.5px}.primary.next{margin-top:9px}
  #step2 .question-grid{margin-top:9px}.qcard{padding:10px 11px}.note-card{min-height:70px;margin-top:7px}.intensity-card{margin-top:7px}.buttons{margin-top:7px}
  .movie-card{grid-template-columns:150px minmax(0,1fr);gap:14px;margin-top:7px}.result-heading h1{font-size:26px}.movie-info h2{font-size:26px}.meta{font-size:10px;margin-bottom:6px}.insight-grid{gap:6px}.why,.why-now{padding:7px 8px}.why p,.why-now p{font-size:10px}.effect{padding:6px 8px}.effect strong{font-size:10px}.watch-box{padding:6px 0}.watch-kind{flex-basis:58px;font-size:8px}.provider{padding:3px 5px;font-size:8.5px}.provider img{width:18px;height:18px}.result-actions button{font-size:8.5px;padding:6px}.secondary-actions{margin-top:4px}
}

@media(max-width:650px){
  .app-shell{grid-template-rows:74px minmax(0,1fr);gap:6px}.mascot-wrap{width:70px;flex-basis:70px}.speech{font-size:9.5px;line-height:1.3;padding:7px 9px}
  .stage{padding:12px}.progress{margin-bottom:7px}.step{height:calc(100% - 16px)}.step h1{font-size:25px}.lead{font-size:10px;margin-bottom:6px}
  #step1 .mood-grid{gap:5px;grid-template-rows:repeat(3,minmax(48px,1fr))}.mood{padding:4px}.mood b{font-size:17px;margin-bottom:1px}.mood span{font-size:8.7px}.primary.next{margin-top:6px;padding:8px}
  #step2 .question-grid{margin-top:6px;gap:5px}.qcard{padding:7px}.qcard>span{font-size:9.5px}.intensity-card,.note-card{margin-top:5px}.note-card{min-height:58px}.note-card textarea{min-height:38px}.buttons{margin-top:5px}
  .movie-card{grid-template-columns:112px minmax(0,1fr);gap:9px;margin-top:5px}.result-heading h1{font-size:20px}.match{font-size:10px;padding:5px 7px}.chips span{font-size:7.5px;padding:3px 5px}.movie-info h2{font-size:20px;margin:4px 0 2px}.meta{font-size:8.5px;margin-bottom:4px}.insight-grid{grid-template-columns:1fr;gap:4px}.why,.why-now{padding:5px 6px}.why div,.why-now span{font-size:7.5px}.why p,.why-now p{font-size:8.5px;line-height:1.25;margin-top:2px}.effect{margin-top:4px;padding:5px 6px}.effect small{font-size:7px}.effect strong{font-size:8.5px}.content-note{font-size:7.5px;margin:3px 1px}
  .watch-box{margin-top:3px;padding:4px 0}.watch-head{margin-bottom:4px}.watch-title{font-size:8.5px}.watch-title small{display:none}.watch-head>a{font-size:8px}.watch-rows{gap:3px}.watch-row{gap:4px}.watch-kind{flex-basis:48px;font-size:7px}.providers{gap:3px}.provider{padding:2px 3px;font-size:0;border-radius:6px}.provider img{width:17px;height:17px}.result-actions{margin-top:4px}.result-actions button{font-size:7px;padding:4px 5px}.secondary-actions .ghost{font-size:7.5px;padding:4px 5px}.textbtn{font-size:7px}.streaming-warning{font-size:7px;padding:4px 5px}
}

@media(min-width:901px) and (max-height:720px){
  .app-shell{grid-template-columns:205px minmax(0,1fr);gap:18px;padding-top:2px}.mascot-wrap{width:190px}.speech{max-width:195px;font-size:11.5px;padding:10px 11px}.stage{padding:18px 22px}.progress{margin-bottom:10px}.step{height:calc(100% - 19px)}
  .step h1{font-size:32px}.lead{font-size:12px;margin-bottom:8px}#step1 .mood-grid{grid-template-rows:repeat(3,minmax(64px,1fr));gap:7px}.mood{padding:7px}.mood b{font-size:21px}.mood span{font-size:11px}.primary.next{margin-top:8px}
  #step2 .question-grid{margin-top:8px}.qcard{padding:9px 10px}.note-card{min-height:65px}.note-card textarea{min-height:42px}.movie-card{grid-template-columns:165px minmax(0,1fr);gap:14px;margin-top:6px}.result-heading h1{font-size:25px}.movie-info h2{font-size:25px}.meta{font-size:9.5px;margin-bottom:5px}.why,.why-now{padding:6px 7px}.why p,.why-now p{font-size:9.5px}.effect{padding:5px 7px;margin-top:4px}.effect strong{font-size:9.5px}.content-note{margin:3px 1px}.watch-box{padding:5px 0;margin-top:4px}.watch-head{margin-bottom:4px}.provider{padding:2px 4px;font-size:8px}.provider img{width:17px;height:17px}.result-actions{margin-top:4px}.result-actions button{font-size:8px;padding:5px 6px}.secondary-actions{margin-top:3px}footer{display:none}
}

@media(max-height:610px) and (min-width:901px){
  .speech{display:block}.app-shell{grid-template-columns:175px minmax(0,1fr)}.mascot-column{display:flex}.mascot-wrap{width:155px}.speech{font-size:9.5px;padding:7px;max-width:165px}.stage{height:100%}
}

/* v1.3.1 — el resultado también aprovecha la altura sin reducir tipografías */
.movie-card{grid-template-columns:clamp(215px,23vw,250px) minmax(0,1fr);align-items:stretch}
.movie-info{height:100%}
.result-actions{margin-top:auto}
.provider[href]::after{content:'↗';font-size:.82em;color:var(--accent);opacity:.72;margin-left:1px}

@media(min-width:901px) and (max-height:720px){
  .movie-card{grid-template-columns:180px minmax(0,1fr)}
}

@media(max-width:900px){
  .movie-card{grid-template-columns:155px minmax(0,1fr);align-items:stretch}
  .movie-info{height:100%}
  .result-actions{margin-top:auto}
}

@media(max-width:650px){
  .movie-card{grid-template-columns:118px minmax(0,1fr)}
  .result-heading h1{font-size:22px}
  .movie-info h2{font-size:21px}
  .why p,.why-now p{font-size:9.2px;line-height:1.3}
  .effect strong{font-size:9px}
  .provider{font-size:7.4px;padding:2px 4px;gap:3px;max-width:110px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .provider img{width:16px;height:16px;flex:0 0 16px}
  .provider span{overflow:hidden;text-overflow:ellipsis}
  .result-actions button{font-size:7.6px;padding:5px 5px}
  .secondary-actions .ghost{font-size:8px;padding:5px 6px}.textbtn{font-size:7.5px}
}
.poster-wrap{align-self:start}
@media(max-width:900px){.provider span{display:inline}}

/* v1.4 — flujo directo, compañía en botones, historial navegable y resultado web expansivo */
.company-options{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin-top:8px}
.company-options button{min-width:0;padding:8px 5px;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);font:inherit;font-size:10.5px;font-weight:760;cursor:pointer;transition:.17s ease}
.company-options button:hover{border-color:#abc8c2;background:#f8fbfa}
.company-options button.selected{background:#edf5f2;border-color:#83aaa3;color:var(--accent-dark);font-weight:850;box-shadow:0 5px 14px rgba(75,122,113,.08)}

.profile-stats{grid-template-columns:repeat(4,1fr)}
.profile-stat{appearance:none;background:#f6f9f8;border:1px solid var(--line);border-radius:12px;text-align:center;padding:9px 6px;cursor:pointer;color:var(--ink);font:inherit;position:relative;transition:.17s ease}
.profile-stat:hover,.profile-stat.active{border-color:#9fc2ba;background:#edf5f2;transform:translateY(-1px)}
.profile-stat b{display:block;font-size:18px;line-height:1.05}.profile-stat span{display:block;font-size:8.5px;color:var(--muted);margin-top:3px;font-weight:730}.profile-stat i{position:absolute;right:6px;top:50%;transform:translateY(-50%);font-style:normal;color:#8aa39e;font-size:15px;opacity:.65}
.profile-history{background:#f7faf9;border:1px solid var(--line);border-radius:13px;padding:8px;margin:-6px 0 13px;animation:rise .22s ease}
.profile-history-head{display:flex;align-items:center;justify-content:space-between;padding:1px 3px 7px}.profile-history-head strong{font-size:11px}.profile-history-head button{border:0;background:transparent;color:var(--muted);font-size:17px;cursor:pointer;line-height:1}
.profile-movies{display:grid;gap:5px;max-height:175px;overflow:auto;padding-right:2px}
.profile-movie{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;border:1px solid var(--line);background:#fff;border-radius:9px;padding:8px 9px;color:var(--ink);font:inherit;font-size:10.5px;text-align:left;cursor:pointer;transition:.15s ease}
.profile-movie:hover{border-color:#9fc2ba;background:#f4f9f7}.profile-movie span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:740}.profile-movie i{font-style:normal;font-size:9px;color:var(--accent-dark);white-space:nowrap;font-weight:850}
.profile-empty{padding:12px;text-align:center;color:var(--muted);font-size:10px}

@media(min-width:901px){
  /* Sólo web: usamos el espacio disponible en vez de encoger el resultado. */
  #step3 .result-heading h1{font-size:clamp(35px,3.4vw,43px)}
  #step3 .match{font-size:16px;padding:10px 13px;border-radius:14px}
  #step3 .movie-card{grid-template-columns:clamp(265px,25vw,315px) minmax(0,1fr);gap:30px;margin-top:15px;align-items:stretch}
  #step3 .poster-wrap{align-self:start;border-radius:24px;box-shadow:0 18px 38px rgba(50,70,70,.18)}
  #step3 .heart-float{width:36px;height:36px;right:10px;top:10px;font-size:18px;border-radius:12px}
  #step3 .movie-info{height:100%;justify-content:flex-start}
  #step3 .chips{gap:7px}#step3 .chips span{font-size:11px;padding:6px 9px;border-radius:9px}
  #step3 .movie-info h2{font-size:clamp(36px,3.5vw,47px);line-height:1;margin:9px 0 5px;letter-spacing:-1.3px}
  #step3 .meta{font-size:13px;margin-bottom:13px}
  #step3 .insight-grid{gap:12px;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr)}
  #step3 .why,#step3 .why-now{padding:14px 15px;border-radius:17px}
  #step3 .why div,#step3 .why-now span{font-size:11px}
  #step3 .why p,#step3 .why-now p{font-size:14px;line-height:1.45;margin-top:6px}
  #step3 .effect{padding:12px 14px;margin-top:10px;border-radius:15px}
  #step3 .effect small{font-size:11px}#step3 .effect strong{font-size:14px}
  #step3 .content-note{font-size:11px;margin:8px 2px}
  #step3 .watch-box{margin-top:9px;padding:11px 0}
  #step3 .watch-title{font-size:12px}#step3 .watch-title small{font-size:10px}#step3 .watch-head>a{font-size:11px}
  #step3 .watch-rows{gap:6px}#step3 .watch-kind{flex-basis:78px;font-size:10px}
  #step3 .provider{font-size:10.5px;padding:5px 8px;border-radius:10px}#step3 .provider img{width:22px;height:22px}
  #step3 .result-actions{gap:7px;margin-top:auto;padding-top:10px}
  #step3 .result-actions button{font-size:10.5px;padding:9px 10px}
  #step3 .secondary-actions{gap:8px;margin-top:8px}#step3 .secondary-actions .ghost{font-size:11px;padding:8px 11px}#step3 .textbtn{font-size:10.5px}
}

@media(max-width:650px){
  .company-options{gap:4px;margin-top:5px}.company-options button{font-size:8px;padding:6px 2px;border-radius:8px}
  .profile-stats{grid-template-columns:repeat(2,1fr)}.profile-stat{padding:7px 5px}.profile-stat b{font-size:16px}.profile-stat span{font-size:8px}.profile-movies{max-height:145px}
}

/* Web bajo: conserva el resultado amplio sin cortar contenido. Móvil no se toca. */
@media(min-width:901px) and (max-height:700px){
  #step3 .result-heading h1{font-size:32px}
  #step3 .match{font-size:13px;padding:7px 10px}
  #step3 .movie-card{grid-template-columns:205px minmax(0,1fr);gap:18px;margin-top:8px}
  #step3 .heart-float{width:31px;height:31px;font-size:15px}
  #step3 .chips span{font-size:9px;padding:4px 7px}
  #step3 .movie-info h2{font-size:31px;margin:5px 0 3px}
  #step3 .meta{font-size:10.5px;margin-bottom:7px}
  #step3 .insight-grid{gap:8px}
  #step3 .why,#step3 .why-now{padding:8px 10px;border-radius:13px}
  #step3 .why div,#step3 .why-now span{font-size:9px}
  #step3 .why p,#step3 .why-now p{font-size:11px;line-height:1.35;margin-top:3px}
  #step3 .effect{padding:7px 9px;margin-top:5px}
  #step3 .effect small{font-size:9px}#step3 .effect strong{font-size:11px}
  #step3 .content-note{font-size:9px;margin:4px 1px}
  #step3 .watch-box{margin-top:5px;padding:6px 0}
  #step3 .watch-title{font-size:10px}#step3 .watch-title small{font-size:8.5px}#step3 .watch-head>a{font-size:9px}
  #step3 .watch-rows{gap:4px}#step3 .watch-kind{flex-basis:62px;font-size:8px}
  #step3 .provider{font-size:8.5px;padding:3px 5px}#step3 .provider img{width:18px;height:18px}
  #step3 .result-actions{gap:5px;padding-top:6px}
  #step3 .result-actions button{font-size:8.5px;padding:6px 7px}
  #step3 .secondary-actions{margin-top:4px}#step3 .secondary-actions .ghost{font-size:9px;padding:6px 7px}#step3 .textbtn{font-size:8.5px}
}

/* v1.5.1 — mantener visible el crédito/footer también en notebooks web de poca altura */
@media (min-width:901px) and (max-height:720px){
  footer{
    display:flex;
    height:20px;
    flex:0 0 20px;
    padding:0 20px;
    font-size:8px;
  }
}
