:root {
  --text: #1c2434;
  --muted: #657089;
  --glass: rgba(255, 255, 255, 0.48);
  --glass-strong: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(255, 255, 255, 0.62);
  --shadow: 0 24px 70px rgba(24, 36, 61, 0.2);
  --accent: #6f8cff;
  --danger: #e4576d;
  --stage-w: 1600px;
  --stage-h: 900px;
  --radius: 22px;
}

* {
  box-sizing: border-box;
  scrollbar-width: thin;
  scrollbar-color: #b8c3d8 rgba(255, 255, 255, 0.18);
}

*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

*::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.18);
  border-radius: 999px;
}

*::-webkit-scrollbar-thumb {
  background: #b8c3d8;
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}

*::-webkit-scrollbar-thumb:hover {
  background: #9aa8c4;
  background-clip: padding-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  color: var(--text);
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: #eef1f6;
  overflow: hidden;
}

.public-body {
  overflow: auto;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.background {
  position: fixed;
  inset: 0;
  z-index: -2;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.9), transparent 28%),
    linear-gradient(135deg, #eef3fb 0%, #e8eef8 45%, #f5f0f8 100%);
}

.blob {
  position: absolute;
  width: 42vw;
  height: 42vw;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.52;
  animation: float 18s ease-in-out infinite alternate;
}

.blob.one {
  left: -8vw;
  top: -10vw;
  background: linear-gradient(135deg, #b9c8ff, #7aa7ff);
}

.blob.two {
  right: -10vw;
  top: 8vw;
  background: linear-gradient(135deg, #ffd2d8, #ff9fbc);
  animation-delay: -6s;
}

.blob.three {
  left: 24vw;
  bottom: -18vw;
  background: linear-gradient(135deg, #ffe5b9, #ffca7a);
  animation-delay: -12s;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.16;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(22px, 4vw, 56px);
  pointer-events: none;
}

.site-header .brand {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  background: var(--glass);
  box-shadow: 0 12px 36px rgba(38, 52, 86, 0.12);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
}

.public-header {
  justify-content: flex-end;
}

.brand-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7ba2ff, #5872ff);
  box-shadow: 0 0 0 6px rgba(111, 140, 255, 0.16);
}

.brand-text {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.header-link {
  pointer-events: auto;
  color: var(--muted);
  font-size: 13px;
  text-decoration: none;
  padding: 10px 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.header-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.66);
  transform: translateY(-1px);
}

.view-shell {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 86px 6px 40px;
}

.public-body .view-shell {
  position: relative;
  inset: auto;
  display: block;
  min-height: 100vh;
  padding: 0 6px 40px;
}

.intro {
  max-width: 780px;
  margin-bottom: 18px;
  text-align: center;
  animation: fade-up 0.8s ease both;
}

.intro h1 {
  margin: 0 0 10px;
  font-size: clamp(30px, 5vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.055em;
  font-weight: 650;
}

.intro p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: 0.03em;
}

.stage-viewport {
  position: relative;
  width: min(99vw, 1920px);
  height: min(76vh, 860px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.public-body .stage-viewport {
  display: block;
  width: auto;
  height: auto;
  margin: 0 auto;
  overflow: visible;
}

.stage {
  position: relative;
  width: var(--stage-w);
  height: var(--stage-h);
  transform-origin: center;
  flex: 0 0 auto;
}

.public-body .stage {
  transform-origin: top left;
}

.photo-card {
  position: absolute;
  transform-origin: center;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease;
}

.photo-card:hover {
  z-index: 1000 !important;
  transform: translateY(-12px) scale(1.02);
}

.photo-frame {
  position: relative;
  width: 100%;
  height: 100%;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.34);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.72);
  overflow: hidden;
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
}

.photo-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: calc(var(--radius) - 3px);
  transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.photo-card:hover .photo-frame img {
  transform: scale(1.035);
}

.photo-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: calc(var(--radius) - 2px);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.10), transparent 42%),
    linear-gradient(315deg, rgba(255, 255, 255, 0.06), transparent 34%);
}

