#riAccountRoot {
  width: min(1180px, calc(100% - 40px));
  margin: auto;
  padding: 65px 0;
  color: #edf8f2;
  font: 15px/1.6 system-ui, sans-serif;
}

#riAccountRoot [hidden] {
  display: none !important;
}

#riAccountRoot * {
  box-sizing: border-box;
}

#riAccountRoot h1 {
  margin: 12px 0;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.15;
  letter-spacing: -1.5px;
}

#riAccountRoot h2 {
  margin: 12px 0;
  font-size: 27px;
}

#riAccountRoot h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

#riAccountRoot em {
  color: #34edba;
  font-style: normal;
}

#riAccountRoot p {
  margin: 10px 0;
  color: #a9bfb3;
}

#riAccountRoot .ra-eyebrow {
  display: inline-block;
  padding: 7px 15px;
  border: 1px solid #17664e;
  border-radius: 30px;
  font-size: 11px;
  letter-spacing: 2px;
  color: #44efc2;
}

#riAccountRoot .ra-auth {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  min-height: 650px;
}

#riAccountRoot .ra-intro h1 {
  font-size: clamp(40px, 5vw, 65px);
}

#riAccountRoot .ra-intro ul {
  list-style: none;
  padding: 0;
  margin: 35px 0;
}

#riAccountRoot .ra-intro li {
  padding: 15px 0;
  font-size: 18px;
  font-weight: 600;
}

#riAccountRoot .ra-intro li::before {
  content: "✓";
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-right: 15px;
  border: 1px solid #17664e;
  border-radius: 12px;
  color: #34edba;
  background: #062118;
}

#riAccountRoot .ra-card {
  padding: 28px;
  border: 1px solid #18513e;
  border-radius: 20px;
  background: rgba(2, 18, 12, .96);
  box-shadow: 0 15px 45px #0003;
}

#riAccountRoot .ra-tabs {
  display: flex;
  gap: 5px;
  padding: 5px;
  margin-bottom: 28px;
  border: 1px solid #18513e;
  border-radius: 14px;
}

#riAccountRoot .ra-tabs button {
  flex: 1;
  border: 0;
  background: transparent;
}

#riAccountRoot .ra-tabs .ra-selected {
  background: #25e8af;
  color: #02180f;
}

#riAccountRoot label {
  display: block;
  margin: 22px 0 0;
  font-size: 14px;
  font-weight: 600;
}

#riAccountRoot input {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 14px 15px;
  background: #06150f;
  border: 1px solid #285441;
  border-radius: 11px;
  color: #edf8f2;
  font: inherit;
}

#riAccountRoot input:focus {
  outline: 2px solid #28dca9;
  outline-offset: 2px;
}

#riAccountRoot button,
#riAccountRoot a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 17px;
  border: 1px solid #277455;
  border-radius: 11px;
  background: #062117;
  color: #b9f8dd;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}

#riAccountRoot button:disabled {
  opacity: .45;
  cursor: default;
}

#riAccountRoot .ra-primary {
  background: #25e8af;
  color: #02180f;
  border-color: #25e8af;
  font-weight: 700;
}

#riAccountRoot #raSubmit {
  width: 100%;
  margin-top: 23px;
  padding: 15px;
}

#riAccountRoot .ra-text {
  background: transparent;
  border: 0;
  color: #34edba;
  padding: 10px 0;
}

#riAccountRoot #raForgot {
  display: flex;
  margin-left: auto;
}

#riAccountRoot .ra-password {
  display: flex;
  align-items: center;
  gap: 8px;
}

#riAccountRoot .ra-password input {
  min-width: 0;
  flex: 1;
}

#riAccountRoot .ra-password button {
  margin-top: 8px;
  padding: 12px 10px;
  font-size: 12px;
}

#riAccountRoot .ra-small {
  font-size: 12px;
  margin-top: 22px;
}

#riAccountRoot .ra-heading,
#riAccountRoot .ra-actions,
#riAccountRoot .ra-telegram,
#riAccountRoot .ra-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  flex-wrap: wrap;
}

#riAccountRoot .ra-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 28px 0 16px;
}

#riAccountRoot .ra-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

#riAccountRoot .ra-tools {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 25px 0;
}

#riAccountRoot .ra-tools span {
  padding: 10px;
  background: #092319;
  border-radius: 8px;
}

