:root{font-family:Inter,Noto Sans SC,PingFang SC,Helvetica Neue,Arial,sans-serif;line-height:1.6;font-weight:400;color-scheme:light;color:#0f172a;background-color:#f3f4f6;font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*,*:before,*:after{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh;background:linear-gradient(180deg,#f8fafc,#eef2ff)}a{color:inherit;text-decoration:none}button{font-family:inherit}img{max-width:100%;display:block}::-webkit-scrollbar{width:8px}::-webkit-scrollbar-thumb{background:#6366f166;border-radius:999px}::-webkit-scrollbar-track{background:transparent}.app-shell{min-height:100vh;color:#0f172a;display:flex;flex-direction:column}.comment-shell{margin-top:1.5rem;background:#fffffff5;border-radius:1.5rem;padding:1.25rem;border:1px solid rgba(148,163,184,.15);box-shadow:0 18px 36px #0f172a0f}.comment-shell-header{display:flex;justify-content:space-between;gap:1rem;align-items:center;margin-bottom:1rem}.comment-shell-header h3{margin:0 0 .3rem}.comment-shell-header p{margin:0;color:#64748b;font-size:.9rem}.comment-shell-actions{display:flex;gap:.75rem;align-items:center}.auth-page{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:32px 20px;background:radial-gradient(circle at top,#fef3c7,#fef9c3 40%,#f8fafc)}.auth-card{width:min(420px,100%);background:#fff;border-radius:20px;padding:28px;box-shadow:0 18px 40px #0f172a14}.auth-card h1{margin:0 0 6px}.auth-subtitle{margin:0 0 18px;color:#64748b}.auth-card form{display:grid;gap:14px}.auth-card label{display:grid;gap:6px;font-size:14px;color:#1f2937}.auth-card input{border:1px solid #e2e8f0;border-radius:10px;padding:10px 12px;font-size:14px}.auth-error{color:#dc2626;font-size:13px;margin:0}.auth-switch{margin-top:12px;border:none;background:none;color:#2563eb;cursor:pointer}.profile-page{min-height:100vh;padding:2rem 2.5rem 4rem;background:radial-gradient(circle at top,#f8fafc,#eef2ff 50%,#fff)}.profile-header{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:1.5rem}.profile-header h1{margin:0;font-size:1.6rem}.profile-header p{margin:.4rem 0 0;color:#64748b}.profile-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:1.25rem;margin-bottom:2rem}.profile-card{background:#fffffff5;border-radius:1.2rem;padding:1.25rem;border:1px solid rgba(148,163,184,.14);box-shadow:0 18px 35px #0f172a0f;display:flex;flex-direction:column;gap:.85rem}.profile-card h2,.profile-card h3{margin:0;font-size:1.05rem}.profile-card label{display:flex;flex-direction:column;gap:.4rem;font-size:.9rem;color:#475569}.profile-card input{border-radius:.8rem;border:1px solid rgba(226,232,240,.9);padding:.6rem .8rem;font-size:.9rem}.profile-section{margin-top:2rem}.profile-list{display:grid;gap:1.25rem;grid-template-columns:repeat(auto-fit,minmax(260px,1fr))}.profile-card ul{list-style:none;padding:0;margin:0;display:grid;gap:.8rem}.profile-card li strong{display:block;margin-bottom:.2rem}.profile-card li p{margin:0;color:#64748b;font-size:.9rem}.row{display:flex;gap:.75rem;align-items:center}.pill{background:#6366f11f;color:#4338ca;padding:.25rem .7rem;border-radius:999px;font-size:.8rem;display:inline-flex;gap:.35rem;align-items:center}.pill button{border:none;background:transparent;cursor:pointer;color:inherit}.token-box{display:grid;gap:.5rem;background:#e2e8f059;padding:.75rem;border-radius:.8rem}.token-box code{display:block;font-size:.8rem;word-break:break-all;color:#1f2937}.password-form{display:grid;gap:.6rem}.note-item{display:flex;justify-content:space-between;gap:.75rem;font-size:.9rem;color:#475569}.note-item time{color:#94a3b8;font-size:.8rem}.app-header{display:flex;align-items:center;justify-content:space-between;padding:1.25rem 2.5rem;padding-top:calc(1.25rem + env(safe-area-inset-top));padding-bottom:calc(1.25rem + env(safe-area-inset-bottom));background:#ffffffe6;-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);border-bottom:1px solid rgba(148,163,184,.2);position:sticky;top:0;z-index:10;transition:transform .22s ease,padding .22s ease,box-shadow .22s ease;will-change:transform}.logo-block{display:flex;gap:1rem;align-items:center}.logo-block .logo-mark{width:3rem;height:3rem;border-radius:1rem;background:linear-gradient(135deg,#eef2ff,#e0e7ff);display:flex;align-items:center;justify-content:center;box-shadow:inset 0 0 0 1px #6366f126}.logo-block .logo-mark img{width:2.4rem;height:2.4rem}.logo-block h1{margin:0;font-size:1.2rem;font-weight:700;letter-spacing:.02em}.logo-block p{margin:.1rem 0 0;color:#475569;font-size:.9rem}.header-actions{display:flex;align-items:center;gap:1rem}.header-utility{display:flex;align-items:center;gap:.75rem}.search-box{display:flex;align-items:center;gap:.5rem;padding:.5rem .75rem;background:#e2e8f0b3;border-radius:999px;border:1px solid transparent;transition:border .2s ease}.search-box:focus-within{border-color:#6366f1}.search-box input{border:none;background:transparent;outline:none;min-width:220px;font-size:.95rem}.search-box .icon{width:1.2rem;height:1.2rem;color:#6366f1}.primary{background:linear-gradient(135deg,#6366f1,#8b5cf6);border:none;color:#fff;padding:.6rem 1.3rem;border-radius:.75rem;font-size:.95rem;font-weight:600;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease;box-shadow:0 12px 30px #6366f140}.primary:hover{transform:translateY(-1px);box-shadow:0 16px 32px #6366f14d}.icon-button{width:40px;height:40px;border-radius:999px;background:#6366f11a;border:none;display:flex;align-items:center;justify-content:center;color:#4338ca;position:relative;cursor:pointer}.icon-button svg{width:20px;height:20px}.icon-button .badge{position:absolute;top:-4px;right:-4px;background:#ef4444;color:#fff;border-radius:999px;padding:0 .35rem;font-size:.7rem;line-height:1.4;font-weight:600}.avatar{width:40px;height:40px;border-radius:999px;display:flex;align-items:center;justify-content:center;font-weight:700;color:#fff;letter-spacing:.05em}.avatar-menu{position:relative}.user-menu{position:absolute;right:0;top:calc(100% + .6rem);background:#fffffffa;border:1px solid rgba(148,163,184,.2);border-radius:.9rem;padding:.5rem;box-shadow:0 18px 30px #0f172a1f;display:grid;gap:.3rem;min-width:140px;z-index:12}.user-menu button{border:none;background:#f1f5f9e6;padding:.45rem .75rem;border-radius:.7rem;font-size:.85rem;color:#475569;cursor:pointer;text-align:left}.user-menu button:hover{background:#6366f11f;color:#4338ca}.app-content{flex:1;display:grid;grid-template-columns:minmax(0,1fr);gap:1.5rem;padding:1.5rem 2.5rem calc(3rem + env(safe-area-inset-bottom));align-items:start}.app-legal-footer{border-top:1px solid rgba(148,163,184,.2);background:#ffffffdb;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);padding:.8rem 2.5rem calc(.8rem + env(safe-area-inset-bottom));display:flex;justify-content:space-between;align-items:center;gap:.75rem;color:#64748b;font-size:.86rem}.app-legal-links{display:flex;align-items:center;gap:.85rem}.app-legal-links a{color:#4f46e5;font-weight:600}.app-legal-links a:hover{text-decoration:underline}.sidebar{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1.5rem}.sidebar section{background:#ffffffeb;border-radius:1.25rem;padding:1.25rem;box-shadow:0 18px 40px #0f172a14;border:1px solid rgba(148,163,184,.15)}.panel-header{display:flex;justify-content:space-between;gap:1rem;align-items:center;margin-bottom:1rem}.panel-header h2{margin:0 0 .35rem;font-size:1rem;color:#1e293b}.panel-header p{margin:0;font-size:.85rem;color:#94a3b8}.active-pill,.pill{padding:.3rem .75rem;border-radius:999px;background:#6366f11f;color:#4338ca;font-weight:600;font-size:.8rem}.pill{background:#94a3b82e;color:#475569}.sidebar h2{margin:0 0 1rem;font-size:1rem;color:#1e293b}.tag-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(96px,1fr));gap:.55rem}.tag-list button{border:none;border-radius:999px;padding:.35rem .8rem;background:#94a3b824;color:#475569;cursor:pointer;transition:background .2s ease,color .2s ease;font-size:.85rem;text-align:center}.tag-list button.active{background:#6366f11a;color:#4338ca;font-weight:600}.tag-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:.9rem;margin-top:1rem}.stat-card{background:#f8fafccc;border-radius:.9rem;padding:.75rem;border:1px solid rgba(226,232,240,.8);display:flex;flex-direction:column;gap:.6rem;font-size:.85rem;color:#475569}.stat-chips{display:flex;flex-wrap:wrap;gap:.45rem}.stat-chips span{background:#6366f11f;color:#4338ca;padding:.25rem .6rem;border-radius:999px;font-weight:500;font-size:.78rem}.stat-lines{display:grid;gap:.4rem}.stat-lines div{display:flex;justify-content:space-between;align-items:center;font-size:.82rem;color:#64748b}.stat-lines strong{color:#1f2937;font-weight:600}.muted{color:#94a3b8}.trending-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.8rem}.trending-list li button{width:100%;border:none;background:transparent;text-align:left;padding:.5rem .75rem;border-radius:.75rem;display:flex;flex-direction:column;gap:.35rem;cursor:pointer;transition:background .2s ease,transform .2s ease}.trending-list li button:hover{background:#6366f114;transform:translate(4px)}.topic-title{font-weight:600;color:#1f2937;font-size:.95rem}.trend-meta{display:flex;justify-content:space-between;font-size:.8rem;color:#64748b}.trend-bar{height:6px;background:#e2e8f0e6;border-radius:999px;overflow:hidden}.trend-bar span{display:block;height:100%;background:linear-gradient(135deg,#6366f1,#8b5cf6)}.main-view{display:flex;flex-direction:column;gap:1.5rem;min-width:0}.topic-list{background:#fffffff5;border-radius:1.5rem;padding:1.5rem;box-shadow:0 22px 45px #0f172a14;border:1px solid rgba(148,163,184,.12)}.list-toolbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:1.25rem}.list-toolbar nav{display:flex;gap:.75rem}.list-toolbar button{border:none;background:#f1f5f9e6;padding:.45rem 1rem;border-radius:.9rem;cursor:pointer;font-size:.9rem;color:#475569;transition:background .2s ease,color .2s ease}.list-toolbar button.active{background:#6366f126;color:#4338ca;font-weight:600}.meta{font-size:.85rem;color:#94a3b8}.cards{display:grid;gap:1.25rem}.load-more{margin:1.5rem auto 0;display:block;border:none;background:#e2e8f0e6;padding:.6rem 1.4rem;border-radius:999px;cursor:pointer;font-size:.9rem;font-weight:600;color:#475569;transition:background .2s ease,color .2s ease}.load-more:hover{background:#6366f126;color:#4338ca}.load-more:disabled{opacity:.6;cursor:not-allowed}.topic-card{display:grid;grid-template-columns:240px 1fr;gap:1.25rem;padding:1rem;border-radius:1.2rem;background:#f8fafce6;border:1px solid transparent;cursor:pointer;transition:transform .2s ease,box-shadow .2s ease,border .2s ease}.topic-card:hover{transform:translateY(-2px);box-shadow:0 20px 35px #6366f126;border-color:#6366f133}.topic-card.active{border-color:#6366f199;box-shadow:0 18px 38px #6366f133}.topic-card .cover{border-radius:1rem;overflow:hidden;position:relative;background:#e2e8f0;height:160px}.topic-card .cover img{width:100%;height:100%;object-fit:cover}.topic-card .cover .badge{position:absolute;top:.8rem;left:.8rem;background:#f8fafceb;color:#4338ca;padding:.25rem .75rem;border-radius:999px;font-size:.8rem;font-weight:600;box-shadow:0 8px 16px #4338ca40}.topic-card .card-body{display:flex;flex-direction:column;justify-content:space-between}.topic-card header{display:flex;gap:.75rem;justify-content:space-between;align-items:flex-start}.topic-card h3{margin:0;font-size:1.2rem;line-height:1.4;color:#1f2937}.topic-card .description{margin:.5rem 0 0;color:#64748b;font-size:.92rem;max-width:38ch}.bookmark{width:36px;height:36px;border-radius:12px;background:#fffc;border:1px solid rgba(148,163,184,.4);display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .2s ease,border .2s ease}.bookmark svg{width:18px;height:18px;color:#94a3b8}.bookmark.active{background:#6366f126;border-color:#6366f166}.bookmark.active svg{color:#4338ca}.options{display:grid;gap:.6rem;margin:1rem 0}.option{background:#ffffffb3;padding:.65rem .8rem;border-radius:.85rem;border:1px solid rgba(226,232,240,.8)}.option-header{display:flex;justify-content:space-between;align-items:center;font-weight:600;color:#1f2937}.option-header strong{font-size:.95rem;color:#4338ca}.progress{margin-top:.4rem;background:#e2e8f0b3;border-radius:999px;height:8px;overflow:hidden}.progress .bar{height:100%;background:linear-gradient(135deg,#6366f1,#8b5cf6);border-radius:999px;display:block}.topic-card footer{display:flex;justify-content:space-between;align-items:center;font-size:.85rem;color:#94a3b8}.tags{display:flex;gap:.5rem;flex-wrap:wrap}.tags span{background:#4f46e51f;color:#4338ca;padding:.3rem .75rem;border-radius:999px;font-weight:500}.stats{display:flex;gap:1rem}.empty-state{text-align:center;padding:3rem 1rem;color:#94a3b8}.topic-detail{background:#fffffff0;border-radius:1.5rem;padding:1.75rem;box-shadow:0 22px 45px #0f172a14;border:1px solid rgba(148,163,184,.12);position:sticky;top:100px}.topic-detail.empty{display:flex;align-items:center;justify-content:center;color:#94a3b8;min-height:240px}.topic-detail header{display:flex;justify-content:space-between;gap:1rem}.topic-detail h2{margin:0;font-size:1.4rem;line-height:1.5;color:#1f2937}.topic-detail p{margin:.75rem 0 0;color:#64748b;font-size:.95rem}.topic-detail button{border:none;background:#e2e8f0cc;color:#475569;font-weight:600;border-radius:.9rem;padding:.6rem 1rem;cursor:pointer;align-self:flex-start}.detail-headline{display:flex;flex-direction:column;gap:.6rem}.topic-category{display:inline-flex;align-items:center;gap:.3rem;font-size:.75rem;letter-spacing:.18em;color:#6366f1}.detail-meta{display:flex;flex-wrap:wrap;gap:.75rem;font-size:.85rem;color:#94a3b8}.detail-meta span:before{content:"•";margin-right:.35rem;color:#6366f180}.detail-meta span:first-of-type:before{content:"";margin-right:0}.detail-actions{display:flex;gap:.6rem;align-items:flex-start}.ghost{border:1px solid rgba(148,163,184,.4);background:#ffffffa6;color:#475569;padding:.55rem 1rem;border-radius:.9rem;cursor:pointer;transition:border .2s ease,color .2s ease}.ghost:hover{color:#4338ca;border-color:#6366f166}.danger-outline{color:#be123c;border-color:#e11d484d}.danger-outline:hover{color:#9f1239;border-color:#e11d4873}.options-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:1rem;margin-top:1.5rem}.detail-option{padding:1.1rem;border-radius:1.1rem;border:1px solid rgba(226,232,240,.8);background:#f8fafce6;display:flex;flex-direction:column;gap:.75rem;align-items:flex-start;cursor:pointer;transition:transform .2s ease,border .2s ease,box-shadow .2s ease}.detail-option:hover{transform:translateY(-3px);border-color:#6366f180;box-shadow:0 24px 40px #6366f12e}.detail-option:focus-visible{outline:3px solid rgba(99,102,241,.35);outline-offset:2px}.detail-option.leading{border-color:#6366f173;box-shadow:0 20px 36px #6366f12e}.detail-option.trailing{opacity:.9}.detail-option.selected{transform:translateY(-2px);border-color:#3b82f699;box-shadow:0 16px 30px #3b82f626}.detail-option h3{margin:0;font-size:1.1rem;color:#1f2937}.detail-option .ratio{font-size:1rem;font-weight:600;color:#4338ca}.detail-option .option-description{margin:0;color:#64748b;font-size:.9rem}.detail-option .option-progress{width:100%;height:8px;background:#e2e8f0b3;border-radius:999px;overflow:hidden}.detail-option .option-progress span{display:block;height:100%;border-radius:999px;background:linear-gradient(135deg,#6366f1,#38bdf8)}.detail-option footer{width:100%;display:flex;justify-content:space-between;align-items:center;font-size:.85rem;color:#94a3b8}.detail-option footer strong{color:#2563eb}.detail-option .vote-cta{background:#6366f126;color:#4338ca;padding:.25rem .7rem;border-radius:999px;font-size:.78rem;font-weight:600}.insight-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1rem;margin-top:1.8rem}.insight-card{padding:1.1rem;border-radius:1.1rem;background:linear-gradient(145deg,#f4f7fef2,#fff);border:1px solid rgba(148,163,184,.14);box-shadow:inset 0 1px #fff9,0 20px 35px #0f172a14;display:flex;flex-direction:column;gap:.6rem}.insight-card h4{margin:0;font-size:.85rem;letter-spacing:.08em;color:#6366f1}.insight-title{margin:0;font-size:1.05rem;font-weight:700;color:#1f2937}.insight-subtitle{margin:0;color:#2563eb;font-weight:600;font-size:.9rem}.insight-note{margin:0;font-size:.85rem;color:#64748b;line-height:1.5}.comment-section{margin-top:1.5rem;background:#ffffffe6;border-radius:1.25rem;padding:1.25rem;border:1px solid rgba(148,163,184,.16);box-shadow:0 20px 38px #0f172a14}.comment-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem}.comment-header h3{margin:0;font-size:1.1rem;color:#1f2937}.comment-controls{display:flex;gap:.5rem}.comment-controls button{border:none;border-radius:999px;padding:.4rem .9rem;font-size:.85rem;background:#e2e8f0e6;color:#475569;cursor:pointer}.comment-controls button.active{background:#6366f126;color:#4338ca;font-weight:600}.comment-editor{display:flex;gap:.75rem;margin-bottom:1.25rem}.editor-avatar{width:42px;height:42px;border-radius:999px;display:flex;align-items:center;justify-content:center;font-weight:700;color:#fff}.editor-main{flex:1;display:flex;flex-direction:column;gap:.75rem}.reply-banner{display:flex;justify-content:space-between;align-items:center;background:#ece9fe99;border-radius:.75rem;padding:.35rem .75rem;font-size:.85rem;color:#4338ca}.reply-banner button{border:none;background:transparent;font-size:1rem;cursor:pointer;color:#4338ca}.editor-main textarea{resize:vertical;border-radius:.9rem;border:1px solid rgba(226,232,240,.9);padding:.8rem 1rem;font-family:inherit;font-size:.95rem;background:#f8fafccc;min-height:90px}.editor-main textarea:focus{outline:none;border-color:#6366f166;box-shadow:0 0 0 3px #6366f11a}.editor-actions{display:flex;justify-content:space-between;align-items:center;font-size:.8rem;color:#94a3b8}.comment-list{display:flex;flex-direction:column;gap:1rem}.comment-card{display:flex;gap:.8rem}.comment-card.reply{margin-left:.5rem}.comment-avatar{width:38px;height:38px;border-radius:999px;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:600}.comment-body{flex:1;background:#f8fafccc;border-radius:1rem;padding:.75rem 1rem;border:1px solid rgba(226,232,240,.8)}.comment-body header{display:flex;gap:.5rem;align-items:baseline;margin-bottom:.35rem}.comment-body .author{font-weight:600;color:#1f2937;font-size:.95rem}.comment-body .meta{font-size:.8rem;color:#a0aec0}.comment-body p{margin:.4rem 0 .6rem;color:#475569;font-size:.95rem;line-height:1.5}.comment-body footer{display:flex;gap:.75rem;align-items:center;flex-wrap:wrap}.comment-body footer button{border:none;background:transparent;color:#64748b;font-size:.85rem;cursor:pointer}.comment-body footer button.active{color:#4338ca;font-weight:600}.comment-body footer button.danger-link{color:#be123c;margin-left:auto}.comment-body footer button.danger-link:hover{color:#9f1239}.reply-list{margin-top:.75rem;display:flex;flex-direction:column;gap:.75rem}.report-modal-backdrop{position:fixed;inset:0;background:#0f172a6b;display:grid;place-items:center;padding:1rem;z-index:90}.report-modal{width:min(560px,95vw);background:#fffffffa;border-radius:1.1rem;border:1px solid rgba(148,163,184,.24);box-shadow:0 32px 56px #0f172a42;padding:1.1rem;display:flex;flex-direction:column;gap:.9rem}.report-modal header{display:flex;justify-content:space-between;gap:.75rem;align-items:flex-start}.report-modal header h3{margin:0;font-size:1.05rem;color:#1f2937}.report-modal header p{margin:.35rem 0 0;font-size:.84rem;color:#64748b;word-break:break-word}.report-modal form{display:flex;flex-direction:column;gap:.55rem}.report-modal label{font-size:.86rem;color:#475569;font-weight:600}.report-modal select,.report-modal textarea{border:1px solid rgba(148,163,184,.35);border-radius:.75rem;font-size:.92rem;font-family:inherit;padding:.62rem .75rem;background:#fff}.report-modal textarea{resize:vertical;min-height:108px}.report-modal select:focus,.report-modal textarea:focus{outline:none;border-color:#6366f17a;box-shadow:0 0 0 3px #6366f11f}.report-error{margin:0;color:#be123c;font-size:.84rem}.report-modal-actions{display:flex;justify-content:flex-end;gap:.55rem;margin-top:.35rem}.comment-empty{text-align:center;padding:2rem 0;color:#94a3b8;font-size:.9rem}.notifications-panel{width:min(520px,90vw);max-height:80vh;background:#fffffff5;border-radius:1.5rem;padding:1.5rem;box-shadow:0 30px 48px #0f172a2e;border:1px solid rgba(148,163,184,.16);display:flex;flex-direction:column;gap:1rem}.notifications-panel header{display:flex;justify-content:space-between;gap:1rem;align-items:flex-start}.notifications-panel h3{margin:0;font-size:1.2rem;color:#1e293b}.notifications-panel p{margin:.3rem 0 0;color:#64748b;font-size:.9rem}.notifications-panel .panel-actions{display:flex;gap:.75rem}.notifications-panel .panel-actions button{border:none;background:#e2e8f0cc;border-radius:.8rem;padding:.45rem .9rem;color:#475569;cursor:pointer;font-size:.85rem}.notifications-list{overflow-y:auto;display:flex;flex-direction:column;gap:.85rem}.notifications-empty{text-align:center;color:#94a3b8;padding:2rem 0}.notification-item{display:grid;grid-template-columns:auto 1fr auto;gap:.8rem;background:#f8fafce6;border-radius:1rem;padding:.9rem;border:1px solid rgba(226,232,240,.8);align-items:center}.notification-item.unread{border-color:#6366f159;box-shadow:0 12px 24px #6366f11f}.notification-item .icon{font-size:1.2rem}.notification-content p{margin:0;color:#1f2937;font-size:.95rem}.notification-content time{display:block;margin-top:.3rem;font-size:.8rem;color:#94a3b8}.notification-item button{border:none;background:#e2e8f0cc;border-radius:.75rem;padding:.4rem .8rem;font-size:.8rem;color:#475569;cursor:pointer}.create-modal{width:min(640px,92vw);max-height:88vh;background:#fffffff5;border-radius:1.6rem;padding:1.75rem;box-shadow:0 30px 60px #0f172a38;border:1px solid rgba(148,163,184,.16);overflow-y:auto;display:flex;flex-direction:column;gap:1.35rem}.create-modal header{display:flex;justify-content:space-between;gap:1rem;align-items:flex-start}.create-modal h3{margin:0;font-size:1.25rem;color:#1e293b}.create-modal p{margin:.35rem 0 0;color:#64748b;font-size:.9rem}.create-modal header button{border:none;background:#e2e8f0cc;border-radius:.8rem;padding:.4rem .9rem;color:#475569;cursor:pointer}.create-form{display:flex;flex-direction:column;gap:1.1rem}.create-form label{display:flex;flex-direction:column;gap:.5rem;font-size:.9rem;color:#475569}.create-form input,.create-form textarea,.create-form select{border-radius:.9rem;border:1px solid rgba(226,232,240,.9);padding:.75rem 1rem;font-size:.95rem;font-family:inherit;background:#f8fafcd9}.create-form textarea{resize:vertical}.form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:1rem}.tag-editor{display:flex;flex-direction:column;gap:.6rem;font-size:.9rem;color:#475569}.tag-input{display:flex;gap:.6rem}.tag-input button{border:none;padding:.55rem 1rem;border-radius:.9rem;background:#6366f126;color:#4338ca;cursor:pointer}.tag-chips{display:flex;flex-wrap:wrap;gap:.6rem}.tag-chips span{background:#6366f11f;color:#4338ca;border-radius:999px;padding:.35rem .8rem;display:inline-flex;align-items:center;gap:.35rem;font-size:.85rem}.tag-chips span button{border:none;background:transparent;color:#4338ca;cursor:pointer}.ghost-tag{border:1px dashed rgba(148,163,184,.45);background:#f8fafc99;color:#64748b;border-radius:999px;padding:.35rem .8rem;cursor:pointer}.ghost-tag:disabled{opacity:.5;cursor:not-allowed}.option-editor{display:grid;gap:1rem}.option-editor h4{margin:0 0 .5rem;font-size:1rem;color:#1f2937}.option-editor textarea{min-height:80px}.form-error{margin:0;color:#ef4444;font-size:.85rem}.form-actions{display:flex;justify-content:flex-end;gap:.75rem;align-items:center}.overlay{position:fixed;inset:0;background:radial-gradient(circle at top,#0f172a8c,#0f172ab3);display:flex;align-items:center;justify-content:center;color:#f8fafc;font-size:1.2rem;z-index:20;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);animation:overlayFade .22s ease-out}.detail-overlay{padding:32px 20px}.detail-overlay .topic-detail{width:min(980px,92vw);max-height:min(86vh,920px);overflow-y:auto;border-radius:28px;background:#fffffffa;box-shadow:0 40px 90px #0f172a59;position:relative;top:auto;animation:sheetPop .26s ease-out}.detail-overlay .topic-detail header{position:static;background:#fffffffa;padding-top:calc(1rem + env(safe-area-inset-top));border-bottom:1px solid rgba(148,163,184,.2);z-index:1}@keyframes overlayFade{0%{opacity:0}to{opacity:1}}@keyframes sheetPop{0%{transform:translateY(24px) scale(.98);opacity:0}to{transform:translateY(0) scale(1);opacity:1}}@media (max-width: 1280px){.app-content{grid-template-columns:1fr}.app-content>.topic-detail{display:none}}@media (max-width: 960px){.app-header{flex-direction:column;align-items:flex-start;gap:1rem}.header-actions{width:100%}.search-box{flex:1}.app-content{grid-template-columns:1fr}.sidebar{position:static;flex-direction:row;overflow-x:auto}.sidebar section{min-width:260px}.topic-card{grid-template-columns:1fr}.detail-overlay{padding:0;align-items:flex-end}.detail-overlay .topic-detail{width:100%;max-height:90vh;border-radius:24px 24px 0 0;animation:sheetSlideUp .26s ease-out}}@keyframes sheetSlideUp{0%{transform:translateY(40px);opacity:0}to{transform:translateY(0);opacity:1}}@media (max-width: 640px){.app-header{padding:1rem 1.2rem;gap:.75rem}.app-header.mobile-compact{padding:.68rem 1rem;gap:.45rem;box-shadow:0 10px 22px #0f172a1a}.app-header.mobile-compact .logo-block{width:100%;gap:.45rem}.app-header.mobile-compact .logo-block .logo-mark{width:2.2rem;height:2.2rem;border-radius:.72rem}.app-header.mobile-compact .logo-block .logo-mark img{width:1.68rem;height:1.68rem}.app-header.mobile-compact .logo-block h1{font-size:.98rem;line-height:1.2}.app-header.mobile-compact .logo-block p,.app-header.mobile-compact .search-box,.app-header.mobile-compact .primary{display:none}.app-header.mobile-hidden{transform:translateY(calc(-100% - 8px));pointer-events:none}.logo-block{width:100%;gap:.6rem}.logo-block .logo-mark{width:2.6rem;height:2.6rem;border-radius:.8rem}.logo-block .logo-mark img{width:2rem;height:2rem}.logo-block h1{font-size:1.05rem;line-height:1.3}.logo-block p{font-size:.88rem;line-height:1.45}.header-actions{width:100%;display:grid;grid-template-columns:1fr;gap:.75rem}.search-box{width:100%;padding:.45rem .6rem}.search-box input{min-width:0;width:100%;font-size:.9rem}.primary{width:100%;justify-content:center;text-align:center}.header-utility{width:100%;justify-content:flex-end}.header-utility .ghost{min-height:40px;padding:.5rem .9rem;border-radius:999px}.app-content{grid-template-columns:1fr;padding:1.25rem 1.2rem calc(2.25rem + env(safe-area-inset-bottom))}.app-legal-footer{padding:.75rem 1.2rem calc(.95rem + env(safe-area-inset-bottom));flex-direction:column;align-items:flex-start;gap:.35rem}.sidebar{display:grid;gap:1rem}.sidebar section{min-width:unset}.topic-card{grid-template-columns:1fr}}.admin-reports-page{min-height:100vh;padding:1.6rem;background:radial-gradient(circle at 8% 6%,rgba(99,102,241,.12),transparent 42%),linear-gradient(180deg,#f8fafc,#eef2ff);color:#1f2937}.admin-reports-header{display:flex;justify-content:space-between;align-items:flex-start;gap:1rem;margin-bottom:1rem}.admin-reports-header h1{margin:0;font-size:clamp(1.3rem,2.3vw,1.9rem)}.admin-reports-header p{margin:.45rem 0 0;color:#64748b}.admin-reports-header-actions{display:flex;gap:.65rem}.admin-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem;margin-bottom:1rem}.admin-summary-card{background:#ffffffeb;border:1px solid rgba(148,163,184,.2);border-radius:.95rem;padding:.8rem 1rem;box-shadow:0 14px 24px #0f172a14;display:flex;flex-direction:column;gap:.35rem}.admin-summary-card span{color:#64748b;font-size:.84rem}.admin-summary-card strong{font-size:1.35rem;color:#312e81}.admin-filter-bar{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap;background:#ffffffe0;border:1px solid rgba(148,163,184,.2);border-radius:.95rem;padding:.8rem .9rem;margin-bottom:1rem}.admin-filter-bar label{display:flex;align-items:center;gap:.5rem;font-size:.86rem;color:#475569}.admin-filter-bar select{border:1px solid rgba(148,163,184,.35);border-radius:.65rem;background:#fff;color:#1f2937;padding:.38rem .55rem}.admin-filter-state{margin-left:auto;color:#64748b;font-size:.86rem}.admin-report-list{display:flex;flex-direction:column;gap:.8rem}.admin-empty{background:#ffffffd9;border:1px dashed rgba(148,163,184,.4);border-radius:.95rem;padding:2rem 1rem;text-align:center;color:#64748b}.admin-report-card{background:#ffffffed;border:1px solid rgba(148,163,184,.22);border-radius:1rem;padding:.95rem 1rem;box-shadow:0 16px 28px #0f172a14}.admin-report-card header{display:flex;justify-content:space-between;gap:1rem;align-items:flex-start}.admin-report-title{display:flex;align-items:center;gap:.55rem;flex-wrap:wrap}.admin-report-title h3{margin:0;font-size:1rem}.admin-report-card header p{margin:0;color:#64748b;font-size:.82rem}.status-pill{padding:.16rem .58rem;border-radius:999px;font-size:.76rem;font-weight:700}.status-pending{background:#fbbf242e;color:#92400e}.status-reviewing{background:#3b82f629;color:#1d4ed8}.status-resolved{background:#10b9812e;color:#047857}.status-rejected{background:#f43f5e29;color:#be123c}.admin-report-meta{margin-top:.65rem;display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:.38rem .85rem;color:#475569;font-size:.84rem}.admin-report-detail{margin-top:.65rem;padding:.65rem .75rem;border-radius:.75rem;background:#f8fafceb;border:1px solid rgba(203,213,225,.8)}.admin-report-detail strong{color:#334155;font-size:.84rem}.admin-report-detail p{margin:.38rem 0 0;color:#334155;line-height:1.45}.admin-report-detail.resolution{border-left:4px solid rgba(16,185,129,.6)}.admin-report-card footer{margin-top:.85rem;display:flex;justify-content:flex-end;gap:.55rem;flex-wrap:wrap}.final-state-text{color:#64748b;font-size:.85rem}@media (max-width: 880px){.admin-reports-page{padding:1rem}.admin-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-filter-state{margin-left:0;width:100%}.admin-report-card header{flex-direction:column}}.legal-page{min-height:100vh;padding:2.5rem 1.25rem 4rem;background:radial-gradient(circle at top,#eef2ff,#f8fafc 45%,#fff)}.legal-shell{width:min(920px,100%);margin:0 auto;background:#fffffff7;border:1px solid rgba(148,163,184,.2);border-radius:1.5rem;box-shadow:0 24px 48px #0f172a1a;overflow:hidden}.legal-header{padding:1.6rem 1.8rem 1.2rem;border-bottom:1px solid rgba(148,163,184,.18);background:linear-gradient(135deg,#6366f114,#38bdf814)}.legal-header h1{margin:0;font-size:1.6rem;color:#0f172a}.legal-meta{margin:.6rem 0 0;color:#64748b;font-size:.9rem}.legal-actions{margin-top:.95rem;display:flex;gap:.65rem;flex-wrap:wrap}.legal-link-button{display:inline-flex;align-items:center;justify-content:center;border:1px solid rgba(99,102,241,.28);border-radius:999px;padding:.45rem .95rem;color:#4338ca;font-size:.86rem;font-weight:600;background:#6366f114}.legal-link-button.primary{background:linear-gradient(135deg,#6366f1,#8b5cf6);border-color:transparent;color:#fff}.legal-content{padding:1.5rem 1.8rem 1.9rem;color:#1e293b}.legal-content p{margin:.55rem 0;color:#475569;line-height:1.75}.legal-content section+section{margin-top:1.25rem}.legal-content h2{margin:0;font-size:1.05rem;color:#0f172a}.legal-content ol,.legal-content ul{margin:.65rem 0 0;padding-left:1.3rem;color:#475569;line-height:1.75}.legal-content li{margin-bottom:.2rem}.legal-notice{margin:1.1rem 0 0;border-radius:.95rem;border:1px solid rgba(148,163,184,.25);background:#f8fafce6;padding:.85rem .95rem;font-size:.88rem;color:#64748b}@media (max-width: 768px){.legal-page{padding:1.3rem .85rem 2.2rem}.legal-header{padding:1.2rem 1rem 1rem}.legal-header h1{font-size:1.35rem}.legal-content{padding:1.1rem 1rem 1.4rem}}
