:root {
  --blue: #a995ff;
  --ink: #f6f5f2;
  --muted: #bdb7cf;
  --line: #443a61;
  --paper: #1c1830;
}
body {
  background: #1c1830;
  color: #f6f5f2;
  color-scheme: dark;
  background-image: linear-gradient(120deg, rgba(169, 149, 255, .035), transparent 38%, rgba(169, 149, 255, .025) 72%, transparent);
}

footer button {
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
}

footer {
  align-items: flex-start;
}

.footer-brand,
.footer-links,
.footer-contacts {
  display: grid;
  gap: 8px;
}

.footer-brand > span,
.footer-links,
.footer-contacts {
  color: #aaa2bc;
  font-size: 10px;
}

.footer-links a:hover,
.footer-contacts a:hover {
  color: #a995ff;
}

.header {
  position: relative;
  z-index: 10;
  border-color: #3b3157;
  background: rgba(28, 24, 48, .84);
  backdrop-filter: blur(16px);
}

.brand {
  letter-spacing: 0;
}

.brand > span:last-child {
  color: #a995ff;
}

.brand-mark {
  color: #1c1830;
  background: #a995ff;
  box-shadow: 0 0 22px rgba(169, 149, 255, .25);
}

.header nav a:hover {
  color: #a995ff;
}

.version {
  color: #cfc9df;
  background: #24203d;
  border-color: #51466f;
}

.version i {
  background: #a995ff;
}

.hero {
  position: relative;
  min-height: 520px;
  padding: 38px 0 64px;
}

.hero h1,
h2,
h3 {
  letter-spacing: 0;
}

.hero h1 > span {
  color: #a995ff;
}

.hero p,
.hero-note {
  color: #bdb7cf;
}

.eyebrow {
  color: #aaa2c0;
}

.eyebrow > span {
  color: #bbaaff;
  background: #302653;
  border: 1px solid #5b4d82;
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.hero-links button {
  height: 36px;
  padding: 0 14px;
  border: 1px solid #5b4d82;
  border-radius: 8px;
  color: #d9d2e8;
  background: #282143;
  font-size: 11px;
  font-weight: 700;
}

.hero-links button:hover {
  color: #1c1830;
  background: #a995ff;
  border-color: #a995ff;
}

.button {
  color: #1c1830;
  background: #a995ff;
  box-shadow: 0 10px 25px rgba(169, 149, 255, .18);
}

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

.hero-art {
  overflow: hidden;
  border: 1px solid #4d416d;
  border-radius: 30px;
  background-color: #211b3b;
  background-image: repeating-linear-gradient(132deg, transparent 0 34px, rgba(169, 149, 255, .035) 35px 36px);
  box-shadow: inset 0 0 90px rgba(169, 149, 255, .08), 0 22px 50px rgba(5, 3, 16, .18);
}

.hero-art::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 13%;
  left: 18%;
  width: 66%;
  height: 72%;
  border: 1px solid rgba(169, 149, 255, .17);
  border-radius: 44%;
  transform: rotate(-17deg);
  box-shadow: 0 0 0 26px rgba(169, 149, 255, .035), 0 0 0 54px rgba(169, 149, 255, .025);
}

.hero-art > * {
  z-index: 1;
}

.orbit {
  border-color: #514572;
}

.float-app,
.center-app {
  box-shadow: 0 12px 32px rgba(4, 2, 17, .32);
}

.center-app {
  color: #1c1830;
  background: #a995ff;
  border-color: #2b2447;
}

.art-tag {
  color: #c7c0d9;
  background: #282143;
  border-color: #554872;
  box-shadow: 0 8px 22px rgba(4, 2, 17, .25);
}

.art-tag span {
  color: #a995ff;
}

.catalog {
  padding-top: 32px;
}

.total {
  color: #c5bdd9;
  background: #2c2548;
}

.search-wrap {
  background: #25203f;
  border-color: #574a77;
  box-shadow: 0 7px 20px rgba(4, 2, 17, .16);
}

.search-wrap:focus-within {
  outline-color: #a995ff;
}

.search-wrap > span {
  color: #bdb7cf;
}

input {
  color: #f6f5f2;
}

input::placeholder {
  color: #948da9;
}

kbd {
  color: #bdb4d2;
  background: #322a51;
}

.filters button {
  color: #c3bdd1;
  background: #24203d;
  border-color: #4a3f69;
}

.filters button:hover {
  color: #f6f5f2;
  border-color: #8876c8;
}

.filters button.active {
  color: #1c1830;
  background: #a995ff;
  border-color: #a995ff;
}

.result-row {
  color: #a69fb9;
}

.result-row select {
  color: #c6bed8;
  background: #1c1830;
}

.card {
  color: #f6f5f2;
  background: #25203f;
  border-color: #493e68;
  box-shadow: 0 10px 22px rgba(4, 2, 17, .1);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Segoe UI", sans-serif;
}

.card:hover {
  background: #2a2448;
  border-color: #8270c2;
  box-shadow: 0 16px 30px rgba(4, 2, 17, .3);
}

.grid {
  align-items: start;
}

.card-arrow,
.category-label {
  color: #a9a1bb;
}

.category-label {
  display: block;
  margin-top: 3px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.45;
}

.card h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
  margin-top: 14px;
  margin-bottom: 4px;
}

.card-bottom {
  border-color: #3b3157;
  display: grid;
  gap: 12px;
  align-items: stretch;
  margin-top: 14px;
  padding-top: 11px;
}

.card-install {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #a49cb8;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.45;
}

.card-install-icon {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  width: 16px;
  height: 22px;
  border: 1.5px solid currentColor;
  border-radius: 4px;
  color: #b8a7ff;
}

.card-install-icon::before {
  content: "";
  position: absolute;
  top: 3px;
  left: 50%;
  width: 5px;
  height: 1px;
  border-radius: 2px;
  background: currentColor;
  transform: translateX(-50%);
  opacity: .8;
}

.card-install-icon::after {
  content: "";
  position: absolute;
  bottom: 3px;
  left: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: currentColor;
  transform: translateX(-50%);
}

.card-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 38px;
  padding: 8px 12px;
  border: 1px solid #8a78d2;
  border-radius: 11px;
  color: #c8bbff;
  background: #302653;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  transition: color .18s, background-color .18s, border-color .18s, transform .18s;
}

