body.cmp-body{overscroll-behavior:none;background:#000}.cmp{--g:16px;--w:min(100% - var(--g) * 2, 720px);z-index:50;color:#fff;isolation:isolate;background:#000;grid-template-rows:auto minmax(0,1fr) auto;font-size:16px;display:grid;position:fixed;inset:0}.cmp[data-mode=post]{color:#000;background:#f2f2f7}.cmp.is-flash:after{content:"";opacity:.85;pointer-events:none;background:#fff;position:fixed;inset:0}.cmp__top{padding:calc(env(safe-area-inset-top) + 10px) 0 10px;width:var(--w);z-index:3;justify-content:space-between;align-items:center;gap:12px;margin-inline:auto;display:flex}.cmp__as{text-align:center;opacity:.75;text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-size:14px;font-weight:550;overflow:hidden}.cmp__round{cursor:pointer;color:#fff;border:0;border-radius:50%;flex:none;place-items:center;width:44px;height:44px;padding:0;display:grid}.cmp__round svg{width:20px;height:20px}.cmp__round--sm{width:32px;height:32px}.cmp__round--sm svg{width:15px;height:15px}.cmp[data-mode=post] .cmp__top .cmp__round{color:#000;background:var(--lg-bg)!important;box-shadow:var(--lg-edge)!important}.cmp__post{color:#000;min-height:40px;font:inherit;cursor:pointer;background:#fff;border:0;border-radius:999px;padding:0 20px;font-size:16px;font-weight:600;box-shadow:0 6px 16px -8px #00000080}.cmp[data-mode=post] .cmp__post{color:#fff;background:#000}.cmp__post:disabled{opacity:.35;cursor:default}.cmp__post[hidden]{display:none}.cmp__stage{min-height:0;width:var(--w);background:#0c0c0d;border-radius:28px;place-items:center;margin-inline:auto;display:grid;position:relative;overflow:hidden}.cmp[data-mode=post] .cmp__stage{background:0 0;border-radius:0;place-items:stretch stretch}.cmp__camera,.cmp__still{object-fit:cover;background:#000;width:100%;height:100%;position:absolute;inset:0}.cmp__camera.is-mirrored{transform:scaleX(-1)}video.cmp__still{object-fit:contain}.cmp [hidden]{display:none!important}.cmp__hint{text-align:center;color:#ffffffbf;max-width:30ch;padding:0 24px;font-size:15px;line-height:1.45;position:relative}.cmp__writer{align-content:start;gap:14px;width:100%;padding:8px 0 20px;display:none;overflow-y:auto}.cmp[data-mode=post] .cmp__writer{display:grid}.cmp[data-mode=post] :is(.cmp__camera,.cmp__still,.cmp__hint,.cmp__caption){display:none!important}.cmp__writer textarea{color:#000;width:100%;min-height:160px;font:inherit;resize:none;background:0 0;border:0;outline:none;font-size:22px;line-height:1.4}.cmp__writer textarea::placeholder{color:#3c3c4359}.cmp__attached{background:#000;border-radius:18px;justify-self:start;max-width:min(100%,420px);position:relative;overflow:hidden;box-shadow:0 0 0 .5px #00000014}.cmp__attached img,.cmp__attached video{max-width:100%;max-height:46svh;display:block}.cmp__attached .cmp__round{position:absolute;top:8px;right:8px}.cmp__writer-tools{border-top:.5px solid var(--sys-sep);justify-content:space-between;align-items:center;gap:12px;padding-top:12px;display:flex}.cmp__chip{color:#000;cursor:pointer;background:var(--lg-bg);min-height:40px;box-shadow:var(--lg-edge);white-space:nowrap;border-radius:999px;align-items:center;gap:8px;padding:0 16px;font-size:15px;font-weight:550;display:inline-flex}.cmp__chip:focus-within{outline-offset:2px;outline:2px solid #000}.cmp__chip svg{width:20px;height:20px}.cmp__count{color:var(--sys-label-2);font-size:13px}.cmp__timer{font-variant-numeric:tabular-nums;border-radius:999px;align-items:center;gap:8px;min-height:32px;padding:0 14px;font-size:15px;font-weight:600;display:inline-flex;position:absolute;top:14px;left:50%;translate:-50%}.cmp__timer i{background:#ff3b30;border-radius:50%;width:8px;height:8px;animation:1s steps(2,end) infinite cmp-blink}@keyframes cmp-blink{50%{opacity:.2}}.cmp__caption{position:absolute;bottom:12px;left:12px;right:12px}.cmp__caption textarea{color:#fff;width:100%;min-height:48px;font:inherit;resize:none;border:0;border-radius:22px;outline:none;padding:12px 16px;font-size:16px}.cmp__caption textarea::placeholder{color:#ffffffb3}.cmp__sheet{color:#000;text-align:center;border-radius:28px;justify-items:center;gap:8px;width:min(100% - 24px,420px);padding:24px;display:grid;position:absolute;bottom:12px;left:50%;translate:-50%;background:#ffffffe0!important}.cmp__sheet-kicker{letter-spacing:.06em;text-transform:uppercase;color:var(--sys-label-2);font-size:12px;font-weight:600}.cmp__sheet h2{letter-spacing:-.02em;font-size:22px;font-weight:650}.cmp__sheet p:not(.cmp__sheet-kicker){color:#3a3a3c;text-wrap:balance;max-width:32ch;font-size:15px;line-height:1.45}.cmp__sheet h2{text-wrap:balance}.cmp:has(.cmp__sheet:not([hidden])) .cmp__hint{visibility:hidden}.cmp__primary{color:#fff;background:#000;border-radius:999px;justify-self:center;align-items:center;min-height:44px;margin-top:6px;padding:0 22px;font-weight:600;text-decoration:none;display:inline-flex}.cmp__progress{background:#ffffff40;border-radius:99px;height:4px;position:absolute;bottom:12px;left:12px;right:12px;overflow:hidden}.cmp[data-mode=post] .cmp__progress{background:#00000014}.cmp__progress span{border-radius:inherit;background:currentColor;width:0;height:100%;transition:width .2s linear;display:block}.cmp__bar{width:var(--w);padding:18px 0 calc(env(safe-area-inset-bottom) + 14px);justify-items:center;gap:14px;margin-inline:auto;display:grid}.cmp__controls{grid-template-columns:1fr 76px 1fr;align-items:center;width:100%;max-width:420px;display:grid;position:relative}.cmp__controls>:first-child{justify-self:start}.cmp__controls>[data-flip]{justify-self:end}.cmp[data-mode=post] .cmp__controls{display:none}.cmp__lib,.cmp__chip{cursor:pointer;position:relative}.cmp__file{opacity:0;cursor:pointer;width:100%;height:100%;font-size:0;position:absolute;inset:0}.cmp__lib:focus-within{outline-offset:3px;outline:2px solid #fff}.cmp__shutter{cursor:pointer;background:0 0;border:0;border-radius:50%;place-items:center;width:76px;height:76px;padding:0;display:grid;box-shadow:inset 0 0 0 4px #fff}.cmp__shutter span{width:60px;height:60px;transition:width .2s var(--ease), height .2s var(--ease), border-radius .2s var(--ease), background-color .2s var(--ease);background:#fff;border-radius:50%}.cmp__shutter:active span{transform:scale(.94)}.cmp__shutter:focus-visible{outline-offset:4px;outline:2px solid #fff}.cmp[data-mode=video] .cmp__shutter span{background:#ff3b30}.cmp.is-recording .cmp__shutter span{border-radius:8px;width:30px;height:30px}.cmp.has-capture .cmp__shutter,.cmp.has-capture [data-flip],.cmp.has-capture .cmp__lib{visibility:hidden}.cmp__retake{color:#fff;min-height:44px;font:inherit;cursor:pointer;border:0;border-radius:999px;padding:0 22px;font-size:16px;font-weight:600;position:absolute;top:50%;left:50%;translate:-50% -50%}.cmp__modes{border-radius:999px;grid-template-columns:repeat(4,minmax(0,1fr));gap:2px;width:100%;max-width:420px;padding:4px;display:grid}.cmp:not([data-mode=post]) .cmp__modes{-webkit-backdrop-filter:blur(20px)saturate(160%);backdrop-filter:blur(20px)saturate(160%);background:#ffffff24;box-shadow:inset 0 1px #ffffff4d,inset 0 0 0 .5px #ffffff2e}.cmp__modes button{min-height:38px;color:inherit;font:inherit;opacity:.7;cursor:pointer;white-space:nowrap;background:0 0;border:0;border-radius:999px;padding:0 8px;font-size:15px;font-weight:500}.cmp__modes button[aria-selected=true]{opacity:1;background:#ffffff38;font-weight:600;box-shadow:inset 0 1px #ffffff59}.cmp[data-mode=post] .cmp__modes button[aria-selected=true]{background:#fff;box-shadow:0 2px 8px -2px #0003}.cmp__modes button:focus-visible{outline-offset:1px;outline:2px solid}.cmp__toast{left:50%;top:calc(env(safe-area-inset-top) + 70px);z-index:10;color:#000;border-radius:999px;padding:10px 18px;font-size:15px;font-weight:600;position:fixed;translate:-50%}@media (width<=359.98px){.cmp__modes button{padding:0 4px;font-size:14px}}@media (prefers-reduced-motion:reduce){.cmp__timer i{animation:none}.cmp__shutter span{transition:none}}
