/* ============================================================
   声べーす！ (KoeBase) — Design System (Vanilla CSS)
   ============================================================ */

/* --- CSS Reset (Modern) --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
  scroll-behavior: smooth;
}

body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  max-width: 100%;
}

img,
video {
  height: auto;
}

input,
button,
textarea,
select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

table {
  border-collapse: collapse;
  text-indent: 0;
}

textarea {
  resize: vertical;
}

input::placeholder,
textarea::placeholder {
  opacity: 1;
  color: var(--on-surface-variant);
}

[hidden] {
  display: none !important;
}

/* --- Design Tokens (CSS Custom Properties) --- */
:root {
  /* Primary */
  --primary: #7432e0;
  --primary-dim: #681fd4;
  --on-primary: #fef7ff;
  --primary-container: #ceb5ff;
  --on-primary-container: #4e00ab;

  /* Secondary */
  --secondary: #006b62;
  --secondary-dim: #005e56;
  --on-secondary: #e2fff9;
  --secondary-container: #91feef;
  --on-secondary-container: #006259;

  /* Tertiary */
  --tertiary: #bd0c3b;

  /* Error */
  --error: #ac3149;
  --error-container: #f76a80;
  --on-error-container: #68001f;

  /* Surface */
  --surface: #f7f9fb;
  --surface-dim: #d3dbdf;
  --surface-container: #eaeef1;
  --surface-container-low: #f1f4f6;
  --surface-container-high: #e3e9ec;
  --surface-container-highest: #dde3e7;
  --on-surface: #2d3337;
  --on-surface-variant: #596063;
  --outline-variant: #acb3b7;

  /* Typography */
  --font-headline: 'Manrope', 'Noto Sans JP', sans-serif;
  --font-body: 'Inter', 'Noto Sans JP', sans-serif;

  /* Spacing */
  --sp-1: 0.25rem;
  /* 4px */
  --sp-2: 0.5rem;
  /* 8px */
  --sp-3: 0.75rem;
  /* 12px */
  --sp-4: 1rem;
  /* 16px */
  --sp-5: 1.25rem;
  /* 20px */
  --sp-6: 1.5rem;
  /* 24px */
  --sp-8: 2rem;
  /* 32px */
  --sp-10: 2.5rem;
  /* 40px */
  --sp-12: 3rem;
  /* 48px */
  --sp-16: 4rem;
  /* 64px */
  --sp-20: 5rem;
  /* 80px */
  --sp-32: 8rem;
  /* 128px */

  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-3xl: 2rem;
  --radius-4xl: 2.5rem;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.05);

  /* Transitions */
  --transition: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-long: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Base Styles --- */
body {
  font-family: var(--font-body);
  background-color: var(--surface);
  color: var(--on-surface);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.font-headline {
  font-family: var(--font-headline);
}

/* --- Navigation Bar --- */
.nav-bar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 100;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0.75rem 1rem;
  max-width: 1920px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  transition: transform var(--transition);
  flex-shrink: 0;
}

.nav-logo:active {
  transform: scale(0.95);
}

.nav-logo img {
  height: 3.125rem;
  width: auto;
  object-fit: contain;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 2rem;
  font-family: var(--font-headline);
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-left: 5rem;
  flex-shrink: 0;
}

.nav-links a {
  color: rgba(45, 51, 55, 0.7);
  font-weight: 500;
  transition: color var(--transition);
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-search {
  flex: 1;
  max-width: 36rem;
  margin: 0 1rem;
  display: none;
}

.nav-search-form {
  position: relative;
}

.nav-search-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--on-surface-variant);
  transition: color var(--transition);
}

.nav-search-form:focus-within .nav-search-icon {
  color: var(--primary);
}

.nav-search-input {
  width: 100%;
  background: var(--surface-container-low);
  border: none;
  border-radius: var(--radius-full);
  padding: 0.625rem 1rem 0.625rem 3rem;
  font-size: 0.875rem;
  font-weight: 500;
  outline: none;
  transition: box-shadow var(--transition);
}

.nav-search-input:focus {
  box-shadow: 0 0 0 2px var(--primary);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-login {
  color: var(--primary);
  font-weight: 700;
  padding: 0.5rem;
  font-size: 0.75rem;
  white-space: nowrap;
}

.btn-login:hover {
  text-decoration: underline;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--on-primary);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-family: var(--font-headline);
  box-shadow: var(--shadow-lg), 0 0 0 0 rgba(116, 50, 224, 0.2);
  transition: background var(--transition), transform var(--transition);
  font-size: 10px;
  white-space: nowrap;
}

.btn-primary:hover {
  background: var(--primary-dim);
}

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

/* Profile Dropdown */
.profile-dropdown {
  position: relative;
  display: none;
}

.profile-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-full);
  overflow: hidden;
  border: 2px solid var(--surface-container-high);
  cursor: pointer;
  transition: transform var(--transition);
  background: #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary);
  flex-shrink: 0;
}

.profile-avatar:hover {
  transform: scale(1.05);
}

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

.dropdown-menu {
  display: none;
  position: absolute;
  right: 0;
  margin-top: 0.5rem;
  width: 12rem;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 0.25rem 0;
  z-index: 110;
  border: 1px solid #f3f4f6;
}

.dropdown-menu.show {
  display: block;
}

.dropdown-header {
  padding: 0.5rem 1rem;
  border-bottom: 1px solid #f3f4f6;
}

.dropdown-header p {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dropdown-header .name {
  font-size: 0.875rem;
  font-weight: 700;
}

.dropdown-header .email {
  font-size: 0.75rem;
  color: #6b7280;
}

.dropdown-menu a {
  display: block;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  color: #374151;
  transition: background var(--transition);
}

.dropdown-menu a:hover {
  background: #f9fafb;
}

.dropdown-menu .admin-link {
  color: var(--primary);
  font-weight: 900;
  border-top: 1px solid #f9fafb;
}

.dropdown-menu .admin-link:hover {
  background: rgba(116, 50, 224, 0.05);
}

.dropdown-menu .logout-link {
  color: #dc2626;
}

.dropdown-menu .logout-link:hover {
  background: #fef2f2;
}

/* Hamburger Button */
.hamburger-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-md);
  color: var(--on-surface);
  background: var(--surface-container);
  transition: background var(--transition);
}

.hamburger-btn:hover {
  background: var(--surface-container-high);
}

.hamburger-btn .material-symbols-outlined {
  font-size: 1.5rem;
}

/* Mobile Drawer */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-long);
}

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

.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 85%;
  max-width: 320px;
  background: var(--surface);
  z-index: 1001;
  transform: translateX(100%);
  transition: transform var(--transition-long);
  overflow-y: auto;
  box-shadow: var(--shadow-2xl);
  display: flex;
  flex-direction: column;
}

.mobile-drawer.show {
  transform: translateX(0);
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  background: #fff;
  position: sticky;
  top: 0;
  z-index: 10;
}

.mobile-drawer-header .nav-logo img {
  height: 2.25rem;
}

.close-drawer-btn {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--surface-container-low);
  color: var(--on-surface-variant);
  transition: all var(--transition);
}

.close-drawer-btn:active {
  transform: scale(0.9);
}

.close-drawer-btn .material-symbols-outlined {
  font-size: 1.5rem;
}

.mobile-drawer-inner {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mobile-drawer-search {
  position: relative;
}

.mobile-drawer-search input {
  width: 100%;
  background: var(--surface-container-high);
  border: none;
  border-radius: var(--radius-full);
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  outline: none;
}

.mobile-drawer-search .material-symbols-outlined {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--on-surface-variant);
  font-size: 1.25rem;
}

.mobile-drawer-section {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.mobile-drawer-label {
  font-size: 0.625rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--outline-variant);
  margin-bottom: 0.25rem;
  padding-left: 0.5rem;
}

.mobile-drawer-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0.5rem;
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--on-surface);
  transition: background var(--transition);
}

.mobile-drawer-link:hover {
  background: var(--surface-container);
}

.mobile-drawer-link .material-symbols-outlined {
  color: var(--primary);
  font-size: 1.25rem;
}

.mobile-drawer-link.accent {
  color: var(--primary);
  font-weight: 800;
}

.mobile-drawer-link.danger {
  color: var(--error);
}

.mobile-drawer-link.danger .material-symbols-outlined {
  color: var(--error);
}

.mobile-drawer-user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem;
  margin-bottom: 0.5rem;
}

.mobile-drawer-user-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-full);
  overflow: hidden;
  background: var(--surface-container-high);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--primary);
  flex-shrink: 0;
}

.mobile-drawer-user-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mobile-drawer-user-info {
  display: flex;
  flex-direction: column;
}

.mobile-drawer-user-info .name {
  font-size: 0.875rem;
  font-weight: 800;
}