.card-action > span {
  font-size: 17px;
  line-height: 1;
}

.card:hover .card-action,
.card:focus-visible .card-action {
  color: #1c1830;
  background: #a995ff;
  border-color: #a995ff;
  transform: translateY(-1px);
}

.card:active .card-action {
  transform: translateY(0);
}

.card-bottom > .card-action {
  color: #b5a4ff;
}

@media (max-width: 700px) {
  .hero {
    min-height: 0;
    padding-bottom: 16px;
  }

  .catalog {
    padding-top: 12px;
  }

  .card {
    padding: 14px 12px;
  }

  .category-label {
    font-size: 12px;
  }

  .card h3 {
    font-size: 16px;
    margin-top: 10px;
    margin-bottom: 3px;
  }

  .card-bottom {
    gap: 8px;
    margin-top: 10px;
    padding-top: 9px;
  }

  .card-install,
  .card-action {
    font-size: 10px;
  }

  .card-action {
    min-height: 36px;
    padding: 7px 10px;
  }

  .card-action > span {
    font-size: 15px;
  }

  .card-install-icon {
    width: 14px;
    height: 20px;
  }
}

.catalog-note,
.steps p,
.questions p,
.faq > div > p {
  color: #a9a1bb;
}

.how {
  padding-top: 82px;
}

.steps article > span {
  color: #b5a4ff;
  background: #302653;
}

.notice {
  color: #c4bbd9;
  background: #282143;
  border-color: #574a77;
}

.notice > span {
  color: #b5a4ff;
}

.notice p strong,
.questions summary {
  color: #f6f5f2;
}

.questions details,
footer {
  border-color: #3b3157;
}

footer p,
footer > span {
  color: #9189a5;
}

dialog {
  color: #f6f5f2;
  background: #231d3d;
  border-color: #554770;
}

dialog::backdrop {
  background: rgba(9, 6, 24, .76);
}

.close {
  color: #d7cef0;
  background: #352c54;
}

.detail-header p,
.detail-notice,
.detail-foot,
.offer p,
.offer ul {
  color: #aaa2bc;
}

.offer {
  background: #25203f;
  border-color: #4c416b;
}

.offer.primary {
  background: #2c2550;
  border-color: #8a78d2;
}

.offers {
  grid-template-columns: 1fr;
}

.offer small {
  color: #b8a7ff;
}

.offer button {
  color: #a69dbb;
  background: #3a3158;
}

.checkout-panel .night-mode-actions .button {
  min-height: 52px;
  border: 1px solid #b8a7ff;
  color: #1c1830;
  background: #a995ff;
  box-shadow: 0 8px 22px rgba(169, 149, 255, .2);
  font-size: 14px;
}

.checkout-panel .night-mode-actions .button:hover {
  background: #bdadff;
}

.checkout-panel .night-mode-actions .button-secondary {
  border-color: #756693;
  color: #f6f5f2;
  background: #493d6b;
  box-shadow: none;
}

.checkout-panel .night-mode-actions .button-secondary:hover {
  color: #1c1830;
  background: #b8a7ff;
}

.offer .buy-button {
  color: #1c1830;
  background: #a995ff;
  font-weight: 800;
}

.offer .buy-button:hover {
  background: #bdadff;
}

.marketplace-offer > p {
  margin: 0;
}

.marketplace-list {
  display: grid;
  gap: 10px;
  margin-top: 4px;
}

.marketplace-choice {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  gap: 12px;
  min-height: 64px;
  padding: 9px 0;
  color: #f6f5f2;
  border-top: 1px solid #4c416b;
}

.marketplace-choice:first-child {
  border-top: 0;
}

.marketplace-choice:hover {
  color: #d9d0ff;
}

.marketplace-choice.is-disabled {
  color: #847b99;
  cursor: default;
}

.marketplace-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  color: #fff;
  font-size: 19px;
  font-weight: 850;
}

.marketplace-avito {
  background: #00a86b;
}

.marketplace-playerok {
  background: #6f4bf3;
}

.marketplace-fanpay {
  background: #f06c3f;
}

.marketplace-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.marketplace-copy strong {
  font-size: 13px;
}

.marketplace-copy small {
  color: #aaa2bc;
  font-size: 10px;
  line-height: 1.4;
}

.marketplace-arrow {
  color: #b8a7ff;
  font-size: 20px;
}

.marketplace-choice.is-disabled .marketplace-arrow {
  color: #6f6683;
}

.marketplace-disclaimer {
  margin-top: 16px !important;
  color: #9189a5 !important;
  font-size: 10px !important;
}

#checkout {
  width: min(520px, calc(100% - 28px));
  overflow-y: auto;
}

.checkout-head small,
.checkout-result small {
  color: #b8a7ff;
  font-size: 10px;
  letter-spacing: 1.2px;
  font-weight: 800;
}

.checkout-head h2 {
  margin: 12px 0 9px;
}

.checkout-head p,
.payment-provider p,
.checkout-result p {
  color: #aaa2bc;
  line-height: 1.7;
  font-size: 12px;
}

#checkout-form {
  display: grid;
  gap: 16px;
  margin-top: 26px;
}

#checkout-form[hidden] {
  display: none;
}

.field {
  display: grid;
  gap: 8px;
}

.field > span {
  color: #d7d1e3;
  font-size: 11px;
  font-weight: 700;
}

.field input {
  height: 50px;
  padding: 0 14px;
  border: 1px solid #574a77;
  border-radius: 10px;
  background: #1c1830;
}

.field input[readonly] {
  color: #a69fb9;
  background: #282143;
}

.field input:focus {
  outline: 2px solid #a995ff;
  outline-offset: 1px;
}

.check {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  color: #aaa2bc;
  font-size: 11px;
  line-height: 1.6;
}

.check input {
  width: 18px;
  height: 18px;
  accent-color: #a995ff;
}

.checkout-submit {
  width: 100%;
  justify-content: space-between;
}

.checkout-submit:disabled {
  opacity: .65;
}

.payment-provider {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid #574a77;
  border-radius: 10px;
  background: #f6f6f8;
}

.payment-provider a {
  display: inline-flex;
  width: fit-content;
}

