* {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  outline: none;
}
/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}
button {
  border: none;
  margin: 0;
  padding: 0;
  width: auto;
  overflow: visible;

  background: transparent;

  /* inherit font & color from ancestor */
  color: inherit;
  font: inherit;

  /* Normalize `line-height`. Cannot be changed from `normal` in Firefox 4+. */
  line-height: normal;

  /* Corrects font smoothing for webkit */
  -webkit-font-smoothing: inherit;
  -moz-osx-font-smoothing: inherit;

  /* Corrects inability to style clickable `input` types in iOS */
  -webkit-appearance: none;

  outline: none;
}

* {
  -webkit-tap-highlight-color: transparent;
}

input:-internal-autofill-selected {
  background-color: unset !important;
}

a {
  -webkit-touch-callout: none;
}

:root {
  /* Colors v1 */
  --purple: #ac5adc;
  --mid-purple: #6356c1;
  --dark-purple: #514cb0;
  --darkest-purple: #2e1e8d;
  --lavender: #9b41d0;
  --red: #b44131;
  --orange: #fea26f;
  --green: #31b436;
  --light-green: #b7e978;
  --lighter-green: #d8f1b9;
  --grey: rgba(255, 255, 255, 0.6);
  --grey-mid: #a8a8b1;
  --grey-dark: #686464;
  --yellow: #fae151;
  --light-yellow: #fceea3;
  --pink: #f5a1d1;
  --violet: #dea8ff;
  --blue: #9fb6f9;
  --light-blue: #bacbfc;

  --neutral: rgba(63, 81, 181, 0.12);
  --neutral-dark: rgba(63, 81, 181, 0.24);
  --accent: #3f51b5;
  --text-main: #000000;
  --accent-bright: #ef82d3;
  --accent-dark: #8772f4;

  --purple-gradient: linear-gradient(92.28deg, #8772f4 1.91%, #ef82d3 98.64%);

  /* Fonts v1 */
  --font-regular-size: 16px;
  --font-regular-line-height: 27px;
  --font-regular: var(--font-regular-size) / var(--font-regular-line-height);

  /* Colors v2 */
  --black: #000000;
  --black-80: color-mix(in srgb, var(--black) 80%, transparent 20%);
  --black-60: color-mix(in srgb, var(--black) 60%, transparent 40%);
  --black-30: color-mix(in srgb, var(--black) 30%, transparent 70%);
  --black-15: color-mix(in srgb, var(--black) 15%, transparent 85%);

  --white: #ffffff;
  --white-80: color-mix(in srgb, var(--white) 80%, transparent 20%);
  --white-70: color-mix(in srgb, var(--white) 70%, transparent 30%);
  --white-60: color-mix(in srgb, var(--white) 60%, transparent 40%);
  --white-50: color-mix(in srgb, var(--white) 50%, transparent 50%);
  --white-25: color-mix(in srgb, var(--white) 25%, transparent 75%);
  --white-20: color-mix(in srgb, var(--white) 20%, transparent 80%);
  --white-15: color-mix(in srgb, var(--white) 15%, transparent 85%);
  --white-10: color-mix(in srgb, var(--white) 10%, transparent 90%);
  --white-5: color-mix(in srgb, var(--white) 5%, transparent 95%);

  --midnight-teal: #0e2232;
  --midnight-teal-80: color-mix(
    in srgb,
    var(--midnight-teal) 80%,
    transparent 20%
  );
  --midnight-teal-60: color-mix(
    in srgb,
    var(--midnight-teal) 60%,
    transparent 40%
  );
  --midnight-teal-40: color-mix(
    in srgb,
    var(--midnight-teal) 40%,
    transparent 60%
  );
  --midnight-teal-15: color-mix(
    in srgb,
    var(--midnight-teal) 15%,
    transparent 85%
  );
  --midnight-teal-darker: #061727;

  --abbyss-blue: #15354e;
  --abbyss-blue-50: color-mix(in srgb, var(--abbyss-blue) 50%, transparent 50%);
  --abbyss-blue-darker: #102a3e;
  --abbyss-blue-lighter: #213f57;

  --nordic-blue: #1b5271;
  --nordic-blue-50: color-mix(in srgb, var(--nordic-blue) 50%, transparent 50%);

  --verdant-cyan: #2e7d7c;
  --verdant-cyan-darker: color-mix(
    in srgb,
    var(--verdant-cyan) 70%,
    var(--black) 30%
  );
  --verdant-cyan-lighter: color-mix(
    in srgb,
    var(--verdant-cyan) 70%,
    var(--white) 30%
  );

  --amber-dawn: #f39149;
  --amber-dawn-30: color-mix(in srgb, var(--amber-dawn) 30%, transparent 70%);
  --amber-dawn-darker: #da8241;
  --amber-dawn-darker-2: #c2743a;
  --amber-dawn-lighter: #f49c5b;

  --sunlit-sand: #f9e294;
  --sunlit-sand-lighter: #fefdcd;

  --red: #ff4444;
  --red-60: color-mix(in srgb, var(--red) 60%, transparent 40%);
  --red-25: color-mix(in srgb, var(--red) 25%, transparent 75%);
  --red-10: color-mix(in srgb, var(--red) 10%, transparent 90%);

  --green: #15ff00;
  --green-60: color-mix(in srgb, var(--green) 60%, transparent 40%);

  --gradient-amber-dawn-to-sunlit-sand: linear-gradient(
    90deg,
    var(--amber-dawn),
    var(--sunlit-sand)
  );

  --gradient-amber-dawn-to-sunlit-sand-vertical: linear-gradient(
    0deg,
    var(--amber-dawn),
    var(--sunlit-sand)
  );

  --gradient-midnight-teal-to-nordic-blue: linear-gradient(
    90deg,
    var(--midnight-teal),
    var(--nordic-blue)
  );

  /* Fonts v2 */

  /* Font Family */
  --ff-main: 'Manrope';

  /* Font Weight */
  --fw-thin: 100;
  --fw-extra-light: 200;
  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semi-bold: 600;
  --fw-bold: 700;
  --fw-extra-bold: 800;
  --fw-black: 900;

  /* Font Styles */
  --font-body-1: var(--fw-regular) 1.25rem / 120% var(--ff-main);
  --font-body-2: var(--fw-regular) 1rem / 140% var(--ff-main);
  --font-body-2-medium: var(--fw-medium) 1rem / 140% var(--ff-main);
  --font-body-3: var(--fw-regular) 0.875rem / 140% var(--ff-main);
  --font-body-4: var(--fw-regular) 0.75rem / 120% var(--ff-main);
  --font-body-5: var(--fw-regular) 1.125rem / 160% var(--ff-main);
  --font-header-1: var(--fw-bold) 2.25rem / 104% var(--ff-main);
  --font-header-2: var(--fw-bold) 2rem / 112% var(--ff-main);
  --font-header-3: var(--fw-bold) 1.5rem / 112% var(--ff-main);
  --font-header-4: var(--fw-bold) 1.25rem / 112% var(--ff-main);
  --font-button: var(--fw-semi-bold) 1.125rem / 120% var(--ff-main);
  --font-tiny: var(--fw-medium) 0.625rem / 100% var(--ff-main);
  --font-tiniest: var(--fw-medium) 0.5rem / 100% var(--ff-main);

  /* Global element sizes */
  --max-content-width: 35rem; /* 560px */
  --subscription-offer-banner-overlay-height: calc(
    3rem + 2rem
  ); /* Button height + Vertical padding */
  --bottom-menu-height: 4.5rem;
}

html * {
  font-family: "Manrope";
  color: var(--white);
}

button,
.button {
  font-family: "Manrope";
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.25rem;
  color: var(--white);
}

p,
li,
.paragraph,
.text,
.router-link {
  font-family: "Manrope";
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.5rem;
  color: var(--white-80);
}

strong,
.bold {
  font-weight: 900;
}

em {
  font-style: italic;
}

h2,
.h2 {
  font-family: "Martel";
  font-weight: 400;
  font-size: 24px;
  line-height: 36px;
}

h1,
.h1 {
  font-family: "Martel";
  font-weight: 800;
  font-size: 30px;
  line-height: 40px;
}

blockquote,
.blockquote,
blockquote *,
.blockquote *,
.accent,
.accent * {
  font-family: "Manrope";
  font-weight: 600;
  font-size: 18px;
  line-height: 24px;
  color: var(--accent);
}

@keyframes slide-down-appearance {
  from {
    transform: translateY(-2rem);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fade-out {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

@keyframes slide-down {
  from {
    transform: translateY(-2rem);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes slide-up {
  from {
    transform: translateY(2rem);
  }
  to {
    transform: translateY(0);
  }
}

@keyframes slide-right {
  from {
    transform: translateX(-2rem);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes slide-left {
  from {
    transform: translateX(2rem);
  }
  to {
    transform: translateX(0);
  }
}

@keyframes slide-out-left {
  from {
    transform: translateX(0rem);
  }
  to {
    transform: translateX(-2rem);
  }
}

@keyframes slide-out-right {
  from {
    transform: translateX(0rem);
  }
  to {
    transform: translateX(2rem);
  }
}

@keyframes float {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-0.25rem) scale(1.02);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes delayed-close-button-visibility-transition {
  0% {
    visibility: hidden;
  }
  100% {
    visibility: visible;
  }
}

@keyframes delayed-close-button-fade-in-transition {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 0.4;
  }
}

html * {
  box-sizing: border-box;
}

html,
body {
  height: 100%;

  background: var(--midnight-teal);
  background-size: 100%;

  overscroll-behavior: none;
}

#root {
  height: 100%;
}

html::-webkit-scrollbar,
html *::-webkit-scrollbar {
  display: none;
}
.button {
  background: none;
  border-radius: 5px;
  border: 1px solid #d3d3d3;
  cursor: pointer;
  font-size: 16px;
  text-align: center;
  color: #424242;
  outline: none;
  padding: 10px;
  height: 40px;
}

.button:disabled {
  cursor: default;
  opacity: 0.5;
}

.checkbox {
  width: 20px;
  height: 20px;
  border: 1px solid #d3d3d3;
  flex-shrink: 0;
  border-radius: 2px;
  font-size: 14px;
  padding: unset;
}

.checkbox.checked {
  color: #424242;
}

.column {
  display: flex;
  flex-direction: column;
}

.scrollbar__track {
  position: absolute;
  border: none;
  border-radius: 3px;
}

.scrollbar__track.horizontal {
  width: 100%;
  height: 6px;
  right: 0px;
  bottom: 0px;
}

.scrollbar__track.vertical {
  width: 6px;
  height: 100%;
  top: 0px;
  right: 0px;
}

.scrollbar__thumb {
  border-radius: inherit;
  background: #bdcad0;
}

.content-height-scrollbar__content-wrap {
  display: flex;
  flex-direction: column;
}
.dash-loader ::after,
.dash-loader ::before {
  box-sizing: border-box;
}

.dash-loader {
  position: relative;
  display: block;
  height: 32px;
  width: 32px;
  animation: dash-loader-1 3s linear infinite;
}
@keyframes dash-loader-1 {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.dash-loader span {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  height: inherit;
  width: inherit;
  clip: rect(16px, 32px, 32px, 0);
  animation: dash-loader-2 1.5s cubic-bezier(0.77, 0, 0.175, 1) infinite;
}
@keyframes dash-loader-2 {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.dash-loader span::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  height: inherit;
  width: inherit;
  border: 3px solid transparent;
  border-top: 3px solid #424242;
  border-radius: 50%;
  animation: dash-loader-3 1.5s cubic-bezier(0.77, 0, 0.175, 1) infinite;
}
@keyframes dash-loader-3 {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.dash-loader span::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  height: inherit;
  width: inherit;
  border: 3px solid rgba(66, 66, 66, 0.5);
  border-radius: 50%;
}

.dropdown {
  position: relative;
}
.dropdown.error {
  border-color: var(--red-60);
  box-shadow: 0 0 6px 0 var(--red-60);
}

.dropdown__title,
.dropdown__item {
  position: relative;
  width: 100%;
  height: 40px;
  padding: 10px;
  overflow: hidden;
  background: var(--midnight-teal);

  text-align: left;
  font-family: var(--ff-main) !important;
  font-size: 1rem !important;
  line-height: 1.25rem !important;
  font-weight: var(--fw-regular) !important;
  color: var(--white-80) !important;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.dropdown__title {
  border-radius: 5px;
  padding-right: 30px;
}

.dropdown__item {
  border: unset;
  border-radius: unset;
  border-top: 1px solid var(--white-80);
}

.dropdown.open > .dropdown__title {
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
}

.dropdown__title:disabled {
  background-color: unset;
  opacity: 0.5;
}

.dropdown__title:before {
  content: '';
  position: absolute;
  right: 15px;
  top: calc(50% - 2.5px);
  display: block;
  border: 5px solid transparent;
  border-top: 5px solid var(--white-80);
}

.dropdown.open > .dropdown__title:before {
  top: unset;
  bottom: calc(50% - 2.5px);
  border: 5px solid transparent;
  border-bottom: 5px solid var(--white-80);
}

.dropdown__content-wrap {
  position: absolute;
  width: 100%;
  max-height: 140px;
}

.dropdown__scrollbar {
  max-height: inherit;
  background: var(--midnight-teal);
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
  border: 1px solid #d3d3d3;
  border-top: unset;
  z-index: 1;
}

.dropdown__scrollbar > .scrollbar__track.horizontal {
  visibility: hidden;
}

.dropdown__item:hover {
  background: var(--abbyss-blue-50);
}

.external-link {
  color: #42a5f5;
  outline: none;
  cursor: pointer;
  text-decoration: underline;
}
.input {
  border-radius: 5px;
  border: 1px solid #d3d3d3;
  outline: none;
  padding: 10px;
  color: #424242;
  font-size: 16px;
  height: 40px;
}

.input:focus {
  border: 1px solid #b0bec5;
  box-shadow: 0 0 6px 0 #b0bec5;
}

.input.error {
  border: 1px solid #d22c75;
  box-shadow: 0 0 6px 0#d22c75;
}

.input::placeholder {
  color: #bdcad0;
}

.input:disabled {
  background-color: transparent;
  opacity: 0.5;
}
.text {
  display: block;
  color: #424242;
}

.text.capitalized::first-letter {
  text-transform: capitalize;
}

.text.bold {
  font-weight: bold;
}

.text.multiline { 
  white-space: pre-wrap;
}
.modal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100vw;
  height: 100%;
  background-color: rgba(88, 106, 141, 0.9);
  overflow: auto;
}

.modal__wrap {
  width: fit-content;
  height: fit-content;
  min-width: 30%;
  background: var(--abbyss-blue);
  border-radius: 4px;
  position: relative;
}

.modal__header {
  display: flex;
  padding: 20px 20px 10px 20px;
  justify-content: center;
  border-radius: 4px 4px 0 0;
}

.modal__header__header-text {
  font-size: 18px;
  text-align: center;
}

.modal__header__close-button {
  font-weight: bold;
  position: absolute;
  top: 3px;
  right: 8px;
  font-size: 22px;
  font-weight: bold;
  width: unset;
  padding: unset;
  border: unset;
}

.modal__content {
  padding: 1.25rem;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.modal__content.with-header {
  padding: 10px 20px 20px 20px;
  min-height: calc(100% - 52px);
}

.radio {
  width: 20px;
  height: 20px;
  border: 1px solid #d3d3d3;
  border-radius: 100%;
  flex-shrink: 0;
  padding: 4px;
}

.radio.selected {
  background-color: #424242;
  background-clip: content-box;
}

.radio-with-label {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.radio-with-label__label {
  margin-left: 5px;
  line-height: 20px;
  font-size: 14px;
  white-space: pre-wrap;
}

.radio-with-label.disabled {
  cursor: default;
}

.radio-with-label.disabled > .radio-with-label__label {
  opacity: 0.5;
}
.router-link > a,
.router-link > a:focus,
.router-link > a:hover,
.router-link > a:active {
  outline: none;
}
.router-link {
  color: #424242;
}

.row {
  display: flex;
  flex-direction: row;
}

.teardrop-loader {
  position: relative;
  height: 32px;
  width: 32px;
}
.teardrop-loader span {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  height: inherit;
  width: inherit;
}
.teardrop-loader span::before,
.teardrop-loader span::after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  margin: auto;
  height: inherit;
  width: inherit;
  border: 2px solid #424242;
  border-radius: 50%;
  opacity: 0;
  animation: teardrop-loader-1 1.5s cubic-bezier(0.075, 0.82, 0.165, 1) infinite;
}
@keyframes teardrop-loader-1 {
  0% {
    transform: translate3d(0, 0, 0) scale(0);
    opacity: 1;
  }
  100% {
    transform: translate3d(0, 0, 0) scale(1.5);
    opacity: 0;
  }
}
.teardrop-loader span::after {
  animation: teardrop-loader-2 1.5s cubic-bezier(0.075, 0.82, 0.165, 1) 0.25s
    infinite;
}
@keyframes teardrop-loader-2 {
  0% {
    transform: translate3d(0, 0, 0) scale(0);
    opacity: 1;
  }
  100% {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 0;
  }
}
.textarea {
  outline: none;
  cursor: text;
  resize: none;
  padding: 10px;
  overflow: hidden;
  border: solid 1px #d3d3d3;
  border-radius: 5px;
  color: #424242;
  font-size: 16px;
  line-height: 21px;
}

.textarea:focus {
  border: 1px solid #b0bec5;
  box-shadow: 0 0 6px 0 #b0bec5;
}
.column,
.row {
  height: fit-content;
}

.scrollbar__track.hidden {
  display: none;
}
.scrollbar__thumb {
  background-color: #dfdfdf;
}

.teardrop-loader > span::before,
.teardrop-loader > span::after {
  border-color: var(--sunlit-sand)
}

.dash-loader span::before {
  border-top: 3px solid var(--sunlit-sand);
}

.dash-loader span::after {
  border: 3px solid var(--amber-dawn-lighter);
}

/* Слабо-прозрачный фон */
.modal {
  background: color-mix(in srgb, var(--black) 40%, transparent 60%);
}

.modal__wrap {
  border-radius: 12px;
}

/* В случае если браузер поддерживает блюр - добавляем фону блюр и делаем его чуть более прозрачным */
@supports ((-webkit-backdrop-filter: blur(6px)) or (backdrop-filter: blur(6px))) {
  .modal {
    background: color-mix(in srgb, var(--black) 40%, transparent 60%);
    -webkit-backdrop-filter: blur(6px);
            backdrop-filter: blur(6px);
  }
}

/* hot-fix верстки выпадающего списка */
.dropdown__item:first-child {
  border-top: none;
}
html * {
  font-family: "Manrope";
  color: var(--white);
}

button,
.button {
  font-family: "Manrope";
  font-weight: 600;
  font-size: 1.125rem;
  line-height: 1.25rem;
  color: var(--white);
}

p,
li,
.paragraph,
.text,
.router-link {
  font-family: "Manrope";
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.5rem;
  color: var(--white-80);
}

strong,
.bold {
  font-weight: 900;
}

em {
  font-style: italic;
}

h2,
.h2 {
  font-family: "Martel";
  font-weight: 400;
  font-size: 24px;
  line-height: 36px;
}

h1,
.h1 {
  font-family: "Martel";
  font-weight: 800;
  font-size: 30px;
  line-height: 40px;
}

blockquote,
.blockquote,
blockquote *,
.blockquote *,
.accent,
.accent * {
  font-family: "Manrope";
  font-weight: 600;
  font-size: 18px;
  line-height: 24px;
  color: var(--accent);
}

.rounded-button {
  display: flex;
  flex-shrink: 0;
  width: 100%;
  /* max-width: 335px; */
  height: 3.5rem;
  
  align-items: center;
  justify-content: center;

  border: none;
  border-radius: 1.125rem;
  padding: 1.125rem;

  font: var(--font-button);
  text-align: center;

  cursor: pointer;
  outline: none;
}

.rounded-button:active {
  transform: scale(0.98);
}
.accent-button {
  background: var(--amber-dawn);
  color: var(--white);
}

.accent-button:active {
  background: var(--amber-dawn-darker);
}

.accent-button:disabled {
  background: color-mix(in srgb, var(--amber-dawn) 40%, transparent 60%);
  color: var(--white-80);
}

.accent-button:not(:disabled).with-glow {
  animation: accent-button-glow infinite 3s;
}

/*
  Use rgba() for glow so it works on Android WebView < 111 (no color-mix support).
  Equivalent to "color-mix(in srgb, var(--amber-dawn) 20%, transparent 80%)".
*/
@keyframes accent-button-glow {
  0% {
    box-shadow: 0 0 0.25rem 0.25rem rgba(243, 145, 73, 0.2);
  }
  50% {
    box-shadow: 0 0 0.5rem 0.75rem rgba(243, 145, 73, 0.3);
  }
  100% {
    box-shadow: 0 0 0.25rem 0.25rem rgba(243, 145, 73, 0.2);
  }
}

.error-boundary {
  width: 100%;
  max-width: 600px;
  margin: auto;
  padding: 1.25rem;
  align-items: center;
  gap: 2rem;
}

.error-boundary__title {
  font-family: 'Manrope';
  font-weight: 900;
  text-align: center;
  font-size: 1.5rem;
}

.error-boundary__subtitle {
  font: var(--ff-main);
  font-weight: 600;
  text-align: center;
}

.error-boundary__content {
  max-width: 100%;
  align-items: flex-start;
  gap: 1rem;
}

.error-boundary__details {
  max-width: 100%;
  gap: 0.5rem;
  align-items: flex-start;
}

.error-boundary__details__title {
  max-width: 100%;
  font: var(--ff-main);
  text-align: left;
  font-weight: 900;
  word-break: break-word;
}

.error-boundary__details__text {
  max-width: 100%;
  font-family: 'Manrope';
  font-size: 0.75rem;
  line-height: 1rem;
  text-align: left;
  word-break: break-word;
}

.error-boundary__reload-button {
  width: 100%;
  max-width: 350px;
  height: 50px;
}

.centered-teardrop-loader {
  width: 100%;
  height: 100%;
}

.centered-teardrop-loader__loader {
  margin: auto;
}
.external-link {
  background: transparent;
  font-weight: unset;
}
.icon {
  display: flex;
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;

  color: var(--midnight-teal);
}

.icon * {
  color: inherit;
}
.close-button {
  display: flex;
  flex-shrink: 0;
  position: absolute; 
  top: 1.25rem; 
  right: 1.25rem;
  width: 1.5rem;
  height: 1.5rem;
  padding: 0;
  border: none;

  align-items: center;
  justify-content: center;

  cursor: pointer;
}

.close-button__icon {
  display: flex;
  color: var(--white);
}

.neutral-button {
  background: transparent;
  border: 1.5px solid var(--amber-dawn);
  color: var(--amber-dawn);
}

.neutral-button:active {
  border-color: var(--amber-dawn-darker);
  color: var(--amber-dawn-darker);
}

.neutral-button:disabled {
  border-color: color-mix(in srgb, var(--amber-dawn) 40%, transparent 60%);
  color: color-mix(in srgb, var(--amber-dawn) 40%, transparent 60%);
}

.app-promo-banner {
  width: 100%;
  height: 5rem;
  background: var(--abbyss-blue-darker);
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  padding: 0 0.75rem;
  border-bottom: 1px solid var(--abbyss-blue);
}

.app-promo-banner__close-button {
  width: 1rem;
  height: 1rem;
  position: relative;
  top: unset;
  right: unset;
}

.app-promo-banner__close-button > .close-button__icon {
  width: inherit;
  height: inherit;
}

.app-promo-banner__app-logo {
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
}

.app-promo-banner__info {
  gap: 0.25rem;
}

.app-promo-banner__info__app-name {
  font: var(--font-body-3);
  color: var(--white);
}

.app-promo-banner__info__rating-wrap {
  width: 100%;
  align-items: center;
  gap: 0.25rem;
}

.app-promo-banner__info__rating-wrap__icon {
  width: 0.75rem;
  height: 0.75rem;
  color: var(--sunlit-sand);
}

.app-promo-banner__info__rating-wrap__text {
  font: var(--font-tiniest);
  color: var(--sunlit-sand);
}

.app-promo-banner__cta {
  width: 4.5rem;
  height: 2rem;
  padding: 0;
  border-radius: 0.75rem;
  margin-left: auto;

  font: var(--font-body-3);
}

.subscription-offer-cta {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 3rem;
  padding: 1rem;
  border-radius: 0.875rem;

  justify-content: space-between;
  align-items: center;
}

.subscription-offer-cta__text {
  font: var(--font-body-2);
  color: var(--white);
  font-weight: var(--fw-bold);
  text-align: left;
  flex-shrink: 0;
}

.subscription-offer-cta__text.long {
  font-size: 0.875rem;
}

.subscription-offer-cta__arrow-icon {
  margin-left: 0.75rem;
  width: 1.25rem;
  height: 1.25rem;
  color: var(--white);
  animation: subscription-offer-arrow-point 3s infinite;
}

.subscription-offer-cta__discount-image {
  object-fit: contain;
  height: 4rem;
  margin: -1rem;
  margin-left: auto;
}

@keyframes subscription-offer-arrow-point {
  0% {
    transform: translateX(-0.125rem);
  }
  20% {
    transform: translateX(0.125rem);
  }
  100% {
    transform: translateX(-0.125rem);
  }
}

/* Extra-small devices, like iPhone SE */
@media screen and (max-width: 389px) {
  .subscription-offer-cta__arrow-icon {
    margin-left: 0.5rem;
  }

  .subscription-offer-cta__discount-image {
    height: 3.5rem;
  }
}

.subscription-offer-banner {
  padding: 1rem;
}

.subscription-offer-banner__cta {
  box-shadow: 0 0 0.875rem 0.125rem var(--midnight-teal);
  animation:
    fade-in forwards 500ms,
    slide-up forwards 500ms,
    float infinite 5s 500ms;
}

.content-router__loader {
  margin: auto;
}
.bottom-menu-button {
  position: relative;
  display: flex;

  width: 3.5rem;
  height: 2.375rem;
  text-decoration: none;
}

.bottom-menu-button__content {
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  align-self: center;
  gap: 0.5rem;
}

.bottom-menu-button__icon {
  width: 1.25rem;
  height: 1.25rem;
}

.bottom-menu-button__label {
  font: var(--font-tiny);
  text-align: center;
}

.bottom-menu-button * {
  color: var(--white);
}

.bottom-menu-button.active * {
  color: var(--amber-dawn);
}
.bottom-menu {
  position: sticky;
  bottom: 0;
  pointer-events: none;
}

.bottom-menu__menu {
  height: var(--bottom-menu-height);
  padding: 1.25rem 1.25rem 0;
  align-items: flex-start;
  justify-content: space-between;
  background: var(--abbyss-blue-lighter);
  box-shadow: 0 0 0.5rem 0.25rem var(--midnight-teal);
  flex-shrink: 0;
  border-top-left-radius: 1.25rem;
  border-top-right-radius: 1.25rem;
  pointer-events: auto;
}

.layout {
  width: 100%;
  max-width: var(--max-content-width);
  height: 100%;
  justify-content: center;
  align-items: center;
  margin: auto;

  /* transition: all ease-out 250ms; */
}

.layout__content {
  width: 100%;
  min-height: 100%;
  height: fit-content;
  overflow: auto;
}

.layout.with-menu {
  /* Минимальная высота контента: высота экрана - высота нижнего меню */
  min-height: calc(100% - var(--bottom-menu-height));
  padding-bottom: var(--bottom-menu-height);
}

.layout__subscription-offer-banner {
  width: 100%;
  max-width: var(--max-content-width);
  position: fixed;
}

.layout.with-menu > .layout__subscription-offer-banner {
  bottom: var(--bottom-menu-height);
}

.layout:not(.with-menu) > .layout__subscription-offer-banner {
  bottom: 0;
}

.layout__bottom-menu {
  width: 100%;
  max-width: var(--max-content-width);
  position: fixed;
}

/* Accent color scheme styling */

.layout.accent-color-scheme {
  background: var(--amber-dawn);
}

@media screen and (min-width: 35rem) {
  .layout.accent-color-scheme {
    box-shadow: 0 0 1rem 0.75rem var(--amber-dawn);
  }
}

.global-loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999999;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  background: var(--midnight-teal-80);

  transition: opacity ease-out 250ms;
}

.global-loader-overlay.visible {
  opacity: 1;
  pointer-events: all;
}

.global-loader-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}

.app-loading-overlay-splash {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 0;
  flex: 1;

  --splash-loader-float-animation-duration: 10s;
  --splash-loader-progress-animation-duration: 5s;
}
.app-loading-overlay-splash__column {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 1.25rem;
  width: min(15rem, 90vw);
  min-width: 0;
  animation: splash-loader-float var(--splash-loader-float-animation-duration)
    ease-in-out infinite;
}

@keyframes splash-loader-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-0.5rem);
  }
}

.app-loading-overlay-splash__img {
  display: flex;
  flex-shrink: 0;
  width: 80%;
  height: auto;
  aspect-ratio: calc(5 / 1);
  object-fit: contain;
}
.app-loading-overlay-splash__bar {
  position: relative;
  width: 100%;
  height: 0.375rem;
  border-radius: 0.5rem;
  overflow: visible;
}
.app-loading-overlay-splash__bar-track,
.app-loading-overlay-splash__bar-thumb {
  position: absolute;
  height: 100%;
  top: 0;
  left: 0;
  border-radius: inherit;
}
.app-loading-overlay-splash__bar-track {
  width: 100%;
  background: var(--white-15);
}
.app-loading-overlay-splash__bar-thumb {
  /* Continues from html shell (50%); keyframes run 50% → 100% */
  width: 50%;
  max-width: 100%;
  background: var(--gradient-amber-dawn-to-sunlit-sand);
  /* Continues from 50% bar to 100% (matches where html shell ends) */
  animation: splash-bar-progress
    var(--splash-loader-progress-animation-duration) ease-out forwards;
  transform-origin: left center;
}

@keyframes splash-bar-progress {
  0% {
    width: 50%;
    box-shadow: 0 0 16px 0px var(--sunlit-sand);
  }
  5% {
    width: 55%;
    box-shadow: 0 0 16px 0px var(--sunlit-sand);
  }
  10% {
    width: 60%;
    box-shadow: 0 0 16px 0px var(--sunlit-sand);
  }
  15% {
    width: 70%;
    box-shadow: 0 0 18px 2px var(--amber-dawn);
  }
  25% {
    width: 75%;
    box-shadow: 0 0 18px 2px var(--amber-dawn);
  }
  30% {
    width: 90%;
    box-shadow: 0 0 20px 2px var(--amber-dawn);
  }
  100% {
    width: 100%;
    box-shadow: 0 0 24px 4px var(--amber-dawn);
  }
}

.app-loading-overlay {
  position: fixed;
  width: 100vw;
  min-height: 0;
  height: 100vh;
  top: 0;
  left: 0;
  z-index: 9999999;
  background: var(--midnight-teal);
}

/* .app-loading-overlay.with-header-curtain {
  background: linear-gradient(
    180deg,
    var(--abbyss-blue-darker) 0rem,
    var(--abbyss-blue-darker) 0.5rem,
    var(--midnight-teal) 4.5rem
  );
}

.app-loading-overlay.with-bottom-menu {
  background: linear-gradient(
    180deg,
    var(--midnight-teal) 0rem,
    var(--midnight-teal) calc(100% - 3rem),
    var(--abbyss-blue-lighter) calc(100%)
  );
}

.app-loading-overlay.with-header-curtain.with-bottom-menu {
  background: linear-gradient(
    180deg,
    var(--abbyss-blue-darker) 0rem,
    var(--abbyss-blue-darker) 0.5rem,
    var(--midnight-teal) 4.5rem,
    var(--midnight-teal) calc(100% - 3rem),
    var(--abbyss-blue-lighter) calc(100%)
  );
} */

.app-loading-overlay.hidden {
  opacity: 1;
  animation: fade-out forwards 750ms 1s;
  pointer-events: none;
}

.toaster-message-card {
  background: var(--midnight-teal);
  box-shadow: 0 0 1rem 0.25rem var(--midnight-teal);
  border-radius: 0.625rem;
}

.toaster-message-card__content {
  max-width: 15rem;
  padding: 0.625rem 0.875rem;
  border-radius: 0.625rem;
  align-items: center;
  gap: 1rem;
}

.toaster-message-card__icon {
  width: 0.75rem;
  height: 0.75rem;
}

.toaster-message-card__text {
  font: var(--font-body-4);
  text-align: center;
}

.toaster-message-card.info > .toaster-message-card__content {
  background: var(--abbyss-blue-50);
}

.toaster-message-card.info .toaster-message-card__icon,
.toaster-message-card.info .toaster-message-card__text {
  color: var(--white-80);
}

.toaster-message-card.error > .toaster-message-card__content {
  background: var(--red-25);
}

.toaster-message-card.error .toaster-message-card__icon,
.toaster-message-card.error .toaster-message-card__text {
  color: var(--red-60);
}

.toaster-message-overlay {
  display: flex;
  flex-direction: column;
  position: fixed;
  z-index: 999999;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
}

.toaster-message-overlay__card {
  margin: auto auto 8rem;
}

.toaster-message-overlay__card.visible {
  animation: fade-in ease-in 250ms, slide-up ease-in 250ms;
}

.toaster-message-overlay__card.hidden {
  animation: fade-out ease-in 250ms;
}

