/* Cine Móvil Info — estilos del sitio. Base visual: web/prototipo/index.html */

@font-face { font-family: "Bricolage Grotesque"; src: url("../fonts/bricolage-grotesque.woff2") format("woff2"); font-weight: 500 800; font-display: swap; }
@font-face { font-family: "Figtree"; src: url("../fonts/figtree.woff2") format("woff2"); font-weight: 400 600; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --bg: #0D0B1E;          /* fondo de la app */
  --surface: #151033;     /* isla de acciones */
  --surface-2: #201A3A;
  --line: #2A2148;
  --fg: #F5F0FF;
  --muted: #A99CC0;
  --pink: #EF4A70;        /* rosa de marca */
  --pink-soft: #5C102C;
  --gold: #FEC25E;
  --on-pink: #2B0010;
  --display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", sans-serif;
  --body: "Figtree", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, Menlo, monospace;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #FFF8FF; --surface: #FFFFFF; --surface-2: #F1EAF7; --line: #E2D8EC;
    --fg: #1D1728; --muted: #5E5470; --pink: #D6305A; --pink-soft: #FFD9E2;
    --gold: #9A6400; --on-pink: #FFFFFF; color-scheme: light;
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--fg); font-family: var(--body); font-size: 17px; line-height: 1.55; padding-inline: 20px; }
img { max-width: 100%; height: auto; }
.wrap { max-width: 1120px; margin-inline: auto; }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.05; text-wrap: balance; margin: 0; }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--surface); padding: 8px 12px; border-radius: 8px; z-index: 10; }

/* Navegación */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 20px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 800; font-size: 20px; text-decoration: none; }
.brand img { width: 36px; height: 36px; }
.nav-links { display: flex; gap: 22px; align-items: center; font-weight: 500; }
.nav-links a { text-decoration: none; color: var(--muted); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--fg); }
.nav-links .play-sm { color: var(--on-pink); background: var(--pink); padding: 8px 14px; border-radius: 999px; font-weight: 600; }
.nav-links .play-sm:hover { color: var(--on-pink); }

/* Botón de Play */
.play { display: inline-flex; align-items: center; gap: 12px; background: var(--fg); color: var(--bg); text-decoration: none; padding: 12px 20px 12px 16px; border-radius: 14px; font-weight: 600; line-height: 1.15; }
.play small { display: block; font-size: 11px; font-weight: 500; opacity: .75; letter-spacing: .02em; }
.play svg { width: 26px; height: 26px; }
.play:hover { transform: translateY(-1px); }
.btn-ghost { color: var(--fg); text-decoration: none; font-weight: 600; border-bottom: 2px solid var(--pink); padding-bottom: 2px; }

/* Héroe centrado */
.hero { text-align: center; display: grid; justify-items: center; padding-block: 48px 8px; }
.hero h1 { font-size: clamp(42px, 7vw, 92px); font-weight: 800; letter-spacing: -.025em; margin-block: 16px 22px; max-width: 13ch; }
.hero h1 em { font-style: normal; color: var(--pink); }
.lead { font-size: 20px; color: var(--muted); max-width: 40ch; margin: 0 0 32px; }
.cta { display: flex; gap: 24px; align-items: center; justify-content: center; flex-wrap: wrap; }
.facts { display: flex; gap: 36px; margin-top: 36px; flex-wrap: wrap; justify-content: center; font-size: 14px; color: var(--muted); }
.facts b { display: block; font-family: var(--display); font-size: 22px; color: var(--fg); }

