/* iTestify: clean, minimal look. Geist + Geist Mono, white surfaces, thin grey borders,
   blue only for primary actions, no shadows. */
:root {
  --ink: #0F1A26; --ink-2: #3B4552; --muted: #5B6675;
  --line: #E4E7EC; --line-2: #D0D5DD; --alt: #F9FAFB; --soft: #F2F4F7;
  --primary: #684982; --primary-dark: #523869; --primary-pale: #EDE8F3;  /* the one brand colour: purple */
  --page: #F4F2F7; --footer: #201526;
  --ok: #14532D; --ok-bg: #E6F4EC; --err: #912018; --err-bg: #FEE4E2; --warn: #7A4B00; --warn-bg: #FEF0C7;
  --font: Outfit, Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}
* { box-sizing: border-box; }
html { background: var(--page); }
body { margin: 0; color: var(--ink); background: var(--page); font: 400 16px/1.5 var(--font); -webkit-text-size-adjust: 100%; }
h1, h2, h3 { font-family: var(--font); font-weight: 600; margin: 0; line-height: 1.2; letter-spacing: -.3px; }
a { color: var(--primary); } a:hover { color: var(--primary-dark); }
img { max-width: 100%; display: block; }
.sr { position: absolute; left: -9999px; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }
.mono { font-family: var(--mono); }

