:root {
  --bg: #f4f6f1;
  --paper: #ffffff;
  --ink: #17211d;
  --muted: #66736d;
  --line: #dfe5df;
  --accent: #0f766e;
  --accent-dark: #0d3f3a;
  --gold: #b7791f;
  --soft: #eef5f2;
  --mist: #e8efe9;
  --shadow: 0 18px 48px rgba(24, 39, 35, 0.12);
  --shadow-strong: 0 30px 80px rgba(18, 44, 39, 0.18);
}

* { box-sizing: border-box; }

body {
  position: relative;
  margin: 0;
  color: var(--ink);
  font-family: "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  background:
    radial-gradient(circle at 50% -10%, rgba(49, 196, 183, .14), transparent 36%),
    linear-gradient(180deg, #f8fbf8 0, #eef4f1 420px, #f7f8f4 100%),
    var(--bg);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(10, 38, 36, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 38, 36, .03) 1px, transparent 1px),
    radial-gradient(circle at 8% 18%, rgba(23, 184, 166, .14), transparent 24%),
    radial-gradient(circle at 92% 12%, rgba(109, 124, 255, .12), transparent 26%);
  background-size: 34px 34px, 34px 34px, auto, auto;
  content: "";
}

body::after {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(560px circle at var(--mouse-x, 50%) var(--mouse-y, 18%), rgba(40, 215, 198, .20), transparent 58%),
    radial-gradient(360px circle at var(--mouse-x, 50%) var(--mouse-y, 18%), rgba(255, 208, 120, .13), transparent 60%);
  opacity: .85;
  transition: opacity .25s ease;
  content: "";
}

.site-header,
main,
.site-footer,
audio {
  position: relative;
  z-index: 1;
}

body.custom-background {
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 80px;
  padding: 10px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid rgba(223, 229, 223, 0.72);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  box-shadow: 0 10px 30px rgba(23, 33, 29, 0.055);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 900;
  white-space: nowrap;
}

.brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 8px 14px rgba(15, 63, 58, 0.16));
}

.top-nav {
  justify-self: center;
  display: flex;
  gap: 28px;
  color: var(--muted);
  font-size: 15px;
}

.top-nav a {
  position: relative;
  padding: 10px 0;
}

.top-nav a::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .2s ease;
  content: "";
}

.top-nav a:hover { color: var(--accent); }
.top-nav a:hover::after { transform: scaleX(1); }
.top-nav a.active { color: var(--ink); font-weight: 800; }
.top-nav a.active::after { transform: scaleX(1); }

.music-pill,
.search-panel button,
.section-head button,
.publisher-actions button,
#newPostButton,
.admin-tab,
.back-button {
  border: 0;
  color: #fff;
  background: var(--accent);
}

.music-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(15, 118, 110, 0.18);
}

.music-pill.playing { background: var(--gold); }

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(48px, 8vw, 96px) clamp(18px, 5vw, 72px) 52px;
  background:
    radial-gradient(circle at 76% 24%, rgba(226, 181, 86, 0.22), transparent 28%),
    radial-gradient(circle at 12% 82%, rgba(65, 160, 145, 0.18), transparent 32%),
    linear-gradient(135deg, rgba(10, 55, 51, 0.98), rgba(16, 34, 32, 0.96)),
    #123b36;
  color: #fff;
}

.hero::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 54px;
  background: linear-gradient(180deg, rgba(244, 246, 241, 0), var(--bg));
  content: "";
}

.hero::before,
.motion-band::before,
.archive-hero::before,
.about-page-hero::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(180deg, rgba(0,0,0,.75), transparent 72%);
  content: "";
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 420px);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 1.08;
  text-wrap: balance;
}

.hero-copy p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 18px;
  line-height: 1.9;
}

.hero-mark {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 330px;
}

.hero-mark::before {
  display: none;
}

.hero-mark img {
  position: relative;
  width: min(100%, 360px);
  filter: drop-shadow(0 28px 46px rgba(0, 0, 0, 0.34));
}

