/* ============================================================
   欧阳个人主页 · 样式表
   现代功能主义 · 纯黑主色 / 白底 / 明暗模式
   ============================================================ */

/* ---------- 主题变量 ---------- */
:root {
    --bg: #ffffff;
    --bg-soft: #f5f5f7;
    --bg-elevated: #ffffff;
    --surface: #ffffff;
    --border: #ebebef;
    --border-strong: #d4d4dc;
    --text: #141417;
    --text-soft: #54545c;
    --text-muted: #9094a0;
    --primary: #000000;
    --primary-fg: #ffffff;
    --primary-soft: #1f1f23;
    --accent: #000000;
    --danger: #d4380d;
    --danger-bg: #fff2f0;
    --warn: #d48806;
    --warn-bg: #fffbe6;
    --success: #389e0d;
    --success-bg: #f6ffed;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.04);
    --shadow: 0 4px 16px rgba(0,0,0,.06);
    --shadow-lg: 0 14px 44px rgba(0,0,0,.12);
    --ring: rgba(0,0,0,.12);
    --placeholder-grad: linear-gradient(135deg,#f0f0f3,#e7e7ec);
    --radius: 14px;
    --radius-sm: 10px;
    --radius-lg: 22px;
    --maxw: 1360px;
    --ease: cubic-bezier(.22,.61,.36,1);
    --ease-spring: cubic-bezier(.34,1.56,.64,1);
    --dur: 300ms;
    --header-h: 64px;
    --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
            "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    font-feature-settings: "tnum" 1, "cv01" 1;
}
[data-theme="dark"] {
    --bg: #0c0c0e;
    --bg-soft: #151517;
    --bg-elevated: #1a1a1d;
    --surface: #1a1a1d;
    --border: #2a2a30;
    --border-strong: #3c3c44;
    --text: #f1f1f4;
    --text-soft: #b6b6be;
    --text-muted: #85858f;
    --primary: #ffffff;
    --primary-fg: #000000;
    --primary-soft: #2a2a30;
    --accent: #ffffff;
    --danger: #ff7875;
    --danger-bg: #2a1614;
    --warn: #ffa940;
    --warn-bg: #2a2414;
    --success: #95de64;
    --success-bg: #16261a;
    --shadow-sm: 0 1px 2px rgba(0,0,0,.4);
    --shadow: 0 4px 16px rgba(0,0,0,.45);
    --shadow-lg: 0 14px 44px rgba(0,0,0,.6);
    --ring: rgba(255,255,255,.22);
    --placeholder-grad: linear-gradient(135deg,#1f1f24,#26262c);
}

/* ---------- 重置 ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    font-size: 15px;
    -webkit-font-smoothing: antialiased;
    transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
    position: relative;
    min-height: 100vh;
    overflow-x: hidden;
}
/* 全局微妙背景装饰 —— 低透明度径向光晕，不干扰内容 */
body::before {
    content: '';
    position: fixed;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle,
        color-mix(in srgb, var(--primary) 3%, transparent) 0%,
        transparent 60%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}
body::after {
    content: '';
    position: fixed;
    bottom: -30%;
    left: -15%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle,
        color-mix(in srgb, var(--primary) 2.5%, transparent) 0%,
        transparent 65%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: none; background: none; }
ul { list-style: none; }
h1,h2,h3,h4 { line-height: 1.3; font-weight: 600; }

.container {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1;
}

.muted { color: var(--text-muted); }
.small { font-size: 13px; }
.center { text-align: center; }

/* ---------- 按钮 ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    padding: 9px 18px; border-radius: var(--radius-sm);
    background: var(--bg-soft); color: var(--text);
    border: 1px solid var(--border);
    font-size: 14px; font-weight: 500;
    transition: all var(--dur) var(--ease);
    white-space: nowrap;
}
.btn:hover { background: var(--border); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-primary {
    background: var(--primary); color: var(--primary-fg);
    border-color: var(--primary);
}
.btn-primary:hover { background: var(--primary-soft); }
.btn-lg { padding: 13px 30px; font-size: 15px; border-radius: var(--radius); }
.btn-disabled, .btn:disabled { opacity: .5; cursor: not-allowed; pointer-events: none; }
.btn-danger { color: var(--danger); border-color: var(--danger); }
.btn-danger:hover { background: var(--danger-bg); }
.btn-sm { padding: 6px 12px; font-size: 13px; }

/* ---------- 徽章 ---------- */
.badge { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 6px; font-size: 12px; font-weight: 500; }
.badge-ok { background: var(--success-bg); color: var(--success); }
.badge-warn { background: var(--warn-bg); color: var(--warn); }
.badge-err { background: var(--danger-bg); color: var(--danger); }

/* ---------- Header ---------- */
.site-header {
    position: sticky; top: 0; z-index: 50;
    background: color-mix(in srgb, var(--bg) 85%, transparent);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; height: var(--header-h); gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 16px; }
.brand-logo { width: 30px; height: 30px; border-radius: 8px; object-fit: cover; }
.site-nav { display: flex; gap: 4px; margin-left: 8px; }
.site-nav a {
    padding: 7px 14px; font-size: 14px; color: var(--text-soft);
    position: relative;
    transition: color var(--dur) var(--ease);
}
.site-nav a:hover { color: var(--text); }
.site-nav a.active { color: var(--primary); }
.site-nav a.active::after {
    content: ''; position: absolute; left: 14px; right: 14px; bottom: 0;
    height: 2px; background: var(--primary); border-radius: 1px;
}
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.search-box {
    display: flex; align-items: center; background: transparent;
    border: none; padding: 2px 4px;
}
.search-box input { border: none; background: none; outline: none; padding: 6px 0; width: 150px; font-size: 14px; }
.search-box input::placeholder { color: var(--text-muted); }
.search-box button { padding: 6px 8px; color: var(--text-muted); font-size: 16px; }
.search-box button:hover { color: var(--text); }
.theme-toggle {
    width: 38px; height: 38px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    background: var(--bg-soft); border: 1px solid var(--border);
    font-size: 16px; transition: all var(--dur) var(--ease);
}
.theme-toggle:hover { transform: rotate(20deg); }
.theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: inline; }

/* ---------- Hero ---------- */
.hero {
    display: flex; align-items: center; justify-content: center;
    gap: 40px; padding: 96px 0 72px;
    border-bottom: 1px solid var(--border);
    position: relative;
}
.hero::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 600px; height: 400px;
    background: radial-gradient(ellipse at center,
        color-mix(in srgb, var(--primary) 4%, transparent) 0%,
        transparent 70%);
    pointer-events: none;
}
.hero-avatar {
    width: 160px; height: 160px; flex-shrink: 0;
    border-radius: 50%; overflow: hidden;
    box-shadow:
        0 0 0 5px var(--surface),
        0 0 0 6px var(--border),
        0 8px 32px rgba(0,0,0,.10),
        0 2px 8px rgba(0,0,0,.06);
    position: relative;
    z-index: 1;
}
.hero-avatar::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--primary) 18%, transparent),
        transparent 40%,
        color-mix(in srgb, var(--primary) 12%, transparent));
    z-index: -1;
    opacity: .6;
}
.hero-avatar img, .hero-avatar svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-text { text-align: left; position: relative; z-index: 1; max-width: 560px; }
.hero-text h1 {
    font-size: 52px; font-weight: 800;
    letter-spacing: -.032em; line-height: 1.08;
    background: linear-gradient(180deg, var(--text) 0%, color-mix(in srgb, var(--text) 72%, var(--text-muted)) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-bio {
    color: var(--text-soft); margin-top: 16px; max-width: 540px;
    font-size: 17px; line-height: 1.75;
    letter-spacing: .005em;
}
.socials { display: flex; gap: 10px; margin-top: 28px; flex-wrap: wrap; justify-content: flex-start; }
.social {
    padding: 8px 18px; border-radius: 999px; font-size: 13px; font-weight: 500;
    background: var(--bg-soft); border: 1px solid var(--border);
    color: var(--text-soft); transition: all 280ms var(--ease-spring);
    position: relative;
    overflow: hidden;
}
.social::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 280ms var(--ease-spring);
    z-index: -1;
}
.social:hover {
    color: var(--primary-fg);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px color-mix(in srgb, var(--primary) 18%, transparent);
}
.social:hover::before { transform: scaleX(1); }
.social:active { transform: translateY(0); box-shadow: 0 2px 6px rgba(0,0,0,.08); }

/* ---------- 筛选 ---------- */
.filters { padding: 32px 0 16px; }
.filter-tabs {
    display: flex; gap: 10px;
    padding: 6px;
    background: var(--bg-soft);
    border-radius: 999px;
    border: 1px solid var(--border);
    width: fit-content;
}
.filter-tabs .tab {
    padding: 8px 20px; border-radius: 999px; font-size: 14px; font-weight: 500;
    color: var(--text-soft); background: transparent; border: none;
    transition: all 280ms var(--ease-spring);
    position: relative;
}
.filter-tabs .tab em {
    font-style: normal;
    color: var(--text-muted);
    margin-left: 5px;
    font-size: 12px;
    font-weight: 600;
    opacity: .8;
    transition: color 280ms var(--ease);
}
.filter-tabs .tab:hover { color: var(--text); }
.filter-tabs .tab:hover em { color: var(--text-soft); }
.filter-tabs .tab.active {
    background: var(--primary);
    color: var(--primary-fg);
    box-shadow: 0 4px 14px color-mix(in srgb, var(--primary) 25%, transparent);
}
.filter-tabs .tab.active em { color: var(--primary-fg); opacity: .75; }
.filter-chips {
    display: flex; gap: 8px;
    margin-top: 18px;
    flex-wrap: wrap;
    padding: 12px 14px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 14px;
}
.chip {
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-soft);
    background: var(--surface);
    border: 1px solid var(--border);
    transition: all 280ms var(--ease-spring);
}
.chip:hover {
    border-color: var(--primary);
    color: var(--text);
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(0,0,0,.06);
}
.chip.active {
    background: var(--primary);
    color: var(--primary-fg);
    border-color: var(--primary);
    box-shadow: 0 4px 12px color-mix(in srgb, var(--primary) 22%, transparent);
}

