/* =============================================================
   Taza Clara · styles.css
   1. Fuentes y tokens  2. Base  3. Layout  4. Componentes
   5. Secciones  6. Ficha  7. Guías y comparativas  8. Comparador
   9. Legal, footer, cookies  10. Responsive
   ============================================================= */

/* 1. Fuentes y tokens ----------------------------------------- */
@font-face { font-family: "Fraunces"; src: url("/fonts/fraunces.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("/fonts/inter.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

:root {
  --paper: #F5EFE6;
  --paper-2: #EDE3D3;
  --card: #FBF8F3;
  --ink: #241912;
  --ink-2: #5B4A3D;
  --ink-3: #8A786A;
  --line: #DCCDB8;
  --line-2: #E8DDCD;
  --accent: #A35F2C;
  --accent-ink: #7E4519;
  --crema: #E9C9A0;
  --yes: #3F6B4A;
  --no: #9A3B2E;
  --s1: #A35F2C;
  --s2: #2F5D6B;
  --s3: #6E7B3A;
  --t5: #2F5F3E; --t4: #4C7A4F; --t3: #9A7A22; --t2: #7A6A5C; --t1: #9A3B2E;
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(36, 25, 18, .05), 0 8px 24px -12px rgba(36, 25, 18, .18);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --gutter: 16px;
  --maxw: 1180px;
}

/* 2. Base ------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  font-family: var(--sans); font-size: 16px; line-height: 1.62; color: var(--ink);
  background: var(--paper); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
a { color: inherit; text-decoration: none; }
p { text-wrap: pretty; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.12; letter-spacing: -0.015em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 1.4rem + 2.8vw, 3.25rem); font-weight: 560; }
h2 { font-size: clamp(1.45rem, 1.2rem + 1vw, 1.95rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1rem; font-family: var(--sans); font-weight: 650; letter-spacing: 0; }
::selection { background: var(--crema); color: var(--ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.skip-link { position: fixed; top: -100px; left: 1rem; padding: .6rem 1rem; background: var(--ink); color: var(--paper); z-index: 9999; border-radius: 8px; }
.skip-link:focus { top: 1rem; }
.prose a, .lede a, .note a, .method-note a, .ficha-meta a, .crit-just a, .foot-legal a, .scorebox-note a, .cookie-inner a, .vs-summary a {
  color: var(--accent-ink); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px;
}
.center { text-align: center; }
.center .btn { margin-inline: auto; }

/* 3. Layout ---------------------------------------------------- */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.block { margin-block: 3rem; }
.block > h2 { margin-bottom: 1.1rem; }
.block-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.1rem; flex-wrap: wrap; }
.block-head a { font-size: .9rem; font-weight: 600; color: var(--accent-ink); }
.grid { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
.two-col { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.kicker { font-family: var(--sans); font-size: .74rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); }
.kicker a:hover { text-decoration: underline; }
.note { font-size: .86rem; color: var(--ink-3); margin-top: .8rem; }
.page-head { padding-top: 1.2rem; padding-bottom: .5rem; }
.page-head h1 { margin: .4rem 0 .8rem; max-width: 22ch; }
.lede { max-width: 68ch; color: var(--ink-2); font-size: 1.08rem; }
.lede p + p { margin-top: .7rem; }

/* 4. Componentes ----------------------------------------------- */
/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(245, 239, 230, .94); border-bottom: 1px solid var(--line-2); }
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(245, 239, 230, .82); backdrop-filter: blur(10px) saturate(1.2); } }
.header-inner { display: flex; flex-direction: column; gap: .2rem; padding-top: .7rem; }
.logo { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--serif); font-size: 1.35rem; font-weight: 600; letter-spacing: -.01em; color: var(--ink); }
.logo-mark { color: var(--ink); width: 28px; height: 28px; flex: none; }
.logo em { font-style: italic; font-weight: 450; color: var(--accent); }
.main-nav { margin-inline: calc(var(--gutter) * -1); overflow-x: auto; scrollbar-width: none; }
.main-nav::-webkit-scrollbar { display: none; }
.main-nav > ul { display: flex; gap: .2rem; list-style: none; padding: .25rem var(--gutter) .55rem; white-space: nowrap; }
.main-nav a { display: block; padding: .4rem .7rem; border-radius: 999px; font-size: .9rem; font-weight: 550; color: var(--ink-2); transition: background .2s, color .2s; }
.main-nav a:hover { background: var(--paper-2); color: var(--ink); }
.main-nav .sub { display: none; }

/* Botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 44px; padding: .65rem 1.15rem; border-radius: 999px; font-weight: 600; font-size: .93rem; transition: background .25s var(--ease-out), color .25s, border-color .25s, transform .25s var(--ease-out); }
.btn-solid { background: var(--ink); color: var(--paper); }
.btn-solid:hover { background: var(--accent-ink); }
.btn-ghost { border: 1.5px solid var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-amazon {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 50px; padding: .8rem 1.4rem;
  background: var(--accent); color: #fff; border-radius: 999px; font-weight: 700; font-size: .9rem; letter-spacing: .06em; text-transform: uppercase;
  box-shadow: 0 6px 18px -8px rgba(163, 95, 44, .65); transition: background .25s, transform .25s var(--ease-out);
}
.btn-amazon:hover { background: var(--accent-ink); transform: translateY(-1px); }
.btn-amazon svg { width: 14px; height: 14px; flex: none; }
.btn-amazon.sm { min-height: 42px; padding: .55rem 1rem; font-size: .76rem; box-shadow: none; }
.btn-amazon.is-disabled { background: var(--paper-2); color: var(--ink-3); box-shadow: none; cursor: not-allowed; text-transform: none; letter-spacing: 0; font-weight: 600; border: 1.5px dashed var(--line); }
.aviso-cta { font-size: .74rem; line-height: 1.45; color: var(--ink-3); margin-top: .55rem; max-width: 46ch; }
.aviso-lista { font-size: .78rem; color: var(--ink-3); margin: 0 0 1rem; padding-left: .8rem; border-left: 2px solid var(--line); }
.link-btn { padding: 0; color: inherit; text-decoration: underline; text-underline-offset: 3px; font-size: inherit; }

/* Puntuación */
.score-pill { display: inline-flex; align-items: center; gap: .55rem; padding: .3rem .75rem .3rem .3rem; border-radius: 999px; background: color-mix(in srgb, var(--tc, var(--t2)) 11%, var(--card)); border: 1px solid color-mix(in srgb, var(--tc, var(--t2)) 30%, transparent); }
.score-pill strong { display: grid; place-items: center; min-width: 2.6rem; height: 2.1rem; padding: 0 .4rem; border-radius: 999px; background: var(--tc, var(--t2)); color: #fff; font-family: var(--serif); font-size: 1.05rem; font-weight: 600; }
.score-pill span { font-size: .8rem; font-weight: 650; color: var(--tc, var(--t2)); letter-spacing: .01em; }
.score-pill.sm strong { min-width: 2.3rem; height: 1.85rem; font-size: .95rem; }
.score-pill.sm span { font-size: .74rem; }
.score-pill.is-empty { --tc: var(--ink-3); }
.t5 { --tc: var(--t5); } .t4 { --tc: var(--t4); } .t3 { --tc: var(--t3); } .t2 { --tc: var(--t2); } .t1 { --tc: var(--t1); }

/* Insignias */
.badges { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: .7rem 0 0; }
.badge { display: inline-flex; align-items: center; gap: .45rem; padding: .28rem .7rem; border: 1px solid var(--ink); border-radius: 4px; font-size: .7rem; font-weight: 700; letter-spacing: .09em; text-transform: uppercase; color: var(--ink); background: var(--card); }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.sample-flag { display: inline-block; margin-top: .4rem; padding: .15rem .55rem; border-radius: 4px; background: #F3E3C4; color: #6B4A12; font-size: .7rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.sample-banner { margin-top: .8rem; padding: .8rem 1rem; border-radius: var(--radius-sm); background: #F3E3C4; color: #5A3E0F; font-size: .9rem; }

/* Tarjetas */
.card { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .35s var(--ease-out), box-shadow .35s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(36, 25, 18, .05), 0 18px 36px -18px rgba(36, 25, 18, .3); }
.card-media { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--paper-2); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease-out); }
.card:hover .card-media img { transform: scale(1.03); }
.card-rank { position: absolute; top: .7rem; left: .7rem; z-index: 1; display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--ink); color: var(--paper); font-family: var(--serif); font-weight: 600; }
.card-body { display: flex; flex-direction: column; gap: .2rem; padding: 1.1rem 1.15rem 1.2rem; flex: 1; }
.card-kicker { font-size: .74rem; font-weight: 600; color: var(--ink-3); letter-spacing: .03em; }
.card-title { font-size: 1.22rem; line-height: 1.2; }
.card-title a:hover { color: var(--accent-ink); }
.card-score { margin-top: .6rem; }
.card-sum { margin-top: .6rem; color: var(--ink-2); font-size: .93rem; }
.card-actions { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: auto; padding-top: 1rem; }
.card-actions .btn { min-height: 42px; padding: .5rem 1rem; font-size: .85rem; }

/* Listas */
.ticks, .crosses, .bullets { list-style: none; padding: 0; display: grid; gap: .55rem; }
.ticks li, .crosses li, .bullets li { position: relative; padding-left: 1.6rem; }
.ticks li::before, .crosses li::before { position: absolute; left: 0; top: .1em; width: 1.1rem; height: 1.1rem; display: grid; place-items: center; border-radius: 50%; font-size: .72rem; font-weight: 800; line-height: 1; }
.ticks li::before { content: "✓"; background: color-mix(in srgb, var(--yes) 14%, transparent); color: var(--yes); }
.crosses li::before { content: "✕"; background: color-mix(in srgb, var(--no) 12%, transparent); color: var(--no); }
.bullets li::before { content: ""; position: absolute; left: .3rem; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.link-list { list-style: none; padding: 0; display: grid; gap: .1rem; }
.link-list a { display: block; padding: .65rem 0; border-bottom: 1px solid var(--line-2); font-weight: 550; }
.link-list a:hover { color: var(--accent-ink); }
.link-list span { font-family: var(--serif); font-style: italic; color: var(--ink-3); margin: 0 .2rem; }
.guide-list { list-style: none; padding: 0; display: grid; gap: .8rem; grid-template-columns: 1fr; }
.guide-list a { display: flex; flex-direction: column; gap: .25rem; height: 100%; padding: 1.05rem 1.15rem; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius-sm); font-family: var(--serif); font-size: 1.12rem; font-weight: 600; line-height: 1.25; transition: border-color .25s, transform .3s var(--ease-out); }
.guide-list a:hover { border-color: var(--ink); transform: translateY(-2px); }
.guide-list small { font-family: var(--sans); font-size: .78rem; font-weight: 500; color: var(--ink-3); }
.cat-pills { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin-top: 1.2rem; }
.cat-pills a { display: inline-block; padding: .45rem .95rem; border: 1.5px solid var(--line); border-radius: 999px; font-weight: 600; font-size: .9rem; }
.cat-pills a:hover { border-color: var(--ink); }

