/* Blue–cyan–green RGB accents, with readable dark labels. */
:root {
  --rgb: linear-gradient(110deg, #168dff 0%, #18cbd5 48%, #39ed98 100%);
  --glow: 0 0 20px #16cbb52b;
}
body {
  background:
    radial-gradient(ellipse at 90% 0%, #0e594625, transparent 45%),
    radial-gradient(ellipse at 20% 10%, #0874c51c, transparent 50%), var(--bg);
}
.brand {
  background: var(--rgb);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.brand span {
  color: #efffff;
}
.primary,
.searchgo {
  background: var(--rgb);
  color: #031b25;
  font-weight: 700;
  box-shadow: var(--glow);
}
.primary:hover,
.searchgo:hover {
  filter: brightness(1.1);
}
.bar i {
  background: var(--rgb);
}
.tile,
.group,
.collectionitem {
  background: linear-gradient(120deg, #122b39, #081920);
  border-color: #294b58;
}
.tile:hover,
.collectionitem:hover {
  border-color: #24cbb4;
  box-shadow: var(--glow);
}
.cardactions button {
  background: var(--rgb);
  color: #031b25;
}
.cardtile.owned {
  box-shadow: 0 0 12px #21d5a51a;
}
.stat {
  background: linear-gradient(130deg, #102b40, #10332f);
}
.stat b {
  color: #60edcd;
}
.setintro {
  background: linear-gradient(120deg, #12344a, #10382e);
  border-color: #295b5c;
}
.search input,
input,
select {
  background: #091b26;
}
.back {
  color: #7bded8;
}
.tag {
  border-color: #386267;
  color: #c9ece8;
}

/* Boutons unifiés : un style principal (dégradé) et un style secondaire (sombre). */
.primary {
  min-height: 46px;
  padding: 0 20px;
  border-radius: 14px;
  font-size: 15px;
  letter-spacing: -0.005em;
  transition:
    filter 0.15s,
    transform 0.12s;
}
.primary:active,
.secondary:active {
  transform: scale(0.98);
}
.secondary,
dialog .secondary {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #0d1e2c;
  color: #e9f6f4;
  font-weight: 600;
  transition:
    border-color 0.15s,
    background 0.15s,
    transform 0.12s;
}
.secondary:hover,
.secondary:focus-visible {
  border-color: #3e9c94;
  background: #11283a;
}
.secondary:disabled,
.primary:disabled {
  opacity: 0.55;
}
