:root {
  --bg: #050806;
  --ink: #f7fff9;
  --muted: #9fb2a5;
  --panel: #0c130f;
  --panel-strong: #101a14;
  --line: #213429;
  --neon: #25ff75;
  --teal: #00c2b2;
  --coral: #ff5a57;
  --yellow: #ffd23f;
  --violet: #7a5cff;
  --theme-glow: 37, 255, 117;
  --shadow: 0 18px 55px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(var(--theme-glow), 0.14), transparent 30rem),
    linear-gradient(135deg, #050806 0%, #08110c 50%, #050806 100%);
  background-attachment: fixed;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.has-wallpaper {
  background:
    linear-gradient(135deg, rgba(4, 8, 20, 0.88), rgba(var(--theme-glow), 0.18)),
    var(--app-wallpaper) center / cover fixed,
    #050806;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.app-shell {
  display: grid;
  grid-template-columns: 17rem 1fr;
  min-height: 100vh;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 1.25rem;
  background: #07100b;
  color: white;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.brand-button {
  width: 100%;
  padding: 0.7rem 0.6rem;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
}

.brand-logo-img {
  display: block;
  width: min(12.5rem, 100%);
  height: auto;
  object-fit: contain;
}

.luo-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
}

.luo-word {
  color: var(--neon);
  font-weight: 950;
  font-size: 2.45rem;
  line-height: 0.9;
  text-shadow:
    -1px -1px 0 #fff,
    1px -1px 0 #fff,
    -1px 1px 0 #fff,
    1px 1px 0 #fff,
    0 0 16px rgba(37, 255, 117, 0.35);
}

.luo-face {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 1.86rem;
  height: 1.86rem;
  margin-left: 0.08rem;
  border: 0.2rem solid var(--neon);
  border-radius: 50%;
  background: var(--neon);
  vertical-align: -0.16rem;
  box-shadow: inset 0 0 0 0.12rem #07100b;
}

.luo-face::before {
  content: "";
  position: absolute;
  width: 0.46rem;
  height: 0.16rem;
  left: 0.38rem;
  top: 0.55rem;
  border-radius: 999px;
  background: #07100b;
  transform: rotate(-8deg);
}

.luo-face::after {
  content: "";
  position: absolute;
  width: 0.78rem;
  height: 0.42rem;
  left: 0.52rem;
  bottom: 0.32rem;
  border-bottom: 0.16rem solid #07100b;
  border-radius: 0 0 999px 999px;
}

.luo-face span {
  width: 0.22rem;
  height: 0.22rem;
  margin-left: 0.62rem;
  margin-top: -0.48rem;
  border-radius: 50%;
  background: #07100b;
}

.luo-subtitle {
  color: white;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
}

.side-nav {
  display: grid;
  gap: 0.45rem;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.85rem 0.8rem;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: rgba(255, 255, 255, 0.72);
  text-align: left;
}

.nav-item.is-active {
  background: rgba(37, 255, 117, 0.12);
  border-color: rgba(37, 255, 117, 0.42);
  color: white;
}

.nav-icon {
  display: grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--neon);
  font-weight: 900;
}

main {
  padding: 1.5rem clamp(1rem, 3vw, 2.5rem) 5.5rem;
  overflow: hidden;
}

body.has-wallpaper main {
  background: rgba(5, 8, 6, 0.28);
}

body.is-public-mode .admin-only,
body.is-public-mode .admin-entry-button,
body.is-public-mode .profile-button,
body.is-public-mode .mobile-event-switcher {
  display: none;
}

body.is-public-mode .event-grid {
  max-width: 54rem;
  margin-inline: auto;
}

body.is-public-mode .single-event-card {
  max-width: 54rem;
  margin-inline: auto;
}

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

.eyebrow {
  margin: 0 0 0.25rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: clamp(1.75rem, 4vw, 3.25rem);
}

#pageTitle:empty {
  display: none;
}

h2 {
  margin-bottom: 0.65rem;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.icon-button,
.profile-button,
.ghost-button,
.admin-entry-button,
.primary-button,
.secondary-button,
.stage-chip,
.day-chip,
.remind-button {
  border-radius: 8px;
  border: 1px solid var(--line);
}

.icon-button,
.profile-button {
  display: grid;
  place-items: center;
  width: 2.85rem;
  height: 2.85rem;
  background: var(--panel-strong);
  color: var(--ink);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.profile-button span {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--neon);
  color: #07100b;
  font-size: 0.8rem;
  font-weight: 900;
}

.admin-entry-button {
  min-width: 4.35rem;
  height: 2.85rem;
  padding: 0 0.85rem;
  background: var(--panel-strong);
  color: var(--ink);
  font-weight: 900;
}

.admin-only {
  display: none;
}

body.is-admin .admin-only {
  display: flex;
}

.mobile-event-switcher {
  display: none;
  margin-bottom: 1rem;
}

select,
input,
textarea {
  width: 100%;
  padding: 0.85rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-strong);
  color: var(--ink);
}

