@charset "UTF-8";

/* Font ************************************************************ */
@font-face {
  font-display: swap;
  font-family: EuclidCircularA;
  src: url(/static/font/EuclidCircularA/EuclidCircularA-Light.woff2) format("woff2");
  font-weight: 300;
}

@font-face {
  font-display: swap;
  font-family: EuclidCircularA;
  src: url(/static/font/EuclidCircularA/EuclidCircularA-Regular.woff2) format("woff2");
  font-weight: 400;
}

@font-face {
  font-display: swap;
  font-family: EuclidCircularA;
  src: url(/static/font/EuclidCircularA/EuclidCircularA-Medium.woff2) format("woff2");
  font-weight: 500;
}

@font-face {
  font-display: swap;
  font-family: EuclidCircularA;
  src: url(/static/font/EuclidCircularA/EuclidCircularA-SemiBold.woff2) format("woff2");
  font-weight: 600;
}

@font-face {
  font-display: swap;
  font-family: EuclidCircularA;
  src: url(/static/font/EuclidCircularA/EuclidCircularA-Bold.woff2) format("woff2");
  font-weight: 700;
}

/* Var ************************************************************ */
:root {
  --cubic-bezier-primary: cubic-bezier(1, 0, 0.2, 1);
  --min-width: 340px;
  /* galaxy Z fold 5 */
  --color-bg-primary: #05173F;
  --color-bg-secondary: 0, 0, 0;
  --color-bg-tertiary: 255, 255, 255;
  --color-font-primary: #FFFFFF;
  --color-font-secondary: #011C48;
  --color-font-tertiary: #000000;
  --color-point-primary: #000B8C;
  --fontsize-md: 20px;
  --lineheight-sm: 1.24;
  --lineheight-md: 1.4;
  --header-height: 108px;
  --footer-height: 96px;
  --padding-container-side: 40px;
  --padding-container-bottom: 0;
}

@media (max-width:743px) {
  :root {
    --header-height: 96px;
    --footer-height: 103px;
    --padding-container-side: 16px;
  }
}

@media (max-width:743px),
(max-height:723px) {
  :root {
    --fontsize-md: 16px;
  }
}

/* Init ************************************************************ */
* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html {
  height: 100%;
}

body {
  height: 100%;
  min-width: var(--min-width);
  margin: 0;
}

@media (hover:hover) and (pointer:fine) {
  body::-webkit-scrollbar {
    width: 4px;
  }

  body::-webkit-scrollbar-track {}

  body::-webkit-scrollbar-thumb {
    background: rgba(var(--color-bg-tertiary), 0.4);
  }

  body::-webkit-scrollbar-thumb:hover {
    background: rgba(var(--color-bg-tertiary), 0.6);
  }
}

body.modal-opened {
  overflow: hidden;
}

body,
button,
input,
select,
textarea {
  font-family: EuclidCircularA, Arial, sans-serif, Hevetica;
  color: var(--color-font-primary);
}

input,
select,
textarea {
  font-size: var(--fontsize-md);
  outline: none;
}

.sticky-checker {
  pointer-events: none;
}

.container .sticky-checker {
  display: block;
  height: var(--header-height);
  margin-top: calc(-1 * var(--header-height));
}

button {
  padding: 0;
  font-size: var(--fontsize-md);
  background: none;
  border: none;
  cursor: pointer;
}

a {
  color: var(--midnight-900);
  text-decoration: none;
  cursor: pointer;
}

ul,
ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

em,
i,
address {
  font-style: normal;
}

input::-webkit-input-placeholder {
  color: var(--color-font-primary);
  opacity: 0.4;
}

input::-moz-placeholder {
  color: var(--color-font-primary);
  opacity: 0.4;
}

/* Common ************************************************************ */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
select,
textarea {
  appearance: none;
  background-color: #111111;
  border: none;
  border-radius: 9999px;
}

.btn-lg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 200px;
  height: 40px;
  padding: 0 1em;
  font-size: 16px;
  font-weight: 400;
  line-height: 1;
}

.btn-xlg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  height: 48px;
  padding: 0 1em;
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  transition: min-width 0.4s var(--cubic-bezier-primary);
}

.btn-xlg > .ic {
  width: 20px;
  height: 20px;
  margin-right: 8px;
}

.btn-primary {
  color: var(--color-font-primary);
  background-color: var(--color-font-secondary);
  border-radius: 9999px;
}

