/* AIMetadata.tech – calm, premium, Apple/Google-inspired. Dark is the locked default; light is opt-in. */
:root {
  --bg: #050506;
  --card: #111113;
  --card-2: #1b1b1e;
  --card-3: #26262a;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.2);
  --text: #f5f5f7;
  --text-2: #a9a9b0;
  --accent: #5aaeff;
  --ok: #34d17a;
  --ok-bg: rgba(52, 209, 122, 0.14);
  --warn: #ffb340;
  --btn-bg: #f5f5f7;
  --btn-fg: #08080a;
  --glow: rgba(255, 255, 255, 0.07);
  --glow-2: rgba(90, 174, 255, 0.09);
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.05) inset, 0 18px 50px rgba(0, 0, 0, 0.45);
  --grad-a: #ffffff;
  --grad-b: #9d9da6;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI Variable", "Segoe UI", Roboto, "Helvetica Neue", Arial, system-ui, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --r: 22px;
  --r-sm: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  color-scheme: dark;
}
:root[data-theme="light"] {
  --bg: #f4f4f7;
  --card: #ffffff;
  --card-2: #f0f0f4;
  --card-3: #e4e4ea;
  --line: rgba(0, 0, 0, 0.09);
  --line-strong: rgba(0, 0, 0, 0.22);
  --text: #16161a;
  --text-2: #5a5a63;
  --accent: #0a5fc4;
  --ok: #17803f;
  --ok-bg: rgba(23, 128, 63, 0.12);
  --warn: #8a4f00;
  --btn-bg: #16161a;
  --btn-fg: #ffffff;
  --glow: rgba(0, 0, 0, 0.04);
  --glow-2: rgba(10, 95, 196, 0.08);
  --shadow: 0 1px 0 rgba(255, 255, 255, 0.8) inset, 0 14px 40px rgba(20, 20, 40, 0.08);
  --grad-a: #16161a;
  --grad-b: #5a5a66;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
/* Lenis smooth scroll takes over from native smooth scrolling */
html.lenis, html.lenis body { scroll-behavior: auto !important; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 16px; }
body { font-family: var(--font); background: var(--bg); color: var(--text); line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden; min-height: 100vh; position: relative; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
.skip-link { position: absolute; left: 12px; top: -64px; z-index: 50; background: var(--btn-bg); color: var(--btn-fg); padding: 10px 16px; border-radius: 99px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: 12px; }
.noscript { padding: 16px; text-align: center; }

/* Soft ambient light behind the page */
.bg-glow { position: absolute; inset: 0 0 auto 0; height: 720px; pointer-events: none; z-index: 0;
  background: radial-gradient(60% 55% at 50% 0%, var(--glow), transparent 70%), radial-gradient(40% 40% at 85% 10%, var(--glow-2), transparent 70%); }
.top, main, .foot { position: relative; z-index: 1; }

/* ---------- Header ---------- */
.top { max-width: 1080px; margin: 0 auto; padding: max(14px, env(safe-area-inset-top)) 20px 6px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 650; letter-spacing: -0.01em; white-space: nowrap; }
.brand-mark { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 10px; background: var(--card-2); border: 1px solid var(--line); }
.dim { color: var(--text-2); font-weight: 400; }
.top-nav { display: flex; align-items: center; gap: 2px; }
.navlink { color: var(--text-2); text-decoration: none; font-size: 0.92rem; padding: 10px 12px; border-radius: 99px; white-space: nowrap; transition: color 0.15s, background 0.15s; }
.navlink:hover { color: var(--text); background: var(--card-2); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 24px; border: 1px solid var(--line-strong); border-radius: 99px; background: transparent; color: var(--text); font: 600 0.97rem var(--font); cursor: pointer; white-space: nowrap; transition: transform 0.2s var(--ease), background 0.2s, box-shadow 0.2s, opacity 0.2s; }
.btn:hover:not(:disabled) { background: var(--card-2); }
.btn:active:not(:disabled) { transform: scale(0.975); }
.btn.primary { background: var(--btn-bg); color: var(--btn-fg); border-color: transparent; box-shadow: 0 6px 24px rgba(255, 255, 255, 0.08); }
:root[data-theme="light"] .btn.primary { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18); }
.btn.primary:hover:not(:disabled) { background: var(--btn-bg); transform: translateY(-1px); box-shadow: 0 10px 30px rgba(255, 255, 255, 0.14); }
:root[data-theme="light"] .btn.primary:hover:not(:disabled) { box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24); }
.btn:disabled { opacity: 0.38; cursor: not-allowed; box-shadow: none; }
.btn.big { width: 100%; min-height: 54px; font-size: 1.02rem; }
.icon-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; flex: none; border: 0; border-radius: 50%; background: transparent; color: var(--text-2); cursor: pointer; transition: background 0.15s, color 0.15s; }
.icon-btn:hover { background: var(--card-2); color: var(--text); }
#themeToggle .icon-sun { display: none; }
:root[data-theme="light"] #themeToggle .icon-sun { display: block; }
:root[data-theme="light"] #themeToggle .icon-moon { display: none; }
.link { background: none; border: 0; color: var(--accent); font: 600 0.92rem var(--font); cursor: pointer; padding: 8px 12px; min-height: 44px; border-radius: 99px; }
.link:hover { background: var(--card-2); }
.link.confirm { color: var(--warn); }

