@font-face {
  font-family: 'Noto Sans';
  font-weight: 700;
  font-display: block;
  src: url(noto-sans-latin-700.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Noto Sans';
  font-weight: 700;
  font-display: block;
  src: url(noto-sans-cyrillic-700.woff2) format('woff2');
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116;
}
@font-face {
  font-family: 'Noto Sans';
  font-weight: 700;
  font-display: block;
  src: url(noto-sans-vietnamese-700.woff2) format('woff2');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB;
}

:root {
  --safe-top: calc(var(--tg-safe-area-inset-top, env(safe-area-inset-top, 0px)) + var(--tg-content-safe-area-inset-top, 0px));
}

:root,
[data-theme="light"] {
  --bg: #F3F5F7;
  --surface-solid: #FFFFFF;
  --surface-glass: rgba(255, 255, 255, 0.88);
  --surface-glass-strong: rgba(255, 255, 255, 0.96);
  --surface-subtle: rgba(15, 23, 42, 0.048);
  --surface-hover: rgba(15, 23, 42, 0.085);
  --surface-card: #FFFFFF;

  --border: rgba(15, 23, 42, 0.085);
  --border-strong: rgba(15, 23, 42, 0.15);

  --text: #0F172A;
  --text-secondary: #475569;
  --text-muted: #64748B;

  --emerald: #10B981;
  --emerald-soft: rgba(16, 185, 129, 0.12);
  --emerald-text: #047857;
  --emerald-border: rgba(16, 185, 129, 0.32);

  --ai: #7C3AED;
  --ai-soft: rgba(124, 58, 237, 0.10);
  --ai-border: rgba(124, 58, 237, 0.32);
  --ai-text: #6D28D9;

  --danger: #E11D48;
  --danger-soft: rgba(225, 29, 72, 0.10);
  --warn: #D97706;
  --warn-soft: rgba(245, 158, 11, 0.12);
  --warn-border: rgba(245, 158, 11, 0.30);

  --map-ground: #F3F5F7;
  --map-grid: rgba(15, 23, 42, 0.028);
  --map-block: #EAEFF4;
  --map-park: #DCEFE3;
  --map-park-stroke: #C8E5D3;
  --map-water: #C8E4F8;
  --map-water-stroke: #B2D7F4;
  --map-road-casing: #DCE3EC;
  --map-road-fill: #FFFFFF;
  --map-road-minor: rgba(255, 255, 255, 0.85);
  --map-metro: #4F46E5;
  --map-metro-glow: rgba(79, 70, 229, 0.25);
  --map-metro-station-bg: #FFFFFF;
  --map-label: rgba(51, 65, 85, 0.62);
  --map-park-label: rgba(21, 128, 61, 0.58);
  --map-metro-label: rgba(67, 56, 202, 0.85);
  --map-aura-opacity: 0;

  --pin-bg: #111827;
  --pin-text: #FFFFFF;
  --pin-border: rgba(255, 255, 255, 0.16);
  --pin-shadow: 0 5px 15px rgba(15, 23, 42, 0.22), 0 1px 3px rgba(15, 23, 42, 0.14);
  --pin-visited-bg: rgba(100, 116, 139, 0.72);
  --pin-visited-text: #FFFFFF;
  --pin-active-bg: #10B981;
  --pin-active-text: #FFFFFF;
  --pin-active-ring: #10B981;

  --cta-primary-bg: #111827;
  --cta-primary-text: #FFFFFF;

  --shadow-float: 0 12px 32px -6px rgba(15, 23, 42, 0.13), 0 2px 8px rgba(15, 23, 42, 0.05);
  --shadow-card: 0 3px 12px rgba(15, 23, 42, 0.05);
  --shadow-modal: 0 24px 64px -12px rgba(15, 23, 42, 0.24);
  --backdrop: rgba(15, 23, 42, 0.36);
}

[data-theme="dark"] {
  --bg: #11161F;
  --surface-solid: #19202C;
  --surface-glass: rgba(20, 26, 37, 0.88);
  --surface-glass-strong: rgba(20, 26, 37, 0.96);
  --surface-subtle: rgba(255, 255, 255, 0.065);
  --surface-hover: rgba(255, 255, 255, 0.11);
  --surface-card: #1C2432;

  --border: rgba(255, 255, 255, 0.11);
  --border-strong: rgba(255, 255, 255, 0.20);

  --text: #F1F5F9;
  --text-secondary: #A3B1C6;
  --text-muted: #7F8FA6;

  --emerald: #26C48E;
  --emerald-soft: rgba(38, 196, 142, 0.15);
  --emerald-text: #45DDA5;
  --emerald-border: rgba(38, 196, 142, 0.36);

  --ai: #A78BFA;
  --ai-soft: rgba(167, 139, 250, 0.15);
  --ai-border: rgba(167, 139, 250, 0.40);
  --ai-text: #DDD6FE;

  --danger: #FB7185;
  --danger-soft: rgba(251, 113, 133, 0.16);
  --warn: #FBBF24;
  --warn-soft: rgba(251, 191, 36, 0.14);
  --warn-border: rgba(251, 191, 36, 0.32);

  --map-ground: #1B212C;
  --map-grid: rgba(255, 255, 255, 0.03);
  --map-block: #232B39;
  --map-park: #19322A;
  --map-park-stroke: rgba(52, 211, 153, 0.16);
  --map-water: #122D4C;
  --map-water-stroke: rgba(96, 165, 250, 0.22);
  --map-road-casing: #131822;
  --map-road-fill: #3F4F69;
  --map-road-minor: #2B3547;
  --map-metro: #8B94FA;
  --map-metro-glow: rgba(129, 140, 248, 0.22);
  --map-metro-station-bg: #1B212C;
  --map-label: rgba(203, 213, 225, 0.72);
  --map-park-label: rgba(110, 231, 183, 0.62);
  --map-metro-label: rgba(196, 204, 255, 0.80);
  --map-aura-opacity: 0.10;

  --pin-bg: #EEF2F7;
  --pin-text: #0F172A;
  --pin-border: rgba(15, 23, 42, 0.22);
  --pin-shadow: 0 6px 18px rgba(0, 0, 0, 0.48), 0 1px 4px rgba(0, 0, 0, 0.32);
  --pin-visited-bg: rgba(54, 66, 86, 0.90);
  --pin-visited-text: #94A3B8;
  --pin-active-bg: #26C48E;
  --pin-active-text: #062018;
  --pin-active-ring: #26C48E;

  --cta-primary-bg: #EEF2F7;
  --cta-primary-text: #0F172A;

  --shadow-float: 0 14px 36px rgba(0, 0, 0, 0.52), 0 2px 8px rgba(0, 0, 0, 0.30);
  --shadow-card: 0 4px 16px rgba(0, 0, 0, 0.28);
  --shadow-modal: 0 28px 72px rgba(0, 0, 0, 0.72);
  --backdrop: rgba(8, 11, 17, 0.68);
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100vw;
  height: 100dvh;
  overflow: hidden;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  transition: background-color 0.25s ease, color 0.2s ease;
}

.font-mono-num {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-variant-numeric: tabular-nums;
}

.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
#sidebarDistrictRow, #sidebarAiTagsRow {
  padding-right: 28px;
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent);
  mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent);
}
#sidebarDistrictRow > *, #sidebarAiTagsRow > * { flex-shrink: 0; }

