/* pryvpn.com — free privacy tools (/tools/…). Loaded only on those pages, after site.css.
 * Every animation stops with prefers-reduced-motion (pry.css) and tools.js does not start the packet loop then. */

/* ---------------- hero pieces ---------------- */
.tool-hero .lede { max-width: 58ch; }
.tool-promise { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tool-promise li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px; font-size: .86rem; font-weight: 500; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); color: #E4E6FF; }
.tool-promise .i { width: 16px; height: 16px; color: #7CE3B4; }
.tool-promise.big { flex-direction: column; gap: 12px; margin-top: 18px; }
.tool-promise.big li { border-radius: 16px; padding: 14px 16px; background: var(--surface-2); border-color: var(--line); color: var(--ink-2); font-size: .96rem; align-items: flex-start; }
.tool-promise.big .i { color: var(--ok); margin-top: 2px; }

/* ---------------- what is my IP: the readout ---------------- */
.ipx { position: relative; display: grid; place-items: center; min-height: 470px; isolation: isolate; }
.ipx-radar { position: absolute; inset: 0; margin: auto; width: min(470px, 100%); aspect-ratio: 1; z-index: -1; }
.ipx-radar .r { position: absolute; inset: 0; margin: auto; border-radius: 50%; border: 1px solid rgba(124,135,255,.22); }
.ipx-radar .r2 { width: 70%; height: 70%; border-color: rgba(124,135,255,.3); }
.ipx-radar .r3 { width: 40%; height: 40%; border-color: rgba(124,135,255,.38); background: radial-gradient(circle, rgba(70,84,255,.35), transparent 70%); }
.ipx-radar .sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, transparent 0 72%, rgba(124,135,255,.05) 80%, rgba(124,135,255,.5) 99.6%, rgba(200,205,255,.9) 100%); animation: ipxSweep 4.2s linear infinite; -webkit-mask: radial-gradient(closest-side, #000 99%, transparent 100%); mask: radial-gradient(closest-side, #000 99%, transparent 100%); }
.ipx[data-state="loading"] .sweep { animation-duration: 1.3s; }
.ipx[data-state="error"] .sweep, .ipx[data-state="local"] .sweep { background: conic-gradient(from 0deg, transparent 0 80%, rgba(255,138,61,.5) 99.6%, rgba(255,190,140,.9) 100%); }
.ipx-radar .blip { position: absolute; width: 9px; height: 9px; border-radius: 50%; background: #9AA2FF; box-shadow: 0 0 14px #7C87FF; opacity: 0; animation: blip 4.2s ease-out infinite; }
.ipx-radar .b1 { top: 18%; left: 64%; animation-delay: .5s; } .ipx-radar .b2 { top: 70%; left: 22%; animation-delay: 2.1s; } .ipx-radar .b3 { top: 40%; left: 12%; animation-delay: 3.2s; }
.ipx[data-state="ok"] .blip { background: #7CE3B4; box-shadow: 0 0 14px #3DD69A; }
@keyframes ipxSweep { to { transform: rotate(1turn); } }
@keyframes blip { 0% { opacity: 0; transform: scale(.4); } 8% { opacity: 1; transform: scale(1.3); } 40% { opacity: .5; transform: scale(1); } 100% { opacity: 0; } }
.ipx-card { position: relative; width: min(430px, 100%); padding: 24px 24px 20px; border-radius: 28px; background: rgba(13,16,54,.72); border: 1px solid rgba(255,255,255,.14); backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%); box-shadow: 0 40px 90px -40px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.08); }
.ipx-card::before { content: ""; position: absolute; inset: 0 26px auto; height: 2px; border-radius: 0 0 2px 2px; background: var(--grad-seal); opacity: .9; }
.ipx[data-state="error"] .ipx-card::before, .ipx[data-state="local"] .ipx-card::before { background: var(--grad-ember); }
.ipx-top { display: flex; align-items: center; gap: 10px; font-size: .84rem; color: #B9BEE6; font-weight: 500; }
.ipx[data-state="error"] .live-dot, .ipx[data-state="local"] .live-dot { background: #FF8A3D; animation: none; }
.ipx-fam { margin-left: auto; padding: 3px 10px; border-radius: 999px; font: 600 .74rem var(--f-mono); color: #C3C9FF; background: rgba(124,135,255,.18); border: 1px solid rgba(124,135,255,.35); }
.ipx-ip { margin: 16px 0 4px; font: 700 clamp(2rem, 4.6vw, 3.05rem)/1.08 var(--f-mono); letter-spacing: -.03em; min-height: 1.1em; word-break: break-all; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ipx-ip .mono { font-size: 1em; letter-spacing: inherit; }
.ipx-ip.long { font-size: clamp(1.15rem, 2.3vw, 1.6rem); line-height: 1.25; }
.ipx[data-state="loading"] .ipx-ip { background: none; color: #8A8FBE; font-size: 1.2rem; animation: fadePulse 1.2s ease-in-out infinite; }
@keyframes fadePulse { 50% { opacity: .45; } }
.ipx-parts { display: grid; gap: 8px; margin-top: 14px; }
.ipx-parts .part { display: grid; gap: 4px; padding: 10px 12px 10px 14px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); position: relative; }
.ipx-parts .part::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 3px; background: #7C87FF; }
.ipx-parts .part.host::before { background: #2FB5FF; }
.ipx-parts .bits { color: #F1F2FF; font-size: .92rem; word-break: break-all; }
.ipx-parts .lab { display: flex; flex-wrap: wrap; gap: 4px 8px; align-items: baseline; font-size: .8rem; }
.ipx-parts .lab b { color: #C3C9FF; font-weight: 600; } .ipx-parts .lab small { color: #8A8FBE; }
.octets { display: flex; gap: 6px; }
.oct { flex: 1; text-align: center; padding: 8px 0; border-radius: 12px; background: rgba(124,135,255,.12); border: 1px solid rgba(124,135,255,.28); color: #DCE0FF; font-size: .95rem; animation: octIn .5s var(--ease) both; animation-delay: calc(var(--i, 0) * 80ms); }
@keyframes octIn { from { opacity: 0; transform: translateY(8px); } }
.ipx-note { margin-top: 14px; font-size: .84rem; line-height: 1.5; color: #8A8FBE; }
.ipx-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ipx-actions .i { width: 16px; height: 16px; }
.ipx-nojs, .lab-nojs, .rtc-nojs, .facts-nojs { margin-top: 14px; padding: 12px 14px; border-radius: 14px; font-size: .9rem; line-height: 1.5; background: rgba(242,178,58,.1); border: 1px solid rgba(242,178,58,.3); color: #F6DDA6; }
.lab-nojs.light, .rtc-nojs, .facts-nojs { background: var(--warn-soft); border-color: rgba(154,103,0,.25); color: var(--ink); }
.dark-scene .ipx-nojs a { color: #FFD8A8; }

/* ---------------- WebRTC leak test ---------------- */
.tool-split { align-items: start; }
.rtc { position: relative; padding: clamp(20px, 2.6vw, 30px); border-radius: 30px; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(15,18,53,.05), 0 40px 80px -40px rgba(51,64,255,.45); overflow: hidden; }
.rtc::before { content: ""; position: absolute; inset: 0 24px auto; height: 3px; border-radius: 0 0 3px 3px; background: var(--grad-seal); }
.rtc[data-state="leak"]::before, .rtc[data-state="public"]::before { background: var(--grad-ember); }
.rtc-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.rtc-head h3 { font-size: 1.1rem; }
.rtc-head .i { width: 16px; height: 16px; }
.rtc-verdict { display: grid; grid-template-columns: 52px 1fr; gap: 14px; align-items: start; margin-top: 18px; padding: 16px; border-radius: 20px; background: var(--seal-soft); transition: background .4s; }
.rtc-verdict b { display: block; font: 600 1.08rem/1.3 var(--f-display); letter-spacing: -.01em; }
.rtc-verdict p { color: var(--ink-2); font-size: .94rem; margin-top: 4px; word-break: break-word; }
.rtc-ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; background: #fff; color: var(--seal); box-shadow: 0 10px 24px -14px rgba(51,64,255,.8); }
.rtc-ic .i { width: 24px; height: 24px; }
.rtc[data-state="mdns"] .rtc-verdict, .rtc[data-state="none"] .rtc-verdict, .rtc[data-state="same"] .rtc-verdict, .rtc[data-state="off"] .rtc-verdict { background: var(--ok-soft); }
.rtc[data-state="mdns"] .rtc-ic, .rtc[data-state="none"] .rtc-ic, .rtc[data-state="same"] .rtc-ic, .rtc[data-state="off"] .rtc-ic { color: var(--ok); }
.rtc[data-state="local"] .rtc-verdict { background: var(--warn-soft); } .rtc[data-state="local"] .rtc-ic { color: var(--warn); }
.rtc[data-state="leak"] .rtc-verdict, .rtc[data-state="public"] .rtc-verdict { background: var(--ember-soft); } .rtc[data-state="leak"] .rtc-ic, .rtc[data-state="public"] .rtc-ic { color: var(--ember); }
.rtc-scan { height: 4px; margin: 14px 4px 0; border-radius: 4px; background: var(--surface-3); overflow: hidden; opacity: 0; transition: opacity .3s; }
.rtc-scan i { display: block; width: 36%; height: 100%; border-radius: 4px; background: var(--grad-seal); animation: scanBar 1.1s var(--ease) infinite; }
.rtc[data-state="running"] .rtc-scan, .rtc[data-state="idle"] .rtc-scan { opacity: 1; }
@keyframes scanBar { from { transform: translateX(-110%); } to { transform: translateX(300%); } }
.rtc-list { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; }
.rtc-list:empty { display: none; }
.rtc-row { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 16px; background: var(--surface-2); animation: octIn .45s var(--ease) both; }
.rtc-row > .i { width: 34px; height: 34px; padding: 7px; border-radius: 11px; background: var(--seal-soft); color: var(--seal); }
.rtc-row.k-mdns > .i, .rtc-row.k-same > .i { background: var(--ok-soft); color: var(--ok); }
.rtc-row.k-local > .i { background: var(--warn-soft); color: var(--warn); }
.rtc-row.k-leak > .i, .rtc-row.k-public > .i { background: var(--ember-soft); color: var(--ember); }
.rtc-row .addr { display: grid; min-width: 0; }
.rtc-row .addr b { font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.rtc-row .addr small { color: var(--ink-3); font-size: .8rem; }
.rtc-note { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; font-size: .84rem; color: var(--ink-3); line-height: 1.5; }
.rtc-note .i { width: 17px; height: 17px; flex: none; margin-top: 2px; color: var(--seal); }

/* ---------------- what an IP reveals ---------------- */
.tool-reveal { overflow: hidden; isolation: isolate; }
.tool-reveal .glow { position: absolute; inset: 0; z-index: -1; background: radial-gradient(40% 60% at 15% 30%, rgba(255,138,61,.14), transparent 70%), radial-gradient(45% 60% at 88% 70%, rgba(70,84,255,.3), transparent 70%), #070920; }
.rev-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; }
.rev-col { padding: clamp(20px, 2.6vw, 30px); border-radius: 28px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.1); }
.rev-col.yes { border-color: rgba(255,138,61,.28); background: linear-gradient(160deg, rgba(255,138,61,.08), rgba(255,255,255,.02) 60%); }
.rev-col.no { border-color: rgba(124,135,255,.3); background: linear-gradient(160deg, rgba(124,135,255,.1), rgba(255,255,255,.02) 60%); }
.rev-col h3 { display: flex; align-items: center; gap: 10px; font-size: 1.18rem; }
.rev-col.yes h3 .i { color: #FF8A3D; } .rev-col.no h3 .i { color: #9AA2FF; }
.rev-col ul { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.rev-col li { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; padding: 12px; border-radius: 18px; background: rgba(255,255,255,.035); }
.rev-col li .ic { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; }
.rev-col.yes li .ic { background: rgba(255,138,61,.14); color: #FFB27A; } .rev-col.no li .ic { background: rgba(124,135,255,.16); color: #AEB5FF; }
.rev-col li .ic .i { width: 20px; height: 20px; }
.rev-col li b { display: block; color: var(--ink); font-weight: 600; }
.rev-col li span { color: var(--ink-2); font-size: .93rem; line-height: 1.5; }
.rev-foot { display: flex; justify-content: center; gap: 10px; align-items: flex-start; margin: 26px auto 0; max-width: 70ch; color: var(--ink-3); font-size: .92rem; text-align: left; }
.rev-foot .i { width: 18px; height: 18px; flex: none; margin-top: 2px; color: #9AA2FF; }
@media (max-width: 860px) { .rev-grid { grid-template-columns: 1fr; } }

/* ---------------- DNS honesty card, promise and limits ---------------- */
.dns-card { display: grid; grid-template-columns: 72px 1fr; gap: 22px; padding: clamp(22px, 3vw, 36px); border-radius: 30px; border: 1.5px dashed var(--line-strong); background: linear-gradient(135deg, var(--surface), var(--surface-2)); }
.dns-card > .ic { width: 72px; height: 72px; border-radius: 22px; display: grid; place-items: center; background: var(--seal-soft); color: var(--seal); }
.dns-card > .ic .i { width: 34px; height: 34px; }
.dns-card h2 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); margin: 10px 0 12px; }
.dns-card p { color: var(--ink-2); max-width: 70ch; }
.dns-card p + p { margin-top: 10px; }
@media (max-width: 560px) { .dns-card { grid-template-columns: 1fr; } }
.hide-cards .card.best { border-color: transparent; background: linear-gradient(var(--surface), var(--surface)) padding-box, var(--grad-seal) border-box; border: 1.5px solid transparent; box-shadow: 0 30px 60px -34px rgba(51,64,255,.6); }
.kept-card h2, .cant-list h2, .cant-list h3 { display: flex; align-items: center; gap: 10px; font-size: clamp(1.3rem, 2.2vw, 1.6rem); }
.kept-card h2 .i, .cant-list h2 .i, .cant-list h3 .i { color: var(--seal); width: 24px; height: 24px; }
.kept-how { margin-top: 16px; font-size: .9rem; color: var(--ink-3); }
.cant-list .ticks { margin-top: 18px; }
.cant-list .ticks li .i { color: var(--ink-3); }
.split > .card { align-self: stretch; }

/* ---------------- tool cards (index, "more tools") ---------------- */
.tool-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.tool-card { position: relative; display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: start; padding: 22px; border-radius: 26px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--ink); text-decoration: none; transition: transform .3s var(--ease), border-color .3s, box-shadow .3s; overflow: hidden; }
.tool-card:hover, .tool-card:focus-visible { transform: translateY(-4px); border-color: var(--seal); box-shadow: 0 30px 60px -32px rgba(51,64,255,.55); }
.tool-card h2, .tool-card h3 { font-size: 1.16rem; font-weight: 600; letter-spacing: -.02em; line-height: 1.22; }
.tool-card p { color: var(--ink-2); font-size: .94rem; margin-top: 6px; }
.tool-card .go { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-weight: 600; font-size: .92rem; color: var(--seal); }
.tool-card .go .i { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.tool-card:hover .go .i { transform: translateX(4px); }
.tc-art { position: relative; width: 64px; height: 64px; display: grid; place-items: center; }
.tc-ring { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, #3340FF, #5B4BFF, #2FB5FF, #3340FF); -webkit-mask: radial-gradient(closest-side, transparent 80%, #000 82%); mask: radial-gradient(closest-side, transparent 80%, #000 82%); animation: ipxSweep 8s linear infinite; }
.tc-ic { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 30% 25%, #5B67FF, #2430E0 70%); color: #fff; box-shadow: 0 14px 30px -12px rgba(51,64,255,.9); }
.tc-ic .i { width: 22px; height: 22px; }
.dark-scene .tool-card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.12); box-shadow: none; backdrop-filter: blur(12px); }
.dark-scene .tool-card:hover, .dark-scene .tool-card:focus-visible { border-color: rgba(124,135,255,.7); background: rgba(124,135,255,.1); }
.dark-scene .tool-card .go { color: #AEB5FF; }
.hero-cards { margin-top: 40px; }
.tool-card.big { grid-template-columns: 1fr; padding: 26px; }
.tool-card.big .tc-art { width: 76px; height: 76px; } .tool-card.big .tc-ic { width: 56px; height: 56px; } .tool-card.big .tc-ic .i { width: 26px; height: 26px; }
.tool-card.big h2 { font-size: 1.32rem; margin-top: 4px; }
.tools-index-hero h1 { max-width: 16ch; }

/* ---------------- what your network sees: hero card ---------------- */
.now-card { width: min(460px, 100%); margin-inline: auto; padding: 22px; border-radius: 28px; background: rgba(13,16,54,.72); border: 1px solid rgba(255,138,61,.28); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: 0 40px 90px -40px rgba(0,0,0,.9), 0 0 0 1px rgba(255,138,61,.06), 0 30px 80px -50px rgba(255,138,61,.5); }
body[data-safety="sealed"] .now-card { border-color: rgba(124,135,255,.35); }
.now-head { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: center; }
.now-head .eye { width: 48px; height: 48px; border-radius: 15px; display: grid; place-items: center; background: rgba(255,138,61,.14); color: #FFB27A; }
.now-head .eye .i { width: 24px; height: 24px; }
.now-head b { display: block; font: 600 1.05rem/1.3 var(--f-display); color: #fff; }
.now-head small { color: #8A8FBE; font-size: .82rem; }
.now-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 6px; }
.now-list li { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; padding: 11px 14px; border-radius: 14px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.06); }
.now-list .k { color: #8A8FBE; font-size: .84rem; white-space: nowrap; }
.now-list b { color: #FFD2B0; font-weight: 600; font-size: .95rem; text-align: right; overflow-wrap: anywhere; }
.now-foot { display: flex; gap: 10px; align-items: flex-start; margin-top: 14px; font-size: .84rem; color: #B9BEE6; }
.now-foot .i { width: 17px; height: 17px; color: #7CE3B4; flex: none; margin-top: 2px; }

/* ---------------- the lab ---------------- */
.net-lab { overflow: hidden; background: radial-gradient(50% 50% at 30% 10%, rgba(70,84,255,.18), transparent 70%), #070920; padding-top: clamp(40px, 6vw, 80px); }
.seg { position: relative; display: inline-grid; grid-template-columns: 1fr 1fr; padding: 5px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); justify-self: center; margin-top: 8px; }
.seg .knob { position: absolute; top: 5px; bottom: 5px; left: 5px; width: calc(50% - 5px); border-radius: 999px; background: var(--grad-ember); box-shadow: 0 10px 26px -10px rgba(255,94,77,.8); transition: transform .45s var(--ease), background .45s; }
.seg[data-mode="sealed"] .knob { transform: translateX(100%); background: var(--grad-seal); box-shadow: 0 10px 26px -10px rgba(51,64,255,.9); }
.seg button { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border: 0; background: none; border-radius: 999px; color: #B9BEE6; font-weight: 600; font-size: .95rem; white-space: nowrap; }
.seg button[aria-pressed="true"] { color: #fff; }
.seg button .i { width: 18px; height: 18px; }
.lab { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr); gap: 18px; align-items: stretch; }
.lab-stage { display: grid; gap: 14px; padding: 16px; border-radius: 30px; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.1); }
.stage { width: 100%; height: auto; display: block; }
.stage .wire { stroke: rgba(255,255,255,.16); stroke-width: 3; stroke-dasharray: 4 8; }
.stage .tunnel { stroke: url(#tunG); stroke-width: 26; stroke-linecap: round; opacity: 0; fill: none; transition: opacity .6s; filter: drop-shadow(0 0 16px rgba(91,75,255,.6)); }
.stage .tunnel-core { stroke: rgba(255,255,255,.6); stroke-width: 2; stroke-dasharray: 2 14; fill: none; opacity: 0; transition: opacity .6s; animation: flow 1s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -16; } }
.lab[data-mode="sealed"] .tunnel { opacity: .9; } .lab[data-mode="sealed"] .tunnel-core { opacity: 1; }
.stage .node { fill: #0D1036; stroke: rgba(255,255,255,.16); }
.stage .lbl { fill: #E4E6FF; font: 600 17px var(--f-body); }
.stage .sub { fill: #8A8FBE; font: 500 14px var(--f-mono); }
.stage .site { fill: #C3C9FF; }
.stage use { color: #B9BEE6; }
.stage .op { color: #FF8A3D; transition: color .5s; }
.stage .op use { color: #FF8A3D; }
.stage .op-ring { fill: rgba(255,138,61,.08); stroke: rgba(255,138,61,.55); transition: fill .2s, stroke .5s; }
.stage .ray { stroke: rgba(255,138,61,.55); stroke-width: 2; stroke-dasharray: 3 5; }
.lab.peeked .op-ring { fill: rgba(255,138,61,.3); }
.lab[data-mode="sealed"] .op use { color: #6E7298; }
.lab[data-mode="sealed"] .op-ring { stroke: rgba(255,255,255,.18); fill: rgba(255,255,255,.03); }
.lab[data-mode="sealed"] .ray { stroke: rgba(255,255,255,.12); }
.stage .peek rect { fill: rgba(255,138,61,.14); stroke: rgba(255,138,61,.6); transition: fill .4s, stroke .4s; }
.stage .peek text { fill: #FFD2B0; font: 600 16px var(--f-mono); }
.lab[data-mode="sealed"] .peek rect { fill: rgba(124,135,255,.14); stroke: rgba(124,135,255,.5); }
.lab[data-mode="sealed"] .peek text { fill: #C3C9FF; }
.stage .srv { opacity: .22; transition: opacity .6s; }
.lab[data-mode="sealed"] .srv { opacity: 1; }
.stage .pkt circle { fill: #FF8A3D; filter: drop-shadow(0 0 8px rgba(255,138,61,.9)); }
.stage .pkt text { fill: #FFD2B0; font: 600 13px var(--f-mono); }
.lab[data-mode="sealed"] .pkt circle { fill: #9AA2FF; filter: drop-shadow(0 0 8px rgba(124,135,255,.9)); }
.lab[data-mode="sealed"] .pkt text { fill: #C3C9FF; }
.lab-try { display: grid; gap: 10px; padding: 16px; border-radius: 20px; background: rgba(255,255,255,.04); }
.lab-try label { font-weight: 600; font-size: .92rem; color: #E4E6FF; }
.lab-try-row { display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.16); }
.lab-try-row:focus-within { border-color: #7C87FF; box-shadow: 0 0 0 4px rgba(124,135,255,.22); }
.lab-try input { flex: 1; min-width: 0; border: 0; background: transparent; color: #fff; padding: 0 14px; outline: none; font: 500 .98rem var(--f-mono); }
.lab-try input::placeholder { color: #6E7298; }
.lab-try input:focus-visible { box-shadow: none; }
.lab-try input[aria-invalid="true"] { color: #FFB27A; }
.lab-try .btn { min-height: 42px; }
.lab-try .btn .i { width: 16px; height: 16px; }
.lab-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.lab-chips .gchip { cursor: pointer; font-family: var(--f-mono); font-size: .82rem; padding: 6px 12px; }
.lab-chips .gchip:hover { background: rgba(255,255,255,.12); }
.lab-try-note { display: flex; gap: 8px; align-items: flex-start; font-size: .8rem; color: #8A8FBE; }
.lab-try-note .i { width: 15px; height: 15px; flex: none; margin-top: 2px; }
.lab-console { display: flex; flex-direction: column; min-height: 0; border-radius: 26px; background: #04051A; border: 1px solid rgba(255,255,255,.1); box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 40px 80px -40px rgba(0,0,0,.9); overflow: hidden; }
.con-bar { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-bottom: 1px solid rgba(255,255,255,.08); background: rgba(255,255,255,.03); }
.con-bar .dots { display: inline-flex; gap: 6px; } .con-bar .dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,.14); }
.con-bar .dots i:first-child { background: #FF6B78; } .con-bar .dots i:nth-child(2) { background: #F2B23A; } .con-bar .dots i:last-child { background: #3DD69A; }
.con-bar b { display: block; font: 600 .92rem var(--f-mono); color: #E4E6FF; }
.con-bar small { display: block; font-size: .78rem; color: #8A8FBE; }
.con-lines { list-style: none; margin: 0; padding: 12px; display: grid; align-content: start; gap: 4px; flex: 1; max-height: 470px; min-height: 300px; overflow-y: auto; font: 500 .84rem/1.45 var(--f-mono); counter-reset: none; }
.ln { display: grid; grid-template-columns: auto auto 1fr; gap: 10px; align-items: baseline; padding: 7px 9px; border-radius: 10px; color: #D5D9FF; transition: background .8s; }
.ln time { color: #6E7298; font-size: .78rem; white-space: nowrap; }
.ln .tag { padding: 1px 7px; border-radius: 6px; font-size: .72rem; font-weight: 700; letter-spacing: .02em; color: #FFB27A; background: rgba(255,138,61,.14); white-space: nowrap; }
.ln .txt { overflow-wrap: anywhere; }
.ln .sim { margin-left: 8px; font-style: normal; font-size: .7rem; padding: 0 6px; border-radius: 5px; background: rgba(255,255,255,.08); color: #8A8FBE; }
.ln[data-k="https"] .tag { color: #7CE3B4; background: rgba(61,214,154,.14); }
.ln[data-k="https"] .txt { color: #9FE8C8; }
.lab[data-mode="sealed"] .ln .tag { color: #C3C9FF; background: rgba(124,135,255,.18); }
.lab[data-mode="sealed"] .ln .txt { color: #B9BEE6; }
.lab[data-mode="sealed"] .ln[data-k="data"] .tag, .lab[data-mode="sealed"] .ln[data-k="dev"] .tag { color: #FFB27A; background: rgba(255,138,61,.14); }
.ln.new { background: rgba(255,138,61,.14); animation: lineIn .4s var(--ease); }
.lab[data-mode="sealed"] .ln.new { background: rgba(124,135,255,.16); }
@keyframes lineIn { from { opacity: 0; transform: translateX(-10px); } }
@media (max-width: 980px) { .lab { grid-template-columns: 1fr; } .con-lines { max-height: 380px; min-height: 0; } }
@media (max-width: 560px) {
  .seg { display: grid; width: 100%; } .seg button { padding: 0 10px; font-size: .88rem; }
  .ln { grid-template-columns: auto 1fr; } .ln time { grid-column: 1 / -1; }
  .lab-stage { padding: 10px; border-radius: 22px; }
}

/* ---------------- real data from the visit ---------------- */
.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.fact { position: relative; display: grid; gap: 6px; align-content: start; padding: 22px; border-radius: 24px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); overflow: hidden; transition: opacity .7s var(--ease), transform .7s var(--ease); }
.fact .ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--seal-soft); color: var(--seal); margin-bottom: 6px; }
.fact .ic .i { width: 21px; height: 21px; }
.fact .v { font: 700 clamp(1.4rem, 2.4vw, 1.8rem)/1.15 var(--f-display); letter-spacing: -.03em; color: var(--ink); overflow-wrap: anywhere; }
.fact h3 { font-size: .98rem; color: var(--ink-2); font-weight: 600; }
.fact p { font-size: .9rem; color: var(--ink-3); line-height: 1.5; }
.fact::after { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, rgba(51,64,255,.1), transparent 70%); }
.facts.pre .fact { opacity: 0; transform: translateY(18px); }
.facts .fact:nth-child(2) { transition-delay: .06s; } .facts .fact:nth-child(3) { transition-delay: .12s; } .facts .fact:nth-child(4) { transition-delay: .18s; } .facts .fact:nth-child(5) { transition-delay: .24s; } .facts .fact:nth-child(6) { transition-delay: .3s; }
@media (max-width: 900px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } }

/* the table: visible (ember), hidden (seal), partly (grey) */
.see-table td.m-see .i { color: var(--ember); } .see-table td.m-hid .i { color: var(--seal); } .see-table td.m-part .i { color: var(--ink-3); }
.see-table td.m-hid { color: var(--ink); }
.see-table tbody th { min-width: 180px; }

/* ---------------- VPN blocked: the troubleshooter ---------------- */
.fixer { display: grid; gap: 22px; }
.fx-step { margin: 0; padding: clamp(18px, 2.4vw, 26px); border-radius: 26px; border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); min-width: 0; }
.fx-step legend { display: flex; align-items: center; gap: 12px; padding: 0 6px; font: 600 1.14rem var(--f-display); letter-spacing: -.01em; }
.fx-step legend .n { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-seal); color: #fff; font: 700 .95rem var(--f-display); }
.fx-opts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 10px; margin-top: 10px; }
.fx-opt { position: relative; display: block; cursor: pointer; }
.fx-opt input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.fx-card { display: flex; align-items: center; gap: 12px; height: 100%; padding: 14px 16px; border-radius: 18px; border: 1.5px solid var(--line); background: var(--surface-2); color: var(--ink); font-weight: 500; font-size: .95rem; line-height: 1.35; transition: border-color .2s, background .2s, box-shadow .2s, transform .15s var(--ease); }
.fx-card .i { width: 22px; height: 22px; flex: none; color: var(--seal); }
.fx-opt:hover .fx-card { border-color: var(--line-strong); background: var(--surface); }
.fx-opt input:focus-visible + .fx-card { box-shadow: var(--focus); }
.fx-opt input:checked + .fx-card { border-color: var(--seal); background: var(--seal-soft); box-shadow: 0 16px 34px -22px rgba(51,64,255,.8); }
.fx-opt input:checked + .fx-card .i { color: var(--seal-strong); }
.fx-opt:active .fx-card { transform: scale(.98); }
.fx-result { margin-top: 22px; padding: clamp(20px, 3vw, 32px); border-radius: 30px; background: #0B0E30; color: #F1F2FF; box-shadow: 0 50px 100px -50px rgba(51,64,255,.8); animation: octIn .5s var(--ease); scroll-margin-top: 110px; --ink: #F1F2FF; --ink-2: #B9BEE6; --ink-3: #8A8FBE; --line: rgba(255,255,255,.1); --surface: rgba(255,255,255,.04); --seal-soft: rgba(124,135,255,.16); --seal: #9AA2FF; }
.fx-result a { color: #AEB5FF; }
.fx-result-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.fx-result-head .kicker { color: #7CE3B4; }
.fx-result-head .btn { background: rgba(255,255,255,.08); color: #fff; }
.fx-result-head .btn .i { width: 16px; height: 16px; }
.fx-place { margin-top: 14px; padding: 12px 16px; border-radius: 16px; background: rgba(124,135,255,.12); color: #DCE0FF; font-size: .94rem; }
.fx-place b { color: #fff; }
.fx-result .fix { margin-top: 16px; box-shadow: none; border: 0; background: transparent; padding: 0; }
.fx-result .fix h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.fixes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.fix { padding: clamp(20px, 2.6vw, 28px); border-radius: 26px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); scroll-margin-top: 110px; }
.fix h3 { display: flex; align-items: center; gap: 12px; }
.fix h3 .ic { width: 40px; height: 40px; border-radius: 13px; flex: none; display: grid; place-items: center; background: var(--seal-soft); color: var(--seal); }
.fix h3 .ic .i { width: 20px; height: 20px; }
.fix .why { margin-top: 12px; color: var(--ink-2); font-size: .96rem; }
.fix-steps { margin: 14px 0 0; padding: 0; list-style: none; counter-reset: fx; display: grid; gap: 10px; }
.fix-steps li { counter-increment: fx; display: grid; grid-template-columns: 28px 1fr; gap: 10px; color: var(--ink-2); font-size: .95rem; line-height: 1.55; }
.fix-steps li::before { content: counter(fx); width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--seal-soft); color: var(--seal); font: 700 .8rem var(--f-display); }
.fix-links { display: flex; gap: 8px; align-items: flex-start; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .9rem; }
.fix-links .i { width: 17px; height: 17px; flex: none; margin-top: 2px; color: var(--ink-3); }
@media (max-width: 860px) { .fixes { grid-template-columns: 1fr; } }
.place-notes { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 12px; }
.place-notes li { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 18px; border-radius: 22px; background: var(--surface); border: 1px solid var(--line); }
.place-notes .ic { width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; background: var(--surface-2); color: var(--seal); }
.place-notes .ic .i { width: 21px; height: 21px; }
.place-notes h3 { font-size: 1.02rem; }
.place-notes p { color: var(--ink-2); font-size: .92rem; margin-top: 4px; }
.place-notes .more { font-weight: 600; font-size: .88rem; }
.place-notes .more:empty { display: none; }

@media (max-width: 900px) {
  .ipx { min-height: 0; padding: 30px 0 10px; }
  .ipx-radar { width: min(420px, 108%); }
}
@media (max-width: 420px) {
  .ipx-card { padding: 20px 16px 16px; border-radius: 24px; }
  .tool-card { grid-template-columns: 1fr; }
  .fx-opts { grid-template-columns: 1fr; }
  .now-list li { flex-direction: column; align-items: flex-start; gap: 2px; }
  .now-list b { text-align: left; }
}
