:root {
    --bg: #01040a;
    --ink: #f2fbff;
    --muted: #8ea9bd;
    --cyan: #1de7ff;
    --blue: #4378ff;
    --green: #2ee59d;
    --amber: #ffb545;
    --magenta: #d970ff;
    --red: #ff695c;
    --line: rgba(91, 178, 218, 0.28);
    --line-hot: rgba(29, 231, 255, 0.74);
    --panel: rgba(4, 10, 18, 0.82);
    --panel-strong: rgba(6, 16, 28, 0.94);
    --shadow: 0 28px 80px rgba(0, 0, 0, 0.46);
}

* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    min-height: 100%;
}

body {
    margin: 0;
    overflow: hidden;
    color: var(--ink);
    background:
        linear-gradient(90deg, rgba(29, 231, 255, 0.052) 1px, transparent 1px),
        linear-gradient(0deg, rgba(29, 231, 255, 0.034) 1px, transparent 1px),
        linear-gradient(118deg, rgba(29, 231, 255, 0.12), transparent 34%),
        linear-gradient(242deg, rgba(217, 112, 255, 0.10), transparent 32%),
        var(--bg);
    background-size: 42px 42px, 42px 42px, auto, auto, auto;
    font-family: "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

.data-wall {
    position: relative;
    display: grid;
    grid-template-rows: 72px minmax(0, 1fr) 204px;
    gap: 12px;
    width: min(100% - 28px, 1760px);
    height: 100vh;
    min-height: 760px;
    margin: 0 auto;
    padding: 12px 0;
    isolation: isolate;
}

.ambient-grid {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.ambient-grid::before,
.ambient-grid::after {
    content: "";
    position: absolute;
    inset: 0;
}

.ambient-grid::before {
    background:
        repeating-linear-gradient(0deg, transparent 0 8px, rgba(255, 255, 255, 0.018) 9px 10px),
        linear-gradient(180deg, transparent, rgba(29, 231, 255, 0.20), transparent);
    transform: translateY(-100%);
    animation: scanLine 5.2s linear infinite;
}

.ambient-grid::after {
    background:
        linear-gradient(90deg, transparent, rgba(29, 231, 255, 0.17), transparent),
        linear-gradient(180deg, rgba(255, 255, 255, 0.045), transparent 20%, transparent 80%, rgba(255, 255, 255, 0.030));
    opacity: 0.56;
}

.wall-header {
    position: relative;
    display: grid;
    grid-template-columns: minmax(220px, 1fr) minmax(280px, 420px) minmax(260px, 1fr);
    align-items: center;
    gap: 16px;
    border: 1px solid rgba(91, 178, 218, 0.30);
    border-radius: 8px;
    padding: 0 18px;
    background: linear-gradient(180deg, rgba(7, 16, 29, 0.94), rgba(2, 6, 12, 0.88));
    box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.025);
}

.wall-header::before,
.telemetry-panel::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 8px;
    background:
        linear-gradient(90deg, var(--cyan) 0 42px, transparent 42px calc(100% - 42px), var(--cyan) calc(100% - 42px)),
        linear-gradient(90deg, var(--cyan) 0 42px, transparent 42px calc(100% - 42px), var(--cyan) calc(100% - 42px));
    background-position: 0 0, 0 100%;
    background-repeat: no-repeat;
    background-size: 100% 1px, 100% 1px;
    opacity: 0.36;
    pointer-events: none;
}

.brand,
.header-actions,
.panel-title,
.match-board-head,
.match-tabs {
    display: flex;
    align-items: center;
}

.brand {
    gap: 12px;
    min-width: 0;
}

.brand-mark {
    display: inline-grid;
    place-items: center;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(29, 231, 255, 0.86);
    border-radius: 6px;
    background: rgba(29, 231, 255, 0.12);
    color: #dcfbff;
    font-weight: 900;
    box-shadow: inset 0 0 18px rgba(29, 231, 255, 0.16);
}

