@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

:root {
  --osat-black: #111111;
  --osat-slate-dark: #253551;
  --osat-slate: #334155;
  --osat-slate-muted: #64748b;
  --osat-slate-light: #f1f5f9;
  --osat-slate-border: #e2e8f0;
  --osat-danger: #b4233f;
  --osat-white: #ffffff;
  
  --bulma-family-primary: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --bulma-primary: var(--osat-black);
  --bulma-primary-h: 0;
  --bulma-primary-s: 0%;
  --bulma-primary-l: 7%;
}

* {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
  background-color: #fafafa;
  color: #111111;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main.section {
  flex: 1;
}

#flash-messages {
  position: fixed;
  right: 1rem;
  top: 4.5rem;
  z-index: 1000;
  width: min(28rem, calc(100vw - 2rem));
  pointer-events: none;
}

#flash-messages .notification {
  margin-bottom: 0.5rem;
  pointer-events: auto;
  box-shadow: 0 0.5rem 1.5rem rgba(17, 17, 17, 0.2);
}

.notification.is-dismissing {
  opacity: 0;
  transition: opacity 1s ease-out;
}

@media (prefers-reduced-motion: reduce) {
  .notification.is-dismissing {
    transition: none;
  }
}

main .has-text-grey,
main .has-text-grey-light {
  color: var(--osat-slate-muted) !important;
}

main .has-text-danger {
  color: var(--osat-danger) !important;
}

main .has-text-grey a,
main a[data-action="agenda-locations#open"] {
  text-decoration: underline;
}

.footer.is-osat a,
.footer.is-osat a:hover,
.footer.is-osat a:focus-visible {
  color: var(--osat-slate-light);
  text-decoration: underline;
}

.input,
.textarea,
.select select {
  background-color: var(--osat-white);
  border-color: var(--osat-slate-muted);
  color: var(--osat-black);
}

.input::placeholder,
.textarea::placeholder {
  color: var(--osat-slate-muted);
  opacity: 1;
}

.input:focus-visible,
.textarea:focus-visible,
.select select:focus-visible {
  border-color: var(--osat-slate-dark);
  outline: 2px solid var(--osat-slate-dark);
  outline-offset: 2px;
}