/* Tablas */
.table-wrap { overflow-x: auto; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: var(--card); }
table { width: 100%; border-collapse: collapse; font-size: .93rem; }
th, td { text-align: left; padding: .7rem .95rem; border-bottom: 1px solid var(--line-2); vertical-align: top; }
tr:last-child > th, tr:last-child > td { border-bottom: 0; }
.specs th[scope="row"] { width: 44%; font-weight: 550; color: var(--ink-2); }
.spec-group th { padding-top: 1rem; background: var(--paper-2); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-ink); }
td.is-ne { color: var(--ink-3); font-style: italic; }
.cmp thead th { font-family: var(--serif); font-size: 1rem; font-weight: 600; background: var(--paper-2); }
.cmp th[scope="row"] { font-weight: 550; color: var(--ink-2); }
.cmp td.is-best { font-weight: 700; color: var(--yes); background: color-mix(in srgb, var(--yes) 8%, transparent); }
.cmp td.is-best::after { content: " ▲"; font-size: .65rem; }
.cmp .row-global th, .cmp .row-global td { font-family: var(--serif); font-size: 1.05rem; }
.cmp-wide th, .cmp-wide td { white-space: nowrap; }
.cmp-wide td.g { font-weight: 700; }
.nd { color: var(--ink-3); font-style: italic; }

/* FAQ */
.faq { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1rem 2rem 1rem 0; position: relative; font-weight: 600; font-size: 1.02rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: .2rem; top: .8rem; font-size: 1.4rem; font-weight: 400; color: var(--accent); transition: transform .3s var(--ease-out); }
.faq[open] summary::after { transform: rotate(45deg); }
.faq-a { padding: 0 0 1.1rem; color: var(--ink-2); max-width: 70ch; }

/* Prose */
.prose { max-width: 72ch; }
.prose p, .prose ul { margin-top: .9rem; }
.prose h2 { margin-top: 2.4rem; }
.prose h3 { margin-top: 1.6rem; margin-bottom: .6rem; }
.prose .table-wrap { margin-top: .9rem; }
.lede-p { font-size: 1.12rem; color: var(--ink-2); }

/* 5. Secciones ------------------------------------------------- */
.crumbs ol { display: flex; flex-wrap: wrap; gap: .3rem; list-style: none; padding: 1rem 0 0; font-size: .8rem; color: var(--ink-3); }
.crumbs li + li::before { content: "/"; margin-right: .3rem; color: var(--line); }
.crumbs a:hover { color: var(--ink); text-decoration: underline; }

.hero { position: relative; overflow: hidden; border-bottom: 1px solid var(--line-2); background:
  radial-gradient(900px 400px at 85% 10%, rgba(233, 201, 160, .45), transparent 60%), var(--paper); }
.hero-inner { display: grid; gap: 1.5rem; align-items: center; padding-block: 2.5rem 2.8rem; }
.hero h1 { font-size: clamp(2.3rem, 1.5rem + 3.6vw, 4.1rem); margin: .7rem 0 1rem; max-width: 15ch; }
.hero h1 em { font-style: italic; font-weight: 420; color: var(--accent); }
.hero-lede { font-size: 1.12rem; color: var(--ink-2); max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.6rem; }
.hero-art img { width: min(100%, 360px); margin-inline: auto; }

.cat-cards { list-style: none; padding: 0; display: grid; gap: .9rem; grid-template-columns: repeat(2, 1fr); }
.cat-card { display: flex; flex-direction: column; gap: .15rem; height: 100%; padding: 1rem; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius); transition: transform .35s var(--ease-out), border-color .25s; }
.cat-card:hover { transform: translateY(-3px); border-color: var(--ink); }
.cat-card img { width: 100%; max-width: 140px; aspect-ratio: 1; border-radius: 50%; margin-bottom: .6rem; }
.cat-card strong { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; line-height: 1.2; }
.cat-card small { color: var(--ink-3); font-size: .8rem; }

