/**
 * Register / invitation flow — Sony Music careers shell
 * Works with style.css step classes (.section--*, .form__*, etc.)
 */

/* —— Animated red ambient background —— */
.sm-register-page {
  position: relative;
  overflow-x: clip;
}

.sm-register-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background: transparent;
}

.sm-register-bg__mesh {
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(ellipse 75% 55% at 12% 88%, rgba(249, 0, 0, 0.28) 0%, transparent 58%),
    radial-gradient(ellipse 65% 50% at 92% 12%, rgba(249, 0, 0, 0.2) 0%, transparent 52%),
    radial-gradient(ellipse 50% 40% at 48% 42%, rgba(180, 0, 0, 0.1) 0%, transparent 55%);
  animation: sm-reg-mesh-drift 22s ease-in-out infinite alternate;
  will-change: transform;
}

.sm-register-bg__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(72px);
  opacity: 0.85;
  mix-blend-mode: screen;
}

.sm-register-bg__orb--1 {
  width: min(55vw, 520px);
  height: min(55vw, 520px);
  left: -8%;
  bottom: -12%;
  background: radial-gradient(circle, rgba(249, 0, 0, 0.55) 0%, rgba(249, 0, 0, 0) 68%);
  animation: sm-reg-orb-1 26s ease-in-out infinite;
}

.sm-register-bg__orb--2 {
  width: min(48vw, 440px);
  height: min(48vw, 440px);
  right: -6%;
  top: 8%;
  background: radial-gradient(circle, rgba(255, 40, 40, 0.45) 0%, rgba(249, 0, 0, 0) 70%);
  animation: sm-reg-orb-2 32s ease-in-out infinite;
}

.sm-register-bg__orb--3 {
  width: min(36vw, 320px);
  height: min(36vw, 320px);
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(249, 0, 0, 0.35) 0%, transparent 65%);
  animation: sm-reg-orb-3 20s ease-in-out infinite;
}

.sm-register-bg__ring {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(90vmax, 900px);
  height: min(90vmax, 900px);
  margin-left: min(-45vmax, -450px);
  margin-top: min(-45vmax, -450px);
  border-radius: 50%;
  border: 1px solid rgba(249, 0, 0, 0.12);
  box-shadow:
    0 0 80px rgba(249, 0, 0, 0.08),
    inset 0 0 120px rgba(249, 0, 0, 0.06);
  animation: sm-reg-ring-pulse 14s ease-in-out infinite;
}

.sm-register-bg__sweep {
  position: absolute;
  inset: -20%;
  background: linear-gradient(
    105deg,
    transparent 42%,
    rgba(249, 0, 0, 0.06) 48%,
    rgba(255, 80, 80, 0.14) 50%,
    rgba(249, 0, 0, 0.06) 52%,
    transparent 58%
  );
  animation: sm-reg-sweep 12s ease-in-out infinite;
  opacity: 0.7;
}

.sm-register-bg__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 85% 75% at 50% 45%, transparent 35%, rgba(0, 0, 0, 0.55) 100%);
}

/* Do not override .sm-header-wrap position — it must stay fixed (see sony-careers.css) */
.sm-register-page .sm-footer,
.sm-register-page .sm-register {
  position: relative;
  z-index: 1;
}

@keyframes sm-reg-mesh-drift {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  100% {
    transform: translate(4%, -3%) scale(1.08) rotate(2deg);
  }
}

@keyframes sm-reg-orb-1 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(8%, -6%) scale(1.12);
  }
  66% {
    transform: translate(4%, 5%) scale(0.95);
  }
}

@keyframes sm-reg-orb-2 {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-10%, 8%) scale(1.15);
  }
}

@keyframes sm-reg-orb-3 {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.6;
  }
  50% {
    transform: translate(-42%, -58%) scale(1.2);
    opacity: 0.9;
  }
}

@keyframes sm-reg-ring-pulse {
  0%, 100% {
    transform: scale(0.92);
    opacity: 0.35;
  }
  50% {
    transform: scale(1.04);
    opacity: 0.65;
  }
}