.brand strong,
.brand em {
    display: block;
}

.brand strong {
    font-size: 17px;
}

.brand em,
.header-core span,
.header-core em,
.header-actions span,
.group-card span,
.group-card em,
.active-group-head span,
.active-group-head em,
.module-card em,
.active-group-total span,
.panel-title span,
.service-grid span,
.service-status span,
.match-board-head span,
.match-item span,
.match-item small,
.match-item time,
.sync-item span,
.sync-item small {
    color: var(--muted);
    font-size: 12px;
    font-style: normal;
}

.header-core {
    display: grid;
    justify-items: center;
    text-align: center;
}

.header-core strong,
.group-card strong,
.active-group-total strong,
.module-value,
.service-grid strong,
.service-status strong {
    font-family: Consolas, "Fira Code", "SFMono-Regular", Menlo, monospace;
}

.header-core strong {
    color: #ffffff;
    font-size: 37px;
    line-height: 1;
    text-shadow: 0 0 22px rgba(29, 231, 255, 0.48);
}

.header-actions {
    justify-content: flex-end;
    gap: 10px;
}

.header-actions a,
.panel-title a,
.match-tabs button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    border: 1px solid rgba(91, 178, 218, 0.34);
    border-radius: 6px;
    padding: 7px 12px;
    background: rgba(255, 255, 255, 0.035);
    color: #e6f7ff;
    font-size: 13px;
    transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.header-actions a:hover,
.panel-title a:hover,
.match-tabs button:hover,
.group-card:hover {
    border-color: var(--line-hot);
    background: rgba(29, 231, 255, 0.10);
    color: #ffffff;
}

.nexus-stage {
    position: relative;
    min-height: 0;
    overflow: hidden;
    border: 1px solid rgba(91, 178, 218, 0.22);
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(29, 231, 255, 0.030) 1px, transparent 1px),
        linear-gradient(0deg, rgba(29, 231, 255, 0.024) 1px, transparent 1px),
        linear-gradient(180deg, rgba(5, 20, 34, 0.66), rgba(1, 5, 11, 0.72));
    background-size: 34px 34px, 34px 34px, auto;
    box-shadow: inset 0 0 80px rgba(29, 231, 255, 0.06);
}

.nexus-grid {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(120deg, transparent 0 45%, rgba(29, 231, 255, 0.16) 50%, transparent 55%),
        linear-gradient(240deg, transparent 0 45%, rgba(217, 112, 255, 0.12) 50%, transparent 55%);
    opacity: 0.42;
    animation: stagePulse 7s ease-in-out infinite;
}