.btn-secondary {
  color: var(--color-font-secondary);
  background-color: #FFFFFF;
  border: 1px solid var(--color-font-secondary);
  border-radius: 9999px;
}

.button-group {
  display: flex;
  align-items: center;
  justify-content: center;
}

.button-group .btn-xlg {
  margin: 0 10px;
}

@media (max-width:743px),
(max-height:723px) {
  .btn-lg {
    min-width: 154px;
    height: 32px;
    font-size: 14px;
  }

  .btn-xlg {
    min-width: 154px;
    height: 32px;
    font-size: 14px;
  }

  .btn-xlg > .ic {
    width: 14px;
    height: 14px;
    margin-right: 5px;
  }

  .button-group .btn-xlg {
    margin: 0 5px;
  }
}

i.ic {
  flex-shrink: 0;
  mask-repeat: no-repeat;
  mask-size: auto 100%;
  background-color: var(--color-font-secondary);
}

i.ic.reload {
  mask-image: url(/static/img/part5/reload.svg);
}

i.ic.back {
  mask-image: url(/static/img/part5/back.svg);
}

/* Header ************************************************************ */
header {
  z-index: 100;
  /* position: sticky; */
  position: relative;
  top: 0;
  padding: 0 var(--padding-container-side);
  background: linear-gradient(180deg, rgba(var(--color-bg-tertiary), 0.2), transparent);
}

header.theme-white {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.20) 0%, rgba(255, 255, 255, 0.00) 100%);
}

header.theme-black {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.30) 0%, rgba(0, 0, 0, 0.00) 100%);
}

header > .inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  height: var(--header-height);
  margin: 0 auto;
}

header .logo {
  width: 135px;
  height: 20px;
  font-size: 0;
  -webkit-mask-image: url(/static/img/part5/logo.svg);
  mask-image: url(/static/img/part5/logo.svg);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: 0 50%;
  mask-position: 0 50%;
  -webkit-mask-size: 100% auto;
  mask-size: 100% auto;
  background-color: #fff;
  /* Default logo color is white */
}

/* Auto-toggle logo color based on header theme */
header.theme-white .logo {
  background-color: #000;
}

header.theme-black .logo {
  background-color: #fff;
}

header .logo.logo-white {
  background-color: #fff;
}

header .logo.logo-black {
  background-color: #000;
}

header .logo.logo-blue {
  background-color: var(--color-point-primary);
}

nav > ul {
  display: flex;
}

nav > ul > li {
  margin-left: 8px;
  background-color: rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
}

nav > ul > li > a {
  display: block;
  width: 48px;
  height: 48px;
  font-size: 0;
  mask-repeat: no-repeat;
  mask-position: 50%;
  mask-size: 20px auto;
  background-color: #FFFFFF;
}

.mainhub nav > ul > li {
  background-color: rgba(255, 255, 255, 0.6) !important;
  border-color: rgba(255, 255, 255, 0.24) !important;
}

.mainhub nav > ul > li > a {
  background-color: var(--color-point-primary);
}

.instagram > a {
  mask-image: url(/static/img/part5/instagram.svg);
}

.tiktok > a {
  mask-image: url(/static/img/part5/tiktok.svg);
}

.facebook > a {
  mask-image: url(/static/img/part5/facebook.svg);
}

.youtube > a {
  mask-image: url(/static/img/part5/youtube.svg);
}

.x > a {
  mask-image: url(/static/img/part5/x.svg);
}

/* SNS Theme Modes */
nav.sns-white > ul > li {
  border-radius: 999px !important;
  border: 1px solid var(--transparent-b-8, rgba(0, 0, 0, 0.08)) !important;
  background: var(--transparent-b-60, rgba(0, 0, 0, 0.60)) !important;
}

nav.sns-white > ul > li > a {
  background-color: #FFFFFF !important;
}

nav.sns-black > ul > li {
  background-color: rgba(255, 255, 255, 0.6) !important;
  border-color: rgba(0, 0, 0, 0.15) !important;
}

nav.sns-black > ul > li > a {
  background-color: #000000 !important;
}

nav.sns-blue > ul > li {
  background-color: rgba(255, 255, 255, 0.6) !important;
  border-color: rgba(255, 255, 255, 0.24) !important;
}

nav.sns-blue > ul > li > a {
  background-color: var(--color-point-primary) !important;
}

@media (max-width:743px) {
  header > .inner {
    justify-content: center;
  }

  header .logo {
    width: 108px;
    height: 16px;
  }

  header nav {
    display: none;
  }
}