.payment-provider img {
  display: block;
  width: 161px;
  height: 24px;
}

.payment-provider p {
  margin: 0;
  color: #56515f;
  font-size: 10px;
  line-height: 1.55;
}

.form-error {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid #8d526a;
  border-radius: 9px;
  color: #ffd4df;
  background: #49273a;
  font-size: 11px;
}

.checkout-result {
  padding: 18px 0 4px;
  text-align: center;
}

.checkout-result[hidden] {
  display: none;
}

.result-mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin: 0 auto 19px;
  border-radius: 50%;
  color: #1c1830;
  background: #a995ff;
  font-size: 25px;
}

.checkout-result h3 {
  margin: 8px 0 14px;
  font-size: 26px;
}

.pending-badge {
  display: inline-block;
  margin: 5px 0 8px;
  padding: 8px 11px;
  border: 1px solid #6c5c96;
  border-radius: 20px;
  color: #d4c9ff;
  background: #302653;
  font-size: 10px;
  font-weight: 700;
}

.checkout-done {
  width: 100%;
  margin-top: 10px;
}

.info-dialog {
  width: min(720px, calc(100% - 28px));
  padding: 0;
  overflow: hidden;
}

.info-dialog .info-close {
  z-index: 2;
}

#info-content {
  max-height: 86dvh;
  overflow: auto;
  padding: 34px 36px 38px;
}

.info-heading {
  padding-right: 34px;
}

.info-heading small {
  color: #b8a7ff;
  font-size: 10px;
  letter-spacing: 1.2px;
  font-weight: 800;
}

.info-heading h2 {
  margin: 10px 0 8px;
}

.info-heading p {
  margin: 0 0 24px;
  color: #aaa2bc;
  font-size: 12px;
  line-height: 1.7;
}

.contact-panel {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border: 1px solid #4c416b;
  border-radius: 12px;
  overflow: hidden;
  background: #282143;
}

.contact-panel > div {
  display: grid;
  gap: 6px;
  padding: 16px;
  border-right: 1px solid #4c416b;
}

.contact-panel > div:last-child {
  border-right: 0;
}

.contact-panel span,
.legal-date {
  color: #9189a5;
  font-size: 9px;
  text-transform: uppercase;
}

.contact-panel a,
.contact-panel strong {
  color: #f6f5f2;
  font-size: 11px;
  overflow-wrap: anywhere;
}

.contact-panel .contact-action {
  justify-self: start;
  margin-top: 4px;
  padding: 6px 10px;
  border: 1px solid #7565a0;
  border-radius: 7px;
  color: #d8cdfd;
  background: #302653;
  font: inherit;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
}

.contact-panel .contact-action:hover,
.contact-panel .contact-action:focus-visible {
  color: #1c1830;
  background: #a995ff;
}

.legal-tabs {
  display: flex;
  gap: 6px;
  padding: 5px;
  border: 1px solid #4c416b;
  border-radius: 10px;
  background: #1c1830;
}

.legal-tabs button {
  flex: 1;
  min-height: 37px;
  border: 0;
  border-radius: 7px;
  color: #aaa2bc;
  background: transparent;
  font-size: 10px;
  font-weight: 700;
}

.legal-tabs button.active {
  color: #1c1830;
  background: #a995ff;
}

.legal-copy {
  margin-top: 25px;
  color: #bdb7cf;
}

.legal-copy[hidden] {
  display: none;
}

.legal-copy h3 {
  margin: 0 0 7px;
  color: #f6f5f2;
  font-size: 20px;
}

.legal-copy h4 {
  margin: 25px 0 7px;
  color: #f6f5f2;
  font-size: 13px;
}

.legal-copy p {
  margin: 7px 0;
  font-size: 11px;
  line-height: 1.85;
}

.legal-notice {
  margin-top: 24px;
  padding: 14px;
  border: 1px solid #574a77;
  border-radius: 10px;
  color: #c4bbd9;
  background: #282143;
  font-size: 10px;
  line-height: 1.7;
}

.draft-notice {
  margin: 12px 0 18px;
  padding: 12px 14px;
  border: 1px solid #7565a0;
  border-radius: 10px;
  color: #d8cdfd;
  background: #302653;
  font-size: 10px;
  line-height: 1.65;
}

.legal-copy a {
  color: #b8a7ff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.help-list {
  border-top: 1px solid #4c416b;
}

.help-list details {
  border-bottom: 1px solid #4c416b;
}

.help-list summary {
  position: relative;
  padding: 18px 34px 18px 0;
  color: #f6f5f2;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  list-style: none;
}

.help-list summary::-webkit-details-marker {
  display: none;
}

.help-list summary::after {
  content: "+";
  position: absolute;
  right: 3px;
  top: 15px;
  color: #b8a7ff;
  font-size: 20px;
  font-weight: 400;
}

.help-list details[open] summary::after {
  content: "−";
}

.help-list p {
  margin: -4px 34px 18px 0;
  color: #aaa2bc;
  font-size: 11px;
  line-height: 1.8;
}

.help-list a {
  color: #b8a7ff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.empty > div {
  color: #b5a4ff;
}

.empty p {
  color: #aaa2bc;
}

@media (max-width: 700px) {
  .header {
    background: rgba(28, 24, 48, .92);
  }

  .hero {
    min-height: 0;
    padding-top: 32px;
  }

  .hero-art {
    border-radius: 24px;
  }

  .hero-art::before {
    top: 15%;
    left: 10%;
    width: 80%;
    height: 65%;
  }

  .catalog {
    padding-top: 38px;
  }

  .how {
    padding-top: 62px;
  }

  .hero-links {
    margin-bottom: -4px;
  }

  #info-content {
    padding: 30px 19px 26px;
  }

  .legal-tabs {
    overflow-x: auto;
  }

  .legal-tabs button {
    min-width: 92px;
  }

  .contact-panel {
    grid-template-columns: 1fr;
  }

  .contact-panel > div {
    border-right: 0;
    border-bottom: 1px solid #4c416b;
  }

  .contact-panel > div:last-child {
    border-bottom: 0;
  }
}

/* Shared spacing rhythm for account and order cards. */
.account-dialog .close {
  z-index: 2;
}