.hero-art-card {
  position: relative;
  display: grid;
  place-items: center;
  overflow: visible;
  min-height: clamp(300px, 42vw, 480px);
  aspect-ratio: 1 / 1;
  padding: clamp(24px, 5vw, 54px);
  border: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
  animation: logoStageFloat 6s ease-in-out infinite;
}

.hero-art-card img {
  position: relative;
  z-index: 2;
  display: block;
  width: min(100%, 350px);
  aspect-ratio: 4 / 3;
  object-fit: contain;
  filter:
    drop-shadow(0 22px 38px rgba(0, 0, 0, .36))
    drop-shadow(0 0 34px rgba(74, 190, 255, .58));
  animation: logoBreathe 3.6s ease-in-out infinite;
}

.hero-art-card::before {
  position: absolute;
  inset: 5%;
  border: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(97, 231, 255, .24), rgba(57, 207, 190, .12) 34%, transparent 64%);
  filter: blur(18px);
  opacity: .62;
  content: "";
}

.hero-art-card::after {
  display: none;
}

[data-logo-motion="calm"] .hero-art-card,
[data-logo-motion="calm"] .hero-art-card::before,
[data-logo-motion="calm"] .hero-art-card::after,
[data-logo-motion="calm"] .hero-art-card img {
  animation-duration: 7.2s;
}

[data-logo-motion="still"] .hero-art-card,
[data-logo-motion="still"] .hero-art-card::before,
[data-logo-motion="still"] .hero-art-card::after,
[data-logo-motion="still"] .hero-art-card img {
  animation: none;
}

.hero-media {
  grid-column: 1 / -1;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 24px 70px rgba(0,0,0,.22);
}

.hero-media img,
.hero-media video,
.hero-media iframe {
  display: block;
  width: 100%;
  aspect-ratio: 21 / 8;
  border: 0;
  object-fit: cover;
  background: rgba(255,255,255,.08);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow { color: #f7c873; }

.search-panel {
  display: flex;
  width: min(720px, 100%);
  margin-top: 28px;
  border: 1px solid rgba(255,255,255,0.34);
  background: rgba(255,255,255,0.14);
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px);
}

.home-section,
.about-cards {
  width: min(1180px, calc(100% - 36px));
  margin: 72px auto;
}

.text-link {
  color: var(--accent);
  font-weight: 800;
}

.primary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  color: #071b23;
  background: #fff;
  font-weight: 900;
}

.home-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.home-feature-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.78);
  box-shadow: var(--shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}

.home-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-strong);
}

.home-feature-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.home-feature-card span {
  color: var(--muted);
  font-size: 13px;
}

.home-feature-card h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.35;
}

.home-feature-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.search-panel input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  padding: 17px 18px;
  color: #fff;
  background: transparent;
}

.search-panel input::placeholder { color: rgba(255,255,255,0.72); }
.search-panel button, .section-head button, .publisher-actions button { padding: 0 24px; min-height: 48px; }

.magazine-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 34px;
  width: min(1280px, calc(100% - 36px));
  margin: 54px auto 78px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.section-head h1,
.section-head h2 { margin: 0; font-size: clamp(28px, 4vw, 42px); }

.featured-strip { margin-bottom: 20px; }

.feature-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 42%) minmax(0, 1fr);
  gap: 24px;
  overflow: hidden;
  padding: 20px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.98), rgba(241,247,244,0.92)),
    var(--paper);
  box-shadow: var(--shadow-strong);
  cursor: pointer;
}

.feature-card::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(180deg, var(--gold), var(--accent));
  content: "";
}

.feature-card img,
.article-card img,
.reader-hero img,
.preview-panel img {
  width: 100%;
  object-fit: cover;
  background: var(--soft);
}

.feature-card img {
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(223, 229, 223, 0.8);
}
.feature-card h3 { margin: 0 0 10px; font-size: clamp(25px, 3vw, 38px); }
.feature-card p { color: var(--muted); line-height: 1.8; }
.feature-card span { color: var(--muted); font-size: 14px; }

