/**
 * 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: 6px; 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: 13px; 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; }
.wl-focus-timer-card, .wl-focus-summary-panel, .wl-focus-manual-card { margin: 14px 0; padding: 19px; border-radius: 16px; background: var(--wl-bg-card); box-shadow: var(--wl-shadow); }
.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; }
.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-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; }
.wl-focus-manual-card h2 { margin: 0 0 13px; font-size: 16px; }
.wl-focus-manual-form { display: grid; grid-template-columns: 190px 88px minmax(0,1fr) 96px; gap: 12px; align-items: end; }
.wl-focus-manual-form .wl-focus-field { margin: 0; }
.wl-focus-manual-form button { height: 42px; border: 0; border-radius: 10px; background: #292a35; color: #fff; font: inherit; font-size: 14px; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.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-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:nth-child(3) { grid-column: 1 / -1; } .wl-focus-manual-form button { grid-column: 2; grid-row: 2; min-height: 42px; } .wl-focus-breakdown > div { grid-template-columns: 10px minmax(0,1fr) 40px 65px; } }

/* ========== 日签卡片 ========== */
.wl-daily-note-shell { position: relative; overflow: hidden; min-height: 220px; 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::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; }
.wl-daily-note-template-name { position: absolute; right: 18px; top: 17px; font-size: 10px; opacity: .42; }
.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 { min-height: 205px; padding: 17px 16px 24px; border-radius: 13px; } .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 {
    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);
}

.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);
}

/* 下拉菜单：默认完全隐藏（三重保险） */
.wl-navbar-dropdown-menu {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    min-width: 160px;
    background: var(--wl-bg-card);
    border-radius: var(--wl-radius-sm);
    box-shadow: var(--wl-shadow), 0 8px 24px rgba(0,0,0,0.12);
    border: 1px solid var(--wl-border-light);
    padding: 6px;
    /* 三重隐藏：display + max-height + visibility */
    display: none !important;
    max-height: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-4px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s 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);
    pointer-events: auto;
}

.wl-navbar-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: var(--wl-radius-sm);
    font-size: 14px;
    color: var(--wl-text);
    transition: all var(--wl-transition);
    white-space: nowrap;
}

.wl-navbar-dropdown-menu a:hover {
    background: var(--wl-bg-hover);
    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 {
    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; }

.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;
}

.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-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-muted);
    transition: all var(--wl-transition);
}

.wl-moment-menu-btn:hover {
    background: var(--wl-bg-hover);
}

.wl-moment-menu-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 120px;
    background: var(--wl-bg-card);
    border-radius: var(--wl-radius-sm);
    box-shadow: var(--wl-shadow-lg);
    padding: 4px;
    display: none;
    z-index: 10;
}

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

.wl-moment-menu-dropdown a {
    display: block;
    padding: 8px 12px;
    font-size: 14px;
    color: var(--wl-text);
    border-radius: 6px;
    transition: background var(--wl-transition);
}

.wl-moment-menu-dropdown a:hover {
    background: var(--wl-bg-hover);
    color: var(--wl-text);
}

.wl-moment-menu-dropdown .wl-delete-moment-btn {
    display: block;
    width: 100%;
    padding: 8px 12px;
    border-radius: 6px;
    color: #d93025;
    font: inherit;
    font-size: 14px;
    text-align: left;
}

.wl-moment-menu-dropdown .wl-delete-moment-btn:hover {
    background: #fff0ef;
}

.wl-moment-menu-dropdown .wl-edit-visibility-btn {
    display: block;
    width: 100%;
    padding: 8px 12px;
    border-radius: 6px;
    color: var(--wl-text);
    font: inherit;
    font-size: 14px;
    text-align: left;
}

.wl-moment-menu-dropdown .wl-edit-visibility-btn:hover {
    background: var(--wl-bg-hover);
}

.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: 8px;
}

.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;
    gap: 3px;
    padding: 3px 8px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 11px;
    border-radius: 12px;
    z-index: 2;
    cursor: pointer;
    pointer-events: all;
    transition: opacity 0.2s ease;
}

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

@keyframes wl-live-pulse {
    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: #ff4d4f;
}

.wl-like-btn.liked svg {
    fill: #ff4d4f;
}

/* ========== 相册网格视图 ========== */
.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-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-back-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--wl-text-secondary);
}

.wl-moment-single {
    box-shadow: var(--wl-shadow-hover);
}

.wl-single-date {
    padding: 8px 0;
    font-size: 12px;
    color: var(--wl-text-muted);
    border-top: 1px solid var(--wl-border-light);
    margin-top: 12px;
}

/* ========== 灯箱 ========== */
.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: 26px;
    padding-top: 22px;
    border-top: 1px solid var(--wl-border-light);
}

.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 var(--wl-border-light);
}

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

.wl-comment-body {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 13px 0;
    border-bottom: 1px solid var(--wl-border-light);
}

.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;
    background: var(--wl-bg-card);
    border-radius: 14px;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.2);
}

.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: 7px; 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: 500;
}

.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;
    padding: 3px 10px;
    background: var(--wl-accent);
    color: #fff;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
}

.wl-tag-filter-clear {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    padding: 3px 8px;
    color: var(--wl-text-secondary);
    font-size: 13px;
    text-decoration: none;
    border-radius: 12px;
    transition: all var(--wl-transition);
}

.wl-tag-filter-clear:hover {
    background: var(--wl-bg-hover);
    color: var(--wl-text);
}

.wl-tag-filter-clear svg {
    opacity: 0.6;
}

/* —— 详情页编辑弹窗：在读图书封面重搜 —— */
.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: 5px; 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: 5px; }
.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-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;
    }
}

