* { box-sizing: border-box; }
:root {
  --bg1: #fff7ed;
  --bg2: #ffedd5;
  --bg3: #fed7aa;
  --glass: rgba(255,255,255,.72);
  --border: rgba(255,255,255,.85);
  --text: #1c1917;
  --muted: #78716c;
  --accent: #f97316;
  --accent2: #fb923c;
  --accent-dark: #ea580c;
  --accent-soft: rgba(249,115,22,.12);
  --accent-glow: rgba(249,115,22,.25);
  --auth-bg: #1c1917;
  --auth-bg2: #292524;
  --auth-field: #3f3f46;
  --auth-text: #fafaf9;
  --auth-muted: #a8a29e;
  --auth-mint: #fb923c;
  --auth-mint-hover: #f97316;
}
body.bg-cream {
  margin: 0;
  font-family: "Microsoft YaHei", Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 0%, rgba(251,146,60,.35), transparent 40%),
    radial-gradient(circle at 90% 10%, rgba(253,186,116,.4), transparent 35%),
    radial-gradient(circle at 50% 100%, rgba(254,215,170,.5), transparent 45%),
    linear-gradient(180deg, var(--bg1), var(--bg2) 55%, #fff7ed);
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
.glass {
  background: var(--glass);
  border: 1px solid var(--border);
  box-shadow: 0 18px 50px rgba(72, 84, 110, .12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.topbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 24px; position: sticky; top: 0; z-index: 10; margin: 12px; border-radius: 20px;
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 800; font-size: 20px; letter-spacing: .5px; color: var(--accent-dark);
}
.brand-logo {
  width: 42px; height: 42px; border-radius: 12px; object-fit: contain;
  background: transparent; border: none; box-shadow: none;
}
.brand-logo-fallback {
  width: 42px; height: 42px; border-radius: 12px; display: inline-flex;
  align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #fff; font-size: 18px;
}
.brand-name { white-space: nowrap; }
.brand-logo-preview { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; border: 2px solid rgba(251,146,60,.3); }
.stats-grid-4 { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.topbar-auth { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.auth-btn {
  display: inline-block; background: rgba(255,255,255,.92); color: #292524;
  padding: 9px 16px; border-radius: 999px; font-weight: 700; border: 1px solid rgba(255,255,255,.9);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.auth-btn:hover { transform: translateY(-1px); box-shadow: 0 8px 20px var(--accent-glow); }
.auth-btn-subscribe {
  background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #fff; border-color: transparent;
}
.auth-btn-subscribe:hover { box-shadow: 0 10px 24px var(--accent-glow); }
.layout { display: flex; gap: 18px; padding: 0 12px 24px; }
.layout-profile .content-full { width: 100%; max-width: 960px; margin: 0 auto; }
.sidebar {
  width: 220px; padding: 14px; border-radius: 24px; height: fit-content; position: sticky; top: 84px;
}
.side-nav { display: grid; gap: 8px; }
.side-nav-item {
  display: block; padding: 14px 16px; border-radius: 16px; font-weight: 700;
  background: rgba(255,255,255,.55); border: 1px solid rgba(255,255,255,.75);
  transition: transform .15s ease, background .15s ease, color .15s ease;
}
.side-nav-item:hover { transform: translateX(4px); background: rgba(255,255,255,.85); color: var(--accent-dark); }
.side-nav-item.active {
  background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #fff;
  box-shadow: 0 10px 24px var(--accent-glow); border-color: transparent;
}
.block-title { color: var(--accent); margin: 0 0 12px; font-size: 16px; }
.date-list a {
  display: block; padding: 12px 14px; border-radius: 14px; margin-bottom: 10px;
  background: rgba(255,255,255,.5); border: 1px solid rgba(255,255,255,.6);
}
.date-list a:hover { transform: translateY(-1px); }
.content { flex: 1; padding: 10px 4px; }
.hero, .card, .audio-card, .player-wrap, .admin-menu { border-radius: 24px; }
.hero { padding: 20px 24px; margin-bottom: 16px; }
.hero-orange {
  background: linear-gradient(135deg, rgba(255,255,255,.85), rgba(255,237,213,.75));
  border-left: 4px solid var(--accent);
}
.hero-orange h2 { margin: 0 0 8px; color: var(--accent-dark); }
.hero-orange p { margin: 0; color: var(--muted); }
.audio-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px;
}
.audio-card { overflow: hidden; display: block; transition: transform .2s ease, box-shadow .2s ease; }
.audio-card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px var(--accent-glow); }
.audio-cover { aspect-ratio: 1/1; overflow: hidden; }
.audio-cover img, .cover, .cover-preview {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.audio-meta { padding: 14px; display: grid; gap: 6px; }
.audio-meta span, .player-subtitle, .notice { color: var(--muted); }
.card, .audio-card, .form-box, .player-wrap, .admin-menu { padding: 18px; }
.player-wrap {
  width: min(520px, calc(100% - 24px)); margin: 18px auto 30px; text-align: center;
}
.player-topline { display:flex; justify-content:space-between; align-items:center; margin-bottom: 12px; }
.wave { height: 38px; width: 38%; border-radius: 999px; background:
  linear-gradient(90deg, rgba(249,115,22,.85), rgba(255,255,255,.8), rgba(251,191,36,.6));
  filter: blur(10px); opacity: .7; }
.cover { aspect-ratio: 1/1; border-radius: 28px; object-fit: cover; border: 10px solid rgba(255,255,255,.75); }
.player-title { font-size: clamp(28px, 4vw, 40px); font-weight: 900; margin: 18px 0 6px; line-height: 1.12; }
.player-author { color: var(--accent); font-size: 18px; margin: 6px 0 14px; font-weight: 700; }
.progress-row { display: flex; align-items: center; gap: 12px; margin-top: 10px; }
.range-wrap { flex: 1; }
input[type="range"] { width: 100%; accent-color: var(--accent); }
.controls { margin-top: 20px; display:flex; justify-content:center; align-items:center; gap: 18px; }
.control-btn {
  border: none; cursor: pointer; border-radius: 999px; font-weight: 800;
  background: rgba(255,255,255,.7); color: #1c2230; box-shadow: 0 8px 20px rgba(31,36,48,.08);
}
.main-play { width: 76px; height: 76px; font-size: 26px; background: #fff; }
.icon-btn { width: 62px; height: 62px; }
.form-box { width: min(520px, calc(100% - 24px)); margin: 24px auto; border-radius: 24px; }
input, select, textarea {
  width: 100%; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(251,146,60,.25);
  background: rgba(255,255,255,.85); color: var(--text); margin-bottom: 12px; outline: none;
  font-family: inherit;
}
input:focus, select:focus, textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
button { border: none; padding: 11px 16px; border-radius: 14px; cursor: pointer; font-weight: 800; }
.btn-primary { background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #fff; }
.btn-primary:hover { filter: brightness(1.05); }
.table { width: 100%; border-collapse: collapse; overflow: hidden; }
.table th, .table td { border-bottom: 1px solid rgba(31,36,48,.08); padding: 12px 10px; text-align: left; }
.notice { padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,.7); margin-bottom: 12px; }
.notice.ok { color: #9a3412; background: rgba(255,237,213,.9); border: 1px solid rgba(251,146,60,.3); }
.admin-body { background: linear-gradient(180deg, #fff7ed, #ffedd5); }
.admin-topbar { border-bottom: 2px solid var(--accent-soft); }
.admin-layout { display: flex; gap: 18px; padding: 0 12px 24px; }
.admin-menu { width: 230px; height: fit-content; position: sticky; top: 84px; display: grid; gap: 8px; padding: 14px; }
.menu-item {
  padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,.55);
  border: 1px solid rgba(255,255,255,.7); font-weight: 600; transition: all .15s ease;
}
.menu-item:hover { background: rgba(255,255,255,.85); color: var(--accent-dark); }
.menu-item.active {
  background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #fff;
  font-weight: 800; box-shadow: 0 8px 20px var(--accent-glow); border-color: transparent;
}
.admin-card { margin-bottom: 16px; }
.admin-tip { color: var(--muted); font-size: 14px; margin: 0 0 14px; }
.stats-grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(180px,1fr)); gap: 14px; margin-bottom: 16px; }
.stats-grid p, .stat-value { font-size: 30px; font-weight: 900; margin: 10px 0 0; color: var(--accent-dark); }
.stat-value.stat-sm { font-size: 18px; }
.stat-card { border-top: 3px solid var(--accent); }
.search-row { display:flex; gap:10px; align-items:center; margin-bottom:12px; }
.search-row input { margin-bottom: 0; }
.upload-preview-block { margin-bottom: 12px; }
.preview-row { margin-top: 10px; display: flex; align-items: center; gap: 14px; }
.cover-preview { width: 110px; height: 110px; border-radius: 16px; border: 1px solid rgba(31,36,48,.08); background: rgba(255,255,255,.6); }
.preview-tip { color: var(--muted); font-size: 14px; }
.field-label-inline { display: block; font-size: 13px; font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.bulk-bar { display:flex; gap:10px; align-items:center; margin-bottom: 12px; flex-wrap: wrap; }
.pager { display:flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.page-btn {
  display:inline-flex; align-items:center; justify-content:center; min-width: 44px; padding: 10px 14px;
  border-radius: 999px; background: rgba(255,255,255,.75); border: 1px solid rgba(255,255,255,.85);
}
.page-btn.active { background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #fff; }
.page-btn.disabled { opacity: .35; pointer-events: none; }
.profile-wrap { width: min(920px, calc(100% - 24px)); margin: 18px auto 30px; padding: 18px; border-radius: 24px; }
.profile-head { display:flex; gap: 16px; align-items:center; margin-bottom: 18px; }
.avatar {
  width: 68px; height: 68px; border-radius: 50%; display:flex; align-items:center; justify-content:center;
  background: linear-gradient(135deg, var(--accent), var(--accent2)); color: #fff; font-size: 28px; font-weight: 900;
}
.subscribe-card {
  position: relative; z-index: 1; width: min(420px, 100%); padding: 28px 26px 24px;
  border-radius: 24px; text-align: center;
  background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,237,213,.88));
  border: 2px solid rgba(251,146,60,.35);
  box-shadow: 0 24px 60px var(--accent-glow);
  animation: modalCardIn .25s ease;
}
.subscribe-close {
  position: absolute; right: 14px; top: 12px; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(255,255,255,.8); border: 1px solid rgba(251,146,60,.2);
  font-size: 22px; line-height: 1; cursor: pointer; color: var(--muted);
}
.subscribe-badge {
  display: inline-block; padding: 6px 14px; border-radius: 999px; margin-bottom: 10px;
  background: var(--accent-soft); color: var(--accent-dark); font-size: 13px; font-weight: 800;
}
.subscribe-card h2 { margin: 0 0 12px; font-size: 22px; color: var(--accent-dark); }
.subscribe-price { margin-bottom: 18px; }
.price-num { font-size: 42px; font-weight: 900; color: var(--accent); }
.price-unit { font-size: 15px; color: var(--muted); margin-left: 4px; }
.subscribe-features {
  list-style: none; padding: 0; margin: 0 0 22px; text-align: left;
}
.subscribe-features li {
  padding: 10px 12px 10px 36px; margin-bottom: 8px; border-radius: 12px;
  background: rgba(255,255,255,.7); position: relative; font-size: 14px;
}
.subscribe-features li::before {
  content: '✓'; position: absolute; left: 12px; color: var(--accent); font-weight: 900;
}
.subscribe-btn { padding: 15px; font-size: 16px; }
.subscribe-pay-methods { text-align: left; margin-bottom: 14px; }
.subscribe-pay-label {
  display: block;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 8px;
  font-weight: 700;
}
.subscribe-pay-option {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  margin-bottom: 8px;
  border-radius: 14px;
  background: rgba(255, 237, 213, 0.45);
  cursor: pointer;
  font-weight: 600;
  color: var(--accent-dark);
}
.subscribe-pay-option input { accent-color: var(--accent); }
.subscribe-pay-warn {
  font-size: 13px;
  color: var(--muted);
  margin: 0 0 12px;
}
.admin-form-stack input,
.admin-form-stack textarea,
.admin-form-stack select { display: block; width: 100%; margin-bottom: 10px; }
.admin-check { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; font-weight: 600; }
.submit-card {
  width: 100%;
  max-width: none;
  padding: 28px 32px;
  border-radius: 24px;
}
.submit-form {
  display: grid;
  gap: 4px;
}
.submit-form input,
.submit-form textarea {
  margin-bottom: 16px;
  padding: 14px 16px;
  font-size: 15px;
  border-radius: 16px;
}
.submit-form textarea {
  min-height: 320px;
  resize: vertical;
  line-height: 1.6;
}
.submit-form .btn-primary {
  width: auto;
  min-width: 160px;
  padding: 14px 28px;
  margin-top: 4px;
  font-size: 15px;
}
.submit-tip a { color: var(--accent); font-weight: 700; }
.empty-card { text-align: center; color: var(--muted); }
body.modal-open { overflow: hidden; }
.modal {
  position: fixed; inset: 0; display: none; align-items: center; justify-content: center; z-index: 999;
  padding: 16px;
}
.modal.show { display: flex; animation: modalFadeIn .2s ease; }
@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.modal-backdrop { position: absolute; inset: 0; background: rgba(8, 10, 16, .62); backdrop-filter: blur(6px); }
.auth-modal .modal-backdrop { background: rgba(8, 10, 16, .72); }
.modal-card {
  position: relative; z-index: 1; width: min(460px, 100%); padding: 22px; border-radius: 24px;
}
.auth-modal-card {
  position: relative; z-index: 1;
  width: min(400px, 100%);
  padding: 36px 32px 32px;
  border-radius: 20px;
  background: var(--auth-bg);
  color: var(--auth-text);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
  animation: modalCardIn .25s ease;
}
@keyframes modalCardIn {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to { opacity: 1; transform: none; }
}
.auth-modal-close {
  position: absolute; right: 16px; top: 14px;
  width: 32px; height: 32px; border: none; border-radius: 8px;
  background: transparent; color: var(--auth-muted); font-size: 22px; line-height: 1;
  cursor: pointer; padding: 0;
}
.auth-modal-close:hover { color: var(--auth-text); background: rgba(255,255,255,.06); }
.auth-modal-head { text-align: center; margin-bottom: 28px; }
.auth-modal-head h2 {
  margin: 0 0 10px; font-size: 28px; font-weight: 800; color: var(--auth-text); letter-spacing: .02em;
}
.auth-modal-sub { margin: 0; color: var(--auth-muted); font-size: 14px; line-height: 1.55; }
.auth-tabs {
  display: flex; justify-content: center; gap: 48px; margin-bottom: 28px;
}
.auth-tab {
  position: relative; background: none; border: none; padding: 0 0 12px;
  color: rgba(243, 246, 251, .75); font-size: 16px; font-weight: 700; cursor: pointer;
}
.auth-tab.active { color: var(--auth-mint); }
.auth-tab.active::after {
  content: ''; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%);
  width: 36px; height: 4px; border-radius: 999px; background: var(--auth-mint);
}
.auth-panel { display: none; }
.auth-panel.active { display: block; }
.auth-panel[hidden] { display: none !important; }
.auth-alert {
  padding: 10px 12px; border-radius: 10px; font-size: 13px; margin-bottom: 14px; text-align: center;
}
.auth-alert-error { background: rgba(255, 90, 90, .15); color: #ff9b9b; }
.auth-alert-ok { background: rgba(62, 224, 143, .15); color: var(--auth-mint); }
.auth-form { display: grid; gap: 14px; }
.auth-field {
  display: flex; align-items: center; gap: 12px;
  background: var(--auth-field); border-radius: 12px; padding: 0 14px;
  border: 1px solid rgba(255,255,255,.04);
}
.auth-field-icon {
  flex-shrink: 0; width: 20px; height: 20px; color: var(--auth-muted);
  display: flex; align-items: center; justify-content: center;
}
.auth-field-icon svg { width: 20px; height: 20px; }
.auth-field input {
  flex: 1; margin: 0; padding: 14px 0; border: none; background: transparent;
  color: var(--auth-text); font-size: 15px; outline: none;
}
.auth-field input::placeholder { color: #6b7589; }
.auth-remember {
  display: flex; align-items: center; gap: 10px; cursor: pointer;
  font-size: 14px; color: var(--auth-text); margin: 4px 0 6px; user-select: none;
}
.auth-remember input { position: absolute; opacity: 0; width: 0; height: 0; }
.auth-toggle {
  width: 40px; height: 22px; border-radius: 999px; background: #3a4258;
  position: relative; transition: background .2s ease; flex-shrink: 0;
}
.auth-toggle::after {
  content: ''; position: absolute; top: 3px; left: 3px;
  width: 16px; height: 16px; border-radius: 50%; background: #c5cad6;
  transition: transform .2s ease, background .2s ease;
}
.auth-remember input:checked + .auth-toggle { background: rgba(62, 224, 143, .35); }
.auth-remember input:checked + .auth-toggle::after {
  transform: translateX(18px); background: var(--auth-mint);
}
.auth-submit {
  width: 100%; margin-top: 8px; padding: 15px 16px; border: none; border-radius: 12px;
  background: var(--auth-mint); color: #0f1419; font-size: 16px; font-weight: 800;
  cursor: pointer; transition: background .15s ease, transform .15s ease;
}
.auth-submit:hover { background: var(--auth-mint-hover); transform: translateY(-1px); }
.btn-block { width: 100%; margin-top: 6px; padding: 13px 16px; }
.notice-error { color: #9b2c2c; background: rgba(255, 230, 230, .85); }
.notice-ok { color: #246b34; background: rgba(232, 255, 240, .85); }
.admin-login-page {
  min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px;
  background: radial-gradient(circle at top, #232a3b, #12151d 55%);
}
.admin-login-wrap {
  width: min(400px, 100%); padding: 36px 32px 32px; border-radius: 20px; text-align: center;
  background: var(--auth-bg); color: var(--auth-text);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .45);
}
.admin-login-badge {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  background: rgba(251,146,60,.2); color: var(--auth-mint); font-size: 13px; font-weight: 800;
  margin-bottom: 12px;
}
.admin-login-wrap h1 { margin: 0 0 8px; font-size: 26px; color: var(--auth-text); }
.admin-login-desc { margin: 0 0 22px; color: var(--auth-muted); font-size: 14px; line-height: 1.6; }
.admin-login-wrap .auth-field { text-align: left; }
.admin-login-wrap .auth-submit { margin-top: 10px; }
.admin-login-wrap .auth-alert { margin-bottom: 14px; }
.admin-login-foot { margin: 20px 0 0; font-size: 14px; color: var(--auth-muted); }
.admin-login-foot a { color: var(--auth-mint); font-weight: 700; }
@keyframes wavePulse {
  0%, 100% { transform: scaleY(.55); opacity: .45; }
  50% { transform: scaleY(1); opacity: 1; }
}
.wave-anim {
  display:flex; gap: 5px; align-items:flex-end; justify-content:center; height: 64px;
}
.wave-bar {
  width: 7px; height: 100%; border-radius: 999px; background: linear-gradient(180deg, rgba(249,115,22,.95), rgba(255,255,255,.9));
  animation: wavePulse 1s ease-in-out infinite;
  transform-origin: bottom;
}
.wave-bar:nth-child(2n) { animation-delay: .15s; }
.wave-bar:nth-child(3n) { animation-delay: .3s; }
.wave-bar:nth-child(4n) { animation-delay: .45s; }
.wave-bar:nth-child(5n) { animation-delay: .6s; }
/* —— 移动端顶栏 / 底栏 / 侧栏抽屉 —— */
.auth-btn-short { display: none; }
.auth-more { display: none; list-style: none; }
.auth-more summary { list-style: none; cursor: pointer; }
.auth-more summary::-webkit-details-marker { display: none; }
.auth-btn-icon {
  min-width: 40px; padding: 9px 12px; text-align: center; font-size: 18px; line-height: 1;
}
.auth-dropdown-menu {
  position: absolute; right: 0; top: calc(100% + 8px); min-width: 140px;
  padding: 8px; border-radius: 16px; z-index: 30; display: grid; gap: 4px;
  box-shadow: 0 16px 40px rgba(31, 36, 48, .15);
}
.auth-more { position: relative; }
.auth-dropdown-menu a {
  display: block; padding: 10px 12px; border-radius: 12px; font-weight: 700; font-size: 14px;
}
.auth-dropdown-menu a:hover { background: var(--accent-soft); color: var(--accent-dark); }
.topbar-start { display: flex; align-items: center; gap: 8px; min-width: 0; flex: 1; }
.page-back {
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  flex-shrink: 0; height: 40px; min-width: 40px; padding: 0 10px;
  border-radius: 12px; background: rgba(255,255,255,.9);
  border: 1px solid rgba(255,255,255,.95); color: var(--accent-dark);
  font-weight: 800; font-size: 14px; box-shadow: 0 4px 12px rgba(249,115,22,.12);
}
.page-back:hover { color: var(--accent); box-shadow: 0 6px 16px var(--accent-glow); }
.page-back-icon { font-size: 18px; line-height: 1; }
.page-back-text { display: none; }
.category-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px;
  margin-bottom: 16px;
}
.category-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  padding: 16px; border-radius: 18px; transition: transform .15s ease, box-shadow .15s ease;
}
.category-card:hover {
  transform: translateY(-2px); box-shadow: 0 12px 28px var(--accent-glow);
}
.category-card-name { font-size: 16px; font-weight: 800; color: var(--accent-dark); }
.category-card-count { font-size: 13px; color: var(--muted); font-weight: 600; }
.category-breadcrumb {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  font-size: 14px; color: var(--muted); margin-bottom: 12px; font-weight: 600;
}
.category-breadcrumb a { color: var(--accent); font-weight: 700; }
.category-breadcrumb strong { color: var(--accent-dark); }
.nav-toggle {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; padding: 8px; border: none; border-radius: 12px;
  background: rgba(255,255,255,.85); cursor: pointer; flex-shrink: 0;
}
.nav-toggle-bar {
  display: block; width: 100%; height: 2px; border-radius: 2px; background: var(--accent-dark);
}
.nav-backdrop {
  display: none; position: fixed; inset: 0; background: rgba(28, 25, 23, .45);
  z-index: 40; opacity: 0; pointer-events: none; transition: opacity .2s ease;
}
body.nav-open .nav-backdrop {
  display: block; opacity: 1; pointer-events: auto;
}
.mobile-bottom-nav { display: none; }

@media (max-width: 900px) {
  .admin-layout { flex-direction: column; }
  .admin-menu { width: 100%; position: static; }
}

@media (max-width: 768px) {
  body.has-mobile-nav {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  }
  .topbar {
    margin: 8px 10px; padding: 10px 12px; border-radius: 16px;
    gap: 8px; align-items: center;
  }
  .brand { gap: 10px; min-width: 0; }
  .page-back-text { display: inline; }
  .brand-name {
    font-size: 16px; max-width: 34vw; overflow: hidden;
    text-overflow: ellipsis; white-space: nowrap;
  }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .category-card { padding: 14px; }
  .brand-logo, .brand-logo-fallback { width: 36px; height: 36px; font-size: 16px; }
  .topbar-auth {
    flex-shrink: 0; gap: 6px; flex-wrap: nowrap;
  }
  .auth-btn { padding: 8px 12px; font-size: 13px; white-space: nowrap; }
  .auth-btn-long { display: none; }
  .auth-btn-short { display: inline; }
  .auth-btn-desktop-only { display: none !important; }
  .auth-more { display: block; }
  .nav-toggle { display: flex; }

  .layout {
    flex-direction: column; gap: 0; padding: 0 10px 12px;
  }
  .sidebar {
    position: fixed; left: 0; top: 0; bottom: 0; z-index: 50;
    width: min(280px, 86vw); margin: 0; border-radius: 0 20px 20px 0;
    padding: calc(72px + env(safe-area-inset-top, 0px)) 16px 24px;
    transform: translateX(-105%); transition: transform .25s ease;
    box-shadow: 8px 0 40px rgba(31, 36, 48, .12);
    height: 100vh; height: 100dvh; overflow-y: auto;
  }
  body.nav-open .sidebar { transform: translateX(0); }
  body.nav-open { overflow: hidden; }

  .content { padding: 0; width: 100%; }
  .hero { padding: 14px 16px; margin-bottom: 10px; border-radius: 18px; }
  .hero-compact .hero-desc { display: none; }
  .hero-orange h2 { font-size: 18px; margin: 0; }
  .notice { margin-bottom: 10px; font-size: 14px; }

  .audio-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px;
  }
  .audio-card { border-radius: 18px; }
  .audio-meta {
    padding: 10px; gap: 4px;
  }
  .audio-meta strong {
    font-size: 14px; line-height: 1.35;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .audio-meta span, .audio-meta small { font-size: 12px; }

  .mobile-bottom-nav {
    display: flex; position: fixed; left: 10px; right: 10px; bottom: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    z-index: 35; padding: 6px 8px; border-radius: 20px;
    justify-content: space-around; align-items: stretch;
    box-shadow: 0 12px 36px rgba(249, 115, 22, .22);
  }
  .mobile-nav-item {
    flex: 1; display: flex; flex-direction: column; align-items: center;
    justify-content: center; gap: 2px; padding: 8px 4px; border: none;
    background: transparent; color: var(--muted); font-size: 11px;
    font-weight: 700; border-radius: 14px; cursor: pointer;
    font-family: inherit; min-height: 52px;
  }
  .mobile-nav-item.active {
    color: var(--accent-dark);
    background: var(--accent-soft);
  }
  .mobile-nav-icon { font-size: 18px; line-height: 1; }

  .profile-wrap { width: 100%; margin: 10px auto 20px; padding: 16px; }
  .stats-grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .stat-value { font-size: 22px !important; }
  .stat-value.stat-sm { font-size: 15px !important; }
  .table { font-size: 13px; display: block; overflow-x: auto; }
  .submit-card { padding: 18px 16px; }
  .submit-form textarea { min-height: 220px; }
}

@media (max-width: 400px) {
  .topbar { margin: 6px 8px; padding: 8px 10px; }
  .auth-btn-subscribe { padding: 8px 10px; }
  .audio-grid { gap: 8px; }
  .mobile-nav-item { font-size: 10px; }
}

@media (max-width: 560px) {
  .player-wrap { width: calc(100% - 16px); }
  .main-play { width: 68px; height: 68px; }
  .icon-btn { width: 56px; height: 56px; }
}