.category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.72);
}

.article-filter-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
  gap: 14px;
  align-items: stretch;
  margin: 24px 0 12px;
}

.inline-search,
.sort-row select {
  width: 100%;
  border: 1px solid var(--line);
  padding: 12px 14px;
  background: #fff;
}

.sort-row {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 18px;
}

.sort-row label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
}

.category-tabs button {
  border: 1px solid var(--line);
  padding: 9px 15px;
  color: var(--muted);
  background: var(--paper);
  border-radius: 999px;
}

.category-tabs button.active,
.category-tabs button:hover {
  color: #fff;
  border-color: var(--accent);
  background: var(--accent);
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.article-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
  cursor: pointer;
  box-shadow: 0 10px 26px rgba(24, 39, 35, 0.06);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.article-card:hover {
  transform: translateY(-5px);
  border-color: rgba(15, 118, 110, 0.35);
  box-shadow: var(--shadow);
}
.article-card img { aspect-ratio: 16 / 10; border-bottom: 1px solid var(--line); }
.card-body { padding: 18px 18px 20px; }
.meta-row {
  display: inline-flex;
  align-items: center;
  padding: 5px 9px;
  color: var(--accent-dark);
  font-size: 12px;
  background: var(--soft);
}
.article-card h3 { margin: 10px 0; font-size: 20px; line-height: 1.35; }
.article-card p { margin: 0; color: var(--muted); line-height: 1.75; }

.sidebar {
  align-self: start;
  position: sticky;
  top: 96px;
  display: grid;
  gap: 18px;
}

.side-section,
.reader-body,
.comments,
.audio-card,
.admin-panel,
.preview-panel,
.publisher-form {
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.side-section { padding: 22px; }
.side-section h2 {
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  font-size: 20px;
}
.side-section p { color: var(--muted); line-height: 1.8; }

.hot-list { display: grid; gap: 8px; }
.hot-list button {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 10px;
  align-items: start;
  border: 0;
  padding: 12px 0;
  color: var(--ink);
  background: transparent;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.hot-list b { color: var(--gold); }
.hot-list span { line-height: 1.45; }

.hot-list button:hover span {
  color: var(--accent);
}

.reader {
  width: min(980px, calc(100% - 36px));
  margin: 36px auto 72px;
}

.back-button {
  width: auto;
  padding: 12px 18px;
  margin-bottom: 20px;
}

.reader-hero {
  display: grid;
  grid-template-columns: minmax(240px, 390px) minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow);
}
.reader-hero img { aspect-ratio: 16 / 11; border: 1px solid var(--line); }
.reader h2 { margin: 0; font-size: clamp(32px, 5vw, 54px); line-height: 1.2; }
.reader-hero p { color: var(--muted); line-height: 1.8; }

.reader-body {
  margin-top: 24px;
  padding: clamp(24px, 4vw, 46px);
  font-size: 18px;
  line-height: 2.05;
  box-shadow: 0 16px 42px rgba(24, 39, 35, 0.08);
}
.reader-body p { margin: 0 0 1.1em; }
.reader-body img { max-width: 100%; display: block; margin: 24px auto; }

.comments,
.audio-card {
  margin-top: 20px;
  padding: 20px;
}
.audio-card audio { width: 100%; }
.media-card video,
.media-card iframe,
.reader-body video,
.reader-body iframe,
.footer-media video,
.footer-media iframe,
.footer-media img {
  display: block;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  object-fit: cover;
}
.comment-item { border-top: 1px solid var(--line); padding: 12px 0; }
.comment-form { display: grid; gap: 10px; margin-top: 18px; }
.comment-form input, .comment-form textarea, .form-grid input, .form-grid select {
  width: 100%;
  border: 1px solid var(--line);
  padding: 12px;
  background: #fff;
}
.comment-form textarea { min-height: 90px; resize: vertical; }
.comment-form button { border: 0; padding: 12px 18px; color: #fff; background: var(--accent); }

.comment-notice {
  margin: 14px 0 0;
  padding: 12px 14px;
  color: var(--accent-dark);
  background: var(--soft);
  border: 1px solid var(--line);
}

.admin-shell {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr) 360px;
  gap: 24px;
  width: min(1360px, calc(100% - 36px));
  margin: 34px auto;
}

.admin-sidebar {
  position: sticky;
  top: 96px;
  align-self: start;
  display: grid;
  gap: 10px;
}

.admin-tab,
#newPostButton {
  min-height: 46px;
  padding: 0 16px;
  text-align: left;
  background: var(--accent-dark);
}
.admin-tab.active { background: var(--accent); }

.admin-panel { padding: 24px; min-width: 0; }

.article-manager {
  max-height: 300px;
  overflow: auto;
  margin-bottom: 18px;
  border: 1px solid var(--line);
}
.article-manager table { width: 100%; border-collapse: collapse; background: #fff; }
.article-manager th, .article-manager td { padding: 12px; border-bottom: 1px solid var(--line); text-align: left; }
.article-manager th { color: var(--muted); background: var(--soft); }
.article-manager button { border: 1px solid var(--line); margin-right: 6px; padding: 7px 10px; color: var(--ink); background: #fff; }

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.form-grid.one-column { grid-template-columns: 1fr; }
.form-grid label { display: grid; gap: 8px; color: var(--muted); }

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  padding: 12px;
  border: 1px solid var(--line);
  background: var(--soft);
  position: sticky;
  top: 88px;
  z-index: 12;
}
.toolbar button, .toolbar select {
  min-width: 42px;
  min-height: 38px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: #fff;
}

.toolbar button.active {
  color: #fff;
  border-color: var(--accent);
  background: var(--accent);
}

.color-control {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  border: 1px solid var(--line);
  padding: 0 8px;
  color: var(--muted);
  background: #fff;
}

.color-control input {
  width: 34px;
  height: 28px;
  border: 0;
  padding: 0;
  background: transparent;
}

.editor {
  min-height: 440px;
  max-height: none;
  overflow: auto;
  margin-top: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  background: #fff;
  line-height: 1.9;
  outline: 0;
  position: relative;
  z-index: 1;
}
.editor img, #previewBody img { max-width: 100%; height: auto; }
.editor audio,
.editor video,
.editor iframe,
#previewBody audio,
#previewBody video,
#previewBody iframe {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 16px 0;
}
.editor video,
.editor iframe,
#previewBody video,
#previewBody iframe {
  aspect-ratio: 16 / 9;
  border: 0;
}
.inline-audio audio {
  width: 100%;
}
.publisher-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }

