@property --vig-color {
  syntax: '<color>';
  initial-value: rgba(7, 7, 7, 0.9);
  inherits: true;
}

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

:root {
  --orange: #FF5500;
  --orange-dim: #cc4400;
  --orange-glow: rgba(255, 85, 0, 0.15);
  --bg: #070707;
  --surface: #101010;
  --surface2: #181818;
  --text: #f0ece6;
  --muted: #555;
  --border: #222;
  --brand: #1a1a1a;
  --vig-color: rgba(7, 7, 7, 0.9);
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  overflow-x: hidden;
  cursor: none;
  transition: background 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* CURSOR */
#cur,
#cur-ring {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
}

#cur {
  width: 20px;
  height: 20px;
  background: none;
  mix-blend-mode: normal;
  transition: width .15s, height .15s, transform .05s;
  display: flex;
  align-items: center;
  justify-content: center;
}

#cur svg {
  width: 100%;
  height: 100%;
  fill: var(--orange);
  filter: drop-shadow(0 0 5px var(--orange));
  animation: spinCursor 3s linear infinite;
}

@keyframes spinCursor {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

#cur-ring {
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 85, 0, .45);
  z-index: 9998;
  transition: width .2s, height .2s;
}

body.hovering #cur {
  width: 22px;
  height: 22px;
}

body.hovering #cur-ring {
  width: 46px;
  height: 46px;
}

/* TOAST */
#toast-wrap {
  position: fixed;
  top: 90px;
  right: 32px;
  z-index: 5000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  background: #141414;
  border: 1px solid #282828;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 280px;
  transform: translateX(120%);
  opacity: 0;
  transition: transform .35s cubic-bezier(.16, 1, .3, 1), opacity .35s ease;
  pointer-events: all;
}

.toast.show {
  transform: translateX(0);
  opacity: 1;
}

.toast-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.toast-icon.cart {
  background: var(--orange-glow);
  color: var(--orange);
}

.toast-icon.wish {
  background: rgba(255, 60, 100, .12);
  color: #ff3c64;
}

.toast-icon.remove {
  background: rgba(80, 80, 80, .15);
  color: #888;
}

.toast-text {
  font-size: 13px;
  line-height: 1.4;
}

.toast-title {
  font-weight: 500;
  color: var(--text);
}

.toast-sub {
  color: #666;
  font-size: 12px;
}

/* CART DRAWER */
#cart-drawer {
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  width: 360px;
  background: #0c0c0c;
  border-left: 1px solid #1e1e1e;
  z-index: 4000;
  transform: translateX(100%);
  transition: transform .4s cubic-bezier(.16, 1, .3, 1);
  display: flex;
  flex-direction: column;
}

#cart-drawer.open,
#custom-drawer.open {
  transform: translateX(0);
}

#custom-drawer {
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  width: 380px;
  background: #0c0c0c;
  border-left: 1px solid #1e1e1e;
  z-index: 4001;
  transform: translateX(100%);
  transition: transform .4s cubic-bezier(.16, 1, .3, 1);
  display: flex;
  flex-direction: column;
}

.custom-section {
  padding: 24px;
  border-bottom: 1px solid #151515;
}

.custom-label {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #555;
  margin-bottom: 12px;
  display: block;
}

.custom-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
}

.swatch {
  aspect-ratio: 1;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .2s, border-color .2s;
}

.swatch:hover {
  transform: scale(1.1);
}

.swatch.active {
  border-color: var(--orange);
}

.pattern-btn {
  background: #111;
  border: 1px solid #222;
  color: #555;
  padding: 10px;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  text-align: center;
}

.pattern-btn.active {
  border-color: var(--orange);
  color: #fff;
}

.custom-input {
  width: 100%;
  background: #111;
  border: 1px solid #222;
  color: #fff;
  padding: 12px;
  font-family: 'DM Sans', sans-serif;
  outline: none;
  font-size: 14px;
}


.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .6);
  z-index: 3999;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s;
}

.drawer-overlay.show {
  opacity: 1;
  pointer-events: all;
}

.drawer-head {
  padding: 28px 24px 20px;
  border-bottom: 1px solid #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-head h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 2px;
}

.drawer-badge {
  background: var(--orange);
  color: #000;
  font-size: 11px;
  font-weight: 500;
  padding: 3px 8px;
  border-radius: 2px;
}

.close-btn {
  width: 32px;
  height: 32px;
  border: 1px solid #2a2a2a;
  background: transparent;
  color: #888;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .2s, color .2s;
}

.close-btn:hover {
  border-color: #444;
  color: var(--text);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 16px 24px;
}

.cart-items::-webkit-scrollbar {
  width: 3px;
}

.cart-items::-webkit-scrollbar-track {
  background: #111;
}

