/* ==========================================================================
   SatCatalog — Modern public design system
   Dark orbital accents over a light, airy content surface.
   ========================================================================== */

:root {
    --ink: #0b1220;
    --ink-2: #1e293b;
    --muted: #52607a;
    --muted-2: #64748b;
    --bg: #f5f7fc;
    --surface: #ffffff;
    --surface-2: #f8faff;
    --line: #e5eaf4;
    --line-strong: #d8e0ee;

    --brand: #4f46e5;
    --brand-2: #7c3aed;
    --cyan: #06b6d4;
    --cyan-2: #0891b2;
    --green: #10b981;
    --amber: #f59e0b;
    --red: #ef4444;

    --grad: linear-gradient(135deg, #4f46e5 0%, #7c3aed 46%, #06b6d4 100%);
    --grad-cyan: linear-gradient(135deg, #0ea5e9 0%, #06b6d4 100%);
    --grad-soft: linear-gradient(135deg, rgba(79, 70, 229, .09), rgba(6, 182, 212, .09));
    --grad-night: radial-gradient(circle at 12% 18%, rgba(99, 102, 241, .38), transparent 42%),
                  radial-gradient(circle at 86% 8%, rgba(6, 182, 212, .30), transparent 46%),
                  linear-gradient(158deg, #060a18 0%, #0a1330 52%, #091a3c 100%);

    --shadow-xs: 0 1px 2px rgba(15, 23, 42, .05);
    --shadow-sm: 0 1px 2px rgba(15, 23, 42, .04), 0 10px 28px -12px rgba(15, 23, 42, .14);
    --shadow-lg: 0 28px 70px -30px rgba(15, 23, 42, .38);
    --radius: 18px;
    --radius-sm: 12px;

    --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-display: "Plus Jakarta Sans", "Inter", -apple-system, "Segoe UI", sans-serif;
    --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    background-color: var(--bg);
    background-image:
        radial-gradient(900px 380px at 82% -140px, rgba(99, 102, 241, .10), transparent 70%),
        radial-gradient(760px 340px at 8% -120px, rgba(6, 182, 212, .09), transparent 70%);
    background-repeat: no-repeat;
    color: var(--ink-2);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

main { flex: 1 0 auto; }
main > .container { padding-top: 2.25rem; }

h1, h2, h3, h4, h5, h6, .display-5, .display-6 {
    font-family: var(--font-display);
    color: var(--ink);
    letter-spacing: -.025em;
}

a { color: var(--brand); text-decoration: none; transition: color .16s ease; }
a:hover { color: var(--brand-2); }

::selection { background: rgba(79, 70, 229, .2); }

:focus-visible {
    outline: 3px solid rgba(79, 70, 229, .35);
    outline-offset: 2px;
    border-radius: 8px;
}

.text-muted { color: var(--muted) !important; }
.text-secondary { color: #52607a !important; }
.font-monospace { font-family: var(--font-mono) !important; }
.fw-black { font-weight: 800 !important; }

/* ==========================================================================
   Navigation
   ========================================================================== */
.site-header { position: sticky; top: 0; z-index: 1030; }

.site-nav {
    background: rgba(7, 11, 26, .82);
    -webkit-backdrop-filter: saturate(160%) blur(18px);
    backdrop-filter: saturate(160%) blur(18px);
    border-bottom: 1px solid rgba(148, 163, 184, .16);
    padding: .7rem 0;
    transition: box-shadow .2s ease, background .2s ease;
}
.site-nav.is-scrolled { box-shadow: 0 18px 45px -28px rgba(2, 6, 23, .9); background: rgba(6, 10, 23, .94); }

.brand-lockup { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; }
.brand-mark {
    width: 40px; height: 40px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 12px;
    background: var(--grad);
    color: #fff;
    font-size: 1.05rem;
    box-shadow: 0 10px 22px -10px rgba(79, 70, 229, .8), inset 0 1px 0 rgba(255, 255, 255, .35);
}
.brand-text {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.22rem;
    color: #fff;
    letter-spacing: -.03em;
}
.brand-text span {
    background: linear-gradient(120deg, #67e8f9, #a5b4fc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.brand-sub {
    display: block;
    font-family: var(--font-body);
    font-size: .62rem;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: #7c8aa8;
    margin-top: 1px;
}

.site-nav .nav-links { gap: .15rem; align-items: center; }
.site-nav .nav-link.nav-pill {
    color: #b5c0d6;
    font-weight: 600;
    font-size: .9rem;
    padding: .55rem .85rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    transition: color .16s ease, background .16s ease;
}
.site-nav .nav-link.nav-pill i { font-size: .82rem; opacity: .8; }
.site-nav .nav-link.nav-pill:hover { color: #fff; background: rgba(148, 163, 184, .14); }
.site-nav .nav-link.nav-pill.active {
    color: #fff;
    background: linear-gradient(135deg, rgba(79, 70, 229, .9), rgba(6, 182, 212, .75));
    box-shadow: 0 10px 24px -14px rgba(79, 70, 229, .95);
}

.nav-toggle {
    border: 1px solid rgba(148, 163, 184, .3);
    border-radius: 10px;
    padding: .35rem .6rem;
    color: #dbe3f4;
    background: transparent;
}
.nav-toggle:focus { box-shadow: none; }

.nav-right { display: flex; align-items: center; gap: .55rem; }
.nav-action {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .48rem .85rem;
    border-radius: 10px;
    font-size: .82rem;
    font-weight: 600;
    color: #dbe3f4;
    border: 1px solid rgba(148, 163, 184, .28);
    background: rgba(148, 163, 184, .08);
    white-space: nowrap;
    transition: all .16s ease;
}
.nav-action:hover { color: #fff; border-color: rgba(148, 163, 184, .5); background: rgba(148, 163, 184, .16); }
.nav-action.nav-action-warn {
    color: #fcd34d;
    border-color: rgba(245, 158, 11, .4);
    background: rgba(245, 158, 11, .1);
}
.nav-action.nav-action-warn:hover { background: rgba(245, 158, 11, .18); color: #fde68a; }
.nav-admin {
    display: inline-flex; align-items: center; gap: .45rem;
    padding: .5rem .95rem;
    border-radius: 10px;
    font-size: .82rem;
    font-weight: 700;
    color: #fff;
    background: var(--grad);
    box-shadow: 0 12px 26px -16px rgba(79, 70, 229, .95);
    white-space: nowrap;
}
.nav-admin:hover { color: #fff; filter: brightness(1.08); }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
    position: relative;
    color: #fff;
    background: var(--grad-night);
    padding: 4.25rem 0 4rem;
    overflow: hidden;
    isolation: isolate;
}
.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(148, 163, 184, .07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, .07) 1px, transparent 1px);
    background-size: 64px 64px;
    -webkit-mask-image: radial-gradient(ellipse 80% 72% at 50% 30%, #000 30%, transparent 100%);
    mask-image: radial-gradient(ellipse 80% 72% at 50% 30%, #000 30%, transparent 100%);
    z-index: -1;
}
.hero::after {
    content: "";
    position: absolute;
    width: 620px; height: 620px;
    right: -190px; top: -240px;
    border-radius: 50%;
    border: 1px solid rgba(148, 163, 184, .16);
    box-shadow: 0 0 0 90px rgba(148, 163, 184, .05), 0 0 0 180px rgba(148, 163, 184, .03);
    z-index: -1;
}
.hero-inner { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 3rem; align-items: center; }
.hero-eyebrow {
    display: inline-flex; align-items: center; gap: .55rem;
    padding: .38rem .85rem;
    border-radius: 999px;
    border: 1px solid rgba(125, 211, 252, .28);
    background: rgba(6, 182, 212, .10);
    color: #a5f3fc;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}
.hero-eyebrow .dot {
    width: 7px; height: 7px; border-radius: 50%;
    background: #22d3ee;
    box-shadow: 0 0 0 4px rgba(34, 211, 238, .18);
    animation: pulse-dot 2.4s ease-in-out infinite;
}
.hero-title {
    font-size: clamp(2rem, 4.4vw, 3.3rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.04em;
    color: #fff;
    margin: 0 0 1.1rem;
}
.gradient-text {
    background: linear-gradient(100deg, #a5b4fc 0%, #67e8f9 55%, #7dd3fc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-lead { color: #a9b6cf; font-size: 1.02rem; max-width: 560px; margin: 0 0 1.75rem; }

.search-shell {
    display: flex;
    align-items: center;
    gap: .5rem;
    background: #fff;
    border-radius: 16px;
    padding: .45rem .45rem .45rem 1.15rem;
    max-width: 620px;
    box-shadow: 0 26px 60px -30px rgba(2, 6, 23, .85);
}
.search-shell .search-icon { color: var(--muted-2); font-size: .95rem; }
.search-shell input {
    flex: 1;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--ink);
    font-size: .98rem;
    padding: .7rem .25rem;
}
.search-shell input::placeholder { color: #97a3b8; }
.btn-grad {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    border: 0;
    border-radius: 12px;
    padding: .78rem 1.4rem;
    background: var(--grad);
    color: #fff;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: .92rem;
    box-shadow: 0 14px 30px -16px rgba(79, 70, 229, .95);
    transition: transform .16s ease, filter .16s ease, box-shadow .16s ease;
    white-space: nowrap;
}
.btn-grad:hover { color: #fff; transform: translateY(-1px); filter: brightness(1.06); box-shadow: 0 18px 34px -16px rgba(79, 70, 229, 1); }
.btn-grad:active { transform: translateY(0); }
.btn-grad.is-sm { padding: .55rem 1rem; font-size: .79rem; border-radius: 10px; }

.min-w-0 { min-width: 0; }

.hero-stats { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.9rem; }
.hero-stat {
    display: inline-flex; align-items: center; gap: .55rem;
    padding: .5rem .85rem .5rem .6rem;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, .22);
    background: rgba(15, 23, 42, .35);
    color: #dbe3f4;
    font-size: .82rem;
}
.hero-stat i {
    width: 26px; height: 26px;
    display: inline-flex; align-items: center; justify-content: center;
    border-radius: 8px;
    background: rgba(79, 70, 229, .22);
    color: #a5b4fc;
    font-size: .72rem;
}
.hero-stat strong { color: #fff; font-weight: 700; }

/* Radar / telemetry panel */
.telemetry {
    position: relative;
    border-radius: 24px;
    border: 1px solid rgba(148, 163, 184, .2);
    background: linear-gradient(160deg, rgba(30, 41, 59, .55), rgba(15, 23, 42, .35));
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    box-shadow: 0 30px 70px -40px rgba(2, 6, 23, .95);
    overflow: hidden;
}
.telemetry::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(6, 182, 212, .16), transparent 62%);
    pointer-events: none;
}
.telemetry-head { display: flex; align-items: center; justify-content: space-between; position: relative; }
.telemetry-title { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #8fa0bf; }
.telemetry-live { display: inline-flex; align-items: center; gap: .35rem; font-size: .68rem; font-weight: 700; color: #34d399; text-transform: uppercase; letter-spacing: .1em; }
.telemetry-live .dot { width: 6px; height: 6px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 3px rgba(52, 211, 153, .18); }
.radar {
    position: relative;
    width: 168px; height: 168px;
    margin: 1.35rem auto .95rem;
    border-radius: 50%;
    border: 1px solid rgba(103, 232, 249, .22);
    background: radial-gradient(circle, rgba(6, 182, 212, .16) 0%, rgba(6, 182, 212, .03) 58%, transparent 60%);
}
.radar::before, .radar::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(103, 232, 249, .16);
}
.radar::before { inset: 26px; }
.radar::after { inset: 52px; }
.radar-sweep {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(from 0deg, rgba(34, 211, 238, .42), transparent 34%);
    animation: radar-spin 5.5s linear infinite;
    -webkit-mask: radial-gradient(circle, transparent 6%, #000 7%);
    mask: radial-gradient(circle, transparent 6%, #000 7%);
}
.radar-core {
    position: absolute;
    inset: 0;
    display: flex; align-items: center; justify-content: center;
    color: #67e8f9;
    font-size: 1.35rem;
    text-shadow: 0 0 22px rgba(34, 211, 238, .8);
}
.telemetry-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; position: relative; }
.telemetry-cell {
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, .16);
    background: rgba(2, 6, 23, .35);
    padding: .65rem .75rem;
}
.telemetry-cell .k { font-size: .64rem; text-transform: uppercase; letter-spacing: .12em; color: #7f8fae; font-weight: 700; }
.telemetry-cell .v {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.15;
}
.telemetry-cell .v small { font-size: .6rem; font-weight: 600; color: #8fa0bf; letter-spacing: 0; }

@keyframes radar-spin { to { transform: rotate(360deg); } }
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: .45; } }

/* Compact page hero (directories + detail pages) */
.page-hero {
    position: relative;
    color: #fff;
    background: var(--grad-night);
    padding: 2.75rem 0 2.5rem;
    overflow: hidden;
    isolation: isolate;
    margin-bottom: 0;
}
.page-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(148, 163, 184, .06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, .06) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 85% 100% at 45% 0%, #000 20%, transparent 100%);
    mask-image: radial-gradient(ellipse 85% 100% at 45% 0%, #000 20%, transparent 100%);
    z-index: -1;
}
.page-hero::after {
    content: "";
    position: absolute;
    width: 460px; height: 460px;
    right: -160px; top: -220px;
    border-radius: 50%;
    border: 1px solid rgba(148, 163, 184, .15);
    box-shadow: 0 0 0 70px rgba(148, 163, 184, .04), 0 0 0 140px rgba(148, 163, 184, .025);
    z-index: -1;
}
.page-hero .container { position: relative; }
.page-hero h1 { color: #fff; font-weight: 800; letter-spacing: -.035em; margin-bottom: .5rem; }
.page-hero p { color: #a9b6cf; margin-bottom: 0; }
.hero-icon-tile {
    width: 54px; height: 54px;
    border-radius: 16px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    color: #fff;
    background: var(--grad);
    box-shadow: 0 16px 34px -18px rgba(79, 70, 229, .95), inset 0 1px 0 rgba(255,255,255,.3);
    flex-shrink: 0;
}
.hero-count {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .55rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(148, 163, 184, .25);
    background: rgba(15, 23, 42, .4);
    color: #e2e8f0;
    font-size: .84rem;
    font-weight: 600;
    white-space: nowrap;
}
.hero-count strong { font-family: var(--font-display); font-size: 1.15rem; color: #fff; }

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; font-size: .78rem; color: #93a2bd; margin-bottom: .9rem; }
.crumbs a { color: #c7d2e5; }
.crumbs a:hover { color: #fff; }
.crumbs i { font-size: .55rem; opacity: .6; }

.id-pill {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .3rem .7rem;
    border-radius: 8px;
    background: rgba(148, 163, 184, .14);
    border: 1px solid rgba(148, 163, 184, .24);
    color: #cbd5e1;
    font-size: .74rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.meta-pill {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .34rem .8rem;
    border-radius: 999px;
    background: rgba(148, 163, 184, .12);
    border: 1px solid rgba(148, 163, 184, .2);
    color: #cbd5e1;
    font-size: .79rem;
    margin-right: .4rem;
    margin-bottom: .4rem;
}
.meta-pill i { color: #67e8f9; font-size: .72rem; }
.meta-pill strong { color: #fff; }

/* ==========================================================================
   Section headings
   ========================================================================== */
.section-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin: 2.6rem 0 1.15rem;
}
.section-head:first-child { margin-top: 0; }
.section-kicker {
    display: inline-flex; align-items: center; gap: .45rem;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: var(--brand);
    margin-bottom: .4rem;
}
.section-title {
    display: flex; align-items: center; gap: .65rem;
    font-size: 1.28rem;
    font-weight: 800;
    color: var(--ink);
    margin: 0;
    letter-spacing: -.025em;
}
.section-icon {
    width: 38px; height: 38px;
    border-radius: 11px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--grad-soft);
    border: 1px solid rgba(79, 70, 229, .14);
    color: var(--brand);
    font-size: .95rem;
    flex-shrink: 0;
}
.section-link {
    display: inline-flex; align-items: center; gap: .35rem;
    font-size: .8rem;
    font-weight: 700;
    color: var(--brand);
}
.section-link:hover { gap: .55rem; }

/* ==========================================================================
   Chips / filters
   ========================================================================== */
.chip-row { display: flex; flex-wrap: wrap; gap: .45rem; }
.chip {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    padding: .42rem .85rem;
    border-radius: 999px;
    border: 1px solid var(--line-strong);
    background: var(--surface);
    color: #475569;
    font-size: .8rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: var(--shadow-xs);
    transition: all .16s ease;
    line-height: 1.3;
}
.chip small { color: var(--muted-2); font-weight: 600; font-size: .7rem; }
.chip:hover { color: var(--brand); border-color: rgba(79, 70, 229, .4); transform: translateY(-1px); }
.chip.active {
    background: var(--grad);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 10px 22px -14px rgba(79, 70, 229, .95);
}
.chip.active small { color: rgba(255, 255, 255, .75); }
.chip .chip-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); }

/* ==========================================================================
   Buttons / badges
   ========================================================================== */
.btn { font-family: var(--font-body); font-weight: 600; border-radius: 11px; }
.btn-sm { border-radius: 9px; }

.btn-primary {
    --bs-btn-bg: #4f46e5;
    --bs-btn-border-color: #4f46e5;
    --bs-btn-hover-bg: #4338ca;
    --bs-btn-hover-border-color: #4338ca;
    --bs-btn-active-bg: #3730a3;
    --bs-btn-active-border-color: #3730a3;
    box-shadow: 0 12px 26px -16px rgba(79, 70, 229, .95);
}
.btn-outline-primary {
    --bs-btn-color: #4f46e5;
    --bs-btn-border-color: rgba(79, 70, 229, .38);
    --bs-btn-hover-bg: #4f46e5;
    --bs-btn-hover-border-color: #4f46e5;
}
.btn-soft {
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .5rem .95rem;
    border-radius: 10px;
    border: 1px solid var(--line-strong);
    background: var(--surface);
    color: var(--ink-2);
    font-size: .82rem;
    font-weight: 600;
    box-shadow: var(--shadow-xs);
}
.btn-soft:hover { color: var(--brand); border-color: rgba(79, 70, 229, .4); background: #fff; }
.btn-soft.btn-soft-danger { color: #b91c1c; border-color: rgba(239, 68, 68, .3); }
.btn-soft.btn-soft-danger:hover { background: #fef2f2; border-color: rgba(239, 68, 68, .5); }

.badge {
    font-family: var(--font-body);
    font-weight: 700;
    letter-spacing: .01em;
    border-radius: 7px;
    padding: .36em .6em;
}
.badge.bg-light { background: var(--surface-2) !important; color: var(--muted) !important; border-color: var(--line) !important; }
.badge.bg-primary { background: rgba(79, 70, 229, .1) !important; color: #4338ca !important; border: 1px solid rgba(79, 70, 229, .2); }
.badge.bg-info { background: rgba(6, 182, 212, .12) !important; color: #0e7490 !important; border: 1px solid rgba(6, 182, 212, .22); }
.badge.bg-success { background: rgba(16, 185, 129, .12) !important; color: #047857 !important; border: 1px solid rgba(16, 185, 129, .22); }
.badge.bg-warning { background: rgba(245, 158, 11, .14) !important; color: #b45309 !important; border: 1px solid rgba(245, 158, 11, .24); }
.badge.bg-danger { background: rgba(239, 68, 68, .11) !important; color: #b91c1c !important; border: 1px solid rgba(239, 68, 68, .2); }
.badge.bg-secondary { background: rgba(100, 116, 139, .12) !important; color: #475569 !important; border: 1px solid rgba(100, 116, 139, .18); }

.badge-soft {
    display: inline-flex; align-items: center; gap: .3rem;
    padding: .3rem .58rem;
    border-radius: 7px;
    font-size: .72rem;
    font-weight: 700;
    border: 1px solid transparent;
}
.b-brand { background: rgba(79, 70, 229, .09); color: #4338ca; border-color: rgba(79, 70, 229, .18); }
.b-cyan { background: rgba(6, 182, 212, .1); color: #0e7490; border-color: rgba(6, 182, 212, .2); }
.b-green { background: rgba(16, 185, 129, .1); color: #047857; border-color: rgba(16, 185, 129, .2); }
.b-amber { background: rgba(245, 158, 11, .12); color: #b45309; border-color: rgba(245, 158, 11, .22); }
.b-red { background: rgba(239, 68, 68, .09); color: #b91c1c; border-color: rgba(239, 68, 68, .18); }
.b-ink { background: rgba(100, 116, 139, .1); color: #475569; border-color: rgba(100, 116, 139, .16); }

/* ==========================================================================
   Channel cards
   ========================================================================== */
.channel-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.3rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    overflow: hidden;
}
.channel-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--grad);
    opacity: 0;
    transition: opacity .2s ease;
}
.channel-card:hover {
    transform: translateY(-5px);
    border-color: rgba(79, 70, 229, .35);
    box-shadow: 0 26px 55px -32px rgba(79, 70, 229, .5);
}
.channel-card:hover::before { opacity: 1; }

.channel-logo {
    width: 58px; height: 58px;
    border-radius: 15px;
    background: var(--grad-soft);
    border: 1px solid var(--line);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    padding: 7px;
    overflow: hidden;
}
.channel-logo img { max-width: 100%; max-height: 100%; object-fit: contain; filter: saturate(1.05); }
.channel-logo i { color: var(--muted-2); }

.channel-name {
    font-family: var(--font-display);
    font-size: .99rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0 0 .25rem;
    letter-spacing: -.015em;
}
.channel-name a { color: var(--ink); }
.channel-name a:hover { color: var(--brand); }

.channel-desc {
    color: var(--muted);
    font-size: .82rem;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.55rem;
    margin-bottom: 1rem;
}

.channel-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding-top: .9rem;
    border-top: 1px dashed var(--line-strong);
}
.tp-count { display: inline-flex; align-items: center; gap: .4rem; font-size: .76rem; color: var(--muted); font-weight: 600; }
.tp-count i { color: var(--cyan-2); }
.tp-count strong { color: var(--ink); font-weight: 800; }
.card-cta {
    display: inline-flex; align-items: center; gap: .35rem;
    font-size: .76rem;
    font-weight: 700;
    color: var(--brand);
    white-space: nowrap;
}
.card-cta:hover { gap: .55rem; color: var(--brand-2); }

/* Directory cards (countries + languages) */
.dir-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.25rem;
    color: inherit;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.dir-card:hover {
    color: inherit;
    transform: translateY(-5px);
    border-color: rgba(79, 70, 229, .35);
    box-shadow: 0 26px 55px -32px rgba(79, 70, 229, .45);
}
.dir-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--grad);
    opacity: 0;
    transition: opacity .2s ease;
}
.dir-card:hover::before { opacity: 1; }
.dir-head { display: flex; align-items: center; justify-content: space-between; gap: .75rem; margin-bottom: .9rem; }
.dir-mono {
    width: 54px; height: 54px;
    border-radius: 15px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--grad);
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -.02em;
    text-transform: uppercase;
    box-shadow: 0 14px 28px -16px rgba(79, 70, 229, .85), inset 0 1px 0 rgba(255, 255, 255, .3);
    flex-shrink: 0;
}
.dir-mono.is-cyan { background: var(--grad-cyan); box-shadow: 0 14px 28px -16px rgba(6, 182, 212, .85), inset 0 1px 0 rgba(255,255,255,.3); }
.dir-title { font-family: var(--font-display); font-size: 1.02rem; font-weight: 800; color: var(--ink); margin: 0 0 .2rem; letter-spacing: -.015em; }
.dir-desc { font-size: .79rem; color: var(--muted); line-height: 1.55; margin: 0 0 1rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dir-foot { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding-top: .85rem; border-top: 1px dashed var(--line-strong); }
.dir-link { display: inline-flex; align-items: center; gap: .35rem; font-size: .76rem; font-weight: 700; color: var(--brand); }
.dir-card:hover .dir-link { gap: .55rem; }

/* ==========================================================================
   Panels / generic cards
   ========================================================================== */
.panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.panel-head {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem;
    padding: 1.05rem 1.35rem;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, #fff, #fbfcff);
}
.panel-title {
    display: flex; align-items: center; gap: .6rem;
    font-size: 1rem;
    font-weight: 800;
    color: var(--ink);
    margin: 0;
    letter-spacing: -.015em;
}
.panel-title i { color: var(--brand); }
.panel-body { padding: 1.35rem; }
.panel-body.tight { padding: 0; }

.seo-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.3rem 1.5rem 1.3rem 1.7rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 2rem;
    overflow: hidden;
}
.seo-card::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 5px;
    background: var(--grad);
}
.seo-card-head {
    display: flex; align-items: center; gap: .55rem;
    font-family: var(--font-display);
    font-size: .95rem;
    font-weight: 800;
    color: var(--ink);
    margin-bottom: .45rem;
}
.seo-card-head i { color: var(--cyan-2); }
.seo-card p { color: #52607a; margin: 0; line-height: 1.7; font-size: .92rem; }

/* Hero detail header */
.detail-hero { position: relative; color: #fff; background: var(--grad-night); padding: 2.6rem 0; overflow: hidden; isolation: isolate; }
.detail-hero::before {
    content: "";
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(148, 163, 184, .06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, .06) 1px, transparent 1px);
    background-size: 56px 56px;
    -webkit-mask-image: radial-gradient(ellipse 80% 100% at 40% 0%, #000 20%, transparent 100%);
    mask-image: radial-gradient(ellipse 80% 100% at 40% 0%, #000 20%, transparent 100%);
    z-index: -1;
}
.detail-hero::after {
    content: "";
    position: absolute;
    width: 440px; height: 440px;
    right: -150px; top: -230px;
    border-radius: 50%;
    border: 1px solid rgba(148, 163, 184, .15);
    box-shadow: 0 0 0 70px rgba(148, 163, 184, .04), 0 0 0 140px rgba(148, 163, 184, .025);
    z-index: -1;
}
.detail-logo {
    width: 92px; height: 92px;
    border-radius: 22px;
    background: #fff;
    padding: 10px;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 20px 40px -22px rgba(2, 6, 23, .9), inset 0 0 0 1px rgba(148, 163, 184, .18);
    flex-shrink: 0;
}
.detail-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.detail-title { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; color: #fff; margin: 0 0 .55rem; letter-spacing: -.03em; line-height: 1.15; }
.detail-title a { color: #fff; }
.detail-country {
    display: inline-flex; align-items: center; gap: .35rem;
    padding: .28rem .65rem;
    border-radius: 999px;
    background: rgba(79, 70, 229, .35);
    border: 1px solid rgba(165, 180, 252, .35);
    color: #e0e7ff;
    font-size: .7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    vertical-align: middle;
    margin-left: .5rem;
}
.detail-country:hover { background: rgba(79, 70, 229, .55); color: #fff; }

/* ==========================================================================
   Transponder cards
   ========================================================================== */
.tp-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 1.15rem;
    align-items: stretch;
}
.tp-card {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 0;
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease;
}
.tp-card:hover { transform: translateY(-2px); box-shadow: 0 24px 55px -34px rgba(15, 23, 42, .4); }
.tp-top {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .85rem;
    align-items: start;
    padding: 1rem 1.15rem;
    background: linear-gradient(135deg, #0b1228 0%, #101c3d 58%, #0b2440 100%);
    color: #fff;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(90deg, #4f46e5, #06b6d4) 1;
}
.tp-top::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 3px;
    background: var(--grad);
}
.tp-cell { display: flex; flex-direction: column; gap: .32rem; min-width: 0; }
.tp-kicker {
    display: flex; align-items: center; gap: .4rem;
    font-size: .64rem;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: #8fa0bf;
}
.tp-kicker i { color: #67e8f9; }
.pos-badge {
    display: inline-flex; align-items: center; width: fit-content;
    padding: .3rem .68rem;
    border-radius: 8px;
    background: linear-gradient(135deg, #f59e0b, #f97316);
    color: #fff;
    font-family: var(--font-display);
    font-size: .88rem;
    font-weight: 800;
    letter-spacing: .01em;
    box-shadow: 0 10px 24px -12px rgba(249, 115, 22, .9);
}
.sat-name {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -.02em;
    line-height: 1.25;
    word-break: break-word;
}
.sat-name a { color: #fff; }
.sat-name a:hover { color: #a5f3fc; }
.freq-badge {
    display: inline-flex; align-items: center; width: fit-content;
    padding: .36rem .75rem;
    border-radius: 9px;
    background: linear-gradient(135deg, #0891b2, #2563eb);
    border: 1px solid rgba(165, 243, 252, .35);
    color: #fff;
    font-family: var(--font-mono);
    font-size: .88rem;
    font-weight: 700;
    letter-spacing: .03em;
    box-shadow: 0 12px 26px -14px rgba(37, 99, 235, .95);
    word-break: break-word;
}
.access-badge {
    display: inline-flex; align-items: center; gap: .4rem;
    width: fit-content;
    padding: .34rem .68rem;
    border-radius: 8px;
    font-size: .74rem;
    font-weight: 700;
}
.access-badge.is-fta { background: rgba(16, 185, 129, .16); color: #6ee7b7; border: 1px solid rgba(16, 185, 129, .35); }
.access-badge.is-enc { background: rgba(245, 158, 11, .16); color: #fcd34d; border: 1px solid rgba(245, 158, 11, .35); }

.tp-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: .95rem 1.15rem 1.05rem;
}
.param-rows {
    display: flex;
    flex-direction: column;
}
.param-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .46rem .35rem;
    border-bottom: 1px solid var(--line);
    transition: background .14s ease;
}
.param-row:last-child { border-bottom: none; }
.param-row:hover { background: var(--surface-2); border-radius: 8px; }
.param-label {
    display: inline-flex; align-items: center; gap: .4rem;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--muted-2);
    flex-shrink: 0;
}
.param-label i { color: var(--brand); opacity: .78; width: 14px; text-align: center; }
.param-value {
    font-size: .84rem;
    font-weight: 700;
    color: var(--ink);
    text-align: right;
    word-break: break-word;
}
.param-value .badge { font-size: .7rem; }

.tp-foot {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem;
    margin-top: 1.15rem;
    padding-top: 1rem;
    border-top: 1px dashed var(--line-strong);
    font-size: .78rem;
    color: var(--muted);
}
.tp-foot a.btn { font-size: .78rem; font-weight: 700; }

/* ==========================================================================
   Tables
   ========================================================================== */
.table-shell {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.table-shell .table-responsive { border-radius: inherit; }
.table {
    --bs-table-bg: transparent;
    --bs-table-color: var(--ink-2);
    --bs-table-hover-bg: #f8faff;
    --bs-table-border-color: var(--line);
    margin: 0;
    font-size: .86rem;
    vertical-align: middle;
}
.table > thead th {
    background: var(--surface-2) !important;
    color: var(--muted) !important;
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--line);
    padding: .85rem 1rem;
    white-space: nowrap;
}
.table > tbody > tr > td { padding: .9rem 1rem; border-color: var(--line); }
.table > tbody > tr:last-child > td { border-bottom: 0; }
.table-hover > tbody > tr:hover > td { background: #f8faff; }
.table a { font-weight: 600; }
.table .fw-bold > a { color: var(--ink); }
.table .fw-bold > a:hover { color: var(--brand); }
.table-light { --bs-table-bg: var(--surface-2); }

.thumb-sm {
    width: 42px; height: 32px;
    object-fit: contain;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 3px;
    flex-shrink: 0;
}
.thumb-box {
    width: 42px; height: 32px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--surface-2);
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--muted-2);
    font-size: .8rem;
    flex-shrink: 0;
}
.td-stack { display: flex; align-items: center; gap: .65rem; min-width: 0; }
.td-title { font-weight: 700; color: var(--ink); }
.td-sub { font-size: .72rem; color: var(--muted-2); }
.freq-chip {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: .8rem;
    color: #0369a1;
    background: rgba(6, 182, 212, .08);
    border: 1px solid rgba(6, 182, 212, .18);
    border-radius: 7px;
    padding: .22rem .5rem;
    white-space: nowrap;
}
.num-pill {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 30px;
    padding: .2rem .5rem;
    border-radius: 999px;
    background: rgba(79, 70, 229, .09);
    border: 1px solid rgba(79, 70, 229, .16);
    color: #4338ca;
    font-weight: 800;
    font-size: .74rem;
}
.row-link { color: var(--ink); font-weight: 700; }
.row-link:hover { color: var(--brand); }

/* ==========================================================================
   Toolbar / form controls
   ========================================================================== */
.toolbar {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .85rem;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-xs);
    padding: .8rem 1rem;
    margin-bottom: 1.1rem;
}
.toolbar-label { display: inline-flex; align-items: center; gap: .45rem; font-size: .78rem; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.form-control, .form-select {
    border-radius: 10px;
    border-color: var(--line-strong);
    color: var(--ink);
    font-size: .88rem;
    padding: .55rem .8rem;
}
.form-control:focus, .form-select:focus {
    border-color: rgba(79, 70, 229, .55);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, .12);
}
.form-control::placeholder { color: #9aa6ba; }
.input-group-text { border-color: var(--line-strong); background: var(--surface-2); color: var(--muted); border-radius: 10px; }

/* Filter summary */
.filter-summary {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem;
    background: linear-gradient(180deg, #fff, #f8faff);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: .8rem 1rem;
    margin-bottom: 1.4rem;
    box-shadow: var(--shadow-xs);
    font-size: .82rem;
}
.filter-summary .badge { font-size: .72rem; padding: .38em .65em; }

/* ==========================================================================
   Empty states
   ========================================================================== */
.empty-state {
    background: var(--surface);
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius);
    padding: 3.5rem 1.5rem;
    text-align: center;
    color: var(--muted);
}
.empty-state .empty-icon {
    width: 68px; height: 68px;
    margin: 0 auto 1rem;
    border-radius: 20px;
    display: flex; align-items: center; justify-content: center;
    background: var(--grad-soft);
    border: 1px solid rgba(79, 70, 229, .14);
    color: var(--brand);
    font-size: 1.55rem;
}
.empty-state h4 { font-size: 1.15rem; font-weight: 800; color: var(--ink); margin-bottom: .35rem; }
.empty-state p { margin-bottom: 1.2rem; font-size: .9rem; }

/* ==========================================================================
   Pagination
   ========================================================================== */
.pagination { gap: .3rem; }
.pagination .page-link {
    border: 1px solid var(--line-strong);
    border-radius: 10px !important;
    color: var(--ink-2);
    font-size: .8rem;
    font-weight: 600;
    padding: .45rem .7rem;
    background: var(--surface);
    box-shadow: var(--shadow-xs);
}
.pagination .page-link:hover { background: var(--surface-2); color: var(--brand); border-color: rgba(79, 70, 229, .35); }
.pagination .page-item.active .page-link {
    background: var(--grad);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 10px 22px -14px rgba(79, 70, 229, .95);
}
.pagination .page-item.disabled .page-link { opacity: .5; }
.page-meta { font-size: .78rem; color: var(--muted); }
.page-meta strong { color: var(--ink); }

/* ==========================================================================
   Alerts
   ========================================================================== */
.alert { border-radius: 12px; border-width: 1px; font-size: .88rem; }
.alert-success { background: #f0fdf9; border-color: #b7f0dd; color: #065f46; }
.alert-danger { background: #fef3f2; border-color: #fecaca; color: #991b1b; }
.alert-info { background: #eff9ff; border-color: #bae6fd; color: #075985; }
.alert-light { background: var(--surface); border-color: var(--line); }
.alert .btn-close { font-size: .7rem; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
    position: relative;
    margin-top: 4rem;
    background: #060a18;
    color: #94a3b8;
    padding: 3.4rem 0 1.6rem;
    overflow: hidden;
}
.site-footer::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--grad);
}
.site-footer::after {
    content: "";
    position: absolute;
    width: 560px; height: 560px;
    left: -220px; bottom: -380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(79, 70, 229, .18), transparent 65%);
    pointer-events: none;
}
.footer-brand { display: inline-flex; align-items: center; gap: .6rem; margin-bottom: .9rem; }
.footer-brand .brand-mark { width: 36px; height: 36px; border-radius: 10px; font-size: .95rem; }
.footer-brand .brand-text { font-size: 1.1rem; }
.footer-desc { font-size: .84rem; line-height: 1.7; color: #8b9ab7; max-width: 340px; }
.footer-title { font-family: var(--font-display); font-size: .82rem; font-weight: 800; color: #fff; letter-spacing: .02em; margin-bottom: .9rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .55rem; }
.footer-links a { color: #8b9ab7; font-size: .83rem; }
.footer-links a:hover { color: #fff; }
.footer-chip {
    display: inline-flex; align-items: center; gap: .35rem;
    padding: .3rem .6rem;
    border-radius: 7px;
    border: 1px solid rgba(148, 163, 184, .2);
    background: rgba(148, 163, 184, .06);
    font-size: .72rem;
    color: #a9b6cf;
    margin: 0 .35rem .4rem 0;
}
.footer-bottom {
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem;
    margin-top: 2.6rem;
    padding-top: 1.3rem;
    border-top: 1px solid rgba(148, 163, 184, .14);
    font-size: .76rem;
    color: #7c8aa8;
    position: relative;
}
.footer-bottom a { color: #a9b6cf; }
.footer-bottom a:hover { color: #fff; }

/* ==========================================================================
   Motion
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .55s cubic-bezier(.22,.61,.36,1), transform .55s cubic-bezier(.22,.61,.36,1); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .radar-sweep, .hero-eyebrow .dot { animation: none; }
    .channel-card:hover, .tp-card:hover, .chip:hover { transform: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 991.98px) {
    .site-nav {
        background: rgba(7, 11, 26, .96);
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }
    .hero { padding: 3rem 0; }
    .hero-inner { grid-template-columns: 1fr; gap: 2.25rem; }
    .telemetry { max-width: 460px; }
    .site-nav .navbar-collapse {
        margin-top: .85rem;
        padding: .85rem;
        border-radius: 14px;
        background: rgba(7, 11, 26, .97);
        border: 1px solid rgba(148, 163, 184, .14);
    }
    .site-nav .nav-links { align-items: stretch; }
    .site-nav .nav-link.nav-pill { border-radius: 10px; }
    .nav-right { margin-top: .65rem; flex-wrap: wrap; }
    .detail-hero { padding: 2.1rem 0; }
}

@media (max-width: 767.98px) {
    .telemetry { display: none; }
    .hero-inner { gap: 0; }
}

@media (max-width: 575.98px) {
    .hero { padding: 2.4rem 0 2.6rem; }
    .hero-lead { font-size: .94rem; }
    .search-shell { flex-direction: column; align-items: stretch; padding: .5rem; border-radius: 14px; }
    .search-shell .search-icon { display: none; }
    .search-shell input { padding: .65rem .85rem; border: 1px solid var(--line); border-radius: 10px; }
    .btn-grad { width: 100%; }
    .channel-card { padding: 1.1rem; }
    .tp-cards-grid { grid-template-columns: 1fr; }
    .tp-top { grid-template-columns: 1fr; padding: 1rem; }
    .tp-body { padding: .95rem 1rem 1.05rem; }
    .table > thead th, .table > tbody > tr > td { padding: .7rem .75rem; }
    .detail-logo { width: 70px; height: 70px; border-radius: 18px; }
    .footer-bottom { justify-content: center; text-align: center; }
}

/* Brand logo image utilities */
.brand-mark.brand-mark-img { background: transparent; box-shadow: none; padding: 0; }
.brand-logo-img { height: 38px; width: auto; max-width: 140px; object-fit: contain; border-radius: 8px; }
.footer-logo-img { height: 36px; }
