:root {
  --profile-bg: #A08068;
  --profile-accent: #101808;
  --profile-bg-rgb: 160, 128, 104;
  --text-color: #101808;
  --text-subtle: rgba(16, 24, 8, 0.72);
  --glass-card-bg: rgba(0, 0, 0, 0.08);
  --glass-card-hover: rgba(0, 0, 0, 0.13);
  --input-bg: rgba(0, 0, 0, 0.1);
  --subscribe-btn-bg: #141b10;
  --subscribe-btn-fg: #ffffff;
  --outer-page-bg: #554438;
  --font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro", "SF Pro Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-text: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
}

a, img, button, div, span, p, h1, h2, h3, input {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -o-user-drag: none;
  user-drag: none;
}

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

img {
  user-select: none;
  -webkit-user-select: none;
}

body {
  font-family: var(--font-family);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11", "kern";
  font-variant-numeric: proportional-nums;
  font-optical-sizing: auto;
  font-kerning: normal;
  background-color: var(--outer-page-bg, #1c1917);
  color: var(--text-color, #101808);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  transition: background-color 0.3s ease;
}

.app-root {
  width: 100%;
  display: flex;
  justify-content: center;
}

/* Page Layout & Card Container */
.profile-page-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 75px 16px;
  min-height: 100vh;
  box-sizing: border-box;
  background-color: var(--outer-page-bg, #1c1917);
  transition: background-color 0.3s ease;
}

.profile-card-container {
  width: 100%;
  max-width: 600px;
  background-color: var(--profile-bg, #A08068);
  color: var(--text-color, #101808);
  border-radius: 25px;
  overflow: hidden;
  box-shadow: var(--card-shadow, 0 20px 45px -10px rgba(0, 0, 0, 0.12), 0 10px 20px -5px rgba(0, 0, 0, 0.06), 0 0 1px rgba(0, 0, 0, 0.15));
  border: var(--card-border, 1px solid rgba(0, 0, 0, 0.08));
  position: relative;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

@media (max-width: 600px) {
  .profile-page-wrapper {
    padding: 0;
    background-color: var(--profile-bg, #A08068);
  }
  .profile-card-container {
    border-radius: 0;
    border: none;
    box-shadow: none;
    min-height: 100vh;
  }
}

/* Floating Hero Top Bar */
.hero-top-bar {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 10;
}

.top-bar-btn {
  background: var(--top-btn-bg, rgba(255, 255, 255, 0.85));
  border: var(--top-btn-border, 1px solid rgba(0, 0, 0, 0.08));
  color: var(--top-btn-color, #101808) !important;
  box-shadow: var(--top-btn-shadow, 0 4px 14px rgba(0, 0, 0, 0.15));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  box-sizing: border-box;
  padding: 0;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.top-bar-btn:hover {
  transform: scale(1.08);
  background: var(--top-btn-hover-bg, #ffffff);
}

.top-bar-btn:active {
  transform: scale(0.92);
}

.logo-btn {
  text-decoration: none;
}

.whodat-logo-mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  font-size: 8px;
  font-weight: 800;
  line-height: 0.96;
  color: var(--top-btn-color, #101808);
  letter-spacing: 0.2px;
  user-select: none;
  pointer-events: none;
  text-align: center;
}

.whodat-logo-mark span {
  display: block;
}

.top-bar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.action-icon-btn {
  color: var(--top-btn-color, #101808) !important;
}

.action-icon {
  width: 19px;
  height: 19px;
  display: block;
  stroke: var(--top-btn-color, #101808);
  color: var(--top-btn-color, #101808);
}

/* Hero Portrait Image & Gradient Mask */
.hero-portrait-container {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 4.8;
  overflow: hidden;
  background-color: var(--profile-bg, #A08068);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.hero-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
  transform-origin: center 25%;
  animation: portraitBreathe 10s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes portraitBreathe {
  0% {
    transform: scale(1.0);
  }
  100% {
    transform: scale(1.1);
  }
}

.hero-bottom-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: -2px;
  background: linear-gradient(
    180deg,
    rgba(var(--profile-bg-rgb, 160, 128, 104), 0) 0%,
    rgba(var(--profile-bg-rgb, 160, 128, 104), 0) 48%,
    rgba(var(--profile-bg-rgb, 160, 128, 104), 0.28) 64%,
    rgba(var(--profile-bg-rgb, 160, 128, 104), 0.72) 82%,
    rgba(var(--profile-bg-rgb, 160, 128, 104), 0.96) 94%,
    var(--profile-bg, #A08068) 100%
  );
  pointer-events: none;
}

/* Identity & Social Section */
.profile-identity-section {
  padding: 0 22px 10px 22px;
  text-align: center;
  margin-top: -10px;
  position: relative;
  z-index: 2;
}

.profile-main-name {
  font-family: var(--font-display);
  font-size: 27px;
  font-weight: 700;
  color: var(--text-color, #101808);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 5px;
}

.profile-headline {
  font-family: var(--font-text);
  font-size: 15px;
  color: var(--text-subtle, rgba(16, 24, 8, 0.78));
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -0.012em;
  max-width: 480px;
  margin: 0 auto 14px auto;
}

/* Social Icons Row */
.social-icons-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 14px;
  margin-bottom: 16px;
}

.social-icon-link {
  color: var(--text-color, #101808);
  font-size: 20px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.15s ease;
}

.social-icon-link:hover {
  transform: translateY(-2px);
  opacity: 1;
}

/* Bio Preview (Strict 2-Line Clamping with MORE Gradient Overlay) */
.bio-box-clean {
  position: relative;
  font-family: var(--font-text);
  font-size: 13.5px;
  line-height: 1.48;
  letter-spacing: -0.005em;
  color: var(--text-color, #101808);
  text-align: left;
  margin-bottom: 16px;
  cursor: pointer;
  user-select: none;
}

.bio-preview-container {
  position: relative;
  width: 100%;
}

.bio-preview-text {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-family: var(--font-text);
  font-size: 13.5px;
  line-height: 1.48;
  letter-spacing: -0.005em;
  color: var(--text-color, #101808);
  margin: 0;
  text-align: left;
}

.bio-more-overlay {
  position: absolute;
  right: 0;
  bottom: 0;
  height: 1.48em;
  display: flex;
  align-items: center;
  padding-left: 36px;
  background: linear-gradient(
    to right,
    rgba(var(--profile-bg-rgb, 160, 128, 104), 0) 0%,
    var(--profile-bg, #A08068) 42%,
    var(--profile-bg, #A08068) 100%
  );
  pointer-events: none;
}

.bio-more-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11.5px;
  color: var(--text-color, #101808);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Content Body - Zero horizontal padding so carousels bleed to canvas edges */
.profile-content-body {
  padding: 0 0 20px 0;
  width: 100%;
}

.subscribe-section {
  padding: 0 20px;
  margin-bottom: 22px;
  max-height: 300px;
  overflow: hidden;
  transition: opacity 0.45s cubic-bezier(0.4, 0, 0.2, 1),
              max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1),
              margin-bottom 0.45s cubic-bezier(0.4, 0, 0.2, 1),
              padding 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

.subscribe-section.disappearing {
  opacity: 0;
  max-height: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  pointer-events: none;
}

.subscribe-heading {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-color, #101808);
  letter-spacing: -0.018em;
  line-height: 1.22;
  margin-bottom: 10px;
}

.subscribe-input-pill {
  background: var(--input-bg, rgba(0, 0, 0, 0.1));
  border-radius: 14px;
  padding: 5px 6px 5px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.subscribe-input-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.subscribe-mail-icon {
  width: 18px;
  height: 18px;
  color: var(--text-subtle, rgba(16, 24, 8, 0.65));
}

.subscribe-text-input {
  background: transparent;
  border: none;
  font-size: 14.5px;
  color: var(--text-color, #101808);
  font-family: var(--font-text);
  letter-spacing: -0.008em;
  outline: none;
  width: 100%;
}

.subscribe-text-input::placeholder {
  color: var(--text-subtle, rgba(16, 24, 8, 0.55));
}

.subscribe-submit-btn {
  background: var(--subscribe-btn-bg, #141b10);
  color: var(--subscribe-btn-fg, #ffffff);
  border: none;
  border-radius: 10px;
  padding: 9px 18px;
  font-weight: 600;
  font-size: 13.5px;
  letter-spacing: -0.01em;
  font-family: var(--font-text);
  cursor: pointer;
  transition: opacity 0.15s ease, transform 0.1s ease;
}

.subscribe-submit-btn:hover {
  opacity: 0.9;
}

.subscribe-submit-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

.subscribe-success-msg {
  background: var(--input-bg, rgba(0, 0, 0, 0.1));
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-color, #101808);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: fadeIn 0.25s ease-out;
}

.subscribe-error-msg {
  font-size: 12px;
  color: #e53935;
  margin-top: 6px;
  padding-left: 14px;
  font-weight: 500;
}

.subscribe-disclaimer {
  font-family: var(--font-text);
  font-size: 11px;
  color: var(--text-subtle, rgba(16, 24, 8, 0.68));
  line-height: 1.45;
  letter-spacing: -0.004em;
  margin-top: 8px;
  text-align: center;
}

.subscribe-disclaimer a {
  color: var(--text-color, rgba(16, 24, 8, 0.85));
  text-decoration: underline;
}

/* Links List */
.profile-links-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 0;
  width: 100%;
}

.standalone-section-header {
  display: flex;
  align-items: center;
  padding: 12px 20px 4px 20px;
  width: 100%;
  box-sizing: border-box;
}

.standalone-section-header:first-child {
  padding-top: 2px;
}

.standalone-section-header .section-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.018em;
  line-height: 1.22;
  color: var(--text-color, #101808);
}

.who-link-card {
  margin: 0 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--glass-card-bg, rgba(0, 0, 0, 0.08));
  border-radius: 16px;
  padding: 10px 14px;
  text-decoration: none;
  color: var(--text-color, inherit);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.15s ease, opacity 0.15s ease;
}

.who-link-card:hover {
  transform: translateY(-2px);
  background: var(--glass-card-hover, rgba(0, 0, 0, 0.13));
}

.who-link-card:active {
  transform: translateY(0);
  opacity: 0.85;
}

.link-thumb-img {
  width: 50px;
  height: 50px;
  border-radius: 11px;
  object-fit: cover;
  flex-shrink: 0;
}

.link-thumb-placeholder {
  width: 50px;
  height: 50px;
  border-radius: 11px;
  background: var(--glass-card-bg, rgba(0, 0, 0, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text-subtle, rgba(16, 24, 8, 0.6));
}

.link-thumb-placeholder svg {
  width: 22px;
  height: 22px;
}

.link-title-col {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.link-card-title {
  font-family: var(--font-text);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: -0.012em;
  color: var(--text-color, #101808);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.link-card-subtitle {
  font-family: var(--font-text);
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: -0.006em;
  line-height: 1.3;
  color: var(--text-subtle, rgba(16, 24, 8, 0.68));
  margin-top: 2px;
}

.link-badge-row {
  display: flex;
  margin-bottom: 3px;
}

.link-type-badge {
  font-family: var(--font-display);
  font-size: 9.5px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 4px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: inline-block;
}

.music-badge {
  background: rgba(29, 185, 84, 0.25);
  color: #1db954;
}

.podcast-badge {
  background: rgba(168, 85, 247, 0.25);
  color: #c084fc;
}

.credits-badge {
  background: rgba(1, 180, 228, 0.25);
  color: #38bdf8;
}

.link-action-indicator {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--glass-card-bg, rgba(0, 0, 0, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-color, #101808);
  flex-shrink: 0;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.link-action-indicator svg {
  width: 14px;
  height: 14px;
}

.who-link-card:hover .link-action-indicator {
  background: var(--glass-card-hover, rgba(0, 0, 0, 0.18));
  transform: scale(1.08);
}

/* Rich Podcast Card */
.rich-podcast-card {
  margin: 0 20px;
  background: var(--glass-card-bg, rgba(0, 0, 0, 0.08));
  border-radius: 16px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-sizing: border-box;
}

.podcast-header-row {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  user-select: none;
}

.podcast-cover-img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.podcast-cover-placeholder {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--input-bg, rgba(0, 0, 0, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-color, #101808);
  flex-shrink: 0;
}

.podcast-cover-placeholder svg {
  width: 24px;
  height: 24px;
}

.podcast-info-col {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.podcast-title {
  font-family: var(--font-text);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.012em;
  color: var(--text-color, #101808);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.podcast-publisher {
  font-family: var(--font-text);
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: -0.006em;
  color: var(--text-subtle, rgba(16, 24, 8, 0.68));
  margin-top: 2px;
}

.podcast-dropdown-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--input-bg, rgba(0, 0, 0, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-subtle, rgba(16, 24, 8, 0.7));
  flex-shrink: 0;
  cursor: pointer;
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), background 0.15s ease;
}

.rich-podcast-card.expanded .podcast-dropdown-btn {
  transform: rotate(180deg);
}

.podcast-dropdown-btn svg {
  width: 16px;
  height: 16px;
}

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

.platform-pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 10px;
  font-family: var(--font-text);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: -0.008em;
  text-decoration: none;
  color: var(--text-color, #101808);
  background: var(--input-bg, rgba(0, 0, 0, 0.08));
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.15s ease, opacity 0.15s ease;
}

.platform-pill-btn:hover {
  transform: translateY(-2px);
  background: var(--glass-card-hover, rgba(0, 0, 0, 0.14));
}

.platform-pill-btn:active {
  transform: translateY(0);
  opacity: 0.85;
}

.platform-pill-btn svg {
  width: 16px;
  height: 16px;
}

.latest-episode-header {
  position: relative;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--text-color, #101808);
  margin-top: 4px;
  margin-bottom: 8px;
  height: 18px;
  overflow: hidden;
}

.header-collapsed-text,
.header-expanded-text {
  position: absolute;
  left: 0;
  top: 0;
  transition: opacity 0.22s ease, transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.rich-podcast-card:not(.expanded) .header-expanded-text {
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
}

.rich-podcast-card:not(.expanded) .header-collapsed-text {
  opacity: 1;
  transform: translateY(0);
}

.rich-podcast-card.expanded .header-expanded-text {
  opacity: 1;
  transform: translateY(0);
}

.rich-podcast-card.expanded .header-collapsed-text {
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
}

/* Podcast Episodes List */
.podcast-episodes-container {
  display: flex;
  flex-direction: column;
  width: 100%;
}

/* Accordion animated container for extra episodes */
.podcast-extra-episodes-wrapper {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
}

.podcast-extra-episodes-inner {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 0;
  transition: padding-top 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.rich-podcast-card.expanded .podcast-extra-episodes-wrapper {
  grid-template-rows: 1fr;
}

.rich-podcast-card.expanded .podcast-extra-episodes-inner {
  padding-top: 6px;
}

.latest-episode-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--input-bg, rgba(0, 0, 0, 0.06));
  padding: 10px 12px;
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.15s ease, opacity 0.15s ease;
  width: 100%;
  box-sizing: border-box;
  transform: none !important;
}

.latest-episode-row:last-child {
  margin-bottom: 0;
}

.latest-episode-row:hover {
  background: var(--glass-card-hover, rgba(0, 0, 0, 0.12));
  transform: none !important;
}

.latest-episode-row:active {
  opacity: 0.85;
  transform: none !important;
}

.episode-row-link-content {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
  text-decoration: none;
  color: inherit;
  gap: 8px;
  cursor: pointer;
}

.episode-play-circle {
  width: 34px;
  height: 34px;
  min-width: 34px;
  min-height: 34px;
  border-radius: 50%;
  border: none;
  outline: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background: var(--text-color, #101808);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--profile-bg, #ffffff);
  flex-shrink: 0;
  transition: opacity 0.15s ease, background-color 0.15s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  will-change: opacity;
}

.episode-play-circle:hover {
  opacity: 0.85;
}

.episode-play-circle:active {
  opacity: 0.7;
}

.episode-play-circle svg {
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  fill: currentColor;
  display: block;
  margin: 0 !important;
  padding: 0 !important;
  pointer-events: none;
  shape-rendering: geometricPrecision;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.episode-play-circle.playing svg {
  margin: 0 !important;
}

.episode-meta-col {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.episode-title {
  font-family: var(--font-text);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.008em;
  color: var(--text-color, #101808);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.episode-submeta {
  font-family: var(--font-text);
  font-size: 11.5px;
  letter-spacing: -0.004em;
  color: var(--text-subtle, rgba(16, 24, 8, 0.65));
  margin-top: 2px;
}

.episode-chevron {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--text-subtle, rgba(16, 24, 8, 0.5));
}

.episode-chevron svg {
  width: 16px;
  height: 16px;
}

/* Rich Music Card */
.rich-music-card {
  margin: 0 20px;
  display: flex;
  flex-direction: column;
  padding: 12px;
  border-radius: 16px;
  background: var(--glass-card-bg, rgba(0, 0, 0, 0.08));
  gap: 12px;
  box-sizing: border-box;
  text-decoration: none;
  color: inherit;
}

.rich-music-card.single-platform-card {
  gap: 0;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.15s ease, opacity 0.15s ease;
}

.rich-music-card.single-platform-card:hover {
  transform: translateY(-2px);
  background: var(--glass-card-hover, rgba(0, 0, 0, 0.13));
}

.rich-music-card.single-platform-card:active {
  transform: translateY(0);
  opacity: 0.85;
}

.music-card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.music-cover-container {
  position: relative;
  width: 80px;
  height: 80px;
  min-width: 80px;
  min-height: 80px;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--input-bg, rgba(0, 0, 0, 0.08));
  flex-shrink: 0;
}

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

.music-cover-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--text-subtle, rgba(16, 24, 8, 0.4));
}

.music-play-overlay-btn {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  border-radius: 12px;
  transition: background 0.2s ease;
}

.music-play-overlay-btn svg {
  width: 34px;
  height: 34px;
  background: var(--profile-accent, var(--text-color, #101808));
  color: var(--subscribe-btn-fg, #000000);
  border-radius: 50%;
  padding: 8px;
  box-sizing: border-box;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.15s ease;
  fill: currentColor;
}

.music-cover-container:hover .music-play-overlay-btn svg {
  transform: scale(1.15);
}

.music-info-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  flex: 1;
}

.music-card-title {
  font-family: var(--font-text);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.32;
  color: var(--text-color, #101808);
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.music-card-artist {
  font-family: var(--font-text);
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: -0.006em;
  color: var(--text-subtle, rgba(16, 24, 8, 0.68));
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  margin-top: 2px;
}

.music-platforms-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  width: 100%;
}

.music-platform-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 20px;
  background: var(--input-bg, rgba(0, 0, 0, 0.08));
  border: 0.5px solid var(--glass-card-border, rgba(0, 0, 0, 0.15));
  color: var(--text-color, #101808);
  text-decoration: none;
  font-family: var(--font-text);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: -0.008em;
  transition: all 0.15s ease;
  box-sizing: border-box;
}

.music-platform-pill:hover {
  background: var(--glass-card-hover, rgba(0, 0, 0, 0.14));
  transform: translateY(-1px);
}

.platform-icon-svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  fill: currentColor;
}

.platform-icon-fa {
  font-size: 14px;
  flex-shrink: 0;
  color: currentColor;
}

/* Horizontal Rich Carousels - Full Bleed to Canvas Edges */
.carousel-section-container {
  width: 100%;
  margin-top: 14px;
  margin-bottom: 14px;
}

.carousel-section-container:last-child {
  margin-bottom: 0;
}

.carousel-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  padding: 0 20px;
}

.view-all-link {
  font-family: var(--font-text);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.008em;
  color: var(--text-subtle, rgba(16, 24, 8, 0.68));
  text-decoration: none;
  transition: opacity 0.15s ease, color 0.15s ease;
}

.view-all-link:hover {
  opacity: 1;
  color: var(--text-color, #101808);
}

.carousel-scroll-row {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 6px 20px 0 20px;
  margin-top: -6px;
  margin-bottom: 0;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  box-sizing: border-box;
}

.carousel-scroll-row::-webkit-scrollbar {
  display: none;
}

/* Video Cards */
.video-card-item {
  display: flex;
  flex-direction: column;
  width: 280px;
  flex-shrink: 0;
  color: inherit;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.video-card-item:not(:has(.video-playing)):hover {
  transform: translateY(-2.5px);
}

.video-thumb-container {
  position: relative;
  width: 280px;
  height: 158px;
  border-radius: 16px;
  overflow: hidden;
  background: #000000;
  margin-bottom: 8px;
  cursor: pointer;
}

.video-thumb-container.video-playing {
  cursor: default;
}

.video-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 2;
}

.video-play-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s ease;
  pointer-events: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.video-play-btn svg {
  width: 28px;
  height: 28px;
  fill: #ffffff;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.video-card-item:not(:has(.video-playing)):hover .video-play-btn {
  transform: scale(1.18);
  background: rgba(0, 0, 0, 0.65);
}

.video-card-title-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.video-card-title {
  font-family: var(--font-text);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.008em;
  line-height: 1.38;
  color: var(--text-color, #101808);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Single Featured Video Widget Card */
.video-widget-card-container {
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.video-widget-card-container:not(:has(.video-playing)):hover {
  transform: translateY(-2.5px);
}

.video-widget-media-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.4);
  cursor: pointer;
  border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.12));
}

.video-widget-media-wrapper.video-playing {
  cursor: default;
}

.video-widget-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-widget-gradient-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.5) 100%);
  pointer-events: none;
}

.video-widget-play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 2;
}

.video-widget-play-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s ease;
  pointer-events: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.video-widget-play-btn svg {
  width: 32px;
  height: 32px;
  fill: #ffffff;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.video-widget-card-container:not(:has(.video-playing)):hover .video-widget-play-btn {
  transform: scale(1.18);
  background: rgba(0, 0, 0, 0.65);
}

.video-widget-title-link {
  text-decoration: none;
  color: var(--text-color, inherit);
  display: block;
  padding-top: 8px;
  padding-left: 2px;
}

.video-widget-title-link:hover .video-widget-title {
  opacity: 0.9;
}

.video-widget-title {
  font-family: var(--font-text);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.008em;
  line-height: 1.35;
  color: var(--text-color, inherit);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  display: block;
}

/* Link Carousel & Book Cards (aspect ratio ~0.6667 / 2:3, height 200px) */
.link-carousel-scroll-row {
  gap: 12px;
}

.link-carousel-card-item {
  flex-shrink: 0;
  height: 200px;
  aspect-ratio: 2 / 3;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  background: var(--glass-card-bg, rgba(0, 0, 0, 0.08));
  border: 0.5px solid rgba(var(--profile-fg-rgb, 255, 255, 255), 0.18);
  display: block;
  position: relative;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.15s ease;
  box-sizing: border-box;
}

.link-carousel-card-item:hover {
  transform: translateY(-2.5px);
  opacity: 0.94;
}

.link-carousel-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 16px;
}

.link-carousel-cover-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px;
  background: var(--glass-card-bg, rgba(0, 0, 0, 0.08));
  color: var(--text-color, #101808);
}

.link-carousel-fallback-title {
  font-family: var(--font-text);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.008em;
  line-height: 1.35;
  color: var(--text-color, #101808);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Credits Movie Poster Cards (2:3 aspect ratio, height 200px) */
.credits-scroll-row {
  gap: 12px;
}

.credit-card-item {
  flex-shrink: 0;
  width: 133px;
  height: 200px;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  background: rgba(0, 0, 0, 0.1);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.15s ease;
}

.credit-card-item:hover {
  transform: translateY(-2.5px);
  opacity: 0.94;
}

.credit-poster-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
}

.credit-poster-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px;
  font-family: var(--font-text);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: -0.006em;
  color: var(--text-color, #101808);
}

/* ShopMy Product Cards (width 160px, image height 165px) */
.store-scroll-row {
  gap: 14px;
}

.store-product-item {
  flex-shrink: 0;
  width: 160px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.15s ease;
}

.store-product-item:hover {
  transform: translateY(-2.5px);
  opacity: 0.95;
}

.product-image-container {
  width: 160px;
  height: 165px;
  border-radius: 16px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.product-thumb-img {
  width: 86%;
  height: 86%;
  object-fit: contain;
}

.product-placeholder {
  width: 100%;
  height: 100%;
  background: #f0f0f0;
}

.product-title {
  font-family: var(--font-text);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.008em;
  line-height: 1.3;
  color: var(--text-color, #101808);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-price {
  font-family: var(--font-text);
  font-size: 12px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.004em;
  color: var(--text-subtle, rgba(16, 24, 8, 0.75));
  margin-top: 2px;
}

/* Substack Cards (width 260px) */
.substack-scroll-row {
  gap: 14px;
}

.substack-card-item {
  flex-shrink: 0;
  width: 260px;
  background: var(--glass-card-bg, rgba(0, 0, 0, 0.08));
  border-radius: 18px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none;
  color: var(--text-color, inherit);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.15s ease;
  min-height: 140px;
}

.substack-card-item:hover {
  transform: translateY(-2.5px);
  background: var(--glass-card-hover, rgba(0, 0, 0, 0.13));
}

.substack-article-title {
  font-family: var(--font-text);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.012em;
  color: var(--text-color, #101808);
  line-height: 1.35;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.substack-article-subtitle {
  font-family: var(--font-text);
  font-size: 12.5px;
  font-weight: 400;
  letter-spacing: -0.005em;
  color: var(--text-subtle, rgba(16, 24, 8, 0.72));
  line-height: 1.44;
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.substack-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-text);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: -0.004em;
  font-variant-numeric: tabular-nums;
  color: var(--text-subtle, rgba(16, 24, 8, 0.65));
  margin-top: auto;
}

.substack-stats-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.substack-stat-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.substack-stat-item svg {
  width: 12px;
  height: 12px;
  opacity: 0.85;
  fill: currentColor;
}

/* Store Disclaimer */
.store-disclaimer {
  padding: 0 24px;
  font-family: var(--font-text);
  font-size: 11px;
  letter-spacing: -0.004em;
  color: var(--text-subtle, rgba(16, 24, 8, 0.55));
  text-align: center;
  margin-top: 6px;
  margin-bottom: 0;
  line-height: 1.45;
}

/* Collab Section - Full Bleed to Canvas Edges */
.collab-section {
  width: 100%;
  margin-top: 14px;
  margin-bottom: 0;
}

.collab-section .section-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  padding: 0 20px;
}

.section-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.018em;
  line-height: 1.22;
  color: var(--text-color, #101808);
}

.collab-badge {
  font-family: var(--font-display);
  background: var(--glass-card-bg, rgba(0, 0, 0, 0.15));
  color: var(--text-color, #101808);
  font-size: 11px;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 10px;
}

.collab-carousel-track {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 0 20px 10px 20px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  box-sizing: border-box;
}

.collab-carousel-track::-webkit-scrollbar {
  display: none;
}

.collab-card-wrapper {
  flex-shrink: 0;
}

.collab-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
  width: 80px;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.avatar-ring {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  padding: 2px;
  background: var(--glass-card-bg, rgba(0, 0, 0, 0.15));
  margin-bottom: 6px;
  transition: background 0.2s ease;
}

.collab-card:hover {
  transform: translateY(-3px);
}

.collab-card:hover .avatar-ring {
  background: var(--glass-card-hover, rgba(0, 0, 0, 0.3));
}

.collab-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.collab-name {
  font-family: var(--font-text);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -0.006em;
  color: var(--text-color, #101808);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.collab-role {
  font-family: var(--font-text);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: -0.004em;
  color: var(--text-subtle, rgba(16, 24, 8, 0.65));
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
  margin-top: 1px;
}

/* Collabs / Clients Rich Circle Carousel */
.collabs-section-container {
  width: 100%;
  margin-top: 14px;
  margin-bottom: 14px;
}

.collabs-section-container:last-child {
  margin-bottom: 0;
}

.collabs-scroll-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 6px 20px 0 20px;
  margin-top: -6px;
  margin-bottom: 0;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  box-sizing: border-box;
}

.collabs-scroll-row::-webkit-scrollbar {
  display: none;
}

.collab-circle-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: inherit;
  flex: 0 0 118px;
  width: 118px;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.collab-circle-avatar-wrapper {
  width: 118px;
  height: 118px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--glass-card-bg, rgba(255, 255, 255, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
}

.collab-circle-item:hover {
  transform: translateY(-2.5px);
}

.collab-circle-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}

.collab-circle-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
}

.collab-circle-initials {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-color, #fff);
  opacity: 0.8;
}

.collab-circle-name {
  margin-top: 10px;
  font-family: var(--font-text);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.008em;
  line-height: 1.2;
  text-align: center;
  color: var(--text-color, #fff);
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Modal Bottom Sheet */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  animation: fadeIn 0.2s ease;
}

@media (min-width: 600px) {
  .modal-backdrop {
    align-items: center;
    padding: 24px;
  }
}

.modal-content {
  width: 100%;
  max-width: 480px;
  max-height: 85vh;
  background: var(--profile-bg, #1c1815);
  color: var(--text-color, #101808);
  border-radius: 24px 24px 0 0;
  border-top: 1px solid var(--glass-card-border, rgba(0, 0, 0, 0.1));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
  animation: slideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (min-width: 600px) {
  .modal-content {
    border-radius: 28px;
    border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.15));
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  }
}

.modal-drag-handle {
  width: 36px;
  height: 4.5px;
  background: var(--text-color, #101808);
  opacity: 0.22;
  border-radius: 3px;
  margin: 10px auto 4px auto;
}

.modal-header {
  padding: 10px 20px 14px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  border-bottom: 1px solid var(--glass-card-border, rgba(0, 0, 0, 0.08));
}

.modal-about-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.018em;
  color: var(--text-color, #101808);
  margin: 0;
}

.modal-close-btn {
  background: var(--input-bg, rgba(0, 0, 0, 0.08));
  border: 1px solid var(--glass-card-border, rgba(0, 0, 0, 0.06));
  color: var(--text-color, #101808);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.15s ease, opacity 0.15s ease;
}

.modal-close-btn i,
.modal-close-btn svg {
  font-size: 13px;
  line-height: 1;
}

.modal-close-btn:hover {
  background: var(--glass-card-hover, rgba(0, 0, 0, 0.15));
  transform: scale(1.08);
}

.modal-close-btn:active {
  transform: scale(0.92);
  opacity: 0.8;
}

.modal-body {
  padding: 22px 20px 36px 20px;
  overflow-y: auto;
  font-family: var(--font-text);
  font-size: 15px;
  line-height: 1.55;
  letter-spacing: -0.008em;
}

.modal-bio-text {
  color: var(--text-color, #101808);
  opacity: 0.92;
  margin-bottom: 16px;
}

.modal-bio-text:last-child {
  margin-bottom: 0;
}

/* Loading & Not Found States */
.loading-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
}

.loading-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid rgba(255, 255, 255, 0.15);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

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

.not-found-container {
  text-align: center;
  padding: 80px 20px;
  color: #ffffff;
}

.not-found-container h2 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.not-found-container p {
  font-family: var(--font-text);
  font-size: 14px;
  letter-spacing: -0.008em;
  opacity: 0.7;
  margin-bottom: 24px;
}

.home-return-btn {
  display: inline-block;
  background: #ffffff;
  color: #000000;
  padding: 10px 24px;
  border-radius: 12px;
  font-family: var(--font-text);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.008em;
  text-decoration: none;
}

/* ==========================================================================
   EVENTS SECTION (Tour Dates / SeatGeek / Bandsintown)
   ========================================================================== */

.events-section-container {
  width: 100%;
  margin-top: 14px;
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
}

.events-section-container:last-child {
  margin-bottom: 0;
}

.events-section-header {
  padding: 0 20px;
  margin-bottom: 12px;
}

.events-top-grid {
  display: flex;
  gap: 10px;
  padding: 0 20px;
}

.event-grid-card {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 12px;
  border-radius: 16px;
  background: var(--glass-card-bg, rgba(0, 0, 0, 0.08));
  border: 1px solid rgba(0, 0, 0, 0.18);
  text-decoration: none;
  color: inherit;
  min-height: 81px;
  box-sizing: border-box;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.15s ease, opacity 0.15s ease;
}

.event-grid-card:hover {
  transform: translateY(-2px);
  background: var(--glass-card-hover, rgba(0, 0, 0, 0.13));
}

.event-card-header {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 5px;
}

.event-calendar-icon {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  color: var(--profile-accent, var(--text-color, #101808));
  opacity: 0.8;
}

.event-date-text {
  font-family: var(--font-text);
  font-size: 11.5px;
  font-weight: 500;
  color: var(--profile-accent, var(--text-color, #101808));
  opacity: 0.78;
  letter-spacing: -0.004em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.event-venue-name {
  font-family: var(--font-text);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: -0.008em;
  color: var(--text-color, #101808);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.event-location-text {
  font-family: var(--font-text);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: -0.004em;
  color: var(--text-subtle, rgba(16, 24, 8, 0.65));
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* View All Events Card */
.view-all-events-card {
  margin: 10px 20px 0 20px;
  padding: 8px 12px;
  border-radius: 16px;
  background: var(--glass-card-bg, rgba(0, 0, 0, 0.08));
  border: 1px solid rgba(0, 0, 0, 0.18);
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.15s ease, opacity 0.15s ease;
}

.view-all-events-card:hover {
  transform: translateY(-2px);
  background: var(--glass-card-hover, rgba(0, 0, 0, 0.13));
}

.event-date-pill {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.date-pill-month {
  font-family: var(--font-display);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--profile-accent, var(--text-color, #101808));
}

.date-pill-day {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.0;
  margin-top: 1px;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  color: var(--profile-accent, var(--text-color, #101808));
}

.view-all-events-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.view-all-events-title {
  font-family: var(--font-text);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.012em;
  color: var(--text-color, #101808);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.view-all-events-subtitle {
  font-family: var(--font-text);
  font-size: 12.5px;
  letter-spacing: -0.006em;
  color: var(--text-subtle, rgba(16, 24, 8, 0.68));
  margin-top: 1px;
}

.event-chevron-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--text-subtle, rgba(16, 24, 8, 0.5));
}

/* Events Modal List */
.events-modal-content {
  max-height: 85vh;
}

.events-modal-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 20px 32px 20px;
  overflow-y: auto;
}

.event-modal-item-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--input-bg, rgba(0, 0, 0, 0.06));
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.15s ease, opacity 0.15s ease;
}

.event-modal-item-row:hover {
  transform: translateY(-2px);
  background: var(--glass-card-hover, rgba(0, 0, 0, 0.12));
}

.event-modal-item-row:active {
  transform: translateY(0);
  opacity: 0.85;
}

.event-modal-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.event-modal-venue-name {
  font-family: var(--font-text);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-color, #101808);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.event-modal-location {
  font-family: var(--font-text);
  font-size: 12.5px;
  letter-spacing: -0.006em;
  color: var(--text-subtle, rgba(16, 24, 8, 0.68));
  margin-top: 2px;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

.page-transition-enter {
  animation: pageFadeIn 0.25s ease-out;
}

@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive Mobile Rules */
@media (max-width: 520px) {
  body {
    background-color: var(--profile-bg, #A08068);
  }

  .profile-page-wrapper {
    padding: 0;
  }

  .profile-card-container {
    max-width: 100%;
    border-radius: 0;
    box-shadow: none;
    min-height: 100vh;
  }
}

/* ==========================================================================
   Awards Section & Modal
   ========================================================================== */
.awards-widget-container {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.awards-trophies-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 20px 16px 20px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(to right, black 85%, transparent 100%);
  mask-image: linear-gradient(to right, black 85%, transparent 100%);
}

.awards-trophies-row::-webkit-scrollbar {
  display: none;
}

.awards-trophy-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  flex-shrink: 0;
}

.awards-trophy-img {
  height: 36px;
  width: auto;
  max-width: 36px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(88%) sepia(18%) saturate(350%) hue-rotate(345deg) brightness(95%) contrast(90%);
}

.awards-trophy-generic-svg {
  width: 32px;
  height: 32px;
  color: var(--profile-accent, #eedbc1);
}

.awards-summary-card {
  margin: 0 20px;
  padding: 8px 16px 8px 8px;
  border-radius: 16px;
  background: var(--glass-card-bg, rgba(255, 255, 255, 0.08));
  border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.12));
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s ease, box-shadow 0.2s ease;
  user-select: none;
}

.awards-summary-card:hover {
  transform: translateY(-2px);
  background: var(--glass-card-hover, rgba(255, 255, 255, 0.14));
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.awards-summary-card:active {
  transform: scale(0.985);
}

.awards-summary-left {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  flex: 1;
}

.awards-summary-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  border-radius: 8px;
  background: var(--glass-card-bg, rgba(255, 255, 255, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
}

.awards-summary-svg {
  width: 22px;
  height: 22px;
  color: var(--profile-accent, #eedbc1);
}

.awards-summary-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.awards-summary-title {
  font-family: var(--font-text);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.012em;
  color: var(--text-color, #101808);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.awards-summary-count {
  font-family: var(--font-text);
  font-size: 13px;
  letter-spacing: -0.006em;
  color: var(--text-subtle, rgba(16, 24, 8, 0.68));
  margin-top: 1px;
}

.awards-summary-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-subtle, rgba(16, 24, 8, 0.6));
}

.awards-summary-arrow svg {
  width: 18px;
  height: 18px;
}

.awards-modal-content {
  max-height: 85vh;
}

.awards-modal-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 20px 32px 20px;
  overflow-y: auto;
}

.award-item-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 14px;
  background: var(--input-bg, rgba(0, 0, 0, 0.06));
  color: inherit;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.15s ease, opacity 0.15s ease;
}

.award-item-row:hover {
  transform: translateY(-2px);
  background: var(--glass-card-hover, rgba(0, 0, 0, 0.12));
}

.award-item-icon-box {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 10px;
  background: var(--glass-card-bg, rgba(255, 255, 255, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
}

.award-item-icon-img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(88%) sepia(18%) saturate(350%) hue-rotate(345deg) brightness(95%) contrast(90%);
}

.award-generic-trophy-svg {
  width: 20px;
  height: 20px;
  color: var(--profile-accent, #eedbc1);
}

.award-item-content {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.award-item-name {
  font-family: var(--font-text);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-color, #101808);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.award-item-work {
  font-family: var(--font-text);
  font-size: 12px;
  letter-spacing: -0.006em;
  color: var(--text-subtle, rgba(16, 24, 8, 0.68));
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.award-item-year {
  font-family: var(--font-text);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-subtle, rgba(16, 24, 8, 0.68));
  background: var(--input-bg, rgba(0, 0, 0, 0.08));
  padding: 3px 8px;
  border-radius: 8px;
  flex-shrink: 0;
  margin-left: 8px;
}

/* ==========================================================================
   Twitch Live Stream Embed Widget
   ========================================================================== */
.twitch-live-card-container {
  width: 100%;
  padding: 0 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.twitch-live-card-container:not(:has(.video-playing)):hover {
  transform: translateY(-2.5px);
}

.twitch-live-media-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  background-color: #0e0e10;
  cursor: pointer;
  border: 1px solid var(--glass-border, rgba(255, 255, 255, 0.12));
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.twitch-live-media-wrapper.video-playing {
  cursor: default;
}

.twitch-live-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.twitch-live-placeholder {
  width: 100%;
  height: 100%;
  background: #0e0e10;
}

.twitch-live-gradient-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.75) 100%);
  pointer-events: none;
}

.twitch-live-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  z-index: 2;
}

.twitch-live-play-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s ease;
  pointer-events: none;
}

.twitch-live-play-btn svg {
  width: 32px;
  height: 32px;
  fill: #ffffff;
  display: block;
  margin-left: 3px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.twitch-live-card-container:not(:has(.video-playing)):hover .twitch-live-play-btn {
  transform: scale(1.18);
  background: rgba(0, 0, 0, 0.65);
}

.twitch-live-badge-row {
  position: absolute;
  bottom: 14px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
  pointer-events: none;
}

.twitch-live-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #eb0400;
  box-shadow: 0 0 8px rgba(235, 4, 0, 0.9);
  animation: twitchLivePulse 1.4s infinite ease-in-out;
}

@keyframes twitchLivePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.twitch-live-badge-text {
  font-family: var(--font-text);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #ffffff;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

/* ==========================================================================
   Claim Profile Floating Banner
   ========================================================================== */
.claim-banner-floating {
  position: absolute;
  top: 16px;
  left: 16px;
  right: 16px;
  z-index: 20;
  animation: claimBannerSlideDown 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes claimBannerSlideDown {
  from {
    opacity: 0;
    transform: translateY(-8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.claim-banner-glass {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 12px;
  background: var(--top-btn-bg, rgba(255, 255, 255, 0.85));
  color: var(--top-btn-color, #101808);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: var(--top-btn-border, 1px solid rgba(0, 0, 0, 0.08));
  border-radius: 20px;
  box-shadow: var(--top-btn-shadow, 0 8px 24px rgba(0, 0, 0, 0.14));
  transition: all 0.25s ease;
}

.claim-banner-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}

.claim-banner-icon-circle {
  width: 32px;
  height: 32px;
  min-width: 32px;
  border-radius: 50%;
  background: var(--top-btn-color, #101808);
  color: var(--top-btn-bg, #ffffff);
  display: flex;
  align-items: center;
  justify-content: center;
}

.claim-banner-icon-circle svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.claim-banner-text-col {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.claim-banner-title {
  font-family: var(--font-display, inherit);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--top-btn-color, #101808);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.claim-banner-subtitle {
  font-family: var(--font-text, inherit);
  font-size: 11px;
  color: var(--top-btn-color, #101808);
  opacity: 0.75;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.claim-banner-btn {
  background: var(--top-btn-color, #101808);
  color: var(--top-btn-bg, #ffffff);
  border: none;
  padding: 7px 14px;
  border-radius: 12px;
  font-family: var(--font-text, inherit);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.15s ease, opacity 0.15s ease, filter 0.15s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.claim-banner-btn:hover {
  transform: scale(1.04);
  opacity: 0.92;
}

.claim-banner-btn:active {
  transform: scale(0.97);
}
