/* =====================================================================
   Books by Zirlandia Milkovic — sales page
   Ink-and-indigo palette with one warm accent, matching BookPilot.
   Fonts are self-hosted: nothing here calls a third-party server.
   ===================================================================== */

@font-face { font-family: 'DM Sans'; font-weight: 400; font-style: normal; font-display: swap; src: url(assets/fonts/dm-sans-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'DM Sans'; font-weight: 400; font-style: italic; font-display: swap; src: url(assets/fonts/dm-sans-latin-400-italic.woff2) format('woff2'); }
@font-face { font-family: 'DM Sans'; font-weight: 500; font-style: normal; font-display: swap; src: url(assets/fonts/dm-sans-latin-500-normal.woff2) format('woff2'); }
@font-face { font-family: 'DM Sans'; font-weight: 600; font-style: normal; font-display: swap; src: url(assets/fonts/dm-sans-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'DM Sans'; font-weight: 700; font-style: normal; font-display: swap; src: url(assets/fonts/dm-sans-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'DM Serif Display'; font-weight: 400; font-style: normal; font-display: swap; src: url(assets/fonts/dm-serif-display-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'DM Serif Display'; font-weight: 400; font-style: italic; font-display: swap; src: url(assets/fonts/dm-serif-display-latin-400-italic.woff2) format('woff2'); }

:root {
  color-scheme: light;
  --page: #fbfaf8;
  --surface: #ffffff;
  --sunken: #f5f4f1;
  --tint: #f3f2ee;
  --border: #e6e3dd;
  --border-strong: #d3cfc7;
  --text: #1a1a1c;
  --muted: #5f5e5b;
  --subtle: #8b8985;

  --primary: #3f3aa8;
  --primary-hover: #332e8f;
  --primary-soft: #eeedfa;
  --primary-text: #302b86;
  --accent: #a9631a;
  --accent-soft: #fdf3e6;
  --gold: #e6b566;
  --gold-hover: #f0c47f;
  --success: #1c7355;
  --success-soft: #e7f4ef;

  --ink: #15132f;
  --ink-2: #1f1c4a;

  --shadow-sm: 0 1px 2px rgba(24, 22, 18, 0.05);
  --shadow: 0 1px 3px rgba(24, 22, 18, 0.06), 0 8px 20px -8px rgba(24, 22, 18, 0.12);
  --shadow-lg: 0 2px 6px rgba(24, 22, 18, 0.06), 0 24px 48px -18px rgba(24, 22, 18, 0.28);
  --ring: 0 0 0 3px rgba(63, 58, 168, 0.28);

  --r-sm: 8px;
  --r: 12px;
  --r-lg: 18px;

  --serif: 'DM Serif Display', Georgia, 'Times New Roman', serif;
  --sans: 'DM Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--page);
  color: var(--text);
  font: 400 16px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; }
a { color: var(--primary); text-underline-offset: 3px; }
a:hover { color: var(--primary-hover); }
h1, h2, h3, h4, p, ul, dl, dd { margin: 0; }
ul { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; border-radius: 4px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); }
.skip:focus { top: 12px; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.wrap--narrow { width: min(100% - 2 * var(--gutter), 760px); }

/* ---------------------------------------------------------------- type */
.eyebrow { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.eyebrow--light { color: var(--gold); }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; line-height: 1.12; text-wrap: balance; }
h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); }

/* -------------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 18px; border-radius: var(--r-sm);
  border: 1px solid transparent; font-weight: 600; font-size: 0.95rem; line-height: 1.2;
  text-decoration: none; cursor: pointer; text-align: center;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.btn:active { transform: translateY(1px); }
.btn--lg { min-height: 52px; padding: 12px 26px; font-size: 1.02rem; border-radius: 10px; }
.btn--sm { min-height: 38px; padding: 6px 14px; font-size: 0.9rem; }
.btn--primary { background: var(--primary); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--primary-hover); color: #fff; box-shadow: var(--shadow); }
.btn--secondary { background: var(--surface); color: var(--primary-text); border-color: var(--primary-border, #cfccf0); }
.btn--secondary:hover { background: var(--primary-soft); color: var(--primary-text); }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border-strong); }
.btn--ghost:hover { background: var(--sunken); color: var(--text); }
.btn--gold { background: var(--gold); color: #2a1b06; }
.btn--gold:hover { background: var(--gold-hover); color: #2a1b06; }
.btn--outline-light { color: #fff; border-color: rgba(255, 255, 255, 0.4); background: transparent; }
.btn--outline-light:hover { background: rgba(255, 255, 255, 0.1); color: #fff; border-color: rgba(255, 255, 255, 0.7); }
.btn--soon { background: var(--sunken); color: var(--muted); border-color: var(--border); cursor: default; }
.btn--soon:active { transform: none; }
.link-quiet, .link-btn { font-size: 0.9rem; }
.link-btn { background: none; border: 0; padding: 0; color: var(--primary); text-decoration: underline; cursor: pointer; text-underline-offset: 3px; }

/* --------------------------------------------------------------- header */
.top { position: sticky; top: 0; z-index: 50; background: rgba(251, 250, 248, 0.88); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--border); }
.top__in { display: flex; align-items: center; gap: 24px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); text-decoration: none; letter-spacing: -0.01em; }
.brand:hover { color: var(--text); }
.brand__mark { width: 30px; height: 30px; color: var(--primary); flex: none; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 8px 12px; border-radius: 8px; color: var(--muted); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.nav a:hover { color: var(--text); background: var(--sunken); }
@media (max-width: 760px) {
  .nav { display: none; }
  .top__cta { margin-left: auto; }
}

/* ----------------------------------------------------------------- hero */
.hero {
  position: relative; overflow: hidden; color: #fff; text-align: center;
  background:
    radial-gradient(60% 55% at 50% 100%, rgba(112, 96, 255, 0.34), transparent 70%),
    radial-gradient(40% 40% at 12% 8%, rgba(230, 181, 102, 0.12), transparent 70%),
    linear-gradient(180deg, var(--ink) 0%, var(--ink-2) 100%);
}
.hero__in { padding-block: clamp(28px, 4vw, 48px) 0; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); max-width: 19em; color: #fff; }
.hero__lede { max-width: 46rem; font-size: clamp(1.02rem, 2vw, 1.2rem); color: rgba(255, 255, 255, 0.82); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 6px; }

.fan { display: flex; justify-content: center; align-items: flex-end; margin-top: clamp(20px, 3vw, 32px); padding-inline: 12px; min-height: 0; }
.fan__b { --w: clamp(96px, 15.5vw, 200px); width: var(--w); height: auto; flex: none; margin-inline: calc(var(--w) * -0.06); filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.45)); transform-origin: 50% 100%; margin-bottom: -2px; }
.fan__b--1 { transform: rotate(-9deg) translateY(28px); }
.fan__b--2 { transform: rotate(-6deg) translateY(14px); }
.fan__b--3 { transform: rotate(-3deg) translateY(4px); }
.fan__b--4 { --w: clamp(112px, 18.5vw, 240px); position: relative; z-index: 2; transform: translateY(-4px); }
.fan__b--5 { transform: rotate(3deg) translateY(4px); }
.fan__b--6 { transform: rotate(6deg) translateY(14px); }
.fan__b--7 { transform: rotate(9deg) translateY(28px); }
@media (max-width: 900px) {
  .fan__b--1, .fan__b--7 { display: none; }
  .fan__b { --w: 20vw; }
  .fan__b--4 { --w: 25vw; }
}
@media (max-width: 460px) {
  .fan__b--2, .fan__b--6 { display: none; }
  .fan__b { --w: 30vw; }
  .fan__b--4 { --w: 38vw; }
}

