:root {
  --bg: #f3f4f8; --panel: #fff; --text: #1c2030; --muted: #697084; --line: #e2e5ee;
  --red: #e3350d; --red-dark: #b42a0a; --yellow: #ffcb05; --green: #1f9d5c; --orange: #e5870b;
  --shadow: 0 1px 3px rgba(20, 25, 45, .08), 0 4px 14px rgba(20, 25, 45, .06);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 15px/1.45 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Hiragino Sans", "Noto Sans JP", sans-serif;
}
button { font: inherit; color: inherit; cursor: pointer; }

.top {
  display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; justify-content: space-between;
  padding: 12px 24px; background: linear-gradient(135deg, var(--red), #c22808); color: #fff;
  position: sticky; top: 0; z-index: 30; box-shadow: 0 2px 10px rgba(20, 25, 45, .18);
}
.top h1 { margin: 0; font-size: 21px; }
.top h1 .m { color: var(--yellow); }
#global-progress { margin: 4px 0 0; font-size: 14px; opacity: .93; }
.backup { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; }
.btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 0; border-radius: 999px;
  background: #fff; color: var(--red-dark); font-weight: 600; font-size: 14px; cursor: pointer; box-shadow: var(--shadow);
}
.btn:hover { background: #fff6d6; }
.backup-info { flex-basis: 100%; text-align: right; font-size: 13px; min-height: 1em; }
.backup-info.warn::before { content: "● "; color: var(--yellow); }
.backup-info.ok::before { content: "✓ "; }

.tabs {
  position: sticky; top: var(--top-h, 70px); z-index: 20; display: flex; gap: 4px; padding: 6px 24px 0;
  background: var(--panel); border-bottom: 1px solid var(--line); overflow-x: auto; flex-wrap: wrap;
}
.tab {
  border: 0; background: none; padding: 10px 14px 11px; border-bottom: 3px solid transparent;
  font-weight: 600; color: var(--muted); white-space: nowrap;
}
.tab:hover { color: var(--text); }
.tab.active { color: var(--text); border-bottom-color: var(--red); }
.tab-count { margin-left: 4px; padding: 2px 8px; border-radius: 999px; background: var(--bg); font-size: 12px; font-weight: 500; }

.toolbar { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; padding: 14px 24px; }
.segmented { display: inline-flex; padding: 3px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); }
.segmented button { border: 0; background: none; padding: 6px 14px; border-radius: 999px; font-size: 14px; color: var(--muted); }
.segmented button.active { background: var(--text); color: #fff; }
#search { flex: 0 1 300px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--panel); font: inherit; }

.notice {
  display: flex; gap: 12px; align-items: center; margin: 0 24px 14px; padding: 10px 14px;
  border: 1px solid #f1d77f; border-radius: 10px; background: #fff6d6;
}
.notice[hidden] { display: none; }
.notice span { flex: 1; }
.notice-action { border: 0; border-radius: 999px; padding: 5px 12px; background: var(--text); color: #fff; }
.notice-close { border: 0; background: none; font-size: 20px; line-height: 1; color: var(--muted); }

main { padding: 0 24px 40px; }
.toc { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 18px; }
.toc-item {
  display: inline-flex; gap: 8px; align-items: center; padding: 5px 11px; border: 1px solid var(--line);
  border-radius: 999px; background: var(--panel); color: var(--text); font-size: 13px; text-decoration: none;
}
.toc-item:hover { border-color: var(--red); }
.toc-count { color: var(--muted); font-variant-numeric: tabular-nums; }
.toc-item.done { background: #e7f6ee; border-color: #b9e3cb; }
.toc-item.done .toc-count { color: var(--green); }

.set { margin: 0 0 18px; border-radius: 16px; background: var(--panel); box-shadow: var(--shadow); scroll-margin-top: 64px; }
.set-head { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; justify-content: space-between; padding: 14px 18px; }
.set-toggle { display: flex; flex: 1 1 320px; gap: 10px; align-items: flex-start; padding: 0; border: 0; background: none; text-align: left; }
.chev { margin-top: 2px; color: var(--muted); transition: transform .15s; }
.set.collapsed .chev { transform: rotate(-90deg); }
.set-titles { display: flex; flex-direction: column; }
.set-titles h2 { margin: 0; font-size: 18px; }
.set-sub { font-size: 14px; color: var(--muted); }
.set-meta { font-size: 13px; color: var(--muted); }
.set-progress { display: flex; flex: 0 1 280px; flex-direction: column; gap: 5px; min-width: 210px; }
.bar { height: 8px; overflow: hidden; border-radius: 999px; background: var(--bg); }
.bar span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--yellow), var(--green)); transition: width .25s; }
.set-count { font-size: 13px; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
.set-body { padding: 0 18px 16px; }
.set.collapsed .set-body { display: none; }
.set-notes { margin: 0 0 12px; font-size: 14px; color: var(--muted); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 16px 14px; }
.card { display: flex; flex-direction: column; gap: 6px; }
.thumb {
  position: relative; display: block; width: 100%; aspect-ratio: 63 / 88; padding: 0; border: 0;
  border-radius: 4.5% / 3.2%; overflow: hidden; background: none;
}
.thumb img { display: block; width: 100%; height: 100%; object-fit: cover; transition: filter .2s, opacity .2s; }
.card.missing .thumb img { filter: grayscale(1); opacity: .4; }
.card.missing button.thumb:hover img { opacity: .7; }
.ph {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  padding: 10px; border: 2px dashed #d3d7e2; border-radius: inherit; color: var(--muted); font-size: 13px; text-align: center;
  background: repeating-linear-gradient(45deg, #eef0f5, #eef0f5 10px, #e6e9f0 10px, #e6e9f0 20px);
}
.thumb img ~ .ph { display: none; }
.alt-lang {
  position: absolute; left: 6px; bottom: 6px; padding: 2px 7px; border-radius: 999px;
  background: rgba(30, 34, 48, .75); color: #fff; font-size: 11px; font-weight: 600;
}
.card.partial .ph, .card.complete .ph { border-color: var(--yellow); background: #fff7d1; color: var(--text); }
.badge {
  position: absolute; top: 6px; right: 6px; display: flex; align-items: center; justify-content: center;
  min-width: 26px; height: 26px; padding: 0 6px; border-radius: 999px; background: var(--green); color: #fff;
  font-size: 13px; font-weight: 700; box-shadow: 0 1px 4px rgba(0, 0, 0, .3);
}
.card.partial .badge { background: var(--orange); }
.info { display: flex; flex-direction: column; line-height: 1.25; }
.num { font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.name { font-size: 14px; font-weight: 600; }
.name-fr { font-size: 12.5px; color: var(--muted); }
.note { font-size: 12px; color: var(--orange); }
.variants { display: flex; flex-wrap: wrap; gap: 5px; margin-top: auto; }
.variant {
  padding: 3px 10px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--panel);
  color: var(--muted); font-size: 12.5px; font-weight: 600;
}
.variant:hover { border-color: var(--text); color: var(--text); }
.variant.on { border-color: var(--green); background: var(--green); color: #fff; }
.variant.v-holo.on, .variant.v-reverse.on {
  border-color: transparent; color: var(--text);
  background: linear-gradient(120deg, #ff9a9a, #ffd36e, #8ff5c2, #86ccff, #d7a2ff);
}
.sources { margin: 14px 0 0; font-size: 12px; color: var(--muted); }
.sources a { color: inherit; }
.empty { padding: 30px; border-radius: 16px; background: var(--panel); color: var(--muted); text-align: center; }
footer { padding: 20px 24px 30px; font-size: 12px; color: var(--muted); text-align: center; }

@media (max-width: 600px) {
  .top, .tabs, .toolbar, main { padding-left: 12px; padding-right: 12px; }
  .tabs { flex-wrap: nowrap; }
  .notice { margin-left: 12px; margin-right: 12px; }
  .set-head, .set-body { padding-left: 12px; padding-right: 12px; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(128px, 1fr)); gap: 12px 10px; }
  #search { flex: 1 1 100%; }
  .toc { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .toc-item { flex: 0 0 auto; }
  .backup-info { text-align: left; }
}

.home-link { display: inline-block; margin-bottom: 4px; color: #fff; opacity: .9; font-size: 14px; text-decoration: none; }
.home-link:hover { opacity: 1; text-decoration: underline; }
.home { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; max-width: 900px; margin: 0 auto; padding: 28px 24px; }
.home-card {
  display: flex; flex-direction: column; gap: 8px; padding: 24px; border-radius: 18px; background: var(--panel);
  box-shadow: var(--shadow); color: inherit; text-decoration: none; border: 2px solid transparent;
}
.home-card:hover { border-color: var(--red); }
.home-icon { font-size: 40px; line-height: 1; }
.home-title { font-size: 20px; font-weight: 700; }
.home-text { color: var(--muted); }
.home-bar { height: 8px; border-radius: 999px; background: var(--bg); overflow: hidden; margin-top: 6px; }
.home-bar i { display: block; height: 100%; background: var(--green); }
.home-stats { font-size: 13px; color: var(--muted); }

a.btn { text-decoration: none; }
.btn.primary { background: var(--red); color: #fff; }
.btn.primary:hover { background: var(--red-dark); }
.home-card.home-export { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 16px; }
.home-card.home-export .home-icon { font-size: 32px; }
.home-card.home-export .home-text { margin-left: auto; }
.export-bar { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: flex-end; padding: 16px 24px; background: var(--panel); border-bottom: 1px solid var(--line); }
.export-bar label { display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--muted); font-weight: 600; }
.export-bar select { padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font: inherit; color: var(--text); min-width: 220px; }
.export-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.export-msg { flex-basis: 100%; margin: 0; min-height: 1.2em; font-size: 14px; color: var(--red-dark); }
.export-help { flex-basis: 100%; margin: 0; font-size: 13px; color: var(--muted); }
.ex-doc { max-width: 1100px; margin: 0 auto; padding: 20px 24px 40px; }
.ex-head h1 { margin: 0 0 4px; font-size: 26px; }
.ex-head p { margin: 2px 0; color: var(--muted); }
.ex-set { margin-top: 22px; }
.ex-set h2 { margin: 0 0 8px; font-size: 18px; border-bottom: 2px solid var(--red); padding-bottom: 4px; }
.ex-set h2 small { font-weight: 500; color: var(--muted); font-size: 13px; margin-left: 8px; }
.ex-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.ex-card { position: relative; margin: 0; break-inside: avoid; }
.ex-card img { display: block; width: 100%; aspect-ratio: 63 / 88; object-fit: cover; border-radius: 4px; }
.ex-card.missing img { filter: grayscale(1); opacity: .3; }
.ex-card figcaption { font-size: 10px; text-align: center; line-height: 1.2; margin-top: 2px; }
.ex-card b { position: absolute; top: 3px; right: 3px; padding: 1px 6px; border-radius: 999px; background: var(--orange); color: #fff; font-size: 10px; }
.ex-noimg { display: flex; align-items: center; justify-content: center; aspect-ratio: 63 / 88; padding: 4px; text-align: center; font-size: 11px; background: var(--bg); border: 1px dashed var(--line); border-radius: 4px; }
.ex-card.missing .ex-noimg { opacity: .5; }
.ex-list ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 28px; }
.ex-list li { break-inside: avoid; padding: 1px 0; font-size: 13px; }
.ex-list .b { font-family: ui-monospace, Menlo, monospace; white-space: pre; }
.ex-list .n { color: var(--muted); font-size: 12px; margin: 0 4px; }
.ex-list i { color: var(--muted); }
@media print {
  @page { size: A4 portrait; margin: 12mm; }
  body { background: #fff; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .no-print, footer { display: none !important; }
  .ex-doc { max-width: none; padding: 0; }
  .ex-grid { grid-template-columns: repeat(9, 1fr); gap: 5px; }
  .ex-set h2 { break-after: avoid; }
  .ex-set { break-inside: auto; }
}

.thumb[data-zoom] { cursor: zoom-in; }
.thumb[data-zoom]:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.card.missing .thumb img { transition: filter .2s, opacity .2s; }
.card.missing .thumb[data-zoom]:hover img { opacity: .75; }
.price { font-size: 12px; color: var(--green); font-weight: 600; }
.price.approx { color: var(--muted); font-weight: 500; }

.zoom {
  position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center;
  padding: 16px; background: rgba(15, 18, 30, .82); overflow: auto;
}
.zoom[hidden] { display: none; }
body.zoom-open { overflow: hidden; }
.zoom-panel {
  position: relative; display: flex; gap: 24px; align-items: center; max-width: 900px; width: 100%;
  padding: 24px 56px; border-radius: 18px; background: var(--panel); box-shadow: 0 20px 60px rgba(0, 0, 0, .45);
}
.zoom-img { position: relative; flex: 0 0 auto; width: min(360px, 45vw); aspect-ratio: 63 / 88; border-radius: 4.5% / 3.2%; overflow: hidden; }
.zoom-img img { display: block; width: 100%; height: 100%; object-fit: contain; }
.zoom-img .ph.big { position: absolute; inset: 0; display: flex; }
.zoom-info { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; min-width: 0; }
.zoom-info h3 { margin: 0; font-size: 22px; }
.zoom-info p { margin: 0; }
.zoom-fr { color: var(--muted); }
.zoom-set { color: var(--muted); font-size: 14px; }
.zoom-low { font-size: 13px; color: var(--muted); }
.zoom-info .price { font-size: 18px; }
.zoom-info .variants { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.zoom-link { font-size: 14px; color: var(--red-dark); }
.zoom-close, .zoom-nav {
  position: absolute; border: 0; border-radius: 999px; background: var(--bg); color: var(--text);
  width: 40px; height: 40px; font-size: 22px; line-height: 1; cursor: pointer;
}
.zoom-close { top: 12px; right: 12px; }
.zoom-nav { top: 50%; transform: translateY(-50%); }
.zoom-nav.prev { left: 8px; }
.zoom-nav.next { right: 8px; }
.zoom-nav[hidden] { display: none; }
@media (max-width: 640px) {
  .zoom-panel { flex-direction: column; padding: 56px 16px 20px; gap: 14px; }
  .zoom-img { width: min(300px, 70vw); }
  .zoom-info { align-items: center; text-align: center; }
  .zoom-nav { top: 40%; }
}

.price.shop { color: #8a5a00; }

.share-bar { margin-top: 0; border-top: 1px solid var(--line); }
.share-bar h2 { margin: 0 0 4px; font-size: 18px; flex-basis: 100%; }
.share-bar p { margin: 0 0 8px; flex-basis: 100%; color: var(--muted); font-size: 14px; }
#sh-out { display: flex; gap: 8px; flex-basis: 100%; align-items: center; }
.sh-url { flex: 1; min-width: 0; padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; font: inherit; font-size: 13px; }
.shared-banner { margin: 0; padding: 10px 24px; background: #fff7d1; border-bottom: 1px solid var(--yellow); font-size: 14px; }
@media print { .shared-banner, .share-bar { display: none !important; } }

/* Page « tous les sets » */
.serie-title { margin: 22px 0 10px; font-size: 20px; }
.set-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.set-tile { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px; background: #fff; border: 1px solid var(--border, #ddd); border-radius: 12px; cursor: pointer; font: inherit; text-align: center; }
.set-tile:hover { border-color: var(--red); }
.set-tile.done { border-color: #2e9d4f; background: #f1fbf4; }
.set-tile img { height: 56px; max-width: 100%; object-fit: contain; }
.set-tile .no-logo { font-size: 36px; height: 56px; }
.set-tile .home-bar { width: 100%; }
.empty { padding: 30px 0; color: var(--muted); }
#serie { padding: 8px; border-radius: 8px; border: 1px solid #ccc; font: inherit; }

/* Sélecteur de langue de l'interface */
.ui-lang { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; align-self: flex-start; font-size: 14px; }
.ui-lang select { font: inherit; padding: 3px 6px; border-radius: 6px; }

.tab .flag { font-size: 22px; line-height: 1; vertical-align: -3px; }
.tab { padding: 8px 12px 9px; }
@media print { .top, .tabs { position: static; box-shadow: none; } }
/* Accueil */
.home { display: block; max-width: 1100px; margin: 0 auto; padding: 22px 24px 40px; }
.home-hero { display: flex; align-items: center; gap: 20px; padding: 22px 26px; border-radius: 16px; color: var(--text); text-decoration: none; background: linear-gradient(135deg, #fff, #fff6d6); border: 1px solid var(--line); box-shadow: var(--shadow); }
.home-hero:hover { border-color: var(--red); }
.home-hero .home-icon { font-size: 54px; }
.home-hero-text { display: flex; flex-direction: column; gap: 6px; flex: 1; min-width: 0; }
.home-hero .home-title { font-size: 24px; }
.home-go { font-size: 34px; color: var(--red); }
.mine h2 small, .special h2 small { margin-left: 10px; font-size: 13px; font-weight: 400; color: var(--muted); }
.home-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 12px; }
.home-link-card { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; color: var(--text); text-decoration: none; }
.home-link-card:hover { border-color: var(--red); }
.home-link-card .home-icon { font-size: 30px; }
.home-link-card strong { display: block; }
.home-link-card .home-text { display: block; font-size: 13px; }
a.set-tile { text-decoration: none; color: var(--text); }
.set-tile .flag { font-size: 16px; }

/* ---- Finitions de design ---- */
:root { --radius: 14px; --ease: cubic-bezier(.2, .7, .2, 1); }
body { font-feature-settings: "tnum" 1, "cv11" 1; -webkit-font-smoothing: antialiased; }
.top {
  background:
    radial-gradient(circle at 96% -40%, rgba(255, 255, 255, .16) 0 90px, transparent 91px),
    radial-gradient(circle at 92% 140%, rgba(255, 203, 5, .22) 0 70px, transparent 71px),
    linear-gradient(135deg, #e3350d, #b82607);
}
.top h1 { letter-spacing: -.01em; }
.btn { transition: transform .15s var(--ease), box-shadow .15s var(--ease), background .15s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(20, 25, 45, .18); }
.btn:active { transform: translateY(0); }
.ui-lang select, #serie, #search { transition: border-color .15s, box-shadow .15s; }
#search:focus, #serie:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(227, 53, 13, .15); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.tabs { box-shadow: 0 1px 0 var(--line), 0 6px 14px -10px rgba(20, 25, 45, .25); scrollbar-width: thin; }
.tab { border-radius: 10px 10px 0 0; transition: background .15s, color .15s; }
.tab:hover { background: #f6f7fb; }
.tab.active { background: #fff5f2; }
.tab-count { font-variant-numeric: tabular-nums; }
.set { scroll-margin-top: calc(var(--top-h, 70px) + 62px); border: 1px solid var(--line); }
.set-head { border-radius: var(--radius) var(--radius) 0 0; }
.bar, .home-bar { height: 9px; }
.home-bar i, .bar span { background: linear-gradient(90deg, #ffcb05, #4cc38a 60%, #1f9d5c); }
.grid { gap: 20px 16px; }
.thumb { box-shadow: 0 2px 6px rgba(20, 25, 45, .22); transition: transform .2s var(--ease), box-shadow .2s var(--ease); }
.card:hover .thumb { transform: translateY(-4px) scale(1.02); box-shadow: 0 10px 22px rgba(20, 25, 45, .3); }
.card.complete .thumb { box-shadow: 0 0 0 2px var(--green), 0 4px 12px rgba(31, 157, 92, .35); }
.card.missing .thumb { box-shadow: none; }
.card.missing:hover .thumb img { filter: grayscale(.4); opacity: .75; }
.variant { padding: 4px 11px; transition: background .12s, border-color .12s, transform .1s; }
.variant:active { transform: scale(.95); }
.set-tile { transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .15s; box-shadow: var(--shadow); }
.set-tile:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(20, 25, 45, .16); }
.set-tile strong { line-height: 1.2; }
.set-tile img { filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .15)); }
.serie-title { position: relative; padding-left: 14px; }
.serie-title::before { content: ""; position: absolute; left: 0; top: .2em; bottom: .2em; width: 5px; border-radius: 3px; background: var(--red); }
.home-hero { transition: transform .18s var(--ease), box-shadow .18s var(--ease); }
.home-hero:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(20, 25, 45, .16); }
.home-link-card { transition: transform .15s var(--ease), box-shadow .15s; box-shadow: var(--shadow); }
.home-link-card:hover { transform: translateY(-2px); }
.empty { border: 2px dashed var(--line); background: transparent; }
@media (max-width: 600px) {
  .top { padding: 8px 12px; }
  .top h1 { font-size: 18px; }
  .home-hero { padding: 16px; gap: 12px; }
  .home-hero .home-icon { font-size: 36px; }
  .home-hero .home-title { font-size: 19px; }
  .set-tiles { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* En-tête compact (il reste visible en permanence) */
.top { gap: 6px 24px; padding: 8px 24px; }
.top .home-link { margin: 0; font-size: 13px; }
.top h1 { font-size: 20px; line-height: 1.15; }
#global-progress { margin: 2px 0 0; font-size: 13px; }
.backup { gap: 6px; }
.backup .btn, .ui-lang select { padding: 6px 12px; font-size: 13px; }
.backup-info { font-size: 12px; line-height: 1.2; min-height: 0; }
.ui-lang { display: inline-flex; align-items: center; gap: 4px; }
.ui-lang select { border: 0; border-radius: 999px; background: #fff; color: var(--red-dark); font-weight: 600; }
.backup-info.warn::before { color: #fff3a8; }
.backup .ui-lang { order: -1; margin-left: 0; align-self: center; }
.backup-info { order: 9; }
