/* ==========================================================================
   FiimeROM 2.0 — 个人中心（User Center）
   与 auth.css 同一套视觉语言：暖金强调色 + 纸感浅色 / 深墨色双主题
   兼容旧会员中心模板结构（.user-left / .user-right / .user-content 等）
   ========================================================================== */

/* --------------------------------------------------------------------------
   01. 设计变量
   -------------------------------------------------------------------------- */

:root {
    --uc-font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC",
        -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

    --uc-maxw: 1840px;

    --uc-accent: #eba744;
    --uc-accent-deep: #8f5c0d;
    --uc-accent-soft: rgba(235, 167, 68, 0.16);
    --uc-accent-line: rgba(235, 167, 68, 0.38);

    --uc-bg: #f4f1ea;
    --uc-bg-glow: rgba(235, 167, 68, 0.16);
    --uc-paper: #ffffff;
    --uc-paper-2: #fbfaf6;
    --uc-paper-3: #f3efe6;
    --uc-line: #e7e2d8;
    --uc-line-strong: #d8d1c3;

    --uc-ink: #23252f;
    --uc-ink-soft: #4a4d5c;
    --uc-muted: #6e6b7a;
    --uc-faint: #938e9c;

    --uc-danger: #cf4a4a;
    --uc-success: #2f9268;
    --uc-info: #3b61dd;
    --uc-warning: #b57b12;

    --uc-radius: 20px;
    --uc-radius-sm: 12px;
    --uc-shadow: 0 26px 60px -44px rgba(28, 30, 43, 0.5), 0 2px 6px rgba(28, 30, 43, 0.04);
    --uc-shadow-soft: 0 10px 30px -24px rgba(28, 30, 43, 0.4);

    --uc-header-bg: rgba(255, 255, 255, 0.84);
    --uc-header-line: rgba(35, 37, 47, 0.08);

    --uc-hero: linear-gradient(148deg, #272a3b 0%, #1d1f2c 52%, #16171f 100%);
    --uc-hero-line: rgba(255, 255, 255, 0.1);
    --uc-hero-text: #f7f4ec;
    --uc-hero-muted: #b9b6c6;
}

html[data-theme="dark"] {
    --uc-accent: #f0b45c;
    --uc-accent-deep: #f6cd8d;
    --uc-accent-soft: rgba(240, 180, 92, 0.16);
    --uc-accent-line: rgba(240, 180, 92, 0.34);

    --uc-bg: #101117;
    --uc-bg-glow: rgba(240, 180, 92, 0.1);
    --uc-paper: #1a1c25;
    --uc-paper-2: #20222e;
    --uc-paper-3: #262936;
    --uc-line: #2b2e3c;
    --uc-line-strong: #3b3f52;

    --uc-ink: #f4f1e9;
    --uc-ink-soft: #cfccd8;
    --uc-muted: #a6a1b1;
    --uc-faint: #847f91;

    --uc-danger: #f07b7b;
    --uc-success: #59c295;
    --uc-info: #8aa6ff;
    --uc-warning: #e6b45c;

    --uc-shadow: 0 26px 60px -40px rgba(0, 0, 0, 0.85), 0 2px 8px rgba(0, 0, 0, 0.3);
    --uc-shadow-soft: 0 10px 30px -22px rgba(0, 0, 0, 0.8);

    --uc-header-bg: rgba(16, 17, 23, 0.82);
    --uc-header-line: rgba(255, 255, 255, 0.08);

    --uc-hero: linear-gradient(148deg, #242838 0%, #1a1c27 55%, #14151d 100%);
    --uc-hero-line: rgba(255, 255, 255, 0.09);
}

/* --------------------------------------------------------------------------
   02. 基础
   -------------------------------------------------------------------------- */

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    scroll-behavior: smooth;
}

html[data-theme="light"] {
    color-scheme: light;
}

html[data-theme="dark"] {
    color-scheme: dark;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--uc-ink);
    background:
        radial-gradient(900px 520px at 4% -8%, var(--uc-bg-glow), transparent 62%),
        radial-gradient(760px 460px at 100% 0%, rgba(59, 97, 221, 0.05), transparent 58%),
        var(--uc-bg) !important;
    font-size: 15px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body,
body *:not(.iconfont):not([class*="icon"]) {
    font-family: var(--uc-font) !important;
}

body a {
    color: inherit;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

body img {
    max-width: 100%;
}

body ::selection {
    background: var(--uc-accent-soft);
}

body a:focus-visible,
body button:focus-visible,
body input:focus-visible,
body select:focus-visible,
body textarea:focus-visible {
    outline: 2px solid var(--uc-accent);
    outline-offset: 2px;
}

.uc-sprite {
    position: absolute !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
}

.uc-ico {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    vertical-align: -3px;
}

.uc-ico--sm {
    width: 15px;
    height: 15px;
}

.uc-no-i18n,
.uc-noscript {
    display: none;
}

/* --------------------------------------------------------------------------
   03. 顶部栏
   -------------------------------------------------------------------------- */

header.uc-header {
    position: sticky;
    top: 0;
    z-index: 100;
    height: auto;
    margin: 0;
    padding: 0;
    background: var(--uc-header-bg);
    border-bottom: 1px solid var(--uc-header-line);
    box-shadow: none;
    -webkit-backdrop-filter: saturate(150%) blur(16px);
    backdrop-filter: saturate(150%) blur(16px);
}

.uc-header__inner {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    max-width: var(--uc-maxw);
    height: 64px;
    margin: 0 auto;
    padding: 0 clamp(18px, 2.4vw, 40px);
}

.uc-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    color: var(--uc-ink);
    font-weight: 800;
    letter-spacing: -0.01em;
    white-space: nowrap;
}

.uc-brand__mark {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 11px;
    background: linear-gradient(148deg, #f4c274 0%, #e2a340 55%, #c98220 100%);
    color: #2a1d05;
    font-size: 17px;
    font-weight: 900;
    box-shadow: 0 8px 18px -10px rgba(201, 130, 32, 0.9);
}

.uc-brand__text {
    font-size: 16px;
}

.uc-brand__text em {
    margin-left: 7px;
    color: var(--uc-muted);
    font-size: 12px;
    font-style: normal;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.uc-header__spacer {
    flex: 1;
    min-width: 8px;
}

.uc-header__actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.uc-iconbtn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid var(--uc-line);
    border-radius: 11px;
    background: var(--uc-paper);
    color: var(--uc-ink-soft);
    font-size: 13px;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.uc-iconbtn:hover {
    border-color: var(--uc-line-strong);
    color: var(--uc-ink);
    background: var(--uc-paper-2);
}

.uc-iconbtn:active {
    transform: translateY(1px);
}

.uc-iconbtn--text {
    width: auto;
    padding: 0 12px;
    gap: 6px;
    font-weight: 600;
}

.uc-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    background: #e0563f;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 18px;
    text-align: center;
    box-shadow: 0 0 0 2px var(--uc-paper);
}

.uc-lang {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 3px;
    border: 1px solid var(--uc-line);
    border-radius: 11px;
    background: var(--uc-paper-2);
}

.uc-lang button {
    min-width: 34px;
    height: 30px;
    padding: 0 8px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--uc-muted);
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}

.uc-lang button:hover {
    color: var(--uc-ink);
}

.uc-lang button.is-active {
    background: var(--uc-paper);
    color: var(--uc-ink);
    box-shadow: 0 1px 3px rgba(20, 20, 30, 0.12);
}

html[data-theme="dark"] .uc-lang button.is-active {
    background: var(--uc-paper-3);
}

.uc-theme .uc-ico-sun,
.uc-theme .uc-ico-moon,
[data-uc-theme] .uc-ico-sun,
[data-uc-theme] .uc-ico-moon {
    display: none;
}

html[data-theme="light"] .uc-theme .uc-ico-sun,
html[data-theme="light"] [data-uc-theme] .uc-ico-sun {
    display: block;
}

html[data-theme="dark"] .uc-theme .uc-ico-moon,
html[data-theme="dark"] [data-uc-theme] .uc-ico-moon {
    display: block;
}

.uc-user {
    position: relative;
}

.uc-user__btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    height: 38px;
    max-width: 210px;
    padding: 0 10px 0 4px;
    border: 1px solid var(--uc-line);
    border-radius: 999px;
    background: var(--uc-paper);
    color: var(--uc-ink);
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.uc-user__btn:hover {
    border-color: var(--uc-line-strong);
    background: var(--uc-paper-2);
}

.uc-user__avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--uc-paper-3);
}

