:root{--forum-bg:#f8f9fc;--forum-card:#ffffff;--forum-text:#1a1d24;--forum-text-muted:#5c6370;--forum-text-light:#8b92a0;--forum-border:#e8eaef;--forum-accent:#6366f1;--forum-accent-hover:#4f46e5;--forum-accent-soft:rgba(99,102,241,0.08);--forum-radius:12px;--forum-radius-sm:8px;--forum-radius-pill:9999px;--forum-shadow:0 1px 3px rgba(0,0,0,0.06);--forum-shadow-hover:0 8px 24px rgba(0,0,0,0.08);--forum-font:"Inter",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;--forum-modal-overlay:rgba(26,29,36,0.6);--forum-muted-bg:#eef0f5}.forum-homepage-container{min-height:100vh;background:var(--forum-bg);padding:1.25rem max(1rem,env(safe-area-inset-right)) 3rem max(1rem,env(safe-area-inset-left));max-width:1280px;margin:0 auto;font-family:var(--forum-font);color:var(--forum-text);transition:filter .2s ease;box-sizing:border-box;overflow-x:hidden}.forum-homepage-container.blurred{filter:blur(6px)}.forum-login-gate{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:55vh;padding:2.5rem 1.5rem;text-align:center}.forum-login-gate-card{background:var(--forum-card);border-radius:var(--forum-radius);padding:2.5rem 2rem;max-width:380px;width:100%;box-shadow:var(--forum-shadow-hover);border:1px solid var(--forum-border)}.forum-login-gate-title{font-size:1.75rem;font-weight:700;margin:0 0 .75rem;color:var(--forum-text);letter-spacing:-.02em;line-height:1.25}.forum-login-gate-text{font-size:1rem;color:var(--forum-text-muted);margin:0 0 1.75rem;line-height:1.5}.forum-login-gate-button{display:inline-flex;align-items:center;justify-content:center;padding:.75rem 1.75rem;font-size:1rem;font-weight:600;color:#fff;background:var(--forum-accent);border:1px solid var(--forum-accent);border-radius:var(--forum-radius-sm);cursor:pointer;font-family:var(--forum-font);transition:background .2s ease,border-color .2s ease,transform .15s ease,box-shadow .2s ease;box-shadow:0 2px 8px rgba(99,102,241,.25)}.forum-login-gate-button:hover{background:var(--forum-accent-hover);border-color:var(--forum-accent-hover);transform:translateY(-2px);box-shadow:0 4px 14px rgba(99,102,241,.35)}.forum-login-gate-button:focus-visible{outline:2px solid var(--forum-accent);outline-offset:2px}.forum-header-wrapper{margin-bottom:1.25rem;border-bottom:1px solid var(--forum-border);padding-left:env(safe-area-inset-left,0);padding-right:env(safe-area-inset-right,0)}.forum-header,.forum-header-wrapper{width:100%;background:var(--forum-card);box-sizing:border-box}.forum-header{max-width:100%;min-height:60px;border-radius:0;padding:0 1.25rem;margin:0 auto;border:none;border-bottom:1px solid var(--forum-border);display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap;overflow-x:hidden}.forum-header-title{font-size:1.125rem;font-weight:700;margin:0;color:var(--forum-text);letter-spacing:-.02em;line-height:1;white-space:nowrap}.forum-header-left,.forum-header-right{display:flex;align-items:center;gap:.75rem}.forum-header-left{flex:1 1 auto;min-width:0}.forum-header-right{flex-shrink:0}.forum-header-home-link{height:36px;min-height:36px;display:inline-flex;align-items:center;justify-content:center;padding:0 .75rem;font-family:var(--forum-font);font-size:.8125rem;font-weight:600;color:var(--forum-text-muted);text-decoration:none;border-radius:var(--forum-radius-sm);border:none;background:transparent;box-sizing:border-box;transition:color .2s ease,background .2s ease}.forum-header-home-link:hover{color:var(--forum-accent);background:var(--forum-accent-soft)}.forum-header-home-link:focus-visible{outline:2px solid var(--forum-accent);outline-offset:2px}.forum-header-home-link.forum-header-link--current{color:var(--forum-accent);text-decoration:underline;text-underline-offset:4px}.user-section{display:flex;align-items:center;min-width:0}.auth-loading-text{font-size:.75rem;color:var(--forum-text-light);font-style:italic}.user-actions-area{display:flex;align-items:center;gap:1.25rem}.forum-header-stat{font-size:.8125rem;color:var(--forum-text-muted);white-space:nowrap}.forum-header-stat-link{font-weight:600;color:var(--forum-accent);text-decoration:none}.forum-header-stat-link:hover{text-decoration:underline}.user-profile-info{display:flex;align-items:center;gap:.375rem;min-width:0}.profile-icon{width:28px;height:28px;border-radius:50%;object-fit:cover;border:1px solid var(--forum-border);background:var(--forum-muted-bg);flex-shrink:0}.profile-icon.default-icon{display:inline-flex;align-items:center;justify-content:center;padding:0}.profile-icon.default-icon svg{width:58%;height:58%;fill:var(--forum-accent)}.display-name{font-weight:600;font-size:.8125rem;color:var(--forum-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100px}.create-post-button-main,.login-signup-button,.logout-button{display:inline-flex;align-items:center;justify-content:center;padding:.625rem 1.25rem;border-radius:var(--forum-radius-sm);font-size:.9375rem;font-weight:600;cursor:pointer;transition:background .2s ease,color .2s ease,border-color .2s ease,transform .15s ease;white-space:nowrap;text-decoration:none;border:1px solid transparent;font-family:inherit}.create-post-button-main:focus-visible,.login-signup-button:focus-visible,.logout-button:focus-visible{outline:2px solid var(--forum-accent);outline-offset:2px}.create-post-button-main,.login-signup-button{background:var(--forum-accent);color:#fff;border-color:var(--forum-accent)}.create-post-button-main:hover:not(.disabled-link):not([aria-disabled=true]),.login-signup-button:hover:not(:disabled){background:var(--forum-accent-hover);border-color:var(--forum-accent-hover);transform:translateY(-1px)}.create-post-button-main.disabled-link,.create-post-button-main[aria-disabled=true],.login-signup-button:disabled{opacity:.6;cursor:not-allowed;transform:none}.logout-button{background:var(--forum-card);color:var(--forum-text-muted);border-color:var(--forum-border)}.logout-button:hover:not(:disabled){background:var(--forum-muted-bg);color:var(--forum-text);border-color:var(--forum-border)}.forum-header .header-ask-question,.forum-header .header-login-button,.forum-header .header-logout-button{height:36px;min-height:36px;display:inline-flex;align-items:center;justify-content:center;padding:0 1rem;font-family:var(--forum-font);font-size:.8125rem;font-weight:600;border-radius:var(--forum-radius-sm);box-sizing:border-box;background:transparent;border:none;color:var(--forum-text-muted);transition:color .2s ease,background .2s ease}.forum-header .header-ask-question:focus,.forum-header .header-ask-question:hover:not(.disabled-link):not([aria-disabled=true]),.forum-header .header-login-button:hover:not(:disabled),.forum-header .header-logout-button:hover:not(:disabled){color:var(--forum-accent);background:var(--forum-accent-soft)}.forum-header .header-logout-button{padding:0 .75rem}.forum-header .header-ask-question.forum-header-link--current{color:var(--forum-accent);text-decoration:underline;text-underline-offset:4px}.forum-header .header-ask-question:active:not(.disabled-link):not([aria-disabled=true]){background:transparent}.forum-header .header-ask-question.disabled-link,.forum-header .header-ask-question[aria-disabled=true]{color:var(--forum-text-light);cursor:not-allowed;opacity:.8}.forum-content{display:flex;flex-direction:column;gap:1.5rem}.forum-content-main{min-width:0}.forum-my-posts-title{font-size:1.375rem;font-weight:700;color:var(--forum-text);margin:0 0 1.25rem;letter-spacing:-.02em}.forum-my-posts-by-tag{display:flex;flex-direction:column;gap:1.75rem}.forum-my-posts-tag-section{margin:0}.forum-my-posts-tag-heading{font-size:1.125rem;font-weight:600;color:var(--forum-accent);margin:0 0 .75rem;letter-spacing:-.01em;padding-bottom:.35rem;border-bottom:1px solid var(--forum-border)}.forum-my-posts-toolbar{position:relative;margin-bottom:1.25rem;display:flex;flex-wrap:wrap;align-items:center;gap:.75rem 1.25rem}.forum-my-posts-controls{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem 1rem}.forum-my-posts-filter-wrap{position:relative}.forum-my-posts-filter-trigger{display:inline-flex;align-items:center;gap:.5rem;padding:.5rem 1rem;font-size:.9375rem;font-weight:500;font-family:inherit;color:var(--forum-text);background:var(--forum-card-bg,#fff);border:1px solid var(--forum-border);border-radius:8px;cursor:pointer;transition:border-color .2s,box-shadow .2s,background .2s}.forum-my-posts-filter-trigger:hover{border-color:var(--forum-accent);background:rgba(var(--forum-accent-rgb,99,102,241),.04)}.forum-my-posts-filter-trigger[aria-expanded=true]{border-color:var(--forum-accent);background:rgba(var(--forum-accent-rgb,99,102,241),.06);box-shadow:0 0 0 2px rgba(var(--forum-accent-rgb,99,102,241),.18)}.forum-my-posts-filter-icon{flex-shrink:0;opacity:.85}.forum-my-posts-filter-chevron{flex-shrink:0;opacity:.6;transition:transform .2s}.forum-my-posts-filter-trigger[aria-expanded=true] .forum-my-posts-filter-chevron{transform:rotate(180deg)}.forum-my-posts-filter-badge{display:inline-flex;align-items:center;justify-content:center;min-width:1.25rem;height:1.25rem;padding:0 .4rem;font-size:.75rem;font-weight:600;color:#fff;background:var(--forum-accent);border-radius:999px}.forum-my-posts-filter-dropdown{position:absolute;top:100%;left:0;margin-top:.5rem;min-width:14rem;padding:0;background:var(--forum-card-bg,#fff);border:1px solid var(--forum-border);border-radius:10px;box-shadow:0 10px 40px rgba(0,0,0,.12),0 2px 8px rgba(0,0,0,.06);z-index:10;overflow:hidden}.forum-my-posts-filter-dropdown-header{padding:.625rem 1rem;font-size:.75rem;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--forum-text-muted,#64748b);background:var(--forum-bg-subtle,rgba(0,0,0,.02));border-bottom:1px solid var(--forum-border)}.forum-my-posts-filter-options{max-height:16rem;overflow-y:auto;padding:.35rem 0}.forum-my-posts-filter-option{display:flex;align-items:center;gap:.625rem;padding:.5rem 1rem;font-size:.9375rem;color:var(--forum-text);cursor:pointer;transition:background .15s}.forum-my-posts-filter-option:hover{background:var(--forum-bg-hover,rgba(0,0,0,.04))}.forum-my-posts-filter-option input{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);border:0}.forum-my-posts-filter-option-check{flex-shrink:0;position:relative;width:1.125rem;height:1.125rem;border:2px solid var(--forum-border);border-radius:4px;background:var(--forum-card-bg,#fff);transition:border-color .2s,background .2s}.forum-my-posts-filter-option input:focus-visible+.forum-my-posts-filter-option-check{outline:2px solid var(--forum-accent);outline-offset:2px}.forum-my-posts-filter-option input:checked+.forum-my-posts-filter-option-check{background:var(--forum-accent);border-color:var(--forum-accent)}.forum-my-posts-filter-option input:checked+.forum-my-posts-filter-option-check:after{content:"";position:absolute;left:.35rem;top:.15rem;width:.35rem;height:.6rem;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}.forum-my-posts-filter-option-label{flex:1 1}.forum-my-posts-filter-actions{display:flex;justify-content:flex-end;gap:.5rem;padding:.625rem 1rem;background:var(--forum-bg-subtle,rgba(0,0,0,.02));border-top:1px solid var(--forum-border)}.forum-my-posts-filter-apply,.forum-my-posts-filter-clear{padding:.45rem .875rem;font-size:.875rem;font-weight:500;font-family:inherit;border-radius:6px;cursor:pointer;transition:background .15s,color .15s,border-color .15s}.forum-my-posts-filter-clear{color:var(--forum-text-muted,#666);background:transparent;border:1px solid var(--forum-border)}.forum-my-posts-filter-clear:hover{background:var(--forum-bg-hover,rgba(0,0,0,.04));border-color:var(--forum-text-muted,#999)}.forum-my-posts-filter-apply{color:#fff;background:var(--forum-accent);border:none}.forum-my-posts-filter-apply:hover{filter:brightness(1.08)}.forum-my-posts-filter-summary{margin:0;font-size:.875rem;color:var(--forum-text-muted,#666)}.forum-my-posts-sort-wrap{display:flex;align-items:center;gap:.5rem}.forum-my-posts-sort-label{font-size:.875rem;font-weight:500;color:var(--forum-text-muted,#64748b);white-space:nowrap}.forum-my-posts-sort-select{padding:.5rem 2rem .5rem .75rem;font-size:.9375rem;font-family:inherit;color:var(--forum-text);background:var(--forum-card-bg,#fff);border:1px solid var(--forum-border);border-radius:8px;cursor:pointer;-webkit-appearance:none;appearance:none;background-image: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='%2364748b' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right .6rem center;transition:border-color .2s}.forum-my-posts-sort-select:focus,.forum-my-posts-sort-select:hover{border-color:var(--forum-accent);outline:none}.forum-feed-header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1.25rem}.forum-feed-header h2{font-size:1.375rem;font-weight:700;color:var(--forum-text);margin:0;letter-spacing:-.02em;line-height:1.3}.sort-controls{display:flex;align-items:center;gap:.5rem}.sort-controls label{font-size:.875rem;font-weight:500;color:var(--forum-text-muted)}.sort-controls select{padding:.5rem 2rem .5rem .75rem;font-size:.875rem;border-radius:var(--forum-radius-sm);border:1px solid var(--forum-border);background:var(--forum-card);color:var(--forum-text);font-family:var(--forum-font);cursor:pointer;-webkit-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%238b92a0' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M2 5l6 6 6-6'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right .5rem center;background-size:12px 8px;transition:border-color .2s,box-shadow .2s}.sort-controls select:hover{border-color:var(--forum-text-light)}.sort-controls select:focus{outline:none;border-color:var(--forum-accent);box-shadow:0 0 0 3px var(--forum-accent-soft)}.post-feed-area{margin-top:0}.post-feed-area h2{font-size:1.375rem;font-weight:700;color:var(--forum-text);margin:0 0 1rem;letter-spacing:-.02em}.post-list{display:flex;flex-direction:column;gap:1rem}.no-posts-message,.post-feed-area>p{text-align:center;padding:3rem 1.5rem;color:var(--forum-text-muted);font-size:.9375rem;line-height:1.5}.forum-sidebar,.no-posts-message,.post-feed-area>p{background:var(--forum-card);border-radius:var(--forum-radius);border:1px solid var(--forum-border);box-shadow:var(--forum-shadow)}.forum-sidebar{padding:1.25rem 1.25rem 1.5rem}.forum-sidebar-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:.25rem}.forum-sidebar h3{font-size:1rem;font-weight:600;color:var(--forum-text);margin:0;letter-spacing:-.01em}.forum-sidebar-toggle{width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;background:var(--forum-muted-bg);border:1px solid var(--forum-border);border-radius:var(--forum-radius-sm);cursor:pointer;font-size:1.25rem;font-weight:600;color:var(--forum-text-muted);transition:background .2s,color .2s,border-color .2s}.forum-sidebar-toggle:hover{background:var(--forum-accent-soft);color:var(--forum-accent);border-color:var(--forum-accent)}.forum-sidebar-tagged-section{margin-top:1.25rem;padding-top:1rem;border-top:1px solid var(--forum-border)}.forum-sidebar-tagged-title{font-size:.9375rem;font-weight:600;color:var(--forum-text-muted);margin:0 0 .75rem}.tag-filter-list{list-style:none;padding:0;margin:0;display:flex;flex-wrap:wrap;gap:.5rem}.tag-filter-list .tag-pill{padding:.4rem .875rem;border-radius:var(--forum-radius-pill);font-size:.8125rem;font-weight:500;cursor:pointer;border:1px solid transparent;transition:transform .15s ease,box-shadow .15s ease,opacity .15s ease}.tag-filter-list .tag-pill:hover{transform:translateY(-1px);box-shadow:var(--forum-shadow);opacity:.92}.tag-filter-list .tag-pill.active-tag{font-weight:600;box-shadow:0 0 0 2px var(--forum-accent);opacity:1}.clear-tag{padding:.4rem .875rem;border-radius:var(--forum-radius-pill);font-size:.8125rem;font-weight:500;cursor:pointer;background:var(--forum-muted-bg);color:var(--forum-text-muted);border:1px solid var(--forum-border);display:inline-flex;align-items:center;transition:background .2s,color .2s}.clear-tag:hover{background:var(--forum-border);color:var(--forum-text)}.clear-tag .clear-tag-icon{margin-left:.35em;opacity:.8}.forum-sidebar.expanded{max-height:1200px;overflow:visible;transition:max-height .3s ease}.forum-sidebar.collapsed{max-height:56px;overflow:hidden;transition:max-height .3s ease}.forum-sidebar.collapsed .clear-tag,.forum-sidebar.collapsed .forum-sidebar-tagged-section,.forum-sidebar.collapsed .tag-filter-list{display:none!important}.modal-overlay{position:fixed;inset:0;background:var(--forum-modal-overlay);display:flex;align-items:center;justify-content:center;z-index:10000;padding:1rem;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);opacity:0;pointer-events:none}.modal-overlay.fade-in{pointer-events:auto;animation:forumFadeIn .2s ease-out forwards}.modal-overlay.fade-in .modal-content{animation:forumPopIn .25s ease-out forwards}.modal-content{background:var(--forum-card);padding:1.5rem 2rem;border-radius:var(--forum-radius);width:100%;max-width:420px;max-height:90vh;overflow-y:auto;box-shadow:var(--forum-shadow-hover);border:1px solid var(--forum-border);opacity:0;transform:scale(.96) translateY(12px)}.create-post-modal-content{max-width:520px}.close-modal{position:absolute;top:.75rem;right:.75rem;width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;background:transparent;border:none;border-radius:var(--forum-radius-sm);color:var(--forum-text-muted);cursor:pointer;font-size:1.5rem;line-height:1;transition:background .2s,color .2s}.close-modal:hover{background:var(--forum-muted-bg);color:var(--forum-text)}@keyframes forumFadeIn{to{opacity:1}}@keyframes forumPopIn{to{opacity:1;transform:scale(1) translateY(0)}}.page-error-indicator,.page-loading-indicator{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:60vh;text-align:center;padding:2rem;font-size:1rem;color:var(--forum-text-muted)}.page-error-indicator{color:#b91c1c;font-weight:500}@media (max-width:767px){.forum-homepage-container{padding:1rem .75rem 2rem}.forum-header-wrapper{margin-bottom:1rem}.forum-header{padding:.75rem .875rem;gap:.5rem;min-height:56px}.forum-header-left,.forum-header-right{gap:.5rem}.forum-header .header-ask-question,.forum-header .header-login-button,.forum-header .header-logout-button,.forum-header-home-link{min-height:44px;height:44px;padding:0 .625rem;font-size:.8125rem}.forum-header .header-ask-question{padding:0 .75rem}.forum-header .header-logout-button{padding:0 .5rem}.display-name{max-width:70px;font-size:.75rem}.profile-icon{width:28px;height:28px}.forum-login-gate{min-height:40vh;padding:1.5rem 1rem}.forum-login-gate-title{font-size:1.5rem}.forum-login-gate-text{font-size:.9375rem}.forum-login-gate-button{padding:.75rem 1.25rem;min-height:44px}.forum-login-gate-card{padding:2rem 1.5rem}.forum-feed-header{flex-direction:column;align-items:flex-start;gap:.75rem;margin-bottom:1rem}.forum-feed-header h2{font-size:1.25rem}.post-list{gap:.875rem}}@media (max-width:480px){.forum-homepage-container{padding:.75rem max(.5rem,env(safe-area-inset-right)) 1.5rem max(.5rem,env(safe-area-inset-left))}.forum-header{padding:.5rem .625rem;gap:.375rem}.forum-header-left,.forum-header-right{gap:.375rem}.forum-header .header-ask-question,.forum-header-home-link{padding:0 .5rem;font-size:.75rem}.forum-header .header-logout-button{padding:0 .375rem;font-size:.75rem}.forum-header .header-login-button{padding:0 .5rem;font-size:.75rem}.display-name{max-width:56px;font-size:.6875rem}.user-actions-area{gap:.75rem}.forum-login-gate-card{padding:1.5rem 1.25rem}.forum-feed-header h2{font-size:1.125rem}}@media (min-width:768px){.forum-content{flex-direction:row;align-items:flex-start;gap:1.5rem}.forum-sidebar{flex:0 0 260px;position:sticky;top:1.25rem}.forum-homepage-container{padding:1.5rem 1.5rem 3rem}}@media (min-width:992px){.forum-sidebar{flex:0 0 280px}}