/* ============================================================
   家庭厨艺大赛评分系统 · Apple Style Design System
   参考 iOS 17 / macOS Sonoma 视觉语言
   ============================================================ */

/* ---------- Design Tokens ---------- */
:root {
    /* 颜色 */
    --bg: #F2F2F7;
    --card: #FFFFFF;
    --card-glass: rgba(255, 255, 255, 0.72);
    --text: #1C1C1E;
    --text-2: #8E8E93;
    --fill: #F2F2F7;
    --sep: rgba(60, 60, 67, 0.12);
    --border: rgba(60, 60, 67, 0.08);
    --blue: #007AFF;
    --green: #34C759;
    --orange: #FF9500;
    --red: #FF3B30;
    --blue-soft: rgba(0, 122, 255, 0.10);
    --green-soft: rgba(52, 199, 89, 0.12);
    --orange-soft: rgba(255, 149, 0, 0.14);
    --red-soft: rgba(255, 59, 48, 0.10);

    /* 圆角 */
    --r-card: 18px;
    --r-btn: 12px;
    --r-input: 12px;
    --r-pill: 999px;

    /* 阴影 */
    --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.04), 0 8px 24px rgba(0, 0, 0, 0.06);
    --shadow-btn: 0 1px 2px rgba(0, 122, 255, 0.28);
    --glow-focus: 0 0 0 3px rgba(0, 122, 255, 0.15);

    /* 动效 */
    --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
    --t: all .25s var(--ease);

    /* 字体 */
    --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    --nav-h: 52px;
}

/* 深色模式 */
@media (prefers-color-scheme: dark) {
    :root {
        --bg: #000000;
        --card: #1C1C1E;
        --card-glass: rgba(28, 28, 30, 0.72);
        --text: #FFFFFF;
        --text-2: #8E8E93;
        --fill: #2C2C2E;
        --sep: rgba(84, 84, 88, 0.6);
        --border: rgba(84, 84, 88, 0.4);
        --blue-soft: rgba(0, 122, 255, 0.22);
        --green-soft: rgba(52, 199, 89, 0.22);
        --orange-soft: rgba(255, 149, 0, 0.22);
        --red-soft: rgba(255, 59, 48, 0.22);
        --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.4), 0 8px 24px rgba(0, 0, 0, 0.5);
    }
}

/* ---------- Reset ---------- */
* { padding: 0; margin: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font);
    background: linear-gradient(180deg, #F2F2F7 0%, #FFFFFF 100%);
    background: var(--bg);
    color: var(--text);
    font-size: 15px;
    line-height: 1.5;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; border: none; background: none; cursor: pointer; color: inherit; }

/* ---------- 布局 ---------- */
.app { min-height: 100vh; }
.page--narrow .content { max-width: 480px; }
.page--wide .content { max-width: 760px; }
.content {
    margin: 0 auto;
    padding: calc(var(--nav-h) + env(safe-area-inset-top) + 16px) 16px calc(48px + env(safe-area-inset-bottom));
}
.section--withbar { padding-bottom: 140px; }
.hero-center {
    min-height: calc(100vh - var(--nav-h));
    display: flex; flex-direction: column;
    justify-content: center; align-items: center;
    padding: 32px 0;
}
.section > * + * { margin-top: 14px; }