.uc-user__name {
    max-width: 110px;
    overflow: hidden;
    font-size: 13px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.uc-user__caret {
    color: var(--uc-faint);
}

.uc-dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 120;
    min-width: 216px;
    padding: 8px;
    border: 1px solid var(--uc-line);
    border-radius: 16px;
    background: var(--uc-paper);
    box-shadow: var(--uc-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.uc-user.is-open .uc-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.uc-dropdown__head {
    padding: 8px 10px 10px;
    border-bottom: 1px solid var(--uc-line);
    margin-bottom: 6px;
}

.uc-dropdown__head strong {
    display: block;
    font-size: 14px;
    font-weight: 800;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.uc-dropdown__head span {
    display: block;
    margin-top: 2px;
    color: var(--uc-muted);
    font-size: 12px;
}

.uc-dropdown a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 9px;
    color: var(--uc-ink-soft);
    font-size: 13px;
    font-weight: 600;
}

.uc-dropdown a:hover {
    background: var(--uc-paper-2);
    color: var(--uc-ink);
}

.uc-dropdown a.uc-dropdown__danger {
    color: var(--uc-danger);
}

.uc-dropdown__sep {
    height: 1px;
    margin: 6px 4px;
    background: var(--uc-line);
}

/* --------------------------------------------------------------------------
   04. 整体布局
   -------------------------------------------------------------------------- */

.page {
    min-height: 60vh;
}

.page > .container {
    display: flex;
    align-items: flex-start;
    gap: 26px;
    width: 100%;
    max-width: var(--uc-maxw) !important;
    margin: 0 auto;
    padding: 24px clamp(18px, 2.4vw, 40px) 8px;
}

.page > .container::after {
    content: none !important;
    display: none !important;
}

.page .user-right {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding-left: 0;
}

.page .user-right > * {
    margin-top: 0;
    margin-bottom: 0;
}

.uc-main {
    gap: 18px;
}

/* --------------------------------------------------------------------------
   05. 侧边栏
   -------------------------------------------------------------------------- */

.uc-side {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 272px;
    flex: 0 0 272px;
    max-height: calc(100vh - 96px);
    position: sticky;
    top: 80px;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    padding-bottom: 4px;
}

.uc-side::-webkit-scrollbar {
    width: 6px;
}

.uc-side::-webkit-scrollbar-thumb {
    border-radius: 3px;
    background: var(--uc-line-strong);
}

.uc-profile {
    position: relative;
    padding: 20px 18px 16px;
    border: 1px solid var(--uc-line);
    border-radius: var(--uc-radius);
    background: var(--uc-paper);
    box-shadow: var(--uc-shadow);
    overflow: hidden;
}

.uc-profile::before {
    content: "";
    position: absolute;
    top: -70px;
    right: -50px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--uc-accent-soft), transparent 68%);
    pointer-events: none;
}

.uc-profile__row {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.uc-avatar {
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--uc-paper-3);
    box-shadow: 0 0 0 3px var(--uc-paper), 0 0 0 5px var(--uc-accent-soft);
}

.uc-profile__name {
    min-width: 0;
}

.uc-profile__name a {
    display: block;
    overflow: hidden;
    color: var(--uc-ink);
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -0.01em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.uc-profile__name a:hover {
    color: var(--uc-accent-deep);
}

.uc-profile__name p {
    margin-top: 3px;
    color: var(--uc-faint);
    font-size: 12px;
}

.uc-profile__sign {
    position: relative;
    margin-top: 12px;
    color: var(--uc-muted);
    font-size: 12px;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.uc-profile__name p {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
}

.uc-profile__name .uc-chip {
    padding: 1px 7px;
    font-size: 10.5px;
}

.uc-profile__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 14px;
}

.uc-profile__stat {
    padding: 9px 10px;
    border: 1px solid var(--uc-line);
    border-radius: 11px;
    background: var(--uc-paper-2);
}

.uc-profile__stat span {
    display: block;
    color: var(--uc-faint);
    font-size: 11px;
    font-weight: 600;
}

.uc-profile__stat strong {
    display: block;
    margin-top: 1px;
    color: var(--uc-ink);
    font-size: 16px;
    font-weight: 800;
    line-height: 1.3;
}

.uc-nav {
    padding: 8px;
    border: 1px solid var(--uc-line);
    border-radius: var(--uc-radius);
    background: var(--uc-paper);
    box-shadow: var(--uc-shadow-soft);
}

.uc-nav__label {
    padding: 10px 10px 4px;
    color: var(--uc-faint);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.uc-nav__label:first-child {
    padding-top: 4px;
}

.uc-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 10px;
    color: var(--uc-ink-soft);
    font-size: 13.5px;
    font-weight: 600;
    transition: background 0.18s ease, color 0.18s ease;
}

.uc-nav a + a {
    margin-top: 1px;
}

.uc-nav a:hover {
    background: var(--uc-paper-2);
    color: var(--uc-ink);
}

.uc-nav a.is-active {
    background: var(--uc-accent-soft);
    color: var(--uc-accent-deep);
}

.uc-nav a.is-active .uc-ico {
    stroke-width: 2.1;
}

.uc-nav a.uc-nav__danger {
    color: var(--uc-danger);
}

.uc-nav a.uc-nav__danger:hover {
    background: rgba(207, 74, 74, 0.08);
    color: var(--uc-danger);
}

.uc-nav__ext {
    margin-left: auto;
    color: var(--uc-faint);
}

.uc-nav__badge {
    margin-left: auto;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    background: var(--uc-accent);
    color: #2a1d05;
    font-size: 10px;
    font-weight: 800;
    line-height: 18px;
    text-align: center;
}

.uc-side__prefs {
    padding: 12px;
    border: 1px solid var(--uc-line);
    border-radius: var(--uc-radius);
    background: var(--uc-paper);
    box-shadow: var(--uc-shadow-soft);
}

.uc-pref {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 5px 0;
}

.uc-pref span {
    color: var(--uc-muted);
    font-size: 12px;
    font-weight: 600;
}

.uc-side__foot {
    display: flex;
    gap: 8px;
    padding-top: 2px;
}

.uc-side__foot .uc-btn {
    flex: 1;
    height: 38px;
    font-size: 13px;
}

.uc-side__close {
    display: none;
}

.uc-drawer-mask {
    position: fixed;
    inset: 0;
    z-index: 110;
    display: none;
    background: rgba(12, 13, 18, 0.5);
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
    opacity: 0;
    transition: opacity 0.2s ease;
}

/* --------------------------------------------------------------------------
   06. 主区域 / 页头
   -------------------------------------------------------------------------- */

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

.uc-pagehead {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    padding: 4px 2px 2px;
}

.uc-eyebrow {
    margin-bottom: 6px;
    color: var(--uc-accent-deep);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.uc-pagehead h1 {
    color: var(--uc-ink);
    font-size: 26px;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.uc-pagehead p {
    margin-top: 6px;
    color: var(--uc-muted);
    font-size: 13px;
    line-height: 1.65;
}

/* --------------------------------------------------------------------------
   07. Hero
   -------------------------------------------------------------------------- */

.uc-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 26px;
    padding: 30px;
    border-radius: 26px;
    background: var(--uc-hero);
    color: var(--uc-hero-text);
    box-shadow: 0 34px 70px -46px rgba(12, 14, 24, 0.85);
    overflow: hidden;
}

.uc-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(560px 340px at 92% -18%, rgba(235, 167, 68, 0.34), transparent 62%),
        radial-gradient(420px 300px at -10% 112%, rgba(59, 97, 221, 0.22), transparent 64%);
    pointer-events: none;
}

.uc-hero > * {
    position: relative;
}

.uc-hero .uc-eyebrow {
    color: #f0c07a;
}

.uc-hero__title {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    color: #fff;
    font-size: 30px;
    font-weight: 900;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

.uc-hero__meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 10px;
    color: var(--uc-hero-muted);
    font-size: 13px;
}

.uc-hero__dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
}