.account-dialog .button {
  gap: 12px;
}

.account-dialog .account-heading {
  margin-bottom: 4px;
}

.account-dialog .account-form {
  gap: 17px;
  margin-top: 26px;
}

.account-dialog .account-form .field {
  gap: 9px;
}

.account-dialog .account-form .form-error {
  margin-top: -2px;
}

.account-dialog .account-switch {
  margin-top: 24px;
  padding-top: 20px;
}

.account-dialog .account-switch-buttons {
  gap: 12px;
}

.account-dialog .account-switch-buttons button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  white-space: normal;
  line-height: 1.25;
}

.account-dialog .account-orders {
  gap: 14px;
  margin-top: 25px;
}

.account-dialog .account-order {
  gap: 13px;
  padding: 19px;
}

.account-dialog .account-order-open {
  margin-top: 2px;
  padding-top: 13px;
}

.account-dialog .account-actions {
  margin-top: 26px;
  padding-top: 4px;
}

.account-dialog .order-detail {
  display: grid;
  gap: 15px;
}

.account-dialog .order-detail-heading {
  margin-bottom: 5px;
}

.account-dialog .order-title-row {
  margin-top: 13px;
}

.account-dialog .order-section {
  gap: 14px;
  margin-top: 0;
  padding: 21px;
}

.account-dialog .order-section + .order-section {
  margin-top: 0;
}

.account-dialog .order-actions,
.account-dialog .order-links {
  gap: 12px;
  margin-top: 3px;
}

.account-dialog .order-muted,
.account-dialog .payment-hint {
  margin-top: -2px;
}

.account-dialog .activation-grid {
  gap: 12px;
  margin-top: 2px;
}

.account-dialog .activation-placeholder {
  margin-top: 2px;
}

@media (max-width: 700px) {
  .account-dialog .account-order,
  .account-dialog .order-section {
    padding: 17px;
  }

  .account-dialog .account-switch-buttons {
    gap: 10px;
  }
}


/* Account and order cards */
.account-button {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid #7565a0;
  border-radius: 12px;
  color: #f6f2ff;
  background: #302653;
  box-shadow: 0 8px 18px rgba(8, 4, 24, .2);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .1px;
  white-space: nowrap;
  transition: background .18s, border-color .18s, transform .18s;
}