.cart-items::-webkit-scrollbar-thumb {
  background: #333;
}

.cart-item {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid #151515;
}

.cart-item-color {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  background: #111;
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.5), 0 4px 10px rgba(0, 0, 0, 0.3);
}

.cart-item-color svg {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  transform: rotate(-15deg);
}

.cart-item-info {
  flex: 1;
}

.cart-item-name {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 3px;
}

.cart-item-meta {
  font-size: 11px;
  color: #555;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.cart-item-price {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  color: var(--orange);
}

.cart-item-remove {
  background: transparent;
  border: none;
  color: #444;
  cursor: pointer;
  font-size: 16px;
  transition: color .2s;
  padding: 4px;
}

.cart-item-remove:hover {
  color: #ff4444;
}

.cart-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.qty-btn {
  width: 22px;
  height: 22px;
  border: 1px solid #2a2a2a;
  background: transparent;
  color: #888;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: border-color .2s, color .2s;
}

.qty-btn:hover {
  border-color: #444;
  color: var(--text);
}

.qty-num {
  font-size: 13px;
  min-width: 20px;
  text-align: center;
}

.drawer-footer {
  padding: 20px 24px;
  border-top: 1px solid #1a1a1a;
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 16px;
}

.cart-total-label {
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #555;
}

.cart-total-val {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  color: var(--text);
}

.checkout-btn {
  width: 100%;
  background: var(--orange);
  color: #000;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 3px;
  padding: 18px;
  border: none;
  cursor: pointer;
  transition: background .2s;
}

.checkout-btn:hover {
  background: #ff7733;
}

.empty-cart {
  text-align: center;
  padding: 60px 0;
  color: #333;
}

.empty-cart svg {
  margin-bottom: 16px;
  opacity: .3;
}

.empty-cart p {
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  padding: 26px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(rgba(7, 7, 7, .9), transparent);
  backdrop-filter: blur(0);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 2px;
  color: var(--text);
  text-decoration: none;
}

.logo-icon {
  width: 32px;
  height: 32px;
  border: 1.5px solid rgba(255, 255, 255, .2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-links {
  display: flex;
  gap: 40px;
}

.nav-links a {
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #555;
  text-decoration: none;
  transition: color .2s;
}

.nav-links a.active,
.nav-links a:hover {
  color: var(--text);
}

.nav-links a.portfolio-cta {
  color: var(--orange);
  font-weight: 600;
  position: relative;
  text-shadow: 0 0 15px rgba(255, 85, 0, 0.3);
}

.nav-links a.portfolio-cta::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.nav-links a.portfolio-cta:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.portfolio-glow {
  position: absolute;
  inset: -10px -20px;
  background: var(--orange);
  filter: blur(20px);
  opacity: 0.1;
  border-radius: 50%;
  pointer-events: none;
  animation: pulseGlow 2s ease-in-out infinite;
}

.nav-links a.portfolio-glow-link {
  color: #fff;
}

@keyframes pulseGlow {

  0%,
  100% {
    opacity: 0.05;
    transform: scale(1);
  }

  50% {
    opacity: 0.15;
    transform: scale(1.2);
  }
}

.nav-actions {
  display: flex;
  gap: 6px;
  align-items: center;
}

.nav-icon-btn {
  width: 38px;
  height: 38px;
  border: 1px solid transparent;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color .2s;
  border-radius: 2px;
  position: relative;
}

.nav-icon-btn:hover {
  border-color: #2a2a2a;
}

.nav-icon-btn svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #777;
  stroke-width: 1.5;
}

.nav-icon-btn:hover svg {
  stroke: var(--text);
}

#cart-count {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 14px;
  height: 14px;
  background: var(--orange);
  border-radius: 50%;
  font-size: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000;
  font-weight: 600;
  opacity: 0;
  transition: opacity .2s, transform .2s;
  transform: scale(0);
}

#cart-count.show {
  opacity: 1;
  transform: scale(1);
}

.search-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 300;
  background: #0a0a0a;
  border-bottom: 1px solid #1e1e1e;
  padding: 0 48px;
  display: flex;
  align-items: center;
  gap: 16px;
  height: 64px;
  transform: translateY(-100%);
  transition: transform .3s cubic-bezier(.16, 1, .3, 1);
}

.search-bar.open {
  transform: translateY(0);
}

.search-bar input {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 16px;
  font-family: 'DM Sans', sans-serif;
  outline: none;
}

.search-bar input::placeholder {
  color: #333;
}

.search-close {
  background: transparent;
  border: none;
  color: #555;
  cursor: pointer;
  font-size: 20px;
  transition: color .2s;
}

.search-close:hover {
  color: var(--text);
}