/* ---------- 作品网格 ---------- */
.works { padding: 28px 0 80px; }
.works-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 22px;
}
.works-grid.small { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition:
        transform 280ms var(--ease-spring),
        box-shadow 280ms var(--ease),
        border-color 280ms var(--ease);
    display: flex; flex-direction: column;
    position: relative;
}
.card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(120px circle at var(--mx, 30%) var(--my, 20%),
        color-mix(in srgb, var(--primary) 5%, transparent), transparent 60%);
    opacity: 0;
    transition: opacity 280ms var(--ease);
    pointer-events: none;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 40px rgba(0,0,0,.10), 0 4px 12px rgba(0,0,0,.05);
    border-color: transparent;
}
.card:hover::after { opacity: 1; }
.card-cover {
    position: relative;
    aspect-ratio: 16/10;
    background: var(--bg-soft);
    overflow: hidden;
}
.card-cover img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 500ms var(--ease), opacity 400ms var(--ease);
}
.card:hover .card-cover img { transform: scale(1.06); }
.card-cover-fallback {
    width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
    font-size: 42px; font-weight: 700; color: var(--text-muted);
    background: var(--placeholder-grad);
    background-size: 200% 100%;
    animation: shimmer 2.4s var(--ease) infinite;
}
.card-cover-fallback.big { font-size: 56px; }
.card-app .card-cover {
    aspect-ratio: 16/10;
    display: flex; align-items: center; justify-content: center;
    padding: 28px;
    background: linear-gradient(135deg, var(--bg-soft) 0%, color-mix(in srgb, var(--bg-soft) 60%, var(--surface)) 100%);
}
.card-app .card-cover img {
    width: 88px; height: 88px;
    border-radius: 22%;
    object-fit: cover;
    box-shadow: 0 8px 20px rgba(0,0,0,.10), 0 2px 6px rgba(0,0,0,.06);
}
.card-app .card-cover-fallback {
    width: 88px; height: 88px;
    border-radius: 22%;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: 0 8px 20px rgba(0,0,0,.08);
    animation: none;
    font-size: 36px;
}
.card-photo .card-cover { aspect-ratio: 3/2; }
.card-photo .card-cover img { object-fit: cover; }
.card-photo { cursor: zoom-in; }
.card-photo .card-badge {
    background: rgba(26,26,26,.82);
    color: #fff;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
[data-theme="dark"] .card-photo .card-badge { background: rgba(20,20,22,.78); color: #f1f1f4; }
.card-badge {
    position: absolute; top: 12px; left: 12px;
    padding: 4px 10px; border-radius: 8px;
    font-size: 11px; font-weight: 700;
    letter-spacing: .02em;
    background: rgba(0,0,0,.72);
    color: #fff;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.card-body { padding: 18px 20px 20px; flex: 1; display: flex; flex-direction: column; }
.card-body h3 {
    font-size: 15.5px; font-weight: 600;
    letter-spacing: -.005em;
    line-height: 1.35;
    transition: color 280ms var(--ease);
}
.card:hover .card-body h3 { color: var(--text); }
.card-desc {
    font-size: 13px; color: var(--text-soft); margin-top: 8px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    flex: 1;
    line-height: 1.6;
    letter-spacing: .005em;
}
.card-meta {
    display: flex; justify-content: space-between; align-items: center;
    margin-top: 16px; padding-top: 14px;
    border-top: 1px dashed var(--border);
    font-size: 12px; color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}
.card-cat {
    padding: 3px 10px;
    background: var(--bg-soft);
    border-radius: 6px;
    font-weight: 500;
    transition: all 280ms var(--ease-spring);
}
.card:hover .card-cat {
    background: var(--primary);
    color: var(--primary-fg);
}

/* =====================================================
   首页差异化新布局 —— 应用 / 网站 / 文章
   ===================================================== */

/* ---------- 应用区：主推大卡 + 右侧2x2小卡 ---------- */
.apps-layout {
    display: grid;
    grid-template-columns: 1.3fr 1fr;
    gap: 22px;
}
.app-feature {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    min-height: 340px;
    display: block;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    transition: transform 280ms var(--ease-spring), box-shadow 280ms var(--ease), border-color 280ms var(--ease);
    isolation: isolate;
}
.app-feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0,0,0,.12), 0 6px 16px rgba(0,0,0,.06);
    border-color: transparent;
}
.app-feature-bg {
    position: absolute; inset: 0;
    z-index: 0;
}
.app-feature-bg img {
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: .35;
    filter: saturate(.8);
    transition: transform 600ms var(--ease), opacity 400ms var(--ease);
}
.app-feature:hover .app-feature-bg img {
    transform: scale(1.05);
    opacity: .42;
}
.app-feature::after {
    content: '';
    position: absolute; inset: 0;
    background:
        linear-gradient(135deg, color-mix(in srgb, var(--bg) 94%, transparent) 0%, color-mix(in srgb, var(--bg) 60%, transparent) 55%, transparent 100%),
        linear-gradient(180deg, transparent 30%, color-mix(in srgb, var(--bg) 85%, transparent) 100%);
    z-index: 1;
    pointer-events: none;
}
[data-theme="dark"] .app-feature-bg img { opacity: .22; filter: saturate(.6) brightness(.7); }
.app-feature-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 26px;
    padding: 36px 34px;
    height: 100%;
    min-height: 340px;
}
.app-feature-icon {
    flex-shrink: 0;
    width: 112px; height: 112px;
    border-radius: 26%;
    overflow: hidden;
    background: var(--surface);
    box-shadow: 0 14px 32px rgba(0,0,0,.14), 0 4px 10px rgba(0,0,0,.08);
    border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
}
.app-feature-icon img {
    width: 100%; height: 100%; object-fit: cover; display: block;
}
.app-feature-icon span {
    font-size: 48px; font-weight: 700;
    color: var(--text-muted);
}
.app-feature-info { flex: 1; min-width: 0; }
.app-feature-tag {
    display: inline-flex; align-items: center;
    padding: 4px 12px;
    font-size: 11px; font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--primary-fg);
    background: var(--primary);
    border-radius: 999px;
    box-shadow: 0 4px 12px color-mix(in srgb, var(--primary) 30%, transparent);
}
.app-feature-title {
    margin-top: 16px;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.2;
}
.app-feature-desc {
    margin-top: 10px;
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--text-soft);
    max-width: 420px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.app-feature-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px dashed var(--border);
}
.app-feature-ver {
    font-size: 13px;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}
.app-feature-btn {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--primary-fg);
    display: flex; align-items: center; justify-content: center;
    transition: transform 280ms var(--ease-spring), box-shadow 280ms var(--ease);
    box-shadow: 0 6px 16px color-mix(in srgb, var(--primary) 30%, transparent);
}
.app-feature:hover .app-feature-btn {
    transform: translateX(4px);
    box-shadow: 0 8px 20px color-mix(in srgb, var(--primary) 40%, transparent);
}

/* 应用小卡 2x2 网格 */
.app-mini-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 14px;
}
.app-mini-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all 280ms var(--ease-spring);
    position: relative;
    overflow: hidden;
}
.app-mini-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(120px circle at 15% 30%,
        color-mix(in srgb, var(--primary) 6%, transparent), transparent 60%);
    opacity: 0;
    transition: opacity 280ms var(--ease);
    pointer-events: none;
}
.app-mini-card:hover {
    transform: translateY(-3px);
    border-color: transparent;
    box-shadow: 0 10px 26px rgba(0,0,0,.10), 0 3px 8px rgba(0,0,0,.05);
}
.app-mini-card:hover::before { opacity: 1; }
.app-mini-icon {
    flex-shrink: 0;
    width: 52px; height: 52px;
    border-radius: 20%;
    overflow: hidden;
    background: var(--bg-soft);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
}
.app-mini-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.app-mini-icon span {
    font-size: 22px; font-weight: 700;
    color: var(--text-muted);
}
.app-mini-info {
    flex: 1; min-width: 0;
}
.app-mini-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -.005em;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.app-mini-cat {
    margin-top: 3px;
    font-size: 12px;
    color: var(--text-muted);
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.app-mini-get {
    flex-shrink: 0;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--primary);
    background: color-mix(in srgb, var(--primary) 10%, transparent);
    transition: all 280ms var(--ease-spring);
    letter-spacing: .02em;
}
.app-mini-card:hover .app-mini-get {
    background: var(--primary);
    color: var(--primary-fg);
    box-shadow: 0 4px 10px color-mix(in srgb, var(--primary) 25%, transparent);
}

/* ---------- 网站区：大封面横幅卡 + 3个列表卡 ---------- */
.webs-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}
.web-hero {
    position: relative;
    grid-column: 1 / -1;
    border-radius: 22px;
    overflow: hidden;
    aspect-ratio: 21/9;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    display: block;
    isolation: isolate;
    transition: transform 280ms var(--ease-spring), box-shadow 280ms var(--ease), border-color 280ms var(--ease);
}
.web-hero:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 56px rgba(0,0,0,.14), 0 6px 18px rgba(0,0,0,.07);
    border-color: transparent;
}
.web-hero-img { position: absolute; inset: 0; z-index: 0; }
.web-hero-img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 700ms var(--ease);
}
.web-hero:hover .web-hero-img img { transform: scale(1.04); }
.web-hero-fallback {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 100px; font-weight: 700; color: var(--text-muted);
    background: var(--placeholder-grad);
    background-size: 200% 100%;
    animation: shimmer 2.4s var(--ease) infinite;
}
.web-hero-overlay {
    position: absolute; inset: 0; z-index: 1;
    background:
        linear-gradient(180deg, rgba(0,0,0,.15) 0%, transparent 30%, transparent 55%, rgba(0,0,0,.82) 100%),
        linear-gradient(135deg, rgba(0,0,0,.35) 0%, transparent 55%);
}
.web-hero-badge {
    position: absolute;
    top: 22px; left: 22px; z-index: 3;
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 14px;
    font-size: 11.5px; font-weight: 700;
    letter-spacing: .06em;
    color: #fff;
    background: rgba(255,255,255,.14);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 999px;
}
.web-hero-info {
    position: absolute;
    left: 28px; right: 120px; bottom: 26px; z-index: 2;
    color: #fff;
}
.web-hero-cat {
    font-size: 12px; font-weight: 600;
    color: rgba(255,255,255,.82);
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.web-hero-title {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.2;
    text-shadow: 0 2px 10px rgba(0,0,0,.4);
}
.web-hero-desc {
    margin-top: 8px;
    font-size: 14.5px;
    line-height: 1.6;
    color: rgba(255,255,255,.85);
    text-shadow: 0 1px 6px rgba(0,0,0,.4);
    max-width: 560px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.web-hero-visit {
    position: absolute;
    right: 26px; bottom: 28px; z-index: 3;
    display: inline-flex; align-items: center; gap: 6px;
    padding: 9px 18px;
    font-size: 13px; font-weight: 600;
    color: #111;
    background: #fff;
    border-radius: 999px;
    box-shadow: 0 8px 22px rgba(0,0,0,.25);
    transition: transform 280ms var(--ease-spring), box-shadow 280ms var(--ease);
}
.web-hero:hover .web-hero-visit {
    transform: translateX(-2px);
    box-shadow: 0 10px 26px rgba(0,0,0,.32);
}
[data-theme="dark"] .web-hero-visit { color: #fff; background: var(--primary); box-shadow: 0 8px 22px color-mix(in srgb, var(--primary) 40%, transparent); }

/* 网站列表卡 */
.web-list {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.web-item {
    display: flex;
    gap: 14px;
    padding: 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all 280ms var(--ease-spring);
    position: relative;
    overflow: hidden;
}
.web-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(100px circle at 10% 20%,
        color-mix(in srgb, var(--primary) 5%, transparent), transparent 60%);
    opacity: 0;
    transition: opacity 280ms var(--ease);
    pointer-events: none;
}
.web-item:hover {
    transform: translateY(-3px);
    border-color: transparent;
    box-shadow: 0 10px 28px rgba(0,0,0,.10), 0 3px 10px rgba(0,0,0,.04);
}
.web-item:hover::after { opacity: 1; }
.web-item-thumb {
    flex-shrink: 0;
    width: 96px; height: 72px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-soft);
    box-shadow: 0 3px 10px rgba(0,0,0,.08);
}
.web-item-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease); }
.web-item:hover .web-item-thumb img { transform: scale(1.08); }
.web-item-fallback {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 28px; font-weight: 700; color: var(--text-muted);
}
.web-item-body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.web-item-top {
    display: flex; align-items: center; justify-content: space-between;
    gap: 8px;
}
.web-item-title {
    font-size: 14.5px; font-weight: 600;
    letter-spacing: -.005em;
    line-height: 1.3;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
    flex: 1; min-width: 0;
}
.web-item-cat {
    flex-shrink: 0;
    padding: 2px 8px;
    font-size: 10.5px; font-weight: 600;
    color: var(--text-muted);
    background: var(--bg-soft);
    border-radius: 6px;
    transition: all 280ms var(--ease);
}
.web-item:hover .web-item-cat { background: var(--primary); color: var(--primary-fg); }
.web-item-desc {
    margin-top: 6px;
    font-size: 12.5px;
    line-height: 1.55;
    color: var(--text-soft);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    flex: 1;
}
.web-item-foot {
    margin-top: 10px;
    display: flex; align-items: center; justify-content: space-between;
    padding-top: 9px;
    border-top: 1px dashed var(--border);
    font-size: 11.5px;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}
.web-item-link {
    display: inline-flex; align-items: center; gap: 4px;
    font-weight: 600;
    color: var(--primary);
    transition: gap 280ms var(--ease);
}
.web-item:hover .web-item-link { gap: 6px; }

