:root {
  --bg-0: #050505;
  --bg-1: #0b0d10;
  --bg-2: #12161c;
  --surface: #0f141a;
  --surface-2: #141a21;
  --text: #f3fbff;
  --muted: #96a8b8;
  --line: rgba(160, 204, 229, 0.18);
  --line-soft: rgba(160, 204, 229, 0.1);
  --primary: #8af5ff;
  --primary-2: #21d4fd;
  --secondary: #ff4bd9;
  --danger: #ff716c;
  --up: #8ff06f;
  --radius-shell: 28px;
  --radius-xl: 22px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 11px;
  --radius-pill: 999px;
  --stroke-soft: rgba(170, 206, 232, 0.19);
  --stroke-glow: rgba(138, 245, 255, 0.28);
  --glass-dark: rgba(10, 16, 24, 0.64);
  --glass-mid: rgba(14, 21, 30, 0.72);
  --shadow-soft: 0 14px 36px rgba(0, 0, 0, 0.34);
  --shadow-float: 0 16px 42px rgba(3, 13, 24, 0.46);
  --blur-strong: blur(16px);
  --blur-mid: blur(10px);
}

* {
  box-sizing: border-box;
}

[v-cloak] {
  display: none;
}

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

body {
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background:
    radial-gradient(34% 18% at 10% -3%, rgba(33, 212, 253, 0.16), transparent 72%),
    radial-gradient(34% 20% at 92% 0%, rgba(255, 75, 217, 0.12), transparent 74%),
    linear-gradient(180deg, var(--bg-0) 0%, var(--bg-1) 45%, var(--bg-2) 100%);
}

.app-shell {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  padding: 0 12px calc(env(safe-area-inset-bottom) + 52px);
}

.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: calc(env(safe-area-inset-top) + 9px) 12px 9px;
  background: rgba(8, 10, 14, 0.84);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-soft);
}

.brand {
  min-width: 0;
}

.brand-title {
  margin: 0;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 30px;
  line-height: 1;
  letter-spacing: 1px;
  font-weight: 700;
  color: var(--primary);
  text-shadow: 0 0 16px rgba(138, 245, 255, 0.5);
}

.brand-sub {
  margin: 3px 0 0;
  font-size: 11px;
  color: rgba(138, 245, 255, 0.72);
  letter-spacing: 0.2px;
}

.wallet-btn {
  flex-shrink: 0;
  border: 1px solid rgba(138, 245, 255, 0.36);
  border-radius: 3px;
  background: rgba(138, 245, 255, 0.16);
  color: #aff8ff;
  font-family: "Manrope", "Inter", sans-serif;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.4px;
  padding: 8px 12px;
}

.wallet-btn:active {
  transform: scale(0.98);
}

.main-canvas {
  padding-top: calc(env(safe-area-inset-top) + 78px);
}

.tabs-shell {
  position: relative;
}

.tabs-wrap {
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  overscroll-behavior-x: contain;
  border-bottom: 1px solid var(--line-soft);
  padding-bottom: 2px;
}

.tabs-wrap::-webkit-scrollbar {
  display: none;
}

.tabs-track {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  min-width: max-content;
  padding: 0 6px 0 0;
}

.tabs-fade-right,
.tabs-fade-left {
  position: absolute;
  top: 0;
  bottom: 2px;
  width: 24px;
  pointer-events: none;
}

.tabs-fade-right {
  right: 0;
  background: linear-gradient(to left, rgba(11, 13, 16, 1), rgba(11, 13, 16, 0));
}

.tabs-fade-left {
  left: 0;
  background: linear-gradient(to right, rgba(11, 13, 16, 1), rgba(11, 13, 16, 0));
}

.tab-btn {
  border: 0;
  background: transparent;
  color: #9aa3ad;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.2px;
  padding: 8px 0 10px;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.hero-head {
  margin-top: 10px;
  padding: 2px 0 6px;
}

.hero-head h1 {
  margin: 0;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 19px;
  letter-spacing: 0.2px;
}

.hero-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.live-tip {
  color: rgba(138, 245, 255, 0.74) !important;
  font-size: 11px !important;
}

.arb-hero-wrap {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.arb-hero-card {
  border: 1px solid rgba(138, 245, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(4, 8, 14, 0.96), rgba(5, 10, 16, 0.9)),
    radial-gradient(50% 80% at 0% 0%, rgba(42, 198, 255, 0.14), transparent 72%);
  border-radius: 0;
  padding: 14px;
  position: relative;
  overflow: hidden;
}

.arb-hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid rgba(138, 245, 255, 0.05);
}

.arb-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.arb-label {
  color: rgba(227, 239, 248, 0.72);
  font-size: 11px;
  letter-spacing: 0.8px;
}

.arb-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #71edff;
  box-shadow: 0 0 10px rgba(113, 237, 255, 0.9);
}

