
:root{--purple:#7651e8;--ink:#242345;--muted:#9890ad;--border:#ece7f6;--bg:#faf9ff}
body{background:var(--bg);color:var(--ink);font-family:"Be Vietnam Pro",system-ui,sans-serif}
.forum-app{display:grid;grid-template-columns:228px minmax(0,1fr);min-height:100vh}
.forum-app>#qurio-sidebar-mount{grid-column:1;grid-row:1;min-width:0}
.forum-app .sidebar{position:sticky!important;top:0;height:100dvh;width:228px;overflow:auto;background:#fff;border-right:1px solid #f0edf8;z-index:50}
.forum-main{grid-column:2;min-width:0;display:flex;flex-direction:column}
.forum-main>.topbar,.forum-main>#qurio-header-mount .topbar{position:relative;top:auto;min-height:88px;height:88px;padding:0 clamp(22px,3vw,52px);border-bottom:1px solid #f0ecf7;background:#fff}
.forum-main #qurio-header-mount .topbar{display:flex;align-items:center}
.forum-main #qurio-header-mount .search-wrap{width:min(570px,48vw);max-width:570px}
.forum-main #qurio-header-mount .topbar-actions{margin-left:auto}
.forum-content{width:100%;max-width:1600px;margin:0 auto;flex:1;padding:30px clamp(20px,2.7vw,44px) 65px}
.forum-hero{min-height:266px;border:1px solid #e9dfff;border-radius:24px;overflow:hidden;background:linear-gradient(112deg,#f4eaff 0%,#f9f0ff 51%,#e9f1ff 100%);display:flex;align-items:center;justify-content:space-between;position:relative;padding:35px 45px;box-shadow:0 12px 40px #5843a10b}
.forum-hero>div:first-child{position:relative;z-index:2}
.eyebrow{font-size:10px;font-weight:800;letter-spacing:1.7px;color:#9865e9}
.eyebrow-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#9865e9;margin-right:5px}
.forum-hero h1{font-size:clamp(25px,2.55vw,39px);line-height:1.36;letter-spacing:-1.5px;color:#29224e;margin:12px 0 8px;font-weight:800}
.forum-hero h1 span{color:#7d51e8}
.forum-hero p{font-size:12px;color:#8c82a4;max-width:460px;line-height:1.9;margin:0}
.hero-actions{display:flex;gap:10px;margin-top:20px;flex-wrap:wrap}
.primary-btn,.outline-btn{border:0;background:linear-gradient(120deg,#7650e6,#9e6cf3);color:white;border-radius:12px;padding:13px 19px;font:700 12px "Be Vietnam Pro",sans-serif;cursor:pointer;box-shadow:0 8px 20px #7452df2b;text-decoration:none}
.outline-btn{background:#fff;color:#7151d4;border:1px solid #e5dafc;box-shadow:none}
.hero-art{width:260px;height:200px;position:relative;flex:none;margin-right:20px}
.orb{position:absolute;border-radius:50%;background:#d4b9ff88}.orb-a{width:215px;height:215px;right:-10px;top:-14px}.orb-b{width:95px;height:95px;right:185px;top:115px;background:#c7dcff}
.art-card{position:absolute;background:white;border:3px solid #ae8aff;box-shadow:0 16px 28px #6f4fd230;border-radius:18px;display:flex;align-items:center;justify-content:center}
.art-card-back{width:160px;height:110px;right:20px;top:9px;transform:rotate(10deg);gap:13px;color:#9060e8;font-size:30px}
.art-card-front{width:195px;height:123px;right:64px;top:56px;transform:rotate(-8deg);gap:13px}
.art-avatar{width:46px;height:46px;background:#ede2ff;border-radius:15px;display:grid;place-items:center;color:#8454e9;font-size:27px;font-weight:800}
.art-lines{display:grid;gap:9px;flex:1}.art-lines i{height:9px;background:#e7e2fa;border-radius:20px}.art-lines i:nth-child(2){width:85%}.art-lines i:nth-child(3){width:60%}
.art-heart{position:absolute;right:-13px;bottom:-13px;background:#ff77aa;border-radius:15px;color:white;padding:10px;font-size:23px}
.art-star{position:absolute;top:0;left:-20px;color:#a779ee;font-size:35px}
.forum-columns{display:grid;grid-template-columns:minmax(180px,230px) minmax(0,1fr) minmax(190px,255px);gap:22px;margin-top:27px;align-items:start}
.forum-left,.forum-right{display:grid;gap:18px}
.forum-panel,.composer-card,.post-card{background:#fff;border:1px solid var(--border);border-radius:19px;box-shadow:0 7px 24px #3d24650a}
.navigation-panel{padding:22px 13px}.panel-label{font-size:9px;letter-spacing:1.4px;font-weight:800;color:#aaa0bd;margin:0 13px 13px}
.feed-tab,.topic-tab{width:100%;display:flex;align-items:center;gap:11px;text-align:left;border:0;border-radius:11px;background:transparent;padding:11px 12px;color:#6f6787;font:600 11px "Be Vietnam Pro",sans-serif;cursor:pointer}
.feed-tab:hover,.topic-tab:hover,.topic-tab.selected{background:#f8f4ff;color:#764de5}
.feed-tab.active{background:#f1ebff;color:#744cdd}
.tab-symbol{width:29px;height:29px;border-radius:9px;display:grid;place-items:center;font-size:19px}.lavender{background:#e9dcff;color:#8553e4}.blue{background:#e2efff;color:#518de4}.amber{background:#fff0d8;color:#ee9b37}
.tab-arrow{margin-left:auto;font-size:22px}.nav-divider{height:1px;background:#f2eef7;margin:16px 11px 20px}
.topic-emoji{font-size:17px}.small-note{padding:21px;border-radius:18px;background:linear-gradient(140deg,#f0e7ff,#faf5ff);color:#7353be}.small-note>span{font-size:26px}.small-note strong{display:block;font-size:12px;line-height:1.8;margin:10px 0}.small-note p{font-size:10px;line-height:1.9;color:#9c87bb;margin:0}
.composer-card{padding:19px 20px}.composer-top{display:flex;align-items:center;gap:12px}.user-avatar{width:42px;height:42px;border-radius:50%;background:#e9ddff;color:#7950dd;font-size:17px;font-weight:800;display:grid;place-items:center;flex:none}
.composer-prompt{flex:1;text-align:left;border:1px solid #eee9f7;border-radius:24px;background:#faf9fd;color:#aaa2b8;font:500 11px "Be Vietnam Pro",sans-serif;padding:13px 16px;cursor:pointer}
.composer-bottom{border-top:1px solid #f3eff9;margin-top:17px;padding-top:14px;display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:10px;color:#9a90aa}
.purple-dot{color:#9768ef;font-size:17px;margin-right:6px}.composer-bottom button{background:#f1eaff;border:0;border-radius:10px;padding:10px 13px;color:#7751df;font:700 10px "Be Vietnam Pro",sans-serif;cursor:pointer}
.feed-toolbar{display:flex;justify-content:space-between;align-items:center;gap:10px;margin:24px 0 15px}.feed-toolbar h2{font-size:17px;margin:0 0 5px;font-weight:800}.feed-toolbar p{font-size:10px;color:#a097af;margin:0}.feed-toolbar select{padding:11px 13px;border:1px solid #eae5f5;border-radius:10px;background:white;color:#786b93;font:600 10px "Be Vietnam Pro",sans-serif;max-width:130px}
.active-filters{display:flex;gap:8px;margin:0 0 14px}.active-filters button{border:1px solid #e6d9ff;border-radius:20px;background:#f3ebff;color:#8055e5;padding:8px 12px;font-size:10px;cursor:pointer}
.post-card{padding:22px;margin-bottom:17px}.post-top{display:flex;align-items:center;gap:11px}.post-top .post-author{flex:1;min-width:0}.post-author strong{font-size:12px;display:block}.post-author small{font-size:10px;color:#aaa1b8;display:block;margin-top:4px}.post-category{background:#f1eaff;color:#8458df;font-size:9px;font-weight:700;border-radius:20px;padding:8px 11px}
.post-card h3{font-size:16px;margin:20px 0 9px;line-height:1.6}.post-text{font-size:12px;line-height:2;color:#706781;white-space:pre-wrap;overflow-wrap:anywhere;margin:0}.post-photo{display:block;width:100%;max-height:340px;object-fit:contain;background:#f7f4fd;border-radius:12px;margin-top:15px}
.post-actions{display:flex;gap:12px;flex-wrap:wrap;border-top:1px solid #f1edf7;margin-top:19px;padding-top:15px}
.post-actions button{border:0;background:transparent;color:#9b92ad;font:600 10px "Be Vietnam Pro",sans-serif;cursor:pointer;padding:6px 4px}.post-actions button.active{color:#8151e9}.post-actions button:last-child{margin-left:auto}
.comments{border-top:1px solid #f4f0f8;margin-top:14px;padding-top:15px}.comment{background:#f9f7ff;border-radius:12px;padding:11px 13px;margin:9px 0;font-size:11px;color:#766b8d;line-height:1.7;overflow-wrap:anywhere}.comment strong{display:block;color:#433b61;margin-bottom:3px}.comment-form{display:flex;gap:7px;margin-top:12px}.comment-form input{flex:1;min-width:0;border:1px solid #ece6f7;border-radius:11px;padding:11px 12px;font:11px "Be Vietnam Pro",sans-serif}.comment-form button{border:0;background:#7952e4;color:white;border-radius:10px;padding:0 13px;font-weight:700;cursor:pointer}
.empty-feed{text-align:center;padding:65px 20px;border:1px dashed #dfd3f8;border-radius:19px;background:white}.empty-symbol{font-size:38px;color:#a47ce8}.empty-feed h3{font-size:16px;margin:12px 0}.empty-feed p{font-size:11px;color:#9d94af;line-height:1.9}.empty-feed button{margin-top:9px}
.welcome-panel,.community-panel{padding:23px}.welcome-icon{width:47px;height:47px;background:#efe6ff;border-radius:14px;color:#9564eb;font-size:31px;display:grid;place-items:center}.welcome-panel h3{font-size:14px;line-height:1.6;margin:15px 0 9px}.welcome-panel p,.community-panel p{font-size:10px;color:#9a90ab;line-height:2;margin:0}.mini-rule{height:1px;background:#f2edf8;margin:17px 0}.community-points{font-size:10px;color:#7e7593;margin:13px 0}.community-points span{color:#9769e7;margin-right:7px}.community-head{display:flex;align-items:center;gap:10px}.community-icon{width:42px;height:42px;background:#e6f7f0;color:#36b88c;border-radius:12px;display:grid;place-items:center;font-size:25px}.community-head strong{display:block;font-size:11px}.community-head small{display:block;font-size:9px;color:#a19ab0;margin-top:4px}.community-panel p{margin:17px 0}.community-panel button{width:100%;border:1px solid #e6d9fa;background:#f6f0ff;color:#7d54df;border-radius:11px;padding:12px;font:700 10px "Be Vietnam Pro",sans-serif;cursor:pointer}
.post-dialog{width:min(95vw,580px);max-height:92dvh;overflow:auto;border:1px solid #e8ddfa;border-radius:22px;padding:27px;background:white;box-shadow:0 25px 90px #1f174350;color:#292348;font-family:"Be Vietnam Pro",sans-serif}
.post-dialog::backdrop{background:#1d163a8c;backdrop-filter:blur(4px)}.dialog-head{display:flex;justify-content:space-between;align-items:start}.dialog-head h2{font-size:20px;margin:7px 0 16px}.dialog-close{border:0;background:#f5f1fa;border-radius:50%;width:34px;height:34px;font-size:24px;cursor:pointer;color:#756889}.author-line{display:flex;gap:11px;align-items:center;margin-bottom:18px}.author-line strong{font-size:11px;display:block}.author-line small{font-size:10px;color:#a197b0}.form-label{display:block;font-size:11px;font-weight:700;margin:16px 0 8px}.post-dialog input:not([type=file]),.post-dialog textarea,.post-dialog select{width:100%;border:1px solid #e9e3f3;border-radius:11px;padding:13px;font:12px "Be Vietnam Pro",sans-serif;background:#fcfbff;outline-color:#9c7be7}.post-dialog textarea{min-height:140px;resize:vertical;line-height:1.8}.upload-label{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;padding:14px;border:1px dashed #d8c7fa;border-radius:11px;margin-top:16px;font-size:11px;color:#8253dd;cursor:pointer}.upload-label span{font-size:9px;color:#aaa1b7}#imagePreview img{max-width:100%;max-height:140px;object-fit:contain;margin-top:10px;border-radius:10px}.form-error{font-size:10px;color:#c53f60;margin-top:9px}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}.cancel-btn{background:#f5f2fa;color:#786b90;border:0;border-radius:11px;padding:12px 17px;cursor:pointer;font-weight:700}
#toast{position:fixed;right:22px;bottom:22px;z-index:150;background:#2d254c;color:white;padding:13px 18px;border-radius:12px;font-size:12px;box-shadow:0 14px 35px #28204144;display:none}
.forum-backdrop:not([hidden]){display:block;position:fixed;inset:0;background:#1b123b66;z-index:49;border:0}

@media(max-width:1350px){.forum-columns{grid-template-columns:195px minmax(0,1fr)}.forum-right{display:none}.forum-hero{padding:30px}}
@media(max-width:1100px){.forum-app{display:block}.forum-app>#qurio-sidebar-mount .sidebar{position:fixed!important;left:0;top:0;transform:translateX(-110%);transition:transform .25s;z-index:80}.forum-app>#qurio-sidebar-mount .sidebar.is-open{transform:translateX(0)}.forum-backdrop:not([hidden]){z-index:79}.forum-main #qurio-header-mount .mobile-menu{display:flex}}
@media(max-width:750px){.forum-columns{display:block}.forum-left{margin-bottom:15px}.navigation-panel{display:flex;flex-wrap:wrap;gap:4px;padding:12px}.navigation-panel .panel-label,.navigation-panel .nav-divider,.navigation-panel .topic-tab{display:none}.feed-tab{width:auto;padding:8px 12px}.small-note{display:none}.forum-hero{padding:26px 23px;min-height:230px}.hero-art{display:none}.forum-content{padding:17px 14px 38px}.forum-main #qurio-header-mount .topbar{padding:0 14px;height:74px;min-height:74px}.forum-main #qurio-header-mount .search-wrap{width:40vw}.forum-main #qurio-header-mount .profile-copy{display:none}.forum-main #qurio-header-mount .topbar-separator{display:none}.post-card{padding:17px}.composer-bottom span{display:none}}
