/* ============================================================
   微信相册 · PC 端样式
   首页（落地页）+ 登录页 + 用户中心
   ============================================================ */

:root {
    --brand: #07c160;
    --brand-dark: #05a04e;
    --brand-soft: #e8f9ef;
    --ink: #0f1419;
    --text: #344054;
    --muted: #667085;
    --line: #e6e8eb;
    --bg: #f7f8fa;
    --card: #ffffff;
    --danger: #e34d59;
    --radius: 14px;
    --shadow-sm: 0 1px 2px rgba(16, 24, 40, .05);
    --shadow: 0 8px 24px rgba(16, 24, 40, .08);
    --shadow-lg: 0 24px 60px rgba(16, 24, 40, .12);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: var(--text);
    background: #fff;
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

h1, h2, h3, h4 {
    color: var(--ink);
    margin: 0;
    line-height: 1.25;
    font-weight: 700;
}

p {
    margin: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 42px;
    padding: 0 20px;
    border-radius: 10px;
    border: 1px solid transparent;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all .18s ease;
    white-space: nowrap;
    font-family: inherit;
}

.btn-primary {
    background: var(--brand);
    color: #fff;
    box-shadow: 0 6px 16px rgba(7, 193, 96, .24);
}

.btn-primary:hover {
    background: var(--brand-dark);
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(7, 193, 96, .3);
}

.btn-ghost {
    background: #fff;
    color: var(--text);
    border-color: var(--line);
    box-shadow: var(--shadow-sm);
}

.btn-ghost:hover {
    border-color: #cfd4da;
    color: var(--ink);
}

.btn-lg {
    height: 50px;
    padding: 0 28px;
    font-size: 16px;
    border-radius: 12px;
}

.btn-sm {
    height: 34px;
    padding: 0 14px;
    font-size: 13px;
    border-radius: 8px;
}

.btn-danger {
    background: #fff;
    color: var(--danger);
    border-color: #f3d2d5;
}

.btn-danger:hover {
    background: #fdf2f3;
}

.btn:disabled {
    opacity: .55;
    cursor: not-allowed;
    transform: none;
}

/* ============================ 顶部导航 ============================ */

.nav {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: saturate(180%) blur(12px);
    background: rgba(255, 255, 255, .82);
    border-bottom: 1px solid rgba(230, 232, 235, .8);
}

.nav-inner {
    max-width: 1160px;
    margin: 0 auto;
    height: 68px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 32px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    color: var(--ink);
    font-size: 17px;
}

.brand-mark {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: linear-gradient(135deg, #07c160, #0aa85a);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 16px;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(7, 193, 96, .28);
}

.nav-links {
    display: flex;
    gap: 26px;
    margin-right: auto;
    font-size: 15px;
    color: var(--muted);
}

.nav-links a:hover {
    color: var(--ink);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ============================ Hero ============================ */

.hero {
    background:
        radial-gradient(900px 420px at 12% -8%, #e6fbf0 0%, rgba(230, 251, 240, 0) 62%),
        radial-gradient(760px 380px at 92% 6%, #eef4ff 0%, rgba(238, 244, 255, 0) 60%),
        #fff;
    padding: 72px 24px 84px;
}

.hero-inner {
    max-width: 1160px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 56px;
    align-items: center;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--brand-soft);
    color: var(--brand-dark);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 20px;
}

.pill::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--brand);
}

.hero h1 {
    font-size: 46px;
    letter-spacing: -.8px;
    margin-bottom: 18px;
}

.hero .lead {
    font-size: 17px;
    color: var(--muted);
    max-width: 480px;
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 26px;
    flex-wrap: wrap;
}

.hero-points {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 9px;
    font-size: 14px;
    color: var(--muted);
}

.hero-points li {
    display: flex;
    align-items: center;
    gap: 9px;
}

.hero-points li::before {
    content: "✓";
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--brand-soft);
    color: var(--brand-dark);
    font-size: 11px;
    display: grid;
    place-items: center;
    flex: 0 0 18px;
    font-weight: 700;
}

/* 右侧视觉：相册窗口 mockup */

.hero-visual {
    position: relative;
    height: 420px;
}

.mock {
    position: absolute;
    inset: 0;
    border-radius: 18px;
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.mock-bar {
    height: 42px;
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 0 16px;
    border-bottom: 1px solid var(--line);
    background: #fbfcfd;
}

.mock-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e4e7ec;
}

.mock-title {
    margin-left: 10px;
    font-size: 12px;
    color: var(--muted);
}

.mock-grid {
    flex: 1;
    padding: 16px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 1fr;
    gap: 10px;
}

.mock-cell {
    border-radius: 10px;
    background: linear-gradient(135deg, #e9f7ef, #d6f0e2);
    position: relative;
    overflow: hidden;
}

.mock-cell:nth-child(2n) {
    background: linear-gradient(135deg, #eef2ff, #dfe7ff);
}

.mock-cell:nth-child(3n) {
    background: linear-gradient(135deg, #fff4e6, #ffe6cc);
}

.mock-cell:nth-child(5n) {
    background: linear-gradient(135deg, #fdeef4, #fbdce8);
}

.mock-cell::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, .85), rgba(255, 255, 255, 0) 60%);
}

.mock-float {
    position: absolute;
    right: -18px;
    bottom: 26px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 14px 18px;
    box-shadow: var(--shadow);
    min-width: 190px;
}

.mock-float .k {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 4px;
}

.mock-float .v {
    font-size: 18px;
    font-weight: 700;
    color: var(--ink);
}

.mock-float .bar {
    height: 6px;
    border-radius: 99px;
    background: #eef0f3;
    margin-top: 10px;
    overflow: hidden;
}

.mock-float .bar i {
    display: block;
    height: 100%;
    width: 42%;
    border-radius: 99px;
    background: linear-gradient(90deg, #07c160, #36d67f);
}

/* ============================ 通用区块 ============================ */

.section {
    padding: 84px 24px;
}

.section.alt {
    background: var(--bg);
}

.wrap {
    max-width: 1160px;
    margin: 0 auto;
}

.sec-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 46px;
}

.sec-head h2 {
    font-size: 32px;
    letter-spacing: -.5px;
    margin-bottom: 12px;
}

.sec-head p {
    color: var(--muted);
    font-size: 16px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

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

.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 26px 22px;
    box-shadow: var(--shadow-sm);
    transition: all .2s ease;
    height: 100%;
}

.card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-3px);
    border-color: #d9eee3;
}