/* ---------- Hero ---------- */
main { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.hero { text-align: center; padding: clamp(28px, 6vw, 64px) 0 clamp(22px, 4vw, 36px); max-width: 760px; margin: 0 auto; }
h1 { font-size: clamp(2.1rem, 6.4vw, 3.6rem); line-height: 1.05; font-weight: 750; letter-spacing: -0.04em; text-wrap: balance; }
.grad { background: linear-gradient(180deg, var(--grad-a), var(--grad-b)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sub { color: var(--text-2); font-size: clamp(1.02rem, 2.6vw, 1.2rem); margin-top: 14px; text-wrap: balance; }

/* ---------- Tool ---------- */
.tool { display: grid; gap: 16px; grid-template-columns: minmax(0, 1fr); max-width: 720px; margin: 0 auto; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; box-shadow: var(--shadow); min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.step { display: flex; align-items: center; gap: 10px; font-size: 1.02rem; font-weight: 650; letter-spacing: -0.015em; }
.num { display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: var(--card-3); color: var(--text); font-size: 0.8rem; font-weight: 700; flex: none; }
.controls .step:not(:first-child) { margin-top: 6px; }

.dropzone { position: relative; border: 1.5px dashed var(--line-strong); border-radius: var(--r-sm); padding: 28px 16px 22px; display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; cursor: pointer; background: var(--card-2); transition: border-color 0.2s, background 0.2s, transform 0.25s var(--ease), box-shadow 0.25s; }
.dropzone:hover { border-color: var(--text-2); }
.dropzone:hover .drop-orb { transform: translateY(-3px); }
body.dragging .dropzone { border-color: var(--accent); background: var(--card-3); transform: scale(1.01); box-shadow: 0 0 0 6px var(--glow-2); }
.drop-orb { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--card-3); color: var(--text); transition: transform 0.3s var(--ease); }
.drop-actions { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; width: 100%; }
.hint { color: var(--text-2); font-size: 0.86rem; }
kbd { font: 0.74rem var(--mono); background: var(--card-3); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; }

.chips { border: 0; min-width: 0; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; display: inline-flex; cursor: pointer; }
.chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 99px; font-size: 0.92rem; font-weight: 550; color: var(--text-2); transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease); }
.chip:hover span { border-color: var(--text-2); color: var(--text); }
.chip:active span { transform: scale(0.96); }
.chip input:checked + span { background: var(--btn-bg); color: var(--btn-fg); border-color: transparent; }
.chip input:checked + span::before { content: "✓"; font-size: 0.82em; font-weight: 800; }
.chip input:indeterminate + span { border-color: var(--accent); color: var(--text); }
.chip input:indeterminate + span::before { content: "–"; }
.chip input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.chip input:disabled { cursor: not-allowed; }
.chip input:disabled + span { opacity: 0.45; }
.pick-note { color: var(--text-2); font-size: 0.84rem; margin-top: 10px; }

.opts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; align-items: end; }
.opt-chips { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; }
.opts > label:not(.chip) { display: flex; flex-direction: column; gap: 6px; font-size: 0.74rem; font-weight: 650; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-2); min-width: 0; }
select { font: 0.95rem var(--font); letter-spacing: 0; text-transform: none; font-weight: 450; min-height: 46px; padding: 0 12px; background: var(--card-2); color: var(--text); border: 1px solid var(--line-strong); border-radius: 14px; width: 100%; }
.remember { color: var(--text-2); font-size: 0.8rem; text-align: center; }

