/* Account page artwork and layout; typography comes from the shared Home scale. */
.account-hero {
  position: relative;
  isolation: isolate;
  min-height: 390px;
  overflow: hidden;
  background: #080b22
}

.account-hero-art {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: url('assets/account-hero.webp') right center/cover no-repeat
}

.account-hero:after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, #050b1df5 0%, #080b25ed 25%, #090b2480 49%, transparent 78%)
}

.account-hero-copy {
  max-width: 760px;
  padding: 22px 28px 30px
}

.account-hero h1 {
  margin: 0 0 16px;
  text-transform: none
}

.account-hero h1 span {
  background: linear-gradient(#fff, #ef92ff);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent
}

.account-hero-copy>p {
  max-width: 530px;
  margin-top: 10px;
  line-height: 1.65;
  text-shadow: 0 1px 7px #000
}

.registration-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  max-width: 560px;
  margin-top: 22px
}

.registration-options a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0;
  min-height: 50px;
  padding: 10px 14px;
  border: 1px solid #3fffc980;
  box-shadow: 0 0 20px #16d08d20;
  line-height: 1.4
}

.registration-options .telegram {
  border-color: #47cbffb0;
  box-shadow: 0 0 20px #009eff25
}

.registration-options a>svg:first-child {
  width: 27px;
  height: 27px;
  flex: 0 0 27px
}

.registration-options .button-arrow {
  width: 18px;
  height: 18px;
  flex: 0 0 18px
}

.hero-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
  max-width: 630px
}

.hero-benefits>div {
  display: flex;
  align-items: center;
  gap: 8px
}

.hero-benefits .ui-icon {
  width: 30px;
  height: 34px;
  flex-basis: 30px
}

.hero-benefits strong {
  display: block;
  font-size: 12px;
  line-height: 1.5
}

.hero-benefits small {
  display: block;
  font-size: 11px;
  line-height: 1.5;
  color: #e3dbee
}

.account-content {
  padding-top: 16px
}

.account-content>.panel,
.account-guide-grid {
  margin-bottom: 14px
}

.account-content .section-heading h2,
.account-help h2 {
  font-size: var(--heading-size);
  line-height: 1.25
}

.account-content .section-heading p,
.account-content p {
  font-size: 14px;
  line-height: 1.65
}

.get-started {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px 20px;
  align-items: center
}

.get-started .section-heading {
  grid-column: 1/-1;
  margin: 0
}

.get-started-copy>p {
  margin-top: 6px;
  color: #d0daec
}

.get-started>.outline {
  gap: 10px
}

.account-guide-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: stretch
}

