/* ==========================================================================
   Components – one block per file in /components
   ========================================================================== */

/* Button ------------------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s1);
  min-height: 54px;
  padding: 0 28px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: var(--text-md);
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color var(--fast) ease, border-color var(--fast) ease, box-shadow var(--fast) ease;
}
.btn-sm { min-height: var(--tap); padding: 0 var(--s2); font-size: var(--text-sm); }
.btn-lg { min-height: 63px; padding: 0 var(--s4); }

.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); }
.btn-ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--surface); box-shadow: var(--shadow); }
.btn-dark { background: var(--ink); border-color: var(--ink); color: var(--inverse-ink); }
.btn-dark:hover { background: var(--ink-hover); border-color: var(--ink-hover); }
.btn-quiet { background: transparent; color: var(--ink); }
.btn-quiet:hover { background: var(--hover); }

/* Icon button ------------------------------------------------------------- */

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: var(--tap);
  height: var(--tap);
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  transition: border-color var(--fast) ease;
}
.icon-btn:hover { border-color: var(--ink); }

/* Chip -------------------------------------------------------------------- */

.chip {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  padding: 0 var(--s2);
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--ink);
  font-size: var(--text-sm);
  text-decoration: none;
  transition: border-color var(--fast) ease;
}
.chip:hover { border-color: var(--ink); }

/* Icon badge -------------------------------------------------------------- */

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 54px;
  height: 54px;
  border-radius: var(--radius-inner);
  color: var(--ink);
}
.icon-badge--sm { width: 36px; height: 36px; border-radius: 8px; }
.icon-badge--xs { width: 28px; height: 28px; border-radius: 7px; }

/* Eyebrow + section header ----------------------------------------------- */

.eyebrow {
  font-size: var(--text-sm);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--eyebrow);
}

.section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s2);
}
.section-header-text { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.section-title { font-size: var(--title-md); text-wrap: balance; }
.section-lead { max-width: 640px; font-size: var(--text-lg); color: var(--text-muted); text-wrap: pretty; }

.section-header--xl .section-header-text { gap: var(--s2); }
.section-header--xl .section-title { font-size: var(--title-xl); }
.section-header--xl .section-lead { margin-top: 4px; }

.section-header--center { justify-content: center; text-align: center; }
.section-header--center .section-header-text { align-items: center; }

/* Card primitive ---------------------------------------------------------- */

.card {
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow);
  color: var(--ink);
}
.card--raised { box-shadow: var(--shadow-raised); }
.card--interactive {
  text-decoration: none;
  transition: box-shadow 0.2s var(--ease), transform 0.2s var(--ease);
}
.card--interactive:hover { box-shadow: var(--shadow-raised); transform: translateY(-2px); }
@media (prefers-reduced-motion: reduce) { .card--interactive:hover { transform: none; } }

/* Category tile ----------------------------------------------------------- */

.category-tile {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 160px;
  padding: var(--s2);
}
.category-name {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  letter-spacing: var(--track-display);
  line-height: 1.15;
}
.category-more { margin-top: auto; font-size: var(--text-sm); color: var(--text-subtle); }

/* Guide card -------------------------------------------------------------- */

.guide-card { display: flex; flex-direction: column; overflow: hidden; }
.guide-card-media {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 4 / 3;
  margin: var(--s1) var(--s1) 0;
  overflow: hidden;
  border-radius: var(--radius-inner);
}
/* Featured images are transparent collages: contain them on the category tone. */
.guide-card-media img { width: 100%; height: 100%; object-fit: cover; } /* transparent grid on the tone */
.guide-card-placeholder {
  width: 40%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.75);
}
.guide-card-body { display: flex; flex-direction: column; gap: 6px; padding: var(--s2) var(--s2) 22px; }
.guide-card-cat {
  font-size: var(--text-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--eyebrow);
}
.guide-card-title { font-size: var(--title-sm); font-weight: 500; line-height: 1.15; }
.guide-card-date { margin-top: 6px; font-size: 14px; color: var(--text-subtle); }

/* Phones: compact row card, media left. */
@media (max-width: 700px) {
  .guide-card { flex-direction: row; align-items: center; }
  .guide-card-media { flex: none; width: 104px; aspect-ratio: 1; margin: var(--s1); }
  .guide-card-body { padding: var(--s1) var(--s2) var(--s1) 6px; gap: 4px; }
  .guide-card-title { font-size: var(--text-lg); }
  .guide-card-date { margin-top: 2px; font-size: var(--text-xs); }
}

/* Step -------------------------------------------------------------------- */

