.sm-ico { width: 15px; height: 15px; flex-shrink: 0; display: inline-block; vertical-align: middle; }
.sm-ico-lg { width: 21px; height: 21px; flex-shrink: 0; display: block; }
.sm-ico-xs { width: 11px; height: 11px; flex-shrink: 0; display: inline-block; }

.pv-browser {
  height: 100%;
  display: flex;
  flex-direction: column;
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #0a0d16;
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.68), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  overflow: hidden;
}

.pv-browser-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 15px;
  background: linear-gradient(180deg, #171d2e 0%, #111624 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.pv-dots { display: flex; gap: 6px; }
.pv-dot { width: 10px; height: 10px; border-radius: 50%; }
.pv-dot-r { background: #fb7185; }
.pv-dot-y { background: #fbbf24; }
.pv-dot-g { background: #34d399; }

.pv-url-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 9px;
  background: rgba(6, 8, 14, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 12px;
  color: #e2e8f0;
}

.pv-lock-svg { display: inline-flex; color: #34d399; }

.pv-url-sync {
  font-size: 10px;
  font-weight: 700;
  color: #6ee7b7;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.16);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.pv-mode-switch { display: flex; gap: 4px; }

.pv-mode-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #98a4c2;
  border-radius: 8px;
  padding: 4px 9px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}

.pv-mode-active {
  background: rgba(124, 92, 255, 0.24);
  border-color: rgba(139, 92, 246, 0.45);
  color: #ffffff;
}

.pv-viewport {
  position: relative;
  flex: 1;
  min-height: 540px;
  padding: 16px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  overflow: hidden;
}

.pv-backdrop-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  transition: filter 0.25s ease, opacity 0.25s ease;
}

.pv-backdrop-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg, rgba(7, 9, 15, 0.18) 0%, rgba(7, 9, 15, 0.54) 44%, rgba(7, 9, 15, 0.85) 100%);
  transition: background 0.25s ease;
}

.pv-viewport-focus .pv-backdrop-img { filter: blur(8px) brightness(0.45); }
.pv-viewport-focus .pv-backdrop-scrim { background: rgba(7, 9, 15, 0.78); }

.pv-stage-badge {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 4;
  max-width: calc(100% - 444px);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(10, 13, 22, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 11.5px;
  color: #e2e8f0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pv-widget-slot { position: relative; z-index: 5; width: 100%; display: flex; justify-content: flex-end; }

@media (max-width: 640px) {
  .pv-mode-switch, .pv-stage-badge { display: none; }
  .pv-viewport { min-height: 492px; padding: 10px; }
}