textarea {
  min-height: 7rem;
  resize: vertical;
}

.view {
  display: none;
}

.view.is-active {
  display: block;
}

.hero {
  position: relative;
  min-height: 20rem;
  margin-bottom: 1.5rem;
  padding: clamp(1.3rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18rem;
  align-items: center;
  gap: 1.5rem;
  overflow: hidden;
  background:
    linear-gradient(110deg, rgba(7, 16, 11, 0.92), rgba(13, 57, 39, 0.76)),
    url("https://images.unsplash.com/photo-1506157786151-b8491531f063?auto=format&fit=crop&w=1400&q=80");
  background-size: cover;
  background-position: center;
  color: white;
  border-radius: 8px;
}

.hero h2 {
  max-width: 42rem;
  font-size: clamp(2rem, 5vw, 4.5rem);
  line-height: 0.95;
}

.hero p {
  max-width: 36rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 1.05rem;
}

.hero-phone {
  min-height: 24rem;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 2rem;
  background: rgba(7, 16, 11, 0.72);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.28);
}

.phone-status {
  width: 4rem;
  height: 0.34rem;
  margin: 0 auto 2rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
}

.phone-card,
.phone-promo {
  border-radius: 8px;
  padding: 1rem;
}

.phone-card {
  display: grid;
  gap: 0.45rem;
  background: var(--neon);
  color: #07100b;
}

.live-pill {
  width: max-content;
  padding: 0.2rem 0.45rem;
  border-radius: 999px;
  background: #07100b;
  color: white;
  font-size: 0.7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.phone-promo {
  margin-top: 1rem;
  background: var(--coral);
  color: white;
  font-weight: 900;
}

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

.section-heading h2 {
  margin: 0;
}

.compact-heading {
  margin-top: 0;
}

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

.event-card,
.promo-card,
.artist-card,
.admin-panel,
.alert-summary {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(12, 19, 15, 0.94);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.26);
}

.event-card {
  overflow: hidden;
}

.event-banner-button {
  width: 100%;
  height: 100%;
  padding: 0;
  display: grid;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
}

#eventsView .event-grid {
  grid-template-columns: minmax(0, 1fr);
  max-width: 64rem;
  margin: 0 auto;
}

#eventsView .event-card {
  background: transparent;
}

#eventsView .event-art {
  min-height: clamp(16rem, 42vw, 28rem);
  align-items: center;
  justify-content: center;
  text-align: center;
}

#eventsView .event-art .event-logo {
  margin: 0 auto;
}

#eventsView .event-art .event-logo.has-image {
  min-height: clamp(10rem, 30vw, 20rem);
  width: min(42rem, 100%);
}

#eventsView .event-art .event-logo.has-image img {
  max-height: clamp(9rem, 27vw, 18rem);
}

#eventsView .event-art strong {
  margin-top: 1rem;
  font-size: clamp(1.9rem, 5vw, 4rem);
  line-height: 1;
}

#eventsView .event-body {
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 8px 8px;
  background: rgba(12, 19, 15, 0.94);
}

.event-art {
  min-height: 10rem;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: white;
  background: var(--event-color);
}

.event-art:has(.event-logo.has-image) {
  min-height: 13rem;
  gap: 0.9rem;
}

.event-logo {
  width: max-content;
  max-width: 100%;
  padding: 0.42rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 8px;
  color: white;
  font-weight: 950;
  font-size: 1.5rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.25);
}

.event-body {
  padding: 1rem;
}

.event-body p {
  color: var(--muted);
}

.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.tag,
.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.24rem 0.45rem;
  border-radius: 999px;
  background: #17251d;
  color: #c8d9ce;
  font-size: 0.74rem;
  font-weight: 800;
}

.status-dot::before {
  content: "";
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 50%;
  background: var(--neon);
  box-shadow: 0 0 10px rgba(37, 255, 117, 0.6);
}

.primary-button,
.secondary-button,
.ghost-button,
.remind-button {
  padding: 0.76rem 0.95rem;
  font-weight: 900;
}