.soft-scroll::-webkit-scrollbar { width: 5px; height: 5px; }
.soft-scroll::-webkit-scrollbar-track { background: transparent; }
.soft-scroll::-webkit-scrollbar-thumb {
  background: var(--border-strong);
  border-radius: 999px;
}

.map-viewport {
  position: fixed;
  inset: 0;
  z-index: 10;
  overflow: hidden;
  background: var(--map-ground);
  cursor: grab;
  touch-action: none;
  user-select: none;
  transition: background-color 0.3s ease;
}
.map-viewport:active { cursor: grabbing; }

.map-offline {
  position: fixed;
  top: calc(env(safe-area-inset-top, 0px) + 16px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 12;
  max-width: calc(100vw - 32px);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
  background: var(--warn-soft);
  border: 1px solid var(--warn-border);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: var(--shadow-float);
  pointer-events: none;
}

.map-world {
  position: absolute;
  left: 0;
  top: 0;
  width: 1800px;
  height: 1300px;
  transform-origin: 0 0;
  will-change: transform;
}

.map-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.map-aura {
  position: absolute;
  border-radius: 9999px;
  filter: blur(68px);
  pointer-events: none;
  opacity: var(--map-aura-opacity);
  transition: opacity 0.35s ease;
}

.district-lbl {
  position: absolute;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--map-label);
  pointer-events: none;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.park-lbl {
  position: absolute;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--map-park-label);
  pointer-events: none;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.metro-lbl {
  position: absolute;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--map-metro-label);
  pointer-events: none;
  white-space: nowrap;
  padding: 1px 5px;
  border-radius: 6px;
  background: var(--surface-glass);
  border: 1px solid var(--border);
  transition: color 0.3s ease, background-color 0.3s ease;
}

.map-pin {
  position: absolute;
  transform: translate(-50%, -50%) scale(1);
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 11px;
  border-radius: 9999px;
  background: var(--pin-bg);
  color: var(--pin-text);
  border: 1.5px solid var(--pin-border);
  box-shadow: var(--pin-shadow);
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
  cursor: pointer;
  z-index: 20;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1),
              background-color 0.18s ease,
              border-color 0.18s ease,
              color 0.18s ease,
              opacity 0.2s ease,
              box-shadow 0.2s ease;
}

.map-pin .pin-dot {
  width: 6px;
  height: 6px;
  border-radius: 9999px;
  flex-shrink: 0;
}
.map-pin .pin-dot.deal {
  background: var(--emerald);
  box-shadow: 0 0 8px var(--emerald);
}
.map-pin .pin-dot.ai {
  background: var(--ai);
  box-shadow: 0 0 8px var(--ai);
}
.map-pin .pin-dot.warn {
  background: var(--warn);
}

.map-pin.ai-match {
  border-color: var(--ai);
  box-shadow: var(--pin-shadow), 0 0 0 2.5px var(--ai-soft);
}

.map-pin.is-visited {
  background: var(--pin-visited-bg);
  color: var(--pin-visited-text);
  border-color: transparent;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.10);
  opacity: 0.80;
}

.ico { flex: none; }

.map-pin:hover,
.map-pin.is-hovered {
  transform: translate(-50%, -50%) scale(1.16) !important;
  opacity: 1 !important;
  z-index: 28 !important;
  border-color: var(--emerald) !important;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.28), 0 0 0 3px var(--emerald-soft) !important;
}

.map-pin.is-hovered::before,
.map-pin.is-active::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 9999px;
  border: 1.5px solid var(--pin-active-ring);
  animation: pinPulse 1.6s cubic-bezier(0, 0, 0.2, 1) infinite;
  pointer-events: none;
}

.map-pin.is-active {
  background: var(--pin-active-bg) !important;
  color: var(--pin-active-text) !important;
  border-color: transparent !important;
  opacity: 1 !important;
  transform: translate(-50%, -50%) scale(1.20) !important;
  box-shadow: 0 12px 28px rgba(16, 185, 129, 0.38), 0 0 0 3px var(--surface-solid) !important;
  z-index: 30 !important;
}

.map-pin.is-active.ai-match {
  background: var(--ai) !important;
  color: #FFFFFF !important;
  box-shadow: 0 12px 28px rgba(124, 58, 237, 0.42), 0 0 0 3px var(--surface-solid) !important;
}

.map-pin.is-active.ai-match::before {
  border-color: var(--ai);
}

.map-pin.is-active .pin-dot {
  background: currentColor !important;
  box-shadow: none !important;
}

@keyframes pinPulse {
  0% { transform: scale(0.96); opacity: 0.78; }
  100% { transform: scale(1.42); opacity: 0; }
}

.glass-panel {
  background: var(--surface-glass);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-float);
  transition: background-color 0.25s ease, border-color 0.25s ease, transform 0.34s cubic-bezier(0.22, 1, 0.36, 1), right 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.glass-strong {
  background: var(--surface-glass-strong);
  backdrop-filter: blur(26px);
  -webkit-backdrop-filter: blur(26px);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-float);
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 9999px;
  background: var(--emerald);
  box-shadow: 0 0 10px var(--emerald);
  flex-shrink: 0;
}

.ui-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 11px;
  border-radius: 12px;
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color 0.16s ease,
    border-color 0.16s ease,
    color 0.16s ease,
    opacity 0.16s ease,
    transform 0.16s ease;
  user-select: none;
}
.ui-chip:hover { background: var(--surface-hover); color: var(--text); }
.ui-chip:active { transform: scale(0.96); }

.ui-chip.selected {
  background: var(--cta-primary-bg);
  color: var(--cta-primary-text);
  border-color: transparent;
}

.ui-chip.ai-chip {
  background: var(--ai-soft);
  color: var(--ai-text);
  border-color: var(--ai-border);
}
.ui-chip.ai-chip.selected {
  background: var(--ai);
  color: #FFFFFF;
  border-color: var(--ai);
}

.ui-chip.is-dimmed {
  opacity: 0.38;
}

.toggle-switch {
  width: 40px;
  height: 22px;
  border-radius: 9999px;
  background: var(--border-strong);
  position: relative;
  flex-shrink: 0;
  transition: background-color 0.2s ease;
}
.toggle-switch::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  border-radius: 9999px;
  background: #FFFFFF;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.24);
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.toggle-switch.on {
  background: var(--emerald);
}
.toggle-switch.on::after {
  transform: translateX(18px);
}

