:root{--background:#f6f3ee;--surface:#fff;--text:#26221e;--muted:#736a61;--border:#e6dfd5;--accent:#0f766e;--accent-text:#fff;--accent-soft:#e2f1ee;--highlight:#b9500a;--highlight-soft:#fdebd9;--danger:#c0392b;--guide-line:#a39a90;--shadow:0 1px 2px #46321e0f, 0 6px 18px #46321e0f;--shadow-lifted:0 2px 4px #46321e14, 0 12px 28px #46321e1f;--radius:.8rem;--radius-small:.55rem;--page-width:64rem}@media (prefers-color-scheme:dark){:root{--background:#161412;--surface:#211e1b;--text:#ddd6cd;--muted:#a69c91;--border:#38322c;--accent:#82aea6;--accent-text:#141d1b;--accent-soft:#252e2b;--highlight:#cf9f6c;--highlight-soft:#33291e;--danger:#e08a7e;--guide-line:#7d7369;--shadow:0 1px 2px #0000004d, 0 6px 18px #00000038;--shadow-lifted:0 2px 4px #00000059, 0 12px 28px #00000059}}*{box-sizing:border-box}body{background:var(--background);color:var(--text);-webkit-font-smoothing:antialiased;margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif;line-height:1.55}::selection{background:var(--accent-soft)}a{color:var(--accent);text-decoration:none}a:hover{text-decoration:underline}h1{letter-spacing:-.02em;margin-top:0;font-size:2rem;line-height:1.2}.muted{color:var(--muted)}.visually-hidden{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.header{background:linear-gradient(90deg,var(--accent),var(--highlight)) top/100% 3px no-repeat,var(--surface);border-bottom:1px solid var(--border);box-shadow:var(--shadow);flex-wrap:wrap;gap:.5rem 1.5rem;padding:.85rem 1.25rem .75rem;display:flex;position:relative}.account,.header,.logo{align-items:center}.logo{letter-spacing:-.02em;color:var(--text);gap:.5rem;font-size:1.4rem;font-weight:700;transition:color .15s;display:inline-flex}.logo:before{content:"";background:linear-gradient(160deg,var(--accent),var(--highlight));border-radius:.6rem .6rem .2rem .2rem;width:1.15rem;height:1.45rem}.logo:hover{color:var(--accent);text-decoration:none}.services{flex:1}.services ul{flex-wrap:wrap;gap:.25rem 1.1rem;margin:0;padding:0;list-style:none;display:flex}@media (width<=40rem){.services{flex-basis:100%;order:3}.account{margin-left:auto}}.services a.current,.services a:hover{text-underline-offset:.3em;text-decoration:underline;text-decoration-thickness:2px}.button,.field label,.services a.current,.username{font-weight:600}.service{color:var(--muted);cursor:default}.account{gap:1rem;min-height:2.2rem;display:flex}.button{border-radius:var(--radius-small);background:var(--accent);color:var(--accent-text);padding:.45rem 1.1rem;transition:filter .15s,box-shadow .15s;box-shadow:0 1px 2px #00000026}.button:hover{filter:brightness(1.1);text-decoration:none;box-shadow:0 3px 10px #0000002e}.narrow{max-width:26rem}.form{flex-direction:column;align-items:flex-start;gap:1.1rem;display:flex}.field{width:100%}.field label{margin-bottom:.25rem;display:block}.field input{border:1px solid var(--border);border-radius:var(--radius-small);background:var(--surface);width:100%;color:var(--text);font:inherit;padding:.55rem .75rem;transition:border-color .15s}.field input:focus{outline:2px solid var(--accent);outline-offset:1px;border-color:var(--accent)}.field input[aria-invalid=true]{border-color:var(--danger)}.error,.hint{margin:.3rem 0 0;font-size:.875rem}.hint{color:var(--muted)}.error{color:var(--danger)}.notice{border:1px solid var(--border);border-left:4px solid var(--accent);border-radius:var(--radius-small);background:var(--surface);width:100%;box-shadow:var(--shadow);margin:0;padding:.75rem 1rem}.notice p{margin:0 0 .5rem}.notice p:last-child{margin-bottom:0}button.button{font:inherit;cursor:pointer;border:0;font-weight:600}button:disabled{opacity:.6;cursor:default}button.link{color:var(--accent);font:inherit;cursor:pointer;background:0 0;border:0;padding:0}button.link:hover{text-decoration:underline}.form.wide{max-width:44rem}.field textarea{border:1px solid var(--border);border-radius:var(--radius-small);background:var(--surface);width:100%;color:var(--text);font:inherit;resize:vertical;padding:.55rem .75rem;transition:border-color .15s}.field textarea:focus{outline:2px solid var(--accent);outline-offset:1px}.field textarea[aria-invalid=true]{border-color:var(--danger)}.actions{align-items:center;gap:1rem;margin:1rem 0;display:flex}.tabs{border-bottom:1px solid var(--border);flex-wrap:wrap;gap:0 .25rem;margin:1.25rem 0 0;display:flex}.tabs a{color:var(--muted);border:1px solid #0000;border-radius:.4rem .4rem 0 0;margin-bottom:-1px;padding:.45rem .9rem}.tabs a:hover{color:var(--text);text-decoration:none}.tabs a.current{border-color:var(--border);border-bottom-color:var(--background);background:var(--background);color:var(--text);font-weight:600}.tab-panel h2{margin:1.25rem 0 .75rem}.settings{border-top:1px solid var(--border);margin-top:2rem;padding-top:.5rem}.settings h2{margin:1rem 0 .75rem}.field label.check{align-items:center;gap:.5rem;font-weight:400;display:flex}.field label.check input{width:auto;margin:0}.button.danger{background:var(--danger)}.actions .to-the-right{margin-left:auto}.crumbs{color:var(--muted);margin:0 0 .5rem;font-size:.9rem}.site-main h2{margin:2rem 0 0;font-size:1.2rem}.list{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow);margin:1rem 0;padding:0;list-style:none;overflow:hidden}.list-row{border-top:1px solid var(--border);justify-content:space-between;gap:1rem;padding:.85rem 1.15rem;transition:background-color .15s;display:flex}.list-row:hover{background:color-mix(in srgb,var(--accent-soft) 45%,transparent)}.list-row:first-child{border-top:0}.list-main{overflow-wrap:anywhere;min-width:0}.list-main p{margin:.15rem 0 0;font-size:.9rem}.list-title,.new{font-weight:600}.list-side{text-align:right;flex-shrink:0;font-size:.875rem}.new{background:var(--highlight-soft);color:var(--highlight);white-space:nowrap;border-radius:1rem;padding:.05rem .5rem}.tree{--tree-step:1.25rem;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow);margin:1rem 0;padding:.5rem 0;list-style:none;overflow-x:auto}.tree-row{padding-top:.2rem;padding-bottom:.2rem;padding-right:.6rem;padding-left:calc(.6rem + var(--depth,0) * var(--tree-step));border-radius:.45rem;flex-wrap:wrap;align-items:baseline;gap:0 .75rem;margin:0 .4rem;font-size:.95rem;display:flex;position:relative}.tree-guide{top:var(--guide-top);bottom:0;left:calc(.9rem - 1px + var(--guide) * var(--tree-step));border-left:2px solid var(--guide-line);--guide-top:-1px;position:absolute}.tree-guide.start{--guide-top:.3rem}.tree-guide.end{height:calc(1.35rem - var(--guide-top));bottom:auto}.club-description,.comment-body,.post h2,.post-body,.profile-head p,.tree-row .tree-subject,.user-card-text{overflow-wrap:anywhere}.tree-row .muted{font-size:.8rem}.tree-row.selected{background:var(--accent-soft)}.tree-row.selected .tree-subject{color:var(--text)}.tree-row.unread .tree-subject{font-weight:700}.tree-row.unread .tree-subject:before{content:"";background:var(--highlight);vertical-align:.1em;border-radius:50%;width:.45rem;height:.45rem;margin-right:.4rem;display:inline-block}.post{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow);padding:1.25rem 1.5rem}.post h2{margin:0;font-size:1.25rem}.post h3{margin:1.25rem 0 .5rem;font-size:1rem}.post>.muted{margin:.2rem 0 0;font-size:.875rem}.post-body{white-space:pre-wrap;margin:1rem 0;font-size:1.05rem;line-height:1.65}.site{flex-direction:column;min-height:100dvh;display:flex}.site-main{width:100%;max-width:var(--page-width);flex:1;margin:0 auto;padding:2.25rem 1.25rem 3rem}.tag{background:var(--accent-soft);color:var(--accent);vertical-align:middle;white-space:nowrap;border:1px solid #0000;border-radius:1rem;padding:.1rem .55rem;font-size:.75rem;font-weight:400;display:inline-block}.club-description,.comment-body{white-space:pre-wrap}.post .tag,.tree-row .tag{margin:0 .2rem 0 .35rem}.list-main .tag{margin-left:.4rem}.row-actions input[type=text]{border:1px solid var(--border);border-radius:var(--radius-small);background:var(--surface);color:var(--text);font:inherit;padding:.3rem .5rem}.tag.warning{border-color:var(--danger);color:var(--danger);background:0 0}.notice.warning{border-left-color:var(--danger)}.sort{color:var(--muted);justify-content:flex-end;margin:.5rem 0 -.25rem;font-size:.9rem}.sort select{padding:.2rem .4rem}select{border:1px solid var(--border);border-radius:var(--radius-small);background:var(--surface);max-width:100%;color:var(--text);font:inherit;padding:.4rem .6rem}.field select{width:100%}.share-form{box-shadow:var(--shadow);border:1px solid var(--border);border-radius:var(--radius-small);background:var(--surface);margin:.5rem 0 1rem;padding:.75rem 1rem}.settings h3{margin:1.5rem 0 0;font-size:1rem}button.link.danger{color:var(--danger)}.tree-row.deleted .tree-subject{color:var(--muted);font-style:italic}.thread-actions{margin:-.5rem 0 0;font-size:.9rem}code{border:1px solid var(--border);background:var(--background);border-radius:.3rem;padding:.1rem .4rem;font-family:ui-monospace,SF Mono,Menlo,Consolas,monospace;font-size:.9em}.row-actions{flex-wrap:wrap;align-items:center;gap:.25rem .9rem;display:flex}.picture{border:2px solid var(--surface);background:var(--background);width:3rem;height:3rem;box-shadow:0 0 0 1px var(--border),var(--shadow);border-radius:50%;flex-shrink:0;justify-content:center;align-items:center;display:inline-flex;overflow:hidden}.picture:has(.picture-letter){background:linear-gradient(140deg,var(--accent),var(--highlight))}.picture.large{width:8rem;height:8rem}.picture img{-o-object-fit:cover;object-fit:cover;width:100%;height:100%}.picture-letter{color:#fff;font-size:1.4rem;font-weight:600}.picture.large .picture-letter{font-size:3.5rem}.profile-row{justify-content:flex-start;align-items:center}.profile-row .list-main{flex:1}.profile-head{flex-wrap:wrap;align-items:center;gap:1rem 1.5rem;display:flex}.profile-head h1{margin:0}.profile-head p{margin:.2rem 0 0}.profile-name{font-size:1.1rem;font-weight:600}.profile-about{margin-top:1.5rem}.comments{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);box-shadow:var(--shadow);margin:1rem 0;padding:0;list-style:none}.comment{border-top:1px solid var(--border);gap:.9rem;padding:.9rem 1.15rem;display:flex}.comment:first-child{border-top:0}.comment-main{flex:1;min-width:0}.comment-head{flex-wrap:wrap;align-items:baseline;gap:0 .75rem;margin:0;display:flex}.comment-head .muted{font-size:.85rem}.comment-body{margin:.3rem 0}.comment .row-actions{margin:.4rem 0 0;font-size:.9rem}.picture-editor{flex-wrap:wrap;align-items:center;gap:.5rem 1.5rem;margin:1rem 0 1.5rem;display:flex}.picture-editor h2{flex-basis:100%;margin:0}.picture-editor .hint{max-width:28rem;margin:0 0 .6rem}label.button{cursor:pointer;display:inline-block}label.button.disabled{opacity:.6;cursor:default}input[type=file].visually-hidden:focus+.link{outline:2px solid var(--accent);outline-offset:2px}label.button:has(+input[type=file]:focus-visible){outline:2px solid var(--accent);outline-offset:2px}.narrow-field{max-width:8rem}.user-card{z-index:100;border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);max-width:18rem;box-shadow:var(--shadow-lifted);color:var(--text);text-align:left;pointer-events:none;align-items:center;gap:.75rem;padding:.6rem .8rem;font-size:.9rem;font-style:normal;font-weight:400;line-height:1.35;display:flex;position:fixed}.user-card-hint{color:var(--muted);margin-top:.2rem;font-size:.8rem}.user-card-text{flex-direction:column;min-width:0;display:flex}.footer{border-top:1px solid var(--border);color:var(--muted);padding:1rem 1.25rem;font-size:.9rem}.footer nav{flex-wrap:wrap;gap:1rem;display:flex}.footer a{color:var(--muted)}.hero{border:1px solid var(--border);border-radius:calc(var(--radius) * 1.5);background:radial-gradient(circle at 100% 0,var(--highlight-soft),transparent 55%),radial-gradient(circle at 0 100%,var(--accent-soft),transparent 60%),var(--surface);box-shadow:var(--shadow);padding:2.5rem 2rem}.hero h1{margin-bottom:.75rem;font-size:2.5rem}.hero p{max-width:38rem;margin:0;font-size:1.15rem}.hero .actions{margin:1.5rem 0 0;font-size:1rem}.cards{grid-template-columns:repeat(auto-fit,minmax(15rem,1fr));gap:1rem;margin:1.5rem 0 1rem;padding:0;list-style:none;display:grid}.card{border:1px solid var(--border);border-radius:var(--radius);background:var(--surface);height:100%;box-shadow:var(--shadow);color:var(--text);flex-direction:column;gap:.35rem;padding:1.25rem;transition:box-shadow .15s,transform .15s,border-color .15s;display:flex}.card:hover{border-color:var(--accent);box-shadow:var(--shadow-lifted);text-decoration:none;transform:translateY(-2px)}.card-icon{background:var(--accent-soft);width:2.6rem;height:2.6rem;color:var(--accent);border-radius:.7rem;justify-content:center;align-items:center;margin-bottom:.4rem;display:inline-flex}.card-icon svg{width:1.5rem;height:1.5rem}.card-title{font-size:1.15rem;font-weight:700}.card-text{color:var(--muted);font-size:.95rem}@media (width<=40rem){.tree{--tree-step:.6rem}.hero{padding:1.75rem 1.25rem}.hero h1{font-size:2rem}}@media (prefers-reduced-motion:reduce){*{transition:none!important}.card:hover{transform:none}}