/* ---------- 顶部毛玻璃导航 ---------- */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding-top: env(safe-area-inset-top);
    background: var(--card-glass);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 0.5px solid var(--sep);
}
.navbar__inner {
    max-width: 760px; margin: 0 auto;
    height: var(--nav-h);
    padding: 0 16px;
    display: flex; align-items: center; gap: 10px;
}
.navbar__left { flex: 1; display: flex; }
.navbar__right { flex: 1; display: flex; justify-content: flex-end; }
.navbar__back {
    display: inline-flex; align-items: center; justify-content: center;
    width: 36px; height: 36px; margin-left: -8px; border-radius: 50%;
    transition: var(--t);
}
.navbar__back:active { transform: scale(0.9); opacity: .7; }
.navbar__title {
    flex: 2; text-align: center;
    font-size: 17px; font-weight: 600;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ---------- 状态胶囊 ---------- */
.cap {
    display: inline-flex; align-items: center;
    padding: 3px 10px;
    border-radius: var(--r-pill);
    font-size: 12px; font-weight: 500;
    white-space: nowrap; flex-shrink: 0;
}
.cap--blue   { background: var(--blue-soft); color: var(--blue); }
.cap--green  { background: var(--green-soft); color: #248A3D; }
.cap--warn   { background: var(--orange-soft); color: #C93400; }
.cap--danger { background: var(--red-soft); color: var(--red); }
.cap--gray   { background: var(--fill); color: var(--text-2); }

/* ---------- 卡片 ---------- */
.card {
    background: var(--card);
    border-radius: var(--r-card);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border);
    overflow: hidden;
}
.card--pad { padding: 18px; }

/* ---------- 文本 ---------- */
.title-lg { font-size: 28px; font-weight: 700; letter-spacing: .2px; }
.title-md { font-size: 20px; font-weight: 600; margin-top: 22px !important; }
.text-2 { color: var(--text-2); font-size: 13px; }
.form__hint { color: var(--text-2); font-size: 12px; line-height: 1.6; margin-top: 12px; }
.greeting { font-size: 22px; font-weight: 700; margin-bottom: 2px; }
.foot-link { color: var(--text-2); font-size: 13px; margin-top: 20px; }

/* ---------- 按钮 ---------- */
.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 6px;
    height: 48px; padding: 0 20px;
    border-radius: var(--r-btn);
    font-size: 17px; font-weight: 600;
    transition: var(--t);
    user-select: none; -webkit-user-select: none;
}
.btn:active { transform: scale(0.97); opacity: .85; }
.btn:disabled { opacity: 0.4; pointer-events: none; }
.btn--primary { background: var(--blue); color: #fff; box-shadow: var(--shadow-btn); }
.btn--secondary { background: var(--fill); color: var(--text); }
.btn--danger { background: var(--red); color: #fff; }
.btn--danger-plain { color: var(--red); }
.btn--ghost-danger { color: var(--red); background: var(--red-soft); }
.btn--block { width: 100%; }
.btn--sm { height: 36px; padding: 0 14px; font-size: 14px; border-radius: 10px; }
.btn--capsule { border-radius: var(--r-pill); }

/* ---------- 表单 ---------- */
.form > * + * { margin-top: 14px; }
.form__group { display: flex; flex-direction: column; gap: 6px; }
.form__label { font-size: 13px; color: var(--text-2); }
.input {
    height: 48px; padding: 14px;
    border-radius: var(--r-input);
    background: var(--fill);
    border: 1.5px solid transparent;
    font-size: 16px; font-family: inherit; color: var(--text);
    outline: none; transition: var(--t); width: 100%;
    appearance: none; -webkit-appearance: none;
}
.input::placeholder { color: var(--text-2); opacity: .7; }
.input:focus {
    border-color: var(--blue);
    background: var(--card);
    box-shadow: var(--glow-focus);
}
.input--area { height: auto; min-height: 110px; resize: vertical; line-height: 1.55; }

/* ---------- 设置页风格列表 ---------- */
.list { padding: 4px 0; }
.list__row {
    display: flex; align-items: center; gap: 12px;
    min-height: 56px; padding: 8px 16px;
    color: var(--text); transition: var(--t);
    position: relative;
}
.list__row + .list__row::before {
    content: ""; position: absolute; top: 0; left: 62px; right: 0;
    height: 1px; background: var(--sep);
}
a.list__row:active { background: var(--fill); }
.list__row--multi { min-height: 68px; padding-top: 10px; padding-bottom: 10px; }
.list__icon {
    width: 30px; height: 30px; border-radius: 8px; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff;
}
.list__icon--blue { background: var(--blue); }
.list__icon--green { background: var(--green); }
.list__icon--orange { background: var(--orange); }
.list__main { flex: 1; min-width: 0; }
.list__title { font-size: 16px; font-weight: 600; }
.list__sub {
    font-size: 12px; color: var(--text-2); margin-top: 2px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.chev { flex-shrink: 0; }

/* 人气投票胶囊 */
.work-card__side { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.vote-pill {
    display: inline-flex; align-items: center; justify-content: center; gap: 4px;
    min-width: 44px; min-height: 28px; padding: 4px 10px;
    border-radius: var(--r-pill); background: var(--fill); color: var(--text-2);
    font-size: 13px; font-weight: 600; line-height: 1;
    transition: all .2s ease; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.vote-pill svg { width: 13px; height: 13px; }
.vote-pill:not(.is-on):not(.is-off):active { transform: scale(0.92); opacity: .85; }
.vote-pill.is-on { background: rgba(255, 45, 85, 0.12); color: #FF375F; }
.vote-pill.is-off { opacity: .5; cursor: default; }
.avatar {
    width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
    background: var(--blue-soft); color: var(--blue);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 16px; font-weight: 600;
}
.row-actions { display: flex; gap: 8px; flex-shrink: 0; }

/* ---------- 提示条 ---------- */
.banner {
    display: flex; align-items: flex-start; gap: 8px;
    padding: 12px 14px; border-radius: 12px;
    font-size: 13px; line-height: 1.5;
}
.banner--warn { background: var(--orange-soft); color: #C93400; }
.banner--danger { background: var(--red-soft); color: var(--red); margin-top: 10px; }
.banner--info { background: var(--blue-soft); color: var(--blue); }

/* ---------- 大数字卡片 ---------- */
.bignumber { padding: 20px 18px; }
.bignumber__label { font-size: 13px; color: var(--text-2); }
.bignumber__row { display: flex; align-items: baseline; gap: 8px; margin: 4px 0 12px; }
.bignumber__num { font-size: 56px; font-weight: 700; line-height: 1.1; color: var(--blue); }
.bignumber__unit { font-size: 15px; color: var(--text-2); }
.bignumber__foot { font-size: 12px; color: var(--text-2); margin-top: 10px; }

/* ---------- 进度条 ---------- */
.progress { height: 6px; border-radius: 3px; background: var(--sep); overflow: hidden; }
.progress__bar {
    height: 100%; border-radius: 3px;
    background: var(--blue);
    transition: width .5s var(--ease);
}
.progress-card__head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; }
.progress-card__title { font-size: 17px; font-weight: 600; }
.progress-card__num { font-size: 15px; font-weight: 600; color: var(--blue); }
.progress-card__hint { font-size: 12px; color: var(--text-2); margin-top: 10px; }

/* ---------- 作品卡片 ---------- */
.work-card { display: block; color: var(--text); transition: var(--t); }
a.work-card:active { transform: scale(0.98); opacity: .9; }
.work-card__imgbox { aspect-ratio: 4 / 3; background: var(--fill); }
.work-card__imgbox img, .work-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.work-card__body { padding: 14px 16px 16px; }
.work-card__thumb {
    width: 72px; height: 72px; border-radius: 12px; overflow: hidden;
    background: var(--fill); flex-shrink: 0;
}
.work-card__info { flex: 1; min-width: 0; }
.work-card__no { font-size: 12px; font-weight: 600; color: var(--blue); letter-spacing: .5px; }
.work-card__title { font-size: 17px; font-weight: 600; margin-top: 2px; }
.work-card__desc {
    font-size: 13px; color: var(--text-2); margin-top: 4px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.work-card__meta { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-size: 12px; }
.judge-list .work-card { display: flex; align-items: center; gap: 12px; padding: 12px; }

/* ---------- 打分滑块 ---------- */
.dim-row__head { display: flex; align-items: baseline; gap: 8px; margin-bottom: 12px; }
.dim-row__name { font-size: 16px; font-weight: 600; }
.dim-row__meta { font-size: 12px; color: var(--text-2); flex: 1; }
.dim-row__val {
    font-size: 22px; font-weight: 700; color: var(--blue);
    font-variant-numeric: tabular-nums; min-width: 52px; text-align: right;
}
.slider {
    -webkit-appearance: none; appearance: none;
    width: 100%; height: 4px; border-radius: 2px;
    background: var(--sep); outline: none;
    transition: opacity .2s;
}
.slider::-webkit-slider-thumb {
    -webkit-appearance: none; appearance: none;
    width: 28px; height: 28px; border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,.2), 0 4px 8px rgba(0,0,0,.08);
    border: 0.5px solid var(--border);
    cursor: pointer; transition: transform .15s var(--ease);
}
.slider::-webkit-slider-thumb:active { transform: scale(1.15); }
.slider:disabled::-webkit-slider-thumb { background: var(--text-2); box-shadow: none; }
.slider:disabled { opacity: .5; }
.slider::-moz-range-thumb {
    width: 28px; height: 28px; border-radius: 50%;
    background: #fff; border: 0.5px solid var(--border);
    box-shadow: 0 1px 3px rgba(0,0,0,.2); cursor: pointer;
}

/* ---------- 底部毛玻璃操作栏 ---------- */
.bottombar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: var(--card-glass);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    border-top: 0.5px solid var(--sep);
}
.bottombar .btn { max-width: 448px; margin: 0 auto; }

/* ---------- 分段控件 ---------- */
.result-head { display: flex; align-items: center; gap: 10px; }
.result-head .segmented { flex: 1; }
.segmented {
    position: relative; display: flex;
    background: var(--fill); border-radius: 9px; padding: 2px;
    height: 34px;
}
.segmented__thumb {
    position: absolute; top: 2px; left: 2px;
    width: calc(50% - 2px); height: calc(100% - 4px);
    background: var(--card); border-radius: 7px;
    box-shadow: 0 1px 3px rgba(0,0,0,.1);
    transition: transform .25s var(--ease);
}
.segmented__item {
    flex: 1; z-index: 1;
    font-size: 13px; font-weight: 600; color: var(--text-2);
    transition: color .25s var(--ease);
    border-radius: 7px;
}
.segmented__item.is-active { color: var(--text); }
.seg-pane { display: none; }
.seg-pane.is-active { display: block; }
.seg-pane > * + * { margin-top: 14px; }

/* ---------- 排名卡片 ---------- */
.rank-card__head { display: flex; align-items: center; gap: 12px; }
.rank-card__title { flex: 1; min-width: 0; }
.rank-card__name { font-size: 16px; font-weight: 600; }
.rank-card__family { font-size: 12px; color: var(--text-2); margin-top: 2px; }
.rank-card__score { text-align: right; }
.rank-card__total { font-size: 26px; font-weight: 700; color: var(--blue); font-variant-numeric: tabular-nums; }
.rank-card__unit { font-size: 12px; color: var(--text-2); margin-left: 2px; }
.rank-card__img {
    margin-top: 12px; border-radius: 12px; overflow: hidden;
    aspect-ratio: 16 / 9; background: var(--fill);
}
.rank-card__img img { width: 100%; height: 100%; object-fit: cover; }
.rank-card__foot { margin-top: 12px; display: flex; justify-content: flex-end; }

/* ---------- 奖牌 ---------- */
.medal {
    width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 17px; font-weight: 700;
    border: 2px solid transparent;
}
.medal--gold   { background: #FBF3DF; color: #B08A2E; border-color: #E7CE8B; }
.medal--silver { background: #F1F1F4; color: #6E6E73; border-color: #D1D1D6; }
.medal--bronze { background: #F8EBE0; color: #9C6231; border-color: #E0BC9B; }
.medal--plain  { background: var(--fill); color: var(--text-2); border-color: transparent; }

/* ---------- 维度均分行 ---------- */
.dimline { display: flex; align-items: center; gap: 10px; margin-top: 12px; }
.dimline__name { font-size: 12px; color: var(--text-2); width: 76px; flex-shrink: 0; }
.dimline__bar {
    flex: 1; height: 6px; border-radius: 3px;
    background: var(--sep); overflow: hidden;
}
.dimline__bar i {
    display: block; height: 100%; border-radius: 3px;
    background: var(--blue);
    transition: width .6s var(--ease);
}
.dimline__val { font-size: 13px; font-weight: 600; width: 40px; text-align: right; font-variant-numeric: tabular-nums; }

/* ---------- 状态卡片（居中提示） ---------- */
.state-card { text-align: center; padding: 32px 24px; }
.state-card__icon {
    width: 72px; height: 72px; border-radius: 22px;
    margin: 0 auto 16px;
    display: inline-flex; align-items: center; justify-content: center;
}
.state-card__icon--warn { background: var(--orange-soft); color: var(--orange); }
.state-card__icon--gray { background: var(--fill); color: var(--text-2); }
.state-card__icon--blue { background: var(--blue-soft); color: var(--blue); }
.state-card__title { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.state-card .btn { margin-top: 16px; }
.auth-card { width: 100%; padding: 28px 22px; }
.auth-card__title { font-size: 22px; font-weight: 700; text-align: center; margin-top: 12px; }
.auth-card__sub { font-size: 13px; color: var(--text-2); text-align: center; margin: 4px 0 20px; }
.logo { text-align: center; }

/* ---------- 上传器 ---------- */
.uploader { display: block; cursor: pointer; }
.uploader__preview {
    height: 180px; border-radius: var(--r-input);
    background: var(--fill);
    border: 1.5px dashed var(--sep);
    display: flex; flex-direction: column; gap: 6px;
    align-items: center; justify-content: center;
    color: var(--text-2); font-size: 13px;
    overflow: hidden; transition: var(--t);
}
.uploader__preview:active { transform: scale(0.98); }
.uploader__preview img { width: 100%; height: 100%; object-fit: cover; }
.uploader__preview.has-img { border-style: solid; }

/* ---------- 提交闪烁反馈 ---------- */
@keyframes flash-success {
    0% { box-shadow: 0 0 0 0 rgba(52, 199, 89, 0.5); }
    100% { box-shadow: 0 0 0 18px rgba(52, 199, 89, 0); }
}
.is-flash { animation: flash-success .6s var(--ease) 2; background: var(--green) !important; }

/* ---------- 弹窗 ---------- */
.modal { position: fixed; inset: 0; z-index: 200; display: flex; align-items: flex-end; justify-content: center; }
.modal[hidden] { display: none; }
.modal__mask {
    position: absolute; inset: 0;
    background: rgba(0, 0, 0, 0.35);
    animation: fade-in .25s var(--ease);
}
.modal__sheet {
    position: relative; z-index: 1;
    width: 100%; max-width: 480px;
    background: var(--card);
    border-radius: 20px 20px 0 0;
    padding: 20px 18px calc(20px + env(safe-area-inset-bottom));
    animation: sheet-up .3s var(--ease);
}
@media (min-width: 520px) {
    .modal { align-items: center; }
    .modal__sheet { border-radius: 20px; max-width: 420px; animation: zoom-in .25s var(--ease); }
}
.modal__title { font-size: 17px; font-weight: 700; margin-bottom: 14px; }
.modal__actions { display: flex; gap: 10px; margin-top: 18px; }
.modal__actions .btn { flex: 1; }
.records-list { max-height: 320px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; }
.records-list .rec-row {
    display: flex; align-items: center; gap: 8px;
    padding: 10px 12px; border-radius: 10px; background: var(--fill);
    font-size: 13px;
}
.records-list .rec-row.is-invalid { opacity: .5; }
.records-list .rec-row__main { flex: 1; }
.records-list .rec-row__score { font-weight: 700; color: var(--blue); }

@keyframes fade-in { from { opacity: 0; } }
@keyframes sheet-up { from { transform: translateY(40px); opacity: 0; } }
@keyframes zoom-in { from { transform: scale(0.96); opacity: 0; } }

/* ---------- Toast ---------- */
.toast {
    position: fixed; top: calc(var(--nav-h) + env(safe-area-inset-top) + 12px);
    left: 50%; transform: translateX(-50%) translateY(-8px);
    z-index: 300;
    max-width: 86%;
    background: rgba(250, 250, 250, 0.92); color: var(--text);
    -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-card);
    border-radius: var(--r-pill);
    padding: 10px 20px;
    font-size: 14px; font-weight: 500; text-align: center;
    opacity: 0; transition: all .3s var(--ease);
    pointer-events: none;
}
.toast.is-show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast--err { color: var(--red); }
.toast--ok { color: #248A3D; }

/* ---------- 后台作品卡片 ---------- */
.admin-work { display: flex; }
.admin-work__img { width: 120px; flex-shrink: 0; background: var(--fill); }
.admin-work__img img { width: 100%; height: 100%; object-fit: cover; }
.admin-work__body { flex: 1; padding: 14px; min-width: 0; }
.admin-work__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; }
.admin-work__desc {
    font-size: 13px; color: var(--text-2); margin-top: 6px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.admin-work__actions { display: flex; gap: 10px; margin-top: 12px; }

/* ---------- 阶段控制 ---------- */
.phase-now__name { font-size: 30px; font-weight: 700; color: var(--blue); margin: 2px 0; }
.phase-now__times { font-size: 12px; color: var(--text-2); }
.phase-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (min-width: 640px) { .phase-steps { grid-template-columns: repeat(4, 1fr); } }
.phase-btn { text-align: left; cursor: pointer; transition: var(--t); }
.phase-btn:active:not(:disabled) { transform: scale(0.97); opacity: .85; }
.phase-btn:disabled { opacity: 0.4; cursor: not-allowed; }
.phase-btn.is-current { border-color: var(--blue); box-shadow: 0 0 0 3px var(--blue-soft); }
.phase-btn__name { display: block; font-size: 16px; font-weight: 600; }
.phase-btn__hint { display: block; font-size: 12px; color: var(--text-2); margin-top: 4px; }

/* ---------- 时间线（审计日志） ---------- */
.timeline { padding: 18px 16px; }
.timeline__item { display: flex; gap: 14px; position: relative; padding-bottom: 20px; }
.timeline__item:last-child { padding-bottom: 4px; }
.timeline__item::before {
    content: ""; position: absolute; left: 5px; top: 16px; bottom: 0;
    width: 1px; background: var(--sep);
}
.timeline__item:last-child::before { display: none; }
.timeline__dot {
    width: 11px; height: 11px; border-radius: 50%; flex-shrink: 0;
    background: var(--blue); margin-top: 5px;
    box-shadow: 0 0 0 3px var(--blue-soft);
}
.timeline__main { flex: 1; min-width: 0; }
.timeline__title { font-size: 15px; font-weight: 600; }
.timeline__detail { font-size: 13px; color: var(--text-2); margin-top: 2px; word-break: break-all; }
.timeline__time { font-size: 12px; color: var(--text-2); margin-top: 4px; opacity: .8; }

/* ---------- 后台底部导航 ---------- */
.tabbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
    display: flex;
    max-width: 760px; margin: 0 auto;
    background: var(--card-glass);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    backdrop-filter: blur(20px) saturate(180%);
    border-top: 0.5px solid var(--sep);
    padding-bottom: env(safe-area-inset-bottom);
}
.tabbar__item {
    flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px;
    padding: 7px 0 6px; font-size: 10px; color: var(--text-2);
    transition: var(--t);
}
.tabbar__item.is-active { color: var(--blue); }
.tabbar__item:active { transform: scale(0.92); }

/* ---------- 揭晓动画 ---------- */
.reveal-item { opacity: 0; transform: translateY(8px); transition: opacity .45s var(--ease), transform .45s var(--ease); }
.reveal-item.in { opacity: 1; transform: translateY(0); }

/* ---------- 打印屏友好 ---------- */
@media (min-width: 960px) {
    .page--wide .content { max-width: 760px; }
}
