@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&family=Noto+Sans+KR:wght@400;500;600;700;800&display=swap');

:root {
  --ink: #0c1514;
  --ink-soft: #15211f;
  --paper: #f2f1e9;
  --paper-bright: #faf9f2;
  --paper-deep: #e8e6dc;
  --line: #cfcec4;
  --muted: #6c756f;
  --acid: #c8f03a;
  --acid-dark: #8cab1d;
  --orange: #ff785a;
  --cyan: #54c4bc;
  --sidebar: 224px;
  --mono: 'DM Mono', monospace;
  --sans: 'Manrope', 'Noto Sans KR', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
button, input, select { font: inherit; }
button, a, select { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .16;
  z-index: 100;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.13'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.app-shell { display: grid; grid-template-columns: var(--sidebar) minmax(0, 1fr); min-height: 100vh; }
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar);
  display: flex;
  flex-direction: column;
  background: var(--ink);
  color: #e9e9df;
  border-right: 1px solid #2b3633;
  z-index: 20;
}
.brand {
  height: 78px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 0 22px;
  border-bottom: 1px solid #27302f;
  font-size: 18px;
  letter-spacing: -.6px;
}
.brand b { font-weight: 800; }
.brand-mark {
  width: 30px;
  height: 30px;
  display: flex;
  gap: 3px;
  align-items: flex-end;
  justify-content: center;
  padding: 7px;
  background: var(--acid);
  border-radius: 3px;
  transform: rotate(-2deg);
}
.brand-mark i { display: block; width: 3px; background: var(--ink); }
.brand-mark i:nth-child(1) { height: 7px; }
.brand-mark i:nth-child(2) { height: 12px; }
.brand-mark i:nth-child(3) { height: 17px; }
.nav { padding: 25px 13px; }
.eyebrow { margin: 0 10px 13px; color: #66716d; font: 500 10px/1 var(--mono); letter-spacing: 1.5px; }
.nav-link {
  height: 43px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 3px 0;
  padding: 0 12px;
  color: #87918d;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  transition: .2s ease;
}
.nav-link:hover { color: #d8ddd8; background: #17211f; }
.nav-link.active { color: var(--acid); background: #1a2522; box-shadow: inset 2px 0 var(--acid); }
.nav-icon { position: relative; width: 16px; height: 16px; opacity: .8; }
.grid-icon { border: 1px solid currentColor; box-shadow: inset 7px 0 transparent; }
.grid-icon::before, .grid-icon::after { content: ''; position: absolute; background: currentColor; opacity: .7; }
.grid-icon::before { width: 1px; top: 0; bottom: 0; left: 7px; }
.grid-icon::after { height: 1px; left: 0; right: 0; top: 7px; }
.bars-icon { background: linear-gradient(to top, currentColor 0 100%) left bottom/3px 7px no-repeat, linear-gradient(to top, currentColor 0 100%) center bottom/3px 14px no-repeat, linear-gradient(to top, currentColor 0 100%) right bottom/3px 10px no-repeat; }
.globe-icon { border: 1px solid currentColor; border-radius: 50%; }
.globe-icon::before, .globe-icon::after { content: ''; position: absolute; border: 1px solid currentColor; }
.globe-icon::before { inset: 3px 5px; border-top: 0; border-bottom: 0; border-radius: 50%; }
.globe-icon::after { left: 1px; right: 1px; top: 7px; height: 0; border-width: 1px 0 0; }
.pulse-icon::before { content: '⌁'; font: 22px/14px var(--mono); }
.sidebar-spacer { flex: 1; }
.collector-mini { margin: 12px 14px; padding: 14px; border: 1px solid #2a3532; background: #111b19; border-radius: 5px; }
.collector-mini-top { display: flex; align-items: center; gap: 7px; font-size: 11px; }
.collector-mini > span { display: block; margin-top: 8px; color: #6c7874; font: 10px/1.5 var(--mono); }
.status-dot, .live-badge i, .health-dot { width: 6px; height: 6px; display: inline-block; border-radius: 50%; background: var(--acid); box-shadow: 0 0 0 4px rgba(200, 240, 58, .1); }
.mini-progress { height: 2px; margin-top: 12px; overflow: hidden; background: #2b3532; }
.mini-progress i { display: block; width: 20%; height: 100%; background: var(--acid); transition: width .4s ease; }
.sidebar-footer { min-height: 72px; display: grid; grid-template-columns: 31px 1fr 24px; align-items: center; gap: 9px; padding: 12px 15px; border-top: 1px solid #27302f; }
.avatar { width: 31px; height: 31px; display: grid; place-items: center; background: #2a3532; border: 1px solid #3c4945; border-radius: 50%; color: var(--acid); font: 10px var(--mono); }
.sidebar-footer b, .sidebar-footer small { display: block; }
.sidebar-footer b { font-size: 10px; }
.sidebar-footer small { margin-top: 3px; color: #68736f; font-size: 9px; }
.icon-button { border: 0; background: transparent; cursor: pointer; }
.sidebar-footer .icon-button { color: #68736f; }

.main { grid-column: 2; min-width: 0; }
.topbar {
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(22px, 3vw, 48px);
  border-bottom: 1px solid var(--line);
  background: rgba(242, 241, 233, .82);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 10;
}
.breadcrumb { display: flex; gap: 10px; align-items: center; font: 10px var(--mono); letter-spacing: .7px; }
.breadcrumb span { color: #8a918c; }
.breadcrumb i { color: #bbbcb5; }
.top-actions { display: flex; align-items: center; gap: 9px; }
.live-badge { height: 29px; display: flex; align-items: center; gap: 8px; padding: 0 12px; border: 1px solid #bcc7a0; background: rgba(200, 240, 58, .14); border-radius: 99px; font: 500 9px var(--mono); letter-spacing: .8px; }
.live-badge i { width: 5px; height: 5px; animation: blink 1.8s infinite; }
.refresh-button { width: 29px; height: 29px; padding: 5px; border: 1px solid var(--line); background: var(--paper-bright); border-radius: 50%; }
.refresh-button svg { width: 15px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.refresh-button.loading svg { animation: spin 1s linear infinite; }
.mobile-menu { display: none; border: 0; background: transparent; }

.hero {
  min-height: 244px;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 38px clamp(22px, 3vw, 48px) 34px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(122deg, var(--paper-bright) 0%, var(--paper) 62%, #dfe1d2 100%);
}
.hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(12,21,20,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(12,21,20,.04) 1px, transparent 1px); background-size: 34px 34px; mask-image: linear-gradient(90deg, transparent, #000); }
.hero-copy { position: relative; z-index: 1; }
.kicker { display: flex; gap: 11px; align-items: center; margin-bottom: 17px; color: #59625e; font: 500 10px var(--mono); letter-spacing: 1.1px; }
.kicker span, .section-no { color: var(--acid-dark); }
.hero h1 { margin: 0; font-size: clamp(38px, 4.4vw, 64px); line-height: 1.07; letter-spacing: -3.5px; font-weight: 800; }
.hero h1 em { position: relative; font-style: normal; z-index: 1; }
.hero h1 em::after { content: ''; position: absolute; z-index: -1; height: .25em; left: -.02em; right: -.03em; bottom: .08em; background: var(--acid); transform: rotate(-1deg); }
.hero p { margin: 18px 0 0; color: var(--muted); font-size: 14px; }
.orbit { position: relative; width: 215px; height: 180px; flex: 0 0 215px; margin-right: 2vw; }
.orbit-ring { position: absolute; inset: 10px 28px; border: 1px solid #aeb5ab; border-radius: 50%; transform: rotate(23deg); }
.orbit-ring::before, .orbit-ring::after { content: ''; position: absolute; left: 50%; top: 50%; background: #b8beb3; }
.orbit-ring::before { width: 1px; height: 120%; transform: translate(-50%, -50%); }
.orbit-ring::after { height: 1px; width: 120%; transform: translate(-50%, -50%); }
.orbit-ring i { position: absolute; top: 17px; left: 18px; width: 8px; height: 8px; background: var(--orange); border-radius: 50%; box-shadow: 0 0 0 7px rgba(255,120,90,.12); }
.ring-two { inset: 35px 5px; transform: rotate(-28deg); border-color: #d0d2c8; }
.ring-two i { top: auto; left: auto; right: 19px; bottom: 13px; width: 6px; height: 6px; background: var(--acid-dark); }
.orbit-core { position: absolute; inset: 50% auto auto 50%; width: 70px; height: 70px; display: grid; place-content: center; text-align: center; transform: translate(-50%, -50%); border-radius: 50%; background: var(--ink); color: var(--paper); box-shadow: 0 11px 35px rgba(12,21,20,.2); }
.orbit-core span { font: 500 20px var(--mono); }
.orbit-core small { margin-top: 3px; color: var(--acid); font: 8px var(--mono); letter-spacing: 1px; }

.filter-dock { min-height: 82px; display: grid; grid-template-columns: auto 140px 140px 180px minmax(190px, 1fr); align-items: stretch; gap: 0; margin: 0 clamp(22px, 3vw, 48px); border: 1px solid var(--line); border-top: 0; background: var(--paper-bright); box-shadow: 0 8px 20px rgba(22,31,29,.05); }
.store-switch { display: flex; padding: 9px; gap: 4px; border-right: 1px solid var(--line); }
.store-button { min-width: 125px; border: 0; background: transparent; display: flex; align-items: center; justify-content: center; gap: 7px; padding: 0 11px; border-radius: 3px; color: #717a74; font-size: 12px; font-weight: 700; cursor: pointer; }
.store-button svg { width: 14px; height: 14px; fill: currentColor; }
.store-button.active { background: var(--ink); color: var(--paper); box-shadow: inset 0 -2px var(--acid); }
.select-field { display: grid; align-content: center; padding: 0 18px; border-right: 1px solid var(--line); }
.select-field span { color: #90968f; font: 9px var(--mono); letter-spacing: 1px; }
.select-field select { margin-top: 6px; width: 100%; border: 0; outline: 0; background: transparent; color: var(--ink); font-size: 13px; font-weight: 700; cursor: pointer; }
.search-field { display: flex; align-items: center; gap: 10px; padding: 0 16px; }
.search-field svg { width: 16px; fill: none; stroke: #778079; stroke-width: 1.5; }
.search-field input { width: 100%; border: 0; outline: 0; background: transparent; font-size: 13px; }
.search-field kbd { padding: 3px 6px; border: 1px solid var(--line); border-radius: 3px; background: var(--paper); color: #80877f; font: 10px var(--mono); }

.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 28px clamp(22px, 3vw, 48px) 0; border: 1px solid var(--line); }
.metric-card { min-height: 148px; padding: 21px 20px 18px; background: var(--paper-bright); border-right: 1px solid var(--line); }
.metric-card:last-child { border-right: 0; }
.metric-top { display: flex; align-items: center; justify-content: space-between; color: #777f79; font: 500 9px var(--mono); letter-spacing: .8px; }
.metric-card strong { display: inline-block; margin-top: 17px; font: 500 clamp(30px, 3.2vw, 43px)/1 var(--mono); letter-spacing: -2px; }
.metric-card small { margin-left: 6px; color: #89908a; font-size: 10px; }
.metric-card p { margin: 12px 0 0; color: #777f79; font-size: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.metric-tag { padding: 3px 5px; border: 1px solid var(--line); font-size: 8px; }
.accent-card { background: var(--acid); }
.accent-card .metric-top, .accent-card p, .accent-card small { color: #40500d; }
.signal-bars { height: 13px; display: flex; align-items: flex-end; gap: 2px; }
.signal-bars b { display: block; width: 2px; background: var(--ink); }
.signal-bars b:nth-child(1) { height: 3px; }.signal-bars b:nth-child(2) { height: 6px; }.signal-bars b:nth-child(3) { height: 9px; }.signal-bars b:nth-child(4) { height: 13px; }
.trend-up { font-style: normal; margin-right: 4px; }
.tiny-ring { width: 15px; height: 15px; border: 3px solid var(--line); border-top-color: var(--acid-dark); border-radius: 50%; }
.dark-card { background: var(--ink-soft); color: var(--paper); }
.dark-card .metric-top, .dark-card p, .dark-card small { color: #85908b; }
.dark-card strong { color: var(--acid); font-size: clamp(26px, 2.8vw, 36px); letter-spacing: 0; }

.dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.8fr) minmax(310px, .9fr); gap: 16px; margin: 16px clamp(22px, 3vw, 48px) 0; }
.dashboard-grid > * { min-width: 0; }
.panel { background: var(--paper-bright); border: 1px solid var(--line); }
.panel-header { min-height: 86px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 19px 20px; border-bottom: 1px solid var(--line); }
.panel-header > div:first-child { display: grid; grid-template-columns: 22px 1fr; align-items: center; column-gap: 8px; }
.panel-header .section-no { grid-row: 1 / span 2; align-self: start; padding-top: 3px; font: 500 9px var(--mono); }
.panel-header h2 { margin: 0; font-size: 15px; letter-spacing: -.3px; }
.panel-header p { margin: 6px 0 0; color: #8a918c; font-size: 11px; }
.period-switch { display: flex; padding: 3px; border: 1px solid var(--line); background: var(--paper); }
.period-switch button { width: 38px; height: 26px; border: 0; background: transparent; color: #808780; font: 9px var(--mono); cursor: pointer; }
.period-switch button.active { background: var(--ink); color: var(--acid); }
.chart-legend { min-height: 43px; display: flex; align-items: center; gap: 15px; padding: 0 21px; overflow-x: auto; border-bottom: 1px solid #e3e1d7; }
.legend-item { flex: 0 0 auto; display: flex; align-items: center; gap: 6px; max-width: 155px; color: #69716c; font-size: 9px; }
.legend-item i { width: 13px; height: 2px; background: var(--legend); }
.legend-item span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chart-wrap { height: 245px; padding: 15px 13px 10px; }
.trend-svg { width: 100%; height: 100%; overflow: visible; }
.chart-grid { stroke: #d8d7cd; stroke-width: 1; stroke-dasharray: 2 4; }
.chart-axis { fill: #909690; font: 8px var(--mono); }
.chart-line { fill: none; stroke-width: 2; vector-effect: non-scaling-stroke; }
.chart-point { stroke: var(--paper-bright); stroke-width: 2; }
.chart-placeholder { height: 100%; display: grid; place-items: center; color: #8a918c; text-align: center; font: 10px/1.8 var(--mono); }
.chart-placeholder b { display: block; color: var(--ink); font: 700 14px var(--sans); }
.pulse-key { color: #7f8781; font: 8px var(--mono); }
.pulse-key i { display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: var(--orange); }
.world-field { position: relative; height: 289px; overflow: hidden; background: #101b19; }
.world-field::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(#33413d 1px, transparent 1px); background-size: 13px 13px; opacity: .35; }
.world-lines { position: absolute; inset: 14px 12px 35px; width: calc(100% - 24px); height: calc(100% - 49px); }
.world-lines path { fill: #1b2926; stroke: #344440; stroke-width: 1; }
.map-markers { position: absolute; inset: 0; }
.map-marker { position: absolute; width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: var(--acid); cursor: pointer; box-shadow: 0 0 0 4px rgba(200,240,58,.1); transform: translate(-50%, -50%); transition: .2s; }
.map-marker::after { content: attr(data-country); position: absolute; left: 8px; top: -5px; color: #8c9994; font: 7px var(--mono); opacity: 0; transition: .2s; white-space: nowrap; }
.map-marker:hover { transform: translate(-50%, -50%) scale(1.5); z-index: 2; }
.map-marker:hover::after { opacity: 1; }
.map-marker.hot { background: var(--orange); box-shadow: 0 0 0 5px rgba(255,120,90,.13), 0 0 18px rgba(255,120,90,.4); animation: markerPulse 2s infinite; }
.market-focus { position: absolute; left: 15px; right: 15px; bottom: 13px; display: grid; grid-template-columns: 1fr auto; align-items: end; padding-top: 9px; border-top: 1px solid #31413d; color: #87938e; }
.market-focus span { font: 8px var(--mono); letter-spacing: .7px; }
.market-focus b { grid-row: 2; color: #edf0e8; font-size: 13px; margin-top: 3px; }
.market-focus small { grid-column: 2; grid-row: 1 / span 2; color: var(--acid); font: 8px var(--mono); }

.rankings-panel { margin: 16px clamp(22px, 3vw, 48px) 34px; }
.rankings-head > div:first-child { min-width: 270px; }
.rank-actions { display: flex; align-items: center; gap: 15px; color: #838b85; font: 9px var(--mono); }
.rank-actions button { height: 31px; padding: 0 13px; border: 1px solid var(--ink); background: transparent; font: 9px var(--mono); cursor: pointer; }
.rank-actions button:hover { background: var(--ink); color: var(--acid); }
.table-wrap { width: 100%; overflow-x: auto; }
table { width: 100%; border-collapse: collapse; min-width: 760px; }
th { height: 41px; padding: 0 14px; border-bottom: 1px solid var(--line); color: #929892; text-align: left; font: 500 9px var(--mono); letter-spacing: .8px; }
th:first-child, td:first-child { padding-left: 22px; }
th:nth-last-child(-n+4), td:nth-last-child(-n+4) { text-align: center; }
td { height: 68px; padding: 8px 14px; border-bottom: 1px solid #deddd3; font-size: 12px; }
tbody tr { transition: .16s; }
tbody tr:hover { background: #f0f3e7; }
tbody tr:last-child td { border-bottom: 0; }
.rank-number { font: 500 16px var(--mono); }
.app-cell { display: flex; align-items: center; gap: 11px; min-width: 220px; }
.app-icon { position: relative; width: 38px; height: 38px; flex: 0 0 38px; overflow: hidden; display: grid; place-items: center; border-radius: 9px; background: var(--icon-bg, var(--ink)); color: var(--acid); font-weight: 800; box-shadow: inset 0 0 0 1px rgba(12,21,20,.1); }
.app-icon img { width: 100%; height: 100%; object-fit: cover; }
.app-cell b, .app-cell small { display: block; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-cell b { font-size: 12px; }
.app-cell small { margin-top: 4px; color: #919791; font: 8px var(--mono); }
.publisher-cell { max-width: 190px; color: #737b76; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.score-cell { font: 10px var(--mono); }
.movement { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 22px; padding: 0 6px; font: 9px var(--mono); border-radius: 2px; }
.movement.up { color: #426000; background: rgba(200,240,58,.32); }
.movement.down { color: #ad4934; background: rgba(255,120,90,.15); }
.movement.same { color: #8d948f; background: #ecebe3; }
.movement.new { color: #1d6b66; background: rgba(84,196,188,.18); }
.store-chip { display: inline-flex; gap: 5px; align-items: center; padding: 5px 8px; border: 1px solid var(--line); color: #68706a; font: 8px var(--mono); white-space: nowrap; }
.store-chip i { width: 4px; height: 4px; background: currentColor; border-radius: 50%; }
.external-link { display: inline-grid; width: 24px; height: 24px; place-items: center; border: 1px solid var(--line); color: #6f7771; }
.external-link:hover { background: var(--ink); color: var(--acid); }
.empty-state { padding: 50px 20px; text-align: center; color: #89918b; }
.empty-state span { display: block; font: 28px var(--mono); }.empty-state b { display: block; margin-top: 9px; color: var(--ink); font-size: 14px; }.empty-state p { font-size: 10px; }

.footer { min-height: 90px; display: flex; justify-content: space-between; align-items: center; padding: 0 clamp(22px, 3vw, 48px); border-top: 1px solid var(--line); color: #858c86; font: 8px var(--mono); letter-spacing: .5px; }
.footer > div { display: flex; align-items: center; gap: 8px; }
.footer-mark { width: 13px; height: 13px; border: 3px solid var(--acid-dark); }
.toast { position: fixed; right: 24px; bottom: 24px; z-index: 200; max-width: 330px; padding: 13px 16px; transform: translateY(20px); opacity: 0; pointer-events: none; background: var(--ink); color: var(--paper); border-left: 3px solid var(--acid); box-shadow: 0 10px 35px rgba(12,21,20,.25); font-size: 12px; transition: .25s ease; }
.toast.show { transform: none; opacity: 1; }

@keyframes blink { 50% { opacity: .35; } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes markerPulse { 50% { box-shadow: 0 0 0 10px rgba(255,120,90,0), 0 0 25px rgba(255,120,90,.3); } }

@media (max-width: 1120px) {
  :root { --sidebar: 196px; }
  .filter-dock { grid-template-columns: 1fr 1fr 1fr; }
  .store-switch { grid-column: 1 / span 3; border-right: 0; border-bottom: 1px solid var(--line); }
  .store-button { min-height: 43px; flex: 1; }
  .search-field { min-height: 58px; grid-column: 1 / -1; border-top: 1px solid var(--line); }
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .metric-card:nth-child(2) { border-right: 0; }.metric-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .dashboard-grid { grid-template-columns: minmax(0, 1fr); }
  .world-field { height: 330px; }
}

@media (max-width: 760px) {
  :root { --sidebar: 228px; }
  .app-shell { display: block; }
  .sidebar { transform: translateX(-100%); transition: transform .25s ease; box-shadow: 15px 0 40px rgba(0,0,0,.22); }
  body.menu-open .sidebar { transform: none; }
  body.menu-open::after { content: ''; position: fixed; inset: 0; z-index: 15; background: rgba(12,21,20,.45); backdrop-filter: blur(2px); }
  body.menu-open .topbar { z-index: 25; }
  .main { width: 100%; }
  .mobile-menu { display: grid; width: 32px; gap: 5px; padding: 8px; }
  .mobile-menu span { height: 1px; background: var(--ink); }
  .breadcrumb { display: none; }
  .topbar { height: 55px; padding: 0 17px; }
  .hero { min-height: 255px; padding: 34px 20px; align-items: flex-start; }
  .hero h1 { font-size: 42px; letter-spacing: -2.4px; }
  .hero p { max-width: 240px; line-height: 1.6; }
  .orbit { position: absolute; width: 150px; height: 130px; right: -30px; bottom: -14px; opacity: .72; }
  .orbit-core { width: 56px; height: 56px; }
  .filter-dock { grid-template-columns: 1fr 1fr; margin: 0 12px; }
  .store-switch { grid-column: 1 / span 2; }
  .select-field { min-height: 58px; }
  .select-field:nth-of-type(2) { border-right: 0; }
  .category-field { grid-column: 1 / span 2; min-height: 58px; border-top: 1px solid var(--line); border-right: 0; }
  .search-field { grid-column: 1 / span 2; border-top: 1px solid var(--line); }
  .metric-grid { margin: 18px 12px 0; }
  .metric-card { min-height: 125px; padding: 16px; }
  .metric-card strong { font-size: 31px; }
  .dashboard-grid { margin: 12px 12px 0; gap: 12px; }
  .panel-header { padding: 14px; }
  .chart-wrap { height: 230px; }
  .world-field { height: 275px; }
  .rankings-panel { margin: 12px 12px 25px; }
  .rankings-head { align-items: flex-start; flex-direction: column; }
  .rank-actions { width: 100%; justify-content: space-between; }
  .footer { padding: 20px; flex-direction: column; align-items: flex-start; gap: 10px; }
}

@media (max-width: 470px) {
  .hero h1 { font-size: 35px; }
  .metric-grid { grid-template-columns: 1fr; }
  .metric-card { border-right: 0; border-bottom: 1px solid var(--line); }
  .metric-card:last-child { border-bottom: 0; }
  .metric-card strong { font-size: 34px; }
  .panel-header { align-items: flex-start; }
  .period-switch { flex: 0 0 auto; }
  .pulse-key { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
