@font-face {
  font-family: "Inter";
  src: url("/static/website/fonts/inter-cyrillic-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Account notification center */
.site-notification-link {
  position: relative;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border: 1px solid #d8e5ec;
  border-radius: 8px;
  color: #009f9a;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 8px 20px rgba(6, 21, 46, .055);
}

.site-notification-link .icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-notification-link > span {
  position: absolute;
  top: -5px;
  right: -5px;
  display: grid;
  place-items: center;
  min-width: 19px;
  height: 19px;
  padding: 0 4px;
  border: 2px solid #fff;
  border-radius: 999px;
  color: #fff;
  background: #ff5b59;
  font-size: 9px;
  font-weight: 900;
}

.account-dashboard .account-top-actions a.account-notification-toggle.button {
  position: relative;
  min-width: 50px;
  width: 50px;
  padding: 0;
  color: #037c79;
}

.account-notification-toggle svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.account-notification-toggle > span {
  position: absolute;
  top: 5px;
  right: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border: 2px solid #fff;
  border-radius: 999px;
  color: #fff;
  background: #ff5b59;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
}

.account-notifications-page .account-shell {
  max-width: 1320px;
}

.account-notifications-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.account-notifications-heading h1 {
  margin: 7px 0 5px;
  color: #06152e;
  font-size: clamp(34px, 4vw, 56px);
  letter-spacing: 0;
}

.account-notifications-heading p {
  margin: 0;
  color: #60738d;
  font-size: 17px;
}

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

.account-notification-row {
  position: relative;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  min-height: 112px;
  padding: 18px 22px;
  border: 1px solid #d9e6ee;
  border-left: 4px solid #20b9b5;
  border-radius: 12px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 12px 34px rgba(6, 21, 46, .055);
}

.account-notification-row.is-promo { border-left-color: #ff5b59; }
.account-notification-row.is-success { border-left-color: #32c97a; }
.account-notification-row.is-warning { border-left-color: #f5ae20; }
.account-notification-row:not(.is-unread) { opacity: .78; }

.account-notification-image,
.account-notification-icon {
  width: 76px;
  height: 76px;
  border-radius: 12px;
}

.account-notification-image {
  display: block;
  object-fit: cover;
}

.account-notification-icon {
  display: grid;
  place-items: center;
  color: #029f9a;
  background: #e7f8f7;
}

.account-notification-row.is-promo .account-notification-icon { color: #e44d4b; background: #fff0ef; }
.account-notification-row.is-success .account-notification-icon { color: #168d57; background: #eaf9f1; }
.account-notification-row.is-warning .account-notification-icon { color: #a76b00; background: #fff6dd; }

.account-notification-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.account-notification-copy {
  min-width: 0;
}

.account-notification-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #71849b;
  font-size: 12px;
}

.account-notification-meta span {
  color: #028f8b;
  font-weight: 900;
  text-transform: uppercase;
}

.account-notification-copy h2 {
  margin: 7px 0 5px;
  color: #06152e;
  font-size: 21px;
  letter-spacing: 0;
}

.account-notification-copy > p {
  max-width: 900px;
  margin: 0;
  color: #536a84;
  line-height: 1.55;
}

.account-notification-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 13px;
}

.account-notification-read {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid #bfdedc;
  border-radius: 50%;
  color: #028f8b;
  background: #fff;
  cursor: pointer;
}

.account-notification-read:hover { background: #eaf9f8; }
.account-notification-read svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; }

.account-notification-dot {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff5b59;
  box-shadow: 0 0 0 5px rgba(255, 91, 89, .1);
}

.account-notification-empty {
  display: grid;
  justify-items: center;
  min-height: 320px;
  padding: 72px 24px;
  text-align: center;
}

.account-notification-empty > span {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  color: #0aa9a5;
  background: #e9f9f8;
}

.account-notification-empty svg { width: 32px; height: 32px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.account-notification-empty h2 { margin: 18px 0 5px; color: #06152e; }
.account-notification-empty p { margin: 0; color: #6a7e95; }

@media (max-width: 720px) {
  .account-notifications-heading {
    align-items: stretch;
    flex-direction: column;
  }

  .account-notifications-heading form,
  .account-notifications-heading .button {
    width: 100%;
  }

  .account-notification-row {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 12px;
    padding: 15px;
  }

  .account-notification-image,
  .account-notification-icon {
    width: 54px;
    height: 54px;
    border-radius: 9px;
  }

  .account-notification-icon svg { width: 24px; height: 24px; }
  .account-notification-meta { align-items: flex-start; flex-direction: column; gap: 3px; padding-right: 18px; }
  .account-notification-copy h2 { font-size: 18px; }
}

@font-face {
  font-family: "Inter";
  src: url("/static/website/fonts/inter-cyrillic-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/static/website/fonts/inter-cyrillic-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/static/website/fonts/inter-cyrillic-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("/static/website/fonts/inter-cyrillic-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  font-family: Inter, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: #07152b;
  background: #fff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

body.site-home-page .site-frame {
  position: relative;
  background:
    linear-gradient(rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.35)),
    url("/static/website/home-music-bg-variant1.png") center top / min(1600px, 120vw) auto repeat-y,
    #fff;
}

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

button,
textarea {
  font: inherit;
}

.site-frame {
  min-height: 100vh;
  overflow: hidden;
}

.site-header {
  position: relative;
  z-index: 20;
  display: grid;
  grid-template-columns: 220px minmax(420px, 1fr) 330px;
  align-items: center;
  max-width: 1280px;
  min-height: 86px;
  margin: 0 auto;
  padding: 0 66px;
  background: rgba(255, 255, 255, 0.96);
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  color: #07152b;
  font-size: 35px;
  font-weight: 800;
  line-height: 1;
}

.wordmark strong {
  color: #05b8b4;
}

.desktop-nav {
  display: flex;
  justify-content: center;
  gap: 34px;
  font-size: 14px;
  font-weight: 600;
}

.desktop-nav a {
  display: inline-flex;
  transition: color 0.22s ease, transform 0.22s ease;
  will-change: transform;
}

.desktop-nav a:hover {
  color: #05aaa7;
  transform: translateY(-3px);
}

.header-actions,
.hero-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.button.primary {
  color: #fff;
  background: #05b8b4;
  box-shadow: 0 14px 30px rgba(5, 184, 180, 0.2);
}

.button.secondary,
.button.ghost {
  color: #07152b;
  background: #fff;
  border-color: #d8e0e8;
}

.site-login-button {
  min-width: 128px;
  gap: 10px;
  padding: 0 18px;
  border-color: #d7e4ee;
  border-radius: 11px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(6, 21, 46, 0.045);
}

.site-login-button:hover {
  border-color: #c9d8e4;
  background: #fff;
  box-shadow: 0 16px 34px rgba(6, 21, 46, 0.09);
}

.site-login-icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button.compact {
  min-height: 52px;
  padding: 0 28px;
}

.button.compact.site-login-button {
  min-height: 50px;
  padding: 0 18px;
}

.button.large {
  min-width: 250px;
  min-height: 72px;
  border-radius: 12px;
  font-size: 18px;
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid #d8e0e8;
  border-radius: 10px;
  color: #07152b;
  background: #fff;
  font-size: 24px;
}

.hero-section {
  position: relative;
  min-height: 860px;
  padding: 76px 0 96px;
  background: #fff;
}

.hero-photo {
  position: absolute;
  inset: 0 0 auto 0;
  height: 860px;
  background: url("/static/website/hero-imusicon-studio.png") center top / cover no-repeat;
}

.hero-photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 210px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 470px;
  align-items: center;
  gap: 96px;
  max-width: 1348px;
  margin: 0 auto;
  padding: 0 42px;
}

.hero-copy h1 {
  max-width: 705px;
  margin: 42px 0 0;
  font-size: 76px;
  font-weight: 800;
  line-height: 1.08;
}

.hero-copy p {
  max-width: 700px;
  margin: 24px 0 0;
  color: #53627a;
  font-size: 27px;
  line-height: 1.4;
}

.ai-pill {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 20px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 44px rgba(7, 21, 43, 0.08);
  font-size: 16px;
  font-weight: 700;
}

.hero-actions {
  justify-content: flex-start;
  margin-top: 42px;
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 700px;
  margin-top: 58px;
}

.feature-item {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
}

.feature-item > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #ccefed;
  font-weight: 800;
}

.feature-item:nth-child(2) > span {
  background: #ffe29a;
}

.feature-item strong {
  display: block;
  font-size: 14px;
  transition: color 180ms ease;
}

.feature-item p {
  margin: 8px 0 0;
  color: #63728a;
  font-size: 12px;
  line-height: 1.45;
  transition: color 180ms ease;
}

.feature-item > div {
  transform: translateY(0);
  transition: transform 180ms ease;
}

.builder-card {
  width: 100%;
  margin-top: 52px;
  padding: 34px 32px 30px;
  border: 1px solid rgba(216, 224, 232, 0.95);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 24px 70px rgba(7, 21, 43, 0.18);
  backdrop-filter: blur(18px);
}

.card-question {
  margin: 0 0 20px;
  color: #53627a;
  font-size: 14px;
  font-weight: 700;
}

.choice-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.choice-card {
  display: flex;
  align-items: center;
  flex-direction: column;
  min-height: 174px;
  padding: 26px 20px 22px;
  border: 1px solid #dce4ec;
  border-radius: 12px;
  background: #fff;
  text-align: center;
}

.choice-card.selected {
  border-color: #05b8b4;
  box-shadow: inset 0 0 0 1px #05b8b4;
}

.choice-card:focus-visible,
.play-button:focus-visible,
.mini-play:focus-visible,
.examples-more-link:focus-visible,
.more-button:focus-visible,
.menu-button:focus-visible {
  outline: 3px solid rgba(5, 184, 180, 0.22);
  outline-offset: 3px;
}

.choice-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 62px;
  margin-bottom: 19px;
  border-radius: 50%;
  color: #05b8b4;
  background: #ddf7f5;
  font-size: 28px;
  font-weight: 800;
}

.choice-icon.muted {
  color: #05b8b4;
  background: #ddf7f5;
}

.choice-card strong {
  font-size: 15px;
}

.choice-card small {
  max-width: 140px;
  margin-top: 12px;
  color: #68768b;
  font-size: 13px;
  line-height: 1.35;
}

.idea-field {
  display: grid;
  gap: 12px;
  margin-top: 28px;
  font-size: 14px;
  font-weight: 700;
}

.idea-field textarea {
  min-height: 106px;
  padding: 17px 18px;
  border: 1px solid #d8e0e8;
  border-radius: 10px;
  color: #647288;
  resize: none;
}

.builder-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 17px;
}

.builder-chips span {
  min-height: 25px;
  padding: 5px 9px;
  border-radius: 7px;
  color: #526176;
  background: #eef2f5;
  font-size: 11px;
  font-weight: 700;
}

.next-button {
  float: right;
  min-height: 46px;
  margin-top: 28px;
  font-size: 13px;
}

.audio-preview {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: 56px minmax(240px, 1fr) auto auto;
  align-items: center;
  gap: 20px;
  max-width: 1124px;
  min-height: 86px;
  margin: -108px auto 0;
  padding: 18px 22px;
  border-radius: 16px;
  color: #fff;
  background: linear-gradient(90deg, rgba(5, 184, 180, 0.13), transparent 42%), #172338;
  box-shadow: 0 24px 52px rgba(7, 21, 43, 0.22);
}

.play-button,
.mini-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: #05b8b4;
}

.play-button {
  width: 50px;
  height: 50px;
}

.waveform {
  display: flex;
  width: 100%;
  min-width: 0;
  flex: 1 1 auto;
  align-items: center;
  gap: 3px;
  height: 45px;
  overflow: hidden;
  border-radius: 999px;
  cursor: pointer;
  outline: none;
  touch-action: manipulation;
}

.waveform i {
  display: block;
  width: 3px;
  flex: 0 0 3px;
  height: 22px;
  border-radius: 999px;
  background: #a9b7c6;
}

.waveform i:nth-child(3n) { height: 34px; }
.waveform i:nth-child(4n) { height: 14px; }
.waveform.strong i { background: linear-gradient(180deg, #19d2cf, #d5dee8); }

.waveform:focus-visible {
  box-shadow: 0 0 0 3px rgba(11, 184, 178, 0.18);
}

.waveform i.is-filled,
.waveform.strong i.is-filled {
  background: linear-gradient(180deg, #08c9c4, #7be8e3);
  box-shadow: 0 0 8px rgba(5, 184, 180, 0.22);
}

.steps-section,
.tariff-section,
.examples-section,
.reviews-section,
.faq-section {
  position: relative;
  max-width: 1280px;
  margin: 0 auto;
  padding: 90px 42px 0;
}

.steps-section::before,
.tariff-section::before,
.examples-section::before,
.reviews-section::before,
.faq-section::before {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

.steps-section::before {
  top: 54px;
  right: 56px;
  width: 150px;
  height: 150px;
  opacity: 0.055;
  transform: rotate(-9deg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 160' fill='none'%3E%3Cpath d='M55 116V38l62-13v74' stroke='%2305b8b4' stroke-width='8' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='39' cy='116' r='18' stroke='%2305b8b4' stroke-width='8'/%3E%3Ccircle cx='101' cy='99' r='18' stroke='%2305b8b4' stroke-width='8'/%3E%3Cpath d='M118 25v28L55 66' stroke='%2305b8b4' stroke-width='8' stroke-linecap='round'/%3E%3C/svg%3E");
}

.tariff-section::before {
  left: 14px;
  bottom: 28px;
  width: 118px;
  height: 118px;
  opacity: 0.045;
  transform: rotate(8deg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 160' fill='none'%3E%3Cpath d='M35 68h90v66H35V68Z' stroke='%2305b8b4' stroke-width='8' stroke-linejoin='round'/%3E%3Cpath d='M24 45h112v30H24V45Z' stroke='%2305b8b4' stroke-width='8' stroke-linejoin='round'/%3E%3Cpath d='M80 45v89' stroke='%2305b8b4' stroke-width='8' stroke-linecap='round'/%3E%3Cpath d='M80 45H58c-13 0-22-8-22-18 0-9 7-16 17-16 17 0 27 34 27 34Zm0 0h22c13 0 22-8 22-18 0-9-7-16-17-16-17 0-27 34-27 34Z' stroke='%2305b8b4' stroke-width='8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.examples-section::before {
  display: none;
}

.reviews-section::before {
  left: auto;
  right: 42px;
  top: 72px;
  width: 130px;
  height: 130px;
  opacity: 0.04;
  transform: rotate(10deg);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 160' fill='none'%3E%3Cpath d='M48 36h64c15 0 27 12 27 27v8c0 15-12 27-27 27H82l-31 25V98h-3c-15 0-27-12-27-27v-8c0-15 12-27 27-27Z' stroke='%2305b8b4' stroke-width='8' stroke-linejoin='round'/%3E%3Cpath d='M58 67h44M58 84h29' stroke='%2305b8b4' stroke-width='8' stroke-linecap='round'/%3E%3C/svg%3E");
}

.faq-section::before {
  content: "?";
  right: 88px;
  top: 48px;
  width: auto;
  height: auto;
  color: rgba(5, 184, 180, 0.055);
  font-size: 150px;
  font-weight: 800;
  line-height: 1;
  opacity: 1;
  transform: rotate(8deg);
  background-image: none;
}

.section-heading,
.steps-line,
.tariff-layout,
.examples-head,
.example-list,
.trial-cta,
.review-carousel,
.faq-list {
  position: relative;
  z-index: 1;
}

.section-heading.left {
  margin: 0 24px 38px;
}

.section-heading h2,
.tariff-title h2,
.examples-head h2 {
  margin: 0;
  font-size: 34px;
  font-weight: 800;
}

.section-heading p,
.tariff-title p,
.examples-head p {
  margin: 12px 0 0;
  color: #627187;
  font-size: 17px;
}

.steps-line {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
  padding: 0 24px 54px;
  border-bottom: 1px solid #dfe6ed;
}

.step-item {
  position: relative;
  text-align: center;
}

.step-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: #ccefed;
  box-shadow: 0 16px 38px rgba(8, 22, 48, 0);
  transform: translateY(0) scale(1);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease,
    background-color 220ms ease;
}

.step-icon.warm {
  background: #ffe19a;
}

.step-item h3 {
  margin: 22px 0 0;
  font-size: 18px;
  transform: translateY(0);
  transition:
    color 220ms ease,
    transform 220ms ease;
}

.step-item p {
  max-width: 210px;
  margin: 14px auto 0;
  color: #617187;
  line-height: 1.5;
  transform: translateY(0);
  transition:
    color 220ms ease,
    transform 220ms ease;
}

.tariff-section {
  padding-top: 36px;
}

.tariff-layout {
  display: grid;
  grid-template-columns: 190px repeat(3, minmax(150px, 1fr)) 300px;
  gap: 22px;
  padding: 0 24px 34px;
  border-bottom: 1px solid #dfe6ed;
}

.tariff-cards {
  position: relative;
  grid-column: 2 / 5;
  min-width: 0;
  margin-top: -12px;
  padding: 0 34px;
}

.tariff-layout--compact {
  grid-template-columns: 190px repeat(3, minmax(150px, 1fr));
}

.tariff-viewport {
  overflow: hidden;
  padding: 10px 4px 12px;
  margin: -10px -4px 0;
}

.tariff-track {
  --visible-tariffs: 3;
  --tariff-gap: 22px;
  --tariff-card-basis: calc((100% - 44px) / 3);
  display: flex;
  gap: var(--tariff-gap);
  transition: transform 0.36s ease;
  will-change: transform;
}

.tariff-controls {
  position: absolute;
  inset: 0 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
  pointer-events: none;
  z-index: 4;
}

.tariff-cards.is-static .tariff-controls {
  display: none;
}

.tariff-control {
  width: 32px;
  height: 64px;
  border: 1px solid #d9e7ef;
  border-radius: 999px;
  color: #667790;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 252, 253, 0.92));
  box-shadow: 0 10px 22px rgba(7, 21, 43, 0.06);
  pointer-events: auto;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.tariff-control.previous .icon {
  transform: rotate(180deg);
}

.tariff-control:disabled {
  opacity: 0.36;
  cursor: default;
  box-shadow: none;
}

@media (hover: hover) {
  .tariff-control:not(:disabled):hover {
    transform: scale(1.04);
    border-color: #93e8e5;
    background: linear-gradient(180deg, #ffffff, #eafbfa);
    color: #05aaa7;
    box-shadow: 0 14px 28px rgba(5, 184, 180, 0.13);
  }
}

.trial-cta {
  display: flex;
  justify-content: center;
  max-width: 1280px;
  margin: 32px auto 0;
  padding: 0 66px;
}

.shine-button {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.trial-button {
  min-width: 300px;
  box-shadow:
    0 14px 30px rgba(5, 184, 180, 0.18),
    0 24px 60px rgba(5, 184, 180, 0.08);
}

.shine-button::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -45%;
  bottom: -45%;
  left: -70%;
  width: 42%;
  background: linear-gradient(
    100deg,
    transparent 0%,
    rgba(255, 255, 255, 0.14) 28%,
    rgba(255, 255, 255, 0.64) 50%,
    rgba(255, 255, 255, 0.14) 72%,
    transparent 100%
  );
  filter: blur(0.2px);
  transform: skewX(-18deg);
  animation: trialButtonShine 1.5s ease-in-out infinite;
  pointer-events: none;
}

.shine-button .icon,
.shine-button span {
  position: relative;
  z-index: 1;
}

.tariff-title {
  padding-top: 26px;
}

.tariff-card,
.usage-card {
  min-height: 178px;
  border: 1px solid #dce4ec;
  border-radius: 12px;
  background: #fff;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.tariff-card {
  position: relative;
  flex: 0 0 var(--tariff-card-basis);
  min-width: 0;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 0 24px;
  text-align: left;
  border-color: #b9d5e4;
  background:
    linear-gradient(90deg, rgba(5, 184, 180, 0.1), rgba(255, 255, 255, 0) 34%),
    linear-gradient(180deg, #fff 0%, #fcfeff 100%);
  box-shadow:
    inset 0 0 0 1px rgba(5, 184, 180, 0.05),
    0 12px 30px rgba(7, 21, 43, 0.055);
  animation: tariffCardIn 0.55s ease both;
}

.tariff-card:hover {
  transform: translateY(-6px);
  border-color: #05b8b4;
  box-shadow:
    inset 0 0 0 1px rgba(5, 184, 180, 0.32),
    0 0 0 4px rgba(5, 184, 180, 0.08),
    0 24px 56px rgba(5, 184, 180, 0.18);
}

.usage-card:hover {
  transform: translateY(-5px);
  border-color: #b9c8d8;
  box-shadow: 0 20px 46px rgba(7, 21, 43, 0.1);
}

.tariff-card.featured {
  border-color: #05b8b4;
  box-shadow:
    inset 0 0 0 1px rgba(5, 184, 180, 0.3),
    0 16px 38px rgba(5, 184, 180, 0.1);
  animation:
    tariffCardIn 0.55s ease both,
    tariffPulse 3.4s ease-in-out 0.8s infinite;
}

.tariff-card span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  margin: 0 -24px;
  padding: 0 24px;
  border-radius: 11px 11px 0 0;
  background: linear-gradient(180deg, rgba(214, 247, 245, 0.82) 0%, rgba(255, 255, 255, 0) 100%);
  color: #07152b;
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
}

.tariff-card:hover span {
  background: linear-gradient(180deg, #ccf3ef 0%, #e4fbf9 62%, rgba(255, 255, 255, 0) 100%);
}

.tariff-card-content {
  position: relative;
  flex: 1;
  display: grid;
  grid-template-rows: 1fr auto 48px;
  justify-items: start;
  align-items: center;
  min-height: 130px;
  padding: 16px 0 18px;
}

.tariff-card strong {
  display: block;
  grid-row: 2;
  margin-top: 0;
  font-size: 34px;
  white-space: nowrap;
  transform: translateY(-6px);
}

.tariff-card p {
  margin: 18px 0 0;
  color: #65748a;
}

.tariff-more-note {
  grid-column: 2 / 5;
  margin: 6px 0 0;
  color: #65748a;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.tariff-more-note a {
  color: #05aaa7;
  font-weight: 900;
  text-decoration: none;
}

.tariff-more-note a:hover {
  color: #048f8d;
}

.tariff-card mark {
  position: relative;
  z-index: 2;
  grid-row: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 24px;
  margin: 14px 0 0;
  padding: 6px 12px 5px;
  border-radius: 999px;
  background: var(--badge-bg, #ffd54e);
  color: var(--badge-color, #081630);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  box-shadow: 0 8px 18px rgba(7, 21, 43, 0.08);
}

.tariff-equalizer {
  position: absolute;
  right: 0;
  bottom: 16px;
  z-index: 1;
  display: inline-flex;
  align-items: flex-end;
  gap: 4px;
  height: 42px;
  color: #05b8b4;
  opacity: 0.42;
  transition:
    opacity 0.22s ease,
    transform 0.22s ease;
}

.tariff-equalizer i {
  display: block;
  width: 4px;
  border-radius: 999px;
  background: currentColor;
}

.tariff-equalizer i:nth-child(1) {
  height: 17px;
}

.tariff-equalizer i:nth-child(2) {
  height: 28px;
}

.tariff-equalizer i:nth-child(3) {
  height: 38px;
}

.tariff-equalizer i:nth-child(4) {
  height: 24px;
}

.tariff-equalizer i:nth-child(5) {
  height: 33px;
}

.tariff-card:hover .tariff-equalizer {
  opacity: 0.72;
  transform: translateY(-2px);
}

.usage-card {
  grid-column: 5;
  grid-row: 1 / 3;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: start;
  column-gap: 16px;
  row-gap: 12px;
  min-height: auto;
  padding: 27px 29px;
  background: linear-gradient(135deg, #f7fcfd, #f3fbfb);
  animation: tariffCardIn 0.55s ease 0.08s both;
}

.diamond {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #05b8b4;
  background: #e0f8f6;
}

.usage-card p {
  grid-column: 1 / -1;
  margin: 0;
  color: #65748a;
}

.usage-card h3 {
  align-self: center;
  margin: 0;
  font-size: 20px;
  line-height: 1.18;
}

.usage-card a {
  grid-column: 1 / -1;
  margin-top: 2px;
}

.usage-card a,
.examples-head a,
.examples-more-link {
  color: #05aaa7;
  font-weight: 800;
}

.examples-more-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font: inherit;
  padding: 0;
}

.examples-more-link:hover {
  color: #009d98;
}

.examples-more-link .icon {
  transition: transform 0.18s ease;
}

.examples-section {
  padding-top: 40px;
}

.examples-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin: 0 24px 30px;
}

.example-list {
  display: grid;
  gap: 12px;
  margin: 0 24px;
}

.example-row {
  display: grid;
  grid-template-columns: 78px 42px 190px minmax(170px, 1fr) 60px 92px minmax(170px, 1fr);
  align-items: center;
  gap: 20px;
  min-height: 96px;
  padding: 11px 18px;
  border: 1px solid #dce4ec;
  border-radius: 12px;
  background: #fff;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    background-color 0.22s ease,
    box-shadow 0.22s ease;
}

.example-row:hover,
.example-row:focus-within,
.example-row.is-playing {
  transform: translateY(-2px);
  border-color: #74deda;
  background: linear-gradient(90deg, rgba(5, 184, 180, 0.065), #fff 42%);
  box-shadow:
    inset 0 0 0 1px rgba(5, 184, 180, 0.12),
    0 16px 34px rgba(7, 21, 43, 0.08);
}

.example-row:hover .mini-play:not(:disabled),
.example-row:focus-within .mini-play:not(:disabled),
.example-row.is-playing .mini-play:not(:disabled) {
  background: #05b8b4;
  box-shadow: 0 12px 26px rgba(5, 184, 180, 0.2);
}

.example-row[hidden] {
  display: none !important;
}

.example-row.is-revealed {
  animation: exampleReveal 0.24s ease both;
}

@keyframes exampleReveal {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.example-cover {
  display: block;
  width: 68px;
  height: 68px;
  border-radius: 10px;
  object-fit: cover;
  background: linear-gradient(135deg, #d7f8f5, #ffe19a);
}

.mini-play {
  width: 38px;
  height: 38px;
  background: #666;
}

.example-copy h3 {
  margin: 0;
  font-size: 15px;
}

.example-copy p,
.example-note,
.example-time {
  color: #65748a;
}

.example-audio-line {
  display: contents;
}

.genre-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  width: 92px;
  min-height: 30px;
  padding: 7px 12px;
  border-radius: 8px;
  color: #31716f;
  background: #d8f4f1;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.12;
  text-align: center;
  word-break: normal;
}

.example-empty {
  padding: 24px;
  border: 1px dashed #cbd6e0;
  border-radius: 14px;
  color: #65748a;
}

.reviews-section {
  padding-top: 72px;
}

.reviews-section .section-heading {
  max-width: 820px;
  margin: 0 24px 30px;
}

.review-carousel {
  position: relative;
  margin: 0 24px;
  padding: 10px 58px 18px;
}

.review-viewport {
  overflow: hidden;
  padding: 10px 4px 24px;
  margin: -10px -4px -24px;
}

.review-track {
  --visible-reviews: 3;
  --review-gap: 18px;
  display: flex;
  gap: var(--review-gap);
  transition: transform 0.36s ease;
  will-change: transform;
}

.review-controls {
  position: absolute;
  inset: 10px 0 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0;
  pointer-events: none;
  z-index: 4;
}

.review-carousel.is-static .review-controls {
  display: none;
}

.review-control {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid #d8e2eb;
  border-radius: 50%;
  color: #07152b;
  background: #fff;
  cursor: pointer;
  pointer-events: auto;
  box-shadow: 0 12px 26px rgba(7, 21, 43, 0.08);
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease;
}

.review-control.previous .icon {
  transform: rotate(180deg);
}

.review-control:disabled {
  cursor: default;
  opacity: 0.42;
  transform: none;
  box-shadow: none;
}

@media (hover: hover) and (pointer: fine) {
  .review-control:not(:disabled):hover {
    transform: translateY(-2px);
    border-color: #05b8b4;
    color: #05b8b4;
    box-shadow: 0 12px 30px rgba(5, 184, 180, 0.16);
  }
}

.review-card {
  position: relative;
  flex: 0 0 calc((100% - 36px) / 3);
  overflow: hidden;
  isolation: isolate;
  min-height: 250px;
  padding: 28px;
  border: 1px solid #dce4ec;
  border-radius: 14px;
  background:
    linear-gradient(140deg, rgba(5, 184, 180, 0.06), transparent 54%),
    #fff;
  animation: tariffCardIn 0.55s ease both;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.review-card:nth-child(2) {
  animation-delay: 0.06s;
}

.review-card:nth-child(3) {
  animation-delay: 0.12s;
}

.review-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, transparent 20%, rgba(5, 184, 180, 0.12), transparent 80%);
  transform: translateX(-115%);
  transition: transform 0.65s ease;
}

.review-card p {
  margin: 0;
  color: #31405a;
  font-size: 17px;
  line-height: 1.58;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 28px;
}

.review-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 50%;
  color: #07152b;
  background: #ddf7f5;
  font-size: 17px;
  font-weight: 800;
  object-fit: cover;
}

.review-author strong,
.review-author small {
  display: block;
}

.review-author small {
  margin-top: 4px;
  color: #65748a;
  font-size: 13px;
}

.faq-section {
  padding-bottom: 64px;
}

.faq-section .section-heading {
  margin: 0 24px 30px;
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 900px;
  margin: 28px 24px 0;
}

.faq-list details {
  border: 1px solid #dce4ec;
  border-radius: 12px;
  background: #fff;
}

.faq-list summary {
  padding: 18px 20px;
  cursor: pointer;
  font-weight: 800;
}

.faq-list p {
  margin: 0;
  padding: 0 20px 20px;
  color: #65748a;
  line-height: 1.6;
}

.site-footer {
  display: block;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 66px 44px;
  color: #53627a;
}

.site-footer-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-weight: 700;
}

.site-footer-legal {
  display: block;
  max-width: 940px;
  margin: 16px auto 0;
  color: #8a96a8;
  cursor: default;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.55;
  text-align: center;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.site-footer-legal::selection {
  background: transparent;
}

.legal-document-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 8% 8%, rgba(11, 184, 178, 0.08), transparent 34%),
    linear-gradient(180deg, #ffffff 0%, #f2f8fb 100%);
}

.legal-document-main {
  width: min(1280px, calc(100% - 48px));
  margin: 0 auto;
  padding: 28px 0 72px;
}

.legal-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  min-height: 250px;
  padding: 46px 54px;
  border: 1px solid #d5e5ef;
  border-radius: 18px;
  background:
    radial-gradient(circle at 92% 16%, rgba(11, 184, 178, 0.14), transparent 32%),
    #ffffff;
  box-shadow: 0 26px 70px rgba(7, 21, 43, 0.08);
}

.legal-eyebrow {
  display: inline-flex;
  margin-bottom: 12px;
  color: #009f9a;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.legal-hero h1 {
  max-width: 800px;
  margin: 0;
  color: #07152b;
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 800;
  line-height: 1.05;
}

.legal-hero p {
  max-width: 760px;
  margin: 20px 0 0;
  color: #53627a;
  font-size: 20px;
  line-height: 1.45;
}

.legal-back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid #d5e5ef;
  border-radius: 12px;
  background: #fff;
  color: #07152b;
  font-weight: 800;
  box-shadow: 0 14px 32px rgba(7, 21, 43, 0.05);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.legal-back-link .icon {
  transform: rotate(180deg);
}

.legal-back-link:hover {
  transform: translateY(-2px);
  border-color: rgba(11, 184, 178, 0.45);
  box-shadow: 0 18px 38px rgba(7, 21, 43, 0.09);
}

.legal-content-card {
  display: grid;
  gap: 18px;
  margin-top: 24px;
  padding: 28px;
  border: 1px solid #d5e5ef;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 22px 60px rgba(7, 21, 43, 0.07);
}

.legal-section {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 18px;
  padding: 24px;
  border: 1px solid #dce8f1;
  border-radius: 16px;
  background: #fff;
}

.legal-section-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(11, 184, 178, 0.22);
  border-radius: 14px;
  background: rgba(11, 184, 178, 0.08);
  color: #05b8b4;
}

.legal-section h2 {
  margin: 0;
  color: #07152b;
  font-size: 25px;
  font-weight: 800;
  line-height: 1.18;
}

.legal-section-lead {
  margin: 8px 0 0;
  color: #53627a;
  font-size: 17px;
  line-height: 1.45;
}

.legal-text {
  margin-top: 14px;
  color: #34445d;
  font-size: 16px;
  line-height: 1.7;
}

.icon {
  width: 1em;
  height: 1em;
  flex: 0 0 auto;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.button {
  gap: 9px;
  line-height: 1;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
}

.button-icon {
  display: inline-grid;
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  place-items: center;
}

.button-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button.compact .button-icon,
.button.compact .button-icon svg {
  width: 18px;
  height: 18px;
}

.button-icon-fill svg {
  fill: currentColor;
  stroke: none;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary:hover {
  background: #049f9c;
}

.button.secondary,
.button.ghost {
  box-shadow: 0 10px 24px rgba(7, 21, 43, 0.04);
}

.button.secondary:hover,
.button.ghost:hover {
  border-color: #bfcbd8;
}

.menu-button {
  align-items: center;
  justify-content: center;
  background: #fff;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.menu-button:hover {
  transform: translateY(-1px);
  border-color: #bfcbd8;
  box-shadow: 0 10px 24px rgba(7, 21, 43, 0.06);
}

.ai-pill,
.usage-card a,
.examples-head a,
.examples-more-link,
.next-button {
  gap: 9px;
}

.usage-card a,
.examples-head a,
.examples-more-link,
.next-button {
  display: inline-flex;
  align-items: center;
}

.feature-item {
  align-items: start;
}

.feature-item > span,
.choice-icon,
.step-icon,
.play-button,
.mini-play {
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
}

.feature-item:hover > span,
.choice-card:hover .choice-icon {
  transform: translateY(-2px);
}

.feature-item:hover > div {
  transform: translateY(-2px);
}

.feature-item:hover strong {
  color: #00a6a2;
}

.feature-item:hover p {
  color: #475a72;
}

.feature-item > span .icon {
  width: 20px;
  height: 20px;
}

.choice-card {
  cursor: pointer;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}

.choice-card:hover {
  transform: translateY(-2px);
  border-color: #bfcbd8;
  box-shadow: 0 14px 30px rgba(7, 21, 43, 0.08);
}

.choice-card.selected:hover {
  border-color: #05b8b4;
  box-shadow:
    inset 0 0 0 1px #05b8b4,
    0 14px 30px rgba(5, 184, 180, 0.12);
}

.choice-icon .icon {
  width: 28px;
  height: 28px;
}

.play-button,
.mini-play {
  cursor: pointer;
}

.play-button:hover,
.mini-play:hover {
  transform: scale(1.05);
}

.play-button.is-playing,
.mini-play.is-playing {
  color: #fff;
  background: #05b8b4;
  box-shadow: 0 14px 30px rgba(5, 184, 180, 0.2);
}

.play-button .icon,
.mini-play .icon {
  fill: currentColor;
  stroke: currentColor;
}

.play-button .icon-play-state,
.mini-play .icon-play-state {
  margin-left: 2px;
}

.play-button .icon-stop-state,
.mini-play .icon-stop-state {
  display: none;
}

.play-button.is-playing .icon-play-state,
.mini-play.is-playing .icon-play-state {
  display: none;
}

.play-button.is-playing .icon-stop-state,
.mini-play.is-playing .icon-stop-state {
  display: block;
}

.play-button.is-disabled,
.mini-play.is-disabled,
.play-button:disabled,
.mini-play:disabled {
  cursor: default;
  opacity: 0.45;
  background: #93a2b5;
  box-shadow: none;
}

.play-button.is-disabled:hover,
.mini-play.is-disabled:hover,
.play-button:disabled:hover,
.mini-play:disabled:hover {
  transform: none;
}

.audio-preview > span:last-child .icon {
  width: 23px;
  height: 23px;
}

.waveform i {
  transform-origin: center;
}

.audio-preview:not(.no-audio):hover .waveform.strong i,
.example-row:hover .waveform i,
.audio-preview.is-playing .waveform.strong i,
.example-row.is-playing .waveform i {
  animation: waveformPulse 1.1s ease-in-out infinite alternate;
}

.example-row.is-playing .waveform i {
  background: linear-gradient(180deg, #08c9c4, #7be8e3);
  box-shadow: 0 0 10px rgba(5, 184, 180, 0.26);
}

.audio-preview:not(.no-audio):hover .waveform.strong i:not(.is-filled),
.example-row:hover .waveform i:not(.is-filled),
.audio-preview.is-playing .waveform.strong i:not(.is-filled),
.example-row.is-playing .waveform i:not(.is-filled) {
  background: #c8d5df;
  box-shadow: none;
}

.audio-preview:not(.no-audio):hover .waveform.strong i.is-filled,
.example-row:hover .waveform i.is-filled,
.audio-preview.is-playing .waveform.strong i.is-filled,
.example-row.is-playing .waveform i.is-filled {
  background: linear-gradient(180deg, #08c9c4, #7be8e3);
  box-shadow: 0 0 10px rgba(5, 184, 180, 0.26);
}

.audio-preview:not(.no-audio):hover .waveform.strong i:nth-child(2n),
.example-row:hover .waveform i:nth-child(2n),
.audio-preview.is-playing .waveform.strong i:nth-child(2n),
.example-row.is-playing .waveform i:nth-child(2n) {
  animation-delay: 0.12s;
}

.audio-preview:not(.no-audio):hover .waveform.strong i:nth-child(3n),
.example-row:hover .waveform i:nth-child(3n),
.audio-preview.is-playing .waveform.strong i:nth-child(3n),
.example-row.is-playing .waveform i:nth-child(3n) {
  animation-delay: 0.24s;
}

@keyframes waveformPulse {
  from {
    transform: scaleY(0.72);
    opacity: 0.55;
  }

  to {
    transform: scaleY(1.18);
    opacity: 1;
  }
}

@keyframes tariffCardIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes tariffPulse {
  0%,
  100% {
    box-shadow: inset 0 3px 0 #05b8b4;
  }

  50% {
    box-shadow:
      inset 0 3px 0 #05b8b4,
      0 18px 42px rgba(5, 184, 180, 0.14);
  }
}

@keyframes trialButtonShine {
  0%,
  22% {
    left: -70%;
  }

  52%,
  100% {
    left: 128%;
  }
}

.step-icon .icon {
  width: 32px;
  height: 32px;
  transform: translateY(0) rotate(0deg) scale(1);
  transition: transform 220ms ease, stroke 220ms ease;
}

.step-icon i {
  position: absolute;
  right: 10px;
  bottom: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #fff;
  background: #05b8b4;
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
  transform: translateY(0) scale(1);
  transition:
    transform 220ms ease,
    background-color 220ms ease,
    box-shadow 220ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .review-card:hover {
    transform: translateY(-3px);
    border-color: #05b8b4;
    box-shadow:
      inset 0 0 0 1px rgba(5, 184, 180, 0.22),
      0 0 0 3px rgba(5, 184, 180, 0.06),
      0 12px 28px rgba(5, 184, 180, 0.1);
  }

  .review-card:hover::before {
    transform: translateX(115%);
  }

  .step-item:hover .step-icon {
    background: #baf2ef;
    box-shadow: 0 22px 48px rgba(5, 184, 180, 0.22);
    transform: translateY(-8px) scale(1.04);
  }

  .step-item:hover .step-icon.warm {
    background: #ffd878;
    box-shadow: 0 22px 48px rgba(255, 188, 55, 0.24);
  }

  .step-item:hover .step-icon .icon {
    transform: translateY(-2px) rotate(-6deg) scale(1.08);
  }

  .step-item:hover .step-icon i {
    background: #00a6a2;
    box-shadow: 0 8px 18px rgba(5, 184, 180, 0.28);
    transform: translate(4px, -3px) scale(1.08);
  }

  .step-item:hover h3 {
    color: #00a6a2;
    transform: translateY(-4px);
  }

  .step-item:hover p {
    color: #475a72;
    transform: translateY(-3px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .review-card,
  .review-card::before,
  .shine-button::before,
  .step-icon,
  .step-icon .icon,
  .step-icon i,
  .feature-item > span,
  .feature-item > div,
  .feature-item strong,
  .feature-item p,
  .desktop-nav a,
  .step-item h3,
  .step-item p,
  .account-toast,
  .account-toast::after {
    animation: none;
    transition: none;
  }

  .review-card:hover,
  .review-card:hover::before,
  .step-item:hover .step-icon,
  .step-item:hover .step-icon .icon,
  .step-item:hover .step-icon i,
  .desktop-nav a:hover,
  .feature-item:hover > span,
  .feature-item:hover > div,
  .step-item:hover h3,
  .step-item:hover p,
  .account-toast,
  .account-toast.is-visible {
    transform: none;
  }
}

.diamond .icon {
  width: 25px;
  height: 25px;
}

.example-cover {
  display: block;
  object-fit: cover;
}

.more-button {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 260px;
  min-height: 45px;
  margin: 30px auto 0;
  border: 1px solid #05b8b4;
  border-radius: 10px;
  color: #05aaa7;
  background: #ffffff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition:
    transform 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
}

.more-button:hover {
  transform: translateY(-1px);
  background: #f3fffe;
  box-shadow: 0 12px 24px rgba(5, 184, 180, 0.12);
}

@media (max-width: 1180px) {
  .site-header {
    display: flex;
    justify-content: space-between;
    padding: 0 24px;
  }

  .desktop-nav {
    display: none;
  }

  .site-header.menu-open {
    flex-wrap: wrap;
    align-items: center;
    row-gap: 14px;
    padding-bottom: 18px;
  }

  .site-header.menu-open .desktop-nav {
    order: 3;
    display: flex;
    width: 100%;
    justify-content: center;
    gap: 10px;
  }

  .site-header.menu-open .desktop-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 0 15px;
    border: 1px solid #d8e0e8;
    border-radius: 999px;
    background: #fff;
  }

  .menu-button {
    display: inline-flex;
  }

  .hero-photo {
    background-position: 62% top;
    opacity: 0.48;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    justify-items: center;
    max-width: 820px;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
  }

  .feature-row {
    width: 100%;
  }

  .feature-item {
    text-align: left;
  }

  .builder-card {
    max-width: 500px;
    margin-top: 0;
  }

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

  .tariff-title,
  .tariff-cards,
  .tariff-more-note,
  .usage-card {
    grid-column: 1 / -1;
  }

  .usage-card {
    grid-row: auto;
  }

  .tariff-track {
    --visible-tariffs: 3;
    --tariff-card-basis: calc((100% - 44px) / 3);
  }

  .review-track {
    --visible-reviews: 2;
  }

  .review-card {
    flex-basis: calc((100% - var(--review-gap)) / 2);
    min-height: auto;
  }

  .example-row {
    grid-template-columns: 78px 42px minmax(140px, 1fr) minmax(180px, 280px);
    grid-template-rows: auto auto;
    gap: 12px 18px;
    min-height: 104px;
  }

  .example-cover {
    grid-column: 1;
    grid-row: 1 / span 2;
  }

  .mini-play {
    grid-column: 2;
    grid-row: 1;
  }

  .example-copy {
    grid-column: 3;
    grid-row: 1;
    min-width: 0;
  }

  .example-audio-line {
    display: flex;
    grid-column: 4;
    grid-row: 1;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: 280px;
    justify-self: end;
  }

  .example-row .waveform {
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
    overflow: hidden;
    justify-content: space-between;
  }

  .example-time {
    flex: 0 0 auto;
    margin-left: 0;
    white-space: nowrap;
  }

  .genre-pill {
    display: inline-flex;
    grid-column: 3;
    grid-row: 2;
    justify-self: start;
  }

  .example-note {
    display: block;
    grid-column: 4;
    grid-row: 2;
    margin: 0;
    line-height: 1.28;
  }

  .legal-hero {
    grid-template-columns: 1fr;
  }

  .legal-back-link {
    justify-self: start;
  }
}

@media (max-width: 980px) {
  .tariff-track {
    --visible-tariffs: 2;
    --tariff-card-basis: calc((100% - 22px) / 2);
  }
}

@media (max-width: 760px) {
  .site-header {
    min-height: 70px;
    padding: 0 18px;
  }

  .wordmark {
    font-size: 27px;
  }

  .header-actions .button {
    display: none;
  }

  .header-actions .site-login-button {
    display: inline-flex;
    min-width: 104px;
    min-height: 48px;
    padding: 0 15px;
    border-radius: 12px;
  }

  .menu-button {
    display: none;
  }

  .site-header.menu-open .desktop-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .site-header.menu-open .desktop-nav a {
    justify-content: center;
  }

  .site-header.menu-open .desktop-nav {
    display: none;
  }

  .hero-section {
    min-height: auto;
    padding: 44px 0 62px;
  }

  .hero-photo {
    height: 520px;
    background-position: 64% top;
    opacity: 0.28;
  }

  .hero-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 18px;
    text-align: center;
  }

  .hero-copy,
  .hero-copy h1,
  .hero-copy p,
  .hero-actions,
  .feature-row,
  .builder-card {
    width: 100%;
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
  }

  .legal-document-main {
    width: min(100% - 24px, 480px);
    padding: 18px 0 44px;
  }

  .legal-hero {
    min-height: auto;
    padding: 28px 22px;
    border-radius: 16px;
  }

  .legal-hero h1 {
    font-size: 36px;
  }

  .legal-hero p {
    font-size: 17px;
  }

  .legal-content-card {
    gap: 14px;
    padding: 14px;
    border-radius: 16px;
  }

  .legal-section {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 20px;
  }

  .legal-section h2 {
    font-size: 22px;
  }

  .site-footer {
    padding-inline: 24px;
  }

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

  .site-footer nav {
    flex-direction: column;
    gap: 12px;
  }

  .ai-pill {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-copy h1 {
    font-size: 42px;
  }

  .hero-copy p {
    font-size: 20px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button.large {
    width: 100%;
    min-width: 0;
    min-height: 58px;
  }

  .feature-row,
  .choice-grid,
  .steps-line,
  .tariff-layout {
    grid-template-columns: 1fr;
  }

  .feature-row {
    justify-items: center;
  }

  .feature-item {
    max-width: 320px;
    text-align: left;
  }

  .builder-card {
    padding: 24px 18px 22px;
  }

  .audio-preview {
    grid-template-columns: 46px 1fr auto;
    gap: 12px;
    margin: -30px 18px 0;
  }

  .audio-preview .waveform {
    grid-column: 1 / -1;
  }

  .steps-section,
  .tariff-section,
  .examples-section,
  .reviews-section,
  .faq-section {
    padding: 64px 18px 0;
  }

  .steps-section::before,
  .tariff-section::before,
  .examples-section::before,
  .reviews-section::before,
  .faq-section::before {
    display: none;
  }

  .section-heading.left,
  .examples-head,
  .example-list,
  .reviews-section .section-heading,
  .review-carousel,
  .faq-section .section-heading,
  .faq-list {
    margin-left: 0;
    margin-right: 0;
  }

  .reviews-section {
    padding-top: 56px;
  }

  .trial-cta {
    padding: 0 18px;
  }

  .reviews-section .section-heading {
    margin-bottom: 24px;
  }

  .review-track {
    --visible-reviews: 1;
    --review-gap: 14px;
  }

  .tariff-track {
    --visible-tariffs: 2;
    --tariff-gap: 14px;
    --tariff-card-basis: calc((100% - 14px) / 2);
  }

  .tariff-viewport {
    padding: 8px 4px 12px;
    margin: -8px -4px 0;
  }

  .tariff-controls {
    position: absolute;
    inset: 0 0 12px;
    justify-content: space-between;
    gap: 0;
    margin-top: 0;
    pointer-events: none;
  }

  .review-carousel {
    padding: 8px 42px 0;
  }

  .review-viewport {
    padding: 8px 0 18px;
    margin: -8px 0 -18px;
  }

  .review-controls {
    position: absolute;
    inset: 8px 0 18px;
    justify-content: space-between;
    gap: 0;
    margin-top: 0;
    pointer-events: none;
  }

  .review-card {
    flex-basis: 100%;
    min-height: 0;
    padding: 22px 20px;
    border-radius: 12px;
  }

  .review-card p {
    font-size: 16px;
    line-height: 1.5;
  }

  .review-author {
    margin-top: 20px;
  }

  .review-avatar {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .steps-line {
    gap: 32px;
    padding: 0 0 46px;
  }

  .step-item {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    gap: 16px;
    text-align: left;
  }

  .step-icon {
    grid-row: span 2;
    width: 78px;
    height: 78px;
  }

  .step-item h3,
  .step-item p {
    max-width: none;
    margin-left: 0;
  }

  .example-row {
    grid-template-columns: 70px 38px minmax(130px, 1fr) minmax(150px, 220px);
    grid-template-rows: auto auto;
    gap: 10px 12px;
  }

  .example-audio-line {
    max-width: 220px;
    gap: 8px;
  }

  .genre-pill {
    min-width: 92px;
    padding: 6px 12px;
  }

  .example-note {
    font-size: 14px;
    line-height: 1.25;
  }

  .site-footer {
    padding: 50px 18px 38px;
  }

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

@media (max-width: 360px) {
  .header-actions .site-login-button {
    width: 48px;
    min-width: 48px;
    padding: 0;
  }

  .header-actions .site-login-button span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }
}

@media (max-width: 680px) {
  .audio-preview {
    grid-template-columns: 46px minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 9px;
    min-height: 74px;
    padding: 14px;
  }

  .audio-preview .waveform {
    grid-column: auto;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }

  .audio-preview .waveform,
  .example-row .waveform {
    gap: 2px;
    height: 32px;
  }

  .audio-preview .waveform i,
  .example-row .waveform i {
    width: 2px;
    flex-basis: 2px;
  }

  .audio-time,
  .example-time {
    white-space: nowrap;
    font-size: 14px;
    font-variant-numeric: tabular-nums;
  }

  .audio-preview > span:last-child {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .example-row {
    grid-template-columns: 58px 38px minmax(150px, 1fr) minmax(150px, 220px);
    grid-template-rows: auto auto;
    align-items: center;
    gap: 10px;
    min-height: 0;
    padding: 12px 14px;
  }

  .example-cover {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 58px;
    height: 58px;
    align-self: center;
  }

  .mini-play {
    grid-column: 2;
    grid-row: 1;
  }

  .example-copy {
    grid-column: 3;
    grid-row: 1;
    min-width: 0;
  }

  .example-copy h3 {
    line-height: 1.2;
  }

  .example-copy p {
    margin: 4px 0 0;
  }

  .example-audio-line {
    display: flex;
    grid-column: 4;
    grid-row: 1;
    align-items: center;
    gap: 8px;
    width: 100%;
    max-width: 220px;
    justify-self: end;
  }

  .example-row .waveform {
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
    overflow: hidden;
    justify-content: space-between;
  }

  .example-time {
    flex: 0 0 auto;
    margin-left: 0;
  }

  .example-note {
    display: block;
    grid-column: 4;
    grid-row: 2;
    margin: 0;
    font-size: 14px;
    line-height: 1.25;
  }

  .genre-pill {
    display: inline-flex;
    grid-column: 3;
    grid-row: 2;
    justify-self: start;
    width: auto;
    min-width: 92px;
    min-height: 28px;
    padding: 6px 12px;
  }
}

@media (max-width: 520px) {
  .tariff-cards {
    padding: 0 42px;
  }

  .tariff-track {
    --visible-tariffs: 1;
    --tariff-gap: 14px;
    --tariff-card-basis: 100%;
  }

  .tariff-viewport {
    padding: 8px 0 12px;
    margin: -8px 0 0;
  }

  .tariff-controls {
    position: absolute;
    inset: 8px 0 12px;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    margin-top: 0;
    pointer-events: none;
  }

  .example-row {
    grid-template-columns: 58px 38px minmax(0, 1fr);
    grid-template-rows: auto auto auto auto;
    gap: 8px 10px;
    padding: 12px;
  }

  .example-cover {
    grid-row: 1 / span 2;
  }

  .mini-play {
    grid-column: 2;
    grid-row: 1;
  }

  .example-copy {
    grid-column: 3;
    grid-row: 1;
  }

  .example-audio-line {
    grid-column: 2 / -1;
    grid-row: 2;
    width: 100%;
    max-width: none;
    justify-self: stretch;
  }

  .genre-pill {
    grid-column: 2 / -1;
    grid-row: 3;
    justify-self: start;
    width: auto;
    max-width: 100%;
    min-width: 0;
  }

  .example-note {
    grid-column: 2 / -1;
    grid-row: 4;
    min-width: 0;
    margin: 0;
  }
}

body.auth-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 12%, rgba(5, 184, 180, 0.1), transparent 30%),
    linear-gradient(180deg, #f8fbfd 0%, #edf5f8 100%);
  color: #07152b;
}

body.account-body {
  background: linear-gradient(180deg, #f8fbfd 0%, #eef4f8 100%);
  overflow-y: scroll;
  scrollbar-gutter: stable;
}

.auth-page {
  width: min(1180px, calc(100vw - 48px));
  min-height: 100vh;
  margin: 0 auto;
  padding: 24px 0 56px;
}

.auth-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 42px;
}

.auth-top .wordmark {
  font-size: 34px;
}

.auth-shell,
.account-shell {
  display: grid;
  gap: 22px;
}

.auth-hero-card,
.account-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px;
  border: 1px solid #d7e4ee;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 22px 70px rgba(7, 21, 43, 0.08);
}

.auth-kicker {
  display: inline-flex;
  margin-bottom: 10px;
  color: #05aaa7;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.auth-hero-card h1,
.account-hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.02;
  letter-spacing: 0;
}

.auth-hero-card p,
.account-hero p {
  max-width: 660px;
  margin: 14px 0 0;
  color: #61708a;
  font-size: 18px;
  line-height: 1.45;
}

.auth-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
  gap: 22px;
  align-items: start;
}

.auth-card,
.auth-provider-card,
.auth-help-card,
.account-card,
.account-metric {
  border: 1px solid #d7e4ee;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 58px rgba(7, 21, 43, 0.06);
}

.auth-card {
  display: grid;
  gap: 18px;
  padding: 28px;
}

.auth-card > .auth-icon {
  margin-bottom: -8px;
}

.auth-card h2,
.auth-provider-card h3,
.auth-help-card h3,
.account-card h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.15;
}

.auth-card p,
.auth-provider-card p,
.auth-help-card p,
.account-card p {
  margin: 7px 0 0;
  color: #61708a;
  line-height: 1.5;
}

.auth-icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #04b8b4, #2388e8);
  color: #fff;
  font-weight: 800;
}

.auth-icon.vk {
  background: #2787f5;
}

.auth-icon.sms {
  background: linear-gradient(135deg, #ffca38, #05b8b4);
}

.auth-alert {
  padding: 14px 16px;
  border-radius: 14px;
  font-weight: 700;
  line-height: 1.4;
}

.auth-alert.error {
  border: 1px solid rgba(255, 86, 94, 0.35);
  background: rgba(255, 86, 94, 0.08);
  color: #9c2028;
}

.auth-alert.success,
.auth-alert.debug {
  border: 1px solid rgba(5, 184, 180, 0.28);
  background: rgba(5, 184, 180, 0.1);
  color: #037c79;
}

.auth-form {
  display: grid;
  gap: 14px;
}

.auth-form label {
  display: grid;
  gap: 8px;
  color: #07152b;
  font-weight: 800;
}

.auth-input {
  width: 100%;
  min-height: 56px;
  padding: 0 16px;
  border: 1px solid #cddce8;
  border-radius: 12px;
  background: #fff;
  color: #07152b;
  font: inherit;
  font-weight: 700;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.auth-input:focus {
  border-color: #05b8b4;
  box-shadow: 0 0 0 4px rgba(5, 184, 180, 0.12);
}

.auth-code-input {
  max-width: 220px;
  font-size: 24px;
  letter-spacing: 0.18em;
  text-align: center;
}

.secondary-action {
  margin-top: -8px;
}

.auth-note {
  padding-top: 8px;
  border-top: 1px solid #edf3f7;
  font-size: 14px;
}

.auth-side {
  display: grid;
  gap: 14px;
}

.auth-provider-card,
.auth-help-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 22px;
}

.auth-help-card {
  grid-template-columns: 1fr;
  background: rgba(225, 248, 247, 0.7);
}

.account-top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.account-dashboard .account-top-actions .button {
  min-width: 128px;
  min-height: 50px;
  gap: 10px;
  padding: 0 18px;
  border-color: #d7e4ee;
  border-radius: 11px;
  background: #fff;
  color: #06152e;
  box-shadow: 0 10px 24px rgba(6, 21, 46, 0.045);
}

.account-dashboard .account-top-actions .button:hover {
  border-color: #c9d8e4;
  background: #fff;
  box-shadow: 0 16px 34px rgba(6, 21, 46, 0.09);
  transform: translateY(-1px);
}

.account-referral-widget {
  position: relative;
}

.account-dashboard .account-top-actions .account-referral-toggle {
  min-width: 142px;
  color: #037c79;
}

.account-referral-toggle svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.account-referral-label {
  white-space: nowrap;
}

.account-referral-popover {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 30;
  display: grid;
  gap: 10px;
  width: min(340px, calc(100vw - 28px));
  padding: 18px;
  border: 1px solid rgba(190, 210, 224, 0.96);
  border-radius: 20px;
  background:
    linear-gradient(135deg, rgba(235, 255, 253, 0.98), rgba(255, 255, 255, 0.98));
  box-shadow: 0 24px 70px rgba(6, 21, 46, 0.17);
}

.account-referral-popover[hidden] {
  display: none;
}

.account-referral-popover::before {
  content: "";
  position: absolute;
  top: -7px;
  right: 34px;
  width: 12px;
  height: 12px;
  border-top: 1px solid rgba(190, 210, 224, 0.96);
  border-left: 1px solid rgba(190, 210, 224, 0.96);
  background: rgba(248, 255, 254, 0.98);
  transform: rotate(45deg);
}

.account-referral-popover h2 {
  margin: 0;
  color: #06152e;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.12;
}

.account-referral-popover p {
  margin: 0;
  color: #61708a;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.42;
}

.account-referral-accent-value {
  color: #53637d;
  font-size: 1.1em;
  font-weight: 900;
  white-space: nowrap;
}

.account-referral-mini-code {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  margin-top: 2px;
}

.account-referral-mini-code input {
  width: 100%;
  min-width: 0;
  height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(148, 163, 184, 0.34);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.96);
  color: #06152e;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  outline: none;
  text-transform: uppercase;
}

.account-dashboard .account-top-actions .account-referral-mini-code .button {
  min-width: 116px;
  min-height: 42px;
  padding: 0 12px;
}

.account-logout-icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.account-brand-line {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.account-menu-toggle,
.account-menu-close,
.account-menu-backdrop {
  border: 0;
  background: none;
  font: inherit;
  cursor: pointer;
}

.account-menu-toggle {
  position: relative;
  display: inline-flex;
  width: auto;
  min-width: 108px;
  height: 48px;
  min-height: 48px;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding: 0 16px 0 48px;
  border: 1px solid #d7e4ee;
  border-radius: 16px;
  background: #fff;
  color: #06152e;
  box-shadow: 0 12px 28px rgba(6, 21, 46, 0.06);
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.account-menu-toggle::before {
  content: "";
  position: absolute;
  left: 24px;
  top: 50%;
  width: 30px;
  height: 30px;
  border-radius: 11px;
  background: #fff;
  box-shadow: none;
  transform: translate(-50%, -50%);
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.account-menu-toggle span {
  position: absolute;
  left: 24px;
  z-index: 1;
  display: block;
  width: 14px;
  height: 2px;
  border-radius: 999px;
  background: #06152e;
  transform: translateX(-50%);
}

.account-menu-toggle span:nth-child(1) {
  top: 17px;
}

.account-menu-toggle span:nth-child(2) {
  top: 23px;
  width: 10px;
}

.account-menu-toggle span:nth-child(3) {
  top: 29px;
}

.account-menu-toggle strong {
  position: relative;
  z-index: 1;
  width: auto;
  height: auto;
  overflow: visible;
  clip: auto;
  white-space: nowrap;
  color: #06152e;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
}

.account-menu-toggle:hover {
  border-color: rgba(11, 184, 178, 0.34);
  background: #fff;
  box-shadow: 0 16px 34px rgba(6, 21, 46, 0.1);
  transform: translateY(-1px);
}

.account-menu-toggle:hover::before {
  box-shadow: none;
  transform: translate(-50%, -50%) scale(1.04);
}

.account-menu-layer[hidden] {
  display: none;
}

.account-menu-layer {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  pointer-events: none;
}

.account-menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(6, 21, 46, 0);
  transition: background 0.22s ease;
}

.account-side-menu {
  position: relative;
  z-index: 1;
  width: min(400px, calc(100vw - 24px));
  height: 100vh;
  overflow-y: auto;
  padding: 24px;
  border-right: 1px solid rgba(215, 228, 238, 0.92);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 253, 0.97));
  box-shadow: 28px 0 70px rgba(6, 21, 46, 0.16);
  transform: translateX(-105%);
  transition: transform 0.24s ease;
}

body.account-menu-lock {
  overflow: hidden;
}

body.account-menu-open .account-menu-layer {
  pointer-events: auto;
}

body.account-menu-open .account-menu-backdrop {
  background: rgba(6, 21, 46, 0.32);
}

body.account-menu-open .account-side-menu {
  transform: translateX(0);
}

.account-side-menu-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.account-side-menu-head .wordmark {
  font-size: 28px;
}

.account-menu-close {
  position: relative;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border: 1px solid #cfe0eb;
  border-radius: 14px;
  background: #fff;
  color: #06152e;
  transition: border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.account-menu-close span {
  position: absolute;
  top: 50%;
  left: 50%;
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
}

.account-menu-close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.account-menu-close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.account-menu-close:hover {
  border-color: rgba(11, 184, 178, 0.55);
  box-shadow: 0 14px 30px rgba(6, 21, 46, 0.1);
  transform: translateY(-1px);
}

.account-side-menu-section {
  display: grid;
  gap: 10px;
  padding: 18px 0;
  border-top: 1px solid rgba(207, 224, 235, 0.9);
}

.account-side-menu-section > span {
  margin-bottom: 4px;
  color: #05aaa7;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.account-side-menu-section a {
  position: relative;
  display: grid;
  gap: 4px;
  min-height: 76px;
  align-content: center;
  padding: 14px 16px 14px 72px;
  border: 1px solid #dfeaf2;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
  color: #06152e;
  box-shadow: 0 12px 32px rgba(6, 21, 46, 0.035);
  text-decoration: none;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}

.account-side-menu-section a::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 50%;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(11, 184, 178, 0.18);
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 50%, rgba(11, 184, 178, 0.18), transparent 58%),
    linear-gradient(135deg, rgba(229, 250, 248, 0.98), rgba(255, 255, 255, 0.94));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
  transform: translateY(-50%);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.account-side-menu-section a::after {
  content: "";
  position: absolute;
  left: 29px;
  top: 50%;
  width: 16px;
  height: 16px;
  border: 2px solid #0bb8b2;
  border-radius: 5px;
  box-shadow:
    inset 0 -5px 0 rgba(11, 184, 178, 0.12),
    7px 7px 0 -5px #0bb8b2;
  transform: translateY(-50%);
  transition: transform 0.18s ease;
}

.account-side-menu-section strong {
  font-size: 16px;
  line-height: 1.15;
}

.account-side-menu-section small {
  color: #61708a;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}

.account-side-menu-section a:hover,
.account-side-menu-section a.is-active {
  border-color: rgba(11, 184, 178, 0.32);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 16px 34px rgba(6, 21, 46, 0.08);
  transform: translateY(-1px);
}

.account-side-menu-section a:hover::before,
.account-side-menu-section a.is-active::before {
  border-color: rgba(11, 184, 178, 0.42);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.7),
    0 12px 28px rgba(11, 184, 178, 0.12);
  transform: translateY(-50%) scale(1.04);
}

.account-side-menu-section a:hover::after,
.account-side-menu-section a.is-active::after {
  transform: translateY(-50%) scale(1.05);
}

.account-side-profile-card {
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 18px;
  padding: 16px;
  border: 1px solid rgba(215, 228, 238, 0.92);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 44px rgba(6, 21, 46, 0.07);
}

.account-side-avatar {
  display: grid;
  width: 66px;
  height: 66px;
  place-items: center;
  border: 1px solid rgba(11, 184, 178, 0.24);
  border-radius: 18px;
  background:
    radial-gradient(circle at 28% 22%, rgba(27, 225, 218, 0.42), transparent 28%),
    linear-gradient(135deg, #06152e 0%, #062449 48%, #0bb8b2 100%);
  color: #fff;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0;
  box-shadow: 0 16px 36px rgba(6, 21, 46, 0.12);
}

.account-side-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.account-side-profile-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.account-side-profile-copy > span {
  color: #05aaa7;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.account-side-profile-copy strong {
  overflow: hidden;
  color: #06152e;
  font-size: 16px;
  font-weight: 850;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-side-profile-copy small {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #61708a;
  font-size: 12px;
  font-weight: 800;
}

.account-side-profile-copy small i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #0bb8b2;
  box-shadow: 0 0 0 5px rgba(11, 184, 178, 0.12);
}

.account-side-balance {
  display: grid;
  min-width: 74px;
  justify-items: end;
  gap: 3px;
}

.account-side-balance strong {
  color: #06152e;
  font-size: 28px;
  font-weight: 760;
  line-height: 1;
}

.account-side-balance span {
  color: #61708a;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.1;
}

.account-side-menu-mobile-card {
  display: none;
}

.account-side-menu-section {
  gap: 9px;
  padding: 16px 0;
}

.account-side-menu-section:first-of-type {
  border-top-color: rgba(207, 224, 235, 0.58);
}

.account-side-menu-section > span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 2px;
  padding-left: 2px;
  color: #029c99;
  font-size: 11px;
  font-weight: 900;
}

.account-side-menu-section > span::after {
  content: "";
  width: 22px;
  height: 1px;
  border-radius: 999px;
  background: rgba(11, 184, 178, 0.32);
}

.account-side-menu-section .account-side-menu-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  gap: 12px;
  min-height: 70px;
  align-items: center;
  align-content: center;
  padding: 12px 14px;
  border: 1px solid rgba(215, 228, 238, 0.92);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 30px rgba(6, 21, 46, 0.035);
  position: relative;
  overflow: hidden;
}

.account-side-menu-section .account-side-menu-item::before,
.account-side-menu-section .account-side-menu-item::after {
  content: none;
}

.account-side-menu-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(11, 184, 178, 0.18);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(229, 250, 248, 0.98), rgba(255, 255, 255, 0.94));
  color: #0bb8b2;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.62);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.account-side-menu-icon svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.account-side-menu-copy {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.account-side-menu-section .account-side-menu-copy strong {
  overflow: hidden;
  color: #06152e;
  font-size: 16px;
  font-weight: 850;
  line-height: 1.12;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-side-menu-section .account-side-menu-copy small {
  overflow: hidden;
  color: #61708a;
  font-size: 12px;
  font-weight: 780;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-side-menu-badge {
  display: inline-grid;
  min-width: 28px;
  height: 28px;
  place-items: center;
  padding: 0 8px;
  border-radius: 999px;
  background: #e5faf8;
  color: #058f8d;
  font-size: 12px;
  font-weight: 900;
}

.account-side-menu-section .account-side-menu-item:hover,
.account-side-menu-section .account-side-menu-item.is-active {
  border-color: rgba(11, 184, 178, 0.44);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 44px rgba(6, 21, 46, 0.08);
  transform: translateY(-1px);
}

.account-side-menu-section .account-side-menu-item.is-active {
  border-color: rgba(11, 184, 178, 0.58);
  background:
    linear-gradient(90deg, rgba(11, 184, 178, 0.08), rgba(255, 255, 255, 0.98) 34%),
    #fff;
  box-shadow:
    inset 6px 0 0 #0bb8b2,
    inset 0 0 0 1px rgba(11, 184, 178, 0.08),
    0 18px 44px rgba(6, 21, 46, 0.08);
}

.account-side-menu-section .account-side-menu-item.is-active::before {
  content: none;
}

.account-side-menu-section .account-side-menu-item.is-active .account-side-menu-copy::after {
  content: "выбрано";
  display: inline-flex;
  width: fit-content;
  margin-top: 2px;
  padding: 4px 8px;
  border: 1px solid rgba(11, 184, 178, 0.22);
  border-radius: 999px;
  background: #fff;
  color: #058f8d;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.account-side-menu-section .account-side-menu-item:hover .account-side-menu-icon,
.account-side-menu-section .account-side-menu-item.is-active .account-side-menu-icon {
  border-color: rgba(11, 184, 178, 0.44);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.72),
    0 12px 28px rgba(11, 184, 178, 0.12);
  transform: translateY(-1px);
}

.account-side-menu-section .account-side-menu-item-primary.is-active {
  border-color: rgba(11, 184, 178, 0.62);
  background:
    linear-gradient(90deg, rgba(11, 184, 178, 0.08), rgba(255, 255, 255, 0.98) 34%),
    #fff;
}

.account-side-menu-section .account-side-menu-logout .account-side-menu-icon {
  color: #0bb8b2;
}

.account-logout-form,
.account-side-menu-logout-form {
  margin: 0;
}

.account-side-menu-logout-form .account-side-menu-logout {
  width: 100%;
  border: 0;
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.account-side-menu-footer-card {
  display: grid;
  gap: 6px;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(215, 228, 238, 0.92);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
  color: #06152e;
}

.account-side-menu-footer-card strong {
  font-size: 16px;
  font-weight: 900;
}

.account-side-menu-footer-card span {
  color: #61708a;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.35;
}

.account-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.account-metric {
  padding: 22px;
  border-left: 4px solid #05b8b4;
}

.account-metric span {
  color: #61708a;
  font-weight: 700;
}

.account-metric strong {
  display: block;
  margin-top: 8px;
  font-size: 42px;
  line-height: 1;
}

.account-metric p {
  margin: 8px 0 0;
  color: #61708a;
}

.account-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  gap: 22px;
  align-items: start;
}

.account-card {
  padding: 26px;
}

.account-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

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

.account-order {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px;
  border: 1px solid #dfeaf2;
  border-radius: 14px;
  background: #fbfdfe;
}

.account-order-main {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.account-order-main strong {
  overflow-wrap: anywhere;
}

.account-order-main span,
.account-status,
.account-details dt {
  color: #61708a;
  font-size: 14px;
  font-weight: 700;
}

.account-order-actions {
  flex: 0 0 auto;
}

.account-empty {
  display: grid;
  justify-items: start;
  gap: 10px;
  padding: 28px;
  border: 1px dashed #bfd1de;
  border-radius: 16px;
  background: #fbfdfe;
}

.account-empty h3 {
  margin: 0;
  font-size: 22px;
}

.account-side {
  display: grid;
  gap: 16px;
}

.account-details {
  display: grid;
  gap: 14px;
  margin: 18px 0 0;
}

.account-details div {
  display: grid;
  gap: 5px;
  padding-bottom: 14px;
  border-bottom: 1px solid #edf3f7;
}

.account-details div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.account-details dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-weight: 800;
}

.account-note-card {
  background: rgba(225, 248, 247, 0.7);
}

@media (max-width: 860px) {
  .auth-page {
    width: min(100% - 28px, 680px);
    padding-top: 18px;
  }

  .auth-top,
  .account-hero,
  .account-card-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .auth-grid,
  .account-grid,
  .account-metrics {
    grid-template-columns: 1fr;
  }

  .auth-hero-card,
  .account-hero,
  .auth-card,
  .account-card {
    padding: 22px;
  }
}

@media (max-width: 540px) {
  .auth-page {
    width: min(100% - 20px, 480px);
    padding-bottom: 36px;
  }

  .auth-top {
    margin-bottom: 24px;
  }

  .auth-top .wordmark {
    font-size: 30px;
  }

  .account-top-actions {
    width: 100%;
  }

  .account-top-actions .button {
    flex: 1 1 0;
  }

  .auth-hero-card h1,
  .account-hero h1 {
    font-size: 34px;
  }

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

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

  .account-order-actions,
  .account-order-actions .button {
    width: 100%;
  }
}

body.modal-lock {
  overflow: hidden;
}

body.account-confirm-lock {
  overflow: hidden;
}

.auth-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 12%, rgba(11, 184, 178, 0.12), transparent 28%),
    linear-gradient(180deg, #f8fbfd 0%, #eaf3f7 100%);
  color: #06152e;
}

.auth-page {
  width: min(100% - 48px, 1160px);
  margin: 0 auto;
  padding: 22px 0 58px;
}

.auth-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 34px;
}

.auth-standalone {
  display: grid;
  min-height: calc(100vh - 160px);
  place-items: center;
}

.auth-modal-card {
  position: relative;
  width: min(100%, 480px);
  padding: 30px;
  border: 1px solid rgba(190, 210, 224, 0.9);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 28px 90px rgba(6, 21, 46, 0.16);
}

.auth-modal-card-standalone {
  margin-top: -28px;
}

.auth-close-link,
.site-auth-close {
  position: absolute;
  top: 16px;
  right: 16px;
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid #d7e4ed;
  border-radius: 50%;
  background: #fff;
  color: #06152e;
  font-size: 24px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-close-link:hover,
.site-auth-close:hover {
  border-color: #0bb8b2;
  box-shadow: 0 12px 30px rgba(11, 184, 178, 0.18);
  transform: translateY(-1px);
}

.auth-panel {
  display: grid;
  gap: 18px;
}

.auth-panel-head {
  display: grid;
  gap: 8px;
  padding-right: 32px;
}

.auth-kicker {
  color: #009d98;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.auth-panel-head h1 {
  margin: 0;
  max-width: 360px;
  font-size: 36px;
  line-height: 0.98;
}

.auth-brand-accent {
  color: #0bb8b2;
}

.auth-panel-head p {
  margin: 0;
  color: #5a6a83;
  font-size: 16px;
  line-height: 1.45;
}

.auth-methods {
  display: grid;
  gap: 10px;
}

.auth-vk-form {
  display: grid;
  gap: 12px;
}

.auth-method-card {
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 76px;
  box-sizing: border-box;
  border: 1px solid #d4e8e8;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  color: #06304a;
  cursor: pointer;
  font: inherit;
  padding: 13px 14px;
  text-align: left;
  text-decoration: none;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.auth-method-link:focus-visible {
  border-color: #0bb8b2;
  box-shadow:
    0 0 0 4px rgba(11, 184, 178, 0.14),
    0 16px 36px rgba(11, 184, 178, 0.12);
  outline: none;
}

.auth-method-card:hover,
.auth-method-card.is-active {
  border-color: #0bb8b2;
  background: #fff;
  box-shadow:
    0 0 0 4px rgba(11, 184, 178, 0.08),
    0 16px 34px rgba(6, 21, 46, 0.08);
  transform: translateY(-2px);
}

.auth-method-card.is-disabled {
  cursor: default;
  opacity: 1;
}

.auth-method-card.is-disabled:hover {
  border-color: #d4e8e8;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: none;
  transform: none;
}

.auth-method-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 16px;
  border: 1px solid rgba(11, 184, 178, 0.18);
  background: linear-gradient(135deg, rgba(229, 250, 248, 0.98), rgba(255, 255, 255, 0.94));
  color: #0bb8b2;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease;
}

.auth-method-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.auth-method-icon-vk svg {
  width: 31px;
  height: 24px;
  fill: currentColor;
  stroke: none;
}

.auth-method-card:hover .auth-method-icon,
.auth-method-card.is-active .auth-method-icon {
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.74),
    0 14px 30px rgba(11, 184, 178, 0.15);
  transform: translateY(-1px) scale(1.03);
}

.auth-method-card.is-disabled .auth-method-icon {
  filter: saturate(0.88);
}

.auth-method-card.is-disabled .auth-method-copy small {
  color: #7a8798;
}

.auth-method-card.is-disabled:hover .auth-method-icon {
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.55);
  transform: none;
}

.auth-method-copy {
  display: grid;
  gap: 3px;
}

.auth-method-copy strong {
  color: #06304a;
  font-size: 16px;
  line-height: 1.15;
}

.auth-method-copy small {
  color: #65748b;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.3;
}

.auth-method-panel {
  display: none;
  border-top: 1px solid #edf3f7;
  padding-top: 16px;
}

.auth-method-panel.is-open {
  display: grid;
  gap: 12px;
  animation: authPanelIn 0.2s ease both;
}

.auth-empty-state {
  display: grid;
  gap: 8px;
  border: 1px solid #bceeed;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(231, 251, 250, 0.84), rgba(255, 255, 255, 0.98));
  color: #071a34;
  padding: 18px;
}

.auth-empty-state strong {
  font-size: 17px;
  line-height: 1.2;
}

.auth-empty-state p {
  margin: 0;
  color: #5a6a83;
  font-size: 15px;
  line-height: 1.45;
}

@keyframes authPanelIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.auth-form {
  display: grid;
  gap: 12px;
}

.auth-consents {
  display: grid;
  gap: 9px;
  margin: 2px 0 4px;
}

.auth-form label {
  display: grid;
  gap: 8px;
  color: #06152e;
  font-size: 14px;
  font-weight: 800;
}

.auth-form .auth-consent,
.auth-vk-form .auth-consent {
  display: grid;
  grid-template-columns: 20px 1fr;
  align-items: flex-start;
  gap: 10px;
  min-height: 0;
  border: 1px solid #d9ecec;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
  color: #4f6078;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
  padding: 10px 12px;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.auth-form .auth-consent:has(input:checked),
.auth-vk-form .auth-consent:has(input:checked) {
  border-color: rgba(11, 184, 178, 0.5);
  background: rgba(244, 253, 251, 0.96);
}

.auth-form .auth-consent:hover,
.auth-vk-form .auth-consent:hover {
  border-color: rgba(11, 184, 178, 0.55);
  box-shadow: 0 10px 24px rgba(6, 21, 46, 0.06);
  transform: translateY(-1px);
}

.auth-consent input {
  appearance: none;
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  border: 1px solid #b8c9d8;
  border-radius: 4px;
  background: #fff;
  cursor: pointer;
  transition:
    background 0.16s ease,
    border-color 0.16s ease,
    box-shadow 0.16s ease;
}

.auth-consent input:checked {
  border-color: rgba(11, 184, 178, 0.75);
  background: #e9fbf8;
  box-shadow: 0 0 0 3px rgba(11, 184, 178, 0.1);
}

.auth-consent input:checked::after {
  content: "";
  width: 5px;
  height: 9px;
  margin-top: -1px;
  border: solid #009d98;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.auth-consent input:focus-visible {
  outline: 3px solid rgba(11, 184, 178, 0.18);
  outline-offset: 2px;
}

.auth-consent a {
  color: #009d98;
  font-weight: 900;
  text-decoration: none;
}

.auth-consent a:hover {
  text-decoration: underline;
}

.auth-consent-note {
  margin: -2px 2px 2px 30px;
  color: #6a7890;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.45;
}

.auth-consent-note a {
  color: #009d98;
  font-weight: 900;
  text-decoration: none;
}

.auth-consent-note a:hover {
  text-decoration: underline;
}

.auth-captcha {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(11, 184, 178, 0.32);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(235, 252, 249, 0.92), rgba(255, 255, 255, 0.96));
  box-shadow: 0 14px 34px rgba(6, 21, 46, 0.07);
  padding: 14px;
}

.auth-captcha.is-hidden {
  display: none;
}

.auth-captcha [hidden],
.auth-captcha-options:empty {
  display: none;
}

.auth-captcha-head {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 10px;
  align-items: center;
}

.auth-captcha-icon {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #0bb8b2;
  color: #fff;
  font-size: 19px;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(11, 184, 178, 0.2);
}

.auth-captcha-head strong {
  display: block;
  color: #06152e;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.25;
}

.auth-captcha-head p {
  margin: 3px 0 0;
  color: #5a6a83;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.4;
}

.auth-captcha-task {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  border: 1px dashed rgba(11, 184, 178, 0.42);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.72);
  color: #5a6a83;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  padding: 10px 12px;
}

.auth-captcha-task strong {
  color: #06152e;
  font-size: 18px;
  font-weight: 900;
}

.auth-captcha-message {
  margin: 0;
  border: 1px solid rgba(255, 89, 86, 0.22);
  border-radius: 12px;
  background: rgba(255, 89, 86, 0.08);
  color: #d8403e;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
  padding: 10px 12px;
}

.auth-captcha-message.is-hidden {
  display: none;
}

.auth-captcha-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.auth-captcha-option {
  display: block;
  cursor: pointer;
}

.auth-captcha-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.auth-captcha-option span {
  display: grid;
  place-items: center;
  min-height: 42px;
  border: 1px solid #cfe6ee;
  border-radius: 12px;
  background: #fff;
  color: #06152e;
  font-size: 16px;
  font-weight: 900;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease;
}

.auth-captcha-option:hover span,
.auth-captcha-option input:focus-visible + span {
  border-color: rgba(11, 184, 178, 0.65);
  box-shadow: 0 10px 20px rgba(6, 21, 46, 0.07);
  transform: translateY(-1px);
}

.auth-captcha-option input:checked + span {
  border-color: #0bb8b2;
  background: #0bb8b2;
  color: #fff;
  box-shadow: 0 12px 24px rgba(11, 184, 178, 0.22);
}

.auth-captcha-refresh {
  justify-self: start;
  border: 0;
  background: transparent;
  color: #009d98;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  padding: 0;
}

.auth-captcha-refresh:hover {
  text-decoration: underline;
}

.auth-input {
  width: 100%;
  min-height: 56px;
  box-sizing: border-box;
  border: 1px solid #d6e4ee;
  border-radius: 14px;
  background: #fff;
  color: #06152e;
  font: inherit;
  font-size: 16px;
  font-weight: 800;
  outline: none;
  padding: 0 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-input:focus {
  border-color: #0bb8b2;
  box-shadow: 0 0 0 4px rgba(11, 184, 178, 0.14);
}

.auth-input:disabled {
  background: #f4f8fb;
  color: #5a6a83;
}

.auth-code-input {
  font-size: 24px;
  letter-spacing: 0.12em;
  text-align: center;
}

.auth-submit {
  width: 100%;
  min-height: 58px;
  justify-content: center;
}

.secondary-action {
  margin-top: -8px;
}

.auth-text-button {
  border: 0;
  background: transparent;
  color: #009d98;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  padding: 4px 0;
  text-align: left;
}

.auth-note {
  margin: 0;
  color: #6a7890;
  font-size: 13px;
  line-height: 1.45;
}

.auth-alert {
  border-radius: 14px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  padding: 12px 14px;
}

.auth-alert.error {
  background: #fff0f0;
  color: #b92525;
}

.auth-alert.success {
  background: rgba(11, 184, 178, 0.12);
  color: #007f7b;
}

.auth-alert.debug {
  background: #fff5d7;
  color: #8a5a00;
}

.site-auth-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  padding: 24px;
}

.site-auth-modal[hidden] {
  display: none;
}

.site-auth-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(6, 21, 46, 0.42);
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.site-auth-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 480px);
  max-height: min(760px, calc(100vh - 32px));
  overflow: auto;
  padding: 30px;
  border: 1px solid rgba(190, 210, 224, 0.9);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 34px 110px rgba(6, 21, 46, 0.26);
  animation: authModalIn 0.22s ease both;
}

.account-confirm-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 22px;
}

.account-confirm-modal[hidden] {
  display: none;
}

.account-confirm-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(6, 21, 46, 0.38);
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.account-confirm-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 18px;
  width: min(100%, 460px);
  padding: 28px;
  border: 1px solid rgba(190, 210, 224, 0.96);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(11, 184, 178, 0.08), transparent 46%),
    rgba(255, 255, 255, 0.98);
  box-shadow: 0 34px 110px rgba(6, 21, 46, 0.24);
  opacity: 0;
  transform: translateY(14px) scale(0.98);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.account-confirm-modal.is-open .account-confirm-dialog {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.account-confirm-icon {
  display: inline-flex;
  width: 58px;
  height: 58px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(11, 184, 178, 0.22);
  border-radius: 18px;
  background: #e5faf8;
  color: #0bb8b2;
}

.account-confirm-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.account-confirm-copy h2 {
  margin: 5px 0 8px;
  color: #06152e;
  font-size: 26px;
  line-height: 1.05;
}

.account-confirm-copy p {
  margin: 0;
  color: #61708a;
  font-size: 16px;
  line-height: 1.45;
}

.account-confirm-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 4px;
}

.account-confirm-actions .button {
  min-width: 132px;
}

.account-confirm-delete {
  box-shadow: 0 14px 30px rgba(5, 184, 180, 0.18);
}

.account-lyrics-dialog {
  width: min(100%, 680px);
}

.account-lyrics-text {
  grid-column: 1 / -1;
  max-height: min(48vh, 420px);
  margin: 0;
  overflow: auto;
  padding: 18px;
  border: 1px solid rgba(190, 210, 224, 0.9);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(11, 184, 178, 0.06), transparent 58%),
    #f8fcfd;
  color: #0d1b32;
  font: inherit;
  font-size: 15px;
  line-height: 1.65;
  white-space: pre-wrap;
  word-break: break-word;
}

.account-lyrics-text:focus {
  outline: 2px solid rgba(11, 184, 178, 0.25);
  outline-offset: 3px;
}

@keyframes authModalIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 620px) {
  .auth-page {
    width: min(100% - 24px, 480px);
    padding-top: 16px;
  }

  .auth-top {
    flex-direction: row;
    margin-bottom: 24px;
  }

  .auth-standalone {
    min-height: calc(100vh - 130px);
    place-items: start center;
  }

  .auth-modal-card,
  .site-auth-dialog {
    padding: 24px 18px 20px;
    border-radius: 20px;
  }

  .account-confirm-modal {
    align-items: end;
    padding: 12px;
  }

  .account-confirm-dialog {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 22px 18px 18px;
    border-radius: 20px;
  }

  .account-confirm-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
  }

  .account-confirm-copy h2 {
    font-size: 24px;
  }

  .account-confirm-actions {
    flex-direction: column-reverse;
  }

  .account-lyrics-text {
    max-height: min(46vh, 360px);
    padding: 15px;
    font-size: 14px;
  }

  .account-confirm-actions .button {
    width: 100%;
  }

  .auth-modal-card-standalone {
    margin-top: 0;
  }

  .auth-panel-head h1 {
    font-size: 30px;
  }

  .auth-panel-head p {
    font-size: 15px;
  }

  .site-auth-modal {
    align-items: center;
    padding: max(12px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom));
  }

  .site-auth-dialog {
    max-height: calc(100dvh - 24px);
  }
}

.account-dashboard {
  --account-navy: #06152e;
  --account-muted: #61708a;
  --account-mint: #0bb8b2;
  --account-soft: #e5faf8;
  --account-line: #d7e4ee;
  --account-page-max: 1640px;
  --account-page-gutter: 48px;
  --account-page-tablet-max: 760px;
  --account-page-mobile-max: 480px;
  width: min(var(--account-page-max), calc(100% - var(--account-page-gutter)));
  max-width: var(--account-page-max);
}

.account-dashboard .account-top {
  margin-bottom: 28px;
}

.account-dashboard .account-shell {
  display: grid;
  gap: 20px;
}

.account-dashboard .account-hero-card {
  align-items: stretch;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.99), rgba(250, 252, 254, 0.96));
}