/* Navbar */
.navbar.is-osat,
.navbar.is-primary {
  background-color: var(--osat-black) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar.is-osat .navbar-menu {
  background-color: var(--osat-black);
}

.navbar.is-osat .navbar-item,
.navbar.is-osat .navbar-link,
.navbar.is-primary .navbar-item,
.navbar.is-primary .navbar-link {
  color: #f8fafc !important;
  font-weight: 500;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.navbar.is-osat .navbar-link:not(.is-arrowless)::after,
.navbar.is-primary .navbar-link:not(.is-arrowless)::after {
  border-color: #f8fafc !important;
}

.navbar.is-osat .navbar-item:hover,
.navbar.is-osat .navbar-link:hover,
.navbar.is-primary .navbar-item:hover,
.navbar.is-primary .navbar-link:hover {
  background-color: rgba(255, 255, 255, 0.08) !important;
  color: #ffffff !important;
}

.navbar.is-osat .navbar-brand .navbar-item,
.navbar.is-primary .navbar-brand .navbar-item {
  font-weight: 700;
  letter-spacing: -0.5px;
}

/* Admin-only warning that background jobs have failed; sits beside the brand so it shows on phones too. */
.navbar.is-osat .navbar-brand .failed-jobs-alert {
  background-color: #b91c1c !important;
  border-radius: 6px;
  margin: 0.5rem 0;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: normal;
}

.navbar.is-osat .navbar-brand .failed-jobs-alert:hover {
  background-color: #991b1b !important;
}

.navbar.is-osat .navbar-burger,
.navbar.is-primary .navbar-burger {
  color: #ffffff !important;
}

.navbar.is-osat .navbar-dropdown,
.navbar.is-primary .navbar-dropdown,
.navbar-dropdown {
  background-color: #1e293b !important;
  border: 1px solid var(--osat-slate) !important;
  border-radius: 6px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  padding: 0.5rem 0;
  display: none !important;
}

/* Show dropdown only on click / when active */
.navbar-item.has-dropdown.is-active .navbar-dropdown {
  display: block !important;
}

.navbar.is-osat .navbar-dropdown .navbar-item,
.navbar.is-primary .navbar-dropdown .navbar-item,
.navbar-dropdown .navbar-item {
  background-color: transparent !important;
  color: #f1f5f9 !important;
  padding: 0.5rem 1rem;
}

.navbar.is-osat .navbar-dropdown .navbar-item:hover,
.navbar.is-primary .navbar-dropdown .navbar-item:hover,
.navbar-dropdown a.navbar-item:hover {
  background-color: var(--osat-slate-dark) !important;
  color: #ffffff !important;
}

.navbar.is-osat .navbar-dropdown a.navbar-item:focus,
.navbar.is-primary .navbar-dropdown a.navbar-item:focus {
  background-color: var(--osat-slate-dark) !important;
  color: #ffffff !important;
}

.navbar.is-osat .navbar-divider,
.navbar.is-primary .navbar-divider {
  background-color: rgba(255, 255, 255, 0.1) !important;
}

@media screen and (max-width: 1023px) {
  .navbar.is-osat .navbar-menu.is-active {
    background-color: var(--osat-black) !important;
    border-bottom: 2px solid var(--osat-slate-dark);
    padding: 0.5rem 1rem;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
  }

  .navbar.is-osat .navbar-dropdown,
  .navbar-dropdown {
    display: none !important;
  }

  .navbar.is-osat .navbar-item.has-dropdown.is-active .navbar-dropdown,
  .navbar-item.has-dropdown.is-active .navbar-dropdown {
    display: block !important;
    background-color: #1e293b !important;
    border: none !important;
    box-shadow: none !important;
    padding-left: 1rem;
    margin-top: 0.25rem;
    margin-bottom: 0.5rem;
  }
}

/* Hero */
.hero.is-osat {
  background-color: var(--osat-black);
  color: #ffffff;
  border-bottom: 2px solid var(--osat-slate-dark);
}

.hero.is-osat .title {
  color: #ffffff;
  font-weight: 700;
  letter-spacing: -1px;
}

.hero.is-osat .subtitle {
  color: #cbd5e1;
  font-weight: 300;
}

/* Cards & Boxes */
.box, .card {
  background-color: #ffffff;
  border: 1px solid var(--osat-slate-border);
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.box.has-background-slate-light {
  background-color: var(--osat-slate-light) !important;
  border-color: #cbd5e1;
}

/* Buttons */
.button.is-osat-primary,
.button.is-primary {
  background-color: var(--osat-black) !important;
  border-color: var(--osat-black) !important;
  color: #ffffff !important;
  font-weight: 500;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.button.is-osat-primary:hover,
.button.is-primary:hover {
  background-color: var(--osat-slate-dark) !important;
  border-color: var(--osat-slate-dark) !important;
  color: #ffffff !important;
}

.button.is-osat-slate {
  background-color: var(--osat-slate-dark) !important;
  border-color: var(--osat-slate-dark) !important;
  color: #ffffff !important;
  font-weight: 500;
}

.button.is-osat-slate:hover {
  background-color: var(--osat-slate) !important;
  border-color: var(--osat-slate) !important;
  color: #ffffff !important;
}

.button.is-osat-outline {
  background-color: transparent !important;
  border-color: #cbd5e1 !important;
  color: var(--osat-black) !important;
  font-weight: 500;
}

.button.is-osat-outline:hover {
  background-color: var(--osat-slate-light) !important;
  border-color: var(--osat-slate-muted) !important;
}

.button.google-sign-in-button,
.button.google-sign-in-button:active,
.button.google-sign-in-button:focus,
.button.google-sign-in-button:hover {
  background-color: #ffffff !important;
  border: 1px solid #747775 !important;
  border-radius: 4px;
  box-shadow: none !important;
  color: #1f1f1f !important;
  font-family: Roboto, Arial, sans-serif;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 20px;
}

.button.google-sign-in-button {
  height: 40px;
  min-height: 40px;
  padding: 0 12px;
}

.google-sign-in-content {
  align-items: center;
  display: inline-flex;
  gap: 12px;
  justify-content: center;
}

.google-sign-in-previously-used {
  color: #5f6368;
  font-size: 12px;
  line-height: 16px;
  margin-bottom: 0.5rem;
}

.button.google-sign-in-button:hover {
  background-color: #f8faff !important;
}

.button.is-osat-hero-outline {
  background-color: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.6) !important;
  color: #ffffff !important;
  font-weight: 500;
}

.button.is-osat-hero-outline:hover {
  background-color: rgba(255, 255, 255, 0.15) !important;
  border-color: #ffffff !important;
  color: #ffffff !important;
}

/* Footer */
.footer.is-osat {
  background-color: var(--osat-black);
  color: #94a3b8;
  padding: 2.5rem 1.5rem;
  /* Leave room so the fixed .feedback-float button can't cover the footer links. */
  padding-bottom: calc(5rem + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.feedback-float {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 30;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.feedback-float:focus-visible {
  outline: 3px solid var(--osat-slate-dark);
  outline-offset: 3px;
}

.feedback-email-link {
  text-decoration: underline;
}

.feedback-message {
  max-width: 36rem;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.oauth-callback-origin {
  overflow-wrap: anywhere;
}

.feedback-row {
  cursor: pointer;
}

.feedback-row:focus-visible {
  outline: 2px solid var(--osat-slate-dark);
  outline-offset: -2px;
}

.footer.is-osat strong {
  color: #ffffff;
}

/* Links */
a {
  color: var(--osat-slate-dark);
}

a:hover {
  color: var(--osat-black);
  text-decoration: underline;
}

/* Event page: artist list + map */
.event-context-link {
  display: flex;
  align-items: center;
  max-width: 12rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-map {
  position: sticky;
  top: 1rem;
}

#map {
  height: 60vh;
  border-radius: 6px;
  border: 1px solid var(--osat-slate-border);
}

.map-current-location-control {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: 0.5rem;
}

.map-current-location-button {
  background: #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.map-current-location-status {
  max-width: 16rem;
  padding: 0.25rem 0.5rem;
  border-radius: 3px;
  background: #ffffff;
  color: #2f3437;
  font-size: 0.75rem;
  text-align: center;
}

.map-current-location-status:empty {
  display: none;
}

.event-map-visible {
  max-height: 20vh;
  overflow-y: auto;
}

.event-map-view-toggle {
  display: none;
}

.event-map-view-toggle .buttons {
  margin-bottom: 0;
}

.event-map-view-toggle .button.is-selected {
  background: var(--osat-slate-dark);
  border-color: var(--osat-slate-dark);
  color: #ffffff;
}

.map-artist-preview {
  width: 240px;
  max-width: 100%;
  box-sizing: border-box;
  position: relative;
}

.map-artist-preview strong {
  display: block;
  overflow-wrap: anywhere;
  padding-right: 1.75rem;
}

.map-popup-close {
  position: absolute;
  top: 0;
  right: 0;
}

.map-artist-interest {
  min-width: 0;
}

.map-artist-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.map-artist-preview img {
  display: block;
  width: 100%;
  height: 160px;
  margin-top: 0.5rem;
  object-fit: contain;
}

.map-artist-directions {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 3rem;
  padding: 0.25rem;
  border-radius: 4px;
  color: #1a73e8;
  font-size: 0.7rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
}

.map-artist-directions-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  color: #fff;
  font-size: 1rem;
  line-height: 1;
}

.map-artist-directions-icon::before {
  position: absolute;
  inset: 0.25rem;
  z-index: 0;
  border-radius: 2px;
  background: #1a73e8;
  content: "";
  transform: rotate(45deg);
}

.map-artist-directions-arrow {
  position: relative;
  z-index: 1;
  font-weight: 700;
}

.map-artist-directions > span:last-child {
  margin-top: 0.2rem;
}

.map-artist-directions:hover,
.map-artist-directions:focus-visible {
  background: #f1f3f4;
  color: #174ea6;
}

.agenda-endpoint {
  overflow-wrap: anywhere;
}

.agenda-index-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--osat-slate-border);
}

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

.agenda-locations-dialog {
  margin: auto;
  padding: 1.25rem;
  border: 0;
  border-radius: 6px;
  width: 640px;
  max-width: calc(100vw - 2rem);
  max-height: calc(100dvh - 2rem);
}

.tag-preferences-dialog {
  margin: auto;
  padding: 1.25rem;
  border: 0;
  border-radius: 6px;
  width: 480px;
  max-width: calc(100vw - 2rem);
  max-height: calc(100dvh - 2rem);
}

.tag-preferences-dialog::backdrop {
  background: rgba(0, 0, 0, 0.6);
}

.tag-merge-dialog {
  margin: auto;
  padding: 1.25rem;
  border: 0;
  border-radius: 6px;
  width: 440px;
  max-width: calc(100vw - 2rem);
}

.tag-merge-dialog::backdrop {
  background: rgba(0, 0, 0, 0.6);
}

.tag-preferences-options {
  max-height: min(50vh, 24rem);
  overflow-y: auto;
}

.tag-preference-remove {
  display: inline-flex;
  margin-left: 0.25rem;
}

.tag-preference-remove .delete {
  position: relative;
}

.agenda-locations-dialog::backdrop {
  background: rgba(0, 0, 0, 0.6);
}

.agenda-locations-dialog .address-autocomplete-results {
  position: static;
}

.agenda-locations-dialog .level-left {
  min-width: 0;
}

.agenda-locations-dialog .title {
  overflow-wrap: anywhere;
}

.agenda-map #map {
  height: 320px;
}

.agenda-candidates {
  max-height: calc(100vh - 12rem);
  overflow-y: auto;
  padding: 0.25rem;
  overflow-anchor: none;
}

.agenda-plan-route {
  height: auto;
  min-height: 3rem;
  flex-direction: column;
  gap: 0.125rem;
  padding: 0.5rem 0.875rem;
  line-height: 1.25;
}

.agenda-plan-route small {
  font-size: 0.625rem;
}

.agenda-stops {
  list-style: none;
  margin: 0;
  padding: 0;
}

.agenda-stops {
  max-height: 480px;
  overflow-y: auto;
  overflow-x: hidden;
  overflow-anchor: none;
}

.agenda-stop {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--osat-slate-border);
}

.agenda-itinerary {
  margin: 0;
  padding: 0;
  list-style: none;
}

.agenda-directions-button {
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  flex-shrink: 0;
  font-size: 1.25rem;
}

.agenda-stop-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  width: 2rem;
  flex-shrink: 0;
}

.agenda-stop-number {
  width: 1.5rem;
  flex-shrink: 0;
  font-weight: 600;
  text-align: center;
}

.agenda-artist-thumbnail {
  width: 5rem;
  height: 4rem;
  flex-shrink: 0;
  border-radius: 4px;
  object-fit: cover;
}

.agenda-stop-details {
  flex: 1;
  min-width: 0;
  overflow-wrap: anywhere;
}

.agenda-stop-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 0.5rem;
}