/* ---------------------------------------------------------------- proof */
.proof { background: var(--surface); border-bottom: 1px solid var(--border); }
.proof__in { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; padding-block: 22px; }
.proof__in li { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; }
.proof__in strong { font-family: var(--serif); font-weight: 400; font-size: 1.7rem; line-height: 1.1; color: var(--primary-text); }
.proof__in span { font-size: 0.85rem; color: var(--muted); }
@media (max-width: 640px) { .proof__in { grid-template-columns: repeat(2, 1fr); } }

/* ------------------------------------------------------------- sections */
.section { padding-block: clamp(56px, 8vw, 96px); }
.section--tint { background: var(--tint); }
.section__head { display: flex; flex-direction: column; gap: 10px; margin-bottom: clamp(28px, 4vw, 44px); max-width: 44rem; }
.section__lede { color: var(--muted); font-size: 1.08rem; text-wrap: pretty; }

/* ------------------------------------------------------- book artwork */
.book { position: relative; display: inline-flex; border-radius: 3px 7px 7px 3px; box-shadow: 0 1px 1px rgba(20, 18, 50, 0.3), 0 10px 22px -6px rgba(20, 18, 50, 0.4), 0 22px 40px -18px rgba(20, 18, 50, 0.35); max-width: 100%; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.book img { display: block; width: auto; height: auto; max-width: 100%; max-height: 300px; border-radius: inherit; }
.book::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(90deg, rgba(0, 0, 0, 0.28) 0, rgba(255, 255, 255, 0.16) 1.6%, rgba(0, 0, 0, 0.1) 3.4%, transparent 6%), linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 30%); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08); }
.book--lg img { max-height: 460px; }

