/* MCShorts Creator Portal
   Farben, Radius und Schrift sind die des Stores (mcshorts-store/assets/style.css), damit beide
   Seiten nach einer Marke aussehen: #E8421F Körper, #FF512A Highlight, warmes Dunkel. */

/* Poppins liegt wie im Store auf dem eigenen Server (assets/fonts), nicht bei Google Fonts.
   Fehlt eine Datei, greift system-ui. */
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/poppins-400.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/poppins-500.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/poppins-600.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/poppins-700.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-style: normal; font-weight: 800; font-display: swap; src: url("fonts/poppins-800.woff2") format("woff2"); }

:root {
  --background: #191614;
  --background-transparent: rgba(25, 22, 20, 0.85);
  --footer: #120f0e;
  --transparent: rgba(255, 255, 255, 0.12);
  --transparent-hover: rgba(255, 255, 255, 0.2);
  --panel: #241e1b;
  --panel-raised: #2c2521;
  --border: #362c27;
  --main-color: #e8421f;
  --main-color-hover: #c43617;
  --color-accent: #ff512a;
  --famous: #960ef1;
  --white: #ffffff;
  --text: rgba(255, 226, 214, 0.78);
  --muted: rgba(255, 226, 214, 0.55);
  --red: #d43246;
  --green: #41b95b;
  --gold: #ffd24c;
  --spacing: 8px;
  --radius: 8px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--background);
  color: var(--text);
  font-family: "Poppins", system-ui, sans-serif;
  font-size: 15px;
  line-height: 1.55;
}

body > footer {
  margin-top: auto;
  background: var(--footer);
  padding: calc(var(--spacing) * 3) 0;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-align: center;
}

a { color: var(--color-accent); text-decoration: none; }
a:hover { color: var(--main-color); }

h1, h2 { color: var(--white); margin: 0; line-height: 1.25; text-wrap: balance; }
h1 { font-size: 1.6rem; font-weight: 700; }
h2 { font-size: 1.05rem; font-weight: 600; }
p { margin: 0; }

code {
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 0.92em;
  color: var(--white);
  background: var(--transparent);
  border-radius: 4px;
  padding: 2px 6px;
}

.container {
  width: min(960px, 100% - 32px);
  margin-inline: auto;
}

.headerbg {
  position: absolute;
  inset: 0 0 auto 0;
  height: 360px;
  background:
    radial-gradient(60% 100% at 50% 0%, rgba(232, 66, 31, 0.22), transparent 70%),
    linear-gradient(0deg, var(--background), var(--background-transparent));
  z-index: -1;
}

/* --- Kopfzeile ------------------------------------------------------------ */

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: calc(var(--spacing) * 2);
  padding: calc(var(--spacing) * 3) 0;
  flex-wrap: wrap;
}

.topbar__logo { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
/* Logo (255x49) und Abzeichen (91x7) sind Pixel-Art: pixelated hält beide beim Skalieren scharf.
   Das Abzeichen ist im Stil der Rang-Abzeichen gezeichnet und steht deshalb auf einem ganzen
   Vielfachen seiner Höhe, 7px mal 3. */
.topbar__logo img { display: block; width: auto; image-rendering: pixelated; }
.topbar__mark { height: 34px; }
.topbar__badge { height: 21px; }

.topbar__right { display: flex; align-items: center; gap: var(--spacing); flex-wrap: wrap; }

.player {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 6px 6px 6px 8px;
}
.player[hidden] { display: none; }
.player__head { width: 32px; height: 32px; border-radius: 6px; image-rendering: pixelated; }
.player__data { display: grid; gap: 3px; }
/* Das Rang-Abzeichen aus dem Resourcepack, 7px hoch: Faktor 2. */
.player__rank { height: 14px; width: auto; image-rendering: pixelated; justify-self: start; }
.player__name { color: var(--white); font-weight: 600; font-size: 0.85rem; line-height: 1; }

.lang { position: relative; display: flex; }
.lang__menu {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  z-index: 20;
  display: grid;
  gap: 4px;
  min-width: 100%;
}
.lang__menu[hidden] { display: none; }
.lang button {
  white-space: nowrap;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 10px 12px;
  cursor: pointer;
}
.lang button:hover { border-color: var(--main-color); color: var(--white); }

/* --- Bausteine ------------------------------------------------------------ */

main { display: grid; gap: calc(var(--spacing) * 2); padding-bottom: calc(var(--spacing) * 8); }

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 1.5);
  padding: calc(var(--spacing) * 3);
  display: grid;
  gap: calc(var(--spacing) * 2);
  align-content: start;
}
.card--narrow, .card--wizard { width: min(560px, 100%); margin-inline: auto; }
.card--wizard { padding: calc(var(--spacing) * 4); }
.card__head { display: flex; justify-content: space-between; align-items: baseline; gap: var(--spacing); flex-wrap: wrap; }
.card__sub { margin-top: var(--spacing); }

