/*
  .___  ___.  __    __       _______. __   _______ ____    ____
  |   \/   | |  |  |  |     /       ||  | |   ____|\   \  /   /
  |  \  /  | |  |  |  |    |   (----`|  | |  |__    \   \/   / 
  |  |\/|  | |  |  |  |     \   \    |  | |   __|    \_    _/  
  |  |  |  | |  `--'  | .----)   |   |  | |  |         |  |    
  |__|  |__|  \______/  |_______/    |__| |__|         |__|    
  ..................... Much More Than a Web Player .....................
*/
:root {
  --a: #1db954;
  --g: #1db95466;
  --t: #1db9542e;
  --bg: #06080c;
  --tx: #f5f7fa;
  --mu: #f5f7faa6;
  --gl: rgba(14, 19, 29, 0.78);
  --logo-main: #ffffff;
}

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

[hidden] {
  display: none !important;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: var(--bg);
  color: var(--tx);
  font-family: "Montserrat", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  user-select: none;
  transition: background 0.45s ease, color 0.35s ease;
}

.aurora {
  position: fixed;
  inset: -20%;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(46% 38% at 22% 18%, var(--t), transparent 70%),
    radial-gradient(42% 36% at 78% 82%, var(--t), transparent 72%);
  filter: blur(48px);
  opacity: 0.85;
}

.glow {
  position: fixed;
  width: 58vw;
  height: 58vw;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, var(--g) 0%, transparent 68%);
  filter: blur(70px);
  opacity: 0.22;
  pointer-events: none;
  z-index: 0;
}

.orbit {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  perspective: 1350px;
  pointer-events: none;
  z-index: 1;
  transition: opacity 0.6s ease, filter 0.6s ease, transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

body:not([data-view="home"]) .orbit {
  opacity: 0.14;
  filter: blur(6px);
  transform: scale(0.94);
}

body.typing .orbit {
  opacity: 0.2;
  filter: blur(4px);
}

/* Anel plano: o anel gira inteiro e cada capa gira ao contrário no mesmo ritmo,
   então as capas seguem em pé (como numa roda-gigante). Tudo no compositor */
.orb {
  position: absolute;
  width: 0;
  height: 0;
  animation: orbSpin var(--d, 160s) linear infinite;
  animation-direction: var(--dir, normal);
}

.orb-slot {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  transform: rotate(var(--k, 0deg)) translateY(calc(var(--r, 400px) * -1)) rotate(calc(var(--k, 0deg) * -1));
}

.orb img,
.orb i {
  position: absolute;
  display: block;
  width: var(--s, 104px);
  height: var(--s, 104px);
  left: calc(var(--s, 104px) * -0.5);
  top: calc(var(--s, 104px) * -0.5);
  border-radius: 14px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.48);
  opacity: 0.24;
  animation: orbSpin var(--d, 160s) linear infinite;
  animation-direction: var(--cdir, reverse);
}

@keyframes orbSpin {
  to {
    transform: rotate(360deg);
  }
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 68px;
  padding: 0 24px 0 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 40;
  pointer-events: none;
}

header > * {
  pointer-events: auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  text-decoration: none;
}

.wordmark-svg {
  height: 28px;
  width: auto;
  display: block;
  overflow: visible;
}

.wordmark-svg text {
  font-family: "Montserrat", system-ui, sans-serif;
  font-weight: 800;
  font-size: 74px;
  letter-spacing: -0.04em;
}

.wm-musi,
.svg-dark-part {
  fill: var(--logo-main);
  transition: fill 0.3s ease;
}

.wm-fy,
.svg-accent-part {
  fill: var(--a);
  transition: fill 0.3s ease;
}

header nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ib {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
  color: var(--tx);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.2s cubic-bezier(0.22, 1, 0.36, 1),
              color 0.2s ease,
              transform 0.15s ease,
              opacity 0.2s ease;
}

.ib.sm {
  width: 32px;
  height: 32px;
}

.ib svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.ib:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

.ib:active:not(:disabled) {
  transform: translateY(0) scale(0.96);
}