.mobile-drawer-user-info .email {
  font-size: 0.6875rem;
  color: var(--on-surface-variant);
}

/* --- Main Layout --- */
.main-content {
  flex-grow: 1;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
}

.main-padded {
  padding-top: var(--sp-32);
}

.page-content {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.25rem;
  padding-top: var(--sp-32);
  padding-bottom: var(--sp-20);
  width: 100%;
  box-sizing: border-box;
}

.page-narrow {
  max-width: 56rem;
}

.page-narrower {
  max-width: 48rem;
}

/* --- Section Heading --- */
.section-heading-lg {
  font-size: 1.875rem;
  font-weight: 900;
  font-family: var(--font-headline);
  letter-spacing: -0.025em;
  color: var(--on-surface);
  margin-bottom: 2rem;
}

/* --- Hero / Index Page --- */
.index-container {
  max-width: 87.5rem;
  /* 1400px */
  margin: 0 auto;
  padding: 7rem 1rem 5rem;
}

.hero-section {
  margin-bottom: 2.5rem;
}

.hero-slider {
  position: relative;
  width: 100%;
  min-height: 480px;
  border-radius: var(--radius-4xl);
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow-xl);
}

.slide-item {
  position: absolute;
  inset: 0;
  transition: all 1s ease-in-out;
  display: flex;
  align-items: center;
  opacity: 0;
  z-index: 0;
  transform: scale(1.05);
}

.slide-item.active {
  opacity: 1;
  z-index: 10;
  transform: scale(1);
}

.slide-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.4), transparent);
}

.slide-content {
  position: relative;
  z-index: 10;
  padding: 4rem 1.5rem;
  max-width: 60rem;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.slide-title {
  font-family: var(--font-headline);
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 2rem;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.slide-title span {
  display: inline-block;
  white-space: nowrap;
}

.slide-title .highlight {
  color: var(--primary-container);
}

.slide-title .text-primary-container {
  color: var(--primary-container);
}

.glass-hero {
  padding: 0.3rem;
  border-radius: var(--radius-xl);
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 42rem;
}

.glass-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.glass-row .material-symbols-outlined {
  color: var(--primary-container);
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.glass-row p {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.6;
}

.slide-actions {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  align-items: center;
}

.slide-actions a {
  width: 100%;
  max-width: 20rem;
}

.slide-actions .btn-cta {
  background: var(--primary);
  color: var(--on-primary);
  padding: 1rem 2.5rem;
  border-radius: var(--radius-full);
  font-weight: 900;
  font-size: 1.125rem;
  text-align: center;
  box-shadow: var(--shadow-xl), 0 0 30px rgba(116, 50, 224, 0.3);
  transition: background var(--transition);
  display: flex;
  justify-content: center;
}

.slide-actions .btn-cta:hover {
  background: var(--primary-dim);
}

.slide-actions .btn-outline {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1rem 2.5rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1.125rem;
  text-align: center;
  backdrop-filter: blur(12px);
  transition: background var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide-actions .btn-outline:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* Slide Indicators */
.slide-indicators {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  gap: 0.5rem;
}

.slide-indicators .indicator {
  height: 0.375rem;
  width: 0.5rem;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.4);
  transition: all var(--transition-long);
  border: none;
  cursor: pointer;
}

.slide-indicators .indicator.active {
  width: 2rem;
  background: #fff;
}

/* --- Emotion Filter Section --- */
.emotion-filter-section {
  margin-bottom: 3rem;
}

.emotion-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.emotion-chip {
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  transition: all var(--transition);
  background: var(--surface-container-high);
  color: var(--on-surface);
  border: none;
  cursor: pointer;
  font-size: 0.875rem;
}

.emotion-chip:hover {
  background: var(--surface-container-highest);
}

.emotion-chip.active {
  background: rgba(116, 50, 224, 0.15);
  color: var(--on-primary-container);
  box-shadow: var(--shadow);
}

/* --- Rich Voice Card (matching React) --- */
.grid-voices-rich {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.voice-card-rich {
  position: relative;
  background: var(--surface-container-low);
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 12px 32px -4px rgba(45, 51, 55, 0.06);
  transition: all var(--transition-long);
  border: 1px solid var(--surface-container-high);
}

.voice-card-rich:hover {
  box-shadow: var(--shadow-xl);
  transform: translateY(-4px);
}

/* Image area */
.vcard-image {
  position: relative;
  height: 16rem;
  overflow: hidden;
}

.vcard-image-link {
  display: block;
  width: 100%;
  height: 100%;
}

.vcard-image-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.voice-card-rich:hover .vcard-image-link img {
  transform: scale(1.05);
}

.vcard-image-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #6366f1, #a855f7);
  transition: transform var(--transition-slow);
}

.voice-card-rich:hover .vcard-image-placeholder {
  transform: scale(1.05);
}

.vcard-image-overlay {
  position: absolute;
  inset: 0;
  background: rgba(116, 50, 224, 0.1);
}

.vcard-play-btn {
  position: absolute !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  width: 4rem;
  height: 4rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  color: white;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  transition: all var(--transition);
  opacity: 0.8;
  cursor: pointer;
  z-index: 50;
  pointer-events: auto;
}

.voice-card-rich:hover .vcard-play-btn {
  opacity: 0.8;
}

.vcard-play-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  transform: translate(-50%, -50%) scale(1.02);
  opacity: 1;
}

.vcard-play-btn:active {
  transform: translate(-50%, -50%) scale(0.98);
}

.vcard-play-btn .material-symbols-outlined {
  font-size: 2rem;
  font-variation-settings: 'FILL' 1;
}

/* Format badge - bottom left of image */
.vcard-format-badge {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  z-index: 10;
}

.vcard-format-badge span {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  color: var(--on-surface);
  font-size: 10px;
  font-weight: 900;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Artist avatar overlay - top left of image */
.vcard-artist-avatar {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 20;
}

.vcard-artist-avatar a {
  display: block;
  width: 4rem;
  height: 4rem;
  border-radius: var(--radius-full);
  overflow: hidden;
  border: 4px solid #fff;
  box-shadow: var(--shadow-xl);
  transition: transform var(--transition);
}

.vcard-artist-avatar a:hover {
  transform: scale(1.1);
}

.vcard-artist-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-fallback {
  width: 100%;
  height: 100%;
  background: var(--surface);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  color: var(--primary);
  font-size: 1.25rem;
}

/* Tier badge - top right of image */
.vcard-tier-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
}

.vcard-tier-badge span {
  background: var(--primary);
  color: var(--on-primary);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: var(--shadow);
}

/* Card body */
.vcard-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.vcard-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.tag-emotion {
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: rgba(0, 107, 98, 0.1);
  color: var(--secondary);
  padding: 0.125rem 0.5rem;
  border-radius: var(--radius-full);
}

.tag-category {
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: rgba(116, 50, 224, 0.1);
  color: var(--primary);
  padding: 0.125rem 0.5rem;
  border-radius: var(--radius-full);
}

.vcard-title {
  font-size: 1.25rem;
  font-weight: 800;
  font-family: var(--font-headline);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color var(--transition);
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.voice-card-rich:hover .vcard-title {
  color: var(--primary);
}

/* Artist info area */
.vcard-artist-info {
  margin-bottom: 1rem;
}

.vcard-artist-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: var(--on-surface-variant);
  font-weight: 700;
  margin-bottom: 0.25rem;
  transition: text-decoration var(--transition);
}

.vcard-artist-link:hover {
  text-decoration: underline;
}

.vcard-artist-mini-avatar {
  width: 1rem;
  height: 1rem;
  border-radius: var(--radius-full);
  overflow: hidden;
  flex-shrink: 0;
}

.vcard-artist-mini-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.verified-mini {
  font-size: 14px;
  color: #3b82f6;
  flex-shrink: 0;
}

/* Script preview */
.vcard-script-preview {
  display: flex;
  align-items: flex-start;
  gap: 0.25rem;
  color: rgba(89, 96, 99, 0.6);
  margin-top: 0.5rem;
  padding: 0.5rem;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(227, 233, 236, 0.5);
}

.vcard-script-preview .material-symbols-outlined {
  font-size: 14px;
  margin-top: 0.125rem;
  flex-shrink: 0;
}

.vcard-script-preview p {
  font-size: 10px;
  line-height: 1.4;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-style: italic;
}

.vcard-license-info {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.5rem;
  padding: 0.25rem 0.5rem;
  background: rgba(227, 233, 236, 0.2);
  border-radius: var(--radius-sm);
  width: fit-content;
}

.vcard-license-info .material-symbols-outlined {
  font-size: 14px;
  flex-shrink: 0;
}

.vcard-license-info .license-text {
  font-size: 10px;
  font-weight: 700;
  color: var(--on-surface-variant);
}

/* Footer - price + actions */
.vcard-footer {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--surface-container-highest);
}

.vcard-price {
  display: flex;
  flex-direction: column;
}

.vcard-price .price-label {
  font-size: 10px;
  color: var(--on-surface-variant);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.025em;
}

.vcard-price .price-value {
  font-weight: 900;
  color: var(--primary);
  font-size: 1.125rem;
  line-height: 1;
}

.vcard-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--on-surface-variant);
}