.preview-panel {
  align-self: start;
  position: sticky;
  top: 96px;
  padding: 22px;
}
.preview-panel img { aspect-ratio: 16 / 10; margin: 16px 0; border: 1px solid var(--line); }
#previewBody { max-height: 560px; overflow: auto; line-height: 1.8; }
#siteMusicPreview { width: 100%; margin-top: 20px; }

@media (max-width: 1120px) {
  .magazine-layout,
  .admin-shell { grid-template-columns: 1fr; }
  .sidebar,
  .admin-sidebar,
  .preview-panel { position: static; }
  .admin-sidebar { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 12px;
  }
  .top-nav {
    grid-column: 1 / -1;
    justify-self: start;
    width: 100%;
    overflow-x: auto;
    gap: 18px;
    padding-bottom: 4px;
  }
  .music-pill b { display: none; }
  .hero {
    padding: 30px 16px 42px;
    background:
      radial-gradient(circle at 50% 18%, rgba(78, 218, 255, .24), transparent 34%),
      radial-gradient(circle at 12% 82%, rgba(65, 160, 145, 0.18), transparent 32%),
      linear-gradient(135deg, rgba(10, 55, 51, 0.98), rgba(16, 34, 32, 0.96)),
      #123b36;
  }
  .hero-inner,
  .feature-card,
  .reader-hero { grid-template-columns: 1fr; }
  .hero-inner { gap: 24px; }
  .hero-copy h1 { font-size: clamp(38px, 12vw, 58px); }
  .hero-copy p { font-size: 16px; line-height: 1.78; }
  .hero-mark { min-height: 180px; }
  .hero-mark img { width: min(68vw, 230px); }
  .search-panel { flex-direction: column; }
  .search-panel button { width: 100%; }
  .article-grid,
  .form-grid { grid-template-columns: 1fr; }
  .home-feature-grid,
  .about-cards,
  .archive-hero,
  .about-page-hero,
  .motion-band { grid-template-columns: 1fr; }
  .hero-art-card {
    width: min(100%, 430px);
    min-height: 0;
    margin: 0 auto;
    padding: clamp(24px, 9vw, 42px);
    transform: none;
  }
  .hero-art-card img { width: min(72vw, 300px); }
  .admin-sidebar { grid-template-columns: 1fr; }
  .reader-body { font-size: 17px; padding: 22px; }
}

