:root {
  --bg: #08090d;
  --bg-soft: #101018;
  --panel: #171720;
  --panel-2: #20212b;
  --field: #0d0d13;
  --text: #fff7f6;
  --muted: #aeb3c8;
  --accent: #E0968A;
  --accent-soft: #e5968b;
  --danger: #521a25;
  --line: #313340;
  --line-warm: rgba(224, 150, 138, 0.28);
  --shadow: 0 18px 45px rgba(0, 0, 0, 0.28);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: "Contrail One", system-ui, sans-serif;
  letter-spacing: 0;
}

body.app-body {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.38), transparent 18%, transparent 82%, rgba(0, 0, 0, 0.3)),
    #08090d;
}

a {
  color: inherit;
  text-decoration: none;
}

h1,
h2,
h3 {
  color: var(--accent);
  font-family: "Alkatra", Georgia, serif;
  font-style: italic;
  letter-spacing: 0;
  line-height: 1.08;
  margin: 0;
}

h1 {
  font-size: clamp(2.25rem, 6vw, 4.2rem);
}

h2 {
  font-size: clamp(1.45rem, 2.7vw, 2.15rem);
}

h3 {
  font-size: 1.2rem;
}

button,
.button {
  align-items: center;
  background: var(--accent);
  border: 0;
  border-radius: 5px;
  color: #0b0708;
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  justify-content: center;
  min-height: 40px;
  padding: 0.68rem 1.15rem;
  transition: background 150ms ease, color 150ms ease, transform 150ms ease, box-shadow 150ms ease;
}

button:hover,
.button:hover {
  background: #eca197;
  transform: translateY(-1px);
}

button.ghost,
.ghost-link {
  background: var(--panel-2);
  border: 1px solid transparent;
  color: var(--text);
}

button.ghost:hover,
.ghost-link:hover,
.nav-actions a:hover,
.nav-actions form:hover button.ghost {
  background: var(--accent);
  color: #0b0708;
  transform: translateY(-1px);
}

button.danger {
  background: var(--danger);
  color: #ffd4d9;
}

input,
select,
textarea {
  background: var(--field);
  border: 1px solid var(--line);
  border-radius: 5px;
  color: var(--text);
  font: inherit;
  margin-top: 0.35rem;
  min-height: 42px;
  padding: 0.68rem 0.8rem;
  width: 100%;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  outline: 2px solid rgba(224, 150, 138, 0.16);
}

textarea {
  resize: vertical;
}

label {
  color: #c7cbe0;
  display: block;
  font-size: 0.92rem;
}

main {
  margin: 0 auto;
  max-width: 1060px;
  padding: 1rem;
}

.top-nav {
  align-items: center;
  background: #15151d;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  min-height: 60px;
  padding: 0.65rem max(1rem, calc((100vw - 1060px) / 2));
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand {
  color: var(--accent);
  font-family: "Alkatra", Georgia, serif;
  font-size: 1.35rem;
  font-style: italic;
  font-weight: 700;
  white-space: nowrap;
}

.nav-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 1.05rem;
  justify-content: flex-end;
}

.nav-actions a {
  border-radius: 5px;
  color: #aeb3c8;
  min-height: 40px;
  padding: 0.68rem 0.75rem;
  transition: background 150ms ease, color 150ms ease, transform 150ms ease;
}

.nav-actions form {
  margin: 0;
}