.account-dashboard .account-hero-card:not(.account-songs-hero-rich):not(.builder-hero-card):not(.account-payments-hero-rich) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, auto);
  align-items: center;
  padding: 42px 46px;
}

.account-dashboard .account-hero-card h1 {
  max-width: 620px;
  font-size: clamp(34px, 4.2vw, 58px);
  font-weight: 800;
}

.account-dashboard .account-hero-card p {
  max-width: 620px;
}

.account-hero-copy {
  display: grid;
  align-content: center;
}

.account-hero-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  min-width: max-content;
}

.account-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.account-summary-compact {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.account-stat-card,
.account-panel {
  border: 1px solid var(--account-line);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 58px rgba(6, 21, 46, 0.07);
}

.account-stat-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-areas:
    "label value"
    "text value";
  column-gap: 16px;
  align-items: center;
  min-height: 92px;
  overflow: hidden;
  padding: 16px 20px 16px 24px;
  transition:
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease,
    background 0.22s ease;
}

.account-stat-card:hover {
  border-color: rgba(11, 184, 178, 0.36);
  background: #fff;
  box-shadow: 0 22px 64px rgba(6, 21, 46, 0.1);
  transform: translateY(-3px);
}

.account-stat-card::before {
  content: none;
  display: none;
}

.account-stat-card span,
.account-eyebrow,
.account-profile-list dt,
.account-status,
.account-muted-action {
  color: var(--account-muted);
  font-size: 13px;
  font-weight: 800;
}