.trust { display: grid; gap: 2rem; padding: 2rem 1.3rem; background: var(--ink); color: var(--paper); border-radius: calc(var(--radius) + 6px); }
.trust .kicker { color: var(--crema); }
.trust h2 { margin: .5rem 0 1rem; }
.trust p { color: #D9CDBE; margin-top: .8rem; max-width: 56ch; }
.trust .btn-ghost { margin-top: 1.4rem; color: var(--paper); border-color: rgba(245, 239, 230, .35); }
.trust .btn-ghost:hover { border-color: var(--paper); }
.trust-weights { display: grid; gap: 1.6rem; }
.weights h3 { font-size: 1.05rem; margin-bottom: .7rem; color: var(--crema); }
.weights ul { list-style: none; padding: 0; display: grid; gap: .5rem; }
.weights li { display: grid; grid-template-columns: 1fr 90px 2.6rem; align-items: center; gap: .7rem; font-size: .86rem; color: #E8DDD0; }
.w-bar { height: 6px; border-radius: 3px; background: rgba(245, 239, 230, .14); overflow: hidden; }
.w-bar i { display: block; height: 100%; background: var(--crema); border-radius: 3px; }
.weights b { text-align: right; font-weight: 600; }
.cta-band { text-align: center; padding: 2.6rem 1.2rem; border: 1px solid var(--line); border-radius: calc(var(--radius) + 6px); background: var(--paper-2); }
.cta-band p { color: var(--ink-2); margin: .6rem auto 1.3rem; max-width: 48ch; }

/* Filtros */
.filters { display: grid; gap: .9rem; margin: 1.6rem 0 1.4rem; padding: 1rem; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius); }
.filter-group { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .8rem; }
.filter-label { font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); min-width: 5.5rem; }
.chips { display: flex; flex-wrap: wrap; gap: .35rem; }
.chip { min-height: 36px; padding: .35rem .85rem; border: 1.5px solid var(--line); border-radius: 999px; font-size: .86rem; font-weight: 550; color: var(--ink-2); transition: all .2s; }
.chip:hover { border-color: var(--ink-2); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.filters select { min-height: 40px; padding: .4rem 2rem .4rem .8rem; border: 1.5px solid var(--line); border-radius: 999px; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23241912' stroke-width='1.6'/%3E%3C/svg%3E") no-repeat right .8rem center; font: inherit; font-size: .88rem; color: var(--ink); appearance: none; }
.filter-count { font-size: .85rem; color: var(--ink-3); }
.empty { padding: 2rem; text-align: center; color: var(--ink-3); }

/* 6. Ficha ------------------------------------------------------ */
.ficha-head { display: grid; gap: 1.6rem; padding-top: 1.2rem; }
.ficha-gallery { min-width: 0; }
.ficha-main { aspect-ratio: 1; background: var(--card); border: 1px solid var(--line-2); border-radius: calc(var(--radius) + 4px); overflow: hidden; display: grid; place-items: center; }
.ficha-main img { width: 100%; height: 100%; object-fit: contain; }
.ficha-main.is-ph img { object-fit: cover; }
.thumbs { display: flex; gap: .5rem; list-style: none; padding: 0; margin-top: .6rem; overflow-x: auto; }
.thumbs a { display: block; width: 68px; height: 68px; border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); overflow: hidden; background: var(--card); }
.thumbs a.is-on, .thumbs a:hover { border-color: var(--ink); }
.thumbs img { width: 100%; height: 100%; object-fit: contain; }
.ficha-info h1 { margin: .5rem 0 .4rem; font-size: clamp(1.9rem, 1.4rem + 2.2vw, 2.9rem); }
.ficha-brand { color: var(--ink-2); font-size: .95rem; }
.scorebox { display: flex; align-items: center; gap: 1rem; margin-top: 1.2rem; padding: .9rem 1rem; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line-2); border-left: 5px solid var(--tc, var(--t2)); }
.scorebox-num { font-family: var(--serif); font-size: 2.6rem; font-weight: 600; line-height: 1; color: var(--tc, var(--t2)); white-space: nowrap; }
.scorebox-num small { font-size: 1rem; color: var(--ink-3); font-weight: 500; }
.scorebox-label { font-weight: 750; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; color: var(--tc, var(--t2)); }
.scorebox-note { font-size: .82rem; color: var(--ink-3); margin-top: .15rem; }
.scorebox.is-empty { --tc: var(--ink-3); }
.ficha-sum { margin-top: 1.1rem; font-size: 1.06rem; color: var(--ink-2); }
.ficha-cta { margin-top: 1.4rem; }
.ficha-meta { margin-top: 1rem; font-size: .84rem; color: var(--ink-3); }
.toc { position: sticky; top: 58px; z-index: 5; display: flex; gap: .3rem; margin: 2rem calc(var(--gutter) * -1) 0; padding: .6rem var(--gutter); overflow-x: auto; background: rgba(245, 239, 230, .96); border-bottom: 1px solid var(--line-2); scrollbar-width: none; }
.toc::-webkit-scrollbar { display: none; }
.toc a { flex: none; padding: .35rem .75rem; border-radius: 999px; font-size: .84rem; font-weight: 600; color: var(--ink-2); }
.toc a:hover { background: var(--paper-2); color: var(--ink); }
.panel { padding: 1.2rem 1.25rem; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius); }
.panel h3 { font-size: 1.1rem; margin-bottom: .8rem; }
.panel-yes { border-top: 4px solid var(--yes); }
.panel-no { border-top: 4px solid var(--no); }
.score-grid { display: grid; gap: 1.5rem; align-items: start; }
.radar { margin: 0; padding: 1rem; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius); }
.radar figcaption { text-align: center; font-size: .8rem; color: var(--ink-3); margin-top: .3rem; }
.radar-svg { width: 100%; max-width: 380px; margin-inline: auto; overflow: visible; }
.r-ring { fill: none; stroke: var(--line-2); stroke-width: 1; }
.r-ring-out { stroke: var(--line); }
.r-axis { stroke: var(--line-2); stroke-width: 1; }
.r-axis.is-nd { stroke-dasharray: 3 4; stroke: var(--ink-3); }
.r-poly { fill: var(--c); fill-opacity: .16; stroke: var(--c); stroke-width: 2.2; stroke-linejoin: round; }
.r-dot { fill: var(--card); stroke: var(--c); stroke-width: 2; }
.r-label { font-family: var(--sans); font-size: 11.5px; font-weight: 600; fill: var(--ink-2); }
.r-val { font-family: var(--serif); font-size: 12.5px; font-weight: 600; fill: var(--ink); }
.r-label.is-nd, .r-label.is-nd .r-val { fill: var(--ink-3); font-style: italic; font-weight: 500; font-family: var(--sans); font-size: 10.5px; }
.radar-legend { display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 1rem; list-style: none; padding: 0; margin-top: .6rem; font-size: .84rem; font-weight: 550; }
.radar-legend li { display: inline-flex; align-items: center; gap: .4rem; }
.radar-legend span { width: 14px; height: 14px; border-radius: 3px; background: var(--c); }
.criteria { list-style: none; padding: 0; display: grid; gap: 1rem; }
.crit-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.crit-name { font-weight: 650; }
.crit-name small { font-weight: 500; color: var(--ink-3); font-size: .78rem; margin-left: .2rem; }
.crit-val { font-family: var(--serif); font-size: 1.2rem; font-weight: 600; white-space: nowrap; }
.crit-val small { font-size: .78rem; color: var(--ink-3); font-family: var(--sans); }
.crit-bar { height: 6px; margin: .4rem 0 .5rem; border-radius: 3px; background: var(--line-2); overflow: hidden; }
.crit-bar span { display: block; height: 100%; border-radius: 3px; background: var(--accent); }
.crit.is-nd .crit-val { font-family: var(--sans); font-size: .8rem; font-style: italic; color: var(--ink-3); font-weight: 600; }
.crit.is-nd .crit-bar { background: repeating-linear-gradient(-45deg, var(--line-2) 0 5px, transparent 5px 10px); }
.crit-just { font-size: .9rem; color: var(--ink-2); }
.crit-just strong { color: var(--ink); }
.crit-basis { display: block; margin-top: .2rem; font-size: .78rem; color: var(--ink-3); }
.verdict { margin: 3.5rem 0; }
.verdict-inner { position: relative; padding: 2rem 1.4rem; background: var(--ink); color: var(--paper); border-radius: calc(var(--radius) + 6px); overflow: hidden; }
.verdict-inner::before { content: ""; position: absolute; right: -60px; top: -60px; width: 220px; height: 220px; border-radius: 50%; background: radial-gradient(circle, rgba(233, 201, 160, .22), transparent 70%); }
.verdict .kicker { color: var(--crema); }
.verdict-text { position: relative; margin-top: .8rem; font-family: var(--serif); font-size: clamp(1.15rem, 1rem + .6vw, 1.4rem); line-height: 1.5; font-weight: 420; }
.verdict-rec { margin-top: .9rem; font-weight: 650; color: var(--crema); }
.verdict-foot { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.2rem; margin-top: 1.6rem; padding-top: 1.4rem; border-top: 1px solid rgba(245, 239, 230, .16); }
.verdict-score { display: flex; align-items: center; gap: .8rem; }
.verdict-score strong { font-family: var(--serif); font-size: 3rem; line-height: 1; font-weight: 600; color: var(--crema); }
.verdict-score span { font-weight: 750; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; }
.verdict .aviso-cta { color: #BFB1A2; }
.related h2 { font-size: 1.3rem; margin-bottom: .6rem; }

/* 7. Guías y comparativas --------------------------------------- */
.method-note { margin-top: 1rem; max-width: 72ch; padding: .8rem 1rem; border-left: 3px solid var(--accent); background: var(--card); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: .88rem; color: var(--ink-2); }
.guide-layout { display: grid; gap: 2rem; margin-top: 2rem; }
.guide-toc { padding: 1rem 1.1rem; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius); align-self: start; }
.guide-toc ol { list-style: none; padding: 0; margin-top: .6rem; display: grid; gap: .55rem; }
.guide-toc li { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.guide-toc li > a { font-weight: 600; font-size: .92rem; line-height: 1.3; }
.guide-toc li > a span { color: var(--ink-3); }
.guide-toc li > a:hover { color: var(--accent-ink); }
.guide-toc .score-pill { padding: 0; background: none; border: 0; }
.guide-toc .score-pill span { display: none; }
.guide-main { min-width: 0; }
.picks { display: grid; gap: 1.4rem; }
.pick { position: relative; display: grid; gap: 1rem; padding: 1.2rem; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: var(--shadow); }
.pick-rank { position: absolute; top: -12px; left: 1rem; display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--ink); color: var(--paper); font-family: var(--serif); font-weight: 600; font-size: 1.05rem; }
.pick-media { display: block; aspect-ratio: 4 / 3; border-radius: var(--radius-sm); overflow: hidden; background: var(--paper-2); }
.pick-media img { width: 100%; height: 100%; object-fit: cover; }
.pick-body h3 { font-size: 1.4rem; margin: .2rem 0 .7rem; }
.pick-body h3 a:hover { color: var(--accent-ink); }
.pick-body > p { margin-top: .7rem; color: var(--ink-2); }
.pick-crit { font-size: .9rem; }
.pick-pc { display: grid; gap: 1rem; margin-top: 1rem; font-size: .9rem; }
.pick-pc h4 { margin-bottom: .45rem; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.pick-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.2rem; align-items: center; }
.vs { font-style: italic; font-weight: 400; color: var(--accent); padding: 0 .15em; }
.vs-summary { margin-top: 1.4rem; padding: 1.2rem 1.3rem; max-width: 760px; background: var(--card); border: 1px solid var(--line-2); border-left: 4px solid var(--accent); border-radius: var(--radius); }
.vs-summary h2 { font-size: 1.15rem; margin-bottom: .6rem; }
.vs-summary ul { padding-left: 1.1rem; display: grid; gap: .3rem; }
.vs-cols { display: grid; gap: 1.2rem; margin: 2rem 0 1.2rem; }
.vs-col { display: flex; flex-direction: column; gap: .6rem; padding: 1.2rem; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius); }
.vs-col h2 { font-size: 1.4rem; }
.vs-media { display: block; aspect-ratio: 4 / 3; border-radius: var(--radius-sm); overflow: hidden; background: var(--paper-2); }
.vs-media img { width: 100%; height: 100%; object-fit: cover; }
.vs-col .badges { margin-top: 0; }
.vs-choose { font-size: .92rem; color: var(--ink-2); }
.mini-pc { font-size: .9rem; display: grid; gap: .5rem; }
.mini-pc h3 { font-family: var(--sans); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-top: .4rem; }
.vs-col .btn-ghost { align-self: flex-start; }
.link-list.cols { column-gap: 2rem; }

