/*
 * The Two-Way Love Test: design 2a "deck of cards", ported from Claude Design
 * "Love Gap Quiz v2" (project d9d2d215). Red = giving, black = receiving,
 * Big Shoulders Display for headlines, Instrument Sans for everything else.
 * Markup comes from app.js; every hook is an lq-* class or data attribute.
 */
:root {
  --bg: #f4f4f1;
  --ink: #1d1d1f;
  --red: #e0242f;
  --red-dark: #a8121c;
  --red-hover: #c41a25;
  --red-soft: #fbe9e8;
  --grey-soft: #efefec;
  --body: #33322f;
  --mid: #55534e;
  --muted: #6a6862;
  --line: #dddcd6;
  --line-2: #e4e3de;
  --pip-off: #e2e1dc;
  --card: #fff;
  --shadow: 0 1px 2px rgba(29,29,31,.06), 0 14px 34px rgba(29,29,31,.07);
  --shadow-sm: 0 1px 2px rgba(29,29,31,.06), 0 4px 14px rgba(29,29,31,.05);
  --ease: cubic-bezier(.2,.8,.2,1);
  --display: 'Big Shoulders Display', 'Arial Narrow', sans-serif;
  --sans: 'Instrument Sans', system-ui, sans-serif;
}

/* touch-action: manipulation = no double-tap zoom anywhere (pinch zoom still works). */
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
html { background: var(--bg); -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: var(--red); text-decoration: underline; }
a:hover { color: var(--red-dark); }
button { font: inherit; color: inherit; cursor: pointer; }
input { font: inherit; }
[data-focus]:focus { outline: none; }
:focus-visible { outline: 3px solid rgba(224,36,47,.45); outline-offset: 2px; }

.lq { min-height: 100vh; min-height: 100dvh; }
.lq-screen { min-height: 100vh; min-height: 100dvh; }
.lq-wrap { max-width: 560px; margin: 0 auto; padding: 20px 20px 0; display: flex; flex-direction: column; gap: 24px; }

