/* V3 AI Gateway V2 - Mobile-First Cinematic Reconstruction */

.gateway-mobile-menu-toggle {
  display: none;
}

.gateway-motion-semantic-title span {
  display: block;
  width: fit-content;
  max-width: 100%;
}

@media (max-width: 820px) {
  html {
    scroll-padding-top: calc(82px + env(safe-area-inset-top));
  }

  .v3-gateway-page {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
    padding: 0;
  }

  .v3-gateway-page .site-shell,
  .v3-gateway-page main,
  .v3-gateway-page section,
  .v3-gateway-page article {
    max-width: 100%;
  }

  /* Compact mobile header; navigation becomes a controlled disclosure. */
  .v3-gateway-page .header,
  .sonic-motion-page .header {
    position: sticky;
    top: 0;
    z-index: 100;
    min-height: calc(76px + env(safe-area-inset-top));
    padding-top: env(safe-area-inset-top);
    background: rgba(5, 7, 10, 0.96);
    backdrop-filter: blur(16px);
  }

  .v3-gateway-page .nav {
    position: relative;
    min-height: 76px;
    padding: 12px 18px;
    align-items: center;
    gap: 16px;
  }

  .v3-gateway-page .brand {
    min-width: 0;
  }

  .v3-gateway-page .brand-logo {
    width: 112px;
    max-width: 34vw;
  }

  .js .v3-gateway-page .gateway-mobile-menu-toggle {
    width: 44px;
    height: 44px;
    margin-left: auto;
    padding: 11px 9px;
    display: grid;
    align-content: center;
    gap: 5px;
    border: 0;
    background: transparent;
    color: #fff;
    cursor: pointer;
  }

  .gateway-mobile-menu-toggle span {
    display: block;
    width: 25px;
    height: 1px;
    margin: 0 auto;
    background: currentColor;
    transform-origin: center;
    transition: transform 220ms ease, opacity 180ms ease;
  }

  .gateway-menu-open .gateway-mobile-menu-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .gateway-menu-open .gateway-mobile-menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .gateway-menu-open .gateway-mobile-menu-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .gateway-mobile-menu-toggle:focus-visible {
    outline: 1px solid var(--red);
    outline-offset: 2px;
  }

  .v3-gateway-page .links {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    overflow: visible;
    white-space: normal;
    background: #05070a;
  }

  .js .v3-gateway-page .links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
    max-height: 0;
    padding: 0 18px;
    visibility: hidden;
    opacity: 0;
    overflow: hidden;
    border-bottom: 1px solid transparent;
    transform: translateY(-8px);
    transition: max-height 300ms ease, opacity 220ms ease, transform 300ms ease, visibility 0s linear 300ms;
  }

  .js .gateway-menu-open .links {
    max-height: 620px;
    padding-top: 10px;
    padding-bottom: calc(22px + env(safe-area-inset-bottom));
    visibility: visible;
    opacity: 1;
    overflow: auto;
    border-bottom-color: rgba(255, 255, 255, 0.12);
    transform: translateY(0);
    transition-delay: 0s;
  }

  .v3-gateway-page .links > a {
    min-height: 48px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    color: rgba(247, 248, 251, 0.82);
    font-size: 15px;
  }

  .v3-gateway-page .nav-cta {
    color: #fff;
  }

  .v3-gateway-page .gateway-language-switch {
    position: relative;
    right: auto;
    min-height: 48px;
    margin: 4px 0 0;
    padding: 0;
    justify-self: start;
    background: transparent;
  }

  /* Two self-contained mobile Hero scenes, with no desktop sticky timing. */
  .gateway-motion-hero,
  .sonic-motion-ready .gateway-motion-hero {
    min-height: auto;
    overflow: hidden;
  }

  .gateway-motion-hero__stage,
  .sonic-motion-ready .gateway-motion-hero__stage {
    position: relative;
    top: auto;
    height: auto;
    min-height: auto;
    padding: 0 18px;
    display: flex;
    flex-direction: column;
    gap: 0;
    overflow: hidden;
  }

  .gateway-motion-hero__message-stage {
    position: relative;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
  }

  .gateway-motion-hero__image {
    position: absolute;
    inset: 0;
  }

  .gateway-motion-hero__image img {
    object-position: 60% center;
    opacity: 0.3;
    transform: scale(1.02);
  }

  .gateway-motion-hero__image::after {
    background:
      linear-gradient(90deg, rgba(5, 7, 10, 0.98), rgba(5, 7, 10, 0.72)),
      linear-gradient(180deg, rgba(5, 7, 10, 0.35), rgba(5, 7, 10, 0.94));
  }

  .gateway-motion-pulse {
    opacity: 0.46;
  }

  .gateway-motion-hero__content,
  .sonic-motion-ready .gateway-motion-hero__content {
    width: 100%;
    min-height: 78svh;
    padding: 82px 0 58px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    grid-area: auto;
    opacity: 1;
    transform: none;
  }

  .gateway-motion-hero__content--answer,
  .sonic-motion-ready .gateway-motion-hero__content--answer {
    margin-top: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .gateway-motion-hero__title,
  .gateway-motion-hero__answer-title,
  body[data-language="en"] .gateway-motion-hero__title,
  body[data-language="en"] .gateway-motion-hero__answer-title {
    width: 100%;
    max-width: 100%;
    font-size: clamp(46px, 13vw, 64px);
    line-height: 1;
    overflow-wrap: normal;
    word-break: keep-all;
    text-wrap: balance;
  }

  .gateway-motion-hero__title span,
  .gateway-motion-hero__answer-title span {
    width: fit-content;
    max-width: 100%;
    white-space: normal;
  }

  body[data-language="en"] .gateway-motion-hero__title,
  body[data-language="en"] .gateway-motion-hero__answer-title {
    font-size: clamp(42px, 12vw, 58px);
  }

  .gateway-motion-scroll {
    margin-top: 34px;
  }

  /* Fragmentation remains a single bounded scene instead of a button list. */
  .gateway-motion-fragment {
    min-height: auto;
    padding: 96px 18px 112px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 42px;
    overflow: hidden;
  }

  .gateway-motion-fragment .gateway-motion-scene-copy {
    width: 100%;
    margin: 0;
  }

  .gateway-motion-scene-copy h2,
  .gateway-motion-scenarios__head h2,
  .gateway-motion-control__intro h2,
  .gateway-motion-final h2 {
    max-width: 100%;
    font-size: clamp(38px, 11vw, 54px);
    line-height: 1.02;
    word-break: keep-all;
    overflow-wrap: normal;
  }

  .gateway-motion-scene-copy p:not(.gateway-motion-kicker),
  .gateway-motion-scenarios__head p:not(.gateway-motion-kicker) {
    margin-top: 18px;
    font-size: 16px;
    line-height: 1.7;
  }

  .gateway-motion-model-map {
    width: 100%;
    min-height: 350px;
    display: block;
    padding: 0;
    overflow: hidden;
    border: 0;
  }

  .gateway-motion-node {
    position: absolute;
    min-width: 0;
    padding: 6px 8px 6px 22px;
    font-size: 13px;
    opacity: 1;
    transform: none;
  }

  .gateway-motion-node:nth-of-type(1) { left: 3% !important; top: 9% !important; }
  .gateway-motion-node:nth-of-type(2) { left: 54% !important; top: 4% !important; }
  .gateway-motion-node:nth-of-type(3) { left: 22% !important; top: 31% !important; }
  .gateway-motion-node:nth-of-type(4) { left: 67% !important; top: 37% !important; }
  .gateway-motion-node:nth-of-type(5) { left: 2% !important; top: 62% !important; }
  .gateway-motion-node:nth-of-type(6) { left: 49% !important; top: 70% !important; }
  .gateway-motion-node:nth-of-type(7) { left: 43% !important; top: 88% !important; }

  .gateway-motion-chaos-line {
    display: block;
    opacity: 0.28;
  }

  .gateway-motion-problem-label {
    font-size: 15px;
    opacity: 0.13;
  }

  /* Mobile convergence reads top-to-bottom through one continuous data line. */
  .gateway-motion-converge {
    min-height: auto;
    padding: 98px 18px 112px;
  }

  .gateway-motion-sticky {
    position: relative;
    top: auto;
    min-height: auto;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .gateway-motion-scene-copy--compact h2 {
    font-size: clamp(38px, 10.5vw, 52px);
  }

  .gateway-motion-diagram {
    width: 100%;
    min-height: auto;
    padding: 0 0 0 24px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    overflow: visible;
  }

  .gateway-motion-diagram::before {
    content: "";
    position: absolute;
    left: 8px;
    top: 3%;
    bottom: 3%;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, transparent, rgba(239, 29, 43, 0.9) 18% 82%, transparent);
  }

  .gateway-motion-diagram::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 14%;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--red);
    animation: gateway-mobile-data-pulse 4.8s linear infinite;
  }

  @keyframes gateway-mobile-data-pulse {
    0% { top: 12%; opacity: 0; }
    12% { opacity: 1; }
    88% { opacity: 1; }
    100% { top: 86%; opacity: 0; }
  }

  .gateway-motion-diagram__group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 12px;
  }

  .gateway-motion-diagram__group span,
  .gateway-motion-diagram__group--models span,
  .gateway-motion-diagram__group--apps span {
    width: 100%;
    min-width: 0;
    padding: 8px 0 8px 16px;
    border: 0;
    background: transparent;
    opacity: 1;
    transform: none;
    font-size: 13px;
  }

  .gateway-motion-diagram__group--apps span {
    flex-direction: row;
    justify-content: flex-start;
  }

  .gateway-motion-diagram__group span b {
    display: none;
  }

  .gateway-motion-core {
    width: 100%;
    height: 166px;
    min-height: 166px;
    opacity: 1;
    transform: none;
  }

  .gateway-motion-core strong {
    font-size: 22px;
  }

  .gateway-motion-core small {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    margin-top: 8px;
    font-size: 11px;
  }

  .gateway-motion-data-flow {
    display: none;
  }

  /* Each control capability is complete in one natural mobile scene. */
  .gateway-motion-control {
    padding: 96px 18px 112px;
  }

  .gateway-motion-control__intro {
    margin: 0 auto 56px;
  }

  .gateway-motion-control-scene,
  .gateway-motion-control-scene:nth-of-type(even) {
    width: 100%;
    min-height: auto;
    margin: 0;
    padding: 72px 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.09);
    background: transparent;
  }

  .gateway-motion-control-scene:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  }

  .gateway-motion-control-scene:nth-of-type(even) > :first-child,
  .gateway-motion-control-scene:nth-of-type(even) > :last-child {
    grid-column: 1;
  }

  .gateway-motion-control-scene:nth-of-type(even) > :first-child { grid-row: 1; }
  .gateway-motion-control-scene:nth-of-type(even) > :last-child { grid-row: 2; }

  .gateway-motion-control-scene h3 {
    max-width: 100%;
    margin-top: 12px;
    font-size: clamp(42px, 13vw, 58px);
    line-height: 0.96;
    overflow-wrap: anywhere;
  }

  .gateway-motion-control-scene strong,
  body[data-language="zh-TW"] .gateway-motion-control-scene strong {
    margin-top: 16px;
    font-size: 27px;
  }

  .gateway-motion-control-scene p {
    margin-top: 10px;
    font-size: 16px;
    line-height: 1.68;
  }

  .gateway-motion-mini-visual {
    width: 100%;
    min-height: 250px;
    height: 250px;
    overflow: hidden;
    border-color: rgba(255, 255, 255, 0.08);
  }

  .gateway-motion-mini-visual--billing {
    height: 280px;
    min-height: 280px;
  }

  .gateway-motion-billing-total {
    left: 4%;
    width: 60px;
    height: 60px;
  }

  .gateway-motion-billing-split {
    left: calc(4% + 60px);
    width: 18%;
  }

  .gateway-motion-billing-bar {
    left: 31%;
    width: 66%;
    grid-template-columns: minmax(56px, 78px) 1fr 24px;
    gap: 7px;
  }

  .gateway-motion-billing-bar b {
    font-size: 10px;
  }

  .gateway-motion-mini-visual--governance {
    min-height: 300px;
    height: 300px;
    padding: 18px 12%;
    flex-direction: column;
    justify-content: center;
    gap: 9px;
  }

  .gateway-motion-governance-request {
    flex-basis: 16px;
  }

  .gateway-motion-policy-layer {
    width: 100%;
    min-height: 54px;
    flex: 0 0 54px;
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .gateway-motion-policy-layer b {
    writing-mode: horizontal-tb;
  }

  .gateway-motion-policy-layer i {
    right: 12px;
  }

  .gateway-motion-mini-visual--visibility {
    min-height: 260px;
    height: 260px;
  }

  /* Scenarios and final CTA keep useful content clear of the floating chat. */
  .gateway-motion-scenarios {
    padding: 96px 18px 116px;
  }

  .gateway-motion-scenario-list {
    margin-top: 42px;
    grid-template-columns: 1fr;
  }

  .gateway-motion-scenario,
  .gateway-motion-scenario:nth-child(odd) {
    min-height: 300px;
    padding: 30px 20px;
    border-right: 0;
  }

  .gateway-motion-scenario h3 {
    max-width: 78%;
    margin-top: 24px;
    font-size: 25px;
  }

  .gateway-motion-scenario p {
    max-width: 78%;
    font-size: 15px;
  }

  .gateway-motion-scenario-visual {
    right: 6%;
    bottom: 12%;
    width: 46%;
  }

  .gateway-motion-final {
    min-height: 82svh;
    padding: 104px 18px calc(176px + env(safe-area-inset-bottom));
  }

  .gateway-motion-final h2 {
    font-size: clamp(42px, 12vw, 58px);
  }

  .gateway-motion-final .actions {
    gap: 10px;
  }

  .gateway-motion-final .btn {
    width: 100%;
    justify-content: center;
  }

  .v3-gateway-page .footer {
    padding-bottom: calc(144px + env(safe-area-inset-bottom));
  }

  .v3-gateway-page .chat-widget {
    right: 12px;
    bottom: calc(env(safe-area-inset-bottom) + 84px);
    min-width: 0;
    padding: 9px 11px;
    gap: 8px;
    transform: none;
  }

  .v3-gateway-page .chat-widget strong {
    font-size: 12px;
  }

  .v3-gateway-page .chat-widget small {
    display: none;
  }

  .v3-gateway-page .chat-dot {
    width: 8px;
    height: 8px;
  }
}