.uc-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 22px;
}

.uc-hero__aside {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 196px;
    padding: 18px 20px;
    border: 1px solid var(--uc-hero-line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.06);
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.uc-hero__aside p {
    color: var(--uc-hero-muted);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.uc-hero__aside strong {
    margin: 2px 0 0;
    color: #fff;
    font-size: 34px;
    font-weight: 900;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.uc-hero__aside small {
    color: #f0c07a;
    font-size: 12px;
    font-weight: 700;
}

.uc-hero__aside a {
    margin-top: 10px;
    color: #f0c07a;
    font-size: 12px;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.uc-hero .uc-chip {
    border: 1px solid var(--uc-hero-line);
    background: rgba(255, 255, 255, 0.1);
    color: #f2eee4;
}

.uc-hero .uc-chip--gold {
    border-color: rgba(235, 167, 68, 0.4);
    background: rgba(235, 167, 68, 0.2);
    color: #f6cd8d;
}

.uc-hero .uc-chip--ok {
    border-color: rgba(89, 194, 149, 0.4);
    background: rgba(89, 194, 149, 0.16);
    color: #93e2be;
}

.uc-hero .uc-chip--danger {
    border-color: rgba(240, 123, 123, 0.4);
    background: rgba(240, 123, 123, 0.16);
    color: #f5a3a3;
}

.uc-hero .uc-chip--warn {
    border-color: rgba(230, 180, 92, 0.4);
    background: rgba(230, 180, 92, 0.16);
    color: #f0c883;
}

/* --------------------------------------------------------------------------
   08. 统计卡片
   -------------------------------------------------------------------------- */

.uc-stats {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}

.uc-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 16px 15px;
    border: 1px solid var(--uc-line);
    border-radius: 16px;
    background: var(--uc-paper);
    box-shadow: var(--uc-shadow-soft);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.uc-stat:hover {
    transform: translateY(-2px);
    border-color: var(--uc-accent-line);
    box-shadow: var(--uc-shadow);
}

.uc-stat__ico {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    margin-bottom: 8px;
    border-radius: 10px;
    background: var(--uc-accent-soft);
    color: var(--uc-accent-deep);
}

.uc-stat strong {
    color: var(--uc-ink);
    font-size: 22px;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: -0.02em;
    word-break: break-all;
}

.uc-stat__label {
    color: var(--uc-muted);
    font-size: 12px;
    font-weight: 600;
}

/* --------------------------------------------------------------------------
   09. 卡片 / 栅格
   -------------------------------------------------------------------------- */

.uc-cols {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
    gap: 18px;
    align-items: start;
}

.uc-cols--even {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.uc-cols--three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.uc-card {
    padding: 22px;
    border: 1px solid var(--uc-line);
    border-radius: var(--uc-radius);
    background: var(--uc-paper);
    box-shadow: var(--uc-shadow-soft);
    min-width: 0;
}

.uc-card + .uc-card {
    margin-top: 0;
}

.uc-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 16px;
}

.uc-card__head h2,
.uc-card h2 {
    color: var(--uc-ink);
    font-size: 17px;
    font-weight: 800;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

.uc-card__desc {
    margin-top: 4px;
    color: var(--uc-muted);
    font-size: 12.5px;
    line-height: 1.6;
}

.uc-card__foot {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--uc-line);
}

.uc-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 4px 2px -2px;
    color: var(--uc-ink);
    font-size: 15px;
    font-weight: 800;
}

.uc-section-title::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--uc-line);
}

/* 键值行 */
.uc-kv {
    display: flex;
    flex-direction: column;
}

.uc-kv__row {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 11px 0;
    border-bottom: 1px dashed var(--uc-line);
}

.uc-kv__row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.uc-kv__row:first-child {
    padding-top: 0;
}

.uc-kv__k {
    flex: 0 0 96px;
    color: var(--uc-muted);
    font-size: 12.5px;
    font-weight: 600;
    line-height: 1.7;
}

.uc-kv__v {
    flex: 1;
    min-width: 0;
    color: var(--uc-ink);
    font-size: 13.5px;
    line-height: 1.7;
    word-break: break-word;
}

.uc-kv__v a {
    color: var(--uc-accent-deep);
    font-weight: 700;
}

.uc-kv__v a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.uc-kv__v small {
    color: var(--uc-muted);
    font-size: 11.5px;
}

.uc-hint {
    margin-top: 6px;
    color: var(--uc-faint);
    font-size: 11.5px;
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   10. 按钮 / 标签
   -------------------------------------------------------------------------- */

.uc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    height: 40px;
    padding: 0 17px;
    border: 1px solid var(--uc-line-strong);
    border-radius: 11px;
    background: var(--uc-paper);
    color: var(--uc-ink);
    font-size: 13.5px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.uc-btn:hover {
    border-color: var(--uc-ink-soft);
}

.uc-btn:active {
    transform: translateY(1px);
}

.uc-btn--primary {
    border-color: var(--uc-accent);
    background: var(--uc-accent);
    color: #2a1d05;
    box-shadow: 0 10px 22px -14px rgba(201, 130, 32, 0.95);
}

.uc-btn--primary:hover {
    border-color: var(--uc-accent);
    background: #f2b862;
    color: #2a1d05;
}

html[data-theme="dark"] .uc-btn--primary:hover {
    background: #f6c579;
}

.uc-btn--ghost {
    border-color: transparent;
    background: transparent;
    color: var(--uc-accent-deep);
}

.uc-btn--ghost:hover {
    background: var(--uc-accent-soft);
}

.uc-btn--glass {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.09);
    color: #fff;
}

.uc-btn--glass:hover {
    border-color: rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.15);
}

.uc-btn--danger {
    border-color: rgba(207, 74, 74, 0.45);
    background: transparent;
    color: var(--uc-danger);
}

.uc-btn--danger:hover {
    background: rgba(207, 74, 74, 0.08);
}

.uc-btn--sm {
    height: 34px;
    padding: 0 13px;
    border-radius: 9px;
    font-size: 12.5px;
}

.uc-btn--block {
    width: 100%;
}

.uc-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--uc-paper-3);
    color: var(--uc-ink-soft);
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1.7;
    white-space: nowrap;
}

.uc-chip--gold {
    background: var(--uc-accent-soft);
    color: var(--uc-accent-deep);
}