/* WISH INDICATOR */
.wish-count {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 14px;
  height: 14px;
  background: #ff3c64;
  border-radius: 50%;
  font-size: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  opacity: 0;
  transition: opacity .2s, transform .2s;
  transform: scale(0);
}

.wish-count.show {
  opacity: 1;
  transform: scale(1);
}

/* STAGE */
#stage {
  position: relative;
  height: 900vh;
}

#sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

/* BG LETTER */
.bg-brand {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.bg-brand span {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(100px, 17vw, 210px);
  color: var(--brand);
  letter-spacing: .05em;
  white-space: nowrap;
  will-change: transform;
}

canvas#c {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
}

/* VIGNETTE */
.vig {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: radial-gradient(ellipse at center, transparent 35%, var(--vig-color) 100%);
  transition: --vig-color 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* TOOLTIPS */
.ball-tooltip {
  position: absolute;
  pointer-events: none;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 15px;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.4s ease;
  transform: translateX(-20px);
}

.ball-tooltip.show {
  opacity: 1;
  transform: translateX(0);
}

.tooltip-line {
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, var(--orange), transparent);
}

.tooltip-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 14px;
  letter-spacing: 0.1em;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  white-space: nowrap;
}

/* SLIDE CONTENT */
.sl {
  position: absolute;
  inset: 0;
  z-index: 4;
  opacity: 0;
  pointer-events: none;
  transition: opacity .5s ease;
}

.sl.active {
  opacity: 1;
  pointer-events: all;
}

/* LEFT PANEL */
.left-panel {
  position: absolute;
  left: 52px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.series-tag {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: -8px;
}

.ball-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1;
  letter-spacing: 1px;
}

.ball-desc {
  font-size: 13px;
  color: #555;
  max-width: 200px;
  line-height: 1.7;
}

.size-picker {
  display: flex;
  gap: 8px;
  align-items: center;
}

.size-label {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #444;
}

.size-opt {
  width: 32px;
  height: 32px;
  border: 1px solid #252525;
  background: transparent;
  color: #555;
  font-size: 11px;
  cursor: pointer;
  transition: border-color .2s, color .2s, background .2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.size-opt.active,
.size-opt:hover {
  border-color: var(--orange);
  color: var(--orange);
}

.color-picker {
  display: flex;
  gap: 8px;
  align-items: center;
}

.color-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  border: 2px solid transparent;
}

.color-dot.active,
.color-dot:hover {
  transform: scale(1.25);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .3);
}

.action-row {
  display: flex;
  gap: 10px;
}

.btn-primary {
  background: var(--orange);
  color: #000;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px;
  letter-spacing: 2px;
  padding: 14px 32px;
  border: none;
  cursor: pointer;
  transition: background .2s, transform .1s;
  clip-path: polygon(6px 0%, 100% 0%, calc(100% - 6px) 100%, 0% 100%);
}

.btn-primary:hover {
  background: #ff7733;
}

.btn-primary:active {
  transform: scale(.97);
}

.btn-ghost {
  width: 46px;
  height: 46px;
  border: 1px solid #252525;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .2s, background .2s;
}

.btn-ghost svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: #666;
  stroke-width: 1.5;
  transition: stroke .2s;
}

.btn-ghost:hover {
  border-color: #444;
  background: rgba(255, 255, 255, .03);
}

.btn-ghost:hover svg,
.btn-ghost.active svg {
  stroke: var(--text);
}

.btn-ghost.wish-active svg {
  stroke: #ff3c64;
  fill: rgba(255, 60, 100, .2);
}

/* RIGHT TAGS */
.rtags {
  position: absolute;
  right: 52px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.rtag {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #2e2e2e;
  padding: 7px 14px;
  border: 1px solid #1c1c1c;
  white-space: nowrap;
}

.rtag.hi {
  color: var(--orange);
  border-color: #2a1000;
  background: rgba(255, 85, 0, .04);
}

/* BOTTOM */
.btm {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 28px 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(transparent, rgba(7, 7, 7, .97));
}

.price-wrap {}

.price-main {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 60px;
  color: var(--orange);
  letter-spacing: 1px;
  line-height: 1;
}

.price-note {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #3a3a3a;
  margin-top: 2px;
}

.nav-arrows {
  display: flex;
  gap: 8px;
}

.arr {
  width: 48px;
  height: 48px;
  border: 1px solid #252525;
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .2s, background .2s;
}

.arr svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: #666;
  stroke-width: 1.5;
}

.arr:hover {
  border-color: #444;
  background: rgba(255, 255, 255, .03);
}

.arr:hover svg {
  stroke: var(--text);
}

/* PROGRESS DOTS */
#dots {
  position: fixed;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.dot {
  width: 3px;
  height: 3px;
  border-radius: 2px;
  background: #2a2a2a;
  transition: height .3s ease, background .3s ease, opacity .3s;
  cursor: pointer;
}