@keyframes sm-reg-sweep {
  0%, 100% {
    transform: translateX(-18%) rotate(0deg);
    opacity: 0.35;
  }
  50% {
    transform: translateX(18%) rotate(0deg);
    opacity: 0.85;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sm-register-bg__mesh,
  .sm-register-bg__orb,
  .sm-register-bg__ring,
  .sm-register-bg__sweep {
    animation: none;
  }
}

.sm-register-page .header,
.sm-register-page .footer:not(.sm-footer) {
  display: none !important;
}

.sm-register {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100dvh - var(--sm-topbar-h) - var(--sm-header-h) - 120px);
  padding: 48px 0 96px;
}

.sm-register__stage {
  width: 100%;
  max-width: 1200px;
}

.sm-register-page .sm-register__stage.sm-container {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding-inline: clamp(8px, 2vw, 24px);
}

.sm-register-page .main.container {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

/* Language picker — list selection */
.sm-register-page .section--language.sm-lang-picker {
  margin-top: 0;
  padding: clamp(24px, 5vh, 48px) clamp(12px, 3vw, 24px);
  width: 100%;
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  border: none;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  position: relative;
  z-index: 1;
  min-height: calc(100dvh - var(--sm-topbar-h) - var(--sm-header-h) - 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.sm-lang-picker__card {
  width: 100%;
  max-width: 480px;
  padding: clamp(28px, 5vw, 36px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.08) 0%,
    rgba(0, 0, 0, 0.35) 50%,
    rgba(249, 0, 0, 0.08) 100%
  );
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
}

.sm-lang-picker__header {
  margin-bottom: 24px;
  text-align: center;
}

.sm-lang-picker__eyebrow {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(249, 0, 0, 0.9);
}

.sm-lang-picker__title {
  margin: 0;
  font-size: clamp(22px, 4.5vw, 28px);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: #fff;
}

.sm-lang-picker__title span {
  display: block;
  margin-top: 8px;
  font-size: clamp(14px, 2.8vw, 16px);
  font-weight: 500;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.55);
}

.sm-lang-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: min(52vh, 420px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.sm-lang-list__item {
  margin: 0;
}

.sm-lang-list__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.28);
  color: #fff;
  text-align: left;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.sm-lang-list__btn:hover {
  border-color: rgba(249, 0, 0, 0.45);
  background: rgba(249, 0, 0, 0.1);
  transform: translateX(2px);
}

.sm-lang-list__btn:focus-visible {
  outline: 2px solid #f90000;
  outline-offset: 2px;
}

.sm-lang-list__btn:active {
  transform: scale(0.99);
}

.sm-lang-list__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.sm-lang-list__label {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.25;
}

.sm-lang-list__native {
  font-size: 13px;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.5);
}

.sm-lang-list__chevron {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.35);
  transition: color 0.2s ease, transform 0.2s ease;
}

.sm-lang-list__btn:hover .sm-lang-list__chevron {
  color: #f90000;
  transform: translateX(2px);
}

body.rtl .sm-lang-list__btn {
  text-align: right;
}

body.rtl .sm-lang-list__btn:hover {
  transform: translateX(-2px);
}

body.rtl .sm-lang-list__chevron svg {
  transform: scaleX(-1);
}

.sm-register-page .section--checking-link,
.sm-register-page .section--finish {
  width: 100%;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 8px;
}

/* —— Channel link step —— */
.sm-register-page .section--channel-link.sm-channel-link {
  width: 100%;
  max-width: 680px;
  margin-inline: auto;
  padding: 0 clamp(12px, 3vw, 20px);
}

.sm-channel-link__card {
  padding: clamp(28px, 5vw, 40px);
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.07) 0%,
    rgba(0, 0, 0, 0.35) 50%,
    rgba(249, 0, 0, 0.06) 100%
  );
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(249, 0, 0, 0.05) inset;
}

.sm-channel-link__header {
  margin-bottom: 24px;
}

.sm-channel-link__eyebrow {
  margin: 0 0 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.42);
  text-align: left;
}

