:root {
  --ink: #202126;
  --line: #101014;
  --paper: #f8f8f6;
  --shadow: rgba(0, 0, 0, 0.22);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--paper);
  font-family: Montserrat, Avenir Next, Trebuchet MS, Arial, sans-serif;
  color: var(--ink);
}

.stage {
  position: relative;
  width: 100vw;
  min-height: 560px;
  height: 100svh;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 43%, rgba(255,255,255,0.98) 0 15%, transparent 27%),
    radial-gradient(circle at 16% 38%, rgba(0,0,0,0.16), transparent 19%),
    radial-gradient(circle at 82% 38%, rgba(0,0,0,0.13), transparent 21%),
    linear-gradient(135deg, rgba(0,0,0,0.06), transparent 32%),
    linear-gradient(225deg, rgba(0,0,0,0.06), transparent 34%),
    var(--paper);
  border: 5px solid #050505;
  isolation: isolate;
}

.stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    radial-gradient(circle at 30% 30%, rgba(0,0,0,0.09) 0 1px, transparent 1px),
    radial-gradient(circle at 75% 60%, rgba(0,0,0,0.07) 0 1px, transparent 1px);
  background-size: 4px 4px, 5px 5px;
  mix-blend-mode: multiply;
}

.panel {
  position: absolute;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.18);
}

button.panel {
  border: 0;
  padding: 0;
  color: inherit;
  font: inherit;
  text-align: inherit;
}

.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border: 3px solid var(--line);
  pointer-events: none;
}

.panel-pride::before {
  border-bottom: 0;
}

.panel-csd::before {
  border-right: 0;
}

.panel-stage::before {
  border-left: 0;
}

.panel-bottom::before {
  border-top: 0;
}

.panel-pride {
  inset: 0 0 auto 0;
  height: 50%;
  z-index: 1;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  background: #eb4f96;
  --panel-hover-bg: #f06ca7;
}

.panel-csd {
  left: 0;
  top: 0;
  width: 50%;
  height: 100%;
  padding-right: 16.667%;
  z-index: 1;
  clip-path: polygon(0 0, 100% 50%, 0 100%);
  background: #111114;
  --panel-hover-bg: #25252a;
}

.panel-stage {
  right: 0;
  top: 0;
  width: 50%;
  height: 100%;
  padding-left: 16.667%;
  z-index: 1;
  clip-path: polygon(0 50%, 100% 0, 100% 100%);
  background: #9b6bc0;
  --panel-hover-bg: #ad80cc;
}

.panel-bottom {
  left: 0;
  right: 0;
  bottom: 0;
  height: 50%;
  background: transparent;
}

.panel-bottom::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  background: rgba(255,255,255,0.48);
}

.hover-panel {
  cursor: pointer;
  transition: filter 220ms ease, transform 220ms ease, background-color 220ms ease;
}

.hover-panel > * {
  transition: transform 220ms ease, filter 220ms ease;
}

.hover-panel:hover,
.hover-panel.is-active {
  background-color: var(--panel-hover-bg, rgba(255,255,255,0.55));
  filter: brightness(1.06) contrast(1.04);
  z-index: 2;
}

.hover-panel:hover > *,
.hover-panel.is-active > * {
  transform: scale(1.055);
  filter: drop-shadow(0 14px 14px rgba(0,0,0,0.2));
}

.hover-panel:focus-visible {
  outline: 4px solid #fff;
  outline-offset: -12px;
  z-index: 3;
}

.center-badge {
  width: max-content;
  margin: 0 auto 1.15rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.02rem;
  text-align: center;
}