.agenda-stop-heading > strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.agenda-stop-share {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  justify-self: center;
}

.agenda-stop-visited {
  justify-self: end;
}

.agenda-stop-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  flex-shrink: 0;
}

.agenda-stop-tools .button {
  width: 2rem;
  height: 2rem;
  padding: 0;
}

.agenda-drag-handle {
  display: flex;
  align-items: center;
  justify-content: center;
  align-self: stretch;
  flex-shrink: 0;
  width: 1.5rem;
  min-height: 2.5rem;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: var(--osat-slate-light);
  color: var(--osat-slate-dark);
  font-size: 0.75rem;
  line-height: 1;
  cursor: grab;
  touch-action: none;
}

.agenda-drag-handle:focus-visible {
  outline: 2px solid var(--osat-slate-dark);
  outline-offset: 2px;
}

.agenda-stop-chosen .agenda-drag-handle {
  cursor: grabbing;
}

.agenda-stop-ghost {
  opacity: 0.35;
}

.artist-card {
  transition: box-shadow 0.3s, background-color 0.3s;
}

.artist-card[hidden] {
  display: none;
}

.event-artist-search {
  width: 13.125rem;
  max-width: 100%;
  min-width: 0;
  flex: 0 1 13.125rem;
  margin-left: auto;
  margin-top: 0.375rem;
}

