*{box-sizing:border-box;margin:0;padding:0}
:root{
  --bg:#ffffff;--sidebar:#f9f9f9;--text:#0d0d0d;--text-soft:#5d5d5d;--muted:#8e8e8e;
  --border:#e5e5e5;--hover:#ececec;--user-bubble:#f4f4f4;--black:#0d0d0d;--white:#fff;
  --radius:18px;--max:760px;
  --scrollbar:#d0d0d0;--scrollbar-hover:#b5b5b5;--field-bg:#fafafa;--field-focus:#fff;--disabled:#d4d4d4;
}
[data-theme="dark"]{
  --bg:#212121;--sidebar:#171717;--text:#ececec;--text-soft:#c4c4c4;--muted:#9a9a9a;
  --border:#3a3a3a;--hover:#2f2f2f;--user-bubble:#2f2f2f;--black:#ececec;--white:#2a2a2a;
  --scrollbar:#4a4a4a;--scrollbar-hover:#5d5d5d;--field-bg:#1e1e1e;--field-focus:#262626;--disabled:#3a3a3a;
}
html,body{height:100%}
body.hsy-body{background:var(--bg);color:var(--text);font-family:var(--hsy-font);overflow:hidden;-webkit-font-smoothing:antialiased}
#hsy-app{height:100vh;height:100dvh;display:flex;flex-direction:column}
button{font-family:inherit;cursor:pointer}
a{color:inherit}
::-webkit-scrollbar{width:8px;height:8px}
::-webkit-scrollbar-thumb{background:var(--scrollbar);border-radius:8px}
::-webkit-scrollbar-thumb:hover{background:var(--scrollbar-hover)}

.hsy-boot{height:100vh;display:flex;align-items:center;justify-content:center}
.hsy-spinner{width:34px;height:34px;border:3px solid var(--border);border-top-color:var(--black);border-radius:50%;animation:hsyspin .8s linear infinite}
@keyframes hsyspin{to{transform:rotate(360deg)}}

.hsy-shell{display:flex;height:100vh;height:100dvh;width:100%}

/* Sidebar */
.hsy-sidebar{width:270px;background:var(--sidebar);border-left:1px solid var(--border);display:flex;flex-direction:column;flex-shrink:0;transition:margin .25s ease}
.hsy-sidebar-top{padding:12px;display:flex;flex-direction:column;gap:8px}
.hsy-new-btn{display:flex;align-items:center;justify-content:space-between;gap:8px;background:var(--black);color:var(--white);border:none;padding:12px 14px;border-radius:12px;font-size:14px;font-weight:600;width:100%}
.hsy-new-btn:hover{opacity:.88}
.hsy-conv-list{flex:1;overflow-y:auto;padding:6px 8px}
.hsy-conv-group-label{font-size:11px;color:var(--muted);padding:10px 10px 6px;font-weight:600}
.hsy-conv-item{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:10px 12px;border-radius:10px;font-size:13.5px;color:var(--text-soft);cursor:pointer;margin-bottom:2px;position:relative}
.hsy-conv-item:hover{background:var(--hover)}
.hsy-conv-item.active{background:var(--hover);color:var(--text);font-weight:600}
.hsy-conv-title{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1}
.hsy-conv-del{opacity:0;background:none;border:none;color:var(--muted);font-size:16px;padding:2px 4px;border-radius:6px;flex-shrink:0}
.hsy-conv-item:hover .hsy-conv-del{opacity:1}
.hsy-conv-del:hover{background:var(--hover);color:var(--text)}
.hsy-sidebar-bottom{padding:10px;border-top:1px solid var(--border)}
.hsy-side-link{display:flex;align-items:center;gap:10px;padding:11px 12px;border-radius:10px;font-size:13.5px;color:var(--text-soft);background:none;border:none;width:100%;text-align:right}
.hsy-side-link:hover{background:var(--hover);color:var(--text)}
.hsy-side-link svg{width:18px;height:18px;flex-shrink:0}

/* Main */
.hsy-main{flex:1;display:flex;flex-direction:column;min-width:0;position:relative}
.hsy-topbar{height:54px;display:flex;align-items:center;gap:10px;padding:0 14px;border-bottom:1px solid transparent;flex-shrink:0}
.hsy-icon-btn{background:none;border:none;width:38px;height:38px;border-radius:10px;display:flex;align-items:center;justify-content:center;color:var(--text)}
.hsy-icon-btn:hover{background:var(--hover)}
.hsy-icon-btn svg{width:21px;height:21px}
.hsy-model-select{position:relative}
.hsy-model-btn{display:flex;align-items:center;gap:6px;background:none;border:none;font-size:16px;font-weight:600;color:var(--text);padding:8px 12px;border-radius:10px}
.hsy-model-btn:hover{background:var(--hover)}
.hsy-model-btn .chev{width:14px;height:14px;color:var(--muted)}
.hsy-model-menu{position:absolute;top:46px;right:0;background:var(--white);border:1px solid var(--border);border-radius:14px;box-shadow:0 12px 36px rgba(0,0,0,.14);min-width:240px;padding:6px;z-index:40}
.hsy-model-opt{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:11px 12px;border-radius:10px;font-size:14px;cursor:pointer}
.hsy-model-opt:hover{background:var(--hover)}
.hsy-model-opt .free-tag{font-size:11px;border:1px solid var(--border);padding:1px 7px;border-radius:20px;color:var(--muted)}
.hsy-model-opt.locked{opacity:.5}
.hsy-model-opt.locked:hover{opacity:.7;background:var(--hover)}
.hsy-lock-tag{font-size:10.5px;border:1px solid var(--border);padding:1px 8px;border-radius:20px;color:var(--muted);white-space:nowrap;flex-shrink:0}
.hsy-topbar-spacer{flex:1}
.hsy-profile-btn{display:flex;align-items:center;gap:7px;background:var(--hover);color:var(--text);border:1px solid var(--border);padding:4px 9px 4px 5px;border-radius:999px;font-size:12px;font-weight:600;max-width:150px}.hsy-profile-btn:hover{transform:translateY(-1px);box-shadow:0 5px 16px rgba(0,0,0,.08)}.hsy-profile-btn img,.hsy-profile-btn>span:first-child{width:30px;height:30px;border-radius:50%;object-fit:cover;display:flex;align-items:center;justify-content:center}.hsy-profile-btn>span:first-child{background:var(--black);color:var(--white)}.hsy-profile-btn svg{width:16px;height:16px}.hsy-profile-name{max-width:86px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hsy-avatar.has-user-avatar{overflow:hidden;background:transparent}.hsy-avatar.has-user-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}
.hsy-profile-modal{min-width:min(520px,calc(100vw - 32px))}.hsy-profile-preview{display:flex;align-items:center;gap:14px;padding:14px 0 20px;border-bottom:1px solid var(--border);margin-bottom:18px}.hsy-profile-avatar{width:76px;height:76px;border-radius:50%;object-fit:cover;border:1px solid var(--border)}.hsy-avatar-placeholder{display:flex;align-items:center;justify-content:center;background:var(--hover);color:var(--text-soft)}.hsy-avatar-placeholder svg{width:34px;height:34px}.hsy-profile-preview strong,.hsy-profile-preview span{display:block}.hsy-profile-preview .hsy-muted{margin-top:4px;color:var(--muted);font-size:12px}.hsy-profile-form{display:flex;flex-direction:column;gap:14px}.hsy-profile-form label{display:flex;flex-direction:column;gap:7px;font-size:13px;color:var(--text-soft)}.hsy-profile-form .hsy-input{width:100%;padding:11px 12px;border:1px solid var(--border);background:var(--field-bg);color:var(--text);border-radius:11px;outline:none}.hsy-profile-form .hsy-input:focus{border-color:#aaa;background:var(--field-focus)}.hsy-profile-actions{display:flex;gap:8px;align-items:center;margin-top:4px}.hsy-profile-actions .secondary{background:transparent;color:var(--text);border:1px solid var(--border)}
.hsy-login-btn{background:var(--black);color:var(--white);border:none;padding:9px 18px;border-radius:20px;font-size:13.5px;font-weight:600}

/* Messages */
.hsy-messages{flex:1;overflow-y:auto;padding:20px 0 10px}
.hsy-thread{max-width:var(--max);margin:0 auto;padding:0 18px}
.hsy-msg{display:flex;gap:14px;margin-bottom:26px;animation:hsymsg .25s ease}
@keyframes hsymsg{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
.hsy-msg.user{flex-direction:row-reverse}
.hsy-avatar{width:30px;height:30px;border-radius:50%;flex-shrink:0;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:700;background:var(--black);color:var(--white)}
.hsy-msg.user .hsy-avatar{background:var(--user-bubble);color:var(--text)}
.hsy-msg-col{min-width:0;max-width:100%}
.hsy-msg.user .hsy-msg-col{display:flex;flex-direction:column;align-items:flex-start}
.hsy-bubble{font-size:15.5px;line-height:2;word-wrap:break-word;overflow-wrap:break-word}
.hsy-msg.user .hsy-bubble{background:var(--user-bubble);padding:11px 16px;border-radius:var(--radius);display:inline-block}
.hsy-msg-actions{display:flex;gap:4px;margin-top:8px;opacity:0;transition:.15s}
.hsy-msg:hover .hsy-msg-actions{opacity:1}
.hsy-copy-btn{background:none;border:none;color:var(--muted);font-size:12px;display:flex;align-items:center;gap:5px;padding:5px 8px;border-radius:8px}
.hsy-copy-btn:hover{background:var(--hover);color:var(--text)}
.hsy-copy-btn svg{width:15px;height:15px}
.hsy-attach-preview{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:8px}
.hsy-attach-preview img{max-width:200px;max-height:200px;border-radius:12px;border:1px solid var(--border)}
.hsy-attach-file{display:flex;align-items:center;gap:8px;background:var(--user-bubble);padding:8px 12px;border-radius:10px;font-size:13px}

/* Markdown content */
.hsy-bubble h1,.hsy-bubble h2,.hsy-bubble h3{margin:16px 0 8px;line-height:1.5;font-weight:700}
.hsy-bubble h1{font-size:21px}.hsy-bubble h2{font-size:18px}.hsy-bubble h3{font-size:16px}
.hsy-bubble p{margin:0 0 12px}
.hsy-bubble p:last-child{margin-bottom:0}
.hsy-bubble ul,.hsy-bubble ol{margin:0 0 12px;padding-right:24px}
.hsy-bubble li{margin-bottom:6px}
.hsy-bubble a{text-decoration:underline}
.hsy-bubble blockquote{border-right:3px solid var(--border);padding:2px 14px;color:var(--text-soft);margin:0 0 12px}
.hsy-bubble table{border-collapse:collapse;width:100%;margin:0 0 14px;font-size:14px;display:block;overflow-x:auto}
.hsy-bubble th,.hsy-bubble td{border:1px solid var(--border);padding:8px 12px;text-align:right}
.hsy-bubble th{background:var(--user-bubble);font-weight:700}
.hsy-bubble :not(pre)>code{background:var(--user-bubble);padding:2px 6px;border-radius:6px;font-size:13.5px;font-family:'Courier New',monospace;direction:ltr;display:inline-block}
.hsy-code-block{margin:0 0 14px;border-radius:12px;overflow:hidden;border:1px solid var(--border)}
.hsy-code-head{display:flex;align-items:center;justify-content:space-between;background:#171717;color:#ccc;padding:7px 14px;font-size:12px;direction:ltr}
.hsy-code-head button{background:none;border:none;color:#ccc;font-size:12px;display:flex;align-items:center;gap:5px}
.hsy-code-head button:hover{color:#fff}
.hsy-code-block pre{margin:0;padding:14px;overflow-x:auto;background:#0d0d0d;direction:ltr}
.hsy-code-block code{font-family:'Courier New',monospace;font-size:13.5px;line-height:1.6}
.hsy-bubble img.hsy-gen-img{max-width:100%;border-radius:14px;border:1px solid var(--border);margin-top:6px}

/* Typing */
.hsy-typing{display:flex;gap:5px;padding:6px 0}
.hsy-typing span{width:8px;height:8px;background:var(--muted);border-radius:50%;animation:hsyblink 1.2s infinite}
.hsy-typing span:nth-child(2){animation-delay:.2s}
.hsy-typing span:nth-child(3){animation-delay:.4s}
@keyframes hsyblink{0%,60%,100%{opacity:.3}30%{opacity:1}}

/* Welcome */
.hsy-welcome{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:20px}
.hsy-welcome h2{font-size:28px;font-weight:700;margin-bottom:8px}
.hsy-welcome p{color:var(--text-soft);font-size:15px}
.hsy-welcome-ad{max-width:560px;margin-top:18px;text-align:center;color:var(--muted);font-size:11.5px;line-height:1.9}
.hsy-welcome-ad-title{font-size:12px;font-weight:700;color:var(--text-soft);margin-bottom:1px}
.hsy-welcome-ad-text{font-size:11.5px;color:var(--muted)}
.hsy-welcome-ad-link{display:inline-block;margin-top:2px;color:var(--text-soft);font-size:11.5px;text-decoration:underline;text-underline-offset:3px}
.hsy-welcome-ad-link:hover{color:var(--text)}

/* Composer */
.hsy-composer-wrap{padding:0 18px 18px;flex-shrink:0}
.hsy-composer{max-width:var(--max);margin:0 auto;background:var(--white);border:1px solid var(--border);border-radius:26px;box-shadow:0 2px 14px rgba(0,0,0,.06);padding:8px 8px 8px 8px}
.hsy-composer:focus-within{border-color:#bdbdbd}
.hsy-attach-bar{display:flex;flex-wrap:wrap;gap:8px;padding:6px 8px 0}
.hsy-attach-chip{display:flex;align-items:center;gap:6px;background:var(--user-bubble);border-radius:10px;padding:6px 10px;font-size:12.5px;max-width:200px}
.hsy-attach-chip img{width:32px;height:32px;border-radius:6px;object-fit:cover}
.hsy-attach-chip .x{background:none;border:none;color:var(--muted);font-size:15px}
.hsy-composer-row{display:flex;align-items:flex-end;gap:6px}
.hsy-textarea{flex:1;border:none;outline:none;resize:none;font-family:inherit;font-size:15.5px;line-height:1.6;max-height:200px;padding:10px 8px;background:none;color:var(--text)}
.hsy-textarea::placeholder{color:var(--muted)}
.hsy-comp-btn{background:none;border:none;width:38px;height:38px;border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--text-soft);flex-shrink:0}
.hsy-comp-btn:hover{background:var(--hover)}
.hsy-comp-btn svg{width:21px;height:21px}
.hsy-send-btn{background:var(--black);color:var(--white)}
.hsy-send-btn:hover{opacity:.85;background:var(--black)}
.hsy-send-btn:disabled{background:var(--disabled);cursor:default}
.hsy-tools-menu{position:absolute;bottom:64px;background:var(--white);border:1px solid var(--border);border-radius:14px;box-shadow:0 10px 30px rgba(0,0,0,.15);padding:6px;z-index:30}
.hsy-tools-menu button{display:flex;align-items:center;gap:10px;width:100%;background:none;border:none;padding:11px 14px;border-radius:10px;font-size:14px;text-align:right;color:var(--text)}
.hsy-tools-menu button:hover{background:var(--hover)}
.hsy-tools-menu svg{width:18px;height:18px}
.hsy-composer-hint{text-align:center;font-size:11.5px;color:var(--muted);margin-top:8px}
.hsy-plan-toggle.active{background:var(--black);color:var(--white)}
.hsy-plan-toggle.active:hover{background:var(--black);opacity:.88}

/* Plan mode (road-map) */
.hsy-road-planning{display:flex;align-items:center;gap:8px;color:var(--text-soft);font-size:13.5px;padding:6px 0}
.hsy-road-planning svg{width:18px;height:18px;animation:hsyroadpulse 1.4s ease-in-out infinite}
@keyframes hsyroadpulse{0%,100%{opacity:.35}50%{opacity:1}}
.hsy-msg.hsy-road-msg .hsy-bubble{background:linear-gradient(135deg,rgba(13,13,13,.045),rgba(13,13,13,.01));border:1px solid var(--border);border-radius:16px;padding:16px 18px}
[data-theme="dark"] .hsy-msg.hsy-road-msg .hsy-bubble{background:linear-gradient(135deg,rgba(255,255,255,.06),rgba(255,255,255,.015))}
.hsy-road-head{display:flex;align-items:center;gap:8px;font-size:12.5px;font-weight:700;color:var(--text-soft);margin-bottom:6px}
.hsy-road-head svg{width:16px;height:16px}
.hsy-road-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.hsy-road-btn{border:none;border-radius:10px;padding:9px 16px;font-size:13px;font-weight:600}
.hsy-road-btn.confirm{background:var(--black);color:var(--white)}
.hsy-road-btn.confirm:hover{opacity:.88}
.hsy-road-btn.revise{background:var(--user-bubble);color:var(--text)}
.hsy-road-btn.revise:hover{background:var(--hover)}
.hsy-road-btn.cancel{background:none;color:var(--muted);border:1px solid var(--border)}
.hsy-road-btn.cancel:hover{color:var(--text);border-color:#bbb}
.hsy-road-status{margin-top:10px;font-size:12.5px;color:var(--muted)}

/* Modal */
.hsy-overlay{position:fixed;inset:0;background:rgba(0,0,0,.45);z-index:100;display:flex;align-items:center;justify-content:center;padding:18px}
.hsy-overlay[hidden]{display:none}
.hsy-modal{background:var(--white);border-radius:20px;width:100%;max-width:440px;padding:28px;max-height:90vh;overflow-y:auto;animation:hsymodal .2s ease}
@keyframes hsymodal{from{opacity:0;transform:scale(.97)}to{opacity:1;transform:none}}
.hsy-modal-wide{max-width:640px}
.hsy-modal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}
.hsy-modal-head h2{font-size:20px;font-weight:700}
.hsy-modal-close{background:none;border:none;font-size:24px;color:var(--muted);line-height:1}
.hsy-modal label{display:block;font-size:13px;font-weight:600;margin-bottom:6px}
.hsy-modal input,.hsy-modal textarea,.hsy-modal select{width:100%;padding:12px 14px;border:1px solid var(--border);border-radius:12px;font-family:inherit;font-size:15px;margin-bottom:16px;background:var(--field-bg);color:var(--text)}
.hsy-modal input:focus,.hsy-modal textarea:focus{outline:none;border-color:var(--black);background:var(--field-focus)}
.hsy-modal-btn{width:100%;background:var(--black);color:var(--white);border:none;padding:13px;border-radius:12px;font-size:15px;font-weight:600}
.hsy-modal-btn:hover{opacity:.88}
.hsy-modal-btn:disabled{background:#ccc}
.hsy-modal-msg{font-size:13px;padding:10px 14px;border-radius:10px;margin-bottom:14px;text-align:center}
.hsy-modal-msg.err{background:var(--user-bubble);color:var(--text);border:1px solid var(--border)}
.hsy-modal-msg.ok{background:var(--black);color:var(--white)}
.hsy-auth-tabs{display:flex;gap:6px;margin-bottom:20px;background:var(--user-bubble);padding:4px;border-radius:12px}
.hsy-auth-tab{flex:1;background:none;border:none;padding:10px;border-radius:9px;font-size:13.5px;font-weight:600;color:var(--text-soft)}
.hsy-auth-tab.active{background:var(--white);color:var(--text);box-shadow:0 1px 3px rgba(0,0,0,.08)}
.hsy-auth-form{display:none}
.hsy-auth-form.active{display:block}

/* Plans */
.hsy-plans{display:grid;gap:14px}
.hsy-plan{border:1px solid var(--border);border-radius:16px;padding:20px}
.hsy-plan h3{font-size:17px;margin-bottom:8px}
.hsy-plan .price{font-size:24px;font-weight:800;margin-bottom:4px}
.hsy-plan .price small{font-size:13px;font-weight:400;color:var(--muted)}
.hsy-plan ul{list-style:none;margin:14px 0;font-size:13.5px;color:var(--text-soft)}
.hsy-plan li{padding:5px 0;display:flex;align-items:center;gap:8px}
.hsy-plan li::before{content:'✓';font-weight:700;color:var(--black)}
.hsy-plan-btn{width:100%;background:var(--black);color:var(--white);border:none;padding:12px;border-radius:12px;font-weight:600;font-size:14px}
.hsy-plan-btn:hover{opacity:.88}

/* Tickets */
.hsy-ticket-list{display:flex;flex-direction:column;gap:10px;margin-bottom:18px}
.hsy-ticket-card{border:1px solid var(--border);border-radius:12px;padding:14px;cursor:pointer}
.hsy-ticket-card:hover{border-color:#bbb}
.hsy-ticket-card .subj{font-weight:600;font-size:14px;margin-bottom:4px}
.hsy-ticket-card .st{font-size:12px;color:var(--muted)}
.hsy-back-link{background:none;border:none;color:var(--text-soft);font-size:13px;margin-bottom:14px}
.hsy-tk-thread{display:flex;flex-direction:column;gap:12px;margin-bottom:16px;max-height:340px;overflow-y:auto}
.hsy-tk-msg{padding:12px;border-radius:12px;font-size:13.5px;line-height:1.8;max-width:85%}
.hsy-tk-msg.user{background:var(--user-bubble);align-self:flex-start}
.hsy-tk-msg.admin{background:var(--black);color:var(--white);align-self:flex-end}
.hsy-tk-meta{font-size:11px;opacity:.7;margin-bottom:4px}

/* Toast */
.hsy-toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:var(--black);color:var(--white);padding:12px 22px;border-radius:30px;font-size:13.5px;z-index:200;animation:hsytoast .3s;box-shadow:0 6px 20px rgba(0,0,0,.25)}
@keyframes hsytoast{from{opacity:0;transform:translate(-50%,12px)}to{opacity:1;transform:translate(-50%,0)}}

/* Mobile */
.hsy-backdrop{display:none}
@media(max-width:820px){
  .hsy-sidebar{position:fixed;top:0;right:0;bottom:0;z-index:1100;margin-right:-280px}
  .hsy-shell.sidebar-open .hsy-sidebar{margin-right:0;box-shadow:-8px 0 30px rgba(0,0,0,.2)}
  .hsy-shell.sidebar-open .hsy-backdrop{display:block;position:fixed;inset:0;background:rgba(0,0,0,.4);z-index:1050}
  .hsy-menu-toggle{display:flex}
  :root{--max:100%}
}
@media(min-width:821px){
  .hsy-menu-toggle{display:none}
}
@media(max-width:820px){
  /* Mobile sidebar must sit above the topbar and all header controls. */
  .hsy-shell.sidebar-open .hsy-sidebar{z-index:1100!important;margin-right:0!important;transform:translateX(0)!important;opacity:1!important}
  .hsy-shell.sidebar-open .hsy-backdrop{z-index:1050!important}
  .hsy-sidebar{z-index:1100!important}
}


/* Model logos, theme toggle, typing cursor */
.hsy-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}
.hsy-avatar.has-logo{background:transparent}
.hsy-model-btn-logo{width:20px;height:20px;border-radius:5px;object-fit:cover;flex-shrink:0}
.hsy-model-opt-main{display:flex;align-items:center;gap:9px;min-width:0}
.hsy-model-opt-logo{width:22px;height:22px;border-radius:6px;object-fit:cover;flex-shrink:0}
.hsy-type-cursor{display:inline-block;width:7px;height:1.05em;background:var(--text);margin-right:2px;vertical-align:-2px;border-radius:1px;animation:hsycursor .9s steps(1) infinite}
@keyframes hsycursor{0%,50%{opacity:1}50.01%,100%{opacity:0}}

.hsy-image-progress{display:flex;align-items:center;gap:12px;min-height:48px;padding:10px 14px;border:1px solid var(--border);border-radius:16px;background:var(--white);font-size:14px;color:var(--text-soft)}
.hsy-image-orbit{position:relative;width:28px;height:28px;flex:0 0 28px;animation:hsy-orbit 1.8s linear infinite}
.hsy-image-orbit i{position:absolute;width:7px;height:7px;border-radius:50%;background:var(--text);left:10px;top:0;transform-origin:4px 14px;opacity:.9}
.hsy-image-orbit i:nth-child(2){transform:rotate(120deg)}
.hsy-image-orbit i:nth-child(3){transform:rotate(240deg)}
@keyframes hsy-orbit{to{transform:rotate(360deg)}}

@media(max-width:560px){
  .hsy-composer-wrap{padding:0 max(10px,env(safe-area-inset-right)) max(12px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left))}
  .hsy-composer{border-radius:20px;padding:7px}
  .hsy-comp-btn{width:42px;height:42px}
  .hsy-modal{width:calc(100% - 24px);padding:20px;border-radius:16px;max-height:calc(100dvh - 24px)}
  .hsy-modal input,.hsy-modal textarea,.hsy-modal select{font-size:16px}
  .hsy-toast{width:calc(100% - 28px);max-width:420px;text-align:center;bottom:max(16px,env(safe-area-inset-bottom));padding:12px 16px}
  .hsy-image-progress{width:100%;font-size:13px}
}

@media(prefers-reduced-motion:reduce){
  .hsy-image-orbit,.hsy-spinner,.hsy-typing span,.hsy-type-cursor{animation:none}
}

.hsy-feature-list{display:flex;flex-direction:column;gap:8px;margin-bottom:16px}
.hsy-feature-row{width:100%;border:1px solid var(--border);background:var(--white);color:var(--text);padding:12px 14px;border-radius:12px;text-align:right;font:inherit;font-size:14px}
.hsy-feature-row:hover,.hsy-feature-row.active{background:var(--hover);border-color:var(--text-soft)}
.hsy-image-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;min-height:80px;align-content:start;color:var(--muted)}
.hsy-gallery-item{position:relative;border:0;padding:0;overflow:hidden;border-radius:12px;background:var(--hover);aspect-ratio:1}
.hsy-gallery-item>button:first-child{display:block;width:100%;height:100%;border:0;padding:0;background:none;cursor:pointer}
.hsy-gallery-item img{width:100%;height:100%;display:block;object-fit:cover;transition:transform .2s ease}
.hsy-gallery-item:hover img{transform:scale(1.04)}

.hsy-gen-img-wrap{position:relative;display:inline-block;max-width:100%}
.hsy-gen-img-wrap .hsy-gen-img{display:block;border-radius:12px}
.hsy-img-download{position:absolute;bottom:10px;left:10px;width:34px;height:34px;border-radius:50%;border:none;background:rgba(0,0,0,.55);color:#fff;display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity .15s ease,background .15s ease}
.hsy-img-download svg{width:17px;height:17px}
.hsy-img-download:hover{background:rgba(0,0,0,.75)}
.hsy-gen-img-wrap:hover .hsy-img-download,.hsy-gallery-item:hover .hsy-img-download{opacity:1}
@media(hover:none){.hsy-img-download{opacity:1}}
.hsy-table-wrap{width:100%;overflow-x:auto;margin:14px 0;border:1px solid var(--border);border-radius:12px}
.hsy-bubble table{width:100%;min-width:460px;border-collapse:collapse;font-size:13px;background:var(--white)}
.hsy-bubble th,.hsy-bubble td{padding:10px 12px;border-bottom:1px solid var(--border);text-align:right;vertical-align:top;line-height:1.7}
.hsy-bubble th{background:var(--hover);font-weight:700;white-space:nowrap}
.hsy-bubble tr:last-child td{border-bottom:0}
.hsy-code-block{max-width:100%;overflow:hidden;border-radius:12px}
.hsy-code-block pre{max-width:100%;overflow:auto;margin:0;direction:ltr;text-align:left}
@media(max-width:560px){.hsy-image-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.hsy-feature-row{min-height:44px}.hsy-bubble table{font-size:12px}}
.hsy-welcome-ad-link{cursor:pointer}
.hsy-response-ad{margin-top:7px;text-align:right;font-size:10.5px;line-height:1.75;color:var(--muted);max-width:520px}
.hsy-response-ad-title{font-size:11px;font-weight:700;color:var(--text-soft);margin-bottom:0}
.hsy-response-ad-text{font-size:10.5px;color:var(--muted)}
.hsy-response-ad-link{display:inline-block;margin-top:1px;color:var(--text-soft);font-size:10.5px;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.hsy-response-ad-link:hover{color:var(--text)}
@media(max-width:560px){.hsy-response-ad{max-width:100%;font-size:10px}.hsy-response-ad-title,.hsy-response-ad-text,.hsy-response-ad-link{font-size:10px}}


/* Animated UI polish v1.8 */
.hsy-shell{animation:hsyShellIn .42s cubic-bezier(.22,1,.36,1) both}
@keyframes hsyShellIn{from{opacity:0}to{opacity:1}}
.hsy-sidebar{will-change:transform,opacity;transition:width .28s cubic-bezier(.22,1,.36,1),margin .32s cubic-bezier(.22,1,.36,1),transform .32s cubic-bezier(.22,1,.36,1),box-shadow .32s ease}
.hsy-sidebar-top,.hsy-sidebar-bottom{animation:hsySideIn .45s .04s cubic-bezier(.22,1,.36,1) both}
.hsy-conv-list{animation:hsySideIn .45s .1s cubic-bezier(.22,1,.36,1) both}
@keyframes hsySideIn{from{opacity:0;transform:translateX(12px)}to{opacity:1;transform:none}}
.hsy-new-btn,.hsy-side-link,.hsy-conv-item,.hsy-model-btn,.hsy-icon-btn,.hsy-comp-btn,.hsy-login-btn{transition:transform .18s ease,background-color .18s ease,opacity .18s ease,box-shadow .18s ease,color .18s ease}
.hsy-new-btn:hover{transform:translateY(-1px);box-shadow:0 8px 18px rgba(0,0,0,.12)}
.hsy-side-link{position:relative;overflow:hidden}
.hsy-side-link::after{content:"";position:absolute;right:8px;left:8px;bottom:3px;height:2px;border-radius:999px;background:var(--black);transform:scaleX(0);transform-origin:right;transition:transform .25s ease;opacity:.16}
.hsy-side-link:hover::after{transform:scaleX(1)}
.hsy-side-link:hover{transform:translateX(-2px)}
.hsy-conv-item{transition:transform .18s ease,background-color .18s ease,color .18s ease}
.hsy-conv-item:hover{transform:translateX(-3px)}
.hsy-conv-item.active{box-shadow:inset -3px 0 0 var(--text)}
.hsy-topbar{animation:hsyTopIn .4s .03s cubic-bezier(.22,1,.36,1) both}
@keyframes hsyTopIn{from{opacity:0;transform:translateY(-7px)}to{opacity:1;transform:none}}
.hsy-icon-btn:hover{transform:translateY(-1px) scale(1.04)}
.hsy-icon-btn:active,.hsy-comp-btn:active,.hsy-login-btn:active,.hsy-new-btn:active{transform:scale(.94)}
.hsy-model-btn{transition:background .2s ease,transform .2s ease}
.hsy-model-btn:hover{transform:translateY(-1px)}
.hsy-model-btn .chev{transition:transform .25s ease}
.hsy-model-select:has(.hsy-model-menu) .hsy-model-btn .chev{transform:rotate(180deg)}
.hsy-model-menu,.hsy-tools-menu{transform-origin:top right;animation:hsyMenuIn .24s cubic-bezier(.22,1,.36,1) both}
@keyframes hsyMenuIn{from{opacity:0;transform:translateY(-8px) scale(.96)}to{opacity:1;transform:none}}
.hsy-model-opt,.hsy-tools-menu button{transition:transform .18s ease,background-color .18s ease,color .18s ease}
.hsy-model-opt:hover,.hsy-tools-menu button:hover{transform:translateX(-3px)}
.hsy-model-opt:nth-child(1),.hsy-tools-menu button:nth-child(1){animation:hsyMenuItem .25s .03s both}
.hsy-model-opt:nth-child(2),.hsy-tools-menu button:nth-child(2){animation:hsyMenuItem .25s .06s both}
.hsy-model-opt:nth-child(3),.hsy-tools-menu button:nth-child(3){animation:hsyMenuItem .25s .09s both}
.hsy-model-opt:nth-child(4),.hsy-tools-menu button:nth-child(4){animation:hsyMenuItem .25s .12s both}
.hsy-model-opt:nth-child(5),.hsy-tools-menu button:nth-child(5){animation:hsyMenuItem .25s .15s both}
@keyframes hsyMenuItem{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:none}}
.hsy-welcome{animation:hsyWelcomeIn .65s cubic-bezier(.22,1,.36,1) both}
.hsy-welcome h2{animation:hsyWelcomeTitle .65s .08s cubic-bezier(.22,1,.36,1) both}
.hsy-welcome-ad{animation:hsyWelcomeAd .5s .2s cubic-bezier(.22,1,.36,1) both}
@keyframes hsyWelcomeIn{from{opacity:0;transform:translateY(16px) scale(.985)}to{opacity:1;transform:none}}
@keyframes hsyWelcomeTitle{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
@keyframes hsyWelcomeAd{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}
.hsy-welcome-ad-link{transition:opacity .2s ease,transform .2s ease}
.hsy-welcome-ad-link:hover{transform:translateY(-1px);opacity:.8}
.hsy-msg{animation:hsyMsgIn .38s cubic-bezier(.22,1,.36,1) both}
.hsy-msg.user{animation-name:hsyMsgUserIn}
@keyframes hsyMsgIn{from{opacity:0;transform:translateY(10px) scale(.99)}to{opacity:1;transform:none}}
@keyframes hsyMsgUserIn{from{opacity:0;transform:translateY(10px) translateX(-5px) scale(.99)}to{opacity:1;transform:none}}
.hsy-msg.assistant .hsy-avatar{animation:hsyAvatarIn .45s .08s cubic-bezier(.22,1,.36,1) both}
@keyframes hsyAvatarIn{from{opacity:0;transform:scale(.7) rotate(-8deg)}to{opacity:1;transform:none}}
.hsy-bubble{transition:transform .2s ease}
.hsy-msg.assistant:hover .hsy-bubble{transform:translateY(-1px)}
.hsy-response-ad{animation:hsyAdIn .35s .08s cubic-bezier(.22,1,.36,1) both}
@keyframes hsyAdIn{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
.hsy-response-ad-link{transition:opacity .18s ease,transform .18s ease}
.hsy-response-ad-link:hover{transform:translateX(-2px)}
.hsy-composer-wrap{animation:hsyComposerIn .5s .12s cubic-bezier(.22,1,.36,1) both}
@keyframes hsyComposerIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
.hsy-composer{transition:border-color .25s ease,box-shadow .25s ease,transform .2s ease}
.hsy-composer:focus-within{box-shadow:0 5px 25px rgba(0,0,0,.09);transform:translateY(-1px)}
.hsy-comp-btn:hover{transform:translateY(-2px) scale(1.04)}
.hsy-send-btn{position:relative;overflow:hidden}
.hsy-send-btn::after{content:"";position:absolute;inset:0;border-radius:inherit;background:rgba(255,255,255,.18);transform:scale(0);transition:transform .35s ease}
.hsy-send-btn:active::after{transform:scale(1.35)}
.hsy-tools-menu{bottom:64px}
.hsy-road-msg .hsy-road-actions .hsy-road-btn{transition:transform .18s ease,box-shadow .18s ease,opacity .18s ease}
.hsy-road-btn:hover{transform:translateY(-2px);box-shadow:0 6px 16px rgba(0,0,0,.08)}
.hsy-modal{animation:hsyModalIn .32s cubic-bezier(.22,1,.36,1) both}
@keyframes hsyModalIn{from{opacity:0;transform:translateY(12px) scale(.97)}to{opacity:1;transform:none}}
.hsy-overlay{animation:hsyOverlayIn .2s ease both}
@keyframes hsyOverlayIn{from{opacity:0}to{opacity:1}}
.hsy-modal-head h2{animation:hsyModalTitle .35s .08s both}
@keyframes hsyModalTitle{from{opacity:0;transform:translateX(8px)}to{opacity:1;transform:none}}
.hsy-feature-row,.hsy-plan,.hsy-ticket-card,.hsy-gallery-item{transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease,background-color .2s ease}
.hsy-feature-row:hover,.hsy-plan:hover,.hsy-ticket-card:hover{transform:translateY(-2px);box-shadow:0 8px 22px rgba(0,0,0,.07)}
.hsy-gallery-item:hover{transform:translateY(-3px);box-shadow:0 10px 24px rgba(0,0,0,.12)}
.hsy-modal-btn,.hsy-plan-btn{transition:transform .18s ease,box-shadow .18s ease,opacity .18s ease}
.hsy-modal-btn:hover,.hsy-plan-btn:hover{transform:translateY(-1px);box-shadow:0 7px 18px rgba(0,0,0,.12)}
.hsy-auth-tab{transition:background .2s ease,transform .2s ease,color .2s ease}
.hsy-auth-tab:hover{transform:translateY(-1px)}
.hsy-toast{animation:hsyToastIn .35s cubic-bezier(.22,1,.36,1) both}
@keyframes hsyToastIn{from{opacity:0;transform:translate(-50%,16px) scale(.96)}to{opacity:1;transform:translate(-50%,0) scale(1)}}
.hsy-sidebar-bottom .hsy-side-link:nth-child(1){animation:hsySideItem .35s .08s both}
.hsy-sidebar-bottom .hsy-side-link:nth-child(2){animation:hsySideItem .35s .12s both}
.hsy-sidebar-bottom .hsy-side-link:nth-child(3){animation:hsySideItem .35s .16s both}
.hsy-sidebar-bottom .hsy-side-link:nth-child(4){animation:hsySideItem .35s .20s both}
.hsy-sidebar-bottom .hsy-side-link:nth-child(5){animation:hsySideItem .35s .24s both}
.hsy-sidebar-bottom .hsy-side-link:nth-child(6){animation:hsySideItem .35s .28s both}
@keyframes hsySideItem{from{opacity:0;transform:translateX(10px)}to{opacity:1;transform:none}}
@media(max-width:820px){
  .hsy-sidebar{transform:translateX(18px);opacity:.85}
  .hsy-shell.sidebar-open .hsy-sidebar{transform:translateX(0);opacity:1}
  .hsy-backdrop{transition:opacity .25s ease}
}
@media(prefers-reduced-motion:reduce){
  .hsy-shell,.hsy-sidebar-top,.hsy-sidebar-bottom,.hsy-conv-list,.hsy-topbar,.hsy-welcome,.hsy-welcome h2,.hsy-welcome-ad,.hsy-msg,.hsy-msg.user,.hsy-msg.assistant .hsy-avatar,.hsy-response-ad,.hsy-composer-wrap,.hsy-modal,.hsy-overlay,.hsy-modal-head h2,.hsy-toast,.hsy-sidebar-bottom .hsy-side-link,.hsy-model-opt,.hsy-tools-menu button{animation:none!important;transition:none!important}
}
.hsy-topbar{position:relative}
.hsy-notification-btn{position:relative}
.hsy-notification-btn>span:first-child{display:flex;width:20px;height:20px}
.hsy-notification-badge{position:absolute;top:1px;right:0;min-width:16px;height:16px;padding:0 4px;border-radius:10px;background:#e53935;color:#fff;font-size:9px;line-height:16px;text-align:center;font-weight:700;box-shadow:0 0 0 2px var(--white);animation:hsyNotifPulse 2s ease-in-out infinite}
@keyframes hsyNotifPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.08)}}
.hsy-notification-panel{position:absolute;top:50px;left:14px;width:min(380px,calc(100vw - 28px));max-height:460px;background:var(--white);border:1px solid var(--border);border-radius:18px;box-shadow:0 18px 50px rgba(0,0,0,.18);z-index:80;overflow:hidden;animation:hsyNotifIn .18s ease-out}
@keyframes hsyNotifIn{from{opacity:0;transform:translateY(-8px) scale(.98)}to{opacity:1;transform:none}}
.hsy-notification-head{display:flex;align-items:center;justify-content:space-between;padding:14px 15px;border-bottom:1px solid var(--border)}
.hsy-notification-head strong{font-size:14px}.hsy-notification-readall{border:0;background:none;color:var(--text-soft);font-size:11px;cursor:pointer}.hsy-notification-readall:hover{color:var(--text)}
.hsy-notification-list{max-height:400px;overflow:auto}.hsy-notification-item{position:relative;display:flex;gap:9px;padding:13px 14px;border-bottom:1px solid var(--border);cursor:pointer;transition:.16s}.hsy-notification-item:hover{background:var(--hover)}.hsy-notification-item.read{opacity:.72}.hsy-notification-dot{width:8px;height:8px;border-radius:50%;margin-top:6px;background:var(--muted);flex-shrink:0}.hsy-notification-item.unread .hsy-notification-dot{background:#e53935;box-shadow:0 0 0 4px rgba(229,57,53,.10)}
.hsy-notification-content{min-width:0;flex:1}.hsy-notification-title{font-size:13px;font-weight:700;color:var(--text);margin-bottom:3px}.hsy-notification-message{font-size:12px;line-height:1.8;color:var(--text-soft)}.hsy-notification-time{font-size:10px;color:var(--muted);margin-top:4px}.hsy-notification-delete{border:0;background:none;color:var(--muted);font-size:18px;width:24px;height:24px;border-radius:6px;cursor:pointer;opacity:.35}.hsy-notification-item:hover .hsy-notification-delete{opacity:1}.hsy-notification-delete:hover{background:var(--hover);color:var(--text)}.hsy-notification-empty{text-align:center;color:var(--muted);padding:38px 16px;font-size:13px}
.hsy-notification-item.type-success .hsy-notification-dot{background:#24a148}.hsy-notification-item.type-promo .hsy-notification-dot{background:#8e44ad}.hsy-notification-item.type-warning .hsy-notification-dot{background:#f39c12}
[data-theme="dark"] .hsy-notification-badge{box-shadow:0 0 0 2px var(--white)}
@media(max-width:640px){.hsy-notification-panel{left:8px;width:calc(100vw - 16px);top:50px}.hsy-notification-head{padding:12px}.hsy-notification-item{padding:12px}}

.hsy-plan{position:relative;overflow:hidden}
.hsy-plan-badge{display:inline-flex;align-items:center;justify-content:center;padding:4px 10px;border-radius:999px;font-size:12px;font-weight:700;background:color-mix(in srgb,var(--hsy-badge-color,#4f46e5) 12%,transparent);color:var(--hsy-badge-color,#4f46e5);margin-bottom:8px}
.hsy-plan .price del{opacity:.5;font-size:.8em;margin-left:6px}
.hsy-plan .price strong{font-size:1.15em}
.hsy-plan-discount{display:inline-block;margin:6px 0 4px;padding:3px 8px;border-radius:999px;background:rgba(16,185,129,.12);color:#059669;font-size:12px;font-weight:700}
.hsy-account-panel{min-width:min(760px,calc(100vw - 28px));max-height:calc(100vh - 50px);overflow:auto}.hsy-account-hero{display:flex;align-items:center;gap:16px;padding:4px 0 20px;border-bottom:1px solid var(--border)}.hsy-account-avatar-wrap{position:relative;flex:0 0 auto}.hsy-account-avatar{width:82px;height:82px;border-radius:50%;object-fit:cover;border:3px solid var(--border);box-shadow:0 8px 24px rgba(0,0,0,.10)}.hsy-account-avatar.hsy-avatar-placeholder{display:flex;align-items:center;justify-content:center;background:var(--hover);color:var(--text-soft)}.hsy-account-avatar.hsy-avatar-placeholder svg{width:36px}.hsy-account-online{position:absolute;right:5px;bottom:4px;width:14px;height:14px;border-radius:50%;background:#22c55e;border:3px solid var(--field-bg)}.hsy-account-identity{display:flex;flex-direction:column;gap:5px;min-width:0;flex:1}.hsy-account-identity strong{font-size:20px}.hsy-plan-pill{display:inline-flex;align-self:flex-start;padding:5px 10px;border-radius:999px;color:#fff;background:#6d5dfc;font-size:11px;font-weight:700}.hsy-plan-pill.muted{background:var(--hover);color:var(--text-soft)}.hsy-account-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:18px 0}.hsy-account-stat{padding:14px;border:1px solid var(--border);background:var(--field-bg);border-radius:15px;display:flex;flex-direction:column;gap:4px}.hsy-account-stat strong{font-size:20px}.hsy-account-stat span{font-size:12px;color:var(--text-soft)}.hsy-account-stat small{font-size:10px}.hsy-account-progress{padding:15px;border:1px solid var(--border);border-radius:15px;margin-bottom:12px}.hsy-account-progress-head{display:flex;justify-content:space-between;font-size:12px;margin-bottom:9px}.hsy-progress-track{height:8px;background:var(--hover);border-radius:99px;overflow:hidden}.hsy-progress-track span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#6d5dfc,#22c55e)}.hsy-account-subscription{display:grid;grid-template-columns:1fr 1fr auto;gap:12px;align-items:center;padding:15px;border:1px solid var(--border);border-radius:15px;margin-bottom:18px}.hsy-account-subscription>div{display:flex;flex-direction:column;gap:4px}.hsy-account-section-title{font-weight:800;font-size:14px;margin-bottom:-4px}.hsy-account-form{padding-top:2px}.hsy-account-form .hsy-profile-actions{justify-content:flex-start}@media(max-width:600px){.hsy-account-stats{grid-template-columns:repeat(2,1fr)}.hsy-account-subscription{grid-template-columns:1fr 1fr}.hsy-account-subscription .hsy-btn{grid-column:1/-1}.hsy-account-avatar{width:68px;height:68px}.hsy-account-identity strong{font-size:17px}}

.hsy-side-icon{display:flex;align-items:center;justify-content:center;width:20px;height:20px;flex:0 0 20px}.hsy-side-icon img{display:block}.hsy-account-name-row{display:flex;align-items:center;gap:7px}.hsy-verified-badge{width:18px;height:18px;object-fit:contain;display:inline-flex;align-items:center;justify-content:center;flex:0 0 18px}.hsy-verified-badge.default{border-radius:50%;background:#1d9bf0;color:#fff;font-size:12px;font-weight:800;line-height:18px}.hsy-account-panel{width:min(920px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:4px}.hsy-account-panel .hsy-account-hero{padding:10px 8px 22px}.hsy-account-panel .hsy-account-form{padding:0 8px 8px}.hsy-account-panel .hsy-account-stats,.hsy-account-panel .hsy-account-progress,.hsy-account-panel .hsy-account-subscription{margin-left:8px;margin-right:8px}@media(max-width:700px){.hsy-account-panel{width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.hsy-account-panel .hsy-account-stats{margin-left:0;margin-right:0}.hsy-account-panel .hsy-account-progress,.hsy-account-panel .hsy-account-subscription{margin-left:0;margin-right:0}}

.hsy-profile-verified{width:16px;height:16px;object-fit:contain;display:inline-flex;align-items:center;justify-content:center;flex:0 0 16px}.hsy-profile-verified.default{border-radius:50%;background:#1d9bf0;color:#fff;font-size:11px;font-weight:800;line-height:16px}.hsy-profile-btn .hsy-profile-name{flex:0 1 auto}

.hsy-account-stat-empty{grid-column:1/-1;text-align:center;color:var(--text-soft);justify-content:center;min-height:70px}


/* v2.8 - compact full account panel: show the complete dashboard on desktop without internal scrolling */
.hsy-modal.hsy-modal-account{max-width:1120px;width:min(1120px,calc(100vw - 28px));max-height:calc(100dvh - 24px);height:auto;overflow:hidden;padding:18px;border-radius:22px}
.hsy-modal.hsy-modal-account>.hsy-account-panel{width:100%;max-width:none;max-height:none;overflow:visible;padding:0;display:block}
.hsy-modal.hsy-modal-account .hsy-account-hero{padding:2px 4px 12px;margin-bottom:8px;gap:12px}
.hsy-modal.hsy-modal-account .hsy-account-avatar{width:64px;height:64px}
.hsy-modal.hsy-modal-account .hsy-account-identity{gap:3px}
.hsy-modal.hsy-modal-account .hsy-account-identity strong{font-size:18px}
.hsy-modal.hsy-modal-account .hsy-current-plan-card{display:grid;grid-template-columns:minmax(150px,.8fr) minmax(0,2.2fr) auto;align-items:center;gap:14px;margin:0 8px 12px;padding:14px 16px;border:1px solid var(--border);border-radius:16px;background:linear-gradient(135deg,var(--field-bg),var(--hover));box-shadow:0 8px 22px rgba(0,0,0,.05)}.hsy-current-plan-main{display:flex;align-items:center;gap:8px;min-width:0;flex-wrap:wrap}.hsy-current-plan-kicker{width:100%;font-size:10px;color:var(--text-soft);font-weight:700}.hsy-current-plan-name{font-size:18px;line-height:1.4;overflow-wrap:anywhere}.hsy-current-plan-badge{display:inline-flex;align-items:center;padding:4px 8px;border-radius:999px;background:rgba(109,93,252,.12);color:var(--hsy-profile-accent,#6d5dfc);font-size:10px;font-weight:800}.hsy-current-plan-meta{display:flex;flex-direction:column;gap:3px;min-width:0}.hsy-current-plan-meta span{font-size:10px}.hsy-current-plan-meta strong{font-size:12px;overflow-wrap:anywhere}.hsy-current-plan-details{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;min-width:0}.hsy-current-plan-detail{display:flex;flex-direction:column;gap:3px;min-width:0;padding:7px 9px;border:1px solid var(--border);border-radius:11px;background:rgba(255,255,255,.035)}.hsy-current-plan-detail span{font-size:9px;white-space:nowrap}.hsy-current-plan-detail strong{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hsy-current-plan-detail strong.is-warning{color:#dc2626}.hsy-current-plan-card .hsy-btn{white-space:nowrap;padding:9px 12px;font-size:11px}.hsy-plan-pill.is-free{background:var(--hover);color:var(--text-soft)}
.hsy-account-panel-title{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:7px 4px 9px;border-bottom:1px solid var(--border);margin-bottom:10px}
.hsy-modal.hsy-modal-account .hsy-account-stats{grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;margin:0 0 9px}
.hsy-modal.hsy-modal-account .hsy-account-stat{min-width:0;padding:9px 8px;border-radius:12px;gap:2px}
.hsy-modal.hsy-modal-account .hsy-account-stat strong{font-size:18px}
.hsy-modal.hsy-modal-account .hsy-account-stat span{font-size:11px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hsy-modal.hsy-modal-account .hsy-account-stat small{font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hsy-modal.hsy-modal-account .hsy-account-progress{padding:9px 11px;margin:0 0 9px;border-radius:12px}
.hsy-modal.hsy-modal-account .hsy-account-progress-head{margin-bottom:6px;font-size:11px}
.hsy-modal.hsy-modal-account .hsy-progress-track{height:6px}
.hsy-modal.hsy-modal-account .hsy-account-subscription{grid-template-columns:1fr 1fr auto;gap:8px;padding:9px 11px;margin:0 0 9px;border-radius:12px}
.hsy-modal.hsy-modal-account .hsy-account-subscription>div{gap:2px}
.hsy-modal.hsy-modal-account .hsy-account-subscription span{font-size:10px}
.hsy-modal.hsy-modal-account .hsy-account-subscription strong{font-size:13px}
.hsy-modal.hsy-modal-account .hsy-account-subscription .hsy-btn{padding:8px 11px;font-size:11px;white-space:nowrap}
.hsy-modal.hsy-modal-account .hsy-account-form{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;align-items:end;gap:8px;padding:0 4px}
.hsy-modal.hsy-modal-account .hsy-account-section-title{grid-column:1/-1;margin:0 0 1px;font-size:12px}
.hsy-modal.hsy-modal-account .hsy-account-form label{margin:0}
.hsy-modal.hsy-modal-account .hsy-account-form label>span{font-size:11px;margin-bottom:4px}
.hsy-modal.hsy-modal-account .hsy-account-form .hsy-input{padding:8px 10px;font-size:12px;margin:0;min-height:36px}
.hsy-modal.hsy-modal-account .hsy-account-form small{font-size:8px}
.hsy-modal.hsy-modal-account .hsy-profile-actions{margin:0;gap:6px;align-items:stretch}
.hsy-modal.hsy-modal-account .hsy-profile-actions .hsy-btn{padding:8px 12px;font-size:11px;white-space:nowrap}
@media(max-width:850px){
  .hsy-modal.hsy-modal-account{max-height:calc(100dvh - 16px);width:calc(100vw - 16px);padding:13px;overflow-y:auto}
  .hsy-modal.hsy-modal-account .hsy-account-stats{grid-template-columns:repeat(3,minmax(0,1fr))}
  .hsy-modal.hsy-modal-account .hsy-account-form{grid-template-columns:1fr 1fr}
  .hsy-modal.hsy-modal-account .hsy-profile-actions{grid-column:1/-1}
}
@media(max-width:520px){
  .hsy-modal.hsy-modal-account .hsy-account-hero{padding-bottom:9px}
  .hsy-modal.hsy-modal-account .hsy-account-avatar{width:54px;height:54px}
  .hsy-modal.hsy-modal-account .hsy-account-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hsy-modal.hsy-modal-account .hsy-account-subscription{grid-template-columns:1fr 1fr}
  .hsy-modal.hsy-modal-account .hsy-account-subscription .hsy-btn{grid-column:1/-1}
  .hsy-modal.hsy-modal-account .hsy-account-form{grid-template-columns:1fr}
  .hsy-modal.hsy-modal-account .hsy-account-form .hsy-profile-actions{grid-column:auto}
}
.hsy-custom-account-stat{position:relative;overflow:hidden;border-color:color-mix(in srgb,var(--hsy-card-accent,#6d5dfc) 25%,var(--border))}.hsy-custom-account-stat:before{content:"";position:absolute;inset:0 auto 0 0;width:3px;background:var(--hsy-card-accent,#6d5dfc)}.hsy-custom-card-top{display:flex;align-items:center;justify-content:space-between;gap:8px}.hsy-custom-card-top img{width:22px;height:22px;object-fit:contain;border-radius:6px}.hsy-custom-card-icon{font-size:20px;line-height:1}.hsy-custom-account-stat.is-link{cursor:pointer}.hsy-custom-account-stat.is-link:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(0,0,0,.08)}

/* v3.1 - user panel visual customizer */
.hsy-modal.hsy-modal-account{width:min(var(--hsy-profile-width,1120px),calc(100vw - 28px))}
.hsy-modal.hsy-modal-account>.hsy-account-panel{background:var(--hsy-profile-bg,transparent);color:var(--hsy-profile-text,inherit);font-size:calc(1em * var(--hsy-profile-font-scale,1));border-radius:20px}
.hsy-modal.hsy-modal-account .hsy-account-stat,
.hsy-modal.hsy-modal-account .hsy-account-progress,
.hsy-modal.hsy-modal-account .hsy-account-subscription{background:var(--hsy-profile-card-bg,var(--field-bg));border-color:var(--hsy-profile-card-border,var(--border));border-radius:var(--hsy-profile-radius,15px);}
.hsy-modal.hsy-modal-account .hsy-account-stats{grid-template-columns:repeat(var(--hsy-profile-cols,6),minmax(0,1fr));gap:var(--hsy-profile-gap,10px)}
.hsy-modal.hsy-modal-account .hsy-account-stat{box-shadow:0 calc(var(--hsy-profile-shadow-strength,2) * 1px) calc(var(--hsy-profile-shadow-strength,2) * 8px) rgba(0,0,0,calc(var(--hsy-profile-shadow-strength,2) * .025));}
.hsy-modal.hsy-modal-account .hsy-plan-pill{background:var(--hsy-profile-accent,#6d5dfc)!important}
.hsy-modal.hsy-modal-account .hsy-progress-track span{background:linear-gradient(90deg,var(--hsy-profile-accent,#6d5dfc),#22c55e)}
.hsy-modal.hsy-modal-account .hsy-btn{background:var(--hsy-profile-accent,#6d5dfc)}
.hsy-modal.hsy-modal-account .hsy-custom-account-stat{border-inline-start:3px solid var(--hsy-card-accent,var(--hsy-profile-accent,#6d5dfc))}
@media(max-width:1000px){.hsy-modal.hsy-modal-account .hsy-account-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){.hsy-modal.hsy-modal-account .hsy-account-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
.hsy-developer-panel{min-width:min(820px,calc(100vw - 28px));max-height:calc(100vh - 42px);overflow:auto}.hsy-dev-head{display:flex;align-items:stretch;gap:12px;margin:10px 0 14px}.hsy-dev-balance{min-width:190px;padding:18px;border:1px solid var(--border);border-radius:16px;background:var(--field-bg);display:flex;flex-direction:column;gap:4px}.hsy-dev-balance strong{font-size:30px}.hsy-dev-balance small,.hsy-dev-balance span,.hsy-dev-note{color:var(--text-soft);font-size:12px}.hsy-dev-note{flex:1;padding:18px;border:1px dashed var(--border);border-radius:16px;display:flex;align-items:center}.hsy-dev-box{border:1px solid var(--border);border-radius:16px;padding:16px;margin-top:12px;background:var(--field-bg)}.hsy-dev-title{font-weight:800;font-size:15px;margin-bottom:7px}.hsy-dev-create{display:flex;gap:8px;margin-top:12px}.hsy-dev-create .hsy-input{flex:1}.hsy-dev-keys{margin-top:12px;display:flex;flex-direction:column;gap:7px}.hsy-dev-key-row,.hsy-dev-model-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px;border:1px solid var(--border);border-radius:12px;background:var(--hover)}.hsy-dev-key-row>div,.hsy-dev-model-row>div{display:flex;flex-direction:column;gap:3px;min-width:0}.hsy-dev-key-row small,.hsy-dev-model-row code{direction:ltr;text-align:right;color:var(--muted);font-size:11px}.hsy-dev-status{font-size:11px;padding:4px 8px;border-radius:999px;background:#dcfce7;color:#166534}.hsy-dev-status.revoked{background:#fee2e2;color:#991b1b}.hsy-dev-model-row{margin-top:7px}.hsy-dev-model-row>span{font-size:11px;color:var(--text-soft);white-space:nowrap}.hsy-btn.small{padding:6px 10px;font-size:11px}.hsy-dev-key-notice{margin:10px 0;padding:14px;border:1px solid var(--border);border-radius:14px;background:var(--hover);display:flex;flex-direction:column;gap:6px}.hsy-dev-key-notice code{direction:ltr;user-select:all;font-size:13px;word-break:break-all}.hsy-dev-key-notice small{color:var(--muted)}.hsy-dev-code{direction:ltr;text-align:left;white-space:pre-wrap;background:#111827;color:#e5e7eb;border-radius:12px;padding:14px;overflow:auto;font-size:12px}@media(max-width:650px){.hsy-dev-panel{min-width:calc(100vw - 28px)}.hsy-dev-head{flex-direction:column}.hsy-dev-balance{min-width:0}.hsy-dev-create{flex-direction:column}.hsy-dev-key-row,.hsy-dev-model-row{align-items:flex-start;flex-wrap:wrap}.hsy-dev-model-row>span{white-space:normal}}
.hsy-dev-menu{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:8px;margin:12px 0}.hsy-dev-menu .hsy-feature-row{margin:0;text-align:right}.hsy-dev-box h4{margin:12px 0 6px}


/* v4.5 - full-size developer dashboard */
.hsy-modal.hsy-modal-developer{
  width:min(1180px,calc(100vw - 32px));
  max-width:1180px;
  height:min(90vh,900px);
  max-height:90vh;
  padding:24px;
  overflow:hidden;
  border-radius:24px;
  box-sizing:border-box;
}
.hsy-modal.hsy-modal-developer .hsy-developer-panel{
  width:100%;
  height:100%;
  max-width:none;
  max-height:none;
  overflow-y:auto;
  overflow-x:hidden;
  box-sizing:border-box;
  padding:0 4px 24px;
  scrollbar-gutter:stable;
}
.hsy-modal.hsy-modal-developer .hsy-modal-head{
  position:sticky;
  top:0;
  z-index:3;
  margin:0 -4px 20px;
  padding:4px 4px 16px;
  background:var(--white);
  border-bottom:1px solid var(--border);
}
.hsy-modal.hsy-modal-developer .hsy-modal-head h2{font-size:26px;line-height:1.3;font-weight:800}
.hsy-modal.hsy-modal-developer .hsy-dev-head{
  display:grid;
  grid-template-columns:minmax(230px,300px) 1fr;
  gap:16px;
  margin:0 0 18px;
}
.hsy-modal.hsy-modal-developer .hsy-dev-balance{
  min-width:0;
  min-height:130px;
  padding:22px;
  border-radius:20px;
  justify-content:center;
}
.hsy-modal.hsy-modal-developer .hsy-dev-balance strong{font-size:38px;line-height:1.1}
.hsy-modal.hsy-modal-developer .hsy-dev-note{padding:22px;border-radius:20px;font-size:14px;line-height:1.9}
.hsy-modal.hsy-modal-developer .hsy-dev-box{
  padding:22px;
  margin:0 0 16px;
  border-radius:20px;
}
.hsy-modal.hsy-modal-developer .hsy-dev-title{font-size:19px;margin-bottom:10px}
.hsy-modal.hsy-modal-developer .hsy-muted{font-size:13px;line-height:1.9}
.hsy-modal.hsy-modal-developer .hsy-dev-create{gap:10px}
.hsy-modal.hsy-modal-developer .hsy-dev-create .hsy-input{min-height:46px}
.hsy-modal.hsy-modal-developer .hsy-dev-create .hsy-btn{min-height:46px;padding-inline:22px;white-space:nowrap}
.hsy-modal.hsy-modal-developer .hsy-dev-key-row,
.hsy-modal.hsy-modal-developer .hsy-dev-model-row{padding:15px;border-radius:15px;min-height:54px}
.hsy-modal.hsy-modal-developer .hsy-dev-model-row{margin-top:9px}
.hsy-modal.hsy-modal-developer .hsy-dev-code{font-size:13px;line-height:1.8;padding:18px;border-radius:15px}
.hsy-modal.hsy-modal-developer .hsy-feature-row{min-height:52px;padding:12px 16px;font-size:14px}
@media(max-width:800px){
  .hsy-modal.hsy-modal-developer{width:calc(100vw - 16px);height:calc(100dvh - 16px);max-height:calc(100dvh - 16px);padding:16px;border-radius:18px}
  .hsy-modal.hsy-modal-developer .hsy-developer-panel{padding:0 2px 18px}
  .hsy-modal.hsy-modal-developer .hsy-modal-head h2{font-size:21px}
  .hsy-modal.hsy-modal-developer .hsy-dev-head{grid-template-columns:1fr;gap:10px}
  .hsy-modal.hsy-modal-developer .hsy-dev-balance{min-height:105px;padding:18px}
  .hsy-modal.hsy-modal-developer .hsy-dev-balance strong{font-size:32px}
  .hsy-modal.hsy-modal-developer .hsy-dev-create{flex-direction:column}
  .hsy-modal.hsy-modal-developer .hsy-dev-create .hsy-btn{width:100%}
}

/* Developer & account dashboard polish v4.6 */
.hsy-modal.hsy-modal-account,.hsy-modal.hsy-modal-developer{backdrop-filter:blur(10px)}
.hsy-modal.hsy-modal-account>.hsy-account-panel,.hsy-modal.hsy-modal-developer>.hsy-developer-panel{box-shadow:0 24px 70px rgba(0,0,0,.24)}
.hsy-modal.hsy-modal-account .hsy-account-panel-title{font-size:16px;min-height:48px}
.hsy-modal.hsy-modal-account .hsy-account-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.hsy-modal.hsy-modal-account .hsy-account-stat{min-height:104px;justify-content:center;padding:16px;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.hsy-modal.hsy-modal-account .hsy-account-stat:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(0,0,0,.08)}
.hsy-modal.hsy-modal-developer .hsy-developer-panel{width:min(1180px,calc(100vw - 28px));max-height:calc(100dvh - 28px);padding:4px 6px 20px;overflow:auto}
.hsy-modal.hsy-modal-developer .hsy-modal-head{position:sticky;top:0;z-index:5;background:var(--panel-bg);padding:10px 6px 14px;border-bottom:1px solid var(--border);margin-bottom:8px}
.hsy-modal.hsy-modal-developer .hsy-dev-head{display:grid;grid-template-columns:minmax(230px,.7fr) minmax(0,1.8fr);gap:14px;margin:14px 0}
.hsy-modal.hsy-modal-developer .hsy-dev-balance{min-height:132px;justify-content:center;padding:22px;border-radius:20px;background:linear-gradient(135deg,var(--field-bg),var(--hover))}
.hsy-modal.hsy-modal-developer .hsy-dev-box{padding:20px;border-radius:20px;box-shadow:0 8px 24px rgba(0,0,0,.05);transition:transform .18s ease,box-shadow .18s ease}
.hsy-modal.hsy-modal-developer .hsy-dev-box:hover{transform:translateY(-1px);box-shadow:0 12px 30px rgba(0,0,0,.08)}
.hsy-modal.hsy-modal-developer .hsy-dev-menu{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px}
.hsy-modal.hsy-modal-developer .hsy-dev-menu .hsy-feature-row{min-height:52px;border-radius:14px}
.hsy-modal.hsy-modal-developer .hsy-dev-key-row,.hsy-modal.hsy-modal-developer .hsy-dev-model-row{min-height:62px}
@media(max-width:700px){.hsy-modal.hsy-modal-account .hsy-account-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.hsy-modal.hsy-modal-developer .hsy-developer-panel{width:calc(100vw - 12px);max-height:calc(100dvh - 12px);padding-inline:2px}.hsy-modal.hsy-modal-developer .hsy-dev-head{grid-template-columns:1fr}.hsy-modal.hsy-modal-developer .hsy-dev-menu{grid-template-columns:1fr}}

/* v4.7 - mobile-first account & developer dashboards */
.hsy-modal.hsy-modal-account,
.hsy-modal.hsy-modal-developer{box-sizing:border-box;overscroll-behavior:contain}
.hsy-modal.hsy-modal-account *,
.hsy-modal.hsy-modal-developer *{box-sizing:border-box}
@media(max-width:700px){
  .hsy-modal.hsy-modal-account,
  .hsy-modal.hsy-modal-developer{
    width:calc(100vw - 10px)!important;
    max-width:calc(100vw - 10px)!important;
    height:calc(100dvh - 10px)!important;
    max-height:calc(100dvh - 10px)!important;
    min-height:0;
    margin:5px;
    padding:12px;
    border-radius:18px;
  }
  .hsy-modal.hsy-modal-account>.hsy-account-panel,
  .hsy-modal.hsy-modal-developer>.hsy-developer-panel{
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    height:100%;
    max-height:none!important;
    overflow-x:hidden;
    overflow-y:auto;
    -webkit-overflow-scrolling:touch;
    padding:0 2px 18px;
  }
  .hsy-modal.hsy-modal-account .hsy-modal-head,
  .hsy-modal.hsy-modal-developer .hsy-modal-head{
    min-height:46px;
    gap:8px;
    margin-bottom:10px;
    padding:4px 2px 10px;
  }
  .hsy-modal.hsy-modal-account .hsy-modal-head h2,
  .hsy-modal.hsy-modal-developer .hsy-modal-head h2{
    font-size:19px;
    line-height:1.45;
    min-width:0;
  }
  .hsy-modal.hsy-modal-account .hsy-account-hero{
    gap:11px;
    padding:6px 2px 15px;
    align-items:center;
  }
  .hsy-modal.hsy-modal-account .hsy-account-avatar{width:62px;height:62px;flex:0 0 62px}
  .hsy-modal.hsy-modal-account .hsy-account-online{width:12px;height:12px;right:2px;bottom:2px;border-width:2px}
  .hsy-modal.hsy-modal-account .hsy-account-identity strong{font-size:16px;line-height:1.5;overflow-wrap:anywhere}
  .hsy-modal.hsy-modal-account .hsy-plan-pill{font-size:10px;padding:4px 8px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
  .hsy-modal.hsy-modal-account .hsy-account-panel-title{font-size:14px;min-height:44px;padding:7px 2px}
  .hsy-modal.hsy-modal-account .hsy-account-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:10px 0}
  .hsy-modal.hsy-modal-account .hsy-account-stat{min-height:88px;padding:12px 10px;border-radius:13px}
  .hsy-modal.hsy-modal-account .hsy-account-stat strong{font-size:18px;overflow-wrap:anywhere}
  .hsy-modal.hsy-modal-account .hsy-account-stat span{font-size:11px;line-height:1.6;white-space:normal}
  .hsy-modal.hsy-modal-account .hsy-account-stat small{font-size:9px;line-height:1.5;white-space:normal}
  .hsy-modal.hsy-modal-account .hsy-account-progress{padding:12px 11px;margin:0 0 9px;border-radius:13px}
  .hsy-modal.hsy-modal-account .hsy-account-progress-head{font-size:10px;gap:8px;line-height:1.6}
  .hsy-modal.hsy-modal-account .hsy-account-subscription{grid-template-columns:1fr 1fr;gap:8px;padding:12px 11px;margin-bottom:12px;border-radius:13px}
  .hsy-modal.hsy-modal-account .hsy-account-subscription span{font-size:10px;line-height:1.5}
  .hsy-modal.hsy-modal-account .hsy-account-subscription strong{font-size:12px;line-height:1.6;overflow-wrap:anywhere}
  .hsy-modal.hsy-modal-account .hsy-account-subscription .hsy-btn{grid-column:1/-1;width:100%;min-height:42px}
  .hsy-modal.hsy-modal-account .hsy-account-form{grid-template-columns:1fr!important;gap:10px;padding:0 2px 8px}
  .hsy-modal.hsy-modal-account .hsy-account-form label>span{font-size:11px}
  .hsy-modal.hsy-modal-account .hsy-account-form .hsy-input{width:100%;min-height:44px;font-size:16px;padding:10px 11px}
  .hsy-modal.hsy-modal-account .hsy-profile-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;width:100%}
  .hsy-modal.hsy-modal-account .hsy-profile-actions .hsy-btn{width:100%;min-height:44px;padding:10px 8px;font-size:12px}

  .hsy-modal.hsy-modal-developer .hsy-dev-head{display:grid;grid-template-columns:1fr;gap:9px;margin:8px 0 12px}
  .hsy-modal.hsy-modal-developer .hsy-dev-balance{min-height:96px;padding:16px;border-radius:16px}
  .hsy-modal.hsy-modal-developer .hsy-dev-balance strong{font-size:29px}
  .hsy-modal.hsy-modal-developer .hsy-dev-balance small,
  .hsy-modal.hsy-modal-developer .hsy-dev-balance span{font-size:10px}
  .hsy-modal.hsy-modal-developer .hsy-dev-note{padding:14px;border-radius:16px;font-size:12px;line-height:1.9}
  .hsy-modal.hsy-modal-developer .hsy-dev-box{padding:14px;margin-bottom:10px;border-radius:16px}
  .hsy-modal.hsy-modal-developer .hsy-dev-title{font-size:15px;line-height:1.6}
  .hsy-modal.hsy-modal-developer .hsy-muted{font-size:11px;line-height:1.8}
  .hsy-modal.hsy-modal-developer .hsy-dev-create{display:flex;flex-direction:column;gap:8px}
  .hsy-modal.hsy-modal-developer .hsy-dev-create .hsy-input,
  .hsy-modal.hsy-modal-developer .hsy-dev-create .hsy-btn{width:100%;min-height:44px;font-size:15px}
  .hsy-modal.hsy-modal-developer .hsy-dev-key-row,
  .hsy-modal.hsy-modal-developer .hsy-dev-model-row{display:flex;flex-direction:column;align-items:stretch;gap:9px;padding:12px;border-radius:13px;min-height:0}
  .hsy-modal.hsy-modal-developer .hsy-dev-key-row>div,
  .hsy-modal.hsy-modal-developer .hsy-dev-model-row>div{width:100%;min-width:0}
  .hsy-modal.hsy-modal-developer .hsy-dev-key-row small,
  .hsy-modal.hsy-modal-developer .hsy-dev-model-row code{font-size:10px;overflow-wrap:anywhere;word-break:break-word;white-space:normal}
  .hsy-modal.hsy-modal-developer .hsy-dev-key-row .hsy-btn,
  .hsy-modal.hsy-modal-developer .hsy-dev-model-row .hsy-btn{width:100%;min-height:40px}
  .hsy-modal.hsy-modal-developer .hsy-dev-model-row>span{font-size:10px;white-space:normal;line-height:1.7}
  .hsy-modal.hsy-modal-developer .hsy-dev-menu{grid-template-columns:1fr;gap:7px;margin:9px 0}
  .hsy-modal.hsy-modal-developer .hsy-dev-menu .hsy-feature-row{min-height:46px;padding:11px 12px;font-size:12px}
  .hsy-modal.hsy-modal-developer .hsy-dev-key-notice{padding:12px;border-radius:13px}
  .hsy-modal.hsy-modal-developer .hsy-dev-key-notice code{font-size:11px;line-height:1.7}
  .hsy-modal.hsy-modal-developer .hsy-dev-code{padding:12px;font-size:10px;line-height:1.7;border-radius:12px;max-width:100%;overflow:auto}
}
@media(max-width:420px){
  .hsy-modal.hsy-modal-account,
  .hsy-modal.hsy-modal-developer{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;margin:0;padding:10px;border-radius:0}
  .hsy-modal.hsy-modal-account .hsy-account-stats{gap:7px}
  .hsy-modal.hsy-modal-account .hsy-account-stat{min-height:82px;padding:10px 8px}
  .hsy-modal.hsy-modal-account .hsy-profile-actions{grid-template-columns:1fr}
  .hsy-modal.hsy-modal-account .hsy-account-subscription{grid-template-columns:1fr}
  .hsy-modal.hsy-modal-account .hsy-account-subscription .hsy-btn{grid-column:auto}
  .hsy-modal.hsy-modal-developer .hsy-modal-head h2{font-size:18px}
}
@media(hover:none){
  .hsy-modal.hsy-modal-account .hsy-account-stat:hover,
  .hsy-modal.hsy-modal-developer .hsy-dev-box:hover{transform:none;box-shadow:none}
}

.hsy-profile-completion{width:min(520px,calc(100vw - 28px));padding:4px}.hsy-profile-completion-note{line-height:1.9;color:var(--text-soft);margin:4px 0 18px}.hsy-profile-completion-form{display:grid;gap:14px}.hsy-profile-completion-form label{display:grid;gap:7px;font-weight:700;font-size:13px}.hsy-profile-completion-form .hsy-input{width:100%;box-sizing:border-box}.hsy-profile-completion-form small{font-weight:400}.hsy-profile-completion-form button:disabled{opacity:.6;cursor:not-allowed}@media(max-width:600px){.hsy-profile-completion{width:calc(100vw - 18px)}.hsy-profile-completion-form{gap:12px}}

/* Registration form builder/mobile polish */
.hsy-profile-completion{width:min(100%,560px);max-height:90vh;overflow:auto}
.hsy-registration-field{display:block;margin:0 0 14px}
.hsy-registration-field>span{display:block;margin-bottom:7px;font-weight:600}
.hsy-radio-group{display:flex;flex-wrap:wrap;gap:8px}
.hsy-radio-option,.hsy-checkbox-option{display:inline-flex!important;align-items:center;gap:6px;margin:0!important;padding:9px 12px;border:1px solid rgba(127,127,127,.25);border-radius:10px}
@media(max-width:600px){
 .hsy-profile-completion{width:100%;max-width:none;max-height:calc(100vh - 24px);padding-bottom:8px}
 .hsy-profile-completion-form .hsy-input{width:100%;min-height:46px;font-size:16px}
 .hsy-profile-completion-form{display:block}
 .hsy-profile-completion .hsy-modal-btn{width:100%;min-height:48px}
 .hsy-radio-group{display:grid;grid-template-columns:1fr 1fr}
}


/* AI model introduction popup */
.hsy-model-intro-overlay{position:fixed;inset:0;background:rgba(0,0,0,.48);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);display:flex;align-items:center;justify-content:center;padding:20px;z-index:10000;opacity:0;transition:opacity .2s ease}
.hsy-model-intro-overlay.show{opacity:1}
.hsy-model-intro-card{--hsy-intro-color:#6d5dfc;width:min(560px,100%);max-height:min(720px,calc(100dvh - 40px));overflow:auto;background:var(--white);color:var(--text);border:1px solid var(--border);border-radius:24px;box-shadow:0 28px 90px rgba(0,0,0,.24);padding:24px;position:relative;transform:translateY(12px) scale(.98);transition:transform .25s ease}
.hsy-model-intro-overlay.show .hsy-model-intro-card{transform:none}
.hsy-model-intro-card:before{content:"";position:absolute;inset:0 0 auto;height:5px;background:linear-gradient(90deg,var(--hsy-intro-color),transparent);border-radius:24px 24px 0 0}
.hsy-model-intro-close{position:absolute;left:14px;top:12px;width:36px;height:36px;border:1px solid var(--border);background:var(--field-bg);color:var(--text);border-radius:50%;font-size:24px;line-height:1;cursor:pointer}
.hsy-model-intro-head{display:flex;align-items:center;gap:14px;padding-left:44px;margin-top:4px}
.hsy-model-intro-logo{width:64px;height:64px;border-radius:18px;object-fit:cover;border:1px solid var(--border);box-shadow:0 8px 24px rgba(0,0,0,.08);flex:0 0 auto}
.hsy-model-intro-logo.fallback{display:flex;align-items:center;justify-content:center;background:color-mix(in srgb,var(--hsy-intro-color) 12%,var(--field-bg));font-size:28px}
.hsy-model-intro-heading{min-width:0}.hsy-model-intro-kicker{font-size:11px;color:var(--hsy-intro-color);font-weight:800}.hsy-model-intro-heading h2{font-size:22px;line-height:1.45;margin:2px 0 1px}.hsy-model-intro-model-name{font-size:12px;color:var(--muted)}
.hsy-model-intro-badges{display:flex;flex-wrap:wrap;gap:7px;margin:20px 0 0}.hsy-model-intro-badges span{border:1px solid color-mix(in srgb,var(--hsy-intro-color) 28%,var(--border));background:color-mix(in srgb,var(--hsy-intro-color) 8%,transparent);color:var(--text);border-radius:999px;padding:5px 10px;font-size:11.5px}
.hsy-model-intro-description{font-size:14px;line-height:2;margin:18px 0;color:var(--text-soft);white-space:pre-line}
.hsy-model-intro-features{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:16px 0}.hsy-model-intro-features span{padding:9px 11px;border:1px solid var(--border);border-radius:12px;background:var(--field-bg);font-size:12px;color:var(--text-soft)}
.hsy-model-intro-actions{display:flex;gap:9px;margin-top:22px}.hsy-model-intro-actions button{flex:1;border-radius:12px;padding:12px 16px;font-size:13px;font-weight:700}.hsy-model-intro-primary{border:0;background:var(--hsy-intro-color);color:#fff}.hsy-model-intro-secondary{border:1px solid var(--border);background:transparent;color:var(--text)}
@media(max-width:560px){.hsy-model-intro-overlay{padding:12px}.hsy-model-intro-card{border-radius:20px;padding:20px;max-height:calc(100dvh - 24px)}.hsy-model-intro-head{padding-left:36px;gap:11px}.hsy-model-intro-logo{width:54px;height:54px;border-radius:15px}.hsy-model-intro-heading h2{font-size:18px}.hsy-model-intro-features{grid-template-columns:1fr}.hsy-model-intro-actions{position:sticky;bottom:0;background:var(--white);padding-top:10px}.hsy-model-intro-actions button{min-height:46px}}


/* Live voice conversation */
.hsy-question-toggle.active{background:var(--black);color:var(--white)}
.hsy-question-toggle.active:hover{background:var(--black);opacity:.9}
.hsy-voice-btn{position:relative}
.hsy-voice-btn.active{background:var(--black);color:var(--white)}
.hsy-voice-btn.active:hover{background:var(--black);opacity:.9}
.hsy-voice-btn.active:after{content:'';position:absolute;inset:-3px;border:2px solid currentColor;border-radius:50%;opacity:.35;animation:hsyVoicePulse 1.4s ease-out infinite}
@keyframes hsyVoicePulse{0%{transform:scale(.95);opacity:.45}70%,100%{transform:scale(1.18);opacity:0}}

.hsy-side-link-title{min-width:0;flex:1}.hsy-side-link-badge{margin-inline-start:auto;display:inline-flex;align-items:center;justify-content:center;max-width:72px;padding:2px 7px;border-radius:999px;background:var(--hover);color:var(--text-soft);font-size:10px;line-height:1.4;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hsy-side-link-badge:empty{display:none}@media(max-width:700px){.hsy-side-link-badge{max-width:64px;font-size:9px;padding:2px 6px}}

/* v7.3 professional developer + account dashboard */
.hsy-dev-dashboard-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:16px 0}
.hsy-dev-stat-card{padding:14px;border:1px solid var(--hsy-border,#e7e8ef);background:var(--hsy-card,#fff);border-radius:16px;display:flex;flex-direction:column;gap:5px;min-width:0}
.hsy-dev-stat-card strong{font-size:21px}.hsy-dev-stat-icon{font-size:18px;opacity:.8}
.hsy-dev-bars{height:125px;display:flex;align-items:flex-end;gap:9px;padding:12px 4px 0}
.hsy-dev-bar-col{height:100%;flex:1;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:5px}.hsy-dev-bar{width:100%;max-width:34px;border-radius:9px 9px 4px 4px;background:var(--hsy-accent,#6d5dfc);min-height:8px}.hsy-dev-bar-col small{font-size:9px;opacity:.6}
.hsy-dev-menu-icon{width:30px;height:30px;display:inline-flex;align-items:center;justify-content:center;border-radius:9px;background:rgba(109,93,252,.08)}
.hsy-dev-menu-arrow{margin-right:auto;opacity:.45}.hsy-menu-badge{margin-right:6px;padding:3px 7px;border-radius:999px;font-size:10px;background:rgba(109,93,252,.12);color:var(--hsy-accent,#6d5dfc)}
.hsy-account-quick-actions{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:16px 0}
.hsy-account-quick{border:1px solid var(--hsy-border,#e7e8ef);background:var(--hsy-card,#fff);border-radius:15px;padding:13px;text-align:right;display:grid;grid-template-columns:32px 1fr;column-gap:9px;align-items:center;cursor:pointer;color:inherit}
.hsy-account-quick>span{grid-row:1/3;width:32px;height:32px;border-radius:10px;background:rgba(109,93,252,.1);display:flex;align-items:center;justify-content:center}.hsy-account-quick strong{font-size:13px}.hsy-account-quick small{font-size:10px}
@media(max-width:700px){.hsy-dev-dashboard-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.hsy-account-quick-actions{grid-template-columns:1fr}.hsy-dev-stat-card strong{font-size:18px}}

.hsy-plan-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px}.hsy-plan-card{padding:20px;border:1px solid #ddd;border-radius:16px;text-align:center}.hsy-plan-card.vip{border-width:2px}.hsy-plan-card .price{font-size:22px;font-weight:bold}.hsy-current{padding:12px;margin:15px 0;border-radius:10px}

/* Professional subscription plans */
.hsy-plans-pro{max-width:1180px;margin:35px auto;padding:0 18px;color:inherit}.hsy-plans-hero{text-align:center;margin-bottom:25px}.hsy-plans-kicker{display:inline-block;font-size:13px;font-weight:700;padding:6px 12px;border-radius:999px;background:rgba(79,70,229,.10);margin-bottom:10px}.hsy-plans-hero h2{font-size:32px;margin:5px 0 8px}.hsy-plans-hero p{opacity:.72;margin:0}.hsy-current{padding:14px 18px;margin:0 auto 25px;border:1px solid rgba(79,70,229,.2);border-radius:14px;background:rgba(79,70,229,.06)}.hsy-current span{float:left;opacity:.7;font-size:13px}.hsy-plan-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(245px,1fr));gap:20px;align-items:stretch}.hsy-plan-card{position:relative;padding:28px 22px 22px;border:1px solid #e5e7eb;border-radius:22px;background:#fff;box-shadow:0 8px 30px rgba(15,23,42,.06);text-align:right;transition:transform .2s,box-shadow .2s,border-color .2s}.hsy-plan-card:hover{transform:translateY(-5px);box-shadow:0 16px 40px rgba(15,23,42,.11)}.hsy-plan-card.is-popular{border:2px solid #4f46e5;transform:translateY(-6px)}.hsy-plan-card.is-popular:hover{transform:translateY(-10px)}.hsy-plan-card.vip{border-color:#d4af37}.hsy-plan-card.is-current{box-shadow:0 0 0 3px rgba(34,197,94,.12)}.hsy-popular-badge,.hsy-plan-badge{position:absolute;top:-13px;right:20px;padding:7px 13px;border-radius:999px;font-size:12px;font-weight:800;background:var(--hsy-ct-accent,#4f46e5);color:#fff}.hsy-plan-badge{background:#111827}.hsy-plan-head{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.hsy-plan-head h3{font-size:22px;margin:0 0 12px}.hsy-duration{font-size:12px;white-space:nowrap;padding:5px 8px;border-radius:8px;background:#f3f4f6}.hsy-price-wrap{margin:8px 0 14px;min-height:70px;position:relative}.hsy-price{font-size:30px;font-weight:900;line-height:1.15}.hsy-price small{font-size:12px;font-weight:600}.hsy-old-price{font-size:13px;text-decoration:line-through;opacity:.55;margin-bottom:3px}.hsy-discount{display:inline-block;margin-right:7px;padding:3px 7px;border-radius:7px;background:#dcfce7;color:#166534;font-size:11px;font-weight:800}.hsy-plan-limit{font-size:13px;font-weight:700;padding:10px 12px;background:#f8fafc;border-radius:10px;margin-bottom:13px}.hsy-feature-list{list-style:none!important;padding:0!important;margin:0 0 18px!important}.hsy-feature-list li{display:flex;align-items:center;gap:9px;padding:8px 0;font-size:13px;border-bottom:1px solid #f1f5f9}.hsy-feature-icon{width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;font-size:13px;font-weight:900;flex:none}.hsy-feature-list .enabled .hsy-feature-icon{background:#dcfce7;color:#15803d}.hsy-feature-list .disabled{opacity:.48}.hsy-feature-list .disabled .hsy-feature-icon{background:#f1f5f9;color:#64748b}.hsy-plan-button,.hsy-current-plan-label{display:block;text-align:center;padding:12px 16px;border-radius:12px;font-weight:800;text-decoration:none}.hsy-plan-button{background:#4f46e5;color:#fff}.hsy-plan-button:hover{opacity:.9;color:#fff}.hsy-current-plan-label{background:#dcfce7;color:#166534}@media(max-width:650px){.hsy-plans-hero h2{font-size:25px}.hsy-plan-card.is-popular{transform:none}.hsy-current span{float:none;display:block;margin-top:5px}.hsy-plan-head{display:block}}

.hsy-card-transfer-box{margin-top:18px;padding:18px;border:1px solid #e5e7eb;border-radius:16px;background:#fff}.hsy-card-transfer-box h3{margin:0 0 8px}.hsy-card-info{padding:12px;margin:12px 0;background:#f8fafc;border-radius:12px;line-height:2}.hsy-card-transfer-box textarea{width:100%;margin-top:6px}.hsy-card-transfer-box input[type=file]{display:block;margin-top:6px}

/* Professional card-to-card checkout */
.hsy-ct-pro{max-width:560px!important}.hsy-ct-intro{display:flex;gap:11px;align-items:flex-start;padding:12px 14px;margin:0 0 14px;border:1px solid #e8eaf2;border-radius:14px;background:#fafbff}.hsy-ct-step{width:28px;height:28px;flex:none;border-radius:9px;display:flex;align-items:center;justify-content:center;font-weight:900;background:#4f46e5;color:#fff}.hsy-ct-intro strong{display:block;font-size:14px;margin-bottom:3px}.hsy-ct-intro small{display:block;font-size:11px;line-height:1.8;opacity:.68}.hsy-ct-bank-card{padding:19px;border-radius:20px;background:linear-gradient(135deg,#171923,#34364a);color:#fff;box-shadow:0 12px 30px rgba(15,23,42,.18);margin-bottom:14px}.hsy-ct-bank-top,.hsy-ct-number-row,.hsy-ct-bank-meta{display:flex;align-items:center;justify-content:space-between;gap:10px}.hsy-ct-chip{font-size:10px;font-weight:900;letter-spacing:1px;padding:5px 8px;border:1px solid rgba(255,255,255,.2);border-radius:7px}.hsy-ct-bank-name{font-size:12px;opacity:.85}.hsy-ct-number-row{margin:25px 0 18px}.hsy-ct-number{font-size:21px;letter-spacing:1.5px;direction:ltr}.hsy-ct-copy{border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.09);color:#fff;border-radius:9px;padding:7px 10px;cursor:pointer}.hsy-ct-bank-meta{font-size:11px;opacity:.82}.hsy-ct-instructions{padding:13px 15px;margin-bottom:14px;border-radius:14px;background:var(--hsy-ct-info,#f8fafc);border:1px solid #e8eaf2}.hsy-ct-instructions strong{font-size:13px}.hsy-ct-instructions p{margin:5px 0 0;font-size:12px;line-height:2;white-space:pre-line;opacity:.75}.hsy-ct-pro form{display:grid;gap:9px}.hsy-ct-pro form p{margin:0}.hsy-ct-pro form label{display:block;font-size:12px;font-weight:700}.hsy-ct-pro form input,.hsy-ct-pro form textarea{box-sizing:border-box;width:100%;margin-top:6px;padding:10px 11px;border:1px solid #e1e4ec;border-radius:10px;background:#fff;font:inherit}.hsy-ct-pro form input:focus,.hsy-ct-pro form textarea:focus{outline:none;border-color:var(--hsy-ct-accent,#4f46e5);box-shadow:0 0 0 3px color-mix(in srgb,var(--hsy-ct-accent,#4f46e5) 12%, transparent)}.hsy-ct-security-note{font-size:10px;line-height:1.8;padding:9px 11px;border-radius:10px;background:var(--hsy-ct-info,#f8fafc);color:#64748b}.hsy-ct-submit{width:100%;border:0;cursor:pointer;margin-top:2px}

/* Card-to-card customization */
.hsy-card-transfer-box{background:var(--hsy-ct-card,#fff);border:1px solid color-mix(in srgb,var(--hsy-ct-accent,#4f46e5) 18%,#e5e7eb);border-radius:18px;padding:20px;margin-top:16px;box-shadow:0 8px 24px rgba(15,23,42,.06)}
.hsy-card-transfer-box h3{color:var(--hsy-ct-accent,#4f46e5);margin-top:0}
.hsy-card-transfer-box .hsy-card-info{background:var(--hsy-ct-info,#f8fafc);border-right:4px solid var(--hsy-ct-accent,#4f46e5);border-radius:12px;padding:14px 16px;line-height:2;margin:14px 0}
.hsy-card-transfer-box .hsy-plan-button{background:var(--hsy-ct-btn,#4f46e5)!important;color:var(--hsy-ct-btn-text,#fff)!important;border:0;cursor:pointer;transition:transform .15s,opacity .15s}
.hsy-card-transfer-box .hsy-plan-button:hover{opacity:.9;transform:translateY(-1px)}

.hsy-card-transfer-modal.hsy-ct-pro{background:var(--hsy-ct-card,#fff)!important;border-color:color-mix(in srgb,var(--hsy-ct-accent,#4f46e5) 18%,#e5e7eb)!important;color:inherit}.hsy-card-transfer-modal.hsy-ct-pro .hsy-ct-bank-card{background:linear-gradient(135deg,var(--hsy-ct-accent,#4f46e5),color-mix(in srgb,var(--hsy-ct-accent,#4f46e5) 55%,#111827))!important}.hsy-card-transfer-modal.hsy-ct-pro .hsy-ct-instructions{background:var(--hsy-ct-info,#f8fafc)!important}.hsy-card-transfer-modal.hsy-ct-pro .hsy-ct-submit{background:var(--hsy-ct-btn,#4f46e5)!important;color:var(--hsy-ct-btn-text,#fff)!important}.hsy-card-transfer-modal.hsy-ct-pro .hsy-ct-step{background:var(--hsy-ct-accent,#4f46e5)!important}.hsy-card-transfer-modal.hsy-ct-pro .hsy-ct-number-row .hsy-ct-copy{color:#fff!important}

/* Wallet */
.hsy-modal.hsy-modal-wallet{width:min(760px,calc(100vw - 32px));max-width:760px;padding:18px;max-height:calc(100dvh - 32px);overflow-y:auto;box-sizing:border-box}
.hsy-wallet-panel{width:100%;max-width:none;max-height:none;overflow:visible;padding:0;box-sizing:border-box}.hsy-wallet-head{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--border);padding:2px 2px 14px;margin-bottom:14px;gap:12px}.hsy-wallet-kicker{display:block;font-size:11px;color:var(--text-soft);margin-bottom:3px}.hsy-wallet-head h2{margin:0;font-size:22px;line-height:1.4}.hsy-wallet-balance{padding:22px;border-radius:20px;background:linear-gradient(135deg,var(--hover),var(--field-bg));border:1px solid var(--border);display:flex;align-items:end;gap:8px;margin-bottom:16px;box-sizing:border-box}.hsy-wallet-balance span{font-size:12px;color:var(--text-soft);margin-left:auto}.hsy-wallet-balance strong{font-size:32px;line-height:1.2}.hsy-wallet-balance small{font-size:12px;color:var(--text-soft);padding-bottom:5px}.hsy-wallet-recharge,.hsy-wallet-bank,.hsy-wallet-transactions{border:1px solid var(--border);border-radius:17px;padding:16px;margin-top:12px;background:var(--field-bg);box-sizing:border-box}.hsy-wallet-recharge h3,.hsy-wallet-transactions h3{margin:0 0 7px}.hsy-wallet-recharge p{line-height:1.9;margin:0 0 8px}.hsy-wallet-recharge label{display:flex;flex-direction:column;gap:6px;margin-top:10px;font-size:12px;color:var(--text-soft)}.hsy-wallet-recharge .hsy-input{width:100%;padding:10px 12px;border:1px solid var(--border);background:var(--field-bg);color:var(--text);border-radius:10px;box-sizing:border-box}.hsy-wallet-recharge textarea{resize:vertical;min-height:78px}.hsy-wallet-recharge .hsy-profile-actions{display:flex;justify-content:flex-start;margin-top:12px}.hsy-wallet-recharge .hsy-btn{min-height:42px}.hsy-wallet-bank{line-height:2;background:var(--hover);overflow-wrap:anywhere}.hsy-wallet-bank strong{display:block;margin-bottom:4px}.hsy-wallet-tx{display:grid;grid-template-columns:1fr auto;gap:3px 10px;padding:11px 0;border-bottom:1px solid var(--border);min-width:0}.hsy-wallet-tx:last-child{border-bottom:0}.hsy-wallet-tx strong.credit{color:#16a34a}.hsy-wallet-tx strong.debit{color:#dc2626}.hsy-wallet-tx small{grid-column:1/-1;overflow-wrap:anywhere}.hsy-account-quick-actions{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:0 8px 12px}.hsy-account-quick{border:1px solid var(--border);background:var(--field-bg);color:var(--text);border-radius:13px;padding:10px;text-align:right;cursor:pointer}.hsy-account-quick span{font-size:18px}.hsy-account-quick strong,.hsy-account-quick small{display:block}.hsy-account-quick small{margin-top:3px;font-size:10px}@media(max-width:900px){.hsy-modal.hsy-modal-wallet{width:min(680px,calc(100vw - 24px));max-height:calc(100dvh - 24px)}}@media(max-width:650px){.hsy-account-quick-actions{grid-template-columns:repeat(2,1fr)}.hsy-modal.hsy-modal-wallet{width:calc(100vw - 16px);max-width:none;padding:13px;border-radius:16px;max-height:calc(100dvh - 16px)}.hsy-wallet-balance{padding:16px;border-radius:16px;align-items:center;flex-wrap:wrap}.hsy-wallet-balance span{width:100%;margin:0}.hsy-wallet-balance strong{font-size:25px}.hsy-wallet-recharge,.hsy-wallet-bank,.hsy-wallet-transactions{padding:13px;border-radius:14px}.hsy-wallet-head h2{font-size:19px}.hsy-wallet-tx{grid-template-columns:1fr;gap:4px}.hsy-wallet-tx strong{justify-self:start}.hsy-wallet-tx small{grid-column:auto}.hsy-wallet-recharge .hsy-profile-actions{display:block}.hsy-wallet-recharge .hsy-btn{width:100%}}

/* Hooshyar AI PWA install prompt */
#hsy-pwa-install{position:fixed;z-index:99999;left:16px;right:16px;bottom:16px;display:flex;justify-content:center;pointer-events:none}
#hsy-pwa-install .hsy-pwa-install-inner{width:min(720px,100%);display:flex;align-items:center;gap:14px;padding:14px 16px;border:1px solid rgba(109,93,252,.22);border-radius:18px;background:color-mix(in srgb,var(--hsy-pwa-bg,#fff) 96%,transparent);box-shadow:0 18px 50px rgba(20,24,40,.18);backdrop-filter:blur(16px);pointer-events:auto}
#hsy-pwa-install strong{display:block;font-size:14px;color:#171925}
#hsy-pwa-install span{display:block;margin-top:3px;font-size:12px;color:#6b7280}
#hsy-pwa-install [data-install]{margin-right:auto;border:0;border-radius:12px;padding:10px 16px;background:var(--hsy-pwa-primary,#6d5dfc);color:#fff;font-weight:700;cursor:pointer}
#hsy-pwa-install [data-close]{width:34px;height:34px;border:0;background:transparent;color:#777;font-size:22px;cursor:pointer}
@media (max-width:600px){#hsy-pwa-install{left:10px;right:10px;bottom:10px}#hsy-pwa-install .hsy-pwa-install-inner{padding:12px;gap:9px;border-radius:15px}#hsy-pwa-install [data-install]{padding:9px 12px;font-size:12px}#hsy-pwa-install strong{font-size:13px}#hsy-pwa-install span{font-size:11px}}

/* PWA desktop + tablet install prompt */
#hsy-pwa-install .hsy-pwa-install-icon{width:42px;height:42px;flex:0 0 42px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:var(--hsy-pwa-primary,#6d5dfc);color:#fff;font-weight:900;box-shadow:0 7px 18px rgba(109,93,252,.25)}
#hsy-pwa-install .hsy-pwa-install-copy{min-width:0;flex:1}
#hsy-pwa-install .hsy-pwa-install-copy strong,#hsy-pwa-install .hsy-pwa-install-copy span{overflow-wrap:anywhere}
@media(min-width:901px){#hsy-pwa-install{left:auto;right:24px;width:auto;max-width:560px}#hsy-pwa-install .hsy-pwa-install-inner{width:auto;min-width:430px}}
@media(max-width:900px){#hsy-pwa-install .hsy-pwa-install-inner{width:min(680px,100%)}}
.hsy-wallet-buy-btn{margin-top:8px;background:#0f9d58!important}
.hsy-wallet-buy-btn:hover{opacity:.9}

.hsy-dev-package-row{display:flex;align-items:center;justify-content:space-between;gap:10px}.hsy-dev-buy-wallet{white-space:nowrap;padding:8px 12px!important;background:#0f9d58!important}@media(max-width:600px){.hsy-dev-package-row{align-items:stretch;flex-direction:column}.hsy-dev-buy-wallet{width:100%}}

.hsy-profile-verified.subscription-blue,.hsy-verified-badge.subscription-blue{border-radius:50%;background:#1d9bf0;color:#fff;font-weight:900;text-align:center;line-height:18px}.hsy-profile-verified.subscription-gold,.hsy-verified-badge.subscription-gold{border-radius:50%;background:#f5b301;color:#fff;font-weight:900;text-align:center;line-height:18px;box-shadow:0 0 0 2px rgba(245,179,1,.15)}
/* Professional ticket center */

.hsy-ticket-rating{margin-top:14px;padding:16px;border:1px solid var(--border);border-radius:16px;background:var(--field-bg);text-align:center}.hsy-ticket-rating-title{font-size:13px;font-weight:700;margin-bottom:5px}.hsy-ticket-rating-hint{font-size:11px;color:var(--muted);margin-bottom:10px}.hsy-ticket-rating-stars{display:flex;direction:ltr;justify-content:center;gap:3px;margin:4px 0 10px}.hsy-ticket-star{border:0;background:transparent;color:var(--text);font-size:30px;line-height:1;padding:2px;cursor:pointer;transition:transform .15s ease}.hsy-ticket-star:hover{transform:scale(1.12)}.hsy-ticket-star.is-selected{font-weight:700}.hsy-ticket-stars-display{font-size:28px;letter-spacing:2px;margin:5px 0}.hsy-ticket-rating-comment-input{width:100%;box-sizing:border-box;border:1px solid var(--border);border-radius:11px;background:var(--bg);color:var(--text);padding:10px 12px;font-size:12px;resize:vertical;margin:2px 0 9px}.hsy-ticket-rating-comment{font-size:11px;color:var(--muted);margin-top:7px;white-space:pre-wrap}.hsy-ticket-rate-btn{width:100%;min-height:42px}.hsy-ticket-rating.is-rated{padding:13px}.hsy-ticket-rating.is-rated .hsy-ticket-rating-title{color:var(--muted)}
.hsy-ticket-modal{width:100%;max-width:640px}.hsy-ticket-brand{display:flex;align-items:center;gap:12px;padding:2px 0 18px;border-bottom:1px solid var(--border);margin-bottom:18px}.hsy-ticket-brand-icon{width:44px;height:44px;border-radius:14px;background:var(--black);color:var(--white);display:flex;align-items:center;justify-content:center}.hsy-ticket-brand-icon svg{width:23px;height:23px}.hsy-ticket-brand strong,.hsy-ticket-brand span{display:block}.hsy-ticket-brand strong{font-size:18px}.hsy-ticket-brand span{font-size:12px;color:var(--muted);margin-top:3px}.hsy-ticket-list-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.hsy-ticket-list-head strong,.hsy-ticket-list-head span{display:block}.hsy-ticket-list-head span{font-size:11px;color:var(--muted);margin-top:3px}.hsy-ticket-new-btn{width:auto;padding:10px 14px;font-size:13px}.hsy-ticket-card-pro{position:relative;width:100%;text-align:right;background:var(--field-bg);color:var(--text);border:1px solid var(--border);border-radius:15px;padding:14px 15px;margin-bottom:9px;cursor:pointer;transition:.18s ease}.hsy-ticket-card-pro:hover{border-color:#aaa;transform:translateY(-1px);box-shadow:0 8px 20px rgba(0,0,0,.06)}.hsy-ticket-card-top,.hsy-ticket-card-meta,.hsy-ticket-thread-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.hsy-ticket-card-title{display:block;font-size:14px;margin:9px 26px 7px 0}.hsy-ticket-number{font-size:11px;color:var(--muted);direction:ltr}.hsy-ticket-status{display:inline-flex;align-items:center;border-radius:999px;padding:4px 9px;font-size:10.5px;font-weight:700}.hsy-ticket-status.st-open{background:#fff4d6;color:#8a5a00}.hsy-ticket-status.st-answered{background:#e8f7ed;color:#18713a}.hsy-ticket-status.st-closed{background:var(--hover);color:var(--muted)}.hsy-ticket-card-meta{font-size:11px;color:var(--muted);justify-content:flex-start}.hsy-ticket-arrow{position:absolute;left:14px;top:50%;font-size:25px;color:var(--muted);transform:translateY(-50%)}.hsy-ticket-empty-user{border:1px dashed var(--border);border-radius:16px;padding:30px 20px;text-align:center;display:flex;flex-direction:column;align-items:center;gap:8px}.hsy-ticket-empty-icon{width:54px;height:54px;border-radius:16px;background:var(--user-bubble);display:flex;align-items:center;justify-content:center;margin-bottom:4px}.hsy-ticket-empty-icon svg{width:26px;height:26px}.hsy-ticket-empty-user strong{font-size:15px}.hsy-ticket-empty-user span{font-size:12px;color:var(--muted);margin-bottom:10px}.hsy-ticket-empty-user .hsy-modal-btn{max-width:220px}.hsy-ticket-loading{min-height:180px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;color:var(--muted);font-size:12px}.hsy-ticket-error{padding:15px;border:1px solid var(--border);border-radius:12px;text-align:center;color:var(--text-soft);background:var(--user-bubble)}.hsy-ticket-back{padding:4px 0}.hsy-ticket-form-intro{background:var(--user-bubble);border-radius:14px;padding:13px 14px;margin-bottom:16px}.hsy-ticket-form-intro strong,.hsy-ticket-form-intro span{display:block}.hsy-ticket-form-intro span{font-size:11px;color:var(--muted);margin-top:3px}.hsy-ticket-thread-head{padding:4px 0 13px;border-bottom:1px solid var(--border);margin-bottom:14px}.hsy-ticket-thread-head h3{font-size:15px;margin-top:5px}.hsy-tk-thread-pro{max-height:380px;padding:3px 2px 8px}.hsy-tk-msg{box-shadow:0 2px 8px rgba(0,0,0,.03)}.hsy-tk-meta{display:flex;justify-content:space-between;gap:10px}.hsy-tk-content{white-space:pre-wrap;overflow-wrap:anywhere}.hsy-ticket-message-who{display:inline-flex;align-items:center;gap:6px}.hsy-ticket-message-avatar{width:24px;height:24px;border-radius:50%;object-fit:cover;vertical-align:middle;background:var(--hover);flex:0 0 24px}.hsy-ticket-reply-actions{display:grid;grid-template-columns:1fr auto;gap:8px;margin-top:8px}.hsy-ticket-close-btn{border:1px solid var(--border);background:transparent;color:var(--text);border-radius:12px;padding:0 15px;cursor:pointer}.hsy-ticket-close-btn:hover{background:var(--hover)}.hsy-ticket-closed-note{text-align:center;padding:13px;border-radius:12px;background:var(--user-bubble);color:var(--muted);font-size:12px}@media(max-width:520px){.hsy-ticket-modal{max-width:100%}.hsy-ticket-reply-actions{grid-template-columns:1fr}.hsy-ticket-close-btn{min-height:42px}.hsy-ticket-list-head{align-items:flex-start}.hsy-ticket-new-btn{padding:9px 11px}}

.hsy-explore-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin-top:16px}.hsy-explore-card{display:flex;flex-direction:column;gap:9px;padding:16px;border:1px solid var(--hsy-border,#e7e8ef);border-radius:16px;background:var(--hsy-card,#fff)}.hsy-explore-card .hsy-btn{margin-top:auto}.hsy-explore-card button:disabled{opacity:.65;cursor:not-allowed}
.hsy-explore-panel{max-width:820px!important;width:min(92vw,820px);background:var(--hsy-explore-bg,#1f1f1f)!important;color:var(--hsy-explore-text,#f5f5f5)!important;border-color:var(--hsy-explore-border,#555)!important;overflow:hidden}.hsy-explore-panel .hsy-muted{color:var(--hsy-explore-muted,#c7c7c7)!important}.hsy-explore-top{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;padding-bottom:18px;border-bottom:1px solid var(--hsy-explore-border,#555)}.hsy-explore-brand{min-width:0}.hsy-explore-kicker{display:block;font-size:12px;color:var(--hsy-explore-primary,#4f46e5);font-weight:800;margin-bottom:5px}.hsy-explore-top h2{margin:0;font-size:24px}.hsy-explore-subtitle{margin:8px 0 0;color:var(--hsy-explore-muted,#c7c7c7);line-height:1.8}.hsy-explore-top-actions{display:flex;gap:8px;align-items:center}.hsy-explore-refresh{width:42px;height:42px;border:1px solid var(--hsy-explore-border,#555);border-radius:12px;background:transparent;color:var(--hsy-explore-text,#fff);font-size:23px}.hsy-explore-toolbar{display:flex;gap:10px;align-items:center;justify-content:space-between;margin-top:16px;flex-wrap:wrap}.hsy-explore-search{flex:1;min-width:210px;border:1px solid var(--hsy-explore-border,#555);border-radius:12px;background:rgba(255,255,255,.04);color:var(--hsy-explore-text,#fff);padding:11px 14px;font:inherit;outline:none}.hsy-explore-search:focus{border-color:var(--hsy-explore-primary,#4f46e5)}.hsy-explore-filters{display:flex;gap:7px;flex-wrap:wrap}.hsy-explore-filter{border:1px solid var(--hsy-explore-border,#555);background:transparent;color:var(--hsy-explore-muted,#c7c7c7);border-radius:999px;padding:8px 12px;font:inherit;font-size:12px}.hsy-explore-filter.is-active{background:var(--hsy-explore-primary,#4f46e5);border-color:var(--hsy-explore-primary,#4f46e5);color:var(--hsy-explore-button-text,#fff)}.hsy-explore-stats{font-size:12px;color:var(--hsy-explore-muted,#c7c7c7);margin:12px 2px}.hsy-explore-feed{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:8px}.hsy-explore-post{overflow:hidden;border:1px solid var(--hsy-explore-border,#555);border-radius:14px;background:var(--hsy-explore-card,#292929);box-shadow:0 8px 26px rgba(0,0,0,.16);transition:transform .18s ease,box-shadow .18s ease}.hsy-explore-post:hover{transform:translateY(-2px);box-shadow:0 12px 32px rgba(0,0,0,.22)}.hsy-explore-post.is-featured{grid-column:span 2}.hsy-explore-media{position:relative;background:#111;overflow:hidden}.hsy-explore-post-image{display:block;width:100%;aspect-ratio:1.15;object-fit:cover}.hsy-explore-post.is-featured .hsy-explore-post-image,.hsy-explore-media.is-featured video{aspect-ratio:16/8;object-fit:cover}.hsy-explore-post-video{display:block;width:100%;aspect-ratio:16/10;object-fit:cover;background:#000}.hsy-explore-media-badge{position:absolute;top:10px;right:10px;background:rgba(0,0,0,.62);backdrop-filter:blur(8px);color:#fff;border:1px solid rgba(255,255,255,.15);padding:5px 9px;border-radius:999px;font-size:11px}.hsy-explore-text-cover{display:grid;place-items:center;aspect-ratio:1.15;font-size:48px;background:linear-gradient(135deg,var(--hsy-explore-primary,#4f46e5),var(--hsy-explore-card,#292929))}.hsy-explore-post-body{padding:12px}.hsy-explore-post-meta{display:flex;justify-content:space-between;gap:8px;color:var(--hsy-explore-muted,#c7c7c7);font-size:11px;margin-bottom:7px}.hsy-explore-post-body h3{margin:0 0 7px;font-size:15px;color:var(--hsy-explore-text,#f5f5f5)}.hsy-explore-post-content{line-height:1.75;color:var(--hsy-explore-text,#f5f5f5);word-break:break-word;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.hsy-explore-post-foot{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-top:13px}.hsy-explore-link{padding:8px 13px;border-radius:10px;text-decoration:none;background:var(--hsy-explore-primary,#4f46e5);color:var(--hsy-explore-button-text,#fff)!important;font-size:12px;font-weight:700}.hsy-explore-empty,.hsy-explore-admin-note{margin-top:18px;padding:18px;border-radius:14px;border:1px dashed var(--hsy-explore-border,#555);text-align:center;color:var(--hsy-explore-text,#f5f5f5)}.hsy-explore-admin-note{font-size:13px;color:var(--hsy-explore-muted,#c7c7c7)}@media(max-width:760px){.hsy-explore-feed{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.hsy-explore-post.is-featured{grid-column:span 2}.hsy-explore-top h2{font-size:23px}.hsy-explore-subtitle{font-size:13px}.hsy-explore-toolbar{display:block}.hsy-explore-search{width:100%;margin-bottom:9px}.hsy-explore-filters{overflow:auto;flex-wrap:nowrap;padding-bottom:2px}.hsy-explore-filter{white-space:nowrap}}@media(max-width:460px){.hsy-explore-feed{grid-template-columns:1fr}.hsy-explore-post.is-featured{grid-column:span 1}.hsy-explore-top-actions{gap:4px}.hsy-explore-top{gap:10px}}

.hsy-explore-post-video{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;background:#000}.hsy-explore-video-label{font-size:12px;opacity:.8;white-space:nowrap}

/* Explore modal viewport fix */
.hsy-modal.hsy-modal-explore{width:min(860px,calc(100vw - 28px));max-width:860px;max-height:calc(100dvh - 24px);height:auto;overflow-y:auto;overflow-x:hidden;padding:16px;border-radius:20px;box-sizing:border-box}
.hsy-modal.hsy-modal-explore .hsy-explore-panel{width:100%;max-width:none!important;max-height:none;overflow:visible!important;box-sizing:border-box}
@media(max-width:760px){.hsy-modal.hsy-modal-explore{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);padding:12px;border-radius:16px}.hsy-modal.hsy-modal-explore .hsy-explore-top{gap:10px}.hsy-modal.hsy-modal-explore .hsy-explore-top h2{font-size:20px}.hsy-modal.hsy-modal-explore .hsy-explore-subtitle{font-size:12px;line-height:1.6}.hsy-modal.hsy-modal-explore .hsy-explore-feed{gap:8px}}

/* Wallet professional-lite */
.hsy-wallet-pro{max-width:700px!important;padding:22px!important}
.hsy-wallet-pro .hsy-wallet-head{margin-bottom:14px}
.hsy-wallet-subtitle{display:block;color:var(--muted);font-size:12px;margin-top:4px}
.hsy-wallet-balance-card{border-radius:18px;padding:20px;background:linear-gradient(135deg,var(--black),#333);color:var(--white);box-shadow:0 10px 28px rgba(0,0,0,.12);margin-bottom:12px}
.hsy-wallet-balance-top{display:flex;justify-content:space-between;align-items:center;font-size:12px;opacity:.82}
.hsy-wallet-live{font-size:10px;border:1px solid rgba(255,255,255,.22);padding:4px 8px;border-radius:20px}
.hsy-wallet-balance-card>strong{display:block;font-size:32px;line-height:1.25;margin-top:12px;letter-spacing:-.5px}
.hsy-wallet-balance-card>small{opacity:.75}
.hsy-wallet-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-bottom:14px}
.hsy-wallet-stat{border:1px solid var(--border);border-radius:14px;padding:12px;background:var(--white)}
.hsy-wallet-stat span{display:block;color:var(--muted);font-size:11px;margin-bottom:5px}.hsy-wallet-stat strong{font-size:13px}
.hsy-wallet-recharge-pro,.hsy-wallet-bank-pro,.hsy-wallet-transactions-pro{border:1px solid var(--border);border-radius:16px;padding:16px;background:var(--white);margin-top:12px}
.hsy-wallet-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:13px}.hsy-wallet-section-head h3{margin:0 0 3px;font-size:16px}.hsy-wallet-section-head p{margin:0;font-size:11px}.hsy-wallet-step{width:26px;height:26px;border-radius:50%;background:var(--user-bubble);display:flex;align-items:center;justify-content:center;font-weight:700;flex-shrink:0}
.hsy-wallet-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.hsy-wallet-submit{width:100%}
.hsy-wallet-bank-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:8px}.hsy-wallet-bank-grid>div{padding:10px;border:1px solid var(--border);border-radius:11px;background:var(--field-bg)}.hsy-wallet-bank-grid span{display:block;color:var(--muted);font-size:10px;margin-bottom:4px}.hsy-wallet-bank-grid strong{font-size:12px;word-break:break-word}
.hsy-wallet-tx{display:flex;align-items:center;gap:10px;padding:11px 0;border-top:1px solid var(--border)}.hsy-wallet-tx:first-of-type{border-top:0}.hsy-wallet-tx-icon{width:30px;height:30px;border-radius:9px;display:flex;align-items:center;justify-content:center;background:var(--user-bubble);font-weight:700}.hsy-wallet-tx-main{min-width:0;flex:1}.hsy-wallet-tx-main strong{display:block;font-size:12px}.hsy-wallet-tx-main small{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hsy-wallet-tx-amount{font-size:12px;white-space:nowrap}.hsy-wallet-tx-amount.credit{color:#16803c}.hsy-wallet-tx-amount.debit{color:#b42318}.hsy-wallet-empty{text-align:center;padding:22px;color:var(--muted);display:flex;flex-direction:column;gap:6px}.hsy-wallet-empty span{font-size:25px}
@media(max-width:600px){.hsy-wallet-pro{padding:15px!important}.hsy-wallet-stats{grid-template-columns:1fr 1fr}.hsy-wallet-stat:last-child{grid-column:1/-1}.hsy-wallet-form-grid,.hsy-wallet-bank-grid{grid-template-columns:1fr}.hsy-wallet-balance-card>strong{font-size:27px}.hsy-wallet-tx-amount{font-size:11px}}

/* Ticket Center - professional light refresh */
.hsy-ticket-modal{max-width:680px!important;padding:4px 2px 2px}.hsy-ticket-brand{position:relative;padding:6px 4px 18px;margin-bottom:16px;border-bottom:1px solid var(--border)}.hsy-ticket-brand-icon{width:48px;height:48px;border-radius:15px;box-shadow:0 8px 20px rgba(0,0,0,.08)}
.hsy-ticket-list-head{padding:12px 14px;border:1px solid var(--border);border-radius:16px;background:linear-gradient(180deg,var(--field-bg),transparent);margin-bottom:12px}.hsy-ticket-list-head strong{font-size:15px}.hsy-ticket-new-btn{border-radius:11px!important}
.hsy-ticket-card-pro{padding:15px 17px 15px 42px;border-radius:16px;background:var(--field-bg);border:1px solid var(--border);box-shadow:0 3px 12px rgba(0,0,0,.025)}.hsy-ticket-card-pro:hover{box-shadow:0 10px 26px rgba(0,0,0,.08);border-color:color-mix(in srgb,var(--text) 18%,var(--border))}.hsy-ticket-card-top{margin-bottom:2px}.hsy-ticket-card-title{font-size:14px;line-height:1.7;margin:7px 0 8px}.hsy-ticket-card-meta{gap:12px;flex-wrap:wrap}.hsy-ticket-status{padding:5px 10px}.hsy-ticket-arrow{left:15px;font-size:23px}.hsy-ticket-empty-user{padding:34px 20px;background:var(--field-bg)}
.hsy-ticket-form-intro{border:1px solid var(--border);background:var(--field-bg);box-shadow:0 4px 16px rgba(0,0,0,.03)}.hsy-ticket-form-intro:before{content:'✦';display:inline-flex;align-items:center;justify-content:center;width:25px;height:25px;border-radius:8px;background:var(--black);color:var(--white);margin-left:7px;font-size:11px;vertical-align:middle}.hsy-ticket-thread-head{padding:9px 2px 14px}.hsy-tk-thread-pro{max-height:410px;padding:4px 2px 12px;scrollbar-width:thin}.hsy-tk-msg{position:relative;border:1px solid var(--border);border-radius:15px!important;padding:11px 13px!important;margin-bottom:10px;max-width:86%;background:var(--field-bg);box-shadow:0 4px 14px rgba(0,0,0,.035)}.hsy-tk-msg.admin{background:var(--black)!important;color:var(--white);border-color:var(--black)}.hsy-tk-msg.user{margin-right:auto}.hsy-tk-meta{font-size:10px;opacity:.72;margin-bottom:5px}.hsy-tk-content{font-size:12px;line-height:1.9}.hsy-ticket-reply-actions{padding-top:5px}.hsy-ticket-reply-actions .hsy-modal-btn{box-shadow:0 6px 16px rgba(0,0,0,.08)}.hsy-ticket-closed-note{border:1px solid var(--border)}
@media(max-width:520px){.hsy-ticket-modal{padding:0;max-width:100%!important}.hsy-ticket-card-pro{padding:13px 36px 13px 35px}.hsy-tk-msg{max-width:92%}.hsy-ticket-list-head{padding:11px}.hsy-ticket-brand{padding-bottom:14px}}

/* Ticket Center v7.3.58 - professional polish */
.hsy-ticket-overview{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:17px 18px;margin-bottom:10px;border:1px solid var(--border);border-radius:18px;background:linear-gradient(135deg,var(--field-bg),transparent);box-shadow:0 7px 24px rgba(0,0,0,.045)}
.hsy-ticket-overview-main{min-width:0}.hsy-ticket-overview-main strong,.hsy-ticket-overview-main span{display:block}.hsy-ticket-overline{text-transform:uppercase;letter-spacing:.08em;font-size:9px;color:var(--muted);margin-bottom:4px}.hsy-ticket-overview-main strong{font-size:19px}.hsy-ticket-overview-main>span:last-child{font-size:11px;color:var(--muted);margin-top:3px}
.hsy-ticket-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:12px}.hsy-ticket-metric{padding:11px 12px;border:1px solid var(--border);border-radius:14px;background:var(--field-bg);position:relative;overflow:hidden}.hsy-ticket-metric:before{content:'';position:absolute;right:0;top:0;bottom:0;width:3px;background:var(--text);opacity:.15}.hsy-ticket-metric.is-open:before{opacity:.45}.hsy-ticket-metric.is-answered:before{opacity:.3}.hsy-ticket-metric.is-closed:before{opacity:.12}.hsy-ticket-metric span{display:block;font-size:10px;color:var(--muted);margin-bottom:4px}.hsy-ticket-metric strong{font-size:18px;line-height:1}
.hsy-ticket-tools{display:grid;grid-template-columns:1fr 145px;gap:8px;margin:12px 0}.hsy-ticket-search{width:100%;box-sizing:border-box;min-height:40px;border:1px solid var(--border);border-radius:12px;background:var(--field-bg);color:var(--text);padding:0 12px;font:inherit;font-size:12px;outline:none}.hsy-ticket-search:focus,.hsy-ticket-filter:focus{border-color:var(--text);box-shadow:0 0 0 3px rgba(0,0,0,.045)}.hsy-ticket-list-pro{display:flex;flex-direction:column;gap:8px}.hsy-ticket-list-pro .hsy-ticket-card-pro{margin:0;box-sizing:border-box}.hsy-ticket-priority{display:inline-flex;align-items:center;gap:4px}.hsy-ticket-priority:before{content:'';width:5px;height:5px;border-radius:50%;background:currentColor;opacity:.7}.hsy-ticket-priority.p-high{color:#b42318}.hsy-ticket-priority.p-normal{color:var(--muted)}.hsy-ticket-priority.p-low{color:#24713b}.hsy-ticket-no-results{padding:28px 15px;text-align:center;border:1px dashed var(--border);border-radius:15px;display:flex;flex-direction:column;gap:5px;align-items:center;color:var(--muted)}.hsy-ticket-no-results span{font-size:25px}.hsy-ticket-no-results strong{font-size:13px;color:var(--text)}.hsy-ticket-no-results small{font-size:10px}
.hsy-ticket-brand{margin-bottom:12px}.hsy-ticket-brand-icon{box-shadow:0 7px 18px rgba(0,0,0,.08)}
@media(max-width:520px){.hsy-ticket-overview{padding:14px}.hsy-ticket-overview-main strong{font-size:16px}.hsy-ticket-metrics{grid-template-columns:1fr 1fr}.hsy-ticket-tools{grid-template-columns:1fr}.hsy-ticket-card-pro{padding-top:13px;padding-bottom:13px}}

/* Ticket Center v7.3.59 - extra professional layer */
.hsy-ticket-tools{grid-template-columns:minmax(0,1fr) 145px 42px!important;align-items:center}


.hsy-ticket-card-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:9px;padding-top:8px;border-top:1px dashed var(--border);min-height:20px}.hsy-ticket-id-chip{font-size:9px;color:var(--muted);background:var(--hover);padding:4px 7px;border-radius:7px}.hsy-ticket-new-dot{font-size:9px;font-weight:700;color:#18713a;background:#e8f7ed;padding:4px 7px;border-radius:999px}.hsy-ticket-card-pro:has(.hsy-ticket-new-dot){border-color:rgba(24,113,58,.28);box-shadow:0 5px 18px rgba(24,113,58,.05)}
@media(max-width:520px){.hsy-ticket-tools{grid-template-columns:minmax(0,1fr) 42px!important}.hsy-ticket-filter{grid-column:1/-1;grid-row:2}.hsy-ticket-card-bottom{margin-top:7px}}

/* Advertising Center - professional light */
.hsy-welcome-ad,.hsy-response-ad{position:relative;overflow:hidden;border:1px solid var(--border);background:linear-gradient(135deg,var(--field-bg),transparent);border-radius:14px;padding:11px 13px;box-shadow:0 5px 18px rgba(0,0,0,.035)}
.hsy-welcome-ad:before,.hsy-response-ad:before{content:'تبلیغ';position:absolute;top:8px;left:9px;font-size:8px;line-height:1;padding:4px 6px;border:1px solid var(--border);border-radius:999px;color:var(--muted);background:var(--white);opacity:.85}
.hsy-welcome-ad{max-width:540px;text-align:right;padding:14px 15px}.hsy-welcome-ad-title{font-size:13px;font-weight:800;color:var(--text);padding-left:42px}.hsy-welcome-ad-text{font-size:11px;color:var(--muted);margin-top:4px}.hsy-welcome-ad-link{margin-top:9px;text-decoration:none;border:1px solid var(--border);border-radius:9px;padding:6px 10px;background:var(--white);font-weight:700}
.hsy-response-ad{max-width:480px;text-align:right;margin-top:9px;padding:9px 11px}.hsy-response-ad-title{font-size:11.5px;font-weight:800;color:var(--text);padding-left:34px}.hsy-response-ad-text{font-size:10px;color:var(--muted);margin-top:2px}.hsy-response-ad-link{margin-top:6px;text-decoration:none;font-weight:700}
.hsy-welcome-ad-link:hover,.hsy-response-ad-link:hover{opacity:.9;transform:translateY(-1px)}
@media(max-width:560px){.hsy-welcome-ad,.hsy-response-ad{border-radius:12px;padding:10px 11px}.hsy-welcome-ad-title{font-size:12px}.hsy-welcome-ad-text{font-size:10.5px}}

/* Advertising Center v7.3.63 - premium-lite */
.hsy-welcome-ad,.hsy-response-ad{transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;background:linear-gradient(135deg,var(--field-bg),var(--white))!important}
.hsy-welcome-ad:hover,.hsy-response-ad:hover{transform:translateY(-2px);box-shadow:0 10px 28px rgba(0,0,0,.07);border-color:color-mix(in srgb,var(--text) 16%,var(--border))}
.hsy-welcome-ad:after,.hsy-response-ad:after{content:'↗';position:absolute;right:11px;bottom:9px;width:20px;height:20px;border-radius:7px;background:var(--hover);color:var(--muted);display:flex;align-items:center;justify-content:center;font-size:10px}
.hsy-welcome-ad-title,.hsy-response-ad-title{letter-spacing:-.01em}.hsy-welcome-ad-text,.hsy-response-ad-text{line-height:1.8}.hsy-welcome-ad-link{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:30px;padding:5px 12px!important;background:var(--text)!important;color:var(--white)!important;border-color:var(--text)!important;box-shadow:0 5px 14px rgba(0,0,0,.08)}.hsy-response-ad-link{display:inline-flex;align-items:center;gap:4px;padding:4px 8px;border-radius:7px;background:var(--hover)}


/* Ads Center v7.3.64 — premium lightweight presentation */
.hsy-welcome-ad-pro{position:relative;overflow:hidden;width:min(100%,720px);margin:18px auto 0!important;padding:0!important;border:1px solid rgba(120,130,150,.18)!important;border-radius:20px!important;background:linear-gradient(135deg,#fff,#f7f9fc)!important;box-shadow:0 14px 38px rgba(15,23,42,.08)!important;text-align:right;isolation:isolate}
.hsy-welcome-ad-pro .hsy-welcome-ad-glow{position:absolute;inset:auto auto -70px -50px;width:190px;height:190px;border-radius:50%;background:radial-gradient(circle,rgba(59,130,246,.16),transparent 68%);z-index:-1}
.hsy-welcome-ad-body{position:relative;padding:18px 20px 17px;display:grid;grid-template-columns:1fr auto;gap:10px 16px;align-items:center}
.hsy-welcome-ad-badge{display:inline-flex;align-items:center;justify-content:center;width:max-content;padding:4px 9px;border-radius:999px;background:#111827;color:#fff;font-size:9px;font-weight:800;letter-spacing:.02em;margin-bottom:7px}
.hsy-welcome-ad-pro .hsy-welcome-ad-title{font-size:15px;font-weight:850;line-height:1.7;color:#111827;margin:0}
.hsy-welcome-ad-pro .hsy-welcome-ad-text{font-size:11px;line-height:1.9;color:#667085;margin-top:3px;max-width:620px}
.hsy-welcome-ad-pro .hsy-welcome-ad-link{grid-column:2;grid-row:1/3;display:inline-flex;align-items:center;justify-content:center;min-width:120px;padding:10px 15px;border-radius:12px;background:#111827;color:#fff!important;text-decoration:none!important;font-size:11px;font-weight:800;box-shadow:0 7px 18px rgba(17,24,39,.16);transition:transform .18s,box-shadow .18s,opacity .18s}
.hsy-welcome-ad-pro .hsy-welcome-ad-link:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(17,24,39,.2);opacity:.94}
@media(max-width:600px){.hsy-welcome-ad-body{grid-template-columns:1fr}.hsy-welcome-ad-pro .hsy-welcome-ad-link{grid-column:1;grid-row:auto;width:100%;box-sizing:border-box}.hsy-welcome-ad-pro{border-radius:16px!important}.hsy-welcome-ad-pro .hsy-welcome-ad-title{font-size:14px}}


/* Ads Ultra Visual v7.3.65 */
.hsy-welcome-ad-pro{width:min(100%,760px)!important;margin:22px auto 0!important;border:0!important;border-radius:24px!important;background:linear-gradient(135deg,#111827 0%,#1f2937 52%,#374151 100%)!important;color:#fff!important;box-shadow:0 18px 45px rgba(15,23,42,.18),0 2px 8px rgba(15,23,42,.08)!important}
.hsy-welcome-ad-pro:before{content:'';position:absolute;inset:0;background:radial-gradient(circle at 8% 10%,rgba(99,102,241,.28),transparent 34%),radial-gradient(circle at 92% 90%,rgba(14,165,233,.20),transparent 32%);pointer-events:none}
.hsy-welcome-ad-pro:after{content:'SPONSORED';position:absolute;top:14px;left:16px;font-size:8px;font-weight:900;letter-spacing:.12em;color:rgba(255,255,255,.55);border:1px solid rgba(255,255,255,.15);padding:5px 8px;border-radius:999px;background:rgba(255,255,255,.06)}
.hsy-welcome-ad-pro .hsy-welcome-ad-glow{display:none}
.hsy-welcome-ad-body{padding:28px 30px!important;grid-template-columns:minmax(0,1fr) 150px!important;gap:18px!important}
.hsy-welcome-ad-pro .hsy-welcome-ad-badge{background:rgba(255,255,255,.12)!important;border:1px solid rgba(255,255,255,.14)!important;color:#fff!important;margin-bottom:11px!important;padding:5px 10px!important}
.hsy-welcome-ad-pro .hsy-welcome-ad-title{color:#fff!important;font-size:18px!important;font-weight:900!important;line-height:1.65!important}
.hsy-welcome-ad-pro .hsy-welcome-ad-text{color:rgba(255,255,255,.70)!important;font-size:12px!important;line-height:2!important;max-width:580px!important;margin-top:5px!important}
.hsy-welcome-ad-pro .hsy-welcome-ad-link{grid-column:2!important;grid-row:1/3!important;min-width:0!important;width:100%!important;min-height:48px!important;padding:11px 14px!important;border-radius:14px!important;background:#fff!important;color:#111827!important;border:0!important;box-shadow:0 10px 25px rgba(0,0,0,.18)!important;font-size:11px!important;font-weight:900!important}
.hsy-welcome-ad-pro .hsy-welcome-ad-link:before{content:'↗';margin-left:6px;font-size:14px}
.hsy-welcome-ad-pro .hsy-welcome-ad-link:hover{transform:translateY(-3px)!important;box-shadow:0 14px 30px rgba(0,0,0,.24)!important}
.hsy-response-ad{border:1px solid rgba(99,102,241,.14)!important;border-radius:16px!important;background:linear-gradient(135deg,#fff,#f7f8ff)!important;box-shadow:0 8px 22px rgba(15,23,42,.07)!important;padding:12px 14px!important}
.hsy-response-ad:before{background:#111827!important;color:#fff!important;border:0!important;padding:5px 8px!important}
.hsy-response-ad-title{font-size:12px!important;font-weight:900!important;color:#111827!important;padding-left:48px!important}
.hsy-response-ad-text{font-size:10.5px!important;line-height:1.9!important;color:#667085!important}
.hsy-response-ad-link{background:#111827!important;color:#fff!important;border-radius:9px!important;padding:6px 10px!important;font-size:10px!important}
@media(max-width:600px){.hsy-welcome-ad-body{grid-template-columns:1fr!important;padding:24px 18px!important}.hsy-welcome-ad-pro .hsy-welcome-ad-link{grid-column:1!important;grid-row:auto!important;width:100%!important}.hsy-welcome-ad-pro .hsy-welcome-ad-title{font-size:15px!important}.hsy-welcome-ad-pro .hsy-welcome-ad-text{font-size:11px!important}}

/* Contextual ads: compact interactive treatment */
.hsy-response-ad-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:6px}.hsy-response-ad-sponsored{font-size:9px;font-weight:800;letter-spacing:.02em;color:var(--muted);background:var(--hover);padding:4px 7px;border-radius:999px}.hsy-response-ad-close{border:0;background:transparent;color:var(--muted);font-size:18px;line-height:1;cursor:pointer;padding:0 3px}.hsy-response-ad-actions{display:flex;align-items:center;gap:7px;margin-top:7px}.hsy-response-ad-share{border:1px solid var(--border);background:var(--white);color:var(--text);border-radius:8px;padding:5px 9px;font:inherit;font-size:10px;cursor:pointer}.hsy-response-ad-link{display:inline-flex;align-items:center;justify-content:center}


/* Image Generator Studio — premium UI */
.hsy-modal.hsy-modal-image-generator{max-width:none!important;width:min(1500px,100vw)!important;height:min(920px,100vh)!important;max-height:96vh!important;padding:0!important;border-radius:30px!important;overflow:hidden;background:#0b0d14!important;box-shadow:0 30px 90px rgba(0,0,0,.35)!important}
.hsy-image-generator-panel{position:relative;width:100%;height:100%;box-sizing:border-box;display:flex;flex-direction:column;overflow:hidden;color:var(--text);background:radial-gradient(circle at 82% 8%,color-mix(in srgb,var(--hsy-image-primary) 16%,transparent),transparent 30%),radial-gradient(circle at 15% 85%,color-mix(in srgb,#00b8ff 10%,transparent),transparent 28%),var(--white)}
.hsy-image-generator-panel:before{content:"";position:absolute;inset:0;pointer-events:none;background-image:linear-gradient(rgba(127,127,127,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(127,127,127,.045) 1px,transparent 1px);background-size:32px 32px;mask-image:linear-gradient(to bottom,rgba(0,0,0,.8),transparent 88%)}
.hsy-image-gen-head{position:relative;z-index:2;min-height:92px;padding:20px 34px;border-bottom:1px solid rgba(127,127,127,.14);display:flex;align-items:center;justify-content:space-between;gap:20px;box-sizing:border-box;background:rgba(255,255,255,.72);backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px)}
.hsy-image-gen-brand{min-width:0}.hsy-image-gen-kicker{display:inline-flex;align-items:center;gap:7px;font-size:9px;font-weight:900;letter-spacing:.16em;color:var(--hsy-image-primary)}.hsy-image-gen-kicker:before{content:"";width:7px;height:7px;border-radius:50%;background:var(--hsy-image-primary);box-shadow:0 0 0 5px color-mix(in srgb,var(--hsy-image-primary) 10%,transparent)}
.hsy-image-gen-brand h1{margin:5px 0 3px;font-size:24px;letter-spacing:-.04em;font-weight:950}.hsy-image-gen-brand p{margin:0;color:var(--muted);font-size:11px;max-width:650px}.hsy-image-gen-head-meta{display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}.hsy-image-gen-badge{display:inline-flex;align-items:center;gap:6px;padding:8px 11px;border-radius:999px;background:color-mix(in srgb,var(--hsy-image-primary) 8%,transparent);border:1px solid color-mix(in srgb,var(--hsy-image-primary) 14%,transparent);font-size:10px;font-weight:800;color:var(--text)}
.hsy-image-gen-head .hsy-modal-close{width:38px;height:38px;border-radius:12px;background:rgba(127,127,127,.08);display:flex;align-items:center;justify-content:center;font-size:22px;cursor:pointer;transition:.18s}.hsy-image-gen-head .hsy-modal-close:hover{background:color-mix(in srgb,var(--hsy-image-primary) 12%,transparent);transform:rotate(4deg)}
.hsy-image-gen-workspace{position:relative;z-index:1;flex:1;min-height:0;display:grid;grid-template-columns:minmax(360px,470px) minmax(0,1fr);gap:22px;padding:22px 28px 28px;box-sizing:border-box;overflow:auto}
.hsy-image-gen-form{align-self:start;width:100%;padding:22px;border:1px solid rgba(127,127,127,.14);border-radius:24px;background:rgba(255,255,255,.78);backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);box-shadow:0 18px 50px rgba(15,23,42,.07)}
.hsy-image-gen-form>label{display:flex;align-items:center;justify-content:space-between;font-size:12px;font-weight:900;margin-bottom:9px}.hsy-image-gen-form>label:after{content:var(--hsy-image-prompt-badge,"AI PROMPT");font-size:8px;letter-spacing:.12em;color:var(--muted);font-weight:800}
.hsy-image-gen-prompt{width:100%;min-height:190px;resize:vertical;box-sizing:border-box;border:1px solid rgba(127,127,127,.18);border-radius:18px;background:rgba(248,249,252,.9);color:var(--text);padding:15px 16px;font:inherit;font-size:13px;line-height:2;outline:none;transition:.2s;box-shadow:inset 0 1px 2px rgba(15,23,42,.02)}.hsy-image-gen-prompt::placeholder{color:#9aa0ad}.hsy-image-gen-prompt:focus{border-color:var(--hsy-image-primary);box-shadow:0 0 0 4px color-mix(in srgb,var(--hsy-image-primary) 10%,transparent),0 10px 25px rgba(109,93,252,.06);background:var(--white)}
.hsy-image-gen-prompt-meta{display:flex;justify-content:space-between;align-items:center;margin-top:7px;font-size:9px;color:var(--muted)}
.hsy-image-gen-controls{display:grid;grid-template-columns:1fr;margin-top:15px}.hsy-image-gen-control{padding:12px 13px;border:1px solid rgba(127,127,127,.15);border-radius:15px;background:rgba(248,249,252,.75)}.hsy-image-gen-control span{display:block;font-size:9px;color:var(--muted);margin-bottom:5px;font-weight:800}.hsy-image-gen-select{width:100%;border:0;background:transparent;color:var(--text);font:inherit;font-size:11px;font-weight:800;outline:none}
.hsy-image-gen-hint{display:flex;align-items:center;gap:7px;margin:12px 2px 13px;font-size:9px;color:var(--muted)}
.hsy-image-gen-presets{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:14px}.hsy-image-gen-preset{display:flex;align-items:center;gap:9px;border:1px solid rgba(127,127,127,.14);background:rgba(255,255,255,.8);color:var(--text);border-radius:14px;padding:10px 11px;cursor:pointer;font:inherit;text-align:right;transition:.18s}.hsy-image-gen-preset:hover{background:var(--white);border-color:color-mix(in srgb,var(--hsy-image-primary) 30%,transparent);transform:translateY(-2px);box-shadow:0 8px 20px rgba(15,23,42,.06)}.hsy-image-gen-preset b{width:30px;height:30px;display:flex;align-items:center;justify-content:center;border-radius:9px;background:color-mix(in srgb,var(--hsy-image-primary) 8%,transparent);font-size:15px}.hsy-image-gen-preset span{font-size:10px;font-weight:800}
.hsy-image-gen-submit{width:100%;border:0;border-radius:15px;background:linear-gradient(135deg,#17142b,var(--hsy-image-primary) 72%,#00b8ff);color:#fff;min-height:52px;font:inherit;font-size:12px;font-weight:950;cursor:pointer;box-shadow:0 14px 28px color-mix(in srgb,var(--hsy-image-primary) 22%,transparent);transition:.2s}.hsy-image-gen-submit:hover{transform:translateY(-2px);box-shadow:0 18px 34px color-mix(in srgb,var(--hsy-image-primary) 28%,transparent)}.hsy-image-gen-submit:disabled{opacity:.6;cursor:wait;transform:none}
.hsy-image-gen-status{min-height:18px;margin:9px 0 2px;font-size:10px;text-align:center;color:var(--muted)}.hsy-image-gen-status.err{color:#b42318}.hsy-image-gen-status.ok{color:#18713a}.hsy-image-gen-status.loading{animation:hsyPulse 1.2s ease infinite}
.hsy-image-gen-result{position:relative;min-width:0;min-height:540px;border:1px solid rgba(127,127,127,.14);border-radius:24px;background:linear-gradient(145deg,rgba(255,255,255,.72),rgba(245,246,250,.92));display:flex;align-items:center;justify-content:center;overflow:hidden;box-shadow:0 18px 50px rgba(15,23,42,.06)}.hsy-image-gen-result:before{content:"";position:absolute;inset:12px;border-radius:18px;border:1px dashed color-mix(in srgb,var(--hsy-image-primary) 12%,transparent);pointer-events:none}.hsy-image-gen-result img{position:relative;z-index:1;display:block;width:100%;height:100%;max-height:calc(100vh - 185px);object-fit:contain;background:#111}.hsy-image-gen-empty{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;gap:8px;padding:40px;color:var(--muted)}.hsy-image-gen-empty-icon{width:76px;height:76px;border-radius:24px;display:flex;align-items:center;justify-content:center;background:linear-gradient(145deg,color-mix(in srgb,var(--hsy-image-primary) 12%,transparent),rgba(0,184,255,.10));border:1px solid color-mix(in srgb,var(--hsy-image-primary) 16%,transparent);font-size:30px;color:var(--hsy-image-primary);margin-bottom:9px;box-shadow:0 14px 35px color-mix(in srgb,var(--hsy-image-primary) 10%,transparent)}.hsy-image-gen-empty strong{font-size:15px;color:var(--text);font-weight:900}.hsy-image-gen-empty span{font-size:10px;max-width:330px;line-height:1.9}.hsy-image-gen-result-actions{position:absolute;z-index:3;bottom:16px;left:16px;right:16px;display:flex;gap:8px;padding:10px;justify-content:center;border-radius:15px;background:rgba(10,12,18,.76);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}.hsy-image-gen-download,.hsy-image-gen-copy{border:1px solid rgba(255,255,255,.12);border-radius:10px;padding:9px 14px;background:rgba(255,255,255,.08);color:#fff;text-decoration:none;font:inherit;font-size:10px;font-weight:900;cursor:pointer}.hsy-image-gen-download:hover,.hsy-image-gen-copy:hover{background:rgba(255,255,255,.16)}
@media(max-width:900px){.hsy-modal.hsy-modal-image-generator{width:100%!important;height:100%!important;max-height:100vh!important;border-radius:0!important}.hsy-image-gen-head{padding:17px 20px}.hsy-image-gen-head-meta{display:none}.hsy-image-gen-workspace{grid-template-columns:1fr;padding:16px;gap:16px}.hsy-image-gen-form{padding:18px}.hsy-image-gen-result{min-height:420px}.hsy-image-gen-result img{max-height:none}}
@media(max-width:480px){.hsy-image-gen-head{min-height:76px;padding:13px 15px}.hsy-image-gen-brand h1{font-size:18px}.hsy-image-gen-brand p{font-size:9px}.hsy-image-gen-workspace{padding:12px}.hsy-image-gen-form{padding:15px;border-radius:20px}.hsy-image-gen-prompt{min-height:155px}.hsy-image-gen-presets{grid-template-columns:1fr 1fr}.hsy-image-gen-result{min-height:330px;border-radius:20px}}

.hsy-ticket-support-notices{display:grid;gap:10px;margin:0 0 16px}.hsy-ticket-notice,.hsy-ticket-hours{display:flex;align-items:flex-start;gap:10px;padding:13px 15px;border-radius:14px;line-height:1.8;font-size:13px}.hsy-ticket-notice{background:#fff8e6;border:1px solid #f2d28b;color:#7a4d00}.hsy-ticket-hours{background:#eef6ff;border:1px solid #bfd8f6;color:#174a7a}.hsy-ticket-notice-icon,.hsy-ticket-hours-icon{font-size:18px;line-height:1.5;flex:0 0 auto}@media(max-width:600px){.hsy-ticket-support-notices{margin-bottom:12px}.hsy-ticket-notice,.hsy-ticket-hours{font-size:12px;padding:11px 12px}}
.hsy-ticket-support-notices .hsy-ticket-notice-icon.hsy-ticket-custom-icon,.hsy-ticket-support-notices .hsy-ticket-hours-icon.hsy-ticket-custom-icon{width:34px;height:34px;min-width:34px;object-fit:contain;display:block;border-radius:8px}.hsy-ticket-support-notices .hsy-ticket-notice,.hsy-ticket-support-notices .hsy-ticket-hours{display:flex;align-items:center;gap:12px}.hsy-ticket-icon-preview{display:inline-block;vertical-align:middle;margin-right:8px}

.hsy-ticket-notice-title,.hsy-ticket-hours-title{display:block;font-weight:800;margin-bottom:2px}.hsy-ticket-notice-text,.hsy-ticket-hours-text{white-space:pre-line}
.hsy-ticket-agent-picker{margin:18px 0}.hsy-ticket-agent-picker>label{display:block;font-weight:700;margin-bottom:10px}.hsy-ticket-agent-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:10px}.hsy-ticket-agent-card{display:flex;align-items:center;gap:10px;text-align:right;width:100%;padding:10px;border:1px solid rgba(100,116,139,.18);border-radius:14px;background:#fff;cursor:pointer;transition:.2s}.hsy-ticket-agent-card:hover{transform:translateY(-1px);box-shadow:0 8px 24px rgba(15,23,42,.08)}.hsy-ticket-agent-card.is-selected{border-color:#6366f1;box-shadow:0 0 0 2px rgba(99,102,241,.12)}.hsy-ticket-agent-card img{width:46px;height:46px;min-width:46px;border-radius:50%;object-fit:cover;background:#f1f5f9}.hsy-ticket-agent-info{display:flex;flex-direction:column;gap:3px;min-width:0}.hsy-ticket-agent-info strong{font-size:13px}.hsy-ticket-agent-info small{font-size:11px;color:#64748b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hsy-coupon-checkout{width:min(520px,92vw);padding:28px;border-radius:24px;background:var(--hsy-panel,#171717);color:inherit;text-align:center;box-sizing:border-box}.hsy-coupon-icon{font-size:42px;margin-bottom:8px}.hsy-coupon-checkout h3{margin:0 0 8px;font-size:22px}.hsy-coupon-help{opacity:.72;margin:0 0 18px}.hsy-coupon-input{width:100%;box-sizing:border-box;border:1px solid rgba(127,127,127,.3);border-radius:14px;padding:13px 15px;font-size:16px;background:rgba(127,127,127,.08);color:inherit;direction:ltr;text-align:center}.hsy-coupon-actions{display:flex;gap:10px;margin-top:16px}.hsy-coupon-actions button{flex:1}.hsy-coupon-status{min-height:24px;margin-top:10px;font-size:13px}.hsy-coupon-status.success{color:#16a34a}.hsy-coupon-status.error{color:#ef4444}.hsy-secondary-btn{opacity:.82}


/* Subscription plans — visual-only refinement */
.hsy-plans-pro{max-width:1120px;margin:0 auto;padding:34px 20px 56px;color:var(--text)}
.hsy-plans-hero{position:relative;overflow:hidden;text-align:center;margin-bottom:24px;padding:30px 28px;border:1px solid var(--border);border-radius:24px;background:var(--white);box-shadow:0 12px 35px rgba(0,0,0,.055)}
.hsy-plans-hero:after{content:"";position:absolute;inset:auto -55px -90px auto;width:190px;height:190px;border-radius:50%;background:var(--hsy-ct-accent,#4f46e5);opacity:.055}
.hsy-plans-kicker{display:inline-flex;align-items:center;padding:6px 11px;margin-bottom:10px;border:1px solid color-mix(in srgb,var(--hsy-ct-accent,#4f46e5) 18%,var(--border));border-radius:999px;background:color-mix(in srgb,var(--hsy-ct-accent,#4f46e5) 6%,var(--white));color:var(--hsy-ct-accent,#4f46e5);font-size:11px;font-weight:850}
.hsy-plans-hero h2{position:relative;margin:0 0 7px;font-size:29px;font-weight:900;letter-spacing:-.5px}
.hsy-plans-hero p{position:relative;margin:0;color:var(--text-soft);font-size:13px}
.hsy-current{margin:0 0 20px;padding:12px 15px;border:1px solid rgba(34,197,94,.2);border-radius:13px;background:color-mix(in srgb,#22c55e 6%,var(--white));font-size:12.5px}
.hsy-current span{color:var(--muted);margin-right:8px}
.hsy-plan-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(245px,1fr));gap:16px;align-items:stretch}
.hsy-plan-card{position:relative;display:flex;flex-direction:column;min-width:0;padding:23px 20px 19px;border:1px solid var(--border);border-radius:20px;background:var(--white);box-shadow:0 7px 24px rgba(0,0,0,.045);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.hsy-plan-card:hover{transform:translateY(-4px);box-shadow:0 15px 34px rgba(0,0,0,.085);border-color:color-mix(in srgb,var(--hsy-ct-accent,#4f46e5) 25%,var(--border))}
.hsy-plan-card.is-popular{border:1.5px solid var(--hsy-ct-accent,#4f46e5);box-shadow:0 12px 34px color-mix(in srgb,var(--hsy-ct-accent,#4f46e5) 13%,transparent)}
.hsy-plan-card.vip{border-color:#d7b34a}
.hsy-plan-card.is-current{box-shadow:0 0 0 2px rgba(34,197,94,.12),0 10px 28px rgba(0,0,0,.06)}
.hsy-popular-badge,.hsy-plan-badge{position:absolute;top:12px;right:14px;padding:5px 10px;border-radius:999px;font-size:10.5px;font-weight:850;box-shadow:0 5px 13px rgba(0,0,0,.1)}
.hsy-plan-head{display:flex;align-items:flex-start;justify-content:space-between;gap:9px;min-height:55px;padding-top:5px;border-bottom:1px solid var(--border)}
.hsy-plan-head h3{margin:0 0 8px;font-size:20px;font-weight:900}
.hsy-duration{padding:5px 8px;border:1px solid var(--border);border-radius:8px;background:var(--field-bg);color:var(--text-soft);font-size:10.5px;white-space:nowrap}
.hsy-price-wrap{margin:17px 0 13px;min-height:70px}
.hsy-price{font-size:30px;font-weight:950;line-height:1.2;letter-spacing:-.4px}
.hsy-price small{font-size:11px;color:var(--muted);font-weight:650}
.hsy-old-price{margin-bottom:2px;color:var(--muted);font-size:12px}
.hsy-discount{padding:3px 6px;border:1px solid #bbf7d0;border-radius:6px;background:#ecfdf3;color:#15803d;font-size:10px;font-weight:850}
.hsy-plan-limit{margin-bottom:12px;padding:10px 12px;border:1px solid var(--border);border-radius:10px;background:var(--field-bg);font-size:12px;font-weight:800}
.hsy-feature-list{flex:1;margin:0 0 16px!important;padding:0!important;list-style:none!important}
.hsy-feature-list li{display:flex;align-items:center;gap:8px;padding:8px 0;border-bottom:1px dashed var(--border);font-size:12px}
.hsy-feature-icon{width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center;flex:none;border-radius:50%;font-size:12px;font-weight:900}
.hsy-feature-list .enabled .hsy-feature-icon{border:1px solid #bbf7d0;background:#ecfdf3;color:#15803d}
.hsy-feature-list .disabled{opacity:.45}
.hsy-feature-list .disabled .hsy-feature-icon{border:1px solid var(--border);background:var(--field-bg);color:var(--muted)}
.hsy-plan-button,.hsy-current-plan-label{display:block;width:100%;box-sizing:border-box;margin-top:3px;padding:12px 14px;border-radius:11px;text-align:center;font-size:12.5px;font-weight:850;text-decoration:none}
.hsy-plan-button{background:var(--hsy-ct-btn,#4f46e5);color:#fff;box-shadow:0 7px 16px color-mix(in srgb,var(--hsy-ct-btn,#4f46e5) 18%,transparent)}
.hsy-plan-button:hover{transform:translateY(-1px);opacity:.94;color:#fff}
.hsy-current-plan-label{border:1px solid #bbf7d0;background:#ecfdf3;color:#166534}
.hsy-card-transfer-link{margin-top:8px!important}
@media(max-width:760px){.hsy-plans-pro{padding:22px 13px 40px}.hsy-plans-hero{padding:25px 18px;border-radius:20px}.hsy-plans-hero h2{font-size:24px}.hsy-plan-grid{grid-template-columns:1fr}.hsy-plan-card{border-radius:18px}.hsy-plan-card.is-popular{transform:none}.hsy-plan-head{min-height:52px}}

/* Premium subscription plans — visual-only, no new functionality */
.hsy-plans-pro{max-width:1240px!important;margin:0 auto!important;padding:42px 22px 70px!important;color:var(--text,#111827)!important}
.hsy-plans-hero{margin:0 auto 30px!important;padding:34px 30px!important;border:1px solid rgba(15,23,42,.08)!important;border-radius:28px!important;background:linear-gradient(180deg,#fff 0%,#f8fafc 100%)!important;box-shadow:0 18px 55px rgba(15,23,42,.08)!important}
.hsy-plans-kicker{padding:7px 13px!important;border:1px solid rgba(79,70,229,.14)!important;background:rgba(79,70,229,.07)!important;color:#4f46e5!important;font-size:11px!important;letter-spacing:.1px}
.hsy-plans-hero h2{font-size:34px!important;line-height:1.35!important;letter-spacing:-.8px!important}
.hsy-plans-hero p{font-size:13px!important;color:#64748b!important}
.hsy-current{border:1px solid rgba(34,197,94,.18)!important;border-radius:16px!important;background:rgba(34,197,94,.055)!important;box-shadow:0 8px 24px rgba(15,23,42,.035)!important}
.hsy-plan-grid{grid-template-columns:repeat(auto-fit,minmax(255px,1fr))!important;gap:18px!important;align-items:stretch!important}
.hsy-plan-card{overflow:hidden!important;padding:28px 22px 21px!important;border:1px solid rgba(15,23,42,.09)!important;border-radius:24px!important;background:#fff!important;box-shadow:0 10px 32px rgba(15,23,42,.065)!important}
.hsy-plan-card:before{content:"";display:block;position:absolute;top:0;right:0;left:0;height:4px;background:#e2e8f0}
.hsy-plan-card:hover{transform:translateY(-7px)!important;box-shadow:0 22px 48px rgba(15,23,42,.12)!important;border-color:rgba(79,70,229,.22)!important}
.hsy-plan-card.is-popular{border:2px solid #5b4ff1!important;box-shadow:0 18px 48px rgba(79,70,229,.16)!important}
.hsy-plan-card.is-popular:before{height:5px;background:linear-gradient(90deg,#7c3aed,#4f46e5)}
.hsy-plan-card.vip:before{background:linear-gradient(90deg,#d4af37,#f1d77a)}
.hsy-plan-card.is-current:before{background:linear-gradient(90deg,#16a34a,#4ade80)}
.hsy-popular-badge,.hsy-plan-badge{top:15px!important;right:17px!important;padding:6px 11px!important;border-radius:10px!important;background:#4f46e5!important;color:#fff!important;box-shadow:0 7px 18px rgba(79,70,229,.22)!important;font-size:10px!important}
.hsy-plan-badge{background:#0f172a!important}
.hsy-plan-head{padding-top:24px!important;min-height:58px!important;border-bottom:1px solid #eef2f7!important}
.hsy-plan-head h3{font-size:21px!important;font-weight:900!important}
.hsy-duration{border:0!important;background:#f1f5f9!important;color:#64748b!important;border-radius:999px!important;padding:6px 9px!important}
.hsy-price-wrap{margin:19px 0 14px!important;min-height:76px!important}
.hsy-price{font-size:34px!important;font-weight:950!important;letter-spacing:-1px!important;color:#0f172a!important}
.hsy-price small{font-size:11px!important;color:#64748b!important}
.hsy-old-price{font-size:12px!important;color:#94a3b8!important}
.hsy-discount{border:0!important;background:#ecfdf5!important;color:#15803d!important;border-radius:999px!important;padding:4px 8px!important}
.hsy-plan-limit{border:0!important;border-radius:12px!important;background:#f8fafc!important;color:#334155!important;padding:11px 12px!important}
.hsy-feature-list{margin-bottom:19px!important}
.hsy-feature-list li{padding:9px 0!important;border-bottom:1px solid #f1f5f9!important;font-size:12.5px!important;color:#334155!important}
.hsy-feature-icon{width:23px!important;height:23px!important}
.hsy-feature-list .disabled{opacity:.38!important}
.hsy-plan-button,.hsy-current-plan-label{min-height:46px!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:0 14px!important;border-radius:13px!important;font-size:12.5px!important}
.hsy-plan-button{background:linear-gradient(135deg,#5b4ff1,#4338ca)!important;box-shadow:0 10px 22px rgba(79,70,229,.20)!important}
.hsy-plan-card:not(.is-popular) .hsy-plan-button{background:#111827!important;box-shadow:0 9px 20px rgba(15,23,42,.12)!important}
.hsy-current-plan-label{border:1px solid #bbf7d0!important;background:#f0fdf4!important;color:#166534!important}
.hsy-card-transfer-link{margin-top:9px!important}
.hsy-card-transfer-box{margin-top:18px!important;border-radius:18px!important;border:1px solid rgba(15,23,42,.08)!important;box-shadow:0 10px 30px rgba(15,23,42,.06)!important}
@media(max-width:760px){.hsy-plans-pro{padding:24px 13px 45px!important}.hsy-plans-hero{padding:27px 18px!important;border-radius:22px!important}.hsy-plans-hero h2{font-size:25px!important}.hsy-plan-grid{grid-template-columns:1fr!important;gap:15px!important}.hsy-plan-card{border-radius:20px!important}.hsy-plan-card.is-popular{transform:none!important}.hsy-plan-card:hover{transform:none!important}.hsy-plan-head{min-height:55px!important}}

/* Subscription modal — polished visual refresh only. No new functionality. */
.hsy-modal.hsy-modal-plans{max-width:1080px!important;width:min(1080px,calc(100vw - 32px))!important;padding:22px!important;border-radius:26px!important}
.hsy-plans-panel{width:100%;min-width:0}
.hsy-plans-modal-head{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;padding:2px 4px 20px;border-bottom:1px solid var(--border)}
.hsy-plans-modal-copy{text-align:right}
.hsy-plans-modal-kicker{display:inline-flex;align-items:center;margin-bottom:8px;padding:5px 10px;border:1px solid rgba(109,93,252,.22);border-radius:999px;background:rgba(109,93,252,.09);color:#8b7dff;font-size:10px;font-weight:900}
.hsy-plans-modal-copy h2{margin:0 0 5px;color:var(--text);font-size:24px;font-weight:900;letter-spacing:-.35px}
.hsy-plans-modal-copy p{margin:0;color:var(--muted);font-size:11.5px}
.hsy-plans-current{display:flex;align-items:center;gap:8px;margin:16px 0 0;padding:10px 13px;border:1px solid rgba(34,197,94,.22);border-radius:13px;background:rgba(34,197,94,.08);color:var(--text);font-size:11.5px}
.hsy-plans-current-dot{width:7px;height:7px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 4px rgba(34,197,94,.12);flex:0 0 auto}
.hsy-plans{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:18px;align-items:stretch}
.hsy-plan{position:relative;display:flex;flex-direction:column;min-width:0;overflow:hidden;padding:19px 17px 15px;border:1px solid var(--border);border-radius:19px;background:var(--sidebar);box-shadow:0 7px 24px rgba(0,0,0,.08);text-align:right;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.hsy-plan:before{content:"";position:absolute;inset:0 0 auto 0;height:3px;background:var(--border)}
.hsy-plan:hover{transform:translateY(-4px);border-color:#666;box-shadow:0 16px 35px rgba(0,0,0,.15)}
.hsy-plan.is-popular{border-color:var(--hsy-badge-color,#6d5dfc);box-shadow:0 13px 34px rgba(109,93,252,.16)}
.hsy-plan.is-popular:before{background:var(--hsy-badge-color,#6d5dfc)}
.hsy-plan-top{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;min-height:58px;padding-top:5px}
.hsy-plan-title-wrap{min-width:0}
.hsy-plan h3{margin:0 0 6px;color:var(--text);font-size:19px;font-weight:900}
.hsy-plan-duration{display:inline-flex;padding:4px 8px;border-radius:999px;background:var(--hover);color:var(--muted);font-size:10px;font-weight:700}
.hsy-plan-badge{display:inline-flex;flex:0 0 auto;padding:5px 8px;border:1px solid color-mix(in srgb,var(--hsy-badge-color,#6d5dfc) 35%,transparent);border-radius:9px;background:color-mix(in srgb,var(--hsy-badge-color,#6d5dfc) 13%,transparent);color:var(--hsy-badge-color,#9d91ff);font-size:9px;font-weight:900}
.hsy-plan-price-box{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:13px 0 11px;padding:13px 12px;border:1px solid var(--border);border-radius:14px;background:var(--field-bg)}
.hsy-plan-price-line{display:flex;align-items:baseline;gap:5px;direction:rtl}
.hsy-plan-price{color:var(--text);font-size:29px;font-weight:950;line-height:1}
.hsy-plan-currency{color:var(--muted);font-size:10px;font-weight:700}
.hsy-plan-old-price{color:var(--muted);font-size:10px;opacity:.7}
.hsy-plan-discount{padding:3px 7px;border-radius:999px;background:rgba(34,197,94,.11);color:#4ade80;font-size:9px;font-weight:900}
.hsy-plan-period{margin-right:auto;color:var(--muted);font-size:9px;font-weight:700}
.hsy-plan-limit{display:flex;align-items:center;gap:7px;margin-bottom:10px;padding:9px 10px;border-radius:11px;background:var(--hover);color:var(--text-soft);font-size:10.5px;font-weight:800}
.hsy-plan-limit-icon{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border-radius:7px;background:rgba(109,93,252,.13);color:#9d91ff;font-size:10px;flex:0 0 auto}
.hsy-plan-features{display:flex;flex-direction:column;gap:0;flex:1;list-style:none;margin:0 0 13px;padding:0}
.hsy-plan-features li{display:flex;align-items:center;gap:8px;min-height:31px;padding:6px 0;border-bottom:1px solid var(--border);color:var(--text-soft);font-size:10.5px}
.hsy-plan-features li:last-child{border-bottom:0}
.hsy-plan-feature-icon{display:inline-flex;align-items:center;justify-content:center;width:19px;height:19px;border-radius:50%;font-size:10px;font-weight:950;flex:0 0 auto}
.hsy-plan-features .is-enabled .hsy-plan-feature-icon{background:rgba(34,197,94,.12);color:#4ade80;border:1px solid rgba(34,197,94,.18)}
.hsy-plan-features .is-disabled{opacity:.42}
.hsy-plan-features .is-disabled .hsy-plan-feature-icon{background:var(--hover);color:var(--muted);border:1px solid var(--border)}
.hsy-plan-actions{display:grid;gap:7px;margin-top:auto}
.hsy-plan-btn{width:100%;min-height:43px;border:1px solid transparent;border-radius:12px;font:inherit;font-size:11.5px;font-weight:900;transition:transform .18s ease,box-shadow .18s ease,opacity .18s ease}
.hsy-plan-primary{background:var(--black);color:var(--white);box-shadow:0 8px 18px rgba(0,0,0,.12)}
.hsy-plan.is-popular .hsy-plan-primary{background:var(--hsy-badge-color,#6d5dfc);color:#fff;box-shadow:0 9px 20px color-mix(in srgb,var(--hsy-badge-color,#6d5dfc) 24%,transparent)}
.hsy-plan-btn:hover{transform:translateY(-1px);opacity:.93}
.hsy-wallet-buy-btn{background:transparent!important;color:var(--text)!important;border-color:var(--border)!important;box-shadow:none!important}
.hsy-plans-empty{text-align:center;color:var(--muted);padding:35px}
@media(max-width:850px){.hsy-plans{grid-template-columns:repeat(2,minmax(0,1fr))}.hsy-modal.hsy-modal-plans{width:min(720px,calc(100vw - 24px))!important}}
@media(max-width:560px){.hsy-modal.hsy-modal-plans{padding:16px!important;border-radius:20px!important}.hsy-plans-modal-copy h2{font-size:20px}.hsy-plans-modal-head{padding-bottom:15px}.hsy-plans{grid-template-columns:1fr;gap:11px;margin-top:14px}.hsy-plan{padding:17px 15px 14px}.hsy-plan-top{min-height:50px}.hsy-plan-price{font-size:27px}}

/* Subscription typography refinement — visual only */
.hsy-modal.hsy-modal-plans .hsy-plans-modal-kicker{font-size:12px!important;font-weight:900!important;letter-spacing:0!important;padding:7px 12px!important}
.hsy-modal.hsy-modal-plans .hsy-plans-modal-copy h2{font-size:27px!important;line-height:1.5!important;font-weight:950!important;letter-spacing:-.45px!important}
.hsy-modal.hsy-modal-plans .hsy-plans-modal-copy p{font-size:13px!important;line-height:1.9!important}
.hsy-modal.hsy-modal-plans .hsy-plans-current{font-size:13px!important;font-weight:750!important;line-height:1.8!important;padding:11px 14px!important}
.hsy-modal.hsy-modal-plans .hsy-plan h3{font-size:21px!important;line-height:1.55!important;font-weight:950!important}
.hsy-modal.hsy-modal-plans .hsy-plan-duration{font-size:11px!important;font-weight:800!important;padding:5px 9px!important}
.hsy-modal.hsy-modal-plans .hsy-plan-badge{font-size:10.5px!important;font-weight:950!important;padding:6px 9px!important}
.hsy-modal.hsy-modal-plans .hsy-plan-price{font-size:32px!important;font-weight:950!important;line-height:1.15!important}
.hsy-modal.hsy-modal-plans .hsy-plan-currency{font-size:11px!important;font-weight:800!important}
.hsy-modal.hsy-modal-plans .hsy-plan-old-price{font-size:11px!important}
.hsy-modal.hsy-modal-plans .hsy-plan-discount{font-size:10.5px!important;font-weight:950!important;padding:4px 8px!important}
.hsy-modal.hsy-modal-plans .hsy-plan-period{font-size:10.5px!important;font-weight:800!important}
.hsy-modal.hsy-modal-plans .hsy-plan-limit{font-size:12px!important;font-weight:850!important;line-height:1.8!important;padding:10px 11px!important}
.hsy-modal.hsy-modal-plans .hsy-plan-features li{font-size:12px!important;font-weight:650!important;line-height:1.9!important;min-height:34px!important;padding:7px 0!important}
.hsy-modal.hsy-modal-plans .hsy-plan-feature-icon{width:21px!important;height:21px!important;font-size:11px!important}
.hsy-modal.hsy-modal-plans .hsy-plan-btn{font-size:12.5px!important;font-weight:900!important;min-height:46px!important}
@media(max-width:560px){
  .hsy-modal.hsy-modal-plans .hsy-plans-modal-copy h2{font-size:23px!important}
  .hsy-modal.hsy-modal-plans .hsy-plans-modal-copy p{font-size:12px!important}
  .hsy-modal.hsy-modal-plans .hsy-plan h3{font-size:20px!important}
  .hsy-modal.hsy-modal-plans .hsy-plan-price{font-size:30px!important}
  .hsy-modal.hsy-modal-plans .hsy-plan-features li{font-size:11.5px!important}
}

/* Subscription plans — horizontal layout */
.hsy-modal.hsy-modal-plans .hsy-plans{
  display:flex!important;
  flex-direction:column!important;
  gap:14px!important;
  margin-top:18px!important;
}
.hsy-modal.hsy-modal-plans .hsy-plan{
  display:grid!important;
  grid-template-columns:minmax(150px,1.05fr) minmax(210px,1.35fr) minmax(210px,1.5fr) minmax(145px,.8fr)!important;
  grid-template-areas:"top price features actions"!important;
  align-items:center!important;
  gap:18px!important;
  min-height:185px!important;
  padding:20px 22px!important;
  border-radius:20px!important;
}
.hsy-modal.hsy-modal-plans .hsy-plan-top{grid-area:top!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;min-height:0!important;padding:0!important;gap:8px!important}
.hsy-modal.hsy-modal-plans .hsy-plan-price-box{grid-area:price!important;margin:0!important;min-width:0!important;align-content:center!important}
.hsy-modal.hsy-modal-plans .hsy-plan-limit{grid-area:price!important;margin:76px 0 0!important;transform:translateY(-1px)!important}
.hsy-modal.hsy-modal-plans .hsy-plan-features{grid-area:features!important;margin:0!important;max-height:150px!important;overflow:auto!important}
.hsy-modal.hsy-modal-plans .hsy-plan-actions{grid-area:actions!important;width:100%!important;margin:0!important;align-self:center!important}
.hsy-modal.hsy-modal-plans .hsy-plan-actions .hsy-plan-btn{min-height:44px!important}
.hsy-modal.hsy-modal-plans .hsy-plan-price{font-size:30px!important}
.hsy-modal.hsy-modal-plans .hsy-plan h3{font-size:22px!important}
.hsy-modal.hsy-modal-plans .hsy-plan:after{content:"";position:absolute;inset:12px auto 12px 0;width:1px;background:var(--border);opacity:.7}
@media(max-width:900px){
  .hsy-modal.hsy-modal-plans .hsy-plan{grid-template-columns:1fr 1.2fr 1.35fr!important;grid-template-areas:"top price actions" "features features features"!important;min-height:0!important}
  .hsy-modal.hsy-modal-plans .hsy-plan-limit{display:none!important}
  .hsy-modal.hsy-modal-plans .hsy-plan-features{max-height:120px!important}
}
@media(max-width:560px){
  .hsy-modal.hsy-modal-plans .hsy-plans{gap:11px!important}
  .hsy-modal.hsy-modal-plans .hsy-plan{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:10px!important;padding:17px 15px 14px!important}
  .hsy-modal.hsy-modal-plans .hsy-plan-top{flex-direction:row!important;align-items:center!important;justify-content:space-between!important}
  .hsy-modal.hsy-modal-plans .hsy-plan-price-box{width:100%!important}
  .hsy-modal.hsy-modal-plans .hsy-plan-limit{display:flex!important;margin:0!important;transform:none!important}
  .hsy-modal.hsy-modal-plans .hsy-plan-features{max-height:none!important;overflow:visible!important}
  .hsy-modal.hsy-modal-plans .hsy-plan:after{display:none!important}
}


/* Question mode — polished, compact control */
.hsy-question-toggle{position:relative;overflow:hidden;transition:transform .18s ease,background .18s ease,border-color .18s ease,box-shadow .18s ease;color:var(--hsy-text,#25283a)}
.hsy-question-toggle::after{content:'';position:absolute;inset:0;background:linear-gradient(135deg,rgba(109,93,252,.10),rgba(70,160,255,.06));opacity:0;transition:opacity .18s ease;pointer-events:none}
.hsy-question-toggle:hover{transform:translateY(-1px);box-shadow:0 5px 16px rgba(35,35,60,.10)}
.hsy-question-toggle:hover::after,.hsy-question-toggle.active::after{opacity:1}
.hsy-question-toggle.active{border-color:rgba(109,93,252,.45)!important;box-shadow:0 0 0 3px rgba(109,93,252,.10),0 6px 18px rgba(109,93,252,.12);color:#5a4bea}
.hsy-question-toggle svg{width:19px!important;height:19px!important;stroke-width:1.9!important;position:relative;z-index:1}

/* Question mode icon visibility refinement */
.hsy-question-toggle{position:relative!important;isolation:isolate;overflow:visible!important;border:1px solid transparent!important}
.hsy-question-toggle svg{display:block!important;width:22px!important;height:22px!important;min-width:22px!important;min-height:22px!important;visibility:visible!important;opacity:1!important;position:relative!important;z-index:3!important}
.hsy-question-toggle:not(.active){color:var(--text-soft,#6b7280)!important}
.hsy-question-toggle.active{color:var(--white,#fff)!important}
.hsy-question-toggle.active svg circle{fill:currentColor!important}

/* ===== Hooshyar AI Motion Layer =====
   Modern AI-product motion: soft, fluid, purposeful and lightweight.
*/
.hsy-shell{
  animation:hsyAiShellIn .65s cubic-bezier(.16,1,.3,1) both;
  will-change:opacity,transform;
}
@keyframes hsyAiShellIn{
  0%{opacity:0;transform:translateY(10px) scale(.995)}
  100%{opacity:1;transform:none}
}

.hsy-topbar{
  animation:hsyAiTopIn .55s cubic-bezier(.16,1,.3,1) .03s both;
}
@keyframes hsyAiTopIn{
  0%{opacity:0;transform:translateY(-10px)}
  100%{opacity:1;transform:none}
}

.hsy-msg{
  animation:hsyAiMessageIn .42s cubic-bezier(.16,1,.3,1) both;
  transform-origin:50% 100%;
}
@keyframes hsyAiMessageIn{
  0%{opacity:0;transform:translateY(12px) scale(.985)}
  100%{opacity:1;transform:none}
}

.hsy-msg:nth-last-child(2){animation-delay:.025s}
.hsy-msg:nth-last-child(3){animation-delay:.05s}

.hsy-comp-btn,
.hsy-send-btn,
.hsy-model-btn,
.hsy-tools-btn,
.hsy-sidebar-toggle,
.hsy-new-chat{
  transition:transform .22s cubic-bezier(.16,1,.3,1),
             box-shadow .22s ease,
             background-color .22s ease,
             border-color .22s ease;
}
.hsy-comp-btn:hover,
.hsy-model-btn:hover,
.hsy-tools-btn:hover,
.hsy-sidebar-toggle:hover,
.hsy-new-chat:hover{
  transform:translateY(-2px);
}
.hsy-comp-btn:active,
.hsy-model-btn:active,
.hsy-tools-btn:active,
.hsy-sidebar-toggle:active,
.hsy-new-chat:active,
.hsy-send-btn:active{
  transform:translateY(1px) scale(.97);
}

.hsy-send-btn{
  transition:transform .22s cubic-bezier(.16,1,.3,1),box-shadow .22s ease;
}
.hsy-send-btn:hover{
  transform:translateY(-2px) scale(1.025);
  box-shadow:0 10px 28px rgba(0,0,0,.13);
}

.hsy-model-menu,
.hsy-tools-menu,
.hsy-modal{
  animation:hsyAiPopup .32s cubic-bezier(.16,1,.3,1) both;
}
@keyframes hsyAiPopup{
  0%{opacity:0;transform:translateY(-7px) scale(.965)}
  100%{opacity:1;transform:none}
}

.hsy-model-opt,
.hsy-tools-menu button{
  transition:transform .18s ease,background-color .18s ease;
}
.hsy-model-opt:hover,
.hsy-tools-menu button:hover{
  transform:translateX(-3px);
}

.hsy-typing{
  animation:hsyAiThinking .9s ease-in-out infinite alternate;
}
@keyframes hsyAiThinking{
  from{opacity:.58;transform:translateY(0)}
  to{opacity:1;transform:translateY(-2px)}
}
.hsy-typing span{
  animation:hsyAiDot 1.15s ease-in-out infinite;
}
.hsy-typing span:nth-child(2){animation-delay:.12s}
.hsy-typing span:nth-child(3){animation-delay:.24s}
@keyframes hsyAiDot{
  0%,65%,100%{opacity:.28;transform:translateY(0) scale(.82)}
  35%{opacity:1;transform:translateY(-4px) scale(1)}
}

/* AI-style breathing treatment for the question mode control */
.hsy-question-toggle,
.hsy-question-toggle.active{
  transition:transform .25s cubic-bezier(.16,1,.3,1),
             box-shadow .25s ease,
             background-color .25s ease,
             border-color .25s ease;
}
.hsy-question-toggle:hover{
  transform:translateY(-2px) scale(1.02);
}
.hsy-question-toggle.active{
  animation:hsyQuestionPulse 2.2s ease-in-out infinite;
}
@keyframes hsyQuestionPulse{
  0%,100%{box-shadow:0 0 0 0 rgba(0,0,0,.08)}
  50%{box-shadow:0 0 0 6px rgba(0,0,0,.035)}
}

/* Smooth plan/card presentation without changing functionality */
.hsy-plan-card,
.hsy-plans-panel > *{
  transition:transform .28s cubic-bezier(.16,1,.3,1),
             box-shadow .28s ease,
             border-color .28s ease;
}
.hsy-plan-card:hover{
  transform:translateY(-4px);
}

@media (prefers-reduced-motion: reduce){
  .hsy-shell,.hsy-topbar,.hsy-msg,.hsy-model-menu,.hsy-tools-menu,.hsy-modal,
  .hsy-question-toggle.active,.hsy-typing,.hsy-typing span{
    animation:none !important;
  }
  .hsy-comp-btn,.hsy-send-btn,.hsy-model-btn,.hsy-tools-btn,
  .hsy-sidebar-toggle,.hsy-new-chat,.hsy-question-toggle{
    transition:none !important;
  }
}


/* Realtime voice visual states */
.hsy-voice-btn{position:relative;overflow:visible}
.hsy-voice-btn.listening::after,
.hsy-voice-btn.speaking::after{
  content:"";
  position:absolute;
  inset:-4px;
  border-radius:inherit;
  border:1px solid currentColor;
  opacity:.18;
  animation:hsyVoiceRing 1.5s ease-out infinite;
  pointer-events:none;
}
.hsy-voice-btn.speaking::after{animation-duration:1.05s}
@keyframes hsyVoiceRing{
  0%{transform:scale(.94);opacity:.2}
  70%{transform:scale(1.08);opacity:0}
  100%{transform:scale(1.08);opacity:0}
}
@media (prefers-reduced-motion:reduce){
  .hsy-voice-btn.listening::after,.hsy-voice-btn.speaking::after{animation:none}
}

/* Voice control — compact AI waveform button */
.hsy-voice-btn{
  position:relative;
  width:56px !important;
  height:56px !important;
  min-width:56px !important;
  padding:0 !important;
  border:0 !important;
  border-radius:50% !important;
  background:#17191d !important;
  color:#fff !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  box-shadow:0 5px 16px rgba(0,0,0,.16) !important;
  overflow:visible !important;
}
.hsy-voice-btn .hsy-voice-wave-icon{
  width:44px !important;
  height:44px !important;
  padding:0 !important;
  border-radius:50% !important;
  background:#2f6fd6 !important;
  color:#fff !important;
  display:block !important;
  box-sizing:border-box !important;
  transition:transform .22s cubic-bezier(.16,1,.3,1),background .22s ease;
}
.hsy-voice-btn:hover .hsy-voice-wave-icon{
  transform:scale(1.045);
  background:#3577df !important;
}
.hsy-voice-btn.active .hsy-voice-wave-icon{
  background:#3478e5 !important;
  animation:hsyVoiceCoreBreath 1.5s ease-in-out infinite;
}
.hsy-voice-btn.speaking .hsy-voice-wave-icon{
  animation:hsyVoiceCoreSpeak .75s ease-in-out infinite alternate;
}
.hsy-voice-btn.active:after{
  content:'';
  position:absolute;
  inset:-4px;
  border:1.5px solid #3478e5;
  border-radius:50%;
  opacity:.35;
  animation:hsyVoiceOuterPulse 1.7s ease-out infinite;
  pointer-events:none;
}
.hsy-voice-btn:not(.active):after{display:none}

@keyframes hsyVoiceCoreBreath{
  0%,100%{transform:scale(1)}
  50%{transform:scale(1.025)}
}
@keyframes hsyVoiceCoreSpeak{
  from{transform:scale(.99)}
  to{transform:scale(1.055)}
}
@keyframes hsyVoiceOuterPulse{
  0%{transform:scale(.96);opacity:.42}
  75%,100%{transform:scale(1.14);opacity:0}
}

@media(max-width:700px){
  .hsy-voice-btn{
    width:52px !important;height:52px !important;min-width:52px !important;
  }
  .hsy-voice-btn .hsy-voice-wave-icon{
    width:42px !important;height:42px !important;
  }
}
@media(prefers-reduced-motion:reduce){
  .hsy-voice-btn .hsy-voice-wave-icon,
  .hsy-voice-btn.active:after{animation:none !important}
}


/* True Realtime Voice states — keep the original microphone icon. */
.hsy-voice-btn svg{width:20px;height:20px;display:block;transition:transform .22s ease,opacity .22s ease}
.hsy-voice-btn.connecting svg{animation:hsyVoiceConnecting .85s ease-in-out infinite}
.hsy-voice-btn.listening svg{animation:hsyVoiceListening 1.2s ease-in-out infinite}
.hsy-voice-btn.speaking svg{animation:hsyVoiceSpeaking .62s ease-in-out infinite alternate}
.hsy-voice-btn.connecting::after{animation:hsyVoiceRing .95s ease-out infinite}
@keyframes hsyVoiceConnecting{0%,100%{transform:scale(.92);opacity:.55}50%{transform:scale(1.06);opacity:1}}
@keyframes hsyVoiceListening{0%,100%{transform:scale(1)}50%{transform:scale(1.08)}}
@keyframes hsyVoiceSpeaking{from{transform:scale(.94)}to{transform:scale(1.12)}}
@media (prefers-reduced-motion: reduce){.hsy-voice-btn svg{animation:none!important}}

/* Minimal voice icon — visual-only refinement */
.hsy-voice-toggle{
  width:42px !important;
  height:42px !important;
  min-width:42px !important;
  padding:0 !important;
  border-radius:50% !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  box-shadow:none !important;
  border:1px solid rgba(127,127,127,.18) !important;
}
.hsy-voice-toggle svg,
.hsy-voice-toggle .hsy-voice-icon{
  width:19px !important;
  height:19px !important;
  margin:0 !important;
}
.hsy-voice-toggle .hsy-voice-label{
  display:none !important;
}
.hsy-voice-toggle:hover{
  transform:scale(1.04);
}
.hsy-voice-toggle:active{
  transform:scale(.96);
}

.hsy-voice-btn{
  width:42px !important;height:42px !important;min-width:42px !important;
  padding:0 !important;border-radius:50% !important;
  display:inline-flex !important;align-items:center !important;justify-content:center !important;
  box-shadow:none !important;
}
.hsy-voice-btn svg{width:19px !important;height:19px !important;}

/* Wallet Premium UI */
.hsy-wallet-pro{max-width:760px!important;padding:26px!important;background:radial-gradient(circle at 100% 0%,rgba(0,0,0,.035),transparent 34%),var(--white)}
.hsy-wallet-pro .hsy-wallet-head{padding:2px 2px 18px;margin-bottom:16px;border-bottom:1px solid var(--border)}
.hsy-wallet-pro .hsy-wallet-head h2{font-size:23px!important;letter-spacing:-.5px;margin-top:7px!important}
.hsy-wallet-balance-card{position:relative;overflow:hidden;min-height:148px;box-sizing:border-box;border-radius:24px!important;padding:23px 24px!important;background:radial-gradient(circle at 12% 115%,rgba(255,255,255,.12),transparent 34%),radial-gradient(circle at 92% 0%,rgba(255,255,255,.10),transparent 28%),linear-gradient(135deg,#111 0%,#292929 58%,#3a3a3a 100%)!important;box-shadow:0 18px 42px rgba(0,0,0,.16)!important}
.hsy-wallet-balance-card:after{content:'';position:absolute;width:180px;height:180px;border:1px solid rgba(255,255,255,.08);border-radius:50%;left:-70px;bottom:-110px}
.hsy-wallet-balance-card>strong{font-size:39px!important;font-weight:800;letter-spacing:-1px;text-shadow:0 2px 12px rgba(0,0,0,.16)}
.hsy-wallet-actions-pro{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:13px 0}
.hsy-wallet-action{appearance:none;border:1px solid var(--border);background:var(--field-bg);color:var(--text);border-radius:17px;min-height:62px;padding:10px 12px;display:flex;align-items:center;gap:11px;text-align:right;cursor:pointer;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease;font:inherit}
.hsy-wallet-action:hover{transform:translateY(-2px);box-shadow:0 9px 24px rgba(0,0,0,.07);border-color:color-mix(in srgb,var(--text) 18%,var(--border))}
.hsy-wallet-action.is-primary{background:var(--black);color:var(--white);border-color:var(--black)}
.hsy-wallet-action-icon{width:36px;height:36px;min-width:36px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:rgba(0,0,0,.06);font-size:19px}
.hsy-wallet-action.is-primary .hsy-wallet-action-icon{background:rgba(255,255,255,.11)}
.hsy-wallet-action strong,.hsy-wallet-action small{display:block}.hsy-wallet-action strong{font-size:12px}.hsy-wallet-action small{font-size:10px;opacity:.65;margin-top:3px}
.hsy-wallet-stats{gap:10px!important}
.hsy-wallet-stat{position:relative;overflow:hidden;min-height:72px;box-sizing:border-box;padding:14px!important;border-radius:17px!important;background:linear-gradient(180deg,var(--white),var(--field-bg))!important;transition:transform .18s ease,box-shadow .18s ease}
.hsy-wallet-stat:hover{transform:translateY(-2px);box-shadow:0 8px 22px rgba(0,0,0,.055)}
.hsy-wallet-recharge-pro,.hsy-wallet-bank-pro,.hsy-wallet-transactions-pro{border-radius:19px!important;padding:18px!important;box-shadow:0 5px 18px rgba(0,0,0,.025)}
.hsy-wallet-step{width:30px;height:30px;background:var(--black)!important;color:var(--white);box-shadow:0 5px 13px rgba(0,0,0,.10)}
.hsy-wallet-submit{min-height:46px!important;border-radius:13px!important}
.hsy-wallet-bank-grid>div{min-height:62px;display:flex;flex-direction:column;justify-content:center;border-radius:13px!important}
.hsy-wallet-tx{padding:13px 3px!important;transition:background .16s ease;border-radius:12px}
.hsy-wallet-tx:hover{background:var(--field-bg)}
.hsy-wallet-tx-icon{width:36px;height:36px;border-radius:12px!important;font-size:15px}
.hsy-wallet-tx-amount{font-weight:800}
@media(max-width:600px){.hsy-wallet-pro{padding:17px!important}.hsy-wallet-pro .hsy-wallet-head h2{font-size:20px!important}.hsy-wallet-balance-card{min-height:132px;padding:20px!important}.hsy-wallet-balance-card>strong{font-size:31px!important}.hsy-wallet-actions-pro{grid-template-columns:1fr}.hsy-wallet-action{min-height:58px}}


/* Advertising Request — Premium visual skin only */
.hsy-ads,.hsy-advertising,.hsy-ad-request,.hsy-advert-request,.hsy-advertisement{
  border-radius:24px!important;
  border:1px solid var(--border)!important;
  background:var(--white)!important;
  box-shadow:0 16px 40px rgba(0,0,0,.06)!important;
  overflow:hidden;
}
.hsy-ads form,.hsy-advertising form,.hsy-ad-request form,.hsy-advert-request form{
  padding:22px!important;
}
.hsy-ads h2,.hsy-ads h3,.hsy-advertising h2,.hsy-advertising h3,
.hsy-ad-request h2,.hsy-ad-request h3,.hsy-advert-request h2,.hsy-advert-request h3{
  letter-spacing:-.4px!important;
  font-weight:800!important;
}
.hsy-ads input,.hsy-ads select,.hsy-ads textarea,
.hsy-advertising input,.hsy-advertising select,.hsy-advertising textarea,
.hsy-ad-request input,.hsy-ad-request select,.hsy-ad-request textarea,
.hsy-advert-request input,.hsy-advert-request select,.hsy-advert-request textarea{
  border-radius:13px!important;
  min-height:44px;
  transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease;
}
.hsy-ads input:focus,.hsy-ads select:focus,.hsy-ads textarea:focus,
.hsy-advertising input:focus,.hsy-advertising select:focus,.hsy-advertising textarea:focus,
.hsy-ad-request input:focus,.hsy-ad-request select:focus,.hsy-ad-request textarea:focus,
.hsy-advert-request input:focus,.hsy-advert-request select:focus,.hsy-advert-request textarea:focus{
  box-shadow:0 0 0 4px rgba(0,0,0,.045)!important;
}
.hsy-ads button,.hsy-advertising button,.hsy-ad-request button,.hsy-advert-request button{
  border-radius:13px!important;
  min-height:44px;
  font-weight:750!important;
  transition:transform .18s ease,box-shadow .18s ease;
}
.hsy-ads button:hover,.hsy-advertising button:hover,.hsy-ad-request button:hover,.hsy-advert-request button:hover{
  transform:translateY(-1px);
  box-shadow:0 9px 24px rgba(0,0,0,.08);
}
.hsy-ads table,.hsy-advertising table{
  border-radius:16px!important;
  overflow:hidden;
}
@media(max-width:600px){
  .hsy-ads form,.hsy-advertising form,.hsy-ad-request form,.hsy-advert-request form{padding:16px!important}
}


/* Explore — Premium editorial UI */
.hsy-explore-panel{
  width:min(980px,calc(100vw - 28px))!important;
  max-height:min(88vh,900px)!important;
  overflow:auto!important;
  padding:0!important;
  border-radius:30px!important;
  background:var(--hsy-explore-bg,#1f1f1f)!important;
  color:var(--hsy-explore-text,#f5f5f5)!important;
  box-shadow:0 30px 90px rgba(0,0,0,.28)!important;
  scrollbar-width:thin;
}
.hsy-explore-top{
  position:sticky;top:0;z-index:5;
  display:flex;align-items:center;justify-content:space-between;gap:18px;
  padding:24px 28px 20px;
  background:linear-gradient(180deg,var(--hsy-explore-bg,#1f1f1f) 78%,transparent);
  backdrop-filter:blur(14px);
}
.hsy-explore-brand{min-width:0}
.hsy-explore-kicker{
  display:inline-flex;align-items:center;gap:7px;
  color:var(--hsy-explore-muted,#c7c7c7);font-size:10px;font-weight:850;letter-spacing:.14em;
}
.hsy-explore-kicker:before{
  content:"";width:7px;height:7px;border-radius:50%;
  background:var(--hsy-explore-primary,#4f46e5);box-shadow:0 0 0 5px color-mix(in srgb,var(--hsy-explore-primary,#4f46e5) 14%,transparent)
}
.hsy-explore-top h2{margin:7px 0 4px!important;font-size:25px!important;letter-spacing:-.7px}
.hsy-explore-subtitle{margin:0!important;color:var(--hsy-explore-muted,#c7c7c7)!important;font-size:11px!important;opacity:.78}
.hsy-explore-top-actions{display:flex;gap:8px}
.hsy-explore-refresh,.hsy-explore-top .hsy-modal-close{
  width:40px!important;height:40px!important;min-width:40px!important;
  border-radius:13px!important;border:1px solid var(--hsy-explore-border,#555)!important;
  background:color-mix(in srgb,var(--hsy-explore-card,#292929) 92%,transparent)!important;
  color:var(--hsy-explore-text,#f5f5f5)!important;
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  cursor:pointer!important;transition:transform .18s ease,background .18s ease
}
.hsy-explore-refresh:hover,.hsy-explore-top .hsy-modal-close:hover{transform:translateY(-2px);background:var(--hsy-explore-card,#292929)!important}
.hsy-explore-toolbar{
  display:flex;align-items:center;gap:10px;
  padding:0 28px 17px;
}
.hsy-explore-search{
  flex:1;min-width:0;height:44px!important;padding:0 15px!important;
  border:1px solid var(--hsy-explore-border,#555)!important;
  border-radius:14px!important;background:var(--hsy-explore-card,#292929)!important;
  color:var(--hsy-explore-text,#f5f5f5)!important;outline:0!important;
  box-shadow:none!important;font-size:12px!important;
}
.hsy-explore-search:focus{border-color:var(--hsy-explore-primary,#4f46e5)!important;box-shadow:0 0 0 4px color-mix(in srgb,var(--hsy-explore-primary,#4f46e5) 12%,transparent)!important}
.hsy-explore-filters{display:flex;gap:6px;overflow:auto;padding-bottom:2px}
.hsy-explore-filter{
  white-space:nowrap;border:1px solid var(--hsy-explore-border,#555)!important;
  background:transparent!important;color:var(--hsy-explore-muted,#c7c7c7)!important;
  border-radius:999px!important;padding:9px 12px!important;font-size:10px!important;font-weight:750!important;
  cursor:pointer!important;transition:.18s ease
}
.hsy-explore-filter:hover{transform:translateY(-1px)}
.hsy-explore-filter.is-active{
  background:var(--hsy-explore-primary,#4f46e5)!important;
  border-color:var(--hsy-explore-primary,#4f46e5)!important;color:var(--hsy-explore-button-text,#fff)!important;
  box-shadow:0 8px 22px color-mix(in srgb,var(--hsy-explore-primary,#4f46e5) 24%,transparent)
}
.hsy-explore-stats{
  margin:0 28px 15px;padding:0 2px;
  color:var(--hsy-explore-muted,#c7c7c7);font-size:10px;opacity:.7
}
.hsy-explore-feed{
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;
  padding:0 28px 24px;
}
.hsy-explore-post{
  position:relative;display:flex;flex-direction:column;min-width:0;overflow:hidden;
  border:1px solid var(--hsy-explore-border,#555);border-radius:21px;
  background:var(--hsy-explore-card,#292929);
  box-shadow:0 8px 28px rgba(0,0,0,.10);
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease;
  animation:hsyExploreIn .38s ease both;
}
.hsy-explore-post:hover{transform:translateY(-4px);box-shadow:0 17px 42px rgba(0,0,0,.18);border-color:color-mix(in srgb,var(--hsy-explore-primary,#4f46e5) 35%,var(--hsy-explore-border,#555))}
.hsy-explore-post.is-featured{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1.2fr) minmax(280px,.8fr)}
.hsy-explore-media{position:relative;min-height:180px;background:#111;overflow:hidden}
.hsy-explore-post.is-featured .hsy-explore-media{min-height:300px}
.hsy-explore-post-image,.hsy-explore-post-video{display:block;width:100%;height:100%;min-height:180px;object-fit:cover}
.hsy-explore-post.is-featured .hsy-explore-post-image,.hsy-explore-post.is-featured .hsy-explore-post-video{min-height:300px}
.hsy-explore-media:after{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(180deg,rgba(0,0,0,.03),transparent 45%,rgba(0,0,0,.30));
}
.hsy-explore-media-badge{
  position:absolute;z-index:2;right:12px;top:12px;padding:6px 9px;border-radius:999px;
  background:rgba(0,0,0,.58);color:#fff;font-size:9px;font-weight:800;backdrop-filter:blur(8px)
}
.hsy-explore-text-cover{height:100%;min-height:180px;display:flex;align-items:center;justify-content:center;font-size:48px;background:radial-gradient(circle at 50% 30%,color-mix(in srgb,var(--hsy-explore-primary,#4f46e5) 25%,transparent),transparent 48%),#111}
.hsy-explore-post-body{padding:17px 18px 18px;display:flex;flex-direction:column;min-width:0}
.hsy-explore-post-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;color:var(--hsy-explore-muted,#c7c7c7);font-size:9px;opacity:.72}
.hsy-explore-post-meta span{font-weight:800}
.hsy-explore-post-body h3{margin:9px 0 6px!important;font-size:16px!important;line-height:1.55!important;letter-spacing:-.25px}
.hsy-explore-post-content{
  color:var(--hsy-explore-muted,#c7c7c7);font-size:11px;line-height:2;
  display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden
}
.hsy-explore-post-foot{display:flex;justify-content:flex-end;margin-top:14px}
.hsy-explore-link{
  display:inline-flex;align-items:center;gap:7px;padding:9px 13px;border-radius:11px;
  background:var(--hsy-explore-primary,#4f46e5);color:var(--hsy-explore-button-text,#fff)!important;
  text-decoration:none!important;font-size:10px;font-weight:800;
  box-shadow:0 8px 20px color-mix(in srgb,var(--hsy-explore-primary,#4f46e5) 22%,transparent);
  transition:transform .18s ease,box-shadow .18s ease
}
.hsy-explore-link:after{content:"←";font-size:12px}
.hsy-explore-link:hover{transform:translateY(-2px);box-shadow:0 12px 26px color-mix(in srgb,var(--hsy-explore-primary,#4f46e5) 30%,transparent)}
.hsy-explore-empty{
  grid-column:1/-1;padding:55px 20px;text-align:center;border:1px dashed var(--hsy-explore-border,#555);
  border-radius:20px;color:var(--hsy-explore-muted,#c7c7c7);font-size:12px
}
.hsy-explore-admin-note{
  margin:0 28px 26px;padding:12px 14px;border-radius:13px;
  background:color-mix(in srgb,var(--hsy-explore-card,#292929) 75%,transparent);
  color:var(--hsy-explore-muted,#c7c7c7);font-size:9px;text-align:center;opacity:.7
}
@keyframes hsyExploreIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@media(max-width:760px){
 .hsy-explore-panel{width:calc(100vw - 14px)!important;border-radius:22px!important}
 .hsy-explore-top{padding:20px 17px 16px}.hsy-explore-top h2{font-size:21px!important}
 .hsy-explore-toolbar{padding:0 17px 13px;flex-direction:column;align-items:stretch}
 .hsy-explore-filters{width:100%}.hsy-explore-stats{margin:0 17px 12px}
 .hsy-explore-feed{grid-template-columns:1fr;padding:0 17px 18px}
 .hsy-explore-post.is-featured{grid-column:auto;display:flex}
 .hsy-explore-post.is-featured .hsy-explore-media,
 .hsy-explore-post.is-featured .hsy-explore-post-image,
 .hsy-explore-post.is-featured .hsy-explore-post-video{min-height:210px}
 .hsy-explore-admin-note{margin:0 17px 18px}
}

/* User Panel — Ultra Professional UI */
.hsy-account,.hsy-user-panel,.hsy-profile-panel,.hsy-account-panel{
  border-radius:26px!important;
  border:1px solid var(--border)!important;
  background:var(--white)!important;
  box-shadow:0 18px 48px rgba(0,0,0,.07)!important;
  overflow:hidden;
}
.hsy-account-header,.hsy-profile-header,.hsy-user-panel-head{
  position:relative!important;
  padding:26px!important;
  background:linear-gradient(135deg,#111 0%,#292929 65%,#3b3b3b 100%)!important;
  color:#fff!important;
  overflow:hidden;
}
.hsy-account-header:after,.hsy-profile-header:after,.hsy-user-panel-head:after{
  content:"";position:absolute;width:210px;height:210px;right:-90px;top:-140px;
  border:1px solid rgba(255,255,255,.09);border-radius:50%;
}
.hsy-account-header h2,.hsy-profile-header h2,.hsy-user-panel-head h2{
  position:relative;z-index:1;color:#fff!important;font-size:25px!important;
  font-weight:850!important;letter-spacing:-.6px!important;
}
.hsy-account-avatar,.hsy-profile-avatar,.hsy-user-avatar{
  width:68px!important;height:68px!important;border-radius:22px!important;
  border:2px solid rgba(255,255,255,.22)!important;
  box-shadow:0 10px 28px rgba(0,0,0,.18)!important;
}
.hsy-account-stats,.hsy-profile-stats,.hsy-user-stats{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px!important;
  padding:16px!important;
}
.hsy-account-stat,.hsy-profile-stat,.hsy-user-stat{
  min-height:84px!important;padding:15px!important;border-radius:17px!important;
  border:1px solid var(--border)!important;
  background:linear-gradient(180deg,var(--white),var(--field-bg))!important;
  transition:transform .18s ease,box-shadow .18s ease!important;
}
.hsy-account-stat:hover,.hsy-profile-stat:hover,.hsy-user-stat:hover{
  transform:translateY(-2px);box-shadow:0 9px 25px rgba(0,0,0,.06)!important;
}
.hsy-account-stat strong,.hsy-profile-stat strong,.hsy-user-stat strong{
  display:block;font-size:18px!important;font-weight:850!important;
}
.hsy-account-stat small,.hsy-profile-stat small,.hsy-user-stat small{
  display:block;margin-top:4px;color:var(--muted);font-size:10px!important;
}
.hsy-account-menu,.hsy-profile-menu,.hsy-user-menu{
  padding:8px 16px 18px!important;display:grid;gap:8px;
}
.hsy-account-menu a,.hsy-account-menu button,.hsy-profile-menu a,.hsy-profile-menu button,
.hsy-user-menu a,.hsy-user-menu button{
  min-height:52px!important;padding:0 15px!important;border-radius:15px!important;
  border:1px solid transparent!important;background:var(--field-bg)!important;
  color:var(--text)!important;display:flex!important;align-items:center!important;
  justify-content:space-between!important;transition:transform .16s ease,background .16s ease,box-shadow .16s ease!important;
}
.hsy-account-menu a:hover,.hsy-account-menu button:hover,.hsy-profile-menu a:hover,.hsy-profile-menu button:hover,
.hsy-user-menu a:hover,.hsy-user-menu button:hover{
  transform:translateX(-2px);background:var(--white)!important;
  border-color:var(--border)!important;box-shadow:0 7px 20px rgba(0,0,0,.045)!important;
}
.hsy-account-section,.hsy-profile-section,.hsy-user-section{
  margin:0 16px 12px!important;padding:18px!important;border-radius:18px!important;
  border:1px solid var(--border)!important;background:var(--white)!important;
}
.hsy-account-section h3,.hsy-profile-section h3,.hsy-user-section h3{
  margin:0 0 13px!important;font-size:14px!important;font-weight:800!important;
}
.hsy-account input,.hsy-account select,.hsy-account textarea,
.hsy-profile-panel input,.hsy-profile-panel select,.hsy-profile-panel textarea,
.hsy-user-panel input,.hsy-user-panel select,.hsy-user-panel textarea{
  border-radius:12px!important;min-height:44px!important;
  transition:border-color .18s ease,box-shadow .18s ease!important;
}
.hsy-account input:focus,.hsy-account select:focus,.hsy-account textarea:focus,
.hsy-profile-panel input:focus,.hsy-profile-panel select:focus,.hsy-profile-panel textarea:focus,
.hsy-user-panel input:focus,.hsy-user-panel select:focus,.hsy-user-panel textarea:focus{
  box-shadow:0 0 0 4px rgba(0,0,0,.04)!important;
}
.hsy-account button,.hsy-profile-panel button,.hsy-user-panel button{
  min-height:44px!important;border-radius:13px!important;font-weight:750!important;
  transition:transform .17s ease,box-shadow .17s ease!important;
}
.hsy-account button:hover,.hsy-profile-panel button:hover,.hsy-user-panel button:hover{
  transform:translateY(-1px);box-shadow:0 8px 22px rgba(0,0,0,.07)!important;
}
@media(max-width:600px){
  .hsy-account-header,.hsy-profile-header,.hsy-user-panel-head{padding:20px!important}
  .hsy-account-header h2,.hsy-profile-header h2,.hsy-user-panel-head h2{font-size:21px!important}
  .hsy-account-stats,.hsy-profile-stats,.hsy-user-stats{grid-template-columns:1fr 1fr!important;padding:12px!important}
  .hsy-account-menu,.hsy-profile-menu,.hsy-user-menu{padding:7px 12px 14px!important}
  .hsy-account-section,.hsy-profile-section,.hsy-user-section{margin:0 12px 10px!important}
}

.hsy-account-danger-zone{margin-top:18px;display:flex;flex-direction:column;gap:10px;padding:14px;border:1px solid rgba(148,163,184,.25);border-radius:14px}.hsy-account-setting-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px;border-radius:12px;background:rgba(148,163,184,.06)}.hsy-account-setting-row>div{display:flex;flex-direction:column;gap:4px}.hsy-account-setting-row.danger{border:1px solid rgba(220,38,38,.18)}.hsy-account-delete-btn{border-color:#dc2626!important;color:#b91c1c!important}

/* Ticket department selector */
#hsy-tk-department{width:100%;min-height:46px;margin:6px 0 14px;padding:10px 12px;border-radius:12px;}

/* Naksto notification premium */
.hsy-notification-panel{width:min(430px,calc(100vw - 24px));max-height:min(620px,calc(100vh - 78px));border:1px solid color-mix(in srgb,var(--border) 75%,transparent);border-radius:22px;background:color-mix(in srgb,var(--white) 96%,transparent);box-shadow:0 24px 70px rgba(0,0,0,.24);backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);animation:hsyNotifProIn .22s cubic-bezier(.22,1,.36,1)}
@keyframes hsyNotifProIn{from{opacity:0;transform:translateY(-10px) scale(.97)}to{opacity:1;transform:none}}
.hsy-notification-head{padding:15px 16px 13px;border-bottom:1px solid var(--border);background:linear-gradient(180deg,color-mix(in srgb,var(--hover) 58%,transparent),transparent)}
.hsy-notification-head-main{display:flex;align-items:center;gap:10px;min-width:0}.hsy-notification-head-main>div:last-child{display:flex;flex-direction:column;gap:2px}.hsy-notification-head-main strong{font-size:15px}.hsy-notification-head-main small{font-size:10px;color:var(--text-soft)}
.hsy-notification-head-icon{width:36px;height:36px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:var(--text);color:var(--white);box-shadow:0 7px 18px rgba(0,0,0,.14)}.hsy-notification-head-icon svg{width:18px;height:18px}
.hsy-notification-close{width:32px;height:32px;border:0;border-radius:10px;background:var(--field-bg);color:var(--text-soft);font-size:20px;cursor:pointer;transition:.16s}.hsy-notification-close:hover{background:var(--hover);color:var(--text);transform:rotate(3deg)}
.hsy-notification-tools{padding:11px 13px 8px;border-bottom:1px solid var(--border)}.hsy-notification-search{width:100%;box-sizing:border-box;border:1px solid var(--border);background:var(--field-bg);color:var(--text);border-radius:12px;padding:10px 12px;outline:none;font:inherit;font-size:12px;transition:.16s}.hsy-notification-search:focus{border-color:var(--text-soft);box-shadow:0 0 0 3px color-mix(in srgb,var(--text) 7%,transparent)}
.hsy-notification-filters{display:flex;gap:6px;margin-top:8px;overflow:auto}.hsy-notification-filter{border:1px solid transparent;background:transparent;color:var(--text-soft);border-radius:999px;padding:6px 10px;font-size:10px;cursor:pointer;white-space:nowrap}.hsy-notification-filter.active{background:var(--text);color:var(--white);box-shadow:0 4px 12px rgba(0,0,0,.12)}
.hsy-notification-list{max-height:410px;overflow:auto;padding:5px 7px}.hsy-notification-item{align-items:flex-start;gap:10px;margin:4px 0;padding:11px 9px;border:1px solid transparent;border-radius:15px;border-bottom:0;transition:background .16s,border-color .16s,transform .16s,box-shadow .16s}.hsy-notification-item:hover{background:var(--hover);border-color:var(--border);transform:translateY(-1px);box-shadow:0 7px 20px rgba(0,0,0,.05)}.hsy-notification-item.unread{background:color-mix(in srgb,var(--hover) 55%,transparent);border-color:color-mix(in srgb,var(--border) 75%,transparent)}
.hsy-notification-icon{width:32px;height:32px;flex:0 0 32px;border-radius:10px;display:flex;align-items:center;justify-content:center;font-weight:900;font-size:13px;background:var(--field-bg);color:var(--text-soft)}.hsy-notification-item.type-success .hsy-notification-icon{background:rgba(34,197,94,.12);color:#16a34a}.hsy-notification-item.type-warning .hsy-notification-icon{background:rgba(245,158,11,.14);color:#d97706}.hsy-notification-item.type-promo .hsy-notification-icon{background:rgba(139,92,246,.13);color:#7c3aed}.hsy-notification-item.type-info .hsy-notification-icon{background:rgba(59,130,246,.12);color:#2563eb}
.hsy-notification-title-row{display:flex;align-items:center;gap:6px;min-width:0}.hsy-notification-new{font-size:8px;font-weight:800;padding:2px 6px;border-radius:999px;background:var(--text);color:var(--white);flex:0 0 auto}.hsy-notification-message{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.hsy-notification-delete{opacity:.45;transition:.15s}.hsy-notification-item:hover .hsy-notification-delete{opacity:1}.hsy-notification-footer{display:flex;gap:7px;padding:10px 12px;border-top:1px solid var(--border);background:var(--field-bg)}.hsy-notification-footer-btn{flex:1;border:1px solid var(--border);background:var(--white);color:var(--text);border-radius:10px;padding:8px;font-size:10px;font-weight:700;cursor:pointer}.hsy-notification-footer-btn:hover{background:var(--hover)}.hsy-notification-footer-btn.danger{color:#b91c1c}.hsy-notification-empty{padding:50px 16px}
[data-theme="dark"] .hsy-notification-panel{background:rgba(25,25,25,.96);box-shadow:0 24px 70px rgba(0,0,0,.5)}
[data-theme="dark"] .hsy-notification-footer-btn{background:var(--white)}
@media(max-width:640px){.hsy-notification-panel{left:6px;width:calc(100vw - 12px);max-height:calc(100vh - 66px);border-radius:18px}.hsy-notification-list{max-height:calc(100vh - 285px)}}

/* Per-model welcome message */
.hsy-model-welcome-text{
  width:min(680px,92%);
  margin:10px auto 0;
  padding:12px 16px;
  box-sizing:border-box;
  border:none;
  border-radius:0;
  background:transparent;
  color:var(--text-soft);
  font-size:13px;
  line-height:1.9;
  text-align:center;
  white-space:pre-wrap;
  box-shadow:none;
}

/* Professional account controls */
.hsy-account-danger-zone{padding:16px;margin-top:20px;border:1px solid var(--border);border-radius:20px;background:linear-gradient(180deg,var(--white),var(--field-bg));box-shadow:0 10px 30px rgba(0,0,0,.035)}
.hsy-account-setting-row{min-height:62px;padding:12px 13px!important;border:1px solid var(--border);background:var(--white)!important;border-radius:16px!important}
.hsy-account-setting-row.wallet-setting{box-shadow:0 4px 16px rgba(0,0,0,.025)}
.hsy-account-setting-info{display:flex!important;align-items:center;flex-direction:row!important;gap:11px!important}.hsy-account-setting-icon{width:38px;height:38px;display:flex;align-items:center;justify-content:center;border-radius:12px;background:var(--field-bg);font-size:17px}.hsy-account-setting-icon.danger-icon{background:rgba(220,38,38,.08)}
.hsy-account-setting-info>div{display:flex;flex-direction:column;gap:3px}.hsy-account-setting-info strong{font-size:13px}.hsy-account-setting-info small{font-size:10px}
.hsy-wallet-enable-btn{border-color:var(--text)!important}.hsy-account-delete-btn{background:rgba(220,38,38,.06)!important;border:1px solid rgba(220,38,38,.22)!important;color:#b91c1c!important}.hsy-account-delete-btn:hover{background:rgba(220,38,38,.11)!important}
.hsy-account-action-confirm{width:min(500px,calc(100vw - 28px));padding:20px;border:1px solid var(--border);border-radius:24px;background:var(--white);box-shadow:0 28px 90px rgba(0,0,0,.22);box-sizing:border-box}.hsy-account-action-confirm.is-danger{border-color:rgba(220,38,38,.18)}
.hsy-account-action-head{display:flex;gap:13px;align-items:flex-start}.hsy-account-action-icon{width:46px;height:46px;flex:0 0 46px;border-radius:15px;display:flex;align-items:center;justify-content:center;background:var(--field-bg);font-size:21px}.is-danger .hsy-account-action-icon{background:rgba(220,38,38,.08)}
.hsy-account-action-head h3{margin:2px 0 5px;font-size:16px}.hsy-account-action-head p{margin:0;color:var(--muted);font-size:11px;line-height:1.9}.hsy-account-action-body{margin-top:15px}.hsy-account-action-warning{display:flex;gap:9px;padding:11px 12px;border-radius:13px;background:var(--field-bg);font-size:10px;line-height:1.9}.is-danger .hsy-account-action-warning{background:rgba(220,38,38,.055);color:#991b1b}.hsy-account-action-warning>span{width:20px;height:20px;flex:0 0 20px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:currentColor;color:var(--white);font-weight:900}.hsy-delete-confirm-wrap{margin-top:12px}.hsy-delete-confirm-wrap label{display:flex;flex-direction:column;gap:7px;font-size:10px}.hsy-delete-confirm-input{width:100%;box-sizing:border-box;letter-spacing:1px;text-align:left;direction:ltr}.hsy-delete-confirm-input.is-invalid{border-color:#dc2626!important;box-shadow:0 0 0 3px rgba(220,38,38,.08)!important}.hsy-account-action-actions{display:flex;gap:8px;margin-top:17px}.hsy-account-action-actions .hsy-btn{flex:1}.hsy-account-action-danger{background:#dc2626!important;border-color:#dc2626!important;color:#fff!important}.hsy-account-action-actions button:disabled{opacity:.5;cursor:not-allowed;transform:none!important;box-shadow:none!important}.hsy-account-action-actions button.is-loading{opacity:.65}
[data-theme="dark"] .hsy-account-action-confirm{background:#191919;box-shadow:0 28px 90px rgba(0,0,0,.55)}
[data-theme="dark"] .hsy-account-setting-row{background:rgba(255,255,255,.025)!important}
@media(max-width:600px){.hsy-account-action-confirm{padding:17px;border-radius:20px}.hsy-account-setting-row{align-items:flex-start}.hsy-account-setting-row>.hsy-btn{margin-top:5px;min-width:94px}.hsy-account-action-actions{flex-direction:column-reverse}.hsy-account-action-actions .hsy-btn{width:100%}}

.hsy-conv-item{display:flex;align-items:center;gap:6px}.hsy-conv-title{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hsy-conv-pin,.hsy-conv-del{flex:0 0 auto;border:0;background:transparent;cursor:pointer;opacity:.55;border-radius:8px;padding:4px 6px}.hsy-conv-pin:hover,.hsy-conv-pin.active{opacity:1;background:rgba(99,102,241,.1)}.hsy-conv-pin.active{color:#f59e0b}

/* Professional conversation pinning */
.hsy-conv-item.pinned{background:linear-gradient(90deg,rgba(99,102,241,.10),rgba(99,102,241,.035));border:1px solid rgba(99,102,241,.14);box-shadow:0 2px 10px rgba(15,23,42,.04)}
.hsy-conv-pin-mark{width:15px;flex:0 0 15px;color:#f59e0b;font-size:12px;text-align:center;line-height:1}
.hsy-conv-pin{width:30px;height:30px;display:inline-flex;align-items:center;justify-content:center;border:1px solid transparent;background:transparent;color:var(--muted);cursor:pointer;border-radius:9px;font-size:17px;transition:.18s ease}
.hsy-conv-pin:hover{background:var(--hover);border-color:var(--border);transform:translateY(-1px)}
.hsy-conv-pin.active{color:#f59e0b;background:rgba(245,158,11,.11);border-color:rgba(245,158,11,.18)}
.hsy-auth-guest{margin-top:18px;text-align:center}
.hsy-auth-divider{display:flex;align-items:center;gap:10px;color:var(--muted);font-size:12px;margin:12px 0}
.hsy-auth-divider:before,.hsy-auth-divider:after{content:'';height:1px;background:var(--border);flex:1}
.hsy-auth-guest-btn{width:100%;display:flex;align-items:center;justify-content:center;gap:9px;padding:12px 16px;border:1px solid var(--border);border-radius:12px;background:var(--field-bg);color:var(--text);font-weight:700;cursor:pointer;transition:.18s ease}
.hsy-auth-guest-btn:hover{background:var(--hover);transform:translateY(-1px);box-shadow:0 5px 16px rgba(15,23,42,.08)}
.hsy-auth-guest small{display:block;margin-top:8px;color:var(--muted);line-height:1.7}

/* Notification dropdown: viewport-anchored so it never shifts/overlays the welcome layout. */
.hsy-notification-panel{position:fixed!important;left:auto!important;right:auto!important;top:auto!important;z-index:99999!important;max-width:calc(100vw - 20px)!important;box-sizing:border-box!important}
.hsy-notification-panel .hsy-notification-list{max-height:min(410px,calc(100vh - 285px));overflow:auto}
@media(max-width:640px){.hsy-notification-panel{max-width:calc(100vw - 20px)!important;width:min(430px,calc(100vw - 20px))!important}}

/* Notification button interaction reliability */
.hsy-topbar{position:relative;z-index:1000}
.hsy-notification-btn{position:relative!important;z-index:1002!important;pointer-events:auto!important;touch-action:manipulation!important;cursor:pointer!important}
.hsy-notification-btn>*{pointer-events:none!important}
.hsy-notification-panel{z-index:1003!important}

/* Final notification interaction fix: keep the trigger above all shell layers. */
.hsy-notification-btn{position:relative!important;z-index:2147483000!important;display:inline-flex!important;visibility:visible!important;opacity:1!important;pointer-events:auto!important;cursor:pointer!important;-webkit-tap-highlight-color:transparent!important;touch-action:manipulation!important;}
.hsy-notification-btn::before,.hsy-notification-btn::after{pointer-events:none!important;}
.hsy-notification-panel{position:fixed!important;z-index:2147483001!important;pointer-events:auto!important;}

/* v4.3 - Respect user-panel custom colors for information cards and custom menus */
.hsy-modal.hsy-modal-account .hsy-account-stat,
.hsy-modal.hsy-modal-account .hsy-account-progress,
.hsy-modal.hsy-modal-account .hsy-account-subscription,
.hsy-modal.hsy-modal-account .hsy-custom-account-stat{
  background:var(--hsy-profile-card-bg,var(--field-bg)) !important;
  color:var(--hsy-profile-text,var(--text)) !important;
  border-color:var(--hsy-profile-card-border,var(--border)) !important;
}
.hsy-modal.hsy-modal-account .hsy-account-stat span,
.hsy-modal.hsy-modal-account .hsy-account-stat small,
.hsy-modal.hsy-modal-account .hsy-custom-account-stat span,
.hsy-modal.hsy-modal-account .hsy-custom-account-stat small{
  color:var(--hsy-profile-text,var(--text-soft)) !important;
}
.hsy-modal.hsy-modal-account .hsy-sidebar-menu,
.hsy-modal.hsy-modal-account .hsy-side-link{
  background:var(--hsy-profile-card-bg,var(--field-bg)) !important;
  color:var(--hsy-profile-text,var(--text)) !important;
  border-color:var(--hsy-profile-card-border,var(--border)) !important;
}
.hsy-modal.hsy-modal-account .hsy-side-link:hover,
.hsy-modal.hsy-modal-account .hsy-side-link.active{
  background:color-mix(in srgb,var(--hsy-profile-accent,#6d5dfc) 10%,var(--hsy-profile-card-bg,var(--field-bg))) !important;
  color:var(--hsy-profile-text,var(--text)) !important;
}
.hsy-modal.hsy-modal-account .hsy-custom-account-stat .hsy-custom-card-icon,
.hsy-modal.hsy-modal-account .hsy-custom-account-stat strong{
  color:var(--hsy-profile-text,var(--text)) !important;
}

.hsy-report-btn{display:inline-flex;align-items:center;gap:4px;background:transparent !important;border:0 !important;box-shadow:none !important;padding:2px 4px !important;color:inherit;min-height:0;line-height:1.4;cursor:pointer}
.hsy-report-modal{min-width:min(92vw,520px)}
.hsy-report-modal .hsy-input{width:100%;box-sizing:border-box;margin:8px 0;padding:10px;border:1px solid #ddd;border-radius:10px}
.hsy-modal-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:10px}
.hsy-ticket-attachments{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.hsy-ticket-attachment{display:inline-flex;align-items:center;padding:7px 10px;border:1px solid rgba(0,0,0,.1);border-radius:9px;text-decoration:none;font-size:12px}.hsy-ticket-attachment:before{content:'📎';margin-left:5px}


/* Customer Club Ultra UI */
.hsy-club-pro{width:min(820px,88vw);max-height:78vh;overflow:auto;padding:3px;box-sizing:border-box}
.hsy-club-shell{font-family:inherit;color:var(--text,#171717)}
.hsy-club-hero{position:relative;overflow:hidden;padding:17px;border-radius:24px;background:linear-gradient(135deg,rgba(99,102,241,.16),rgba(168,85,247,.10) 55%,rgba(14,165,233,.10));border:1px solid rgba(127,127,127,.14);box-shadow:0 18px 50px rgba(20,24,40,.08)}
.hsy-club-hero:after{content:'';position:absolute;width:180px;height:180px;border-radius:50%;left:-65px;top:-90px;background:rgba(255,255,255,.12);pointer-events:none}
.hsy-club-top{display:flex;align-items:center;justify-content:space-between;gap:14px;position:relative;z-index:1}
.hsy-club-kicker{font-size:11px;font-weight:800;letter-spacing:.3px;opacity:.65;margin-bottom:5px}
.hsy-club-title{font-size:21px;font-weight:900;line-height:1.35}
.hsy-club-sub{font-size:12px;opacity:.72;margin-top:5px;line-height:1.8}
.hsy-club-level{min-width:60px;height:60px;border-radius:22px;display:flex;align-items:center;justify-content:center;font-size:28px;background:rgba(255,255,255,.35);border:1px solid rgba(255,255,255,.4);box-shadow:0 12px 25px rgba(20,24,40,.08)}
.hsy-club-progress{margin-top:18px;position:relative;z-index:1}.hsy-club-progress-track{height:11px;border-radius:99px;background:rgba(127,127,127,.16);overflow:hidden}.hsy-club-progress-fill{height:100%;width:0;border-radius:99px;background:linear-gradient(90deg,#6366f1,#a855f7,#06b6d4);transition:width .45s ease}.hsy-club-progress-meta{display:flex;justify-content:space-between;gap:8px;font-size:11px;opacity:.72;margin-top:7px}
.hsy-club-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:10px 0}.hsy-club-kpi{padding:11px;border:1px solid rgba(127,127,127,.14);border-radius:17px;background:var(--field-bg,rgba(127,127,127,.05));min-width:0}.hsy-club-kpi-icon{font-size:20px}.hsy-club-kpi-value{font-size:18px;font-weight:900;margin-top:4px}.hsy-club-kpi-label{font-size:11px;opacity:.62;margin-top:2px}
.hsy-club-tabs{display:flex;gap:7px;flex-wrap:wrap;margin:10px 0 14px;padding:5px;border-radius:16px;background:rgba(127,127,127,.07)}.hsy-club-tab{border:0!important;background:transparent!important;box-shadow:none!important;border-radius:12px!important;padding:9px 12px!important;font-size:12px!important}.hsy-club-tab.button-primary{background:rgba(99,102,241,.13)!important;color:#5b4de8!important}
.hsy-club-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.hsy-club-card{padding:12px;border:1px solid rgba(127,127,127,.14);border-radius:18px;background:var(--field-bg,rgba(127,127,127,.035))}.hsy-club-card-title{font-weight:900;font-size:14px;margin-bottom:9px}.hsy-club-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px 0;border-bottom:1px solid rgba(127,127,127,.10)}.hsy-club-row:last-child{border-bottom:0}.hsy-club-muted{font-size:11px;opacity:.62}.hsy-club-badge{display:inline-flex;align-items:center;gap:5px;padding:6px 9px;border-radius:999px;background:rgba(99,102,241,.10);font-size:11px;font-weight:800}.hsy-club-action{border:0!important;border-radius:11px!important;padding:8px 12px!important;font-weight:800!important;cursor:pointer}.hsy-club-empty{text-align:center;padding:30px 15px;opacity:.62}.hsy-club-reward{display:flex;align-items:center;gap:12px;padding:14px;border:1px solid rgba(127,127,127,.13);border-radius:17px;margin-bottom:9px}.hsy-club-reward-icon{width:48px;height:48px;border-radius:15px;display:flex;align-items:center;justify-content:center;font-size:24px;background:rgba(99,102,241,.10);flex:0 0 auto}.hsy-club-reward-main{flex:1;min-width:0}.hsy-club-reward-name{font-weight:900}.hsy-club-reward-desc{font-size:11px;opacity:.62;margin-top:3px}.hsy-club-ref-box{display:flex;gap:8px;align-items:center;padding:14px;border-radius:18px;background:rgba(99,102,241,.08);border:1px dashed rgba(99,102,241,.25)}.hsy-club-ref-code{font-size:22px;font-weight:900;letter-spacing:1px}.hsy-club-list{border:1px solid rgba(127,127,127,.13);border-radius:18px;overflow:hidden}.hsy-club-rank{display:flex;align-items:center;gap:10px;padding:12px 14px;border-bottom:1px solid rgba(127,127,127,.10)}.hsy-club-rank:last-child{border-bottom:0}.hsy-club-rank-no{width:28px;text-align:center;font-weight:900}.hsy-club-rank-avatar{width:34px;height:34px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:rgba(99,102,241,.10);font-weight:900}.hsy-club-rank-name{flex:1;font-weight:700}.hsy-club-rank-points{font-weight:900;font-size:12px}.hsy-club-skeleton{height:90px;border-radius:18px;background:linear-gradient(90deg,rgba(127,127,127,.06),rgba(127,127,127,.13),rgba(127,127,127,.06));background-size:200% 100%;animation:hsyClubShimmer 1.2s infinite}@keyframes hsyClubShimmer{to{background-position:-200% 0}}
@media(max-width:700px){.hsy-club-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.hsy-club-grid{grid-template-columns:1fr}.hsy-club-title{font-size:21px}.hsy-club-hero{padding:17px}.hsy-club-level{min-width:58px;height:58px;border-radius:18px;font-size:28px}}

/* Customer Club compact modal: keep the full dashboard visible without oversized zoom */
.hsy-modal.hsy-modal-club{width:min(560px,calc(100vw - 28px));max-width:560px;max-height:82vh;padding:12px;border-radius:18px;overflow:hidden}
.hsy-modal.hsy-modal-club .hsy-club-pro{width:100%;max-width:none;max-height:calc(82vh - 24px);overflow-y:auto;padding:2px}
.hsy-modal.hsy-modal-club .hsy-club-hero{padding:12px;border-radius:18px}
.hsy-modal.hsy-modal-club .hsy-club-title{font-size:18px}
.hsy-modal.hsy-modal-club .hsy-club-sub{font-size:11px}
.hsy-modal.hsy-modal-club .hsy-club-level{min-width:48px;height:48px;border-radius:16px;font-size:22px}
.hsy-modal.hsy-modal-club .hsy-club-progress{margin-top:12px}
.hsy-modal.hsy-modal-club .hsy-club-progress-track{height:8px}
.hsy-modal.hsy-modal-club .hsy-club-kpis{gap:6px;margin:7px 0}
.hsy-modal.hsy-modal-club .hsy-club-kpi{padding:8px;border-radius:13px}
.hsy-modal.hsy-modal-club .hsy-club-kpi-icon{font-size:16px}
.hsy-modal.hsy-modal-club .hsy-club-kpi-value{font-size:15px}
.hsy-modal.hsy-modal-club .hsy-club-kpi-label{font-size:10px}
.hsy-modal.hsy-modal-club .hsy-club-tabs{gap:4px;margin:7px 0 9px;padding:4px}
.hsy-modal.hsy-modal-club .hsy-club-tab{padding:7px 9px!important;font-size:11px!important}
.hsy-modal.hsy-modal-club .hsy-club-grid{gap:7px}
.hsy-modal.hsy-modal-club .hsy-club-card{padding:9px;border-radius:14px}
.hsy-modal.hsy-modal-club .hsy-club-card-title{font-size:12px;margin-bottom:6px}
.hsy-modal.hsy-modal-club .hsy-club-row{padding:8px 0}
.hsy-modal.hsy-modal-club .hsy-club-reward{padding:9px;gap:8px;border-radius:13px}
.hsy-modal.hsy-modal-club .hsy-club-reward-icon{width:38px;height:38px;border-radius:11px;font-size:19px}
.hsy-modal.hsy-modal-club .hsy-club-ref-box{padding:9px;border-radius:13px}
.hsy-modal.hsy-modal-club .hsy-club-ref-code{font-size:18px}
.hsy-modal.hsy-modal-club .hsy-club-list,.hsy-modal.hsy-modal-club .hsy-club-row{border-radius:13px}
@media(max-width:700px){.hsy-modal.hsy-modal-club{width:calc(100vw - 20px);max-width:none;max-height:calc(100dvh - 20px);padding:9px}.hsy-modal.hsy-modal-club .hsy-club-pro{max-height:calc(100dvh - 38px)}}

/* Customer Club - balanced large presentation */
.hsy-modal.hsy-modal-club{
  width:min(900px,calc(100vw - 44px)) !important;
  max-width:900px !important;
  max-height:88vh !important;
  padding:14px !important;
  border-radius:20px !important;
  box-sizing:border-box !important;
}
.hsy-modal.hsy-modal-club .hsy-club-pro{
  width:100% !important;
  max-width:none !important;
  max-height:calc(88vh - 28px) !important;
  overflow-y:auto !important;
  overflow-x:hidden !important;
  padding:2px !important;
  box-sizing:border-box !important;
  zoom:1 !important;
}
.hsy-modal.hsy-modal-club .hsy-club-hero{padding:18px !important;border-radius:18px !important}
.hsy-modal.hsy-modal-club .hsy-club-top{gap:14px !important}
.hsy-modal.hsy-modal-club .hsy-club-kicker{font-size:11px !important;margin-bottom:5px !important}
.hsy-modal.hsy-modal-club .hsy-club-title{font-size:24px !important}
.hsy-modal.hsy-modal-club .hsy-club-sub{font-size:13px !important;margin-top:5px !important}
.hsy-modal.hsy-modal-club .hsy-club-level{min-width:58px !important;width:58px !important;height:58px !important;border-radius:16px !important;font-size:25px !important}
.hsy-modal.hsy-modal-club .hsy-club-progress{margin-top:14px !important}
.hsy-modal.hsy-modal-club .hsy-club-progress-track{height:8px !important}
.hsy-modal.hsy-modal-club .hsy-club-progress-meta{font-size:11px !important;margin-top:7px !important}
.hsy-modal.hsy-modal-club .hsy-club-kpis{gap:9px !important;margin:10px 0 !important}
.hsy-modal.hsy-modal-club .hsy-club-kpi{padding:12px !important;border-radius:14px !important}
.hsy-modal.hsy-modal-club .hsy-club-kpi-icon{font-size:20px !important}
.hsy-modal.hsy-modal-club .hsy-club-kpi-value{font-size:20px !important;margin-top:3px !important}
.hsy-modal.hsy-modal-club .hsy-club-kpi-label{font-size:11px !important}
.hsy-modal.hsy-modal-club .hsy-club-tabs{gap:5px !important;margin:10px 0 12px !important;padding:5px !important}
.hsy-modal.hsy-modal-club .hsy-club-tab{padding:9px 11px !important;font-size:12px !important;border-radius:10px !important}
.hsy-modal.hsy-modal-club .hsy-club-grid{gap:9px !important}
.hsy-modal.hsy-modal-club .hsy-club-card{padding:12px !important;border-radius:14px !important}
.hsy-modal.hsy-modal-club .hsy-club-card-title{font-size:13px !important;margin-bottom:7px !important}
.hsy-modal.hsy-modal-club .hsy-club-row{gap:8px !important;padding:8px 0 !important;font-size:12px !important}
.hsy-modal.hsy-modal-club .hsy-club-muted{font-size:11px !important}
.hsy-modal.hsy-modal-club .hsy-club-badge{padding:6px 8px !important;font-size:10px !important}
.hsy-modal.hsy-modal-club .hsy-club-action{padding:8px 11px !important;font-size:12px !important;border-radius:9px !important}
.hsy-modal.hsy-modal-club .hsy-club-reward{padding:10px !important;gap:9px !important;border-radius:13px !important;margin-bottom:7px !important}
.hsy-modal.hsy-modal-club .hsy-club-reward-icon{width:42px !important;height:42px !important;border-radius:11px !important;font-size:20px !important}
.hsy-modal.hsy-modal-club .hsy-club-reward-name{font-size:12px !important}
.hsy-modal.hsy-modal-club .hsy-club-reward-desc{font-size:10px !important;margin-top:3px !important}
.hsy-modal.hsy-modal-club .hsy-club-ref-box{padding:10px !important;gap:7px !important;border-radius:13px !important}
.hsy-modal.hsy-modal-club .hsy-club-ref-code{font-size:18px !important}
.hsy-modal.hsy-modal-club .hsy-club-list{border-radius:13px !important}
.hsy-modal.hsy-modal-club .hsy-club-rank{gap:8px !important;padding:9px 10px !important}
.hsy-modal.hsy-modal-club .hsy-club-rank-no{width:26px !important;font-size:11px !important}
.hsy-modal.hsy-modal-club .hsy-club-rank-avatar{width:34px !important;height:34px !important;border-radius:10px !important;font-size:12px !important}
.hsy-modal.hsy-modal-club .hsy-club-rank-name,.hsy-modal.hsy-modal-club .hsy-club-rank-points{font-size:11px !important}
@media(max-width:700px){
 .hsy-modal.hsy-modal-club{width:calc(100vw - 20px) !important;max-width:none !important;max-height:calc(100dvh - 20px) !important;padding:9px !important}
 .hsy-modal.hsy-modal-club .hsy-club-pro{max-height:calc(100dvh - 38px) !important;zoom:1 !important}
 .hsy-modal.hsy-modal-club .hsy-club-title{font-size:20px !important}
 .hsy-modal.hsy-modal-club .hsy-club-kpi-value{font-size:17px !important}
}


/* Customer Club — premium dashboard refresh */
.hsy-modal.hsy-modal-club{width:min(940px,calc(100vw - 34px)) !important;max-width:940px !important;max-height:90vh !important;padding:10px !important;border-radius:28px !important;overflow:hidden !important}
.hsy-modal.hsy-modal-club .hsy-club-pro{max-height:calc(90vh - 20px) !important;overflow-y:auto !important;padding:3px !important;scrollbar-width:thin}
.hsy-modal.hsy-modal-club .hsy-club-shell{padding:2px 4px 10px}
.hsy-modal.hsy-modal-club .hsy-club-hero{position:relative;overflow:hidden;padding:24px !important;border-radius:23px !important;background:linear-gradient(135deg,rgba(99,102,241,.98),rgba(168,85,247,.94) 55%,rgba(6,182,212,.92)) !important;color:#fff !important;box-shadow:0 18px 45px rgba(79,70,229,.22)}
.hsy-modal.hsy-modal-club .hsy-club-hero:before{content:'';position:absolute;inset:-40% auto auto -10%;width:240px;height:240px;border-radius:50%;background:rgba(255,255,255,.10);pointer-events:none}
.hsy-modal.hsy-modal-club .hsy-club-hero:after{content:'';position:absolute;right:-70px;bottom:-110px;width:280px;height:280px;border-radius:50%;border:55px solid rgba(255,255,255,.08);pointer-events:none}
.hsy-modal.hsy-modal-club .hsy-club-top{position:relative;z-index:1;align-items:center}
.hsy-modal.hsy-modal-club .hsy-club-kicker{font-size:10px !important;letter-spacing:.16em;font-weight:800;opacity:.72}
.hsy-modal.hsy-modal-club .hsy-club-title{font-size:29px !important;line-height:1.25;font-weight:950 !important}
.hsy-modal.hsy-modal-club .hsy-club-sub{font-size:12px !important;opacity:.82}
.hsy-modal.hsy-modal-club .hsy-club-level{background:rgba(255,255,255,.16) !important;border-color:rgba(255,255,255,.26) !important;backdrop-filter:blur(10px);box-shadow:0 12px 30px rgba(0,0,0,.12) !important}
.hsy-modal.hsy-modal-club .hsy-club-progress-track{background:rgba(255,255,255,.20) !important;height:10px !important}
.hsy-modal.hsy-modal-club .hsy-club-progress-fill{background:#fff !important}
.hsy-modal.hsy-modal-club .hsy-club-progress-meta{opacity:.9}
.hsy-modal.hsy-modal-club .hsy-club-kpis{gap:10px !important;margin:12px 0 !important}
.hsy-modal.hsy-modal-club .hsy-club-kpi{padding:14px !important;border-radius:18px !important;background:rgba(255,255,255,.78) !important;box-shadow:0 8px 22px rgba(16,24,40,.055);transition:transform .2s ease,box-shadow .2s ease}
.hsy-modal.hsy-modal-club .hsy-club-kpi:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(16,24,40,.09)}
.hsy-club-home-pro{display:flex;flex-direction:column;gap:12px}
.hsy-club-welcome{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:13px;padding:15px 17px;border:1px solid rgba(127,127,127,.12);border-radius:20px;background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(248,250,252,.88));box-shadow:0 9px 28px rgba(16,24,40,.045)}
.hsy-club-welcome-icon{width:52px;height:52px;border-radius:16px;display:flex;align-items:center;justify-content:center;font-size:27px;background:rgba(99,102,241,.10)}
.hsy-club-welcome-main span{font-size:10px;opacity:.55}.hsy-club-welcome-main h3{margin:2px 0 3px;font-size:18px}.hsy-club-welcome-main p{margin:0;font-size:11px;opacity:.65}.hsy-club-welcome-points{text-align:left;padding-right:12px;border-right:1px solid rgba(127,127,127,.13)}.hsy-club-welcome-points small{display:block;font-size:9px;opacity:.55}.hsy-club-welcome-points strong{font-size:22px;display:inline-block;margin-top:2px}.hsy-club-welcome-points em{font-style:normal;margin-right:3px}
.hsy-club-home-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:10px}.hsy-club-level-line{display:flex;align-items:center;gap:10px}.hsy-club-big-level{width:44px;height:44px;border-radius:14px;display:flex;align-items:center;justify-content:center;background:rgba(99,102,241,.10);font-size:22px}.hsy-club-level-line div{flex:1}.hsy-club-level-line b{display:block;font-size:14px}.hsy-club-level-line small{display:block;font-size:10px;opacity:.55;margin-top:3px}.hsy-club-level-line>strong{font-size:15px}.hsy-club-progress-lg{height:9px !important;margin-top:12px !important}.hsy-club-benefits{display:flex;flex-direction:column;gap:8px}.hsy-club-benefits div{font-size:11px;display:flex;align-items:center;gap:7px}.hsy-club-benefits span{width:19px;height:19px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:rgba(34,197,94,.12);font-weight:900}
.hsy-club-home-grid-bottom{grid-template-columns:.9fr 1.1fr}.hsy-club-card-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.hsy-club-link{border:0;background:none;padding:0;font-size:10px;font-weight:800;cursor:pointer;opacity:.7}.hsy-club-mini-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin-top:4px}.hsy-club-mini-stats div{text-align:center;padding:8px 3px;border-radius:12px;background:rgba(127,127,127,.055)}.hsy-club-mini-stats b{display:block;font-size:15px}.hsy-club-mini-stats span{display:block;font-size:9px;opacity:.55;margin-top:2px}
.hsy-club-activity{display:flex;align-items:center;gap:8px;padding:7px 0;border-bottom:1px solid rgba(127,127,127,.08)}.hsy-club-activity:last-child{border-bottom:0}.hsy-club-activity-icon{width:25px;height:25px;border-radius:8px;display:flex;align-items:center;justify-content:center;background:rgba(99,102,241,.09);font-weight:900}.hsy-club-activity-main{flex:1;min-width:0}.hsy-club-activity-main b{display:block;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hsy-club-activity-main small{display:block;font-size:8px;opacity:.5;margin-top:1px}.hsy-club-activity>strong{font-size:10px}.hsy-club-activity .is-plus{color:#16a34a}.hsy-club-activity .is-minus{color:#dc2626}.hsy-club-empty-inline{font-size:10px;opacity:.55;padding:10px 0;text-align:center}
.hsy-club-quick{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.hsy-club-quick-btn{border:1px solid rgba(127,127,127,.12);background:rgba(127,127,127,.035);border-radius:13px;padding:10px 7px;font-size:10px;font-weight:800;cursor:pointer;transition:all .2s}.hsy-club-quick-btn:hover{transform:translateY(-1px);background:rgba(99,102,241,.08);border-color:rgba(99,102,241,.18)}
@media(max-width:700px){.hsy-modal.hsy-modal-club{width:calc(100vw - 16px) !important;max-height:94vh !important;padding:7px !important;border-radius:22px !important}.hsy-modal.hsy-modal-club .hsy-club-pro{max-height:calc(94vh - 14px) !important}.hsy-modal.hsy-modal-club .hsy-club-hero{padding:18px !important}.hsy-modal.hsy-modal-club .hsy-club-title{font-size:23px !important}.hsy-club-welcome{grid-template-columns:auto 1fr}.hsy-club-welcome-points{grid-column:1/-1;text-align:right;border-right:0;border-top:1px solid rgba(127,127,127,.12);padding:9px 0 0}.hsy-club-home-grid,.hsy-club-home-grid-bottom{grid-template-columns:1fr}.hsy-club-quick{grid-template-columns:repeat(2,1fr)}.hsy-club-mini-stats{gap:5px}}

/* Customer Club — Ultra Elite experience */
.hsy-modal.hsy-modal-club{width:min(1040px,calc(100vw - 28px)) !important;max-width:1040px !important;max-height:92vh !important;padding:11px !important;border-radius:30px !important;background:rgba(248,250,252,.98) !important;box-shadow:0 30px 90px rgba(15,23,42,.28) !important}
.hsy-modal.hsy-modal-club .hsy-club-pro{max-height:calc(92vh - 22px) !important;overflow-y:auto !important;padding:4px !important;scrollbar-width:thin}
.hsy-modal.hsy-modal-club .hsy-club-shell{padding:0 2px 14px !important}
.hsy-modal.hsy-modal-club .hsy-club-hero{padding:27px !important;border-radius:25px !important;box-shadow:0 20px 55px rgba(79,70,229,.25) !important}
.hsy-club-commandbar{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 3px 15px}
.hsy-club-member{display:flex;align-items:center;gap:11px;min-width:0}.hsy-club-member-avatar{width:44px;height:44px;border-radius:14px;display:flex;align-items:center;justify-content:center;font-size:19px;font-weight:900;background:linear-gradient(135deg,#eef2ff,#f5f3ff);box-shadow:inset 0 0 0 1px rgba(99,102,241,.12)}.hsy-club-member span{display:block;font-size:9px;opacity:.48;font-weight:800}.hsy-club-member h3{margin:1px 0 2px;font-size:17px;line-height:1.3}.hsy-club-member small{font-size:10px;opacity:.56}.hsy-club-command-actions{display:flex;gap:7px}.hsy-club-command-btn{border:1px solid rgba(99,102,241,.14);background:#fff;border-radius:12px;padding:8px 11px;font-size:10px;font-weight:800;cursor:pointer;box-shadow:0 5px 16px rgba(15,23,42,.045)}
.hsy-club-premium-grid{display:grid;grid-template-columns:.92fr 1.08fr;gap:11px}.hsy-club-premium-home .hsy-club-card{border:1px solid rgba(15,23,42,.07) !important;box-shadow:0 10px 28px rgba(15,23,42,.045) !important;background:rgba(255,255,255,.94) !important}
.hsy-club-balance-card{background:linear-gradient(135deg,#17172b,#29205a) !important;color:#fff !important;overflow:hidden;position:relative}.hsy-club-balance-card:after{content:'';position:absolute;width:150px;height:150px;border-radius:50%;left:-55px;bottom:-75px;border:32px solid rgba(255,255,255,.055)}.hsy-club-balance-card *{position:relative;z-index:1}.hsy-club-card-eyebrow{font-size:9px;opacity:.62}.hsy-club-balance-value{font-size:29px;font-weight:950;line-height:1.15;margin-top:3px}.hsy-club-balance-value small{font-size:10px;font-weight:700;opacity:.6}.hsy-club-balance-icon{width:42px;height:42px;border-radius:14px;background:rgba(255,255,255,.10);display:flex;align-items:center;justify-content:center;font-size:21px}.hsy-club-economy{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:17px}.hsy-club-economy div{padding-top:9px;border-top:1px solid rgba(255,255,255,.10)}.hsy-club-economy span{display:block;font-size:8px;opacity:.5}.hsy-club-economy b{display:block;font-size:11px;margin-top:2px}.hsy-club-economy-bar{height:5px;border-radius:99px;background:rgba(255,255,255,.10);overflow:hidden;margin-top:12px}.hsy-club-economy-bar span{display:block;height:100%;background:rgba(255,255,255,.72);border-radius:99px}
.hsy-club-level-pill{font-size:9px;padding:6px 9px;border-radius:999px;background:rgba(99,102,241,.08);font-weight:800}.hsy-club-level-progress-row{display:flex;align-items:center;gap:15px;margin-top:8px}.hsy-club-ring{width:78px;height:78px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:conic-gradient(#6d5dfc var(--club-pct),#edf0f6 0);position:relative;flex:0 0 auto}.hsy-club-ring:after{content:'';position:absolute;inset:7px;border-radius:50%;background:#fff}.hsy-club-ring>div{position:relative;z-index:1;text-align:center}.hsy-club-ring b{display:block;font-size:16px}.hsy-club-ring small{font-size:7px;opacity:.5}.hsy-club-level-copy{flex:1}.hsy-club-level-copy>b{display:block;font-size:11px}.hsy-club-level-copy>small{display:block;font-size:9px;opacity:.55;line-height:1.7;margin-top:3px}.hsy-club-level-copy .hsy-club-progress-lg{margin-top:9px !important}
.hsy-club-kpi-premium{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin:11px 0}.hsy-club-kpi-premium>div{background:#fff;border:1px solid rgba(15,23,42,.06);border-radius:17px;padding:12px 10px;box-shadow:0 8px 22px rgba(15,23,42,.04)}.hsy-club-kpi-premium span{display:block;font-size:15px}.hsy-club-kpi-premium b{display:block;font-size:17px;margin-top:5px}.hsy-club-kpi-premium small{font-size:8px;opacity:.5}
.hsy-club-premium-two-col{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin-bottom:11px}.hsy-club-card-title{font-size:11px;font-weight:900}.hsy-club-card-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.hsy-club-score{font-size:10px;font-weight:900;padding:5px 8px;border-radius:999px;background:rgba(99,102,241,.08)}.hsy-club-activity-meter{height:9px;background:#eef1f6;border-radius:99px;overflow:hidden;margin:14px 0 12px}.hsy-club-activity-meter>div{height:100%;border-radius:99px;background:linear-gradient(90deg,#6d5dfc,#22c1dc)}.hsy-club-activity-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.hsy-club-activity-grid div{text-align:center;background:#f8fafc;border-radius:11px;padding:8px 3px}.hsy-club-activity-grid b{display:block;font-size:14px}.hsy-club-activity-grid span{font-size:8px;opacity:.5}.hsy-club-insight{margin-top:10px;padding:8px 10px;border-radius:10px;background:rgba(99,102,241,.055);font-size:9px;line-height:1.7}.hsy-club-next-reward{display:flex;align-items:center;gap:9px;margin-top:14px}.hsy-club-next-reward-icon{width:42px;height:42px;border-radius:13px;display:flex;align-items:center;justify-content:center;background:#f6f3ff;font-size:21px}.hsy-club-next-reward>div:nth-child(2){flex:1;min-width:0}.hsy-club-next-reward b{display:block;font-size:11px}.hsy-club-next-reward small{display:block;font-size:8px;opacity:.52;margin-top:3px}.hsy-club-next-reward>strong{font-size:10px;opacity:.65}
.hsy-club-timeline{margin-top:8px}.hsy-club-timeline-item{display:flex;align-items:center;gap:8px;padding:9px 0;border-bottom:1px solid rgba(15,23,42,.06)}.hsy-club-timeline-item:last-child{border-bottom:0}.hsy-club-timeline-dot{width:25px;height:25px;border-radius:9px;display:flex;align-items:center;justify-content:center;font-weight:900;font-size:12px;flex:0 0 auto}.hsy-club-timeline-dot.plus{background:rgba(34,197,94,.10)}.hsy-club-timeline-dot.minus{background:rgba(239,68,68,.09)}.hsy-club-timeline-item .hsy-club-activity-main{flex:1;min-width:0}.hsy-club-timeline-item b{display:block;font-size:9px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hsy-club-timeline-item small{display:block;font-size:7px;opacity:.45;margin-top:2px}.hsy-club-timeline-item>strong{font-size:9px}.premium-benefits{margin-top:11px}.premium-benefits div{padding:6px 0;font-size:10px}.hsy-club-next-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-top:10px}.hsy-club-next-actions .hsy-club-quick-btn{padding:8px 5px}.premium-quick{margin-top:1px}.premium-quick .hsy-club-quick-btn{background:#fff;box-shadow:0 7px 20px rgba(15,23,42,.04)}
@media(max-width:760px){.hsy-modal.hsy-modal-club{width:calc(100vw - 14px) !important;max-height:95vh !important;border-radius:23px !important}.hsy-modal.hsy-modal-club .hsy-club-pro{max-height:calc(95vh - 20px) !important}.hsy-club-premium-grid,.hsy-club-premium-two-col{grid-template-columns:1fr}.hsy-club-kpi-premium{grid-template-columns:repeat(2,1fr)}.hsy-club-commandbar{align-items:flex-start}.hsy-club-command-actions{display:none}.hsy-modal.hsy-modal-club .hsy-club-hero{padding:20px !important}.hsy-modal.hsy-modal-club .hsy-club-title{font-size:25px !important}}

/* Customer Club global theme variables controlled from admin */
.hsy-modal.hsy-modal-club .hsy-club-shell{color:var(--hsy-club-text,#fff)}
.hsy-modal.hsy-modal-club .hsy-club-hero{background:linear-gradient(135deg,var(--hsy-club-hero_start,#17142b),var(--hsy-club-hero_end,#4c3cff));color:var(--hsy-club-text,#fff)}
.hsy-modal.hsy-modal-club .hsy-club-progress-fill{background:linear-gradient(90deg,var(--hsy-club-primary,#7c5cff),var(--hsy-club-accent,#ff5ca8),var(--hsy-club-secondary,#00b8ff))}
.hsy-modal.hsy-modal-club .hsy-club-tab.button-primary{background:color-mix(in srgb,var(--hsy-club-primary,#7c5cff) 16%,transparent)!important;color:var(--hsy-club-primary,#7c5cff)!important}
.hsy-modal.hsy-modal-club .hsy-club-badge,.hsy-modal.hsy-modal-club .hsy-club-reward-icon,.hsy-modal.hsy-modal-club .hsy-club-ref-box,.hsy-modal.hsy-modal-club .hsy-club-rank-avatar{background:color-mix(in srgb,var(--hsy-club-primary,#7c5cff) 11%,transparent)}
.hsy-modal.hsy-modal-club .hsy-club-action.button-primary{background:var(--hsy-club-primary,#7c5cff)!important;border-color:var(--hsy-club-primary,#7c5cff)!important;color:#fff!important}
.hsy-modal.hsy-modal-club .hsy-club-card,.hsy-modal.hsy-modal-club .hsy-club-kpi{background:var(--hsy-club-surface,rgba(127,127,127,.035))}
.hsy-modal.hsy-modal-club .hsy-club-muted,.hsy-modal.hsy-modal-club .hsy-club-sub,.hsy-modal.hsy-modal-club .hsy-club-kpi-label{color:var(--hsy-club-muted,#b8b9c7)}

/* Customer Club: global accent color override */
.hsy-modal.hsy-modal-club[data-club-global-color]{--hsy-club-global:var(--hsy-club-primary,#7c5cff)}
.hsy-modal.hsy-modal-club[data-club-global-color] .hsy-club-progress-fill{background:var(--hsy-club-global)!important}
.hsy-modal.hsy-modal-club[data-club-global-color] .hsy-club-action.button-primary{background:var(--hsy-club-global)!important;border-color:var(--hsy-club-global)!important}
.hsy-modal.hsy-modal-club[data-club-global-color] .hsy-club-tab.button-primary{background:color-mix(in srgb,var(--hsy-club-global) 16%,transparent)!important;color:var(--hsy-club-global)!important}
.hsy-modal.hsy-modal-club[data-club-global-color] .hsy-club-badge,.hsy-modal.hsy-modal-club[data-club-global-color] .hsy-club-reward-icon,.hsy-modal.hsy-modal-club[data-club-global-color] .hsy-club-ref-box,.hsy-modal.hsy-modal-club[data-club-global-color] .hsy-club-rank-avatar{background:color-mix(in srgb,var(--hsy-club-global) 11%,transparent)!important}
.hsy-modal.hsy-modal-club[data-club-global-color] .hsy-club-ring{background:conic-gradient(var(--hsy-club-global) var(--club-pct),#edf0f6 0)!important}
.hsy-modal.hsy-modal-club[data-club-global-color] .hsy-club-activity-meter>div{background:var(--hsy-club-global)!important}
.hsy-modal.hsy-modal-club[data-club-global-color] .hsy-club-score{background:color-mix(in srgb,var(--hsy-club-global) 10%,transparent)!important;color:var(--hsy-club-global)!important}
.hsy-modal.hsy-modal-club[data-club-global-color] .hsy-club-level-pill{background:color-mix(in srgb,var(--hsy-club-global) 10%,transparent)!important;color:var(--hsy-club-global)!important}

/* Customer Club - enforce global branding on the real user modal */
.hsy-modal.hsy-modal-club[data-club-global-color] .hsy-club-shell .hsy-club-progress-fill,
.hsy-modal.hsy-modal-club[data-club-global-color] .hsy-club-shell .hsy-club-activity-meter>div,
.hsy-modal.hsy-modal-club[data-club-global-color] .hsy-club-shell .hsy-club-economy-bar span{background:var(--hsy-club-global)!important}
.hsy-modal.hsy-modal-club[data-club-global-color] .hsy-club-shell .hsy-club-hero{background:linear-gradient(135deg,var(--hsy-club-global),var(--hsy-club-global))!important}
.hsy-modal.hsy-modal-club[data-club-global-color] .hsy-club-shell .hsy-club-action.button-primary,
.hsy-modal.hsy-modal-club[data-club-global-color] .hsy-club-shell .hsy-club-command-btn{background:var(--hsy-club-global)!important;border-color:var(--hsy-club-global)!important;color:#fff!important}
.hsy-modal.hsy-modal-club[data-club-global-color] .hsy-club-shell .hsy-club-tab.button-primary{background:color-mix(in srgb,var(--hsy-club-global) 16%,transparent)!important;color:var(--hsy-club-global)!important}
.hsy-modal.hsy-modal-club[data-club-global-color] .hsy-club-shell .hsy-club-ring{background:conic-gradient(var(--hsy-club-global) var(--club-pct),#edf0f6 0)!important}
.hsy-modal.hsy-modal-club[data-club-global-color] .hsy-club-shell .hsy-club-score,
.hsy-modal.hsy-modal-club[data-club-global-color] .hsy-club-shell .hsy-club-level-pill{color:var(--hsy-club-global)!important}
.hsy-modal.hsy-modal-club[data-club-global-color] .hsy-club-shell .hsy-club-badge,
.hsy-modal.hsy-modal-club[data-club-global-color] .hsy-club-shell .hsy-club-reward-icon,
.hsy-modal.hsy-modal-club[data-club-global-color] .hsy-club-shell .hsy-club-ref-box,
.hsy-modal.hsy-modal-club[data-club-global-color] .hsy-club-shell .hsy-club-rank-avatar{background:color-mix(in srgb,var(--hsy-club-global) 11%,transparent)!important}
.hsy-modal.hsy-modal-club[data-club-text-color] .hsy-club-shell .hsy-club-card,
.hsy-modal.hsy-modal-club[data-club-text-color] .hsy-club-shell .hsy-club-card *{color:var(--hsy-club-text_global)!important}
.hsy-modal.hsy-modal-club[data-club-text-color] .hsy-club-shell .hsy-club-muted,
.hsy-modal.hsy-modal-club[data-club-text-color] .hsy-club-shell .hsy-club-sub,
.hsy-modal.hsy-modal-club[data-club-text-color] .hsy-club-shell .hsy-club-kpi-label{color:var(--hsy-club-text_global)!important;opacity:.72}
.hsy-modal.hsy-modal-club[data-club-global-color] .hsy-club-shell .hsy-club-quick-btn:hover,
.hsy-modal.hsy-modal-club[data-club-global-color] .hsy-club-shell .hsy-club-command-btn:hover{filter:brightness(.94)}

/* Customer Club — final text/color protection */
.hsy-modal.hsy-modal-club[data-club-text-color] .hsy-club-shell .hsy-club-card button,
.hsy-modal.hsy-modal-club[data-club-text-color] .hsy-club-shell .hsy-club-action.button-primary,
.hsy-modal.hsy-modal-club[data-club-text-color] .hsy-club-shell .hsy-club-tab.button-primary,
.hsy-modal.hsy-modal-club[data-club-text-color] .hsy-club-shell .hsy-club-hero,
.hsy-modal.hsy-modal-club[data-club-text-color] .hsy-club-shell .hsy-club-hero * { color:#fff !important; }
.hsy-modal.hsy-modal-club[data-club-text-color] .hsy-club-shell .hsy-club-card,
.hsy-modal.hsy-modal-club[data-club-text-color] .hsy-club-shell .hsy-club-card p,
.hsy-modal.hsy-modal-club[data-club-text-color] .hsy-club-shell .hsy-club-card b,
.hsy-modal.hsy-modal-club[data-club-text-color] .hsy-club-shell .hsy-club-card strong,
.hsy-modal.hsy-modal-club[data-club-text-color] .hsy-club-shell .hsy-club-card-title,
.hsy-modal.hsy-modal-club[data-club-text-color] .hsy-club-shell .hsy-club-rank-name,
.hsy-modal.hsy-modal-club[data-club-text-color] .hsy-club-shell .hsy-club-reward-name { color:var(--hsy-club-text_global)!important; }
.hsy-modal.hsy-modal-club[data-club-text-color] .hsy-club-shell .hsy-club-muted,
.hsy-modal.hsy-modal-club[data-club-text-color] .hsy-club-shell small,
.hsy-modal.hsy-modal-club[data-club-text-color] .hsy-club-shell .hsy-club-card-eyebrow { color:var(--hsy-club-text_global)!important; }

/* Image Generator — global text color */
.hsy-image-generator-panel[data-image-text-color]{--hsy-image-text:var(--hsy-image-text,#1f2937);color:var(--hsy-image-text)!important}
.hsy-image-generator-panel[data-image-text-color] .hsy-image-gen-brand h1,
.hsy-image-generator-panel[data-image-text-color] .hsy-image-gen-form,
.hsy-image-generator-panel[data-image-text-color] .hsy-image-gen-form label,
.hsy-image-generator-panel[data-image-text-color] .hsy-image-gen-control,
.hsy-image-generator-panel[data-image-text-color] .hsy-image-gen-select,
.hsy-image-generator-panel[data-image-text-color] .hsy-image-gen-prompt,
.hsy-image-generator-panel[data-image-text-color] .hsy-image-gen-preset,
.hsy-image-generator-panel[data-image-text-color] .hsy-image-gen-empty strong,
.hsy-image-generator-panel[data-image-text-color] .hsy-image-gen-badge{color:var(--hsy-image-text)!important}
.hsy-image-generator-panel[data-image-text-color] .hsy-image-gen-prompt::placeholder{color:color-mix(in srgb,var(--hsy-image-text) 55%,transparent)!important}
.hsy-image-generator-panel[data-image-text-color] .hsy-image-gen-kicker,
.hsy-image-generator-panel[data-image-text-color] .hsy-image-gen-empty-icon{color:var(--hsy-image-primary)!important}
.hsy-image-generator-panel[data-image-text-color] .hsy-image-gen-submit,
.hsy-image-generator-panel[data-image-text-color] .hsy-image-gen-download,
.hsy-image-generator-panel[data-image-text-color] .hsy-image-gen-copy{color:#fff!important}

/* Subscription billing period selector */
.hsy-billing-toggle{display:flex;gap:6px;align-items:center;justify-content:center;margin:8px auto 20px;padding:5px;background:rgba(127,127,127,.10);border:1px solid var(--border,#e5e7eb);border-radius:14px;width:max-content;max-width:100%;box-sizing:border-box}.hsy-billing-option{border:0;background:transparent;color:var(--text,#111827);padding:10px 26px;border-radius:10px;font-weight:800;cursor:pointer;min-width:110px}.hsy-billing-option.is-active{background:var(--black,#111827);color:var(--white,#fff);box-shadow:0 3px 12px rgba(0,0,0,.12)}.hsy-plan-period{font-weight:700}.hsy-plan-price-box{min-height:78px}.hsy-plan-discount{display:inline-block;margin-inline-start:8px}.hsy-plan-old-price{opacity:.55;margin-inline-start:8px}.hsy-plan-actions{margin-top:14px}
@media(max-width:600px){.hsy-billing-option{min-width:100px;padding:9px 18px}.hsy-billing-toggle{width:100%}.hsy-billing-option{flex:1}}

/* Image Generator — global theme color controls the complete studio surface */
.hsy-image-generator-panel[data-image-theme-color],
.hsy-modal.hsy-modal-image-generator .hsy-image-generator-panel{
  --hsy-image-primary: var(--hsy-image-primary,#6d5dfc);
  --hsy-image-bg: color-mix(in srgb,var(--hsy-image-primary) 4%,#f8fafc);
  --hsy-image-surface: color-mix(in srgb,var(--hsy-image-primary) 2%,#ffffff);
  --hsy-image-surface-strong: color-mix(in srgb,var(--hsy-image-primary) 7%,#ffffff);
  --hsy-image-border: color-mix(in srgb,var(--hsy-image-primary) 16%,#dbe2ea);
  --hsy-image-soft: color-mix(in srgb,var(--hsy-image-primary) 10%,transparent);
  --hsy-image-shadow: color-mix(in srgb,var(--hsy-image-primary) 12%,transparent);
  background:
    radial-gradient(circle at 82% 8%,color-mix(in srgb,var(--hsy-image-primary) 18%,transparent),transparent 31%),
    radial-gradient(circle at 12% 90%,color-mix(in srgb,var(--hsy-image-primary) 10%,transparent),transparent 30%),
    var(--hsy-image-bg)!important;
  color:color-mix(in srgb,var(--hsy-image-primary) 18%,#111827)!important;
}
.hsy-image-generator-panel .hsy-image-gen-head{background:color-mix(in srgb,var(--hsy-image-primary) 4%,rgba(255,255,255,.88))!important;border-bottom-color:var(--hsy-image-border)!important}
.hsy-image-generator-panel .hsy-image-gen-form,
.hsy-image-generator-panel .hsy-image-gen-result,
.hsy-image-generator-panel .hsy-image-gen-card{background:var(--hsy-image-surface)!important;border-color:var(--hsy-image-border)!important;box-shadow:0 18px 50px var(--hsy-image-shadow)!important}
.hsy-image-generator-panel .hsy-image-gen-prompt,
.hsy-image-generator-panel .hsy-image-gen-select,
.hsy-image-generator-panel .hsy-image-gen-input{background:var(--hsy-image-surface-strong)!important;border-color:var(--hsy-image-border)!important}
.hsy-image-generator-panel .hsy-image-gen-prompt:focus,
.hsy-image-generator-panel .hsy-image-gen-select:focus,
.hsy-image-generator-panel .hsy-image-gen-input:focus{border-color:var(--hsy-image-primary)!important;box-shadow:0 0 0 4px var(--hsy-image-soft)!important}
.hsy-image-generator-panel .hsy-image-gen-preset,
.hsy-image-generator-panel .hsy-image-gen-model-option,
.hsy-image-generator-panel .hsy-image-gen-size-option{border-color:var(--hsy-image-border)!important;background:var(--hsy-image-surface)!important}
.hsy-image-generator-panel .hsy-image-gen-preset:hover,
.hsy-image-generator-panel .hsy-image-gen-preset.is-active,
.hsy-image-generator-panel .hsy-image-gen-model-option.is-active,
.hsy-image-generator-panel .hsy-image-gen-size-option.is-active{border-color:var(--hsy-image-primary)!important;background:var(--hsy-image-soft)!important;color:var(--hsy-image-primary)!important}
.hsy-image-generator-panel .hsy-image-gen-submit{background:linear-gradient(135deg,var(--hsy-image-primary),color-mix(in srgb,var(--hsy-image-primary) 72%,#111827))!important;box-shadow:0 14px 30px var(--hsy-image-shadow)!important}
.hsy-image-generator-panel .hsy-image-gen-submit:hover{box-shadow:0 18px 38px color-mix(in srgb,var(--hsy-image-primary) 24%,transparent)!important}
.hsy-image-generator-panel .hsy-image-gen-empty-icon{background:linear-gradient(145deg,var(--hsy-image-soft),color-mix(in srgb,var(--hsy-image-primary) 5%,transparent))!important;border-color:var(--hsy-image-border)!important;color:var(--hsy-image-primary)!important}
.hsy-image-generator-panel .hsy-image-gen-kicker,
.hsy-image-generator-panel .hsy-image-gen-label,
.hsy-image-generator-panel .hsy-image-gen-accent,
.hsy-image-generator-panel .hsy-image-gen-link{color:var(--hsy-image-primary)!important}
.hsy-image-generator-panel .hsy-image-gen-badge{background:var(--hsy-image-soft)!important;border-color:var(--hsy-image-border)!important;color:var(--hsy-image-primary)!important}
.hsy-image-generator-panel .hsy-image-gen-result:before{border-color:color-mix(in srgb,var(--hsy-image-primary) 20%,transparent)!important}
.hsy-image-generator-panel .hsy-image-gen-progress{background:var(--hsy-image-soft)!important}
.hsy-image-generator-panel .hsy-image-gen-progress>div{background:var(--hsy-image-primary)!important}

/* Image Generator — Signature Studio UI refresh */
.hsy-modal.hsy-modal-image-generator{
  background:#070912!important;
  border:1px solid color-mix(in srgb,var(--hsy-image-primary,#6d5dfc) 18%,transparent)!important;
  box-shadow:0 40px 120px rgba(0,0,0,.42),0 0 0 1px rgba(255,255,255,.035) inset!important;
}
.hsy-image-generator-panel{
  isolation:isolate!important;
  background:
    radial-gradient(900px 520px at 88% -8%,color-mix(in srgb,var(--hsy-image-primary) 17%,transparent),transparent 62%),
    radial-gradient(700px 500px at 4% 100%,color-mix(in srgb,var(--hsy-image-primary) 10%,transparent),transparent 62%),
    linear-gradient(145deg,#f9fafc 0%,#f4f6fa 48%,#eef1f7 100%)!important;
}
.hsy-image-generator-panel:after{
  content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;
  background:radial-gradient(circle at 50% 35%,rgba(255,255,255,.7),transparent 42%);
}
.hsy-image-gen-head{
  min-height:108px!important;padding:20px 30px!important;
  background:linear-gradient(180deg,rgba(255,255,255,.92),rgba(255,255,255,.72))!important;
  border-bottom:1px solid color-mix(in srgb,var(--hsy-image-primary) 12%,#dbe2ea)!important;
  box-shadow:0 10px 35px rgba(15,23,42,.055)!important;
}
.hsy-image-gen-brand{position:relative;padding-right:2px}
.hsy-image-gen-kicker{font-size:9px!important;letter-spacing:.19em!important;font-weight:950!important}
.hsy-image-gen-brand h1{font-size:28px!important;line-height:1.25!important;margin:7px 0 4px!important}
.hsy-image-gen-brand p{font-size:11.5px!important;line-height:1.8!important;color:#687386!important}
.hsy-image-gen-head-meta{gap:7px!important}
.hsy-image-gen-badge{padding:8px 12px!important;border-radius:12px!important;font-size:9px!important;font-weight:900!important;background:rgba(255,255,255,.72)!important;box-shadow:0 6px 18px rgba(15,23,42,.045)!important}
.hsy-image-gen-head .hsy-modal-close{width:40px!important;height:40px!important;border-radius:13px!important;background:rgba(15,23,42,.055)!important}
.hsy-image-gen-head .hsy-modal-close:hover{background:color-mix(in srgb,var(--hsy-image-primary) 12%,white)!important;color:var(--hsy-image-primary)!important}
.hsy-image-gen-workspace{
  grid-template-columns:minmax(390px,500px) minmax(0,1fr)!important;
  gap:24px!important;padding:24px 28px 30px!important;
}
.hsy-image-gen-form{
  position:relative!important;overflow:hidden!important;padding:24px!important;border-radius:26px!important;
  background:rgba(255,255,255,.84)!important;
  border:1px solid rgba(255,255,255,.92)!important;
  box-shadow:0 22px 60px rgba(15,23,42,.09),0 1px 0 rgba(255,255,255,.95) inset!important;
}
.hsy-image-gen-form:before{
  content:"";position:absolute;top:0;right:0;left:0;height:4px;
  background:linear-gradient(90deg,var(--hsy-image-primary),color-mix(in srgb,var(--hsy-image-primary) 45%,#00b8ff),#00b8ff);
}
.hsy-image-gen-form>label{font-size:12.5px!important;margin-bottom:10px!important}
.hsy-image-gen-form>label:after{padding:4px 7px;border-radius:7px;background:color-mix(in srgb,var(--hsy-image-primary) 8%,transparent);color:var(--hsy-image-primary)!important;font-size:7.5px!important}
.hsy-image-gen-prompt{
  min-height:205px!important;padding:17px 17px!important;border-radius:19px!important;
  background:rgba(247,248,251,.94)!important;border-color:#e2e7ef!important;
  line-height:2.05!important;font-size:13px!important;
}
.hsy-image-gen-prompt:focus{background:#fff!important;box-shadow:0 0 0 4px color-mix(in srgb,var(--hsy-image-primary) 9%,transparent),0 14px 30px rgba(15,23,42,.06)!important}
.hsy-image-gen-prompt-meta{padding:0 3px!important;font-size:9px!important}
.hsy-image-gen-controls{margin-top:16px!important}
.hsy-image-gen-control{padding:13px 14px!important;border-radius:16px!important;background:rgba(248,250,252,.8)!important;border-color:#e3e8ef!important}
.hsy-image-gen-control span{font-size:9px!important;letter-spacing:.01em}
.hsy-image-gen-select{font-size:11.5px!important;font-weight:900!important}
.hsy-image-gen-credit{display:flex;align-items:center;justify-content:center;gap:8px;margin:8px 0 12px;padding:10px 14px;border:1px solid color-mix(in srgb,var(--hsy-image-primary) 18%,transparent);border-radius:13px;background:color-mix(in srgb,var(--hsy-image-primary) 7%,transparent);color:var(--hsy-image-text,#1f2937);font-size:10px;font-weight:900;box-shadow:0 8px 22px color-mix(in srgb,var(--hsy-image-primary) 7%,transparent)}
.hsy-image-gen-hint{margin:13px 3px 14px!important;padding:9px 11px;border-radius:11px;background:color-mix(in srgb,var(--hsy-image-primary) 5%,transparent);font-size:9px!important;color:#687386!important}
.hsy-image-gen-presets{gap:9px!important;margin-bottom:15px!important}
.hsy-image-gen-preset{min-height:56px!important;padding:10px 11px!important;border-radius:15px!important;background:rgba(255,255,255,.88)!important;border-color:#e5e9f0!important;box-shadow:0 4px 12px rgba(15,23,42,.025)!important}
.hsy-image-gen-preset b{width:33px!important;height:33px!important;border-radius:10px!important;font-size:16px!important;background:color-mix(in srgb,var(--hsy-image-primary) 9%,#fff)!important}
.hsy-image-gen-preset span{font-size:10.5px!important}
.hsy-image-gen-preset:hover{transform:translateY(-3px)!important;box-shadow:0 12px 25px color-mix(in srgb,var(--hsy-image-primary) 9%,transparent)!important}
.hsy-image-gen-submit{
  min-height:56px!important;border-radius:16px!important;font-size:12.5px!important;letter-spacing:-.05px!important;
  background:linear-gradient(135deg,color-mix(in srgb,var(--hsy-image-primary) 78%,#111827),var(--hsy-image-primary) 58%,#00b8ff)!important;
  box-shadow:0 16px 32px color-mix(in srgb,var(--hsy-image-primary) 22%,transparent)!important;
}
.hsy-image-gen-submit:hover{transform:translateY(-3px)!important;box-shadow:0 20px 40px color-mix(in srgb,var(--hsy-image-primary) 27%,transparent)!important}
.hsy-image-gen-submit:disabled{filter:saturate(.75);opacity:.72!important}
.hsy-image-gen-status{min-height:20px!important;margin:10px 0 1px!important;font-weight:800!important}
.hsy-image-gen-result{
  min-height:580px!important;border-radius:26px!important;
  background:linear-gradient(145deg,rgba(255,255,255,.83),rgba(239,242,248,.94))!important;
  border-color:rgba(255,255,255,.9)!important;
  box-shadow:0 22px 60px rgba(15,23,42,.10),0 1px 0 rgba(255,255,255,.9) inset!important;
}
.hsy-image-gen-result:after{
  content:"";position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(circle at 50% 42%,rgba(255,255,255,.8),transparent 48%);
}
.hsy-image-gen-result img{z-index:2!important;max-width:100%;object-fit:contain!important}
.hsy-image-gen-empty{z-index:2!important;gap:10px!important}
.hsy-image-gen-empty-icon{
  width:88px!important;height:88px!important;border-radius:28px!important;font-size:34px!important;
  background:linear-gradient(145deg,color-mix(in srgb,var(--hsy-image-primary) 13%,#fff),rgba(0,184,255,.09))!important;
  box-shadow:0 18px 45px color-mix(in srgb,var(--hsy-image-primary) 12%,transparent)!important;
}
.hsy-image-gen-empty strong{font-size:17px!important}
.hsy-image-gen-empty span{font-size:10.5px!important;line-height:2!important}
.hsy-image-gen-result-actions{z-index:5!important;bottom:18px!important;left:18px!important;right:18px!important;border-radius:17px!important;padding:9px!important;background:rgba(10,13,22,.80)!important;box-shadow:0 12px 30px rgba(0,0,0,.18)!important}
.hsy-image-gen-download,.hsy-image-gen-copy{min-width:115px!important;padding:10px 15px!important;border-radius:11px!important;font-size:10px!important}
.hsy-image-gen-footer-note{margin-top:9px!important;text-align:center!important;font-size:9px!important;color:#7a8494!important}
@media(max-width:1100px){.hsy-image-gen-workspace{grid-template-columns:minmax(330px,430px) minmax(0,1fr)!important;gap:18px!important;padding:18px!important}.hsy-image-gen-form{padding:20px!important}.hsy-image-gen-result{min-height:520px!important}}
@media(max-width:900px){
  .hsy-image-gen-head{min-height:92px!important;padding:16px 18px!important}
  .hsy-image-gen-brand h1{font-size:22px!important}
  .hsy-image-gen-workspace{grid-template-columns:1fr!important;padding:15px!important;gap:15px!important}
  .hsy-image-gen-form{order:1!important}.hsy-image-gen-result{order:2!important;min-height:460px!important}
}
@media(max-width:520px){
  .hsy-image-gen-head{padding:13px 14px!important}.hsy-image-gen-brand h1{font-size:18px!important}.hsy-image-gen-brand p{font-size:9px!important}
  .hsy-image-gen-form{padding:17px!important;border-radius:21px!important}.hsy-image-gen-prompt{min-height:160px!important}
  .hsy-image-gen-result{min-height:340px!important;border-radius:21px!important}.hsy-image-gen-empty-icon{width:72px!important;height:72px!important;border-radius:22px!important;font-size:28px!important}
  .hsy-image-gen-presets{grid-template-columns:1fr!important}.hsy-image-gen-submit{min-height:52px!important}
}

/* ================================================================
   IMAGE GENERATOR — SIGNATURE / ULTRA PREMIUM UI
   ================================================================ */
.hsy-modal.hsy-modal-image-generator{width:min(1640px,98vw)!important;height:min(960px,96vh)!important;border-radius:34px!important;background:#070911!important;box-shadow:0 42px 120px rgba(0,0,0,.48),0 0 0 1px rgba(255,255,255,.08)!important}
.hsy-modal.hsy-modal-image-generator:after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;box-shadow:inset 0 1px 0 rgba(255,255,255,.10);z-index:20}
.hsy-image-generator-panel{isolation:isolate;background:linear-gradient(145deg,#f9fafc 0%,color-mix(in srgb,var(--hsy-image-primary) 3%,#f7f8fb) 48%,#eef1f6 100%)!important;color:var(--hsy-image-text,#182033)!important}
.hsy-image-generator-panel:before{opacity:.52;background-size:28px 28px;mask-image:radial-gradient(circle at 50% 0%,#000 0%,transparent 72%)}
.hsy-image-generator-panel:after{content:"";position:absolute;width:520px;height:520px;right:-190px;top:-250px;border-radius:50%;background:color-mix(in srgb,var(--hsy-image-primary) 13%,transparent);filter:blur(70px);opacity:.6;pointer-events:none;z-index:-1}
.hsy-image-gen-head{min-height:104px;padding:18px 28px 18px 22px;border-bottom:1px solid rgba(20,28,45,.10)!important;background:rgba(255,255,255,.78)!important;box-shadow:0 8px 28px rgba(15,23,42,.05);backdrop-filter:blur(28px)!important;-webkit-backdrop-filter:blur(28px)!important}
.hsy-image-gen-brand{display:flex;flex-direction:column;gap:1px}
.hsy-image-gen-kicker{font-size:9px!important;letter-spacing:.22em!important;font-weight:950!important;text-transform:uppercase;padding:4px 9px;border-radius:999px;background:color-mix(in srgb,var(--hsy-image-primary) 8%,transparent);width:max-content}
.hsy-image-gen-kicker:before{width:6px;height:6px!important;box-shadow:0 0 0 4px color-mix(in srgb,var(--hsy-image-primary) 10%,transparent)!important}
.hsy-image-gen-brand h1{font-size:29px!important;line-height:1.25!important;margin:5px 0 2px!important;letter-spacing:-.055em!important;font-weight:950!important}
.hsy-image-gen-brand p{font-size:11.5px!important;opacity:.72;max-width:720px;line-height:1.8}
.hsy-image-gen-head-meta{gap:7px!important}
.hsy-image-gen-badge{padding:8px 12px!important;border-radius:12px!important;font-size:9px!important;font-weight:900!important;background:rgba(255,255,255,.66)!important;border:1px solid rgba(20,28,45,.09)!important;box-shadow:0 5px 14px rgba(15,23,42,.035)}
.hsy-image-gen-badge:first-child{background:color-mix(in srgb,var(--hsy-image-primary) 9%,#fff)!important;border-color:color-mix(in srgb,var(--hsy-image-primary) 17%,transparent)!important}
.hsy-image-gen-head .hsy-modal-close{width:42px!important;height:42px!important;border-radius:14px!important;border:1px solid rgba(20,28,45,.08)!important;background:rgba(255,255,255,.72)!important;box-shadow:0 7px 18px rgba(15,23,42,.06);font-size:23px!important}
.hsy-image-gen-head .hsy-modal-close:hover{transform:translateY(-2px) rotate(3deg)!important;background:color-mix(in srgb,var(--hsy-image-primary) 10%,#fff)!important}
.hsy-image-gen-workspace{grid-template-columns:minmax(390px,475px) minmax(0,1fr)!important;gap:20px!important;padding:20px!important;scrollbar-width:thin}
.hsy-image-gen-form{padding:23px!important;border-radius:28px!important;border:1px solid rgba(20,28,45,.10)!important;background:rgba(255,255,255,.84)!important;box-shadow:0 24px 70px rgba(15,23,42,.10),0 2px 8px rgba(15,23,42,.04)!important;backdrop-filter:blur(24px)!important;-webkit-backdrop-filter:blur(24px)!important}
.hsy-image-gen-form>label{font-size:12px!important;margin-bottom:10px!important;letter-spacing:-.01em}
.hsy-image-gen-form>label:after{content:var(--hsy-image-prompt-badge,"PROMPT")!important;padding:4px 7px;border-radius:6px;background:color-mix(in srgb,var(--hsy-image-primary) 7%,transparent);color:var(--hsy-image-primary)!important;font-size:7px!important}
.hsy-image-gen-prompt{min-height:205px!important;border:1px solid rgba(20,28,45,.11)!important;border-radius:21px!important;background:linear-gradient(180deg,rgba(249,250,252,.96),rgba(244,246,249,.92))!important;padding:17px 18px!important;font-size:13px!important;line-height:2.05!important;box-shadow:inset 0 1px 2px rgba(15,23,42,.025)!important}
.hsy-image-gen-prompt:focus{border-color:color-mix(in srgb,var(--hsy-image-primary) 62%,#b9c0cc)!important;box-shadow:0 0 0 5px color-mix(in srgb,var(--hsy-image-primary) 9%,transparent),0 12px 30px color-mix(in srgb,var(--hsy-image-primary) 7%,transparent)!important;background:#fff!important}
.hsy-image-gen-prompt-meta{font-size:8.5px!important;margin-top:8px!important;padding:0 3px}
.hsy-image-gen-controls{margin-top:16px!important}
.hsy-image-gen-control{padding:13px 14px!important;border-radius:17px!important;background:rgba(248,250,252,.82)!important;border:1px solid rgba(20,28,45,.09)!important;transition:.2s}
.hsy-image-gen-control:focus-within{border-color:color-mix(in srgb,var(--hsy-image-primary) 30%,transparent);box-shadow:0 0 0 4px color-mix(in srgb,var(--hsy-image-primary) 5%,transparent)}
.hsy-image-gen-control span{font-size:8px!important;letter-spacing:.04em}
.hsy-image-gen-select{font-size:11px!important;font-weight:900!important}
.hsy-image-gen-hint{margin:13px 3px 12px!important;padding:8px 10px;border-radius:10px;background:color-mix(in srgb,var(--hsy-image-primary) 5%,transparent);border:1px solid color-mix(in srgb,var(--hsy-image-primary) 8%,transparent);font-size:8.5px!important}
.hsy-image-gen-presets{grid-template-columns:1fr 1fr!important;gap:9px!important;margin-bottom:15px!important}
.hsy-image-gen-preset{min-height:54px!important;padding:9px 10px!important;border-radius:16px!important;background:rgba(255,255,255,.72)!important;border:1px solid rgba(20,28,45,.09)!important;box-shadow:0 5px 15px rgba(15,23,42,.025);transition:transform .18s,box-shadow .18s,border-color .18s,background .18s!important}
.hsy-image-gen-preset:hover{transform:translateY(-3px)!important;box-shadow:0 12px 26px rgba(15,23,42,.09)!important;background:#fff!important;border-color:color-mix(in srgb,var(--hsy-image-primary) 28%,transparent)!important}
.hsy-image-gen-preset b{width:32px!important;height:32px!important;border-radius:10px!important;background:linear-gradient(145deg,color-mix(in srgb,var(--hsy-image-primary) 12%,#fff),color-mix(in srgb,var(--hsy-image-primary) 4%,#fff))!important;border:1px solid color-mix(in srgb,var(--hsy-image-primary) 10%,transparent);font-size:15px!important;flex:0 0 32px}
.hsy-image-gen-preset span{font-size:9.5px!important;font-weight:900!important}
.hsy-image-gen-submit{min-height:58px!important;border-radius:18px!important;background:linear-gradient(135deg,color-mix(in srgb,var(--hsy-image-primary) 88%,#111827),var(--hsy-image-primary) 58%,color-mix(in srgb,var(--hsy-image-primary) 70%,#00b8ff))!important;box-shadow:0 18px 34px color-mix(in srgb,var(--hsy-image-primary) 23%,transparent),inset 0 1px 0 rgba(255,255,255,.20)!important;font-size:12.5px!important;letter-spacing:-.01em;position:relative;overflow:hidden}
.hsy-image-gen-submit:before{content:"";position:absolute;inset:0;background:linear-gradient(105deg,transparent 25%,rgba(255,255,255,.20) 45%,transparent 65%);transform:translateX(-120%);transition:transform .7s ease}
.hsy-image-gen-submit:hover:before{transform:translateX(120%)}
.hsy-image-gen-submit:hover{transform:translateY(-3px)!important;box-shadow:0 23px 42px color-mix(in srgb,var(--hsy-image-primary) 28%,transparent),inset 0 1px 0 rgba(255,255,255,.22)!important}
.hsy-image-gen-status{min-height:21px!important;margin:9px 0 0!important;font-size:9px!important;font-weight:800}
.hsy-image-gen-result{min-height:590px!important;border-radius:28px!important;border:1px solid rgba(20,28,45,.10)!important;background:linear-gradient(145deg,rgba(255,255,255,.80),rgba(239,242,247,.88))!important;box-shadow:0 24px 70px rgba(15,23,42,.10)!important;overflow:hidden!important}
.hsy-image-gen-result:before{inset:14px!important;border-radius:21px!important;border:1px dashed color-mix(in srgb,var(--hsy-image-primary) 15%,transparent)!important;opacity:.9}
.hsy-image-gen-result:after{content:var(--hsy-image-canvas-label,"AI CANVAS");position:absolute;top:25px;left:27px;z-index:3;font-size:7px;font-weight:950;letter-spacing:.18em;color:var(--muted);padding:6px 9px;border-radius:999px;background:rgba(255,255,255,.78);border:1px solid rgba(20,28,45,.08);backdrop-filter:blur(12px)}
.hsy-image-gen-empty{gap:11px!important;padding:60px 35px!important}
.hsy-image-gen-empty-icon{width:92px!important;height:92px!important;border-radius:29px!important;background:linear-gradient(145deg,color-mix(in srgb,var(--hsy-image-primary) 13%,#fff),rgba(0,184,255,.08))!important;border:1px solid color-mix(in srgb,var(--hsy-image-primary) 18%,transparent)!important;box-shadow:0 18px 40px color-mix(in srgb,var(--hsy-image-primary) 10%,transparent);font-size:34px!important;animation:hsyImageFloat 4s ease-in-out infinite}
.hsy-image-gen-empty strong{font-size:14px!important;font-weight:950!important;letter-spacing:-.02em}
.hsy-image-gen-empty span{font-size:9.5px!important;max-width:310px;line-height:1.9}
.hsy-image-gen-result img{max-width:calc(100% - 32px)!important;max-height:calc(100% - 32px)!important;width:auto!important;height:auto!important;border-radius:20px!important;box-shadow:0 24px 55px rgba(0,0,0,.20);object-fit:contain;background:#111}
.hsy-image-gen-result-actions{position:absolute!important;z-index:5;left:25px;right:25px;bottom:24px;display:flex;justify-content:flex-end;gap:8px;padding:9px;border-radius:15px;background:rgba(255,255,255,.82);border:1px solid rgba(20,28,45,.09);box-shadow:0 12px 30px rgba(15,23,42,.10);backdrop-filter:blur(18px)}
.hsy-image-gen-download,.hsy-image-gen-copy{border-radius:11px!important;padding:8px 12px!important;font-size:9px!important;font-weight:900!important;border:1px solid rgba(20,28,45,.08)!important}
.hsy-image-gen-download{background:var(--hsy-image-primary)!important;color:#fff!important;box-shadow:0 7px 16px color-mix(in srgb,var(--hsy-image-primary) 18%,transparent)}
.hsy-image-gen-copy{background:#fff!important;color:var(--hsy-image-text)!important}
.hsy-image-gen-footer-note{font-size:8px!important;opacity:.62;margin-top:10px;text-align:center;line-height:1.8}
@keyframes hsyImageFloat{0%,100%{transform:translateY(0)}50%{transform:translateY(-6px)}}
@media(max-width:1100px){.hsy-image-gen-workspace{grid-template-columns:minmax(330px,400px) minmax(0,1fr)!important}.hsy-image-gen-form{padding:19px!important}.hsy-image-gen-brand h1{font-size:24px!important}}
@media(max-width:900px){.hsy-modal.hsy-modal-image-generator{width:100%!important;height:100%!important;max-height:100vh!important;border-radius:0!important}.hsy-image-gen-head{padding:16px 18px!important}.hsy-image-gen-head-meta{display:none!important}.hsy-image-gen-workspace{grid-template-columns:1fr!important;padding:14px!important;gap:14px!important}.hsy-image-gen-form{order:1}.hsy-image-gen-result{order:2;min-height:460px!important}.hsy-image-gen-result img{max-width:calc(100% - 22px)!important;max-height:calc(100% - 22px)!important}.hsy-image-gen-result-actions{left:16px;right:16px;bottom:16px}.hsy-image-gen-result:after{top:18px;left:18px}}
@media(max-width:520px){.hsy-image-gen-brand h1{font-size:21px!important}.hsy-image-gen-brand p{font-size:10px!important}.hsy-image-gen-form{padding:16px!important;border-radius:22px!important}.hsy-image-gen-prompt{min-height:175px!important}.hsy-image-gen-presets{grid-template-columns:1fr!important}.hsy-image-gen-result{min-height:390px!important;border-radius:22px!important}}


/* Image Generator — reliable result viewport / local-image friendly */
.hsy-image-gen-result{isolation:isolate!important}
.hsy-image-gen-media{position:relative;z-index:2;width:100%;height:100%;min-height:inherit;display:flex;align-items:center;justify-content:center;padding:34px;box-sizing:border-box}
.hsy-image-gen-media>img{position:relative!important;z-index:2!important;display:block!important;max-width:100%!important;max-height:100%!important;width:auto!important;height:auto!important;min-width:0!important;min-height:0!important;object-fit:contain!important;background:transparent!important;border-radius:20px!important;box-shadow:0 28px 65px rgba(15,23,42,.18)!important}
.hsy-image-gen-image-loader{position:absolute;inset:0;z-index:4;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;background:linear-gradient(145deg,rgba(255,255,255,.94),rgba(245,247,250,.94));backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);font-size:11px;font-weight:900;color:var(--hsy-image-text,#1f2937)}
.hsy-image-gen-spinner{width:34px;height:34px;border:3px solid color-mix(in srgb,var(--hsy-image-primary) 16%,#dbe2ea);border-top-color:var(--hsy-image-primary);border-radius:50%;animation:hsyImageSpin .8s linear infinite}
.hsy-image-gen-image-error{position:relative;z-index:4;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center;padding:30px;max-width:360px;color:var(--hsy-image-text,#1f2937)}
.hsy-image-gen-image-error-icon{font-size:32px}.hsy-image-gen-image-error strong{font-size:15px;font-weight:950}.hsy-image-gen-image-error span{font-size:10px;line-height:1.9;opacity:.7}.hsy-image-gen-open-fallback{display:inline-flex;margin-top:8px;padding:9px 14px;border-radius:11px;background:var(--hsy-image-primary);color:#fff!important;text-decoration:none;font-size:10px;font-weight:900}
@keyframes hsyImageSpin{to{transform:rotate(360deg)}}
@media(max-width:900px){.hsy-image-gen-media{padding:22px}.hsy-image-gen-media>img{max-width:100%!important;max-height:100%!important}}

/* Image Generator — clean result canvas: no overlays/actions over generated image */
.hsy-image-generator-panel .hsy-image-gen-result{
  position:relative!important;
  isolation:isolate!important;
  overflow:hidden!important;
  padding:0!important;
  min-height:590px!important;
  background:#fff!important;
}
.hsy-image-generator-panel .hsy-image-gen-result:before,
.hsy-image-generator-panel .hsy-image-gen-result:after{
  content:none!important;
  display:none!important;
}
.hsy-image-generator-panel .hsy-image-gen-media{
  position:relative!important;
  z-index:1!important;
  width:100%!important;
  min-height:590px!important;
  height:auto!important;
  padding:30px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  box-sizing:border-box!important;
  background:transparent!important;
}
.hsy-image-generator-panel .hsy-image-gen-media>img{
  position:relative!important;
  z-index:2!important;
  display:block!important;
  width:auto!important;
  height:auto!important;
  max-width:100%!important;
  max-height:530px!important;
  min-width:0!important;
  min-height:0!important;
  object-fit:contain!important;
  background:transparent!important;
  border:0!important;
  border-radius:18px!important;
  box-shadow:0 18px 50px rgba(15,23,42,.14)!important;
}
.hsy-image-generator-panel .hsy-image-gen-result-actions{
  display:none!important;
}
.hsy-image-generator-panel .hsy-image-gen-image-error{
  z-index:2!important;
}
@media(max-width:900px){
  .hsy-image-generator-panel .hsy-image-gen-result{min-height:460px!important}
  .hsy-image-generator-panel .hsy-image-gen-media{min-height:460px!important;padding:22px!important}
  .hsy-image-generator-panel .hsy-image-gen-media>img{max-height:410px!important}
}
@media(max-width:520px){
  .hsy-image-generator-panel .hsy-image-gen-result{min-height:390px!important}
  .hsy-image-generator-panel .hsy-image-gen-media{min-height:390px!important;padding:16px!important}
  .hsy-image-generator-panel .hsy-image-gen-media>img{max-height:350px!important;border-radius:14px!important}
}
.hsy-study-panel{width:min(900px,96vw);max-height:90vh;overflow:auto;padding:24px;border-radius:24px;background:var(--hsy-card,#fff);color:var(--hsy-text,#111827);box-shadow:0 30px 90px rgba(0,0,0,.22)}.hsy-study-head{display:flex;justify-content:space-between;gap:20px;align-items:flex-start}.hsy-study-kicker{font-size:11px;letter-spacing:1.5px;font-weight:800;opacity:.55}.hsy-study-head h2{margin:5px 0 6px;font-size:28px}.hsy-study-head p{margin:0;opacity:.7}.hsy-study-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:22px 0}.hsy-study-tab{border:1px solid var(--hsy-border,#e5e7eb);background:transparent;border-radius:13px;padding:10px 13px;cursor:pointer;font-weight:700;color:inherit}.hsy-study-tab.active{background:var(--hsy-btn,#6d5dfc);color:var(--hsy-btn-text,#fff);border-color:transparent}.hsy-study-input{width:100%;resize:vertical;border:1px solid var(--hsy-border,#e5e7eb);border-radius:16px;padding:15px;background:transparent;color:inherit;font:inherit;line-height:1.9}.hsy-study-submit{width:100%;margin-top:14px;padding:13px 18px;border:0;border-radius:14px;background:var(--hsy-btn,#6d5dfc);color:var(--hsy-btn-text,#fff);font-weight:800;cursor:pointer}.hsy-study-submit:disabled{opacity:.6;cursor:wait}.hsy-study-output{margin-top:18px;min-height:170px;white-space:pre-wrap;line-height:2;background:rgba(127,127,127,.07);border:1px solid var(--hsy-border,#e5e7eb);border-radius:16px;padding:18px}@media(max-width:600px){.hsy-study-panel{padding:18px;border-radius:20px}.hsy-study-head h2{font-size:22px}}

/* Study Assistant — full workspace view like Image Generator */
.hsy-modal.hsy-modal-study{max-width:none!important;width:min(1500px,100vw)!important;height:min(920px,100vh)!important;max-height:96vh!important;padding:0!important;border-radius:30px!important;overflow:hidden!important;box-sizing:border-box!important}
.hsy-modal.hsy-modal-study .hsy-study-panel{width:100%!important;max-width:none!important;height:100%!important;max-height:none!important;min-height:0!important;box-sizing:border-box!important;overflow:auto!important;border-radius:0!important;padding:30px 34px!important}
.hsy-modal.hsy-modal-study .hsy-study-output{min-height:260px}
@media(max-width:900px){.hsy-modal.hsy-modal-study{width:100vw!important;height:100vh!important;max-height:100vh!important;border-radius:0!important}.hsy-modal.hsy-modal-study .hsy-study-panel{padding:22px 18px!important}}

@media(max-width:700px){.hsy-current-plan-card{grid-template-columns:1fr 1fr;margin-left:0;margin-right:0;padding:13px}.hsy-current-plan-main{grid-column:1/-1}.hsy-current-plan-card .hsy-btn{grid-column:1/-1;width:100%;min-height:42px}}
@media(max-width:430px){.hsy-current-plan-card{grid-template-columns:1fr}.hsy-current-plan-main,.hsy-current-plan-card .hsy-btn{grid-column:auto}.hsy-current-plan-card .hsy-btn{width:100%}}

.hsy-subscription-tabs{display:flex;gap:8px;margin:14px 0 4px;padding:5px;border:1px solid var(--border);border-radius:15px;background:rgba(255,255,255,.035)}
.hsy-subscription-tab{flex:1;border:0;border-radius:11px;padding:10px 12px;background:transparent;color:var(--muted);font:inherit;font-size:12px;font-weight:850;cursor:pointer}
.hsy-subscription-tab.is-active{background:var(--surface);color:var(--text);box-shadow:0 4px 14px rgba(0,0,0,.08)}
.hsy-finance-view{padding-top:12px}.hsy-finance-hero{padding:18px;border-radius:18px;background:linear-gradient(135deg,rgba(79,70,229,.16),rgba(34,197,94,.10));border:1px solid rgba(99,102,241,.18);display:flex;align-items:center;justify-content:space-between;gap:14px}.hsy-finance-hero-label{font-size:12px;color:var(--muted);font-weight:800}.hsy-finance-balance{font-size:24px}.hsy-finance-hero-note{font-size:11px;color:var(--muted)}
.hsy-finance-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:12px 0}.hsy-finance-stat{padding:13px;border:1px solid var(--border);border-radius:15px;background:var(--surface);display:flex;flex-direction:column;gap:4px}.hsy-finance-stat strong{font-size:15px}.hsy-finance-stat span{font-size:10px;color:var(--muted)}
.hsy-finance-section{margin-top:12px;border:1px solid var(--border);border-radius:16px;overflow:hidden;background:var(--surface)}.hsy-finance-section h3{margin:0;padding:13px 15px;border-bottom:1px solid var(--border);font-size:13px}.hsy-finance-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 15px;border-bottom:1px solid var(--border)}.hsy-finance-row:last-child{border-bottom:0}.hsy-finance-row-main,.hsy-finance-row-side{display:flex;flex-direction:column;gap:4px}.hsy-finance-row-main strong,.hsy-finance-row-side strong{font-size:12px}.hsy-finance-row-main span,.hsy-finance-row-side small{font-size:10px;color:var(--muted)}.hsy-finance-status{font-size:10px;padding:3px 7px;border-radius:999px;background:rgba(34,197,94,.10);color:#22c55e}.status-rejected,.status-failed{background:rgba(239,68,68,.10);color:#ef4444}.status-pending,.status-pending_manual{background:rgba(245,158,11,.10);color:#f59e0b}.hsy-finance-empty,.hsy-finance-loading{padding:24px;text-align:center;color:var(--muted);font-size:12px}.hsy-finance-row-side{text-align:left;align-items:flex-start}
@media(max-width:560px){.hsy-finance-stats{grid-template-columns:1fr}.hsy-finance-hero{align-items:flex-start;flex-direction:column}.hsy-finance-row{align-items:flex-start;flex-direction:column}.hsy-finance-row-side{text-align:right;align-items:flex-start}.hsy-subscription-tab{font-size:11px}}

.hsy-subscription-tab{position:relative;gap:5px}.hsy-subscription-tab-label{display:inline-flex;align-items:center;margin-right:7px;padding:3px 8px;border-radius:999px;font-size:10px;font-weight:800;line-height:1;background:var(--hsy-tab-label-color,#4f46e5);color:#fff;opacity:.95}.hsy-subscription-tab.is-active .hsy-subscription-tab-label{opacity:1}
.hsy-custom-tab-content{white-space:pre-wrap;line-height:2;font-size:15px;color:inherit;padding:4px 0}.hsy-custom-subscription-tab-view .hsy-finance-section{margin-top:8px}

.hsy-subscription-tab-icon{width:20px;height:20px;object-fit:contain;display:inline-block;vertical-align:middle;margin-left:5px;border-radius:5px}.hsy-subscription-tab{display:inline-flex;align-items:center;justify-content:center}

@media(max-width:900px){
  .hsy-current-plan-card{grid-template-columns:1fr auto;align-items:start}
  .hsy-current-plan-details{grid-column:1/-1;grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:560px){
  .hsy-current-plan-card{grid-template-columns:1fr}
  .hsy-current-plan-details{grid-column:auto;grid-template-columns:repeat(2,minmax(0,1fr))}
  .hsy-current-plan-card .hsy-btn{width:100%}
}

/* v7.5.6 — Mobile subscription/upgrade layout fix */
html,body{overflow-x:hidden}
@media (max-width: 560px){
  .hsy-modal.hsy-modal-plans{
    width:calc(100vw - 12px)!important;
    max-width:calc(100vw - 12px)!important;
    max-height:calc(100dvh - 12px)!important;
    margin:6px!important;
    padding:12px!important;
    box-sizing:border-box!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    border-radius:18px!important;
  }
  .hsy-modal.hsy-modal-plans .hsy-plans-panel,
  .hsy-modal.hsy-modal-plans .hsy-plans-modal-head,
  .hsy-modal.hsy-modal-plans .hsy-plans-modal-copy,
  .hsy-modal.hsy-modal-plans .hsy-plans,
  .hsy-modal.hsy-modal-plans .hsy-plan{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
  .hsy-modal.hsy-modal-plans .hsy-plans-modal-head{
    display:block!important;
    padding:2px 2px 13px!important;
  }
  .hsy-modal.hsy-modal-plans .hsy-plans-modal-copy{text-align:right!important}
  .hsy-modal.hsy-modal-plans .hsy-plans-modal-copy h2{
    font-size:20px!important;line-height:1.6!important;
    overflow-wrap:anywhere!important;word-break:normal!important;
  }
  .hsy-modal.hsy-modal-plans .hsy-plans-modal-copy p{
    font-size:11px!important;line-height:1.8!important;overflow-wrap:anywhere!important;
  }
  .hsy-modal.hsy-modal-plans .hsy-plans-current{
    display:flex!important;width:100%!important;box-sizing:border-box!important;
    margin:11px 0 0!important;padding:9px 10px!important;
    font-size:11px!important;line-height:1.8!important;
    overflow-wrap:anywhere!important;
  }
  .hsy-modal.hsy-modal-plans .hsy-plans{
    display:flex!important;flex-direction:column!important;
    gap:10px!important;margin-top:12px!important;
  }
  .hsy-modal.hsy-modal-plans .hsy-plan{
    display:flex!important;flex-direction:column!important;
    align-items:stretch!important;gap:9px!important;
    padding:15px 13px!important;margin:0!important;
    border-radius:16px!important;
  }
  .hsy-modal.hsy-modal-plans .hsy-plan-top{
    display:flex!important;flex-direction:row!important;
    align-items:center!important;justify-content:space-between!important;
    gap:8px!important;min-height:0!important;width:100%!important;
  }
  .hsy-modal.hsy-modal-plans .hsy-plan-title-wrap{min-width:0!important;flex:1 1 auto!important}
  .hsy-modal.hsy-modal-plans .hsy-plan h3{
    font-size:18px!important;line-height:1.5!important;margin:0 0 3px!important;
    overflow-wrap:anywhere!important;
  }
  .hsy-modal.hsy-modal-plans .hsy-plan-badge{
    max-width:42%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;
  }
  .hsy-modal.hsy-modal-plans .hsy-plan-price-box{
    display:flex!important;flex-wrap:wrap!important;align-items:center!important;
    width:100%!important;box-sizing:border-box!important;margin:0!important;padding:11px 10px!important;
  }
  .hsy-modal.hsy-modal-plans .hsy-plan-price-line{max-width:100%!important;flex-wrap:wrap!important}
  .hsy-modal.hsy-modal-plans .hsy-plan-price{font-size:27px!important;max-width:100%!important}
  .hsy-modal.hsy-modal-plans .hsy-plan-period{margin-right:auto!important}
  .hsy-modal.hsy-modal-plans .hsy-plan-limit{
    display:flex!important;width:100%!important;box-sizing:border-box!important;
    margin:0!important;padding:8px 9px!important;font-size:10.5px!important;
  }
  .hsy-modal.hsy-modal-plans .hsy-plan-features{
    display:flex!important;width:100%!important;max-height:none!important;
    overflow:visible!important;margin:0!important;padding:0!important;
  }
  .hsy-modal.hsy-modal-plans .hsy-plan-features li{
    min-height:30px!important;padding:6px 0!important;font-size:10.5px!important;
    line-height:1.7!important;overflow-wrap:anywhere!important;
  }
  .hsy-modal.hsy-modal-plans .hsy-plan-actions{
    display:grid!important;width:100%!important;grid-template-columns:1fr!important;
    gap:7px!important;margin:0!important;
  }
  .hsy-modal.hsy-modal-plans .hsy-plan-actions .hsy-plan-btn{
    width:100%!important;min-width:0!important;min-height:44px!important;
    box-sizing:border-box!important;font-size:11.5px!important;
  }
  .hsy-modal.hsy-modal-plans .hsy-plan:after{display:none!important}

  /* Account > subscription / upgrade card */
  .hsy-modal.hsy-modal-account .hsy-current-plan-card{
    display:flex!important;flex-direction:column!important;align-items:stretch!important;
    gap:10px!important;width:auto!important;margin:0 0 10px!important;
    padding:12px!important;box-sizing:border-box!important;border-radius:14px!important;
  }
  .hsy-modal.hsy-modal-account .hsy-current-plan-main{width:100%!important}
  .hsy-modal.hsy-modal-account .hsy-current-plan-meta{width:100%!important}
  .hsy-modal.hsy-modal-account .hsy-current-plan-details{
    display:grid!important;grid-template-columns:1fr 1fr!important;gap:7px!important;width:100%!important;
  }
  .hsy-modal.hsy-modal-account .hsy-current-plan-detail{
    min-width:0!important;padding:8px!important;box-sizing:border-box!important;
  }
  .hsy-modal.hsy-modal-account .hsy-current-plan-detail strong{
    white-space:normal!important;overflow-wrap:anywhere!important;line-height:1.7!important;
  }
  .hsy-modal.hsy-modal-account .hsy-current-plan-card .hsy-btn{
    width:100%!important;white-space:normal!important;min-height:42px!important;
  }
  .hsy-modal.hsy-modal-account .hsy-account-subscription{
    grid-template-columns:1fr!important;gap:8px!important;width:100%!important;
    box-sizing:border-box!important;padding:11px!important;
  }
  .hsy-modal.hsy-modal-account .hsy-account-subscription .hsy-btn{
    grid-column:auto!important;width:100%!important;
  }
}


/* v7.5.22 - Sidebar behavior matched to reference recording. */
.hsy-sidebar-brand{position:relative;display:flex;align-items:center;justify-content:space-between;gap:10px;min-height:48px;padding:2px 2px 10px}
.hsy-sidebar-logo{width:auto;max-width:132px;height:38px;border-radius:9px;object-fit:contain;object-position:right center;display:block;flex:0 1 auto;cursor:pointer}
.hsy-sidebar-logo-fallback{width:38px;height:38px;border-radius:10px;display:flex;align-items:center;justify-content:center;background:var(--black);color:var(--white);font-size:19px;font-weight:800;flex:0 0 auto;cursor:pointer}
.hsy-sidebar-toggle{background:var(--field-bg);color:var(--text);border:1px solid var(--border);width:34px;height:34px;border-radius:10px;display:flex;align-items:center;justify-content:center;flex:0 0 auto;cursor:pointer;transition:opacity .16s ease,background-color .18s ease,border-color .18s ease,transform .18s ease,box-shadow .18s ease;z-index:3}
.hsy-sidebar-toggle svg{width:18px;height:18px}
.hsy-sidebar-toggle:hover{background:var(--hover);border-color:var(--text-soft);transform:translateY(-1px);box-shadow:0 5px 14px rgba(0,0,0,.12)}
.hsy-shell.sidebar-collapsed .hsy-sidebar{width:72px}
.hsy-shell.sidebar-collapsed .hsy-sidebar-brand{justify-content:center;gap:0;padding:2px 0 10px;min-height:48px}
.hsy-shell.sidebar-collapsed .hsy-sidebar-logo,.hsy-shell.sidebar-collapsed .hsy-sidebar-logo-fallback{width:38px;height:38px;border-radius:10px;display:flex!important;flex:0 0 38px}
/* In compact mode the logo stays visible; the expand icon appears over it on hover, like the reference. */
.hsy-shell.sidebar-collapsed .hsy-sidebar-toggle{position:absolute;inset:2px auto auto 50%;transform:translateX(-50%);margin:0;width:38px;height:38px;opacity:0;pointer-events:none;border-radius:10px}
.hsy-shell.sidebar-collapsed .hsy-sidebar-brand:hover .hsy-sidebar-toggle,.hsy-shell.sidebar-collapsed .hsy-sidebar-toggle:focus-visible{opacity:1;pointer-events:auto;transform:translateX(-50%)}
.hsy-shell.sidebar-collapsed .hsy-sidebar-brand:hover .hsy-sidebar-logo,.hsy-shell.sidebar-collapsed .hsy-sidebar-brand:hover .hsy-sidebar-logo-fallback{filter:brightness(.55)}
.hsy-shell.sidebar-collapsed .hsy-sidebar-top{padding:12px 8px}
/* Smooth icon-first menu animation. The sidebar stays mounted, so opening/
   closing it never rebuilds the page or causes a refresh-like flash. */
.hsy-side-link-title,.hsy-side-link-badge{opacity:1;transform:translateX(0);max-width:220px;overflow:hidden;white-space:nowrap;transition:opacity .22s ease,transform .30s cubic-bezier(.22,1,.36,1),max-width .30s cubic-bezier(.22,1,.36,1),margin .30s ease}
.hsy-side-icon{display:flex;align-items:center;justify-content:center;flex:0 0 18px;transition:transform .30s cubic-bezier(.22,1,.36,1)}
.hsy-shell.sidebar-collapsed .hsy-new-btn{opacity:0;transform:translateX(14px) scale(.96);pointer-events:none;max-height:0;margin:0;padding-top:0;padding-bottom:0;overflow:hidden;transition:opacity .20s ease,transform .25s ease,max-height .28s ease,margin .28s ease,padding .28s ease}
.hsy-shell:not(.sidebar-collapsed) .hsy-new-btn{opacity:1;transform:none;max-height:80px;pointer-events:auto}
.hsy-shell.sidebar-collapsed .hsy-new-btn-label{opacity:0;max-width:0;transform:translateX(10px)}
.hsy-shell.sidebar-collapsed .hsy-side-link-title,.hsy-shell.sidebar-collapsed .hsy-side-link-badge{opacity:0;transform:translateX(14px);max-width:0;pointer-events:none}
.hsy-shell.sidebar-collapsed .hsy-side-link{justify-content:center;gap:0;padding:10px 7px;position:relative}
.hsy-shell.sidebar-collapsed .hsy-side-icon{margin:0;transform:scale(1.03)}
.hsy-shell.sidebar-collapsed .hsy-sidebar-bottom{padding:8px}
.hsy-shell.sidebar-collapsed .hsy-conv-list{opacity:0;transform:translateX(10px);pointer-events:none;visibility:hidden;flex:0 0 0;max-height:0;padding-top:0;padding-bottom:0;margin:0;transition:opacity .18s ease,transform .24s ease,flex-basis .28s ease,max-height .28s ease,padding .28s ease,visibility 0s linear .28s;overflow:hidden}
.hsy-shell:not(.sidebar-collapsed) .hsy-conv-list{opacity:1;transform:none;pointer-events:auto;visibility:visible;flex:1 1 auto;max-height:2000px;transition:opacity .24s ease,transform .24s ease,flex-basis .28s ease,max-height .28s ease,padding .28s ease,visibility 0s linear 0s}
@media(min-width:701px){.hsy-shell.sidebar-collapsed .hsy-main{min-width:0}.hsy-sidebar{overflow:hidden}.hsy-side-link{gap:9px;padding:9px 10px;font-size:12.5px;min-height:38px}.hsy-sidebar-bottom{padding:8px}}
@media(max-width:700px){
  .hsy-sidebar-brand{display:none}
  .hsy-shell.sidebar-collapsed .hsy-sidebar{width:270px}
  .hsy-shell.sidebar-collapsed .hsy-sidebar-brand{display:none}
  .hsy-shell.sidebar-collapsed .hsy-new-btn-label,.hsy-shell.sidebar-collapsed .hsy-side-link-title,.hsy-shell.sidebar-collapsed .hsy-side-link-badge{display:inline!important}
  .hsy-shell.sidebar-collapsed .hsy-sidebar-top{padding:12px}
  .hsy-shell.sidebar-collapsed .hsy-new-btn{justify-content:space-between;padding:12px 14px;width:auto;height:auto}
  .hsy-shell.sidebar-collapsed .hsy-side-link{justify-content:flex-start;padding:11px 12px}
  .hsy-shell.sidebar-collapsed .hsy-sidebar-bottom{padding:10px}
}


/* v7.5.34 - perfectly aligned compact sidebar icons. */
@media(min-width:701px){
  .hsy-shell.sidebar-collapsed .hsy-sidebar-bottom{padding:8px 6px;display:flex;flex-direction:column;gap:4px;align-items:stretch}
  .hsy-shell.sidebar-collapsed .hsy-side-link{width:60px;height:42px;min-height:42px;max-height:42px;margin:0 auto;padding:0!important;display:flex;align-items:center;justify-content:center!important;gap:0!important;border-radius:10px;transform:none!important;overflow:hidden;box-sizing:border-box}
  .hsy-shell.sidebar-collapsed .hsy-side-link::after{display:none}
  .hsy-shell.sidebar-collapsed .hsy-side-icon{width:20px;height:20px;min-width:20px;flex:0 0 20px;margin:0!important;display:flex;align-items:center;justify-content:center;transform:none!important}
  .hsy-shell.sidebar-collapsed .hsy-side-icon svg,.hsy-shell.sidebar-collapsed .hsy-side-icon img{width:18px!important;height:18px!important;display:block;object-fit:contain}
  .hsy-shell.sidebar-collapsed .hsy-side-link-title,.hsy-shell.sidebar-collapsed .hsy-side-link-badge{display:none!important}
  .hsy-shell.sidebar-collapsed .hsy-sidebar-bottom .hsy-side-link:nth-child(n){animation:none!important}
}

/* v7.5.35 - mobile sidebar animation without repaint/rebuild. */
@media(max-width:700px){
  .hsy-sidebar{
    position:fixed!important;top:0;right:0;bottom:0;z-index:1100!important;
    width:270px!important;margin-right:0!important;
    transform:translate3d(105%,0,0)!important;opacity:0!important;
    visibility:hidden;pointer-events:none;
    will-change:transform,opacity;
    transition:transform .34s cubic-bezier(.22,1,.36,1),opacity .22s ease,box-shadow .34s ease,visibility 0s linear .34s!important;
  }
  .hsy-shell.sidebar-open .hsy-sidebar{
    transform:translate3d(0,0,0)!important;opacity:1!important;
    visibility:visible;pointer-events:auto;
    box-shadow:-12px 0 36px rgba(0,0,0,.20);
    transition:transform .34s cubic-bezier(.22,1,.36,1),opacity .22s ease,box-shadow .34s ease,visibility 0s linear 0s!important;
  }
  .hsy-backdrop{
    display:block!important;position:fixed!important;inset:0!important;z-index:1050!important;
    background:rgba(0,0,0,.42)!important;opacity:0!important;visibility:hidden!important;pointer-events:none!important;
    transition:opacity .28s ease,visibility 0s linear .28s!important;
  }
  .hsy-shell.sidebar-open .hsy-backdrop{
    opacity:1!important;visibility:visible!important;pointer-events:auto!important;
    transition:opacity .28s ease,visibility 0s linear 0s!important;
  }
  .hsy-shell.sidebar-collapsed .hsy-sidebar{width:270px!important}
  .hsy-shell.sidebar-collapsed .hsy-sidebar-brand{display:none!important}
}
@media(prefers-reduced-motion:reduce){
  .hsy-sidebar,.hsy-backdrop{transition:none!important}
}

/* v7.5.39 - Developer Platform Pro */
.hsy-modal.hsy-modal-developer .hsy-dev-tabs{display:flex;gap:7px;overflow:auto;padding:6px 0 12px;position:sticky;top:61px;z-index:4;background:var(--panel-bg);border-bottom:1px solid var(--border)}
.hsy-modal.hsy-modal-developer .hsy-dev-tab{border:1px solid var(--border);background:var(--field-bg);color:inherit;border-radius:13px;padding:10px 15px;display:inline-flex;align-items:center;gap:7px;white-space:nowrap;cursor:pointer;font-weight:700;transition:.18s ease}
.hsy-modal.hsy-modal-developer .hsy-dev-tab:hover,.hsy-modal.hsy-modal-developer .hsy-dev-tab.active{background:var(--hsy-accent,#6d5dfc);color:#fff;border-color:transparent;transform:translateY(-1px)}
.hsy-modal.hsy-modal-developer .hsy-dev-tab-body{padding-top:4px}.hsy-dev-usage-row{display:grid;grid-template-columns:1fr auto auto;gap:12px;align-items:center;padding:12px 0;border-bottom:1px solid var(--border)}.hsy-dev-usage-row:last-child{border-bottom:0}.hsy-dev-usage-row b{font-size:12px}.hsy-dev-play-grid{display:grid;gap:12px}.hsy-dev-playground-input{min-height:150px;resize:vertical}.hsy-dev-run{width:max-content;min-width:180px}.hsy-dev-playground-result{min-height:160px;white-space:pre-wrap;direction:rtl;text-align:right}.hsy-dev-log-table{overflow:auto}.hsy-dev-log-row{display:grid;grid-template-columns:70px 1fr 90px 100px 150px;gap:10px;align-items:center;padding:12px;border-bottom:1px solid var(--border);min-width:650px}.hsy-dev-log-row code{direction:ltr}.hsy-dev-log-row small{opacity:.65}
@media(max-width:700px){.hsy-modal.hsy-modal-developer .hsy-dev-tabs{top:54px}.hsy-modal.hsy-modal-developer .hsy-dev-tab{padding:9px 11px;font-size:11px}.hsy-dev-usage-row{grid-template-columns:1fr auto;}.hsy-dev-usage-row b{grid-column:2}.hsy-dev-run{width:100%}}


/* v7.5.40 - Developer Platform visual redesign */
.hsy-modal.hsy-modal-developer{
  --hsy-dev-accent:var(--hsy-accent,#6d5dfc);
  --hsy-dev-accent-2:#8b5cf6;
  --hsy-dev-shadow:0 30px 90px rgba(17,24,39,.20);
  background:rgba(8,12,25,.42)!important;
  backdrop-filter:blur(14px)!important;
  -webkit-backdrop-filter:blur(14px)!important;
}
.hsy-modal.hsy-modal-developer>.hsy-developer-panel{
  position:relative;overflow-x:hidden!important;border:1px solid color-mix(in srgb,var(--border) 75%,transparent);
  border-radius:28px!important;box-shadow:var(--hsy-dev-shadow)!important;
  background:var(--panel-bg);isolation:isolate;
}
.hsy-modal.hsy-modal-developer .hsy-modal-head{
  padding:18px 18px 16px!important;margin:0!important;border-bottom:0!important;
  background:linear-gradient(180deg,var(--panel-bg),color-mix(in srgb,var(--panel-bg) 92%,transparent))!important;
}
.hsy-modal.hsy-modal-developer .hsy-modal-head h2{font-size:24px!important;letter-spacing:-.4px}
.hsy-modal.hsy-modal-developer .hsy-modal-close{width:42px;height:42px;border-radius:14px;border:1px solid var(--border);background:var(--field-bg);transition:.2s ease}
.hsy-modal.hsy-modal-developer .hsy-modal-close:hover{transform:rotate(4deg) scale(1.04);background:var(--hover)}
.hsy-modal.hsy-modal-developer .hsy-dev-tabs{
  margin:0 2px 14px!important;padding:7px!important;gap:6px!important;top:0!important;
  border:1px solid var(--border)!important;border-radius:17px;background:color-mix(in srgb,var(--field-bg) 88%,transparent)!important;
  box-shadow:0 8px 24px rgba(0,0,0,.045);scrollbar-width:none;
}
.hsy-modal.hsy-modal-developer .hsy-dev-tabs::-webkit-scrollbar{display:none}
.hsy-modal.hsy-modal-developer .hsy-dev-tab{flex:1;justify-content:center;min-height:43px;border:0!important;border-radius:12px!important;background:transparent!important;color:var(--muted);font-size:12px;position:relative}
.hsy-modal.hsy-modal-developer .hsy-dev-tab:hover{background:var(--hover)!important;color:var(--text);transform:none!important}
.hsy-modal.hsy-modal-developer .hsy-dev-tab.active{background:var(--hsy-dev-accent)!important;color:#fff!important;box-shadow:0 7px 18px color-mix(in srgb,var(--hsy-dev-accent) 28%,transparent);transform:none!important}
.hsy-dev-hero{position:relative;overflow:hidden;display:flex;align-items:center;min-height:180px;padding:28px;border-radius:24px;margin:0 0 14px;background:linear-gradient(135deg,#171326 0%,#251b45 52%,#31215c 100%);color:#fff;box-shadow:0 18px 42px rgba(38,22,83,.22)}
.hsy-dev-hero-glow{position:absolute;width:260px;height:260px;left:-90px;bottom:-145px;border-radius:50%;background:radial-gradient(circle,rgba(167,139,250,.5),transparent 68%);filter:blur(4px);pointer-events:none}
.hsy-dev-hero-glow:after{content:'';position:absolute;width:190px;height:190px;right:-600px;top:-80px;border-radius:50%;background:radial-gradient(circle,rgba(96,165,250,.36),transparent 70%)}
.hsy-dev-hero-content{position:relative;z-index:1;max-width:680px}
.hsy-dev-eyebrow{display:inline-flex;align-items:center;gap:7px;padding:6px 10px;border:1px solid rgba(255,255,255,.14);border-radius:999px;background:rgba(255,255,255,.08);font-size:9px;letter-spacing:1.2px;font-weight:800;color:#ddd6fe}
.hsy-dev-live-dot{width:7px;height:7px;border-radius:50%;background:#86efac;box-shadow:0 0 0 4px rgba(134,239,172,.12),0 0 12px rgba(134,239,172,.65)}
.hsy-dev-hero h3{font-size:27px;line-height:1.3;margin:14px 0 6px;letter-spacing:-.6px}
.hsy-dev-hero p{margin:0;max-width:620px;color:rgba(255,255,255,.72);font-size:12px;line-height:2}
.hsy-dev-hero-chips{display:flex;gap:7px;flex-wrap:wrap;margin-top:15px}.hsy-dev-hero-chips span{padding:6px 9px;border-radius:9px;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.09);font-size:10px;color:rgba(255,255,255,.84)}
.hsy-modal.hsy-modal-developer .hsy-dev-head{grid-template-columns:minmax(250px,.8fr) minmax(0,1.7fr);gap:14px;margin:0 0 14px}
.hsy-modal.hsy-modal-developer .hsy-dev-balance{position:relative;overflow:hidden;min-height:155px;padding:24px;border:0;background:linear-gradient(145deg,var(--hsy-dev-accent),var(--hsy-dev-accent-2))!important;color:#fff;box-shadow:0 18px 34px color-mix(in srgb,var(--hsy-dev-accent) 24%,transparent)}
.hsy-modal.hsy-modal-developer .hsy-dev-balance:after{content:'';position:absolute;width:150px;height:150px;left:-55px;bottom:-80px;border-radius:50%;background:rgba(255,255,255,.11)}
.hsy-modal.hsy-modal-developer .hsy-dev-balance small,.hsy-modal.hsy-modal-developer .hsy-dev-balance span{color:rgba(255,255,255,.72)!important;position:relative;z-index:1}
.hsy-modal.hsy-modal-developer .hsy-dev-balance strong{font-size:39px!important;margin:7px 0;position:relative;z-index:1}
.hsy-modal.hsy-modal-developer .hsy-dev-note{border:1px solid var(--border);background:var(--field-bg);border-radius:20px;box-shadow:0 8px 24px rgba(0,0,0,.04);font-size:13px;line-height:2}
.hsy-modal.hsy-modal-developer .hsy-dev-dashboard-stats{grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin:0 0 14px}
.hsy-modal.hsy-modal-developer .hsy-dev-stat-card{position:relative;overflow:hidden;padding:16px;border-radius:17px;border:1px solid var(--border);background:var(--field-bg);box-shadow:0 7px 20px rgba(0,0,0,.035);transition:.2s ease}
.hsy-modal.hsy-modal-developer .hsy-dev-stat-card:hover{transform:translateY(-2px);border-color:color-mix(in srgb,var(--hsy-dev-accent) 38%,var(--border));box-shadow:0 12px 28px rgba(0,0,0,.07)}
.hsy-modal.hsy-modal-developer .hsy-dev-stat-icon{width:32px;height:32px;display:grid;place-items:center;border-radius:10px;background:color-mix(in srgb,var(--hsy-dev-accent) 10%,var(--field-bg));color:var(--hsy-dev-accent);font-size:14px}
.hsy-modal.hsy-modal-developer .hsy-dev-stat-card strong{font-size:20px;letter-spacing:-.3px}
.hsy-modal.hsy-modal-developer .hsy-dev-box{margin-top:0;margin-bottom:14px;padding:20px;border-radius:20px;border:1px solid var(--border);background:var(--field-bg);box-shadow:0 8px 26px rgba(0,0,0,.035)}
.hsy-modal.hsy-modal-developer .hsy-dev-title{display:flex;align-items:center;gap:9px;font-size:16px;margin-bottom:12px}.hsy-modal.hsy-modal-developer .hsy-dev-title:before{content:'';width:4px;height:18px;border-radius:9px;background:var(--hsy-dev-accent)}
.hsy-modal.hsy-modal-developer .hsy-dev-bars{height:150px;padding:18px 8px 0;border-radius:14px;background:linear-gradient(180deg,color-mix(in srgb,var(--hsy-dev-accent) 4%,var(--field-bg)),transparent)}
.hsy-modal.hsy-modal-developer .hsy-dev-bar{max-width:38px;background:linear-gradient(180deg,var(--hsy-dev-accent-2),var(--hsy-dev-accent));box-shadow:0 5px 12px color-mix(in srgb,var(--hsy-dev-accent) 18%,transparent);transition:height .5s cubic-bezier(.22,1,.36,1),filter .2s ease}.hsy-modal.hsy-modal-developer .hsy-dev-bar:hover{filter:brightness(1.12)}
.hsy-modal.hsy-modal-developer .hsy-dev-usage-row{padding:13px 12px;border:1px solid var(--border);border-radius:13px;margin-bottom:7px;background:var(--hover);border-bottom:1px solid var(--border)}
.hsy-modal.hsy-modal-developer .hsy-dev-usage-row:last-child{margin-bottom:0}
.hsy-modal.hsy-modal-developer .hsy-dev-key-row{padding:14px;border-radius:15px;margin-top:8px;background:var(--hover);transition:.18s ease}.hsy-modal.hsy-modal-developer .hsy-dev-key-row:hover{transform:translateY(-1px);border-color:color-mix(in srgb,var(--hsy-dev-accent) 35%,var(--border))}
.hsy-modal.hsy-modal-developer .hsy-dev-code{border:1px solid rgba(255,255,255,.06);background:#0b1020;color:#e5e7eb;border-radius:16px;box-shadow:inset 0 1px 0 rgba(255,255,255,.04);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}
.hsy-modal.hsy-modal-developer .hsy-dev-playground-input{min-height:170px;border-radius:16px;line-height:1.9;padding:15px}
.hsy-modal.hsy-modal-developer .hsy-dev-run{height:48px;border-radius:13px;background:linear-gradient(135deg,var(--hsy-dev-accent),var(--hsy-dev-accent-2));box-shadow:0 9px 22px color-mix(in srgb,var(--hsy-dev-accent) 22%,transparent)}
.hsy-modal.hsy-modal-developer .hsy-dev-package-row{padding:13px 14px;border-radius:14px;background:var(--hover);border:1px solid var(--border);margin-bottom:7px}.hsy-modal.hsy-modal-developer .hsy-dev-buy-wallet{background:linear-gradient(135deg,var(--hsy-dev-accent),var(--hsy-dev-accent-2))!important}
@media(max-width:900px){.hsy-modal.hsy-modal-developer .hsy-dev-dashboard-stats{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){
 .hsy-modal.hsy-modal-developer>.hsy-developer-panel{border-radius:20px!important}
 .hsy-dev-hero{min-height:160px;padding:20px;border-radius:19px}.hsy-dev-hero h3{font-size:22px}.hsy-dev-hero p{font-size:11px}
 .hsy-modal.hsy-modal-developer .hsy-dev-dashboard-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.hsy-modal.hsy-modal-developer .hsy-dev-stat-card{padding:13px}.hsy-modal.hsy-modal-developer .hsy-dev-stat-card strong{font-size:18px}
 .hsy-modal.hsy-modal-developer .hsy-dev-head{grid-template-columns:1fr}.hsy-modal.hsy-modal-developer .hsy-dev-balance{min-height:130px}.hsy-modal.hsy-modal-developer .hsy-dev-balance strong{font-size:32px!important}
}
@media(prefers-reduced-motion:reduce){.hsy-modal.hsy-modal-developer *{transition:none!important;animation:none!important}}


/* v7.5.41 - Developer Platform + Ticket Center premium support UI */
.hsy-dev-support-hero{position:relative;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;padding:18px;border:1px solid var(--border);border-radius:20px;background:linear-gradient(135deg,var(--field-bg),transparent);overflow:hidden;margin-bottom:12px;box-shadow:0 12px 32px rgba(0,0,0,.05)}
.hsy-dev-support-hero:after{content:'';position:absolute;inset:auto -35px -55px auto;width:150px;height:150px;border-radius:50%;background:currentColor;opacity:.035;pointer-events:none}
.hsy-dev-support-icon{width:52px;height:52px;border-radius:16px;display:flex;align-items:center;justify-content:center;background:var(--black);color:var(--white);box-shadow:0 10px 25px rgba(0,0,0,.12)}
.hsy-dev-support-icon svg{width:25px;height:25px}
.hsy-dev-support-overline{display:block;font-size:9px;letter-spacing:.1em;color:var(--muted);margin-bottom:4px}
.hsy-dev-support-hero strong{display:block;font-size:15px}.hsy-dev-support-hero small{display:block;color:var(--muted);font-size:11px;margin-top:3px}.hsy-dev-support-btn{white-space:nowrap}
.hsy-dev-support-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin-bottom:12px}.hsy-dev-support-stat{padding:12px;border:1px solid var(--border);border-radius:15px;background:var(--field-bg);position:relative;overflow:hidden}.hsy-dev-support-stat:before{content:'';position:absolute;right:0;top:0;bottom:0;width:3px;background:var(--text);opacity:.14}.hsy-dev-support-stat.open:before{opacity:.45}.hsy-dev-support-stat.answered:before{opacity:.32}.hsy-dev-support-stat.closed:before{opacity:.1}.hsy-dev-support-stat span{display:block;font-size:10px;color:var(--muted);margin-bottom:5px}.hsy-dev-support-stat strong{font-size:19px}
.hsy-dev-support-latest{border:1px solid var(--border);border-radius:17px;background:var(--field-bg);padding:13px}.hsy-dev-support-latest-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.hsy-dev-support-latest-head strong{font-size:13px}.hsy-dev-support-latest-head .hsy-back-link{font-size:10px}.hsy-dev-support-ticket{width:100%;display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:center;text-align:right;border:1px solid var(--border);background:transparent;color:var(--text);padding:10px;border-radius:12px;cursor:pointer;margin-top:7px}.hsy-dev-support-ticket:hover{background:var(--hover);transform:translateY(-1px)}.hsy-dev-support-ticket-id{font-size:9px;color:var(--muted);background:var(--hover);padding:4px 6px;border-radius:7px;direction:ltr}.hsy-dev-support-ticket strong{font-size:11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hsy-dev-support-ticket small{font-size:9px;color:var(--muted)}
/* Ticket center premium surface */
.hsy-ticket-modal{background:linear-gradient(180deg,rgba(255,255,255,.35),transparent);border-radius:24px}.hsy-ticket-brand-icon{position:relative;overflow:hidden}.hsy-ticket-brand-icon:after{content:'';position:absolute;width:55px;height:55px;border-radius:50%;background:currentColor;opacity:.06;top:-28px;left:-18px}.hsy-ticket-overview{box-shadow:0 12px 30px rgba(0,0,0,.055);position:relative;overflow:hidden}.hsy-ticket-overview:after{content:'';position:absolute;left:-35px;bottom:-50px;width:130px;height:130px;border-radius:50%;background:currentColor;opacity:.025}.hsy-ticket-metric{transition:transform .18s ease,box-shadow .18s ease}.hsy-ticket-metric:hover{transform:translateY(-2px);box-shadow:0 8px 20px rgba(0,0,0,.06)}.hsy-ticket-card-pro{overflow:hidden}.hsy-ticket-card-pro:before{content:'';position:absolute;right:0;top:0;bottom:0;width:3px;background:var(--text);opacity:.06;transition:opacity .18s ease}.hsy-ticket-card-pro:hover:before{opacity:.3}.hsy-ticket-reply-actions .hsy-modal-btn{border-radius:13px}.hsy-ticket-thread-head{background:linear-gradient(180deg,var(--field-bg),transparent);border-radius:15px;padding:12px}.hsy-tk-thread-pro{scroll-behavior:smooth}.hsy-tk-msg{backdrop-filter:blur(8px)}
@media(max-width:620px){.hsy-dev-support-hero{grid-template-columns:auto 1fr}.hsy-dev-support-btn{grid-column:1/-1;width:100%}.hsy-dev-support-grid{grid-template-columns:1fr 1fr}.hsy-dev-support-ticket{grid-template-columns:auto minmax(0,1fr)}}
@media(prefers-reduced-motion:reduce){.hsy-dev-support-ticket,.hsy-ticket-metric,.hsy-ticket-card-pro{transition:none!important;transform:none!important}}

/* v7.5.42 - Developer Platform Premium UI */
.hsy-modal.hsy-modal-developer{background:linear-gradient(145deg,var(--panel-bg),color-mix(in srgb,var(--panel-bg) 88%,var(--accent,#6d5dfc)));border:1px solid color-mix(in srgb,var(--border) 72%,var(--accent,#6d5dfc));box-shadow:0 35px 100px rgba(15,23,42,.25);}
.hsy-modal.hsy-modal-developer>.hsy-developer-panel{scrollbar-width:thin;}
.hsy-modal.hsy-modal-developer .hsy-modal-head{padding:10px 12px 16px!important;margin:0 -2px 14px!important;background:linear-gradient(180deg,var(--panel-bg) 82%,transparent);border-bottom:0;}
.hsy-modal.hsy-modal-developer .hsy-modal-head h2{font-size:28px;font-weight:900;letter-spacing:-.5px;display:flex;align-items:center;gap:10px;}
.hsy-modal.hsy-modal-developer .hsy-modal-head h2:before{content:'⌘';width:38px;height:38px;display:inline-flex;align-items:center;justify-content:center;border-radius:12px;background:linear-gradient(135deg,#6d5dfc,#8b5cf6);color:#fff;font-size:19px;box-shadow:0 8px 22px rgba(109,93,252,.28)}
.hsy-dev-tabs{position:sticky;top:0;z-index:8;display:flex;gap:6px;padding:7px;margin:0 0 18px;border:1px solid color-mix(in srgb,var(--border) 70%,transparent);background:color-mix(in srgb,var(--panel-bg) 88%,transparent);backdrop-filter:blur(18px);border-radius:16px;box-shadow:0 10px 30px rgba(15,23,42,.07);overflow:auto}
.hsy-dev-tab{border:0!important;background:transparent!important;color:var(--text-soft);border-radius:11px!important;padding:10px 15px!important;font-weight:750;white-space:nowrap;transition:.2s ease;}
.hsy-dev-tab:hover{background:var(--hover)!important;color:var(--text)!important;transform:translateY(-1px)}
.hsy-dev-tab.active{background:linear-gradient(135deg,#6d5dfc,#8b5cf6)!important;color:#fff!important;box-shadow:0 7px 18px rgba(109,93,252,.24)}
.hsy-dev-tab-body{animation:hsyDevIn .28s ease both}
@keyframes hsyDevIn{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
.hsy-dev-hero{position:relative;overflow:hidden;min-height:205px;padding:30px;border-radius:24px;background:radial-gradient(circle at 85% 15%,rgba(139,92,246,.28),transparent 35%),linear-gradient(135deg,#15112d,#29204f 52%,#111827);color:#fff;box-shadow:0 20px 45px rgba(31,24,72,.22);margin-bottom:18px}
.hsy-dev-hero:after{content:'';position:absolute;width:230px;height:230px;border:1px solid rgba(255,255,255,.1);border-radius:50%;left:-80px;bottom:-140px;box-shadow:0 0 0 35px rgba(255,255,255,.025),0 0 0 70px rgba(255,255,255,.018)}
.hsy-dev-hero-glow{position:absolute;inset:auto -80px -120px auto;width:300px;height:300px;background:rgba(99,102,241,.25);filter:blur(35px);border-radius:50%}
.hsy-dev-hero-content{position:relative;z-index:1;max-width:760px}.hsy-dev-eyebrow{display:flex;align-items:center;gap:8px;font-size:10px;letter-spacing:1.5px;font-weight:900;opacity:.85}.hsy-dev-live-dot{width:8px;height:8px;border-radius:50%;background:#4ade80;box-shadow:0 0 0 5px rgba(74,222,128,.12),0 0 14px #4ade80}.hsy-dev-hero h3{font-size:31px;margin:13px 0 7px;font-weight:900;letter-spacing:-.6px}.hsy-dev-hero p{margin:0;max-width:650px;line-height:1.95;color:rgba(255,255,255,.74);font-size:13px}.hsy-dev-hero-chips{display:flex;gap:8px;flex-wrap:wrap;margin-top:18px}.hsy-dev-hero-chips span{padding:7px 10px;border:1px solid rgba(255,255,255,.12);background:rgba(255,255,255,.07);border-radius:999px;font-size:11px;backdrop-filter:blur(8px)}
.hsy-modal.hsy-modal-developer .hsy-dev-head{grid-template-columns:minmax(260px,.72fr) minmax(0,1.28fr);gap:14px;margin:0 0 16px}.hsy-modal.hsy-modal-developer .hsy-dev-balance{position:relative;overflow:hidden;border:0!important;color:#fff;background:linear-gradient(135deg,#6d5dfc,#8b5cf6 55%,#a855f7)!important;box-shadow:0 18px 38px rgba(109,93,252,.23);min-height:150px}.hsy-modal.hsy-modal-developer .hsy-dev-balance:after{content:'$';position:absolute;right:18px;bottom:-30px;font-size:130px;font-weight:900;opacity:.08}.hsy-modal.hsy-modal-developer .hsy-dev-balance small,.hsy-modal.hsy-modal-developer .hsy-dev-balance span{color:rgba(255,255,255,.72)}.hsy-modal.hsy-modal-developer .hsy-dev-balance strong{font-size:40px;letter-spacing:-1px}.hsy-modal.hsy-modal-developer .hsy-dev-note{border-style:solid;background:linear-gradient(145deg,var(--field-bg),var(--hover));border-color:var(--border);box-shadow:0 10px 28px rgba(15,23,42,.05)}
.hsy-dev-dashboard-stats{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-bottom:16px}.hsy-dev-stat-card{position:relative;min-height:105px;padding:15px;border:1px solid var(--border);border-radius:17px;background:var(--field-bg);display:flex;flex-direction:column;justify-content:space-between;overflow:hidden;transition:.2s ease}.hsy-dev-stat-card:hover{transform:translateY(-3px);border-color:color-mix(in srgb,#6d5dfc 35%,var(--border));box-shadow:0 12px 28px rgba(15,23,42,.09)}.hsy-dev-stat-icon{width:31px;height:31px;display:flex;align-items:center;justify-content:center;border-radius:10px;background:color-mix(in srgb,#6d5dfc 12%,var(--field-bg));color:#6d5dfc;font-size:13px}.hsy-dev-stat-card strong{font-size:22px;line-height:1}.hsy-dev-stat-card small{font-size:11px;color:var(--text-soft)}
.hsy-modal.hsy-modal-developer .hsy-dev-box{border-color:var(--border);background:var(--field-bg);box-shadow:0 10px 30px rgba(15,23,42,.045);padding:21px;border-radius:20px}.hsy-modal.hsy-modal-developer .hsy-dev-title{display:flex;align-items:center;gap:8px;font-size:17px}.hsy-modal.hsy-modal-developer .hsy-dev-title:before{content:'';width:4px;height:20px;border-radius:8px;background:linear-gradient(#6d5dfc,#a855f7)}
.hsy-dev-bars{height:180px;display:flex;align-items:flex-end;gap:10px;padding:15px 8px 5px;border-radius:15px;background:linear-gradient(180deg,transparent,var(--hover));}.hsy-dev-bar-col{height:100%;flex:1;display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:7px}.hsy-dev-bar{width:min(34px,70%);min-height:8px;border-radius:9px 9px 4px 4px;background:linear-gradient(180deg,#a855f7,#6d5dfc);box-shadow:0 6px 16px rgba(109,93,252,.18);transition:.3s ease}.hsy-dev-bar:hover{filter:brightness(1.12);transform:scaleY(1.04)}.hsy-dev-bar-col small{font-size:9px;color:var(--muted)}
.hsy-dev-usage-row,.hsy-dev-log-row,.hsy-dev-package-row{border:1px solid var(--border)!important;background:var(--hover)!important;border-radius:14px!important;transition:.18s ease}.hsy-dev-usage-row:hover,.hsy-dev-log-row:hover,.hsy-dev-package-row:hover{border-color:color-mix(in srgb,#6d5dfc 28%,var(--border))!important;transform:translateX(-2px)}
.hsy-dev-key-row{background:linear-gradient(145deg,var(--field-bg),var(--hover))!important}.hsy-dev-key-row .hsy-btn{border-radius:10px}.hsy-dev-status{font-weight:800}
.hsy-dev-play-grid{display:grid;grid-template-columns:1fr;gap:10px}.hsy-dev-play-grid .hsy-input{border-radius:13px;min-height:46px}.hsy-dev-playground-input{min-height:155px!important;resize:vertical;line-height:1.9}.hsy-dev-run{min-height:46px;border-radius:12px!important;background:linear-gradient(135deg,#6d5dfc,#8b5cf6)!important;box-shadow:0 10px 22px rgba(109,93,252,.2)}.hsy-dev-code{border:1px solid rgba(255,255,255,.07);box-shadow:inset 0 1px 0 rgba(255,255,255,.04)}
.hsy-dev-support-hero{position:relative;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:15px;padding:20px;border-radius:18px;background:linear-gradient(135deg,color-mix(in srgb,#6d5dfc 12%,var(--field-bg)),var(--field-bg));border:1px solid color-mix(in srgb,#6d5dfc 20%,var(--border));overflow:hidden}.hsy-dev-support-icon{width:54px;height:54px;border-radius:16px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#6d5dfc,#8b5cf6);color:#fff}.hsy-dev-support-icon svg{width:25px;height:25px}.hsy-dev-support-overline{display:block;font-size:9px;font-weight:900;letter-spacing:1px;color:#7c3aed;margin-bottom:4px}.hsy-dev-support-hero strong{display:block;font-size:16px}.hsy-dev-support-hero small{color:var(--text-soft);line-height:1.8}.hsy-dev-support-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:9px;margin-top:12px}.hsy-dev-support-stat{padding:14px;border:1px solid var(--border);border-radius:14px;background:var(--field-bg)}.hsy-dev-support-stat span{display:block;font-size:10px;color:var(--text-soft)}.hsy-dev-support-stat strong{display:block;font-size:22px;margin-top:7px}.hsy-dev-support-stat.open strong{color:#f59e0b}.hsy-dev-support-stat.answered strong{color:#16a34a}.hsy-dev-support-stat.closed strong{color:#64748b}
@media(max-width:850px){.hsy-dev-dashboard-stats{grid-template-columns:repeat(3,1fr)}.hsy-dev-support-hero{grid-template-columns:auto 1fr}.hsy-dev-support-btn{grid-column:1/-1;width:100%}.hsy-dev-support-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:560px){.hsy-modal.hsy-modal-developer .hsy-modal-head h2{font-size:21px}.hsy-dev-hero{padding:22px;min-height:190px}.hsy-dev-hero h3{font-size:25px}.hsy-dev-dashboard-stats{grid-template-columns:repeat(2,1fr)}.hsy-dev-support-grid{grid-template-columns:1fr 1fr}.hsy-dev-tabs{margin-inline:-2px}.hsy-dev-tab{padding:9px 11px!important;font-size:11px}.hsy-dev-stat-card{min-height:94px}.hsy-dev-stat-card strong{font-size:19px}}

/* v7.5.44 — Developer Support Center premium polish */
.hsy-modal.hsy-modal-developer .hsy-dev-support-hero{box-shadow:0 16px 38px rgba(109,93,252,.10);transition:transform .25s ease,box-shadow .25s ease,border-color .25s ease}
.hsy-modal.hsy-modal-developer .hsy-dev-support-hero:hover{transform:translateY(-2px);box-shadow:0 22px 48px rgba(109,93,252,.15)}
.hsy-modal.hsy-modal-developer .hsy-dev-support-stat{position:relative;overflow:hidden;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}
.hsy-modal.hsy-modal-developer .hsy-dev-support-stat:after{content:'';position:absolute;inset:auto -18px -28px auto;width:70px;height:70px;border-radius:50%;background:color-mix(in srgb,#6d5dfc 9%,transparent)}
.hsy-modal.hsy-modal-developer .hsy-dev-support-stat:hover{transform:translateY(-2px);box-shadow:0 12px 26px rgba(15,23,42,.07);border-color:color-mix(in srgb,#6d5dfc 28%,var(--border))}
.hsy-modal.hsy-modal-developer .hsy-dev-support-latest{margin-top:14px;padding:16px;border:1px solid var(--border);border-radius:18px;background:linear-gradient(145deg,var(--field-bg),var(--hover));box-shadow:0 10px 28px rgba(15,23,42,.045)}
.hsy-modal.hsy-modal-developer .hsy-dev-support-latest-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}
.hsy-modal.hsy-modal-developer .hsy-dev-support-latest-head strong{font-size:14px}
.hsy-modal.hsy-modal-developer .hsy-dev-support-latest-head .hsy-back-link{font-size:11px}
.hsy-modal.hsy-modal-developer .hsy-dev-support-ticket{position:relative;width:100%;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:11px 12px!important;border:1px solid var(--border)!important;background:var(--field-bg)!important;border-radius:13px!important;text-align:right;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.hsy-modal.hsy-modal-developer .hsy-dev-support-ticket + .hsy-dev-support-ticket{margin-top:7px}
.hsy-modal.hsy-modal-developer .hsy-dev-support-ticket:hover{transform:translateX(-3px);box-shadow:0 9px 20px rgba(15,23,42,.07);border-color:color-mix(in srgb,#6d5dfc 30%,var(--border))!important}
.hsy-modal.hsy-modal-developer .hsy-dev-support-ticket strong{font-size:12px;color:var(--text);text-align:right}
.hsy-modal.hsy-modal-developer .hsy-dev-support-ticket small{font-size:9px;color:var(--muted);text-align:left;direction:ltr}
.hsy-modal.hsy-modal-developer .hsy-dev-support-ticket-id{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-weight:800}
.hsy-modal.hsy-modal-developer .hsy-dev-support-btn{font-weight:850;box-shadow:0 10px 24px rgba(109,93,252,.18)}
@media(max-width:560px){.hsy-modal.hsy-modal-developer .hsy-dev-support-ticket{grid-template-columns:auto minmax(0,1fr)}.hsy-modal.hsy-modal-developer .hsy-dev-support-ticket small{grid-column:2;text-align:right}.hsy-modal.hsy-modal-developer .hsy-dev-support-latest{padding:12px}}


/* v7.5.45 — Developer Console Ultra / visual layer only
   Keeps existing Developer Platform functionality intact. */
.hsy-modal.hsy-modal-developer{
  --hsy-dev-primary:#6d5dfc;
  --hsy-dev-primary-2:#9b5cff;
  --hsy-dev-ink:#0b1020;
  --hsy-dev-soft:#64748b;
  max-width:1180px!important;
  width:min(1180px,96vw)!important;
  max-height:92vh!important;
  padding:0!important;
  overflow:hidden!important;
  border-radius:30px!important;
  background:linear-gradient(145deg,var(--panel-bg),color-mix(in srgb,var(--panel-bg) 94%,var(--hsy-dev-primary)))!important;
  border:1px solid color-mix(in srgb,var(--border) 68%,var(--hsy-dev-primary))!important;
  box-shadow:0 45px 120px rgba(15,23,42,.28),0 0 0 1px rgba(255,255,255,.05) inset!important;
}
.hsy-modal.hsy-modal-developer>.hsy-developer-panel{
  height:100%;
  max-height:92vh;
  overflow:auto;
  padding:24px 28px 30px;
  scrollbar-width:thin;
}
.hsy-modal.hsy-modal-developer .hsy-modal-head{
  position:sticky!important;
  top:0;
  z-index:20;
  margin:-24px -28px 18px!important;
  padding:18px 28px 14px!important;
  background:color-mix(in srgb,var(--panel-bg) 88%,transparent)!important;
  backdrop-filter:blur(22px) saturate(150%);
  border-bottom:1px solid color-mix(in srgb,var(--border) 65%,transparent)!important;
}
.hsy-modal.hsy-modal-developer .hsy-modal-head h2{
  margin:0!important;
  font-size:20px!important;
  letter-spacing:-.4px;
}
.hsy-modal.hsy-modal-developer .hsy-modal-head h2:before{
  content:'</>'!important;
  width:40px!important;height:40px!important;
  border-radius:13px!important;
  background:linear-gradient(135deg,var(--hsy-dev-primary),var(--hsy-dev-primary-2))!important;
  font-family:ui-monospace,SFMono-Regular,Menlo,monospace!important;
  font-size:12px!important;
  box-shadow:0 10px 28px rgba(109,93,252,.28)!important;
}
.hsy-modal.hsy-modal-developer .hsy-modal-close{
  width:38px!important;height:38px!important;
  border-radius:12px!important;
  border:1px solid var(--border)!important;
  background:var(--field-bg)!important;
  transition:.2s ease!important;
}
.hsy-modal.hsy-modal-developer .hsy-modal-close:hover{
  transform:rotate(5deg) scale(1.04);
  border-color:color-mix(in srgb,var(--hsy-dev-primary) 45%,var(--border))!important;
}
.hsy-modal.hsy-modal-developer .hsy-dev-tabs{
  top:72px;
  padding:6px!important;
  gap:5px!important;
  border-radius:17px!important;
  background:color-mix(in srgb,var(--panel-bg) 78%,transparent)!important;
  border:1px solid color-mix(in srgb,var(--border) 62%,transparent)!important;
  box-shadow:0 12px 32px rgba(15,23,42,.08)!important;
}
.hsy-modal.hsy-modal-developer .hsy-dev-tab{
  min-height:42px;
  padding:9px 14px!important;
  border-radius:12px!important;
  font-size:11px;
}
.hsy-modal.hsy-modal-developer .hsy-dev-tab span:first-child{
  width:22px;height:22px;
  display:inline-flex;align-items:center;justify-content:center;
  border-radius:7px;
  background:color-mix(in srgb,var(--hsy-dev-primary) 8%,transparent);
}
.hsy-modal.hsy-modal-developer .hsy-dev-tab.active span:first-child{
  background:rgba(255,255,255,.14);
}
.hsy-modal.hsy-modal-developer .hsy-dev-tab.active{
  background:linear-gradient(135deg,var(--hsy-dev-primary),var(--hsy-dev-primary-2))!important;
  box-shadow:0 9px 22px rgba(109,93,252,.27)!important;
}
.hsy-modal.hsy-modal-developer .hsy-dev-hero{
  min-height:235px;
  padding:34px!important;
  border-radius:27px!important;
  margin-bottom:18px!important;
  background:
    radial-gradient(circle at 82% 12%,rgba(168,85,247,.32),transparent 29%),
    radial-gradient(circle at 12% 100%,rgba(79,70,229,.26),transparent 35%),
    linear-gradient(135deg,#0a1020 0%,#17143a 50%,#21104a 100%)!important;
  box-shadow:0 24px 60px rgba(16,24,56,.28)!important;
}
.hsy-modal.hsy-modal-developer .hsy-dev-hero-content{
  max-width:780px;
}
.hsy-modal.hsy-modal-developer .hsy-dev-eyebrow{
  font-size:9px;
  letter-spacing:2px;
}
.hsy-modal.hsy-modal-developer .hsy-dev-hero h3{
  font-size:35px!important;
  line-height:1.25;
  margin:15px 0 8px!important;
}
.hsy-modal.hsy-modal-developer .hsy-dev-hero p{
  font-size:12px!important;
  max-width:690px;
  color:rgba(255,255,255,.68)!important;
}
.hsy-modal.hsy-modal-developer .hsy-dev-hero-chips span{
  border-color:rgba(255,255,255,.13)!important;
  background:rgba(255,255,255,.065)!important;
  padding:8px 12px!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06);
}
.hsy-modal.hsy-modal-developer .hsy-dev-head{
  display:grid!important;
  grid-template-columns:minmax(290px,.9fr) minmax(0,1.1fr)!important;
}
.hsy-modal.hsy-modal-developer .hsy-dev-balance{
  min-height:165px!important;
  border-radius:23px!important;
  padding:23px!important;
  background:linear-gradient(135deg,#5b4de7,#7c3aed 52%,#a855f7)!important;
  box-shadow:0 20px 42px rgba(109,93,252,.24)!important;
}
.hsy-modal.hsy-modal-developer .hsy-dev-balance strong{
  font-size:42px!important;
}
.hsy-modal.hsy-modal-developer .hsy-dev-note{
  border-radius:23px!important;
  padding:23px!important;
  display:flex;
  align-items:center;
  line-height:2;
}
.hsy-modal.hsy-modal-developer .hsy-dev-dashboard-stats{
  grid-template-columns:repeat(5,minmax(0,1fr))!important;
  gap:11px!important;
}
.hsy-modal.hsy-modal-developer .hsy-dev-stat-card{
  min-height:116px!important;
  padding:16px!important;
  border-radius:18px!important;
  background:linear-gradient(145deg,var(--field-bg),var(--hover))!important;
}
.hsy-modal.hsy-modal-developer .hsy-dev-stat-icon{
  width:35px!important;height:35px!important;
  border-radius:11px!important;
  color:var(--hsy-dev-primary)!important;
}
.hsy-modal.hsy-modal-developer .hsy-dev-stat-card strong{
  font-size:24px!important;
}
.hsy-modal.hsy-modal-developer .hsy-dev-box{
  border-radius:22px!important;
  padding:22px!important;
  background:linear-gradient(145deg,var(--field-bg),color-mix(in srgb,var(--field-bg) 92%,var(--hsy-dev-primary)))!important;
  box-shadow:0 12px 34px rgba(15,23,42,.055)!important;
}
.hsy-modal.hsy-modal-developer .hsy-dev-title{
  font-size:16px!important;
  font-weight:900!important;
  padding-bottom:13px;
  margin-bottom:15px;
  border-bottom:1px solid color-mix(in srgb,var(--border) 72%,transparent);
}
.hsy-modal.hsy-modal-developer .hsy-dev-title:before{
  width:5px!important;height:22px!important;
  border-radius:99px!important;
  background:linear-gradient(#6d5dfc,#a855f7)!important;
}
.hsy-modal.hsy-modal-developer .hsy-dev-bars{
  height:205px!important;
  border-radius:17px!important;
  border:1px solid color-mix(in srgb,var(--border) 60%,transparent);
  background:linear-gradient(180deg,color-mix(in srgb,var(--hsy-dev-primary) 3%,var(--field-bg)),var(--hover))!important;
}
.hsy-modal.hsy-modal-developer .hsy-dev-bar{
  width:min(42px,72%)!important;
  border-radius:11px 11px 5px 5px!important;
  background:linear-gradient(180deg,#b45cff,#6655ef)!important;
}
.hsy-modal.hsy-modal-developer .hsy-dev-usage-row,
.hsy-modal.hsy-modal-developer .hsy-dev-log-row,
.hsy-modal.hsy-modal-developer .hsy-dev-package-row{
  padding:14px!important;
  border-radius:15px!important;
  margin-bottom:8px!important;
}
.hsy-modal.hsy-modal-developer .hsy-dev-key-row{
  display:grid;
  grid-template-columns:minmax(150px,1fr) auto auto auto;
  align-items:center;
  gap:12px;
  padding:15px!important;
  border:1px solid var(--border)!important;
  border-radius:17px!important;
  margin-top:9px!important;
}
.hsy-modal.hsy-modal-developer .hsy-dev-key-row code{
  direction:ltr;
}
.hsy-modal.hsy-modal-developer .hsy-dev-status{
  padding:6px 9px;
  border-radius:999px;
  background:color-mix(in srgb,#22c55e 10%,var(--field-bg));
}
.hsy-modal.hsy-modal-developer .hsy-dev-status.revoked{
  background:color-mix(in srgb,#ef4444 10%,var(--field-bg));
}
.hsy-modal.hsy-modal-developer .hsy-dev-create{
  padding:12px;
  border:1px dashed color-mix(in srgb,var(--hsy-dev-primary) 35%,var(--border));
  border-radius:17px;
  background:color-mix(in srgb,var(--hsy-dev-primary) 3%,var(--field-bg));
}
.hsy-modal.hsy-modal-developer .hsy-dev-create .hsy-input{
  border-radius:12px!important;
}
.hsy-modal.hsy-modal-developer .hsy-dev-code{
  padding:19px!important;
  border-radius:17px!important;
  background:#080d19!important;
  color:#dbeafe!important;
  font-size:11px!important;
  line-height:1.9!important;
  direction:ltr;
  text-align:left;
  box-shadow:0 18px 35px rgba(2,6,23,.16),inset 0 1px 0 rgba(255,255,255,.05)!important;
}
.hsy-modal.hsy-modal-developer .hsy-dev-playground-input{
  min-height:190px!important;
  border-radius:17px!important;
  padding:17px!important;
  font-size:13px!important;
}
.hsy-modal.hsy-modal-developer .hsy-dev-run{
  min-height:52px!important;
  border-radius:14px!important;
  font-weight:900!important;
}
.hsy-modal.hsy-modal-developer .hsy-dev-key-notice{
  margin:0 0 14px;
  padding:16px;
  border:1px solid color-mix(in srgb,#22c55e 30%,var(--border));
  border-radius:18px;
  background:linear-gradient(135deg,color-mix(in srgb,#22c55e 8%,var(--field-bg)),var(--field-bg));
  box-shadow:0 12px 28px rgba(34,197,94,.08);
}
.hsy-modal.hsy-modal-developer .hsy-dev-key-notice code{
  display:block;
  margin:11px 0;
  padding:12px;
  border-radius:11px;
  background:#07110c;
  color:#bbf7d0;
  direction:ltr;
  text-align:left;
  overflow:auto;
}
.hsy-modal.hsy-modal-developer .hsy-dev-support-hero{
  min-height:118px;
  padding:21px!important;
  border-radius:21px!important;
  background:
    radial-gradient(circle at 10% 10%,color-mix(in srgb,var(--hsy-dev-primary) 13%,transparent),transparent 32%),
    linear-gradient(145deg,color-mix(in srgb,var(--hsy-dev-primary) 7%,var(--field-bg)),var(--field-bg))!important;
}
.hsy-modal.hsy-modal-developer .hsy-dev-support-icon{
  width:58px!important;height:58px!important;
  border-radius:17px!important;
  background:linear-gradient(135deg,var(--hsy-dev-primary),var(--hsy-dev-primary-2))!important;
  box-shadow:0 12px 28px rgba(109,93,252,.24);
}
.hsy-modal.hsy-modal-developer .hsy-dev-support-stat{
  min-height:92px;
  padding:15px!important;
  border-radius:16px!important;
}
.hsy-modal.hsy-modal-developer .hsy-dev-support-latest{
  border-radius:20px!important;
}
.hsy-modal.hsy-modal-developer .hsy-dev-support-ticket{
  min-height:54px;
}
.hsy-modal.hsy-modal-developer .hsy-btn{
  border-radius:12px;
  font-weight:800;
  transition:transform .2s ease,box-shadow .2s ease,filter .2s ease;
}
.hsy-modal.hsy-modal-developer .hsy-btn:hover{
  transform:translateY(-1px);
}
.hsy-modal.hsy-modal-developer ::selection{
  background:rgba(109,93,252,.24);
}
@media(max-width:900px){
  .hsy-modal.hsy-modal-developer>.hsy-developer-panel{padding:20px}
  .hsy-modal.hsy-modal-developer .hsy-modal-head{margin:-20px -20px 16px!important;padding:16px 20px 13px!important}
  .hsy-modal.hsy-modal-developer .hsy-dev-tabs{top:64px}
  .hsy-modal.hsy-modal-developer .hsy-dev-head{grid-template-columns:1fr!important}
  .hsy-modal.hsy-modal-developer .hsy-dev-dashboard-stats{grid-template-columns:repeat(3,1fr)!important}
}
@media(max-width:600px){
  .hsy-modal.hsy-modal-developer{
    width:calc(100vw - 12px)!important;
    max-height:96vh!important;
    border-radius:23px!important;
  }
  .hsy-modal.hsy-modal-developer>.hsy-developer-panel{
    max-height:96vh;
    padding:14px;
  }
  .hsy-modal.hsy-modal-developer .hsy-modal-head{
    margin:-14px -14px 12px!important;
    padding:12px 14px 10px!important;
  }
  .hsy-modal.hsy-modal-developer .hsy-modal-head h2{font-size:17px!important}
  .hsy-modal.hsy-modal-developer .hsy-modal-head h2:before{width:34px!important;height:34px!important}
  .hsy-modal.hsy-modal-developer .hsy-dev-tabs{top:56px}
  .hsy-modal.hsy-modal-developer .hsy-dev-tab{min-height:39px;padding:8px 10px!important}
  .hsy-modal.hsy-modal-developer .hsy-dev-hero{min-height:205px;padding:23px!important;border-radius:22px!important}
  .hsy-modal.hsy-modal-developer .hsy-dev-hero h3{font-size:25px!important}
  .hsy-modal.hsy-modal-developer .hsy-dev-hero p{font-size:11px!important}
  .hsy-modal.hsy-modal-developer .hsy-dev-dashboard-stats{grid-template-columns:repeat(2,1fr)!important}
  .hsy-modal.hsy-modal-developer .hsy-dev-box{padding:16px!important;border-radius:18px!important}
  .hsy-modal.hsy-modal-developer .hsy-dev-key-row{grid-template-columns:1fr auto;gap:8px}
  .hsy-modal.hsy-modal-developer .hsy-dev-key-row .hsy-dev-status{justify-self:start}
  .hsy-modal.hsy-modal-developer .hsy-dev-key-row .hsy-btn{grid-column:2;grid-row:1/3}
  .hsy-modal.hsy-modal-developer .hsy-dev-support-hero{grid-template-columns:auto 1fr!important}
}

/* v7.5.46 — Developer Support Center / production-grade RTL layout */
.hsy-modal.hsy-modal-developer .hsy-dev-support-shell{display:block;margin-top:14px}
.hsy-modal.hsy-modal-developer .hsy-dev-support-hero{position:relative;display:grid;grid-template-columns:64px minmax(0,1fr) auto;align-items:center;gap:18px;min-height:148px;padding:24px 25px!important;border:1px solid rgba(109,93,252,.24)!important;border-radius:24px!important;background:radial-gradient(circle at 8% 10%,rgba(109,93,252,.22),transparent 31%),radial-gradient(circle at 92% 85%,rgba(56,189,248,.11),transparent 28%),linear-gradient(135deg,#0b1020,#11182c 55%,#101426)!important;color:#fff;overflow:hidden;box-shadow:0 20px 55px rgba(8,12,30,.28)!important}
.hsy-modal.hsy-modal-developer .hsy-dev-support-hero:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,transparent 0%,rgba(255,255,255,.035) 50%,transparent 100%);pointer-events:none}
.hsy-modal.hsy-modal-developer .hsy-dev-support-hero-orb{position:absolute;width:210px;height:210px;border-radius:50%;right:-85px;bottom:-120px;background:rgba(124,92,246,.20);filter:blur(4px);pointer-events:none}
.hsy-modal.hsy-modal-developer .hsy-dev-support-icon{position:relative;z-index:1;width:64px!important;height:64px!important;border-radius:20px!important;background:linear-gradient(145deg,#7c5cff,#4f46e5)!important;box-shadow:0 16px 32px rgba(99,75,236,.35)!important;border:1px solid rgba(255,255,255,.14)}
.hsy-modal.hsy-modal-developer .hsy-dev-support-icon svg{width:28px;height:28px}
.hsy-modal.hsy-modal-developer .hsy-dev-support-hero-copy{position:relative;z-index:1;min-width:0}
.hsy-modal.hsy-modal-developer .hsy-dev-support-overline{font-size:9px!important;font-weight:900!important;letter-spacing:1.5px!important;color:#a99bff!important;margin-bottom:6px!important}
.hsy-modal.hsy-modal-developer .hsy-dev-support-hero-copy strong{display:block;font-size:21px!important;line-height:1.45;color:#fff!important;font-weight:900!important}
.hsy-modal.hsy-modal-developer .hsy-dev-support-hero-copy small{display:block;margin-top:5px;color:rgba(255,255,255,.72)!important;font-size:12px!important;line-height:1.9}
.hsy-modal.hsy-modal-developer .hsy-dev-support-badges{display:flex;flex-wrap:wrap;gap:7px;margin-top:11px}
.hsy-modal.hsy-modal-developer .hsy-dev-support-badges span{padding:5px 9px;border-radius:999px;border:1px solid rgba(255,255,255,.10);background:rgba(255,255,255,.055);color:rgba(255,255,255,.78);font-size:9px;white-space:nowrap}
.hsy-modal.hsy-modal-developer .hsy-dev-support-btn{position:relative;z-index:1;min-height:46px!important;padding-inline:18px!important;background:linear-gradient(135deg,#7c5cff,#5b5cf0)!important;color:#fff!important;border:1px solid rgba(255,255,255,.10)!important;border-radius:13px!important;box-shadow:0 12px 25px rgba(76,60,190,.32)!important}
.hsy-modal.hsy-modal-developer .hsy-dev-support-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:12px}
.hsy-modal.hsy-modal-developer .hsy-dev-support-stat{display:flex;align-items:center;gap:10px;min-height:86px;padding:13px!important;border:1px solid var(--border)!important;border-radius:17px!important;background:linear-gradient(145deg,var(--field-bg),var(--hover))!important;transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease!important}
.hsy-modal.hsy-modal-developer .hsy-dev-support-stat:hover{transform:translateY(-2px);box-shadow:0 13px 30px rgba(0,0,0,.08);border-color:rgba(109,93,252,.30)!important}
.hsy-modal.hsy-modal-developer .hsy-dev-support-stat:before,.hsy-modal.hsy-modal-developer .hsy-dev-support-stat:after{display:none!important}
.hsy-modal.hsy-modal-developer .hsy-dev-support-stat-icon{width:38px;height:38px;min-width:38px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:rgba(109,93,252,.10);color:#7c5cff;font-size:17px;font-weight:900}
.hsy-modal.hsy-modal-developer .hsy-dev-support-stat.open .hsy-dev-support-stat-icon{background:rgba(245,158,11,.11);color:#f59e0b}
.hsy-modal.hsy-modal-developer .hsy-dev-support-stat.answered .hsy-dev-support-stat-icon{background:rgba(34,197,94,.11);color:#16a34a}
.hsy-modal.hsy-modal-developer .hsy-dev-support-stat.closed .hsy-dev-support-stat-icon{background:rgba(100,116,139,.12);color:#64748b}
.hsy-modal.hsy-modal-developer .hsy-dev-support-stat span{font-size:9px!important;color:var(--muted)!important;margin:0!important;display:block}
.hsy-modal.hsy-modal-developer .hsy-dev-support-stat strong{font-size:21px!important;line-height:1.2;margin-top:4px;display:block;color:var(--text)!important}
.hsy-modal.hsy-modal-developer .hsy-dev-support-lower{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(230px,.75fr);gap:12px;margin-top:12px}
.hsy-modal.hsy-modal-developer .hsy-dev-support-latest{margin-top:0!important;padding:15px!important;border:1px solid var(--border)!important;border-radius:19px!important;background:linear-gradient(145deg,var(--field-bg),var(--hover))!important;box-shadow:0 12px 30px rgba(0,0,0,.045)!important}
.hsy-modal.hsy-modal-developer .hsy-dev-support-latest-head{margin-bottom:9px!important}
.hsy-modal.hsy-modal-developer .hsy-dev-support-section-kicker{display:block;font-size:8px;font-weight:900;letter-spacing:1.3px;color:#7c5cff;margin-bottom:2px}
.hsy-modal.hsy-modal-developer .hsy-dev-support-latest-head strong{font-size:14px!important}
.hsy-modal.hsy-modal-developer .hsy-dev-support-ticket{grid-template-columns:auto minmax(0,1fr) auto auto!important;min-height:58px;padding:10px 11px!important;border:1px solid var(--border)!important;background:var(--field-bg)!important;border-radius:13px!important;text-align:right;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease!important}
.hsy-modal.hsy-modal-developer .hsy-dev-support-ticket + .hsy-dev-support-ticket{margin-top:7px}
.hsy-modal.hsy-modal-developer .hsy-dev-support-ticket:hover{transform:translateX(-3px)!important;box-shadow:0 9px 22px rgba(0,0,0,.07)!important;border-color:rgba(109,93,252,.32)!important}
.hsy-modal.hsy-modal-developer .hsy-dev-support-ticket-id{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-weight:900;color:#6d5dfc;background:rgba(109,93,252,.10);padding:5px 7px;border-radius:8px;direction:ltr}
.hsy-modal.hsy-modal-developer .hsy-dev-support-ticket-main{min-width:0;display:flex;flex-direction:column;gap:3px}
.hsy-modal.hsy-modal-developer .hsy-dev-support-ticket-main strong{font-size:11px!important;color:var(--text)!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hsy-modal.hsy-modal-developer .hsy-dev-support-ticket-main small{font-size:9px!important;color:var(--muted)!important;direction:rtl;text-align:right}
.hsy-modal.hsy-modal-developer .hsy-dev-support-ticket-status{font-size:9px;font-weight:900;padding:5px 8px;border-radius:999px;white-space:nowrap;background:rgba(245,158,11,.12);color:#b45309}
.hsy-modal.hsy-modal-developer .hsy-dev-support-ticket-status.answered{background:rgba(34,197,94,.12);color:#15803d}
.hsy-modal.hsy-modal-developer .hsy-dev-support-ticket-status.closed{background:rgba(100,116,139,.12);color:#475569}
.hsy-modal.hsy-modal-developer .hsy-dev-support-ticket-arrow{font-size:20px;line-height:1;color:var(--muted);transition:transform .18s ease;color:#7c5cff}
.hsy-modal.hsy-modal-developer .hsy-dev-support-ticket:hover .hsy-dev-support-ticket-arrow{transform:translateX(-3px)}
.hsy-modal.hsy-modal-developer .hsy-dev-support-quick{display:flex;align-items:center;gap:12px;padding:18px;border-radius:19px;border:1px solid rgba(109,93,252,.20);background:radial-gradient(circle at 0 0,rgba(109,93,252,.15),transparent 45%),linear-gradient(145deg,var(--field-bg),var(--hover));min-height:100%}
.hsy-modal.hsy-modal-developer .hsy-dev-support-quick-icon{width:43px;height:43px;min-width:43px;border-radius:13px;display:flex;align-items:center;justify-content:center;background:rgba(109,93,252,.12);color:#7c5cff;font-size:22px;font-weight:700}
.hsy-modal.hsy-modal-developer .hsy-dev-support-quick>div:nth-child(2){flex:1;min-width:0}
.hsy-modal.hsy-modal-developer .hsy-dev-support-quick strong{display:block;font-size:13px}
.hsy-modal.hsy-modal-developer .hsy-dev-support-quick small{display:block;margin-top:4px;color:var(--muted);font-size:9px;line-height:1.8}
.hsy-modal.hsy-modal-developer .hsy-dev-support-quick .hsy-btn{margin-top:10px;white-space:nowrap}
.hsy-modal.hsy-modal-developer .hsy-dev-support-empty{display:flex;align-items:center;gap:12px;padding:18px;border:1px dashed var(--border);border-radius:13px;text-align:right}
.hsy-modal.hsy-modal-developer .hsy-dev-support-empty>span{font-size:25px}
.hsy-modal.hsy-modal-developer .hsy-dev-support-empty strong{display:block;font-size:12px}
.hsy-modal.hsy-modal-developer .hsy-dev-support-empty small{display:block;color:var(--muted);font-size:9px;margin-top:3px}
.hsy-modal.hsy-modal-developer .hsy-dev-support-fetch-error{padding:10px 12px;border-radius:11px;background:rgba(239,68,68,.08);color:#b91c1c;font-size:10px}
@media(max-width:820px){.hsy-modal.hsy-modal-developer .hsy-dev-support-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hsy-modal.hsy-modal-developer .hsy-dev-support-lower{grid-template-columns:1fr}.hsy-modal.hsy-modal-developer .hsy-dev-support-quick{min-height:0}}
@media(max-width:600px){.hsy-modal.hsy-modal-developer .hsy-dev-support-hero{grid-template-columns:50px minmax(0,1fr);padding:18px!important;gap:12px;min-height:0}.hsy-modal.hsy-modal-developer .hsy-dev-support-icon{width:50px!important;height:50px!important;border-radius:15px!important}.hsy-modal.hsy-modal-developer .hsy-dev-support-hero-copy strong{font-size:16px!important}.hsy-modal.hsy-modal-developer .hsy-dev-support-hero-copy small{font-size:10px!important}.hsy-modal.hsy-modal-developer .hsy-dev-support-btn{grid-column:1/-1;width:100%;margin-top:2px}.hsy-modal.hsy-modal-developer .hsy-dev-support-grid{grid-template-columns:1fr 1fr;gap:8px}.hsy-modal.hsy-modal-developer .hsy-dev-support-stat{min-height:76px;padding:10px!important}.hsy-modal.hsy-modal-developer .hsy-dev-support-stat-icon{width:32px;height:32px;min-width:32px;font-size:14px}.hsy-modal.hsy-modal-developer .hsy-dev-support-stat strong{font-size:18px!important}.hsy-modal.hsy-modal-developer .hsy-dev-support-ticket{grid-template-columns:auto minmax(0,1fr) auto!important}.hsy-modal.hsy-modal-developer .hsy-dev-support-ticket-status{display:none}.hsy-modal.hsy-modal-developer .hsy-dev-support-badges{display:none}}

/* v7.5.47 — Support Center icon cleanup / premium iconography */
.hsy-modal.hsy-modal-developer .hsy-dev-support-icon{display:flex!important;align-items:center!important;justify-content:center!important;flex:none!important;position:relative!important;overflow:hidden!important}
.hsy-modal.hsy-modal-developer .hsy-dev-support-icon:after{content:'';position:absolute;inset:1px;border-radius:inherit;border:1px solid rgba(255,255,255,.12);pointer-events:none}
.hsy-modal.hsy-modal-developer .hsy-dev-support-icon svg{display:block!important;width:31px!important;height:31px!important;stroke:currentColor!important;color:#fff!important;filter:drop-shadow(0 5px 12px rgba(0,0,0,.2))}
.hsy-modal.hsy-modal-developer .hsy-dev-support-stat-icon{line-height:0!important}
.hsy-modal.hsy-modal-developer .hsy-dev-support-stat-icon svg{display:block!important;width:20px!important;height:20px!important}
.hsy-modal.hsy-modal-developer .hsy-dev-support-quick-icon{line-height:0!important}
.hsy-modal.hsy-modal-developer .hsy-dev-support-quick-icon svg{display:block!important;width:21px!important;height:21px!important}
@media(max-width:600px){.hsy-modal.hsy-modal-developer .hsy-dev-support-icon svg{width:26px!important;height:26px!important}}

/* v7.5.48 - Active AI Models developer tab */
.hsy-modal.hsy-modal-developer .hsy-dev-models-intro{position:relative;display:flex;align-items:center;gap:14px;padding:18px 20px;margin-bottom:14px;border:1px solid rgba(124,92,255,.22);border-radius:20px;background:radial-gradient(circle at 100% 0,rgba(124,92,255,.16),transparent 42%),linear-gradient(135deg,var(--field-bg),var(--hover));overflow:hidden}
.hsy-modal.hsy-modal-developer .hsy-dev-models-intro:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(100deg,transparent 20%,rgba(255,255,255,.035),transparent 80%);transform:translateX(-100%);animation:hsyDevModelShine 5s ease-in-out infinite}
@keyframes hsyDevModelShine{0%,65%{transform:translateX(-100%)}100%{transform:translateX(100%)}}
.hsy-modal.hsy-modal-developer .hsy-dev-models-intro-icon{width:52px;height:52px;min-width:52px;border-radius:16px;display:flex;align-items:center;justify-content:center;background:linear-gradient(145deg,#7c5cff,#4f46e5);color:#fff;font-weight:950;font-size:16px;box-shadow:0 14px 30px rgba(79,70,229,.28)}
.hsy-modal.hsy-modal-developer .hsy-dev-models-kicker{display:block;color:#7c5cff;font-size:8px;font-weight:950;letter-spacing:1.5px;margin-bottom:3px;direction:ltr;text-align:right}
.hsy-modal.hsy-modal-developer .hsy-dev-models-intro strong{display:block;font-size:17px;font-weight:900}
.hsy-modal.hsy-modal-developer .hsy-dev-models-intro p{margin:4px 0 0;color:var(--muted);font-size:10px;line-height:1.9}
.hsy-modal.hsy-modal-developer .hsy-dev-active-models-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.hsy-modal.hsy-modal-developer .hsy-dev-active-model-card{position:relative;padding:16px;border:1px solid var(--border);border-radius:19px;background:linear-gradient(145deg,var(--field-bg),var(--hover));overflow:hidden;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
.hsy-modal.hsy-modal-developer .hsy-dev-active-model-card:before{content:'';position:absolute;inset:0 0 auto 0;height:2px;background:linear-gradient(90deg,#7c5cff,#22c7b8);opacity:.75}
.hsy-modal.hsy-modal-developer .hsy-dev-active-model-card:hover{transform:translateY(-3px);border-color:rgba(124,92,255,.34);box-shadow:0 18px 40px rgba(0,0,0,.10)}
.hsy-modal.hsy-modal-developer .hsy-dev-active-model-top{display:flex;align-items:center;justify-content:space-between;gap:10px}
.hsy-modal.hsy-modal-developer .hsy-dev-active-model-avatar{width:46px;height:46px;border-radius:14px;display:flex;align-items:center;justify-content:center;background:rgba(124,92,255,.11);border:1px solid rgba(124,92,255,.18);color:#7c5cff;font-size:12px;font-weight:950;overflow:hidden}
.hsy-modal.hsy-modal-developer .hsy-dev-active-model-avatar img{width:100%;height:100%;object-fit:contain;padding:8px}
.hsy-modal.hsy-modal-developer .hsy-dev-active-model-status{display:inline-flex;align-items:center;gap:5px;padding:5px 8px;border-radius:999px;background:rgba(16,185,129,.10);color:#059669;font-size:9px;font-weight:900}
.hsy-modal.hsy-modal-developer .hsy-dev-active-model-status i{width:6px;height:6px;border-radius:50%;background:#10b981;box-shadow:0 0 0 4px rgba(16,185,129,.09)}
.hsy-modal.hsy-modal-developer .hsy-dev-active-model-name{margin-top:12px;min-width:0}
.hsy-modal.hsy-modal-developer .hsy-dev-active-model-name strong{display:block;font-size:14px;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hsy-modal.hsy-modal-developer .hsy-dev-active-model-name code{display:block;margin-top:4px;color:var(--muted);font-size:9px;direction:ltr;text-align:right;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hsy-modal.hsy-modal-developer .hsy-dev-active-model-meta{display:flex;justify-content:space-between;gap:8px;margin-top:12px;padding-top:10px;border-top:1px solid var(--border);color:var(--muted);font-size:9px}
.hsy-modal.hsy-modal-developer .hsy-dev-active-model-meta span:last-child{color:#7c5cff;font-weight:800}
.hsy-modal.hsy-modal-developer .hsy-dev-active-model-caps{display:flex;flex-wrap:wrap;gap:5px;margin-top:10px;min-height:24px}
.hsy-modal.hsy-modal-developer .hsy-dev-active-model-caps span{padding:4px 7px;border-radius:7px;background:rgba(124,92,255,.08);border:1px solid rgba(124,92,255,.12);color:var(--text-soft);font-size:8px}
.hsy-modal.hsy-modal-developer .hsy-dev-model-use{width:100%;margin-top:12px!important;min-height:38px!important;font-size:10px!important}
.hsy-modal.hsy-modal-developer .hsy-dev-models-empty{grid-column:1/-1;text-align:center;padding:38px 20px;border:1px dashed var(--border);border-radius:20px;background:var(--field-bg)}
.hsy-modal.hsy-modal-developer .hsy-dev-models-empty-icon{width:50px;height:50px;margin:0 auto 10px;border-radius:15px;display:flex;align-items:center;justify-content:center;background:rgba(124,92,255,.10);color:#7c5cff;font-weight:900}
.hsy-modal.hsy-modal-developer .hsy-dev-models-empty strong{display:block;font-size:13px}
.hsy-modal.hsy-modal-developer .hsy-dev-models-empty small{display:block;margin-top:5px;color:var(--muted);font-size:9px}
@media(max-width:650px){.hsy-modal.hsy-modal-developer .hsy-dev-active-models-grid{grid-template-columns:1fr}.hsy-modal.hsy-modal-developer .hsy-dev-models-intro{padding:15px}.hsy-modal.hsy-modal-developer .hsy-dev-models-intro-icon{width:44px;height:44px;min-width:44px}.hsy-modal.hsy-modal-developer .hsy-dev-models-intro strong{font-size:15px}}

/* v7.5.49 — Developer credit store */
.hsy-dev-credit-store{overflow:hidden}
.hsy-dev-credit-store-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:18px;padding:16px 18px;border:1px solid rgba(124,92,255,.18);border-radius:18px;background:linear-gradient(135deg,rgba(124,92,255,.10),rgba(255,255,255,.025))}
.hsy-dev-credit-store-head strong{display:block;font-size:16px;margin-bottom:5px}
.hsy-dev-credit-store-head span:not(.hsy-dev-credit-balance){display:block;opacity:.68;font-size:12px;line-height:1.8}
.hsy-dev-credit-balance{white-space:nowrap;font-weight:800;padding:9px 13px;border-radius:999px;background:rgba(124,92,255,.12);border:1px solid rgba(124,92,255,.2)}
.hsy-dev-package-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.hsy-dev-package-card{position:relative;padding:20px;border-radius:20px;border:1px solid rgba(255,255,255,.09);background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.018));transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
.hsy-dev-package-card:hover{transform:translateY(-3px);border-color:rgba(124,92,255,.42);box-shadow:0 18px 45px rgba(0,0,0,.16)}
.hsy-dev-package-card.is-featured{border-color:rgba(124,92,255,.55);background:linear-gradient(145deg,rgba(124,92,255,.17),rgba(67,120,255,.06))}
.hsy-dev-package-badge{position:absolute;top:12px;left:12px;padding:5px 9px;border-radius:999px;font-size:10px;font-weight:800;background:rgba(124,92,255,.18);color:#a99aff;border:1px solid rgba(124,92,255,.25)}
.hsy-dev-package-name{font-weight:800;font-size:15px;margin-bottom:14px}
.hsy-dev-package-credits{font-size:28px;font-weight:900;line-height:1.1}
.hsy-dev-package-unit{font-size:11px;opacity:.58;margin-top:4px}
.hsy-dev-package-price{font-size:14px;font-weight:800;margin:17px 0 14px}
.hsy-dev-package-card .hsy-btn{width:100%;justify-content:center;min-height:42px}
.hsy-dev-package-card .hsy-btn.is-loading{opacity:.65;pointer-events:none}
@media(max-width:1050px){.hsy-dev-package-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.hsy-dev-credit-store-head{align-items:flex-start;flex-direction:column}.hsy-dev-credit-balance{width:100%;text-align:center}.hsy-dev-package-grid{grid-template-columns:1fr}.hsy-dev-package-card{padding:18px}}
/* v7.5.49+ Developer credit packages: custom labels/descriptions */
.hsy-modal.hsy-modal-developer .hsy-dev-package-description{font-size:11px;line-height:1.8;opacity:.62;min-height:40px;margin-top:-7px;margin-bottom:8px}
.hsy-modal.hsy-modal-developer .hsy-dev-package-badge{max-width:calc(100% - 24px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@media(max-width:640px){.hsy-modal.hsy-modal-developer .hsy-dev-package-description{min-height:0}}

/* Developer custom tabs v7.5.52 */
.hsy-dev-custom-content{font-size:15px;line-height:2;color:inherit}
.hsy-dev-custom-content h1,.hsy-dev-custom-content h2,.hsy-dev-custom-content h3{margin:0 0 12px;font-weight:850}
.hsy-dev-custom-content p{margin:0 0 12px}
.hsy-dev-custom-content a{font-weight:750;text-decoration:none}
.hsy-dev-custom-content img{max-width:100%;height:auto;border-radius:14px}
.hsy-dev-custom-content ul,.hsy-dev-custom-content ol{padding-inline-start:24px}
.hsy-dev-menu-content{grid-column:1/-1;min-height:90px}

/* Hooshyar AI 7.5.56 — Ultra Premium Customer Support Center */
.hsy-modal.hsy-modal-ticket,
.hsy-ticket-modal{max-width:1040px!important;width:min(1040px,96vw)!important;border-radius:30px!important;background:linear-gradient(180deg,#ffffff 0%,#f8fafc 100%)!important;border:1px solid rgba(15,23,42,.08)!important;box-shadow:0 30px 90px rgba(15,23,42,.20)!important;overflow:hidden!important}
.hsy-ticket-modal{padding:0!important}
.hsy-ticket-modal #hsy-ticket-body{padding:26px 28px 30px!important;max-height:min(82vh,820px);overflow:auto;scrollbar-width:thin}
.hsy-ticket-brand{position:relative!important;margin:0 -28px 24px!important;padding:22px 28px 20px!important;border-bottom:1px solid rgba(15,23,42,.07)!important;background:linear-gradient(135deg,#0f172a 0%,#1e293b 55%,#312e81 100%)!important;color:#fff!important;overflow:hidden}
.hsy-ticket-brand:before{content:'';position:absolute;width:230px;height:230px;border-radius:50%;left:-100px;top:-155px;background:rgba(255,255,255,.07)}
.hsy-ticket-brand:after{content:'';position:absolute;width:180px;height:180px;border-radius:50%;right:-70px;bottom:-125px;background:rgba(129,140,248,.18)}
.hsy-ticket-brand>*{position:relative;z-index:1}
.hsy-ticket-brand-icon{width:52px!important;height:52px!important;border-radius:17px!important;background:rgba(255,255,255,.12)!important;border:1px solid rgba(255,255,255,.14)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 10px 25px rgba(0,0,0,.15)!important}
.hsy-ticket-brand strong{font-size:19px!important;letter-spacing:-.3px}.hsy-ticket-brand span{color:rgba(255,255,255,.66)!important;font-size:11px!important}
.hsy-ticket-overview{padding:22px 22px!important;border-radius:22px!important;border:1px solid #e6eaf1!important;background:linear-gradient(135deg,#fff,#f7f8fc)!important;box-shadow:0 14px 35px rgba(15,23,42,.07)!important}
.hsy-ticket-overline{font-size:9px!important;font-weight:900!important;letter-spacing:.16em!important;color:#6366f1!important}
.hsy-ticket-overview-main strong{font-size:23px!important;letter-spacing:-.5px!important}.hsy-ticket-overview-main>span:last-child{font-size:11px!important;color:#64748b!important}
.hsy-ticket-new-btn{border:0!important;border-radius:13px!important;background:linear-gradient(135deg,#4f46e5,#7c3aed)!important;color:#fff!important;font-weight:800!important;box-shadow:0 9px 22px rgba(79,70,229,.22)!important;padding:11px 16px!important}
.hsy-ticket-metrics{gap:12px!important;margin:14px 0 16px!important}
.hsy-ticket-metric{position:relative!important;min-height:82px!important;box-sizing:border-box!important;padding:15px 16px!important;border:1px solid #e7ebf1!important;border-radius:18px!important;background:#fff!important;box-shadow:0 7px 20px rgba(15,23,42,.045)!important;overflow:hidden!important}
.hsy-ticket-metric:after{content:'';position:absolute;width:58px;height:58px;border-radius:50%;right:-20px;bottom:-30px;background:currentColor;opacity:.05}
.hsy-ticket-metric span{font-size:10px!important;font-weight:700!important;color:#64748b!important}.hsy-ticket-metric strong{font-size:25px!important;line-height:1.3!important;margin-top:4px!important}
.hsy-ticket-tools{grid-template-columns:minmax(0,1fr) 160px!important;gap:10px!important;margin:0 0 13px!important}
.hsy-ticket-search,.hsy-ticket-filter{height:44px!important;border-radius:14px!important;border:1px solid #e1e6ee!important;background:#fff!important;box-shadow:0 5px 15px rgba(15,23,42,.035)!important}
.hsy-ticket-search{padding:0 15px!important}.hsy-ticket-search:focus,.hsy-ticket-filter:focus{border-color:#818cf8!important;box-shadow:0 0 0 4px rgba(99,102,241,.10)!important}
.hsy-ticket-list-pro{gap:10px!important}
.hsy-ticket-card-pro{display:block!important;min-height:112px!important;box-sizing:border-box!important;padding:17px 48px 15px 18px!important;margin:0!important;border:1px solid #e5e9f0!important;border-radius:19px!important;background:linear-gradient(135deg,#fff,#fafbfc)!important;box-shadow:0 6px 20px rgba(15,23,42,.045)!important}
.hsy-ticket-card-pro:hover{border-color:#c7ccda!important;transform:translateY(-2px)!important;box-shadow:0 14px 32px rgba(15,23,42,.09)!important}
.hsy-ticket-card-pro:before{width:4px!important;opacity:.18!important;border-radius:0 4px 4px 0!important;background:#6366f1!important}
.hsy-ticket-card-pro:has(.st-open):before{background:#f59e0b!important}.hsy-ticket-card-pro:has(.st-answered):before{background:#22c55e!important}.hsy-ticket-card-pro:has(.st-closed):before{background:#94a3b8!important}
.hsy-ticket-card-top{margin-bottom:2px!important}.hsy-ticket-number{font-family:ui-monospace,SFMono-Regular,Menlo,monospace!important;font-weight:800!important;color:#64748b!important}
.hsy-ticket-status{padding:5px 10px!important;font-size:9.5px!important;font-weight:900!important;letter-spacing:.01em!important}
.hsy-ticket-card-title{font-size:14px!important;line-height:1.7!important;margin:7px 0!important;max-width:80%!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.hsy-ticket-card-meta{font-size:10px!important;gap:12px!important}.hsy-ticket-card-bottom{display:flex!important;justify-content:flex-start!important;gap:7px!important;margin-top:9px!important}
.hsy-ticket-id-chip{font-size:9px!important;color:#64748b!important;background:#f1f5f9!important;padding:4px 7px!important;border-radius:7px!important;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}
.hsy-ticket-new-dot{font-size:9px!important;font-weight:800!important;color:#15803d!important;background:#dcfce7!important;border-radius:999px!important;padding:4px 8px!important}
.hsy-ticket-arrow{left:17px!important;width:30px;height:30px;display:flex;align-items:center;justify-content:center;border-radius:10px;background:#f1f5f9;color:#6366f1!important;font-size:20px!important}
.hsy-ticket-thread-head{padding:16px 17px!important;margin-bottom:15px!important;border:1px solid #e5e9f0!important;border-radius:18px!important;background:linear-gradient(135deg,#fff,#f8fafc)!important;box-shadow:0 8px 22px rgba(15,23,42,.045)!important}
.hsy-ticket-thread-head h3{font-size:18px!important;line-height:1.6!important;margin:5px 0 0!important;max-width:680px!important}
.hsy-tk-thread-pro{max-height:470px!important;padding:5px 5px 16px!important;scrollbar-width:thin}
.hsy-tk-msg{max-width:78%!important;padding:15px 17px!important;border-radius:19px!important;box-shadow:0 8px 22px rgba(15,23,42,.055)!important}
.hsy-tk-msg.user{border-top-right-radius:6px!important;background:#fff!important}.hsy-tk-msg.admin{border-top-left-radius:6px!important;background:linear-gradient(135deg,#111827,#312e81)!important;box-shadow:0 12px 28px rgba(49,46,129,.18)!important}
.hsy-tk-meta{font-size:9.5px!important;margin-bottom:8px!important}.hsy-tk-content{font-size:13px!important;line-height:2!important}
.hsy-ticket-message-avatar{width:26px!important;height:26px!important;flex-basis:26px!important;border:2px solid rgba(255,255,255,.6)!important}
.hsy-ticket-reply-actions{grid-template-columns:minmax(0,1fr) auto!important;gap:10px!important;padding:14px 0 0!important}
#hsy-tk-reply{min-height:115px!important;border-radius:18px!important;border:1px solid #dce2eb!important;background:#fff!important;box-shadow:0 7px 22px rgba(15,23,42,.045)!important;padding:15px 17px!important;line-height:1.9!important}
#hsy-tk-reply:focus{border-color:#818cf8!important;box-shadow:0 0 0 4px rgba(99,102,241,.10)!important}
.hsy-ticket-reply-actions .hsy-modal-btn{min-height:46px!important;padding:0 22px!important;border-radius:14px!important;background:linear-gradient(135deg,#4f46e5,#7c3aed)!important;color:#fff!important;font-weight:900!important;box-shadow:0 9px 22px rgba(79,70,229,.2)!important}
.hsy-ticket-close-btn{min-height:46px!important;border-radius:14px!important;background:#fff!important}
.hsy-ticket-attachments{display:flex!important;flex-wrap:wrap!important;gap:7px!important;margin-top:12px!important}.hsy-ticket-attachment{padding:7px 10px!important;border-radius:10px!important;border:1px solid currentColor!important;text-decoration:none!important;font-size:10px!important;opacity:.8}
.hsy-ticket-rating{margin-top:18px!important;padding:20px!important;border:1px solid #e6eaf1!important;border-radius:20px!important;background:linear-gradient(135deg,#fff,#fafbff)!important;box-shadow:0 8px 25px rgba(15,23,42,.05)!important}
.hsy-ticket-stars-display{font-size:26px!important;letter-spacing:4px!important;margin:7px 0!important}.hsy-ticket-rating-stars{display:flex!important;gap:5px!important;margin:12px 0!important}.hsy-ticket-star{width:40px!important;height:40px!important;border-radius:12px!important;border:1px solid #e3e7ee!important;background:#fff!important;font-size:22px!important;cursor:pointer!important;transition:.15s!important}.hsy-ticket-star:hover,.hsy-ticket-star.is-selected{background:#fff7ed!important;border-color:#fbbf24!important;color:#d97706!important;transform:translateY(-2px)!important}
.hsy-ticket-rating-comment-input{width:100%!important;box-sizing:border-box!important;border:1px solid #e0e5ed!important;border-radius:14px!important;padding:12px!important;min-height:80px!important;background:#fff!important}
.hsy-ticket-form-intro{padding:18px!important;border-radius:18px!important;box-shadow:0 7px 20px rgba(15,23,42,.04)!important}.hsy-ticket-form-intro strong{font-size:17px!important}.hsy-ticket-form-intro span{font-size:10.5px!important}
#hsy-tk-subj,#hsy-tk-priority,#hsy-tk-department,#hsy-tk-msg{width:100%!important;box-sizing:border-box!important;border:1px solid #dfe5ed!important;border-radius:14px!important;background:#fff!important;padding:12px 14px!important;min-height:45px!important;margin-bottom:13px!important}
#hsy-tk-msg{min-height:145px!important;line-height:1.9!important;resize:vertical!important}
.hsy-ticket-back{display:inline-flex!important;align-items:center!important;gap:7px!important;padding:8px 10px!important;border-radius:10px!important;background:#f1f5f9!important;color:#475569!important;text-decoration:none!important;margin-bottom:10px!important}
.hsy-ticket-support-notices{display:grid!important;gap:9px!important;margin:10px 0 15px!important}.hsy-ticket-notice,.hsy-ticket-hours{border-radius:15px!important;border:1px solid #e5e9f0!important;box-shadow:0 6px 18px rgba(15,23,42,.035)!important;padding:12px 14px!important}
@media(max-width:700px){.hsy-modal.hsy-modal-ticket,.hsy-ticket-modal{width:100%!important;max-width:100%!important;border-radius:22px!important}.hsy-ticket-modal #hsy-ticket-body{padding:18px 16px 24px!important;max-height:86vh}.hsy-ticket-brand{margin:0 -16px 18px!important;padding:18px 16px!important}.hsy-ticket-overview{align-items:flex-start!important;flex-direction:column!important}.hsy-ticket-new-btn{width:100%!important}.hsy-ticket-metrics{grid-template-columns:1fr 1fr!important}.hsy-ticket-card-title{max-width:90%!important}.hsy-tk-msg{max-width:91%!important}.hsy-ticket-reply-actions{grid-template-columns:1fr!important}.hsy-ticket-close-btn{width:100%!important}.hsy-ticket-thread-head{align-items:flex-start!important}.hsy-ticket-thread-head h3{font-size:15px!important}}
@media(max-width:420px){.hsy-ticket-metrics{gap:8px!important}.hsy-ticket-metric{min-height:72px!important;padding:12px!important}.hsy-ticket-metric strong{font-size:21px!important}.hsy-ticket-card-pro{padding-right:42px!important}.hsy-ticket-card-meta{flex-wrap:wrap!important}.hsy-ticket-arrow{left:10px!important}}

/* Hooshyar AI 7.5.57 — Signature Support Experience */
.hsy-modal.hsy-modal-ticket{padding:0!important;background:transparent!important;box-shadow:none!important;max-width:none!important;width:auto!important;overflow:visible!important}
.hsy-modal.hsy-modal-ticket .hsy-modal-close{z-index:20!important;top:18px!important;left:18px!important;width:38px!important;height:38px!important;border-radius:12px!important;background:rgba(255,255,255,.12)!important;color:#fff!important;border:1px solid rgba(255,255,255,.16)!important;backdrop-filter:blur(12px)!important;box-shadow:0 8px 24px rgba(2,6,23,.18)!important}
.hsy-modal.hsy-modal-ticket .hsy-modal-close:hover{background:rgba(255,255,255,.22)!important;transform:translateY(-1px)!important}
.hsy-ticket-modal{position:relative!important;isolation:isolate!important;max-width:1180px!important;width:min(1180px,96vw)!important;border-radius:32px!important;background:#f6f8fc!important;border:1px solid rgba(255,255,255,.75)!important;box-shadow:0 42px 120px rgba(15,23,42,.27),0 8px 30px rgba(15,23,42,.10)!important;overflow:hidden!important}
.hsy-ticket-modal:before{content:'';position:absolute;inset:0;pointer-events:none;background:radial-gradient(circle at 10% 0%,rgba(99,102,241,.13),transparent 25%),radial-gradient(circle at 100% 10%,rgba(124,58,237,.11),transparent 24%);z-index:-1}
.hsy-ticket-brand{position:relative!important;display:flex!important;align-items:center!important;gap:15px!important;margin:0!important;padding:24px 72px 24px 28px!important;border:0!important;background:linear-gradient(115deg,#0b1020 0%,#151a34 48%,#312e81 100%)!important;color:#fff!important;box-shadow:0 16px 40px rgba(15,23,42,.20)!important;overflow:hidden!important}
.hsy-ticket-brand:before{content:'';position:absolute;right:-90px;top:-110px;width:290px;height:290px;border-radius:50%;border:1px solid rgba(255,255,255,.09);box-shadow:0 0 0 35px rgba(255,255,255,.025),0 0 0 70px rgba(255,255,255,.018)}
.hsy-ticket-brand:after{content:'SUPPORT CENTER';position:absolute;left:29px;bottom:9px;font-size:8px;font-weight:900;letter-spacing:.28em;color:rgba(255,255,255,.24)}
.hsy-ticket-brand-icon{position:relative!important;z-index:1;width:54px!important;height:54px!important;flex:0 0 54px!important;border-radius:17px!important;background:linear-gradient(135deg,#6366f1,#8b5cf6)!important;color:#fff!important;box-shadow:0 12px 30px rgba(99,102,241,.32)!important;border:1px solid rgba(255,255,255,.18)!important}
.hsy-ticket-brand-icon svg{width:27px!important;height:27px!important}
.hsy-ticket-brand>div:last-child{position:relative;z-index:1}.hsy-ticket-brand strong{font-size:21px!important;font-weight:900!important;letter-spacing:-.4px!important}.hsy-ticket-brand span{font-size:11px!important;color:rgba(255,255,255,.63)!important;margin-top:4px!important}
.hsy-ticket-modal #hsy-ticket-body{padding:28px 30px 34px!important;max-height:min(78vh,850px)!important;background:var(--hsy-ticket-surface,#141414)!important;overflow:auto!important;scrollbar-width:thin!important}
.hsy-ticket-modal #hsy-ticket-body::-webkit-scrollbar{width:7px}.hsy-ticket-modal #hsy-ticket-body::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:99px}
.hsy-ticket-overview{position:relative!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:20px!important;padding:27px 28px!important;border-radius:25px!important;border:1px solid #e6eaf2!important;background:linear-gradient(135deg,#fff 0%,#fbfcff 55%,#f3f4ff 100%)!important;box-shadow:0 18px 45px rgba(15,23,42,.07)!important;overflow:hidden!important}
.hsy-ticket-overview:before{content:'';position:absolute;right:0;top:0;width:5px;height:100%;background:linear-gradient(180deg,#6366f1,#8b5cf6);opacity:.9}
.hsy-ticket-overview-main{position:relative;z-index:1}.hsy-ticket-overline{display:inline-flex!important;align-items:center!important;gap:6px!important;font-size:9px!important;letter-spacing:.18em!important;text-transform:uppercase!important;color:#6366f1!important;font-weight:950!important}.hsy-ticket-overline:before{content:'';width:7px;height:7px;border-radius:50%;background:#6366f1;box-shadow:0 0 0 5px rgba(99,102,241,.10)}
.hsy-ticket-overview-main strong{display:block!important;font-size:26px!important;font-weight:950!important;letter-spacing:-.7px!important;color:#111827!important;margin-top:8px!important}.hsy-ticket-overview-main>span:last-child{display:block!important;font-size:11px!important;color:#64748b!important;margin-top:6px!important}
.hsy-ticket-new-btn{position:relative!important;z-index:1!important;min-height:48px!important;padding:0 19px!important;border-radius:15px!important;border:1px solid rgba(255,255,255,.18)!important;background:linear-gradient(135deg,#4f46e5,#7c3aed)!important;box-shadow:0 12px 28px rgba(79,70,229,.25)!important;font-weight:900!important}
.hsy-ticket-new-btn:hover{transform:translateY(-2px)!important;box-shadow:0 17px 34px rgba(79,70,229,.30)!important}
.hsy-ticket-metrics{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:14px!important;margin:15px 0 18px!important}.hsy-ticket-metric{min-height:96px!important;padding:18px 19px!important;border-radius:21px!important;border:1px solid #e5eaf2!important;background:rgba(255,255,255,.88)!important;box-shadow:0 12px 30px rgba(15,23,42,.055)!important;transition:.2s ease!important}.hsy-ticket-metric:hover{transform:translateY(-3px)!important;box-shadow:0 20px 40px rgba(15,23,42,.09)!important}.hsy-ticket-metric span{font-size:10px!important;font-weight:800!important;color:#64748b!important}.hsy-ticket-metric strong{font-size:29px!important;font-weight:950!important;letter-spacing:-1px!important;color:#0f172a!important}.hsy-ticket-metric.is-open strong{color:#d97706!important}.hsy-ticket-metric.is-answered strong{color:#16a34a!important}.hsy-ticket-metric.is-closed strong{color:#64748b!important}
.hsy-ticket-tools{display:flex!important;gap:10px!important;margin:0 0 14px!important}.hsy-ticket-search{height:48px!important;padding:0 17px!important;border-radius:15px!important;border:1px solid #dfe5ee!important;background:#fff!important;box-shadow:0 8px 22px rgba(15,23,42,.04)!important;font-size:12px!important}.hsy-ticket-search::placeholder{color:#94a3b8}.hsy-ticket-search:focus{border-color:#818cf8!important;box-shadow:0 0 0 4px rgba(99,102,241,.10),0 10px 25px rgba(15,23,42,.05)!important}
.hsy-ticket-list-pro{display:grid!important;gap:11px!important}.hsy-ticket-card-pro{position:relative!important;min-height:128px!important;padding:18px 54px 17px 20px!important;border:1px solid #e3e8f0!important;border-radius:21px!important;background:linear-gradient(135deg,rgba(255,255,255,.98),rgba(249,250,252,.98))!important;box-shadow:0 9px 26px rgba(15,23,42,.045)!important;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease!important;overflow:hidden!important}.hsy-ticket-card-pro:after{content:'';position:absolute;left:0;right:0;bottom:0;height:1px;background:linear-gradient(90deg,transparent,#e2e8f0,transparent)}.hsy-ticket-card-pro:hover{transform:translateY(-3px)!important;border-color:#cfd6e4!important;box-shadow:0 22px 45px rgba(15,23,42,.10)!important}.hsy-ticket-card-pro:before{width:4px!important;right:0!important;left:auto!important;opacity:.75!important;background:#6366f1!important}.hsy-ticket-card-pro:has(.st-open):before{background:#f59e0b!important}.hsy-ticket-card-pro:has(.st-answered):before{background:#22c55e!important}.hsy-ticket-card-pro:has(.st-closed):before{background:#94a3b8!important}
.hsy-ticket-card-top{margin-bottom:3px!important}.hsy-ticket-number{font-size:10px!important;font-weight:900!important;color:#64748b!important;letter-spacing:.04em!important}.hsy-ticket-status{padding:6px 10px!important;border:1px solid transparent!important;font-size:9px!important;font-weight:950!important}.hsy-ticket-status.st-open{background:#fff7ed!important;color:#c2410c!important;border-color:#fed7aa!important}.hsy-ticket-status.st-answered{background:#f0fdf4!important;color:#15803d!important;border-color:#bbf7d0!important}.hsy-ticket-status.st-closed{background:#f8fafc!important;color:#64748b!important;border-color:#e2e8f0!important}.hsy-ticket-card-title{font-size:15px!important;font-weight:900!important;color:#111827!important;margin:9px 0 8px!important;max-width:82%!important}.hsy-ticket-card-meta{font-size:10px!important;color:#64748b!important;gap:14px!important}.hsy-ticket-priority{font-weight:800!important}.hsy-ticket-priority.p-high{color:#dc2626!important}.hsy-ticket-card-bottom{margin-top:11px!important;gap:7px!important}.hsy-ticket-id-chip{font-size:9px!important;background:#f1f5f9!important;color:#64748b!important;border:1px solid #e2e8f0!important}.hsy-ticket-new-dot{font-size:9px!important;border:1px solid #bbf7d0!important}.hsy-ticket-arrow{left:17px!important;width:34px!important;height:34px!important;border-radius:11px!important;background:#f8fafc!important;border:1px solid #e5eaf1!important;color:#6366f1!important;font-weight:900!important;transition:.18s ease!important}.hsy-ticket-card-pro:hover .hsy-ticket-arrow{background:#eef2ff!important;border-color:#c7d2fe!important;transform:translate(-2px,-50%)!important}
.hsy-ticket-thread-head{position:relative!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:18px!important;padding:22px 23px!important;margin-bottom:18px!important;border:1px solid #e1e7f0!important;border-radius:23px!important;background:linear-gradient(135deg,#fff,#f7f8ff)!important;box-shadow:0 16px 38px rgba(15,23,42,.07)!important}.hsy-ticket-thread-head:before{content:'TICKET';position:absolute;left:20px;bottom:10px;font-size:8px;font-weight:950;letter-spacing:.2em;color:#cbd5e1}.hsy-ticket-thread-head h3{font-size:20px!important;font-weight:950!important;letter-spacing:-.4px!important;color:#111827!important;margin:7px 0 0!important}.hsy-ticket-thread-head .hsy-ticket-number{font-size:10px!important;color:#6366f1!important;background:#eef2ff!important;border:1px solid #e0e7ff!important;padding:5px 8px!important;border-radius:8px!important}
.hsy-tk-thread-pro{display:flex!important;flex-direction:column!important;gap:13px!important;max-height:500px!important;padding:5px 8px 20px!important}.hsy-tk-msg{position:relative!important;max-width:76%!important;padding:16px 18px!important;border:1px solid #e4e9f1!important;border-radius:20px!important;box-shadow:0 10px 26px rgba(15,23,42,.055)!important;animation:hsyTicketMessageIn .25s ease both!important}.hsy-tk-msg.user{align-self:flex-end!important;border-top-right-radius:7px!important;background:#fff!important}.hsy-tk-msg.admin{align-self:flex-start!important;border:1px solid rgba(99,102,241,.20)!important;border-top-left-radius:7px!important;background:linear-gradient(145deg,#111827,#25204d 72%,#312e81)!important;color:#fff!important;box-shadow:0 16px 34px rgba(49,46,129,.18)!important}.hsy-tk-meta{font-size:9.5px!important;margin-bottom:9px!important}.hsy-tk-msg.admin .hsy-tk-meta{color:rgba(255,255,255,.62)!important}.hsy-tk-msg.user .hsy-tk-meta{color:#64748b!important}.hsy-tk-content{font-size:13px!important;line-height:2.05!important}.hsy-tk-msg.admin .hsy-tk-content{color:#f8fafc!important}.hsy-ticket-message-avatar{width:28px!important;height:28px!important;flex-basis:28px!important;border-radius:10px!important;border:2px solid rgba(255,255,255,.28)!important}.hsy-ticket-attachments{padding-top:4px!important}.hsy-ticket-attachment{display:inline-flex!important;align-items:center!important;gap:6px!important;padding:8px 10px!important;border-radius:11px!important;background:rgba(99,102,241,.07)!important;border:1px solid rgba(99,102,241,.18)!important;color:#4f46e5!important;font-weight:800!important}.hsy-tk-msg.admin .hsy-ticket-attachment{background:rgba(255,255,255,.08)!important;border-color:rgba(255,255,255,.14)!important;color:#fff!important}
@keyframes hsyTicketMessageIn{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:none}}
#hsy-tk-reply{min-height:130px!important;border-radius:20px!important;border:1px solid #dbe2ec!important;background:#fff!important;box-shadow:0 12px 30px rgba(15,23,42,.055)!important;padding:17px 18px!important;font-size:13px!important;line-height:2!important}#hsy-tk-reply:focus{border-color:#818cf8!important;box-shadow:0 0 0 4px rgba(99,102,241,.10),0 15px 34px rgba(15,23,42,.07)!important}.hsy-ticket-reply-actions{grid-template-columns:minmax(0,1fr) auto!important;gap:11px!important;margin-top:11px!important}.hsy-ticket-reply-actions .hsy-modal-btn{min-height:50px!important;border-radius:15px!important;background:linear-gradient(135deg,#4f46e5,#7c3aed)!important;box-shadow:0 13px 28px rgba(79,70,229,.24)!important}.hsy-ticket-close-btn{min-height:50px!important;padding:0 19px!important;border-radius:15px!important;background:#fff!important;border:1px solid #dfe5ee!important;font-weight:800!important}.hsy-ticket-close-btn:hover{border-color:#cbd5e1!important;background:#f8fafc!important}
.hsy-ticket-rating{padding:24px!important;border-radius:23px!important;border:1px solid #e2e8f0!important;background:linear-gradient(135deg,#fff,#f7f7ff)!important;box-shadow:0 18px 40px rgba(15,23,42,.065)!important}.hsy-ticket-rating-title{font-size:15px!important;font-weight:950!important}.hsy-ticket-stars-display{font-size:31px!important;letter-spacing:5px!important}.hsy-ticket-star{width:45px!important;height:45px!important;border-radius:13px!important;background:#fff!important;border:1px solid #e1e6ef!important;box-shadow:0 6px 15px rgba(15,23,42,.04)!important}.hsy-ticket-star:hover,.hsy-ticket-star.is-selected{background:#fffbeb!important;border-color:#fbbf24!important;box-shadow:0 8px 20px rgba(245,158,11,.13)!important}
.hsy-ticket-form-intro{padding:23px 24px!important;border-radius:22px!important;border:1px solid #e4e9f1!important;background:linear-gradient(135deg,#fff,#f7f8ff)!important;box-shadow:0 14px 34px rgba(15,23,42,.055)!important}.hsy-ticket-form-intro strong{font-size:20px!important;font-weight:950!important}.hsy-ticket-form-intro span{font-size:11px!important;color:#64748b!important;margin-top:5px!important}.hsy-ticket-modal #hsy-ticket-body>label{display:block!important;font-size:10px!important;font-weight:900!important;color:#475569!important;margin:14px 2px 7px!important}.hsy-ticket-modal #hsy-ticket-body input[type=file]{width:100%!important;padding:12px!important;border:1px dashed #cbd5e1!important;border-radius:15px!important;background:#fff!important;box-sizing:border-box!important}.hsy-ticket-modal #hsy-ticket-body input[type=file]:hover{border-color:#818cf8!important;background:#fafaff!important}
.hsy-ticket-empty-user{padding:55px 25px!important;border:1px dashed #cbd5e1!important;border-radius:24px!important;background:rgba(255,255,255,.72)!important}.hsy-ticket-empty-icon{width:68px!important;height:68px!important;border-radius:21px!important;background:linear-gradient(135deg,#eef2ff,#f5f3ff)!important;color:#6366f1!important;box-shadow:0 12px 28px rgba(99,102,241,.10)!important}.hsy-ticket-empty-user strong{font-size:18px!important;font-weight:950!important}.hsy-ticket-empty-user span{font-size:11px!important;color:#64748b!important}.hsy-ticket-support-notices{gap:10px!important}.hsy-ticket-notice,.hsy-ticket-hours{border-radius:17px!important;border:1px solid #e4e9f1!important;background:#fff!important;box-shadow:0 8px 22px rgba(15,23,42,.04)!important;padding:14px 16px!important}
@media(max-width:800px){.hsy-ticket-modal{width:100%!important;border-radius:25px!important}.hsy-ticket-modal #hsy-ticket-body{padding:20px 17px 26px!important;max-height:88vh!important}.hsy-ticket-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}.hsy-ticket-overview{padding:22px!important}.hsy-ticket-overview-main strong{font-size:21px!important}.hsy-ticket-brand{padding:20px 60px 22px 18px!important}.hsy-ticket-thread-head h3{font-size:16px!important}.hsy-tk-msg{max-width:89%!important}}
@media(max-width:480px){.hsy-ticket-brand{padding:18px 54px 22px 15px!important}.hsy-ticket-brand-icon{width:46px!important;height:46px!important;flex-basis:46px!important}.hsy-ticket-brand strong{font-size:17px!important}.hsy-ticket-modal #hsy-ticket-body{padding:16px 13px 22px!important}.hsy-ticket-overview{align-items:stretch!important;flex-direction:column!important}.hsy-ticket-new-btn{width:100%!important}.hsy-ticket-metrics{gap:8px!important}.hsy-ticket-metric{min-height:78px!important;padding:13px!important}.hsy-ticket-metric strong{font-size:23px!important}.hsy-ticket-card-pro{padding:15px 44px 15px 15px!important}.hsy-ticket-card-title{font-size:13px!important}.hsy-ticket-thread-head{padding:18px!important;align-items:flex-start!important}.hsy-ticket-reply-actions{grid-template-columns:1fr!important}.hsy-ticket-close-btn{width:100%!important}.hsy-ticket-arrow{left:9px!important}}
/* v7.5.58 — balanced support scale: premium, but not zoomed */
.hsy-ticket-modal{max-width:900px!important;width:min(900px,94vw)!important;border-radius:24px!important}
.hsy-ticket-modal #hsy-ticket-body{padding:21px 23px 26px!important;max-height:min(78vh,700px)!important}
.hsy-ticket-brand{gap:12px!important;padding:18px 58px 18px 22px!important}
.hsy-ticket-brand-icon{width:46px!important;height:46px!important;flex-basis:46px!important;border-radius:14px!important}
.hsy-ticket-brand-icon svg{width:23px!important;height:23px!important}
.hsy-ticket-brand strong{font-size:18px!important}.hsy-ticket-brand span{font-size:10px!important}
.hsy-ticket-overview{gap:16px!important;padding:20px 22px!important;border-radius:20px!important}
.hsy-ticket-overview-main strong{font-size:22px!important;margin-top:6px!important}.hsy-ticket-overview-main>span:last-child{font-size:10px!important;margin-top:4px!important}
.hsy-ticket-new-btn{min-height:43px!important;padding:0 16px!important;border-radius:13px!important}
.hsy-ticket-metrics{gap:10px!important;margin:12px 0 14px!important}.hsy-ticket-metric{min-height:78px!important;padding:13px 15px!important;border-radius:17px!important}.hsy-ticket-metric strong{font-size:23px!important}
.hsy-ticket-tools{gap:8px!important;margin-bottom:11px!important}.hsy-ticket-search{height:42px!important;padding:0 14px!important;border-radius:13px!important;font-size:11px!important}
.hsy-ticket-list-pro{gap:8px!important}.hsy-ticket-card-pro{min-height:100px!important;padding:14px 48px 13px 17px!important;border-radius:17px!important}.hsy-ticket-card-title{font-size:13px!important;margin:7px 0 6px!important}.hsy-ticket-card-meta{font-size:9px!important;gap:11px!important}.hsy-ticket-card-bottom{margin-top:8px!important}.hsy-ticket-arrow{width:30px!important;height:30px!important;left:14px!important}
.hsy-ticket-thread-head{gap:14px!important;padding:17px 18px!important;margin-bottom:14px!important;border-radius:19px!important}.hsy-ticket-thread-head h3{font-size:17px!important}
.hsy-tk-thread-pro{gap:10px!important;max-height:430px!important;padding:3px 6px 16px!important}.hsy-tk-msg{max-width:72%!important;padding:13px 15px!important;border-radius:17px!important}.hsy-tk-content{font-size:12px!important;line-height:1.9!important}.hsy-tk-meta{font-size:9px!important;margin-bottom:7px!important}.hsy-ticket-message-avatar{width:25px!important;height:25px!important;flex-basis:25px!important}
#hsy-tk-reply{min-height:105px!important;border-radius:17px!important;padding:14px 15px!important;font-size:12px!important;line-height:1.9!important}.hsy-ticket-reply-actions{gap:9px!important;margin-top:9px!important}.hsy-ticket-reply-actions .hsy-modal-btn,.hsy-ticket-close-btn{min-height:44px!important;border-radius:13px!important}
.hsy-ticket-rating{padding:19px!important;border-radius:19px!important}.hsy-ticket-stars-display{font-size:27px!important}.hsy-ticket-star{width:39px!important;height:39px!important;border-radius:11px!important;font-size:20px!important}
.hsy-ticket-form-intro{padding:19px 20px!important;border-radius:19px!important}.hsy-ticket-form-intro strong{font-size:17px!important}.hsy-ticket-form-intro span{font-size:10px!important}
.hsy-ticket-empty-user{padding:42px 22px!important;border-radius:20px!important}.hsy-ticket-empty-icon{width:58px!important;height:58px!important;border-radius:18px!important}.hsy-ticket-empty-user strong{font-size:16px!important}.hsy-ticket-empty-user span{font-size:10px!important}
.hsy-ticket-support-notices{gap:8px!important}.hsy-ticket-notice,.hsy-ticket-hours{border-radius:14px!important;padding:11px 13px!important}
@media(max-width:800px){.hsy-ticket-modal{width:96vw!important;max-width:96vw!important;border-radius:21px!important}.hsy-ticket-modal #hsy-ticket-body{padding:18px 15px 22px!important;max-height:86vh!important}.hsy-ticket-brand{padding:17px 50px 19px 15px!important}.hsy-ticket-overview{padding:18px!important}.hsy-ticket-overview-main strong{font-size:20px!important}.hsy-tk-msg{max-width:84%!important}}
@media(max-width:480px){.hsy-ticket-modal{width:100vw!important;max-width:100vw!important;border-radius:18px!important}.hsy-ticket-modal #hsy-ticket-body{padding:14px 11px 18px!important}.hsy-ticket-brand{padding:15px 48px 17px 12px!important}.hsy-ticket-brand-icon{width:42px!important;height:42px!important;flex-basis:42px!important}.hsy-ticket-brand strong{font-size:16px!important}.hsy-ticket-metric{min-height:70px!important;padding:11px!important}.hsy-ticket-metric strong{font-size:21px!important}.hsy-ticket-card-pro{min-height:92px!important;padding:13px 40px 12px 13px!important}.hsy-ticket-card-title{font-size:12px!important}.hsy-ticket-thread-head{padding:15px!important}.hsy-tk-msg{max-width:90%!important;padding:12px 13px!important}.hsy-ticket-arrow{left:7px!important;width:28px!important;height:28px!important}}


/* Hooshyar AI 7.5.59 — Full-width customer ticket modal fix */
.hsy-modal.hsy-modal-ticket{
  width:min(1180px,calc(100vw - 36px))!important;
  max-width:1180px!important;
  max-height:calc(100dvh - 28px)!important;
  padding:0!important;
  border-radius:30px!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
}
.hsy-modal.hsy-modal-ticket>.hsy-ticket-modal{width:100%!important;max-width:none!important;box-sizing:border-box!important}
.hsy-modal.hsy-modal-ticket .hsy-ticket-modal #hsy-ticket-body{max-height:calc(100dvh - 150px)!important}
@media(max-width:900px){
  .hsy-modal.hsy-modal-ticket{width:calc(100vw - 24px)!important;max-width:none!important;border-radius:24px!important}
}
@media(max-width:700px){
  .hsy-modal.hsy-modal-ticket{width:100vw!important;max-width:100vw!important;max-height:100dvh!important;border-radius:0!important}
  .hsy-modal.hsy-modal-ticket .hsy-ticket-modal{border-radius:0!important}
  .hsy-modal.hsy-modal-ticket .hsy-ticket-modal #hsy-ticket-body{max-height:calc(100dvh - 125px)!important}
}

/* Hooshyar AI 7.5.61 — Executive Support Center visual system */
.hsy-modal.hsy-modal-ticket{
  width:min(94vw,1280px)!important;
  max-width:1280px!important;
  max-height:calc(100dvh - 24px)!important;
  border-radius:28px!important;
  background:#f7f9fc!important;
  box-shadow:0 35px 100px rgba(15,23,42,.28),0 8px 28px rgba(15,23,42,.12)!important;
}
.hsy-modal.hsy-modal-ticket>.hsy-ticket-modal{
  width:100%!important;
  max-width:none!important;
  border-radius:28px!important;
  background:#f7f9fc!important;
}
.hsy-modal.hsy-modal-ticket .hsy-modal-close{
  top:15px!important;left:15px!important;width:36px!important;height:36px!important;
  border-radius:11px!important;background:rgba(255,255,255,.10)!important;
  border-color:rgba(255,255,255,.18)!important;box-shadow:none!important;
}
.hsy-ticket-brand{
  min-height:82px!important;box-sizing:border-box!important;
  padding:16px 62px 16px 24px!important;
  background:linear-gradient(120deg,#0b1020 0%,#171b38 48%,#37308b 100%)!important;
  box-shadow:0 12px 30px rgba(15,23,42,.16)!important;
}
.hsy-ticket-brand:before{width:230px!important;height:230px!important;right:-70px!important;top:-105px!important}
.hsy-ticket-brand:after{left:25px!important;bottom:7px!important;font-size:7px!important;letter-spacing:.24em!important}
.hsy-ticket-brand-icon{width:48px!important;height:48px!important;flex-basis:48px!important;border-radius:14px!important}
.hsy-ticket-brand strong{font-size:18px!important;letter-spacing:-.25px!important}
.hsy-ticket-brand span{font-size:10px!important;margin-top:2px!important}
.hsy-modal.hsy-modal-ticket .hsy-ticket-modal #hsy-ticket-body{
  max-height:calc(100dvh - 106px)!important;
  padding:22px 24px 26px!important;
  background:linear-gradient(180deg,#f8fafc 0%,#f5f7fb 100%)!important;
}
.hsy-ticket-support-notices{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;margin:0 0 13px!important}
.hsy-ticket-notice,.hsy-ticket-hours{
  min-height:48px!important;box-sizing:border-box!important;padding:10px 13px!important;
  border-radius:14px!important;background:rgba(255,255,255,.84)!important;
  box-shadow:0 5px 16px rgba(15,23,42,.035)!important;
}
.hsy-ticket-overview{
  padding:20px 22px!important;border-radius:21px!important;min-height:92px!important;
  box-shadow:0 12px 30px rgba(15,23,42,.055)!important;
}
.hsy-ticket-overview-main strong{font-size:23px!important}
.hsy-ticket-overline{font-size:8px!important}
.hsy-ticket-new-btn{min-height:44px!important;padding:0 17px!important;border-radius:13px!important}
.hsy-ticket-metrics{gap:10px!important;margin:12px 0 14px!important}
.hsy-ticket-metric{
  min-height:72px!important;padding:13px 16px!important;border-radius:17px!important;
  display:flex!important;flex-direction:column!important;justify-content:center!important;
  box-shadow:0 8px 20px rgba(15,23,42,.045)!important;
}
.hsy-ticket-metric strong{font-size:24px!important;line-height:1.2!important}
.hsy-ticket-tools{margin-bottom:10px!important}
.hsy-ticket-search{height:43px!important;border-radius:13px!important}
.hsy-ticket-card-pro{
  min-height:94px!important;padding:14px 48px 12px 17px!important;border-radius:17px!important;
  box-shadow:0 7px 20px rgba(15,23,42,.038)!important;
}
.hsy-ticket-card-pro:hover{transform:translateY(-2px)!important;box-shadow:0 15px 30px rgba(15,23,42,.075)!important}
.hsy-ticket-card-title{font-size:13px!important;line-height:1.65!important}
.hsy-ticket-card-meta{font-size:9px!important}
.hsy-ticket-card-bottom{margin-top:7px!important}
.hsy-ticket-thread-head{
  padding:16px 18px!important;margin-bottom:12px!important;border-radius:18px!important;
  box-shadow:0 9px 24px rgba(15,23,42,.055)!important;
}
.hsy-ticket-thread-head h3{font-size:17px!important}
.hsy-tk-thread-pro{
  max-height:46vh!important;min-height:160px!important;gap:9px!important;
  padding:3px 4px 12px!important;scrollbar-width:thin!important;
}
.hsy-tk-msg{
  max-width:min(70%,760px)!important;padding:12px 15px!important;
  border-radius:16px!important;box-shadow:0 7px 18px rgba(15,23,42,.045)!important;
}
.hsy-tk-msg.admin{box-shadow:0 11px 25px rgba(49,46,129,.14)!important}
.hsy-tk-content{font-size:12px!important;line-height:1.9!important}
.hsy-tk-meta{font-size:8.5px!important;margin-bottom:6px!important}
#hsy-tk-reply{
  min-height:92px!important;max-height:190px!important;border-radius:16px!important;
  padding:13px 15px!important;font-size:12px!important;
}
.hsy-ticket-reply-actions{margin-top:8px!important}
.hsy-ticket-reply-actions .hsy-modal-btn,.hsy-ticket-close-btn{min-height:44px!important;border-radius:13px!important}
.hsy-ticket-rating{padding:17px!important;border-radius:18px!important;margin-top:13px!important}
.hsy-ticket-rating-title{font-size:12px!important}
.hsy-ticket-star{width:36px!important;height:36px!important;border-radius:10px!important}
.hsy-ticket-form-intro{padding:16px 18px!important;border-radius:17px!important}
.hsy-ticket-form-intro strong{font-size:15px!important}
.hsy-ticket-empty-user{padding:34px 20px!important;border-radius:18px!important}
.hsy-ticket-empty-icon{width:52px!important;height:52px!important;border-radius:16px!important}
.hsy-ticket-no-results{border-radius:17px!important}
@media(max-width:900px){
  .hsy-modal.hsy-modal-ticket{width:96vw!important;max-width:96vw!important}
  .hsy-modal.hsy-modal-ticket .hsy-ticket-modal #hsy-ticket-body{padding:18px!important}
  .hsy-ticket-support-notices{grid-template-columns:1fr!important}
  .hsy-tk-msg{max-width:82%!important}
}
@media(max-width:600px){
  .hsy-modal.hsy-modal-ticket{width:100vw!important;max-width:100vw!important;max-height:100dvh!important;border-radius:0!important}
  .hsy-modal.hsy-modal-ticket>.hsy-ticket-modal{border-radius:0!important}
  .hsy-modal.hsy-modal-ticket .hsy-ticket-modal #hsy-ticket-body{max-height:calc(100dvh - 92px)!important;padding:13px 11px 18px!important}
  .hsy-ticket-brand{min-height:70px!important;padding:12px 48px 12px 12px!important}
  .hsy-ticket-brand-icon{width:42px!important;height:42px!important;flex-basis:42px!important}
  .hsy-ticket-brand strong{font-size:16px!important}
  .hsy-ticket-overview{padding:16px!important;min-height:82px!important}
  .hsy-ticket-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .hsy-tk-thread-pro{max-height:48vh!important}
  .hsy-tk-msg{max-width:91%!important}
}

/* Hooshyar AI 7.5.61 — True viewport / full-canvas ticket experience */
.hsy-overlay:has(.hsy-modal.hsy-modal-ticket){
  padding:0!important;
  align-items:stretch!important;
  justify-content:stretch!important;
}
.hsy-overlay:has(.hsy-modal.hsy-modal-ticket) .hsy-modal.hsy-modal-ticket{
  width:100vw!important;
  max-width:none!important;
  height:100dvh!important;
  max-height:none!important;
  min-height:100dvh!important;
  margin:0!important;
  padding:0!important;
  border-radius:0!important;
  overflow:hidden!important;
  box-sizing:border-box!important;
}
.hsy-overlay:has(.hsy-modal.hsy-modal-ticket) .hsy-modal.hsy-modal-ticket>.hsy-ticket-modal{
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  min-height:100%!important;
  border-radius:0!important;
  box-sizing:border-box!important;
  display:flex!important;
  flex-direction:column!important;
}
.hsy-overlay:has(.hsy-modal.hsy-modal-ticket) .hsy-modal.hsy-modal-ticket .hsy-ticket-brand{
  flex:0 0 auto!important;
}
.hsy-overlay:has(.hsy-modal.hsy-modal-ticket) .hsy-modal.hsy-modal-ticket .hsy-ticket-modal #hsy-ticket-body{
  flex:1 1 auto!important;
  width:100%!important;
  max-width:none!important;
  max-height:none!important;
  min-height:0!important;
  overflow-y:auto!important;
  box-sizing:border-box!important;
}
.hsy-overlay:has(.hsy-modal.hsy-modal-ticket) .hsy-modal.hsy-modal-ticket .hsy-ticket-overview,
.hsy-overlay:has(.hsy-modal.hsy-modal-ticket) .hsy-modal.hsy-modal-ticket .hsy-ticket-support-notices,
.hsy-overlay:has(.hsy-modal.hsy-modal-ticket) .hsy-modal.hsy-modal-ticket .hsy-ticket-metrics,
.hsy-overlay:has(.hsy-modal.hsy-modal-ticket) .hsy-modal.hsy-modal-ticket .hsy-ticket-tools,
.hsy-overlay:has(.hsy-modal.hsy-modal-ticket) .hsy-modal.hsy-modal-ticket .hsy-ticket-list-pro,
.hsy-overlay:has(.hsy-modal.hsy-modal-ticket) .hsy-modal.hsy-modal-ticket .hsy-ticket-thread-head,
.hsy-overlay:has(.hsy-modal.hsy-modal-ticket) .hsy-modal.hsy-modal-ticket .hsy-tk-thread-pro,
.hsy-overlay:has(.hsy-modal.hsy-modal-ticket) .hsy-modal.hsy-modal-ticket .hsy-ticket-rating,
.hsy-overlay:has(.hsy-modal.hsy-modal-ticket) .hsy-modal.hsy-modal-ticket .hsy-ticket-form-intro{
  width:100%!important;
  max-width:none!important;
  box-sizing:border-box!important;
}
.hsy-overlay:has(.hsy-modal.hsy-modal-ticket) .hsy-modal.hsy-modal-ticket .hsy-ticket-modal #hsy-ticket-body{
  padding:clamp(18px,2vw,32px) clamp(18px,3vw,56px) 40px!important;
}
.hsy-overlay:has(.hsy-modal.hsy-modal-ticket) .hsy-modal.hsy-modal-ticket .hsy-tk-thread-pro{
  max-height:none!important;
  min-height:280px!important;
}
@media(max-width:700px){
  .hsy-overlay:has(.hsy-modal.hsy-modal-ticket){padding:0!important}
  .hsy-overlay:has(.hsy-modal.hsy-modal-ticket) .hsy-modal.hsy-modal-ticket .hsy-modal-close{top:12px!important;left:12px!important}
  .hsy-overlay:has(.hsy-modal.hsy-modal-ticket) .hsy-modal.hsy-modal-ticket .hsy-ticket-modal #hsy-ticket-body{padding:14px 12px 28px!important}
}


/* Hooshyar AI 7.5.62 — APEX Premium Support Experience */
.hsy-overlay:has(.hsy-modal.hsy-modal-ticket) .hsy-modal.hsy-modal-ticket .hsy-ticket-modal{
  background:#eef2f7!important;
  box-shadow:none!important;
  border:0!important;
}
.hsy-overlay:has(.hsy-modal.hsy-modal-ticket) .hsy-modal.hsy-modal-ticket .hsy-ticket-brand{
  min-height:88px!important;
  padding:18px 78px 18px 34px!important;
  background:
    radial-gradient(circle at 82% 10%,rgba(129,140,248,.28),transparent 22%),
    radial-gradient(circle at 62% 120%,rgba(124,58,237,.18),transparent 28%),
    linear-gradient(105deg,#080d1c 0%,#10162c 48%,#25215d 100%)!important;
  box-shadow:0 10px 35px rgba(15,23,42,.18)!important;
}
.hsy-overlay:has(.hsy-modal.hsy-modal-ticket) .hsy-ticket-brand-icon{
  width:50px!important;height:50px!important;flex-basis:50px!important;border-radius:15px!important;
  box-shadow:0 12px 28px rgba(99,102,241,.28)!important;
}
.hsy-overlay:has(.hsy-modal.hsy-modal-ticket) .hsy-ticket-brand strong{font-size:20px!important}
.hsy-overlay:has(.hsy-modal.hsy-modal-ticket) .hsy-ticket-brand span{font-size:10px!important}
.hsy-overlay:has(.hsy-modal.hsy-modal-ticket) .hsy-ticket-modal #hsy-ticket-body{
  padding:26px clamp(20px,4vw,52px) 42px!important;
  background:
    radial-gradient(circle at 8% 4%,rgba(99,102,241,.055),transparent 18%),
    linear-gradient(180deg,#f7f9fc 0%,#eef2f7 100%)!important;
}
.hsy-overlay:has(.hsy-modal.hsy-modal-ticket) .hsy-ticket-overview{
  min-height:118px!important;padding:24px 28px!important;border-radius:24px!important;
  background:linear-gradient(135deg,#ffffff 0%,#f8faff 58%,#eef2ff 100%)!important;
  border:1px solid rgba(203,213,225,.78)!important;
  box-shadow:0 18px 42px rgba(15,23,42,.075)!important;
}
.hsy-overlay:has(.hsy-modal.hsy-modal-ticket) .hsy-ticket-overview-main strong{font-size:27px!important}
.hsy-overlay:has(.hsy-modal.hsy-modal-ticket) .hsy-ticket-new-btn{min-height:50px!important;padding:0 22px!important;border-radius:15px!important}
.hsy-overlay:has(.hsy-modal.hsy-modal-ticket) .hsy-ticket-metrics{gap:12px!important;margin:14px 0 16px!important}
.hsy-overlay:has(.hsy-modal.hsy-modal-ticket) .hsy-ticket-metric{
  min-height:88px!important;padding:16px 18px!important;border-radius:18px!important;
  background:rgba(255,255,255,.92)!important;border:1px solid #e2e8f0!important;
  box-shadow:0 10px 25px rgba(15,23,42,.045)!important;
}
.hsy-overlay:has(.hsy-modal.hsy-modal-ticket) .hsy-ticket-metric strong{font-size:25px!important}
.hsy-overlay:has(.hsy-modal.hsy-modal-ticket) .hsy-ticket-tools{padding:0!important}
.hsy-overlay:has(.hsy-modal.hsy-modal-ticket) .hsy-ticket-search{height:46px!important;background:#fff!important;border-color:#dbe2eb!important}
.hsy-overlay:has(.hsy-modal.hsy-modal-ticket) .hsy-ticket-card-pro{
  min-height:106px!important;padding:16px 56px 15px 20px!important;border-radius:18px!important;
  background:rgba(255,255,255,.94)!important;border-color:#e0e6ee!important;
  box-shadow:0 8px 24px rgba(15,23,42,.045)!important;
}
.hsy-overlay:has(.hsy-modal.hsy-modal-ticket) .hsy-ticket-card-pro:hover{transform:translateY(-2px)!important;box-shadow:0 18px 34px rgba(15,23,42,.09)!important}
.hsy-overlay:has(.hsy-modal.hsy-modal-ticket) .hsy-ticket-thread-head{
  min-height:82px!important;padding:18px 22px!important;border-radius:20px!important;
  background:rgba(255,255,255,.94)!important;border-color:#e1e7ef!important;
  box-shadow:0 12px 28px rgba(15,23,42,.055)!important;
}
.hsy-overlay:has(.hsy-modal.hsy-modal-ticket) .hsy-ticket-thread-head h3{font-size:19px!important}
.hsy-overlay:has(.hsy-modal.hsy-modal-ticket) .hsy-tk-thread-pro{
  max-height:none!important;min-height:250px!important;padding:6px 3px 18px!important;
  display:flex!important;flex-direction:column!important;gap:9px!important;
}
.hsy-overlay:has(.hsy-modal.hsy-modal-ticket) .hsy-tk-msg{
  max-width:min(760px,78%)!important;padding:13px 16px!important;border-radius:17px!important;
  border:1px solid #e1e7ef!important;background:#fff!important;
  box-shadow:0 8px 22px rgba(15,23,42,.045)!important;
}
.hsy-overlay:has(.hsy-modal.hsy-modal-ticket) .hsy-tk-msg.user{align-self:flex-start!important;margin-right:0!important}
.hsy-overlay:has(.hsy-modal.hsy-modal-ticket) .hsy-tk-msg.admin{align-self:flex-end!important;margin-left:0!important;background:linear-gradient(135deg,#312e81,#4f46e5)!important;border-color:rgba(79,70,229,.65)!important;box-shadow:0 12px 28px rgba(79,70,229,.16)!important}
.hsy-overlay:has(.hsy-modal.hsy-modal-ticket) .hsy-tk-msg.admin .hsy-tk-meta{color:rgba(255,255,255,.72)!important}
.hsy-overlay:has(.hsy-modal.hsy-modal-ticket) .hsy-tk-msg.admin .hsy-tk-content{color:#fff!important}
.hsy-overlay:has(.hsy-modal.hsy-modal-ticket) .hsy-tk-content{font-size:12.5px!important;line-height:2!important}
.hsy-overlay:has(.hsy-modal.hsy-modal-ticket) .hsy-tk-meta{font-size:9px!important;margin-bottom:7px!important}
.hsy-overlay:has(.hsy-modal.hsy-modal-ticket) #hsy-tk-reply{
  min-height:112px!important;padding:15px 17px!important;border-radius:18px!important;
  border:1px solid #dbe2eb!important;background:#fff!important;box-shadow:0 8px 22px rgba(15,23,42,.04)!important;
}
.hsy-overlay:has(.hsy-modal.hsy-modal-ticket) #hsy-tk-reply:focus{border-color:#818cf8!important;box-shadow:0 0 0 4px rgba(99,102,241,.10),0 12px 28px rgba(15,23,42,.05)!important}
.hsy-overlay:has(.hsy-modal.hsy-modal-ticket) .hsy-ticket-reply-actions{gap:10px!important;margin-top:10px!important}
.hsy-overlay:has(.hsy-modal.hsy-modal-ticket) .hsy-ticket-reply-actions .hsy-modal-btn{min-height:48px!important;border-radius:15px!important}
.hsy-overlay:has(.hsy-modal.hsy-modal-ticket) .hsy-ticket-close-btn{min-height:48px!important;border-radius:15px!important;border-color:#dbe2eb!important;background:#fff!important}
.hsy-overlay:has(.hsy-modal.hsy-modal-ticket) .hsy-ticket-rating{border-radius:20px!important;border-color:#e0e6ee!important;box-shadow:0 12px 30px rgba(15,23,42,.05)!important}
.hsy-overlay:has(.hsy-modal.hsy-modal-ticket) .hsy-ticket-attachment{background:#f8fafc!important;border-color:#dbe2eb!important}
@media(max-width:900px){
  .hsy-overlay:has(.hsy-modal.hsy-modal-ticket) .hsy-ticket-modal #hsy-ticket-body{padding:20px 18px 30px!important}
  .hsy-overlay:has(.hsy-modal.hsy-modal-ticket) .hsy-tk-msg{max-width:86%!important}
}
@media(max-width:600px){
  .hsy-overlay:has(.hsy-modal.hsy-modal-ticket) .hsy-ticket-brand{min-height:68px!important;padding:10px 48px 10px 13px!important}
  .hsy-overlay:has(.hsy-modal.hsy-modal-ticket) .hsy-ticket-brand-icon{width:42px!important;height:42px!important;flex-basis:42px!important;border-radius:13px!important}
  .hsy-overlay:has(.hsy-modal.hsy-modal-ticket) .hsy-ticket-brand strong{font-size:16px!important}
  .hsy-overlay:has(.hsy-modal.hsy-modal-ticket) .hsy-ticket-modal #hsy-ticket-body{padding:13px 11px 22px!important}
  .hsy-overlay:has(.hsy-modal.hsy-modal-ticket) .hsy-ticket-overview{padding:16px!important;border-radius:18px!important}
  .hsy-overlay:has(.hsy-modal.hsy-modal-ticket) .hsy-ticket-metric{min-height:76px!important;padding:12px!important}
  .hsy-overlay:has(.hsy-modal.hsy-modal-ticket) .hsy-ticket-metric strong{font-size:21px!important}
  .hsy-overlay:has(.hsy-modal.hsy-modal-ticket) .hsy-tk-thread-pro{min-height:220px!important}
  .hsy-overlay:has(.hsy-modal.hsy-modal-ticket) .hsy-tk-msg{max-width:93%!important}
}

/* Hooshyar AI 7.5.63 — Global Support Center Theme Colors */
.hsy-modal.hsy-modal-ticket{--hsy-ticket-primary:#6d5dfc;--hsy-ticket-secondary:#4f46e5;--hsy-ticket-surface:#f7f8fc}
.hsy-modal.hsy-modal-ticket .hsy-ticket-brand{background:linear-gradient(135deg,var(--hsy-ticket-primary),var(--hsy-ticket-secondary))!important}
.hsy-modal.hsy-modal-ticket .hsy-ticket-brand-icon{background:rgba(255,255,255,.16)!important;border-color:rgba(255,255,255,.24)!important}
.hsy-modal.hsy-modal-ticket .hsy-ticket-overview{background:linear-gradient(135deg,color-mix(in srgb,var(--hsy-ticket-primary) 10%,#fff),color-mix(in srgb,var(--hsy-ticket-secondary) 7%,#fff))!important;border-color:color-mix(in srgb,var(--hsy-ticket-primary) 18%,#dfe5ef)!important}
.hsy-modal.hsy-modal-ticket .hsy-ticket-new-btn,.hsy-modal.hsy-modal-ticket .hsy-ticket-reply-actions .hsy-modal-btn{background:linear-gradient(135deg,var(--hsy-ticket-primary),var(--hsy-ticket-secondary))!important;border-color:var(--hsy-ticket-primary)!important}
.hsy-modal.hsy-modal-ticket .hsy-ticket-search:focus,#hsy-tk-reply:focus{border-color:var(--hsy-ticket-primary)!important;box-shadow:0 0 0 4px color-mix(in srgb,var(--hsy-ticket-primary) 14%,transparent),0 12px 28px rgba(15,23,42,.05)!important}
.hsy-modal.hsy-modal-ticket .hsy-ticket-card-pro:hover{border-color:color-mix(in srgb,var(--hsy-ticket-primary) 35%,#dbe2eb)!important}
.hsy-modal.hsy-modal-ticket .hsy-tk-msg.admin{background:linear-gradient(135deg,var(--hsy-ticket-secondary),var(--hsy-ticket-primary))!important;border-color:color-mix(in srgb,var(--hsy-ticket-primary) 55%,transparent)!important;box-shadow:0 12px 28px color-mix(in srgb,var(--hsy-ticket-primary) 18%,transparent)!important}
.hsy-modal.hsy-modal-ticket .hsy-ticket-metric{background:linear-gradient(145deg,#fff,var(--hsy-ticket-surface))!important}
.hsy-modal.hsy-modal-ticket .hsy-ticket-thread-head:before{background:var(--hsy-ticket-primary)!important}
@supports not (color:color-mix(in srgb,red 50%,white)){.hsy-modal.hsy-modal-ticket .hsy-ticket-overview{background:#f7f8fc!important}.hsy-modal.hsy-modal-ticket .hsy-tk-msg.admin{box-shadow:0 12px 28px rgba(79,70,229,.16)!important}}

/* Hooshyar AI 7.5.64 — Ticket close control + responsive polish */
.hsy-modal.hsy-modal-ticket{position:relative!important;overflow:hidden!important}
.hsy-modal.hsy-modal-ticket .hsy-ticket-close-x{position:absolute!important;top:14px!important;left:14px!important;z-index:100!important;width:40px!important;height:40px!important;min-width:40px!important;border:1px solid rgba(255,255,255,.26)!important;border-radius:12px!important;background:rgba(15,23,42,.18)!important;color:#fff!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:28px!important;line-height:1!important;cursor:pointer!important;backdrop-filter:blur(12px)!important;box-shadow:0 8px 24px rgba(15,23,42,.14)!important;transition:transform .18s ease,background .18s ease,box-shadow .18s ease!important}
.hsy-modal.hsy-modal-ticket .hsy-ticket-close-x:hover{transform:translateY(-1px) scale(1.03)!important;background:rgba(15,23,42,.32)!important;box-shadow:0 12px 28px rgba(15,23,42,.2)!important}
.hsy-modal.hsy-modal-ticket .hsy-ticket-brand{padding-left:72px!important}
@media(max-width:700px){
 .hsy-modal.hsy-modal-ticket .hsy-ticket-close-x{top:9px!important;left:9px!important;width:36px!important;height:36px!important;min-width:36px!important;font-size:24px!important;border-radius:11px!important}
 .hsy-modal.hsy-modal-ticket .hsy-ticket-brand{padding-left:56px!important;min-height:62px!important}
 .hsy-modal.hsy-modal-ticket .hsy-ticket-brand strong{font-size:15px!important}
 .hsy-modal.hsy-modal-ticket .hsy-ticket-brand span{font-size:9px!important}
 .hsy-modal.hsy-modal-ticket #hsy-ticket-body{width:100%!important;max-width:100%!important;box-sizing:border-box!important;overflow-x:hidden!important}
 .hsy-modal.hsy-modal-ticket .hsy-ticket-overview{grid-template-columns:1fr!important;gap:12px!important}
 .hsy-modal.hsy-modal-ticket .hsy-ticket-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
 .hsy-modal.hsy-modal-ticket .hsy-ticket-card-pro{padding:13px!important}
 .hsy-modal.hsy-modal-ticket .hsy-tk-msg{max-width:92%!important}
 .hsy-modal.hsy-modal-ticket .hsy-ticket-reply-actions{flex-direction:column!important}
 .hsy-modal.hsy-modal-ticket .hsy-ticket-reply-actions .hsy-modal-btn,.hsy-modal.hsy-modal-ticket .hsy-ticket-close-btn{width:100%!important}
}

/* Hooshyar Ticket Theme - stable global color variables */
.hsy-modal.hsy-modal-ticket,.hsy-ticket-modal{--hsy-ticket-text:#172033;--hsy-ticket-muted-text:#667085;--hsy-ticket-user-text:#172033;--hsy-ticket-support-text:#ffffff}
.hsy-modal.hsy-modal-ticket .hsy-ticket-overview,.hsy-modal.hsy-modal-ticket .hsy-ticket-card-pro,.hsy-ticket-modal .hsy-ticket-overview,.hsy-ticket-modal .hsy-ticket-card-pro{color:var(--hsy-ticket-text)}
.hsy-modal.hsy-modal-ticket .hsy-ticket-overview span,.hsy-modal.hsy-modal-ticket .hsy-ticket-card-pro small,.hsy-ticket-modal .hsy-ticket-overview span,.hsy-ticket-modal .hsy-ticket-card-pro small{color:var(--hsy-ticket-muted-text)}
.hsy-modal.hsy-modal-ticket .hsy-tk-msg.user,.hsy-ticket-modal .hsy-tk-msg.user{color:var(--hsy-ticket-user-text)!important}
.hsy-modal.hsy-modal-ticket .hsy-tk-msg.admin,.hsy-ticket-modal .hsy-tk-msg.admin{color:var(--hsy-ticket-support-text)!important}
\n\n/* Hooshyar AI 7.5.71 — Reliable global ticket theme + configurable header */
.hsy-modal.hsy-modal-ticket,
.hsy-modal.hsy-modal-ticket>.hsy-ticket-modal,
.hsy-ticket-modal{
  --hsy-ticket-primary:#6d5dfc;
  --hsy-ticket-secondary:#4f46e5;
  --hsy-ticket-surface:#f7f8fc;
  --hsy-ticket-text:#172033;
  --hsy-ticket-muted-text:#667085;
  --hsy-ticket-user-text:#172033;
  --hsy-ticket-support-text:#ffffff;
  --hsy-ticket-header-primary:#0f172a;
  --hsy-ticket-header-secondary:#4f46e5;
  --hsy-ticket-header-text:#ffffff;
}
.hsy-modal.hsy-modal-ticket .hsy-ticket-brand,
.hsy-ticket-modal .hsy-ticket-brand{
  background:linear-gradient(135deg,var(--hsy-ticket-header-primary),var(--hsy-ticket-header-secondary))!important;
  color:var(--hsy-ticket-header-text)!important;
}
.hsy-modal.hsy-modal-ticket .hsy-ticket-brand strong,
.hsy-modal.hsy-modal-ticket .hsy-ticket-brand span,
.hsy-ticket-modal .hsy-ticket-brand strong,
.hsy-ticket-modal .hsy-ticket-brand span{
  color:var(--hsy-ticket-header-text)!important;
}
.hsy-modal.hsy-modal-ticket .hsy-ticket-overview,
.hsy-ticket-modal .hsy-ticket-overview,
.hsy-modal.hsy-modal-ticket .hsy-ticket-card-pro,
.hsy-ticket-modal .hsy-ticket-card-pro{
  color:var(--hsy-ticket-text)!important;
}
.hsy-modal.hsy-modal-ticket .hsy-ticket-overview span,
.hsy-ticket-modal .hsy-ticket-overview span,
.hsy-modal.hsy-modal-ticket .hsy-ticket-card-pro small,
.hsy-ticket-modal .hsy-ticket-card-pro small{
  color:var(--hsy-ticket-muted-text)!important;
}
.hsy-modal.hsy-modal-ticket .hsy-tk-msg.user,
.hsy-ticket-modal .hsy-tk-msg.user{color:var(--hsy-ticket-user-text)!important}
.hsy-modal.hsy-modal-ticket .hsy-tk-msg.admin,
.hsy-ticket-modal .hsy-tk-msg.admin{color:var(--hsy-ticket-support-text)!important}
.hsy-modal.hsy-modal-ticket .hsy-ticket-new-btn,
.hsy-modal.hsy-modal-ticket .hsy-ticket-reply-actions .hsy-modal-btn{
  background:linear-gradient(135deg,var(--hsy-ticket-primary),var(--hsy-ticket-secondary))!important;
}
@media(max-width:700px){
  .hsy-modal.hsy-modal-ticket .hsy-ticket-brand{width:100%!important;box-sizing:border-box!important}
}

/* Hooshyar AI 7.5.71+ — End-user ticket theme hardening */
.hsy-overlay .hsy-modal.hsy-modal-ticket .hsy-ticket-modal .hsy-ticket-brand{
  background:linear-gradient(135deg,var(--hsy-ticket-header-primary),var(--hsy-ticket-header-secondary))!important;
  color:var(--hsy-ticket-header-text)!important;
}
.hsy-overlay .hsy-modal.hsy-modal-ticket .hsy-ticket-modal .hsy-ticket-brand strong,
.hsy-overlay .hsy-modal.hsy-modal-ticket .hsy-ticket-modal .hsy-ticket-brand span{color:var(--hsy-ticket-header-text)!important}
.hsy-overlay .hsy-modal.hsy-modal-ticket .hsy-ticket-modal .hsy-ticket-overview,
.hsy-overlay .hsy-modal.hsy-modal-ticket .hsy-ticket-modal .hsy-ticket-card-pro{color:var(--hsy-ticket-text)!important}
.hsy-overlay .hsy-modal.hsy-modal-ticket .hsy-ticket-modal .hsy-ticket-overview span,
.hsy-overlay .hsy-modal.hsy-modal-ticket .hsy-ticket-modal .hsy-ticket-card-pro small{color:var(--hsy-ticket-muted-text)!important}
.hsy-overlay .hsy-modal.hsy-modal-ticket .hsy-ticket-modal .hsy-tk-msg.user{color:var(--hsy-ticket-user-text)!important}
.hsy-overlay .hsy-modal.hsy-modal-ticket .hsy-ticket-modal .hsy-tk-msg.admin{color:var(--hsy-ticket-support-text)!important;background:linear-gradient(135deg,var(--hsy-ticket-secondary),var(--hsy-ticket-primary))!important}

/* Hooshyar AI 7.5.73 — user-visible global ticket theme final hardening */
.hsy-overlay .hsy-modal.hsy-modal-ticket{background:var(--hsy-ticket-surface,#141414)!important;color:var(--hsy-ticket-text,#172033)!important}
.hsy-overlay .hsy-modal.hsy-modal-ticket>.hsy-ticket-modal{background:var(--hsy-ticket-surface,#141414)!important}
.hsy-overlay .hsy-modal.hsy-modal-ticket .hsy-ticket-modal #hsy-ticket-body{background:var(--hsy-ticket-surface,#141414)!important;color:var(--hsy-ticket-text,#172033)!important}
.hsy-overlay .hsy-modal.hsy-modal-ticket .hsy-ticket-brand{background:linear-gradient(135deg,var(--hsy-ticket-header-primary,#0f172a),var(--hsy-ticket-header-secondary,#4f46e5))!important;color:var(--hsy-ticket-header-text,#fff)!important}
.hsy-overlay .hsy-modal.hsy-modal-ticket .hsy-ticket-brand strong,.hsy-overlay .hsy-modal.hsy-modal-ticket .hsy-ticket-brand span{color:var(--hsy-ticket-header-text,#fff)!important}


/* Hooshyar AI 7.5.75 — End-user ticket box border color hardening.
 * The admin value is delivered in ticket_support.colors.box_border. These rules
 * intentionally use the runtime CSS variable with !important so older premium
 * ticket styles cannot override the administrator-selected border color.
 */
.hsy-overlay .hsy-modal.hsy-modal-ticket,
.hsy-overlay .hsy-modal.hsy-modal-ticket .hsy-ticket-modal,
.hsy-overlay .hsy-modal.hsy-modal-ticket #hsy-ticket-body{
  --hsy-ticket-box-border:#dbe2ec;
}
.hsy-overlay .hsy-modal.hsy-modal-ticket .hsy-ticket-brand,
.hsy-overlay .hsy-modal.hsy-modal-ticket .hsy-ticket-list-head,
.hsy-overlay .hsy-modal.hsy-modal-ticket .hsy-ticket-overview,
.hsy-overlay .hsy-modal.hsy-modal-ticket .hsy-ticket-metric,
.hsy-overlay .hsy-modal.hsy-modal-ticket .hsy-ticket-card-pro,
.hsy-overlay .hsy-modal.hsy-modal-ticket .hsy-ticket-form-intro,
.hsy-overlay .hsy-modal.hsy-modal-ticket .hsy-ticket-thread-head,
.hsy-overlay .hsy-modal.hsy-modal-ticket .hsy-ticket-notice,
.hsy-overlay .hsy-modal.hsy-modal-ticket .hsy-ticket-hours,
.hsy-overlay .hsy-modal.hsy-modal-ticket .hsy-ticket-empty-user,
.hsy-overlay .hsy-modal.hsy-modal-ticket .hsy-ticket-no-results,
.hsy-overlay .hsy-modal.hsy-modal-ticket .hsy-ticket-rating,
.hsy-overlay .hsy-modal.hsy-modal-ticket .hsy-ticket-search,
.hsy-overlay .hsy-modal.hsy-modal-ticket .hsy-ticket-filter,
.hsy-overlay .hsy-modal.hsy-modal-ticket .hsy-ticket-close-btn,
.hsy-overlay .hsy-modal.hsy-modal-ticket .hsy-ticket-closed-note,
.hsy-overlay .hsy-modal.hsy-modal-ticket .hsy-ticket-error,
.hsy-overlay .hsy-modal.hsy-modal-ticket .hsy-tk-msg,
.hsy-overlay .hsy-modal.hsy-modal-ticket .hsy-ticket-rating-comment-input,
.hsy-overlay .hsy-modal.hsy-modal-ticket #hsy-ticket-body input[type="text"],
.hsy-overlay .hsy-modal.hsy-modal-ticket #hsy-ticket-body input[type="email"],
.hsy-overlay .hsy-modal.hsy-modal-ticket #hsy-ticket-body input[type="search"],
.hsy-overlay .hsy-modal.hsy-modal-ticket #hsy-ticket-body input[type="url"],
.hsy-overlay .hsy-modal.hsy-modal-ticket #hsy-ticket-body input[type="tel"],
.hsy-overlay .hsy-modal.hsy-modal-ticket #hsy-ticket-body input[type="number"],
.hsy-overlay .hsy-modal.hsy-modal-ticket #hsy-ticket-body input[type="file"],
.hsy-overlay .hsy-modal.hsy-modal-ticket #hsy-ticket-body select,
.hsy-overlay .hsy-modal.hsy-modal-ticket #hsy-ticket-body textarea{
  border-color:var(--hsy-ticket-box-border)!important;
}
.hsy-overlay .hsy-modal.hsy-modal-ticket .hsy-ticket-card-pro:hover,
.hsy-overlay .hsy-modal.hsy-modal-ticket .hsy-ticket-search:focus,
.hsy-overlay .hsy-modal.hsy-modal-ticket .hsy-ticket-filter:focus,
.hsy-overlay .hsy-modal.hsy-modal-ticket #hsy-ticket-body input:focus,
.hsy-overlay .hsy-modal.hsy-modal-ticket #hsy-ticket-body select:focus,
.hsy-overlay .hsy-modal.hsy-modal-ticket #hsy-ticket-body textarea:focus{
  border-color:var(--hsy-ticket-box-border)!important;
}
.hsy-overlay .hsy-modal.hsy-modal-ticket .hsy-ticket-brand{border-bottom-color:var(--hsy-ticket-box-border)!important}
.hsy-overlay .hsy-modal.hsy-modal-ticket .hsy-ticket-thread-head{border-bottom-color:var(--hsy-ticket-box-border)!important}
.hsy-overlay .hsy-modal.hsy-modal-ticket .hsy-ticket-card-bottom{border-top-color:var(--hsy-ticket-box-border)!important}
.hsy-overlay .hsy-modal.hsy-modal-ticket .hsy-tk-msg.admin{border-color:var(--hsy-ticket-box-border)!important}

/* Hooshyar AI 7.5.82 — Coupon/Gift Code mobile refinement */
.hsy-coupon-checkout{
  max-width:520px;
  width:calc(100vw - 32px);
  max-height:calc(100dvh - 32px);
  overflow:auto;
  -webkit-overflow-scrolling:touch;
  overscroll-behavior:contain;
}
.hsy-coupon-checkout *{box-sizing:border-box}
.hsy-coupon-input{
  min-height:50px;
  line-height:1.4;
  -webkit-appearance:none;
  appearance:none;
  touch-action:manipulation;
}
.hsy-coupon-actions{width:100%}
.hsy-coupon-actions button{
  min-height:48px;
  min-width:0;
  padding:12px 14px;
  white-space:normal;
  line-height:1.5;
  touch-action:manipulation;
}
.hsy-coupon-status{overflow-wrap:anywhere;word-break:break-word;line-height:1.8}
@media (max-width:600px){
  .hsy-coupon-checkout{
    width:calc(100vw - 24px);
    max-width:none;
    max-height:calc(100dvh - 24px);
    padding:20px 16px;
    border-radius:20px;
  }
  .hsy-coupon-icon{font-size:34px;margin-bottom:4px}
  .hsy-coupon-checkout h3{font-size:19px;line-height:1.6;margin-bottom:6px}
  .hsy-coupon-help{font-size:12px;line-height:1.9;margin-bottom:14px}
  .hsy-coupon-input{font-size:16px;padding:12px 13px;min-height:52px}
  .hsy-coupon-actions{display:grid;grid-template-columns:1fr;gap:8px;margin-top:12px}
  .hsy-coupon-actions button{width:100%;min-height:50px;font-size:13px}
  .hsy-coupon-status{font-size:12px;min-height:22px;margin-top:8px}
}
@media (max-width:380px){
  .hsy-coupon-checkout{width:calc(100vw - 16px);padding:17px 13px;border-radius:18px}
  .hsy-coupon-checkout h3{font-size:18px}
  .hsy-coupon-input{min-height:50px}
  .hsy-coupon-actions button{min-height:48px}
}


/* Google sign-in */
.hsy-google-login{margin-top:14px}
.hsy-google-btn{width:100%;min-height:46px;display:flex;align-items:center;justify-content:center;gap:10px;border:1px solid rgba(100,100,100,.22);border-radius:12px;background:#fff!important;color:#202124!important;text-decoration:none!important;font-size:14px;font-weight:600;box-sizing:border-box;transition:.18s ease}
.hsy-google-btn:hover{transform:translateY(-1px);box-shadow:0 5px 16px rgba(0,0,0,.08)}
.hsy-google-g{font-family:Arial,sans-serif;font-size:20px;font-weight:700;line-height:1;color:#4285f4}
@media(max-width:600px){.hsy-google-btn{min-height:48px;font-size:14px}.hsy-google-login{margin-top:12px}}

/* Google sign-in / sign-up button */
.hsy-google-login{margin-top:16px}.hsy-google-btn{display:flex;align-items:center;justify-content:center;gap:10px;position:relative;width:100%;min-height:48px;padding:10px 14px;box-sizing:border-box;border:1px solid rgba(127,127,127,.28);border-radius:12px;background:#fff;color:#202124;text-decoration:none;font-weight:600;box-shadow:0 1px 2px rgba(0,0,0,.06);transition:transform .15s ease,box-shadow .15s ease}.hsy-google-btn:hover{box-shadow:0 4px 14px rgba(0,0,0,.1);transform:translateY(-1px)}.hsy-google-g{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;font-weight:800;font-size:18px;color:#4285f4;background:#fff}.hsy-google-register-note{font-size:11px;font-weight:400;opacity:.6;margin-right:2px}
@media(max-width:600px){.hsy-google-btn{min-height:50px;font-size:14px;padding:11px 12px}.hsy-google-register-note{display:block;font-size:10px}.hsy-google-login{margin-top:12px}}

/* Google login + registration buttons */
.hsy-google-actions{display:flex;gap:10px;width:100%;}
.hsy-google-actions .hsy-google-btn{flex:1;}
.hsy-google-register-note{text-align:center;font-size:11px;opacity:.65;margin-top:8px;line-height:1.8;}
@media(max-width:600px){.hsy-google-actions{flex-direction:column;gap:8px}.hsy-google-actions .hsy-google-btn{width:100%;}.hsy-google-register-note{font-size:10px;}}


/* ================================================================
   Hooshyar 7.6 — Premium Card-to-Card Checkout
   ================================================================ */
.hsy-card-transfer-modal.hsy-ct-premium{
  width:min(650px,calc(100vw - 24px))!important;
  max-width:650px!important;
  max-height:calc(100dvh - 24px);
  overflow-y:auto;
  padding:20px!important;
  border-radius:24px!important;
}
.hsy-ct-progress{display:flex;align-items:center;gap:8px;margin:0 0 16px;padding:4px 0}
.hsy-ct-progress-step{display:flex;align-items:center;gap:6px;font-size:10px;color:#94a3b8;white-space:nowrap}
.hsy-ct-progress-step b{width:24px;height:24px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#eef2f7;color:#64748b;font-size:11px}
.hsy-ct-progress-step.is-active{color:var(--hsy-ct-accent,#4f46e5);font-weight:800}
.hsy-ct-progress-step.is-active b{background:var(--hsy-ct-accent,#4f46e5);color:#fff}
.hsy-ct-progress i{height:1px;flex:1;background:#e5e7eb}
.hsy-ct-intro-premium{position:relative;padding:13px 14px!important}
.hsy-ct-intro-copy{flex:1}
.hsy-ct-secure-badge{font-size:9px;font-weight:900;border:1px solid rgba(34,197,94,.25);background:rgba(34,197,94,.08);color:#15803d;padding:5px 8px;border-radius:999px}
.hsy-ct-bank-card-premium{position:relative;overflow:hidden}
.hsy-ct-bank-card-premium:after{content:"";position:absolute;width:180px;height:180px;border-radius:50%;right:-85px;bottom:-100px;background:rgba(255,255,255,.07);pointer-events:none}
.hsy-ct-card-number-wrap small,.hsy-ct-amount-highlight small{display:block;font-size:10px;opacity:.68;margin-bottom:5px}
.hsy-ct-number{display:block!important;font-size:23px!important;letter-spacing:2px!important}
.hsy-ct-amount-highlight{display:flex;align-items:center;gap:10px;justify-content:space-between;margin:4px 0 15px;padding:11px 12px;border-radius:13px;background:rgba(255,255,255,.10);border:1px solid rgba(255,255,255,.12)}
.hsy-ct-amount-highlight strong{font-size:18px}
.hsy-ct-amount-copy{border:1px solid rgba(255,255,255,.22);background:rgba(255,255,255,.08);color:#fff;border-radius:9px;padding:6px 9px;font-size:10px;cursor:pointer}
.hsy-ct-bank-meta{flex-wrap:wrap}
.hsy-ct-form-premium{margin-top:4px}
.hsy-ct-fields-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.hsy-ct-field{min-width:0}
.hsy-ct-field label span{display:block;font-size:11px;font-weight:800;margin-bottom:5px}
.hsy-ct-field label input,.hsy-ct-field label textarea{width:100%;box-sizing:border-box;margin:0!important;padding:11px 12px!important;border-radius:12px!important;background:var(--field-bg,#fff)!important;color:var(--text,#172033)!important;border:1px solid var(--border,#e1e5ec)!important}
.hsy-ct-field label textarea{min-height:84px;resize:vertical}
.hsy-ct-field>small{display:block;font-size:9px;line-height:1.7;color:#8a94a6;margin-top:4px}
.hsy-ct-amount-field input{text-align:left;font-weight:800;letter-spacing:.4px}
.hsy-ct-field input:focus,.hsy-ct-field textarea:focus{outline:none!important;border-color:var(--hsy-ct-accent,#4f46e5)!important;box-shadow:0 0 0 3px color-mix(in srgb,var(--hsy-ct-accent,#4f46e5) 12%,transparent)!important}
.hsy-ct-field input.is-valid{border-color:#22c55e!important}
.hsy-ct-field input.is-invalid{border-color:#ef4444!important}
.hsy-ct-file-input{cursor:pointer}
.hsy-ct-file-preview{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:6px;font-size:10px;color:#64748b}
.hsy-ct-file-preview .is-error{color:#dc2626}
.hsy-ct-receipt-thumb{width:52px;height:52px;object-fit:cover;border-radius:9px;border:1px solid #e5e7eb}
.hsy-ct-security-note{display:flex!important;align-items:center;gap:9px;margin-top:2px!important}
.hsy-ct-security-icon{width:22px;height:22px;flex:none;display:flex;align-items:center;justify-content:center;border-radius:50%;background:rgba(34,197,94,.10);color:#16a34a;font-weight:900}
.hsy-ct-live-status{min-height:18px;font-size:10px;line-height:1.7;margin-top:1px}
.hsy-ct-live-status.is-error{color:#dc2626}
.hsy-ct-live-status.is-loading{color:#64748b}
.hsy-ct-submit-premium{min-height:48px!important;border-radius:13px!important;font-size:13px!important;font-weight:900!important;transition:transform .15s,opacity .15s,box-shadow .15s}
.hsy-ct-submit-premium:hover{transform:translateY(-1px);box-shadow:0 10px 24px color-mix(in srgb,var(--hsy-ct-btn,#4f46e5) 25%,transparent)}
.hsy-ct-submit-premium.is-loading{opacity:.75;cursor:wait}
.hsy-ct-copy.is-copied{background:rgba(34,197,94,.18)!important;border-color:rgba(34,197,94,.35)!important}
@media(max-width:600px){
  .hsy-card-transfer-modal.hsy-ct-premium{width:calc(100vw - 12px)!important;max-height:calc(100dvh - 12px);padding:14px!important;border-radius:19px!important}
  .hsy-ct-fields-grid{grid-template-columns:1fr}
  .hsy-ct-number{font-size:18px!important;letter-spacing:1.2px!important}
  .hsy-ct-progress-step span{display:none}
  .hsy-ct-progress{gap:5px}
}


/* ================================================================
   CARD-TO-CARD — LUXURY CHECKOUT UI
   Outer modal + inner content are intentionally styled together.
   ================================================================ */
.hsy-overlay .hsy-modal.hsy-modal-card-transfer{
  width:min(760px,calc(100vw - 22px))!important;
  max-width:760px!important;
  max-height:min(94dvh,900px)!important;
  padding:0!important;
  overflow:hidden!important;
  border:0!important;
  border-radius:30px!important;
  background:transparent!important;
  box-shadow:0 35px 100px rgba(2,8,23,.28),0 8px 30px rgba(2,8,23,.14)!important;
}
.hsy-overlay .hsy-modal.hsy-modal-card-transfer .hsy-card-transfer-modal{
  width:100%!important;
  max-width:none!important;
  max-height:min(94dvh,900px)!important;
  overflow-y:auto!important;
  box-sizing:border-box!important;
  padding:0!important;
  margin:0!important;
  border:0!important;
  border-radius:30px!important;
  background:
    radial-gradient(circle at 95% 0%,rgba(99,102,241,.12),transparent 30%),
    radial-gradient(circle at 0% 100%,rgba(14,165,233,.08),transparent 28%),
    #f8fafc!important;
  color:#172033!important;
  scrollbar-width:thin;
}
.hsy-modal-card-transfer .hsy-modal-head{
  position:sticky!important;
  top:0!important;
  z-index:20!important;
  min-height:78px!important;
  box-sizing:border-box!important;
  padding:0 28px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  background:rgba(255,255,255,.86)!important;
  backdrop-filter:blur(18px)!important;
  -webkit-backdrop-filter:blur(18px)!important;
  border-bottom:1px solid rgba(148,163,184,.18)!important;
}
.hsy-modal-card-transfer .hsy-modal-head h2{
  margin:0!important;
  font-size:19px!important;
  font-weight:950!important;
  letter-spacing:-.4px!important;
  color:#0f172a!important;
}
.hsy-modal-card-transfer .hsy-modal-close{
  width:38px!important;height:38px!important;
  border-radius:12px!important;
  border:1px solid #e2e8f0!important;
  background:#fff!important;
  color:#64748b!important;
  font-size:23px!important;
  line-height:1!important;
  cursor:pointer!important;
  transition:.2s!important;
}
.hsy-modal-card-transfer .hsy-modal-close:hover{
  transform:rotate(90deg)!important;
  background:#f1f5f9!important;
  color:#0f172a!important;
}
.hsy-modal-card-transfer .hsy-ct-progress,
.hsy-modal-card-transfer .hsy-ct-intro,
.hsy-modal-card-transfer .hsy-ct-bank-card,
.hsy-modal-card-transfer .hsy-ct-instructions,
.hsy-modal-card-transfer .hsy-ct-form-premium{
  margin-left:28px!important;
  margin-right:28px!important;
}
.hsy-modal-card-transfer .hsy-ct-progress{margin-top:20px!important}
.hsy-modal-card-transfer .hsy-ct-intro{
  margin-top:12px!important;
  border:1px solid #e6eaf0!important;
  border-radius:18px!important;
  background:rgba(255,255,255,.88)!important;
  box-shadow:0 8px 25px rgba(15,23,42,.045)!important;
}
.hsy-modal-card-transfer .hsy-ct-step{
  width:35px!important;height:35px!important;
  flex:none!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  border-radius:12px!important;
  color:#fff!important;
  background:linear-gradient(135deg,var(--hsy-ct-accent,#4f46e5),#7c3aed)!important;
  box-shadow:0 8px 18px color-mix(in srgb,var(--hsy-ct-accent,#4f46e5) 25%,transparent)!important;
  font-weight:950!important;
}
.hsy-modal-card-transfer .hsy-ct-intro-copy strong{font-size:12px!important;color:#0f172a!important}
.hsy-modal-card-transfer .hsy-ct-intro-copy small{color:#64748b!important}
.hsy-modal-card-transfer .hsy-ct-secure-badge{font-size:9px!important}
.hsy-modal-card-transfer .hsy-ct-bank-card{
  margin-top:15px!important;
  border:0!important;
  border-radius:24px!important;
  padding:22px!important;
  color:#fff!important;
  background:
    radial-gradient(circle at 85% 15%,rgba(255,255,255,.18),transparent 28%),
    radial-gradient(circle at 5% 100%,rgba(255,255,255,.10),transparent 30%),
    linear-gradient(135deg,#111827 0%,#1e293b 52%,#312e81 100%)!important;
  box-shadow:0 18px 40px rgba(15,23,42,.22)!important;
}
.hsy-modal-card-transfer .hsy-ct-bank-top{
  margin-bottom:27px!important;
}
.hsy-modal-card-transfer .hsy-ct-chip{
  width:39px!important;height:27px!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  border-radius:7px!important;
  font-size:8px!important;font-weight:950!important;
  color:#111827!important;
  background:linear-gradient(135deg,#f8fafc,#cbd5e1)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.8)!important;
}
.hsy-modal-card-transfer .hsy-ct-bank-name{
  font-size:10px!important;font-weight:850!important;opacity:.82!important;
}
.hsy-modal-card-transfer .hsy-ct-number{
  font-family:ui-monospace,SFMono-Regular,Menlo,monospace!important;
  font-size:clamp(20px,4vw,30px)!important;
  letter-spacing:2.5px!important;
  text-shadow:0 2px 10px rgba(0,0,0,.22)!important;
}
.hsy-modal-card-transfer .hsy-ct-copy{
  border:1px solid rgba(255,255,255,.22)!important;
  border-radius:11px!important;
  background:rgba(255,255,255,.09)!important;
  color:#fff!important;
  padding:9px 12px!important;
  font-size:9px!important;
  font-weight:850!important;
  cursor:pointer!important;
  transition:.2s!important;
}
.hsy-modal-card-transfer .hsy-ct-copy:hover{
  background:rgba(255,255,255,.17)!important;
  transform:translateY(-1px)!important;
}
.hsy-modal-card-transfer .hsy-ct-amount-highlight{
  margin-top:19px!important;
  padding:15px 16px!important;
  border-radius:16px!important;
  background:rgba(255,255,255,.10)!important;
  border:1px solid rgba(255,255,255,.12)!important;
}
.hsy-modal-card-transfer .hsy-ct-amount-highlight strong{
  font-size:21px!important;font-weight:950!important;
  letter-spacing:.2px!important;
}
.hsy-modal-card-transfer .hsy-ct-amount-copy{
  padding:8px 10px!important;
}
.hsy-modal-card-transfer .hsy-ct-bank-meta{
  border-top:1px solid rgba(255,255,255,.12)!important;
  padding-top:13px!important;
  color:rgba(255,255,255,.78)!important;
}
.hsy-modal-card-transfer .hsy-ct-instructions{
  margin-top:13px!important;
  padding:14px 16px!important;
  border:1px solid #e6eaf0!important;
  border-radius:17px!important;
  background:#fff!important;
}
.hsy-modal-card-transfer .hsy-ct-instructions strong{
  display:flex!important;align-items:center!important;gap:7px!important;
  color:#0f172a!important;font-size:11px!important;
}
.hsy-modal-card-transfer .hsy-ct-instructions strong:before{
  content:"i"!important;
  width:21px;height:21px;display:inline-flex;align-items:center;justify-content:center;
  border-radius:7px;background:#eef2ff;color:#4f46e5;font-weight:950;
}
.hsy-modal-card-transfer .hsy-ct-instructions p{
  margin:6px 0 0!important;color:#64748b!important;font-size:10px!important;line-height:2!important;
}
.hsy-modal-card-transfer .hsy-ct-form-premium{
  margin-top:15px!important;
  margin-bottom:28px!important;
  padding:20px!important;
  border:1px solid #e4e9f0!important;
  border-radius:22px!important;
  background:rgba(255,255,255,.94)!important;
  box-shadow:0 10px 35px rgba(15,23,42,.055)!important;
}
.hsy-modal-card-transfer .hsy-ct-field label span{
  color:#334155!important;font-size:10px!important;font-weight:900!important;
}
.hsy-modal-card-transfer .hsy-ct-field label input,
.hsy-modal-card-transfer .hsy-ct-field label textarea{
  min-height:46px!important;
  border:1px solid #e2e8f0!important;
  border-radius:13px!important;
  background:#f8fafc!important;
  box-shadow:inset 0 1px 2px rgba(15,23,42,.025)!important;
  transition:border-color .2s,box-shadow .2s,background .2s!important;
}
.hsy-modal-card-transfer .hsy-ct-field label textarea{min-height:92px!important}
.hsy-modal-card-transfer .hsy-ct-field label input:hover,
.hsy-modal-card-transfer .hsy-ct-field label textarea:hover{background:#fff!important;border-color:#cbd5e1!important}
.hsy-modal-card-transfer .hsy-ct-field label input:focus,
.hsy-modal-card-transfer .hsy-ct-field label textarea:focus{
  background:#fff!important;
  border-color:var(--hsy-ct-accent,#4f46e5)!important;
  box-shadow:0 0 0 4px color-mix(in srgb,var(--hsy-ct-accent,#4f46e5) 10%,transparent)!important;
}
.hsy-modal-card-transfer .hsy-ct-amount-field{
  margin-top:11px!important;
  padding:13px!important;
  border-radius:15px!important;
  background:#f5f7ff!important;
  border:1px solid #e0e7ff!important;
}
.hsy-modal-card-transfer .hsy-ct-amount-field label input{
  background:#fff!important;
  font-size:16px!important;
  font-weight:950!important;
  color:#111827!important;
}
.hsy-modal-card-transfer .hsy-ct-file-input{
  padding:8px!important;
  cursor:pointer!important;
}
.hsy-modal-card-transfer .hsy-ct-file-input::file-selector-button{
  border:0!important;
  border-radius:9px!important;
  padding:8px 12px!important;
  margin-left:8px!important;
  background:#eef2ff!important;
  color:#4338ca!important;
  font-weight:850!important;
  cursor:pointer!important;
}
.hsy-modal-card-transfer .hsy-ct-security-note{
  padding:11px 12px!important;
  border-radius:13px!important;
  background:#f0fdf4!important;
  border:1px solid #dcfce7!important;
  color:#166534!important;
}
.hsy-modal-card-transfer .hsy-ct-submit-premium{
  margin-top:7px!important;
  min-height:52px!important;
  border:0!important;
  border-radius:15px!important;
  color:var(--hsy-ct-btn-text,#fff)!important;
  background:linear-gradient(135deg,var(--hsy-ct-btn,#4f46e5),#7c3aed)!important;
  box-shadow:0 12px 26px color-mix(in srgb,var(--hsy-ct-btn,#4f46e5) 25%,transparent)!important;
}
.hsy-modal-card-transfer .hsy-ct-submit-premium:hover{
  transform:translateY(-2px)!important;
  box-shadow:0 17px 32px color-mix(in srgb,var(--hsy-ct-btn,#4f46e5) 32%,transparent)!important;
}
@media(max-width:600px){
  .hsy-overlay .hsy-modal.hsy-modal-card-transfer{
    width:calc(100vw - 10px)!important;
    max-height:calc(100dvh - 10px)!important;
    border-radius:22px!important;
  }
  .hsy-overlay .hsy-modal.hsy-modal-card-transfer .hsy-card-transfer-modal{
    max-height:calc(100dvh - 10px)!important;border-radius:22px!important;
  }
  .hsy-modal-card-transfer .hsy-modal-head{min-height:64px!important;padding:0 16px!important}
  .hsy-modal-card-transfer .hsy-ct-progress,
  .hsy-modal-card-transfer .hsy-ct-intro,
  .hsy-modal-card-transfer .hsy-ct-bank-card,
  .hsy-modal-card-transfer .hsy-ct-instructions,
  .hsy-modal-card-transfer .hsy-ct-form-premium{
    margin-left:13px!important;margin-right:13px!important;
  }
  .hsy-modal-card-transfer .hsy-ct-bank-card{padding:17px!important;border-radius:20px!important}
  .hsy-modal-card-transfer .hsy-ct-form-premium{padding:14px!important;border-radius:18px!important}
  .hsy-modal-card-transfer .hsy-ct-number{font-size:18px!important;letter-spacing:1px!important}
  .hsy-modal-card-transfer .hsy-ct-fields-grid{grid-template-columns:1fr!important}
}


/* v7.6.7 - account dashboard inspired by a modern chat app, fully responsive */
.hsy-modal.hsy-modal-account{
  width:min(1080px,calc(100vw - 28px))!important;
  max-width:1080px!important;
  padding:0!important;
  overflow:hidden!important;
  border-radius:24px!important;
  background:var(--hsy-profile-bg,#1f1f20)!important;
}
.hsy-user-dashboard{display:grid;grid-template-columns:250px minmax(0,1fr);grid-template-areas:"nav content";direction:ltr;min-height:min(760px,calc(100dvh - 40px));max-height:calc(100dvh - 40px);overflow:hidden;border-radius:inherit;background:var(--hsy-profile-bg,#1f1f20);color:var(--hsy-profile-text,#f4f4f5)}
.hsy-user-dashboard-nav{grid-area:nav;direction:rtl;display:flex;flex-direction:column;gap:5px;padding:18px 14px;border-right:1px solid rgba(255,255,255,.08);background:rgba(0,0,0,.22);min-width:0}
.hsy-user-dashboard-brand{display:flex;align-items:center;gap:10px;padding:8px 7px 16px;margin-bottom:8px;border-bottom:1px solid rgba(255,255,255,.08)}
.hsy-user-dashboard-brand-avatar{width:42px;height:42px;border-radius:50%;display:flex;align-items:center;justify-content:center;overflow:hidden;background:var(--hsy-profile-accent,#6d5dfc);color:#fff;flex:0 0 42px}.hsy-user-dashboard-brand-avatar img{width:100%;height:100%;object-fit:cover}.hsy-user-dashboard-brand-avatar svg{width:21px;height:21px}.hsy-user-dashboard-brand div:last-child{min-width:0;display:flex;flex-direction:column;gap:2px}.hsy-user-dashboard-brand strong{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hsy-user-dashboard-brand small{font-size:10px;color:rgba(255,255,255,.58);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hsy-user-dashboard-nav-item{width:100%;min-height:45px;border:0;background:transparent;color:rgba(255,255,255,.82);border-radius:11px;display:flex;align-items:center;gap:10px;padding:9px 11px;font:inherit;font-size:12px;font-weight:700;cursor:pointer;text-align:right;transition:background .16s,transform .16s,color .16s}.hsy-user-dashboard-nav-item:hover{background:rgba(255,255,255,.07);color:#fff}.hsy-user-dashboard-nav-item.is-active{background:rgba(109,93,252,.16);color:#fff}.hsy-user-dashboard-nav-item.is-active .hsy-user-dashboard-nav-icon{color:var(--hsy-profile-accent,#6d5dfc)}.hsy-user-dashboard-nav-icon{width:20px;height:20px;display:flex;align-items:center;justify-content:center;flex:0 0 20px;color:#b8becb}.hsy-user-dashboard-nav-icon svg{width:19px;height:19px}.hsy-user-dashboard-nav-spacer{flex:1}.hsy-user-dashboard-nav-item.is-logout{color:#ff5b61;margin-top:8px}.hsy-user-dashboard-nav-item.is-logout .hsy-user-dashboard-nav-icon{color:#ff5b61}
.hsy-user-dashboard-content{grid-area:content;direction:rtl;min-width:0;overflow:auto;padding:22px 24px 28px;scrollbar-width:thin}.hsy-user-dashboard-content .hsy-account-hero{padding:0 0 18px}.hsy-user-dashboard-content .hsy-account-panel-title{padding:13px 0 12px;margin-bottom:13px}.hsy-user-dashboard-content .hsy-modal-close{display:flex}
.hsy-user-dashboard-content .hsy-current-plan-card{border-radius:18px}.hsy-user-dashboard-content .hsy-account-quick-actions{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.hsy-user-dashboard-content .hsy-account-quick{min-width:0;border-radius:14px;padding:12px 9px}.hsy-user-dashboard-content .hsy-account-form{margin-top:15px}
@media(max-width:760px){
  .hsy-modal.hsy-modal-account{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important}
  .hsy-user-dashboard{display:flex;flex-direction:column;min-height:100dvh;max-height:100dvh;border-radius:0}
  .hsy-user-dashboard-nav{order:0;flex:0 0 auto;border-right:0;border-bottom:1px solid rgba(255,255,255,.08);padding:10px 10px 9px;background:rgba(0,0,0,.28)}
  .hsy-user-dashboard-brand{padding:4px 5px 9px;margin-bottom:7px}
  .hsy-user-dashboard-brand-avatar{width:36px;height:36px;flex-basis:36px}.hsy-user-dashboard-brand strong{font-size:12px}.hsy-user-dashboard-brand small{font-size:9px}
  .hsy-user-dashboard-nav-spacer{display:none}
  .hsy-user-dashboard-nav-item{min-height:38px;padding:8px 9px;font-size:10px;justify-content:center;flex-direction:column;gap:3px;border-radius:10px}
  .hsy-user-dashboard-nav-icon{width:18px;height:18px;flex-basis:18px}.hsy-user-dashboard-nav-icon svg{width:17px;height:17px}
  .hsy-user-dashboard-nav-item.is-logout{margin-top:7px}
  .hsy-user-dashboard-nav{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
  .hsy-user-dashboard-brand{grid-column:1/-1}
  .hsy-user-dashboard-nav-item.is-logout{grid-column:1/-1;flex-direction:row;justify-content:center;min-height:40px}
  .hsy-user-dashboard-content{padding:14px 12px 28px;overflow:auto;flex:1}
  .hsy-user-dashboard-content .hsy-account-hero{gap:10px;padding-bottom:13px}.hsy-user-dashboard-content .hsy-account-avatar{width:52px;height:52px}.hsy-user-dashboard-content .hsy-account-identity strong{font-size:15px}
  .hsy-user-dashboard-content .hsy-current-plan-details{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hsy-user-dashboard-content .hsy-account-quick-actions{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:420px){
  .hsy-user-dashboard-nav{grid-template-columns:repeat(3,minmax(0,1fr))}
  .hsy-user-dashboard-content{padding:11px 9px 24px}
  .hsy-user-dashboard-content .hsy-account-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .hsy-user-dashboard-content .hsy-account-form{display:flex!important;flex-direction:column!important;gap:8px!important}
  .hsy-user-dashboard-content .hsy-account-form .hsy-profile-actions{width:100%}.hsy-user-dashboard-content .hsy-account-form .hsy-profile-actions .hsy-btn{flex:1}
}


/* v7.6.8 - User account dashboard: desktop right sidebar + mobile-first responsive layout */
.hsy-modal.hsy-modal-account{
  width:min(1080px,calc(100vw - 24px))!important;
  max-width:1080px!important;
  height:min(760px,calc(100dvh - 24px))!important;
  max-height:calc(100dvh - 24px)!important;
  padding:0!important;
  overflow:hidden!important;
  border-radius:24px!important;
  background:#1f1f20!important;
  color:#f4f4f5!important;
}
.hsy-modal.hsy-modal-account>.hsy-account-panel.hsy-user-dashboard{
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  max-height:none!important;
  padding:0!important;
  overflow:hidden!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 238px!important;
  grid-template-areas:"content nav"!important;
  direction:ltr!important;
  border-radius:inherit!important;
  background:#1f1f20!important;
  color:#f4f4f5!important;
}
.hsy-user-dashboard>.hsy-user-dashboard-nav{
  grid-area:nav!important;
  direction:rtl!important;
  display:flex!important;
  flex-direction:column!important;
  gap:4px!important;
  min-width:0!important;
  padding:18px 12px 14px!important;
  background:#0d0d0e!important;
  border-left:1px solid rgba(255,255,255,.07)!important;
  border-right:0!important;
}
.hsy-user-dashboard-brand{
  min-height:56px!important;
  margin:0 0 10px!important;
  padding:4px 6px 14px!important;
  border-bottom:1px solid rgba(255,255,255,.09)!important;
}
.hsy-user-dashboard-nav-item{
  min-height:44px!important;
  padding:8px 10px!important;
  border-radius:10px!important;
  color:#e5e7eb!important;
  font-size:12px!important;
  font-weight:750!important;
  background:transparent!important;
}
.hsy-user-dashboard-nav-item:hover{background:#19191b!important;color:#fff!important}
.hsy-user-dashboard-nav-item.is-active{background:#17171a!important;color:#fff!important}
.hsy-user-dashboard-nav-item.is-active .hsy-user-dashboard-nav-icon{color:#8aa4ff!important}
.hsy-user-dashboard-nav-icon{color:#aeb4c0!important}
.hsy-user-dashboard-nav-spacer{display:block!important;flex:1 1 auto!important}
.hsy-user-dashboard-nav-item.is-logout{color:#ff5964!important;margin-top:8px!important}
.hsy-user-dashboard-nav-item.is-logout .hsy-user-dashboard-nav-icon{color:#ff5964!important}
.hsy-user-dashboard-content{
  grid-area:content!important;
  direction:rtl!important;
  min-width:0!important;
  min-height:0!important;
  overflow:auto!important;
  padding:26px 28px 30px!important;
  background:#202021!important;
  scrollbar-width:thin!important;
}
.hsy-user-dashboard-content .hsy-account-hero{
  padding:0 0 18px!important;
  border-bottom:1px solid rgba(255,255,255,.08)!important;
}
.hsy-user-dashboard-content .hsy-account-panel-title{
  padding:16px 0 12px!important;
  margin:0!important;
  border-bottom:0!important;
}
.hsy-user-dashboard-content .hsy-current-plan-card,
.hsy-user-dashboard-content .hsy-account-stat,
.hsy-user-dashboard-content .hsy-account-progress,
.hsy-user-dashboard-content .hsy-account-subscription{
  background:#272729!important;
  border-color:rgba(255,255,255,.08)!important;
  color:#f4f4f5!important;
}
.hsy-user-dashboard-content .hsy-account-quick{
  background:#272729!important;
  border:1px solid rgba(255,255,255,.08)!important;
  color:#f4f4f5!important;
}
.hsy-user-dashboard-content .hsy-account-quick:hover{background:#2e2e31!important}
@media(max-width:760px){
  .hsy-modal.hsy-modal-account{
    width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;
  }
  .hsy-modal.hsy-modal-account>.hsy-account-panel.hsy-user-dashboard{
    display:flex!important;flex-direction:column!important;width:100%!important;height:100%!important;max-height:none!important;border-radius:0!important;
  }
  .hsy-user-dashboard>.hsy-user-dashboard-nav{
    order:0!important;flex:0 0 auto!important;padding:9px 9px 8px!important;border:0!important;border-bottom:1px solid rgba(255,255,255,.08)!important;
    display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important;background:#0d0d0e!important;
  }
  .hsy-user-dashboard-brand{grid-column:1/-1!important;margin:0 0 3px!important;padding:2px 4px 8px!important;min-height:42px!important}
  .hsy-user-dashboard-brand-avatar{width:34px!important;height:34px!important;flex-basis:34px!important}
  .hsy-user-dashboard-brand strong{font-size:11px!important}.hsy-user-dashboard-brand small{font-size:9px!important}
  .hsy-user-dashboard-nav-spacer{display:none!important}
  .hsy-user-dashboard-nav-item{min-height:42px!important;padding:6px 4px!important;justify-content:center!important;flex-direction:column!important;gap:2px!important;font-size:9px!important;border-radius:9px!important}
  .hsy-user-dashboard-nav-icon,.hsy-user-dashboard-nav-icon svg{width:17px!important;height:17px!important}
  .hsy-user-dashboard-nav-item.is-logout{grid-column:1/-1!important;min-height:38px!important;flex-direction:row!important;gap:7px!important;margin-top:2px!important}
  .hsy-user-dashboard-content{order:1!important;flex:1 1 auto!important;width:100%!important;overflow:auto!important;padding:15px 12px 26px!important;background:#202021!important}
  .hsy-user-dashboard-content .hsy-account-hero{gap:9px!important;padding-bottom:13px!important}
  .hsy-user-dashboard-content .hsy-account-avatar{width:52px!important;height:52px!important}
  .hsy-user-dashboard-content .hsy-account-identity strong{font-size:15px!important}
  .hsy-user-dashboard-content .hsy-current-plan-details{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .hsy-user-dashboard-content .hsy-account-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .hsy-user-dashboard-content .hsy-account-quick-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:380px){
  .hsy-user-dashboard>.hsy-user-dashboard-nav{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .hsy-user-dashboard-nav-item{font-size:8.5px!important;min-height:39px!important}
  .hsy-user-dashboard-content{padding:12px 9px 22px!important}
}

/* Hooshyar professional quick-actions hub */
.hsy-quick-actions-overlay{position:fixed;inset:0;z-index:10000;display:flex;align-items:center;justify-content:center;padding:18px;background:rgba(10,12,24,.54);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);opacity:0;transition:opacity .22s ease}
.hsy-quick-actions-overlay.show{opacity:1}
.hsy-quick-actions-card{position:relative;width:min(720px,100%);max-height:min(760px,calc(100dvh - 36px));overflow:auto;border:1px solid var(--border);border-radius:28px;background:var(--white);color:var(--text);box-shadow:0 35px 110px rgba(0,0,0,.28);padding:28px;transform:translateY(14px) scale(.975);transition:transform .28s cubic-bezier(.22,1,.36,1)}
.hsy-quick-actions-overlay.show .hsy-quick-actions-card{transform:none}
.hsy-quick-actions-card:before{content:"";position:absolute;inset:0 0 auto;height:4px;border-radius:28px 28px 0 0;background:linear-gradient(90deg,#6d5dfc,#8b7cff,transparent)}
.hsy-quick-actions-head{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;margin-bottom:22px}
.hsy-quick-actions-brand{display:flex;align-items:center;gap:14px;min-width:0}
.hsy-quick-actions-icon{width:58px;height:58px;display:flex;align-items:center;justify-content:center;flex:0 0 auto;border-radius:18px;background:linear-gradient(145deg,#6d5dfc,#8b7cff);color:#fff;font-size:27px;box-shadow:0 12px 28px rgba(109,93,252,.25)}
.hsy-quick-actions-kicker{font-size:10px;letter-spacing:.12em;font-weight:900;color:#6d5dfc}
.hsy-quick-actions-head h2{margin:3px 0 3px;font-size:24px;line-height:1.4;font-weight:850}
.hsy-quick-actions-head p{margin:0;color:var(--text-soft);font-size:12px;line-height:1.9}
.hsy-quick-actions-close{width:38px;height:38px;border:1px solid var(--border);background:var(--field-bg);color:var(--text);border-radius:50%;font-size:23px;line-height:1;cursor:pointer;flex:0 0 auto;transition:.18s ease}
.hsy-quick-actions-close:hover{transform:rotate(4deg) scale(1.04);background:var(--hover)}
.hsy-quick-actions-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.hsy-quick-action{min-height:92px;display:flex;align-items:center;text-align:right;gap:12px;padding:14px;border:1px solid var(--border);border-radius:18px;background:var(--field-bg);color:var(--text);cursor:pointer;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease}
.hsy-quick-action:hover{transform:translateY(-2px);border-color:rgba(109,93,252,.4);box-shadow:0 12px 28px rgba(0,0,0,.08);background:var(--white)}
.hsy-quick-action.primary{border-color:rgba(109,93,252,.25);background:linear-gradient(135deg,rgba(109,93,252,.12),var(--field-bg))}
.hsy-quick-action-icon{width:44px;height:44px;display:flex;align-items:center;justify-content:center;border-radius:14px;background:var(--white);border:1px solid var(--border);font-size:22px;flex:0 0 auto}
.hsy-quick-action-main{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}
.hsy-quick-action-main strong{font-size:13px;font-weight:800}
.hsy-quick-action-main small{font-size:10.5px;line-height:1.7;color:var(--text-soft);white-space:normal}
.hsy-quick-action-arrow{font-size:16px;color:var(--muted);transition:transform .18s ease}
.hsy-quick-action:hover .hsy-quick-action-arrow{transform:translateX(-3px);color:#6d5dfc}
.hsy-quick-actions-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:18px;padding-top:15px;border-top:1px solid var(--border);font-size:10.5px;color:var(--muted)}
.hsy-quick-actions-footer button{border:0;background:transparent;color:var(--text-soft);cursor:pointer;font-size:10.5px}
.hsy-quick-actions-footer button:hover{color:var(--text)}
@media(max-width:600px){.hsy-quick-actions-overlay{padding:10px}.hsy-quick-actions-card{padding:20px;border-radius:22px;max-height:calc(100dvh - 20px)}.hsy-quick-actions-head{gap:10px;margin-bottom:18px}.hsy-quick-actions-icon{width:48px;height:48px;border-radius:15px;font-size:23px}.hsy-quick-actions-head h2{font-size:19px}.hsy-quick-actions-head p{font-size:10.5px}.hsy-quick-actions-grid{grid-template-columns:1fr;gap:8px}.hsy-quick-action{min-height:76px;border-radius:15px;padding:11px}.hsy-quick-action-icon{width:40px;height:40px;border-radius:12px;font-size:20px}}

/* Universal popup: model intro / warning / rich text + image */
.hsy-universal-popup-overlay{position:fixed;inset:0;z-index:100000;display:flex;align-items:center;justify-content:center;padding:18px;background:rgba(0,0,0,.48);backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px);opacity:0;transition:opacity .2s ease}
.hsy-universal-popup-overlay.show{opacity:1}
.hsy-universal-popup-card{position:relative;width:min(590px,100%);max-height:min(760px,calc(100dvh - 36px));overflow:auto;background:var(--white);color:var(--text);border:1px solid var(--border);border-radius:26px;box-shadow:0 30px 90px rgba(0,0,0,.26);padding:24px;transform:translateY(12px) scale(.97);transition:transform .26s cubic-bezier(.22,1,.36,1)}
.hsy-universal-popup-overlay.show .hsy-universal-popup-card{transform:none}
.hsy-universal-popup-card:before{content:"";position:absolute;inset:0 0 auto;height:4px;background:linear-gradient(90deg,var(--hsy-popup-accent,#6d5dfc),transparent);border-radius:26px 26px 0 0}
.hsy-popup-warning{--hsy-popup-accent:#d97706}
.hsy-popup-content{--hsy-popup-accent:#2563eb}
.hsy-popup-model{--hsy-popup-accent:#6d5dfc}
.hsy-universal-popup-head{display:flex;align-items:center;gap:13px;padding-left:42px;min-height:58px}
.hsy-universal-popup-icon{width:50px;height:50px;display:flex;align-items:center;justify-content:center;flex:0 0 auto;border-radius:16px;background:color-mix(in srgb,var(--hsy-popup-accent) 11%,var(--field-bg));color:var(--hsy-popup-accent);font-size:24px;font-weight:800}
.hsy-universal-popup-title-wrap{min-width:0;flex:1}.hsy-universal-popup-kicker{font-size:10px;font-weight:800;color:var(--hsy-popup-accent);margin-bottom:2px}.hsy-universal-popup-title-wrap h2{font-size:21px;line-height:1.45;margin:0}.hsy-universal-popup-title-wrap p{font-size:12px;color:var(--muted);margin:3px 0 0}
.hsy-universal-popup-close{position:absolute;left:15px;top:14px;width:36px;height:36px;border:1px solid var(--border);border-radius:50%;background:var(--field-bg);color:var(--text);font-size:23px;line-height:1;cursor:pointer}.hsy-universal-popup-close:hover{background:var(--hover)}
.hsy-universal-popup-media{margin:18px 0 0;border-radius:18px;overflow:hidden;border:1px solid var(--border);background:var(--field-bg);max-height:300px}.hsy-universal-popup-media img{display:block;width:100%;height:auto;max-height:300px;object-fit:cover}
.hsy-universal-popup-text,.hsy-universal-popup-html{font-size:14px;line-height:2;margin-top:17px;color:var(--text-soft);white-space:pre-line}.hsy-universal-popup-html p:first-child{margin-top:0}.hsy-universal-popup-html p:last-child{margin-bottom:0}
.hsy-universal-popup-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:16px}.hsy-universal-popup-list-item{display:flex;align-items:center;gap:8px;padding:10px 12px;border:1px solid var(--border);border-radius:13px;background:var(--field-bg);font-size:12px}.hsy-universal-popup-list-item .item-icon{color:var(--hsy-popup-accent);font-weight:800}
.hsy-universal-popup-alert{display:flex;align-items:flex-start;gap:9px;margin-top:16px;padding:12px 14px;border:1px solid color-mix(in srgb,var(--hsy-popup-accent) 28%,var(--border));background:color-mix(in srgb,var(--hsy-popup-accent) 7%,var(--field-bg));border-radius:14px;font-size:12px;line-height:1.8}.hsy-universal-popup-alert .alert-icon{color:var(--hsy-popup-accent);font-size:17px}
.hsy-universal-popup-actions{display:flex;gap:9px;margin-top:21px}.hsy-universal-popup-actions button{flex:1;min-height:44px;border-radius:13px;padding:10px 15px;font:inherit;font-size:13px;font-weight:700;cursor:pointer}.hsy-universal-popup-primary{border:0;background:var(--hsy-popup-accent);color:#fff}.hsy-universal-popup-secondary{border:1px solid var(--border);background:transparent;color:var(--text)}
@media(max-width:560px){.hsy-universal-popup-overlay{padding:10px}.hsy-universal-popup-card{max-height:calc(100dvh - 20px);padding:19px;border-radius:20px}.hsy-universal-popup-head{padding-left:38px}.hsy-universal-popup-icon{width:44px;height:44px;border-radius:14px}.hsy-universal-popup-title-wrap h2{font-size:18px}.hsy-universal-popup-list{grid-template-columns:1fr}.hsy-universal-popup-actions{position:sticky;bottom:0;padding-top:10px;background:var(--white)}}
