/**
 * Weibo Life 主样式
 * 微博风格个人主页布局
 */

/* ========== 穿搭与专注时间 ========== */
.wl-outfit-shell { margin: 2px 0 9px; padding: 18px; border-radius: 17px; background: linear-gradient(150deg, #f7f2ff, #fff9f4); color: #423b4d; }
.wl-outfit-heading { display: flex; align-items: center; justify-content: space-between; color: #887a9b; font-size: 11px; letter-spacing: .06em; }
.wl-outfit-mark { padding: 4px 8px; border-radius: 99px; background: rgba(129,94,175,.12); color: #725498; font-weight: 700; }
.wl-outfit-text { margin: 15px 0 12px; font-size: 16px; line-height: 1.75; }
.wl-outfit-text p { margin: 0; }
.wl-outfit-items { border-top: 1px solid rgba(92,70,118,.12); }
.wl-outfit-item { display: grid; grid-template-columns: 58px minmax(0,1fr) auto; gap: 11px; align-items: center; padding: 10px 0; border-bottom: 1px solid rgba(92,70,118,.1); }
.wl-outfit-sticker { display: flex; align-items: center; justify-content: center; width: 58px; height: 64px; border-radius: 9px; background: rgba(255,255,255,.7); color: #aa9ab8; overflow: hidden; }
.wl-outfit-sticker img { width: 100%; height: 100%; object-fit: contain; }
.wl-outfit-item-main { min-width: 0; }
.wl-outfit-item-main strong, .wl-outfit-item-main span, .wl-outfit-price small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wl-outfit-item-main strong { font-size: 13px; }
.wl-outfit-item-main span { margin-top: 3px; color: #85758f; font-size: 11px; }
.wl-outfit-price { text-align: right; }
.wl-outfit-price b { display: block; font-size: 13px; }
.wl-outfit-price small { margin-top: 3px; color: #9a8b9d; font-size: 10px; }
.wl-focus-summary-card { margin: 3px 0 9px; padding: 19px; border-radius: 17px; background: #26283a; color: #fff; }
.wl-focus-summary-heading { display: flex; align-items: flex-start; justify-content: space-between; }
.wl-focus-summary-heading span { color: #b7bacd; font-size: 11px; letter-spacing: .08em; }
.wl-focus-summary-heading h3 { margin: 4px 0 0; font-size: 18px; }
.wl-focus-summary-heading b { font-size: 24px; }
.wl-focus-summary-heading small { margin-left: 2px; color: #b7bacd; font-size: 11px; }
.wl-focus-bar, .wl-focus-summary-bar { display: flex; height: 11px; margin: 19px 0 14px; border-radius: 99px; overflow: hidden; background: rgba(255,255,255,.13); }
.wl-focus-bar i, .wl-focus-summary-bar i { min-width: 0; }
.wl-focus-legend { display: flex; flex-wrap: wrap; gap: 7px 12px; }
.wl-focus-legend span { color: #d5d7e3; font-size: 11px; }
.wl-focus-legend i, .wl-focus-breakdown i { display: inline-block; width: 7px; height: 7px; margin-right: 4px; border-radius: 50%; }

/* ========== OKR 进度卡片 ========== */
.wl-okr-shell { margin: 2px 0 9px; padding: 18px; border: 1px solid #dfe5f4; border-radius: 17px; background: linear-gradient(150deg, #fbfcff, #f1f4ff); color: #303d62; }
.wl-okr-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.wl-okr-mark { display: inline-block; padding: 3px 7px; border-radius: 99px; background: rgba(81, 107, 180, .12); color: #526bb0; font-size: 10px; font-weight: 700; letter-spacing: .07em; }
.wl-okr-top h3 { margin: 7px 0 0; color: #303d62; font-size: 17px; line-height: 1.4; }
.wl-okr-top > b { color: #526bb0; font-size: 25px; line-height: 1; }
.wl-okr-top > b small { font-size: 12px; }
.wl-okr-progress { height: 9px; margin: 16px 0 13px; overflow: hidden; border-radius: 99px; background: #dfe5f4; }
.wl-okr-progress i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #7188d0, #596fb7); }
.wl-okr-note { margin: 0 0 12px; color: #5e6b87; font-size: 13px; line-height: 1.7; }
.wl-okr-note p { margin: 0 0 5px; }
.wl-okr-note p:last-child { margin-bottom: 0; }
.wl-okr-results { border-top: 1px solid rgba(81,107,180,.16); }
.wl-okr-results > div { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 9px; padding: 9px 0; border-bottom: 1px solid rgba(81,107,180,.12); font-size: 13px; }
.wl-okr-results > div > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wl-okr-results b { color: #4f639f; font-size: 12px; text-align: right; white-space: nowrap; }
.wl-okr-results b small { color: #8793b1; font-size: 10px; font-weight: 400; }
.wl-okr-actions-summary { display: flex; flex-wrap: wrap; gap: 6px 9px; margin-top: 12px; color: #7b89a9; font-size: 11px; }
.wl-okr-actions-summary > span { width: 100%; color: #68799f; font-size: 10px; letter-spacing: .06em; }
.wl-okr-actions-summary i { font-style: normal; }
.wl-okr-actions-summary i.is-done { color: #4f8b6c; text-decoration: line-through; }
.wl-okr-footer { margin-top: 11px; color: #8290ad; font-size: 11px; }
@media (max-width: 600px) { .wl-okr-shell { padding: 15px; border-radius: 14px; } .wl-okr-top h3 { font-size: 16px; } .wl-okr-results > div { grid-template-columns: 1fr; gap: 3px; } .wl-okr-results b { text-align: left; } }

/* ========== To-do List 卡片 ========== */
.wl-todo-shell { margin: 2px 0 9px; padding: 18px; border: 1px solid #dcece1; border-radius: 17px; background: linear-gradient(150deg, #fbfffb, #f0f8f2); color: #294334; }
.wl-todo-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.wl-todo-mark { display: inline-block; padding: 3px 7px; border-radius: 99px; background: rgba(59, 132, 85, .12); color: #377653; font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.wl-todo-heading h3 { margin: 7px 0 0; font-size: 17px; color: #294334; }
.wl-todo-heading > b { padding-top: 5px; color: #387b55; font-size: 19px; white-space: nowrap; }
.wl-todo-heading > b small { color: #779383; font-size: 11px; font-weight: 400; }
.wl-todo-note { margin: 14px 0 11px; color: #58705f; font-size: 13px; line-height: 1.7; }
.wl-todo-note p { margin: 0 0 6px; }
.wl-todo-note p:last-child { margin-bottom: 0; }
.wl-todo-groups { display: grid; gap: 13px; margin-top: 15px; }
.wl-todo-group { padding: 11px 12px 1px; border: 1px solid rgba(62, 123, 82, .12); border-radius: 12px; background: rgba(255,255,255,.42); }
.wl-todo-group-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; color: #3d684d; }
.wl-todo-group-head strong { font-size: 14px; line-height: 1.4; }
.wl-todo-group-head span { color: #789080; font-size: 11px; white-space: nowrap; }
.wl-todo-list { margin: 10px 0 0; padding: 0; border-top: 1px solid rgba(62, 123, 82, .13); list-style: none; }
.wl-todo-card-item { display: flex; align-items: flex-start; gap: 10px; padding: 10px 1px; border-bottom: 1px solid rgba(62, 123, 82, .11); color: #375142; font-size: 14px; line-height: 1.5; }
.wl-todo-card-check { display: grid; place-items: center; flex: 0 0 auto; width: 20px; height: 20px; margin-top: 1px; border: 1px solid #a9c7b3; border-radius: 50%; color: #fff; font-size: 12px; font-weight: 700; line-height: 1; }
.wl-todo-card-item.is-done { color: #81958a; text-decoration: line-through; }
.wl-todo-card-item.is-done .wl-todo-card-check { border-color: #4d9a6b; background: #4d9a6b; }
.wl-todo-card-copy { min-width:0; }.wl-todo-okr-link { display:block; margin-top:3px; color:#4d8b63; font-size:10px; line-height:1.4; text-decoration:none; }
@media (max-width: 600px) { .wl-todo-shell { padding: 15px; border-radius: 14px; } .wl-todo-heading h3 { font-size: 16px; } }

/* ========== 成长周报公开快照 ========== */
.wl-growth-report-card { margin:2px 0 9px; padding:18px; border:1px solid #eadfd5; border-radius:17px; background:linear-gradient(145deg,#fffcf7,#f8f1e8); color:#493d35; }
.wl-growth-report-top { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; }.wl-growth-report-top span { display:inline-block; padding:3px 7px; border-radius:99px; background:rgba(184,128,77,.12); color:#a56832; font-size:10px; font-weight:800; letter-spacing:.08em; }.wl-growth-report-top h3 { margin:7px 0 0; font-size:17px; }.wl-growth-report-top time { padding-top:5px; color:#9b8878; font-size:11px; white-space:nowrap; }
.wl-growth-report-stats { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin:15px 0; }.wl-growth-report-stats div { padding:10px; border-radius:10px; background:rgba(255,255,255,.58); }.wl-growth-report-stats b { display:block; color:#9c6030; font-size:19px; }.wl-growth-report-stats b small { color:#a9917e; font-size:10px; font-weight:500; }.wl-growth-report-stats span { display:block; margin-top:4px; color:#927e6e; font-size:10px; }
.wl-growth-report-note { color:#67574b; font-size:13px; line-height:1.7; }.wl-growth-report-note p { margin:0 0 7px; }.wl-growth-report-habits { display:flex; flex-wrap:wrap; gap:7px; align-items:center; margin-top:12px; padding-top:11px; border-top:1px solid rgba(150,111,78,.13); }.wl-growth-report-habits > span { color:#8d725d; font-size:11px; }.wl-growth-report-habits i { padding:4px 7px; border-radius:99px; background:#fff; color:#866046; font-size:11px; font-style:normal; }
@media (max-width:600px) { .wl-growth-report-card { padding:15px; }.wl-growth-report-stats { gap:6px; }.wl-growth-report-stats div { padding:8px; }.wl-growth-report-top time { font-size:10px; } }

/* ========== 在读图书卡片 ========== */
.wl-reading-shell { margin: 2px 0 9px; }
.wl-reading-book { display: flex; gap: 16px; padding: 16px; border-radius: 16px; background: linear-gradient(150deg, #faf6ef, #f4efe7); border: 1px solid #efe6d8; }
.wl-reading-cover { flex: 0 0 auto; width: 88px; height: 124px; border-radius: 12px; overflow: hidden; background: #e6ded0; box-shadow: 2px 3px 10px rgba(90,70,40,.18); display: flex; align-items: center; justify-content: center; }
.wl-reading-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wl-reading-cover-fallback { color: #a89a80; font-size: 22px; }
.wl-reading-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.wl-reading-mark { align-self: flex-start; padding: 2px 8px; border-radius: 99px; background: rgba(176,106,26,.13); color: #a0631c; font-size: 10px; font-weight: 700; letter-spacing: .06em; }
.wl-reading-title { margin: 7px 0 2px; font-size: 16px; line-height: 1.4; color: #3d3427; }
.wl-reading-author { margin: 0 0 8px; color: #9a8a70; font-size: 12px; }
.wl-reading-quote { margin: 0; padding: 0 0 0 11px; border-left: 3px solid #d9c9a8; color: #5c5040; font-size: 14px; line-height: 1.75; }
.wl-reading-quote p { margin: 0 0 6px; }
.wl-reading-quote p:last-child { margin-bottom: 0; }
@media (max-width: 600px) {
    .wl-reading-book { gap: 12px; padding: 13px; }
    .wl-reading-cover { width: 72px; height: 102px; }
    .wl-reading-title { font-size: 15px; }
}

.wl-focus-page { max-width: 760px; margin: 0 auto; padding: 8px 0 28px; }
.wl-focus-page-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; margin: 17px 0; }
.wl-focus-page-head span { color: var(--wl-accent); font-size: 12px; font-weight: 600; }
.wl-focus-page-head h1 { margin: 3px 0; font-size: 27px; }
.wl-focus-page-head p { margin: 0; color: var(--wl-text-muted); font-size: 13px; }
.wl-focus-publish-link { padding: 8px 12px; border-radius: 99px; background: var(--wl-accent); color: #fff; font-size: 12px; white-space: nowrap; }
/* 2026-08-22 大圆角 + 玻璃态已上移到 unified-ui.css 统一面板声明块。 */
.wl-focus-timer-card, .wl-focus-summary-panel, .wl-focus-manual-card { margin: 14px 0; padding: 19px; background: var(--wl-bg-card); }
.wl-focus-timer-display { margin-bottom: 18px; font-variant-numeric: tabular-nums; font-size: 43px; font-weight: 700; letter-spacing: .04em; }
.wl-focus-timer-fields { display: grid; grid-template-columns: 190px minmax(0, 1fr); gap: 12px; }
.wl-focus-field { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.wl-focus-field span { color: var(--wl-text-secondary); font-size: 12px; font-weight: 600; }
.wl-focus-timer-card select, .wl-focus-timer-card input, .wl-focus-manual-form select, .wl-focus-manual-form input { box-sizing: border-box; width: 100%; height: 42px; padding: 0 12px; border: 1px solid var(--wl-border); border-radius: 10px; background: #fff; color: var(--wl-text); font: inherit; font-size: 14px; outline: none; transition: border-color .18s ease, box-shadow .18s ease; }
.wl-focus-timer-card select:focus, .wl-focus-timer-card input:focus, .wl-focus-manual-form select:focus, .wl-focus-manual-form input:focus { border-color: var(--wl-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--wl-accent) 12%, transparent); }
.wl-focus-timer-actions { display: flex; gap: 10px; margin-top: 16px; }
.wl-focus-timer-actions .wl-btn { height: 40px; padding: 0 22px; border-radius: 20px; font-size: 14px; }
.wl-focus-panel-head { display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.wl-focus-period-tabs { display: flex; gap: 4px; padding: 3px; border-radius: 9px; background: var(--wl-bg); }
.wl-focus-period-tabs button { padding: 6px 11px; border: 0; border-radius: 7px; background: transparent; color: var(--wl-text-muted); font: inherit; font-size: 12px; }
.wl-focus-period-tabs button.active { background: #fff; color: var(--wl-text); box-shadow: var(--wl-shadow); }
.wl-focus-period-nav { display: flex; align-items: center; gap: 8px; }
.wl-focus-period-nav button { width: 26px; height: 26px; border: 0; border-radius: 7px; background: var(--wl-bg); color: var(--wl-text-secondary); font-size: 14px; line-height: 1; cursor: pointer; transition: background .15s ease, color .15s ease; }
.wl-focus-period-nav button:hover { background: var(--wl-border-light); color: var(--wl-text); }
.wl-focus-period-nav span { min-width: 80px; text-align: center; color: var(--wl-text); font-size: 13px; font-weight: 600; white-space: nowrap; }
/* 手机端：选项过多时按钮区域改为左右滑动，避免被压窄 */
@media (max-width: 600px) {
    .wl-focus-panel-head { flex-direction: column; align-items: stretch; gap: 12px; }
    .wl-focus-period-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding-bottom: 2px;
    }
    .wl-focus-period-tabs::-webkit-scrollbar { display: none; }
    .wl-focus-period-tabs button { flex: 0 0 auto; white-space: nowrap; }
    .wl-focus-period-nav { justify-content: center; }
    .wl-focus-period-nav span { min-width: 0; }
}
.wl-focus-panel-head input { border: 0; color: var(--wl-text-secondary); font: inherit; font-size: 12px; }
.wl-focus-summary-view { min-height: 80px; }
.wl-focus-error { color: #d86b6b; font-size: 13px; }
.wl-focus-total { margin-top: 20px; color: var(--wl-text-secondary); }
.wl-focus-total b { margin-right: 3px; color: var(--wl-text); font-size: 29px; }
.wl-focus-total span { margin-right: 8px; font-size: 12px; }
.wl-focus-breakdown > div { display: grid; grid-template-columns: 10px minmax(0,1fr) 45px 72px; gap: 6px; align-items: center; padding: 8px 0; color: var(--wl-text-secondary); font-size: 13px; }
.wl-focus-breakdown b { color: var(--wl-text); text-align: right; }
.wl-focus-breakdown small { color: var(--wl-text-muted); text-align: right; }
/* 今天视图：与本周/本月/本年/全部一致的白色嵌套卡片框 */
/* 2026-08-22 大圆角 + 玻璃态已上移到 unified-ui.css 统一面板声明块。 */
.wl-focus-summary-card { margin-top: 18px; padding: 20px; background: var(--wl-bg-card); color: var(--wl-text); }
.wl-focus-summary-card .wl-focus-total { margin-top: 0; }
/* 概览视图：浅色卡片（与站点其他卡片一致）+ 左侧分类图例 + 右侧细圆角堆叠柱 */
/* 2026-08-22 大圆角 + 玻璃态已上移到 unified-ui.css 统一面板声明块。 */
.wl-focus-overview { margin-top: 18px; padding: 20px; background: var(--wl-bg-card); color: var(--wl-text); }
.wl-focus-overview-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; }
.wl-focus-overview-head span { color: var(--wl-text-muted); font-size: 12px; font-weight: 500; letter-spacing: .02em; }
.wl-focus-overview-head b { font-size: 26px; font-weight: 700; color: var(--wl-text); font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.wl-focus-overview-head b .wl-focus-unit { font-size: 14px; font-weight: 600; color: var(--wl-text-secondary); margin-left: 2px; }
.wl-focus-overview-body { display: flex; gap: 24px; align-items: stretch; }
.wl-focus-overview-legend { flex: 0 0 auto; min-width: 130px; display: flex; flex-direction: column; gap: 10px; }
.wl-focus-overview-legend-item { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--wl-text-secondary); }
.wl-focus-overview-legend-item i { width: 9px; height: 9px; border-radius: 50%; background: var(--bar-color); }
.wl-focus-overview-legend-name { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wl-focus-overview-legend-time { flex: 0 0 auto; color: var(--wl-text); font-weight: 600; }
.wl-focus-overview-chart { position: relative; flex: 1 1 auto; display: flex; align-items: stretch; gap: 10px; height: 200px; }
.wl-focus-overview-col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; align-items: center; height: 100%; }
.wl-focus-overview-bar { flex: 1 1 auto; width: 22px; min-height: 0; display: flex; flex-direction: column; justify-content: flex-end; border-radius: 4px; overflow: hidden; background: var(--wl-bg); }
.wl-focus-overview-seg { display: block; position: relative; width: 100%; overflow: hidden; background: var(--bar-color); }
.wl-focus-overview-seg:first-child { border-radius: 4px 4px 0 0; }
.wl-focus-overview-seg:only-child { border-radius: 4px; }
.wl-focus-overview-col.is-today .wl-focus-overview-bar { box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.05); }
.wl-focus-overview-day { flex: 0 0 auto; margin-top: 8px; font-size: 11px; font-weight: 500; color: var(--wl-text-muted); }
.wl-focus-overview-col.is-today .wl-focus-overview-day { color: var(--wl-text); font-weight: 700; background: var(--wl-bg); padding: 1px 7px; border-radius: 9px; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12); }
.wl-focus-overview-empty { margin-top: 10px; color: var(--wl-text-muted); font-size: 13px; line-height: 1.6; }
@media (max-width: 640px) { .wl-focus-overview-body { flex-direction: column; gap: 18px; align-items: stretch; } .wl-focus-overview-legend { flex-direction: row; flex-wrap: wrap; gap: 8px 14px; } .wl-focus-overview-chart { height: 170px; gap: 6px; } .wl-focus-overview-bar { width: 18px; } .wl-focus-overview-head b { font-size: 22px; } }
/* 横向百分比条形：本月 / 本年 / 全部 */
/* 2026-08-22 大圆角 + 玻璃态已上移到 unified-ui.css 统一面板声明块。 */
.wl-focus-distribution { margin-top: 18px; padding: 20px; background: var(--wl-bg-card); color: var(--wl-text); }
.wl-focus-distribution-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 18px; }
.wl-focus-distribution-head span { color: var(--wl-text-muted); font-size: 12px; font-weight: 500; letter-spacing: .02em; }
.wl-focus-distribution-head b { font-size: 26px; font-weight: 700; color: var(--wl-text); font-variant-numeric: tabular-nums; letter-spacing: .01em; }
.wl-focus-distribution-head b .wl-focus-unit { font-size: 14px; font-weight: 600; color: var(--wl-text-secondary); margin-left: 2px; }
.wl-focus-distribution-list { display: flex; flex-direction: column; gap: 14px; }
.wl-focus-distribution-item { display: flex; align-items: center; gap: 14px; }
.wl-focus-distribution-bar-wrap { flex: 1 1 auto; min-width: 0; }
.wl-focus-distribution-bar { display: flex; align-items: center; position: relative; overflow: hidden; height: 36px; padding: 0 12px; border-radius: 10px; color: #fff; font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; transition: width .35s ease; background: var(--bar-color); }
.wl-focus-distribution-bar span { position: relative; z-index: 1; }
.wl-focus-distribution-info { flex: 0 0 auto; min-width: 110px; }
.wl-focus-distribution-info b { display: block; font-size: 14px; font-weight: 600; color: var(--wl-text); }
.wl-focus-distribution-info span { display: block; margin-top: 2px; font-size: 13px; color: var(--wl-text-secondary); }
@media (max-width: 640px) { .wl-focus-distribution-head b { font-size: 22px; } .wl-focus-distribution-item { gap: 10px; } .wl-focus-distribution-bar { height: 32px; font-size: 13px; padding: 0 10px; border-radius: 8px; } .wl-focus-distribution-info { min-width: 90px; } .wl-focus-distribution-info b { font-size: 13px; } .wl-focus-distribution-info span { font-size: 12px; } }
.wl-focus-manual-card h2 { margin: 0 0 13px; font-size: 16px; }
.wl-focus-manual-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: end; }
.wl-focus-manual-form .wl-focus-field { margin: 0; }
/* 时长步进器：一体化质感控件，−/+ 符号贴边，数字区域无分隔边框 */
.wl-stepper { position: relative; display: inline-flex; align-items: center; justify-content: center; height: 42px; border: 1px solid var(--wl-border); border-radius: 10px; background: #fff; min-width: 0; overflow: hidden; transition: border-color .18s ease, box-shadow .18s ease; }
.wl-stepper:focus-within { border-color: var(--wl-accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--wl-accent) 12%, transparent); }
.wl-stepper input { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0 44px; border: 0; text-align: center; background: transparent; color: var(--wl-text); font: inherit; font-size: 14px; font-weight: 600; outline: none; -moz-appearance: textfield; -webkit-appearance: none; }
.wl-stepper input::placeholder { color: var(--wl-text-muted); font-size: 13px; font-weight: 400; }
.wl-stepper input::-webkit-outer-spin-button, .wl-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.wl-stepper-btn { position: absolute; top: 0; bottom: 0; width: 44px; display: flex; align-items: center; border: 0; padding: 0; margin: 0; background: transparent; color: #b8b8b8; font: inherit; font-size: 15px; font-weight: 600; line-height: 1; cursor: pointer; user-select: none; -webkit-user-select: none; -webkit-tap-highlight-color: transparent; transition: color .15s ease, transform .12s ease; z-index: 1; }
.wl-stepper-btn:focus-visible { outline: 2px solid var(--wl-accent); outline-offset: 2px; }
.wl-stepper-btn:first-child { left: 0; justify-content: flex-start; padding-left: 14px; transform-origin: left center; }
.wl-stepper-btn:last-child { right: 0; justify-content: flex-end; padding-right: 14px; transform-origin: right center; }
.wl-stepper-btn:hover { color: var(--wl-accent); transform: scale(1.18); }
.wl-stepper-btn:active { color: var(--wl-accent); transform: scale(.9); }
.wl-focus-manual-form > button { justify-self: stretch; height: 42px; padding: 0 18px; border: 0; border-radius: 10px; background: #292a35; color: #fff; font: inherit; font-size: 14px; cursor: pointer; transition: transform .15s ease, background .15s ease; }
@media (max-width: 860px) { .wl-focus-manual-form { grid-template-columns: 1fr 1fr; } .wl-focus-manual-form .wl-focus-field:nth-child(1) { grid-column: 1 / -1; } .wl-focus-manual-form .wl-focus-field-note { grid-column: 1 / -1; max-width: none; } .wl-focus-manual-form > button { grid-column: 2; justify-self: stretch; } }
@media (max-width: 640px) { .wl-focus-manual-form { grid-template-columns: 1fr; } .wl-focus-manual-form .wl-focus-field:nth-child(1) { grid-column: 1; } .wl-focus-manual-form .wl-focus-field-note { grid-column: 1; } .wl-focus-manual-form > button { grid-column: 1; } }
.wl-focus-manual-form button:hover { background: var(--wl-accent); transform: translateY(-1px); }
.wl-focus-manual-form button:disabled { opacity: .6; cursor: not-allowed; transform: none; }
.wl-focus-manual-message { min-height: 20px; margin-top: 10px; font-size: 13px; }
.wl-focus-manual-message.is-success { color: #1d8a4a; }
.wl-focus-manual-message.is-error { color: #d86b6b; }
.wl-focus-entry-list { margin-top: 15px; border-top: 1px solid var(--wl-border-light); }
.wl-focus-entry-list article { display: grid; grid-template-columns: 1fr auto; gap: 3px 12px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--wl-border-light); font-size: 13px; }
.wl-focus-entry-list b { color: var(--wl-text); }
.wl-focus-entry-list small { grid-column: 1; color: var(--wl-text-muted); font-size: 11px; }
.wl-focus-entry-list button { grid-column: 2; grid-row: 1 / span 2; border: 0; background: transparent; color: #d86b6b; font-size: 11px; }
@media (max-width: 640px) { .wl-focus-page { padding: 4px 0 22px; } .wl-focus-page-head h1 { font-size: 24px; } .wl-focus-timer-display { font-size: 36px; } .wl-focus-timer-fields { grid-template-columns: 1fr; } .wl-focus-breakdown > div { grid-template-columns: 10px minmax(0,1fr) 40px 65px; } }

/* ========== 日签卡片 ========== */
.wl-daily-note-shell { position: relative; overflow: hidden; margin: 0 0 8px; padding: 21px 21px 28px; border-radius: 16px; box-shadow: inset 0 0 0 1px rgba(255,255,255,.32); }
/* 有摘录出处的卡保持原有视觉高度，无出处的短卡自适应收缩，避免底部大片空白 */
.wl-daily-note-shell:has(.wl-daily-note-source) { min-height: 220px; }
.wl-daily-note-shell:not(:has(.wl-daily-note-source)) { min-height: 150px; }
.wl-daily-note-shell::after { content: ""; position: absolute; width: 130px; height: 130px; right: -54px; bottom: -62px; border: 1px solid currentColor; border-radius: 50%; opacity: .16; }
.wl-daily-note-topline { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 13px; border-bottom: 1px solid currentColor; opacity: .72; font-size: 11px; letter-spacing: .08em; }
.wl-daily-note-type { padding: 3px 7px; border: 1px solid currentColor; border-radius: 99px; font-size: 10px; }
.wl-daily-note-content { position: relative; z-index: 1; margin: 19px 0; font-size: 18px; line-height: 1.86; letter-spacing: .015em; }
.wl-daily-note-content p { margin: 0 0 .7em; }
.wl-daily-note-content p:last-child { margin-bottom: 0; }
.wl-daily-note-content .wl-tag-link { color: inherit; text-decoration-color: currentColor; text-underline-offset: 3px; }
.wl-daily-note-source { position: relative; z-index: 1; display: flex; gap: 8px; align-items: baseline; margin-top: 17px; padding-top: 12px; border-top: 1px dashed currentColor; font-size: 12px; opacity: .78; }
.wl-daily-note-source span { flex: 0 0 auto; font-size: 10px; letter-spacing: .12em; opacity: .7; }
/* 摘录出处渲染为 #tag：白字主题色底，避免与背景/正文行内标签混淆 */
.wl-daily-note-source .wl-tag,
.wl-daily-note-ticket-source .wl-tag {
    display: inline-flex; align-items: center; margin-left: 2px; padding: 2px 9px;
    border-radius: 999px; color: #fff; background: var(--wl-accent);
    text-decoration: none; font-weight: 500; font-style: normal; opacity: 1;
    transition: background var(--wl-transition), transform var(--wl-transition);
}
.wl-daily-note-source .wl-tag:hover,
.wl-daily-note-ticket-source .wl-tag:hover { background: var(--wl-accent-dark); color: #fff; transform: translateY(-1px); }
.wl-daily-note-template-name { display: none; }
.wl-daily-template-paper { background: #fffaf0; color: #6d5945; }
.wl-daily-template-ink { background: #252432; color: #f7f0dd; }
.wl-daily-template-sunset { background: linear-gradient(135deg,#ffdfab,#f58c70); color: #7a342f; }
.wl-daily-template-forest { background: #dcebdc; color: #315c43; }
.wl-daily-template-ocean { background: #dbeefa; color: #265578; }
.wl-daily-template-lavender { background: #e9e1f4; color: #5f4b7c; }
.wl-daily-template-blush { background: #fae3e5; color: #884b5a; }
.wl-daily-template-coffee { background: #e8d5c0; color: #69452d; }
.wl-daily-template-midnight { background: #242843; color: #e7ddff; }
.wl-daily-note-shell.wl-daily-template-grid { background: #e5e8ec; color: #405060; }
.wl-daily-template-midnight::before, .wl-daily-template-ink::before { content: "·  ·   ·"; position: absolute; top: 18px; left: 19px; letter-spacing: .45em; opacity: .36; }
@media (max-width: 640px) { .wl-daily-note-shell { padding: 17px 16px 24px; border-radius: 13px; } .wl-daily-note-shell:has(.wl-daily-note-source) { min-height: 205px; } .wl-daily-note-shell:not(:has(.wl-daily-note-source)) { min-height: 140px; } .wl-daily-note-content { margin: 16px 0; font-size: 17px; } }

/* —— 日签新模板颜色 —— */
.wl-daily-template-ticket   { background: #f5f5f0; color: #3a3a3a; }
.wl-daily-template-journal  { background: #faf0ee; color: #7a3328; }
.wl-daily-template-letter   { background: #faf5ef; color: #5c4033; }
.wl-daily-template-chapter  { background: #eae8e3; color: #2a2a2a; }
.wl-daily-template-calendar { background: #f5edd8; color: #4a3a18; }
.wl-daily-template-archive  { background: #e8e4dd; color: #2f3d32; }

/* ========== 日签 · 票据档案布局 ========== */
.wl-daily-layout-ticket { padding: 24px 22px 20px; }
.wl-daily-layout-ticket::after { display: none; }
.wl-daily-layout-ticket .wl-daily-note-content { margin: 18px 0 16px; font-size: 17px; line-height: 1.82; }
.wl-daily-note-ticket-brand { text-align: center; font-size: 13px; font-weight: 600; letter-spacing: .25em; opacity: .55; }
.wl-daily-note-ticket-line { margin: 10px 0 14px; border-bottom: 1px dashed currentColor; opacity: .35; }
.wl-daily-note-ticket-source { margin: 0 0 14px; font-size: 12px; opacity: .65; font-style: italic; }
.wl-daily-note-ticket-meta { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; margin-top: 14px; padding-top: 12px; border-top: 1px solid currentColor; opacity: .6; font-size: 10px; letter-spacing: .06em; }
.wl-daily-note-ticket-meta > div { display: flex; flex-direction: column; gap: 3px; }
.wl-daily-note-ticket-meta > div span:first-child { font-weight: 600; opacity: .8; }
.wl-daily-note-ticket-barcode { margin-top: 14px; height: 18px; background: repeating-linear-gradient( 90deg, currentColor 0, currentColor 1.5px, transparent 1.5px, transparent 3px ); opacity: .22; mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%); -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 92%, transparent 100%); }

/* ========== 日签 · 花边手账布局 ========== */
.wl-daily-layout-journal { padding: 26px 22px 22px; border: 3px dotted currentColor; border-radius: 4px; background-clip: padding-box; }
.wl-daily-layout-journal::after { display: none; }
.wl-daily-layout-journal .wl-daily-note-content { margin: 16px 0 14px; font-size: 17px; line-height: 1.8; }
.wl-daily-note-journal-top { display: flex; justify-content: space-between; align-items: center; font-size: 12px; opacity: .65; letter-spacing: .04em; }
.wl-daily-note-journal-top time { font-size: 11px; }
.wl-daily-note-journal-source { margin: 0 0 12px; padding-top: 10px; border-top: 1px dashed currentColor; font-size: 12px; opacity: .6; font-style: italic; }
.wl-daily-note-journal-footer { margin-top: 16px; padding-top: 10px; border-top: 1px solid currentColor; text-align: center; font-size: 11px; opacity: .55; letter-spacing: .06em; }

/* ========== 日签 · 对称信笺布局 ========== */
.wl-daily-layout-letter { padding: 26px 24px 24px; }
.wl-daily-layout-letter::after { display: none; }
.wl-daily-layout-letter .wl-daily-note-content { margin: 20px 0 18px; font-size: 17px; line-height: 1.85; text-align: center; }
.wl-daily-note-letter-header { display: flex; align-items: center; justify-content: center; gap: 14px; }
.wl-daily-note-letter-line { flex: 1; max-width: 70px; height: 1px; background: currentColor; opacity: .25; }
.wl-daily-note-letter-header time { font-size: 12px; opacity: .6; letter-spacing: .08em; white-space: nowrap; }
.wl-daily-note-letter-source { text-align: center; margin: 0 0 16px; font-size: 12px; opacity: .55; font-style: italic; }
.wl-daily-note-letter-footer { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-top: 18px; font-size: 12px; opacity: .55; letter-spacing: .04em; }

/* ========== 日签 · 章节扉页布局 ========== */
.wl-daily-layout-chapter { padding: 22px 24px 20px; }
.wl-daily-layout-chapter::after { display: none; }
.wl-daily-layout-chapter .wl-daily-note-content { margin: 18px 0 16px; font-size: 18px; line-height: 1.88; }
.wl-daily-note-chapter-header { display: flex; align-items: center; justify-content: center; gap: 12px; margin-bottom: 6px; }
.wl-daily-note-chapter-header > span:nth-child(2) { font-size: 13px; font-weight: 600; letter-spacing: .1em; opacity: .75; }
.wl-daily-note-chapter-quote { font-size: 28px; line-height: 1; opacity: .35; font-family: Georgia, serif; }
.wl-daily-note-chapter-source { margin: 0 0 14px; font-size: 12px; opacity: .55; font-style: italic; }
.wl-daily-note-chapter-footer { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; padding-top: 10px; border-top: 1px solid currentColor; opacity: .55; font-size: 11px; letter-spacing: .04em; }

/* ========== 日签 · 大字日历布局 ========== */
.wl-daily-layout-calendar { padding: 18px 22px 22px; }
.wl-daily-layout-calendar::after { display: none; }
.wl-daily-layout-calendar .wl-daily-note-content { margin: 14px 0 12px; font-size: 17px; line-height: 1.8; }
.wl-daily-note-calendar-top { display: flex; justify-content: space-between; align-items: center; font-size: 11px; opacity: .55; letter-spacing: .04em; margin-bottom: 10px; }
.wl-daily-note-calendar-date { display: flex; flex-direction: column; align-items: center; gap: 2px; margin: 8px 0 10px; }
.wl-daily-note-calendar-day { font-size: 56px; font-weight: 700; line-height: 1; letter-spacing: -.02em; opacity: .85; }
.wl-daily-note-calendar-weekday { font-size: 13px; opacity: .6; letter-spacing: .06em; }
.wl-daily-note-calendar-year  { font-size: 12px; opacity: .45; letter-spacing: .08em; }
.wl-daily-note-calendar-divider { height: 1px; background: currentColor; opacity: .2; margin: 0 0 12px; }
.wl-daily-note-calendar-source { margin: 0 0 10px; font-size: 12px; opacity: .55; font-style: italic; }

/* ========== 日签 · 档案卡片布局 ========== */
.wl-daily-layout-archive { padding: 28px 24px 22px; border: 2px solid currentColor; border-radius: 2px; }
.wl-daily-layout-archive::after { display: none; }
.wl-daily-layout-archive .wl-daily-note-content { margin: 16px 0 14px; font-size: 17px; line-height: 1.82; }
.wl-daily-note-archive-corner { position: absolute; width: 7px; height: 7px; background: currentColor; opacity: .7; }
.wl-daily-note-archive-corner[data-corner="tl"] { top: 5px; left: 5px; }
.wl-daily-note-archive-corner[data-corner="tr"] { top: 5px; right: 5px; }
.wl-daily-note-archive-corner[data-corner="bl"] { bottom: 5px; left: 5px; }
.wl-daily-note-archive-corner[data-corner="br"] { bottom: 5px; right: 5px; }
.wl-daily-note-archive-header { display: flex; flex-direction: column; align-items: center; gap: 4px; margin-bottom: 8px; }
.wl-daily-note-archive-date { font-size: 32px; font-weight: 700; line-height: 1; letter-spacing: -.02em; opacity: .8; }
.wl-daily-note-archive-sub { font-size: 11px; opacity: .5; letter-spacing: .08em; }
.wl-daily-note-archive-chapter { font-size: 12px; opacity: .45; letter-spacing: .04em; }
.wl-daily-note-archive-source { margin: 0 0 12px; font-size: 12px; opacity: .55; font-style: italic; }
.wl-daily-note-archive-footer { margin-top: 14px; padding-top: 10px; border-top: 1px dashed currentColor; text-align: center; font-size: 11px; opacity: .5; letter-spacing: .06em; }

/* —— 日签全新模板颜色 —— */
.wl-daily-template-stamp      { background: #f0ebe2; color: #3d3528; }
.wl-daily-template-typewriter { background: #f4f1ea; color: #2a2a2a; }
.wl-daily-template-film       { background: #1a1a1a; color: #e0d8c8; }
.wl-daily-template-poetry     { background: #f8f3ec; color: #4a3c30; }

/* ========== 日签 · 邮票布局 ========== */
.wl-daily-layout-stamp { padding: 6px; }
.wl-daily-layout-stamp::after { display: none; }
.wl-daily-note-stamp-inner { position: relative; padding: 20px 22px 18px; background: inherit; border-radius: 6px; box-shadow: inset 0 0 0 1.5px currentColor; border: 2px dashed currentColor; border-radius: 8px; opacity: 1; }
.wl-daily-note-stamp-postmark { position: absolute; top: 14px; right: 18px; display: flex; align-items: center; gap: 6px; font-size: 10px; opacity: .55; letter-spacing: .08em; transform: rotate(-8deg); }
.wl-daily-note-stamp-circle { width: 24px; height: 24px; border: 1.5px solid currentColor; border-radius: 50%; opacity: .5; }
.wl-daily-note-stamp-value { font-size: 11px; opacity: .5; letter-spacing: .1em; margin-bottom: 6px; }
.wl-daily-layout-stamp .wl-daily-note-content { margin: 12px 0 14px; font-size: 17px; line-height: 1.82; }
.wl-daily-note-stamp-source { margin: 0 0 12px; font-size: 12px; opacity: .6; font-style: italic; }
.wl-daily-note-stamp-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 10px; border-top: 1px solid currentColor; border-top-style: dashed; font-size: 11px; opacity: .5; letter-spacing: .06em; }

/* ========== 日签 · 打字机布局 ========== */
.wl-daily-layout-typewriter { padding: 22px 24px 18px; }
.wl-daily-layout-typewriter::after { display: none; }
.wl-daily-note-typewriter-header { display: flex; justify-content: space-between; font-size: 11px; opacity: .5; letter-spacing: .08em; margin-bottom: 4px; padding-bottom: 8px; border-bottom: 1px solid currentColor; border-bottom-style: dashed; }
.wl-daily-note-typewriter-body { margin: 16px 0 14px; font-family: 'Courier New', 'Courier', monospace; font-size: 15px; line-height: 2; letter-spacing: .02em; }
.wl-daily-note-typewriter-source { margin: 0 0 12px; font-size: 13px; opacity: .6; font-family: 'Courier New', 'Courier', monospace; }
.wl-daily-note-typewriter-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 10px; border-top: 1px solid currentColor; font-size: 11px; opacity: .45; font-family: 'Courier New', 'Courier', monospace; }
.wl-daily-note-typewriter-end { letter-spacing: .15em; }

/* ========== 日签 · 胶片帧布局 ========== */
.wl-daily-layout-film { padding: 0; overflow: hidden; }
.wl-daily-layout-film::after { display: none; }
.wl-daily-note-film-perforation { height: 16px; background: #000; background-image: radial-gradient(rgba(255,255,255,.18) 3px, transparent 3.5px); background-size: 14px 100%; background-position: 7px center; background-repeat: repeat-x; }
.wl-daily-note-film-body { padding: 18px 22px 16px; }
.wl-daily-note-film-meta { display: flex; justify-content: space-between; font-size: 11px; opacity: .55; letter-spacing: .1em; margin-bottom: 6px; font-family: 'Courier New', monospace; }
.wl-daily-layout-film .wl-daily-note-content { margin: 14px 0 12px; font-size: 16px; line-height: 1.8; }
.wl-daily-note-film-source { margin: 0 0 10px; font-size: 12px; opacity: .55; font-style: italic; }
.wl-daily-note-film-bottom { text-align: right; font-size: 11px; opacity: .4; letter-spacing: .08em; }

/* ========== 日签 · 诗集布局 ========== */
.wl-daily-layout-poetry { padding: 26px 28px 22px; }
.wl-daily-layout-poetry::after { display: none; }
.wl-daily-note-poetry-accent { position: absolute; left: 14px; top: 20px; bottom: 20px; width: 3px; background: currentColor; opacity: .25; border-radius: 2px; }
.wl-daily-note-poetry-header { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; font-size: 11px; opacity: .5; letter-spacing: .1em; }
.wl-daily-note-poetry-mark { font-size: 28px; font-weight: 700; opacity: .3; line-height: 0; margin-top: 4px; }
.wl-daily-note-poetry-body { margin: 16px 0 14px; font-size: 17px; line-height: 2; text-align: center; letter-spacing: .04em; }
.wl-daily-note-poetry-source { margin: 0 0 14px; font-size: 12px; opacity: .55; text-align: center; font-style: italic; }
.wl-daily-note-poetry-footer { display: flex; justify-content: space-between; align-items: center; padding-top: 10px; border-top: 1px solid currentColor; border-top-style: dashed; font-size: 11px; opacity: .45; letter-spacing: .06em; }

/* 新布局移动端适配 */
@media (max-width: 640px) {
	.wl-daily-layout-ticket    { padding: 18px 16px 16px; }
	.wl-daily-layout-journal   { padding: 20px 16px 18px; }
	.wl-daily-layout-letter    { padding: 20px 16px 18px; }
	.wl-daily-layout-chapter   { padding: 18px 16px 16px; }
	.wl-daily-layout-calendar  { padding: 16px 16px 18px; }
	.wl-daily-layout-archive   { padding: 22px 16px 18px; }
	.wl-daily-layout-stamp     { padding: 5px; }
	.wl-daily-note-stamp-inner { padding: 16px 16px 14px; }
	.wl-daily-layout-typewriter { padding: 18px 16px 14px; }
	.wl-daily-note-typewriter-body { font-size: 14px; }
	.wl-daily-layout-film .wl-daily-note-content { font-size: 15px; }
	.wl-daily-note-film-body { padding: 14px 16px 12px; }
	.wl-daily-layout-poetry { padding: 22px 18px 18px; }
	.wl-daily-note-poetry-body { font-size: 16px; }
	.wl-daily-note-calendar-day { font-size: 44px; }
	.wl-daily-note-archive-date { font-size: 26px; }
}

/* ========== CSS 变量 ========== */
:root {
    --wl-accent: #ff8200;
    --wl-accent-light: #ffa040;
    --wl-accent-dark: #cc6800;

    --wl-bg: #f5f5f7;
    --wl-bg-card: #ffffff;
    --wl-bg-hover: #f0f0f2;

    --wl-text: #1a1a1a;
    --wl-text-secondary: #6b6b6b;
    --wl-text-muted: #999;

    --wl-border: #e8e8e8;
    --wl-border-light: #f0f0f0;

    --wl-radius: 12px;
    --wl-radius-sm: 8px;
    --wl-radius-lg: 20px;

    --wl-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
    --wl-shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.1);
    --wl-shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);

    --wl-max-width: 640px;
    --wl-transition: 0.2s ease;
}

/* ========== 基础重置 ========== */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    background: var(--wl-bg);
    color: var(--wl-text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a, a:link, a:visited {
    color: var(--wl-accent);
    text-decoration: none;
    transition: color var(--wl-transition);
}

a:hover {
    color: var(--wl-accent-dark);
}

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ========== 容器 ========== */
.wl-container {
    max-width: var(--wl-max-width);
    margin: 0 auto;
    padding: 0 16px;
}

.wl-main {
    padding-top: 0;
}

/* ========== 导航栏 ========== */
.wl-navbar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid var(--wl-border-light);
}
/* 触屏设备：去掉顶栏毛玻璃模糊。backdrop-filter 在 iOS/Android 滚动时会
   让整片内容每帧重新模糊合成，是上下滑动闪动的主要元凶之一。改用近实底背景。 */
@media (hover: none), (pointer: coarse) {
    .wl-navbar {
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
        background: rgba(255, 255, 255, .98);
    }
}

.wl-navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 52px;
}

.wl-navbar-left {
    flex: 0 0 0;
}

.wl-logo-text {
    font-size: 17px;
    font-weight: 700;
    color: var(--wl-text);
}

.wl-navbar-nav {
    display: flex;
    min-width: 0;
    box-sizing: border-box;
    gap: 4px;
    flex: 1 1 auto;
    /* 旧浏览器在菜单溢出时从可滚动区域起点排列，避免首项落到负坐标。 */
    justify-content: flex-start;
    /* 支持 safe 的浏览器在菜单未溢出时仍保持居中，溢出时自动回退到左对齐。 */
    justify-content: safe center;
    padding: 0 6px;
    scroll-padding-inline: 6px;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
}

.wl-navbar-nav::-webkit-scrollbar { display: none; }

.wl-navbar-nav a {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: 0 0 auto;
    padding: 6px 12px;
    border-radius: 20px;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 500;
    color: var(--wl-text-secondary);
    transition: all var(--wl-transition);
}

.wl-navbar-nav a:hover {
    background: var(--wl-bg-hover);
    color: var(--wl-text);
}

.wl-navbar-nav a.active {
    color: var(--wl-accent);
    background: rgba(255, 130, 0, 0.08);
}

.wl-navbar-right {
    flex: 0 0 auto;
    min-width: 42px;
    display: flex;
    justify-content: flex-end;
    gap: 8px;
}

.wl-navbar-dropdown {
    position: relative;
}

.wl-navbar-dropdown-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--wl-text-secondary);
    background: none;
    border: none;
    cursor: pointer;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: transparent;
    transition: all var(--wl-transition);
}

.wl-navbar-dropdown-btn:hover,
.wl-navbar-dropdown-btn.active {
    background: var(--wl-bg-hover);
    color: var(--wl-text);
}

/* 下拉菜单：玻璃面板 + 主题紫微染色，与发布按钮 / 顶栏 FAB 同处一系
   ——2026-08-22 改造：去掉实色白底，改为毛玻璃 + 紫 wash，跟新设计语言一致 */
.wl-navbar-dropdown-menu {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    min-width: 184px;
    background:
        linear-gradient(145deg,
            color-mix(in srgb, var(--wl-accent) 14%, rgba(255,255,255,.78)),
            color-mix(in srgb, var(--wl-accent) 6%, rgba(255,255,255,.62)));
    border-radius: 14px;
    border: 1px solid color-mix(in srgb, var(--wl-accent) 22%, transparent);
    box-shadow:
        0 10px 28px color-mix(in srgb, var(--wl-accent) 12%, rgba(0,0,0,.18)),
        inset 0 1px 0 rgba(255,255,255,.72);
    backdrop-filter: blur(22px) saturate(150%);
    -webkit-backdrop-filter: blur(22px) saturate(150%);
    padding: 6px;
    /* 三重隐藏：display + max-height + visibility */
    display: none !important;
    max-height: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-6px) scale(.98);
    transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
    z-index: 101;
    pointer-events: none;
}

/* 打开状态：恢复可见 + 微弹入 */
.wl-navbar-dropdown.open .wl-navbar-dropdown-menu {
    display: block !important;
    max-height: 400px !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.wl-navbar-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 12px;
    border-radius: 9px;
    font-size: 14px;
    color: var(--wl-text);
    transition: background .15s ease, color .15s ease;
    white-space: nowrap;
}

.wl-navbar-dropdown-menu a svg {
    flex-shrink: 0;
    color: color-mix(in srgb, var(--wl-accent) 55%, var(--wl-text-muted));
    transition: color .15s ease;
}

.wl-navbar-dropdown-menu a:hover {
    background: color-mix(in srgb, var(--wl-accent) 12%, rgba(255,255,255,.4));
    color: var(--wl-accent);
}

.wl-navbar-dropdown-menu a:hover svg {
    color: var(--wl-accent);
}

/* 导航排序弹窗 */
.wl-nav-edit-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    z-index: 200;
}

.wl-nav-edit-backdrop[hidden] {
    display: none;
}

.wl-nav-edit-modal {
    width: 100%;
    max-width: 360px;
    background: var(--wl-bg-card);
    border: 1px solid var(--wl-border-light);
    border-radius: var(--wl-radius-sm);
    box-shadow: var(--wl-shadow), 0 12px 40px rgba(0, 0, 0, 0.18);
    padding: 18px;
    box-sizing: border-box;
    animation: wl-nav-edit-in 0.18s ease;
}

@keyframes wl-nav-edit-in {
    from { opacity: 0; transform: translateY(8px) scale(0.98); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.wl-nav-edit-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

.wl-nav-edit-head h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--wl-text);
}

.wl-nav-edit-close {
    width: 30px;
    height: 30px;
    border: none;
    background: none;
    border-radius: 50%;
    font-size: 22px;
    line-height: 1;
    color: var(--wl-text-secondary);
    cursor: pointer;
    -webkit-appearance: none;
    transition: all var(--wl-transition);
}

.wl-nav-edit-close:hover {
    background: var(--wl-bg-hover);
    color: var(--wl-text);
}

.wl-nav-edit-tip {
    margin: 0 0 12px;
    font-size: 12px;
    color: var(--wl-text-secondary);
}

.wl-nav-edit-list {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    max-height: 52vh;
    overflow-y: auto;
}

.wl-nav-edit-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    margin-bottom: 8px;
    background: var(--wl-bg-hover);
    border: 1px solid var(--wl-border-light);
    border-radius: var(--wl-radius-sm);
    cursor: grab;
    user-select: none;
    transition: box-shadow var(--wl-transition);
}

.wl-nav-edit-item:last-child {
    margin-bottom: 0;
}

.wl-nav-edit-grip {
    color: var(--wl-text-secondary);
    font-size: 16px;
    line-height: 1;
}

.wl-nav-edit-label {
    flex: 1 1 auto;
    font-size: 14px;
    font-weight: 500;
    color: var(--wl-text);
}

.wl-nav-edit-move {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.wl-nav-edit-move button {
    width: 26px;
    height: 18px;
    border: 1px solid var(--wl-border-light);
    background: var(--wl-bg-card);
    border-radius: 5px;
    color: var(--wl-text-secondary);
    font-size: 10px;
    line-height: 1;
    cursor: pointer;
    -webkit-appearance: none;
    transition: all var(--wl-transition);
}

.wl-nav-edit-move button:hover:not(:disabled) {
    color: var(--wl-accent);
    border-color: var(--wl-accent);
}

.wl-nav-edit-move button:disabled {
    opacity: 0.35;
    cursor: default;
}

.wl-nav-edit-item.dragging {
    opacity: 0.5;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.wl-nav-edit-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.wl-nav-edit-actions-right {
    display: flex;
    gap: 10px;
}

.wl-btn-secondary,
.wl-btn-primary {
    padding: 8px 16px;
    border-radius: var(--wl-radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    -webkit-appearance: none;
    transition: all var(--wl-transition);
    border: 1px solid transparent;
}

.wl-btn-secondary {
    background: var(--wl-bg-hover);
    color: var(--wl-text);
    border-color: var(--wl-border-light);
}

.wl-btn-secondary:hover {
    background: var(--wl-border-light);
}

.wl-btn-primary {
    background: var(--wl-accent);
    color: #fff;
}

.wl-btn-primary:hover {
    filter: brightness(1.05);
}

.wl-btn-primary:disabled {
    opacity: 0.6;
    cursor: default;
}

.wl-login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 6px 16px;
    border-radius: 20px;
    background: var(--wl-accent);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    flex-shrink: 0;
    transition: all var(--wl-transition);
}

.wl-login-btn:hover {
    background: var(--wl-accent-dark);
    color: #fff;
}

/* ========== 小红书风格个人资料头部 ========== */
.wl-profile-header {
    position: relative;
    margin-bottom: 12px;
    overflow: hidden;
    border-radius: 0 0 var(--wl-radius-lg) var(--wl-radius-lg);
    background: #171717;
    color: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.wl-profile-cover {
    position: absolute;
    inset: 0;
    height: auto;
    background-size: cover;
    background-position: center;
    background-color: #3a2c28;
    transform: scale(1.02);
}

.wl-profile-cover-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.12) 0%, rgba(0, 0, 0, 0.38) 46%, rgba(0, 0, 0, 0.82) 100%);
}

.wl-profile-info {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    min-height: 314px;
    padding: 52px 24px 22px;
}

.wl-profile-identity {
    display: flex;
    align-items: center;
    gap: 14px;
}

.wl-profile-avatar {
    flex-shrink: 0;
    width: 86px;
    height: 86px;
    border: 2px solid rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.32);
}

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

.wl-avatar-zoom {
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wl-avatar-zoom:hover {
    transform: scale(1.04);
    box-shadow: 0 7px 24px rgba(0, 0, 0, 0.42);
}

.wl-avatar-zoom:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 3px;
}

.wl-profile-meta {
    min-width: 0;
}

.wl-profile-name {
    margin: 0;
    color: #fff;
    font-size: 26px;
    font-weight: 750;
    line-height: 1.2;
    letter-spacing: 0.01em;
}

.wl-profile-details {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.86);
}

.wl-profile-location {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    max-width: 100%;
    padding: 3px 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.18);
}

.wl-profile-socials {
    display: flex;
    gap: 6px;
}

.wl-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    transition: all var(--wl-transition);
}

.wl-social:hover {
    background: #fff;
    color: #222;
}

.wl-profile-bio {
    margin: 18px 0 0;
    color: rgba(255, 255, 255, 0.92);
    font-size: 14px;
    line-height: 1.6;
    white-space: pre-line;
    word-break: break-word;
}

.wl-profile-bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 16px;
}

.wl-profile-stats {
    display: flex;
    align-items: center;
    gap: 18px;
}

.wl-stat {
    display: flex;
    align-items: baseline;
    gap: 4px;
    color: #fff;
}

.wl-stat-num {
    font-size: 17px;
    font-weight: 700;
    line-height: 1;
}

.wl-stat-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.66);
}

.wl-edit-profile-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 7px 12px;
    border: 1px solid rgba(255, 255, 255, 0.38);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.2);
    color: #fff;
    font-size: 13px;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    transition: background var(--wl-transition), border-color var(--wl-transition);
}

.wl-edit-profile-btn:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* ========== 视图切换 ========== */
.wl-view-tabs {
    position: relative;
    z-index: 1;
    display: flex;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.wl-view-tab {
    flex: 1;
    padding: 13px 12px 12px;
    border-bottom: 2px solid transparent;
    color: rgba(255, 255, 255, 0.66);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    transition: all var(--wl-transition);
}

.wl-view-tab:hover,
.wl-view-tab.active {
    color: #fff;
}

.wl-view-tab.active {
    border-bottom-color: #fff;
}

/* ========== 微博风格资料头部 ========== */
.wl-profile-style-weibo {
    overflow: visible;
    border-radius: 0;
    background: var(--wl-bg-card);
    color: var(--wl-text);
    box-shadow: none;
}

.wl-profile-style-weibo .wl-profile-cover {
    position: relative;
    height: 210px;
    transform: none;
    background-position: center;
}

.wl-profile-style-weibo .wl-profile-cover-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.22));
}

.wl-profile-style-weibo .wl-profile-info {
    min-height: 0;
    padding: 0 24px 18px;
    color: var(--wl-text);
}

.wl-profile-style-weibo .wl-profile-identity {
    align-items: flex-end;
    margin-top: -44px;
}

.wl-profile-style-weibo .wl-profile-avatar {
    width: 92px;
    height: 92px;
    border: 4px solid var(--wl-bg-card);
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.18);
}

.wl-profile-style-weibo .wl-profile-meta { padding-bottom: 7px; }
.wl-profile-style-weibo .wl-profile-name { color: var(--wl-text); font-size: 24px; }
.wl-profile-style-weibo .wl-profile-details { color: var(--wl-text-secondary); margin-top: 5px; }
.wl-profile-style-weibo .wl-profile-location { padding: 0; border: 0; background: transparent; }
.wl-profile-style-weibo .wl-social { border-color: var(--wl-border); background: var(--wl-bg); color: var(--wl-text-secondary); }
.wl-profile-style-weibo .wl-social:hover { color: #fff; background: var(--wl-accent); }
.wl-profile-style-weibo .wl-profile-bio { margin-top: 14px; color: var(--wl-text-secondary); }
.wl-profile-style-weibo .wl-profile-bottom-row { margin-top: 14px; }
.wl-profile-style-weibo .wl-stat { color: var(--wl-text); }
.wl-profile-style-weibo .wl-stat-label { color: var(--wl-text-muted); }
.wl-profile-style-weibo .wl-edit-profile-btn { border-color: var(--wl-border); background: var(--wl-bg); color: var(--wl-text); }
.wl-profile-style-weibo .wl-edit-profile-btn:hover { color: var(--wl-accent); border-color: var(--wl-accent); background: rgba(255, 130, 0, 0.06); }
.wl-profile-style-weibo .wl-view-tabs { border-top-color: var(--wl-border-light); }
.wl-profile-style-weibo .wl-view-tab { color: var(--wl-text-secondary); }
.wl-profile-style-weibo .wl-view-tab:hover,
.wl-profile-style-weibo .wl-view-tab.active { color: var(--wl-accent); }
.wl-profile-style-weibo .wl-view-tab.active { border-bottom-color: var(--wl-accent); }

/* ========== Ins 风格资料头部 ========== */
.wl-profile-style-instagram {
    overflow: visible;
    border-radius: 0;
    background: var(--wl-bg-card);
    color: var(--wl-text);
    box-shadow: none;
}

.wl-profile-style-instagram .wl-profile-cover { display: none; }

.wl-profile-style-instagram .wl-profile-info {
    min-height: 0;
    padding: 22px 24px 16px;
    color: var(--wl-text);
}

.wl-profile-style-instagram .wl-profile-identity {
    align-items: center;
    gap: 30px;
}

.wl-profile-style-instagram .wl-profile-avatar {
    width: 124px;
    height: 124px;
    border: 1px solid var(--wl-border);
    box-shadow: none;
}

.wl-profile-style-instagram .wl-profile-meta { flex: 1; }
.wl-profile-style-instagram .wl-profile-name { color: var(--wl-text); font-size: 23px; font-weight: 700; }
.wl-profile-style-instagram .wl-profile-details { color: var(--wl-text-secondary); margin-top: 8px; }
.wl-profile-style-instagram .wl-profile-location { padding: 0; border: 0; background: transparent; }
.wl-profile-style-instagram .wl-social { border-color: var(--wl-border); background: transparent; color: var(--wl-text-secondary); }
.wl-profile-style-instagram .wl-social:hover { color: #fff; background: var(--wl-text); }
.wl-profile-style-instagram .wl-profile-bio { margin-top: 16px; color: var(--wl-text); font-size: 14px; line-height: 1.55; }
.wl-profile-style-instagram .wl-profile-bottom-row { margin-top: 14px; }
.wl-profile-style-instagram .wl-profile-stats { gap: 26px; }
.wl-profile-style-instagram .wl-stat { flex-direction: column; gap: 3px; color: var(--wl-text); }
.wl-profile-style-instagram .wl-stat-num { font-size: 17px; }
.wl-profile-style-instagram .wl-stat-label { color: var(--wl-text-secondary); font-size: 12px; }
.wl-profile-style-instagram .wl-edit-profile-btn { border-color: var(--wl-border); background: var(--wl-bg); color: var(--wl-text); }
.wl-profile-style-instagram .wl-edit-profile-btn:hover { color: var(--wl-text); border-color: var(--wl-text-secondary); background: var(--wl-bg-hover); }

.wl-profile-stories {
    display: flex;
    gap: 18px;
    padding: 4px 24px 18px;
    overflow-x: auto;
    border-bottom: 1px solid var(--wl-border-light);
    scrollbar-width: none;
}

.wl-profile-stories::-webkit-scrollbar { display: none; }

/* 故事缩略图：IG 风的圆形 thumbnail。横版海报会让字被裁切是 IG 平台原生气质，由上传者自己选 1:1 图保证。 */
.wl-profile-story {
    display: flex;
    flex: 0 0 72px;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: var(--wl-text-secondary);
    font-size: 11px;
    background: transparent;
}

.wl-profile-story-ring {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    border: 1px solid var(--wl-border);
    border-radius: 50%;
    background: #f5f5f5;
    color: var(--wl-text-secondary);
    font-size: 21px;
}
    font-size: 21px;
}

.wl-profile-story-add .wl-profile-story-ring {
    border: 2px dashed var(--wl-text-muted);
    background: var(--wl-bg-card);
}

.wl-profile-story-media .wl-profile-story-ring {
    border: 2px solid transparent;
    background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, #ffbd29, #f21a86, #7e39d3) border-box;
    overflow: hidden;
    color: var(--wl-text);
    font-size: 17px;
}

.wl-profile-story-media .wl-profile-story-ring img { width: 100%; height: 100%; object-fit: cover; }

/* 置顶瞬间播放器 */
.wl-story-viewer {
    position: fixed;
    inset: 0;
    z-index: 10030;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.94);
}

.wl-story-viewer.open { display: flex; }
.wl-story-viewer-content { display: flex; align-items: center; justify-content: center; width: min(92vw, 520px); height: min(88vh, 820px); overflow: hidden; border-radius: 10px; background: #151515; }
.wl-story-viewer-content img, .wl-story-viewer-content video { width: 100%; height: 100%; object-fit: contain; }
.wl-story-viewer-close, .wl-story-viewer-prev, .wl-story-viewer-next { position: absolute; z-index: 2; display: flex; align-items: center; justify-content: center; color: #fff; background: rgba(255, 255, 255, 0.14); }
.wl-story-viewer-close { top: 18px; right: 18px; width: 36px; height: 36px; border-radius: 50%; font-size: 27px; line-height: 1; }
.wl-story-viewer-prev, .wl-story-viewer-next { top: 50%; width: 38px; height: 52px; border-radius: 8px; font-size: 34px; transform: translateY(-50%); }
.wl-story-viewer-prev { left: max(16px, calc(50% - 320px)); }
.wl-story-viewer-next { right: max(16px, calc(50% - 320px)); }
.wl-story-viewer-title { position: absolute; bottom: 22px; left: 50%; max-width: 70vw; overflow: hidden; color: #fff; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; transform: translateX(-50%); }
.wl-story-viewer-progress { position: absolute; top: 12px; left: 16px; right: 16px; height: 3px; overflow: hidden; border-radius: 99px; background: rgba(255, 255, 255, 0.3); }
.wl-story-viewer-progress span { display: block; width: 100%; height: 100%; background: #fff; transform: translateX(-100%); }
@keyframes wl-story-progress { from { transform: translateX(-100%); } to { transform: translateX(0); } }
body.wl-story-viewer-open { overflow: hidden; }

.wl-profile-style-instagram .wl-view-tabs { border-top: 0; border-bottom: 1px solid var(--wl-border-light); }
.wl-profile-style-instagram .wl-view-tab { color: var(--wl-text-muted); }
.wl-profile-style-instagram .wl-view-tab:hover,
.wl-profile-style-instagram .wl-view-tab.active { color: var(--wl-text); }
.wl-profile-style-instagram .wl-view-tab.active { border-bottom-color: var(--wl-text); }

@media (max-width: 600px) {
    .wl-profile-style-weibo .wl-profile-cover { position: relative; height: 168px; }
    .wl-profile-style-weibo .wl-profile-info { align-items: stretch; gap: 14px; padding: 16px 0 20px; margin-top: 0; min-height: 0; }
    .wl-profile-style-weibo .wl-profile-avatar { width: 78px; height: 78px; border-width: 3px; }
    .wl-profile-style-weibo .wl-profile-identity { margin-top: 0; align-items: flex-end; }
    .wl-profile-style-weibo .wl-profile-meta { margin-top: 0; padding-bottom: 0; display: block; gap: 0; }
    .wl-profile-style-weibo .wl-profile-name { font-size: 20px; }

    .wl-profile-style-instagram .wl-profile-info {
        min-height: 0;
        margin-top: 0;
        padding: 18px 16px 14px;
        align-items: stretch;
        gap: 0;
    }
    .wl-profile-style-instagram .wl-profile-identity { align-items: flex-start; gap: 18px; }
    .wl-profile-style-instagram .wl-profile-avatar { width: 88px; height: 88px; }
    .wl-profile-style-instagram .wl-profile-meta {
        display: block;
        flex: 1;
        min-width: 0;
        margin-top: 0;
        padding-bottom: 0;
    }
    .wl-profile-style-instagram .wl-profile-name { display: block; color: var(--wl-text); font-size: 19px; line-height: 1.3; }
    .wl-profile-style-instagram .wl-profile-details { margin-top: 5px; }
    .wl-profile-style-instagram .wl-profile-stats { gap: 18px; }
    .wl-profile-stories { gap: 13px; padding: 4px 16px 15px; }
    .wl-profile-story { flex-basis: 62px; font-size: 10px; }
    .wl-profile-story-ring { width: 56px; height: 56px; }
}

/* ========== 动态卡片 ========== */
.wl-feed {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wl-moment-card {
    background: var(--wl-bg-card);
    border-radius: var(--wl-radius);
    padding: 12px 16px;
    box-shadow: var(--wl-shadow);
    transition: box-shadow var(--wl-transition);
    /* 性能优化：屏幕外的卡片跳过渲染与布局，从根源减少长列表卡死/无响应 */
    content-visibility: auto;
    contain-intrinsic-size: auto 560px;
}

.wl-moment-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.wl-moment-avatar {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    overflow: hidden;
}

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

.wl-moment-info {
    flex: 1;
    min-width: 0;
}

.wl-moment-info .wl-moment-author {
    font-size: 15px;
    font-weight: 600;
    color: var(--wl-text);
}

.wl-moment-meta {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--wl-text-muted);
    flex-wrap: wrap;
}

.wl-moment-sep {
    color: var(--wl-border);
}

.wl-moment-location {
    display: flex;
    align-items: center;
    gap: 2px;
}

.wl-moment-badge {
    display: inline-flex;
    align-items: center;
    padding: 1px 8px;
    border-radius: 10px;
    font-size: 11px;
    line-height: 18px;
    font-weight: 600;
}
.wl-moment-badge-private {
    background: rgba(245, 158, 11, 0.16);
    color: #b7791f;
}
.wl-moment-badge-scheduled {
    background: rgba(99, 102, 241, 0.16);
    color: #4f46e5;
}

/* 统一显示动态可见范围与定时状态，公开状态也明确标记，避免用户需要猜测。 */
.wl-moment-badge-public {
    background: rgba(16, 185, 129, 0.14);
    color: #047857;
}

.wl-moment-actions-menu {
    position: relative;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1px;
    min-width: 72px;
}

.wl-moment-status-stack {
    order: 2;
    max-width: min(220px, 42vw);
    overflow: hidden;
}

.wl-moment-status-row {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.wl-moment-status-stack .wl-moment-badge {
    white-space: nowrap;
}

/* 三点菜单触发钮：贴合玻璃语言的悬浮圆钮 */
.wl-moment-menu-btn {
    order: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: var(--wl-text-secondary, #5a5560);
    background: rgba(255, 255, 255, .38);
    border: 1px solid rgba(255, 255, 255, .55);
    -webkit-backdrop-filter: blur(12px) saturate(150%);
    backdrop-filter: blur(12px) saturate(150%);
    box-shadow: 0 3px 10px rgba(40, 50, 90, .08), inset 0 1px 0 rgba(255, 255, 255, .7);
    transition: background .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}

.wl-moment-menu-btn:hover {
    background: rgba(255, 255, 255, .58);
    color: var(--wl-text);
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(40, 50, 90, .12), inset 0 1px 0 rgba(255, 255, 255, .8);
}

/* 下拉菜单：液态玻璃面板 */
.wl-moment-menu-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 148px;
    padding: 6px;
    display: none;
    background: linear-gradient(145deg, color-mix(in srgb, var(--wl-accent) 16%, #fff), color-mix(in srgb, var(--wl-accent) 7%, #fff));
    -webkit-backdrop-filter: blur(22px) saturate(160%);
    backdrop-filter: blur(22px) saturate(160%);
    border: 1px solid color-mix(in srgb, var(--wl-accent) 24%, transparent);
    border-radius: 16px;
    box-shadow:
        0 18px 44px color-mix(in srgb, var(--wl-accent) 22%, transparent),
        0 0 0 1px rgba(255, 255, 255, .28),
        inset 0 1px 0 rgba(255, 255, 255, .9);
    z-index: 50;
}

.wl-moment-menu-dropdown.open {
    display: block;
}

.wl-moment-menu-dropdown a,
.wl-moment-menu-dropdown .wl-edit-visibility-btn,
.wl-moment-menu-dropdown .wl-delete-moment-btn {
    display: block;
    width: 100%;
    padding: 9px 14px;
    font: inherit;
    font-size: 14px;
    line-height: 1.35;
    text-align: left;
    color: var(--wl-text);
    border-radius: 10px;
    background: transparent;
    border: 0;
    cursor: pointer;
    transition: background .18s ease, color .18s ease;
}

.wl-moment-menu-dropdown a:hover,
.wl-moment-menu-dropdown .wl-edit-visibility-btn:hover {
    background: color-mix(in srgb, var(--wl-accent) 18%, rgba(255, 255, 255, .35));
    color: var(--wl-text);
}

.wl-moment-menu-dropdown .wl-delete-moment-btn {
    color: #d93025;
}

.wl-moment-menu-dropdown .wl-delete-moment-btn:hover {
    background: rgba(217, 48, 37, .08);
    color: #c5221b;
}

.wl-delete-moment-detail-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 8px;
    color: #d93025;
    font: inherit;
    font-size: 13px;
}

.wl-delete-moment-detail-btn:hover { color: #b42318; }
.wl-delete-moment-btn:disabled { cursor: wait; opacity: 0.65; }

/* ========== 主页旅行卡与旅行入口 ========== */
.wl-trip-home-card {
    overflow: hidden;
    background: var(--wl-bg-card);
    border-radius: var(--wl-radius);
    box-shadow: var(--wl-shadow);
    content-visibility: auto;
    contain-intrinsic-size: auto 360px;
}
.wl-trip-home-card-link { display: block; color: inherit; text-decoration: none; }
.wl-trip-home-visual {
    position: relative;
    min-height: 176px;
    overflow: hidden;
    background: linear-gradient(135deg, #efb36b, #b76245 52%, #704b53);
    background-position: center;
    background-size: cover;
}
.wl-trip-home-visual-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,20,24,.06), rgba(20,20,24,.48)); }
.wl-trip-home-album-grid { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 1fr; gap: 2px; background: #ddd; }
.wl-trip-home-album-grid img { width: 100%; height: 100%; object-fit: cover; }
.wl-trip-home-kicker, .wl-trip-home-status { position: absolute; z-index: 1; color: #fff; font-size: 12px; line-height: 1; }
.wl-trip-home-kicker { top: 14px; left: 14px; padding: 7px 9px; border-radius: 999px; background: rgba(18,18,20,.38); backdrop-filter: blur(8px); }
.wl-trip-home-status { right: 15px; bottom: 13px; font-weight: 600; text-shadow: 0 1px 6px rgba(0,0,0,.4); }
.wl-trip-home-body { padding: 15px 16px 16px; }
.wl-trip-home-title-row { display: flex; align-items: baseline; gap: 12px; justify-content: space-between; }
.wl-trip-home-title-row h2 { margin: 0; color: var(--wl-text); font-size: 19px; line-height: 1.35; }
.wl-trip-home-title-row span { flex: 0 0 auto; color: var(--wl-accent); font-size: 13px; }
.wl-trip-home-meta, .wl-trip-home-description { margin: 7px 0 0; color: var(--wl-text-muted); font-size: 13px; line-height: 1.55; }
.wl-trip-home-description { color: var(--wl-text); display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.wl-trip-home-stats { display: flex; flex-wrap: wrap; gap: 8px 15px; margin-top: 13px; color: var(--wl-text-muted); font-size: 12px; }
.wl-trip-home-stats b { color: var(--wl-text); font-size: 14px; }
.wl-moment-trip-link { align-self: center; margin-left: auto; max-width: 42%; overflow: hidden; color: var(--wl-accent); font-size: 12px; line-height: 1.35; text-align: right; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }
.wl-moment-trip-link:hover { text-decoration: underline; }
.wl-trip-home-publish { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 18px; border: 1px solid var(--wl-border); border-radius: var(--wl-radius); background: var(--wl-bg-card); }
.wl-trip-home-publish > span { color: var(--wl-text-muted); font-size: 12px; }
.wl-trip-home-publish > b { color: var(--wl-text); font-size: 15px; }
.wl-trip-home-publish > p { margin: 0; color: var(--wl-text-muted); font-size: 13px; line-height: 1.55; }

/* ========== 动态文字 ========== */
.wl-moment-text {
    font-size: 15px;
    line-height: 1.7;
    color: var(--wl-text);
    margin: 6px 0 0;
    padding: 0;
    word-break: break-word;
    white-space: normal;
}

.wl-moment-text > p,
.wl-moment-text > br:last-child,
.wl-moment-text > p:empty {
    display: none;
}

.wl-moment-text > p:first-child,
.wl-moment-text > p:last-child,
.wl-moment-text > p:not(:empty) {
    display: block;
}

.wl-moment-text p {
    margin: 0;
    padding: 0;
    min-height: 0;
}

.wl-moment-text br {
    display: none;
}

/* ========== 媒体网格 ========== */
.wl-media-grid {
    display: grid;
    gap: 4px;
    margin: 10px 0 4px;
    border-radius: var(--wl-radius-sm);
    overflow: hidden;
}

.wl-media-grid.wl-grid-1 {
    grid-template-columns: 1fr;
}

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

.wl-media-grid.wl-grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.wl-media-item {
    position: relative;
    overflow: hidden;
    /* 加载占位：低对比度、轻微流光，不抢占内容注意力 */
    background: linear-gradient(110deg, #e8e9ec 25%, #f3f4f6 50%, #e8e9ec 75%);
    background-size: 220% 100%;
    animation: wl-media-shimmer 1.6s ease-in-out infinite;
    cursor: pointer;
    border-radius: 12px;
}

.wl-media-item.is-loaded,
.wl-media-item.is-ready {
    animation: none;
    background: #e8e9ec;
}

.wl-media-item[data-media-state="ready"] {
    animation: none;
}

.wl-media-item[data-media-state="ready"] img,
.wl-media-item[data-media-state="ready"] video {
    opacity: 1;
}

.wl-media-item[data-media-state="loading"] img,
.wl-media-item[data-media-state="loading"] video {
    opacity: 0;
}

.wl-media-item[data-media-state="loading"] .wl-video-play {
    opacity: 0;
    transform: translateY(4px) scale(0.92);
}

.wl-media-item[data-media-state="loaded"] .wl-video-play,
.wl-media-item[data-media-state="ready"] .wl-video-play {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.wl-media-item.is-loading img,
.wl-media-item.is-loading video {
    opacity: 0;
}

.wl-media-item.is-loaded img,
.wl-media-item.is-loaded video {
    opacity: 1;
}

.wl-media-item.is-error {
    animation: none;
    background: linear-gradient(135deg, #e6e7eb, #dfe1e6);
}

@keyframes wl-media-shimmer {
    0%   { background-position: 220% 0; }
    100% { background-position: -220% 0; }
}

.wl-media-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    transition: opacity 0.28s ease, transform 0.3s ease;
}

.wl-media-item:hover img {
    transform: scale(1.03);
}

/* 单张大图特殊处理 */
.wl-grid-1 .wl-media-item {
    max-height: 500px;
    min-height: 240px; /* 预留最小高度，避免懒加载前塌陷成 0 高度的大片空白 */
}

.wl-grid-1 .wl-media-item img {
    max-height: 500px;
}

/* 多图网格固定比例 */
.wl-grid-2 .wl-media-item,
.wl-grid-3 .wl-media-item {
    aspect-ratio: 1 / 1;
}

/* 媒体说明文字 */
.wl-media-caption {
    display: none;
}

/* ========== 动态照片 ========== */
.wl-live-photo {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.wl-live-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.wl-live-photo video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.wl-live-photo img {
    opacity: 1;
}

.wl-live-photo.playing video {
    opacity: 1;
}

.wl-live-photo.playing img {
    opacity: 0;
}

.wl-live-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    background: rgba(0, 0, 0, 0.42);
    -webkit-backdrop-filter: blur(8px) saturate(140%);
    backdrop-filter: blur(8px) saturate(140%);
    color: #fff;
    border-radius: 50%;
    z-index: 2;
    cursor: pointer;
    pointer-events: all;
    transition: opacity 0.2s ease;
}

.wl-live-badge svg {
    animation: wl-live-breathe 2s ease-in-out infinite;
}

/* 命名避开灯箱的 wl-live-pulse(box-shadow 扩散)，防止后者按级联覆盖本规则，
   导致方形 SVG 上长出方形扩散光圈 */
@keyframes wl-live-breathe {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    .wl-media-item {
        animation: none;
    }

    .wl-media-item img,
    .wl-media-item video,
    .wl-live-photo img,
    .wl-live-photo video,
    .wl-video-play {
        transition-duration: 0.01ms;
    }

    .wl-live-badge svg {
        animation: none;
    }
}

.wl-live-hint {
    display: none; /* 自动播放模式，不需要长按提示 */
}

/* ========== 视频 ========== */
.wl-video-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.wl-video-wrap img,
.wl-video-wrap video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.28s ease;
}

.wl-video-wrap video {
    background: linear-gradient(135deg, #292b31, #555963);
}

/* 轻量播放提示：不再用巨大实心圆覆盖缩略图，仅保留克制的玻璃质感入口 */
.wl-video-play {
    position: absolute;
    left: 12px;
    bottom: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: rgba(255, 255, 255, 0.96);
    background: rgba(20, 22, 27, 0.58);
    border: 1px solid rgba(255, 255, 255, 0.32);
    border-radius: 50%;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 2;
    pointer-events: none;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.wl-video-play svg {
    margin-left: 1px;
}

.wl-video-wrap:hover .wl-video-play,
.wl-video-wrap:focus-within .wl-video-play {
    transform: scale(1.08);
    background: rgba(20, 22, 27, 0.72);
}

.wl-video-wrap .wl-video-play[aria-label] {
    font-size: 0;
}

.wl-video-badge {
    position: absolute;
    top: 9px;
    right: 9px;
    padding: 3px 7px;
    background: rgba(20, 22, 27, 0.52);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: rgba(255, 255, 255, 0.92);
    font-size: 10px;
    line-height: 1.3;
    border-radius: 999px;
    z-index: 2;
}

/* ========== 动态底部交互 ========== */
.wl-moment-footer {
    border-top: 1px solid var(--wl-border-light);
    padding-top: 4px;
    margin-top: 4px;
    /* 让赞、评论、分享更贴近卡片下沿 */
    margin-bottom: -4px;
}

.wl-moment-interactions {
    display: flex;
    justify-content: space-around;
}

.wl-like-btn,
.wl-comment-btn,
.wl-share-btn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    color: var(--wl-text-secondary);
    transition: all var(--wl-transition);
}

.wl-like-btn:hover,
.wl-comment-btn:hover,
.wl-share-btn:hover {
    background: var(--wl-bg-hover);
    color: var(--wl-text);
}

.wl-like-btn.liked {
    color: var(--wl-accent);
}

.wl-like-btn.liked svg {
    fill: var(--wl-accent);
}

/* ============================================================
   主页信息流改版 · A 液态玻璃（Liquid Glass）精修版
   作用域：.wl-feed 内的动态卡片 / 头像框 / 点赞·评论·分享操作条
   纯视觉覆盖，不改变 DOM 结构与交互；移动端微调见下方媒体查询
   ============================================================ */

/*    主页信息流氛围：整页彩色光晕（fixed 铺满视口），
   卡片为半透明液态玻璃，透出背后光晕折射，列内外无边界 */
body {
    overflow-x: hidden;
}

/* 主页背景：整页彩色光晕（fixed 铺满视口，不随滚动断裂），
   覆盖 unified-ui.css 的纸张纹理 + 噪点，彻底消除信息流列内外的边界 */
body.home,
body.single-moment {
    background: #f5f5f7;
}
body.home::before,
body.single-moment::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background:
        radial-gradient(680px 560px at 10% 0%, rgba(130,160,255,.34), transparent 66%),
        radial-gradient(720px 600px at 92% 6%, rgba(255,170,120,.30), transparent 66%),
        radial-gradient(640px 540px at 6% 42%, rgba(120,210,190,.28), transparent 66%),
        radial-gradient(680px 580px at 90% 56%, rgba(180,150,255,.26), transparent 66%),
        radial-gradient(620px 520px at 14% 88%, rgba(255,150,160,.24), transparent 66%);
    filter: blur(56px);
    opacity: 0.92;
}

.wl-feed,
.wl-single-wrap {
    position: relative;
    z-index: 0;
}

/* 卡片：用更高优先级（.wl-feed 前缀）覆盖 unified-ui 的玻璃卡定义，
   把表面调透明 + 加强折射 + 高光边缘，让液态玻璃真正透出来 */
.wl-feed .wl-moment-card {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 252, .20);
    -webkit-backdrop-filter: blur(26px) saturate(155%);
    backdrop-filter: blur(26px) saturate(155%);
    border: 1px solid rgba(255, 255, 255, .6);
    border-radius: 22px;
    box-shadow:
        0 16px 40px rgba(40, 50, 90, .16),
        0 0 0 1px rgba(255, 255, 255, .3),
        inset 0 1px 0 rgba(255, 255, 255, .95),
        inset 0 -20px 34px rgba(255, 255, 255, .18);
}

/* 玻璃面高光：左上到右下的柔和白色反光，让卡片像一块受光的磨砂玻璃 */
.wl-feed .wl-moment-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255,255,255,.46) 0%, rgba(255,255,255,.12) 38%, transparent 62%);
    pointer-events: none;
    z-index: 1;
}

/* 头像框：去掉白框，仅留轻浮投影，干净圆形浮在玻璃卡上 */
.wl-moment-avatar {
    position: relative;
    z-index: 2;
    box-shadow: 0 5px 14px rgba(40,50,90,.14);
}

/* 底部操作条：悬浮玻璃 dock（去分隔线、圆角内嵌、发丝分隔） */
.wl-moment-footer {
    border-top: 0;
    margin-top: 14px;
    padding-top: 0;
    margin-bottom: 4px;
    background: rgba(255,255,255,.5);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    backdrop-filter: blur(16px) saturate(160%);
    border: 1px solid rgba(255,255,255,.6);
    border-radius: 18px;
    padding: 4px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}

.wl-moment-interactions {
    justify-content: space-between;
    gap: 4px;
}

/* 提权到 .wl-moment-interactions 后代，稳压 style.css 的全局 a{color:accent} 橙 */
.wl-moment-interactions .wl-like-btn,
.wl-moment-interactions .wl-comment-btn,
.wl-moment-interactions .wl-share-btn {
    flex: 1;
    justify-content: center;
    padding: 10px 6px;
    color: var(--wl-text-secondary, #5a5560);
    text-decoration: none;
    border-radius: 14px;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}

.wl-moment-interactions .wl-like-btn:hover,
.wl-moment-interactions .wl-comment-btn:hover,
.wl-moment-interactions .wl-share-btn:hover {
    background: rgba(255,255,255,.72);
    color: var(--wl-text);
    transform: translateY(-1px);
}

/* 点赞/评论数字：小字等宽，紧跟图标 */
.wl-moment-interactions .wl-like-count,
.wl-moment-interactions .wl-comment-count {
    font-size: 12px;
    font-variant-numeric: tabular-nums;
    margin-left: 2px;
    line-height: 1;
}

/* 图标：统一纤细描边、圆角线帽、20x20 */
.wl-like-btn svg,
.wl-comment-btn svg,
.wl-share-btn svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* 点赞态：品牌橙实心填充 + 弹跳微动效 */
@keyframes wlLikePop {
    0% { transform: scale(1); }
    42% { transform: scale(1.3); }
    100% { transform: scale(1); }
}
.wl-like-btn.liked svg {
    animation: wlLikePop .34s ease;
}

/* ========== 相册网格视图 ========== */
.wl-photo-grid-section {
    padding: 4px 0;
}

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

.wl-photo-grid-item {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 2px;
    background: var(--wl-bg);
}

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

.wl-photo-grid-item:hover img {
    transform: scale(1.05);
}

.wl-grid-live-badge,
.wl-grid-video-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    display: flex;
    align-items: center;
    gap: 2px;
    padding: 3px 6px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 10px;
    border-radius: 10px;
    z-index: 2;
}

/* ========== 私密照片切换 ========== */
.wl-private-photos-bar {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 12px 4px 14px;
    margin-top: 8px;
    border-top: 1px solid var(--wl-border);
}

.wl-private-photos-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    padding: 12px 14px;
    border: none;
    border-radius: 12px;
    background: var(--wl-bg-soft, rgba(0, 0, 0, 0.04));
    color: var(--wl-text-secondary);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background var(--wl-transition);
}

.wl-private-photos-toggle:hover {
    background: var(--wl-bg-hover, rgba(0, 0, 0, 0.07));
}

.wl-private-photos-label {
    flex: 1;
    text-align: left;
}

.wl-switch {
    position: relative;
    flex: none;
    width: 44px;
    height: 26px;
    border-radius: 13px;
    background: rgba(0, 0, 0, 0.18);
    transition: background var(--wl-transition);
}

.wl-switch-knob {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    transition: transform var(--wl-transition);
}

.wl-private-photos-toggle[aria-pressed="true"] .wl-switch {
    background: var(--wl-accent);
}

.wl-private-photos-toggle[aria-pressed="true"] .wl-switch-knob {
    transform: translateX(18px);
}

.wl-private-photos-hint {
    margin: 0;
    padding: 0 14px;
    font-size: 12px;
    color: var(--wl-text-muted);
    line-height: 1.5;
}

.wl-private-photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3px;
    margin-top: 4px;
}

.wl-private-photo-grid .wl-photo-grid-item {
    border: none;
    padding: 0;
    margin: 0;
    cursor: pointer;
    background: var(--wl-bg);
}

.wl-photo-grid-item.wl-no-thumb {
    background: var(--wl-bg-soft, rgba(0, 0, 0, 0.06));
}

/* ========== 私密照片管理 / 批量选择 ========== */
.wl-private-photos-bar {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.wl-private-photos-toggle {
    width: auto;
    flex: 1 1 220px;
}

.wl-private-photos-manage {
    flex: none;
    padding: 11px 18px;
    border: 1px solid var(--wl-border);
    border-radius: 12px;
    background: rgba(255, 255, 253, .7);
    color: var(--wl-accent-dark);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: background var(--wl-transition), color var(--wl-transition), border-color var(--wl-transition);
}

.wl-private-photos-manage:hover {
    background: color-mix(in srgb, var(--wl-accent) 9%, transparent);
}

.wl-private-photos-manage[aria-pressed="true"] {
    border-color: color-mix(in srgb, var(--wl-accent) 42%, transparent);
    background: linear-gradient(145deg, color-mix(in srgb, var(--wl-accent) 18%, #fff), color-mix(in srgb, var(--wl-accent) 8%, #fff));
    color: var(--wl-accent-dark);
}

.wl-private-photos-hint {
    flex-basis: 100%;
}

/* 选择勾选标记：默认隐藏，进入管理态才显示。 */
.wl-private-photo-grid .wl-photo-check {
    display: none;
    position: absolute;
    top: 6px;
    left: 6px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(37, 34, 29, .34);
    color: #fff;
    place-items: center;
    z-index: 3;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .28);
}

.wl-private-photo-grid.is-managing {
    padding-bottom: 70px;
}

.wl-private-photo-grid.is-managing .wl-photo-grid-item .wl-photo-check {
    display: grid;
}

.wl-private-photo-grid.is-managing .wl-photo-grid-item:hover img {
    transform: none;
}

.wl-private-photo-grid .wl-photo-grid-item.is-selected .wl-photo-check {
    background: var(--wl-accent);
}

.wl-private-photo-grid .wl-photo-grid-item.is-selected::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid var(--wl-accent);
    border-radius: 2px;
    background: color-mix(in srgb, var(--wl-accent) 16%, transparent);
    z-index: 2;
    pointer-events: none;
}

/* 底部批量操作条：移动端友好，固定底部、拇指易达，与 WL 弹窗分层（弹窗在上）。 */
.wl-photo-select-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10800;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 253, .96);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    border-top: 1px solid var(--wl-border);
    box-shadow: 0 -6px 22px rgba(35, 31, 24, .1);
}

.wl-photo-select-bar[hidden] {
    display: none;
}

.wl-photo-select-bar-left,
.wl-photo-select-bar-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wl-photo-select-all {
    padding: 9px 15px;
    border: 1px solid var(--wl-border);
    border-radius: 11px;
    background: transparent;
    color: var(--wl-accent-dark);
    font-size: 14px;
    font-weight: 750;
    cursor: pointer;
    transition: background var(--wl-transition);
}

.wl-photo-select-all:hover {
    background: color-mix(in srgb, var(--wl-accent) 9%, transparent);
}

.wl-photo-select-count {
    font-size: 13px;
    color: var(--wl-text-secondary);
    font-weight: 650;
}

.wl-photo-select-cancel {
    padding: 9px 14px;
    border: none;
    background: transparent;
    color: var(--wl-text-secondary);
    font-size: 14px;
    font-weight: 650;
    cursor: pointer;
}

.wl-photo-select-cancel:hover {
    color: var(--wl-ink);
}

.wl-photo-select-delete {
    padding: 10px 22px;
    border: 1px solid rgba(166, 91, 83, .42);
    border-radius: 11px;
    background: linear-gradient(145deg, rgba(255, 243, 239, .98), rgba(245, 220, 212, .82));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9);
    color: #994d47;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: background var(--wl-transition), color var(--wl-transition), border-color var(--wl-transition);
}

.wl-photo-select-delete:hover:not(:disabled) {
    border-color: rgba(166, 91, 83, .62);
    color: #8c3f3a;
}

.wl-photo-select-delete:disabled {
    opacity: .4;
    cursor: not-allowed;
}

@media (max-width: 700px) {
    .wl-photo-select-bar {
        gap: 8px;
        padding-inline: 14px;
    }
    .wl-photo-select-all,
    .wl-photo-select-cancel {
        padding-inline: 12px;
    }
    .wl-photo-select-delete {
        padding-inline: 20px;
        min-height: 44px;
    }
}

/* ========== 空状态 ========== */
.wl-empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--wl-text-muted);
}

.wl-empty-state .wl-empty-icon {
    margin-bottom: 16px;
    color: var(--wl-border);
}

.wl-empty-state h3 {
    margin: 0 0 8px;
    font-size: 18px;
    color: var(--wl-text-secondary);
}

.wl-empty-state p {
    margin: 0 0 16px;
    font-size: 14px;
}

/* ========== 按钮 ========== */
.wl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    transition: all var(--wl-transition);
    cursor: pointer;
}

.wl-btn-primary {
    background: var(--wl-accent);
    color: #fff;
}

.wl-btn-primary:hover {
    background: var(--wl-accent-dark);
    color: #fff;
}

.wl-btn-outline {
    border: 1px solid var(--wl-border);
    color: var(--wl-text-secondary);
    background: var(--wl-bg-card);
}

.wl-btn-outline:hover {
    border-color: var(--wl-accent);
    color: var(--wl-accent);
}

/* ========== 加载更多 ========== */
.wl-load-more-wrap {
    text-align: center;
    padding: 16px 0 24px;
}

/* 无限滚动预加载哨兵（仅用于触发加载，无视觉） */
#wl-feed-sentinel {
    height: 1px;
    width: 100%;
}

.wl-load-more {
    min-width: 140px;
}

.wl-load-more.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* ========== 单页详情 ========== */
.wl-single-wrap {
    padding: 16px 0;
}

/* 返回链接：与主页玻璃语言一致的悬浮胶囊。
   用 .wl-single-wrap .wl-back-link（0,2,0）稳压 main.css 本身的
   a:link/a:visited（0,1,1），否则会被染成品牌橙 */
.wl-single-wrap .wl-back-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 14px;
    padding: 7px 14px 7px 10px;
    font-size: 13px;
    font-weight: 500;
    color: var(--wl-text-secondary);
    background: rgba(255, 255, 255, .5);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    backdrop-filter: blur(16px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, .6);
    border-radius: 14px;
    box-shadow: 0 4px 14px rgba(40, 50, 90, .10), inset 0 1px 0 rgba(255, 255, 255, .7);
    text-decoration: none;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}

.wl-single-wrap .wl-back-link:hover {
    background: rgba(255, 255, 255, .72);
    color: var(--wl-text);
    transform: translateY(-1px);
}

.wl-back-link svg {
    width: 18px;
    height: 18px;
}

/* 详情卡片：复用主页液态玻璃卡（透明表面 + 折射 + 高光边缘），
   让极光从卡片背后透出来，与信息流视觉完全一致。
   注意：用 .wl-moment-card.wl-moment-single（特异性 0,2,0）稳压
   unified-ui.css 的 .wl-moment-card（0,1,0），否则会被后加载的文件覆盖成
   不透明的 surface-glass 玻璃纸，失去液态通透感 */
.wl-moment-card.wl-moment-single {
    position: relative;
    overflow: hidden;
    content-visibility: visible;
    padding: 18px 20px;
    background: rgba(255, 255, 252, .20);
    -webkit-backdrop-filter: blur(26px) saturate(155%);
    backdrop-filter: blur(26px) saturate(155%);
    border: 1px solid rgba(255, 255, 255, .6);
    border-radius: 22px;
    box-shadow:
        0 16px 40px rgba(40, 50, 90, .16),
        0 0 0 1px rgba(255, 255, 255, .3),
        inset 0 1px 0 rgba(255, 255, 255, .95),
        inset 0 -20px 34px rgba(255, 255, 255, .18);
}

/* 玻璃面高光：左上到右下的柔和白色反光 */
.wl-moment-card.wl-moment-single::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, rgba(255, 255, 255, .46) 0%, rgba(255, 255, 255, .12) 38%, transparent 62%);
    pointer-events: none;
    z-index: 1;
}

/* 时间戳：去掉硬分割线，弱化为卡片内的轻量信息 */
.wl-single-date {
    padding: 8px 2px 2px;
    font-size: 12px;
    color: var(--wl-text-muted);
    text-align: right;
    margin-top: 12px;
}

/* 详情页内容子卡（OKR / 穿搭 / 专注 / 在读 / To-do / 成长周报 / 项目演示）：
   原是实色/渐变面板，与外层液态玻璃卡格格不入。这里在「单页作用域」把它们
   改成「带身份色 tint 的毛玻璃」——保留各内容类型的色彩辨识，又跟上整页
   毛玻璃质感。feed 内的同名卡片保持原实色不变，不动全局规则。 */
.wl-moment-card.wl-moment-single .wl-outfit-shell {
    background: rgba(237, 228, 250, .52);
    border: 1px solid rgba(255, 255, 255, .6);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    backdrop-filter: blur(18px) saturate(150%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 8px 22px rgba(60, 40, 90, .08);
}
.wl-moment-card.wl-moment-single .wl-focus-summary-card {
    background: rgba(34, 36, 54, .62);
    border: 1px solid rgba(255, 255, 255, .18);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    backdrop-filter: blur(18px) saturate(150%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 10px 26px rgba(20, 22, 40, .22);
}
.wl-moment-card.wl-moment-single .wl-okr-shell {
    background: rgba(238, 242, 255, .55);
    border: 1px solid rgba(255, 255, 255, .6);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    backdrop-filter: blur(18px) saturate(150%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 8px 22px rgba(40, 50, 90, .08);
}
.wl-moment-card.wl-moment-single .wl-todo-shell {
    background: rgba(234, 246, 238, .55);
    border: 1px solid rgba(255, 255, 255, .6);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    backdrop-filter: blur(18px) saturate(150%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 8px 22px rgba(40, 50, 90, .08);
}
.wl-moment-card.wl-moment-single .wl-growth-report-card {
    background: rgba(250, 243, 233, .6);
    border: 1px solid rgba(255, 255, 255, .6);
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    backdrop-filter: blur(18px) saturate(150%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 8px 22px rgba(80, 60, 40, .08);
}
.wl-moment-card.wl-moment-single .wl-reading-book {
    background: rgba(250, 246, 239, .6);
    border: 1px solid rgba(255, 255, 255, .6);
    -webkit-backdrop-filter: blur(16px) saturate(150%);
    backdrop-filter: blur(16px) saturate(150%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 8px 22px rgba(80, 60, 40, .1);
}
.wl-moment-card.wl-moment-single .wl-project-showcase-shell {
    background: linear-gradient(145deg, color-mix(in srgb, var(--wl-accent) 8%, rgba(255, 255, 253, .55)), rgba(255, 255, 253, .42) 53%, color-mix(in srgb, #6f8f88 7%, rgba(255, 255, 253, .48)));
    -webkit-backdrop-filter: blur(18px) saturate(150%);
    backdrop-filter: blur(18px) saturate(150%);
}

/* 详情页操作条里的「编辑 / 删除」也纳入玻璃 dock，与赞/分享统一为
   纯图标灰字、悬浮抬起的形态；删除默认灰、hover 转警示红 */
.wl-moment-interactions .wl-edit-moment-btn,
.wl-moment-interactions .wl-delete-moment-btn {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 6px;
    color: var(--wl-text-secondary, #5a5560);
    background: none;
    border: 0;
    border-radius: 14px;
    cursor: pointer;
    font: inherit;
    font-size: 13px;
    transition: background .18s ease, color .18s ease, transform .18s ease;
}

.wl-moment-interactions .wl-edit-moment-btn:hover,
.wl-moment-interactions .wl-delete-moment-btn:hover {
    background: rgba(255, 255, 255, .72);
    color: var(--wl-text);
    transform: translateY(-1px);
}

.wl-moment-interactions .wl-delete-moment-btn:hover {
    color: #d93025;
    background: rgba(217, 48, 37, .08);
}

.wl-moment-interactions .wl-edit-moment-btn svg,
.wl-moment-interactions .wl-delete-moment-btn svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* ========== 灯箱 ========== */
.wl-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.wl-lightbox.open {
    opacity: 1;
    visibility: visible;
}

.wl-lightbox-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.wl-lightbox.open .wl-lightbox-overlay {
    opacity: 1;
}

.wl-lightbox-content {
    position: relative;
    width: 96vw;
    height: 94vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.wl-lightbox-image {
    position: relative;
    flex: 1 1 auto;
    width: 100%;
    height: 100%;
    min-width: 160px;
    min-height: 160px;
    max-width: 96vw;
    max-height: 88vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* 动态照片：img 和 video 叠加 */
.wl-lightbox-image.wl-live {
    width: 100%;
    height: 100%;
}

.wl-lightbox-image.wl-live .wl-lightbox-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.wl-lightbox-media {
    flex: 1 1 auto;
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 4px;
    display: block;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.wl-lightbox-image.loaded .wl-lightbox-media {
    opacity: 1;
    transform: scale(1);
}

.wl-lightbox-image.loading .wl-lightbox-spinner {
    display: flex;
}

.wl-lightbox-spinner {
    display: none;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
}

.wl-lightbox-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 24px;
}

.wl-lightbox-live-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: transparent;
}

.wl-lightbox-live-hint {
    position: absolute;
    bottom: 16px;
    left: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    pointer-events: auto;
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, background 0.2s ease;
    z-index: 5;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.wl-lightbox-live-hint:hover {
    background: rgba(0, 0, 0, 0.55);
    transform: scale(1.08);
}

.wl-lightbox-live-hint:active {
    transform: scale(0.95);
}

.wl-lightbox-live-hint:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* 播放时的脉冲动画 */
@keyframes wl-live-pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.35); }
    70% { box-shadow: 0 0 0 6px rgba(255, 255, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.wl-lightbox-live-hint.playing {
    animation: wl-live-pulse 1.8s ease-out infinite;
}

.wl-lightbox-caption {
    color: #fff;
    font-size: 14px;
    text-align: center;
    padding: 8px 16px;
    max-width: 600px;
    opacity: 0;
    transition: opacity 0.3s ease 0.1s;
}

.wl-lightbox.open .wl-lightbox-caption {
    opacity: 1;
}

.wl-lightbox-counter {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    padding-bottom: 8px;
    opacity: 0;
    transition: opacity 0.3s ease 0.1s;
}

.wl-lightbox.open .wl-lightbox-counter {
    opacity: 1;
}

.wl-lightbox-close,
.wl-lightbox-prev,
.wl-lightbox-next {
    position: absolute;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--wl-transition), opacity 0.3s ease;
    background: none;
    border: none;
    padding: 8px;
    opacity: 0;
}

.wl-lightbox.open .wl-lightbox-close,
.wl-lightbox.open .wl-lightbox-prev,
.wl-lightbox.open .wl-lightbox-next {
    opacity: 1;
}

.wl-lightbox-close:hover,
.wl-lightbox-prev:hover,
.wl-lightbox-next:hover {
    color: #fff;
}

.wl-lightbox-close {
    top: 16px;
    right: 16px;
}

.wl-lightbox-prev {
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
}

.wl-lightbox-next {
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
}

@keyframes wl-spinner {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* ========== 评论 ========== */
.wl-comments-section {
    margin-top: 14px;
    padding: 16px 18px;
    background: rgba(255, 255, 252, .20);
    -webkit-backdrop-filter: blur(26px) saturate(155%);
    backdrop-filter: blur(26px) saturate(155%);
    border: 1px solid rgba(255, 255, 255, .6);
    border-radius: 22px;
    box-shadow:
        0 16px 40px rgba(40, 50, 90, .16),
        0 0 0 1px rgba(255, 255, 255, .3),
        inset 0 1px 0 rgba(255, 255, 255, .95);
}

.wl-comments-title,
.comment-reply-title {
    margin: 0;
    color: var(--wl-text-secondary);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0;
}

.comment-reply-title { margin-bottom: 10px; }

.comment-reply-title small {
    margin-left: 7px;
    font-size: 12px;
    font-weight: 400;
}

.comment-reply-title small a { color: var(--wl-text-muted); }

.comment-list,
.comment-list .children {
    list-style: none;
    margin: 0;
    padding: 0;
}

.comment-list { margin-top: 8px; }

.comment-list .children {
    margin: 8px 0 0 18px;
    padding-left: 10px;
    border-left: 1px solid rgba(40, 50, 90, .10);
}

/* 微博式评论流：弱化为详情正文之后的次级信息。 */
.wl-comment-item { margin: 0; }

.wl-comment-body {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 13px 0;
    border-bottom: 1px solid rgba(40, 50, 90, .10);
}

.comment-list > li:last-child > .wl-comment-body { border-bottom: 0; }

.wl-comment-avatar {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    overflow: hidden;
    border-radius: 50%;
    opacity: .86;
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.05);
}

.wl-comment-avatar svg {
    display: block;
    width: 100%;
    height: 100%;
}

.wl-comment-main {
    min-width: 0;
    flex: 1;
}

.wl-comment-head {
    display: flex;
    align-items: baseline;
    gap: 7px;
    min-width: 0;
}

.wl-comment-author {
    overflow: hidden;
    color: var(--wl-text-secondary);
    font-size: 13px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wl-comment-time {
    flex: 0 0 auto;
    color: var(--wl-text-muted);
    font-size: 11px;
}

.wl-comment-content {
    margin-top: 4px;
    color: var(--wl-text-secondary);
    font-size: 13px;
    line-height: 1.65;
    word-break: break-word;
}

.wl-comment-content p { margin: 0; }

.wl-comment-actions { margin-top: 5px; }

.wl-comment-actions .comment-reply-link {
    color: var(--wl-text-muted);
    font-size: 11px;
}

.wl-comment-actions .comment-reply-link:hover { color: var(--wl-accent); }

.wl-comment-pending {
    margin: 4px 0 0;
    color: var(--wl-text-muted);
    font-size: 11px;
}

#commentform {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    padding: 10px;
    border: 1px solid var(--wl-border-light);
    border-radius: 12px;
    background: color-mix(in srgb, var(--wl-bg-card) 78%, var(--wl-bg));
}

#commentform p { margin: 0; }

#commentform .comment-form-comment,
#commentform .logged-in-as {
    grid-column: 1 / -1;
}

#commentform .comment-form-comment { order: -2; }

#commentform .logged-in-as {
    order: -1;
    color: var(--wl-text-muted);
    font-size: 11px;
}

#commentform label:not(.screen-reader-text) {
    display: block;
    margin: 0;
    color: var(--wl-text-muted);
    font-size: 11px;
    font-weight: 400;
}

#commentform input[type="text"],
#commentform textarea {
    box-sizing: border-box;
    width: 100%;
    border: 1px solid transparent;
    border-radius: 8px;
    background: var(--wl-bg);
    color: var(--wl-text);
    font: inherit;
    font-size: 13px;
    outline: none;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

#commentform input[type="text"] {
    height: 34px;
    padding: 0 9px;
}

#commentform textarea {
    display: block;
    min-height: 68px;
    padding: 9px 10px;
    line-height: 1.55;
    resize: vertical;
}

#commentform input::placeholder,
#commentform textarea::placeholder { color: var(--wl-text-muted); }

#commentform input:focus,
#commentform textarea:focus {
    border-color: color-mix(in srgb, var(--wl-accent) 55%, var(--wl-border));
    background: var(--wl-bg-card);
    box-shadow: 0 0 0 2px color-mix(in srgb, var(--wl-accent) 10%, transparent);
}

#commentform .comment-form-cookies-consent {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-height: 34px;
    padding: 0 2px;
    white-space: nowrap;
}

#commentform .comment-form-cookies-consent input {
    width: 13px;
    height: 13px;
    margin: 0;
    accent-color: var(--wl-accent);
}

#commentform .comment-form-cookies-consent label {
    color: var(--wl-text-muted);
    font-size: 11px;
    line-height: 1;
}

#commentform .form-submit {
    grid-column: 3;
    justify-self: end;
}

#commentform .submit {
    min-height: 34px;
    padding: 0 13px;
    border: 1px solid var(--wl-border);
    border-radius: 8px;
    background: var(--wl-bg);
    color: var(--wl-text-secondary);
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color .18s ease, color .18s ease, background .18s ease;
}

#commentform .submit:hover {
    border-color: color-mix(in srgb, var(--wl-accent) 45%, var(--wl-border));
    background: color-mix(in srgb, var(--wl-accent) 8%, var(--wl-bg));
    color: var(--wl-accent);
}

@media (max-width: 600px) {
    .wl-comments-section { margin-top: 22px; padding-top: 18px; }
    .wl-comment-body { gap: 9px; padding: 12px 0; }
    .wl-comment-avatar { flex-basis: 34px; width: 34px; height: 34px; }
    .wl-comment-head { gap: 5px; }
    .wl-comment-time { font-size: 10px; }
    .comment-list .children { margin-left: 12px; padding-left: 8px; }
    #commentform { grid-template-columns: minmax(0, 1fr) auto; gap: 7px; padding: 8px; }
    #commentform .comment-form-comment,
    #commentform .logged-in-as { grid-column: 1 / -1; }
    #commentform .comment-form-author,
    #commentform .comment-form-contact { grid-column: 1 / -1; }
    #commentform .comment-form-cookies-consent { grid-column: 1; }
    #commentform .form-submit { grid-column: 2; }
}

/* ========== 页脚 ========== */
.wl-footer {
    text-align: center;
    padding: 24px 16px;
    color: var(--wl-text-muted);
    font-size: 12px;
}

.wl-footer-text {
    margin: 0 0 8px;
}

.wl-footer-menu {
    display: flex;
    justify-content: center;
    gap: 16px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.wl-footer-menu a {
    color: var(--wl-text-muted);
    font-size: 12px;
}

/* ========== 加载动画 ========== */
.wl-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid var(--wl-border);
    border-top-color: var(--wl-accent);
    border-radius: 50%;
    animation: wl-spin 0.8s linear infinite;
}

@keyframes wl-spin {
    to { transform: rotate(360deg); }
}

/* ========== 响应式 ========== */
@media (max-width: 600px) {
    .wl-container {
        padding: 0 12px;
    }

    .wl-profile-style-xiaohongshu .wl-profile-info {
        min-height: auto;
    }

    .wl-profile-cover {
        height: 160px;
    }

    .wl-profile-avatar {
        width: 72px;
        height: 72px;
    }

    .wl-profile-name {
        font-size: 18px;
    }

    /* 小红书风格的沉浸式资料区专属布局；其他两种风格不继承负边距。 */
    .wl-profile-style-xiaohongshu .wl-profile-info {
        align-items: center;
        gap: 10px;
        padding: 0 14px;
        margin-top: -28px;
    }

    .wl-profile-style-xiaohongshu .wl-profile-meta {
        padding-bottom: 2px;
        margin-top: 25px;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
    }

    .wl-profile-style-xiaohongshu .wl-profile-name {
        margin-bottom: 0;
        white-space: nowrap;
    }

    .wl-profile-style-xiaohongshu .wl-profile-details {
        font-size: 12px;
        white-space: nowrap;
        display: flex;
        align-items: center;
    }

    .wl-profile-style-xiaohongshu .wl-profile-stats {
        gap: 16px;
        padding-bottom: 4px;
    }

    .wl-profile-style-xiaohongshu .wl-stat-num {
        font-size: 16px;
    }

    .wl-profile-style-xiaohongshu .wl-stat-label {
        font-size: 11px;
    }

    .wl-profile-style-xiaohongshu .wl-profile-bio {
        margin-top: 6px;
        font-size: 13px;
        line-height: 1.5;
    }

    .wl-moment-card {
        padding: 14px;
        border-radius: 0;
    }

    .wl-trip-home-card { border-radius: 0; }
    .wl-trip-home-visual { min-height: 154px; }
    .wl-trip-home-body { padding: 14px; }
    .wl-trip-home-title-row h2 { font-size: 18px; }
    .wl-moment-trip-link { max-width: 38%; }

    .wl-moment-actions-menu {
        min-width: 62px;
    }

    .wl-moment-status-stack {
        max-width: 44vw;
    }

    .wl-moment-status-row {
        justify-content: flex-end;
    }

    .wl-media-grid {
        gap: 3px;
    }

    .wl-photo-grid {
        gap: 2px;
    }

    .wl-lightbox-prev,
    .wl-lightbox-next {
        display: none;
    }

    /* 手机端灯箱 */
    .wl-lightbox-content {
        width: 94vw;
        height: 92vh;
    }
    .wl-lightbox-image {
        width: 100%;
        height: 100%;
        max-width: 94vw;
        max-height: 84vh;
        min-width: 120px;
        min-height: 120px;
    }
    .wl-lightbox-media {
        width: 100%;
        height: 100%;
    }

    .wl-navbar-nav a {
        padding: 6px 10px;
        font-size: 13px;
    }
}

@media (max-width: 400px) {
    .wl-profile-style-xiaohongshu .wl-profile-avatar {
        width: 68px;
        height: 68px;
    }

    .wl-profile-style-xiaohongshu .wl-profile-info {
        gap: 8px;
        padding: 0 12px;
    }

    .wl-profile-style-xiaohongshu .wl-profile-stats {
        width: 100%;
        justify-content: flex-start;
        padding-top: 4px;
        padding-bottom: 2px;
        gap: 14px;
    }

    .wl-profile-style-xiaohongshu .wl-profile-meta {
        flex-basis: calc(100% - 100px);
    }

    .wl-profile-style-xiaohongshu .wl-profile-name {
        font-size: 17px;
    }
}

/* ========== 小红书资料区响应式覆盖 ========== */
@media (max-width: 600px) {
    .wl-profile-header {
        margin: 0 -12px 10px;
        /* 手机端导航贴合页面边缘，底部不留圆角缝隙 */
        border-radius: 0;
    }

    .wl-profile-header .wl-view-tabs,
    .wl-profile-header .wl-view-tab {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }

    .wl-profile-style-xiaohongshu .wl-profile-cover {
        height: auto;
    }

    .wl-profile-style-xiaohongshu .wl-profile-info {
        min-height: 316px;
        padding: 68px 18px 20px;
        margin-top: 0;
        gap: 0;
        align-items: stretch;
    }

    .wl-profile-style-xiaohongshu .wl-profile-identity {
        align-items: center;
        gap: 12px;
    }

    .wl-profile-style-xiaohongshu .wl-profile-avatar {
        width: 76px;
        height: 76px;
    }

    .wl-profile-style-xiaohongshu .wl-profile-meta {
        display: block;
        flex: 1;
        flex-basis: auto;
        min-width: 0;
        margin-top: 0;
        padding-bottom: 0;
    }

    .wl-profile-style-xiaohongshu .wl-profile-name {
        margin: 0;
        font-size: 22px;
        white-space: normal;
    }

    .wl-profile-style-xiaohongshu .wl-profile-details {
        display: flex;
        margin-top: 7px;
        font-size: 12px;
        white-space: normal;
    }

    .wl-profile-style-xiaohongshu .wl-profile-location {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .wl-profile-style-xiaohongshu .wl-profile-bio {
        margin-top: 16px;
        font-size: 13px;
        line-height: 1.58;
    }

    .wl-profile-style-xiaohongshu .wl-profile-bottom-row {
        margin-top: 14px;
    }

    .wl-profile-style-xiaohongshu .wl-profile-stats {
        width: auto;
        gap: 14px;
        padding: 0;
    }

    .wl-profile-style-xiaohongshu .wl-stat-num {
        font-size: 16px;
    }

    .wl-profile-style-xiaohongshu .wl-stat-label {
        font-size: 11px;
    }

    .wl-profile-style-xiaohongshu .wl-edit-profile-btn {
        padding: 7px 10px;
        font-size: 12px;
    }
}

@media (max-width: 400px) {
    .wl-profile-style-xiaohongshu .wl-profile-info {
        min-height: 302px;
        padding-right: 14px;
        padding-left: 14px;
    }

    .wl-profile-avatar,
    .wl-profile-header .wl-profile-avatar {
        width: 68px;
        height: 68px;
    }

    .wl-profile-name,
    .wl-profile-header .wl-profile-name {
        font-size: 20px;
    }

    .wl-profile-bottom-row {
        gap: 10px;
    }
}

/* ========== 动态详情前端编辑 ========== */
.wl-edit-moment-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 0;
    padding: 6px 8px;
    background: transparent;
    color: var(--wl-text-muted);
    font: inherit;
    font-size: 13px;
    cursor: pointer;
}

.wl-edit-moment-btn:hover { color: var(--wl-accent); }

/* 已发布照片操作：替换、裁剪与动态照片转静态 */
.wl-media-type-image,
.wl-media-type-live {
    position: relative;
}

.wl-media-photo-actions {
    position: absolute;
    right: 8px;
    bottom: 8px;
    z-index: 4;
    display: flex;
    gap: 6px;
    opacity: 0;
    transition: opacity .18s ease;
}

.wl-media-replace-photo,
.wl-media-edit-photo,
.wl-media-convert-live {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 30px;
    padding: 5px 9px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    background: rgba(0, 0, 0, 0.76);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
    box-shadow: 0 2px 7px rgba(0, 0, 0, 0.26);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.wl-media-type-image:hover .wl-media-photo-actions,
.wl-media-type-live:hover .wl-media-photo-actions,
.wl-media-photo-actions:focus-within {
    opacity: 1;
}

.wl-media-replace-photo:hover,
.wl-media-edit-photo:hover,
.wl-media-convert-live:hover,
.wl-media-replace-photo:focus-visible,
.wl-media-edit-photo:focus-visible,
.wl-media-convert-live:focus-visible {
    background: var(--wl-accent);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    outline: none;
}

.wl-media-convert-live {
    background: rgba(106, 67, 182, 0.9);
}

.wl-media-convert-live:active,
.wl-media-replace-photo:active,
.wl-media-edit-photo:active {
    transform: translateY(0) scale(0.96);
}

.wl-photo-editor-status {
    min-height: 18px;
    margin: 10px 0 0;
    color: var(--wl-text-secondary);
    font-size: 12px;
    line-height: 1.5;
}

.wl-photo-editor-status.error {
    color: #d93025;
}

/* 编辑入口在触控设备与无 hover 的平板上始终可见。 */
@media (hover: none), (pointer: coarse), (max-width: 1024px) {
    .wl-media-photo-actions {
        opacity: 1;
    }
}

.wl-moment-edit-modal {
    position: fixed;
    inset: 0;
    z-index: 10020;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.48);
}

.wl-moment-edit-modal.open { display: flex; }

.wl-moment-edit-dialog {
    width: min(560px, 100%);
    max-height: min(680px, 92vh);
    overflow: auto;
    /* 2026-08-22：原 background:var(--wl-bg-card) 是纯白实色盒子，与全站液态玻璃格格不入。
       改成真玻璃：半透白 + blur，编辑弹窗也能透出背后页面。 */
    background: rgba(255, 255, 252, .72);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    backdrop-filter: blur(24px) saturate(160%);
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 18px;
    box-shadow: 0 24px 60px rgba(20, 22, 40, .26), inset 0 1px 0 rgba(255, 255, 255, .9);
}

.wl-moment-edit-header,
.wl-moment-edit-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--wl-border-light);
}

.wl-moment-edit-header h2 {
    margin: 0;
    color: var(--wl-text);
    font-size: 17px;
}

.wl-moment-edit-close {
    border: 0;
    background: transparent;
    color: var(--wl-text-muted);
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.wl-moment-edit-body { padding: 18px 20px 8px; }

.wl-moment-edit-label {
    display: block;
    margin: 0 0 7px;
    color: var(--wl-text);
    font-size: 13px;
    font-weight: 600;
}

#wl-moment-edit-content,
#wl-moment-edit-location,
#wl-moment-edit-source,
#wl-moment-edit-template,
#wl-edit-todo-title,
#wl-edit-okr-goal-title,
#wl-edit-okr-goal-description,
#wl-edit-okr-cycle,
#wl-edit-okr-deadline {
    box-sizing: border-box;
    width: 100%;
    border: 1px solid var(--wl-border);
    border-radius: 8px;
    background: var(--wl-bg);
    color: var(--wl-text);
    font: inherit;
}

#wl-moment-edit-content {
    min-height: 180px;
    padding: 12px;
    line-height: 1.6;
    resize: vertical;
}

#wl-moment-edit-location { padding: 10px 12px; }
#wl-moment-edit-source,
#wl-moment-edit-template,
#wl-edit-todo-title,
#wl-edit-okr-goal-title,
#wl-edit-okr-goal-description,
#wl-edit-okr-cycle,
#wl-edit-okr-deadline { padding: 10px 12px; margin-bottom: 14px; }
#wl-edit-okr-goal-description { min-height: 92px; resize: vertical; }
#wl-moment-edit-template { appearance: auto; }

.wl-moment-edit-count {
    margin: 5px 0 16px;
    color: var(--wl-text-muted);
    font-size: 12px;
    text-align: right;
}

.wl-moment-edit-note {
    margin: 12px 0 6px;
    color: var(--wl-text-muted);
    font-size: 12px;
    line-height: 1.55;
}

.wl-moment-edit-message { margin: 12px 0 0; font-size: 13px; }
.wl-moment-edit-message.error { color: #d33; }

.wl-moment-tag-suggest {
    display: none;
    max-height: 220px;
    margin: 6px 0 12px;
    overflow: auto;
    border: 1px solid var(--wl-border);
    border-radius: 8px;
    background: var(--wl-bg-card);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.wl-moment-tag-suggest.open { display: block; }

.wl-moment-tag-suggest-item {
    display: block;
    width: 100%;
    padding: 10px 12px;
    border: 0;
    border-bottom: 1px solid var(--wl-border-light);
    background: transparent;
    color: var(--wl-text);
    font: inherit;
    font-size: 14px;
    text-align: left;
    cursor: pointer;
}

.wl-moment-tag-suggest-item:last-child { border-bottom: 0; }
.wl-moment-tag-suggest-item:hover,
.wl-moment-tag-suggest-item.active { background: rgba(255, 130, 0, 0.1); color: var(--wl-accent); }
.wl-moment-edit-message.success { color: #1d8a4a; }

/* 详情页专属编辑：沿用发布页的业务控件，但在弹窗内收紧层级和间距。 */
.wl-special-edit-intro {
    display: grid;
    gap: 5px;
    margin: 0 0 18px;
    padding: 12px 14px;
    border: 1px solid color-mix(in srgb, var(--wl-accent) 22%, var(--wl-border));
    border-radius: 10px;
    background: color-mix(in srgb, var(--wl-accent) 7%, var(--wl-bg-card));
}
.wl-special-edit-intro strong { color: var(--wl-text); font-size: 14px; }
.wl-special-edit-intro span { color: var(--wl-text-secondary); font-size: 12px; line-height: 1.6; }
.wl-special-edit-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 18px 0 10px;
    color: var(--wl-text);
    font-size: 14px;
}
.wl-special-edit-head button,
.wl-todo-publish-add-group {
    border: 0;
    background: transparent;
    color: var(--wl-accent);
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}
.wl-moment-edit-body .wl-todo-publish-groups { margin-top: 12px; }
.wl-moment-edit-body .wl-todo-publish-group { margin-bottom: 12px; }
.wl-moment-edit-body .wl-outfit-editor-item { margin-bottom: 10px; }
.wl-moment-edit-body .wl-okr-key-results,
.wl-moment-edit-body .wl-okr-actions { margin-bottom: 8px; }
.wl-moment-edit-body .wl-focus-publish-preview { margin-top: 12px; }
.wl-moment-edit-body .wl-okr-new-goal-fields { margin-bottom: 8px; }
.wl-moment-edit-body .wl-okr-goal-meta { margin-top: 0; }

.wl-moment-edit-actions {
    justify-content: flex-end;
    gap: 10px;
    border-top: 1px solid var(--wl-border-light);
    border-bottom: 0;
}

@media (max-width: 600px) {
    .wl-moment-edit-modal { padding: 12px; align-items: flex-end; }
    .wl-moment-edit-dialog { max-height: 88vh; border-radius: 14px 14px 10px 10px; }
    .wl-moment-edit-header, .wl-moment-edit-actions { padding-left: 16px; padding-right: 16px; }
    .wl-moment-edit-body { padding-left: 16px; padding-right: 16px; }
}

/* ========== 收藏与旅行足迹 ========== */
.wl-collections-page,
.wl-footprints-page {
    max-width: 860px;
    margin: 0 auto;
    padding: 34px 22px 64px;
}

.wl-collection-page-head {
    max-width: 620px;
    margin: 8px 0 32px;
}

.wl-collection-page-head > span,
.wl-collection-kicker {
    color: var(--wl-accent);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
}

.wl-collection-page-head h1 {
    margin: 7px 0 10px;
    color: var(--wl-text);
    font-size: 34px;
    line-height: 1.1;
}

.wl-collection-page-head p {
    margin: 0;
    color: var(--wl-text-secondary);
    font-size: 15px;
    line-height: 1.75;
}

.wl-collection-section,
.wl-footprints-overview,
.wl-footprints-countries {
    margin-top: 20px;
    padding: 22px;
    border: 1px solid var(--wl-border-light);
    border-radius: 18px;
    background: var(--wl-bg-card);
}

.wl-collection-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 17px;
}

.wl-collection-section-head h2 {
    margin: 4px 0 0;
    color: var(--wl-text);
    font-size: 19px;
}

.wl-collection-section-head > a {
    flex: 0 0 auto;
    color: var(--wl-accent);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.wl-collection-empty {
    display: flex;
    align-items: center;
    gap: 15px;
    min-height: 88px;
    padding: 15px;
    border: 1px dashed var(--wl-border);
    border-radius: 13px;
    background: color-mix(in srgb, var(--wl-bg) 76%, var(--wl-bg-card));
}

.wl-collection-symbol {
    display: inline-flex;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: color-mix(in srgb, var(--wl-accent) 12%, var(--wl-bg-card));
    color: var(--wl-accent);
    font-size: 21px;
    font-weight: 700;
}

.wl-collection-empty strong { color: var(--wl-text); font-size: 14px; }
.wl-collection-empty p { margin: 4px 0 0; color: var(--wl-text-muted); font-size: 13px; line-height: 1.6; }

.wl-book-shelf {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 13px;
}

.wl-book-placeholder {
    display: flex;
    aspect-ratio: 3 / 4;
    flex-direction: column;
    justify-content: flex-end;
    padding: 15px;
    overflow: hidden;
    border-radius: 7px 10px 10px 7px;
    background: linear-gradient(145deg, #4c3631, #bb846b);
    box-shadow: inset 4px 0 rgba(255,255,255,.12), 0 8px 15px rgba(0,0,0,.1);
    color: #fff;
}

.wl-book-placeholder-muted { background: linear-gradient(145deg, #3f5361, #87a8af); }
.wl-book-placeholder-soft { background: linear-gradient(145deg, #705d44, #c9aa71); }
.wl-book-placeholder span { font-size: 11px; letter-spacing: .08em; opacity: .78; }
.wl-book-placeholder strong { margin-top: 8px; font-size: 14px; line-height: 1.45; }

/* 真实在读图书封面墙：3 行 × 横向无限滑动 */
.wl-book-shelf-real {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    max-height: calc(3 * (140px + 6px + 34px + 13px));
    overflow-x: auto;
    overflow-y: hidden;
    gap: 13px;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    padding-bottom: 6px;
    scrollbar-width: thin;
}
.wl-book-shelf-real::-webkit-scrollbar { height: 5px; }
.wl-book-shelf-real::-webkit-scrollbar-track { background: transparent; }
.wl-book-shelf-real::-webkit-scrollbar-thumb { background: var(--wl-border); border-radius: 3px; }
.wl-book-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 0 0 auto;
    width: 100px;
    scroll-snap-align: start;
}
.wl-book-item img, .wl-book-item-fallback { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 12px; box-shadow: 2px 3px 10px rgba(90,70,40,.16); display: block; }
.wl-book-item-fallback { display: flex; align-items: center; justify-content: center; background: linear-gradient(145deg, #e8e0d2, #d4c8b2); color: #a89a80; font-size: 24px; }
.wl-book-item strong { font-size: 12px; line-height: 1.4; color: var(--wl-text); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.wl-book-item small { color: var(--wl-text-muted); font-size: 10px; }

.wl-footprint-empty-map {
    position: relative;
    display: flex;
    min-height: 200px;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px dashed var(--wl-border);
    border-radius: 15px;
    background:
        radial-gradient(ellipse at 21% 45%, color-mix(in srgb, var(--wl-accent) 12%, transparent) 0 14%, transparent 14.5%),
        radial-gradient(ellipse at 59% 38%, color-mix(in srgb, var(--wl-accent) 10%, transparent) 0 20%, transparent 20.5%),
        radial-gradient(ellipse at 84% 64%, color-mix(in srgb, var(--wl-accent) 9%, transparent) 0 13%, transparent 13.5%),
        color-mix(in srgb, var(--wl-bg) 76%, var(--wl-bg-card));
    text-align: center;
}

.wl-footprint-empty-map div { position: relative; z-index: 1; padding: 20px; }
.wl-footprint-empty-map strong { color: var(--wl-text); font-size: 15px; }
.wl-footprint-empty-map p { margin: 6px 0 0; color: var(--wl-text-muted); font-size: 13px; }
.wl-map-dot { position: absolute; width: 8px; height: 8px; border: 3px solid var(--wl-bg-card); border-radius: 50%; background: var(--wl-accent); box-shadow: 0 1px 8px color-mix(in srgb, var(--wl-accent) 55%, transparent); }
.wl-map-dot-one { top: 41%; left: 27%; }
.wl-map-dot-two { top: 31%; left: 62%; }
.wl-map-dot-three { top: 62%; left: 78%; }

.wl-country-outline-list { display: grid; gap: 10px; }
.wl-country-outline { padding: 16px; border: 1px solid var(--wl-border-light); border-radius: 13px; }
.wl-country-outline-muted { opacity: .7; }
.wl-country-outline-top { display: flex; align-items: center; gap: 12px; }
.wl-country-mark { flex: 0 0 auto; color: var(--wl-accent); font-size: 12px; font-weight: 700; }
.wl-country-outline h3 { margin: 0; color: var(--wl-text); font-size: 15px; }
.wl-country-outline p { margin: 4px 0 0; color: var(--wl-text-muted); font-size: 13px; line-height: 1.55; }
.wl-country-toggle { margin-left: auto; color: var(--wl-text-muted); font-size: 20px; }
.wl-country-outline-note { margin: 13px 0 0 !important; padding-top: 13px; border-top: 1px solid var(--wl-border-light); }

/* ========== 独立衣橱 ========== */
.wl-wardrobe-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 12px; }
.wl-wardrobe-card { position: relative; overflow: hidden; border: 1px solid var(--wl-border-light); border-radius: 12px; background: var(--wl-bg-card); }
.wl-wardrobe-card-image { display: flex; align-items: center; justify-content: center; height: 134px; background: var(--wl-bg-hover); }
.wl-wardrobe-card-image img { width: 100%; height: 100%; object-fit: contain; }
.wl-wardrobe-card-image span { color: var(--wl-text-muted); font-size: 12px; }
.wl-wardrobe-card-main { padding: 10px 10px 8px; }
.wl-wardrobe-card-main strong, .wl-wardrobe-card-main small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wl-wardrobe-card-main strong { color: var(--wl-text); font-size: 13px; }
.wl-wardrobe-card-main small { margin-top: 3px; color: var(--wl-text-muted); font-size: 11px; }
.wl-wardrobe-delete { width: 100%; padding: 7px; border-top: 1px solid var(--wl-border-light); color: #d93025; font-size: 12px; }
.wl-wardrobe-delete:hover { background: #fff0ef; }
.wl-outfit-library { margin: 12px 0; padding: 10px; border: 1px solid var(--wl-border-light); border-radius: 10px; background: var(--wl-bg-card); }
.wl-outfit-library > span { display: block; margin-bottom: 8px; color: var(--wl-text-secondary); font-size: 12px; font-weight: 600; }
.wl-outfit-library-list { display: flex; gap: 8px; overflow-x: auto; }
.wl-outfit-library-item { display: grid; flex: 0 0 70px; gap: 3px; padding: 5px; border: 1px solid var(--wl-border-light); border-radius: 8px; text-align: left; }
.wl-outfit-library-item img { width: 58px; height: 58px; object-fit: contain; background: var(--wl-bg-hover); border-radius: 5px; }
.wl-outfit-library-item b, .wl-outfit-library-item small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wl-outfit-library-item b { color: var(--wl-text); font-size: 11px; }
.wl-outfit-library-item small { color: var(--wl-text-muted); font-size: 10px; }

@media (max-width: 600px) {
    .wl-collections-page,
    .wl-footprints-page { padding: 24px 14px 46px; }
    .wl-collection-page-head { margin: 4px 2px 24px; }
    .wl-collection-page-head h1 { font-size: 29px; }
    .wl-collection-section,
    .wl-footprints-overview,
    .wl-footprints-countries { margin-top: 14px; padding: 16px; border-radius: 15px; }
    .wl-book-shelf { gap: 9px; }
    .wl-book-shelf-real .wl-book-item { width: 82px; }
    .wl-book-placeholder { padding: 10px; }
    .wl-book-placeholder strong { font-size: 12px; }
    .wl-footprint-empty-map { min-height: 175px; }
}

/* ========== 动画 ========== */
@keyframes wl-fade-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wl-moment-card {
    animation: wl-fade-in 0.3s ease;
}

/* ========== 滚动条 ========== */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--wl-border);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--wl-text-muted);
}

/* ========== 标签系统（flomo 风格）========== */

/* 动态正文中的行内标签链接 */
.wl-moment-text .wl-tag {
    color: var(--wl-accent);
    text-decoration: none;
    font-weight: 500;
    margin: 0 1px;
    transition: color var(--wl-transition), background var(--wl-transition);
    border-radius: 3px;
    padding: 0 2px;
}

.wl-moment-text .wl-tag:hover {
    color: var(--wl-accent-dark);
    background: rgba(255, 130, 0, 0.08);
}

.wl-moment-text .wl-tag:active {
    background: rgba(255, 130, 0, 0.15);
}

/* 标签云区域 */
.wl-tag-cloud-section {
    max-width: var(--wl-max-width);
    margin: 0 auto;
    /* 与选中标签时的筛选状态栏保持相同的下方留白 */
    padding: 12px 16px 10px;
}

.wl-tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.wl-tag-cloud-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: var(--wl-bg-card);
    border: 1px solid var(--wl-border);
    border-radius: 14px;
    font-size: 13px;
    color: var(--wl-text-secondary);
    text-decoration: none;
    transition: all var(--wl-transition);
    line-height: 1.4;
}

.wl-tag-cloud-item:hover {
    border-color: var(--wl-accent);
    color: var(--wl-accent);
    background: rgba(255, 130, 0, 0.05);
}

.wl-tag-cloud-item.active {
    background: var(--wl-accent);
    border-color: var(--wl-accent);
    color: #fff;
}

.wl-tag-cloud-item.active .wl-tag-cloud-count {
    background: rgba(255, 255, 255, 0.25);
    color: #fff;
}

.wl-tag-cloud-name {
    font-weight: 700;
}

.wl-tag-cloud-count {
    font-size: 11px;
    background: var(--wl-bg-hover);
    color: var(--wl-text-muted);
    padding: 0 6px;
    border-radius: 8px;
    min-width: 18px;
    text-align: center;
    line-height: 16px;
}

/* 标签筛选状态栏 */
.wl-tag-filter-bar {
    max-width: var(--wl-max-width);
    margin: 0 auto;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.wl-tag-filter-label {
    color: var(--wl-text-muted);
    font-size: 13px;
}

.wl-tag-filter-current {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    background: rgba(255, 255, 255, .72);
    color: var(--wl-accent);
    border: 1px solid color-mix(in srgb, var(--wl-accent) 55%, transparent);
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    -webkit-backdrop-filter: blur(12px) saturate(160%);
    backdrop-filter: blur(12px) saturate(160%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85), 0 4px 14px color-mix(in srgb, var(--wl-accent) 18%, transparent);
    transition: all var(--wl-transition);
}

.wl-tag-filter-current:hover {
    border-color: var(--wl-accent);
    background: rgba(255, 255, 255, .82);
}

/* 标签内的关闭叉号，悬停放大提示可点按清除 */
.wl-tag-filter-close {
    opacity: .65;
    transition: transform var(--wl-transition), opacity var(--wl-transition);
}

.wl-tag-filter-current:hover .wl-tag-filter-close {
    opacity: 1;
    transform: scale(1.15);
}

/* 筛选状态栏当前标签：液态玻璃底配品牌橙文字（原白字 !important 规则已废弃，由新底色方案取代） */
.wl-tag-filter-bar .wl-tag-filter-current {
    color: var(--wl-accent) !important;
}

/* 筛选状态栏中当前标签的数量徽标，跟随可见范围显示对应计数 */
.wl-tag-filter-count {
    margin-left: 6px;
    font-size: 11px;
    font-weight: 600;
    background: color-mix(in srgb, var(--wl-accent) 12%, rgba(255, 255, 255, .85));
    color: var(--wl-accent-dark);
    padding: 0 6px;
    border-radius: 8px;
    min-width: 18px;
    text-align: center;
    line-height: 16px;
    border: 1px solid color-mix(in srgb, var(--wl-accent) 25%, transparent);
}

/* —— 详情页编辑弹窗：在读图书封面重搜 —— */
.wl-edit-reading-section { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--wl-border-light); }
.wl-edit-reading-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 10px; }
.wl-edit-reading-fields input { width: 100%; padding: 8px 10px; border: 1px solid var(--wl-border); border-radius: 7px; font-size: 14px; background: var(--wl-bg-card); color: var(--wl-text); }
.wl-edit-reading-search-btn { margin-bottom: 14px; font-size: 13px; padding: 6px 16px; }
.wl-edit-reading-current { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.wl-edit-reading-current-label { font-size: 12px; color: var(--wl-text-muted); flex: 0 0 auto; }
.wl-edit-reading-current img { width: 48px; height: 66px; object-fit: cover; border-radius: 8px; box-shadow: 1px 2px 6px rgba(90,70,40,.14); }
.wl-edit-reading-cover-empty { font-size: 12px; color: var(--wl-text-muted); }
.wl-edit-reading-candidates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.wl-edit-reading-candidate { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 6px; border: 2px solid transparent; border-radius: 8px; cursor: pointer; background: transparent; transition: border-color .15s; }
.wl-edit-reading-candidate:hover { border-color: var(--wl-accent); }
.wl-edit-reading-candidate img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 8px; }
.wl-edit-reading-candidate span { font-size: 10px; line-height: 1.3; color: var(--wl-text-muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-align: center; }
@media (max-width: 600px) {
    .wl-edit-reading-fields { grid-template-columns: 1fr; }
    .wl-edit-reading-candidates { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* —— 足迹页 · 世界地图 —— */
.wl-footprint-map-container {
    position: relative;
    z-index: 1; /* 隔离地图控件层级，避免覆盖站点导航栏 */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,.08);
    margin-bottom: 14px;
    background: #e8e4dd;
}
.wl-footprint-map {
    width: 100%;
    height: 420px;
}

/* 城市标签列表 */
.wl-footprint-city-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.wl-footprint-city-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    background: var(--wl-bg-card, #f7f5f0);
    border: 1px solid var(--wl-border, #e0dcd2);
    border-radius: 20px;
    text-decoration: none;
    color: var(--wl-text, #333);
    font-size: 13px;
    transition: border-color .15s, background .15s;
}
.wl-footprint-city-tag:hover {
    border-color: var(--wl-accent, #c4923a);
    background: var(--wl-bg-card, #f7f5f0);
}
.wl-footprint-city-name {
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.wl-footprint-city-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    background: var(--wl-accent, #c4923a);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    border-radius: 9px;
    line-height: 1;
}

@media (max-width: 600px) {
    .wl-footprint-map { height: 280px; }
}

/* 高德地图标记提示气泡 */
.wl-footprint-marker-tooltip {
    background: rgba(0,0,0,.72) !important;
    border: none !important;
    color: #fff !important;
    font-size: 11px !important;
    padding: 3px 8px !important;
    border-radius: 10px !important;
    box-shadow: none !important;
}
.wl-footprint-marker-tooltip::before { display: none !important; }

/* 足迹层级切换按钮（仅 owner 可见） */
.wl-footprint-level-switch {
    display: flex;
    gap: 4px;
    background: var(--wl-bg);
    border-radius: 10px;
    padding: 3px;
    border: 1px solid var(--wl-border-light);
}

.wl-level-btn {
    border: none;
    background: transparent;
    color: var(--wl-text-muted);
    font-size: 12px;
    padding: 5px 10px;
    border-radius: 8px;
    cursor: pointer;
    white-space: nowrap;
    transition: all .2s;
}

.wl-level-btn:hover {
    color: var(--wl-text);
}

.wl-level-btn.active {
    background: var(--wl-accent);
    color: #fff;
}

/* 足迹国家卡片 */
.wl-footprint-country-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 10px;
}

.wl-footprint-country-card {
    display: flex;
    align-items: flex-start;
    padding: 12px;
    border: 1px solid var(--wl-border-light);
    border-radius: 12px;
    background: var(--wl-bg);
}

.wl-footprint-country-top {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.wl-footprint-country-flag {
    font-size: 28px;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}

.wl-footprint-country-card h3 {
    margin: 0;
    font-size: 15px;
    color: var(--wl-text);
    font-weight: 600;
}

.wl-footprint-country-card p {
    margin: 4px 0 0;
    font-size: 12px;
    color: var(--wl-text-muted);
    line-height: 1.4;
}

/* ===== 足迹 / 收藏 手动管理 UI ===== */

.wl-footprints-manage {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--wl-border-light);
}

.wl-manage-hint {
    font-size: 12px;
    color: var(--wl-text-muted);
    margin: 0 0 12px;
}

.wl-manage-add-btn {
    border: 1px solid var(--wl-accent, #c4923a);
    background: transparent;
    color: var(--wl-accent, #c4923a);
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    transition: all .15s;
    flex-shrink: 0;
}
.wl-manage-add-btn:hover {
    background: var(--wl-accent, #c4923a);
    color: #fff;
}

/* 手动城市列表 */
.wl-manual-city-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    min-height: 32px;
    align-items: center;
}

.wl-manual-city-tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--wl-bg-card, #f5f0e8);
    border: 1px solid var(--wl-border-light);
    border-radius: 16px;
    padding: 4px 6px 4px 12px;
    font-size: 13px;
    color: var(--wl-text);
    transition: opacity .2s;
}
.wl-manual-city-tag small {
    font-size: 11px;
    color: var(--wl-text-muted);
    margin-left: 2px;
}

.wl-manual-del {
    border: none;
    background: none;
    color: var(--wl-text-muted);
    font-size: 15px;
    cursor: pointer;
    padding: 0 4px;
    line-height: 1;
    border-radius: 50%;
    transition: all .15s;
}
.wl-manual-del:hover {
    color: #d14;
    background: rgba(221, 17, 68, .08);
}

/* 通用加载/空态/错误 */
.wl-manage-loading,
.wl-manage-empty,
.wl-manage-error {
    font-size: 12px;
    color: var(--wl-text-muted);
}
.wl-manage-error { color: #d14; }

/* 弹窗 */
.wl-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 100060;
    background: rgba(0,0,0,.35);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.wl-modal-dialog {
    background: var(--wl-bg, #fff);
    border-radius: 14px;
    width: 420px;
    max-width: 92vw;
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0,0,0,.14);
}

.wl-city-modal-dialog { width: 380px; }

.wl-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px 12px;
    border-bottom: 1px solid var(--wl-border-light);
}
.wl-modal-head h3 { margin: 0; font-size: 16px; color: var(--wl-text); }
.wl-modal-close {
    border: none;
    background: none;
    font-size: 20px;
    color: var(--wl-text-muted);
    cursor: pointer;
    padding: 0 4px;
}

.wl-modal-body {
    padding: 16px 20px 20px;
}

.wl-manage-label {
    display: block;
    font-size: 12px;
    color: var(--wl-text-muted);
    margin: 10px 0 4px;
}
.wl-manage-label:first-child { margin-top: 0; }

.wl-manage-input {
    width: 100%;
    box-sizing: border-box;
    padding: 8px 12px;
    border: 1px solid var(--wl-border-light);
    border-radius: 8px;
    font-size: 14px;
    background: var(--wl-bg);
    color: var(--wl-text);
    outline: none;
}
.wl-manage-input:focus { border-color: var(--wl-accent, #c4923a); }

.wl-manage-search-row {
    display: flex;
    gap: 8px;
}
.wl-manage-search-row .wl-manage-input { flex: 1; }

/* 弹窗移动端统一为底部抽屉：一屏放得下、拇指易达，与 WL 弹出层保持一致。 */
@media (max-width: 700px) {
    .wl-modal-overlay {
        align-items: flex-end;
        justify-content: stretch;
        padding: 0;
        background: rgba(0, 0, 0, .4);
    }
    .wl-modal-dialog {
        width: 100%;
        max-width: 100%;
        max-height: 92vh;
        margin: 0;
        border-radius: 20px 20px 0 0;
        box-shadow: 0 -10px 40px rgba(35, 31, 24, .22);
    }
    .wl-city-modal-dialog { width: 100%; }
    .wl-modal-head { padding: 18px 16px 12px; }
    .wl-modal-body { padding: 14px 16px calc(20px + env(safe-area-inset-bottom, 0px)); }
}

.wl-manage-search-btn {
    border: none;
    background: var(--wl-accent, #c4923a);
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
    flex-shrink: 0;
}
.wl-manage-search-btn:hover { opacity: .88; }

/* 手动城市搜索：名称、地区与候选结果分层显示，避免长地址挤压错行。 */
.wl-city-search-help {
    margin: 7px 0 0;
    color: var(--wl-text-muted);
    font-size: 11px;
    line-height: 1.55;
}
.wl-city-search-results {
    margin-top: 10px;
    border: 1px solid var(--wl-border-light);
    border-radius: 8px;
    max-height: 260px;
    overflow-y: auto;
}

.wl-city-result-item {
    width: 100%;
    box-sizing: border-box;
    padding: 11px 12px;
    cursor: pointer;
    border: 0;
    border-bottom: 1px solid var(--wl-border-light);
    background: var(--wl-bg, #fff);
    color: var(--wl-text);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 3px 12px;
    text-align: left;
    font: inherit;
    transition: background .12s;
}
.wl-city-result-item:last-child { border-bottom: none; }
.wl-city-result-item:hover,
.wl-city-result-item:focus { background: var(--wl-bg-card, #f5f0e8); outline: none; }
.wl-city-result-item strong {
    min-width: 0;
    font-size: 13px;
    color: var(--wl-text);
    font-weight: 600;
}
.wl-city-result-item em {
    grid-column: 1;
    color: var(--wl-text-muted);
    font-size: 11px;
    font-style: normal;
}
.wl-city-result-item span {
    grid-column: 1 / -1;
    color: var(--wl-text-muted);
    font-size: 11px;
    line-height: 1.45;
    overflow-wrap: anywhere;
}
.wl-city-result-item small {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    color: var(--wl-text-muted);
    font-size: 11px;
    white-space: nowrap;
}

.wl-manage-fields { margin-top: 8px; }

.wl-manage-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 16px;
}

.wl-manage-cancel-btn,
.wl-manage-save-btn {
    border: none;
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 13px;
    cursor: pointer;
}
.wl-manage-cancel-btn {
    background: var(--wl-bg-card, #f5f0e8);
    color: var(--wl-text);
}
.wl-manage-save-btn {
    background: var(--wl-accent, #c4923a);
    color: #fff;
}
.wl-manage-save-btn:disabled {
    opacity: .4;
    cursor: not-allowed;
}

.wl-manage-status {
    margin-top: 8px;
    font-size: 12px;
    min-height: 18px;
}
.wl-manage-status-ok { color: #2a8; }
.wl-manage-status-err { color: #d14; }

.wl-travel-footprint-link {
    display: inline-block;
    margin-top: 10px;
    padding: 8px 12px;
    border-radius: 9px;
    background: #fff0ed;
    color: #cf5c54;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

@media (max-width: 600px) {
    .wl-footprint-country-list {
        grid-template-columns: 1fr;
    }
    .wl-footprint-level-switch {
        gap: 2px;
        padding: 2px;
    }
    .wl-level-btn {
        font-size: 11px;
        padding: 4px 8px;
    }
}

/* ========== 编辑可见范围弹层 ========== */
.wl-visibility-dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
    animation: wl-fade-in 0.2s ease;
}

@keyframes wl-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.wl-visibility-dialog {
    background: var(--wl-bg-card);
    border-radius: var(--wl-radius);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    width: 100%;
    max-width: 480px;
    max-height: 90vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    animation: wl-slide-up 0.2s ease;
}

@keyframes wl-slide-up {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.wl-visibility-dialog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid var(--wl-border);
}

.wl-visibility-dialog-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--wl-text);
}

.wl-visibility-dialog-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: var(--wl-text-muted);
    font-size: 24px;
    line-height: 1;
    transition: all var(--wl-transition);
}

.wl-visibility-dialog-close:hover {
    background: var(--wl-bg-hover);
    color: var(--wl-text);
}

.wl-visibility-dialog-body {
    padding: 24px;
    overflow-y: auto;
}

.wl-visibility-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wl-visibility-option {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    border: 2px solid var(--wl-border);
    border-radius: var(--wl-radius-sm);
    cursor: pointer;
    transition: all var(--wl-transition);
}

.wl-visibility-option:hover {
    border-color: var(--wl-primary);
    background: var(--wl-bg-hover);
}

.wl-visibility-option input[type="radio"] {
    margin-top: 2px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.wl-visibility-option input[type="radio"]:checked {
    accent-color: var(--wl-primary);
}

.wl-visibility-option-content {
    flex: 1;
}

.wl-visibility-option-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 600;
    color: var(--wl-text);
    margin-bottom: 4px;
}

.wl-visibility-option-title svg {
    flex-shrink: 0;
}

.wl-visibility-option-desc {
    font-size: 13px;
    color: var(--wl-text-muted);
    line-height: 1.5;
}

.wl-visibility-schedule {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--wl-border);
}

.wl-visibility-schedule-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    color: var(--wl-text);
}

.wl-visibility-schedule-toggle input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.wl-visibility-schedule-picker {
    margin-top: 12px;
}

.wl-schedule-datetime {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--wl-border);
    border-radius: var(--wl-radius-sm);
    font-size: 14px;
    color: var(--wl-text);
    background: var(--wl-bg);
    transition: border-color var(--wl-transition);
}

.wl-schedule-datetime:focus {
    outline: none;
    border-color: var(--wl-primary);
}

.wl-visibility-dialog-footer {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding: 16px 24px;
    border-top: 1px solid var(--wl-border);
}

.wl-visibility-dialog-footer button {
    padding: 10px 20px;
    border-radius: var(--wl-radius-sm);
    font-size: 14px;
    font-weight: 600;
    transition: all var(--wl-transition);
}

.wl-visibility-dialog-cancel {
    color: var(--wl-text);
    background: transparent;
}

.wl-visibility-dialog-cancel:hover {
    background: var(--wl-bg-hover);
}

.wl-visibility-dialog-save {
    color: #fff;
    background: #C8853F;
    border: none;
}

.wl-visibility-dialog-save:hover {
    background: #A86B2C;
}

/* ========== Vibe Coding / 项目演示展示与编辑 ========== */
.wl-project-showcase-shell { position:relative; margin:8px 0 4px; padding:20px; overflow:hidden; border:1px solid color-mix(in srgb,var(--wl-accent) 20%,var(--wl-border-light)); border-radius:18px; background:linear-gradient(145deg, color-mix(in srgb,var(--wl-accent) 8%,rgba(255,255,253,.92)), rgba(255,255,253,.78) 53%, color-mix(in srgb,#6f8f88 7%,rgba(255,255,253,.85))); box-shadow:0 14px 34px rgba(45,40,33,.065), inset 0 1px rgba(255,255,255,.88); }
.wl-project-showcase-shell::after { content:""; position:absolute; right:-90px; bottom:-130px; width:250px; height:250px; border:1px solid color-mix(in srgb,var(--wl-accent) 20%,transparent); border-radius:50%; pointer-events:none; }
.wl-project-showcase-top { position:relative; z-index:1; display:flex; align-items:flex-start; justify-content:space-between; gap:15px; }
.wl-project-showcase-mark { display:block; margin-bottom:6px; color:var(--wl-accent-dark); font-size:10px; font-weight:850; letter-spacing:.15em; }
.wl-project-showcase-top h3 { margin:0; color:var(--wl-text); font-size:23px; line-height:1.15; letter-spacing:-.035em; }
.wl-project-showcase-top p { max-width:450px; margin:7px 0 0; color:var(--wl-text-secondary); font-size:13px; line-height:1.55; }
.wl-project-showcase-count { display:grid; place-items:center; min-width:45px; min-height:45px; padding:5px; border:1px solid color-mix(in srgb,var(--wl-accent) 20%,var(--wl-border)); border-radius:10px; background:rgba(255,255,253,.62); color:var(--wl-accent-dark); font-size:16px; font-weight:850; line-height:1; font-variant-numeric:tabular-nums; }
.wl-project-showcase-count small { margin-top:2px; color:var(--wl-text-muted); font-size:8px; font-weight:760; letter-spacing:.08em; text-transform:uppercase; }
.wl-project-screen-gallery { position:relative; z-index:1; display:flex; gap:12px; margin:18px 0 17px; padding:2px 2px 9px; overflow-x:auto; overflow-y:hidden; border-radius:0; background:transparent; scroll-snap-type:x proximity; scrollbar-width:thin; scrollbar-color:color-mix(in srgb,var(--wl-accent) 35%,transparent) transparent; }
.wl-project-screen-gallery::-webkit-scrollbar { height:5px; }
.wl-project-screen-gallery::-webkit-scrollbar-thumb { border-radius:99px; background:color-mix(in srgb,var(--wl-accent) 32%,transparent); }
.wl-project-screen { position:relative; flex:0 0 clamp(136px, 31%, 190px); aspect-ratio:9 / 18.7; overflow:visible; scroll-snap-align:start; border:1px solid rgba(45,42,37,.16); border-radius:19px; background:#20201e; box-shadow:0 9px 17px rgba(43,38,31,.18), 0 22px 28px rgba(43,38,31,.08); transition:transform var(--wl-transition), box-shadow var(--wl-transition); }
.wl-project-screen:hover { transform:translateY(-3px) rotate(-.35deg); box-shadow:0 13px 21px rgba(43,38,31,.21), 0 26px 34px rgba(43,38,31,.11); }
.wl-project-screen .wl-media-item { width:100%; height:100%; overflow:hidden; border:4px solid #242421; border-radius:18px; background:#e9e8e3; animation:none; }
.wl-project-screen .wl-media-item::before { content:""; position:absolute; z-index:3; top:5px; left:50%; width:33%; height:8px; border-radius:0 0 7px 7px; transform:translateX(-50%); background:#242421; pointer-events:none; }
.wl-project-screen .wl-media-item img, .wl-project-screen .wl-media-item video { width:100%; height:100%; object-fit:cover; }
.wl-project-screen-index { position:absolute; z-index:4; right:7px; bottom:7px; padding:4px 5px; border:1px solid rgba(255,255,255,.2); border-radius:6px; background:rgba(25,24,21,.56); box-shadow:0 2px 6px rgba(0,0,0,.13); color:#fff; font-size:9px; font-weight:820; letter-spacing:.07em; backdrop-filter:blur(8px); }
.wl-project-screen-more { display:grid; flex:0 0 112px; place-content:center; gap:5px; align-self:stretch; min-height:160px; border:1px dashed color-mix(in srgb,var(--wl-accent) 42%,var(--wl-border)); border-radius:15px; background:rgba(255,255,253,.52); color:var(--wl-accent-dark); font-size:21px; font-weight:850; line-height:1; text-align:center; text-decoration:none; }
.wl-project-screen-more small { color:var(--wl-text-muted); font-size:10px; font-weight:700; }
.wl-project-showcase-summary { position:relative; z-index:1; margin:0 0 14px; color:var(--wl-text-secondary); font-size:14px; line-height:1.72; }
.wl-project-showcase-summary p { margin:0; }
.wl-project-showcase-meta { position:relative; z-index:1; display:flex; flex-wrap:wrap; align-items:center; gap:7px; padding-top:13px; border-top:1px solid rgba(74,69,59,.1); color:var(--wl-text-muted); font-size:11px; font-weight:700; }
.wl-project-showcase-meta span { padding-right:8px; border-right:1px solid var(--wl-border-light); }
.wl-project-showcase-meta a { color:var(--wl-accent-dark); font-weight:820; text-decoration:none; }
.wl-project-showcase-shell.is-single { margin:0 0 22px; padding:clamp(19px,4vw,32px); }
.wl-project-showcase-shell.is-single .wl-project-screen-gallery { gap:15px; padding-bottom:11px; }
.wl-project-showcase-shell.is-single .wl-project-screen { flex-basis:clamp(170px, 34%, 250px); }
.wl-project-feature-map, .wl-project-note-block { position:relative; z-index:1; margin-top:27px; padding-top:23px; border-top:1px solid var(--wl-border-light); }
.wl-project-detail-heading { display:flex; align-items:flex-start; gap:12px; margin:0 0 14px; }
.wl-project-detail-heading > span { display:grid; place-items:center; width:27px; height:27px; border:1px solid color-mix(in srgb,var(--wl-accent) 36%,var(--wl-border)); border-radius:7px; color:var(--wl-accent-dark); font-size:10px; font-weight:850; letter-spacing:.04em; }
.wl-project-detail-heading b { color:var(--wl-text); font-size:17px; letter-spacing:-.02em; }
.wl-project-detail-heading small { display:block; margin-top:3px; color:var(--wl-text-muted); font-size:11px; font-weight:560; }
.wl-project-feature-map-section { margin:11px 0; padding:14px; border:1px solid rgba(74,69,59,.1); border-radius:12px; background:rgba(255,255,253,.53); }
.wl-project-feature-map-section h4 { margin:0 0 11px; color:var(--wl-accent-dark); font-size:12px; letter-spacing:.06em; }
.wl-project-feature-map-section article { position:relative; padding:9px 0 9px 17px; border-top:1px solid rgba(74,69,59,.08); }
.wl-project-feature-map-section article:first-of-type { border-top:0; }
.wl-project-feature-map-section article::before { content:""; position:absolute; top:16px; left:1px; width:6px; height:6px; border-radius:50%; background:var(--wl-accent); box-shadow:0 0 0 4px color-mix(in srgb,var(--wl-accent) 10%,transparent); }
.wl-project-feature-map-section strong { color:var(--wl-text); font-size:14px; }
.wl-project-feature-map-section p { margin:5px 0 0; color:var(--wl-text-secondary); font-size:12px; line-height:1.6; }
.wl-project-feature-map-section ul { display:grid; gap:3px; margin:8px 0 0; padding:0; list-style:none; color:var(--wl-text-muted); font-size:11px; line-height:1.55; }
.wl-project-feature-map-section li::before { content:"↳"; margin-right:6px; color:var(--wl-accent); }
.wl-project-note-block > div:last-child { padding:13px 15px; border-left:2px solid color-mix(in srgb,var(--wl-accent) 58%,transparent); background:rgba(255,255,253,.42); color:var(--wl-text-secondary); font-size:13px; line-height:1.75; }
.wl-project-note-block p { margin:0; }
.wl-project-edit-fields input, .wl-project-edit-meta input, .wl-project-edit-notes textarea { box-sizing:border-box; width:100%; border:1px solid var(--wl-border); border-radius:9px; background:var(--wl-bg); color:var(--wl-text); font:inherit; }
.wl-project-edit-fields > input { margin:0 0 13px; padding:10px 12px; }
.wl-project-edit-meta { display:grid; grid-template-columns:1fr 1.25fr; gap:10px; margin:12px 0 4px; }
.wl-project-edit-meta label { display:grid; gap:6px; color:var(--wl-text-secondary); font-size:12px; }
.wl-project-edit-meta input { padding:9px 10px; }
.wl-project-edit-notes { display:grid; gap:7px; margin-top:17px; }
.wl-project-edit-notes textarea { min-height:92px; padding:10px 11px; line-height:1.55; resize:vertical; }
.wl-moment-edit-body .wl-project-feature-section { margin:9px 0; }
@media (max-width:600px) { .wl-project-showcase-shell { padding:16px; border-radius:15px; } .wl-project-showcase-top h3 { font-size:20px; } .wl-project-screen-gallery { gap:10px; margin:15px 0; } .wl-project-screen { flex-basis:132px; border-radius:17px; } .wl-project-screen .wl-media-item { border-radius:16px; } .wl-project-screen-more { flex-basis:92px; min-height:148px; border-radius:13px; } .wl-project-showcase-shell.is-single .wl-project-screen { flex-basis:156px; } .wl-project-edit-meta { grid-template-columns:1fr; } }

body.wl-dialog-open {
    overflow: hidden;
}

@media (max-width: 600px) {
    .wl-visibility-dialog {
        max-width: 100%;
        border-radius: var(--wl-radius) var(--wl-radius) 0 0;
        align-self: flex-end;
    }
    
    .wl-visibility-dialog-header,
    .wl-visibility-dialog-body,
    .wl-visibility-dialog-footer {
        padding-left: 16px;
        padding-right: 16px;
    }
}

/* ========== 正文富文本工具条（加粗 / 下划线 / 高亮） ========== */
.wl-format-toolbar {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}
.wl-format-btn {
    min-width: 32px;
    height: 32px;
    padding: 0 10px;
    border: 1px solid var(--wl-border);
    background: var(--wl-bg);
    color: var(--wl-text-secondary);
    border-radius: 8px;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    transition: border-color .15s ease, color .15s ease, background .15s ease, transform .1s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.wl-format-btn:hover { border-color: var(--wl-accent); color: var(--wl-accent); }
.wl-format-btn:active { transform: scale(.92); }
.wl-fmt-bold { font-weight: 800; }
.wl-fmt-highlight {
    color: var(--wl-accent);
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-color: color-mix(in srgb, var(--wl-accent) 68%, transparent);
    text-decoration-skip-ink: none;
    text-underline-offset: -2px;
    text-decoration-thickness: 4.08px;
}
.wl-format-preview-toggle { margin-left: auto; font-size: 12px; }
.wl-format-preview-toggle.is-active {
    border-color: var(--wl-accent);
    color: var(--wl-accent);
    background: color-mix(in srgb, var(--wl-accent) 12%, transparent);
}

/* 实时样式预览面板 */
.wl-rich-preview {
    margin-top: 8px;
    padding: 10px 12px;
    border: 1px dashed var(--wl-border);
    border-radius: var(--wl-radius-sm);
    background: color-mix(in srgb, var(--wl-bg) 72%, #fff);
    color: var(--wl-text);
    font-size: 14px;
    line-height: 1.7;
    word-break: break-word;
}
.wl-rich-preview[hidden] { display: none; }
.wl-rich-preview .wl-tag {
    color: var(--wl-accent);
    text-decoration: none;
}
.wl-rich-preview .wl-tag:hover { text-decoration: underline; }

/* 动态正文里的行内样式（与发布页标记语法对齐：**加粗** / ==荧光笔下划线==，旧 __下划线__ 兼容同效） */
.wl-moment-text strong,
.wl-daily-note-content strong,
.wl-todo-note strong,
.wl-okr-note strong,
.wl-growth-report-note strong,
.wl-outfit-text strong,
.wl-reading-quote strong,
.wl-project-showcase-summary strong {
    font-weight: 700;
    color: var(--wl-text);
}

.wl-moment-text u,
.wl-daily-note-content u,
.wl-todo-note u,
.wl-okr-note u,
.wl-growth-report-note u,
.wl-outfit-text u,
.wl-reading-quote u,
.wl-project-showcase-summary u {
    text-decoration: underline;
    text-decoration-color: var(--wl-accent);
    text-underline-offset: 2px;
    text-decoration-thickness: 1.5px;
}

.wl-moment-text mark,
.wl-daily-note-content mark,
.wl-todo-note mark,
.wl-okr-note mark,
.wl-growth-report-note mark,
.wl-outfit-text mark,
.wl-reading-quote mark,
.wl-project-showcase-summary mark {
    background: none;
    color: inherit;
    padding: 0 .12em;
    /* 荧光笔下划线：照搬参考写法的核心——skip-ink:none 让粗线穿过文字，
       offset:-2px 把线压在字脚附近；颜色跟随主题色（替换原 #FFDA23） */
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-color: color-mix(in srgb, var(--wl-accent) 68%, transparent);
    text-decoration-thickness: 6.8px;
    text-decoration-skip-ink: none;
    text-underline-offset: -2px;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}
.wl-moment-text mark:hover,
.wl-daily-note-content mark:hover,
.wl-todo-note mark:hover,
.wl-okr-note mark:hover,
.wl-growth-report-note mark:hover,
.wl-outfit-text mark:hover,
.wl-reading-quote mark:hover,
.wl-project-showcase-summary mark:hover {
    text-decoration-thickness: 5.44px;
    text-underline-offset: 3px;
}


/* ========== 评论 · 液态玻璃版（朋友圈式内联 + 详情页共用） ========== */

/* 内联评论面板：社交 app 式 · 轻分隔融入卡片，去除大玻璃容器 */
.wl-inline-comments {
    position: relative;
    z-index: 2;
    margin: 10px 14px 12px;
    padding: 0;
    background: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    border: 0;
    border-top: 1px solid rgba(40, 50, 90, .10);
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
    animation: wl-comments-in .22s ease;
}

@keyframes wl-comments-in {
    from { opacity: 0; transform: translateY(-4px); }
    to   { opacity: 1; transform: translateY(0); }
}

.wl-inline-comments.is-closing {
    animation: wl-comments-out .18s ease forwards;
}

@keyframes wl-comments-out {
    from { opacity: 1; transform: translateY(0); }
    to   { opacity: 0; transform: translateY(-4px); }
}

/* 评论列表（自绘，详情页与内联共用） */
.wl-comment-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.wl-comment-row {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 8px 0;
}

.wl-comment-row + .wl-comment-row {
    border-top: 1px solid rgba(40, 50, 90, .06);
}

/* 回复行：左缩进 + 细引导线 */
.wl-comment-row-reply {
    margin-left: 32px;
    padding-left: 10px;
    border-left: 1px solid rgba(40, 50, 90, .12);
}

.wl-comment-row-reply + .wl-comment-row-reply {
    border-top: 1px solid rgba(40, 50, 90, .05);
}

/* 评论操作按钮（回复 / 删除） */
.wl-comment-actions .wl-comment-reply-btn,
.wl-comment-actions .wl-comment-delete-btn {
    padding: 0;
    border: 0;
    background: none;
    color: var(--wl-text-muted);
    font: inherit;
    font-size: 11px;
    cursor: pointer;
    transition: color .18s ease;
}

.wl-comment-actions .wl-comment-reply-btn:hover { color: var(--wl-accent); }

.wl-comment-actions .wl-comment-delete-btn { margin-left: 12px; }
.wl-comment-actions .wl-comment-delete-btn:hover { color: #d93025; }

/* 评论区头部（详情页） */
.wl-comments-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2px;
}

/* 评论输入区（极简：一行 input + 右侧发送，去头像/去分隔） */
.wl-comment-composer {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    gap: 6px;
    margin-top: 10px;
}

.wl-comment-composer-wrap {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.wl-comment-input {
    flex: 1;
    min-width: 0;
    display: block;
    box-sizing: border-box;
    min-height: 38px;
    max-height: 120px;
    padding: 9px 12px;
    border: 1px solid rgba(40, 50, 90, .10);
    border-radius: 18px;
    /* 2026-08-22：补 backdrop-filter，让半透白真正成玻璃（之前 bf:none 只是假透明） */
    background: rgba(255, 255, 255, .55);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
    backdrop-filter: blur(12px) saturate(140%);
    color: var(--wl-text);
    font: inherit;
    font-size: 14px;
    line-height: 1.45;
    resize: none;
    outline: none;
    transition: background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.wl-comment-input::placeholder { color: var(--wl-text-muted); }

.wl-comment-input:focus {
    background: rgba(255, 255, 255, .82);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
    backdrop-filter: blur(12px) saturate(140%);
    border-color: color-mix(in srgb, var(--wl-accent) 40%, transparent);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--wl-accent) 12%, transparent);
}

.wl-comment-send {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 50%;
    background: var(--wl-accent);
    color: #fff;
    cursor: pointer;
    box-shadow: 0 4px 12px color-mix(in srgb, var(--wl-accent) 35%, transparent);
    transition: transform .15s ease, box-shadow .18s ease, opacity .18s ease;
}

.wl-comment-send:hover { transform: translateY(-1px); }
.wl-comment-send:active { transform: scale(.94); }
.wl-comment-send:disabled { opacity: .5; cursor: default; transform: none; box-shadow: none; }

.wl-comment-reply-hint {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--wl-text-muted);
    font-size: 12px;
}

.wl-comment-reply-hint[hidden] { display: none; }
.wl-comment-reply-hint .wl-comment-reply-target { color: var(--wl-accent); }

.wl-comment-cancel-reply {
    padding: 0;
    border: 0;
    background: none;
    color: var(--wl-text-muted);
    font: inherit;
    font-size: 12px;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.wl-comment-cancel-reply:hover { color: var(--wl-text); }

/* 空态 / 未登录提示 */
.wl-comment-empty,
.wl-comment-login-hint {
    margin: 0;
    padding: 6px 2px 2px;
    color: var(--wl-text-muted);
    font-size: 12px;
    text-align: left;
}

@media (max-width: 600px) {
    .wl-inline-comments { margin: 8px 10px 10px; }
    .wl-comment-row-reply { margin-left: 24px; padding-left: 9px; }
    .wl-comment-composer { gap: 6px; }
    .wl-comment-send { width: 30px; height: 30px; }
}

/* ========== 个人资料卡：液态玻璃化（对齐整站毛玻璃语言） ========== */
.wl-profile-header {
    background: rgba(255, 255, 252, .22);
    -webkit-backdrop-filter: blur(26px) saturate(155%);
    backdrop-filter: blur(26px) saturate(155%);
    border: 1px solid rgba(255, 255, 255, .62);
    color: var(--wl-text);
    box-shadow:
        0 16px 40px rgba(40, 50, 90, .16),
        0 0 0 1px rgba(255, 255, 255, .3),
        inset 0 1px 0 rgba(255, 255, 255, .95);
    margin-bottom: 16px;
}

/* 默认（小红书）皮肤：整卡玻璃圆角 + 封面淡出 */
.wl-profile-header:not(.wl-profile-style-weibo):not(.wl-profile-style-instagram) {
    border-radius: 22px;
    overflow: hidden;
}

.wl-profile-style-weibo.wl-profile-header {
    border-radius: 0;
    overflow: visible;
}

.wl-profile-style-instagram.wl-profile-header {
    border-radius: 22px;
    overflow: visible;
}

/* 封面：弱化为氛围背景（仅含封面的皮肤可见） */
.wl-profile-cover {
    opacity: .42;
    filter: blur(2.5px);
    transform: scale(1.05);
}

.wl-profile-cover-overlay {
    background: linear-gradient(180deg, rgba(255, 255, 255, .12) 0%, rgba(255, 255, 255, .36) 100%);
}

/* 文字与胶囊：深色 + 玻璃 */
.wl-profile-info { color: var(--wl-text); }
.wl-profile-name { color: var(--wl-text); }
.wl-profile-details { color: var(--wl-text-secondary); }
.wl-profile-bio { color: var(--wl-text-secondary); }

.wl-profile-location,
.wl-social {
    border: 1px solid rgba(255, 255, 255, .6);
    background: rgba(255, 255, 255, .45);
    color: var(--wl-text-secondary);
}

.wl-profile-location:hover,
.wl-social:hover { color: var(--wl-accent); }

.wl-edit-profile-btn {
    border: 1px solid rgba(255, 255, 255, .6);
    background: rgba(255, 255, 255, .45);
    color: var(--wl-text-secondary);
}

.wl-edit-profile-btn:hover {
    color: var(--wl-accent);
    border-color: rgba(255, 255, 255, .85);
    background: rgba(255, 255, 255, .62);
}

/* 统计 */
.wl-stat { color: var(--wl-text); }
.wl-stat-label { color: var(--wl-text-muted); }

/* 动态 / 相册切换 tab：深色 + 品牌色激活 */
.wl-view-tabs { border-top-color: rgba(40, 50, 90, .10); }
.wl-view-tab { color: var(--wl-text-secondary); }
.wl-view-tab:hover,
.wl-view-tab.active { color: var(--wl-accent); }
.wl-view-tab.active { border-bottom-color: var(--wl-accent); }

/* instagram 皮肤专属细节 */
.wl-profile-style-instagram .wl-profile-avatar {
    border: 2px solid rgba(255, 255, 255, .9);
    background: rgba(255, 255, 255, .55);
    box-shadow: 0 6px 18px rgba(40, 50, 90, .14);
}

.wl-profile-style-instagram .wl-profile-stories { border-bottom-color: rgba(40, 50, 90, .08); }

.wl-profile-style-instagram .wl-profile-story-ring {
    background: rgba(255, 255, 255, .55);
    border-color: rgba(255, 255, 255, .7);
}

.wl-profile-style-instagram .wl-profile-story-add .wl-profile-story-ring {
    background: rgba(255, 255, 255, .4);
}

/* 个人资料卡：与顶部导航栏留出间距 */
.wl-profile-header {
    margin-top: 14px;
}

/* 动态 / 相册切换 tab：去掉突兀横线，用留白分隔 */
.wl-view-tabs {
    border-top: 0;
    padding-top: 6px;
}

.wl-profile-style-instagram .wl-profile-stories {
    border-bottom: 0;
}

/* instagram 皮肤 tab 容器底部的深色横线（漏网之鱼） */
.wl-profile-style-instagram .wl-view-tabs {
    border-bottom: 0;
    padding-bottom: 4px;
}

/* ========== 资料卡顶部直角 + 与导航栏无缝衔接 ========== */
.wl-profile-header { margin-top: 0; }

.wl-profile-style-instagram.wl-profile-header {
    border-radius: 0 0 22px 22px;
    overflow: hidden;
}

/* 首页导航栏底部细线去掉，资料卡无缝接上 */
body.home .wl-navbar { border-bottom: 0; }

/* ========== 动态 / 相册 tab：改高亮胶囊交互，彻底去下划线黑线 ========== */
.wl-view-tabs {
    display: flex;
    gap: 6px;
    padding: 10px 12px 6px;
    border-top: 0;
    border-bottom: 0;
}

.wl-view-tab,
.wl-view-tab.active,
.wl-profile-style-instagram .wl-view-tab,
.wl-profile-style-instagram .wl-view-tab.active {
    border-bottom: 0 !important;
}

.wl-view-tab {
    padding: 9px 12px;
    border-radius: 10px;
    color: var(--wl-text-secondary);
    font-weight: 600;
    transition: background .18s ease, color .18s ease;
}

.wl-view-tab:hover {
    color: var(--wl-text);
    background: rgba(255, 255, 255, .35);
}

.wl-view-tab.active {
    color: var(--wl-accent);
    background: rgba(255, 255, 255, .55);
}

/* ========== 动态 / 相册 tab：借鉴 IG profile 页·居中文字段控件 ========== */
/* tabs 已在 index.php 中移到 profile 卡外，独立行段控件，无玻璃外壳 */
.wl-view-tabs {
    display: flex;
    justify-content: center;
    gap: 28px;
    padding: 14px 0 10px;
    background: none !important;
    border: 0 !important;
}

.wl-view-tab,
.wl-view-tab.active,
.wl-profile-style-instagram .wl-view-tab,
.wl-profile-style-instagram .wl-view-tab.active,
.wl-profile-style-weibo .wl-view-tab,
.wl-profile-style-weibo .wl-view-tab.active {
    border: 0 !important;
    border-bottom: 0 !important;
    background: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 4px 0;
    color: var(--wl-text-muted);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    transition: color .18s ease, font-weight .18s ease;
}

.wl-view-tab:hover { color: var(--wl-text); }

.wl-view-tab.active {
    color: var(--wl-accent);
    font-weight: 700;
}

/* ========== 小红书个人主页风格版 ========== */
/* tab 栏：左对齐（小红书式），激活=黑字加粗+品牌橙短横线 */
.wl-view-tabs {
    display: flex;
    justify-content: flex-start;
    gap: 36px;
    padding: 14px 16px 12px;
    background: none !important;
    border: 0 !important;
}

.wl-view-tab,
.wl-view-tab.active,
.wl-profile-style-instagram .wl-view-tab,
.wl-profile-style-instagram .wl-view-tab.active,
.wl-profile-style-weibo .wl-view-tab,
.wl-profile-style-weibo .wl-view-tab.active {
    position: relative;
    border: 0 !important;
    border-bottom: 0 !important;
    background: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    padding: 2px 0 6px;
    color: var(--wl-text-muted);
    font-size: 15px;
    font-weight: 500;
}

.wl-view-tab:hover { color: var(--wl-text); }

.wl-view-tab.active {
    color: var(--wl-text);
    font-weight: 700;
}

/* 激活短横线：小红书红线 → 品牌橙，18×3 圆角居中于文字下方 */
.wl-view-tab.active::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -2px;
    width: 18px;
    height: 3px;
    border-radius: 2px;
    background: var(--wl-accent);
    transform: translateX(-50%);
}

/* 资料卡：小红书排版比例（头像 76px、昵称 20px、数字大标签小） */
.wl-profile-style-instagram .wl-profile-avatar {
    width: 76px;
    height: 76px;
    border: 2px solid rgba(255, 255, 255, .9);
    box-shadow: 0 4px 12px rgba(40, 50, 90, .12);
}

.wl-profile-style-instagram .wl-profile-identity {
    gap: 16px;
}

.wl-profile-style-instagram .wl-profile-name {
    font-size: 20px;
    font-weight: 700;
}

.wl-profile-style-instagram .wl-profile-details {
    margin-top: 6px;
    font-size: 12px;
}

.wl-profile-style-instagram .wl-profile-info {
    padding: 20px 20px 14px;
}

.wl-profile-style-instagram .wl-profile-bio {
    margin-top: 12px;
    font-size: 13px;
}

/* 统计：数字加粗大、标签小灰（小红书数据行） */
.wl-profile-style-instagram .wl-profile-stats { gap: 30px; margin-top: 12px; }
.wl-profile-style-instagram .wl-stat { flex-direction: row; align-items: baseline; gap: 5px; }
.wl-profile-style-instagram .wl-stat-num { font-size: 17px; font-weight: 700; }
.wl-profile-style-instagram .wl-stat-label { font-size: 12px; }

/* 编辑资料：小红书右上描边小按钮风格 */
.wl-profile-style-instagram .wl-edit-profile-btn {
    padding: 6px 14px;
    border: 1px solid rgba(40, 50, 90, .18);
    border-radius: 999px;
    background: rgba(255, 255, 255, .5);
    color: var(--wl-text);
    font-size: 12px;
    font-weight: 600;
}

.wl-profile-style-instagram .wl-edit-profile-btn:hover {
    color: var(--wl-accent);
    border-color: var(--wl-accent);
}

/* 头像：去白框，无框+轻投影（与信息流头像语言统一，小红书本尊同款） */
.wl-profile-style-instagram .wl-profile-avatar {
    border: 0;
    background: rgba(255, 255, 255, .35);
    box-shadow: 0 5px 14px rgba(40, 50, 90, .14);
}

/* 头像方案 1：IG 渐变描边环（与置顶 story ring 同款渐变） */
.wl-profile-style-instagram .wl-profile-avatar {
    border: 3px solid transparent;
    background:
        linear-gradient(rgba(255, 255, 255, .92), rgba(255, 255, 255, .92)) padding-box,
        linear-gradient(135deg, #ffbd29, #f21a86, #7e39d3) border-box;
    box-shadow: 0 5px 14px rgba(40, 50, 90, .14);
}

/* ========== 顶部导航栏：融入主页液态玻璃语言 ========== */
.wl-navbar {
    background: rgba(255, 252, 250, .55);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
    backdrop-filter: blur(24px) saturate(160%);
    border-bottom: 0;
}

/* 触屏设备保持无 blur（性能：滚动闪动问题），但底色贴近玻璃 */
@media (hover: none), (pointer: coarse) {
    .wl-navbar {
        background: rgba(255, 252, 250, .88);
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }
}

/* 导航栏"相册"入口删除（与 profile 下方 动态/相册 tab 重复） */
.wl-navbar-nav [data-nav-key="album"] { display: none !important; }

/* 导航栏底边：主页玻璃卡同款白色高光粗线（2px + 极浅灰投影） */
.wl-navbar {
    border-bottom: 2px solid rgba(255, 255, 255, .75);
    box-shadow: 0 2px 0 rgba(40, 50, 90, .04);
}

/* 导航栏底边线加粗（覆盖 unified-ui 的 1px 高光，改 2px 白高光 + 2px 浅灰投影） */
body.home .wl-navbar {
    border-bottom: 0 !important;
    box-shadow:
        inset 0 -2px 0 rgba(255, 255, 255, .82),
        0 2px 0 rgba(40, 50, 90, .05) !important;
}

/* 导航栏底边线：3px，与下方 tab 激活短横线粗度一致 */
body.home .wl-navbar {
    box-shadow:
        inset 0 -3px 0 rgba(255, 255, 255, .82),
        0 3px 0 rgba(40, 50, 90, .05) !important;
}

/* 下方 tab 短线：与顶部导航栏一致 · scaleX 展开动效（hover 40% / active 100%） */
.wl-view-tab::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -2px;
    width: 18px;
    height: 3px;
    border-radius: 2px;
    background: var(--wl-accent);
    transform: translateX(-50%) scaleX(0);
    transform-origin: center;
    transition: transform var(--wl-transition, .2s ease);
}

.wl-view-tab:hover::after {
    transform: translateX(-50%) scaleX(.4);
}

.wl-view-tab.active::after {
    transform: translateX(-50%) scaleX(1);
}

/* 强制 tab 文字颜色：非激活灰、激活深色（压过 a 全局橙色） */
.wl-view-tab:not(.active) {
    color: var(--wl-text-muted) !important;
}
.wl-view-tab.active {
    color: var(--wl-text) !important;
}

/* 导航栏底边：去掉白色高光硬线，只保留柔和投影做光影毛玻璃过渡 */
body.home .wl-navbar {
    box-shadow: 0 6px 20px rgba(40, 50, 90, .05) !important;
}

/* 状态徽章与三点按钮：改成 row 排列（徽章左 / 按钮右）+ 明确 gap，去掉上下紧贴 */
.wl-moment-actions-menu {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

/* 可见状态徽章：跟上主页液态玻璃语言（半透明白玻璃 + 白边 + 柔投影，保留语义色文字） */
.wl-moment-badge,
.wl-moment-badge-private,
.wl-moment-badge-scheduled,
.wl-moment-badge-public {
    padding: 2px 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .55);
    border: 1px solid rgba(255, 255, 255, .65);
    -webkit-backdrop-filter: blur(10px) saturate(150%);
    backdrop-filter: blur(10px) saturate(150%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75), 0 2px 6px rgba(40, 50, 90, .06);
}

.wl-moment-badge-private { color: #b7791f; }
.wl-moment-badge-scheduled { color: #4f46e5; }
.wl-moment-badge-public { color: #047857; }

/* 互换：可见状态胶囊左 / 三点按钮右 */
.wl-moment-status-stack { order: 1; }
.wl-moment-menu-btn { order: 2; }

/* 标签云胶囊：主页液态玻璃（保留默认品牌橙文字，让 unified-ui a 规则自然生效；active 玻璃化由 unified-ui 末尾追加块处理） */
.wl-tag-cloud-item:not(.active) {
    background: rgba(255, 255, 255, .55);
    border: 1px solid rgba(255, 255, 255, .65);
    -webkit-backdrop-filter: blur(10px) saturate(150%);
    backdrop-filter: blur(10px) saturate(150%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75), 0 2px 6px rgba(40, 50, 90, .05);
}

.wl-tag-cloud-item:not(.active):hover {
    background: rgba(255, 255, 255, .72);
    border-color: color-mix(in srgb, var(--wl-accent) 40%, transparent);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85), 0 4px 12px rgba(40, 50, 90, .08);
}

/* —— 动态内容里的标签与胶囊：统一主页液态玻璃语言 —— */

/* 日签类型胶囊：保持日签模板自带的纸感描边样式（currentColor 随模板变色），不套玻璃 */

/* 摘录出处标签（原为纯橙实心底白字） */
.wl-daily-note-source .wl-tag,
.wl-daily-note-ticket-source .wl-tag {
    padding: 2px 9px;
    background: rgba(255, 255, 255, .72);
    border: 1px solid color-mix(in srgb, var(--wl-accent) 55%, transparent);
    -webkit-backdrop-filter: blur(10px) saturate(150%);
    backdrop-filter: blur(10px) saturate(150%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85), 0 2px 6px rgba(40, 50, 90, .06);
    color: var(--wl-accent);
    font-weight: 700;
}

.wl-daily-note-source .wl-tag:hover,
.wl-daily-note-ticket-source .wl-tag:hover {
    background: rgba(255, 255, 255, .85);
    border-color: var(--wl-accent);
    color: var(--wl-accent-dark);
    transform: translateY(-1px);
}

/* 动态正文行内 #标签：由纯文字升级为轻量玻璃胶囊 */
.wl-moment-text .wl-tag {
    display: inline-flex;
    align-items: center;
    margin: 0 2px;
    padding: 1px 8px;
    border-radius: 99px;
    background: rgba(255, 255, 255, .55);
    border: 1px solid rgba(255, 255, 255, .65);
    -webkit-backdrop-filter: blur(8px) saturate(150%);
    backdrop-filter: blur(8px) saturate(150%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .75), 0 1px 4px rgba(40, 50, 90, .05);
    color: var(--wl-accent);
    font-weight: 600;
}

.wl-moment-text .wl-tag:hover {
    background: rgba(255, 255, 255, .72);
    border-color: color-mix(in srgb, var(--wl-accent) 40%, transparent);
    color: var(--wl-accent-dark);
}

.wl-moment-text .wl-tag:active {
    background: rgba(255, 255, 255, .85);
}

/* 深色日签模板（墨色/午夜）：摘录标签换成深色玻璃，避免白玻璃在暗底上突兀成奶白补丁 */
.wl-daily-template-ink .wl-daily-note-source .wl-tag,
.wl-daily-template-ink .wl-daily-note-ticket-source .wl-tag,
.wl-daily-template-midnight .wl-daily-note-source .wl-tag,
.wl-daily-template-midnight .wl-daily-note-ticket-source .wl-tag {
    background: rgba(16, 18, 33, .38);
    border: 1px solid color-mix(in srgb, var(--wl-accent) 60%, transparent);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .14), 0 2px 6px rgba(0, 0, 0, .22);
    color: #ffa54d;
}

.wl-daily-template-ink .wl-daily-note-source .wl-tag:hover,
.wl-daily-template-ink .wl-daily-note-ticket-source .wl-tag:hover,
.wl-daily-template-midnight .wl-daily-note-source .wl-tag:hover,
.wl-daily-template-midnight .wl-daily-note-ticket-source .wl-tag:hover {
    background: rgba(16, 18, 33, .55);
    border-color: var(--wl-accent);
    color: #ffb670;
}

.wl-tag-cloud-count {
    background: rgba(255, 255, 255, .5);
    border: 1px solid rgba(255, 255, 255, .55);
    color: var(--wl-text-muted);
}

/* 一记页「编辑」弹窗内部输入控件（2026-08-22）：
   原 .wl-edit-reading-fields input / .wl-project-edit-fields input 等用 var(--wl-bg-card)
   实色底，弹窗玻璃化后内部表单仍是白块。这里用高特异性（0,2,1）压过那些规则，
   让弹窗内所有 input/textarea/select 也成轻玻璃，与 dialog 统一。 */
.wl-moment-edit-modal .wl-moment-edit-body input,
.wl-moment-edit-modal .wl-moment-edit-body textarea,
.wl-moment-edit-modal .wl-moment-edit-body select {
    background: rgba(255, 255, 255, .5) !important;
    -webkit-backdrop-filter: blur(10px) saturate(140%) !important;
    backdrop-filter: blur(10px) saturate(140%) !important;
    border: 1px solid rgba(40, 50, 90, .14) !important;
    color: var(--wl-text);
}
.wl-moment-edit-modal .wl-moment-edit-body input:focus,
.wl-moment-edit-modal .wl-moment-edit-body textarea:focus,
.wl-moment-edit-modal .wl-moment-edit-body select:focus {
    background: rgba(255, 255, 255, .72) !important;
    border-color: color-mix(in srgb, var(--wl-accent) 45%, rgba(40, 50, 90, .14)) !important;
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--wl-accent) 12%, transparent) !important;
}
