.x66n-overlay{ position:fixed; inset:0; z-index:100000; display:flex; align-items:center; justify-content:center; padding:20px; background:rgba(6,8,12,.66); -webkit-backdrop-filter:blur(5px); backdrop-filter:blur(5px); }
  .x66n-overlay.x66n-in{ animation:x66nFade .18s ease; }
  @keyframes x66nFade{ from{opacity:0} to{opacity:1} }
  .x66n-card{ --x66n-c:#ff8a2b; --x66n-cbg:rgba(255,122,24,.16);
    width:100%; max-width:372px; position:relative; overflow:hidden;
    background:linear-gradient(168deg,#232d3d 0%,#161d29 52%,#0e131b 100%);
    border:1px solid rgba(255,255,255,.10); border-radius:22px;
    box-shadow:0 26px 70px rgba(0,0,0,.66), 0 0 0 1px rgba(255,255,255,.04), inset 0 1px 0 rgba(255,255,255,.07);
    padding:0 0 18px; text-align:center; }
  .x66n-card::before{ content:''; position:absolute; top:-96px; left:50%; transform:translateX(-50%); width:300px; height:210px; background:radial-gradient(circle, var(--x66n-c), transparent 68%); opacity:.26; pointer-events:none; }
  .x66n-card::after{ content:''; position:absolute; top:0; left:0; right:0; height:4px; background:linear-gradient(90deg, transparent, var(--x66n-c), transparent); }
  .x66n-overlay.x66n-in .x66n-card{ animation:x66nPop .26s cubic-bezier(.2,.9,.3,1.25); }
  @keyframes x66nPop{ from{opacity:0; transform:translateY(12px) scale(.92)} to{opacity:1; transform:none} }
  .x66n-head{ position:relative; padding:28px 20px 4px; }
  .x66n-icon{ position:relative; width:66px; height:66px; border-radius:50%; display:grid; place-items:center; margin:0 auto;
    background:var(--x66n-cbg); color:var(--x66n-c);
    box-shadow:0 0 0 6px var(--x66n-cbg), 0 8px 24px rgba(0,0,0,.35); }
  .x66n-icon svg{ display:block; filter:drop-shadow(0 2px 4px rgba(0,0,0,.28)); }
  .x66n-body{ padding:2px 24px 0; }
  .x66n-title{ font-size:19px; font-weight:800; color:#fff; margin-bottom:7px; line-height:1.28; letter-spacing:.2px; }
  .x66n-msg{ font-size:14.5px; line-height:1.55; color:#9aa4b2; margin-bottom:20px; word-break:break-word; white-space:pre-line; }
  .x66n-actions{ display:flex; gap:10px; justify-content:center; }
  .x66n-btn{ min-width:100px; padding:11px 20px; border:none; border-radius:12px; font-size:14px; font-weight:800; cursor:pointer; transition:filter .15s, background .15s, transform .1s; font-family:inherit; }
  .x66n-btn-primary{ background:linear-gradient(135deg,#ff7a18,#ff2d55); color:#fff; box-shadow:0 8px 20px rgba(255,45,85,.34); }
  .x66n-btn-primary:hover{ filter:brightness(1.08); }
  .x66n-btn-primary:active{ transform:scale(.97); }
  .x66n-btn-ghost{ background:rgba(255,255,255,.08); color:#cbd5e1; }
  .x66n-btn-ghost:hover{ background:rgba(255,255,255,.14); }
  .x66n-btn-ghost:active{ transform:scale(.97); }
  .x66n-input{ width:100%; box-sizing:border-box; margin:-4px 0 20px; padding:12px 14px; border-radius:12px; border:1px solid rgba(255,255,255,.14); background:#0f1420; color:#fff; font-size:15px; font-family:inherit; outline:none; text-align:center; transition:border-color .15s; }
  .x66n-input:focus{ border-color:var(--x66n-c); }
  .x66n-input::placeholder{ color:#5b6472; }
  .x66n-close{ position:absolute; top:12px; right:12px; z-index:3; width:30px; height:30px; border-radius:50%; border:none; cursor:pointer; display:grid; place-items:center; color:#94a3b8; background:rgba(255,255,255,.06); transition:background .15s, color .15s; }
  .x66n-close:hover{ background:rgba(255,255,255,.14); color:#fff; }
  .x66n-foot{ margin-top:16px; font-size:10px; font-weight:800; letter-spacing:2px; text-transform:uppercase; color:rgba(255,255,255,.26); }
  .x66n-foot span{ color:var(--x66n-c); }
  html:not(.dark) .x66n-overlay{ background:rgba(30,41,59,.42); }
  html:not(.dark) .x66n-card{ background:linear-gradient(168deg,#ffffff 0%,#f6f8fc 55%,#eef1f7 100%); border:1px solid rgba(15,23,42,.10); box-shadow:0 26px 64px rgba(15,23,42,.24), inset 0 1px 0 rgba(255,255,255,.9); }
  html:not(.dark) .x66n-card::before{ opacity:.16; }
  html:not(.dark) .x66n-title{ color:#141922; }
  html:not(.dark) .x66n-msg{ color:#55606e; }
  html:not(.dark) .x66n-btn-ghost{ background:rgba(15,23,42,.06); color:#334155; }
  html:not(.dark) .x66n-btn-ghost:hover{ background:rgba(15,23,42,.12); }
  html:not(.dark) .x66n-input{ background:#f1f5f9; color:#141922; border-color:rgba(15,23,42,.15); }
  html:not(.dark) .x66n-input::placeholder{ color:#94a3b8; }
  html:not(.dark) .x66n-close{ background:rgba(15,23,42,.05); color:#64748b; }
  html:not(.dark) .x66n-close:hover{ background:rgba(15,23,42,.11); color:#141922; }
  html:not(.dark) .x66n-foot{ color:rgba(15,23,42,.26); }