.sm-channel-link__title {
  margin: 0 0 14px !important;
  font-size: clamp(26px, 4.5vw, 34px) !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.03em !important;
  text-align: left !important;
}

.sm-channel-link__desc {
  margin: 0 !important;
  font-size: clamp(15px, 2.2vw, 17px) !important;
  line-height: 1.5 !important;
  text-align: left !important;
  color: rgba(255, 255, 255, 0.55) !important;
}

.sm-register-page .sm-channel-link__form {
  padding: 0 !important;
  border: none !important;
}

.sm-channel-link__field {
  display: flex !important;
  align-items: stretch;
  gap: 0 !important;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(0, 0, 0, 0.35);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.sm-channel-link__field:focus-within {
  border-color: rgba(249, 0, 0, 0.55);
  box-shadow: 0 0 0 3px rgba(249, 0, 0, 0.12);
}

.sm-channel-link__input-wrap {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
}

.sm-channel-link__prefix {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: rgba(255, 255, 255, 0.55);
  background: none;
}

.sm-channel-link__link-icon {
  display: block;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  overflow: visible;
}

.sm-channel-link__field:focus-within .sm-channel-link__prefix {
  color: rgba(249, 0, 0, 0.9);
}

.sm-register-page .sm-channel-link__input {
  flex: 1 1 auto;
  min-width: 0;
  padding: 16px 0 !important;
  border: none !important;
  background: transparent !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  color: #fff !important;
}

.sm-register-page .sm-channel-link__input::placeholder {
  color: rgba(255, 255, 255, 0.32) !important;
}

.sm-register-page .sm-channel-link__input:focus {
  outline: none !important;
  border: none !important;
}

.sm-register-page .sm-channel-link__submit {
  flex-shrink: 0;
  width: 56px;
  min-width: 56px;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  border-radius: 0 !important;
  background-color: #f90000 !important;
  color: #fff !important;
  transition: background-color 0.2s ease, opacity 0.2s ease;
}

.sm-register-page .sm-channel-link__submit:hover {
  background-color: #ff1a1a !important;
  opacity: 1 !important;
}

.sm-register-page .sm-channel-link__submit .form__button-icon {
  filter: brightness(0) invert(1);
}

.sm-channel-link__hint {
  margin: 10px 0 0;
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.38);
  text-align: left;
}

.sm-channel-link__error {
  display: block;
  margin-top: 12px !important;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(249, 0, 0, 0.12);
  border: 1px solid rgba(249, 0, 0, 0.28);
  font-size: 13px !important;
  line-height: 1.4 !important;
}

.sm-channel-link__error:not(.hidden) {
  display: block;
}

@media (max-width: 520px) {
  .sm-channel-link__card {
    padding: 22px 18px;
  }

  .sm-channel-link__field {
    flex-direction: column;
    border-radius: 12px;
    overflow: visible;
    gap: 10px !important;
    padding: 0;
    background: transparent;
    border: none;
  }

  .sm-channel-link__input-wrap {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(0, 0, 0, 0.35);
  }

  .sm-channel-link__field:focus-within .sm-channel-link__input-wrap {
    border-color: rgba(249, 0, 0, 0.55);
    box-shadow: 0 0 0 3px rgba(249, 0, 0, 0.12);
  }

  .sm-register-page .sm-channel-link__submit {
    width: 100%;
    min-width: 0;
    min-height: 52px;
    border-radius: 12px !important;
  }
}

.sm-register-page .main__wrapper {
  max-width: 1100px;
  margin: 0 auto;
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(249, 0, 0, 0.06) inset;
  position: relative;
  z-index: 1;
}

/* —— Verify channel ownership card —— */
.sm-register-page .main__wrapper.sm-verify {
  display: block;
  padding: 0;
  overflow: hidden;
  border-radius: 16px;
  background: linear-gradient(
    165deg,
    rgba(255, 255, 255, 0.07) 0%,
    rgba(0, 0, 0, 0.35) 55%,
    rgba(249, 0, 0, 0.08) 100%
  );
}

.sm-verify__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
  align-items: stretch;
  min-height: min(520px, 72vh);
}