#riAccountRoot .ra-notice {
  padding: 15px;
  margin: 24px 0;
  border: 1px solid #685a28;
  border-radius: 10px;
  color: #dfc67e;
  background: #241f0a66;
}

#riAccountRoot .ra-telegram,
#riAccountRoot #raEdit {
  margin-top: 16px;
}

#riAccountRoot .ra-badge {
  padding: 5px 12px;
  border: 1px solid #685a28;
  border-radius: 20px;
  color: #dfc67e;
}

#riAccountRoot .ra-bottom {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #18513e;
  color: #a9bfb3;
  font-size: 13px;
}

#riAccountRoot #raMessage {
  padding: 14px 0;
  overflow-wrap: anywhere;
  color: #cfeddf;
}

#riAccountRoot #raMessage:empty {
  display: none;
}

#riAccountRoot #raProfileForm .ra-actions {
  margin-top: 20px;
  justify-content: flex-start;
}

#riAccountLabel {
  max-width: 130px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 800px) {
  #riAccountRoot {
    padding: 30px 0;
  }

  #riAccountRoot .ra-auth {
    grid-template-columns: 1fr;
    gap: 25px;
    min-height: auto;
  }

  #riAccountRoot .ra-intro ul {
    display: none;
  }

  #riAccountRoot .ra-summary,
  #riAccountRoot .ra-columns {
    grid-template-columns: 1fr;
  }

  #riAccountRoot .ra-card {
    padding: 22px;
  }
}


/* Account appearance */

#riAccountRoot {
  padding: 48px 0 60px;
}

#riAccountRoot .ra-heading {
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 30px;
}

#riAccountRoot .ra-heading h1 {
  font-size: clamp(30px, 3.8vw, 46px);
  overflow-wrap: anywhere;
}

#riAccountRoot .ra-heading > div:first-child {
  flex: 1 1 420px;
  min-width: 0;
}

#riAccountRoot .ra-heading > .ra-actions {
  justify-content: flex-start;
}

#riAccountRoot .ra-card {
  min-width: 0;
  padding: 28px;
  border: 1px solid rgba(65, 221, 163, .2);
  border-radius: 18px;
  background:
    radial-gradient(
      ellipse at top right,
      rgba(26, 117, 82, .13),
      transparent 65%
    ),
    rgba(3, 19, 14, .97);
  box-shadow:
    inset 0 1px 0 rgba(160, 255, 213, .035),
    0 16px 36px rgba(0, 0, 0, .18);
}

#riAccountRoot .ra-summary {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 0 0 20px;
}

#riAccountRoot .ra-summary .ra-card {
  position: relative;
  padding: 24px 22px 24px 84px;
}

#riAccountRoot .ra-summary .ra-card::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 25px;
  width: 43px;
  height: 43px;
  border: 1px solid rgba(52, 237, 186, .22);
  border-radius: 13px;
  background-color: rgba(36, 185, 130, .08);
  background-position: center;
  background-repeat: no-repeat;
  background-size: 23px;
}

#riAccountRoot .ra-summary .ra-card:nth-child(1)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334edba' stroke-width='1.6' stroke-linecap='round'%3E%3Ccircle cx='12' cy='8' r='3.5'/%3E%3Cpath d='M5 21v-2a7 7 0 0 1 14 0v2'/%3E%3C/svg%3E");
}

#riAccountRoot .ra-summary .ra-card:nth-child(2)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334edba' stroke-width='1.6' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='15' rx='3'/%3E%3Cpath d='M16 11h5v5h-5a2.5 2.5 0 0 1 0-5Z'/%3E%3C/svg%3E");
}

#riAccountRoot .ra-summary .ra-card:nth-child(3)::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2334edba' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m3 7 4 4 5-7 5 7 4-4-2 12H5L3 7ZM6 22h12'/%3E%3C/svg%3E");
}

#riAccountRoot .ra-summary h3 {
  margin: 0 0 4px;
  color: #a4bcb0;
  font-size: 12px;
  font-weight: 500;
}

#riAccountRoot .ra-summary p {
  margin: 0;
  color: #e1f5e9;
  font-size: 15px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

#riAccountRoot .ra-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

#riAccountRoot .ra-columns > .ra-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