.arb-main-line {
  margin-top: 10px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.arb-main-line strong {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 56px;
  line-height: 1;
  letter-spacing: -1px;
  color: #f5feff;
}

.arb-main-line em {
  color: #8feeff;
  font-style: normal;
  font-size: 30px;
  line-height: 1;
  letter-spacing: 0.3px;
}

.arb-progress {
  margin-top: 14px;
  height: 4px;
  width: 100%;
  background: rgba(190, 207, 222, 0.18);
  border-radius: 999px;
  overflow: hidden;
}

.arb-progress-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #99fbff 0%, #71edff 100%);
  box-shadow: 0 0 12px rgba(113, 237, 255, 0.6);
}

.arb-grid-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: rgba(224, 236, 246, 0.72);
  font-size: 10px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.arb-grid-kpis {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}

.arb-kpi {
  padding: 0 10px;
  border-left: 1px solid rgba(138, 245, 255, 0.12);
}

.arb-kpi:first-child {
  padding-left: 0;
  border-left: 0;
}

.arb-kpi p {
  margin: 0;
  color: rgba(196, 212, 226, 0.76);
  font-size: 11px;
  letter-spacing: 0.4px;
}

.arb-kpi strong {
  display: block;
  margin-top: 10px;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 28px;
  line-height: 1;
  color: #f6fdff;
}

.arb-kpi small {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  line-height: 1;
  color: #f0f7ff;
  font-weight: 700;
}

.arb-kpi .up {
  color: #8ff8ff;
}

.arb-kpi .down {
  color: #ff7671;
}

.arb-kpi .stable {
  color: #d8e7d2;
}

@media (max-width: 390px) {
  .arb-main-line strong {
    font-size: 48px;
  }

  .arb-main-line em {
    font-size: 24px;
  }

  .arb-kpi strong {
    font-size: 22px;
  }

  .arb-kpi small {
    font-size: 12px;
  }
}

