﻿
body {
  margin: 0;
  background: black;
}

p {
  hyphens: auto;
  -ms-hyphens: auto;   /* IE 10+ */
  -moz-hyphens: auto;  /* Firefox */
}

/* ------------------------- */

.lang {
  display: none;
}

body[data-current-lang="jp"] .lang[data-lang="jp"],
body[data-current-lang="en"] .lang[data-lang="en"],
body[data-current-lang="chs"] .lang[data-lang="chs"] {
  display: block;
}

.SwipeHintN1 {
  display: none;
}

body[data-current-lang="jp"] .SwipeHintN1[data-lang="jp"],
body[data-current-lang="en"] .SwipeHintN1[data-lang="en"],
body[data-current-lang="chs"] .SwipeHintN1[data-lang="chs"] {
  display: block;
}

/* LANG SW SCAN */

.panel-overlay::before {
  content: "";
  position: absolute;
  inset: 0;

  background: rgba(0,0,0,0.15);
  backdrop-filter: blur(6px);

  z-index: 0;

  transition:
    background 0.45s ease,
    backdrop-filter 0.2s ease;
}

body.lang-switching .panel-overlay::before {
  backdrop-filter: blur(0px);
  background: rgba(0,0,0,0.06);
}

.lang-scanline {
  position: fixed;
  left: 0;
  top: -12px;
  width: 100vw;
  height: 10px;
  z-index: 999999;

  pointer-events: none;
  opacity: 0;

  background: linear-gradient(
    to bottom,
    rgba(0,255,238,0),
    rgba(0,255,238,0.95),
    rgba(255,255,255,0.9),
    rgba(0,255,238,0)
  );

  box-shadow:
    0 0 18px rgba(0,255,238,0.95),
    0 0 42px rgba(0,255,238,0.5);
}

.lang-scanline.is-run {
  animation: langScanDown 0.72s cubic-bezier(.2,.8,.2,1) forwards;
}

@keyframes langScanDown {
  0% {
    top: -16px;
    opacity: 0;
  }

  12% {
    opacity: 1;
  }

  85% {
    opacity: 1;
  }

  100% {
    top: 100vh;
    opacity: 0;
  }
}

/* ------------------------- */
.spacer {  height: 20px;}

/* Background */

.bg {
  position: fixed;
  inset: 0;
  background-image: url("/images/bg.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  filter: blur(10px) brightness(0.4);
  z-index: 0;
}

/* -------------IMAGE------------ */

.img {
  display: block;
  max-width: 100%;
  height: auto;
}

.img-left {
  margin-right: auto;
}

.img-center {
  margin-left: auto;
  margin-right: auto;
}

.img-right {
  margin-left: auto;
}

.img-s {
  width: 40%;
}

.img-m {
  width: 60%;
}

.img-l {
  width: 80%;
}

.img-f {
  width: 100%;
}

.img-soft {
  border-radius: 6px;
}

.img-glow {
  box-shadow: 0 0 12px rgba(0,255,255,0.25);
}

.img-panel {
  border: 1px solid rgba(0,255,255,0.18);
  background: rgba(0,0,0,0.3);
}

.img-dim {
  opacity: 0.9;
  filter: brightness(0.9);
}

