/*! Starwide Encore Player — built from src/player.css, do not edit */

/* Neutralise theme/BuddyPress button styling inside the player. */
/* Specificity (2,0,2): above any theme/BuddyPress rule, below every player rule (2,1,0+). */
:where(.swp, .swp-dock, .swp-toasts) button:not(#_):not(#_):not(_), :where(.swp) input[type=range]:not(#_):not(#_):not(_) {
  margin: 0; min-width: 0; min-height: 0; border: 0; box-shadow: none; text-shadow: none; text-transform: none;
  letter-spacing: normal; line-height: 1; font: inherit; color: inherit; background: none; padding: 0; border-radius: 0; width: auto; height: auto; vertical-align: middle;
}
/*! Starwide Encore Player */
:root {
  --swp-accent: #ff3b5c;
  --swp-live: #ff1f3d;
  --swp-bg: #0b0b0f;
  --swp-panel: rgba(18, 18, 24, .92);
  --swp-line: rgba(255, 255, 255, .14);
  --swp-fg: #fff;
  --swp-muted: rgba(255, 255, 255, .68);
  --swp-radius: 12px;
  --swp-ease: cubic-bezier(.2, .8, .2, 1);
  --swp-wave-rest: rgba(255, 255, 255, .26);
  --swp-wave-buffer: rgba(255, 255, 255, .5);
}

/* ---------------------------------------------------------------- shell */

.swp:not(#_):not(#_) {
  position: relative;
  display: block;
  margin: 1.25em 0;
  padding: 0;
  max-width: 100%;
  color: inherit;
  font: 400 14px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}
