#window {
  background: rgba(80, 0, 0, 0.95);
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s, transform 0.3s;
  z-index: 100;
  opacity: 0;
  transform: translateY(-50%);
  pointer-events: none;
}

#window.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

#artview {
  background: #1a1a1a;
  border-radius: 16px;
  padding: 32px 32px 24px 32px;
  box-shadow: 0 4px 32px rgba(0,0,0,0.5);
  text-align: center;
  max-width: 96vw;
  max-height: 84vh;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#artview img {
  display: block;
  max-width: 85vw;
  max-height: 66vh;
  width: auto;
  height: auto;
  margin: 0 auto 18px auto;
  border-radius: 10px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.45);
  background: #222;
}

#artview .text {
  width: 100%;
  margin-top: 0;
  padding: 14px 0 0 0;
  border-top: 1px solid #333;
  font-size: 1.13em;
  color: #eee;
  text-align: center;
}

#artnav {
  margin-top: 18px;
  text-align: center;
}

#artnav button {
  color: #fff;
  background: #900;
  border: none;
  padding: 10px 22px;
  margin: 0 10px;
  border-radius: 6px;
  font-weight: bold;
  font-size: 1.08rem;
  cursor: pointer;
  transition: background 0.2s;
}

#artnav button:hover,
#artnav button.invalid {
  background: #c00;
}

#artnav #x {
  background: #333;
}

.censor {
  filter: blur(12px) grayscale(0.7);
  cursor: pointer;
}