/* ============================================================
   CapitalVerse — Global Styles
   Full responsive: Desktop (>=1024) / Tablet (768-1023) / Mobile (<768)
   Dark theme — CSS Grid + Flexbox, no UI framework
   ============================================================ */

/* ============================================================
   CSS Variables — Dark Theme Palette
   ============================================================ */
:root {
  --bg-primary: #0a0a1a;
  --bg-secondary: #12122a;
  --bg-panel: #111332;
  --bg-card: #161845;
  --border-dim: rgba(255,255,255,0.06);
  --border-active: rgba(255,255,255,0.15);
  --text-primary: #e0e0e0;
  --text-secondary: #8888aa;
  --text-muted: #5c6bc0;
  --accent-blue: #4a9eff;
  --accent-green: #4aff9e;
  --accent-purple: #9e4aff;
  --accent-gray: #666680;
  --accent-glow: rgba(74, 158, 255, 0.3);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-mono: 'SF Mono', 'Fira Code', 'JetBrains Mono', monospace;
  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', Roboto, sans-serif;
  --header-h: 52px;
  --sidebar-w: 260px;
  --detail-w: 380px;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-top: env(safe-area-inset-top, 0px);
}

/* ============================================================
   Reset
   ============================================================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html, body, #root {
  width: 100%; height: 100%;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-sans);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Touch devices — prevent overscroll */
body { overscroll-behavior: none; touch-action: pan-x pan-y; }

/* Scrollbar */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.22); }

/* ============================================================
   DESKTOP Layout (>=1024px) — CSS Grid 3-column
   Header | Sidebar | Main | Detail
   ============================================================ */
.app-container {
  display: grid;
  grid-template-columns: var(--sidebar-w) 1fr 0;
  grid-template-rows: var(--header-h) 1fr;
  grid-template-areas:
    "header header header"
    "sidebar main  detail";
  width: 100vw;
  height: 100vh;
  height: 100dvh; /* dynamic viewport height for mobile */
  transition: grid-template-columns var(--transition);
}
.app-container.detail-open {
  grid-template-columns: var(--sidebar-w) 1fr var(--detail-w);
}

/* ============================================================
   Header
   ============================================================ */
.app-header {
  grid-area: header;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-dim);
  z-index: 100;
  min-height: var(--header-h);
  gap: 12px;
}
.header-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0; /* allow shrink */
  flex: 1;
}
.logo {
  font-size: 1.2rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--accent-blue), var(--accent-green), var(--accent-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  color: var(--text-muted);
  min-width: 0;
  overflow: hidden;
}
.breadcrumb-item {
  cursor: pointer;
  transition: color var(--transition);
  padding: 2px 6px;
  border-radius: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.breadcrumb-item:hover { color: var(--text-primary); }
.breadcrumb-item.active { color: var(--accent-blue); font-weight: 600; }
.breadcrumb-sep { color: var(--text-muted); opacity: 0.4; flex-shrink: 0; }

.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.header-badge {
  font-size: 0.7rem;
  padding: 3px 10px;
  border-radius: 12px;
  background: rgba(74, 158, 255, 0.12);
  color: var(--accent-blue);
  font-weight: 600;
  white-space: nowrap;
}
.header-status {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.73rem;
  color: var(--text-muted);
  white-space: nowrap;
}
.status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent-green);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* Mobile menu toggle button — hidden on desktop */
.mobile-menu-btn {
  display: none;
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-dim);
  border-radius: 8px;
  color: var(--text-secondary);
  font-size: 1.2rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition);
}
.mobile-menu-btn:hover { background: rgba(255,255,255,0.1); color: var(--text-primary); }

/* ============================================================
   Sidebar — Control Panel (Desktop: left column)
   ============================================================ */
.sidebar {
  grid-area: sidebar;
  background: var(--bg-secondary);
  border-right: 1px solid var(--border-dim);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 16px 14px;
  gap: 18px;
}
.sidebar-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sidebar-title {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 2px;
}

/* Time Window Buttons */
.time-btn-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
}
.time-btn {
  padding: 7px 0;
  border: 1px solid var(--border-dim);
  border-radius: 6px;
  background: transparent;
  color: var(--text-secondary);
  font-size: 0.76rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  font-family: var(--font-mono);
}
.time-btn:hover {
  border-color: var(--accent-blue);
  color: var(--text-primary);
}
.time-btn.active {
  background: rgba(74, 158, 255, 0.15);
  border-color: var(--accent-blue);
  color: var(--accent-blue);
  font-weight: 700;
}

