* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
  background: #000;
}

body {
  overflow: hidden;
}

.container {
  width: 100vw;
  height: 100vh;
}

.shadorux-stage {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.shadorux-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translate(var(--x, 0), var(--y, 0)) scale(var(--scale, 1));
  pointer-events: none;
  user-select: none;
}

.shadorux-layer-bg {
  --scale: 1.08;
}

.shadorux-layer-banner,
.shadorux-layer-right {
  --x: 0px;
  --y: 0px;
  --scale: 1;
}

.scene-sidebar {
  position: absolute;
  left: 15px;
  top: 35px;
  z-index: 40;
  display: block;
  width: 300px;
  height: 867px;
  overflow: hidden;
  background: #050505;
  border-right: 2px solid #d0171f;
  box-shadow: 4px 0 0 rgba(0, 0, 0, 0.72);
}

.scene-sidebar__shrine,
.scene-sidebar__nav a {
  display: block;
  width: 300px;
  overflow: hidden;
  background: #080808;
}

.scene-sidebar__shrine {
  height: 320px;
}

.scene-sidebar__shrine img {
  display: block;
  width: 300px;
  height: 320px;
}

.scene-sidebar__nav {
  display: grid;
  width: 300px;
  height: 288px;
  grid-template-rows: repeat(4, 72px);
}

.scene-sidebar__nav a {
  position: relative;
  height: 72px;
  border-top: 2px solid #050505;
}

.scene-sidebar__nav a::after {
  position: absolute;
  inset: 2px;
  content: "";
  pointer-events: none;
  border: 1px solid rgba(255, 210, 26, 0.35);
}

.scene-sidebar__nav img {
  display: block;
  width: 300px;
  height: 72px;
}

.scene-sidebar__shrine:hover,
.scene-sidebar__nav a:hover {
  filter: brightness(1.15) saturate(1.08);
}

.tamanotchi-widget {
  position: absolute;
  left: var(--tamanotchi-x, 1320px);
  top: var(--tamanotchi-y, 230px);
  z-index: 35;
  display: block;
  width: var(--tamanotchi-width, 70px);
}

.tamanotchi-widget img {
  display: block;
  width: 100%;
  height: auto;
}

.gifypet-widget {
  position: absolute;
  left: var(--gifypet-x, 500px);
  top: var(--gifypet-y, 380px);
  z-index: 35;
  width: var(--gifypet-width, 314px);
  height: var(--gifypet-height, 321px);
  border: 0;
}

.appreciation-link {
  position: absolute;
  left: var(--appreciation-link-x, 470px);
  top: var(--appreciation-link-y, 700px);
  z-index: 36;
  display: block;
  width: var(--appreciation-link-width, 340px);
}

.appreciation-link img {
  display: block;
  width: 100%;
  height: auto;
}

.chaos-radio-link {
  position: absolute;
  left: 815px;
  top: calc(min(790px, calc(100vh - 210px)) - 100px);
  z-index: 40;
  display: grid;
  width: 480px;
  height: 88px;
  padding: 9px 18px;
  align-content: center;
  color: #fff;
  background:
    repeating-linear-gradient(135deg, rgba(208, 23, 31, 0.2) 0 8px, transparent 8px 16px),
    #080808;
  border: 3px solid #d0171f;
  box-shadow: 4px 4px 0 #000, inset 0 0 0 2px #f0b900;
  font-family: "Courier New", monospace;
  text-decoration: none;
  text-transform: uppercase;
}

.chaos-radio-link span,
.chaos-radio-link small {
  color: #ffd21a;
  font-size: 10px;
  font-weight: 900;
}

.chaos-radio-link strong {
  margin: 2px 0;
  color: #fff;
  font-size: 25px;
  line-height: 1;
  text-shadow: 2px 2px #a90000;
}

.chaos-radio-link:hover,
.chaos-radio-link:focus-visible {
  background-color: #350004;
  border-color: #ffd21a;
  outline: 2px solid #fff;
  outline-offset: -7px;
}