.vcard-action-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: color var(--transition);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.vcard-action-item:hover {
  color: var(--primary);
}

.vcard-action-item.active-like {
  color: #ec4899;
}

.vcard-action-item.active-like .material-symbols-outlined {
  font-variation-settings: 'FILL' 1;
}

.vcard-action-item.active-save {
  color: var(--primary);
}

.vcard-action-item.active-save .material-symbols-outlined {
  font-variation-settings: 'FILL' 1;
}

.vcard-action-item.btn-download:hover {
  color: var(--secondary);
}

.vcard-action-item .material-symbols-outlined {
  font-size: 1.125rem;
}

.vcard-action-item span:last-child {
  font-size: 10px;
  font-weight: 900;
}

/* Ranking badge */
.rank-badge {
  position: absolute;
  top: 0;
  left: 0;
  width: 3rem;
  height: 3rem;
  background: var(--primary);
  color: var(--on-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  z-index: 20;
  border-bottom-right-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}

/* --- Filter Chips (Search) --- */
.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.filter-chip {
  padding: 0.5rem 1rem;
  border-radius: var(--radius-xl);
  font-size: 0.875rem;
  font-weight: 700;
  transition: all var(--transition);
  background: var(--surface-container-high);
  color: var(--on-surface);
}

.filter-chip:hover {
  background: var(--surface-container-highest);
}

.filter-chip.active {
  background: var(--primary);
  color: var(--on-primary);
  box-shadow: var(--shadow);
}

.filter-chip.secondary.active {
  background: var(--secondary);
  color: var(--on-secondary);
}

.follow-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1rem;
  border-radius: var(--radius-xl);
  font-weight: 700;
  transition: all var(--transition);
  background: var(--surface-container-low);
  border: 2px solid transparent;
  color: var(--on-surface-variant);
}

.follow-toggle-btn:hover {
  background: var(--surface-container-high);
}

.follow-toggle-btn.active {
  background: rgba(116, 50, 224, 0.05);
  border-color: var(--primary);
  color: var(--primary);
}

.follow-toggle-btn span {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.follow-toggle-btn .material-symbols-outlined {
  color: #9ca3af;
}

.follow-toggle-btn.active .material-symbols-outlined {
  color: var(--primary);
}

.toggle-track {
  width: 2.5rem;
  height: 1.25rem;
  border-radius: var(--radius-full);
  background: #d1d5db;
  position: relative;
  transition: background var(--transition);
}


.reset-filters {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.reset-filters:hover {
  text-decoration: underline;
}

/* Empty results */
.empty-results {
  padding: 5rem 2rem;
  text-align: center;
  background: #fff;
  border-radius: 32px;
  border: 2px dashed var(--surface-container-highest);
}

.empty-results .material-symbols-outlined {
  font-size: 4.5rem;
  color: var(--surface-container-highest);
  margin-bottom: 1rem;
}

.empty-results h3 {
  font-size: 1.5rem;
  font-weight: 900;
  font-family: var(--font-headline);
  color: var(--on-surface);
  margin-bottom: 0.5rem;
}

.empty-results p {
  color: var(--on-surface-variant);
  font-weight: 500;
}

.empty-results .btn-reset {
  display: inline-block;
  margin-top: 1.5rem;
  background: var(--surface-container-high);
  color: var(--on-surface);
  padding: 0.75rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 900;
  transition: background var(--transition);
}

.empty-results .btn-reset:hover {
  background: var(--surface-container-highest);
}

/* Section header and general typography */
.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.section-header-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-header-left .material-symbols-outlined {
  color: var(--primary);
  font-size: 1.875rem;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 900;
  font-family: var(--font-headline);
  letter-spacing: -0.025em;
}

.section-link {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
}

.section-link:hover {
  text-decoration: underline;
}

.play-btn {
  z-index: 10;
  pointer-events: auto;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--on-primary);
  box-shadow: var(--shadow);
  flex-shrink: 0;
  transition: background var(--transition), transform var(--transition);
}

.play-btn:active {
  transform: scale(0.9);
}

.progress-track {
  flex: 1;
  height: 0.25rem;
  background: #f3f4f6;
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: var(--primary);
  width: 0;
  transition: width 100ms linear;
}

/* --- Grid Layouts --- */
.grid-1 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.grid-voices {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

/* --- Auth Forms --- */
.auth-page {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  padding-top: var(--sp-20);
}

.auth-card {
  max-width: 28rem;
  width: 100%;
  background: #fff;
  padding: var(--sp-10);
  border-radius: var(--radius-4xl);
  box-shadow: var(--shadow-2xl);
  border: 1px solid #f3f4f6;
}

.auth-card .header {
  text-align: center;
}

.auth-card .header h2 {
  margin-top: 1.5rem;
  font-size: 1.875rem;
  font-weight: 900;
  font-family: var(--font-headline);
  color: var(--on-surface);
  letter-spacing: -0.025em;
}

.auth-card .header p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--on-surface-variant);
  font-weight: 500;
}

.auth-card .header a {
  font-weight: 700;
  color: var(--primary);
  transition: color var(--transition);
}

.auth-card .header a:hover {
  color: var(--primary-dim);
}

.alert-error {
  background: #fef2f2;
  color: #dc2626;
  padding: 1rem;
  border-radius: var(--radius-xl);
  font-size: 0.875rem;
  font-weight: 700;
  border: 1px solid #fee2e2;
  margin-bottom: 1rem;
}

.alert-success {
  background: #f0fdf4;
  color: #16a34a;
  padding: 1rem;
  border-radius: var(--radius-xl);
  font-size: 0.875rem;
  font-weight: 700;
  border: 1px solid #dcfce7;
  margin-bottom: 1rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--on-surface-variant);
  margin-bottom: 0.5rem;
  padding-left: 0.25rem;
}

.form-input {
  appearance: none;
  display: block;
  width: 100%;
  padding: 1rem 1.5rem;
  border: none;
  background: var(--surface-container-low);
  color: var(--on-surface);
  border-radius: var(--radius-xl);
  font-size: 0.875rem;
  font-weight: 700;
  outline: none;
  transition: box-shadow var(--transition);
}

.form-input:focus {
  box-shadow: 0 0 0 2px var(--primary);
}

.form-select {
  appearance: none;
  display: block;
  width: 100%;
  padding: 1rem 1.5rem;
  border: none;
  background: var(--surface-container-low);
  color: var(--on-surface);
  border-radius: var(--radius-xl);
  font-size: 0.875rem;
  font-weight: 700;
  outline: none;
  transition: box-shadow var(--transition);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23596063' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.form-select:focus {
  box-shadow: 0 0 0 2px var(--primary);
}

.form-textarea {
  display: block;
  width: 100%;
  padding: 1rem 1.5rem;
  border: none;
  background: var(--surface-container-low);
  color: var(--on-surface);
  border-radius: var(--radius-xl);
  font-size: 0.875rem;
  outline: none;
  transition: box-shadow var(--transition);
}

.form-textarea:focus {
  box-shadow: 0 0 0 2px var(--primary);
}

.btn-submit {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 1rem;
  border: none;
  font-size: 0.875rem;
  font-weight: 900;
  border-radius: var(--radius-xl);
  color: var(--on-primary);
  background: var(--primary);
  box-shadow: var(--shadow-lg), 0 0 0 0 rgba(116, 50, 224, 0.2);
  transition: background var(--transition), transform var(--transition);
  cursor: pointer;
}

.btn-submit:hover {
  background: var(--primary-dim);
}

.btn-submit:active {
  transform: scale(0.98);
}

.btn-submit-xl {
  width: 100%;
  padding: 1.25rem;
  border: none;
  font-weight: 900;
  font-family: var(--font-headline);
  font-size: 1.25rem;
  border-radius: var(--radius-xl);
  color: var(--on-primary);
  background: var(--primary);
  box-shadow: var(--shadow-xl), 0 0 0 0 rgba(116, 50, 224, 0.2);
  transition: background var(--transition), transform var(--transition);
  cursor: pointer;
}

.btn-submit-xl:hover {
  background: var(--primary-dim);
}

.btn-submit-xl:active {
  transform: scale(0.98);
}