.lead { font-size: 0.98rem; }
.note { font-size: 0.82rem; color: var(--muted); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px calc(var(--spacing) * 2.5);
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: var(--transparent);
  color: var(--white);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.button:hover { background: var(--transparent-hover); color: var(--white); }
.button:disabled { opacity: 0.55; cursor: default; }
.button--primary { background: var(--main-color); color: #fff; }
.button--primary:hover { background: var(--main-color-hover); color: #fff; }
.button--block { width: 100%; padding-block: 12px; }
.button--small { padding: 6px 12px; font-size: 0.82rem; }

:focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; }

.field { display: grid; gap: 6px; }
.field span { font-size: 0.85rem; font-weight: 500; color: var(--white); }
.input {
  width: 100%;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--white);
  font: inherit;
  padding: 12px 14px;
}
.input:focus { outline: none; border-color: var(--main-color); }
.input--key {
  font-family: ui-monospace, "Cascadia Mono", Consolas, monospace;
  font-size: 1.25rem;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
}
.input--key::placeholder { color: rgba(255, 255, 255, 0.18); }
.input--code { font-size: 1.1rem; font-weight: 600; }

form { display: grid; gap: calc(var(--spacing) * 2); }

.error {
  font-size: 0.85rem;
  color: #fff;
  background: rgba(212, 50, 70, 0.15);
  border: 1px solid var(--red);
  border-radius: var(--radius);
  padding: 10px 12px;
}

.howto { margin: 0; padding: 0; list-style: none; counter-reset: howto; display: grid; gap: 12px; }
/* Die Nummer steht absolut vor dem Text und nicht in einem Raster: im Raster bekäme jedes <code>
   und jedes <strong> mitten im Satz eine eigene Zeile. */
.howto li {
  counter-increment: howto;
  position: relative;
  min-height: 28px;
  padding: 3px 0 0 40px;
}
.howto li::before {
  content: counter(howto);
  position: absolute;
  left: 0;
  top: 0;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--transparent);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
}
.howto li > .button { display: flex; width: fit-content; margin-top: 8px; }

.loading {
  width: 36px;
  height: 36px;
  margin: 80px auto;
  border: 3px solid var(--border);
  border-top-color: var(--main-color);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* --- Assistent ------------------------------------------------------------ */

.stepper {
  list-style: none;
  margin: var(--spacing) auto;
  padding: 0;
  width: min(560px, 100%);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stepper__step {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 6px;
  font-size: 0.78rem;
  color: var(--muted);
}
/* Die Linie zum vorigen Schritt. */
.stepper__step + .stepper__step::before {
  content: "";
  position: absolute;
  top: 15px;
  right: calc(50% + 20px);
  width: calc(100% - 40px);
  height: 2px;
  background: var(--border);
}
.stepper__step.is-done + .stepper__step::before { background: var(--main-color); }
.stepper__dot {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--panel);
  border: 2px solid var(--border);
  color: var(--muted);
  font-weight: 700;
  font-size: 0.85rem;
}
.stepper__step.is-current { color: var(--white); font-weight: 600; }
.stepper__step.is-current .stepper__dot { border-color: var(--main-color); color: var(--white); }
.stepper__step.is-done .stepper__dot { background: var(--main-color); border-color: var(--main-color); color: #fff; }

.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--spacing); }
.facts li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: start;
  background: var(--panel-raised);
  border-radius: var(--radius);
  padding: 14px;
}
.facts__icon {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: rgba(232, 66, 31, 0.16);
  color: var(--color-accent);
  font-weight: 700;
  font-size: 1.05rem;
}
.facts strong { color: var(--white); font-weight: 600; }
.facts p { font-size: 0.88rem; }