.chaos-radio-link:hover strong,
.chaos-radio-link:focus-visible strong {
  color: #ffd21a;
}

.chaos-terminal {
  position: absolute;
  left: var(--chaos-terminal-x, 815px);
  top: var(--chaos-terminal-y, min(790px, calc(100vh - 210px)));
  z-index: 38;
  width: var(--chaos-terminal-width, 480px);
  min-height: var(--chaos-terminal-height, 148px);
  padding: 8px;
  color: #fff;
  background:
    linear-gradient(135deg, rgba(168, 0, 0, 0.22), rgba(0, 0, 0, 0.94) 42%, rgba(94, 63, 0, 0.62)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 7px);
  border: 2px solid #b91928;
  box-shadow:
    0 0 0 2px #120000,
    0 0 10px rgba(255, 0, 0, 0.58),
    inset 0 0 18px rgba(255, 0, 0, 0.28);
  font-family: "Courier New", "Lucida Console", monospace;
  text-transform: uppercase;
  transform: rotate(-0.7deg);
  animation: chaosFloat 8s ease-in-out infinite;
}

.chaos-terminal::before,
.chaos-terminal::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.chaos-terminal::before {
  z-index: 2;
  background:
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.055) 0 1px, rgba(0, 0, 0, 0.12) 1px 5px),
    radial-gradient(circle at 50% 50%, transparent 48%, rgba(0, 0, 0, 0.34) 100%);
  opacity: 0.65;
}

.chaos-terminal::after {
  z-index: 3;
  border: 1px dashed rgba(255, 255, 255, 0.3);
  animation: chaosGlitch 6s steps(2, end) infinite;
}

.chaos-terminal__chrome {
  position: relative;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  padding: 2px 6px 5px;
  color: #ffefef;
  background: #2d0000;
  border: 1px solid #ff3434;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-shadow: 1px 0 rgba(255, 210, 26, 0.72), -1px 0 rgba(197, 20, 29, 0.72);
}

.chaos-terminal__screen {
  position: relative;
  z-index: 4;
  min-height: 92px;
  padding: 12px 14px 10px;
  overflow: hidden;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.16), transparent 18%),
    linear-gradient(180deg, rgba(32, 0, 0, 0.8), rgba(0, 0, 0, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.32);
}

.chaos-terminal__boot {
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.1;
  text-shadow: 1px 0 #c81424, -1px 0 #d5ad00, 0 0 6px rgba(255, 0, 0, 0.55);
  animation: chaosBlink 1.4s ease-in-out infinite;
}

.chaos-terminal__loaded {
  display: none;
}

.chaos-terminal.is-loaded .chaos-terminal__boot {
  display: none;
}

.chaos-terminal.is-loaded .chaos-terminal__loaded {
  display: block;
  animation: chaosReveal 0.5s steps(4, end);
}

.chaos-terminal__label {
  margin-bottom: 4px;
  color: #ff4141;
  font-size: 12px;
  font-weight: 900;
  text-shadow: 0 0 5px rgba(255, 0, 0, 0.55);
}

.chaos-terminal__loaded a {
  display: inline-block;
  max-width: 100%;
  color: #fff;
  font-size: 27px;
  font-weight: 900;
  line-height: 1;
  text-decoration: underline;
  text-decoration-style: wavy;
  text-decoration-color: #ff0000;
  text-shadow: 2px 0 #a90000, -2px 0 #b89100, 0 0 7px rgba(255, 0, 0, 0.55);
  animation: chaosLinkGlitch 5.5s steps(2, end) infinite;
}

.chaos-terminal__status {
  margin-top: 8px;
  color: #ffe68a;
  font-size: 13px;
  font-weight: 900;
  text-shadow: 0 0 4px rgba(240, 185, 0, 0.58);
}

.chaos-terminal__blinkies {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  margin-top: 7px;
}