/* .mainhub header {
	background: linear-gradient(180deg, rgba(var(--color-bg-tertiary), 0.5), transparent);
}
.mainhub header .logo {
	background-color: var(--color-point-primary);
} */

/* Container ************************************************************ */
.wrapper {
  background: linear-gradient(180deg, transparent 63%, rgba(var(--color-bg-tertiary), 0.4));
}

.container {
  min-height: calc(100dvh - var(--header-height) - var(--footer-height));
  overflow: hidden;
  padding: 0 var(--padding-container-side) var(--padding-container-bottom);
}

/* Footer ************************************************************ */
footer {
  z-index: 100;
  position: relative;
  padding: 0 var(--padding-container-side);
  font-size: 16px;
  font-weight: 300;
  background: linear-gradient(180deg, transparent, rgba(var(--color-bg-tertiary), 0.3));
}

footer.theme-white {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.00) 0%, rgba(255, 255, 255, 0.30) 100%);
  color: #000;
}

footer.theme-black {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.30) 100%);
  color: #fff;
}

footer .copyright.copy-white {
  color: #fff;
}

footer .copyright.copy-black {
  color: #000;
}

footer .copyright.copy-blue {
  color: var(--color-point-primary);
}

/* .mainhub footer {
	color: var(--color-point-primary);
	background: linear-gradient(180deg, transparent, rgba(var(--color-bg-tertiary), 0.3));
} */
footer > .inner {
  display: flex;
  flex-direction: column;
  align-items: end;
  justify-content: center;
  height: var(--footer-height);
}

footer nav {
  display: none;
}

@media (max-width:743px) {
  footer {
    font-size: 11px;
  }

  /* .mainhub footer {
    background: linear-gradient(180deg, transparent, rgba(var(--color-bg-tertiary), 0.5));
  } */
  footer > .inner {
    align-items: center;
  }

  footer nav {
    display: block;
    margin: 0 0 16px;
  }

  footer nav > ul > li {
    margin: 0 3px;
    background-color: rgba(0, 0, 0, 0.6);
    border-color: rgba(0, 0, 0, 0.24);
    box-shadow: 4px 4px 8px 0 rgba(0, 0, 0, 0.08);
  }

  footer nav > ul > li > a {
    width: 34px;
    height: 34px;
    mask-size: 12px auto;
  }
}

/* Content ************************************************************ */
.content {
  max-width: 1240px;
  margin: 0 auto;
  font-size: var(--fontsize-md);
}

/* Main ************************************************************ */
body.main {
  overflow: hidden;
}

.main .wrapper {
  height: 100%;
  overflow: hidden;
  /* for Safari (double-tap zoom) */
  background: none;
}

.main .bg-object {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-repeat: no-repeat;
  background-position: 50% 50%;
  background-size: cover;
}

.main.home .bg-object {
  background-image: url(/static/img/part5/bg-object-home.png);
  background-size: contain;
}

.main.inside .bg-object {
  background-image: url(/static/img/part5/bg-object-inside-l.png);
}

@media (orientation:portrait) {
  .main.inside .bg-object {
    background-image: url(/static/img/part5/bg-object-inside-p.png);
  }
}

.main .bg-object > video {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.main .bg-object > video.portrait {
  display: none;
}

.main.home .bg-gradient {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
}

.main.home .bg-gradient > i:nth-of-type(1) {
  position: fixed;
  left: 50%;
  top: 50%;
  max-width: 100%;
  height: 100%;
  aspect-ratio: 2280 / 1440;
  transform: translate(-50%, -50%) scale(1.01, 1.01);
  box-shadow: inset 0 0 2vw 2vw var(--color-bg-primary);
}

.main.home .bg-gradient > i:nth-of-type(2) {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 100%;
  min-width: var(--min-width);
  max-height: 100%;
  aspect-ratio: 2280 / 1440;
  transform: translate(-50%, -50%) scale(1.01, 1.01);
  box-shadow: inset 0 0 3vh 3vh var(--color-bg-primary);
}

.main.home .bg-gradient > i:nth-of-type(3),
.main.home .bg-gradient > i:nth-of-type(4) {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 140%;
  min-width: calc(var(--min-width) * 2);
  aspect-ratio: 1 / 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(transparent, var(--color-bg-primary) 70%);
}

.main.home .bg-gradient > i:nth-of-type(4) {
  width: 141%;
}

.main.home .bg-gradient > i:nth-of-type(5) {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 63%, rgba(var(--color-bg-tertiary), 0.4));
}

