:root {
  --bg: #000;
  --panel: #050505;
  --line: #1a1a1a;
  --line2: #2b2b2b;
  --txt: #fff;
  --muted: #bfbfbf;
  --mono: YourFontName;
  --radius: 14px;
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.7);
}

@font-face {
  font-family: "YourFontName";
  src: url("/public/font/font.ttf");
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: var(--mono);
  background: var(--bg);
  color: var(--txt);
  overflow-x: hidden;
  cursor: url('/public/imgs/nat21.gif') 16 16, auto;
}

/* ===== Scrollbar CSS ===== */
  /* Firefox */
  * {
    scrollbar-width: thin;
    scrollbar-color: #fff #000000bd;
  }

  /* Chrome, Edge, and Safari */
  *::-webkit-scrollbar {
    width: 15px;
  }

  *::-webkit-scrollbar-track {
    background-color: #42005596;
  }

  *::-webkit-scrollbar-thumb {
    background-color: #8000ff;
    border-radius: 30px;
    border: 3px dotted #ffffff;
  }

.notice {
    border: solid 1px white;
    padding: 10px;
    font-size: 30px;
    text-align: center;
}

/* Links */
a {
  color: #fff;
  text-decoration: none;
  transition: color 0.6s ease;
}

a:hover {
  color: #888;
}

a:visited {
  color: #fff;
transition: color 0.6s ease;
}

/* Layout */
.wrap {
  max-width: 1220px;
  margin: 0 auto;
  padding-top: 50px;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 5px 10px;
}

.logo,
.nav {
  font-size: 25px;
  line-height: 1;
  white-space: nowrap;
  text-shadow: 3px 4px 3px #313131;
}

/* Grid */
.grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  margin: 5px 0px 0px;
}

@media (max-width: 980px) {
  .grid {
    grid-template-columns: 1fr;
  }
}

/* Player */
.stage {
  position: relative;
  width: 100%;
  background: #000;
  overflow: hidden;
  outline: none;
}

video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  background: #000;
}

/* Controls */
.controls {
  position: absolute;
  inset: auto 0 0 0;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.85));
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.stage.controls-hidden .controls {
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}

.stage:not(.is-fs) .controls {
  opacity: 0;
  transform: translateY(6px);
}

.stage:not(.is-fs):hover .controls,
.stage:not(.is-fs):focus-within .controls,
.stage:not(.is-fs).show-controls .controls {
  opacity: 1;
  transform: translateY(0);
}

.stage.is-fs.cursor-hidden {
  cursor: none;
}

.left,
.right {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Buttons */
.btn {
  padding: 9px 12px;
  border-radius: 10px;
  border: 1px solid var(--line2);
  background: #0a0a0a;
  color: var(--txt);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  cursor: pointer;
  user-select: none;
}

.btn:hover {
  border-color: #3a3a3a;
}

.btn:active {
  transform: translateY(1px);
}

/* Volume */
.vol {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 10px;
  border: 1px solid var(--line2);
  background: #0a0a0a;
}

.vol label {
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--muted);
}

input[type="range"] {
  width: 160px;
}

@media (max-width: 560px) {
  input[type="range"] {
    width: 110px;
  }

  .logo {
    font-size: 30px;
  }
}

/* Chat */
.chat-frame {
  width: 100%;
  height: 549px;
  border: 0;
  background: #000;
  overflow: hidden;
}

/* Content */
#content {
  max-width: 1220px;
  margin: 20px auto 0;
}

#content > :first-child {
  margin-top: 0 !important;
}

/* Page */
.page {
  width: 32.25cm;
  margin: 10px auto;
  height: fit-content;
}

/* Footer */
footer {
  margin-top: 15px;
  padding-bottom: 15px;
  text-align: center;
  font-size: 10px;
  color: #fff;
}