.uc-chip--ok {
    background: rgba(47, 146, 104, 0.13);
    color: var(--uc-success);
}

.uc-chip--warn {
    background: rgba(181, 123, 18, 0.14);
    color: var(--uc-warning);
}

.uc-chip--muted {
    background: var(--uc-paper-3);
    color: var(--uc-muted);
}

.uc-chip--danger {
    background: rgba(207, 74, 74, 0.12);
    color: var(--uc-danger);
}

/* --------------------------------------------------------------------------
   11. 提示 / 代码 / 二维码
   -------------------------------------------------------------------------- */

.uc-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 15px;
    border: 1px solid var(--uc-accent-line);
    border-radius: 14px;
    background: var(--uc-accent-soft);
    color: var(--uc-ink-soft);
    font-size: 12.5px;
    line-height: 1.7;
}

.uc-alert .uc-ico {
    margin-top: 2px;
    color: var(--uc-accent-deep);
}

.uc-alert a {
    color: var(--uc-accent-deep);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.uc-code {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 10px 12px;
    border: 1px dashed var(--uc-line-strong);
    border-radius: 11px;
    background: var(--uc-paper-2);
    color: var(--uc-ink);
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important;
    font-size: 12.5px;
    word-break: break-all;
}

.uc-code span {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace !important;
}

.uc-copy {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 28px;
    padding: 0 10px;
    border: 1px solid var(--uc-line-strong);
    border-radius: 8px;
    background: var(--uc-paper);
    color: var(--uc-ink-soft);
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
}

.uc-copy:hover {
    border-color: var(--uc-accent);
    color: var(--uc-accent-deep);
}

.uc-media {
    margin: 0;
}

.uc-media img {
    display: block;
    max-width: 100%;
    border-radius: 14px;
    background: #fff;
    padding: 8px;
    border: 1px solid var(--uc-line);
}

.uc-media figcaption {
    margin-top: 8px;
    color: var(--uc-faint);
    font-size: 11.5px;
    line-height: 1.6;
}

.uc-qr {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    flex-wrap: wrap;
}

.uc-qr img {
    width: 132px;
    height: 132px;
    object-fit: contain;
    padding: 6px;
    border: 1px solid var(--uc-line);
    border-radius: 14px;
    background: #fff;
}

.uc-inline-form {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.uc-inline-form .uc-input {
    flex: 1 1 180px;
    min-width: 0;
}

.uc-list-tips {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-top: 12px;
    color: var(--uc-muted);
    font-size: 12px;
    line-height: 1.65;
}

.uc-list-tips b {
    color: var(--uc-ink-soft);
    font-weight: 700;
}

/* 工具卡片 */
.uc-tool {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100%;
}

.uc-tool > img {
    width: 100%;
    max-height: 148px;
    object-fit: cover;
    border: 1px solid var(--uc-line);
    border-radius: 12px;
    background: var(--uc-paper-2);
}

.uc-tool p {
    color: var(--uc-muted);
    font-size: 12px;
    line-height: 1.65;
}

.uc-tool__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 4px;
}

.uc-kv__v a.uc-hint {
    color: var(--uc-accent-deep);
}

.uc-hide-sm {
    display: inline-flex;
}

/* --------------------------------------------------------------------------
   12. 表单
   -------------------------------------------------------------------------- */

.uc-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.uc-form__section {
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--uc-line);
}

.uc-form__section:last-of-type {
    border-bottom: 0;
    padding-bottom: 0;
}

.uc-form__legend {
    color: var(--uc-ink);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.uc-form__legend span {
    display: block;
    margin-top: 2px;
    color: var(--uc-muted);
    font-size: 12px;
    font-weight: 500;
}

.uc-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
}

.uc-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: var(--uc-ink-soft);
    font-size: 12.5px;
    font-weight: 700;
}

.uc-label small {
    color: var(--uc-faint);
    font-size: 11.5px;
    font-weight: 500;
}

.uc-input,
.uc-textarea,
.uc-select {
    width: 100%;
    min-width: 0;
    border: 1px solid var(--uc-line);
    border-radius: 11px;
    background: var(--uc-paper-2);
    color: var(--uc-ink);
    font-size: 14px;
    line-height: 1.4;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.uc-input,
.uc-select {
    height: 44px;
    padding: 0 13px;
}

.uc-textarea {
    min-height: 110px;
    padding: 11px 13px;
    resize: vertical;
}

.uc-input::placeholder,
.uc-textarea::placeholder {
    color: var(--uc-faint);
}

.uc-input:hover,
.uc-textarea:hover,
.uc-select:hover {
    border-color: var(--uc-line-strong);
}

.uc-input:focus,
.uc-textarea:focus,
.uc-select:focus {
    outline: none;
    border-color: var(--uc-accent);
    box-shadow: 0 0 0 4px var(--uc-accent-soft);
    background: var(--uc-paper);
}

.uc-input:disabled,
.uc-input[readonly] {
    color: var(--uc-muted);
    background: var(--uc-paper-3);
}

.uc-inputwrap {
    position: relative;
    display: flex;
    align-items: center;
}

.uc-inputwrap .uc-input {
    padding-right: 46px;
}

.uc-pwd-toggle {
    position: absolute;
    right: 6px;
    top: 50%;
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    transform: translateY(-50%);
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--uc-faint);
    cursor: pointer;
}

.uc-pwd-toggle:hover {
    background: var(--uc-paper-3);
    color: var(--uc-ink-soft);
}

.uc-pwd-toggle .uc-ico-eye-off {
    display: none;
}

.uc-pwd-toggle.is-on .uc-ico-eye {
    display: none;
}

.uc-pwd-toggle.is-on .uc-ico-eye-off {
    display: block;
}

.uc-avatar-edit .view_img {
    display: grid;
    place-items: center;
    flex: 0 0 76px;
    width: 76px;
    height: 76px;
}

.uc-segmented {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 8px;
}

.uc-radio {
    position: relative;
    display: inline-flex;
    cursor: pointer;
}

.uc-radio input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.uc-radio span {
    display: inline-flex;
    align-items: center;
    height: 38px;
    padding: 0 16px;
    border: 1px solid var(--uc-line);
    border-radius: 10px;
    background: var(--uc-paper-2);
    color: var(--uc-ink-soft);
    font-size: 13px;
    font-weight: 600;
    transition: all 0.18s ease;
}

.uc-radio:hover span {
    border-color: var(--uc-line-strong);
}

.uc-radio input:checked + span {
    border-color: var(--uc-accent);
    background: var(--uc-accent-soft);
    color: var(--uc-accent-deep);
    font-weight: 700;
}

.uc-radio input:focus-visible + span {
    outline: 2px solid var(--uc-accent);
    outline-offset: 2px;
}