/* 8. Comparador -------------------------------------------------- */
.comparator { margin-top: 1.4rem; }
.cmp-tabs { display: inline-flex; padding: .25rem; gap: .25rem; background: var(--paper-2); border-radius: 999px; margin-bottom: 1rem; }
.cmp-tabs button { min-height: 40px; padding: .4rem 1.1rem; border-radius: 999px; font-weight: 600; font-size: .9rem; color: var(--ink-2); }
.cmp-tabs button[aria-selected="true"] { background: var(--ink); color: var(--paper); }
.cmp-picker { padding: 1rem; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius); }
.cmp-picker-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .6rem; margin-bottom: .8rem; }
.cmp-picker-head p { font-size: .88rem; color: var(--ink-3); }
.cmp-search { width: 100%; min-height: 44px; padding: .5rem .95rem; border: 1.5px solid var(--line); border-radius: 999px; background: var(--paper); font: inherit; color: var(--ink); margin-bottom: .8rem; }
.cmp-group-title { margin: .9rem 0 .4rem; font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.cmp-list { list-style: none; padding: 0; display: grid; gap: .4rem; grid-template-columns: 1fr; }
.cmp-item label { display: flex; align-items: center; gap: .7rem; padding: .5rem .7rem; border: 1.5px solid var(--line-2); border-radius: var(--radius-sm); cursor: pointer; font-size: .92rem; font-weight: 550; transition: border-color .2s, background .2s; }
.cmp-item label:hover { border-color: var(--ink-3); }
.cmp-item input { width: 18px; height: 18px; accent-color: var(--ink); flex: none; }
.cmp-item input:checked + span { color: var(--ink); }
.cmp-item label:has(input:checked) { border-color: var(--ink); background: var(--paper); }
.cmp-item label:has(input:disabled) { opacity: .45; cursor: not-allowed; }
.cmp-item .cmp-g { margin-left: auto; font-family: var(--serif); font-weight: 600; }
.cmp-result { margin-top: 2rem; }
.cmp-hint { padding: 2.2rem 1rem; text-align: center; color: var(--ink-3); border: 1.5px dashed var(--line); border-radius: var(--radius); }
.cmp-heads { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.cmp-head { position: relative; display: flex; flex-direction: column; gap: .5rem; padding: 1.1rem; background: var(--card); border: 1px solid var(--line-2); border-top: 5px solid var(--c); border-radius: var(--radius); }
.cmp-head h3 { font-size: 1.2rem; }
.cmp-head h3 a:hover { text-decoration: underline; }
.cmp-head img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius-sm); background: var(--paper-2); }
.cmp-head .why { font-size: .82rem; color: var(--ink-3); }
.cmp-remove { position: absolute; top: .6rem; right: .6rem; z-index: 2; width: 32px; height: 32px; border-radius: 50%; background: var(--paper); border: 1px solid var(--line); font-size: 1.1rem; line-height: 1; color: var(--ink-2); }
.cmp-remove:hover { background: var(--ink); color: var(--paper); }
.cmp-highlights { display: grid; gap: .6rem; grid-template-columns: 1fr; margin: 1.6rem 0; }
.hl { padding: .9rem 1rem; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius-sm); }
.hl small { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.hl strong { display: flex; align-items: center; gap: .45rem; margin-top: .2rem; font-family: var(--serif); font-size: 1.05rem; font-weight: 600; line-height: 1.25; }
.hl strong i { width: 10px; height: 10px; border-radius: 50%; background: var(--c); flex: none; }
.cmp-section { margin-top: 2rem; }
.cmp-section h3 { font-size: 1.3rem; margin-bottom: .8rem; }
.cmp-pc { display: grid; gap: 1rem; grid-template-columns: 1fr; }
.cmp-pc > div { padding: 1rem 1.1rem; background: var(--card); border: 1px solid var(--line-2); border-top: 4px solid var(--c); border-radius: var(--radius); font-size: .9rem; }
.cmp-pc h4 { font-size: 1rem; font-family: var(--serif); margin-bottom: .6rem; }
.cmp-pc h5 { margin: .8rem 0 .4rem; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.cmp-th-dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--c); margin-right: .4rem; }