.center-badge span {
  font-size: clamp(0.86rem, 1.18vw, 1.12rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.08em;
}

.center-badge strong {
  margin-top: 0.05rem;
  font-size: clamp(1rem, 1.45vw, 1.35rem);
  line-height: 1;
  letter-spacing: 0.04em;
}

.center-badge em {
  font-style: normal;
  font-size: clamp(0.9rem, 1.3vw, 1.2rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.05em;
}

.pride-logo {
  width: min(21vw, 230px);
  height: auto;
  margin-top: -7%;
  border-radius: 50%;
  object-fit: contain;
  filter: drop-shadow(0 12px 12px rgba(0,0,0,0.2));
}

.demo-logo {
  width: min(24vw, 320px);
  height: auto;
  margin-right: 8%;
  border: 3px solid rgba(255,255,255,0.82);
  border-radius: 8px;
  object-fit: contain;
  filter: drop-shadow(0 12px 12px rgba(0,0,0,0.34));
}

.talk-stage-logo {
  width: min(22vw, 280px);
  height: auto;
  margin-left: 9%;
  object-fit: contain;
  filter: drop-shadow(0 12px 12px rgba(0,0,0,0.28));
}

.shield-logo {
  position: relative;
  width: min(23vw, 300px);
  aspect-ratio: 1.03 / 1;
  margin-top: 0;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 12px 12px rgba(0,0,0,0.26));
}

.shield-fill {
  position: absolute;
  inset: 0;
  clip-path: polygon(4% 7%, 96% 0, 90% 72%, 50% 100%, 12% 76%);
  background: linear-gradient(90deg, #e51d28, #ff8b17 19%, #ffe226 34%, #38b54a 51%, #1197d5 68%, #7b338f 86%);
  border: 4px solid #24252a;
}

.shield-logo strong {
  z-index: 1;
  margin-top: -8%;
  color: #1f2024;
  font-size: clamp(2.6rem, 6.3vw, 6.1rem);
  font-weight: 900;
}

.ribbon {
  position: absolute;
  z-index: 2;
  left: -8%;
  right: -8%;
  top: 55%;
  padding: 0.17em 0;
  transform: rotate(-5deg);
  background: #17171b;
  color: white;
  font-size: clamp(0.85rem, 1.8vw, 1.75rem);
  font-weight: 800;
  text-align: center;
  letter-spacing: 0.07em;
}

.star {
  z-index: 1;
  align-self: end;
  margin-bottom: 13%;
  font-size: clamp(1rem, 2vw, 2rem);
}

.talk-logo {
  margin-top: 0;
  text-align: center;
}

.talk-logo h2 {
  margin: 1.2rem 0 0;
  font-size: clamp(1.8rem, 3.7vw, 3.8rem);
  line-height: 1.13;
  font-weight: 600;
}

.megaphone {
  position: relative;
  width: min(19vw, 250px);
  height: min(10vw, 130px);
  margin: 0 auto;
}

.megaphone::before {
  content: "";
  position: absolute;
  left: 3%;
  top: 15%;
  width: 68%;
  height: 64%;
  border: 4px solid #33343a;
  border-radius: 50% 14% 14% 50%;
  background: white;
}

.megaphone .body {
  position: absolute;
  left: 22%;
  top: 28%;
  width: 48%;
  height: 31%;
  border: 4px solid #33343a;
  border-radius: 12px;
  background: linear-gradient(90deg, #f04b2d 0 18%, #ffd318 18% 36%, #35af4b 36% 54%, #178ed2 54% 72%, #7b338f 72%);
  transform: rotate(-8deg);
}

.megaphone .cone {
  position: absolute;
  right: 0;
  top: 4%;
  width: 38%;
  height: 74%;
  border: 5px solid #33343a;
  border-radius: 50%;
  background: radial-gradient(circle at 52% 52%, white 0 13%, #33343a 14% 48%, white 49% 100%);
  transform: rotate(-16deg);
}

.megaphone .handle {
  position: absolute;
  left: 43%;
  top: 56%;
  width: 14%;
  height: 42%;
  border: 4px solid #33343a;
  border-radius: 0 0 11px 11px;
  background: white;
  transform: rotate(-10deg);
}

.welcome {
  position: relative;
  z-index: 1;
  width: min(82%, 820px);
  margin-top: 4%;
  text-align: center;
}

.welcome h1 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.35rem, 2.15vw, 2.25rem);
  font-weight: 700;
}

.welcome p {
  margin: 0;
  font-size: clamp(0.86rem, 1.18vw, 1.12rem);
  line-height: 1.48;
  font-weight: 400;
}

.welcome strong {
  font-weight: 700;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(10, 10, 14, 0.58);
}

.drag-flyer-trigger {
  position: fixed;
  right: clamp(0.8rem, 2.2vw, 1.6rem);
  bottom: clamp(0.8rem, 2.2vw, 1.6rem);
  z-index: 50;
  width: clamp(6.2rem, 10vw, 8.4rem);
  padding: 0.55rem 0.65rem;
  border: 2px solid rgba(255,255,255,0.88);
  border-radius: 1rem;
  background: rgba(17,17,20,0.9);
  box-shadow: 0 8px 28px rgba(0,0,0,0.38), 0 0 0 rgba(235,31,151,0);
  cursor: pointer;
  animation: drag-flyer-pulse 1.25s ease-in-out infinite;
  backdrop-filter: blur(5px);
}

.drag-flyer-trigger img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,0.38));
}