/* Category Filters */
.category-filter {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.category-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition);
  font-size: 0.82rem;
  user-select: none;
  border: 1px solid transparent;
}
.category-chip:hover { background: rgba(255,255,255,0.04); }
.category-chip.active {
  background: rgba(255,255,255,0.06);
  border-color: var(--border-active);
}
.category-chip .chip-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.category-chip .chip-label { flex: 1; min-width: 0; }
.category-chip .chip-count {
  font-size: 0.68rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* Search */
.search-box { position: relative; }
.search-input {
  width: 100%;
  padding: 9px 12px 9px 34px;
  border: 1px solid var(--border-dim);
  border-radius: 8px;
  background: var(--bg-primary);
  color: var(--text-primary);
  font-size: 0.82rem;
  outline: none;
  transition: border-color var(--transition);
}
.search-input::placeholder { color: var(--text-muted); }
.search-input:focus { border-color: var(--accent-blue); }
.search-icon {
  position: absolute;
  left: 10px; top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.85rem;
  pointer-events: none;
}
.search-results {
  position: absolute;
  top: calc(100% + 4px);
  left: 0; right: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-active);
  border-radius: 8px;
  max-height: 260px;
  overflow-y: auto;
  z-index: 200;
  box-shadow: 0 8px 32px rgba(0,0,0,0.6);
}
.search-item {
  padding: 10px 12px;
  cursor: pointer;
  border-bottom: 1px solid var(--border-dim);
  transition: background var(--transition);
  display: flex;
  align-items: center;
  gap: 10px;
}
.search-item:last-child { border-bottom: none; }
.search-item:hover { background: rgba(255,255,255,0.05); }
.search-item-symbol {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent-blue);
  min-width: 55px;
}
.search-item-name {
  font-size: 0.76rem;
  color: var(--text-secondary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Level indicator */
.level-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: rgba(74, 158, 255, 0.06);
  border-radius: 8px;
  border: 1px solid rgba(74, 158, 255, 0.12);
}
.level-dots {
  display: flex;
  gap: 4px;
}
.level-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border-dim);
  transition: all var(--transition);
}
.level-dot.active {
  background: var(--accent-blue);
  box-shadow: 0 0 8px var(--accent-glow);
}
.level-label {
  font-size: 0.76rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Stats summary */
.stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.stat-card {
  padding: 10px;
  background: var(--bg-primary);
  border-radius: 8px;
  border: 1px solid var(--border-dim);
  text-align: center;
}
.stat-value {
  font-size: 1.05rem;
  font-weight: 700;
  font-family: var(--font-mono);
  color: var(--text-primary);
}
.stat-label {
  font-size: 0.63rem;
  color: var(--text-muted);
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ============================================================
   Main Chart Area
   ============================================================ */
.main-area {
  grid-area: main;
  position: relative;
  overflow: hidden;
  background: var(--bg-primary);
  min-width: 0; /* prevent grid blowout */
}
.chart-container {
  width: 100%;
  height: 100%;
}
.chart-container .plotly,
.chart-container .js-plotly-plot { width: 100% !important; height: 100% !important; }

/* Loading overlay */
.loading-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 26, 0.88);
  z-index: 50;
  gap: 14px;
}
.loading-spinner {
  width: 36px; height: 36px;
  border: 3px solid var(--border-dim);
  border-top-color: var(--accent-blue);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-text {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Float controls on chart */
.chart-zoom-hint {
  position: absolute;
  bottom: 14px; left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  color: var(--text-muted);
  background: rgba(10, 10, 26, 0.75);
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid var(--border-dim);
  pointer-events: none;
  opacity: 0.7;
  white-space: nowrap;
  max-width: calc(100% - 32px);
  overflow: hidden;
  text-overflow: ellipsis;
}
.back-btn {
  position: absolute;
  top: 12px; left: 12px;
  padding: 7px 14px;
  background: rgba(74, 158, 255, 0.12);
  border: 1px solid rgba(74, 158, 255, 0.25);
  border-radius: 8px;
  color: var(--accent-blue);
  font-size: 0.78rem;
  cursor: pointer;
  z-index: 40;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 5px;
}
.back-btn:hover {
  background: rgba(74, 158, 255, 0.2);
  border-color: var(--accent-blue);
}

/* ============================================================
   Detail Panel — Desktop: right column, grid area
   ============================================================ */
.detail-panel {
  grid-area: detail;
  background: var(--bg-secondary);
  border-left: 1px solid var(--border-dim);
  overflow-y: auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  animation: slideInRight 0.3s ease-out;
}
.detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-dim);
  position: sticky;
  top: 0;
  background: var(--bg-secondary);
  z-index: 10;
  gap: 8px;
}
.detail-header > div:first-child { min-width: 0; flex: 1; }
.detail-title {
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.detail-subtitle {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 2px;
}
.detail-close {
  width: 30px; height: 30px;
  border: none;
  background: rgba(255,255,255,0.05);
  border-radius: 6px;
  color: var(--text-muted);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  flex-shrink: 0;
}
.detail-close:hover {
  background: rgba(255,255,255,0.1);
  color: var(--text-primary);
}

.detail-body { padding: 14px 16px; flex: 1; }

.detail-section { margin-bottom: 18px; }
.detail-section-title {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 8px;
  font-weight: 600;
}

/* Key metrics grid */
.metric-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.metric-item {
  padding: 10px;
  background: var(--bg-primary);
  border-radius: 8px;
  border: 1px solid var(--border-dim);
}
.metric-value {
  font-size: 0.95rem;
  font-weight: 700;
  font-family: var(--font-mono);
}
.metric-value.positive { color: var(--accent-green); }
.metric-value.negative { color: #ef5350; }
.metric-label {
  font-size: 0.63rem;
  color: var(--text-muted);
  margin-top: 3px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Time windows table */
.tw-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.76rem;
}
.tw-table th {
  text-align: left;
  padding: 8px 8px;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border-dim);
}
.tw-table td {
  padding: 6px 8px;
  border-bottom: 1px solid var(--border-dim);
  font-family: var(--font-mono);
  font-size: 0.76rem;
}
.tw-table tr:hover { background: rgba(255,255,255,0.02); }

/* Asset info */
.asset-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3px 0;
}
.info-label {
  font-size: 0.76rem;
  color: var(--text-muted);
}
.info-value {
  font-size: 0.8rem;
  font-weight: 500;
  font-family: var(--font-mono);
}