@media (max-width: 430px) {
  .gateway-motion-node:nth-of-type(2) { left: 50% !important; }
  .gateway-motion-node:nth-of-type(4) { left: 62% !important; }
  .gateway-motion-node:nth-of-type(7) { left: 34% !important; }

  .gateway-motion-diagram__group span,
  .gateway-motion-diagram__group--models span,
  .gateway-motion-diagram__group--apps span {
    font-size: 12px;
  }

  .gateway-motion-control-scene h3 {
    font-size: clamp(40px, 12vw, 52px);
  }
}

@media (prefers-reduced-motion: reduce) and (max-width: 820px) {
  .gateway-mobile-menu-toggle span,
  .js .v3-gateway-page .links,
  .gateway-motion-diagram::after,
  .gateway-motion-pulse::before,
  .gateway-motion-pulse::after {
    animation: none !important;
    transition: none !important;
  }

  .gateway-motion-diagram::after {
    top: 50%;
    opacity: 1;
  }

  .sonic-motion-ready .sonic-motion-reveal,
  .sonic-motion-ready .gateway-motion-hero__content,
  .gateway-motion-node,
  .gateway-motion-diagram__group span,
  .gateway-motion-core,
  .gateway-motion-control-scene,
  .gateway-motion-mini-visual * {
    opacity: 1 !important;
  }
}