.ib:disabled {
  opacity: 0.32;
  cursor: default;
}

.ib.mode-toggle.on {
  color: var(--a);
  border-color: var(--g);
  background: var(--t);
}

#backBtn {
  opacity: 0;
  pointer-events: none;
  transform: translateX(6px);
}

body:not([data-view="home"]) #backBtn {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.login-pill-btn {
  height: 36px;
  padding: 0 14px 0 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08),
              0 2px 8px rgba(0, 0, 0, 0.2);
  color: var(--tx);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: all 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.login-pill-btn span[data-i] {
  display: inline-flex;
  align-items: center;
}

.login-pill-btn svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  opacity: 0.82;
}

.login-pill-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12),
              0 4px 14px rgba(0, 0, 0, 0.28);
}

.login-pill-btn:active {
  transform: translateY(0) scale(0.98);
}

.library-sidebar {
  position: fixed;
  top: 12px;
  left: 12px;
  bottom: 12px;
  width: 64px;
  background: var(--gl);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
  border-radius: 16px;
  padding: 10px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 55;
  overflow: hidden;
  transition: width 0.28s cubic-bezier(0.22, 1, 0.36, 1),
              bottom 0.35s cubic-bezier(0.22, 1, 0.36, 1),
              padding 0.25s ease,
              background 0.25s ease,
              border-color 0.25s ease;
}

body.player-on .library-sidebar {
  bottom: 96px;
}

.library-sidebar.expanded {
  width: 300px;
  padding: 14px;
  align-items: stretch;
  border-color: rgba(255, 255, 255, 0.12);
}

.sb-top {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.library-sidebar.expanded .sb-top {
  justify-content: space-between;
}

.sb-toggle {
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  border-radius: 11px;
  background: transparent;
  color: var(--tx);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: background 0.18s ease;
}

.library-sidebar.expanded .sb-toggle {
  flex: 1;
  width: auto;
  height: 38px;
  padding: 0 8px;
  justify-content: flex-start;
}

.sb-toggle:hover {
  background: rgba(255, 255, 255, 0.06);
}

.sb-icon-bars {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sb-icon-bars svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.9;
  fill: none;
}

.sb-title-text,
.sb-chevron {
  display: none;
}

.library-sidebar.expanded .sb-title-text {
  display: inline;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.library-sidebar.expanded .sb-chevron {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  opacity: 0.65;
  transform: rotate(180deg);
}

.sb-chevron svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.sb-add-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.05);
  color: var(--tx);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.18s ease, transform 0.15s ease;
}

.library-sidebar.expanded .sb-add-btn {
  display: inline-flex;
}

.sb-add-btn svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.sb-add-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: scale(1.04);
}

.sb-sync-pill,
.sb-filters,
.sb-search-row {
  display: none;
}

.library-sidebar.expanded .sb-sync-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.74rem;
  color: var(--mu);
}

.sync-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.28);
  flex-shrink: 0;
}

.sync-dot.on {
  background: var(--a);
  box-shadow: 0 0 8px var(--a);
}

.library-sidebar.expanded .sb-filters {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.library-sidebar.expanded .sb-filters::-webkit-scrollbar {
  display: none;
}

.sb-chip {
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.04);
  color: var(--tx);
  font-size: 0.74rem;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.18s ease;
}

.sb-chip:hover {
  background: rgba(255, 255, 255, 0.09);
}

.sb-chip.on {
  background: var(--a);
  border-color: var(--a);
  color: #06080c;
  font-weight: 600;
}

.library-sidebar.expanded .sb-search-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 11px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.sb-search-row span {
  display: inline-flex;
  color: var(--mu);
}

.sb-search-row svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.sb-search-row input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: none;
  outline: none;
  color: var(--tx);
  font-size: 0.78rem;
}

.sb-list {
  width: 100%;
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  overflow-y: auto;
  overflow-x: hidden;
  flex: 1;
  scrollbar-width: none;
}

.sb-list::-webkit-scrollbar {
  display: none;
}