/* Honeypot */
.hp-field {
  position: absolute !important;
  top: -9999px !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* --- Search Page --- */
.search-form-container {
  background: #fff;
  padding: 2rem;
  border-radius: 32px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--surface-container-high);
  margin-bottom: 2rem;
}

.search-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  background: var(--surface-container-low);
  border-radius: var(--radius-full);
  padding: 0.375rem;
  box-shadow: var(--shadow-inner);
  transition: box-shadow var(--transition);
}

.search-bar:focus-within {
  box-shadow: var(--shadow-inner), 0 0 0 2px var(--primary);
}

.search-bar-inner {
  display: flex;
  align-items: center;
  flex: 1;
  padding-left: 1rem;
}

.search-bar-inner .material-symbols-outlined {
  color: var(--on-surface-variant);
  font-size: 1.25rem;
  margin-right: 0.75rem;
}

.search-bar-inner input {
  width: 100%;
  background: transparent;
  border: none;
  padding: 0.75rem 0;
  font-size: 1.125rem;
  outline: none;
}

.search-bar .btn-search {
  background: var(--primary);
  color: var(--on-primary);
  padding: 0.75rem 2.5rem;
  border-radius: var(--radius-full);
  font-weight: 900;
  box-shadow: var(--shadow);
  transition: background var(--transition);
  border: none;
  cursor: pointer;
}

.search-bar .btn-search:hover {
  background: var(--primary-dim);
}

.search-filters {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.filter-group h3 {
  font-size: 0.875rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--on-surface-variant);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.filter-select {
  width: 100%;
  background: var(--surface-container-low);
  border: none;
  border-radius: var(--radius-lg);
  padding: 0.75rem 1rem;
  font-weight: 700;
  outline: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23596063' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.filter-checkbox {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem;
  background: var(--surface-container-low);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: background var(--transition);
}

.filter-checkbox:hover {
  background: var(--surface-container-high);
}

.filter-checkbox span {
  font-weight: 700;
  font-size: 0.875rem;
}

.filter-checkbox input[type="checkbox"] {
  width: 1.25rem;
  height: 1.25rem;
  accent-color: var(--primary);
}

.results-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.results-header h2 {
  font-size: 1.5rem;
  font-weight: 900;
  font-family: var(--font-headline);
}

.results-count {
  background: rgba(116, 50, 224, 0.1);
  color: var(--primary);
  padding: 0.25rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 900;
}

/* --- Voice Detail Page --- */
.voice-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

/* Voice Thumbnail */
.voice-thumbnail {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: var(--radius-3xl);
  background: var(--surface-container-low);
  box-shadow: var(--shadow-2xl);
  margin-bottom: 2rem;
}

.voice-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}

.voice-thumbnail:hover img {
  transform: scale(1.05);
}

.voice-thumbnail .placeholder-gradient {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #6366f1, #a855f7);
}

.voice-thumbnail .thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(45, 51, 55, 0.4), transparent);
}

.voice-thumbnail .thumb-info {
  position: absolute;
  bottom: 0.75rem;
  left: 1rem;
  right: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 10;
  flex-wrap: wrap;
}

.voice-thumbnail .thumb-info-icon {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.voice-thumbnail .thumb-info-icon .material-symbols-outlined {
  color: #fff;
  font-size: 1.5rem;
}

.voice-thumbnail .thumb-info-text h1 {
  color: #fff;
  font-family: var(--font-headline);
  font-size: 1.3rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.25;
}

.voice-thumbnail .thumb-info-text p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.75rem;
  font-weight: 500;
}

.voice-thumbnail .thumb-info-text a {
  color: #fff;
  font-weight: 700;
}

.voice-thumbnail .thumb-info-text a:hover {
  text-decoration: underline;
}

.player-card {
  background: #fff;
  border-radius: var(--radius-3xl);
  padding: 1.25rem;
  box-shadow: var(--shadow-2xl);
  border: 1px solid #f3f4f6;
  position: relative;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

.player-card.has-thumbnail {
  padding-top: 0;
}

.player-card.has-thumbnail .voice-thumbnail {
  margin-bottom: 2rem;
  border-radius: 0;
  box-shadow: none;
  aspect-ratio: 16/9;
}

.player-card-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 16rem;
  height: 16rem;
  background: rgba(116, 50, 224, 0.05);
  border-radius: var(--radius-full);
  filter: blur(48px);
  margin-right: -8rem;
  margin-top: -8rem;
}

.player-card-inner {
  position: relative;
  z-index: 10;
}

.player-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.player-tags .tag {
  padding: 0.375rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.player-tags .tag-primary {
  background: rgba(116, 50, 224, 0.1);
  color: var(--primary);
}

.player-tags .tag-secondary {
  background: rgba(0, 107, 98, 0.1);
  color: var(--secondary);
}

.player-tags .date {
  color: rgba(89, 96, 99, 0.4);
  font-size: 0.875rem;
  margin-left: auto;
}

.player-title {
  font-size: 2.25rem;
  font-weight: 900;
  font-family: var(--font-headline);
  color: var(--on-surface);
  margin-bottom: 3rem;
  line-height: 1.25;
  letter-spacing: -0.025em;
}

/* Waveform */
.waveform {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 8rem;
  gap: 0.15rem;
  margin-bottom: 3rem;
  padding: 0 1rem;
}

.wave-bar {
  flex: 1;
  background: rgba(116, 50, 224, 0.2);
  border-radius: var(--radius-full);
  transition: background var(--transition);
  transform-origin: bottom;
}

.wave-bar.active {
  background: rgba(116, 50, 224, 0.6);
  animation: wave-anim ease-in-out infinite;
  animation-duration: 1s;
}

.wave-bar:nth-child(5n+1).active {
  animation-duration: 0.7s;
  animation-delay: 0.00s;
}

.wave-bar:nth-child(5n+2).active {
  animation-duration: 1.05s;
  animation-delay: 0.12s;
}

.wave-bar:nth-child(5n+3).active {
  animation-duration: 0.85s;
  animation-delay: 0.22s;
}

.wave-bar:nth-child(5n+4).active {
  animation-duration: 1.15s;
  animation-delay: 0.07s;
}

.wave-bar:nth-child(5n+5).active {
  animation-duration: 0.65s;
  animation-delay: 0.18s;
}

.wave-bar:nth-child(3n+1).active {
  animation-duration: 0.95s;
  animation-delay: 0.30s;
}

.wave-bar:nth-child(7n+2).active {
  animation-duration: 0.75s;
  animation-delay: 0.40s;
}

.wave-bar:nth-child(7n+4).active {
  animation-duration: 1.10s;
  animation-delay: 0.05s;
}

.wave-bar:nth-child(11n+3).active {
  animation-duration: 0.80s;
  animation-delay: 0.15s;
}

.wave-bar:nth-child(11n+7).active {
  animation-duration: 1.20s;
  animation-delay: 0.25s;
}

@keyframes wave-anim {
  0% {
    transform: scaleY(0.3);
    opacity: 0.4;
  }

  20% {
    transform: scaleY(1.2);
    opacity: 0.9;
  }

  40% {
    transform: scaleY(0.5);
    opacity: 0.6;
  }

  60% {
    transform: scaleY(1.0);
    opacity: 1.0;
  }

  80% {
    transform: scaleY(0.4);
    opacity: 0.5;
  }

  100% {
    transform: scaleY(0.3);
    opacity: 0.4;
  }
}

/* Main Player Controls */
.player-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  background: var(--surface-container-low);
  padding: 1.5rem 2rem;
  border-radius: var(--radius-4xl);
  border: 1px solid var(--surface-container-high);
}

.play-btn-main {
  width: 5rem;
  height: 5rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--on-primary);
  box-shadow: var(--shadow-xl), 0 0 0 0 rgba(116, 50, 224, 0.3);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.play-btn-main:active {
  transform: scale(0.9);
}

.play-btn-main .material-symbols-outlined {
  font-size: 2.25rem;
}

.seekbar-container {
  flex: 1;
  width: 100%;
  min-width: 0;
}

.seekbar {
  position: relative;
  height: 0.5rem;
  background: #e5e7eb;
  border-radius: var(--radius-full);
  cursor: pointer;
  overflow: hidden;
}

.seekbar-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: var(--primary);
  width: 0;
  transition: width 100ms linear;
}

.seekbar-time {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  font-weight: 700;
  font-family: var(--font-headline);
  color: var(--on-surface-variant);
  margin-top: 0.75rem;
}

.player-side-btns {
  display: flex;
  gap: 1rem;
}

.action-btn {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  box-shadow: var(--shadow-sm);
}

.action-btn.default {
  background: #fff;
  color: var(--on-surface-variant);
}

.action-btn.default:hover {
  background: #f9fafb;
}

.action-btn.liked {
  background: var(--primary);
  color: var(--on-primary);
}