/* Risk disclaimer badge */
.risk-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: rgba(255, 152, 0, 0.12);
  border: 1px solid rgba(255, 152, 0, 0.25);
  border-radius: 6px;
  color: #FFB74D;
  font-size: 0.7rem;
  font-weight: 500;
  line-height: 1.4;
}

/* Sparkline container */
.sparkline-container {
  height: 80px;
  background: var(--bg-primary);
  border-radius: 8px;
  border: 1px solid var(--border-dim);
  padding: 8px;
  margin-top: 6px;
}

/* ============================================================
   Plotly tooltip override
   ============================================================ */
.plotly .hoverlayer .hovertext { opacity: 0.95 !important; }

/* ============================================================
   Overlay / Backdrop — for tablet/mobile drawers
   ============================================================ */
.overlay-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 500;
  opacity: 0;
  transition: opacity var(--transition);
}
.overlay-backdrop.visible {
  display: block;
  opacity: 1;
}

/* ============================================================
   Bottom Drawer — used by Tablet sidebar & Mobile detail
   Slides up from bottom, max 55vh
   ============================================================ */
.bottom-drawer {
  position: fixed;
  left: 0; right: 0;
  bottom: 0;
  z-index: 600;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-active);
  border-radius: 16px 16px 0 0;
  max-height: 60vh;
  transform: translateY(100%);
  transition: transform var(--transition);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-bottom: var(--safe-bottom);
}
.bottom-drawer.open {
  transform: translateY(0);
}