/* ---------- 文章区：左精选竖卡 + 右侧3个左图右文 ---------- */
.articles-layout {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 22px;
}
.article-feature {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    aspect-ratio: 4/5;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    display: block;
    isolation: isolate;
    transition: transform 280ms var(--ease-spring), box-shadow 280ms var(--ease), border-color 280ms var(--ease);
}
.article-feature:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 54px rgba(0,0,0,.14), 0 6px 16px rgba(0,0,0,.07);
    border-color: transparent;
}
.article-feature-img { position: absolute; inset: 0; z-index: 0; }
.article-feature-img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 700ms var(--ease);
}
.article-feature:hover .article-feature-img img { transform: scale(1.05); }
.article-feature-fallback {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 90px; font-weight: 700; color: var(--text-muted);
    background: var(--placeholder-grad);
    background-size: 200% 100%;
    animation: shimmer 2.4s var(--ease) infinite;
}
.article-feature-overlay {
    position: absolute; inset: 0; z-index: 1;
    background:
        linear-gradient(180deg, rgba(0,0,0,.22) 0%, transparent 25%, transparent 45%, rgba(0,0,0,.25) 70%, rgba(0,0,0,.9) 100%),
        linear-gradient(135deg, rgba(0,0,0,.3) 0%, transparent 40%);
}
.article-feature-content {
    position: absolute;
    left: 28px; right: 28px; bottom: 28px; z-index: 2;
    color: #fff;
}
.article-feature-top {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 14px;
}
.article-feature-cat {
    padding: 4px 12px;
    font-size: 11px; font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #111;
    background: #fff;
    border-radius: 999px;
    box-shadow: 0 4px 12px rgba(0,0,0,.2);
}
[data-theme="dark"] .article-feature-cat { color: var(--primary-fg); background: var(--primary); box-shadow: 0 4px 12px color-mix(in srgb, var(--primary) 40%, transparent); }
.article-feature-read {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 11.5px; font-weight: 600;
    color: rgba(255,255,255,.92);
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,.18);
    padding: 4px 10px;
    border-radius: 999px;
}
.article-feature-title {
    font-size: 27px;
    font-weight: 700;
    letter-spacing: -.02em;
    line-height: 1.22;
    text-shadow: 0 2px 10px rgba(0,0,0,.45);
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.article-feature-sum {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.65;
    color: rgba(255,255,255,.88);
    text-shadow: 0 1px 6px rgba(0,0,0,.4);
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.article-feature-foot {
    display: flex; align-items: center; justify-content: space-between;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255,255,255,.16);
    font-size: 12px;
    font-variant-numeric: tabular-nums;
}
.article-feature-time {
    display: inline-flex; align-items: center; gap: 5px;
    color: rgba(255,255,255,.82);
    font-weight: 500;
}
.article-feature-more {
    display: inline-flex; align-items: center; gap: 5px;
    font-weight: 600;
    color: #fff;
    padding: 6px 14px 6px 16px;
    background: rgba(255,255,255,.14);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 999px;
    transition: all 280ms var(--ease-spring);
}
.article-feature:hover .article-feature-more {
    background: #fff;
    color: #111;
    transform: translateX(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,.25);
}
[data-theme="dark"] .article-feature:hover .article-feature-more { background: var(--primary); color: var(--primary-fg); border-color: transparent; }

/* 文章列表卡 */
.article-list {
    display: grid;
    grid-template-rows: repeat(3, 1fr);
    gap: 14px;
}
.article-row {
    display: flex;
    gap: 16px;
    padding: 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 18px;
    transition: all 280ms var(--ease-spring);
    position: relative;
    overflow: hidden;
}
.article-row::after {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary), color-mix(in srgb, var(--primary) 30%, transparent));
    opacity: 0;
    transition: opacity 280ms var(--ease);
}
.article-row:hover {
    transform: translateX(4px);
    border-color: transparent;
    box-shadow: 0 10px 28px rgba(0,0,0,.10), 0 3px 10px rgba(0,0,0,.04);
}
.article-row:hover::after { opacity: 1; }
.article-row-thumb {
    flex-shrink: 0;
    width: 110px;
    aspect-ratio: 4/3;
    border-radius: 14px;
    overflow: hidden;
    background: var(--bg-soft);
    box-shadow: 0 4px 12px rgba(0,0,0,.08);
}
.article-row-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease); }
.article-row:hover .article-row-thumb img { transform: scale(1.08); }
.article-row-fallback {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 32px; font-weight: 700; color: var(--text-muted);
}
.article-row-body {
    flex: 1;
    min-width: 0;
    display: flex; flex-direction: column;
    padding-right: 4px;
}
.article-row-cat {
    align-self: flex-start;
    padding: 2px 9px;
    font-size: 10.5px; font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--primary);
    background: color-mix(in srgb, var(--primary) 10%, transparent);
    border-radius: 6px;
    transition: all 280ms var(--ease);
}
.article-row:hover .article-row-cat { background: var(--primary); color: var(--primary-fg); }
.article-row-title {
    margin-top: 8px;
    font-size: 15.5px;
    font-weight: 600;
    letter-spacing: -.01em;
    line-height: 1.35;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.article-row-sum {
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.55;
    color: var(--text-soft);
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
    flex: 1;
}
.article-row-meta {
    margin-top: 10px;
    font-size: 11.5px;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
    font-weight: 500;
}
.article-row-meta span { display: inline-flex; align-items: center; gap: 4px; }

/* ---------- 空状态 ---------- */
.empty {
    text-align: center; padding: 96px 24px;
    color: var(--text-muted);
    display: flex; flex-direction: column; align-items: center; gap: 18px;
    position: relative;
}
.empty::before {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 320px; height: 320px;
    background: radial-gradient(circle,
        color-mix(in srgb, var(--primary) 5%, transparent) 0%,
        transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.empty > * { position: relative; z-index: 1; }
.empty-ill {
    width: 88px; height: 88px;
    border-radius: 50%;
    border: 2px dashed var(--border-strong);
    display: flex; align-items: center; justify-content: center;
    font-size: 34px;
    color: var(--text-muted);
    background: var(--bg-soft);
    position: relative;
}
.empty-ill::after {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--primary) 3%, transparent);
    z-index: -1;
}
.empty p {
    max-width: 400px;
    font-size: 14.5px;
    line-height: 1.7;
    color: var(--text-soft);
}
.empty .btn {
    margin-top: 4px;
    padding: 10px 22px;
}

/* ---------- Footer ---------- */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 36px 0;
    margin-top: 48px;
    position: relative;
}
.site-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 80px; height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
}
.site-footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
.site-footer p {
    color: var(--text-muted);
    font-size: 13px;
    text-align: center;
    letter-spacing: .01em;
}
.site-footer .footer-brand {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-soft);
    opacity: .7;
    transition: opacity 280ms var(--ease);
}
.site-footer .footer-brand:hover { opacity: 1; }
.site-footer .footer-brand .brand-logo {
    width: 26px; height: 26px;
    border-radius: 7px;
}
@media (max-width: 720px) {
    .site-footer .footer-brand { font-size: 13px; }
    .site-footer .footer-brand .brand-logo { width: 22px; height: 22px; border-radius: 6px; }
}

/* ---------- APP 详情 ---------- */
.back-link {
    display: inline-flex; align-items: center; gap: 4px;
    color: var(--text-soft); font-size: 14px; margin: 28px 0 4px;
    transition: color var(--dur) var(--ease);
}
.back-link:hover { color: var(--text); }
.app-hero {
    display: flex; align-items: center; gap: 28px;
    padding: 28px 0; border-bottom: 1px solid var(--border); flex-wrap: wrap;
}
.app-icon { width: 110px; height: 110px; flex-shrink: 0; }
.app-icon img { width: 100%; height: 100%; border-radius: 24%; box-shadow: var(--shadow); }
.app-icon .card-cover-fallback { width: 110px; height: 110px; border-radius: 24%; }
.app-head-info { flex: 1; min-width: 240px; }
.app-head-info h1 { font-size: 28px; }
.app-tags { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.tag {
    padding: 4px 11px; border-radius: 6px; font-size: 12px;
    background: var(--bg-soft); border: 1px solid var(--border);
}
.tag.muted-tag { color: var(--text-muted); }
.app-short { color: var(--text-soft); margin-top: 12px; }
.app-stats { display: flex; align-items: center; margin-top: 16px; font-size: 13px; color: var(--text-muted); }
.app-stats b { color: var(--text); font-weight: 600; }
.app-actions { display: flex; gap: 10px; align-items: center; }

.app-section { padding: 32px 0; border-bottom: 1px solid var(--border); }
.app-section:last-child { border-bottom: none; }
.app-section-title { font-size: 18px; margin-bottom: 18px; }
.screenshots {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px; grid-auto-flow: dense;
}
.screenshot {
    border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--border);
    aspect-ratio: 16/9; background: var(--bg-soft);
    transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), aspect-ratio .3s var(--ease);
}
.screenshot.landscape { grid-column: span 2; }
.screenshot:hover { transform: scale(1.02); box-shadow: var(--shadow); }
.screenshot img { width: 100%; height: 100%; object-fit: cover; }
.app-description { color: var(--text-soft); line-height: 1.8; }
.app-description p { margin-bottom: 12px; }

/* ---------- 安装向导 ---------- */
.install-body { background: var(--bg-soft); min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 40px 20px; }
.install-wrap { width: 100%; max-width: 720px; }
.install-card {
    background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg);
    padding: 40px; box-shadow: var(--shadow);
}
.install-head { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.install-logo { width: 52px; height: 52px; border-radius: 14px; }
.install-head h1 { font-size: 22px; }
.install-head p { color: var(--text-muted); font-size: 13px; }
.steps { display: flex; gap: 6px; margin-bottom: 28px; flex-wrap: wrap; }
.step {
    display: flex; align-items: center; gap: 6px; flex: 1;
    padding: 10px 12px; border-radius: var(--radius-sm);
    background: var(--bg-soft); font-size: 13px; color: var(--text-muted);
    transition: all var(--dur) var(--ease); min-width: 0;
    border: 1px solid transparent;
}
.step em {
    width: 22px; height: 22px; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 50%; background: var(--border); color: var(--text); font-size: 12px; font-style: normal;
}
.step.active { color: var(--text); border: 1px solid var(--text); }
.step.done { color: var(--text); }
.step.done em { background: var(--primary); color: var(--primary-fg); }
.step.active em { background: var(--primary); color: var(--primary-fg); }

.env-table { width: 100%; border-collapse: collapse; margin-bottom: 24px; }
.env-table th, .env-table td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--border); font-size: 14px; }
.env-table th { color: var(--text-muted); font-weight: 500; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label.full, .grid2 label.full { grid-column: 1 / -1; }
label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--text-soft); margin-bottom: 16px; font-weight: 500; }
.grid2 label { margin-bottom: 0; }
input, textarea, select {
    padding: 10px 13px; border-radius: var(--radius-sm); border: 1px solid var(--border-strong);
    background: var(--bg); color: var(--text); font-size: 14px; outline: none;
    transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
input:focus, textarea:focus, select:focus { border-color: var(--text); box-shadow: 0 0 0 3px color-mix(in srgb, var(--text) 12%, transparent); }
textarea { resize: vertical; min-height: 80px; }
.form-actions { display: flex; gap: 10px; align-items: center; margin-top: 20px; }
.sec-title { font-size: 16px; margin: 24px 0 14px; padding-bottom: 8px; border-bottom: 1px solid var(--border); }
.install-foot { text-align: center; color: var(--text-muted); font-size: 12px; margin-top: 18px; }
.install-done { text-align: center; padding: 30px 0; }
.done-icon {
    width: 72px; height: 72px; margin: 0 auto 20px; border-radius: 50%;
    background: var(--success-bg); color: var(--success);
    display: flex; align-items: center; justify-content: center; font-size: 38px; font-weight: 700;
}
.alert {
    padding: 13px 16px; border-radius: var(--radius-sm); margin-bottom: 18px; font-size: 14px;
    border: 1px solid var(--border);
}
.alert-error { background: var(--danger-bg); color: var(--danger); border-color: var(--danger); }
.alert-warn { background: var(--warn-bg); color: var(--warn); }
.alert ul { padding-left: 18px; list-style: disc; }

/* ---------- 后台 ---------- */
.admin-body { background: var(--bg-soft); }
.admin-layout { display: flex; min-height: 100vh; }
.admin-side {
    width: 232px; flex-shrink: 0; background: var(--surface);
    border-right: 1px solid var(--border); padding: 20px 14px;
    display: flex; flex-direction: column; gap: 4px;
    position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.admin-side .brand { padding: 6px 8px 18px; gap: 10px; }
.admin-side .brand-logo { width: 34px; height: 34px; }
.admin-side .brand span { font-size: 15px; }
.admin-nav-item {
    display: flex; align-items: center; gap: 10px;
    padding: 10px 12px; border-radius: var(--radius-sm);
    color: var(--text-soft); font-size: 14px;
    transition: all var(--dur) var(--ease);
}
.admin-nav-item:hover { background: var(--bg-soft); color: var(--text); }
.admin-nav-item.active { background: var(--primary); color: var(--primary-fg); }
.admin-side .side-foot { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--border); }
.admin-side .side-user { font-size: 13px; color: var(--text-muted); padding: 0 8px 8px; }

.admin-main { flex: 1; min-width: 0; }
.admin-topbar {
    height: var(--header-h); background: var(--surface); border-bottom: 1px solid var(--border);
    display: flex; align-items: center; gap: 16px; padding: 0 28px;
}
.admin-topbar h1 { font-size: 18px; }
.admin-topbar .spacer { flex: 1; }
.admin-content { padding: 28px; }
.admin-content h2 { font-size: 18px; margin-bottom: 18px; }

.stat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 16px; margin-bottom: 28px; }
.stat-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.stat-card .stat-label { font-size: 13px; color: var(--text-muted); }
.stat-card .stat-value { font-size: 28px; font-weight: 700; margin-top: 6px; }

