.traffic-dashboard { --traffic-cyan: #42c9f5; --traffic-red: #f02745; display: grid; gap: 18px; padding-bottom: 48px; }
.traffic-command-bar { display: flex; min-height: 92px; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 24px; border: 1px solid #292c34; border-radius: 12px; background: rgba(15,17,22,.9); box-shadow: 0 20px 50px rgba(0,0,0,.2); }
.traffic-eyebrow { display: flex; align-items: center; gap: 8px; color: var(--traffic-red); font-size: 12px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.traffic-command-bar h2 { margin: 7px 0 4px; color: #f5f6f8; font-size: clamp(22px,2.3vw,32px); line-height: 1.05; letter-spacing: -.035em; }
.traffic-command-bar p { margin: 0; color: #858995; font-size: 14px; }
.traffic-range { display: flex; flex: 0 0 auto; gap: 4px; padding: 4px; border: 1px solid #30333c; border-radius: 9px; background: #0a0c10; }
.traffic-range button { min-width: 52px; min-height: 36px; border: 0; border-radius: 6px; color: #777c88; background: transparent; font-size: 12px; font-weight: 800; cursor: pointer; transition: color .18s ease, background .18s ease, box-shadow .18s ease; }
.traffic-range button:hover { color: #d8dbe2; }
.traffic-range button.active { color: #fff; background: #292c34; box-shadow: inset 0 0 0 1px rgba(255,255,255,.035); }
.traffic-hud-layout { display: grid; grid-template-columns: minmax(230px,.72fr) minmax(410px,1.5fr) minmax(285px,.88fr); gap: 14px; align-items: stretch; }
.traffic-metrics-panel { display: grid; grid-template-rows: auto auto minmax(0,1fr); gap: 12px; }
.traffic-kpi, .traffic-country-panel, .traffic-globe-panel, .traffic-feed-panel { border: 1px solid #292d35; border-radius: 12px; background: rgba(13,15,19,.93); box-shadow: 0 24px 54px rgba(0,0,0,.2); }
.traffic-kpi.primary { position: relative; min-height: 156px; overflow: hidden; padding: 21px; }
.traffic-kpi.primary::after { position: absolute; right: -32px; bottom: -57px; width: 145px; height: 145px; border: 1px solid rgba(240,39,69,.18); border-radius: 50%; box-shadow: 0 0 0 22px rgba(240,39,69,.035),0 0 45px rgba(240,39,69,.08); content: ""; }
.traffic-kpi.primary > div { display: flex; align-items: center; gap: 9px; color: #a4a8b1; font-size: 14px; }
.traffic-kpi.primary > div svg { color: var(--traffic-red); }
.traffic-kpi.primary > strong { position: relative; z-index: 1; display: block; margin-top: 20px; color: #fff; font-size: 42px; line-height: 1; letter-spacing: -.055em; }
.traffic-kpi.primary > small { position: relative; z-index: 1; display: block; margin-top: 9px; color: #6f7480; font-size: 12px; }
.traffic-kpi-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.traffic-kpi.compact { display: grid; min-height: 116px; align-content: center; gap: 7px; padding: 17px; }
.traffic-kpi.compact svg { color: var(--traffic-cyan); }
.traffic-kpi.compact.live svg { color: #47d887; }
.traffic-kpi.compact strong { color: #f5f6f8; font-size: 24px; letter-spacing: -.035em; }
.traffic-kpi.compact span { color: #7e838e; font-size: 12px; }
.traffic-country-panel { min-height: 288px; padding: 19px; }
.traffic-country-panel > header, .traffic-globe-panel > header, .traffic-feed-panel > header { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.traffic-country-panel > header > span, .traffic-globe-panel > header span, .traffic-feed-panel > header span { color: #e6e8ed; font-size: 14px; font-weight: 750; }
.traffic-country-panel > header small, .traffic-globe-panel > header small, .traffic-feed-panel > header small { color: #686e79; font-size: 11px; }
.traffic-country-list { display: grid; gap: 15px; margin-top: 21px; }
.traffic-country-row { display: grid; grid-template-columns: 24px minmax(0,1fr) auto; align-items: center; gap: 10px; }
.traffic-country-row > b { color: #565c68; font: 700 10px/1 ui-monospace,monospace; }
.traffic-country-row > span { display: grid; min-width: 0; gap: 7px; }
.traffic-country-row strong { overflow: hidden; color: #bec2ca; font-size: 12px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.traffic-country-row i { display: block; height: 2px; overflow: hidden; background: #232730; }
.traffic-country-row i em { display: block; height: 100%; background: var(--traffic-red); box-shadow: 0 0 9px rgba(240,39,69,.45); }
.traffic-country-row > small { min-width: 25px; color: #8b909b; font: 700 11px/1 ui-monospace,monospace; text-align: right; }
.traffic-empty-small { padding: 42px 0; color: #666c78; font-size: 12px; text-align: center; }
.traffic-globe-panel { display: grid; min-width: 0; overflow: hidden; grid-template-rows: auto minmax(0,1fr) auto; }
.traffic-globe-panel > header { min-height: 66px; padding: 15px 19px; border-bottom: 1px solid #252932; }
.traffic-globe-panel > header > div { display: grid; gap: 4px; }
.traffic-globe-panel > header > b { display: flex; align-items: center; gap: 7px; color: #8b929e; font-size: 11px; font-weight: 700; }
.traffic-globe-panel > header > b i, .traffic-feed-panel > header > i, .traffic-globe-status i { display: block; width: 7px; height: 7px; border-radius: 50%; background: #37d27a; box-shadow: 0 0 0 4px rgba(55,210,122,.1),0 0 13px rgba(55,210,122,.55); }
.traffic-globe-stage { position: relative; display: grid; min-height: 520px; place-items: center; overflow: hidden; background: radial-gradient(circle at 50% 50%,rgba(22,90,112,.19),transparent 48%),linear-gradient(180deg,#080b0f 0%,#090c11 100%); isolation: isolate; }
.traffic-globe-grid { position: absolute; z-index: 0; inset: 0; opacity: .22; background-image: radial-gradient(circle,rgba(189,218,230,.3) 0 1px,transparent 1.2px),linear-gradient(rgba(80,94,115,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(80,94,115,.055) 1px,transparent 1px); background-position: 7px 11px,0 0,0 0; background-size: 97px 89px,32px 32px,32px 32px; mask-image: radial-gradient(circle at center,black,transparent 80%); pointer-events: none; }
.traffic-globe-stage::before { position: absolute; z-index: 0; width: min(82%,520px); aspect-ratio: 1; border-radius: 50%; box-shadow: 0 0 96px rgba(37,151,180,.15),0 0 0 1px rgba(99,214,195,.05); content: ""; pointer-events: none; }
.traffic-globe-stage::after { display: none; }
.traffic-globe-canvas { position: relative; z-index: 1; display: block; width: min(100%,620px); aspect-ratio: 1; filter: contrast(1.06) drop-shadow(0 0 34px rgba(61,184,198,.18)); cursor: grab; touch-action: none; user-select: none; }
.traffic-globe-canvas:active { cursor: grabbing; }
.traffic-globe-canvas.hovering-customer { cursor: pointer; }
.traffic-globe-status { position: absolute; z-index: 3; top: 18px; left: 18px; display: grid; gap: 6px; color: #707784; font-size: 11px; }
.traffic-globe-status > span:first-child { display: flex; align-items: center; gap: 8px; color: #b4bac4; font-weight: 700; }
.traffic-globe-status i { width: 6px; height: 6px; animation: traffic-pulse 2s ease-in-out infinite; }
.traffic-globe-legend { position: absolute; z-index: 3; right: 18px; top: 18px; display: flex; gap: 13px; color: #78808c; font-size: 10px; font-weight: 650; }
.traffic-globe-legend span { display: flex; align-items: center; gap: 6px; }
.traffic-globe-legend i { display: block; width: 5px; height: 5px; border-radius: 50%; background: #61b5d3; box-shadow: 0 0 8px rgba(97,181,211,.65); }
.traffic-globe-legend i.recent { background: #f02745; box-shadow: 0 0 9px rgba(240,39,69,.75); }
.traffic-globe-tooltip { position: absolute; z-index: 6; width: 264px; padding: 13px; border: 1px solid rgba(99,214,195,.28); border-radius: 10px; color: #eaf4f4; background: rgba(8,13,19,.96); box-shadow: 0 18px 48px rgba(0,0,0,.48),0 0 30px rgba(49,172,177,.12); pointer-events: none; transform: translate(-50%,calc(-100% - 14px)); backdrop-filter: blur(14px); }
.traffic-globe-tooltip.below { transform: translate(-50%,14px); }
.traffic-globe-tooltip::after { position: absolute; left: 50%; bottom: -6px; width: 10px; height: 10px; border-right: 1px solid rgba(99,214,195,.28); border-bottom: 1px solid rgba(99,214,195,.28); background: rgba(8,13,19,.96); content: ""; transform: translateX(-50%) rotate(45deg); }
.traffic-globe-tooltip.below::after { top: -6px; bottom: auto; border: 0; border-top: 1px solid rgba(99,214,195,.28); border-left: 1px solid rgba(99,214,195,.28); }
.traffic-globe-tooltip > header { display: grid; grid-template-columns: 34px minmax(0,1fr); align-items: center; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.075); }
.traffic-globe-tooltip > header > span { display: grid; width: 34px; height: 34px; place-items: center; border: 1px solid rgba(99,214,195,.3); border-radius: 8px; color: #dffff9; background: rgba(45,157,148,.14); font-size: 13px; font-weight: 800; }
.traffic-globe-tooltip > header > div { display: grid; min-width: 0; gap: 3px; }
.traffic-globe-tooltip > header strong { overflow: hidden; color: #f7fbfb; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.traffic-globe-tooltip > header small { color: #8f98a3; font-size: 11px; font-weight: 700; }
.traffic-globe-tooltip > header small.online { color: #42d985; }
.traffic-globe-tooltip p { display: flex; align-items: center; gap: 7px; margin: 9px 0 0; color: #939da8; font-size: 11px; line-height: 1.25; }
.traffic-globe-tooltip p svg { flex: 0 0 auto; color: #63d6c3; }
.traffic-globe-hint { position: absolute; z-index: 3; right: 18px; bottom: 17px; color: #5e6571; font-size: 11px; letter-spacing: .04em; }
.traffic-globe-fallback { position: relative; z-index: 4; display: grid; place-items: center; gap: 8px; color: #6d7480; text-align: center; }
.traffic-globe-fallback[hidden] { display: none; }
.traffic-globe-fallback strong { color: #d8dbe1; font-size: 14px; }
.traffic-globe-fallback span { font-size: 12px; }
.traffic-globe-panel > footer { display: flex; min-height: 52px; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 18px; border-top: 1px solid #252932; color: #686e79; font-size: 11px; }
.traffic-globe-panel > footer > span { display: flex; align-items: center; gap: 7px; }
.traffic-globe-panel > footer svg { color: #49cc82; }
.traffic-feed-panel { display: grid; min-width: 0; overflow: hidden; grid-template-rows: auto auto minmax(0,1fr); }
.traffic-feed-panel > header { min-height: 66px; padding: 15px 18px; border-bottom: 1px solid #252932; }
.traffic-feed-panel > header > div { display: grid; gap: 4px; }
.traffic-feed-panel > header > i { width: 6px; height: 6px; animation: traffic-pulse 2s ease-in-out infinite; }
.traffic-presence-filters { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 5px; padding: 9px; border-bottom: 1px solid #252932; background: #0a0c10; }
.traffic-presence-filters button { display: flex; min-height: 34px; align-items: center; justify-content: center; gap: 7px; border: 1px solid transparent; border-radius: 7px; color: #747b87; background: transparent; font-size: 11px; font-weight: 700; text-transform: capitalize; cursor: pointer; }
.traffic-presence-filters button:hover { color: #d6dae1; background: #15181e; }
.traffic-presence-filters button.active { border-color: #343944; color: #fff; background: #1b1f26; }
.traffic-presence-filters button b { display: grid; min-width: 19px; height: 19px; place-items: center; border-radius: 5px; color: #969da8; background: #292e37; font-size: 9px; }
.traffic-feed-list { max-height: 570px; overflow-y: auto; scrollbar-color: #353a44 transparent; }
.traffic-feed-list > article { display: grid; grid-template-columns: 38px minmax(0,1fr) auto; align-items: center; gap: 11px; min-height: 78px; padding: 13px 15px; border-bottom: 1px solid #22262e; }
.traffic-feed-list > article:hover { background: #12151a; }
.traffic-source-icon { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid rgba(66,201,245,.25); border-radius: 9px; color: var(--traffic-cyan); background: rgba(24,116,149,.1); }
.traffic-source-icon.game { border-color: rgba(240,39,69,.28); color: #ff526a; background: rgba(134,19,37,.12); }
.traffic-feed-copy { display: grid; min-width: 0; gap: 4px; }
.traffic-feed-copy strong { overflow: hidden; color: #e4e7ec; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.traffic-feed-copy span { display: flex; min-width: 0; align-items: center; gap: 5px; overflow: hidden; color: #8d939e; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.traffic-feed-copy span svg { flex: 0 0 auto; color: #69717e; }
.traffic-feed-copy small { display: flex; align-items: center; gap: 5px; overflow: hidden; color: #5d6470; font: 500 10px/1.2 ui-monospace,monospace; text-overflow: ellipsis; white-space: nowrap; }
.traffic-feed-copy small svg { flex: 0 0 auto; }
.traffic-feed-list time { align-self: start; color: #656c78; font-size: 10px; white-space: nowrap; }
.traffic-customer-avatar { position: relative; display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid #343943; border-radius: 9px; color: #b9bec8; background: #181b21; font-size: 13px; font-weight: 800; }
.traffic-customer-avatar i { position: absolute; right: -2px; bottom: -2px; width: 9px; height: 9px; border: 2px solid #0d0f13; border-radius: 50%; background: #555c67; }
.traffic-presence-list article.online .traffic-customer-avatar { border-color: rgba(52,210,120,.36); color: #dcffe9; background: rgba(22,103,58,.18); }
.traffic-presence-list article.online .traffic-customer-avatar i { background: #39d57c; box-shadow: 0 0 9px rgba(57,213,124,.72); }
.traffic-presence-state { display: grid; justify-items: end; align-self: center; gap: 5px; }
.traffic-presence-state b { color: #777e89; font-size: 10px; font-weight: 750; }
.traffic-presence-list article.online .traffic-presence-state b { color: #4cdc88; }
.traffic-presence-state time { align-self: auto; }
.traffic-feed-empty { display: grid; min-height: 350px; place-items: center; align-content: center; gap: 9px; padding: 30px; color: #535b67; text-align: center; }
.traffic-feed-empty strong { color: #d7dae1; font-size: 14px; }
.traffic-feed-empty span { max-width: 220px; color: #737a86; font-size: 12px; line-height: 1.5; }
@keyframes traffic-pulse { 0%,100% { opacity: .55; transform: scale(.84); } 50% { opacity: 1; transform: scale(1.12); } }
@media (max-width: 1280px) { .traffic-hud-layout { grid-template-columns: minmax(220px,.7fr) minmax(410px,1.3fr); } .traffic-feed-panel { grid-column: 1 / -1; } .traffic-feed-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); max-height: 340px; } .traffic-feed-list > article { border-right: 1px solid #22262e; } }
@media (max-width: 860px) { .traffic-command-bar { align-items: flex-start; flex-direction: column; } .traffic-hud-layout { grid-template-columns: 1fr; } .traffic-feed-panel { grid-column: auto; } .traffic-globe-panel { grid-row: 1; } .traffic-globe-stage { min-height: 430px; } }
@media (max-width: 600px) { .traffic-command-bar { padding: 18px; } .traffic-range { width: 100%; } .traffic-range button { flex: 1; } .traffic-kpi-pair, .traffic-feed-list { grid-template-columns: 1fr; } .traffic-globe-stage { min-height: 360px; } .traffic-globe-panel > footer { align-items: flex-start; flex-direction: column; } .traffic-globe-hint { display: none; } }
@media (prefers-reduced-motion: reduce) { .traffic-globe-status i, .traffic-feed-panel > header > i { animation: none; } }

/* Traffic: quiet surfaces, readable hierarchy, and room around the globe. */
.traffic-dashboard { --traffic-cyan: #90acb4; --traffic-red: #e94c65; gap: 24px; font-variant-numeric: tabular-nums; }
.traffic-command-bar { min-height: auto; padding: 4px 0 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
.traffic-eyebrow { color: #a0a8b5; font-size: 12px; font-weight: 600; letter-spacing: .14em; }
.traffic-eyebrow svg { color: #e94c65; }
.traffic-command-bar h2 { margin: 12px 0 9px; font-size: clamp(28px,2.4vw,36px); font-weight: 600; letter-spacing: -.045em; line-height: 1.18; }
.traffic-command-bar p { color: #8993a2; font-size: 14px; line-height: 1.6; }
.traffic-range { padding: 5px; border-color: #272c34; background: #111419; border-radius: 10px; }
.traffic-range button { min-width: 54px; font-size: 13px; font-weight: 600; }
.traffic-range button.active { background: #2a3039; box-shadow: 0 1px 4px #0003; }
.traffic-hud-layout { grid-template-columns: minmax(0,1fr) minmax(340px,.48fr); grid-template-areas: "metrics metrics" "globe feed" "countries countries"; gap: 20px; }
.traffic-metrics-panel { grid-area: metrics; grid-template-columns: repeat(3,minmax(0,1fr)); grid-template-rows: auto; gap: 16px; }
.traffic-kpi-pair { display: contents; }
.traffic-kpi, .traffic-country-panel, .traffic-globe-panel, .traffic-feed-panel { border-color: #262c35; border-radius: 16px; background: #101318; box-shadow: 0 2px 6px #00000014; }
.traffic-kpi.primary, .traffic-kpi.compact { position: relative; display: flex; min-height: 132px; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 0; padding: 22px 26px; }
.traffic-kpi.primary::after { display: none; }
.traffic-kpi.primary > div, .traffic-kpi.compact span { color: #a1aab7; font-size: 14px; font-weight: 500; }
.traffic-kpi.primary > div svg { display: none; }
.traffic-kpi.compact span { order: -1; }
.traffic-kpi.compact > svg { position: absolute; top: 25px; right: 24px; width: 17px; height: 17px; opacity: .75; }
.traffic-kpi.primary > strong, .traffic-kpi.compact strong { margin: 12px 0 0; font-size: 34px; line-height: 1; font-weight: 600; letter-spacing: -.04em; }
.traffic-kpi.primary > small { margin-top: 9px; font-size: 12px; color: #788392; }
.traffic-kpi.compact.live strong { color: #90d2ae; }
.traffic-globe-panel { grid-area: globe; }
.traffic-globe-panel > header, .traffic-feed-panel > header { min-height: 76px; padding: 19px 24px; border-color: #252b34; }
.traffic-globe-panel > header span, .traffic-feed-panel > header span { font-size: 15px; font-weight: 600; letter-spacing: -.01em; }
.traffic-globe-panel > header small, .traffic-feed-panel > header small { margin-top: 3px; color: #86909f; font-size: 12px; }
.traffic-globe-panel > header > b { color: #a1adbb; font-size: 12px; font-weight: 500; }
.traffic-globe-panel > header > b i, .traffic-feed-panel > header > i { width: 6px; height: 6px; box-shadow: none; animation: none; background: #80baa0; }
.traffic-globe-stage { min-height: 0; height: 520px; background: radial-gradient(ellipse at 50% 45%,#17232d66,transparent 65%),#0d1117; }
.traffic-globe-grid, .traffic-globe-stage::before, .traffic-globe-status { display: none; }
.traffic-globe-canvas { max-width: 100%; filter: none; }
.traffic-globe-legend { top: 24px; right: 24px; gap: 18px; color: #9ca7b5; font-size: 12px; font-weight: 400; }
.traffic-globe-legend i { width: 6px; height: 6px; background: #c4d2d7; box-shadow: none; }
.traffic-globe-legend i.recent { background: #f04460; box-shadow: 0 0 0 3px #f044601a; }
.traffic-globe-hint { right: 24px; bottom: 20px; color: #86909e; font-size: 12px; letter-spacing: 0; }
.traffic-globe-controls { position: absolute; z-index: 5; left: 24px; bottom: 18px; display: flex; align-items: center; gap: 4px; padding: 4px; border: 1px solid #303844; border-radius: 10px; background: #121820e6; box-shadow: 0 8px 28px #0005; backdrop-filter: blur(12px); }
.traffic-globe-controls button { display: grid; width: 31px; height: 31px; place-items: center; border: 0; border-radius: 7px; color: #b8c4d0; background: transparent; cursor: pointer; }
.traffic-globe-controls button:hover:not(:disabled) { color: #fff; background: #27313c; }
.traffic-globe-controls button:focus-visible { outline: 2px solid #7baea5; outline-offset: 1px; }
.traffic-globe-controls button:disabled { opacity: .3; cursor: default; }
.traffic-globe-controls button:last-child { margin-left: 2px; border-left: 1px solid #303844; border-radius: 0 7px 7px 0; }
.traffic-globe-controls span { min-width: 40px; color: #8995a3; font-size: 11px; text-align: center; font-variant-numeric: tabular-nums; }
.traffic-globe-panel > footer { min-height: 52px; padding: 15px 24px; border-color: #252b34; color: #85909d; font-size: 12px; }
.traffic-globe-panel > footer svg { color: #8fa8a2; }
.traffic-globe-tooltip { border: 1px solid #45515d; border-radius: 12px; padding: 16px; background: #161d26f7; box-shadow: 0 16px 44px #0006; }
.traffic-globe-tooltip::after, .traffic-globe-tooltip.below::after { background: #161d26; border-color: #45515d; }
.traffic-globe-tooltip > header strong { font-size: 15px; }
.traffic-globe-tooltip > header small, .traffic-globe-tooltip p { font-size: 12px; line-height: 1.5; }
.traffic-globe-tooltip > header > span { background: #25323d; border-color: #3b4a56; color: #dce5ed; }
.traffic-globe-tooltip p svg { color: #9bacb9; }
.traffic-feed-panel { grid-area: feed; }
.traffic-presence-filters { margin: 0 16px; padding: 12px 0; gap: 6px; background: none; border-color: #252b34; }
.traffic-presence-filters button { min-height: 36px; color: #8d97a5; font-size: 12px; font-weight: 500; }
.traffic-presence-filters button.active { background: #242b34; border-color: #343e4a; }
.traffic-presence-filters button b { min-width: 22px; background: #ffffff08; border-radius: 4px; color: #acb7c5; font-size: 11px; }
.traffic-feed-list { display: block; height: 512px; max-height: none; padding: 0 8px; scrollbar-width: thin; scrollbar-color: #3c4653 transparent; }
.traffic-feed-list > article { min-height: 87px; gap: 12px; padding: 16px 12px; border: 0; border-bottom: 1px solid #ffffff09; }
.traffic-feed-list > article:last-child { border-bottom: 0; }
.traffic-feed-list > article:hover { background: #ffffff03; }
.traffic-customer-avatar { width: 36px; height: 36px; border-radius: 11px; border-color: #303a46; background: #1d252e; color: #aab7c6; font-weight: 600; }
.traffic-presence-list article.online .traffic-customer-avatar { background: #163126; border-color: #2b4d3e; color: #b1dcc6; }
.traffic-presence-list article.online .traffic-customer-avatar i { background: #80cda4; box-shadow: none; }
.traffic-feed-copy { gap: 5px; }
.traffic-feed-copy strong { color: #e2e7ee; font-size: 14px; font-weight: 600; }
.traffic-feed-copy span { color: #929eac; font-size: 12px; }
.traffic-feed-copy small { font-family: inherit; font-size: 12px; font-weight: 400; line-height: 1.4; color: #788697; }
.traffic-presence-state b, .traffic-presence-state time { font-size: 12px; font-weight: 400; color: #808c9b; }
.traffic-presence-state small { max-width: 150px; overflow: hidden; color: #9eabb9; font-size: 11px; font-variant-numeric: tabular-nums; text-overflow: ellipsis; white-space: nowrap; }
.traffic-presence-list article.online .traffic-presence-state b { color: #90d2ae; }
.traffic-country-panel { grid-area: countries; min-height: 0; padding: 22px 26px 26px; }
.traffic-country-panel > header > span { font-size: 14px; font-weight: 600; }
.traffic-country-panel > header small { color: #8994a2; font-size: 12px; }
.traffic-country-list { grid-template-columns: repeat(5,minmax(0,1fr)); gap: 28px; margin-top: 24px; }
.traffic-country-row { grid-template-columns: 18px minmax(0,1fr) auto; gap: 8px; }
.traffic-country-row > b { font-size: 11px; font-weight: 400; color: #707d8b; }
.traffic-country-row strong { color: #b9c3cf; font-size: 13px; font-weight: 500; }
.traffic-country-row i { height: 3px; border-radius: 3px; background: #28313b; }
.traffic-country-row i em { background: #879cae; box-shadow: none; border-radius: inherit; }
.traffic-country-row > small { color: #a7b4c3; font-size: 12px; font-weight: 500; }
.traffic-country-list > .traffic-empty-small { grid-column: 1/-1; padding: 12px; }
.traffic-dashboard button:focus-visible { outline: 2px solid #a8bccd; outline-offset: 3px; }
@media (max-width: 1200px) {
  .traffic-hud-layout { grid-template-columns: minmax(0,1fr) 330px; gap: 16px; }
  .traffic-globe-stage { height: 460px; }
  .traffic-feed-list { height: 452px; }
  .traffic-globe-panel > header, .traffic-feed-panel > header { padding-inline: 18px; }
  .traffic-globe-panel > footer { padding-inline: 18px; flex-wrap: wrap; }
  .traffic-country-list { grid-template-columns: repeat(3,minmax(0,1fr)); }
}
@media (max-width: 960px) {
  .traffic-hud-layout { grid-template-columns: minmax(0,1fr); grid-template-areas: "metrics" "globe" "feed" "countries"; }
  .traffic-feed-list { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); height: auto; max-height: 350px; }
  .traffic-command-bar { flex-direction: row; align-items: center; }
}
@media (max-width: 600px) {
  .traffic-dashboard { gap: 18px; }
  .traffic-command-bar { align-items: flex-start; flex-direction: column; gap: 18px; }
  .traffic-metrics-panel { gap: 8px; }
  .traffic-kpi.primary, .traffic-kpi.compact { padding: 16px 12px; min-height: 134px; border-radius: 12px; }
  .traffic-kpi.primary > div, .traffic-kpi.compact span { font-size: 12px; min-height: 32px; }
  .traffic-kpi.primary > strong, .traffic-kpi.compact strong { font-size: 28px; margin-top: 10px; }
  .traffic-kpi.primary > small { font-size: 12px; }
  .traffic-kpi.compact > svg { display: none; }
  .traffic-globe-stage { height: 360px; }
  .traffic-globe-controls { left: 14px; bottom: 14px; }
  .traffic-globe-panel > header > b { max-width: 90px; text-align: right; }
  .traffic-feed-list { display: block; max-height: 430px; }
  .traffic-country-list { grid-template-columns: 1fr; gap: 20px; }
}