.step { padding: var(--s3); }
.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
}
.step-title { margin-top: var(--s2); font-size: 24px; font-weight: 500; }
.step-text { margin-top: var(--s1); color: var(--text-muted); }

/* Search ------------------------------------------------------------------ */

.search {
  display: flex;
  width: 100%;
  max-width: 620px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface);
  box-shadow: var(--shadow);
}
.search:focus-within { border-color: var(--ink); }
.search-box {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 10px;
  min-width: 0;
  min-height: 54px;
  padding: 0 var(--s2);
  color: var(--text-subtle);
  cursor: text;
}
.search-box input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: var(--text-md);
}
.search-box input::-webkit-search-cancel-button { display: none; }

@media (max-width: 700px) {
  .search-box { padding: 0 12px; }
  .search .btn { min-height: 48px; padding: 0 20px; }
}

/* Logo -------------------------------------------------------------------- */

.logo { display: inline-flex; align-items: center; flex: none; min-height: var(--tap); color: var(--ink); }
.logo-svg { width: auto; height: 30px; }
.logo-icon { fill: var(--accent); }
.logo-word { fill: currentColor; }

/* Score (Toppvald-betyg) ------------------------------------------------- */

/* One rule set; sizes only swap the custom properties. */
.score { display: inline-flex; align-items: center; gap: var(--s1); font-size: var(--text-sm); color: var(--text-muted); }
.score b {
  display: inline-flex;
  flex: none;
  align-items: center;
  gap: var(--score-gap);
  height: var(--score-h);
  padding: 0 var(--score-px);
  border-radius: var(--score-radius);
  background: var(--score-bg);
  color: var(--score-ink);
  font-family: var(--font-display);
  font-size: var(--score-fs);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.score-icon { flex: none; width: var(--score-icon); height: var(--score-icon); fill: var(--score-icon-color); }

.score--sm { --score-h: 26px; --score-px: 7px;  --score-radius: 8px;  --score-fs: 15px; --score-icon: 10px; --score-gap: 4px; }
.score--md { --score-h: 32px; --score-px: 9px;  --score-radius: 10px; --score-fs: 17px; --score-icon: 13px; --score-gap: 5px; }
.score--lg { --score-h: 42px; --score-px: 12px; --score-radius: 12px; --score-fs: 22px; --score-icon: 16px; --score-gap: 7px; }
.score--xl { --score-h: 58px; --score-px: 16px; --score-radius: 14px; --score-fs: 30px; --score-icon: 20px; --score-gap: 8px; }
/* Label under the badge (the review header's big score). */
.score--stack { flex-direction: column; gap: 4px; }
.score--stack .score-label { font-size: var(--text-xs); font-weight: 600; }

/* Toggletip (components/tooltip.php) ------------------------------------- */

.tip { display: inline-flex; }
.tip-trigger {
  display: inline-flex;
  align-items: center;
  padding: 0;
  border: 0;
  border-radius: var(--radius-sm);
  background: none;
  color: inherit;
  font: inherit;
  text-align: inherit;
  cursor: pointer;
}
.tip-trigger:hover .score b { box-shadow: inset 0 0 0 1px var(--score-icon-color); }
/* The rating and its review count are one trigger, so both get the dotted line:
   "4,6 (2 140)" in the toplist, "4,6 snittbetyg · 2 140 omdömen" on the card. */
.tip-trigger:hover .stars > strong,
.tip-trigger:hover .stars > strong + span,
.tip-trigger:hover .stars--five > span:last-child { text-decoration: underline dotted; text-underline-offset: 3px; }

.tip-pop {
  position: fixed;
  inset: auto;
  overflow: visible; /* UA popover default is auto; the hover bridge below must not create a scrollbar */
  width: max-content;
  max-width: min(300px, calc(100vw - 24px));
  margin: 0;
  padding: 12px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  background: var(--bg);
  box-shadow: var(--shadow-raised);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  line-height: 1.45;
  text-align: left;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity var(--fast) ease, transform var(--fast) var(--ease), overlay var(--fast) allow-discrete, display var(--fast) allow-discrete;
}
.tip-pop:popover-open { opacity: 1; transform: none; }
/* Invisible bridge over the 8px gap (both sides, since the tip can flip) so the pointer never "leaves". */
.tip-pop::before { content: ""; position: absolute; inset: -10px 0; z-index: -1; }
@starting-style { .tip-pop:popover-open { opacity: 0; transform: translateY(4px); } }

/* Anchor positioning: above the trigger, flip/shift at the viewport edges.
   The large top margin reserves the sticky header's height, so a tip that
   would slide under the header counts as overflowing and flips below instead. */
@supports (position-area: top) {
  .tip-pop {
    position-area: top;
    position-try-fallbacks: flip-block, top span-right, top span-left, bottom span-right, bottom span-left;
    margin: calc(var(--header-h) + 8px) 12px 8px;
  }
}

.tip-title { display: block; font-weight: 700; }
.tip-text { display: block; margin-top: 2px; color: var(--text-muted); }
.tip-link { display: inline-block; margin-top: 6px; color: var(--eyebrow); font-weight: 600; text-underline-offset: 3px; }

/* Stars (owner rating) --------------------------------------------------- */

.stars { display: inline-flex; align-items: center; gap: 5px; font-size: var(--text-sm); color: var(--text-muted); white-space: nowrap; }
.stars strong { color: var(--ink); }
.stars-icon { fill: var(--star); flex: none; }
/* Five stars filled to the rating: a grey row with a clipped gold row on top. */
.stars--five { gap: 8px; }
.stars-row { position: relative; display: inline-flex; }
.stars-row > span { display: inline-flex; gap: 1px; }
.stars-row > span:first-child .stars-icon { fill: var(--line); }
.stars-row-fill { position: absolute; inset: 0; width: var(--fill); overflow: hidden; }

/* Price ------------------------------------------------------------------- */

.price { display: inline-flex; flex-wrap: wrap; align-items: baseline; column-gap: 6px; font-size: 14px; color: var(--text-muted); }
.price-amount { font-family: var(--font-display); font-size: var(--title-sm); font-weight: 500; letter-spacing: var(--track-display); color: var(--ink); white-space: nowrap; }
.price--sm .price-amount { font-size: var(--text-md); }
.price--lg .price-amount { font-size: 30px; }
.price-shops { flex-basis: 100%; }

/* Offer row (price box, all-prices modal) -------------------------------- */

.offer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 0 12px 0 14px;
  border-radius: 14px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px #ebeae3;
  color: var(--ink);
  font-size: var(--text-sm);
  text-decoration: none;
  transition: background-color var(--fast) ease, box-shadow var(--fast) ease;
}
.offer-row:hover { background: #f6f8f3; box-shadow: inset 0 0 0 1px #c9e8bd; }
.offer-row-shop { display: flex; align-items: center; gap: 11px; min-width: 0; }
.offer-row-logo { flex: none; width: 28px; height: 28px; border-radius: 8px; object-fit: contain; background: var(--surface); box-shadow: 0 0 0 1px var(--line); }
.offer-row-name { display: flex; flex-direction: column; min-width: 0; }
.offer-row-name > span:first-child { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.offer-row-tag { font-size: 12px; font-weight: 600; color: #2b5e3b; }
.offer-row-end { display: flex; flex: none; align-items: center; gap: 12px; }
.offer-row-price { font-weight: 600; white-space: nowrap; }
.offer-row-go { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--hover-soft); color: var(--text-muted); transition: transform var(--fast) ease; }
.offer-row:hover .offer-row-go { transform: translate(1px, -1px); }
.offer-row--primary { min-height: 64px; padding-left: 12px; background: var(--accent); box-shadow: none; }
.offer-row--primary:hover { background: var(--accent-hover); box-shadow: none; }
.offer-row--primary .offer-row-logo { width: 36px; height: 36px; box-shadow: 0 0 0 1px rgba(33, 49, 48, 0.12); }
.offer-row--primary .offer-row-name > span:first-child { font-size: 16px; font-weight: 600; }
.offer-row--primary .offer-row-price { font-family: var(--font-display); font-size: var(--title-sm); font-weight: 500; }
.offer-row--primary .offer-row-go { width: 36px; height: 36px; background: var(--ink); color: var(--accent); }

/* Modal (inc/modal.php) --------------------------------------------------- */

.modal {
  width: min(600px, calc(100% - 32px));
  max-height: calc(100dvh - 64px);
  margin: auto;
  padding: 0;
  border: 0;
  border-radius: var(--radius-card);
  background: var(--surface);
  color: var(--ink);
  box-shadow: 0 24px 60px -12px rgba(23, 23, 23, 0.4);
}
.modal::backdrop { background: rgba(33, 49, 48, 0.45); }
.modal[open] { animation: modal-in 0.2s var(--ease); }
@keyframes modal-in { from { opacity: 0; transform: translateY(8px); } }
.modal-box { position: relative; }
.modal-body { max-height: calc(100dvh - 64px); overflow-y: auto; padding: 26px 28px 28px; overscroll-behavior: contain; }
.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: var(--tap);
  height: var(--tap);
  border: 0;
  border-radius: 50%;
  background: var(--hover-soft);
  color: var(--ink);
  cursor: pointer;
}
.modal-close:hover { background: var(--hover); }
.modal-kicker { padding-right: 56px; font-size: var(--text-xs); font-weight: 600; color: var(--text-subtle); }
.modal-title { margin-top: 2px; padding-right: 56px; font-size: 28px; font-weight: 500; }
.modal-title-note { margin-left: 8px; font-family: var(--font-body); font-size: var(--text-sm); font-weight: 600; color: var(--text-subtle); }
.modal-lead { margin-top: 12px; font-size: 16px; line-height: 1.55; color: var(--text-desc); }
.modal-sub { margin-top: 22px; font-family: var(--font-body); font-size: 12px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-subtle); }
.modal-steps { margin-top: var(--s2); padding-left: 20px; font-size: var(--text-sm); line-height: 1.55; color: var(--text-desc); }
.modal-steps li + li { margin-top: 6px; }
.modal-link { display: inline-flex; align-items: center; gap: 6px; margin-top: var(--s2); color: var(--eyebrow); font-weight: 600; text-underline-offset: 3px; }
.modal-offers .price-box-list { margin-top: var(--s2); }