.drag-flyer-trigger:hover {
  transform: translateY(-3px) scale(1.04);
  animation-play-state: paused;
}

.drag-flyer-trigger:focus-visible {
  outline: 4px solid #fff;
  outline-offset: 4px;
}

@keyframes drag-flyer-pulse {
  0%, 100% {
    opacity: 1;
    box-shadow: 0 8px 28px rgba(0,0,0,0.38), 0 0 0 0 rgba(235,31,151,0.55);
  }
  50% {
    opacity: 0.72;
    box-shadow: 0 8px 28px rgba(0,0,0,0.38), 0 0 0 10px rgba(235,31,151,0);
  }
}

.poster-modal {
  position: relative;
  max-width: min(92vw, 760px);
  max-height: 94svh;
  cursor: pointer;
}

.poster-modal[hidden] {
  display: none;
}

.poster-image {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: 92svh;
  border: 3px solid #fff;
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(0,0,0,0.5);
}

.poster-modal-close {
  top: 0.65rem;
  right: 0.65rem;
  z-index: 1;
  border: 2px solid #fff;
}

@media (prefers-reduced-motion: reduce) {
  .drag-flyer-trigger {
    animation: none;
  }
}

.modal-backdrop[hidden],
.info-modal[hidden] {
  display: none;
}

.info-modal {
  position: relative;
  width: min(92vw, 460px);
  padding: 1.45rem;
  border: 3px solid #111114;
  border-radius: 8px;
  background: #f8f8f6;
  box-shadow: 0 22px 60px rgba(0,0,0,0.32);
  text-align: center;
}

.modal-close {
  position: absolute;
  top: 0.55rem;
  right: 0.6rem;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 50%;
  background: #111114;
  color: #fff;
  font: inherit;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
}

.modal-close:focus-visible,
.modal-button:focus-visible {
  outline: 3px solid #eb4f96;
  outline-offset: 3px;
}

.modal-logo {
  width: 5.4rem;
  height: auto;
  margin-bottom: 0.75rem;
}

.modal-logo-wide {
  width: min(15rem, 78vw);
  max-height: 6.4rem;
  border-radius: 6px;
  object-fit: cover;
  object-position: center;
}

.info-modal h2 {
  margin: 0 2.2rem 0.75rem;
  font-size: clamp(1.45rem, 4vw, 2rem);
  line-height: 1.1;
}

.info-modal p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.52;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem;
  margin-top: 1.2rem;
}

.modal-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.75rem 1rem;
  border: 2px solid #111114;
  border-radius: 6px;
  background: #fff;
  color: #111114;
  font-weight: 800;
  text-decoration: none;
}

.modal-button-primary {
  background: #eb4f96;
  color: #fff;
}

.form-page {
  min-height: 100vh;
  padding: clamp(1rem, 3vw, 2rem);
  background:
    linear-gradient(135deg, rgba(235,79,150,0.16), transparent 34%),
    linear-gradient(225deg, rgba(155,107,192,0.16), transparent 34%),
    var(--paper);
}

.form-shell {
  width: min(100%, 980px);
  margin: 0 auto;
}

