.mgs-recording-tools[hidden],.mgs-record-reminder[hidden]{display:none!important}
.mgs-record-playback[hidden],#mgs-playback-controls[hidden]{display:none!important}
.mgs-wish-errors[hidden]{display:none!important}
.mgs-wish-errors{background:#fff1e7;border:2px solid #b25339;border-radius:14px;color:#702d24;padding:18px 20px;margin:0 0 24px;font-size:15px;line-height:1.6}
.mgs-wish-errors strong{display:block;color:#702d24}.mgs-wish-errors ul{padding-left:20px;margin:10px 0 0}.mgs-wish-errors li+li{margin-top:8px}
.mgs-wish-errors a{color:#702d24;text-decoration:underline;text-underline-offset:3px}.mgs-wish-errors:focus-visible{outline:3px solid #76529e;outline-offset:4px}
#wish-form [aria-invalid="true"]{border:2px solid #b25339!important;background:#fff5ef!important;outline-offset:3px}
#wish-form .field-error{color:#963e2a;font-size:14px;font-weight:700;line-height:1.6;margin:8px 0 14px}
#wish-form .mgs-consent:has([aria-invalid="true"]){padding:14px;border:2px solid #b25339;border-radius:12px;background:#fff5ef}
.mgs-recorder.has-audio:not(.is-recording) .mgs-recorder-stage,.mgs-audio-enhanced{display:none!important}
.mgs-recorder.is-recording .mgs-record-playback{display:none!important}
.mgs-record-playback{padding:24px;background:#fffaf3}
.mgs-record-playback>strong{display:block;font-family:var(--display);font-size:25px;font-weight:500;color:#38244c}
#mgs-playback-status{font-size:13px;line-height:1.6;color:#6b5078;margin:8px 0 14px}
#mgs-playback-wave{display:block;width:100%;height:100px;margin:18px 0 8px;background:#f4ecf8;border-radius:12px}
#mgs-playback-seek{width:100%;min-height:28px;accent-color:#98603f;cursor:pointer;margin:0}
.mgs-playback-times{display:flex;justify-content:space-between;font-size:13px;font-variant-numeric:tabular-nums;color:#6b5078}
.mgs-playback-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}
.mgs-playback-actions button{min-height:44px;padding:10px 16px;border:1px solid #b99acb;border-radius:12px;background:transparent;color:#68467c;cursor:pointer;font-family:inherit;font-size:14px;font-weight:700;line-height:1.4}
.mgs-playback-actions #mgs-playback-toggle{background:#ff9464;border-color:#ff9464;color:#38244c}
.mgs-playback-actions button:focus-visible,#mgs-playback-seek:focus-visible{outline:3px solid #76529e;outline-offset:3px}
@media(max-width:480px){.mgs-record-playback{padding:20px 16px}.mgs-playback-actions button{flex:1 0 auto;padding:10px 12px}}
.mgs-recording-tools{position:relative;background:#291c41;border:1px solid #9275aa;border-radius:14px;padding:18px;margin:18px 0;color:#fff8ef}
.mgs-recording-heading{display:flex;align-items:center;gap:9px;font-size:14px}.mgs-recording-heading strong{color:#fff8ef}.mgs-record-dot{width:9px;height:9px;border-radius:50%;background:#ff947d;flex:none}.mgs-recording-heading>button{margin-left:auto;color:#ffdc85;background:transparent;border:0;text-decoration:underline;text-underline-offset:3px;padding:5px 9px;cursor:pointer}
.mgs-recording-tools canvas{display:block;width:100%;height:80px;margin:12px 0;color:#ffb494}.mgs-record-clocks{display:flex;justify-content:space-between;gap:15px;font-size:12px;color:#e3d6ef}.mgs-record-clocks strong{font-size:20px;font-variant-numeric:tabular-nums;color:#fff8ef;margin-left:5px}.mgs-recording-tools progress{display:block;width:100%;height:8px;margin-top:12px;accent-color:#ffce71;border:0;border-radius:20px;overflow:hidden;background:#624a78}.mgs-recording-tools progress::-webkit-progress-bar{background:#624a78;border-radius:20px}.mgs-recording-tools progress::-webkit-progress-value{background:#ffce71;border-radius:20px}.mgs-recording-tools progress::-moz-progress-bar{background:#ffce71;border-radius:20px}.mgs-recording-tools.is-near-limit{border-color:#ffb494}.mgs-recording-tools.is-near-limit #mgs-record-remaining{color:#ffcf9c}.mgs-record-limit,.mgs-wave-note{font-size:12px;line-height:1.6;color:#dfcde9;margin:10px 0 0}.mgs-wave-note{color:#ffdc85}
.mgs-record-reminder{position:relative;background:#fff1cf;color:#392747;border:1px solid #ffe2a0;border-radius:10px;padding:14px 35px 14px 16px;margin:13px 0 0;box-shadow:0 8px 22px #160c2540}.mgs-record-reminder>strong{font-family:var(--display);font-weight:500;font-size:22px;color:#392747}.mgs-record-reminder p{font-size:13px;line-height:1.65;margin:5px 0 0;color:#513755}.mgs-record-reminder>button{position:absolute;right:7px;top:5px;background:none;border:0;color:#513755;font-size:24px;padding:4px 8px;cursor:pointer}
.mgs-delivery-dialog{box-sizing:border-box;width:min(480px,calc(100% - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:32px;border:1px solid #84699e;border-radius:22px;background:#342452;color:#fff8ef;box-shadow:0 24px 90px #190c3270;text-align:center}.mgs-delivery-dialog::backdrop{background:#1d102acf;backdrop-filter:blur(5px)}.mgs-delivery-symbol{font-size:37px;line-height:1;color:#ffdc85}.mgs-delivery-dialog .mgs-delivery-eyebrow{font-size:10px;letter-spacing:1.8px;font-weight:700;color:#e4c7f2;margin:16px 0 12px}.mgs-delivery-dialog h2{font-size:32px;line-height:1.15;font-family:var(--display);font-weight:500;color:#fff8ef;margin:0 0 16px}.mgs-delivery-dialog #mgs-delivery-detail{font-size:15px;line-height:1.7;color:#e7d9f1;margin:0 0 22px;min-height:3.4em}.mgs-delivery-steps{display:flex;justify-content:space-between;gap:12px;list-style:none;padding:0;margin:0 0 14px;font-size:12px;color:#d4bfe2}.mgs-delivery-steps .current,.mgs-delivery-steps .complete{color:#ffdc85;font-weight:700}.mgs-delivery-dialog progress{display:block;width:100%;height:10px;accent-color:#ffce71}.mgs-delivery-percent{font-size:12px;color:#e7d9f1;margin:10px 0 0;min-height:1.6em;font-variant-numeric:tabular-nums}.mgs-delivery-result{font-size:14px;line-height:1.7;color:#ffdc85;margin:16px 0}.mgs-delivery-dialog #mgs-close-delivery{background:#ff9873;color:#30203f;border:0;border-radius:10px;padding:13px 20px;font-size:14px;font-weight:700;margin:12px auto 0;cursor:pointer}.mgs-delivery-dialog button:focus-visible,.mgs-recording-tools button:focus-visible{outline:3px solid #ffdc85;outline-offset:4px}
@media(max-width:480px){.mgs-recording-tools{padding:14px}.mgs-record-clocks{font-size:11px}.mgs-record-clocks strong{font-size:18px}.mgs-delivery-dialog{padding:26px 20px}.mgs-delivery-dialog h2{font-size:28px}.mgs-delivery-steps{font-size:11px;gap:7px}}

/* The original recorder's round control, live orbit and centered reminder. */
.mgs-recorder{margin:18px 0;background:#fffaf3;border:1px solid #cdb7da;border-radius:24px;overflow:hidden;color:#38244c}
.mgs-recorder-stage{position:relative;isolation:isolate;display:grid;justify-items:center;padding:20px 16px 24px;min-height:230px;background:radial-gradient(ellipse at center,#fff5e7,#f2e8f7);overflow:hidden}
.mgs-recorder-stage>#mgs-record-wave{position:absolute;inset:20px 0 auto;width:100%;height:154px;opacity:.55;pointer-events:none;z-index:-1}
.mgs-record-control{position:relative;width:154px;height:154px;display:grid;place-items:center}
.mgs-record-control>#mgs-record-orbit{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
#mgs-recorder #record-audio{display:grid;place-items:center;position:relative;width:92px;height:92px;min-height:92px;padding:0;margin:0;border:0;border-radius:50%;background:#ff9464;color:#38244c;box-shadow:0 8px 24px #a65c3930;cursor:pointer;transition:background .2s,box-shadow .2s}
#mgs-recorder #record-audio:hover{background:#ffad83;box-shadow:0 8px 30px #a65c3950}
#mgs-recorder #record-audio>svg{width:30px;height:30px}
#mgs-recorder #record-audio>span{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
#mgs-recorder #record-audio.is-recording>svg{display:none}
#mgs-recorder #record-audio.is-recording::after{content:"";width:25px;height:25px;border-radius:6px;background:#38244c}
#mgs-recorder #record-audio:focus-visible{outline:3px solid #76529e;outline-offset:6px}
#mgs-recorder .mgs-record-prompt{position:relative;margin:0;font-size:14px;line-height:1.6;color:#68467c;text-align:center;font-weight:700}
#mgs-recorder .mgs-recording-tools{position:relative;padding:18px 22px;margin:0;border:0;border-top:1px solid #dfcfe7;border-radius:0;background:#fffaf3;color:#38244c}
#mgs-recorder .mgs-recording-heading strong{color:#38244c}
#mgs-recorder .mgs-recording-heading>button{color:#70478a;font-weight:700}
#mgs-recorder .mgs-record-dot{background:#bd5139;box-shadow:0 0 0 4px #ff946426;animation:mgs-record-pulse 1.6s ease-in-out infinite}
#mgs-recorder .mgs-record-clocks{margin-top:18px;color:#6b5078;font-size:13px}
#mgs-recorder .mgs-record-clocks strong{color:#38244c;font-family:var(--display);font-weight:500;font-size:26px}
#mgs-recorder .mgs-record-limit,#mgs-recorder .mgs-wave-note{font-size:13px;line-height:1.6;color:#6b5078}
#mgs-recorder .is-near-limit #mgs-record-remaining{color:#a23b24}
#mgs-recorder progress{accent-color:#b36541;background:#e9dceb}
#mgs-recorder progress::-webkit-progress-bar{background:#e9dceb}
#mgs-recorder progress::-webkit-progress-value{background:#b36541}
#mgs-recorder progress::-moz-progress-bar{background:#b36541}
.mgs-recorder-upload{display:flex;justify-content:center;align-items:center;gap:14px;padding:15px 20px;border-top:1px solid #dfcfe7;font-size:13px;color:#6b5078}
#mgs-recorder .upload-button{border:1px solid #b99acb;border-radius:12px;background:#fffaf3;color:#68467c;padding:10px 18px;min-height:44px;font-weight:700;cursor:pointer}
#mgs-record-reminder{position:fixed;inset:calc(env(safe-area-inset-top,0px) + 12px) 16px auto;margin:0 auto;box-sizing:border-box;width:min(420px,calc(100% - 32px));height:auto;max-height:calc(100dvh - 32px);overflow:auto;padding:16px 50px 16px 18px;border:1px solid #d1adbb;border-radius:18px;background:#fff3d8;color:#38244c;box-shadow:0 10px 36px #34245235;z-index:100000;text-align:left}
#mgs-record-reminder .mgs-reminder-symbol{display:none}
#mgs-record-reminder>strong{display:block;font-family:var(--display);font-size:22px;line-height:1.15;font-weight:500;color:#38244c}
#mgs-record-reminder p{font-size:14px;line-height:1.5;color:#604570;margin:6px 0 0}
#mgs-record-reminder small{display:none}
#mgs-record-reminder>button{display:grid;place-items:center;right:7px;top:7px;width:40px;height:40px;padding:0;font-size:26px;color:#68467c}
#mgs-record-reminder>button:focus-visible{outline:3px solid #76529e;border-radius:50%}
#mgs-recorder .mgs-record-signal{font-size:13px;line-height:1.6;color:#68467c;margin:12px 0 0}
.mgs-delivery-dialog{width:min(380px,calc(100% - 40px));padding:30px;border-radius:24px}
@keyframes mgs-record-pulse{50%{box-shadow:0 0 0 7px #ff946410}}
@media(prefers-reduced-motion:reduce){#mgs-recorder .mgs-record-dot{animation:none}#mgs-recorder #record-audio{transition:none}}
@media(max-width:480px){.mgs-recorder{border-radius:20px}.mgs-recorder-stage{padding-top:14px;min-height:215px}.mgs-recorder-stage>#mgs-record-wave{top:14px}#mgs-recorder .mgs-recording-tools{padding:16px}#mgs-recorder .mgs-record-clocks{font-size:12px}#mgs-recorder .mgs-record-clocks strong{font-size:23px}.mgs-delivery-dialog{padding:28px 22px}}