.primary-button {
  border-color: var(--neon);
  background: var(--neon);
  color: #07100b;
}

.secondary-button {
  border-color: var(--neon);
  background: var(--neon);
  color: #07100b;
}

.ghost-button,
.remind-button {
  background: var(--panel-strong);
  color: var(--ink);
}

.remind-button.is-on {
  background: var(--neon);
  border-color: var(--neon);
}

.reminder-dialog-panel {
  max-width: 28rem;
}

.reminder-options {
  display: grid;
  gap: 0.65rem;
}

.event-cover {
  min-height: 12rem;
  margin-bottom: 1rem;
  padding: 1.5rem;
  display: grid;
  align-items: end;
  color: white;
  background:
    linear-gradient(120deg, rgba(7, 16, 11, 0.82), rgba(7, 16, 11, 0.18)),
    var(--event-color);
  border-radius: 8px;
}

.platform-media {
  margin-bottom: 1rem;
  display: grid;
  gap: 0.75rem;
}

.platform-media:empty {
  display: none;
}

.platform-media a {
  display: block;
  color: inherit;
}

.platform-media-inner {
  width: 100%;
  aspect-ratio: 16 / 5;
  min-height: 5rem;
  max-height: 9rem;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(37, 255, 117, 0.34);
  border-radius: 8px;
  background: #000;
}

#homePlatformMedia {
  max-width: 34rem;
  margin: 0 auto 0.85rem;
}

#homePlatformMedia .platform-media-inner {
  aspect-ratio: 16 / 9;
  min-height: 12rem;
  max-height: 22rem;
}

#schedulePlatformMedia {
  grid-template-columns: 1fr;
  max-width: 22rem;
  margin: 0 auto 1rem;
}

#schedulePlatformMedia.has-multiple-media {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 34rem;
}

#schedulePlatformMedia .platform-media-inner {
  aspect-ratio: 16 / 9;
  min-height: 0;
  max-height: none;
}

#alertsPlatformMedia,
#promosPlatformMedia {
  max-width: 34rem;
  margin: 0 auto 1rem;
}

#alertsPlatformMedia .platform-media-inner,
#promosPlatformMedia .platform-media-inner {
  aspect-ratio: 16 / 9;
  min-height: 10rem;
  max-height: 18rem;
}

.platform-media-inner img,
.platform-media-inner video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  background: #000;
}

.platform-media-inner img {
  object-fit: contain;
}

@media (max-width: 640px) {
  #schedulePlatformMedia,
  #schedulePlatformMedia.has-multiple-media {
    grid-template-columns: 1fr;
    max-width: 19rem;
  }
}

.event-cover h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.95;
}

.live-info-grid {
  margin-bottom: 1rem;
}

.live-info-grid:empty {
  display: none;
}

.info-panel {
  margin-bottom: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at top right, rgba(37, 255, 117, 0.12), transparent 11rem),
    rgba(12, 19, 15, 0.94);
  overflow: hidden;
}

.info-panel summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  min-height: 5.5rem;
  padding: 1rem;
  cursor: pointer;
  list-style: none;
}

.info-panel summary::-webkit-details-marker {
  display: none;
}

.info-panel summary strong,
.info-panel summary small {
  display: block;
}

.info-panel summary strong {
  font-size: 1.28rem;
  font-weight: 950;
}

.info-panel summary small {
  margin-top: 0.2rem;
  color: var(--muted);
  font-weight: 800;
}