.event-artist-header .level-left {
  flex-direction: row;
  align-items: center;
  flex: 1 1 0;
  min-width: 0;
}

.event-artist-header {
  gap: 0;
}

.event-resort-sticky {
  position: sticky;
  top: 0.75rem;
  z-index: 20;
  display: flex;
  justify-content: flex-end;
  height: 0;
  pointer-events: none;
}

.event-resort-sticky > * {
  flex: 0 0 auto;
  pointer-events: auto;
}

.event-artist-search .input {
  min-width: 0;
  width: 100%;
  transform: translateY(-2px);
}

.event-artists .artist-card {
  position: relative;
}

.event-artists .artist-card > .level .level-left {
  padding-right: 6rem;
}

.event-artists .artist-card > .level .level-right {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
}

.artist-card-directions {
  display: none;
  align-items: center;
  gap: 0.375rem;
  padding: 0.25rem 0.375rem;
  border-radius: 4px;
  color: #1a73e8;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
}

.artist-card-directions .map-artist-directions-icon {
  width: 1.125rem;
  height: 1.125rem;
  font-size: 0.75rem;
}

.artist-card-directions .map-artist-directions-icon::before {
  inset: 0.1875rem;
}

.interest-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.interest-checkbox input {
  width: 1rem;
  height: 1rem;
  accent-color: #2563eb;
}