.panel { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.panel-head {
    display: flex; align-items: center; gap: 12px; padding: 16px 20px;
    border-bottom: 1px solid var(--border);
}
.panel-head h3 { font-size: 15px; }
.panel-head .spacer { flex: 1; }

.data-table { width: 100%; border-collapse: collapse; }
.data-table th, .data-table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--border); font-size: 14px; vertical-align: middle; }
.data-table th { color: var(--text-muted); font-weight: 500; background: var(--bg-soft); }
.data-table tr:hover td { background: var(--bg-soft); }
.data-table td .row-actions { display: flex; gap: 8px; }
.row-icon { width: 38px; height: 38px; border-radius: 9px; object-fit: cover; }
.row-thumb { width: 60px; height: 38px; border-radius: 9px; object-fit: cover; }
.status-dot { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
.status-dot::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--text-muted); }
.status-dot.on::before { background: var(--success); }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid label { margin-bottom: 0; }
.upload-area {
    border: 1.5px dashed var(--border-strong); border-radius: var(--radius-sm);
    padding: 18px; text-align: center; color: var(--text-muted); cursor: pointer;
    transition: all var(--dur) var(--ease); background: var(--bg-soft);
}
.upload-area:hover { border-color: var(--text); color: var(--text); }
.upload-area img { max-height: 100px; margin: 0 auto 8px; border-radius: 8px; }
.upload-preview { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.upload-thumb { position: relative; }
.upload-thumb img { width: 80px; height: 80px; object-fit: cover; border-radius: 8px; border: 1px solid var(--border); }
.upload-thumb .rm { position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; background: var(--danger); color: #fff; border-radius: 50%; font-size: 14px; display: flex; align-items: center; justify-content: center; }

.login-body { background: var(--bg-soft); min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 20px; }
.login-card { width: 100%; max-width: 380px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow); }
.login-card .login-logo { width: 56px; height: 56px; border-radius: 16px; margin: 0 auto 18px; display: block; }
.login-card h1 { text-align: center; font-size: 22px; }
.login-card .sub { text-align: center; color: var(--text-muted); font-size: 13px; margin-bottom: 26px; }
.login-card label { margin-bottom: 14px; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding: 64px 0 48px;
        gap: 20px;
    }
    .hero::before { width: 100%; height: 300px; }
    .hero-avatar { width: 100px; height: 100px; }
    .hero-text {
        text-align: center;
        max-width: 560px;
        margin: 0 auto;
    }
    .hero-text h1 { font-size: 36px; }
    .hero-bio {
        margin-left: auto;
        margin-right: auto;
        font-size: 16px;
    }
    .socials { justify-content: center; }
    .eyebrow { font-size: 11px; letter-spacing: .16em; }
    /* 分区标题适配平板 */
    .section-head h2 { font-size: 22px; }
    .section-head h2 em { font-size: 11px; padding: 2px 9px; }
    .app-hero { gap: 18px; }
    .app-icon { width: 84px; height: 84px; }
    .app-head-info h1 { font-size: 22px; }
    /* 全局背景装饰在平板收敛 */
    body::before { width: 400px; height: 400px; opacity: .7; }
    body::after { width: 450px; height: 450px; opacity: .7; }
    /* 返回顶部位置收敛 */
    .back-to-top { right: 20px; bottom: 20px; width: 42px; height: 42px; }

    /* 新布局 - 平板适配 */
    .apps-layout { grid-template-columns: 1fr; gap: 18px; }
    .app-feature { min-height: 280px; }
    .app-feature-inner { padding: 28px 26px; min-height: 280px; gap: 20px; }
    .app-feature-icon { width: 92px; height: 92px; }
    .app-feature-icon span { font-size: 40px; }
    .app-feature-title { font-size: 24px; }
    .app-feature-desc { font-size: 14px; }

    .webs-layout { gap: 18px; }
    .web-hero { aspect-ratio: 16/7; border-radius: 18px; }
    .web-hero-title { font-size: 24px; }
    .web-hero-desc { font-size: 13.5px; }
    .web-hero-info { left: 22px; right: 110px; bottom: 22px; }
    .web-hero-visit { right: 22px; bottom: 24px; padding: 8px 16px; font-size: 12.5px; }
    .web-hero-badge { top: 18px; left: 18px; }
    .web-list { grid-template-columns: repeat(2, 1fr); gap: 12px; }

    .articles-layout { grid-template-columns: 1fr; gap: 18px; }
    .article-feature { aspect-ratio: 16/11; }
    .article-feature-content { left: 24px; right: 24px; bottom: 24px; }
    .article-feature-title { font-size: 23px; }
    .article-feature-sum { font-size: 13.5px; }
    .article-list {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr;
    }
}
@media (max-width: 720px) {
    .container { padding: 0 16px; }
    .site-nav { display: none; }
    .search-box input { width: 110px; }
    .grid2, .form-grid { grid-template-columns: 1fr; }
    .install-card { padding: 24px; }
    .step { font-size: 0; gap: 0; justify-content: center; }
    .step em { width: 28px; height: 28px; font-size: 13px; }
    .admin-side { position: fixed; left: -260px; z-index: 100; transition: left var(--dur) var(--ease); }
    .admin-side.open { left: 0; }
    .admin-menu-toggle { display: inline-flex !important; }
    .admin-content { padding: 18px; }
    .data-table { display: block; overflow-x: auto; white-space: nowrap; }
    .stat-grid { grid-template-columns: 1fr 1fr; }
    /* 移动端 Hero */
    .hero { padding: 48px 0 36px; gap: 16px; }
    .hero-avatar { width: 88px; height: 88px; }
    .hero-avatar::after { display: none; }
    .hero-text h1 { font-size: 30px; letter-spacing: -.02em; }
    .hero-bio { font-size: 15px; line-height: 1.7; max-width: 500px; }
    .eyebrow { font-size: 10.5px; letter-spacing: .14em; padding: 4px 12px 4px 9px; }
    .socials { gap: 8px; margin-top: 22px; }
    .social { padding: 7px 15px; font-size: 12.5px; }
    /* 移动端分区 */
    .photo-showcase { padding: 28px 0 8px; }
    .works-section { padding: 32px 0; }
    .section-head { margin-bottom: 20px; gap: 12px; flex-wrap: wrap; }
    .section-head h2 { font-size: 20px; gap: 10px; }
    .section-head h2::before { height: 22px; width: 3px; }
    .section-more {
        padding: 6px 12px 6px 14px;
        font-size: 12.5px;
        gap: 4px;
    }
    /* 移动端筛选区 */
    .filters { padding: 24px 0 12px; }
    .filter-tabs {
        padding: 5px;
        gap: 6px;
        width: 100%;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
        flex-wrap: nowrap;
    }
    .filter-tabs::-webkit-scrollbar { display: none; }
    .filter-tabs .tab {
        padding: 7px 16px;
        font-size: 13.5px;
        flex-shrink: 0;
        white-space: nowrap;
    }
    .filter-chips {
        margin-top: 14px;
        padding: 10px 11px;
        gap: 6px;
        border-radius: 12px;
    }
    .chip {
        padding: 5px 12px;
        font-size: 12.5px;
    }
    /* 移动端卡片网格 */
    .works-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 14px;
    }
    .card { border-radius: 13px; }
    .card-body { padding: 13px 14px 15px; }
    .card-body h3 { font-size: 14px; }
    .card-desc { font-size: 12.5px; margin-top: 6px; -webkit-line-clamp: 1; }
    .card-meta {
        margin-top: 12px;
        padding-top: 10px;
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
        font-size: 11.5px;
    }
    .card-app .card-cover { padding: 20px; }
    .card-app .card-cover img,
    .card-app .card-cover-fallback { width: 68px; height: 68px; border-radius: 20%; }
    .card-badge { top: 10px; left: 10px; padding: 3px 8px; font-size: 10.5px; }
    /* 移动端空状态 */
    .empty { padding: 72px 20px; gap: 14px; }
    .empty-ill { width: 72px; height: 72px; font-size: 28px; }
    .empty p { font-size: 14px; }
    /* 移动端 footer */
    .site-footer { padding: 28px 0; margin-top: 32px; }
    .site-footer::before { width: 60px; }
    /* 移动端截图横向滑动 */
    .screenshots {
        display: flex;
        gap: 12px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 6px;
        scrollbar-width: none;
        -ms-overflow-style: none;
        margin: 0 -16px;
        padding-left: 16px;
        padding-right: 16px;
    }
    .screenshots::-webkit-scrollbar { display: none; }
    .screenshot {
        flex: 0 0 auto;
        width: 200px;
        scroll-snap-align: start;
    }
    .screenshot.landscape { grid-column: auto; width: 280px; }
    /* 全局背景在移动端进一步收敛 */
    body::before { width: 280px; height: 280px; opacity: .5; }
    body::after { width: 320px; height: 320px; opacity: .5; }
    /* 返回顶部移动端 */
    .back-to-top { right: 16px; bottom: 16px; width: 40px; height: 40px; font-size: 16px; }

    /* 新布局 - 移动端 */
    .apps-layout { gap: 14px; }
    .app-feature { min-height: 240px; border-radius: 18px; }
    .app-feature-inner {
        flex-direction: column;
        text-align: center;
        padding: 22px 20px;
        min-height: 240px;
        gap: 14px;
    }
    .app-feature-icon { width: 72px; height: 72px; }
    .app-feature-icon span { font-size: 32px; }
    .app-feature-info { display: flex; flex-direction: column; align-items: center; }
    .app-feature-tag { font-size: 10.5px; padding: 3px 10px; }
    .app-feature-title { font-size: 20px; margin-top: 12px; }
    .app-feature-desc { font-size: 13.5px; max-width: 100%; }
    .app-feature-foot { width: 100%; }
    .app-mini-grid { grid-template-columns: 1fr; gap: 10px; }
    .app-mini-card { padding: 12px; border-radius: 14px; gap: 10px; }
    .app-mini-icon { width: 46px; height: 46px; }
    .app-mini-icon span { font-size: 20px; }
    .app-mini-get { padding: 3px 10px; font-size: 11px; }

    .webs-layout { gap: 14px; }
    .web-hero { aspect-ratio: 4/3; border-radius: 16px; }
    .web-hero-badge {
        top: 14px; left: 14px;
        padding: 5px 11px;
        font-size: 10.5px;
    }
    .web-hero-badge svg { display: none; }
    .web-hero-info {
        left: 18px; right: 18px; bottom: 18px;
    }
    .web-hero-cat { font-size: 11px; margin-bottom: 8px; }
    .web-hero-title { font-size: 20px; }
    .web-hero-desc {
        font-size: 13px;
        -webkit-line-clamp: 2;
        margin-top: 6px;
    }
    .web-hero-visit {
        right: 16px; bottom: 16px;
        padding: 6px 12px;
        font-size: 12px;
        gap: 4px;
    }
    .web-list { grid-template-columns: 1fr; gap: 10px; }
    .web-item { padding: 12px; border-radius: 14px; gap: 12px; }
    .web-item-thumb { width: 84px; height: 64px; border-radius: 10px; }
    .web-item-fallback { font-size: 24px; }
    .web-item-title { font-size: 13.5px; }
    .web-item-cat { padding: 2px 7px; font-size: 10px; }
    .web-item-desc { font-size: 12px; -webkit-line-clamp: 1; }
    .web-item-foot { margin-top: 8px; padding-top: 7px; font-size: 11px; }

    .articles-layout { gap: 14px; }
    .article-feature {
        aspect-ratio: 4/3;
        border-radius: 18px;
    }
    .article-feature-content {
        left: 20px; right: 20px; bottom: 20px;
    }
    .article-feature-top { margin-bottom: 10px; }
    .article-feature-cat {
        font-size: 10.5px;
        padding: 3px 10px;
    }
    .article-feature-read {
        font-size: 10.5px;
        padding: 3px 8px;
    }
    .article-feature-read svg { display: none; }
    .article-feature-title { font-size: 19px; -webkit-line-clamp: 2; }
    .article-feature-sum {
        font-size: 13px;
        -webkit-line-clamp: 2;
        margin-top: 8px;
    }
    .article-feature-foot {
        margin-top: 14px;
        padding-top: 12px;
        font-size: 11px;
    }
    .article-feature-more {
        padding: 5px 11px 5px 12px;
        font-size: 11.5px;
    }
    .article-list {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, 1fr);
        gap: 10px;
    }
    .article-row {
        padding: 13px;
        border-radius: 15px;
        gap: 12px;
    }
    .article-row:hover { transform: none; }
    .article-row-thumb {
        width: 90px;
        border-radius: 12px;
    }
    .article-row-fallback { font-size: 28px; }
    .article-row-cat {
        font-size: 10px;
        padding: 2px 8px;
    }
    .article-row-title {
        font-size: 14px;
        margin-top: 6px;
    }
    .article-row-sum {
        font-size: 12.5px;
        margin-top: 5px;
        -webkit-line-clamp: 1;
    }
    .article-row-meta {
        margin-top: 8px;
        font-size: 11px;
    }
}
.admin-menu-toggle { display: none; width: 38px; height: 38px; border-radius: 8px; background: var(--bg-soft); align-items: center; justify-content: center; font-size: 18px; }
@media (max-width: 480px) {
    .works-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .card-body { padding: 11px 12px 13px; }
    .card-body h3 { font-size: 13.5px; line-height: 1.3; }
    .card-desc { display: none; }
    .card-app .card-cover { padding: 16px; }
    .card-app .card-cover img,
    .card-app .card-cover-fallback { width: 58px; height: 58px; }
    .card-meta {
        margin-top: 10px;
        padding-top: 9px;
        font-size: 11px;
    }
    .card-cat { padding: 2px 7px; font-size: 11px; }
    .app-stats { gap: 12px; font-size: 12px; }
    .stat-grid { grid-template-columns: 1fr; }
    /* Hero 进一步压缩 */
    .hero { padding: 40px 0 32px; }
    .hero-avatar { width: 80px; height: 80px; }
    .hero-text h1 { font-size: 26px; }
    .hero-bio { font-size: 14.5px; margin-top: 12px; }
    .socials { margin-top: 18px; }
    /* 分区更小 */
    .section-head h2 { font-size: 18px; }
    .section-more { font-size: 12px; padding: 5px 11px 5px 12px; }

    /* 新布局 - 小屏进一步压缩 */
    .app-feature { min-height: 220px; }
    .app-feature-inner { padding: 18px 16px; min-height: 220px; gap: 12px; }
    .app-feature-icon { width: 62px; height: 62px; }
    .app-feature-icon span { font-size: 26px; }
    .app-feature-title { font-size: 18px; margin-top: 10px; }
    .app-feature-desc { font-size: 13px; display: none; }
    .app-feature-foot { margin-top: 16px; padding-top: 14px; }
    .app-feature-btn { width: 32px; height: 32px; }
    .app-mini-title { font-size: 13px; }
    .app-mini-cat { font-size: 11.5px; }

    .web-hero { aspect-ratio: 5/4; }
    .web-hero-title { font-size: 18px; }
    .web-hero-desc { display: none; }
    .web-hero-info { left: 16px; right: 100px; bottom: 16px; }
    .web-hero-visit {
        right: 14px; bottom: 14px;
        padding: 6px 11px;
        font-size: 11.5px;
    }
    .web-hero-visit svg { display: none; }
    .web-item { padding: 11px; gap: 10px; }
    .web-item-thumb { width: 72px; height: 56px; border-radius: 9px; }
    .web-item-fallback { font-size: 22px; }
    .web-item-title { font-size: 13px; }
    .web-item-cat { display: none; }
    .web-item-desc { display: none; }
    .web-item-foot { margin-top: 6px; padding-top: 6px; }

    .article-feature { aspect-ratio: 1/1; }
    .article-feature-content { left: 18px; right: 18px; bottom: 18px; }
    .article-feature-title { font-size: 17px; }
    .article-feature-sum { display: none; }
    .article-feature-foot {
        margin-top: 12px;
        padding-top: 10px;
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .article-feature-more { padding: 5px 10px 5px 11px; }
    .article-row { padding: 11px; gap: 10px; }
    .article-row-thumb { width: 78px; border-radius: 10px; }
    .article-row-fallback { font-size: 24px; }
    .article-row-title { font-size: 13px; }
    .article-row-sum { display: none; }
    .article-row-cat { font-size: 9.5px; }
    .article-row-meta { margin-top: 6px; }
}
@media (hover: none) {
    .card:hover { transform: none; box-shadow: none; border-color: var(--border); }
    .card:hover::after { opacity: 0; }
    .card:hover .card-cover img { transform: none; }
    .card:hover .card-cat { background: var(--bg-soft); color: var(--text-muted); }
    .photo-card:hover { transform: none; box-shadow: 0 4px 16px rgba(0,0,0,.08), 0 1px 4px rgba(0,0,0,.04); }
    .photo-card:hover img { transform: none; }
    .section-more:hover {
        transform: none;
        background: var(--bg-soft);
        color: var(--text-soft);
        border-color: var(--border);
        box-shadow: none;
    }
    .section-more:hover::after { transform: none; }
    .social:hover {
        transform: none;
        background: var(--bg-soft);
        color: var(--text-soft);
        border-color: var(--border);
        box-shadow: none;
    }
    .social:hover::before { transform: scaleX(0); }
    .chip:hover { transform: none; box-shadow: none; border-color: var(--border); color: var(--text-soft); }
    .back-to-top:hover {
        translate: 0 0;
        background: var(--surface);
        color: var(--text);
        border-color: var(--border);
        box-shadow: 0 8px 24px rgba(0,0,0,.10), 0 2px 8px rgba(0,0,0,.06);
    }
    .strip-nav:hover {
        background: var(--surface);
        color: var(--text);
        border-color: var(--border);
        transform: translateY(-50%);
        box-shadow: 0 6px 20px rgba(0,0,0,.12), 0 2px 6px rgba(0,0,0,.06);
    }

    /* 新布局触屏降级 */
    .app-feature:hover {
        transform: none;
        box-shadow: none;
        border-color: var(--border);
    }
    .app-feature:hover .app-feature-bg img { transform: none; opacity: .35; }
    .app-feature:hover .app-feature-btn {
        transform: none;
        box-shadow: 0 6px 16px color-mix(in srgb, var(--primary) 30%, transparent);
    }
    .app-mini-card:hover {
        transform: none;
        border-color: var(--border);
        box-shadow: none;
    }
    .app-mini-card:hover::before { opacity: 0; }
    .app-mini-card:hover .app-mini-get {
        background: color-mix(in srgb, var(--primary) 10%, transparent);
        color: var(--primary);
        box-shadow: none;
    }

    .web-hero:hover {
        transform: none;
        box-shadow: none;
        border-color: var(--border);
    }
    .web-hero:hover .web-hero-img img { transform: none; }
    .web-hero:hover .web-hero-visit {
        transform: none;
        box-shadow: 0 8px 22px rgba(0,0,0,.25);
    }
    .web-item:hover {
        transform: none;
        border-color: var(--border);
        box-shadow: none;
    }
    .web-item:hover::after { opacity: 0; }
    .web-item:hover .web-item-thumb img { transform: none; }
    .web-item:hover .web-item-cat {
        background: var(--bg-soft);
        color: var(--text-muted);
    }
    .web-item:hover .web-item-link { gap: 4px; }

    .article-feature:hover {
        transform: none;
        box-shadow: none;
        border-color: var(--border);
    }
    .article-feature:hover .article-feature-img img { transform: none; }
    .article-feature:hover .article-feature-more {
        background: rgba(255,255,255,.14);
        color: #fff;
        transform: none;
        box-shadow: none;
    }
    [data-theme="dark"] .article-feature:hover .article-feature-more {
        background: rgba(255,255,255,.14);
        color: #fff;
        border-color: rgba(255,255,255,.22);
    }
    .article-row:hover {
        transform: none;
        border-color: var(--border);
        box-shadow: none;
    }
    .article-row:hover::after { opacity: 0; }
    .article-row:hover .article-row-thumb img { transform: none; }
    .article-row:hover .article-row-cat {
        background: color-mix(in srgb, var(--primary) 10%, transparent);
        color: var(--primary);
    }
}

/* ============================================================
   UI 打磨 · 细节层
   ============================================================ */

/* 文本选区色 */
::selection { background: var(--primary); color: var(--primary-fg); }

/* 滚动条 */
* { scrollbar-width: thin; scrollbar-color: var(--border-strong) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 99px; border: 3px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* 键盘聚焦环：用 outline 叠加，避免覆盖元素原有 box-shadow */
:focus-visible { outline: 3px solid var(--ring); outline-offset: 1px; border-radius: 6px; }
button:focus-visible, .btn:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
    outline: 3px solid var(--ring); outline-offset: 1px;
}
/* 输入框聚焦已有 border + box-shadow，避免双重环 */
input:focus-visible, textarea:focus-visible, select:focus-visible { outline: none; }

/* 减少动效偏好 */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
    html { scroll-behavior: auto; }
}