.smart-hero-wrap {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.smart-hero-title {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.smart-hero-title h2 {
  margin: 0;
  font-size: 34px;
  line-height: 1;
  letter-spacing: 0.4px;
  color: #f2fbff;
  font-family: "Space Grotesk", "Inter", sans-serif;
}

.smart-hero-title span {
  color: rgba(186, 200, 214, 0.66);
  font-size: 13px;
  letter-spacing: 0.8px;
}

.smart-hero-card {
  border: 1px solid rgba(138, 245, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(4, 8, 14, 0.96), rgba(5, 10, 16, 0.9)),
    radial-gradient(60% 120% at 0% 0%, rgba(42, 198, 255, 0.12), transparent 72%);
  border-radius: 0;
  padding: 14px;
  position: relative;
  overflow: hidden;
}

.smart-hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid rgba(138, 245, 255, 0.05);
}

.smart-card-head span {
  color: rgba(227, 239, 248, 0.72);
  font-size: 11px;
  letter-spacing: 0.8px;
}

.smart-main-line {
  margin-top: 10px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.smart-main-line strong {
  font-size: 50px;
  line-height: 1;
  color: #8ff8ff;
  font-family: "Space Grotesk", "Inter", sans-serif;
}

.smart-main-line em {
  font-style: normal;
  font-size: 44px;
  line-height: 1;
  color: #8ff8ff;
  font-family: "Space Grotesk", "Inter", sans-serif;
}

.smart-progress-line {
  margin-top: 12px;
  position: relative;
  height: 22px;
  padding-right: 54px;
}

.smart-progress-line i {
  position: absolute;
  right: 0;
  top: 0;
  font-style: normal;
  font-size: 24px;
  color: #8ff8ff;
  line-height: 1;
  font-family: "Space Grotesk", "Inter", sans-serif;
}

.smart-progress-line::before {
  content: "";
  position: absolute;
  left: 0;
  right: 56px;
  top: 10px;
  height: 4px;
  background: rgba(190, 207, 222, 0.18);
  border-radius: 999px;
}

.smart-progress-fill {
  position: absolute;
  left: 0;
  top: 10px;
  height: 4px;
  max-width: calc(100% - 56px);
  background: linear-gradient(90deg, #99fbff 0%, #71edff 100%);
  box-shadow: 0 0 12px rgba(113, 237, 255, 0.6);
  border-radius: 999px;
}

.smart-level-line {
  margin-top: 10px;
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.smart-level-line strong {
  font-size: 48px;
  line-height: 1;
  color: #e8efba;
  font-family: "Space Grotesk", "Inter", sans-serif;
}

.smart-level-line em {
  font-style: normal;
  font-size: 38px;
  line-height: 1;
  color: #e8efba;
  font-family: "Space Grotesk", "Inter", sans-serif;
}

.smart-level-line.crowding strong,
.smart-level-line.crowding em {
  color: #ff44ef;
}

.smart-seg-bars {
  margin-top: 12px;
  display: flex;
  gap: 4px;
}

.smart-seg-bars span {
  width: 24px;
  height: 10px;
  border-radius: 1px;
  background: rgba(190, 207, 222, 0.16);
}

.smart-seg-bars span.on {
  background: #e8efba;
  box-shadow: 0 0 10px rgba(232, 239, 186, 0.45);
}

.smart-subline {
  margin: 10px 0 0;
  font-size: 15px;
  color: rgba(231, 196, 255, 0.85);
}

@media (max-width: 390px) {
  .smart-hero-title h2 {
    font-size: 30px;
  }

  .smart-main-line strong {
    font-size: 42px;
  }

  .smart-main-line em {
    font-size: 34px;
  }

  .smart-level-line strong {
    font-size: 40px;
  }

  .smart-level-line em {
    font-size: 32px;
  }
}

.whale-hero-wrap {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.whale-hero-card {
  border: 1px solid rgba(255, 68, 239, 0.16);
  background:
    linear-gradient(180deg, rgba(4, 8, 14, 0.96), rgba(5, 10, 16, 0.9)),
    radial-gradient(65% 120% at 0% 0%, rgba(255, 68, 239, 0.09), transparent 72%);
  border-radius: 0;
  padding: 14px;
  position: relative;
  overflow: hidden;
}

.whale-hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid rgba(138, 245, 255, 0.05);
}

.whale-flow-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.whale-flow-head h2 {
  margin: 0;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 32px;
  line-height: 1;
  color: #f6fbff;
}

.whale-flow-head span {
  display: block;
  margin-top: 4px;
  color: rgba(186, 200, 214, 0.66);
  font-size: 12px;
  letter-spacing: 0.6px;
}

.whale-flow-head b {
  font-size: 12px;
  color: #8ff8ff;
  letter-spacing: 0.6px;
}

.whale-flow-body {
  margin-top: 10px;
  border: 1px solid rgba(138, 245, 255, 0.16);
  padding: 12px;
}

.whale-flow-body p {
  margin: 0;
  color: rgba(227, 239, 248, 0.72);
  font-size: 11px;
  letter-spacing: 0.8px;
}

.whale-flow-main {
  margin-top: 10px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.whale-flow-main strong {
  font-size: 44px;
  line-height: 1;
  font-family: "Space Grotesk", "Inter", sans-serif;
  color: #8ff8ff;
}

.whale-flow-main em {
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  color: #e8efba;
}

.whale-flow-addr {
  margin-top: 10px;
  display: grid;
  gap: 5px;
}

.whale-flow-addr span {
  color: #d8e4ee;
  font-size: 13px;
  letter-spacing: 0.2px;
}

.whale-flow-progress {
  margin-top: 12px;
  height: 4px;
  width: 100%;
  background: rgba(190, 207, 222, 0.18);
  border-radius: 999px;
  overflow: hidden;
}

.whale-flow-fill {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #99fbff 0%, #71edff 100%);
  box-shadow: 0 0 12px rgba(113, 237, 255, 0.6);
}

.whale-eco-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.whale-eco-head h3 {
  margin: 0;
  font-size: 28px;
  line-height: 1;
  font-family: "Space Grotesk", "Inter", sans-serif;
  color: #f4fbff;
}

.whale-eco-head span {
  color: rgba(186, 200, 214, 0.66);
  font-size: 12px;
  letter-spacing: 0.6px;
}

.whale-eco-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.whale-eco-item {
  border: 1px solid rgba(255, 68, 239, 0.16);
  padding: 10px;
}

.whale-eco-item p {
  margin: 0;
  color: rgba(196, 212, 226, 0.76);
  font-size: 10px;
  letter-spacing: 0.5px;
}

.whale-eco-item strong {
  display: block;
  margin-top: 8px;
  font-size: 28px;
  line-height: 1;
  color: #f6fdff;
  font-family: "Space Grotesk", "Inter", sans-serif;
}

.whale-eco-item small {
  display: block;
  margin-top: 8px;
  font-size: 13px;
  line-height: 1;
}

.whale-eco-item small.up {
  color: #8ff8ff;
}

.whale-eco-item small.down {
  color: #ff7671;
}

@media (max-width: 390px) {
  .whale-flow-head h2 {
    font-size: 28px;
  }

  .whale-flow-main strong {
    font-size: 36px;
  }

  .whale-flow-main em {
    font-size: 20px;
  }

  .whale-eco-head h3 {
    font-size: 24px;
  }

  .whale-eco-item strong {
    font-size: 22px;
  }
}

.macro-hero-wrap {
  margin-top: 12px;
  display: grid;
  gap: 10px;
}

.macro-core-card,
.macro-heat-card {
  border: 1px solid rgba(202, 255, 0, 0.2);
  background:
    linear-gradient(180deg, rgba(4, 8, 14, 0.96), rgba(5, 10, 16, 0.9)),
    radial-gradient(64% 140% at 0% 0%, rgba(202, 255, 0, 0.08), transparent 72%);
  border-radius: 0;
  padding: 12px;
  position: relative;
}

.macro-core-card::after,
.macro-heat-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid rgba(202, 255, 0, 0.07);
}

.macro-core-head,
.macro-heat-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.macro-core-head h2,
.macro-heat-head h3 {
  margin: 0;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 24px;
  line-height: 1;
  color: #e4ff6b;
}

.macro-core-head span,
.macro-heat-head span {
  color: rgba(203, 221, 154, 0.75);
  font-size: 12px;
  letter-spacing: 0.6px;
}

.macro-core-grid {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.macro-core-item {
  border: 1px solid rgba(202, 255, 0, 0.15);
  padding: 10px;
  background: rgba(8, 12, 16, 0.78);
}

.macro-core-item p {
  margin: 0;
  color: rgba(213, 224, 189, 0.75);
  font-size: 10px;
}

.macro-core-item strong {
  display: block;
  margin-top: 8px;
  font-size: 38px;
  line-height: 1;
  color: #f5fcff;
  font-family: "Space Grotesk", "Inter", sans-serif;
}

.macro-core-item small {
  display: block;
  margin-top: 8px;
  font-size: 16px;
  line-height: 1;
}

.macro-core-item small.up {
  color: #00f995;
}

.macro-core-item small.down {
  color: #ff716c;
}

.macro-core-bar {
  margin-top: 8px;
  height: 4px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(180, 196, 210, 0.16);
}

.macro-core-bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
}

.macro-core-bar span.up {
  background: linear-gradient(90deg, #a7ff00, #71edff);
}

.macro-core-bar span.down {
  background: linear-gradient(90deg, #ff716c, #ff44ef);
}

.macro-heat-tabs {
  display: flex;
  gap: 4px;
}

.macro-heat-tabs button {
  border: 1px solid rgba(202, 255, 0, 0.2);
  background: rgba(12, 16, 22, 0.74);
  color: #8a94a0;
  width: 24px;
  height: 24px;
  font-size: 12px;
  line-height: 1;
}

.macro-heat-tabs button.active {
  color: #d9ff4a;
  border-color: rgba(202, 255, 0, 0.55);
  box-shadow: inset 0 0 0 1px rgba(202, 255, 0, 0.25);
}

.macro-matrix-wrap {
  margin-top: 10px;
  overflow: auto;
}

.macro-matrix {
  width: 100%;
  border-collapse: separate;
  border-spacing: 4px;
}

.macro-matrix th,
.macro-matrix td {
  text-align: center;
  padding: 10px 8px;
  font-family: "Space Grotesk", "Inter", sans-serif;
}

.macro-matrix thead th {
  color: #b4c2d0;
  font-size: 12px;
  font-weight: 600;
}

.macro-matrix tbody th {
  color: #b4c2d0;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid rgba(202, 255, 0, 0.12);
  background: rgba(9, 13, 17, 0.68);
}

.macro-matrix td {
  font-size: 30px;
  line-height: 1;
  color: #0d1318;
  font-weight: 700;
}

.macro-matrix td.hot {
  background: #caff00;
}

.macro-matrix td.warm {
  background: #d9ff4a;
}

.macro-matrix td.cool {
  background: #79f8ff;
}

@media (max-width: 390px) {
  .macro-core-head h2,
  .macro-heat-head h3 {
    font-size: 20px;
  }

  .macro-core-item strong {
    font-size: 32px;
  }

  .macro-matrix td {
    font-size: 24px;
  }
}

.calendar-zone {
  margin-top: 8px;
}

.calendar-zone-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.calendar-zone-head h2 {
  margin: 0;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 19px;
  letter-spacing: 0.2px;
}

.calendar-head-right {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.calendar-head-right span {
  color: var(--muted);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.calendar-toggle {
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(19, 27, 36, 0.8);
  color: #acc6dc;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.calendar-toggle-icon {
  width: 8px;
  height: 8px;
  border-right: 1.6px solid currentColor;
  border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 0.2s ease;
}

.calendar-toggle-icon.expanded {
  transform: rotate(-135deg) translateY(-1px);
}

.calendar-scroller {
  margin-top: 8px;
  display: flex;
  gap: 10px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  white-space: nowrap;
  padding-bottom: 2px;
}

.calendar-scroller::-webkit-scrollbar {
  display: none;
}

.cal-card {
  min-width: 276px;
  max-width: 276px;
  border: 1px solid var(--line-soft);
  background: linear-gradient(180deg, rgba(18, 24, 32, 0.74) 0%, rgba(12, 18, 26, 0.62) 100%);
  padding: 12px;
  border-radius: 4px;
}

.cal-time {
  color: var(--primary);
  font-size: 11px;
  font-family: "Manrope", "Inter", sans-serif;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.cal-title {
  margin: 8px 0 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.32;
  color: #f5fbff;
  word-break: break-word;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cal-meta {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  align-items: center;
}

.cal-meta span {
  font-size: 10px;
}

.imp {
  border-radius: 999px;
  padding: 3px 8px;
  line-height: 1;
  font-weight: 700;
}

.imp-high {
  color: #ffd0d4;
  background: rgba(159, 5, 25, 0.36);
}

.imp-medium {
  color: #ffe2b0;
  background: rgba(122, 82, 18, 0.36);
}

.imp-low {
  color: #d6ffd9;
  background: rgba(31, 88, 57, 0.36);
}

.status {
  color: #bac5d0;
}

.liq-zone {
  margin-top: 14px;
  border: 1px solid var(--line-soft);
  border-radius: 8px;
  background: rgba(9, 13, 18, 0.54);
  padding: 10px;
}

.liq-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.liq-symbols {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.liq-symbol-btn,
.liq-refresh-btn {
  border: 1px solid var(--line);
  background: rgba(20, 28, 36, 0.7);
  color: #bad4e6;
  border-radius: 999px;
  font-size: 11px;
  padding: 4px 10px;
}

.liq-symbol-btn.active {
  border-color: rgba(138, 245, 255, 0.5);
  color: #9df6ff;
  box-shadow: inset 0 0 0 1px rgba(138, 245, 255, 0.25);
}

.liq-summary {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.liq-summary-card {
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  background: rgba(16, 22, 29, 0.56);
  padding: 8px 10px;
}

.liq-summary-card span {
  display: block;
  font-size: 11px;
  color: #98a9b9;
}

.liq-summary-card strong {
  margin-top: 4px;
  display: block;
  font-size: 15px;
  color: #e8f9ff;
}

.liq-summary-card strong.up {
  color: var(--up);
}

.liq-summary-card strong.down {
  color: var(--danger);
}

.liq-summary-card strong.flat {
  color: #a7b8c9;
}

.liq-legend {
  margin-top: 10px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 10px;
  color: #9fb2c3;
}

.liq-legend i {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  display: inline-block;
  margin-right: 4px;
}

.dot-short {
  background: #ff7a77;
}

.dot-long {
  background: #72e4ff;
}

.dot-depth {
  background: #a2ff8e;
}

.liq-map {
  margin-top: 10px;
  max-height: 360px;
  overflow: auto;
  padding-right: 2px;
}

.liq-map::-webkit-scrollbar {
  width: 4px;
}

.liq-map::-webkit-scrollbar-thumb {
  background: rgba(151, 187, 211, 0.28);
  border-radius: 999px;
}

.liq-row {
  display: grid;
  grid-template-columns: 72px 1fr 60px;
  gap: 8px;
  align-items: center;
  padding: 5px 0;
  border-bottom: 1px dashed rgba(151, 187, 211, 0.08);
}

.liq-price {
  color: #d8ebfa;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.liq-bars {
  position: relative;
  height: 16px;
  display: flex;
  align-items: stretch;
}

.liq-half {
  width: 50%;
  display: flex;
  align-items: center;
}

.liq-half.left {
  justify-content: flex-end;
}

.liq-half.right {
  justify-content: flex-start;
}

.liq-divider {
  width: 1px;
  background: rgba(190, 218, 235, 0.34);
}

.bar {
  height: 8px;
  border-radius: 2px;
  display: block;
  max-width: 100%;
}

.bar.short {
  background: linear-gradient(90deg, rgba(255, 122, 119, 0.1), rgba(255, 122, 119, 0.92));
}

.bar.long {
  background: linear-gradient(90deg, rgba(114, 228, 255, 0.92), rgba(114, 228, 255, 0.12));
}

.bar.depth {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  height: 2px;
  background: rgba(162, 255, 142, 0.88);
  border-radius: 999px;
  pointer-events: none;
}

.liq-total {
  text-align: right;
  color: #90a7b9;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}

.liq-leverage {
  margin-top: 10px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.lev-card {
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  background: rgba(14, 20, 27, 0.56);
  padding: 8px;
}

.lev-card p {
  margin: 0;
  font-size: 11px;
  color: #a8c0d3;
}

.lev-pair {
  margin-top: 6px;
  display: grid;
  gap: 4px;
}

.lev-pair span {
  font-size: 11px;
  color: #d7ebf9;
  font-variant-numeric: tabular-nums;
}

.lev-card small {
  margin-top: 6px;
  display: block;
  color: #8fa8ba;
  font-size: 10px;
}

.feed-zone {
  margin-top: 16px;
}

.feed-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.feed-head h2 {
  margin: 0;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 19px;
  letter-spacing: 0.2px;
}

.feed-item {
  display: flex;
  gap: 12px;
  padding: 12px 10px;
  border-top: 1px solid var(--line-soft);
  background: rgba(7, 10, 14, 0.22);
}

.feed-score-box {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  border: 1px solid rgba(138, 245, 255, 0.34);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
}

.feed-score {
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  color: var(--primary);
}

.feed-score-label {
  font-size: 8px;
  line-height: 1;
  color: rgba(138, 245, 255, 0.72);
  letter-spacing: 0.5px;
}

.feed-main {
  min-width: 0;
  flex: 1;
}

.feed-meta-line {
  display: flex;
  align-items: center;
  gap: 6px;
}

.feed-module {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--secondary);
}

.dot {
  color: #7d8995;
  font-size: 11px;
}

.feed-rel {
  font-size: 10px;
  color: #8f9ba8;
}

.feed-title {
  margin: 5px 0 0;
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 17px;
  line-height: 1.34;
  font-weight: 700;
  color: #f5faff;
  word-break: break-word;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.feed-title.expanded {
  display: block;
  -webkit-line-clamp: initial;
}

.feed-content {
  margin: 6px 0 0;
  color: #ced8e2;
  font-size: 14px;
  line-height: 1.46;
  word-break: break-word;
  overflow-wrap: anywhere;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.feed-content.expanded {
  display: block;
  -webkit-line-clamp: initial;
}

.feed-bottom-row {
  margin-top: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.feed-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.feed-tags span {
  border: 1px solid rgba(118, 117, 117, 0.42);
  border-radius: 2px;
  padding: 3px 7px;
  font-size: 11px;
  line-height: 1.2;
  color: #d6dfe8;
  background: rgba(23, 28, 34, 0.84);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.feed-expand {
  width: 20px;
  height: 20px;
  border: 1px solid rgba(118, 117, 117, 0.42);
  border-radius: 2px;
  background: rgba(22, 29, 36, 0.82);
  color: #9bacba;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  flex-shrink: 0;
}

.feed-expand-icon {
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 0.2s ease;
}

.feed-expand.expanded .feed-expand-icon {
  transform: rotate(-135deg) translateY(-1px);
}

.empty {
  margin: 12px 0;
  color: var(--muted);
  font-size: 12px;
}

.ticker-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 70;
  padding: 0 0 env(safe-area-inset-bottom);
  height: 35px;
  background: rgba(8, 11, 14, 0.95);
  border-top: 1px solid rgba(72, 72, 71, 0.3);
}

.ticker-track {
  max-width: 430px;
  margin: 0 auto;
  height: 35px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.ticker-run {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
  gap: 18px;
  padding-left: 10px;
  animation: tickerMove 30s linear infinite;
}

.ticker-item {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  white-space: nowrap;
  font-size: 11px;
}

.ticker-item b {
  color: #cfd9e5;
  letter-spacing: 0.4px;
}

.ticker-item em {
  color: #eef5fd;
  font-style: normal;
}

.ticker-item i {
  font-style: normal;
  font-weight: 700;
}

.ticker-item.up i {
  color: var(--up);
}

.ticker-item.down i {
  color: var(--danger);
}

.ticker-item.flat i {
  color: #a3b0bd;
}

.ticker-empty {
  color: #9ca8b5;
  font-size: 10px;
  padding-left: 12px;
}

/* ===== Premium UI Refine (structure unchanged) ===== */
body {
  position: relative;
  overflow-x: hidden;
  background:
    radial-gradient(48% 28% at 14% -6%, rgba(33, 212, 253, 0.19), transparent 70%),
    radial-gradient(44% 26% at 88% 2%, rgba(255, 75, 217, 0.12), transparent 72%),
    linear-gradient(180deg, #040507 0%, #0a0f16 48%, #0e141b 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(155, 198, 225, 0.08) 0.8px, transparent 0.8px);
  background-size: 14px 14px;
  opacity: 0.22;
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.04) 0%, transparent 24%, transparent 72%, rgba(0, 0, 0, 0.24) 100%);
  z-index: -1;
}

.app-shell {
  max-width: 434px;
  padding: 0 14px calc(env(safe-area-inset-bottom) + 58px);
}

.topbar {
  top: 8px;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  width: calc(100% - 20px);
  max-width: 414px;
  padding: calc(env(safe-area-inset-top) + 10px) 14px 12px;
  border: 1px solid var(--stroke-soft);
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(9, 14, 21, 0.9), rgba(8, 12, 18, 0.8));
  backdrop-filter: var(--blur-strong);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.brand-title {
  font-size: 30px;
  letter-spacing: 0.6px;
}

.brand-sub {
  margin-top: 4px;
  color: rgba(168, 205, 228, 0.8);
}

.wallet-btn {
  border-radius: var(--radius-pill);
  border: 1px solid rgba(138, 245, 255, 0.4);
  background: linear-gradient(135deg, rgba(138, 245, 255, 0.22), rgba(68, 196, 255, 0.18));
  color: #d8fbff;
  padding: 8px 14px;
  box-shadow: 0 8px 20px rgba(31, 120, 156, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.22);
  transition: transform 0.2s ease, box-shadow 0.25s ease, border-color 0.2s ease, background 0.25s ease;
}

.main-canvas {
  padding-top: calc(env(safe-area-inset-top) + 96px);
}

.tabs-shell {
  margin-top: 10px;
}

.tabs-wrap {
  border: 1px solid var(--stroke-soft);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(14, 21, 31, 0.74), rgba(10, 16, 23, 0.64));
  padding: 8px 8px;
  border-bottom: 1px solid var(--stroke-soft);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 10px 24px rgba(0, 0, 0, 0.26);
}

.tabs-track {
  gap: 8px;
  padding: 0;
}

.tabs-fade-right,
.tabs-fade-left {
  width: 34px;
  bottom: 0;
}

.tabs-fade-right {
  background: linear-gradient(to left, rgba(12, 18, 25, 0.95), rgba(12, 18, 25, 0));
}

.tabs-fade-left {
  background: linear-gradient(to right, rgba(12, 18, 25, 0.95), rgba(12, 18, 25, 0));
}

.tab-btn {
  padding: 8px 14px;
  border: 1px solid rgba(143, 172, 194, 0.2);
  border-radius: var(--radius-pill);
  color: #9fb0bf;
  font-size: 14px;
  border-bottom: 1px solid rgba(143, 172, 194, 0.2);
  background: rgba(20, 29, 39, 0.5);
  transition: color 0.2s ease, border-color 0.2s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.tab-btn.active {
  color: #d6faff;
  border-bottom-color: rgba(138, 245, 255, 0.42);
  border-color: rgba(138, 245, 255, 0.42);
  background: linear-gradient(135deg, rgba(138, 245, 255, 0.22), rgba(90, 179, 255, 0.14));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 8px 18px rgba(21, 129, 170, 0.2);
}

.hero-head {
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px solid var(--stroke-soft);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(15, 23, 33, 0.74), rgba(10, 17, 26, 0.58));
  box-shadow: var(--shadow-soft);
}

.hero-head h1 {
  font-size: 24px;
}

.hero-head p {
  margin-top: 6px;
  font-size: 13px;
}

.live-tip {
  color: rgba(145, 247, 255, 0.82) !important;
}

.arb-hero-wrap,
.smart-hero-wrap,
.whale-hero-wrap,
.macro-hero-wrap {
  margin-top: 14px;
  gap: 12px;
}

.arb-hero-card,
.smart-hero-card,
.whale-hero-card,
.macro-core-card,
.macro-heat-card,
.liq-zone {
  border-radius: var(--radius-lg);
  border: 1px solid var(--stroke-soft);
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.arb-hero-card::after,
.smart-hero-card::after,
.whale-hero-card::after,
.macro-core-card::after,
.macro-heat-card::after {
  border-radius: calc(var(--radius-lg) - 1px);
}

.calendar-zone {
  margin-top: 16px;
}

.calendar-zone-head {
  margin-bottom: 10px;
}

.calendar-zone-head h2 {
  font-size: 22px;
}

.calendar-toggle {
  width: 30px;
  height: 30px;
  border-color: var(--stroke-soft);
  background: rgba(20, 28, 37, 0.72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.calendar-scroller {
  gap: 12px;
  padding-bottom: 6px;
}

.cal-card {
  border-radius: var(--radius-md);
  border-color: var(--stroke-soft);
  background: linear-gradient(180deg, rgba(17, 25, 35, 0.76) 0%, rgba(11, 18, 27, 0.64) 100%);
  box-shadow: var(--shadow-soft);
  padding: 14px;
}

.feed-zone {
  margin-top: 24px;
}

.feed-head {
  margin-bottom: 12px;
  padding: 0 2px;
}

.feed-head h2 {
  font-size: 22px;
}

.feed-item {
  border-top: 0;
  border: 1px solid var(--stroke-soft);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(15, 22, 31, 0.78), rgba(10, 16, 24, 0.64));
  box-shadow: var(--shadow-soft);
  padding: 14px 12px;
  gap: 14px;
  transition: transform 0.22s ease, box-shadow 0.26s ease, border-color 0.24s ease, background 0.24s ease;
}

.feed-item + .feed-item {
  margin-top: 12px;
}

.feed-score-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  border-color: rgba(138, 245, 255, 0.32);
  background: linear-gradient(180deg, rgba(19, 30, 41, 0.82), rgba(13, 23, 34, 0.68));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.feed-score {
  font-size: 21px;
}

.feed-score-label {
  letter-spacing: 0.7px;
}

.feed-meta-line {
  gap: 8px;
}

.feed-module {
  font-size: 10px;
  padding: 2px 8px;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(255, 75, 217, 0.3);
  background: rgba(255, 75, 217, 0.08);
}

.dot {
  color: #778797;
}

.feed-rel {
  color: #8ea0b0;
}

.feed-title {
  margin-top: 8px;
  font-size: 23px;
  line-height: 1.3;
}

.feed-content {
  margin-top: 9px;
  font-size: 19px;
  line-height: 1.52;
  color: #d2dee9;
}

.feed-bottom-row {
  margin-top: 12px;
}

.feed-tags {
  gap: 7px;
}

.feed-tags span {
  border-radius: var(--radius-pill);
  border-color: rgba(167, 187, 205, 0.34);
  background: rgba(20, 28, 37, 0.64);
  padding: 5px 10px;
  font-size: 12px;
  letter-spacing: 0.25px;
}

.feed-expand {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-sm);
  border-color: rgba(164, 184, 203, 0.36);
  background: rgba(21, 29, 38, 0.74);
}

.feed-expand-icon {
  width: 7px;
  height: 7px;
}

.liq-zone {
  margin-top: 18px;
  padding: 12px;
}

.liq-symbol-btn,
.liq-refresh-btn {
  border-radius: var(--radius-pill);
  border-color: rgba(164, 184, 203, 0.35);
  background: rgba(19, 27, 36, 0.72);
  padding: 6px 12px;
}

.liq-summary-card,
.lev-card {
  border-radius: var(--radius-md);
  border-color: var(--stroke-soft);
  background: rgba(14, 21, 29, 0.66);
}

.ticker-bar {
  background: rgba(8, 12, 16, 0.88);
  border-top: 1px solid rgba(170, 206, 232, 0.24);
  backdrop-filter: var(--blur-mid);
}

.ticker-track {
  max-width: 434px;
}

.ticker-item {
  font-size: 12px;
  gap: 8px;
}

@media (hover: hover) and (pointer: fine) {
  .wallet-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(155, 248, 255, 0.62);
    box-shadow: 0 12px 24px rgba(35, 145, 186, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.28);
    background: linear-gradient(135deg, rgba(138, 245, 255, 0.28), rgba(95, 194, 255, 0.2));
  }

  .tab-btn:hover {
    color: #d5f7ff;
    border-color: rgba(138, 245, 255, 0.35);
    background: rgba(22, 32, 43, 0.72);
  }

  .feed-item:hover {
    transform: translateY(-2px);
    border-color: var(--stroke-glow);
    background: linear-gradient(180deg, rgba(18, 27, 38, 0.82), rgba(12, 19, 28, 0.7));
    box-shadow: var(--shadow-float), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  }

  .cal-card:hover,
  .arb-hero-card:hover,
  .smart-hero-card:hover,
  .whale-hero-card:hover,
  .macro-core-card:hover,
  .macro-heat-card:hover,
  .liq-zone:hover {
    border-color: rgba(138, 245, 255, 0.32);
    box-shadow: var(--shadow-float), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  }

}

@media (max-width: 430px) {
  .topbar {
    top: 6px;
    width: calc(100% - 16px);
  }

  .feed-title {
    font-size: 21px;
  }

  .feed-content {
    font-size: 18px;
  }
}

@keyframes tickerMove {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ===== FlashNews AI 快判 ===== */
.ai-judge-shell {
  margin-top: 11px;
  border: 1px solid rgba(133, 187, 222, 0.2);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(15, 22, 31, 0.72) 0%, rgba(11, 17, 24, 0.62) 100%),
    radial-gradient(90% 130% at 0% 0%, rgba(138, 245, 255, 0.08), transparent 72%);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  overflow: hidden;
}

.ai-judge-toggle {
  width: 100%;
  border: 0;
  background: transparent;
  color: #d9eefc;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 11px;
  cursor: pointer;
}

.ai-judge-name {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2px;
  color: #9ef8ff;
}

.ai-judge-mini {
  margin-left: auto;
  font-size: 11px;
  color: #90a7bb;
}

.ai-judge-caret {
  width: 7px;
  height: 7px;
  border-right: 1.5px solid #9dc0d8;
  border-bottom: 1.5px solid #9dc0d8;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  flex-shrink: 0;
  margin-top: -2px;
}

.ai-judge-caret.expanded {
  transform: rotate(-135deg);
  margin-top: 2px;
}

.ai-judge-compact {
  padding: 0 11px 11px;
}

.ai-chip-row {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
}

.ai-chip {
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 11px;
  line-height: 1.2;
  border: 1px solid rgba(152, 188, 214, 0.32);
  color: #d6e9f8;
  background: rgba(21, 31, 42, 0.66);
}

.ai-chip.bias {
  color: #9ff6ff;
  border-color: rgba(138, 245, 255, 0.36);
  background: rgba(138, 245, 255, 0.12);
}

.ai-chip.impact {
  color: #ffe4f8;
  border-color: rgba(255, 75, 217, 0.34);
  background: rgba(255, 75, 217, 0.11);
}

.ai-chip.conf {
  color: #d3dfeb;
}

.ai-quick-line {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.45;
  color: #d1ddea;
}

.ai-judge-detail {
  padding: 0 11px 11px;
  display: grid;
  gap: 9px;
}

.ai-status-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}

.ai-status-item {
  border-radius: 10px;
  border: 1px solid rgba(145, 182, 206, 0.26);
  background: rgba(19, 29, 40, 0.66);
  padding: 7px 8px;
}

.ai-status-item small {
  display: block;
  font-size: 10px;
  color: #7f97ab;
  margin-bottom: 3px;
}

.ai-status-item strong {
  font-size: 12px;
  color: #e5f4ff;
  font-weight: 700;
  line-height: 1.2;
}

.ai-block {
  border-radius: 10px;
  border: 1px solid rgba(145, 182, 206, 0.24);
  background: rgba(18, 27, 37, 0.62);
  padding: 8px 9px;
}

.ai-block h4 {
  margin: 0 0 5px;
  font-size: 11px;
  color: #9bf2fd;
  letter-spacing: 0.2px;
}

.ai-block p {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: #d0ddea;
}

.ai-kv-grid,
.ai-tf-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.ai-kv-grid > div,
.ai-tf-grid > div {
  border-radius: 8px;
  border: 1px solid rgba(143, 179, 202, 0.24);
  padding: 5px 6px;
  background: rgba(15, 23, 33, 0.6);
}

.ai-kv-grid small,
.ai-tf-grid small,
.ai-level-grid small {
  display: block;
  font-size: 10px;
  color: #7c95a9;
  margin-bottom: 2px;
}

.ai-kv-grid span,
.ai-tf-grid span,
.ai-level-grid span {
  font-size: 12px;
  color: #e2f0fc;
  line-height: 1.35;
  word-break: break-word;
}

.ai-level-grid {
  display: grid;
  gap: 6px;
}

.ai-level-grid p {
  margin: 0;
  border-radius: 8px;
  border: 1px solid rgba(143, 179, 202, 0.24);
  background: rgba(15, 23, 33, 0.6);
  padding: 5px 6px;
}

.ai-disclaimer {
  margin: 0;
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px dashed rgba(137, 168, 190, 0.32);
  background: rgba(17, 24, 32, 0.56);
  color: #8ea4b8;
  font-size: 10px;
  line-height: 1.4;
}

@media (hover: hover) and (pointer: fine) {
  .ai-judge-shell:hover {
    border-color: rgba(138, 245, 255, 0.3);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.32), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  }
}
