:root {
  --white: #ffffff;
  --black: #0b0b0b;
  --text: #111111;
  --muted: #6f6f6f;
  --soft: #f7f7f7;
  --soft-2: #f1f1f1;
  --line: #e9e9e9;
  --line-strong: #dedede;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.08);
  --shadow-soft: 0 10px 28px rgba(0, 0, 0, 0.06);
  --max-content: 920px;
  --max-links: 720px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--white);
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--text);
  background: var(--white);
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.modal-open {
  overflow: hidden;
}

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

img {
  display: block;
  max-width: 100%;
}

button,
input {
  font: inherit;
}

button {
  border: 0;
  padding: 0;
  color: inherit;
  background: none;
  cursor: pointer;
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.page-loader__content {
  display: grid;
  justify-items: center;
  gap: 18px;
  color: var(--black);
  letter-spacing: 0.22em;
  font-size: 0.78rem;
}

.page-loader__content span {
  width: 128px;
  height: 2px;
  overflow: hidden;
  border-radius: 999px;
  background: #e7e7e7;
}

.page-loader__content i {
  display: block;
  width: 46%;
  height: 100%;
  background: var(--black);
  animation: loader 1.1s ease-in-out infinite;
}

@keyframes loader {
  from { transform: translateX(-120%); }
  to { transform: translateX(260%); }
}

.ambient {
  position: fixed;
  z-index: -1;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(90px);
  opacity: 0.34;
}

.ambient--one {
  top: 120px;
  left: -230px;
  background: #ece7e1;
}

.ambient--two {
  top: 760px;
  right: -250px;
  background: #e9ecef;
}

.language {
  position: fixed;
  z-index: 30;
  top: 18px;
  right: 18px;
}

.language__toggle {
  min-width: 66px;
  height: 40px;
  padding: 0 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(15px);
  font-size: 0.78rem;
  font-weight: 800;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.language__toggle:hover {
  transform: translateY(-1px);
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.11);
}

.language__toggle svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.language__menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 76px;
  padding: 7px;
  display: grid;
  gap: 5px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(15px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-7px);
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}

.language.is-open .language__menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.language__menu button {
  min-height: 34px;
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 750;
  transition: background 0.2s ease;
}

.language__menu button:hover,
.language__menu button.is-active {
  background: #f0f0f0;
}

.site-main {
  width: 100%;
  padding: 0 20px 48px;
}

.profile {
  width: 100%;
  padding-top: 42px;
  text-align: center;
}

.profile__cover-wrap {
  position: relative;
  width: min(100%, var(--max-content));
  margin: 0 auto;
  padding-bottom: 66px;
}

.profile__cover {
  position: relative;
  width: 100%;
  height: clamp(250px, 35vw, 390px);
  overflow: hidden;
  border-radius: 30px 30px 0 0;
  background: #efefef;
  box-shadow: var(--shadow);
}

.profile__cover::after {
  content: "";
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: -77px;
  width: 116%;
  height: 150px;
  transform: translateX(-50%);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background: var(--white);
}

.profile__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.015);
}

.profile__avatar {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: 2px;
  width: 126px;
  height: 126px;
  padding: 7px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.16);
}

