/* Exact printings & honest slab values (templates/valuation/*, views/valuation.py).
   Printing chips on the card page, value badges on collection rows, and the
   slab page. Tokens from style.css; motion is transform/opacity only. */

.vl-prints, .vl-slab, .vl-cols {
  --vl-rainbow: linear-gradient(100deg, #ff9fc4, #ffe08a 22%, #8fe9a6 42%, #9fe3f5 62%, #cec6f6 82%, #ff9fc4);
  --vl-chip: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
}

/* ------------------------------------------------------------ printing chips */
.vl-prints { margin: 1.2rem 0; }
.vl-prints .panel-head { margin-bottom: 0.85rem; }
.vl-count { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.vl-chips { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 172px), 1fr)); }
.vl-chip { position: relative; min-width: 0; }
.vl-chip-in {
  position: relative; overflow: hidden; width: 100%; height: 100%; margin: 0; text-align: left;
  font: inherit; color: var(--ink); display: grid; grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: center; column-gap: 0.55rem; row-gap: 0.28rem; padding: 0.72rem 0.8rem 0.68rem;
  border-radius: 14px; background: var(--vl-chip); border: 1px solid var(--line);
}
button.vl-chip-in { cursor: pointer; transition: transform 0.22s var(--ease), border-color 0.22s var(--ease), box-shadow 0.22s var(--ease); }
button.vl-chip-in:hover { transform: translateY(-2px); border-color: var(--line-2); }
button.vl-chip-in:focus-visible { outline: 2px solid var(--ice); outline-offset: 2px; }
button.vl-chip-in[aria-pressed="true"] { border-color: rgba(191, 232, 247, 0.75);
  box-shadow: inset 0 0 0 1px rgba(191, 232, 247, 0.55), 0 14px 30px -20px rgba(191, 232, 247, 0.8); }
.vl-name { grid-column: 2; font-weight: 800; font-size: 0.84rem; line-height: 1.2; letter-spacing: -0.01em; overflow-wrap: anywhere; }
.vl-go { grid-column: 3; grid-row: 1; color: var(--muted); display: inline-flex; }
button.vl-chip-in:hover .vl-go, button.vl-chip-in[aria-pressed="true"] .vl-go { color: var(--ice); }
.vl-tag { grid-column: 2 / -1; justify-self: start; font-size: 0.6rem; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ice); padding: 0.08rem 0.42rem; border-radius: 999px;
  background: rgba(191, 232, 247, 0.1); border: 1px solid rgba(191, 232, 247, 0.28); }
.vl-px { grid-column: 1 / -1; display: flex; align-items: baseline; justify-content: space-between; gap: 0.5rem; font-size: 0.84rem; }
.vl-px small { font-size: 0.62rem; font-weight: 800; letter-spacing: 0.1em; color: var(--muted); }
.vl-px b { font-weight: 850; font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.vl-px i { font-style: normal; font-size: 0.72rem; color: var(--muted); text-align: right; }
/* a price the glitch guard set aside: shown, struck, never used for a value */
.vl-px.is-held b { margin-left: auto; color: var(--muted); text-decoration: line-through; text-decoration-thickness: 1px; }
.vl-held { font-style: normal; font-size: 0.64rem; font-weight: 800; letter-spacing: 0.04em; color: var(--warn); cursor: help; white-space: nowrap; }
.vl-chip.is-card .vl-chip-in { background: linear-gradient(180deg, rgba(191, 232, 247, 0.09), rgba(191, 232, 247, 0.02)); }

/* a foil sheen that crosses a pattern chip on hover */
.vl-chip-in::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: 0; transform: translateX(-80%);
  background: linear-gradient(115deg, transparent 30%, rgba(255, 159, 196, 0.16) 40%, rgba(255, 224, 138, 0.16) 46%,
    rgba(143, 233, 166, 0.16) 52%, rgba(159, 227, 245, 0.18) 58%, transparent 70%);
  transition: transform 0.7s var(--ease), opacity 0.3s;
}
button.vl-chip-in:hover::after { opacity: 1; transform: translateX(80%); }

