#https-layer{position:fixed;inset:0;width:100vw;height:100vh;z-index:4;pointer-events:auto}#https-panel{position:fixed;top:132px;inset-inline-start:50%;transform:translateX(-50%);width:min(440px,calc(100vw - 24px));display:none;z-index:10;padding:13px;border:1px solid #65d6ff;border-radius:14px;background:rgba(3,13,22,.98);box-shadow:0 0 14px #65d6ff88,0 0 40px #65d6ff22;color:#eef9ff;font-size:11px;line-height:1.6}#https-panel.open{display:block}.https-title{color:#65d6ff;font-size:15px;font-weight:900}.https-help{color:#b8d7e6;font-size:10px}.https-input{width:100%;padding:7px;margin:5px 0;background:#06121a;color:#eef9ff;border:1px solid #28536a;border-radius:6px;font:inherit}.https-actions{display:flex;gap:6px;margin-top:6px}.https-actions button{flex:1;padding:6px;background:#65d6ff;color:#03111a;border:0;border-radius:6px;font:inherit;font-weight:900;cursor:pointer}.https-result{margin-top:8px;padding:8px;border:1px solid #28536a;border-radius:7px;color:#cbefff;min-height:34px}.https-safe{color:#7ff3a8}.https-warn{color:#ffb3b3}@media(max-width:700px){#https-panel{top:160px}}
#https-layer{touch-action:none;cursor:crosshair;will-change:contents}
.https-sources{margin-top:9px;padding-top:8px;border-top:1px solid #28536a}.https-sources textarea{min-height:74px;resize:vertical}.https-source-list{margin:7px 0 0;padding:0;list-style:none;max-height:180px;overflow:auto}.https-source-list li{margin:5px 0;padding:6px;border:1px solid #28536a;border-radius:6px;color:#cbefff}.https-source-list a{color:#65d6ff;word-break:break-all}.https-source-note{color:#b8d7e6;font-size:9px}
/* تحسين الهاتف: تثبيت اللوحة داخل الشاشة في RTL ومنع قصّها */
@media(max-width:700px){
  #https-panel{left:10px;right:10px;inset-inline-start:auto;inset-inline-end:auto;transform:none;width:auto;top:154px;max-height:calc(100vh - 178px);overflow-y:auto;padding:10px;border-radius:11px;font-size:10px}
  .https-title{font-size:13px}.https-help{font-size:9px;line-height:1.5;margin:3px 0 6px}.https-input{padding:8px;font-size:10px;margin:4px 0}.https-actions{gap:5px}.https-actions button{padding:8px 5px;font-size:10px;min-height:34px}.https-result{padding:7px;font-size:10px}.https-sources{margin-top:8px;padding-top:7px}.https-sources textarea{min-height:62px}.https-source-list{max-height:125px}.https-source-list li{padding:5px;margin:4px 0}
  #https-layer{z-index:4}
}
@media(max-width:380px){#https-panel{left:6px;right:6px;top:150px;padding:8px}.https-title{font-size:12px}.https-actions button{font-size:9px}}
#https-panel{left:50%;right:auto;inset-inline-start:auto;inset-inline-end:auto}
@media(max-width:700px){#https-panel{left:10px;right:10px;inset-inline-start:auto;inset-inline-end:auto;transform:none;width:auto}}@media(max-width:380px){#https-panel{left:6px;right:6px}}