.library-sidebar.expanded .sb-list {
  align-items: stretch;
  gap: 6px;
}

.sb-item {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.18s ease, transform 0.15s ease;
}

.library-sidebar.expanded .sb-item {
  width: 100%;
  height: auto;
  padding: 6px;
  justify-content: flex-start;
  gap: 11px;
}

.sb-item:hover {
  background: rgba(255, 255, 255, 0.07);
}

.sb-liked-box,
.sb-thumb {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex-shrink: 0;
  object-fit: cover;
  display: block;
}

.sb-thumb.round {
  border-radius: 50%;
}

.sb-liked-box {
  background: linear-gradient(135deg, #5f3dc4, #9775fa);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sb-liked-box svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  stroke: none;
}

.sb-meta {
  min-width: 0;
  display: none;
  flex-direction: column;
  gap: 2px;
}

.library-sidebar.expanded .sb-meta {
  display: flex;
}

.sb-meta b {
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--tx);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.sb-meta small {
  font-size: 0.72rem;
  color: var(--mu);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hero {
  position: fixed;
  left: 50%;
  top: 36%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  z-index: 15;
  text-align: center;
  transition: opacity 0.35s ease, transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.hero-wm {
  height: 82px;
  width: auto;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.45));
}

.search {
  position: fixed;
  left: 50%;
  top: 52%;
  transform: translate(-50%, -50%);
  width: min(500px, calc(100vw - 110px));
  height: 50px;
  padding: 0 8px 0 14px;
  border-radius: 999px;
  background: var(--gl);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  border: 1px solid rgba(255, 255, 255, 0.11);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.42);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 35;
  transition: top 0.48s cubic-bezier(0.22, 1, 0.36, 1),
              width 0.4s cubic-bezier(0.22, 1, 0.36, 1),
              height 0.3s ease,
              border-color 0.25s ease,
              box-shadow 0.25s ease;
}

.search:focus-within {
  border-color: var(--a);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.5), 0 0 0 3px var(--t);
}

.search .go {
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  color: var(--mu);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.search .go svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.search input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  background: transparent;
  color: var(--tx);
  font-size: 0.92rem;
}

.search input::placeholder {
  color: var(--mu);
}

#status {
  position: fixed;
  left: 50%;
  top: calc(52% + 42px);
  transform: translateX(-50%);
  font-size: 0.82rem;
  color: var(--mu);
  z-index: 30;
  pointer-events: none;
}

body:not([data-view="home"]) .hero {
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -68%) scale(0.92);
}

body:not([data-view="home"]) .search {
  top: 34px;
  width: min(380px, calc(100vw - 320px));
  height: 40px;
}

body:not([data-view="home"]) #status {
  top: 66px;
}

.artist {
  position: fixed;
  top: 76px;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  padding: 8px 14px 8px 8px;
  border-radius: 999px;
  background: var(--gl);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.09);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 30;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

body[data-view="artist"] .artist {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.artist img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.artist h1 {
  font-size: 0.96rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.artist p {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--a);
  letter-spacing: 0.04em;
}

#carousel {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  perspective: 1250px;
  z-index: 20;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

body[data-view="artist"] #carousel {
  opacity: 1;
  pointer-events: auto;
}

#ring {
  position: relative;
  width: 0;
  height: 0;
  transform-style: preserve-3d;
  transition: transform 0.62s cubic-bezier(0.22, 1, 0.36, 1);
}

.al {
  position: absolute;
  width: 210px;
  height: 210px;
  left: -105px;
  top: -105px;
  border-radius: 16px;
  overflow: hidden;
  background: #0b0e14;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.65);
  transform: rotateY(calc(var(--i) * var(--st))) translateZ(var(--r));
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  cursor: pointer;
  transition: opacity 0.35s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.al img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: filter 0.35s ease, transform 0.35s ease;
}

.al:not(.sel) {
  opacity: calc(1 - var(--d, 1) * 0.34);
}

.al:not(.sel) img {
  filter: brightness(0.52);
}

