/* ==========================================================
   代理朋友圈 · 前台样式
   微信朋友圈浅色主题 / 移动优先 / 局部霓虹特效
   ========================================================== */

:root {
    --bg: #f2f3f5;
    --bg-soft: #f7f8fa;
    --panel: #ffffff;
    --panel-solid: #ffffff;
    --line: rgba(0, 0, 0, .07);
    --line-strong: rgba(0, 0, 0, .13);
    --text: #191919;
    --text-2: #5f6368;
    --text-3: #9aa0a6;
    --cyan: #0A84FF;
    --cyan-deep: #0066CC;
    --violet: #64D2FF;
    --gold: #e0a234;
    --danger: #e5484d;
    --link: #576b95;
    --radius: 16px;
    --shadow: 0 8px 30px rgba(17, 24, 39, .07);
    --tabbar-h: 62px;
    --safe-b: env(safe-area-inset-bottom, 0px);
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: 15px;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; }
::selection { background: rgba(10,132,255, .22); }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(0, 0, 0, .14); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: rgba(0, 0, 0, .22); }

/* ---------- 环境光与背景 ---------- */
.ambient {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .3;
    animation: orbFloat 18s ease-in-out infinite alternate;
}
.orb-a {
    width: 420px; height: 420px; left: -160px; top: -140px;
    background: radial-gradient(circle, rgba(10,132,255, .4), transparent 68%);
}
.orb-b {
    width: 460px; height: 460px; right: -190px; top: 8%;
    background: radial-gradient(circle, rgba(100,210,255, .3), transparent 68%);
    animation-delay: -6s;
}
.orb-c {
    width: 380px; height: 380px; left: 30%; bottom: -220px;
    background: radial-gradient(circle, rgba(56, 189, 248, .22), transparent 70%);
    animation-delay: -11s;
}
.grid-fade {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(17, 24, 39, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(17, 24, 39, .035) 1px, transparent 1px);
    background-size: 46px 46px;
    -webkit-mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 72%);
    mask-image: radial-gradient(circle at 50% 0%, #000 0%, transparent 72%);
    opacity: .75;
}
@keyframes orbFloat {
    from { transform: translate3d(0, 0, 0) scale(1); }
    to   { transform: translate3d(30px, 40px, 0) scale(1.12); }
}

