.hero-network {
    --network-dc: #a4cec4;
    --network-fiber: #d8b888;
    position: absolute;
    z-index: 3;
    top: 92px;
    right: 2.8vw;
    width: min(46vw, 740px);
    animation: globeIn 1.8s var(--ease) both;
    font-family: var(--mono);
}

.network-heading, .network-caption, .network-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.network-heading { padding: 0 8px; gap: 16px; }
.network-eyebrow { display: flex; align-items: center; gap: 9px; font-size: 9px; letter-spacing: 0.14em; text-transform: uppercase; color: #aaa99f; }
.network-eyebrow i { width: 5px; height: 5px; border-radius: 50%; background: var(--network-dc); box-shadow: 0 0 10px #a4cec455; }
.network-coordinate { color: #77776e; font-size: 9px; white-space: nowrap; }
.network-stage { position: relative; aspect-ratio: 1.14; margin: 9px 0 3px; }
.network-canvas { display: block; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; outline-offset: -12px; }
.network-canvas.is-dragging { cursor: grabbing; }
.network-canvas.has-target { cursor: pointer; }
.network-tooltip {
    position: absolute;
    z-index: 2;
    max-width: 210px;
    padding: 8px 11px;
    color: #ecebe6;
    background: #131513f2;
    border: 1px solid #a4cec433;
    border-radius: 4px;
    font-size: 10px;
    line-height: 1.6;
    pointer-events: none;
    box-shadow: 0 8px 30px #0008;
}
.network-tooltip strong { display: block; font-weight: 500; }
.network-tooltip small { color: #a2a398; font-size: 9px; }
.network-toolbar { justify-content: flex-start; flex-wrap: wrap; gap: 5px; border-top: 1px solid var(--line); padding-top: 11px; }
.network-toolbar button, .network-source-filters button {
    display: flex;
    align-items: center;
    gap: 7px;
    min-height: 32px;
    padding: 6px 11px;
    color: #7c7e75;
    border: 1px solid transparent;
    border-radius: 4px;
    font-size: 10px;
    transition: color 0.2s, background 0.2s, border-color 0.2s;
}
.network-toolbar button[aria-pressed="true"], .network-source-filters button[aria-pressed="true"] { color: #d6d8cf; background: #c4d5c40a; border-color: #c4d5c419; }
.network-toolbar button:hover, .network-source-filters button:hover, .network-explore:hover { color: #fff; background: #ffffff0c; }
.network-source-filters { display: flex; align-items: center; flex-wrap: wrap; gap: 5px; margin-top: 8px; }
.network-source-label { padding: 0 8px; color: #73776e; font-size: 9px; }
.network-source-filters button { min-height: 30px; padding: 5px 8px; font-size: 9px; }
.network-source-filters button:disabled { opacity: 0.4; cursor: default; }
.network-source-count { color: #798575; font-size: 8px; }
.network-dot { display: inline-block; width: 5px; height: 5px; flex: none; border-radius: 50%; opacity: 0.4; }
[aria-pressed="true"] .network-dot { opacity: 1; }
.network-dot--dc { background: var(--network-dc); }
.network-dot--fiber { background: var(--network-fiber); border-radius: 0; height: 1px; width: 9px; }
.network-toolbar .network-pause { margin-left: 10px; font-size: 14px; width: 32px; justify-content: center; }
.network-toolbar .network-reset { font-size: 19px; width: 32px; justify-content: center; padding: 0; }
.network-zoom-controls { display: flex; align-items: center; flex: none; border: 1px solid var(--line); border-radius: 4px; }
.network-toolbar .network-zoom-controls button { width: 30px; justify-content: center; padding: 0; font-size: 18px; color: #b6beb3; }
.network-toolbar .network-zoom-controls button:disabled { color: #4d544a; cursor: default; background: transparent; }
.network-zoom-value { min-width: 40px; color: #a6b19c; text-align: center; font-size: 10px; }
.network-caption { gap: 8px; margin-top: 10px; padding: 0 8px; font-size: 9px; color: #73776e; }
.network-catalog-count { margin: 9px 8px 0; color: #91978b; font-size: 9px; line-height: 1.6; }
.network-attribution { margin: 4px 8px 0; color: #71786d; font-size: 8px; line-height: 1.7; }
.network-attribution a { border-bottom: 1px solid #71786d55; }
.network-attribution a:hover { color: #c9d3c2; }
.network-explore { flex: none; font: inherit; padding: 3px 0 3px 6px; color: #b6beb3; }
.network-toolbar .network-explore { margin-left: 8px; color: #b6beb3; white-space: nowrap; border-color: var(--line); }
.network-data-status { font-size: 10px; color: #b8aa8b; padding: 10px 8px; }
.network-card {
    position: absolute;
    z-index: 4;
    bottom: 8px;
    left: 6%;
    right: 6%;
    padding: 19px 22px;
    border: 1px solid #a4cec433;
    border-radius: 6px;
    background: #101311f5;
    box-shadow: 0 16px 45px #0008;
    backdrop-filter: blur(14px);
    max-height: calc(100% - 16px);
    overflow-y: auto;
}
.network-card-close { position: absolute; right: 10px; top: 8px; padding: 4px 8px; color: #a4aaa0; font-size: 22px; line-height: 1; }
.network-card-kind { color: var(--network-dc); font-size: 9px; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 8px; }
.network-card h2 { font-family: var(--font); font-size: 20px; font-weight: 500; letter-spacing: -0.035em; line-height: 1.2; margin: 0 24px 9px 0; }
.network-card-description { color: #a5ab9f; font-family: var(--font); font-size: 12px; line-height: 1.65; }
.network-card-source { display: inline-block; margin-top: 12px; color: #d0d7c9; font-size: 10px; border-bottom: 1px solid #d0d7c944; padding-bottom: 2px; }
.network-object-list { position: absolute; z-index: 5; left: 6%; right: 6%; bottom: 8px; max-height: min(260px, calc(100% - 16px)); overflow-y: auto; overscroll-behavior: contain; padding: 8px; background: #0e110ef5; border: 1px solid var(--line); border-radius: 5px; box-shadow: 0 12px 35px #0008; }
.network-object-list button { display: block; width: 100%; text-align: left; font-family: var(--mono); font-size: 10px; color: #aab3a6; padding: 8px; border-radius: 3px; }
.network-object-list button:hover { color: var(--text); background: #ffffff08; }
.network-search-row { position: sticky; top: -8px; z-index: 1; display: flex; align-items: center; gap: 8px; padding: 4px 0 9px; background: #0e110e; }
.network-search { min-width: 0; width: 100%; padding: 9px 10px; background: #ffffff05; border: 1px solid #a4cec433; border-radius: 3px; color: var(--text); font: 11px var(--mono); }
.network-search:focus { outline: 1px solid var(--network-dc); outline-offset: 1px; }
.network-object-list .network-list-close { width: 30px; flex: none; padding: 4px; text-align: center; font-size: 22px; }
.network-list-meta { display: flex; gap: 12px; justify-content: space-between; align-items: center; padding: 0 8px 5px; font-size: 9px; color: #929d8b; }
.network-object-list .network-list-all { width: auto; padding: 4px; white-space: nowrap; font-size: 9px; }
.network-list-item strong, .network-list-item small { display: block; overflow-wrap: anywhere; }
.network-list-item strong { font-weight: 500; color: #c2d0b9; }
.network-list-item small { margin-top: 4px; color: #788472; font-size: 9px; line-height: 1.5; }
.network-object-list .network-list-more { text-align: center; border-top: 1px solid var(--line); margin-top: 6px; }
.hero-network [hidden] { display: none !important; }

@media (min-width: 801px) {
    .hero { min-height: max(100svh, 780px, calc(min(46vw, 740px) / 1.14 + 440px)); }
}

@media (min-width: 801px) and (max-width: 1100px) {
    .hero-network { top: 100px; right: 2vw; width: 47vw; }
    .network-coordinate { display: none; }
    .network-caption { font-size: 8px; }
}

@media (max-width: 800px) {
    .hero { justify-content: flex-start; padding-top: 115px; }
    .hero-network { position: relative; top: auto; right: auto; width: min(100%, 540px); margin: 34px auto 0; order: 2; animation-name: rise; }
    .hero .eyebrow { font-size: 9px; margin-bottom: 25px; }
    .hero h1 { order: 1; font-size: 18vw; }
    .hero-bottom { order: 3; margin-top: 38px; gap: 30px; }
    .network-heading { padding: 0; }
    .network-stage { margin-top: 16px; }
    .network-caption { padding: 0; font-size: 8px; }
    .network-catalog-count, .network-attribution { margin-left: 0; margin-right: 0; }
    .network-toolbar button { min-height: 36px; }
    .network-source-filters button { min-height: 36px; }
    .network-card { left: 0; right: 0; bottom: 0; padding: 16px 18px; }
    .network-card h2 { font-size: 19px; }
    .network-object-list { max-height: min(240px, calc(100% - 16px)); left: 0; right: 0; }
}

@media (prefers-reduced-motion: reduce) {
    .hero-network { animation: none; }
}

@media (max-width: 480px) {
    .network-source-label { flex-basis: 100%; padding-left: 0; }
}
