/* Shared styles for the network tools (dns, ssl, headers, myip). */
.net-form { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: flex-end; }
.net-form .field { flex: 1 1 260px; min-width: 0; }
.net-form .field.net-port { flex: 0 0 110px; }
.net-form .btn { height: 46px; }
.net-status { margin-top: 0.75rem; color: var(--text-secondary); min-height: 1.2rem; }
.net-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.net-table th, .net-table td { text-align: left; padding: 0.45rem 0.55rem; border-bottom: 1px solid var(--border-color); vertical-align: top; }
.net-table th { color: var(--text-secondary); font-weight: 600; white-space: nowrap; }
.net-table td.v { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; word-break: break-all; }
.net-table td.n { white-space: nowrap; width: 1%; }
.net-empty { color: var(--text-secondary); font-size: 0.9rem; }
.net-badges { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 0.5rem; }
.net-big { font-size: clamp(1.4rem, 6vw, 2.4rem); font-weight: 700; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; word-break: break-all; color: var(--text-primary); }
.net-audit li { list-style: none; padding: 0.6rem 0; border-bottom: 1px solid var(--border-color); }
.net-audit { padding: 0; margin: 0; }
.net-audit .h { display: flex; flex-wrap: wrap; gap: 0.5rem; align-items: center; font-weight: 600; }
.net-audit .val { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.85rem; word-break: break-all; margin-top: 0.25rem; color: var(--text-primary); }
.net-hops { padding-left: 1.25rem; margin: 0; }
.net-hops li { margin: 0.35rem 0; word-break: break-all; }
.net-examples { font-size: 0.85rem; color: var(--text-secondary); margin-top: 0.5rem; }
.net-examples button { background: none; border: none; color: var(--accent-color); cursor: pointer; padding: 0 0.15rem; font-size: inherit; text-decoration: underline; }
.net-status:empty { display: none; }
/* Internet tools (whois, asn, cloudflare, blacklist, email-check, looking-glass). */
.net-pre { background: var(--bg-secondary, rgba(127,127,127,.08)); border: 1px solid var(--border-color); border-radius: 8px; padding: 0.75rem; overflow-x: auto; font-size: 0.82rem; line-height: 1.45; white-space: pre; max-height: 480px; }
.net-raw { margin-top: 0.75rem; }
.net-raw summary { cursor: pointer; color: var(--accent-color); font-size: 0.9rem; }
.net-choice { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }
.net-choice label { display: flex; gap: 0.35rem; align-items: center; cursor: pointer; }
.net-table th[scope="row"] { width: 1%; }
.net-filter { max-width: 320px; margin: 0.5rem 0 0.75rem; }
/* Radio & Satellite tools */
.radio-promo { border-left: 4px solid var(--accent-color); }
.radio-promo .btn { display: inline-block; text-decoration: none; }
.radio-map { height: 360px; border-radius: 8px; border: 1px solid var(--border-color); margin-top: 0.75rem; z-index: 0; }
.radio-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0.75rem; }
.radio-stat { border: 1px solid var(--border-color); border-radius: 8px; padding: 0.75rem; }
.radio-stat .k { color: var(--text-secondary); font-size: 0.85rem; }
.radio-stat .v { font-size: 1.4rem; font-weight: 700; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.radio-tabs { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 0.75rem; }
.radio-tabs button { border: 1px solid var(--border-color); background: none; color: var(--text-primary); border-radius: 999px; padding: 0.35rem 0.8rem; cursor: pointer; font-size: 0.9rem; }
.radio-tabs button.active { background: var(--accent-color); color: #fff; border-color: var(--accent-color); }
.radio-calc { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0.75rem; align-items: end; }
.radio-calc label { display: block; font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 0.25rem; }
.radio-calc input, .radio-calc select { width: 100%; }
.radio-out { margin-top: 0.75rem; }
.radio-svg { width: 100%; max-width: 520px; height: auto; display: block; margin: 0.5rem 0; }
.radio-svg text { font: 12px ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; fill: var(--text-primary); }
.radio-svg .wire { stroke: var(--accent-color); stroke-width: 4; stroke-linecap: round; fill: none; }
.radio-svg .dim { stroke: var(--text-secondary); stroke-width: 1; stroke-dasharray: 4 3; }
.radio-svg .feed { fill: var(--text-primary); }
.band-good { color: #2e7d32; font-weight: 600; } .band-fair { color: #b26a00; font-weight: 600; } .band-poor { color: #c62828; font-weight: 600; }
[data-theme="dark"] .band-good { color: #81c784; } [data-theme="dark"] .band-fair { color: #ffb74d; } [data-theme="dark"] .band-poor { color: #ef9a9a; }
.radio-calc input[type="number"], .radio-calc input[type="text"], .radio-calc select, .net-filter, #fq-q {
    width: 100%; padding: 0.55rem 0.7rem; font-size: 1rem; border: 2px solid var(--border-color); border-radius: 8px;
    background-color: var(--bg-primary); color: var(--text-primary); font-family: inherit;
}
.radio-calc input:focus, .radio-calc select:focus, .net-filter:focus { outline: none; border-color: var(--accent-color); }
.radio-tabs + .panel { margin-top: 0; }
#sat-list .btn { padding: 0.3rem 0.7rem; font-size: 0.85rem; }
.net-table td.f { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; min-width: 9rem; word-break: normal; overflow-wrap: normal; }
.radio-aim { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: 1rem; align-items: start; }
@media (max-width: 760px) { .radio-aim { grid-template-columns: 1fr; } }
.radio-aim .radio-map { height: 380px; margin-top: 0; }
.radio-compass { font: 700 13px system-ui, sans-serif; color: #333; text-shadow: 0 0 3px #fff, 0 0 3px #fff; text-align: center; }
.radio-aim-tip { font-size: 12px; font-weight: 600; }
.radio-promo.has-shot { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 1.25rem; align-items: center; }
.radio-promo.has-shot .radio-promo-gear { grid-column: 1 / -1; }
.radio-promo-gear:empty { display: none; }
.radio-promo-shot { margin: 0; }
.radio-promo-shot img { width: 100%; height: auto; display: block; border-radius: 8px; border: 1px solid var(--border-color); box-shadow: 0 4px 18px rgba(0, 0, 0, .25); transition: transform .2s ease; }
.radio-promo-shot a:hover img { transform: scale(1.015); }
.radio-promo-shot figcaption { font-size: 0.8rem; color: var(--text-secondary); margin-top: 0.35rem; text-align: center; }
.radio-promo-text h2 { margin-top: 0; }
@media (max-width: 760px) { .radio-promo.has-shot { grid-template-columns: 1fr; } }
.radio-map-tall { height: 520px; } @media (max-width: 760px) { .radio-map-tall { height: 380px; } } .gl-sun { font-size: 22px; line-height: 28px; text-align: center; filter: drop-shadow(0 0 6px rgba(255,200,0,.9)); } .gl-smooth { image-rendering: auto; }
.map-dark { filter: invert(1) hue-rotate(180deg) brightness(.85) contrast(.9); }
.bp-row { margin-bottom: 0.4rem; }
.bp-band { width: 100%; height: auto; display: block; }
.bp-band .bp-name { font: 700 14px system-ui, sans-serif; fill: var(--text-primary); }
.bp-band .bp-class { font: 11px system-ui, sans-serif; fill: var(--text-secondary); }
.bp-band .bp-class.dim { opacity: .45; }
.bp-band .bp-tick { font: 11px ui-monospace, Menlo, Consolas, monospace; fill: var(--text-secondary); }
.bp-band .bp-lane { fill: rgba(127,127,127,.12); }
.bp-band rect { transition: opacity .2s; }
.bp-legend { display: flex; flex-wrap: wrap; gap: .5rem 1rem; margin-bottom: .75rem; font-size: .85rem; color: var(--text-secondary); }
.bp-key i { display: inline-block; width: 14px; height: 10px; border-radius: 2px; margin-right: .35rem; vertical-align: middle; }
.rg-hero { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr); gap: 1rem; align-items: center; }
@media (max-width: 860px) { .rg-hero { grid-template-columns: 1fr; } }
.rg-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: .6rem; margin: 1rem 0 .5rem; }
.rg-globe { width: 100%; min-height: 360px; border-radius: 16px; background: radial-gradient(ellipse at center, #0d2b4d 0%, #050b18 70%); overflow: hidden; cursor: grab; }
.rg-globe-off { display: flex; align-items: center; justify-content: center; padding: 1.5rem; color: #cfd8dc; text-align: center; cursor: default; }
/* cyberpods product box inside the radio promo: follow the kilaz light/dark theme instead of its default white card. */
.radio-promo-gear .cp-products { background: var(--bg-primary); color: var(--text-primary); border-color: var(--border-color); }
.radio-promo-gear .cp-products .cp-p { color: var(--accent-color); }
.radio-promo-gear .cp-products .cp-note { color: var(--text-secondary); opacity: 1; }