.account-stat-card span {
  grid-area: label;
  align-self: end;
  color: #56647a;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
}

.account-stat-card strong {
  grid-area: value;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: 0;
  color: #1f1f1f;
  font-size: clamp(26px, 2.5vw, 36px);
  font-weight: 700;
  line-height: 1;
  text-align: right;
  overflow-wrap: anywhere;
}

.account-stat-icon {
  transition:
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease;
}

.account-stat-card:hover .account-stat-icon {
  border-color: rgba(11, 184, 178, 0.34);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.7),
    0 12px 28px rgba(11, 184, 178, 0.12);
  transform: translateY(-2px) scale(1.04);
}

.account-stat-card p {
  grid-area: text;
  align-self: start;
  margin: 4px 0 0;
  color: #5f6f86;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.35;
}

.account-stat-rich {
  grid-template-columns: 58px minmax(0, 1fr) auto;
  grid-template-areas:
    "icon label value"
    "icon text value";
  min-height: 108px;
  padding: 18px 22px;
}

.account-stat-rich .account-stat-icon {
  grid-area: icon;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  align-self: center;
  border: 1px solid rgba(11, 184, 178, 0.18);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(229, 250, 248, 0.98), rgba(255, 255, 255, 0.94));
  color: #0bb8b2;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
  transition:
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease;
}

.account-stat-rich .account-stat-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.account-stat-rich:hover .account-stat-icon {
  border-color: rgba(11, 184, 178, 0.34);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.7),
    0 12px 28px rgba(11, 184, 178, 0.12);
  transform: translateY(-2px) scale(1.04);
}

.account-message-list {
  display: grid;
  gap: 10px;
}

.account-message-list:not(:has(.account-message)) {
  display: none;
}

.account-message {
  padding: 14px 16px;
  border: 1px solid rgba(35, 136, 232, 0.16);
  border-radius: 16px;
  background: rgba(35, 136, 232, 0.08);
  color: #145da0;
  font-weight: 800;
  line-height: 1.35;
}

.account-message-error {
  border-color: rgba(255, 86, 94, 0.2);
  background: rgba(255, 86, 94, 0.09);
  color: #a02129;
}

.account-toast-source {
  display: none !important;
}

.account-toast-stack {
  position: fixed;
  z-index: 1100;
  top: calc(18px + env(safe-area-inset-top));
  right: 24px;
  display: grid;
  width: min(380px, calc(100vw - 32px));
  gap: 10px;
  pointer-events: none;
}