.swp *:not(#_):not(#_), .swp *:not(#_):not(#_)::before, .swp *:not(#_):not(#_)::after { box-sizing: border-box; }
.swp button:not(#_):not(#_) { font: inherit; color: inherit; }
.swp a:not(#_):not(#_) { color: inherit; }
.swp-stage:not(#_):not(#_) {
  container-type: inline-size;
  container-name: swp;
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--swp-radius);
  background: var(--swp-bg);
  color: var(--swp-fg);
  isolation: isolate;
  user-select: none;
  -webkit-user-select: none;
}
.swp--boxed .swp-stage:not(#_):not(#_) { aspect-ratio: var(--swp-ratio, 16/9); }
.swp--fixed .swp-stage:not(#_):not(#_) { height: var(--swp-h, 166px); }
.swp--portrait:not(#_):not(#_) { width: min(100%, calc(86vh * 9 / 16), 460px); margin-left: auto; margin-right: auto; }
.swp--portrait.swp--boxed .swp-stage:not(#_):not(#_) { aspect-ratio: 9/16; }

.swp-media:not(#_):not(#_), .swp-el:not(#_):not(#_), .swp-poster:not(#_):not(#_), .swp-hit:not(#_):not(#_) { position: absolute; inset: 0; width: 100%; height: 100%; }
.swp-media:not(#_):not(#_) { z-index: 1; }
.swp-el:not(#_):not(#_) { border: 0; display: block; background: #000; object-fit: contain; }
.swp--fixed .swp-el:not(#_):not(#_) { background: transparent; }
audio.swp-el:not(#_):not(#_) { display: none; }
.swp--audio .swp-media:not(#_):not(#_), .swp--mode-memoir .swp-media:not(#_):not(#_) { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
.swp-poster:not(#_):not(#_) { z-index: 2; object-fit: cover; transition: opacity .35s ease, filter .3s ease; }
.swp--portrait .swp-poster:not(#_):not(#_) { object-fit: cover; }
.swp--started .swp-poster:not(#_):not(#_), .swp--previewing .swp-poster:not(#_):not(#_) { opacity: 0; pointer-events: none; }
.swp-hit:not(#_):not(#_) { z-index: 3; cursor: pointer; touch-action: manipulation; }

.swp-bigplay:not(#_):not(#_) {
  position: absolute; z-index: 6; left: 50%; top: 50%;
  width: 72px; height: 72px; margin: -36px 0 0 -36px; padding: 0;
  border: 0; border-radius: 50%; cursor: pointer;
  background: rgba(10, 10, 14, .55);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, .25), 0 10px 30px rgba(0, 0, 0, .35);
  display: grid; place-items: center;
  transition: transform .2s var(--swp-ease), background .2s;
}
.swp-bigplay svg:not(#_):not(#_) { width: 34px; height: 34px; fill: #fff; margin-left: 4px; }
.swp-bigplay:hover:not(#_):not(#_), .swp-bigplay:focus-visible:not(#_):not(#_) { transform: scale(1.08); background: var(--swp-accent); outline: none; }
.swp--started .swp-bigplay:not(#_):not(#_), .swp--loading .swp-bigplay:not(#_):not(#_), .swp--previewing .swp-bigplay:not(#_):not(#_) { opacity: 0; pointer-events: none; }
.swp-chip:not(#_):not(#_) {
  position: absolute; z-index: 5; right: 10px; bottom: 10px; padding: 3px 9px; border-radius: 999px;
  background: rgba(0, 0, 0, .6); font-size: 11px; font-weight: 600; letter-spacing: .02em;
}
.swp--started .swp-chip:not(#_):not(#_) { display: none; }
.swp-ico:not(#_):not(#_) { width: 22px; height: 22px; fill: currentColor; display: block; flex: none; }

/* ---------------------------------------------------------------- top bar: profile circle, title, live */

.swp-top:not(#_):not(#_) {
  position: absolute; z-index: 7; top: 0; left: 0; right: 0;
  display: flex; align-items: center; gap: 10px; padding: 12px 14px 28px;
  background: linear-gradient(rgba(0, 0, 0, .55), transparent);
  transition: opacity .3s;
  pointer-events: none;
}
.swp-top a:not(#_):not(#_), .swp-top button:not(#_):not(#_) { pointer-events: auto; }
.swp--mode-frame.swp--started .swp-top:not(#_):not(#_) { display: none; }
.swp-avatar:not(#_):not(#_) {
  flex: none; width: 40px; height: 40px; border-radius: 50%; overflow: hidden; display: grid; place-items: center;
  background: #333; font-weight: 700; text-decoration: none;
  box-shadow: 0 0 0 2px #fff;
}
.swp-avatar img:not(#_):not(#_) { width: 100%; height: 100%; object-fit: cover; }
.swp-avatar.is-live:not(#_):not(#_), .swp-live-ring:not(#_):not(#_) { box-shadow: 0 0 0 2px var(--swp-live), 0 0 14px 3px rgba(255, 31, 61, .65); animation: swp-glow 1.6s ease-in-out infinite; }
.swp-live-ring:not(#_):not(#_) { display: inline-block; border-radius: 50%; line-height: 0; }
@keyframes swp-glow { 50% { box-shadow: 0 0 0 3px var(--swp-live), 0 0 22px 6px rgba(255, 31, 61, .45); } }
.swp-top__text:not(#_):not(#_) { min-width: 0; display: flex; flex-direction: column; text-shadow: 0 1px 3px rgba(0, 0, 0, .6); }
.swp-top__name:not(#_):not(#_) { font-weight: 700; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.swp-top__title:not(#_):not(#_) { font-size: 13px; opacity: .9; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.swp-live-badge:not(#_):not(#_), .swp-live-dot:not(#_):not(#_) {
  margin-left: auto; padding: 2px 8px; border-radius: 4px; background: var(--swp-live);
  font-size: 11px; font-weight: 800; letter-spacing: .08em; animation: swp-pulse 1.4s infinite;
}
.swp-live-dot:not(#_):not(#_) { margin-left: 4px; }
@keyframes swp-pulse { 50% { opacity: .65; } }

/* Discretion notice: small red tag, top right, after playback starts. */
.swp-advisory:not(#_):not(#_) {
  position: absolute; z-index: 8; top: 12px; right: 12px; max-width: 70%;
  padding: 5px 10px; border-radius: 6px; background: #d7192f; color: #fff;
  font-size: 12px; font-weight: 700; letter-spacing: .01em;
  opacity: 0; transform: translateY(-6px); transition: opacity .3s, transform .3s, font-size .3s, padding .3s;
  pointer-events: none;
}
.swp-advisory.is-on:not(#_):not(#_) { opacity: 1; transform: none; }
.swp-advisory.is-small:not(#_):not(#_) { font-size: 10px; padding: 3px 7px; opacity: .85; }
.swp--live .swp-advisory:not(#_):not(#_) { top: 44px; }
.swp-advisory--inline:not(#_):not(#_) { position: static; opacity: 1; transform: none; display: inline-block; margin-top: 4px; font-size: 11px; }

/* ---------------------------------------------------------------- actions: rail (portrait) / bar (landscape) */

.swp-rail:not(#_):not(#_) {
  position: absolute; z-index: 8; right: 8px; bottom: 76px;
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  opacity: .7; transition: opacity .2s;
}
.swp-rail:hover:not(#_):not(#_), .swp-rail:focus-within:not(#_):not(#_) { opacity: 1; }
.swp-actions:not(#_):not(#_) { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 2px 0; color: inherit; }
.swp-act:not(#_):not(#_) {
  display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border: 0; border-radius: 999px; cursor: pointer;
  background: rgba(127, 127, 127, .14); color: inherit; text-decoration: none; transition: background .2s, transform .15s;
}
.swp-act:hover:not(#_):not(#_) { background: rgba(127, 127, 127, .26); }
.swp-act:active:not(#_):not(#_) { transform: scale(.94); }
.swp-act__ico:not(#_):not(#_) { display: grid; place-items: center; }
.swp-act__n:not(#_):not(#_) { font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; }
.swp-act__n:empty:not(#_):not(#_) { display: none; }
.swp-act.is-on .swp-ico:not(#_):not(#_) { fill: var(--swp-accent); }
.swp-act.is-on .swp-act__ico:not(#_):not(#_) { animation: swp-pop .35s var(--swp-ease); }
@keyframes swp-pop { 40% { transform: scale(1.35); } }
.swp-rail .swp-act:not(#_):not(#_) { flex-direction: column; gap: 2px; padding: 0; background: none; color: #fff; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .6)); }
.swp-rail .swp-act__ico:not(#_):not(#_) { width: 44px; height: 44px; border-radius: 50%; background: rgba(0, 0, 0, .28); }
.swp-rail .swp-ico:not(#_):not(#_) { width: 26px; height: 26px; }
.swp-rail .swp-act__n:not(#_):not(#_) { font-size: 12px; }

/* Record icon for linked audio. */
.swp-record:not(#_):not(#_) {
  display: block; width: 44px; height: 44px; border-radius: 50%;
  background: radial-gradient(circle, #111 0 18%, transparent 19%), repeating-radial-gradient(circle, #1c1c1c 0 2px, #2a2a2a 2px 3px);
  background-size: cover; box-shadow: 0 0 0 2px rgba(255, 255, 255, .25);
  animation: swp-spin 4s linear infinite; animation-play-state: paused;
}
.swp--playing .swp-record:not(#_):not(#_) { animation-play-state: running; }
.swp-act--sound:not(#_):not(#_) { padding: 0; background: none; }
.swp-act--sound .swp-record:not(#_):not(#_) { background-blend-mode: multiply; }

/* Title / description / hashtags / mentions, bottom-left in portrait. */
.swp-meta:not(#_):not(#_) {
  position: absolute; z-index: 7; left: 12px; right: 70px; bottom: 58px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .7); pointer-events: none; transition: opacity .3s;
}
.swp-meta__title:not(#_):not(#_) { display: block; font-size: 15px; margin-bottom: 3px; }
.swp-meta__desc:not(#_):not(#_), .swp-meta__tags:not(#_):not(#_) { margin: 0 0 2px; font-size: 13px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.swp-hashtag:not(#_):not(#_), .swp-meta__tags span:not(#_):not(#_), .swp-mention:not(#_):not(#_) { font-weight: 700; }

/* ---------------------------------------------------------------- controls */

.swp-ctrl:not(#_):not(#_) {
  position: absolute; z-index: 9; left: 0; right: 0; bottom: 0;
  padding: 26px 10px 6px;
  background: linear-gradient(transparent, rgba(0, 0, 0, .72));
  transition: opacity .25s, transform .25s;
}
.swp--portrait .swp-ctrl:not(#_):not(#_) { padding-top: 14px; }
.swp--idle .swp-ctrl:not(#_):not(#_), .swp--landscape.swp--idle .swp-top:not(#_):not(#_) { opacity: 0; pointer-events: none; }
/* Portrait keeps the profile circle, caption and 70% action rail on screen (TikTok-style); only the control bar hides. */
.swp--idle .swp-ctrl:not(#_):not(#_) { transform: translateY(6px); }
.swp--idle .swp-stage:not(#_):not(#_), .swp--idle .swp-hit:not(#_):not(#_) { cursor: none; }
.swp-ctrl__row:not(#_):not(#_) { display: flex; align-items: center; gap: 2px; min-width: 0; }
.swp-ctrl__row > *:not(#_):not(#_) { flex: none; }
.swp-ctrl__row > .swp-spacer:not(#_):not(#_) { flex: 1 1 0; min-width: 0; }
.swp-btn:not(#_):not(#_) {
  display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 8px;
  background: none; color: #fff; cursor: pointer; transition: background .15s, transform .15s;
}
.swp-btn:hover:not(#_):not(#_), .swp-btn:focus-visible:not(#_):not(#_) { background: rgba(255, 255, 255, .14); outline: none; }
.swp-btn:active:not(#_):not(#_) { transform: scale(.92); }
.swp-btn[disabled]:not(#_):not(#_) { opacity: .35; cursor: default; }
.swp-btn--play .swp-ico:not(#_):not(#_) { width: 26px; height: 26px; }
.swp-time:not(#_):not(#_) { margin-left: 6px; font-size: 13px; font-variant-numeric: tabular-nums; white-space: nowrap; opacity: .92; }
.swp-spacer:not(#_):not(#_) { flex: 1; }
.swp-rate-label:not(#_):not(#_) { font-size: 12px; font-weight: 700; color: var(--swp-accent); margin-right: 4px; }
.swp--live .swp-btn--fwd:not(#_):not(#_), .swp--live .swp-prog:not(#_):not(#_) { display: none; }

.swp-prog:not(#_):not(#_) { position: relative; height: 16px; display: flex; align-items: center; cursor: pointer; touch-action: none; margin: 0 4px 2px; }
.swp-prog__track:not(#_):not(#_) { position: relative; width: 100%; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, .25); overflow: hidden; transition: height .15s; }
.swp-prog:hover .swp-prog__track:not(#_):not(#_), .swp-prog:focus-visible .swp-prog__track:not(#_):not(#_) { height: 6px; }
.swp-prog__buf:not(#_):not(#_), .swp-prog__fill:not(#_):not(#_) { position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); }
.swp-prog__buf:not(#_):not(#_) { background: rgba(255, 255, 255, .4); }
.swp-prog__fill:not(#_):not(#_) { background: var(--swp-accent); }
.swp-prog__thumb:not(#_):not(#_) { position: absolute; left: 0; top: 50%; width: 13px; height: 13px; margin: -6.5px 0 0 -6.5px; border-radius: 50%; background: var(--swp-accent); transform: scale(0); transition: transform .15s; }
.swp-prog:hover .swp-prog__thumb:not(#_):not(#_), .swp-prog:focus-visible .swp-prog__thumb:not(#_):not(#_) { transform: scale(1); }
.swp-prog__tip:not(#_):not(#_) { position: absolute; bottom: 20px; transform: translateX(-50%); padding: 2px 6px; border-radius: 4px; background: rgba(0, 0, 0, .8); font-size: 12px; opacity: 0; pointer-events: none; }
.swp-prog:hover .swp-prog__tip:not(:empty):not(#_):not(#_) { opacity: 1; }

.swp-vol:not(#_):not(#_) { display: flex; align-items: center; }
.swp-vol__range:not(#_):not(#_) { width: 0; opacity: 0; margin: 0; transition: width .2s, opacity .2s; accent-color: var(--swp-accent); cursor: pointer; }
.swp-vol:hover .swp-vol__range:not(#_):not(#_), .swp-vol:focus-within .swp-vol__range:not(#_):not(#_) { width: 76px; opacity: 1; margin: 0 6px 0 2px; }
@media (hover: none) { .swp-vol__range:not(#_):not(#_) { display: none; } }

.swp-ctrl--frame:not(#_):not(#_) {
  position: static; display: flex; align-items: center; justify-content: flex-end; gap: 8px;
  padding: 6px 2px 0; background: none; color: inherit;
}
.swp-ctrl--frame .swp-btn:not(#_):not(#_) { color: inherit; width: 34px; height: 34px; }
.swp-ctrl--frame .swp-btn:hover:not(#_):not(#_) { background: rgba(127, 127, 127, .18); }
.swp-open:not(#_):not(#_) { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; opacity: .75; text-decoration: none; margin-right: auto; }
.swp-open .swp-ico:not(#_):not(#_) { width: 14px; height: 14px; }
.swp-open:hover:not(#_):not(#_) { opacity: 1; }

/* Spinner: YouTube-like ring, buffering % once data arrives. */
.swp-spin:not(#_):not(#_) { position: absolute; z-index: 6; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; display: none; place-items: center; pointer-events: none; }
.swp--waiting .swp-spin:not(#_):not(#_) { display: grid; }
.swp-spin__ring:not(#_):not(#_) { position: absolute; inset: 0; border-radius: 50%; border: 4px solid rgba(255, 255, 255, .18); border-top-color: #fff; animation: swp-spin .8s linear infinite; }
.swp-spin__pct:not(#_):not(#_) { font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; text-shadow: 0 1px 2px #000; }
@keyframes swp-spin { to { transform: rotate(360deg); } }

.swp-pill:not(#_):not(#_) {
  position: absolute; z-index: 9; top: 18%; left: 50%; transform: translateX(-50%) scale(.9);
  padding: 6px 14px; border-radius: 999px; background: rgba(0, 0, 0, .65); font-weight: 700; font-size: 14px;
  opacity: 0; transition: opacity .15s, transform .15s; pointer-events: none;
}
.swp-pill.is-on:not(#_):not(#_) { opacity: 1; transform: translateX(-50%) scale(1); }
.swp-pill[data-side="left"]:not(#_):not(#_) { left: 25%; }
.swp-pill[data-side="right"]:not(#_):not(#_) { left: 75%; }

.swp-unmute:not(#_):not(#_) {
  position: absolute; z-index: 9; left: 12px; top: 62px; display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px 7px 9px; border: 0; border-radius: 999px; background: #fff; color: #111 !important; font-weight: 700; font-size: 13px; cursor: pointer;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .3);
}
.swp-unmute .swp-ico:not(#_):not(#_) { width: 18px; height: 18px; }

.swp-heart:not(#_):not(#_) { position: absolute; z-index: 10; width: 96px; height: 96px; margin: -48px 0 0 -48px; pointer-events: none; animation: swp-heart .9s var(--swp-ease) forwards; }
.swp-heart .swp-ico:not(#_):not(#_) { width: 100%; height: 100%; fill: var(--swp-accent); filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .35)); }
@keyframes swp-heart {
  0% { transform: scale(.2) rotate(var(--swp-tilt, 0deg)); opacity: 0; }
  20% { transform: scale(1.15) rotate(var(--swp-tilt, 0deg)); opacity: 1; }
  45% { transform: scale(.95) rotate(var(--swp-tilt, 0deg)); }
  100% { transform: scale(1.1) translateY(-70px) rotate(var(--swp-tilt, 0deg)); opacity: 0; }
}

/* ---------------------------------------------------------------- menus & sheets */

.swp-menu:not(#_):not(#_) {
  position: absolute; z-index: 12; right: 10px; bottom: 64px; width: min(300px, calc(100% - 20px)); max-height: calc(100% - 80px); overflow: auto;
  padding: 10px; border-radius: 12px; background: var(--swp-panel); box-shadow: 0 12px 40px rgba(0, 0, 0, .5);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  opacity: 0; transform: translateY(8px); pointer-events: none; transition: opacity .18s, transform .18s;
}
.swp-menu.is-open:not(#_):not(#_) { opacity: 1; transform: none; pointer-events: auto; }
.swp-menu__h:not(#_):not(#_) { margin: 4px 4px 6px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--swp-muted); }
.swp-menu__chips:not(#_):not(#_) { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 10px; }
.swp-chipbtn:not(#_):not(#_) {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border: 1px solid var(--swp-line); border-radius: 999px;
  background: rgba(255, 255, 255, .06); color: #fff; font-size: 13px; cursor: pointer; white-space: nowrap;
}
.swp-chipbtn .swp-ico:not(#_):not(#_) { width: 16px; height: 16px; }
.swp-chipbtn:hover:not(#_):not(#_) { background: rgba(255, 255, 255, .14); }
.swp-chipbtn.is-on:not(#_):not(#_) { background: var(--swp-accent); border-color: var(--swp-accent); }
.swp-menu__list:not(#_):not(#_) { display: grid; gap: 2px; }
.swp-menu__item:not(#_):not(#_) { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 8px; border: 0; border-radius: 8px; background: none; color: #fff; text-align: left; cursor: pointer; }
.swp-menu__item .swp-ico:not(#_):not(#_) { width: 18px; height: 18px; }
.swp-menu__item:hover:not(#_):not(#_) { background: rgba(255, 255, 255, .1); }
.swp-menu__item.is-on:not(#_):not(#_) { color: var(--swp-accent); }

.swp-sheet:not(#_):not(#_) {
  position: absolute; z-index: 14; left: 10px; right: 10px; bottom: 10px; max-height: calc(100% - 20px); overflow: auto;
  padding: 12px; border-radius: 14px; background: var(--swp-panel); color: #fff; box-shadow: 0 16px 50px rgba(0, 0, 0, .55);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  opacity: 0; transform: translateY(12px); transition: opacity .2s, transform .2s;
}
.swp > .swp-sheet:not(#_):not(#_) { bottom: auto; top: 10px; }
.swp-sheet.is-open:not(#_):not(#_) { opacity: 1; transform: none; }
.swp-sheet__head:not(#_):not(#_) { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.swp-sheet__head .swp-btn:not(#_):not(#_) { width: 32px; height: 32px; }
.swp-sheet__grid:not(#_):not(#_) { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 6px; }
.swp-net:not(#_):not(#_) { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 8px 2px; border: 0; border-radius: 10px; background: none; color: #fff; cursor: pointer; font-size: 11px; }
.swp-net:hover:not(#_):not(#_) { background: rgba(255, 255, 255, .08); }
.swp-net__dot:not(#_):not(#_) { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; font-weight: 800; font-size: 16px; background: #444; }
.swp-net--facebook .swp-net__dot:not(#_):not(#_) { background: #1877f2; } .swp-net--x .swp-net__dot:not(#_):not(#_) { background: #000; box-shadow: inset 0 0 0 1px #444; }
.swp-net--pinterest .swp-net__dot:not(#_):not(#_) { background: #e60023; } .swp-net--tumblr .swp-net__dot:not(#_):not(#_) { background: #001935; }
.swp-net--vk .swp-net__dot:not(#_):not(#_) { background: #0077ff; } .swp-net--qq .swp-net__dot:not(#_):not(#_) { background: #12b7f5; } .swp-net--qzone .swp-net__dot:not(#_):not(#_) { background: #fece00; color: #222; }
.swp-net--reddit .swp-net__dot:not(#_):not(#_) { background: #ff4500; } .swp-net--messenger .swp-net__dot:not(#_):not(#_) { background: linear-gradient(45deg, #0099ff, #a033ff, #ff5280); }
.swp-net--instagram .swp-net__dot:not(#_):not(#_) { background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af); } .swp-net--telegram .swp-net__dot:not(#_):not(#_) { background: #26a5e4; }
.swp-net--discord .swp-net__dot:not(#_):not(#_) { background: #5865f2; } .swp-net--snapchat .swp-net__dot:not(#_):not(#_) { background: #fffc00; color: #111; }
.swp-net--whatsapp .swp-net__dot:not(#_):not(#_) { background: #25d366; } .swp-net--linkedin .swp-net__dot:not(#_):not(#_) { background: #0a66c2; } .swp-net--email .swp-net__dot:not(#_):not(#_) { background: #6b7280; }
.swp-sheet__row:not(#_):not(#_) { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.swp-sheet__url:not(#_):not(#_) { flex: 1 1 180px; min-width: 0; padding: 7px 10px; border: 1px solid var(--swp-line); border-radius: 8px; background: rgba(0, 0, 0, .3); color: #fff; font-size: 13px; }

/* Live source input */
.swp-stats:not(#_):not(#_) {
  position: absolute; z-index: 11; left: 10px; top: 60px; display: flex; gap: 12px; align-items: stretch;
  padding: 10px 34px 10px 10px; border-radius: 10px; background: rgba(0, 0, 0, .75); font-size: 11px; font-variant-numeric: tabular-nums;
}
.swp-meter:not(#_):not(#_) { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 56px; }
.swp-meter__bar:not(#_):not(#_) { position: relative; width: 12px; height: 84px; border-radius: 6px; background: rgba(255, 255, 255, .15); overflow: hidden; }
.swp-meter__fill:not(#_):not(#_) { position: absolute; left: 0; right: 0; bottom: 0; height: 2%; background: #ffd23f; transition: height .5s var(--swp-ease); }
.swp-meter--in .swp-meter__fill:not(#_):not(#_) { background: #3ddc84; }
.swp-meter--in.is-low .swp-meter__fill:not(#_):not(#_), .swp-meter__bar.is-low .swp-meter__fill:not(#_):not(#_) { background: #ff5a5a; }
.swp-meter__l:not(#_):not(#_) { color: var(--swp-muted); text-transform: uppercase; letter-spacing: .05em; font-size: 9px; }
.swp-meter__v:not(#_):not(#_) { font-weight: 700; white-space: nowrap; }
.swp-stats__lines:not(#_):not(#_) { display: flex; flex-direction: column; justify-content: center; gap: 3px; min-width: 110px; }
.swp-stats__lines b:not(#_):not(#_) { color: var(--swp-muted); font-weight: 600; }
.swp-stats__x:not(#_):not(#_) { position: absolute; right: 2px; top: 2px; width: 28px; height: 28px; }

/* ---------------------------------------------------------------- gates & errors */

.swp--gated .swp-poster:not(#_):not(#_) { filter: blur(24px) saturate(1.2); transform: scale(1.12); }
.swp--gated .swp-stage:not(#_):not(#_) { background: radial-gradient(120% 120% at 30% 20%, #2a2140, #0b0b0f 70%); }
.swp--gated .swp-bigplay svg:not(#_):not(#_) { display: none; }
.swp--gated .swp-bigplay:not(#_):not(#_)::after {
  content: ""; width: 26px; height: 26px; background: #fff;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10V7a5 5 0 0 1 10 0v3h1a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V11a1 1 0 0 1 1-1h1zm2 0h6V7a3 3 0 0 0-6 0v3z'/%3E%3C/svg%3E") center/contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M7 10V7a5 5 0 0 1 10 0v3h1a1 1 0 0 1 1 1v10a1 1 0 0 1-1 1H6a1 1 0 0 1-1-1V11a1 1 0 0 1 1-1h1zm2 0h6V7a3 3 0 0 0-6 0v3z'/%3E%3C/svg%3E") center/contain no-repeat;
}
.swp-gate:not(#_):not(#_), .swp-error:not(#_):not(#_) {
  position: absolute; z-index: 15; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  padding: 20px; text-align: center; background: rgba(8, 8, 12, .62); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  animation: swp-fade .2s ease;
}
.swp--audio > .swp-gate:not(#_):not(#_), .swp--audio > .swp-error:not(#_):not(#_) { border-radius: var(--swp-radius); color: #fff; }
.swp-gate__ico:not(#_):not(#_) { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: rgba(255, 255, 255, .12); }
.swp-gate__msg:not(#_):not(#_), .swp-error p:not(#_):not(#_) { max-width: 420px; margin: 0; font-size: 15px; font-weight: 600; line-height: 1.45; }
.swp-gate__acts:not(#_):not(#_) { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.swp-gate.is-shake:not(#_):not(#_) { animation: swp-shake .35s; }
.swp-cta:not(#_):not(#_) {
  display: inline-flex; align-items: center; padding: 9px 18px; border: 0; border-radius: 999px; cursor: pointer;
  background: var(--swp-accent); color: #fff !important; font-weight: 700; font-size: 14px; text-decoration: none;
}
.swp-cta--ghost:not(#_):not(#_) { background: rgba(255, 255, 255, .14); }
.swp-cta[disabled]:not(#_):not(#_) { opacity: .6; cursor: progress; }
@keyframes swp-fade { from { opacity: 0; } }
@keyframes swp-shake { 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }

/* ---------------------------------------------------------------- audio */

.swp--audio .swp-stage:not(#_):not(#_) {
  overflow: visible; padding: 14px; border-radius: 16px;
  background: linear-gradient(135deg, #1b1b24, #101016 60%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
}
.swp-ashell:not(#_):not(#_) { display: grid; grid-template-columns: 132px minmax(0, 1fr); gap: 16px; align-items: center; }
.swp-cover:not(#_):not(#_) {
  position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; display: grid; place-items: center;
  background: #262632 center/cover no-repeat;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
}
.swp-cover__note .swp-record:not(#_):not(#_) { width: 70px; height: 70px; }
.swp-aplay:not(#_):not(#_) {
  position: absolute; right: 8px; bottom: 8px; width: 52px; height: 52px; border: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer;
  background: var(--swp-accent); color: #fff; box-shadow: 0 6px 18px rgba(0, 0, 0, .4); transition: transform .15s;
}
.swp-aplay .swp-ico:not(#_):not(#_) { width: 28px; height: 28px; }
.swp-aplay:hover:not(#_):not(#_) { transform: scale(1.06); }
.swp-ahead:not(#_):not(#_) { display: flex; align-items: flex-start; gap: 10px; flex-wrap: wrap; }
.swp-ahead__t:not(#_):not(#_) { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.swp-atitle:not(#_):not(#_) { font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.swp-aby:not(#_):not(#_) { font-size: 13px; color: var(--swp-muted); text-decoration: none; }
.swp-ahead .swp-live-badge:not(#_):not(#_) { margin-left: 0; }
.swp-awave:not(#_):not(#_) { position: relative; margin: 8px 0 2px; }
.swp-wave:not(#_):not(#_) { position: relative; width: 100%; height: 64px; cursor: pointer; touch-action: none; outline: none; }
.swp-wave:focus-visible:not(#_):not(#_) { box-shadow: 0 0 0 2px var(--swp-accent); border-radius: 4px; }
.swp-wave__canvas:not(#_):not(#_) { display: block; width: 100%; height: 100%; }
.swp-wave__pins:not(#_):not(#_) { position: absolute; left: 0; right: 0; top: 62%; height: 0; }
.swp-pin:not(#_):not(#_) { position: absolute; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 1px; overflow: hidden; }
.swp-pin img:not(#_):not(#_) { width: 5px; height: 5px; display: block; }
.swp-wave__tip:not(#_):not(#_) { position: absolute; top: -20px; transform: translateX(-50%); padding: 1px 6px; border-radius: 4px; background: #000; font-size: 11px; opacity: 0; pointer-events: none; }
.swp-wave:hover .swp-wave__tip:not(:empty):not(#_):not(#_) { opacity: 1; }
.swp-awave__times:not(#_):not(#_) { display: flex; justify-content: space-between; font-size: 11px; color: var(--swp-muted); font-variant-numeric: tabular-nums; }
.swp-arow:not(#_):not(#_) { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; margin-top: 4px; }
.swp-btn--sm:not(#_):not(#_) { width: 34px; height: 34px; }
.swp-btn--sm .swp-ico:not(#_):not(#_) { width: 20px; height: 20px; }
.swp-btn--rate:not(#_):not(#_) { width: auto; padding: 0 8px; font-size: 12px; font-weight: 700; }
.swp-arow .swp-act:not(#_):not(#_) { padding: 6px 9px; background: none; color: #fff; }
.swp-arow .swp-act:hover:not(#_):not(#_) { background: rgba(255, 255, 255, .1); }
.swp-list:not(#_):not(#_) { list-style: none; margin: 8px 0 0; padding: 6px; max-height: 340px; overflow: auto; border-radius: 12px; background: rgba(127, 127, 127, .08); }
.swp-list[hidden]:not(#_):not(#_) { display: none; }
.swp-list__btn:not(#_):not(#_) { display: grid; grid-template-columns: 28px 1fr auto; gap: 10px; align-items: center; width: 100%; padding: 9px 8px; border: 0; border-radius: 8px; background: none; color: inherit; text-align: left; cursor: pointer; }
.swp-list__btn:hover:not(#_):not(#_) { background: rgba(127, 127, 127, .14); }
.swp-list__n:not(#_):not(#_) { opacity: .55; font-variant-numeric: tabular-nums; text-align: right; }
.swp-list__t:not(#_):not(#_) { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 600; }
.swp-list__d:not(#_):not(#_) { font-size: 12px; opacity: .6; white-space: nowrap; }
.swp-list__item.is-current .swp-list__t:not(#_):not(#_), .swp-list__item.is-current .swp-list__n:not(#_):not(#_) { color: var(--swp-accent); }
@media (max-width: 560px) {
  .swp-ashell:not(#_):not(#_) { grid-template-columns: 84px minmax(0, 1fr); gap: 12px; }
  .swp-aplay:not(#_):not(#_) { width: 40px; height: 40px; right: 4px; bottom: 4px; }
  .swp-aplay .swp-ico:not(#_):not(#_) { width: 22px; height: 22px; }
  .swp-wave:not(#_):not(#_) { height: 48px; }
  .swp-arow .swp-act__n:not(#_):not(#_) { display: none; }
}

/* Platform audio widgets (Spotify, SoundCloud, Deezer…) */
.swp--fixed .swp-stage:not(#_):not(#_) { background: transparent; }
.swp--fixed .swp-poster:not(#_):not(#_) { display: none; }
.swp--fixed:not(.swp--mounted) .swp-stage:not(#_):not(#_) { background: linear-gradient(135deg, #1b1b24, #101016); }
.swp--fixed .swp-top:not(#_):not(#_) { display: none; }

/* ---------------------------------------------------------------- slideshow */

.swp-slides:not(#_):not(#_) { position: absolute; inset: 0; z-index: 4; overflow: hidden; }
.swp-slides__track:not(#_):not(#_) { display: flex; height: 100%; transition: transform .38s var(--swp-ease); touch-action: pan-y; will-change: transform; cursor: grab; }
.swp-slides__track:active:not(#_):not(#_) { cursor: grabbing; }
.swp-slide:not(#_):not(#_) { position: relative; flex: 0 0 100%; height: 100%; display: grid; place-items: center; background: #000; }
.swp-slide__media:not(#_):not(#_) { max-width: 100%; max-height: 100%; width: 100%; height: 100%; object-fit: contain; pointer-events: none; -webkit-user-drag: none; }
.swp-slide__cap:not(#_):not(#_) { position: absolute; left: 12px; right: 12px; bottom: 54px; padding: 6px 10px; border-radius: 8px; background: rgba(0, 0, 0, .5); font-size: 13px; }
.swp-arrow:not(#_):not(#_) {
  position: absolute; z-index: 6; top: 50%; width: 44px; height: 44px; margin-top: -22px; border-radius: 50%;
  background: rgba(0, 0, 0, .45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.swp-arrow--l:not(#_):not(#_) { left: 10px; }
.swp-arrow--r:not(#_):not(#_) { right: 10px; }
.swp-arrow.is-profile:not(#_):not(#_) { background: var(--swp-accent); }
.swp--portrait .swp-arrow--r:not(#_):not(#_) { right: 64px; }
@media (hover: none) { .swp-arrow:not(#_):not(#_) { display: none; } }
.swp-sbar:not(#_):not(#_) {
  position: absolute; z-index: 7; left: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 10px;
  padding: 18px 10px 6px; background: linear-gradient(transparent, rgba(0, 0, 0, .6));
}
.swp-count:not(#_):not(#_) { font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; min-width: 42px; }
.swp-dots:not(#_):not(#_) { flex: 1; display: flex; justify-content: center; gap: 5px; padding: 8px 0; touch-action: none; cursor: pointer; }
.swp-dot:not(#_):not(#_) { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 2px; background: rgba(255, 255, 255, .45); cursor: pointer; transition: width .2s, background .2s; }
.swp-dot.is-on:not(#_):not(#_) { width: 20px; background: var(--swp-accent); }
.swp-sbar__r:not(#_):not(#_) { display: flex; align-items: center; }
.swp--portrait .swp-sbar:not(#_):not(#_) { padding-right: 10px; }
.swp--portrait .swp-rail:not(#_):not(#_) { bottom: 64px; }
.swp-bigplay--sound:not(#_):not(#_) { top: auto; bottom: 64px; left: auto; right: 14px; width: 52px; height: 52px; margin: 0; }
.swp-bigplay--sound svg:not(#_):not(#_) { width: 24px; height: 24px; }
.swp-peek:not(#_):not(#_) {
  position: absolute; z-index: 8; right: 10px; top: 50%; display: flex; flex-direction: column; align-items: center; gap: 8px;
  width: 120px; padding: 14px 10px; border-radius: 14px; background: rgba(0, 0, 0, .7); text-align: center; text-decoration: none;
  opacity: 0; transform: translate3d(140px, -50%, 0); pointer-events: none; font-size: 12px; font-weight: 600;
}
.swp-peek img:not(#_):not(#_), .swp-peek__i:not(#_):not(#_) { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #fff; display: grid; place-items: center; background: #333; font-size: 20px; }
.swp-peek.is-armed:not(#_):not(#_) { background: var(--swp-accent); }
.swp--leaving .swp-stage:not(#_):not(#_) { transition: transform .2s ease, opacity .2s ease; transform: translateX(-30px); opacity: .4; }

/* ---------------------------------------------------------------- image & card */

.swp--image .swp-stage:not(#_):not(#_) { aspect-ratio: auto; }
.swp--image .swp-media:not(#_):not(#_), .swp--card .swp-media:not(#_):not(#_) { position: relative; height: auto; }
.swp-photo:not(#_):not(#_) { display: block; width: 100%; height: auto; max-height: 80vh; object-fit: contain; -webkit-user-drag: none; user-select: none; }
.swp--boxed.swp--image .swp-photo:not(#_):not(#_) { height: 100%; max-height: none; position: absolute; inset: 0; }
.swp-shield:not(#_):not(#_) { position: absolute; inset: 0; z-index: 2; background: transparent; -webkit-touch-callout: none; }
.swp--card .swp-stage:not(#_):not(#_) { aspect-ratio: auto; height: auto; background: none; overflow: visible; color: inherit; }
.swp-card:not(#_):not(#_) {
  display: flex; gap: 0; overflow: hidden; border-radius: var(--swp-radius); text-decoration: none; color: inherit;
  border: 1px solid rgba(127, 127, 127, .25); background: rgba(127, 127, 127, .06); transition: background .2s;
}
.swp-card:hover:not(#_):not(#_) { background: rgba(127, 127, 127, .12); }
.swp-card__img:not(#_):not(#_) { flex: 0 0 min(34%, 220px); background: #222; }
.swp-card__img img:not(#_):not(#_) { width: 100%; height: 100%; object-fit: cover; display: block; }
.swp-card__body:not(#_):not(#_) { display: flex; flex-direction: column; gap: 3px; padding: 12px 14px; min-width: 0; }
.swp-card__site:not(#_):not(#_) { font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .6; }
.swp-card__title:not(#_):not(#_) { font-weight: 700; line-height: 1.3; }
.swp-card__desc:not(#_):not(#_) { font-size: 13px; opacity: .75; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.swp-card__note:not(#_):not(#_) { font-size: 12px; opacity: .6; font-style: italic; }
.swp--card .swp-actions:not(#_):not(#_), .swp--card .swp-top:not(#_):not(#_) { display: none; }

/* ---------------------------------------------------------------- fullscreen */

.swp--fs:not(#_):not(#_) { margin: 0; width: 100% !important; height: 100%; max-width: none; background: #000; display: flex; align-items: center; justify-content: center; }
.swp--fs .swp-stage:not(#_):not(#_) { width: 100%; height: 100%; aspect-ratio: auto !important; border-radius: 0; }
.swp--fs.swp--portrait .swp-stage:not(#_):not(#_) { width: min(100vw, calc(100vh * 9 / 16)); height: min(100vh, calc(100vw * 16 / 9)); }
.swp--fs .swp-actions:not(#_):not(#_), .swp--fs > .swp-ctrl--frame:not(#_):not(#_) { display: none; }
.swp:fullscreen:not(#_):not(#_) { background: #000; }

/* ---------------------------------------------------------------- miniplayer */

.swp--mini .swp-stage:not(#_):not(#_) {
  position: fixed; z-index: 99990; right: 16px; bottom: 16px; width: min(360px, 56vw); height: auto;
  aspect-ratio: var(--swp-ratio, 16/9); border-radius: 12px; box-shadow: 0 18px 50px rgba(0, 0, 0, .45);
  transition: opacity .2s; animation: swp-mini-in .25s var(--swp-ease);
}
.swp--mini.swp--portrait .swp-stage:not(#_):not(#_) { width: min(200px, 40vw); }
.swp--mini.swp--fixed .swp-stage:not(#_):not(#_) { aspect-ratio: auto; height: var(--swp-h); }
html.swp-has-dock .swp--mini .swp-stage:not(#_):not(#_) { bottom: 88px; }
@keyframes swp-mini-in { from { transform: translateY(20px); opacity: 0; } }
.swp--mini .swp-ctrl:not(#_):not(#_), .swp--mini .swp-top:not(#_):not(#_), .swp--mini .swp-rail:not(#_):not(#_), .swp--mini .swp-meta:not(#_):not(#_), .swp--mini .swp-hit:not(#_):not(#_), .swp--mini .swp-advisory:not(#_):not(#_), .swp--mini .swp-unmute:not(#_):not(#_), .swp--mini .swp-stats:not(#_):not(#_), .swp--mini .swp-menu:not(#_):not(#_), .swp--mini .swp-sheet:not(#_):not(#_) { display: none; }
.swp-mini:not(#_):not(#_) { position: absolute; z-index: 20; inset: 0; opacity: 0; transition: opacity .2s; background: rgba(0, 0, 0, .35); touch-action: none; cursor: grab; }
.swp-mini:hover:not(#_):not(#_), .swp-mini:focus-within:not(#_):not(#_) { opacity: 1; }
@media (hover: none) { .swp-mini:not(#_):not(#_) { opacity: 1; background: linear-gradient(rgba(0, 0, 0, .45), transparent 40%); } }
.swp-mini .swp-btn:not(#_):not(#_) { position: absolute; width: 38px; height: 38px; background: rgba(0, 0, 0, .5); border-radius: 50%; }
.swp-mini__mute:not(#_):not(#_) { left: 8px; top: 8px; }
.swp-mini__close:not(#_):not(#_) { right: 8px; top: 8px; }
.swp-mini__play:not(#_):not(#_) { left: 50%; top: 50%; margin: -22px 0 0 -22px; width: 44px !important; height: 44px !important; }
.swp-mini .swp-btn[hidden]:not(#_):not(#_) { display: none; }
.swp--mini.swp--mode-frame .swp-mini:not(#_):not(#_) { inset: 0 0 auto 0; height: 54px; background: linear-gradient(rgba(0, 0, 0, .6), transparent); }

/* ---------------------------------------------------------------- docked audio bar */

.swp-dock:not(#_):not(#_) {
  position: fixed; z-index: 99991; left: 0; right: 0; bottom: 0; color: #fff;
  background: rgba(16, 16, 22, .96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, .35); transform: translateY(110%); transition: transform .28s var(--swp-ease);
  font: 400 14px/1.3 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
.swp-dock.is-on:not(#_):not(#_) { transform: none; }
.swp-dock .swp-btn:not(#_):not(#_) { color: #fff; }
.swp-dock__prog:not(#_):not(#_) { display: block; height: 3px; background: rgba(255, 255, 255, .15); cursor: pointer; }
.swp-dock__fill:not(#_):not(#_) { display: block; height: 100%; background: var(--swp-accent); transform-origin: left; transform: scaleX(0); }
.swp-dock__in:not(#_):not(#_) { display: flex; align-items: center; gap: 8px; max-width: 1100px; margin: 0 auto; padding: 8px 12px; }
.swp-dock__cover:not(#_):not(#_) { flex: none; width: 44px; height: 44px; border-radius: 8px; background: #2a2a35 center/cover; }
.swp-dock__text:not(#_):not(#_) { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.swp-dock__title:not(#_):not(#_) { font-weight: 700; color: #fff; text-decoration: none; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.swp-dock__sub:not(#_):not(#_) { font-size: 12px; opacity: .65; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.swp-dock__play:not(#_):not(#_) { background: var(--swp-accent) !important; border-radius: 50% !important; }
@media (max-width: 520px) { .swp-dock__b:not(#_):not(#_) { display: none; } }

/* ---------------------------------------------------------------- toasts */

.swp-toasts:not(#_):not(#_) { position: fixed; z-index: 99999; left: 50%; bottom: 24px; transform: translateX(-50%); display: grid; gap: 8px; pointer-events: none; }
html.swp-has-dock .swp-toasts:not(#_):not(#_) { bottom: 90px; }
.swp-toast:not(#_):not(#_) {
  display: flex; gap: 10px; align-items: center; padding: 10px 16px; border-radius: 999px; background: #16161d; color: #fff;
  font: 600 14px/1.3 system-ui, sans-serif; box-shadow: 0 10px 30px rgba(0, 0, 0, .35); pointer-events: auto; animation: swp-fade .2s;
  transition: opacity .4s, transform .4s;
}
.swp-toast a:not(#_):not(#_) { color: var(--swp-accent); }
.swp-toast.is-out:not(#_):not(#_) { opacity: 0; transform: translateY(8px); }

/* ---------------------------------------------------------------- embeds & context */

.swp-attached:not(#_):not(#_) { display: grid; gap: 12px; margin-top: 10px; }
.swp-attached .swp:not(#_):not(#_) { margin: 0; }
/* Inside core embed blocks, drop WordPress's own ratio padding (the player sizes itself). */
.wp-block-embed__wrapper:has(> .swp):not(#_):not(#_)::before { display: none !important; }
.wp-has-aspect-ratio .wp-block-embed__wrapper:has(> .swp):not(#_):not(#_) { position: static; }
.swp-block > .swp:not(#_):not(#_) { margin-top: 0; }
.activity-inner .swp:not(#_):not(#_), .bbp-reply-content .swp:not(#_):not(#_) { max-width: 640px; }
.activity-inner .swp--portrait:not(#_):not(#_) { max-width: min(100%, 360px); margin-left: 0; }

@media (prefers-reduced-motion: reduce) {
  .swp *:not(#_):not(#_), .swp-dock:not(#_):not(#_), .swp-toast:not(#_):not(#_) { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
@media (max-width: 480px) {
  .swp-btn:not(#_):not(#_) { width: 36px; height: 36px; }
  .swp-btn--back:not(#_):not(#_), .swp-btn--pip:not(#_):not(#_) { display: none; }
  .swp-time:not(#_):not(#_) { font-size: 12px; }
}

/* Narrow players (portrait shorts, sidebars): keep the essentials. */
@container swp (max-width: 440px) {
  .swp-btn--back:not(#_):not(#_), .swp-btn--fwd:not(#_):not(#_), .swp-btn--pip:not(#_):not(#_), .swp-rate-label:not(#_):not(#_) { display: none; }
  .swp-btn:not(#_):not(#_) { width: 36px; height: 36px; }
  .swp-time:not(#_):not(#_) { font-size: 12px; margin-left: 2px; }
  .swp-vol:hover .swp-vol__range:not(#_):not(#_), .swp-vol:focus-within .swp-vol__range:not(#_):not(#_) { width: 56px; }
}
@container swp (max-width: 300px) {
  .swp-time:not(#_):not(#_), .swp-btn--gear:not(#_):not(#_) { display: none; }
}
@container swp (max-width: 520px) {
  .swp-arow:not(#_):not(#_) { gap: 0; }
  .swp-arow .swp-spacer:not(#_):not(#_) { flex-basis: 100%; height: 0; }
  .swp-arow .swp-act:not(#_):not(#_) { padding: 6px 7px; }
}

/* ================================================================ Phase 2 */

/* ---- resume & bookmarks ---- */
.swp-resbar:not(#_):not(#_) { position: absolute; z-index: 5; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255, 255, 255, .25); pointer-events: none; }
.swp-resbar > span:not(#_):not(#_) { display: block; height: 100%; background: var(--swp-live); }
.swp-cover .swp-resbar:not(#_):not(#_) { border-radius: 0 0 12px 12px; overflow: hidden; }
.swp--started .swp-stage > .swp-resbar:not(#_):not(#_) { display: none; }
.swp-resume:not(#_):not(#_) {
  position: absolute; z-index: 10; left: 12px; bottom: 70px; display: inline-flex; align-items: center; gap: 10px;
  padding: 6px 6px 6px 12px; border-radius: 999px; background: rgba(0, 0, 0, .78); color: #fff; font-size: 13px; font-weight: 600;
  animation: swp-fade .2s ease; transition: opacity .5s;
}
.swp--audio > .swp-resume:not(#_):not(#_) { top: auto; bottom: 12px; left: 12px; right: auto; }
.swp-resume button:not(#_):not(#_) { padding: 5px 10px; border-radius: 999px; background: rgba(255, 255, 255, .16); font-size: 12px; font-weight: 700; cursor: pointer; }
.swp-resume.is-out:not(#_):not(#_) { opacity: 0; }
.swp-marks:not(#_):not(#_), .swp-pins:not(#_):not(#_) { position: absolute; left: 0; right: 0; top: 50%; height: 0; pointer-events: none; }
.swp-mark:not(#_):not(#_) { position: absolute; top: -5px; width: 3px; height: 10px; margin-left: -1.5px; border-radius: 2px; background: #ffd23f; box-shadow: 0 0 0 1px rgba(0, 0, 0, .4); }
.swp-wave .swp-marks:not(#_):not(#_) { top: 62%; }
.swp-wave .swp-mark:not(#_):not(#_) { top: -32px; height: 32px; width: 2px; opacity: .85; }
.swp-menu__check .swp-check:not(#_):not(#_) { width: 18px; height: 18px; border-radius: 4px; border: 2px solid rgba(255, 255, 255, .6); display: inline-grid; place-items: center; flex: none; }
.swp-menu__check.is-on .swp-check:not(#_):not(#_) { background: var(--swp-accent); border-color: var(--swp-accent); }
.swp-menu__check.is-on .swp-check:not(#_):not(#_)::after { content: ""; width: 9px; height: 5px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.swp-menu__check.is-on:not(#_):not(#_) { color: #fff; }
.swp-menu__resume:not(#_):not(#_) { margin-bottom: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--swp-line); }
.swp-bm:not(#_):not(#_) { padding: 0; gap: 0; overflow: hidden; }
.swp-bm__go:not(#_):not(#_) { padding: 6px 4px 6px 11px; cursor: pointer; font-variant-numeric: tabular-nums; }
.swp-bm__x:not(#_):not(#_) { padding: 6px 10px 6px 6px; cursor: pointer; opacity: .7; }
.swp-bm__x:hover:not(#_):not(#_) { opacity: 1; }

/* ---- timestamped comment pins (5×5 avatars) ---- */
.swp-tpin:not(#_):not(#_) {
  position: absolute; top: -16px; width: 9px; height: 9px; margin-left: -4.5px; padding: 2px; pointer-events: auto; cursor: pointer;
  display: grid; place-items: center; background: none; transition: transform .12s;
}
.swp-tpin img:not(#_):not(#_) { width: 5px; height: 5px; display: block; border-radius: 1px; box-shadow: 0 0 0 1px rgba(255, 255, 255, .85); image-rendering: auto; }
.swp-tpin:hover:not(#_):not(#_), .swp-tpin:focus-visible:not(#_):not(#_) { transform: scale(2.4); z-index: 2; }
.swp-wave .swp-pins:not(#_):not(#_) { top: 62%; }
.swp-wave .swp-tpin:not(#_):not(#_) { top: 3px; }
.swp-pincard:not(#_):not(#_) {
  position: absolute; bottom: 22px; transform: translateX(-50%); z-index: 20; display: flex; gap: 8px; align-items: flex-start;
  width: max-content; max-width: min(300px, 80vw); padding: 8px 10px; border-radius: 10px; background: rgba(14, 14, 20, .96); color: #fff;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .5); font-size: 12px; line-height: 1.35; pointer-events: auto; animation: swp-fade .12s;
}
.swp-wave .swp-pincard:not(#_):not(#_) { bottom: 34px; }
.swp-pincard img:not(#_):not(#_) { width: 24px; height: 24px; border-radius: 50%; flex: none; }
.swp-pincard__n:not(#_):not(#_) { font-weight: 700; text-decoration: none; }
.swp-pincard__t:not(#_):not(#_) { opacity: .6; }
.swp-pincard__txt:not(#_):not(#_) { display: block; margin-top: 2px; }
.swp-pincard__txt p:not(#_):not(#_) { margin: 0; }
.swp-pincard__txt img:not(#_):not(#_) { width: auto; height: 1.4em; border-radius: 0; vertical-align: middle; }

/* ---- comment sheet ---- */
.swp-csheet:not(#_):not(#_) { display: flex; flex-direction: column; max-height: min(78%, 560px); top: auto; bottom: 10px; }
.swp > .swp-csheet:not(#_):not(#_) { top: auto; bottom: 0; left: 0; right: 0; max-height: 70vh; position: relative; margin-top: 10px; transform: none; }
.swp--audio > .swp-csheet:not(#_):not(#_) { position: relative; margin-top: 10px; }
.swp-clist:not(#_):not(#_) { list-style: none; margin: 0 0 8px; padding: 0; overflow: auto; flex: 1 1 auto; min-height: 60px; }
.swp-clist__item:not(#_):not(#_) { display: flex; gap: 10px; padding: 8px 2px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.swp-clist__item.is-new:not(#_):not(#_) { animation: swp-flash 1.2s ease; }
@keyframes swp-flash { 0% { background: rgba(255, 59, 92, .25); } 100% { background: transparent; } }
.swp-clist__av:not(#_):not(#_) { width: 32px; height: 32px; border-radius: 50%; flex: none; }
.swp-clist__b:not(#_):not(#_) { min-width: 0; flex: 1; }
.swp-clist__meta:not(#_):not(#_) { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 12px; }
.swp-clist__n:not(#_):not(#_) { font-weight: 700; text-decoration: none; }
.swp-clist__t:not(#_):not(#_) { padding: 1px 7px; border-radius: 999px; background: rgba(255, 59, 92, .2); color: #ff8fa3; font-weight: 700; font-size: 11px; cursor: pointer; font-variant-numeric: tabular-nums; }
.swp-clist__d:not(#_):not(#_) { opacity: .55; }
.swp-clist__p:not(#_):not(#_) { padding: 1px 6px; border-radius: 4px; background: rgba(255, 210, 63, .2); color: #ffd23f; font-size: 10px; }
.swp-clist__txt:not(#_):not(#_) { font-size: 14px; line-height: 1.45; word-wrap: break-word; }
.swp-clist__txt p:not(#_):not(#_) { margin: 2px 0; }
.swp-clist__txt img:not(#_):not(#_) { max-width: 100%; height: auto; border-radius: 6px; }
.swp-clist__txt img.emoji:not(#_):not(#_), .swp-clist__txt img[class*="emoji"]:not(#_):not(#_) { height: 1.4em; width: auto; vertical-align: middle; }
.swp-clist__empty:not(#_):not(#_) { padding: 18px 4px; text-align: center; opacity: .7; font-size: 13px; }
.swp-spin__ring--sm:not(#_):not(#_) { position: relative; display: inline-block; width: 22px; height: 22px; border-width: 3px; }
.swp-compose:not(#_):not(#_) { display: grid; gap: 8px; border-top: 1px solid var(--swp-line); padding-top: 8px; }
.swp-compose__row:not(#_):not(#_) { display: flex; gap: 8px; align-items: center; }
.swp-compose__av:not(#_):not(#_) { width: 30px; height: 30px; border-radius: 50%; flex: none; align-self: flex-start; }
.swp-compose textarea:not(#_):not(#_) {
  flex: 1; min-width: 0; resize: vertical; min-height: 40px; max-height: 140px; padding: 8px 10px; border: 1px solid var(--swp-line); border-radius: 10px;
  background: rgba(0, 0, 0, .35); color: #fff; font: 14px/1.4 system-ui, sans-serif;
}
.swp-compose__opts:not(#_):not(#_) { flex-wrap: wrap; font-size: 12px; }
.swp-compose__at:not(.is-on):not(#_):not(#_) { opacity: .55; text-decoration: line-through; }
.swp-compose__pub:not(#_):not(#_) { display: inline-flex; gap: 5px; align-items: center; cursor: pointer; }
.swp-compose__pub input:not(#_):not(#_) { accent-color: var(--swp-accent); }
.swp-compose .swp-cta:not(#_):not(#_) { padding: 7px 16px; }
.swp-compose__note:not(#_):not(#_) { margin: 4px 0; font-size: 13px; opacity: .85; }
.swp-compose__note a:not(#_):not(#_) { color: var(--swp-accent); }
a.swp-ts:not(#_):not(#_) { display: inline-block; padding: 0 6px; margin-right: 4px; border-radius: 999px; background: rgba(255, 59, 92, .14); color: var(--swp-accent); font-weight: 700; font-size: .9em; text-decoration: none; }

/* ---- media surfing ---- */
.swp-surfer:not(#_):not(#_) {
  position: relative; overflow: hidden; background: #000; color: #fff; touch-action: none; user-select: none; -webkit-user-select: none; outline: none;
  font: 400 14px/1.4 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; overscroll-behavior: contain;
}
.swp-surfer--overlay:not(#_):not(#_), .swp-surfer--page:not(#_):not(#_) { position: fixed; inset: 0; z-index: 100001; height: 100dvh; }
.swp-surfer--page:not(#_):not(#_) { z-index: 1; }
.swp-surfer--inline:not(#_):not(#_) { height: 100%; min-height: 420px; border-radius: 16px; }
.swp-surfer-mount:not(#_):not(#_) { position: relative; margin: 1.25em 0; }
.swp-surfer-mount--page:not(#_):not(#_) { margin: 0; }
html.swp-surfing:not(#_):not(#_), html.swp-surfing body:not(#_):not(#_) { overflow: hidden; }
.swp-surf__track:not(#_):not(#_) { position: absolute; inset: 0; transition: transform .34s cubic-bezier(.2, .8, .2, 1); will-change: transform; }
.swp-surf__slot:not(#_):not(#_) { position: absolute; left: 0; right: 0; height: 100%; display: flex; align-items: center; justify-content: center; container-type: size; }
.swp-surfer .swp:not(#_):not(#_) { margin: 0; width: min(100cqw, 960px); max-width: 100%; }
.swp-surfer .swp--boxed:not(#_):not(#_) { width: min(100cqw, calc(100cqh * var(--swp-ratio, 16/9))); }
.swp-surfer .swp--portrait:not(#_):not(#_), .swp-surfer .swp--portrait.swp--boxed:not(#_):not(#_) { width: min(100cqw, calc(100cqh * 9 / 16)); height: auto; }
.swp-surfer .swp--audio:not(#_):not(#_) { width: min(calc(100cqw - 24px), 640px); }
.swp-surfer .swp--fixed:not(#_):not(#_) { width: min(calc(100cqw - 24px), 640px); }
.swp-surfer .swp--portrait .swp-stage:not(#_):not(#_), .swp-surfer .swp--boxed .swp-stage:not(#_):not(#_) { border-radius: 0; }
@media (min-width: 700px) { .swp-surfer .swp--portrait .swp-stage:not(#_):not(#_), .swp-surfer .swp--boxed .swp-stage:not(#_):not(#_) { border-radius: 14px; } }
/* Landscape items use the in-screen rail too in the surfer. */
.swp-surfer .swp-actions:not(#_):not(#_) { position: absolute; z-index: 8; right: 8px; bottom: 76px; flex-direction: column; padding: 0; gap: 14px; opacity: .7; }
.swp-surfer .swp-actions .swp-act:not(#_):not(#_) { flex-direction: column; gap: 2px; padding: 0; background: none; color: #fff; filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .6)); }
.swp-surfer .swp-actions .swp-act__ico:not(#_):not(#_) { width: 44px; height: 44px; border-radius: 50%; background: rgba(0, 0, 0, .35); display: grid; place-items: center; }
.swp-surfer .swp--audio .swp-actions:not(#_):not(#_), .swp-surfer .swp--card .swp-actions:not(#_):not(#_) { position: static; flex-direction: row; opacity: 1; }
/* Video first, icons after. */
.swp-surfer .swp:not(.swp--chrome-in):not(.swp--started) .swp-rail:not(#_):not(#_), .swp-surfer .swp:not(.swp--chrome-in):not(.swp--started) .swp-actions:not(#_):not(#_), .swp-surfer .swp:not(.swp--chrome-in):not(.swp--started) .swp-meta:not(#_):not(#_), .swp-surfer .swp:not(.swp--chrome-in):not(.swp--started) .swp-top:not(#_):not(#_) { opacity: 0; }
.swp-surfer .swp-rail:not(#_):not(#_), .swp-surfer .swp-actions:not(#_):not(#_), .swp-surfer .swp-meta:not(#_):not(#_), .swp-surfer .swp-top:not(#_):not(#_) { transition: opacity .35s ease; }
.swp-surf__ui:not(#_):not(#_) {
  position: absolute; z-index: 20; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: max(10px, env(safe-area-inset-top)) 12px 10px; pointer-events: none;
}
.swp-surf__ui > *:not(#_):not(#_) { pointer-events: auto; }
.swp-surf__back:not(#_):not(#_) { position: absolute; left: 10px; top: max(10px, env(safe-area-inset-top)); background: rgba(0, 0, 0, .45) !important; border-radius: 50% !important; }
.swp-surf__tabs:not(#_):not(#_) { display: flex; gap: 4px; padding: 3px; border-radius: 999px; background: rgba(0, 0, 0, .45); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.swp-surf__tab:not(#_):not(#_) { padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: 13px; opacity: .7; cursor: pointer; }
.swp-surf__tab.is-on:not(#_):not(#_) { background: #fff; color: #111; opacity: 1; }
.swp-surf__nav:not(#_):not(#_) { position: absolute; z-index: 20; right: 18px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 12px; }
.swp-surf__nav .swp-btn:not(#_):not(#_) { width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.swp-surf__nav .swp-btn:hover:not(#_):not(#_) { background: rgba(255, 255, 255, .26); }
.swp-surf__up .swp-ico:not(#_):not(#_) { transform: rotate(90deg); }
.swp-surf__down .swp-ico:not(#_):not(#_) { transform: rotate(90deg); }
.swp-surfer.is-first .swp-surf__up:not(#_):not(#_) { opacity: .35; }
@media (pointer: coarse), (max-width: 760px) { .swp-surf__nav:not(#_):not(#_) { display: none; } }
@media (min-width: 761px) { .swp-surfer .swp--portrait ~ .swp-surf__nav:not(#_):not(#_) { right: 18px; } }
.swp-surf__end:not(#_):not(#_) {
  position: absolute; z-index: 21; left: 50%; bottom: 90px; transform: translateX(-50%) translateY(10px); padding: 8px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .92); color: #111; font-weight: 700; font-size: 13px; opacity: 0; transition: opacity .2s, transform .2s; pointer-events: none;
}
.swp-surf__end.is-on:not(#_):not(#_) { opacity: 1; transform: translateX(-50%); }
.swp-surfer-page .swp-surfer-mount--page:not(#_):not(#_) { position: fixed; inset: 0; }
.swp-surfer-page #wpadminbar:not(#_):not(#_) { display: none; }

/* ================================================================ Phase 3 */

/* ---- audiobooks ---- */
.swp--book .swp-btn--sm:not(#_):not(#_) { position: relative; }
.swp-skipn:not(#_):not(#_) { position: absolute; font-size: 8px; font-weight: 800; top: 50%; left: 50%; transform: translate(-50%, -40%); pointer-events: none; }
.swp--book .swp-btn--sm .swp-skipn + .swp-ico:not(#_):not(#_), .swp--book .swp-btn--sm:has(.swp-skipn) .swp-ico:not(#_):not(#_) { opacity: .9; }
.swp-list__item.is-locked .swp-list__t:not(#_):not(#_) { opacity: .55; }
.swp-list__item.is-locked .swp-list__n .swp-ico:not(#_):not(#_) { width: 14px; height: 14px; margin-left: auto; opacity: .7; }
.swp-sleepchip:not(#_):not(#_) { display: inline-flex; align-items: center; gap: 4px; padding: 2px 8px; border-radius: 999px; background: rgba(124, 92, 255, .25); color: #cdbfff; font-size: 11px; font-weight: 700; font-variant-numeric: tabular-nums; }
.swp-sleepchip .swp-ico:not(#_):not(#_) { width: 12px; height: 12px; }
.swp--book .swp-list:not(#_):not(#_) { max-height: 420px; }

/* ---- memoirs ---- */
.swp--memoir .swp-stage:not(#_):not(#_) { background: #0f0c14; }
.swp-mm:not(#_):not(#_) { position: absolute; inset: 0; overflow: hidden; display: flex; }
.swp-mm__bg:not(#_):not(#_) { position: absolute; inset: -30px; background: radial-gradient(120% 90% at 20% 10%, #3a2754, #120e18 70%) center/cover no-repeat; filter: blur(18px) brightness(.45) saturate(1.2); transform: scale(1.05); }
.swp-mm__in:not(#_):not(#_) { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 10px; width: 100%; padding: 26px 24px 22px; }
.swp--memoir .swp-top:not(#_):not(#_) { display: none; }
.swp-mm__kicker:not(#_):not(#_) { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #d9c8ff; }
.swp-mm__title:not(#_):not(#_) { margin: 0; font: 700 clamp(20px, 4.4cqw, 30px)/1.15 Georgia, "Times New Roman", serif; color: #fff; }
.swp-mm__text:not(#_):not(#_) { flex: 1 1 auto; min-height: 0; overflow: auto; font: 400 clamp(14px, 2.9cqw, 17px)/1.65 Georgia, "Times New Roman", serif; color: rgba(255, 255, 255, .92); -webkit-mask-image: linear-gradient(#000 82%, transparent); mask-image: linear-gradient(#000 82%, transparent); padding-bottom: 18px; overscroll-behavior: contain; }
.swp-mm__text p:not(#_):not(#_) { margin: 0 0 .9em; }
.swp-mm__acts:not(#_):not(#_) { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.swp-mm__music:not(#_):not(#_) {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; cursor: pointer;
  background: rgba(255, 255, 255, .12) !important; color: #fff !important; font-size: 13px; font-weight: 600; max-width: 100%;
}
.swp-mm__music .swp-record:not(#_):not(#_) { width: 30px; height: 30px; }
.swp-mm__music.is-on .swp-record:not(#_):not(#_) { animation-play-state: running; }
.swp-mm__mt:not(#_):not(#_) { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 200px; }
.swp-mm__music .swp-ico:not(#_):not(#_) { width: 18px; height: 18px; }
.swp--memoir-bar .swp-stage:not(#_):not(#_) { aspect-ratio: auto !important; height: auto; background: linear-gradient(135deg, #241a33, #120e18); border-radius: 999px; }
.swp-mm--bar:not(#_):not(#_) { position: relative; inset: auto; padding: 6px 14px 6px 6px; align-items: center; gap: 10px; }
.swp-mm__src:not(#_):not(#_) { font-size: 12px; color: #d9c8ff; }
.swp--memoir-bar .swp-actions:not(#_):not(#_) { display: none; }
.swp-memoir-story:not(#_):not(#_) { font-size: 1.08em; line-height: 1.75; }
.swp-surfer .swp--memoir:not(#_):not(#_) { width: min(100cqw, calc(100cqh * 9 / 16)); }
.swp-surfer .swp--memoir .swp-stage:not(#_):not(#_) { aspect-ratio: 9/16; border-radius: 0; }

/* ---- shorts grid (sound pages, profile tab) ---- */
.swp-grid:not(#_):not(#_) { list-style: none; margin: 16px 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.swp-grid__item:not(#_):not(#_) { position: relative; aspect-ratio: 9/16; border-radius: 10px; overflow: hidden; background: #16161d; }
.swp-grid__a:not(#_):not(#_) { position: absolute; inset: 0; display: block; color: #fff; text-decoration: none; }
.swp-grid__a img:not(#_):not(#_), .swp-grid__a video:not(#_):not(#_) { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .25s; }
.swp-grid__a:hover img:not(#_):not(#_), .swp-grid__a:hover video:not(#_):not(#_) { transform: scale(1.04); }
.swp-grid__t:not(#_):not(#_) { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 8px 8px; font-size: 12px; font-weight: 700; background: linear-gradient(transparent, rgba(0, 0, 0, .75)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.swp-grid__p:not(#_):not(#_) { position: absolute; top: 6px; left: 6px; padding: 1px 6px; border-radius: 4px; background: rgba(0, 0, 0, .6); font-size: 11px; font-weight: 700; }
.swp-grid__empty:not(#_):not(#_) { opacity: .7; }

/* ---- sound pages ---- */
.swp-sound__head:not(#_):not(#_) { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: 12px 0 18px; }
.swp-sound__artist:not(#_):not(#_) { font-weight: 700; }
.swp-sound__count:not(#_):not(#_) { opacity: .7; font-size: .92em; }
.swp-sound__note:not(#_):not(#_) { font-size: .92em; opacity: .8; }
.swp-badge:not(#_):not(#_) { display: inline-block; padding: 2px 9px; border-radius: 999px; background: rgba(127, 127, 127, .18); font-size: 12px; font-weight: 700; }
.swp-badge--premium:not(#_):not(#_) { background: linear-gradient(90deg, #ffcf5a, #ff8a3d); color: #2a1600; }

/* ---- uploader ---- */
.swp-up:not(#_):not(#_) { max-width: 640px; margin: 1.25em 0; }
.swp-up__form:not(#_):not(#_) { display: grid; gap: 12px; }
.swp-up__file:not(#_):not(#_) { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.swp-up__drop:not(#_):not(#_) {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 28px 16px; border: 2px dashed rgba(127, 127, 127, .45);
  border-radius: 16px; text-align: center; cursor: pointer; transition: border-color .2s, background .2s;
}
.swp-up__drop .swp-ico:not(#_):not(#_) { width: 34px; height: 34px; opacity: .7; }
.swp-up__drop.is-over:not(#_):not(#_) { border-color: var(--swp-accent); background: rgba(255, 59, 92, .06); }
.swp-up__preview:not(#_):not(#_) { display: flex; flex-wrap: wrap; gap: 8px; }
.swp-up__preview[hidden]:not(#_):not(#_) { display: none; }
.swp-up__item:not(#_):not(#_) { position: relative; width: 120px; aspect-ratio: 9/16; border-radius: 10px; overflow: hidden; background: #000; }
.swp-up__item:only-child:not(#_):not(#_) { width: 200px; }
.swp-up__item video:not(#_):not(#_), .swp-up__item img:not(#_):not(#_) { width: 100%; height: 100%; object-fit: cover; display: block; }
.swp-up__item audio:not(#_):not(#_) { position: absolute; left: 4px; right: 4px; bottom: 6px; width: calc(100% - 8px); }
.swp-up__x:not(#_):not(#_) { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; border-radius: 50%; border: 0; background: rgba(0, 0, 0, .65); color: #fff; cursor: pointer; }
.swp-up__in:not(#_):not(#_) { width: 100%; padding: 10px 12px; border: 1px solid rgba(127, 127, 127, .35); border-radius: 10px; font: inherit; background: transparent; color: inherit; }
.swp-up__lab:not(#_):not(#_) { font-weight: 700; font-size: 13px; display: block; margin-bottom: 4px; }
.swp-up__sound:not(#_):not(#_) { display: grid; gap: 6px; }
.swp-up__slist:not(#_):not(#_) { list-style: none; margin: 0; padding: 0; max-height: 220px; overflow: auto; }
.swp-up__sitem:not(#_):not(#_) { display: grid; grid-template-columns: 34px 1fr auto auto; gap: 8px; align-items: center; padding: 6px 4px; border-bottom: 1px solid rgba(127, 127, 127, .15); }
.swp-up__sitem.is-locked:not(#_):not(#_) { opacity: .65; }
.swp-up__splay:not(#_):not(#_) { width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(127, 127, 127, .2); color: inherit; display: grid; place-items: center; cursor: pointer; }
.swp-up__splay .swp-ico:not(#_):not(#_) { width: 16px; height: 16px; }
.swp-up__stitle:not(#_):not(#_) { font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.swp-up__smeta:not(#_):not(#_) { font-size: 12px; opacity: .65; }
.swp-up__chip:not(#_):not(#_) { display: inline-flex; align-items: center; gap: 8px; padding: 4px 6px 4px 4px; border-radius: 999px; background: rgba(127, 127, 127, .18); font-size: 13px; font-weight: 600; }
.swp-up__chip img:not(#_):not(#_) { width: 24px; height: 24px; border-radius: 50%; }
.swp-up__chip button:not(#_):not(#_) { border: 0; background: none; color: inherit; cursor: pointer; font-size: 16px; }
.swp-up__muted:not(#_):not(#_) { opacity: .65; font-size: 13px; }
.swp-up__row:not(#_):not(#_) { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.swp-up__orient:not(#_):not(#_) { display: flex; gap: 6px; }
.swp-up__orient .swp-chipbtn:not(#_):not(#_) { color: inherit; background: rgba(127, 127, 127, .14); border-color: rgba(127, 127, 127, .3); }
.swp-up__orient .swp-chipbtn.is-on:not(#_):not(#_) { background: var(--swp-accent); color: #fff; }
.swp-up__rating:not(#_):not(#_) { width: auto; }
.swp-up__nsfw:not(#_):not(#_) { font-size: 13px; display: inline-flex; gap: 6px; align-items: center; }
.swp-up__bar:not(#_):not(#_) { height: 6px; border-radius: 6px; background: rgba(127, 127, 127, .2); overflow: hidden; display: none; }
.swp-up__bar.is-on:not(#_):not(#_) { display: block; }
.swp-up__bar span:not(#_):not(#_) { display: block; height: 100%; width: 0; background: var(--swp-accent); transition: width .2s; }
.swp-up__status:not(#_):not(#_) { margin: 0; font-size: 13px; min-height: 1.2em; }
.swp-up__post:not(#_):not(#_) { justify-self: start; padding: 11px 24px; font-size: 15px; }
.swp-up__post[disabled]:not(#_):not(#_) { opacity: .6; cursor: progress; }
.swp-up__note:not(#_):not(#_) { padding: 12px 14px; border-radius: 10px; background: rgba(127, 127, 127, .1); }

/* Record with camera / mic (1.2.3, recorder.js) */
.swp-up__reclink:not(#_):not(#_) { justify-self: start; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid rgba(127, 127, 127, .35); border-radius: 999px; background: transparent; color: inherit; font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; }
.swp-up__reclink .swp-ico:not(#_):not(#_) { width: 18px; height: 18px; fill: var(--swp-accent); }
.swp-up__reclink:hover:not(#_):not(#_), .swp-up__reclink[aria-expanded="true"]:not(#_):not(#_) { border-color: var(--swp-accent); }
.swp-rec:not(#_):not(#_) { display: grid; gap: 10px; padding: 12px; border: 1px solid rgba(127, 127, 127, .3); border-radius: 14px; background: rgba(127, 127, 127, .06); }
.swp-rec[hidden]:not(#_):not(#_) { display: none; }
.swp-rec__head:not(#_):not(#_) { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.swp-rec__x:not(#_):not(#_) { width: 30px; height: 30px; border: 0; border-radius: 50%; background: rgba(127, 127, 127, .18); color: inherit; display: grid; place-items: center; cursor: pointer; }
.swp-rec__x .swp-ico:not(#_):not(#_) { width: 16px; height: 16px; fill: currentColor; }
.swp-rec__modes .swp-chipbtn[disabled]:not(#_):not(#_) { opacity: .5; cursor: not-allowed; }
.swp-rec__stage:not(#_):not(#_) { position: relative; width: 100%; max-width: 360px; aspect-ratio: 16/9; border-radius: 12px; overflow: hidden; background: #000; justify-self: center; }
.swp-rec.is-portrait .swp-rec__stage:not(#_):not(#_) { max-width: 260px; aspect-ratio: 9/16; }
.swp-rec.is-audio .swp-rec__stage:not(#_):not(#_) { aspect-ratio: auto; height: 120px; max-width: 360px; display: grid; place-items: center; background: rgba(127, 127, 127, .15); }
.swp-rec__live:not(#_):not(#_), .swp-rec__review video:not(#_):not(#_), .swp-rec__review img:not(#_):not(#_) { width: 100%; height: 100%; object-fit: cover; display: block; }
.swp-rec__live[hidden]:not(#_):not(#_), .swp-rec__review[hidden]:not(#_):not(#_), .swp-rec__meter[hidden]:not(#_):not(#_), .swp-rec__badge[hidden]:not(#_):not(#_) { display: none; }
.swp-rec__live.is-mirror:not(#_):not(#_) { transform: scaleX(-1); }
.swp-rec__review:not(#_):not(#_) { width: 100%; height: 100%; display: grid; place-items: center; }
.swp-rec__review audio:not(#_):not(#_) { width: calc(100% - 24px); }
.swp-rec__meter:not(#_):not(#_) { width: 80%; height: 10px; border-radius: 10px; background: rgba(127, 127, 127, .25); overflow: hidden; }
.swp-rec__meter span:not(#_):not(#_) { display: block; height: 100%; width: 100%; background: var(--swp-accent); transform: scaleX(0); transform-origin: left; transition: transform .08s linear; }
.swp-rec__badge:not(#_):not(#_) { position: absolute; top: 8px; left: 8px; display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border-radius: 999px; background: rgba(0, 0, 0, .65); color: #fff; font-size: 12px; font-variant-numeric: tabular-nums; }
.swp-rec__badge i:not(#_):not(#_) { width: 8px; height: 8px; border-radius: 50%; background: #ff3b30; animation: swp-rec-blink 1s steps(2, start) infinite; }
@keyframes swp-rec-blink { to { visibility: hidden; } }
.swp-rec__devs:not(#_):not(#_) { display: flex; flex-wrap: wrap; gap: 10px; }
.swp-rec__dev:not(#_):not(#_) { flex: 1 1 200px; }
.swp-rec__dev[hidden]:not(#_):not(#_) { display: none; }
.swp-rec__ctl:not(#_):not(#_) { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: center; }
.swp-rec__ctl[hidden]:not(#_):not(#_) { display: none; }
.swp-rec__ctl .swp-chipbtn:not(#_):not(#_) { color: inherit; background: rgba(127, 127, 127, .14); border-color: rgba(127, 127, 127, .3); text-decoration: none; }
.swp-rec__go:not(#_):not(#_) { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border: 0; border-radius: 999px; background: rgba(127, 127, 127, .18); color: inherit; font: inherit; font-weight: 700; cursor: pointer; }
.swp-rec__go[disabled]:not(#_):not(#_) { opacity: .5; cursor: wait; }
.swp-rec__dot:not(#_):not(#_) { width: 28px; height: 28px; border-radius: 50%; background: #ff3b30; box-shadow: 0 0 0 3px rgba(255, 59, 48, .3); transition: border-radius .15s, transform .15s; }
.swp-rec__go.is-on .swp-rec__dot:not(#_):not(#_) { border-radius: 6px; transform: scale(.8); }
.swp-rec__go.is-photo .swp-rec__dot:not(#_):not(#_) { background: #fff; box-shadow: 0 0 0 3px rgba(127, 127, 127, .45); }
.swp-rec__msg:empty:not(#_):not(#_) { display: none; }
@media (prefers-reduced-motion: reduce) { .swp-rec__badge i:not(#_):not(#_) { animation: none; } .swp-rec__meter span:not(#_):not(#_) { transition: none; } }

/* Photos, music mix and slideshow timing (1.2.4) */
.swp-up__item.is-photo .swp-up__num:not(#_):not(#_) { position: absolute; left: 4px; top: 4px; padding: 2px 7px; border-radius: 999px; background: rgba(0, 0, 0, .65); color: #fff; font-size: 11px; font-weight: 700; }
.swp-up__mv:not(#_):not(#_) { position: absolute; left: 4px; right: 4px; bottom: 4px; display: flex; justify-content: space-between; }
.swp-up__mv button:not(#_):not(#_) { width: 28px; height: 28px; border: 0; border-radius: 50%; background: rgba(0, 0, 0, .65); color: #fff; font-size: 18px; line-height: 1; cursor: pointer; }
.swp-up__mv button[disabled]:not(#_):not(#_) { opacity: .3; cursor: default; }
.swp-up__item.is-audio:not(#_):not(#_) { width: 200px; aspect-ratio: auto; height: 64px; background: rgba(127, 127, 127, .15); }
.swp-up__add:not(#_):not(#_) { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; background: transparent; border: 2px dashed rgba(127, 127, 127, .45); color: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.swp-up__add:hover:not(#_):not(#_), .swp-up__add:focus-visible:not(#_):not(#_) { border-color: var(--swp-accent); outline: none; }
.swp-up__addplus:not(#_):not(#_) { font-size: 28px; line-height: 1; }
.swp-up__pcount:not(#_):not(#_) { flex-basis: 100%; margin: 0; }
.swp-up__pnote:not(#_):not(#_) { margin: 0; }
.swp-up__pnote[hidden]:not(#_):not(#_), .swp-up__mix[hidden]:not(#_):not(#_), .swp-up__mrow[hidden]:not(#_):not(#_) { display: none; }
.swp-up__mix:not(#_):not(#_) { display: grid; gap: 8px; padding: 10px 12px; border-radius: 10px; background: rgba(127, 127, 127, .08); }
.swp-up__mix .swp-up__muted:not(#_):not(#_) { margin: 0; }
.swp-up__mrow:not(#_):not(#_) { display: grid; grid-template-columns: minmax(110px, auto) 1fr 48px; gap: 10px; align-items: center; font-size: 13px; }
.swp-up__mrow--btn:not(#_):not(#_) { display: flex; }
.swp-up__mlab:not(#_):not(#_) { font-weight: 600; }
.swp-up__range:not(#_):not(#_) { width: 100%; accent-color: var(--swp-accent); }
.swp-up__val:not(#_):not(#_) { font-variant-numeric: tabular-nums; text-align: right; opacity: .8; }
.swp-up__every:not(#_):not(#_) { width: auto; grid-column: span 2; }
.swp-up__mprev:not(#_):not(#_) { color: inherit; background: rgba(127, 127, 127, .14); border-color: rgba(127, 127, 127, .3); }
@media (max-width: 420px) { .swp-up__mrow:not(#_):not(#_) { grid-template-columns: 1fr 48px; } .swp-up__mlab:not(#_):not(#_) { grid-column: 1 / -1; } .swp-up__every:not(#_):not(#_) { grid-column: 1 / -1; } }
