:root{--ink:#02040a;--cy:#2de2e6;--vi:#b66dff;--ln:rgba(103,232,249,.16)}
html{scroll-behavior:smooth}
body{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;color:#e6f7fb;background:radial-gradient(800px 500px at 8% -10%,rgba(45,226,230,.13),transparent 60%),radial-gradient(700px 500px at 100% 25%,rgba(182,109,255,.15),transparent 60%),#02040a;background-attachment:fixed}
h1,h2,h3,.font-display{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;font-weight:700}
.grad-text{background:linear-gradient(135deg,var(--cy),var(--vi));-webkit-background-clip:text;background-clip:text;color:transparent}
.btn-grad{background:linear-gradient(135deg,var(--cy),var(--vi));color:#02040a;font-weight:700;display:inline-block;text-align:center;transition:.2s;cursor:pointer}
.btn-grad:hover{filter:brightness(1.12);box-shadow:0 0 28px rgba(45,226,230,.35)}
.btn-line{border:1px solid rgba(255,255,255,.15);display:inline-block;text-align:center;transition:.2s;cursor:pointer}
.btn-line:hover{border-color:var(--cy);color:var(--cy)}
.glass{background:linear-gradient(160deg,rgba(14,28,40,.72),rgba(6,11,20,.88));border:1px solid var(--ln);backdrop-filter:blur(8px)}
.glass.hov:hover{border-color:rgba(45,226,230,.5);transform:translateY(-3px);transition:.25s}
.glow{box-shadow:0 0 70px rgba(45,226,230,.2),0 0 120px rgba(182,109,255,.12)}
.field{width:100%;background:#050c14;border:1px solid var(--ln);border-radius:.75rem;padding:.7rem .9rem;color:#e6f7fb;font:inherit}
.field:focus{outline:0;border-color:var(--cy);box-shadow:0 0 0 3px rgba(45,226,230,.12)}
.lbl{display:grid;gap:.4rem;font-size:.8rem;color:#7f93a3}
.chip{font-size:.72rem;padding:.2rem .65rem;border-radius:99px;border:1px solid var(--ln);color:#9ccfd8}
.ag-stab{transition:color .15s,border-color .15s}
.ag-stab.active{color:#2de2e6;border-bottom-color:#2de2e6}
.tab{padding:.5rem 1.1rem;border-radius:99px;border:1px solid var(--ln);color:#7f93a3;font-weight:600;font-size:.85rem;white-space:nowrap;transition:.2s;cursor:pointer}
.tab.on{background:linear-gradient(135deg,var(--cy),var(--vi));color:#02040a;border-color:transparent}
.step-dot{width:2rem;height:2rem;border-radius:99px;display:grid;place-items:center;border:1px solid var(--ln);font-weight:700;font-size:.85rem;color:#7f93a3}
.step-dot.on{background:linear-gradient(135deg,var(--cy),var(--vi));color:#02040a;border-color:transparent}
details>summary{cursor:pointer;list-style:none}details>summary::-webkit-details-marker{display:none}
details[open] .chev{transform:rotate(180deg)}
@keyframes float{0%,100%{transform:translateY(0)}50%{transform:translateY(-12px)}}.animate-float{animation:float 6s ease-in-out infinite}
@keyframes up{from{opacity:0;transform:translateY(14px)}to{opacity:1;transform:none}}.fade-in{animation:up .6s ease both}
#toast-box{position:fixed;top:1.25rem;right:1.25rem;z-index:9999;display:flex;flex-direction:column;gap:.5rem;pointer-events:none;max-width:calc(100vw - 2rem)}
.toast{display:flex;align-items:flex-start;gap:.65rem;padding:.75rem 1rem;border-radius:.875rem;font-size:.8125rem;font-weight:500;line-height:1.4;pointer-events:all;position:relative;overflow:hidden;min-width:240px;max-width:340px;box-shadow:0 8px 32px rgba(0,0,0,.45);backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);animation:toast-in .28s cubic-bezier(.22,1,.36,1) both}
.toast.success{background:rgba(6,20,30,.92);border:1px solid rgba(45,226,230,.35);color:#e2f8fa}
.toast.err{background:rgba(20,6,6,.92);border:1px solid rgba(248,113,113,.35);color:#fee2e2}
.toast.warn{background:rgba(20,16,4,.92);border:1px solid rgba(251,191,36,.35);color:#fef3c7}
.toast-icon{flex-shrink:0;margin-top:.05rem}
.toast-msg{flex:1}
.toast-close{flex-shrink:0;opacity:.5;cursor:pointer;font-size:1rem;line-height:1;margin-left:.25rem;transition:opacity .15s}.toast-close:hover{opacity:1}
.toast-bar{position:absolute;bottom:0;left:0;height:2px;border-radius:99px;animation:toast-bar 3s linear forwards}
.toast.success .toast-bar{background:var(--cy)}
.toast.err .toast-bar{background:#f87171}
.toast.warn .toast-bar{background:#fbbf24}
@keyframes toast-in{from{opacity:0;transform:translateX(1.5rem) scale(.96)}to{opacity:1;transform:none}}
@keyframes toast-out{to{opacity:0;transform:translateX(2rem) scale(.94);max-height:0;padding:0;margin:0}}
@keyframes toast-bar{from{width:100%}to{width:0%}}
::-webkit-scrollbar{height:6px;width:8px}::-webkit-scrollbar-thumb{background:#12303c;border-radius:99px}
.rte-wrap{border-radius:.75rem;overflow:hidden;border:1px solid rgba(45,226,230,0.2);background:rgba(8,13,24,0.8)}
.rte-toolbar{display:flex;align-items:center;gap:2px;padding:6px 8px;background:rgba(255,255,255,0.03);border-bottom:1px solid rgba(255,255,255,0.06);flex-wrap:wrap}
.rte-toolbar button{width:28px;height:28px;border-radius:6px;border:none;background:transparent;color:#94a3b8;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .15s}
.rte-toolbar button:hover{background:rgba(45,226,230,0.1);color:#2de2e6}
.rte-sep{width:1px;height:18px;background:rgba(255,255,255,0.08);margin:0 4px}
.rte-body{min-height:100px;padding:12px 14px;color:#e2e8f0;font-size:.875rem;line-height:1.7;outline:none;cursor:text}
.rte-body:empty:before{content:attr(data-placeholder);color:#475569;pointer-events:none}
.rte-body b,.rte-body strong{color:#fff;font-weight:700}
.rte-body i,.rte-body em{color:#cbd5e1;font-style:italic}
.rte-body h3{font-size:1rem;font-weight:700;color:#fff;margin:.4em 0}
.rte-body ul{list-style:disc;padding-left:1.25rem;margin:.25em 0}
.rte-body ol{list-style:decimal;padding-left:1.25rem;margin:.25em 0}
.rte-body a{color:#2de2e6;text-decoration:underline}
.pay-opt-card{display:flex;flex-direction:column;gap:3px;align-items:flex-start;padding:.75rem 1rem;border-radius:.75rem;border:1px solid rgba(255,255,255,0.07);background:rgba(255,255,255,0.03);cursor:pointer;transition:all .18s;color:#94a3b8}
.pay-opt-card:hover{border-color:rgba(45,226,230,0.3);background:rgba(45,226,230,0.05);color:#cbd5e1}
.pay-opt-card.selected{border-color:rgba(45,226,230,0.55);background:rgba(45,226,230,0.08);color:#2de2e6;box-shadow:0 0 0 1px rgba(45,226,230,0.18)}
.pay-opt-card.selected .font-bold{color:#fff}

.modal-shell{position:fixed;inset:0;z-index:9998;display:flex;align-items:center;justify-content:center;padding:1rem;opacity:0;transition:opacity .18s ease}
.modal-shell.open{opacity:1}
.modal-shell__backdrop{position:absolute;inset:0;background:rgba(2,4,10,.78);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px)}
.modal-card{position:relative;width:100%;max-width:26rem;border-radius:1.125rem;overflow:hidden;transform:translateY(12px) scale(.97);opacity:0;transition:transform .22s cubic-bezier(.22,1,.36,1),opacity .22s ease;background:linear-gradient(160deg,rgba(16,24,38,.98),rgba(7,12,20,.99));border:1px solid rgba(45,226,230,.18);box-shadow:0 28px 70px rgba(0,0,0,.7),0 0 0 1px rgba(255,255,255,.03)}
.modal-shell.open .modal-card{transform:none;opacity:1}
.modal-card::before{content:"";position:absolute;top:-70px;right:-60px;width:190px;height:190px;border-radius:999px;background:radial-gradient(circle,rgba(182,109,255,.22),transparent 65%);pointer-events:none}
.modal-card::after{content:"";position:absolute;bottom:-80px;left:-50px;width:180px;height:180px;border-radius:999px;background:radial-gradient(circle,rgba(45,226,230,.16),transparent 65%);pointer-events:none}
.modal-card__head{position:relative;display:flex;align-items:flex-start;gap:.7rem;padding:1.15rem 1.25rem .95rem;border-bottom:1px solid rgba(255,255,255,.07)}
.modal-card__icon{width:2.35rem;height:2.35rem;border-radius:.75rem;display:grid;place-items:center;flex-shrink:0;background:linear-gradient(135deg,rgba(45,226,230,.18),rgba(182,109,255,.18));border:1px solid rgba(45,226,230,.28);color:#2de2e6}
.modal-card__close{position:absolute;top:.85rem;right:.85rem;width:1.75rem;height:1.75rem;border-radius:.5rem;display:grid;place-items:center;color:#64748b;background:transparent;border:0;cursor:pointer;transition:.15s}
.modal-card__close:hover{color:#fff;background:rgba(255,255,255,.08)}
.modal-card__body{position:relative;padding:1.1rem 1.25rem 1.25rem}
.pw-field{position:relative;display:flex;align-items:center}
.pw-field input{padding-right:2.6rem}
.pw-eye{position:absolute;right:.5rem;width:1.9rem;height:1.9rem;border-radius:.5rem;display:grid;place-items:center;background:transparent;border:0;color:#64748b;cursor:pointer;transition:.15s}
.pw-eye:hover{color:#2de2e6;background:rgba(45,226,230,.08)}
.pw-meter{height:4px;border-radius:99px;background:rgba(255,255,255,.08);overflow:hidden;margin-top:.4rem}
.pw-meter>span{display:block;height:100%;width:0;border-radius:99px;transition:width .25s ease,background .25s ease;background:#f87171}
.pw-meter[data-score="2"]>span{background:#fbbf24}
.pw-meter[data-score="3"]>span{background:#34d399}
.pw-meter[data-score="4"]>span{background:linear-gradient(90deg,#2de2e6,#b66dff)}
#change-password-form.loading{opacity:.7;pointer-events:none}


.news-content{word-break:break-word}
.news-content p{margin:0 0 .7em}
.news-content p:last-child{margin-bottom:0}
.news-content h2{font-size:1.15em;font-weight:800;color:#fff;margin:1em 0 .45em;line-height:1.35}
.news-content h3{font-size:1.02em;font-weight:700;color:#e2e8f0;margin:.9em 0 .4em;line-height:1.4}
.news-content h4{font-size:.95em;font-weight:700;color:#e2e8f0;margin:.8em 0 .35em}
.news-content strong,.news-content b{font-weight:800;color:#fff}
.news-content em,.news-content i{font-style:italic}
.news-content u{text-decoration:underline;text-underline-offset:2px}
.news-content s,.news-content strike,.news-content del{opacity:.75}
.news-content ul,.news-content ol{margin:.5em 0 .8em;padding-left:1.35em}
.news-content ul{list-style:disc}
.news-content ol{list-style:decimal}
.news-content li{margin:.2em 0}
.news-content blockquote{margin:.8em 0;padding:.55em .9em;border-left:3px solid rgba(45,226,230,.55);background:rgba(45,226,230,.06);border-radius:0 .5rem .5rem 0;color:#cbd5e1;font-style:italic}
.news-content a{color:#2de2e6;text-decoration:underline;text-underline-offset:2px}
.news-content a:hover{color:#b66dff}
.news-content img{max-width:100%;height:auto;border-radius:.65rem;margin:.6em 0;border:1px solid rgba(255,255,255,.08)}
.news-content figure{margin:.8em 0}
.news-content figcaption{font-size:.85em;color:#64748b;text-align:center;margin-top:.3em}
.news-content hr{border:0;border-top:1px solid rgba(255,255,255,.1);margin:1em 0}
.news-content code{font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:.9em;background:rgba(255,255,255,.08);padding:.1em .35em;border-radius:.3rem}
.news-content pre{background:rgba(0,0,0,.35);padding:.7em .9em;border-radius:.5rem;overflow-x:auto;margin:.7em 0}
.news-content:empty::before{content:""}
.news-content-clamp{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
#news-editor:focus{outline:none}
#news-editor:empty::before{content:""}
#news-editor img{max-width:100%;height:auto;border-radius:.5rem}
