body {
  background-color: #05010d;
  background-image:
    linear-gradient(rgba(255, 0, 200, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 242, 0.05) 1px, transparent 1px);
  background-size: 24px 24px;
  color: #00fff2;
  font-family: "Segoe UI", "Consolas", monospace, sans-serif;
  margin: 0;
  padding: 20px;
}

.page {
  max-width: 700px;
  margin: 0 auto;
  background-color: #0a0416;
  border: 2px solid #ff00c8;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 0 24px rgba(255, 0, 200, 0.35), 0 0 48px rgba(0, 255, 242, 0.15);
}

.glitch-title {
  text-align: center;
  color: #ffffff;
  font-size: 1.6em;
  font-weight: bold;
  letter-spacing: 2px;
  text-shadow: 2px 0 #ff00c8, -2px 0 #00fff2;
  animation: glitch 2.5s infinite;
}

@keyframes glitch {
  0%, 92%, 100% { transform: translate(0, 0); }
  93% { transform: translate(-2px, 1px); }
  95% { transform: translate(2px, -1px); }
  97% { transform: translate(-1px, 0); }
}

.neon-frame {
  border: 1px solid #00fff2;
  border-radius: 6px;
  padding: 6px 10px;
  text-align: center;
  color: #ff00c8;
  font-size: 12px;
  margin-bottom: 12px;
  box-shadow: inset 0 0 12px rgba(0, 255, 242, 0.3);
}

.nav-bar {
  text-align: center;
  margin-bottom: 12px;
}

.nav-bar a {
  color: #00fff2;
  text-decoration: none;
  border-bottom: 1px dotted #ff00c8;
}

.era-toggle-form {
  text-align: center;
  margin-bottom: 12px;
}

.era-toggle-button {
  display: inline-block;
  text-decoration: none;
  background: linear-gradient(90deg, #ff00c8, #00fff2);
  border: none;
  border-radius: 999px;
  color: #05010d;
  font-weight: bold;
  padding: 6px 16px;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(255, 0, 200, 0.6);
}

.badges {
  text-align: center;
  margin-bottom: 12px;
}

.badge {
  display: inline-block;
  background-color: #05010d;
  color: #00fff2;
  font-size: 11px;
  padding: 3px 8px;
  margin: 2px;
  border: 1px solid #ff00c8;
  border-radius: 999px;
  font-family: "Consolas", monospace;
}

.chat-window {
  background-color: #0a0416;
  border: 1px solid #00fff2;
  border-radius: 6px;
  height: 120px;
  overflow-y: auto;
  padding: 8px;
  font-family: "Consolas", monospace;
  font-size: 13px;
  margin-bottom: 8px;
  box-shadow: inset 0 0 20px rgba(0, 255, 242, 0.15);
}

.chat-line {
  margin-bottom: 4px;
}

.chat-label {
  font-weight: bold;
  margin-right: 4px;
}

.chat-user .chat-label {
  color: #00fff2;
}

.chat-model .chat-label {
  color: #ff00c8;
}

.chat-text {
  color: #e8e8ff;
}

.chat-form {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}

.chat-form input {
  flex: 1;
  font-family: "Consolas", monospace;
  padding: 6px;
  background-color: #05010d;
  border: 1px solid #00fff2;
  border-radius: 4px;
  color: #e8e8ff;
}

.chat-form button,
.guestbook-form button {
  background: linear-gradient(90deg, #ff00c8, #00fff2);
  border: none;
  border-radius: 4px;
  color: #05010d;
  font-weight: bold;
  cursor: pointer;
  padding: 0 12px;
}

.dashed {
  border: none;
  border-top: 1px dashed #ff00c8;
  margin: 12px 0;
}

.counter-line {
  text-align: center;
  color: #e8e8ff;
}

.counter {
  background-color: #05010d;
  color: #00fff2;
  font-family: "Consolas", monospace;
  padding: 2px 6px;
  border: 1px solid #00fff2;
  border-radius: 4px;
}

.footer-note {
  text-align: center;
  font-size: 11px;
  color: #7d7d9c;
}

.guestbook-form label {
  display: block;
  margin-bottom: 8px;
  color: #e8e8ff;
}

.guestbook-form input,
.guestbook-form textarea {
  width: 100%;
  font-family: inherit;
  background-color: #05010d;
  border: 1px solid #00fff2;
  border-radius: 4px;
  color: #e8e8ff;
  padding: 4px;
  box-sizing: border-box;
}

.guestbook-entries {
  color: #e8e8ff;
}

.guestbook-entry {
  border-bottom: 1px dashed #ff00c8;
  padding: 6px 0;
}

.entry-date {
  font-size: 11px;
  color: #7d7d9c;
}

.holo-stage {
  position: relative;
  height: 400px;
  margin-bottom: 8px;
  border: 1px solid #00fff2;
  border-radius: 6px;
  overflow: hidden;
  background: radial-gradient(ellipse at 50% 62%, rgba(0, 255, 242, 0.10), transparent 55%), #020108;
}

.holo-caption-box {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  max-height: 48%;
  overflow-y: auto;
  text-align: center;
  padding: 28px 16px 10px;
  background: linear-gradient(180deg, rgba(2, 1, 8, 0) 0%, rgba(2, 1, 8, 0.82) 22%, rgba(2, 1, 8, 0.94) 100%);
}

.holo-caption-tag {
  color: #ff00c8;
  font-size: 10px;
  letter-spacing: 2px;
  text-shadow: 0 0 8px #ff00c8;
  margin-bottom: 6px;
}

.holo-caption-line {
  color: #eafcff;
  font-family: "Consolas", monospace;
  font-size: 13px;
  line-height: 1.6;
  text-shadow: 0 0 6px #00fff2;
}
