/* ==========================================================================
   个人空间 · 播放页 · 空间广场 · 排行榜 · 装扮空间（v18，5sing 音乐空间版式）
   依赖 ui.css 的全局变量与 body.theme-paper 基底
   ========================================================================== */

/* ---------- 作用域与令牌 ---------- */
.sp, .q {
    --sp-ink: #eceae3;
    --sp-ink2: #b6b9bf;
    --sp-ink3: #8d9199;
    --sp-ink4: #6e737a;
    --sp-line: #24262a;
    --sp-card: #11141a;
    --sp-bg: #0c0d10;
    --sp-radius: 14px;
    --sp-shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 6px 22px -12px rgba(0, 0, 0, .8);
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", sans-serif;
    color: var(--sp-ink);
}

.sp[data-tone="dark"] {
    --sp-ink: #e9e7df;
    --sp-ink2: #b9b6ac;
    --sp-ink3: #8a887f;
    --sp-ink4: #d0cfcb;
    --sp-line: #2e2c27;
    --sp-card: #201f1b;
    --sp-bg: #16181a;
    --sp-shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 28px -12px rgba(0, 0, 0, .5);
}

/* ==========================================================================
   头图横幅（5sing 式）
   ========================================================================== */
.sp-banner {
    position: relative;
    background:
        radial-gradient(120% 160% at 88% -20%, var(--ac-soft, rgba(212,175,55, .14)) 0%, transparent 55%),
        linear-gradient(135deg, color-mix(in srgb, var(--ac, #d4af37) 14%, #0e0d0a) 0%, #12120f 58%, #161512 100%);
    border-bottom: 1px solid var(--sp-line);
    overflow: hidden;
}

@supports not (background: color-mix(in srgb, red 10%, blue)) {
    .sp-banner { background: linear-gradient(135deg, #131310 0%, #12120f 60%, #161512 100%); }
}

.sp-banner.has-img {
    background-size: cover;
    background-position: center 30%;
}

.sp-banner-veil {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, .10) 0%, rgba(10,11,14,.66) 62%, rgba(10,11,14,.92) 100%);
    pointer-events: none;
}

.sp[data-tone="dark"] .sp-banner-veil {
    background: linear-gradient(180deg, rgba(22, 24, 26, .25) 0%, rgba(22, 24, 26, .78) 62%, rgba(22, 24, 26, .95) 100%);
}

.sp-head {
    position: relative;
    display: grid;
    grid-template-columns: 128px minmax(0, 1fr) auto;
    grid-template-areas:
        "ava id acts"
        "stats stats stats";
    gap: 6px 26px;
    align-items: start;
    padding: 44px 0 20px;
}

.sp-ava {
    grid-area: ava;
    width: 128px;
    height: 128px;
    border-radius: 50%;
    border: 4px solid rgba(10,11,14,.92);
    background: #181714;
    box-shadow: 0 4px 18px -6px rgba(20, 24, 22, .28);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -6px;
}

.sp-ava img { width: 100%; height: 100%; object-fit: cover; }

.sp-ava span {
    font-size: 46px;
    font-weight: 600;
    color: var(--ac, #d4af37);
    opacity: .85;
}

.sp-id { grid-area: id; min-width: 0; padding-top: 2px; }

.sp-name {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 6px;
    font-size: 25px;
    font-weight: 700;
    letter-spacing: .5px;
    line-height: 1.25;
}

.sp-name em.sp-mine {
    font-style: normal;
    font-size: 11.5px;
    font-weight: 600;
    color: var(--ac, #d4af37);
    border: 1px solid var(--ac-line, rgba(212,175,55, .3));
    background: var(--ac-soft, rgba(212,175,55, .08));
    padding: 2px 9px;
    border-radius: 99px;
    letter-spacing: 1px;
}

.sp-idline {
    margin: 0 0 8px;
    font-size: 12.5px;
    color: var(--sp-ink3);
}

.sp-idline b { font-weight: 600; color: var(--sp-ink2); }
.sp-idline i { font-style: normal; margin: 0 8px; opacity: .55; }

.sp-sign {
    margin: 0;
    font-size: 13.5px;
    line-height: 1.75;
    color: var(--sp-ink2);
    max-width: 640px;
}

.sp-sign.empty { color: var(--sp-ink4); font-style: normal; }

.sp-acts {
    grid-area: acts;
    display: flex;
    gap: 9px;
    flex-wrap: wrap;
    justify-content: flex-end;
    padding-top: 6px;
}

/* 通用按钮 */
.sp-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 38px;
    padding: 0 22px;
    border-radius: 99px;
    border: 1px solid var(--ac-line, rgba(212,175,55, .3));
    background: transparent;
    color: var(--ac, #d4af37);
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all .16s ease;
    white-space: nowrap;
}

.sp-btn:hover { background: var(--ac-soft, rgba(212,175,55, .08)); }

.sp-btn.main {
    background: var(--ac, #d4af37);
    border-color: var(--ac, #d4af37);
    color: #fff;
    box-shadow: 0 6px 16px -8px color-mix(in srgb, var(--ac, #d4af37) 70%, transparent);
}

@supports not (background: color-mix(in srgb, red 10%, blue)) {
    .sp-btn.main { box-shadow: 0 6px 14px -8px rgba(212,175,55, .55); }
}

.sp-btn.main:hover { filter: brightness(1.06); }

.sp-btn.done {
    background: transparent;
    border-color: var(--sp-line);
    color: var(--sp-ink3);
    box-shadow: none;
}

.sp-btn.done:hover { background: transparent; color: var(--sp-ink3); }
.sp-btn.sm { height: 30px; padding: 0 14px; font-size: 12px; }

.sp-btn.ghost { border-color: var(--sp-line); color: var(--sp-ink2); }
.sp-btn.ghost b { font-weight: 700; color: var(--ac, #d4af37); }

/* 统计行 */
.sp-stats {
    grid-area: stats;
    display: flex;
    align-items: center;
    gap: 34px;
    margin-top: 16px;
    padding: 12px 2px 0;
    border-top: 1px solid rgba(0, 0, 0, .06);
}

.sp[data-tone="dark"] .sp-stats { border-top-color: rgba(255, 255, 255, .07); }

.sp-stats a, .sp-stats span {
    display: flex;
    align-items: baseline;
    gap: 7px;
    text-decoration: none;
    color: var(--sp-ink2);
    font-size: 12.5px;
}

.sp-stats b {
    font-size: 19px;
    font-weight: 700;
    color: var(--sp-ink);
    font-variant-numeric: tabular-nums;
    letter-spacing: .3px;
}

.sp-stats a:hover b { color: var(--ac, #d4af37); }

/* ==========================================================================
   标签栏
   ========================================================================== */
.sp-tabs {
    background: var(--sp-card);
    border-bottom: 1px solid var(--sp-line);
    position: sticky;
    top: 0;
    z-index: 30;
}

.sp-tabs-in {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    scrollbar-width: none;
}

.sp-tabs-in::-webkit-scrollbar { display: none; }

.sp-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 13px 16px 12px;
    font-size: 14px;
    color: var(--sp-ink2);
    text-decoration: none;
    border-bottom: 2.5px solid transparent;
    white-space: nowrap;
    transition: color .15s ease;
}

.sp-tab i {
    font-style: normal;
    font-size: 11px;
    color: var(--sp-ink3);
    background: var(--sp-bg);
    border-radius: 99px;
    padding: 1px 7px;
    font-variant-numeric: tabular-nums;
}

.sp-tab:hover { color: var(--sp-ink); }

.sp-tab.on {
    color: var(--ac, #d4af37);
    font-weight: 700;
    border-bottom-color: var(--ac, #d4af37);
}

.sp-tab.on i { background: var(--ac-soft, rgba(212,175,55, .1)); color: var(--ac, #d4af37); }

.sp-tab-admin { margin-left: auto; color: var(--sp-ink3); }

/* ==========================================================================
   主体两栏
   ========================================================================== */
.sp-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 296px;
    gap: 22px;
    padding: 22px 0 46px;
    align-items: start;
}

.sp-main { min-width: 0; display: flex; flex-direction: column; gap: 18px; }
.sp-side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 58px; }

.sp-block, .sp-wcard, .q-card {
    background: var(--sp-card);
    border: 1px solid var(--sp-line);
    border-radius: var(--sp-radius);
    box-shadow: var(--sp-shadow);
}

.sp-block { padding: 18px 20px 20px; }

.sp-bhead {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}

.sp-bhead h2 {
    margin: 0;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: .5px;
    display: flex;
    align-items: baseline;
    gap: 9px;
}

.sp-bhead h2 em {
    font-style: normal;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--sp-ink4);
}

.sp-bhead h2 small { font-size: 12px; font-weight: 500; color: var(--sp-ink3); }

.sp-bhead-r { display: flex; align-items: center; gap: 14px; }

.sp-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12.5px;
    color: var(--ac, #d4af37);
    text-decoration: none;
    font-weight: 600;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 0;
}

.sp-link:hover { text-decoration: underline; }
.sp-hint { font-size: 11.5px; color: var(--sp-ink4); }

/* ==========================================================================
   歌曲行（5sing 列表）
   ========================================================================== */
.sp-songlist { display: flex; flex-direction: column; }

.sp-song {
    display: grid;
    grid-template-columns: 30px 52px minmax(0, 1fr) auto;
    gap: 0 14px;
    align-items: center;
    padding: 11px 2px;
    border-bottom: 1px dashed var(--sp-line);
    transition: background .14s ease;
}

.sp-song:last-child { border-bottom: 0; }
.sp-song:hover { background: color-mix(in srgb, var(--ac, #d4af37) 4%, transparent); }

@supports not (background: color-mix(in srgb, red 10%, blue)) {
    .sp-song:hover { background: #0f0f0c; }
}

.sp-song-idx {
    font-size: 12px;
    color: var(--sp-ink4);
    font-variant-numeric: tabular-nums;
    text-align: center;
    font-style: italic;
}

.sp-song-art {
    position: relative;
    width: 52px;
    height: 52px;
    border-radius: 9px;
    overflow: hidden;
    background: linear-gradient(135deg, #151412, #1b1a17);
    flex: none;
}

.sp-song-art img { width: 100%; height: 100%; object-fit: cover; display: block; }

.sp-song-art .sp-ph {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b9b7ad;
    font-size: 20px;
}

.sp-song-play {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(18, 22, 20, .45);
    color: #fff;
    font-size: 15px;
    opacity: 0;
    cursor: pointer;
    transition: opacity .15s ease;
}

.sp-song-art:hover .sp-song-play, .sp-song-play.playing { opacity: 1; }

.sp-song-main { min-width: 0; }

.sp-song-name {
    display: inline-block;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 14.5px;
    font-weight: 600;
    color: var(--sp-ink);
    text-decoration: none;
    vertical-align: middle;
}

.sp-song-name:hover { color: var(--ac, #d4af37); }

.sp-song-sub {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 3px;
    font-size: 12px;
    color: var(--sp-ink3);
}

.sp-song-ar { color: var(--sp-ink3); text-decoration: none; }
.sp-song-ar:hover { color: var(--ac, #d4af37); text-decoration: underline; }

.sp-song-acts {
    display: flex;
    align-items: center;
    gap: 2px;
    opacity: .55;
    transition: opacity .15s ease;
}

.sp-song:hover .sp-song-acts { opacity: 1; }

.sp-ica {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 5px 8px;
    border: 0;
    background: none;
    color: var(--sp-ink3);
    font-size: 10.5px;
    cursor: pointer;
    text-decoration: none;
    border-radius: 8px;
    transition: all .13s ease;
}

.sp-ica i { font-style: normal; }
.sp-ica:hover { color: var(--ac, #d4af37); background: var(--ac-soft, rgba(212,175,55, .07)); }
.sp-ica.playing { color: var(--ac, #d4af37); }
.sp-ica-x { font-size: 15px; }
.sp-ica-x:hover { color: #e2604f; background: rgba(179, 66, 58, .08); }

/* 音质胶囊（沿用全局 q-q） */
.q-q {
    display: inline-block;
    vertical-align: middle;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .5px;
    padding: 1px 6px;
    border-radius: 5px;
    margin-left: 8px;
    background: #121310;
    color: #8a948c;
    border: 1px solid #1a1b17;
}

.q-q.hires { background: #17150f; color: #e2c56a; border-color: #252117; }
.q-q.master { background: #16100e; color: #d4694f; border-color: #211914; }
.q-q.lossless { background: #171208; color: #e4cb96; border-color: #2e2410; }

/* ==========================================================================
   动态（近况）
   ========================================================================== */
.sp-dyns { display: flex; flex-direction: column; }

.sp-dyn {
    display: grid;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 16px;
    padding: 13px 2px;
    border-bottom: 1px dashed var(--sp-line);
}

.sp-dyn:last-child { border-bottom: 0; }

.sp-dyn-date {
    font-size: 12px;
    color: var(--sp-ink4);
    font-variant-numeric: tabular-nums;
    padding-top: 2px;
}

.sp-dyn-body { min-width: 0; }

.sp-dyn-text {
    margin: 0 0 8px;
    font-size: 13.5px;
    line-height: 1.8;
    color: var(--sp-ink2);
    white-space: pre-wrap;
    word-break: break-word;
}

.sp-dyn-song { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }

.sp-dyn-chip {
    font-size: 10.5px;
    font-weight: 600;
    color: var(--ac, #d4af37);
    background: var(--ac-soft, rgba(212,175,55, .08));
    border-radius: 5px;
    padding: 2px 7px;
    flex: none;
}

.sp-dyn-play {
    border: 0;
    background: none;
    padding: 0;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--sp-ink);
    cursor: pointer;
}

.sp-dyn-play:hover { color: var(--ac, #d4af37); text-decoration: underline; }
.sp-dyn-play.playing { color: var(--ac, #d4af37); }

.sp-dyn-ar { font-size: 12px; color: var(--sp-ink3); }
.sp-dyn-meta { font-size: 11.5px; color: var(--sp-ink4); }

.sp-dyn-foot {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 9px;
}

.sp-act {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 0;
    background: none;
    padding: 0;
    font-size: 12px;
    color: var(--sp-ink3);
    cursor: pointer;
    text-decoration: none;
}

.sp-act:hover { color: var(--ac, #d4af37); }
.sp-act.on { color: #e2604f; }
.sp-act.on svg { fill: #e2604f; }
.sp-act b { font-weight: 600; font-variant-numeric: tabular-nums; }
.sp-act.danger:hover { color: #e2604f; }

/* ==========================================================================
   侧栏挂件
   ========================================================================== */
.sp-wcard, .q-card { padding: 16px 18px 18px; }

.sp-whead {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 13px;
}

.sp-whead h3 { margin: 0; font-size: 14.5px; font-weight: 700; letter-spacing: .4px; }
.sp-whead a, .sp-whead span, .sp-whead i {
    font-size: 11.5px;
    color: var(--sp-ink4);
    font-style: normal;
    text-decoration: none;
}

.sp-whead a:hover { color: var(--ac, #d4af37); }

/* 关注网格 */
.sp-fgrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px 8px;
}

.sp-fitem {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    text-align: center;
}

.sp-fitem-ava {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #151412, #1b1a17);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sp-fitem-ava img { width: 100%; height: 100%; object-fit: cover; }

.sp-fitem-ava i {
    font-style: normal;
    font-size: 20px;
    font-weight: 600;
    color: #a8a699;
}

.sp-fitem-nm {
    max-width: 100%;
    font-size: 12px;
    font-weight: 600;
    color: var(--sp-ink);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sp-fitem:hover .sp-fitem-nm { color: var(--ac, #d4af37); }
.sp-fitem-sub { font-size: 10.5px; color: var(--sp-ink4); }

/* 头像墙（粉丝 / 访客） */
.sp-fava { display: flex; flex-wrap: wrap; gap: 9px; }

.sp-fava-i {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #151412, #1b1a17);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.sp-fava-i img { width: 100%; height: 100%; object-fit: cover; }
.sp-fava-i i { font-style: normal; font-size: 16px; font-weight: 600; color: #383834; }

/* 等级 */
.sp-medal, .q-medal {
    display: flex;
    align-items: center;
    gap: 14px;
}

.sp-medal-main { min-width: 0; }
.sp-medal-name { font-size: 15px; font-weight: 700; color: var(--sp-ink); }
.sp-medal-sub { margin-top: 3px; font-size: 11.5px; color: var(--sp-ink3); }
.sp-medal-sub b { color: var(--ac, #d4af37); }

.q-ring { position: relative; flex: none; }
.q-ring svg { display: block; }
.q-ring .track { stroke: rgba(0, 0, 0, .07); }
.q-ring .bar { stroke: var(--ac, #d4af37); stroke-linecap: round; transform: rotate(-90deg); transform-origin: 50% 50%; }

.q-ring-in {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.q-ring-in b { font-size: 22px; font-weight: 800; color: var(--sp-ink); line-height: 1; }
.q-ring-in span { font-size: 8.5px; letter-spacing: 1.5px; color: var(--sp-ink4); margin-top: 3px; text-transform: uppercase; }

.sp-bar, .q-bar {
    height: 5px;
    border-radius: 99px;
    background: rgba(0, 0, 0, .06);
    overflow: hidden;
    margin: 12px 0 4px;
}

.sp[data-tone="dark"] .sp-bar, .sp[data-tone="dark"] .q-bar { background: rgba(255, 255, 255, .1); }

.sp-bar i, .q-bar i {
    display: block;
    height: 100%;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--ac, #d4af37), color-mix(in srgb, var(--ac, #d4af37) 62%, #f0dda8));
    transition: width .4s ease;
}

@supports not (background: color-mix(in srgb, red 10%, blue)) {
    .sp-bar i, .q-bar i { background: var(--ac, #d4af37); }
}

.sp-bar.q i { background: linear-gradient(90deg, #d4af37, #e2c56a); }

.sp-cap {
    display: flex;
    justify-content: space-between;
    font-size: 11.5px;
    color: var(--sp-ink3);
    margin-top: 7px;
}

.sp-cap b { color: var(--sp-ink2); font-variant-numeric: tabular-nums; }
.sp-note { font-size: 11.5px; color: var(--sp-ink4); line-height: 1.7; margin: 8px 0 0; }

/* 数据小格 */
.sp-nums {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.sp-nums span {
    background: var(--sp-bg);
    border-radius: 10px;
    padding: 10px 12px;
    font-size: 11px;
    color: var(--sp-ink3);
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.sp-nums b { font-size: 17px; font-weight: 700; color: var(--sp-ink); font-variant-numeric: tabular-nums; }

/* ==========================================================================
   留言板
   ========================================================================== */
.sp-gbform {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
    background: var(--sp-bg);
    border-radius: 12px;
    margin-bottom: 18px;
}

.sp-gbform-ava {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
    background: #1a1916;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sp-gbform-ava img { width: 100%; height: 100%; object-fit: cover; }
.sp-gbform-ava span { font-size: 18px; font-weight: 600; color: #383834; }

.sp-gbform-main textarea {
    width: 100%;
    border: 1px solid var(--sp-line);
    border-radius: 10px;
    background: var(--sp-card);
    color: var(--sp-ink);
    padding: 10px 12px;
    font: inherit;
    font-size: 13px;
    line-height: 1.7;
    resize: vertical;
}

.sp-gbform-main textarea:focus { outline: none; border-color: var(--ac, #d4af37); }

.sp-gbform-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 8px;
}

.sp-gblist { display: flex; flex-direction: column; }

.sp-gb {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 12px;
    padding: 14px 2px;
    border-bottom: 1px dashed var(--sp-line);
}

.sp-gb:last-child { border-bottom: 0; }

.sp-gb-ava {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #151412, #1b1a17);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sp-gb-ava img { width: 100%; height: 100%; object-fit: cover; }
.sp-gb-ava span { font-size: 16px; font-weight: 600; color: #383834; }

.sp-gb-top {
    display: flex;
    align-items: baseline;
    gap: 10px;
    font-size: 13px;
}

.sp-gb-top a { color: var(--sp-ink); font-weight: 600; text-decoration: none; }
.sp-gb-top a:hover { color: var(--ac, #d4af37); }
.sp-gb-top b { font-weight: 600; }
.sp-gb-top .t { font-size: 11px; color: var(--sp-ink4); margin-left: auto; }

.sp-gb-text {
    margin: 6px 0 0;
    font-size: 13px;
    line-height: 1.8;
    color: var(--sp-ink2);
    white-space: pre-wrap;
    word-break: break-word;
}

.sp-gb-reply {
    margin-top: 9px;
    padding: 8px 12px;
    background: var(--ac-soft, rgba(212,175,55, .07));
    border-radius: 9px;
    font-size: 12.5px;
    line-height: 1.7;
    color: var(--sp-ink2);
}

.sp-gb-reply b { color: var(--ac, #d4af37); }

.sp-gb-tools { display: flex; gap: 12px; margin-top: 8px; }

.sp-gb-tools button {
    border: 0;
    background: none;
    padding: 0;
    font-size: 11.5px;
    color: var(--sp-ink4);
    cursor: pointer;
}

.sp-gb-tools button:hover { color: var(--ac, #d4af37); }

/* ==========================================================================
   关注 / 粉丝 用户卡
   ========================================================================== */
.sp-ucards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
}

.sp-ucard {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 12px 14px;
    border: 1px solid var(--sp-line);
    border-radius: 12px;
    background: var(--sp-card);
    transition: border-color .15s ease, box-shadow .15s ease;
}

.sp-ucard:hover { border-color: var(--ac-line, rgba(212,175,55, .3)); box-shadow: var(--sp-shadow); }

.sp-ucard-ava {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #151412, #1b1a17);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sp-ucard-ava img { width: 100%; height: 100%; object-fit: cover; }
.sp-ucard-ava span { font-size: 19px; font-weight: 600; color: #383834; }

.sp-ucard-main { min-width: 0; }

.sp-ucard-name {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--sp-ink);
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sp-ucard-name:hover { color: var(--ac, #d4af37); }

.sp-ucard-sub {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 4px;
    font-size: 11.5px;
    color: var(--sp-ink3);
}

.sp-mutual {
    font-size: 11px;
    color: var(--ac, #d4af37);
    border: 1px solid var(--ac-line, rgba(212,175,55, .3));
    padding: 2px 9px;
    border-radius: 99px;
}

/* ==========================================================================
   空状态
   ========================================================================== */
.sp-empty, .q-empty {
    padding: 34px 16px;
    text-align: center;
    font-size: 13px;
    color: var(--sp-ink3);
    line-height: 2;
}

.sp-empty a, .q-empty a { color: var(--ac, #d4af37); font-weight: 600; text-decoration: none; }

.sp-ph {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b9b7ad;
    font-size: 18px;
}

/* ==========================================================================
   播放页 play.php
   ========================================================================== */
.pp-wrap { padding: 20px 0 50px; }

.pp-crumb {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 12.5px;
    color: var(--sp-ink3);
    margin-bottom: 18px;
}

.pp-crumb a { color: var(--sp-ink3); text-decoration: none; }
.pp-crumb a:hover { color: var(--ac, #d4af37); }
.pp-crumb .cur { color: var(--sp-ink2); }

.pp-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 22px;
    align-items: start;
}

.pp-main { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.pp-side { display: flex; flex-direction: column; gap: 16px; }

.pp-hero {
    display: grid;
    grid-template-columns: 232px minmax(0, 1fr);
    gap: 28px;
    background: var(--sp-card);
    border: 1px solid var(--sp-line);
    border-radius: var(--sp-radius);
    box-shadow: var(--sp-shadow);
    padding: 26px;
}

.pp-cover {
    position: relative;
    width: 232px;
    height: 232px;
    border-radius: 12px;
    overflow: hidden;
    background: linear-gradient(135deg, #151412, #1d1c19);
    box-shadow: 0 14px 34px -14px rgba(20, 24, 22, .35);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pp-cover img { width: 100%; height: 100%; object-fit: cover; }
.pp-cover.is-ph span { font-size: 64px; color: #2f2f2c; }

.pp-disc {
    position: absolute;
    right: -46px;
    top: 50%;
    width: 150px;
    height: 150px;
    margin-top: -75px;
    border-radius: 50%;
    background:
        radial-gradient(circle at center, #3a3a3a 0 8%, #191919 8% 100%);
    opacity: 0;
    transition: all .6s cubic-bezier(.2, .7, .2, 1);
    pointer-events: none;
}

.pp-disc::after {
    content: "";
    position: absolute;
    inset: 34%;
    border-radius: 50%;
    background: radial-gradient(circle, var(--ac, #d4af37) 0 30%, #14181a 31%);
}

.pp-cover img + .pp-disc { opacity: .92; right: -34px; }

.pp-info { min-width: 0; display: flex; flex-direction: column; }

.pp-title {
    margin: 4px 0 8px;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: .4px;
    line-height: 1.3;
    color: var(--sp-ink);
    word-break: break-word;
}

.pp-artist { margin: 0 0 14px; font-size: 14px; color: var(--sp-ink2); }
.pp-artist a { color: var(--ac, #d4af37); font-weight: 600; text-decoration: none; }
.pp-artist a:hover { text-decoration: underline; }

.pp-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 22px;
    font-size: 12.5px;
    color: var(--sp-ink3);
    padding: 12px 0;
    border-top: 1px dashed var(--sp-line);
}

.pp-meta b { color: var(--sp-ink2); font-weight: 600; }
.pp-meta a { color: var(--sp-ink2); text-decoration: none; }
.pp-meta a:hover b { color: var(--ac, #d4af37); }

.pp-acts {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 11px;
    margin-top: 14px;
}

.pp-play {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    height: 46px;
    padding: 0 30px;
    border: 0;
    border-radius: 99px;
    background: var(--ac, #d4af37);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 22px -10px rgba(212,175,55, .65);
    transition: filter .15s ease, transform .1s ease;
}

.pp-play:hover { filter: brightness(1.07); }
.pp-play:active { transform: scale(.97); }
.pp-play.playing { opacity: .85; }

.pp-ghost {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 42px;
    padding: 0 20px;
    border-radius: 99px;
    border: 1px solid var(--sp-line);
    background: var(--sp-card);
    color: var(--sp-ink2);
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all .15s ease;
}

.pp-ghost:hover { border-color: var(--ac-line, rgba(212,175,55, .3)); color: var(--ac, #d4af37); }

.pp-more { margin-top: 16px; font-size: 12px; color: var(--sp-ink4); }
.pp-more a { color: var(--ac, #d4af37); text-decoration: none; font-weight: 600; }
.pp-more a:hover { text-decoration: underline; }

/* 附言引用 */
.pp-quote {
    background: var(--sp-card);
    border: 1px solid var(--sp-line);
    border-left: 3px solid var(--ac, #d4af37);
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: var(--sp-shadow);
}

.pp-quote-head {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 12.5px;
    color: var(--sp-ink3);
}

.pp-quote-head img, .pp-quote-head span:first-child {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    object-fit: cover;
    background: #1a1916;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: #a8a699;
}

.pp-quote-head b { color: var(--sp-ink); font-size: 13px; }
.pp-quote-head .t { margin-left: auto; font-size: 11px; color: var(--sp-ink4); }

.pp-quote p { margin: 10px 0; font-size: 13.5px; line-height: 1.85; color: var(--sp-ink2); }

.pp-quote-foot {
    display: flex;
    gap: 18px;
    font-size: 11.5px;
    color: var(--sp-ink4);
    border-top: 1px dashed var(--sp-line);
    padding-top: 10px;
}

.pp-quote-foot a { margin-left: auto; color: var(--ac, #d4af37); text-decoration: none; }

/* 信息块 */
.pp-block {
    background: var(--sp-card);
    border: 1px solid var(--sp-line);
    border-radius: var(--sp-radius);
    box-shadow: var(--sp-shadow);
    padding: 18px 20px;
}

.pp-bhead { margin-bottom: 12px; }
.pp-bhead h2 { margin: 0; font-size: 15.5px; font-weight: 700; letter-spacing: .4px; }

.pp-facts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 8px 22px;
}

.pp-fact {
    display: flex;
    gap: 12px;
    font-size: 13px;
    color: var(--sp-ink2);
    padding: 7px 0;
    border-bottom: 1px dashed var(--sp-line);
    min-width: 0;
}

.pp-fact:nth-last-child(-n+2) { border-bottom: 0; }

.pp-fact i {
    font-style: normal;
    flex: none;
    width: 62px;
    color: var(--sp-ink4);
    font-size: 12px;
}

.pp-fact a { color: var(--ac, #d4af37); text-decoration: none; }
.pp-fact a:hover { text-decoration: underline; }

/* 侧栏 */
.pp-wcard {
    background: var(--sp-card);
    border: 1px solid var(--sp-line);
    border-radius: var(--sp-radius);
    box-shadow: var(--sp-shadow);
    padding: 16px 18px;
}

.pp-whead {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 12px;
}

.pp-whead h3 { margin: 0; font-size: 14.5px; font-weight: 700; }
.pp-whead i { font-style: normal; font-size: 11px; color: var(--sp-ink4); }

.pp-hotlist { display: flex; flex-direction: column; }

.pp-hot {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 8px 0;
    border-bottom: 1px dashed var(--sp-line);
}

.pp-hot:last-child { border-bottom: 0; }

.pp-hot .idx {
    flex: none;
    width: 20px;
    text-align: center;
    font-size: 12px;
    font-style: italic;
    color: var(--sp-ink4);
    font-variant-numeric: tabular-nums;
}

.pp-hot .idx.top { color: var(--ac, #d4af37); font-weight: 800; font-style: normal; }

.pp-hot-main { min-width: 0; }

.pp-hot .nm {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--sp-ink);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pp-hot .sub {
    display: block;
    font-size: 11px;
    color: var(--sp-ink4);
    margin-top: 2px;
}

.pp-note { font-size: 12px; color: var(--sp-ink3); line-height: 1.9; margin: 0; }

.pp-savers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px 6px; }

.pp-saver {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    text-decoration: none;
}

.pp-saver img, .pp-saver i {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    object-fit: cover;
    background: linear-gradient(135deg, #151412, #1b1a17);
    display: flex;
    align-items: center;
    justify-content: center;
    font-style: normal;
    font-size: 17px;
    font-weight: 600;
    color: #a8a699;
}

.pp-saver span {
    max-width: 100%;
    font-size: 11px;
    color: var(--sp-ink2);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ==========================================================================
   空间广场（q-* 旧类名保留）
   ========================================================================== */
.q-plaza { padding: 26px 0 50px; }

.q-plaza-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.q-plaza-head h1 {
    margin: 0 0 6px;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: .5px;
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.q-plaza-head h1 em {
    font-style: normal;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--sp-ink4, #b3b7bd);
}

.q-plaza-head p { margin: 0; font-size: 13px; color: var(--sp-ink3, #3c3e40); }

.q-search {
    display: flex;
    align-items: center;
    gap: 8px;
}

.q-search input {
    height: 38px;
    border: 1px solid var(--sp-line, #171715);
    border-radius: 99px;
    background: var(--surface);
    padding: 0 16px;
    font: inherit;
    font-size: 13px;
    width: 220px;
}

.q-search input:focus { outline: none; border-color: var(--ac, #d4af37); }

.q-plaza-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
}

.q-pcard {
    display: block;
    text-decoration: none;
    background: var(--sp-card, #11141a);
    border: 1px solid var(--sp-line, #171715);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: var(--sp-shadow, 0 1px 2px rgba(20, 24, 22, .04));
    transition: transform .16s ease, box-shadow .16s ease;
}

.q-pcard:hover { transform: translateY(-3px); box-shadow: 0 14px 30px -14px rgba(20, 24, 22, .25); }

.q-pcard-cover {
    display: block;
    height: 110px;
    background:
        radial-gradient(120% 160% at 85% -20%, var(--ac-soft, rgba(212,175,55, .16)) 0%, transparent 55%),
        linear-gradient(135deg, #171612, #1d1c19);
    background-size: cover;
    background-position: center 30%;
}

.q-pcard-in {
    display: block;
    padding: 0 16px 14px;
    position: relative;
}

.q-pcard-ava {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 3px solid #0a0b0e;
    background: linear-gradient(135deg, #151412, #1b1a17);
    overflow: hidden;
    margin-top: -27px;
    margin-bottom: 8px;
}

.q-pcard-ava img { width: 100%; height: 100%; object-fit: cover; }
.q-pcard-ava i { font-style: normal; font-size: 20px; font-weight: 600; color: #383834; }

.q-pcard-name {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    color: var(--sp-ink, #e0e1e4);
}

.q-pcard-name span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.q-pcard-sign {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: var(--sp-ink3, #8b8f96);
    line-height: 1.6;
    height: 2.6em;
    overflow: hidden;
}

.q-pcard-foot {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 10px;
    font-size: 11.5px;
    color: var(--sp-ink3, #8b8f96);
}

.q-pcard-foot b { color: var(--sp-ink, #26282c); font-variant-numeric: tabular-nums; }
.q-pcard-foot i { font-style: normal; opacity: .5; }

/* ==========================================================================
   空间排行榜（q-tabs / q-ritem）
   ========================================================================== */
.q-rank-page { padding: 26px 0 50px; }

.q-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.q-tab {
    padding: 8px 18px;
    border-radius: 99px;
    border: 1px solid var(--sp-line, #171715);
    background: var(--sp-card, #11141a);
    color: var(--sp-ink2, #ccced1);
    font-size: 13px;
    text-decoration: none;
    transition: all .15s ease;
}

.q-tab:hover { border-color: var(--ac-line, rgba(212,175,55, .3)); color: var(--ac, #d4af37); }

.q-tab.on {
    background: var(--ac, #d4af37);
    border-color: var(--ac, #d4af37);
    color: #fff;
    font-weight: 600;
}

.q-rank-desc { margin: 0 0 18px; font-size: 12.5px; color: var(--sp-ink3, #3c3e40); }

.q-rank-items {
    background: var(--sp-card, #11141a);
    border: 1px solid var(--sp-line, #171715);
    border-radius: 14px;
    box-shadow: var(--sp-shadow, none);
    padding: 6px 20px;
    display: flex;
    flex-direction: column;
}

.q-ritem {
    display: grid;
    grid-template-columns: 34px 46px minmax(0, 1fr) auto auto;
    gap: 13px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px dashed var(--sp-line, #171715);
    text-decoration: none;
    color: inherit;
}

.q-ritem:last-child { border-bottom: 0; }

.q-ritem .idx {
    font-size: 13px;
    font-style: italic;
    color: var(--sp-ink4, #b3b7bd);
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.q-ritem-ava {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #151412, #1b1a17);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a8a699;
}

.q-ritem-ava img { width: 100%; height: 100%; object-fit: cover; }
.q-ritem-ava i { font-style: normal; font-size: 18px; }

.q-ritem-main { min-width: 0; }
.q-ritem-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--sp-ink, #e0e1e4);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
}

a.q-ritem:hover .q-ritem-name { color: var(--ac, #d4af37); }

.q-ritem-sub {
    margin-top: 3px;
    font-size: 11.5px;
    color: var(--sp-ink3, #8b8f96);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.q-ritem-sub a { color: var(--ac, #d4af37); text-decoration: none; }
.q-ritem-v {
    font-size: 16px;
    font-weight: 800;
    color: var(--sp-ink, #e0e1e4);
    font-variant-numeric: tabular-nums;
    display: flex;
    align-items: baseline;
    gap: 4px;
}

.q-ritem-v small { font-size: 10.5px; font-weight: 500; color: var(--sp-ink4, #292b2d); }

/* ==========================================================================
   装扮空间（q-edit / 表单类）
   ========================================================================== */
.q-edit { padding: 26px 0 50px; max-width: 980px; }

.q-edit-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 18px;
    align-items: start;
    margin-top: 18px;
}

.q-field { margin-bottom: 16px; }

.q-field label, .q-field .lbl {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--sp-ink, #e0e1e4);
    margin-bottom: 7px;
}

.q-field .hint { font-weight: 400; font-size: 11.5px; color: var(--sp-ink4, #292b2d); }

.q-field input[type="text"], .q-field textarea, .q-select {
    width: 100%;
    border: 1px solid var(--sp-line, #171715);
    border-radius: 10px;
    background: var(--surface);
    padding: 10px 12px;
    font: inherit;
    font-size: 13px;
    color: var(--sp-ink, #e0e1e4);
}

.q-field input:focus, .q-field textarea:focus, .q-select:focus {
    outline: none;
    border-color: var(--ac, #d4af37);
}

.q-copy { display: flex; gap: 8px; }
.q-copy input { flex: 1; background: var(--sp-bg, #10100e); color: var(--sp-ink3, #3c3e40); }

.q-upload {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 14px 0;
    border-bottom: 1px dashed var(--sp-line, #171715);
}

.q-upload:last-child { border-bottom: 0; }

.q-prev {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    background: linear-gradient(135deg, #151412, #1b1a17);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: #a8a699;
}

.q-prev img { width: 100%; height: 100%; object-fit: cover; }
.q-prev.big span { font-size: 26px; font-weight: 600; color: #383834; }

.q-prev.wide { width: 120px; height: 68px; border-radius: 10px; }

.q-upload-main input[type="file"] { font-size: 12px; color: var(--sp-ink2, #5b5f66); }

.q-check {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--sp-ink3, #8b8f96);
    margin-top: 8px;
}

.q-themes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }

.q-theme {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--sp-line, #171715);
    border-radius: 10px;
    padding: 9px 11px;
    font-size: 12.5px;
    cursor: pointer;
    transition: border-color .14s ease;
}

.q-theme i {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    flex: none;
    box-shadow: inset 0 0 0 2px rgba(10,11,14,.6);
}

.q-theme input { display: none; }
.q-theme.on { border-color: var(--ac, #d4af37); color: var(--ac, #d4af37); font-weight: 600; background: var(--ac-soft, rgba(212,175,55, .06)); }

.q-actions { display: flex; gap: 10px; flex-wrap: wrap; }

.q-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    padding: 0 20px;
    border-radius: 99px;
    border: 1px solid var(--sp-line, #171715);
    background: var(--sp-card, #11141a);
    color: var(--sp-ink2, #ccced1);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all .15s ease;
}

.q-btn:hover { border-color: var(--ac-line, rgba(212,175,55, .3)); color: var(--ac, #d4af37); }

.q-btn-main {
    background: var(--ac, #d4af37);
    border-color: var(--ac, #d4af37);
    color: #fff;
}

.q-btn-main:hover { filter: brightness(1.07); color: #fff; }

.q-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12.5px;
    color: var(--ac, #d4af37);
    text-decoration: none;
    font-weight: 600;
    background: none;
    border: 0;
    cursor: pointer;
    padding: 0;
}

.q-link:hover { text-decoration: underline; }

.q-tip { font-size: 11.5px; color: var(--sp-ink4, #292b2d); }
.q-cap-note { font-size: 11.5px; color: var(--sp-ink3, #3c3e40); line-height: 1.8; margin: 6px 0 12px; }

.q-card-h {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    margin-bottom: 13px;
}

.q-card-h h2, .q-card-h h3 { margin: 0; font-size: 14.5px; font-weight: 700; letter-spacing: .4px; }

/* 等级牌（方形徽章） */
.q-lvt {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 20px;
    padding: 0 8px;
    border-radius: 6px;
    background: linear-gradient(135deg, #c8aa6e, #8a6c1e);
    color: #16130a;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .5px;
    vertical-align: middle;
}

.q-lvt b { font-weight: 800; font-size: 11px; }

.q-lvt.top {
    background: linear-gradient(135deg, #d4af37, #b8912f);
    color: #fdf8ec;
}

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1080px) {
    .sp-body { grid-template-columns: minmax(0, 1fr); }
    .sp-side { position: static; }
    .pp-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 760px) {
    .sp-head {
        grid-template-columns: 88px minmax(0, 1fr);
        grid-template-areas:
            "ava id"
            "acts acts"
            "stats stats";
        padding: 30px 0 16px;
    }
    .sp-ava { width: 88px; height: 88px; margin-top: -14px; }
    .sp-ava span { font-size: 34px; }
    .sp-name { font-size: 20px; }
    .sp-acts { justify-content: flex-start; margin-top: 12px; }
    .sp-stats { gap: 22px; }
    .sp-stats b { font-size: 16px; }
    .sp-song { grid-template-columns: 52px minmax(0, 1fr); }
    .sp-song-acts {
        grid-column: 1 / -1;
        justify-content: flex-start;
        opacity: 1;
        padding-top: 2px;
    }
    .sp-song-idx { display: none; }
    .sp-song-art { width: 52px; height: 52px; }
    .sp-dyn { grid-template-columns: minmax(0, 1fr); gap: 4px; }
    .pp-hero { grid-template-columns: minmax(0, 1fr); padding: 18px; }
    .pp-cover { width: 100%; height: auto; aspect-ratio: 1; }
    .pp-cover img + .pp-disc { display: none; }
    .pp-title { font-size: 21px; }
    .q-edit-grid { grid-template-columns: minmax(0, 1fr); }
    .q-ritem { grid-template-columns: 28px 40px minmax(0, 1fr); }
    .q-ritem-v { display: none; }
    .sp-ucards { grid-template-columns: minmax(0, 1fr); }
}
