:root{--brand:#2563eb;--brand2:#0ea5e9;--ink:#0f172a;--muted:#64748b;--surface:#fff;--line:#e2e8f0;--soft:#eff6ff}
body{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:#f8fafc;color:var(--ink)}
a{text-decoration:none}.glass-nav{background:rgba(255,255,255,.88);backdrop-filter:blur(18px);border-bottom:1px solid rgba(226,232,240,.8)}
.brand-mark{width:36px;height:36px;border-radius:12px;background:linear-gradient(135deg,var(--brand),var(--brand2));color:#fff;display:grid;place-items:center}
.search-box .input-group-text,.search-box .form-control{background:#f1f5f9;border:0}.search-box{min-width:280px}
.hero{background:radial-gradient(circle at 80% 20%,rgba(14,165,233,.18),transparent 35%),linear-gradient(180deg,#fff,#f8fafc)}
.hero h1 span{background:linear-gradient(90deg,var(--brand),var(--brand2));-webkit-background-clip:text;color:transparent}
.eyebrow{display:inline-flex;gap:.45rem;align-items:center;text-transform:uppercase;letter-spacing:.12em;font-size:.75rem;font-weight:800;color:var(--brand)}
.hero-stats{display:flex;gap:2.5rem}.hero-stats div{display:flex;flex-direction:column}.hero-stats strong{font-size:1.6rem}.hero-stats span{color:var(--muted);font-size:.85rem}
.hero-panel{height:380px;border-radius:36px;position:relative;background:linear-gradient(145deg,#dbeafe,#ecfeff);box-shadow:inset 0 0 0 1px rgba(37,99,235,.1);overflow:hidden}
.device-orbit{position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%);width:150px;height:150px;border-radius:48px;background:#fff;box-shadow:0 25px 60px rgba(37,99,235,.2);display:grid;place-items:center;font-size:68px;color:var(--brand)}
.mini-card{position:absolute;background:#fff;padding:.8rem 1rem;border-radius:16px;box-shadow:0 14px 35px rgba(15,23,42,.12);display:flex;gap:.65rem;align-items:center;font-weight:700}.mini-card i{color:var(--brand)}.mini-card.one{left:7%;top:17%}.mini-card.two{right:6%;top:27%}.mini-card.three{left:18%;bottom:10%}
.section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:1.25rem}.section-head h2{margin:.25rem 0 0}
.category-card,.member-card{height:100%;display:flex;gap:1rem;align-items:center;padding:1.15rem;background:var(--surface);border:1px solid var(--line);border-radius:18px;color:inherit;transition:.2s}.category-card:hover,.member-card:hover{transform:translateY(-3px);border-color:#93c5fd;box-shadow:0 14px 30px rgba(15,23,42,.08)}.category-card i{font-size:1.5rem;color:var(--brand)}.category-card span{display:block;color:var(--muted);font-size:.8rem}
.question-list{display:grid;gap:.8rem}.question-card{background:var(--surface);border:1px solid var(--line);border-radius:20px;padding:1.2rem;display:flex;gap:1.2rem}.question-metrics{min-width:92px;display:flex;flex-direction:column;gap:.5rem}.question-metrics div{font-size:.75rem;color:var(--muted)}.question-metrics strong{font-size:1rem;color:var(--ink);margin-right:.25rem}.question-metrics .answered strong{color:#16a34a}.question-content h3{font-size:1.12rem}.question-content h3 a{color:var(--ink)}.question-content p{color:var(--muted);margin:.5rem 0}.question-meta{font-size:.82rem;color:var(--muted)}
.badge-soft{background:#dbeafe;color:#1d4ed8}.surface-card,.news-card{background:var(--surface);border:1px solid var(--line);border-radius:22px}.news-mini{display:block;background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:1rem;margin-bottom:.8rem;color:inherit}.news-mini span{font-size:.75rem;color:var(--muted)}.news-mini strong{display:block;margin:.25rem 0}.news-mini p{font-size:.9rem;color:var(--muted);margin:0}
.news-card{overflow:hidden;height:100%}.news-visual{height:160px;background:linear-gradient(135deg,#dbeafe,#cffafe);display:grid;place-items:center;font-size:48px;color:var(--brand)}
.vote-stack{width:40px;text-align:center}.vote-stack form{margin:0}.vote-stack button{border:0;background:transparent;font-size:1.4rem;color:var(--muted)}.vote-stack strong{display:block;font-size:1.2rem}.content-body{line-height:1.75}.content-body code{background:#e2e8f0;border-radius:6px;padding:.12rem .3rem}
.accepted{border-color:#86efac!important}.accepted-label{color:#15803d;font-weight:700;margin-bottom:1rem}.sticky-side{position:sticky;top:100px}.member-inline{display:flex;gap:.8rem;align-items:center;color:inherit}.member-inline span{display:block;color:var(--muted);font-size:.82rem}
.avatar{width:44px;height:44px;border-radius:14px;background:linear-gradient(135deg,var(--brand),var(--brand2));color:#fff;display:grid;place-items:center;font-weight:800}.avatar-lg{width:62px;height:62px;border-radius:20px}.avatar-xl{width:92px;height:92px;border-radius:28px;font-size:2rem}
.auth-wrap{min-height:75vh;display:grid;place-items:center;padding:3rem 1rem}.auth-card{width:min(100%,520px);background:var(--surface);border:1px solid var(--line);border-radius:28px;padding:2.5rem;box-shadow:0 24px 60px rgba(15,23,42,.08)}
.empty-state{text-align:center;padding:4rem 1rem;background:var(--surface);border:1px dashed #cbd5e1;border-radius:22px;color:var(--muted)}.empty-state i{font-size:2.5rem;color:var(--brand)}
.stat-card{background:var(--surface);border:1px solid var(--line);border-radius:18px;padding:1.25rem}.stat-card strong{display:block;font-size:2rem}.stat-card span{color:var(--muted)}
.site-footer{background:#fff;border-top:1px solid var(--line)}.site-footer a{display:block;color:var(--muted);margin:.35rem 0}
html[data-bs-theme="dark"] body{background:#0b1120;color:#e5e7eb}html[data-bs-theme="dark"]{--surface:#111827;--line:#263244;--ink:#f8fafc;--muted:#94a3b8;--soft:#172554}html[data-bs-theme="dark"] .glass-nav{background:rgba(11,17,32,.9)}html[data-bs-theme="dark"] .hero{background:radial-gradient(circle at 80% 20%,rgba(14,165,233,.16),transparent 35%),#0b1120}html[data-bs-theme="dark"] .site-footer{background:#0f172a}
@media(max-width:991px){.search-box{min-width:0;margin:1rem 0}.hero-panel{height:300px}.sticky-side{position:static}}
@media(max-width:640px){.question-card{flex-direction:column}.question-metrics{flex-direction:row}.hero-stats{gap:1.2rem}.hero-panel{display:none}}

.message-row{display:block;padding:1rem 1.25rem;border-bottom:1px solid var(--line);color:inherit}.message-row:hover{background:var(--soft)}.message-row p{margin:.35rem 0 0;color:var(--muted)}
.device-card{height:100%;display:flex;gap:1rem;padding:1.25rem;background:var(--surface);border:1px solid var(--line);border-radius:20px;color:inherit}.device-card:hover{transform:translateY(-2px);box-shadow:0 12px 30px rgba(15,23,42,.08)}.device-icon{width:56px;height:56px;border-radius:18px;background:var(--soft);display:grid;place-items:center;font-size:1.6rem;color:var(--brand);flex:0 0 auto}
.code-preview{background:#0f172a;color:#dbeafe;border-radius:12px;padding:1rem;max-height:180px;overflow:auto}.setup-image{width:100%;height:210px;object-fit:cover}

.autocomplete-menu{display:none;position:absolute;z-index:1080;top:calc(100% + .4rem);left:0;right:0;background:var(--surface);border:1px solid var(--line);border-radius:16px;box-shadow:0 18px 45px rgba(15,23,42,.16);max-height:390px;overflow:auto;padding:.35rem}
.autocomplete-menu.show{display:block}
.autocomplete-item{width:100%;border:0;background:transparent;color:var(--ink);display:flex;align-items:center;gap:.8rem;text-align:left;padding:.75rem;border-radius:12px}
.autocomplete-item:hover,.autocomplete-item.active{background:var(--soft)}
.autocomplete-icon{width:36px;height:36px;border-radius:11px;background:var(--soft);display:grid;place-items:center;color:var(--brand);flex:0 0 auto}
.autocomplete-copy{display:flex;min-width:0;flex-direction:column}
.autocomplete-copy strong,.autocomplete-copy small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.autocomplete-copy small{color:var(--muted);font-size:.78rem}
.autocomplete-menu mark{background:#fef08a;color:inherit;padding:0}
.autocomplete-empty{padding:1rem;color:var(--muted);text-align:center}
.mention-menu{top:auto;bottom:.25rem;max-width:520px}

.backup-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem}.backup-grid code{display:block;background:#fff;border:1px solid var(--line);padding:.7rem;border-radius:10px;text-align:center;font-size:1rem}

.security-page{max-width:1180px}.security-hero{display:flex;justify-content:space-between;align-items:center;gap:2rem;padding:2rem;border-radius:28px;background:linear-gradient(135deg,#eef6ff,#ecfeff);border:1px solid #cfe3ff}.security-hero h1{margin:.35rem 0}.security-hero p{margin:0;color:var(--muted)}
.security-score{min-width:220px;padding:1rem 1.2rem;border-radius:20px;background:#fff;display:flex;gap:1rem;align-items:center;box-shadow:0 12px 30px rgba(15,23,42,.08)}.security-score i{font-size:2rem}.security-score.secure i{color:#16a34a}.security-score.basic i{color:#f59e0b}.security-score strong,.security-score span{display:block}.security-score span{font-size:.8rem;color:var(--muted)}
.security-card{background:var(--surface);border:1px solid var(--line);border-radius:24px;padding:1.5rem}.security-card-head{display:flex;align-items:flex-start;gap:1rem}.security-card-head h2{font-size:1.15rem;margin:0}.security-card-head p{margin:.2rem 0 0;color:var(--muted);font-size:.9rem}.security-icon{width:46px;height:46px;border-radius:15px;background:var(--soft);color:var(--brand);display:grid;place-items:center;font-size:1.2rem;flex:0 0 auto}.security-icon.large{width:64px;height:64px;border-radius:20px;font-size:1.6rem}
.status-pill{margin-left:auto;border-radius:999px;padding:.4rem .7rem;font-size:.75rem;font-weight:800}.status-pill.on{background:#dcfce7;color:#15803d}.status-pill.off{background:#f1f5f9;color:#64748b}
.method-grid{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin-top:1.5rem}.method-card{position:relative;border:1px solid var(--line);border-radius:20px;padding:1.25rem;background:var(--surface)}.method-card>i{font-size:1.8rem;color:var(--brand)}.method-card h3{font-size:1rem;margin:.8rem 0 .35rem}.method-card p{font-size:.88rem;color:var(--muted);min-height:52px}.method-badge{position:absolute;right:1rem;top:1rem;border-radius:999px;padding:.25rem .55rem;font-size:.68rem;font-weight:800}.method-badge.recommended{background:#dbeafe;color:#1d4ed8}
.active-method{display:flex;align-items:center;gap:1rem;margin-top:1.5rem;padding:1rem;border-radius:18px;background:var(--soft)}.active-method-icon{width:50px;height:50px;border-radius:16px;background:#fff;color:var(--brand);display:grid;place-items:center;font-size:1.3rem}.active-method strong,.active-method span{display:block}.active-method span{font-size:.82rem;color:var(--muted)}
.setup-steps{margin-top:1.5rem}.setup-step{display:grid;grid-template-columns:36px 1fr;gap:1rem;padding:1rem 0;border-top:1px solid var(--line)}.setup-step>span{width:32px;height:32px;border-radius:10px;background:var(--brand);color:#fff;display:grid;place-items:center;font-weight:800}.setup-step p{color:var(--muted);font-size:.9rem;margin:.25rem 0 .75rem}.secret-copy{display:flex;align-items:center;gap:.5rem;background:#0f172a;border-radius:12px;padding:.65rem .75rem;margin-bottom:.5rem}.secret-copy code{color:#dbeafe;word-break:break-all;flex:1}
.otp-input{letter-spacing:.45em;font-weight:800;font-size:1.4rem}.login-history{margin-top:1.25rem}.login-row{display:flex;align-items:center;gap:.8rem;padding:.9rem 0;border-top:1px solid var(--line)}.login-device{width:40px;height:40px;border-radius:13px;background:var(--soft);display:grid;place-items:center}.login-row strong,.login-row span{display:block}.login-row .flex-grow-1 span{font-size:.78rem;color:var(--muted)}.status-dot{font-size:.72rem;font-weight:800}.status-dot.success{color:#16a34a}.status-dot.failed{color:#dc2626}
.backup-count{text-align:center;margin:1.5rem 0}.backup-count strong{display:block;font-size:3rem;line-height:1}.backup-count span{font-size:.8rem;color:var(--muted)}.backup-modal-overlay{position:fixed;z-index:2000;inset:0;background:rgba(2,6,23,.72);display:grid;place-items:center;padding:1rem}.backup-modal{width:min(620px,100%);background:var(--surface);border-radius:28px;padding:2rem;box-shadow:0 30px 80px rgba(0,0,0,.25);text-align:center}.backup-code-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:.65rem;margin-top:1.5rem}.backup-code-grid code{padding:.75rem;border-radius:12px;background:var(--soft);font-size:1rem;color:var(--ink)}
@media(max-width:767px){.security-hero{align-items:flex-start;flex-direction:column}.security-score{width:100%}.method-grid{grid-template-columns:1fr}.backup-code-grid{grid-template-columns:1fr}.security-card{padding:1.15rem}}
