#replay-indicator{position:fixed;right:16px;bottom:calc(22px + env(safe-area-inset-bottom));z-index:89;width:36px;height:36px;padding:8px;border:1px solid #b6a1cd;border-radius:50%;background:#30263fe8;color:#fff;box-shadow:0 2px 6px #201a2c40;display:grid;place-items:center}#replay-indicator[hidden]{display:none}#replay-indicator svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8}#replay-indicator i{display:none;position:absolute;right:1px;top:0;width:7px;height:7px;border-radius:50%;background:#ff686f;box-shadow:0 0 0 2px #30263f}#replay-indicator.is-recording i{display:block}body.prank-camera-prompt #replay-indicator{display:none}
.replay-dialog{box-sizing:border-box;width:min(calc(100vw - 20px),420px);height:min(calc(100dvh - 24px),980px);max-height:calc(100dvh - 24px);max-width:calc(100vw - 20px);margin:auto;padding:16px;background:#eee5f6;color:#513571;border:2px solid #7954a3;border-radius:26px;box-shadow:4px 6px 0 #7954a3;overflow:auto}.replay-dialog[open]{display:flex;flex-direction:column;gap:10px}.replay-dialog::backdrop{background:#201a2cbb}.replay-dialog header{display:flex;align-items:center;gap:10px;flex:none}.replay-dialog h2{font-size:18px;line-height:1.35;margin:0;flex:1}.replay-dialog .replay-close{width:32px;height:32px;min-width:32px;padding:0;border:0;background:transparent;color:#513571;box-shadow:none;font:26px/1 sans-serif}.replay-dialog .replay-notice{flex:none;font-size:13px;line-height:1.5;margin:0}.replay-notice:empty{display:none}.replay-player{flex:1;min-height:140px;width:100%;container-type:size;display:grid;place-items:center;background:transparent;margin:0;overflow:visible}.replay-frame{width:min(100cqw,56.25cqh);aspect-ratio:9 / 16;position:relative;display:grid;place-items:center;background:#201a2c;box-shadow:0 0 0 1px #7954a340}.replay-dialog .replay-player video{position:absolute;inset:0;display:block;width:100%;height:100%;max-width:none;max-height:none;object-fit:contain;transform:none;opacity:1;border:0;border-radius:0;background:#201a2c}.replay-dialog .replay-player video[hidden]{display:none}.replay-empty{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;margin:0;color:#eee5f6;font-size:14px;line-height:1.6;text-align:center;padding:16px}.replay-empty[hidden]{display:none}
.replay-actions{display:flex;flex:none;gap:10px}.replay-actions button{flex:1;min-height:46px;border:1.5px solid #7954a3;border-radius:16px;color:#513571;font-size:16px;font-weight:800;background:#dacaeb;box-shadow:2px 3px 0 #7954a3}.replay-actions .replay-share{background:#d5f66a}.replay-actions button:disabled{opacity:.45}.replay-entry,#result .replay-entry{display:block;width:auto;margin:14px auto;padding:9px 16px;border:1px solid #b6a1cd;border-radius:14px;background:#dacaeb;color:#513571;font-size:14px;font-weight:700;box-shadow:1px 2px 0 #b6a1cd}.replay-open #replay-indicator{visibility:hidden}@media(max-height:650px){.replay-dialog{padding:12px}.replay-dialog[open]{gap:7px}.replay-dialog h2{font-size:16px}.replay-actions button{min-height:42px;font-size:14px}}

.replay-dialog .replay-arrow{position:absolute;top:50%;transform:translateY(-50%);z-index:2;display:grid;place-items:center;width:36px;height:44px;min-width:0;min-height:0;margin:0;padding:8px;border:0;border-radius:18px;background:#30263fad;color:white;box-shadow:0 2px 8px #201a2c40;touch-action:manipulation}.replay-prev{left:6px}.replay-next{right:6px}.replay-arrow svg{display:block;width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}.replay-dialog .replay-arrow:disabled{opacity:.28}.replay-dialog .replay-arrow[hidden]{display:none}.replay-arrow:focus-visible{outline:2px solid #d5f66a;outline-offset:2px}.replay-position{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.me-settings-bar{display:flex;justify-content:flex-end;margin:0 0 8px}.me-settings-entry{display:grid;place-items:center;width:36px;height:36px;padding:8px;border:0;border-radius:50%;background:transparent;color:#7954a3;box-shadow:none}.me-settings-entry svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linejoin:round}.replay-settings{box-sizing:border-box;width:min(calc(100vw - 32px),360px);padding:20px;margin:auto;background:#eee5f6;color:#513571;border:2px solid #7954a3;border-radius:24px;box-shadow:3px 4px 0 #7954a3}.replay-settings::backdrop{background:#201a2c99}.replay-settings header{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.replay-settings h2{font-size:18px;margin:0}.replay-settings-close{display:grid;place-items:center;width:32px;height:32px;padding:0;border:0;background:transparent;box-shadow:none;color:inherit;font:26px/1 sans-serif}.replay-setting-row{display:flex;align-items:center;justify-content:space-between;gap:20px;font-size:16px}.replay-switch{width:44px;height:26px;border:0;border-radius:20px;padding:3px;background:#b6a1cd;box-shadow:none;display:flex;align-items:center;flex:none}.replay-switch span{width:20px;height:20px;display:block;border-radius:50%;background:#fff;box-shadow:0 1px 3px #30263f33;transition:transform .15s}.replay-switch[aria-checked=true]{background:#7954a3}.replay-switch[aria-checked=true] span{transform:translateX(18px)}