/* On phones the modal is a sheet from the bottom. */
@keyframes sheet-in { from { opacity: 0; transform: translateY(40px); } }
@media (max-width: 700px) {
  .modal { width: 100%; max-width: 100%; max-height: 88dvh; margin: auto 0 0; border-radius: var(--radius-card) var(--radius-card) 0 0; }
  .modal[open] { animation-name: sheet-in; }
  .modal-body { max-height: 88dvh; padding: 22px 18px calc(24px + env(safe-area-inset-bottom)); }
  .modal-title { font-size: 24px; }
}

/* Score explanation (components/score-explain.php, score-method.php) ------ */

.field { margin-top: 20px; }
.field-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s1); font-size: 14px; }
.field-head span { color: var(--text-muted); }
.field-track { position: relative; height: 34px; margin-top: 8px; border-radius: 8px; background: var(--hover-soft); }
.field-dot { position: absolute; top: calc(5px + var(--row) * 8px); width: 8px; height: 8px; margin-left: -4px; border-radius: 50%; background: #c9c8c0; }
.field-me { position: absolute; top: 8px; width: 18px; height: 18px; margin-left: -9px; border-radius: 50%; background: var(--eyebrow); box-shadow: 0 0 0 3px var(--surface), 0 2px 5px rgba(23, 23, 23, 0.3); }
.field-me.is-estimated { background: #a9a8a0; }
.field-axis { display: flex; justify-content: space-between; margin-top: 4px; font-size: 12px; color: var(--text-subtle); }

.parts { width: 100%; margin-top: 20px; border-collapse: collapse; font-size: var(--text-sm); }
.parts thead th, .parts thead td { padding-bottom: 8px; border-bottom: 1px solid var(--line); font-size: 12px; font-weight: 700; letter-spacing: 0.05em; text-align: right; text-transform: uppercase; color: var(--text-subtle); }
.parts thead th:first-child { text-align: left; }
.parts tbody th, .parts tbody td { padding: 10px 0; border-bottom: 1px solid var(--hover-soft); vertical-align: middle; }
.parts tbody th { font-weight: 400; text-align: left; }
.parts-name { display: block; color: var(--text-muted); }
.parts-name strong { color: var(--ink); }
.parts-note { display: block; font-size: 12px; color: var(--text-subtle); }
.parts-bar { width: 96px; padding-inline: 12px !important; }
.parts-bar > span { display: block; height: 8px; border-radius: 4px; }
.parts-fill { background: var(--eyebrow); }
.parts-fill.is-mid { background: #8fb89a; }
.parts-fill.is-low { background: #e8a093; }
.parts-num { width: 44px; text-align: right; white-space: nowrap; }
.parts tfoot th, .parts tfoot td { padding-top: 10px; text-align: left; }
.parts tfoot .parts-num { text-align: right; }

.weights { margin-top: 8px; }
.weights li { display: grid; grid-template-columns: 130px minmax(0, 1fr) 44px; align-items: center; gap: 10px; padding: 6px 0; font-size: var(--text-sm); }
.weights-bar { height: 8px; border-radius: 4px; background: #ebeae3; }
.weights-bar span { display: block; height: 100%; border-radius: 4px; background: var(--eyebrow); }
.weights strong { text-align: right; }

@media (max-width: 480px) {
  .parts-bar { width: 56px; padding-inline: 8px !important; }
}

/* Product media ----------------------------------------------------------- */

.product-media {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--radius-inner);
}
/* Cutouts (transparent, trimmed) sit on the pastel tile with breathing room. */
.product-media img { width: 100%; height: 100%; object-fit: contain; padding: 10%; filter: var(--shadow-product); }
.product-media--thumb img { padding: 7%; filter: var(--shadow-product-sm); }
/* Unprocessed source photos have their own white background: show them on white, never tinted. */
.product-media--raw { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); }
.product-media--raw img { padding: 4%; filter: none; }
.product-media-placeholder { width: 58%; aspect-ratio: 1; border-radius: 50%; background: rgba(255, 255, 255, 0.7); }
.product-media--thumb { width: 72px; height: 72px; }
.product-media--card { aspect-ratio: 4 / 3; }
.product-media--large { aspect-ratio: 1; border-radius: 14px; }

/* Chips used on cards ----------------------------------------------------- */

.role-chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--accent-ink);
  font-size: var(--text-xs);
  font-weight: 700;
}
/* Strength (no role): same shape, quieter, so a role still reads as the distinction. */
.role-chip--soft { background: var(--surface); box-shadow: inset 0 0 0 1px var(--line); color: var(--text-subtle); font-weight: 600; }
.role-pills { display: inline-flex; flex-wrap: wrap; gap: 6px; }
.rank-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--inverse-ink);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
}