/* Capturas en marco de teléfono */
.shot { display: block; width: 100%; aspect-ratio: 9 / 20; object-fit: cover; border-radius: 34px; border: 8px solid #221c3d; background: #0D0B1E; box-shadow: 0 40px 80px -36px rgba(0,0,0,.7); }
.showcase { position: relative; display: grid; grid-template-columns: 1fr 1.18fr 1fr; align-items: end; gap: 0; max-width: 820px; margin: 56px auto 0; padding-bottom: 72px; }
.showcase::before { content: ""; position: absolute; inset: 20% 10% 10%; background: radial-gradient(closest-side, rgba(239,74,112,.35), transparent); filter: blur(30px); z-index: -1; }
.showcase > * { min-width: 0; }
.showcase .side { transform: translateY(-6%) scale(.92); opacity: .9; }
.showcase .side.left { transform: translate(14%, -6%) rotate(-6deg) scale(.9); }
.showcase .side.right { transform: translate(-14%, -6%) rotate(6deg) scale(.9); }
.showcase .main { position: relative; z-index: 1; }
.showcase .main .shot { box-shadow: 0 50px 100px -30px rgba(239,74,112,.45); }
.toast { position: absolute; z-index: 2; top: 7%; left: 50%; transform: translateX(-12%); width: min(300px, 70vw); text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 12px 14px; display: flex; gap: 10px; align-items: flex-start; box-shadow: 0 20px 40px -16px rgba(0,0,0,.6); animation: drop .7s cubic-bezier(.2,.8,.2,1) .4s both; }
.toast img { width: 32px; height: 32px; flex: none; }
.toast b { font-size: 14px; display: block; }
.toast span { font-size: 12.5px; color: var(--muted); }
@keyframes drop { from { opacity: 0; translate: 0 -14px; } to { opacity: 1; translate: 0 0; } }

/* Bloque destacado: texto + captura */
.spot { display: grid; grid-template-columns: 1fr 320px; gap: 64px; align-items: center; max-width: 920px; margin-inline: auto; }
.spot > * { min-width: 0; }
.spot.flip { grid-template-columns: 320px 1fr; }
.spot.flip .spot-media { order: -1; }
.spot .h2 { margin-block: 10px 16px; }
.spot p { color: var(--muted); margin: 0 0 16px; }
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; }
.checks li::before { content: "✓"; color: var(--pink); font-weight: 700; }

/* Secciones */
section.block { padding-block: 64px; border-top: 1px solid var(--line); }
.block-head { display: grid; justify-items: center; text-align: center; gap: 12px; margin-bottom: 40px; }
.block-head h2, .h2 { font-size: clamp(32px, 4vw, 48px); font-weight: 800; letter-spacing: -.01em; margin-top: 10px; }
.block-head p { color: var(--muted); max-width: 48ch; margin: 0; }

