:root {
  --bg: #06070b;
  --panel: rgba(17, 19, 31, 0.78);
  --panel-strong: rgba(24, 25, 42, 0.94);
  --ink: #fff7e8;
  --muted: #b9b1c5;
  --line: rgba(255, 255, 255, 0.13);
  --pink: #ff4fd8;
  --cyan: #2ee8ff;
  --gold: #f2bd68;
  --green: #2bf29a;
  --danger: #ff6a6a;
  --shadow-pink: 0 0 28px rgba(255, 79, 216, 0.38);
  --shadow-cyan: 0 0 26px rgba(46, 232, 255, 0.28);
  --radius: 8px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 13% 10%, rgba(255, 79, 216, 0.19), transparent 27rem),
    radial-gradient(circle at 84% 9%, rgba(46, 232, 255, 0.17), transparent 28rem),
    linear-gradient(135deg, #07060a 0%, #0c1018 42%, #050507 100%);
  font-family: "Avenir Next", "Noto Sans TC", "PingFang TC", sans-serif;
  letter-spacing: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 72%);
}

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

img,
video {
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

.site-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding-bottom: 72px;
}

.topbar {
  position: sticky;
  top: 12px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 12px 0 34px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(5, 7, 12, 0.82);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-cyan);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img,
.brand-mini img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 50%;
  box-shadow: var(--shadow-pink);
}

.brand strong,
.brand-mini strong {
  display: block;
  font-family: Georgia, "Noto Serif TC", serif;
  font-size: 1.03rem;
  color: var(--gold);
}

.brand span,
.brand-mini span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.nav-links a,
.filter-strip a,
.count-pill {
  min-height: 36px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
}

.nav-links a.active,
.filter-strip a.active {
  color: var(--ink);
  border-color: rgba(255, 79, 216, 0.7);
  box-shadow: inset 0 0 18px rgba(255, 79, 216, 0.16);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(340px, 1.35fr);
  gap: 28px;
  align-items: center;
  min-height: calc(100vh - 170px);
  padding-bottom: 28px;
}

.hero-copy h1,
.page-hero h1 {
  margin: 0;
  font-family: Georgia, "Noto Serif TC", serif;
  font-size: clamp(3rem, 9vw, 7.2rem);
  line-height: 0.95;
  color: var(--gold);
  text-shadow: 0 0 20px rgba(242, 189, 104, 0.45), 0 0 42px rgba(255, 79, 216, 0.34);
}

.hero-subtitle {
  margin: 14px 0 28px;
  color: var(--muted);
  font-size: 1.12rem;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-actions,
.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.06);
}

.button.primary {
  border-color: rgba(46, 232, 255, 0.7);
  background: linear-gradient(135deg, rgba(46, 232, 255, 0.2), rgba(255, 79, 216, 0.25));
  box-shadow: var(--shadow-cyan);
}

.button.ghost:hover,
.button.primary:hover,
.profile-card:hover,
.area-card:hover {
  transform: translateY(-2px);
}

.hero-banner {
  margin: 0;
  padding: 12px;
  border: 1px solid rgba(242, 189, 104, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow-pink);
}

.hero-banner img {
  display: block;
  width: 100%;
  max-height: 67vh;
  object-fit: contain;
  border-radius: calc(var(--radius) - 2px);
  background: #030306;
}

.notice-band {
  overflow: hidden;
  margin: 0 0 34px;
  border: 1px solid rgba(46, 232, 255, 0.24);
  border-radius: var(--radius);
  background: rgba(46, 232, 255, 0.06);
}