.al.far {
  opacity: 0 !important;
  visibility: hidden;
  pointer-events: none !important;
}

.al.sel {
  opacity: 1;
  border-color: var(--a);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.78), 0 0 0 2px var(--t);
}

.pick {
  position: fixed;
  left: 50%;
  bottom: 108px;
  transform: translateX(-50%);
  text-align: center;
  z-index: 28;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

body[data-view="artist"] .pick {
  opacity: 1;
  pointer-events: auto;
}

.pick h2 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  max-width: 460px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pick p {
  font-size: 0.8rem;
  color: var(--mu);
  margin: 4px 0 14px;
}

.pick .row {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.cta {
  height: 38px;
  padding: 0 22px;
  border-radius: 999px;
  background: #ffffff;
  color: #06080c;
  border: none;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1),
              background 0.2s ease,
              box-shadow 0.2s ease;
}

.cta:hover {
  background: #f0f2f5;
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}

#album {
  position: fixed;
  inset: 76px 40px 104px 96px;
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  align-items: center;
  gap: 56px;
  z-index: 22;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

body[data-view="album"] #album {
  opacity: 1;
  pointer-events: auto;
}

.rec {
  position: relative;
  width: 270px;
  height: 270px;
  margin-left: 20px;
}

.cv {
  position: relative;
  width: 270px;
  height: 270px;
  border-radius: 14px;
  object-fit: cover;
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 2;
}

.disc {
  position: absolute;
  top: 11px;
  left: 115px;
  width: 248px;
  height: 248px;
  border-radius: 50%;
  background:
    radial-gradient(circle, #0b0d12 0 18%, transparent 19%),
    repeating-radial-gradient(circle, #12151e 0 2px, #1b202c 3px 4px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.7);
  display: grid;
  place-items: center;
  z-index: 1;
}

.plat {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #090b10;
}

.plat img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.plat.spin {
  animation: vinylSpin 5s linear infinite;
}

@keyframes vinylSpin {
  to { transform: rotate(360deg); }
}

.cap {
  margin-top: 18px;
  width: 340px;
}

.cap h2 {
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.cap p {
  font-size: 0.86rem;
  color: var(--mu);
  margin-top: 4px;
}

.tracks {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

#list {
  position: relative;
  width: min(460px, 100%);
  height: 0;
  list-style: none;
}

#list li {
  position: absolute;
  left: 0;
  top: -24px;
  width: 100%;
  height: 48px;
  padding: 0 14px 0 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transform: translate3d(var(--x, 0px), var(--y, 0px), 0);
  opacity: var(--o, 1);
  filter: blur(var(--b, 0px));
  cursor: pointer;
  transition: transform 0.36s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.36s ease,
              filter 0.36s ease,
              background 0.2s ease,
              border-color 0.2s ease;
}

#list li:hover {
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(255, 255, 255, 0.14);
}

#list li.on {
  background: var(--t);
  border-color: var(--a);
}

.tr-title {
  font-size: 0.88rem;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#list li.on .tr-title {
  color: var(--a);
  font-weight: 600;
}

.tr-right {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.tr-time {
  font-size: 0.76rem;
  color: var(--mu);
  font-variant-numeric: tabular-nums;
  margin-right: 4px;
}

.tr-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--mu);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.18s ease, background 0.18s ease, transform 0.15s ease;
}

.tr-btn svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 1.9;
  fill: none;
}

.tr-btn:hover {
  color: var(--tx);
  background: rgba(255, 255, 255, 0.08);
  transform: scale(1.06);
}

.tr-btn.liked {
  color: var(--a);
}

#more {
  position: absolute;
  bottom: 8px;
  left: 0;
  font-size: 0.75rem;
  color: var(--mu);
  opacity: 0;
  transition: opacity 0.3s ease;
}

#more.show {
  opacity: 0.75;
}

#player {
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  height: 74px;
  padding: 0 20px;
  border-radius: 16px;
  background: var(--gl);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  align-items: center;
  gap: 16px;
  z-index: 50;
  opacity: 0;
  pointer-events: none;
  transform: translateY(115%);
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.28s ease;
}