/* ---------- Header 滚动态 ---------- */
.site-header { transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.site-header.scrolled { box-shadow: var(--shadow-sm); background: color-mix(in srgb, var(--bg) 92%, transparent); }
.brand { letter-spacing: -.01em; }
.brand-logo { box-shadow: 0 0 0 1px var(--border); }
.site-nav a { letter-spacing: .01em; }
.search-box { transition: width var(--dur) var(--ease), border-color var(--dur) var(--ease); }
.theme-toggle:active { transform: rotate(0) scale(.92); }

/* ---------- Hero ---------- */
.hero-avatar { box-shadow: 0 0 0 5px var(--surface), 0 0 0 6px var(--border), 0 8px 32px rgba(0,0,0,.10), 0 2px 8px rgba(0,0,0,.06); position: relative; }
.hero-text h1 { letter-spacing: -.032em; }
.hero-bio { line-height: 1.75; }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 12px; font-weight: 600; letter-spacing: .2em;
    color: var(--text-soft); text-transform: uppercase; margin-bottom: 14px;
    padding: 5px 14px 5px 10px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 999px;
}
.eyebrow::before {
    content: '';
    display: inline-block;
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 15%, transparent);
}
.eyebrow::after { display: none; }
.social { letter-spacing: .01em; }

/* ---------- 卡片 ---------- */
.card { will-change: transform; }
.card-cover-fallback {
    background: var(--placeholder-grad);
    color: var(--text-muted); font-weight: 700;
}
.card-app .card-cover-fallback { font-size: 34px; }
html.js .card-cover img { opacity: 0; transition: opacity .4s var(--ease), transform var(--dur) var(--ease); }
html.js .card-cover img.loaded, html.js .screenshot img.loaded { opacity: 1; }
.card-badge { font-variant-numeric: tabular-nums; }
.card-meta { font-variant-numeric: tabular-nums; }
.card-cat { transition: background var(--dur) var(--ease); }
.card:hover .card-cat { background: var(--primary); color: var(--primary-fg); }

/* ---------- 空状态 ---------- */
.empty-ill {
    width: 72px; height: 72px; border-radius: 50%;
    border: 2px dashed var(--border-strong); display: flex; align-items: center; justify-content: center;
    font-size: 28px; color: var(--text-muted); background: var(--bg-soft);
}
.empty p { max-width: 360px; }

/* ---------- 筛选 ---------- */
.filter-tabs .tab, .chip { font-variant-numeric: tabular-nums; }
.filter-tabs .tab em, .chip { transition: all var(--dur) var(--ease); }

/* ---------- APP 详情 ---------- */
.app-icon { transition: transform var(--dur) var(--ease-spring); }
.app-hero:hover .app-icon { transform: translateY(-2px); }
.app-tags .tag { font-variant-numeric: tabular-nums; }
.app-stats { font-variant-numeric: tabular-nums; }
.app-stats span:not(:last-child)::after {
    content: ''; display: inline-block; width: 3px; height: 3px; border-radius: 50%;
    background: var(--border-strong); margin: 0 14px; vertical-align: middle;
}
.screenshot { transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease); }
.screenshot:hover { box-shadow: var(--shadow); }
.btn-lg { letter-spacing: .02em; }
.back-link { transition: transform var(--dur) var(--ease); }
.back-link:hover { transform: translateX(-3px); }

/* ---------- 按钮 / 表单细节 ---------- */
.btn { letter-spacing: .01em; }
input::placeholder, textarea::placeholder { color: var(--text-muted); }
.field-error input, .field-error textarea { border-color: var(--danger) !important; box-shadow: 0 0 0 3px var(--danger-bg) !important; }