.notice-static {
  display: grid;
  gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.notice-static span {
  color: var(--ink);
}

.notice-track {
  display: inline-flex;
  min-width: 100%;
  gap: 42px;
  padding: 12px 16px;
  color: var(--gold);
  white-space: nowrap;
  animation: marquee 24s linear infinite;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.section-block,
.split-panel,
.page-hero,
.price-frame,
.qa-card,
.admin-main,
.admin-sidebar {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: 0 18px 54px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(18px);
}

.section-block,
.page-hero,
.price-frame {
  margin-top: 28px;
  padding: 22px;
}

.page-hero.compact {
  padding: 34px 24px;
}

.page-hero p {
  max-width: 760px;
  color: var(--muted);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.section-heading h2,
.split-panel h2,
.profile-info h1,
.admin-head h1 {
  margin: 0;
  font-family: Georgia, "Noto Serif TC", serif;
  color: var(--ink);
}

.section-heading a {
  color: var(--cyan);
}

.area-grid,
.profile-grid {
  display: grid;
  gap: 16px;
}

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

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

.area-card,
.profile-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  transition: transform 180ms ease, border-color 180ms ease;
}

.area-card {
  min-height: 168px;
  padding: 18px;
}

.area-card h3,
.profile-card h3 {
  margin: 0 0 8px;
  color: var(--gold);
  font-family: Georgia, "Noto Serif TC", serif;
}

.area-card p,
.profile-card p,
.split-panel p,
.profile-description,
.qa-card p {
  color: var(--muted);
  line-height: 1.75;
}

.media-box {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 79, 216, 0.12), rgba(46, 232, 255, 0.1)),
    #090912;
}

.media-box::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image: var(--cover-bg);
  background-size: cover;
  background-position: center;
  filter: blur(22px);
  opacity: 0.22;
  transform: scale(1.08);
}

.media-box img,
.media-box video {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.rating-badge {
  position: absolute;
  z-index: 2;
  top: 10px;
  right: 10px;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 9px;
  border: 1px solid rgba(242, 189, 104, 0.5);
  border-radius: 999px;
  color: var(--gold);
  background: rgba(5, 5, 10, 0.78);
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.36);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
}

.profile-card-body {
  padding: 14px;
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0;
}

.meta-grid span,
.media-count,
.service-chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: var(--radius);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.media-count {
  color: var(--cyan);
  font-size: 0.86rem;
}

.schedule-summary {
  margin: 0 0 12px;
  padding: 9px 10px;
  border-top: 1px solid rgba(43, 242, 154, 0.22);
  border-bottom: 1px solid rgba(43, 242, 154, 0.22);
  color: var(--green) !important;
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.4 !important;
}

.split-panel {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
  padding: 22px;
}

.filter-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 22px 0 0;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 22px;
}

.gallery-main {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.gallery-shell {
  position: relative;
}

.gallery-carousel {
  --gallery-max-width: 520px;
  --gallery-edge: max(14px, calc((100% - var(--gallery-max-width)) / 2));
  display: flex;
  gap: 14px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 14px var(--gallery-edge);
  scroll-padding-inline: var(--gallery-edge);
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.gallery-carousel::-webkit-scrollbar {
  display: none;
}

.gallery-slide {
  position: relative;
  display: grid;
  place-items: center;
  flex: 0 0 min(100%, var(--gallery-max-width));
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 12%, rgba(46, 232, 255, 0.13), transparent 32%),
    #05050a;
  scroll-snap-align: center;
}

.gallery-slide img,
.gallery-slide video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.gallery-slide video {
  background: #05050a;
}

.video-poster {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  min-height: 320px;
  background: linear-gradient(135deg, rgba(255, 79, 216, 0.18), rgba(46, 232, 255, 0.12));
  color: var(--ink);
  text-align: center;
}

.gallery-nav {
  position: absolute;
  z-index: 3;
  top: 50%;
  display: grid;
  place-items: center;
  width: 42px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(5, 5, 10, 0.62);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.24);
  cursor: pointer;
  transform: translateY(-50%);
}

.gallery-nav.prev {
  left: 18px;
}

.gallery-nav.next {
  right: 18px;
}

.gallery-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 0 14px 14px;
}

.gallery-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.28);
  cursor: pointer;
}

