:root { color-scheme: dark; }
body { background:
  radial-gradient(1200px 500px at 10% -10%, rgba(201,162,39,0.08), transparent 40%),
  #0c0b09; }

.shell {
  width: 100%;
  margin-inline: auto;
  padding-inline: 0.75rem;
  box-sizing: border-box;
}
@media (min-width: 640px) {
  .shell {
    width: 94%;
    padding-inline: 1rem;
  }
}
@media (min-width: 1024px) {
  .shell {
    width: 90%;
    max-width: none;
    padding-inline: 1.25rem;
  }
}

[x-cloak] { display: none !important; }

.nav-bar { display: none; }
.nav-bar.nav-bar-open { display: block; }
@media (min-width: 1024px) {
  .nav-bar { display: flex !important; }
}

.nav-link { color: rgba(232,224,208,0.75); }
.nav-link:hover { color: #c9a227; }
.btn-gold {
  background: #c9a227; color: #0c0b09; font-weight: 600;
  padding: 0.55rem 1rem; border-radius: 0.6rem;
}
.btn-gold:hover { filter: brightness(1.08); }
.btn-ghost {
  border: 1px solid rgba(201,162,39,0.35); color: #e8e0d0;
  padding: 0.4rem 0.75rem; border-radius: 0.5rem; font-size: 0.85rem;
}
.input, select.input, textarea.input {
  width: 100%; margin-top: 0.25rem; border-radius: 0.5rem;
  border: 1px solid rgba(201,162,39,0.25); background: #0c0b09;
  color: #e8e0d0; padding: 0.5rem 0.7rem;
}
.flash { border-radius: 0.6rem; padding: 0.6rem 0.8rem; font-size: 0.9rem; }
.flash-success { background: rgba(61,139,90,0.2); border: 1px solid #3d8b5a; }
.flash-error { background: rgba(179,58,58,0.2); border: 1px solid #b33a3a; }
.flash-info, .flash-warning { background: rgba(201,162,39,0.12); border: 1px solid #c9a227; }
.owned-ring { box-shadow: none; }
.missing-ring { box-shadow: none; }
.badge-owned, .badge-missing {
  width: 1.35rem; height: 1.35rem; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.7rem; font-weight: 700;
}
.badge-owned { background: #3d8b5a; color: #0c0b09; }
.badge-missing { background: #b33a3a; color: #fff; }
.card-tile {
  position: relative;
  width: 100%;
  background: #0c0b09;
  border-radius: 1rem;
  overflow: visible;
  padding: 5.5%;
  box-sizing: border-box;
  border: 3px solid #b33a3a;
}
.card-tile.owned-ring { border-color: #3d8b5a; }
.card-tile.missing-ring { border-color: #b33a3a; }
.card-tile.purchased-ring { border-color: #7c3aed; box-shadow: 0 0 0 1px rgba(124, 58, 237, 0.35); }
.card-tile.is-flagged { box-shadow: 0 0 0 2px rgba(234, 179, 8, 0.85); }
.card-tile.purchased-ring.is-flagged {
  box-shadow: 0 0 0 1px rgba(124, 58, 237, 0.35), 0 0 0 3px rgba(234, 179, 8, 0.8);
}
.card-tile.owned-ring.is-flagged {
  box-shadow: 0 0 0 2px rgba(234, 179, 8, 0.85);
}
.card-face {
  border-radius: 0.4rem;
  overflow: hidden;
  background: #0c0b09;
  aspect-ratio: 63 / 88;
  width: 100%;
  position: relative;
  z-index: 1;
}
.tile-fab {
  position: absolute;
  width: clamp(1.35rem, 16%, 2rem);
  height: clamp(1.35rem, 16%, 2rem);
  border-radius: 999px;
  display: grid;
  place-items: center;
  z-index: 4;
  border: 0;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 2px 10px rgba(0,0,0,0.45);
  cursor: pointer;
}
.tile-status { top: 5%; left: 5%; color: #fff; font-size: 0.95rem; }
.tile-status.is-owned { background: #3d8b5a; }
.tile-status.is-missing { background: #b33a3a; }
.tile-flag {
  bottom: 5%;
  left: 5%;
  background: rgba(12, 11, 9, 0.75);
  color: #eab308;
  border: 1px solid rgba(234, 179, 8, 0.55);
  font-family: Cinzel, serif;
  font-size: 1.25rem;
}
.tile-flag.is-on {
  background: #eab308;
  color: #0c0b09;
  border-color: #eab308;
}
.tile-menu { top: 5%; right: 5%; background: #c9a227; color: #0c0b09; font-size: 1rem; }
.tile-info {
  bottom: 5%;
  right: 5%;
  background: #e8e0d0;
  color: #0c0b09;
  font-family: Cinzel, serif;
  font-style: italic;
  font-size: 1.05rem;
}
.info-grid { display: grid; gap: 0.7rem; align-content: start; }
.info-grid dt { font-size: 0.72rem; color: rgba(232,224,208,0.55); text-transform: uppercase; letter-spacing: 0.04em; }
.info-grid dd { font-size: 0.95rem; color: #e8e0d0; margin: 0.15rem 0 0; white-space: pre-wrap; }
.info-wide { grid-column: 1 / -1; }
.modal-panel-info { width: min(96vw, 72rem); }
.dropzone {
  border: 1px dashed rgba(201,162,39,0.4); border-radius: 0.9rem;
  padding: 1.2rem; text-align: center; background: rgba(12,11,9,0.5);
}
.dropzone.drag { border-color: #c9a227; background: rgba(201,162,39,0.08); }
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(0,0,0,0.72);
  display: flex; align-items: center; justify-content: center; z-index: 50; padding: 0.75rem;
}
.modal-panel {
  width: min(96vw, 90rem);
  max-height: 92vh;
  overflow-y: auto;
  border-radius: 1rem;
  border: 1px solid rgba(201,162,39,0.25);
  background: #161410;
  padding: 1rem;
}
.filter-panel {
  border-radius: 0.9rem;
  border: 1px solid rgba(201,162,39,0.15);
  background: #161410;
  overflow: hidden;
}
.filter-panel-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.7rem 1rem 0;
}
.filter-toggle {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
  padding: 0;
}
.filter-bar {
  display: grid;
  gap: 0.75rem;
  padding: 0.85rem 1rem 1rem;
  grid-template-columns: 1fr;
}
.filter-search, .filter-actions, .filter-presets, .pack-picker { grid-column: 1 / -1; }
.pack-picker {
  border: 1px solid rgba(201,162,39,0.15);
  border-radius: 0.7rem;
  padding: 0.65rem 0.75rem 0.75rem;
}
.pack-picker legend {
  padding: 0 0.25rem;
  color: rgba(232,224,208,0.7);
}
.pack-picker-hint {
  margin: 0.15rem 0 0.45rem;
  color: rgba(232,224,208,0.45);
}
.pack-picker-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.85rem;
}
.pack-picker-list label {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
}
.filter-presets {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
}
@media (min-width: 640px) {
  .filter-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .filter-bar { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 1440px) {
  .filter-bar { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .filter-search { grid-column: span 2; }
}

.card-grid {
  --tile: 12rem;
  display: grid;
  gap: 0.85rem;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--tile)), var(--tile)));
  justify-content: start;
  align-items: start;
}
.card-grid.zoom-1 { --tile: 7rem; }
.card-grid.zoom-2 { --tile: 9.25rem; }
.card-grid.zoom-3 { --tile: 12rem; }
.card-grid.zoom-4 { --tile: 16rem; }
.card-grid.zoom-5 { --tile: 21rem; }
.card-grid.zoom-6 { --tile: 28rem; }

.tile-name-overlay,
.tile-qty-overlay,
.tile-price-overlay,
.tile-rarity-overlay {
  display: none;
  pointer-events: none;
}
.tile-name-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(100% + 0.28rem);
  z-index: 2;
  margin: 0;
  padding: 0 0.15rem;
  text-align: center;
  font-family: Cinzel, serif;
  font-size: clamp(1.24rem, 19%, 1.7rem);
  font-weight: 600;
  line-height: 1.2;
  color: #e8e0d0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.85);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tile-qty-overlay {
  position: absolute;
  inset: 5.5%;
  z-index: 3;
  place-items: center;
  border-radius: 0.4rem;
  font-family: Cinzel, serif;
  font-weight: 700;
  font-size: clamp(4.2rem, 84%, 10rem);
  line-height: 1;
  color: #c9a227;
  text-shadow:
    0 0 0.35rem rgba(12, 11, 9, 0.95),
    0 2px 8px rgba(0, 0, 0, 0.75),
    0 0 1px #0c0b09;
  background: linear-gradient(180deg, rgba(12, 11, 9, 0.15), rgba(12, 11, 9, 0.35));
}
.show-card-names .card-grid {
  row-gap: 2.75rem;
  padding-top: 0.55rem;
}
.show-card-names .tile-name-overlay { display: block; }
.show-card-qty .tile-qty-overlay { display: grid; }
.show-card-price .tile-price-overlay { display: flex; }
.show-card-rarity .tile-rarity-overlay { display: grid; }
.tile-rarity-overlay {
  position: absolute;
  inset: 5.5%;
  z-index: 4;
  place-items: center;
  border-radius: 0.4rem;
  font-family: Cinzel, serif;
  font-weight: 700;
  font-size: clamp(4.2rem, 84%, 10rem);
  line-height: 1;
  text-shadow:
    0 0 0.35rem rgba(12, 11, 9, 0.95),
    0 2px 8px rgba(0, 0, 0, 0.75),
    0 0 1px #0c0b09;
  background: linear-gradient(180deg, rgba(12, 11, 9, 0.15), rgba(12, 11, 9, 0.35));
}
.tile-rarity-overlay.band-C { color: #7dcea0; }
.tile-rarity-overlay.band-I { color: #8eb4e8; }
.tile-rarity-overlay.band-R { color: #c9a227; }
.tile-rarity-overlay.band-none { color: rgba(232, 224, 208, 0.35); }
.show-card-qty.show-card-rarity .tile-rarity-overlay,
.show-card-price.show-card-rarity .tile-rarity-overlay {
  inset: 8% 8% auto 8%;
  background: none;
  font-size: clamp(1.5rem, 28%, 3rem);
  align-items: start;
}
.tile-price-overlay {
  position: absolute;
  inset: 5.5%;
  z-index: 3;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  border-radius: 0.4rem;
  padding: 0.35rem;
  font-family: Cinzel, serif;
  font-weight: 700;
  color: #e8e0d0;
  text-shadow:
    0 0 0.35rem rgba(12, 11, 9, 0.95),
    0 2px 8px rgba(0, 0, 0, 0.75);
  background: linear-gradient(180deg, rgba(12, 11, 9, 0.28), rgba(12, 11, 9, 0.55));
}
.tile-price-value {
  font-size: clamp(1.6rem, 32%, 3.4rem);
  line-height: 1;
  color: #c9a227;
}
.tile-price-list {
  font-size: clamp(0.65rem, 11%, 0.95rem);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(232, 224, 208, 0.88);
  max-width: 92%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.tile-price-list.only {
  font-size: clamp(1rem, 18%, 1.5rem);
  color: #c9a227;
}
.tile-price-empty {
  font-size: clamp(1.8rem, 36%, 3.6rem);
  color: rgba(232, 224, 208, 0.35);
}
.tile-purchased-check {
  position: absolute;
  inset: 5.5%;
  z-index: 2;
  display: grid;
  place-items: center;
  pointer-events: none;
  border-radius: 0.4rem;
  font-family: Cinzel, serif;
  font-weight: 700;
  font-size: clamp(3.6rem, 72%, 8.5rem);
  line-height: 1;
  color: #7c3aed;
  text-shadow:
    0 0 0.4rem rgba(12, 11, 9, 0.95),
    0 2px 10px rgba(0, 0, 0, 0.7);
  background: linear-gradient(180deg, rgba(124, 58, 237, 0.08), rgba(12, 11, 9, 0.2));
}
.tile-flag-mark {
  position: absolute;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  pointer-events: none;
  font-family: Cinzel, serif;
  font-weight: 700;
  font-size: clamp(2.8rem, 55%, 6.5rem);
  line-height: 1;
  color: #eab308;
  text-shadow:
    0 0 0.35rem rgba(12, 11, 9, 0.95),
    0 2px 8px rgba(0, 0, 0, 0.75);
}
.card-tile.purchased-ring .tile-flag-mark {
  top: 18%;
  left: auto;
  right: 14%;
  transform: none;
  font-size: clamp(1.8rem, 28%, 3rem);
}
.overlay-toggles {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: 0.9rem;
  border: 1px solid rgba(201, 162, 39, 0.28);
  background: rgba(201, 162, 39, 0.08);
}
.overlay-toggles-label {
  font-family: Cinzel, serif;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: #c9a227;
  margin-right: 0.25rem;
}
.overlay-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  border: 1px solid rgba(201, 162, 39, 0.35);
  background: #0c0b09;
  color: #e8e0d0;
  border-radius: 999px;
  padding: 0.4rem 0.85rem 0.4rem 0.45rem;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
}
.overlay-toggle:hover { border-color: #c9a227; }
.overlay-toggle.is-on {
  background: rgba(201, 162, 39, 0.2);
  border-color: #c9a227;
  color: #c9a227;
}
.overlay-toggle-state {
  display: inline-grid;
  place-items: center;
  min-width: 2.1rem;
  padding: 0.15rem 0.35rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: rgba(232, 224, 208, 0.12);
  color: rgba(232, 224, 208, 0.7);
}
.overlay-toggle.is-on .overlay-toggle-state {
  background: #c9a227;
  color: #0c0b09;
}
.btn-ghost.is-overlay-on {
  background: rgba(201, 162, 39, 0.22);
  border-color: rgba(201, 162, 39, 0.55);
  color: #c9a227;
}

/* Horizontal (90°/270°): misma altura que vertical de ancho --tile */
.card-tile:has(.rot-90),
.card-tile:has(.rot-270) {
  --pad: calc(var(--tile) * 0.055);
  --face-h: calc((var(--tile) - 2 * var(--pad)) * 88 / 63);
  --face-w: calc(var(--face-h) * 88 / 63);
  width: calc(var(--face-w) + 2 * var(--pad));
  max-width: calc(2 * var(--tile) + 0.85rem);
  padding: var(--pad);
  justify-self: start;
  grid-column: span 2;
  box-sizing: border-box;
}
.card-tile:has(.rot-90) .card-face,
.card-tile:has(.rot-270) .card-face {
  aspect-ratio: 88 / 63;
  width: 100%;
  height: auto;
}
@media (max-width: 639px) {
  .card-tile:has(.rot-90),
  .card-tile:has(.rot-270) {
    grid-column: span 1;
    width: 100%;
    max-width: 100%;
    padding: 5.5%;
  }
}

.upload-meter {
  height: 0.55rem;
  border-radius: 999px;
  background: rgba(201,162,39,0.15);
  overflow: hidden;
}
#satm-upload-bar {
  height: 100%;
  width: 0;
  background: #c9a227;
  transition: width 0.2s ease;
}

.upload-log-panel {
  text-align: left;
  border: 1px solid rgba(201,162,39,0.25);
  border-radius: 0.75rem;
  background: #0c0b09;
  overflow: hidden;
}
.upload-log-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.55rem 0.8rem;
  border-bottom: 1px solid rgba(201,162,39,0.18);
  font-size: 0.85rem;
}
.upload-log-live {
  color: rgba(232,224,208,0.75);
  font-size: 0.8rem;
}
.upload-log {
  margin: 0;
  max-height: 18rem;
  overflow: auto;
  padding: 0.7rem 0.8rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.78rem;
  line-height: 1.45;
  color: #e8e0d0;
  white-space: pre-wrap;
  word-break: break-word;
}
.upload-log:empty::before {
  content: "Aquí verás cada lote, archivo y error si algo casca.";
  color: rgba(232,224,208,0.4);
}
.log-line.log-error { color: #e06a6a; }
.log-line.log-ok { color: #62c484; }
.log-line.log-warn { color: #efc85a; }

.stats-bar {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .stats-bar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.stat-card {
  background: #161410;
  border: 1px solid rgba(201,162,39,0.18);
  border-radius: 0.9rem;
  padding: 1rem 1.1rem 1.05rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-height: 0;
}
.stat-card .stat-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(232,224,208,0.5);
}
.stat-card .stat-value {
  font-family: Cinzel, serif;
  font-size: clamp(1.7rem, 3.5vw, 2.35rem);
  line-height: 1.05;
  font-weight: 700;
  color: #e8d5a3;
}
.stat-of {
  margin-left: 0.35rem;
  font-size: 0.45em;
  font-weight: 500;
  color: rgba(232,224,208,0.45);
  letter-spacing: 0;
}
.stat-card .stat-hint {
  font-size: 0.78rem;
  color: rgba(232,224,208,0.5);
}
.stat-meter {
  margin-top: 0.55rem;
  height: 0.28rem;
  border-radius: 999px;
  background: rgba(201,162,39,0.12);
  overflow: hidden;
}
.stat-meter span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: #c9a227;
  max-width: 100%;
}
.stat-card-miss .stat-value { color: #e8d5a3; }
.missing-panel {
  border: 1px solid rgba(179,58,58,0.4);
  border-radius: 0.9rem;
  background: #161410;
}
.missing-head {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  text-align: left;
  cursor: pointer;
  list-style: none;
}
.missing-head::-webkit-details-marker { display: none; }
.missing-head-hint::after { content: "Mostrar"; }
.missing-panel[open] .missing-head-hint::after { content: "Ocultar"; }
.missing-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
  gap: 0.4rem;
  padding: 0 0.85rem 0.9rem;
  max-height: 18rem;
  overflow: auto;
  border-top: 1px solid rgba(179,58,58,0.2);
}
.missing-item {
  width: 100%;
  text-align: left;
  border-radius: 0.55rem;
  padding: 0.45rem 0.55rem;
  background: rgba(179,58,58,0.12);
}
.missing-item:hover { background: rgba(179,58,58,0.22); }
.missing-title { display: block; font-size: 0.9rem; color: #e8e0d0; }
.missing-meta { display: block; font-size: 0.72rem; color: rgba(232,224,208,0.55); }

.card-art-hit { position: relative; }
.card-open-hit { display: none; }
.card-art-wrap { position: relative; width: 100%; height: 100%; }
.card-art {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #0c0b09;
  width: 100%;
  height: 100%;
  min-height: 0;
  position: relative;
}
.card-art img {
  transform-origin: center center;
  object-fit: contain;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  display: block;
}
/*
  Fichero vertical + marco apaisado: alto = 100% del marco (caja vertical),
  rotate + scale(88/63) para ocupar el marco sin recorte ni descentrado.
*/
.card-art.rot-90 img,
.card-art.rot-270 img {
  position: absolute;
  left: 50%;
  top: 50%;
  width: auto;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: contain;
}
.card-art.rot-90 img {
  transform: translate(-50%, -50%) rotate(90deg) scale(calc(88 / 63));
}
.card-art.rot-270 img {
  transform: translate(-50%, -50%) rotate(270deg) scale(calc(88 / 63));
}
.card-art.rot-180 img {
  transform: rotate(180deg);
}
.card-art-grid { min-height: 0; }
.card-art-grid img.thumb {
  max-height: 100%;
  max-width: 100%;
}
.card-art-grid.rot-90 img.thumb,
.card-art-grid.rot-270 img.thumb {
  max-height: none;
  max-width: none;
}
.card-art-grid img.thumb-lazy {
  background:
    linear-gradient(110deg, rgba(201,162,39,0.08) 8%, rgba(201,162,39,0.18) 18%, rgba(201,162,39,0.08) 33%);
  background-size: 200% 100%;
  min-height: 0;
  opacity: 0.35;
  transition: opacity 0.2s ease;
}
.card-art-grid.rot-0 img.thumb-lazy,
.card-art-grid.rot-180 img.thumb-lazy {
  min-height: 100%;
}
.card-art-grid img.thumb-lazy.is-pending {
  animation: thumb-shimmer 1.2s linear infinite;
}
.card-art-grid img.thumb-lazy.is-loaded {
  opacity: 1;
  background: none;
  animation: none;
}
.card-art-grid img.thumb-lazy.is-error {
  opacity: 0.5;
  background: rgba(179,58,58,0.25);
  animation: none;
}
@keyframes thumb-shimmer {
  to { background-position: -200% 0; }
}
.card-art-modal {
  min-height: 42vh;
}
.card-art-modal img {
  max-height: 68vh;
  max-width: 100%;
}
.card-art-modal.rot-90,
.card-art-modal.rot-270 {
  width: min(100%, 72vh);
  max-width: 100%;
  aspect-ratio: 88 / 63;
  min-height: 0;
  height: auto;
  margin-inline: auto;
}
.card-art-modal.rot-90 img,
.card-art-modal.rot-270 img {
  max-height: none;
  max-width: none;
}
.art-rotate-bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.35rem 0.4rem 0.5rem;
  background: rgba(12,11,9,0.92);
}
.card-art-hit:not(:has(.art-rotate-bar)) .card-open-hit {
  height: 100%;
}

.dup-dialog {
  border: 1px solid rgba(201,162,39,0.35);
  border-radius: 0.9rem;
  padding: 0;
  background: #14110c;
  color: #e8e0d0;
  max-width: min(92vw, 36rem);
}
.dup-dialog::backdrop { background: rgba(0,0,0,0.72); }
.dup-dialog-panel { padding: 1.25rem 1.35rem 1.4rem; }
.dup-list {
  margin-top: 0.75rem;
  max-height: 12rem;
  overflow: auto;
  border-radius: 0.5rem;
  border: 1px solid rgba(201,162,39,0.2);
  background: #0c0b09;
  padding: 0.6rem 0.75rem;
  font-size: 0.78rem;
  line-height: 1.45;
  white-space: pre-wrap;
}