/* ---------- 后台细节 ---------- */
.admin-side .admin-nav-item { letter-spacing: .01em; }
.stat-value { font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.data-table th { font-variant-numeric: tabular-nums; }
.panel { transition: border-color var(--dur) var(--ease); }

/* ---------- 页脚 ---------- */
.site-footer a { color: var(--text-soft); transition: color var(--dur) var(--ease); }
.site-footer a:hover { color: var(--text); }

/* ---------- 图片淡入骨架 ---------- */
img[data-loading] { background: var(--bg-soft); }

/* ---------- 移动端细节 ---------- */
@media (max-width: 720px) {
    .search-box { padding: 2px 4px 2px 10px; }
    .search-box input { width: 110px; font-size: 13px; }
    .search-box:focus-within input { width: 150px; }
    .hero-text h1 { letter-spacing: -.02em; }
    /* 触屏完全禁用卡片 hover 效果（含阴影），避免点击残留 */
    .card:hover { transform: none; box-shadow: none; border-color: var(--border); }
    .card:hover .card-cover img { transform: none; }
    .card:hover .card-cat { background: var(--bg-soft); color: var(--text-muted); }
}

/* ============================================================
   UI 打磨 · 细节层 v2
   ============================================================ */

/* 卡片图片加载骨架 shimmer */
html.js .card-cover { background: var(--placeholder-grad); background-size: 200% 100%; }
html.js .card-cover.is-loading { animation: shimmer 1.4s var(--ease) infinite; }
@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
.card-cover.loaded { background: var(--bg-soft); animation: none; }

/* 页面主体淡入 */
html.js main.container,
html.js .install-wrap,
html.js .login-card { animation: fadeUp .5s var(--ease) both; }
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 按钮按下反馈 */
.btn:active { transform: translateY(0) scale(.97); }
.btn-primary:active { transform: translateY(0) scale(.97); }

/* flash / alert 自动消失过渡 */
.alert.is-hiding { opacity: 0; transform: translateY(-6px); transition: opacity .3s var(--ease), transform .3s var(--ease); }

/* 主题图标切换过渡 */
.theme-toggle .icon-sun, .theme-toggle .icon-moon { transition: opacity .2s var(--ease), transform .3s var(--ease); }

/* 卡片 hover 缩放更克制，时间略短 */
.card { transition: transform .26s var(--ease-spring), box-shadow .26s var(--ease), border-color .26s var(--ease); }
.card-cover img { transition: transform .4s var(--ease), opacity .4s var(--ease); }

/* brand-logo 边框更柔和 */
.brand-logo { box-shadow: 0 0 0 1px color-mix(in srgb, var(--border) 70%, transparent); }

/* 滚动条暗色模式对比增强 */
[data-theme="dark"] ::-webkit-scrollbar-thumb { background: #4a4a52; border-color: var(--bg); }
[data-theme="dark"] ::-webkit-scrollbar-thumb:hover { background: #5a5a64; }

/* card-badge 暗色模式柔和 */
[data-theme="dark"] .card-badge { background: rgba(20,20,22,.78); color: #f1f1f4; }

/* 截图 hover 阴影在暗色更深 */
[data-theme="dark"] .screenshot:hover { box-shadow: var(--shadow-lg); }

/* 表单输入聚焦 ring 与 border 协调 */
input:focus, textarea:focus, select:focus {
    border-color: var(--text);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--text) 10%, transparent);
}

/* 移动端导航菜单（汉堡） */
.nav-toggle {
    display: none; width: 38px; height: 38px; border-radius: 8px;
    background: var(--bg-soft); border: 1px solid var(--border);
    align-items: center; justify-content: center;
    font-size: 18px; color: var(--text); cursor: pointer;
    transition: background var(--dur) var(--ease);
}
.nav-toggle:hover { background: var(--border); }
.nav-toggle[aria-expanded="true"] { background: var(--primary); color: var(--primary-fg); border-color: var(--primary); }
.mobile-nav {
    display: none; position: fixed; top: var(--header-h); left: 0; right: 0; z-index: 49;
    background: color-mix(in srgb, var(--bg) 96%, transparent);
    backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--border);
    padding: 8px 16px 14px;
    transform: translateY(-8px); opacity: 0; pointer-events: none;
    transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.mobile-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-nav a {
    display: block; padding: 12px 14px; border-radius: var(--radius-sm);
    color: var(--text-soft); font-size: 15px;
    transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.mobile-nav a:hover { background: var(--bg-soft); color: var(--text); }
.mobile-nav a.active { background: var(--primary); color: var(--primary-fg); }
@media (max-width: 720px) {
    .nav-toggle { display: inline-flex; }
    .mobile-nav { display: block; }
}

/* 安装向导 step 移动端圆圈对齐优化 */
@media (max-width: 720px) {
    .step { font-size: 0; gap: 0; padding: 8px 6px; justify-content: center; }
    .step em { width: 28px; height: 28px; font-size: 13px; }
}

/* prefers-reduced-motion 下禁用骨架与淡入动画 */
@media (prefers-reduced-motion: reduce) {
    html.js .card-cover.is-loading { animation: none; }
    html.js main.container, html.js .install-wrap, html.js .login-card { animation: none; }
}

/* 后台表格行 hover 左侧高亮线 */
.data-table tbody tr { position: relative; transition: background var(--dur) var(--ease); }
.data-table tbody tr:hover td:first-child { box-shadow: inset 3px 0 0 var(--primary); }

/* 安装向导 install-card 在小屏圆角收敛 */
@media (max-width: 480px) {
    .install-card { border-radius: var(--radius); padding: 22px; }
    .login-card { border-radius: var(--radius); padding: 28px 22px; }
}

/* ---------- logo SVG 明暗适配 ---------- */
/* SVG fill=currentColor，由 color 控制：日间 --primary 黑、夜间 --primary 白 */
.brand-logo, .install-logo, .login-logo, .hero-avatar svg {
    color: var(--primary);
    display: block;
}
/* hero-avatar 内 SVG 居中填满圆形，避免文字偏移 */
.hero-avatar svg { display: block; }

/* ============================================================
   UI 打磨 · 动效层 v3
   原则：克制 · 280-300ms · spring · 淡入+轻滑 · 降级可见
   ============================================================ */

/* ---------- 卡片滚动入场 ----------
   用 translate 独立属性（Transforms L2），与 hover 的 transform 互不干扰。
   初始 opacity:0 + 下移；进入视口加 .in-view 后归位。 */
html.js .card {
    opacity: 0;
    animation: cardIn .5s var(--ease-spring) both;
    animation-play-state: paused;
    transition: transform .26s var(--ease-spring), box-shadow .26s var(--ease), border-color .26s var(--ease);
}
html.js .card.in-view { animation-play-state: running; }
@keyframes cardIn {
    from { opacity: 0; translate: 0 16px; }
    to { opacity: 1; translate: 0 0; }
}

/* ---------- Hero 入场：依次淡入 ----------
   头像缩放进入，eyebrow → h1 → bio → socials 依次淡入上滑 */
html.js .hero-avatar {
    opacity: 0; transform: scale(.9);
    animation: avatarIn .7s var(--ease-spring) .08s forwards;
}
@keyframes avatarIn { to { opacity: 1; transform: scale(1); } }

html.js .hero .eyebrow,
html.js .hero-text h1,
html.js .hero-bio,
html.js .socials {
    opacity: 0; transform: translateY(8px);
    animation: heroIn .6s var(--ease) forwards;
}
html.js .hero .eyebrow { animation-delay: .14s; }
html.js .hero-text h1 { animation-delay: .22s; }
html.js .hero-bio { animation-delay: .30s; }
html.js .socials { animation-delay: .38s; }
@keyframes heroIn { to { opacity: 1; transform: translateY(0); } }

/* ---------- 返回顶部按钮 ---------- */
.back-to-top {
    position: fixed; right: 28px; bottom: 28px; z-index: 40;
    width: 46px; height: 46px; border-radius: 50%;
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--border);
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
    font-weight: 600;
    display: flex; align-items: center; justify-content: center;
    opacity: 0;
    translate: 0 14px;
    pointer-events: none;
    transition:
        opacity var(--dur) var(--ease),
        translate var(--dur) var(--ease-spring),
        background 280ms var(--ease-spring),
        color 280ms var(--ease-spring),
        border-color 280ms var(--ease-spring),
        box-shadow 280ms var(--ease-spring);
    box-shadow: 0 8px 24px rgba(0,0,0,.10), 0 2px 8px rgba(0,0,0,.06);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.back-to-top.show {
    opacity: 1;
    translate: 0 0;
    pointer-events: auto;
}
.back-to-top:hover {
    translate: 0 -3px;
    background: var(--primary);
    color: var(--primary-fg);
    border-color: var(--primary);
    box-shadow: 0 12px 28px color-mix(in srgb, var(--primary) 30%, transparent);
}
.back-to-top:active {
    translate: 0 -1px;
    transform: scale(.94);
}

/* ---------- 卡片 hover 光泽（跟随鼠标） ---------- */
.card { position: relative; }
.card-shine {
    position: absolute; inset: 0; pointer-events: none; z-index: 1;
    background: radial-gradient(160px circle at var(--mx, 50%) var(--my, 50%),
        color-mix(in srgb, var(--primary) 6%, transparent), transparent 55%);
    opacity: 0; transition: opacity var(--dur) var(--ease);
    border-radius: inherit;
}
.card:hover .card-shine { opacity: 1; }

/* ---------- 按钮 ripple 波纹 ---------- */
.btn { position: relative; overflow: hidden; }
.ripple {
    position: absolute; border-radius: 50%; transform: scale(0);
    background: color-mix(in srgb, currentColor 22%, transparent);
    animation: ripple .6s var(--ease) forwards;
    pointer-events: none;
}
@keyframes ripple {
    0% { transform: scale(0); opacity: .6; }
    100% { transform: scale(2.5); opacity: 0; }
}

/* ---------- footer 链接下划线滑入 ---------- */
.site-footer a { position: relative; }
.site-footer a::after {
    content: ''; position: absolute; left: 0; bottom: -2px;
    width: 100%; height: 1px; background: currentColor;
    transform: scaleX(0); transform-origin: right;
    transition: transform var(--dur) var(--ease);
}
.site-footer a:hover::after { transform: scaleX(1); transform-origin: left; }

/* ---------- 主题切换瞬态：平滑过渡所有颜色 ----------
   切换时给 <html> 加 .theme-transition，结束后移除，避免常态拖慢交互 */
html.theme-transition,
html.theme-transition * {
    transition: background-color var(--dur) var(--ease),
                color var(--dur) var(--ease),
                border-color var(--dur) var(--ease),
                box-shadow var(--dur) var(--ease) !important;
}

/* ---------- reduced motion：禁用所有新动画，保证可访问性 ---------- */
@media (prefers-reduced-motion: reduce) {
    html.js .card { opacity: 1 !important; translate: 0 0 !important; animation: none !important; transition: none !important; }
    html.js .hero-avatar,
    html.js .hero .eyebrow,
    html.js .hero-text h1,
    html.js .hero-bio,
    html.js .socials { opacity: 1 !important; transform: none !important; animation: none !important; }
    .back-to-top { transition: none; }
    .ripple { display: none; }
    html.theme-transition, html.theme-transition * { transition: none !important; }
}

/* ============================================================
   APP 后台 UI 优化
   ============================================================ */

/* ---------- 表单字段 ---------- */
.field { display: flex; flex-direction: column; gap: 6px; }
.field > label {
    font-size: 13px; color: var(--text-soft); font-weight: 500;
    display: flex; align-items: center; gap: 4px;
}
.field > label .muted { font-weight: 400; }
.field input[type="text"],
.field input[type="number"],
.field input[type="url"],
.field input[type="email"],
.field input[type="password"],
.field textarea,
.field select {
    width: 100%; padding: 9px 12px;
    border: 1px solid var(--border); border-radius: var(--radius-sm);
    background: var(--bg); color: var(--text);
    font-size: 14px; font-family: inherit;
    transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.field input:focus,
.field textarea:focus,
.field select:focus {
    outline: none; border-color: var(--text);
    box-shadow: 0 0 0 3px var(--ring);
}
.field textarea { resize: vertical; min-height: 80px; line-height: 1.6; }
.field input[readonly] { background: var(--bg-soft); cursor: not-allowed; }
.field input[type="checkbox"] { margin-right: 6px; width: auto; }
.field input[type="file"] {
    padding: 7px 10px; background: var(--bg-soft);
    border: 1px dashed var(--border-strong); cursor: pointer;
}

/* ---------- 表单操作区 ---------- */
.form-actions { display: flex; gap: 10px; align-items: center; padding-top: 4px; }

/* ---------- 行内代码 ---------- */
code {
    font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    font-size: .9em; background: var(--bg-soft);
    padding: 2px 6px; border-radius: 4px; color: var(--text-soft);
}
.data-table code { white-space: nowrap; }

/* ---------- API 示例折叠 ---------- */
.api-sample {
    margin: 14px 20px 18px; padding-top: 12px;
    border-top: 1px dashed var(--border);
}
.api-sample > summary {
    cursor: pointer; font-size: 13px; color: var(--text-muted);
    user-select: none; list-style: none;
    transition: color var(--dur) var(--ease);
    display: inline-flex; align-items: center; gap: 4px;
}
.api-sample > summary::-webkit-details-marker { display: none; }
.api-sample > summary::before {
    content: '▸'; font-size: 11px; transition: transform var(--dur) var(--ease);
}
.api-sample[open] > summary::before { transform: rotate(90deg); }
.api-sample > summary:hover { color: var(--text); }
.api-sample > pre {
    margin-top: 10px; padding: 14px 16px;
    background: var(--bg-soft); border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
    font-size: 12.5px; line-height: 1.65; color: var(--text-soft);
    overflow-x: auto; white-space: pre-wrap; word-break: break-all;
}

/* ---------- 统计卡片 ---------- */
.stat-card {
    padding: 16px; background: var(--bg-soft); border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    transition: transform var(--dur) var(--ease-spring), box-shadow var(--dur) var(--ease);
}
.stat-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.stat-card .stat-num { font-size: 28px; font-weight: 700; }
.stat-card .stat-num.success { color: var(--success); }

/* ---------- panel 间距与打磨 ---------- */
.admin-content .panel + .panel { margin-top: 20px; }
.panel-head h3 { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.panel-head code { font-size: 12px; }
.panel-head select {
    padding: 6px 10px; border: 1px solid var(--border); border-radius: var(--radius-sm);
    background: var(--bg); color: var(--text); font-size: 13px; cursor: pointer;
}

/* ---------- 版本分布进度条 ---------- */
@keyframes barGrow { from { width: 0; } }
.bar-row { display: flex; align-items: center; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.bar-row:last-child { border-bottom: none; }
.bar-label { min-width: 120px; }
.bar-track { flex: 1; background: var(--bg-soft); height: 24px; border-radius: 6px; overflow: hidden; }
.bar-fill { height: 100%; background: var(--primary); animation: barGrow .6s var(--ease-spring); border-radius: 6px; }
.bar-value { min-width: 40px; text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- APP 后台空状态 ---------- */
.admin-content .empty-hint {
    text-align: center; padding: 48px 20px; color: var(--text-muted);
}
.admin-content .empty-hint .ill {
    font-size: 40px; color: var(--border-strong); margin-bottom: 12px;
}

/* ---------- 反馈卡片 ---------- */
.feedback-item {
    padding: 18px 20px; border-bottom: 1px solid var(--border);
    transition: background var(--dur) var(--ease);
}
.feedback-item:last-child { border-bottom: none; }
.feedback-item:hover { background: var(--bg-soft); }
.feedback-images { display: flex; gap: 8px; margin-top: 10px; flex-wrap: wrap; }
.feedback-images a {
    width: 72px; height: 72px; border-radius: 8px; overflow: hidden;
    border: 1px solid var(--border); transition: transform var(--dur) var(--ease);
}
.feedback-images a:hover { transform: scale(1.05); }
.feedback-images img { width: 100%; height: 100%; object-fit: cover; }
.feedback-reply {
    margin-top: 10px; padding: 10px 14px;
    background: var(--bg-soft); border-radius: var(--radius-sm);
    border-left: 3px solid var(--primary);
}

/* ---------- 分页 ---------- */
.pagination { padding: 16px; display: flex; gap: 6px; justify-content: center; flex-wrap: wrap; }

/* ---------- 后台 UI 美化 ---------- */
/* 文件选择器：虚线区域 + 自定义按钮 */
.field input[type="file"] {
    padding: 10px 12px;
    background: var(--bg-soft);
    border: 1px dashed var(--border-strong);
    border-radius: var(--radius-sm);
    cursor: pointer;
    line-height: 1.6;
    transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.field input[type="file"]:hover {
    border-color: var(--text-soft);
    background: color-mix(in srgb, var(--bg-soft) 60%, var(--surface));
}
.field input[type="file"]::file-selector-button {
    padding: 7px 14px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--text);
    font-size: 13px; font-weight: 500;
    font-family: inherit;
    margin-right: 12px;
    cursor: pointer;
    transition: all var(--dur) var(--ease);
}
.field input[type="file"]::file-selector-button:hover {
    background: var(--primary);
    color: var(--primary-fg);
    border-color: var(--primary);
}
.field input[type="file"]::file-selector-button:active { transform: scale(.97); }

/* checkbox 精致化 */
.field input[type="checkbox"] {
    width: 16px; height: 16px;
    vertical-align: middle;
    margin-right: 6px;
    accent-color: var(--primary);
    cursor: pointer;
}

/* 表单间距优化 */
.form-grid { gap: 20px; }
.field { gap: 7px; }

/* 面板内表单留内边距 */
.panel form.form-grid { padding: 22px; }

/* 面板头部更舒适的间距 */
.panel-head { padding: 18px 22px; }

/* API 示例折叠区边距 */
.api-sample { margin: 16px 22px 20px; }

/* 保存按钮区域右对齐 */
.form-actions {
    padding-top: 8px;
    justify-content: flex-end;
}

/* 分页间距 */
.pagination { padding: 20px 16px; }

/* 反馈图片缩略图更大更圆润 */
.feedback-images a {
    width: 80px; height: 80px;
    border-radius: var(--radius-sm);
}

/* ---------- 图片灯箱 ---------- */
.lightbox {
    position: fixed; inset: 0; z-index: 1000;
    background: rgba(0,0,0,.88);
    display: flex; align-items: center; justify-content: center;
    padding: 40px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--dur) var(--ease), visibility 0s linear var(--dur);
}
.lightbox.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: opacity var(--dur) var(--ease), visibility 0s linear 0s;
}
.lightbox img {
    max-width: 90vw; max-height: 85vh;
    border-radius: var(--radius);
    box-shadow: 0 20px 60px rgba(0,0,0,.5);
    object-fit: contain;
    transform: scale(.95);
    transition: transform var(--dur) var(--ease-spring);
}
.lightbox.open img { transform: scale(1); }
.lightbox-close {
    position: absolute; top: 20px; right: 24px;
    width: 42px; height: 42px; border-radius: 50%;
    background: rgba(255,255,255,.15); color: #fff;
    font-size: 20px; display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all var(--dur) var(--ease);
}
.lightbox-close:hover { background: rgba(255,255,255,.3); transform: rotate(90deg); }
.lightbox-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 46px; height: 46px; border-radius: 50%;
    background: rgba(255,255,255,.15); color: #fff;
    font-size: 26px; display: flex; align-items: center; justify-content: center;
    cursor: pointer; transition: all var(--dur) var(--ease);
}
.lightbox-nav:hover { background: rgba(255,255,255,.3); }
.lightbox-nav:active { transform: translateY(-50%) scale(.92); }
.lightbox-nav.prev { left: 20px; }
.lightbox-nav.next { right: 20px; }
.lightbox-counter {
    position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
    color: rgba(255,255,255,.85); font-size: 13px;
    background: rgba(0,0,0,.5); padding: 4px 14px; border-radius: 999px;
    backdrop-filter: blur(4px);
}

/* 空状态居中优化 */
.admin-content .empty,
.admin-content .empty-hint { text-align: center; }

/* ---------- 移动端 APP 后台 ---------- */
@media (max-width: 720px) {
    .field { grid-column: 1 / -1 !important; }
    .form-actions { grid-column: 1 / -1 !important; }
    .api-sample { margin-left: 14px; margin-right: 14px; }
    .panel-head { flex-wrap: wrap; }
    .feedback-item { padding: 14px; }
    .panel form.form-grid { padding: 16px; }
}

/* ============================================================
   文章模块 · 详情页 + 卡片 + Markdown 排版
   ============================================================ */

/* 文章卡片差异化 */
.card-article .card-cover { aspect-ratio: 16/9; }
.card-article .card-badge {
    background: color-mix(in srgb, var(--primary) 82%, transparent);
    color: var(--primary-fg);
}

/* 文章详情页 Hero */
.article-hero {
    padding: 28px 0 24px;
    border-bottom: 1px solid var(--border);
}
.article-cover {
    width: 100%; aspect-ratio: 21/9; border-radius: var(--radius-lg);
    overflow: hidden; margin-bottom: 24px; background: var(--bg-soft);
}
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-head-info h1 { font-size: 28px; font-weight: 700; }
.article-summary { color: var(--text-soft); margin-top: 10px; font-size: 16px; line-height: 1.6; }

/* Markdown 正文排版 */
.article-content {
    max-width: 760px; margin: 0 auto; padding: 32px 0;
    color: var(--text-soft); line-height: 1.85; font-size: 16px;
}
.article-content h1 { font-size: 26px; margin: 36px 0 16px; color: var(--text); font-weight: 700; }
.article-content h2 { font-size: 22px; margin: 32px 0 14px; color: var(--text); border-bottom: 1px solid var(--border); padding-bottom: 8px; }
.article-content h3 { font-size: 18px; margin: 24px 0 12px; color: var(--text); }
.article-content h4 { font-size: 16px; margin: 20px 0 10px; color: var(--text); }
.article-content p { margin: 14px 0; }
.article-content ul, .article-content ol { margin: 14px 0; padding-left: 28px; }
.article-content li { margin: 6px 0; }
.article-content blockquote {
    border-left: 4px solid var(--primary); padding: 10px 18px;
    margin: 18px 0; background: var(--bg-soft);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    color: var(--text-soft);
}
.article-content pre {
    background: var(--bg-soft); border: 1px solid var(--border);
    border-radius: var(--radius-sm); padding: 16px; overflow-x: auto;
    margin: 18px 0; font-size: 14px; line-height: 1.6;
}
.article-content code {
    font-family: ui-monospace, Consolas, "Courier New", monospace;
    font-size: .9em; background: var(--bg-soft); padding: 2px 6px; border-radius: 4px;
}
.article-content pre code { background: none; padding: 0; font-size: inherit; }
.article-content img {
    max-width: 100%; border-radius: var(--radius-sm); margin: 18px 0;
    cursor: zoom-in; box-shadow: var(--shadow-sm); transition: transform var(--dur) var(--ease);
}
.article-content img:hover { transform: scale(1.01); }
.article-content a {
    color: var(--text); text-decoration: underline; text-underline-offset: 3px;
    transition: color var(--dur) var(--ease);
}
.article-content a:hover { color: var(--text-muted); }
.article-content table { width: 100%; border-collapse: collapse; margin: 18px 0; }
.article-content th, .article-content td { border: 1px solid var(--border); padding: 8px 12px; text-align: left; }
.article-content th { background: var(--bg-soft); font-weight: 600; }
.article-content hr { border: none; border-top: 1px solid var(--border); margin: 28px 0; }

/* 附件下载卡片 */
.article-attachment {
    display: flex; gap: 16px; padding: 18px 20px;
    background: var(--bg-soft); border: 1px solid var(--border);
    border-radius: var(--radius); align-items: center;
    transition: border-color var(--dur) var(--ease);
}
.article-attachment:hover { border-color: var(--border-strong); }
.attachment-icon { font-size: 28px; flex-shrink: 0; }
.attachment-info { flex: 1; min-width: 0; }
.attachment-name { font-weight: 600; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.attachment-size { margin-top: 2px; }

/* 首页优化 */
.filter-tabs {
    position: sticky; top: var(--header-h); z-index: 30;
    background: color-mix(in srgb, var(--bg) 86%, transparent);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid var(--border);
    padding: 10px 0; margin: 0 -24px; padding-left: 24px; padding-right: 24px;
    transition: box-shadow var(--dur) var(--ease);
}
[data-theme="dark"] .card-cover img { filter: brightness(.92); }

/* 移动端 tab 横向滑动（5个 tab 可能挤压） */
@media (max-width: 720px) {
    .filter-tabs {
        overflow-x: auto; flex-wrap: nowrap;
        scrollbar-width: none; -ms-overflow-style: none;
        margin: 0 -16px; padding: 8px 16px;
    }
    .filter-tabs::-webkit-scrollbar { display: none; }
    .filter-tabs .tab { flex-shrink: 0; }
    .article-content { font-size: 15px; padding: 24px 0; }
    .article-head-info h1 { font-size: 24px; }
    .article-cover { aspect-ratio: 16/9; }
    .article-attachment { flex-wrap: wrap; }
}

/* 打印样式（文章详情页） */
@media print {
    .site-header, .filter-tabs, .back-link, .article-attachment, .site-footer { display: none; }
    .container { max-width: 100%; }
    .article-content { max-width: 100%; }
}

/* ============================================================
   首页分区版块 · 类型独立成区
   ============================================================ */

/* 摄影置顶展示区 —— 独立于 tab 筛选，置于 filters 上方 */
.photo-showcase { padding: 40px 0 16px; }

/* 分区容器 */
.works-section {
    padding: 48px 0;
    border-bottom: 1px solid var(--border);
    position: relative;
}
.works-section:last-child { border-bottom: none; padding-bottom: 24px; }
.section-head {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 28px; gap: 20px;
}
.section-head h2 {
    display: flex; align-items: center; gap: 14px;
    font-size: 26px; font-weight: 700; letter-spacing: -.02em;
    position: relative;
}
.section-head h2::before {
    content: '';
    width: 3px; height: 26px;
    background: linear-gradient(180deg, var(--primary) 0%, color-mix(in srgb, var(--primary) 40%, transparent) 100%);
    border-radius: 2px;
    flex-shrink: 0;
}
.section-head h2 em {
    font-style: normal;
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
    padding: 3px 10px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 999px;
    margin-left: 4px;
    font-variant-numeric: tabular-nums;
}
.section-more {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 13px; font-weight: 500;
    color: var(--text-soft); white-space: nowrap;
    padding: 7px 14px 7px 16px;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    border-radius: 999px;
    transition: all 280ms var(--ease-spring);
}
.section-more::after {
    content: '→';
    transition: transform 280ms var(--ease-spring);
    font-size: 12px;
}
.section-more:hover {
    color: var(--primary-fg);
    background: var(--primary);
    border-color: var(--primary);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px color-mix(in srgb, var(--primary) 20%, transparent);
}
.section-more:hover::after { transform: translateX(3px); }

/* 摄影横向大图条 —— 独立版块，突出视觉 */
.photo-strip-wrap {
    position: relative;
    padding: 8px 0;
}
.photo-strip-wrap::before,
.photo-strip-wrap::after {
    content: '';
    position: absolute;
    top: 8px; bottom: 8px;
    width: 60px;
    z-index: 3;
    pointer-events: none;
}
.photo-strip-wrap::before {
    left: 0;
    background: linear-gradient(to right, var(--bg) 0%, transparent 100%);
}
.photo-strip-wrap::after {
    right: 0;
    background: linear-gradient(to left, var(--bg) 0%, transparent 100%);
}
.photo-strip {
    display: flex; gap: 18px; overflow-x: auto;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    padding: 6px 16px 10px;
    margin: 0 -16px;
    scrollbar-width: none;
    scroll-padding-left: 16px;
    scroll-padding-right: 16px;
}
.photo-strip::-webkit-scrollbar { display: none; }
.photo-card {
    flex: 0 0 auto; width: 270px; aspect-ratio: 3/2; position: relative;
    border-radius: 18px; overflow: hidden; background: var(--bg-soft);
    scroll-snap-align: start; cursor: zoom-in;
    transition: transform 280ms var(--ease-spring), box-shadow 280ms var(--ease);
    box-shadow: 0 4px 16px rgba(0,0,0,.08), 0 1px 4px rgba(0,0,0,.04);
    isolation: isolate;
}
.photo-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.1) 100%);
    z-index: 1;
    transition: opacity 280ms var(--ease);
}
.photo-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 20px 50px rgba(0,0,0,.16), 0 6px 18px rgba(0,0,0,.08);
}
.photo-card:hover::before { opacity: 0; }
.photo-card img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform 600ms var(--ease);
    z-index: 0;
    position: relative;
}
.photo-card:hover img { transform: scale(1.08); }
.photo-card-info {
    position: absolute; left: 0; right: 0; bottom: 0;
    padding: 20px 20px 18px;
    background: linear-gradient(to top,
        rgba(0,0,0,.88) 0%,
        rgba(0,0,0,.6) 35%,
        rgba(0,0,0,.2) 65%,
        transparent 100%);
    color: #fff;
    z-index: 2;
}
.photo-card-title {
    display: block;
    font-weight: 600;
    font-size: 15.5px;
    letter-spacing: .005em;
    text-shadow: 0 2px 6px rgba(0,0,0,.5);
    line-height: 1.3;
}
.photo-card-loc {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12.5px;
    opacity: .92;
    margin-top: 5px;
    text-shadow: 0 1px 4px rgba(0,0,0,.5);
}
.photo-card-loc::before {
    content: '';
    display: inline-block;
    width: 5px; height: 5px;
    border-radius: 50%;
    background: rgba(255,255,255,.9);
    box-shadow: 0 0 0 2px rgba(255,255,255,.15);
}

