.site-shell .studio-nav {
  overflow: visible;
}

.campus-scenery-gallery {
  --scenery-row-height: clamp(150px, 21vh, 240px);
}

.campus-scenery-gallery .campus-scenery-viewport {
  display: grid;
  align-content: center;
  gap: 18px;
  width: 100%;
  height: calc(var(--scenery-row-height) * 2 + 76px);
  max-height: min(68vh, 560px);
  padding: 28px 0 30px;
  overflow: hidden;
}

.campus-scenery-gallery .campus-scenery-viewport.is-single-row {
  height: calc(var(--scenery-row-height) + 58px);
}

.campus-scenery-gallery .campus-scenery-row {
  display: flex;
  align-items: center;
  width: 100%;
  height: calc(var(--scenery-row-height) + 12px);
  overflow: visible;
}

.campus-scenery-gallery .campus-scenery-track {
  min-width: max-content;
}

.campus-scenery-gallery .campus-scenery-track.is-reverse {
  transform: translate3d(-50%, 0, 0);
  animation-name: campusSceneryLoopReverse;
}

@media (hover: hover) and (pointer: fine) {
  .campus-scenery-gallery:hover .campus-scenery-track {
    animation-play-state: paused;
    will-change: auto;
  }
}

.campus-scenery-gallery .campus-scenery-group {
  align-items: center;
  gap: 14px;
  padding-right: 14px;
}

.campus-scenery-gallery .campus-scenery-card {
  flex: 0 0 auto;
  width: calc(var(--scenery-row-height) * var(--scenery-aspect, 1.5));
  height: var(--scenery-row-height);
  aspect-ratio: var(--scenery-aspect, 1.5);
  contain: layout style;
  transform: translate3d(0, var(--scenery-shift), 0) rotate(calc(var(--scenery-rotation) * 0.42));
  transform-origin: 50% 50%;
}

.campus-scenery-gallery .campus-scenery-card:hover,
.campus-scenery-gallery .campus-scenery-card:focus-within {
  transform: translate3d(0, -18px, 34px) rotate(0deg) scale(1.045);
}

.campus-scenery-gallery .campus-scenery-photo img {
  object-fit: contain;
  background: transparent;
}

