/* =========================================================
   Visual360 Design-Switcher (Floating)
   ========================================================= */
html, body {
  margin: 0; padding: 0;
  height: 100%;
  background: #07111f;
  font-family: "Geist", "Inter", system-ui, -apple-system, sans-serif;
}
.v360-frame {
  display: block;
  border: 0;
  width: 100vw;
  height: 100vh;
  background: #07111f;
}

.v360-switcher {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 2147483000;
  font-family: "Geist", "Inter", system-ui, sans-serif;
  color: #0c111a;
}

.v360-switcher-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px 10px 14px;
  height: 44px;
  border-radius: 999px;
  border: 0;
  background: #0c111a;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  transition: transform .2s, box-shadow .2s;
}
.v360-switcher-toggle:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0,0,0,0.45); }
.v360-switcher-toggle svg { opacity: 0.9; }

.v360-switcher-panel {
  position: absolute;
  right: 0;
  bottom: 54px;
  width: 300px;
  background: #ffffff;
  color: #0c111a;
  border-radius: 18px;
  padding: 12px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.28);
  border: 1px solid rgba(10,20,40,0.08);
}

.v360-switcher-head {
  padding: 8px 8px 10px;
  border-bottom: 1px solid rgba(10,20,40,0.08);
}
.v360-switcher-head strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
}
.v360-switcher-head span {
  display: block;
  margin-top: 2px;
  font-size: 11px;
  color: #6b7280;
}

.v360-switcher-list {
  display: grid;
  gap: 6px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(10,20,40,0.08);
}

.v360-design {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  color: inherit;
  cursor: pointer;
  text-align: left;
  transition: background .15s, border-color .15s;
}
.v360-design:hover { background: rgba(10,20,40,0.04); }
.v360-design.is-active {
  background: rgba(10,20,40,0.05);
  border-color: rgba(10,20,40,0.14);
}
.v360-design-swatch {
  flex: 0 0 44px;
  width: 44px; height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(10,20,40,0.1);
  position: relative;
  overflow: hidden;
}
.v360-design-swatch.original {
  background:
    radial-gradient(circle at 30% 20%, #7af0ff 0%, transparent 40%),
    radial-gradient(circle at 80% 80%, #8e6bff 0%, transparent 40%),
    #07111f;
}
.v360-design-swatch.hud {
  background: #0b1018;
  background-image:
    linear-gradient(rgba(200,220,255,0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,220,255,0.16) 1px, transparent 1px);
  background-size: 8px 8px;
}
.v360-design-swatch.hud::after {
  content: ""; position: absolute; inset: 28%;
  border-radius: 50%;
  border: 1px solid #7af0ff;
  box-shadow: inset 0 0 10px rgba(122,240,255,0.4);
}
.v360-design-swatch.orbital {
  background:
    conic-gradient(from 0deg,
      #b98eff, #ff8a7a, #ffd27a, #7affd8, #7ac4ff, #b98eff);
}
.v360-design-swatch.orbital::after {
  content: ""; position: absolute; inset: 32%;
  border-radius: 50%;
  background: #0b1018;
}

.v360-design-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.v360-design-info b { font-size: 13px; font-weight: 600; }
.v360-design-info em { font-size: 11px; color: #6b7280; font-style: normal; line-height: 1.3; }

.v360-switcher-foot {
  padding: 10px 4px 4px;
  display: grid;
  gap: 10px;
}
.v360-row {
  display: grid;
  grid-template-columns: 58px 1fr;
  align-items: center;
  gap: 10px;
}
.v360-row-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #6b7280;
}
.v360-seg {
  display: inline-flex;
  background: rgba(10,20,40,0.05);
  border-radius: 999px;
  padding: 3px;
}
.v360-seg button {
  flex: 1;
  height: 28px;
  border: 0;
  background: transparent;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  color: #374151;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.v360-seg button:hover { color: #0c111a; }
.v360-seg button.is-active {
  background: #0c111a;
  color: #fff;
}

@media (max-width: 480px) {
  .v360-switcher-panel { width: calc(100vw - 32px); }
  .v360-switcher-toggle span { display: none; }
  .v360-switcher-toggle { padding: 0; width: 44px; justify-content: center; }
}
