:root{--bg:#07090d;--surface:#11151d;--raised:#1a2331;--text:#f4f7fc;--muted:#8695ac;--line:#252d3a;--brand:#69baff;--button:#2787ff;--button-hover:#4399ff;--green:#53dbcb;--green-wash:#10292c;--red:#ff7486;--red-wash:#2a1721;--neutral:#69baff;--neutral-wash:#101d30;--ui-font:Vazirmatn,Inter,Arial,sans-serif}
:root[data-theme=light]{--bg:#f4f7fc;--surface:#fff;--raised:#e9f0fa;--text:#16202f;--muted:#566980;--line:#d2deed;--brand:#166dde;--green:#0d8279;--green-wash:#e3f5f2;--neutral:#166dde;--neutral-wash:#e5efff}
body{font-family:Vazirmatn,Inter,Arial,sans-serif;min-height:100dvh}
.topbar{background:var(--bg);border-bottom-color:var(--line)}
.topbar-inner{min-height:80px;max-width:1120px}
.brand img,.brand-mark{border-radius:0;width:48px;height:48px;object-fit:contain}
.brand small{display:none}
.brand b,.brand bdi{font-size:18px}
.language,.language-switch{background:var(--surface);border-color:var(--line)}
.language button[aria-pressed=true],.language-switch button[aria-pressed=true]{color:var(--brand);background:var(--neutral-wash)}
.network-scene{position:relative;isolation:isolate;display:grid;place-items:center;width:100%;height:250px;overflow:hidden;touch-action:pan-y}
.network-scene canvas{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.scene-fallback{width:210px;height:210px;object-fit:contain;animation:emblem-float 6s ease-in-out infinite}
.scene-ready .scene-fallback{visibility:hidden}
.primary{box-shadow:0 5px 22px #2787ff20}
.primary:hover:not(:disabled){transform:translateY(-2px);box-shadow:0 8px 26px #2787ff35}
.primary,.secondary,.icon{transition:transform .2s,background .2s,border-color .2s,box-shadow .2s}
.icon:hover,.secondary:hover{border-color:var(--brand)}
.service-section{padding-top:6px}
.service-section>.section-heading{display:flex;flex-direction:column;align-items:center;gap:18px;margin:10px 0 32px;text-align:center}
.service-identity{width:100%;justify-content:center}.service-identity>div{width:100%}.service-symbol{display:none}
.service-identity h1{font-size:26px;margin-bottom:8px}#service-name{text-align:center}
.status-line{justify-content:center}
.service-actions{flex-wrap:wrap;justify-content:center}
.usage-layout{padding:22px 0;border-top:1px solid var(--line);gap:30px}
.usage-value strong{font-size:32px}
.config-card{position:relative;box-shadow:none;border-color:var(--line);overflow:hidden;animation:panel-arrive .6s both;transform-style:preserve-3d}
.config-card:before{content:'';position:absolute;top:0;inset-inline:0;height:2px;background:var(--button);opacity:.55}
.config-card:hover{border-color:var(--brand);transform:perspective(850px) rotateX(2deg) translateY(-3px);box-shadow:0 12px 24px #0002}
.config-card:nth-child(2){animation-delay:.08s}.config-top img{object-fit:contain;width:52px;height:52px}
.guide-columns{gap:36px}.guide-columns article{border-top:1px solid var(--line);padding-top:20px}
.app-links a{color:var(--brand)}.android-guide{margin-bottom:16px}.guide-note svg{color:var(--brand)}
#content{animation:panel-arrive .7s both}
#usage-progress{height:4px}
footer{font-size:13px}
main#checker{max-width:840px;padding-top:24px;padding-bottom:40px}
#checker .section-label{margin-bottom:0;font-size:10px}
#checker .network-scene{height:280px;margin-top:-3px}
#checker .status-symbol{display:none}
#checker .status-symbol svg,#checker .status-symbol img{width:21px;height:21px}
#checker.checking .status-symbol:before{display:none}
#checker .result{min-height:130px}
#checker .result h1{font-size:26px;line-height:1.65;margin:9px 0}
#checker .result p{max-width:540px;margin:auto;font-size:12px}
#checker .ip-readout{margin-top:22px}
#checker .ip-value output{font-size:30px}
#checker .loading-track{width:180px;background:var(--line)}
#checker .actions{margin-top:22px}
.badge.active,.status-tag{font-variant-numeric:tabular-nums}
@keyframes emblem-float{0%,100%{transform:perspective(700px) rotateY(-9deg) translateY(-3px)}50%{transform:perspective(700px) rotateY(9deg) translateY(3px)}}
@keyframes panel-arrive{from{opacity:0;transform:translateY(15px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:650px){.topbar-inner{padding:12px 18px;min-height:72px}.brand img,.brand-mark{width:40px;height:40px}.brand b,.brand bdi{font-size:16px}.network-scene{height:210px}.scene-fallback{width:175px;height:175px}.service-section>.section-heading{gap:14px;margin-bottom:24px}.service-identity h1{font-size:23px}.service-actions{width:100%;gap:7px}.service-actions .secondary{font-size:11px;padding:9px 10px}.usage-layout{gap:22px}.usage-value strong{font-size:28px}.config-card{padding:20px}main#checker{padding:22px 20px 28px}#checker .network-scene{height:235px}#checker .result{min-height:146px}#checker .result h1{font-size:23px;max-width:350px;margin:8px auto}#checker .result p{font-size:11px}#checker .ip-value output{font-size:27px}}
@media(max-width:350px){.topbar-inner{padding-inline:14px}.brand b,.brand bdi{font-size:14px}.brand img,.brand-mark{width:32px;height:32px}.brand{gap:6px}.header-actions{gap:4px}.network-scene{height:185px}.service-actions{flex-direction:column}.service-actions .secondary{width:100%}#checker .network-scene{height:205px}#checker .result h1{font-size:21px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