body.player-on #player {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.np {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

#npC {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

#npC:not([src]),
#npC[src=""] {
  opacity: 0;
}

.np-text {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

#npT {
  font-size: 0.86rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#npA {
  font-size: 0.74rem;
  color: var(--mu);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.np-action.liked {
  color: var(--a);
}

.ctl {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.btns {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pp {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--tx);
  color: var(--bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.pp svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.pp:hover {
  transform: scale(1.06);
}

.seek {
  width: 100%;
  max-width: 440px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  color: var(--mu);
  font-variant-numeric: tabular-nums;
}

input[type="range"] {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  background-image: linear-gradient(var(--a), var(--a));
  background-size: var(--p, 0%) 100%;
  background-repeat: no-repeat;
  outline: none;
  cursor: pointer;
}

input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.15s ease;
}

input[type="range"]:hover::-webkit-slider-thumb {
  opacity: 1;
}

.vol {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.vol input[type="range"] {
  max-width: 96px;
}

.pop {
  position: fixed;
  top: 64px;
  right: 24px;
  width: 240px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(16, 20, 28, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
  display: none;
  flex-direction: column;
  gap: 10px;
  z-index: 80;
}

.pop.open {
  display: flex;
}

#addTrackPop {
  top: auto;
  bottom: 96px;
  left: 24px;
  right: auto;
}

.pop-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--tx);
}

.pl-picker-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 160px;
  overflow-y: auto;
}

.pl-pick-btn {
  padding: 7px 10px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.04);
  color: var(--tx);
  font-size: 0.78rem;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.pl-pick-btn:hover {
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.14);
}

#swatches {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.sw {
  padding: 6px 8px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(255, 255, 255, 0.035);
  color: var(--tx);
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  transition: background 0.15s ease;
}

.sw:hover {
  background: rgba(255, 255, 255, 0.09);
}

.sw i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  display: inline-block;
}

.cc {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.76rem;
  color: var(--mu);
}

.cc input[type="color"] {
  width: 28px;
  height: 22px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.full-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(4, 6, 10, 0.72);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.modal-glass-card {
  background: linear-gradient(180deg, rgba(22, 27, 36, 0.94) 0%, rgba(12, 15, 22, 0.98) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08),
              0 24px 60px rgba(0, 0, 0, 0.65);
  border-radius: 18px;
  padding: 24px;
  max-width: 430px;
  width: calc(100% - 32px);
}

.modal-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.modal-top h2 {
  font-size: 1.12rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.modal-top p {
  font-size: 0.8rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.56);
  margin-top: 5px;
}

.providers-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 18px 0;
}

.provider-btn {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 11px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left;
  cursor: pointer;
  transition: all 0.18s ease;
}

.provider-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.14);
}

.provider-btn.selected {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.prov-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}

.provider-btn strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: #ffffff;
}

.provider-btn .prov-status {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.45);
}

.pbtn {
  width: 100%;
  height: 40px;
  padding: 0 16px;
  border-radius: 10px;
  background: var(--a);
  color: #06080c;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25),
              0 4px 12px rgba(0, 0, 0, 0.25);
  font-size: 0.83rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  transition: filter 0.18s ease, transform 0.15s ease;
}

.pbtn:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.secondary-pbtn {
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: none;
  font-weight: 500;
}

.secondary-pbtn:hover {
  background: rgba(255, 255, 255, 0.09);
}

.modal-sep {
  border: none;
  height: 1px;
  background: rgba(255, 255, 255, 0.07);
  margin: 18px 0;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.login-form h3 {
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 2px;
}

.login-form input {
  height: 38px;
  padding: 0 12px;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  color: #ffffff;
  font-size: 0.82rem;
  outline: none;
}

.login-form input:focus {
  border-color: rgba(255, 255, 255, 0.24);
}

.logout-btn {
  height: 34px;
  border-radius: 8px;
  border: 1px solid rgba(247, 118, 142, 0.3);
  background: rgba(247, 118, 142, 0.08);
  color: #f7768e;
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
}

.support-pill {
  display: inline-block;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.48);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3px 8px;
  border-radius: 6px;
  margin-bottom: 6px;
}