.account-toast {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  overflow: hidden;
  padding: 12px 14px;
  border: 1px solid rgba(11, 184, 178, 0.24);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 18px 46px rgba(6, 21, 46, 0.16);
  color: #263447;
  opacity: 0;
  transform: translateY(-8px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
  pointer-events: auto;
}

.account-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.account-toast::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3px;
  background: rgba(11, 184, 178, 0.55);
  transform-origin: left center;
  animation: account-toast-timer 5.2s linear forwards;
}

.account-toast-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 12px;
  background: rgba(11, 184, 178, 0.1);
  color: #079b96;
}

.account-toast-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.account-toast-text {
  color: #263447;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
}

.account-toast-info {
  border-color: rgba(38, 52, 71, 0.15);
}

.account-toast-info .account-toast-icon {
  background: rgba(38, 52, 71, 0.08);
  color: #415063;
}

.account-toast-info::after {
  background: rgba(65, 80, 99, 0.42);
}

@keyframes account-toast-timer {
  from {
    transform: scaleX(1);
  }

  to {
    transform: scaleX(0);
  }
}

.account-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 20px;
  align-items: start;
}

.account-main-stack,
.account-side-stack {
  display: grid;
  gap: 20px;
  min-width: 0;
}

.account-panel {
  padding: 26px;
}

.account-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.account-panel-head-tight {
  margin-bottom: 14px;
}

.account-panel h2 {
  margin: 5px 0 0;
  color: var(--account-navy);
  font-size: 26px;
  font-weight: 800;
  line-height: 1.12;
}

.account-panel p {
  color: var(--account-muted);
  line-height: 1.48;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.account-support-history-panel {
  padding: 18px 24px;
}

.account-support-history-panel .account-panel-head {
  align-items: center;
  margin-bottom: 0;
}

.account-support-history-panel h2 {
  font-size: 22px;
}

.account-support-history-panel .support-ticket-picker {
  width: min(100%, 520px);
}

.account-eyebrow {
  display: inline-flex;
  color: #049c99;
  text-transform: uppercase;
}

.status-pill {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: #edf4f8;
  color: #45556c;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
}

.status-ready,
.status-delivered,
.status-paid,
.status-open {
  background: rgba(11, 184, 178, 0.14);
  color: #037c79;
}

.status-generating,
.status-queued,
.status-retrying,
.status-created,
.status-waiting,
.status-waiting_admin {
  background: rgba(255, 202, 56, 0.2);
  color: #8a5b00;
}

.status-waiting_payment,
.status-waiting_customer {
  background: rgba(35, 136, 232, 0.12);
  color: #145da0;
}

.status-failed,
.status-support_required,
.status-cancelled,
.status-expired,
.status-closed {
  background: rgba(255, 86, 94, 0.12);
  color: #a02129;
}

.status-manual_review {
  background: rgba(35, 136, 232, 0.12);
  color: #145da0;
}

.account-active-body,
.account-song-info,
.account-song-title {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.account-song-title > span {
  color: var(--account-muted);
  font-size: 14px;
  font-weight: 800;
}

.account-song-title strong {
  color: var(--account-navy);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.22;
  overflow-wrap: break-word;
  word-break: normal;
}

.account-order-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--account-muted);
  font-size: 14px;
  font-weight: 600;
}

.account-order-meta > * {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.account-order-meta > :not(:last-child)::after {
  content: "";
  width: 4px;
  height: 4px;
  margin-left: 2px;
  border-radius: 50%;
  background: #b6c7d5;
}

.account-progress-line {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 8px 0;
}

.account-progress-line span {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid #dce8f0;
  border-radius: 12px;
  background: #fbfdfe;
  color: var(--account-muted);
  font-size: 13px;
  font-weight: 800;
}

.account-progress-line .is-current,
.account-progress-line .is-done {
  border-color: rgba(11, 184, 178, 0.45);
  background: var(--account-soft);
  color: #037c79;
}

.account-progress-line .is-done {
  box-shadow: inset 0 0 0 1px rgba(11, 184, 178, 0.15);
}

.account-active-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.account-working-panel .account-panel-head p {
  margin: 6px 0 0;
  color: var(--account-muted);
  font-size: 15px;
  font-weight: 600;
}

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

.account-working-order {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid #dfeaf2;
  border-radius: 16px;
  background: #fbfdfe;
}

.account-working-order .account-song-title strong {
  font-size: 18px;
}

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

.account-song-list-full {
  gap: 14px;
}

.account-song-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
  border: 1px solid #dfeaf2;
  border-radius: 16px;
  background: #fbfdfe;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.account-song-card.is-selected {
  border-color: rgba(11, 184, 178, 0.72);
  background: linear-gradient(135deg, rgba(239, 254, 253, 0.98), rgba(255, 255, 255, 0.98));
  box-shadow: inset 4px 0 0 #0bb8b2, 0 16px 40px rgba(11, 184, 178, 0.12);
}

.account-song-card:hover {
  border-color: rgba(11, 184, 178, 0.55);
  box-shadow: 0 16px 42px rgba(11, 184, 178, 0.12);
  transform: translateY(-2px);
}

.account-song-select {
  position: absolute;
  z-index: 5;
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  cursor: pointer;
}

.account-song-select input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.account-song-select span[aria-hidden="true"] {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(11, 184, 178, 0.28);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.9);
  color: transparent;
  box-shadow: 0 10px 24px rgba(6, 21, 46, 0.08);
  backdrop-filter: blur(8px);
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.account-song-select span[aria-hidden="true"] svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.8;
}

.account-song-select:hover span[aria-hidden="true"],
.account-song-select input:focus-visible + span[aria-hidden="true"] {
  border-color: rgba(11, 184, 178, 0.58);
  box-shadow: 0 12px 28px rgba(11, 184, 178, 0.16);
  transform: translateY(-1px);
}

