/* 心愿板 PC 版：配色与卡片结构沿用 H5 wishes.css（wish-card / wish-vote / wish-stage 类名同 H5），尺寸按桌面重排：
   英雄区横幅 + 左列表右说明两栏；表单是居中弹窗。 */
.wish-board { display: flex; flex-direction: column; gap: 22px; width: 100%; }
.wish-board button { border: 0; background: none; padding: 0; border-radius: 0; color: inherit; font: inherit; cursor: pointer; }

.wish-board-hero { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) 300px; align-items: center; gap: 24px; min-height: 280px; padding: 40px 48px; border-radius: 14px; border: 1px solid #ff6b7b28;
  background: radial-gradient(ellipse 520px 340px at 88% 30%, #84232b70, transparent 70%), radial-gradient(ellipse 380px 260px at 0% 100%, #5c142030, transparent 70%), linear-gradient(120deg, #21161b, #17141a 70%); box-shadow: inset 0 1px #ffc1c30d, 0 20px 50px #0006; }
.wish-board-hero::after { content: ''; position: absolute; width: 360px; height: 360px; right: -90px; top: -120px; border: 1px solid #eaa07818; border-radius: 50%; z-index: -1; box-shadow: 0 0 0 46px #a74f4410, 0 0 0 92px #a74f4407; }
.wish-board-eyebrow { font-size: 11px; font-weight: 650; letter-spacing: 2.4px; color: #e5a1a8; }
.wish-board-hero h1 { margin: 14px 0 14px; font-size: clamp(34px, 3.6vw, 52px); line-height: 1.04; letter-spacing: -1.6px; font-weight: 800; color: #fff2ee; }
.wish-board-hero h1 em { font-style: normal; background: linear-gradient(100deg, #ffd9b0, #f0a37e 45%, #ff6b7e); -webkit-background-clip: text; background-clip: text; color: transparent; }
.wish-board-hero p { margin: 0 0 26px; max-width: 520px; font-size: 15px; line-height: 1.7; color: #b8a3a9; }
.wish-board-actions { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.wish-board .wish-board-create { display: inline-flex; align-items: center; gap: 10px; height: 48px; min-width: 240px; padding: 0 18px; border-radius: 9px; background: linear-gradient(110deg, #f0243a, #d80922); color: #fff; font-size: 15px; font-weight: 700; white-space: nowrap; box-shadow: 0 8px 26px #e7182938; transition: transform .2s, box-shadow .2s, filter .2s; }
.wish-board .wish-board-create:hover { transform: translateY(-2px); box-shadow: 0 12px 32px #e718294d; filter: brightness(1.06); }
.wish-board-create svg { width: 18px; height: 18px; stroke-width: 1.8; }
.wish-board-create b { margin-left: auto; font-size: 26px; font-weight: 300; line-height: 1; transition: transform .25s; }
.wish-board-create:hover b { transform: rotate(90deg); }
.wish-board .wish-board-about { display: inline-flex; align-items: center; gap: 7px; height: 48px; padding: 0 16px; border-radius: 9px; border: 1px solid #ffffff1a; color: #c9bfc7; font-size: 14px; transition: border-color .2s, color .2s, background .2s; }
.wish-board .wish-board-about:hover { border-color: #ff6b7b55; color: #fff; background: #ffffff08; }
.wish-board-about svg { width: 17px; height: 17px; }

.wish-board-art { position: relative; width: 260px; height: 260px; justify-self: center; display: grid; place-items: center; pointer-events: none; }
.wish-board-art > svg { width: 170px; height: 170px; fill: #edb885; stroke: #ffe5b4; stroke-width: .6; filter: drop-shadow(6px 12px 0 #8e4d27) drop-shadow(0 14px 34px #dd763950); animation: wish-float 6s ease-in-out infinite; }
.wish-orbit { position: absolute; width: 250px; height: 62px; border: 1px solid #daa47469; border-radius: 50%; transform: rotate(-32deg); animation: wish-orbit 18s linear infinite; }
.wish-orbit-b { width: 200px; height: 200px; border-color: #f4bd7333; transform: rotate(35deg); animation-duration: 26s; animation-direction: reverse; }
.wish-board-art i { position: absolute; font-style: normal; color: #f5d5ab; animation: wish-twinkle 2.8s ease-in-out infinite; }
.wish-board-art i:nth-of-type(1) { right: 18px; top: 14px; font-size: 30px; }
.wish-board-art i:nth-of-type(2) { left: 22px; bottom: 40px; font-size: 16px; animation-delay: .9s; }
.wish-board-art i:nth-of-type(3) { left: 46px; top: 36px; font-size: 12px; animation-delay: 1.7s; }
@keyframes wish-float { 0%, 100% { transform: translateY(0) rotate(9deg); } 50% { transform: translateY(-10px) rotate(4deg); } }
@keyframes wish-orbit { to { rotate: 360deg; } }
@keyframes wish-twinkle { 0%, 100% { opacity: .35; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.1); } }

.wish-board-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.wish-board-bar { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; border-bottom: 1px solid #ffffff12; margin-bottom: 16px; flex-wrap: wrap; }
.wish-board-tabs { display: flex; gap: 28px; }
.wish-board .wish-board-tabs > button { position: relative; display: flex; align-items: center; gap: 7px; padding: 6px 0 14px; font-size: 15px; color: #85838c; white-space: nowrap; transition: color .2s; }
.wish-board .wish-board-tabs > button:hover { color: #d8d4dc; }
.wish-board .wish-board-tabs > button.active { color: #fff; font-weight: 700; }
.wish-board-tabs > button::after { content: ''; position: absolute; left: 50%; bottom: -1px; width: 28px; height: 3px; border-radius: 2px; background: #ed2339; transform: translateX(-50%) scaleX(0); transition: transform .25s cubic-bezier(.3, 1.4, .5, 1); }
.wish-board-tabs > button.active::after { transform: translateX(-50%) scaleX(1); }
.wish-board-tabs small { min-width: 20px; padding: 2px 6px; border-radius: 5px; background: #ffffff0a; color: #87838a; font-size: 11px; font-weight: 600; text-align: center; font-variant-numeric: tabular-nums; }
.wish-board-tabs .active small { background: #e9263b22; color: #ff7c8a; }
.wish-board-tools { display: flex; align-items: center; gap: 22px; padding-bottom: 12px; font-size: 13px; }
.wish-board-sort { display: flex; gap: 4px; padding: 3px; border-radius: 8px; background: #ffffff08; }
.wish-board .wish-board-sort button { height: 28px; padding: 0 12px; border-radius: 6px; color: #8a8792; transition: color .2s, background .2s; }
.wish-board .wish-board-sort button:hover { color: #e9e6ec; }
.wish-board .wish-board-sort button.active { background: #ffffff14; color: #fff; font-weight: 600; }
.wish-board .wish-board-mine { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 8px; border: 1px solid #ffffff14; color: #a29fa9; transition: color .2s, border-color .2s, background .2s; }
.wish-board .wish-board-mine:hover { color: #fff; border-color: #ffffff2a; }
.wish-board .wish-board-mine.active { color: #ff7c8a; border-color: #ff566755; background: #d61d331a; }
.wish-board-mine svg { width: 15px; height: 15px; }

.wish-board-list { display: grid; gap: 12px; }
.wish-board-skeleton { height: 118px; border-radius: 12px; background: linear-gradient(100deg, #15161b 30%, #1d1e24 50%, #15161b 70%) 0 0 / 300% 100%; animation: wish-shimmer 1.4s linear infinite; }
@keyframes wish-shimmer { to { background-position: -150% 0; } }
.wish-board .wish-card { display: flex; align-items: flex-start; gap: 16px; padding: 20px 20px 20px 18px; border-radius: 12px; border: 1px solid #ffffff0b; background: #15161b; min-width: 0; animation: wish-in .45s cubic-bezier(.2, .8, .3, 1) both; animation-delay: calc(var(--i, 0) * 40ms); transition: border-color .2s, transform .2s, box-shadow .2s; }
.wish-board .wish-card:hover { border-color: #ff6b7b30; transform: translateY(-2px); box-shadow: 0 12px 30px #0007; }
@keyframes wish-in { from { opacity: 0; transform: translateY(12px); } }
.wish-board .wish-top { background: linear-gradient(115deg, #24191e, #15161b 64%); }
.wish-board .wish-rank { width: 40px; flex-shrink: 0; font-size: 28px; font-weight: 800; line-height: 34px; font-style: italic; letter-spacing: -1.5px; color: #4f4a55; font-variant-numeric: tabular-nums; }
.wish-board .wish-top .wish-rank { color: #dfab7e; }
.wish-board .wish-first .wish-rank { color: #ff6879; text-shadow: 0 0 18px #ff445566; }
.wish-board .wish-rank svg { width: 26px; height: 26px; color: #a98a76; fill: none; stroke: currentColor; stroke-width: 1.5; }
.wish-board .wish-card-copy { flex: 1; min-width: 0; }
.wish-board .wish-card-meta { display: flex; align-items: center; gap: 10px; margin-bottom: 7px; font-size: 12px; color: #b0858b; }
.wish-board .wish-card-meta span { padding: 2px 8px; border-radius: 4px; background: #e9263b14; }
.wish-board .wish-card-meta small { font-size: 11px; letter-spacing: .6px; color: #6d6772; }
.wish-board .wish-card h3 { margin: 0 0 6px; font-size: 17px; line-height: 1.45; font-weight: 650; color: #f2eef4; overflow-wrap: anywhere; }
.wish-board .wish-card p { margin: 0; font-size: 13px; line-height: 1.7; color: #8d8895; overflow-wrap: anywhere; }
.wish-board .wish-vote { width: 64px; min-height: 80px; flex-shrink: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border-radius: 10px; border: 1px solid #ffffff14; background: #ffffff04; color: #b7b0bc; transition: border-color .2s, color .2s, background .2s; }
.wish-board .wish-vote:not(:disabled):hover { border-color: #ff566766; color: #ff8a98; background: #d61d3314; }
.wish-board .wish-vote svg { width: 19px; height: 19px; stroke-width: 2; }
.wish-board .wish-vote b { font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.wish-board .wish-vote small { font-size: 11px; color: #807984; }
.wish-board .wish-vote.voted { color: #ff697a; background: #d61d3322; border-color: #ff566755; }
.wish-board .wish-vote.voted small { color: #df6d7c; }
.wish-board .wish-vote:disabled { opacity: .5; cursor: default; }
.wish-board .wish-stage { display: flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 12px; color: #c0a16e; }
.wish-board .wish-stage i { width: 6px; height: 6px; border-radius: 50%; background: #d9b26f; flex-shrink: 0; }
.wish-board .wish-stage.pending { color: #a9a3b0; } .wish-board .wish-stage.pending i { background: #8f8996; }
.wish-board .wish-stage.open { color: #e5a1a8; } .wish-board .wish-stage.open i { background: #ed2339; }
.wish-board .wish-stage.completed { color: #8fd1a5; } .wish-board .wish-stage.completed i { background: #56c27b; }
.wish-board .wish-stage.rejected { color: #ff788a; align-items: flex-start; line-height: 1.5; } .wish-board .wish-stage.rejected i { background: #ff566c; margin-top: 6px; }
.wish-board .wish-watch { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 13px; font-weight: 600; color: #ff6b7e; text-decoration: none; }
.wish-board .wish-watch:hover { color: #ff8e9d; }
.wish-board .wish-watch svg { width: 13px; height: 13px; }
.wish-board .wish-watch > svg:first-child { width: 11px; fill: currentColor; stroke: none; }
.wish-board .wish-empty { padding: 56px 20px; border-radius: 12px; background: #14151a; text-align: center; }
.wish-board .wish-empty > svg { width: 44px; height: 44px; color: #8a5c66; fill: none; stroke: currentColor; stroke-width: 1.4; }
.wish-board .wish-empty h3 { margin: 14px 0 8px; font-size: 18px; }
.wish-board .wish-empty p { margin: 0; font-size: 13px; color: #827d89; }
.wish-board .wish-empty button { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; font-size: 14px; font-weight: 600; color: #f36776; }
.wish-board .wish-empty button svg { width: 14px; height: 14px; }
.wish-board .wish-board-more { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; height: 46px; margin-top: 14px; border-radius: 10px; border: 1px solid #ffffff12; color: #b4abb8; font-size: 14px; transition: border-color .2s, color .2s; }
.wish-board .wish-board-more:hover { border-color: #ffffff2a; color: #fff; }
.wish-board-more[hidden] { display: none; }
.wish-board-more svg { width: 15px; height: 15px; }

.wish-board-side { position: sticky; top: 92px; display: flex; flex-direction: column; gap: 16px; }
.wish-board-panel { padding: 22px; border-radius: 12px; border: 1px solid #ffffff0d; background: #141519; }
.wish-board-panel h2 { margin: 0 0 16px; font-size: 16px; }
.wish-board-panel p { margin: 12px 0 0; font-size: 13px; line-height: 1.75; color: #8f8a97; }
.wish-board-steps { position: relative; display: flex; justify-content: space-between; margin: 0 0 6px; padding: 0; list-style: none; }
.wish-board-steps::before { content: ''; position: absolute; left: 14%; right: 14%; top: 6px; height: 1px; background: linear-gradient(90deg, #ed2339, #d9b26f, #56c27b); opacity: .5; }
.wish-board-steps li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; flex: 1; font-size: 12px; color: #c9c3cd; }
.wish-board-steps i { width: 13px; height: 13px; border-radius: 50%; border: 3px solid #141519; background: #ed2339; box-shadow: 0 0 0 1px #ed233966; }
.wish-board-steps .is-creating i { background: #d9b26f; box-shadow: 0 0 0 1px #d9b26f66; }
.wish-board-steps .is-completed i { background: #56c27b; box-shadow: 0 0 0 1px #56c27b66; }
.wish-board-cta { text-align: center; background: radial-gradient(ellipse at 50% 0%, #84232b40, transparent 70%), #141519; border-color: #ff6b7b22; }
.wish-board-cta > svg { width: 40px; height: 40px; fill: #edb88522; stroke: #edb885; stroke-width: 1.3; }
.wish-board-cta h2 { margin: 10px 0 0; }
.wish-board .wish-board-cta button { display: inline-flex; align-items: center; gap: 7px; margin-top: 16px; font-size: 14px; font-weight: 650; color: #ff6b7e; }
.wish-board-cta button svg { width: 14px; height: 14px; transition: transform .2s; }
.wish-board-cta button:hover svg { transform: translateX(3px); }

/* 表单弹窗：挂在 #overlay（core/ui.js overlay()），居中。 */
.wish-modal-veil { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: 24px; background: #000b; backdrop-filter: blur(6px); animation: wish-fade .2s ease both; }
.wish-modal { width: min(560px, 100%); max-height: calc(100vh - 48px); overflow-y: auto; padding: 26px 30px 30px; border-radius: 18px; border: 1px solid #f78c9d26; background: linear-gradient(140deg, #231a20, #15151b 60%); box-shadow: 0 30px 80px #000c; overscroll-behavior: contain; animation: wish-pop .32s cubic-bezier(.2, 1.3, .4, 1) both; }
@keyframes wish-fade { from { opacity: 0; } }
@keyframes wish-pop { from { opacity: 0; transform: translateY(16px) scale(.96); } }
.wish-modal button { border: 0; background: none; padding: 0; color: inherit; font: inherit; cursor: pointer; }
.wish-modal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.wish-modal-head span { font-size: 11px; letter-spacing: 2px; color: #ab767e; }
.wish-modal-head h2 { margin: 6px 0 0; font-size: 28px; letter-spacing: -.7px; }
.wish-modal-head .icon-btn { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; background: #ffffff0a; color: #a99aa7; }
.wish-modal-head .icon-btn:hover { background: #ffffff16; color: #fff; }
.wish-modal-head svg { width: 18px; height: 18px; }
#wish-form label { display: flex; justify-content: space-between; margin: 18px 0 9px; font-size: 14px; color: #e2dce3; }
#wish-form label span { font-size: 12px; color: #817683; }
#wish-form input, #wish-form textarea { width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid #ffffff18; background: #0d0d1280; color: #f5edf1; font: inherit; font-size: 14px; line-height: 1.6; outline: none; resize: vertical; transition: border-color .2s, box-shadow .2s; }
#wish-form input:focus, #wish-form textarea:focus { border-color: #ee566c99; box-shadow: 0 0 0 3px #ee566c22; }
#wish-form input::placeholder, #wish-form textarea::placeholder { color: #655d6b; }
#wish-form > small { display: block; margin-top: 5px; text-align: right; font-size: 11px; color: #746b79; font-variant-numeric: tabular-nums; }
.wish-modal .wish-genres { display: flex; flex-wrap: wrap; gap: 8px; }
.wish-modal .wish-genres button { height: 32px; padding: 0 14px; border-radius: 16px; border: 1px solid #ffffff18; background: #0d0d1280; color: #a79ca8; font-size: 13px; transition: border-color .2s, color .2s, background .2s; }
.wish-modal .wish-genres button:hover { color: #fff; border-color: #ffffff30; }
.wish-modal .wish-genres button[aria-pressed="true"] { border-color: #ee566c99; background: #e9263b22; color: #ff8a98; font-weight: 600; }
.wish-modal .wish-form-note { margin: 20px 0 8px; font-size: 12px; line-height: 1.8; color: #8e7d8c; }
.wish-modal #wish-form-error { min-height: 18px; margin: 0; font-size: 13px; color: #ff788a; }
.wish-modal .wish-submit { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 48px; margin-top: 12px; border-radius: 10px; background: linear-gradient(110deg, #f0243a, #d80922); color: #fff; font-size: 15px; font-weight: 700; box-shadow: 0 8px 24px #e7182933; transition: filter .2s, transform .2s; }
.wish-modal .wish-submit:hover:not(:disabled) { filter: brightness(1.08); transform: translateY(-1px); }
.wish-modal .wish-submit:disabled { opacity: .6; cursor: default; }
.wish-modal .wish-submit svg { width: 19px; height: 19px; fill: #fff3; stroke: currentColor; stroke-width: 1.4; }

@media (max-width: 1100px) {
  .wish-board-layout { grid-template-columns: minmax(0, 1fr); }
  .wish-board-side { position: static; display: grid; grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .wish-board-hero { grid-template-columns: minmax(0, 1fr); padding: 26px 20px; min-height: 0; }
  .wish-board-art { position: absolute; right: -40px; top: -10px; width: 180px; height: 180px; opacity: .45; z-index: -1; }
  .wish-board-art > svg { width: 110px; height: 110px; }
  .wish-board-actions { flex-direction: column; align-items: stretch; }
  .wish-board .wish-board-create, .wish-board .wish-board-about { min-width: 0; height: 44px; justify-content: center; }
  .wish-board-create b { display: none; }
  .wish-board-tabs { gap: 16px; }
  .wish-board .wish-board-tabs > button { font-size: 13px; }
  .wish-board-side { grid-template-columns: minmax(0, 1fr); }
  .wish-board .wish-card { gap: 10px; padding: 14px 12px; }
  .wish-board .wish-rank { width: 28px; font-size: 21px; }
  .wish-board .wish-vote { width: 52px; min-height: 68px; }
  .wish-modal { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .wish-board *, .wish-modal-veil, .wish-modal { animation: none !important; transition: none !important; }
}