/* the rainbow rim: booster patterns and promo foils, the printings collectors chase */
.vl-chip.is-pokeball .vl-chip-in::before, .vl-chip.is-greatball .vl-chip-in::before, .vl-chip.is-ultraball .vl-chip-in::before,
.vl-chip.is-masterball .vl-chip-in::before, .vl-chip.is-loveball .vl-chip-in::before, .vl-chip.is-friendball .vl-chip-in::before,
.vl-chip.is-quickball .vl-chip-in::before, .vl-chip.is-duskball .vl-chip-in::before, .vl-chip.is-energy .vl-chip-in::before,
.vl-chip.is-rocket .vl-chip-in::before, .vl-chip.is-foil .vl-chip-in::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: var(--vl-rainbow); opacity: 0.55;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
}
.vl-chip.is-masterball .vl-chip-in::before { opacity: 0.9; }

/* swatches: each printing's mark */
.vl-sw { grid-column: 1; grid-row: 1; width: 18px; height: 18px; border-radius: 50%; flex: none; position: relative;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 2px 6px -2px rgba(0, 0, 0, 0.6); }
.is-normal .vl-sw { background: radial-gradient(circle at 34% 30%, #ffffff 0 14%, #b4bccb 16% 100%); }
.is-holo .vl-sw { background: conic-gradient(from 210deg, #bfe8f7, #cec6f6, #ff9fc4, #ffe08a, #8fe9a6, #bfe8f7); }
.is-reverse .vl-sw { background: repeating-linear-gradient(135deg, #cec6f6 0 2px, #9fe3f5 2px 4px, #ffffff 4px 5px); }
.is-foil .vl-sw { background: linear-gradient(135deg, #ff9fc4, #ffe08a, #8fe9a6, #9fe3f5, #cec6f6); }
.is-energy .vl-sw { background: conic-gradient(#ffe08a, #8fe9a6, #9fe3f5, #cec6f6, #ff9fc4, #ffe08a); }
.is-energy .vl-sw::after { content: ""; position: absolute; inset: 4px; background: #16171b;
  -webkit-mask: var(--vl-bolt) center / contain no-repeat; mask: var(--vl-bolt) center / contain no-repeat; }
.vl-prints, .vl-slab, .vl-cols {
  --vl-bolt: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13 1 4 14h7l-1 9 9-13h-7z'/%3E%3C/svg%3E");
  --vl-star: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.5l3.1 6.6 7.2.8-5.4 4.9 1.5 7.1L12 17.3 5.6 20.9l1.5-7.1L1.7 8.9l7.2-.8z'/%3E%3C/svg%3E");
}
/* the balls: top half, band, white half, button */
.is-pokeball .vl-sw, .is-greatball .vl-sw, .is-ultraball .vl-sw, .is-masterball .vl-sw,
.is-loveball .vl-sw, .is-friendball .vl-sw, .is-quickball .vl-sw, .is-duskball .vl-sw {
  background: radial-gradient(circle, #f4f6fb 0 17%, #16171b 18% 29%, transparent 30%),
              linear-gradient(var(--ball, #e0555a) 0 44%, #16171b 44% 56%, #f4f6fb 56%);
}
.is-greatball .vl-sw { --ball: #3f7fe0; }
.is-ultraball .vl-sw { --ball: #2a2c33; }
.is-ultraball .vl-sw { background: radial-gradient(circle, #f4f6fb 0 17%, #16171b 18% 29%, transparent 30%),
  linear-gradient(90deg, transparent 30%, #f2c94c 30% 40%, transparent 40% 60%, #f2c94c 60% 70%, transparent 70%) top / 100% 44% no-repeat,
  linear-gradient(#2a2c33 0 44%, #16171b 44% 56%, #f4f6fb 56%); }
.is-masterball .vl-sw { --ball: #7a55d8; }
.is-masterball .vl-sw::after { content: ""; position: absolute; left: 4px; right: 4px; top: 3px; height: 3px; border-radius: 3px;
  background: radial-gradient(circle, #ff8fc8 0 45%, transparent 50%) left / 4px 3px no-repeat,
              radial-gradient(circle, #ff8fc8 0 45%, transparent 50%) right / 4px 3px no-repeat; }
.is-loveball .vl-sw { --ball: #ff7ab8; }
.is-friendball .vl-sw { --ball: #46b36b; }
.is-quickball .vl-sw { --ball: #3f86d8; }
.is-duskball .vl-sw { --ball: #22352a; }
.is-rocket .vl-sw { background: #c9383a; }
.is-rocket .vl-sw::after { content: "R"; position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 11px; font-weight: 900; color: #fff; line-height: 1; }
.is-first .vl-sw { background: #111317; box-shadow: 0 0 0 1.5px #f4f6fb; }
.is-first .vl-sw::after { content: "1"; position: absolute; inset: 0; display: grid; place-items: center;
  font-size: 10.5px; font-weight: 900; color: #f4f6fb; line-height: 1; }
.is-stamp .vl-sw { background: var(--lav); border-radius: 4px;
  -webkit-mask: var(--vl-star) center / contain no-repeat; mask: var(--vl-star) center / contain no-repeat; box-shadow: none; }

/* special printings: folded away, same chips */
.vl-specials { margin-top: 0.8rem; border-top: 1px solid var(--line); padding-top: 0.7rem; }
.vl-specials > summary { cursor: pointer; font-size: 0.84rem; font-weight: 700; color: var(--ink-dim); margin-bottom: 0.2rem; }
.vl-specials[open] > summary { margin-bottom: 0.7rem; }
.vl-specials > summary .muted { font-weight: 500; }
.vl-foot { margin: 0.9rem 0 0; line-height: 1.5; }
.vl-foot i { font-style: normal; color: var(--ink-dim); }

/* the chart of one printing */
.vl-chart { margin-top: 0.9rem; padding: 0.85rem 0.9rem 0.6rem; border-radius: 16px;
  background: rgba(255, 255, 255, 0.025); border: 1px solid var(--line); }
.vl-chart[hidden] { display: none; }
.vl-chart-head { display: flex; align-items: center; gap: 0.55rem; flex-wrap: wrap; margin-bottom: 0.55rem; }
.vl-chart-title { margin: 0; display: flex; align-items: center; gap: 0.5rem; flex: 1 1 12rem; min-width: 0; font-size: 0.9rem; }
.vl-chart-title .vl-sw { display: inline-block; }
.vl-seg { display: inline-flex; border: 1px solid var(--line-2); border-radius: 999px; padding: 2px; gap: 2px; }
.vl-seg button { font: inherit; font-size: 0.74rem; font-weight: 750; padding: 0.3rem 0.7rem; border-radius: 999px;
  border: 0; background: none; color: var(--muted); cursor: pointer; }
.vl-seg button[aria-pressed="true"] { background: var(--elev); color: var(--ink); }
.vl-seg button:disabled { opacity: 0.35; cursor: not-allowed; }
.vl-seg button:focus-visible, .vl-close:focus-visible { outline: 2px solid var(--ice); outline-offset: 2px; }
.vl-chart-note { margin: 0.35rem 0 0; }

/* ------------------------------------------------------- badges on lots */
.vl-badge { display: inline-flex; align-items: center; gap: 0.25rem; font-size: 0.64rem; font-weight: 750;
  letter-spacing: 0.04em; text-transform: uppercase; padding: 0.14rem 0.46rem; border-radius: 999px; white-space: nowrap;
  border: 1px solid var(--line-2); color: var(--ink-dim); background: var(--surface-2); text-decoration: none; vertical-align: middle; }
a.vl-badge:hover { text-decoration: none; filter: brightness(1.15); }
.vl-badge.is-print { color: var(--lav); border-color: rgba(206, 198, 246, 0.36); background: rgba(206, 198, 246, 0.1); }
.vl-badge.is-mine { color: var(--pos); border-color: rgba(86, 192, 138, 0.38); background: rgba(86, 192, 138, 0.1); }
.vl-badge.is-comps { color: var(--ice); border-color: rgba(191, 232, 247, 0.38); background: rgba(191, 232, 247, 0.09); }
.vl-badge.is-raw, .vl-badge.is-base { color: var(--warn); border-color: rgba(230, 181, 74, 0.4); background: rgba(230, 181, 74, 0.09); }
.vl-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 0.25rem; margin-top: 0.1rem; }
.vl-badges .vl-badge { white-space: normal; text-align: left; }
.vl-addval { font-size: 0.74rem; font-weight: 650; }
/* the collection table: a badge in the card column must never push a figure onto two lines */
.tablewrap td.num { white-space: nowrap; }

/* one of your copies on the card page; an open edit or sell form takes a line of its own */
.vl-lot { flex-wrap: wrap; }
.vl-lot > .grow { min-width: min(100%, 15rem); }
.vl-lot > details[open] { flex: 1 1 100%; order: 9; }
.vl-lotval { display: flex; flex-wrap: wrap; align-items: center; gap: 0.3rem 0.55rem; margin-top: 0.35rem; color: var(--muted); }
.vl-lotval b { color: var(--ink); font-weight: 850; font-variant-numeric: tabular-nums; }
.vl-lotval .vl-badge { white-space: normal; }
.vl-link { display: inline-flex; align-items: center; gap: 0.3rem; font-weight: 650; }
.vl-link .ico { width: 1em; height: 1em; }
.vl-src { font-size: 0.78rem; }

/* form bits: a value with its currency */
.vl-money .vl-in { display: flex; gap: 0.3rem; }
.vl-money input { min-width: 0; width: 7.5rem; }
.vl-money select { width: auto; flex: none; padding-left: 0.5rem; padding-right: 0.5rem; }

/* --------------------------------------------------------------- slab page */
.vl-slab-head h1 .vl-num { font-size: 0.6em; font-weight: 700; }
.vl-slab { display: grid; grid-template-columns: minmax(200px, 300px) minmax(0, 1fr); gap: clamp(1.2rem, 3.5vw, 2.6rem);
  align-items: start; margin-bottom: 1.4rem; }
/* the slab itself: a clear case, a label band, the card in its well */
.vl-case { margin: 0; position: relative; border-radius: 18px; padding: 10px; background:
  linear-gradient(160deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04) 40%, rgba(255, 255, 255, 0.1));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22), 0 40px 70px -32px rgba(0, 0, 0, 0.9), 0 0 60px -26px rgba(191, 232, 247, 0.45); }
.vl-case-label { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 0.6rem;
  padding: 0.55rem 0.7rem; border-radius: 10px; margin-bottom: 10px; color: #111317;
  background: linear-gradient(100deg, #f7f9fc, #e6f4fb 45%, #eeeafd); box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.06); }
.vl-case-label b { font-weight: 900; font-size: 0.82rem; letter-spacing: 0.06em; }
.vl-case-label span { font-weight: 800; font-size: 0.76rem; line-height: 1.15; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vl-case-label span small { display: block; font-weight: 600; font-size: 0.64rem; color: #4d5563; overflow: hidden; text-overflow: ellipsis; }
.vl-case-label em { font-style: normal; font-weight: 900; font-size: 1.35rem; letter-spacing: -0.03em;
  background: linear-gradient(100deg, #2f6f89, #6a5bc4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vl-case-well { position: relative; overflow: hidden; border-radius: 8px; background: #0f1013; aspect-ratio: 63 / 88; }
.vl-case-well img { width: 100%; height: 100%; object-fit: contain; display: block; }
.vl-case-well .noart { position: absolute; inset: 0; }
.vl-case-glare { position: absolute; inset: 0; pointer-events: none; opacity: 0.55; transform: translateX(-60%);
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.18) 45%, rgba(255, 255, 255, 0.02) 55%, transparent 65%);
  transition: transform 1.1s var(--ease); }
.vl-case:hover .vl-case-glare { transform: translateX(60%); }

.vl-slab-main { display: flex; flex-direction: column; gap: 1rem; min-width: 0; }
.vl-verdict { position: relative; padding: 1.2rem 1.3rem; border-radius: 22px;
  background: linear-gradient(180deg, rgba(40, 43, 50, 0.62), rgba(23, 25, 29, 0.46)); box-shadow: inset 0 0 0 1px var(--line); }
.vl-verdict::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none;
  background: var(--vl-rainbow); opacity: 0.6;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.vl-verdict.is-raw::after { background: linear-gradient(100deg, rgba(230, 181, 74, 0.8), rgba(230, 181, 74, 0.25)); }
.vl-kicker { margin: 0; display: flex; align-items: center; gap: 0.4rem; font-size: 0.72rem; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.vl-big { margin: 0.25rem 0 0.35rem; font-size: clamp(2rem, 6vw, 2.9rem); font-weight: 900; letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums; line-height: 1.05; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.2rem 0.6rem; }
.vl-big small { font-size: 0.9rem; font-weight: 650; letter-spacing: 0; color: var(--muted); }
.vl-why { margin: 0; font-size: 0.88rem; line-height: 1.5; color: var(--ink-dim); }
.vl-why .vl-badge { margin-right: 0.3rem; }

.vl-tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.6rem; }
.vl-tile { padding: 0.8rem 0.9rem; border-radius: 16px; background: var(--vl-chip); border: 1px solid var(--line); min-width: 0; }
.vl-tile.is-on { border-color: rgba(191, 232, 247, 0.55); background: linear-gradient(180deg, rgba(191, 232, 247, 0.09), rgba(191, 232, 247, 0.02)); }
.vl-tile p { margin: 0; }
.vl-tile-k { display: flex; align-items: center; justify-content: space-between; gap: 0.3rem; font-size: 0.66rem;
  font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.vl-tile-v { font-size: 1.25rem; font-weight: 900; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; margin: 0.2rem 0 0.1rem !important; overflow-wrap: anywhere; }
.vl-tile-s { font-size: 0.74rem; color: var(--muted); }
/* who a figure comes from: you, or a market */
.vl-who { font-size: 0.58rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; padding: 0.06rem 0.38rem;
  border-radius: 999px; color: var(--pos); background: rgba(86, 192, 138, 0.1); border: 1px solid rgba(86, 192, 138, 0.3); }
.vl-who.is-mkt { color: var(--ice); background: rgba(191, 232, 247, 0.08); border-color: rgba(191, 232, 247, 0.3); }
.vl-cert-box { display: flex; flex-direction: column; align-items: flex-start; gap: 0.35rem; }
.vl-cert-box .btn { display: inline-flex; align-items: center; gap: 0.4rem; }
.vl-cert-box p { margin: 0; }

.vl-cols { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: 1rem; align-items: start; }
.vl-form-panel .panel-head { margin-bottom: 0.4rem; }
.vl-form-panel > p { margin-top: 0; }
.vl-form { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: flex-end; margin-top: 0.7rem; }
.vl-form .field { flex: 1 1 8rem; min-width: 0; }
.vl-form .vl-ccy { flex: 0 0 6.2rem; }
.vl-form .vl-ref { flex: 1 1 100%; }
.vl-inline-form { margin-top: 0.5rem; }
.vl-comps { list-style: none; margin: 0.6rem 0 0; padding: 0; }
/* a comp: price and where it sold on the left, its link and delete on the right */
.vl-comp { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 0.15rem 0.8rem;
  padding: 0.6rem 0; border-bottom: 1px solid var(--line); }
.vl-comp:last-child { border-bottom: 0; }
.vl-comp-price { grid-column: 1; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0 0.4rem; }
.vl-comp-price b { font-weight: 900; font-variant-numeric: tabular-nums; }
.vl-comp-price small { color: var(--muted); }
.vl-comp-meta { grid-column: 1; grid-row: 2; color: var(--ink-dim); font-size: 0.82rem; }
.vl-comp-meta i { font-style: normal; color: var(--muted); }
.vl-comp-link { grid-column: 2; grid-row: 1 / span 2; display: inline-flex; align-items: center; gap: 0.25rem;
  font-size: 0.82rem; font-weight: 650; white-space: nowrap; }
.vl-comp form { grid-column: 3; grid-row: 1 / span 2; }
.vl-empty { margin: 0.6rem 0 0; padding: 0.8rem 0.9rem; border-radius: 12px; border: 1px dashed var(--line-2); color: var(--ink-dim); }
.vl-privacy { display: flex; align-items: center; gap: 0.4rem; margin: 1.2rem 0 0; }

@media (max-width: 860px) {
  .vl-cols { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .vl-slab { grid-template-columns: 1fr; }
  .vl-case { max-width: 196px; margin: 0 auto; width: 100%; padding: 7px; border-radius: 14px; }
  .vl-case-label { padding: 0.4rem 0.5rem; margin-bottom: 7px; gap: 0.4rem; }
  .vl-case-label em { font-size: 1.1rem; }
  /* your copies on the card page: the words get the whole line, the buttons the next */
  .vl-lot { flex-wrap: wrap; row-gap: 0.4rem; }
  .vl-lot > .grow { flex: 1 1 100%; }
  .vl-tiles { grid-template-columns: 1fr; }
  .vl-tile { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; column-gap: 0.6rem; }
  .vl-tile-k { grid-column: 1 / -1; }
  .vl-tile-s { grid-column: 1 / -1; }
  .vl-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vl-chip-in { padding: 0.62rem 0.65rem; column-gap: 0.45rem; }
  .vl-name { font-size: 0.8rem; }
  .vl-px { font-size: 0.8rem; }
}
@media (max-width: 360px) {
  .vl-chips { grid-template-columns: 1fr; }
}

/* light theme: ice and amber are too pale on white; their deep ends read */
:root[data-theme="light"] .vl-verdict { background: var(--panel); }
:root[data-theme="light"] .vl-case-well { background: #e9ecf1; }
:root[data-theme="light"] .vl-tag, :root[data-theme="light"] .vl-badge.is-comps,
:root[data-theme="light"] .vl-who.is-mkt {
  color: var(--ice-deep); border-color: rgba(47, 111, 137, 0.38); background: rgba(47, 111, 137, 0.08); }
:root[data-theme="light"] .vl-badge.is-raw, :root[data-theme="light"] .vl-badge.is-base {
  color: #8a5d00; border-color: rgba(138, 93, 0, 0.36); background: rgba(230, 181, 74, 0.14); }
:root[data-theme="light"] .vl-badge.is-print { color: #54449f; border-color: rgba(84, 68, 159, 0.3); background: rgba(84, 68, 159, 0.07); }
:root[data-theme="light"] .vl-badge.is-mine, :root[data-theme="light"] .vl-who { color: #2e8256; }
:root[data-theme="light"] button.vl-chip-in[aria-pressed="true"] { border-color: var(--ice-deep);
  box-shadow: inset 0 0 0 1px rgba(47, 111, 137, 0.4), 0 12px 26px -20px rgba(47, 111, 137, 0.6); }
:root[data-theme="light"] button.vl-chip-in:hover .vl-go,
:root[data-theme="light"] button.vl-chip-in[aria-pressed="true"] .vl-go { color: var(--ice-deep); }
:root[data-theme="light"] .vl-chip.is-card .vl-chip-in, :root[data-theme="light"] .vl-tile.is-on {
  background: rgba(47, 111, 137, 0.05); }
:root[data-theme="light"] .vl-tile.is-on { border-color: rgba(47, 111, 137, 0.42); }
@media (prefers-reduced-motion: reduce) {
  .vl-chip-in, .vl-chip-in::after, .vl-case-glare { transition: none; }
  button.vl-chip-in:hover { transform: none; }
}

/* The card page's section headings are h2s under its h1 (they were h3s, a
   skipped level); they keep the size they had. */
.cardpage .panel-head h2, .cardpage .ml-cp-head h2 { font-size: 1.08rem; }
.cardpage .ml-cp-head h2 { margin: 0; font-weight: 900; }
/* "how it's measured" under the NL price: a link, and it looks like one */
.cardpage .metric .small a { text-decoration: underline; text-underline-offset: 2px; }