/* ---- header */
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 12px 24px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; margin-right: auto; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 26px; height: 26px; border-radius: 7px; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; flex: none; }
.brand-name { font-weight: 600; font-size: 17px; letter-spacing: -.3px; }
.nav { display: none; gap: 2px; font-size: 14px; font-weight: 500; }
.nav a { height: 36px; padding: 0 12px; border-radius: 8px; color: var(--ink-2); text-decoration: none; display: flex; align-items: center; }
.nav a:hover { background: var(--alt); color: var(--ink); }
.nav a[aria-current] { background: var(--soft); color: var(--ink); }
.header-actions { display: flex; align-items: center; gap: 6px; }
.signin { height: 36px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); font-size: 14px; font-weight: 500; display: flex; align-items: center; text-decoration: none; background: #fff; }
.signin:hover { background: var(--alt); color: var(--ink); }
.badge { background: var(--primary); color: #fff; border-radius: 10px; padding: 0 7px; font: 500 12px/18px var(--mono); }
details.menu { position: relative; }
details.menu summary { list-style: none; cursor: pointer; height: 36px; padding: 0 12px; display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
details.menu summary::-webkit-details-marker { display: none; }
details.menu .pop { position: absolute; right: 0; top: 42px; min-width: 220px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 8px 24px rgba(15, 26, 38, .10); padding: 4px; z-index: 20; display: flex; flex-direction: column; }
.pop a, .pop button { padding: 9px 10px; border-radius: 6px; text-decoration: none; color: var(--ink); font: 500 14px var(--font); background: none; border: 0; text-align: left; cursor: pointer; display: flex; justify-content: space-between; gap: 8px; width: 100%; }
.pop a:hover, .pop button:hover { background: var(--soft); }

/* ---- buttons & forms */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 1px solid var(--primary); border-radius: 8px; font: 500 15px var(--font); text-decoration: none; cursor: pointer; background: var(--primary); color: #fff; }
.btn:hover { color: #fff; background: var(--primary-dark); border-color: var(--primary-dark); }
.btn.ghost, .btn.white, .btn.sky { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn.ghost:hover, .btn.white:hover, .btn.sky:hover { background: var(--alt); color: var(--ink); border-color: var(--line-2); }
.btn.danger { background: #fff; color: var(--err); border-color: var(--line-2); } .btn.danger:hover { background: var(--err-bg); color: var(--err); border-color: var(--line-2); }
.btn.small { min-height: 36px; padding: 0 12px; font-size: 14px; }
.btn.block { width: 100%; }
.btn .short { display: none; }
.link-btn { background: none; border: 0; padding: 0 12px; min-height: 44px; color: var(--muted); font: 500 13px var(--font); cursor: pointer; }
.link-btn:hover { color: var(--ink); }
form.stack { display: flex; flex-direction: column; gap: 22px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field > label, legend { font-size: 14px; font-weight: 500; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; margin-bottom: 6px; }
input[type=text], input[type=email], input[type=password], input[type=url], input[type=search], textarea, select { width: 100%; min-height: 44px; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 8px; background: #fff; font: 400 15px var(--font); color: var(--ink); }
textarea { padding: 10px 12px; line-height: 1.5; resize: vertical; min-height: 140px; }
select { padding-right: 8px; }
input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 2px solid var(--primary); outline-offset: 0; border-color: var(--primary); }
input[type=file] { font: 500 14px var(--font); padding: 10px; border: 1px dashed var(--line-2); border-radius: 8px; background: var(--alt); width: 100%; color: var(--ink-2); }
.hint { font-size: 13px; color: var(--muted); }
.choices { display: flex; flex-wrap: wrap; gap: 8px; }
.choices.grid2 { display: flex; flex-direction: column; gap: 8px; }
.choice { position: relative; display: block; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
/* radio cards (visibility, approval mode) */
.choice.box span.pill { display: flex; align-items: center; gap: 12px; min-height: 56px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 8px; background: #fff; cursor: pointer; width: 100%; text-align: left; font-weight: 500; font-size: 15px; }
.choice.box span.pill .dot { width: 16px; height: 16px; flex: none; border: 1px solid #98A2B3; border-radius: 50%; }
.choice.box span.pill .txt { display: flex; flex-direction: column; gap: 2px; }
.choice.box span.pill small { font-weight: 400; font-size: 13px; color: var(--muted); }
.choice.box input:checked + span.pill { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary); }
.choice.box input:checked + span.pill .dot { border: 5px solid var(--primary); }
/* segmented control (name display) */
.choices.row { flex-wrap: nowrap; padding: 3px; border-radius: 8px; background: var(--soft); gap: 2px; }
.choice.row { flex: 1; }
.choice.row span.pill { display: flex; align-items: center; justify-content: center; height: 38px; border-radius: 6px; font: 500 13px var(--font); color: var(--muted); cursor: pointer; padding: 0 6px; text-align: center; }
.choice.row input:checked + span.pill { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(15, 26, 38, .10); }
.choice input:focus-visible + span.pill { outline: 2px solid var(--primary); outline-offset: 1px; }

/* ---- cards & chips */
.card { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 16px; }
.chip { display: inline-flex; align-items: center; height: 32px; padding: 0 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink-2); font: 400 12px var(--mono); text-transform: uppercase; text-decoration: none; }
a.chip:hover { background: var(--alt); color: var(--ink); }
.chip.cat, .chip.alt { background: #fff; }
.chip.chan { background: var(--primary); color: #fff; border-color: var(--primary); font: 600 13px var(--font); text-transform: none; gap: 6px; padding: 0 10px 0 8px; }
.chip.ok { background: var(--ok-bg); color: var(--ok); border-color: transparent; } .chip.err { background: var(--err-bg); color: var(--err); border-color: transparent; } .chip.warn { background: var(--warn-bg); color: var(--warn); border-color: transparent; }
.card .chip { height: 24px; font-size: 11px; padding: 0 8px; }
.feed { display: grid; gap: 10px; grid-template-columns: minmax(0, 1fr); }
.t-card { display: flex; flex-direction: column; gap: 6px; padding: 14px; color: var(--ink); text-decoration: none; height: 100%; }
.t-card:hover { color: var(--ink); border-color: var(--line-2); background: var(--alt); }
.t-card .t-meta { font: 400 11px var(--mono); color: var(--muted); text-transform: uppercase; }
.t-card .t-meta strong { font-weight: 600; color: var(--ink); }
.t-card h3 { font-size: 17px; line-height: 1.3; letter-spacing: -.1px; }
.t-card p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.t-card .meta { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); margin-top: auto; padding-top: 2px; }
.empty { text-align: center; color: var(--ink-2); padding: 28px 16px; font-size: 15px; }
.empty.card { border-style: dashed; border-color: var(--line-2); }
.feed-sentinel { height: 1px; }
.feed-status { margin: 14px 0 0; text-align: center; font: 400 12px var(--mono); color: var(--muted); min-height: 20px; }
.feed-status button { font: 500 13px var(--font); }
.to-top { display: inline-block; margin-bottom: 12px; font-size: 13px; font-weight: 500; }

/* ---- hero & page heads */
.hero { padding: 28px 0 8px; }
.hero .wrap { display: flex; flex-direction: column; gap: 8px; }
.hero h1 { font-size: 28px; line-height: 1.15; letter-spacing: -.8px; }
.hero .eyebrow { order: 2; margin: 0; font: 400 12px var(--mono); color: var(--muted); }
.hero p.lead, .hero .actions { display: none; }
.channel-hero { background: var(--alt); border-bottom: 1px solid var(--line); }
.channel-hero .wrap { padding-top: 24px; padding-bottom: 22px; display: flex; flex-direction: column; gap: 14px; align-items: stretch; }
.channel-top { display: flex; align-items: center; gap: 12px; }
.logo-tile { width: 56px; height: 56px; flex: none; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); display: flex; align-items: center; justify-content: center; font: 600 20px var(--font); overflow: hidden; }
.channel-hero h1 { font-size: 24px; letter-spacing: -.6px; }
.channel-hero .url { font: 400 12px var(--mono); color: var(--muted); }
.channel-hero .desc { color: var(--ink-2); margin: 0; font-size: 15px; line-height: 1.55; max-width: 62ch; }
.verified { display: flex; align-items: center; gap: 5px; color: var(--ink-2); font-size: 13px; margin: 4px 0 0; }

/* ---- layout */
.page { padding-top: 20px; padding-bottom: 48px; }
.layout { display: flex; flex-wrap: wrap; gap: 24px 40px; align-items: flex-start; }
.layout aside { flex: 1 1 200px; max-width: 230px; display: none; flex-direction: column; gap: 2px; }
.layout main { flex: 999 1 560px; min-width: 0; }
.aside-h { margin: 0 0 8px; padding: 0 10px; font: 500 11px var(--mono); color: var(--muted); text-transform: uppercase; letter-spacing: 0; }
.side-link { display: flex; align-items: center; min-height: 36px; padding: 0 10px; border-radius: 6px; font: 500 14px var(--font); color: var(--ink-2); text-decoration: none; }
.side-link:hover { background: var(--alt); color: var(--ink); }
.side-link[aria-current] { background: var(--soft); color: var(--ink); }
.cat-strip { display: flex; gap: 6px; overflow-x: auto; padding: 8px 16px 2px; margin: 0 -16px; scrollbar-width: none; }
.cat-strip a { flex: none; height: 36px; padding: 0 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink-2); font: 500 13px var(--font); display: flex; align-items: center; text-decoration: none; }
.cat-strip a[aria-current] { background: var(--primary); color: #fff; border-color: var(--primary); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 20px 0 10px; }
.section-head h1, .section-head h2 { font-size: 16px; }
.section-head .hint, .section-head .mobile-only { font: 400 12px var(--mono); color: var(--muted); }
.section-head .hint { display: none; }
.section-head .mobile-only { font: 500 14px var(--font); color: var(--primary); text-decoration: none; }

/* ---- testimony */
.article { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.article h1 { font-size: 30px; line-height: 1.15; letter-spacing: -.8px; }
.author-row { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.author-row strong { font-weight: 500; }
.author-row .hint { font: 400 12px var(--mono); }
.avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--soft); color: var(--ink); font: 600 13px var(--font); display: flex; align-items: center; justify-content: center; flex: none; }
.body-text { font-size: 17px; line-height: 1.65; color: #1F2933; display: flex; flex-direction: column; gap: 14px; }
.body-text p { margin: 0; }
.photos { display: grid; gap: 10px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.photos img { width: 100%; border: 1px solid var(--line); border-radius: 10px; object-fit: cover; max-height: 460px; background: var(--alt); }
.react-block { border-top: 1px solid var(--line); padding-top: 18px; display: flex; flex-direction: column; gap: 10px; }
.react-block > strong { font-size: 14px; font-weight: 500; }
.reactions { display: flex; gap: 8px; }
.reactions form { display: contents; }
.reactions button, .reactions a { flex: 1; height: 44px; border: 1px solid var(--line); border-radius: 8px; background: #fff; display: flex; align-items: center; justify-content: center; gap: 6px; cursor: pointer; font: 400 12px var(--mono); color: var(--ink); text-decoration: none; }
.reactions button:hover, .reactions a:hover { background: var(--alt); }
.reactions button[aria-pressed=true] { background: var(--primary-pale); border-color: var(--primary); }
.reactions .emoji { font-size: 17px; line-height: 1; }

/* ---- flash & notes */
.flashes { display: flex; flex-direction: column; gap: 8px; padding-top: 14px; }
.flash { padding: 10px 14px; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; background: var(--alt); }
.flash.ok { background: var(--ok-bg); border-color: transparent; color: var(--ok); } .flash.error { background: var(--err-bg); border-color: transparent; color: var(--err); }
.note { padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--alt); font-size: 14px; line-height: 1.5; color: var(--ink-2); }

/* ---- admin, lists */
.stack-list { display: flex; flex-direction: column; gap: 10px; }
.row-between { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.actions-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.inline-form { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.inline-form input[type=text], .inline-form input[type=email], .inline-form select { flex: 1 1 160px; }
.narrow { max-width: 440px; margin: 0 auto; }
.narrow h1 { font-size: 26px; margin-bottom: 16px; letter-spacing: -.6px; }
.tabs { display: flex; gap: 2px; flex-wrap: wrap; margin-bottom: 18px; }
.tabs a { padding: 0 12px; border-radius: 8px; font: 500 14px var(--font); text-decoration: none; color: var(--ink-2); min-height: 36px; display: flex; align-items: center; }
.tabs a:hover { background: var(--alt); }
.tabs a[aria-current] { background: var(--soft); color: var(--ink); }

/* ---- footer */
.site-footer { margin-top: 24px; background: var(--alt); border-top: 1px solid var(--line); }
.site-footer .foot-center { padding-top: 36px; padding-bottom: 28px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 12px; }
.foot-center .brand { margin: 0; }
.foot-tag { margin: 0; max-width: 46ch; font-size: 14px; line-height: 1.55; color: var(--ink-2); }
.foot-quote { margin: 0; font-size: 13px; line-height: 1.5; color: var(--muted); max-width: 52ch; }
.foot-quote cite { font: 400 11px var(--mono); font-style: normal; margin-left: 4px; white-space: nowrap; }
.foot-base { border-top: 1px solid var(--line); }
.foot-base .wrap { padding-top: 14px; padding-bottom: 14px; font-size: 13px; color: var(--muted); text-align: center; }

.mobile-only { display: inline; }
@media (min-width: 720px) {
  .wrap { padding: 0 32px; }
  .nav { display: flex; }
  .btn .short { display: none; }
  .feed { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
  .t-card { padding: 18px; gap: 8px; } .t-card h3 { font-size: 18px; } .t-card p { line-height: 1.55; }
  .section-head .mobile-only { display: none; }
  .section-head .hint { display: inline; }
  .section-head h1, .section-head h2 { font-size: 20px; letter-spacing: -.3px; }
  .section-head { margin-top: 0; }
  .brand-mark { width: 28px; height: 28px; } .brand-name { font-size: 18px; }
  .signin { height: 38px; padding: 0 14px; } .header-actions .btn.small { min-height: 38px; padding: 0 14px; }
  .hero { background: var(--alt); border-bottom: 1px solid var(--line); padding: 0; }
  .hero .wrap { padding-top: 56px; padding-bottom: 48px; flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; }
  .hero .hero-text { flex: 1 1 520px; display: flex; flex-direction: column; gap: 12px; }
  .hero .eyebrow { order: 0; }
  .hero h1 { font-size: 48px; line-height: 1.05; letter-spacing: -1.6px; max-width: 16ch; }
  .hero p.lead { display: block; margin: 0; font-size: 17px; line-height: 1.55; color: var(--ink-2); max-width: 52ch; }
  .hero .actions { display: flex; gap: 8px; flex-wrap: wrap; }
  .page { padding-top: 36px; padding-bottom: 64px; }
  .channel-hero .wrap { padding-top: 40px; padding-bottom: 36px; }
  .channel-hero h1 { font-size: 28px; }
}
@media (min-width: 960px) {
  .layout aside { display: flex; }
  .cat-strip { display: none; }
}
@media (max-width: 719px) {
  .btn .long { display: none; } .btn .short { display: inline; }
  .hero .actions { display: none; }
}
@media (prefers-reduced-motion: no-preference) {
  .t-card, .btn, .signin { transition: background-color .12s, border-color .12s; }
}

/* ---- feedback page + floating button */
.feedback-pill { position: fixed; right: 16px; bottom: 16px; z-index: 40; display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px 0 16px; border-radius: 999px; background: var(--primary); color: #fff; font: 500 15px var(--font); text-decoration: none; box-shadow: 0 6px 20px rgba(37, 58, 48, .28); }
.feedback-pill:hover { background: var(--primary-dark); color: #fff; }
.feedback-pill:focus-visible { outline-color: var(--primary); outline-offset: 3px; }
.feedback-pill .fb-short { display: none; }
@media (max-width: 480px) { .feedback-pill { right: 12px; bottom: 12px; height: 44px; padding: 0 16px 0 14px; } .feedback-pill .fb-long { display: none; } .feedback-pill .fb-short { display: inline; } }
@media print { .feedback-pill { display: none; } }
.foot-base .wrap { padding-bottom: 72px; }
.narrow.feedback { max-width: 600px; }
.lead-in { color: var(--ink-2); font-size: 15px; line-height: 1.55; margin: 0 0 22px; }
.q { display: flex; flex-direction: column; gap: 8px; padding: 0; margin: 0; min-width: 0; }
.q legend, .q .legend { font-size: 15px; font-weight: 500; line-height: 1.4; padding: 0; margin: 0 0 4px; }
.opt-tag { font: 400 12px var(--mono); color: var(--muted); margin-left: 4px; }
.opt { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; min-height: 44px; border: 1px solid var(--line-2); border-radius: 8px; font-size: 15px; cursor: pointer; background: #fff; }
.opt:hover { background: var(--alt); }
.opt input { margin: 3px 0 0; width: 18px; height: 18px; flex: none; accent-color: var(--primary); }
.opt:has(input:checked) { border-color: var(--primary); box-shadow: 0 0 0 1px var(--primary); background: var(--primary-pale); }
.scale-wrap { display: flex; flex-direction: column; gap: 6px; }
.scale-labels { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }
.field-error { margin: 0; font-size: 13px; color: var(--err); font-weight: 500; }
.q:has(.field-error) .opt, .q:has(.field-error) .choices { border-color: var(--err); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.progress { position: sticky; top: 0; z-index: 5; height: 4px; background: var(--soft); border-radius: 2px; margin: -6px 0 0; }
.progress span { display: block; height: 100%; width: 0; background: var(--primary); border-radius: 2px; transition: width .2s; }
.thanks { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; padding-top: 24px; }
.thanks-mark { width: 56px; height: 56px; border-radius: 50%; background: var(--primary); display: flex; align-items: center; justify-content: center; }
.thanks h1 { margin: 0; }

/* Inline links: the brand green is dark, so underline them to stay recognisable. */
p a, .hint a, .note a, .flash a, .lead-in a { text-decoration: underline; text-underline-offset: 2px; }

/* ---- similar testimonies (bottom of a testimony page) */
.related { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); }
.related h2 { font-size: 18px; margin-bottom: 14px; }
@media (min-width: 720px) { .related h2 { font-size: 20px; } }

/* team overview */
.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.stat { display: flex; flex-direction: column; gap: 4px; padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); text-decoration: none; }
a.stat:hover { background: var(--alt); }
.stat span { font: 400 12px var(--mono); text-transform: uppercase; color: var(--muted); }
.stat strong { font: 600 28px var(--font); }
.stat em { font: 400 12px var(--mono); color: var(--muted); font-style: normal; }
.activity { display: flex; align-items: center; gap: 10px; padding: 10px 14px; }
.activity .a-text { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.activity .a-text a { color: inherit; }

/* long unbroken strings (links, pasted text) wrap instead of running off the page */
.body-text, .body-text p, .t-card h3, .t-card p, .page h1, .review-body { overflow-wrap: anywhere; min-width: 0; }


/* ================= design v4 (iTestify Core Screens): grey page, green accents, spotlight, image cards ================= */
.site-header { background: #fff; }
.brand-name { color: var(--primary); font-weight: 700; }
.brand:hover .brand-name { color: var(--primary-dark); }
.nav a[aria-current] { background: var(--soft); }
.card, .opt, .reactions button, .reactions a, input[type=text], input[type=email], input[type=password], input[type=url], input[type=search], textarea, select { background: #fff; }
h1, h2, h3 { letter-spacing: -.3px; }
.section-head h1, .section-head h2, .related h2 { color: var(--primary); }
.section-head .mobile-only { color: var(--primary); text-decoration: underline; text-underline-offset: 3px; }
.hero { background: var(--page); border-bottom: 0; }

/* category chips and sidebar */
.cat-strip a { background: #fff; border-color: var(--line); }
.cat-strip a[aria-current] { background: var(--primary); border-color: var(--primary); color: #fff; }
.side-link[aria-current] { background: #E9EAEE; }
.aside-h { color: var(--muted); }

/* spotlight */
.spot-wrap { padding-top: 16px; }
.spotlight { position: relative; overflow: hidden; border-radius: 16px; min-height: 480px; display: flex; flex-direction: column; justify-content: flex-end; color: #fff;
  background: linear-gradient(180deg, #5D6A72 0%, #261F2F 70%); isolation: isolate; }
.spotlight::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(38, 31, 47, 0) 20%, rgba(38, 31, 47, .88) 72%, #261F2F 100%); }
.spot-img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.spot-tag { position: absolute; top: 14px; left: 14px; display: inline-flex; align-items: center; gap: 6px; height: 30px; padding: 0 12px; border-radius: 8px; background: #fff; color: var(--ink); font: 500 12px var(--mono); letter-spacing: .3px; }
.spot-body { padding: 22px 20px 20px; display: flex; flex-direction: column; gap: 10px; }
.spot-meta { margin: 0; font: 400 12px var(--mono); text-transform: uppercase; letter-spacing: .4px; color: rgba(255, 255, 255, .85); }
.spot-meta a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.spotlight h2 { font-size: 30px; line-height: 1.12; letter-spacing: -.8px; color: #fff; overflow-wrap: anywhere; }
.spot-excerpt { margin: 0; font-size: 17px; line-height: 1.5; color: rgba(255, 255, 255, .92); max-width: 60ch; }
.spot-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; font-size: 14px; color: rgba(255, 255, 255, .9); margin-top: 6px; }
.spot-actions { display: flex; gap: 8px; margin-left: auto; }
.spotlight .btn.white { background: #fff; color: var(--ink); border-color: #fff; }
.spotlight .btn.white:hover { background: #F0F2F4; color: var(--ink); }
.spot-ghost { background: transparent; border-color: rgba(255, 255, 255, .7); color: #fff; }
.spot-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }

/* testimony cards: list rows on a phone, picture-led grid on bigger screens */
.feed { display: flex; flex-direction: column; gap: 0; grid-template-columns: none; }
.t-card { display: flex; flex-direction: row; gap: 14px; padding: 16px 0; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; height: auto; color: var(--ink); text-decoration: none; }
.t-card:hover { background: transparent; color: var(--ink); }
.t-card:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.t-thumb { flex: none; width: 84px; height: 84px; border-radius: 10px; overflow: hidden; background: #E6E7EB; color: #9AA0A8; display: flex; align-items: center; justify-content: center; }
.t-thumb img { width: 100%; height: 100%; object-fit: cover; }
.t-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.t-card h3 { color: var(--primary); font-size: 17px; line-height: 1.25; font-weight: 600; }
.t-card p { font-size: 14px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.t-card .meta { margin-top: 2px; padding: 0; justify-content: flex-start; gap: 6px; font-size: 13px; }
.t-card .meta span + span::before { content: "· "; }
@media (min-width: 720px) {
  .feed { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 28px 20px; }
  .t-card { flex-direction: column; gap: 12px; padding: 0; border: 0; }
  .t-thumb { width: 100%; height: auto; aspect-ratio: 16 / 10; border-radius: 12px; }
  .t-card h3 { font-size: 18px; }
  .t-card p { -webkit-line-clamp: 3; }
}
/* channel page: boxed text cards, no pictures */
.feed.boxed { display: flex; flex-direction: column; gap: 10px; }
.feed.boxed .t-card { padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.feed.boxed .t-thumb { display: none; }
@media (min-width: 720px) { .feed.boxed { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; } }
.related .feed { margin-top: 4px; }

/* testimony page */
.app-bar { display: flex; justify-content: space-between; align-items: center; padding: 6px 8px; background: #fff; border-bottom: 1px solid var(--line); }
.icon-btn { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 0; background: none; color: var(--ink); border-radius: 8px; cursor: pointer; text-decoration: none; }
.icon-btn:hover { background: var(--soft); color: var(--ink); }
.icon-btn.done { color: var(--primary); }
.article h1 { color: var(--primary); letter-spacing: -.6px; }
.reactions button, .reactions a { background: #fff; font-family: var(--mono); font-size: 14px; }
.reactions button[aria-pressed=true] { background: var(--primary-pale); border-color: var(--primary); color: var(--primary-dark); }
.link-btn { display: inline-flex; align-items: center; }
@media (min-width: 720px) { .app-bar { display: none; } }

/* channel page */
.channel-hero { background: var(--page); border-bottom: 1px solid var(--line); }
.channel-hero h1 { color: var(--primary); }
.channel-hero .btn { width: 100%; }
@media (min-width: 720px) { .channel-hero .btn { width: auto; align-self: flex-start; } }

/* share form */
.form-bar { display: grid; grid-template-columns: 44px 1fr 44px; align-items: center; padding: 6px 8px; background: #fff; border-bottom: 1px solid var(--line); text-align: center; }
.form-bar strong { font-size: 16px; font-weight: 600; }
@media (min-width: 720px) { .form-bar { display: none; } }
@media (max-width: 719px) { .narrow > h1 { display: none; } }
.drop { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; border: 1px dashed var(--line-2); border-radius: 10px; background: transparent; color: var(--ink); font: 500 15px var(--font); cursor: pointer; }
.drop:hover { background: #fff; }
.field:has(.drop-input) { position: relative; }
.drop-input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; min-height: 0; padding: 0; border: 0; opacity: 0; overflow: hidden; }
.drop-input:focus-visible + .hint, .field:has(.drop-input:focus-visible) .drop { outline: 2px solid var(--primary); outline-offset: 2px; }
.choice.row input:checked + span.pill { color: var(--ink); }
.request-box { padding: 0; border: 0; background: transparent; }
.request-box > summary { list-style: none; cursor: pointer; }
.request-box > summary::-webkit-details-marker { display: none; }
.request-box[open] > summary { margin-bottom: 12px; }
.request-box form { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 16px; }

/* footer: solid green with link columns */
.site-footer { margin-top: 40px; background: var(--footer); border-top: 0; color: #fff; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.foot-grid { display: grid; grid-template-columns: 1fr; gap: 26px; padding-top: 36px; padding-bottom: 28px; }
.foot-about { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.site-footer .brand { margin: 0; }
.site-footer .brand-name { color: #fff; }
.site-footer .brand-name { color: #fff; } .site-footer .now { background: var(--primary-pale); color: var(--ink); }
.site-footer .foot-tag { color: rgba(255, 255, 255, .9); max-width: 40ch; margin: 0; }
.site-footer .foot-quote { color: rgba(255, 255, 255, .8); max-width: 44ch; margin: 0; }
.foot-col { display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.foot-col h2 { font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .6px; color: rgba(255, 255, 255, .7); margin: 0 0 2px; }
.foot-base { border-top: 1px solid rgba(255, 255, 255, .22); }
.foot-base .wrap { color: rgba(255, 255, 255, .85); text-align: left; }
@media (min-width: 720px) { .foot-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; } .spotlight { min-height: 520px; } .spot-body { padding: 36px 44px 36px; } .spotlight h2 { font-size: 48px; letter-spacing: -1.4px; } .spot-excerpt { font-size: 19px; } .spot-wrap { padding-top: 28px; } }
.article .cover { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; border-radius: 12px; background: #E6E7EB; }

/* channels list */
.back-link { display: inline-flex; align-items: center; gap: 2px; margin: 4px 0 6px; font: 500 15px var(--font); color: var(--primary); text-decoration: none; }
.back-link:hover { color: var(--primary-dark); text-decoration: underline; text-underline-offset: 3px; }
.page-title { font-size: 32px; letter-spacing: -.8px; color: var(--primary); margin: 0 0 6px; }
.page-sub { margin: 0 0 20px; color: var(--ink-2); font-size: 16px; line-height: 1.5; max-width: 52ch; }
.channel-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; align-items: start; }
.channel-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; color: var(--ink); text-decoration: none; }
.channel-card:hover { color: var(--ink); border-color: var(--line-2); }
.channel-card:hover h2 { text-decoration: underline; text-underline-offset: 3px; }
.cc-banner { display: flex; align-items: center; justify-content: center; aspect-ratio: 16 / 6; background: #E6E7EB; color: #9AA0A8; overflow: hidden; }
.cc-banner img { width: 100%; height: 100%; object-fit: cover; }
.cc-top { position: relative; display: block; }
.cc-logo { position: absolute; left: 16px; bottom: -28px; width: 56px; height: 56px; border-radius: 12px; background: var(--primary); color: #fff; border: 3px solid #fff; display: flex; align-items: center; justify-content: center; font: 600 19px var(--font); overflow: hidden; }
.cc-logo img { width: 100%; height: 100%; object-fit: cover; }
.cc-body { display: flex; flex-direction: column; gap: 6px; padding: 36px 18px 16px; }
.cc-body h2 { font-size: 20px; color: var(--primary); letter-spacing: -.3px; }
.cc-church { display: flex; align-items: center; gap: 5px; font-size: 14px; color: var(--ink-2); }
.cc-church svg { color: var(--primary); flex: none; }
.cc-desc { font-size: 15px; line-height: 1.5; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.cc-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; font-size: 13px; }
.cc-foot .mono { color: var(--muted); }
.cc-go { color: var(--primary); font: 500 15px var(--font); }
.channel-cta { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.channel-cta h2 { font-size: 18px; color: var(--primary); }
.channel-cta p { margin: 0 0 6px; color: var(--ink-2); font-size: 15px; line-height: 1.5; }
@media (min-width: 720px) { .channel-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } .page-title { font-size: 40px; } }
@media (min-width: 1040px) { .channel-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ===== design v5: picture-led cards with a text-card thumbnail, caption and "Read testimony" ===== */
.feed { display: grid; grid-template-columns: minmax(0, 1fr); gap: 26px 20px; }
.t-card { display: flex; flex-direction: column; gap: 12px; padding: 0; border: 0; border-radius: 0; background: transparent; }
.t-card:hover h3 { text-decoration: underline; text-underline-offset: 3px; }
.t-thumb { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: #E6E7EB; flex: none; }
.t-photo { width: 100%; height: 100%; object-fit: cover; display: block; }
.t-textcard { position: relative; display: flex; flex-direction: column; justify-content: space-between; width: 100%; height: 100%; padding: 18px 20px; color: #fff; overflow: hidden;
  background: var(--primary); container-type: inline-size; }
.tc-label { display: inline-flex; align-items: center; gap: 7px; font: 500 11px var(--mono); letter-spacing: .7px; text-transform: uppercase; color: rgba(255, 255, 255, .85); }
.tc-quote { position: relative; z-index: 1; font: 600 clamp(16px, 5.4cqw, 24px)/1.28 var(--font); letter-spacing: -.3px; overflow-wrap: anywhere;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; margin: 10px 0; }
.tc-brand { display: inline-flex; align-items: center; gap: 8px; font: 600 13px var(--font); color: #fff; }
.tc-mark { width: 22px; height: 22px; border-radius: 6px; background: #fff; color: var(--primary); display: inline-flex; align-items: center; justify-content: center; }
.tc-water { position: absolute; right: -10px; bottom: -14px; color: rgba(255, 255, 255, .13); line-height: 0; }
.tc-water svg { width: 118px; height: 118px; stroke-width: 1.3; }
.t-body { display: flex; flex-direction: column; gap: 5px; padding: 0 2px; }
.t-card h3 { color: var(--primary); font-size: 20px; line-height: 1.22; }
.t-caption { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.t-card .meta { margin-top: 2px; font-size: 13px; color: var(--muted); display: flex; gap: 6px; }
.t-card .meta span + span::before { content: "· "; }
.read-more { margin-top: 4px; font: 500 14px var(--font); color: var(--primary); }
.t-card:hover .read-more { text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 720px) {
  .feed { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 32px 22px; }
  .t-card { flex-direction: column; gap: 12px; padding: 0; border: 0; }
  .t-thumb { width: 100%; height: auto; aspect-ratio: 16 / 10; border-radius: 14px; }
  .t-card h3 { font-size: 20px; }
  .t-caption { -webkit-line-clamp: 3; }
}
.feed.boxed .t-thumb { display: none; }
.feed.boxed .t-card { gap: 4px; }
.feed.boxed { grid-template-columns: minmax(0, 1fr); gap: 10px; }
@media (min-width: 720px) { .feed.boxed { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 12px; } }

/* channel dashboard */
.dash-eyebrow { padding: 0; margin: 0 0 4px; }
.approve-card { margin: 16px 0; display: flex; flex-direction: column; gap: 10px; }
.approve-card h2 { display: flex; align-items: center; gap: 10px; font-size: 18px; color: var(--primary); }
.approve-card p { margin: 0; color: var(--ink-2); font-size: 15px; line-height: 1.5; }
.precheck { display: flex; align-items: center; justify-content: space-between; gap: 14px; border-top: 1px solid var(--line); padding-top: 12px; }
.precheck span { display: flex; flex-direction: column; gap: 2px; }
.precheck strong { font-weight: 500; font-size: 16px; }
.precheck small { color: var(--muted); font-size: 13px; }
.switch { position: relative; flex: none; width: 52px; height: 30px; border: 0; border-radius: 999px; background: #C9CDD3; cursor: pointer; padding: 0; transition: background-color .15s; }
.switch i { position: absolute; top: 3px; left: 3px; width: 24px; height: 24px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .15s; }
.switch[aria-checked=true] { background: var(--primary); }
.switch[aria-checked=true] i { transform: translateX(22px); }
.seg-tabs { display: flex; gap: 2px; padding: 4px; background: #E9EAEE; border-radius: 12px; margin: 0 0 14px; }
.seg-tabs a { flex: 1; min-height: 40px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 4px 6px; border-radius: 9px; font: 500 14px/1.15 var(--font); color: var(--muted); text-decoration: none; }
.seg-tabs a[aria-current] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(15, 26, 38, .12); }
.verdict { display: flex; flex-direction: column; gap: 3px; padding: 10px 12px; border-radius: 8px; font-size: 14px; line-height: 1.45; }
.verdict strong { font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .6px; }
.v-reject { background: #FBE9E7; color: #7A271A; }
.v-unsure { background: #FFF1D6; color: #7A4B00; }
.v-approve { background: #E4F1EC; color: #14532D; }
.done-card { display: flex; flex-direction: column; gap: 4px; color: var(--ink); text-decoration: none; }
.done-card h3 { color: var(--primary); font-size: 17px; }
.review-card h3, article.card h3 { color: var(--primary); }
.card h3 a { text-decoration: none; }

/* TestimonyRoom wordmark: lowercase serif "testimony" with a ROOM pill */
.brand-mark { display: none; }
.brand-name { font-family: 'DM Serif Display', Georgia, serif; font-weight: 400; font-size: 27px; letter-spacing: -.5px; line-height: 1; }
.now { font: 700 10px var(--font); letter-spacing: .8px; background: var(--primary); color: #fff; border-radius: 999px; padding: 4px 8px; margin-left: 2px; }
.brand { gap: 6px; }
.tc-mark { display: none; }
.tc-wm { font-family: 'DM Serif Display', Georgia, serif; font-weight: 400; font-size: 20px; letter-spacing: -.3px; }
.t-textcard .now { background: #fff; color: var(--primary); }

.foot-legal { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.legal-links { display: flex; gap: 18px; }
.legal { max-width: 720px; margin: 0 auto; }
.legal h1 { font-size: 30px; letter-spacing: -.8px; margin: 0 0 6px; }
.legal h2 { font-size: 18px; margin: 28px 0 8px; color: var(--primary); }
.legal p, .legal li { line-height: 1.65; color: var(--ink-2); }
.legal ul { padding-left: 20px; }
.legal .updated { font: 400 12px var(--mono); color: var(--muted); margin: 0 0 18px; }

.actions { position: relative; border-top: 1px solid var(--line); padding-top: 14px; }
.action-row { display: flex; gap: 8px; }
.pop-wrap { position: static; }
.pop-wrap > summary { list-style: none; }
.pop-wrap > summary::-webkit-details-marker { display: none; }
.action-btn { min-height: 44px; padding: 0 16px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line-2); border-radius: 999px; background: #fff; color: var(--ink); font: 500 14px var(--font); cursor: pointer; user-select: none; }
.action-btn:hover, .pop-wrap[open] > .action-btn { border-color: var(--primary); color: var(--primary); }
.action-btn.static { cursor: default; gap: 6px; } .action-btn.static:hover { border-color: var(--line-2); color: var(--ink); }
.action-btn .emoji { font-size: 18px; line-height: 1; }
.pop-panel { position: absolute; left: 0; right: 0; top: calc(100% - 4px); z-index: 20; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 10px 30px rgba(32, 21, 38, .16); padding: 12px; }
.emoji-panel { right: auto; display: flex; gap: 6px; }
.emoji-panel form { display: contents; }
.emoji-panel button, .emoji-panel a { min-width: 56px; height: 56px; border: 0; border-radius: 12px; background: none; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; cursor: pointer; text-decoration: none; color: var(--ink); font: 400 12px var(--mono); }
.emoji-panel .emoji { font-size: 26px; line-height: 1; transition: transform .12s; }
.emoji-panel button:hover .emoji, .emoji-panel a:hover .emoji { transform: scale(1.25); }
.emoji-panel button[aria-pressed=true] { background: var(--primary-pale); }
.share-panel { display: flex; gap: 14px; overflow-x: auto; padding: 14px 16px; scrollbar-width: none; }
.share-panel::-webkit-scrollbar { display: none; }
.sh { flex: none; display: flex; flex-direction: column; align-items: center; gap: 8px; background: none; border: 0; padding: 0; color: var(--ink); text-decoration: none; cursor: pointer; font: 500 13px var(--font); }
.sh[hidden] { display: none; }
.sh i { width: 56px; height: 56px; border-radius: 50%; background: var(--primary-pale); color: var(--ink); display: flex; align-items: center; justify-content: center; transition: background-color .15s; }
.sh:hover i { background: #DED5EA; }
.sh.primary i { background: var(--primary); color: #fff; }
.sh svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sh .lbl { text-align: center; line-height: 1.2; }
.share-note { margin: 6px 0 0; font-size: 13px; color: var(--ink-2); text-align: center; }
.share-note[hidden], .sheet-main[hidden], .sheet-qr[hidden] { display: none; }
.read-time { display: block; font: 400 13px var(--font); color: var(--muted); margin-top: 1px; }
.app-bar { position: relative; } .app-brand { margin: 0; position: absolute; left: 50%; transform: translateX(-50%); }
.app-brand .brand-name { font-size: 24px; }
.actions { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 10px 0; }
.action-btn { border: 0; background: none; border-radius: 10px; padding: 0 12px; }
.action-btn:hover, .pop-wrap[open] > .action-btn { background: var(--primary-pale); }
.action-btn[aria-pressed], .ico-heart { flex: none; }
.pop-panel { top: calc(100% + 4px); }
.sheet { border: 0; padding: 0; width: 100%; max-width: 480px; margin: auto auto 0; border-radius: 22px 22px 0 0; background: #fff; color: var(--ink); max-height: 92vh; overflow: auto; }
.sheet::backdrop { background: rgba(32, 21, 38, .55); }
.sheet-grip { width: 44px; height: 4px; border-radius: 2px; background: var(--line-2); margin: 10px auto 0; }
.sheet-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px 6px; }
.sheet-head h2 { margin: 0; font-size: 19px; }
.sheet-x { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--primary-pale); color: var(--primary); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.sheet-main, .sheet-qr { padding: 8px 20px 24px; }
.link-preview { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; background: var(--page); }
.link-preview img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; background: var(--primary); }
.lp-text { display: flex; flex-direction: column; gap: 2px; padding: 10px 14px 12px; font-size: 13px; color: var(--ink-2); }
.lp-text strong { font-size: 15px; color: var(--ink); } .lp-domain { color: var(--muted); }
.lp-note { text-align: center; margin: 10px 0 18px; }
.sh-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px 8px; }
.sheet-qr { display: flex; flex-direction: column; align-items: center; gap: 12px; padding-top: 16px; }
@media (min-width: 720px) { .sheet { margin: auto; border-radius: 22px; } .sheet-grip { display: none; } }
/* feed cards: the whole card is one tap target (stretched link); the share button sits above it */
.t-card { position: relative; }
.t-card .t-link { color: inherit; text-decoration: none; }
.t-card .t-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.t-foot { display: flex; align-items: center; gap: 14px; color: var(--ink-2); font: 500 14px var(--font); }
.t-like { display: inline-flex; align-items: center; gap: 6px; }
.t-share { position: relative; z-index: 2; width: 36px; height: 36px; margin: -6px 0 -6px -4px; border: 0; border-radius: 50%; background: none; color: var(--ink-2); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.t-share:hover { background: var(--primary-pale); color: var(--primary); }
.spot-foot .ico-heart { vertical-align: -3px; }
.t-share.done { color: var(--ok); }
.t-like, .action-btn { white-space: nowrap; }
.t-like .count, .action-btn .count { font-variant-numeric: tabular-nums; }

.btn.google { background: #fff; color: var(--ink); border: 1px solid var(--line-2); gap: 10px; }
.btn.google:hover { background: var(--alt); color: var(--ink); }
.or-line { display: flex; align-items: center; gap: 12px; margin: 14px 0; color: var(--muted); font-size: 13px; }
.or-line::before, .or-line::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.cookie-bar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60; max-width: 560px; margin: 0 auto; background: #fff; border: 1px solid var(--line-2); border-radius: 14px; box-shadow: 0 10px 30px rgba(32, 21, 38, .22); padding: 14px 16px; display: flex; flex-direction: column; gap: 10px; }
.cookie-bar[hidden] { display: none; }
.cookie-bar p { margin: 0; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
.cookie-actions { display: flex; gap: 8px; justify-content: flex-end; }
.cookie-link { color: inherit; padding: 0; min-height: 0; font: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
