/* 51视频心愿墙 start */
/* 心愿墙正文和页脚共用内容边界；仅作用于本页，不接管根字号和公共导航。 */
body.wishwall-list-page #masthead #archives-title { margin: 0; padding: 0; font-size: 48px; font-weight: 400; line-height: normal; }
body.wishwall-list-page #body > .container.wishwall-shell,
body.wishwall-list-page #foot-menu > .container:not(.line-container) {
    box-sizing: border-box;
    width: 100%;
    max-width: 1104px;
    margin: 0 auto;
    padding-left: 16px;
    padding-right: 16px;
}
body.wishwall-list-page #foot-menu + #footer > .container {
    width: 100%;
    max-width: 1072px;
    margin: 0 auto;
    padding-left: 0;
    padding-right: 0;
}
body.wishwall-list-page #body > .container.wishwall-shell {
    --wishwall-brand: #1abc9c;
    --wishwall-card: #373535;
    --wishwall-surface: #272525;
    --wishwall-border: #504d4d;
    --wishwall-text: #f5f5f7;
    --wishwall-secondary: #d7d8dd;
    --wishwall-muted: #a6a7af;
    padding-top: 32px;
    padding-bottom: 40px;
    color: var(--wishwall-text);
    font: 14px/22px var(--ui-font-family, system-ui, sans-serif);
    text-align: left;
}

.wishwall-shell *, .wishwall-shell *::before, .wishwall-shell *::after { box-sizing: border-box; }
.wishwall-shell [hidden] { display: none !important; }
.wishwall-shell h2, .wishwall-shell h3, .wishwall-shell p, .wishwall-shell form { margin: 0; letter-spacing: 0; }
.wishwall-shell button, .wishwall-shell input { font: inherit; }
.wishwall-shell button { cursor: pointer; }
.wishwall-shell button:disabled { cursor: default; }
.wishwall-shell a { text-decoration: none; }
.wishwall-shell button:focus-visible, .wishwall-shell a:focus-visible {
    outline: 2px solid var(--wishwall-brand);
    outline-offset: 3px;
}

body.wishwall-list-page .wishwall-breadcrumb {
    --post-breadcrumb-font-size: 16px;
    margin: 0 0 20px;
}
.wishwall-breadcrumb .nav-breadcrumb-wrap { display: flex; align-items: center; gap: 12px; min-height: 22px; padding: 0; line-height: 22px; }
.wishwall-breadcrumb .nav-breadcrumb-wrap .action-butn { padding: 0; border: 0; background: none; color: var(--wishwall-brand) !important; }
.wishwall-breadcrumb .nav-breadcrumb-wrap .point { flex: 0 0 6px; width: 6px; height: 10px; margin: 0; }
.wishwall-breadcrumb .nav-breadcrumb-wrap .name { width: auto; min-width: 0; color: #ffffff80; }

body.wishwall-list-page .wishwall-layout { display: grid; grid-template-columns: minmax(0, 766px) 286px; align-items: start; gap: 20px; }
body.wishwall-list-page #body #archives.wishwall-main {
    display: flex;
    flex-direction: column;
    gap: 24px;
    float: none;
    width: 100%;
    min-width: 0;
    max-width: none;
    margin: 0;
    padding: 0;
    overflow: visible;
}
body.wishwall-list-page #body #archives.wishwall-main::after { display: none; }
body.wishwall-list-page #body #archives.wishwall-main .wishwall-heading { font-size: 28px; font-weight: 500; line-height: 38px; }
.wishwall-intro { display: flex; align-items: center; justify-content: space-between; gap: 20px; color: var(--wishwall-muted); }
.wishwall-intro p { min-width: 0; font-size: 14px; line-height: 22px; }
.wishwall-mobile-break, .wishwall-layout > .wishwall-mobile-publish { display: none; }