.uc-avatar-edit {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.uc-avatar-edit .uc-avatar {
    width: 76px;
    height: 76px;
    flex: 0 0 76px;
}

.uc-avatar-edit .view_img img {
    display: block;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 3px var(--uc-paper), 0 0 0 5px var(--uc-accent-soft);
}

.uc-file {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    overflow: hidden;
}

.uc-form__actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.uc-form__actions .uc-btn {
    min-width: 132px;
}

/* --------------------------------------------------------------------------
   13. 旧模板皮肤（保持旧 class，不动物业逻辑）
   -------------------------------------------------------------------------- */

/* 顶部提示条 */
.user-tips {
    height: auto;
    margin-bottom: 0;
    padding: 12px 16px;
    border: 1px solid var(--uc-line);
    border-radius: 14px;
    background: var(--uc-paper);
    box-shadow: var(--uc-shadow-soft);
}

.user-tips p {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: var(--uc-muted);
    font-size: 12.5px;
    line-height: 1.7;
}

.user-tips i {
    color: var(--uc-accent);
    font-size: 15px;
    line-height: 1.5;
}

.user-tips a {
    color: var(--uc-accent-deep);
    font-weight: 700;
}

/* 内容卡片 */
.user-content,
.user-data {
    margin-bottom: 0;
    padding: 22px;
    border: 1px solid var(--uc-line);
    border-radius: var(--uc-radius);
    background: var(--uc-paper);
    box-shadow: var(--uc-shadow-soft);
}

.user-content h2,
.user-data h2 {
    margin-bottom: 16px;
    padding: 0 0 10px 14px;
    border-bottom: 1px solid var(--uc-line);
    color: var(--uc-ink);
    font-size: 17px;
    font-weight: 800;
    line-height: 1.4;
    letter-spacing: -0.01em;
}

.user-content h2::after,
.user-data h2::after {
    top: 2px;
    width: 3px;
    height: 20px;
    border-radius: 2px;
    background: var(--uc-accent);
}

.user-content .user-tab .num,
.user-content .user-tab .num a {
    color: var(--uc-ink-soft);
}

.user-content .user-tab .num a:hover {
    color: var(--uc-accent-deep);
}

.user-content .user-tab .num h4 {
    color: var(--uc-ink);
    font-size: 22px;
    font-weight: 900;
}

.user-content .user-tab .num p {
    color: var(--uc-muted);
}

/* 通用 tab */
.common-tab {
    margin-bottom: 14px;
    padding: 4px 12px;
    border: 1px solid var(--uc-line);
    border-radius: 16px;
    background: var(--uc-paper);
    box-shadow: var(--uc-shadow-soft);
}

.common-tab h2 a {
    height: 44px;
    margin-right: 4px;
    padding: 0 12px;
    border-bottom: 2px solid transparent;
    color: var(--uc-muted);
    font-size: 13.5px;
    font-weight: 700;
    line-height: 44px;
}

.common-tab h2 a:hover {
    color: var(--uc-ink);
}

.common-tab h2 a.active {
    border-bottom-color: var(--uc-accent);
    color: var(--uc-accent-deep);
}

.common-tab h2 a.btn-info,
.common-tab h2 a.btn-release {
    height: 34px;
    margin: 5px 0 5px 8px;
    padding: 0 16px;
    border: 1px solid var(--uc-accent);
    border-radius: 9px;
    background: var(--uc-accent);
    color: #2a1d05;
    font-size: 12.5px;
    font-weight: 800;
    line-height: 32px;
}

/* 表格 */
.release-table {
    margin-bottom: 0;
    padding: 6px 12px 12px;
    border: 1px solid var(--uc-line);
    border-radius: var(--uc-radius);
    background: var(--uc-paper);
    box-shadow: var(--uc-shadow-soft);
}

.table-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    border-radius: 12px;
}

.table-scroll::-webkit-scrollbar {
    height: 6px;
}

.table-scroll::-webkit-scrollbar-thumb {
    border-radius: 3px;
    background: var(--uc-line-strong);
}

table {
    width: 100%;
    margin-bottom: 4px;
    border-collapse: separate;
    border-spacing: 0;
    white-space: nowrap;
}

tr {
    border: 0;
}

tr th {
    padding: 11px 14px;
    background: var(--uc-paper-2);
    color: var(--uc-muted);
    font-size: 11.5px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-align: left;
    text-transform: uppercase;
}

tr th:first-child {
    border-radius: 10px 0 0 10px;
}

tr th:last-child {
    border-radius: 0 10px 10px 0;
}

tr td {
    padding: 13px 14px;
    border-bottom: 1px solid var(--uc-line);
    color: var(--uc-ink-soft);
    font-size: 13px;
    text-align: left;
}

tr:last-child td {
    border-bottom: 0;
}

tbody tr:hover td {
    background: var(--uc-paper-2);
}

table a.title {
    color: var(--uc-ink);
    font-size: 13px;
    font-weight: 700;
}

table a.title:hover {
    color: var(--uc-accent-deep);
}

table .btn-table,
table .btn-sm {
    display: inline-flex;
    align-items: center;
    height: 26px;
    padding: 0 9px;
    border: 1px solid var(--uc-line-strong);
    border-radius: 999px;
    background: transparent;
    color: var(--uc-ink-soft);
    font-size: 11.5px;
    font-weight: 700;
    line-height: 24px;
    white-space: nowrap;
}

table .btn-table:hover,
table .btn-sm:hover {
    border-color: var(--uc-accent);
    color: var(--uc-accent-deep);
}

/* 记录列表（订单 / 评论 / 通知 / 交易） */
.shop-record-list {
    background: transparent;
}

.shop-record-list li {
    margin-bottom: 10px;
}

.shop-record-list li:last-child {
    margin-bottom: 0;
}

.release-table .shop-record-list .record-item,
.shop-record-list .record-item {
    padding: 16px 18px;
    border: 1px solid var(--uc-line);
    border-radius: 14px;
    background: var(--uc-paper);
    transition: border-color 0.2s ease, background 0.2s ease;
}

.release-table .shop-record-list .record-item {
    border: 0;
    border-bottom: 1px solid var(--uc-line);
    border-radius: 0;
}

.shop-record-list li:last-child .record-item {
    border-bottom: 0;
}

.shop-record-list .record-item:hover {
    background: var(--uc-paper-2);
}

.record-item p {
    margin-bottom: 4px;
    color: var(--uc-ink-soft);
    font-size: 12.5px;
    line-height: 1.8;
}

.record-item p a {
    color: var(--uc-ink);
    font-weight: 600;
}

.record-item p a:hover {
    color: var(--uc-accent-deep);
}

.record-item h4 {
    color: var(--uc-ink);
    font-size: 17px;
    font-weight: 800;
    line-height: 1.5;
}

.record-item h4 a.change,
.record-item h4 a.btn-more {
    display: inline-flex;
    align-items: center;
    height: 30px;
    padding: 0 13px;
    border: 1px solid var(--uc-line-strong);
    border-radius: 9px;
    background: transparent;
    color: var(--uc-ink-soft);
    font-size: 12px;
    font-weight: 700;
    line-height: 28px;
}

.record-item h4 a.change:hover {
    border-color: rgba(207, 74, 74, 0.5);
    color: var(--uc-danger);
}

.record-item h4 a.btn-more:hover {
    border-color: var(--uc-accent);
    color: var(--uc-accent-deep);
}

.text-info,
.price {
    color: var(--uc-accent-deep);
    font-weight: 800;
}

.btn-success {
    color: var(--uc-success);
    border-color: currentColor;
}

.btn-danger {
    color: var(--uc-danger);
    border-color: currentColor;
}

.btn-info {
    color: var(--uc-info);
    border-color: currentColor;
}

.btn-warning {
    color: var(--uc-warning);
    border-color: currentColor;
}

.btn-primary {
    color: var(--uc-ink-soft);
    border-color: var(--uc-line-strong);
}

a.btn-check,
a.btn-add,
a.btn-edit,
a.btn-delete,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    padding: 0 13px;
    border: 1px solid var(--uc-line-strong);
    border-radius: 9px;
    background: var(--uc-paper);
    color: var(--uc-ink-soft);
    font-size: 12.5px;
    font-weight: 700;
    line-height: 30px;
    cursor: pointer;
}

a.btn-delete,
.btn.btn-danger {
    border-color: rgba(207, 74, 74, 0.45);
    color: var(--uc-danger);
}