.chaos-terminal__blinkies img {
  display: block;
  width: 100%;
  height: 20px;
  object-fit: cover;
  border: 1px solid #000;
  image-rendering: pixelated;
}

.shadowgif-slot {
  position: absolute;
  left: var(--shadowgif-x, 470px);
  top: var(--shadowgif-y, 825px);
  z-index: 36;
  width: var(--shadowgif-width, 340px);
  height: var(--shadowgif-height, 110px);
  overflow: hidden;
}

.shadowgif-slot img {
  display: block;
  width: 760px;
  max-width: none;
  height: auto;
  transform: translate(-285px, -150px);
}

.scene-blinkie-strip,
.scene-button-wall {
  position: absolute;
  left: 0;
  z-index: 46;
  display: flex;
  width: 100%;
  padding: 4px 7px;
  overflow: hidden;
  gap: 5px;
  color: #fff;
  background:
    linear-gradient(45deg, #111 25%, transparent 25%) 0 0 / 10px 10px,
    linear-gradient(45deg, transparent 75%, #111 75%) 0 0 / 10px 10px,
    #8f0000;
  border-color: #f0b900;
  border-style: solid;
  font-family: "Courier New", monospace;
  font-weight: 900;
  white-space: nowrap;
  text-transform: uppercase;
}

.scene-blinkie-strip {
  top: 0;
  height: 35px;
  border-width: 0 0 2px;
}

.scene-button-wall {
  bottom: 0;
  height: 42px;
  border-width: 2px 0 0;
}

.scene-blinkie-strip span,
.scene-button-wall span {
  display: grid;
  flex: 1 0 auto;
  min-width: 132px;
  height: 25px;
  padding: 0 8px;
  place-items: center;
  color: #fff;
  background: #080808;
  border: 1px solid #d91d25;
  box-shadow: inset 0 0 0 1px #3b0000;
  font-size: 12px;
  line-height: 1;
  text-shadow: 1px 1px #a80000;
}

.scene-blinkie-strip span:nth-child(3n),
.scene-button-wall span:nth-child(3n + 1) {
  color: #ffd21a;
  border-color: #ffd21a;
}

.retro-window {
  position: absolute;
  z-index: 39;
  color: #eee;
  background: #080808;
  border: 2px solid #d0171f;
  box-shadow:
    4px 4px 0 #000,
    0 0 0 1px #f0b900,
    inset 0 0 16px rgba(160, 0, 0, 0.3);
  font-family: Tahoma, Arial, sans-serif;
}

.retro-window::after {
  position: absolute;
  inset: 25px 0 auto;
  height: 5px;
  content: "";
  pointer-events: none;
  background: repeating-linear-gradient(90deg, #d0171f 0 8px, #000 8px 16px, #f0b900 16px 20px);
  opacity: 0.65;
}

.retro-window__title {
  display: flex;
  height: 25px;
  padding: 4px 7px;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  background: linear-gradient(90deg, #650000, #c5141d 62%, #211600);
  border-bottom: 2px solid #f0b900;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.about-site-window {
  left: 815px;
  top: 380px;
  width: 335px;
}

.about-site-window__body {
  position: relative;
  min-height: 190px;
  padding: 14px 78px 12px 13px;
  color: #fff;
  background:
    repeating-linear-gradient(0deg, transparent 0 4px, rgba(255, 255, 255, 0.025) 4px 5px),
    #080808;
  font-family: Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  text-shadow: 0 2px 4px #000;
}

.about-site-window__body p + p {
  margin-top: 12px;
}

.about-site-window__body a {
  color: #ff3434;
  text-decoration-thickness: 2px;
}

.about-site-window__shadow {
  position: absolute;
  right: 7px;
  bottom: 8px;
  width: 66px;
  height: 88px;
  background: #190000 url("/assets/widgets/about-shadow.jpg") center / cover no-repeat;
  border: 1px solid #d0171f;
  box-shadow: 2px 2px 0 #000;
}

.about-site-window__footer {
  padding: 7px 8px;
  overflow: hidden;
  color: #ffd21a;
  background: #3a0000;
  border-top: 2px solid #d0171f;
  font-family: "Courier New", monospace;
  font-size: 11px;
  font-weight: 900;
  text-align: center;
  text-shadow: 1px 1px #000, 0 0 5px rgba(255, 210, 26, 0.55);
  white-space: nowrap;
}

.music-player {
  left: 1165px;
  top: 245px;
  width: 310px;
  min-height: 160px;
}

.music-player__display {
  display: grid;
  grid-template-columns: 72px 1fr;
  min-height: 72px;
  margin: 10px 8px 5px;
  overflow: hidden;
  background: #111;
  border: 1px inset #7d7d7d;
}

.music-player__art {
  background: #190000 url("/assets/widgets/shadowamp.jpg") center / cover no-repeat;
  filter: saturate(0.9) contrast(1.1);
}

.mood-window__shadow {
  background: #190000 url("/assets/widgets/mood-shadow.jpg") center / cover no-repeat;
  filter: saturate(0.9) contrast(1.1);
}

.music-player__track {
  min-width: 0;
  padding: 9px 7px;
  overflow: hidden;
  color: #ffd21a;
  font-family: "Courier New", monospace;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  white-space: nowrap;
}

.music-player__track small {
  display: block;
  margin-top: 10px;
  overflow: hidden;
  color: #bdbdbd;
  font-size: 9px;
  text-overflow: ellipsis;
}

.music-player__number {
  color: #e31b23;
}

.music-player__progress {
  height: 9px;
  margin: 0 8px 6px;
  padding: 2px;
  background: #292929;
  border: 1px inset #777;
}

.music-player__progress span {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, #a90000, #ef222b 72%, #ffd21a);
}

.music-player__controls {
  display: flex;
  padding: 0 8px 8px;
  align-items: center;
  gap: 4px;
}

.music-player__button {
  display: grid;
  width: 28px;
  height: 24px;
  padding: 0;
  color: #111;
  background: #bcbcbc;
  border: 2px outset #eee;
  place-items: center;
  font-size: 11px;
  font-weight: 900;
}

.music-player__button:active {
  border-style: inset;
}

.music-player__play {
  color: #fff;
  background: #a90000;
}

.music-player__time {
  width: 42px;
  color: #ffd21a;
  font-family: "Courier New", monospace;
  font-size: 11px;
  font-weight: 900;
  text-align: center;
}

.music-player__volume {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 4px;
  color: #aaa;
  font-size: 9px;
  font-weight: 900;
}

.music-player__volume input {
  width: 73px;
  accent-color: #d0171f;
}

.mood-window {
  left: 1165px;
  top: 435px;
  width: 245px;
}

.mood-window__body {
  display: grid;
  grid-template-columns: 1fr 82px;
  height: 85px;
  padding: 13px 8px 7px;
  align-items: center;
  background: repeating-linear-gradient(0deg, #0b0b0b 0 3px, #121212 3px 4px);
}

.mood-window__body small {
  display: block;
  color: #aaa;
  font-size: 9px;
  font-weight: 900;
}

.mood-window__body strong {
  display: block;
  margin-top: 6px;
  color: #ffd21a;
  font-family: "Courier New", monospace;
  font-size: 23px;
  text-shadow: 2px 2px #790000;
}

.mood-window__shadow {
  width: 76px;
  height: 60px;
  border-left: 1px solid #d0171f;
}

.friends-window {
  left: 1310px;
  top: min(640px, calc(100vh - 310px));
  width: 230px;
}

.friends-window ol {
  padding: 12px 8px 6px;
  list-style-position: inside;
  font-size: 11px;
  font-weight: 700;
}

.friends-window li {
  display: grid;
  grid-template-columns: 25px 1fr;
  min-height: 27px;
  align-items: center;
  gap: 6px;
  border-bottom: 1px dotted #620000;
}

.friend-avatar {
  display: grid;
  width: 22px;
  height: 22px;
  color: #ffd21a;
  background: #1a0000;
  border: 1px solid #d0171f;
  place-items: center;
  font-family: "Courier New", monospace;
  font-size: 8px;
}

.friends-window__footer {
  padding: 5px 8px;
  color: #ffd21a;
  background: #240000;
  font-size: 9px;
  font-weight: 900;
}

.visitor-counter {
  position: absolute;
  left: 1450px;
  top: min(875px, calc(100vh - 125px));
  z-index: 40;
  width: 225px;
  padding: 8px;
  color: #fff;
  background: #050505;
  border: 2px solid #d0171f;
  box-shadow: 3px 3px 0 #000, inset 0 0 12px #3d0000;
  font-family: "Courier New", monospace;
  font-size: 10px;
  font-weight: 900;
  text-align: center;
}

.visitor-counter strong {
  display: block;
  margin: 6px 0 4px;
  color: #ffd21a;
  background: #161616;
  border: 2px inset #777;
  font-size: 26px;
  letter-spacing: 0;
  line-height: 1;
}

.visitor-counter small {
  color: #e31b23;
  font-size: 9px;
}

.welcome-screen {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: block;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.welcome-screen img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-content {
  min-height: 100vh;
  padding: 48px;
  color: #fff;
  font-family: Arial, sans-serif;
  background: #000 url("/background1.webp") center / cover no-repeat;
}

.page-content h1 {
  color: #ff1b1b;
  font-size: 42px;
  line-height: 1;
  text-transform: uppercase;
}

.page-content p {
  max-width: 680px;
  margin-top: 18px;
  font-size: 18px;
}

.page-content a {
  color: #ff9d9d;
}

body:has(.page-content) {
  overflow: auto;
}

.container:has(.page-content) {
  width: 100%;
  height: auto;
  min-height: 100vh;
}

.graphic-page {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.graphic-page-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
}

.graphic-page-home {
  position: absolute;
  left: var(--graphic-home-x, 780px);
  top: var(--graphic-home-y, 960px);
  z-index: 10;
  display: block;
  width: var(--graphic-home-width, 360px);
  height: var(--graphic-home-height, 90px);
}

.about-home-text {
  position: absolute;
  left: var(--about-home-text-x, 765px);
  top: var(--about-home-text-y, 830px);
  z-index: 20;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: var(--about-home-text-size, 22px);
  font-weight: 900;
  text-decoration: none;
  text-shadow: 0 2px 4px #000, 0 0 8px #b00000;
}

.about-home-text:hover {
  color: #ff4b4b;
}

.updates-scrollbox {
  position: absolute;
  left: var(--updates-box-x, 350px);
  top: var(--updates-box-y, 290px);
  z-index: 20;
  width: var(--updates-box-width, 350px);
  height: var(--updates-box-height, 320px);
  padding: 18px;
  overflow-y: auto;
  color: #fff;
  background: rgba(83, 75, 98, 0.82);
  border: 3px solid #000;
  font-family: Arial, sans-serif;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
  text-shadow: 0 2px 4px #000;
}

.updates-scrollbox p + p {
  margin-top: 16px;
}

.updates-scrollbox::-webkit-scrollbar {
  width: 14px;
}

.updates-scrollbox::-webkit-scrollbar-track {
  background: #1b1820;
  border-left: 2px solid #000;
}

.updates-scrollbox::-webkit-scrollbar-thumb {
  background: #756984;
  border: 2px solid #000;
}

.updates-home-link {
  position: absolute;
  left: var(--updates-home-x, 350px);
  top: var(--updates-home-y, 620px);
  z-index: 20;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 18px;
  font-weight: 900;
  text-decoration: none;
  text-shadow: 0 2px 4px #000;
}

.updates-home-link:hover {
  color: #b8a9d4;
}

.blog-post-box {
  position: absolute;
  left: var(--blog-post-x, 350px);
  top: var(--blog-post-y, 290px);
  z-index: 20;
  width: var(--blog-post-width, 520px);
  min-height: var(--blog-post-height, 160px);
  padding: 18px;
  color: #fff;
  background: rgba(0, 0, 0, 0.7);
  border: 3px solid #000;
  font-family: Arial, sans-serif;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.35;
  text-shadow: 0 2px 4px #000;
}

.blog-home-link {
  position: absolute;
  left: var(--blog-home-x, 350px);
  top: var(--blog-home-y, 480px);
  z-index: 20;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 18px;
  font-weight: 900;
  text-decoration: none;
  text-shadow: 0 2px 4px #000;
}

.blog-home-link:hover {
  color: #ff4b4b;
}

.appreciation-textbox {
  position: absolute;
  left: var(--appreciation-box-x, 520px);
  top: var(--appreciation-box-y, 145px);
  z-index: 20;
  width: var(--appreciation-box-width, 820px);
  max-height: var(--appreciation-box-height, 680px);
  padding: 0 12px 0 0;
  overflow-y: auto;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.45;
  text-shadow: none;
}

.appreciation-post {
  padding: 22px;
  background: rgba(0, 0, 0, 0.76);
  border: 2px solid #000;
}

.appreciation-post + .appreciation-post {
  margin-top: 18px;
}

.appreciation-textbox h1 {
  margin-bottom: 18px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.28;
}

.appreciation-textbox p + p {
  margin-top: 18px;
}

.appreciation-textbox a {
  color: #ff8c8c;
}

.appreciation-textbox::-webkit-scrollbar {
  width: 14px;
}

.appreciation-textbox::-webkit-scrollbar-track {
  background: #1b1820;
  border-left: 2px solid #000;
}

.appreciation-textbox::-webkit-scrollbar-thumb {
  background: #756984;
  border: 2px solid #000;
}

.appreciation-home-link {
  position: absolute;
  left: var(--appreciation-home-x, 760px);
  top: var(--appreciation-home-y, 870px);
  z-index: 20;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none;
  text-shadow: none;
}

.appreciation-home-link:hover {
  color: #ff4b4b;
}

@keyframes chaosFloat {
  0%,
  100% {
    transform: translate(0, 0) rotate(-0.7deg);
  }

  50% {
    transform: translate(0, -4px) rotate(-0.15deg);
  }
}

@keyframes chaosBlink {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.58;
  }
}

@keyframes chaosGlitch {
  0%,
  82%,
  100% {
    clip-path: inset(0);
    transform: translate(0);
  }

  86% {
    clip-path: inset(18% 0 64% 0);
    transform: translate(-3px, 1px);
  }

  91% {
    clip-path: inset(68% 0 12% 0);
    transform: translate(3px, -1px);
  }
}

@keyframes chaosReveal {
  from {
    filter: brightness(3);
    transform: translateX(-10px);
  }

  to {
    filter: brightness(1);
    transform: translateX(0);
  }
}

@keyframes chaosLinkGlitch {
  0%,
  100% {
    transform: translate(0);
  }

  88% {
    transform: translate(0);
  }

  90% {
    transform: translate(2px, -1px);
  }

  92% {
    transform: translate(-1px, 1px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .chaos-terminal,
  .chaos-terminal::after,
  .chaos-terminal__boot,
  .chaos-terminal__loaded a {
    animation: none;
  }
}

@media (max-width: 1400px), (pointer: coarse) {
  body {
    overflow: auto;
    overscroll-behavior: none;
    touch-action: pan-x pan-y pinch-zoom;
  }

  .container {
    width: max(100vw, 1920px);
    height: auto;
    min-height: max(100vh, 1080px);
  }

  .shadorux-stage,
  .graphic-page {
    width: 1920px;
    height: 1080px;
  }

  .welcome-screen {
    position: absolute;
    width: 1920px;
    height: 1080px;
  }
}
