:root{--bg:#f2f2f5;--surface:#fff;--text:#1b1b21;--muted:#777783;--line:#e5e5ea;--like:#ef3d4e;--accent:#f26a1b;--gradient:linear-gradient(90deg, #ff6a1a, #ffc93c);--tapbar:58px;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;color:var(--text);background:var(--bg);-webkit-text-size-adjust:100%;font-family:Rubik,system-ui,-apple-system,Segoe UI,sans-serif;font-size:16px;line-height:1.45}*,:before,:after{box-sizing:border-box}body{background:var(--bg);margin:0}a{color:inherit;text-decoration:none}button,input,textarea{font:inherit;color:inherit}button{cursor:pointer;background:0 0;border:0;padding:0}button:disabled{cursor:default;opacity:.5}:focus-visible{outline:2px solid var(--accent);outline-offset:2px}h1,h2,p,ul,dl,dd{margin:0;padding:0}ul{list-style:none}.shell{min-height:100dvh}.brand{letter-spacing:-.02em;background:var(--gradient);color:#0000;-webkit-background-clip:text;background-clip:text;font-size:1.45rem;font-weight:700}.topbar{z-index:20;background:var(--surface);border-bottom:1px solid var(--line);align-items:center;gap:14px;height:54px;padding:0 16px;display:flex;position:sticky;top:0}.topbar .brand{margin-right:auto}.column{max-width:470px;padding-bottom:calc(var(--tapbar) + env(safe-area-inset-bottom) + 16px);background:var(--surface);min-height:calc(100dvh - 54px);margin:0 auto}.nav{z-index:20;height:calc(var(--tapbar) + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);background:var(--surface);border-top:1px solid var(--line);display:flex;position:fixed;inset:auto 0 0}.nav .brand,.nav .tab span,.desktop-only,.aside{display:none}.tab{color:var(--text);flex:1;justify-content:center;align-items:center;gap:14px;display:flex;position:relative}.nav .desktop-only{display:none}.tab.active:after{content:"";background:var(--gradient);border-radius:4px 4px 0 0;height:4px;position:absolute;bottom:0;left:18%;right:18%}.icon-button{border-radius:50%;justify-content:center;align-items:center;min-width:40px;min-height:40px;display:inline-flex}.post{border-bottom:8px solid var(--bg)}.post-media{touch-action:manipulation;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;background:#111;position:relative;overflow:hidden}.post-media img{object-fit:cover;width:100%;max-height:600px;display:block}.post-media.menu-open{min-height:330px}.post-media.menu-open img{height:100%;position:absolute;inset:0}.burst{color:#fff;pointer-events:none;filter:drop-shadow(0 4px 14px #00000059);place-items:center;animation:.7s ease-out forwards burst;display:grid;position:absolute;inset:0}@keyframes burst{0%{opacity:0;transform:scale(.3)}25%{opacity:1;transform:scale(1.15)}70%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(1)}}.post-menu{color:#fff;background:#0000008c;flex-direction:column;justify-content:center;gap:10px;padding:50px 14px 12px;animation:.15s ease-out fade;display:flex;position:absolute;inset:0}@keyframes fade{0%{opacity:0}}.menu-back{place-items:center;width:44px;height:44px;display:grid;position:absolute;top:8px;left:8px}.menu-group{background:#0a0a0ceb;border-radius:6px;flex-direction:column;padding:8px 6px;display:flex}.menu-label{color:#c9c9d1;padding:2px 12px 4px;font-size:.85rem}.menu-group button{text-align:left;border-radius:6px;align-items:center;gap:12px;min-height:42px;padding:0 12px;font-size:1.12rem;font-weight:600;display:flex}.menu-group button:hover,.menu-group button:focus-visible{background:#ffffff1f}.menu-group button svg:last-child:not(:first-child){margin-left:auto}.post-body{padding:10px 16px 14px}.post-author{align-items:center;gap:8px;display:flex}.author-link{align-items:center;gap:10px;min-width:0;font-weight:600;display:flex}.author-link span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.author-link small{color:var(--muted);text-overflow:ellipsis;font-size:.82rem;font-weight:400;display:block;overflow:hidden}.post-time{color:var(--muted);white-space:nowrap;margin-left:auto;font-size:.8rem}.avatar{color:#fff;background:linear-gradient(135deg, hsl(var(--hue) 70% 52%), hsl(calc(var(--hue) + 40) 75% 42%));border-radius:50%;flex:none;place-items:center;font-weight:600;display:inline-grid}.caption{color:#4c4c57;overflow-wrap:anywhere;white-space:pre-wrap;margin-top:8px}.caption.clamped{-webkit-line-clamp:2;line-clamp:2;cursor:pointer;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.post-stats{gap:18px;margin-top:8px;display:flex}.stat{color:#4c4c57;font-variant-numeric:tabular-nums;align-items:center;gap:6px;min-height:40px;display:inline-flex}.stat.liked{color:var(--like)}.stat.liked svg{animation:.25s ease-out pop}@keyframes pop{50%{transform:scale(1.3)}}.notice{text-align:center;color:var(--muted);padding:40px 24px}.notice .button{margin-top:14px}.empty{text-align:center;color:#55555f;flex-direction:column;justify-content:center;align-items:center;gap:14px;min-height:62dvh;padding:24px 40px;display:flex}.muted{color:var(--muted)}.button{border:1px solid var(--line);background:var(--surface);border-radius:10px;justify-content:center;align-items:center;min-height:42px;padding:0 20px;font-weight:600;display:inline-flex}.button.primary{color:#fff;background:linear-gradient(90deg,#f4571b,#f79a1e);border:0}.button.small{min-height:34px;padding:0 14px;font-size:.9rem}.join{flex-direction:column;gap:10px;display:flex}.join p{color:var(--muted);margin-bottom:4px}.link-button{min-height:40px;color:var(--accent);padding:0 4px;font-weight:600}input:not([type=file]),textarea{border:1px solid var(--line);resize:vertical;background:#fafafb;border-radius:10px;width:100%;padding:11px 13px}input[aria-invalid=true]{border-color:var(--like)}.field-error,.form-error{color:#c62434;font-size:.88rem}.form-error{padding:0 16px}.auth{place-items:center;min-height:100dvh;padding:16px;display:grid}.auth-card{background:var(--surface);border:1px solid var(--line);border-radius:18px;flex-direction:column;gap:14px;width:100%;max-width:380px;padding:32px 24px;display:flex}.auth-card .brand{text-align:center;font-size:2.2rem}.auth-card .form-error{padding:0}.auth-tagline,.auth-switch{text-align:center;color:var(--muted)}.auth-switch a{color:var(--accent);font-weight:600}.auth-title{text-align:center;font-size:1.15rem}.auth-aside{text-align:right;margin-top:-6px;font-size:.9rem}.auth-aside a{color:var(--accent);font-weight:500}.auth-success{color:#1c5c2e;background:#eef8f0;border-radius:10px;padding:12px 14px}.auth-card label{flex-direction:column;gap:5px;font-size:.9rem;font-weight:500;display:flex}.page-header{z-index:10;background:var(--surface);border-bottom:1px solid var(--line);align-items:center;gap:4px;height:52px;padding:0 8px;display:flex;position:sticky;top:54px}.page-header h1{text-overflow:ellipsis;white-space:nowrap;flex:1;font-size:1.05rem;font-weight:600;overflow:hidden}.profile-head{align-items:center;gap:16px;padding:18px 16px 12px;display:flex}.profile-stats{text-align:center;flex:1;display:flex}.profile-stats div{flex:1}.profile-stats div+div{border-left:1px solid var(--line)}.profile-stats dt{font-size:1.1rem;font-weight:600}.profile-stats dd{color:var(--muted);font-size:.85rem}.bio{background:var(--gradient);border-radius:10px;margin:4px 16px 0;padding:2px}.bio p{white-space:pre-wrap;overflow-wrap:anywhere;background:#fffaf3;border-radius:8px;padding:10px 12px}.bio-form{flex-direction:column;gap:10px;padding:4px 16px 0;display:flex}.bio-form div{justify-content:flex-end;gap:10px;display:flex}.profile-actions{border-bottom:8px solid var(--bg);padding:12px 16px 16px}.profile-actions .button{width:100%}.profile-actions:empty{padding:8px 0 0}.new-post{flex-direction:column;gap:14px;padding:16px;display:flex}.new-post .form-error{padding:0}.picker{aspect-ratio:1;color:var(--muted);cursor:pointer;border:2px dashed #cfcfd6;border-radius:14px;flex-direction:column;justify-content:center;align-items:center;gap:8px;display:flex;position:relative;overflow:hidden}.picker.has-image{aspect-ratio:auto;border:0}.picker img{object-fit:cover;width:100%;max-height:520px;display:block}.picker input{opacity:0;cursor:pointer;position:absolute;inset:0}.picker:focus-within{outline:2px solid var(--accent);outline-offset:2px}.comments{padding:14px 16px 4px}.comments h2{margin-bottom:12px;font-size:1rem}.comments li{gap:10px;margin-bottom:14px;display:flex}.comments li p{overflow-wrap:anywhere}.comments li p a{font-weight:600}.comments small{color:var(--muted);font-size:.78rem;display:block}.comment-form{bottom:calc(var(--tapbar) + env(safe-area-inset-bottom));background:var(--surface);border-top:1px solid var(--line);align-items:center;gap:10px;padding:10px 16px;display:flex;position:sticky}@media (width>=768px){.shell{grid-template-columns:76px minmax(0,1fr);display:grid}.topbar{display:none}.nav{border-top:0;border-right:1px solid var(--line);flex-direction:column;gap:6px;height:100dvh;padding:20px 12px;position:sticky;inset:0 auto auto 0}.tab,.nav .desktop-only{border-radius:12px;flex:none;justify-content:center;height:52px;display:flex}.tab:hover{background:var(--bg)}.tab.active:after{background:linear-gradient(#ff6a1a,#ffc93c);border-radius:0 4px 4px 0;width:4px;height:auto;inset:22% auto 22% 0}.column{border:1px solid var(--line);border-radius:14px;align-self:start;width:100%;min-height:0;margin:24px auto;padding-bottom:0;overflow:clip}.post{border-bottom-width:1px;border-bottom-color:var(--line)}.post:last-of-type{border-bottom:0}.page-header{top:0}.comment-form{bottom:0}.empty{min-height:420px}}@media (width>=1160px){.shell{grid-template-columns:244px minmax(0,1fr) 340px;max-width:1180px;margin:0 auto}.nav{background:0 0;border-right:0;padding:28px 16px}.nav .brand{padding:0 14px 22px;font-size:1.7rem;display:block}.nav .tab{justify-content:flex-start;padding:0 14px}.nav .tab span{font-size:1.05rem;display:inline}.nav .tab.active span{font-weight:600}.aside{align-self:start;padding:36px 16px;display:block;position:sticky;top:0}.aside .me{margin-bottom:26px}.aside h2{color:var(--muted);margin-bottom:12px;font-size:.9rem;font-weight:600}.aside .join h2{color:var(--text);margin-bottom:0;font-size:1.1rem}.suggestions li{justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px;display:flex}}@media (prefers-reduced-motion:reduce){*,:before,:after{animation-duration:.01ms!important}}.badge{letter-spacing:.02em;vertical-align:middle;-webkit-text-fill-color:currentColor;border-radius:999px;padding:2px 8px;font-size:.72rem;font-weight:600;display:inline-block}.badge.dark{color:#fff;background:var(--text)}.badge.danger{color:#a3182a;background:#fde7ea}.button.danger{color:#b3192c;border-color:#f3c3ca;gap:8px}.icon-button.danger{color:#b3192c}.strong{font-weight:600}.small{font-size:.82rem}.push{margin-left:auto}.shell.admin .column{background:0 0;border:0;max-width:940px;overflow:visible}.shell.admin button.tab{width:100%}.admin-page{flex-direction:column;gap:16px;padding:16px;display:flex}.admin-page.narrow{width:100%;max-width:560px;margin:0 auto}.admin-page h1{font-size:1.45rem}.admin-page h2{font-size:1.05rem}.admin-page .page-header{background:0 0;border:0;margin:-8px -8px 0;position:static}.panel{border:1px solid var(--line);background:var(--surface);border-radius:14px;flex-direction:column;gap:14px;padding:16px;display:flex}.panel.flush{gap:0;padding:0;overflow:hidden}.panel.flush:empty{display:none}.panel-head{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;display:flex}.tiles{grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:12px;display:grid}.tile{border:1px solid var(--line);background:var(--surface);border-radius:14px;flex-direction:column;gap:2px;padding:14px 16px;display:flex}.tile:first-child{background:linear-gradient(var(--surface), var(--surface)) padding-box, var(--gradient) border-box;border:2px solid #0000}.tile-label{color:var(--muted);font-size:.85rem}.tile strong{font-variant-numeric:tabular-nums;font-size:1.9rem;line-height:1.15}.tile small{color:var(--muted);font-size:.8rem}.chips{flex-wrap:wrap;gap:8px;display:flex}.chip{border:1px solid var(--line);background:var(--surface);border-radius:999px;min-height:34px;padding:0 14px;font-size:.9rem}.chip.active{border-color:var(--text);background:var(--text);color:#fff}.bars{align-items:flex-end;gap:4px;height:190px;margin:0;padding:0;list-style:none;display:flex}.bars li{flex-direction:column;flex:1;justify-content:flex-end;align-items:center;gap:4px;min-width:0;height:100%;display:flex}.bar{background:#f58a2b;border-radius:4px 4px 0 0;width:100%;max-width:34px;min-height:2px}.bar-value{font-variant-numeric:tabular-nums;color:#4c4c57;font-size:.75rem}.bar-day{color:var(--muted);white-space:nowrap;font-size:.68rem}.bars li:nth-child(2n) .bar-day{visibility:hidden}.search{max-width:420px;background:var(--surface)!important}.rows{margin:0;padding:0;list-style:none}.row{align-items:center;gap:12px;padding:10px 0;display:flex}.row.link{padding:12px 14px}.rows li+li{border-top:1px solid var(--line)}.row.link:hover{background:#fafafb}.row-main{overflow-wrap:anywhere;flex:1;min-width:0}.row-main .badge{margin-left:8px}.row-main small,.row-side small{color:var(--muted);text-overflow:ellipsis;font-size:.8rem;display:block;overflow:hidden}.row-side{text-align:right;white-space:nowrap;font-size:.88rem}.post-grid{grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:12px;margin:0;padding:0;list-style:none;display:grid}.post-tile{border:1px solid var(--line);background:var(--surface);border-radius:14px;flex-direction:column;display:flex;overflow:hidden}.post-thumb img{aspect-ratio:1;object-fit:cover;background:#111;width:100%;display:block}.post-tile-body{flex-direction:column;flex:1;gap:6px;padding:10px 12px;display:flex}.post-tile-body .caption{cursor:default;margin:0;font-size:.9rem}.post-tile-head{flex-wrap:wrap;align-items:center;gap:4px 8px;min-width:0;display:flex}.post-tile-foot{align-items:center;gap:10px;margin-top:auto;display:flex}.post-tile-foot .icon-button{min-width:36px;min-height:36px;margin-left:auto}.mini-stat{color:#4c4c57;align-items:center;gap:4px;font-size:.85rem;display:inline-flex}.more{text-align:center}.user-card{flex-flow:wrap;align-items:center}.user-card-main{overflow-wrap:anywhere;flex:1;min-width:200px}.user-card .profile-stats{border-block:1px solid var(--line);flex:100%;padding:10px 0}.user-card-actions{flex-wrap:wrap;flex:100%;gap:10px;display:flex}.detail-image{object-fit:contain;background:#111;border-radius:14px;width:100%;max-height:560px;display:block}.detail-body{flex-direction:column;align-items:flex-start;gap:10px;display:flex}.detail-body .post-tile-head{width:100%}@media (width>=768px){.shell.admin .column{margin:12px auto}}@media (width>=1160px){.shell.admin{grid-template-columns:244px minmax(0,1fr)}.shell.admin .nav .brand{font-size:1.45rem}}@media (width<=520px){.post-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.row-side{display:none}}