.photo-caption {
  position: absolute;
  left: 16px;
  bottom: 14px;
  max-width: calc(100% - 32px);
  padding: 7px 12px;
  color: #fff;
  font-size: 12px;
  line-height: 1.2;
  border-radius: 10px;
  background: rgba(22, 27, 39, 0.36);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.photo-card:hover .photo-caption {
  opacity: 1;
  transform: translateY(0);
}

.site-footer {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 18px;
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 0.04em;
}

.empty-state {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: var(--muted);
  text-align: center;
}

.empty-state .icon {
  width: 76px;
  height: 76px;
  margin-bottom: 18px;
  border-radius: 26px;
  display: grid;
  place-items: center;
  font-size: 32px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  box-shadow: 0 16px 44px rgba(38, 52, 86, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.empty-state h2 {
  margin: 0 0 8px;
  color: var(--text);
  font-size: 22px;
}

.empty-state p {
  margin: 0;
  font-size: 14px;
}

/* Admin */
.admin-body {
  overflow: hidden;
}

.admin-layout {
  display: flex;
  height: 100vh;
  padding-top: 0;
}

.admin-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 70;
  width: 300px;
  padding: 18px;
  overflow-y: auto;
  border-right: 1px solid rgba(255, 255, 255, 0.52);
  background: rgba(255, 255, 255, 0.58);
  box-shadow: 20px 0 50px rgba(24, 36, 61, 0.16);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  transform: translateX(-100%);
  transition: transform 0.24s ease;
}

.admin-sidebar.open {
  transform: translateX(0);
}

.sidebar-trigger {
  position: fixed;
  left: 0;
  top: 50%;
  z-index: 60;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 92px;
  border: 1px solid var(--glass-border);
  border-left: 0;
  border-radius: 0 15px 15px 0;
  color: var(--text);
  font-size: 12px;
  letter-spacing: 0.12em;
  background: rgba(255, 255, 255, 0.56);
  box-shadow: 8px 0 22px rgba(24, 36, 61, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
  animation: soft-pulse 2.8s ease-in-out infinite;
}

.sidebar-trigger span {
  writing-mode: vertical-rl;
}

.sidebar-trigger:hover {
  background: rgba(255, 255, 255, 0.78);
}

.admin-sidebar.open ~ .sidebar-trigger,
.sidebar-trigger.open {
  opacity: 0;
  pointer-events: none;
}

.admin-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.admin-controls {
  margin-top: 18px;
  animation: fade-up 0.45s ease both;
}

.control-row {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.control-row .btn {
  flex: 1;
  text-align: center;
  text-decoration: none;
}

.zoom-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.zoom-row .btn {
  width: 42px;
  padding: 8px 0;
  text-align: center;
  border-radius: 50%;
}

.zoom-row #zoomLabel {
  min-width: 48px;
  text-align: center;
  color: var(--text);
  font-size: 12px;
}

.admin-toolbar {
  height: 54px;
  flex: 0 0 54px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.toolbar-title {
  margin-right: auto;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.canvas-height-control {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  padding: 7px 10px;
  border: 1px solid var(--glass-border);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.52);
}

.canvas-height-control input {
  width: 82px;
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 7px 9px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.58);
  outline: none;
}

.btn {
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 8px 12px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.54);
  box-shadow: 0 6px 18px rgba(38, 52, 86, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  background: rgba(255, 255, 255, 0.78);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(38, 52, 86, 0.14);
}

.btn:active {
  transform: translateY(0) scale(0.97);
}

.btn.primary {
  background: linear-gradient(135deg, #6f8cff, #5b6cf3);
  border-color: rgba(255, 255, 255, 0.48);
  color: #fff;
  box-shadow: 0 10px 26px rgba(91, 108, 243, 0.28);
}

.btn.primary:hover {
  background: linear-gradient(135deg, #7d97ff, #6a78f7);
  box-shadow: 0 14px 32px rgba(91, 108, 243, 0.36);
}

.btn.danger {
  color: #b73c50;
  background: rgba(255, 230, 234, 0.72);
}

.editor-stage-scroll {
  flex: 1;
  overflow: auto;
  padding: 0;
  display: block;
}

.editor-stage-wrap {
  position: relative;
  flex: 0 0 auto;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 70px rgba(24, 36, 61, 0.16);
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.editor-stage {
  position: relative;
  width: var(--stage-w);
  height: var(--stage-h);
  transform-origin: top left;
}

.canvas-corner-handle {
  position: absolute;
  right: 8px;
  bottom: 8px;
  z-index: 30;
  width: 24px;
  height: 24px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: linear-gradient(135deg, #6f8cff, #5b6cf3);
  box-shadow: 0 6px 16px rgba(58, 74, 186, 0.32);
  cursor: nwse-resize;
  touch-action: none;
  user-select: none;
}

.canvas-corner-handle::after {
  content: "";
  position: absolute;
  right: 4px;
  bottom: 4px;
  width: 7px;
  height: 7px;
  border-right: 2px solid rgba(255, 255, 255, 0.9);
  border-bottom: 2px solid rgba(255, 255, 255, 0.9);
}

.editor-item {
  position: absolute;
  cursor: grab;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.42);
  box-shadow: 0 14px 40px rgba(24, 36, 61, 0.16);
  overflow: visible;
  touch-action: none;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.editor-item:active {
  cursor: grabbing;
}

.editor-item.selected {
  border-color: rgba(91, 108, 243, 0.9);
  box-shadow: 0 0 0 3px rgba(91, 108, 243, 0.18), 0 18px 52px rgba(24, 36, 61, 0.24);
}

.editor-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
  pointer-events: none;
}

.resize-handle {
  position: absolute;
  right: -10px;
  bottom: -10px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: #6f8cff;
  box-shadow: 0 4px 14px rgba(48, 63, 159, 0.34);
  cursor: nwse-resize;
}

.editor-item .delete-btn {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: var(--danger);
  box-shadow: 0 6px 16px rgba(228, 87, 109, 0.34);
  display: none;
  align-items: center;
  justify-content: center;
}

.editor-item.selected .delete-btn {
  display: flex;
}

.panel-title {
  margin: 4px 0 14px;
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0.04em;
  color: var(--text);
}

.upload-box {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px;
  margin-bottom: 20px;
  border: 1px dashed rgba(255, 255, 255, 0.7);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.36);
  box-shadow: 0 12px 32px rgba(38, 52, 86, 0.06);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.upload-box:hover {
  border-color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.46);
  box-shadow: 0 16px 38px rgba(38, 52, 86, 0.1);
}

.upload-box input[type="file"] {
  width: 100%;
  color: var(--muted);
  font-size: 12px;
}

.upload-box input[type="text"] {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 12px;
  padding: 10px 12px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.62);
  outline: none;
}

.upload-box input[type="text"]:focus {
  border-color: rgba(91, 108, 243, 0.8);
  box-shadow: 0 0 0 3px rgba(91, 108, 243, 0.12);
}

.upload-progress {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 2px;
}

.upload-progress-track {
  position: relative;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  overflow: hidden;
  box-shadow: inset 0 1px 2px rgba(38, 52, 86, 0.12);
}

.upload-progress-bar {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #7ba2ff, #6f8cff, #5b6cf3);
  box-shadow: 0 0 12px rgba(111, 140, 255, 0.55);
  transition: width 0.25s ease;
}

.upload-progress-text {
  color: var(--muted);
  font-size: 11px;
  text-align: right;
}

.photo-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.photo-list-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.4);
  text-align: left;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.photo-list-item:hover {
  transform: translateX(3px);
  background: rgba(255, 255, 255, 0.62);
}

.photo-list-item.active {
  border-color: rgba(91, 108, 243, 0.7);
}

.photo-list-item img {
  width: 54px;
  height: 42px;
  border-radius: 9px;
  object-fit: cover;
}

.photo-list-item .meta {
  min-width: 0;
  flex: 1;
}

.photo-list-item .name {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 12px;
  color: var(--text);
}

.photo-list-item .size {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

.detail-box {
  margin-top: 18px;
}

.detail-box input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 12px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--text);
  outline: none;
  margin-bottom: 8px;
}

.login-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(239, 242, 248, 0.54);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.login-card {
  width: min(92vw, 380px);
  padding: 32px;
  border: 1px solid var(--glass-border);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.login-card h1 {
  margin: 0 0 6px;
  font-size: 24px;
  letter-spacing: -0.03em;
}

.login-card p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 13px;
}

.login-card input {
  width: 100%;
  margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 14px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--text);
  outline: none;
}

.login-card .btn {
  width: 100%;
  padding: 12px;
}

.login-error {
  min-height: 18px;
  margin: 8px 0 0;
  color: var(--danger);
  font-size: 12px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 200;
  padding: 10px 16px;
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  background: rgba(28, 36, 52, 0.78);
  box-shadow: 0 12px 32px rgba(24, 36, 61, 0.24);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transform: translateX(-50%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(-4px);
}

.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 34px;
  background: rgba(18, 24, 38, 0.64);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.lightbox-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-image {
  max-width: min(92vw, 1300px);
  max-height: 82vh;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 34px 110px rgba(0, 0, 0, 0.36);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 22px;
  right: 26px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
  color: #fff;
  font-size: 25px;
  line-height: 1;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.lightbox-caption {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  color: #fff;
  font-size: 13px;
  padding: 7px 13px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

@keyframes float {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(4vw, -3vw, 0) scale(1.12);
  }
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes soft-pulse {
  0%,
  100% {
    box-shadow: 8px 0 22px rgba(24, 36, 61, 0.12);
  }
  50% {
    box-shadow: 8px 0 30px rgba(91, 108, 243, 0.28);
  }
}

@media (max-width: 760px) {
  .admin-layout {
    flex-direction: column;
  }

  .admin-sidebar {
    width: min(86vw, 300px);
    max-height: 100vh;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.52);
  }

  .editor-stage-scroll {
    padding: 0;
  }

  .site-header {
    padding: 14px 16px;
  }

  .view-shell {
    padding: 84px 4px 44px;
  }

  .stage-viewport {
    width: 99vw;
    height: 58vh;
  }
}
