/* ==========================================================================
   Ravelware Dual-System Portal Stylesheet (1:1 Match with Ravelware Web CMS)
   ========================================================================== */

:root {
  --font-sans: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background-color: #ffffff;
  font-family: var(--font-sans);
  user-select: none;
  -webkit-user-select: none;
}

/* Purple Accent Bar at very top */
.portal-top-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background-color: #7c3aed;
  box-shadow: 0 0 15px rgba(124, 58, 237, 0.8);
  z-index: 60;
}

/* Master Container */
.portal-container {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Floating Clean Header */
.portal-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  background: transparent;
}

.portal-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  pointer-events: auto;
  cursor: pointer;
  text-decoration: none;
}

.portal-brand-logo-img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  border: 1.5px solid #d97706;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.portal-brand:hover .portal-brand-logo-img {
  transform: scale(1.04);
  border-color: #f59e0b;
}

.portal-brand-text {
  display: flex;
  flex-direction: column;
}

.portal-brand-title {
  font-size: 1.15rem;
  font-weight: 800;
  font-family: var(--font-sans);
  letter-spacing: -0.015em;
  color: #0f172a;
  line-height: 1.2;
}

.portal-brand-tagline {
  font-size: 0.72rem;
  font-family: var(--font-sans);
  font-weight: 500;
  color: #b45309;
  line-height: 1.2;
  margin-top: 1px;
}

.portal-header-controls {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  pointer-events: auto;
}

.portal-pill-group {
  display: flex;
  align-items: center;
  padding: 0.25rem;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.btn-ctrl-tab {
  padding: 0.35rem 0.85rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: transparent;
  color: #475569;
}

.btn-ctrl-tab:hover {
  color: #0f172a;
}

.btn-ctrl-tab.active {
  background: #0f172a;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.2);
}

.btn-ctrl-tab.btn-ctrl-iot.active {
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.35);
}

.btn-ctrl-tab.btn-ctrl-phn.active {
  background: #d97706;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(217, 119, 6, 0.35);
}

.btn-ctrl-tab.btn-ctrl-iot {
  color: #1d4ed8;
}

.btn-ctrl-tab.btn-ctrl-iot:hover {
  background: #eff6ff;
  color: #1e40af;
}

.btn-ctrl-tab.btn-ctrl-phn {
  color: #b45309;
}

.btn-ctrl-tab.btn-ctrl-phn:hover {
  background: #fffbeb;
  color: #92400e;
}

/* Mobile Switch Bar */
.portal-mobile-switch-bar {
  display: none;
  justify-content: center;
  margin-bottom: 0.65rem;
  width: 100%;
  z-index: 30;
}