@media (orientation:portrait) {
  .main.home .bg-object {
    height: 64%;
    top: 6%;
    background-size: cover;
  }

  .main.home .bg-gradient > i:nth-of-type(-n + 4) {
    top: 6%;
    height: 64%;
    transform: translate(-50%, 0);
  }

  /* .main.home .bg-gradient > i:nth-of-type(-n + 2) {
    display: none;
  } */
  .main.home .bg-gradient > i:nth-of-type(3),
  .main.home .bg-gradient > i:nth-of-type(4) {
    opacity: 0.4;
  }
}

@media (orientation:portrait) and (max-width:743px) {
  .main.home .bg-object {
    top: 0;
  }

  .main .bg-object > video.landscape {
    display: none;
  }

  .main .bg-object > video.portrait {
    display: inline;
  }

  .main.home .bg-gradient > i:nth-of-type(-n + 4) {
    top: 0;
  }
}

@media (orientation:portrait) and (max-width:743px) and (hover:none) and (pointer:coarse) {}

.main .content {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  min-width: var(--min-width);
  padding: 0 var(--padding-container-side);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: end;
  padding-bottom: var(--footer-height);
  transition: padding-bottom 0.4s var(--cubic-bezier-primary);
}

.main.inside .content,
.main.error .content {
  justify-content: center;
  padding-bottom: 0;
}

.main.home .content > p {
  white-space: nowrap;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.16);
}

.main.home .content > p:nth-of-type(1) {
  position: relative;
  font-size: 80px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -3.2px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.16);
  transition: all 0.4s var(--cubic-bezier-primary);
}

.main.home .content > p:nth-of-type(1)::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 30px;
  height: 10px;
  transform: translate(-50%, -50px);
  background-color: var(--color-font-primary);
}

.main.home .content > p:nth-of-type(1) > em {
  display: block;
  color: #999999;
  text-indent: 308px;
  transition: all 0.4s var(--cubic-bezier-primary);
}

.main.home .content > p:nth-of-type(2) {
  margin: 36px 0;
  padding: 10px 20px;
  font-weight: 600;
  line-height: var(--lineheight-md);
  border: 1px dashed rgba(255, 255, 255, 0.4);
  border-radius: 9999px;
}

.main.home .content > p > br {
  display: none;
}

form:has(.code-wrap) {
  display: flex;
  justify-content: center;
  width: 100%;
}

.main .code-wrap {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 570px;
  height: 72px;
  margin: 6px 0 0 0;
  background-color: #111111;
  border-radius: 9999px;
  transition: max-width 0.6s var(--cubic-bezier-primary);
}

.main .code-wrap input {
  flex: 1;
  width: 0;
  height: 100%;
  padding: 0 40px;
  font-weight: 700;
  background-color: transparent;
}

.main .code-wrap input::-webkit-input-placeholder {
  font-weight: 700;
}

.main .code-wrap input::-moz-placeholder {
  font-weight: 700;
}

.main .code-wrap input + .clear {
  display: none;
  width: 20px;
  height: 20px;
  background-color: #FFFFFF;
  border-radius: 50%;
}

.main .code-wrap input:placeholder-shown + .clear {
  visibility: hidden;
}

.main .code-wrap .submit {
  width: 208px;
  height: 100%;
  color: var(--color-font-secondary);
  font-weight: 700;
  background-color: #FFFFFF;
  border-radius: 9999px;
  white-space: nowrap;
  transition: width 0.6s var(--cubic-bezier-primary);
}

.main .code-wrap.opened .submit {
  position: absolute;
  right: 0;
  top: 0;
  width: 100%;
}

.main a.spotify {
  width: 240px;
  height: 150px;
  margin: 40px 0 0;
  font-size: 0;
  background-image: url(/static/img/part5/spotify.png);
  background-repeat: no-repeat;
  background-size: 100% auto;
  border-radius: 9999px;
}

.main .media-toggle {
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  background-color: rgba(0, 0, 0, 0.24);
  border: 1px solid rgba(0, 0, 0, 0.16);
  border-radius: 50%;
  transition: all 0.4s var(--cubic-bezier-primary);
}

.main .media-toggle > i {
  position: fixed;
  left: 0;
  top: 50%;
  width: 100%;
  min-width: var(--min-width);
  height: 46px;
  background-image: url(/static/img/part5/play.svg);
  background-repeat: no-repeat;
  background-position: 50%;
  background-size: auto 100%;
  transform: translateY(-50%);
}