.summary-action {
  display: grid;
  place-items: center;
  min-width: 4.7rem;
  height: 2.4rem;
  padding: 0 0.8rem;
  border: 1px solid rgba(37, 255, 117, 0.34);
  border-radius: 8px;
  background: rgba(37, 255, 117, 0.11);
  color: var(--neon);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.summary-action::after {
  content: "Abrir";
}

.info-panel[open] .summary-action::after {
  content: "Fechar";
}

.info-panel-body {
  padding: 0 1rem 1rem;
}

.lineup-panel .toolbar {
  padding-top: 0.15rem;
}

.weather-grid {
  display: grid;
  gap: 0.75rem;
}

.live-info-card {
  display: grid;
  grid-template-columns: 2.7rem 1fr;
  gap: 0.75rem;
  align-items: start;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(12, 19, 15, 0.94);
}

.live-info-icon {
  display: grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 8px;
  background: rgba(37, 255, 117, 0.12);
  color: var(--neon);
  font-weight: 950;
}

.live-info-card strong,
.live-info-card p,
.live-info-card small {
  display: block;
}

.live-info-card p {
  margin: 0.15rem 0;
  font-size: 1.05rem;
  font-weight: 900;
}

.live-info-card small {
  color: var(--muted);
  font-weight: 800;
}

.transport-section:empty {
  display: none;
}

.transport-grid {
  display: grid;
  gap: 0.75rem;
}

.transport-card {
  display: grid;
  grid-template-columns: 2.7rem 1fr;
  gap: 0.75rem;
  align-items: start;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(12, 19, 15, 0.94);
}

.transport-icon {
  display: grid;
  place-items: center;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 8px;
  background: rgba(37, 255, 117, 0.12);
  color: var(--neon);
  font-weight: 950;
}

.transport-card strong,
.transport-card span {
  display: block;
}

.transport-card span {
  margin-top: 0.2rem;
  color: var(--muted);
  font-weight: 800;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.segmented {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  padding-bottom: 0.1rem;
}

.day-chip,
.stage-chip {
  flex: 0 0 auto;
  padding: 0.62rem 0.75rem;
  background: var(--panel-strong);
  color: var(--ink);
  font-weight: 850;
}

.day-chip.is-active,
.stage-chip.is-active {
  background: var(--neon);
  color: #07100b;
  border-color: var(--neon);
}

.timeline {
  display: grid;
  gap: 0.75rem;
}

.artist-card {
  display: grid;
  grid-template-columns: 5rem 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 0.9rem;
}

.artist-time {
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 950;
}

.artist-info h3 {
  margin: 0 0 0.2rem;
  font-size: 1.15rem;
}

.artist-info p {
  margin-bottom: 0;
  color: var(--muted);
}

.artist-info .artist-speakers {
  margin-top: 0.42rem;
  color: var(--ink);
  font-size: 0.88rem;
  line-height: 1.45;
}

.artist-speakers strong {
  color: var(--neon);
}

.stage-dot {
  display: inline-block;
  width: 0.68rem;
  height: 0.68rem;
  margin-right: 0.35rem;
  border-radius: 50%;
  background: var(--stage-color);
}

.alert-summary {
  padding: 1rem;
  margin-bottom: 1rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.metric {
  display: grid;
  gap: 0.15rem;
}

.metric strong {
  font-size: 1.8rem;
}

.metric span {
  color: var(--muted);
  font-weight: 750;
}

.compact .artist-card {
  grid-template-columns: 4.5rem 1fr;
}

.compact .remind-button {
  display: none;
}

.promo-card {
  padding: 1rem;
  display: grid;
  gap: 0.75rem;
  background: linear-gradient(145deg, #101a14, #0c130f);
}

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

.promo-store strong {
  font-size: 1.1rem;
}

.promo-badge {
  padding: 0.32rem 0.5rem;
  border-radius: 8px;
  background: var(--yellow);
  font-weight: 950;
}

.promo-offer {
  font-size: 1.6rem;
  line-height: 1.05;
  font-weight: 950;
}

.sponsor-strip,
.sponsor-banner-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.sponsor-banner-row {
  margin: 0 0 1rem;
}

.sponsor-banner {
  min-height: 7rem;
  padding: 1rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at top right, rgba(37, 255, 117, 0.14), transparent 9rem),
    var(--panel-strong);
  color: var(--ink);
  text-align: center;
  text-decoration: none;
  overflow: hidden;
}

.sponsor-banner strong,
.sponsor-banner span {
  display: block;
}

.sponsor-banner strong {
  font-size: 1.2rem;
  font-weight: 950;
}

.sponsor-banner span {
  margin-top: 0.25rem;
  color: var(--muted);
  font-weight: 850;
}

.sponsor-banner img {
  display: block;
  width: 100%;
  max-height: 7rem;
  object-fit: contain;
}

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

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(12, 19, 15, 0.94);
}

.admin-header h2 {
  margin: 0;
}

.admin-event-picker {
  min-width: min(24rem, 100%);
  margin-left: auto;
  display: grid;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-event-picker select {
  min-height: 2.75rem;
}

.admin-switcher-panel {
  margin-bottom: 1rem;
  padding: 0.85rem;
  display: grid;
  gap: 0.65rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(12, 19, 15, 0.94);
}

.admin-switcher-panel strong {
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.admin-event-tabs {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr));
  gap: 0.45rem;
}

.admin-event-tabs button {
  min-height: 3rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  font-size: 0.78rem;
  font-weight: 900;
  text-align: left;
}

.admin-event-tabs button.is-active {
  border-color: var(--neon);
  background: rgba(37, 255, 117, 0.16);
  color: var(--neon);
}

.admin-panel {
  padding: 1rem;
  display: grid;
  gap: 0.85rem;
}

.admin-panel label,
.topic-form label {
  display: grid;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 850;
}

.admin-topic {
  padding: 0;
  overflow: hidden;
}

.admin-topic summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  min-height: 5rem;
  padding: 1rem;
  cursor: pointer;
  list-style: none;
}

.admin-topic summary::-webkit-details-marker {
  display: none;
}

.admin-topic summary strong,
.admin-topic summary small {
  display: block;
}

.admin-topic summary strong {
  font-size: 1.35rem;
  font-weight: 950;
}

.admin-topic summary small {
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
}

.topic-form {
  display: grid;
  gap: 0.85rem;
  padding: 0 1rem 1rem;
}

.event-logo.has-image {
  width: 100%;
  min-height: 7.5rem;
  display: grid;
  place-items: center;
  padding: 0.8rem;
  background: rgba(0, 0, 0, 0.2);
  text-shadow: none;
}

.event-logo.has-image img {
  display: block;
  max-width: 100%;
  max-height: 8.5rem;
  object-fit: contain;
}

.event-cover .event-logo.has-image {
  width: min(26rem, 100%);
  min-height: 10rem;
  margin-bottom: 1rem;
  background: rgba(0, 0, 0, 0.26);
}

.event-cover .event-logo.has-image img {
  max-height: 11rem;
}

.admin-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.admin-list.stacked {
  display: grid;
}

.admin-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-strong);
}