/* V3 Enterprise Control Visual System V2: compact mobile instrumentation. */
@media (max-width: 820px) {
  .gateway-control-v2 {
    width: 100%;
    height: clamp(300px, 86vw, 360px);
    min-height: 300px;
    max-height: 360px;
    overflow: hidden;
  }

  .gateway-control-v2::before { inset: 5% 0; }
  .gateway-control-v2__grid { inset: 6% 0; background-size: 26px 26px; }

  .gateway-motion-control-scene .gateway-control-v2 strong,
  body[data-language="zh-TW"] .gateway-motion-control-scene .gateway-control-v2 strong {
    margin-top: 0;
  }

  .gateway-control-v2__access-sources {
    left: 0;
    top: 7%;
    width: 27%;
    height: 86%;
  }

  .gateway-control-v2__source {
    width: 82px;
    height: 39px;
    transform: translateX(calc(var(--v2-source-shift) * .28));
  }

  .gateway-control-v2__source i { top: 13px; width: 11px; height: 11px; }
  .gateway-control-v2__source i::after { inset: 3px; }
  .gateway-control-v2__source b { left: 18px; top: 8px; font-size: 9px; }
  .gateway-control-v2__source em { left: 18px; top: 24px; width: 34px; }

  .gateway-control-v2__access-tracks {
    left: 18%;
    top: 7%;
    width: 50%;
    height: 86%;
  }

  .gateway-control-v2__access-layer {
    right: 9%;
    top: 17%;
    width: 27%;
    height: 66%;
  }

  .gateway-control-v2__access-layer > strong {
    left: 11%;
    right: 8%;
    font-size: 11px;
    line-height: 1.35;
    white-space: nowrap;
  }

  .gateway-control-v2__access-output { right: 0; width: 10%; }
  .gateway-control-v2__access-output b { display: none; }

  .gateway-control-v2__routing-request,
  .gateway-control-v2__routing-response { width: 46px; }
  .gateway-control-v2__routing-request { left: 0; }
  .gateway-control-v2__routing-response { right: 0; }
  .gateway-control-v2__routing-request b,
  .gateway-control-v2__routing-response b { display: none; }
  .gateway-control-v2__routing-inbound { left: 8%; width: 22%; }

  .gateway-control-v2__routing-core {
    left: 29%;
    width: 88px;
    height: 88px;
  }

  .gateway-control-v2__routing-core > i:nth-child(1) { width: 88px; height: 88px; }
  .gateway-control-v2__routing-core > i:nth-child(2) { width: 62px; height: 62px; }
  .gateway-control-v2__routing-core > i:nth-child(3) { width: 36px; height: 36px; }
  .gateway-control-v2__routing-core strong { top: calc(50% + 15px); font-size: 7px; }

  .gateway-control-v2__routing-paths {
    left: calc(29% + 78px);
    top: 20%;
    width: 24%;
    height: 60%;
  }

  .gateway-control-v2__endpoints {
    right: 7%;
    top: 11%;
    width: 24%;
    height: 78%;
  }

  .gateway-control-v2__endpoints > span {
    height: 54px;
    padding: 12px 4px 8px 17px;
  }

  .gateway-control-v2__endpoints i { left: 6px; top: 17px; width: 5px; height: 5px; }
  .gateway-control-v2__endpoints b { font-size: 8px; }
  .gateway-control-v2__endpoints em { right: 4px; top: 29px; font-size: 7px; }

  .gateway-control-v2__control-plane {
    left: 0;
    top: 20%;
    width: 37%;
    height: 60%;
  }

  .gateway-control-v2__control-sheet--back { transform: translate(9px, -8px) scale(.94); }
  .gateway-control-v2__control-sheet--mid { transform: translate(5px, -4px) scale(.97); }
  .gateway-control-v2__control-core { width: 82%; min-height: 64px; }
  .gateway-control-v2__control-core b { padding-top: 15px; font-size: 15px; }
  .gateway-control-v2__control-core em { font-size: 7px; }

  .gateway-control-v2__control-tracks {
    right: 0;
    top: 14%;
    width: 59%;
    height: 72%;
  }

  .gateway-control-v2__control-tracks > span {
    height: 58px;
    grid-template-columns: 10px minmax(60px, .9fr) 1fr 24px;
    gap: 5px;
  }

  .gateway-control-v2__control-tracks > span > b { font-size: 9px; }
  .gateway-motion-control-scene .gateway-control-v2__control-tracks > span > strong,
  body[data-language="zh-TW"] .gateway-motion-control-scene .gateway-control-v2__control-tracks > span > strong {
    font-size: 7px;
  }

  .gateway-control-v2__usage-total,
  .gateway-control-v2__observe-total {
    left: 0;
    width: 76px;
    height: 82px;
  }

  .gateway-control-v2__usage-total b,
  .gateway-control-v2__observe-total b { left: 9px; top: 17px; font-size: 21px; }
  .gateway-control-v2__usage-total em,
  .gateway-control-v2__observe-total em { left: 9px; top: 45px; font-size: 8px; }
  .gateway-control-v2__allocation-in { left: 76px; width: 13%; }

  .gateway-control-v2__allocation-core {
    left: 26%;
    width: 48px;
    height: 96px;
  }

  .gateway-control-v2__allocation-core b { font-size: 6px; }

  .gateway-control-v2__allocation-streams {
    left: 40%;
    right: 0;
    top: 14%;
    height: 72%;
  }

  .gateway-control-v2__allocation-streams > span {
    height: 70px;
    grid-template-columns: minmax(52px, 72px) 1fr 20px;
    gap: 5px;
  }

  .gateway-control-v2__allocation-streams > span > b { font-size: 8px; }
  .gateway-motion-control-scene .gateway-control-v2__allocation-streams > span > strong,
  body[data-language="zh-TW"] .gateway-motion-control-scene .gateway-control-v2__allocation-streams > span > strong {
    font-size: 14px;
    line-height: 1;
  }
  .gateway-control-v2__allocation-streams > span > i { width: calc(26% + var(--v2-share)); }

  .gateway-control-v2__policy-request,
  .gateway-control-v2__policy-output { width: 42px; }
  .gateway-control-v2__policy-request { left: 0; }
  .gateway-control-v2__policy-output { right: 0; }
  .gateway-control-v2__policy-request b,
  .gateway-control-v2__policy-output b { display: none; }
  .gateway-control-v2__policy-rail { left: 6%; right: 6%; }

  .gateway-control-v2__policy-layers {
    left: 13%;
    right: 13%;
    top: 15%;
    height: 70%;
    gap: 6%;
  }

  .gateway-control-v2__policy-layers b { font-size: 8px; }
  .gateway-control-v2__policy-layers em { font-size: 6px; }
  .gateway-motion-control-scene .gateway-control-v2__policy-layers strong,
  body[data-language="zh-TW"] .gateway-motion-control-scene .gateway-control-v2__policy-layers strong {
    font-size: 7px;
    line-height: 1.2;
  }

  .gateway-control-v2__observe-total { top: 13%; }
  .gateway-control-v2__trend { left: 23%; right: 1%; top: 10%; height: 48%; }
  .gateway-control-v2__anomaly { right: 0; top: 8%; }
  .gateway-control-v2__team-signals { left: 5%; right: 1%; bottom: 8%; height: 24%; gap: 4%; }
  .gateway-control-v2__team-signals > span { grid-template-columns: 18px 1fr 19px; gap: 4px; }
  .gateway-control-v2__team-signals b { font-size: 8px; }
  .gateway-motion-control-scene .gateway-control-v2__team-signals strong,
  body[data-language="zh-TW"] .gateway-motion-control-scene .gateway-control-v2__team-signals strong {
    font-size: 14px;
    line-height: 1;
  }
}

@media (max-width: 430px) {
  .gateway-control-v2 { height: 320px; min-height: 320px; }
  .gateway-control-v2__source { width: 76px; }
  .gateway-control-v2__access-layer { right: 7%; width: 28%; }
  .gateway-control-v2__routing-core { left: 27%; }
  .gateway-control-v2__routing-paths { left: calc(27% + 77px); width: 23%; }
  .gateway-control-v2__endpoints { right: 5%; width: 24%; }
  .gateway-control-v2__control-tracks > span { grid-template-columns: 9px minmax(54px, .9fr) 1fr 19px; }
  .gateway-control-v2__allocation-streams > span { grid-template-columns: minmax(46px, 64px) 1fr 18px; }
}

@media (prefers-reduced-motion: reduce) and (max-width: 820px) {
  .gateway-control-v2 *,
  .gateway-control-v2 *::before,
  .gateway-control-v2 *::after {
    animation: none !important;
    transition: none !important;
  }
}