/* 9. Footer, cookies -------------------------------------------- */
.site-footer { margin-top: 4rem; padding: 3rem 0 2rem; background: var(--paper-2); border-top: 1px solid var(--line); }
.foot-grid { display: grid; gap: 2rem; grid-template-columns: 1fr 1fr; }
.foot-brand { grid-column: 1 / -1; }
.foot-brand p { margin-top: .7rem; color: var(--ink-2); font-size: .92rem; max-width: 40ch; }
.site-footer h2 { font-family: var(--sans); font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .8rem; }
.site-footer ul { list-style: none; padding: 0; display: grid; gap: .45rem; font-size: .9rem; }
.site-footer ul a:hover { color: var(--accent-ink); text-decoration: underline; }
.foot-legal { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: grid; gap: .6rem; font-size: .8rem; color: var(--ink-3); }
.aviso-afiliado { color: var(--ink-2); }
.cookie-banner { position: fixed; left: var(--gutter); right: var(--gutter); bottom: var(--gutter); z-index: 100; max-width: 640px; margin-inline: auto; }
.cookie-banner[hidden] { display: none; }
.cookie-inner { padding: 1.1rem 1.2rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 20px 50px -20px rgba(36, 25, 18, .45); font-size: .88rem; }
.cookie-actions { display: flex; gap: .6rem; margin-top: .9rem; }
.cookie-actions .btn { flex: 1; min-height: 44px; }