.gallery-dots button.active {
  width: 24px;
  background: var(--cyan);
  box-shadow: var(--shadow-cyan);
}

.profile-info {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-strong);
}

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

.service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.weekly-schedule {
  margin: 16px 0;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.weekly-schedule h2 {
  margin: 0 0 10px;
  color: var(--gold);
  font-family: Georgia, "Noto Serif TC", serif;
  font-size: 1rem;
}

.weekly-schedule > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.weekly-schedule span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: 32px;
  padding: 6px 8px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  font-size: 0.82rem;
}

.weekly-schedule span.is-off {
  color: rgba(255, 255, 255, 0.5);
}

.weekly-schedule strong {
  color: var(--cyan);
}

.search-panel {
  display: grid;
  gap: 20px;
  margin-top: 22px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.search-keyword {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

.search-keyword input {
  width: min(660px, 100%);
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid rgba(46, 232, 255, 0.36);
  border-radius: var(--radius);
  outline: none;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.055);
}

.search-keyword input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(46, 232, 255, 0.14);
}

.search-filter-groups {
  display: grid;
  gap: 16px;
}

.search-filter-group .eyebrow {
  margin-bottom: 8px;
}

.search-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.search-chip {
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.04);
}

.search-chip:hover,
.search-chip.active {
  border-color: rgba(255, 79, 216, 0.72);
  color: var(--ink);
  background: rgba(255, 79, 216, 0.14);
  box-shadow: inset 0 0 16px rgba(255, 79, 216, 0.12);
}

.search-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.search-results-section {
  margin-top: 22px;
}

.price-frame {
  display: grid;
  place-items: center;
}

.price-frame img {
  width: min(760px, 100%);
  max-height: 78vh;
  object-fit: contain;
  border: 1px solid rgba(242, 189, 104, 0.28);
  border-radius: var(--radius);
  background: #030306;
  box-shadow: var(--shadow-pink);
}

.qa-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.qa-card {
  padding: 18px;
}

.qa-card.warning {
  border-color: rgba(255, 106, 106, 0.65);
  box-shadow: 0 0 24px rgba(255, 106, 106, 0.16);
}

.line-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  padding: 13px 16px;
  border: 1px solid rgba(43, 242, 154, 0.75);
  border-radius: var(--radius);
  color: #06100a;
  font-weight: 800;
  background: var(--green);
  box-shadow: 0 0 28px rgba(43, 242, 154, 0.36);
}

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(3, 3, 8, 0.88);
  backdrop-filter: blur(18px);
}

.age-panel {
  width: min(560px, 100%);
  padding: 24px;
  border: 1px solid rgba(255, 79, 216, 0.5);
  border-radius: var(--radius);
  background: #0d0e18;
  box-shadow: var(--shadow-pink);
}

.age-panel h2 {
  margin-top: 0;
  color: var(--gold);
}

.age-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.admin-layout {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 18px;
  width: min(1380px, calc(100% - 28px));
  margin: 14px auto;
}

.admin-sidebar,
.admin-main {
  padding: 18px;
}

.admin-sidebar {
  position: sticky;
  top: 14px;
  align-self: start;
}

.brand-mini {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.admin-tabs {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}

.admin-tabs button {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  text-align: left;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.04);
}

.admin-tabs button.active {
  color: var(--ink);
  border-color: var(--pink);
}

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

.admin-login {
  max-width: 460px;
}

label {
  display: grid;
  gap: 7px;
  margin: 12px 0;
  color: var(--muted);
}

input,
textarea,
select {
  width: 100%;
  min-height: 40px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.06);
}

textarea {
  min-height: 94px;
  resize: vertical;
}

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

.admin-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.admin-item {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.admin-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.form-message {
  min-height: 22px;
  color: var(--cyan);
}

.empty-state {
  padding: 18px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--muted);
}

.upload-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.hidden-file {
  position: absolute;
  width: 1px;
  min-height: 1px;
  opacity: 0;
  pointer-events: none;
}