.account-song-select input:checked + span[aria-hidden="true"] {
  border-color: rgba(11, 184, 178, 0.7);
  background: linear-gradient(135deg, #e5fbfa, rgba(255, 255, 255, 0.96));
  color: #0bb8b2;
}

.account-song-icon {
  display: inline-flex;
  width: 52px;
  height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: linear-gradient(135deg, #dff8f7, #ffffff);
  color: #049c99;
  font-size: 13px;
  font-weight: 800;
  box-shadow: inset 0 0 0 1px rgba(11, 184, 178, 0.16);
}

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

.account-song-row strong {
  color: var(--account-navy);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.account-song-actions {
  display: flex;
  min-width: 132px;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
}

.account-song-start-form {
  margin: 0;
}

.account-songs-page .account-song-actions.has-primary {
  min-width: 168px;
}

.account-songs-page .account-song-actions.has-primary .button,
.account-songs-page .account-song-start-form {
  width: 100%;
}

.account-songs-page .account-songs-hero-rich {
  display: grid;
  grid-template-columns: minmax(380px, 0.95fr) minmax(420px, auto) minmax(460px, 0.82fr);
  align-items: center;
  gap: 28px;
  padding: 42px 46px;
}

.account-songs-page .account-songs-hero-rich .account-hero-copy {
  max-width: 660px;
}

.account-songs-page .account-songs-hero-rich .account-hero-actions {
  justify-content: center;
  margin-top: 0;
}

.account-songs-page .account-songs-hero-rich .account-hero-actions .button {
  min-width: 230px;
}

.account-hero-player {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  min-width: 0;
  min-height: 172px;
  padding: 22px;
  border: 1px solid rgba(215, 228, 238, 0.95);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(250, 252, 254, 0.94));
  box-shadow: 0 20px 52px rgba(6, 21, 46, 0.08);
}

.account-hero-cover,
.account-song-cover {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(11, 184, 178, 0.18);
  background:
    radial-gradient(circle at 28% 28%, rgba(13, 236, 231, 0.42), transparent 26%),
    radial-gradient(circle at 74% 70%, rgba(35, 136, 232, 0.32), transparent 28%),
    linear-gradient(135deg, #06152e, #0a2248 58%, #0bb8b2);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.account-hero-cover {
  width: 128px;
  height: 128px;
  border-radius: 18px;
}

.account-hero-cover span,
.account-song-cover::before {
  content: "";
  width: 76%;
  height: 36%;
  border-radius: 999px;
  background:
    linear-gradient(90deg, transparent 4%, rgba(123, 232, 227, 0.98) 42%, rgba(255, 255, 255, 0.72) 50%, rgba(11, 184, 178, 0.95) 58%, transparent 96%);
  filter: blur(0.2px);
  transform: rotate(-16deg);
}

.account-hero-cover-empty {
  background:
    radial-gradient(circle at 30% 30%, rgba(11, 184, 178, 0.32), transparent 30%),
    linear-gradient(135deg, rgba(229, 250, 248, 0.96), rgba(255, 255, 255, 0.95));
}

.account-hero-cover-empty span {
  width: 58px;
  height: 58px;
  border: 2px solid rgba(11, 184, 178, 0.55);
  border-left-color: transparent;
  border-radius: 50%;
  background: none;
  filter: none;
  transform: none;
}

.account-hero-track {
  display: grid;
  min-width: 0;
  gap: 10px;
}

.account-hero-track strong {
  color: var(--account-navy);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.account-hero-track p {
  margin: 0;
  color: var(--account-muted);
  font-size: 14px;
  font-weight: 700;
}

.account-audio-player {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 11px;
}

.account-audio-player .mini-play {
  position: relative;
  display: inline-grid;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #666;
  color: #fff;
  box-shadow: 0 10px 22px rgba(102, 102, 102, 0.14);
}

.account-audio-player:hover .mini-play:not(:disabled),
.account-audio-player:focus-within .mini-play:not(:disabled),
.account-audio-player .mini-play.is-playing:not(:disabled) {
  background: #0bb8b2;
  box-shadow: 0 12px 26px rgba(11, 184, 178, 0.24);
}

.account-audio-player .mini-play.is-disabled,
.account-audio-player .mini-play:disabled {
  background: #93a2b5;
  box-shadow: none;
}

.account-audio-player .mini-play span {
  width: 0;
  height: 0;
  margin-left: 3px;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 10px solid currentColor;
}

.account-audio-player .mini-play.is-playing span {
  width: 12px;
  height: 12px;
  margin-left: 0;
  border: 0;
  border-radius: 3px;
  background: currentColor;
}

.account-audio-player .audio-time {
  flex: 0 0 auto;
  color: #666;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.account-waveform {
  display: flex;
  width: 100%;
  min-width: 0;
  height: 36px;
  flex: 1 1 auto;
  align-items: center;
  gap: 4px;
  overflow: hidden;
  border-radius: 999px;
  cursor: pointer;
  outline: none;
  touch-action: manipulation;
}

.account-waveform i {
  width: 3px;
  height: 14px;
  flex: 0 0 3px;
  border-radius: 999px;
  background: #c8d5df;
  transform-origin: center;
}

.account-waveform i:nth-child(2n) { height: 22px; }
.account-waveform i:nth-child(3n) { height: 29px; }
.account-waveform i:nth-child(5n) { height: 18px; }

.account-audio-player:hover .account-waveform i,
.account-audio-player.is-playing .account-waveform i {
  animation: waveformPulse 1.1s ease-in-out infinite alternate;
  background: linear-gradient(180deg, #08c9c4, #7be8e3);
  box-shadow: 0 0 10px rgba(5, 184, 180, 0.2);
}

.account-waveform:focus-visible {
  box-shadow: 0 0 0 3px rgba(11, 184, 178, 0.18);
}

.account-audio-player:hover .account-waveform i:not(.is-filled),
.account-audio-player.is-playing .account-waveform i:not(.is-filled) {
  background: #c8d5df;
  box-shadow: none;
}

.account-audio-player .account-waveform i.is-filled,
.account-audio-player:hover .account-waveform i.is-filled,
.account-audio-player.is-playing .account-waveform i.is-filled {
  background: linear-gradient(180deg, #08c9c4, #7be8e3);
  box-shadow: 0 0 10px rgba(5, 184, 180, 0.22);
}

.account-audio-player:hover .account-waveform i:nth-child(2n),
.account-audio-player.is-playing .account-waveform i:nth-child(2n) {
  animation-delay: 0.12s;
}

.account-audio-player:hover .account-waveform i:nth-child(3n),
.account-audio-player.is-playing .account-waveform i:nth-child(3n) {
  animation-delay: 0.24s;
}

.account-songs-page .account-songs-stat,
.account-profile-page .account-songs-stat,
.account-payments-page .account-songs-stat {
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas:
    "icon label value"
    "icon text value";
  min-height: 108px;
  padding: 18px 22px;
}

.account-songs-page .account-songs-stat .account-stat-icon,
.account-profile-page .account-songs-stat .account-stat-icon,
.account-payments-page .account-songs-stat .account-stat-icon {
  grid-area: icon;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  align-self: center;
  border: 1px solid rgba(11, 184, 178, 0.18);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(229, 250, 248, 0.98), rgba(255, 255, 255, 0.94));
  color: #0bb8b2;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.account-songs-page .account-songs-stat .account-stat-icon svg,
.account-profile-page .account-songs-stat .account-stat-icon svg,
.account-payments-page .account-songs-stat .account-stat-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.account-songs-page .account-songs-stat strong,
.account-profile-page .account-songs-stat strong,
.account-payments-page .account-songs-stat strong {
  justify-content: flex-end;
  text-align: right;
}

.account-songs-page .account-song-list-full {
  gap: 0;
  overflow: hidden;
  border: 1px solid #dfeaf2;
  border-radius: 20px;
  background: #fff;
}

.account-songs-page .account-song-list-full:has(.account-song-menu[open]) {
  overflow: visible;
}

.account-songs-page .account-song-list-full .music-song-card {
  grid-template-columns: 72px minmax(320px, 1fr) minmax(112px, auto) minmax(390px, 0.82fr) minmax(272px, auto);
  grid-template-areas: "cover info status playback actions";
  gap: 20px;
  min-height: 100px;
  padding: 12px 22px;
  border: 0;
  border-bottom: 1px solid #e3edf4;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: none;
}

.account-songs-page .account-song-list-full .music-song-card:last-child {
  border-bottom: 0;
}

.account-songs-page .account-song-list-full .music-song-card:hover {
  position: relative;
  z-index: 1;
  border-color: transparent;
  background:
    linear-gradient(135deg, rgba(245, 254, 253, 0.98), rgba(255, 255, 255, 0.98));
  box-shadow: inset 4px 0 0 #0bb8b2, 0 16px 40px rgba(11, 184, 178, 0.11);
  transform: none;
}

.account-songs-page .account-song-list-full .music-song-card.is-selected,
.account-songs-page .account-song-list-full .music-song-card.is-selected:hover {
  position: relative;
  z-index: 2;
  background:
    linear-gradient(135deg, rgba(231, 253, 251, 0.92), rgba(255, 255, 255, 0.98));
  box-shadow:
    inset 0 0 0 1px rgba(11, 184, 178, 0.34),
    0 8px 18px rgba(11, 184, 178, 0.06);
  transform: none;
}

.account-song-cover {
  grid-area: cover;
  width: 72px;
  height: 72px;
  border-radius: 16px;
}

.account-songs-page .account-song-list-full .music-song-card .account-song-cover,
.account-playlist-track-card .account-song-cover {
  width: 64px;
  height: 64px;
  border-radius: 14px;
}

.account-songs-page .account-song-list-full .music-song-card .account-song-select {
  top: 14px;
  left: 22px;
}

.account-songs-page .account-song-info {
  grid-area: info;
}

.account-song-cover span {
  position: absolute;
  z-index: 1;
  display: inline-grid;
  min-width: 34px;
  height: 26px;
  place-items: center;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #037c79;
  font-size: 11px;
  font-weight: 800;
}

.music-song-card:nth-child(2n) .account-song-cover {
  background:
    radial-gradient(circle at 68% 26%, rgba(255, 255, 255, 0.46), transparent 24%),
    radial-gradient(circle at 28% 72%, rgba(11, 184, 178, 0.42), transparent 30%),
    linear-gradient(135deg, #1b2454, #7a4ee8 62%, #0bb8b2);
}

.music-song-card:nth-child(3n) .account-song-cover {
  background:
    radial-gradient(circle at 40% 28%, rgba(255, 214, 92, 0.6), transparent 23%),
    radial-gradient(circle at 68% 72%, rgba(11, 184, 178, 0.36), transparent 28%),
    linear-gradient(135deg, #2a180d, #816236 58%, #06152e);
}

.account-song-heading {
  display: flex;
  align-items: center;
  gap: 12px;
}

.account-song-heading strong {
  color: var(--account-navy);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: break-word;
  word-break: normal;
}

.account-song-heading .status-pill {
  flex: 0 0 auto;
}

.account-song-status {
  grid-area: status;
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
}

.account-song-playback {
  grid-area: playback;
  min-width: 0;
}

.account-row-audio {
  min-width: 360px;
  min-height: 52px;
  padding: 8px 12px;
  border: 1px solid #dfeaf2;
  border-radius: 14px;
  background: linear-gradient(135deg, #fbfdfe, #ffffff);
}

.account-song-pending {
  display: grid;
  gap: 5px;
  color: var(--account-muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.account-song-pending strong {
  color: var(--account-muted);
  font-size: 14px;
  font-weight: 800;
}

.account-songs-page .account-song-actions {
  grid-area: actions;
  min-width: 272px;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
}

.account-songs-page .account-song-actions .button {
  min-width: 126px;
}

.account-song-delete-form {
  display: inline-flex;
  margin: 0;
}

.account-song-delete-form .button {
  font: inherit;
}

.account-songs-page .account-song-actions .account-song-delete-button {
  width: 54px;
  min-width: 54px;
  padding: 0;
  border-color: rgba(220, 86, 86, 0.22);
  background: #fff;
  color: #a64646;
}

.account-songs-page .account-song-actions .account-song-delete-button:hover {
  border-color: rgba(220, 86, 86, 0.36);
  background: #fff8f8;
  color: #942f2f;
  box-shadow: 0 12px 28px rgba(220, 86, 86, 0.12);
}

.account-playlists-layout {
  display: grid;
  grid-template-columns: minmax(340px, 0.42fr) minmax(0, 1fr);
  gap: 20px;
}

.account-playlists-sidebar,
.account-playlist-detail {
  align-self: start;
}

.account-playlist-detail {
  container-type: inline-size;
}

.account-playlist-detail-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex: 0 0 auto;
}

.account-playlist-title-block {
  min-width: 0;
}

.account-playlist-title-row {
  position: relative;
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
}

.account-playlist-title-row h2 {
  min-width: 0;
  overflow-wrap: anywhere;
}

.account-playlist-title-edit {
  position: relative;
  flex: 0 0 auto;
  margin-top: 5px;
}

.account-playlist-title-edit summary {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(215, 228, 238, 0.92);
  border-radius: 12px;
  background: #fff;
  color: #0bb8b2;
  cursor: pointer;
  list-style: none;
  opacity: 0;
  box-shadow: 0 10px 24px rgba(6, 21, 46, 0.06);
  transition: opacity 0.18s ease, transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.account-playlist-title-edit summary::-webkit-details-marker {
  display: none;
}

.account-playlist-title-row:hover .account-playlist-title-edit summary,
.account-playlist-title-row:focus-within .account-playlist-title-edit summary,
.account-playlist-title-edit[open] summary {
  opacity: 1;
}

.account-playlist-title-edit summary:hover,
.account-playlist-title-edit[open] summary {
  transform: translateY(-1px);
  border-color: rgba(11, 184, 178, 0.72);
  box-shadow: 0 14px 30px rgba(11, 184, 178, 0.14);
}

.account-playlist-title-edit summary svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.account-playlist-title-popover {
  position: absolute;
  z-index: 35;
  top: calc(100% + 10px);
  left: auto;
  right: 0;
  display: grid;
  width: min(360px, calc(100vw - 44px));
  gap: 10px;
  padding: 14px;
  border: 1px solid rgba(215, 228, 238, 0.95);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 22px 48px rgba(6, 21, 46, 0.16);
}

.account-playlist-title-popover label {
  color: var(--account-navy);
  font-size: 13px;
  font-weight: 850;
}

.account-playlist-title-popover input {
  width: 100%;
  min-height: 44px;
  padding: 0 13px;
  border: 1px solid #d7e4ee;
  border-radius: 13px;
  background: #fff;
  color: var(--account-navy);
  font: inherit;
  font-weight: 800;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.account-playlist-title-popover input:focus {
  border-color: rgba(11, 184, 178, 0.72);
  box-shadow: 0 0 0 4px rgba(11, 184, 178, 0.12);
}

.account-playlist-title-popover-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 8px;
}

.account-playlist-title-popover-actions .button {
  width: 100%;
  justify-content: center;
}

.account-playlist-add-form,
.account-playlist-delete-form {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
  margin: 0;
}

.account-playlist-add-button,
.account-playlist-delete-button {
  width: 54px;
  min-width: 54px;
  padding: 0;
}

.account-playlist-add-button .button-icon svg {
  stroke-width: 2.4;
}

.account-playlist-add-menu {
  top: calc(100% + 10px);
  bottom: auto;
}

.account-playlist-add-menu::before {
  top: -7px;
  bottom: auto;
  border: 0;
  border-left: 1px solid rgba(14, 188, 180, 0.22);
  border-top: 1px solid rgba(14, 188, 180, 0.22);
}

.account-playlist-add-options {
  max-height: 280px;
}

.account-playlist-add-option {
  align-items: flex-start;
}

.account-playlist-add-option-text {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.account-playlist-add-option-text strong {
  overflow-wrap: anywhere;
  color: var(--account-navy);
  font-size: 14px;
  line-height: 1.2;
}

.account-playlist-add-option-text small {
  color: var(--account-muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
}

.account-playlist-add-empty {
  margin-top: 12px;
  padding: 12px;
  border: 1px dashed rgba(14, 188, 180, 0.28);
  border-radius: 14px;
  background: rgba(245, 254, 253, 0.78);
  color: var(--account-muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.account-playlist-create-form {
  display: grid;
  gap: 10px;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid #dfeaf2;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(251, 253, 254, 0.98), rgba(255, 255, 255, 0.98));
}

.account-playlist-create-form label {
  color: var(--account-muted);
  font-size: 13px;
  font-weight: 800;
}

.account-playlist-create-form div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.account-playlist-create-form input {
  min-width: 0;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid #dfeaf2;
  border-radius: 14px;
  background: #fff;
  color: var(--account-navy);
  font-size: 15px;
  font-weight: 800;
}

.account-playlist-create-form input:focus {
  border-color: rgba(11, 184, 178, 0.65);
  outline: 3px solid rgba(11, 184, 178, 0.14);
}

.account-playlist-search-form {
  display: grid;
  gap: 9px;
  margin-top: 12px;
  padding: 12px;
  border: 1px solid #dfeaf2;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.78);
}

.account-playlist-search-form label {
  color: var(--account-muted);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.account-playlist-search-form div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.account-playlist-search-form input {
  min-width: 0;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid #dfeaf2;
  border-radius: 13px;
  background: #fff;
  color: var(--account-navy);
  font-size: 14px;
  font-weight: 800;
}

.account-playlist-search-form input:focus {
  border-color: rgba(11, 184, 178, 0.65);
  outline: 3px solid rgba(11, 184, 178, 0.12);
}

.account-playlist-search-reset {
  justify-self: start;
  color: var(--account-mint-dark);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}

.account-playlist-search-reset:hover {
  text-decoration: underline;
}

.account-playlist-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  max-height: 430px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-right: 6px;
  scrollbar-color: rgba(11, 184, 178, 0.45) transparent;
  scrollbar-width: thin;
}

.account-playlist-list::-webkit-scrollbar {
  width: 8px;
}

.account-playlist-list::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: rgba(11, 184, 178, 0.34);
}

.account-playlist-list::-webkit-scrollbar-track {
  background: transparent;
}

.account-playlist-card {
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid #dfeaf2;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.account-playlist-card[hidden] {
  display: none;
}

.account-playlist-card:hover,
.account-playlist-card.is-active {
  border-color: rgba(11, 184, 178, 0.56);
  background: linear-gradient(135deg, rgba(244, 254, 253, 0.98), rgba(255, 255, 255, 0.98));
  box-shadow: 0 14px 32px rgba(11, 184, 178, 0.10);
}

.account-playlist-card:hover {
  transform: translateY(-1px);
}

.account-playlist-card.is-empty {
  grid-template-columns: 46px minmax(0, 1fr);
  min-height: 68px;
  padding: 10px 12px;
}

.account-playlist-card.is-active::before {
  content: "";
  position: absolute;
  inset: 14px auto 14px -1px;
  width: 4px;
  border-radius: 999px;
  background: #0bb8b2;
}

.account-playlist-card-icon {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid rgba(11, 184, 178, 0.2);
  border-radius: 16px;
  background: linear-gradient(135deg, #e4fbfa, #ffffff);
  color: #0bb8b2;
}

.account-playlist-card.is-empty .account-playlist-card-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
}

.account-playlist-card-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.account-playlist-card strong {
  display: block;
  color: var(--account-navy);
  font-size: 16px;
  font-weight: 900;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.account-playlist-card.is-empty strong {
  font-size: 15px;
}

.account-playlist-card small {
  display: block;
  margin-top: 4px;
  color: var(--account-muted);
  font-size: 13px;
  font-weight: 800;
}

.account-playlist-card.is-empty small {
  margin-top: 2px;
  font-size: 12px;
}

.account-playlist-empty {
  margin-top: 16px;
}

.account-playlist-live-empty[hidden] {
  display: none;
}

.account-playlist-track-list {
  display: grid;
  overflow: visible;
  margin-top: 16px;
  border: 1px solid #dfeaf2;
  border-radius: 20px;
  background: #fff;
}

.account-playlist-track-list.is-reordering {
  user-select: none;
}

.account-playlist-track-list.is-reorder-saving {
  border-color: rgba(11, 184, 178, 0.38);
}

.account-playlist-track-list.is-reorder-error {
  border-color: rgba(220, 86, 86, 0.42);
}

.account-playlist-track-card {
  grid-template-columns: 64px minmax(180px, 0.85fr) minmax(300px, 1.15fr) 54px;
  grid-template-areas: "cover info playback actions";
  align-items: center;
  gap: 16px;
  min-height: 96px;
  padding: 12px 16px;
  border: 0;
  border-bottom: 1px solid #e3edf4;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: none;
}

.account-playlist-track-card:first-child {
  border-top-left-radius: 19px;
  border-top-right-radius: 19px;
}

.account-playlist-track-card:last-child {
  border-bottom-left-radius: 19px;
  border-bottom-right-radius: 19px;
}

.account-playlist-track-card.is-dragging {
  position: relative;
  z-index: 4;
  border-radius: 16px;
  opacity: 0.78;
  box-shadow: inset 4px 0 0 #0bb8b2, 0 18px 36px rgba(6, 21, 46, 0.14);
}

.account-playlist-track-card .account-song-cover[data-playlist-drag-handle] {
  cursor: grab;
  outline: none;
  touch-action: none;
}

.account-playlist-track-card .account-song-cover[data-playlist-drag-handle]:active {
  cursor: grabbing;
}

.account-playlist-track-card .account-song-cover[data-playlist-drag-handle]:focus-visible {
  box-shadow:
    inset 0 0 0 2px rgba(255, 255, 255, 0.36),
    0 0 0 3px rgba(11, 184, 178, 0.22),
    0 14px 30px rgba(11, 184, 178, 0.16);
}

.account-playlist-track-card .account-song-playback,
.account-playlist-track-card .account-row-audio {
  width: 100%;
  min-width: 0;
}

.account-playlist-track-card .account-song-actions {
  display: grid;
  grid-template-columns: 54px;
  width: auto;
  min-width: 0;
  align-items: center;
  justify-content: end;
  align-self: center;
  justify-self: end;
}

.account-playlist-track-card .account-song-actions .button {
  width: 54px;
  min-width: 0;
}

.account-playlist-track-card .account-song-delete-form {
  width: auto;
}

.account-song-menu {
  position: relative;
  z-index: 3;
  width: 54px;
}

.account-song-menu summary {
  list-style: none;
}

.account-song-menu summary::-webkit-details-marker {
  display: none;
}

.account-song-menu-trigger {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid #d8e6f0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  color: #0d1b32;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(15, 29, 50, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.account-song-menu-trigger svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.account-song-menu-trigger:hover,
.account-song-menu[open] .account-song-menu-trigger {
  border-color: rgba(11, 184, 178, 0.36);
  color: #079f9a;
  box-shadow: 0 18px 34px rgba(11, 184, 178, 0.12);
  transform: translateY(-1px);
}

.account-song-menu-panel {
  position: absolute;
  top: auto;
  right: 0;
  bottom: calc(100% + 10px);
  z-index: 20;
  min-width: 220px;
  padding: 8px;
  border: 1px solid #d8e6f0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 22px 44px rgba(15, 29, 50, 0.14);
}

.account-song-menu-panel::before {
  content: "";
  position: absolute;
  top: auto;
  right: 20px;
  bottom: -6px;
  width: 10px;
  height: 10px;
  border-right: 1px solid #d8e6f0;
  border-bottom: 1px solid #d8e6f0;
  background: #fff;
  transform: rotate(45deg);
}

.account-song-menu-panel .account-song-menu-button {
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 0 14px;
  justify-content: flex-start;
  gap: 8px;
  border-color: rgba(11, 184, 178, 0.18);
  background: #f5fdfc;
  color: #078f8b;
  font: inherit;
}

.account-song-menu-panel .account-song-menu-button:hover {
  border-color: rgba(11, 184, 178, 0.34);
  background: #e9fbf9;
  color: #067b78;
  box-shadow: 0 12px 28px rgba(11, 184, 178, 0.12);
}

.account-playlist-track-card .account-song-menu-panel .account-song-menu-button {
  width: 100%;
  min-width: 0;
}

.account-song-menu-panel .account-song-menu-button + .account-song-delete-form {
  margin-top: 6px;
}

.account-songs-page .account-song-actions .account-song-menu-panel .account-song-delete-form {
  width: 100%;
}

.account-songs-page .account-song-actions .account-song-menu-panel .account-song-delete-menu-button {
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 0 14px;
  justify-content: flex-start;
  gap: 8px;
}

.account-playlist-track-card .account-song-menu-panel .account-song-delete-form {
  width: 100%;
}

.account-playlist-track-card .account-song-actions .account-playlist-remove-song-button {
  width: 54px;
  min-width: 54px;
  padding: 0;
  border-color: rgba(220, 86, 86, 0.22);
  background: #fff;
  color: #a64646;
}

.account-playlist-track-card .account-song-menu-panel .account-playlist-remove-song-button {
  width: 100%;
  min-width: 0;
  height: 44px;
  padding: 0 14px;
  justify-content: flex-start;
  gap: 8px;
}

.account-playlist-track-card .account-song-menu-panel .account-song-delete-form .account-playlist-remove-song-button {
  width: 100%;
  min-width: 0;
}

.account-playlist-track-card .account-song-actions .account-playlist-remove-song-button:hover {
  border-color: rgba(220, 86, 86, 0.36);
  background: #fff8f8;
  color: #942f2f;
  box-shadow: 0 12px 28px rgba(220, 86, 86, 0.12);
}

.account-playlist-track-card:last-child {
  border-bottom: 0;
}

.account-playlist-track-card:hover {
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, rgba(245, 254, 253, 0.98), rgba(255, 255, 255, 0.98));
  box-shadow: inset 4px 0 0 #0bb8b2, 0 14px 32px rgba(11, 184, 178, 0.08);
  transform: none;
}

.account-playlist-track-card.is-playing {
  position: relative;
  z-index: 1;
  background: linear-gradient(135deg, rgba(229, 252, 249, 0.92), rgba(255, 255, 255, 0.98));
  box-shadow: inset 5px 0 0 #0bb8b2, inset 0 0 0 1px rgba(11, 184, 178, 0.34), 0 8px 18px rgba(11, 184, 178, 0.08);
}

@container (max-width: 760px) {
  .account-playlist-track-card {
    grid-template-columns: 72px minmax(0, 1fr) 58px;
    grid-template-areas:
      "cover info info"
      "playback playback actions";
    gap: 16px;
    align-items: center;
  }

  .account-playlist-track-card .account-song-actions {
    display: grid;
    grid-template-columns: 54px;
    width: auto;
    min-width: 0;
    align-items: center;
    justify-content: end;
    align-self: center;
    justify-self: end;
  }

  .account-playlist-track-card .account-song-actions .button {
    width: 54px;
  }
}

.account-playlist-detail .account-empty {
  margin-top: 16px;
  border: 1px dashed rgba(11, 184, 178, 0.28);
  background: linear-gradient(135deg, rgba(248, 254, 253, 0.96), rgba(255, 255, 255, 0.98));
}

.account-songs-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.account-songs-bulk-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 14px;
  padding: 12px 14px;
  border: 1px solid #dfeaf2;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(251, 253, 254, 0.98), rgba(255, 255, 255, 0.98));
}

.account-songs-bulk-count {
  display: grid;
  gap: 3px;
  color: var(--account-muted);
  font-size: 13px;
  font-weight: 700;
}

.account-songs-bulk-count span {
  color: var(--account-navy);
  font-size: 15px;
  font-weight: 800;
}

.account-songs-bulk-count small {
  font: inherit;
  color: var(--account-muted);
}

.account-songs-bulk-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.account-songs-bulk-playlist-form {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  position: relative;
}

.account-songs-playlist-trigger[aria-expanded="true"] {
  border-color: var(--account-mint);
  color: var(--account-navy);
  box-shadow: 0 14px 30px rgba(14, 188, 180, 0.12);
}

.account-songs-playlist-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 45;
  width: min(360px, calc(100vw - 36px));
  padding: 14px;
  border: 1px solid rgba(14, 188, 180, 0.22);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 24px 58px rgba(5, 18, 41, 0.16);
  backdrop-filter: blur(14px);
}

.account-songs-playlist-menu[hidden] {
  display: none;
}

.account-songs-playlist-menu::before {
  content: "";
  position: absolute;
  top: -7px;
  right: 34px;
  width: 14px;
  height: 14px;
  border-left: 1px solid rgba(14, 188, 180, 0.22);
  border-top: 1px solid rgba(14, 188, 180, 0.22);
  background: rgba(255, 255, 255, 0.97);
  transform: rotate(45deg);
}

.account-songs-playlist-menu-head {
  display: grid;
  gap: 3px;
  padding: 2px 4px 12px;
  border-bottom: 1px solid #e8f0f5;
}

.account-songs-playlist-menu-head strong {
  color: var(--account-navy);
  font-size: 15px;
  font-weight: 900;
}

.account-songs-playlist-menu-head small {
  color: var(--account-muted);
  font-size: 12px;
  font-weight: 700;
}

.account-songs-playlist-options {
  display: grid;
  gap: 8px;
  max-height: 230px;
  margin-top: 12px;
  overflow: auto;
  padding-right: 2px;
}

.account-songs-playlist-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 48px;
  padding: 9px 11px;
  border: 1px solid #dfeaf2;
  border-radius: 14px;
  background: #fbfdfe;
  color: var(--account-navy);
  font: inherit;
  font-weight: 900;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.account-songs-playlist-option:hover {
  border-color: rgba(14, 188, 180, 0.55);
  background: linear-gradient(135deg, rgba(226, 255, 252, 0.72), #fff 62%);
  box-shadow: 0 14px 28px rgba(14, 188, 180, 0.11);
  transform: translateY(-1px);
}

.account-songs-playlist-option-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(14, 188, 180, 0.18);
  border-radius: 12px;
  background: rgba(224, 251, 249, 0.78);
  color: var(--account-mint-dark);
}

.account-songs-playlist-option-icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.account-songs-playlist-new {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #e8f0f5;
}

.account-songs-playlist-new input {
  min-height: 46px;
  width: 100%;
  border: 1px solid #dfeaf2;
  border-radius: 14px;
  background: #fbfdfe;
  color: var(--account-navy);
  font-size: 14px;
  font-weight: 800;
  padding: 0 14px;
  outline: none;
}

.account-songs-playlist-new input:focus {
  border-color: rgba(14, 188, 180, 0.7);
  box-shadow: 0 0 0 4px rgba(14, 188, 180, 0.12);
}

.account-songs-bulk-delete-button {
  border-color: rgba(220, 86, 86, 0.24);
  color: #a64646;
}

.account-songs-bulk-delete-button:not(:disabled):hover {
  border-color: rgba(220, 86, 86, 0.36);
  background: #fff8f8;
  color: #942f2f;
  box-shadow: 0 12px 28px rgba(220, 86, 86, 0.12);
}

.account-songs-bulk-bar .button:disabled {
  cursor: default;
  opacity: 0.48;
  transform: none;
}

.account-songs-sort-dropdown,
.account-songs-filter-dropdown,
.account-songs-page-size-dropdown {
  position: relative;
  min-width: 190px;
  color: var(--account-muted);
}

.account-songs-filter-dropdown,
.account-songs-page-size-dropdown {
  min-width: 156px;
}

.account-songs-sort-dropdown[open],
.account-songs-filter-dropdown[open],
.account-songs-page-size-dropdown[open] {
  z-index: 30;
}

.account-songs-sort-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 44px;
  padding: 0 14px 0 18px;
  border: 1px solid #dfeaf2;
  border-radius: 13px;
  background: #fbfdfe;
  color: var(--account-muted);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.account-songs-sort-trigger::-webkit-details-marker {
  display: none;
}

.account-songs-sort-trigger:hover,
.account-songs-sort-dropdown[open] .account-songs-sort-trigger,
.account-songs-filter-dropdown[open] .account-songs-sort-trigger,
.account-songs-page-size-dropdown[open] .account-songs-sort-trigger {
  border-color: rgba(11, 184, 178, 0.46);
  color: var(--account-navy);
  box-shadow: 0 12px 28px rgba(11, 184, 178, 0.10);
  transform: translateY(-1px);
}

.account-songs-filter-dropdown.is-filtered .account-songs-sort-trigger {
  border-color: rgba(11, 184, 178, 0.58);
  background: rgba(229, 250, 248, 0.68);
  color: var(--account-navy);
  box-shadow: 0 12px 28px rgba(11, 184, 178, 0.10);
}

.account-songs-filter-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.account-songs-filter-label span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-songs-filter-icon {
  width: 15px;
  height: 15px;
  flex: 0 0 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.account-songs-sort-trigger:focus {
  outline: 3px solid rgba(11, 184, 178, 0.16);
  outline-offset: 3px;
}

.account-songs-sort-arrow {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.18s ease;
}

.account-songs-sort-dropdown[open] .account-songs-sort-arrow,
.account-songs-filter-dropdown[open] .account-songs-sort-arrow,
.account-songs-page-size-dropdown[open] .account-songs-sort-arrow {
  transform: rotate(180deg);
}

.account-songs-sort-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 100%;
  min-width: 210px;
  padding: 6px;
  border: 1px solid rgba(215, 228, 238, 0.95);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 44px rgba(6, 21, 46, 0.14);
}

.account-songs-sort-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 38px;
  padding: 8px 10px 8px 12px;
  border-radius: 11px;
  color: var(--account-muted);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.account-songs-sort-option:hover,
.account-songs-sort-option.is-active {
  background: var(--account-soft);
  color: var(--account-navy);
}

.account-songs-sort-option:hover {
  transform: translateX(2px);
}

.account-songs-sort-check {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  fill: none;
  stroke: var(--account-mint);
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.account-songs-page .button.is-disabled,
.account-songs-page .button.is-disabled:hover {
  cursor: default;
  border-color: #dfeaf2;
  background: #fbfdfe;
  color: #8a98aa;
  box-shadow: none;
  transform: none;
}

.account-songs-page .account-menu-toggle {
  background: #fff;
  border-color: #d7e4ee;
}

.account-songs-page .account-menu-toggle::before {
  background: #fff;
  box-shadow: none;
}

.account-songs-page .account-menu-toggle span {
  background: var(--account-navy);
}

.account-songs-page .account-menu-toggle:hover::before {
  box-shadow: none;
}

.account-empty {
  display: grid;
  justify-items: start;
  gap: 10px;
  padding: 28px;
  border: 1px dashed #bfd1de;
  border-radius: 18px;
  background:
    radial-gradient(circle at 100% 0%, rgba(11, 184, 178, 0.1), transparent 30%),
    #fbfdfe;
}

.account-empty-compact {
  padding: 22px;
}

.account-empty h3 {
  margin: 0;
  color: var(--account-navy);
  font-size: 22px;
}

.account-action-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

.account-package-list,
.account-profile-list {
  display: grid;
  gap: 10px;
  margin: 0;
}

.account-package-mini {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 58px;
  padding: 13px 14px;
  border: 1px solid #dce8f0;
  border-radius: 14px;
  background: linear-gradient(135deg, #fbfdfe, #ffffff);
  color: var(--account-navy);
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.account-package-mini:hover {
  border-color: rgba(11, 184, 178, 0.55);
  box-shadow: 0 14px 34px rgba(11, 184, 178, 0.12);
  transform: translateY(-2px);
}

.account-package-mini span {
  color: var(--account-muted);
  font-size: 14px;
  font-weight: 800;
}

.account-package-mini strong {
  font-size: 20px;
  font-weight: 800;
}

.account-package-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.account-package-card,
.account-payment-card {
  border: 1px solid #dfeaf2;
  border-radius: 16px;
  background: linear-gradient(135deg, #fbfdfe, #ffffff);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.account-package-card:hover,
.account-payment-card:hover {
  border-color: rgba(11, 184, 178, 0.55);
  box-shadow: 0 16px 42px rgba(11, 184, 178, 0.12);
  transform: translateY(-2px);
}

.account-package-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 132px;
  padding: 18px;
}

.account-package-card div {
  display: grid;
  gap: 8px;
}

.account-package-card span {
  color: var(--account-muted);
  font-size: 14px;
  font-weight: 800;
}

.account-package-card strong {
  color: var(--account-navy);
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
}

.account-package-card p {
  margin: 0;
  color: var(--account-muted);
  font-size: 14px;
  font-weight: 700;
}

.account-package-payment-form {
  margin: 0;
}

.account-payments-page .account-payments-hero-rich {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.44fr);
  align-items: center;
  gap: 28px;
  padding: 42px 46px;
}

.account-payments-page .account-payments-hero-rich .account-hero-copy {
  max-width: 780px;
}

.account-payments-page .account-payments-hero-rich .account-hero-actions {
  justify-content: flex-start;
  margin-top: 22px;
}

.account-payments-page .account-payments-hero-rich .account-hero-actions .button {
  min-width: 230px;
}

.account-payment-hero-card {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  min-height: 150px;
  padding: 22px;
  border: 1px solid rgba(215, 228, 238, 0.95);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(250, 252, 254, 0.94));
  box-shadow: 0 20px 52px rgba(6, 21, 46, 0.08);
}

.account-payment-hero-icon,
.account-payment-icon,
.account-side-icon {
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(11, 184, 178, 0.18);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(229, 250, 248, 0.98), rgba(255, 255, 255, 0.94));
  color: #0bb8b2;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
}

.account-payment-hero-icon {
  width: 66px;
  height: 66px;
}

.account-payment-hero-icon svg,
.account-payment-icon svg,
.account-side-icon svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.account-payment-hero-card span:not(.account-payment-hero-icon) {
  color: var(--account-muted);
  font-size: 14px;
  font-weight: 800;
}

.account-payment-hero-card strong {
  display: block;
  margin-top: 6px;
  color: var(--account-navy);
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
}

.account-payment-hero-card p {
  margin: 10px 0 0;
  color: var(--account-muted);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.account-payments-layout {
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.55fr);
}

.account-payments-page .account-packages-panel {
  padding: 30px;
}

.account-payments-page .account-package-grid {
  gap: 16px;
}

.account-payments-page .account-package-card {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, auto);
  gap: 18px;
  align-items: end;
  min-height: 168px;
  overflow: hidden;
  padding: 22px;
  border-radius: 20px;
}

.account-payments-page .account-package-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 100% 0%, rgba(11, 184, 178, 0.1), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(250, 252, 254, 0.92));
}

.account-payments-page .account-package-card > :not(.account-package-badge) {
  position: relative;
  z-index: 1;
}

.account-payments-page .account-package-card.is-featured {
  border-color: rgba(11, 184, 178, 0.55);
  box-shadow: 0 18px 52px rgba(11, 184, 178, 0.12);
}

.account-package-copy {
  display: grid;
  gap: 9px;
}

.account-payments-page .account-package-card:has(.account-package-badge) .account-package-copy {
  padding-top: 14px;
}

.account-payments-page .account-package-copy span {
  color: var(--account-muted);
  font-size: 14px;
  font-weight: 800;
}

.account-payments-page .account-package-copy strong {
  color: var(--account-navy);
  font-size: clamp(30px, 2.8vw, 40px);
  font-weight: 800;
  line-height: 1;
}

.account-package-copy p,
.account-package-copy small {
  margin: 0;
  color: var(--account-muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.account-payments-page .account-package-card .account-package-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  display: inline-flex;
  width: max-content;
  max-width: calc(100% - 32px);
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 7px 12px;
  border-radius: 999px;
  background: var(--badge-bg, #dff8f7);
  color: var(--badge-color, #037c79);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.account-payments-page .account-package-payment-form {
  display: grid;
  gap: 10px;
  align-content: end;
  justify-items: end;
  min-width: 190px;
}

.account-payments-page .account-package-payment-form .button {
  min-width: 150px;
}

.account-package-promo-field {
  display: grid;
  gap: 6px;
  width: min(210px, 100%);
}

.account-package-promo-field span {
  color: var(--account-muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.account-package-promo-field input,
.account-referral-code input {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(148, 163, 184, 0.34);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--account-navy);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  outline: none;
  text-transform: uppercase;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.account-package-promo-field input {
  height: 42px;
  padding: 0 13px;
}

.account-package-promo-field input::placeholder {
  color: rgba(99, 116, 139, 0.72);
  font-weight: 700;
  text-transform: none;
}

.account-package-promo-field input:focus,
.account-referral-code input:focus {
  border-color: rgba(11, 184, 178, 0.68);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(11, 184, 178, 0.12);
}

.account-payments-page .account-package-card .button .button-icon {
  color: currentColor;
  font-size: inherit;
  font-weight: inherit;
}

.account-payments-page .account-side-stack .account-panel {
  overflow: hidden;
}

.account-payments-page .account-side-stack .account-note-card {
  background: rgba(255, 255, 255, 0.94);
}

.account-payments-page .account-referral-card {
  background:
    linear-gradient(135deg, rgba(235, 255, 253, 0.96), rgba(255, 255, 255, 0.96));
}

.account-payments-page .account-side-stack .account-panel p {
  margin-top: 12px;
}

.account-referral-code {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  margin-top: 16px;
}

.account-referral-code input {
  height: 46px;
  padding: 0 14px;
  letter-spacing: 0;
}

.account-payments-page .account-side-heading {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.account-payments-page .account-side-heading .account-side-icon {
  flex: 0 0 auto;
  margin-bottom: 0;
}

.account-payments-page .account-side-heading .account-eyebrow {
  margin: 0;
  line-height: 1;
}

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

.account-payment-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
}

.account-payment-icon {
  width: 48px;
  height: 48px;
}

.account-payment-icon svg,
.account-side-icon svg {
  width: 24px;
  height: 24px;
}

.account-side-icon {
  width: 50px;
  height: 50px;
  margin-bottom: 16px;
}

.account-payment-main {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.account-payment-amount {
  color: var(--account-navy);
  font-size: 22px;
  font-weight: 800;
  white-space: nowrap;
}

.account-payment-side {
  display: grid;
  justify-items: end;
  gap: 10px;
}

.account-payment-continue-button {
  min-width: 190px;
}

.support-dialog {
  display: grid;
  gap: 12px;
}

.support-order-link {
  padding: 12px 14px;
  border: 1px solid #dce8f0;
  border-radius: 14px;
  background: #fbfdfe;
  color: var(--account-muted);
  font-size: 14px;
  font-weight: 800;
}

.support-message {
  display: grid;
  max-width: min(82%, 620px);
  gap: 8px;
  padding: 16px;
  border: 1px solid #dfeaf2;
  border-radius: 18px;
  background: #fbfdfe;
  box-shadow: 0 12px 30px rgba(6, 21, 46, 0.05);
}

.support-message.is-customer {
  justify-self: end;
  border-color: rgba(11, 184, 178, 0.28);
  background: linear-gradient(135deg, rgba(223, 248, 247, 0.95), #ffffff);
}

.support-message.is-admin {
  justify-self: start;
  border-color: rgba(35, 136, 232, 0.18);
}

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

.support-message-head strong {
  color: var(--account-navy);
  font-size: 14px;
  font-weight: 800;
}

.support-message-head span,
.support-message-head time,
.support-ticket-card small {
  color: var(--account-muted);
  font-size: 12px;
  font-weight: 800;
}

.support-message p {
  margin: 0;
  color: var(--account-navy);
  line-height: 1.5;
}

.support-new-form,
.support-reply-form {
  display: grid;
  gap: 12px;
}

.support-close-form {
  margin-top: 12px;
}

.support-new-form label,
.support-reply-form label {
  color: var(--account-navy);
  font-size: 14px;
  font-weight: 800;
}

.support-new-form input,
.support-new-form select,
.support-new-form textarea,
.support-reply-form textarea {
  width: 100%;
  border: 1px solid #d6e4ee;
  border-radius: 14px;
  background: #fff;
  color: var(--account-navy);
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  outline: none;
}

.support-new-form input,
.support-new-form select {
  min-height: 50px;
  padding: 0 14px;
}

.support-new-form textarea,
.support-reply-form textarea {
  min-height: 132px;
  padding: 14px;
  resize: vertical;
}

.support-new-form input:focus,
.support-new-form select:focus,
.support-new-form textarea:focus,
.support-reply-form textarea:focus {
  border-color: rgba(11, 184, 178, 0.65);
  box-shadow: 0 0 0 4px rgba(11, 184, 178, 0.12);
}

.support-form-actions {
  display: flex;
  justify-content: flex-end;
}

.support-ticket-picker {
  display: grid;
  gap: 10px;
}

.support-ticket-picker label {
  color: var(--account-navy);
  font-size: 14px;
  font-weight: 800;
}

.support-ticket-select-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
}

.support-ticket-picker select {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  border: 1px solid #d6e4ee;
  border-radius: 14px;
  background: #fff;
  color: var(--account-navy);
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
  outline: none;
}

.support-ticket-picker select:focus {
  border-color: rgba(11, 184, 178, 0.65);
  box-shadow: 0 0 0 4px rgba(11, 184, 178, 0.12);
}

.support-ticket-list {
  display: grid;
  gap: 10px;
}

.support-ticket-card {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 1px solid #dce8f0;
  border-radius: 16px;
  background: linear-gradient(135deg, #fbfdfe, #ffffff);
  color: var(--account-navy);
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.support-ticket-card:hover,
.support-ticket-card.is-active {
  border-color: rgba(11, 184, 178, 0.55);
  box-shadow: 0 14px 34px rgba(11, 184, 178, 0.12);
  transform: translateY(-2px);
}

.support-ticket-card strong {
  color: var(--account-navy);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
}

.account-profile-list div {
  display: grid;
  gap: 5px;
  padding: 13px 0;
  border-bottom: 1px solid #edf3f7;
}

.account-profile-list div:last-child {
  border-bottom: 0;
}

.account-profile-list dd {
  margin: 0;
  color: var(--account-navy);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.account-profile-actions {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #edf3f7;
}

.account-profile-actions .button {
  width: 100%;
  justify-content: center;
}

.account-profile-page .account-profile-hero {
  gap: 28px;
}

.account-profile-page .account-profile-hero .account-hero-actions {
  justify-content: flex-start;
  margin-top: 28px;
}

.account-profile-page .account-profile-hero .account-hero-actions .button {
  min-width: 230px;
}

.account-identity-card {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  width: min(100%, 520px);
  justify-self: end;
  padding: 22px;
  border: 1px solid rgba(215, 228, 238, 0.95);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(250, 252, 254, 0.94));
  box-shadow: 0 20px 52px rgba(6, 21, 46, 0.08);
}

.account-avatar {
  display: grid;
  width: 88px;
  height: 88px;
  place-items: center;
  border: 1px solid rgba(11, 184, 178, 0.22);
  border-radius: 24px;
  background:
    radial-gradient(circle at 28% 28%, rgba(13, 236, 231, 0.42), transparent 28%),
    radial-gradient(circle at 76% 72%, rgba(35, 136, 232, 0.28), transparent 30%),
    linear-gradient(135deg, #06152e, #0a2248 58%, #0bb8b2);
  color: #fff;
  font-size: 23px;
  font-weight: 900;
  letter-spacing: 0;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.account-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.account-identity-main {
  display: grid;
  min-width: 0;
  gap: 8px;
}

.account-identity-main strong {
  color: var(--account-navy);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.account-identity-name-row {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 8px;
}

.account-identity-name-row strong {
  min-width: 0;
}

.account-inline-name-edit {
  position: relative;
  flex: 0 0 auto;
}

.account-inline-name-edit summary {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(215, 228, 238, 0.92);
  border-radius: 50%;
  background: #fff;
  color: #0bb8b2;
  cursor: pointer;
  list-style: none;
  box-shadow: 0 10px 24px rgba(6, 21, 46, 0.06);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.account-inline-name-edit summary::-webkit-details-marker {
  display: none;
}

.account-inline-name-edit summary:hover,
.account-inline-name-edit[open] summary {
  transform: translateY(-1px);
  border-color: rgba(11, 184, 178, 0.72);
  box-shadow: 0 14px 30px rgba(11, 184, 178, 0.14);
}

.account-inline-name-edit summary svg {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.account-name-popover {
  position: absolute;
  z-index: 30;
  top: calc(100% + 10px);
  right: 0;
  display: grid;
  width: min(340px, calc(100vw - 40px));
  gap: 9px;
  padding: 14px;
  border: 1px solid rgba(215, 228, 238, 0.95);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 22px 48px rgba(6, 21, 46, 0.16);
}

.account-name-popover label {
  color: var(--account-navy);
  font-size: 13px;
  font-weight: 850;
}

.account-name-popover input {
  width: 100%;
  min-height: 44px;
  border: 1px solid #d7e4ee;
  border-radius: 13px;
  background: #fff;
  color: var(--account-navy);
  font: inherit;
  font-weight: 800;
  outline: none;
  padding: 0 13px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.account-name-popover input:focus {
  border-color: rgba(11, 184, 178, 0.72);
  box-shadow: 0 0 0 4px rgba(11, 184, 178, 0.12);
}

.account-name-popover .button {
  width: 100%;
  justify-content: center;
}

.account-identity-details {
  display: flex;
  grid-column: 1 / -1;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: -4px;
}

.account-identity-details span {
  display: inline-flex;
  min-height: 32px;
  align-items: center;
  padding: 7px 11px;
  border: 1px solid rgba(215, 228, 238, 0.92);
  border-radius: 999px;
  background: #fbfdfe;
  color: #24334b;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.1;
}

.account-identity-list {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid #edf3f7;
}

.account-identity-list span {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) 12px;
  gap: 8px;
  min-height: 44px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid rgba(215, 228, 238, 0.85);
  border-radius: 14px;
  background: #fbfdfe;
  color: #56647a;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.28;
}

.account-identity-list svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: #0bb8b2;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.account-identity-list .identity-vk-icon {
  width: 23px;
  height: 18px;
  fill: #0bb8b2;
  stroke: none;
}

.account-identity-list b {
  color: #24334b;
  font: inherit;
  white-space: nowrap;
}

.identity-status-dot {
  display: block;
  width: 10px;
  height: 10px;
  justify-self: end;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(11, 184, 178, 0.1);
}

.identity-status-dot.is-connected {
  background: #0bb8b2;
}

.identity-status-dot.is-missing {
  background: #aebccd;
  box-shadow: 0 0 0 4px rgba(174, 188, 205, 0.16);
}

.account-profile-layout {
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
}

.account-name-form {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1.14fr);
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
  padding: 18px;
  border: 1px solid rgba(215, 228, 238, 0.92);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(251, 253, 254, 0.98), #fff);
}

.account-name-form label {
  display: block;
  color: var(--account-navy);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.25;
}

.account-name-form p {
  margin: 5px 0 0;
  color: var(--account-muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.account-name-form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.account-name-form input {
  width: 100%;
  min-height: 50px;
  border: 1px solid #d7e4ee;
  border-radius: 14px;
  background: #fff;
  color: var(--account-navy);
  font: inherit;
  font-weight: 800;
  outline: none;
  padding: 0 16px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.account-name-form input:focus {
  border-color: rgba(11, 184, 178, 0.7);
  box-shadow: 0 0 0 4px rgba(11, 184, 178, 0.12);
}

.account-connection-list,
.account-activity-list,
.account-check-list {
  display: grid;
  gap: 12px;
}

.account-connection-card,
.account-activity-row,
.account-check-list div {
  display: grid;
  align-items: center;
  border: 1px solid rgba(215, 228, 238, 0.92);
  border-radius: 18px;
  background: linear-gradient(135deg, #fbfdfe, #ffffff);
}

.account-connection-card {
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 14px;
  padding: 16px;
  transition:
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease;
}

.account-connection-card:hover {
  border-color: rgba(11, 184, 178, 0.36);
  box-shadow: 0 16px 36px rgba(6, 21, 46, 0.08);
  transform: translateY(-2px);
}

.account-connection-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid rgba(11, 184, 178, 0.18);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(229, 250, 248, 0.98), rgba(255, 255, 255, 0.94));
  color: #0bb8b2;
  font-size: 15px;
  font-weight: 900;
}

.account-connection-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.15;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.account-connection-icon-vk svg {
  width: 31px;
  height: 24px;
  fill: currentColor;
  stroke: none;
}

.account-connection-card strong,
.account-activity-row strong {
  display: block;
  color: var(--account-navy);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.25;
}

.account-connection-card p,
.account-activity-row p,
.account-check-list p {
  margin: 4px 0 0;
  color: var(--account-muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.account-receipt-email-card {
  align-items: start;
}

.account-receipt-email-main {
  min-width: 0;
}

.account-receipt-email-edit {
  margin-top: 5px;
}

.account-receipt-email-edit summary {
  display: inline-flex;
  max-width: 100%;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  list-style: none;
}

.account-receipt-email-edit summary::-webkit-details-marker {
  display: none;
}

.account-receipt-email-value {
  min-width: 0;
  color: var(--account-muted);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.account-receipt-email-value.is-empty {
  color: rgba(104, 122, 149, 0.82);
}

.account-receipt-email-trigger {
  display: grid;
  flex: 0 0 auto;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(215, 228, 238, 0.92);
  border-radius: 50%;
  background: #fff;
  color: #0bb8b2;
  box-shadow: 0 10px 24px rgba(6, 21, 46, 0.05);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.account-receipt-email-trigger svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.account-receipt-email-edit summary:hover .account-receipt-email-trigger,
.account-receipt-email-edit[open] .account-receipt-email-trigger {
  transform: translateY(-1px);
  border-color: rgba(11, 184, 178, 0.72);
  box-shadow: 0 14px 30px rgba(11, 184, 178, 0.14);
}

.account-receipt-email-form {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto;
  gap: 10px;
  margin-top: 12px;
}

.account-receipt-email-form input {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(196, 214, 229, 0.95);
  border-radius: 12px;
  background: #fff;
  color: var(--account-navy);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  outline: none;
  padding: 0 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.account-receipt-email-form input:focus {
  border-color: rgba(11, 184, 178, 0.7);
  box-shadow: 0 0 0 4px rgba(11, 184, 178, 0.12);
}

.account-activity-row {
  grid-template-columns: 18px minmax(0, 1fr) auto;
  gap: 12px;
  padding: 16px 18px;
}

.account-activity-dot,
.account-check-list span {
  display: block;
  width: 10px;
  height: 10px;
  justify-self: center;
  border-radius: 50%;
  background: #0bb8b2;
  box-shadow: 0 0 0 7px rgba(11, 184, 178, 0.1);
}

.account-check-list div {
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 10px;
  padding: 14px 16px;
}

.account-check-list p {
  margin-top: 0;
}

.account-profile-page .account-note-card {
  background: rgba(255, 255, 255, 0.94);
}

.account-profile-page .account-support-mini-panel p,
.account-profile-page .account-note-card p {
  margin: 12px 0 0;
}

.account-security-panel h2 {
  margin-top: 10px;
}

.account-security-panel .account-check-list {
  margin-top: 18px;
}

.account-empty-compact {
  padding: 22px;
}

.account-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #edf3f7;
}

.account-pagination-pages {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  flex-wrap: wrap;
}

.account-pagination-page,
.account-pagination-ellipsis {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border-radius: 12px;
  color: var(--account-muted);
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.account-pagination-page {
  border: 1px solid #dfeaf2;
  background: #fff;
  transition:
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease,
    color 0.18s ease,
    background 0.18s ease;
}

.account-pagination-page:hover {
  border-color: rgba(11, 184, 178, 0.52);
  color: var(--account-navy);
  box-shadow: 0 12px 28px rgba(11, 184, 178, 0.1);
  transform: translateY(-1px);
}

.account-pagination-page.is-active {
  border-color: rgba(11, 184, 178, 0.78);
  background: rgba(229, 250, 248, 0.92);
  color: #008f8a;
  box-shadow: inset 0 0 0 1px rgba(11, 184, 178, 0.08);
}

.account-pagination-ellipsis {
  min-width: 24px;
  padding: 0 4px;
  color: var(--account-muted);
}

.account-note-card {
  background:
    radial-gradient(circle at 100% 0%, rgba(11, 184, 178, 0.16), transparent 32%),
    rgba(229, 250, 248, 0.72);
}

@media (max-width: 1040px) {
  .account-dashboard {
    width: min(var(--account-page-tablet-max), calc(100% - 32px));
  }

  .account-dashboard .account-hero-card:not(.account-songs-hero-rich):not(.builder-hero-card):not(.account-payments-hero-rich) {
    grid-template-columns: 1fr;
    padding: 32px;
  }

  .account-dashboard .account-hero-card,
  .account-hero-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .account-hero-actions,
  .account-hero-actions .button {
    width: 100%;
  }

  .account-summary,
  .account-layout {
    grid-template-columns: 1fr;
  }

  .account-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .account-summary-compact {
    grid-template-columns: 1fr;
  }

  .account-profile-page .account-summary-compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .account-profile-layout {
    grid-template-columns: 1fr;
  }

  .account-identity-card {
    width: 100%;
    justify-self: stretch;
  }

  .account-songs-page .account-summary-compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .account-package-grid {
    grid-template-columns: 1fr;
  }

  .account-payments-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1320px) {
  .account-payments-page .account-payments-hero-rich {
    grid-template-columns: 1fr;
  }

  .account-payments-page .account-package-card {
    grid-template-columns: 1fr;
    align-items: stretch;
    min-height: auto;
  }

  .account-payments-page .account-package-payment-form {
    width: 100%;
    min-width: 0;
    justify-items: stretch;
  }

  .account-payments-page .account-package-payment-form .button,
  .account-package-promo-field {
    width: 100%;
  }

  .account-payments-page .account-payment-hero-card {
    max-width: none;
  }

  .account-payments-page .account-payments-hero-rich .account-hero-actions {
    justify-content: flex-start;
  }

  .account-profile-page .account-profile-hero {
    grid-template-columns: 1fr !important;
  }

  .account-profile-page .account-profile-hero .account-hero-copy {
    max-width: 760px;
  }

  .account-profile-page .account-profile-hero .account-hero-actions {
    justify-content: flex-start;
  }

  .account-profile-page .account-identity-card {
    width: 100%;
    justify-self: stretch;
  }
}

@media (max-width: 640px) {
  .account-toast-stack {
    top: calc(12px + env(safe-area-inset-top));
    right: auto;
    left: 50%;
    width: min(430px, calc(100vw - 24px));
    transform: translateX(-50%);
  }

  .account-toast {
    grid-template-columns: 32px minmax(0, 1fr);
    padding: 11px 12px;
    border-radius: 15px;
  }

  .account-toast-icon {
    width: 32px;
    height: 32px;
  }

  .account-dashboard {
    width: min(var(--account-page-mobile-max), calc(100% - 20px));
  }

  .account-dashboard .account-top {
    align-items: stretch;
    flex-direction: column;
  }

  .account-dashboard .account-hero-card,
  .account-panel {
    padding: 20px;
    border-radius: 20px;
  }

  .account-profile-page .account-profile-hero .account-hero-actions,
  .account-profile-page .account-profile-hero .account-hero-actions .button,
  .account-payments-page .account-payments-hero-rich .account-hero-actions,
  .account-payments-page .account-payments-hero-rich .account-hero-actions .button {
    width: 100%;
  }

  .account-payments-page .account-payments-hero-rich {
    padding: 26px;
  }

  .account-profile-page .account-summary-compact {
    grid-template-columns: 1fr;
  }

  .account-name-form,
  .account-name-form-row {
    grid-template-columns: 1fr;
  }

  .account-name-form .button {
    width: 100%;
  }

  .account-receipt-email-form {
    grid-template-columns: 1fr;
  }

  .account-receipt-email-form .button {
    width: 100%;
  }

  .account-identity-card,
  .account-connection-card,
  .account-activity-row {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .account-identity-list {
    grid-template-columns: 1fr;
  }

  .account-connection-card .status-pill,
  .account-activity-row .status-pill {
    justify-self: start;
  }

  .account-support-history-panel .account-panel-head {
    align-items: stretch;
  }

  .account-support-history-panel .support-ticket-picker {
    width: 100%;
  }

  .account-summary,
  .account-progress-line {
    grid-template-columns: 1fr;
  }

  .account-panel-head,
  .account-song-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .account-song-card {
    grid-template-columns: auto minmax(0, 1fr);
  }

  .account-song-actions {
    grid-column: 1 / -1;
    width: 100%;
    min-width: 0;
    align-items: flex-start;
  }

  .account-song-actions .button,
  .account-song-delete-form,
  .account-action-grid {
    width: 100%;
  }

  .account-package-card,
  .account-payment-card {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .account-payments-page .account-package-card {
    grid-template-columns: 1fr;
  }

  .account-payment-hero-card {
    grid-template-columns: 56px minmax(0, 1fr);
    min-height: auto;
    padding: 18px;
  }

  .account-payment-hero-icon {
    width: 54px;
    height: 54px;
  }

  .account-package-card {
    flex-direction: column;
  }

  .account-package-card .button {
    width: 100%;
  }

  .account-package-payment-form,
  .account-payments-page .account-package-payment-form {
    width: 100%;
    min-width: 0;
    justify-items: stretch;
  }

  .account-package-promo-field,
  .account-referral-code .button {
    width: 100%;
  }

  .account-referral-code {
    grid-template-columns: 1fr;
  }

  .account-payment-amount {
    justify-self: start;
  }

  .account-payment-side {
    justify-items: stretch;
  }

  .account-payment-continue-button {
    width: 100%;
    min-width: 0;
  }

  .support-message {
    max-width: 100%;
  }

  .support-message.is-customer,
  .support-message.is-admin {
    justify-self: stretch;
  }

  .support-form-actions,
  .support-form-actions .button,
  .support-close-form .button {
    width: 100%;
  }

  .support-ticket-select-row {
    grid-template-columns: 1fr;
  }

  .account-action-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1500px) {
  .account-songs-page .account-songs-hero-rich {
    grid-template-columns: minmax(0, 1fr) minmax(420px, 0.82fr);
  }

  .account-songs-page .account-songs-hero-rich .account-hero-actions {
    grid-column: 1;
    grid-row: 2;
    justify-content: flex-start;
    margin-top: 4px;
  }

  .account-songs-page .account-songs-hero-rich .account-hero-player {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .account-songs-page .account-song-list-full .music-song-card {
    grid-template-columns: 64px minmax(240px, 1fr) minmax(108px, auto) minmax(300px, 0.78fr) minmax(250px, auto);
    grid-template-areas: "cover info status playback actions";
    gap: 16px;
    padding: 12px 18px;
  }

  .account-row-audio {
    min-width: 300px;
  }

  .account-songs-page .account-song-actions {
    min-width: 250px;
  }
}

@media (max-width: 1180px) {
  .account-songs-page .account-songs-hero-rich {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  }

  .account-songs-page .account-songs-hero-rich .account-hero-actions {
    grid-column: 1;
    grid-row: 2;
    align-items: center;
    flex-direction: row;
    justify-content: flex-start;
    width: auto;
  }

  .account-songs-page .account-songs-hero-rich .account-hero-actions .button {
    width: auto;
    min-width: 220px;
  }

  .account-songs-page .account-songs-hero-rich .account-hero-player {
    grid-column: 2;
    grid-row: 1 / span 2;
    width: 100%;
    min-height: 146px;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 16px;
    padding: 16px;
  }

  .account-songs-page .account-songs-hero-rich .account-hero-cover {
    width: 96px;
    height: 96px;
    border-radius: 16px;
  }

  .account-songs-page .account-song-list-full .music-song-card {
    grid-template-columns: 64px minmax(0, 1fr) auto minmax(230px, auto);
    grid-template-areas:
      "cover info status status"
      "cover playback playback actions";
    align-items: start;
  }

  .account-songs-page .account-song-cover {
    align-self: start;
  }

  .account-songs-page .account-song-status {
    justify-content: flex-end;
    padding-top: 3px;
  }

  .account-songs-page .account-song-actions {
    min-width: 230px;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
  }

  .account-row-audio {
    min-width: 0;
  }
}

@media (max-width: 900px) {
  .account-songs-page .account-songs-hero-rich {
    grid-template-columns: 1fr;
  }

  .account-songs-page .account-songs-hero-rich .account-hero-actions,
  .account-songs-page .account-songs-hero-rich .account-hero-player {
    grid-column: auto;
    grid-row: auto;
  }

  .account-songs-page .account-songs-hero-rich .account-hero-actions,
  .account-songs-page .account-songs-hero-rich .account-hero-actions .button {
    width: 100%;
  }

  .account-songs-page .account-songs-hero-rich .account-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .account-songs-page .account-songs-hero-rich .account-hero-player {
    width: min(100%, 720px);
  }

  .account-songs-page .account-song-list-full .music-song-card {
    grid-template-columns: 72px minmax(0, 1fr) auto;
    grid-template-areas:
      "cover info status"
      "playback playback playback"
      "actions actions actions";
  }

  .account-songs-page .account-song-actions {
    min-width: 0;
    justify-content: flex-start;
  }

  .account-songs-page .account-song-actions .button,
  .account-songs-page .account-song-delete-form {
    flex: 1 1 156px;
  }

  .account-songs-page .account-song-delete-form .button {
    width: 100%;
  }
}

@media (max-width: 760px) {
  .account-songs-page .account-songs-hero-rich {
    padding: 24px;
  }

  .account-songs-page .account-summary-compact {
    grid-template-columns: 1fr;
  }

  .account-songs-page .account-hero-player {
    width: 100%;
    grid-template-columns: 86px minmax(0, 1fr);
    gap: 14px;
    padding: 14px;
  }

  .account-hero-cover {
    width: 86px;
    height: 86px;
  }

  .account-songs-page .account-songs-stat,
  .account-profile-page .account-songs-stat {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "icon label"
      "icon value"
      "icon text";
    min-height: 92px;
  }

  .account-songs-page .account-songs-stat strong,
  .account-profile-page .account-songs-stat strong {
    justify-content: flex-start;
    text-align: left;
  }

  .account-stat-rich {
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-areas:
      "icon label"
      "icon value"
      "icon text";
    min-height: 92px;
  }

  .account-stat-rich strong {
    justify-content: flex-start;
    text-align: left;
  }

  .account-songs-page .account-song-list-full {
    border-radius: 18px;
  }

  .account-songs-page .account-song-list-full .music-song-card {
    grid-template-columns: 64px minmax(0, 1fr) auto;
    grid-template-areas:
      "cover info status"
      "playback playback playback"
      "actions actions actions";
    gap: 14px;
    padding: 14px;
  }

  .account-song-cover {
    width: 64px;
    height: 64px;
    border-radius: 14px;
  }

  .account-song-status {
    justify-content: flex-end;
    padding-top: 0;
  }

  .account-row-audio {
    flex-wrap: nowrap;
  }

  .account-row-audio .account-waveform {
    flex-basis: auto;
    order: 0;
  }
}

@media (max-width: 520px) {
  .account-songs-page .account-songs-hero-rich .account-hero-actions {
    width: 100%;
    flex-direction: column;
  }

  .account-songs-page .account-songs-hero-rich .account-hero-actions .button {
    width: 100%;
  }

  .account-songs-page .account-hero-player {
    grid-template-columns: 1fr;
  }

  .account-hero-cover {
    width: 100%;
    height: 150px;
  }

  .account-songs-page .account-song-list-full .music-song-card {
    grid-template-columns: 60px minmax(0, 1fr);
    grid-template-areas:
      "cover info"
      "status status"
      "playback playback"
      "actions actions";
  }

  .account-song-cover {
    width: 60px;
    height: 60px;
  }

  .account-songs-page .account-song-list-full .music-song-card .account-song-cover,
  .account-playlist-track-card .account-song-cover {
    width: 60px;
    height: 60px;
  }

  .account-songs-page .account-song-actions,
  .account-songs-page .account-song-actions .button,
  .account-songs-page .account-song-delete-form {
    width: 100%;
  }

  .account-songs-page .account-song-status {
    justify-content: flex-start;
  }
}

.song-builder-dashboard {
  max-width: none;
}

.builder-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 360px);
  gap: 30px;
  align-items: center;
  min-height: 176px;
  padding: 26px 50px;
}

.account-dashboard .builder-hero-card {
  align-items: center;
}

.builder-hero-actions {
  justify-content: flex-start;
  gap: 16px;
  margin-top: 16px;
}

.builder-hero-actions .button {
  min-width: 164px;
  min-height: 42px;
}

.builder-hero-state {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  grid-template-areas:
    "icon label"
    "icon value"
    "icon text";
  gap: 0 16px;
  align-items: center;
  justify-self: stretch;
  min-height: 112px;
  padding: 18px 22px;
  border: 1px solid rgba(215, 228, 238, 0.95);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 42px rgba(6, 21, 46, 0.06);
}

.account-dashboard .builder-hero-card h1 {
  max-width: none;
  font-size: clamp(36px, 3.1vw, 48px);
  line-height: 1.06;
}

.account-dashboard .builder-hero-card p {
  max-width: 680px;
  margin-top: 10px;
}

.builder-hero-state-label,
.builder-step-title p,
.builder-choice-card small,
.builder-mini-orders span {
  color: var(--account-muted);
}

.builder-hero-state-icon {
  grid-area: icon;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid rgba(11, 184, 178, 0.22);
  border-radius: 16px;
  background: #e8fbfa;
  color: #06aaa5;
}

.builder-hero-state-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.builder-hero-state-label {
  grid-area: label;
  align-self: end;
  font-size: 14px;
  font-weight: 700;
}

.builder-hero-state strong {
  grid-area: value;
  margin: 1px 0;
  color: var(--account-navy);
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
}

.builder-hero-state p {
  grid-area: text;
  margin: 0;
  max-width: 210px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}

.account-alert {
  border-radius: 18px;
}

.song-builder-layout {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  gap: 14px;
}

.song-builder-layout-focused {
  grid-template-columns: minmax(0, 1fr);
}

.builder-side-stack {
  gap: 16px;
}

.builder-working-panel {
  display: grid;
  gap: 12px;
  padding: 18px 26px;
}

.builder-working-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.builder-working-head h2 {
  margin: 0;
  color: var(--account-navy);
  font-size: 17px;
  font-weight: 800;
}

.builder-working-link {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 12px;
  color: var(--account-muted);
  transition: border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.builder-working-link:hover {
  border-color: rgba(11, 184, 178, 0.24);
  color: #06aaa5;
  transform: translateX(2px);
}

.builder-working-link svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.builder-working-list {
  display: grid;
  gap: 10px;
}

.builder-working-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  grid-template-areas:
    "cover info status"
    "playback playback playback"
    "actions actions actions";
  gap: 13px 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid #dfeaf2;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: none;
}

.builder-working-item.is-ready {
  grid-template-areas:
    "cover info status"
    "playback playback playback";
}

.builder-working-item:hover {
  border-color: rgba(11, 184, 178, 0.5);
  background: linear-gradient(135deg, rgba(245, 254, 253, 0.98), rgba(255, 255, 255, 0.98));
  box-shadow: 0 14px 34px rgba(11, 184, 178, 0.1);
  transform: translateY(-1px);
}

.builder-working-item .account-song-cover {
  grid-area: cover;
  width: 72px;
  height: 72px;
  border-radius: 16px;
}

.builder-working-title {
  grid-area: info;
  display: grid;
  gap: 6px;
  min-width: 0;
}

.builder-working-title strong {
  color: var(--account-navy);
  font-size: 17px;
  font-weight: 800;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.builder-working-status {
  grid-area: status;
  justify-content: flex-end;
}

.builder-working-item .account-song-playback {
  grid-area: playback;
  min-width: 0;
}

.builder-working-item .account-row-audio {
  width: 100%;
  min-width: 0;
}

.builder-working-actions {
  grid-area: actions;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
}

.builder-working-actions .button {
  width: 100%;
  min-width: 0;
}

.builder-working-actions .button.is-disabled {
  grid-column: 1 / -1;
  cursor: default;
  border-color: #dfeaf2;
  background: #fbfdfe;
  color: #8a98aa;
  box-shadow: none;
  transform: none;
}

.builder-working-more {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 46px;
  padding: 11px 14px;
  border: 1px dashed rgba(11, 184, 178, 0.35);
  border-radius: 14px;
  background: rgba(232, 251, 250, 0.42);
  color: var(--account-navy);
  text-decoration: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.builder-working-more:hover {
  border-color: rgba(11, 184, 178, 0.62);
  box-shadow: 0 12px 28px rgba(11, 184, 178, 0.12);
  transform: translateY(-1px);
}

.builder-working-more span {
  color: var(--account-muted);
  font-size: 13px;
  font-weight: 800;
}

.builder-working-more strong {
  margin-left: auto;
  color: #049c99;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.builder-working-more svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
}

.builder-guide-panel,
.builder-tip-panel {
  overflow: hidden;
  padding: 34px 44px;
}

.builder-guide-panel h2,
.builder-tip-panel h2 {
  margin: 0;
  color: var(--account-navy);
  font-size: 23px;
  font-weight: 800;
}

.builder-guide-list {
  display: grid;
  gap: 0;
  margin-top: 24px;
}

.builder-guide-item {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  padding: 20px 0;
  border: 0;
  border-bottom: 1px solid #edf3f7;
  border-radius: 0;
  background: transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.builder-guide-item:first-child {
  padding-top: 0;
}

.builder-guide-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.builder-guide-item:hover {
  box-shadow: none;
  transform: translateX(2px);
}

.builder-guide-icon {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(11, 184, 178, 0.2);
  border-radius: 15px;
  background: #e8fbfa;
  color: #06aaa5;
}

.builder-guide-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.builder-guide-item strong {
  display: block;
  color: var(--account-navy);
  font-size: 15px;
  font-weight: 800;
}

.builder-guide-item span:not(.builder-guide-icon) {
  display: block;
  margin-top: 4px;
  color: var(--account-muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.builder-tip-panel {
  background: rgba(255, 255, 255, 0.94);
}

.builder-tip-content {
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-top: 18px;
}

.builder-tip-panel p {
  margin: 0;
  font-weight: 600;
}

.song-builder-form {
  display: grid;
  gap: 0;
}

.builder-form-head {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #edf3f7;
}

.builder-form-head p {
  max-width: 620px;
  margin: 8px 0 0;
}

.builder-form-head-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.builder-step {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 14px 0;
  border-top: 0;
  border-bottom: 1px solid #edf3f7;
}

.builder-step.is-active {
  gap: 18px;
  margin: 0 6px 0;
  padding: 18px 20px;
  border: 1px solid rgba(11, 184, 178, 0.68);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(11, 184, 178, 0.08);
  animation: builderStepIn 0.22s ease both;
}

.builder-step.is-upcoming {
  display: grid;
  gap: 0;
  padding: 12px 18px;
  background: rgba(251, 253, 254, 0.72);
  color: var(--account-muted);
  opacity: 0.72;
}

.builder-step.is-upcoming > :not(.builder-step-title) {
  display: none;
}

.builder-step.is-upcoming .builder-step-title {
  grid-template-columns: 44px minmax(0, 1fr) 22px;
  align-items: center;
}

.builder-step.is-upcoming .builder-step-title::after {
  content: "";
  display: block;
  width: 18px;
  height: 18px;
  justify-self: end;
  background-color: #5f6f86;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10V8a5 5 0 0 1 10 0v2' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3Crect x='5' y='10' width='14' height='10' rx='2' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10V8a5 5 0 0 1 10 0v2' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3Crect x='5' y='10' width='14' height='10' rx='2' fill='none' stroke='%23000' stroke-width='2'/%3E%3C/svg%3E") center / contain no-repeat;
}

.builder-step.is-upcoming .builder-step-title h3 {
  color: var(--account-muted);
  font-size: 18px;
}

.builder-step.is-upcoming .builder-step-title p {
  margin-top: 3px;
  font-size: 13px;
  font-weight: 700;
}

.builder-step.is-upcoming .builder-step-title > span {
  width: 40px;
  height: 40px;
  background: #eef3f7;
  color: #7b8797;
}

.builder-step.is-collapsed {
  gap: 8px;
  padding: 12px 18px;
  border: 0;
  border-bottom: 1px solid #edf3f7;
  border-radius: 0;
  background: transparent;
}

.builder-step.is-collapsed > :not(.builder-step-title):not(.builder-step-summary) {
  display: none;
}

.builder-step.is-collapsed .builder-step-title {
  grid-template-columns: 22px 36px minmax(0, 1fr);
  align-items: center;
}

.builder-step.is-collapsed .builder-step-title::before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  grid-column: 1;
  grid-row: 1;
  place-self: center;
  border: 2px solid rgba(11, 184, 178, 0.72);
  border-radius: 50%;
  background: #fff;
}

.builder-step.is-collapsed .builder-step-title::after {
  content: "";
  display: block;
  width: 11px;
  height: 11px;
  grid-column: 1;
  grid-row: 1;
  place-self: center;
  background-color: #0bb8b2;
  -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 6 9 17l-5-5' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 6 9 17l-5-5' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.builder-step.is-collapsed .builder-step-title > span {
  grid-column: 2;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: #e8fbfa;
  font-size: 13px;
}

.builder-step.is-collapsed .builder-step-title > div {
  grid-column: 3;
}

.builder-step.is-collapsed .builder-step-title h3 {
  font-size: 18px;
}

.builder-step.is-collapsed .builder-step-title p {
  display: none;
}

.builder-step-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-left: 84px;
  padding-top: 2px;
}

.builder-step-summary[hidden] {
  display: none;
}

.builder-step-summary span {
  color: var(--account-muted);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.builder-edit-step {
  min-height: 34px;
  flex: 0 0 auto;
  border: 1px solid rgba(11, 184, 178, 0.28);
  border-radius: 999px;
  background: #fff;
  color: #049c99;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  padding: 0 13px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.builder-edit-step:hover {
  border-color: rgba(11, 184, 178, 0.65);
  box-shadow: 0 10px 24px rgba(11, 184, 178, 0.12);
  transform: translateY(-1px);
}

.builder-step-next {
  justify-self: end;
  margin-top: 2px;
}

.button.secondary.builder-step-next {
  min-width: 112px;
  min-height: 44px;
  border-color: transparent;
  background: #0bb8b2;
  color: #fff;
  box-shadow: 0 14px 30px rgba(11, 184, 178, 0.18);
}

.button.secondary.builder-step-next:hover {
  border-color: transparent;
  background: #08aaa5;
  color: #fff;
  box-shadow: 0 18px 36px rgba(11, 184, 178, 0.24);
  transform: translateY(-1px);
}

.builder-step.needs-attention {
  animation: builderStepAttention 0.65s ease;
}

.builder-step-title {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.builder-step-title > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #dff8f7;
  color: #049c99;
  font-weight: 800;
}

.builder-step-title h3 {
  margin: 0;
  color: var(--account-navy);
  font-size: 22px;
  line-height: 1.15;
}

.builder-step-title p {
  margin: 7px 0 0;
  line-height: 1.42;
}

.builder-choice-row,
.builder-mode-grid,
.builder-segment-row,
.builder-language-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.builder-choice-card,
.builder-chip,
.builder-segment {
  position: relative;
  cursor: pointer;
}

.builder-choice-card {
  display: grid;
  gap: 7px;
  min-height: 116px;
  padding: 20px;
  border: 1px solid #d7e4ee;
  border-radius: 18px;
  background: #fbfdfe;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.builder-choice-card:hover,
.builder-choice-card.is-selected {
  border-color: rgba(11, 184, 178, 0.58);
  background: linear-gradient(135deg, rgba(225, 250, 248, 0.78), #fff);
  box-shadow: 0 16px 40px rgba(11, 184, 178, 0.11);
  transform: translateY(-2px);
}

.builder-choice-card input,
.builder-chip input,
.builder-segment input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.builder-choice-card strong {
  color: var(--account-navy);
  font-size: 18px;
  line-height: 1.2;
}

.builder-choice-card-small {
  min-height: 100px;
}

.builder-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.builder-chip-grid-wide {
  gap: 8px;
}

.builder-chip {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0 15px;
  border: 1px solid #d7e4ee;
  border-radius: 999px;
  background: #fff;
  color: #31445f;
  font-size: 14px;
  font-weight: 800;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.builder-chip:hover,
.builder-chip.is-selected {
  border-color: rgba(11, 184, 178, 0.55);
  background: #e5faf8;
  color: #037c79;
  transform: translateY(-1px);
}

.builder-chip.is-disabled,
.builder-chip.is-disabled:hover {
  border-color: #d7e4ee;
  background: #f4f8fb;
  color: #8c9aab;
  cursor: not-allowed;
  opacity: 0.5;
  transform: none;
}

.builder-chip.is-muted:not(.is-selected) {
  border-color: #d7e4ee;
  background: #f7fafc;
  color: #8c9aab;
  opacity: 0.58;
}

.builder-field,
.builder-field-grid {
  display: grid;
  gap: 10px;
}

.builder-field[hidden] {
  display: none;
}

.builder-field-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.builder-field span {
  color: var(--account-navy);
  font-size: 14px;
  font-weight: 800;
}

.builder-field input,
.builder-field textarea {
  width: 100%;
  border: 1px solid #d6e4ee;
  border-radius: 14px;
  background: #fff;
  color: var(--account-navy);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.builder-field input {
  min-height: 54px;
  padding: 0 16px;
}

.builder-field textarea {
  min-height: 116px;
  padding: 16px;
  resize: vertical;
}

.builder-lyrics-field textarea {
  min-height: 310px;
  line-height: 1.5;
  white-space: pre-wrap;
}

.builder-field input:focus,
.builder-field textarea:focus {
  border-color: #0bb8b2;
  box-shadow: 0 0 0 4px rgba(11, 184, 178, 0.13);
}

.builder-field-inline {
  max-width: 520px;
}

.builder-segment-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.builder-language-row {
  grid-template-columns: repeat(2, minmax(0, 150px));
}

.builder-segment {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid #d7e4ee;
  border-radius: 14px;
  background: #fff;
  color: #31445f;
  font-size: 14px;
  font-weight: 800;
  text-align: center;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.builder-segment:hover,
.builder-segment.is-selected {
  border-color: rgba(11, 184, 178, 0.58);
  background: #e5faf8;
  color: #037c79;
  box-shadow: inset 0 0 0 1px rgba(11, 184, 178, 0.12);
  transform: translateY(-1px);
}

.builder-actions {
  position: sticky;
  bottom: 14px;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  padding: 14px;
  border: 1px solid rgba(215, 228, 238, 0.92);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 20px 60px rgba(6, 21, 46, 0.1);
  backdrop-filter: blur(16px);
}

.builder-actions[hidden],
.builder-actions [hidden] {
  display: none;
}

.builder-status-panel .account-profile-list {
  margin-top: 14px;
}

.builder-mini-orders {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.builder-mini-orders article {
  display: grid;
  gap: 4px;
  padding: 12px 0;
  border-bottom: 1px solid #edf3f7;
}

.builder-mini-orders article:last-child {
  border-bottom: 0;
}

.builder-mini-orders strong {
  color: var(--account-navy);
  font-size: 14px;
}

[data-kind-panel][hidden],
[data-text-mode-panel][hidden] {
  display: none;
}

@media (max-width: 1040px) {
  .builder-hero-card,
  .song-builder-layout {
    grid-template-columns: 1fr;
  }

  .builder-hero-state {
    min-height: auto;
  }
}

@media (max-width: 720px) {
  .builder-choice-row,
  .builder-mode-grid,
  .builder-field-grid,
  .builder-segment-row,
  .builder-language-row {
    grid-template-columns: 1fr;
  }

  .builder-actions {
    position: static;
  }

  .builder-actions .button {
    width: 100%;
  }

  .account-working-order {
    grid-template-columns: 1fr;
    align-items: flex-start;
  }

  .account-working-order .button {
    width: 100%;
  }

  .builder-hero-actions {
    margin-top: 16px;
  }

  .builder-hero-card {
    padding: 22px;
  }

  .builder-hero-state {
    grid-template-columns: 50px minmax(0, 1fr);
    min-height: auto;
    padding: 16px;
  }

  .builder-hero-state-icon {
    width: 46px;
    height: 46px;
  }

  .builder-hero-state strong {
    font-size: 32px;
  }

  .builder-working-panel {
    padding: 18px;
  }

  .builder-working-item {
    grid-template-columns: 62px minmax(0, 1fr);
    grid-template-areas:
      "cover info"
      "status status"
      "playback playback"
      "actions actions";
    gap: 12px;
  }

  .builder-working-item .account-song-cover {
    width: 62px;
    height: 62px;
  }

  .builder-working-status {
    justify-content: flex-start;
  }

  .builder-working-actions {
    grid-template-columns: 1fr;
  }

  .builder-working-more {
    align-items: flex-start;
    flex-direction: column;
  }

  .builder-working-more strong {
    margin-left: 0;
  }

  .builder-guide-panel,
  .builder-tip-panel {
    padding: 26px;
  }

  .builder-step-summary {
    align-items: flex-start;
    flex-direction: column;
    margin-left: 0;
  }

  .builder-step-next {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .builder-step-title {
    grid-template-columns: 38px minmax(0, 1fr);
  }

  .builder-step-title > span {
    width: 38px;
    height: 38px;
  }

  .builder-choice-card {
    min-height: auto;
    padding: 16px;
  }
}

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

@keyframes builderStepAttention {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(255, 86, 94, 0);
  }
  35% {
    box-shadow: 0 0 0 4px rgba(255, 86, 94, 0.13);
  }
}

.account-dashboard .account-top {
  align-items: center;
  flex-direction: row;
}

@media (max-width: 640px) {
  .account-dashboard .account-top {
    align-items: center;
    flex-direction: row;
    gap: 10px;
  }

  .account-brand-line {
    gap: 10px;
  }

  .account-dashboard .account-top .wordmark {
    font-size: 28px;
  }

  .account-top-actions {
    width: auto;
    flex: 0 0 auto;
  }

  .account-top-actions .button {
    flex: 0 0 auto;
    min-height: 46px;
    padding: 0 14px;
  }

  .account-dashboard .account-top-actions .account-referral-toggle {
    min-width: 46px;
    padding: 0 12px;
  }

  .account-referral-label {
    display: none;
  }

  .account-referral-popover {
    right: -72px;
  }

  .account-referral-popover::before {
    right: 88px;
  }

  .account-menu-toggle {
    min-width: 96px;
    height: 46px;
    min-height: 46px;
    padding: 0 13px 0 43px;
  }

  .account-menu-toggle::before,
  .account-menu-toggle span {
    left: 22px;
  }
}

@media (max-width: 420px) {
  .account-dashboard .account-top .wordmark {
    font-size: 24px;
  }

  .account-top-actions {
    gap: 7px;
  }

  .account-top-actions .button {
    min-width: 0;
  }

  .account-dashboard .account-top-actions .account-referral-toggle,
  .account-dashboard .account-top-actions .account-logout-button {
    width: 44px;
    min-width: 44px;
    padding: 0;
  }

  .account-dashboard .account-top-actions .account-logout-button span {
    display: none;
  }

  .account-referral-popover {
    right: -52px;
    width: min(334px, calc(100vw - 20px));
    padding: 16px;
  }

  .account-referral-popover::before {
    right: 68px;
  }

  .account-referral-mini-code {
    grid-template-columns: 1fr;
  }

  .account-dashboard .account-top-actions .account-referral-mini-code .button {
    width: 100%;
  }

  .account-side-menu {
    width: min(360px, calc(100vw - 16px));
    padding: 18px;
  }

  .account-side-profile-card {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
    border-radius: 20px;
  }

  .account-side-avatar {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    font-size: 21px;
  }

  .account-side-balance {
    grid-column: 1 / -1;
    grid-template-columns: auto auto;
    justify-content: start;
    justify-items: start;
    align-items: baseline;
    gap: 8px;
  }

  .account-side-menu-section .account-side-menu-item {
    grid-template-columns: 44px minmax(0, 1fr) auto;
    min-height: 64px;
    padding: 11px 12px;
  }

  .account-side-menu-icon {
    width: 44px;
    height: 44px;
    border-radius: 15px;
  }

  .account-side-menu-section .account-side-menu-copy strong {
    font-size: 15px;
  }

  .account-side-menu-section .account-side-menu-copy small {
    font-size: 11px;
  }
}

@media (min-width: 921px) and (max-width: 1080px) {
  .account-songs-page .account-song-list-full .music-song-card {
    grid-template-columns: 64px minmax(0, 1fr);
    grid-template-areas:
      "cover info"
      "status status"
      "playback playback"
      "actions actions";
    align-items: start;
    gap: 14px;
  }

  .account-songs-page .account-song-info,
  .account-song-heading,
  .account-song-heading strong {
    width: 100%;
    max-width: none;
    min-width: 0;
  }

  .account-song-heading strong {
    overflow-wrap: normal;
    word-break: normal;
  }

  .account-songs-page .account-song-status {
    justify-content: flex-start;
    padding-top: 0;
  }

  .account-songs-page .account-song-playback,
  .account-songs-page .account-row-audio {
    width: 100%;
    min-width: 0;
  }

  .account-songs-page .account-song-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    min-width: 0;
    align-items: stretch;
    justify-content: stretch;
  }

  .account-songs-page .account-song-actions.has-delete {
    grid-template-columns: minmax(180px, 1fr) 54px;
    justify-self: end;
    width: min(100%, 380px);
  }

  .account-songs-page .account-song-actions.has-primary {
    grid-template-columns: minmax(180px, 1fr);
    justify-self: end;
    width: min(100%, 240px);
  }

  .account-songs-page .account-song-actions .button,
  .account-songs-page .account-song-delete-form,
  .account-songs-page .account-song-start-form,
  .account-songs-page .account-song-delete-form .button {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 920px) {
  .account-songs-page .account-song-list-full .music-song-card {
    grid-template-columns: 64px minmax(0, 1fr) auto;
    grid-template-areas:
      "cover info info"
      "status status status"
      "playback playback playback"
      "actions actions actions";
    align-items: start;
    gap: 14px;
  }

  .account-songs-page .account-song-info,
  .account-song-heading,
  .account-song-heading strong {
    width: 100%;
    max-width: none;
    min-width: 0;
  }

  .account-song-heading strong {
    overflow-wrap: normal;
    word-break: normal;
  }

  .account-songs-page .account-song-status {
    justify-content: flex-start;
  }

  .account-songs-page .account-song-playback,
  .account-songs-page .account-row-audio {
    width: 100%;
    min-width: 0;
  }

  .account-songs-page .account-song-actions {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    width: 100%;
    min-width: 0;
    align-items: stretch;
    justify-content: stretch;
  }

  .account-songs-page .account-song-actions.has-delete {
    grid-template-columns: minmax(180px, 1fr) 54px;
    justify-self: end;
    width: min(100%, 380px);
  }

  .account-songs-page .account-song-actions .button,
  .account-songs-page .account-song-delete-form,
  .account-songs-page .account-song-delete-form .button {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 560px) {
  .account-songs-bulk-bar {
    align-items: stretch;
  }

  .account-songs-bulk-count {
    width: 100%;
  }

  .account-songs-bulk-actions {
    display: grid;
    width: 100%;
    grid-template-columns: 1fr;
  }

  .account-songs-bulk-actions .button {
    width: 100%;
    min-width: 0;
  }

  .account-pagination {
    gap: 8px;
  }

  .account-pagination .button.compact {
    min-width: 0;
    padding-inline: 12px;
  }

  .account-pagination-page,
  .account-pagination-ellipsis {
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
  }

  .account-songs-page .account-song-list-full .music-song-card {
    grid-template-columns: 60px minmax(0, 1fr);
    grid-template-areas:
      "cover info"
      "status status"
      "playback playback"
      "actions actions";
  }

  .account-songs-page .account-song-actions {
    grid-template-columns: 1fr;
  }

  .account-songs-page .account-song-actions:not(.has-delete) {
    justify-self: start;
    width: min(100%, 232px);
  }

  .account-songs-page .account-song-actions.has-primary {
    justify-self: start;
    width: min(100%, 232px);
  }

  .account-songs-page .account-song-actions:not(.has-delete) .button.is-disabled {
    width: 100%;
    padding-inline: 18px;
  }

  .account-songs-page .account-song-actions.has-delete {
    grid-template-columns: minmax(164px, 1fr) 54px;
    justify-self: end;
    width: min(100%, 360px);
  }
}

.account-songs-page .account-song-actions .account-song-delete-button {
  width: 54px;
  min-width: 54px;
}

@media (max-width: 1280px) {
  .account-playlists-layout {
    grid-template-columns: 1fr;
  }

  .account-playlist-list {
    grid-template-columns: 1fr;
  }

  .account-playlist-title-edit summary {
    opacity: 1;
  }
}

@media (max-width: 980px) {
  .account-songs-bulk-bar {
    align-items: stretch;
  }

  .account-songs-bulk-count {
    flex: 0 0 100%;
    width: 100%;
  }

  .account-songs-bulk-actions {
    display: grid;
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    justify-content: stretch;
    gap: 10px;
  }

  .account-songs-bulk-actions > [data-songs-select-ready] {
    grid-column: 1;
    grid-row: 1;
  }

  .account-songs-bulk-actions > [data-songs-clear-selection] {
    grid-column: 2;
    grid-row: 1;
  }

  .account-songs-bulk-actions .button {
    width: 100%;
    min-width: 0;
    padding-inline: 10px;
    white-space: normal;
    line-height: 1.15;
  }

  .account-songs-bulk-playlist-form {
    display: grid;
    grid-template-columns: 1fr;
    grid-column: 1;
    grid-row: 2;
    width: auto;
    min-width: 0;
    justify-content: stretch;
  }

  .account-songs-bulk-playlist-form > .account-songs-playlist-trigger {
    flex: 1 1 190px;
  }

  .account-songs-bulk-delete-button {
    grid-column: 2;
    grid-row: 2;
  }

  .account-songs-playlist-menu {
    right: auto;
    left: 0;
  }

  .account-songs-playlist-menu::before {
    right: auto;
    left: 34px;
  }
}

@media (max-width: 820px) {
  .account-songs-bulk-actions {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    justify-content: stretch;
    gap: 10px;
  }

  .account-songs-bulk-actions > [data-songs-select-ready] {
    grid-column: 1;
    grid-row: 1;
  }

  .account-songs-bulk-actions > [data-songs-clear-selection] {
    grid-column: 2;
    grid-row: 1;
  }

  .account-songs-bulk-actions .button {
    width: 100%;
    min-width: 0;
    padding-inline: 10px;
    white-space: normal;
    line-height: 1.15;
  }

  .account-songs-bulk-playlist-form {
    display: grid;
    grid-template-columns: 1fr;
    grid-column: 1;
    grid-row: 2;
    width: auto;
    min-width: 0;
    justify-content: stretch;
  }

  .account-songs-bulk-delete-button {
    grid-column: 2;
    grid-row: 2;
  }
}

@media (max-width: 640px) {
  .account-playlist-list {
    grid-template-columns: 1fr;
    max-height: 390px;
  }

  .account-playlist-search-form div {
    grid-template-columns: 1fr;
  }

  .account-songs-bulk-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    justify-content: stretch;
    gap: 10px;
  }

  .account-songs-bulk-actions > [data-songs-select-ready] {
    grid-column: 1;
    grid-row: 1;
  }

  .account-songs-bulk-actions > [data-songs-clear-selection] {
    grid-column: 2;
    grid-row: 1;
  }

  .account-songs-bulk-actions .button {
    width: 100%;
    min-width: 0;
    padding-inline: 10px;
    white-space: normal;
    line-height: 1.15;
  }

  .account-playlist-create-form div {
    grid-template-columns: 1fr;
  }

  .account-songs-bulk-playlist-form {
    display: grid;
    grid-template-columns: 1fr;
    grid-column: 1;
    grid-row: 2;
    width: auto;
    min-width: 0;
  }

  .account-songs-bulk-delete-button {
    grid-column: 2;
    grid-row: 2;
  }

  .account-playlist-create-form .button,
  .account-playlist-search-form .button,
  .account-songs-bulk-playlist-form > .account-songs-playlist-trigger {
    width: 100%;
  }

  .account-songs-playlist-menu {
    width: min(100%, calc(100vw - 36px));
  }

  .account-playlist-track-card {
    grid-template-columns: 64px minmax(0, 1fr) 58px;
    grid-template-areas:
      "cover info info"
      "playback playback actions";
    padding: 14px;
  }

  .account-playlist-track-card .account-song-actions {
    grid-template-columns: 54px;
    justify-content: end;
  }
}

@media (max-width: 720px) {
  .account-playlist-detail > .account-panel-head {
    align-items: stretch;
  }

  .account-playlist-title-row {
    align-items: flex-start;
  }

  .account-playlist-title-edit {
    margin-top: 1px;
  }

  .account-playlist-title-popover {
    right: auto;
    left: 0;
    width: min(330px, calc(100vw - 48px));
  }

  .account-playlist-title-popover-actions {
    grid-template-columns: 1fr;
  }
}

@media (hover: none) {
  .account-playlist-title-edit summary {
    opacity: 1;
  }
}

.privacy-notice {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 1200;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.18s ease, transform 0.18s ease;
  pointer-events: none;
}

.privacy-notice.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.privacy-notice__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1080px, 100%);
  margin: 0 auto;
  padding: 14px 16px;
  border: 1px solid rgba(11, 184, 178, 0.24);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 46px rgba(6, 21, 46, 0.16);
  backdrop-filter: blur(14px);
}

.privacy-notice p {
  margin: 0;
  color: #5f6f89;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
}

.privacy-notice a {
  color: #06152e;
  font-weight: 800;
  text-decoration: none;
  border-bottom: 1px solid rgba(6, 21, 46, 0.24);
}

.privacy-notice a:hover {
  color: #089f9a;
  border-bottom-color: rgba(8, 159, 154, 0.38);
}

.privacy-notice__button {
  flex: 0 0 auto;
  min-height: 44px;
  padding: 0 22px;
  border: 0;
  border-radius: 8px;
  background: #0bb8b2;
  color: #ffffff;
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(11, 184, 178, 0.2);
  transition: background 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

.privacy-notice__button:hover {
  background: #089f9a;
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(11, 184, 178, 0.24);
}

.privacy-notice__button:focus-visible {
  outline: 3px solid rgba(11, 184, 178, 0.28);
  outline-offset: 3px;
}

@media (max-width: 720px) {
  .privacy-notice {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }

  .privacy-notice__inner {
    align-items: stretch;
    flex-direction: column;
    gap: 12px;
    padding: 13px;
  }

  .privacy-notice p {
    font-size: 12px;
  }

  .privacy-notice__button {
    width: 100%;
  }
}

/* Gift song landing. Scoped so the existing homepage keeps its own layout. */
.gift-landing {
  --gift-navy: #071532;
  --gift-text: #202b43;
  --gift-muted: #65748a;
  --gift-line: #dde7f0;
  --gift-soft: #f4faf9;
  --gift-teal: #05b8b4;
  --gift-coral: #ff5b56;
  --gift-yellow: #ffb229;
  --gift-section-width: min(100% - 72px, 1480px);
  --gift-section-y: 36px;
  --gift-feature-section-y: 48px;
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--gift-text);
  background: #fff;
  font-family: Inter, "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

.gift-landing::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.12;
  background-image: url("/static/website/gift-confetti-illustrations.png");
  background-position: center 18px;
  background-repeat: repeat-y;
  background-size: max(2100px, 125vw) auto;
}

.gift-landing > :not(.site-auth-modal) {
  position: relative;
  z-index: 1;
}

.gift-landing > .site-auth-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
}

.gift-landing *,
.gift-landing *::before,
.gift-landing *::after {
  box-sizing: border-box;
}

.gift-landing a {
  color: inherit;
  text-decoration: none;
}

.gift-landing .icon {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gift-header {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  width: var(--gift-section-width);
  min-height: 84px;
  margin: 0 auto;
}

.gift-wordmark {
  display: inline-flex;
  align-items: center;
  color: var(--gift-navy);
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
}

.gift-wordmark strong {
  color: var(--gift-teal);
}

.gift-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 3vw, 52px);
  color: var(--gift-navy);
  font-size: 16px;
  font-weight: 800;
}

.gift-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
}

.gift-header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.gift-login {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  color: var(--gift-navy);
  font-weight: 800;
}

.gift-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 30px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  white-space: normal;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background-color 0.18s ease;
}

.gift-button:hover {
  transform: translateY(-1px);
}

.gift-button-primary {
  color: #fff;
  background: var(--gift-coral);
  box-shadow: 0 18px 34px rgba(255, 91, 86, 0.24);
}

.gift-button-outline {
  color: #049e9a;
  background: #fff;
  border-color: var(--gift-teal);
}

.gift-button-soft {
  color: #039994;
  background: #fff;
  box-shadow: 0 12px 30px rgba(7, 21, 50, 0.11);
}

.gift-button-small {
  min-height: 50px;
  padding-inline: 22px;
  font-size: 16px;
}

.gift-landing .gift-button-primary {
  color: #fff;
}

.gift-landing .gift-button-outline {
  color: #049e9a;
}

.gift-landing .gift-button-soft {
  color: #039994;
}

.gift-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(520px, 560px) minmax(0, 1fr);
  align-items: start;
  gap: 18px;
  width: var(--gift-section-width);
  min-height: 520px;
  margin: 0 auto;
  padding: var(--gift-section-y) 0;
  isolation: isolate;
}

.gift-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.gift-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.98) 33%, rgba(255, 255, 255, 0.74) 45%, rgba(255, 255, 255, 0.18) 59%, rgba(255, 255, 255, 0) 100%);
  pointer-events: none;
}

.gift-hero-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
  max-width: 560px;
  padding-top: 0;
}

.gift-hero h1 {
  min-width: 0;
  max-width: 560px;
  margin: 0 0 18px;
  color: var(--gift-navy);
  font-size: clamp(50px, 3.9vw, 64px);
  line-height: 1.04;
  letter-spacing: 0;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: manual;
}

.gift-hero-copy > p {
  min-width: 0;
  max-width: 536px;
  margin: 0 0 24px;
  color: #334057;
  font-size: clamp(18px, 1.45vw, 23px);
  line-height: 1.38;
}

.gift-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 24px;
}

.gift-hero-actions .gift-button {
  min-height: 58px;
  padding-inline: 24px;
  font-size: 16px;
}

.gift-trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 680px;
}

.gift-trust-row article {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-width: 0;
  border-radius: 999px;
  transition: transform 0.24s ease, filter 0.24s ease;
}

.gift-trust-row span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border: 2px solid var(--gift-teal);
  border-radius: 50%;
  color: var(--gift-teal);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 0 0 rgba(11, 181, 177, 0);
  transform-origin: center;
  transition:
    background-color 0.24s ease,
    border-color 0.24s ease,
    box-shadow 0.24s ease,
    color 0.24s ease,
    transform 0.24s ease;
}

.gift-trust-row .icon {
  width: 21px;
  height: 21px;
  stroke-width: 1.8;
  transform-origin: center;
  transition: transform 0.24s ease, stroke-width 0.24s ease;
}

.gift-trust-row article div {
  min-width: 0;
  transition: transform 0.24s ease;
}

.gift-trust-row strong {
  display: block;
  color: var(--gift-navy);
  font-size: 14px;
  line-height: 1.2;
  transition: color 0.24s ease;
}

.gift-trust-row small {
  display: block;
  margin-top: 3px;
  color: var(--gift-muted);
  font-size: 12px;
  line-height: 1.25;
  transition: color 0.24s ease;
}

.gift-trust-row article:hover,
.gift-trust-row article:focus-within {
  filter: drop-shadow(0 14px 22px rgba(7, 21, 50, 0.08));
  transform: translateY(-4px);
}

.gift-trust-row article:hover span,
.gift-trust-row article:focus-within span {
  color: #ffffff;
  background: var(--gift-teal);
  border-color: var(--gift-teal);
  box-shadow: 0 12px 26px rgba(11, 181, 177, 0.24), 0 0 0 8px rgba(11, 181, 177, 0.08);
  transform: scale(1.08);
}

.gift-trust-row article:hover .icon,
.gift-trust-row article:focus-within .icon {
  stroke-width: 2;
  animation: giftTrustIconPop 0.58s ease both;
}

.gift-trust-row article:hover div,
.gift-trust-row article:focus-within div {
  transform: translateX(3px);
}

.gift-trust-row article:hover strong,
.gift-trust-row article:focus-within strong {
  color: var(--gift-teal);
}

.gift-trust-row article:hover small,
.gift-trust-row article:focus-within small {
  color: var(--gift-text);
}

@keyframes giftTrustIconPop {
  0%,
  100% {
    transform: scale(1) rotate(0);
  }
  36% {
    transform: scale(1.18) rotate(-7deg);
  }
  68% {
    transform: scale(1.03) rotate(4deg);
  }
}

.gift-hero-media {
  position: relative;
  z-index: 2;
  min-height: 454px;
}

.gift-hero-photo {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: center right;
}

.gift-floating-player.audio-preview {
  position: absolute;
  left: clamp(16px, 7vw, 138px);
  right: auto;
  bottom: 6px;
  z-index: 3;
  display: grid;
  grid-template-columns: 58px minmax(130px, 170px) minmax(160px, 1fr) auto;
  gap: 16px;
  width: min(560px, 78%);
  min-height: 96px;
  margin: 0;
  padding: 16px 18px;
  border: 1px solid rgba(221, 231, 240, 0.9);
  border-radius: 12px;
  color: var(--gift-text);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 44px rgba(7, 21, 50, 0.14);
  backdrop-filter: blur(10px);
}

.gift-floating-player .play-button {
  width: 58px;
  height: 58px;
}

.gift-player-copy {
  min-width: 0;
}

.gift-player-copy strong {
  display: block;
  overflow: hidden;
  color: var(--gift-navy);
  font-size: 16px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gift-player-copy span,
.gift-floating-player .audio-time {
  display: block;
  overflow: hidden;
  color: var(--gift-muted);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gift-floating-player .waveform {
  height: 36px;
}

.gift-floating-player .waveform i {
  width: 2px;
  flex-basis: 2px;
  background: #c7d2e0;
}

.gift-occasion-strip {
  display: grid;
  grid-template-columns: minmax(260px, auto) 1fr;
  align-items: center;
  gap: clamp(28px, 4vw, 58px);
  width: var(--gift-section-width);
  min-height: 128px;
  margin: 0 auto;
  padding: var(--gift-section-y) 0;
  background: transparent;
}

.gift-occasion-strip h2 {
  margin: 0;
  white-space: nowrap;
}

.gift-occasion-strip > div {
  display: grid;
  grid-template-columns: repeat(7, minmax(90px, 1fr));
  align-items: center;
  gap: 14px;
}

.gift-occasion-strip a {
  display: grid;
  justify-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--gift-navy);
  text-align: center;
  font-weight: 800;
  transition: transform 0.22s ease, color 0.22s ease;
}

.gift-occasion-strip a span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  color: var(--gift-teal);
  border-radius: 50%;
  transform-origin: 50% 60%;
  animation: giftOccasionFloat 4.8s ease-in-out infinite;
  transition: background 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.gift-occasion-strip a:nth-child(1) span,
.gift-occasion-strip a:nth-child(2) span,
.gift-occasion-icon-heart,
.gift-occasion-icon-hearts {
  color: var(--gift-coral);
}

.gift-occasion-strip a:nth-child(3) span,
.gift-occasion-strip a:nth-child(4) span,
.gift-occasion-strip a:nth-child(6) span,
.gift-occasion-icon-party,
.gift-occasion-icon-star,
.gift-occasion-icon-smile {
  color: var(--gift-yellow);
}

.gift-occasion-strip .gift-occasion-icon-cap {
  color: var(--gift-teal);
}

.gift-occasion-strip .gift-occasion-icon-more {
  color: #667085;
  background: #eef2f7;
}

.gift-occasion-strip a:nth-child(2) span {
  animation-delay: 0.22s;
}

.gift-occasion-strip a:nth-child(3) span {
  animation-delay: 0.44s;
}

.gift-occasion-strip a:nth-child(4) span {
  animation-delay: 0.66s;
}

.gift-occasion-strip a:nth-child(5) span {
  animation-delay: 0.88s;
}

.gift-occasion-strip a:nth-child(6) span {
  animation-delay: 1.1s;
}

.gift-occasion-strip a:nth-child(7) span {
  animation-delay: 1.32s;
}

.gift-occasion-strip .icon {
  width: 58px;
  height: 58px;
  stroke-width: 1.15;
  filter: drop-shadow(0 7px 12px rgba(7, 21, 50, 0.035));
  transform-origin: center;
  transition: transform 0.22s ease, stroke-width 0.22s ease;
}

.gift-occasion-strip a:hover,
.gift-occasion-strip a:focus-visible {
  transform: translateY(-3px);
}

.gift-occasion-strip a:hover span,
.gift-occasion-strip a:focus-visible span {
  background: rgba(11, 181, 177, 0.08);
  box-shadow: 0 14px 28px rgba(7, 21, 50, 0.08);
}

.gift-occasion-strip a:hover .icon,
.gift-occasion-strip a:focus-visible .icon {
  stroke-width: 1.35;
  transform: scale(1.08);
}

.gift-occasion-icon-heart .icon,
.gift-occasion-icon-hearts .icon {
  animation: giftIconBeat 2.8s ease-in-out infinite;
}

.gift-occasion-icon-party .icon {
  animation: giftIconParty 3.4s ease-in-out infinite;
}

.gift-occasion-icon-star .icon {
  animation: giftIconTwinkle 3.2s ease-in-out infinite;
}

.gift-occasion-icon-cap .icon {
  animation: giftIconCap 3.8s ease-in-out infinite;
}

.gift-occasion-icon-smile .icon {
  animation: giftIconSmile 3.6s ease-in-out infinite;
}

.gift-occasion-icon-more .icon {
  width: 52px;
  height: 52px;
  stroke-width: 1.25;
  animation: giftIconMore 3.2s ease-in-out infinite;
}

.gift-occasion-strip strong {
  max-width: 120px;
  font-size: 14px;
  line-height: 1.2;
}

@keyframes giftOccasionFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

@keyframes giftIconBeat {
  0%,
  70%,
  100% {
    transform: scale(1);
  }
  12% {
    transform: scale(1.1);
  }
  24% {
    transform: scale(0.98);
  }
  36% {
    transform: scale(1.07);
  }
}

@keyframes giftIconParty {
  0%,
  100% {
    transform: rotate(0deg) scale(1);
  }
  24% {
    transform: rotate(-8deg) scale(1.06);
  }
  48% {
    transform: rotate(7deg) scale(1);
  }
}

@keyframes giftIconTwinkle {
  0%,
  100% {
    transform: rotate(0deg) scale(1);
    filter: drop-shadow(0 7px 12px rgba(7, 21, 50, 0.035));
  }
  45% {
    transform: rotate(9deg) scale(1.12);
    filter: drop-shadow(0 9px 16px rgba(255, 170, 22, 0.16));
  }
}

@keyframes giftIconCap {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  44% {
    transform: translateY(-4px) rotate(-4deg);
  }
}

@keyframes giftIconSmile {
  0%,
  100% {
    transform: rotate(0deg);
  }
  40% {
    transform: rotate(7deg);
  }
  60% {
    transform: rotate(-4deg);
  }
}

@keyframes giftIconMore {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.78;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gift-occasion-strip a,
  .gift-occasion-strip a span,
  .gift-occasion-strip .icon,
  .gift-step-card,
  .gift-step-card::after,
  .gift-step-copy,
  .gift-step-icon,
  .gift-step-icon .icon {
    animation: none;
    transition: none;
  }
}

.gift-steps-band {
  width: var(--gift-section-width);
  margin: 0 auto;
  padding: var(--gift-section-y) 0;
  background: transparent;
}

.gift-section-heading {
  max-width: 820px;
  margin: 0 auto 34px;
  text-align: center;
}

.gift-section-heading h2,
.gift-panel-heading h2,
.gift-reviews-panel h2,
.gift-occasion-strip h2 {
  margin: 0;
  color: var(--gift-navy);
  font-size: clamp(30px, 3vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

.gift-section-heading p,
.gift-panel-heading p {
  margin: 10px 0 0;
  color: var(--gift-muted);
  font-size: 17px;
  line-height: 1.45;
}

.gift-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  width: min(100%, 1480px);
  margin: 0 auto;
}

.gift-steps article {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(76px, 7vw, 112px);
  align-items: center;
  gap: clamp(16px, 2vw, 28px);
  min-height: 126px;
  padding: 18px clamp(22px, 2.5vw, 34px);
  border: 1px solid transparent;
  border-radius: 8px;
  transition: background-color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
}

.gift-steps article:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -8px;
  width: 13px;
  height: 13px;
  border-top: 2px solid #d7dee8;
  border-right: 2px solid #d7dee8;
  transform: translateY(-50%) rotate(45deg);
  transition: border-color 0.24s ease, transform 0.24s ease;
}

.gift-step-copy {
  min-width: 0;
  transition: transform 0.24s ease;
}

.gift-step-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(76px, 7vw, 112px);
  height: clamp(68px, 6.5vw, 96px);
  justify-self: end;
  border-radius: 20px;
  color: var(--gift-teal);
  background: rgba(11, 181, 177, 0.08);
  transition: background-color 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
}

.gift-step-icon .icon {
  width: clamp(56px, 5vw, 86px);
  height: clamp(56px, 5vw, 86px);
  stroke-width: 1.15;
  transform-origin: center;
}

.gift-step-card-2 .gift-step-icon {
  background: transparent;
}

.gift-step-card-2 .gift-step-icon .icon {
  stroke-width: 1.35;
}

.gift-step-card-3 .gift-step-icon,
.gift-step-card-4 .gift-step-icon {
  background: transparent;
}

.gift-step-card-3 .gift-step-icon {
  color: #13bbb7;
}

.gift-step-card-4 .gift-step-icon {
  color: #12b7b1;
}

.gift-step-card-3 .gift-step-icon .icon,
.gift-step-card-4 .gift-step-icon .icon {
  stroke-width: 1.2;
}

.gift-steps h3 {
  margin: 0 0 7px;
  color: var(--gift-navy);
  font-size: clamp(16px, 1.35vw, 19px);
  line-height: 1.15;
  transition: color 0.24s ease;
}

.gift-steps p {
  margin: 0;
  color: var(--gift-muted);
  font-size: 14px;
  line-height: 1.45;
  transition: color 0.24s ease;
}

.gift-step-card:hover,
.gift-step-card:focus-within {
  background: rgba(246, 251, 251, 0.92);
  box-shadow: 0 16px 34px rgba(7, 21, 50, 0.07);
  transform: translateY(-3px);
}

.gift-step-card:hover::after,
.gift-step-card:focus-within::after {
  border-color: var(--gift-teal);
  transform: translate(3px, -50%) rotate(45deg);
}

.gift-step-card:hover .gift-step-copy,
.gift-step-card:focus-within .gift-step-copy {
  transform: translateX(4px);
}

.gift-step-card:hover h3,
.gift-step-card:focus-within h3 {
  color: var(--gift-teal);
}

.gift-step-card:hover p,
.gift-step-card:focus-within p {
  color: var(--gift-text);
}

.gift-step-card:hover .gift-step-icon,
.gift-step-card:focus-within .gift-step-icon {
  background: rgba(11, 181, 177, 0.1);
  box-shadow: 0 14px 24px rgba(11, 181, 177, 0.12);
  transform: translateY(-2px) scale(1.04);
}

.gift-step-card:hover .gift-step-icon .icon,
.gift-step-card:focus-within .gift-step-icon .icon {
  animation: giftStepIconHover 0.72s ease both;
}

@keyframes giftStepIconHover {
  0%,
  100% {
    transform: translateY(0) rotate(0deg) scale(1);
  }
  42% {
    transform: translateY(-4px) rotate(-3deg) scale(1.08);
  }
  72% {
    transform: translateY(1px) rotate(2deg) scale(1.02);
  }
}

.gift-mini-form {
  display: grid;
  grid-template-columns: 116px repeat(3, minmax(0, 1fr)) auto;
  align-items: center;
  gap: 24px;
  width: min(100%, 1320px);
  min-height: 146px;
  margin: 34px auto 0;
  padding: 26px 32px;
  border-radius: 8px;
  background: #eef7f8;
}

.gift-mini-form > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 92px;
  height: 92px;
  color: var(--gift-teal);
  background: #daf4f2;
  border-radius: 24px 24px 24px 8px;
}

.gift-mini-form > span .icon {
  width: 54px;
  height: 54px;
}

.gift-mini-form label {
  display: grid;
  gap: 8px;
  color: var(--gift-navy);
  font-size: 13px;
  font-weight: 800;
}

.gift-mini-form input {
  width: 100%;
  min-height: 62px;
  padding: 0 18px;
  border: 1px solid #cbd8e5;
  border-radius: 6px;
  color: var(--gift-muted);
  background: #fff;
  font: inherit;
}

.gift-tariffs {
  position: relative;
  width: var(--gift-section-width);
  margin: 0;
  margin-right: auto;
  margin-left: auto;
  padding: var(--gift-feature-section-y) 0;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.36), rgba(255, 255, 255, 0.36)),
    url("/static/website/home-music-bg-variant1.png") center center / min(1920px, 120vw) auto no-repeat,
    #fff;
}

.gift-tariffs-heading {
  width: 100%;
  max-width: none;
  margin: 0 auto 46px;
  text-align: left;
}

.gift-tariffs-heading h2 {
  font-size: clamp(30px, 3vw, 48px);
  line-height: 1.08;
}

.gift-tariffs-heading p {
  margin-top: 10px;
  font-size: 17px;
  line-height: 1.45;
}

.gift-tariff-showcase {
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.gift-tariff-viewport {
  overflow: visible;
}

.gift-tariff-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 24px;
  align-items: stretch;
  transition: transform 0.28s ease;
}

.gift-tariff-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 88px;
  border: 1px solid #cbddea;
  border-radius: 999px;
  color: var(--gift-teal);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 32px rgba(7, 21, 50, 0.08);
  cursor: pointer;
  transform: translateY(-50%);
  transition: border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

.gift-tariff-nav .icon {
  width: 20px;
  height: 20px;
}

.gift-tariff-nav-prev {
  left: 0;
}

.gift-tariff-nav-prev .icon {
  transform: rotate(180deg);
}

.gift-tariff-nav:not(:disabled):hover {
  border-color: rgba(5, 184, 180, 0.55);
  color: #049f9c;
  transform: translateY(-50%) scale(1.03);
}

.gift-tariff-nav:disabled {
  opacity: 0.38;
  cursor: default;
}

.gift-tariff-nav:not(.gift-tariff-nav-prev) {
  right: 0;
}

.gift-tariff-showcase.is-static .gift-tariff-nav {
  display: none;
}

.gift-tariff-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 278px;
  padding: 34px 22px 30px;
  border: 2px solid rgba(5, 184, 180, 0.24);
  border-radius: 22px;
  text-align: center;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 20px 54px rgba(7, 21, 50, 0.055);
  backdrop-filter: blur(1px);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.gift-tariff-card:hover {
  transform: translateY(-4px);
  border-color: rgba(5, 184, 180, 0.5);
  box-shadow: 0 28px 62px rgba(7, 21, 50, 0.08);
}

.gift-tariff-card.is-popular {
  border-color: var(--gift-teal);
  box-shadow:
    0 0 0 1px rgba(5, 184, 180, 0.24),
    0 24px 64px rgba(5, 184, 180, 0.16);
}

.gift-tariff-card[hidden] {
  display: none !important;
}

.gift-tariff-card.is-revealed {
  animation: exampleReveal 0.24s ease both;
}

.gift-tariff-card mark {
  position: absolute;
  top: -18px;
  left: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 7px 22px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(180deg, #ff7068 0%, #ff524f 100%);
  box-shadow: 0 12px 24px rgba(255, 91, 86, 0.28);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.05;
  transform: translateX(-50%);
}

.gift-tariff-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 78px;
  height: 78px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--gift-teal);
  background: rgba(5, 184, 180, 0.08);
}

.gift-tariff-icon .icon {
  width: 36px;
  height: 36px;
  stroke-width: 1.8;
}

.gift-tariff-icon .icon use[href="#icon-headphones"] {
  transform-origin: center;
}

.gift-tariff-card h3 {
  margin: 0;
  color: var(--gift-navy);
  font-size: 28px;
  line-height: 1.1;
}

.gift-tariff-card p {
  margin: 10px 0 0;
  color: var(--gift-muted);
  font-size: 16px;
  line-height: 1.35;
}

.gift-tariff-card > i {
  display: block;
  width: 100%;
  max-width: 220px;
  height: 1px;
  margin: 22px auto 22px;
  background: rgba(5, 184, 180, 0.24);
}

.gift-tariff-card strong {
  display: block;
  color: var(--gift-teal);
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
}

.gift-tariffs-more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 50px;
  margin: 42px auto 0;
  padding: 0 18px;
  border: 0;
  color: var(--gift-teal);
  background: transparent;
  font: inherit;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
}

.gift-tariffs-more .icon {
  width: 22px;
  height: 22px;
  transition: transform 0.2s ease;
}

.gift-tariffs-more:hover {
  color: #049f9c;
  transform: translateY(-2px);
}

.gift-tariff-cta {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.gift-tariff-cta .gift-button {
  min-width: min(100%, 300px);
}

.gift-social-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(360px, 0.65fr);
  width: var(--gift-section-width);
  margin: 0 auto;
}

.gift-examples-panel,
.gift-reviews-panel {
  padding: var(--gift-section-y) 0;
}

.gift-examples-panel {
  padding-right: 52px;
}

.gift-reviews-panel {
  padding-left: 52px;
}

.gift-panel-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.gift-panel-heading a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #049e9a;
  font-weight: 900;
  white-space: nowrap;
}

.gift-panel-heading .examples-more-link {
  color: #049e9a;
}

.gift-example-list {
  display: grid;
  gap: 14px;
  container-type: inline-size;
}

.gift-landing .gift-example-row.example-row {
  grid-template-columns: 82px 46px minmax(145px, 220px) minmax(190px, 1fr) minmax(86px, 112px) minmax(170px, 0.9fr);
  grid-template-rows: auto;
  gap: 14px 18px;
  align-items: center;
  min-height: 108px;
  margin: 0;
  padding: 12px 18px;
  border-radius: 8px;
  box-shadow: 0 12px 34px rgba(7, 21, 50, 0.04);
}

.gift-landing .gift-example-row .example-copy,
.gift-landing .gift-example-row .example-audio-line,
.gift-landing .gift-example-row .example-note,
.gift-landing .gift-example-row .waveform {
  min-width: 0;
}

.gift-landing .gift-example-row .example-cover {
  grid-column: 1;
  grid-row: 1;
  width: 82px;
  height: 82px;
  border-radius: 8px;
}

.gift-landing .gift-example-row .mini-play {
  grid-column: 2;
  grid-row: 1;
  background: var(--gift-teal);
}

.gift-landing .gift-example-row .example-copy {
  grid-column: 3;
  grid-row: 1;
  overflow: hidden;
}

.gift-landing .gift-example-row .example-copy h3 {
  display: -webkit-box;
  overflow: hidden;
  color: var(--gift-navy);
  font-size: 16px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.gift-landing .gift-example-row .example-copy p {
  display: block;
  margin: 6px 0 0;
  overflow: hidden;
  color: var(--gift-muted);
  font-size: 13px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gift-landing .gift-example-row .example-audio-line {
  display: flex;
  grid-column: 4;
  grid-row: 1;
  align-items: center;
  gap: 10px;
  width: 100%;
  max-width: 320px;
  justify-self: end;
}

.gift-landing .gift-example-row .genre-pill {
  grid-column: 5;
  grid-row: 1;
  justify-self: center;
  width: auto;
  min-width: 86px;
  max-width: 112px;
  min-height: 32px;
  padding: 7px 12px;
  border-radius: 8px;
  color: #31716f;
  background: #d8f4f1;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.12;
  text-align: center;
  overflow-wrap: anywhere;
}

.gift-landing .gift-example-row .example-note {
  display: -webkit-box;
  grid-column: 6;
  grid-row: 1;
  margin: 0;
  overflow: hidden;
  color: var(--gift-muted);
  font-size: 15px;
  line-height: 1.32;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.gift-landing .gift-example-row .waveform {
  flex: 1 1 auto;
  height: 36px;
  min-width: 0;
  max-width: none;
  overflow: hidden;
  justify-content: space-between;
}

.gift-landing .gift-example-row .example-time {
  flex: 0 0 auto;
  margin-left: 0;
  white-space: nowrap;
}

.gift-landing .gift-example-row .waveform i {
  width: 2px;
  flex-basis: 2px;
}

@container (max-width: 860px) {
  .gift-landing .gift-example-row.example-row {
    grid-template-columns: 68px 42px minmax(0, 1fr) minmax(180px, 280px);
    grid-template-rows: auto auto;
    gap: 10px 14px;
    min-height: 118px;
    padding: 12px 14px;
  }

  .gift-landing .gift-example-row .example-cover {
    grid-row: 1 / span 2;
    width: 68px;
    height: 68px;
  }

  .gift-landing .gift-example-row .mini-play {
    grid-column: 2;
    grid-row: 1;
  }

  .gift-landing .gift-example-row .example-copy {
    grid-column: 3;
    grid-row: 1;
  }

  .gift-landing .gift-example-row .example-audio-line {
    grid-column: 4;
    grid-row: 1;
    max-width: none;
    justify-self: stretch;
  }

  .gift-landing .gift-example-row .genre-pill {
    grid-column: 3;
    grid-row: 2;
    justify-self: start;
    max-width: 100%;
  }

  .gift-landing .gift-example-row .example-note {
    grid-column: 4;
    grid-row: 2;
    font-size: 14px;
    line-height: 1.28;
  }
}

@container (max-width: 620px) {
  .gift-landing .gift-example-row.example-row {
    grid-template-columns: 58px 38px minmax(0, 1fr) !important;
    grid-template-rows: auto auto auto auto;
    gap: 8px 10px !important;
    padding: 12px;
  }

  .gift-landing .gift-example-row .example-cover {
    grid-row: 1 / span 2;
    width: 58px;
    height: 58px;
  }

  .gift-landing .gift-example-row .mini-play {
    grid-column: 2;
    grid-row: 1;
  }

  .gift-landing .gift-example-row .example-copy {
    grid-column: 3;
    grid-row: 1;
  }

  .gift-landing .gift-example-row .example-audio-line {
    display: flex !important;
    grid-column: 2 / -1 !important;
    grid-row: 2;
    max-width: none;
    gap: 8px;
    justify-self: stretch;
  }

  .gift-landing .gift-example-row .genre-pill {
    grid-column: 2 / -1;
    grid-row: 3;
    justify-self: start;
    width: auto;
    max-width: 100%;
    min-width: 0;
    min-height: 28px;
    padding: 6px 12px;
  }

  .gift-landing .gift-example-row .example-note {
    grid-column: 2 / -1;
    grid-row: 4;
    font-size: 13px;
    line-height: 1.25;
    -webkit-line-clamp: 1;
  }
}

@container (max-width: 440px) {
  .gift-landing .gift-example-row.example-row {
    grid-template-columns: 52px 36px minmax(0, 1fr) !important;
    grid-template-rows: auto auto auto auto;
    gap: 8px !important;
    padding: 12px;
  }

  .gift-landing .gift-example-row .example-cover {
    grid-row: 1;
    width: 52px !important;
    height: 52px !important;
  }

  .gift-landing .gift-example-row .mini-play {
    grid-column: 2;
    grid-row: 1;
  }

  .gift-landing .gift-example-row .example-copy {
    grid-column: 3;
    grid-row: 1;
  }

  .gift-landing .gift-example-row .example-audio-line {
    grid-column: 1 / -1 !important;
    grid-row: 2;
    max-width: none !important;
    justify-self: stretch;
  }

  .gift-landing .gift-example-row .genre-pill {
    grid-column: 1 / -1;
    grid-row: 3;
  }

  .gift-landing .gift-example-row .example-note {
    grid-column: 1 / -1;
    grid-row: 4;
  }
}

.gift-reviews-subtitle {
  margin: 10px 0 22px;
  color: var(--gift-muted);
  font-size: 15px;
  line-height: 1.45;
}

.gift-review {
  position: relative;
  padding: 14px 0 26px 54px;
  border-bottom: 1px solid var(--gift-line);
}

.gift-review[hidden] {
  display: none !important;
}

.gift-review.is-revealed {
  animation: exampleReveal 0.24s ease both;
}

.gift-review + .gift-review {
  margin-top: 24px;
}

.gift-review b {
  position: absolute;
  left: 0;
  top: 0;
  color: #77d9d6;
  font-size: 82px;
  line-height: 0.8;
}

.gift-review p {
  margin: 0 0 14px;
  color: var(--gift-text);
  font-size: 15px;
  line-height: 1.55;
}

.gift-stars {
  color: var(--gift-yellow);
  font-size: 18px;
  line-height: 1;
}

.gift-review strong,
.gift-review span {
  display: block;
}

.gift-review strong {
  margin-top: 14px;
  color: var(--gift-navy);
}

.gift-review span {
  margin-top: 3px;
  color: var(--gift-muted);
  font-size: 13px;
}

.gift-review-author {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.gift-review .gift-review-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-top: 0;
  border: 2px solid rgba(119, 217, 214, 0.45);
  border-radius: 50%;
  object-fit: cover;
  color: var(--gift-teal);
  background: #e9f8f7;
  box-shadow: 0 8px 18px rgba(7, 21, 50, 0.08);
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.gift-review-author strong {
  margin-top: 0;
}

.gift-review .gift-review-label {
  margin-top: 3px;
  color: var(--gift-muted);
  font-size: 13px;
}

.gift-review-controls {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.gift-review-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--gift-line);
  border-radius: 50%;
  color: var(--gift-teal);
  background: #fff;
  cursor: pointer;
  transition:
    color 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease,
    transform 0.18s ease;
}

.gift-review-nav:hover:not(:disabled) {
  border-color: rgba(8, 180, 177, 0.45);
  color: #fff;
  background: var(--gift-teal);
  transform: translateY(-1px);
}

.gift-review-nav:disabled {
  cursor: default;
  opacity: 0.38;
}

.gift-review-nav .icon {
  width: 18px;
  height: 18px;
}

.gift-review-nav-prev .icon {
  transform: rotate(180deg);
}

.gift-review-dots {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.gift-review-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1px solid #cbd8e5;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
}

.gift-review-dot.is-active {
  border-color: var(--gift-teal);
  background: var(--gift-teal);
  box-shadow: 0 0 0 3px rgba(8, 180, 177, 0.16);
}

.gift-faq {
  width: var(--gift-section-width);
  margin: 0 auto;
  padding: var(--gift-section-y) 0;
  background: transparent;
}

.gift-faq .gift-section-heading {
  width: 100%;
  max-width: none;
  margin: 0 auto 28px;
  text-align: left;
}

.gift-faq-list {
  display: grid;
  gap: 12px;
  width: 100%;
  margin: 0 auto;
}

.gift-faq details {
  border: 1px solid var(--gift-line);
  border-radius: 12px;
  background: #fff;
}

.gift-faq summary {
  min-height: 54px;
  padding: 17px 52px 17px 18px;
  color: var(--gift-navy);
  font-weight: 800;
  text-align: left;
  cursor: pointer;
  list-style: none;
}

.gift-faq summary::-webkit-details-marker {
  display: none;
}

.gift-faq summary::after {
  content: "+";
  float: right;
  margin-right: -34px;
  color: var(--gift-navy);
  font-size: 24px;
  font-weight: 400;
  line-height: 18px;
}

.gift-faq details[open] summary::after {
  content: "-";
}

.gift-faq details p {
  margin: -4px 18px 18px;
  color: var(--gift-muted);
  line-height: 1.55;
  text-align: left;
}

.gift-final-cta {
  display: grid;
  grid-template-columns: minmax(380px, 0.9fr) minmax(460px, 1.1fr);
  align-items: center;
  gap: 30px;
  position: relative;
  isolation: isolate;
  width: var(--gift-section-width);
  min-height: 390px;
  margin: 0 auto;
  padding: var(--gift-feature-section-y) 0;
  overflow: hidden;
}

.gift-final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, #fff 0%, #fff 30%, rgba(255, 255, 255, 0.94) 43%, rgba(255, 255, 255, 0.44) 53%, rgba(255, 255, 255, 0.08) 62%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}

.gift-final-cta > div {
  position: relative;
  z-index: 2;
}

.gift-final-cta h2 {
  max-width: 560px;
  margin: 0 0 18px;
  color: var(--gift-navy);
  font-size: clamp(40px, 4vw, 64px);
  line-height: 1.04;
}

.gift-final-cta p {
  max-width: 560px;
  margin: 0 0 26px;
  color: var(--gift-muted);
  font-size: 20px;
  line-height: 1.45;
}

.gift-final-cta .gift-hero-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 228px), 1fr));
  width: min(100%, 590px);
  max-width: 590px;
}

.gift-final-cta .gift-hero-actions .gift-button {
  width: 100%;
  min-width: 0;
}

.gift-final-cta img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  pointer-events: none;
}

.gift-footer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  width: var(--gift-section-width);
  margin: 0 auto;
  padding: var(--gift-section-y) 0 46px;
}

.gift-footer p,
.gift-footer span {
  color: var(--gift-muted);
  line-height: 1.45;
  min-width: 0;
  overflow-wrap: anywhere;
}

.gift-footer nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 24px;
  color: var(--gift-navy);
  font-weight: 700;
  min-width: 0;
  max-width: 100%;
  white-space: nowrap;
}

.gift-footer nav a {
  white-space: nowrap;
}

.gift-footer-legal {
  grid-column: 1 / -1;
  margin-top: -8px;
}

@media (max-width: 1180px) {
  .gift-landing {
    --gift-section-width: min(100% - 40px, 980px);
  }

  .gift-header,
  .gift-hero,
  .gift-social-grid,
  .gift-final-cta,
  .gift-footer {
    width: var(--gift-section-width);
  }

  .gift-header {
    grid-template-columns: auto auto;
  }

  .gift-nav {
    order: 3;
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 10px;
  }

  .gift-hero {
    grid-template-columns: minmax(430px, 0.9fr) minmax(0, 1.1fr);
    gap: 18px;
    min-height: 500px;
    padding-top: var(--gift-section-y);
  }

  .gift-hero-copy,
  .gift-hero h1,
  .gift-hero-copy > p {
    max-width: 460px;
  }

  .gift-hero h1 {
    font-size: clamp(42px, 5vw, 56px);
    line-height: 1.06;
  }

  .gift-hero-copy > p {
    font-size: clamp(17px, 2vw, 20px);
  }

  .gift-hero-actions .gift-button {
    min-height: 58px;
    padding-inline: 20px;
  }

  .gift-trust-row {
    grid-template-columns: 1fr;
    gap: 10px;
    max-width: 360px;
  }

  .gift-trust-row article {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 10px;
  }

  .gift-trust-row span {
    width: 46px;
    height: 46px;
  }

  .gift-hero-bg::after {
    background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.98) 36%, rgba(255, 255, 255, 0.55) 58%, rgba(255, 255, 255, 0.05) 100%);
  }

  .gift-hero-media {
    min-height: 420px;
  }

  .gift-hero-photo {
    height: 100%;
    min-height: 100%;
  }

  .gift-floating-player.audio-preview {
    left: clamp(12px, 3vw, 42px);
    right: auto;
    bottom: 22px;
    transform: none;
    width: min(500px, calc(100% - 24px));
  }

  .gift-occasion-strip {
    grid-template-columns: 1fr;
    padding-inline: 0;
  }

  .gift-occasion-strip > div {
    grid-template-columns: repeat(4, minmax(90px, 1fr));
  }

  .gift-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gift-step-card:not(:last-child)::after {
    display: none;
  }

  .gift-mini-form {
    grid-template-columns: 90px 1fr 1fr;
  }

  .gift-mini-form .gift-button {
    grid-column: 2 / -1;
  }

  .gift-social-grid {
    grid-template-columns: 1fr;
  }

  .gift-examples-panel {
    padding-right: 0;
  }

  .gift-reviews-panel {
    padding-left: 0;
    border-left: 0;
  }

  .gift-final-cta {
    grid-template-columns: 1fr;
    min-height: 420px;
  }

  .gift-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 14px;
    text-align: center;
  }

  .gift-footer nav {
    flex-wrap: wrap;
    gap: 10px 22px;
    white-space: normal;
  }

  .gift-footer > span {
    justify-self: center;
  }

  .gift-footer-legal {
    margin-top: 0;
    text-align: center;
  }
}

@media (max-width: 1240px) {
  .gift-tariffs,
  .gift-faq {
    padding-inline: 0;
  }

  .gift-tariff-showcase {
    --visible-gift-tariffs: 3;
    --gift-tariff-gap: 18px;
    max-width: none;
    padding: 0 58px;
  }

  .gift-tariff-viewport {
    overflow: hidden;
    margin-top: -28px;
    padding-top: 28px;
  }

  .gift-tariff-track {
    display: flex;
    gap: var(--gift-tariff-gap);
    align-items: stretch;
    will-change: transform;
  }

  .gift-tariff-card {
    flex: 0 0 calc((100% - (var(--visible-gift-tariffs) - 1) * var(--gift-tariff-gap)) / var(--visible-gift-tariffs));
    min-width: 0;
    min-height: 254px;
    padding: 30px 18px 26px;
  }

  .gift-tariff-nav {
    display: inline-flex;
  }

  .gift-tariff-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 16px;
  }

  .gift-tariff-icon .icon {
    width: 32px;
    height: 32px;
  }

  .gift-tariff-card h3 {
    font-size: 26px;
  }

  .gift-tariff-card p {
    font-size: 15px;
  }

  .gift-tariff-card strong {
    font-size: 30px;
  }

  .gift-hero {
    grid-template-columns: 1fr;
    box-sizing: border-box;
    width: var(--gift-section-width);
    min-height: 0;
    gap: 0;
    padding: var(--gift-section-y) 0;
    overflow: hidden;
  }

  .gift-hero-bg {
    left: 0;
  }

  .gift-hero-bg::after {
    background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0.98) 40%, rgba(255, 255, 255, 0.7) 68%, rgba(255, 255, 255, 0.3) 100%), linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.85) 52%, rgba(255, 255, 255, 0.2) 100%);
  }

  .gift-hero-copy {
    grid-column: 1;
    grid-row: 1;
    justify-self: center;
    width: min(100%, 760px);
    max-width: 760px;
  }

  .gift-hero h1 {
    width: 100%;
    max-width: 760px;
    font-size: clamp(42px, 6vw, 56px);
    line-height: 1.06;
  }

  .gift-hero-copy > p {
    width: 100%;
    max-width: 620px;
  }

  .gift-trust-row {
    grid-template-columns: 1fr;
    gap: 10px;
    max-width: 360px;
  }

  .gift-trust-row article {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 10px;
  }

  .gift-trust-row span {
    width: 46px;
    height: 46px;
  }

  .gift-hero-media {
    grid-column: 1;
    grid-row: 2;
    justify-self: center;
    width: min(100%, 760px);
    min-height: 0;
    margin-top: 12px;
  }

  .gift-floating-player.audio-preview {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    transform: none;
    grid-template-columns: 50px 1fr auto;
    width: 100%;
    min-height: 82px;
    gap: 12px;
    margin: 0;
    padding: 14px 16px;
  }

  .gift-floating-player .waveform {
    grid-column: 2 / -1;
  }

  .gift-floating-player .play-button {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 1100px) {
  .gift-hero {
    width: var(--gift-section-width);
    padding: var(--gift-section-y) 0;
  }

  .gift-hero-copy,
  .gift-hero-media {
    justify-self: center;
    width: 100%;
    max-width: 620px;
  }

  .gift-hero h1,
  .gift-hero-copy > p {
    width: 100%;
    max-width: 100%;
  }

  .gift-hero h1 {
    font-size: clamp(38px, 7vw, 50px);
  }

  .gift-hero-copy > p {
    font-size: clamp(18px, 2.35vw, 20px);
  }

  .gift-hero-actions .gift-button {
    width: 100%;
    min-height: 54px;
    padding-inline: 18px;
  }

  .gift-final-cta .gift-hero-actions .gift-button {
    width: 100%;
    min-width: 0;
  }

  .gift-trust-row {
    grid-template-columns: 1fr;
    max-width: 100%;
  }

  .gift-hero-bg::after {
    background: linear-gradient(180deg, #fff 0%, rgba(255, 255, 255, 0.98) 42%, rgba(255, 255, 255, 0.72) 68%, rgba(255, 255, 255, 0.34) 100%), linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0.84) 54%, rgba(255, 255, 255, 0.22) 100%);
  }

  .gift-hero-media {
    min-height: 0;
    margin-top: 8px;
  }

  .gift-floating-player.audio-preview {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    transform: none;
    grid-template-columns: 50px 1fr auto;
    width: 100%;
    min-height: 82px;
    gap: 12px;
    margin-top: 8px;
  }

  .gift-floating-player .waveform {
    grid-column: 2 / -1;
  }

  .gift-floating-player .play-button {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 900px) {
  .gift-tariff-showcase {
    max-width: none;
  }

  .gift-tariff-card {
    min-height: 246px;
  }
}

@media (max-width: 720px) {
  .gift-landing {
    --gift-section-width: min(100% - 28px, 520px);
    --gift-section-y: 28px;
    --gift-feature-section-y: 36px;
  }

  .gift-landing::before {
    background-size: 1180px auto;
    background-position: center 10px;
  }

  .gift-header,
  .gift-social-grid,
  .gift-final-cta,
  .gift-footer {
    width: var(--gift-section-width);
  }

  .gift-header {
    min-height: 74px;
    gap: 14px;
  }

  .gift-wordmark {
    font-size: 25px;
  }

  .gift-header-actions {
    gap: 8px;
  }

  .gift-login span,
  .gift-button-small {
    display: none;
  }

  .gift-nav {
    gap: 22px;
    font-size: 14px;
  }

  .gift-hero {
    grid-template-columns: 1fr;
    box-sizing: border-box;
    width: var(--gift-section-width);
    min-height: 0;
    padding: var(--gift-section-y) 0;
  }

  .gift-hero-copy,
  .gift-hero-media {
    justify-self: center;
    width: 100%;
    max-width: 520px;
  }

  .gift-hero h1,
  .gift-hero-copy > p {
    width: 100%;
    max-width: 100%;
  }

  .gift-hero h1 {
    font-size: clamp(38px, 11vw, 50px);
  }

  .gift-hero-copy > p {
    font-size: 18px;
  }

  .gift-button {
    width: 100%;
    min-height: 54px;
    padding-inline: 18px;
    font-size: 16px;
  }

  .gift-final-cta .gift-hero-actions {
    width: min(100%, 520px);
    max-width: 520px;
  }

  .gift-final-cta .gift-hero-actions .gift-button {
    width: 100%;
    min-width: 0;
  }

  .gift-trust-row {
    grid-template-columns: 1fr;
  }

  .gift-hero-media {
    min-height: 0;
    margin: 10px 0 0;
  }

  .gift-hero-photo {
    height: 100%;
    min-height: 100%;
  }

  .gift-floating-player.audio-preview {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    transform: none;
    grid-template-columns: 50px 1fr auto;
    width: 100%;
    min-height: 82px;
    gap: 12px;
  }

  .gift-floating-player .waveform {
    grid-column: 2 / -1;
  }

  .gift-floating-player .play-button {
    width: 50px;
    height: 50px;
  }

  .gift-occasion-strip {
    padding-inline: 0;
    padding-block: var(--gift-section-y);
  }

  .gift-occasion-strip > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gift-steps-band,
  .gift-faq {
    padding-inline: 0;
  }

  .gift-tariffs {
    width: var(--gift-section-width);
    padding: var(--gift-feature-section-y) 0;
    background-size: 1180px auto;
  }

  .gift-tariffs-heading {
    margin-bottom: 28px;
  }

  .gift-tariffs-heading h2 {
    font-size: 34px;
  }

  .gift-tariffs-heading p {
    font-size: 16px;
  }

  .gift-tariff-showcase {
    --visible-gift-tariffs: 2;
    --gift-tariff-gap: 16px;
    max-width: none;
    padding: 0 44px;
  }

  .gift-tariff-track {
    max-width: none;
    margin: 0;
  }

  .gift-tariff-card {
    min-height: 236px;
    padding: 34px 24px 28px;
    border-radius: 18px;
  }

  .gift-tariff-card mark {
    top: -16px;
    min-height: 34px;
    padding-inline: 20px;
    font-size: 14px;
  }

  .gift-tariff-icon {
    width: 76px;
    height: 76px;
    margin-bottom: 18px;
  }

  .gift-tariff-icon .icon {
    width: 34px;
    height: 34px;
  }

  .gift-tariff-card h3 {
    font-size: 26px;
  }

  .gift-tariff-card p {
    font-size: 15px;
  }

  .gift-tariff-card > i {
    margin: 22px auto 20px;
  }

  .gift-tariff-card strong {
    font-size: 30px;
  }

  .gift-tariffs-more {
    margin-top: 28px;
    font-size: 16px;
  }

  .gift-faq .gift-section-heading,
  .gift-faq-list {
    width: 100%;
  }

  .gift-steps {
    grid-template-columns: 1fr;
  }

  .gift-step-card {
    grid-template-columns: minmax(0, 1fr) 82px;
    min-height: 112px;
    padding: 18px 10px;
  }

  .gift-step-icon {
    width: 82px;
    height: 74px;
  }

  .gift-step-icon .icon {
    width: 62px;
    height: 62px;
  }

  .gift-mini-form {
    grid-template-columns: 1fr;
    padding: 22px;
  }

  .gift-mini-form > span {
    display: none;
  }

  .gift-mini-form .gift-button {
    grid-column: auto;
  }

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

  .gift-landing .gift-example-row.example-row {
    grid-template-columns: 58px 38px minmax(0, 1fr) minmax(120px, 220px);
    gap: 10px;
    padding: 12px;
  }

  .gift-landing .gift-example-row .example-cover {
    width: 58px;
    height: 58px;
  }

  .gift-landing .gift-example-row .example-audio-line {
    display: flex !important;
    grid-column: 4 !important;
    grid-row: 1;
    max-width: 220px;
    gap: 8px;
  }

  .gift-faq-list {
    grid-template-columns: 1fr;
  }

  .gift-final-cta h2 {
    font-size: 38px;
  }

  .gift-final-cta img {
    height: 100%;
    object-position: 58% center;
    opacity: 0.6;
  }

  .gift-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 14px;
    padding: var(--gift-section-y) 0 38px;
    text-align: center;
  }

  .gift-footer nav {
    justify-content: center;
    gap: 10px 18px;
    font-size: 14px;
    text-align: center;
  }

  .gift-footer > span {
    justify-self: center;
  }

  .gift-footer-legal {
    text-align: center;
  }
}

@media (max-width: 520px) {
  .gift-tariff-showcase {
    --visible-gift-tariffs: 1;
    max-width: none;
    padding: 0 38px;
  }

  .gift-tariff-nav {
    width: 34px;
    height: 68px;
  }
}

@media (max-width: 420px) {
  .gift-footer nav {
    flex-direction: column;
    align-items: center;
  }

  .gift-footer nav a {
    white-space: normal;
    text-align: center;
  }
}