/* Drawer drag handle */
.drawer-handle {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px 6px;
  cursor: grab;
  flex-shrink: 0;
}
.drawer-handle-bar {
  width: 36px;
  height: 4px;
  background: rgba(255,255,255,0.2);
  border-radius: 2px;
}
.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 16px 12px;
  border-bottom: 1px solid var(--border-dim);
  flex-shrink: 0;
}
.drawer-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
}
.drawer-close {
  width: 28px; height: 28px;
  border: none;
  background: rgba(255,255,255,0.06);
  border-radius: 6px;
  color: var(--text-secondary);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.drawer-close:hover { background: rgba(255,255,255,0.1); color: var(--text-primary); }
.drawer-body {
  overflow-y: auto;
  flex: 1;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ============================================================
   Top Pulldown — Mobile control panel
   Slides down from header
   ============================================================ */
.top-pulldown {
  position: fixed;
  left: 0; right: 0;
  top: var(--header-h);
  z-index: 550;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-active);
  border-radius: 0 0 16px 16px;
  max-height: 70vh;
  transform: translateY(-110%);
  transition: transform var(--transition);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}
.top-pulldown.open {
  transform: translateY(0);
}
.top-pulldown .drawer-body {
  overflow-y: auto;
  flex: 1;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* ============================================================
   TABLET (768px – 1023px)
   - Sidebar hidden from grid, available as bottom-drawer
   - Detail panel as bottom-drawer
   - Header shows menu toggle
   ============================================================ */
@media (max-width: 1023px) {
  :root {
    --header-h: 48px;
  }

  .app-container {
    grid-template-columns: 1fr;
    grid-template-rows: var(--header-h) 1fr;
    grid-template-areas:
      "header"
      "main";
  }
  .app-container.detail-open {
    grid-template-columns: 1fr;
  }

  /* Hide desktop sidebar and detail from grid */
  .sidebar { display: none; }
  .detail-panel { display: none; }

  /* Show mobile menu button */
  .mobile-menu-btn { display: flex; }

  .logo { font-size: 1.1rem; }
  .header-badge { font-size: 0.65rem; padding: 2px 8px; }

  /* Chart occupies full grid main */
  .main-area { grid-area: main; }

  /* Tablet time-btn-group in drawer: use 6 columns */
  .bottom-drawer .time-btn-group,
  .top-pulldown .time-btn-group {
    grid-template-columns: repeat(6, 1fr);
  }
}

/* ============================================================
   MOBILE (<768px)
   - Full-screen map
   - Sidebar as top-pulldown (swipe down from header)
   - Detail as bottom sheet
   - Compact header
   ============================================================ */
@media (max-width: 767px) {
  :root {
    --header-h: 44px;
  }

  .app-container {
    grid-template-columns: 1fr;
    grid-template-rows: var(--header-h) 1fr;
    grid-template-areas:
      "header"
      "main";
  }
  .app-container.detail-open {
    grid-template-columns: 1fr;
  }

  .sidebar { display: none; }
  .detail-panel { display: none; }
  .mobile-menu-btn { display: flex; }

  .logo { font-size: 1rem; }

  /* Hide level badge on very small screens */
  .header-badge { display: none; }
  .header-status { font-size: 0.68rem; }

  /* Breadcrumb: truncate on small screens */
  .breadcrumb { font-size: 0.72rem; max-width: 120px; }

  /* Chart adjustments */
  .back-btn {
    top: 8px; left: 8px;
    padding: 5px 10px;
    font-size: 0.72rem;
  }
  .chart-zoom-hint {
    bottom: 10px;
    font-size: 0.65rem;
    padding: 4px 10px;
  }

  /* Bottom drawer — taller on mobile */
  .bottom-drawer {
    max-height: 75vh;
    border-radius: 14px 14px 0 0;
  }

  /* Top pulldown max height */
  .top-pulldown {
    max-height: 80vh;
  }

  /* Time buttons in pulldown: 3-col for mobile */
  .top-pulldown .time-btn-group {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Category chips: horizontal scroll */
  .top-pulldown .category-filter {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 6px;
  }
  .top-pulldown .category-chip {
    padding: 6px 10px;
    font-size: 0.75rem;
    flex-shrink: 0;
  }

  /* Metric grid in bottom drawer: 2 columns still works */
  .bottom-drawer .metric-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ============================================================
   Very small mobile (<400px)
   ============================================================ */
@media (max-width: 400px) {
  .logo { font-size: 0.9rem; }
  .breadcrumb { display: none; }
  .top-pulldown .time-btn-group {
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
  }
  .time-btn { padding: 6px 0; font-size: 0.72rem; }
}

/* ============================================================
   Large Desktop (>=1440px) — wider detail panel
   ============================================================ */
@media (min-width: 1440px) {
  :root {
    --detail-w: 400px;
  }
}

/* ============================================================
   Animations
   ============================================================ */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.fade-in { animation: fadeIn 0.3s ease-out; }

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}
.slide-in-right { animation: slideInRight 0.3s ease-out; }

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

@keyframes slideDown {
  from { transform: translateY(-110%); }
  to { transform: translateY(0); }
}

/* ============================================================
   Utility
   ============================================================ */
.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}