.account-button:hover {
  color: #1c1830;
  background: #b8a7ff;
  border-color: #b8a7ff;
  transform: translateY(-1px);
}
.account-button { position: relative; }
.account-button.has-unread::after { content: ""; position: absolute; top: -3px; right: -3px; width: 10px; height: 10px; border: 2px solid #1c1830; border-radius: 50%; background: #ff6b7d; box-shadow: 0 0 0 4px rgba(255,107,125,.16); animation: support-pulse 1.5s infinite; }

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

.support-button {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid #5b4d82;
  border-radius: 12px;
  color: #ddd5ef;
  background: #282143;
  font-size: 11px;
  font-weight: 800;
}

.support-button { position: relative; display: inline-flex; align-items: center; }
.support-button:hover { color: #1c1830; background: #b8a7ff; border-color: #b8a7ff; }
.support-button.has-unread::after { content: ""; position: absolute; top: -3px; right: -3px; width: 10px; height: 10px; border: 2px solid #1c1830; border-radius: 50%; background: #ff6b7d; box-shadow: 0 0 0 4px rgba(255,107,125,.16); animation: support-pulse 1.5s infinite; }
@keyframes support-pulse { 50% { transform: scale(1.16); box-shadow: 0 0 0 7px rgba(255,107,125,0); } }

.support-new { width: 100%; margin-top: 22px; }
.support-list, .support-thread, .support-form { display: grid; gap: 12px; margin-top: 18px; }
.support-ticket { display: grid; grid-template-columns: 1fr auto; gap: 10px; width: 100%; padding: 16px; border: 1px solid #4c416b; border-radius: 13px; color: #f6f5f2; background: #282143; text-align: left; }
.support-ticket:hover { border-color: #8a78d2; background: #302653; }
.support-ticket span { display: grid; gap: 4px; }
.support-ticket strong { font-size: 13px; }
.support-ticket small { color: #aaa2bc; font-size: 10px; }
.support-ticket b { grid-column: 1 / -1; overflow: hidden; color: #c7c0d5; font-size: 11px; line-height: 1.5; text-overflow: ellipsis; white-space: nowrap; font-weight: 500; }
.support-status { align-self: start; padding: 5px 8px; border-radius: 99px; color: #dbf7e7; background: #28583f; font-size: 9px; font-style: normal; font-weight: 800; white-space: nowrap; }
.support-status.is-closed { color: #cfc8dd; background: #514765; }
.support-message { display: grid; gap: 6px; max-width: 88%; padding: 13px 14px; border: 1px solid #4c416b; border-radius: 14px 14px 14px 4px; background: #282143; }
.support-message.is-admin { justify-self: end; border-color: #745fc0; border-radius: 14px 14px 4px 14px; background: #3a2e5c; }
.support-message b { color: #b8a7ff; font-size: 10px; }
.support-message p { margin: 0; color: #f2eef9; font-size: 12px; line-height: 1.65; }
.support-message time { color: #a79dbd; font-size: 9px; }
.support-form textarea, .support-form select { width: 100%; box-sizing: border-box; border: 1px solid #5b4d82; border-radius: 10px; color: #f6f5f2; background: #282143; font: inherit; }
.support-form textarea { min-height: 108px; padding: 12px; resize: vertical; }
.support-form select { min-height: 45px; padding: 0 11px; }

@media (max-width: 700px) {
  .header-actions { gap: 7px; }
  .support-button { min-height: 40px; padding: 0 10px; font-size: 10px; }
  .support-message { max-width: 94%; }
}

.account-dialog {
  width: min(620px, calc(100% - 28px));
  max-height: 90dvh;
  overflow-y: auto;
  padding: 34px 30px 28px;
}

.partner-entry { display:flex; width:100%; align-items:center; justify-content:space-between; gap:16px; margin-top:20px; padding:16px 17px; border:1px solid #745fc0; border-radius:12px; color:#f6f5f2; background:#342850; text-align:left; }
.partner-entry span { display:grid; gap:5px; }
.partner-entry strong { font-size:13px; }
.partner-entry small { color:#bdb4ce; font-size:10px; line-height:1.5; }
.partner-entry b { color:#b8a7ff; font-size:20px; }
.partner-entry:hover { border-color:#b8a7ff; background:#3d3060; }
.partner-stats { display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin-top:22px; }
.partner-stats>div { display:grid; gap:7px; min-width:0; padding:14px; border:1px solid #4c416b; border-radius:10px; background:#282143; }
.partner-stats small,.partner-link>small { color:#aaa2bc; font-size:8px; font-weight:800; letter-spacing:1px; }
.partner-stats strong { overflow:hidden; font-size:21px; text-overflow:ellipsis; }
.partner-stats .partner-balance { grid-column:1/-1; border-color:#745fc0; background:#342850; }
.partner-stats .partner-balance strong { color:#c9bdff; font-size:27px; }
.partner-withdraw { display:grid; justify-items:center; gap:8px; margin-top:12px; }
.partner-withdraw>.button { width:100%; }
.partner-withdraw>.button:disabled { cursor:not-allowed; opacity:.42; }
.partner-terms-link { padding:2px; border:0; color:#aaa2bc; background:transparent; font-size:10px; text-decoration:underline; text-underline-offset:3px; }
.partner-terms-link:hover { color:#d8cff1; }
.partner-withdraw .form-error { width:100%; margin:4px 0 0; text-align:center; }
.partner-payout-status { width:100%; margin:3px 0 0; color:#b8a7ff; font-size:10px; line-height:1.5; text-align:center; }
.partner-terms { display:grid; gap:12px; margin:22px 0 0; padding-left:22px; color:#d9d2e8; }
.partner-terms li { padding-left:5px; font-size:12px; line-height:1.65; }
.partner-link { display:grid; gap:11px; margin-top:15px; padding:18px; border:1px solid #4c416b; border-radius:12px; background:#282143; }
.partner-link>div { display:grid; grid-template-columns:1fr auto; gap:9px; }
.partner-link input { min-width:0; padding:0 12px; border:1px solid #5b4d82; border-radius:9px; color:#f6f5f2; background:#211b38; font:11px inherit; }
.partner-link .button { min-height:44px; padding:0 15px; }
.partner-link p { margin:0; color:#aaa2bc; font-size:10px; line-height:1.6; }
.partner-clients { display:grid; gap:9px; margin-top:20px; }
.partner-client { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:13px 14px; border:1px solid #4c416b; border-radius:10px; background:#282143; }
.partner-client span { display:grid; gap:4px; min-width:0; }
.partner-client strong { overflow:hidden; font-size:11px; text-overflow:ellipsis; }
.partner-client small { color:#9189a5; font-size:9px; }
.partner-client b { color:#b8a7ff; font-size:10px; white-space:nowrap; }
@media(max-width:700px){.partner-link>div{grid-template-columns:1fr}.partner-link input{min-height:44px}.partner-stats strong{font-size:18px}}

.account-heading {
  padding-right: 30px;
}

.account-heading small,
.account-orders small {
  color: #b8a7ff;
  font-size: 10px;
  letter-spacing: 1.2px;
  font-weight: 800;
}

.account-heading h2 {
  margin: 11px 0 8px;
}

.account-heading p,
.account-note {
  color: #aaa2bc;
  font-size: 12px;
  line-height: 1.7;
}

.account-form {
  display: grid;
  gap: 15px;
  margin-top: 24px;
}

.account-form .button,
.account-form button.auth-submit {
  width: 100%;
  min-height: 48px;
}

.account-switch {
  display: grid;
  gap: 10px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid #4c416b;
}

.account-switch > span {
  color: #9189a5;
  font-size: 10px;
  text-align: center;
}

.account-switch-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.account-switch button {
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid #5b4d82;
  border-radius: 10px;
  color: #d9d2e8;
  background: #282143;
  font-size: 11px;
  font-weight: 750;
  transition: background .18s, border-color .18s, color .18s;
}

.account-switch button:hover,
.account-switch button.active {
  color: #1c1830;
  background: #a995ff;
  border-color: #a995ff;
}

.account-orders {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.account-order {
  display: grid;
  width: 100%;
  gap: 10px;
  padding: 17px;
  border: 1px solid #4c416b;
  border-radius: 13px;
  color: #f6f5f2;
  background: #282143;
  text-align: left;
  appearance: none;
  transition: border-color .18s, background .18s, transform .18s;
}

.account-order:hover,
.account-order:focus-visible {
  border-color: #8a78d2;
  background: #302653;
  transform: translateY(-1px);
}

.account-order-head,
.account-order-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.account-order-head strong {
  font-size: 13px;
}

.account-order-meta,
.account-order-summary {
  color: #aaa2bc;
  font-size: 11px;
  line-height: 1.5;
}

.account-order-open {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding-top: 10px;
  border-top: 1px solid #4c416b;
  color: #b8a7ff;
  font-size: 11px;
  font-weight: 750;
}

.account-status {
  flex-shrink: 0;
  padding: 6px 9px;
  border-radius: 99px;
  color: #1c1830;
  background: #a995ff;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.account-status.is-pending {
  color: #f5e9bd;
  background: #69562b;
}

.account-status.is-rejected {
  color: #ffd9e0;
  background: #642f45;
}

.account-actions,
.order-actions,
.order-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.account-actions {
  justify-content: flex-end;
  margin-top: 22px;
}

.account-actions button,
.order-back {
  min-height: 40px;
  padding: 0 15px;
  border: 1px solid #5b4d82;
  border-radius: 10px;
  color: #d9d2e8;
  background: #282143;
  font-size: 11px;
  font-weight: 750;
}

.account-actions button:hover,
.order-back:hover {
  color: #1c1830;
  background: #a995ff;
  border-color: #a995ff;
}

.order-detail-heading {
  margin-bottom: 22px;
}

.order-back {
  margin-bottom: 22px;
}

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

.order-title-row h2 {
  min-width: 0;
  overflow-wrap: anywhere;
}

.order-muted,
.payment-hint,
.shared-order-note {
  color: #9189a5;
  font-size: 11px;
  line-height: 1.7;
}

.order-section {
  display: grid;
  gap: 11px;
  margin-top: 13px;
  padding: 19px;
  border: 1px solid #4c416b;
  border-radius: 13px;
  background: #282143;
}

.order-section h3 {
  margin: 0;
  color: #f6f5f2;
  font-size: 17px;
}

.order-section p {
  margin: 0;
  color: #c0b9cf;
  font-size: 12px;
  line-height: 1.75;
}

.section-label {
  color: #b8a7ff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.1px;
}

.order-action {
  flex: 1 1 210px;
  min-height: 44px;
  gap: 12px;
}

.installation-section {
  border-color: #3c9c6a;
}

.installation-note {
  display: grid;
  gap: 7px;
  padding: 13px 14px;
  border: 1px solid #d45b72;
  border-radius: 11px;
  background: #38243b;
  box-shadow: 0 0 0 1px rgba(212, 91, 114, .1), 0 0 16px rgba(212, 91, 114, .08);
  animation: installation-note-pulse 2.4s ease-in-out infinite;
}

@keyframes installation-note-pulse {
  0%, 100% { border-color: #d45b72; box-shadow: 0 0 0 1px rgba(212, 91, 114, .1), 0 0 16px rgba(212, 91, 114, .08); }
  50% { border-color: #ff7189; box-shadow: 0 0 0 2px rgba(255, 113, 137, .22), 0 0 24px rgba(255, 113, 137, .2); }
}

@media (prefers-reduced-motion: reduce) {
  .installation-note { animation: none; }
}

.installation-note-title {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff0f2;
  font-size: 13px;
}

.installation-note-icon {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border: 1px solid #ff7189;
  border-radius: 50%;
  color: #ff9bad;
  font-size: 12px;
  font-weight: 800;
}

.installation-note p {
  margin: 0;
  color: #f0cbd1;
  font-size: 11px;
  line-height: 1.6;
}

.installation-button {
  width: 100%;
  min-height: 58px;
  background: #27b568;
  color: #10231a;
  font-size: 15px;
  box-shadow: 0 12px 24px rgba(39, 181, 104, .22);
}

.installation-button:hover {
  background: #39cb7a;
  color: #10231a;
  transform: translateY(-1px);
}

.button-secondary {
  color: #e4ddf4;
  background: #493d6b;
  box-shadow: none;
}

.button-secondary:hover {
  color: #1c1830;
  background: #b8a7ff;
}

.order-payment-section .button:disabled {
  opacity: .48;
  cursor: not-allowed;
  transform: none;
}

.order-payment-section .button.is-ready {
  color: #1c1830;
  background: #a995ff;
  box-shadow: 0 10px 25px rgba(169, 149, 255, .18);
  opacity: 1;
}

.order-payment-section .button.is-ready:hover {
  background: #bdadff;
  transform: translateY(-1px);
}

.checkout-panel .payment-instructions {
  display: grid;
  gap: 5px;
  margin: 2px 0 4px;
  padding: 12px 14px;
  border: 1px solid #5a4c7c;
  border-radius: 10px;
  background: #211b3b;
}

.checkout-panel {
  display: grid;
  gap: 12px;
}

.checkout-panel .payment-instructions p {
  margin: 0;
}

.checkout-panel .payment-instructions strong {
  color: #f6f5f2;
  overflow-wrap: anywhere;
}

.checkout-loading {
  min-height: 120px;
  justify-content: center;
}

.setup-guide {
  display: grid;
  gap: 11px;
  margin-top: 13px;
  padding: 19px;
  border: 1px solid #4c416b;
  border-radius: 13px;
  background: #282143;
}

.setup-guide h3 {
  margin: 0;
  color: #f6f5f2;
  font-size: 17px;
}

.setup-guide-intro {
  margin: 0;
  color: #c0b9cf;
  font-size: 12px;
  line-height: 1.75;
}

.setup-carousel {
  position: relative;
  display: grid;
  gap: 12px;
  margin-top: 3px;
  padding: 13px;
  border: 1px solid #5a4c7c;
  border-radius: 12px;
  background: #211b3b;
  overflow: hidden;
}

.setup-slide-frame {
  position: relative;
  display: grid;
  min-height: 0;
  overflow: visible;
}

.setup-slide {
  display: none;
  grid-area: 1 / 1;
  width: 100%;
  gap: 13px;
  align-content: start;
  opacity: 0;
  transform: translateX(18px);
}

.setup-slide.is-active {
  display: grid;
  opacity: 1;
  transform: translateX(0);
}

.setup-slide.is-entering-right,
.setup-slide.is-entering-left,
.setup-slide.is-leaving-left,
.setup-slide.is-leaving-right {
  display: grid;
  animation-duration: .3s;
  animation-timing-function: ease;
  animation-fill-mode: both;
}

.setup-slide.is-entering-right { animation-name: setup-enter-right; }
.setup-slide.is-entering-left { animation-name: setup-enter-left; }
.setup-slide.is-leaving-left { animation-name: setup-leave-left; }
.setup-slide.is-leaving-right { animation-name: setup-leave-right; }

@keyframes setup-enter-right { from { opacity: 0; transform: translateX(22px); } to { opacity: 1; transform: translateX(0); } }
@keyframes setup-enter-left { from { opacity: 0; transform: translateX(-22px); } to { opacity: 1; transform: translateX(0); } }
@keyframes setup-leave-left { from { opacity: 1; transform: translateX(0); } to { opacity: 0; transform: translateX(-22px); } }
@keyframes setup-leave-right { from { opacity: 1; transform: translateX(0); } to { opacity: 0; transform: translateX(22px); } }

.setup-slide-copy {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  min-height: 57px;
}

.setup-step-number {
  display: grid;
  flex: 0 0 33px;
  place-items: center;
  width: 33px;
  height: 33px;
  border-radius: 10px;
  background: #a995ff;
  color: #1c1830;
  font-size: 15px;
  font-weight: 850;
}

.setup-slide-copy h4 {
  margin: 1px 0 4px;
  color: #f6f5f2;
  font-size: 15px;
  line-height: 1.3;
}

.setup-slide-copy p {
  margin: 0;
  color: #aaa2bc;
  font-size: 11px;
  line-height: 1.55;
}

.setup-slide-media {
  display: grid;
  place-items: center;
  width: 100%;
  height: auto;
  margin: 0;
  border: 1px solid #4c416b;
  border-radius: 10px;
  background: #0c0a15;
  overflow: hidden;
}

.setup-slide-media img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

.setup-complete-media {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  width: 100%;
  aspect-ratio: .63;
  padding: 24px;
  border: 1px solid #4caa78;
  border-radius: 10px;
  background: linear-gradient(145deg, #1f543d, #17352d);
  color: #f3fff8;
  text-align: center;
}

.setup-complete-icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1px solid #74d9a0;
  border-radius: 50%;
  color: #183427;
  background: #74d9a0;
  font-size: 34px;
  font-weight: 850;
}

.setup-complete-media strong {
  font-size: 16px;
}

.setup-complete-media > span:last-child {
  color: #b9e8cc;
  font-size: 12px;
}

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

.setup-arrow {
  display: grid;
  flex: 0 0 40px;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid #66578c;
  border-radius: 50%;
  background: #493d6b;
  color: #f6f5f2;
  font-size: 22px;
  line-height: 1;
}

.setup-arrow:hover:not(:disabled) {
  background: #a995ff;
  color: #1c1830;
}

.setup-arrow:disabled {
  cursor: not-allowed;
  opacity: .35;
}

.setup-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 0;
}

.setup-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #66578c;
}

.setup-dot.is-active {
  width: 21px;
  border-radius: 8px;
  background: #a995ff;
}

.setup-counter {
  color: #9189a5;
  font-size: 10px;
  text-align: center;
}

.setup-counter strong {
  color: #f6f5f2;
}

.setup-orders-button {
  width: 100%;
  min-height: 50px;
  margin-top: 2px;
  color: #1c1830;
  background: #a995ff;
  box-shadow: 0 10px 24px rgba(169, 149, 255, .18);
}

.setup-orders-button:hover {
  color: #1c1830;
  background: #bdadff;
  transform: translateY(-1px);
}

.checkout-panel #payment-claimed:disabled {
  color: #aaa2bc;
  background: #3a3158;
  box-shadow: none;
  cursor: not-allowed;
  opacity: .72;
  transform: none;
}

.checkout-panel #payment-claimed.is-ready {
  color: #1c1830;
  background: #a995ff;
  box-shadow: 0 10px 25px rgba(169, 149, 255, .22);
  opacity: 1;
}

.checkout-panel #payment-claimed.is-ready:hover {
  background: #bdadff;
  transform: translateY(-1px);
}

.activation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.activation-grid > div {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 12px;
  border: 1px solid #4c416b;
  border-radius: 10px;
  background: #211b3b;
}

.activation-grid span {
  color: #9189a5;
  font-size: 10px;
}

.activation-grid strong {
  overflow-wrap: anywhere;
  color: #f6f5f2;
  font-size: 12px;
}

.activation-placeholder {
  padding: 12px;
  border: 1px dashed #66578c;
  border-radius: 10px;
  color: #aaa2bc;
  font-size: 11px;
  line-height: 1.6;
}

.shared-order-note {
  margin: 18px 2px 0;
}

@media (max-width: 700px) {
  .account-dialog {
    padding: 31px 19px 22px;
  }

  .account-button {
    min-height: 40px;
    padding: 0 12px;
    font-size: 10px;
  }

  .account-switch-buttons,
  .activation-grid {
    grid-template-columns: 1fr;
  }

  .setup-guide {
    padding: 16px;
  }

  .setup-slide-frame {
    min-height: 0;
  }

  .setup-slide-media {
    height: auto;
  }

  .setup-slide-copy h4 {
    font-size: 14px;
  }

  .account-order-head,
  .account-order-meta,
  .order-title-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
  }

  .account-status {
    white-space: normal;
  }

  .account-actions,
  .order-actions,
  .order-links {
    flex-direction: column;
  }

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

/* Product detail card */
.product-card {
  display: grid;
  gap: 18px;
}

.product-card-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-right: 34px;
}

.product-card-icon {
  flex: 0 0 auto;
}

.product-card-icon .app-icon {
  width: 72px;
  height: 72px;
  border-radius: 19px;
  font-size: 28px;
}

.product-card-title {
  min-width: 0;
}

.product-card-title small {
  color: #b8a7ff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.1px;
}

.product-card-title h2 {
  margin: 8px 0 5px;
  overflow-wrap: anywhere;
}

.product-card-title p,
.product-card-intro {
  color: #aaa2bc;
  font-size: 12px;
  line-height: 1.75;
}

.product-card-title p {
  margin: 0;
}

.product-card-intro {
  margin: 0;
  max-width: 600px;
}

.product-purchase-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: stretch;
}

.product-purchase-button {
  width: 100%;
  min-height: 54px;
  justify-content: space-between;
  gap: 12px;
}

.product-price {
  display: grid;
  min-width: 142px;
  gap: 4px;
  align-content: center;
  padding: 10px 18px;
  border: 1px solid #4c416b;
  border-radius: 12px;
  background: #211b3b;
}

.product-price small {
  color: #9189a5;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1px;
}

.product-price strong {
  color: #f6f5f2;
  font-size: 20px;
  white-space: nowrap;
}

.product-highlights {
  display: grid;
  gap: 10px;
}

.product-highlight {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 16px;
  align-items: center;
  min-height: 67px;
  padding: 15px 17px;
  border: 1px solid #4c416b;
  border-radius: 12px;
  background: #211b3b;
}

.product-highlight strong {
  color: #f6f5f2;
  font-size: 13px;
  line-height: 1.4;
}

.product-highlight span {
  color: #aaa2bc;
  font-size: 12px;
  line-height: 1.55;
}

@media (max-width: 700px) {
  .product-card {
    gap: 16px;
  }

  .product-card-head {
    align-items: flex-start;
    gap: 12px;
    padding-right: 28px;
  }

  .product-card-icon .app-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    font-size: 23px;
  }

  .product-card-title small {
    font-size: 9px;
  }

  .product-card-title h2 {
    margin-top: 6px;
    font-size: 22px;
  }

  .product-purchase-row {
    grid-template-columns: 1fr;
  }

  .product-price {
    min-height: 58px;
    min-width: 0;
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 10px 15px;
  }

  .product-highlight {
    grid-template-columns: 1fr;
    gap: 5px;
    min-height: 0;
    padding: 14px 15px;
  }

  .product-highlight strong {
    font-size: 12px;
  }

  .product-highlight span {
    font-size: 11px;
  }
}

/* Timeline product layout */
.product-flow {
  gap: 16px;
}

.product-flow .product-purchase-button {
  margin-top: 2px;
}

.product-flow .product-price {
  display: grid;
  width: 100%;
  min-width: 0;
  min-height: 60px;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 12px 17px;
}

.product-flow .product-timeline {
  position: relative;
  display: grid;
  gap: 10px;
  margin-top: 2px;
}

.unavailable-notice {
  gap: 12px;
}

.unavailable-notice h3 {
  margin-bottom: 4px;
}

.unavailable-notice p {
  max-width: 560px;
}

.unavailable-notice .button {
  align-self: flex-start;
  margin-top: 5px;
}

.product-flow .product-timeline::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 34px;
  bottom: 34px;
  left: 29px;
  width: 2px;
  background: #6f61ad;
}

.product-flow .product-step {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 13px;
  align-items: center;
  min-height: 72px;
  padding: 14px 15px;
  border: 1px solid #4c416b;
  border-radius: 12px;
  background: #211b3b;
}

.product-flow .product-step-number {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 2px solid #8a78d2;
  border-radius: 50%;
  color: #f6f5f2;
  background: #302653;
  font-size: 16px;
  font-weight: 800;
}

.product-flow .product-step > div,
.product-flow .product-saved-note > div {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.product-flow .product-step strong,
.product-flow .product-saved-note strong {
  color: #f6f5f2;
  font-size: 12px;
  line-height: 1.45;
}

.product-flow .product-step span:not(.product-step-number),
.product-flow .product-saved-note span:not(.product-saved-icon) {
  color: #aaa2bc;
  font-size: 11px;
  line-height: 1.55;
}

.product-flow .product-saved-note {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin-top: 2px;
  padding: 14px 3px 0;
  border-top: 1px solid #4c416b;
}

.product-flow .product-saved-icon {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid #7565a0;
  border-radius: 50%;
  color: #b8a7ff;
  font-size: 17px;
}

@media (max-width: 700px) {
  .product-flow {
    gap: 14px;
  }

  .product-flow .product-timeline::before {
    left: 28px;
  }

  .product-flow .product-step {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 11px;
    min-height: 68px;
    padding: 13px 13px;
  }

  .product-flow .product-step-number {
    width: 40px;
    height: 40px;
    font-size: 15px;
  }
}

/* Reference icons for the numbered flow and saved-order note. */
.product-flow .product-step-number {
  position: relative;
  isolation: isolate;
  border-color: #a18af2;
  background: radial-gradient(circle at 35% 28%, #493a76 0, #302653 52%, #211b3b 100%);
  box-shadow: 0 0 0 2px #211b3b, 0 0 0 3px rgba(136, 112, 221, .7), 0 0 16px rgba(143, 119, 231, .2);
  font-variant-numeric: tabular-nums;
}

.product-flow .product-step-number::before {
  position: absolute;
  inset: 4px;
  content: "";
  border: 1px solid rgba(203, 186, 255, .5);
  border-radius: 50%;
  pointer-events: none;
}

.product-flow .product-step-number::after {
  position: absolute;
  inset: -5px;
  content: "";
  border: 1px solid rgba(161, 138, 242, .2);
  border-radius: 50%;
  pointer-events: none;
}

.product-flow .product-saved-icon {
  position: relative;
  isolation: isolate;
  color: transparent;
  border-color: #a18af2;
  background: radial-gradient(circle at 35% 28%, #493a76 0, #302653 52%, #211b3b 100%);
  box-shadow: 0 0 0 2px #211b3b, 0 0 0 3px rgba(136, 112, 221, .55), 0 0 14px rgba(143, 119, 231, .16);
}

.product-flow .product-saved-icon::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  content: "";
  border: 1px solid #c4b3ff;
  transform: translate(-50%, -50%) rotate(45deg);
}

.product-flow .product-saved-icon::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  content: "";
  border: 1px solid rgba(196, 179, 255, .55);
  transform: translate(-50%, -50%) rotate(45deg);
}

.night-mode-slots {
  display: grid;
  gap: 8px;
  margin: 8px 0;
}

.night-mode-panel h3 {
  margin: 0;
}

.night-mode-copy {
  display: grid;
  gap: 6px;
  margin: 2px 0 5px;
}

.night-mode-copy p {
  margin: 0;
  line-height: 1.55;
}

.night-slot {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid #8068bb;
  border-radius: 10px;
  background: #3b2d68;
  cursor: pointer;
}

.night-slot:has(input:checked) {
  border-color: #8068bb;
  background: #3b2d68;
}

.night-slot span {
  color: #f6f5f2;
  font-weight: 700;
  line-height: 1.2;
}

.night-slot:has(input:checked) span {
  color: #f6f5f2;
}

.night-mode-warning {
  display: grid;
  gap: 6px;
  margin: 10px 0;
  padding: 11px 14px;
  border: 1px solid #ef4444;
  border-radius: 10px;
  color: #991b1b;
  background: #fef2f2;
  line-height: 1.4;
}

.night-mode-warning strong {
  font-size: 15px;
}

.night-mode-warning span {
  font-size: 13px;
}

.night-slot input,
.night-confirm input {
  accent-color: #2563eb;
}

.night-confirm {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 8px 0;
  padding: 11px 13px;
  border: 1px solid #8a78d2;
  border-radius: 10px;
  background: #352c54;
  cursor: pointer;
  line-height: 1.45;
}

.night-confirm input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 0;
}

.night-mode-panel {
  gap: 4px;
  padding: 16px;
}

.night-mode-panel .night-mode-actions {
  margin-top: 2px;
}
.maintenance-banner{margin:18px auto 0;width:min(100% - 36px,1200px);padding:14px 18px;border:1px solid #d7853b;background:#fff3e7;color:#59330f;border-radius:8px;font-weight:650;line-height:1.45}.maintenance-banner strong{display:block;margin-bottom:3px}.maintenance-banner[hidden]{display:none}