/* ---------- Results ---------- */
.queue-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 36px; }
.head-actions { display: flex; align-items: center; flex: none; }
.head-actions .link { padding: 8px 8px; white-space: nowrap; }
.queue-head .step { min-width: 0; white-space: nowrap; }
.progress { height: 5px; border-radius: 99px; background: var(--card-3); overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, var(--accent), var(--ok)); transition: width 0.35s var(--ease); }
.removed-sum { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--ok-bg); color: var(--text); font-size: 0.92rem; animation: pop 0.5s var(--ease); }
.removed-sum svg { flex: none; color: var(--ok); margin-top: 1px; }
.removed-sum b { font-weight: 650; }

.empty { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; color: var(--text-2); padding: 6px 0 4px; font-size: 0.95rem; }
.example { width: 100%; display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px dashed var(--line-strong); border-radius: var(--r-sm); opacity: 0.8; text-align: left; }
.ex-thumb { width: 48px; height: 48px; border-radius: 12px; flex: none; background: linear-gradient(135deg, #ff9966, #ff5e62 45%, #7a5cff); }
.ex-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; color: var(--text); font-size: 0.92rem; }
.ex-tags { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; font-size: 0.72rem; color: var(--text-2); }
.ex-tags u { text-decoration: none; font-weight: 650; padding: 1px 8px; border-radius: 99px; background: var(--card-3); color: var(--text); }
.ex-tags i { font-style: normal; margin-right: 2px; }
.ex-badge { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-2); border: 1px solid var(--line-strong); border-radius: 99px; padding: 2px 8px; }