/* Funciones */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 36px; }
.feat { display: grid; gap: 8px; align-content: start; justify-items: center; text-align: center; }
.feat svg { width: 28px; height: 28px; stroke: var(--pink); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.feat h3 { font-size: 21px; font-weight: 700; }
.feat p { color: var(--muted); margin: 0; font-size: 16px; }
.feat code { font-family: var(--mono); font-size: 13px; color: var(--gold); }

/* Link compartido */
.share { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.share > * { min-width: 0; }
.share .h2 { margin-block: 10px 16px; }
.chat { background: var(--surface-2); border-radius: 22px; padding: 18px; display: grid; gap: 10px; max-width: 420px; }
.bubble { background: var(--surface); border: 1px solid var(--line); border-radius: 16px 16px 16px 4px; overflow: hidden; }
.bubble-img { height: 150px; background: radial-gradient(100% 120% at 80% 10%, #3dd68c 0%, #0f3d2a 55%, #07140e 100%); display: flex; align-items: flex-end; padding: 12px; font-family: var(--display); font-weight: 800; font-size: 26px; color: #eafff4; }
.bubble-body { padding: 10px 14px 12px; font-size: 14px; }
.bubble-body b { display: block; }
.bubble-body span { color: var(--muted); }
.url { font-family: var(--mono); font-size: 12.5px; color: var(--pink); overflow-wrap: anywhere; }
.steps { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.steps li { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; }
.steps li::before { content: counter(s); counter-increment: s; font-family: var(--mono); width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: 13px; color: var(--gold); }
.soon { display: inline-block; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--gold); border: 1px solid var(--gold); border-radius: 999px; padding: 3px 9px; margin-left: 8px; vertical-align: middle; }

/* Novedades: idioma y buscador (SPEC 050) */
.langs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.langs a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--muted); font-weight: 500; }
.langs a:hover { color: var(--fg); }
.langs a[aria-current="true"] { background: var(--pink); border-color: var(--pink); color: var(--on-pink); font-weight: 600; }
.nsearch { margin-bottom: 10px; }
.nsearch[hidden], .rel[hidden], .nnone[hidden], .nsearch button[hidden] { display: none; }
.nsearch label { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.nsearch-row { display: flex; gap: 8px; }
.nsearch input { flex: 1; min-width: 0; min-height: 48px; padding: 0 16px; font: inherit; color: var(--fg); background: var(--surface); border: 1px solid var(--line); border-radius: 14px; }
.nsearch input:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }
.nsearch button { min-width: 48px; min-height: 48px; font: inherit; color: var(--fg); background: var(--surface); border: 1px solid var(--line); border-radius: 14px; cursor: pointer; }
.nstatus { color: var(--muted); font-size: 15px; margin: 8px 0 0; min-height: 1.5em; }
.nnone { color: var(--muted); font-size: 18px; padding-block: 24px; }
.linkbtn { font: inherit; color: var(--pink); background: none; border: 0; padding: 12px 4px; min-height: 48px; text-decoration: underline; cursor: pointer; }
mark { background: var(--pink-soft); color: var(--fg); border-radius: 3px; padding: 0 2px; box-shadow: inset 0 -2px 0 var(--pink); }

/* Novedades */
.rel { display: grid; grid-template-columns: 180px 1fr; gap: 28px; padding-block: 26px; border-bottom: 1px solid var(--line); }
.rel:last-child { border-bottom: 0; }
.rel > * { min-width: 0; }
.ver { font-family: var(--display); font-size: 34px; font-weight: 800; letter-spacing: -.01em; }
.ver time { display: block; font-family: var(--mono); font-size: 12px; font-weight: 500; color: var(--muted); letter-spacing: .04em; margin-top: 6px; text-transform: uppercase; }
.rel .summary { font-family: var(--display); font-weight: 700; font-size: 22px; line-height: 1.2; margin: 0 0 10px; }
.rel h3 { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin: 16px 0 8px; }
.rel ul { margin: 0; padding-left: 20px; color: var(--muted); display: grid; gap: 6px; }
.rel ul b { color: var(--fg); font-weight: 600; }
.rel.latest .ver { color: var(--pink); }
.more { margin-top: 28px; text-align: center; }

/* Páginas interiores */
.page-head { padding-block: 40px 32px; }
.page-head h1 { font-size: clamp(40px, 5.5vw, 68px); font-weight: 800; letter-spacing: -.02em; margin-top: 12px; }
.page-head p { color: var(--muted); font-size: 19px; max-width: 52ch; margin: 16px 0 0; }

/* Llamada final */
.closing { text-align: center; display: grid; justify-items: center; gap: 20px; }
.closing p { color: var(--muted); margin: 0; max-width: 44ch; }

/* Pie */
footer { border-top: 1px solid var(--line); padding-block: 40px 48px; margin-top: 16px; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; color: var(--muted); font-size: 14px; }
footer h2 { font-family: var(--mono); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
footer a { color: var(--fg); text-decoration: none; }
footer a:hover { text-decoration: underline; }
footer .about b { color: var(--fg); }
footer .about p { margin: 8px 0 0; max-width: 52ch; }

@media (max-width: 860px) {
  .share, .spot, .spot.flip { grid-template-columns: 1fr; gap: 40px; }
  .spot .spot-media, .spot.flip .spot-media { order: 0; max-width: 300px; margin-inline: auto; width: 100%; }
  .features { grid-template-columns: 1fr 1fr; }
  footer { grid-template-columns: 1fr 1fr; }
  footer .about { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  body { font-size: 16px; padding-inline: 16px; }
  .features { grid-template-columns: 1fr; }
  .rel { grid-template-columns: 1fr; gap: 10px; }
  .showcase { grid-template-columns: 1fr 1.7fr 1fr; align-items: center; margin: 40px -16px 0; overflow: hidden; padding-bottom: 48px; }
  .showcase .side.left { transform: translateX(38%) rotate(-7deg) scale(.9); }
  .showcase .side.right { transform: translateX(-38%) rotate(7deg) scale(.9); }
  .shot { border-width: 5px; border-radius: 24px; }
  .toast { top: 3%; transform: translateX(-40%); width: 250px; padding: 10px 12px; }
  .toast b { font-size: 13px; }
  .toast span { font-size: 11.5px; }
  .nav-links { gap: 16px; }
  .nav-links .hide-sm { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .toast { animation: none; }
  .play:hover { transform: none; }
}

/* Preguntas frecuentes */
.faq { display: grid; gap: 12px; max-width: 760px; margin-inline: auto; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 4px 20px; }
.faq summary { cursor: pointer; font-family: var(--display); font-weight: 700; font-size: 19px; padding-block: 14px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--pink); }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin: 0 0 16px; }

/* Textos largos (páginas legales) */
.prose { max-width: 72ch; padding-bottom: 48px; }
.prose h2 { font-size: 24px; font-weight: 700; margin: 40px 0 12px; }
.prose p, .prose li { color: var(--muted); }
.prose b { color: var(--fg); font-weight: 600; }
.prose ul { padding-left: 22px; display: grid; gap: 8px; }
.prose a { color: var(--pink); }

/* Fichas de los links compartidos (/pelicula/{id}, /serie/{id}; las genera src/index.js) */
.ficha { display: grid; grid-template-columns: minmax(0, 320px) 1fr; gap: 48px; align-items: start; padding-block: 40px 64px; }
.ficha-poster { width: 100%; border-radius: 20px; background: var(--surface); box-shadow: 0 40px 80px -36px rgba(0,0,0,.7); }
.ficha-info h1 { font-size: clamp(36px, 5vw, 60px); font-weight: 800; letter-spacing: -.02em; margin: 12px 0 14px; }
.ficha-meta { font-family: var(--mono); font-size: 14px; color: var(--muted); margin: 0 0 20px; }
.ficha-meta:empty { display: none; }
.ficha-overview { color: var(--muted); font-size: 18px; max-width: 60ch; margin: 0 0 32px; }
.ficha-cta { justify-content: flex-start; gap: 16px; }
.btn-app { display: inline-flex; align-items: center; min-height: 54px; background: var(--pink); color: var(--on-pink); text-decoration: none; font-weight: 700; padding: 0 24px; border-radius: 14px; }
.btn-app:hover { transform: translateY(-1px); }
.ficha-pitch { color: var(--muted); font-size: 15px; max-width: 52ch; margin: 32px 0 0; border-left: 3px solid var(--pink); padding-left: 14px; }
@media (max-width: 860px) {
  .ficha { grid-template-columns: 1fr; gap: 28px; padding-block: 16px 48px; }
  .ficha-poster { max-width: 180px; }
}

/* Ideas del buzón (/ideas, 3.9) */
.ideas { display: grid; gap: 36px; padding-bottom: 32px; max-width: 760px; }
.ideas-group h2 { font-family: var(--display); font-size: 24px; margin: 0 0 14px; }
.ideas-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.idea { display: flex; gap: 16px; align-items: center; justify-content: space-between; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.idea strong { font-size: 17px; }
.idea p { margin: 4px 0 0; color: var(--muted); font-size: 15px; }
.idea-version { display: block; margin-top: 6px; font-family: var(--mono); font-size: 12px; color: var(--gold); }
.like { flex: none; font: 600 15px var(--body); color: var(--fg); background: transparent; border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; cursor: pointer; min-width: 72px; }
.like.on { border-color: var(--pink); color: var(--pink); }
.like:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }
.ideas-note { color: var(--muted); }
.ideas-send { max-width: 760px; padding-bottom: 64px; }
.ideas-send h2 { font-family: var(--display); font-size: 24px; margin: 0 0 8px; }
.ideas-send p { color: var(--muted); }

/* Comunidad (app 4.0): publicaciones /p/{id} y perfiles /u/{usuario}; las genera src/comunidad.js */
.post-page, .perfil-page { display: grid; grid-template-columns: minmax(0, 600px) minmax(0, 1fr); gap: 48px; align-items: start; padding-block: 40px 64px; }
.post, .perfil { background: var(--surface); border: 1px solid var(--line); border-radius: 22px; padding: 22px; min-width: 0; }
.author { display: flex; gap: 12px; align-items: center; text-decoration: none; margin-bottom: 14px; min-width: 0; }
.author-names { display: grid; min-width: 0; line-height: 1.25; }
.author-line { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; }
.author-name { font-weight: 700; overflow-wrap: anywhere; }
.author-handle { color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }
a.author:hover .author-name { text-decoration: underline; }
.avatar { flex: none; width: 48px; height: 48px; border-radius: 50%; object-fit: cover; background: var(--surface-2); }
.avatar-initial { display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 22px; }
.badge { display: inline-flex; align-items: center; font-family: var(--mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; border-radius: 999px; padding: 2px 8px; border: 1px solid currentColor; white-space: nowrap; }
.badge-creator { color: var(--gold); }
.badge-official { color: var(--pink); }
.post-body { font-size: 19px; line-height: 1.5; margin: 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.post-body a, .perfil-bio a { color: var(--pink); text-decoration: none; }
.post-body a:hover, .perfil-bio a:hover { text-decoration: underline; }
.post-media { display: block; width: 100%; height: auto; max-height: 520px; object-fit: cover; border-radius: 16px; margin-top: 14px; background: var(--surface-2); }
.post-gif { margin: 0; }
.post-gif .post-media { object-fit: contain; }
.post-gif figcaption { font-family: var(--mono); font-size: 11px; color: var(--muted); margin-top: 6px; }
.spoiler { border: 1px dashed var(--line); border-radius: 16px; padding: 4px 16px; }
.spoiler summary { cursor: pointer; font-weight: 600; color: var(--gold); padding-block: 12px; list-style: none; }
.spoiler summary::-webkit-details-marker { display: none; }
.spoiler summary::before { content: "⚠ "; }
.spoiler[open] { padding-bottom: 16px; }
.post-tags { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.tag { display: flex; gap: 12px; align-items: center; text-decoration: none; background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 8px; min-width: 0; }
.tag:hover { border-color: var(--pink); }
.tag img, .tag-noposter { flex: none; width: 44px; height: 66px; border-radius: 8px; object-fit: cover; background: var(--surface-2); }
.tag span { display: grid; min-width: 0; }
.tag b { font-weight: 600; overflow-wrap: anywhere; }
.tag small { font-family: var(--mono); font-size: 12px; color: var(--muted); }
.post-stats { display: flex; gap: 18px; margin: 16px 0 0; color: var(--muted); font-size: 15px; }
.community-cta h2 { font-size: clamp(28px, 3.4vw, 38px); font-weight: 800; letter-spacing: -.01em; margin-bottom: 12px; }
.community-cta > p { color: var(--muted); margin: 0 0 24px; max-width: 46ch; }
.community-cta .community-rules { font-size: 14px; margin: 28px 0 0; }
.community-rules a { color: var(--pink); }
.perfil-head { display: flex; gap: 18px; align-items: center; min-width: 0; }
.perfil-head .avatar { width: 96px; height: 96px; }
.perfil-head .avatar-initial { font-size: 44px; }
.perfil-id { min-width: 0; }
.perfil-id h1 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -.01em; overflow-wrap: anywhere; margin-bottom: 6px; }
.perfil-handle { margin: 6px 0 0; font-family: var(--mono); font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }
.perfil-bio { margin: 18px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.perfil-since { margin: 10px 0 0; color: var(--muted); font-size: 14px; }
.perfil-stats { list-style: none; margin: 20px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 10px 22px; color: var(--muted); font-size: 15px; }
.perfil-stats b { color: var(--fg); font-family: var(--display); font-size: 20px; }
.perfil-favs h2 { font-size: 20px; font-weight: 700; margin: 26px 0 12px; }
.fav-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.fav { display: block; text-decoration: none; border-radius: 12px; overflow: hidden; aspect-ratio: 2 / 3; background: var(--surface-2); }
.fav img { display: block; width: 100%; height: 100%; object-fit: cover; }
.fav:hover { outline: 2px solid var(--pink); outline-offset: 2px; }
.fav-noposter { display: grid; place-items: center; height: 100%; padding: 8px; text-align: center; font-size: 13px; color: var(--muted); text-decoration: none; }
@media (max-width: 860px) {
  .post-page, .perfil-page { grid-template-columns: 1fr; gap: 36px; padding-block: 16px 48px; }
}
@media (max-width: 560px) {
  .post, .perfil { padding: 16px; border-radius: 18px; }
  .post-body { font-size: 17px; }
  .fav-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .perfil-head .avatar { width: 72px; height: 72px; }
  .perfil-head .avatar-initial { font-size: 34px; }
}

/* Premium (/premium): planes y pasos */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; max-width: 900px; margin-inline: auto; }
.plan { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 28px 22px 24px; display: grid; gap: 8px; justify-items: center; text-align: center; align-content: start; }
.plan.best { border-color: var(--gold); }
.plan h3 { font-size: 20px; font-weight: 700; }
.plan .price { font-family: var(--display); font-size: 40px; font-weight: 800; line-height: 1.1; }
.plan .price small { font-family: var(--body); font-size: 15px; font-weight: 600; color: var(--muted); }
.plan p { color: var(--muted); margin: 0; font-size: 15px; }
.plan-badge { position: absolute; top: -13px; background: var(--gold); color: var(--bg); font-family: var(--mono); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; }
.plans-note { text-align: center; color: var(--muted); font-size: 15px; margin: 28px auto 0; max-width: 52ch; }
.premium-steps { max-width: 560px; margin-inline: auto; }
@media (max-width: 860px) {
  .plans { grid-template-columns: 1fr; max-width: 420px; gap: 26px; }
}