body.wishwall-list-page .wishwall-search {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 46px;
    padding: 8px 12px;
    border: 1px solid var(--wishwall-border);
    border-radius: 8px;
    background: var(--wishwall-surface);
}
.wishwall-search > img { display: block; flex: 0 0 18px; width: 18px; height: 18px; }
body.wishwall-list-page .wishwall-search input {
    flex: 1;
    width: 0;
    min-width: 0;
    height: 28px;
    margin: 0 !important;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
    color: var(--wishwall-text);
    font-size: 14px;
    line-height: 22px;
}
.wishwall-search input::placeholder { color: #999595; opacity: 1; }
.wishwall-search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.wishwall-search button { flex-shrink: 0; width: 56px; height: 28px; padding: 0; border: 0; background: none; color: var(--wishwall-text); font-size: 14px; font-weight: 500; line-height: 22px; white-space: nowrap; }
.wishwall-search .wishwall-search-clear { width: auto; color: var(--wishwall-muted); font-weight: 400; }

.wishwall-controls { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; min-height: 65px; border-bottom: 1px solid #444141; }
.wishwall-tabs { display: flex; min-width: 0; }
.wishwall-tabs :is(button, a) { flex: 0 0 84px; width: 84px; height: 40px; padding: 8px 0; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: none; color: #d8d8d8; font-size: 14px; line-height: 22px; }
.wishwall-tabs :is(button, a)[aria-selected="true"] { border-bottom-color: var(--wishwall-brand); color: var(--wishwall-brand); font-weight: 500; }
.wishwall-sort { display: flex; flex-shrink: 0; align-items: center; gap: 5px; min-height: 36px; }
.wishwall-sort :is(button, a) { padding: 6px 0; border: 0; background: none; color: var(--wishwall-secondary); font-size: 14px; line-height: 22px; }
.wishwall-sort :is(button, a)[aria-pressed="true"] { color: var(--wishwall-brand); }
.wishwall-sort > span { color: #999595; }
.wishwall-sort :is(button, a) + button { margin-left: 1px; padding-left: 6px; border-left: 1px solid #999595; }

.wishwall-feed { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.wishwall-card { position: relative; isolation: isolate; display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 16px; border-radius: 8px; background: var(--wishwall-card); }
.wishwall-card-link { position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.wishwall-card-link:focus-visible { outline: 2px solid var(--wishwall-brand) !important; }
.wishwall-card :is(button, a:not(.wishwall-card-link)) { position: relative; z-index: 2; }
.wishwall-card-top { display: flex; align-items: center; gap: 8px; min-width: 0; min-height: 26px; }
.wishwall-badge { display: inline-flex; flex: 0 0 52px; align-items: center; justify-content: center; width: 52px; padding: 3px 0; border: 1px solid var(--wishwall-brand); border-radius: 4px; background: #3c3b3b; color: var(--wishwall-brand); font-size: 12px; line-height: 18px; white-space: nowrap; }
.wishwall-badge.status--arranged { border-color: #e6b642; color: #e6b642; }
.wishwall-badge.status--ended { border-color: #979797; color: var(--wishwall-muted); }
.wishwall-badge.status--pending { border: 0; color: #e79130; }
.wishwall-type { color: var(--wishwall-muted); font-size: 12px; line-height: 18px; white-space: nowrap; }
.wishwall-actions { display: flex; flex-shrink: 0; align-items: center; gap: 16px; margin-left: auto; }
.wishwall-action { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 24px; padding: 0; border: 0; background: none; color: var(--wishwall-secondary); font-size: 14px; line-height: 22px; white-space: nowrap; }
.wishwall-action picture, .wishwall-action img { display: block; flex-shrink: 0; width: 20px; height: 20px; }
.wishwall-action.is-liked, .wishwall-action[aria-pressed="true"] { color: var(--wishwall-brand); }
.wishwall-action:disabled { opacity: 1; }
body.wishwall-list-page #body #archives.wishwall-main h3.wishwall-card-title { margin: 0; padding: 0; color: var(--wishwall-text); font-size: 20px; font-weight: 500; line-height: 28px; overflow-wrap: anywhere; }
.wishwall-author { color: var(--wishwall-muted); font-size: 12px; line-height: 18px; }
.wishwall-preview { display: flex; flex-direction: column; gap: 8px; padding: 12px; border: 1px solid var(--wishwall-border); border-radius: 8px; background: var(--wishwall-surface); }
/* 51视频心愿墙 start */
/* 待审预览沿用普通征集卡片外观，移除单独的无底色样式。 */
/* 51视频心愿墙 end */
.wishwall-preview-row { display: flex; align-items: center; gap: 8px; min-width: 0; min-height: 22px; }
.wishwall-comment-tag { display: inline-flex; flex-shrink: 0; align-items: center; justify-content: center; height: 20px; padding: 2px 4px; border-radius: 4px; background: var(--wishwall-brand); color: #fff; font-size: 12px; line-height: 16px; }
.wishwall-preview-text { flex: 1; min-width: 0; overflow: hidden; color: var(--wishwall-secondary); font-size: 14px; line-height: 22px; text-overflow: ellipsis; white-space: nowrap; }
/* 51视频心愿墙 start */
.wishwall-preview .wishwall-comment-time { color: var(--wishwall-muted); font-size: 12px; }
/* 51视频心愿墙 end */
.wishwall-preview .wishwall-action { min-height: 22px; color: var(--wishwall-muted); }
.wishwall-preview .wishwall-action[aria-pressed="true"] { color: var(--wishwall-brand); }
.wishwall-preview .wishwall-action picture, .wishwall-preview .wishwall-action img { width: 16px; height: 16px; }
.wishwall-card-bottom { display: flex; align-items: center; justify-content: flex-end; min-height: 1px; }
.wishwall-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 10px 16px; border: 1px solid var(--wishwall-brand); border-radius: 8px; background: var(--wishwall-brand); color: #fff; font-size: 14px; font-weight: 500; line-height: 22px; white-space: nowrap; }
.wishwall-button:hover { background: #17aa8e; }
.wishwall-paid { width: 84px; height: 38px; min-height: 38px; padding: 7px 0; }
.wishwall-empty-comments { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 54px; padding: 16px 12px; border: 1px solid var(--wishwall-border); border-radius: 8px; background: var(--wishwall-surface); color: var(--wishwall-muted); font-size: 14px; line-height: 22px; }
.wishwall-text-button { flex-shrink: 0; padding: 0; border: 0; background: none; color: var(--wishwall-brand); font-size: 14px; line-height: 22px; white-space: nowrap; }
.wishwall-ended-note { color: var(--wishwall-muted); font-size: 14px; line-height: 22px; }
.wishwall-article { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--wishwall-border); border-radius: 8px; background: var(--wishwall-surface); color: var(--wishwall-text); }
.wishwall-article-copy { display: flex; flex: 1; flex-direction: column; gap: 6px; min-width: 0; }
.wishwall-article-label { display: flex; align-items: center; gap: 8px; color: #e6b642; font-size: 12px; line-height: 18px; }
.wishwall-article-label picture, .wishwall-article-label img { display: block; flex-shrink: 0; width: 16px; height: 16px; }
.wishwall-article-title { color: var(--wishwall-muted); font-size: 14px; font-weight: 500; line-height: 22px; overflow-wrap: anywhere; }
.wishwall-article-arrow { display: block; flex: 0 0 32px; width: 32px; height: 32px; }

.wishwall-guide { display: flex; flex-direction: column; gap: 24px; min-width: 0; padding: 20px; border: 1px solid var(--wishwall-border); border-radius: 8px; }
.wishwall-guide > h2 { color: var(--wishwall-text); font-size: 20px; font-weight: 500; line-height: 30px; }
.wishwall-guide > .wishwall-button { width: 100%; }
.wishwall-guide > hr { width: 100%; height: 1px; margin: 0; padding: 0; border: 0; background: #444141; }
.wishwall-guide ol { display: flex; flex-direction: column; gap: 24px; margin: 0; padding: 0; list-style: none; }
.wishwall-guide li { display: flex; align-items: center; gap: 12px; margin: 0; padding: 0; }
.wishwall-guide li > span { display: grid; flex: 0 0 42px; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #444141; color: var(--wishwall-brand); font-size: 12px; font-weight: 500; line-height: 18px; }
.wishwall-guide li > div { min-width: 0; }
.wishwall-guide li h3 { margin: 0 0 4px; color: var(--wishwall-text); font-size: 14px; font-weight: 500; line-height: 22px; }
.wishwall-guide li p { color: var(--wishwall-muted); font-size: 12px; line-height: 18px; }

/* 分页的结构、视觉及校验沿用现有公共组件，仅设定正文中的间距。 */
body.wishwall-list-page #body #archives.wishwall-main > .page-nav { flex-shrink: 0; width: 100%; max-width: none; margin: 0; }
.wishwall-feedback { position: fixed; z-index: 1000; bottom: 24px; left: 50%; transform: translateX(-50%); width: max-content; max-width: calc(100% - 32px); padding: 12px 20px; border: 1px solid var(--wishwall-border); border-radius: 8px; background: var(--wishwall-surface); color: var(--wishwall-secondary); font-size: 14px; line-height: 22px; text-align: center; overflow-wrap: anywhere; pointer-events: none; }

@media (max-width: 767.98px) {
    /* 51视频心愿墙 start */
    body.wishwall-list-page.desktop.chrome :is(#wrap, #footer) { margin-left: 0; margin-right: 0; width: 100%; }
    /* 51视频心愿墙 end */
    body.wishwall-list-page #masthead #archives-title { font-size: 26px; line-height: 36px; }
    body.wishwall-list-page #body > .container.wishwall-shell { padding: 20px 16px 32px; }
    body.wishwall-list-page .wishwall-breadcrumb { --post-breadcrumb-font-size: 12px; margin-bottom: 20px; }
    .wishwall-breadcrumb .nav-breadcrumb-wrap { gap: 10px; }
    body.wishwall-list-page .wishwall-layout { grid-template-columns: minmax(0, 1fr); }
    body.wishwall-list-page #body #archives.wishwall-main { gap: 20px; padding: 0; }
    body.wishwall-list-page #body #archives.wishwall-main .wishwall-heading { display: none; }
    .wishwall-guide { display: none; }
    .wishwall-intro { min-height: 50px; gap: 20px; padding-right: 70px; }
    .wishwall-intro p { flex: 1; max-width: 263px; }
    .wishwall-mobile-break { display: block; }
    /* 保留说明区右侧的初始高度，滚动时入口固定在视口中。 */
    .wishwall-layout:has(.wishwall-intro) > .wishwall-mobile-publish { position: fixed; top: 174px; right: 16px; z-index: 900; display: inline-flex; width: 50px; height: 50px; min-height: 50px; padding: 0; }
    .wishwall-controls { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: 40px 1px; grid-auto-rows: 36px; align-items: center; row-gap: 20px; min-height: 0; border: 0; }
    .wishwall-tabs { grid-area: 1 / 1; width: 100%; }
    .wishwall-tabs :is(button, a) { flex: 1; width: 25%; min-width: 0; }
    .wishwall-controls::before { grid-area: 2 / 1; width: 100%; height: 1px; background: #444141; content: ""; }
    .wishwall-controls:not(:has(.wishwall-sort)) { grid-template-rows: 40px 1px; }
    .wishwall-sort { grid-area: 3 / 1; justify-self: end; }
    .wishwall-feed { gap: 16px; }
    .wishwall-card { padding: 12px 8px; }
    .wishwall-card-bottom[aria-hidden="true"] { display: none; }
    body.wishwall-list-page #body #archives.wishwall-main h3.wishwall-card-title { font-size: 17px; line-height: 24px; }
    .wishwall-actions { gap: 12px; }
    .wishwall-actions .wishwall-action { gap: 4px; }
    .wishwall-badge.status--arranged { border-color: #e6b642; }
    .wishwall-badge.status--ended { border-color: var(--wishwall-muted); }
    .wishwall-empty-comments { padding: 12px 8px; }
    .wishwall-article-arrow { display: none; }
    .wishwall-article-title { color: var(--wishwall-text); }
    .wishwall-article-title::after { content: " →"; }
}

/* 51视频心愿墙 end */

/* 51视频心愿墙 start */
body.wishwall-list-page { background: #2c2a2a; }
body.wishwall-list-page #wrap,
body.wishwall-list-page #body { background: #2c2a2a; }
body.wishwall-list-page #masthead { height: auto; min-height: 0; margin: 0; background: #333; }
body.wishwall-list-page #masthead .inner { position: static; padding: calc(var(--wishwall-nav-height, 52px) + 50px) 16px 50px; }
body.wishwall-list-page #masthead #archives-title { font-size: 28px; line-height: 38px; }
.wishwall-tabs :is(button, a) { display: flex; align-items: center; justify-content: center; }
.wishwall-tabs a.is-active { border-bottom-color: var(--wishwall-brand); color: var(--wishwall-brand); }
.wishwall-sort a.is-active { color: var(--wishwall-brand); }
.wishwall-guide { background: #373535; }
.wishwall-breadcrumb { display: flex; align-items: center; gap: 12px; color: #a6a7af; font-size: 12px; line-height: 22px; }
.wishwall-breadcrumb a { color: #1abc9c; }
.wishwall-breadcrumb > img { flex: 0 0 6px; width: 6px; height: 10px; }
.wishwall-empty-image { width: 444px; height: 265px; overflow: hidden; border-radius: 8px; }
.wishwall-empty-image img { width: 100%; height: 100%; object-fit: cover; }
.wishwall-comment-avatar img { object-fit: cover; object-position: center 25%; }
/* 51视频心愿墙 start */
body.wishwall-list-page #archives .page-nav { display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 16px; height: auto; padding-top: 4px; line-height: normal; }
.wishwall-main .page-jump { position: static; width: auto; transform: none; }
/* 51视频心愿墙 end */
.wishwall-main .page-jump form { display: flex; align-items: center; gap: 8px; }
/* 51视频心愿墙 start */
.wishwall-main .page-jump input { width: 64px; min-width: 0; height: 36px; margin: 0 !important; padding: 0 8px; border: 1px solid #777; border-radius: 4px; background: transparent; color: #f5f5f7; line-height: normal; text-align: center; }
/* 51视频心愿墙 end */
.wishwall-main .page-jump button,
.wishwall-main .page-navigator a { display: inline-flex; align-items: center; justify-content: center; min-width: 36px; height: 36px; padding: 0 10px; border: 1px solid #777; border-radius: 4px; background: transparent; color: #f5f5f7; }
.wishwall-main .page-navigator { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.wishwall-main .page-navigator li { margin: 0; }
.wishwall-main .page-navigator .active a { border-color: #1abc9c; color: #1abc9c; }
@media (max-width: 767.98px) {
    body.wishwall-list-page #masthead { display: none; }
    body.wishwall-list-page #body { padding-top: var(--wishwall-nav-height, 106px); }
    .wishwall-empty-image { width: 100%; height: auto; aspect-ratio: 343 / 205; }
    body.wishwall-list-page #archives .page-nav { flex-wrap: wrap; gap: 12px; }
}
/* 51视频心愿墙 end */

/* 51视频心愿墙 start */
/* 搜索结果仅补充差异，搜索框、卡片、侧栏和公共分页继续复用列表样式。 */
.wishwall-search-page .wishwall-search .wishwall-search-clear { width: 56px; color: var(--wishwall-text); font-weight: 500; }
.wishwall-search-page .wishwall-search-summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--wishwall-muted); font-size: 14px; line-height: 22px; overflow-wrap: anywhere; }
.wishwall-search-summary > p { margin: 0; }
.wishwall-search-summary > .wishwall-button { flex-shrink: 0; min-height: 40px; padding: 8px 12px; border-color: var(--wishwall-border); background: transparent; font-weight: 400; }
@media (max-width: 767.98px) {
    /* 51视频心愿墙：移除搜索列表 24px 覆盖，复用手机列表 16px 间距。 */
    .wishwall-search-page .wishwall-search-summary { flex-direction: column; align-items: stretch; }
    .wishwall-search-page .wishwall-search-card--compact .wishwall-card-bottom { display: none; }
    body.wishwall-search-page #body #archives.wishwall-main > .page-nav { margin-top: 4px; }
}

/* 无结果复用搜索页的框架，只增加插画和空态说明。 */
.wishwall-empty { display: flex; flex-direction: column; align-items: center; gap: 16px; min-width: 0; padding: 24px; text-align: center; }
.wishwall-empty-image { display: block; flex: 0 0 auto; width: 444px; max-width: 100%; }
.wishwall-empty-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
body.wishwall-empty-page #body #archives.wishwall-main .wishwall-empty-title { width: 100%; margin: 0; padding: 0; color: var(--wishwall-text); font-size: 20px; font-weight: 500; line-height: 30px; }
.wishwall-empty-description { width: 100%; color: var(--wishwall-muted); font-size: 14px; line-height: 22px; overflow-wrap: anywhere; }
.wishwall-empty .wishwall-empty-publish { width: 140px; height: 44px; }
.wishwall-empty-clear { display: none; align-items: center; justify-content: center; width: 140px; height: 40px; color: var(--wishwall-text); font-weight: 500; }
@media (max-width: 767.98px) {
    .wishwall-empty { padding: 0 0 24px; }
    .wishwall-empty-image { width: 100%; max-width: 343px; }
    body.wishwall-empty-page #body #archives.wishwall-main .wishwall-empty-title, .wishwall-empty-description { width: calc(100% - 48px); }
    .wishwall-empty-clear { display: inline-flex; }
}

/* 51视频心愿墙 end */

/* 51视频心愿墙 start */
/* 心愿详情：复用正文边界、发布侧栏、基础控件及反馈层，仅补充详情布局。 */
body.wishwall-detail-page #body > .container.wishwall-shell { padding-top: 48px; }
body.wishwall-detail-page #body #archives.wishwall-main.wishwall-detail-main { gap: 24px; }
body.wishwall-detail-page .wishwall-breadcrumb { margin: 0; }
.wishwall-detail-page .wishwall-breadcrumb .nav-breadcrumb-wrap { --post-breadcrumb-font-size: inherit; }
.wishwall-detail-page .wishwall-detail-post { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; min-width: 0; }
.wishwall-detail-page .wishwall-detail-meta { grid-area: 1 / 1; display: flex; align-items: center; gap: 8px; min-width: 0; }
.wishwall-detail-page .wishwall-detail-meta .wishwall-badge.status--ended { border: 0; }
.wishwall-detail-page .wishwall-detail-meta .wishwall-badge.status--arranged { border-color: #e6b642; }
body.wishwall-detail-page #archives.wishwall-detail-main .wishwall-detail-title { grid-area: 2 / 1 / auto / -1; margin: 0; padding: 0; color: var(--wishwall-text); font-size: 24px; font-weight: 500; line-height: 34px; overflow-wrap: anywhere; }
.wishwall-detail-page .wishwall-detail-post > .wishwall-author { grid-area: 3 / 1; }
.wishwall-detail-page .wishwall-detail-like { grid-area: 1 / 2; justify-self: end; }
.wishwall-detail-fulfilled { display: contents; }
.wishwall-detail-fulfilled > .wishwall-article { grid-area: 4 / 1 / auto / -1; gap: 6px; }
.wishwall-detail-page .wishwall-detail-paid { grid-area: 3 / 2; width: 140px; height: 38px; min-height: 38px; padding: 7px 16px; }
.wishwall-detail-page .wishwall-detail-comments { padding-top: 24px; border-top: 1px solid #444141; }
body.wishwall-detail-page #archives.wishwall-detail-main .wishwall-detail-comments > h3,
body.wishwall-detail-page #archives.wishwall-detail-main .wishwall-comment-form > h3 { margin: 0; padding: 0; color: var(--wishwall-text); font-size: 18px; font-weight: 500; line-height: 28px; }
.wishwall-detail-page .wishwall-comments-list { display: flex; flex-direction: column; gap: 20px; margin-top: 20px; }
.wishwall-detail-page .wishwall-comment { display: flex; align-items: flex-start; gap: 12px; min-width: 0; padding-bottom: 20px; border-bottom: 1px solid #444141; }
.wishwall-detail-page .wishwall-comment-avatar { display: block; flex: 0 0 32px; width: 32px; height: 32px; overflow: hidden; border-radius: 50%; }
.wishwall-detail-page .wishwall-comment-avatar img { display: block; width: 32px; height: 32px; }
.wishwall-detail-page .wishwall-comment-body { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px; flex: 1; min-width: 0; }
.wishwall-detail-page .wishwall-comment-author { grid-area: 1 / 1; display: flex; align-items: center; gap: 8px; min-width: 0; color: var(--wishwall-secondary); font-size: 14px; font-weight: 500; line-height: 22px; overflow-wrap: anywhere; }
.wishwall-detail-page .wishwall-comment-author .wishwall-comment-tag { padding-inline: 6px; font-weight: 400; }
.wishwall-detail-page .wishwall-comment-text { grid-area: 2 / 1 / auto / -1; color: #fff; font-size: 14px; line-height: 22px; overflow-wrap: anywhere; }
.wishwall-detail-page .wishwall-comment-time { grid-area: 3 / 1; color: var(--wishwall-muted); font-size: 12px; line-height: 18px; white-space: nowrap; }
.wishwall-detail-page .wishwall-comment-like { grid-area: 1 / 2; justify-self: end; min-height: 22px; }
/* 51视频心愿墙 start */
.wishwall-detail-page :is(#wishwall-comments-title, #wishwall-comment-form) { scroll-margin-top: calc(var(--wishwall-nav-height, 106px) + 16px); }
.wishwall-detail-page .wishwall-comment-form { display: flex; flex-direction: column; gap: 12px; }
/* 51视频心愿墙 end */
body.wishwall-detail-page #archives.wishwall-detail-main .wishwall-comment-form input,
body.wishwall-detail-page #archives.wishwall-detail-main .wishwall-comment-form textarea { display: block; width: 100%; min-width: 0; margin: 0 !important; padding: 8px 12px; border: 1px solid var(--wishwall-border); border-radius: 8px; background: var(--wishwall-surface); box-shadow: none; color: var(--wishwall-text); font: inherit; font-size: 14px; line-height: 22px; }
body.wishwall-detail-page #archives.wishwall-detail-main .wishwall-comment-form input { height: 40px; }
body.wishwall-detail-page #archives.wishwall-detail-main .wishwall-comment-form textarea { min-height: 96px; height: 96px; padding: 12px; resize: vertical; }
.wishwall-detail-page .wishwall-comment-form input::placeholder, .wishwall-detail-page .wishwall-comment-form textarea::placeholder { color: var(--wishwall-muted); opacity: 1; }
.wishwall-detail-page .wishwall-comment-form textarea:focus-visible { outline: 2px solid var(--wishwall-brand); outline-offset: 3px; }
.wishwall-detail-page .wishwall-comment-send-row { display: grid; grid-template-columns: minmax(0, 236px) minmax(0, 1fr) 88px; align-items: center; gap: 12px; }
.wishwall-detail-page :is(.wishwall-comment-audit, .wishwall-comments-empty) { color: var(--wishwall-muted); font-size: 14px; line-height: 22px; }
.wishwall-detail-page .wishwall-comment-send-row > .wishwall-button { width: 88px; min-height: 40px; height: 40px; padding: 8px 16px; }

@media (max-width: 767.98px) {
    body.wishwall-detail-page #body > .container.wishwall-shell { padding-top: 20px; padding-bottom: 40px; }
    body.wishwall-first-comment-page #body > .container.wishwall-shell { padding-bottom: 54px; }
    body.wishwall-detail-page #body #archives.wishwall-main.wishwall-detail-main { gap: 24px; }
    .wishwall-detail-page .wishwall-detail-meta { grid-area: 1 / 1 / auto / -1; }
    .wishwall-detail-page .wishwall-detail-meta .wishwall-badge.status--collecting { color: #1abc9c; }
    body.wishwall-detail-page #archives.wishwall-detail-main .wishwall-detail-title { font-size: 20px; line-height: 30px; }
    .wishwall-detail-page .wishwall-detail-post > .wishwall-author { grid-area: 3 / 1 / auto / -1; }
    .wishwall-detail-page .wishwall-detail-like { grid-area: 4 / 1; justify-self: start; }
    :is(.wishwall-first-comment-page, .wishwall-arranged-page) .wishwall-detail-like { min-height: 22px; }
    .wishwall-detail-fulfilled { display: flex; flex-direction: column; gap: 9px; grid-area: 5 / 1 / auto / -1; }
    .wishwall-detail-fulfilled > .wishwall-detail-like { align-self: flex-start; }
    .wishwall-detail-page .wishwall-detail-paid { grid-area: 4 / 2; width: 92px; min-height: 36px; height: 36px; padding: 6px 16px; }
    .wishwall-detail-page .wishwall-comment-author .wishwall-comment-tag { padding-inline: 4px; }
    .wishwall-detail-page .wishwall-comment-text { color: var(--wishwall-secondary); }
    .wishwall-detail-page .wishwall-comment-send-row { grid-template-columns: minmax(0, 1fr) 88px; }
    body.wishwall-detail-page #archives.wishwall-detail-main .wishwall-comment-form input { grid-area: 1 / 1; height: 44px; }
    .wishwall-detail-page .wishwall-comment-send-row > .wishwall-button { grid-area: 1 / 2; min-height: 44px; height: 44px; padding: 10px 16px; }
    .wishwall-detail-page .wishwall-comment-audit { grid-area: 2 / 1 / auto / -1; }
}

/* 51视频心愿墙 end */

/* 51视频心愿墙 start */
/* 心愿墙弹框共用框架：原生 dialog 仅在 open 时布局，关闭时不参与正文 Grid。 */
body.wishwall-list-page:is(.wishwall-publish-open, .wishwall-paid-open, .wishwall-confirm-open) { overflow: hidden; }
body.wishwall-list-page :is(#wishwall-publish-dialog, #wishwall-paid-dialog, #wishwall-confirm-dialog) {
    position: fixed;
    inset: 0;
    width: 520px;
    height: fit-content;
    max-width: calc(100% - 32px);
    max-height: calc(100dvh - 32px);
    margin: auto;
    /* 描边计入外框，左右留白保持发布472px、投稿指南和确认层392px的内容宽度。 */
    padding: 24px 22px 24px 24px;
    overflow: auto;
    overscroll-behavior: contain;
    border: 1px solid var(--wishwall-border);
    border-radius: 8px;
    background: #3c3b3b;
    color: var(--wishwall-text);
    font: 14px/22px var(--ui-font-family, system-ui, sans-serif);
    scrollbar-width: none;
}
body.wishwall-list-page :is(#wishwall-publish-dialog, #wishwall-paid-dialog, #wishwall-confirm-dialog)[open] { display: flex; flex-direction: column; gap: 20px; }
:is(#wishwall-publish-dialog, #wishwall-paid-dialog, #wishwall-confirm-dialog)::backdrop { background: #000b; }
:is(#wishwall-publish-dialog, #wishwall-paid-dialog, #wishwall-confirm-dialog)::-webkit-scrollbar { display: none; }
:is(#wishwall-publish-dialog, #wishwall-paid-dialog, #wishwall-confirm-dialog) .wishwall-publish-header { display: flex; flex: 0 0 auto; align-items: center; gap: 12px; width: 100%; }
:is(#wishwall-publish-dialog, #wishwall-paid-dialog, #wishwall-confirm-dialog) .wishwall-publish-header h2 { flex: 1; margin: 0; padding: 0; color: var(--wishwall-text); font-size: 24px; font-weight: 500; line-height: 34px; }
:is(#wishwall-publish-dialog, #wishwall-paid-dialog, #wishwall-confirm-dialog) .wishwall-publish-close { position: relative; display: block; flex: 0 0 18px; width: 18px; height: 18px; margin: 0; padding: 0; border: 0; background: none; }
:is(#wishwall-publish-dialog, #wishwall-paid-dialog, #wishwall-confirm-dialog) .wishwall-publish-close::before { position: absolute; inset: -13px; content: ""; }
:is(#wishwall-publish-dialog, #wishwall-paid-dialog, #wishwall-confirm-dialog) .wishwall-publish-close img { display: block; width: 18px; height: 18px; }
#wishwall-publish-dialog .wishwall-publish-form { display: flex; flex: 0 0 auto; flex-direction: column; gap: 20px; width: 100%; min-width: 0; margin: 0; }
#wishwall-publish-dialog .wishwall-publish-form > * { flex-shrink: 0; }
#wishwall-publish-dialog #wishwall-publish-intro { margin: 0; color: var(--wishwall-secondary); font-size: 14px; line-height: 22px; }
#wishwall-publish-dialog .wishwall-publish-types { min-width: 0; margin: 0; padding: 0; border: 0; }
#wishwall-publish-dialog .wishwall-publish-types legend { display: block; width: 100%; margin: 0; padding: 0; border: 0; color: var(--wishwall-text); font-size: 14px; font-weight: 500; line-height: 22px; }
/* 51视频心愿墙 start */
#wishwall-publish-dialog .wishwall-publish-options { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; min-height: 44px; margin-top: 12px; }
/* 51视频心愿墙 end */
/* 51视频心愿墙 start */
#wishwall-publish-dialog .wishwall-publish-option { position: relative; display: flex; align-items: center; justify-content: center; min-width: 0; height: 44px; margin: 0; padding: 0; border: 1px solid #5e5c5c; border-radius: 8px; background: #252323; color: var(--wishwall-text); font-size: 14px; font-weight: 500; line-height: 22px; white-space: nowrap; cursor: pointer; }
/* 51视频心愿墙 end */
#wishwall-publish-dialog .wishwall-publish-option input { position: absolute; width: 1px; height: 1px; margin: -1px !important; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
#wishwall-publish-dialog .wishwall-publish-option:has(input:checked) { border-color: var(--wishwall-brand); color: var(--wishwall-brand); }
#wishwall-publish-dialog .wishwall-publish-option:has(input:focus-visible) { outline: 2px solid var(--wishwall-brand); outline-offset: 3px; }
#wishwall-publish-dialog .wishwall-publish-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
#wishwall-publish-dialog .wishwall-publish-field > label { margin: 0; color: var(--wishwall-text); font-size: 14px; font-weight: 500; line-height: 22px; }
#wishwall-publish-dialog .wishwall-publish-field > input,
#wishwall-publish-dialog .wishwall-publish-field > textarea { display: block; width: 100%; min-width: 0; margin: 0 !important; padding: 10px 12px; border: 1px solid var(--wishwall-border); border-radius: 8px; background: var(--wishwall-surface); box-shadow: none; color: var(--wishwall-text); font: inherit; font-size: 14px; line-height: 22px; }
#wishwall-publish-dialog .wishwall-publish-field > input { height: 44px; }
#wishwall-publish-dialog .wishwall-publish-field > textarea { min-height: 140px; height: 140px; padding: 12px; resize: none; }
#wishwall-publish-dialog .wishwall-publish-field > input::placeholder,
#wishwall-publish-dialog .wishwall-publish-field > textarea::placeholder { color: var(--wishwall-muted); opacity: 1; }
#wishwall-publish-dialog .wishwall-publish-body-feedback { display: flex; align-items: flex-start; gap: 8px; height: 18px; }
#wishwall-publish-dialog #wishwall-publish-count { margin-left: auto; color: var(--wishwall-muted); font-size: 12px; line-height: 18px; white-space: nowrap; }
#wishwall-publish-dialog .wishwall-publish-error { margin: 0; color: #f68071; font-size: 14px; font-weight: 400; line-height: 22px; }
#wishwall-publish-dialog .wishwall-publish-body-feedback > .wishwall-publish-error { flex: 1; min-width: 0; }
#wishwall-publish-dialog .wishwall-publish-types > .wishwall-publish-error:not([hidden]) { margin-top: 8px; }
#wishwall-publish-dialog #wishwall-publish-count.is-error { color: #f68071; }
#wishwall-publish-dialog [aria-invalid="true"] { border-color: #f68071 !important; }
#wishwall-publish-dialog .wishwall-publish-field > [aria-invalid="true"]:focus-visible { outline: 1px solid #f68071; outline-offset: -1px; }
#wishwall-publish-dialog .wishwall-publish-anonymous { display: flex; align-items: center; gap: 8px; min-height: 22px; margin: 0; color: var(--wishwall-secondary); font-size: 14px; line-height: 22px; cursor: pointer; }
#wishwall-publish-dialog .wishwall-publish-anonymous input { -webkit-appearance: none; appearance: none; display: block; flex: 0 0 18px; width: 18px; height: 18px; margin: 0 !important; padding: 0; border: 1px solid var(--wishwall-border); border-radius: 4px; background: transparent; box-shadow: none; cursor: pointer; }
#wishwall-publish-dialog .wishwall-publish-anonymous input:checked { border: 0; background: var(--wishwall-brand) url('/usr/themes/Mirages/images/wishwall/publish-checkbox-check.svg') center / 18px 18px no-repeat; }
#wishwall-publish-dialog .wishwall-publish-anonymous small { color: var(--wishwall-muted); font-size: 12px; line-height: 18px; }
#wishwall-publish-dialog .wishwall-publish-compliance { margin: 0; color: var(--wishwall-muted); font-size: 12px; line-height: 18px; }
#wishwall-publish-dialog .wishwall-publish-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
/* 51视频心愿墙 start */
#wishwall-publish-dialog .wishwall-publish-cancel { width: 88px; height: 44px; background: #727272; border-color: #727272; color: var(--wishwall-text); }
/* 51视频心愿墙 end */
#wishwall-publish-dialog .wishwall-publish-submit { width: 112px; height: 44px; }
:is(#wishwall-publish-dialog, #wishwall-confirm-dialog) .wishwall-publish-status { margin: 0; color: var(--wishwall-secondary); font-size: 14px; line-height: 22px; overflow-wrap: anywhere; }

@media (max-width: 767.98px) {
    body.wishwall-list-page #wishwall-publish-dialog {
        --wishwall-publish-top: clamp(121px, calc(100dvh - 638px), 174px);
        inset: var(--wishwall-publish-top) 0 auto;
        width: 100%;
        max-width: none;
        max-height: calc(100dvh - var(--wishwall-publish-top));
        margin: 0;
        padding: 40px 16px 24px;
        border: 0;
        border-radius: 16px 16px 0 0;
    }
    #wishwall-publish-dialog::backdrop { background: transparent; }
    /* 51视频心愿墙 start */
    #wishwall-publish-dialog .wishwall-publish-option { background: #20222b; }
    #wishwall-publish-dialog .wishwall-publish-option:not(:has(input:checked)) { border-color: #303240; }
    /* 51视频心愿墙 end */
    #wishwall-publish-dialog .wishwall-publish-header { position: absolute; top: 16px; right: 16px; width: 18px; height: 18px; }
    #wishwall-publish-dialog .wishwall-publish-header h2 { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
    #wishwall-publish-dialog .wishwall-publish-anonymous small, #wishwall-publish-dialog .wishwall-publish-cancel { display: none; }
    #wishwall-publish-dialog .wishwall-publish-submit { width: 100%; }
    body.wishwall-list-page.wishwall-publish-open .wishwall-shell,
    body.wishwall-list-page.wishwall-publish-open #foot-menu,
    body.wishwall-list-page.wishwall-publish-open #footer { visibility: hidden; }
    body.wishwall-list-page.wishwall-publish-open #wishwall-publish-dialog[open] { visibility: visible; }
    body.wishwall-list-page #ai-navigation-container { height: 0; }
}

@media (max-width: 359.98px) {
    #wishwall-publish-dialog .wishwall-publish-body-feedback { height: auto; min-height: 18px; }
}

/* 有偿投稿指南只补充内容和宽度，H5同样使用居中卡片，不继承发布底部sheet。 */
body.wishwall-list-page :is(#wishwall-paid-dialog, #wishwall-confirm-dialog) { width: 440px; }
:is(#wishwall-paid-dialog, #wishwall-confirm-dialog) > * { flex-shrink: 0; }
:is(#wishwall-paid-dialog, #wishwall-confirm-dialog) .wishwall-publish-header { gap: 8px; }
:is(#wishwall-paid-dialog, #wishwall-confirm-dialog) .wishwall-publish-header h2 { font-size: 20px; line-height: 30px; }
#wishwall-paid-dialog .wishwall-paid-intro { margin: 0; color: var(--wishwall-secondary); font-size: 14px; line-height: 22px; }
#wishwall-paid-dialog .wishwall-paid-step { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
#wishwall-paid-dialog .wishwall-paid-step h3 { margin: 0; padding: 0; color: var(--wishwall-text); font-size: 14px; font-weight: 500; line-height: 22px; }
#wishwall-paid-dialog .wishwall-paid-step h3 > span { color: var(--wishwall-brand); }
#wishwall-paid-dialog .wishwall-paid-step p { margin: 0; color: var(--wishwall-muted); font-size: 14px; font-weight: 400; line-height: 22px; overflow-wrap: anywhere; }
#wishwall-paid-dialog .wishwall-paid-contact { display: flex; flex-direction: column; gap: 8px; min-width: 0; padding: 12px; border: 1px solid var(--wishwall-border); border-radius: 8px; background: var(--wishwall-surface); }
#wishwall-paid-dialog .wishwall-paid-contact p { margin: 0; color: var(--wishwall-muted); font-size: 12px; line-height: 18px; }
#wishwall-paid-dialog .wishwall-paid-contact a { display: block; color: var(--wishwall-brand); font-size: 14px; font-weight: 500; line-height: 22px; overflow-wrap: anywhere; }
#wishwall-paid-dialog .wishwall-paid-dismiss { width: 100%; min-height: 44px; height: 44px; }
@media (max-width: 767.98px) {
    body.wishwall-list-page :is(#wishwall-paid-dialog, #wishwall-confirm-dialog) { width: 343px; }
}

/* 发布确认叠在仍打开的表单上，保留原表单状态；两端均使用居中卡片。 */
body.wishwall-list-page #wishwall-confirm-dialog[open] { visibility: visible; }
#wishwall-confirm-dialog .wishwall-confirm-description { margin: 0; color: var(--wishwall-secondary); font-size: 14px; line-height: 22px; overflow-wrap: anywhere; }
#wishwall-confirm-dialog .wishwall-confirm-audit { display: none; margin: 0; color: var(--wishwall-muted); font-size: 14px; line-height: 22px; }
#wishwall-confirm-dialog .wishwall-confirm-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
#wishwall-confirm-dialog .wishwall-confirm-actions > .wishwall-button { width: 100%; height: 44px; min-height: 44px; }
#wishwall-confirm-dialog .wishwall-confirm-back { border-color: var(--wishwall-border); background: #3c3b3b; color: var(--wishwall-text); }
@media (max-width: 767.98px) {
    #wishwall-confirm-dialog .wishwall-confirm-audit { display: block; }
    #wishwall-confirm-dialog.is-pointer-open .wishwall-publish-close:focus-visible { outline: none; }
}

/* 51视频心愿墙 end */

/* 51视频心愿墙 start */
.wishwall-global-empty {
    box-sizing: border-box;
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 0 2rem;
    color: #d7d8dd;
}
.wishwall-global-empty-image { display: block; width: 444px; max-width: 100%; height: auto; margin: 0 auto 2rem; }
.wishwall-global-empty h2 { margin: 0 0 2.5rem; color: #a6a7af; font-size: 1rem; font-weight: 400; text-align: center; }
.wishwall-global-empty p { margin: 0; overflow-wrap: anywhere; }
.wishwall-global-recommend { margin-top: 2rem; }
.wishwall-global-recommend h3, .wishwall-global-cta h3 { margin: 0 0 .75rem; color: #f5f5f7; font-size: 1rem; font-weight: 400; }
.wishwall-global-tags { display: flex; flex-wrap: wrap; gap: .75rem; }
.wishwall-global-tags a { padding: .375rem .875rem; border-radius: 999px; background: #373535; color: #d7d8dd; text-decoration: none; overflow-wrap: anywhere; }
.wishwall-global-tags a:hover { color: #1abc9c; }
.wishwall-global-cta { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 2rem; padding: 1rem; border: 1px solid rgba(26, 188, 156, .4); border-radius: .5rem; background: rgba(26, 188, 156, .1); }
.wishwall-global-cta h3 { margin-bottom: .25rem; color: #1abc9c; font-size: .875rem; }
.wishwall-global-cta > a { flex: none; padding: .625rem 1.25rem; border-radius: .375rem; background: #1abc9c; color: #fff; text-decoration: none; }
.wishwall-global-cta > a:hover { background: #159b81; color: #fff; }
/* 2026-11-15 心愿墙搜索空态求瓜入口 start */
.wishwall-global-cta p br { display: none; }
/* 2026-11-15 心愿墙搜索空态求瓜入口 end */
@media (max-width: 640px) {
    .wishwall-global-empty { margin: 1rem 0; padding: 0 0 1.5rem; }
    /* 2026-11-15 心愿墙搜索空态求瓜入口 start */
    /* 删除：.wishwall-global-cta { align-items: flex-start; flex-direction: column; } */
    .wishwall-global-cta { gap: .75rem; padding: .75rem; }
    .wishwall-global-cta h3 { font-size: .75rem; }
    .wishwall-global-cta p { color: #fff; font-size: .875rem; font-weight: 500; line-height: 1.5; }
    .wishwall-global-cta p br { display: inline; }
    .wishwall-global-cta-comma { display: none; }
    .wishwall-global-cta > a { padding: .625rem .75rem; font-size: .875rem; font-weight: 500; }
    /* 2026-11-15 心愿墙搜索空态求瓜入口 end */
}
/* 51视频心愿墙 end */