/* 摄影轮播悬浮箭头 */
.strip-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: 0 6px 20px rgba(0,0,0,.12), 0 2px 6px rgba(0,0,0,.06);
    color: var(--text);
    display: flex; align-items: center; justify-content: center;
    font-size: 22px; font-weight: 600;
    cursor: pointer; z-index: 10;
    transition: all 280ms var(--ease-spring);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.strip-nav:hover {
    background: var(--primary);
    color: var(--primary-fg);
    border-color: var(--primary);
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 8px 24px color-mix(in srgb, var(--primary) 35%, transparent);
}
.strip-nav:active {
    transform: translateY(-50%) scale(.96);
}
.strip-nav.prev { left: -6px; }
.strip-nav.next { right: -6px; }
@media (max-width: 720px) {
    .strip-nav { display: none; }
    .photo-strip-wrap::before,
    .photo-strip-wrap::after { width: 40px; }
}

@media (max-width: 720px) {
    .photo-card { width: 230px; border-radius: 14px; }
    .works-section { padding: 28px 0; }
    .section-head h2 { font-size: 20px; }
    .photo-card-info { padding: 16px 16px 14px; }
}
@media (hover: none) {
    .photo-card:hover { transform: none; box-shadow: 0 4px 16px rgba(0,0,0,.08), 0 1px 4px rgba(0,0,0,.04); }
    .photo-card:hover img { transform: none; }
    .photo-card::before { opacity: 0; }
}

