* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 10%, rgba(156, 93, 194, .18), transparent 28%),
    radial-gradient(circle at 85% 75%, rgba(108, 61, 143, .18), transparent 30%),
    #100a16;
  color: #eadff0;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  line-height: 1.5;
}

a {
  color: #e1b7ff;
}

a:hover {
  color: #fff;
}

.site-shell {
  width: min(1180px, 96%);
  margin: 18px auto;
  border: 2px solid #6e4582;
  background: #191020;
  box-shadow: 10px 10px 0 #08050b;
  position: relative;
  overflow: hidden;
}

.site-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(255,255,255,.018) 0,
      rgba(255,255,255,.018) 1px,
      transparent 1px,
      transparent 4px
    );
  opacity: .45;
}

.site-header {
  position: relative;
  z-index: 1;
  padding: 14px;
  background: #291634;
  border-bottom: 2px solid #704687;
}

.header-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
}

.eyebrow,
.panel-title,
.section-label {
  color: #b58bc8;
  font: 10px/1.2 monospace;
  letter-spacing: 1.5px;
}

h1 {
  margin: 3px 0 0;
  color: #f3e5fa;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(24px, 4vw, 40px);
  font-weight: normal;
  letter-spacing: -1.5px;
}

.subtitle {
  margin: 3px 0 0;
  color: #c4a8cc;
  font-size: 11px;
}

.online-badge {
  border: 1px solid #9860b3;
  padding: 5px 8px;
  color: #e8c9f3;
  background: #160d1b;
  font: 10px monospace;
  white-space: nowrap;
}

.dot,
.live-light::before {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-right: 5px;
  border-radius: 50%;
  background: #c783ed;
  box-shadow: 0 0 9px #c783ed;
  animation: pulse 1.5s ease-in-out infinite;
}

.ticker {
  margin-top: 12px;
  padding: 5px 0;
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px dotted #805095;
  border-bottom: 1px dotted #805095;
  color: #d1a9e2;
  font: 10px monospace;
}

.ticker-track {
  display: inline-block;
  padding-left: 100%;
  animation: ticker 24s linear infinite;
}

.page-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) 310px;
  gap: 8px;
  padding: 8px;
}

.panel {
  position: relative;
  margin-bottom: 8px;
  padding: 10px;
  border: 1px solid #704687;
  background: #211329;
}

.panel::after {
  content: "";
  position: absolute;
  top: 5px;
  right: 5px;
  width: 5px;
  height: 5px;
  background: #6d3e82;
}

.panel-title {
  margin-bottom: 7px;
}

.panel h2 {
  margin: 0 0 9px;
  color: #f0d9f8;
  font: normal 18px Georgia, "Times New Roman", serif;
}

.muted {
  color: #ae96b7;
  font-size: 11px;
}

.left-column .panel {
  background: #1b1023;
}

.nav-panel {
  padding: 0;
}

.nav-panel .panel-title {
  padding: 8px;
  margin: 0;
  background: #412253;
}

.nav-panel a {
  display: block;
  padding: 7px 9px;
  border-top: 1px solid #35203f;
  color: #d7b4e7;
  text-decoration: none;
  font: 11px monospace;
}

.nav-panel a:hover {
  padding-left: 14px;
  background: #3b204b;
  color: #fff;
}

.intro-panel {
  min-height: 235px;
  background:
    linear-gradient(120deg, rgba(123, 69, 151, .18), transparent 45%),
    #211329;
}

.intro-copy {
  max-width: 720px;
}

.fact-strip,
.fx-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 13px;
}

.fact-strip span,
.fx-grid span {
  padding: 3px 6px;
  border: 1px solid #815193;
  background: #30193c;
  color: #d6b3e3;
  font: 9px monospace;
}

.movie-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
}

.movie-item {
  padding: 8px;
  border-left: 3px solid #8d59a7;
  background: #1a0f21;
  transition: transform .2s ease, background .2s ease;
}

.movie-item:hover {
  transform: translateX(5px);
  background: #2d1837;
}

.movie-item strong {
  display: block;
  color: #ebd5f3;
  font: 11px monospace;
}

.movie-item span {
  color: #a78eaf;
  font-size: 10px;
}

.photo-panel {
  background: #25152e;
}

.photo-frame {
  width: min(100%, 430px);
  margin: 10px auto 3px;
  padding: 7px;
  border: 1px solid #9360a9;
  background: #100911;
  transform: rotate(-.7deg);
  box-shadow: 5px 5px 0 rgba(0,0,0,.35);
  transition: transform .25s ease;
}

.photo-frame:hover {
  transform: rotate(.7deg) translateY(-3px);
}

.photo-frame img {
  display: block;
  width: 100%;
  height: auto;
}

.photo-caption {
  display: flex;
  justify-content: space-between;
  padding: 5px 1px 0;
  color: #b79ac0;
  font: 9px monospace;
}

.update {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 10px;
  padding: 7px 0;
  border-top: 1px dotted #68417a;
}