.desktop-sidebar {
  position: fixed;
  top: 16px;
  bottom: 16px;
  left: 16px;
  width: 390px;
  border-radius: 24px;
  z-index: 40;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.sidebar-collapsed .desktop-sidebar {
  transform: translateX(calc(-100% - 28px));
  pointer-events: none;
}

.sidebar-expand-pill {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 41;
  height: 44px;
  padding: 0 14px;
  border-radius: 9999px;
  display: none;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}

.sidebar-collapsed .sidebar-expand-pill {
  display: inline-flex;
}

.desktop-utils {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 42;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: right 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 1100px) {
  .detail-open .desktop-utils {
    right: 462px;
  }
  .detail-open .map-controls {
    right: 462px;
  }
}

.map-controls {
  position: fixed;
  right: 16px;
  bottom: 20px;
  z-index: 35;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: right 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.map-ctrl-btn {
  width: 38px;
  height: 38px;
  border-radius: 13px;
  color: var(--text-secondary);
  font-size: 16px;
  font-weight: 600;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.map-ctrl-btn:hover { color: var(--text); }
.map-ctrl-btn:active { transform: scale(0.93); }

.feed-card {
  position: relative;
  border-radius: 20px;
  background: var(--surface-card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}
.feed-card:hover,
.feed-card.is-hovered {
  border-color: var(--emerald);
  box-shadow: 0 10px 24px -8px rgba(15, 23, 42, 0.14), 0 0 0 1.5px var(--emerald-soft);
  transform: translateY(-1px);
}
.feed-card.is-active {
  border-color: var(--emerald);
  box-shadow: 0 0 0 2px var(--emerald-soft);
}

.detail-backdrop {
  position: fixed;
  inset: 0;
  z-index: 52;
  background: var(--backdrop);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.24s ease;
}

.detail-drawer {
  position: fixed;
  top: 16px;
  bottom: 16px;
  right: 16px;
  width: 430px;
  border-radius: 24px;
  z-index: 55;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateX(calc(100% + 32px));
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.25s ease;
}

.detail-open .detail-drawer {
  transform: translateX(0);
}

@media (max-width: 1099px) and (min-width: 768px) {
  .desktop-sidebar {
    width: 330px;
  }
  .detail-drawer {
    width: 400px;
  }
  .detail-open .detail-backdrop {
    opacity: 1;
    pointer-events: auto;
  }
}

.mobile-only { display: none; }

@media (max-width: 767px) {
  .desktop-only { display: none !important; }
  .mobile-only { display: flex; }

  .map-controls {
    right: 12px;
    bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  }

  .detail-drawer {
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    width: 100vw;
    border-radius: 0;
    border: none;
    transform: translateX(102%);
  }
}

.mobile-top-bar {
  position: fixed;
  top: calc(10px + var(--safe-top));
  left: 12px;
  right: 12px;
  z-index: 44;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  pointer-events: none;
}
.mobile-top-bar > * { pointer-events: auto; }
.m-top-left { display: flex; align-items: center; gap: 6px; min-width: 0; }
.m-brand-pill {
  height: 38px;
  padding: 0 13px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 700;
  flex-shrink: 0;
  color: var(--text);
  cursor: pointer;
}
.m-active-pill {
  height: 38px;
  max-width: 220px;
  min-width: 0;
  padding: 0 0 0 12px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  font-weight: 700;
  background: var(--emerald-soft);
  border: 1px solid var(--emerald-border);
  color: var(--emerald-text);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}
.m-active-text {
  min-width: 0;
  height: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.m-active-x {
  width: 36px;
  height: 100%;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  color: inherit;
  border-left: 1px solid var(--emerald-border);
  margin-left: 8px;
  cursor: pointer;
}
.m-util-pill {
  height: 38px;
  padding: 0 5px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
}
.pick {
  appearance: none;
  height: 30px;
  padding: 0 20px 0 8px;
  border-radius: 9px;
  background-color: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238b93a1' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-position: right 4px center;
  background-size: 12px 12px;
  background-repeat: no-repeat;
  color: var(--text-secondary);
  font-size: 12px;
  font-weight: 600;
  outline: none;
  cursor: pointer;
}
.pick:hover { background-color: var(--surface-subtle); }
.pick option { color: var(--text); background: var(--surface-solid); }
.pick-btn {
  height: 28px;
  padding: 0 8px 0 10px;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--text);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.pick-btn:hover { background: var(--surface-subtle); }
.pick-btn .ico { color: var(--text-muted); }
.pick-pop {
  position: fixed;
  z-index: 70;
  min-width: 232px;
  padding: 8px;
  border-radius: 16px;
}
.pick-head {
  padding: 8px 10px 6px;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.pick-row {
  width: 100%;
  min-height: 40px;
  padding: 0 10px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
  text-align: left;
}
.pick-row b { width: 24px; font-size: 12px; font-weight: 700; color: var(--text-secondary); }
.pick-row span { flex: 1; }
.pick-row:hover { background: var(--surface-subtle); }
.pick-row.selected { background: var(--emerald-soft); color: var(--emerald-text); }
.pick-row.selected b { color: inherit; }
.pick-row small { display: block; font-size: 11px; line-height: 1.2; color: var(--text-muted); }
.pick-row:disabled { opacity: 0.55; cursor: default; background: transparent; }
.side-tabs {
  display: flex;
  gap: 4px;
  margin-top: 12px;
  padding: 3px;
  border-radius: 12px;
  background: var(--surface-subtle);
  border: 1px solid var(--border);
}
.side-tab {
  flex: 1;
  height: 32px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
}
.side-tab b { font-size: 11px; opacity: 0.75; display: inline-block; text-align: left; font-variant-numeric: tabular-nums; }
.side-tab.selected { background: var(--surface-solid); color: var(--text); box-shadow: var(--shadow-float); }
#sidebarFavTab.selected { color: var(--danger); }
.side-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  min-height: 40px;
  padding: 4px 12px 4px 16px;
  flex-shrink: 0;
  border-bottom: 1px solid var(--border);
  background: var(--surface-subtle);
}
.side-bar[hidden] { display: none; }
.side-bar-count { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; white-space: nowrap; }
.side-bar-count b { color: var(--text); font-size: 13px; font-weight: 700; }
.side-bar-count span { font-size: 11px; color: var(--text-muted); }
.side-follow {
  height: 30px;
  padding: 0 10px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  background: var(--surface-solid);
  border: 1px solid var(--border);
  cursor: pointer;
  flex-shrink: 0;
}
.side-acts { flex-basis: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.side-acts .side-follow { justify-content: center; }
.mob-bar { padding: 0 16px; min-height: 48px; justify-content: space-between; background: transparent; }
.mob-bar .pick { padding-left: 0; }
.fav-card {
  margin-top: 12px;
  padding: 12px;
  border-radius: 16px;
  background: var(--emerald-soft);
  border: 1px solid var(--emerald-border);
}
.fav-card-title { font-size: 14px; font-weight: 700; color: var(--text); }
.fav-card-sub { margin-top: 2px; font-size: 12px; color: var(--text-secondary); }
.fav-card-acts { display: flex; gap: 8px; margin-top: 10px; }
.fav-card-copy {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  background: var(--surface-solid);
  border: 1px solid var(--border-strong);
  color: var(--text);
  cursor: pointer;
}
.fav-summary { padding: 0 16px 10px; font-size: 13px; color: var(--text-secondary); }
.fav-foot {
  display: flex;
  gap: 8px;
  padding: 10px 16px calc(14px + env(safe-area-inset-bottom, 0px));
  flex-shrink: 0;
  background: var(--bg);
  border-top: 1px solid var(--border);
}
.cta-secondary { background: var(--surface-subtle); color: var(--text); border: 1px solid var(--border-strong); font-weight: 600; flex: 1; min-width: 0; }
.cta-btn.done { background: var(--emerald-soft); color: var(--emerald-text); }
.share-acts { display: flex; flex-direction: column; gap: 8px; }
.share-ways { display: flex; gap: 8px; }
.share-native .share-ways { display: contents; }
.share-native #sharePrimary { order: -1; }
.tg-dot.wa-dot { background: #25D366; font-size: 9px; font-weight: 800; }
.share-ways .share-primary { flex: 1; }
.pv-thumb.pv-collage { width: 72px; height: 72px; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; }
.pv-collage span { background: var(--surface-hover); }
.pv-trust { margin-top: 5px; font-size: 11px; color: var(--emerald-text); }
.dock-icon b { font-size: 12px; margin-left: 4px; }
.dock-icon:has(b:not([hidden])) { width: auto; min-width: 44px; padding: 0 12px; display: inline-flex; align-items: center; gap: 2px; }
.dock-icon:has(b:not([hidden])) { background: var(--danger-soft); color: var(--danger); }
.util-btn {
  height: 28px;
  padding: 0 9px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--surface-subtle);
  color: var(--text);
  cursor: pointer;
}
.util-btn:hover { background: var(--surface-hover); }
.sheet-handle {
  width: 36px;
  height: 4px;
  border-radius: 9999px;
  background: var(--border-strong);
  margin: 8px auto 0;
  flex-shrink: 0;
}
.m-settings-row {
  padding: 10px 18px;
  border-top: 1px solid var(--border);
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  flex-shrink: 0;
}
.m-settings-row > div { display: flex; align-items: center; gap: 6px; }

.mobile-micro-card {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 82px;
  height: 116px;
  z-index: 45;
  border-radius: 22px;
  padding: 9px;
  display: flex;
  align-items: center;
  gap: 11px;
  cursor: pointer;
  transform: translateY(28px) scale(0.96);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.22s ease;
}

.mobile-micro-card { touch-action: none; }
.micro-pager {
  position: absolute;
  left: 50%;
  top: -52px;
  transform: translateX(-50%);
  height: 44px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  gap: 2px;
  padding: 0 4px;
  cursor: default;
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
}
.micro-pager[hidden] { display: none; }
.micro-pager button {
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  font-size: 24px;
  line-height: 1;
  color: var(--text);
  cursor: pointer;
}
.micro-pager button:disabled { opacity: 0.3; cursor: default; }
.micro-pager .micro-count { width: auto; min-width: 64px; padding: 0 6px; font-size: 13px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.mobile-micro-card.is-open {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: auto;
}

.dock-btn {
  height: 46px;
  border-radius: 9999px;
  font-size: 12.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
}
.dock-filter {
  flex: 1.1;
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  color: var(--text);
}
.dock-filter.active-ai {
  background: var(--ai-soft);
  border-color: var(--ai-border);
  color: var(--ai-text);
}
.dock-feed {
  flex: 1.15;
  background: var(--cta-primary-bg);
  color: var(--cta-primary-text);
  font-weight: 700;
}
.dock-icon {
  width: 44px;
  height: 44px;
  border-radius: 9999px;
  position: relative;
  font-size: 16px;
  color: var(--text-secondary);
  flex-shrink: 0;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.mobile-dock-wrap {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 48;
  justify-content: center;
}

.mobile-dock {
  width: 100%;
  max-width: 440px;
  height: 56px;
  padding: 5px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.mobile-feed-overlay {
  position: fixed;
  inset: 0;
  z-index: 42;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  transform: translateY(104%);
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-feed-overlay.is-open {
  transform: translateY(0);
}

.masonry-grid {
  flex: 1;
  overflow-y: auto;
  padding: 8px 12px 90px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  align-content: start;
}

.masonry-card {
  position: relative;
  height: 232px;
  border-radius: 20px;
  overflow: hidden;
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  cursor: pointer;
}
.masonry-card:nth-child(3n+1) { height: 258px; }

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 68;
  background: var(--backdrop);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease;
}
.modal-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog {
  position: fixed;
  z-index: 72;
  left: 50%;
  top: 50%;
  width: min(476px, calc(100vw - 24px));
  max-height: min(86dvh, 760px);
  border-radius: 26px;
  box-shadow: var(--shadow-modal);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translate(-50%, -46%) scale(0.95);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
}
.modal-dialog.is-open {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 767px) {
  .modal-dialog.mobile-sheet {
    top: auto;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-height: 88dvh;
    border-radius: 26px 26px 0 0;
    transform: translateY(104%);
  }
  .modal-dialog.mobile-sheet.is-open {
    transform: translateY(0);
  }
}
.modal-dialog { line-height: normal; }
.modal-head {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.modal-head-title, .modal-head-acts { display: flex; align-items: center; }
.modal-head-title { gap: 8px; }
.modal-head-acts { gap: 10px; }
.modal-title { font-size: 15.5px; font-weight: 700; color: var(--text); }
.modal-reset {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
}
.modal-reset:disabled { opacity: 0.4; cursor: default; }
.badge-pill {
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 9999px;
  background: var(--ai-soft);
  color: var(--ai-text);
}
.circle-sm {
  position: relative;
  width: 28px;
  height: 28px;
  border-radius: 9999px;
  display: grid;
  place-items: center;
  font-size: 12px;
  background: var(--surface-subtle);
  color: var(--text-secondary);
  cursor: pointer;
}
.circle-sm::after { content: ''; position: absolute; inset: -5px; }
.modal-body {
  flex: 1;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.modal-foot {
  padding: 12px 18px calc(14px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 20px rgba(15, 23, 42, 0.06);
  flex-shrink: 0;
  display: flex;
  gap: 8px;
}
.cta-btn {
  height: 46px;
  padding: 0 13px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: opacity 0.14s ease, transform 0.14s ease;
}
.cta-btn:active { transform: scale(0.97); }
.cta-primary {
  background: var(--cta-primary-bg);
  color: var(--cta-primary-text);
  font-weight: 700;
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.f-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.f-row { display: flex; flex-wrap: wrap; gap: 6px; }
.f-ai {
  margin: 0 -14px;
  padding: 12px 14px;
  border-radius: 16px;
  background: linear-gradient(180deg, var(--ai-soft), transparent);
  border-top: 1px solid var(--ai-border);
}
.f-ai .f-title { color: var(--ai-text); }
.f-price { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.f-price-dash { color: var(--text-muted); }
.f-price-field {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  border-radius: 12px;
  border: 1.5px solid var(--border-strong);
  background: var(--surface-solid);
}
.f-price-field:focus-within { border-color: var(--text); }
.f-price-field span, .f-price-field em {
  font-size: 11px;
  font-style: normal;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
}
.f-price-field input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font: 700 16px 'JetBrains Mono', ui-monospace, monospace;
  padding: 9px 0;
}
.f-price-alt {
  font: 600 11px 'JetBrains Mono', ui-monospace, monospace;
  color: var(--text-muted);
  margin: -2px 0 8px;
}
.f-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.f-stack { display: flex; flex-direction: column; gap: 8px; }
.opt-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 14px;
  background: var(--surface-subtle);
  border: 1px solid var(--border);
  cursor: pointer;
}
.opt-title { font-size: 12.5px; font-weight: 600; color: var(--text); }
.opt-sub { font-size: 11px; color: var(--text-muted); margin-top: 2px; }
.ui-chip .cnt {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 10px;
  opacity: 0.65;
  display: inline-block;
  text-align: right;
  font-variant-numeric: tabular-nums;
}
.filter-badge {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 18px;
  line-height: 14px;
  text-align: center;
  box-shadow: 0 0 0 2px var(--surface-solid);
  font-variant-numeric: tabular-nums;
}
.is-bare .photo-shade { display: none; }
.masonry-card.is-bare { background: #64748b; }
.f-restore {
  width: 100%;
  padding: 10px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 600;
  background: var(--surface-subtle);
  border: 1px dashed var(--border-strong);
  color: var(--text-secondary);
  cursor: pointer;
}

.detail-scroll { flex: 1; overflow-y: auto; padding-bottom: 16px; }
.detail-foot {
  flex-shrink: 0;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  background: var(--surface-glass-strong);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.cta-zalo {
  background: var(--ai-soft);
  border: 1px solid var(--ai-border);
  color: var(--ai-text);
  flex-shrink: 0;
}

.story-hero {
  position: relative;
  width: 100%;
  height: calc(292px + var(--safe-top, 0px));
  background: #0F172A;
  overflow: hidden;
  flex-shrink: 0;
  cursor: pointer;
  user-select: none;
  touch-action: pan-y;
}
@media (max-width: 767px) {
  .story-hero { height: calc(350px + var(--safe-top, 0px)); }
}
.story-hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.story-shimmer {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #1E293B 25%, #334155 50%, #1E293B 75%);
  background-size: 220% 100%;
  animation: shimmer 1.3s ease-in-out infinite;
}
@keyframes shimmer { from { background-position: 180% 0; } to { background-position: -40% 0; } }
.story-bars { position: absolute; top: calc(10px + var(--safe-top, 0px)); left: 14px; right: 14px; z-index: 10; display: flex; gap: 4px; }
.story-bar { flex: 1; height: 3px; border-radius: 999px; background: rgba(255,255,255,0.32); overflow: hidden; }
.story-bar > i { display: block; height: 100%; border-radius: 999px; background: #fff; transform-origin: left center; transform: scaleX(0); }
.story-bar.done > i { transform: scaleX(1); opacity: 0.65; }
.story-bar.cur > i { transform: scaleX(1); opacity: 1; }
.story-top { position: absolute; top: calc(22px + var(--safe-top, 0px)); left: 14px; right: 14px; z-index: 10; display: flex; justify-content: space-between; align-items: center; }
.story-circle {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: rgba(15,23,42,0.58);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.14s ease, transform 0.14s ease;
}
.story-circle:hover { background: rgba(15,23,42,0.82); }
.story-circle:active { transform: scale(0.92); }
.story-arrow {
  position: absolute;
  top: calc(50% + var(--safe-top, 0px) / 2);
  transform: translateY(-50%);
  z-index: 10;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(15,23,42,0.50);
  backdrop-filter: blur(8px);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 20px;
  cursor: pointer;
}
.story-arrow.prev { left: 10px; }
.story-arrow.next { right: 10px; }
.story-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15,23,42,0.5) 0%, transparent 28%, transparent 58%, rgba(15,23,42,0.82) 100%);
  pointer-events: none;
}
.story-bottom { position: absolute; bottom: 12px; left: 14px; right: 14px; z-index: 10; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; pointer-events: none; }
.story-tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  background: rgba(2, 6, 23, 0.78);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.18);
}
.story-count { font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: rgba(0,0,0,0.58); color: #fff; }

.detail-tags-bar { padding: 11px 16px; background: var(--ai-soft); border-bottom: 1px solid var(--ai-border); }
.detail-tags-title { font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ai-text); margin-bottom: 7px; }
.detail-tags-row { display: flex; flex-wrap: wrap; gap: 6px; }
.jump-tag {
  min-height: 44px;
  padding: 0 12px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.12s ease, color 0.12s ease, border-color 0.12s ease;
}
.detail-tags-row + .detail-tags-still { margin-top: 8px; }
.detail-tags-still { font-size: 12.5px; line-height: 1.5; color: var(--text-secondary); margin: 0; }
.detail-tags-still strong { font-weight: 600; color: var(--ai-text); }
.d-pending { padding: 9px 16px; font-size: 12px; color: var(--text-muted); border-bottom: 1px solid var(--border); }
.d-seen { font-size: 12.5px; line-height: 1.5; color: var(--text-secondary); margin: 10px 0 0; }
.d-seen strong { font-weight: 600; color: var(--ai-text); }
.detail-body { padding: 16px; display: flex; flex-direction: column; gap: 13px; }
.d-card { border-radius: 16px; padding: 13px 14px; background: var(--surface-card); border: 1px solid var(--border); }
.d-card-title { font-size: 12px; font-weight: 700; }
.d-price-row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.d-price { font-size: 24px; font-weight: 700; letter-spacing: -0.02em; }
.d-price small { font-family: Inter, sans-serif; font-size: 12px; font-weight: 400; color: var(--text-muted); margin-left: 4px; }
.d-alt { font-size: 12.5px; font-weight: 600; color: var(--text-secondary); }
.d-price-tap { width: calc(100% + 12px); margin: -4px -6px; padding: 4px 6px; border-radius: 10px; text-align: left; cursor: pointer; color: var(--text); -webkit-tap-highlight-color: transparent; }
.d-price-tap:active { background: var(--surface-subtle); }
.d-price-tap:focus-visible { outline: 2px solid var(--text-secondary); outline-offset: 1px; }
.d-info { display: inline-grid; place-items: center; width: 10px; height: 10px; border-radius: 50%; border: 1px solid var(--text-muted); color: var(--text-muted); font: 700 7px/1 Inter, sans-serif; letter-spacing: 0; vertical-align: super; margin-left: 3px; position: relative; top: -3px; }
.d-price .d-info.is-stale { border-color: var(--warn); color: var(--warn); background: var(--warn-soft); }
.price-body { display: flex; flex-direction: column; gap: 12px; padding: 14px 18px calc(18px + env(safe-area-inset-bottom, 0px)); overflow-y: auto; }
.price-body > .cta-btn { flex: none; }
.price-content { display: flex; flex-direction: column; gap: 12px; }
.price-kv { display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; margin: 0; font-size: 13px; color: var(--text); }
.price-kv dt { color: var(--text-muted); }
.price-kv dd { margin: 0; text-align: right; font-family: 'JetBrains Mono', ui-monospace, monospace; font-weight: 600; font-variant-numeric: tabular-nums; }
.price-stale { font-size: 12px; font-weight: 600; color: var(--warn); background: var(--warn-soft); border: 1px solid var(--warn-border); border-radius: 11px; padding: 8px 10px; }
.price-src { font-size: 12px; color: var(--text-muted); }
.price-src a, .pick-foot a { color: var(--text-secondary); text-decoration: underline; }
.pick-foot { max-width: 232px; padding: 6px 10px 4px; font-size: 11px; line-height: 1.4; color: var(--text-muted); }
.pick-foot.is-stale { color: var(--warn); }
.d-title-main { font-size: 17px; font-weight: 700; line-height: 1.32; margin: 4px 0 0; }
.d-title-vn { font-size: 11.5px; color: var(--text-muted); }
.d-facts { font-size: 12px; font-weight: 500; color: var(--text-secondary); margin-top: 5px; }
.d-about { font-size: 13px; line-height: 1.5; color: var(--text-secondary); margin: 8px 0 0; }
.d-line { font-size: 12px; color: var(--text-secondary); }
.d-address { display: flex; flex-direction: column; align-items: flex-start; margin-top: 6px; }
.d-address .d-link { min-height: 36px; }
.d-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; font-weight: 600; text-decoration: underline; color: var(--text-secondary); }
.d-action {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  background: var(--surface-subtle);
  color: var(--text-secondary);
  cursor: pointer;
}
.d-action.on { background: var(--emerald-soft); color: var(--emerald-text); }
.d-report { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.d-report .d-action { justify-content: center; text-align: center; font-size: 13px; padding: 0 8px; }
.d-remove { margin: 0; font-size: 12px; color: var(--text-muted); }
.d-remove .d-link { min-height: 44px; font-size: 12px; }
.bench-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 12px; }
.bench-pill { font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; }
.bench-bar { position: relative; height: 8px; border-radius: 999px; margin: 12px 0; background: linear-gradient(90deg, #10B981 0%, #94A3B8 50%, #F59E0B 100%); }
.bench-mid { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: #fff; }
.bench-dot { position: absolute; top: 50%; transform: translate(-50%, -50%); width: 14px; height: 14px; border-radius: 999px; background: #fff; border: 2px solid #0F172A; box-shadow: 0 1px 4px rgba(0,0,0,0.25); }
.bench-foot { display: flex; justify-content: space-between; font-size: 11px; color: var(--text-muted); }
.costs-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.costs-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; font-size: 11.5px; }
.cost-cell { border-radius: 11px; padding: 9px 11px; background: var(--surface-subtle); }
.cost-wide { grid-column: span 2; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.cost-tap { min-height: 44px; color: var(--text); text-align: left; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.cost-tap:active { filter: brightness(0.96); }
.cost-tap:focus-visible { outline: 2px solid var(--text-secondary); outline-offset: 1px; }
.power-text { margin: 0; font-size: 14px; line-height: 1.5; color: var(--text); }
.verdict-pro { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; line-height: 1.4; }
.verdict-flag { display: flex; align-items: flex-start; gap: 8px; font-size: 12.5px; line-height: 1.4; border-radius: 11px; padding: 8px 10px; background: var(--warn-soft); border: 1px solid var(--warn-border); }

@keyframes aiFlash {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(124, 58, 237, 0.65); }
  70% { transform: scale(1.03); box-shadow: 0 0 0 10px rgba(124, 58, 237, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(124, 58, 237, 0); }
}
.ai-flash { animation: aiFlash 0.55s ease-out; }

.app-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 90;
  width: min(390px, calc(100vw - 24px));
  border-radius: 18px;
  padding: 11px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  transform: translate(-50%, 140%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.22s ease;
}
.app-toast.show {
  transform: translate(-50%, 0);
  opacity: 1;
  pointer-events: auto;
}
@media (max-width: 767px) {
  .app-toast {
    bottom: auto;
    top: 58px;
    transform: translate(-50%, -140%);
  }
  .app-toast.show {
    transform: translate(-50%, 0);
  }
}

.tg-push {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 95;
  width: min(410px, calc(100vw - 24px));
  border-radius: 20px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transform: translate(-50%, -150%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.24s ease;
}
.tg-push.show {
  transform: translate(-50%, 0);
  opacity: 1;
  pointer-events: auto;
}

.map-viewport .maplibregl-canvas { outline: none; }
.maplibregl-ctrl-attrib { font-size: 10px; }
.maplibregl-ctrl-attrib a { color: inherit; }
[data-theme="dark"] .maplibregl-ctrl-attrib.maplibregl-compact { background: var(--surface-glass-strong); color: var(--text-secondary); }
[data-theme="dark"] .maplibregl-ctrl-attrib-button { background-color: transparent; filter: invert(1); }
.maplibregl-ctrl-bottom-left, .maplibregl-ctrl-bottom-right { z-index: 11; }
@media (max-width: 767px) {
  .maplibregl-ctrl-bottom-right {
    bottom: calc(74px + env(safe-area-inset-bottom, 0px)) !important;
    right: 58px !important;
  }
}
[hidden] { display: none !important; }

.share-body { gap: 14px; padding-bottom: calc(18px + env(safe-area-inset-bottom, 0px)); }
.share-primary { flex: none; height: 46px; font-size: 13.5px; }
.pv-card { display: flex; align-items: center; gap: 12px; padding: 11px; border-radius: 16px; background: var(--surface-subtle); border: 1px solid var(--border); }
.pv-thumb { width: 64px; height: 64px; border-radius: 12px; flex-shrink: 0; overflow: hidden; background: var(--surface-hover); display: grid; grid-template-columns: 1fr; gap: 2px; }
.pv-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pv-map { place-items: center; border: 1px solid var(--border); background: repeating-linear-gradient(0deg, var(--border) 0 1px, transparent 1px 14px), repeating-linear-gradient(90deg, var(--border) 0 1px, transparent 1px 14px), var(--bg); }
.pv-map b { padding: 3px 8px; border-radius: 999px; background: var(--emerald); color: #fff; font-size: 11px; }
.pv-info { min-width: 0; flex: 1; }
.pv-price { font-size: 16px; font-weight: 700; color: var(--text); }
.pv-title { font-size: 13.5px; font-weight: 700; line-height: 1.3; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv-sub { font-size: 11.5px; color: var(--text-secondary); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pv-chips { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 5px; }
.pv-chip { font-size: 10.5px; font-weight: 600; padding: 2px 7px; border-radius: 6px; background: var(--surface-solid); border: 1px solid var(--border); color: var(--text-secondary); }
.link-box { display: flex; align-items: center; gap: 8px; padding: 5px 5px 5px 12px; border-radius: 14px; background: var(--surface-subtle); border: 1px solid var(--border-strong); }
.link-url { flex: 1; min-width: 0; font-size: 11.5px; color: var(--text-secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tg-dot { width: 22px; height: 22px; border-radius: 999px; background: #2AABEE; color: #fff; display: grid; place-items: center; flex-shrink: 0; }
.opt-row[hidden] { display: none; }
.ctx-banner {
  position: fixed;
  top: 68px;
  left: 50%;
  z-index: 40;
  --ctx-x: 203px;
  --ctx-y: 0px;
  --ctx-s: 1;
  transform: translate3d(calc(-50% + var(--ctx-x)), var(--ctx-y), 0) scale(var(--ctx-s));
  width: min(420px, calc(100vw - 32px));
  padding: 10px 10px 10px 14px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-float);
  transition: opacity 0.22s ease, transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s;
}
.ctx-banner[data-open="false"] {
  --ctx-y: 14px;
  --ctx-s: 0.97;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
}
.sidebar-collapsed .ctx-banner { --ctx-x: 0px; }
.ctx-title { font-size: 12.5px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ctx-sub { font-size: 11px; color: var(--text-secondary); margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ctx-acts { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
@media (min-width: 1100px) {
  .detail-open .ctx-banner { --ctx-x: -32px; width: min(420px, calc(100vw - 880px)); }
  .detail-open.sidebar-collapsed .ctx-banner { --ctx-x: -227px; }
}
@media (max-width: 1099px) and (min-width: 768px) {
  .ctx-banner { left: calc(50% + 166px); width: min(400px, calc(100vw - 380px)); --ctx-x: 0px; }
}
@media (max-width: 767px) {
  .ctx-banner, .sidebar-collapsed .ctx-banner {
    top: auto;
    bottom: calc(78px + env(safe-area-inset-bottom, 0px));
    left: 12px;
    right: 12px;
    width: auto;
    z-index: 46;
    --ctx-x: 0px;
    transform: translate3d(0, var(--ctx-y), 0) scale(var(--ctx-s));
  }
  body:has(.mobile-micro-card.is-open) .ctx-banner[data-open="true"] { --ctx-y: -128px; }
  body.ctx-on .map-controls { bottom: calc(152px + env(safe-area-inset-bottom, 0px)); }
  body.ctx-on:has(.mobile-micro-card.is-open) .map-controls { bottom: calc(270px + env(safe-area-inset-bottom, 0px)); }
}

@media (max-width: 767px) {
  .ui-chip {
    min-height: 44px;
    padding: 0 14px;
    border-radius: 14px;
    font-size: 15px;
    gap: 6px;
  }
  .f-grid .ui-chip { padding: 0 6px; justify-content: center; }
  .ui-chip .cnt, .ui-chip .font-mono-num { font-size: 13px; }
  .f-row { gap: 8px; }
  .f-grid { gap: 8px; }
  .toggle-switch { width: 52px; height: 30px; }
  .toggle-switch::after { top: 3px; left: 3px; width: 24px; height: 24px; }
  .toggle-switch.on::after { transform: translateX(22px); }
  .opt-row { min-height: 56px; }
  .opt-title { font-size: 15px; }
  .opt-sub { font-size: 13px; }
  .f-restore { min-height: 44px; font-size: 15px; }
  .map-controls { gap: 8px; }
  .map-ctrl-btn { width: 44px; height: 44px; font-size: 20px; }
  .m-brand-pill { height: 44px; font-size: 15px; }
  .m-active-pill { height: 46px; font-size: 15px; }
  .m-active-text { min-height: 44px; min-width: 44px; padding: 0 4px; }
  body:has(.mobile-micro-card.is-open) .map-controls {
    bottom: calc(206px + env(safe-area-inset-bottom, 0px));
  }
  .m-active-x { width: 44px; }
  .m-util-pill { height: 44px; padding: 0 2px; }
  .pick { height: 44px; min-width: 64px; padding: 0 26px 0 12px; font-size: 15px; background-position: right 8px center; }
  .pick-btn { height: 44px; padding: 0 14px; font-size: 15px; }
  .pick-row { min-height: 48px; font-size: 16px; }
  .fav-card-copy { width: 48px; height: 48px; }
  .util-btn { height: 44px; min-width: 44px; padding: 0 14px; font-size: 15px; justify-content: center; }
  .m-settings-row { font-size: 15px; padding: 8px 18px; }
  .circle-sm { width: 44px; height: 44px; font-size: 16px; }
  .link-url { font-size: 13px; }
  .pv-title { font-size: 15px; }
  .pv-sub { font-size: 13px; }
  .pv-chip { font-size: 12px; }
  .circle-sm::after { content: none; }
  .modal-head { padding: 8px 18px; }
  .modal-title { font-size: 17px; }
  .modal-reset { min-height: 44px; padding: 0 6px; font-size: 15px; }
  .f-title { font-size: 13px; }
  .cta-btn { height: 48px; font-size: 15px; }
  .modal-dialog.hub.mobile-sheet { width: 100%; height: calc(90dvh - var(--safe-top)); max-height: calc(90dvh - var(--safe-top)); }
  .hub-head { padding: 8px 14px 10px; }
  .hub-tab { min-height: 44px; font-size: 14px; }
  .hub-body { padding-left: 14px; padding-right: 14px; }
  .sota-mini-link, .about-foot-btn { min-height: 36px; }
  .story-circle { width: 44px; height: 44px; font-size: 16px; }
  .story-arrow { width: 44px; height: 44px; }
  .story-expand { width: 44px; height: 44px; }
  .dock-btn { font-size: 15px; padding: 0 8px; white-space: nowrap; }
  .dock-filter { flex: 0 0 auto; padding: 0 14px; }
  .dock-feed { flex: 1; min-width: 0; }
  .mobile-dock { gap: 3px; }
  #mobileFeedOverlay > :first-child { padding-top: calc(var(--safe-top) + 64px); }
  #mobileSortSelect { min-height: 44px; font-size: 15px; padding: 0 12px; }
  .maplibregl-ctrl-attrib.maplibregl-compact { min-height: 40px; padding: 2px 44px 2px 0; border-radius: 22px; }
  .maplibregl-ctrl-attrib-button { width: 44px !important; height: 44px !important; border-radius: 22px; background-color: transparent; background-repeat: no-repeat; background-position: center; }
  .maplibregl-ctrl-attrib a { display: inline-block; padding: 14px 6px; font-size: 13px; }
}

.mobile-fav-screen {
  position: fixed;
  inset: 0;
  z-index: 46;
  background: var(--bg);
  flex-direction: column;
  transform: translateY(104%);
  transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1);
}
.mobile-fav-screen.is-open { transform: translateY(0); }
.fav-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: calc(var(--safe-top) + 18px) 16px 12px;
  flex-shrink: 0;
}
.fav-back, .fav-map {
  height: 44px;
  border-radius: 9999px;
  background: var(--surface-card);
  border: 1px solid var(--border);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}
.fav-back { width: 44px; font-size: 20px; }
.fav-map { padding: 0 16px; font-size: 14.5px; font-weight: 700; white-space: nowrap; }
.fav-title {
  flex: 1;
  min-width: 0;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fav-title span { color: var(--text-secondary); font-weight: 600; }
.fav-list {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 16px calc(24px + env(safe-area-inset-bottom, 0px));
}
.fav-row {
  display: flex;
  gap: 12px;
  padding: 10px;
  border-radius: 22px;
  background: var(--surface-card);
  border: 1px solid var(--border);
  cursor: pointer;
  flex-shrink: 0;
}
.fav-photo {
  width: 104px;
  height: 104px;
  border-radius: 16px;
  flex: none;
  overflow: hidden;
  background: var(--surface-subtle);
}
.fav-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  justify-content: center;
}
.fav-price { font-size: 19px; letter-spacing: -0.02em; color: var(--text); }
.fav-sub {
  max-width: 100%;
  font-size: 13.5px;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.fav-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 9999px;
  font-size: 12.5px;
  font-weight: 700;
  background: var(--surface-subtle);
  color: var(--text-secondary);
}
.fav-status i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.fav-status.is-live { background: var(--emerald-soft); color: var(--emerald-text); }
.fav-heart {
  width: 44px;
  height: 44px;
  flex: none;
  align-self: center;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--danger-soft);
  color: var(--danger);
  font-size: 18px;
  cursor: pointer;
}
.fav-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 90px 36px 0;
  gap: 14px;
}
.fav-empty-icon {
  width: 84px;
  height: 84px;
  border-radius: 28px;
  background: var(--danger-soft);
  color: var(--danger);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 38px;
}
.fav-empty-title { font-size: 21px; font-weight: 800; color: var(--text); }
.fav-empty p { font-size: 15px; line-height: 1.45; color: var(--text-secondary); }
.fav-browse {
  height: 52px;
  padding: 0 26px;
  border-radius: 9999px;
  background: var(--cta-primary-bg);
  color: var(--cta-primary-text);
  font-size: 16px;
  font-weight: 700;
  margin-top: 6px;
  cursor: pointer;
}
.fav-send {
  height: 52px;
  margin: 0 16px calc(16px + env(safe-area-inset-bottom, 0px));
  border-radius: 9999px;
  background: var(--cta-primary-bg);
  color: var(--cta-primary-text);
  font-size: 16px;
  font-weight: 700;
  flex-shrink: 0;
  cursor: pointer;
}
body:has(.mobile-fav-screen.is-open) .mobile-dock-wrap { display: none; }
.fav-chips {
  display: flex;
  gap: 8px;
  padding: 0 16px 12px;
  flex-shrink: 0;
}
.fav-chip {
  height: 44px;
  padding: 0 16px;
  border-radius: 9999px;
  background: var(--surface-card);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}
.fav-chip.selected {
  background: var(--cta-primary-bg);
  border-color: var(--cta-primary-bg);
  color: var(--cta-primary-text);
}
.fav-row.is-gone { opacity: 0.62; cursor: default; }
.fav-row.is-gone .fav-photo { filter: grayscale(1); }

.msg-stack { display: flex; flex-direction: column; align-items: center; line-height: 1.15; min-width: 0; max-width: 100%; }
.msg-stack > span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.msg-sub { font-size: 10.5px; font-weight: 500; opacity: 0.75; }
.msg-sub:empty { display: none; }

.story-end { display: inline-flex; align-items: center; gap: 6px; pointer-events: auto; }
.story-expand { width: 28px; height: 28px; border-radius: 999px; background: rgba(0,0,0,0.58); color: #fff; display: grid; place-items: center; cursor: pointer; }
.pswp { --pswp-placeholder-bg: #0F172A; }
.pswp.pswp--touch:not(.pswp--one-slide) .pswp__button--arrow { visibility: visible; }
.pswp .pswp__top-bar { top: var(--safe-top, 0px); }
.pswp__counter { font-weight: 600; }
.pswp__labels { position: absolute; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); max-width: calc(100% - 32px); padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; color: #fff; background: rgba(2, 6, 23, 0.78); border: 1px solid rgba(255,255,255,0.18); z-index: 10; pointer-events: none; }
.pswp__labels[hidden] { display: none; }

.sidebar-about-bar {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 12px;
  border-top: 1px solid var(--border);
  background: var(--surface-subtle);
}
.about-foot-btn {
  display: inline-flex;
  align-items: center;
  padding: 4px 7px;
  border-radius: 8px;
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.about-foot-btn:hover { background: var(--surface-hover); color: var(--text); }
.about-foot-btn + .about-foot-btn::before {
  content: '·';
  margin-right: 8px;
  opacity: 0.5;
}
.desk-about-btn {
  width: 28px;
  height: 28px;
  padding: 0;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}
.desk-about-btn:hover { background: var(--surface-hover); color: var(--text); }
.m-about-btn {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  flex-shrink: 0;
  cursor: pointer;
  transition: transform 0.14s ease;
}
.m-about-btn:active { transform: scale(0.95); }
.m-about-btn[hidden] { display: none; }
.m-top-left:has(#mobAboutBtn:not([hidden])) .m-active-pill { max-width: 100%; padding-left: 10px; }
.m-top-left:has(#mobAboutBtn:not([hidden])) .m-active-x { margin-left: 4px; }

.modal-dialog.hub { width: min(620px, calc(100vw - 24px)); max-height: min(86dvh, 780px); }
.hub-head { flex-shrink: 0; padding: 14px 18px 12px; border-bottom: 1px solid var(--border); display: flex; flex-direction: column; gap: 12px; }
.hub-head-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hub-brand { display: flex; align-items: center; gap: 10px; min-width: 0; }
.hub-brand-copy { min-width: 0; }
.hub-title { font-size: 15.5px; font-weight: 700; letter-spacing: -0.02em; color: var(--text); }
.hub-subtitle { font-size: 11.5px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hub-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 3px; border-radius: 14px; background: var(--surface-subtle); border: 1px solid var(--border); }
.hub-tab { min-width: 0; min-height: 36px; padding: 0 8px; border: 0; border-radius: 11px; background: transparent; font: inherit; font-size: 13px; font-weight: 600; color: var(--text-secondary); display: inline-flex; align-items: center; justify-content: center; gap: 6px; white-space: nowrap; cursor: pointer; }
.hub-tab[aria-selected="true"] { background: var(--surface-solid); color: var(--text); box-shadow: 0 2px 8px rgba(15, 23, 42, 0.16); }
.hub-tab[aria-selected="true"][data-arg="prices"] .hub-tab-mark { color: var(--emerald-text); }
.hub-tab[aria-selected="true"][data-arg="mcp"] .hub-tab-mark { color: var(--ai); }
.hub-body { gap: 16px; padding: 16px 18px calc(20px + env(safe-area-inset-bottom, 0px)); color: var(--text); }

.sidebar-about-bar[hidden] { display: none; }
.sidebar-about-nav { display: inline-flex; align-items: center; gap: 4px; }
.sota-mini-link { display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px; border-radius: 9px; font-size: 11px; font-weight: 600; color: var(--text-secondary); background: var(--surface-card); border: 1px solid var(--border); text-decoration: none; white-space: nowrap; }
.sota-mini-link:hover { color: var(--text); border-color: var(--border-strong); }
.sota-mark { width: 14px; height: 14px; border-radius: 4px; background: #0b0d12; border: 1px solid rgba(255, 255, 255, 0.16); display: grid; grid-template-columns: 1fr 1fr; gap: 1.5px; padding: 2px; flex: none; }
.sota-mark i { border-radius: 1px; background: #d0d0d0; }
.sota-mark i:nth-child(2) { background: #3DF5C8; }