.card .ico {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--brand-soft);
    display: grid;
    place-items: center;
    font-size: 20px;
    margin-bottom: 16px;
}

.card h3 {
    font-size: 17px;
    margin-bottom: 8px;
}

.card p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.65;
}

/* 流程 */

.step {
    position: relative;
    padding-left: 0;
    text-align: center;
}

.step-no {
    width: 40px;
    height: 40px;
    margin: 0 auto 14px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--line);
    color: var(--brand-dark);
    font-weight: 700;
    display: grid;
    place-items: center;
    box-shadow: var(--shadow-sm);
}

.step h3 {
    font-size: 16px;
    margin-bottom: 8px;
}

.step p {
    font-size: 14px;
    color: var(--muted);
}

/* 双端互通 */

.dual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: stretch;
}

.dual-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px;
    box-shadow: var(--shadow-sm);
}

.dual-card h3 {
    font-size: 19px;
    margin-bottom: 6px;
}

.dual-card .tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    color: var(--brand-dark);
    background: var(--brand-soft);
    padding: 3px 10px;
    border-radius: 999px;
    margin-bottom: 14px;
}

.dual-card ul {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
    font-size: 14px;
    display: grid;
    gap: 7px;
}

.sync-note {
    margin-top: 22px;
    text-align: center;
    font-size: 14px;
    color: var(--muted);
}

.sync-note strong {
    color: var(--brand-dark);
}

/* FAQ */

.faq {
    max-width: 780px;
    margin: 0 auto;
    display: grid;
    gap: 12px;
}

.faq details {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 16px 20px;
}

.faq summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--ink);
    font-size: 15px;
    list-style: none;
}

.faq summary::-webkit-details-marker {
    display: none;
}

.faq summary::after {
    content: "+";
    float: right;
    color: var(--muted);
    font-weight: 400;
}

.faq details[open] summary::after {
    content: "−";
}

.faq p {
    margin-top: 10px;
    color: var(--muted);
    font-size: 14px;
}

/* 联系客服 */

.contact-box {
    max-width: 780px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 34px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 30px;
    align-items: center;
    box-shadow: var(--shadow);
}

.contact-box h3 {
    font-size: 20px;
    margin-bottom: 8px;
}

.contact-box .tip {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 16px;
}

.contact-rows {
    display: grid;
    gap: 10px;
    font-size: 15px;
}

.contact-rows .row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-rows .label {
    color: var(--muted);
    font-size: 13px;
    min-width: 62px;
}

.contact-rows .val {
    font-weight: 600;
    color: var(--ink);
}