@media (max-width: 460px) {
  .brand span { font-size: 18px; }
  .brand img { width: 44px; height: 44px; }
  .magazine-layout,
  .reader,
  .admin-shell { width: min(100% - 24px, 1280px); }
  .site-header { padding-inline: 12px; }
  .hero-art-card { width: min(100%, 340px); }
  .hero-art-card::before { inset: 8%; }
  .article-card h3 { font-size: 18px; }
}

.hot-showcase,
.article-band,
.site-footer {
  width: min(1180px, calc(100% - 36px));
  margin-left: auto;
  margin-right: auto;
}

.hot-showcase {
  margin-top: 52px;
}

.motion-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  width: min(1180px, calc(100% - 36px));
  margin: 72px auto 90px;
  padding: clamp(28px, 5vw, 48px);
  color: #fff;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 0, rgba(23,184,166,.30), transparent 34%),
    linear-gradient(135deg, #071b23, #0b1017);
  box-shadow: var(--shadow-strong);
}

.motion-band h2 {
  max-width: 820px;
  margin: 0;
  font-size: clamp(28px, 4vw, 48px);
}

.archive-hero,
.about-page-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: clamp(24px, 5vw, 56px);
  align-items: center;
  width: min(1180px, calc(100% - 36px));
  margin: 46px auto 36px;
  padding: clamp(24px, 5vw, 54px);
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #071b23, #111827);
  box-shadow: var(--shadow-strong);
}

.archive-hero img,
.about-page-hero img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 24px 70px rgba(0,0,0,.22);
}

.archive-hero h1,
.about-page-hero h1 {
  margin: 0;
  font-size: clamp(42px, 7vw, 76px);
}

.about-page-hero p {
  color: rgba(255,255,255,.82);
  line-height: 1.9;
}

.about-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.about-cards article {
  padding: 24px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.8);
  box-shadow: var(--shadow);
}

.about-cards h2 {
  margin: 0 0 12px;
}

.about-cards p {
  color: var(--muted);
  line-height: 1.8;
}

.hot-carousel-wrap {
  position: relative;
}

.hot-carousel {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow-strong);
}

.hot-arrow {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 48px;
  height: 64px;
  border: 1px solid rgba(255,255,255,.4);
  color: #fff;
  background: rgba(10, 35, 32, .56);
  font-size: 42px;
  line-height: 1;
  transform: translateY(-50%);
  backdrop-filter: blur(10px);
}

.hot-arrow:hover {
  background: var(--accent);
}

.hot-prev {
  left: 16px;
}

.hot-next {
  right: 16px;
}

.hot-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.015);
  transition: opacity .45s ease, transform .45s ease;
  cursor: pointer;
}

.hot-slide.active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.hot-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--soft);
}