.account-content .account-guide {
  display: flex;
  flex-direction: column;
  padding: 16px 13px;
  min-width: 0;
  background: radial-gradient(ellipse at top, #57118a50, transparent 65%), linear-gradient(130deg, #261337, #0b0c25);
  border: 1px solid #8f3fb3
}

.account-content .register-guide {
  background: radial-gradient(ellipse at top, #0057c850, transparent 65%), linear-gradient(130deg, #082c55, #08132d);
  border-color: #116cb2
}

.account-guide .section-heading {
  gap: 10px;
  min-height: 108px
}

.account-guide .section-heading .ui-icon {
  width: 36px;
  height: 44px;
  flex-basis: 36px
}

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

.account-step {
  min-width: 0;
  text-align: center;
  position: relative;
  padding-top: 13px
}

.account-number {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin: 0 auto -4px;
  border: 1px solid #efadff;
  border-radius: 50%;
  background: linear-gradient(135deg, #a92df6, #f48fff);
  font-weight: 700;
  font-size: 18px;
  box-shadow: 0 0 15px #d841f750
}

.register-guide .account-number {
  background: linear-gradient(135deg, #007bda, #75d9ff);
  border-color: #a8e9ff;
  box-shadow: 0 0 15px #139dff50
}

.account-step h3 {
  font-size: 14px;
  line-height: 1.5;
  margin: 12px 0 7px
}

.account-step>p {
  font-size: 14px;
  line-height: 1.65;
  color: #d4d9ed;
  margin: 7px 0
}

.guide-phone {
  position: relative;
  display: block;
  height: 154px;
  width: 100%;
  max-width: 130px;
  margin: 0 auto;
  border: 2px solid #9c69c2;
  border-radius: 14px;
  overflow: hidden;
  padding: 13px 5px 7px;
  background: linear-gradient(155deg, #10142d, #220b39 65%, #090d21);
  box-shadow: 0 0 0 1px #020413
}

.register-guide .guide-phone {
  border-color: #1a98cc;
  background: linear-gradient(155deg, #07182b, #091033 65%, #051128)
}

.phone-notch {
  height: 7px;
  top: 0;
  background: #020413;
  position: absolute;
  width: 48%;
  left: 26%;
  border-radius: 0 0 7px 7px
}

.guide-screen {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  position: relative
}

.screen-logo {
  width: 95%;
  height: auto;
  filter: drop-shadow(0 0 7px #fc1ada90);
  mix-blend-mode: normal
}

.screen-field {
  display: block;
  width: 100%;
  padding: 5px;
  border: 1px solid #493975;
  border-radius: 4px;
  background: #24234a;
  color: #e7e4fa;
  font-size: 8px;
  text-align: left;
  line-height: 1.4
}

.screen-submit {
  display: block;
  width: 100%;
  padding: 6px 3px;
  border: 1px solid #e589ff;
  border-radius: 5px;
  background: linear-gradient(#d446ff, #8300d6);
  font-size: 10px;
  color: #fff;
  font-weight: 700;
  line-height: 1.4
}

.screen-caption {
  font-size: 9px;
  line-height: 1.5;
  color: #ddd8f7
}

.guide-screen>.ui-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px
}

.tap-cursor {
  position: absolute;
  right: 3px;
  bottom: 3px;
  font-size: 30px;
  color: #f5b2ff;
  transform: rotate(-25deg);
  text-shadow: 0 0 10px #ac15ff
}

.lobby-screen {
  position: absolute;
  inset: 0;
  background: url('../home/assets/apk-latest-v5-2-smooth.webp') center 60%/280%;
  display: flex;
  align-items: flex-start;
  padding-top: 5px
}

.screen-channels {
  display: grid;
  gap: 12px
}

.screen-channels>span {
  display: grid;
  place-items: center;
  width: 43px;
  height: 43px;
  border-radius: 10px;
  color: #fff;
  font-weight: 800;
  font-size: 24px;
  line-height: 1
}

.screen-whatsapp {
  background: linear-gradient(135deg, #37e297, #008845);
  box-shadow: 0 0 12px #16f09150
}

.screen-telegram {
  background: linear-gradient(135deg, #69d8ff, #0084e5);
  box-shadow: 0 0 12px #1696ff50
}

.account-guide .account-guide-link {
  display: flex;
  gap: 10px;
  width: 80%;
  margin: 20px auto 0;
  min-height: 42px;
  font-size: 14px;
  background: #100c27
}

.register-guide .account-guide-link {
  border-color: #2ac1ff;
  background: #06152b
}

.game-id-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(230px, 1fr);
  gap: 22px;
  align-items: center
}

.table-title {
  font-size: 14px;
  margin-bottom: 10px
}

.game-id-panel .table-wrap {
  background: #100e2a
}

.game-id-panel table {
  font-size: 14px
}

.game-id-panel th {
  width: 35%
}

.game-id-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 240px;
  border-radius: 12px;
  background: radial-gradient(ellipse at bottom, #7134bd55, transparent 65%)
}

.credential-phone {
  max-width: 156px;
  width: 156px;
  height: 230px;
  padding: 18px 10px 12px;
  border-radius: 23px;
  transform: rotate(-3deg);
  margin: 0
}

.credential-phone .guide-screen {
  gap: 11px
}

.credential-phone .screen-field {
  font-size: 11px;
  padding: 8px
}

.credential-phone .screen-submit {
  font-size: 13px;
  padding: 9px
}

.credential-phone .phone-notch {
  height: 10px
}

.credential-labels {
  display: grid;
  gap: 20px
}

.credential-labels span {
  padding: 10px 12px;
  border: 1px solid #c267ff;
  border-radius: 9px;
  background: linear-gradient(120deg, #7321a8, #311153);
  font-size: 12px;
  line-height: 1.5;
  box-shadow: 0 0 14px #a12eff35
}

.credential-labels span+span {
  border-color: #2894ff;
  background: linear-gradient(120deg, #064b95, #062248)
}

.game-id-notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 18px;
  border-top: 1px solid #34314d;
  padding-top: 14px
}

.account-text h3 {
  font-size: 14px;
  line-height: 1.5
}

.account-text p {
  margin-top: 8px;
  color: #cdd9ec
}

.account-content .before-account {
  background: linear-gradient(130deg, #07353c, #07172b 65%);
  border-color: #0d5f70
}

.registration-check-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px
}

.registration-check {
  padding: 14px 11px;
  border: 1px solid #274365;
  border-radius: 9px;
  background: linear-gradient(140deg, #162740, #0b1b2e);
  text-align: center;
  min-width: 0
}

.registration-check .ui-icon {
  width: 42px;
  height: 42px;
  margin: 0 auto 11px
}

.registration-check h3 {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 8px
}

.registration-check p {
  color: #d7dfef
}

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

.manage-grid>.account-text {
  border: 1px solid #2d395b;
  border-radius: 9px;
  padding: 13px 12px;
  background: linear-gradient(135deg, #21243f, #091b30)
}

.manage-grid h3 {
  padding-bottom: 8px;
  border-bottom: 1px solid #34405d
}

.account-content .faq-question {
  font-weight: 700
}

.account-help {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px
}

.account-help p {
  margin-top: 8px;
  color: #d2daec
}

.account-help .outline {
  gap: 10px;
  flex-shrink: 0
}

.account-content .inline-link {
  font: inherit
}

.account-content .site-footer {
  margin-bottom: 0
}

@media(min-width:1600px) {
  .account-hero-copy {
    padding-top: 32px;
    padding-bottom: 34px
  }

  .account-hero {
    min-height: 430px
  }
}

@media(min-width:681px) and (max-width:1250px) {
  .account-hero-copy {
    padding-left: 22px;
    max-width: 690px
  }

  .account-hero-copy>p {
    max-width: 480px
  }

  .hero-benefits {
    max-width: 560px;
    gap: 8px
  }

  .account-guide-grid {
    grid-template-columns: 1fr
  }

  .account-guide .section-heading {
    min-height: 0
  }

  .guide-phone {
    max-width: 145px;
    height: 185px
  }

  .account-step>p {
    max-width: 220px;
    margin-left: auto;
    margin-right: auto
  }

  .game-id-layout {
    grid-template-columns: 1fr
  }

  .game-id-visual {
    min-height: 250px
  }

  .registration-check-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr))
  }

  .manage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .account-help {
    flex-direction: column;
    align-items: stretch
  }
}

@media(max-width:680px) {
  .account-hero {
    min-height: 0
  }

  .account-hero-art {
    background-position: 65% center;
    opacity: .65
  }

  .account-hero:after {
    background: linear-gradient(90deg, #050b20f0, #090b249f)
  }

  .account-hero-copy {
    padding: 20px 16px 24px;
    max-width: 100%
  }

  .account-hero-copy>p {
    max-width: none
  }

  .registration-options {
    gap: 10px;
    margin-top: 20px
  }

  .registration-options a {
    padding: 11px 9px;
    gap: 7px;
    min-height: 64px;
    font-size: 13px
  }

  .registration-options a>svg:first-child {
    width: 23px;
    height: 23px;
    flex-basis: 23px
  }

  .registration-options .button-arrow {
    display: none
  }

  .hero-benefits {
    gap: 9px;
    margin-top: 20px
  }

  .hero-benefits>div {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px
  }

  .hero-benefits strong {
    font-size: 12px
  }

  .hero-benefits small {
    font-size: 11px
  }

  .account-content {
    padding-top: 14px
  }

  .get-started {
    grid-template-columns: 1fr;
    gap: 10px
  }

  .get-started>.outline {
    width: 100%;
    margin-top: 4px
  }

  .account-guide-grid {
    grid-template-columns: 1fr;
    gap: 14px
  }

  .account-content .account-guide {
    padding: 16px 14px
  }

  .account-guide .section-heading {
    min-height: 0
  }

  .account-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 14px
  }

  .guide-phone {
    max-width: 135px;
    height: 178px
  }

  .account-step h3 {
    margin-top: 12px
  }

  .account-guide .account-guide-link {
    width: 100%;
    min-height: 46px
  }

  .game-id-layout {
    grid-template-columns: 1fr;
    gap: 16px
  }

  .game-id-panel th {
    width: 40%
  }

  .game-id-panel th,
  .game-id-panel td {
    padding: 10px 8px
  }

  .game-id-visual {
    min-height: 255px;
    gap: 14px
  }

  .credential-phone {
    width: 145px;
    max-width: 145px;
    height: 225px
  }

  .credential-labels span {
    font-size: 11px;
    padding: 9px
  }

  .game-id-notes {
    grid-template-columns: 1fr;
    gap: 16px
  }

  .registration-check-grid,
  .manage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px
  }

  .registration-check {
    text-align: left;
    padding: 13px 11px
  }

  .registration-check .ui-icon {
    margin: 0 0 10px
  }

  .account-help {
    flex-direction: column;
    align-items: stretch;
    gap: 14px
  }

  .account-help .outline {
    width: 100%;
    min-height: 46px
  }

  .account-content .section-heading p {
    font-size: 14px
  }
}

@media(max-width:360px) {
  .registration-options {
    grid-template-columns: 1fr
  }

  .registration-options a {
    min-height: 48px;
    font-size: 14px
  }

  .registration-options .button-arrow {
    display: block
  }

  .account-steps {
    grid-template-columns: 1fr
  }

  .account-step {
    padding: 12px;
    border: 1px solid #65397c;
    border-radius: 10px;
    background: #0b0c2230
  }

  .account-step>p {
    text-align: left
  }

  .guide-phone {
    max-width: 150px;
    height: 180px
  }

  .register-guide .account-step {
    border-color: #17517a
  }

  .registration-check-grid,
  .manage-grid {
    grid-template-columns: 1fr
  }

  .hero-benefits {
    gap: 6px
  }

  .hero-benefits small {
    font-size: 10px
  }

  .credential-phone {
    width: 130px;
    max-width: 130px
  }

  .credential-labels span {
    padding: 8px
  }

  .game-id-visual {
    gap: 10px
  }
}

@media(hover:hover) {
  .registration-options a:hover {
    transform: translateY(-2px);
    filter: brightness(1.12);
    color: #fff
  }
}

@media(prefers-reduced-motion:reduce) {
  .registration-options a:hover {
    transform: none
  }
}

/* Compact illustrated overviews, with the complete document steps beneath. */
.account-steps {
  flex: 0 0 auto
}

.account-guide .section-heading {
  min-height: 98px
}

.account-step>p {
  font-size: 14px;
  line-height: 1.6
}

.full-account-guide {
  margin-top: auto;
  padding-top: 22px
}

.full-account-guide>summary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  list-style: none;
  cursor: pointer;
  min-height: 44px;
  width: 85%;
  margin: 0 auto;
  padding: 10px 8px;
  border: 1px solid #d96bff;
  border-radius: 9px;
  background: #100b25;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center
}

.full-account-guide>summary::-webkit-details-marker {
  display: none
}

.full-account-guide>summary svg {
  width: 17px;
  height: 17px;
  flex: 0 0 17px
}

.full-account-guide[open]>summary svg {
  transform: rotate(180deg)
}

.register-guide .full-account-guide>summary {
  border-color: #24bbff;
  background: #05172c
}

.full-guide-content {
  margin-top: 16px;
  border-top: 1px solid #52406d
}

.full-guide-content article {
  padding: 14px 0;
  border-bottom: 1px solid #443053
}

.full-guide-content article:last-child {
  border: 0
}

.full-guide-content h3 {
  font-size: 14px;
  line-height: 1.6
}

.full-guide-content h3>span {
  display: inline-block;
  margin-right: 5px;
  color: #e3a0ff
}

.full-guide-content p {
  margin-top: 8px;
  color: #d4dced
}

@media(min-width:681px) and (max-width:1250px) {
  .account-guide .section-heading {
    min-height: 0
  }
}

@media(max-width:680px) {
  .account-guide .section-heading {
    min-height: 0
  }

  .full-account-guide>summary {
    width: 100%
  }

  .full-account-guide {
    padding-top: 18px
  }
}

.screen-channels svg {
  width: 30px;
  height: 30px;
  display: block
}

/* Two deliberate headline lines and a compact, progressively disclosed intro. */
.account-hero h1>.title-first {
  display: block;
  font-size: inherit;
  background: none;
  color: #fff;
  -webkit-text-fill-color: currentColor
}

.hero-more {
  max-width: 530px;
  margin-top: 5px;
  font-size: 14px
}

.hero-more>summary {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  cursor: pointer;
  list-style: none;
  color: #f2a2ff;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600
}

.hero-more>summary::-webkit-details-marker {
  display: none
}

.hero-more .see-less-label {
  display: none
}

.hero-more[open] .see-less-label {
  display: inline
}

.hero-more[open] .see-more-label {
  display: none
}

.hero-more>p {
  margin: 5px 0 10px;
  line-height: 1.65;
  text-shadow: 0 1px 7px #000
}

@media(max-width:680px) {
  .hero-more {
    max-width: none
  }

  .hero-more>summary {
    min-height: 44px
  }

  .account-hero h1>.title-first {
    white-space: nowrap
  }
}

@media(max-width:360px) {
  .account-hero h1 {
    letter-spacing: -1.7px
  }

  .account-hero h1>span {
    white-space: nowrap
  }
}

/* Preserve the headline descenders inside the gradient text paint area. */
.account-hero h1 {
  line-height: 1.14
}

.account-hero h1>span {
  line-height: 1.18;
  padding-bottom: .12em;
  margin-bottom: -.12em
}

.hero-more[open]>summary {
  display: none
}

.hero-hide {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0;
  border: 0;
  background: none;
  color: #f2a2ff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer
}

@media(max-width:680px) {
  .hero-hide {
    min-height: 44px
  }
}

/* Equal closed FAQ card dimensions, preserving the existing two-column layout. */
.account-faq .faq-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start
}

.account-faq .faq-grid>details {
  width: 100%;
  min-width: 0
}

.account-faq .faq-grid>details>summary {
  box-sizing: border-box;
  min-height: 76px;
  padding: 12px;
  align-items: center
}

@media(max-width:680px) {
  .account-faq .faq-grid {
    grid-template-columns: 1fr
  }

  .account-faq .faq-grid>details>summary {
    min-height: 88px
  }
}