.dot.active {
  height: 22px;
  background: var(--orange);
}

/* PAGE COUNTER */
#pgc {
  position: fixed;
  left: 26px;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  font-size: 10px;
  letter-spacing: 3px;
  color: #282828;
  z-index: 100;
  white-space: nowrap;
}

#pgc .cur {
  color: var(--orange);
}

/* PROMO PLAY */
.play-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.play-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1px solid #282828;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color .2s, transform .2s;
}

.play-circle svg {
  width: 14px;
  height: 14px;
  fill: var(--text);
  margin-left: 3px;
}

.play-btn:hover .play-circle {
  border-color: #444;
  transform: scale(1.06);
}

.play-label {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #444;
  line-height: 1.6;
  text-align: left;
}

/* STATS BAR */
.stats-bar {
  display: flex;
  gap: 24px;
  margin-top: 4px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-val {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  color: var(--text);
}

.stat-lbl {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #383838;
}

/* SCROLL HINT */
#scroll-hint {
  position: fixed;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 1;
  transition: opacity .4s;
}

#scroll-hint.hidden {
  opacity: 0;
  pointer-events: none;
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(var(--orange), transparent);
  animation: scrollPulse 1.8s ease-in-out infinite;
}

.scroll-text {
  font-size: 9px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #333;
}

@keyframes scrollPulse {

  0%,
  100% {
    opacity: .3;
    transform: scaleY(1);
  }

  50% {
    opacity: 1;
    transform: scaleY(1.2);
  }
}

/* NOISE */
#noise {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}


/* WISHLIST PANEL */
#wish-panel {
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  width: 340px;
  background: #0c0c0c;
  border-left: 1px solid #1a1a1a;
  z-index: 4000;
  transform: translateX(100%);
  transition: transform .4s cubic-bezier(.16, 1, .3, 1);
  display: flex;
  flex-direction: column;
}

#wish-panel.open {
  transform: translateX(0);
}

.wish-item {
  display: flex;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid #141414;
  align-items: center;
}

.wish-ball {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  background: #111;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}

.wish-ball svg {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.wish-info {
  flex: 1;
}

.wish-name {
  font-size: 12px;
  font-weight: 500;
}

.wish-price {
  font-size: 11px;
  color: var(--orange);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 16px;
}

.wish-remove {
  background: transparent;
  border: none;
  color: #333;
  cursor: pointer;
  transition: color .2s;
  font-size: 16px;
}

.wish-remove:hover {
  color: #ff4444;
}


/* SLIDE-IN TRANSITION */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sl.active .ball-name,
.sl.active .series-tag,
.sl.active .ball-desc,
.sl.active .stats-bar,
.sl.active .size-picker,
.sl.active .color-picker,
.sl.active .action-row {
  animation: slideUp .5s cubic-bezier(.16, 1, .3, 1) both;
}

.sl.active .series-tag {
  animation-delay: 0.1s;
}

.sl.active .ball-name {
  animation-delay: 0.2s;
}

.sl.active .ball-desc {
  animation-delay: 0.3s;
}

.sl.active .stats-bar {
  animation-delay: 0.4s;
}

.sl.active .size-picker {
  animation-delay: 0.5s;
}

.sl.active .color-picker {
  animation-delay: 0.6s;
}

.sl.active .action-row {
  animation-delay: 0.7s;
}

.sl.active .rtag {
  animation: slideUp 0.5s cubic-bezier(.16, 1, .3, 1) both;
}

.sl.active .rtag:nth-child(1) {
  animation-delay: 0.8s;
}

.sl.active .rtag:nth-child(2) {
  animation-delay: 0.9s;
}

.sl.active .rtag:nth-child(3) {
  animation-delay: 1.0s;
}

.btn-primary,
.btn-ghost,
.nav-icon-btn,
.arr,
.nav-links a {
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  will-change: transform;
}

@media(max-width:768px) {
  nav {
    padding: 16px 20px;
    flex-wrap: wrap;
    gap: 12px;
  }

  .nav-logo {
    font-size: 16px;
  }

  .nav-links {
    order: 3;
    width: 100%;
    justify-content: center;
    gap: 20px;
  }

  .left-panel {
    left: 24px;
    right: 24px;
    top: 55%;
  }

  .btm {
    padding: 16px 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .nav-arrows {
    align-self: flex-end;
    margin-top: -45px;
  }

  .rtags {
    display: none;
  }

  #pgc {
    display: none;
  }

  .ball-name {
    font-size: 42px;
  }

  .ball-desc {
    font-size: 12px;
  }

  .stats-bar {
    gap: 16px;
  }
}