.hot-overlay {
  position: absolute;
  left: clamp(18px, 4vw, 48px);
  right: clamp(18px, 4vw, 48px);
  bottom: clamp(18px, 4vw, 46px);
  width: min(680px, calc(100% - 36px));
  padding: clamp(18px, 3vw, 30px);
  color: #fff;
  background: linear-gradient(135deg, rgba(10, 35, 32, .88), rgba(10, 35, 32, .58));
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(14px);
}

.hot-overlay span {
  display: inline-block;
  margin-bottom: 10px;
  color: #f7c873;
  font-size: 13px;
  font-weight: 800;
}

.hot-overlay h3 {
  margin: 0 0 12px;
  font-size: clamp(28px, 5vw, 52px);
  line-height: 1.12;
}

.hot-overlay p {
  margin: 0;
  color: rgba(255,255,255,.84);
  font-size: 17px;
  line-height: 1.8;
}

.hot-dots {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 16px;
}

.hot-dots button {
  width: 34px;
  height: 4px;
  border: 0;
  background: #cbd6d0;
}

.hot-dots button.active {
  background: var(--accent);
}

.article-band {
  margin-top: 58px;
  margin-bottom: 76px;
}

.article-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.article-list .article-card {
  display: grid;
  grid-template-columns: minmax(220px, 34%) minmax(0, 1fr);
  min-height: 230px;
}

.article-list .article-card img {
  height: 100%;
  min-height: 230px;
  aspect-ratio: auto;
  border-right: 1px solid var(--line);
  border-bottom: 0;
}

.article-list .card-body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(20px, 4vw, 38px);
}

.article-list .article-card h3 {
  margin: 14px 0 12px;
  font-size: clamp(24px, 4vw, 36px);
}

.article-list .article-card p {
  max-width: 760px;
  font-size: 16px;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 26px;
}

.pagination button {
  min-width: 42px;
  min-height: 40px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: #fff;
}

.pagination button.active,
.pagination button:hover:not(:disabled) {
  color: #fff;
  border-color: var(--accent);
  background: var(--accent);
}

.pagination button:disabled {
  cursor: not-allowed;
  opacity: .45;
}

.click-icon {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  pointer-events: none;
  color: #0f766e;
  font-size: 22px;
  line-height: 1;
  text-shadow:
    0 0 14px rgba(72, 221, 255, .8),
    0 10px 24px rgba(7, 24, 30, .18);
  transform: translate(-50%, -50%);
  animation: clickBloom .9s cubic-bezier(.2, .85, .2, 1) forwards;
}

@keyframes floatCard {
  0%, 100% { transform: perspective(1000px) rotateY(-5deg) rotateX(2deg) translateY(0); }
  50% { transform: perspective(1000px) rotateY(-3deg) rotateX(1deg) translateY(-10px); }
}

@keyframes logoStageFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes portalSpin {
  from { transform: rotate(0deg) scale(.98); }
  to { transform: rotate(360deg) scale(.98); }
}

@keyframes logoBreathe {
  0%, 100% {
    transform: translateY(0) scale(1);
    filter:
      drop-shadow(0 22px 38px rgba(0, 0, 0, .36))
      drop-shadow(0 0 28px rgba(74, 190, 255, .48));
  }
  50% {
    transform: translateY(-12px) scale(1.07);
    filter:
      drop-shadow(0 34px 54px rgba(0, 0, 0, .48))
      drop-shadow(0 0 54px rgba(99, 222, 255, .86))
      drop-shadow(0 0 18px rgba(255, 214, 118, .52));
  }
}

@keyframes lightSweep {
  0%, 45% { transform: translateX(-130%); }
  70%, 100% { transform: translateX(130%); }
}

@keyframes clickBloom {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(.45) rotate(var(--spin, 0deg));
  }
  18% { opacity: 1; }
  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--drift-x, 0px)), calc(-92% + var(--drift-y, -42px))) scale(1.35) rotate(calc(var(--spin, 0deg) + 18deg));
  }
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr) minmax(220px, 320px);
  gap: 34px;
  margin-top: 20px;
  margin-bottom: 38px;
  padding: clamp(26px, 5vw, 46px);
  border-top: 4px solid var(--accent);
  background: var(--accent-dark);
  color: #fff;
  box-shadow: var(--shadow-strong);
}