/* ---------- buttons ---------- */
.lq-btn {
  width: 100%; height: 60px; border: none; border-radius: 16px; background: var(--ink); color: #fff;
  font-weight: 700; font-size: 18px; display: flex; align-items: center; justify-content: center; gap: 10px;
  box-shadow: 0 10px 24px rgba(29,29,31,.22); transition: background .15s, transform .1s;
}
.lq-btn:hover { background: var(--red); }
.lq-btn:active { transform: scale(.98); }
.lq-btn__arrow { font-size: 20px; }
.lq-btn--red { background: var(--red); box-shadow: 0 10px 24px rgba(224,36,47,.3); }
.lq-btn--red:hover { background: var(--red-hover); }
.lq-btn--secondary { background: #fff; color: var(--ink); border: 1.5px solid var(--line); box-shadow: none; height: 56px; font-size: 17px; }
.lq-btn--secondary:hover { background: #fff; border-color: var(--ink); }

/* ---------- intro ---------- */
.lq-invite { background: #fff; border-radius: 18px; padding: 14px 16px; display: flex; gap: 12px; align-items: center; box-shadow: var(--shadow); }
.lq-avatar {
  flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--red); color: #fff;
  display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; font-size: 22px; text-transform: uppercase;
}
.lq-invite__text { font-size: 15px; line-height: 1.45; font-weight: 600; }

.lq-title { margin: 0; padding-top: 8px; font-family: var(--display); font-weight: 800; font-size: clamp(56px, 18vw, 104px); line-height: .84; text-transform: uppercase; }
.lq-title span { white-space: nowrap; }
.lq-title__hi { color: var(--red); }

.lq-fan { position: relative; height: 210px; margin-top: 4px; }
.lq-fan__card {
  position: absolute; left: 50%; top: 30px; width: 110px; height: 170px; margin-left: -55px; border-radius: 16px; padding: 12px;
  display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: 0 2px 4px rgba(29,29,31,.08), 0 16px 34px rgba(29,29,31,.14);
  transition: all .6s var(--ease); z-index: 1;
}
.lq-fan__card[data-part="give"] { background: #fff; color: var(--ink); border: 1px solid var(--line-2); }
.lq-fan__card[data-part="receive"] { background: var(--ink); color: #fff; z-index: 2; transition-delay: 70ms; }
.lq-fan__card[data-part="lately"] { background: var(--red); color: #fff; transition-delay: 140ms; }
.is-ready .lq-fan__card[data-part="give"] { margin-left: -172px; top: 22px; transform: rotate(-12deg); }
.is-ready .lq-fan__card[data-part="receive"] { margin-left: -55px; top: 6px; }
.is-ready .lq-fan__card[data-part="lately"] { margin-left: 62px; top: 22px; transform: rotate(12deg); }
.lq-fan__num { font-family: var(--display); font-weight: 800; font-size: 44px; line-height: 1; }
.lq-fan__card[data-part="give"] .lq-fan__num { color: var(--red); }
.lq-fan__text { display: flex; flex-direction: column; gap: 2px; }
.lq-fan__label { font-weight: 700; font-size: 15px; line-height: 1.15; }
.lq-fan__count { font-weight: 500; font-size: 13px; color: var(--muted); }
.lq-fan__card[data-part="receive"] .lq-fan__count { color: #bdbcb7; }
.lq-fan__card[data-part="lately"] .lq-fan__count { color: #ffd9db; }

.lq-copy { display: flex; flex-direction: column; gap: 12px; }
.lq-lede { margin: 0; font-size: 17px; line-height: 1.55; color: var(--body); text-wrap: pretty; }
.lq-lede--strong { font-weight: 700; color: var(--ink); line-height: 1.5; }
.lq-meta { margin: 0; display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; color: var(--body); }
.lq-meta::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }

.lq-panel { display: flex; flex-direction: column; gap: 18px; background: #fff; border-radius: 18px; padding: 16px; box-shadow: var(--shadow); }
.lq-field { display: flex; flex-direction: column; gap: 8px; }
.lq-field__label { font-weight: 700; font-size: 14px; }
.lq-field__hint { font-size: 13px; color: var(--muted); }
.lq-field__err { font-size: 13px; font-weight: 600; color: var(--red-hover); }
.lq-field__err[hidden] { display: none; }
.lq-input[aria-invalid="true"] { border-color: var(--red-hover); background: #fff5f5; }
.lq-trap { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.lq-input {
  height: 52px; border: 1.5px solid var(--line); border-radius: 12px; padding: 0 14px; font-size: 17px;
  background: #f8f8f6; color: var(--ink); outline: none; transition: border-color .15s, background .15s;
}
.lq-input:focus { border-color: var(--ink); background: #fff; }

.lq-sticky { position: sticky; bottom: 0; padding: 14px 0 18px; background: linear-gradient(rgba(244,244,241,0), var(--bg) 35%); z-index: 5; display: flex; flex-direction: column; gap: 10px; }
.lq-credit { margin: 0 0 32px; font-size: 12.5px; line-height: 1.5; color: var(--muted); }

/* ---------- top bar (questions and part intros) ---------- */
.lq-bar { position: sticky; top: 0; z-index: 20; background: rgba(244,244,241,.86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.lq-bar__row { max-width: 560px; margin: 0 auto; height: 56px; padding: 0 12px; display: flex; align-items: center; gap: 8px; }
.lq-back {
  flex: none; width: 44px; height: 44px; border: none; border-radius: 50%; background: #fff; font-size: 20px;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 1px 2px rgba(29,29,31,.08), 0 4px 12px rgba(29,29,31,.06); transition: transform .1s;
}
.lq-back:active { transform: scale(.92); }
.lq-bar__mid { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 1px; min-width: 0; }
.lq-bar__label { font-weight: 700; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; color: var(--red); margin: 0; }
.lq-bar__label[data-part="receive"] { color: var(--ink); }
.lq-bar__count { font-size: 12.5px; font-weight: 600; color: var(--muted); margin: 0; }
.lq-bar__spacer { flex: none; width: 44px; }
.lq-tracks { max-width: 560px; margin: 0 auto; padding: 0 16px 8px; display: flex; gap: 4px; }
.lq-track { height: 5px; border-radius: 3px; background: var(--pip-off); overflow: hidden; }
.lq-track__fill { height: 100%; border-radius: 3px; background: var(--red); transition: width .35s var(--ease); }
.lq-track[data-part="receive"] .lq-track__fill { background: var(--ink); }

/* ---------- question ---------- */
/* Fits one phone screen (Claude Design mobile pass, 2026-11-05): sizes follow the visible height (dvh). */
.lq-q { min-height: calc(100vh - 69px); min-height: calc(100dvh - 69px); padding: clamp(8px,1.6dvh,14px) 20px calc(clamp(10px,2dvh,20px) + env(safe-area-inset-bottom)); gap: clamp(12px,2.4dvh,22px); }
.lq-stack { position: relative; margin-top: 0; touch-action: pan-y; }
.lq-stack .lq-qcard { cursor: grab; -webkit-user-select: none; user-select: none; will-change: transform; }
.lq-stack .lq-qcard:active { cursor: grabbing; }
.lq-stack::before, .lq-stack::after { content: ""; position: absolute; inset: 0; border-radius: 24px; }
.lq-stack::before { background: #e4e3de; transform: rotate(2.2deg) translateY(9px); }
.lq-stack::after { background: #ecebe6; transform: rotate(-1.6deg) translateY(4px); }
.lq-qcard {
  position: relative; z-index: 1; overflow: hidden; background: #fff; border-radius: 24px; padding: clamp(12px,2.2dvh,20px) 16px clamp(14px,2.8dvh,24px);
  display: flex; flex-direction: column; gap: clamp(6px,1.4dvh,12px); box-shadow: 0 1px 2px rgba(29,29,31,.06), 0 14px 34px rgba(29,29,31,.09);
}
.lq-qcard__top { display: flex; align-items: flex-start; gap: 10px; padding-right: 34px; }
.lq-qcard__num { flex: none; font-family: var(--display); font-weight: 800; font-size: 36px; font-size: clamp(26px,4.6dvh,36px); line-height: .9; color: var(--red); }
.lq-suit { position: absolute; top: clamp(14px,2.4dvh,22px); right: 18px; width: 14px; height: 14px; border-radius: 4px; background: var(--red); transform: rotate(45deg); }
.lq-qcard[data-part="receive"] .lq-qcard__num { color: var(--ink); }
.lq-qcard[data-part="receive"] .lq-suit { background: var(--ink); }
.lq-stem { margin: 0; font-size: 15px; line-height: 1.35; color: var(--muted); font-weight: 600; }
.lq-item { margin: 0; font-family: var(--display); font-size: clamp(24px, 8.6vw, 44px); font-size: clamp(24px, min(8.6vw, 4.6dvh), 44px); line-height: .96; font-weight: 800; text-transform: uppercase; text-wrap: pretty; }

.lq-scale { display: flex; flex-direction: column; gap: clamp(6px,1.2dvh,10px); margin-top: auto; }
.lq-choice {
  width: 100%; min-height: 54px; min-height: clamp(44px,7.6dvh,54px); border: 1.5px solid transparent; border-radius: 16px; background: #fff; color: var(--ink);
  display: flex; align-items: center; gap: 12px; padding: 6px 12px; text-align: left; box-shadow: var(--shadow-sm);
  transition: border-color .12s, transform .1s, box-shadow .12s, background .12s, color .12s;
}
.lq-choice:hover { border-color: var(--red); box-shadow: 0 1px 2px rgba(29,29,31,.06), 0 8px 20px rgba(29,29,31,.08); }
.lq-choice:active { transform: scale(.98); }
.lq-choice__num {
  flex: none; width: 30px; height: 30px; border-radius: 9px; background: var(--bg); color: var(--red);
  display: flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; font-size: 20px;
}
.lq-choice__label { flex: 1; font-size: 17px; font-weight: 600; }
.lq-pips { display: flex; gap: 3px; align-items: flex-end; }
.lq-pip { width: 4px; border-radius: 2px; background: var(--pip-off); }
.lq-pip.is-on { background: var(--red); }
.lq-q[data-part="receive"] .lq-pip.is-on { background: var(--ink); }
.lq-choice[aria-pressed="true"] { border-color: var(--red); background: var(--red); color: #fff; box-shadow: 0 8px 20px rgba(224,36,47,.28); transform: scale(.985); }
.lq-choice[aria-pressed="true"] .lq-choice__num { background: rgba(255,255,255,.2); color: #fff; font-family: var(--sans); font-size: 16px; }
.lq-choice[aria-pressed="true"] .lq-choice__label { font-weight: 700; }
.lq-choice[aria-pressed="true"] .lq-pip { background: rgba(255,255,255,.35); }
.lq-q .lq-choice[aria-pressed="true"] .lq-pip.is-on { background: #fff; }

/* ---------- part intros ---------- */
.lq-flip { min-height: calc(100vh - 69px); min-height: calc(100dvh - 69px); padding: clamp(6px,1.4dvh,10px) 20px calc(clamp(10px,2dvh,20px) + env(safe-area-inset-bottom)); gap: clamp(12px,2.4dvh,22px); }
.lq-flipwrap { height: 296px; height: calc(clamp(130px,25dvh,272px) + 24px); display: flex; align-items: center; justify-content: center; perspective: 900px; }
.lq-flipcard {
  height: 272px; height: clamp(130px,25dvh,272px); aspect-ratio: 184 / 272; border-radius: clamp(12px,2.2dvh,18px); background: #fff; display: grid; grid-template-rows: 1fr auto 1fr; overflow: hidden;
  transform: rotate(-7deg); box-shadow: 0 2px 4px rgba(29,29,31,.08), 0 24px 50px rgba(29,29,31,.18);
}
.lq-flipcard__give { background: #f4d5d2; display: flex; align-items: flex-start; justify-content: flex-end; padding: clamp(8px,1.6dvh,12px); transform: rotate(180deg); }
.lq-flipcard__give span { font-family: var(--display); font-weight: 800; font-size: clamp(14px,2.5dvh,22px); text-transform: uppercase; color: var(--red-dark); }
.lq-flipcard__line { height: 2px; background: var(--ink); }
.lq-flipcard__receive { background: var(--ink); display: flex; align-items: flex-end; padding: clamp(8px,1.6dvh,14px); }
.lq-flipcard__receive span { font-family: var(--display); font-weight: 800; font-size: clamp(20px,3.6dvh,32px); line-height: .95; text-transform: uppercase; color: #fff; }
.lq-fan6 { height: 280px; height: clamp(130px,25dvh,280px); position: relative; }
.lq-fan6__card {
  --cw: clamp(56px,10.5dvh,88px);
  position: absolute; left: 50%; bottom: clamp(10px,2.4dvh,30px); width: var(--cw); height: clamp(82px,15.5dvh,128px); margin-left: calc(var(--cw) / -2); border-radius: 12px; border: 2px solid var(--ink);
  background: repeating-linear-gradient(45deg, var(--red) 0 6px, #fff 6px 12px); transform-origin: 50% 120%;
  transition: transform .7s var(--ease); transition-delay: calc(var(--i) * 50ms);
  box-shadow: 0 6px 16px rgba(29,29,31,.12); display: flex; padding: 6px 8px;
  font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1; color: var(--red);
}
.lq-fan6__card:last-child { background: #fff; }
.is-ready .lq-fan6__card { transform: rotate(calc(-30deg + var(--i) * 12deg)); }
.lq-flip__text { display: flex; flex-direction: column; gap: clamp(8px,1.6dvh,14px); }
.lq-flip .lq-heading { font-size: clamp(34px, 12vw, 60px); font-size: clamp(34px, min(12vw, 6.4dvh), 60px); }
.lq-heading { margin: 0; font-family: var(--display); font-size: clamp(46px, 12vw, 60px); line-height: .92; font-weight: 800; text-transform: uppercase; text-wrap: pretty; }
.lq-flip__note { margin: 0; font-size: 18px; font-size: clamp(16px,2.8dvh,18px); line-height: 1.45; color: var(--body); text-wrap: pretty; }
.lq-flip .lq-btn { margin-top: auto; height: 60px; height: clamp(52px,9dvh,60px); }
.lq-flip[data-part="receive"] .lq-btn:hover { background: var(--body); }

/* ---------- same-answer nudge ---------- */
.lq-nudge { position: fixed; inset: 0; z-index: 40; display: flex; align-items: flex-end; justify-content: center; }
.lq-scrim { position: absolute; inset: 0; background: rgba(29,29,31,.45); }
.lq-sheet {
  position: relative; width: 100%; max-width: 560px; background: #fff; border-radius: 28px 28px 0 0; padding: 12px 20px 28px;
  display: flex; flex-direction: column; gap: 20px; box-shadow: 0 -10px 40px rgba(29,29,31,.2);
}
.lq-sheet__grab { align-self: center; width: 40px; height: 5px; border-radius: 3px; background: var(--line); }
.lq-sheet__cards { display: flex; gap: 6px; }
.lq-sheet__cards span {
  width: 40px; height: 56px; border: 2px solid var(--ink); border-radius: 8px; display: flex; padding: 3px 6px;
  font-family: var(--display); font-weight: 800; font-size: 20px; color: var(--red);
}
.lq-sheet__cards span:nth-child(1) { transform: rotate(-4deg); }
.lq-sheet__cards span:nth-child(2) { transform: rotate(-1deg); }
.lq-sheet__cards span:nth-child(3) { transform: rotate(2deg); }
.lq-sheet__cards span:nth-child(4) { transform: rotate(5deg); }
.lq-sheet .lq-heading { font-size: 38px; line-height: .95; }
.lq-sheet__actions { display: flex; flex-direction: column; gap: 10px; }
.lq-sheet__actions .lq-btn { height: 58px; font-size: 17px; box-shadow: none; }

/* ---------- results ---------- */
.lq-rbar { position: sticky; top: 0; z-index: 20; background: rgba(244,244,241,.88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line-2); }
.lq-rbar__row { max-width: 900px; margin: 0 auto; height: 56px; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.lq-brand { font-family: var(--display); font-weight: 800; font-size: 19px; text-transform: uppercase; letter-spacing: .02em; }
.lq-brand span { color: var(--red); }
.lq-pill { height: 38px; padding: 0 16px; border: none; border-radius: 99px; background: var(--ink); color: #fff; font-weight: 700; font-size: 14px; transition: background .15s; }
.lq-pill:hover { background: var(--red); }
.lq-tabs { max-width: 900px; margin: 0 auto; padding: 0 20px 10px; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.lq-tabs::-webkit-scrollbar { display: none; }
.lq-tab { flex: none; height: 34px; padding: 0 14px; border-radius: 99px; border: none; background: transparent; color: var(--mid); font-weight: 700; font-size: 14px; transition: background .2s, color .2s; }
.lq-tab[aria-current="true"] { background: var(--ink); color: #fff; }

.lq-results { max-width: 900px; margin: 0 auto; padding: 24px 20px 64px; display: flex; flex-direction: column; gap: 22px; }
.lq-results [id^="sec-"] { scroll-margin-top: 120px; }
.lq-hero { display: flex; flex-direction: column; gap: 18px; }
.lq-eyebrow { align-self: flex-start; display: flex; align-items: center; gap: 8px; background: #fff; border-radius: 99px; padding: 7px 14px 7px 10px; font-weight: 700; font-size: 14px; box-shadow: 0 1px 2px rgba(29,29,31,.06); margin: 0; }
.lq-eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.lq-headline { margin: 0; font-family: var(--display); font-size: clamp(52px, 10vw, 96px); line-height: .9; font-weight: 800; text-transform: uppercase; text-wrap: pretty; max-width: 820px; }
.lq-headline__hi { color: var(--red); }
.lq-sub { margin: 0; font-size: 18px; line-height: 1.45; color: var(--mid); max-width: 620px; }
.lq-now {
  margin: 0; display: flex; gap: 14px; align-items: flex-start; border-radius: 22px; padding: 18px 20px; background: #fff; color: var(--ink);
  font-weight: 700; font-size: 20px; line-height: 1.3; max-width: 660px; box-shadow: var(--shadow);
}
.lq-now::before { content: ""; flex: none; width: 12px; height: 12px; border-radius: 50%; margin-top: 8px; background: #3aa86b; box-shadow: 0 0 0 5px rgba(58,168,107,.18); }
.lq-now[data-hungry="true"] { background: var(--red); color: #fff; font-size: 22px; line-height: 1.28; padding: 20px; box-shadow: 0 14px 30px rgba(224,36,47,.25); }
.lq-now[data-hungry="true"]::before { background: #fff; box-shadow: 0 0 0 5px rgba(255,255,255,.25); }
.lq-summary { margin: 0; font-size: 16.5px; line-height: 1.62; color: var(--body); max-width: 660px; text-wrap: pretty; }

.lq-box { background: #fff; border-radius: 26px; padding: 22px 18px; display: flex; flex-direction: column; gap: 16px; box-shadow: var(--shadow); }
.lq-box__head { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.lq-box__title { margin: 0; font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1; text-transform: uppercase; }
.lq-box__aside { font-weight: 700; font-size: 13px; color: var(--muted); }
.lq-keys { display: flex; gap: 6px; flex-wrap: wrap; }
.lq-key { display: flex; align-items: center; gap: 6px; border-radius: 99px; padding: 5px 10px; font-weight: 700; font-size: 12.5px; background: var(--grey-soft); }
.lq-key::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--ink); }
.lq-key--give { background: var(--red-soft); color: var(--red-dark); }
.lq-key--give::before { background: var(--red); }

.lq-spec { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 18px 10px; }
.lq-spec__col { display: flex; flex-direction: column; gap: 7px; }
.lq-spec__card {
  height: 184px; border: 2px solid var(--ink); border-radius: 14px; background: #fff; display: grid;
  grid-template-rows: minmax(0,1fr) auto minmax(0,1fr); overflow: hidden; box-shadow: 0 4px 12px rgba(29,29,31,.06);
}
.lq-spec__col[data-lately="hungry"] .lq-spec__card { border: 2.5px solid var(--red); box-shadow: 0 8px 20px rgba(224,36,47,.18); }
.lq-spec__half { position: relative; display: flex; justify-content: center; }
.lq-spec__half--give { align-items: flex-end; }
.lq-spec__half--receive { align-items: flex-start; }
.lq-spec__bar { width: 26px; height: 0; transition: height .8s var(--ease); transition-delay: calc(var(--i) * 70ms); }
.lq-spec__half--give .lq-spec__bar { background: var(--red); border-radius: 6px 6px 0 0; }
.lq-spec__half--receive .lq-spec__bar { background: var(--ink); border-radius: 0 0 6px 6px; transition-delay: calc(var(--i) * 70ms + 120ms); }
.is-ready .lq-spec__bar { height: var(--h); }
.lq-spec__num { position: absolute; font-family: var(--display); font-weight: 800; font-size: 24px; line-height: 1; }
.lq-spec__half--give .lq-spec__num { top: 6px; left: 8px; color: var(--red); }
.lq-spec__half--receive .lq-spec__num { bottom: 6px; right: 8px; }
.lq-spec__name {
  border-top: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); padding: 5px 4px; text-align: center;
  font-weight: 700; font-size: 11.5px; line-height: 1.15; min-height: 40px; display: flex; align-items: center; justify-content: center; background: #fff;
}
.lq-tag { font-weight: 600; font-size: 11.5px; line-height: 1.2; text-align: center; color: var(--mid); background: var(--bg); border-radius: 99px; padding: 4px 6px; }
.lq-tag--hungry { background: var(--red); color: #fff; font-weight: 700; font-size: 11px; }
.lq-gap { font-weight: 700; font-size: 11px; line-height: 1.2; text-align: center; color: var(--red); }

.lq-box--mix { gap: 12px; }
.lq-mix__label { font-weight: 700; font-size: 13px; color: var(--red); }
.lq-mix__label[data-dir="receive"] { color: var(--ink); margin-top: 4px; }
.lq-mixbar { display: flex; gap: 3px; height: 38px; }
.lq-mixbar__seg {
  width: 0; border-radius: 8px; background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 800; font-size: 14px; white-space: nowrap; overflow: hidden;
  transition: width .8s var(--ease); transition-delay: calc(var(--i) * 60ms);
}
.lq-mixbar[data-dir="receive"] .lq-mixbar__seg { background: var(--ink); }
.is-ready .lq-mixbar__seg { width: var(--w); }
.lq-mix__legend { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 6px 10px; font-size: 12.5px; color: var(--mid); font-weight: 600; }
.lq-mix__legend li { display: flex; gap: 6px; }
.lq-mix__legend b { color: var(--ink); font-weight: 800; }

.lq-notes { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; align-items: start; }
.lq-card { border-radius: 22px; padding: 20px 18px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.lq-card[data-kind="hungry"]::before { content: ""; height: 8px; background: var(--red); margin: -20px -18px 4px; }
.lq-card[data-kind="working"] { background: #e9e9e5; box-shadow: none; }
.lq-card[data-kind="over"] { box-shadow: none; border: 1.5px dashed #9a9893; }
.lq-card[data-kind="talk"] { background: var(--ink); color: #fff; }
.lq-card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.lq-card__label { font-weight: 800; font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; line-height: 1.3; color: var(--muted); }
.lq-card[data-kind="hungry"] .lq-card__label { color: var(--red); }
.lq-scores { flex: none; display: flex; gap: 4px; }
.lq-scores span {
  min-width: 34px; height: 30px; padding: 0 6px; border-radius: 8px; background: var(--grey-soft); display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 800; font-size: 19px;
}
.lq-scores span:first-child { background: var(--red-soft); color: var(--red); }
.lq-card__title { margin: 0; font-family: var(--display); font-weight: 800; font-size: 32px; line-height: .95; text-transform: uppercase; }
.lq-card__body { margin: 0; font-size: 16px; line-height: 1.55; color: var(--body); }
.lq-card[data-kind="talk"] .lq-card__body { color: #ecebe7; }
.lq-tips { background: var(--bg); border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 4px; }
.lq-tips__label { font-weight: 800; font-size: 13px; color: var(--red); text-transform: uppercase; letter-spacing: .06em; }
.lq-tips p { margin: 0; font-size: 15px; line-height: 1.5; }

.lq-compare { display: flex; flex-direction: column; gap: 16px; padding-top: 8px; }
.lq-compare__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; align-items: start; }
.lq-ccard { background: #fff; border-radius: 22px; padding: 20px 18px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow); }
.lq-ccard__head { display: flex; align-items: center; gap: 10px; }
.lq-ccard__avatars { display: flex; }
.lq-ccard__avatars span {
  width: 32px; height: 32px; border-radius: 50%; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 800; font-size: 17px; border: 2px solid #fff; text-transform: uppercase;
}
.lq-ccard__avatars span + span { margin-left: -10px; }
.lq-ccard__avatars span[data-who="other"] { background: var(--red); }
.lq-ccard__title { margin: 0; font-family: var(--display); font-weight: 800; font-size: 28px; line-height: .95; text-transform: uppercase; }
.lq-ccard__nums { display: flex; align-items: stretch; border-radius: 14px; overflow: hidden; background: var(--bg); }
.lq-ccard__cat { flex: 1; padding: 10px 12px; font-weight: 700; font-size: 15px; display: flex; align-items: center; }
.lq-ccard__num { padding: 8px 12px; background: var(--ink); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 11px; font-weight: 600; }
.lq-ccard__num b { font-family: var(--display); font-weight: 800; font-size: 26px; line-height: 1; }
.lq-ccard__num--given { background: var(--red); }
.lq-ccard__text { margin: 0; font-size: 16px; line-height: 1.55; color: var(--body); }
.lq-ccard__text strong { color: var(--ink); }
.lq-ccard__more { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid var(--line-2); padding-top: 12px; }
.lq-ccard__more-label { font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--mid); }
.lq-ccard__more p { margin: 0; display: flex; gap: 8px; font-size: 15px; line-height: 1.5; color: var(--body); }
.lq-ccard__more p::before { content: ""; flex: none; margin-top: 7px; width: 7px; height: 7px; border-radius: 50%; background: var(--ink); }
.lq-ccard__extra { margin: 0; border-top: 1px solid var(--line-2); padding-top: 12px; font-size: 15px; line-height: 1.5; color: var(--body); }
.lq-compare__note { margin: 0; font-size: 14.5px; line-height: 1.5; color: var(--mid); max-width: 660px; }
.lq-compare .lq-btn { max-width: 420px; }

.lq-sharebox { background: var(--ink); color: #fff; border-radius: 26px; padding: 26px 20px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 14px 34px rgba(29,29,31,.18); }
.lq-sharebox__title { margin: 0; font-family: var(--display); font-weight: 800; font-size: 38px; line-height: .92; text-transform: uppercase; }
.lq-sharebox__text { margin: 0; font-size: 16px; line-height: 1.5; color: #e4e3df; max-width: 560px; }
.lq-sharebox__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.lq-sharebox__actions .lq-btn { flex: 1 1 220px; width: auto; height: 56px; font-size: 16px; border-radius: 14px; box-shadow: none; }
.lq-btn--outline { background: transparent; border: 1.5px solid rgba(255,255,255,.5); color: #fff; }
.lq-btn--outline:hover { background: rgba(255,255,255,.08); border-color: #fff; }

.lq-evidence { margin: 8px 0 0; font-size: 15px; line-height: 1.55; color: var(--body); max-width: 660px; }
.lq-about { display: flex; flex-direction: column; gap: 10px; max-width: 660px; border-top: 1px solid var(--line); padding-top: 20px; }
.lq-about__title { margin: 0; font-family: var(--display); font-weight: 800; font-size: 26px; text-transform: uppercase; }
.lq-about p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--body); }
.lq-about .lq-credit { margin: 0; font-size: 12.5px; color: var(--muted); }
.lq-again {
  align-self: flex-start; height: 52px; padding: 0 22px; border: 1.5px solid var(--ink); border-radius: 14px; background: transparent;
  font-weight: 700; font-size: 16px; display: flex; align-items: center; gap: 8px; transition: background .15s;
}
.lq-again:hover { background: #fff; }

.lq-toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 60; transform: translateX(-50%) translateY(90px); opacity: 0;
  transition: transform .35s var(--ease), opacity .25s; background: var(--ink); color: #fff; border-radius: 99px; padding: 12px 20px;
  font-weight: 700; font-size: 15px; box-shadow: 0 10px 30px rgba(29,29,31,.3); pointer-events: none;
}
.lq-toast.is-on { transform: translateX(-50%) translateY(0); opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; transition-delay: 0s !important; animation: none !important; }
}


/* ===== Claude Design Turns 4-5 (2026-11-05): logo, wizard, note, breaks, categories, invite ===== */
.lq-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lq-logo { display: block; width: 64px; height: 64px; margin-top: 8px; }
.lq-ico { display: block; width: 24px; height: 24px; background: currentColor; -webkit-mask: var(--icon) center / contain no-repeat; mask: var(--icon) center / contain no-repeat; }

/* Welcome wizard */
.lq-wiz { min-height: 100vh; min-height: 100dvh; padding: 0 20px calc(clamp(12px,2.4dvh,22px) + env(safe-area-inset-bottom)); gap: 0; }
.lq-wiz__head { height: 60px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.lq-dots { display: flex; gap: 6px; align-items: center; }
.lq-dot { width: 28px; height: 44px; border: none; background: none; padding: 0; display: flex; align-items: center; justify-content: center; }
.lq-dot span { display: block; height: 8px; width: 8px; border-radius: 4px; background: #d4d2cc; transition: width .25s var(--ease), background .25s; }
.lq-dot[data-state="on"] span { width: 22px; background: var(--red); }
.lq-dot[data-state="done"] span { background: var(--ink); }
.lq-skip { flex: none; min-width: 44px; height: 44px; padding: 0 6px; border: none; background: none; font-weight: 700; font-size: 15px; color: var(--mid); }
.lq-wiz__body { flex: 1; display: flex; flex-direction: column; gap: clamp(14px,2.6dvh,22px); padding: clamp(4px,1dvh,10px) 0 clamp(14px,2.6dvh,22px); }
.lq-wiz__kicker { margin: 0; font-size: 14px; font-weight: 700; color: var(--red); }
.lq-wiz__title { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(40px, 12vw, 60px); font-size: clamp(40px, min(12vw, 7.6dvh), 60px); line-height: .92; text-transform: uppercase; text-wrap: pretty; }
.lq-wiz__text { margin: 0; font-size: clamp(16px,2.7dvh,18px); line-height: 1.5; color: var(--body); text-wrap: pretty; }
.lq-wiz__small { margin: 0; font-size: 15px; line-height: 1.45; color: var(--body); }
.lq-wiz__pair { height: clamp(120px,26dvh,230px); position: relative; }
.lq-wiz__card { position: absolute; left: 50%; top: 50%; height: clamp(104px,21dvh,190px); aspect-ratio: 5 / 7; border-radius: clamp(12px,2.2dvh,16px); color: #fff; padding: 12px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 2px 4px rgba(29,29,31,.08), 0 18px 40px rgba(29,29,31,.16); }
.lq-wiz__card span { font-family: var(--display); font-weight: 800; font-size: clamp(22px,4.2dvh,32px); line-height: .9; text-transform: uppercase; }
.lq-wiz__card i { align-self: flex-end; width: 16px; height: 16px; border-radius: 4px; transform: rotate(45deg); margin: 0 4px 4px 0; }
.lq-wiz__card--give { background: var(--red); margin-left: -26%; transform: translate(-50%,-50%) rotate(-10deg); }
.lq-wiz__card--give i { background: #fff; }
.lq-wiz__card--receive { background: var(--ink); margin-left: 24%; transform: translate(-50%,-46%) rotate(8deg); box-shadow: 0 2px 4px rgba(29,29,31,.08), 0 18px 40px rgba(29,29,31,.2); }
.lq-wiz__card--receive i { background: var(--red); }
.lq-wiz__list { display: flex; flex-direction: column; gap: clamp(8px,1.4dvh,10px); }
.lq-wiz__row { background: #fff; border-radius: 18px; padding: clamp(10px,1.8dvh,14px); display: flex; gap: 14px; align-items: center; box-shadow: 0 1px 2px rgba(29,29,31,.06), 0 8px 22px rgba(29,29,31,.06); }
.lq-wiz__row--tip { align-items: flex-start; padding: clamp(12px,2dvh,16px); }
.lq-wiz__mini { flex: none; width: clamp(38px,7dvh,46px); aspect-ratio: 5 / 7; border-radius: 8px; display: flex; padding: 2px 5px; font-family: var(--display); font-weight: 800; font-size: 22px; line-height: 1; color: #fff; background: var(--ink); }
.lq-wiz__mini[data-part="give"] { background: #fff; border: 2px solid var(--ink); color: var(--red); }
.lq-wiz__mini[data-part="lately"] { background: var(--red); }
.lq-wiz__rowtext { display: flex; flex-direction: column; gap: 2px; }
.lq-wiz__rowtitle { font-weight: 700; font-size: 16px; }
.lq-wiz__rowtitle span { font-weight: 500; color: var(--muted); }
.lq-wiz__rowsub { font-size: 14px; line-height: 1.35; color: var(--mid); }
.lq-wiz__tipicon { flex: none; width: 32px; height: 32px; border-radius: 10px; background: var(--red-soft); display: flex; align-items: center; justify-content: center; }
.lq-wiz__tipicon i { width: 12px; height: 12px; border-radius: 3px; background: var(--red); transform: rotate(45deg); }
.lq-wiz__tipicon[data-kind="receive"] { background: var(--grey-soft); }
.lq-wiz__tipicon[data-kind="receive"] i { background: var(--ink); }
.lq-wiz__tipicon[data-kind="note"] { background: var(--bg); border-radius: 50%; }
.lq-wiz__tipicon[data-kind="note"] i { transform: none; border-radius: 0; width: 15px; height: 15px; background: var(--mid); -webkit-mask: var(--pencil) center / contain no-repeat; mask: var(--pencil) center / contain no-repeat; }
.lq-wiz__tiptext { font-size: 16px; line-height: 1.45; font-weight: 600; }
.lq-wiz__next { flex: none; height: 60px; height: clamp(52px,9dvh,60px); }

/* Pencil note on the question card */
:root { --pencil: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16.5 3.5a2.12 2.12 0 0 1 3 3L8 18l-4 1 1-4z'/%3E%3Cpath d='M14 6l4 4'/%3E%3C/svg%3E"); }
.lq-pencil { position: absolute; top: 2px; right: 2px; z-index: 2; width: 44px; height: 44px; border: none; background: none; padding: 0; display: flex; align-items: center; justify-content: center; }
.lq-pencil__icon { width: 30px; height: 30px; border-radius: 50%; background: var(--bg); display: flex; align-items: center; justify-content: center; transition: background .15s; }
.lq-pencil__icon::before { content: ""; width: 15px; height: 15px; background: var(--mid); -webkit-mask: var(--pencil) center / contain no-repeat; mask: var(--pencil) center / contain no-repeat; }
.is-note-open .lq-pencil__icon { background: var(--ink); }
.has-note .lq-pencil__icon { background: var(--red); }
.is-note-open .lq-pencil__icon::before, .has-note .lq-pencil__icon::before { background: #fff; }
.lq-qcard__mark { display: none; position: absolute; right: 0; bottom: 0; width: 26px; height: 26px; background: linear-gradient(315deg, var(--red) 50%, transparent 50%); }
.has-note .lq-qcard__mark { display: block; }
.lq-note { display: none; gap: 8px; align-items: flex-end; }
.is-note-open .lq-note { display: flex; }
.lq-note__input { flex: 1; min-width: 0; height: 44px; min-height: 44px; max-height: 88px; resize: none; border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 12px; font: inherit; font-size: 16px; line-height: 1.3; background: #f8f8f6; color: var(--ink); outline: none; overflow-y: auto; }
.lq-note__input:focus { border-color: var(--red); background: #fff; }
.lq-note__done { flex: none; height: 44px; padding: 0 14px; border: none; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 700; font-size: 15px; }
.lq-qcard.is-note-open { padding: 10px 16px 12px; gap: 6px; }
.is-note-open .lq-stem { font-size: 14px; line-height: 1.3; }
.is-note-open .lq-item { font-size: clamp(20px, 7.4vw, 40px); font-size: clamp(20px, min(7.4vw, 3.8dvh), 40px); }

/* Break cards */
.lq-brk { min-height: calc(100vh - 69px); min-height: calc(100dvh - 69px); padding: clamp(10px,2dvh,20px) 20px calc(clamp(12px,2.4dvh,24px) + env(safe-area-inset-bottom)); align-items: center; justify-content: center; gap: clamp(14px,3dvh,26px); overflow: hidden; }
.lq-brk__deck { position: relative; height: 340px; height: clamp(300px,60dvh,440px); aspect-ratio: 5 / 7; max-width: 100%; }
.lq-brk__deck::before, .lq-brk__deck::after { content: ""; position: absolute; inset: 0; border-radius: 22px; }
.lq-brk__deck::before { background: #e4e3de; transform: rotate(5deg) translate(8px,6px); }
.lq-brk__deck::after { background: #ecebe6; transform: rotate(-3deg) translate(-4px,3px); }
.lq-brk__card { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; border: 2px solid var(--ink); border-radius: 22px; background: #fff; color: var(--ink); padding: clamp(14px,2.6dvh,20px); display: flex; flex-direction: column; text-align: left; touch-action: pan-y; -webkit-user-select: none; user-select: none; cursor: grab; box-shadow: 0 2px 4px rgba(29,29,31,.08), 0 24px 50px rgba(29,29,31,.18); }
.lq-brk__card[data-tone="red"] { background: var(--red); color: #fff; border: none; }
.lq-brk__card[data-tone="black"] { background: var(--ink); color: #fff; border: none; }
.lq-brk__corner { font-family: var(--display); font-weight: 800; font-size: clamp(30px,5.4dvh,40px); line-height: 1; color: var(--red); align-self: flex-start; }
.lq-brk__card[data-tone="red"] .lq-brk__corner, .lq-brk__card[data-tone="red"] .lq-brk__eyebrow { color: #fff; }
.lq-brk__card[data-tone="black"] .lq-brk__corner, .lq-brk__card[data-tone="black"] .lq-brk__eyebrow { color: #ff6b72; }
.lq-brk__corner--bottom { align-self: flex-end; transform: rotate(180deg); }
.lq-brk__mid { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: clamp(8px,1.8dvh,14px); padding: 0 4px; }
.lq-brk__eyebrow { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: var(--red); }
.lq-brk__title { font-family: var(--display); font-weight: 800; font-size: clamp(40px,8dvh,58px); line-height: .9; text-transform: uppercase; }
.lq-brk__line { font-size: clamp(16px,2.8dvh,19px); line-height: 1.4; font-weight: 600; color: var(--body); text-wrap: pretty; }
.lq-brk__card[data-tone="red"] .lq-brk__line, .lq-brk__card[data-tone="black"] .lq-brk__line { color: rgba(255,255,255,.9); }
.lq-brk__hint { margin: 0; font-size: 14px; font-weight: 600; color: var(--muted); }

/* Results header logo */
.lq-brand { display: flex; align-items: center; gap: 8px; min-width: 0; white-space: nowrap; }
.lq-brand img { display: block; flex: none; width: 30px; height: 30px; }
.lq-brand .lq-brand__hi { color: var(--red); }

/* Your six, up close (dark) */
.lq-cats { background: var(--ink); color: #fff; border-radius: 26px; padding: 24px 16px 18px; display: flex; flex-direction: column; gap: 18px; box-shadow: 0 14px 34px rgba(29,29,31,.18); }
.lq-cats__head { display: flex; flex-direction: column; gap: 6px; padding: 0 4px; }
.lq-cats__title { margin: 0; font-family: var(--display); font-weight: 800; font-size: 38px; line-height: .92; text-transform: uppercase; }
.lq-cats__sub { margin: 0; font-size: 15px; line-height: 1.45; color: #bdbcb7; }
.lq-pick { display: grid; grid-template-columns: repeat(6, minmax(0,1fr)); gap: 6px; padding: 6px 0 10px; }
.lq-pick__card { position: relative; height: 62px; border: none; border-radius: 10px; padding: 0; display: flex; align-items: center; justify-content: center; background: #fff; color: var(--red); transition: transform .25s var(--ease), background .2s, box-shadow .2s; }
.lq-pick__card[aria-selected="true"] { background: var(--red); color: #fff; transform: translateY(-5px) rotate(-3deg); box-shadow: 0 10px 20px rgba(224,36,47,.35); }
.lq-pick__dot { position: absolute; right: 6px; bottom: 7px; width: 8px; height: 8px; border-radius: 2px; transform: rotate(45deg); background: var(--red); }
.lq-pick__card[aria-selected="true"] .lq-pick__dot { background: #fff; }
.lq-pick__bar { position: absolute; left: 50%; bottom: -12px; width: 18px; margin-left: -9px; height: 3px; border-radius: 2px; background: transparent; }
.lq-pick__card[aria-selected="true"] .lq-pick__bar { background: #fff; }
.lq-cat { background: #29292c; border-radius: 22px; padding: 18px 16px; display: flex; flex-direction: column; gap: 16px; }
.lq-cat__top { display: flex; gap: 16px; align-items: center; }
.lq-ring { position: relative; flex: none; width: 128px; height: 128px; }
.lq-ring__arc { position: absolute; border-radius: 50%; background: conic-gradient(var(--c) calc(var(--v) * 3.6deg), #3a3a3e 0); }
.lq-ring__arc--give { --c: var(--red); inset: 0; -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 10px), #000 calc(100% - 9px)); mask: radial-gradient(farthest-side, transparent calc(100% - 10px), #000 calc(100% - 9px)); }
.lq-ring__arc--receive { --c: #fff; inset: 13px; -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 9px), #000 calc(100% - 8px)); mask: radial-gradient(farthest-side, transparent calc(100% - 9px), #000 calc(100% - 8px)); }
.lq-ring__mid { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px; }
.lq-ring__mid b { font-family: var(--display); font-weight: 800; font-size: 34px; line-height: .9; }
.lq-ring__mid span { font-size: 10px; font-weight: 600; color: #bdbcb7; white-space: nowrap; }
.lq-cat__info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.lq-cat__chiprow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.lq-cat__mini { flex: none; width: 34px; height: 48px; border-radius: 7px; background: var(--red); color: #fff; display: flex; align-items: center; justify-content: center; transform: rotate(-6deg); box-shadow: 0 4px 10px rgba(0,0,0,.3); }
.lq-cat__mini .lq-ico { width: 22px; height: 22px; }
.lq-cat__chip { border-radius: 99px; padding: 4px 10px; font-weight: 700; font-size: 12px; line-height: 1.2; background: #3a3a3e; color: #fff; }
.lq-cat__chip[data-hungry="true"] { background: var(--red); }
.lq-cat__name { margin: 0; font-family: var(--display); font-weight: 800; font-size: 28px; line-height: .92; text-transform: uppercase; }
.lq-cat__nums { display: flex; flex-direction: column; gap: 3px; font-size: 13.5px; font-weight: 600; }
.lq-cat__nums span { display: flex; align-items: center; gap: 7px; }
.lq-cat__nums span::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #fff; flex: none; }
.lq-cat__nums span[data-dir="give"]::before { background: var(--red); }
.lq-cat__nums strong { font-family: var(--display); font-weight: 800; font-size: 18px; line-height: 1; }
.lq-cat__what { margin: 0; font-size: 16px; line-height: 1.5; color: #e4e3df; text-wrap: pretty; }
.lq-cat__more { height: 48px; border: 1.5px solid rgba(255,255,255,.35); border-radius: 14px; background: transparent; color: #fff; font-weight: 700; font-size: 15px; display: flex; align-items: center; justify-content: center; gap: 8px; }
.lq-cat__more:hover { background: rgba(255,255,255,.06); border-color: #fff; }
.lq-cat__chev { display: inline-block; font-size: 16px; line-height: 1; margin-top: -6px; transition: transform .25s var(--ease); }
.lq-cat__more[aria-expanded="true"] .lq-cat__chev { transform: rotate(180deg); margin-top: 4px; }
.lq-cat__detail { display: flex; flex-direction: column; gap: 16px; }
.lq-cat__tiles { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
.lq-tile { background: var(--ink); border-radius: 14px; padding: 12px; display: flex; flex-direction: column; gap: 4px; }
.lq-tile--wide { grid-column: 1 / -1; gap: 8px; }
.lq-tile__label { font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #8d8b86; }
.lq-tile__big { font-family: var(--display); font-weight: 800; font-size: 32px; line-height: .9; }
.lq-tile__cap { font-size: 13px; font-weight: 600; line-height: 1.35; color: #e4e3df; }
.lq-tile__tag { font-size: 12px; font-weight: 700; color: #ff6b72; }
.lq-tile__pair { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; font-size: 13px; font-weight: 600; }
.lq-tile__pair b { font-family: var(--display); font-weight: 800; font-size: 20px; line-height: 1; }
.lq-tile__pair[data-dir="give"] { color: #ff6b72; }
.lq-tile__headrow { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.lq-tile__note { font-size: 12px; font-weight: 600; color: #8d8b86; }
.lq-tile__bars { display: grid; grid-template-columns: 70px minmax(0,1fr) 40px; gap: 6px 8px; align-items: center; font-size: 13px; font-weight: 600; }
.lq-tile__bars [data-dir="give"] { color: #ff6b72; }
.lq-tile__bars b { font-family: var(--display); font-weight: 800; font-size: 19px; line-height: 1; text-align: right; }
.lq-tile__track { height: 8px; border-radius: 4px; background: #3a3a3e; overflow: hidden; }
.lq-tile__track div { height: 100%; border-radius: 4px; background: #fff; }
.lq-tile__track div[data-dir="give"] { background: #ff6b72; }
.lq-tile__status { font-size: 15px; font-weight: 700; }
.lq-cat__day { display: flex; flex-direction: column; gap: 8px; }
.lq-cat__day p { margin: 0; display: flex; gap: 10px; font-size: 15px; line-height: 1.45; color: #e4e3df; }
.lq-cat__day p::before { content: ""; flex: none; margin-top: 6px; width: 8px; height: 8px; border-radius: 2px; background: var(--red); transform: rotate(45deg); }
.lq-cat__ideas { background: var(--red); border-radius: 14px; padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.lq-cat__ideas .lq-tile__label { color: #fff; font-size: 12.5px; font-weight: 800; }
.lq-cat__ideas p { margin: 0; font-size: 15px; line-height: 1.5; color: #fff; }
.lq-cat__nav { display: flex; justify-content: space-between; align-items: center; padding: 0 2px; }
.lq-cat__navbtn { width: 44px; height: 44px; border: none; border-radius: 50%; background: #29292c; color: #fff; font-size: 18px; }
.lq-cat__pos { font-size: 13px; font-weight: 600; color: #8d8b86; }

/* Compare notes with your partner (dark) */
.lq-connect { background: var(--ink); color: #fff; border-radius: 26px; padding: 26px 20px; box-shadow: 0 14px 34px rgba(29,29,31,.18); }
.lq-connect__inner { display: flex; flex-direction: column; gap: 16px; }
.lq-connect__cards { display: flex; }
.lq-connect__cards span { width: 40px; height: 56px; border-radius: 8px; display: flex; padding: 4px 6px; font-family: var(--display); font-weight: 800; font-size: 22px; }
.lq-connect__me { background: var(--red); transform: rotate(-6deg); }
.lq-connect__them { margin-left: -6px; transform: rotate(6deg); border: 2px dashed rgba(255,255,255,.5); color: #bdbcb7; }
.lq-connect__them[data-kind="waiting"] { border-color: #fff; }
.lq-connect__them[data-kind="done"] { background: #fff; color: var(--ink); border: none; }
.lq-connect__chip { align-self: flex-start; background: var(--red); border-radius: 99px; padding: 5px 12px; font-weight: 700; font-size: 13px; }
.lq-connect__title { margin: 0; font-family: var(--display); font-weight: 800; font-size: 40px; line-height: .92; text-transform: uppercase; }
.lq-connect__text { margin: 0; font-size: 16px; line-height: 1.5; color: #e4e3df; max-width: 560px; }
.lq-connect__form { display: flex; flex-direction: column; gap: 12px; max-width: 520px; }
.lq-connect__form .lq-field__label { color: #fff; }
.lq-connect__form .lq-field__err { color: #ff9a9f; }
.lq-input--dark { background: #2a2a2d; border-color: #3a3a3e; color: #fff; }
.lq-input--dark:focus { background: #2a2a2d; border-color: #fff; }
.lq-input--dark::placeholder { color: #8d8b86; }
.lq-connect__error { margin: 0; font-size: 14px; font-weight: 600; color: #ff9a9f; }
.lq-connect__error[hidden] { display: none; }
.lq-connect__fine { margin: 0; font-size: 13px; line-height: 1.45; color: #bdbcb7; }
.lq-connect__or { display: flex; align-items: center; gap: 12px; color: #8d8b86; font-size: 13px; font-weight: 600; }
.lq-connect__or span { flex: 1; height: 1px; background: #3a3a3e; }
.lq-connect__links { display: flex; flex-wrap: wrap; gap: 10px; }
.lq-connect__links .lq-btn, .lq-connect__inner > .lq-btn--outline { flex: 1 1 200px; width: auto; height: 50px; font-size: 15px; border-radius: 14px; box-shadow: none; }
.lq-connect .lq-btn--red { height: 56px; border-radius: 14px; font-size: 17px; box-shadow: none; }
.lq-connect__steps { display: flex; flex-direction: column; background: #29292c; border-radius: 16px; padding: 6px 14px; }
.lq-connect__step { display: flex; align-items: center; gap: 12px; padding: 10px 0; font-size: 15px; font-weight: 600; border-bottom: 1px solid #3a3a3e; }
.lq-connect__step:last-child { border-bottom: none; }
.lq-connect__step span { flex: none; width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; border: 2px solid #fff; }
.lq-connect__step[data-done="true"] span { background: var(--red); border: none; }
.lq-connect__step[data-done="true"] span::before { content: "✓"; font-size: 14px; font-weight: 800; }
.lq-connect__step[data-done="false"] span::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #fff; animation: lq-pulse 1.8s ease-in-out infinite; }
@keyframes lq-pulse { 50% { opacity: .3; } }
.lq-connect__actions { display: flex; gap: 18px; flex-wrap: wrap; }
.lq-connect__link { border: none; background: none; padding: 6px 0; color: #fff; font-weight: 700; font-size: 15px; text-decoration: underline; text-underline-offset: 3px; }

/* Desktop and tablets: don't pin answers / buttons to the bottom edge of the
   window (Jacob: "not a fan of how little bottom padding on desktop"). Content
   flows from the top with real space underneath. Phones keep the one-view fit. */
@media (min-width: 700px) {
  .lq-q, .lq-flip, .lq-brk { min-height: 0; padding-bottom: 72px; }
  .lq-q { gap: 28px; }
  .lq-scale { margin-top: 0; }
  .lq-flip .lq-btn { margin-top: 12px; }
  .lq-wiz { min-height: 0; padding-bottom: 72px; }
  .lq-wiz__body { flex: none; }
  .lq-brk { padding-top: 32px; }
}