/* ----------------------------------------------------------- spotlight */
.spots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.spot { display: grid; grid-template-columns: minmax(150px, 0.8fr) 1.4fr; gap: 24px; padding: clamp(20px, 3vw, 32px); background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.spot__stage { display: flex; align-items: center; justify-content: center; padding: 20px 12px; border-radius: var(--r); background: radial-gradient(90% 70% at 50% 40%, #fff, var(--primary-soft)); }
.spot__stage .book img { max-height: 340px; }
.spot__body { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.spot__title { font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 2.6vw, 1.95rem); line-height: 1.15; }
.spot__sub { color: var(--muted); font-weight: 500; }
.spot__price { color: var(--muted); font-size: 0.9rem; }
.spot__price strong { font-family: var(--serif); font-weight: 400; font-size: 1.9rem; color: var(--text); margin-right: 6px; }
.spot__price span { display: block; }
.spot__also { font-size: 0.88rem; color: var(--muted); }
.spot .actions { margin-top: 4px; }
@media (max-width: 980px) { .spots { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .spot { grid-template-columns: 1fr; } .spot__stage .book img { max-height: 280px; } }

.actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.ticks li { position: relative; padding-left: 26px; margin-block: 6px; }
.ticks li::before { content: ''; position: absolute; left: 2px; top: 0.5em; width: 12px; height: 7px; border-left: 2px solid var(--success); border-bottom: 2px solid var(--success); transform: rotate(-45deg) translateY(-2px); }
.ticks--tight li { margin-block: 3px; font-size: 0.95rem; }

.badge { display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--primary-text); background: var(--primary-soft); padding: 3px 9px; border-radius: 99px; }
.badge--direct { color: #7a4310; background: var(--accent-soft); }
.badge--free { color: var(--success); background: var(--success-soft); }

/* ------------------------------------------------------------- toolbar */
.toolbar { display: flex; flex-wrap: wrap; gap: 14px 20px; align-items: center; margin-bottom: 14px; }
.search { position: relative; flex: 1 1 280px; max-width: 420px; }
.search svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); color: var(--subtle); pointer-events: none; }
.search input { width: 100%; min-height: 46px; padding: 10px 14px 10px 42px; border: 1px solid var(--border-strong); border-radius: 10px; background: var(--surface); font: inherit; color: var(--text); }
.search input::placeholder { color: var(--subtle); }
.search input:focus { outline: none; border-color: var(--primary); box-shadow: var(--ring); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 40px; padding: 6px 14px; border: 1px solid var(--border-strong); border-radius: 99px; background: var(--surface); color: var(--text); font-weight: 500; font-size: 0.92rem; cursor: pointer; transition: background-color 0.15s, border-color 0.15s, color 0.15s; }
.chip span { margin-left: 4px; color: var(--subtle); font-weight: 400; }
.chip:hover { border-color: var(--primary); }
.chip[aria-pressed='true'] { background: var(--primary); border-color: var(--primary); color: #fff; }
.chip[aria-pressed='true'] span { color: rgba(255, 255, 255, 0.75); }
.count { margin-bottom: 20px; color: var(--muted); font-size: 0.9rem; }

/* ---------------------------------------------------------------- grid */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 22px; }
.card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow-sm); overflow: hidden; transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s; scroll-margin-top: 90px; }
.card:hover { box-shadow: var(--shadow-lg); border-color: var(--border-strong); transform: translateY(-2px); }
.card:hover .book { transform: translateY(-3px) rotate(-0.6deg); }
.card[hidden] { display: none; }
.card__stage { display: flex; align-items: center; justify-content: center; height: 344px; padding: 22px 16px; border: 0; cursor: pointer; background: radial-gradient(90% 70% at 50% 35%, #fff, var(--sunken)); border-bottom: 1px solid var(--border); }
.card__stage:focus-visible { outline-offset: -4px; }
.card__body { display: flex; flex-direction: column; gap: 6px; padding: 16px 18px 6px; flex: 1; align-items: flex-start; }
.card__title { font-size: 1.08rem; font-weight: 700; line-height: 1.25; letter-spacing: -0.01em; }
.card__sub { font-size: 0.88rem; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card__meta { font-size: 0.8rem; color: var(--subtle); margin-top: auto; padding-top: 4px; }
.card__set { font-size: 0.78rem; color: var(--primary-text); font-weight: 600; }
.card__actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 18px 18px; }
.card__actions .btn { flex: 1 1 auto; }
.card__actions .btn--ghost { flex: 0 0 auto; }
.card__more { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; flex: 0 1 auto; min-width: 0; }
.share { display: inline-flex; align-items: center; gap: 1px; flex: 0 0 auto; }
.share__btn { display: grid; place-items: center; width: 28px; height: 32px; padding: 0; border: 0; border-radius: 8px; background: transparent; color: var(--muted); cursor: pointer; transition: background-color 0.15s, color 0.15s; }
.share__btn svg { width: 15px; height: 15px; }
.share__btn:hover, .share__btn:focus-visible { background: var(--sunken); }
.share__btn--bluesky:hover { color: #1185fe; }
.share__btn--x:hover { color: var(--text); }
.share__btn--facebook:hover { color: #1877f2; }
.share__btn--instagram:hover { color: #e1306c; }
.share__btn--linkedin:hover { color: #0a66c2; }
.share__btn.is-copied { color: var(--primary-text); background: var(--primary-soft); }
.share-toast { position: fixed; left: 50%; bottom: max(24px, env(safe-area-inset-bottom)); z-index: 60; transform: translate(-50%, 10px); padding: 10px 16px; border-radius: 10px; background: var(--text); color: var(--surface); font-size: 0.9rem; box-shadow: var(--shadow-lg); opacity: 0; pointer-events: none; transition: opacity 0.2s, transform 0.2s; }
.share-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.empty { text-align: center; color: var(--muted); padding: 56px 0; display: grid; gap: 6px; }
.empty[hidden] { display: none; }

/* --------------------------------------------------------------- about */
.about { display: grid; grid-template-columns: minmax(200px, 340px) 1fr; gap: clamp(28px, 6vw, 72px); align-items: center; }
.about__photo { width: 100%; height: auto; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); aspect-ratio: 4 / 5; object-fit: cover; }
.about__body { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.about__body p:not(.eyebrow) { color: var(--muted); font-size: 1.05rem; max-width: 38rem; }
@media (max-width: 720px) { .about { grid-template-columns: 1fr; } .about__photo { max-width: 260px; } }

/* ----------------------------------------------------------------- faq */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 2px 20px; }
.faq details[open] { box-shadow: var(--shadow-sm); border-color: var(--border-strong); }
.faq summary { cursor: pointer; padding: 16px 28px 16px 0; font-weight: 600; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ''; position: absolute; right: 4px; top: 50%; width: 9px; height: 9px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform 0.2s; }
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq p { padding: 0 0 18px; color: var(--muted); }

/* ---------------------------------------------------------------- foot */
.foot { background: var(--ink); color: rgba(255, 255, 255, 0.78); padding-block: 40px; }
.foot__in { display: grid; gap: 10px; }
.foot strong { color: #fff; }
.foot a { color: var(--gold); }
.foot__small { font-size: 0.85rem; color: rgba(255, 255, 255, 0.6); max-width: 52rem; }

/* -------------------------------------------------------------- dialog */
dialog { width: min(100% - 24px, 900px); max-height: min(100dvh - 24px, 860px); padding: 0; border: 0; border-radius: var(--r-lg); background: var(--surface); color: var(--text); box-shadow: 0 30px 80px -20px rgba(10, 8, 40, 0.6); overflow: auto; }
dialog::backdrop { background: rgba(21, 19, 47, 0.62); backdrop-filter: blur(3px); }
dialog[open] { animation: pop 0.22s ease; overflow-anchor: none; }
@keyframes pop { from { opacity: 0; transform: translateY(12px) scale(0.985); } to { opacity: 1; transform: none; } }
.dlg__close { position: sticky; top: 10px; float: right; margin: 10px 10px -46px 0; z-index: 2; width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid var(--border); border-radius: 50%; background: var(--surface); cursor: pointer; }
.dlg__close:hover { background: var(--sunken); }
.dlg__close svg { width: 16px; height: 16px; }
.detail { display: grid; grid-template-columns: minmax(200px, 300px) 1fr; }
.detail__stage { display: flex; align-items: flex-start; justify-content: center; padding: 40px 24px; background: radial-gradient(90% 60% at 50% 30%, #fff, var(--primary-soft)); }
.detail__stage .book { position: sticky; top: 40px; }
.detail__body { display: flex; flex-direction: column; gap: 12px; padding: 36px 36px 32px; align-items: flex-start; }
.detail__title { font-size: clamp(1.6rem, 3.2vw, 2.1rem); padding-right: 36px; }
.detail__sub { color: var(--muted); font-weight: 500; }
.detail__h { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-top: 6px; }
.detail__for { color: var(--muted); }
.detail__note { font-size: 0.88rem; color: var(--muted); }
.detail__more { font-size: 0.9rem; color: var(--muted); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px 20px; width: 100%; padding: 14px 0; border-block: 1px solid var(--border); margin-block: 4px; }
.facts dt { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--subtle); }
.facts dd { font-weight: 500; }
@media (max-width: 720px) {
  .detail { grid-template-columns: 1fr; }
  .detail__stage { padding: 56px 20px 24px; }
  .detail__stage .book { position: static; }
  .book--lg img { max-height: 300px; }
  .detail__body { padding: 22px 20px 26px; }
}
body.is-locked { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .card:hover, .card:hover .book { transform: none; }
}

/* Phones: compact horizontal cards so 30 titles don't become a 15,000px scroll. */
@media (max-width: 560px) {
  .grid { gap: 14px; }
  .card { display: grid; grid-template-columns: 116px 1fr; grid-template-areas: 'stage body' 'stage actions'; align-content: start; }
  .card__stage { grid-area: stage; height: auto; min-height: 100%; padding: 14px 10px; border-bottom: 0; border-right: 1px solid var(--border); }
  .card .book img { max-height: 176px; }
  .card__body { grid-area: body; padding: 14px 14px 4px; }
  .card__sub { -webkit-line-clamp: 2; line-clamp: 2; }
  .card__actions { grid-area: actions; padding: 8px 14px 14px; align-self: end; }
  .card:hover { transform: none; }
  .share__btn { width: 36px; height: 36px; }
}

.spots--one { grid-template-columns: 1fr; }
@media (min-width: 521px) { .spots--one .spot { grid-template-columns: minmax(200px, 0.55fr) 1.6fr; align-items: center; } }

/* Back to top */
.totop { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 40; width: 46px; height: 46px; display: grid; place-items: center; border: 1px solid var(--border-strong); border-radius: 50%; background: var(--surface); color: var(--primary-text); box-shadow: var(--shadow-lg); cursor: pointer; opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity 0.2s, transform 0.2s, background-color 0.15s; }
.totop:not([hidden]) { display: grid; }
.totop.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.totop:hover { background: var(--primary-soft); }
.totop svg { width: 20px; height: 20px; }