.sm-verify__details {
  min-width: 0 !important;
  padding: clamp(24px, 4vw, 40px) !important;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sm-verify__title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.sm-verify__title {
  margin: 0 !important;
  flex: 1;
  min-width: 0;
  font-size: clamp(24px, 3.2vw, 32px) !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  letter-spacing: -0.03em !important;
  text-align: left !important;
}

.sm-verify__why {
  flex-shrink: 0;
  margin-top: 4px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
  color: var(--sm-white, #fff);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease;
}

.sm-verify__why:hover {
  background: rgba(249, 0, 0, 0.15);
  border-color: rgba(249, 0, 0, 0.55);
}

.sm-verify__why.is-active {
  background: rgba(249, 0, 0, 0.22);
  border-color: var(--sm-red, #f90000);
  color: #fff;
}

.sm-verify__panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sm-verify__panel--faq {
  gap: 20px;
  animation: sm-verify-faq-in 0.28s ease;
}

@keyframes sm-verify-faq-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.sm-verify__faq-item {
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.24);
}

.sm-verify__faq-q {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  color: #fff;
  text-align: left;
}

.sm-verify__faq-a {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.72);
  text-align: left;
}

.sm-verify__faq-a strong {
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
}

.sm-verify__faq-note {
  margin: 0;
  padding: 12px 14px;
  border-radius: 10px;
  border-left: 3px solid var(--sm-red, #f90000);
  background: rgba(249, 0, 0, 0.08);
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.65);
  text-align: left;
}

.sm-verify__profile {
  display: flex !important;
  align-items: center;
  gap: 16px !important;
  padding: 14px 16px !important;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  background: rgba(0, 0, 0, 0.28) !important;
}

.sm-verify__profile-thumb {
  width: 56px !important;
  height: 56px !important;
  max-width: 56px !important;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.sm-verify__profile-text {
  gap: 4px !important;
  text-align: left !important;
}

.sm-verify__profile-text::before {
  display: none !important;
}

.sm-verify__profile-name {
  font-size: 18px !important;
  font-weight: 600 !important;
  text-align: left !important;
}

.sm-verify__profile-text .section__profile-subtext {
  font-size: 13px !important;
  text-align: left !important;
  color: rgba(255, 255, 255, 0.45) !important;
}

.sm-verify__info {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  gap: 16px !important;
}

.sm-verify__stats {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px !important;
}

.sm-verify__stat {
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 8px !important;
  padding: 14px 12px !important;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  background: rgba(0, 0, 0, 0.22) !important;
}

.sm-verify__stat .section__info-icon {
  width: 20px;
  height: 20px;
  opacity: 0.85;
}

.sm-verify__stat-value {
  font-size: 17px !important;
  font-weight: 600 !important;
  text-align: left !important;
}

.sm-verify__stat-value::before,
.sm-verify__field-value::before {
  display: none !important;
}

.sm-verify__meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sm-verify__field {
  gap: 8px !important;
}

.sm-verify__field .section__info-label {
  font-size: 12px !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4) !important;
}

.sm-verify__field-row {
  padding: 14px 16px !important;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  background: rgba(0, 0, 0, 0.22) !important;
}

.sm-verify__field-value {
  font-size: 15px !important;
  text-align: left !important;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.sm-verify__field-row .section__info-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  opacity: 0.8;
}

.sm-verify__aside {
  display: flex !important;
  align-items: stretch !important;
  justify-content: center !important;
  width: 100% !important;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.2);
}

.sm-register-page .sm-verify__aside .section--welcome {
  max-width: none !important;
  width: 100% !important;
  padding: clamp(24px, 4vw, 36px);
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}

.sm-verify__hero {
  margin: 0 !important;
  padding: 0 0 20px !important;
  border: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center;
  gap: 20px !important;
}

.sm-verify__avatar-wrap {
  position: relative;
  padding: 10px !important;
  max-width: 200px !important;
  width: min(200px, 52vw) !important;
  background: transparent !important;
  border-radius: 50%;
}