.update time {
  color: #b98bcc;
  font: 10px monospace;
}

.update p {
  margin: 0;
}

.mail-panel {
  background: #291632;
  border-color: #8d59a7;
}

.mail-link {
  display: inline-block;
  margin-top: 8px;
  padding: 7px 9px;
  border: 1px solid #a66bc0;
  background: #3b204b;
  color: #f0d9f8;
  font: 11px monospace;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease;
}

.mail-link:hover {
  background: #57306a;
  transform: translateY(-2px);
}

.warning {
  margin-top: 10px;
  padding: 7px;
  border: 1px dashed #b05b9d;
  background: #27121f;
  color: #e8badb;
  font: bold 11px monospace;
}

.warning-flash {
  animation: warningFlash 1.2s steps(2,end) infinite;
}

.right-column {
  min-width: 0;
}

.chat-panel {
  position: sticky;
  top: 10px;
  background: #160c1d;
  border-color: #86529d;
}

.chat-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.chat-heading h2 {
  margin-top: 2px;
}

.live-light {
  color: #dba9ec;
  font: 9px monospace;
  white-space: nowrap;
}

.chat-intro {
  color: #b9a2c0;
  font-size: 11px;
}

.chat-embed {
  width: 100%;
  padding: 4px;
  border: 1px solid #5e3970;
  background: #09050b;
  overflow: hidden;
}

.minnit-chat-sembed {
  display: block !important;
  width: 100% !important;
  height: 620px !important;
  max-height: 75vh !important;
}

.chat-link {
  display: block;
  margin-top: 6px;
  padding: 6px;
  border: 1px solid #75458b;
  background: #281532;
  color: #cda9dd;
  text-align: center;
  text-decoration: none;
  font: 9px monospace;
}

.chat-link:hover {
  background: #3b204b;
  color: #fff;
}

.side-update p,
.side-links a {
  font-size: 11px;
}

.side-links a {
  display: block;
  padding: 4px 0;
  border-top: 1px dotted #5f3a6e;
  text-decoration: none;
}

.sticker-panel {
  min-height: 115px;
  overflow: hidden;
}

.sticker {
  position: absolute;
  display: block;
  padding: 7px;
  border: 2px solid #8e63a1;
  background: #30203a;
  color: #e7c9f0;
  font: bold 9px/1.05 monospace;
  text-align: center;
  box-shadow: 3px 3px 0 #0b070d;
}

.sticker-one {
  top: 27px;
  left: 14px;
  transform: rotate(-8deg);
  animation: floatOne 4s ease-in-out infinite;
}

.sticker-two {
  top: 49px;
  left: 66px;
  transform: rotate(6deg);
  animation: floatTwo 5s ease-in-out infinite;
}

.sticker-three {
  top: 20px;
  right: 8px;
  transform: rotate(-3deg);
  animation: floatThree 4.5s ease-in-out infinite;
}

.blink-text {
  color: #d8a5e9;
  font: 10px monospace;
  animation: blink 1.7s steps(2,end) infinite;
}

footer {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-top: 2px solid #6e4582;
  background: #140b19;
  color: #8f7698;
  font: 9px monospace;
}

/* ANIMATION */

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

@keyframes pulse {
  0%,100% { opacity: .45; transform: scale(.85); }
  50% { opacity: 1; transform: scale(1.25); }
}

@keyframes blink {
  0%,45% { opacity: 1; }
  46%,100% { opacity: .35; }
}

@keyframes warningFlash {
  0%,70% { opacity: 1; }
  71%,100% { opacity: .45; }
}

@keyframes floatOne {
  0%,100% { transform: rotate(-8deg) translateY(0); }
  50% { transform: rotate(-5deg) translateY(-4px); }
}

@keyframes floatTwo {
  0%,100% { transform: rotate(6deg) translateY(0); }
  50% { transform: rotate(3deg) translateY(4px); }
}

@keyframes floatThree {
  0%,100% { transform: rotate(-3deg) translateY(0); }
  50% { transform: rotate(1deg) translateY(-3px); }
}

/* RESPONSIVE */

@media (max-width: 950px) {
  .page-grid {
    grid-template-columns: 145px minmax(0,1fr);
  }

  .right-column {
    grid-column: 1 / -1;
  }

  .chat-panel {
    position: static;
  }

  .chat-embed {
    max-width: 650px;
    margin: 0 auto;
  }
}

@media (max-width: 650px) {
  .site-shell {
    width: 100%;
    margin: 0;
    border-width: 1px;
  }

  .page-grid {
    display: block;
    padding: 5px;
  }

  .header-top {
    display: block;
  }

  .online-badge {
    display: inline-block;
    margin-top: 9px;
  }

  .movie-list {
    grid-template-columns: 1fr;
  }

  .update {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .minnit-chat-sembed {
    height: 520px !important;
  }

  footer {
    display: block;
  }

  footer span {
    display: block;
    margin: 2px 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
