/* Product cards — section accent, gallery, wizard. Sidebar tile is always dark; the sheet follows the theme. */

.crd-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 2px 0 8px;
  padding: 8px 8px 8px 11px;
  border-radius: 10px;
  text-decoration: none;
  flex: none;
  color: #f4f2f8;
  background: #1c1a24;
  border: 1px solid #3c3848;
  border-left: 3px solid #ff9f5a;
}
.appside .crd-nav:hover { background: #26222c; color: #fff; }
.appside .crd-nav.on,
.appside .crd-nav.on:hover { background: rgba(255, 159, 90, .14); border-color: #ff9f5a; color: #fff; }
.msheet .crd-nav {
  margin: 0 0 12px;
  background: #fff8f3;
  border: 1px solid rgba(232, 89, 12, .28);
  border-left: 3px solid #e8590c;
  color: #1c1410;
}
.msheet .crd-nav:hover,
.msheet .crd-nav.on { background: #fff1e4; color: #1c1410; }
html[data-theme="dark"] .msheet .crd-nav {
  background: #2a211c;
  border-color: rgba(255, 159, 90, .35);
  border-left-color: #ff9f5a;
  color: #f6efe8;
}
html[data-theme="dark"] .msheet .crd-nav:hover,
html[data-theme="dark"] .msheet .crd-nav.on { background: rgba(255, 159, 90, .16); color: #fff; }
.crd-nav-ico {
  width: 36px; height: 36px; border-radius: 8px; flex: none;
  display: grid; place-items: center;
  background: rgba(255, 159, 90, .16); color: #ffb07a;
}
.msheet .crd-nav-ico { background: rgba(194, 65, 12, .1); color: #9a3412; }
html[data-theme="dark"] .msheet .crd-nav-ico { background: rgba(255, 159, 90, .16); color: #ffb07a; }
.crd-nav-ico .ico { width: 18px; height: 18px; }
.crd-nav-tx { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.crd-nav-top { display: flex; align-items: baseline; gap: 6px; min-width: 0; flex-wrap: wrap; }
.crd-nav-top b { font-size: 13px; font-weight: 800; letter-spacing: -0.01em; line-height: 1.25; }
.crd-nav small {
  display: flex; align-items: center; gap: 6px;
  color: #b7b3c2; font-size: 11px; font-weight: 700; line-height: 1.3;
}
.msheet .crd-nav small { color: #6f564c; }
html[data-theme="dark"] .msheet .crd-nav small { color: #d9c7bc; }
.crd-new {
  font-style: normal; font-weight: 800; font-size: 11px; letter-spacing: .04em;
  color: #e2b93b; background: none; border: 0; padding: 0; border-radius: 0;
}
.msheet .crd-new { color: #8a6414; }
html[data-theme="dark"] .msheet .crd-new { color: #e2b93b; }
.crd-dots { display: inline-flex; gap: 3px; flex: none; }
.crd-dots i { width: 7px; height: 7px; border-radius: 2px; display: block; }
.crd-dots .wb, .crd-sq.wb { background: #cb11ab; }
.crd-dots .oz, .crd-sq.oz { background: #005bff; }
.crd-dots .ym, .crd-sq.ym { background: #ffcc00; }
.crd-dots .av, .crd-sq.av { background: #00aaff; }

.crd {
  --crd-amber: #c2410c;
  --crd-amber-ink: #9a3412;
  --crd-soft: #fff6ee;
  --crd-line: #f0e2d6;
  --crd-card: #ffffff;
  --crd-muted: #6f564c;
  --crd-shadow: 0 18px 44px rgba(80, 40, 10, .08);
  color: var(--text);
  padding-bottom: 12px;
}
html[data-theme="dark"] .crd {
  --crd-amber: #ff9f5a;
  --crd-amber-ink: #ffc89a;
  --crd-soft: #2a211c;
  --crd-line: #3d312a;
  --crd-card: #1c1816;
  --crd-muted: #d9c7bc;
  --crd-shadow: 0 18px 44px rgba(0, 0, 0, .35);
}
.crd-tool { padding-bottom: 8px; }
.crd h1 { font-size: clamp(1.7rem, 3.4vw, 2.35rem); line-height: 1.12; letter-spacing: -0.035em; margin: 0 0 8px; font-weight: 800; }
.crd h2 { font-size: 1.28rem; line-height: 1.2; letter-spacing: -0.03em; margin: 0 0 8px; font-weight: 800; }
.crd p { margin: 0; }
.crd-lead { max-width: 40rem; color: var(--crd-muted); font-size: 1.02rem; line-height: 1.55; }
.crd-kicker {
  display: flex; align-items: center; gap: 8px; margin: 0 0 10px;
  font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--crd-amber-ink);
}
.crd-hero {
  position: relative;
  padding: 22px 22px 18px;
  margin: 8px 0 22px;
  border: 1px solid var(--crd-line);
  border-radius: 16px;
  background:
    radial-gradient(520px 160px at 0% 0%, rgba(255, 159, 90, .2), transparent 70%),
    radial-gradient(380px 140px at 100% 0%, rgba(203, 17, 171, .08), transparent 72%),
    var(--crd-card);
}
.crd-hero-row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px; margin-top: 16px; }
.crd-price { display: flex; flex-direction: column; gap: 2px; }
.crd-price b { font-size: 1.2rem; letter-spacing: -0.03em; }
.crd-price span { color: var(--crd-muted); font-size: 13px; font-weight: 700; }
.crd a:not(.btn) { color: var(--crd-amber-ink); font-weight: 800; text-underline-offset: 3px; }
.crd a:not(.btn):hover { text-decoration: underline; }

.crd-show { margin: 0 0 28px; }
.crd-show-head { margin-bottom: 14px; }
.crd-show-head p { color: var(--crd-muted); margin-top: 4px; }
.crd-show-stage {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  gap: 8px;
  align-items: center;
}
.crd-show-glow {
  position: absolute; left: 50%; top: 46%; width: 240px; height: 240px;
  transform: translate(-50%, -50%); border-radius: 50%;
  filter: blur(48px); opacity: .5; background: #ffc89a; pointer-events: none;
}
.crd-show[data-mp="wb"] .crd-show-glow { background: #f3a6e4; }
.crd-show[data-mp="ozon"] .crd-show-glow { background: #a9c0ff; }
.crd-show[data-mp="ym"] .crd-show-glow { background: #ffe08a; }
.crd-show[data-mp="avito"] .crd-show-glow { background: #9ad8ff; }
html[data-theme="dark"] .crd-show-glow { opacity: .28; }
.crd-show-frame, .crd-show-nav { position: relative; z-index: 1; }
.crd-show-nav {
  width: 44px; height: 44px; border-radius: 10px; border: 1px solid var(--crd-line);
  background: var(--crd-card); color: var(--text); display: grid; place-items: center; cursor: pointer;
}
.crd-show-nav:hover { border-color: var(--crd-amber); color: var(--crd-amber-ink); }
.crd-show-nav.prev .ico { transform: scaleX(-1); }
.crd-show-nav .ico { width: 18px; height: 18px; }
.crd-shot { display: none; width: min(100%, 380px); margin: 0 auto; }
.crd-shot.on { display: block; animation: crd-rise .35s ease; }
.crd-shot figcaption { display: flex; flex-direction: column; align-items: center; gap: 2px; margin-top: 12px; text-align: center; }
.crd-shot figcaption b { font-size: 1.05rem; letter-spacing: -0.02em; }
.crd-shot figcaption small { color: var(--crd-muted); font-weight: 700; }
.crd-mpchip { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; color: var(--crd-muted); }
.crd-mpchip i, .crd-sq { width: 8px; height: 8px; border-radius: 2px; display: inline-block; }
.crd-sq { width: 22px; height: 22px; border-radius: 4px; flex: none; }
.crd-frame {
  position: relative; width: 100%; overflow: hidden; border-radius: 12px;
  background: #f6f1ea; box-shadow: var(--crd-shadow);
}
.crd-frame[data-ratio="3:4"] { aspect-ratio: 3 / 4; }
.crd-frame[data-ratio="1:1"] { aspect-ratio: 1 / 1; }
.crd-frame[data-ratio="4:3"] { aspect-ratio: 4 / 3; }
.crd-frame img, .crd-frame .crd-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.crd-rail {
  display: flex; gap: 8px; overflow-x: auto; padding: 14px 2px 4px;
  scroll-snap-type: x mandatory; scrollbar-width: none;
}
.crd-rail::-webkit-scrollbar { display: none; }
.crd-rail button {
  flex: none; width: 74px; padding: 0; border: 2px solid transparent; border-radius: 10px;
  background: none; cursor: pointer; scroll-snap-align: start; color: inherit;
}
.crd-rail button.on { border-color: var(--crd-amber); }
.crd-rail .crd-frame { border-radius: 8px; box-shadow: none; }
.crd-mosaic { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; margin-top: 18px; }
.crd-mosaic button {
  display: flex; flex-direction: column; gap: 6px; padding: 0; border: 0; background: none;
  text-align: left; font: inherit; color: inherit; cursor: pointer; min-width: 0;
}
.crd-mosaic .crd-frame { box-shadow: none; border: 1px solid var(--crd-line); border-radius: 10px; }
.crd-mosaic button:hover .crd-frame { border-color: var(--crd-amber); }
.crd-mosaic b { font-size: 13.5px; letter-spacing: -0.01em; }
.crd-mosaic small { color: var(--crd-muted); font-size: 12px; font-weight: 700; }

.crd-steps { display: none; gap: 4px; overflow-x: auto; margin: 0 0 16px; scrollbar-width: none; }
.crd-steps::-webkit-scrollbar { display: none; }
.crd[data-step="photo"] .crd-steps,
.crd[data-step="market"] .crd-steps,
.crd[data-step="look"] .crd-steps,
.crd[data-step="text"] .crd-steps,
.crd[data-step="review"] .crd-steps,
.crd[data-step="result"] .crd-steps { display: flex; }
.crd-steps button {
  border: 0; background: none; font: inherit; font-size: 12px; font-weight: 800;
  color: var(--crd-muted); padding: 6px 8px; border-radius: 4px; white-space: nowrap; cursor: pointer;
}
.crd-steps button.on { color: var(--crd-amber-ink); background: var(--crd-soft); }
.crd-steps button.is-done { color: var(--text); }
.crd-steps button:disabled { cursor: default; opacity: .55; }

.crd-panel { display: none; }
.crd[data-step="start"] [data-panel="start"],
.crd[data-step="photo"] [data-panel="photo"],
.crd[data-step="market"] [data-panel="market"],
.crd[data-step="look"] [data-panel="look"],
.crd[data-step="text"] [data-panel="text"],
.crd[data-step="review"] [data-panel="review"],
.crd[data-step="result"] [data-panel="result"] { display: block; animation: crd-rise .28s ease; }
.crd:not([data-step="start"]) .crd-hero,
.crd:not([data-step="start"]) .crd-show { display: none; }
.crd-panel-lead { color: var(--crd-muted); margin: 0 0 14px; }

.crd-how { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 8px 0 0; padding: 0; list-style: none; }
.crd-how li {
  padding: 12px 14px; border: 1px solid var(--crd-line); border-radius: 10px; background: var(--crd-card);
}
.crd-how b { display: block; color: var(--crd-amber-ink); font-size: 12px; letter-spacing: .06em; margin-bottom: 4px; }
.crd-layout { display: flex; flex-direction: column; }
.crd-stage { display: none; }
.crd[data-step="review"] .crd-stage,
.crd[data-step="result"] .crd-stage { display: block; order: -1; margin-bottom: 16px; }
.crd[data-step="result"] .crd-stage { display: none; }

.crd-drop {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px; min-height: 196px; padding: 22px 16px; text-align: center; cursor: pointer;
  border: 1.5px dashed #e7c4a8; border-radius: 10px;
  background: radial-gradient(120% 90% at 50% 0%, rgba(255, 159, 90, .18), transparent 62%), var(--crd-soft);
  transition: border-color .15s ease, background .15s ease;
}
html[data-theme="dark"] .crd-drop { border-color: #6a4c38; }
.crd-drop:hover, .crd-drop.is-hot { border-style: solid; border-color: var(--crd-amber); }
.crd-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.crd-drop .ico { width: 28px; height: 28px; color: var(--crd-amber-ink); margin-bottom: 4px; }
.crd-drop b { font-size: 1.02rem; }
.crd-drop small { color: var(--crd-muted); font-weight: 700; }
.crd-tips { margin-top: 10px; color: var(--crd-muted); font-size: 13.5px; }
.crd-quiet {
  margin-top: 14px; padding: 0; border: 0; background: none; cursor: pointer;
  color: var(--crd-amber-ink); font: inherit; font-weight: 800; text-underline-offset: 3px; text-decoration: underline;
}
.crd-note {
  margin-top: 10px; padding: 12px 14px; border-radius: 10px;
  background: var(--crd-soft); border: 1px solid var(--crd-line); font-size: 14px;
}
.crd-note strong { display: block; margin-bottom: 4px; }
.crd [hidden] { display: none !important; }
.crd-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.crd-thumbs figure {
  position: relative; width: 84px; height: 84px; margin: 0; border-radius: 8px; overflow: hidden;
  border: 1px solid var(--crd-line); background: var(--crd-soft);
}
.crd-thumbs img, .crd-thumbs .crd-ph { width: 100%; height: 100%; object-fit: cover; display: block; }
.crd-thumbs button {
  position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border: 0; border-radius: 4px;
  background: #fff; color: #1c1410; font-weight: 800; cursor: pointer; line-height: 1;
}

.crd-markets { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.crd-market, .crd-type {
  display: flex; align-items: center; gap: 10px; width: 100%; text-align: left;
  padding: 12px; border-radius: 10px; border: 2px solid var(--crd-line); background: var(--crd-card);
  color: inherit; font: inherit; cursor: pointer;
  transition: border-color .15s ease, background .15s ease;
}
.crd-market.on, .crd-type.on { border-color: var(--crd-amber); background: var(--crd-soft); }
.crd-type:not(button) { cursor: default; }
.crd-market b, .crd-type b { display: block; font-size: 14.5px; letter-spacing: -0.01em; }
.crd-market small, .crd-type small { display: block; color: var(--crd-muted); font-weight: 700; font-size: 12px; margin-top: 2px; }
.crd-market-tx, .crd-type-tx { min-width: 0; flex: 1; }
.crd-tick { width: 18px; height: 18px; color: var(--crd-amber-ink); opacity: 0; flex: none; }
.crd-tick .ico { width: 18px; height: 18px; }
.on .crd-tick { opacity: 1; }
.crd-types { display: grid; grid-template-columns: 1fr; gap: 8px; }
.crd-type { padding: 8px; }
.crd-type-pic { width: 72px; height: 72px; border-radius: 8px; overflow: hidden; flex: none; background: var(--crd-soft); position: relative; }
.crd-type-pic .crd-frame { height: 100%; border-radius: 0; box-shadow: none; }
.crd-type-pic .crd-frame[data-ratio] { aspect-ratio: auto; height: 100%; }
.crd-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.crd-chip {
  appearance: none; border: 1px solid var(--crd-line); background: var(--crd-card); color: var(--text);
  border-radius: 4px; padding: 7px 10px; font: inherit; font-size: 13px; font-weight: 700; cursor: pointer;
}
.crd-chip:hover { border-color: var(--crd-amber); }
.crd-chip.on { border-color: var(--crd-amber); background: var(--crd-soft); color: var(--crd-amber-ink); }
.crd-toggle { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: 14px; font-weight: 700; }
.crd-toggle input { width: 18px; height: 18px; margin-top: 2px; accent-color: #c2410c; flex: none; }
.crd-toggle small { display: block; font-weight: 600; color: var(--crd-muted); margin-top: 2px; }
.crd-field { display: flex; flex-direction: column; gap: 6px; margin: 14px 0; }
.crd-field > span { font-size: 13px; font-weight: 800; }
.crd input[type="text"], .crd textarea {
  width: 100%; font: inherit; font-size: 15px; line-height: 1.4; padding: 10px 12px;
  border-radius: 8px; border: 1px solid var(--crd-line); background: var(--crd-card); color: var(--text);
}
.crd textarea { min-height: 88px; resize: vertical; }
.crd input:focus-visible, .crd textarea:focus-visible, .crd button:focus-visible, .crd a:focus-visible, .crd-drop:focus-within {
  outline: 2px solid var(--crd-amber); outline-offset: 2px;
}
.crd-feats { display: flex; flex-direction: column; gap: 8px; }
.crd-add {
  align-self: flex-start; margin-top: 2px; border: 0; background: none; padding: 0; cursor: pointer;
  color: var(--crd-amber-ink); font: inherit; font-weight: 800;
}
.crd-fold { margin-top: 8px; border-top: 1px solid var(--crd-line); padding-top: 8px; }
.crd-fold > summary { cursor: pointer; font-weight: 800; color: var(--crd-amber-ink); list-style: none; padding: 6px 0; }
.crd-fold > summary::-webkit-details-marker { display: none; }
.crd-engine { display: flex; gap: 8px; align-items: center; padding: 8px 0; font-size: 14px; }
.crd-engine small { display: block; color: var(--crd-muted); font-weight: 700; }
.crd-engine input { accent-color: #c2410c; }

.crd-sum { display: flex; flex-direction: column; gap: 6px; }
.crd-sum button {
  display: grid; grid-template-columns: 92px minmax(0, 1fr) auto; gap: 8px; align-items: center;
  padding: 10px 12px; border-radius: 8px; border: 1px solid var(--crd-line); background: var(--crd-card);
  font: inherit; color: inherit; cursor: pointer; text-align: left;
}
.crd-sum button:hover { border-color: var(--crd-amber); }
.crd-sum span { color: var(--crd-muted); font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.crd-sum b { font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crd-sum em { font-style: normal; font-weight: 800; font-size: 13px; color: var(--crd-amber-ink); }
.crd-balance { margin-top: 10px; font-size: 14px; color: var(--crd-muted); font-weight: 700; }
.crd-spell { margin-top: 12px; font-size: 13.5px; color: var(--crd-muted); }
.crd-alert {
  margin: 10px 0; padding: 10px 12px; border-radius: 8px;
  background: #fde8e8; color: #7f1d1d; font-size: 14px; font-weight: 700;
}
html[data-theme="dark"] .crd-alert { background: #3a1c1c; color: #ffd4d4; }
.crd-status {
  margin: 10px 0; padding: 10px 12px; border-radius: 8px;
  background: #fff6eb; color: #9a3412; font-size: 14px; font-weight: 700;
  border: 1px solid #f0d3b0;
}
html[data-theme="dark"] .crd-status { background: #2a211c; color: #ffd7b0; border-color: #5a4636; }
.crd-warn { margin: 8px 0 0; font-size: 13px; color: var(--crd-muted); font-weight: 700; }
.crd-mock {
  background: var(--crd-card); border: 1px solid var(--crd-line); border-radius: 12px; padding: 12px;
  box-shadow: var(--crd-shadow);
}
.crd-mock-label { font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--crd-muted); margin-bottom: 8px; }
.crd-mock-canvas { position: relative; border-radius: 8px; overflow: hidden; background: #f3ece4; }
.crd-mock-canvas[data-ratio="3:4"] { aspect-ratio: 3 / 4; }
.crd-mock-canvas[data-ratio="1:1"] { aspect-ratio: 1 / 1; }
.crd-mock-canvas[data-ratio="4:3"] { aspect-ratio: 4 / 3; }
.crd-mock-canvas img, .crd-mock-canvas .crd-ph { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.crd-mock-copy {
  position: absolute; left: 7%; right: 7%; bottom: 6%;
  display: flex; flex-direction: column; gap: 3px;
  background: rgba(255, 255, 255, .9); color: #1c1410; border-radius: 4px; padding: 8px 10px;
}
.crd-mock-copy b { font-size: 14px; line-height: 1.25; letter-spacing: -0.02em; }
.crd-mock-copy ul { margin: 0; padding: 0; list-style: none; }
.crd-mock-copy li { font-size: 11px; font-weight: 700; }
.crd-mock-copy li::before { content: "· "; }
.crd-mock-badge {
  position: absolute; top: 8%; right: 7%;
  background: #c2410c; color: #fff; font-size: 11px; font-weight: 800;
  padding: 3px 6px; border-radius: 4px;
}
.crd-mock-tag {
  position: absolute; top: 8px; left: 8px;
  background: #fff; color: #1c1410; font-size: 10px; font-weight: 800; letter-spacing: .05em;
  text-transform: uppercase; border-radius: 4px; padding: 3px 6px;
}
.crd-mock-meta { display: flex; justify-content: space-between; gap: 8px; margin-top: 8px; font-size: 12px; font-weight: 700; color: var(--crd-muted); }
.crd-gennote { margin-top: 8px; font-size: 12.5px; color: var(--crd-muted); font-weight: 700; }

.crd-results { display: grid; gap: 16px; }
.crd-result { max-width: 420px; }
.crd-set .crd-result { max-width: none; }
.crd-result .crd-frame { box-shadow: var(--crd-shadow); }
.crd-result-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.crd-progress { margin: 8px 0 14px; }
.crd-progress-bar { height: 4px; background: var(--crd-line); border-radius: 4px; overflow: hidden; }
.crd-progress-bar > span { display: block; height: 100%; width: 0; background: #c2410c; transition: width .4s ease; }
.crd-progress p { margin-top: 8px; font-size: 14px; font-weight: 700; color: var(--crd-muted); }
.crd-fixes { margin-top: 16px; }
.crd-fixes > p, .crd-others > p { font-size: 13px; font-weight: 800; margin-bottom: 8px; }
.crd-others { margin-top: 14px; }
.crd-fallback { margin-top: 10px; font-size: 13.5px; font-weight: 700; }

.crd-table { width: 100%; border-collapse: collapse; font-size: 14.5px; margin: 8px 0 4px; }
.crd-table th, .crd-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--crd-line); vertical-align: top; }
.crd-table th { font-size: 12px; letter-spacing: .04em; text-transform: uppercase; color: var(--crd-muted); font-weight: 800; }
.crd-faq details { border-bottom: 1px solid var(--crd-line); }
.crd-faq summary { cursor: pointer; font-weight: 800; padding: 12px 0; }
.crd-faq details p { color: var(--crd-muted); padding-bottom: 12px; }
.crd-crumbs { font-size: 14px; color: var(--crd-muted); margin-bottom: 12px; }
.crd-crumbs a { font-weight: 700; }
.crd-block { margin: 28px 0; }
.crd-end { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 8px; }
.crd-made .crd-end { margin-top: 52px; }

.crd-bar {
  margin: 22px 0 28px;
  background: var(--surface);
  border: 1px solid var(--crd-line);
  border-radius: 16px;
  padding: 12px 0;
}
.crd-bar-in {
  max-width: 1240px; margin: 0 auto; padding: 0 20px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px;
}
.crd-bar [data-back],
.crd-bar [data-go] { width: auto; flex: 0 0 auto; min-height: 44px; }
.crd-bar [data-back] {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  box-shadow: none;
}
.crd-bar [data-go] { padding-inline: 22px; white-space: nowrap; }
.crd-bar-price { margin-left: auto; text-align: right; font-weight: 800; font-size: 14px; letter-spacing: -0.02em; }
.crd-bar-price small { display: block; font-weight: 700; color: var(--crd-muted); font-size: 11px; }
.crd-land .crd-bar { display: none; }
.crd-count-note { display: block; margin-top: 8px; color: var(--crd-muted); font-size: 13px; font-weight: 700; }
.crd-made { margin: 0 0 18px; padding-bottom: 8px; border-bottom: 1px solid var(--crd-line); }
.crd-made h2 { font-size: 1.2rem; letter-spacing: -0.02em; margin: 0 0 10px; }
.crd-made[hidden] { display: none; }

@media (min-width: 720px) {
  .crd-how { grid-template-columns: repeat(3, 1fr); }
  .crd-land .crd-how { grid-template-columns: repeat(4, 1fr); }
  .crd-types { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .crd-mosaic { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .crd[data-step="photo"] .crd-layout,
  .crd[data-step="market"] .crd-layout,
  .crd[data-step="look"] .crd-layout,
  .crd[data-step="text"] .crd-layout,
  .crd[data-step="review"] .crd-layout,
  .crd[data-step="result"] .crd-layout {
    display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start;
  }
  .crd[data-step="photo"] .crd-stage,
  .crd[data-step="market"] .crd-stage,
  .crd[data-step="look"] .crd-stage,
  .crd[data-step="text"] .crd-stage,
  .crd[data-step="review"] .crd-stage { display: block; order: 0; position: sticky; top: 16px; margin: 0; }
}
@media (max-width: 420px) {
  .crd-show-stage { grid-template-columns: 36px minmax(0, 1fr) 36px; }
  .crd-show-nav { width: 36px; height: 36px; }
  .crd-markets { grid-template-columns: 1fr; }
  .crd-sum button { grid-template-columns: 72px minmax(0, 1fr) auto; }
}
.crd-set { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; margin: 0 0 18px; }
.crd-set-one { display: block; }
.crd-set-title { margin: 4px 0 10px; font-size: 1.05rem; }
@keyframes crd-rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  .crd-shot.on, .crd-panel, .crd-progress-bar > span, .crd-drop, .crd-market, .crd-type, .crd-nav {
    animation: none !important; transition: none !important;
  }
  .crd-scan-photo img { filter: none !important; transform: none !important; }
  .crd-scan-mark .brand-mark, .crd-scan-mark::before { animation: none !important; }
}
body.crd-scan-open { overflow: hidden; }
.crd-scan {
  --p: 0;
  position: fixed; z-index: 200; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  padding: 28px 20px 36px;
  background: var(--bg, #fff);
  color: var(--text, #17151f);
}
.crd-scan[hidden] { display: none; }
.crd-scan-photo {
  width: min(72vw, 420px); height: min(52vh, 520px);
  border-radius: 22px; overflow: hidden;
  background: color-mix(in srgb, var(--text, #17151f) 8%, var(--bg, #fff));
  box-shadow: 0 18px 50px rgba(23, 21, 31, .12);
}
.crd-scan-photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: grayscale(calc(1 - var(--p))) blur(calc((1 - var(--p)) * 18px));
  transform: scale(calc(1.08 - var(--p) * 0.08));
  transition: filter .35s linear, transform .35s linear;
}
.crd-scan-mark { position: relative; width: 54px; height: 54px; display: grid; place-items: center; }
.crd-scan-mark::before {
  content: ""; position: absolute; inset: -7px; border-radius: 50%;
  border: 1.5px solid transparent;
  border-top-color: #6c47ff; border-right-color: #ff4d9d;
  animation: crd-spin 9s linear infinite;
}
.crd-scan-mark .brand-mark { width: 46px; height: 46px; animation: crd-breathe 2.8s ease-in-out infinite; }
@keyframes crd-breathe {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}
@keyframes crd-spin { to { transform: rotate(360deg); } }
.crd-scan-cap { margin: 0; font-size: 1.05rem; font-weight: 700; letter-spacing: -0.02em; }
.crd-scan-skip {
  appearance: none; border: 0; background: none; padding: 6px 8px;
  color: color-mix(in srgb, var(--text, #17151f) 62%, transparent); font: inherit; font-size: 13px;
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}

.crd-gen {
  background:
    radial-gradient(120% 90% at 50% 0%, #5b5b64 0%, rgba(91,91,100,0) 60%),
    linear-gradient(160deg, #54545c 0%, #33333a 48%, #47474f 100%);
  box-shadow: 0 24px 60px rgba(0,0,0,.42), inset 0 0 0 1px rgba(255,255,255,.08);
  isolation: isolate;
}
html[data-theme="light"] .crd-gen,
html:not([data-theme="dark"]) .crd-gen {
  background:
    radial-gradient(120% 90% at 50% 0%, #a3a3ab 0%, rgba(163,163,171,0) 60%),
    linear-gradient(160deg, #8f8f97 0%, #66666e 48%, #85858d 100%);
}
html[data-theme="dark"] .crd-gen {
  background:
    radial-gradient(120% 90% at 50% 0%, #5b5b64 0%, rgba(91,91,100,0) 60%),
    linear-gradient(160deg, #54545c 0%, #33333a 48%, #47474f 100%);
}
.crd-gen > * { position: absolute; pointer-events: none; }
/* brushed-metal grain */
.crd-gen-grain {
  inset: 0; opacity: .5; mix-blend-mode: soft-light;
  background: repeating-linear-gradient(115deg, rgba(255,255,255,.07) 0 1px, transparent 1px 3px);
}
/* slow silver aurora */
.crd-gen-aurora {
  left: -35%; top: -35%; width: 170%; height: 170%; filter: blur(34px); opacity: .85;
  background: conic-gradient(from 0deg at 50% 50%,
    transparent 0deg, rgba(255,255,255,.30) 40deg, transparent 95deg,
    rgba(214,218,232,.26) 170deg, transparent 230deg,
    rgba(255,255,255,.22) 290deg, transparent 360deg);
  animation: crd-gen-turn 16s linear infinite;
}
/* breathing glow behind the mark */
.crd-gen-halo {
  left: 50%; top: 50%; width: 78%; aspect-ratio: 1; margin: -39% 0 0 -39%; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.34) 0%, rgba(255,255,255,.10) 38%, transparent 68%);
  animation: crd-gen-breathe 3.4s ease-in-out infinite;
}
/* expanding rings, three waves */
.crd-gen-ring {
  left: 50%; top: 50%; width: 46%; aspect-ratio: 1; margin: -23% 0 0 -23%; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.55); opacity: 0;
  animation: crd-gen-ring 3.6s cubic-bezier(.2,.6,.3,1) infinite;
}
.crd-gen-ring.r2 { animation-delay: 1.2s; }
.crd-gen-ring.r3 { animation-delay: 2.4s; }
/* two light bands crossing the field */
.crd-gen-sheen {
  inset: -10% 0; transform: translateX(-120%); mix-blend-mode: screen;
  background: linear-gradient(105deg, transparent 38%, rgba(255,255,255,.10) 44%, rgba(255,255,255,.55) 50%, rgba(255,255,255,.10) 56%, transparent 62%);
  animation: crd-gen-sheen 4.4s cubic-bezier(.45,.05,.3,1) infinite;
}
.crd-gen-sheen + .crd-gen-sheen { animation-delay: 2.2s; opacity: .5; }
/* thin inner frame, like a jewellery case */
.crd-gen-frame {
  inset: 12px; border-radius: 8px; border: 1px solid rgba(255,255,255,.18);
  box-shadow: inset 0 0 40px rgba(0,0,0,.18);
}
.crd-gen-core {
  inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px;
}
.crd-gen-mark { position: relative; width: 104px; height: 104px; display: grid; place-items: center; }
/* metallic orbit ring */
.crd-gen-mark::before {
  content: ""; position: absolute; inset: -12px; border-radius: 50%;
  background: conic-gradient(from 0deg, rgba(255,255,255,.95), rgba(255,255,255,.05) 25%, rgba(255,255,255,.7) 50%, rgba(255,255,255,.05) 75%, rgba(255,255,255,.95));
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 1.5px));
  animation: crd-gen-turn 6s linear infinite;
}
.crd-gen-mark::after {
  content: ""; position: absolute; inset: -26px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.16);
}
.crd-gen-mark .brand-mark {
  width: 88px; height: 88px; border-radius: 24px;
  filter: grayscale(1) contrast(1.18) brightness(1.28) drop-shadow(0 0 18px rgba(255,255,255,.45));
  animation: crd-gen-pulse 2.6s ease-in-out infinite;
}
.crd-gen-cap {
  margin: 0; max-width: 80%; text-align: center;
  font-size: 12px; font-weight: 800; letter-spacing: .34em; text-transform: uppercase; padding-left: .34em;
  background: linear-gradient(100deg, rgba(255,255,255,.45) 20%, #fff 45%, rgba(255,255,255,.45) 70%) 0 0 / 220% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
  animation: crd-gen-text 3.2s linear infinite;
}
.crd-gen-line {
  left: 18%; right: 18%; bottom: 11%; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.7), transparent);
  background-size: 40% 100%; background-repeat: no-repeat;
  animation: crd-gen-line 2.8s ease-in-out infinite;
}
@keyframes crd-gen-turn { to { transform: rotate(360deg); } }
@keyframes crd-gen-breathe {
  0%, 100% { opacity: .55; transform: scale(.88); }
  50% { opacity: 1; transform: scale(1.08); }
}
@keyframes crd-gen-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.07); }
}
@keyframes crd-gen-ring {
  0% { opacity: 0; transform: scale(.7); }
  18% { opacity: .55; }
  100% { opacity: 0; transform: scale(2.1); }
}
@keyframes crd-gen-sheen {
  0%, 30% { transform: translateX(-120%); }
  100% { transform: translateX(120%); }
}
@keyframes crd-gen-text { to { background-position: -220% 0; } }
@keyframes crd-gen-line {
  0% { background-position: -60% 0; }
  100% { background-position: 160% 0; }
}

/* pearl iridescence over the graphite */
.crd-gen .crd-gen-aurora {
  opacity: 1; filter: blur(30px);
  background: conic-gradient(from 0deg at 50% 50%,
    rgba(255,190,226,.34) 0deg, transparent 60deg,
    rgba(176,204,255,.36) 120deg, transparent 180deg,
    rgba(196,255,236,.28) 240deg, transparent 300deg,
    rgba(255,190,226,.34) 360deg);
  animation: crd-gen-turn 14s linear infinite;
}
.crd-gen-iris {
  inset: 0; mix-blend-mode: screen; opacity: .9;
  background: linear-gradient(125deg,
    rgba(255,182,222,0) 0%, rgba(255,182,222,.20) 22%, rgba(168,198,255,.24) 42%,
    rgba(196,255,232,.18) 62%, rgba(226,200,255,.22) 80%, rgba(255,182,222,0) 100%);
  background-size: 320% 320%;
  animation: crd-gen-iris 8s ease-in-out infinite alternate;
}
@keyframes crd-gen-iris {
  0% { background-position: 0% 30%; }
  100% { background-position: 100% 70%; }
}
.crd-gen .crd-gen-logo {
  position: relative; inset: auto; display: block;
  width: 92px; height: 92px; border-radius: 50%; object-fit: cover;
  box-shadow: 0 0 0 2px rgba(255,255,255,.6), 0 0 34px rgba(255,255,255,.38), 0 0 80px rgba(196,186,255,.32);
  animation: crd-gen-pulse 2.6s ease-in-out infinite;
}
.crd-gen-cap { font-size: 13px; }
/* the card fits the screen height: no scrolling to see the whole picture */
.crd-result .crd-frame[data-ratio="3:4"] { width: min(100%, calc((100vh - 260px) * 3 / 4)); }
.crd-result .crd-frame[data-ratio="1:1"] { width: min(100%, calc(100vh - 260px)); }
.crd-result .crd-frame[data-ratio="4:3"] { width: min(100%, calc((100vh - 260px) * 4 / 3)); }

/* richer colour play: pink, sky, mint and violet drifting over the graphite */
.crd-gen .crd-gen-aurora {
  filter: blur(26px);
  background: conic-gradient(from 0deg at 50% 50%,
    rgba(255,150,210,.55) 0deg, transparent 55deg,
    rgba(130,180,255,.55) 115deg, transparent 175deg,
    rgba(140,255,215,.45) 235deg, transparent 290deg,
    rgba(200,160,255,.5) 330deg, rgba(255,150,210,.55) 360deg);
}
.crd-gen-iris {
  opacity: 1;
  background: linear-gradient(125deg,
    rgba(255,160,215,0) 0%, rgba(255,160,215,.34) 20%, rgba(140,185,255,.38) 40%,
    rgba(150,255,220,.30) 60%, rgba(205,170,255,.36) 80%, rgba(255,160,215,0) 100%);
  background-size: 300% 300%;
}
.crd-gen-mark::before {
  inset: -14px;
  background: conic-gradient(from 0deg, #ffb3dc, #a9c6ff, #b9ffe6, #d8b8ff, #fff, #ffb3dc);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 3px), #000 calc(100% - 2.5px));
}
.crd-gen-cap {
  background: linear-gradient(100deg, rgba(255,255,255,.5) 15%, #ffd1ea 32%, #fff 45%, #cfe0ff 58%, rgba(255,255,255,.5) 75%) 0 0 / 220% 100%;
  -webkit-background-clip: text; background-clip: text;
}
.crd-gen .crd-gen-logo { animation: crd-gen-pulse 2.6s ease-in-out infinite, crd-gen-glow 6s linear infinite; }
@keyframes crd-gen-glow {
  0%, 100% { box-shadow: 0 0 0 2px rgba(255,255,255,.7), 0 0 30px rgba(255,150,210,.55), 0 0 80px rgba(255,150,210,.30); }
  33% { box-shadow: 0 0 0 2px rgba(255,255,255,.7), 0 0 30px rgba(130,180,255,.6), 0 0 80px rgba(130,180,255,.32); }
  66% { box-shadow: 0 0 0 2px rgba(255,255,255,.7), 0 0 30px rgba(140,255,215,.5), 0 0 80px rgba(140,255,215,.28); }
}
/* Windows "show animations: off" turns every animation off site-wide; this field is the only progress
   signal while a card is drawn, so it keeps moving there */
@media (prefers-reduced-motion: reduce) {
  .crd-gen .crd-gen-aurora { animation: crd-gen-turn 14s linear infinite !important; }
  .crd-gen .crd-gen-iris { animation: crd-gen-iris 8s ease-in-out infinite alternate !important; }
  .crd-gen .crd-gen-halo { animation: crd-gen-breathe 3.4s ease-in-out infinite !important; }
  .crd-gen .crd-gen-ring { animation: crd-gen-ring 3.6s cubic-bezier(.2,.6,.3,1) infinite !important; }
  .crd-gen .crd-gen-ring.r2 { animation: crd-gen-ring 3.6s cubic-bezier(.2,.6,.3,1) 1.2s infinite !important; }
  .crd-gen .crd-gen-ring.r3 { animation: crd-gen-ring 3.6s cubic-bezier(.2,.6,.3,1) 2.4s infinite !important; }
  .crd-gen .crd-gen-sheen { animation: crd-gen-sheen 4.4s cubic-bezier(.45,.05,.3,1) infinite !important; }
  .crd-gen .crd-gen-sheen + .crd-gen-sheen { animation: crd-gen-sheen 4.4s cubic-bezier(.45,.05,.3,1) 2.2s infinite !important; }
  .crd-gen .crd-gen-mark::before { animation: crd-gen-turn 6s linear infinite !important; }
  .crd-gen .crd-gen-logo { animation: crd-gen-pulse 2.6s ease-in-out infinite, crd-gen-glow 6s linear infinite !important; }
  .crd-gen .crd-gen-cap { animation: crd-gen-text 3.2s linear infinite !important; }
  .crd-gen .crd-gen-line { animation: crd-gen-line 2.8s ease-in-out infinite !important; }
}

/* ---- the same waiting field on model pages and the task page ---- */
.mmgen {
  --r: 1; position: relative; overflow: hidden; border-radius: 18px; margin: 0 auto;
  width: min(100%, calc((100vh - 240px) * var(--r))); aspect-ratio: var(--r); min-height: 300px;
}
.mmgen-wrap { display: flex; flex-direction: column; gap: 10px; }
.mmgen-wrap > p { margin: 0; }
.mmgen .crd-gen-core { gap: 16px; padding: 0 16px; }
.mmgen .crd-gen-cap { font-size: 12px; letter-spacing: .2em; padding-left: .2em; line-height: 1.6; }
.mmgen-time {
  margin: 0; font-size: 12px; font-variant-numeric: tabular-nums; text-align: center;
  color: rgba(255,255,255,.72); max-width: 86%;
}
.mmgen-bar {
  left: 14%; right: 14%; bottom: 9%; height: 2px; border-radius: 2px; overflow: hidden;
  background: rgba(255,255,255,.16);
}
.mmgen-bar i {
  display: block; height: 100%; transform-origin: left center; transform: scaleX(var(--p, 0));
  background: linear-gradient(90deg, #ffb3dc, #a9c6ff, #b9ffe6);
  box-shadow: 0 0 12px rgba(200,190,255,.8); transition: transform .9s ease;
}
/* video: film strips sliding along the top and bottom edges */
.mmgen-film {
  left: 0; right: 0; top: 22px; height: 16px; opacity: .5;
  background: repeating-linear-gradient(90deg, rgba(255,255,255,.55) 0 14px, transparent 14px 26px);
  -webkit-mask: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
          mask: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  border-radius: 3px; animation: mmgen-film 2.4s linear infinite;
}
.mmgen-film.b { top: auto; bottom: 22px; animation-direction: reverse; }
.mmgen[data-kind="video"] .mmgen-bar { bottom: 58px; }
@keyframes mmgen-film { to { background-position: 52px 0; } }
/* audio: equalizer */
.mmgen-eq { position: relative; display: flex; align-items: center; gap: 4px; height: 34px; }
.mmgen-eq i {
  display: block; width: 4px; height: 100%; border-radius: 2px; transform-origin: center;
  background: linear-gradient(180deg, #ffb3dc, #a9c6ff 55%, #b9ffe6);
  animation: mmgen-eq 1.1s ease-in-out infinite;
}
.mmgen-eq i:nth-child(3n) { animation-duration: .9s; }
.mmgen-eq i:nth-child(3n+1) { animation-duration: 1.3s; }
.mmgen-eq i:nth-child(2n) { animation-delay: -.45s; }
.mmgen-eq i:nth-child(5n) { animation-delay: -.8s; }
@keyframes mmgen-eq { 0%, 100% { transform: scaleY(.18); } 50% { transform: scaleY(1); } }
/* text: lines being typed */
.mmgen-lines { position: relative; display: flex; flex-direction: column; gap: 8px; width: min(260px, 70%); }
.mmgen-lines i {
  display: block; height: 7px; border-radius: 4px; transform-origin: left center;
  background: linear-gradient(90deg, rgba(255,179,220,.85), rgba(169,198,255,.85), rgba(185,255,230,.85)) 0 0 / 200% 100%;
  animation: mmgen-type 2.6s ease-in-out infinite, crd-gen-iris 3s linear infinite alternate;
}
.mmgen-lines i:nth-child(2) { width: 86%; animation-delay: .35s, 0s; }
.mmgen-lines i:nth-child(3) { width: 58%; animation-delay: .7s, 0s; }
@keyframes mmgen-type { 0% { transform: scaleX(0); opacity: .3; } 45%, 80% { transform: scaleX(1); opacity: 1; } 100% { transform: scaleX(1); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .mmgen .mmgen-film { animation: mmgen-film 2.4s linear infinite !important; }
  .mmgen .mmgen-film.b { animation: mmgen-film 2.4s linear infinite reverse !important; }
  .mmgen .mmgen-eq i { animation: mmgen-eq 1.1s ease-in-out infinite !important; }
  .mmgen .mmgen-eq i:nth-child(3n) { animation: mmgen-eq .9s ease-in-out -.2s infinite !important; }
  .mmgen .mmgen-eq i:nth-child(2n) { animation: mmgen-eq 1.3s ease-in-out -.45s infinite !important; }
  .mmgen .mmgen-eq i:nth-child(5n) { animation: mmgen-eq 1s ease-in-out -.8s infinite !important; }
  .mmgen .mmgen-lines i { animation: mmgen-type 2.6s ease-in-out infinite, crd-gen-iris 3s linear infinite alternate !important; }
  .mmgen .mmgen-lines i:nth-child(2) { animation: mmgen-type 2.6s ease-in-out .35s infinite, crd-gen-iris 3s linear infinite alternate !important; }
  .mmgen .mmgen-lines i:nth-child(3) { animation: mmgen-type 2.6s ease-in-out .7s infinite, crd-gen-iris 3s linear infinite alternate !important; }
  .mmgen .mmgen-bar i { transition: transform .9s ease !important; }
}

/* ---- image count: a slider from 1 to 10, set apart from the rest ---- */
.crd-count {
  margin: 16px 0 20px; padding: 16px 18px 14px; border-radius: 16px;
  border: 1px solid var(--crd-line); background: var(--crd-card);
  box-shadow: 0 10px 30px rgba(108,71,255,.10);
  position: relative;
}
.crd-count.on { border-color: transparent; background:
  linear-gradient(var(--crd-card), var(--crd-card)) padding-box,
  linear-gradient(120deg, #ff9ad5, #8fb4ff, #9bf0d0, #c9a0ff) border-box; border: 1.5px solid transparent; }
.crd-count-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.crd-count-title { font-size: 15px; font-weight: 800; }
.crd-count-big b {
  font-size: 34px; line-height: 1; font-weight: 900; font-variant-numeric: tabular-nums;
  background: linear-gradient(120deg, #ff7ac6, #6f9bff, #3fd6a6); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
.crd-range {
  -webkit-appearance: none; appearance: none; width: 100%; height: 8px; border-radius: 8px; outline: none; cursor: pointer;
  --p: 0%; background: linear-gradient(90deg, #ff8fd0, #7fa8ff, #6fe0b8) 0 0 / var(--p) 100% no-repeat, rgba(127,127,140,.28);
}
.crd-range::-webkit-slider-thumb {
  -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; border: 2px solid #8fb4ff;
  box-shadow: 0 2px 10px rgba(80,90,160,.45); cursor: grab;
}
.crd-range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid #8fb4ff; box-shadow: 0 2px 10px rgba(80,90,160,.45); cursor: grab; }
.crd-range:focus-visible { outline: 2px solid var(--crd-amber); outline-offset: 6px; }
.crd-range-scale { display: flex; justify-content: space-between; padding: 6px 4px 0; font-size: 11px; font-weight: 700; color: var(--crd-muted); }
.crd-count-note { display: block; margin-top: 8px; font-size: 12.5px; line-height: 1.45; color: var(--crd-muted); }
/* more images after a result */
.crd-more { margin-top: 18px; padding: 14px 16px; border: 1px solid var(--crd-line); border-radius: 14px; background: var(--crd-card); }
.crd-more > p { font-size: 13px; font-weight: 800; margin-bottom: 10px; }
.crd-more-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.crd-more-row .crd-range { flex: 1 1 180px; min-width: 140px; }
.crd-more-n { font-size: 22px; font-weight: 900; min-width: 26px; text-align: center; font-variant-numeric: tabular-nums; }
.crd-more-note { display: block; margin-top: 8px; font-size: 12px; color: var(--crd-muted); }

/* story-20261102: with a set the single-type tiles do not apply */
.crd[data-multi="1"] [data-panel="look"] .crd-types,
.crd[data-multi="1"] [data-panel="look"] .crd-fold[data-more-scenes] { opacity: .38; pointer-events: none; filter: saturate(.5); }
.crd[data-multi="1"] [data-panel="look"] .crd-types .crd-tick { display: none; }