.check { min-height: 1.4em; font-size: 0.85rem; font-weight: 500; margin-top: -8px; }
.check--free { color: var(--green); }
.check--taken, .check--invalid { color: #ff6b7d; }
.check--checking { color: var(--muted); }

.linkpreview {
  display: grid;
  gap: 2px;
  background: var(--background);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  font-size: 0.82rem;
}
.linkpreview strong { color: var(--white); font-size: 0.95rem; overflow-wrap: anywhere; }

.summary { margin: 0; display: grid; gap: 1px; background: var(--border); border-radius: var(--radius); overflow: hidden; }
.summary div { display: flex; justify-content: space-between; gap: 16px; background: var(--panel-raised); padding: 10px 14px; }
.summary dt { color: var(--muted); font-size: 0.85rem; white-space: nowrap; }
.summary dd { margin: 0; color: var(--white); font-weight: 600; text-align: right; overflow-wrap: anywhere; }

.wizard__nav { display: flex; justify-content: space-between; gap: var(--spacing); margin-top: var(--spacing); }

/* --- Warten / abgelehnt --------------------------------------------------- */

.card--status .howto { text-align: left; width: 100%; }
.is-confirm .status__icon { background: rgba(232, 66, 31, 0.16); color: var(--color-accent); }

.card--status { justify-items: center; text-align: center; margin-top: calc(var(--spacing) * 3); }
.card--status .summary { width: 100%; text-align: left; }
.status__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  font-size: 1.6rem;
  background: rgba(255, 210, 76, 0.14);
  color: var(--gold);
}
.is-denied .status__icon { background: rgba(212, 50, 70, 0.16); color: #ff6b7d; }

/* --- Übersicht ------------------------------------------------------------ */

.hero {
  grid-template-columns: 1fr auto;
  gap: calc(var(--spacing) * 4);
  align-items: center;
  border-color: rgba(232, 66, 31, 0.45);
  background:
    radial-gradient(80% 140% at 0% 0%, rgba(232, 66, 31, 0.18), transparent 60%),
    var(--panel);
}
.hero__main { display: grid; gap: 6px; min-width: 0; justify-items: start; }
.hero__label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: var(--spacing);
}
.hero__code { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.hero__code span {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.1;
  color: var(--white);
  overflow-wrap: anywhere;
}

.badge {
  font-size: 0.72rem;
  font-weight: 600;
  border-radius: 999px;
  padding: 4px 12px;
}
.badge--live { background: rgba(65, 185, 91, 0.16); color: #6fdc88; }
.badge--live::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 7px;
  border-radius: 50%;
  background: var(--green);
}

.copyrow {
  display: flex;
  align-items: center;
  gap: var(--spacing);
  max-width: 100%;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 6px 6px 6px 14px;
}
.copyrow__text { color: var(--white); font-size: 0.9rem; overflow-wrap: anywhere; min-width: 0; }

.stats { margin: 0; display: grid; gap: var(--spacing); min-width: 190px; }
.stat {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 14px;
}
.stat dt { font-size: 0.8rem; color: var(--muted); }
.stat dd { margin: 0; font-size: 1.35rem; font-weight: 700; color: var(--white); font-variant-numeric: tabular-nums; }
.stat--accent dd { color: var(--color-accent); }

.progress__count { font-size: 0.88rem; color: var(--text); font-variant-numeric: tabular-nums; }

/* Die Leiste: oben die Schilder der beiden Meilensteine, darunter ihre Zahlen. Rechts 28px Luft,
   damit das Schild am Ende nicht über die Karte hinausragt. */
.progress { position: relative; margin: 34px 28px 26px 0; }
.progress__track { height: 14px; border-radius: 999px; background: var(--background); border: 1px solid var(--border); overflow: hidden; }
.progress__fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--main-color), var(--color-accent) 60%, var(--gold));
  transition: width 0.6s ease;
}
.progress__mark { position: absolute; top: 0; height: 14px; width: 0; }
.progress__mark::before {
  content: "";
  position: absolute;
  top: -3px;
  left: -1px;
  width: 2px;
  height: 20px;
  background: var(--border);
}
.progress__pin {
  position: absolute;
  bottom: 22px;
  left: 0;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  background: var(--panel-raised);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 2px 9px;
}
.progress__num {
  position: absolute;
  top: 22px;
  left: 0;
  transform: translateX(-50%);
  font-size: 0.75rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.progress__mark.is-reached::before { background: var(--gold); }
.progress__mark.is-reached .progress__pin { background: var(--gold); border-color: var(--gold); color: #2a1c00; }
.progress__mark.is-reached .progress__num { color: var(--white); }

.milestones { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: var(--spacing); }
.milestone {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 14px;
  align-items: start;
  background: var(--panel-raised);
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 14px;
}
.milestone__badge {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--transparent);
  font-size: 1rem;
}
.milestone__goal { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.milestone__reward { color: var(--white); font-weight: 600; font-size: 1.02rem; }
.milestone__state { font-size: 0.84rem; }
.milestone.is-reached { border-color: rgba(255, 210, 76, 0.45); }
.milestone.is-reached .milestone__badge { background: var(--gold); color: #2a1c00; font-weight: 700; }
.milestone.is-reached .milestone__state { color: var(--gold); }

.grid { display: grid; grid-template-columns: 3fr 2fr; gap: calc(var(--spacing) * 2); align-items: start; }
.grid .card > .button { justify-self: start; }

.snippet {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px 14px;
  color: var(--white);
  font-size: 0.9rem;
  overflow-wrap: anywhere;
}

.tips { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 0.9rem; }
.tips li { padding-left: 18px; position: relative; }
.tips li::before { content: "»"; position: absolute; left: 0; color: var(--color-accent); font-weight: 700; }

/* --- Custom Cosmetics ------------------------------------------------------ */

.slots { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: var(--spacing); align-items: start; }
.slot {
  display: grid;
  gap: 10px;
  justify-items: start;
  background: var(--panel-raised);
  border-radius: var(--radius);
  padding: 16px;
}
.slot.is-locked { opacity: 0.7; }
.slot__head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; width: 100%; }
.slot__name { color: var(--white); font-weight: 600; }
.slot__state { font-size: 0.88rem; }
.slot__wish { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.slot__wish strong { color: var(--white); font-size: 1.02rem; overflow-wrap: anywhere; }
.slot__wish span { color: var(--color-accent); font-size: 0.82rem; font-weight: 600; }
.slot__text { font-size: 0.88rem; white-space: pre-wrap; overflow-wrap: anywhere; }
.slot__note {
  font-size: 0.86rem;
  color: var(--white);
  background: var(--background);
  border-left: 3px solid var(--famous);
  border-radius: 4px;
  padding: 8px 12px;
  overflow-wrap: anywhere;
}
.slot__note span { color: var(--muted); font-weight: 600; }
.slot__form { display: grid; gap: calc(var(--spacing) * 1.5); width: 100%; }
textarea.input { resize: vertical; min-height: 96px; line-height: 1.5; }
select.input { appearance: none; cursor: pointer; }

.pill--cos-open { background: rgba(255, 210, 76, 0.16); color: var(--gold); }
.pill--cos-progress { background: rgba(60, 167, 255, 0.18); color: #7cc4ff; }
.pill--cos-done { background: rgba(65, 185, 91, 0.16); color: #6fdc88; }
.pill--cos-declined { background: rgba(212, 50, 70, 0.16); color: #ff8a98; }

/* --- Admin ----------------------------------------------------------------- */

.button--admin { background: var(--famous); }
.button--admin:hover { background: #7d0bcb; }
.button--good { background: rgba(65, 185, 91, 0.22); color: #8ce8a1; }
.button--good:hover { background: rgba(65, 185, 91, 0.34); color: #fff; }
.button--danger { background: rgba(212, 50, 70, 0.2); color: #ff8a98; }
.button--danger:hover { background: rgba(212, 50, 70, 0.34); color: #fff; }

.stats--row { grid-template-columns: repeat(4, 1fr); min-width: 0; }
.stats--row .stat { flex-direction: column; align-items: flex-start; gap: 2px; }

.admin-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--spacing); }
.admin-row {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 16px;
  background: var(--panel-raised);
  border-radius: var(--radius);
  padding: 16px;
}
.admin-row__head { width: 48px; height: 48px; border-radius: 6px; image-rendering: pixelated; }
.admin-row__main { display: grid; gap: 10px; min-width: 0; }
.admin-row__title { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.admin-row__title strong { color: var(--white); font-size: 1.05rem; }
.admin-row__code { color: var(--color-accent); font-weight: 700; }
.admin-row__facts { margin: 0; display: grid; gap: 4px; font-size: 0.86rem; }
.admin-row__facts div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; }
.admin-row__facts dt { color: var(--muted); }
.admin-row__facts dd { margin: 0; color: var(--white); overflow-wrap: anywhere; min-width: 0; }
.admin-row__uuid { font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 0.8rem; color: var(--text) !important; }
.admin-row__meta { font-size: 0.78rem; color: var(--muted); }
.admin-row__actions { display: flex; gap: 6px; flex-wrap: wrap; }

.linklike {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: var(--white);
  text-align: left;
  cursor: pointer;
  border-bottom: 1px dashed var(--muted);
  overflow-wrap: anywhere;
}
.linklike:hover { color: var(--color-accent); border-color: var(--color-accent); }

.pill { font-size: 0.72rem; font-weight: 600; border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.pill--pending { background: rgba(255, 210, 76, 0.16); color: var(--gold); }
.pill--active { background: rgba(65, 185, 91, 0.16); color: #6fdc88; }
.pill--denied { background: rgba(212, 50, 70, 0.16); color: #ff8a98; }
.pill--unconfirmed { background: var(--transparent); color: var(--muted); }
.pill--share { background: rgba(232, 66, 31, 0.2); color: var(--color-accent); }

.sales { list-style: none; margin: 0; padding: 0; display: grid; gap: 1px; background: var(--border); border-radius: var(--radius); overflow: hidden; font-size: 0.86rem; }
.sales li {
  display: grid;
  grid-template-columns: 96px 140px 1fr auto;
  gap: 12px;
  align-items: baseline;
  background: var(--panel-raised);
  padding: 9px 14px;
}
.sales__date { color: var(--muted); font-variant-numeric: tabular-nums; }
.sales__code { color: var(--white); font-weight: 600; overflow-wrap: anywhere; }
.sales__id { color: var(--muted); font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 0.78rem; overflow-wrap: anywhere; min-width: 0; }
.sales__amount { color: var(--white); font-variant-numeric: tabular-nums; white-space: nowrap; }
.sales .is-refunded .sales__amount, .sales .is-refunded .sales__code { color: var(--muted); text-decoration: line-through; }

/* --- Hinweis unten --------------------------------------------------------- */

.toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 12px);
  opacity: 0;
  pointer-events: none;
  background: var(--panel-raised);
  border: 1px solid var(--border);
  border-left: 3px solid var(--green);
  border-radius: var(--radius);
  color: var(--white);
  font-weight: 500;
  padding: 10px 18px;
  transition: opacity 0.2s, transform 0.2s;
  z-index: 50;
}
.toast--visible { opacity: 1; transform: translate(-50%, 0); }

/* --- Schmal ---------------------------------------------------------------- */

@media (max-width: 720px) {
  .hero { grid-template-columns: 1fr; gap: calc(var(--spacing) * 2); }
  .stats { grid-template-columns: repeat(3, 1fr); min-width: 0; }
  .stat { flex-direction: column; align-items: flex-start; gap: 2px; }
  .milestones, .grid { grid-template-columns: 1fr; }
  .hero__code span { font-size: 1.7rem; }
  .card, .card--wizard { padding: calc(var(--spacing) * 2.5); }
  .stepper__label { font-size: 0.7rem; }
  .topbar__badge { height: 14px; }
  .stats--row { grid-template-columns: 1fr 1fr; }
  .slots { grid-template-columns: 1fr; }
  .admin-row { grid-template-columns: 1fr; }
  .admin-row__head { display: none; }
  .admin-row__facts div { grid-template-columns: 1fr; gap: 0; }
  .sales li { grid-template-columns: 1fr auto; }
  .sales__id { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation-duration: 0.01ms !important; }
}