.sm-verify__avatar-wrap::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(249, 0, 0, 0.7);
  box-shadow: 0 0 36px rgba(249, 0, 0, 0.35);
  background: radial-gradient(
    circle at 50% 40%,
    rgba(249, 0, 0, 0.35) 0%,
    transparent 68%
  );
  z-index: 1;
  pointer-events: none;
}

.sm-register-page .sm-verify__avatar-wrap.section__content-profile::after {
  z-index: 3;
}

.sm-verify__avatar {
  position: relative;
  z-index: 2;
  width: 100% !important;
  border-radius: 50%;
  display: block;
}

.sm-verify__greeting {
  width: 100%;
  align-items: center !important;
  text-align: center;
}

.sm-verify__greeting-label {
  margin: 0 0 6px !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  color: rgba(255, 255, 255, 0.45) !important;
  text-align: center !important;
}

.sm-verify__greeting-name {
  margin: 0 !important;
  font-size: clamp(28px, 5vw, 38px) !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  letter-spacing: -0.03em !important;
  text-align: center !important;
}

.sm-verify__cta {
  margin-top: auto;
  width: 100% !important;
  padding: 16px 20px !important;
  border-radius: 12px !important;
  font-size: 17px !important;
  font-weight: 600 !important;
}

@media (max-width: 900px) {
  .sm-verify__layout {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .sm-verify__aside {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .sm-register-page .sm-verify__aside .section--welcome {
    padding: 28px 24px 32px;
  }

  .sm-verify__hero {
    flex-direction: row !important;
    align-items: center !important;
    text-align: left;
    padding-bottom: 20px !important;
  }

  .sm-verify__avatar-wrap {
    width: 120px !important;
    max-width: 120px !important;
    flex-shrink: 0;
  }

  .sm-verify__greeting {
    align-items: flex-start !important;
    text-align: left;
  }

  .sm-verify__greeting-label,
  .sm-verify__greeting-name {
    text-align: left !important;
  }
}

@media (max-width: 520px) {
  .sm-verify__details {
    padding: 20px 16px !important;
  }

  .sm-verify__stats {
    grid-template-columns: 1fr;
  }

  .sm-verify__stat {
    flex-direction: row !important;
    align-items: center !important;
  }

  .sm-verify__hero {
    flex-direction: column !important;
    text-align: center;
  }

  .sm-verify__greeting-label,
  .sm-verify__greeting-name {
    text-align: center !important;
  }
}

.sm-register-page .section--choose .list__item-button:hover {
  border-color: rgba(249, 0, 0, 0.35);
}

.sm-register-page .section--choose .list__item-button--active {
  border-color: rgba(249, 0, 0, 0.65);
  background-color: rgba(249, 0, 0, 0.18);
}

.sm-register-page .section--choose .list__item-block {
  background-color: rgba(249, 0, 0, 0.12);
}

/* —— Register /done: channel summary + promotion pick —— */
.sm-register-done-page .sm-register__stage {
  padding-top: clamp(16px, 3vh, 32px);
}

.sm-register-done-page .main__wrapper.sm-verify {
  max-width: 1280px;
}

.sm-done.sm-verify .sm-verify__layout {
  grid-template-columns: minmax(280px, 0.88fr) minmax(480px, 1.2fr);
  min-height: min(560px, 78vh);
}

@media (min-width: 1100px) {
  .sm-done.sm-verify .sm-verify__layout {
    grid-template-columns: minmax(320px, 1fr) minmax(520px, 1.35fr);
  }
}

.sm-verify__field-row--success {
  border-color: rgba(72, 220, 120, 0.35) !important;
  background: rgba(72, 220, 120, 0.08) !important;
}

.sm-verify__field-row--success .sm-verify__field-value {
  color: rgba(160, 255, 190, 0.95) !important;
}

.sm-done__aside {
  align-items: stretch !important;
}

.sm-done__choose {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: clamp(24px, 4vw, 36px) !important;
  display: flex !important;
  flex-direction: column;
  justify-content: center;
  gap: clamp(20px, 3vh, 28px) !important;
}

.sm-done__choose-title {
  margin: 0 !important;
  font-size: clamp(20px, 2.6vw, 26px) !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  letter-spacing: -0.02em !important;
  text-align: left !important;
}

.sm-done__promo-list {
  width: 100%;
}

.sm-register-done-page .section--choose .list {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  align-items: stretch;
}

.sm-register-done-page .section--choose .list__item {
  flex: none;
  min-width: 0;
  display: flex;
}

.sm-register-done-page .section--choose .list__item-button {
  width: 100%;
  height: 100%;
  min-height: 220px;
  padding: 20px 10px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(0, 0, 0, 0.28);
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.sm-register-done-page .section--choose .list__item-button:disabled {
  cursor: default;
  opacity: 0.85;
}

.sm-register-done-page .section--choose .list__item-button:not(:disabled):hover {
  transform: translateY(-2px);
}

.sm-register-done-page .section--choose .list__item-title {
  margin: 0;
  font-size: clamp(13px, 1.1vw, 16px) !important;
  line-height: 1.3 !important;
  text-align: center;
  word-break: break-word;
  hyphens: auto;
}

.sm-register-done-page .section--choose .list__item-block {
  margin-top: 0 !important;
  width: 72px;
  height: 72px;
  flex-shrink: 0;
}

.sm-register-done-page .section--choose .list__item-block .list__item-image {
  width: 44px;
  height: auto;
}

.sm-register-done-page .section--choose .list__item-button > span:last-child {
  margin-top: auto !important;
  padding-top: 4px;
  font-size: 14px;
  line-height: 1.2;
}

/* —— Register /done: success screen —— */
.sm-register-done-page .sm-done-finish {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  padding: clamp(32px, 6vh, 56px) 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: min(480px, 65vh);
}

.sm-register-done-page .sm-done-finish.section--finish {
  max-width: 720px;
}

.sm-done-finish__card {
  position: relative;
  overflow: hidden;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0;
  padding: clamp(44px, 7vw, 56px) clamp(32px, 5vw, 48px) clamp(36px, 5vw, 44px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(
    168deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(0, 0, 0, 0.42) 48%,
    rgba(249, 0, 0, 0.14) 100%
  );
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  box-shadow:
    0 32px 96px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(249, 0, 0, 0.08) inset;
}

.sm-done-finish__card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(249, 0, 0, 0.9) 20%,
    rgba(255, 80, 80, 1) 50%,
    rgba(249, 0, 0, 0.9) 80%,
    transparent
  );
  opacity: 0.85;
}

.sm-done-finish__glow {
  position: absolute;
  top: -40%;
  left: 50%;
  width: min(420px, 90vw);
  height: min(420px, 90vw);
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249, 0, 0, 0.22) 0%, transparent 68%);
  pointer-events: none;
}