.action-btn.saved {
  background: var(--secondary);
  color: var(--on-secondary);
}

/* Content cards */
.content-card {
  background: #fff;
  padding: 2.5rem;
  border-radius: var(--radius-3xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid #f3f4f6;
}

.content-card h2 {
  font-size: 1.25rem;
  font-weight: 900;
  font-family: var(--font-headline);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.content-card h2 .material-symbols-outlined {
  color: var(--primary);
}

.content-card p {
  line-height: 1.625;
  white-space: pre-wrap;
}

.content-card .script-text {
  font-size: 1.125rem;
  color: var(--on-surface);
  font-style: italic;
  opacity: 0.8;
}

.content-card .desc-text {
  color: var(--on-surface-variant);
}

/* Artist Sidebar */
.artist-card {
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius-3xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid #f3f4f6;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.artist-card>a {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.artist-card-avatar {
  width: 8rem;
  height: 8rem;
  border-radius: var(--radius-4xl);
  overflow: hidden;
  margin: 0 auto 1.5rem;
  border: 4px solid #fff;
  box-shadow: var(--shadow-xl);
  transition: transform var(--transition-long);
  flex-shrink: 0;
}

.artist-card-avatar:hover {
  transform: scale(1.05);
}

.artist-card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.artist-card-name {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.artist-card-name h3 {
  font-size: 1.5rem;
  font-weight: 900;
  font-family: var(--font-headline);
}

.artist-card-name .verified {
  color: #3b82f6;
}

.artist-card .username {
  color: var(--on-surface-variant);
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

.artist-card-meta {
  width: 100%;
  border-top: 1px solid #f3f4f6;
  padding-top: 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.role-tier-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.role-badge,
.tier-badge {
  display: inline-block;
  padding: 0.375rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 800;
  white-space: nowrap;
}

.role-badge {
  background: rgba(116, 50, 224, 0.1);
  color: var(--primary);
}

.tier-badge {
  background: var(--surface-container-high);
  color: var(--on-surface-variant);
}

.artist-tags-mini {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}

a.tag-mini {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--on-surface-variant);
  background: #f3f4f6;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  transition: all var(--transition);
  text-decoration: none;
}

a.tag-mini:hover {
  background: var(--primary);
  color: #fff;
}

.artist-card .btn-profile {
  width: 100%;
  padding: 1rem;
  background: var(--surface-container-low);
  color: var(--on-surface);
  border-radius: var(--radius-xl);
  font-weight: 900;
  transition: background var(--transition);
  display: block;
  text-align: center;
}

.artist-card .btn-profile:hover {
  background: var(--surface-container-high);
}

/* License Card */
.license-card {
  background: rgba(116, 50, 224, 0.05);
  padding: 2rem;
  border-radius: var(--radius-3xl);
  border: 1px solid rgba(116, 50, 224, 0.1);
}

.license-card h3 {
  font-size: 0.875rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.license-card-body {
  background: #fff;
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(116, 50, 224, 0.05);
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.license-icon span.material-symbols-outlined {
  font-size: 2rem;
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24;
}

.license-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.license-card-body .name {
  font-weight: 900;
  color: var(--on-surface);
  font-size: 0.875rem;
}

.license-card-body .info {
  font-size: 0.75rem;
  color: var(--on-surface-variant);
  line-height: 1.625;
}

/* --- Profile Page --- */
.profile-hero {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: flex-end;
  margin-bottom: 5rem;
}

.profile-image-col {
  position: relative;
}

.profile-image-container {
  aspect-ratio: 4/5;
  border-radius: var(--radius-3xl);
  overflow: hidden;
  background: var(--surface-container-low);
  box-shadow: var(--shadow-2xl);
}

.profile-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-tier-badge {
  position: absolute;
  top: -0.75rem;
  right: 0.5rem;
  background: var(--primary);
  color: var(--on-primary);
  padding: 0.4rem 1.25rem;
  border-radius: var(--radius-full);
  font-family: var(--font-headline);
  font-weight: 700;
  letter-spacing: -0.025em;
  box-shadow: var(--shadow-xl);
  font-size: 0.75rem;
  z-index: 10;
}

.profile-info {
  flex: 1;
  min-width: 0;
  width: 100%;
}

.profile-info h1 {
  font-size: 2.25rem;
  font-weight: 900;
  font-family: var(--font-headline);
  color: var(--on-surface);
  letter-spacing: -0.025em;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  word-break: break-all;
  min-width: 0;
}

.profile-info h1 .verified {
  color: #3b82f6;
  font-size: 1.75rem;
}

.profile-info .subtitle {
  color: var(--on-surface-variant);
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.profile-actions {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.btn-secondary {
  background: var(--surface-container-highest);
  color: var(--on-surface);
  padding: 1rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  transition: background var(--transition);
}

.btn-secondary:hover {
  background: var(--surface-container-high);
}

.btn-follow {
  padding: 1rem 2rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  transition: all var(--transition);
}

.btn-follow:active {
  transform: scale(0.95);
}

.btn-follow.following {
  background: var(--surface-container-highest);
  color: var(--on-surface);
}

.btn-follow.not-following {
  background: linear-gradient(to bottom right, var(--primary), var(--primary-dim));
  color: var(--on-primary);
}

.profile-stats {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(172, 179, 183, 0.15);
  border-bottom: 1px solid rgba(172, 179, 183, 0.15);
  margin-bottom: 1.5rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.stat-item .label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--on-surface-variant);
  margin-bottom: 0.25rem;
}

.stat-item .value {
  font-size: 1.875rem;
  font-weight: 900;
  font-family: var(--font-headline);
}

.stat-item .value.primary {
  color: var(--primary);
}

.profile-bio {
  font-size: 1.125rem;
  color: var(--on-surface);
  line-height: 1.625;
  max-width: 42rem;
  white-space: pre-wrap;
  margin-bottom: 1rem;
}

.profile-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.profile-tag {
  background: var(--primary-container);
  color: var(--on-primary-container);
  padding: 0.375rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 700;
}

.profile-social {
  display: flex;
  gap: 0.75rem;
  margin-left: auto;
}

.social-link {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-full);
  background: #fff;
  border: 1px solid #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: background var(--transition);
}

.social-link:hover {
  background: #f9fafb;
}

.social-link img {
  width: 1.5rem;
  height: 1.5rem;
  object-fit: contain;
}

/* Voice Grid Controls */
.voice-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.voice-section-header h2 {
  font-size: 1.875rem;
  font-weight: 900;
  font-family: var(--font-headline);
  color: var(--on-surface);
  letter-spacing: -0.025em;
}

.view-toggle {
  display: flex;
  gap: 0.5rem;
}

.view-toggle button {
  padding: 0.5rem;
  border-radius: var(--radius);
  transition: all var(--transition);
  color: var(--on-surface-variant);
}

.view-toggle button.active {
  background: var(--surface-container-low);
  color: var(--on-surface);
}

.view-toggle button:hover {
  background: var(--surface-container-low);
}

/* Profile voice card */
.profile-voice-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-2xl);
  padding: 1rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid #f3f4f6;
  transition: box-shadow var(--transition-long);
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.profile-voice-card:hover {
  box-shadow: var(--shadow-xl);
}

.profile-voice-top {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1rem;
  min-width: 0;
  width: 100%;
}

.profile-voice-icon {
  width: 4rem;
  height: 4rem;
  border-radius: var(--radius-xl);
  background: rgba(116, 50, 224, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform var(--transition);
  overflow: hidden;
}

.profile-voice-card:hover .profile-voice-icon {
  transform: scale(1.1);
}

.profile-voice-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-voice-icon .material-symbols-outlined {
  font-size: 2.25rem;
}

.profile-voice-meta {
  flex: 1;
  overflow: hidden;
}

.profile-voice-meta h3 {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--on-surface);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color var(--transition);
}

.profile-voice-meta h3:hover {
  color: var(--primary);
}

.profile-voice-meta .sub {
  font-size: 0.875rem;
  color: var(--on-surface-variant);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.player-lite {
  background: rgba(249, 250, 251, 0.5);
  backdrop-filter: blur(4px);
  border-radius: var(--radius-xl);
  padding: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid #f3f4f6;
}

.play-btn-mini {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  background: var(--primary);
  color: var(--on-primary);
  flex-shrink: 0;
}

.progress-track-wide {
  flex: 1;
  height: 0.375rem;
  background: #e5e7eb;
  border-radius: var(--radius-full);
  overflow: hidden;
}

.duration-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--on-surface-variant);
  width: 2rem;
  text-align: right;
}

.profile-voice-footer {
  margin-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--on-surface-variant);
  min-width: 0;
}

.tier-tag {
  background: var(--surface-container);
  font-size: 10px;
  padding: 0.125rem 0.5rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.profile-voice-stats {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.profile-voice-stats span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.profile-voice-stats .material-symbols-outlined {
  font-size: 0.875rem;
}

.empty-state {
  padding: 5rem 0;
  text-align: center;
  color: var(--on-surface-variant);
  background: #fff;
  border-radius: var(--radius-3xl);
  border: 2px dashed #e5e7eb;
}

.empty-state .material-symbols-outlined {
  font-size: 3.75rem;
  margin-bottom: 1rem;
  display: block;
  opacity: 0.2;
}

/* --- Profile Edit --- */
.profile-img-upload {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.profile-img-wrapper {
  position: relative;
}

.profile-img-preview {
  width: 8rem;
  height: 8rem;
  border-radius: var(--radius-3xl);
  overflow: hidden;
  background: #f3f4f6;
  border: 4px solid #fff;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.profile-img-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  opacity: 0;
  transition: opacity var(--transition);
  cursor: pointer;
  border-radius: var(--radius-3xl);
}

.profile-img-wrapper:hover .profile-img-overlay {
  opacity: 1;
}

.sns-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--surface-container-low);
  border-radius: var(--radius-xl);
  padding: 0.5rem 1.5rem;
}

.sns-row .icon {
  width: 2rem;
  display: flex;
  justify-content: center;
  flex-shrink: 0;
}

.sns-row .icon img {
  width: 1.5rem;
  height: 1.5rem;
  object-fit: contain;
}

.sns-row input {
  flex-grow: 1;
  background: transparent;
  border: none;
  padding: 0.75rem 0;
  outline: none;
  font-weight: 700;
  font-size: 0.875rem;
}

/* --- Upload Page --- */
.upload-form {
  background: #fff;
  padding: var(--sp-6);
  border-radius: var(--radius-4xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid #f3f4f6;
  width: 100%;
  overflow: hidden;
}

.upload-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.file-drop {
  position: relative;
  border: 2px dashed #e5e7eb;
  border-radius: var(--radius-2xl);
  padding: 2rem;
  text-align: center;
  transition: border-color var(--transition);
  cursor: pointer;
}

.file-drop:hover {
  border-color: var(--primary);
}

.file-drop input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.file-drop .material-symbols-outlined {
  font-size: 2.25rem;
  color: #d1d5db;
  margin-bottom: 0.5rem;
  transition: color var(--transition);
}

.file-drop:hover .material-symbols-outlined {
  color: var(--primary);
}

.file-drop p {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--on-surface-variant);
  word-break: break-all;
}

.form-section-divider {
  padding-top: 1rem;
  border-top: 1px solid #f3f4f6;
}

.price-wrapper {
  position: relative;
}

.price-wrapper .unit {
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-weight: 700;
  color: var(--on-surface-variant);
}

/* --- Admin Pages --- */
.admin-stats {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.stat-card {
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius-4xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--surface-container-high);
}

.stat-card .label {
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--on-surface-variant);
  margin-bottom: 1rem;
  display: block;
}

.stat-card .number {
  font-size: 3rem;
  font-weight: 900;
  font-family: var(--font-headline);
  line-height: 1;
}

.stat-card .number.primary {
  color: var(--primary);
}

.stat-card .number.secondary {
  color: var(--secondary);
}

.stat-card .number.error {
  color: var(--error);
}

.stat-card .suffix {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--on-surface-variant);
  margin-left: 0.5rem;
}

.admin-activity {
  background: var(--surface-container-low);
  padding: 2rem;
  border-radius: var(--radius-3xl);
  margin-bottom: 3rem;
}

.admin-activity h2 {
  font-size: 1.25rem;
  font-weight: 900;
  font-family: var(--font-headline);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.admin-activity h2 .material-symbols-outlined {
  color: var(--primary);
}

.activity-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.activity-card {
  background: rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(4px);
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.activity-card .label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--on-surface-variant);
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.activity-card .number {
  font-size: 1.5rem;
  font-weight: 900;
}

.activity-card .number.primary {
  color: var(--primary);
}

.activity-card .number.secondary {
  color: var(--secondary);
}

.activity-card .number.error {
  color: var(--error);
}

.admin-menu {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
}

.admin-menu-card {
  background: #fff;
  padding: 2.5rem;
  border-radius: var(--radius-3xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid #f3f4f6;
  transition: transform var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.admin-menu-card:hover {
  transform: translateY(-0.5rem);
}

.admin-menu-icon {
  width: 5rem;
  height: 5rem;
  border-radius: var(--radius-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  transition: transform var(--transition);
}

.admin-menu-card:hover .admin-menu-icon {
  transform: scale(1.1);
}

.admin-menu-icon .material-symbols-outlined {
  font-size: 2.25rem;
}

.admin-menu-icon.blue {
  background: #eff6ff;
  color: #3b82f6;
}

.admin-menu-icon.orange {
  background: #fff7ed;
  color: #f97316;
}

.admin-menu-icon.green {
  background: #f0fdf4;
  color: #22c55e;
}

.admin-menu-icon.purple {
  background: #faf5ff;
  color: #a855f7;
}

.admin-menu-card h3 {
  font-size: 1.5rem;
  font-weight: 900;
  font-family: var(--font-headline);
  margin-bottom: 1rem;
  color: var(--on-surface);
}

.admin-menu-card p {
  color: var(--on-surface-variant);
  font-weight: 500;
}

/* Admin Table */
.admin-breadcrumb {
  display: flex;
  gap: 0.5rem;
  color: var(--on-surface-variant);
  font-size: 0.75rem;
  margin-bottom: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.admin-breadcrumb a {
  transition: color var(--transition);
}

.admin-breadcrumb a:hover {
  color: var(--primary);
}

.admin-breadcrumb .current {
  color: var(--on-surface);
}

.admin-search-bar {
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius-4xl);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--surface-container-high);
  margin-bottom: 2rem;
}

.admin-search-bar form {
  position: relative;
  max-width: 28rem;
}

.admin-search-bar .material-symbols-outlined {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--on-surface-variant);
}

.admin-search-bar input {
  width: 100%;
  background: var(--surface-container-low);
  border: none;
  border-radius: var(--radius-xl);
  padding: 0.75rem 1rem 0.75rem 3rem;
  font-size: 0.875rem;
  font-weight: 700;
  outline: none;
}

.admin-search-bar input:focus {
  box-shadow: 0 0 0 2px var(--primary);
}

.admin-table-container {
  background: #fff;
  border-radius: var(--radius-3xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid #f3f4f6;
  overflow: hidden;
}

.admin-table-scroll {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  text-align: left;
  border-collapse: collapse;
}

.admin-table thead tr {
  background: var(--surface-container-low);
  color: var(--on-surface-variant);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  border-bottom: 1px solid var(--surface-container-high);
}

.admin-table thead th {
  padding: 1.5rem 2rem;
}

.admin-table tbody {}

.admin-table tbody tr {
  border-bottom: 1px solid #f9fafb;
  transition: background var(--transition);
}

.admin-table tbody tr:hover {
  background: rgba(249, 250, 251, 0.5);
}

.admin-table tbody tr.hidden-row {
  background: rgba(254, 242, 242, 0.3);
}

.admin-table tbody tr.suspended {
  opacity: 0.5;
  filter: grayscale(1);
}

.admin-table tbody td {
  padding: 1.5rem 1.5rem;
}

.admin-table tbody td:first-child {
  padding-left: 2rem;
}

.admin-table tbody td:last-child {
  padding-right: 2rem;
}

.admin-table .cell-title {
  font-weight: 900;
  font-size: 1.125rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-table .cell-id {
  font-size: 10px;
  color: var(--on-surface-variant);
  font-weight: 700;
}

.admin-table .cell-name {
  font-weight: 700;
  font-size: 0.875rem;
}

.admin-table .cell-sub {
  font-size: 0.75rem;
  color: var(--on-surface-variant);
}

.status-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.status-badge.active {
  background: #dcfce7;
  color: #16a34a;
}

.status-badge.hidden {
  background: #ef4444;
  color: #fff;
}

.status-badge.private {
  background: #f3f4f6;
  color: #6b7280;
}

.status-badge.suspended {
  background: #fee2e2;
  color: #dc2626;
}

.table-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}

.table-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}

.table-btn.view {
  background: var(--surface-container-low);
  color: var(--on-surface);
}

.table-btn.view:hover {
  background: var(--primary);
  color: #fff;
}

.table-btn.edit {
  background: var(--surface-container-low);
  color: var(--on-surface);
}

.table-btn.edit:hover {
  background: var(--primary);
  color: #fff;
}

.table-btn.delete {
  background: #fef2f2;
  color: #ef4444;
}

.table-btn.delete:hover {
  background: #ef4444;
  color: #fff;
}

.verified-icon {
  color: #3b82f6;
}

.verified-icon.inactive {
  color: #e5e7eb;
}

/* Admin Slides */
.slide-card {
  background: #fff;
  border-radius: var(--radius-3xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 1px solid #f3f4f6;
  display: flex;
  flex-direction: column;
}

.slide-card-image {
  height: 12rem;
  overflow: hidden;
  position: relative;
}

.slide-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-card-actions {
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: flex;
  gap: 0.5rem;
}

.slide-action-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-full);
  backdrop-filter: blur(4px);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  border: none;
  cursor: pointer;
}

.slide-action-btn.toggle {
  background: rgba(255, 255, 255, 0.9);
  color: var(--on-surface);
}

.slide-action-btn.toggle:hover {
  background: #fff;
}

.slide-action-btn.remove {
  background: rgba(239, 68, 68, 0.9);
  color: #fff;
}

.slide-action-btn.remove:hover {
  background: #ef4444;
}

.slide-card-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.slide-card-body h3 {
  font-weight: 900;
  font-size: 1.25rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.slide-card-body .subtitle {
  font-size: 0.875rem;
  color: var(--on-surface-variant);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.slide-card-footer {
  padding-top: 1rem;
  border-top: 1px solid #f9fafb;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.slide-order {
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--on-surface-variant);
}

.add-slide-card {
  background: var(--surface-container-low);
  border: 4px dashed var(--surface-container-high);
  border-radius: var(--radius-3xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem;
  text-align: center;
  cursor: pointer;
  transition: background var(--transition);
}

.add-slide-card:hover {
  background: var(--surface-container-high);
}

.add-slide-card .material-symbols-outlined {
  font-size: 3rem;
  color: rgba(89, 96, 99, 0.3);
  margin-bottom: 1rem;
  transition: transform var(--transition);
}

.add-slide-card:hover .material-symbols-outlined {
  transform: scale(1.1);
}

.add-slide-card p {
  font-weight: 900;
  color: var(--on-surface-variant);
}

/* --- Legal Pages (Terms, Privacy, Guidelines) --- */
.legal-page h1 {
  font-size: 1.875rem;
  font-family: var(--font-headline);
  font-weight: 800;
  color: var(--primary);
  border-bottom: 4px solid var(--primary);
  padding-bottom: 1rem;
  display: inline-block;
  margin-bottom: 2rem;
}

.legal-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  color: var(--on-surface-variant);
  line-height: 2;
}

.legal-content h2 {
  font-size: 1.25rem;
  font-family: var(--font-headline);
  font-weight: 700;
  color: var(--on-surface);
  border-left: 4px solid var(--primary);
  padding-left: 1rem;
  margin-bottom: 1rem;
}

.legal-content ol {
  list-style: decimal;
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.legal-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.legal-content section {
  margin-bottom: 0;
}

.legal-content .date-info {
  text-align: right;
  font-size: 0.875rem;
  margin-top: 3rem;
}

/* Guidelines special */
.guideline-section {
  background: var(--surface-container-low);
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  border: 1px solid var(--surface-container-high);
}

.guideline-section h2 {
  font-size: 1.5rem;
  font-family: var(--font-headline);
  font-weight: 700;
  color: var(--on-surface);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-left: none;
  padding-left: 0;
}

.guideline-section h3 {
  font-weight: 700;
  color: var(--on-surface);
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 0.5rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.license-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 0.5rem;
}

.license-option {
  padding: 0.75rem;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px solid #f3f4f6;
  font-size: 0.875rem;
}

.license-option .name {
  font-weight: 700;
}

.license-option .name.primary {
  color: var(--primary);
}

.license-option .name.secondary {
  color: var(--secondary);
}

.license-option .name.error {
  color: var(--error);
}

.license-option .name.muted {
  color: var(--on-surface-variant);
}

.license-option .desc {
  font-size: 0.75rem;
}

/* --- Share Modal --- */
.share-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.share-modal-overlay.show {
  opacity: 1;
  pointer-events: auto;
}

.share-modal {
  background: var(--surface);
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 400px;
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: transform 0.2s ease;
}

.share-modal-overlay.show .share-modal {
  transform: translateY(0);
}

.share-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.share-modal-header h3 {
  margin: 0;
  font-size: 1.25rem;
}

.share-modal-header .close-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--on-surface-variant);
  padding: 0.25rem;
}

.share-modal-body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.share-option-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem;
  background: var(--surface-container);
  border: 1px solid var(--surface-container-highest);
  border-radius: var(--radius-md);
  cursor: pointer;
  font-weight: bold;
  color: var(--on-surface);
  transition: background 0.2s;
  width: 100%;
}

.share-option-btn:hover {
  background: var(--surface-container-high);
}

/* --- Footer --- */
.site-footer {
  background: var(--surface-container-low);
  padding: 3rem 0;
  border-top: 1px solid var(--surface-container-highest);
  margin-top: auto;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.footer-brand img {
  height: 2rem;
  width: auto;
  object-fit: contain;
}

.footer-brand p {
  font-size: 0.875rem;
  color: var(--on-surface-variant);
  font-weight: 500;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--on-surface-variant);
}

.footer-links a {
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
}

/* --- Guide Page --- */
.text-primary {
  color: var(--primary);
}

.guide-badge {
  display: inline-block;
  background: rgba(116, 50, 224, 0.1);
  color: var(--primary);
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 900;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
}

.guide-hero-title {
  font-size: 2.25rem;
  font-weight: 900;
  font-family: var(--font-headline);
  letter-spacing: -0.025em;
  margin-bottom: 2rem;
  line-height: 1.25;
}

.guide-hero-desc {
  font-size: 1.125rem;
  color: var(--on-surface-variant);
  font-weight: 500;
  max-width: 48rem;
  margin: 0 auto;
  line-height: 1.625;
}

.guide-features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 8rem;
}

.guide-feature-card {
  background: #fff;
  padding: 2.5rem;
  border-radius: var(--radius-3xl);
  box-shadow: var(--shadow-xl);
  border: 1px solid #f3f4f6;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform var(--transition);
}

.guide-feature-card:hover {
  transform: translateY(-0.5rem);
}

.guide-feature-icon {
  width: 5rem;
  height: 5rem;
  border-radius: var(--radius-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  transition: transform var(--transition);
}

.guide-feature-card:hover .guide-feature-icon {
  transform: scale(1.1);
}

.guide-feature-icon .material-symbols-outlined {
  font-size: 2.5rem;
}

.guide-feature-icon.orange {
  background: #fff7ed;
  color: #f97316;
}

.guide-feature-icon.blue {
  background: #eff6ff;
  color: #3b82f6;
}

.guide-feature-icon.green {
  background: #f0fdf4;
  color: #22c55e;
}

.guide-feature-card h3 {
  font-size: 1.25rem;
  font-weight: 900;
  font-family: var(--font-headline);
  margin-bottom: 1rem;
}

.guide-feature-card p {
  font-size: 0.875rem;
  color: var(--on-surface-variant);
  line-height: 1.625;
}

.guide-license-section {
  margin-bottom: 8rem;
  background: #fff;
  border-radius: var(--radius-3xl);
  padding: 2rem;
  box-shadow: var(--shadow-2xl);
  border: 1px solid #f3f4f6;
}

.guide-license-inner {
  max-width: 48rem;
  margin: 0 auto;
}

.guide-section-title {
  font-size: 1.875rem;
  font-weight: 900;
  font-family: var(--font-headline);
  margin-bottom: 2rem;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.guide-section-title .material-symbols-outlined {
  font-size: 2.5rem;
}

.guide-license-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.guide-license-item {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--surface);
  border-radius: var(--radius-2xl);
  border: 1px solid #f9fafb;
}

.guide-license-item .material-symbols-outlined {
  font-size: 1.875rem;
  flex-shrink: 0;
}

.guide-license-item h4 {
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 0.25rem;
}

.guide-license-item p {
  font-size: 0.875rem;
  color: var(--on-surface-variant);
}

.guide-info-box {
  margin-top: 3rem;
  padding: 1.5rem;
  background: rgba(116, 50, 224, 0.05);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(116, 50, 224, 0.1);
}

.guide-info-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.guide-info-title .material-symbols-outlined {
  font-size: 1.125rem;
}

.guide-info-text {
  font-size: 0.75rem;
  color: var(--on-surface-variant);
  margin-top: 0.5rem;
  line-height: 1.625;
}

.guide-section-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.guide-section-header h2 {
  font-size: 1.875rem;
  font-weight: 900;
  font-family: var(--font-headline);
  letter-spacing: -0.025em;
  flex-shrink: 0;
}

.guide-section-line {
  flex: 1;
  height: 1px;
  background: var(--surface-container-high);
}

.guide-steps {
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

.guide-step {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
}

.guide-step-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.guide-step-number {
  width: 3rem;
  height: 3rem;
  background: var(--primary);
  color: #fff;
  border-radius: var(--radius-xl);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.25rem;
  box-shadow: var(--shadow-lg), 0 0 20px rgba(116, 50, 224, 0.3);
}

.guide-step-content h3 {
  font-size: 1.5rem;
  font-weight: 900;
  font-family: var(--font-headline);
}

.guide-step-content p {
  color: var(--on-surface-variant);
  line-height: 1.625;
}

.guide-step-visual {
  flex: 1;
  width: 100%;
}

.guide-step-placeholder {
  aspect-ratio: 16/9;
  background: var(--surface-container-low);
  border-radius: var(--radius-3xl);
  border: 2px solid #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
}

.guide-step-placeholder .material-symbols-outlined {
  font-size: 4rem;
  color: var(--surface-dim);
}

.guide-creator-section {
  background: rgba(116, 50, 224, 0.05);
  border-radius: var(--radius-3xl);
  padding: 2rem;
  border: 1px solid rgba(116, 50, 224, 0.1);
}

.guide-creator-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

.guide-creator-step {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.guide-creator-step h4 {
  font-size: 1.25rem;
  font-weight: 900;
  font-family: var(--font-headline);
}

.guide-creator-step p {
  font-size: 0.875rem;
  color: var(--on-surface-variant);
  line-height: 1.625;
}

.guide-cta-btn {
  display: inline-block;
  background: var(--primary);
  color: var(--on-primary);
  padding: 1.25rem 3rem;
  border-radius: var(--radius-full);
  font-weight: 900;
  font-size: 1.25rem;
  box-shadow: var(--shadow-xl), 0 0 30px rgba(116, 50, 224, 0.3);
  transition: background var(--transition), transform var(--transition);
}

.guide-cta-btn:hover {
  background: var(--primary-dim);
  transform: scale(1.05);
}

.guide-cta-btn:active {
  transform: scale(0.95);
}

.guide-faq-list {
  max-width: 40rem;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: left;
}

.guide-faq-item {
  background: #fff;
  padding: 1.5rem;
  border-radius: var(--radius-xl);
  border: 1px solid #f3f4f6;
  box-shadow: var(--shadow-sm);
}

.guide-faq-q {
  font-weight: 700;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
}

.guide-faq-a {
  font-size: 0.875rem;
  color: var(--on-surface-variant);
}

/* Guide responsive */
@media (min-width: 768px) {
  .guide-hero-title {
    font-size: 3.75rem;
  }

  .guide-features-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .guide-license-section {
    padding: 4rem;
  }

  .guide-step {
    flex-direction: row;
  }

  .guide-step.reverse {
    flex-direction: row-reverse;
  }

  .guide-creator-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .guide-creator-section {
    padding: 4rem;
  }

  .guide-section-header h2 {
    font-size: 2.25rem;
  }
}

/* Follow Toggle Switch */
.follow-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  background: var(--surface-container-low);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-xl);
  color: var(--on-surface-variant);
  font-weight: 700;
  font-size: 0.875rem;
  transition: all var(--transition);
  border: 1px solid transparent;
  gap: 1rem;
  margin-top: 0.5rem;
}

.follow-toggle-btn span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.follow-toggle-btn:hover {
  background: var(--surface-container);
}

.follow-toggle-btn.active {
  background: rgba(116, 50, 224, 0.05);
  color: var(--primary);
  border-color: rgba(116, 50, 224, 0.1);
}

.toggle-track {
  position: relative;
  width: 2.25rem;
  height: 1.25rem;
  background: var(--surface-container-highest);
  border-radius: 9999px;
  transition: background var(--transition);
}

.toggle-track.on {
  background: var(--primary);
}

.toggle-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 1rem;
  height: 1rem;
  background: #fff;
  border-radius: 50%;
  transition: transform var(--transition);
  box-shadow: var(--shadow-sm);
}

.toggle-track.on .toggle-thumb {
  transform: translateX(1rem);
}

/* --- Utility Classes --- */
.text-left {
  text-align: left;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.mt-8 {
  margin-top: 2rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mb-12 {
  margin-bottom: 3rem;
}

.space-y-4>*+* {
  margin-top: 1rem;
}

.space-y-6>*+* {
  margin-top: 1.5rem;
}

.space-y-8>*+* {
  margin-top: 2rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

.flex-row-gap {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.flex-col-gap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.grid-2-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.cell-flex {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cell-flex-col {
  display: flex;
  flex-direction: column;
}

.cell-tags {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.cell-text-left {
  text-align: left;
}

.cell-text-center {
  text-align: center;
}

.cell-text-right {
  text-align: right;
}

.thumb-sm {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  flex-shrink: 0;
  background: #f3f4f6;
}

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

.thumb-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d1d5db;
}

/* Custom scrollbar */
.custom-scrollbar::-webkit-scrollbar {
  width: 4px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: var(--surface-container-high);
  border-radius: 9999px;
}

/* --- Responsive Design --- */

/* sm (640px+) */
@media (min-width: 640px) {
  .profile-dropdown {
    display: block;
  }

  .nav-inner {
    padding: 0.5rem 1.5rem;
  }
}

/* md (768px+) */
@media (min-width: 768px) {
  .nav-inner {
    padding: 0.875rem 3rem;
  }

  .nav-logo img {
    height: 4rem;
  }

  .nav-search {
    display: block;
  }

  .nav-actions {
    gap: 1rem;
  }

  .btn-login {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }

  .btn-primary {
    padding: 0.75rem 2rem;
    font-size: 0.875rem;
  }

  .index-container {
    padding: 6rem 2rem 5rem;
  }

  .hero-slider {
    min-height: 550px;
  }

  .slide-content {
    padding: 0 5rem;
    align-items: flex-start;
  }

  .slide-title {
    font-size: 3rem;
  }

  .glass-hero {
    align-items: flex-start;
  }

  .glass-row .material-symbols-outlined {
    font-size: 1.25rem;
    margin-top: 0.375rem;
  }

  .glass-row p {
    font-size: 1.5rem;
  }

  .slide-actions {
    flex-direction: row;
    align-items: flex-start;
    width: auto;
  }

  .slide-actions a {
    width: auto;
    max-width: none;
  }

  .section-heading-lg {
    font-size: 2.25rem;
  }

  .page-content {
    padding-left: 3rem;
    padding-right: 3rem;
  }

  .grid-voices-rich {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-voices {
    grid-template-columns: repeat(2, 1fr);
  }

  .search-filters {
    grid-template-columns: repeat(2, 1fr);
  }

  .upload-form {
    padding: var(--sp-10);
  }

  .upload-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .grid-2-cols {
    grid-template-columns: repeat(2, 1fr);
  }

  .license-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .voice-detail-grid {}

  .player-card {
    padding: 2rem;
  }

  .voice-thumbnail .thumb-info {
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    gap: 1.5rem;
    flex-wrap: nowrap;
  }

  .player-controls {
    flex-direction: row;
    padding: 2rem;
  }

  .player-title {
    font-size: 3rem;
  }

  .player-lite {
    padding: 1rem;
    gap: 1rem;
  }

  .profile-info h1 {
    font-size: 3.75rem;
  }

  .profile-info h1 .verified {
    font-size: 3rem;
  }

  .profile-stats {
    gap: 3rem;
  }

  .profile-voice-card {
    padding: 1.5rem;
  }

  .profile-voice-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .admin-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .activity-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .admin-menu {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    padding: 0 2rem;
  }

  .footer-brand {
    align-items: flex-start;
  }

  .legal-page h1 {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .nav-search {
    display: block;
    max-width: 20rem;
    margin: 0 0 0 3rem;
  }

  .search-filters {
    grid-template-columns: repeat(3, 1fr);
  }

  .voice-detail-grid {
    grid-template-columns: 8fr 4fr;
  }

  .profile-hero {
    grid-template-columns: 4fr 8fr;
  }

  .profile-voice-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-voices {
    grid-template-columns: repeat(3, 1fr);
  }

  .admin-menu {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* xl (1280px+) */
@media (min-width: 1280px) {
  .nav-links {
    display: flex;
  }

  .hamburger-btn {
    display: none;
  }

  .grid-voices-rich {
    grid-template-columns: repeat(3, 1fr);
  }

  .grid-voices {
    grid-template-columns: repeat(4, 1fr);
  }

  .admin-stats {
    grid-template-columns: repeat(4, 1fr);
  }

  .profile-voice-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile-only helpers */
@media (max-width: 639px) {
  .hide-mobile {
    display: none;
  }
}