/* CRYOTALE roleplay V1: scoped to new overlay only, existing chat untouched */
.cryo-rp-menu-entry{display:flex;width:100%;align-items:center;gap:12px;border:0;background:transparent;color:#e1f5ff;text-align:left;cursor:pointer;padding:12px 14px;font:inherit;border-radius:10px}
.cryo-rp-menu-entry:hover,.cryo-rp-menu-entry:focus-visible{background:rgba(63,170,219,.16);outline:1px solid rgba(100,206,255,.28)}
.cryo-rp-menu-entry span:last-child{display:flex;flex-direction:column;gap:3px}.cryo-rp-menu-entry small{color:#9bb8d4;font-size:11px}
.cryo-rp-overlay[hidden]{display:none!important}.cryo-rp-overlay{position:fixed;inset:0;background:rgba(2,8,20,.78);z-index:3500;display:grid;place-items:center;padding:16px;overflow:auto;backdrop-filter:blur(8px)}
.cryo-rp-dialog{color:#e6f7ff;width:min(100%,570px);max-height:min(90dvh,760px);overflow:auto;border:1px solid #315f88;border-radius:18px;background:linear-gradient(150deg,#112640,#081627);box-shadow:0 20px 65px rgba(0,0,0,.6),0 0 28px rgba(47,168,225,.12);box-sizing:border-box;padding:22px}
.cryo-rp-header{display:flex;align-items:flex-start;justify-content:space-between;gap:15px}.cryo-rp-eyebrow{font-size:10px;color:#66cde9;letter-spacing:.18em}.cryo-rp-header h2{font-size:21px;margin:5px 0 0}.cryo-rp-close{cursor:pointer;color:#d1edfa;background:rgba(255,255,255,.06);border:1px solid #3e6687;border-radius:8px;min-width:34px;min-height:34px;font-size:22px}
.cryo-rp-desc{color:#acc6d7;line-height:1.7;font-size:13px;margin:16px 0}.cryo-rp-current{background:rgba(36,109,153,.19);border:1px solid #2d5a7e;border-radius:9px;color:#8fe0ff;padding:10px 12px;font-size:13px;margin-bottom:15px}
.cryo-rp-editor label:not(.cryo-rp-toggle){display:block;font-size:13px;font-weight:600;margin:8px 0}.cryo-rp-editor textarea{width:100%;box-sizing:border-box;min-height:160px;resize:vertical;background:#07172b;color:#e8f8ff;border:1px solid #376589;border-radius:9px;padding:12px;font-size:13px;font-family:inherit;line-height:1.7;outline:none}.cryo-rp-editor textarea:focus{border-color:#69c8ef;box-shadow:0 0 0 2px rgba(105,200,239,.13)}
.cryo-rp-subrow{display:flex;justify-content:space-between;gap:10px;margin-top:6px;color:#9fbaca;font-size:11px}.cryo-rp-subrow small{font-size:11px}.cryo-rp-subrow .over{color:#ffb3b3}
.cryo-rp-billing-notice{display:flex;flex-direction:column;gap:6px;margin-top:14px;padding:12px 14px;border:1px solid rgba(82,176,214,.37);border-radius:10px;background:rgba(24,86,119,.18);color:#bad8e8;font-size:12px;line-height:1.7}
.cryo-rp-billing-notice strong{color:#8be0ff;font-size:12px;font-weight:650}
.cryo-rp-billing-notice span{display:block}
.cryo-rp-toggle{display:flex;align-items:center;gap:9px;cursor:pointer;margin-top:17px;font-size:13px}.cryo-rp-toggle input{width:16px;height:16px;accent-color:#5bbcee}.cryo-rp-note{color:#96b2c7;font-size:12px;line-height:1.7;margin-top:8px}
.cryo-rp-status{font-size:12px;color:#92e6ff;min-height:18px;margin:15px 0 8px;line-height:1.5}.cryo-rp-status.bad{color:#ffb6b6}.cryo-rp-actions{display:flex;justify-content:flex-end;gap:10px}.cryo-rp-actions button,.cryo-rp-new button{border:1px solid #3a698b;border-radius:9px;background:#17334f;color:#eaf8ff;padding:9px 16px;cursor:pointer;font-weight:600}.cryo-rp-actions button.primary,.cryo-rp-new button{border-color:#4daedb;background:linear-gradient(135deg,#1a688e,#205078)}.cryo-rp-actions button:disabled{opacity:.5;cursor:not-allowed}
.cryo-rp-new[hidden],.cryo-rp-editor[hidden]{display:none!important}.cryo-rp-new{font-size:14px;color:#bbd1e0}
@media(max-width:550px){.cryo-rp-dialog{padding:16px;max-height:94dvh}.cryo-rp-header h2{font-size:18px}.cryo-rp-subrow{flex-direction:column}}
@media(prefers-reduced-motion:reduce){.cryo-rp-overlay{backdrop-filter:none}}

/* Roleplay V1.2: quick entry / compact state bar / templates */
.cryo-rp-live-bar[hidden]{display:none!important}
.cryo-rp-live-bar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 8px;}
.cryo-rp-live-tag,.cryo-rp-live-exit{font:inherit;font-size:12px;cursor:pointer;border-radius:18px;border:1px solid rgba(114,201,235,.45);padding:6px 12px;color:#b6ecff;background:rgba(28,91,128,.35)}
.cryo-rp-live-tag:hover,.cryo-rp-live-exit:hover{border-color:#87d9ff;background:rgba(40,113,153,.5)}
.cryo-rp-live-exit{background:rgba(26,48,77,.7);color:#b8cfe3}
.cryo-rp-live-exit:disabled{opacity:.5;cursor:wait}
.cryo-rp-templates{margin:12px 0 16px}.cryo-rp-template-title{display:block;color:#a9c9dc;font-size:12px;margin-bottom:9px}
.cryo-rp-template-list{display:flex;flex-wrap:wrap;gap:8px}
.cryo-rp-template{border:1px solid rgba(105,189,225,.4);border-radius:18px;background:#122e48;color:#c5ecfc;cursor:pointer;font:inherit;font-size:12px;padding:7px 12px}
.cryo-rp-template:hover,.cryo-rp-template:focus-visible{background:#1b5676;border-color:#77d5f8}
@media(max-width:550px){.cryo-rp-live-bar{padding-left:4px}.cryo-rp-template{font-size:11px}}