.asset-picker {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 74px;
  gap: 10px;
  align-items: center;
  margin: 12px 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.asset-picker span,
.asset-picker strong {
  display: block;
}

.asset-picker strong {
  margin-top: 4px;
  color: var(--cyan);
  font-size: 0.82rem;
  overflow-wrap: anywhere;
}

.asset-picker input {
  grid-column: 1 / -1;
  min-height: 36px;
}

.asset-thumb {
  width: 74px;
  height: 74px;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background: #05050a;
}

.asset-thumb.empty {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 0.82rem;
}

.service-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-check {
  display: inline-flex;
  align-items: center;
  width: auto;
  min-height: 30px;
  gap: 6px;
  margin: 0;
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.service-check input {
  width: 16px;
  min-height: 16px;
  margin: 0;
}

.service-chip.editable {
  gap: 8px;
}

.service-chip.editable button {
  width: 22px;
  height: 22px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.06);
}

.compact-item {
  padding: 12px;
}

.draft-media-list {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.draft-media-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.draft-media-item span {
  color: var(--gold);
}

.draft-media-item strong {
  color: var(--cyan);
  overflow-wrap: anywhere;
}

.draft-media-item button {
  min-height: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  cursor: pointer;
  background: rgba(255, 255, 255, 0.06);
}

.cover-check {
  align-self: end;
  margin: 12px 0;
}

.weekly-schedule-editor {
  display: grid;
  gap: 8px;
  margin: 12px 0 18px;
}

.schedule-editor-row {
  display: grid;
  grid-template-columns: 50px 70px minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  align-items: end;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.025);
}

.schedule-editor-row > strong {
  padding-bottom: 10px;
  color: var(--gold);
}

.schedule-editor-row label {
  gap: 5px;
  margin: 0;
  font-size: 0.8rem;
}

.schedule-editor-row input[type="time"] {
  min-width: 0;
}

.schedule-off-toggle {
  display: flex !important;
  align-items: center;
  min-height: 42px;
}

.schedule-off-toggle input {
  width: 16px;
  min-height: 16px;
  margin: 0;
}

.admin-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(3, 3, 8, 0.82);
  backdrop-filter: blur(18px);
}

.admin-modal-panel {
  width: min(720px, 100%);
  max-height: min(760px, calc(100vh - 36px));
  overflow: auto;
  padding: 18px;
  border: 1px solid rgba(255, 79, 216, 0.5);
  border-radius: var(--radius);
  background: #0d0e18;
  box-shadow: var(--shadow-pink);
}

.admin-modal-panel h2 {
  margin: 0;
  color: var(--gold);
  font-family: Georgia, "Noto Serif TC", serif;
}

.upload-busy {
  z-index: 120;
}

.upload-busy-panel {
  width: min(420px, 100%);
  text-align: center;
}

.upload-busy-panel p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.modal-body {
  margin: 12px 0;
}

@media (max-width: 920px) {
  .topbar,
  .admin-head {
    align-items: stretch;
    flex-direction: column;
  }

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

  .hero,
  .detail-layout,
  .admin-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 0;
  }

  .area-grid,
  .profile-grid,
  .split-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .schedule-editor-row {
    grid-template-columns: 50px 70px minmax(0, 1fr) minmax(0, 1fr);
  }

  .admin-sidebar {
    position: static;
  }
}

@media (max-width: 620px) {
  .site-shell,
  .admin-layout {
    width: min(100% - 18px, 1380px);
  }

  .hero-copy h1,
  .page-hero h1 {
    font-size: 3rem;
  }

  .area-grid,
  .profile-grid,
  .split-panel,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .weekly-schedule > div {
    grid-template-columns: 1fr;
  }

  .search-actions {
    align-items: stretch;
    flex-direction: column;
  }

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

  .schedule-editor-row > strong,
  .schedule-off-toggle {
    grid-column: auto;
  }

  .asset-picker {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .line-float {
    right: 10px;
    bottom: 10px;
  }
}