.user-chip {
  color: #9fa2ae;
  max-width: 11rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-menu {
  position: relative;
}

.profile-menu summary {
  align-items: center;
  background: var(--panel-2);
  border-radius: 999px;
  color: var(--text);
  cursor: pointer;
  display: inline-flex;
  height: 40px;
  justify-content: center;
  list-style: none;
  min-width: 40px;
  padding: 0 0.75rem;
  transition: background 150ms ease, color 150ms ease, transform 150ms ease;
}

.profile-menu summary::-webkit-details-marker {
  display: none;
}

.profile-menu summary:hover,
.profile-menu[open] summary {
  background: var(--accent);
  color: #0b0708;
  transform: translateY(-1px);
}

.profile-menu > div {
  background: var(--panel);
  border: 1px solid var(--line-warm);
  border-radius: 7px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 0.55rem;
  min-width: 220px;
  padding: 0.8rem;
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  z-index: 40;
}

.profile-menu span {
  color: var(--muted);
  font-size: 0.84rem;
}

.profile-menu form {
  margin: 0;
}

.profile-menu button {
  width: 100%;
}

.danger-text {
  color: #ffb0ba !important;
}

.profile-menu .danger-text:hover {
  color: #0b0708 !important;
}

.login-shell {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  justify-items: center;
  min-height: calc(100vh - 80px);
  justify-content: flex-start;
  padding: 3.25rem 0 2rem;
}

.login-copy {
  max-width: 620px;
  text-align: center;
}

.login-copy h1 {
  color: var(--accent);
  font-size: clamp(2.1rem, 5vw, 3rem);
}

.login-copy p,
.hero-band p,
.page-head p,
.drop-detail p {
  color: #c8cce0;
  font-size: 1rem;
  line-height: 1.45;
}

.hero-band p {
  margin-left: auto;
  margin-right: auto;
  max-width: 760px;
}

.eyebrow {
  color: #c8cce0;
  font-size: 0.8rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.panel,
.collection-card,
.drop-card,
.admin-card,
.review-card,
.empty-state {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 7px;
  box-shadow: none;
}

.auth-form {
  margin: 0 auto;
  max-width: 450px;
  padding: 1.75rem 2rem;
  width: 100%;
}

.auth-form,
.compact-form {
  display: grid;
  gap: 1rem;
}

.auth-form h2 {
  text-align: center;
}

.form-notice {
  background: rgba(224, 150, 138, 0.12);
  border: 1px solid rgba(224, 150, 138, 0.34);
  border-radius: 6px;
  color: #f4cbc6;
  padding: 0.75rem;
}

.form-notice p {
  margin: 0.35rem 0 0;
}

.forgot-link {
  color: #858cff;
  text-align: center;
}

.invite-note {
  color: #858895;
  margin: 0;
  text-align: center;
}

.demo-logins {
  border-top: 1px solid var(--line);
  color: #aeb3c8;
  display: grid;
  font-size: 0.82rem;
  gap: 0.25rem;
  line-height: 1.35;
  padding-top: 1rem;
}

.demo-logins summary {
  color: var(--muted);
  cursor: pointer;
  list-style-position: inside;
}

.demo-logins:not([open]) {
  padding-bottom: 0;
}

.demo-logins:not([open]) span {
  display: none;
}

.form-error {
  background: rgba(255, 76, 100, 0.14);
  border: 1px solid rgba(255, 76, 100, 0.38);
  border-radius: 5px;
  color: #ffd0d7;
  margin: 0;
  padding: 0.75rem;
}

.hero-band,
.page-head {
  padding: 2rem 0 1.5rem;
}

.hero-band {
  text-align: center;
}

.hero-band h1 {
  color: var(--accent);
  font-size: clamp(1.55rem, 3vw, 2.18rem);
  margin: 0 auto;
  max-width: 960px;
  white-space: nowrap;
}

.status-pill,
.meta-row span,
.tag-row span {
  border: 1px solid var(--line-warm);
  border-radius: 999px;
  color: #cdd1e4;
  display: inline-flex;
  font-size: 0.85rem;
  padding: 0.34rem 0.65rem;
}

.grid {
  display: grid;
  gap: 1.25rem;
}

.collections-grid {
  grid-template-columns: repeat(auto-fill, minmax(180px, 235px));
  justify-content: center;
}

.drops-grid {
  grid-template-columns: repeat(auto-fill, minmax(178px, 245px));
  justify-content: center;
}

.collection-card,
.drop-card {
  cursor: pointer;
  overflow: hidden;
  transition: box-shadow 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.collection-card:hover,
.drop-card:hover {
  border-color: rgba(224, 150, 138, 0.55);
  box-shadow: 0 0 0 1px rgba(224, 150, 138, 0.35), 0 0 24px rgba(224, 150, 138, 0.42), 0 14px 38px rgba(149, 72, 92, 0.22);
  transform: translateY(-2px);
}

.cover,
.thumb {
  aspect-ratio: 16 / 10;
  background: radial-gradient(circle at 50% 52%, rgba(224, 150, 138, 0.105), transparent 37%), #09090f;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  position: relative;
}

.cover img,
.thumb img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.cover img.fallback-lips,
.thumb img.fallback-lips {
  object-fit: contain;
  padding: 0.65rem;
  background: transparent;
}

.collection-card .cover img.fallback-lips {
  padding: 0.45rem;
  transform: scale(1.16);
}

.drop-card .thumb img.fallback-lips {
  padding: 0.78rem;
  transform: scale(1.02);
}

.duration-badge {
  background: rgba(8, 8, 12, 0.82);
  border-radius: 4px;
  color: var(--text);
  font-size: 0.78rem;
  line-height: 1;
  padding: 0.36rem 0.46rem;
  position: absolute;
  right: 0.55rem;
  top: 0.55rem;
}

.default-logo {
  align-items: center;
  background:
    radial-gradient(circle at 50% 52%, rgba(224, 150, 138, 0.28), transparent 34%),
    #11111a;
  display: flex;
  height: 100%;
  justify-content: center;
}

.default-logo span {
  border: 2px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  display: grid;
  font-family: "Alkatra", Georgia, serif;
  font-size: 1.25rem;
  height: 4.2rem;
  place-items: center;
  width: 4.2rem;
}

.card-body {
  display: grid;
  gap: 0.58rem;
  padding: 0.85rem;
}

.card-body h2 {
  color: var(--text);
  font-size: 1.35rem;
}

.card-body p {
  color: #c8cce0;
  display: -webkit-box;
  font-size: 0.92rem;
  line-height: 1.35;
  margin: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.collection-card .card-body p {
  color: var(--muted);
  font-size: 0.95rem;
}

.clickable-card button,
.clickable-card .subtle-link {
  display: none;
}

.meta-row,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.card-rating,
.modal-rating {
  align-items: center;
  color: #cdd1e4;
  display: inline-flex;
  gap: 0.5rem;
}

.card-rating {
  font-size: 0.84rem;
}

.modal-rating {
  font-size: 0.95rem;
}

.modal-rating .rating-title {
  color: #c7cbe0;
  font-size: 0.96rem;
}

.card-rating > span,
.modal-rating > span {
  border: 0;
  padding: 0;
}

.card-rating .stars,
.modal-rating .stars {
  font-size: 1.55rem;
}

.card-rating .stars + span,
.modal-rating .stars + span {
  display: none;
}

.filter-bar {
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 7px;
  display: grid;
  gap: 0.75rem;
  margin: 1rem 0 1.25rem;
  padding: 0.75rem;
}

.back-link {
  color: var(--accent);
  display: inline-flex;
  margin-bottom: 1rem;
}

.page-head h1 {
  color: var(--text);
  font-size: clamp(2.5rem, 6vw, 4.2rem);
}

.player-layout {
  display: grid;
  gap: 1.2rem;
  padding: 1.5rem 0 2rem;
}

.player-shell {
  aspect-ratio: 16 / 9;
  background: #000;
  border: 1px solid var(--line-warm);
  border-radius: 8px;
  overflow: hidden;
  user-select: none;
}

.player-shell iframe,
.player-shell video,
.player-shell audio {
  border: 0;
  height: 100%;
  width: 100%;
}

.player-placeholder {
  align-items: center;
  color: #c8cce0;
  display: flex;
  height: 100%;
  justify-content: center;
  padding: 1rem;
  text-align: center;
}

.drop-detail h1 {
  color: var(--text);
}

.reviews,
.drop-detail {
  display: grid;
  gap: 1rem;
}

.review-list {
  display: grid;
  gap: 0.75rem;
}

.review-card {
  padding: 1rem;
}

.review-card div {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.review-card span {
  color: var(--accent);
}

.muted {
  color: var(--muted);
}

.center-panel {
  display: grid;
  min-height: 55vh;
  place-items: center;
}

.locked {
  max-width: 520px;
  padding: 1.4rem;
}

.admin-shell {
  display: grid;
  gap: 1.3rem;
  padding: 0.5rem 0 2rem;
}

.admin-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.admin-head h1 {
  font-size: 1.55rem;
}

.admin-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.admin-menu a {
  background: var(--panel-2);
  border-radius: 4px;
  color: #c4c8dc;
  min-width: 116px;
  padding: 0.9rem 1.4rem;
  text-align: center;
}

.admin-menu a.active,
.admin-menu a:hover {
  background: var(--accent);
  color: #0b0708;
}

.admin-content {
  background: transparent;
  display: grid;
  gap: 1rem;
}

.admin-content > h2 {
  color: var(--accent);
  font-size: 1.35rem;
}

.section-toolbar {
  align-items: center;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
}

.section-toolbar p {
  margin: 0.35rem 0 0;
}

.toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
}

.toggle-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.toggle-row a {
  background: var(--panel-2);
  border-radius: 4px;
  color: #c4c8dc;
  padding: 0.62rem 1rem;
}

.toggle-row a.active {
  background: var(--accent);
  color: #08090d;
}

.admin-filters {
  align-items: end;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 7px;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: minmax(160px, 1fr);
  padding: 0.8rem;
}

.compact-filter {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
}

.table-wrap {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 7px;
  overflow: auto;
}

.admin-table {
  border-collapse: collapse;
  min-width: 820px;
  width: 100%;
}

.admin-table th {
  background: var(--panel-2);
  color: #bfc5dc;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-align: left;
  text-transform: uppercase;
}

.admin-table th a {
  color: inherit;
}

.admin-table th,
.admin-table td {
  border-bottom: 1px solid var(--line);
  padding: 0.85rem 1rem;
  vertical-align: middle;
}

.admin-table tr {
  cursor: pointer;
}

.admin-table tr:hover td {
  background: rgba(224, 150, 138, 0.05);
}

.admin-table small {
  color: #818797;
  display: block;
  margin-top: 0.2rem;
}

.content-cell {
  align-items: center;
  display: flex;
  gap: 0.8rem;
  min-width: 260px;
}

.content-cell img {
  aspect-ratio: 1;
  border-radius: 5px;
  height: 52px;
  object-fit: cover;
  width: 52px;
}

.actions-cell {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.actions-cell form {
  margin: 0;
}

.link-button {
  background: transparent;
  color: #858cff;
  min-height: auto;
  padding: 0;
}

.status-on,
.status-off {
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.8rem;
  padding: 0.25rem 0.55rem;
}

.status-on {
  background: rgba(40, 171, 100, 0.16);
  color: #72d69b;
}

.status-off {
  background: rgba(255, 76, 100, 0.14);
  color: #ff9aa8;
}

.mini-grid {
  display: grid;
  gap: 0.9rem;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.mini-tile {
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 7px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  min-height: 92px;
  padding: 1rem;
}

.mini-tile:hover {
  border-color: var(--accent);
}

.mini-tile h3 {
  color: var(--text);
}

.mini-tile p {
  color: var(--muted);
  margin: 0.2rem 0 0;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tag-chip-form {
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 7px;
  display: flex;
  gap: 0.2rem;
  padding: 0.5rem 0.6rem;
  position: relative;
}

.tag-chip-form span {
  padding-right: 1.15rem;
}

.tag-delete {
  background: transparent;
  color: #ff6f85;
  min-height: auto;
  opacity: 0;
  padding: 0;
  position: absolute;
  right: 0.45rem;
}

.tag-chip-form:hover .tag-delete,
.tag-delete:focus {
  opacity: 1;
}

.tag-sort {
  max-width: 280px;
}

.stars {
  color: var(--accent);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.empty-stars {
  color: #6f7280;
}

.rating-field {
  border: 0;
  margin: 0;
  padding: 0;
}

.rating-field legend {
  color: #c7cbe0;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

.star-rating {
  display: inline-flex;
  flex-direction: row-reverse;
  gap: 0.18rem;
  justify-content: flex-end;
}

.star-rating input {
  height: 1px;
  opacity: 0;
  position: absolute;
  width: 1px;
}

.star-rating label {
  color: #626676;
  cursor: pointer;
  font-size: 1.55rem;
  line-height: 1;
  transition: color 120ms ease, transform 120ms ease;
}

.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label {
  color: var(--accent);
}

.star-rating label:hover {
  transform: translateY(-1px);
}

.modal {
  background: transparent;
  border: 0;
  max-width: min(860px, calc(100vw - 2rem));
  padding: 0;
  width: 100%;
}

.modal[id^="access-"],
.modal#new-collection {
  max-width: min(460px, calc(100vw - 2rem));
}

.modal[id^="member-"] {
  max-width: min(560px, calc(100vw - 2rem));
}

.modal#new-member {
  max-width: min(680px, calc(100vw - 2rem));
}

.modal::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.modal-card {
  background: var(--panel);
  border: 1px solid var(--line-warm);
  border-radius: 8px;
  box-shadow: var(--shadow);
  max-height: calc(100vh - 3rem);
  overflow: auto;
  padding: 1rem;
}

.modal-head {
  align-items: center;
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.modal-head h2 {
  font-size: clamp(1.22rem, 2.1vw, 1.58rem);
}

.icon-button {
  border-radius: 50%;
  font-size: 1.3rem;
  min-height: 36px;
  padding: 0;
  width: 36px;
}

.modal-player {
  max-height: min(70vh, 560px);
}

.player-control-bar {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0.8rem 0;
}

.player-control-bar button {
  min-height: 34px;
  padding: 0.45rem 0.75rem;
}

.modal-reviews {
  margin-top: 1rem;
}

.modal-reviews h3 {
  font-size: 2.08rem;
}

.check-menu {
  background: var(--panel-2);
  border: 1px solid var(--line);
  border-radius: 5px;
  color: #c4c8dc;
  min-width: 170px;
  max-width: 240px;
  padding: 0;
  position: relative;
}

.modal-card > form > .check-menu {
  margin-bottom: 0.85rem;
}

.assignment-field {
  align-self: end;
  justify-self: end;
  width: min(220px, 100%);
}

.check-menu summary {
  cursor: pointer;
  list-style: none;
  padding: 0.68rem 0.85rem;
}

.check-menu summary::-webkit-details-marker {
  display: none;
}

.check-menu summary::after {
  content: "▾";
  float: right;
}

.check-menu div {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 5px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  left: 0;
  margin-top: 0.35rem;
  max-height: 260px;
  min-width: min(250px, 78vw);
  overflow: auto;
  padding: 0.75rem;
  position: absolute;
  top: 100%;
  z-index: 50;
}

.modal-card .check-menu div {
  position: static;
  min-width: min(240px, 74vw);
}

.modal-card .check-menu + .check-menu {
  margin-top: 0.85rem;
}

.member-form .form-grid {
  margin-bottom: 1rem;
}

.member-access-field {
  margin-top: 0.15rem;
}

.member-submit {
  margin-top: 0.75rem;
}

.modal-section {
  margin: 1rem 0 1.15rem;
}

.modal-section h3 {
  margin-bottom: 0.55rem;
}

.compact-collection-fields {
  gap: 0.75rem;
}

.compact-collection-fields label:first-child {
  max-width: 230px;
}

.check-menu .check {
  white-space: nowrap;
}

.assigned-list {
  display: grid;
  gap: 0.45rem;
  margin: 0;
  padding-left: 1.2rem;
}

.assigned-list span {
  color: var(--muted);
}

.settings-form {
  max-width: none;
}

.settings-preview {
  align-items: center;
  display: flex;
  gap: 1rem;
}

.settings-preview img {
  background: #050507;
  border: 1px solid var(--line);
  border-radius: 7px;
  height: 84px;
  object-fit: contain;
  padding: 0.5rem;
  width: 84px;
}

.admin-card {
  margin-bottom: 0.75rem;
  padding: 1rem;
}

.admin-card summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  min-height: 2.2rem;
}

.admin-card summary span {
  color: var(--accent);
}

.create-panel summary {
  background: var(--accent);
  border-radius: 5px;
  color: #0b0708;
  display: inline-flex;
  min-height: 40px;
  padding: 0.68rem 1.15rem;
}

.create-panel[open] summary {
  margin-bottom: 1rem;
}

.compact-form {
  padding: 1rem;
}

.form-grid {
  display: grid;
  gap: 0.9rem;
}

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

.check {
  align-items: center;
  display: flex;
  gap: 0.55rem;
}

.check input {
  margin: 0;
  min-height: auto;
  width: auto;
}

fieldset {
  border: 1px solid var(--line);
  border-radius: 7px;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  padding: 0.85rem;
}

legend {
  color: var(--accent);
}

.form-actions,
.admin-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 0.8rem;
}

.admin-row {
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 0.75rem;
}

.admin-row input {
  flex: 1 1 220px;
  margin-top: 0;
}

.empty-state {
  color: var(--muted);
  padding: 1.2rem;
}

@media (min-width: 760px) {
  main {
    padding: 1.6rem;
  }

  .filter-bar {
    grid-template-columns: 1fr 160px 170px auto;
  }

  .admin-filters {
    grid-template-columns: 1fr 130px 170px 135px 135px auto;
  }

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

@media (max-width: 680px) {
  .hero-band h1 {
    white-space: normal;
  }

  main {
    padding: 0.9rem;
  }

  .top-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-actions {
    justify-content: flex-start;
  }

  .brand {
    white-space: normal;
  }

  .admin-menu {
    gap: 0.55rem;
  }

  .admin-menu a {
    flex: 1 1 140px;
    min-width: 0;
  }

  .admin-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 0.8rem;
  }
}