a.btn-edit,
a.btn-add {
    border-color: rgba(47, 146, 104, 0.45);
    color: var(--uc-success);
}

/* 分页 */
.pagebar-common {
    margin-top: 14px;
    padding: 10px 0;
    border-radius: 0;
    background: transparent;
}

.pagebar-common .pagination li a {
    min-width: 32px;
    padding: 0 9px;
    border: 1px solid var(--uc-line);
    border-radius: 9px;
    background: var(--uc-paper);
    color: var(--uc-muted);
    font-size: 12px;
    line-height: 30px;
    text-align: center;
}

.pagebar-common .pagination li:hover a {
    border-color: var(--uc-line-strong);
    color: var(--uc-ink);
    background: var(--uc-paper-2);
}

.pagebar-common .pagination li.active a {
    border-color: var(--uc-accent);
    background: var(--uc-accent);
    color: #2a1d05;
    font-weight: 800;
}

.pagebar-common .pagination li.disabled a {
    opacity: 0.38;
    pointer-events: none;
}

/* 关注 / 粉丝 */
.follow-list1 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(205px, 1fr));
    gap: 12px;
    margin: 0;
}

.follow-list1 li {
    width: auto;
    margin: 0;
    padding: 0;
}

.follow-list-item {
    height: 100%;
    padding: 22px 16px 16px;
    border: 1px solid var(--uc-line);
    border-radius: 18px;
    background: var(--uc-paper);
    box-shadow: var(--uc-shadow-soft);
    text-align: center;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.follow-list-item:hover {
    transform: translateY(-2px);
    border-color: var(--uc-accent-line);
}

.follow-list-item .img-box {
    margin-bottom: 10px;
}

.follow-list-item img {
    width: 64px;
    height: 64px;
    margin: 0 auto;
    border-radius: 50%;
    object-fit: cover;
}

.follow-list-item h4 {
    color: var(--uc-ink);
    font-size: 15px;
    font-weight: 800;
    line-height: 1.5;
    text-align: center;
}

.follow-list-item p {
    margin-bottom: 12px;
    color: var(--uc-muted);
    font-size: 12px;
    line-height: 1.6;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.follow-list-item a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 36px;
    border: 1px solid var(--uc-line-strong);
    border-radius: 10px;
    color: var(--uc-ink-soft);
    font-size: 12.5px;
    font-weight: 700;
    line-height: 34px;
}

.follow-list-item a:hover {
    border-color: var(--uc-accent);
    background: var(--uc-accent-soft);
    color: var(--uc-accent-deep);
}

.each-other {
    position: absolute;
    top: 12px;
    right: 12px;
    height: 22px;
    padding: 0 8px;
    border: 1px solid var(--uc-accent-line);
    border-radius: 999px;
    color: var(--uc-accent-deep);
    font-size: 10.5px;
    font-weight: 700;
    line-height: 20px;
}

.follow-list-item {
    position: relative;
}

/* 钱包 */
.wallet {
    margin-bottom: 0;
    padding: 20px;
    border: 1px solid var(--uc-line);
    border-radius: var(--uc-radius);
    background: var(--uc-paper);
    box-shadow: var(--uc-shadow-soft);
}

.wallet-jifen,
.wallet-rmb {
    padding: 20px;
    border-radius: 16px;
    background: linear-gradient(142deg, #f3ba68 0%, #e2a340 55%, #cf8a2a 100%);
    color: #2a1d05;
    box-shadow: 0 16px 32px -26px rgba(201, 130, 32, 0.95);
}

.wallet-jifen p,
.wallet-rmb p {
    color: rgba(42, 29, 5, 0.72);
    font-size: 12px;
    font-weight: 600;
}

.wallet-jifen h4,
.wallet-rmb h4 {
    margin-bottom: 6px;
    color: #2a1d05;
    font-size: 30px;
    font-weight: 900;
    line-height: 1.25;
}

.wallet-jifen h4 a,
.wallet-rmb h4 a {
    display: inline-flex;
    align-items: center;
    height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(42, 29, 5, 0.12);
    color: #2a1d05;
    font-size: 12px;
    font-weight: 700;
    line-height: 30px;
}

.wallet-jifen h4 a:hover,
.wallet-rmb h4 a:hover {
    background: rgba(42, 29, 5, 0.2);
}

.wallet-right {
    padding-left: 18px;
    border-left: 1px solid var(--uc-line);
}

.wallet-right h4 {
    color: var(--uc-ink);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 1.8;
}

.wallet-right p {
    color: var(--uc-muted);
    font-size: 12px;
    line-height: 1.9;
}

.wallet-right p span {
    color: var(--uc-ink);
    font-weight: 700;
}

/* 订单详情 / 购物车 / 支付 */
.order-details {
    margin-bottom: 14px;
    padding: 20px;
    border: 1px solid var(--uc-line);
    border-radius: var(--uc-radius);
    background: var(--uc-paper);
    box-shadow: var(--uc-shadow-soft);
}

.order-details:last-child {
    margin-bottom: 0;
}

.head-title {
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--uc-line);
    color: var(--uc-ink);
    font-size: 15px;
    font-weight: 800;
}

.order-list li {
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--uc-line);
}

.order-item .img-box {
    height: 84px;
    max-width: 120px;
    margin-right: 14px;
    border-radius: 10px;
    overflow: hidden;
    background: var(--uc-paper-3);
}

.order-item h4,
.order-item h4 a {
    color: var(--uc-ink);
    font-weight: 700;
}

.order-item p,
.order-number p,
.order-money p {
    color: var(--uc-muted);
    font-size: 12px;
}

.order-right .summary,
.order-left .information {
    border: 1px solid var(--uc-line);
    border-radius: 14px;
    background: var(--uc-paper-2);
    padding: 16px;
}

.summary h3,
.information h3 {
    color: var(--uc-ink);
    font-size: 13px;
    font-weight: 800;
}

.summary h4,
.information h4 {
    color: var(--uc-muted);
    font-size: 12.5px;
    line-height: 2;
}

.summary h4 span:last-child,
.information h4 span:last-child {
    color: var(--uc-ink);
}

.order-right button {
    border-color: var(--uc-accent);
    border-radius: 10px;
    background: var(--uc-accent);
    color: #2a1d05;
    font-weight: 800;
}

.order-right button:hover {
    background: #f2b862;
}

.information input {
    width: 100%;
    max-width: 280px;
    height: 40px;
    border: 1px solid var(--uc-line);
    border-radius: 10px;
    background: var(--uc-paper);
    color: var(--uc-ink);
    padding: 0 12px;
}

.payment a {
    width: 48%;
}

/* 充值 / 交易记录 */
.rechage {
    padding: 8px 12px;
    border: 1px solid var(--uc-line);
    border-radius: var(--uc-radius);
    background: var(--uc-paper);
    box-shadow: var(--uc-shadow-soft);
}

.rechage-list li {
    border-bottom: 1px solid var(--uc-line);
    padding: 0 4px;
}

.rechage-list li:last-child {
    border-bottom: 0;
}

.rechage-list li:hover {
    background: var(--uc-paper-2);
}

.rechage-list li a {
    color: var(--uc-ink-soft);
}

.rechage-list i.iconjifen1,
.rechage-list i.iconzijin {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    color: var(--uc-accent-deep);
    background: var(--uc-accent-soft);
    font-size: 17px;
}

.rechage-view {
    padding: 22px;
    border: 1px solid var(--uc-line);
    border-radius: var(--uc-radius);
    background: var(--uc-paper);
    box-shadow: var(--uc-shadow-soft);
}

.rechage-view h4 {
    color: var(--uc-ink);
    font-size: 18px;
    font-weight: 800;
}