.copy-btn {
    border: 1px solid var(--line);
    background: #fff;
    color: var(--muted);
    border-radius: 6px;
    font-size: 12px;
    padding: 2px 8px;
    cursor: pointer;
    font-family: inherit;
}

.copy-btn:hover {
    color: var(--brand-dark);
    border-color: #bfe8d2;
}

.qr-box {
    width: 168px;
    text-align: center;
}

.qr-box img {
    width: 168px;
    height: 168px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: #fff;
}

.qr-box .cap {
    font-size: 12px;
    color: var(--muted);
    margin-top: 8px;
}

/* Footer */

.foot {
    background: #0f1419;
    color: #9aa4af;
    padding: 46px 24px 34px;
    font-size: 14px;
}

.foot-inner {
    max-width: 1160px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    align-items: center;
}

.foot a:hover {
    color: #fff;
}

.foot .muted {
    color: #6b7580;
    font-size: 13px;
    margin-top: 6px;
}

/* ============================ 登录页 ============================ */

.auth-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 40px 20px;
    background:
        radial-gradient(800px 400px at 50% -10%, #e6fbf0 0%, rgba(230, 251, 240, 0) 65%),
        var(--bg);
}

.auth-card {
    width: 100%;
    max-width: 420px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 38px 34px 32px;
    box-shadow: var(--shadow-lg);
}

.auth-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    margin-bottom: 26px;
    font-weight: 700;
    color: var(--ink);
    font-size: 17px;
}

.auth-card h1 {
    font-size: 22px;
    text-align: center;
    margin-bottom: 8px;
}

.auth-sub {
    text-align: center;
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 26px;
}

.field {
    margin-bottom: 16px;
}

.field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 7px;
}

.field input {
    width: 100%;
    height: 46px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 10px;
    font-size: 15px;
    color: var(--ink);
    background: #fbfcfd;
    transition: all .15s ease;
    font-family: inherit;
}

.field input:focus {
    outline: none;
    border-color: var(--brand);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(7, 193, 96, .12);
}

.auth-card .btn {
    width: 100%;
    height: 48px;
    margin-top: 6px;
}

.alert {
    border-radius: 10px;
    padding: 11px 14px;
    font-size: 14px;
    margin-bottom: 18px;
    line-height: 1.5;
}

.alert-error {
    background: #fdf2f3;
    color: #b42318;
    border: 1px solid #f5d3d6;
}

.alert-ok {
    background: var(--brand-soft);
    color: var(--brand-dark);
    border: 1px solid #c6efd9;
}

.auth-foot {
    margin-top: 22px;
    text-align: center;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.7;
}

.auth-foot a {
    color: var(--brand-dark);
    font-weight: 600;
}

/* ============================ 用户中心 ============================ */

.app {
    min-height: 100vh;
    background: var(--bg);
    display: grid;
    grid-template-columns: 232px 1fr;
}

.sidebar {
    background: #fff;
    border-right: 1px solid var(--line);
    padding: 22px 16px;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
}

.side-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 8px 22px;
    font-weight: 700;
    color: var(--ink);
}

.side-nav {
    display: grid;
    gap: 4px;
}

.side-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    height: 42px;
    padding: 0 12px;
    border-radius: 9px;
    color: var(--text);
    font-size: 14.5px;
    font-weight: 500;
    transition: all .15s ease;
}

.side-nav a:hover {
    background: #f4f6f8;
}

.side-nav a.on {
    background: var(--brand-soft);
    color: var(--brand-dark);
    font-weight: 600;
}

.side-nav .count {
    margin-left: auto;
    font-size: 12px;
    color: var(--muted);
    background: #f2f4f7;
    border-radius: 99px;
    padding: 1px 8px;
}

.side-nav a.on .count {
    background: #d3f2e2;
    color: var(--brand-dark);
}

.side-foot {
    margin-top: auto;
    display: grid;
    gap: 4px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.side-foot a {
    display: flex;
    align-items: center;
    gap: 9px;
    height: 38px;
    padding: 0 12px;
    border-radius: 8px;
    color: var(--muted);
    font-size: 13.5px;
}

.side-foot a:hover {
    background: #f4f6f8;
    color: var(--ink);
}

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

.topbar {
    height: 68px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 0 28px;
    position: sticky;
    top: 0;
    z-index: 20;
}

.topbar h1 {
    font-size: 18px;
}

.topbar .spacer {
    margin-left: auto;
}

.quota-mini {
    font-size: 13px;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 10px;
}

.quota-mini .bar {
    width: 120px;
    height: 6px;
    background: #eef0f3;
    border-radius: 99px;
    overflow: hidden;
}

.quota-mini .bar i {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, #07c160, #39d883);
    border-radius: 99px;
    transition: width .3s ease;
}

.avatar {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--brand-soft);
    color: var(--brand-dark);
    display: grid;
    place-items: center;
    font-weight: 700;
    font-size: 14px;
    overflow: hidden;
}

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

