:root{--bg: #f7f7f8;--surface: #ffffff;--text: #1a1a1a;--muted: #6b7280;--border: #e5e7eb;--primary: #4f46e5;--primary-hover: #4338ca;--danger: #dc2626;--radius: 12px;--maxw: 720px;--hero-image: url(/hero.jpg)}@supports ((background-image: -webkit-image-set(url(x.webp) type("image/webp"))) or (background-image: image-set(url(x.webp) type("image/webp")))){:root{--hero-image: image-set(url(/hero.webp) type("image/webp"), url(/hero.jpg) type("image/jpeg"))}}:root{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text);line-height:1.6;overflow-x:hidden}.app{min-height:100vh;display:flex;flex-direction:column}.app-header{display:flex;align-items:center;justify-content:space-between;padding:1rem 1.5rem;background:var(--surface);border-bottom:1px solid var(--border);position:sticky;top:0;z-index:10}.logo{margin:0;min-height:2.25rem;font-size:1.4rem;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;user-select:none;display:flex;align-items:center}.container{width:100%;max-width:var(--maxw);margin:0 auto;padding:2rem 1.5rem;flex:1}.muted{color:var(--muted);font-size:.9rem}.btn{font:inherit;padding:.5rem 1rem;border:1px solid var(--border);background:var(--surface);border-radius:8px;cursor:pointer;transition:background .15s,border-color .15s}.btn:hover{background:#f0f0f3}.btn-primary{background:var(--primary);border-color:var(--primary);color:#fff}.btn-primary:hover{background:var(--primary-hover);border-color:var(--primary-hover)}.btn-primary:disabled{opacity:.5;cursor:not-allowed}.btn-danger{color:var(--danger);border-color:var(--danger)}.btn-danger:hover{background:#fef2f2}.btn-link{border:none;background:none;color:var(--primary);padding:0}.btn-link:hover{background:none;text-decoration:underline}.post-list{display:flex;flex-direction:column;gap:1rem}.post-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1.25rem 1.5rem;cursor:pointer;transition:box-shadow .15s,transform .05s}.post-card:hover{box-shadow:0 4px 16px #0000000f}.post-card:active{transform:translateY(1px)}.post-card-head{display:flex;align-items:center;gap:.5rem}.post-card-head .post-author{margin:0}.post-card-actions{display:inline-flex;gap:.25rem}.pc-btn{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;border:1px solid var(--border);background:#fff;color:var(--muted);cursor:pointer;transition:color .12s,border-color .12s}.pc-btn:hover{color:#111827;border-color:#9ca3af}.pc-btn svg{width:16px;height:16px}.post-card-title{margin:.4rem 0 .25rem;font-size:1.25rem}.post-card-excerpt{margin:.5rem 0 0;color:#374151}.post-card-footer{margin-top:.85rem;display:flex;justify-content:space-between;align-items:center}.read-more{display:inline-flex;align-items:center;gap:.35rem;background:none;border:0;padding:0;cursor:pointer;color:#2563eb;font-weight:600;font-size:.95rem}.read-more:hover{text-decoration:underline}.read-more svg{width:1em;height:1em}.post-comments-btn{display:inline-flex;align-items:center;gap:.3rem;background:none;border:0;padding:0;cursor:pointer;color:var(--muted);font-size:.9rem}.post-comments-btn:hover{color:#111827}.post-comments-btn svg{width:18px;height:18px}.post-author-name{font-weight:700;color:#111827}.post-author-date{color:var(--muted)}.post-views{margin-left:auto;color:var(--muted);font-size:.9rem;white-space:nowrap}.empty{text-align:center;padding:3rem 1rem}.empty h2{margin-bottom:.5rem}.empty .btn{margin-top:1rem}.field-footer{display:flex;justify-content:space-between;gap:1rem;margin-top:.3rem;color:var(--muted);font-size:.85rem;font-weight:400}.char-counter{white-space:nowrap}.worldview-row{display:flex;flex-wrap:wrap;align-items:center;gap:.4rem;margin:.5rem 0 .25rem}.worldview-label{color:var(--muted);font-weight:400;font-size:.9rem}.worldview-pill{padding:.15rem .7rem;border-radius:999px;font-size:.8rem;font-weight:600;white-space:nowrap}.post-full-surface{background:var(--surface);border:1px solid var(--border);border-radius:16px;padding:1.75rem 2rem;box-shadow:0 1px 3px #0000000f;margin-top:.75rem}.post-full-head{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem}.post-full-byline{margin:0;font-size:.95rem}.post-like{background:#f3f4f6;flex-shrink:0}.post-full-title{margin:.75rem 0 .25rem}.post-full-body{margin:1.5rem 0 0;line-height:1.7}.post-full-footer{display:flex;justify-content:space-between;align-items:flex-end;gap:.75rem;margin-top:1.5rem}.post-full-footer .post-tags{margin-top:0}.post-full-footer .share-wrap{margin-left:auto}.post-tags{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:.4rem;margin-top:1.5rem}.post-tag{padding:.2rem .7rem;border-radius:999px;background:var(--bg);border:1px solid var(--border);color:var(--muted);font-size:.8rem;white-space:nowrap}.post-full-body p{margin:0 0 1rem}.post-full-body h1,.post-full-body h2,.post-full-body h3{margin:1.6rem 0 .6rem;line-height:1.3}.post-full-body ul,.post-full-body ol{margin:0 0 1rem;padding-left:1.5rem}.post-full-body li{margin:.25rem 0}.post-full-body blockquote{margin:0 0 1rem;padding:.25rem 1rem;border-left:3px solid var(--border);color:var(--muted)}.post-full-body a{color:var(--primary)}.post-full-body img{max-width:100%;height:auto;border-radius:8px}.post-full-body code{background:var(--bg);padding:.1rem .35rem;border-radius:4px;font-size:.9em}.post-full-body pre{background:var(--bg);padding:1rem;border-radius:8px;overflow-x:auto;margin:0 0 1rem}.post-full-body pre code{background:none;padding:0}.embed-yt{position:relative;width:100%;aspect-ratio:16 / 9;margin:0 0 1rem}.embed-yt iframe{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;border:0;border-radius:8px}.post-full-body .twitter-tweet,.post-full-body .tweet-lazy{margin:0 auto 1rem}blockquote.tweet-lazy,blockquote.twitter-tweet{min-height:280px;display:flex;align-items:center;justify-content:center;padding:1rem;border:1px solid var(--border);border-radius:12px;color:var(--muted);font-size:.9rem}blockquote.tweet-lazy a,blockquote.twitter-tweet a{color:inherit;word-break:break-all}.post-form{display:flex;flex-direction:column;gap:1rem;background:var(--surface);padding:1.5rem;border:1px solid var(--border);border-radius:var(--radius)}.post-form label{display:flex;flex-direction:column;gap:.35rem;font-weight:600;font-size:.9rem}.post-form input,.post-form textarea{font:inherit;padding:.65rem .75rem;border:1px solid var(--border);border-radius:8px;font-weight:400;resize:vertical}.post-form input:focus,.post-form textarea:focus{outline:2px solid var(--primary);border-color:var(--primary)}.form-actions{display:flex;justify-content:flex-end;gap:.75rem;align-items:center}.field{display:flex;flex-direction:column;gap:.35rem}.field-label{font-weight:600;font-size:.9rem}.md-editor{border:1px solid var(--border);border-radius:8px;overflow:hidden}.md-editor textarea{border:none;border-radius:0;width:100%;display:block}.md-editor textarea:focus{outline:none}.md-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:.15rem;padding:.4rem;background:var(--bg);border-bottom:1px solid var(--border)}.md-btn{font:inherit;font-size:.85rem;line-height:1;padding:.35rem .5rem;min-width:2rem;background:var(--surface);border:1px solid var(--border);border-radius:6px;cursor:pointer;color:var(--text)}.md-btn:hover{border-color:var(--primary);color:var(--primary)}.md-sep{width:1px;align-self:stretch;background:var(--border);margin:.1rem .25rem}.md-color-wrap{position:relative;display:inline-flex}.md-color-glyph{font-weight:700;line-height:1;padding-bottom:1px;border-bottom:3px solid #dc2626}.md-color-pop{position:absolute;top:100%;left:0;z-index:20;margin-top:4px;background:#fff;border:1px solid var(--border);border-radius:8px;box-shadow:0 4px 16px #0000001f;padding:.4rem;display:grid;grid-template-columns:repeat(5,1fr);gap:.3rem}.md-swatch{width:22px;height:22px;border-radius:5px;border:1px solid rgba(0,0,0,.15);cursor:pointer;padding:0}.md-toolbar{position:relative}.md-emoji-wrap{display:inline-flex}.md-emoji-pop{position:absolute;top:100%;left:.4rem;z-index:20;margin-top:4px;background:#fff;border:1px solid var(--border);border-radius:8px;box-shadow:0 4px 16px #0000001f;padding:.3rem;display:grid;grid-template-columns:repeat(8,2rem);gap:.1rem}.ct-toolbar .md-emoji-pop{left:auto;right:.4rem}.md-emoji{width:2rem;height:2rem;padding:0;border:0;border-radius:6px;background:none;font-size:1.25rem;line-height:1;cursor:pointer}.md-emoji:hover,.md-emoji:focus-visible{background:var(--bg)}@media (max-resolution: 1.99dppx){.md-emo{font-size:1.25em;line-height:1}}.mdc-red{color:#dc2626}.mdc-orange{color:#ea580c}.mdc-amber{color:#d97706}.mdc-green{color:#16a34a}.mdc-teal{color:#0d9488}.mdc-blue{color:#2563eb}.mdc-indigo{color:#4f46e5}.mdc-purple{color:#7c3aed}.mdc-pink{color:#db2777}.mdc-gray{color:#6b7280}.md-hl-glyph{font-weight:700;line-height:1;background:#fde68a;border-radius:2px;padding:0 3px}.mdh-red{background:#fecaca}.mdh-orange{background:#fed7aa}.mdh-amber{background:#fde68a}.mdh-green{background:#bbf7d0}.mdh-teal{background:#99f6e4}.mdh-blue{background:#bfdbfe}.mdh-indigo{background:#c7d2fe}.mdh-purple{background:#ddd6fe}.mdh-pink{background:#fbcfe8}.mdh-gray{background:#e5e7eb}.post-preview{border:1px dashed var(--border);border-radius:8px;padding:1rem 1.25rem;background:var(--bg)}.comment-preview{min-height:4.5rem;max-height:320px;overflow:auto;padding:.65rem .75rem}.comment-composer:has(.md-input:empty) .comment-preview-btn{display:none}.board-empty{margin-top:1.5rem}.message-list{display:flex;flex-direction:column;gap:.75rem;margin-top:1.5rem}.message-card{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:1rem 1.25rem}.message-meta{font-size:.85rem;margin-bottom:.25rem}.message-text{margin:0;white-space:pre-wrap}.primary-nav{display:flex;align-items:center;gap:.5rem}.nav-tab{font:inherit;padding:.5rem .9rem;border:1px solid transparent;background:transparent;border-radius:8px;cursor:pointer;color:var(--text);transition:background .15s,border-color .15s,color .15s}.nav-tab:hover{color:var(--primary)}.nav-tab.active{background:color-mix(in srgb,var(--primary) 12%,transparent);border-color:transparent;color:var(--primary);font-weight:500}.nav-tab.active:hover{background:color-mix(in srgb,var(--primary) 16%,transparent);border-color:transparent;color:var(--primary)}:root[data-theme=dark] .nav-tab.active{background:color-mix(in srgb,var(--primary) 24%,transparent);color:var(--dk-accent)}:root[data-theme=dark] .nav-tab.active:hover{background:color-mix(in srgb,var(--primary) 32%,transparent);color:var(--dk-accent)}.save-note{color:#16a34a;margin-right:auto;align-self:center;font-size:.9rem}.page-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:1.5rem}.page-head-actions{display:flex;align-items:center;gap:.75rem}.search-box{display:inline-flex;align-items:center;gap:.5rem;padding:.55rem 1rem;border:1px solid var(--border);border-radius:999px;background:var(--surface);color:var(--muted)}.search-box:focus-within{border-color:var(--primary);outline:2px solid var(--primary);outline-offset:-1px}.search-box svg{width:18px;height:18px;flex:none}.search-input{border:0;outline:0;background:transparent;font:inherit;color:var(--text);min-width:13rem}.post-card-matchnote{margin:.35rem 0 0;font-size:.8rem}.comment-deleted{margin:.5rem 0 0;color:var(--muted);font-style:italic;font-size:.9rem}.post-full-body mark.search-hit{background:#fde68a;color:inherit;padding:0 .1em;border-radius:3px}.page-head h2{margin:0}.home-hero{width:100vw;margin-left:calc(50% - 50vw);margin-top:-2rem;text-align:center;padding:7rem 1.5rem 9rem;color:var(--text);background-image:radial-gradient(ellipse 60% 55% at 50% 42%,#ffffff8c,#fff0 70%),linear-gradient(to bottom,rgba(255,255,255,.15) 0%,rgba(255,255,255,.4) 50%,var(--bg) 100%),var(--hero-image);background-size:cover;background-position:center,center,var(--hero-position, center)}.home-hero h2{font-size:2.8rem;margin:0 0 .5rem;color:var(--text);text-shadow:0 1px 10px rgba(255,255,255,.7)}.home-hero .muted{color:#374151}.home-hero .btn{margin-top:1.5rem}.nav-login{font:inherit;padding:.5rem .9rem;border:1px solid var(--primary);background:var(--primary);color:#fff;border-radius:8px;cursor:pointer;transition:background .15s,border-color .15s}.nav-login:hover{background:var(--primary-hover);border-color:var(--primary-hover)}.user-menu{position:relative}.user-menu-button{font:inherit;padding:.5rem .9rem;border:1px solid var(--border);background:var(--surface);border-radius:8px;cursor:pointer;color:var(--text)}.user-menu-button:hover{background:#f0f0f3}.user-menu-dropdown{position:absolute;right:0;top:calc(100% + .4rem);min-width:180px;background:var(--surface);border:1px solid var(--border);border-radius:10px;box-shadow:0 8px 24px #0000001f;padding:.35rem;display:flex;flex-direction:column;z-index:20}.user-menu-item{font:inherit;text-align:left;padding:.55rem .75rem;border:none;background:none;border-radius:6px;cursor:pointer;color:var(--text)}.user-menu-item:hover{background:#f0f0f3}.auth-form{max-width:420px;margin:1rem auto}.post-form label.checkbox-row{flex-direction:row;align-items:center;gap:.5rem;font-weight:400}.post-form label.checkbox-row input{width:auto}.principal{display:inline-block;background:#f0f0f3;padding:.2rem .45rem;border-radius:6px;font-size:.85rem;word-break:break-all}.admin-stats{margin:0;padding-left:1.2rem}.admin-head h2{margin:0 0 .25rem}.admin-head p{margin:0}.subnav{display:flex;gap:1.75rem;border-bottom:1px solid var(--border);margin:1.5rem 0 2rem}.subnav-link{font:inherit;background:none;border:none;border-bottom:2px solid transparent;margin-bottom:-1px;padding:0 0 .6rem;cursor:pointer;color:var(--muted);transition:color .15s,border-color .15s}.subnav-link:hover{color:var(--text)}.subnav-link.active{color:var(--primary);border-bottom-color:var(--primary);font-weight:600}.comments{margin-top:1rem}.comment-list{display:flex;flex-direction:column;gap:.75rem;margin-top:1.25rem}.comment{background:#eef0f3;border-radius:var(--radius);padding:.85rem 1.1rem;scroll-margin-top:5rem}@keyframes commentFlash{0%{background:#fde68a}to{background:#eef0f3}}.comment-flash{animation:commentFlash 1s ease 2}.comment-head{display:flex;justify-content:space-between;align-items:flex-start;gap:.5rem}.comment-meta{font-size:.85rem;margin-top:.3rem;margin-bottom:.25rem}.comment>.worldview-row{margin-top:0;margin-bottom:.4rem}.comment-actions{display:flex;gap:.3rem;flex-shrink:0}.ca-inline{display:inline-flex;gap:.3rem}.ca-menu-wrap{display:none;position:relative}.ca-menu{position:absolute;right:0;top:calc(100% + .4rem);min-width:190px;background:var(--surface);border:1px solid var(--border);border-radius:10px;box-shadow:0 8px 24px #0000001f;padding:.35rem;display:flex;flex-direction:column;z-index:30}.ca-menu-item{font:inherit;text-align:left;padding:.55rem .75rem;border:none;background:none;border-radius:6px;cursor:pointer;color:var(--text);display:flex;align-items:center;gap:.5rem}.ca-menu-item:hover{background:var(--bg)}.ca-menu-item svg{width:16px;height:16px}.ca-menu-item.danger{color:var(--danger)}.cbtn{display:inline-flex;align-items:center;justify-content:center;gap:.25rem;height:36px;min-width:36px;padding:0 .5rem;border:1px solid var(--border);border-radius:999px;background:#fff;color:#4b5563;cursor:pointer;box-shadow:0 1px 2px #0000000f}.cbtn:hover{color:var(--text);border-color:#d1d5db}.cbtn svg{width:18px;height:18px}.cbtn-count{font-size:.85rem;font-weight:600}.cbtn-like-active{color:var(--danger)}.cbtn-like-active svg{fill:var(--danger)}.comment-edit{display:flex;flex-direction:column;gap:.5rem;margin:.25rem 0}.notif-wrap{position:relative;display:inline-flex}.notif-bell{position:relative;display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border:none;background:none;color:var(--muted);cursor:pointer;border-radius:999px}.notif-bell:hover{color:var(--text);background:var(--bg)}.notif-bell svg{width:22px;height:22px}.notif-badge{position:absolute;top:2px;right:2px;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#ef4444;color:#fff;font-size:.7rem;font-weight:700;line-height:18px;text-align:center;box-shadow:0 0 0 2px var(--surface)}.notif-dropdown{position:absolute;top:calc(100% + 8px);right:0;width:340px;max-width:90vw;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:0 10px 30px #0000001f;z-index:50;overflow:hidden}.notif-header{padding:1rem 1.1rem;font-weight:700;border-bottom:1px solid var(--border)}.notif-list{max-height:22rem;overflow-y:auto}.notif-item{position:relative;display:block;width:100%;text-align:left;padding:.85rem 2rem .85rem 1.1rem;border:none;border-bottom:1px solid var(--border);background:none;cursor:pointer;font:inherit;color:var(--muted)}.notif-item:hover{background:var(--bg)}.notif-item.unread{color:var(--text)}.notif-item.unread .notif-text{font-weight:700}.notif-time{font-size:.8rem;margin-top:.15rem}.notif-dot{position:absolute;top:1.1rem;right:1.1rem;width:9px;height:9px;border-radius:999px;background:var(--primary)}.notif-clear{display:block;width:100%;padding:.85rem;border:none;background:none;color:var(--primary);font:inherit;font-weight:600;cursor:pointer}.notif-clear:hover{background:var(--bg)}.notif-empty{padding:1.25rem 1.1rem;margin:0}.notif-details{font-size:.85rem;margin-top:.15rem;font-style:italic;white-space:normal;word-break:break-word}.notif-message{font-size:.9rem;margin-top:.15rem;color:var(--text);white-space:pre-wrap;word-break:break-word}.notif-text-admin,.comment-author-admin{color:#ea580c}.user-row{align-items:center}.user-main{flex:1;display:flex;flex-direction:column;gap:.25rem;min-width:0}.user-name-line{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}.user-role-badge{font-size:.72rem;font-weight:600;padding:.1rem .5rem;border-radius:999px;background:var(--bg);color:var(--muted);border:1px solid var(--border)}.user-role-badge.admin{color:var(--primary);border-color:var(--primary)}.user-role-badge.restricted{color:var(--danger);border-color:var(--danger)}.user-principal{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.8rem;color:var(--muted);word-break:break-all}.user-actions{display:flex;gap:.4rem;flex-shrink:0}.user-btn{display:inline-flex;align-items:center;gap:.35rem;font:inherit;font-size:.85rem;background:none;border:1px solid var(--border);border-radius:8px;padding:.35rem .6rem;color:var(--muted);cursor:pointer}.user-btn:hover{color:var(--text);background:var(--bg)}.user-btn svg{width:15px;height:15px}.user-btn.active{color:var(--danger);border-color:var(--danger)}.user-btn-danger{color:var(--danger)}.user-btn-danger:hover{color:var(--danger);border-color:var(--danger)}.user-edit-error{color:var(--danger);font-size:.8rem;margin-top:.25rem}.modal-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000080;display:flex;align-items:center;justify-content:center;padding:1rem;z-index:100}.modal{position:relative;background:var(--surface);border-radius:16px;padding:1.75rem;width:560px;max-width:100%;max-height:90vh;overflow-y:auto;box-shadow:0 20px 60px #00000040}.modal-close{position:absolute;top:1rem;right:1rem;width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;border:none;background:none;color:var(--muted);cursor:pointer;border-radius:8px}.modal-close:hover{color:var(--text);background:var(--bg)}.modal-close svg{width:20px;height:20px}.modal-title{margin:0 0 .35rem;font-size:1.6rem}.modal-subtitle{margin:0 0 1.5rem;color:var(--muted)}.modal-field{display:flex;flex-direction:column;gap:.5rem;margin-bottom:1.25rem}.modal-field>label{font-weight:700}.modal-field .req{color:var(--danger)}.modal-field .optional{color:var(--muted);font-weight:400}.modal-field select,.modal-field textarea{font:inherit;padding:.75rem;border:1px solid var(--border);border-radius:10px;background:var(--surface);width:100%;resize:vertical}.modal-field select:focus,.modal-field textarea:focus{outline:2px solid var(--primary);border-color:var(--primary)}.modal-actions{display:flex;justify-content:flex-end;gap:.75rem;margin-top:.5rem}.btn-primary:disabled{background:#a5b4fc;border-color:#a5b4fc;cursor:not-allowed}.home-canvas{position:relative;width:100vw;margin-left:calc(50% - 50vw);margin-top:1rem}.home-window{position:absolute;background:#fff;border:1px solid var(--border);border-radius:12px;box-shadow:0 4px 16px #00000014;overflow:hidden;display:flex;flex-direction:column}.hw-bar{height:26px;flex-shrink:0;background:var(--bg);border-bottom:1px solid var(--border);cursor:grab;position:relative;touch-action:none}.hw-bar:active{cursor:grabbing}.hw-actions{position:absolute;top:50%;right:6px;transform:translateY(-50%);display:flex;gap:.25rem}.hw-icon{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border:none;background:none;color:var(--muted);cursor:pointer;border-radius:5px}.hw-icon:hover{color:var(--text);background:var(--surface)}.hw-icon svg{width:15px;height:15px}.hw-del{color:var(--danger)}.home-window-body{flex:1;overflow:auto;padding:.85rem 1.1rem;margin:0}.hw-resize{position:absolute;right:0;bottom:0;width:16px;height:16px;cursor:nwse-resize;background:linear-gradient(135deg,transparent 0 50%,var(--border) 50% 60%,transparent 60% 70%,var(--border) 70% 80%,transparent 80%);touch-action:none}.home-create-btn{position:fixed;right:1.5rem;bottom:4rem;z-index:60;padding:.7rem 1.2rem;border:none;border-radius:999px;background:var(--primary);color:#fff;font:inherit;font-weight:600;cursor:pointer;box-shadow:0 6px 18px #0003}.home-create-btn:hover{background:var(--primary-hover)}.activity-panel{position:absolute;background:#eef0f3;border:1px solid var(--border);border-radius:var(--radius);box-shadow:0 4px 16px #00000014;display:flex;flex-direction:column}.activity-panel:hover{z-index:2}.activity-head{flex-shrink:0;border-radius:calc(var(--radius) - 1px) calc(var(--radius) - 1px) 0 0;display:flex;align-items:center;gap:.75rem;padding:.55rem .9rem;border-bottom:1px solid var(--border);background:#00000005}.activity-panel.managed .activity-head{cursor:grab;touch-action:none}.activity-title{margin:0;font-size:.9rem;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:var(--text)}.activity-tools{display:inline-flex;align-items:center;gap:.4rem;margin-left:auto}.activity-sep{color:var(--muted);margin:0 -.25rem}.activity-flip{position:relative;width:30px;height:30px;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--primary);border-radius:999px;background:var(--surface);color:var(--primary);cursor:pointer;padding:0}.activity-flip:hover{background:var(--primary);color:#fff}.activity-flip svg{width:16px;height:16px}.activity-tool{position:relative}.activity-flip:after,.activity-tool:after{content:attr(data-tip);position:absolute;bottom:calc(100% + 6px);left:50%;transform:translate(-50%);background:#111827;color:#fff;font-size:.75rem;font-weight:500;letter-spacing:0;text-transform:none;padding:.2rem .5rem;border-radius:6px;white-space:nowrap;pointer-events:none;opacity:0;transition:opacity .12s;z-index:5}.activity-flip:hover:after,.activity-flip:focus-visible:after,.activity-tool:hover:not(:disabled):after,.activity-tool:focus-visible:not(:disabled):after{opacity:1}.stats-view{padding:.2rem 0 .4rem}.stats-group{display:flex;align-items:center;gap:.4rem;padding:.45rem 1rem .2rem;font-size:.78rem;color:var(--muted)}.stats-live{width:8px;height:8px;border-radius:999px;background:#16a34a;box-shadow:0 0 0 3px #16a34a33;animation:statsLive 2.4s ease-in-out infinite}@keyframes statsLive{50%{box-shadow:0 0 0 5px #16a34a14}}@media (prefers-reduced-motion: reduce){.stats-live{animation:none}}.stats-group-split{margin-top:.3rem;padding-top:.55rem;border-top:1px solid var(--border)}.stats-row{display:flex;align-items:center;gap:.6rem;padding:.18rem 1rem;font-size:.95rem}.stat-badge{width:24px;height:24px;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;border-radius:7px}.stat-badge svg{width:15px;height:15px}.stats-num{font-weight:600}.stat-badge.tone-indigo{background:#e0e7ff}.stat-badge.tone-teal{background:#ccfbf1}.stat-badge.tone-green{background:#dcfce7}.stat-badge.tone-purple{background:#ede9fe}.stat-badge.tone-orange{background:#ffedd5}.stat-badge.tone-pink{background:#fce7f3}.tone-indigo{color:#4338ca}.tone-teal{color:#0f766e}.tone-green{color:#15803d}.tone-purple{color:#6d28d9}.tone-orange{color:#c2410c}.tone-pink{color:#be185d}.activity-tool{width:30px;height:30px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--border);border-radius:999px;background:var(--surface);color:var(--primary);cursor:pointer;padding:0}.activity-tool:hover:not(:disabled){background:var(--primary);color:#fff;border-color:var(--primary)}.activity-tool:disabled{opacity:.4;cursor:default}.activity-tool svg{width:15px;height:15px}.activity-tool-del:hover:not(:disabled){background:var(--danger);border-color:var(--danger)}.activity-count{margin-left:.3rem;color:var(--muted);font-size:.85rem;white-space:nowrap}.activity-body{flex:1;border-radius:0 0 calc(var(--radius) - 1px) calc(var(--radius) - 1px);min-height:0;overflow-y:auto;overflow-x:hidden}.activity-empty{padding:1rem;text-align:center}.activity-row{display:flex;align-items:center;gap:.75rem;width:100%;text-align:left;padding:.6rem .9rem;background:none;border:none;border-bottom:1px solid rgba(0,0,0,.06);border-left:3px solid transparent;cursor:pointer;font:inherit;color:var(--text)}.activity-row:hover{background:#00000008}.activity-row.selected{background:#4f46e514;border-left-color:var(--primary)}.activity-badge{flex-shrink:0;display:inline-flex;align-items:center;gap:.35rem;padding:.2rem .6rem;border-radius:999px;font-size:.7rem;font-weight:700;letter-spacing:.04em;white-space:nowrap}.activity-badge:before{content:"";width:6px;height:6px;border-radius:50%;background:currentColor}.activity-badge-post{color:#1d4ed8;background:#dbeafe}.activity-badge-comment{color:#0f766e;background:#ccfbf1}.activity-badge-reply{color:#c2410c;background:#ffedd5}.activity-row-main{flex:1;min-width:0;display:flex;flex-direction:column;gap:.1rem}.activity-row-title{font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.activity-row-actor{color:var(--muted);font-size:.85rem}.activity-row-time{flex-shrink:0;color:var(--muted);font-size:.85rem;white-space:nowrap}.activity-resize{position:absolute;right:0;bottom:0;width:16px;height:16px;cursor:nwse-resize;touch-action:none;border-bottom-right-radius:calc(var(--radius) - 1px);background:linear-gradient(135deg,transparent 50%,var(--border) 50%,var(--border) 60%,transparent 60%,transparent 70%,var(--border) 70%,var(--border) 80%,transparent 80%)}.settings-title-icon{width:22px;height:22px;vertical-align:-4px;margin-right:.4rem}.settings-subtitle{margin:-.5rem 0 .5rem;font-size:.9rem}.mod-add{display:flex;gap:.6rem}.mod-add input{flex:1;font:inherit;padding:.75rem;border:1px solid var(--border);border-radius:10px}.mod-add input:focus{outline:2px solid var(--primary);border-color:var(--primary)}.mod-add-btn{width:48px;flex-shrink:0;border:none;border-radius:10px;background:var(--primary);color:#fff;font-size:1.4rem;line-height:1;cursor:pointer}.mod-add-btn:hover{background:var(--primary-hover)}.mod-list{display:flex;flex-direction:column;gap:.6rem;margin-top:.5rem}.mod-item{display:flex;align-items:center;gap:.75rem;padding:.7rem .85rem;border:1px solid var(--border);border-radius:12px;background:var(--surface)}.mod-item.dragging{opacity:.5}.mod-handle{display:inline-flex;color:var(--muted);cursor:grab}.mod-handle svg{width:18px;height:18px}.mod-text{flex:1}.mod-edit-input{flex:1;font:inherit;padding:.4rem .5rem;border:1px solid var(--primary);border-radius:8px}.mod-actions{display:flex;gap:.5rem}.mod-icon{display:inline-flex;align-items:center;justify-content:center;border:none;background:none;color:var(--muted);cursor:pointer;padding:.25rem;border-radius:6px}.mod-icon:hover{color:var(--text);background:var(--bg)}.mod-icon svg{width:18px;height:18px}.mod-del,.mod-del:hover{color:var(--danger)}.comment-body{margin:0;line-height:1.6}.comment-body p{margin:0 0 .5rem}.comment-body p:last-child{margin-bottom:0}.comment-body strong{font-weight:700}.comment-body em{font-style:italic}.comment-body del{text-decoration:line-through}.comment-body code{background:var(--bg);padding:.1rem .35rem;border-radius:4px;font-size:.9em}.comment-body blockquote{margin:0 0 .5rem;padding:.15rem .75rem;border-left:3px solid var(--border);color:var(--muted)}.comment-body a{color:var(--primary)}.reply-mention{color:var(--primary);font-weight:600}.md-hint{font-size:.75rem;margin:-.25rem 0 0}.md-input{font:inherit;font-weight:400;min-height:4.5rem;padding:.65rem .75rem;border:1px solid var(--border);border-radius:8px;background:var(--surface);white-space:pre-wrap;word-break:break-word;line-height:1.5}.md-input:focus{outline:2px solid var(--primary);border-color:var(--primary)}.md-input:empty:before{content:attr(data-ph);color:var(--muted);pointer-events:none}.md-input strong{font-weight:700}.md-input em{font-style:italic}.md-input del{text-decoration:line-through}.md-input code{background:var(--bg);padding:.1rem .35rem;border-radius:4px;font-size:.9em}.md-input u{text-decoration:underline}.md-input-wrap{position:relative}.ct-toolbar{display:none;border:1px solid var(--border);border-bottom:0;border-radius:8px 8px 0 0}.md-input-wrap:focus-within .ct-toolbar,.md-input-wrap:has(.md-input:not(:empty)) .ct-toolbar{display:flex}.md-input-wrap:focus-within .md-input,.md-input-wrap:has(.md-input:not(:empty)) .md-input{border-top-left-radius:0;border-top-right-radius:0}.md-syn{opacity:.45}.md-link{color:var(--primary)}.md-url,.md-quote{color:var(--muted)}.reply-btn{font-size:.85rem;display:inline-flex;align-items:center;gap:.35rem}.reply-btn svg{width:16px;height:16px}.comment-footer{display:flex;justify-content:space-between;align-items:center;gap:.5rem;margin-top:.4rem}.reply-toggle{font-size:.85rem;display:inline-flex;align-items:center;gap:.35rem}.reply-toggle svg{width:16px;height:16px;transition:transform .15s}.reply-toggle.open svg{transform:rotate(180deg)}.comment-footer-right{display:inline-flex;align-items:center;gap:.75rem;margin-left:auto}.share-wrap{position:relative;display:inline-flex}.share-btn{display:inline-flex;align-items:center;padding:.15rem;color:var(--muted)}.share-btn:hover,.share-btn[aria-expanded=true]{color:var(--primary)}.share-btn svg{width:16px;height:16px}.share-pop{position:absolute;bottom:calc(100% + 8px);right:-.5rem;z-index:30;width:min(320px,calc(100vw - 2rem));background:#fff;border:1px solid var(--border);border-radius:8px;box-shadow:0 4px 16px #0000001f;padding:.75rem .85rem;text-align:left}.share-pop:before{content:"";position:absolute;bottom:-6px;right:calc(.5rem + 5px);width:10px;height:10px;background:#fff;border-right:1px solid var(--border);border-bottom:1px solid var(--border);transform:rotate(45deg)}.share-title{font-weight:600;margin-bottom:.6rem}.share-label{font-size:.85rem;color:var(--muted);margin-bottom:.3rem}.share-row{display:flex;align-items:stretch;border:1px solid var(--border);border-radius:6px;overflow:hidden}.share-copy{display:inline-flex;align-items:center;justify-content:center;padding:0 .55rem;border:0;border-right:1px solid var(--border);background:var(--bg);color:var(--primary);cursor:pointer}.share-copy svg{width:16px;height:16px}.share-url{flex:1;min-width:0;border:0;padding:.4rem .5rem;font:inherit;font-size:.85rem;background:#fff;text-overflow:ellipsis}.share-url:focus{outline:none}.share-copied{margin-top:.4rem;font-size:.8rem;color:#15803d}@media (max-width: 560px){.comment-footer,.post-full-footer{position:relative}.share-wrap{position:static}.share-pop{right:0}.share-pop:before{display:none}}.comment-replies{margin-top:.6rem;margin-left:1.25rem;padding-left:.9rem;border-left:2px solid var(--border);display:flex;flex-direction:column;gap:.6rem}.reply-box{margin-top:.5rem;display:flex;flex-direction:column;gap:.4rem}.reply-box textarea{font:inherit;padding:.5rem .65rem;border:1px solid var(--border);border-radius:8px;resize:vertical}.reply-box textarea:focus{outline:2px solid var(--primary);border-color:var(--primary)}.comment-login-note{margin:.5rem 0 0}.comments-heading{margin:2rem 0 0;border-top:1px solid var(--border);padding-top:1.5rem}.post-author{color:var(--muted);font-size:.9rem;margin:.25rem 0 0}.form-error{color:var(--danger);font-size:.9rem;margin:0}.author-gate{margin:.5rem 0 1rem}.settings-title{margin:0 0 .5rem}.dn-restrictions{margin-top:.85rem;padding-top:1rem;border-top:1px solid var(--border);display:flex;flex-direction:column;gap:.5rem}.setting-row{display:flex;align-items:center;justify-content:space-between;padding:.85rem 0;border-top:1px solid var(--border)}.setting-label{font-weight:600}.setting-control{display:flex;align-items:center;gap:.6rem}.setting-state{color:var(--muted);font-size:.9rem;min-width:1.8rem;text-align:right}.app-footer a{color:inherit;text-decoration:underline}.app-footer a:hover{color:var(--text)}.privacy-updated{margin-top:-.25rem;margin-bottom:1.25rem;font-size:.85rem}.privacy-page h3{margin:1.6rem 0 .5rem}.privacy-page p{margin:.6rem 0;line-height:1.65}.privacy-page ul{margin:.6rem 0;padding-left:1.25rem;line-height:1.65}.privacy-page li{margin:.35rem 0}.edited-at{font-size:.8rem;color:var(--muted);white-space:nowrap}.post-card-footer-left{display:inline-flex;align-items:center;gap:.75rem;min-width:0}.comment-footer-left{display:inline-flex;align-items:center;gap:.5rem;min-width:0}.diag-row{padding:.7rem 0;border-top:1px solid var(--border)}.diag-head{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;margin-bottom:.4rem;flex-wrap:wrap}.diag-label{font-weight:600}.diag-note{font-weight:400;font-size:.85rem}.diag-value{font-size:.85rem;white-space:nowrap}.diag-bar{height:8px;border-radius:999px;background:#e5e7eb;overflow:hidden}.diag-fill{height:100%;border-radius:999px;background:var(--primary);transition:width .3s ease}.setting-row-disabled{opacity:.45}.setting-number{width:4.5rem;padding:.35rem .5rem;border:1px solid var(--border);border-radius:8px;background:var(--surface);color:var(--text);font-size:.95rem;text-align:center}.setting-number:disabled{cursor:not-allowed}.switch{position:relative;display:inline-block;width:44px;height:24px}.switch input{opacity:0;width:0;height:0}.slider{position:absolute;top:0;right:0;bottom:0;left:0;cursor:pointer;background:var(--border);border-radius:999px;transition:background .2s}.slider:before{content:"";position:absolute;height:18px;width:18px;left:3px;top:3px;background:#fff;border-radius:50%;transition:transform .2s}.switch input:checked+.slider{background:var(--primary)}.switch input:checked+.slider:before{transform:translate(20px)}.settings-stack{display:flex;flex-direction:column;gap:1.5rem}.site-logo{height:28px;width:28px;-o-object-fit:contain;object-fit:contain;margin-right:.5rem;border-radius:4px}.design-field{display:flex;flex-direction:column;gap:.4rem}.design-label{font-weight:600;font-size:.9rem}.design-preview{max-height:80px;max-width:100%;width:auto;border:1px solid var(--border);border-radius:8px;align-self:flex-start}.design-upload{display:flex;align-items:center;gap:.75rem;flex-wrap:wrap}.hero-pos-box{position:relative;width:100%;aspect-ratio:3 / 1;background-size:cover;background-repeat:no-repeat;border:1px solid var(--border);border-radius:8px;cursor:grab;overflow:hidden;touch-action:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;will-change:background-position}.hero-pos-box.dragging{cursor:grabbing}.hero-pos-hint{font-size:.8rem;color:var(--muted)}.app-footer{text-align:center;padding:1.5rem;color:var(--muted);font-size:.85rem;border-top:1px solid var(--border)}.onchain-note{position:sticky;bottom:0;z-index:50;width:100vw;margin:1rem 0 0;margin-left:calc(50% - 50vw);padding:.6rem 1.5rem;background:var(--bg);pointer-events:none;text-align:left;color:var(--muted);font-size:.8rem}.onchain-note a{color:inherit;text-decoration:underline;pointer-events:auto}.onchain-note a:hover{color:var(--text)}.container.container-home{padding-bottom:.4rem}.onchain-logo{height:14px;width:auto;margin:0 5px;vertical-align:-.16em}.post-card-title-link{color:inherit;text-decoration:none}.post-card-title-link:hover{text-decoration:underline}.sitemap-url-row{display:flex;gap:.5rem;margin-bottom:.75rem}.sitemap-url{flex:1;min-width:0;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.85rem;padding:.5rem .65rem;border:1px solid var(--border);border-radius:8px;background:var(--bg);color:var(--text)}.sitemap-actions{display:flex;gap:.5rem;margin-bottom:.75rem}.sitemap-preview{width:100%;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.8rem;padding:.6rem;border:1px solid var(--border);border-radius:8px;background:var(--bg);resize:vertical;margin-bottom:.5rem}.nav-toggle{display:none;align-items:center;justify-content:center;width:40px;height:40px;border:1px solid var(--border);background:var(--surface);border-radius:8px;color:var(--text);cursor:pointer}.nav-toggle svg{width:22px;height:22px}.post-full-body,.comment-body,.home-window-body,.post-card-excerpt{overflow-wrap:break-word}@media (max-width: 768px){.nav-toggle{display:inline-flex}.primary-nav{display:none;position:absolute;top:100%;left:0;right:0;flex-direction:column;align-items:stretch;gap:.25rem;background:var(--surface);border-bottom:1px solid var(--border);box-shadow:0 8px 20px #0000001f;padding:.5rem}.primary-nav.open{display:flex}.home-canvas{width:auto;margin-left:0;min-height:auto!important;display:flex;flex-direction:column;gap:1rem}.home-window{position:relative!important;left:auto!important;top:auto!important;transform:none!important;width:100%!important;height:auto!important}.home-window-body{max-height:70vh}.hw-resize{display:none}.onchain-note{position:static}.activity-panel{position:relative!important;left:auto!important;top:auto!important;transform:none!important;width:100%!important;height:auto!important;max-height:70vh}.activity-resize,.ca-inline{display:none}.ca-menu-wrap{display:inline-flex}.container{padding:1.25rem 1rem}.post-full-surface{padding:1.25rem 1.1rem}.comment-head,.comment-actions,.user-actions,.post-card-head,.page-head{flex-wrap:wrap}.page-head-actions{width:100%}.search-box{flex:1}.search-input{min-width:0;width:100%}.post-card-footer,.comment-footer,.post-card-footer-left,.comment-footer-left{flex-wrap:wrap}.modal{width:100%;max-width:100%}}@media (max-width: 480px){.container{padding:1rem .75rem}.logo{font-size:1.2rem}.post-full-title{font-size:1.5rem}.post-card-title{font-size:1.15rem}}.app-footer{position:relative}.mode-wrap{position:absolute;left:1.25rem;top:50%;transform:translateY(-50%);text-align:left;z-index:55}.mode-switch{position:relative;width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--primary);border-radius:999px;background:var(--surface);color:var(--primary);cursor:pointer;padding:0}.mode-switch:hover{background:var(--primary);color:#fff}.mode-switch svg{width:18px;height:18px}.mode-switch:after,.mode-switch:before{position:absolute;pointer-events:none;opacity:0;transition:opacity .12s}.mode-switch:after{content:attr(data-tip);bottom:calc(100% + 8px);left:-2px;background:#111827;color:#fff;font-size:.75rem;font-weight:500;padding:.25rem .55rem;border-radius:6px;white-space:nowrap}.mode-switch:before{content:"";bottom:calc(100% + 3px);left:12px;border:5px solid transparent;border-bottom:0;border-top-color:#111827}.mode-switch:hover:after,.mode-switch:hover:before,.mode-switch:focus-visible:after,.mode-switch:focus-visible:before{opacity:1}.mode-switch[aria-expanded=true]:after,.mode-switch[aria-expanded=true]:before{opacity:0}.mode-menu{position:absolute;bottom:calc(100% + 10px);left:0;z-index:30;min-width:200px;display:flex;flex-direction:column;padding:.35rem;background:var(--surface);border:1px solid var(--border);border-radius:10px;box-shadow:0 8px 24px #0000001f}.mode-item{display:flex;align-items:center;gap:.6rem;padding:.45rem .6rem;border:0;border-radius:7px;background:none;color:var(--text);font:inherit;font-size:.9rem;text-align:left;cursor:pointer}.mode-item:hover{background:#f0f0f3}.mode-dot{width:18px;height:18px;flex-shrink:0;border:2px solid currentColor;border-radius:999px;background:transparent}.mode-dot.on{background:#16a34a;box-shadow:inset 0 0 0 2px var(--surface)}@media (max-width: 560px){.app-footer{padding-left:3.75rem;padding-right:3.75rem}.mode-wrap{left:.75rem}}html.mode-switching,html.mode-switching *{transition:background-color .3s ease,border-color .3s ease,color .3s ease!important}:root[data-theme=dark]{color-scheme:dark;--bg: #0b1020;--surface: #131a2e;--text: #e6e9f2;--muted: #9aa3b8;--border: #26304a;--primary: #6366f1;--primary-hover: #818cf8;--danger: #f87171;--dk-card: #1a2238;--dk-hover: #1d2640;--dk-input: #0f1527;--dk-line: #3a4766;--dk-tip: #263152;--dk-accent: #a5b4fc;--dk-accent-line: #818cf8;--dk-strong: #f1f4fb;--dk-soft-text: #c3c9d8;--dk-disabled: #363b7a;--dk-hero: 11 16 32;--dk-hero-sub: #d5dae6;--dk-glow: rgba(129, 140, 248, .35);--dk-glow-wide: rgba(99, 102, 241, .35);--dk-ring: rgba(129, 140, 248, .25);--dk-selected: rgba(129, 140, 248, .16)}:root[data-theme=dark][data-dark=slate]{--bg: #16191e;--surface: #1e2228;--text: #e3e6ea;--muted: #9aa1ab;--border: #2f353f;--primary: #5b61e6;--primary-hover: #7c83f6;--dk-card: #262b33;--dk-hover: #2a3039;--dk-input: #121519;--dk-line: #444c58;--dk-tip: #333a45;--dk-accent: #a5abfa;--dk-accent-line: #7c83f6;--dk-strong: #f0f2f5;--dk-soft-text: #c5cad1;--dk-disabled: #3c4070;--dk-hero: 22 25 30;--dk-hero-sub: #d3d7dd;--dk-glow: rgba(124, 131, 246, .2);--dk-glow-wide: rgba(91, 97, 230, .18);--dk-ring: rgba(124, 131, 246, .18);--dk-selected: rgba(124, 131, 246, .16)}:root[data-theme=dark] .mode-switch{border-color:var(--dk-accent-line);color:var(--dk-accent)}:root[data-theme=dark] .mode-switch:hover{background:var(--primary);color:#fff}:root[data-theme=dark] .mode-switch:after{background:var(--dk-tip)}:root[data-theme=dark] .mode-switch:before{border-top-color:var(--dk-tip)}:root[data-theme=dark] .mode-dot.on{background:#22c55e}:root[data-theme=dark] .mode-item:hover{background:var(--dk-hover)}:root[data-theme=dark] .btn-primary,:root[data-theme=dark] .nav-login,:root[data-theme=dark] .home-create-btn{box-shadow:0 0 0 1px var(--dk-glow),0 4px 18px var(--dk-glow-wide)}:root[data-theme=dark] .logo{text-shadow:0 0 18px var(--dk-glow)}:root[data-theme=dark] .post-card:hover{box-shadow:0 0 0 1px var(--dk-ring),0 6px 22px #00000073}:root[data-theme=dark] .post-full-body a,:root[data-theme=dark] .comment-body a,:root[data-theme=dark] .reply-mention,:root[data-theme=dark] .btn-link,:root[data-theme=dark] .md-link,:root[data-theme=dark] .read-more,:root[data-theme=dark] .subnav-link.active,:root[data-theme=dark] .notif-clear,:root[data-theme=dark] .share-btn[aria-expanded=true]{color:var(--dk-accent)}:root[data-theme=dark] .btn:hover,:root[data-theme=dark] .user-menu-button:hover,:root[data-theme=dark] .user-menu-item:hover,:root[data-theme=dark] .principal,:root[data-theme=dark] .post-like{background:var(--dk-hover)}:root[data-theme=dark] .btn-danger:hover{background:#f871711f}:root[data-theme=dark] .post-author-name,:root[data-theme=dark] .post-comments-btn:hover,:root[data-theme=dark] .pc-btn:hover{color:var(--dk-strong)}:root[data-theme=dark] .post-card-excerpt{color:var(--dk-soft-text)}:root[data-theme=dark] .pc-btn{background:var(--surface)}:root[data-theme=dark] .pc-btn:hover{border-color:var(--dk-line)}:root[data-theme=dark] .btn-primary:disabled{background:var(--dk-disabled);border-color:var(--dk-disabled);color:#fff9}:root[data-theme=dark] .comment,:root[data-theme=dark] .activity-panel{background:var(--dk-card)}:root[data-theme=dark] .comment-flash{animation-name:commentFlashDark}@keyframes commentFlashDark{0%{background:#facc154d}to{background:var(--dk-card)}}:root[data-theme=dark] .cbtn{background:var(--surface);color:var(--dk-soft-text);box-shadow:none}:root[data-theme=dark] .cbtn:hover{border-color:var(--dk-line)}:root[data-theme=dark] .md-color-pop,:root[data-theme=dark] .md-emoji-pop,:root[data-theme=dark] .home-window,:root[data-theme=dark] .share-pop,:root[data-theme=dark] .share-pop:before,:root[data-theme=dark] .share-url{background:var(--surface)}:root[data-theme=dark] .md-swatch{border-color:#fff3}:root[data-theme=dark] .post-full-surface,:root[data-theme=dark] .home-window,:root[data-theme=dark] .activity-panel{box-shadow:0 4px 18px #0006}:root[data-theme=dark] .md-color-pop,:root[data-theme=dark] .md-emoji-pop,:root[data-theme=dark] .share-pop,:root[data-theme=dark] .mode-menu,:root[data-theme=dark] .user-menu-dropdown,:root[data-theme=dark] .ca-menu,:root[data-theme=dark] .notif-dropdown,:root[data-theme=dark] .primary-nav{box-shadow:0 10px 30px #0000008c}:root[data-theme=dark] .modal-overlay{background:#02040cb3}:root[data-theme=dark] .modal{box-shadow:0 20px 60px #0009}:root[data-theme=dark] .diag-bar{background:#26304a}:root[data-theme=dark] .activity-head{background:#ffffff08}:root[data-theme=dark] .activity-row{border-bottom-color:#ffffff0f}:root[data-theme=dark] .activity-row:hover{background:#ffffff0a}:root[data-theme=dark] .activity-row.selected{background:var(--dk-selected)}:root[data-theme=dark] .activity-flip:after,:root[data-theme=dark] .activity-tool:after{background:var(--dk-tip)}:root[data-theme=dark] .stats-live{background:#22c55e}:root[data-theme=dark] .stat-badge.tone-indigo{background:#818cf82e}:root[data-theme=dark] .stat-badge.tone-teal{background:#2dd4bf29}:root[data-theme=dark] .stat-badge.tone-green{background:#4ade8029}:root[data-theme=dark] .stat-badge.tone-purple{background:#c4b5fd29}:root[data-theme=dark] .stat-badge.tone-orange{background:#fb923c29}:root[data-theme=dark] .stat-badge.tone-pink{background:#f472b629}:root[data-theme=dark] .tone-indigo{color:#a5b4fc}:root[data-theme=dark] .tone-teal{color:#5eead4}:root[data-theme=dark] .tone-green{color:#4ade80}:root[data-theme=dark] .tone-purple{color:#c4b5fd}:root[data-theme=dark] .tone-orange{color:#fdba74}:root[data-theme=dark] .tone-pink{color:#f9a8d4}:root[data-theme=dark] .activity-badge-post{color:#93c5fd;background:#60a5fa29}:root[data-theme=dark] .activity-badge-comment{color:#5eead4;background:#2dd4bf26}:root[data-theme=dark] .activity-badge-reply{color:#fdba74;background:#fb923c26}:root[data-theme=dark] .notif-text-admin,:root[data-theme=dark] .comment-author-admin{color:#fb923c}:root[data-theme=dark] .save-note,:root[data-theme=dark] .share-copied{color:#4ade80}:root[data-theme=dark] :is(input[type=text],input[type=email],input[type=url],input[type=number],input:not([type]),textarea,select):not(.search-input){background:var(--dk-input);color:var(--text)}:root[data-theme=dark] .md-input{background:var(--dk-input)}:root[data-theme=dark] .home-hero{color:#fff;background-image:radial-gradient(ellipse 60% 55% at 50% 42%,rgb(var(--dk-hero) / .5),rgb(var(--dk-hero) / 0) 70%),linear-gradient(to bottom,rgb(var(--dk-hero) / .25) 0%,rgb(var(--dk-hero) / .55) 50%,var(--bg) 100%),var(--hero-image)}:root[data-theme=dark] .home-hero h2{color:#fff;text-shadow:0 2px 16px rgba(0,0,0,.65)}:root[data-theme=dark] .home-hero .muted{color:var(--dk-hero-sub)}:root[data-theme=dark] .mdc-red{color:#f87171}:root[data-theme=dark] .mdc-orange{color:#fb923c}:root[data-theme=dark] .mdc-amber{color:#fbbf24}:root[data-theme=dark] .mdc-green{color:#4ade80}:root[data-theme=dark] .mdc-teal{color:#2dd4bf}:root[data-theme=dark] .mdc-blue{color:#60a5fa}:root[data-theme=dark] .mdc-indigo{color:#a5b4fc}:root[data-theme=dark] .mdc-purple{color:#c4b5fd}:root[data-theme=dark] .mdc-pink{color:#f472b6}:root[data-theme=dark] .mdc-gray{color:#9ca3af}:root[data-theme=dark] :is(.mdh-red,.mdh-orange,.mdh-amber,.mdh-green,.mdh-teal,.mdh-blue,.mdh-indigo,.mdh-purple,.mdh-pink,.mdh-gray,mark.search-hit){color:#1a1a1a}.post-skeleton{min-height:calc(100vh - 6rem);background:var(--surface);border:1px solid var(--border);border-radius:16px}.comment-skeleton-list{display:flex;flex-direction:column;gap:1rem;margin-top:1.25rem}.comment-skeleton{height:88px;border-radius:var(--radius);background:#eef0f3}:root[data-theme=dark] .comment-skeleton{background:var(--dk-card)}