.interest-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.interest-toggle.is-outlined {
  background-color: transparent;
  border-color: var(--osat-slate-dark);
  color: var(--osat-black);
}

.interest-toggle.is-success {
  color: var(--osat-white);
}

.interest-remove-mark {
  font-weight: 700;
  line-height: 1;
}

.address-autocomplete-results {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 30;
  background: #ffffff;
  border: 1px solid var(--osat-slate-border);
  border-radius: 4px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.address-autocomplete-results ul {
  max-height: 240px;
  overflow-y: auto;
}

.address-autocomplete-results [role="option"] {
  padding: 0.65rem 0.75rem;
  cursor: pointer;
  overflow-wrap: anywhere;
}

.address-autocomplete-results [role="option"]:hover,
.address-autocomplete-results [aria-selected="true"] {
  background: var(--osat-slate-light);
}

.address-autocomplete-attribution {
  padding: 0.5rem 0.75rem;
  text-align: right;
  border-top: 1px solid var(--osat-slate-border);
}

.artist-location-button {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.artist-location-button:hover {
  text-decoration: underline;
}

.artist-location-button:focus-visible {
  outline: 2px solid var(--osat-slate-dark);
  outline-offset: 3px;
}

.artist-card .level {
  flex-wrap: wrap;
  gap: 0.75rem;
}

.artist-card .level-left {
  min-width: 0;
  max-width: 100%;
}

.artist-card .title {
  overflow-wrap: anywhere;
}

.artist-tag-control {
  position: relative;
  display: inline-flex;
}

.artist-tag-preference-popover {
  position: absolute;
  top: calc(100% + 0.375rem);
  left: 0;
  z-index: 30;
  min-width: 13rem;
  padding: 0.5rem;
  background: #ffffff;
  border: 1px solid var(--osat-slate-border);
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
}

.artist-tag-preference-popover[hidden] {
  display: none;
}

.artist-tag-preference-popover .buttons {
  gap: 0.375rem;
  margin: 0;
}

.artist-card.is-highlighted {
  background-color: var(--osat-slate-light);
  box-shadow: 0 0 0 2px var(--osat-slate-dark);
}

.artist-images {
  width: 100%;
  max-width: 320px;
}

.artist-image-frame {
  height: 200px;
}

.artist-image-button {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.artist-image-wrap {
  position: relative;
  display: inline-block;
  max-width: 100%;
}

.artist-image-wrap:has(> .artist-image[hidden]) {
  display: none;
}

.artist-image-zoom-hint {
  position: absolute;
  right: 0.25rem;
  bottom: 0.25rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  padding: 0.25rem;
  background: rgba(255, 255, 255, 0.5);
  font-size: 1rem;
  line-height: 1;
  pointer-events: none;
}

.artist-image-button:focus-visible {
  outline: 2px solid var(--osat-slate-dark);
  outline-offset: 3px;
}

.artist-image-dialog {
  margin: auto;
  padding: 1rem;
  border: 0;
  border-radius: 6px;
  max-width: calc(100vw - 2rem);
  max-height: calc(100dvh - 2rem);
}

.artist-image-dialog::backdrop {
  background: rgba(0, 0, 0, 0.7);
}

.artist-expanded-image {
  display: block;
  max-width: calc(100vw - 4rem);
  max-height: calc(100dvh - 6rem);
  object-fit: contain;
}

html:has(.artist-image-dialog[open]) {
  overflow: hidden;
}

.artist-image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 200px;
  object-fit: contain;
}

.artist-image[hidden] {
  display: none;
}

.artist-image-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.artist-image-controls .button {
  width: 2rem;
  height: 2rem;
  padding: 0;
}

@media screen and (max-width: 768px) {
  .event-map-columns {
    display: flex;
    flex-direction: column;
  }

  .event-map-view-toggle {
    display: flex;
    flex: 0 0 auto;
    justify-content: center;
    width: 100%;
  }

  .event-map-columns .event-artists-column,
  .event-map-columns .event-map-column {
    width: 100%;
  }

  .event-map-columns[data-mobile-view="artists"] .event-map-column,
  .event-map-columns[data-mobile-view="map"] .event-artists-column {
    display: none;
  }

  .event-artist-header {
    flex-wrap: nowrap;
  }

  .event-artist-header .level-left {
    flex: 1 1 0;
    min-width: 0;
  }

  .level.is-mobile.event-artist-header .level-right {
    align-items: center;
    flex: 0 0 auto;
    flex-direction: row;
    justify-content: flex-end;
    min-width: 0;
  }

  .event-artist-search {
    max-width: 100%;
    min-width: 0;
    flex: 0 1 13.125rem;
  }

  .event-artist-search .control,
  .event-artist-search .input {
    min-width: 0;
  }

  .agenda-workspace {
    grid-template-columns: minmax(0, 1fr);
  }

  .agenda-stop-tools {
    flex-direction: column;
  }

  .event-map {
    position: static;
  }

  .event-artists .artist-card > .level .level-right {
    align-items: flex-end;
    flex-direction: column;
    gap: 0.375rem;
  }

  .event-artists .artist-card-directions {
    display: flex;
  }

  #map {
    height: 40vh;
  }

}
