

:root {
  color-scheme: light !important;
  --apple-blue: #7145c6 !important;
  --apple-blue-hover: #7145c6 !important;
  --accent: #7145c6 !important;
  --accent-hover: #5d32af !important;
  --spotify-green-border: #6035ab !important;
  --bg-color: #f7f7fa !important;
  --sidebar-bg: #ffffff !important;
  --surface: #ffffff !important;
  --surface-hover: #f5f2fa !important;
  --surface-elevated: #f1edf7 !important;
  --surface-alt: #eee9f5 !important;
  --text-main: #201b2d !important;
  --text-muted: #6e667c !important;
  --text-soft: #51475f !important;
  --text-negative: #f3727f !important;
  --text-warning: #ffa42b !important;
  --text-announcement: #7145c6 !important;
  --border-light: #dcd5e6 !important;
  --border-strong: #82758f !important;
  --glass-bg: #ffffff !important;
  --glass-border: transparent !important;
  --glass-shadow: rgba(0,0,0,0.5) 0px 8px 24px !important;
  --shadow-medium: rgba(0,0,0,0.3) 0px 8px 8px !important;
  --inset-border: rgb(18,18,18) 0px 1px 0px, rgb(124,124,124) 0px 0px 0px 1px inset !important;
  --spring-easing: cubic-bezier(0.16, 1, 0.3, 1) !important;
  --ai-gradient: #7145c6 !important;
  --gold: #7145c6 !important;
  --font-title: SpotifyMixUITitle, CircularSp, "Inter", "Helvetica Neue", helvetica, arial, "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, "MS Gothic", sans-serif !important;
  --font-ui: SpotifyMixUI, CircularSp, "Inter", "Helvetica Neue", helvetica, arial, "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, "MS Gothic", sans-serif !important;
}

html {
  background: #f7f7fa !important;
}

body {
  font-family: var(--font-ui) !important;
  background: #f7f7fa !important;
  background-image: none !important;
  color: #201b2d !important;
  text-rendering: geometricPrecision !important;
}

body::before,
body::after {
  display: none !important;
}

button,
input,
select,
textarea {
  font-family: inherit !important;
}

.app-layout {
  background: #f7f7fa !important;
}

.sidebar {
  width: 260px !important;
  background: #ffffff !important;
  border-right: 1px solid #ffffff !important;
  padding: 24px 14px 16px !important;
}

.nav-brand {
  font-family: var(--font-title) !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em !important;
  margin: 0 10px 28px !important;
  color: #201b2d !important;
}