.admin-list-item.is-current {
  border-color: rgba(37, 255, 117, 0.72);
  box-shadow: inset 0 0 0 1px rgba(37, 255, 117, 0.18);
}

.admin-list-item strong,
.admin-list-item span {
  display: block;
}

.admin-list-item span,
.empty-admin-list {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.row-actions,
.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.row-actions button {
  padding: 0.45rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  font-weight: 850;
}

.cancel-edit-button,
#cancelAttractionEdit {
  display: none;
}

.cancel-edit-button.is-visible,
#cancelAttractionEdit.is-visible {
  display: inline-flex;
}

.stage-admin-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.55rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-strong);
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 850;
}

.stage-admin-chip i {
  width: 0.68rem;
  height: 0.68rem;
  border-radius: 50%;
  background: var(--stage-color);
}

.stage-admin-chip button {
  display: grid;
  place-items: center;
  width: 1.45rem;
  height: 1.45rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1;
}

.toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  max-width: min(26rem, calc(100vw - 2rem));
  padding: 0.9rem 1rem;
  border-radius: 8px;
  background: #07100b;
  color: white;
  box-shadow: var(--shadow);
  transform: translateY(140%);
  transition: transform 180ms ease;
  z-index: 20;
}

.toast.is-visible {
  transform: translateY(0);
}

.login-dialog {
  width: min(31rem, calc(100vw - 2rem));
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.login-dialog::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.login-panel {
  display: grid;
  gap: 0.9rem;
}

.login-panel h2 {
  margin-bottom: 0;
}

.dialog-copy {
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.login-panel label {
  display: grid;
  gap: 0.35rem;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 850;
}

.login-logo-img {
  display: block;
  width: min(13rem, 72vw);
  height: auto;
  object-fit: contain;
}

.login-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.6rem;
}

@media (max-width: 980px) {
  .app-shell {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: fixed;
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
    height: auto;
    padding: 0.55rem;
    display: block;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
  }

  .brand-button {
    display: none;
  }

  .side-nav {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.25rem;
  }

  body.is-admin .side-nav {
    grid-template-columns: repeat(5, 1fr);
  }

  .nav-item {
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.45rem 0.2rem;
    font-size: 0.72rem;
  }

  .nav-icon {
    width: 1.55rem;
    height: 1.55rem;
  }

  main {
    padding-top: 1rem;
  }

  .mobile-event-switcher {
    display: block;
  }

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

  .hero-phone {
    min-height: 16rem;
  }

  .event-grid,
  .promo-grid,
  .live-info-grid,
  .sponsor-strip,
  .sponsor-banner-row,
  .admin-layout {
    grid-template-columns: 1fr;
  }

  .alert-summary {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .topbar {
    align-items: flex-start;
  }

  .artist-card {
    grid-template-columns: 4.5rem 1fr;
  }

  .artist-card .remind-button {
    grid-column: 1 / -1;
  }

  .toolbar {
    display: grid;
  }
}
