@font-face{font-family:FOT-RodinNTLG Pro B;src:url("/game/template/fonts/FOT-RodinNTLG Pro B.otf")format("opentype"),url("../game/template/fonts/FOT-RodinNTLG Pro B.otf")format("opentype");font-display:swap}@font-face{font-family:FOT-RodinNTLG Pro DB;src:url(/game/template/fonts/fot-rodinntlgpro-db.ttf)format("truetype"),url(../game/template/fonts/fot-rodinntlgpro-db.ttf)format("truetype");font-display:swap}@font-face{font-family:资源圆体;src:url(/assets/ResourceHanRoundedCN-Regular-C1HdCLVq.ttf)format("truetype"),url(../assets/ResourceHanRoundedCN-Regular-C1HdCLVq.ttf)format("truetype");font-display:swap}:root{--bg-app:#edf1f6;--bg-surface:#ffffffeb;--bg-surface-solid:#fff;--bg-muted:#e2e8f0;--border-game:#2b303a;--border-light:#cbd5e1;--border-subtle:#8c97a5;--border-bevel-dark:#8c97a5;--text-primary:#1e242d;--text-secondary:#3e4856;--text-muted:#64748b;--text-dim:#94a3b8;--cgss-pink:#f42885;--cgss-pink-gradient:linear-gradient(180deg, #ff62a8 0%, #f42885 50%, #c81067 100%);--cgss-silver-gradient:linear-gradient(180deg, #fff 0%, #f4f6f9 50%, #dbe1e8 100%);--cgss-blue-gradient:linear-gradient(180deg, #38bdf8 0%, #0284c7 50%, #0369a1 100%);--attr-cute:#ff5c9a;--attr-cute-gradient:linear-gradient(180deg, #ff6da6 0%, #ee2577 100%);--attr-cool:#2979ff;--attr-cool-gradient:linear-gradient(180deg, #3fa5ff 0%, #1775f0 100%);--attr-passion:#ff9100;--attr-passion-gradient:linear-gradient(180deg, #ffa82e 0%, #f07400 100%);--accent-blue:#0284c7;--accent-blue-hover:#0369a1;--accent-blue-subtle:#f0f9ff;--accent-green:#059669;--accent-green-subtle:#ecfdf5;--font-game:"FOT-RodinNTLG Pro B", "FOT-RodinNTLG Pro DB", "资源圆体", -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Meiryo", "Microsoft YaHei UI", sans-serif}*{box-sizing:border-box}body{background-color:var(--bg-app);color:var(--text-primary);font-family:var(--font-game);font-synthesis:none;text-rendering:optimizelegibility;background-image:radial-gradient(circle at 12% 10%,#38bdf829 0%,#38bdf800 500px),radial-gradient(circle at 90% 16%,#f472b626 0%,#f472b600 550px),radial-gradient(circle at 50% 60%,#fb923c14 0%,#fb923c00 700px),url(/list/pattern_bg.png),url(./pattern_bg.png);background-repeat:no-repeat,no-repeat,no-repeat,repeat,repeat;background-attachment:fixed;margin:0;overflow-x:hidden}button,input,select{font-family:var(--font-game)}.app-shell{flex-direction:column;min-height:100vh;display:flex}.topbar{-webkit-backdrop-filter:blur(16px);z-index:100;background:#fffffff0;border-bottom:1px solid #d1d5db;width:100%;position:sticky;top:0;box-shadow:0 1px 3px #00000008}.topbar-container{justify-content:space-between;align-items:center;gap:20px;max-width:1440px;margin:0 auto;padding:8px 24px;display:flex}.topbar-brand-section{align-items:center;gap:16px;min-width:0;display:flex}.brand-logo-wrap{-webkit-user-select:none;user-select:none;align-items:center;display:flex}.brand-logo{object-fit:contain;width:auto;height:38px;display:block}.brand-title{color:var(--text-primary);letter-spacing:-.01em;margin:0;font-size:18px;font-weight:700;line-height:1}.topbar-search-section{flex-shrink:0;align-items:center;gap:8px;display:flex}.topbar-settings-btn{color:var(--text-secondary);cursor:pointer;background:#fff;border:1px solid #cbd5e1;border-radius:6px;justify-content:center;align-items:center;width:38px;height:38px;padding:0;transition:all .15s;display:flex;position:relative;box-shadow:0 1px 2px #0f172a0a}.topbar-settings-btn:hover{color:#0284c7;background:#f8fafc;border-color:#0284c7;box-shadow:0 0 0 2px #0284c71f}.topbar-settings-btn:active{transform:translateY(1px)}.search-box{background:#fff;border:1.5px solid #cbd5e1;border-radius:6px;align-items:center;min-width:300px;padding:2px 10px 2px 12px;transition:all .15s;display:flex;position:relative;box-shadow:inset 0 1px 2px #0000000a}.search-box:focus-within{border-color:#0284c7;box-shadow:0 0 0 3px #0284c71f}.search-icon{color:var(--text-muted);flex-shrink:0;margin-right:6px}.search-box input{color:var(--text-primary);background:0 0;border:none;outline:none;width:100%;height:32px;padding:0;font-size:13px}.search-box input::placeholder{color:var(--text-muted)}.search-clear-btn{color:var(--text-muted);cursor:pointer;background:0 0;border:none;border-radius:50%;justify-content:center;align-items:center;width:20px;height:20px;padding:0;display:flex}.search-clear-btn:hover{color:var(--text-primary);background:#00000014}.main-content{flex:1;width:100%;max-width:1440px;margin:0 auto;padding:16px 24px 36px}.command-surface{-webkit-backdrop-filter:blur(16px);border:2px solid var(--border-game);background:linear-gradient(#fffffff0 0%,#f6f9fde6 100%);border-radius:8px;flex-direction:column;gap:12px;padding:14px 16px;display:flex;box-shadow:0 4px 14px #0f172a14,inset 0 1px #fff}.filters-row{flex-wrap:wrap;align-items:end;gap:10px;display:flex}.field{flex-direction:column;flex:110px;gap:4px;min-width:90px;display:flex}.field span{color:var(--text-secondary);letter-spacing:.02em;font-size:11.5px;font-weight:700}select{appearance:none;border:1.5px solid var(--border-game);color:var(--text-primary);cursor:pointer;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%232b303a' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") right 9px center no-repeat;border-radius:6px;outline:none;width:100%;height:34px;padding:0 28px 0 10px;font-size:13px;font-weight:700;transition:all .15s;box-shadow:inset 0 1px 2px #0000000f}select:focus,select:focus-visible{border-color:var(--cgss-pink);box-shadow:0 0 0 2px #f4288533}.secondary-button{background:var(--cgss-silver-gradient);border:2px solid var(--border-game);box-shadow:0 3px 0 var(--border-bevel-dark), 0 3px 6px #0f172a14;color:var(--text-primary);cursor:pointer;-webkit-user-select:none;user-select:none;white-space:nowrap;border-radius:6px;justify-content:center;align-items:center;gap:6px;height:34px;padding:0 14px;font-size:13px;font-weight:700;transition:transform 80ms,box-shadow 80ms,background .12s;display:inline-flex;position:relative}.secondary-button:hover:not(:disabled){background:linear-gradient(#fff 0%,#fbfcfd 48%,#edf1f5 52%,#e1e7ee 100%);border-color:#111827}.secondary-button:active:not(:disabled){box-shadow:0 1px 0 var(--border-bevel-dark), 0 1px 2px #0f172a14;transform:translateY(2px)}.secondary-button:disabled{color:#94a3b8;cursor:not-allowed;opacity:.7;background:#e2e8f0;border-color:#94a3b8;box-shadow:0 2px #cbd5e1}.chara-button{gap:6px}.chara-button b{background:var(--cgss-pink-gradient);color:#fff;text-shadow:0 1px 1px #0000004d;border:1px solid #991048;border-radius:999px;min-width:18px;padding:1px 6px;font-size:11px;font-weight:700;box-shadow:0 1px 2px #0003}.filter-summary-row{border-top:2px dotted var(--border-subtle);color:var(--text-muted);align-items:center;gap:8px;padding-top:10px;font-size:12px;font-weight:600;display:flex}.count-tag b,.count-match b{color:var(--text-primary)}.count-match{color:var(--cgss-pink);font-weight:700}.selected-strip{flex-wrap:wrap;gap:6px;margin-top:10px;display:flex}.selected-strip button{border:1.5px solid var(--border-game);box-shadow:0 2px 0 var(--border-bevel-dark);color:var(--text-primary);cursor:pointer;background:#fff;border-radius:6px;align-items:center;gap:6px;height:28px;padding:0 10px 0 4px;font-size:12.5px;font-weight:700;transition:transform 80ms,box-shadow 80ms;display:inline-flex}.selected-strip button:hover{border-color:var(--cgss-pink);background:#fff0f6}.selected-strip button:active{box-shadow:0 1px 0 var(--border-bevel-dark);transform:translateY(1px)}.chip-avatar{border:1px solid var(--border-game);object-fit:cover;border-radius:50%;flex-shrink:0;width:20px;height:20px;display:block}.chip-close{color:var(--border-subtle);font-size:14px;font-weight:700;line-height:1}.selected-strip button:hover .chip-close{color:var(--cgss-pink)}.pager{justify-content:flex-end;align-items:center;gap:8px;margin-top:14px;display:flex}.pager-info{color:var(--text-muted);margin-right:auto;font-size:12.5px;font-weight:600}.pager-info strong{color:var(--text-primary)}.pager select{width:auto;height:34px}.pager .secondary-button{height:34px;padding:0 12px}.bottom-pager{border-top:2px dotted var(--border-subtle);margin-top:24px;padding-top:16px}.list{grid-template-columns:repeat(auto-fill,minmax(360px,1fr));gap:12px;margin-top:16px;display:grid}.story-card{--story-thumb-height:74px;background:#fff;border:1.5px solid #6b727d;border-radius:3px;flex-direction:row;align-items:stretch;min-width:0;height:88px;padding:0;transition:none;display:flex;position:relative;overflow:hidden;box-shadow:0 1.5px 3px #0f172a14,0 1px 2px #0f172a0a}.interactive-card{cursor:pointer;-webkit-user-select:none;user-select:none;transition:none}.translation-status{color:#334155;white-space:nowrap;background:#f1f5f9;border:1px solid #cbd5e1;border-radius:3px;flex-shrink:0;align-self:center;align-items:center;gap:3px;height:18px;padding:0 4px;font-size:10px;font-weight:700;line-height:1;display:inline-flex}.translation-status svg{flex-shrink:0;display:block}.translation-check svg{width:10px;height:10px}.interactive-card:hover{background:#fff;border-color:#555b65;box-shadow:0 1.5px 3px #0f172a24}.interactive-card:focus-visible{outline:2px solid var(--cgss-pink)}.story-card-thumb-segment{background:linear-gradient(#adb2ba 0%,#888f99 50%,#707680 100%);border-right:1.5px solid #5e646e;flex-shrink:0;justify-content:center;align-items:center;padding:6px 8px;display:flex;position:relative}.story-card-thumb-inner{aspect-ratio:16/9;height:var(--story-thumb-height);width:calc(var(--story-thumb-height) * 16 / 9);background:#181d25;border:2px solid #fff;border-radius:0;flex:none;position:relative;overflow:hidden;box-shadow:0 0 0 1px #8a919d,0 1.5px 4px #00000040}.story-card-cover-img{object-fit:cover;width:100%;height:100%;display:block;position:absolute;inset:0}.story-card-status-overlay{pointer-events:none;z-index:2;position:absolute;bottom:2px;left:2px}.card-badge-unreleased{color:#fff;background:#d97706;border-radius:2px;padding:1px 3px;font-size:8.5px;font-weight:700;box-shadow:0 1px 2px #0006}.card-avatar-bubble{z-index:2;background:#fff;border:1px solid #fff;border-radius:50%;width:20px;height:20px;position:absolute;bottom:2px;right:2px;overflow:hidden;box-shadow:0 1px 3px #0006}.card-avatar-bubble img{object-fit:cover;width:100%;height:100%;display:block}.story-card-info-segment{background:#fff;flex-direction:column;flex:1;justify-content:center;gap:3px;min-width:0;padding:0 12px;display:flex}.story-card-header{align-items:center;gap:4px;min-width:0;min-height:20px;display:flex;overflow:hidden}.card-episode-text{color:#1e2530;white-space:nowrap;text-overflow:ellipsis;flex-shrink:1;font-weight:800;line-height:1.15;overflow:hidden}.card-episode-text.size-lg{letter-spacing:-.01em;font-size:14.5px}.card-episode-text.size-md{letter-spacing:-.01em;font-size:12.5px}.card-episode-text.size-sm{letter-spacing:-.015em;font-size:11px}.card-episode-text.size-xs{letter-spacing:-.02em;font-size:10px}.card-divider-dots{border-bottom:2.5px dotted #546377;flex:1;min-width:8px;height:1px;margin:0 4px}.card-header-tags{flex-shrink:0;align-items:center;gap:4px;display:flex}.card-badge-test{color:#fff;background:#dc2626;border-radius:3px;padding:1px 4px;font-size:9px;font-weight:700;box-shadow:0 1px 2px #0003}.card-inline-leader-tag{color:#7e22ce;background:#fdf4ff;border:1px solid #d8b4fe;border-radius:3px;padding:0 4px;font-size:9.5px;font-weight:700}.card-inline-live2d-tag,.card-badge-live2d{color:#fff;letter-spacing:.04em;white-space:nowrap;background:linear-gradient(135deg,#7c3aed,#db2777);border:1px solid #ffffff73;border-radius:999px;padding:3px 7px;font-size:10px;font-weight:800;line-height:1}.card-rarity-tag{color:#334155;background:#f1f5f9;border:1px solid #cbd5e1;border-radius:3px;padding:0 4px;font-size:9.5px;font-weight:700}.card-badge-category{color:#475569;white-space:nowrap;background:#f8fafc;border:1px solid #cbd5e1;border-radius:3px;padding:1px 6px;font-size:10px;font-weight:700}.card-attr-dot{text-shadow:0 1px 1px #0003;border-radius:3px;padding:0 5px;font-size:9.5px;font-weight:700}.attr-cute{background:var(--attr-cute-gradient);color:#fff}.attr-cool{background:var(--attr-cool-gradient);color:#fff}.attr-passion{background:var(--attr-passion-gradient);color:#fff}.story-card-title{color:#111827;-webkit-line-clamp:2;text-overflow:ellipsis;word-break:break-word;-webkit-box-orient:vertical;max-height:2.6em;margin:0;font-weight:800;display:-webkit-box;overflow:hidden}.story-card-title.title-lg{font-size:14px;line-height:1.28}.story-card-title.title-md{font-size:12px;line-height:1.22}.story-card-title.title-sm{font-size:10.5px;line-height:1.18}.story-card-arrow-segment{background:#707680;border-left:1.5px solid #5e646e;flex-shrink:0;justify-content:center;align-items:center;width:25px;display:flex}.card-arrow-svg{filter:drop-shadow(1px 1px 2px #00000038);display:block}.interactive-card:hover .story-card-arrow-segment{background:#666c75}.open-link,.zh-link{cursor:pointer;-webkit-user-select:none;user-select:none;border-radius:6px;justify-content:center;align-items:center;gap:6px;height:36px;padding:0 16px;font-size:13px;font-weight:700;text-decoration:none;transition:transform 80ms,box-shadow 80ms;display:inline-flex;position:relative}.open-link{background:var(--cgss-pink-gradient);text-shadow:0 1px 2px #500526e6,0 -1px #50052699;border:2px solid #282c35;box-shadow:0 3px #7e0c40,0 4px 10px #f4288559;color:#fff!important}.open-link:hover{background:linear-gradient(#ff75b5 0%,#f7368f 50%,#d4146e 100%);box-shadow:0 3px #7e0c40,0 6px 14px #f4288573}.open-link:active{transform:translateY(2px);box-shadow:0 1px #7e0c40,0 2px 4px #f428854d}.zh-link{color:#fff;text-shadow:0 1px 1px #0000004d;background:linear-gradient(#10b981 0%,#059669 100%);border:2px solid #064e3b;box-shadow:0 3px #047857,0 3px 6px #05966940}.zh-link:hover{background:linear-gradient(#34d399 0%,#059669 100%)}.zh-link:active{transform:translateY(2px);box-shadow:0 1px #047857}.detail-dialog-panel{border:3.5px solid var(--border-game);background:#fff;border-radius:12px;width:100%;max-width:490px;height:auto;min-height:0;max-height:calc(100vh - 48px);position:relative;overflow:hidden;box-shadow:0 24px 60px #0006,0 0 0 1px #ffffff80;flex-direction:column!important;display:flex!important}.detail-dialog-header{border-bottom:2px solid var(--border-game);background:#fff;flex-shrink:0;justify-content:space-between;align-items:center;padding:12px 18px;display:flex}.dialog-close-btn{background:var(--cgss-silver-gradient);border:1.5px solid var(--border-game);box-shadow:0 2px 0 var(--border-bevel-dark);color:var(--text-primary);cursor:pointer;border-radius:6px;justify-content:center;align-items:center;width:28px;height:28px;padding:0;font-size:12px;font-weight:800;transition:transform 80ms,box-shadow 80ms;display:flex;position:relative}.dialog-close-btn:hover{background:linear-gradient(#fff 0%,#edf1f5 100%);border-color:#111827}.dialog-close-btn:active{box-shadow:0 1px 0 var(--border-bevel-dark);transform:translateY(1px)}.detail-header-title{align-items:center;gap:8px;min-width:0;display:flex}.detail-header-kind{border:1px solid var(--border-game);color:var(--text-primary);background:#eef2f7;border-radius:4px;padding:1.5px 7px;font-size:11px;font-weight:700}.detail-header-title h2{color:var(--text-primary);margin:0;font-size:17px;font-weight:800}.detail-dialog-body{color:#f8fafc;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;background:#181d25;flex-direction:column;flex:auto;gap:12px;min-height:0;padding:14px 16px;overflow-y:auto;display:flex!important}.detail-hero-card{background:linear-gradient(#222834 0%,#1a1f29 100%);border:1.5px solid #374254;border-radius:8px;align-items:flex-start;gap:12px;padding:10px 12px;display:flex;box-shadow:inset 0 1px #ffffff1a,0 2px 6px #00000059}.detail-thumb-box{aspect-ratio:194/92;background:#0f1318;border:2px solid #5a6678;border-radius:6px;flex-shrink:0;width:136px;overflow:hidden;box-shadow:inset 0 2px 4px #00000080}.detail-thumb-img{object-fit:cover;width:100%;height:100%;display:block}.detail-hero-content{flex-direction:column;flex:1;gap:3px;min-width:0;display:flex}.detail-badges-row{flex-wrap:wrap;align-items:center;gap:4px;margin-bottom:2px;display:flex}.detail-title{color:#fff;word-break:break-word;margin:0;font-size:15px;font-weight:800;line-height:1.35}.detail-subtitle{color:#94a3b8;word-break:break-word;margin:0;font-size:11.5px;line-height:1.35}.detail-chara-badge{color:#f1f5f9;background:#ffffff1f;border:1px solid #ffffff40;border-radius:999px;align-items:center;gap:5px;width:fit-content;margin-top:3px;padding:2px 8px 2px 3px;font-size:11px;font-weight:700;display:inline-flex}.detail-chara-avatar{object-fit:cover;border:1px solid #ffffff4d;border-radius:50%;width:18px;height:18px;display:block}.detail-special-notice{color:#fca5a5;background:#ef444426;border:1px solid #ef4444;border-radius:6px;padding:8px 12px;font-size:12px;line-height:1.45}.detail-special-notice strong{margin-bottom:2px;font-size:12.5px;display:block}.detail-special-notice p{margin:0}.detail-meta-list{background:linear-gradient(#202631 0%,#171b23 100%);border:1.5px solid #333d4e;border-radius:8px;flex-direction:column;padding:4px 12px;display:flex;box-shadow:inset 0 1px 3px #0006}.detail-meta-row{justify-content:space-between;align-items:flex-start;gap:12px;padding:7px 0;font-size:12px;display:flex}.detail-meta-row:not(:last-child){border-bottom:1px dotted #ffffff24}.meta-k{color:#94a3b8;flex-shrink:0;min-width:70px;font-weight:600}.meta-v{color:#fff;text-align:right;word-break:break-word;font-weight:700}.detail-chara-val{align-items:center;gap:6px;display:inline-flex}.detail-appearing-wrap{flex-wrap:wrap;justify-content:flex-end;gap:6px;max-width:320px;display:flex}.detail-appearing-chip{color:#f1f5f9;background:#ffffff14;border:1px solid #ffffff29;border-radius:999px;align-items:center;gap:5px;padding:3px 8px 3px 4px;font-size:11.5px;font-weight:600;line-height:1;transition:all .15s;display:inline-flex}.detail-appearing-chip:hover{background:#ffffff24;border-color:#ffffff47}.detail-appearing-avatar{object-fit:cover;border:1px solid #ffffff4d;border-radius:50%;width:18px;height:18px;display:block}.detail-appearing-avatar-fallback{color:#cbd5e1;background:#334155;border:1px solid #fff3;border-radius:50%;justify-content:center;align-items:center;width:18px;height:18px;font-size:10px;font-weight:700;line-height:1;display:inline-flex}.detail-leader-section{border-top:1px solid #ffffff26;margin-top:4px;padding-top:12px}.detail-live2d-section{background:linear-gradient(135deg,#7c3aed1f,#db277714);border:1px solid #a78bfa73;border-radius:8px;justify-content:space-between;align-items:center;gap:16px;padding:10px 12px;transition:background .18s,border-color .18s;display:flex}.detail-live2d-section.enabled{background:linear-gradient(135deg,#7c3aed40,#db277729);border-color:#c084fc}.detail-live2d-copy h4{color:#fff;margin:0 0 2px;font-size:13px}.detail-live2d-copy p{color:#cbd5e1;margin:0;font-size:11px;line-height:1.4}.live2d-toggle{cursor:pointer;flex-shrink:0;align-items:center;gap:7px;display:inline-flex}.live2d-toggle input{opacity:0;width:1px;height:1px;position:absolute}.live2d-toggle-track{background:#475569;border:1px solid #64748b;border-radius:999px;width:43px;height:24px;padding:2px;transition:background .18s,border-color .18s;display:block}.live2d-toggle-thumb{background:#fff;border-radius:50%;width:18px;height:18px;transition:transform .18s;display:block;box-shadow:0 1px 3px #00000059}.live2d-toggle input:checked+.live2d-toggle-track{background:linear-gradient(135deg,#7c3aed,#db2777);border-color:#e879f9}.live2d-toggle input:checked+.live2d-toggle-track .live2d-toggle-thumb{transform:translate(19px)}.live2d-toggle input:focus-visible+.live2d-toggle-track{outline-offset:2px;outline:2px solid #f0abfc}.live2d-toggle-label{color:#fff;min-width:24px;font-size:11px;font-weight:800}.detail-leader-header{justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:8px;display:flex}.detail-leader-header h4{color:#fff;margin:0;font-size:13px;font-weight:700}.detail-leader-desc{color:#94a3b8;margin:2px 0 0;font-size:11px;line-height:1.4}.current-leader-chip{color:#38bdf8;background:#0284c733;border:1px solid #38bdf8;border-radius:999px;flex-shrink:0;align-items:center;gap:6px;padding:2px 10px;font-size:11.5px;font-weight:700;display:flex}.chip-label{color:#94a3b8;font-size:10.5px}.chip-avatar-img{object-fit:cover;border:1px solid #38bdf8;border-radius:50%;width:18px;height:18px;display:block}.detail-leader-picker{background:#11151b;border:1.5px solid #2d3644;border-radius:8px;padding:8px}.leader-search-bar{border:1.5px solid var(--border-game);background:#fff;border-radius:6px;align-items:center;margin-bottom:8px;padding:0 8px;display:flex}.leader-search-icon{color:var(--text-muted);flex-shrink:0;margin-right:6px}.leader-search-bar input{color:var(--text-primary);background:0 0;border:none;outline:none;flex:1;height:28px;padding:0;font-size:12px;font-weight:600}.leader-clear-btn{color:var(--text-muted);cursor:pointer;background:0 0;border:none;align-items:center;padding:0;display:flex}.leader-idols-grid{grid-template-columns:repeat(auto-fill,minmax(115px,1fr));gap:5px;max-height:140px;padding-right:2px;display:grid;overflow-y:auto}.leader-idol-card{cursor:pointer;text-align:left;background:#fff;border:1.5px solid #333d4e;border-radius:6px;align-items:center;gap:6px;padding:3px 5px;transition:all .1s;display:flex}.leader-idol-card:hover{background:#f1f5f9;border-color:#0284c7}.leader-idol-card.selected{border-color:var(--cgss-pink);box-shadow:0 0 0 2px var(--cgss-pink);background:#fff0f6}.leader-idol-card.selected .leader-card-name{color:#be185d}.leader-card-avatar{background:var(--bg-muted);border:1px solid var(--border-game);border-radius:50%;flex-shrink:0;width:24px;height:24px;position:relative;overflow:hidden}.leader-card-avatar img{object-fit:cover;width:100%;height:100%;display:block}.leader-card-avatar .avatar-ph{color:var(--text-muted);justify-content:center;align-items:center;width:100%;height:100%;font-size:11px;font-weight:700;display:flex}.leader-check-badge{color:#fff;background:#f42885d9;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.leader-card-info{flex-direction:column;flex:1;min-width:0;display:flex}.leader-card-name{color:var(--text-primary);text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:700;overflow:hidden}.leader-card-id{color:var(--text-muted);font-size:9px;font-weight:600}.detail-dialog-footer{border-top:2px solid var(--border-game);background:#fff;flex-shrink:0;align-items:stretch;gap:8px;padding:10px 16px 14px;display:grid}.detail-footer-pname{color:var(--text-secondary);overflow-wrap:anywhere;min-width:0;font-size:12px;font-weight:600;line-height:18px}.detail-footer-pname b{color:var(--text-primary)}.detail-footer-actions{grid-template-columns:auto minmax(0,1fr);align-items:stretch;gap:8px;min-width:0;display:grid}.detail-footer-actions.has-chinese{grid-template-columns:auto repeat(2,minmax(0,1fr))}.detail-footer-actions>a{text-decoration:none}.detail-close-btn{height:36px;padding:0 16px}.detail-play-btn{white-space:nowrap;min-width:0;height:36px;padding:0 10px;font-size:13px}.detail-chinese-btn{white-space:nowrap}.notice{-webkit-backdrop-filter:blur(12px);border:1px solid var(--border-light);color:var(--text-secondary);text-align:center;background:#ffffffa6;border-radius:8px;margin-top:14px;padding:16px;font-size:14px}.notice.error{color:#b91c1c;background:#fef2f2d9;border-color:#fecaca}.dialog-shell{-webkit-backdrop-filter:blur(8px);cursor:pointer;overscroll-behavior:contain;z-index:200;-webkit-overflow-scrolling:touch;background:#0a0e16ad;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0;overflow-y:auto}.dialog-panel{border:3.5px solid var(--border-game);cursor:default;background:#fff;border-radius:12px;width:100%;min-height:0;position:relative;overflow:hidden;box-shadow:0 24px 60px #00000073,0 0 0 1px #fff6}.chara-dialog-panel{grid-template-rows:auto auto minmax(0,1fr);max-width:1100px;height:85vh;max-height:800px;display:grid}.settings-panel{flex-direction:column;max-width:520px;height:auto;max-height:85vh;display:flex}.settings-content{background:#f6f8fb;padding:20px}.settings-field{flex-direction:column;gap:8px;display:flex}.settings-label{color:var(--text-primary);font-size:13.5px;font-weight:800}.settings-input-row{gap:8px;display:flex}.settings-input{border:2px solid var(--border-game);color:var(--text-primary);background:#fff;border-radius:6px;outline:none;flex:1;height:36px;padding:0 12px;font-size:13.5px;font-weight:600;transition:all .15s;box-shadow:inset 0 2px 4px #0000000f}.settings-input:focus{border-color:var(--cgss-pink);box-shadow:0 0 0 3px #f4288533}.settings-tip{color:var(--text-muted);margin:0;font-size:12px;line-height:1.5}.settings-tip code{color:var(--text-primary);background:#0000000f;border-radius:3px;padding:2px 4px;font-size:11.5px}.settings-footer{border-top:2px solid var(--border-game);background:#fff;justify-content:flex-end;align-items:center;gap:10px;padding:12px 20px;display:flex}.settings-footer .save-btn{height:36px;padding:0 18px}.dialog-header{border-bottom:2px solid var(--border-game);background:#fff;justify-content:space-between;align-items:center;gap:12px;padding:12px 20px;display:flex}.dialog-header-title-wrap{align-items:center;gap:10px;display:flex}.dialog-title-dots{color:var(--border-game);flex-shrink:0}.dialog-header h2{color:var(--text-primary);margin:0;font-size:18px;font-weight:800}.dialog-header p{color:var(--text-muted);margin:2px 0 0;font-size:12px;font-weight:600}.dialog-tools{border-bottom:2px solid var(--border-game);background:#eef2f7;align-items:center;gap:10px;padding:10px 20px;display:flex}.dialog-search-wrap{border:2px solid var(--border-game);background:#fff;border-radius:6px;flex:1;align-items:center;padding:0 10px;display:flex;box-shadow:inset 0 2px 4px #0000000f}.dialog-search-wrap:focus-within{border-color:var(--cgss-pink);box-shadow:0 0 0 2px #f4288533}.dialog-search-icon{color:var(--text-muted);margin-right:6px}.dialog-search-wrap input{color:var(--text-primary);background:0 0;border:none;outline:none;width:100%;height:34px;font-size:13px;font-weight:600}.dialog-clear-btn{color:var(--text-muted);cursor:pointer;background:0 0;border:none;align-items:center;padding:0;display:flex}.chara-grid{background:#f1f4f9;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));align-content:start;gap:8px;padding:16px 20px;display:grid;overflow-y:auto}.chara-option{box-shadow:0 2px 0 var(--border-bevel-dark);color:var(--text-primary);cursor:pointer;text-align:left;background:#fff;border:1.5px solid #cbd5e1;border-radius:8px;align-items:center;gap:10px;min-height:48px;padding:6px 10px;transition:transform 80ms,border-color .12s,box-shadow .12s;display:flex}.chara-option:hover{border-color:#0284c7;transform:translateY(-1px);box-shadow:0 3px #0284c7}.chara-option.selected{border-color:var(--cgss-pink);box-shadow:0 0 0 2px var(--cgss-pink);background:#fff0f6}.chara-avatar-wrap{border:1.5px solid var(--border-game);background:#e2e8f0;border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;width:36px;height:36px;margin:0;display:flex;position:relative;overflow:hidden}.chara-avatar-img{object-fit:cover;border-radius:50%;width:100%;height:100%;display:block}.chara-avatar-placeholder{color:#334155;background:#cbd5e1;border-radius:50%;justify-content:center;align-items:center;width:100%;height:100%;font-size:13px;font-weight:800;line-height:1;display:flex}.chara-text-meta{flex-direction:column;flex:1;justify-content:center;gap:2px;min-width:0;display:flex}.chara-text-meta span{text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:13px;font-weight:700;line-height:1.25;overflow:hidden}.chara-option.selected .chara-text-meta span{color:#be185d}.chara-text-meta small{color:var(--text-muted);text-overflow:ellipsis;white-space:nowrap;margin:0;font-size:11px;font-weight:600;line-height:1.25;overflow:hidden}.chara-option b{color:var(--text-primary);background:#e2e8f0;border-radius:999px;flex-shrink:0;align-self:center;margin-left:auto;padding:2px 6px;font-size:11px;font-weight:700}.chara-option.selected b{background:var(--cgss-pink-gradient);color:#fff;text-shadow:0 1px 1px #0000004d}@media (width<=960px){.topbar-container{flex-direction:column;align-items:stretch;gap:12px;padding:10px 16px}.topbar-search-section,.search-box{width:100%}.main-content{padding:12px 16px 28px}.list{grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:10px}}@media (width<=640px){.brand-logo{height:32px}.filters-row{gap:8px}.field,.chara-button,.reset-button{flex:45%}.list{grid-template-columns:minmax(0,1fr);gap:8px}.story-card{--story-thumb-height:68px;height:80px}.story-card-thumb-segment{padding:5px 6px}.detail-live2d-section{flex-direction:column;align-items:flex-start;gap:9px}.live2d-toggle{align-self:flex-end}.chara-grid{grid-template-columns:1fr}.dialog-shell{padding:10px}.chara-dialog-panel{border-radius:8px;height:92vh;max-height:92vh}.detail-dialog-panel{border-radius:8px;max-height:calc(100vh - 20px)}}@media (width<=480px){.detail-footer-actions.has-chinese{grid-template-columns:repeat(2,minmax(0,1fr))}.detail-footer-actions.has-chinese .detail-close-btn{grid-area:2/1/auto/-1}.detail-play-btn{gap:5px;padding:0 6px;font-size:12px}}@media (height<=650px){.dialog-shell{align-items:flex-start;padding:8px}.chara-dialog-panel,.settings-panel,.detail-dialog-panel{max-height:calc(100vh - 16px)}.leader-idols-grid{max-height:110px}}.detail-dialog-body::-webkit-scrollbar{width:6px;height:6px}.leader-idols-grid::-webkit-scrollbar{width:6px;height:6px}.chara-grid::-webkit-scrollbar{width:6px;height:6px}.dialog-shell::-webkit-scrollbar{width:6px;height:6px}.detail-dialog-body::-webkit-scrollbar-track{background:0 0}.leader-idols-grid::-webkit-scrollbar-track{background:0 0}.chara-grid::-webkit-scrollbar-track{background:0 0}.dialog-shell::-webkit-scrollbar-track{background:0 0}.detail-dialog-body::-webkit-scrollbar-thumb{background:#94a3b873;border-radius:999px}.leader-idols-grid::-webkit-scrollbar-thumb{background:#94a3b873;border-radius:999px}.chara-grid::-webkit-scrollbar-thumb{background:#94a3b873;border-radius:999px}.dialog-shell::-webkit-scrollbar-thumb{background:#94a3b873;border-radius:999px}.detail-dialog-body::-webkit-scrollbar-thumb:hover{background:#64748ba6}.leader-idols-grid::-webkit-scrollbar-thumb:hover{background:#64748ba6}.chara-grid::-webkit-scrollbar-thumb:hover{background:#64748ba6}.dialog-shell::-webkit-scrollbar-thumb:hover{background:#64748ba6}
