:root {
  /* Rôles de la marque Deep App Studio (/brand/tokens.css) : thème et accent choisis par le visiteur. */
  --bg: var(--da-bg);
  --card: var(--da-surface);
  --line: var(--da-line);
  --text: var(--da-text);
  --dim: var(--da-text-muted);
  --faint: var(--da-text-muted);
  --brand: var(--da-text);
  --accent: var(--da-accent);
  --gold: var(--da-premium);
  --go: var(--da-accent);
  --go-dark: color-mix(in srgb, var(--da-accent) 82%, var(--da-text));
  --live: var(--da-ok); --wip: var(--da-warn); --demo: var(--da-signal); --private: var(--da-text-muted); --new: var(--da-accent);
  --r: var(--da-radius-md);
  --shadow: var(--da-shadow);
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); font: 14px/1.5 var(--da-font-body); }
h1, h2, h3, .box-head h2 { font-family: var(--da-font-display); }
a { color: inherit; text-decoration: none; }
img { display: block; }

/* ─── En-tête ───────────────────────────────────────── */
.topbar { position: sticky; top: 0; z-index: 20; background: var(--da-glass); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.topbar-in { max-width: 1240px; margin: 0 auto; display: flex; align-items: center; gap: 22px; padding: 10px 16px; }
.brand { display: flex; align-items: center; gap: 9px; }
.brand-mark { width: 34px; height: 34px; border-radius: 9px; }
.brand-name { font-size: 22px; font-weight: 800; letter-spacing: -.6px; color: var(--brand); }
.brand-name b { color: var(--accent); font-weight: 800; }
.brand-name em { font-style: normal; color: var(--gold); }
.mainnav { display: flex; gap: 4px; }
.mainnav a { padding: 8px 12px; border-radius: 8px; color: var(--dim); font-weight: 500; white-space: nowrap; }
.mainnav a:hover, .mainnav a[aria-current="page"] { color: var(--text); background: var(--bg); }
.search { margin-left: auto; display: flex; align-items: center; width: 280px; border: 1px solid var(--line); border-radius: 10px; padding: 0 10px; background: var(--bg); }
.search input { flex: 1; border: 0; background: none; outline: 0; padding: 9px 4px; font: inherit; color: var(--text); }
.search input::placeholder { color: var(--faint); }
.search:focus-within { border-color: var(--accent); }
.search svg { width: 18px; height: 18px; fill: none; stroke: var(--faint); stroke-width: 2; }
.studio { color: var(--dim); font-weight: 500; white-space: nowrap; }

/* ─── Mise en page ──────────────────────────────────── */
.layout { max-width: 1240px; margin: 16px auto; padding: 0 16px; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 16px; }
main { outline: 0; min-width: 0; }
.box { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 16px 18px; margin-bottom: 16px; }
.box-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.box-head h2 { margin: 0; font-size: 18px; display: flex; align-items: center; gap: 6px; }
.box-head a { color: var(--accent); font-weight: 500; }

/* ─── Carrousel ─────────────────────────────────────── */
.carousel { position: relative; border-radius: var(--r); overflow: hidden; background: var(--da-surface-2); aspect-ratio: 21 / 9; box-shadow: var(--shadow); margin-bottom: 16px; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s; }
.slide.on { opacity: 1; z-index: 1; }
.slide video, .slide img.poster { width: 100%; height: 100%; object-fit: cover; }
.slide video, .slide img.poster, .slide > .media-fallback { position: absolute; inset: 0; }
.slide .grad { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5, 8, 17, .92) 0%, rgba(5, 8, 17, .55) 45%, transparent 75%); }
.slide .copy { position: absolute; left: 6%; top: 50%; transform: translateY(-50%); max-width: 46%; color: #fff; }
.slide .copy h3 { margin: 0 0 8px; font-size: clamp(22px, 3.4vw, 40px); line-height: 1.1; }
.slide .copy p { margin: 0 0 14px; color: #cbd5e1; }
.slide .bar { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: linear-gradient(0deg, rgba(0, 0, 0, .7), transparent); color: #fff; }
.slide .bar .icon { width: 42px; height: 42px; border-radius: 11px; }
.slide .bar strong { flex: 1; }
.car-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 3; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .16); color: #fff; font-size: 22px; cursor: pointer; backdrop-filter: blur(6px); }
.car-btn:hover { background: rgba(255, 255, 255, .3); }
.car-prev { left: 12px; } .car-next { right: 12px; }
.dots { position: absolute; z-index: 3; left: 50%; bottom: 70px; transform: translateX(-50%); display: flex; gap: 2px; }
.dots button { width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: transparent; padding: 0; cursor: pointer; }
.dots button::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, .45); transition: background .2s, width .2s; }
.dots button.on::before { background: #fff; width: 22px; border-radius: 4px; }
.dots button:hover::before, .dots button:focus-visible::before { background: #fff; }

/* ─── Boutons ───────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 9px 18px; border-radius: 10px; font-weight: 700; border: 1px solid var(--line); background: var(--card); color: var(--text); cursor: pointer; white-space: nowrap; }
.btn.go { background: var(--go); border-color: var(--go); color: var(--da-on-accent); }
.btn.go:hover { background: var(--go-dark); }
.btn.lg { padding: 13px 28px; font-size: 16px; border-radius: 12px; }
.btn.sm { padding: 6px 14px; font-size: 13px; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; }

/* ─── Icônes et rangées d'icônes ────────────────────── */
.icon { flex: none; width: 64px; height: 64px; border-radius: 16px; overflow: hidden; display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 22px; box-shadow: 0 2px 6px rgba(0, 0, 0, .18); }
.icon img { width: 100%; height: 100%; object-fit: cover; }
.icon.xl { width: 116px; height: 116px; border-radius: 26px; font-size: 40px; }
.icons-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 14px 10px; }
.tile { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 6px 2px; border-radius: 12px; }
.tile:hover { background: var(--bg); }
.tile .icon { width: 76px; height: 76px; border-radius: 19px; }
.tile .name { font-size: 13px; font-weight: 600; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tile .sub { font-size: 11px; color: var(--faint); }

/* ─── Listes ────────────────────────────────────────── */
.pic-empty { display: grid; place-items: center; width: 100%; height: 100%; }
.pic-empty .icon { box-shadow: 0 10px 30px rgba(0, 0, 0, .25); }
.list-item { overflow: hidden; display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.list-item:last-child { border-bottom: 0; }
.list-item .icon { width: 52px; height: 52px; border-radius: 13px; }
.list-item .info { flex: 1; min-width: 0; }
.list-item strong { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.list-item .sub { color: var(--dim); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.list-product { display: flex; align-items: center; flex: 1; gap: 12px; min-width: 0; min-height: 52px; }
.list-result { overflow: visible; }
.list-result > .btn { flex: none; min-height: 44px; }
.list-product .sub { display: inline-block; max-width: 100%; vertical-align: top; }

.status { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.tone-live { color: var(--live); } .tone-wip { color: var(--wip); } .tone-demo { color: var(--demo); } .tone-private { color: var(--private); } .tone-new { color: var(--new); }

/* ─── Réalisations (vignettes vidéo) ────────────────── */
.shots-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.thumb { border-radius: 12px; overflow: hidden; background: var(--bg); border: 1px solid var(--line); }
.thumb .pic { aspect-ratio: 16 / 10; background: var(--da-surface-2); overflow: hidden; }
.thumb .pic img, .thumb .pic video { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.thumb:hover .pic img { transform: scale(1.04); }
.thumb .cap { display: flex; align-items: center; gap: 10px; padding: 10px 12px; }
.thumb .cap .icon { width: 36px; height: 36px; border-radius: 10px; font-size: 14px; }
.thumb-preview { display: block; color: var(--text); text-decoration: none; }
.thumb-actions { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 12px 12px; }
.media-fallback { width: 100%; min-height: 140px; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 20px; background: var(--da-surface-2); color: var(--da-text-muted); text-align: center; }
.media-notice { padding: 8px 12px; background: var(--da-surface); color: var(--da-text-muted); border: 1px solid var(--da-line); border-radius: var(--da-radius-sm); }
.slide > .media-notice { position: absolute; top: 8px; right: 8px; margin: 0; z-index: 2; }

/* ─── Colonne latérale ──────────────────────────────── */
.side .box { padding: 14px 16px; }
.trend { display: flex; flex-wrap: wrap; gap: 8px; }
.trend a { padding: 5px 11px; border-radius: 999px; background: var(--bg); color: var(--dim); font-size: 12px; border: 1px solid var(--line); }
.trend a:hover { color: var(--text); border-color: var(--accent); }
.promo { display: flex; gap: 12px; align-items: center; }
.promo p { margin: 2px 0 0; color: var(--dim); font-size: 12px; }

/* ─── Fiche produit ─────────────────────────────────── */
/* Bandeau de fiche : toujours sombre (texte blanc sur l'image floutée), quel que soit le mode. */
.banner { position: relative; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); margin-bottom: 16px; background: var(--banner-bg, var(--da-bg)); }
:root[data-theme="light"] { --banner-bg: var(--da-text); }
@media (prefers-color-scheme: light) { :root:not([data-theme]) { --banner-bg: var(--da-text); } }
.banner .bg { position: absolute; inset: -40px; background-size: cover; background-position: center; filter: blur(28px) saturate(1.3); opacity: .55; }
.banner .in { position: relative; display: flex; gap: 22px; align-items: center; padding: 26px; color: #fff; }
.banner h1 { margin: 0 0 4px; font-size: clamp(24px, 3.2vw, 34px); line-height: 1.15; }
.banner .dev { color: #fde68a; font-weight: 600; }
.banner .tag { color: #cbd5e1; margin-top: 2px; }
.banner .status { margin-top: 8px; background: var(--card); padding: 3px 10px; border-radius: 999px; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); text-align: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 14px 0; }
.facts div { padding: 10px 6px; border-left: 1px solid var(--line); }
.facts div:first-child { border-left: 0; }
.facts b { display: block; font-size: 15px; }
.facts span { color: var(--faint); font-size: 12px; }
.facts.facts-basic { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.get { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
.get .btns { display: flex; gap: 10px; flex-wrap: wrap; flex: 1; }
.qr { display: flex; gap: 10px; align-items: center; color: var(--dim); font-size: 12px; max-width: 230px; }
.qr img { width: 92px; height: 92px; border: 1px solid var(--line); border-radius: 10px; padding: 4px; background: #fff; }
.gallery { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
.gallery figure { margin: 0; flex: none; width: min(520px, 82%); scroll-snap-align: start; }
.gallery video, .gallery img { width: 100%; border-radius: 12px; background: var(--da-surface-2); display: block; }
.gallery figure.phone { width: 210px; }
.gallery figure.phone img { border: 1px solid var(--line); }
.gallery figcaption { color: var(--faint); font-size: 12px; margin-top: 4px; }
.no-media { border: 1px dashed var(--line); border-radius: 12px; padding: 22px; color: var(--faint); text-align: center; }
.admin-mode-banner { max-width: 1200px; margin: 16px auto; padding: 16px; border: 1px solid var(--da-accent); background: var(--da-surface); color: var(--da-text); display: flex; flex-wrap: wrap; align-items: center; gap: 16px; border-radius: var(--da-radius-sm); }
.admin-mode-banner a { color: var(--da-accent); }
.desc { white-space: pre-line; }
.features { margin: 0; padding-left: 18px; } .features li { margin: 4px 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { padding: 5px 11px; border-radius: 8px; background: var(--bg); border: 1px solid var(--line); font-size: 12px; color: var(--dim); }
dl.info { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 0; }
dl.info dt { color: var(--faint); } dl.info dd { margin: 0; font-weight: 500; word-break: break-all; }
.perm { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.perm:last-child { border-bottom: 0; } .perm span { color: var(--dim); text-align: right; }
.stepper { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); counter-reset: s; }
.stepper li { position: relative; text-align: center; font-size: 12px; color: var(--faint); padding-top: 26px; }
.stepper li span { position: absolute; top: 4px; left: 50%; transform: translateX(-50%); width: 16px; height: 16px; border-radius: 50%; background: var(--card); border: 2px solid color-mix(in srgb, var(--faint) 55%, transparent); z-index: 1; }
.stepper li::before { content: ""; position: absolute; top: 11px; left: -50%; right: 50%; height: 2px; background: var(--line); }
.stepper li:first-child::before { display: none; }
.stepper li.done { color: var(--dim); } .stepper li.done span { background: var(--go); border-color: var(--go); }
.stepper li.done::before, .stepper li.current::before { background: var(--go); }
.stepper li.current { color: var(--text); font-weight: 700; }
.stepper li.current span { border-color: var(--go); box-shadow: 0 0 0 4px color-mix(in srgb, var(--go) 22%, transparent); }
.share { display: flex; gap: 8px; flex-wrap: wrap; }
.share-feedback { margin: 12px 0 0; color: var(--dim); }
.share-feedback:empty { display: none; }
.share-link { width: 100%; min-height: 44px; margin-top: 8px; padding: 10px; border: 1px solid var(--line); border-radius: var(--r); background: var(--bg); color: var(--text); font: inherit; }
.crumb { color: var(--faint); font-size: 13px; margin-bottom: 10px; } .crumb a { color: var(--accent); }
.empty { color: var(--dim); padding: 24px 0; }

.foot { background: var(--card); border-top: 1px solid var(--line); margin-top: 24px; }
.foot-in { max-width: 1240px; margin: 0 auto; padding: 22px 16px; display: flex; gap: 22px; align-items: center; color: var(--faint); font-size: 12px; flex-wrap: wrap; }
.foot-in p { flex: 1; min-width: 240px; margin: 0; }
.foot .brand-name { font-size: 18px; }

@media (max-width: 1000px) {
  .layout { grid-template-columns: minmax(0, 1fr); padding: 0 12px; }
  .topbar-in { flex-wrap: wrap; padding: 10px 14px; gap: 10px; }
  .mainnav {
    display: flex;
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding: 4px 0;
    gap: 8px;
    scrollbar-width: none;
  }
  .mainnav::-webkit-scrollbar { display: none; }
  .mainnav a {
    white-space: nowrap;
    padding: 6px 14px;
    border-radius: 20px;
    background: var(--bg);
    border: 1px solid var(--line);
    font-size: 13px;
    font-weight: 600;
  }
  .mainnav a:hover, .mainnav a[aria-current="page"] {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
  }
  .search { width: auto; flex: 1; min-width: 160px; }
  .carousel { aspect-ratio: 16 / 10; }
  .slide .copy { max-width: 80%; }
  .slide .copy p { display: none; }
}
@media (max-width: 560px) {
  .studio { display: none; }
  .brand-name { font-size: 18px; }
  .banner .in { flex-direction: column; align-items: flex-start; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts div:nth-child(3) { border-left: 0; }
  .list-result { flex-wrap: wrap; }
  .list-result .list-product { flex-basis: 100%; }
  .list-result > .btn { margin-left: 64px; }
  .qr { display: none; }
}
@media (prefers-reduced-motion: reduce) { .slide { transition: none; } }

/* Bouton « Thème » (theme.js du studio) dans l'en-tête du store. */
.topbar .da-settings-btn { margin-right: 0; }
:is(a, button, input, .tile):focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.search { min-width: 0; }
.search input { min-width: 0; width: 100%; }
.topbar .da-settings-btn { flex: none; }
@media (max-width: 560px) {
  .topbar-in { gap: 10px; }
  .brand-name { display: none; }
  .foot .brand-name { display: inline; }
  .btn.lg { white-space: normal; text-align: center; padding: 12px 18px; }
  .box { padding: 14px; }
}

.dots { gap: 0; top: 12px; bottom: auto; }
.dots button, .dots button.on { display: grid; place-items: center; width: 44px; height: 44px; background: transparent; border-radius: 8px; }
.dots button::after { content: ''; width: 8px; height: 8px; border-radius: 4px; background: color-mix(in srgb, var(--da-accent) 55%, transparent); }
.dots button.on::after { width: 22px; background: var(--da-accent); }
.dots button:focus-visible { outline: 3px solid var(--da-accent); outline-offset: -3px; }
.release-notice { margin-top: 1rem; padding: 1rem; border: 1px solid var(--da-line); border-radius: var(--da-radius-md); background: var(--da-surface-2); color: var(--da-text); }
@media (prefers-reduced-motion: reduce) { .slide { transition: none; } }

/* ─── Bannière de l'Application Native Store ─────────── */
.store-app-banner {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.98));
  border: 1px solid rgba(59, 130, 246, 0.35);
  border-radius: var(--r);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  padding: 16px 20px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.sab-left { display: flex; align-items: center; gap: 14px; min-width: 260px; flex: 1; }
.sab-icon { width: 52px; height: 52px; border-radius: 14px; overflow: hidden; flex: none; box-shadow: 0 4px 14px rgba(59, 130, 246, 0.3); }
.sab-icon img { width: 100%; height: 100%; }
.sab-text { display: flex; flex-direction: column; gap: 3px; }
.sab-text strong { font-size: 15px; color: #FFF; font-weight: 700; }
.sab-text span { font-size: 12.5px; color: var(--dim); line-height: 1.4; }
.sab-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }

/* ─── Page Mises à Jour & Journal des Versions ──────── */
.updates-header {
  margin-bottom: 20px;
}
.updates-header h1 {
  font-size: 24px;
  margin: 0 0 6px;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 10px;
}
.updates-header p {
  margin: 0;
  color: var(--dim);
  font-size: 13.5px;
}
.updates-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  margin: 16px 0 20px;
}
.stat-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-card b { font-size: 20px; color: var(--accent); }
.stat-card span { font-size: 12px; color: var(--faint); }

.update-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: 18px 20px;
  margin-bottom: 14px;
  transition: border-color 0.2s ease, transform 0.15s ease;
  position: relative;
  overflow: hidden;
}
.update-card:hover {
  border-color: rgba(59, 130, 246, 0.5);
  transform: translateY(-1px);
}
.uc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}
.uc-app {
  display: flex;
  align-items: center;
  gap: 12px;
}
.uc-app .icon { width: 48px; height: 48px; border-radius: 12px; }
.uc-title { display: flex; flex-direction: column; gap: 2px; }
.uc-title strong { font-size: 15px; color: var(--text); }
.uc-title .uc-meta { font-size: 12px; color: var(--dim); display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.badge-version {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.4);
  color: #60A5FA;
  font-family: var(--da-font-mono, monospace);
  font-size: 11.5px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
}
.uc-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.uc-notes {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13px;
  color: var(--text);
  line-height: 1.5;
  margin-bottom: 10px;
}
.uc-notes strong { color: var(--gold); display: block; margin-bottom: 4px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.04em; }
.uc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  color: var(--faint);
  font-family: var(--da-font-mono, monospace);
  flex-wrap: wrap;
  gap: 8px;
}
.uc-sha { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 380px; }


/* ─── Avis ──────────────────────────────────────────── */
.stars { display: inline-flex; gap: 2px; vertical-align: middle; }
.stars i { width: 14px; height: 14px; background: var(--line); clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.stars i.on { background: var(--gold); }
.reviews-summary { display: grid; grid-template-columns: minmax(120px, 160px) 1fr; gap: 18px; align-items: center; margin-bottom: 14px; }
.reviews-score { display: grid; justify-items: center; gap: 4px; }
.reviews-score strong { font: 700 40px/1 var(--da-font-display); }
.reviews-score span { color: var(--dim); font-size: 13px; }
.reviews-bars { display: grid; gap: 4px; }
.reviews-bar { display: grid; grid-template-columns: 16px 1fr 32px; gap: 8px; align-items: center; background: none; border: 0; color: var(--text); padding: 2px 0; cursor: pointer; font: inherit; text-align: left; }
.reviews-bar .track { height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; }
.reviews-bar .track span { display: block; height: 100%; background: var(--gold); }
.reviews-bar:hover .track, .reviews-bar:focus-visible .track { outline: 1px solid var(--accent); }
.reviews-empty, .reviews-filter, .review-meta, .review-hint { color: var(--dim); }
.reviews-sort { color: var(--dim); font-size: 13px; display: flex; gap: 6px; align-items: center; }
.reviews-sort select, .review-form textarea, .review-form input:not([type]) , .review-form input[name=author] { background: var(--bg); color: var(--text); border: 1px solid var(--line); border-radius: 8px; padding: 6px 8px; font: inherit; }
.review-list { display: grid; gap: 12px; margin: 8px 0 12px; }
.review { border-top: 1px solid var(--line); padding-top: 10px; }
.review header { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.review p { margin: 6px 0 0; overflow-wrap: anywhere; }
.review-meta { font-size: 12px; margin: 2px 0 0 !important; }
.review-reply { margin-top: 8px; padding: 8px 12px; border-left: 3px solid var(--accent); background: color-mix(in srgb, var(--accent) 8%, transparent); border-radius: 6px; font-size: 13px; }
.review-form-box { margin-top: 12px; }
.review-form-box > summary { list-style: none; display: inline-flex; }
.review-form-box > summary::-webkit-details-marker { display: none; }
.review-form { display: grid; gap: 10px; margin-top: 12px; max-width: 620px; }
.review-form fieldset { border: 0; padding: 0; margin: 0; }
.review-form legend { font-weight: 600; margin-bottom: 4px; }
.review-form label { display: grid; gap: 4px; }
.review-form label.check { display: flex; gap: 8px; align-items: flex-start; }
.star-input { display: flex; gap: 6px; flex-wrap: wrap; }
.star-input label { display: inline-flex; }
.star-input input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-input span { border: 1px solid var(--line); border-radius: 999px; padding: 4px 10px; cursor: pointer; font-size: 13px; }
.star-input input:checked + span { background: var(--gold); border-color: var(--gold); color: var(--da-on-accent); }
.star-input input:focus-visible + span { outline: 2px solid var(--accent); outline-offset: 2px; }
.review-status { margin: 0; min-height: 1.2em; }
.review-policy { margin-top: 12px; color: var(--dim); font-size: 13px; }
.review-policy summary { cursor: pointer; color: var(--accent); }
button.link { background: none; border: 0; color: var(--accent); cursor: pointer; padding: 0; font: inherit; }
@media (max-width: 560px) { .reviews-summary { grid-template-columns: 1fr; } }

.review-login-box{margin-top:16px}.review-login{display:grid;gap:12px;max-width:620px}.review-login label{display:grid;gap:6px}.review-login input{background:var(--bg);color:var(--text);border:1px solid var(--line);border-radius:8px;padding:10px;font:inherit;min-height:44px}.star-input span,.reviews-bar{min-height:44px}.reviews-sort select{min-height:44px}.reviews .box-head{flex-wrap:wrap;gap:12px}.reviews{scroll-margin-top:180px}
