﻿:root{--bg:#07130f;--panel:#0d211a;--panel2:#102a20;--line:#23483a;--gold:#e8c76b;--mint:#75e0b0;--text:#eaf5ef;--muted:#8fb3a3;--danger:#ff8c8c}
*{box-sizing:border-box}
body{margin:0;background:radial-gradient(circle at 15% 0%,#123b2c 0,#07130f 45%,#050b08 100%);color:var(--text);font:15px/1.65 "Microsoft YaHei",system-ui,sans-serif;min-height:100vh}
.hero{max-width:980px;margin:0 auto;padding:54px 20px 28px;text-align:center}
.badge{display:inline-block;border:1px solid var(--line);background:#0b241b;color:var(--gold);border-radius:999px;padding:6px 14px;font-size:13px;letter-spacing:1px}
h1{font-size:clamp(34px,6vw,64px);margin:16px 0 8px;letter-spacing:2px;background:linear-gradient(90deg,#fff,#e8c76b 55%,#9ff0cd);-webkit-background-clip:text;background-clip:text;color:transparent}
.hero p{max-width:680px;margin:0 auto;color:var(--muted)}
.stats{margin-top:16px;color:#b9d6c8;font-size:13px}
.stats span{color:var(--gold);font-weight:700}
main{max-width:980px;margin:0 auto;padding:0 20px 48px}
.card{background:linear-gradient(180deg,rgba(16,42,32,.96),rgba(9,26,19,.96));border:1px solid var(--line);border-radius:18px;box-shadow:0 24px 60px rgba(0,0,0,.28);padding:24px}
h2{font-size:20px;margin:0 0 16px}
label{display:block;color:#cfe5d9;font-size:13px;margin:0 0 14px}
input,select,textarea{display:block;width:100%;margin-top:6px;background:#081a13;border:1px solid #2b5946;border-radius:10px;color:var(--text);padding:11px 12px;font:inherit;outline:none}
input:focus,select:focus,textarea:focus{border-color:var(--mint);box-shadow:0 0 0 3px rgba(117,224,176,.08)}
textarea{min-height:120px;resize:vertical}
.row2{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.form-foot{display:flex;gap:16px;align-items:center;justify-content:space-between;flex-wrap:wrap}
small{color:var(--muted)}
button{cursor:pointer;border:0;border-radius:10px;padding:11px 22px;background:linear-gradient(135deg,#e8c76b,#b98b32);color:#161006;font-weight:700;font-size:15px}
button:disabled{opacity:.5;cursor:not-allowed}
.msg{min-height:22px;margin-top:10px;font-size:13px;color:var(--mint)}
.msg.err{color:var(--danger)}
.list-head{display:flex;align-items:center;justify-content:space-between;margin:30px 0 12px;color:var(--muted)}
.list-head h2{margin:0;color:var(--text)}
.list{display:grid;gap:12px}
.item{background:rgba(11,32,24,.9);border:1px solid var(--line);border-radius:14px;padding:18px;display:grid;grid-template-columns:1fr auto;gap:14px}
.item h3{margin:0 0 6px;font-size:17px}
.meta{display:flex;gap:8px;flex-wrap:wrap;font-size:12px;color:var(--muted);margin-bottom:8px}
.pill{border:1px solid #315d49;border-radius:999px;padding:2px 9px;color:#a9d5c1}
.status-pending{color:#ffcf70;border-color:#6d5621}.status-planned{color:#87c8ff;border-color:#285473}.status-doing{color:#e8c76b;border-color:#6d5621}.status-done{color:#75e0b0;border-color:#2b6b4e}.status-rejected{color:#ff9c9c;border-color:#6d3232}
.content{color:#cfe5d9;white-space:pre-wrap;word-break:break-word}
.vote{display:flex;flex-direction:column;align-items:center;gap:4px;min-width:72px}
.vote button{padding:9px 14px;background:#123d2c;color:var(--mint);border:1px solid #2b6b4e}
.vote b{font-size:22px;color:var(--gold)}
.vote small{font-size:11px}
footer{text-align:center;color:#5f8172;padding:24px;font-size:12px}
@media(max-width:620px){.row2{grid-template-columns:1fr}.item{grid-template-columns:1fr}.vote{flex-direction:row;justify-content:flex-start}}
.bg-grid{position:fixed;inset:0;pointer-events:none;background-image:linear-gradient(rgba(117,224,176,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(117,224,176,.035) 1px,transparent 1px);background-size:42px 42px;mask-image:linear-gradient(to bottom,#000,transparent 75%)}
main{position:relative;z-index:1}
.dash{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:16px}
.stat-card{background:linear-gradient(180deg,rgba(16,42,32,.95),rgba(8,23,17,.95));border:1px solid var(--line);border-radius:14px;padding:16px;text-align:center}
.stat-card b{display:block;font-size:28px;color:var(--gold);line-height:1.1}
.stat-card span{font-size:12px;color:var(--muted)}
.card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:18px}
.card-head h2{margin:0}
.sub{margin:4px 0 0;color:var(--muted);font-size:13px}
.tag-gold{white-space:nowrap;border:1px solid #6d5621;background:#2b220d;color:var(--gold);border-radius:999px;padding:4px 10px;font-size:12px}
.toolbar{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:26px 0 10px}
.filters,.sorts{display:flex;gap:8px;flex-wrap:wrap}
.chip{border:1px solid #2b5946;background:#0b241b;color:#b9d6c8;border-radius:999px;padding:7px 13px;font-size:13px;cursor:pointer}
.chip.active{background:linear-gradient(135deg,#e8c76b,#b98b32);border-color:#e8c76b;color:#171006;font-weight:700}
/* 分类筛选：每个类别用自己的颜色，只有「全部」是金色 */
.filters .chip.active[data-cat="新玩法"]{background:linear-gradient(135deg,#f2d27d,#b98b32);border-color:#f2d27d;color:#171006}
.filters .chip.active[data-cat="现有玩法优化"]{background:linear-gradient(135deg,#75e0b0,#2b9c6a);border-color:#75e0b0;color:#04150d}
.filters .chip.active[data-cat="数值平衡"]{background:linear-gradient(135deg,#8ecbff,#3a6fd8);border-color:#8ecbff;color:#04101f}
.filters .chip.active[data-cat="界面文案"]{background:linear-gradient(135deg,#c9a6ff,#7a4ed8);border-color:#c9a6ff;color:#0d0620}
.filters .chip.active[data-cat="Bug反馈"]{background:linear-gradient(135deg,#ff9c9c,#c94a4a);border-color:#ff9c9c;color:#1f0505}
.filters .chip.active[data-cat="全部"]{background:linear-gradient(135deg,#e8c76b,#b98b32);border-color:#e8c76b;color:#171006}
.item{transition:transform .15s ease,border-color .15s ease;border-left:3px solid #2b6b4e}
.item:hover{transform:translateY(-2px);border-color:#3a7d61}
.tips{margin-top:22px;background:rgba(11,32,24,.75);border:1px dashed #2b5946;border-radius:14px;padding:16px 18px;color:var(--muted)}
.tips b{color:var(--gold)}
.tips p{margin:4px 0 0}
@media(max-width:620px){.dash{grid-template-columns:repeat(2,1fr)}.card-head{flex-direction:column}.toolbar{flex-direction:column}}
/* 多彩主题覆盖 */
body{background:
  radial-gradient(ellipse at 12% 0%,rgba(35,120,92,.42) 0,transparent 42%),
  radial-gradient(ellipse at 88% 8%,rgba(232,199,107,.16) 0,transparent 38%),
  radial-gradient(ellipse at 72% 72%,rgba(78,112,220,.13) 0,transparent 42%),
  radial-gradient(ellipse at 22% 88%,rgba(155,88,210,.12) 0,transparent 38%),
  #06100c}
h1{background:linear-gradient(100deg,#fff 0%,#9ff0cd 28%,#e8c76b 58%,#9db8ff 84%,#e9a7ff 100%);-webkit-background-clip:text;background-clip:text}
.badge{border-color:rgba(232,199,107,.45);box-shadow:0 0 24px rgba(232,199,107,.08)}
.stat-card:nth-child(1){border-color:#6d5621;background:linear-gradient(180deg,rgba(46,37,15,.9),rgba(12,22,17,.95))}
.stat-card:nth-child(2){border-color:#2b6b4e;background:linear-gradient(180deg,rgba(18,55,40,.92),rgba(12,22,17,.95))}
.stat-card:nth-child(3){border-color:#285473;background:linear-gradient(180deg,rgba(18,40,58,.92),rgba(12,22,17,.95))}
.stat-card:nth-child(4){border-color:#5a3b78;background:linear-gradient(180deg,rgba(42,28,58,.92),rgba(12,22,17,.95))}
.stat-card:nth-child(1) b{color:#f2d27d}.stat-card:nth-child(2) b{color:#75e0b0}.stat-card:nth-child(3) b{color:#88c8ff}.stat-card:nth-child(4) b{color:#d8a6ff}
.item{background:linear-gradient(135deg,rgba(14,39,29,.92),rgba(9,24,18,.96))}
.item.cat-new{border-left-color:#e8c76b}
.item.cat-opt{border-left-color:#75e0b0}
.item.cat-balance{border-left-color:#67b7ff}
.item.cat-text{border-left-color:#d49cff}
.item.cat-bug{border-left-color:#ff8c8c}
.item.cat-other{border-left-color:#8fb3a3}
.pill.cat-new{color:#f2d27d;border-color:#6d5621;background:rgba(232,199,107,.08)}
.pill.cat-opt{color:#75e0b0;border-color:#2b6b4e;background:rgba(117,224,176,.08)}
.pill.cat-balance{color:#88c8ff;border-color:#285473;background:rgba(103,183,255,.08)}
.pill.cat-text{color:#d8a6ff;border-color:#5a3b78;background:rgba(212,156,255,.08)}
.pill.cat-bug{color:#ff9c9c;border-color:#6d3232;background:rgba(255,140,140,.08)}
.pill.cat-other{color:#b9d6c8;border-color:#315d49;background:rgba(143,179,163,.06)}
.filters .chip.active{box-shadow:0 0 18px rgba(255,255,255,.10)}
.sorts .chip.active{background:linear-gradient(135deg,#67b7ff,#3a6fd8);border-color:#67b7ff;color:#06111f;box-shadow:0 0 22px rgba(103,183,255,.14)}
/* 排序按钮各用一色：热门=橙红，最新=蓝 */
.sorts .chip.active[data-sort="hot"]{background:linear-gradient(135deg,#ffb066,#e0632a);border-color:#ffb066;color:#1f0d02;box-shadow:0 0 20px rgba(255,140,60,.20)}
.sorts .chip.active[data-sort="new"]{background:linear-gradient(135deg,#67b7ff,#3a6fd8);border-color:#67b7ff;color:#06111f;box-shadow:0 0 20px rgba(103,183,255,.20)}
button{box-shadow:0 8px 24px rgba(232,199,107,.12)}
.vote button:hover{background:#1b5a41;border-color:#75e0b0}
.music-player{position:fixed;right:18px;bottom:18px;z-index:20;display:flex;align-items:center;gap:8px;background:rgba(7,20,14,.82);border:1px solid #2b5946;border-radius:999px;padding:7px 12px 7px 7px;backdrop-filter:blur(10px);box-shadow:0 10px 30px rgba(0,0,0,.28)}
.music-player button{width:38px;height:38px;padding:0;border-radius:50%;background:linear-gradient(135deg,#2b6b4e,#123d2c);color:#bfffe1;border:1px solid #3a7d61;display:grid;place-items:center;font-size:17px}
.music-player span{font-size:11px;color:#8fb3a3;letter-spacing:1px}
@media(max-width:620px){.music-player{right:12px;bottom:12px}}
/* 交互动画 */
button,.chip,.item,.music-player button{transition:transform .18s ease,box-shadow .18s ease,background .18s ease,border-color .18s ease,color .18s ease}
button:hover{transform:translateY(-1px);box-shadow:0 10px 26px rgba(232,199,107,.18)}
button:active{transform:scale(.95)}
.chip:hover{transform:translateY(-1px);border-color:#4b9b76;color:#eafff4}
.chip.active,.sorts .chip.active{transform:translateY(-1px)}
.item{animation:item-rise .42s cubic-bezier(.2,.8,.2,1) both}
.item:hover h3{color:#f2d27d}
.vote button:active{transform:scale(.88)}
@keyframes item-rise{from{opacity:0;transform:translateY(12px) scale(.985)}to{opacity:1;transform:none}}
.msg.success-pop{animation:msg-pop .55s cubic-bezier(.2,.9,.2,1)}
@keyframes msg-pop{0%{transform:translateY(4px);color:#75e0b0;opacity:.3}55%{transform:translateY(-2px) scale(1.04)}100%{transform:none;opacity:1}}
.music-player button{animation:music-glow 3.2s ease-in-out infinite}
@keyframes music-glow{0%,100%{box-shadow:0 0 0 rgba(117,224,176,0)}50%{box-shadow:0 0 18px rgba(117,224,176,.18)}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}
/* 档案页 */
.small-hero{padding:42px 20px 22px}
.small-hero h1{font-size:clamp(30px,5vw,46px)}
.profile-main{max-width:980px;margin:0 auto;padding:0 20px 48px}
.code-row{display:flex;gap:10px}.code-row input{margin:0;font-size:20px;letter-spacing:6px;text-align:center}
.code-row button{white-space:nowrap}
.profile{margin-top:16px}
.profile-head{display:flex;align-items:center;justify-content:space-between;gap:16px;background:linear-gradient(135deg,rgba(16,42,32,.95),rgba(9,24,18,.96));border:1px solid var(--line);border-radius:18px;padding:22px;margin-bottom:12px}
.profile-head h2{margin:0;font-size:28px}.profile-head p{margin:4px 0 0;color:var(--muted)}
.asset-big{text-align:right}.asset-big span{display:block;font-size:12px;color:var(--muted)}.asset-big b{font-size:30px;color:var(--gold)}
.pgrid{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}
.pcard{background:rgba(11,32,24,.92);border:1px solid var(--line);border-radius:12px;padding:13px;min-height:82px}
.pcard span{display:block;font-size:12px;color:var(--muted)}.pcard b{display:block;font-size:20px;color:#eaf5ef;margin-top:5px;word-break:break-word}.pcard small{display:block;font-size:11px;color:#75e0b0;margin-top:4px}
.psection{margin-top:18px}.psection h3{font-size:16px;margin:0 0 10px;color:#b9d6c8}
.back{text-align:center;margin-top:24px}.back a{color:#8fb3a3;text-decoration:none;border-bottom:1px dashed #315d49}
@media(max-width:720px){.pgrid{grid-template-columns:repeat(2,1fr)}.profile-head{flex-direction:column;align-items:flex-start}.asset-big{text-align:left}.code-row{flex-direction:column}}
.hero-actions{margin-top:14px}.ghost-btn{display:inline-block;color:#bfffe1;text-decoration:none;border:1px solid #2b6b4e;background:rgba(18,61,44,.55);border-radius:999px;padding:7px 15px;font-size:13px;transition:.18s}.ghost-btn:hover{transform:translateY(-1px);border-color:#75e0b0;background:rgba(27,90,65,.7)}
.player-search{display:flex;gap:10px;margin-bottom:10px}.player-search input{margin:0;flex:1}
.player-results{display:grid;grid-template-columns:repeat(2,1fr);gap:8px;margin:8px 0 14px}
.prow{display:flex;flex-direction:column;align-items:flex-start;gap:2px;text-align:left;background:#0b241b;border:1px solid #2b5946;color:#eaf5ef;padding:10px 12px;border-radius:10px;cursor:pointer}
.prow b{font-size:15px}.prow span{font-size:12px;color:#b9d6c8}.prow small{font-size:10px;color:#6f9582;word-break:break-all}
.prow:hover{border-color:#75e0b0;background:#123d2c}
.pdetail{margin-top:10px;border-top:1px solid #23483a;padding-top:14px}
@media(max-width:720px){.player-results{grid-template-columns:1fr}}
.stats-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:8px}
.gstat{background:linear-gradient(180deg,rgba(18,55,40,.9),rgba(10,27,20,.95));border:1px solid #2b5946;border-radius:10px;padding:11px}
.gstat span{display:block;font-size:11px;color:#8fb3a3}.gstat b{display:block;font-size:18px;color:#e8c76b;margin-top:3px}
.top-players{display:grid;gap:6px}
.top-row{display:grid;grid-template-columns:28px 1fr 70px 120px;align-items:center;gap:8px;text-align:left;background:#0b241b;border:1px solid #23483a;border-radius:9px;padding:8px 10px;color:#eaf5ef;cursor:pointer}
.top-row i{font-style:normal;color:#e8c76b;font-weight:700}.top-row span{font-size:12px;color:#8fb3a3}.top-row em{font-style:normal;text-align:right;color:#75e0b0}
.top-row:hover{border-color:#75e0b0;background:#123d2c}
@media(max-width:720px){.stats-grid{grid-template-columns:repeat(2,1fr)}.top-row{grid-template-columns:24px 1fr 60px}.top-row em{display:none}}
.rank-list{display:grid;gap:8px;margin-top:8px}
.rank-row{display:grid;grid-template-columns:40px 1fr 140px;align-items:center;gap:12px;background:rgba(11,32,24,.92);border:1px solid #23483a;border-radius:12px;padding:13px 16px}
.rank-no{font-size:18px;color:#8fb3a3;text-align:center}.rank-no.top{color:#e8c76b}
.rank-main strong{display:block;font-size:16px}.rank-main span{font-size:12px;color:#8fb3a3}
.rank-row em{font-style:normal;text-align:right;color:#75e0b0;font-weight:700}
@media(max-width:620px){.rank-row{grid-template-columns:32px 1fr 95px}.rank-row em{font-size:13px}}
.funnel{display:grid;gap:6px}.funnel-row{display:grid;grid-template-columns:70px 1fr 40px;align-items:center;gap:10px;font-size:12px;color:#8fb3a3}.funnel-row>div{height:12px;background:#0b241b;border-radius:999px;overflow:hidden}.funnel-row i{display:block;height:100%;background:linear-gradient(90deg,#2b6b4e,#75e0b0);border-radius:999px;min-width:2px}.funnel-row b{text-align:right;color:#e8c76b}
.official-reply{margin-top:12px;padding:10px 12px;border-left:3px solid #e8c76b;background:rgba(232,199,107,.07);border-radius:8px}
.official-reply b{display:block;font-size:12px;color:#e8c76b;margin-bottom:4px}.official-reply p{margin:0;color:#dcefe5;font-size:13px;white-space:pre-wrap}
.admin-reply{display:flex;gap:8px;margin-top:10px;align-items:flex-start;min-width:0;flex-wrap:wrap}.admin-reply textarea{min-height:54px;margin:0;flex:1 1 220px;min-width:0;font-size:13px;white-space:pre-wrap;overflow-x:hidden;word-break:break-word}.admin-reply button{padding:9px 14px;white-space:nowrap;background:#123d2c;color:#bfffe1;border:1px solid #2b6b4e}
@media(max-width:720px){.admin-reply{flex-direction:column}.admin-reply button{width:100%}}


/* 我的建议 */
.mine { margin: 28px 0 8px; }
.mine h2 { display: flex; align-items: center; gap: 10px; }
.mine .badge { background: #2ea36b; color: #fff; font-size: 12px; padding: 2px 8px; border-radius: 10px; }
.mine .card { margin-bottom: 10px; }
.mine-head { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 6px; }
.mine-body { color: #cfd8dc; font-size: 14px; }
.mine-reply { margin-top: 8px; padding: 8px 10px; border-left: 3px solid #2ea36b; background: rgba(46,163,107,.10); border-radius: 6px; font-size: 14px; }
.mine-wait { margin-top: 8px; color: #8a949c; font-size: 13px; }
.mine-new { border-color: #2ea36b !important; box-shadow: 0 0 0 1px rgba(46,163,107,.35); }


/* 右上角设置 */
.topbar { position: fixed; top: 14px; right: 14px; z-index: 50; }
.settings-btn { background: rgba(30,38,45,.85); color: #e6edf3; border: 1px solid rgba(255,255,255,.14); border-radius: 10px; padding: 8px 12px; font-size: 14px; cursor: pointer; backdrop-filter: blur(6px); }
.settings-btn:hover { border-color: #2ea36b; }
.settings-panel { position: fixed; top: 58px; right: 14px; z-index: 50; width: 240px; background: rgba(24,30,36,.97); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: 14px; box-shadow: 0 10px 30px rgba(0,0,0,.45); }
.settings-panel.hidden { display: none; }
.settings-title { font-size: 14px; color: #9fb0bb; margin-bottom: 10px; }
.settings-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 0; font-size: 14px; color: #dfe7ec; }
.settings-row input[type=range] { width: 110px; }
.settings-tip { margin-top: 8px; font-size: 12px; color: #7d8a93; }

.vol-battery {
  position: relative;
  display: inline-block;
  width: 104px;
  height: 24px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 6px;
  overflow: hidden;
  background: rgba(255,255,255,.06);
}
.vol-fill {
  position: absolute; left: 0; top: 0; bottom: 0; width: 60%;
  background: linear-gradient(180deg, #34b877, #219a60);
  transition: width .08s linear;
}
.vol-num {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,.55);
  pointer-events: none;
}
.vol-battery input[type=range] {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  margin: 0; opacity: 0; cursor: pointer;
}

.settings-ver { margin-top: 10px; padding-top: 8px; border-top: 1px solid rgba(255,255,255,.10); font-size: 12px; color: #8a949c; }
.settings-ver b { color: #2ea36b; font-weight: 700; }

/* 最近更新弹窗 */
.modal-mask { position: fixed; inset: 0; background: rgba(0,0,0,.62); display: flex; align-items: center; justify-content: center; z-index: 100; padding: 18px; backdrop-filter: blur(3px); }
.modal-mask.hidden { display: none; }
.modal-card { width: 100%; max-width: 420px; background: #1a2127; border: 1px solid rgba(255,255,255,.12); border-radius: 16px; box-shadow: 0 24px 60px rgba(0,0,0,.55); overflow: hidden; animation: pop .18s ease-out; }
@keyframes pop { from { transform: scale(.94); opacity: 0 } to { transform: scale(1); opacity: 1 } }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px 10px; }
.modal-head h3 { margin: 0; font-size: 17px; color: #e6edf3; }
.modal-x { background: none; border: none; color: #8a949c; font-size: 16px; cursor: pointer; }
.modal-body { padding: 4px 18px 8px; max-height: 56vh; overflow-y: auto; color: #cfd8dc; font-size: 14px; line-height: 1.7; }
.modal-body .upd-date { color: #2ea36b; font-weight: 700; margin: 10px 0 2px; font-size: 13px; }
.modal-body ul { margin: 0 0 6px; padding-left: 18px; }
.modal-body li { margin: 2px 0; }
.modal-foot { padding: 10px 18px 16px; text-align: right; }
.modal-ok { background: linear-gradient(135deg,#34b877,#219a60); color: #04150d; border: none; border-radius: 10px; padding: 9px 20px; font-weight: 700; cursor: pointer; }


/* ---- 建议附图 ---- */
.uploader{display:flex;align-items:center;gap:10px;margin:6px 0 8px;flex-wrap:wrap}
.uploader small{opacity:.65}
.upload-btn{padding:8px 14px;border-radius:10px;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.06);color:inherit;cursor:pointer}
.upload-btn:disabled{opacity:.45;cursor:not-allowed}
.img-previews{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:8px}
.img-previews:empty{display:none}
.thumb{position:relative;width:96px;height:96px;border-radius:10px;overflow:hidden;border:1px solid rgba(255,255,255,.16)}
.thumb img{width:100%;height:100%;object-fit:cover;display:block}
.thumb-x{position:absolute;top:3px;right:3px;width:20px;height:20px;border-radius:50%;border:0;background:rgba(0,0,0,.65);color:#fff;font-size:12px;line-height:20px;cursor:pointer;padding:0}
.imgs{display:flex;gap:8px;flex-wrap:wrap;margin-top:8px}
.imgs img{width:104px;height:104px;object-fit:cover;border-radius:10px;border:1px solid rgba(255,255,255,.16);display:block}
.imgs a{display:block;line-height:0}

/* ---- 图片灯箱 ---- */
.imgs img.zoomable{cursor:zoom-in}
.lightbox{position:fixed;inset:0;background:rgba(0,0,0,.86);display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;z-index:9999;cursor:zoom-out}
.lightbox.hidden{display:none}
.lightbox img{max-width:92vw;max-height:84vh;border-radius:12px;box-shadow:0 10px 40px rgba(0,0,0,.6)}
.lightbox span{color:#cfd8e3;font-size:13px}


/* ===========================================================
   v2 主题：统一色板 / 更干净的层次（覆盖上面的历史样式）
   =========================================================== */
:root{
  --bg:#0a0e13;
  --surface:#111821;
  --surface-2:#151e28;
  --line:#1f2b38;
  --line-soft:#18222d;
  --text:#e8eef6;
  --muted:#8ea2b8;
  --accent:#5fe3b0;
  --accent-soft:rgba(95,227,176,.10);
  --gold:#f2c66d;
  --danger:#ff8a8a;
}
*,*::before,*::after{box-sizing:border-box}
[hidden]{display:none !important}
body{overflow-x:hidden}
html{scroll-behavior:smooth}
body{
  background:
    radial-gradient(900px 480px at 50% -12%, rgba(38,92,74,.55) 0%, rgba(10,14,19,0) 62%),
    linear-gradient(180deg,#0b1015 0%,#0a0e13 40%,#080b0f 100%);
  color:var(--text);
  font:15px/1.65 "Microsoft YaHei",system-ui,-apple-system,sans-serif;
}
.bg-grid{opacity:.28}

/* 顶部 */
.hero{padding:56px 20px 22px}
.badge{
  background:rgba(95,227,176,.07);
  border:1px solid rgba(95,227,176,.22);
  color:var(--accent);
  letter-spacing:.5px;font-weight:600;
  box-shadow:none;
}
h1{
  background:none !important;
  -webkit-text-fill-color:#fff !important;
  color:#fff !important;
  font-size:clamp(30px,5vw,50px);
  font-weight:800;letter-spacing:1px;
  margin:18px 0 10px;
}
.hero p{color:var(--muted);max-width:640px}
.stats{margin-top:14px;color:var(--muted);font-size:13px}
.stats span{color:var(--accent);font-weight:700}
.hero-actions{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin-top:18px}
.ghost-btn{
  display:inline-block;padding:9px 16px;border-radius:999px;
  border:1px solid var(--line);background:var(--surface);
  color:var(--text);text-decoration:none;font-size:13.5px;
  transition:border-color .15s ease,transform .15s ease,background .15s ease;
}
.ghost-btn:hover{border-color:rgba(95,227,176,.5);background:var(--surface-2);transform:translateY(-1px)}

/* 统计卡 */
.dash{gap:12px;margin-bottom:18px}
.stat-card{
  background:var(--surface) !important;
  border:1px solid var(--line) !important;
  border-radius:14px;
  padding:16px 14px;
  transition:border-color .15s ease,transform .15s ease;
}
.stat-card:hover{border-color:var(--line-soft);transform:translateY(-1px)}
.stat-card b{color:var(--text) !important;font-size:26px;font-weight:800;letter-spacing:.5px}
.stat-card:nth-child(1) b{color:var(--gold) !important}
.stat-card:nth-child(2) b{color:var(--accent) !important}
.stat-card span{color:var(--muted)}

/* 卡片 */
.card{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:18px;
  box-shadow:0 18px 44px rgba(0,0,0,.34);
  padding:24px;
}
.card-head h2,.list-head h2{font-weight:700;letter-spacing:.3px}
.sub{color:var(--muted)}
.tag-gold{
  background:rgba(242,198,109,.10);
  border:1px solid rgba(242,198,109,.28);
  color:var(--gold);
  font-weight:600;
}

/* 表单 */
label{color:#b9c9da;font-size:13px;letter-spacing:.2px}
input,select,textarea{
  background:#0c131a;border:1px solid var(--line);border-radius:11px;
  color:var(--text);padding:12px 13px;margin-top:7px;
  transition:border-color .15s ease,box-shadow .15s ease;
}
input::placeholder,textarea::placeholder{color:#5f7387}
input:focus,select:focus,textarea:focus{
  border-color:rgba(95,227,176,.55);
  box-shadow:0 0 0 3px rgba(95,227,176,.10);
}
textarea{min-height:132px}
.form-foot{gap:12px;border-top:1px solid var(--line-soft);padding-top:16px;margin-top:6px}
button{
  background:linear-gradient(135deg,#6ff0c0,#38b98c);
  color:#04140e;font-weight:800;border-radius:11px;
  padding:11px 22px;letter-spacing:.3px;
  transition:filter .15s ease,transform .15s ease;
}
button:hover:not(:disabled){filter:brightness(1.06);transform:translateY(-1px)}
.uploader{margin-top:8px}
.upload-btn{
  background:rgba(95,227,176,.08);color:var(--accent);
  border:1px dashed rgba(95,227,176,.45);box-shadow:none;font-weight:600;
}
.upload-btn:hover:not(:disabled){background:rgba(95,227,176,.14)}
.uploader small{color:var(--muted)}
.msg{color:var(--accent)}
.msg.err{color:var(--danger)}

/* 筛选 */
.toolbar{margin:26px 0 14px;align-items:center}
.chip{
  background:var(--surface);border:1px solid var(--line);color:#a9bccd;
  border-radius:999px;padding:7px 14px;font-size:13px;
  transition:border-color .15s ease,color .15s ease,background .15s ease;
}
.chip:hover{border-color:rgba(95,227,176,.4);color:var(--text)}
.chip.active,
.sorts .chip.active{
  background:rgba(95,227,176,.14);
  border-color:rgba(95,227,176,.55);
  color:var(--accent);
  font-weight:700;
  box-shadow:none;
}
/* 分类按钮恢复六种颜色 */
.filters .chip.active[data-cat="全部"]{background:linear-gradient(135deg,#f2d27d,#b98b32);border-color:#f2d27d;color:#171006;font-weight:700}
.filters .chip.active[data-cat="新玩法"]{background:linear-gradient(135deg,#f2d27d,#b98b32);border-color:#f2d27d;color:#171006;font-weight:700}
.filters .chip.active[data-cat="现有玩法优化"]{background:linear-gradient(135deg,#75e0b0,#2b9c6a);border-color:#75e0b0;color:#04150d;font-weight:700}
.filters .chip.active[data-cat="数值平衡"]{background:linear-gradient(135deg,#8ecbff,#3a6fd8);border-color:#8ecbff;color:#04101f;font-weight:700}
.filters .chip.active[data-cat="界面文案"]{background:linear-gradient(135deg,#c9a6ff,#7a4ed8);border-color:#c9a6ff;color:#0d0620;font-weight:700}
.filters .chip.active[data-cat="Bug反馈"]{background:linear-gradient(135deg,#ff9c9c,#c94a4a);border-color:#ff9c9c;color:#1f0505;font-weight:700}
.list-head{margin:30px 0 12px}
.list-head span{color:var(--muted);font-size:13px}

/* 建议列表 */
.list{gap:12px}
.item{
  background:var(--surface) !important;
  border:1px solid var(--line) !important;
  border-left:1px solid var(--line) !important;
  border-radius:14px;
  padding:18px 20px;
  grid-template-columns:minmax(0,1fr) auto;
}
.item:hover{border-color:#2b3a4b !important;transform:translateY(-1px)}
.item h3{font-size:16.5px;font-weight:700;letter-spacing:.2px}
.meta{color:var(--muted);gap:9px;margin-bottom:9px}
.pill{
  border:1px solid var(--line);
  background:#0e151d;
  color:#9fb4c7;
  font-weight:500;
}
.status-pending{color:var(--muted) !important;border-color:var(--line) !important}
.status-planned{color:#8ec2ff !important;border-color:rgba(88,160,255,.35) !important}
.status-doing{color:var(--gold) !important;border-color:rgba(242,198,109,.35) !important}
.status-done{color:var(--accent) !important;border-color:rgba(95,227,176,.35) !important}
.status-rejected{color:var(--danger) !important;border-color:rgba(255,138,138,.3) !important}
.content{color:#c6d4e2}
.official-reply{
  background:#0d1620 !important;border:1px solid var(--line-soft) !important;
  border-left:3px solid rgba(95,227,176,.55) !important;border-radius:10px;
  padding:12px 14px !important;margin-top:10px !important;
}
.official-reply b{color:var(--accent)}
.vote{min-width:78px}
.vote button{
  background:transparent;color:var(--accent);
  border:1px solid rgba(95,227,176,.4);box-shadow:none;font-weight:700;
  padding:8px 14px;
}
.vote button:hover:not(:disabled){background:var(--accent-soft)}
.vote b{color:var(--text);font-size:20px;font-weight:800}
.vote small{color:var(--muted)}

/* 底部提示 */
.tips{background:var(--surface);border:1px dashed var(--line);border-radius:14px;color:var(--muted)}
.tips b{color:var(--gold)}
footer{color:#59707f}

/* 设置按钮 */
.settings-btn{background:var(--surface);border:1px solid var(--line);color:var(--text);box-shadow:none;font-weight:600}
.settings-btn:hover{background:var(--surface-2)}
.settings-panel{background:var(--surface);border:1px solid var(--line);box-shadow:0 24px 60px rgba(0,0,0,.5)}
.modal-card{background:var(--surface);border:1px solid var(--line)}
.modal-ok{background:linear-gradient(135deg,#6ff0c0,#38b98c);color:#04140e}

/* 移动端 */
@media (max-width:760px){
  html,body{max-width:100%;overflow-x:hidden}
  main,.hero{max-width:100%}
  .dash{grid-template-columns:repeat(2,minmax(0,1fr))}
  .row2{grid-template-columns:minmax(0,1fr)}
  .item{grid-template-columns:minmax(0,1fr)}
  .list{grid-template-columns:minmax(0,1fr)}
  .form-foot{flex-direction:column;align-items:stretch}
  .form-foot button{width:100%}
  .hero-actions{gap:8px}
  .hero{padding:40px 16px 16px}
  .card{padding:18px;border-radius:16px}
  .dash{grid-template-columns:repeat(2,1fr)}
  .row2{grid-template-columns:1fr}
  .item{grid-template-columns:1fr;gap:10px}
  .vote{flex-direction:row;justify-content:flex-start;gap:10px;min-width:0}
  .vote b{font-size:16px}
  .toolbar{gap:10px}
  .imgs img,.img-previews .thumb{width:88px;height:88px}
}

img,canvas,video{max-width:100%}

/* 返回链接 */
.back{margin-top:24px;text-align:center}
.back a{display:inline-block;padding:8px 16px;border:1px solid var(--line);border-radius:999px;background:var(--surface);color:var(--muted);text-decoration:none;font-size:13px;transition:color .15s ease,border-color .15s ease}
.back a:hover{color:var(--accent);border-color:rgba(95,227,176,.45)}

/* 分类标签颜色（恢复六色） */
.pill.cat-new{color:#f2d27d;border-color:#6d5621;background:rgba(232,199,107,.10)}
.pill.cat-opt{color:#75e0b0;border-color:#2b6b4e;background:rgba(117,224,176,.10)}
.pill.cat-balance{color:#88c8ff;border-color:#285473;background:rgba(103,183,255,.10)}
.pill.cat-text{color:#d8a6ff;border-color:#5a3b78;background:rgba(212,156,255,.10)}
.pill.cat-bug{color:#ff9c9c;border-color:#6d3232;background:rgba(255,140,140,.10)}
.pill.cat-other{color:#a9bccd;border-color:#33455a;background:rgba(169,188,205,.08)}

/* ===== 联系开发者 ===== */
.help-fab{position:fixed;right:18px;bottom:78px;z-index:60;padding:10px 14px;border-radius:999px;border:1px solid rgba(255,255,255,.14);background:linear-gradient(180deg,#1d2733,#141b24);color:#cfe6ff;font-size:14px;cursor:pointer;box-shadow:0 6px 20px rgba(0,0,0,.35)}
.help-fab:hover{border-color:#4aa3ff;color:#eaf5ff}
.help-panel{position:fixed;right:18px;bottom:140px;z-index:61;width:min(380px,calc(100vw - 36px));max-height:min(560px,calc(100vh - 200px));display:flex;flex-direction:column;border-radius:16px;border:1px solid rgba(255,255,255,.14);background:#0f151d;box-shadow:0 18px 50px rgba(0,0,0,.55);overflow:hidden}
.help-panel.hidden{display:none}
.help-head{display:flex;align-items:center;justify-content:space-between;padding:12px 14px;border-bottom:1px solid rgba(255,255,255,.08);background:#121a24}
.help-head b{font-size:15px;color:#eaf5ff}
.help-badge{margin-left:8px;font-size:11px;color:#7fb4e6;border:1px solid rgba(90,160,255,.35);border-radius:999px;padding:1px 7px}
.help-x{border:0;background:transparent;color:#8ba0b5;font-size:16px;cursor:pointer}
.help-log{flex:1;overflow:auto;padding:12px;display:flex;flex-direction:column;gap:10px}
.help-msg{max-width:86%;padding:9px 12px;border-radius:12px;font-size:13.5px;line-height:1.55;white-space:pre-wrap;word-break:break-word}
.help-msg.bot{align-self:flex-start;background:#182231;color:#d6e6f7;border:1px solid rgba(255,255,255,.06)}
.help-msg.me{align-self:flex-end;background:#1e5aa8;color:#fff}
.help-msg.sys{align-self:center;background:transparent;color:#7f93a8;font-size:12px;text-align:center}
.help-actions{padding:0 12px}
.help-handoff{width:100%;margin-bottom:8px;padding:8px;border-radius:10px;border:1px dashed rgba(255,196,0,.5);background:rgba(255,196,0,.08);color:#ffd766;font-size:13px;cursor:pointer}
.help-form{display:flex;gap:8px;padding:10px 12px;border-top:1px solid rgba(255,255,255,.08)}
.help-form input{flex:1;padding:9px 12px;border-radius:10px;border:1px solid rgba(255,255,255,.12);background:#0b1118;color:#e8f2ff;font-size:13.5px;outline:none}
.help-form input:focus{border-color:#4aa3ff}
.help-form button{padding:9px 16px;border-radius:10px;border:0;background:#2b7fd4;color:#fff;font-size:13.5px;cursor:pointer}
.help-form button:disabled{opacity:.5;cursor:default}
.help-tip{padding:0 12px 10px;font-size:11.5px;color:#6f8298}.help-handoff.hidden{display:none}
.help-fab.hidden{display:none}
