/* ============================================================
   星芒AI · 设计系统
   对标基线：ai6666.com（碳基圈）
   配色：黑 / 白 / 红（无其它彩色）
   ============================================================ */

* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  /* 品牌色 */
  --brand-1: #E60012;
  --brand-2: #E60012;
  --brand-soft: #FFF1F1;
  --grad-brand: linear-gradient(90deg, #E60012 0%, #B3000E 100%);
  --grad-brand-soft: linear-gradient(90deg, #E60012 0%, #B3000E 100%);

  /* 辅助色 */
  --violet: #E60012;
  --violet-soft: #FFF1F1;
  --gold: #B3000E;
  --gold-soft: #FFF1F1;
  --gold-line: #F5C6C6;
  --teal: #111111;

  /* 中性 */
  --bg: #FFFFFF;
  --bg-soft: #FAFAFA;
  --bg-mute: #F2F2F2;
  --line: #E8E8E8;
  --line-soft: #F2F2F2;
  --text: #111111;
  --text-2: #5A5A5A;
  --text-3: #8A8A8A;

  /* 形状 */
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-pill: 999px;

  /* 阴影 */
  --sh-sm: 0 1px 2px rgba(16, 24, 40, .06);
  --sh: 0 4px 16px rgba(16, 24, 40, .08);
  --sh-lg: 0 12px 40px rgba(16, 24, 40, .12);

  --nav-h: 60px;
  --wrap: 1440px;
  --sidebar-w: 232px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font-family: inherit; font-size: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }

/* ============ 布局 ============ */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.wrap-narrow { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.page-full { width: 100%; max-width: none; margin: 0; padding: 0 28px; }
.page { padding: 28px 0 80px; }
body { padding-left: var(--sidebar-w); }

/* ============ 左侧固定导航（宽屏贴最左） ============ */
.nav {
  position: fixed; left: 0; top: 0; bottom: 0; z-index: 200;
  width: var(--sidebar-w);
  background: #fff; border-right: 1px solid var(--line);
  display: flex; overflow: visible;
}
.nav-inner {
  flex: 1; display: flex; flex-direction: column;
  padding: 18px 14px 16px; gap: 16px; min-width: 0;
}
.brand {
  display: flex; align-items: center; gap: 9px;
  font-size: 17px; font-weight: 800; letter-spacing: -.2px;
  padding: 2px 6px; white-space: nowrap; color: var(--text);
}
.brand-mark {
  width: 44px; height: 44px; border-radius: 13px;
  background: var(--grad-brand);
  display: grid; place-items: center;
  color: #fff; font-size: 26px; font-weight: 700;
}
.brand-name {
  color: var(--brand-1); font-size: 17px; font-weight: 800;
  letter-spacing: -.2px; line-height: 1;
}

/* ---------- 精准控制提示词模板 ---------- */
.precise { background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: 12px; padding: 14px 16px; margin-bottom: 16px; }
.precise-title { font-size: 13px; font-weight: 800; margin-bottom: 12px; color: var(--text); }
.precise-row { margin-bottom: 12px; }
.precise-row:last-child { margin-bottom: 0; }
.precise-label { font-size: 12.5px; font-weight: 700; color: var(--text-2); margin-bottom: 6px; }
.precise-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pchip { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line);
  background: #fff; font-size: 12.5px; color: var(--text-2); cursor: pointer; user-select: none; }
.pchip:hover { border-color: var(--brand-1); }
.pchip.active { background: var(--brand-1); color: #fff; border-color: var(--brand-1); font-weight: 700; }
.precise-custom { margin-top: 7px; }
.precise-custom input { width: 100%; border: 1px solid var(--line); border-radius: 8px;
  padding: 7px 10px; font-size: 12.5px; background: #fff; color: var(--text); font-family: inherit; }

/* ---------- 创作知识（提炼自提示词工程手册） ---------- */
.kb { border: 1px solid var(--line); border-radius: 12px; background: var(--bg-soft);
  margin-top: 16px; overflow: hidden; }
.kb-sum { cursor: pointer; padding: 12px 16px; font-weight: 800; font-size: 13.5px;
  color: var(--text); user-select: none; list-style: none; }
.kb-sum::-webkit-details-marker { display: none; }
.kb-sum::before { content: "▸ "; color: var(--brand-1); }
details[open].kb .kb-sum::before { content: "▾ "; }
.kb-body { padding: 0 16px 16px; }
.kb-sec { margin-top: 14px; }
.kb-h { font-size: 13px; font-weight: 800; color: var(--brand-1); margin-bottom: 6px; }
.kb-txt { font-size: 12.5px; line-height: 1.7; color: var(--text-2); }
.kb-em { color: var(--brand-1); font-weight: 700; }
.kb-eg { font-size: 12px; background: #fff; border: 1px dashed var(--line); border-radius: 8px;
  padding: 8px 10px; margin: 6px 0; color: var(--text); }
.kb-warn { font-size: 12px; color: var(--gold); margin-top: 4px; }
.kb-list { margin: 6px 0 0; padding-left: 18px; font-size: 12.5px; line-height: 1.8; color: var(--text-2); }
.kb-list li { margin-bottom: 4px; }
.kb code { background: #fff; border: 1px solid var(--line); border-radius: 4px;
  padding: 1px 5px; font-size: 11.5px; color: var(--text); font-family: inherit; }
.stag-wrap { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0; }
.stag { padding: 5px 10px; border-radius: 7px; border: 1px solid var(--line); background: #fff;
  font-size: 12px; color: var(--text-2); cursor: pointer;
  font-family: ui-monospace, Menlo, Consolas, monospace; user-select: none; }
.stag:hover { border-color: var(--brand-1); color: var(--brand-1); }
.nav-menu { display: flex; flex-direction: column; gap: 3px; flex: 1; }
.nav-item {
  position: relative; display: block;
  padding: 10px 12px; border-radius: var(--r-sm);
  font-size: 14px; font-weight: 600; color: var(--text-2);
  transition: .15s; white-space: nowrap;
  border-left: 2px solid transparent;
}
.nav-item:hover { background: var(--bg-mute); color: var(--text); }
.nav-item.active {
  color: var(--brand-1); background: var(--brand-soft);
  border-left-color: var(--brand-1); font-weight: 700;
}
.nav-item.gold { color: var(--brand-1); }
.nav-item.has-drop { padding: 0; }
.nav-item.has-drop.active { border-left-color: var(--brand-1); }
.nav-label {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 12px; font-size: 14px; font-weight: 600; color: var(--text-2);
  cursor: pointer; user-select: none; border-radius: var(--r-sm);
}
.nav-item.has-drop:hover .nav-label,
.nav-item.has-drop.open .nav-label { background: var(--bg-mute); color: var(--text); }
.nav-item.has-drop.active .nav-label { color: var(--brand-1); background: var(--brand-soft); font-weight: 700; }
.nav-drop {
  position: absolute; left: 100%; top: 0; margin-left: 6px;
  min-width: 224px; background: #fff; border: 1px solid var(--line);
  border-radius: var(--r); box-shadow: var(--sh-lg); padding: 6px;
  opacity: 0; visibility: hidden; transform: translateX(4px);
  transition: .16s; z-index: 210;
}
/* 透明热区：鼠标从菜单滑到右侧浮层时不中断 hover */
.nav-drop::before { content: ''; position: absolute; top: 0; bottom: 0; left: -10px; width: 10px; }
.nav-item.has-drop:hover .nav-drop,
.nav-item.has-drop:focus-within .nav-drop,
.nav-item.has-drop.open .nav-drop {
  opacity: 1; visibility: visible; transform: none;
}
.drop-item {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 9px 11px; border-radius: var(--r-sm); transition: .15s;
}
.drop-item:hover { background: var(--bg-soft); }
.drop-item.on { background: var(--brand-soft); }
.drop-item b { display: block; font-size: 13.5px; font-weight: 700; color: var(--text); }
.drop-item i { display: block; font-style: normal; font-size: 11.5px; color: var(--text-3); }
.drop-ico { font-size: 15px; line-height: 1.5; }
.nav-right {
  display: flex; flex-direction: column; gap: 8px;
  padding-top: 14px; border-top: 1px solid var(--line);
}
.nav-right .nav-item { padding: 9px 12px; text-align: center; border-left: none; }
.nav-right .credits-pill, .nav-right .nav-user, .nav-right .nav-cta { width: 100%; justify-content: center; }
.nav-user {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 12px; border-radius: var(--r-sm);
  border: 1px solid var(--line); font-size: 13px; font-weight: 600;
}
.avatar {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--grad-brand); color: #fff;
  display: grid; place-items: center; font-size: 12px; font-weight: 700;
  flex-shrink: 0;
}
.avatar.violet { background: var(--brand-1); }
.avatar.teal { background: #111111; }
.credits-pill {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 8px 12px; border-radius: var(--r-sm);
  background: var(--brand-soft); color: var(--brand-1);
  font-size: 12.5px; font-weight: 700;
}
.nav-cta {
  padding: 9px 16px; border-radius: var(--r-sm);
  background: var(--grad-brand); color: #fff !important;
  font-weight: 700; font-size: 13.5px; box-shadow: var(--sh-sm);
  white-space: nowrap; text-align: center;
}
/* ============ 按钮 ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px 18px; border-radius: var(--r-sm);
  font-size: 13.5px; font-weight: 600;
  border: 1px solid transparent; transition: .15s; white-space: nowrap;
}
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn-brand { background: var(--grad-brand); color: #fff; box-shadow: var(--sh-sm); }
.btn-brand:hover { filter: brightness(1.06); }
.btn-violet { background: var(--violet); color: #fff; }
.btn-violet:hover { filter: brightness(1.08); }
.btn-outline { border-color: var(--line); background: #fff; color: var(--text); }
.btn-outline:hover { background: var(--bg-soft); border-color: #D9D9D9; }
.btn-soft { background: var(--bg-mute); color: var(--text); }
.btn-soft:hover { background: #E8E8E8; }
.btn-dark { background: #111111; color: #fff; }
.btn-dark:hover { background: #1A1A1A; }
.btn-gold { background: var(--gold); color: #fff; }
.btn-block { width: 100%; }
.btn-lg { padding: 13px 24px; font-size: 15px; border-radius: var(--r); }
.btn-sm { padding: 6px 12px; font-size: 12.5px; }

/* ============ 卡片 ============ */
.card {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--r); box-shadow: var(--sh-sm);
}
.card-pad { padding: 20px; }

/* ============ 标签 / 徽章 ============ */
.tag {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 9px; border-radius: var(--r-sm);
  font-size: 11.5px; font-weight: 600;
  background: var(--bg-mute); color: var(--text-2);
}
.tag-brand { background: var(--brand-soft); color: var(--brand-1); }
.tag-violet { background: var(--violet-soft); color: var(--violet); }
.tag-gold { background: var(--gold-soft); color: var(--gold); border: 1px solid var(--gold-line); }
.tag-teal { background: #F5F5F5; color: var(--teal); }

.chip {
  padding: 5px 12px; border-radius: var(--r-pill);
  border: 1px solid var(--line); background: #fff;
  font-size: 12.5px; font-weight: 600; color: var(--text-2);
  cursor: pointer; transition: .15s; white-space: nowrap;
}
.chip:hover { border-color: #D9D9D9; color: var(--text); }
.chip.active {
  background: var(--grad-brand); color: #fff;
  border-color: transparent; box-shadow: var(--sh-sm);
}

/* ============ 表单 ============ */
.field { margin-bottom: 16px; }
.label {
  display: block; font-size: 13px; font-weight: 700;
  margin-bottom: 7px; color: var(--text);
}
.label .hint { font-weight: 500; color: var(--text-3); margin-left: 6px; font-size: 12px; }
.input, .textarea, .select {
  width: 100%; padding: 10px 13px;
  border: 1px solid var(--line); border-radius: var(--r-sm);
  background: #fff; font-size: 13.5px; transition: .15s;
  outline: none;
}
.input:focus, .textarea:focus, .select:focus {
  border-color: var(--brand-2);
  box-shadow: 0 0 0 3px rgba(230,0,18, .12);
}
.textarea { resize: vertical; min-height: 96px; line-height: 1.7; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='3'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 34px; }
.row { display: flex; gap: 12px; }
.row > * { flex: 1; min-width: 0; }

/* ============ 歌曲卡片网格 ============ */
.grid-tracks {
  display: grid; gap: 18px;
  grid-template-columns: repeat(5, 1fr);
}
.track-card { cursor: pointer; }
.track-cover {
  position: relative; aspect-ratio: 4 / 3;
  border-radius: var(--r); overflow: hidden;
  background: linear-gradient(135deg, #F5C6C6, #F5C6C6);
}
.track-cover .cover-art {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s;
}
.track-card:hover .cover-art { transform: scale(1.05); }
.track-play {
  position: absolute; inset: 0; margin: auto;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(0, 0, 0, .5); backdrop-filter: blur(4px);
  display: grid; place-items: center; color: #fff;
  opacity: 0; transition: .2s;
}
.track-card:hover .track-play { opacity: 1; }
.track-badge {
  position: absolute; top: 10px; right: 10px;
  padding: 3px 9px; border-radius: var(--r-sm);
  background: rgba(230,0,18, .92); color: #fff;
  font-size: 11px; font-weight: 700;
}
.track-title {
  font-size: 14px; font-weight: 700; margin: 10px 0 7px;
  display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical;
  overflow: hidden;
}
.track-actions { display: flex; gap: 6px; margin-bottom: 9px; }
.mini-btn {
  padding: 3px 9px; border-radius: var(--r-sm);
  border: 1px solid var(--line); background: #fff;
  font-size: 11.5px; font-weight: 600; color: var(--text-2);
  transition: .15s;
}
.mini-btn:hover { background: var(--brand-soft); color: var(--brand-1); border-color: #F5C6C6; }
.mini-btn.on { background: var(--brand-soft); color: var(--brand-1); border-color: #F5C6C6; }
.track-meta {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; color: var(--text-3);
}
.track-author { display: flex; align-items: center; gap: 6px; min-width: 0; }
.track-author .avatar { width: 18px; height: 18px; font-size: 9px; }
.track-author span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.track-price { font-size: 15px; font-weight: 800; color: var(--brand-1); margin-top: 8px; }

/* ============ 播放器（底部固定） ============ */
.player {
  position: fixed; left: var(--sidebar-w); right: 0; bottom: 0; z-index: 300;
  background: rgba(17, 24, 39, .96); backdrop-filter: blur(12px);
  color: #fff; height: 68px;
  display: none; align-items: center; gap: 16px;
  padding: 0 20px;
}
.player.show { display: flex; }
.player-cover {
  width: 42px; height: 42px; border-radius: 8px; flex-shrink: 0;
  background: linear-gradient(135deg, #E60012, #E60012);
}
.player-info { min-width: 160px; }
.player-info .t { font-size: 13.5px; font-weight: 700; }
.player-info .a { font-size: 12px; color: #8A8A8A; }
.player-bar { flex: 1; display: flex; align-items: center; gap: 12px; }
.player-track {
  flex: 1; height: 4px; background: rgba(255, 255, 255, .18);
  border-radius: 4px; overflow: hidden; cursor: pointer; position: relative;
}
.player-fill {
  height: 100%; width: 0%; background: var(--grad-brand);
  border-radius: 4px; transition: width .2s linear;
}
.player-time { font-size: 11.5px; color: #8A8A8A; font-variant-numeric: tabular-nums; }
.player-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--grad-brand); color: #fff;
  display: grid; place-items: center; flex-shrink: 0;
}

/* ============ 弹窗 ============ */
.modal-mask {
  position: fixed; inset: 0; z-index: 400;
  background: rgba(17, 24, 39, .45);
  display: none; align-items: center; justify-content: center;
  padding: 20px;
}
.modal-mask.show { display: flex; }
.modal {
  background: #fff; border-radius: var(--r-lg);
  padding: 30px 28px; max-width: 400px; width: 100%;
  text-align: center; box-shadow: var(--sh-lg);
  animation: pop .22s ease-out;
}
@keyframes pop { from { transform: scale(.94); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal-icon {
  width: 56px; height: 56px; border-radius: var(--r);
  background: var(--gold-soft); display: grid; place-items: center;
  font-size: 28px; margin: 0 auto 16px;
}
.modal h3 { font-size: 19px; font-weight: 800; margin-bottom: 10px; }
.modal p { font-size: 13.5px; color: var(--text-2); margin-bottom: 6px; }
.modal-actions { display: flex; gap: 10px; margin-top: 22px; }
.modal-actions .btn { flex: 1; }

/* ============ Toast ============ */
.toast-wrap {
  position: fixed; top: 76px; right: 20px; z-index: 500;
  display: flex; flex-direction: column; gap: 10px;
}
.toast {
  background: #111111; color: #fff;
  padding: 11px 18px; border-radius: var(--r-sm);
  font-size: 13px; font-weight: 600; box-shadow: var(--sh-lg);
  animation: slideIn .25s ease-out;
  display: flex; align-items: center; gap: 8px;
}
@keyframes slideIn { from { transform: translateX(24px); opacity: 0; } to { transform: none; opacity: 1; } }

/* ============ 通用区块 ============ */
.sec-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 20px; gap: 16px; flex-wrap: wrap;
}
.sec-head h2 { font-size: 19px; font-weight: 800; }
.sec-head .desc { font-size: 13px; color: var(--text-2); margin-top: 3px; }
.eyebrow {
  font-size: 11.5px; font-weight: 800; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--brand-1); margin-bottom: 8px;
}
.divider { height: 1px; background: var(--line); margin: 28px 0; }
.empty {
  padding: 56px 20px; text-align: center; color: var(--text-3);
}
.empty .big { font-size: 34px; margin-bottom: 10px; }

/* ============ 页脚 ============ */
.footer {
  border-top: 1px solid var(--line); background: var(--bg-soft);
  padding: 40px 0 28px; margin-top: 60px;
}
.footer-grid {
  display: grid; grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 32px; margin-bottom: 28px;
}
.footer h4 { font-size: 13px; font-weight: 800; margin-bottom: 12px; }
.footer a { display: block; font-size: 13px; color: var(--text-2); padding: 3px 0; }
.footer a:hover { color: var(--brand-1); }
.footer-bot {
  border-top: 1px solid var(--line); padding-top: 20px;
  font-size: 12.5px; color: var(--text-3);
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
}

/* ============ 响应式 ============ */
/* 宽版：超宽屏（>1440）歌曲网格 5 列，≤1440 回落 4 列 */
@media (max-width: 1440px) {
  .grid-tracks { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 1024px) {
  .grid-tracks { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .grid-tracks { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  /* 移动端：侧栏收回为顶部条，底部用 Tab 栏导航 */
  :root { --sidebar-w: 0px; }
  .nav { position: sticky; top: 0; bottom: auto; height: auto;
    flex-direction: row; border-right: none; border-bottom: 1px solid var(--line); }
  .nav-inner { flex-direction: row; align-items: center; justify-content: space-between;
    padding: 0 14px; height: var(--nav-h); gap: 10px; }
  .nav-menu { display: none; }
  .nav-right { flex-direction: row; align-items: center; padding-top: 0; border-top: none; gap: 8px; }
  .nav-right .nav-item, .nav-right .credits-pill, .nav-right .nav-user, .nav-right .nav-cta { width: auto; }
  .brand { padding: 0; font-size: 16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 22px; }
  .sec-head h2 { font-size: 17px; }
}
@media (max-width: 480px) {
  .grid-tracks { grid-template-columns: 1fr; }
  .row { flex-direction: column; gap: 0; }
}

/* （二级下拉菜单样式已并入上方「左侧固定导航」区块，此处不再重复定义） */

/* ============================================================
   竖屏 / 移动端：底部 Tab 栏
   ============================================================ */
.tabbar {
  display: none;
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 250;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: saturate(180%) blur(12px);
  border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.tab-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 7px 0 5px; font-size: 10.5px; font-weight: 600; color: var(--text-3);
  transition: .15s;
}
.tab-item.on { color: var(--brand-1); }
.tab-item:active { background: var(--bg-soft); }
.tab-ico { font-size: 19px; line-height: 1; }

@media (max-width: 768px) {
  .tabbar { display: flex; }
  body { padding-bottom: calc(58px + env(safe-area-inset-bottom, 0px)); }
  /* 播放器让位给底部 Tab */
  .player { bottom: calc(58px + env(safe-area-inset-bottom, 0px)); }
  .player-info { min-width: 0; }
  .player-info .t { font-size: 12.5px; }
  .player-cover { width: 38px; height: 38px; }
  .player > .mini-btn { display: none; }
  /* 竖屏下弹窗贴合屏幕 */
  .modal { padding: 26px 20px; max-width: 100%; }
  .toast-wrap { right: 12px; left: 12px; top: 68px; }
  .toast { justify-content: center; }
}

/* 竖屏手机：卡片两列更紧凑 */
@media (max-width: 768px) and (orientation: portrait) {
  .grid-tracks { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .track-title { font-size: 13px; margin: 8px 0 6px; }
  .track-actions .mini-btn { padding: 3px 7px; font-size: 11px; }
  .wrap, .wrap-narrow, .page-full { padding: 0 14px; }
  .hero-title { font-size: 20px; margin: 18px 0 20px; }
}

/* 横屏手机：用三列，别浪费横向空间 */
@media (max-height: 560px) and (orientation: landscape) {
  .grid-tracks { grid-template-columns: repeat(4, 1fr); }
}