.campus-scenery-gallery .campus-scenery-photo {
  background-color: #07101d;
  background-image: var(--scenery-placeholder, none);
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.campus-scenery-gallery.is-editing .campus-scenery-viewport {
  display: grid;
  gap: 34px;
  height: auto;
  max-height: none;
  padding: 40px 0;
  overflow: visible;
}

.campus-scenery-gallery.is-editing .campus-scenery-row {
  height: auto;
}

.campus-scenery-gallery.is-editing .campus-scenery-track,
.campus-scenery-gallery.is-editing .campus-scenery-group {
  width: 100%;
}

.campus-scenery-gallery.is-editing .campus-scenery-track {
  min-width: 0;
  transform: none;
}

.campus-scenery-gallery.is-editing .campus-scenery-group {
  gap: 28px 18px;
}

.site-shell .campus-food-section {
  padding-top: 30px;
  background:
    radial-gradient(circle at 15% 22%, rgba(255, 180, 92, 0.08), transparent 28%),
    radial-gradient(circle at 84% 72%, rgba(112, 210, 183, 0.08), transparent 30%);
}

.campus-food-heading .studio-pill {
  border-color: rgba(255, 203, 132, 0.45);
  color: #ffe0b2;
}

.site-shell .campus-food-source-note {
  max-width: 780px;
  margin-top: 10px;
  color: rgba(223, 236, 238, 0.58);
  font-size: 13px;
  line-height: 1.7;
}

.campus-food-gallery {
  --food-row-gap: 14px;
  --scenery-row-height: clamp(118px, 16vh, 178px);
  border-color: rgba(255, 210, 153, 0.15);
  background:
    linear-gradient(180deg, rgba(255, 190, 115, 0.035), transparent 24%, transparent 76%, rgba(101, 214, 184, 0.035)),
    rgba(5, 10, 20, 0.2);
}

.campus-food-gallery .campus-scenery-viewport.is-three-row {
  gap: var(--food-row-gap);
  height: calc(var(--scenery-row-height) * 3 + var(--food-row-gap) * 2 + 58px);
  max-height: min(76vh, 640px);
  padding: 26px 0 32px;
}

.campus-food-gallery .campus-scenery-viewport.is-three-row .campus-scenery-row {
  height: var(--scenery-row-height);
}

.campus-food-gallery .campus-scenery-row:nth-child(3) .campus-scenery-track {
  animation-delay: -11s;
}

.campus-food-gallery .campus-scenery-photo {
  background-color: #14120f;
}

.food-add-button > span,
.community-food-submit-button .community-photo-submit-icon {
  background: linear-gradient(145deg, #ffd087, #72d8bd);
  box-shadow: 0 10px 30px rgba(255, 190, 112, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.68);
}

.community-food-submit-button {
  border-color: rgba(255, 214, 157, 0.5);
  background:
    radial-gradient(circle at var(--glass-x, 24%) var(--glass-y, 15%), rgba(255, 255, 255, 0.3), transparent 36%),
    linear-gradient(135deg, rgba(255, 202, 132, 0.16), rgba(85, 207, 180, 0.12)),
    rgba(8, 17, 28, 0.76);
}

.community-food-submit-button:hover {
  border-color: rgba(255, 226, 181, 0.9);
}

.community-photo-form.is-food-submission .community-photo-account {
  grid-column: 1 / -1;
}

.community-photo-review-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.community-photo-review-type {
  display: inline-grid;
  place-items: center;
  min-width: 42px;
  min-height: 22px;
  padding: 2px 9px;
  border: 1px solid rgba(91, 226, 245, 0.4);
  border-radius: 11px;
  background: rgba(49, 204, 229, 0.12);
  color: #a8f4ff;
  font-size: 11px;
  font-weight: 850;
}

.community-photo-review-type.is-food {
  border-color: rgba(255, 205, 133, 0.5);
  background: rgba(255, 176, 76, 0.12);
  color: #ffe0af;
}

.community-photo-review-copy .community-photo-review-store {
  margin: 0 0 4px;
  color: rgba(255, 226, 183, 0.78);
}

.gallery-batch-toolbar {
  position: sticky;
  top: 116px;
  z-index: 24;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1480px, calc(100% - 48px));
  margin: 22px auto 0;
  padding: 14px 16px;
  border: 1px solid rgba(212, 246, 255, 0.48);
  border-radius: 8px;
  background:
    radial-gradient(circle at 8% 0%, rgba(255, 255, 255, 0.2), transparent 34%),
    linear-gradient(135deg, rgba(46, 68, 82, 0.94), rgba(7, 24, 36, 0.94));
  box-shadow:
    0 18px 48px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.36);
  color: #f7fbff;
  backdrop-filter: blur(24px) saturate(1.35);
  -webkit-backdrop-filter: blur(24px) saturate(1.35);
}

.gallery-batch-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.gallery-batch-summary > span:last-child {
  display: grid;
  gap: 2px;
}

.gallery-batch-summary strong {
  font-size: 14px;
  line-height: 1.3;
}

.gallery-batch-summary small {
  color: rgba(231, 244, 249, 0.65);
  font-size: 11px;
  line-height: 1.35;
}

.gallery-batch-symbol {
  position: relative;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border: 1px solid rgba(125, 239, 245, 0.52);
  border-radius: 50%;
  background: linear-gradient(145deg, rgba(103, 235, 232, 0.34), rgba(43, 150, 175, 0.2));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 10px 28px rgba(16, 201, 222, 0.14);
}

.gallery-batch-symbol::before,
.gallery-batch-symbol::after,
.gallery-batch-symbol > span {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border: 2px solid #bafaff;
  border-radius: 2px;
}

.gallery-batch-symbol::before {
  left: 8px;
  top: 8px;
}

.gallery-batch-symbol::after {
  right: 8px;
  bottom: 8px;
}

.gallery-batch-symbol > span {
  right: 8px;
  top: 8px;
}

.gallery-batch-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
}

.gallery-selection-count {
  min-width: 92px;
  color: rgba(234, 246, 250, 0.72);
  font-size: 12px;
  text-align: center;
}

.gallery-selection-count strong {
  color: #75f3f5;
  font-size: 16px;
}

.gallery-batch-actions button {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid rgba(215, 242, 250, 0.32);
  border-radius: 7px;
  background: rgba(7, 19, 31, 0.66);
  color: #f4fbff;
  font: inherit;
  font-size: 12px;
  font-weight: 820;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.16);
  cursor: pointer;
}

.gallery-batch-actions button:hover:not(:disabled),
.gallery-batch-actions button:focus-visible {
  border-color: rgba(126, 238, 246, 0.84);
  background: rgba(20, 67, 79, 0.84);
}

.gallery-batch-actions button.is-danger {
  border-color: rgba(255, 135, 158, 0.48);
  color: #ffdce3;
}