.rechage-view p,
.rechage-view p.tips {
    color: var(--uc-muted);
    font-size: 12.5px;
}

.rechage-view p span.fr {
    color: var(--uc-ink);
}

.tips {
    color: var(--uc-muted);
}

/* 旧表单（消息设置 / 投稿等） */
.user-form {
    color: var(--uc-ink);
}

.user-form .form-control {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    min-height: 0;
    margin-bottom: 14px;
}

.user-form .form-control > label,
.user-form .form-control > span {
    min-width: 96px;
    color: var(--uc-ink-soft);
    font-size: 12.5px;
    font-weight: 700;
    line-height: 1.7;
    text-align: left;
}

.user-form .form-control > label + label {
    min-width: 0;
    color: var(--uc-faint);
    font-size: 11.5px;
    font-weight: 500;
}

.user-form .form-control > input,
.user-form .form-control > select {
    width: min(360px, 100%);
    height: 42px;
    border: 1px solid var(--uc-line);
    border-radius: 10px;
    background: var(--uc-paper-2);
    color: var(--uc-ink);
    font-size: 13.5px;
    line-height: 40px;
    padding: 0 12px;
}

.user-form .form-control > textarea {
    width: 100%;
    min-height: 110px;
    padding: 10px 12px;
    border: 1px solid var(--uc-line);
    border-radius: 10px;
    background: var(--uc-paper-2);
    color: var(--uc-ink);
    line-height: 1.6;
}

.user-form .form-control > input[type="submit"],
.user-form .form-control > input[type="button"] {
    width: auto;
    height: 40px;
    padding: 0 22px;
    border: 1px solid var(--uc-accent);
    border-radius: 10px;
    background: var(--uc-accent);
    color: #2a1d05;
    font-weight: 800;
    line-height: 38px;
    cursor: pointer;
}

.user-form .form-password {
    width: min(300px, 100%);
}

.user-form .form-password input {
    width: 100%;
    height: 42px;
    border: 1px solid var(--uc-line);
    border-radius: 10px;
    background: var(--uc-paper-2);
    color: var(--uc-ink);
    padding: 0 12px;
}

.user-form .form-password i {
    height: 42px;
    line-height: 42px;
    color: var(--uc-faint);
}

.user-form .check-box {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    color: var(--uc-ink-soft);
    font-size: 13px;
    line-height: 1.7;
}

input[type="checkbox"],
input[type="radio"] {
    --active: var(--uc-accent);
    --active-inner: #2a1d05;
    --input-border: var(--uc-line-strong);
    --input-border-hover: var(--uc-accent);
    --background: var(--uc-paper-2);
    --disabled: var(--uc-paper-3);
    --disabled-inner: var(--uc-line);
}

/* 作者公共主页 */
.user-follow-top {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 0;
}

.user-top-left {
    width: 232px;
    margin-right: 0;
    padding: 22px 0;
    border: 1px solid var(--uc-line);
    border-radius: var(--uc-radius);
    background: var(--uc-paper);
    box-shadow: var(--uc-shadow-soft);
}

.user-top-left .username-info a {
    color: var(--uc-ink);
    font-size: 17px;
    font-weight: 800;
}

.user-top-left .autograph-info {
    color: var(--uc-muted);
}

.user-top-left .btn-area .btn-default {
    border-radius: 10px;
}

.user-top-left .btn-area .btn-follow {
    border: 1px solid var(--uc-accent);
    background: var(--uc-accent);
    color: #2a1d05;
    font-weight: 800;
}

/* 登录提示 / 空状态 */
.login-tips i {
    color: var(--uc-faint);
}

.no-login-page .user-content {
    text-align: center;
}

/* 页面级空列表文字 */
.follow-list1 > p,
.shop-record-list > p {
    grid-column: 1 / -1;
    width: 100% !important;
    padding: 36px 0 !important;
    color: var(--uc-muted);
    font-size: 13px;
    text-align: center;
}

/* 旧模板的内联白底在深色主题下兜底 */
html[data-theme="dark"] .rechage,
html[data-theme="dark"] .rechage-view,
html[data-theme="dark"] .user-top-left,
html[data-theme="dark"] .record-item {
    border-color: var(--uc-line) !important;
    background: var(--uc-paper) !important;
}

html[data-theme="dark"] .rechage-list li:hover,
html[data-theme="dark"] .shop-record-list .record-item:hover {
    background: var(--uc-paper-2) !important;
}

html[data-theme="dark"] .rechage-view h4 {
    color: var(--uc-ink);
}

html[data-theme="dark"] .rechage-view p,
html[data-theme="dark"] .rechage-view p.tips {
    color: var(--uc-muted);
}

html[data-theme="dark"] .rechage-view p span.fr {
    color: var(--uc-ink);
}

html[data-theme="dark"] .user-top-left .username-info a {
    color: var(--uc-ink);
}

html[data-theme="dark"] .user-top-left .autograph-info {
    color: var(--uc-muted);
}

html[data-theme="dark"] select#paytype,
html[data-theme="dark"] .information input {
    border-color: var(--uc-line);
    background: var(--uc-paper-2);
    color: var(--uc-ink);
}

/* 富文本投稿内容 */
.jizhitip {
    color: var(--uc-ink);
}

/* 兼容旧首页的 data 卡片 */
.user-data-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    align-items: start;
}

/* --------------------------------------------------------------------------
   14. 页脚
   -------------------------------------------------------------------------- */

footer.uc-footer {
    margin-top: 30px;
    padding: 22px 0 30px;
    border-top: 1px solid var(--uc-line);
    background: transparent;
}

.uc-footer__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px 20px;
    flex-wrap: wrap;
    width: 100%;
    max-width: var(--uc-maxw);
    margin: 0 auto;
    padding: 0 clamp(18px, 2.4vw, 40px);
}

.uc-footer p {
    color: var(--uc-faint);
    font-size: 12px;
    line-height: 1.8;
    text-align: left;
}

.uc-footer a {
    color: var(--uc-muted);
    font-weight: 600;
}

.uc-footer a:hover {
    color: var(--uc-accent-deep);
}