.portal-mobile-switch-pill {
  display: flex;
  align-items: center;
  padding: 4px;
  border-radius: 9999px;
  background: rgba(15, 23, 42, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(51, 65, 85, 0.8);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.btn-mobile-tab {
  border: none;
  background: transparent;
  color: #94a3b8;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 6px 16px;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-mobile-tab i {
  font-size: 0.8rem;
}

.btn-mobile-tab.active.btn-mobile-iot {
  background: #2563eb;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.5);
  transform: scale(1.03);
}

.btn-mobile-tab.active.btn-mobile-graphene {
  background: #d97706;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.5);
  transform: scale(1.03);
}

.btn-audio-toggle {
  padding: 0.5rem 0.65rem;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  color: #64748b;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.2s;
}

.btn-audio-toggle:hover {
  color: #0f172a;
  border-color: #cbd5e1;
}

.btn-audio-toggle.active {
  background: #fef3c7;
  border-color: #fcd34d;
  color: #92400e;
}

/* Dual Split Stage */
.portal-stage {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  display: flex;
}

.portal-half {
  position: relative;
  height: 100%;
  overflow: hidden;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.portal-half-iot {
  width: 50%;
  border-right: 1px solid #e2e8f0;
}

.portal-half-graphene {
  width: 50%;
}

.canvas-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}

/* Center Vertical Divider with Rotated Badge */
.portal-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1.5px;
  background: linear-gradient(to bottom, transparent, rgba(226, 232, 240, 0.8), rgba(203, 213, 225, 0.8), transparent);
  z-index: 30;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.portal-divider-badge {
  padding: 1rem 0.5rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.95);
  color: #0f172a;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  writing-mode: vertical-lr;
  transform: rotate(180deg);
  white-space: nowrap;
}

/* Hotspot Nodes */
.hotspot-node {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 30;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hotspot-hit-area {
  position: relative;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hotspot-ring-ping {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  transition: all 0.7s ease;
}

.hotspot-node.active .hotspot-ring-ping {
  width: 56px;
  height: 56px;
  background: rgba(245, 158, 11, 0.25);
  border: 2px solid rgba(245, 158, 11, 0.8);
  animation: pingRing 2.2s infinite cubic-bezier(0, 0, 0.2, 1);
}

.hotspot-node:not(.active) .hotspot-ring-ping {
  width: 32px;
  height: 32px;
  background: rgba(245, 158, 11, 0.1);
}

.hotspot-node:not(.active):hover .hotspot-ring-ping {
  width: 48px;
  height: 48px;
  background: rgba(245, 158, 11, 0.2);
  border: 1px solid rgba(245, 158, 11, 0.6);
}

.hotspot-ring-pulse {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  transition: all 0.7s ease;
}

.hotspot-node.active .hotspot-ring-pulse {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(252, 211, 77, 0.8);
  animation: pulseRing 2s infinite ease-in-out;
}

.hotspot-node:not(.active) .hotspot-ring-pulse {
  width: 24px;
  height: 24px;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.hotspot-node:not(.active):hover .hotspot-ring-pulse {
  border-color: rgba(245, 158, 11, 0.7);
}

.hotspot-core {
  position: relative;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px #f59e0b;
  transition: all 0.3s;
}

.hotspot-node.active .hotspot-core {
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #fde68a, #f59e0b);
  border: 3px solid rgba(245, 158, 11, 0.6);
  box-shadow: 0 0 20px #f59e0b;
  transform: scale(1.1);
}

.hotspot-node:not(.active) .hotspot-core {
  width: 14px;
  height: 14px;
  background: #f59e0b;
  border: 2px solid rgba(245, 158, 11, 0.4);
}

.hotspot-node:not(.active):hover .hotspot-core {
  transform: scale(1.25);
}

.hotspot-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ffffff;
}

@keyframes pingRing {
  0% { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(1.8); opacity: 0; }
}

@keyframes pulseRing {
  0%, 100% { transform: scale(1); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 0.4; }
}

/* Tooltip Pill above Hotspot */
.hotspot-tooltip {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 0.5rem;
  padding: 0.25rem 0.65rem;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  pointer-events: none;
  transition: all 0.2s ease;
}

.hotspot-node.active .hotspot-tooltip {
  opacity: 1;
  background: rgba(69, 26, 3, 0.95);
  color: #fcd34d;
  border: 1px solid rgba(245, 158, 11, 0.6);
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.3);
}

.hotspot-node:not(.active) .hotspot-tooltip {
  opacity: 0;
  transform: translate(-50%, 4px);
  background: rgba(0, 0, 0, 0.85);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hotspot-node:not(.active):hover .hotspot-tooltip {
  opacity: 1;
  transform: translate(-50%, 0);
}

.hotspot-badge-klik {
  font-size: 9px;
  font-weight: 400;
  color: rgba(254, 243, 199, 0.9);
  padding: 0.1rem 0.3rem;
  border-radius: 4px;
  background: rgba(245, 158, 11, 0.25);
}

/* Floating Hotspot Preview Card */
.hotspot-preview-card {
  position: absolute;
  z-index: 50;
  width: 250px;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(245, 158, 11, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  pointer-events: auto;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
  animation: cardFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes cardFadeIn {
  from { opacity: 0; transform: translateY(8px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.preview-top-banner {
  padding: 0.35rem 0.65rem;
  background: rgba(245, 158, 11, 0.2);
  border-bottom: 1px solid rgba(245, 158, 11, 0.25);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.preview-badge-rekomendasi {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 9.5px;
  font-weight: 800;
  color: #fcd34d;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.preview-badge-siap {
  font-size: 8.5px;
  color: #fcd34d;
  font-weight: 700;
  padding: 0.1rem 0.35rem;
  border-radius: 9999px;
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.preview-img-box {
  position: relative;
  width: 100%;
  height: 95px;
  background: #020617;
  overflow: hidden;
}

.preview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hotspot-preview-card:hover .preview-img {
  transform: scale(1.08);
}

.preview-kpi-pill {
  position: absolute;
  top: 6px;
  right: 6px;
  padding: 0.15rem 0.45rem;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(245, 158, 11, 0.4);
  font-size: 8.5px;
  font-weight: 800;
  color: #fcd34d;
  box-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.preview-content {
  padding: 0.75rem;
  background: #0f172a;
}

.preview-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2px;
}

.preview-title {
  font-size: 0.85rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.preview-subtitle {
  font-size: 10.5px;
  color: #94a3b8;
  margin-bottom: 0.5rem;
}

.preview-tags-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  padding-top: 0.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 0.6rem;
}

.preview-tag-item {
  padding: 0.1rem 0.35rem;
  font-size: 8.5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-family: var(--font-mono);
  text-transform: uppercase;
}

.preview-cta-btn {
  width: 100%;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fcd34d;
  font-size: 10.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: all 0.2s ease;
}

.hotspot-preview-card:hover .preview-cta-btn {
  background: rgba(245, 158, 11, 0.3);
  border-color: rgba(245, 158, 11, 0.7);
}

/* SVG LeaderLine */
.leader-line-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 25;
}

/* Bottom Portal Cards */
.portal-bottom-card-wrap {
  position: absolute;
  bottom: 2.5rem;
  left: 2rem;
  right: 2rem;
  z-index: 20;
  pointer-events: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.portal-bottom-card {
  width: 100%;
  max-width: 520px;
  border-radius: 1.25rem;
  padding: 1.5rem 2rem;
  transition: all 0.4s ease;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.portal-bottom-card.card-iot {
  background: rgba(8, 18, 38, 0.92);
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.portal-bottom-card.card-graphene {
  background: rgba(24, 18, 12, 0.92);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.card-div-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 11px;
  font-family: var(--font-mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-div-dash {
  width: 16px;
  height: 1.5px;
  background: #94a3b8;
}

.card-div-text {
  color: #94a3b8;
  font-weight: 600;
}

.card-div-bullet {
  color: #64748b;
}

.card-div-code-iot {
  color: #60a5fa;
  font-weight: 800;
}

.card-div-code-graphene {
  color: #fbbf24;
  font-weight: 800;
}

.card-headline {
  font-size: 1.75rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 0.5rem;
}

.card-description {
  font-size: 0.85rem;
  color: #cbd5e1;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #cbd5e1;
  text-transform: uppercase;
}

.btn-enter-portal {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  background: #000000;
  border: 1px solid #1e293b;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(0,0,0,0.4);
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-enter-portal:hover {
  background: #0f172a;
  border-color: #334155;
  color: #ffffff;
  transform: translateY(-1px);
}

/* Bottom Left Compass Icon */
.portal-compass-btn {
  display: none !important;
}

/* Detail Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.show {
  display: flex;
  animation: modalScaleIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalScaleIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.modal-dialog-box {
  width: 100%;
  max-width: 960px;
  max-height: 90vh;
  overflow-y: auto;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
  position: relative;
  padding: 2.5rem;
}

.modal-dialog-box.modal-iot {
  background: #060b18;
  border-color: rgba(59, 130, 246, 0.3);
}

.modal-dialog-box.modal-graphene {
  background: #140d07;
  border-color: rgba(245, 158, 11, 0.3);
}

.modal-btn-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
}

.modal-btn-close:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.modal-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 11px;
  font-family: var(--font-mono);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.modal-badge-pill.badge-iot {
  background: rgba(59, 130, 246, 0.15);
  border: 1px solid rgba(59, 130, 246, 0.4);
  color: #60a5fa;
}

.modal-badge-pill.badge-graphene {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fbbf24;
}

.modal-title-headline {
  font-size: 2rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.modal-tagline-text {
  font-size: 1rem;
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

.modal-kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.modal-kpi-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 1.25rem 1rem;
  text-align: center;
}

.modal-kpi-val {
  font-size: 1.5rem;
  font-weight: 900;
  font-family: var(--font-mono);
  color: #ffffff;
}

.modal-kpi-lbl {
  font-size: 11px;
  color: #64748b;
  margin-top: 0.25rem;
}

.modal-pillars-heading {
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 1rem;
}

.modal-pillar-block {
  background: rgba(255, 255, 255, 0.03);
  border-left: 3px solid #3b82f6;
  border-radius: 0 12px 12px 0;
  padding: 1rem 1.25rem;
  margin-bottom: 0.75rem;
}

.modal-pillar-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #f1f5f9;
  margin-bottom: 0.25rem;
}

.modal-pillar-desc {
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.5;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .portal-stage {
    flex-direction: column;
    position: relative;
  }
  .portal-half {
    width: 100% !important;
    height: 100% !important;
    position: absolute;
    inset: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }
  .portal-half.mobile-hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }
  .portal-divider {
    display: none !important;
  }
  .portal-bottom-card-wrap {
    bottom: 1.25rem !important;
    left: 0.85rem !important;
    right: 0.85rem !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 0.6rem !important;
  }
  .portal-mobile-switch-bar {
    display: flex !important;
    justify-content: center !important;
    width: 100% !important;
    margin-bottom: 0 !important;
  }
  .portal-mobile-switch-pill {
    display: inline-flex !important;
    flex-direction: row !important;
    align-items: center !important;
    padding: 4px 6px !important;
    border-radius: 9999px !important;
    background: rgba(15, 23, 42, 0.95) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(51, 65, 85, 0.8) !important;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4) !important;
  }
  .btn-mobile-tab {
    white-space: nowrap !important;
    font-size: 0.8rem !important;
    padding: 7px 18px !important;
  }
  .portal-bottom-card {
    width: 100% !important;
    max-width: 100% !important;
    padding: 1.25rem 1.35rem !important;
    border-radius: 18px !important;
  }
  .card-headline {
    font-size: 1.35rem !important;
  }
  .portal-header {
    padding: 0.75rem 1rem !important;
  }
  .portal-pill-group {
    display: none !important;
  }
  .portal-brand-title {
    font-size: 0.95rem !important;
  }
  .portal-compass-btn {
    bottom: 0.85rem !important;
    left: 0.85rem !important;
    z-index: 10 !important;
  }
  .hotspot-preview-card {
    width: 250px !important;
  }
  .modal-kpi-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