/* Prose (editor content) ------------------------------------------------- */

.prose > * + * { margin-top: var(--s2); }
.prose > h2 { margin-top: var(--s6); font-size: 38px; }
.prose > h3 { margin-top: var(--s4); font-size: 24px; font-weight: 500; }
.prose > p, .prose > ul > li, .prose > ol > li { max-width: 72ch; }
.prose > ul, .prose > ol { padding-left: 1.2em; }
.prose > p a, .prose > ul a, .prose > ol a { color: var(--eyebrow); text-underline-offset: 3px; }

.block-empty { padding: var(--s2); border: 1px dashed var(--line-strong); border-radius: var(--radius-inner); color: var(--text-subtle); }

/* The dialog focuses its content (autofocus), not the close button; no ring on a scroll box. */
.modal-body:focus { outline: none; }
@media (max-width: 480px) {
  .offer-row--primary .offer-row-price { font-size: var(--text-md); }
  .offer-row-end { gap: 8px; }
}

/* Search suggestions (assets/js/search.js) --------------------------------- */

.search { position: relative; }
.suggest {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 60;
  max-height: min(70vh, 560px);
  overflow-y: auto;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 18px 40px -14px rgba(23, 23, 23, 0.24), 0 0 1px 1px rgba(23, 23, 23, 0.05);
  text-align: left;
}
.suggest-head { padding: 10px 10px 4px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--eyebrow); }
.suggest-note { padding: 10px; font-size: 15px; color: var(--text-muted); }
.suggest-row { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; color: var(--ink); text-decoration: none; }
.suggest-row:hover, .suggest-row[aria-selected="true"] { background: var(--hover-soft); }
.suggest-thumb { display: flex; flex: none; align-items: center; justify-content: center; width: 44px; height: 44px; overflow: hidden; border-radius: 10px; }
.suggest-thumb img { width: 100%; height: 100%; object-fit: contain; }
.suggest-thumb.is-raw { background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.suggest-icon { display: flex; flex: none; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 10px; background: var(--score-bg); }
.suggest-main { display: flex; flex: 1; flex-direction: column; min-width: 0; }
.suggest-name { overflow: hidden; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.suggest-sub { font-size: 13px; color: var(--text-subtle); }
.suggest-score { flex: none; padding: 2px 8px; border-radius: 8px; background: var(--score-bg); font-size: 14px; font-weight: 600; }
.suggest-all { font-weight: 600; color: var(--eyebrow); }
.suggest-name b { font-weight: 800; }
.suggest-row--all { position: sticky; bottom: -8px; margin: 4px -8px -8px; padding: 14px 18px; border-radius: 0 0 20px 20px; border-top: 1px solid var(--line); background: var(--surface); }
.suggest-row--all:hover, .suggest-row--all[aria-selected="true"] { background: var(--hover-soft); }
@media (max-width: 700px) {
  .suggest { max-height: 70dvh; }
  .suggest-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; white-space: normal; line-height: 1.3; }
}