.main .media-toggle.playing > i {
  background-image: url(/static/img/part5/pause.svg);
}

.main .pre-save-gateway {
  position: absolute;
  bottom: calc(var(--footer-height) + 4vh);
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 64px;
  padding: 0 48px;
  font-size: 20px;
  font-weight: 300;
  background-color: var(--color-font-secondary);
  border-radius: 9999px;
  white-space: nowrap;
  transform: translateX(-50%);
  transition: all 0.4s var(--cubic-bezier-primary);
}

.album-logo {
  width: 400px;
  height: 112px;
  margin-bottom: 12px;
  font-size: 0;
  background: url(/static/img/part5/album-logo.svg) no-repeat 50% / 100% auto;
}

.album-summary {
  margin-bottom: 18px;
  text-align: center;
  font-size: 26px;
  font-weight: 500;
  line-height: 1;
}

.album-summary > em {
  display: block;
  margin-top: 18px;
  font-size: 21px;
  font-weight: 600;
}

.album-link {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.album-link .btn-xlg {
  min-width: 332px;
  margin: 4px 12px;
}

.album-link .btn-primary {
  background-color: var(--color-point-primary);
}

@media (max-width:743px),
(max-height:723px) {
  .main.home .content > p:nth-of-type(1) {
    text-align: center;
    font-size: 40px;
    letter-spacing: -1.6px;
  }

  .main.home .content > p:nth-of-type(1)::before {
    width: 20px;
    height: 5px;
    transform: translate(-50%, -25px);
  }

  .main.home .content > p:nth-of-type(1) > em {
    text-indent: 0;
  }

  .main.home .content > p:nth-of-type(2) {
    margin: 32px 0;
    padding: 12px 32px;
    text-align: center;
  }

  .main .code-wrap {
    max-width: 280px;
    height: 44px;
  }

  .main .code-wrap input {
    padding: 0 24px;
    font-weight: 600;
  }

  .main .code-wrap input::-webkit-input-placeholder {
    font-weight: 600;
  }

  .main .code-wrap input::-moz-placeholder {
    font-weight: 600;
  }

  .main .code-wrap .submit {
    width: 102px;
    font-size: 12px;
  }

  .main a.spotify {
    width: 120px;
    height: 75px;
    margin: 20px 0 0;
  }

  .main .media-toggle {
    width: 72px;
    height: 72px;
    min-height: 72px;
  }

  .main .media-toggle > i {
    height: 24px;
  }

  .main .pre-save-gateway {
    bottom: calc(var(--footer-height) + 6vh);
    height: 40px;
    font-size: 14px;
  }

  .album-logo {
    width: 200px;
    height: 56px;
    margin-bottom: 6px;
  }

  .album-summary > em {
    margin-top: 6px;
  }

  .album-link .btn-xlg {
    min-width: 220px;
    margin-left: 8px;
    margin-right: 8px;
  }
}

@media (orientation:portrait) and (max-width:743px) {
  .main.home .content > p > br {
    display: inline;
  }

  .main .code-wrap {
    margin: 8px 0 0 0;
  }

  .main .pre-save-gateway {
    width: calc(100% - var(--padding-container-side) * 2);
  }

  .album-link {
    flex-direction: column;
    width: 100%;
  }

  .album-link .btn-xlg {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}

@media (orientation:landscape) and (max-height:503px) {
  .main.home .content > p:nth-of-type(1) > em {
    display: inline;
  }
}

@media (max-width:743px) and (max-height:543px),
(max-height:443px) {

  .main.inside,
  .main.mainhub {
    --footer-height: 0px;
  }

  .main header,
  .main footer {
    display: none;
  }

  .main.home .content {
    justify-content: center;
    padding-bottom: 0;
    padding-top: 6vh;
  }
}

@media (max-height:443px) {
  .main.home .content > p:nth-of-type(2) {
    margin: 20px 0;
    padding-top: 8px;
    padding-bottom: 8px;
  }
}

/* Dialog ************************************************************ */
dialog {
  transform: translate3d(0, 0, 0);
  /* for iOS (flicker when keyboard triggered) */
}

dialog:modal {
  max-width: calc(100% - var(--padding-container-side) * 2);
  max-height: unset;
  min-width: 440px;
  overflow: visible;
  padding: 0 40px 40px;
  visibility: visible;
  background: #FFFFFF;
  border: none;
  border-radius: 20px;
  animation: dialog-show 0.6s cubic-bezier(0.4, 2, 0.6, 1);
}

@keyframes dialog-show {
  from {
    transform: translateY(-24px);
    opacity: 0;
  }

  to {
    transform: translateY(0%);
    opacity: 1;
  }
}

dialog[closing] {
  animation: dialog-close 0.4s cubic-bezier(0.4, 0, 0.6, -1);
  animation-fill-mode: both;
}

@keyframes dialog-close {
  from {
    transform: translateY(0%);
    opacity: 1;
  }

  to {
    transform: translateY(-24px);
    opacity: 0;
  }
}

dialog::backdrop {
  background-color: rgba(var(--color-bg-secondary), 0.6);
}

dialog:not([closing])::backdrop {
  animation: dialog-backdrop-show 0.4s;
}

@keyframes dialog-backdrop-show {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

dialog[closing]::backdrop {
  animation: dialog-backdrop-close 0.4s;
  animation-fill-mode: both;
}

@keyframes dialog-backdrop-close {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

.dialog-header {
  min-height: 50px;
}

.dialog-header > .close {
  position: absolute;
  right: -60px;
  top: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  background-color: #FFFFFF;
  border-radius: 50%;
  outline: none;
}

.dialog-header > .close:before {
  content: "";
  width: 100%;
  height: 100%;
  mask-image: url(/static/img/part5/close.svg);
  mask-repeat: no-repeat;
  mask-position: 50%;
  mask-size: 18px;
  background-color: var(--color-font-secondary);
}

.dialog-body .message {
  text-align: center;
  font-size: 24px;
  line-height: var(--lineheight-sm);
  color: var(--color-font-secondary);
  font-weight: 600;
  word-break: keep-all;
}

.dialog-body .button-group {
  margin-top: 32px;
}

@media (max-width:743px),
(max-height:723px) {
  dialog:modal {
    min-width: 320px;
    border-radius: 18px;
  }

  .dialog-header {
    min-height: 40px;
  }

  .dialog-header > .close {
    display: none;
  }

  .dialog-body .message {
    font-size: 20px;
  }

  .dialog-body .btn-lg {
    min-width: 154px;
    height: 32px;
    font-size: 14px;
  }
}

/* Error ************************************************************ */
body.error {
  background: #FFFFFF;
  color: #000000;
}

body.error .wrapper {
  background: none;
}

body.error .wrapper:before {
  content: "";
  position: fixed;
  left: var(--padding-container-side);
  bottom: 40px;
  width: 215px;
  height: 32px;
  background-color: #000000;
  mask-image: url(/static/img/part5/logo.svg);
  mask-repeat: no-repeat;
  mask-position: 0 100%;
  mask-size: 100% auto;
}

body.error .content > strong {
  text-align: center;
  font-size: 128px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -3.84px;
}

body.error .content > strong > i {
  display: block;
  margin-top: 20px;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.96px;
}

body.error .content > p {
  width: 100%;
  margin-top: 40px;
  padding: 48px 40px;
  text-align: center;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: -0.72px;
  word-break: keep-all;
  background-color: #FAFAFA;
  border: 1px solid #DDDDDD;
  border-radius: 16px;
}

body.error .content > p > i {
  display: block;
  margin-top: 24px;
  font-size: 16px;
  letter-spacing: -0.32px;
  /* -0.64px; */
  color: #666666;
}

body.error .content .button-group {
  margin-top: 64px;
}

body.error .btn-xlg {
  transition: none;
}

@media (max-width:743px),
(max-height:723px) {
  body.error .wrapper:before {
    left: 16px;
    bottom: 20px;
    width: 108px;
    height: 16px;
  }

  body.error .content > strong {
    font-size: 56px;
    letter-spacing: -1.68px;
  }

  body.error .content > strong > i {
    margin-top: 16px;
    font-size: 14px;
    letter-spacing: -0.56px;
  }

  body.error .content > p {
    margin-top: 32px;
    padding: 20px 16px;
    font-size: 13px;
    line-height: 1.6;
    letter-spacing: -0.52px;
  }

  body.error .content > p > i {
    margin-top: 12px;
    font-size: 11px;
    letter-spacing: -0.22px;
    /* -0.44px; */
  }

  body.error .content .button-group {
    margin-top: 40px;
  }
}

@media (max-height:543px) {
  body.error .wrapper:before {
    display: none;
  }
}

@media (max-height:443px) {
  body.error .content > strong > i {
    margin-top: 4px;
  }

  body.error .content > p,
  body.error .content .button-group {
    margin-top: 20px;
  }
}
