:root {
  --red: #C8102E;
  --red-text: #A50D25;
  --red-dark: #7A0A1B;
  --red-soft: #F6E3E6;
  --ink: #1A1A1A;
  --ink-2: #3A3A3A;
  --muted: #4A4A4A;
  --line: #DEDCD8;
  --chip-line: #CFCCC6;
  --bg: #F4F3F1;
  --photo: #ECEAE6;
  --char: #161616;
  --char-2: #1F1F1F;
  --char-3: #2F2F2F;
  --green: #1E7A34;
  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --body: Barlow, system-ui, -apple-system, 'Segoe UI', sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.45; }
a { color: var(--red-text); }
a:hover { color: var(--red-dark); }
img, svg { display: block; }
:focus-visible { outline: 3px solid #1565C0; outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; background: #fff; padding: 10px 14px; z-index: 10; }
.skip:focus { left: 8px; }
.wrap { max-width: 1280px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
@media (min-width: 700px) { .wrap { padding-left: 24px; padding-right: 24px; } }
.section { padding-top: 36px; padding-bottom: 8px; }
.narrow { max-width: 820px; }
.muted { color: var(--muted); margin: 0; }

/* Type */
.h-page, .h-xl, .h-lg, .h-md, .h-sm, legend { font-family: var(--display); text-transform: uppercase; margin: 0; line-height: 1.05; }
.h-page { font-weight: 800; font-size: clamp(36px, 5vw, 50px); }
.h-xl { font-weight: 800; font-size: clamp(28px, 3.6vw, 36px); margin-bottom: 4px; }
.h-lg { font-weight: 700; font-size: 30px; margin-bottom: 6px; }
.h-md { font-weight: 700; font-size: 24px; }
.h-sm { font-weight: 700; font-size: 20px; }

/* Header / footer */
.site-header { background: var(--char); color: #fff; border-bottom: 4px solid var(--red); }
.header-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; }
.brand:hover { color: #fff; }
.logo { display: block; width: auto; max-width: 100%; }
.logo-header { height: 52px; }
.logo-footer { height: 64px; }
.logo-curtain { height: 72px; }
@media (max-width: 600px) { .logo-header { height: 44px; } }
.main-nav { display: flex; flex-wrap: wrap; gap: 2px; margin: 0 0 0 -10px; }
.main-nav a { color: #fff; text-decoration: none; font-weight: 600; font-size: 17px; padding: 12px 12px; border-radius: 6px; }
.main-nav a:hover, .main-nav a[aria-current] { background: #2A2A2A; color: #fff; }
.site-footer { background: var(--char); color: #CFCFCF; margin-top: 56px; }
.footer-col { display: flex; flex-direction: column; gap: 8px; padding-top: 28px; padding-bottom: 28px; font-size: 15px; }
.footer-brand { display: inline-block; align-self: flex-start; margin-bottom: 6px; }
.footer-menu { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 24px 20px; padding-top: 36px; padding-bottom: 28px; border-bottom: 1px solid #333; }
.footer-group h2 { margin: 0 0 10px; font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: .5px; text-transform: uppercase; color: #fff; }
.footer-group ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.footer-group a { overflow-wrap: anywhere; display: inline-flex; align-items: center; min-height: 36px; color: #D6D6D6; text-decoration: none; font-size: 16px; }
.footer-group a:hover { color: #fff; text-decoration: underline; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 8px; border: 2px solid transparent; font-family: var(--body); font-weight: 700; font-size: 17px; text-decoration: none; cursor: pointer; text-align: center; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-text); color: #fff; }
.btn-dark { background: var(--char); color: #fff; }
.btn-dark:hover { background: #333; color: #fff; }
.btn-outline { background: #fff; color: var(--red-text); border-color: var(--red-text); }
.btn-xl { min-height: 60px; font-family: var(--display); font-size: 24px; letter-spacing: .5px; padding: 0 30px; }
.btn-go { max-width: 100%; flex-wrap: wrap; min-height: 68px; font-family: var(--display); font-weight: 800; font-size: clamp(22px, 3vw, 30px); letter-spacing: .5px; padding: 0 32px; }
.btn-block { display: flex; width: 100%; }
.link-btn { font-weight: 700; color: var(--red-text); min-height: 44px; display: inline-flex; align-items: center; padding: 0 6px; }

/* Hero */
.hero { background: var(--char-2); color: #fff; padding: 44px 0 48px; }
.hero-col { display: flex; flex-direction: column; gap: 18px; }
.hero h1 { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(40px, 6vw, 58px); line-height: 1; text-transform: uppercase; }
.lead { margin: 0; font-size: 20px; color: #D6D6D6; max-width: 720px; }
.search { display: flex; flex-wrap: wrap; gap: 12px; max-width: 820px; }
.search input { min-width: 0; flex: 1 1 260px; min-height: 60px; padding: 0 20px; font: 20px var(--body); border: 3px solid #fff; border-radius: 8px; color: var(--ink); }

/* Panels */
.panel { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 24px; }
.panel-dark { background: var(--char); color: #fff; border-color: var(--char); }

/* Finder */
.finder { display: flex; flex-direction: column; gap: 26px; }
.group { border: 0; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.group legend { font-weight: 700; font-size: 20px; margin-bottom: 10px; padding: 0; }
.finder .group legend { font-size: 24px; margin-bottom: 12px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; }
.tile, .chip, .check { position: relative; }
.tile input, .chip input, .check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tile span { display: flex; flex-direction: column; gap: 6px; min-height: 100px; padding: 16px 18px; border: 3px solid var(--char); border-radius: 10px; background: #fff; cursor: pointer; }
.tile strong { font-family: var(--display); font-weight: 800; font-size: 34px; line-height: 1; }
.tile small { font-size: 16px; }
.tile input:checked + span { background: var(--red); border-color: var(--red); color: #fff; }
.tile input:focus-visible + span, .chip input:focus-visible + span, .check input:focus-visible + span { outline: 3px solid #1565C0; outline-offset: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip span { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 14px; border: 2px solid var(--chip-line); border-radius: 8px; background: #fff; font-weight: 600; font-size: 16px; cursor: pointer; }
.chip input:checked + span { background: var(--red); border-color: var(--red); color: #fff; }
.chip .count { font-style: normal; font-weight: 500; }
.chip.is-empty span { color: #6B6B6B; background: #F7F6F4; border-color: #E4E2DE; }
.chip.is-empty input:checked + span { color: #fff; background: var(--red); border-color: var(--red); }
.chip-gap { width: 16px; }
.finder-go { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; border-top: 2px solid var(--photo); padding-top: 22px; }

/* Section headers & grids */
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.section > .muted { margin-bottom: 16px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.band { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-top: 40px; padding-bottom: 36px; }

/* Cards */
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.card-photo { position: relative; height: 160px; background: var(--photo); display: flex; align-items: center; justify-content: center; }
.photo-icon { color: #9A968F; stroke-width: 1.4; }
.badge { position: absolute; top: 10px; left: 10px; font-weight: 800; font-size: 13px; padding: 5px 9px; border-radius: 6px; letter-spacing: .5px; }
.badge-new { background: var(--red); color: #fff; }
.badge-gem { background: #fff; color: var(--ink); border: 2px solid var(--char); }
.card-body { padding: 16px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card-title { margin: 0; font-size: 19px; line-height: 1.25; }
.card-title a { color: var(--ink); text-decoration: none; }
.card-title a:hover { text-decoration: underline; }
.model { font-size: 14px; color: var(--muted); margin-top: -6px; }
.model-lg { color: var(--ink); }
.card-blurb { margin: 0; font-size: 15px; color: var(--ink-2); }
.card-price { margin-top: auto; border-top: 1px solid var(--photo); padding-top: 12px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; }
.price-label { width: 100%; font-size: 14px; color: var(--muted); }
.price { font-family: var(--display); font-weight: 800; font-size: 32px; color: var(--red-text); line-height: 1; }
.price-xl { font-size: 60px; }
.price-store { font-weight: 600; font-size: 15px; }
.price-stores { font-weight: 600; font-size: 15px; }

/* Tags */
.tags { display: flex; flex-wrap: wrap; gap: 6px; }
.tag { display: inline-flex; align-items: center; min-height: 40px; padding: 0 10px; border-radius: 6px; border: 2px solid; font-weight: 700; font-size: 14px; text-decoration: none; }
.tags-lg .tag { min-height: 44px; padding: 0 12px; font-size: 15px; }
.tags-lg .tag::after { content: '›'; margin-left: 6px; font-size: 18px; }
.tag-dark { background: var(--char); color: #fff; border-color: var(--char); }
.tag-dark:hover { background: #333; color: #fff; }
.tag-red { background: var(--red-soft); color: #8A0B1F; border-color: var(--red-soft); }
.tag-red:hover { border-color: #8A0B1F; color: #8A0B1F; }
.tag-light { background: #fff; color: var(--ink); border-color: var(--chip-line); }
.tag-light:hover { border-color: var(--ink); color: var(--ink); }

/* Trades */
.trade-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; margin-top: 16px; }
.trade { display: flex; flex-direction: column; justify-content: space-between; gap: 14px; min-height: 120px; padding: 18px; background: var(--char); color: #fff; border-radius: 12px; text-decoration: none; border: 3px solid var(--char); }
.trade:hover { border-color: var(--red); color: #fff; }
.trade-icon { display: inline-flex; width: 48px; height: 48px; border-radius: 8px; background: var(--red); align-items: center; justify-content: center; }
.trade-row { display: flex; flex-direction: column; gap: 2px; }
.trade-row strong { font-family: var(--display); font-weight: 800; font-size: 26px; text-transform: uppercase; }
.trade-row small { font-size: 15px; color: #D6D6D6; }

/* News */
.news-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; margin-top: 16px; }
.news-item { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; background: #fff; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); text-decoration: none; }
.news-item:hover { border-color: var(--ink); color: var(--ink); }
.news-item small { color: #5A5A5A; font-size: 14px; }
.news-item strong { font-size: 18px; font-weight: 600; line-height: 1.3; }

/* Results */
.results-page { display: flex; flex-direction: column; gap: 18px; }
.active { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-weight: 600; }
.pill-remove { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 12px 0 14px; background: var(--red); color: #fff; border: 0; border-radius: 22px; font: 700 16px var(--body); cursor: pointer; }
.results-layout { display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.filters { flex: 1 1 280px; max-width: 100%; display: flex; flex-direction: column; gap: 22px; padding: 20px; }
@media (min-width: 900px) { .filters { max-width: 330px; } }
.filters-head { display: flex; align-items: center; justify-content: space-between; }
.results { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.tip { font-size: 16px; }
.empty { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.input { width: 100%; min-height: 50px; padding: 0 14px; font: 17px var(--body); border: 2px solid var(--chip-line); border-radius: 8px; color: var(--ink); background: #fff; }
.input-lg { min-height: 56px; font-size: 20px; border: 0; }
.check span { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 12px; border: 2px solid var(--chip-line); border-radius: 8px; font-weight: 600; cursor: pointer; }
.check span::before { content: ''; width: 24px; height: 24px; flex: none; border: 2px solid #9A968F; border-radius: 5px; background: #fff center/16px no-repeat; }
.check input:checked + span { border-color: var(--red); background: #FBEDEF; }
.check input:checked + span::before { background-color: var(--red); border-color: var(--red); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E"); }

/* Product */
.product { display: flex; flex-direction: column; gap: 28px; }
.back { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 700; text-decoration: none; align-self: flex-start; }
.product-top { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.product-photo { flex: 1 1 380px; min-width: 0; height: 400px; background: var(--photo); border-radius: 12px; display: flex; align-items: center; justify-content: center; }
.product-info { flex: 1 1 440px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.product-blurb { margin: 0; font-size: 19px; }
.tag-help { display: flex; flex-direction: column; gap: 8px; }
.tag-help > span { font-size: 15px; font-weight: 600; color: var(--muted); }
.buybox { background: #fff; border: 3px solid var(--red); border-radius: 12px; padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.buybox-stores { font-size: 20px; }
.popular { background: var(--char); color: #fff; border-radius: 12px; padding: 18px 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.pill { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; background: var(--char-3); color: #fff; border: 2px solid #5A5A5A; border-radius: 22px; font-weight: 700; text-decoration: none; }
.pill:hover { border-color: #fff; color: #fff; }
.store-list { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.store-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding: 16px; border: 1px solid var(--line); border-radius: 10px; }
.store-best { border: 2px solid var(--green); background: #F1F8F2; }
.store-name { flex: 1 1 200px; display: flex; flex-direction: column; }
.store-name strong { font-size: 20px; }
.store-name small { font-size: 15px; color: var(--ink-2); }
.store-price { font-family: var(--display); font-weight: 800; font-size: 32px; }
.split { display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; }
.split > * { flex: 1 1 360px; min-width: 0; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 12px; margin: 12px 0 0; }
.facts div { background: var(--bg); border-radius: 8px; padding: 14px 16px; }
.facts dt { font-size: 14px; color: var(--muted); }
.facts dd { margin: 0; font-size: 20px; font-weight: 700; }
.alert-box form { display: flex; flex-direction: column; gap: 12px; }
.alert-box p { color: #D6D6D6; }
.alert-box label { font-weight: 600; }
.hp { position: absolute; left: -9999px; }

/* Photo that failed to load: show the illustration instead */
.photo-fallback { display: none; }
.photo-failed img, .photo-failed .photo-credit { display: none; }
.photo-failed .photo-fallback { display: contents; }

@media (max-width: 360px) { .btn-go { padding: 0 18px; font-size: 22px; } }

/* Featured collection banners (homepage) */
.promos { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; padding-top: 28px; }
.promo { position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 6px; min-height: 200px; padding: 22px 22px 20px; border-radius: 14px; background: var(--char) center/cover no-repeat; color: #fff; text-decoration: none; border-bottom: 6px solid var(--red); }
.promo:hover { color: #fff; }
.promo:hover .promo-cta { background: var(--red-text); }
.promo-art { position: absolute; right: -18px; bottom: -22px; color: var(--red); opacity: .55; }
.promo-art svg { stroke-width: 1.6; }
.promo-kicker { position: relative; align-self: flex-start; background: var(--red); font-weight: 800; font-size: 12px; letter-spacing: 1px; text-transform: uppercase; padding: 4px 8px; border-radius: 4px; }
.promo-title { position: relative; font-family: var(--display); font-weight: 800; font-size: 34px; line-height: 1; text-transform: uppercase; margin-top: 4px; }
.promo-text { position: relative; color: #D6D6D6; font-size: 16px; max-width: 26ch; }
.promo-cta { position: relative; margin-top: auto; align-self: flex-start; background: var(--red); font-weight: 700; font-size: 16px; padding: 10px 16px; border-radius: 8px; }
@media (max-width: 900px) {
  .promos { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-left: 16px; gap: 12px; padding-bottom: 6px; }
  .promo { flex: 0 0 84%; scroll-snap-align: start; }
  .promo-art { opacity: .3; transform: scale(.8); transform-origin: bottom right; }
}

/* Retired tools */
.badge-retired { background: #5A5A5A; color: #fff; }
.card.is-retired .card-photo { filter: grayscale(1); opacity: .75; }
.retired-tag { align-self: flex-start; background: #5A5A5A; color: #fff; font-weight: 800; font-size: 14px; letter-spacing: .5px; padding: 6px 10px; border-radius: 6px; }
.retired-note { background: #F1F0EE; border-left: 0; border: 2px solid #5A5A5A; border-radius: 10px; padding: 14px 16px; font-size: 17px; }

/* Photos & battery shop */
.card-photo, .product-photo { position: relative; }
.photo-soon { position: absolute; bottom: 8px; right: 10px; font-size: 12px; font-weight: 600; color: #5A5A5A; }
.product-photo .photo-soon { font-size: 14px; bottom: 12px; right: 14px; }
.card-photo img, .product-photo img { width: 100%; height: 100%; object-fit: contain; padding: 12px; background: #fff; }
.badge-ah { left: auto; right: 10px; background: var(--char); color: #fff; }
.jump { display: flex; flex-wrap: wrap; gap: 10px; }
.batt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin-top: 16px; }
.batt { display: flex; flex-direction: column; gap: 4px; padding: 16px; background: #fff; border: 1px solid var(--line); border-top: 6px solid var(--red); border-radius: 10px; color: var(--ink); text-decoration: none; }
.batt:hover { border-color: var(--ink); color: var(--ink); }
.batt-ah { font-family: var(--display); font-weight: 800; font-size: 52px; line-height: 1; }
.batt-ah small { font-size: 22px; margin-left: 4px; }
.batt-line { font-weight: 700; color: var(--red-text); text-transform: uppercase; font-size: 15px; letter-spacing: .3px; }
.batt-name { font-size: 15px; }
.batt-sub { margin: 28px 0 12px; }
.lines dd { font-size: 16px; font-weight: 500; }

/* YouTube reviews */
.watch-btn { align-self: flex-start; }
.reviews .section-head { align-items: flex-end; }
.reviews-layout { display: flex; flex-wrap: wrap; gap: 20px; align-items: flex-start; }
.video-main { flex: 999 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.video-stage { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #1F1F1F; border-radius: 10px; overflow: hidden; }
.video-stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-cover { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: #1F1F1F; cursor: pointer; }
.video-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 84px; height: 84px; border-radius: 50%; background: var(--red); display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 18px rgba(0,0,0,.35); }
.video-cover:hover .video-play { background: var(--red-text); }
.video-rank { position: absolute; top: 12px; left: 12px; background: var(--red); color: #fff; font-weight: 800; font-size: 13px; letter-spacing: .5px; padding: 5px 9px; border-radius: 5px; }
.video-len { position: absolute; bottom: 12px; right: 12px; background: rgba(0,0,0,.8); color: #fff; font-weight: 700; font-size: 14px; padding: 3px 7px; border-radius: 4px; }
.video-title { font-size: 20px; line-height: 1.25; margin-top: 6px; }
.video-list { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.video-pick { display: flex; gap: 12px; align-items: flex-start; text-align: left; padding: 8px; background: #fff; border: 2px solid var(--photo); border-radius: 10px; cursor: pointer; font: inherit; color: var(--ink); }
.video-pick:hover { border-color: var(--chip-line); }
.video-pick[aria-current="true"] { border-color: var(--red); }
.video-thumb { position: relative; flex: none; width: 140px; aspect-ratio: 16 / 9; border-radius: 6px; overflow: hidden; background: #1F1F1F; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.video-num { position: absolute; top: 5px; left: 5px; background: #fff; color: var(--ink); font-weight: 800; font-size: 12px; padding: 1px 6px; border-radius: 4px; }
.video-text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.video-text strong { font-size: 15px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.video-text small { color: var(--muted); font-size: 14px; }
.video-more { font-weight: 700; min-height: 44px; display: inline-flex; align-items: center; }
.video-note { font-size: 14px; border-top: 1px solid var(--photo); padding-top: 12px; margin-top: 16px; }

/* My Garage (coming soon) */
.soon { align-self: flex-start; background: var(--red); color: #fff; font-weight: 800; font-size: 14px; letter-spacing: 1px; padding: 6px 10px; border-radius: 6px; }
.hero-note { color: #BDBDBD; font-size: 15px; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-top: 16px; }
.feature { display: flex; gap: 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.feature-icon { flex: none; display: inline-flex; width: 48px; height: 48px; border-radius: 8px; background: var(--red); color: #fff; align-items: center; justify-content: center; }
.feature strong { font-size: 19px; }
.feature p { margin: 4px 0 0; color: var(--ink-2); font-size: 16px; }
.garage-preview { display: flex; flex-direction: column; gap: 18px; }
.garage-head { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.garage-head > div { display: flex; flex-direction: column; flex: 1 1 220px; }
.avatar { width: 64px; height: 64px; border-radius: 50%; background: var(--red); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; font-size: 28px; }
.garage-name { font-family: var(--display); font-weight: 800; font-size: 34px; text-transform: uppercase; line-height: 1.05; }
.example { font-family: var(--body); font-size: 13px; font-weight: 700; letter-spacing: .5px; vertical-align: middle; background: var(--bg); color: var(--muted); border: 1px solid var(--line); border-radius: 4px; padding: 3px 6px; text-transform: uppercase; }
.garage-share { background: var(--char); color: #fff; font-weight: 700; border-radius: 8px; padding: 12px 18px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.stats div { background: var(--bg); border-radius: 10px; padding: 14px 16px; }
.stats small { display: block; color: var(--muted); font-weight: 600; }
.stats strong { font-family: var(--display); font-weight: 800; font-size: 44px; line-height: 1.05; }
.batteries { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; }
.battery { display: flex; align-items: center; gap: 12px; background: var(--bg); border-radius: 8px; padding: 12px 14px; color: var(--red-text); }
.battery strong { display: block; color: var(--ink); font-size: 17px; }
.battery small { color: var(--muted); font-size: 15px; }
.lineup { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; }
.lineup-item { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); text-decoration: none; }
.lineup-item:hover { border-color: var(--ink); color: var(--ink); }
.lineup-item small { color: var(--muted); }

.garage-link { color: #fff; font-weight: 700; margin-top: 6px; display: inline-block; }
.garage-link:hover { color: #fff; }

/* Pre-launch curtain */
.curtain-page { display: none; }
html.curtain body > *:not(#curtain) { display: none !important; }
html.curtain .curtain-page { display: flex; min-height: 100vh; align-items: center; justify-content: center; padding: 24px 16px; background: var(--char-2); color: #fff; border-top: 6px solid var(--red); }
.curtain-box { max-width: 620px; display: flex; flex-direction: column; gap: 18px; }
.curtain-box h1 { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(48px, 9vw, 76px); line-height: 1; text-transform: uppercase; }
.curtain-box p { margin: 0; font-size: 20px; color: #D6D6D6; }
.curtain-box form { display: flex; flex-wrap: wrap; gap: 12px; }
.curtain-box form .input { flex: 1 1 260px; }
.curtain-box small { color: #BDBDBD; font-size: 14px; }

/* Text pages */
.prose p { font-size: 18px; max-width: 70ch; }
.prose h1 { margin-bottom: 16px; }

@media (max-width: 600px) {
  .main-nav a { padding: 10px 8px; font-size: 16px; }
  .panel { padding: 18px; }
  .product-photo { height: 260px; }
  .price-xl { font-size: 48px; }
}

/* Collection pages */
.hero .promo-kicker { display: inline-block; margin-bottom: 6px; }
.collection-jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.count-note { font-size: .6em; vertical-align: middle; }

/* Compare */
.cmp-btn { margin-top: 8px; width: 100%; background: transparent; border: 2px solid var(--line, #DEDCD8); border-radius: 8px; padding: 8px 10px; font: inherit; font-weight: 700; font-size: 14px; color: inherit; cursor: pointer; min-height: 40px; }
.cmp-btn:hover { border-color: #161616; }
.cmp-btn.is-on { background: #161616; color: #fff; border-color: #161616; }
.cmp-btn-lg { width: auto; margin-top: 10px; padding: 10px 16px; }
.cmp-tray { position: fixed; left: 50%; bottom: 16px; transform: translateX(-50%); z-index: 50; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; justify-content: center; background: #161616; color: #fff; padding: 10px 14px; border-radius: 12px; box-shadow: 0 8px 24px rgba(0,0,0,.3); max-width: calc(100% - 32px); }
.cmp-tray .cmp-clear { background: none; border: 0; color: #D6D6D6; font: inherit; text-decoration: underline; cursor: pointer; padding: 8px 4px; }
.cmp-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.cmp-table { width: 100%; border-collapse: collapse; min-width: 560px; table-layout: fixed; }
.cmp-table th, .cmp-table td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--line, #DEDCD8); font-size: 15px; }
.cmp-table tbody th { width: 160px; font-weight: 700; color: #4A4A4A; font-size: 14px; }
.cmp-table thead th:first-child { width: 160px; }
.cmp-head { display: flex; flex-direction: column; gap: 4px; }
.cmp-head a { font-weight: 800; color: inherit; }
.cmp-remove { align-self: flex-start; background: none; border: 0; padding: 4px 0; color: var(--red-text, #A50D25); font: inherit; font-size: 14px; text-decoration: underline; cursor: pointer; }
.cmp-pick { display: flex; flex-direction: column; gap: 6px; font-weight: 700; }
.cmp-pick .input { width: 100%; min-width: 0; }
.cmp-best { background: #FBEDEF; font-weight: 700; }
.cmp-badge { display: inline-block; background: var(--red, #C8102E); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .5px; padding: 2px 6px; border-radius: 4px; vertical-align: middle; }
.cmp-empty { padding: 12px; }
.small-note { font-size: 14px; margin-top: 10px; }
.vs-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.vs-link { display: flex; flex-direction: column; gap: 4px; background: #fff; border: 1px solid var(--line, #DEDCD8); border-left: 5px solid var(--red, #C8102E); border-radius: 8px; padding: 12px 14px; color: inherit; text-decoration: none; }
.vs-link:hover { border-color: #161616; }
.vs-link span { color: #4A4A4A; font-size: 15px; }
.vs-summary p { margin: 0 0 8px; font-size: 17px; }
.vs-summary { margin: 16px 0; }
.lead-dark { font-size: 18px; color: #4A4A4A; margin: 4px 0 0; }
.btn-ghost { background: #fff; color: #161616; border: 2px solid #161616; }
@media (max-width: 600px) { .cmp-table tbody th, .cmp-table thead th:first-child { width: 110px; } .cmp-table { min-width: 520px; } }

/* Deals, notes, battery helper */
.deal-list { display: grid; gap: 12px; }
.deal { background: #fff; border: 1px solid var(--line, #DEDCD8); border-left: 6px solid var(--red, #C8102E); border-radius: 10px; padding: 16px 18px; }
.deal p { margin: 6px 0 12px; }
.deal-top { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin-bottom: 6px; }
.deal-store { background: #161616; color: #fff; font-weight: 800; font-size: 13px; padding: 3px 8px; border-radius: 4px; text-transform: uppercase; letter-spacing: .5px; }
.deal-dates { font-weight: 700; color: var(--red-text, #A50D25); }
.deal-actions { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
.deal-source { font-size: 14px; }
.note-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.note p { margin: 6px 0 0; }
.helper .group { margin-bottom: 18px; }
.helper-result:empty { display: none; }
.helper-result { margin-top: 16px; }
.helper-answer { background: #161616; color: #fff; border-radius: 12px; padding: 20px; }
.helper-answer h2, .helper-answer h3 { color: #fff; }
.helper-answer p { color: #E2E2E2; }
.helper-picks { list-style: none; padding: 0; margin: 10px 0 16px; display: grid; gap: 8px; }
.helper-picks a { display: flex; flex-direction: column; background: #262626; color: #fff; text-decoration: none; border-radius: 8px; padding: 10px 12px; }
.helper-picks a span { color: #CFCFCF; font-size: 14px; }
.helper-answer .btn-ghost { background: transparent; color: #fff; border-color: #fff; }
.cmp-table tbody th, .cmp-table thead th:first-child { position: sticky; left: 0; background: #fff; z-index: 1; }
.cmp-swipe { display: none; font-size: 14px; margin: 0 0 8px; }
@media (max-width: 700px) { .cmp-swipe { display: block; } }

.guide-tip { background: #FBEDEF; border-left: 5px solid var(--red, #C8102E); border-radius: 8px; padding: 10px 14px; margin: 8px 0 16px; font-weight: 600; }
.guides-band { display: grid; gap: 16px; }
.guide-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.guide-pills .pill { background: #fff; color: #161616; border: 2px solid #161616; }
.guide-pills .pill-red { background: var(--red, #C8102E); color: #fff; border-color: var(--red, #C8102E); }
.guide-line { margin: -4px 0 16px; }
.badge-video { position: absolute; left: 10px; bottom: 10px; top: auto; right: auto; display: inline-flex; align-items: center; gap: 4px; background: #161616; color: #fff; border: 0; }

/* Articles */
.article section { margin-top: 24px; }
.article p { font-size: 18px; line-height: 1.6; }
.mini-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 10px; margin: 12px 0; }
.mini { display: flex; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line, #DEDCD8); border-radius: 10px; padding: 10px 12px; color: inherit; text-decoration: none; }
.mini:hover { border-color: #161616; }
.mini-icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; background: #F4F3F1; border-radius: 8px; color: #5A5A5A; }
.mini strong { display: block; font-size: 15px; line-height: 1.25; }
.mini small { color: #4A4A4A; }
.more-reads ul { margin: 8px 0 0; padding-left: 18px; }
.more-reads li { margin-bottom: 6px; }

/* My Garage */
.garage-actions { display: grid; gap: 10px; margin: 14px 0 8px; }
.garage-actions .btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.btn-light { background: #fff; color: #161616; border: 2px solid #fff; }
.garage-box .btn.is-on { background: #2E7D32; border-color: #2E7D32; color: #fff; }
.garage-status { min-height: 1.4em; margin: 6px 0; color: #fff; font-weight: 600; }
.garage-status a { color: #fff; }
.garage-small { color: #CFCFCF; }
.garage-page { max-width: 900px; }
.garage-signin { max-width: 560px; margin: 0 auto; }
.garage-form { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; margin-top: 12px; }
.garage-form .check span { overflow-wrap: anywhere; }
.garage-form label { font-weight: 700; }
.garage-form .check { font-weight: 500; }
.handle-row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.handle-row span { color: #4A4A4A; font-size: 15px; }
.handle-row .input { flex: 1; min-width: 140px; }
.or { display: flex; align-items: center; gap: 10px; color: #6A6A6A; margin: 14px 0; }
.or::before, .or::after { content: ''; flex: 1; border-top: 1px solid var(--line, #DEDCD8); }
.garage-error, .garage-note { color: var(--red-text, #A50D25); font-weight: 600; }
.garage-top .garage-head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.garage-top .garage-head > div { flex: 1; min-width: 160px; display: flex; flex-direction: column; }
.garage-top .garage-name { font-size: 24px; margin: 0; }
.garage-section { margin-top: 28px; }
.g-list { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 8px; }
.g-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; background: #fff; border: 1px solid var(--line, #DEDCD8); border-radius: 10px; padding: 10px 14px; }
.g-row > a { display: flex; flex-direction: column; color: inherit; text-decoration: none; min-width: 0; flex: 1 1 260px; }
.g-row small { color: #4A4A4A; }
.g-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.g-actions button, .g-actions a { background: #F4F3F1; border: 1px solid var(--line, #DEDCD8); border-radius: 8px; padding: 8px 10px; min-height: 40px; font: inherit; font-size: 14px; font-weight: 600; color: #161616; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; }
.g-actions button:hover, .g-actions a:hover { border-color: #161616; }
.add-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.add-row .input { flex: 1 1 260px; min-width: 0; }
.settings-links { margin-top: 14px; font-size: 15px; }
.garage-toast { position: fixed; left: 50%; bottom: 20px; transform: translateX(-50%); background: #161616; color: #fff; padding: 12px 16px; border-radius: 10px; z-index: 60; max-width: calc(100% - 32px); font-weight: 600; box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.garage-cta { margin-top: 24px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; justify-content: space-between; }
.garage-form .input, .add-row .input { border: 2px solid #CFCAC2; background: #fff; }
.save-row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.save-msg { font-weight: 700; color: #2E7D32; }
.save-msg.is-error { color: var(--red-text, #A50D25); }
.google-gis { display: flex; justify-content: center; min-height: 44px; }
.google-gis:empty { min-height: 0; }

/* Member photo credit + tool page gallery */
.team-credit { position: absolute; left: 10px; bottom: 10px; background: rgba(22,22,22,.78); color: #fff; font-weight: 800; font-size: 12px; letter-spacing: .6px; padding: 4px 8px; border-radius: 5px; text-decoration: none; z-index: 2; max-width: calc(100% - 20px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
a.team-credit:hover { background: var(--red, #C8102E); }
.card-photo .team-credit { bottom: auto; top: 10px; left: auto; right: 10px; font-size: 11px; }
.product-photo-wrap { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.product-gallery { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 10px; border-radius: 12px; -webkit-overflow-scrolling: touch; }
.product-gallery .product-photo { flex: 0 0 100%; scroll-snap-align: start; }
.gallery-hint { font-size: 14px; color: #4A4A4A; font-weight: 600; }

/* Garage photos */
.photo-form { display: grid; grid-template-columns: auto 1fr 1fr; gap: 8px; align-items: center; margin: 12px 0; }
.photo-form .save-msg { grid-column: 1 / -1; }
.photo-pick { cursor: pointer; }
@media (max-width: 700px) { .photo-form { grid-template-columns: 1fr; } }
.rules-box { margin: 12px 0; border-left: 5px solid var(--red, #C8102E); }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin-top: 12px; }
.photo-card { margin: 0; background: #fff; border: 1px solid var(--line, #DEDCD8); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; }
.photo-card img, .public-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: #F4F3F1; }
.photo-card figcaption { padding: 10px; display: grid; gap: 8px; }
.photo-card .input { font-size: 15px; min-height: 40px; padding: 6px 10px; }
.photo-status { font-weight: 700; font-size: 13px; }
.status-pending { color: #8A5A00; } .status-approved { color: #2E7D32; } .status-rejected { color: #6A6A6A; }
.public-photos { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.public-photo { margin: 0; position: relative; background: #fff; border-radius: 10px; overflow: hidden; border: 1px solid var(--line, #DEDCD8); }
.public-photo figcaption { padding: 8px 12px; font-weight: 600; }
.public-photo .report-btn { position: absolute; top: 8px; right: 8px; background: rgba(22,22,22,.7); color: #fff; border: 0; border-radius: 6px; font: inherit; font-size: 12px; padding: 4px 8px; cursor: pointer; }
button.link-btn { background: none; border: 0; padding: 0; font: inherit; color: var(--red-text, #A50D25); text-decoration: underline; cursor: pointer; min-height: 0; }

/* Admin */
.admin-section { margin-top: 28px; }
.admin-flash { position: sticky; top: 8px; z-index: 5; background: #161616; color: #fff; padding: 10px 14px; border-radius: 8px; font-weight: 700; }
.admin-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.admin-grid.small { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.admin-card { background: #fff; border: 1px solid var(--line, #DEDCD8); border-radius: 10px; overflow: hidden; display: flex; flex-direction: column; }
.admin-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: #F4F3F1; }
.admin-noimg { aspect-ratio: 4 / 3; display: grid; place-items: center; background: #F4F3F1; font-weight: 700; color: #4A4A4A; }
.admin-meta { padding: 10px 12px; display: grid; gap: 4px; }
.admin-actions { padding: 0 12px 12px; display: flex; flex-wrap: wrap; gap: 6px; }
.admin-actions .btn { min-height: 40px; padding: 6px 12px; font-size: 14px; }
.btn.danger { color: var(--red-text, #A50D25); border-color: var(--red-text, #A50D25); }

/* Admin v2 */
.admin-links { margin: 0 0 12px; }
.admin-tabs { display: flex; flex-wrap: wrap; gap: 6px; border-bottom: 3px solid #161616; margin-top: 8px; }
.admin-tab { background: #E6E3DE; border: 0; border-radius: 8px 8px 0 0; padding: 12px 16px; font: inherit; font-weight: 800; cursor: pointer; color: #161616; }
.admin-tab.is-on { background: #161616; color: #fff; }
.badge-count { display: inline-block; background: var(--red, #C8102E); color: #fff; border-radius: 999px; padding: 1px 8px; font-size: 13px; margin-left: 4px; }
.admin-views { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0; }
.pill-btn { background: #fff; border: 2px solid #161616; border-radius: 999px; padding: 8px 14px; font: inherit; font-weight: 700; cursor: pointer; min-height: 40px; }
.pill-btn.is-on { background: #161616; color: #fff; }
.strike { background: #FBEDEF; color: var(--red-text, #A50D25); font-weight: 800; font-size: 12px; padding: 2px 6px; border-radius: 4px; }
.admin-meta .reason { color: var(--red-text, #A50D25); }
.pager { display: flex; gap: 12px; align-items: center; justify-content: center; margin: 16px 0; flex-wrap: wrap; }
.admin-dialog { border: 0; border-radius: 12px; padding: 0; max-width: 520px; width: calc(100% - 32px); box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.admin-dialog::backdrop { background: rgba(0,0,0,.5); }
.admin-dialog-body { padding: 22px; display: grid; gap: 12px; }
.dlg-group { border: 0; padding: 0; margin: 0; display: grid; gap: 6px; }
.dlg-group legend { font-weight: 800; margin-bottom: 6px; }
.dialog-actions { display: flex; gap: 8px; justify-content: flex-end; flex-wrap: wrap; margin-top: 6px; }
.admin-bar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; border-left: 5px solid #161616; }
.public-photo .admin-actions { padding: 8px 12px 12px; }
/* Members table */
.members-filters { display: grid; grid-template-columns: 2fr 1fr 1fr auto; gap: 8px; margin-bottom: 12px; }
@media (max-width: 800px) { .members-filters { grid-template-columns: 1fr; } }
.members-table { width: 100%; border-collapse: collapse; min-width: 1100px; background: #fff; }
.members-table th, .members-table td { padding: 8px 10px; border-bottom: 1px solid var(--line, #DEDCD8); text-align: left; font-size: 14px; white-space: nowrap; }
.members-table td.num { text-align: right; }
.members-table .sort { background: none; border: 0; font: inherit; font-weight: 800; cursor: pointer; padding: 4px 0; color: #161616; }
.members-table .sort.is-on { color: var(--red-text, #A50D25); }
.members-table .btn { min-height: 34px; padding: 4px 10px; font-size: 13px; }
.status-banned { color: var(--red-text, #A50D25); font-weight: 700; }
.status-active { color: #2E7D32; font-weight: 600; }
/* Member photo flags */
.photo-wrap { position: relative; }
.shared-flag, .removed-flag { position: absolute; left: 8px; top: 8px; font-size: 11px; font-weight: 800; letter-spacing: .5px; padding: 3px 7px; border-radius: 4px; color: #fff; }
.shared-flag { background: #2E7D32; }
.removed-flag { background: var(--red, #C8102E); }
a.photo-status { font-weight: 700; font-size: 13px; }
.status-declined { color: #4A4A4A; } .status-removed { color: var(--red-text, #A50D25); }
.removed-photos { margin-top: 22px; padding-top: 14px; border-top: 2px dashed var(--line, #DEDCD8); }
.photo-card.is-removed img { filter: grayscale(.6); opacity: .8; }
.admin-flash.is-error { background: var(--red-text, #A50D25); cursor: pointer; }
.admin-review { padding: 8px 12px 12px; display: grid; gap: 8px; border-top: 1px solid var(--line, #DEDCD8); }
.admin-row { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.admin-row .btn { min-height: 36px; padding: 4px 10px; font-size: 13px; }
.is-focus { outline: 4px solid var(--red, #C8102E); outline-offset: 3px; border-radius: 10px; transition: outline-color .3s; }

/* Reviews */
.member-reviews { margin-top: 28px; }
.review-summary { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin: 6px 0 14px; font-size: 17px; }
.stars { color: #E0A100; letter-spacing: 1px; font-size: 18px; }
.stars-off { color: #D6D2CB; }
.review-list { display: grid; gap: 12px; }
.review { background: #fff; border: 1px solid var(--line, #DEDCD8); border-radius: 10px; padding: 14px 16px; }
.review-head { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.review-title { font-size: 17px; }
.review-body { margin: 8px 0; line-height: 1.55; }
.review-by { font-size: 14px; color: #4A4A4A; display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.review-write { margin-top: 18px; }
.review-form { display: grid; gap: 10px; background: #fff; border: 1px solid var(--line, #DEDCD8); border-radius: 10px; padding: 16px; }
.review-form textarea { min-height: 120px; resize: vertical; font: inherit; }
.review-form .input { border: 2px solid #CFCAC2; }
.star-pick { border: 0; padding: 0; margin: 0; display: inline-flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.star-pick legend { font-weight: 700; margin-bottom: 4px; width: 100%; }
.star-pick input { position: absolute; opacity: 0; pointer-events: none; }
.star-pick label { font-size: 34px; color: #D6D2CB; cursor: pointer; line-height: 1; padding: 0 2px; }
.star-pick input:checked ~ label, .star-pick label:hover, .star-pick label:hover ~ label { color: #E0A100; }
.star-pick input:focus-visible + label { outline: 3px solid var(--red, #C8102E); border-radius: 4px; }
.report-form { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.admin-inline { display: inline-flex; gap: 6px; }
.admin-inline .btn { min-height: 32px; padding: 2px 10px; font-size: 13px; }
.card-rating { font-size: 14px; color: #4A4A4A; display: flex; gap: 4px; align-items: center; }
.card-rating .stars { font-size: 15px; }
.product-rating { display: inline-flex; gap: 6px; align-items: center; margin: 4px 0 8px; text-decoration: none; color: inherit; }
.review-admin-list { display: grid; gap: 12px; }
.review-card p { margin: 6px 0; }
.restricted-note { background: #F4F3F1; border-left: 5px solid #8A5A00; border-radius: 8px; padding: 10px 14px; }
.check.is-disabled { opacity: .55; }
.g-actions .is-done { background: #161616; color: #fff; border-color: #161616; }
.g-actions .is-done:hover { background: #333; border-color: #333; }

/* Lightbox */
[data-lb] img { cursor: zoom-in; }
html.lb-open { overflow: hidden; }
.lightbox { border: 0; padding: 0; margin: 0; width: 100vw; height: 100vh; max-width: 100vw; max-height: 100vh; background: rgba(10,10,10,.92); color: #fff; }
.lightbox::backdrop { background: rgba(10,10,10,.92); }
.lb-frame { position: relative; display: flex; gap: 16px; width: 100%; height: 100%; padding: 56px 24px 24px; box-sizing: border-box; }
.lb-stage { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: center; gap: 8px; }
.lb-main { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 10px; max-width: 100%; max-height: 100%; }
.lb-main img { max-width: 100%; max-height: calc(100vh - 140px); object-fit: contain; background: #fff; border-radius: 8px; cursor: default; }
.lb-main figcaption { font-size: 15px; display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; color: #E2E2E2; }
.lb-credit { background: #161616; border: 1px solid #555; padding: 2px 8px; border-radius: 4px; font-size: 12px; letter-spacing: .5px; }
.lb-count { color: #A8A8A8; }
.lb-close { position: absolute; top: 10px; right: 14px; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; color: #161616; font-size: 30px; line-height: 1; cursor: pointer; z-index: 2; }
.lb-nav { display: none; flex: none; width: 44px; height: 64px; border: 0; border-radius: 8px; background: rgba(255,255,255,.12); color: #fff; font-size: 34px; cursor: pointer; }
.lb-many .lb-nav { display: block; }
.lb-nav:hover, .lb-close:hover { background: var(--red, #C8102E); color: #fff; }
.lb-thumbs { display: none; }
.lb-many .lb-thumbs { display: flex; flex-direction: column; gap: 8px; width: 96px; overflow-y: auto; }
.lb-thumbs button { padding: 0; border: 3px solid transparent; border-radius: 8px; background: #fff; cursor: pointer; width: 88px; height: 88px; flex: none; overflow: hidden; }
.lb-thumbs button.is-on { border-color: var(--red, #C8102E); }
.lb-thumbs img { width: 100%; height: 100%; object-fit: cover; cursor: pointer; }
@media (max-width: 700px) {
  .lb-frame { flex-direction: column; padding: 56px 10px 12px; }
  .lb-many .lb-thumbs { flex-direction: row; width: 100%; height: 72px; overflow-x: auto; overflow-y: hidden; }
  .lb-thumbs button { width: 64px; height: 64px; }
  .lb-main img { max-height: calc(100vh - 200px); }
  .lb-nav { width: 34px; height: 54px; font-size: 28px; }
}

/* Photo slots meter and bonus hints */
.plus-one { display: inline-block; margin-left: 6px; padding: 1px 6px; border-radius: 999px; background: var(--red, #C8102E); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .3px; vertical-align: 1px; }
.tools-tip { margin: -4px 0 12px; }
.photo-meter { border: 1px solid #E2E2E2; border-radius: 10px; padding: 14px 16px; margin: 0 0 16px; background: #FAFAFA; }
.meter-top { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.meter-top span { color: #555; }
.meter-bar { position: relative; height: 12px; border-radius: 999px; background: #E2E2E2; overflow: hidden; }
.meter-bar span { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 999px; }
.meter-limit { background: #C9C9C9; }
.meter-used { background: var(--red, #C8102E); }
.meter-key { display: flex; justify-content: space-between; font-size: 12px; color: #555; margin-top: 6px; }
.meter-bonus { color: var(--red, #C8102E); font-weight: 700; }
.bonus-how { margin-top: 10px; }
.bonus-how summary { cursor: pointer; font-weight: 700; }
.bonus-how ol { margin: 8px 0; padding-left: 22px; }
.bonus-next { margin-top: 10px; }
.bonus-next ul { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 6px; }
.bonus-next li { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 6px 10px; background: #fff; border: 1px solid #E2E2E2; border-radius: 8px; }
.bonus-next a, .bonus-next .link-btn { font-weight: 700; }
.limit-note { font-weight: 600; }

.public-photo figcaption { display: grid; gap: 2px; }
.photo-tool-link { font-weight: 700; color: var(--red, #C8102E); text-decoration: none; font-size: 14px; }
.photo-tool-link:hover { text-decoration: underline; }

/* Tool type folds to the picked type; "What kind?" sits right under it */
.type-more { margin-top: 8px; font-weight: 700; }
.kind-group { margin-top: -6px; padding: 12px; border-left: 3px solid var(--red, #C8102E); background: #FAFAFA; border-radius: 0 8px 8px 0; }