.site-footer h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 44px);
}

.site-footer p {
  margin: 0;
  color: rgba(255,255,255,.82);
  line-height: 1.9;
}

.site-footer .eyebrow {
  color: #f7c873;
}

.footer-media {
  overflow: hidden;
  align-self: center;
  border: 1px solid rgba(255,255,255,.18);
}

.full-field {
  grid-column: 1 / -1;
}

.form-grid textarea {
  width: 100%;
  min-height: 92px;
  border: 1px solid var(--line);
  padding: 12px;
  resize: vertical;
  background: #fff;
}

.page-editor-block {
  margin-top: 20px;
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--soft);
}

.page-editor-block.compact {
  margin-top: 16px;
  padding: 16px;
}

.visual-editor {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 20px;
}

.site-map {
  display: grid;
  gap: 12px;
  align-self: start;
  position: sticky;
  top: 96px;
}

.editable-region {
  min-height: 58px;
  border: 1px solid var(--line);
  padding: 0 16px;
  color: var(--ink);
  background: #fff;
  text-align: left;
  box-shadow: 0 8px 20px rgba(24,39,35,.06);
}

.editable-region.active,
.editable-region:hover {
  color: #fff;
  border-color: var(--accent);
  background: var(--accent);
}

.region-editor {
  min-width: 0;
}

.region-fields {
  display: none;
}

.region-fields.active {
  display: block;
}

.region-fields h2 {
  margin: 0 0 16px;
  font-size: 24px;
}

.page-editor-block h2 {
  margin: 0 0 8px;
  font-size: 22px;
}

.page-editor-block p {
  margin: 0 0 14px;
  color: var(--muted);
}

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

.hot-picker label {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  background: #fff;
}

.hot-picker small {
  color: var(--muted);
}

#previewExcerpt {
  color: var(--muted);
  line-height: 1.7;
}

.small-head {
  margin-top: 0;
}

.comment-admin {
  margin-top: 24px;
  padding: 20px;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.comment-edit-row {
  display: grid;
  grid-template-columns: minmax(140px, 180px) minmax(0, 1fr) 110px 110px 72px;
  gap: 12px;
  align-items: start;
  padding: 14px 0;
  border-top: 1px solid var(--line);
}

.comment-edit-row input,
.comment-edit-row textarea {
  width: 100%;
  border: 1px solid var(--line);
  padding: 10px;
  background: #fff;
}

.comment-edit-row textarea {
  min-height: 74px;
  resize: vertical;
}

.featured-check {
  display: flex;
  gap: 8px;
  align-items: center;
  padding-top: 28px;
  color: var(--muted);
}

.featured-check input {
  width: auto;
}

.comment-edit-row button {
  margin-top: 24px;
  border: 1px solid var(--line);
  padding: 10px;
  color: #9f1239;
  background: #fff;
}

.muted-text {
  color: var(--muted);
}

.site-editor-page {
  min-height: 100vh;
}

.site-editor-toolbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 76px;
  padding: 10px clamp(14px, 4vw, 42px);
  border-bottom: 1px solid rgba(223, 229, 223, .8);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 36px rgba(23, 33, 29, .08);
}

.site-editor-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-editor-actions select,
.site-editor-actions button {
  min-height: 42px;
  border: 1px solid var(--line);
  padding: 0 14px;
  background: #fff;
}

.site-editor-actions button {
  border: 0;
  color: #fff;
  background: var(--accent);
  font-weight: 800;
}

.site-editor-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 410px);
  gap: 18px;
  width: min(1600px, calc(100% - 28px));
  margin: 18px auto 32px;
  align-items: start;
}