/* 10. Responsive ----------------------------------------------- */
@media (min-width: 540px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .guide-list { grid-template-columns: repeat(2, 1fr); }
  .cmp-list { grid-template-columns: repeat(2, 1fr); }
  .cmp-highlights { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 720px) {
  :root { --gutter: 28px; }
  .two-col { grid-template-columns: 1fr 1fr; }
  .cat-cards { grid-template-columns: repeat(4, 1fr); }
  .pick { grid-template-columns: 220px 1fr; padding: 1.4rem; }
  .pick-pc { grid-template-columns: 1fr 1fr; }
  .vs-cols { grid-template-columns: 1fr 1fr; }
  .cmp-heads.n2, .cmp-pc.n2 { grid-template-columns: repeat(2, 1fr); }
  .cmp-heads.n3, .cmp-pc.n3 { grid-template-columns: repeat(3, 1fr); }
  .cmp-highlights { grid-template-columns: repeat(4, 1fr); }
  .foot-grid { grid-template-columns: repeat(4, 1fr); }
  .link-list.cols { columns: 2; display: block; }
  .link-list.cols li { break-inside: avoid; }
  .trust { padding: 2.6rem; }
  .verdict-inner { padding: 2.6rem; }
}
@media (min-width: 960px) {
  .header-inner { flex-direction: row; align-items: center; justify-content: space-between; padding-block: .7rem; }
  .main-nav { margin: 0; overflow: visible; }
  .main-nav > ul { padding: 0; }
  .has-sub { position: relative; }
  .has-sub > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: .45rem; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); }
  .main-nav .sub { position: absolute; top: 100%; left: 0; display: block; min-width: 220px; padding: .5rem; list-style: none; background: var(--card); border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s, transform .25s var(--ease-out), visibility .2s; }
  .main-nav .sub a { border-radius: var(--radius-sm); }
  .has-sub:hover .sub, .has-sub:focus-within .sub { opacity: 1; visibility: visible; transform: none; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .guide-list { grid-template-columns: repeat(3, 1fr); }
  .guide-main .guide-list { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1.25fr .75fr; padding-block: 4rem 4.4rem; }
  .ficha-head { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: 3rem; align-items: start; padding-top: 1.6rem; }
  .ficha-gallery { position: sticky; top: 90px; }
  .toc { top: 61px; margin-inline: 0; padding-inline: 0; }
  .score-grid { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 2.2rem; }
  .trust { grid-template-columns: 1.1fr .9fr; align-items: center; gap: 3rem; }
  .guide-layout { grid-template-columns: 260px minmax(0, 1fr); }
  .guide-toc { position: sticky; top: 90px; }
  .cmp-list { grid-template-columns: repeat(3, 1fr); }
  .foot-grid { grid-template-columns: 1.6fr repeat(4, 1fr); }
  .foot-brand { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
@media print {
  .site-header, .site-footer, .cookie-banner, .toc, .btn-amazon { display: none !important; }
}

/* 11. Asistente ---------------------------------------------------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.as-launcher { position: fixed; right: var(--gutter); bottom: calc(var(--gutter) + env(safe-area-inset-bottom)); z-index: 90; display: inline-flex; align-items: center; gap: .55rem; height: 56px; padding: 0 1.15rem 0 .5rem; border-radius: 999px; background: var(--ink); color: var(--paper); box-shadow: 0 14px 34px -14px rgba(36, 25, 18, .7); font-weight: 650; font-size: .92rem; transition: transform .3s var(--ease-out), background .25s, bottom .3s var(--ease-out); }
.as-launcher:hover { background: var(--accent-ink); transform: translateY(-2px); }
.as-launcher-ico { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--crema); color: var(--ink); }
.as-launcher-ico svg { width: 22px; height: 22px; }
.as-cookie-open .as-launcher { bottom: 190px; }
.as-open .as-launcher { display: none; }
.as-panel { position: fixed; z-index: 95; inset: 0; display: flex; flex-direction: column; background: var(--paper); }
.as-panel[hidden] { display: none; }
.as-head { display: flex; align-items: center; gap: .7rem; padding: .8rem 1rem; padding-top: calc(.8rem + env(safe-area-inset-top)); background: var(--ink); color: var(--paper); }
.as-avatar { display: grid; place-items: center; flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--crema); color: var(--ink); }
.as-avatar svg { width: 20px; height: 20px; }
.as-title { display: flex; flex-direction: column; flex: 1; min-width: 0; line-height: 1.25; }
.as-title strong { font-family: var(--serif); font-size: 1.08rem; font-weight: 600; }
.as-title span { font-size: .76rem; color: #CDBFAF; }
.as-icon-btn { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: var(--paper); }
.as-icon-btn:hover { background: rgba(245, 239, 230, .12); }
.as-icon-btn svg { width: 18px; height: 18px; }
.as-log { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 1rem; display: flex; flex-direction: column; gap: .75rem; }
.as-msg { max-width: 92%; font-size: .93rem; line-height: 1.55; }
.as-msg p + p, .as-msg p + ul, .as-msg ul + p { margin-top: .5rem; }
.as-msg ul { padding-left: 1.1rem; margin-top: .35rem; display: grid; gap: .25rem; }
.as-msg a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 2px; }
.as-bot { align-self: flex-start; padding: .75rem .9rem; background: var(--card); border: 1px solid var(--line-2); border-radius: 4px 16px 16px 16px; }
.as-user { align-self: flex-end; padding: .6rem .9rem; background: var(--ink); color: var(--paper); border-radius: 16px 16px 4px 16px; }
.as-typing { display: inline-flex; gap: 5px; padding: .85rem 1rem; }
.as-typing span { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); animation: as-dot 1s infinite ease-in-out; }
.as-typing span:nth-child(2) { animation-delay: .15s; } .as-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes as-dot { 0%, 80%, 100% { opacity: .3; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.as-chips { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .7rem; }
.as-chip { min-height: 38px; padding: .4rem .8rem; border: 1.5px solid var(--line); border-radius: 999px; background: var(--paper); font-size: .84rem; font-weight: 600; color: var(--ink); text-align: left; transition: border-color .2s, background .2s; }
.as-chip:hover:not(:disabled) { border-color: var(--ink); }
.as-chip:disabled { opacity: .45; cursor: default; }
.as-chip.is-picked { opacity: 1; background: var(--ink); border-color: var(--ink); color: var(--paper); }
.as-links { list-style: none; padding: 0 !important; margin-top: .6rem !important; }
.as-links a { font-weight: 600; font-size: .86rem; }
.as-links a::before { content: "→ "; text-decoration: none; display: inline-block; margin-right: .2rem; }
.as-recs { display: grid; gap: .6rem; margin: .7rem 0; }
.as-rec { display: grid; grid-template-columns: 72px 1fr; gap: .75rem; padding: .7rem; background: var(--paper); border: 1px solid var(--line-2); border-radius: 12px; }
.as-rec-media img { width: 72px; height: 72px; border-radius: 10px; object-fit: cover; background: var(--paper-2); }
.as-rec-body { min-width: 0; }
.as-rec-cat { font-size: .7rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.as-msg .as-rec-name { display: block; font-family: var(--serif); font-weight: 600; font-size: 1rem; line-height: 1.25; color: var(--ink); text-decoration: none; }
.as-msg .as-rec-name:hover { text-decoration: underline; }
.as-rec .sample-flag { margin-top: .25rem; }
.as-rec-score { margin-top: .4rem; }
.as-why { font-size: .82rem; color: var(--ink-2); }
.as-con { font-size: .8rem; color: var(--ink-2); margin-top: .35rem; }
.as-rec-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .8rem; margin-top: .55rem; }
.as-msg .as-link { font-weight: 650; font-size: .85rem; }
.as-msg .btn-amazon { color: #fff; text-decoration: none; }
.as-msg .btn-amazon.sm { min-height: 36px; padding: .4rem .85rem; font-size: .7rem; }
.as-msg .btn-amazon.is-disabled { color: var(--ink-3); }
.as-aviso { font-size: .72rem; color: var(--ink-3); }
.as-warn { font-size: .84rem; color: var(--no); }
.as-hr { border: 0; border-top: 1px solid var(--line-2); margin: .9rem 0; }
.as-form { display: flex; gap: .5rem; padding: .7rem .8rem; border-top: 1px solid var(--line-2); background: var(--card); }
.as-input { flex: 1; min-width: 0; min-height: 46px; padding: .55rem 1rem; border: 1.5px solid var(--line); border-radius: 999px; background: var(--paper); font: inherit; font-size: 16px; color: var(--ink); }
.as-input:focus { outline: none; border-color: var(--ink); }
.as-send { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--accent); color: #fff; }
.as-send:hover { background: var(--accent-ink); }
.as-send svg { width: 18px; height: 18px; }
.as-foot { padding: .45rem 1rem calc(.6rem + env(safe-area-inset-bottom)); font-size: .7rem; line-height: 1.4; color: var(--ink-3); background: var(--card); }
@media (max-width: 539px) { .as-launcher-txt { display: none; } .as-launcher { padding: 0; width: 56px; justify-content: center; } }
@media (min-width: 540px) {
  .as-panel { inset: auto var(--gutter) var(--gutter) auto; width: 400px; height: min(640px, calc(100vh - 2 * var(--gutter) - 70px)); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: 0 30px 70px -25px rgba(36, 25, 18, .55); }
  .as-head { padding-top: .8rem; }
  .as-foot { padding-bottom: .6rem; }
}
@media (prefers-reduced-motion: reduce) { .as-typing span { animation: none; opacity: .6; } }
@media print { .as-launcher, .as-panel { display: none !important; } }
