/* CRYOTALE CHAT PERSONALIZATION V1 — isolated, does not restyle the login page. */
.cryo-plus{width:42px;height:42px;flex:0 0 42px;display:grid;place-items:center;align-self:flex-end;border-radius:13px;border:1px solid rgba(157,222,253,.35);background:rgba(15,42,66,.83);color:#b7f0ff;font-size:27px;font-weight:300;line-height:1;transition:background .2s,transform .2s}
.cryo-plus:hover,.cryo-plus[aria-expanded="true"]{background:rgba(41,105,144,.84);transform:translateY(-1px)}
.composer-wrap.cryo-has-tools{z-index:8}
.cryo-tools-menu{position:absolute;left:max(25px,calc((100% - 1050px)/2));bottom:calc(100% - 1px);width:min(292px,calc(100vw - 26px));padding:9px;border-radius:18px;background:linear-gradient(155deg,rgba(16,45,70,.99),rgba(9,26,47,.99));border:1px solid rgba(128,206,244,.38);box-shadow:0 18px 52px rgba(1,9,25,.55);z-index:30}
.cryo-tools-menu[hidden],.cryo-modal[hidden]{display:none!important}
.cryo-tools-menu button{width:100%;display:flex;align-items:center;gap:12px;border:0;border-radius:12px;background:transparent;color:#dfedff;text-align:left;padding:13px 12px;font-size:14px}
.cryo-tools-menu button:hover,.cryo-tools-menu button:focus-visible{background:rgba(78,160,211,.17)}
.cryo-tools-menu .cryo-menu-icon{color:#92e7ff;width:22px;text-align:center;font-size:18px}
.cryo-tools-menu small{display:block;color:#8eacc6;font-size:10px;margin-top:2px}
.cryo-tools-menu .cryo-menu-hd{font-size:10px;color:#79b6d2;letter-spacing:.15em;padding:9px 12px 5px}
.chat-main{--cryo-backdrop-opacity:.6;--cryo-backdrop-blur:4px}
.cryo-chat-wallpaper{position:absolute;inset:0;z-index:0;pointer-events:none;overflow:hidden;isolation:isolate}
.cryo-chat-wallpaper::before{content:"";position:absolute;inset:-20px;z-index:-2;background:var(--cryo-custom-bg,none) center/cover no-repeat;filter:blur(var(--cryo-backdrop-blur));transform:scale(1.04);opacity:1}
.cryo-chat-wallpaper::after{content:"";position:absolute;inset:0;z-index:-1;background:rgba(3,13,29,var(--cryo-backdrop-opacity))}
.cryo-chat-wallpaper[data-theme="default"]{display:none}
.cryo-chat-wallpaper[data-theme="frost"]{--cryo-custom-bg:radial-gradient(circle at 76% 13%,rgba(147,230,255,.5),transparent 34%),radial-gradient(circle at 16% 67%,rgba(54,145,216,.4),transparent 44%),linear-gradient(135deg,#081e44,#1b648c 56%,#071427)}
.cryo-chat-wallpaper[data-theme="stars"]{--cryo-custom-bg:radial-gradient(circle at 70% 34%,rgba(201,175,255,.49),transparent 30%),radial-gradient(circle at 22% 76%,rgba(72,92,198,.44),transparent 41%),repeating-radial-gradient(circle at 40% 50%,#2c4389 0px,#111f4a 2px,#071129 7px)}
.cryo-chat-wallpaper[data-theme="deepsea"]{--cryo-custom-bg:radial-gradient(ellipse at 52% 15%,rgba(72,190,249,.35),transparent 34%),linear-gradient(172deg,#13466f,#082a54 35%,#040f28 92%)}
.cryo-chat-wallpaper[data-theme="plain"]{--cryo-custom-bg:linear-gradient(135deg,#0c1d30,#061221)}
.cryo-chat-wallpaper[data-theme="custom"]{--cryo-custom-bg:none}
.cryo-chat-wallpaper[data-theme="custom"]::before{background:var(--cryo-wallpaper-url,none) center/cover no-repeat}
.cryo-modal{position:fixed;inset:0;z-index:1100;display:flex;align-items:center;justify-content:center;padding:18px;background:rgba(0,8,22,.77);backdrop-filter:blur(6px)}
.cryo-modal-box{position:relative;width:min(620px,100%);max-height:min(90dvh,760px);overflow:auto;overscroll-behavior:contain;padding:25px;border:1px solid rgba(129,219,251,.36);border-radius:24px;background:linear-gradient(155deg,#102b46,#09192f 72%);box-shadow:0 32px 90px rgba(0,0,0,.55);color:#eaf8ff}
.cryo-modal-box h2{font-size:23px;letter-spacing:.015em;margin:0 42px 8px 0}
.cryo-modal-box p{font-size:12px;color:#a4bfd4;line-height:1.75;margin:0 0 20px}
.cryo-modal-close{position:absolute;right:18px;top:16px;width:32px;height:32px;border:1px solid rgba(134,198,239,.3);border-radius:10px;color:#cceffc;background:#173c58}
.cryo-modal label{display:block;font-size:13px;color:#d8effb;margin:13px 0 7px;font-weight:650}
.cryo-modal input[type="text"],.cryo-modal textarea{width:100%;border-radius:12px;border:1px solid #375e7b;background:#142f4a;padding:11px 13px;color:#eaf7ff;outline-offset:2px}
.cryo-modal textarea{min-height:125px;resize:vertical;line-height:1.7}
.cryo-modal .cryo-note{font-size:11px;color:#90b4cd;line-height:1.6;margin:5px 0 0}
.cryo-section-row{display:flex;align-items:center;justify-content:space-between;gap:12px}
.cryo-toggle{display:inline-flex!important;gap:9px;align-items:center;cursor:pointer;margin:12px 0!important}
.cryo-toggle input{accent-color:#78d9ff;width:17px;height:17px}
.cryo-tab-controls{display:flex;gap:8px;margin:14px 0 22px}
.cryo-tab-controls button{border:1px solid rgba(135,213,251,.25);background:#153953;border-radius:10px;color:#a8cbe2;padding:9px 15px}
.cryo-tab-controls button.active{background:#276e93;color:white;border-color:#70d8fa}
.cryo-theme-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.cryo-theme-list button{padding:6px;border:1px solid rgba(124,196,240,.28);border-radius:13px;background:#10283f;color:#ddf6ff;text-align:center;min-width:0}
.cryo-theme-list button[aria-pressed="true"]{border-color:#8be7ff;box-shadow:0 0 0 2px rgba(93,204,255,.21)}
.cryo-theme-thumb{display:block;height:55px;border-radius:9px;margin-bottom:6px;background:var(--cryo-thumb)}
.cryo-theme-list b{font-size:11px;font-weight:600}
.cryo-range{display:grid;grid-template-columns:60px 1fr 40px;align-items:center;gap:10px;margin:11px 0}
.cryo-range label{margin:0!important}
.cryo-range input{width:100%;accent-color:#7ce4fb}
.cryo-range output{font-size:11px;color:#9adcf7;text-align:right}
.cryo-dialog-actions{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap;border-top:1px solid rgba(142,208,246,.13);padding-top:17px;margin-top:20px}
.cryo-action{border-radius:11px;border:1px solid rgba(130,209,252,.35);padding:10px 15px;background:#173b58;color:#d7efff}
.cryo-action.primary{background:linear-gradient(110deg,#74d4df,#89baff);color:#082a44;border:0;font-weight:800}
.cryo-action:disabled{opacity:.55}
.cryo-upload-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:13px 0}
.cryo-status{font-size:12px;color:#97f3df;min-height:15px}
@media(max-width:700px){.cryo-tools-menu{left:10px;bottom:calc(100% - 1px)}.cryo-modal{padding:10px;align-items:center}.cryo-modal-box{padding:18px;max-height:92dvh;border-radius:17px}.cryo-theme-list{grid-template-columns:repeat(2,minmax(0,1fr))}.cryo-plus{width:39px;height:39px;flex-basis:39px}.composer-wrap.cryo-has-tools .composer{padding-left:7px}}
