/* ==========================================================================
   AI Music Studio - 扁平化深色主题（与站点 app.min.css 视觉一致）
   ========================================================================== */
.am-page {
    --am-bg: #111318;
    --am-panel: #191a1f;
    --am-panel2: #1f2128;
    --am-line: #2a2d36;
    --am-text: #e6e8ee;
    --am-sub: #8b909c;
    --am-accent: #e83a64;
    --am-accent-d: #c92b50;
    --am-green: #94d500;
    --am-radius: 10px;
    padding-top: 24px;
    padding-bottom: 60px;
    color: var(--am-text);
}
.am-page * { box-sizing: border-box; }
.am-page a { color: inherit; text-decoration: none; }
.am-page button { font-family: inherit; }

.am-ic { width: 18px; height: 18px; flex: 0 0 auto; vertical-align: -3px; }
.am-ic-lg { width: 34px; height: 34px; }
.am-hide { display: none !important; }
.am-muted { color: var(--am-sub); font-size: 13px; }

/* 通用按钮 */
.am-btn-primary,
.am-btn-ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 42px;
    padding: 0 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: 1px solid transparent;
    transition: background .18s, color .18s, border-color .18s;
    white-space: nowrap;
}
.am-btn-primary { background: var(--am-accent); color: #fff; }
.am-btn-primary:hover { background: var(--am-accent-d); color: #fff; }
.am-btn-primary[disabled] { opacity: .55; cursor: not-allowed; }
.am-btn-ghost { background: transparent; border-color: var(--am-line); color: var(--am-text); }
.am-btn-ghost:hover { border-color: var(--am-accent); color: #fff; }
.am-btn-ghost.is-liked { border-color: var(--am-accent); color: var(--am-accent); }
.am-btn-ghost.is-liked .am-ic { fill: currentColor; }
.am-btn-sm { height: 34px; padding: 0 12px; font-size: 12px; font-weight: 500; }
.am-danger:hover { border-color: #ff5b5b; color: #ff6b6b; }
.am-btn-text { background: none; border: 0; color: var(--am-sub); font-size: 12px; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; padding: 0; }
.am-btn-text:hover { color: var(--am-text); }
.am-link-muted { color: var(--am-sub); font-size: 13px; display: inline-flex; align-items: center; gap: 2px; }
.am-link-muted:hover { color: var(--am-text); }

/* Hero */
.am-hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 38px 42px;
    border: 1px solid var(--am-line);
    border-radius: 14px;
    background: var(--am-panel);
    overflow: hidden;
    margin-bottom: 20px;
}
.am-hero:before {
    content: "";
    position: absolute;
    right: -120px;
    top: -160px;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(232,58,100,.16), rgba(232,58,100,0) 70%);
    pointer-events: none;
}
.am-hero-copy { position: relative; z-index: 1; max-width: 640px; }
.am-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--am-green);
    font-size: 12px;
    letter-spacing: 2px;
    font-weight: 600;
    text-transform: uppercase;
}
.am-kicker .am-ic { width: 16px; height: 16px; }
.am-hero h1 {
    margin: 14px 0 14px;
    font-size: 40px;
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: .5px;
    color: #fff;
}
.am-hero p { margin: 0; color: var(--am-sub); font-size: 15px; line-height: 1.9; }
.am-hero-stats { display: flex; gap: 34px; margin-top: 26px; }
.am-hero-stats div { display: flex; flex-direction: column; gap: 4px; }
.am-hero-stats strong { font-size: 24px; color: #fff; font-weight: 700; }
.am-hero-stats span { font-size: 12px; color: var(--am-sub); }

.am-hero-art { position: relative; width: 260px; height: 200px; flex: 0 0 auto; z-index: 1; }
.am-disc {
    position: absolute;
    right: 10px;
    top: 0;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: #101116;
    border: 1px solid var(--am-line);
    box-shadow: 0 20px 40px rgba(0,0,0,.35);
    display: flex;
    align-items: center;
    justify-content: center;
}
.am-disc-ring { position: absolute; inset: 22px; border-radius: 50%; border: 1px dashed #333744; }
.am-disc-core {
    width: 64px; height: 64px; border-radius: 50%;
    background: var(--am-accent);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    animation: am-spin 9s linear infinite;
}
.am-disc-core .am-ic { width: 30px; height: 30px; }
.am-eq {
    position: absolute; left: 0; bottom: 0;
    display: flex; align-items: flex-end; gap: 5px; height: 80px;
}
.am-eq i { width: 5px; background: var(--am-green); border-radius: 2px; opacity: .8; animation: am-eq 1.1s ease-in-out infinite; }
.am-eq i:nth-child(2n) { background: var(--am-accent); animation-delay: .15s; }
.am-eq i:nth-child(3n) { animation-delay: .3s; }
.am-eq i:nth-child(4n) { animation-delay: .45s; height: 34px; }
.am-eq i:nth-child(5n) { animation-delay: .6s; }
@keyframes am-eq { 0%,100% { height: 16px; } 50% { height: 68px; } }
@keyframes am-spin { to { transform: rotate(360deg); } }

/* 提示条 */
.am-alert {
    display: flex; align-items: flex-start; gap: 10px;
    padding: 12px 16px;
    border: 1px solid var(--am-line);
    border-left: 3px solid var(--am-green);
    background: var(--am-panel);
    border-radius: 8px;
    color: var(--am-sub);
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 16px;
}
.am-alert .am-ic { color: var(--am-green); margin-top: 2px; }
.am-alert-demo { border-left-color: var(--am-accent); }
.am-alert-demo .am-ic { color: var(--am-accent); }
.am-alert-error { border-left-color: #ff5b5b; color: #ff9a9a; }
.am-alert-error .am-ic { color: #ff5b5b; }

/* 创作台 */
.am-studio { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
.am-card {
    background: var(--am-panel);
    border: 1px solid var(--am-line);
    border-radius: 12px;
    padding: 22px;
}
.am-studio-main { position: relative; }
.am-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.am-tabs { display: flex; gap: 8px; }
.am-tabs button {
    display: inline-flex; align-items: center; gap: 7px;
    height: 36px; padding: 0 16px;
    border-radius: 6px;
    border: 1px solid var(--am-line);
    background: transparent;
    color: var(--am-sub);
    font-size: 13px;
    cursor: pointer;
}
.am-tabs button.active { background: rgba(232,58,100,.12); border-color: var(--am-accent); color: #fff; }
.am-tabs button.active .am-ic { color: var(--am-accent); }

.am-label { display: block; font-size: 13px; color: var(--am-text); margin-bottom: 8px; font-weight: 600; }
.am-label em { color: var(--am-accent); font-style: normal; }
.am-textarea { position: relative; margin-bottom: 14px; }
.am-textarea textarea,
.am-field input,
.am-field select {
    width: 100%;
    background: var(--am-panel2);
    border: 1px solid var(--am-line);
    border-radius: 8px;
    color: var(--am-text);
    font-size: 14px;
    line-height: 1.8;
    padding: 12px 14px;
    outline: none;
    transition: border-color .18s;
    font-family: inherit;
    resize: vertical;
}
.am-textarea textarea:focus,
.am-field input:focus,
.am-field select:focus { border-color: var(--am-accent); }
.am-textarea textarea { padding-bottom: 26px; }
.am-count { position: absolute; right: 12px; bottom: 10px; font-size: 11px; color: #5c6170; }
.am-count b { font-weight: 500; color: var(--am-sub); }

.am-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.am-chips button {
    height: 30px; padding: 0 12px;
    border-radius: 15px;
    border: 1px solid var(--am-line);
    background: transparent;
    color: var(--am-sub);
    font-size: 12px;
    cursor: pointer;
    transition: all .16s;
}
.am-chips button:hover { color: var(--am-text); border-color: #3a3e4a; }
.am-chips button.active { background: var(--am-green); border-color: var(--am-green); color: #10130a; font-weight: 600; }

.am-row { display: grid; grid-template-columns: 1fr 220px; gap: 14px; margin-bottom: 14px; }
.am-field label { display: block; font-size: 12px; color: var(--am-sub); margin-bottom: 6px; }
.am-field input, .am-field select { height: 42px; padding: 0 12px; }
.am-field select { cursor: pointer; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--am-sub) 50%), linear-gradient(135deg, var(--am-sub) 50%, transparent 50%); background-position: calc(100% - 16px) 18px, calc(100% - 11px) 18px; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.am-field select option { background: var(--am-panel2); color: var(--am-text); }

.am-lyric-head { display: flex; align-items: center; justify-content: space-between; margin: 4px 0 10px; }
.am-check { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--am-sub); cursor: pointer; user-select: none; }
.am-check input { width: 15px; height: 15px; accent-color: var(--am-accent); cursor: pointer; }

.am-form-foot {
    display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
    margin-top: 18px; padding-top: 18px;
    border-top: 1px solid var(--am-line);
}
.am-cost { display: flex; align-items: center; gap: 10px; margin-left: auto; font-size: 13px; color: var(--am-sub); }
.am-cost-num { display: inline-flex; align-items: center; gap: 5px; color: #ffcf5c; }
.am-cost-num b { font-size: 17px; color: #ffcf5c; }
.am-cost-free { color: var(--am-green); font-size: 12px; }

/* 登录遮罩 */
.am-login-mask {
    position: absolute; inset: 0;
    background: rgba(17,19,24,.86);
    backdrop-filter: blur(3px);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    z-index: 5;
}
.am-login-box { text-align: center; padding: 24px; max-width: 360px; }
.am-login-box .am-ic-lg { color: var(--am-accent); }
.am-login-box h3 { margin: 12px 0 8px; color: #fff; font-size: 20px; }
.am-login-box p { margin: 0 0 18px; color: var(--am-sub); font-size: 13px; line-height: 1.8; }
.am-login-box .am-btn-primary { margin-right: 10px; }

/* 侧栏 */
.am-side { display: flex; flex-direction: column; gap: 16px; }
.am-side .am-card { padding: 18px; }
.am-side h3 { margin: 0; font-size: 14px; color: #fff; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.am-account-head { display: flex; align-items: center; gap: 12px; }
.am-avatar {
    width: 42px; height: 42px; border-radius: 50%;
    background: var(--am-panel2); border: 1px solid var(--am-line);
    display: flex; align-items: center; justify-content: center; color: var(--am-sub);
    flex: 0 0 auto; overflow: hidden;
}
.am-account-head b { display: block; font-size: 14px; color: #fff; }
.am-account-head span { font-size: 12px; color: var(--am-sub); }
.am-account-nums { display: flex; gap: 12px; margin: 16px 0; }
.am-account-nums div { flex: 1; background: var(--am-panel2); border-radius: 8px; padding: 10px 12px; }
.am-account-nums b { display: block; font-size: 20px; color: #ffcf5c; }
.am-account-nums span { font-size: 11px; color: var(--am-sub); }
.am-account-link { display: flex; align-items: center; justify-content: space-between; font-size: 13px; color: var(--am-sub); border-top: 1px solid var(--am-line); padding-top: 12px; }
.am-account-link:hover { color: var(--am-accent); }

.am-mini-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.am-recent { display: flex; flex-direction: column; gap: 4px; }
.am-recent-item {
    display: flex; align-items: center; gap: 10px;
    padding: 9px 8px; border-radius: 6px;
    transition: background .16s;
}
.am-recent-item:hover { background: var(--am-panel2); }
.am-recent-ic {
    width: 32px; height: 32px; border-radius: 6px;
    background: var(--am-panel2); color: var(--am-sub);
    display: flex; align-items: center; justify-content: center; flex: 0 0 auto;
}
.am-recent-ic.s2 { color: var(--am-green); }
.am-recent-ic.s3 { color: #ff6b6b; }
.am-recent-ic.s0, .am-recent-ic.s1 { color: var(--am-accent); }
.am-recent-main { min-width: 0; flex: 1; }
.am-recent-main b { display: block; font-size: 13px; color: var(--am-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.am-recent-status { font-size: 11px; color: var(--am-sub); font-style: normal; }
.am-spin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--am-line); border-top-color: var(--am-accent); animation: am-spin .8s linear infinite; }
.am-empty-small { color: var(--am-sub); font-size: 12px; padding: 14px 0; text-align: center; }

.am-tips ul { margin: 12px 0 0; padding: 0; list-style: none; }
.am-tips li { font-size: 12px; color: var(--am-sub); line-height: 1.7; padding: 7px 0; border-bottom: 1px dashed var(--am-line); }
.am-tips li:last-child { border-bottom: 0; }
.am-tips li b { color: var(--am-text); font-weight: 600; }

/* 模块标题 */
.am-section-head { display: flex; align-items: center; justify-content: space-between; margin: 34px 0 16px; }
.am-section-head h2 { margin: 0; font-size: 20px; color: #fff; font-weight: 600; }
.am-section-head a { font-size: 13px; color: var(--am-sub); display: inline-flex; align-items: center; gap: 2px; }
.am-section-head a:hover { color: var(--am-accent); }

/* 作品卡片 */
.am-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.am-song { background: var(--am-panel); border: 1px solid var(--am-line); border-radius: 10px; overflow: hidden; transition: border-color .18s, transform .18s; }
.am-song:hover { border-color: #3a3e4a; transform: translateY(-2px); }
.am-song-cover { position: relative; display: block; aspect-ratio: 1 / 1; background: #101116; overflow: hidden; }
.am-song-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.am-cover-empty { display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #242736, #171820); }
.am-cover-text { font-size: 30px; font-weight: 700; color: rgba(255,255,255,.55); letter-spacing: 2px; }
.am-play {
    position: absolute; right: 10px; bottom: 10px;
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--am-accent); color: #fff; border: 0;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(232,58,100,.4);
    transition: transform .16s, background .16s;
}
.am-play:hover { transform: scale(1.08); background: var(--am-accent-d); }
.am-play .am-ic { width: 18px; height: 18px; margin-left: 2px; }
.am-play-lg { width: 64px; height: 64px; right: 18px; bottom: 18px; }
.am-play-lg .am-ic { width: 26px; height: 26px; }
.am-badge-demo { position: absolute; left: 10px; top: 10px; font-size: 11px; padding: 2px 8px; border-radius: 3px; background: rgba(0,0,0,.55); color: #ffcf5c; }
.am-song-body { padding: 12px 14px 14px; }
.am-song-title { display: block; font-size: 14px; color: var(--am-text); font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.am-song-title:hover { color: var(--am-accent); }
.am-song-tags { display: flex; gap: 6px; margin-top: 7px; min-height: 20px; }
.am-song-tags a { font-size: 11px; color: var(--am-sub); background: var(--am-panel2); border-radius: 3px; padding: 2px 7px; }
.am-song-tags a:hover { color: var(--am-green); }
.am-song-meta { display: flex; align-items: center; gap: 12px; margin-top: 9px; font-size: 11px; color: #6b7080; }
.am-song-meta span { display: inline-flex; align-items: center; gap: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.am-song-meta .am-ic { width: 13px; height: 13px; }
.am-song-meta span:last-child { margin-left: auto; max-width: 50%; }

.am-empty { grid-column: 1 / -1; text-align: center; color: var(--am-sub); background: var(--am-panel); border: 1px dashed var(--am-line); border-radius: 10px; padding: 46px 20px; font-size: 14px; }
.am-empty p { margin: 0 0 14px; }

/* 页面头 / 筛选 */
.am-page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.am-page-head h1 { margin: 10px 0 8px; font-size: 30px; color: #fff; font-weight: 700; }
.am-page-head p { margin: 0; color: var(--am-sub); font-size: 13px; }
.am-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; justify-content: space-between; margin-bottom: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--am-line); }
.am-seg { display: flex; gap: 6px; }
.am-seg a { height: 34px; line-height: 32px; padding: 0 14px; border-radius: 6px; border: 1px solid var(--am-line); color: var(--am-sub); font-size: 13px; }
.am-seg a.active, .am-seg a:hover { color: #fff; border-color: var(--am-accent); background: rgba(232,58,100,.1); }
.am-tagbar { display: flex; flex-wrap: wrap; gap: 8px; }
.am-tagbar a { font-size: 12px; color: var(--am-sub); padding: 4px 10px; border-radius: 12px; border: 1px solid transparent; }
.am-tagbar a:hover { color: var(--am-text); border-color: var(--am-line); }
.am-tagbar a.active { color: var(--am-green); border-color: rgba(148,213,0,.4); background: rgba(148,213,0,.08); }

.am-pager { display: flex; justify-content: center; gap: 6px; margin-top: 28px; }
.am-pager a { min-width: 34px; height: 34px; line-height: 32px; text-align: center; border: 1px solid var(--am-line); border-radius: 6px; color: var(--am-sub); font-size: 13px; padding: 0 10px; }
.am-pager a:hover { color: #fff; border-color: var(--am-accent); }
.am-pager a.active { background: var(--am-accent); border-color: var(--am-accent); color: #fff; }

/* 我的作品 */
.am-lib-list { display: flex; flex-direction: column; gap: 14px; }
.am-lib-item {
    display: flex; gap: 16px; align-items: flex-start;
    background: var(--am-panel); border: 1px solid var(--am-line);
    border-radius: 10px; padding: 14px;
}
.am-lib-cover { position: relative; width: 92px; height: 92px; flex: 0 0 auto; border-radius: 8px; overflow: hidden; background: #101116; }
.am-lib-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.am-lib-cover .am-play { width: 32px; height: 32px; right: 6px; bottom: 6px; }
.am-lib-cover .am-play .am-ic { width: 14px; height: 14px; }
.am-lib-cover .am-cover-text { font-size: 20px; }
.am-lib-main { flex: 1; min-width: 0; }
.am-lib-title { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.am-lib-title a { font-size: 16px; color: #fff; font-weight: 600; }
.am-lib-title a:hover { color: var(--am-accent); }
.am-lib-sub { margin-top: 6px; font-size: 12px; color: var(--am-sub); line-height: 1.6; }
.am-lib-meta { display: flex; gap: 16px; margin-top: 10px; font-size: 11px; color: #6b7080; }
.am-lib-meta span { display: inline-flex; align-items: center; gap: 3px; }
.am-lib-meta .am-ic { width: 13px; height: 13px; }
.am-lib-err { margin-top: 8px; font-size: 12px; color: #ff8a8a; }
.am-lib-acts { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; justify-content: flex-end; max-width: 300px; }
.am-chip { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border-radius: 4px; font-size: 11px; }
.am-chip .am-ic { width: 12px; height: 12px; }
.am-chip-ok { color: var(--am-green); background: rgba(148,213,0,.1); }
.am-chip-err { color: #ff7b7b; background: rgba(255,91,91,.1); }
.am-chip-run { color: var(--am-accent); background: rgba(232,58,100,.1); }
.am-chip-muted { color: var(--am-sub); background: var(--am-panel2); }
.am-bar { height: 4px; border-radius: 2px; background: var(--am-line); overflow: hidden; margin-top: 12px; max-width: 420px; }
.am-bar i { display: block; height: 100%; background: var(--am-accent); transition: width .4s; }

/* 详情 */
.am-breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #6b7080; margin-bottom: 20px; }
.am-breadcrumb a:hover { color: var(--am-text); }
.am-breadcrumb em { font-style: normal; color: var(--am-sub); }
.am-detail { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 30px; }
.am-detail-cover { position: relative; width: 100%; aspect-ratio: 1/1; border-radius: 12px; overflow: hidden; background: #101116; border: 1px solid var(--am-line); }
.am-detail-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.am-detail-cover .am-cover-text { font-size: 52px; }
.am-detail-progress { margin-top: 16px; background: var(--am-panel); border: 1px solid var(--am-line); border-radius: 10px; padding: 16px; }
.am-progress-label { display: flex; justify-content: space-between; font-size: 13px; color: var(--am-text); }
.am-progress-label b { color: var(--am-accent); }
.am-bar-lg { height: 6px; max-width: none; }
.am-detail-main { min-width: 0; }
.am-detail-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.am-detail-head h1 { margin: 0 0 12px; font-size: 32px; line-height: 1.3; color: #fff; font-weight: 700; }
.am-detail-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.am-detail-tags a, .am-detail-tags span { font-size: 12px; color: var(--am-sub); background: var(--am-panel2); border: 1px solid var(--am-line); border-radius: 4px; padding: 3px 9px; }
.am-detail-tags a:hover { color: var(--am-green); border-color: rgba(148,213,0,.4); }
.am-detail-tags .am-tag-demo { color: #ffcf5c; border-color: rgba(255,207,92,.3); }
.am-detail-author { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.am-detail-author b { display: block; font-size: 13px; color: var(--am-text); }
.am-detail-author span { font-size: 11px; color: var(--am-sub); }
.am-detail-meta { display: flex; flex-wrap: wrap; gap: 22px; margin: 20px 0; padding: 14px 0; border-top: 1px solid var(--am-line); border-bottom: 1px solid var(--am-line); font-size: 12px; color: var(--am-sub); }
.am-detail-meta span { display: inline-flex; align-items: center; gap: 5px; }
.am-detail-meta b { color: var(--am-text); font-weight: 600; }
.am-detail-acts { display: flex; flex-wrap: wrap; gap: 10px; }
.am-detail-block { margin-top: 26px; background: var(--am-panel); border: 1px solid var(--am-line); border-radius: 10px; padding: 18px 20px; }
.am-detail-block h3 { display: flex; align-items: center; gap: 7px; margin: 0 0 12px; font-size: 14px; color: #fff; font-weight: 600; }
.am-detail-block h3 .am-ic { color: var(--am-accent); }
.am-prompt-text { margin: 0; font-size: 14px; line-height: 2; color: #c5c9d4; }
.am-lyrics-view { font-size: 14px; line-height: 2.1; color: #c5c9d4; max-height: 520px; overflow: auto; word-break: break-word; padding-right: 8px; }
.am-lyrics-sm { font-size: 13px; line-height: 1.9; max-height: 200px; padding-top: 6px; }
.am-lib-lyrics { margin: 4px 0 2px; font-size: 13px; }
.am-lib-lyrics > summary { cursor: pointer; color: var(--am-accent); outline: none; }
.am-lib-lyrics-empty { margin: 4px 0 2px; font-size: 12px; color: var(--am-sub); }
.am-lyrics-view::-webkit-scrollbar { width: 6px; }
.am-lyrics-view::-webkit-scrollbar-thumb { background: #343846; border-radius: 3px; }

/* 底部播放器 */
.am-player {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 999;
    display: flex; align-items: center; gap: 14px;
    padding: 10px 22px;
    background: #15161b;
    border-top: 1px solid var(--am-line);
    box-shadow: 0 -6px 24px rgba(0,0,0,.4);
}
.am-player-cover { width: 46px; height: 46px; border-radius: 6px; object-fit: cover; background: var(--am-panel2); flex: 0 0 auto; display: flex; align-items: center; justify-content: center; color: var(--am-sub); overflow: hidden; }
.am-player-cover img { width: 100%; height: 100%; object-fit: cover; }
.am-player-info { min-width: 0; width: 220px; flex: 0 0 auto; }
.am-player-info b { display: block; font-size: 13px; color: #fff; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.am-player-info span { font-size: 11px; color: var(--am-sub); }
.am-player-btn { width: 38px; height: 38px; border-radius: 50%; border: 0; background: var(--am-accent); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; flex: 0 0 auto; }
.am-player-btn .am-ic { width: 16px; height: 16px; }
.am-player-line { flex: 1; display: flex; align-items: center; gap: 10px; font-size: 11px; color: var(--am-sub); }
.am-player-line input[type=range] { flex: 1; accent-color: var(--am-accent); height: 3px; cursor: pointer; }
.am-player-close { background: none; border: 0; color: var(--am-sub); cursor: pointer; font-size: 18px; line-height: 1; padding: 4px; }
.am-player-close:hover { color: #fff; }

/* 提示 */
.am-toast {
    position: fixed; left: 50%; top: 90px; transform: translateX(-50%);
    background: #24262f; color: #fff; border: 1px solid var(--am-line);
    padding: 10px 18px; border-radius: 8px; font-size: 13px;
    z-index: 1200; box-shadow: 0 10px 30px rgba(0,0,0,.4);
    animation: am-toast-in .2s ease;
}
.am-toast.err { border-color: rgba(255,91,91,.5); color: #ffb3b3; }
@keyframes am-toast-in { from { opacity: 0; transform: translate(-50%, -8px); } }

/* 响应式 */
@media (max-width: 1100px) {
    .am-studio { grid-template-columns: 1fr; }
    .am-side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .am-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .am-detail { grid-template-columns: 260px minmax(0, 1fr); gap: 20px; }
    .am-hero-art { display: none; }
}
@media (max-width: 768px) {
    .am-page { padding-top: 16px; }
    .am-hero { padding: 24px; }
    .am-hero h1 { font-size: 28px; }
    .am-hero-stats { gap: 20px; }
    .am-row { grid-template-columns: 1fr; }
    .am-form-foot { flex-direction: column; align-items: stretch; }
    .am-cost { margin-left: 0; }
    .am-btn-primary { width: 100%; }
    .am-side { grid-template-columns: 1fr; }
    .am-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .am-page-head { flex-direction: column; align-items: flex-start; }
    .am-page-head h1 { font-size: 24px; }
    .am-detail { grid-template-columns: 1fr; }
    .am-detail-cover { max-width: 320px; }
    .am-detail-head { flex-direction: column; }
    .am-detail-head h1 { font-size: 24px; }
    .am-lib-item { flex-wrap: wrap; }
    .am-lib-acts { max-width: none; width: 100%; justify-content: flex-start; }
    .am-lib-acts .am-btn-sm { flex: 1; }
    .am-player { padding: 8px 12px; gap: 10px; }
    .am-player-info { width: auto; flex: 1; }
    .am-player-line { display: none; }
}

/* 创作台新增选项 */
.am-mode-tip { font-size: 12px; color: var(--am-sub); margin: -4px 0 14px; line-height: 1.6; }
.am-model-desc { font-size: 12px; color: var(--am-sub); margin-top: 6px; line-height: 1.5; }
.am-field-tip { font-size: 11px; color: var(--am-sub); margin-top: 5px; opacity: .8; }
.am-field select:disabled { opacity: .5; cursor: not-allowed; }
.am-adv { margin: 2px 0 16px; padding: 10px 14px; border: 1px dashed var(--am-line); border-radius: 10px; background: rgba(255,255,255,.02); }
.am-adv summary { cursor: pointer; font-size: 13px; color: var(--am-sub); }
.am-slider { margin-top: 12px; }
.am-slider label { display: flex; justify-content: space-between; font-size: 12px; color: var(--am-sub); margin-bottom: 6px; }
.am-slider label b { color: var(--am-accent); font-weight: 600; }
.am-slider input[type=range] { width: 100%; accent-color: var(--am-accent); }
.am-off { margin: 0 0 16px; padding: 12px 16px; border: 1px dashed var(--am-line); border-radius: 10px; background: rgba(255,255,255,.02); opacity: .72; }
.am-off-head { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--am-sub); font-weight: 600; }
.am-off p { margin: 6px 0 0; font-size: 12px; color: var(--am-sub); line-height: 1.6; }
