/* REGRET creator multiverse – isolated styling only; live editor stays intact */
.rg-plus{border-top:1px solid #473257;margin:24px -28px 20px;padding:24px 28px 8px;background:linear-gradient(180deg,#22142e33,transparent)}
.rg-plus-header h3,.rg-share-heading h3{margin:5px 0;font:950 clamp(17px,2vw,22px)/1.2 system-ui,sans-serif;letter-spacing:-.4px;color:#fff}
.rg-plus-glow{color:#d64af8;text-shadow:0 0 15px #e649f7}
.rg-plus-header p,.rg-share-heading p{color:#b4a1c9;font-size:12px;line-height:1.55;margin:5px 0 15px}
.rg-plus-section{margin:19px 0;border-top:1px solid #3c2b50;padding-top:18px}
.rg-plus-label{font-size:10px;font-weight:950;letter-spacing:1.5px;color:#d792ff;margin-bottom:12px}
.rg-template-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
.rg-campaign{min-height:44px;background:linear-gradient(145deg,#2c1b42,#17162b);border:1px solid #573570;border-radius:10px;color:#efdefb;font-size:10px;font-weight:900;text-align:left;padding:9px 10px;transition:background .15s,transform .15s}
.rg-campaign:hover,.rg-campaign.active{background:#56206e;border-color:#e264fb;transform:translateY(-1px)}
.rg-plus-styles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
.rg-style{padding:10px 4px;display:grid;place-items:center;gap:6px;min-width:0;background:#1f1933;border:1px solid #443456;border-radius:11px;color:#eee3ff;transition:background .15s}
.rg-style b{font-size:21px}.rg-style span{font-size:9px;font-weight:850;line-height:1.2;text-align:center}
.rg-style:hover,.rg-style.active{background:#4f205c;border-color:#f169fb;box-shadow:0 0 13px #d03dff35}
.rg-plus-pair{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.rg-plus-field{margin:7px 0 13px;min-width:0}.rg-plus-field label{display:block;color:#d5c7e6;font-size:10px;font-weight:900;letter-spacing:.5px;margin-bottom:7px}
.rg-plus-field input:not([type=color]){width:100%;height:43px;background:#1a1529;border:1px solid #513766;color:#fff;border-radius:9px;padding:0 11px;font-size:12px}
.rg-plus-field input[type=color]{height:43px;width:100%;background:#1b1529;border:1px solid #513766;border-radius:9px;padding:5px;cursor:pointer}
.rg-plus-field input[type=file]{padding:10px;font-size:10px;height:auto;max-width:100%}.rg-plus-field small{display:block;color:#a89bb8;font-size:10px;line-height:1.4;margin-top:5px}
.rg-plus-toggle{display:flex;align-items:center;gap:9px;font-size:11px;font-weight:800;color:#d8c6e7;margin:12px 0}
.rg-plus-toggle input{accent-color:#d53fff;width:18px;height:18px}
.rg-share-panel{margin-top:22px;border:1px solid #633378;border-radius:15px;background:radial-gradient(circle at 70% 0%,#8d30c022,transparent 58%),linear-gradient(125deg,#20142f,#131022);padding:20px}
.rg-share-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin-top:16px}
.rg-share-actions button{min-height:44px;border-radius:9px;border:1px solid #68477d;background:#291c3d;color:#f8eaff;padding:10px;font-size:10px;font-weight:900;letter-spacing:.15px;transition:background .15s}
.rg-share-actions button:nth-child(2){background:#b12ced;border-color:#dd85ff;color:#fff}
.rg-share-actions button:nth-child(3){background:#11111a;border-color:#737381}
.rg-share-actions button:nth-child(5){background:#123a50;border-color:#3a99be}
.rg-share-actions button:nth-child(6){background:#1f3a20;border-color:#6aaf47}
.rg-share-actions button:hover{filter:brightness(1.25)}
.rg-share-tip{font-size:11px;color:#b1a2c2;line-height:1.5;margin:15px 0 0}
.rg-plus button:focus-visible,.rg-share-panel button:focus-visible,.rg-plus input:focus-visible{outline:2px solid #96ffce;outline-offset:3px}
@media(max-width:860px){.rg-share-actions{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){.rg-plus{margin:20px -16px 15px;padding:20px 16px 7px}.rg-plus-styles{grid-template-columns:repeat(4,minmax(0,1fr))}.rg-style span{font-size:8px}.rg-share-actions{grid-template-columns:1fr 1fr}.rg-share-panel{padding:16px}.rg-plus-pair{gap:9px}}
@media(max-width:340px){.rg-plus-styles{grid-template-columns:repeat(2,1fr)}.rg-template-grid,.rg-share-actions{grid-template-columns:1fr}}
/* Include original image-picker fix when upgrading directly from the base GIF Studio. */
.field .upload-wrap input[type="file"]{position:absolute;inset:0;width:100%;height:100%;z-index:2;opacity:0;padding:0;border:0;margin:0;cursor:pointer}
.field .upload-wrap:focus-within,.field .upload-wrap.is-dragover{border-color:#d663fb;box-shadow:0 0 0 3px #ab42ea44;background:#281a3b}
@media(max-width:860px){.ambient{display:none}}