/* ========================================
 * 网站区 + 文章区 细节优化
 * ======================================== */
.web-hero-deco {
    position: absolute; top: -20px; right: -20px;
    color: var(--primary); pointer-events: none;
    z-index: 2; opacity: .9;
    transition: transform 520ms var(--ease-spring);
}
.web-hero:hover .web-hero-deco { transform: rotate(18deg) scale(1.05); }
.web-item {
    position: relative; overflow: hidden;
}
.web-item-order {
    position: absolute;
    top: 10px; right: 14px;
    font-family: 'Times New Roman', serif;
    font-size: 30px; font-weight: 700;
    line-height: 1;
    color: color-mix(in srgb, var(--primary) 35%, transparent);
    letter-spacing: -1px;
    z-index: 1; pointer-events: none;
    transform: translateY(calc(var(--i, 0) * 0));
    transition: transform 360ms var(--ease-spring), color 360ms var(--ease);
}
.web-item:hover .web-item-order { color: var(--primary); transform: scale(1.12); }
.web-item-body { position: relative; z-index: 2; }

.article-feature-deco-lines {
    position: absolute; bottom: -30px; left: -30px;
    color: var(--text-color);
    pointer-events: none; z-index: 2;
    transition: transform 600ms var(--ease-spring);
}
.article-feature:hover .article-feature-deco-lines { transform: translate(10px, -10px) rotate(-3deg); }
.article-row {
    position: relative; overflow: hidden;
    transition: transform 320ms var(--ease-spring), box-shadow 320ms var(--ease), border-color 320ms var(--ease);
}
.article-row-num {
    position: absolute;
    top: 8px; left: 10px;
    font-family: 'Times New Roman', serif;
    font-size: 28px; font-weight: 700;
    line-height: 1;
    color: color-mix(in srgb, var(--primary) 30%, transparent);
    letter-spacing: -1px;
    z-index: 3; pointer-events: none;
    transition: color 320ms var(--ease), transform 320ms var(--ease-spring);
}
.article-row:hover .article-row-num { color: var(--primary); transform: translateY(-2px) scale(1.08); }
.article-row-thumb { position: relative; z-index: 1; }
.article-row-body { position: relative; z-index: 2; }
.article-row:hover {
    transform: translateX(4px);
    border-color: color-mix(in srgb, var(--primary) 40%, var(--border));
    box-shadow: -4px 10px 28px rgba(0,0,0,.08), 0 1px 3px rgba(0,0,0,.04);
}

/* ========================================
 * 首页摄影：三栏舞台（左小 + 中大 + 右小）
 * ======================================== */
.photo-stage { padding: 18px 0 10px; }
.ps-scene {
    position: relative;
    display: flex; align-items: center; justify-content: center;
    gap: 18px;
    padding: 10px 8px 20px;
    min-height: 420px;
}
.ps-row {
    display: grid;
    grid-template-columns: 0.78fr 1.45fr 0.78fr;
    gap: 18px;
    align-items: center;
    width: 100%;
    max-width: 1200px;
}
.ps-panel {
    position: relative; display: block;
    border-radius: 20px;
    overflow: hidden;
    text-decoration: none;
    isolation: isolate;
    background: var(--bg-soft);
    border: 1px solid var(--border);
    transition: transform 420ms var(--ease-spring),
                box-shadow 420ms var(--ease),
                border-color 420ms var(--ease),
                opacity 420ms var(--ease);
}
.ps-img, .ps-center-img {
    position: relative;
    width: 100%; overflow: hidden;
    background: var(--bg-soft);
}
.ps-img img, .ps-center-img img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    transition: transform 620ms var(--ease-spring);
}
/* 两侧小图 */
.ps-side {
    height: 310px;
    opacity: .82;
    transform: scale(.96);
    filter: saturate(.92);
}
.ps-side .ps-img { height: 100%; }
.ps-side-mask {
    position: absolute; inset: 0;
    background:
        linear-gradient(180deg, transparent 35%, rgba(0,0,0,.55) 100%),
        linear-gradient(90deg, rgba(0,0,0,.18), transparent 30%, transparent 70%, rgba(0,0,0,.18));
    z-index: 2;
    pointer-events: none;
    transition: opacity 320ms var(--ease);
}
.ps-prev-panel {
    border-radius: 20px 6px 20px 20px;
}
.ps-next-panel {
    border-radius: 20px 20px 6px 20px;
}
.ps-side:hover {
    opacity: 1;
    transform: scale(.99);
    filter: saturate(1);
    box-shadow: 0 14px 34px rgba(0,0,0,.16);
    border-color: color-mix(in srgb, var(--primary) 50%, var(--border));
}
.ps-side:hover img { transform: scale(1.05); }
.ps-side-label {
    position: absolute;
    top: 50%; left: 14px;
    transform: translateY(-50%);
    z-index: 3;
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 12px;
    font-size: 12px; font-weight: 600;
    color: #fff;
    background: rgba(0,0,0,.42);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 999px;
    white-space: nowrap;
}
.ps-next-label {
    left: auto; right: 14px;
}
.ps-side:hover .ps-side-label {
    background: color-mix(in srgb, var(--primary) 70%, rgba(0,0,0,.5));
}

/* 中间大图 */
.ps-center {
    height: 430px;
    transform: scale(1);
    box-shadow:
        0 30px 70px -20px rgba(0,0,0,.35),
        0 10px 26px rgba(0,0,0,.14),
        0 2px 6px rgba(0,0,0,.06);
    border-radius: 26px;
}
.ps-center-img { height: 100%; }
.ps-center:hover img { transform: scale(1.035); }
.ps-center:hover {
    box-shadow:
        0 38px 80px -22px rgba(0,0,0,.42),
        0 14px 32px rgba(0,0,0,.16);
    border-color: color-mix(in srgb, var(--primary) 55%, var(--border));
    transform: translateY(-4px);
}
.ps-center-vign {
    position: absolute; inset: 0; z-index: 2;
    background:
        radial-gradient(ellipse 80% 60% at 50% 20%, transparent 55%, rgba(0,0,0,.18) 100%),
        linear-gradient(180deg, transparent 45%, rgba(0,0,0,.78) 100%);
    pointer-events: none;
}
.ps-center-badge {
    position: absolute;
    top: 20px; right: 22px;
    z-index: 4;
    display: inline-flex; align-items: center; gap: 7px;
    padding: 8px 14px;
    font-size: 12px; font-weight: 600;
    color: #fff;
    background: rgba(0,0,0,.42);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.14);
    font-variant-numeric: tabular-nums;
}
.ps-center-info {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 36px 32px 28px;
    z-index: 3;
    color: #fff;
}
.ps-center-meta {
    display: flex; flex-wrap: wrap; gap: 14px;
    margin-bottom: 10px;
    font-size: 12px; font-weight: 500;
    color: rgba(255,255,255,.88);
}
.ps-center-meta > span {
    display: inline-flex; align-items: center; gap: 5px;
    padding: 4px 10px;
    background: rgba(0,0,0,.28);
    border-radius: 999px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
}
.ps-center-title {
    font-size: 26px; font-weight: 700;
    line-height: 1.35;
    margin: 0;
    letter-spacing: .3px;
    text-shadow: 0 2px 12px rgba(0,0,0,.4);
}

/* 左右导航按钮 */
.ps-nav {
    position: relative;
    flex-shrink: 0;
    width: 48px; height: 48px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--bg-card);
    color: var(--text-color);
    cursor: pointer;
    display: inline-flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 14px rgba(0,0,0,.08);
    transition: all 280ms var(--ease-spring);
    z-index: 10;
}
.ps-nav:hover {
    background: var(--primary);
    color: var(--primary-fg);
    border-color: var(--primary);
    transform: scale(1.08);
    box-shadow: 0 10px 24px color-mix(in srgb, var(--primary) 35%, transparent);
}
.ps-nav:active { transform: scale(.96); }
.ps-nav:disabled {
    opacity: .4; cursor: not-allowed;
    transform: none !important;
    background: var(--bg-card) !important;
    color: var(--text-muted) !important;
    border-color: var(--border) !important;
    box-shadow: none !important;
}

/* 底部进度点 */
.ps-dots {
    display: flex; justify-content: center; align-items: center;
    gap: 8px;
    padding: 14px 0 6px;
}
.ps-dot {
    width: 7px; height: 7px;
    border-radius: 999px;
    background: color-mix(in srgb, var(--text-color) 18%, transparent);
    cursor: pointer;
    transition: all 280ms var(--ease-spring);
    border: none; padding: 0;
}
.ps-dot:hover { background: color-mix(in srgb, var(--primary) 45%, transparent); }
.ps-dot.active {
    background: var(--primary);
    width: 28px;
    border-radius: 999px;
}
.ps-dot-more {
    font-size: 11px; font-weight: 600;
    color: var(--text-muted);
    padding-left: 4px;
    font-variant-numeric: tabular-nums;
}

/* 图片淡入切换动画 */
.ps-panel img {
    will-change: transform, opacity;
}
.ps-swapping .ps-panel {
    pointer-events: none;
}

/* 摄影区响应式 */
@media (max-width: 900px) {
    .ps-row {
        grid-template-columns: 1fr 1.25fr 1fr;
        gap: 12px;
    }
    .ps-side { height: 250px; }
    .ps-center { height: 350px; border-radius: 22px; }
    .ps-center-title { font-size: 22px; }
    .ps-center-info { padding: 28px 22px 22px; }
    .ps-nav { width: 42px; height: 42px; }
    .ps-scene { gap: 12px; min-height: 360px; }
}
@media (max-width: 720px) {
    .photo-stage { padding: 14px 0 8px; }
    .ps-row {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .ps-side { display: none; }
    .ps-center {
        height: 320px;
        border-radius: 20px;
    }
    .ps-center-title { font-size: 19px; }
    .ps-center-info { padding: 24px 18px 18px; }
    .ps-center-meta { gap: 8px; font-size: 11px; margin-bottom: 8px; }
    .ps-center-badge { top: 14px; right: 14px; padding: 6px 12px; font-size: 11px; }
    .ps-nav {
        position: absolute;
        top: 50%; transform: translateY(-50%);
        width: 40px; height: 40px;
        background: rgba(255,255,255,.9);
        backdrop-filter: blur(8px);
    }
    .ps-nav.ps-prev { left: 2px; }
    .ps-nav.ps-next { right: 2px; }
    .ps-scene { padding: 6px 0 14px; min-height: 340px; }
    .ps-dots { padding-top: 6px; }
    .web-item-order, .article-row-num { font-size: 22px; }
}
@media (max-width: 480px) {
    .ps-center { height: 260px; }
    .ps-center-title { font-size: 17px; }
    .ps-center-info { padding: 20px 15px 15px; }
    .ps-center-meta > span { padding: 3px 8px; }
}

/* 摄影区触屏降级 */
@media (hover: none) {
    .ps-side:hover { transform: scale(.96); opacity: .82; filter: saturate(.92); box-shadow: none; border-color: var(--border); }
    .ps-side:hover img { transform: none; }
    .ps-side:hover .ps-side-label { background: rgba(0,0,0,.42); }
    .ps-center:hover { transform: none; box-shadow: 0 30px 70px -20px rgba(0,0,0,.35), 0 10px 26px rgba(0,0,0,.14); border-color: var(--border); }
    .ps-center:hover img { transform: none; }
    .article-row:hover { transform: none; box-shadow: 0 2px 10px rgba(0,0,0,.05); border-color: var(--border); }
    .article-row:hover .article-row-num { color: color-mix(in srgb, var(--primary) 30%, transparent); transform: none; }
    .web-item:hover .web-item-order { color: color-mix(in srgb, var(--primary) 35%, transparent); transform: none; }
    .web-hero:hover .web-hero-deco { transform: none; }
    .article-feature:hover .article-feature-deco-lines { transform: none; }
}