.uc-footer__links {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   15. Toast
   -------------------------------------------------------------------------- */

.uc-toast {
    position: fixed;
    left: 50%;
    bottom: calc(26px + env(safe-area-inset-bottom, 0px));
    z-index: 300;
    max-width: min(88vw, 420px);
    padding: 11px 18px;
    border: 1px solid var(--uc-line);
    border-radius: 12px;
    background: var(--uc-paper);
    color: var(--uc-ink);
    box-shadow: 0 20px 50px -24px rgba(12, 14, 24, 0.6);
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 14px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
    pointer-events: none;
}

.uc-toast.is-show {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.uc-toast--ok {
    border-color: rgba(47, 146, 104, 0.4);
}

.uc-toast--error {
    border-color: rgba(207, 74, 74, 0.4);
    color: var(--uc-danger);
}

/* --------------------------------------------------------------------------
   15b. 兼容修正（旧 user.css / 页面内联样式的覆盖）
   -------------------------------------------------------------------------- */

/* 旧样式给所有 header 套了白底、固定高度和阴影，卡片头 / 页头必须还原 */
header.uc-card__head,
header.uc-pagehead {
    height: auto;
    margin: 0;
    background: transparent;
    box-shadow: none;
}

header.uc-card__head {
    margin-bottom: 16px;
}

/* 侧栏处于限高 flex 容器中，禁止各区块被压扁 */
.uc-side > * {
    flex: 0 0 auto;
}

/* 顶部提示条：旧 .user-right .user-tips 选择器比 .user-tips 优先级更高 */
.page .user-right .user-tips {
    height: auto;
    margin-bottom: 0;
    padding: 12px 16px;
    border: 1px solid var(--uc-line);
    border-radius: 14px;
    background: var(--uc-paper);
    box-shadow: var(--uc-shadow-soft);
}

.page .user-right .user-tips p {
    color: var(--uc-muted);
}

/* 关注 / 粉丝卡片：覆盖 .follow-list1 li .follow-list-item 与页面内联头像尺寸 */
.page .follow-list1 li .follow-list-item {
    padding: 22px 16px 16px;
    border: 1px solid var(--uc-line);
    border-radius: 18px;
    background: var(--uc-paper);
    box-shadow: var(--uc-shadow-soft);
}

.page .follow-list1 .follow-list-item img {
    width: 64px;
    height: 64px;
    margin: 0 auto;
    border-radius: 50%;
    object-fit: cover;
}

/* Hero：避免 flex gap 把“你好，用户名”拆成多个带间距的片段 */
.uc-hero__name {
    display: inline;
    min-width: 0;
}

/* 顶部品牌：恢复站点原 logo */
.uc-brand__logo {
    display: block;
    width: auto;
    height: 40px;
}

html[data-theme="dark"] .uc-brand__logo {
    filter: invert(1) brightness(1.6);
}

.uc-brand__text em {
    margin-left: 0;
    padding-left: 10px;
    border-left: 1px solid var(--uc-line);
}

/* --------------------------------------------------------------------------
   16. 响应式
   -------------------------------------------------------------------------- */

@media (min-width: 1600px) {
    .page > .container {
        gap: 30px;
    }

    .uc-side {
        width: 280px;
        flex-basis: 280px;
    }

    .uc-hero {
        padding: 34px;
    }

    .uc-hero__title {
        font-size: 32px;
    }

    .uc-card {
        padding: 24px 26px;
    }
}

@media (max-width: 1180px) {
    .uc-stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .uc-cols--three {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991px) {
    .page > .container {
        display: block;
        padding: 16px 16px 4px;
    }

    .uc-side {
        position: fixed;
        top: 0;
        bottom: 0;
        left: 0;
        z-index: 120;
        display: flex !important;
        width: min(86vw, 320px);
        max-height: none;
        height: 100%;
        padding: 16px 14px calc(16px + env(safe-area-inset-bottom, 0px));
        border-right: 1px solid var(--uc-line);
        background: var(--uc-bg);
        box-shadow: 30px 0 60px -40px rgba(0, 0, 0, 0.6);
        overflow-y: auto;
        transform: translateX(-102%);
        transition: transform 0.26s cubic-bezier(0.32, 0.72, 0, 1);
        visibility: hidden;
    }

    body.uc-drawer-open .uc-side {
        transform: translateX(0);
        visibility: visible;
    }

    .uc-drawer-mask {
        display: block;
        pointer-events: none;
    }

    body.uc-drawer-open .uc-drawer-mask {
        opacity: 1;
        pointer-events: auto;
    }

    body.uc-drawer-open {
        overflow: hidden;
    }

    .uc-side__close {
        display: grid;
        place-items: center;
        position: absolute;
        top: 14px;
        right: 12px;
        width: 34px;
        height: 34px;
        border: 1px solid var(--uc-line);
        border-radius: 10px;
        background: var(--uc-paper);
        color: var(--uc-ink-soft);
        cursor: pointer;
    }

    .uc-profile {
        padding-right: 52px;
    }

    .uc-hero {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
        padding: 24px;
        border-radius: 22px;
    }

    .uc-hero__aside {
        flex-direction: row;
        align-items: baseline;
        flex-wrap: wrap;
        gap: 6px 12px;
        min-width: 0;
    }

    .uc-hero__aside strong {
        font-size: 28px;
    }

    .uc-hero__aside a {
        margin-top: 0;
        margin-left: auto;
    }

    .uc-cols,
    .uc-cols--even,
    .uc-cols--three {
        grid-template-columns: minmax(0, 1fr);
    }

    .uc-header__inner {
        padding: 0 14px;
        gap: 8px;
    }

    .uc-nav-toggle {
        display: inline-flex;
    }
}

@media (min-width: 992px) {
    .uc-nav-toggle {
        display: none;
    }
}

@media (max-width: 767px) {
    body {
        font-size: 14.5px;
    }

    .uc-header__inner {
        height: 58px;
    }

    .uc-hide-sm {
        display: none !important;
    }

    .uc-brand__text {
        font-size: 15px;
    }

    .uc-brand__logo {
        height: 34px;
    }

    .uc-brand__text em {
        display: none;
    }

    .uc-lang {
        display: none;
    }

    .uc-theme {
        display: none;
    }

    .uc-user__name,
    .uc-user__caret {
        display: none;
    }

    .uc-user__btn {
        padding: 0 4px;
    }

    .uc-pagehead {
        align-items: flex-start;
        flex-direction: column;
        gap: 8px;
    }

    .uc-pagehead h1 {
        font-size: 22px;
    }

    .uc-hero__title {
        font-size: 23px;
    }

    .uc-hero {
        padding: 20px;
    }

    .uc-hero__actions .uc-btn {
        flex: 1 1 auto;
    }

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

    .uc-stat {
        padding: 14px;
    }

    .uc-stat strong {
        font-size: 19px;
    }

    .uc-card,
    .user-content,
    .user-data,
    .wallet,
    .order-details,
    .rechage-view {
        padding: 16px;
        border-radius: 16px;
    }

    .uc-kv__row {
        flex-direction: column;
        gap: 2px;
        padding: 9px 0;
    }

    .uc-kv__k {
        flex: none;
    }

    .uc-kv__v {
        font-size: 13.5px;
    }

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

    .follow-list-item {
        padding: 16px 12px 12px;
    }

    .user-tips p {
        font-size: 12px;
    }

    .common-tab {
        padding: 2px 8px;
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .common-tab h2 a {
        margin-right: 0;
        padding: 0 10px;
        font-size: 13px;
    }

    .release-table {
        padding: 4px 8px 8px;
        border-radius: 16px;
    }

    .shop-record-list .record-item {
        padding: 14px;
    }

    .record-item h4 a.change,
    .record-item h4 a.btn-more {
        height: 28px;
        padding: 0 10px;
        line-height: 26px;
    }

    .wallet-right {
        margin-top: 14px;
        padding-left: 0;
        border-left: 0;
        border-top: 1px solid var(--uc-line);
        padding-top: 14px;
    }

    .user-form .form-control {
        align-items: stretch;
        flex-direction: column;
        gap: 6px;
    }

    .user-form .form-control > label,
    .user-form .form-control > span {
        min-width: 0;
    }

    .user-form .form-control > input,
    .user-form .form-control > select,
    .user-form .form-password,
    .form-password input {
        width: 100%;
    }

    .uc-footer__inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 16px;
    }

    .uc-cols {
        gap: 14px;
    }

    .uc-main {
        gap: 14px;
    }

    .uc-side__prefs {
        display: block;
    }
}

@media (max-width: 420px) {
    .follow-list1 {
        grid-template-columns: minmax(0, 1fr);
    }

    .uc-hero__aside {
        display: grid;
        grid-template-columns: 1fr auto;
        align-items: center;
    }
}

/* --------------------------------------------------------------------------
   17. 动效与可访问性
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
    }
}

@media print {
    .uc-header,
    .uc-side,
    .uc-footer,
    .uc-toast {
        display: none !important;
    }

    .page > .container {
        display: block;
        padding: 0;
    }
}