#riAccountRoot .ra-columns h2 {
  margin: 0 0 6px;
  font-size: 23px;
  letter-spacing: -.5px;
}

#riAccountRoot .ra-columns > .ra-card:last-child {
  border-color: rgba(52, 237, 186, .36);
  background:
    radial-gradient(
      ellipse at top right,
      rgba(37, 232, 175, .12),
      transparent 70%
    ),
    #041710;
}

#riAccountRoot .ra-columns > .ra-card > button,
#riAccountRoot #raOpenPremium {
  margin-top: auto;
}

#riAccountRoot .ra-tools {
  width: 100%;
  gap: 10px;
  margin: 24px 0;
}

#riAccountRoot .ra-tools span {
  padding: 12px 14px;
  border: 1px solid rgba(70, 170, 123, .18);
  border-radius: 10px;
  background: rgba(20, 61, 43, .35);
  color: #c4dbce;
  font-size: 13px;
}

#riAccountRoot .ra-notice {
  width: 100%;
  margin: 20px 0;
  padding: 12px 15px;
  border-color: rgba(211, 177, 87, .25);
  background: rgba(140, 110, 30, .08);
  font-size: 13px;
}

#riAccountRoot .ra-telegram {
  margin-top: 20px;
  padding: 24px 28px;
}

#riAccountRoot .ra-telegram h3 {
  margin-bottom: 4px;
}

#riAccountRoot .ra-telegram p {
  margin: 0;
  font-size: 13px;
}

#riAccountRoot .ra-badge {
  background: rgba(140, 110, 30, .08);
  font-size: 12px;
  white-space: nowrap;
}

#riAccountRoot .ra-primary {
  background: linear-gradient(135deg, #3cf3bd, #20d99f);
  box-shadow: 0 4px 18px rgba(37, 232, 175, .12);
}

#riAccountRoot button:not(:disabled):hover,
#riAccountRoot a:hover {
  border-color: #34edba;
  filter: brightness(1.08);
}

#riAccountRoot button:focus-visible,
#riAccountRoot a:focus-visible {
  outline: 2px solid #34edba;
  outline-offset: 4px;
}

#riAccountRoot .ra-auth > .ra-card {
  padding: 34px;
}

#riAccountRoot .ra-tabs {
  background: rgba(0, 0, 0, .22);
}

#riAccountRoot #raMessage:not(:empty) {
  margin: 18px 0;
  padding: 13px 15px;
  border: 1px solid #245d46;
  border-radius: 10px;
  background: #08251a;
  font-size: 13px;
}

#riAccountRoot #raMessage[data-type="error"]:not(:empty) {
  border-color: rgba(240, 128, 128, .4);
  background: #301817;
  color: #ffc7bf;
}

@media (max-width: 800px) {
  #riAccountRoot {
    padding: 30px 0;
  }

  #riAccountRoot .ra-summary,
  #riAccountRoot .ra-columns {
    grid-template-columns: 1fr;
  }

  #riAccountRoot .ra-card,
  #riAccountRoot .ra-auth > .ra-card {
    padding: 22px;
  }

  #riAccountRoot .ra-heading > div:first-child {
    flex-basis: 100%;
  }

  #riAccountRoot .ra-heading h1 {
    font-size: 32px;
  }
}

@media (max-width: 380px) {
  #riAccountRoot .ra-tools {
    grid-template-columns: 1fr;
  }
}


#riAccountRoot .ra-password-settings {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(65, 221, 163, .2);
}

#riAccountRoot .ra-password-settings summary {
  width: fit-content;
  padding: 10px 0;
  color: #34edba;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

#riAccountRoot .ra-password-settings summary:focus-visible {
  outline: 2px solid #34edba;
  outline-offset: 4px;
  border-radius: 4px;
}

#riAccountRoot #raChangePasswordForm {
  max-width: 480px;
  margin-top: 10px;
}

#riAccountRoot #raChangePasswordForm > button {
  margin-top: 8px;
}

#riAccountRoot #raPasswordMessage {
  margin: 16px 0 0;
  color: #9cf0c7;
  font-size: 13px;
  overflow-wrap: anywhere;
}

#riAccountRoot #raPasswordMessage:empty {
  display: none;
}

#riAccountRoot #raPasswordMessage[data-type="error"] {
  color: #ffc7bf;
}