.brand-icon {
  width: 34px !important;
  height: 34px !important;
  border-radius: 50% !important;
  background: #7145c6 !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

.nav-item,
.cat-btn,
.bottom-nav-item {
  font-family: var(--font-ui) !important;
}

.nav-item {
  color: #6e667c !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  padding: 12px 14px !important;
  border-radius: 9999px !important;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease !important;
}

.nav-item:hover {
  background: #f5f2fa !important;
  color: #201b2d !important;
  transform: none !important;
}

.nav-item:hover svg {
  transform: none !important;
}

.nav-item.active {
  background: #f5f2fa !important;
  color: #201b2d !important;
  box-shadow: inset 0 0 0 1px rgba(32,27,45,0.04) !important;
}

.nav-item.active svg {
  color: #7145c6 !important;
}

.user-pill {
  background: #ffffff !important;
  border: none !important;
  border-radius: 9999px !important;
  padding: 10px 12px !important;
  box-shadow: rgba(0,0,0,0.3) 0px 8px 8px !important;
}

.avatar,
.role-badge,
.version-pill {
  background: #7145c6 !important;
  color: #ffffff !important;
  border-radius: 9999px !important;
  box-shadow: none !important;
}

.role-badge,
.version-pill {
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 1.4px !important;
  text-transform: uppercase !important;
}

.main-content {
  background: linear-gradient(180deg, #f5f2fa 0%, #f7f7fa 220px, #f7f7fa 100%) !important;
  padding-bottom: 90px !important;
}

.main-scroll {
  max-width: 1220px !important;
  padding: 44px 48px !important;
}

.dashboard-header {
  margin-bottom: 34px !important;
}

.page-header h1,
.bento-item h3,
.pack-title,
.post-title,
.wall-of-fame h3,
.premium-text h3,
.modal-content h2,
.modal-content h3,
.card h1,
.card h3 {
  font-family: var(--font-title) !important;
  letter-spacing: -0.03em !important;
}

.page-header h1 {
  color: #201b2d !important;
  background: none !important;
  -webkit-text-fill-color: currentColor !important;
  font-size: clamp(32px, 4vw, 48px) !important;
  font-weight: 700 !important;
  line-height: 1.08 !important;
  margin-bottom: 10px !important;
}

.page-header p {
  color: #6e667c !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.55 !important;
  max-width: 760px !important;
}

.v9-scope {
  display: none !important;
}

.bento-grid {
  gap: 18px !important;
}

.bento-item,
.pack-card,
.post-card,
.premium-banner,
.settings-group,
.glass-card,
.modal-content,
.card {
  background: #ffffff !important;
  background-image: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  border-radius: 8px !important;
  color: #201b2d !important;
  box-shadow: none !important;
}

.bento-item,
.pack-card,
.post-card {
  transition: background 180ms ease, transform 180ms ease, box-shadow 180ms ease !important;
}

.bento-item {
  min-height: 320px !important;
  padding: 28px !important;
}

.bento-item:hover,
.pack-card:hover,
.post-card:hover {
  background: #f5f2fa !important;
  border: none !important;
  transform: translateY(-3px) !important;
  box-shadow: rgba(0,0,0,0.3) 0px 8px 8px !important;
}

.bento-icon,
.mode-icon {
  width: 56px !important;
  height: 56px !important;
  background: #f1edf7 !important;
  color: #6e667c !important;
  border-radius: 6px !important;
  box-shadow: none !important;
}

.bento-item:hover .bento-icon,
.mode-card.selected .mode-icon {
  background: #7145c6 !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

.bento-item h3 {
  color: #201b2d !important;
  font-size: 24px !important;
  font-weight: 700 !important;
}

.bento-item p,
.pack-author,
.pack-stats,
.post-meta,
.post-content-preview,
.thread-body,
.comment-content,
.legal-section,
.card p,
.card li,
.hint {
  color: #6e667c !important;
}

.tag,
.pack-card .tag {
  background: #f5f2fa !important;
  border: none !important;
  border-radius: 9999px !important;
  color: #6e667c !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  padding: 6px 10px !important;
}

.tag:hover,
.pack-card:hover .tag {
  color: #201b2d !important;
}

.premium-banner {
  padding: 32px !important;
  box-shadow: rgba(0,0,0,0.5) 0px 8px 24px !important;
}

.premium-banner::before {
  display: none !important;
}

.btn,
.seg-btn,
.ab-toggle-btn {
  border-radius: 9999px !important;
  font-weight: 700 !important;
  letter-spacing: 1.4px !important;
  text-transform: uppercase !important;
}

.btn {
  background: #201b2d !important;
  color: #ffffff !important;
  border: none !important;
  box-shadow: none !important;
  padding: 13px 26px !important;
  font-size: 13px !important;
  line-height: 1 !important;
  transition: transform 180ms ease, background 180ms ease !important;
}

.btn:hover {
  background: #201b2d !important;
  transform: scale(1.04) !important;
  box-shadow: none !important;
}

.btn:active {
  transform: scale(0.98) !important;
}

.btn.accent-btn {
  background: #7145c6 !important;
  color: #ffffff !important;
}

.btn.accent-btn:hover {
  background: #5d32af !important;
  box-shadow: none !important;
}

.btn.secondary {
  background: #f5f2fa !important;
  color: #201b2d !important;
  border: 1px solid #dcd5e6 !important;
}

.btn.secondary:hover {
  border-color: #82758f !important;
  background: #f1edf7 !important;
}

.text-input,
.apple-select,
textarea.text-input {
  background: #f5f2fa !important;
  color: #201b2d !important;
  border: none !important;
  border-radius: 500px !important;
  box-shadow: rgb(18,18,18) 0px 1px 0px, rgb(124,124,124) 0px 0px 0px 1px inset !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  padding: 13px 18px !important;
}

textarea.text-input {
  border-radius: 18px !important;
  line-height: 1.55 !important;
}

.text-input:focus,
.apple-select:focus,
textarea.text-input:focus {
  outline: 1px solid #ffffff !important;
  border: none !important;
  box-shadow: rgb(18,18,18) 0px 1px 0px, #201b2d 0px 0px 0px 1px inset !important;
}

.toolbar {
  gap: 12px !important;
  margin-bottom: 30px !important;
}

.apple-select option,
select option {
  background: #ffffff !important;
  color: #201b2d !important;
}

.pack-card {
  padding: 22px !important;
}

.pack-title {
  color: #201b2d !important;
  font-size: 18px !important;
  font-weight: 700 !important;
}

.pack-play,
.play-btn-circle {
  background: #7145c6 !important;
  color: #ffffff !important;
  border-radius: 50% !important;
  box-shadow: none !important;
}

.pack-play:hover,
.play-btn-circle:hover {
  background: #5d32af !important;
  transform: scale(1.06) !important;
  box-shadow: none !important;
}

.pack-footer,
.thread-header,
.comment,
footer {
  border-color: #e4e0ea !important;
}

.forum-layout {
  gap: 24px !important;
}

.cat-btn {
  background: transparent !important;
  color: #6e667c !important;
  border: none !important;
  border-radius: 9999px !important;
  padding: 11px 14px !important;
  font-weight: 700 !important;
}

.cat-btn:hover,
.cat-btn.active {
  background: #f5f2fa !important;
  color: #201b2d !important;
  box-shadow: none !important;
}

.cat-btn.active {
  box-shadow: inset 0 0 0 1px rgba(32,27,45,0.04) !important;
}

.post-card {
  padding: 20px !important;
  gap: 16px !important;
}

.vote-btn {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  border: none !important;
  background: #f5f2fa !important;
  color: #6e667c !important;
}

.vote-btn:hover,
.vote-btn.active {
  background: #7145c6 !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

.vote-count {
  color: #201b2d !important;
  font-family: var(--font-ui) !important;
  font-weight: 700 !important;
}

.modal-overlay {
  background: rgba(0,0,0,0.72) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
}

.modal-content {
  box-shadow: rgba(0,0,0,0.5) 0px 8px 24px !important;
  padding: 36px !important;
}

.thread-header {
  background: #ffffff !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.thread-body {
  background: #f7f7fa !important;
}

.status-msg.error {
  background: rgba(243,114,127,0.12) !important;
  border: 1px solid rgba(243,114,127,0.3) !important;
  color: #f3727f !important;
}

.status-msg.success {
  background: rgba(113,69,198,0.12) !important;
  border: 1px solid rgba(113,69,198,0.3) !important;
  color: #7145c6 !important;
}

footer {
  color: #6e667c !important;
  padding-top: 32px !important;
}

footer a,
.legal-section a,
.card a {
  color: #201b2d !important;
  text-decoration: none !important;
}

footer a:hover,
.legal-section a:hover,
.card a:hover {
  color: #7145c6 !important;
}

.bottom-nav {
  background: #ffffff !important;
  border-top: 1px solid #e4e0ea !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.bottom-nav-item {
  color: #6e667c !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
}

.bottom-nav-item.active {
  color: #7145c6 !important;
}

::-webkit-scrollbar {
  width: 10px !important;
  height: 10px !important;
}

::-webkit-scrollbar-track {
  background: #f7f7fa !important;
}

::-webkit-scrollbar-thumb {
  background: #dcd5e6 !important;
  border: 2px solid #f7f7fa !important;
  border-radius: 9999px !important;
}

::selection {
  background: rgba(113,69,198,0.28) !important;
  color: #201b2d !important;
}

@media (max-width: 768px) {
  body {
    min-height: 100vh !important;
    height: auto !important;
    overflow-y: auto !important;
  }

  .app-layout {
    min-height: 100vh !important;
  }

  .main-content {
    min-height: 100vh !important;
    background: linear-gradient(180deg, #f5f2fa 0%, #f7f7fa 160px, #f7f7fa 100%) !important;
    padding-bottom: 90px !important;
  }

  .main-scroll {
    padding: 24px 16px 34px !important;
  }

  .page-header h1 {
    font-size: 30px !important;
  }

  .bento-grid,
  .packs-grid,
  .forum-layout {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .bento-item,
  .pack-card,
  .post-card,
  .premium-banner,
  .glass-card,
  .modal-content,
  .card {
    border-radius: 8px !important;
  }

  .bento-item {
    min-height: auto !important;
    padding: 24px !important;
  }

  .toolbar {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .toolbar .text-input,
  .toolbar .apple-select,
  .toolbar .btn {
    width: 100% !important;
  }

  .cat-list {
    display: flex !important;
    flex-direction: row !important;
    gap: 8px !important;
    overflow-x: auto !important;
    padding-bottom: 8px !important;
  }

  .cat-btn {
    width: auto !important;
    white-space: nowrap !important;
  }

  .post-card {
    padding: 16px !important;
  }

  .modal-content {
    padding: 28px 20px !important;
  }
}

body {
  display: block !important;
  min-height: 100vh !important;
  height: auto !important;
  overflow-y: auto !important;
}

.legal-wrap {
  max-width: 980px;
  margin: 0 auto;
  padding: 42px 22px 80px;
}

.legal-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 30px;
}

.legal-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #201b2d;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.legal-brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #7145c6;
  color: #ffffff;
  display: grid;
  place-items: center;
  font-weight: 800;
}

.legal-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.legal-nav a {
  color: #6e667c;
  background: #ffffff;
  border-radius: 9999px;
  padding: 10px 14px;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
}

.legal-nav a:hover {
  color: #201b2d;
  background: #f5f2fa;
}

.card {
  padding: 42px !important;
  box-shadow: rgba(0,0,0,0.5) 0px 8px 24px !important;
}

.card h1 {
  font-size: clamp(34px, 5vw, 52px) !important;
  line-height: 1.04 !important;
  margin-bottom: 8px !important;
}

.card h3 {
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #201b2d !important;
  margin-top: 32px !important;
  margin-bottom: 10px !important;
}

.card p,
.card li {
  font-size: 15px !important;
  line-height: 1.65 !important;
}

.card ul {
  margin: 8px 0 16px 20px !important;
}

.hint {
  display: inline-flex;
  background: #f5f2fa;
  border-radius: 9999px;
  padding: 8px 12px;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em;
}

@media (max-width: 768px) {
  .legal-wrap {
    padding: 24px 16px 70px;
  }

  .legal-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .card {
    padding: 28px 20px !important;
  }
}