.content {
    padding: 26px 28px 60px;
    flex: 1;
}

.panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
}

.panel-head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 22px;
    border-bottom: 1px solid var(--line);
    flex-wrap: wrap;
}

.panel-head h2 {
    font-size: 16px;
}

.panel-head .sub {
    color: var(--muted);
    font-size: 13px;
}

.panel-head .right {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 10px;
}

.panel-body {
    padding: 20px 22px;
}

/* 分类标签 */

.tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tabs a {
    height: 34px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid var(--line);
    font-size: 13.5px;
    color: var(--text);
    background: #fff;
}

.tabs a:hover {
    border-color: #cfd4da;
}

.tabs a.on {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}

.tabs .n {
    font-size: 12px;
    opacity: .7;
}

/* 相册网格 */

.photo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
    gap: 14px;
}

.photo-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #f2f4f7;
    aspect-ratio: 1 / 1;
    cursor: zoom-in;
    border: 1px solid var(--line);
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .3s ease;
}

.photo-item:hover img {
    transform: scale(1.04);
}

.photo-item .ops {
    position: absolute;
    inset: auto 0 0 0;
    padding: 8px;
    display: flex;
    gap: 6px;
    justify-content: flex-end;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .45));
    opacity: 0;
    transition: opacity .2s ease;
}

.photo-item:hover .ops {
    opacity: 1;
}

.icon-btn {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    border: none;
    background: rgba(255, 255, 255, .92);
    color: var(--ink);
    cursor: pointer;
    display: grid;
    place-items: center;
    font-size: 13px;
    transition: all .15s ease;
}

.icon-btn:hover {
    background: #fff;
    transform: scale(1.06);
}

.icon-btn.danger:hover {
    background: var(--danger);
    color: #fff;
}

/* 上传区 */

.drop {
    border: 1.5px dashed #cfd8d3;
    border-radius: 12px;
    padding: 26px;
    text-align: center;
    color: var(--muted);
    background: #fbfefc;
    transition: all .18s ease;
    cursor: pointer;
    font-size: 14px;
}

.drop:hover,
.drop.over {
    border-color: var(--brand);
    background: var(--brand-soft);
    color: var(--brand-dark);
}

.drop strong {
    color: var(--ink);
}

.progress {
    margin-top: 14px;
    display: none;
}

.progress.on {
    display: block;
}

.progress .bar {
    height: 8px;
    background: #eef0f3;
    border-radius: 99px;
    overflow: hidden;
}

.progress .bar i {
    display: block;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #07c160, #39d883);
    transition: width .2s ease;
}

.progress .txt {
    font-size: 12.5px;
    color: var(--muted);
    margin-top: 6px;
    display: flex;
    justify-content: space-between;
}

/* 视频列表 */

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

.video-item {
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.video-item video {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: #000;
    display: block;
}

.video-item .meta {
    padding: 12px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--muted);
}

.video-item .meta .name {
    color: var(--ink);
    font-weight: 600;
    font-size: 13.5px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
}

/* 表格 */

.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.table th,
.table td {
    text-align: left;
    padding: 12px 14px;
    border-bottom: 1px solid var(--line);
}

.table th {
    color: var(--muted);
    font-weight: 600;
    font-size: 13px;
    background: #fbfcfd;
}

.table tr:last-child td {
    border-bottom: none;
}

.table .mono {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12.5px;
    color: var(--muted);
}

.badge {
    display: inline-block;
    padding: 2px 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.badge.ok {
    background: var(--brand-soft);
    color: var(--brand-dark);
}

.badge.off {
    background: #f2f4f7;
    color: var(--muted);
}

/* 空状态 / 分页 */

.empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--muted);
    font-size: 14px;
}

.empty .big {
    font-size: 34px;
    margin-bottom: 10px;
    opacity: .5;
}

.pager {
    margin-top: 22px;
    display: flex;
    justify-content: center;
}

.pager ul {
    display: flex;
    gap: 6px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.pager li a,
.pager li span {
    display: inline-grid;
    place-items: center;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--text);
    font-size: 13.5px;
}

