:root{--bg:#0b0b12;--panel:#161622;--line:#262636;--text:#f2f2f7;--muted:#8b8ba0;--accent:#8b5cf6;--accent2:#fb923c;--grad:linear-gradient(135deg, var(--accent), var(--accent2));--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}*{box-sizing:border-box;margin:0}html,body,#root{height:100%}body{background:var(--bg);color:var(--text);overscroll-behavior:none;font:15px/1.4 system-ui,-apple-system,Segoe UI,Roboto,sans-serif}a{color:inherit;text-decoration:none}.app{background:var(--bg);flex-direction:column;max-width:520px;height:100%;margin:0 auto;display:flex}.main{flex:1;min-height:0;overflow-y:auto}.banner{text-align:center;background:#7c2d12;padding:8px 12px;font-size:13px}.nav{border-top:1px solid var(--line);padding:8px 0 max(8px, env(safe-area-inset-bottom));background:#0f0f18;justify-content:space-around;align-items:center;display:flex}.nav a{color:var(--muted);padding:6px 10px;font-size:13px}.nav a.active{color:var(--text);font-weight:600}.nav a.plus{background:var(--grad);color:#fff;border-radius:12px;padding:6px 18px;font-size:22px;font-weight:700;line-height:1}.feed{scroll-snap-type:y mandatory;height:100%;overflow-y:scroll}.card{scroll-snap-align:start;scroll-snap-stop:always;background:#000;height:100%;position:relative;overflow:hidden}.stage{width:100%;height:100%;display:flex}.stage video{object-fit:cover;flex:1;width:100%;min-width:0;height:100%}.stage.duet video{object-fit:cover}.overlay-text{text-align:center;text-shadow:0 2px 8px #000;pointer-events:none;padding:0 16px;font-size:26px;font-weight:800;position:absolute;top:38%;left:0;right:0}.pause-mark{opacity:.7;pointer-events:none;place-items:center;font-size:64px;display:grid;position:absolute;inset:0}.rail{flex-direction:column;align-items:center;gap:14px;display:flex;position:absolute;bottom:90px;right:8px}.rail-btn{color:#fff;cursor:pointer;background:#00000059;border:0;border-radius:999px;flex-direction:column;align-items:center;width:48px;padding:8px 0;display:flex}.rail-btn span{font-size:22px;line-height:1.1}.rail-btn small{font-size:11px}.rail-btn.on span{color:#f43f5e}.meta{text-shadow:0 1px 6px #000;position:absolute;bottom:16px;left:12px;right:76px}.author{font-weight:700}.tag{background:var(--grad);border-radius:999px;margin-left:8px;padding:2px 8px;font-size:11px}.sheet-wrap{z-index:5;background:#00000080;align-items:flex-end;display:flex;position:absolute;inset:0}.sheet{background:var(--panel);border-radius:16px 16px 0 0;flex-direction:column;width:100%;max-height:70%;display:flex}.sheet-head{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;padding:12px 16px;display:flex}.sheet-body{flex:1;padding:12px 16px;overflow-y:auto}.sheet-form{border-top:1px solid var(--line);gap:8px;padding:10px 12px;display:flex}.comment{margin-bottom:8px}.comment a{margin-right:4px;font-weight:700}.icon-btn{color:var(--text);cursor:pointer;background:0 0;border:0;font-size:18px}.page{flex-direction:column;gap:12px;padding:16px;display:flex}.page.narrow{padding-top:12vh}.logo{text-align:center;background:var(--grad);color:#0000;-webkit-background-clip:text;background-clip:text;font-size:36px}.row{justify-content:space-between;align-items:center;gap:8px;display:flex}.pad{padding:16px}.muted{color:var(--muted)}.error{color:#f87171;font-size:13px}.empty{flex-direction:column;justify-content:center;align-items:center;gap:12px;height:100%;display:flex}.form{flex-direction:column;gap:10px;display:flex}input,textarea{background:var(--panel);border:1px solid var(--line);color:var(--text);font:inherit;border-radius:10px;width:100%;padding:10px 12px}label{color:var(--muted);flex-direction:column;gap:4px;font-size:13px;display:flex}input[type=range]{accent-color:var(--accent);padding:0}progress{width:100%}.btn{background:var(--grad);color:#fff;font:inherit;cursor:pointer;text-align:center;border:0;border-radius:10px;padding:10px 16px;font-weight:600;display:inline-block}.btn.ghost{background:var(--panel);border:1px solid var(--line);color:var(--text)}.btn:disabled{opacity:.5;cursor:default}.link{color:var(--muted);cursor:pointer;font:inherit;background:0 0;border:0}.file-btn{cursor:pointer}.list{flex-direction:column;gap:8px;padding:0;list-style:none;display:flex}.list li{background:var(--panel);border:1px solid var(--line);border-radius:12px}.list a{flex-direction:column;padding:12px 14px;display:flex}.list small{color:var(--muted)}.list li.muted{padding:12px 14px}.profile-head{flex-direction:column;align-items:center;gap:8px;display:flex}.avatar{background:var(--grad);border-radius:50%;place-items:center;width:72px;height:72px;font-size:30px;font-weight:700;display:grid}.stats{color:var(--muted);gap:20px;display:flex}.stats b{color:var(--text)}.grid{grid-template-columns:repeat(3,1fr);gap:3px;display:grid}.tile{aspect-ratio:9/16;background:#000;position:relative;overflow:hidden}.tile video{object-fit:cover;width:100%;height:100%}.tile span{text-shadow:0 1px 4px #000;font-size:12px;position:absolute;bottom:4px;left:6px}.recorder{flex-direction:column;gap:8px;display:flex}.recorder video,.preview video,.duet-capture>video,.live-stage video{aspect-ratio:9/16;object-fit:cover;background:#000;border-radius:12px;width:100%;max-height:60vh}.mirror{transform:scaleX(-1)}.rec-controls{justify-content:space-between;align-items:center;display:flex}.rec-btn{color:#fff;cursor:pointer;background:#f43f5e;border:4px solid #fff;border-radius:50%;width:64px;height:64px;font-weight:700}.rec-btn.active{border-radius:14px}.duet-capture{grid-template-columns:1fr 1fr;gap:6px;display:grid}.preview{position:relative}.filters{gap:8px;padding-bottom:4px;display:flex;overflow-x:auto}.chip{background:var(--panel);border:1px solid var(--line);color:var(--text);cursor:pointer;white-space:nowrap;font:inherit;border-radius:999px;padding:6px 14px}.chip.on{background:var(--grad);border-color:#0000}.live-stage{background:#000;border-radius:12px;min-height:120px}.chat{background:var(--panel);border-radius:12px;max-height:30vh;padding:10px;overflow-y:auto}.chat p{margin-bottom:4px}.chat b{margin-right:4px}