.site-editor-frame-wrap {
  position: sticky;
  top: 94px;
  min-height: calc(100vh - 126px);
  overflow: hidden;
  border: 1px solid rgba(15, 118, 110, .18);
  background: #081713;
  box-shadow: var(--shadow-strong);
}

.site-editor-frame-wrap iframe {
  display: block;
  width: 100%;
  height: calc(100vh - 126px);
  border: 0;
  background: #fff;
}

.site-editor-hint {
  position: absolute;
  left: 16px;
  top: 16px;
  z-index: 2;
  max-width: min(420px, calc(100% - 32px));
  padding: 10px 12px;
  color: #fff;
  background: rgba(8, 27, 24, .72);
  backdrop-filter: blur(12px);
  font-size: 13px;
  line-height: 1.6;
}

.plugin-editor-panel {
  position: sticky;
  top: 94px;
  max-height: calc(100vh - 126px);
  overflow: auto;
  padding: 22px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .92);
  box-shadow: var(--shadow);
}

.plugin-region-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0 18px;
}

.plugin-region-list button {
  min-height: 40px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: #fff;
  font-weight: 800;
}

.plugin-region-list button.active,
.plugin-region-list button:hover {
  color: #fff;
  border-color: var(--accent);
  background: var(--accent);
}

.site-editor-status {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 13px;
}

@media (max-width: 760px) {
  .hot-carousel {
    min-height: 390px;
  }

  .hot-overlay {
    left: 14px;
    right: 14px;
    bottom: 14px;
    width: auto;
  }

  .hot-arrow {
    width: 40px;
    height: 54px;
    font-size: 34px;
  }

  .article-list .article-card {
    grid-template-columns: 1fr;
  }

  .article-filter-row {
    grid-template-columns: 1fr;
  }

  .sort-row {
    justify-content: stretch;
  }

  .sort-row label {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }

  .article-list .article-card img {
    min-height: 190px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-header .music-pill {
    justify-self: end;
    width: 46px;
    min-width: 46px;
    min-height: 46px;
    padding: 0;
    justify-content: center;
  }

  .about-page-hero {
    grid-template-columns: 1fr;
    gap: 18px;
    width: min(100% - 28px, 680px);
    margin: 22px auto 26px;
    padding: 22px;
  }

  .about-page-hero h1 {
    font-size: clamp(32px, 9vw, 46px);
    line-height: 1.18;
    word-break: keep-all;
    overflow-wrap: break-word;
  }

  .about-page-hero p {
    max-width: none;
    font-size: 15.5px;
    line-height: 1.85;
    word-break: normal;
    overflow-wrap: break-word;
  }

  .about-page-hero img {
    max-height: 240px;
    aspect-ratio: 16 / 10;
  }

  .about-cards {
    grid-template-columns: 1fr;
    width: min(100% - 28px, 680px);
    margin: 24px auto 42px;
    gap: 14px;
  }

  .about-cards article {
    padding: 20px;
  }

  .about-cards h2 {
    font-size: clamp(23px, 7vw, 32px);
    line-height: 1.22;
    word-break: keep-all;
    overflow-wrap: break-word;
  }

  .about-cards p {
    font-size: 15.5px;
    line-height: 1.85;
    word-break: normal;
    overflow-wrap: break-word;
  }

  .site-editor-toolbar,
  .site-editor-shell {
    grid-template-columns: 1fr;
  }

  .site-editor-actions {
    flex-wrap: wrap;
  }

  .site-editor-frame-wrap,
  .plugin-editor-panel {
    position: static;
    max-height: none;
  }

  .site-editor-frame-wrap iframe {
    height: 70vh;
  }

  .visual-editor {
    grid-template-columns: 1fr;
  }

  .site-map {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .region-editor,
  .editor,
  .preview-panel {
    min-width: 0;
  }

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

  .comment-edit-row {
    grid-template-columns: 1fr;
  }

  .featured-check,
  .comment-edit-row button {
    margin-top: 0;
    padding-top: 0;
  }
}