.form-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.back-link {
  color: #111114;
  font-weight: 800;
  text-decoration: none;
}

.form-title {
  margin: 0;
  font-size: clamp(1.9rem, 5vw, 3.2rem);
  line-height: 1.05;
}

.form-intro {
  max-width: 42rem;
  margin: 0.55rem 0 1.35rem;
  line-height: 1.55;
}

.stand-form {
  display: grid;
  gap: 1rem;
}

.form-section {
  padding: 1.1rem;
  border: 3px solid #111114;
  border-radius: 8px;
  background: rgba(255,255,255,0.72);
}

.form-section h2 {
  margin: 0 0 0.85rem;
  font-size: 1.15rem;
}

.form-section h2 > span {
  display: inline-grid;
  width: 1.7rem;
  height: 1.7rem;
  margin-right: 0.35rem;
  place-items: center;
  border-radius: 50%;
  background: #9b6bc0;
  color: #fff;
  font-size: 0.95rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.form-field {
  display: grid;
  gap: 0.35rem;
}

.form-field-wide {
  grid-column: 1 / -1;
}

.form-field label,
.choice-group legend {
  font-weight: 800;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 2.85rem;
  padding: 0.7rem 0.78rem;
  border: 2px solid #111114;
  border-radius: 6px;
  background: #fff;
  color: #111114;
  font: inherit;
}

.form-field textarea {
  min-height: 7.5rem;
  resize: vertical;
}

.choice-group {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  border: 0;
}

.choice-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.choice-list-stacked {
  display: grid;
  grid-template-columns: 1fr;
}

.choice-list label,
.consent-line {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 2.55rem;
  padding: 0.55rem 0.7rem;
  border: 2px solid #111114;
  border-radius: 6px;
  background: #fff;
  font-weight: 700;
}

.choice-list-stacked label {
  justify-content: flex-start;
}

.choice-list label small,
.contact-person-grid legend small {
  display: block;
  margin-top: 0.15rem;
  color: #65616a;
  font-size: 0.82rem;
  font-weight: 600;
}

.choice-required {
  background: rgba(155,107,192,0.14) !important;
}

.choice-required strong {
  color: #683d87;
}

.choice-list input,
.consent-line input {
  flex: 0 0 auto;
  width: 1.05rem;
  height: 1.05rem;
  accent-color: #eb4f96;
}

.consent-line-block {
  align-items: flex-start;
  line-height: 1.5;
}

.consent-line-block input {
  margin-top: 0.22rem;
}

.section-lead {
  margin: 0 0 0.8rem;
  line-height: 1.55;
}

.form-note {
  margin: 0.75rem 0 0;
  color: #5b5760;
  font-size: 0.9rem;
  line-height: 1.5;
}

.fee-prompt {
  margin-top: 0;
  font-weight: 700;
}

.form-callout {
  padding: 0.95rem;
  border: 2px solid #9b6bc0;
  border-radius: 6px;
  background: rgba(155,107,192,0.1);
}

.form-callout p {
  margin: 0;
  line-height: 1.55;
}

.fee-field {
  max-width: 24rem;
  margin-top: 0.9rem;
}

.fee-field small {
  color: #5b5760;
}

.input-with-suffix {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.55rem;
}

.input-with-suffix > span {
  font-size: 1.2rem;
  font-weight: 900;
}

.contact-person-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.contact-person-grid fieldset {
  display: grid;
  gap: 0.75rem;
  min-width: 0;
  margin: 0;
  padding: 0.9rem;
  border: 2px solid #111114;
  border-radius: 6px;
}

.contact-person-grid legend {
  padding: 0 0.35rem;
  font-weight: 900;
}

.form-contact {
  margin: 0.25rem 0 0;
  padding: 0.9rem 1rem;
  border-left: 5px solid #9b6bc0;
  background: rgba(255,255,255,0.7);
  line-height: 1.5;
}

.form-contact a {
  color: #4d216f;
  font-weight: 800;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.form-button {
  min-height: 2.9rem;
  padding: 0.75rem 1rem;
  border: 2px solid #111114;
  border-radius: 6px;
  background: #111114;
  color: #fff;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.form-button-secondary {
  background: #fff;
  color: #111114;
}

.form-button:disabled {
  cursor: wait;
  opacity: 0.68;
}

.form-status {
  margin: 0;
  font-weight: 800;
}

.form-status.is-success {
  color: #176b3a;
}

.form-status.is-error {
  color: #a3182b;
}

.form-status[hidden] {
  display: none;
}

.form-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 760px) {
  .stage {
    border-width: 3px;
    min-height: 620px;
  }

  .panel-pride {
    height: 50%;
  }

  .panel-csd,
  .panel-stage {
    width: 50%;
    height: 100%;
  }

  .panel-bottom {
    height: 50%;
  }

  .center-badge {
    width: max-content;
    margin-bottom: 0.85rem;
  }

  .center-badge span {
    max-width: 9.25rem;
    font-size: clamp(0.76rem, 3.45vw, 0.94rem);
    line-height: 1.15;
  }

  .center-badge strong {
    font-size: clamp(0.9rem, 4.2vw, 1.1rem);
  }

  .center-badge em {
    font-size: clamp(0.82rem, 3.8vw, 1rem);
  }

  .pride-logo {
    width: min(38vw, 168px);
    margin-top: -12%;
  }

  .demo-logo {
    width: min(36vw, 150px);
    margin-right: 11%;
    border-width: 2px;
  }

  .talk-stage-logo {
    width: min(35vw, 145px);
    margin-left: 11%;
  }

  .shield-logo {
    width: min(32vw, 145px);
    margin-top: 0;
  }

  .shield-logo strong {
    font-size: clamp(2rem, 10vw, 3.2rem);
  }

  .ribbon {
    font-size: clamp(0.58rem, 2.6vw, 0.82rem);
  }

  .talk-logo {
    margin-top: 0;
  }

  .talk-logo h2 {
    margin-top: 0.55rem;
    font-size: clamp(1.05rem, 5vw, 1.45rem);
  }

  .megaphone {
    width: min(29vw, 132px);
    height: min(15vw, 68px);
  }

  .welcome {
    width: 82%;
    margin-top: 10%;
    transform: translateY(22%);
  }

  .welcome h1 {
    max-width: 15rem;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0.5rem;
    font-size: clamp(1.08rem, 5.2vw, 1.45rem);
  }

  .welcome p {
    max-width: 17rem;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(0.76rem, 3.45vw, 0.94rem);
    line-height: 1.42;
  }

  .welcome p br {
    display: none;
  }

  .info-modal {
    padding: 1.25rem;
  }

  .modal-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .contact-person-grid {
    grid-template-columns: 1fr;
  }

  .form-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .choice-list {
    display: grid;
  }
}

@media (max-width: 380px) {
  .center-badge {
    width: max-content;
  }

  .center-badge span {
    font-size: 0.73rem;
    letter-spacing: 0.05em;
  }

  .welcome {
    width: 82%;
    margin-top: 10%;
  }

  .welcome h1 {
    font-size: 1.02rem;
  }

  .welcome p {
    font-size: 0.73rem;
  }
}

/* Interner Bereich: Standanmeldungen */
.admin-page {
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(circle at 8% 10%, rgba(247, 196, 43, 0.24), transparent 25rem),
    radial-gradient(circle at 92% 5%, rgba(232, 67, 99, 0.2), transparent 27rem),
    #f6f3ec;
  color: #111114;
}

.admin-login-shell,
.admin-shell {
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto;
}

.admin-login-shell {
  display: grid;
  min-height: 100vh;
  padding: 2rem 0;
  place-content: center;
}

.admin-login-shell > .back-link {
  margin-bottom: 1rem;
}

.admin-login-card {
  box-sizing: border-box;
  width: min(100%, 470px);
  padding: clamp(1.5rem, 5vw, 3rem);
  border: 3px solid #111114;
  border-radius: 12px;
  background: #fff;
  box-shadow: 10px 10px 0 #111114;
}

.admin-kicker {
  display: inline-block;
  margin-bottom: 0.55rem;
  color: #a3185a;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.admin-login-card h1,
.admin-header h1 {
  margin: 0;
  line-height: 0.98;
}

.admin-login-card h1 {
  max-width: 100%;
  font-size: clamp(2rem, 4vw, 2.5rem);
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
}

.admin-header h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

.admin-login-card > p,
.admin-header p {
  margin: 0.85rem 0 0;
  color: #4c4b50;
  line-height: 1.55;
}

.admin-login-form {
  display: grid;
  gap: 1rem;
  margin-top: 1.7rem;
}

.admin-alert {
  padding: 0.9rem 1rem;
  border: 2px solid currentColor;
  border-radius: 7px;
  margin: 0;
  font-weight: 800;
}

.admin-alert.is-error {
  background: #fff0f2;
  color: #9a1730;
}

.admin-shell {
  padding: clamp(1.5rem, 4vw, 3.5rem) 0 5rem;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  align-items: flex-start;
  padding-bottom: 2rem;
  border-bottom: 3px solid #111114;
}

.admin-toolbar {
  display: grid;
  grid-template-columns: auto minmax(260px, 480px);
  justify-content: space-between;
  align-items: end;
  gap: 2rem;
  padding: 1.5rem 0;
}

.admin-count {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
}

.admin-count strong {
  font-size: 2.3rem;
  line-height: 1;
}

.admin-count span {
  font-weight: 850;
}

.admin-search-field input {
  background: #fff;
}

.admin-list {
  display: grid;
  gap: 1rem;
}

.admin-entry {
  overflow: hidden;
  border: 2px solid #111114;
  border-radius: 9px;
  background: #fff;
  box-shadow: 4px 4px 0 rgba(17, 17, 20, 0.16);
}

.admin-entry[hidden] {
  display: none;
}

.admin-entry-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem;
  padding: 1.2rem 1.35rem;
}

.admin-entry-number {
  color: #a3185a;
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.08em;
}

.admin-entry h2 {
  margin: 0.25rem 0 0.3rem;
  font-size: clamp(1.15rem, 3vw, 1.5rem);
}

.admin-entry p {
  margin: 0;
  color: #55545a;
}

.admin-entry-meta {
  display: grid;
  gap: 0.3rem;
  text-align: right;
  font-size: 0.88rem;
  font-weight: 750;
}

.admin-entry-meta time {
  color: #67666b;
  font-weight: 500;
}

.admin-entry details {
  border-top: 1px solid #d9d5cd;
}

.admin-entry summary {
  padding: 0.85rem 1.35rem;
  cursor: pointer;
  font-weight: 900;
}

.admin-entry details[open] summary {
  background: #f6f3ec;
}

.admin-details-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
  padding: 1.35rem;
  margin: 0;
}

.admin-details-grid div {
  min-width: 0;
}

.admin-details-grid .admin-details-wide {
  grid-column: 1 / -1;
}

.admin-details-wide dd {
  white-space: pre-wrap;
}

.admin-details-grid dt {
  margin-bottom: 0.25rem;
  color: #6a6870;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.admin-details-grid dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-weight: 700;
  line-height: 1.45;
}

.admin-details-grid a {
  color: #7f174b;
}

.admin-empty {
  padding: 2rem;
  border: 2px dashed #77737a;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.7);
  text-align: center;
  font-weight: 800;
}

.admin-empty[hidden] {
  display: none;
}

@media (max-width: 760px) {
  .admin-login-card h1,
  .admin-header h1 {
    max-width: 100%;
    font-size: clamp(1.4rem, 7vw, 2.5rem);
    letter-spacing: -0.03em;
    overflow-wrap: anywhere;
  }

  .admin-header,
  .admin-entry-summary {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .admin-toolbar {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .admin-entry-meta {
    text-align: left;
  }

  .admin-details-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .admin-login-card h1,
  .admin-header h1 {
    font-size: clamp(1.35rem, 6.8vw, 1.7rem);
  }
}