.profile__avatar img,
.profile__avatar span {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

.profile__avatar img {
  position: relative;
  z-index: 1;
  object-fit: cover;
  background: #eeeeee;
}

.profile__avatar span {
  position: absolute;
  inset: 7px;
  width: auto;
  height: auto;
  display: grid;
  place-items: center;
  background: #ededed;
  font-size: 0.82rem;
  font-weight: 800;
}

.profile__content {
  width: min(100%, var(--max-links));
  margin: 0 auto;
  padding-top: 10px;
}

.profile h1 {
  margin: 0;
  font-size: clamp(2.15rem, 6vw, 3.25rem);
  line-height: 1;
  letter-spacing: -0.055em;
  font-weight: 800;
}

.profile__username {
  margin: 10px 0 0;
  color: #595959;
  font-size: 0.95rem;
  font-weight: 700;
}

.profile__role {
  margin: 22px 0 0;
  color: #786e67;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.profile__bio {
  max-width: 540px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.socials {
  margin: 24px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 19px;
}

.socials a {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  color: var(--black);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.socials a:hover {
  transform: translateY(-2px);
  opacity: 0.68;
}

.socials svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.links {
  margin-top: 34px;
  display: grid;
  gap: 12px;
}

.link-button {
  width: 100%;
  min-height: 76px;
  padding: 16px 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, #ffffff 0%, #f8f8f8 100%);
  box-shadow: var(--shadow-soft);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.link-button:hover {
  transform: translateY(-2px);
  border-color: #d7d7d7;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.09);
}

.link-button span {
  min-width: 0;
}

.link-button strong,
.link-button small {
  display: block;
}

.link-button strong {
  font-size: 1rem;
  font-weight: 720;
  letter-spacing: -0.025em;
}

.link-button small {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.4;
}

.link-button > svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #777777;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.22s ease;
}

.link-button:hover > svg {
  transform: translateX(3px);
}

.content-section {
  width: min(100%, var(--max-content));
  margin: 88px auto 0;
}

.section-heading {
  margin-bottom: 18px;
  padding-top: 24px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
}

.section-heading p {
  margin: 0 0 9px;
  color: #786e67;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(1.75rem, 4vw, 2.45rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.section-heading > a,
.section-heading > span {
  color: #666666;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 22px;
  background: #111111;
  box-shadow: var(--shadow);
}

.video-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.audio-player {
  width: 100%;
}

.player {
  border-top: 1px solid var(--line);
}

.player__now {
  padding: 24px 0;
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
}

.player__cover {
  position: relative;
  width: 170px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 18px;
  background: #efefef;
  box-shadow: var(--shadow-soft);
}

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

.player__cover span {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  color: #111111;
  background: #ededed;
  font-size: 2.1rem;
}

.player__details {
  min-width: 0;
}

.player__eyebrow {
  margin: 0 0 9px;
  color: #786e67;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.player__title {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: clamp(1.45rem, 3vw, 2rem);
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.player__artist {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.player__message {
  min-height: 1.25em;
  margin: 9px 0 0;
  color: #9f3b32;
  font-size: 0.82rem;
}

.player__controls {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.player__control {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.player__control:hover {
  transform: translateY(-1px);
  box-shadow: 0 11px 25px rgba(0, 0, 0, 0.08);
}

.player__control--main {
  width: 54px;
  height: 54px;
  background: var(--black);
  color: #ffffff;
  border-color: var(--black);
}

.player__control svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.player__progress {
  margin-top: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}

.player__times {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.player__time {
  color: #777777;
  font-size: 0.76rem;
  font-variant-numeric: tabular-nums;
}

.player__volume {
  margin-top: 14px;
  max-width: 220px;
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.player__volume svg {
  width: 18px;
  height: 18px;
  fill: #222222;
}

input[type="range"] {
  width: 100%;
  height: 4px;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 999px;
  background: linear-gradient(90deg, #111111 0%, #111111 var(--range-fill, 0%), #e7e7e7 var(--range-fill, 0%), #e7e7e7 100%);
}

input[type="range"]::-webkit-slider-thumb {
  width: 13px;
  height: 13px;
  appearance: none;
  -webkit-appearance: none;
  border-radius: 50%;
  background: #111111;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

input[type="range"]::-moz-range-thumb {
  width: 13px;
  height: 13px;
  border: 0;
  border-radius: 50%;
  background: #111111;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.08);
}

.player__library {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.player__tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.player__tab {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 999px;
  background: #f5f5f5;
  color: #5f5f5f;
  font-size: 0.84rem;
  font-weight: 650;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.player__tab:hover,
.player__tab.is-active {
  color: #ffffff;
  background: #111111;
  transform: translateY(-1px);
}

.player__tracks {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.player__track {
  width: 100%;
  min-height: 68px;
  padding: 13px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px;
  align-items: center;
  gap: 16px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.player__track:hover,
.player__track.is-active {
  color: #000000;
  padding-left: 8px;
}

.player__track strong,
.player__track small {
  display: block;
}

.player__track strong {
  font-size: 0.94rem;
  line-height: 1.35;
}

.player__track small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.8rem;
}

.player__track-icon {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f4f4f4;
}

.player__track-icon svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  padding: 18px;
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.modal.is-open {
  opacity: 1;
  visibility: visible;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.66);
  backdrop-filter: blur(18px);
}

.modal__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 880px);
  max-height: min(88vh, 900px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.18);
  transform: translateY(18px) scale(0.985);
  transition: transform 0.28s ease;
}

.modal.is-open .modal__panel {
  transform: translateY(0) scale(1);
}

.modal__panel--small {
  width: min(100%, 580px);
}

.modal__header {
  padding: 22px 22px 16px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

.modal__header p {
  margin: 0 0 8px;
  color: #786e67;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.modal__header h2 {
  margin: 0;
  font-size: 1.7rem;
  letter-spacing: -0.04em;
}

.modal__close {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f3f3f3;
  font-size: 1.35rem;
  line-height: 1;
}

.modal__body {
  max-height: calc(88vh - 88px);
  overflow: auto;
  padding: 20px 22px 24px;
}

.app-list,
.streaming-list {
  display: grid;
  gap: 12px;
}

.app-card {
  padding: 17px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) auto;
  align-items: start;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fbfbfb;
}

.app-card__number {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: #ededed;
  color: #555555;
  font-size: 0.76rem;
  font-weight: 800;
}

.app-card h3 {
  margin: 0;
  font-size: 0.96rem;
}

.app-card p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.87rem;
  line-height: 1.55;
}

.app-card a {
  min-height: 38px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #ffffff;
  background: #111111;
  font-size: 0.75rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.streaming-link {
  min-height: 62px;
  padding: 13px 16px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fbfbfb;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.streaming-link:hover {
  transform: translateY(-1px);
  border-color: #d7d7d7;
}

.streaming-link img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.streaming-link strong {
  font-size: 0.92rem;
}

.streaming-link span {
  color: #6c6c6c;
  font-weight: 700;
}

.footer {
  width: min(100%, var(--max-content));
  margin: 78px auto 0;
  padding: 22px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-top: 1px solid var(--line);
  color: #777777;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.14em;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  filter: blur(13px);
  transition: opacity 0.72s ease, transform 0.72s ease, filter 0.72s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

.reveal--hero {
  transition-duration: 0.9s;
}

@media (max-width: 760px) {
  .site-main {
    padding-right: 14px;
    padding-left: 14px;
  }

  .profile {
    padding-top: 26px;
  }

  .profile__cover-wrap {
    padding-bottom: 58px;
  }

  .profile__cover {
    height: clamp(220px, 55vw, 300px);
    border-radius: 24px 24px 0 0;
  }

  .profile__cover::after {
    bottom: -66px;
    height: 126px;
  }

  .profile__avatar {
    width: 108px;
    height: 108px;
  }

  .profile__role {
    line-height: 1.55;
  }

  .content-section {
    margin-top: 68px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .player__now {
    grid-template-columns: 130px minmax(0, 1fr);
    gap: 18px;
  }

  .player__cover {
    width: 130px;
  }

  .player__volume {
    display: none;
  }

  .app-card {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .app-card a {
    grid-column: 1 / -1;
  }

  .footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 540px) {
  .language {
    top: 12px;
    right: 12px;
  }

  .site-main {
    padding-right: 0;
    padding-left: 0;
  }

  .profile {
    padding-top: 0;
  }

  .profile__cover-wrap {
    width: 100%;
  }

  .profile__cover {
    height: 235px;
    border-radius: 0;
    box-shadow: none;
  }

  .profile__cover::after {
    width: 126%;
    bottom: -68px;
  }

  .profile__content,
  .content-section,
  .footer {
    width: calc(100% - 28px);
  }

  .profile h1 {
    font-size: 2.2rem;
  }

  .profile__bio {
    font-size: 0.94rem;
  }

  .links {
    margin-top: 30px;
  }

  .link-button {
    min-height: 72px;
    padding: 14px 15px;
    border-radius: 14px;
  }

  .link-button strong {
    font-size: 0.96rem;
  }

  .link-button small {
    font-size: 0.8rem;
  }

  .content-section {
    margin-top: 58px;
  }

  .video-frame {
    border-radius: 16px;
  }

  .player__now {
    grid-template-columns: 1fr;
    padding: 20px 0;
  }

  .player__cover {
    width: min(100%, 210px);
  }

  .player__title {
    white-space: normal;
  }

  .player__controls {
    margin-top: 16px;
  }

  .player__progress {
    margin-top: 16px;
  }

  .player__tab {
    font-size: 0.78rem;
  }

  .modal {
    padding: 8px;
  }

  .modal__panel {
    border-radius: 20px;
  }

  .modal__header {
    padding: 18px 16px 14px;
  }

  .modal__body {
    padding: 16px;
  }

  .app-card {
    grid-template-columns: 1fr;
  }

  .app-card__number {
    width: 38px;
  }

  .app-card a {
    grid-column: auto;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* V6 — full-width cover, centered mobile player and horizontal category rail */
:root {
  --page-bg: #f4f2ee;
}

html,
body {
  background: var(--page-bg);
}

.page-loader {
  background: rgba(244, 242, 238, 0.95);
}

.site-main {
  padding-top: 0;
}

.profile {
  padding-top: 0;
}

.profile__cover-wrap {
  width: 100vw;
  max-width: none;
  margin-right: calc(50% - 50vw);
  margin-left: calc(50% - 50vw);
  padding-bottom: 76px;
}

.profile__cover {
  height: clamp(390px, 42vw, 590px);
  border-radius: 0;
  box-shadow: none;
}

.profile__cover::after {
  width: 112%;
  height: 170px;
  bottom: -88px;
  background: var(--page-bg);
}

.profile__cover img {
  transform: none;
  object-position: center 45%;
}

.profile__avatar {
  bottom: 4px;
}

.language {
  top: 22px;
  right: 24px;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.language.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-12px);
}

.language__toggle {
  min-width: auto;
  height: 34px;
  padding: 0 3px;
  gap: 4px;
  border: 0;
  border-radius: 0;
  color: rgba(255, 255, 255, 0.88);
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.34);
}

.language__toggle:hover {
  color: #ffffff;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.language__toggle svg {
  width: 12px;
  height: 12px;
}

.language__menu {
  top: calc(100% + 5px);
  border-color: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  background: rgba(20, 20, 20, 0.88);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(16px);
}

.language__menu button:hover,
.language__menu button.is-active {
  background: rgba(255, 255, 255, 0.12);
}

.player__tabs {
  max-width: 100%;
  margin-bottom: 18px;
  padding: 2px 1px 6px;
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline proximity;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}

.player__tabs::-webkit-scrollbar {
  display: none;
}

.player__tabs:active {
  cursor: grabbing;
}

.player__tab {
  flex: 0 0 auto;
  min-width: 150px;
  min-height: 42px;
  padding: 0 18px;
  scroll-snap-align: center;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: transparent;
  color: #5f5f5f;
  white-space: nowrap;
}

.player__tab:hover,
.player__tab.is-active {
  color: #ffffff;
  background: #111111;
  border-color: #111111;
  transform: none;
}

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  text-align: center;
}

.footer__brand {
  margin: 0;
  color: #626262;
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  white-space: nowrap;
}

.footer__socials {
  margin: 0;
  gap: 18px;
}

.footer__socials a {
  width: 22px;
  height: 22px;
}

.footer__socials svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 900px) {
  .site-main {
    padding-right: 14px;
    padding-left: 14px;
  }

  .profile__cover-wrap {
    padding-bottom: 66px;
  }

  .profile__cover {
    height: clamp(310px, 57vw, 450px);
  }

  .profile__cover::after {
    bottom: -74px;
    height: 144px;
  }

  .player__now {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 20px;
    text-align: center;
  }

  .player__cover {
    width: min(100%, 230px);
    margin-inline: auto;
  }

  .player__details {
    width: min(100%, 620px);
    margin-inline: auto;
    text-align: center;
  }

  .player__controls {
    justify-content: center;
  }

  .player__progress {
    width: 100%;
    max-width: 560px;
    margin-right: auto;
    margin-left: auto;
  }

  .player__volume {
    display: none;
  }

  .player__message {
    text-align: center;
  }

  .player__tabs {
    margin-right: -14px;
    margin-left: -14px;
    padding-right: 14px;
    padding-left: 14px;
  }

  .footer {
    align-items: center;
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 540px) {
  .language {
    top: 14px;
    right: 15px;
  }

  .profile__cover {
    height: 290px;
  }

  .profile__cover::after {
    width: 132%;
    bottom: -72px;
    height: 136px;
  }

  .profile__cover-wrap {
    padding-bottom: 62px;
  }

  .profile__avatar {
    width: 112px;
    height: 112px;
  }

  .player__cover {
    width: min(78vw, 240px);
  }

  .player__title,
  .player__artist,
  .player__eyebrow,
  .player__message {
    text-align: center;
  }

  .player__title {
    white-space: normal;
  }

  .player__tab {
    min-width: 142px;
    border-radius: 9px;
  }

  .footer {
    width: calc(100% - 28px);
    gap: 14px;
  }

  .footer__brand {
    max-width: 100%;
    font-size: clamp(0.61rem, 3vw, 0.7rem);
    letter-spacing: 0.1em;
  }
}


/* V7 refinements */
.profile__cover-wrap {
  padding-bottom: 104px;
}

.profile__cover {
  height: clamp(400px, 43vw, 610px);
}

.profile__cover::after {
  width: 114%;
  height: 178px;
  bottom: -92px;
  background: var(--page-bg);
}

.profile__avatar {
  bottom: -26px;
}

.profile__content {
  padding-top: 34px;
}

.section-heading {
  align-items: flex-end;
}

@media (max-width: 900px) {
  .profile__cover-wrap {
    padding-bottom: 88px;
  }

  .profile__cover {
    height: clamp(320px, 58vw, 465px);
  }

  .profile__cover::after {
    height: 150px;
    bottom: -80px;
  }

  .profile__avatar {
    bottom: -18px;
  }

  .profile__content {
    padding-top: 42px;
  }

  .section-heading {
    align-items: center;
    justify-content: center;
    flex-direction: column;
    text-align: center;
  }

  .section-heading > a,
  .section-heading > span,
  .section-heading p,
  .section-heading h2 {
    text-align: center;
  }

  .player__cover {
    width: 100%;
    max-width: 560px;
    margin-inline: auto;
  }

  .player__details {
    width: 100%;
    max-width: 560px;
  }

  .player__progress {
    width: 100%;
    max-width: 560px;
    margin-inline: auto;
  }
}

@media (max-width: 540px) {
  .profile__cover {
    height: 310px;
  }

  .profile__cover::after {
    width: 138%;
    height: 144px;
    bottom: -74px;
  }

  .profile__cover-wrap {
    padding-bottom: 84px;
  }

  .profile__avatar {
    width: 112px;
    height: 112px;
    bottom: -14px;
  }

  .profile__content {
    padding-top: 46px;
  }

  .player__cover,
  .player__details,
  .player__progress {
    max-width: none;
  }

  .player__cover {
    width: 100%;
  }

  .player__times {
    width: 100%;
  }
}


/* V7.3 cover notch + square buttons */
.link-button {
  border-radius: 0;
}

.profile__cover-wrap {
  padding-bottom: 126px;
}

.profile__cover {
  height: clamp(440px, 44vw, 620px);
}

.profile__cover::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -74px;
  width: 168px;
  height: 168px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: var(--page-bg);
  z-index: 3;
}

.profile__cover::after {
  width: 116%;
  height: 188px;
  bottom: -98px;
}

.profile__avatar {
  width: 128px;
  height: 128px;
  bottom: -38px;
  padding: 8px;
  background: #ffffff;
}

.profile__avatar span {
  inset: 8px;
}

.profile__content {
  padding-top: 62px;
}

@media (max-width: 900px) {
  .profile__cover-wrap {
    padding-bottom: 110px;
  }

  .profile__cover {
    height: clamp(340px, 61vw, 500px);
  }

  .profile__cover::before {
    bottom: -66px;
    width: 154px;
    height: 154px;
  }

  .profile__cover::after {
    height: 168px;
    bottom: -90px;
  }

  .profile__avatar {
    width: 122px;
    height: 122px;
    bottom: -32px;
  }

  .profile__content {
    padding-top: 58px;
  }
}

@media (max-width: 540px) {
  .profile__cover-wrap {
    padding-bottom: 100px;
  }

  .profile__cover {
    height: 334px;
  }

  .profile__cover::before {
    bottom: -60px;
    width: 142px;
    height: 142px;
  }

  .profile__cover::after {
    width: 138%;
    height: 150px;
    bottom: -82px;
  }

  .profile__avatar {
    width: 112px;
    height: 112px;
    bottom: -28px;
    padding: 7px;
  }

  .profile__avatar span {
    inset: 7px;
  }

  .profile__content {
    padding-top: 54px;
  }
}

.profile__cover { overflow: visible; }
.profile__cover img { position: relative; z-index: 1; }


/* V8: exact cover/avatar cutout and square main buttons */
.links .link-button,
.links button.link-button,
.links a.link-button {
  border-radius: 0 !important;
}

.profile__cover-wrap {
  padding-bottom: 82px !important;
}

.profile__cover {
  position: relative;
  height: clamp(420px, 38vw, 570px) !important;
  overflow: visible !important;
}

.profile__cover::before,
.profile__cover::after {
  content: none !important;
  display: none !important;
}

.profile__cover > img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile__cover-edge {
  position: absolute;
  z-index: 2;
  left: -7%;
  bottom: -1px;
  width: 114%;
  height: 62px;
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background: var(--page-bg);
  pointer-events: none;
}

.profile__cover-notch {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: -45px;
  width: 158px;
  height: 158px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: var(--page-bg);
  pointer-events: none;
}

.profile__avatar {
  position: absolute !important;
  z-index: 4 !important;
  left: 50% !important;
  bottom: -29px !important;
  width: 126px !important;
  height: 126px !important;
  padding: 7px !important;
  transform: translateX(-50%) !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.16) !important;
}

.profile__avatar span {
  inset: 7px !important;
}

.profile__content {
  padding-top: 18px !important;
}

@media (max-width: 900px) {
  .profile__cover-wrap {
    padding-bottom: 78px !important;
  }

  .profile__cover {
    height: clamp(350px, 55vw, 470px) !important;
  }

  .profile__cover-edge {
    height: 56px;
  }

  .profile__cover-notch {
    bottom: -42px;
    width: 150px;
    height: 150px;
  }

  .profile__avatar {
    bottom: -27px !important;
    width: 120px !important;
    height: 120px !important;
  }

  .profile__content {
    padding-top: 16px !important;
  }
}

@media (max-width: 540px) {
  .profile__cover-wrap {
    padding-bottom: 72px !important;
  }

  .profile__cover {
    height: 350px !important;
  }

  .profile__cover-edge {
    left: -14%;
    width: 128%;
    height: 50px;
  }

  .profile__cover-notch {
    bottom: -38px;
    width: 138px;
    height: 138px;
  }

  .profile__avatar {
    bottom: -24px !important;
    width: 110px !important;
    height: 110px !important;
    padding: 6px !important;
  }

  .profile__avatar span {
    inset: 6px !important;
  }

  .profile__content {
    padding-top: 14px !important;
  }

  .player__now {
    width: 100%;
  }

  .player__cover {
    width: 100% !important;
    max-width: none !important;
    margin-inline: 0 !important;
    border-radius: 0;
  }

  .player__details,
  .player__progress {
    width: 100% !important;
    max-width: none !important;
  }
}


/* =========================================================
   V9 — authoritative profile cutout, square links and balance
   ========================================================= */

/* Main buttons: intentionally square, no inherited rounding. */
.links > .link-button,
.links > button.link-button,
.links > a.link-button {
  border-radius: 0 !important;
}

/* Full-width cover with one local circular cutout only. */
.profile__cover-wrap {
  position: relative !important;
  width: 100vw !important;
  max-width: none !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding-bottom: 128px !important;
  overflow: visible !important;
}

.profile__cover {
  position: relative !important;
  width: 100% !important;
  height: clamp(420px, 38vw, 560px) !important;
  overflow: hidden !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: #111111 !important;
}

.profile__cover::before,
.profile__cover::after,
.profile__cover-edge,
.profile__cover-notch {
  content: none !important;
  display: none !important;
}

.profile__cover > img {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center 45% !important;
  transform: none !important;
}

/* The page-colored circle overlays the cover and creates the cutout. */
.profile__avatar-cutout {
  position: absolute;
  z-index: 8;
  left: 50%;
  bottom: 18px;
  width: 220px;
  height: 220px;
  display: grid;
  place-items: center;
  transform: translate(-50%, 50%);
  border-radius: 50%;
  background: var(--page-bg);
  pointer-events: none;
}

.profile__avatar {
  position: relative !important;
  inset: auto !important;
  left: auto !important;
  bottom: auto !important;
  width: 176px !important;
  height: 176px !important;
  padding: 8px !important;
  transform: none !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.17) !important;
  pointer-events: auto;
}

.profile__avatar img,
.profile__avatar span {
  border-radius: 50% !important;
}

.profile__avatar img {
  position: relative !important;
  z-index: 2 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.profile__avatar span {
  position: absolute !important;
  z-index: 1 !important;
  inset: 8px !important;
  width: auto !important;
  height: auto !important;
}

.profile__content {
  padding-top: 34px !important;
}

/* Better visual balance for the desktop player. */
.player__now {
  grid-template-columns: 230px minmax(0, 1fr) !important;
  gap: 34px !important;
}

.player__cover {
  width: 230px !important;
  max-width: 230px !important;
  border-radius: 18px !important;
}

@media (max-width: 900px) {
  .profile__cover-wrap {
    padding-bottom: 112px !important;
  }

  .profile__cover {
    height: clamp(330px, 57vw, 455px) !important;
  }

  .profile__avatar-cutout {
    bottom: 15px;
    width: 176px;
    height: 176px;
  }

  .profile__avatar {
    width: 142px !important;
    height: 142px !important;
    padding: 7px !important;
  }

  .profile__avatar span {
    inset: 7px !important;
  }

  .profile__content {
    padding-top: 28px !important;
  }

  .player__now {
    grid-template-columns: 1fr !important;
    justify-items: center !important;
    text-align: center !important;
  }

  .player__cover {
    width: 100% !important;
    max-width: 560px !important;
    margin-inline: auto !important;
    border-radius: 18px !important;
  }

  .player__details,
  .player__progress {
    width: 100% !important;
    max-width: 560px !important;
    margin-inline: auto !important;
  }
}

@media (max-width: 540px) {
  .profile__cover-wrap {
    padding-bottom: 98px !important;
  }

  .profile__cover {
    height: 300px !important;
  }

  .profile__avatar-cutout {
    bottom: 12px;
    width: 150px;
    height: 150px;
  }

  .profile__avatar {
    width: 120px !important;
    height: 120px !important;
    padding: 6px !important;
  }

  .profile__avatar span {
    inset: 6px !important;
  }

  .profile__content {
    padding-top: 24px !important;
  }

  .player__cover,
  .player__details,
  .player__progress {
    width: 100% !important;
    max-width: none !important;
  }

  .player__cover {
    border-radius: 0 !important;
  }
}


/* V9.1 spacing correction: reserve the full avatar/cutout footprint. */
.profile__cover-wrap {
  --profile-cover-height: clamp(420px, 38vw, 560px);
  --profile-cutout-size: 220px;
  height: auto !important;
  padding-bottom: 176px !important;
}

.profile__cover {
  height: var(--profile-cover-height) !important;
}

.profile__avatar-cutout {
  top: calc(var(--profile-cover-height) - (var(--profile-cutout-size) / 2)) !important;
  bottom: auto !important;
  width: var(--profile-cutout-size) !important;
  height: var(--profile-cutout-size) !important;
  transform: translateX(-50%) !important;
}

.profile__content {
  padding-top: 0 !important;
}

@media (max-width: 900px) {
  .profile__cover-wrap {
    --profile-cover-height: clamp(330px, 57vw, 455px);
    --profile-cutout-size: 176px;
    padding-bottom: 142px !important;
  }
}

@media (max-width: 540px) {
  .profile__cover-wrap {
    --profile-cover-height: 300px;
    --profile-cutout-size: 150px;
    padding-bottom: 126px !important;
  }
}

/* =========================================================
   V10 — exact curved cover + circular avatar cutout
   ========================================================= */

/* Only the six main profile links are square. */
.profile__content .links > .link-button {
  border-radius: 0 !important;
}

/* Album artwork keeps its rounded corners at every breakpoint. */
.audio-player .player__cover {
  overflow: hidden !important;
  border-radius: 18px !important;
}

.audio-player .player__cover img,
.audio-player .player__cover span {
  border-radius: inherit !important;
}

.profile__cover-wrap {
  --profile-cover-height: clamp(420px, 38vw, 560px);
  --profile-curve-height: 160px;
  --profile-curve-rise: 110px;
  --profile-cutout-size: 250px;
  --profile-avatar-size: 204px;
  position: relative !important;
  width: 100vw !important;
  max-width: none !important;
  margin-right: calc(50% - 50vw) !important;
  margin-left: calc(50% - 50vw) !important;
  padding-bottom: 154px !important;
  overflow: visible !important;
}

.profile__cover {
  position: relative !important;
  z-index: 1 !important;
  width: 100% !important;
  height: var(--profile-cover-height) !important;
  overflow: hidden !important;
  border-radius: 0 !important;
  background: #111111 !important;
  box-shadow: none !important;
}

.profile__cover::before,
.profile__cover::after {
  content: none !important;
  display: none !important;
}

.profile__cover > img {
  position: absolute !important;
  inset: 0 !important;
  z-index: 1 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center 45% !important;
  transform: none !important;
}

/* Wide curved lower edge of the cover, matching the reference. */
.profile__cover-curve {
  position: absolute;
  z-index: 4;
  left: 0;
  top: calc(var(--profile-cover-height) - var(--profile-curve-rise));
  width: 100%;
  height: var(--profile-curve-height);
  display: block;
  overflow: visible;
  pointer-events: none;
}

.profile__cover-curve path {
  fill: var(--page-bg);
}

/* Local page-coloured circular notch cut into the cover. */
.profile__avatar-cutout {
  position: absolute !important;
  z-index: 7 !important;
  top: calc(var(--profile-cover-height) - 132px) !important;
  bottom: auto !important;
  left: 50% !important;
  width: var(--profile-cutout-size) !important;
  height: var(--profile-cutout-size) !important;
  display: grid !important;
  place-items: center !important;
  transform: translateX(-50%) !important;
  border-radius: 50% !important;
  background: var(--page-bg) !important;
  pointer-events: none;
}

.profile__avatar {
  position: relative !important;
  inset: auto !important;
  left: auto !important;
  bottom: auto !important;
  width: var(--profile-avatar-size) !important;
  height: var(--profile-avatar-size) !important;
  padding: 8px !important;
  transform: none !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.17) !important;
  pointer-events: auto;
}

.profile__avatar img,
.profile__avatar span {
  border-radius: 50% !important;
}

.profile__avatar img {
  position: relative !important;
  z-index: 2 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.profile__avatar span {
  position: absolute !important;
  z-index: 1 !important;
  inset: 8px !important;
  width: auto !important;
  height: auto !important;
}

.profile__content {
  padding-top: 0 !important;
}

@media (max-width: 900px) {
  .profile__cover-wrap {
    --profile-cover-height: clamp(340px, 58vw, 470px);
    --profile-curve-height: 140px;
    --profile-curve-rise: 96px;
    --profile-cutout-size: 190px;
    --profile-avatar-size: 152px;
    padding-bottom: 132px !important;
  }

  .profile__avatar-cutout {
    top: calc(var(--profile-cover-height) - 105px) !important;
  }

  .profile__avatar {
    padding: 7px !important;
  }

  .profile__avatar span {
    inset: 7px !important;
  }
}

@media (max-width: 540px) {
  .profile__cover-wrap {
    --profile-cover-height: 320px;
    --profile-curve-height: 118px;
    --profile-curve-rise: 81px;
    --profile-cutout-size: 150px;
    --profile-avatar-size: 120px;
    padding-bottom: 106px !important;
  }

  .profile__avatar-cutout {
    top: calc(var(--profile-cover-height) - 84px) !important;
  }

  .profile__avatar {
    padding: 6px !important;
  }

  .profile__avatar span {
    inset: 6px !important;
  }

  .audio-player .player__cover {
    width: 100% !important;
    max-width: none !important;
    border-radius: 18px !important;
  }
}


/* V10.1 — shallower cover curve, avatar truly overlaps the image */
.profile__cover-wrap {
  --profile-curve-height: 120px;
  --profile-curve-rise: 66px;
  --profile-cutout-size: 230px;
  --profile-avatar-size: 204px;
  padding-bottom: 132px !important;
}

.profile__avatar-cutout {
  top: calc(var(--profile-cover-height) - 115px) !important;
}

@media (max-width: 900px) {
  .profile__cover-wrap {
    --profile-curve-height: 104px;
    --profile-curve-rise: 57px;
    --profile-cutout-size: 184px;
    --profile-avatar-size: 152px;
    padding-bottom: 118px !important;
  }

  .profile__avatar-cutout {
    top: calc(var(--profile-cover-height) - 92px) !important;
  }
}

@media (max-width: 540px) {
  .profile__cover-wrap {
    --profile-curve-height: 90px;
    --profile-curve-rise: 50px;
    --profile-cutout-size: 148px;
    --profile-avatar-size: 120px;
    padding-bottom: 98px !important;
  }

  .profile__avatar-cutout {
    top: calc(var(--profile-cover-height) - 75px) !important;
  }
}


/* =========================================================
   V10.2 — deeper cover curve, balanced desktop artwork,
   and mobile modal bottom clearance
   ========================================================= */

/* The cover curve rises much farther in the center while
   remaining flush with the cover at both outer edges. */
.profile__cover-wrap {
  --profile-curve-height: 170px !important;
  --profile-curve-rise: 150px !important;
}

.profile__cover-curve {
  top: calc(var(--profile-cover-height) - var(--profile-curve-rise)) !important;
  height: var(--profile-curve-height) !important;
}

/* Increase only the desktop album artwork so its visual weight
   matches the complete controls/text column beside it. */
@media (min-width: 901px) {
  .audio-player .player__now {
    grid-template-columns: 280px minmax(0, 1fr) !important;
    gap: 42px !important;
    align-items: center !important;
  }

  .audio-player .player__cover {
    width: 280px !important;
    max-width: 280px !important;
    border-radius: 20px !important;
  }
}

@media (max-width: 900px) {
  .profile__cover-wrap {
    --profile-curve-height: 136px !important;
    --profile-curve-rise: 116px !important;
  }
}

@media (max-width: 540px) {
  .profile__cover-wrap {
    --profile-curve-height: 118px !important;
    --profile-curve-rise: 103px !important;
  }

  /* Leave a generous, persistent scrollable area beneath the
     last app action so the button never sits beyond the modal. */
  .modal {
    padding: 8px !important;
    align-items: center !important;
  }

  .modal__panel {
    max-height: min(94dvh, 94vh) !important;
  }

  .modal__body {
    max-height: calc(min(94dvh, 94vh) - 82px) !important;
    padding: 16px 16px max(96px, calc(env(safe-area-inset-bottom) + 72px)) !important;
    scroll-padding-bottom: max(96px, calc(env(safe-area-inset-bottom) + 72px)) !important;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .app-list {
    padding-bottom: 4px;
  }

  .app-card:last-child {
    margin-bottom: 12px;
  }
}


/* =========================================================
   V10.3 — avatar centered on the circular cover cutout
   ========================================================= */
.profile__cover-wrap {
  padding-bottom: 44px !important;
}

.profile__avatar-cutout {
  top: calc(var(--profile-cover-height) - 203px) !important;
}

@media (max-width: 900px) {
  .profile__cover-wrap {
    padding-bottom: 44px !important;
  }

  .profile__avatar-cutout {
    top: calc(var(--profile-cover-height) - 157px) !important;
  }
}

@media (max-width: 540px) {
  .profile__cover-wrap {
    padding-bottom: 28px !important;
  }

  .profile__avatar-cutout {
    top: calc(var(--profile-cover-height) - 137px) !important;
  }
}


/* V10.4 — exact vertical centering of the avatar inside the cover notch */
.profile__avatar {
  transform: translateY(12px) !important;
}

@media (max-width: 900px) {
  .profile__avatar {
    transform: translateY(9px) !important;
  }
}

@media (max-width: 540px) {
  .profile__avatar {
    transform: translateY(7px) !important;
  }
}


/* V10.5: preloader fail-safe */
.page-loader {
  animation: paivaLoaderFailsafe 0s linear 4s forwards;
}

.page-loader.is-hidden {
  animation: none;
}

@keyframes paivaLoaderFailsafe {
  to {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
  }
}

/* =========================================================
   V10.6 — move the circular cutout together with the avatar.
   The avatar and its page-coloured contour now share one exact center.
   ========================================================= */
.profile__avatar {
  transform: none !important;
}

.profile__avatar-cutout {
  top: calc(var(--profile-cover-height) - 191px) !important;
}

@media (max-width: 900px) {
  .profile__avatar {
    transform: none !important;
  }

  .profile__avatar-cutout {
    top: calc(var(--profile-cover-height) - 148px) !important;
  }
}

@media (max-width: 540px) {
  .profile__avatar {
    transform: none !important;
  }

  .profile__avatar-cutout {
    top: calc(var(--profile-cover-height) - 130px) !important;
  }
}


/* =========================================================
   V10.8 — larger avatar and white frame, tightly fitted
   inside the existing circular cover cutout.
   ========================================================= */
.profile__cover-wrap {
  --profile-avatar-size: 220px !important;
}

.profile__avatar {
  padding: 8px !important;
}

.profile__avatar span {
  inset: 8px !important;
}

@media (max-width: 900px) {
  .profile__cover-wrap {
    --profile-avatar-size: 174px !important;
  }

  .profile__avatar {
    padding: 7px !important;
  }

  .profile__avatar span {
    inset: 7px !important;
  }
}

@media (max-width: 540px) {
  .profile__cover-wrap {
    --profile-avatar-size: 140px !important;
  }

  .profile__avatar {
    padding: 6px !important;
  }

  .profile__avatar span {
    inset: 6px !important;
  }
}

/* =========================================================
   V10.9 — refined vertical rhythm for the profile groups
   ========================================================= */
.profile__content {
  padding-top: 36px !important;
}

.profile__username {
  margin-top: 15px !important;
}

.profile__role {
  margin-top: 28px !important;
}

.profile__bio {
  margin-top: 18px !important;
}

.profile__content > .socials {
  margin-top: 30px !important;
}

.profile__content > .links {
  margin-top: 42px !important;
}

@media (max-width: 900px) {
  .profile__content {
    padding-top: 31px !important;
  }

  .profile__username {
    margin-top: 14px !important;
  }

  .profile__role {
    margin-top: 25px !important;
  }

  .profile__bio {
    margin-top: 17px !important;
  }

  .profile__content > .socials {
    margin-top: 28px !important;
  }

  .profile__content > .links {
    margin-top: 38px !important;
  }
}

@media (max-width: 540px) {
  .profile__content {
    padding-top: 27px !important;
  }

  .profile__username {
    margin-top: 13px !important;
  }

  .profile__role {
    margin-top: 23px !important;
  }

  .profile__bio {
    margin-top: 16px !important;
  }

  .profile__content > .socials {
    margin-top: 26px !important;
  }

  .profile__content > .links {
    margin-top: 35px !important;
  }
}


/* =========================================================
   V10.10 — centered main-button labels
   ========================================================= */
.profile__content .links > .link-button,
.profile__content .links > button.link-button,
.profile__content .links > a.link-button {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  padding-right: 52px !important;
  padding-left: 52px !important;
}

.profile__content .links > .link-button > span {
  width: 100% !important;
  min-width: 0 !important;
  text-align: center !important;
}

.profile__content .links > .link-button > svg {
  position: absolute !important;
  top: 50% !important;
  right: 18px !important;
  margin: 0 !important;
  transform: translateY(-50%) !important;
}

.profile__content .links > .link-button:hover > svg {
  transform: translate(3px, -50%) !important;
}


/* =========================================================
   V10.11 — discreet language selector + store modal
   ========================================================= */
.language__toggle,
.language__toggle:hover {
  min-width: 0 !important;
  height: auto !important;
  padding: 4px 2px !important;
  gap: 3px !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: rgba(255, 255, 255, 0.58) !important;
  background: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  font-size: 0.7rem !important;
  font-weight: 300 !important;
  letter-spacing: 0.06em !important;
  text-shadow: 0 1px 7px rgba(0, 0, 0, 0.24) !important;
  transform: none !important;
}

.language__toggle:hover {
  color: rgba(255, 255, 255, 0.82) !important;
}

.language__toggle svg {
  width: 10px !important;
  height: 10px !important;
  opacity: 0.62 !important;
}

.store-list {
  display: grid;
  gap: 12px;
}

.store-link {
  min-height: 76px;
  padding: 13px 16px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fbfbfb;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.store-link:hover {
  transform: translateY(-1px);
  border-color: #d7d7d7;
}

.store-logo {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 9px;
  flex: 0 0 auto;
}

.store-logo img {
  width: 25px;
  height: 25px;
  display: block;
  object-fit: contain;
}

.store-logo--analog {
  color: #ffffff;
  background: #111111;
  font-size: 1rem;
  font-weight: 800;
}

.store-logo--shopee {
  background: #ee4d2d;
}

.store-logo--mercado {
  background: #ffe600;
}

.store-logo--mercado img {
  width: 30px;
  height: 30px;
}

.store-link__copy {
  min-width: 0;
  display: block;
}

.store-link__copy strong {
  display: block;
  color: #111111;
  font-size: 0.94rem;
  line-height: 1.25;
}

.store-link__copy small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.4;
}

.store-link__arrow {
  color: #6c6c6c;
  font-weight: 700;
}

@media (max-width: 540px) {
  .language__toggle,
  .language__toggle:hover {
    font-size: 0.66rem !important;
  }

  .store-link {
    min-height: 78px;
    padding: 12px 13px;
    grid-template-columns: 40px minmax(0, 1fr) auto;
    gap: 12px;
  }

  .store-logo {
    width: 40px;
    height: 40px;
  }

  #storeModal .modal__body {
    padding-bottom: max(38px, calc(24px + env(safe-area-inset-bottom))) !important;
  }
}

.store-logo__fallback {
  width: 100%;
  height: 100%;
  display: none;
  place-items: center;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
}

.store-logo--mercado .store-logo__fallback {
  color: #111111;
}