.sm-done-finish.fade-in .sm-done-finish__card {
  animation: sm-done-card-in 0.65s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes sm-done-card-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.sm-done-finish__badge {
  position: relative;
  z-index: 1;
  margin-bottom: 28px;
}

.sm-done-finish__icon-ring {
  position: relative;
  width: 104px;
  height: 104px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sm-done-finish__icon-ring::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(249, 0, 0, 0.45);
  animation: sm-done-ring-pulse 2.8s ease-in-out infinite;
}

.sm-done-finish__icon-ring::after {
  content: "";
  position: absolute;
  inset: -18px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249, 0, 0, 0.35) 0%, transparent 70%);
  opacity: 0.6;
  animation: sm-done-ring-pulse 2.8s ease-in-out infinite reverse;
}

@keyframes sm-done-ring-pulse {
  0%,
  100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.04);
  }
}

.sm-done-finish__icon {
  position: relative;
  z-index: 1;
  width: 88px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: transparent;
  box-shadow: 0 8px 32px rgba(249, 0, 0, 0.35);
}

.sm-done-finish.fade-in .sm-done-finish__icon {
  animation: sm-done-icon-pop 0.55s cubic-bezier(0.34, 1.4, 0.64, 1) 0.15s both;
}

@keyframes sm-done-icon-pop {
  from {
    opacity: 0;
    transform: scale(0.6);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.sm-done-finish__check {
  width: 100%;
  height: 100%;
  display: block;
  filter: drop-shadow(0 4px 12px rgba(249, 0, 0, 0.45));
}

.sm-done-finish__icon--inline {
  width: min(100px, 24vw);
  height: min(100px, 24vw);
  margin: 0 auto 24px;
}

.sm-done-finish__copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 26em;
}

.sm-done-finish__eyebrow {
  margin: 0;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(249, 0, 0, 0.95);
}

.sm-done-finish__headline {
  margin: 0;
  font-size: clamp(32px, 5vw, 42px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: #fff;
}

.sm-done-finish__subtitle {
  margin: 0;
  font-size: clamp(16px, 2vw, 18px);
  font-weight: 400;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.62);
}

.sm-done-finish__home {
  position: relative;
  z-index: 1;
  margin-top: 32px;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.sm-done-finish__home:hover {
  background: rgba(249, 0, 0, 0.18);
  border-color: rgba(249, 0, 0, 0.55);
  transform: translateY(-1px);
}

body.rtl .sm-done-finish__copy,
body.rtl .sm-done-finish__eyebrow,
body.rtl .sm-done-finish__headline,
body.rtl .sm-done-finish__subtitle {
  text-align: center;
}

@media (max-width: 1024px) {
  .sm-done.sm-verify .sm-verify__layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .sm-register-done-page .section--choose .list {
    grid-template-columns: 1fr;
  }

  .sm-register-done-page .section--choose .list__item-button {
    min-height: 0;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
  }

  .sm-register-done-page .section--choose .list__item-block {
    order: -1;
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    margin: 0;
  }

  .sm-register-done-page .section--choose .list__item-title {
    flex: 1;
    text-align: left;
  }

  .sm-register-done-page .section--choose .list__item-button > span:last-child {
    flex-shrink: 0;
  }
}

.sm-register-page .form__button,
.sm-register-page .section--download .section__link {
  background-color: #f90000;
  color: #fff;
  border-color: #f90000;
}

.sm-register-page .form__button:hover,
.sm-register-page .section--download .section__link:hover {
  opacity: 0.88;
  background-color: #ff1a1a;
  border-color: #ff1a1a;
}

.sm-register-page .section--welcome .section__button {
  background-color: #fff;
  color: #000;
  border: none;
}

.sm-register-page .section--welcome .section__button:hover {
  opacity: 0.65;
  background-color: #fff;
}

.sm-register-page .form__button img,
.sm-register-page .section--download .section__link img {
  filter: brightness(0) invert(1);
}

.sm-register-page .form__error {
  color: #ff4d4d;
}

/* Channel checking — Sony dots Lottie (no text) */
.sm-register-page .section--checking-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.sm-register-page .section--checking-link .section__title {
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  width: 100%;
}

.sm-register-page .sm-register-checking-lottie-wrap {
  margin: 28px auto 20px;
  width: min(220px, 72vw);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sm-register-page .sm-register-checking-lottie {
  width: 100%;
  height: 100%;
  --lottie-animation-container-width: 100%;
  --lottie-animation-container-height: 100%;
  --lottie-animation-container-background-color: transparent;
}

.sm-register-page .sm-register-checking-lottie svg {
  width: 100% !important;
  height: 100% !important;
}

.sm-register-page .section--checking-link .section__description {
  margin-bottom: 0;
  max-width: 100%;
  word-break: break-all;
}

/* —— Mobile: language list —— */
@media (max-width: 768px) {
  .sm-register {
    padding: 24px 0 48px;
    padding-bottom: max(48px, env(safe-area-inset-bottom, 0px));
  }

  .sm-register-page .section--language.sm-lang-picker {
    padding: 16px 12px 24px;
    min-height: calc(100dvh - var(--sm-topbar-h) - var(--sm-header-h));
    min-height: calc(100svh - var(--sm-topbar-h) - var(--sm-header-h));
  }

  .sm-lang-picker__card {
    max-width: 100%;
    padding: 22px 18px;
  }

  .sm-lang-list {
    max-height: min(58vh, 380px);
  }

  .sm-register-page .section--about {
    min-width: unset;
  }
}