/* ---------- 顶栏 ---------- */
.topbar {
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(255, 255, 255, .82);
    border-bottom: 1px solid var(--line);
}
.topbar-inner {
    max-width: 1080px;
    margin: 0 auto;
    height: 62px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    gap: 18px;
}
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.brand-mark {
    width: 36px; height: 36px; border-radius: 12px;
    display: grid; place-items: center;
    background: linear-gradient(135deg, #0A84FF, #64D2FF);
    color: #08131a;
    font-size: 19px;
    box-shadow: 0 8px 22px rgba(10,132,255, .28);
    flex: none;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.brand-text strong {
    font-size: 14.5px; font-weight: 600; letter-spacing: .3px;
    color: #15202b;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.brand-text small {
    font-size: 10.5px; color: #9aa0a6; letter-spacing: 1.2px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.topnav { display: none; align-items: center; gap: 4px; margin-left: 14px; }
.topnav a {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 14px; border-radius: 10px;
    color: #5f6368; font-size: 13.5px;
    transition: .2s;
}
.topnav a:hover { color: #15202b; background: rgba(0, 0, 0, .04); }
.topnav a.is-active { color: var(--cyan-deep); background: rgba(10,132,255, .12); }
.topnav i { font-size: 16px; }
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.topbar-user {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 13px; color: #5f6368;
    padding: 4px 10px 4px 4px; border-radius: 999px;
    border: 1px solid var(--line-strong);
    transition: .2s;
    background: rgba(255, 255, 255, .6);
}
.topbar-user:hover { border-color: rgba(0,102,204, .35); color: #15202b; }
.icon-btn {
    width: 36px; height: 36px; border-radius: 50%;
    display: grid; place-items: center;
    color: #5f6368; border: 1px solid var(--line-strong);
    background: rgba(255, 255, 255, .7); font-size: 17px;
    transition: .2s;
}
.icon-btn:hover { color: var(--cyan-deep); border-color: rgba(0,102,204, .4); }
.btn-mini {
    padding: 7px 16px; border-radius: 999px;
    font-size: 13px; color: #08131a; font-weight: 600;
    background: linear-gradient(120deg, #0A84FF, #64D2FF);
    box-shadow: 0 6px 18px rgba(10,132,255, .22);
}

/* ---------- 主容器 ---------- */
.app-main {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
    padding: 16px 14px calc(var(--tabbar-h) + var(--safe-b) + 46px);
}
body.page-wide .app-main { max-width: 1080px; }
body.page-project .app-main { max-width: 100%; padding-left: 0; padding-right: 0; }

/* ---------- 头像 ---------- */
.avatar {
    width: var(--av, 44px);
    height: var(--av, 44px);
    border-radius: 50%;
    flex: none;
    display: block;
    overflow: hidden;
    position: relative;
    padding: 2px;
    background: linear-gradient(140deg, rgba(10,132,255, .8), rgba(100,210,255, .8));
}
.avatar img,
.avatar .avatar-letter {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: calc(var(--av, 44px) * .4);
    font-weight: 600;
}
.avatar img { display: block; background: #eef1f5; }

/* ---------- 朋友圈流 ---------- */
.feed-wrap { position: relative; }

.feed-cover {
    position: relative;
    height: 208px;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 56px;
    border: 1px solid rgba(255, 255, 255, .08);
    background: linear-gradient(135deg, #0b1220, #131a2c 55%, #1a1230);
    box-shadow: 0 18px 46px rgba(15, 23, 42, .24);
}
.feed-cover canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.feed-cover .cover-img {
    position: absolute; inset: 0;
    width: 100%; height: 100%; object-fit: cover;
}
.feed-cover:after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(7, 8, 13, .05) 35%, rgba(7, 8, 13, .78));
}
.cover-meta {
    position: absolute;
    left: 18px; right: 18px; bottom: 14px;
    z-index: 2;
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 12px;
}
.cover-tag {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 12px; border-radius: 999px;
    font-size: 11px; letter-spacing: 1px;
    color: #a9f3ff;
    background: rgba(10,132,255, .14);
    border: 1px solid rgba(10,132,255, .38);
    backdrop-filter: blur(8px);
}
.cover-name { display: flex; align-items: center; gap: 14px; }
.cover-avatar {
    margin-bottom: -34px;
    position: relative;
    z-index: 3;
    filter: drop-shadow(0 10px 22px rgba(0, 0, 0, .4));
}
.cover-identity { padding-bottom: 4px; }
.cover-identity h1 {
    margin: 0; font-size: 19px; font-weight: 600;
    letter-spacing: .4px; color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .5);
}
.cover-identity p { margin: 2px 0 0; font-size: 12px; color: rgba(255, 255, 255, .72); }

.feed-head {
    display: flex; align-items: center; justify-content: space-between;
    margin: 0 2px 12px;
}
.feed-head h2 {
    font-size: 14px; margin: 0; color: #5f6368; font-weight: 500;
    display: inline-flex; align-items: center; gap: 7px;
}
.feed-head h2 i { color: var(--cyan-deep); font-size: 16px; }
.feed-head .feed-action {
    font-size: 12.5px; color: var(--cyan-deep);
    display: inline-flex; align-items: center; gap: 5px;
    padding: 6px 12px; border-radius: 999px;
    border: 1px solid rgba(0,102,204, .25);
    background: rgba(10,132,255, .08);
    transition: .2s;
}
.feed-head .feed-action:hover { background: rgba(10,132,255, .16); }

.notice-bar {
    display: flex; align-items: flex-start; gap: 9px;
    padding: 12px 14px; margin-bottom: 14px;
    border-radius: 12px;
    font-size: 12.5px; line-height: 1.6;
    color: #0b6b7a;
    background: linear-gradient(90deg, rgba(10,132,255, .12), rgba(100,210,255, .1));
    border: 1px solid rgba(10,132,255, .22);
}
.notice-bar i { color: var(--cyan-deep); font-size: 15px; margin-top: 2px; flex: none; }

/* 帖子 */
.post {
    display: flex;
    gap: 12px;
    padding: 16px 15px;
    margin-bottom: 10px;
    border-radius: var(--radius);
    background: var(--panel);
    border: 1px solid rgba(0, 0, 0, .045);
    box-shadow: 0 2px 10px rgba(17, 24, 39, .045);
    transition: box-shadow .25s, transform .25s;
    animation: fadeUp .45s ease both;
}
.post:hover { box-shadow: 0 8px 26px rgba(17, 24, 39, .08); }
.post-avatar { padding-top: 1px; }
.post-body { flex: 1; min-width: 0; }
.post-head { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; }
.post-name {
    font-size: 14.5px; font-weight: 600; color: var(--link);
    letter-spacing: .2px;
}
.post-name:hover { text-decoration: underline; }
.name-badge, .top-badge {
    display: inline-flex; align-items: center; gap: 3px;
    font-size: 10px; padding: 1px 6px; border-radius: 5px;
    color: #9a6508; background: rgba(224, 162, 52, .14);
    border: 1px solid rgba(224, 162, 52, .28);
    line-height: 1.6;
}
.top-badge { color: #0b7c8e; background: rgba(10,132,255, .12); border-color: rgba(10,132,255, .28); }
.post-text {
    margin-top: 5px;
    font-size: 14.8px;
    line-height: 1.72;
    color: #262626;
    word-break: break-word;
    white-space: normal;
}
.post-text a { color: var(--link); }

.post-imgs {
    display: grid;
    gap: 4px;
    margin-top: 10px;
    max-width: 348px;
}
.post-imgs.imgs-2 { grid-template-columns: repeat(2, 1fr); }
.post-imgs.imgs-3 { grid-template-columns: repeat(3, 1fr); }
.post-imgs.imgs-1 { max-width: 264px; }
.post-img {
    display: block;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    background: #eef1f5;
    aspect-ratio: 1 / 1;
}
.post-imgs.imgs-1 .post-img { aspect-ratio: auto; }
.post-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}
.post-imgs.imgs-1 .post-img img { height: auto; max-height: 340px; object-fit: contain; }
.post-img:hover img { transform: scale(1.04); }

.post-video {
    margin-top: 10px;
    max-width: 348px;
    border-radius: 10px;
    overflow: hidden;
    background: #000;
    border: 1px solid rgba(0, 0, 0, .06);
}
.post-video video { width: 100%; max-height: 420px; display: block; background: #000; }

.post-location {
    margin-top: 8px;
    font-size: 11.5px;
    color: #8d939b;
    display: flex; align-items: center; gap: 4px;
}
.post-location i { color: var(--cyan-deep); font-size: 13px; }

.post-meta {
    margin-top: 10px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 10px; flex-wrap: wrap;
}
.post-meta-left { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.post-time { font-size: 11.5px; color: #9aa0a6; }
.reward-chip {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 3px 9px; border-radius: 999px;
    font-size: 11px; color: #8a5a0b;
    background: linear-gradient(115deg, rgba(245, 196, 81, .22), rgba(255, 138, 76, .12));
    border: 1px solid rgba(210, 148, 32, .34);
    box-shadow: 0 2px 10px rgba(210, 148, 32, .12);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}
.reward-chip:after {
    content: "";
    position: absolute; top: 0; left: -120%;
    width: 60%; height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .7), transparent);
    animation: rewardShine 4.5s ease-in-out infinite;
}
.reward-chip i { color: #c98a15; font-size: 13px; }
.reward-chip b { font-weight: 700; color: #7a4d05; }
@keyframes rewardShine {
    0%, 55% { left: -120%; }
    85%, 100% { left: 140%; }
}
.post-actions { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.act-btn {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 5px 9px; border-radius: 8px;
    border: 0; background: transparent;
    color: #8d939b; font-size: 12px; cursor: pointer;
    transition: .18s;
}
.act-btn i { font-size: 15.5px; }
.act-btn:hover { color: #333; background: rgba(0, 0, 0, .04); }
.act-btn.is-active { color: #fa5151; }
.act-btn.is-active i { animation: heartPop .35s ease; }
@keyframes heartPop {
    0% { transform: scale(.6); }
    60% { transform: scale(1.25); }
    100% { transform: scale(1); }
}

/* ---------- 评论区（多级嵌套） ---------- */
.comment-area {
    margin-top: 10px;
    padding: 9px 11px;
    border-radius: 8px;
    background: #f7f7f7;
    border: 1px solid rgba(0, 0, 0, .03);
    transition: background .2s;
}
.comment-area.is-empty {
    margin-top: 0; padding: 0;
    background: transparent; border-color: transparent;
}
.likes-line {
    display: flex; align-items: flex-start; gap: 6px;
    padding: 4px 2px 7px;
    font-size: 12.5px; line-height: 1.7;
    color: #576b95;
}
.likes-line > i { color: #fa5151; font-size: 14px; margin-top: 3px; flex: none; }
.like-names { flex: 1; word-break: break-word; }
.like-names a { color: #576b95; }
.like-names a.is-me { color: var(--cyan-deep); font-weight: 600; }
.like-more { color: #8d939b; margin-left: 2px; }
.like-suffix { color: #9aa0a6; font-size: 11.5px; }

.comment-list { list-style: none; margin: 0; padding: 0; }
.comment-item { position: relative; }
.comment-row { display: flex; gap: 8px; padding: 5px 0; }
.comment-content { flex: 1; min-width: 0; }
.comment-text {
    font-size: 13px;
    line-height: 1.72;
    color: #303030;
    word-break: break-word;
}
.c-name { color: #576b95; font-weight: 500; }
.c-name:hover { text-decoration: underline; }
.c-badge {
    display: inline-block;
    margin-left: 5px; padding: 0 5px;
    font-size: 9.5px; border-radius: 4px;
    color: #9a6508; background: rgba(224, 162, 52, .14);
    border: 1px solid rgba(224, 162, 52, .26);
    vertical-align: 1px;
}
.c-reply { color: #8d939b; margin: 0 4px; font-size: 12px; }
.c-target { color: #576b95; }
.c-sep { color: #8d939b; }
.c-body { color: #303030; }
.c-deleted { color: #a0a0a0; font-style: italic; font-size: 12.5px; }
.comment-foot {
    display: flex; align-items: center; gap: 12px;
    margin-top: 1px;
    font-size: 11px; color: #a0a0a0;
}
.c-reply-btn {
    border: 0; background: transparent; padding: 0;
    color: #8d939b; font-size: 11px; cursor: pointer;
    transition: color .15s;
}
.c-reply-btn:hover { color: var(--cyan-deep); }
.comment-children {
    list-style: none;
    margin: 2px 0 2px 13px;
    padding-left: 12px;
    border-left: 1px dashed rgba(0, 0, 0, .09);
}
.depth-3 .comment-children, .depth-3 > .comment-children {
    margin-left: 4px; padding-left: 8px;
}
.comment-item.is-hidden { display: none; }
.comment-more-wrap { padding: 4px 0 2px; }
.c-expand {
    border: 0; background: transparent; padding: 2px 0;
    color: #576b95; font-size: 11.5px; cursor: pointer;
    display: inline-flex; align-items: center; gap: 2px;
}
.c-expand:hover { color: var(--cyan-deep); }
.comment-all-wrap { padding-top: 6px; }

.comment-form {
    display: flex; align-items: center; gap: 8px;
    margin-top: 8px;
    padding: 4px 6px 4px 11px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .09);
    transition: border-color .2s, background .2s;
}
.comment-form:focus-within { border-color: rgba(0,102,204, .45); background: #fff; }
.comment-form.is-collapsed { display: none; }
.form-icon { color: #a0a0a0; font-size: 15px; flex: none; }
.comment-form input {
    flex: 1; min-width: 0; height: 34px;
    border: 0; outline: none; background: transparent;
    color: #191919; font-size: 13px;
}
.comment-form input::placeholder { color: #a8aeb5; }
.comment-send {
    width: 32px; height: 32px; border-radius: 50%;
    border: 0; cursor: pointer; flex: none;
    display: grid; place-items: center;
    color: #08131a;
    background: linear-gradient(135deg, #0A84FF, #64D2FF);
    transition: transform .15s, opacity .15s;
}
.comment-send:active { transform: scale(.92); }
.comment-send:disabled { opacity: .45; cursor: not-allowed; }
.comment-login-tip { padding: 6px 2px 3px; font-size: 11.5px; color: #8d939b; }
.comment-login-tip a { color: #576b95; }
.reply-slot .comment-form { margin-bottom: 6px; }
.reply-form-cancel {
    border: 0; background: transparent; color: #a0a0a0;
    font-size: 15px; cursor: pointer; padding: 0 4px;
}

/* ---------- 加载更多 ---------- */
.load-more {
    display: flex; align-items: center; justify-content: center; gap: 8px;
    margin: 18px auto 6px;
    padding: 12px 22px;
    width: fit-content;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    background: #fff;
    color: #5f6368;
    font-size: 13px; cursor: pointer;
    transition: .2s;
    box-shadow: 0 2px 10px rgba(17, 24, 39, .04);
}
.load-more:hover { color: var(--cyan-deep); border-color: rgba(0,102,204, .4); }
.load-more.is-loading i { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.empty-state {
    text-align: center;
    padding: 56px 20px;
    color: #9aa0a6;
}
.empty-state .empty-icon {
    width: 74px; height: 74px; margin: 0 auto 16px;
    border-radius: 22px;
    display: grid; place-items: center;
    font-size: 32px; color: var(--cyan-deep);
    background: #fff;
    border: 1px solid rgba(10,132,255, .25);
    box-shadow: 0 8px 24px rgba(10,132,255, .12);
}
.empty-state h3 { margin: 0 0 6px; color: #5f6368; font-size: 15px; font-weight: 500; }
.empty-state p { margin: 0; font-size: 12.5px; }

/* ---------- 通用组件 ---------- */
.page-head {
    display: flex; align-items: center; gap: 12px;
    margin: 4px 2px 16px;
}
.page-head .back-btn {
    width: 36px; height: 36px; border-radius: 50%;
    display: grid; place-items: center;
    border: 1px solid var(--line-strong);
    background: #fff;
    color: #5f6368; font-size: 18px;
}
.page-head h1 { font-size: 18px; margin: 0; font-weight: 600; letter-spacing: .3px; color: #15202b; }
.page-head p { margin: 2px 0 0; font-size: 12px; color: #9aa0a6; }

.card {
    background: var(--panel);
    border: 1px solid rgba(0, 0, 0, .05);
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: 0 2px 12px rgba(17, 24, 39, .04);
}

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 7px;
    height: 44px; padding: 0 20px;
    border-radius: 12px; border: 0;
    font-size: 14px; font-weight: 600; cursor: pointer;
    transition: transform .18s, box-shadow .18s, background .18s;
}
.btn-primary {
    color: #08131a;
    background: linear-gradient(120deg, #0A84FF, #64D2FF);
    box-shadow: 0 10px 26px rgba(10,132,255, .24);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 14px 32px rgba(100,210,255, .28); }
.btn-ghost {
    color: #5f6368;
    background: #fff;
    border: 1px solid var(--line-strong);
}
.btn-ghost:hover { color: #15202b; background: #fafafa; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .55; cursor: not-allowed; transform: none; }

.field { margin-bottom: 14px; }
.field > label {
    display: block;
    font-size: 12px; color: #5f6368;
    margin-bottom: 7px; letter-spacing: .3px;
}
.input, .textarea, .select {
    width: 100%;
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, .1);
    background: #fff;
    color: #191919;
    font-size: 14px;
    padding: 12px 14px;
    outline: none;
    transition: .2s;
    font-family: inherit;
}
.input:focus, .textarea:focus, .select:focus {
    border-color: rgba(0,102,204, .55);
    box-shadow: 0 0 0 3px rgba(10,132,255, .14);
    background: #fff;
}
.textarea { min-height: 120px; resize: vertical; line-height: 1.7; }
.select { appearance: none; background-image: none; }
.input::placeholder, .textarea::placeholder { color: #a8aeb5; }
.field-hint { margin-top: 6px; font-size: 11px; color: #9aa0a6; line-height: 1.7; }

.input[type="file"] {
    padding: 9px 12px;
    font-size: 12px;
    color: #8d939b;
    cursor: pointer;
}
.input[type="file"]::file-selector-button {
    margin-right: 10px;
    padding: 6px 12px;
    border-radius: 7px;
    border: 1px solid var(--line-strong);
    background: #f7f8fa;
    color: #5f6368;
    font-size: 12px;
    cursor: pointer;
    font-family: inherit;
}
.input[type="file"]::file-selector-button:hover {
    color: var(--cyan-deep);
    border-color: rgba(0,102,204, .4);
}

/* ---------- 提示 ---------- */
.flash-stack {
    position: fixed; top: 74px; left: 50%; transform: translateX(-50%);
    z-index: 90; width: min(92vw, 420px);
    display: flex; flex-direction: column; gap: 8px;
}
.flash {
    display: flex; align-items: center; gap: 9px;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 13px;
    backdrop-filter: blur(16px);
    box-shadow: 0 16px 40px rgba(17, 24, 39, .14);
    animation: fadeDown .3s ease both;
}
.flash i { font-size: 17px; flex: none; }
.flash-success { background: #edfaf1; border: 1px solid rgba(21, 155, 88, .3); color: #157347; }
.flash-error { background: #fdeef0; border: 1px solid rgba(229, 72, 77, .3); color: #b3262b; }
.flash-info { background: #eaf9fc; border: 1px solid rgba(0,102,204, .3); color: #0b6b7a; }
@keyframes fadeDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: none; } }

.toast-wrap {
    position: fixed;
    bottom: calc(var(--tabbar-h) + var(--safe-b) + 18px);
    left: 50%; transform: translateX(-50%);
    z-index: 120;
    display: flex; flex-direction: column; gap: 8px;
    pointer-events: none;
    width: max-content; max-width: 88vw;
}
.toast {
    padding: 11px 18px;
    border-radius: 11px;
    font-size: 13px;
    color: #eef2ff;
    background: rgba(24, 28, 42, .94);
    border: 1px solid rgba(255, 255, 255, .14);
    box-shadow: 0 14px 40px rgba(17, 24, 39, .24);
    animation: toastIn .25s ease both;
}
.toast.is-out { animation: toastOut .25s ease both; }
.toast.ok { border-color: rgba(10,132,255, .4); }
.toast.err { border-color: rgba(255, 93, 120, .45); color: #ffc2cd; }
@keyframes toastIn { from { opacity: 0; transform: translateY(8px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateY(6px); } }

/* ---------- 图片预览 ---------- */
.lightbox {
    position: fixed; inset: 0; z-index: 150;
    background: rgba(3, 4, 8, .94);
    display: none;
    align-items: center; justify-content: center;
    padding: 30px 16px;
    backdrop-filter: blur(8px);
}
.lightbox.is-open { display: flex; animation: toastIn .2s ease both; }
.lightbox img {
    max-width: 100%; max-height: 88vh;
    border-radius: 10px;
    object-fit: contain;
    box-shadow: 0 30px 80px rgba(0, 0, 0, .7);
}
.lightbox-close {
    position: absolute; top: 16px; right: 16px;
    width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .16);
    background: rgba(255, 255, 255, .08);
    color: #fff; font-size: 21px;
    display: grid; place-items: center; cursor: pointer;
}

/* ---------- 底部导航（白色，与浅灰主背景分层） ---------- */
.tabbar {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 50;
    height: calc(var(--tabbar-h) + var(--safe-b));
    padding-bottom: var(--safe-b);
    display: flex;
    background: rgba(255, 255, 255, .96);
    border-top: 1px solid rgba(17, 24, 39, .08);
    backdrop-filter: blur(20px) saturate(1.08);
    -webkit-backdrop-filter: blur(20px) saturate(1.08);
    box-shadow: 0 -1px 0 rgba(17, 24, 39, .04), 0 -12px 30px rgba(17, 24, 39, .09);
}
.tab-item {
    flex: 1;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 2px;
    font-size: 10.5px;
    color: #8b929c;
    position: relative;
    transition: color .2s;
}
.tab-item i { font-size: 21px; }
.tab-item:not(.tab-publish):active { opacity: .55; transform: translateY(1px); }
.tab-item.is-active { color: var(--cyan-deep); }
.tab-item.is-active:before {
    content: "";
    position: absolute; top: 0; left: 50%; transform: translateX(-50%);
    width: 22px; height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, #0A84FF, #64D2FF);
    box-shadow: 0 0 10px rgba(10,132,255, .45);
}
.tab-publish { color: #8b929c; }
.publish-fab {
    width: 46px; height: 46px;
    border-radius: 50%;
    display: grid; place-items: center;
    margin-top: -24px;
    font-size: 24px;
    color: #05060a;
    background: linear-gradient(135deg, #0A84FF, #64D2FF);
    box-shadow: 0 10px 24px rgba(10,132,255, .35), 0 0 0 5px #fff;
    transition: transform .2s;
}
.tab-publish:active .publish-fab { transform: scale(.94); }
.tab-publish span:last-child { margin-top: 3px; }

/* ---------- 页脚 ---------- */
.site-foot {
    position: relative; z-index: 1;
    text-align: center;
    padding: 6px 16px calc(var(--tabbar-h) + var(--safe-b) + 22px);
    font-size: 11px;
    color: #a3a9b0;
    display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px;
}
.site-foot a { color: #838a93; }
.site-foot a:hover { color: var(--cyan-deep); }
.foot-dot { color: #c9ced4; }

/* ---------- 登录 / 注册 ---------- */
.auth-page {
    min-height: calc(100vh - 62px);
    display: flex; align-items: center; justify-content: center;
    padding: 26px 16px 40px;
}
.auth-card {
    width: 100%; max-width: 420px;
    padding: 30px 24px 24px;
    border-radius: 20px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .06);
    box-shadow: 0 20px 50px rgba(17, 24, 39, .1);
    position: relative;
    overflow: hidden;
}
.auth-card:before {
    content: "";
    position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, transparent, #0A84FF, #64D2FF, transparent);
    opacity: .85;
}
.auth-logo {
    width: 56px; height: 56px;
    border-radius: 17px;
    display: grid; place-items: center;
    background: linear-gradient(135deg, #0A84FF, #64D2FF);
    color: #08131a;
    font-size: 28px;
    margin-bottom: 18px;
    box-shadow: 0 14px 34px rgba(10,132,255, .26);
}
.auth-card h1 { margin: 0 0 6px; font-size: 22px; letter-spacing: .4px; color: #15202b; }
.auth-card .auth-sub { margin: 0 0 22px; font-size: 12.5px; color: #8d939b; line-height: 1.7; }
.input-icon { position: relative; }
.input-icon i {
    position: absolute; left: 13px; top: 50%; transform: translateY(-50%);
    color: #a8aeb5; font-size: 17px;
}
.input-icon .input { padding-left: 40px; height: 46px; }
.auth-foot { margin-top: 18px; font-size: 12.5px; color: #8d939b; text-align: center; }
.auth-foot a { color: var(--cyan-deep); font-weight: 500; }
.auth-divider {
    display: flex; align-items: center; gap: 10px;
    margin: 18px 0;
    color: #a3a9b0; font-size: 11px;
}
.auth-divider:before, .auth-divider:after {
    content: ""; flex: 1; height: 1px; background: rgba(0, 0, 0, .08);
}
.auth-note {
    margin-top: 16px; padding: 11px 13px;
    border-radius: 10px;
    font-size: 11.5px; line-height: 1.7;
    color: #5f6368;
    background: #f7f8fa;
    border: 1px solid rgba(0, 0, 0, .05);
}

/* ---------- 发布页 ---------- */
.compose-card { padding: 16px; }
.compose-user { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.compose-user strong { font-size: 14px; font-weight: 600; color: var(--link); }
.compose-user small { display: block; font-size: 11px; color: #9aa0a6; }
.compose-textarea {
    width: 100%;
    min-height: 130px;
    background: transparent;
    border: 0;
    outline: none;
    color: #191919;
    font-size: 15.5px;
    line-height: 1.75;
    resize: none;
    font-family: inherit;
    padding: 4px 0;
}
.compose-textarea::placeholder { color: #a8aeb5; }
.compose-tools {
    display: flex; align-items: center; gap: 8px;
    padding-top: 12px; margin-top: 4px;
    border-top: 1px solid rgba(0, 0, 0, .06);
    flex-wrap: wrap;
}
.tool-btn {
    display: inline-flex; align-items: center; gap: 6px;
    height: 36px; padding: 0 13px;
    border-radius: 9px;
    border: 1px solid rgba(0, 0, 0, .1);
    background: #f8f9fb;
    color: #5f6368;
    font-size: 12.5px; cursor: pointer;
    transition: .2s;
}
.tool-btn:hover { color: var(--cyan-deep); border-color: rgba(0,102,204, .4); background: #fff; }
.tool-btn i { font-size: 16px; }
.compose-upload-hint { margin-left: auto; font-size: 11px; color: #9aa0a6; }
.upload-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 12px;
}
.upload-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: 9px;
    overflow: hidden;
    background: #f4f5f7;
    border: 1px solid rgba(0, 0, 0, .06);
}
.upload-item img { width: 100%; height: 100%; object-fit: cover; }
.upload-item .remove {
    position: absolute; top: 4px; right: 4px;
    width: 22px; height: 22px; border-radius: 50%;
    border: 0; cursor: pointer;
    background: rgba(0, 0, 0, .58);
    color: #fff; font-size: 14px;
    display: grid; place-items: center;
}
.upload-add {
    aspect-ratio: 1;
    border-radius: 9px;
    border: 1px dashed rgba(0, 0, 0, .18);
    background: #fafbfc;
    display: grid; place-items: center;
    color: #a3a9b0;
    font-size: 24px;
    cursor: pointer;
    transition: .2s;
}
.upload-add:hover { color: var(--cyan-deep); border-color: rgba(0,102,204, .45); background: rgba(10,132,255, .05); }
.video-preview {
    margin-top: 12px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, .06);
    background: #000;
    position: relative;
}
.video-preview video { width: 100%; max-height: 300px; display: block; }
.video-preview .remove {
    position: absolute; top: 8px; right: 8px;
    width: 26px; height: 26px; border-radius: 50%;
    border: 0; cursor: pointer;
    background: rgba(0, 0, 0, .65); color: #fff;
    display: grid; place-items: center;
}
.compose-actions { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.compose-actions .btn-primary { flex: 1; }
.char-count { font-size: 11px; color: #9aa0a6; }
.compose-extra { display: grid; grid-template-columns: 1fr; gap: 10px; margin-top: 12px; }

/* ---------- 个人页 ---------- */
.profile-hero {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, .06);
    background: #fff;
    margin-bottom: 14px;
    box-shadow: 0 6px 24px rgba(17, 24, 39, .07);
}
.profile-cover {
    height: 168px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0b1220, #151a2c 60%, #1c1433);
}
.profile-cover img { width: 100%; height: 100%; object-fit: cover; }
.profile-cover canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.profile-cover:after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 30%, rgba(7, 8, 13, .72));
}
.profile-body { padding: 0 18px 18px; position: relative; background: #fff; }
.profile-top { display: flex; align-items: flex-end; gap: 14px; margin-top: -34px; position: relative; z-index: 2; }
.profile-avatar { filter: drop-shadow(0 8px 20px rgba(17, 24, 39, .22)); }
.profile-id { padding-bottom: 3px; flex: 1; min-width: 0; }
.profile-id h1 { margin: 0; font-size: 20px; letter-spacing: .3px; color: #15202b; }
.profile-id p { margin: 2px 0 0; font-size: 12px; color: #9aa0a6; }
.profile-bio { margin: 12px 0 0; font-size: 13px; line-height: 1.7; color: #5f6368; }
.profile-actions { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.profile-actions .btn { height: 38px; padding: 0 16px; font-size: 12.5px; border-radius: 10px; }

.reward-panel {
    position: relative;
    margin-top: 14px;
    padding: 16px 18px;
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(120deg, rgba(245, 196, 81, .2), rgba(255, 138, 76, .08) 55%, rgba(255, 255, 255, .4));
    border: 1px solid rgba(210, 148, 32, .28);
    display: flex; align-items: center; justify-content: space-between;
    gap: 12px;
}
.reward-panel:before {
    content: "";
    position: absolute; top: -60px; right: -30px;
    width: 180px; height: 180px; border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 196, 81, .35), transparent 65%);
}
.reward-panel .rp-label {
    font-size: 11.5px; color: #9a6508; letter-spacing: .8px;
    display: flex; align-items: center; gap: 6px;
}
.reward-panel .rp-value {
    font-size: 26px; font-weight: 700;
    color: #a4690a;
    letter-spacing: .5px;
    line-height: 1.2;
    text-shadow: 0 1px 0 rgba(255, 255, 255, .5);
}
.reward-panel .rp-value small { font-size: 13px; font-weight: 500; opacity: .8; margin-right: 2px; }
.reward-panel .rp-icon {
    width: 44px; height: 44px; border-radius: 13px;
    display: grid; place-items: center;
    background: rgba(245, 196, 81, .22);
    border: 1px solid rgba(210, 148, 32, .32);
    color: #b9790c; font-size: 22px;
    flex: none;
}
.profile-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 12px;
}
.stat-item {
    text-align: center;
    padding: 12px 6px;
    border-radius: 12px;
    background: #f7f8fa;
    border: 1px solid rgba(0, 0, 0, .04);
}
.stat-item b { display: block; font-size: 19px; font-weight: 600; letter-spacing: .5px; color: #15202b; }
.stat-item span { font-size: 11px; color: #9aa0a6; }
.profile-tabs {
    display: flex; align-items: center; gap: 4px;
    margin: 18px 0 12px;
    border-bottom: 1px solid rgba(0, 0, 0, .07);
}
.profile-tabs span {
    padding: 9px 14px;
    font-size: 13px; color: #8d939b;
    position: relative;
}
.profile-tabs span.is-active { color: var(--cyan-deep); }
.profile-tabs span.is-active:after {
    content: "";
    position: absolute; left: 50%; transform: translateX(-50%); bottom: -1px;
    width: 26px; height: 2px; border-radius: 2px;
    background: linear-gradient(90deg, #0A84FF, #64D2FF);
}

/* ---------- 帖子详情 ---------- */
.post-detail .post {
    padding: 16px 15px;
    margin-bottom: 0;
    border-radius: var(--radius) var(--radius) 0 0;
    border-bottom-color: transparent;
    box-shadow: 0 2px 10px rgba(17, 24, 39, .045);
}
.detail-comments {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .045);
    border-top: 0;
    border-radius: 0 0 var(--radius) var(--radius);
    padding: 2px 15px 15px;
    margin-bottom: 14px;
    box-shadow: 0 2px 10px rgba(17, 24, 39, .045);
}
.detail-comments .comment-area { margin-top: 8px; background: transparent; border: 0; padding: 0; }
.detail-title {
    display: flex; align-items: center; gap: 7px;
    font-size: 12px; color: #9aa0a6;
    margin: 0 2px 10px;
}
.detail-title i { color: var(--cyan-deep); }

/* ---------- 项目介绍页 ---------- */
.project-hero {
    position: relative;
    min-height: 560px;
    display: flex; align-items: center;
    overflow: hidden;
    padding: 60px 18px 70px;
}
.project-canvas {
    position: absolute; inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(0,102,204, .06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,102,204, .06) 1px, transparent 1px),
        radial-gradient(700px 420px at 72% 18%, rgba(10,132,255, .16), transparent 70%),
        radial-gradient(620px 420px at 12% 82%, rgba(100,210,255, .14), transparent 70%);
    background-size: 56px 56px, 56px 56px, 100% 100%, 100% 100%;
    -webkit-mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 80%);
    mask-image: radial-gradient(circle at 50% 40%, #000 0%, transparent 80%);
}
.project-hero-inner {
    position: relative; z-index: 2;
    max-width: 1080px;
    margin: 0 auto;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 26px;
}
.project-eyebrow {
    display: inline-flex; align-items: center; gap: 7px;
    width: fit-content;
    padding: 6px 13px;
    border-radius: 999px;
    font-size: 11px; letter-spacing: 1.4px;
    color: #0b6b7a;
    background: rgba(10,132,255, .12);
    border: 1px solid rgba(0,102,204, .28);
}
.project-eyebrow i { font-size: 14px; }
.project-title {
    margin: 18px 0 12px;
    font-size: clamp(30px, 8vw, 56px);
    line-height: 1.14;
    font-weight: 700;
    letter-spacing: -.5px;
    color: #101828;
}
.project-title .grad {
    background: linear-gradient(110deg, #0066CC, #0066CC 35%, #0A84FF 75%, #64D2FF);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.project-slogan {
    font-size: 14.5px; line-height: 1.8;
    color: #5f6368;
    max-width: 520px;
    margin: 0 0 26px;
}
.project-cta { display: flex; gap: 10px; flex-wrap: wrap; }
.project-cta .btn { height: 46px; padding: 0 24px; }
.project-hero-visual {
    position: relative;
    height: 260px;
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .1);
    background: radial-gradient(circle at 50% 50%, rgba(10,132,255, .14), transparent 65%), #0a0f18;
    box-shadow: 0 22px 54px rgba(15, 23, 42, .22);
}
.project-hero-visual canvas { width: 100% !important; height: 100% !important; display: block; }
.visual-badge {
    position: absolute; left: 14px; bottom: 14px;
    display: inline-flex; align-items: center; gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 10.5px; letter-spacing: 1px;
    color: #a5f3fc;
    background: rgba(7, 10, 18, .62);
    border: 1px solid rgba(10,132,255, .28);
    backdrop-filter: blur(10px);
    z-index: 2;
}

.project-section {
    max-width: 1080px;
    margin: 0 auto;
    padding: 56px 18px 0;
}
.section-head { margin-bottom: 26px; max-width: 620px; }
.section-head .sec-tag {
    font-size: 11px; letter-spacing: 2px;
    color: var(--cyan-deep);
    display: inline-flex; align-items: center; gap: 7px;
    margin-bottom: 10px;
}
.section-head .sec-tag:before {
    content: ""; width: 22px; height: 1px; background: var(--cyan-deep);
    box-shadow: 0 0 8px rgba(10,132,255, .5);
}
.section-head h2 {
    margin: 0 0 8px;
    font-size: clamp(22px, 5vw, 32px);
    letter-spacing: -.3px;
    color: #101828;
}
.section-head p { margin: 0; color: #5f6368; font-size: 13.5px; line-height: 1.8; }

.metric-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
.metric {
    position: relative;
    padding: 18px 16px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .05);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(17, 24, 39, .04);
}
.metric:after {
    content: "";
    position: absolute; top: 0; right: 0; width: 70px; height: 70px;
    background: radial-gradient(circle at top right, rgba(10,132,255, .18), transparent 70%);
}
.metric b {
    display: block;
    font-size: 26px; font-weight: 700;
    letter-spacing: -.5px;
    background: linear-gradient(110deg, #101828, #0066CC);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    line-height: 1.2;
}
.metric b small { font-size: 13px; margin-left: 2px; }
.metric span { font-size: 11.5px; color: #8d939b; }

.feature-grid { display: grid; gap: 12px; }
.feature {
    position: relative;
    padding: 20px 18px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, .05);
    overflow: hidden;
    transition: border-color .25s, transform .25s, box-shadow .25s;
    box-shadow: 0 2px 10px rgba(17, 24, 39, .04);
}
.feature:hover { border-color: rgba(0,102,204, .26); transform: translateY(-2px); box-shadow: 0 12px 28px rgba(17, 24, 39, .08); }
.feature .f-icon {
    width: 42px; height: 42px;
    border-radius: 12px;
    display: grid; place-items: center;
    font-size: 21px;
    color: #0b7c8e;
    background: rgba(10,132,255, .12);
    border: 1px solid rgba(10,132,255, .24);
    margin-bottom: 13px;
}
.feature:nth-child(3n+2) .f-icon { color: #6d28d9; background: rgba(100,210,255, .13); border-color: rgba(100,210,255, .26); }
.feature:nth-child(3n) .f-icon { color: #067a55; background: rgba(52, 211, 153, .12); border-color: rgba(52, 211, 153, .24); }
.feature h3 { margin: 0 0 6px; font-size: 15px; font-weight: 600; color: #15202b; }
.feature p { margin: 0; font-size: 12.5px; line-height: 1.75; color: #5f6368; }

.flow-list { position: relative; padding-left: 30px; }
.flow-list:before {
    content: "";
    position: absolute; left: 9px; top: 8px; bottom: 8px;
    width: 1px;
    background: linear-gradient(180deg, rgba(0,102,204, .55), rgba(10,132,255, .3), transparent);
}
.flow-step { position: relative; padding-bottom: 22px; }
.flow-step:last-child { padding-bottom: 0; }
.flow-step:before {
    content: "";
    position: absolute; left: -26px; top: 5px;
    width: 9px; height: 9px; border-radius: 50%;
    background: #fff;
    border: 2px solid var(--cyan-deep);
    box-shadow: 0 0 10px rgba(10,132,255, .5);
}
.flow-step h3 { margin: 0 0 4px; font-size: 14.5px; color: #15202b; }
.flow-step p { margin: 0; font-size: 12.5px; color: #5f6368; line-height: 1.7; }

.project-showcase {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}
.showcase-card {
    padding: 20px 18px;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, .05);
    background: linear-gradient(130deg, rgba(10,132,255, .08), rgba(100,210,255, .06) 60%, #fff);
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(17, 24, 39, .04);
}
.showcase-card h3 { margin: 0 0 8px; font-size: 15px; color: #15202b; }
.showcase-card p { margin: 0 0 14px; font-size: 12.5px; color: #5f6368; line-height: 1.75; }
.showcase-card .link {
    font-size: 12.5px; color: var(--cyan-deep);
    display: inline-flex; align-items: center; gap: 4px;
}

.project-final {
    max-width: 1080px;
    margin: 56px auto 0;
    padding: 0 18px;
}
.final-card {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    padding: 34px 22px;
    text-align: center;
    border: 1px solid rgba(10,132,255, .25);
    background:
        radial-gradient(500px 240px at 50% 0%, rgba(10,132,255, .2), transparent 70%),
        radial-gradient(400px 200px at 80% 100%, rgba(100,210,255, .18), transparent 70%),
        #0c0f18;
    box-shadow: 0 24px 60px rgba(15, 23, 42, .22);
}
.final-card h2 { margin: 0 0 10px; font-size: clamp(21px, 5vw, 28px); color: #f4f7ff; }
.final-card p { margin: 0 auto 22px; max-width: 460px; font-size: 13px; color: rgba(232, 238, 250, .72); line-height: 1.8; }
.final-card .btn { height: 48px; padding: 0 30px; }
.contact-line {
    margin-top: 16px;
    font-size: 12px; color: rgba(200, 210, 230, .6);
    display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap;
}
.contact-line b { color: #c8f7ff; font-weight: 600; letter-spacing: .5px; }

/* ---------- 滚动渐入 ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- 响应式 ---------- */
@media (max-width: 899px) {
    .hide-sm { display: none !important; }
    .page-auth .app-main { padding-bottom: 14px; }
    .page-auth .site-foot { padding-bottom: 22px; }
}
@media (min-width: 640px) {
    .app-main { padding-left: 20px; padding-right: 20px; }
    .feed-cover { height: 250px; }
    .metric-grid { grid-template-columns: repeat(4, 1fr); }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .project-showcase { grid-template-columns: repeat(2, 1fr); }
    .compose-extra { grid-template-columns: 1fr 1fr; }
    .upload-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 900px) {
    .topnav { display: flex; }
    .tabbar { display: none; }
    .app-main { padding-bottom: 40px; }
    .site-foot { padding-bottom: 26px; }
    .project-hero-inner { grid-template-columns: 1.05fr .95fr; align-items: center; gap: 40px; }
    .project-hero { min-height: 640px; padding-top: 40px; padding-bottom: 40px; }
    .project-hero-visual { height: 380px; }
    .feature-grid { grid-template-columns: repeat(3, 1fr); }
    .project-section { padding-top: 72px; }
    .feed-cover { height: 280px; }
}
@media (max-width: 380px) {
    .brand-text small { display: none; }
    .post { padding: 14px 12px; gap: 10px; }
    .post-text { font-size: 14.2px; }
    .act-btn span { display: none; }
    .reward-panel .rp-value { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *:before, *:after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    html { scroll-behavior: auto; }
}

/* ---------- Apple glass theme overrides (2026-10-28) ---------- */
.btn-primary {
    color: #fff;
    background: #0A84FF;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .28), 0 10px 24px rgba(10, 132, 255, .22);
}
.btn-primary:hover {
    background: #0077ED;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 14px 30px rgba(10, 132, 255, .28);
}
.btn-ghost {
    color: #1C1C1E;
    background: rgba(255, 255, 255, .62);
    border: 1px solid rgba(60, 60, 67, .14);
    backdrop-filter: blur(14px) saturate(160%);
    -webkit-backdrop-filter: blur(14px) saturate(160%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85);
}
.btn-ghost:hover {
    color: #1C1C1E;
    background: rgba(255, 255, 255, .88);
}
.comment-send {
    color: #fff;
    background: #0A84FF;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3);
}
.auth-card:before {
    background: linear-gradient(90deg, transparent, rgba(10, 132, 255, .5), rgba(100, 210, 255, .4), transparent);
}
.auth-logo {
    background: linear-gradient(180deg, #0A84FF, #0066CC);
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 12px 28px rgba(10, 132, 255, .24);
}
.publish-fab {
    color: #fff;
    background: #0A84FF;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3), 0 8px 20px rgba(10, 132, 255, .35), 0 0 0 5px #fff;
}
.tab-item.is-active {
    color: #0A84FF;
}
.tab-item.is-active:before {
    background: #0A84FF;
    box-shadow: 0 0 10px rgba(10, 132, 255, .35);
}
.notice-bar {
    color: #0055AA;
    background: rgba(10, 132, 255, .08);
    border-color: rgba(10, 132, 255, .16);
}
.empty-state .empty-icon {
    background: rgba(10, 132, 255, .08);
    color: #0A84FF;
    box-shadow: inset 0 1px 0 #fff;
}
.project-title .grad {
    background: linear-gradient(110deg, #0066CC, #0A84FF 45%, #64D2FF 85%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}