.nexus-beams {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.nexus-beams i {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 46%;
    height: 1px;
    background: linear-gradient(90deg, rgba(29, 231, 255, 0.52), transparent);
    transform-origin: left center;
    opacity: 0.56;
}

.nexus-beams i:nth-child(1) { transform: rotate(24deg); }
.nexus-beams i:nth-child(2) { transform: rotate(156deg); }
.nexus-beams i:nth-child(3) { transform: rotate(-24deg); }
.nexus-beams i:nth-child(4) { transform: rotate(-156deg); }

.domain-orbit {
    position: absolute;
    inset: 0;
    z-index: 2;
}

.group-card {
    position: absolute;
    display: grid;
    align-content: center;
    width: 226px;
    min-height: 106px;
    border: 1px solid rgba(91, 178, 218, 0.30);
    border-radius: 8px;
    padding: 14px 16px;
    color: var(--ink);
    text-align: left;
    background:
        linear-gradient(135deg, rgba(29, 231, 255, 0.085), rgba(255, 255, 255, 0.018)),
        rgba(3, 9, 17, 0.82);
    box-shadow: 0 20px 70px rgba(0, 0, 0, 0.32), inset 0 0 0 1px rgba(255, 255, 255, 0.024);
    cursor: pointer;
    overflow: hidden;
    transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.group-card::before,
.group-card::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.group-card::before {
    inset: 0;
    background: linear-gradient(100deg, transparent, rgba(29, 231, 255, 0.14), transparent);
    transform: translateX(-130%);
    transition: transform 420ms ease;
}

.group-card::after {
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: var(--cyan);
    opacity: 0;
}

.group-card:hover::before,
.group-card.is-active::before {
    transform: translateX(130%);
}

.group-card.is-active::after {
    opacity: 1;
}

.group-card span,
.group-card strong,
.group-card em {
    position: relative;
    z-index: 1;
}

.group-card strong {
    display: block;
    max-width: 100%;
    margin: 7px 0;
    color: #ffffff;
    font-size: 31px;
    line-height: 1;
    overflow: hidden;
    text-overflow: clip;
    white-space: nowrap;
    text-shadow: 0 0 16px rgba(29, 231, 255, 0.34);
}

.group-card > i {
    position: absolute;
    right: 14px;
    bottom: 14px;
    width: 42px;
    height: 5px;
    border-radius: 5px;
    background: linear-gradient(90deg, var(--cyan), transparent);
    opacity: 0.62;
}

.group-card.is-active {
    border-color: rgba(29, 231, 255, 0.90);
    background:
        linear-gradient(135deg, rgba(29, 231, 255, 0.20), rgba(29, 231, 255, 0.025)),
        rgba(3, 13, 23, 0.92);
    box-shadow: 0 0 38px rgba(29, 231, 255, 0.14), inset 0 0 28px rgba(29, 231, 255, 0.10);
}

.group-card[data-accent="amber"].is-active {
    border-color: rgba(255, 181, 69, 0.88);
    box-shadow: 0 0 34px rgba(255, 181, 69, 0.12), inset 0 0 28px rgba(255, 181, 69, 0.08);
}

.group-card[data-accent="green"].is-active {
    border-color: rgba(46, 229, 157, 0.88);
    box-shadow: 0 0 34px rgba(46, 229, 157, 0.12), inset 0 0 28px rgba(46, 229, 157, 0.08);
}

.group-card[data-accent="magenta"].is-active {
    border-color: rgba(217, 112, 255, 0.88);
    box-shadow: 0 0 34px rgba(217, 112, 255, 0.12), inset 0 0 28px rgba(217, 112, 255, 0.08);
}

.group-card[data-group-key="all"] {
    left: 50%;
    top: 42%;
    width: clamp(420px, 42vw, 620px);
    min-height: 204px;
    padding: 24px 42px;
    transform: translate(-50%, -50%);
    clip-path: polygon(9% 0, 91% 0, 100% 16%, 100% 84%, 91% 100%, 9% 100%, 0 84%, 0 16%);
    border-radius: 0;
    text-align: center;
    justify-items: center;
    background:
        linear-gradient(135deg, rgba(29, 231, 255, 0.20), rgba(67, 120, 255, 0.08) 48%, rgba(217, 112, 255, 0.11)),
        rgba(4, 12, 22, 0.92);
}

.group-card[data-group-key="all"] span {
    color: #dffbff;
    font-weight: 800;
}

.group-card[data-group-key="all"] strong {
    width: 100%;
    font-size: 72px;
    margin: 10px 0;
}

.group-card[data-group-key="all"] > i {
    left: 50%;
    right: auto;
    bottom: 24px;
    width: 148px;
    transform: translateX(-50%);
}

.group-card[data-group-key="sports"] {
    left: 6.5%;
    top: 8%;
}

.group-card[data-group-key="lottery"] {
    right: 6.5%;
    top: 8%;
}

.group-card[data-group-key="geo"] {
    left: 6.5%;
    bottom: 13.5%;
}

.group-card[data-group-key="platform"] {
    right: 6.5%;
    bottom: 13.5%;
}

.nexus-detail {
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: 16px;
    width: min(720px, 52vw);
    transform: translateX(-50%);
}

.active-group {
    display: grid;
    gap: 10px;
}

.active-group-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 160px;
    align-items: center;
    gap: 14px;
    border: 1px solid rgba(91, 178, 218, 0.24);
    border-radius: 8px;
    padding: 10px 12px;
    background: rgba(3, 10, 18, 0.72);
    backdrop-filter: blur(12px);
}

.active-group-head strong {
    display: block;
    margin: 3px 0 2px;
    color: #ffffff;
    font-size: 19px;
}

.active-group-total {
    text-align: right;
}

.active-group-total strong {
    color: #ffffff;
    font-size: 28px;
    line-height: 1;
    text-shadow: 0 0 14px rgba(29, 231, 255, 0.34);
}

.module-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.module-card {
    min-width: 0;
    border: 1px solid rgba(91, 178, 218, 0.22);
    border-radius: 8px;
    padding: 10px;
    background: rgba(4, 10, 18, 0.74);
    backdrop-filter: blur(12px);
}

.module-card-head {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.module-card-head > div {
    min-width: 0;
}

.module-card-head strong {
    display: block;
    overflow: hidden;
    color: #f3fbff;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.module-card em {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.module-value {
    margin: 12px 0 10px;
    color: #ffffff;
    font-size: 28px;
    line-height: 1;
}

.metric-bar {
    height: 5px;
    overflow: hidden;
    border-radius: 5px;
    background: rgba(91, 178, 218, 0.18);
}

.metric-bar i {
    display: block;
    height: 100%;
    border-radius: 5px;
    background: linear-gradient(90deg, var(--cyan), var(--blue));
    box-shadow: 0 0 14px rgba(29, 231, 255, 0.38);
}

.active-group[data-accent="amber"] .metric-bar i { background: linear-gradient(90deg, var(--amber), #ffd166); }
.active-group[data-accent="green"] .metric-bar i { background: linear-gradient(90deg, var(--green), #78f0b5); }
.active-group[data-accent="magenta"] .metric-bar i { background: linear-gradient(90deg, var(--magenta), #4b7dff); }

.telemetry-dock {
    display: grid;
    grid-template-columns: minmax(300px, 0.95fr) minmax(360px, 1.15fr) minmax(320px, 1fr);
    gap: 12px;
    min-height: 0;
}

.telemetry-panel {
    position: relative;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    border: 1px solid rgba(91, 178, 218, 0.28);
    border-radius: 8px;
    padding: 13px;
    background: linear-gradient(180deg, rgba(8, 17, 30, 0.92), rgba(2, 7, 13, 0.90));
    box-shadow: var(--shadow), inset 0 0 0 1px rgba(255, 255, 255, 0.024);
}

.panel-title {
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.panel-title strong {
    color: #ffffff;
    font-size: 16px;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.service-grid div,
.service-status {
    min-width: 0;
    border: 1px solid rgba(91, 178, 218, 0.20);
    border-radius: 8px;
    padding: 9px;
    background: rgba(255, 255, 255, 0.030);
}

.service-grid strong,
.service-status strong {
    display: block;
    margin-top: 5px;
    overflow: hidden;
    color: #ffffff;
    font-size: 19px;
    line-height: 1.1;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.service-status {
    margin-top: 8px;
}

.match-board-head {
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.match-board-head strong {
    display: block;
    margin-top: 4px;
    font-size: 16px;
}

.match-tabs {
    gap: 6px;
}

.match-tabs button {
    min-width: 44px;
    min-height: 30px;
    padding: 0 10px;
    cursor: pointer;
}

.match-tabs button.active {
    border-color: rgba(29, 231, 255, 0.82);
    background: rgba(29, 231, 255, 0.15);
}

.match-list,
.sync-list {
    display: grid;
    gap: 7px;
    overflow: hidden;
}

.match-list {
    max-height: 118px;
}

.sync-list {
    max-height: 126px;
}

.match-list.is-loading {
    opacity: 0.58;
}

.match-item,
.sync-item {
    border: 1px solid rgba(91, 178, 218, 0.16);
    border-radius: 8px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.030);
}

.match-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 10px;
}

.match-item div,
.sync-item div {
    min-width: 0;
}

.match-item strong {
    display: block;
    overflow: hidden;
    margin-top: 3px;
    color: #eef8ff;
    font-size: 13px;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.match-item em {
    color: var(--muted);
    font-style: normal;
}

.match-item small {
    grid-column: 1 / -1;
}

.match-item time {
    text-align: right;
}

.sync-item div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
}

.sync-item strong {
    font-size: 14px;
}

.sync-item em {
    display: block;
    margin: 4px 0;
    color: #eaf3ff;
    font-size: 13px;
    font-style: normal;
}

.status {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 7px;
    border-radius: 50%;
    color: var(--red);
    background: var(--red);
    animation: statusBlink 1.6s ease-in-out infinite;
}

.status.ok {
    color: var(--green);
    background: var(--green);
}

.empty,
.group-empty {
    display: grid;
    place-items: center;
    min-height: 92px;
    border: 1px dashed rgba(91, 178, 218, 0.34);
    border-radius: 8px;
    color: var(--muted);
    background: rgba(0, 0, 0, 0.14);
}

.asset-icon {
    position: relative;
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    border: 1px solid rgba(91, 178, 218, 0.34);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.045);
    overflow: hidden;
}

.asset-icon::before,
.asset-icon::after,
.asset-icon i {
    content: "";
    position: absolute;
    display: block;
}

.icon-football::before { inset: 7px; border: 2px solid var(--cyan); border-radius: 50%; }
.icon-football::after { left: 10px; right: 10px; top: 15px; height: 2px; background: var(--cyan); transform: rotate(-28deg); }
.icon-football i { left: 15px; top: 8px; width: 2px; height: 17px; background: rgba(29, 231, 255, 0.86); transform: rotate(28deg); }
.icon-basketball::before { inset: 7px; border: 2px solid var(--amber); border-radius: 50%; }
.icon-basketball::after { left: 9px; right: 9px; top: 15px; height: 2px; background: var(--amber); }
.icon-basketball i { left: 15px; top: 7px; width: 2px; height: 18px; background: rgba(255, 181, 69, 0.90); }
.icon-live::before, .icon-live::after, .icon-live i { bottom: 8px; width: 4px; border-radius: 4px; background: var(--green); }
.icon-live::before { left: 8px; height: 10px; }
.icon-live i { left: 14px; height: 18px; }
.icon-live::after { left: 20px; height: 14px; }
.icon-ticket::before { left: 7px; right: 7px; top: 9px; height: 14px; border: 2px solid var(--magenta); border-radius: 4px; }
.icon-ticket::after { left: 15px; top: 10px; width: 2px; height: 13px; background: rgba(217, 112, 255, 0.84); }
.icon-ticket i { left: 10px; top: 15px; width: 4px; height: 4px; border-radius: 50%; background: var(--magenta); }
.icon-digit::before, .icon-digit::after, .icon-digit i { width: 7px; height: 7px; border-radius: 3px; background: var(--cyan); }
.icon-digit::before { left: 8px; top: 8px; }
.icon-digit i { right: 8px; top: 8px; background: var(--amber); }
.icon-digit::after { left: 13px; bottom: 8px; background: var(--green); }
.icon-lotto::before { left: 8px; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--cyan); }
.icon-lotto::after { right: 8px; bottom: 8px; width: 12px; height: 12px; border-radius: 50%; background: var(--amber); }
.icon-lotto i { left: 13px; top: 13px; width: 8px; height: 8px; border-radius: 50%; background: var(--green); }
.icon-star::before { left: 7px; top: 6px; width: 19px; height: 19px; background: var(--amber); clip-path: polygon(50% 0, 61% 34%, 98% 34%, 68% 54%, 79% 90%, 50% 68%, 21% 90%, 32% 54%, 2% 34%, 39% 34%); }
.icon-star::after { right: 7px; bottom: 7px; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); }
.icon-geo::before { left: 9px; top: 6px; width: 13px; height: 17px; border: 2px solid var(--green); border-radius: 10px 10px 12px 12px; transform: rotate(45deg); }
.icon-geo::after { left: 14px; top: 11px; width: 5px; height: 5px; border-radius: 50%; background: var(--green); }
.icon-geo i { left: 8px; right: 8px; bottom: 7px; height: 2px; border-radius: 8px; background: rgba(46, 229, 157, 0.72); }
.icon-api::before { left: 8px; right: 8px; top: 8px; height: 4px; border-radius: 8px; background: var(--blue); box-shadow: 0 8px 0 var(--cyan), 0 16px 0 var(--green); }
.icon-api::after { right: 8px; top: 7px; width: 4px; height: 21px; border-radius: 8px; background: rgba(255, 255, 255, 0.32); }
.icon-proxy::before { left: 7px; top: 9px; width: 8px; height: 8px; border: 2px solid var(--magenta); border-radius: 50%; box-shadow: 12px 0 0 -2px var(--magenta), 6px 11px 0 -2px var(--cyan); }
.icon-proxy::after { left: 14px; top: 14px; width: 12px; height: 2px; background: rgba(217, 112, 255, 0.9); transform: rotate(28deg); }
.icon-proxy i { left: 12px; top: 21px; width: 12px; height: 2px; background: rgba(29, 231, 255, 0.9); transform: rotate(-28deg); }

.js-count.is-updating {
    color: var(--cyan);
    text-shadow: 0 0 18px rgba(29, 231, 255, 0.42);
}

@keyframes scanLine {
    to { transform: translateY(100%); }
}

@keyframes stagePulse {
    0%, 100% { opacity: 0.34; }
    50% { opacity: 0.58; }
}

@keyframes statusBlink {
    0%, 100% { opacity: 0.55; }
    50% { opacity: 1; box-shadow: 0 0 14px currentColor; }
}

@media (max-width: 1360px) {
    .group-card {
        width: 198px;
    }

    .group-card[data-group-key="all"] {
        width: clamp(380px, 38vw, 520px);
    }

    .nexus-detail {
        width: min(650px, 50vw);
    }
}

@media (max-width: 1180px) {
    body {
        overflow: auto;
    }

    .data-wall {
        height: auto;
        min-height: 100vh;
        grid-template-rows: auto auto auto;
    }

    .wall-header {
        grid-template-columns: 1fr;
        align-items: flex-start;
        padding: 16px;
    }

    .header-core {
        justify-items: start;
        text-align: left;
    }

    .header-actions {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .nexus-stage {
        min-height: 920px;
    }

    .telemetry-dock {
        grid-template-columns: 1fr;
    }

    .service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .data-wall {
        width: min(100% - 20px, 1760px);
        padding: 10px 0;
    }

    .nexus-stage {
        min-height: 0;
        padding: 12px;
    }

    .nexus-grid,
    .nexus-beams {
        display: none;
    }

    .domain-orbit,
    .nexus-detail,
    .group-card,
    .group-card[data-group-key],
    .group-card[data-group-key="all"] {
        position: relative;
        inset: auto;
        left: auto;
        right: auto;
        top: auto;
        bottom: auto;
        width: 100%;
        transform: none;
        clip-path: none;
    }

    .domain-orbit {
        display: grid;
        gap: 10px;
    }

    .group-card {
        min-height: 104px;
    }

    .group-card[data-group-key="all"] {
        min-height: 148px;
        padding: 20px 24px;
    }

    .nexus-detail {
        margin-top: 12px;
        width: 100%;
    }

    .active-group-head,
    .module-grid,
    .service-grid {
        grid-template-columns: 1fr;
    }

    .active-group-total {
        text-align: left;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}