.gallery-batch-actions button.is-danger:hover:not(:disabled),
.gallery-batch-actions button.is-danger:focus-visible {
  border-color: rgba(255, 151, 169, 0.88);
  background: rgba(98, 29, 49, 0.82);
}

.gallery-batch-actions button:disabled {
  opacity: 0.36;
  cursor: not-allowed;
}

.campus-scenery-gallery.is-editing .campus-scenery-photo {
  cursor: pointer;
}

.campus-scenery-gallery.is-editing .campus-scenery-card.is-selected {
  z-index: 5;
  transform: translate3d(0, -8px, 20px) rotate(0deg) scale(1.025);
}

.campus-scenery-gallery.is-editing .campus-scenery-card.is-selected .campus-scenery-photo {
  border-color: #72f2f5;
  box-shadow:
    0 0 0 4px rgba(73, 226, 238, 0.24),
    0 20px 52px rgba(0, 0, 0, 0.46),
    inset 0 1px 0 rgba(255, 255, 255, 0.44);
}

.campus-scenery-select-mark {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 7;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 2px solid rgba(235, 249, 255, 0.88);
  border-radius: 50%;
  background: rgba(4, 14, 25, 0.72);
  color: transparent;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.3);
  pointer-events: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.campus-scenery-select-mark span {
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

.campus-scenery-card.is-selected .campus-scenery-select-mark {
  border-color: #aaffff;
  background: linear-gradient(145deg, #60e6ea, #30b9ca);
  color: #05202a;
}

.campus-scenery-editor-actions {
  top: 12px;
  right: 12px;
  left: auto;
}

.campus-scenery-editor-actions label.campus-scenery-replace {
  min-height: 34px;
  padding: 7px 11px;
  border-color: rgba(221, 247, 253, 0.54);
  background: rgba(5, 17, 29, 0.78);
  color: #f8fcff;
}

@media (max-width: 760px) {
  .site-shell .studio-nav {
    overflow: visible;
  }

  .campus-scenery-gallery {
    --scenery-row-height: clamp(112px, 18vh, 146px);
  }

  .campus-scenery-gallery .campus-scenery-viewport {
    gap: 12px;
    height: calc(var(--scenery-row-height) * 2 + 54px);
    max-height: min(62vh, 350px);
    padding: 20px 0 22px;
  }

  .campus-scenery-gallery .campus-scenery-viewport.is-single-row {
    height: calc(var(--scenery-row-height) + 44px);
  }

  .campus-scenery-gallery .campus-scenery-row {
    height: calc(var(--scenery-row-height) + 6px);
  }

  .campus-scenery-gallery .campus-scenery-group {
    gap: 10px;
    padding-right: 10px;
  }

  .campus-scenery-gallery .campus-scenery-card {
    width: calc(var(--scenery-row-height) * var(--scenery-aspect, 1.5));
    height: var(--scenery-row-height);
  }

  .campus-scenery-gallery .campus-scenery-card:hover,
  .campus-scenery-gallery .campus-scenery-card:focus-within {
    transform: translate3d(0, -10px, 18px) rotate(0deg) scale(1.025);
  }

  .campus-scenery-gallery.is-editing .campus-scenery-viewport {
    gap: 26px;
    max-height: none;
  }

  .site-shell .campus-food-section {
    padding-top: 18px;
  }

  .campus-food-gallery {
    --food-row-gap: 10px;
    --scenery-row-height: clamp(92px, 13vh, 118px);
  }

  .campus-food-gallery .campus-scenery-viewport.is-three-row {
    gap: var(--food-row-gap);
    height: calc(var(--scenery-row-height) * 3 + var(--food-row-gap) * 2 + 38px);
    max-height: min(66vh, 430px);
    padding: 16px 0 22px;
  }

  .site-shell .campus-food-source-note {
    font-size: 12px;
  }

  .community-photo-form.is-food-submission .community-photo-account {
    grid-column: auto;
  }

  .gallery-batch-toolbar {
    top: 84px;
    align-items: stretch;
    flex-direction: column;
    width: calc(100% - 24px);
    margin-top: 14px;
    padding: 12px;
  }

  .gallery-batch-summary {
    min-width: 0;
  }

  .gallery-batch-actions {
    justify-content: flex-start;
  }

  .gallery-selection-count {
    display: grid;
    place-items: center;
    min-width: 78px;
  }

  .gallery-batch-actions button {
    flex: 1 1 auto;
    min-width: 72px;
  }
}