.support-content {
  margin-top: 14px;
  font-size: 0.84rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.68);
}

.support-creator-box,
.support-contact-box {
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 12px 14px;
  margin-top: 12px;
}

.support-creator-box h4 {
  font-size: 0.78rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 4px;
}

.support-contact-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.support-mail {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 11px;
  border-radius: 8px;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.support-mail:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
}

.loader-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(6, 8, 12, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.loader-motion-slot {
  position: relative;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
}

.loader-fallback-symbol {
  width: 30px;
  height: 30px;
}

.loader-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-top-color: var(--a);
  animation: vinylSpin 0.85s linear infinite;
}

.loader-text {
  font-size: 0.82rem;
  color: var(--mu);
}

.cooldown-toast {
  position: fixed;
  bottom: 98px;
  right: 24px;
  padding: 9px 14px;
  border-radius: 10px;
  background: rgba(16, 20, 28, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  color: var(--tx);
  font-size: 0.78rem;
  font-weight: 500;
  z-index: 95;
}
#langBtn{font-size:.72rem;font-weight:800;letter-spacing:.5px}
.provider-btn:disabled{opacity:.45;cursor:not-allowed}
.hero-wm{max-width:86vw}

/* Musify Auth — focused, accessible, provider-backed sign-in */
.auth-modal {
  overflow-y: auto;
  padding: 26px 0;
  background: rgba(2, 4, 7, 0.76);
}
.auth-card {
  position: relative;
  width: min(440px, calc(100vw - 32px));
  max-width: 440px;
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  padding: 30px 30px 24px;
  border-radius: 22px;
  background: rgba(10, 12, 16, 0.94);
  border: 1px solid rgba(255,255,255,.09);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.045), 0 30px 100px rgba(0,0,0,.62);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.17) transparent;
}
.auth-brand-lockup { display:flex; align-items:center; gap:10px; color:#f5f7fa; font-weight:700; font-size:1rem; letter-spacing:-.035em; }
.auth-brand-lockup img { object-fit:contain; }
.auth-close { position:absolute; top:24px; right:24px; }
.auth-heading { margin:27px 0 22px; }
.auth-eyebrow { color:var(--a); font-size:.63rem; font-weight:700; letter-spacing:.16em; margin-bottom:10px; }
.auth-heading h2 { color:#f5f7fa; font-size:1.65rem; line-height:1.16; font-weight:600; letter-spacing:-.055em; }
.auth-heading > p:last-child { color:rgba(245,247,250,.58); font-size:.88rem; line-height:1.55; margin-top:9px; }
.auth-providers { display:flex; flex-direction:column; gap:9px; }
.auth-provider { width:100%; min-height:49px; display:flex; align-items:center; justify-content:center; position:relative; gap:12px; border-radius:999px; padding:0 18px; background:rgba(255,255,255,.025); border:1px solid rgba(255,255,255,.14); color:#f4f6f9; font:500 .87rem/1.2 Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; cursor:pointer; transition:background .18s ease,border-color .18s ease,transform .18s ease; }
.auth-provider:hover { background:rgba(255,255,255,.065); border-color:rgba(255,255,255,.28); }
.auth-provider:active { transform:scale(.99); }
.auth-provider:focus-visible,.auth-link:focus-visible,.auth-submit:focus-visible { outline:2px solid var(--a); outline-offset:3px; }
.provider-mark { width:19px; height:19px; flex:0 0 19px; position:absolute; left:18px; }
.google-mark { width:18px; height:18px; }
.apple-mark { width:18px; height:18px; }
.line-mark { width:17px; height:17px; stroke:currentColor; stroke-width:1.75; fill:none; stroke-linecap:round; stroke-linejoin:round; }
.auth-divider { display:flex; align-items:center; gap:14px; margin:21px 0 17px; color:rgba(245,247,250,.48); font-size:.77rem; }
.auth-divider::before,.auth-divider::after { content:""; flex:1; height:1px; background:rgba(255,255,255,.11); }
.auth-email-form { gap:9px; }
.auth-email-form label,.auth-phone-panel label { color:rgba(245,247,250,.8); font-size:.77rem; font-weight:500; }
.auth-email-form input,.auth-phone-panel input { height:48px; width:100%; border-radius:999px; border:1px solid rgba(255,255,255,.17); background:rgba(255,255,255,.025); color:#f5f7fa; padding:0 16px; font:400 .88rem Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; outline:none; transition:border-color .18s ease,background .18s ease; user-select:text; }
.auth-email-form input::placeholder,.auth-phone-panel input::placeholder { color:rgba(245,247,250,.42); }
.auth-email-form input:focus,.auth-phone-panel input:focus { border-color:var(--a); background:rgba(255,255,255,.045); }
.auth-email-form input:focus-visible,.auth-phone-panel input:focus-visible { box-shadow:0 0 0 3px var(--t); }
.auth-link { border:0; background:transparent; color:#b7c4d4; font:500 .78rem Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; cursor:pointer; text-decoration:none; padding:3px 0; }
.auth-link:hover { color:#fff; text-decoration:underline; text-underline-offset:3px; }
.auth-forgot { align-self:flex-end; margin-top:-3px; }
.auth-submit { min-height:48px; height:auto; border-radius:999px; margin-top:4px; color:#07100b; font-size:.9rem; letter-spacing:-.015em; box-shadow:none; }
.auth-submit:disabled { opacity:.56; cursor:wait; transform:none; }
.auth-switch-line { display:flex; justify-content:center; align-items:center; gap:5px; flex-wrap:wrap; color:rgba(245,247,250,.55); font-size:.78rem; margin-top:8px; }
.auth-switch-line .auth-link { color:#f5f7fa; }
.auth-message { min-height:0; margin-top:10px; color:rgba(245,247,250,.66); font-size:.77rem; line-height:1.5; overflow-wrap:anywhere; }
.auth-message:empty { display:none; }
.auth-message[data-kind="error"] { color:#ff9eab; }
.auth-message[data-kind="success"] { color:#9de2b1; }
.auth-message[data-kind="info"] { color:#b9c9d9; }
.auth-spotify { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:5px; margin-top:17px; padding-top:15px; border-top:1px solid rgba(255,255,255,.08); color:rgba(245,247,250,.5); font-size:.76rem; }
.auth-spotify button { color:#c4efd1; border:0; background:transparent; padding:2px 3px; font:600 .76rem Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; cursor:pointer; }
.auth-spotify button:hover { text-decoration:underline; text-underline-offset:3px; }
.auth-legal { margin:13px auto 0; max-width:340px; text-align:center; color:rgba(245,247,250,.34); font-size:.65rem; line-height:1.5; }
.auth-logout { width:100%; margin-top:12px; }
.auth-phone-panel h3 { color:#f5f7fa; font-size:1rem; font-weight:600; margin-top:20px; }
.auth-phone-panel > p { color:rgba(245,247,250,.56); font-size:.82rem; line-height:1.5; margin:7px 0 18px; }
.auth-phone-panel .login-form { gap:10px; }
.auth-phone-panel [hidden],.auth-card [hidden] { display:none !important; }
.auth-back-link { margin-top:13px; }
@media (max-width:520px) {
  .auth-modal { align-items:center; padding:12px 0; }
  .auth-card { padding:24px 21px 20px; max-height:calc(100dvh - 24px); border-radius:19px; }
  .auth-heading { margin-top:23px; }
  .auth-heading h2 { font-size:1.48rem; }
  .auth-provider { min-height:47px; }
  .auth-close { top:20px; right:19px; }
}
@media (prefers-reduced-motion: reduce) {
  .auth-provider,.auth-email-form input,.auth-phone-panel input { transition:none; }
}

.auth-spotify #disconnectSpotifyBtn { color:rgba(255,255,255,.6); background:transparent; border:0; padding:2px 3px; font:500 .74rem Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif; cursor:pointer; }
.auth-spotify #disconnectSpotifyBtn:hover { color:#fff; text-decoration:underline; text-underline-offset:3px; }
.auth-card .auth-spotify[hidden],.auth-card .auth-legal[hidden] { display:none !important; }

h1 { font-weight: 800; }
h2 { font-weight: 700; }
h3 { font-weight: 600; }
strong, b, em, .emph { font-weight: 500; }
.brand-symbol { width: auto; height: 30px; display: block; }
.svg-symbol-part { fill: url(#Gradiente_sem_nome_33); }
.hero-wm { height: 96px; max-width: 86vw; }
.gate { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 20px; background: radial-gradient(ellipse at 50% 30%, var(--t), var(--bg) 70%), var(--bg); overflow-y: auto; }
.gate[hidden], .has-token .gate { display: none; }
.gate-wrap { display: flex; gap: 16px; align-items: stretch; justify-content: center; max-width: 100%; }
.gate-card { width: min(420px, 92vw); padding: 34px 30px; border-radius: 24px; display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; animation: gateIn .9s .35s cubic-bezier(.2, .8, .2, 1) backwards; }
.gate-card h1 { font-size: 1.7rem; }
.gate-logo .brand-symbol { height: 56px; }
.gate-lead { opacity: .75; }
.gate-check { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 10px; text-align: left; font-size: .85rem; }
.gate-check input { width: 18px; height: 18px; accent-color: var(--a); flex: none; }
.gate-check label { cursor: pointer; flex: 1 1 200px; }
.gate-spotify { width: 100%; height: 50px; font-weight: 700; }
.gate-spotify:disabled { opacity: .45; cursor: not-allowed; }
.gate-hint { font-size: .78rem; opacity: .6; line-height: 1.5; }
.terms-card { width: min(400px, 92vw); max-height: min(580px, 86vh); display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: 24px; animation: gateIn .5s backwards; }
.terms-card[hidden] { display: none; }
.terms-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.terms-head h2 { font-size: 1.05rem; }
.terms-body { overflow-y: auto; font-size: .84rem; line-height: 1.6; opacity: .85; padding-right: 6px; }
.terms-body h3 { font-size: .9rem; margin: 14px 0 4px; }
.terms-body a { color: var(--a); }
#acctPop { width: 240px; gap: 8px; }
@keyframes gateIn { from { opacity: 0; transform: translateY(18px) scale(.97); filter: blur(10px); } }
@media (max-width: 860px) { .gate-wrap { flex-direction: column; align-items: center; } }

#rateLink svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linejoin: round; }
#rateLink:hover svg { fill: var(--a); stroke: var(--a); }
#termsModal .terms-body { max-height: 60vh; }

.pf-ava { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; flex: none; }
.pf-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.15; }
.pf-text b { font-weight: 600; max-width: 140px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-text small { font-size: .62rem; opacity: .45; font-weight: 500; }
.login-pill-btn { height: 44px; padding: 0 16px 0 7px; }

.ib { width: 42px; height: 42px; }
.ib svg { width: 20px; height: 20px; stroke-width: 2; }
.ib.sm { width: 36px; height: 36px; }
.ib.sm svg { width: 18px; height: 18px; }
.sb-add-btn { width: 40px; height: 40px; }
.sb-add-btn svg, .sb-icon-bars svg, .sb-chevron svg, .sb-search-row svg { width: 20px; height: 20px; stroke-width: 2; }
.rate-pill-btn { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px 0 14px; border-radius: 999px; border: 1px solid var(--a); background: linear-gradient(135deg, var(--t), rgba(255, 255, 255, 0.04)); color: var(--tx); text-decoration: none; transition: border-color .2s ease; }
.rate-pill-btn:hover, .rate-pill-btn:focus-visible { outline: 0; }
.rate-pill-btn svg { width: 20px; height: 20px; fill: var(--a); stroke: var(--a); stroke-width: 1.6; stroke-linejoin: round; flex: none; }