.pager li.active span {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

.pager li.disabled span {
    color: #c4c9cf;
    background: #fafbfc;
}

/* 提示条 */

.toast {
    position: fixed;
    left: 50%;
    top: 84px;
    transform: translate(-50%, -10px);
    background: rgba(15, 20, 25, .92);
    color: #fff;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 14px;
    opacity: 0;
    pointer-events: none;
    transition: all .22s ease;
    z-index: 200;
    max-width: 80vw;
}

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

.toast.bad {
    background: rgba(186, 42, 52, .95);
}

/* 灯箱 */

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(10, 12, 15, .92);
    display: none;
    place-items: center;
    z-index: 300;
    padding: 30px;
}

.lightbox.on {
    display: grid;
}

.lightbox img {
    max-width: 92vw;
    max-height: 88vh;
    border-radius: 8px;
    object-fit: contain;
}

.lightbox .close {
    position: absolute;
    top: 22px;
    right: 26px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, .14);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
}

/* 弹窗 */

.modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 20, 25, .45);
    display: none;
    place-items: center;
    z-index: 250;
    padding: 20px;
}

.modal.on {
    display: grid;
}

.modal-card {
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 420px;
    padding: 26px;
    box-shadow: var(--shadow-lg);
}

.modal-card h3 {
    font-size: 17px;
    margin-bottom: 6px;
}

.modal-card .desc {
    font-size: 13.5px;
    color: var(--muted);
    margin-bottom: 18px;
}

.modal-card .field select,
.modal-card .field input {
    width: 100%;
    height: 44px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    background: #fbfcfd;
}

.modal-actions {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.modal-actions .btn {
    flex: 1;
}

/* 账号页 */

.form-narrow {
    max-width: 460px;
}

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

.kv {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 12px 16px;
    font-size: 14px;
}

.kv .k {
    color: var(--muted);
}

.kv .v {
    color: var(--ink);
    font-weight: 500;
}

/* 扫码登录 */

.auth-tabs {
    display: flex;
    gap: 8px;
    background: var(--bg);
    border-radius: 10px;
    padding: 4px;
    margin: 18px 0 20px;
}

.auth-tab {
    flex: 1;
    border: none;
    background: transparent;
    padding: 9px 0;
    font-size: 14px;
    color: var(--muted);
    border-radius: 8px;
    cursor: pointer;
    transition: all .15s;
}

.auth-tab.on {
    background: #fff;
    color: var(--ink);
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

.scan-box {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 4px auto 0;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg);
}

.scan-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    transition: opacity .15s;
}

.scan-mask {
    position: absolute;
    inset: 0;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: rgba(255, 255, 255, .92);
    padding: 14px;
    text-align: center;
    font-size: 13px;
    color: var(--text);
}

.scan-mask.on {
    display: flex;
}

.scan-mask p {
    margin: 0;
    line-height: 1.6;
    max-height: 130px;
    overflow: auto;
    word-break: break-all;
}

.scan-mask .btn {
    padding: 7px 16px;
    font-size: 13px;
}

.scan-hint {
    margin-top: 14px;
    text-align: center;
    font-size: 13px;
    line-height: 1.8;
    color: var(--muted);
}

/* 响应式 */

@media (max-width: 980px) {
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-visual {
        height: 320px;
    }

    .hero h1 {
        font-size: 36px;
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-3 {
        grid-template-columns: 1fr;
    }

    .dual {
        grid-template-columns: 1fr;
    }

    .app {
        grid-template-columns: 1fr;
    }

    .sidebar {
        position: static;
        height: auto;
        flex-direction: row;
        align-items: center;
        overflow-x: auto;
        padding: 12px 14px;
        gap: 10px;
    }

    .side-brand,
    .side-foot {
        display: none;
    }

    .side-nav {
        display: flex;
        gap: 6px;
    }

    .side-nav a {
        white-space: nowrap;
    }

    .contact-box {
        grid-template-columns: 1fr;
        justify-items: center;
        text-align: center;
    }

    .contact-rows {
        justify-items: center;
    }
}

@media (max-width: 640px) {
    .nav-links {
        display: none;
    }

    .hero {
        padding: 44px 18px 56px;
    }

    .hero h1 {
        font-size: 29px;
    }

    .section {
        padding: 56px 18px;
    }

    .sec-head h2 {
        font-size: 24px;
    }

    .grid-4 {
        grid-template-columns: 1fr;
    }

    .content {
        padding: 18px 14px 50px;
    }

    .topbar {
        padding: 0 14px;
        gap: 10px;
    }

    .quota-mini .bar {
        display: none;
    }

    .photo-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 10px;
    }
}
