/* Editor de imagem (antes de enviar) e Status */
.ie{position:fixed;inset:var(--tb,0px) 0 0 0;z-index:80;background:#101214;color:#fff;display:flex;flex-direction:column;font-family:"Segoe UI",Arial,sans-serif}
.ie-top{display:flex;align-items:center;gap:6px;padding:10px 12px;background:#00000066}
.ie-t{font-weight:600;font-size:15px;margin-left:6px}
.ie .sp{flex:1}
.ie-tools{display:flex;gap:2px}
.ie-b{width:42px;height:42px;border-radius:50%;border:0;background:transparent;color:#fff;display:inline-grid;place-items:center;cursor:pointer;padding:0}
.ie-b:hover{background:#ffffff22}.ie-b.on{background:#0a7fc0}.ie-b:disabled{opacity:.35;cursor:default;background:transparent}
.ie-b svg{width:22px;height:22px}
.ie-stage{position:relative;flex:1;min-height:0;display:grid;place-items:center;overflow:hidden;touch-action:none}
.ie-cv{background:repeating-conic-gradient(#ffffff14 0 25%,transparent 0 50%) 0 0/16px 16px;box-shadow:0 8px 30px #0008;touch-action:none;user-select:none}
.ie-bar{padding:10px 14px calc(12px + env(safe-area-inset-bottom));background:#00000066;display:grid;gap:10px}
.ie-pal,.ie-emo{display:flex;gap:8px;justify-content:center;flex-wrap:wrap}
.ie-pal[hidden],.ie-emo[hidden]{display:none}
.ie-sw{width:26px;height:26px;border-radius:50%;border:2px solid #fff8;background:var(--c);cursor:pointer;padding:0}
.ie-sw.on{border-color:#fff;transform:scale(1.2)}
.ie-emo button{font-size:24px;line-height:1;width:40px;height:40px;border-radius:10px;border:0;background:#ffffff14;cursor:pointer}
.ie-emo button:hover{background:#ffffff30}
.ie-foot{display:flex;gap:10px;align-items:center;max-width:720px;width:100%;margin:0 auto}
.ie-cap{flex:1;min-width:0;height:44px;border-radius:22px;border:0;background:#2a2f33;color:#fff;padding:0 18px;font:inherit;font-size:15px;outline:0}
.ie-cap::placeholder{color:#aab}
.ie-send{width:48px;height:48px;border-radius:50%;border:0;background:#0a7fc0;color:#fff;display:grid;place-items:center;cursor:pointer;flex:none;padding:0}
.ie-send:hover{background:#0b8fd8}.ie-send svg{width:22px;height:22px}
.ie-send.loading{opacity:.6;pointer-events:none}
.ie-crop{position:absolute;border:2px solid #fff;box-shadow:0 0 0 9999px #000a;cursor:move;touch-action:none;box-sizing:border-box;background:
  linear-gradient(#fff4,#fff4) 33.3% 0/1px 100% no-repeat,linear-gradient(#fff4,#fff4) 66.6% 0/1px 100% no-repeat,linear-gradient(#fff4,#fff4) 0 33.3%/100% 1px no-repeat,linear-gradient(#fff4,#fff4) 0 66.6%/100% 1px no-repeat}
.ie-crop .h{position:absolute;width:22px;height:22px;background:#fff;border-radius:50%;box-shadow:0 1px 4px #0008}
.ie-crop .nw{left:-11px;top:-11px;cursor:nwse-resize}.ie-crop .ne{right:-11px;top:-11px;cursor:nesw-resize}
.ie-crop .sw{left:-11px;bottom:-11px;cursor:nesw-resize}.ie-crop .se{right:-11px;bottom:-11px;cursor:nwse-resize}
.ie-crop[hidden],.ie-ok[hidden]{display:none}
.ie-ok{position:absolute;transform:translateX(-50%);height:36px;border-radius:18px;border:0;background:#0a7fc0;color:#fff;padding:0 16px 0 12px;display:flex;align-items:center;gap:6px;font:600 14px "Segoe UI",Arial,sans-serif;cursor:pointer}
.ie-ok svg{width:18px;height:18px}
.ie-ti{position:absolute;transform:translate(-50%,-50%);min-width:160px;max-width:80%;text-align:center;background:#0006;border:1px dashed #fff;border-radius:8px;font:700 32px "Segoe UI",Arial,sans-serif;outline:0;padding:4px 10px}
@media(max-width:600px){.ie-t{display:none}.ie-b{width:38px;height:38px}}

/* Faixa de Status no Início */
.hstat{display:flex;gap:14px;align-items:flex-start;overflow-x:auto;overflow-y:hidden;padding:6px 4px;scrollbar-width:thin;min-width:0;flex:1}
.st-b{display:flex;flex-direction:column;align-items:center;gap:4px;border:0;background:transparent;cursor:pointer;padding:0;width:74px;flex:none;color:var(--k-text,inherit)}
.st-ring{position:relative;display:grid;place-items:center;width:56px;height:56px;border-radius:50%;padding:3px;background:#c8cdd2;box-sizing:border-box}
.st-b.new .st-ring{background:conic-gradient(#25d366,#0a7fc0,#25d366)}
.st-ring .av{width:100%;height:100%;border-radius:50%;border:2px solid var(--k-bg,#fff);box-sizing:border-box;font-size:15px}
.st-ring .av img{border-radius:50%}
.st-add .st-ring{background:transparent;padding:0}
.st-add .st-ring .av{border:0}
.st-plus{position:absolute;right:-2px;bottom:-2px;width:20px;height:20px;border-radius:50%;background:#0a7fc0;color:#fff;display:grid;place-items:center;border:2px solid var(--k-bg,#fff)}
.st-plus svg{width:12px;height:12px}
.st-n{font:400 11px/1.2 "Segoe UI",Arial,sans-serif;max-width:74px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:var(--k-muted,#666)}
.st-b:hover .st-n{color:var(--k-text,#000)}

/* Escolher o tipo de status */
.st-pick{position:fixed;inset:0;z-index:70;background:#0007;display:grid;place-items:center;padding:16px}
.st-card{position:relative;width:min(380px,100%);background:var(--panel,#fff);color:var(--text,#111);border-radius:14px;padding:22px 18px 18px;display:grid;gap:10px;box-shadow:0 12px 40px #0005}
.st-card h3{margin:0;font-size:18px}.st-card p{margin:0 0 4px;font-size:13px;opacity:.7}
.st-x{position:absolute;right:8px;top:8px;width:34px;height:34px;border-radius:50%;border:0;background:transparent;color:inherit;cursor:pointer;display:grid;place-items:center}
.st-x:hover{background:#8883}
.st-opt{display:grid;grid-template-columns:44px 1fr;grid-template-rows:auto auto;column-gap:12px;align-items:center;text-align:left;border:1px solid #8884;background:transparent;color:inherit;border-radius:12px;padding:10px 12px;cursor:pointer;font:inherit}
.st-opt:hover,.st-opt:focus-visible{background:#0a7fc014;border-color:#0a7fc0;outline:0}
.st-opt span{grid-row:1/3;width:44px;height:44px;border-radius:50%;background:#0a7fc0;color:#fff;display:grid;place-items:center}
.st-opt b{font-size:15px;align-self:end}.st-opt small{opacity:.65;align-self:start}

/* Status de texto */
.st-txt{position:fixed;inset:0;z-index:80;display:flex;flex-direction:column;color:#fff;font-family:"Segoe UI",Arial,sans-serif}
.st-tbar,.st-tfoot{display:flex;align-items:center;gap:6px;padding:12px}
.st-txt textarea{flex:1;min-height:0;background:transparent;border:0;outline:0;resize:none;color:#fff;text-align:center;font:600 40px/1.25 "Segoe UI",Arial,sans-serif;padding:0 8%;display:block;margin:auto 0}
.st-txt textarea::placeholder{color:#fff9}
.st-txt .ie-send{margin-right:6px}

/* Ver status */
.st-view{position:fixed;inset:0;z-index:85;background:#000;color:#fff;display:flex;flex-direction:column;font-family:"Segoe UI",Arial,sans-serif;user-select:none}
.st-bars{display:flex;gap:4px;padding:10px 12px 0;z-index:3}
.st-bars i{flex:1;height:3px;border-radius:2px;background:#fff4;overflow:hidden}
.st-bars b{display:block;height:100%;width:0;background:#fff}
.st-head{display:flex;align-items:center;gap:10px;padding:8px 12px;z-index:3;background:linear-gradient(#0009,transparent)}
.st-head .av{width:40px;height:40px;font-size:14px}
.st-head .tx{display:grid;line-height:1.2}.st-head small{opacity:.75}
.st-head .sp{flex:1}
.st-body{position:absolute;inset:0;display:grid;place-items:center;z-index:1}
.st-body img{max-width:100%;max-height:100%;object-fit:contain;-webkit-user-drag:none}
.st-t{max-width:min(760px,86%);text-align:center;font-weight:600;line-height:1.3;overflow-wrap:anywhere;white-space:pre-wrap}
.st-cap{position:absolute;left:0;right:0;bottom:64px;text-align:center;padding:10px 18px;background:#0008;font-size:16px;z-index:3;overflow-wrap:anywhere}
.st-vfoot{position:absolute;left:0;right:0;bottom:0;display:flex;justify-content:center;padding:12px;z-index:3}
.st-views{display:flex;gap:8px;align-items:center;border:0;background:#ffffff22;color:#fff;border-radius:20px;padding:9px 16px;font:inherit;cursor:pointer}
.st-views:hover{background:#ffffff38}.st-views svg{width:18px;height:18px}
.st-nav{position:absolute;top:70px;bottom:70px;width:34%;z-index:2;border:0;background:transparent;cursor:pointer;padding:0}
.st-nav.l{left:0}.st-nav.r{right:0}
.st-vw{position:absolute;left:0;right:0;bottom:0;max-height:60%;background:var(--panel,#1c1f22);color:var(--text,#fff);border-radius:16px 16px 0 0;z-index:6;display:flex;flex-direction:column;box-shadow:0 -8px 30px #0008}
.st-vw .ie-b{color:inherit}
.st-vh{display:flex;align-items:center;padding:6px 8px 6px 18px}
.st-vl{overflow:auto;padding:0 12px 14px}.st-vl p{padding:14px 6px;margin:0;opacity:.7}
.st-vr{display:flex;align-items:center;gap:12px;padding:8px 6px}.st-vr .av{width:40px;height:40px;font-size:14px}.st-vr .tx{display:grid;line-height:1.25}.st-vr small{opacity:.65}