.list { list-style: none; }
.mosaic { display: grid; grid-template-columns: repeat(auto-fill, minmax(58px, 1fr)); gap: 8px; }
.tile { position: relative; display: block; aspect-ratio: 1; }
.tile img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; background: var(--card-3); display: block; }
.tile .badge { right: -4px; bottom: -4px; width: 20px; height: 20px; }
.badge.bad { background: var(--warn); color: #fff; font-size: 0.75rem; font-weight: 800; }
.tile-spin { position: absolute; inset: 0; display: none; place-items: center; border-radius: 12px; background: rgba(0, 0, 0, 0.45); }
.tile[data-state="cleaning"] .tile-spin { display: grid; }
.tile .badge { opacity: 0; transform: scale(0.5); transition: opacity 0.18s var(--ease), transform 0.18s var(--ease); }
.tile[data-state="done"]:not(.off) .badge.on,
.tile[data-state="done"].off .badge.off,
.tile[data-state="error"] .badge.bad { opacity: 1; transform: none; }
button.tile:disabled { cursor: default; }
button.tile:disabled:hover { transform: none; }
.tile-spin .spinner { margin: 0; width: 18px; height: 18px; border-color: rgba(255, 255, 255, 0.4); border-top-color: #fff; }
.list-tools { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: -6px 0 -6px; }
.list-tools .link { white-space: nowrap; }
.list-tools #btnDetails { margin-left: -10px; }
.list-tools #btnSelectAll { margin-left: auto; margin-right: -10px; }
button.tile { border: 0; padding: 0; background: none; border-radius: 12px; font: inherit; color: inherit; cursor: pointer; transition: transform 0.18s var(--ease); }
button.tile:hover { transform: scale(1.05); }
button.tile:active { transform: scale(0.95); }
button.tile img { transition: opacity 0.2s, filter 0.2s; }
button.tile.off img { opacity: 0.35; filter: grayscale(1); }
button.tile:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.badge.off { background: var(--card); box-shadow: inset 0 0 0 2px var(--line-strong); }
.row-check { display: grid; place-items: center; width: 36px; height: 44px; flex: none; margin-left: -6px; cursor: pointer; }
.row-check input { width: 20px; height: 20px; accent-color: var(--ok); cursor: pointer; }
.row { display: flex; align-items: center; gap: 12px; padding: 12px 0; min-width: 0; }
.row + .row { border-top: 1px solid var(--line); }
.thumb-wrap { position: relative; flex: none; width: 56px; height: 56px; }
.thumb { width: 100%; height: 100%; border-radius: 14px; object-fit: cover; background: var(--card-3); }
.badge { position: absolute; right: -5px; bottom: -5px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--ok); color: #fff; border: 2px solid var(--card); }
.rinfo { display: flex; flex-direction: column; gap: 4px; min-width: 0; flex: 1; }
.name { font-weight: 600; font-size: 0.96rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; color: var(--text-2); font-size: 0.78rem; }
.meta.bad { color: var(--warn); }
.tag { font-size: 0.72rem; font-weight: 650; padding: 2px 9px; border-radius: 99px; background: var(--card-3); color: var(--text); }
.tag.kept { background: transparent; border: 1px solid var(--line-strong); color: var(--text-2); font-weight: 500; }
.sz { font-family: var(--mono); font-size: 0.72rem; margin-left: auto; }
.actions { display: flex; align-items: center; flex: none; }
.actions .dl { color: var(--accent); }
.spinner { width: 22px; height: 22px; margin: 0 12px; border: 2.5px solid var(--line-strong); border-top-color: var(--text); border-radius: 50%; animation: spin 0.8s linear infinite; }
.results-foot { display: flex; flex-direction: column; gap: 10px; position: sticky; bottom: max(12px, env(safe-area-inset-bottom)); z-index: 2; background: linear-gradient(180deg, transparent, var(--card) 26%); padding-top: 16px; margin-top: -8px; }
.foot-btns { display: flex; flex-direction: column; gap: 10px; }
.status { min-height: 1.35em; color: var(--text-2); font-size: 0.9rem; text-align: center; }

/* ---------- Trust + content ---------- */
.trust { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; max-width: 900px; margin: clamp(32px, 6vw, 56px) auto 0; }
.trust li { display: flex; flex-direction: column; gap: 2px; padding: 16px; border-radius: var(--r-sm); background: var(--card); border: 1px solid var(--line); }
.trust b { font-size: 1rem; letter-spacing: -0.01em; }
.trust span { color: var(--text-2); font-size: 0.84rem; }

.info { max-width: 760px; margin: clamp(56px, 9vw, 96px) auto 0; scroll-margin-top: 16px; }
.info h2 { font-size: clamp(1.45rem, 4.6vw, 2rem); font-weight: 720; letter-spacing: -0.03em; margin-bottom: 12px; text-wrap: balance; }
.lead { color: var(--text-2); margin-bottom: 18px; font-size: 1.05rem; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; }
.mini { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 16px; }
.mini h3 { font-size: 1rem; margin-bottom: 4px; letter-spacing: -0.01em; }
.mini p { color: var(--text-2); font-size: 0.9rem; }
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 20px 12px; text-align: center; display: flex; flex-direction: column; gap: 8px; font-weight: 600; }
.steps b { display: grid; place-items: center; width: 34px; height: 34px; margin: 0 auto; border-radius: 50%; background: var(--card-3); font-size: 1rem; }
.faq { background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.faq details + details { border-top: 1px solid var(--line); }
.faq summary { padding: 16px 20px; cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; min-height: 56px; align-items: center; transition: background 0.15s; }
.faq summary:hover { background: var(--card-2); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--text-2); font-weight: 400; font-size: 1.4rem; line-height: 1; transition: transform 0.25s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 20px 18px; color: var(--text-2); }
.foot { max-width: 760px; margin: 72px auto 0; padding: 22px 20px max(30px, env(safe-area-inset-bottom)); color: var(--text-2); font-size: 0.85rem; text-align: center; border-top: 1px solid var(--line); }

/* ---------- Motion ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes pop { 0% { opacity: 0; transform: scale(0.6); } 60% { transform: scale(1.08); } 100% { opacity: 1; transform: none; } }
.rise { animation: rise 0.7s var(--ease) both; }
.hero h1 { animation-delay: 0.04s; } .hero .sub { animation-delay: 0.1s; } .tool.rise { animation-delay: 0.2s; }

/* ---------- Tablet portrait (≈600–959): roomy single column ---------- */
@media (min-width: 600px) {
  .card { padding: 24px; }
  .tool { max-width: 680px; }
}
/* ---------- Tablet landscape / desktop: two columns ---------- */
@media (min-width: 960px) {
  .tool { max-width: 1040px; grid-template-columns: minmax(380px, 460px) minmax(0, 1fr); align-items: start; gap: 20px; }
  .trust { max-width: 1040px; }
}
/* ---------- Phones ---------- */
@media (max-width: 599px) {
  main { padding: 0 14px; }
  .top { padding-left: 14px; padding-right: 14px; }
  .card { padding: 16px; border-radius: 20px; }
  .hero { padding-top: 22px; }
  .dropzone { padding: 22px 12px 18px; }
  .drop-actions .btn { flex: 1 1 0; }
  .chip span { min-height: 42px; padding: 0 14px; }
  /* Dropdowns get the full width so their text is never cut off; Keep colors sits on its own row */
  .trust { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps li { flex-direction: row; text-align: left; align-items: center; padding: 14px 16px; }
  .steps b { margin: 0; flex: none; }
  .sz { display: none; }
}
@media (max-width: 380px) {
  .navlink { display: none; }
  .chip span { padding: 0 12px; font-size: 0.88rem; }
}
@media (max-width: 480px) { .navlink.hide-s { display: none; } }
/* Short landscape phones */
@media (max-height: 480px) and (orientation: landscape) { .hero { padding-top: 12px; } h1 { font-size: 1.7rem; } }

@media (forced-colors: active) {
  .chip input:checked + span { outline: 2px solid Highlight; }
  .btn, .dropzone, .card { border: 1px solid CanvasText; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0s !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* Gallery-style selecting: no long-press image menu, no text selection, no ghost-drag */
.tile, .tile img { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-user-drag: none; }
.tile img { pointer-events: none; }
body.selecting { -webkit-user-select: none; user-select: none; cursor: grabbing; }
.tip { color: var(--text-2); font-size: 0.82rem; margin: -4px 0 0; }

/* "What was inside" — real values found in each photo, shown only when asked */
.facts { margin-top: 4px; font-size: 0.8rem; }
.facts summary { cursor: pointer; color: var(--accent); width: fit-content; list-style: none; padding: 4px 0; min-height: 28px; }
.facts summary::-webkit-details-marker { display: none; }
.facts summary::after { content: " ▾"; }
.facts[open] summary::after { content: " ▴"; }
.facts ul { list-style: none; display: flex; flex-direction: column; gap: 4px; padding: 8px 10px; border-radius: 12px; background: var(--card-2); margin-top: 2px; }
.facts li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.fact-k { color: var(--text-2); min-width: 64px; }
.fact-v { color: var(--text); overflow-wrap: anywhere; flex: 1; }
.fact-gone, .fact-kept { font-size: 0.68rem; font-weight: 700; padding: 1px 7px; border-radius: 99px; }
.fact-gone { background: var(--ok-bg); color: var(--ok); }
.fact-kept { border: 1px solid var(--line-strong); color: var(--text-2); }
.removed-sum small { display: block; margin-top: 4px; color: var(--text-2); font-size: 0.84rem; }

/* Install app button (only shown when the browser offers it) */
.install-btn { min-height: 36px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line-strong); background: transparent; color: var(--text); font: 600 0.85rem var(--font); cursor: pointer; margin-right: 4px; }
.install-btn:hover { background: var(--card-2); }
/* keep the thumbnail and buttons at the top when the details are open */
.row:has(.facts[open]) { align-items: flex-start; }
