html:has(body.cmp-body),body.cmp-body{overscroll-behavior:none;background:#fff;overflow:hidden}.cmp{--g:16px;--w:min(100% - var(--g) * 2, 600px);--pad:calc((100% - var(--w)) / 2);left:0;right:0;top:var(--vvt,0px);height:var(--vvh,100dvh);z-index:50;color:#000;isolation:isolate;background:#fff;grid-template-rows:auto minmax(0,1fr) auto;font-size:16px;display:grid;position:fixed}.cmp:not([data-mode=post]){color:#fff;background:#000}.cmp.is-flash:after{content:"";opacity:.85;pointer-events:none;background:#fff;position:fixed;inset:0}.cmp [hidden]{display:none!important}.cmp__top{min-height:56px;padding:calc(env(safe-area-inset-top) + 6px) var(--pad) 6px;z-index:3;justify-content:space-between;align-items:center;gap:12px;display:flex}.cmp__cancel{min-height:44px;color:var(--tint);align-items:center;margin-left:-4px;padding:0 4px;font-size:17px;text-decoration:none;display:inline-flex}.cmp__cancel:hover{text-underline-offset:3px;text-decoration:underline}.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__post{background:var(--cta);min-height:36px;color:var(--on-cta);font:inherit;cursor:pointer;border:0;border-radius:999px;padding:0 18px;font-size:15px;font-weight:600}.cmp__post:disabled{opacity:.3;cursor:default}.cmp__post:focus-visible,.cmp__cancel:focus-visible,.cmp__tool:focus-visible,.cmp__tool:focus-within{outline:2px solid var(--tint);outline-offset:2px}.cmp[data-mode=post] [data-back],.cmp:not([data-mode=post]) :is(.cmp__cancel,.cmp__post,.cmp__compose,.cmp__tools){display:none}.cmp__compose{overscroll-behavior:contain;min-height:0;padding:4px var(--pad) 24px;overflow-y:auto}.cmp__row{grid-template-columns:40px minmax(0,1fr);align-items:start;gap:12px;display:grid}.cmp__avatar{background:var(--sys-fill,#f2f2f7);color:#3c3c4366;border-radius:50%;place-items:center;width:40px;height:40px;display:grid;overflow:hidden}.cmp__avatar svg{width:26px;height:26px;translate:0 2px}.cmp__avatar img{object-fit:cover;width:100%;height:100%}.cmp__body{gap:12px;min-width:0;display:grid}.cmp__as{color:var(--sys-label-2);margin-bottom:-6px;padding-top:2px;font-size:14px;line-height:1}.cmp__body textarea{color:#000;width:100%;min-height:40px;font:inherit;resize:none;background:0 0;border:0;outline:none;padding:7px 0 0;font-size:20px;line-height:1.4;display:block;overflow:hidden}.cmp__body textarea::placeholder{color:#3c3c4366}.cmp__attached{background:#000;border-radius:16px;justify-self:start;max-width:100%;position:relative;overflow:hidden;box-shadow:0 0 0 .5px #0000001a}.cmp__attached img,.cmp__attached video{max-width:100%;max-height:min(52svh,520px);display:block}.cmp__attached .cmp__round{position:absolute;top:8px;right:8px}.cmp__progress{background:#00000014;border-radius:99px;height:4px;overflow:hidden}.cmp__progress span{border-radius:inherit;background:var(--tint);width:0;height:100%;transition:width .2s linear;display:block}.cmp__tools{border-top:.5px solid var(--sys-sep,#3c3c434a);-webkit-backdrop-filter:blur(20px)saturate(180%);backdrop-filter:blur(20px)saturate(180%);padding:4px var(--pad) calc(env(safe-area-inset-bottom) + 4px);background:#ffffffeb}.cmp.is-typing .cmp__tools{padding-bottom:4px}.cmp__tools-in{align-items:center;gap:4px;margin-left:-10px;display:flex}.cmp__tool{width:44px;height:44px;color:var(--tint);cursor:pointer;background:0 0;border:0;border-radius:50%;flex:none;place-items:center;padding:0;display:grid;position:relative}.cmp__tool svg{width:23px;height:23px}.cmp__tool:hover{background:var(--tint-fill)}.cmp__tool:active{background:var(--highlight)}.cmp__meter{font-variant-numeric:tabular-nums;color:var(--sys-label-2);align-items:center;gap:8px;margin-left:auto;padding-left:12px;font-size:13px;display:inline-flex}.cmp__ring{width:24px;height:24px;color:var(--tint);transition:width .16s,height .16s}.cmp.is-near .cmp__ring{width:30px;height:30px}.cmp__file{opacity:0;cursor:pointer;width:100%;height:100%;font-size:0;position:absolute;inset:0}.cmp__stage{min-height:0;width:var(--w);background:#0c0c0d;border-radius:28px;place-items:center;margin-inline:auto;display:none;position:relative;overflow:hidden}.cmp:not([data-mode=post]) .cmp__stage{display:grid}.cmp__camera{object-fit:cover;background:#000;width:100%;height:100%;position:absolute;inset:0}.cmp__camera.is-mirrored{transform:scaleX(-1)}.cmp__hint{text-align:center;color:#ffffffbf;max-width:30ch;padding:0 24px;font-size:15px;line-height:1.45;position:relative}.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__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;text-wrap:balance;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:has(.cmp__sheet:not([hidden])) .cmp__hint{visibility:hidden}.cmp__primary{background:var(--cta);min-height:44px;color:var(--on-cta);border-radius:999px;justify-self:center;align-items:center;margin-top:6px;padding:0 22px;font-weight:600;text-decoration:none;display:inline-flex}.cmp__bar{width:var(--w);padding:18px 0 calc(env(safe-area-inset-bottom) + 14px);justify-items:center;gap:14px;margin-inline:auto;display:none}.cmp:not([data-mode=post]) .cmp__bar{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__lib{cursor:pointer;position:relative}.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__modes{-webkit-backdrop-filter:blur(20px)saturate(160%);backdrop-filter:blur(20px)saturate(160%);background:#ffffff24;border-radius:999px;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px;width:100%;max-width:320px;padding:4px;display:grid;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__modes button:focus-visible{outline-offset:1px;outline:2px solid}.cmp__toast{left:50%;top:calc(env(safe-area-inset-top) + 64px);z-index:10;color:#000;border-radius:999px;padding:10px 18px;font-size:15px;font-weight:600;position:fixed;translate:-50%}@media (prefers-reduced-motion:reduce){.cmp__timer i{animation:none}.cmp__shutter span,.cmp__ring{transition:none}}
