:root{--bg:#fff;--fg:#000;--muted:#737373;--line:#dbdbdb;--chip:#efefef;--chip-press:#dbdbdb;--blue:#0095f6;--red:#ed4956;--sheet:#fff;--gap:2px;--safe-top:env(safe-area-inset-top);--safe-bottom:env(safe-area-inset-bottom);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;-webkit-text-size-adjust:100%;font-family:-apple-system,BlinkMacSystemFont,SF Pro Text,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:14px;line-height:1.3}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;--bg:#000;--fg:#f5f5f5;--muted:#a8a8a8;--line:#262626;--chip:#262626;--chip-press:#363636;--sheet:#262626}}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{background:var(--bg);color:var(--fg);overscroll-behavior-y:none;margin:0}body{min-height:100dvh}#root{max-width:640px;margin:0 auto}button,input,textarea{font:inherit;color:inherit}button{cursor:pointer;background:0 0;border:0;padding:0}button:disabled{opacity:.4}img,video{display:block}.topbar{height:calc(44px + var(--safe-top));padding:var(--safe-top) 8px 0 16px;background:var(--bg);align-items:center;gap:6px;display:flex}.topbar.sticky{z-index:10;position:sticky;top:0}.screen .topbar{border-bottom:.5px solid var(--line);justify-content:space-between;padding-left:4px}.topbar-title{flex-direction:column;align-items:center;font-size:15px;font-weight:600;line-height:1.15;display:flex}.topbar-title small{color:var(--muted);text-transform:lowercase;font-size:11px;font-weight:600}.username{letter-spacing:-.2px;font-size:17px;font-weight:700}.push{margin-left:auto}.icon-btn{place-items:center;width:40px;height:40px;display:grid}.profile{padding:4px 16px 0}.profile-top{align-items:center;gap:28px;display:flex}.profile-right{flex:1}.profile-name{margin-bottom:4px;font-size:13px;font-weight:600}.avatar{background:var(--chip);color:var(--muted);border-radius:50%;flex:none;place-items:center;font-weight:600;display:grid;overflow:hidden}.avatar img{object-fit:cover;width:100%;height:100%}.stats{gap:28px;display:flex}.stats div{flex-direction:column;display:flex}.stats b{font-size:15px;font-weight:600;line-height:1.2}.stats span{font-size:13px}.bio{white-space:pre-wrap;margin:10px 0 0;font-size:13px}.profile-actions{gap:6px;margin:12px 0 14px;display:flex}.profile-actions>*{flex:1}.btn-gray{background:var(--chip);cursor:pointer;border-radius:8px;justify-content:center;align-items:center;height:32px;padding:0 14px;font-size:13px;font-weight:600;display:inline-flex}.btn-gray:active{background:var(--chip-press)}.btn-blue{background:var(--blue);color:#fff;border-radius:8px;height:36px;font-size:13px;font-weight:600}.block{width:100%;display:flex}.btn-link{color:var(--fg);padding:8px;font-size:15px}.btn-link.strong{color:var(--blue);font-weight:600}.grid{gap:var(--gap);grid-template-columns:repeat(3,1fr);display:grid}.tile{aspect-ratio:3/4;background:var(--chip);position:relative;overflow:hidden}.tile img{object-fit:cover;width:100%;height:100%}.tile:active img{opacity:.8}.tile-badge{color:#fff;filter:drop-shadow(0 0 2px #00000080);position:absolute;top:6px;right:6px}.month{padding:18px 14px 8px}section:first-child>.month{padding-top:10px}.month-title{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.month h2{letter-spacing:-.2px;margin:0;font-size:17px;font-weight:700}.month-count{color:var(--muted);font-size:12px}.month-highlights{color:var(--fg);cursor:text;margin:4px 0 0;padding-left:18px;font-size:13px}.month-highlights li{margin:1px 0}.month-add{color:var(--muted);margin-top:2px;font-size:12px}.month-edit textarea{width:100%;margin-top:8px}.row-end{justify-content:flex-end;gap:4px;display:flex}.empty{text-align:center;color:var(--muted);padding:56px 32px;font-size:13px}.empty h2{color:var(--fg);margin:14px 0 6px;font-size:17px;font-weight:700}.empty-ring{border:2px solid var(--fg);border-radius:50%;place-items:center;width:72px;height:72px;margin:auto;font-size:30px;display:grid}.screen{background:var(--bg);z-index:20;flex-direction:column;max-width:640px;margin:0 auto;display:flex;position:fixed;inset:0}.scroll{-webkit-overflow-scrolling:touch;padding-bottom:calc(24px + var(--safe-bottom));flex:1;overflow-y:auto}.post{margin-bottom:14px}.post-head{align-items:center;gap:10px;height:52px;padding:0 4px 0 12px;font-size:13px;font-weight:600;display:flex}.carousel{scroll-snap-type:x mandatory;scrollbar-width:none;background:var(--chip);display:flex;position:relative;overflow-x:auto}.carousel::-webkit-scrollbar{display:none}.slide{scroll-snap-align:center;scroll-snap-stop:always;flex:0 0 100%;position:relative}.slide img,.slide video,.media-video{object-fit:cover;width:100%;height:100%}.media-video{position:relative}.mute-pill{color:#fff;background:#262626d9;border-radius:50%;place-items:center;width:28px;height:28px;display:grid;position:absolute;bottom:12px;right:12px}.counter{text-align:center;color:#fff;z-index:1;background:#121212b3;border-radius:12px;flex:none;align-self:flex-start;width:40px;margin:12px 12px 0 -52px;padding:3px 0;font-size:12px;position:sticky;left:calc(100% - 52px)}.dots{justify-content:center;gap:4px;padding:10px 0 0;display:flex}.dots span{background:var(--line);border-radius:50%;width:6px;height:6px}.dots span.on{background:var(--blue)}.post-body{padding:8px 12px 0;font-size:13px}.caption{white-space:pre-wrap;-webkit-line-clamp:2;-webkit-box-orient:vertical;margin:0 0 4px;display:-webkit-box;overflow:hidden}.caption.open{display:block}.caption .more{color:var(--muted)}.post time{color:var(--muted);margin-top:4px;font-size:11px;display:block}.sheet-backdrop{z-index:50;background:#0006;justify-content:center;align-items:flex-end;display:flex;position:fixed;inset:0}.sheet{background:var(--sheet);width:100%;max-width:640px;padding:8px 0 calc(8px + var(--safe-bottom));border-radius:14px 14px 0 0;animation:.2s ease-out up}.sheet button{text-align:center;border-bottom:.5px solid var(--line);width:100%;padding:14px;font-size:15px;display:block}.sheet button:last-child{color:var(--muted);border:0}.sheet .danger{color:var(--red);font-weight:600}@keyframes up{0%{transform:translateY(100%)}}.form{padding:0 16px calc(24px + var(--safe-bottom))}.form section{border-bottom:.5px solid var(--line);padding:16px 0}.form section:last-child{border:0}.form h3{justify-content:space-between;margin:0 0 8px;font-size:14px;font-weight:600;display:flex}.form h3 small{color:var(--muted);font-weight:400}.form label:not(.btn-gray):not(.switch-row):not(.avatar-pick):not(.ed-add){color:var(--muted);flex-direction:column;gap:4px;padding:10px 0;font-size:13px;display:flex}input:not([type=checkbox]):not([type=range]),textarea{border:.5px solid var(--line);background:var(--bg);width:100%;color:var(--fg);border-radius:10px;padding:10px 12px;font-size:16px}textarea{resize:vertical}.hint{color:var(--muted);margin:4px 0 10px;font-size:12px}.error{color:var(--red)}.switch-row{justify-content:space-between;align-items:center;padding:12px 0;display:flex}.switch-row input{width:22px;height:22px;accent-color:var(--blue)}.avatar-pick{cursor:pointer;flex-direction:column;align-items:center;gap:8px;padding:20px 0 8px;display:flex}.steps{margin:0;padding-left:20px}.steps li{margin:6px 0}.progress .bar{background:var(--chip);border-radius:3px;height:6px;margin-top:16px;overflow:hidden}.progress .bar span{background:var(--blue);height:100%;transition:width .2s;display:block}.ed-strip{gap:8px;padding-bottom:4px;display:flex;overflow-x:auto}.ed-item{flex:none;width:96px}.ed-thumb{aspect-ratio:3/4;background:var(--chip);border-radius:6px;width:96px;position:relative;overflow:hidden}.ed-thumb img,.ed-thumb video{object-fit:cover;width:100%;height:100%}.ed-controls{justify-content:space-between;margin-top:4px;display:flex}.ed-controls button{background:var(--chip);border-radius:50%;width:28px;height:28px;font-size:14px}.ed-add{aspect-ratio:3/4;border:1.5px dashed var(--line);width:96px;color:var(--muted);cursor:pointer;border-radius:6px;flex:none;place-items:center;font-size:34px;display:grid}.cover-row{align-items:flex-start;gap:14px;display:flex}.cover-preview{aspect-ratio:3/4;background:var(--chip);border-radius:6px;flex:none;width:96px;overflow:hidden}.cover-preview img{object-fit:cover;width:100%;height:100%}.cover-actions{flex-direction:column;align-items:flex-start;gap:8px;display:flex}.frame-picker{margin-top:12px}.frame-picker video{object-fit:contain;background:#000;border-radius:8px;width:100%;max-height:50vh}.frame-picker input{width:100%;margin:12px 0 4px}.banner{color:#5c4400;padding:calc(8px + var(--safe-top)) 16px 8px;text-align:center;background:#fff4d6;font-size:13px}.banner+.topbar{height:44px;padding-top:0}.empty .btn-gray{margin-top:16px}
