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

:root {
  --ink-black: #0a0a0a;
  --deep-black: #050505;
  --dark-gray: #1a1a1a;
  --mid-gray: #3a3a3a;
  --old-paper: #e8e2d5;
  --yellowed: #d9d0bd;
  --blood-red: #8b0000;
  --faint-red: #3a0a0a;
  --terminal-green: #33ff33;
  --terminal-dim: #1a6b1a;
  --link-blue: #0000ee;
  --link-visited: #551a8b;
}

html, body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  font-family: 'Noto Serif SC', 'Songti SC', 'SimSun', serif;
  background: var(--deep-black);
  color: #fff;
  cursor: default;
}

body {
  position: relative;
  min-height: 100vh;
}

.page {
  display: none;
  width: 100%;
  min-height: 100vh;
  position: relative;
  animation: pageIn 0.3s ease-out;
}

.page.active {
  display: block;
}

@keyframes pageIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.chapter-indicator {
  position: fixed;
  top: 16px;
  left: 20px;
  z-index: 9990;
  font-family: 'Courier Prime', monospace;
  font-size: 12px;
  color: #666;
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: none;
  opacity: 0.7;
  transition: all 0.3s;
}

.chapter-indicator .chapter-label {
  color: var(--blood-red);
  letter-spacing: 2px;
}

.chapter-indicator .chapter-name {
  color: #999;
  letter-spacing: 1px;
}

.artifact-bar {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9990;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(10,10,10,0.85);
  border: 1px solid #333;
  padding: 8px 16px;
  font-family: 'Courier Prime', monospace;
  font-size: 12px;
  color: #aaa;
}

.artifact-label {
  color: #666;
  letter-spacing: 2px;
}

.artifact-slots {
  display: flex;
  gap: 6px;
}

.artifact-slot {
  width: 28px;
  height: 28px;
  border: 1px solid #333;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  transition: all 0.3s;
}

.artifact-slot.collected {
  border-color: var(--blood-red);
  background: rgba(139,0,0,0.2);
  box-shadow: 0 0 6px rgba(139,0,0,0.4);
}

.artifact-count {
  color: #888;
  margin-left: 4px;
}

.artifact-count span {
  color: var(--blood-red);
  font-weight: bold;
}

#noise-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  animation: noiseShift 0.3s steps(3) infinite;
}

@keyframes noiseShift {
  0% { transform: translate(0, 0); }
  33% { transform: translate(-5px, 3px); }
  66% { transform: translate(3px, -2px); }
  100% { transform: translate(-2px, -4px); }
}

#flash-static {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 9999;
  background: #fff;
  opacity: 0;
  transition: opacity 0.05s;
}

#flash-static.flash {
  opacity: 0.9;
  animation: staticFlash 0.15s steps(3);
}

@keyframes staticFlash {
  0% { background: #fff; opacity: 1; }
  50% { background: #000; opacity: 1; }
  100% { background: transparent; opacity: 0; }
}

#jumpscare-container {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 10000;
  pointer-events: none;
  display: none;
  align-items: center;
  justify-content: center;
  background: #000;
}

#jumpscare-container.show {
  display: flex;
  animation: jumpscareShake 0.3s;
}

#jumpscare-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.3) brightness(1.1);
}

@keyframes jumpscareShake {
  0%, 100% { transform: translate(0, 0); }
  10% { transform: translate(-10px, 5px) scale(1.05); }
  20% { transform: translate(10px, -5px) scale(1.02); }
  30% { transform: translate(-5px, 10px) scale(1.05); }
  40% { transform: translate(5px, -10px) scale(1.02); }
  50% { transform: translate(-10px, -5px) scale(1.05); }
  60% { transform: translate(10px, 5px) scale(1.02); }
  70% { transform: translate(-5px, -10px) scale(1.05); }
  80% { transform: translate(5px, 10px) scale(1.02); }
  90% { transform: translate(-10px, 5px) scale(1.03); }
}

#sound-prompt {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9997;
  background: rgba(0,0,0,0.7);
  color: #aaa;
  padding: 8px 14px;
  font-size: 12px;
  border: 1px solid #333;
  font-family: 'Courier Prime', monospace;
  animation: promptFade 2s ease-in-out infinite;
}

#sound-prompt.hidden {
  display: none;
}

@keyframes promptFade {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

#page-entry {
  background: var(--deep-black);
  overflow: hidden;
}

.entry-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-image: url('https://aka.doubaocdn.com/s/Hp2CcmnqRK');
  background-size: cover;
  background-position: center;
  filter: brightness(0.25) contrast(1.1) saturate(0.5);
  opacity: 0.7;
  animation: entryBreath 8s ease-in-out infinite;
}

@keyframes entryBreath {
  0%, 100% { opacity: 0.6; filter: brightness(0.25) contrast(1.1); }
  50% { opacity: 0.75; filter: brightness(0.3) contrast(1.15); }
}

.entry-vignette {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, transparent 20%, rgba(0,0,0,0.7) 70%, rgba(0,0,0,0.95) 100%);
  pointer-events: none;
}

.entry-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 40px 20px;
  text-align: center;
}

.entry-title {
  font-family: 'Courier Prime', 'Courier New', monospace;
  font-size: clamp(32px, 8vw, 72px);
  font-weight: 700;
  color: #fff;
  letter-spacing: 8px;
  margin-bottom: 30px;
  text-shadow: 0 0 20px rgba(255,255,255,0.1);
  min-height: 1.2em;
}

.entry-title .cursor {
  animation: cursorBlink 0.8s step-end infinite;
  color: var(--blood-red);
}

@keyframes cursorBlink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

.entry-subtitle {
  font-size: clamp(13px, 2vw, 16px);
  color: #999;
  line-height: 2;
  margin-bottom: 50px;
  letter-spacing: 2px;
}

.entry-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 100%;
  max-width: 380px;
}

#name-input {
  background: rgba(0,0,0,0.5);
  border: 1px solid #333;
  color: #ccc;
  padding: 14px 18px;
  font-size: 14px;
  font-family: inherit;
  letter-spacing: 1px;
  outline: none;
  transition: all 0.3s;
  text-align: center;
}

#name-input:focus {
  border-color: var(--blood-red);
  box-shadow: 0 0 10px rgba(139,0,0,0.3);
  color: #fff;
}

#name-input::placeholder {
  color: #555;
  font-style: italic;
}

#enter-btn {
  background: transparent;
  border: 1px solid #444;
  color: #aaa;
  padding: 14px 28px;
  font-size: 14px;
  font-family: inherit;
  letter-spacing: 4px;
  cursor: pointer;
  transition: all 0.3s;
}

#enter-btn:hover {
  background: var(--blood-red);
  border-color: var(--blood-red);
  color: #fff;
  box-shadow: 0 0 20px rgba(139,0,0,0.5);
}

.entry-morse {
  position: absolute;
  bottom: 80px;
  right: 30px;
  font-family: 'Courier Prime', monospace;
  font-size: 11px;
  color: #333;
  letter-spacing: 3px;
  animation: morseBlink 3s ease-in-out infinite;
}

@keyframes morseBlink {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.8; color: #555; }
}

.entry-statusbar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px 20px;
  background: rgba(0,0,0,0.8);
  border-top: 1px solid #222;
  font-family: 'Courier Prime', monospace;
  font-size: 11px;
  color: #666;
  display: flex;
  align-items: center;
  gap: 10px;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blood-red);
  animation: statusBlink 2s ease-in-out infinite;
}

@keyframes statusBlink {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; box-shadow: 0 0 6px var(--blood-red); }
}

.blog-header {
  background: var(--old-paper);
  border-bottom: 3px double #999;
  padding: 30px 20px 10px;
  text-align: center;
}

.blog-title {
  font-family: 'ZCOOL XiaoWei', 'Noto Serif SC', serif;
  font-size: 36px;
  font-weight: normal;
  color: #2a2a2a;
  margin-bottom: 8px;
  letter-spacing: 4px;
}

.blog-desc {
  font-size: 13px;
  color: #666;
  margin-bottom: 20px;
  font-style: italic;
}

.blog-nav {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding-top: 10px;
  border-top: 1px solid #bbb;
  flex-wrap: wrap;
}

.nav-link {
  color: var(--link-blue);
  text-decoration: none;
  font-size: 14px;
  padding: 6px 12px;
  font-family: 'Courier Prime', monospace;
}

.nav-link:hover {
  text-decoration: underline;
  background: rgba(0,0,238,0.05);
}

.nav-link.active {
  text-decoration: underline;
  font-weight: bold;
  color: var(--blood-red);
}

.blog-body {
  max-width: 1000px;
  margin: 0 auto;
  padding: 30px 20px;
  display: grid;
  grid-template-columns: 1fr 240px;
  gap: 30px;
  background: var(--old-paper);
  min-height: calc(100vh - 160px);
}

#page-home, #page-gallery, #page-guestbook,
#page-about, #page-memo, #page-plan {
  background: var(--old-paper);
  color: #1a1a1a;
}

#page-home .blog-header,
#page-gallery .blog-header,
#page-guestbook .blog-header,
#page-about .blog-header,
#page-memo .blog-header,
#page-plan .blog-header {
  background: var(--yellowed);
}

.blog-main {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.blog-post {
  background: #f5f0e5;
  border: 1px solid #c0b8a8;
  padding: 20px 24px;
  position: relative;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.05);
}

.blog-post.pinned {
  border-color: var(--blood-red);
  background: #f0e8d8;
}

.post-date {
  font-family: 'Courier Prime', monospace;
  font-size: 12px;
  color: #888;
  margin-bottom: 8px;
}

.blog-post.pinned .post-date {
  color: var(--blood-red);
}

.post-title {
  font-size: 20px;
  font-weight: normal;
  margin-bottom: 12px;
}

.post-title a {
  color: #1a1a1a;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.post-title a:hover {
  color: var(--blood-red);
  border-bottom-color: var(--blood-red);
}

.post-content {
  font-size: 14px;
  line-height: 2;
  color: #333;
}

.post-content p {
  margin-bottom: 8px;
}

.post-tag {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 11px;
  color: var(--blood-red);
  border: 1px solid var(--blood-red);
  padding: 2px 8px;
  font-family: 'Courier Prime', monospace;
}

.blog-sidebar {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sidebar-widget {
  background: #f5f0e5;
  border: 1px solid #c0b8a8;
  padding: 16px;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.05);
}

.sidebar-widget h3 {
  font-size: 14px;
  font-weight: bold;
  color: #333;
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid #c0b8a8;
  text-align: center;
}

.visitor-count {
  display: flex;
  justify-content: center;
  gap: 2px;
  margin-bottom: 10px;
}

.visitor-count span {
  display: inline-block;
  width: 18px;
  height: 24px;
  line-height: 24px;
  background: #1a1a1a;
  color: #33ff33;
  font-family: 'Courier Prime', monospace;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  border: 1px solid #000;
}

.visitor-text {
  text-align: center;
  font-size: 12px;
  color: #666;
  font-family: 'Courier Prime', monospace;
}

.visitor-num {
  color: var(--blood-red);
  font-weight: bold;
}

.sidebar-widget p {
  font-size: 12px;
  line-height: 1.8;
  color: #555;
}

.link-list {
  list-style: none;
  padding: 0;
}

.link-list li {
  padding: 4px 0;
  border-bottom: 1px dashed #ccc;
  font-size: 13px;
}

.link-list a {
  color: var(--link-blue);
  text-decoration: none;
}

.link-list a:hover {
  text-decoration: underline;
}

.link-dead a {
  color: #888;
  text-decoration: line-through;
  font-style: italic;
}

.link-dead a:hover {
  color: var(--blood-red);
  text-decoration: line-through;
}

.blog-footer {
  background: var(--yellowed);
  border-top: 1px solid #bbb;
  padding: 16px 20px;
  text-align: center;
  font-size: 12px;
  color: #777;
}

.blog-footer a {
  color: var(--link-blue);
  text-decoration: none;
}

.ascii-map {
  font-family: 'Courier Prime', monospace;
  font-size: 12px;
  line-height: 1.6;
  color: #555;
  background: #f0ebdd;
  padding: 16px;
  border: 1px solid #c0b8a8;
  white-space: pre;
  overflow-x: auto;
}

.gallery-body {
  max-width: 900px;
  margin: 0 auto;
  padding: 30px 20px;
  background: var(--old-paper);
  min-height: calc(100vh - 160px);
}

.gallery-intro {
  text-align: center;
  font-size: 14px;
  color: #666;
  margin-bottom: 30px;
  font-style: italic;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.photo-item {
  position: relative;
  background: #fff;
  padding: 8px;
  border: 1px solid #ccc;
  box-shadow: 2px 2px 8px rgba(0,0,0,0.1);
  cursor: pointer;
  transition: transform 0.3s;
}

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

.photo-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  filter: sepia(0.2) brightness(0.95);
}

.photo-caption {
  text-align: center;
  font-size: 12px;
  color: #888;
  padding: 8px 0 4px;
  font-style: italic;
}

.photo-hover-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--blood-red);
  font-size: 18px;
  font-weight: bold;
  opacity: 0;
  transition: opacity 0.3s;
  text-shadow: 0 0 10px rgba(0,0,0,0.8);
  pointer-events: none;
  letter-spacing: 2px;
}

.photo-item:hover .photo-hover-text {
  opacity: 1;
}

.static-photo .secret-number {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 48px;
  font-weight: bold;
  color: #fff;
  text-shadow: 0 0 20px rgba(0,0,0,0.8);
  opacity: 0;
  transition: opacity 2s ease-in-out;
  font-family: 'Courier Prime', monospace;
  letter-spacing: 8px;
  pointer-events: none;
}

.static-photo.enhanced img {
  filter: brightness(2.5) contrast(2);
  transition: filter 2s ease-in-out;
}

.static-photo.enhanced .secret-number {
  opacity: 1;
}

.enhance-btn {
  display: block;
  margin: 10px auto 0;
  background: #f5f0e5;
  border: 1px solid #999;
  color: #666;
  padding: 6px 16px;
  font-size: 12px;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.3s;
}

.enhance-btn:hover:not(:disabled) {
  background: var(--blood-red);
  color: #fff;
  border-color: var(--blood-red);
}

.enhance-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.gallery-hint {
  text-align: center;
  margin-top: 30px;
  font-size: 13px;
  color: #666;
  font-style: italic;
}

.guestbook-body {
  max-width: 800px;
  margin: 0 auto;
  padding: 30px 20px;
  background: var(--old-paper);
  min-height: calc(100vh - 160px);
}

.guestbook-intro {
  text-align: center;
  font-size: 14px;
  color: #666;
  margin-bottom: 30px;
  font-style: italic;
}

.message-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.message {
  background: #f5f0e5;
  border: 1px solid #c0b8a8;
  padding: 14px 18px;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.05);
}

.msg-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px dashed #ccc;
}

.msg-name {
  font-weight: bold;
  color: #2a2a2a;
  font-size: 14px;
}

.msg-date {
  font-family: 'Courier Prime', monospace;
  font-size: 11px;
  color: #999;
}

.msg-content {
  font-size: 13px;
  line-height: 1.8;
  color: #333;
}

.message-admin .msg-name {
  color: var(--blood-red);
}

.message-new {
  border-color: var(--blood-red);
  animation: msgNewGlow 2s ease-in-out infinite;
}

@keyframes msgNewGlow {
  0%, 100% { box-shadow: 2px 2px 0 rgba(0,0,0,0.05); }
  50% { box-shadow: 0 0 12px rgba(139,0,0,0.4); }
}

.message-new .msg-name {
  color: var(--blood-red);
  letter-spacing: 4px;
}

.msg-secret {
  font-family: 'Courier Prime', monospace;
  font-size: 24px;
  font-weight: bold;
  color: var(--blood-red);
  text-align: center;
  letter-spacing: 8px;
}

.msg-caesar {
  font-family: 'Courier Prime', monospace;
  letter-spacing: 1px;
  color: #555;
}

.msg-hint {
  margin-top: 6px;
  font-size: 11px;
  color: #999;
  font-style: italic;
}

.guestbook-note {
  text-align: center;
  margin-top: 30px;
  font-size: 12px;
  color: #999;
  font-style: italic;
}

#page-archive {
  background: #0a0a0a;
  padding: 20px;
  min-height: 100vh;
}

.archive-terminal {
  max-width: 800px;
  margin: 40px auto;
  background: #000;
  border: 1px solid #333;
  border-radius: 6px;
  box-shadow: 0 0 40px rgba(0,0,0,0.8), 0 0 60px rgba(51,255,51,0.05);
  overflow: hidden;
}

.terminal-header {
  background: #1a1a1a;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #333;
}

.terminal-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.terminal-dot.red { background: #ff5f57; }
.terminal-dot.yellow { background: #ffbd2e; }
.terminal-dot.green { background: #28ca41; }

.terminal-title {
  margin-left: 8px;
  color: #888;
  font-family: 'Courier Prime', monospace;
  font-size: 12px;
}

.terminal-body {
  padding: 20px;
  font-family: 'Courier Prime', 'Courier New', monospace;
  font-size: 14px;
  line-height: 1.8;
  color: var(--terminal-green);
  min-height: 400px;
  max-height: 70vh;
  overflow-y: auto;
}

.term-line {
  margin-bottom: 2px;
}

.term-line.error-msg {
  color: #ff4444;
}

.term-line.hint-line {
  color: #666;
  font-style: italic;
}

.password-input-area {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0;
}

.term-prompt {
  color: var(--terminal-green);
}

#archive-password, #terminal-input {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--terminal-dim);
  color: var(--terminal-green);
  font-family: inherit;
  font-size: inherit;
  outline: none;
  flex: 1;
  padding: 4px 2px;
}

#submit-password {
  background: transparent;
  border: 1px solid var(--terminal-dim);
  color: var(--terminal-green);
  padding: 4px 12px;
  font-family: inherit;
  font-size: 12px;
  cursor: pointer;
}

#submit-password:hover {
  background: var(--terminal-dim);
}

.terminal-input-line {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 10px;
}

.terminal-body::-webkit-scrollbar {
  width: 6px;
}
.terminal-body::-webkit-scrollbar-track {
  background: #0a0a0a;
}
.terminal-body::-webkit-scrollbar-thumb {
  background: var(--terminal-dim);
}

.archive-shake {
  animation: archiveShake 0.3s;
}

@keyframes archiveShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

.file-content {
  border-left: 2px solid var(--terminal-dim);
  padding-left: 16px;
  margin: 10px 0;
  white-space: pre-wrap;
  color: #aaffaa;
}

.file-title {
  color: #ffff66;
  font-weight: bold;
  margin-top: 10px;
}

.term-command {
  color: #fff;
}

.term-output {
  color: #aaffaa;
}

.term-error {
  color: #ff6666;
}

.term-help-cmd {
  color: #ffff66;
  display: inline-block;
  width: 120px;
}

.archive-footer {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 10px;
}

.btn-ghost {
  background: transparent;
  border: 1px solid #444;
  color: #888;
  padding: 8px 20px;
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s;
}

.btn-ghost:hover {
  border-color: var(--blood-red);
  color: #ccc;
}

#page-map {
  background: #0a0808;
  min-height: 100vh;
  padding: 40px 20px;
}

.map-bg {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background-image: url('https://aka.doubaocdn.com/s/Hp2CcmnqRK');
  background-size: cover;
  background-position: center;
  filter: brightness(0.1) contrast(1.2) saturate(0.3);
  opacity: 0.3;
  z-index: 0;
}

.map-container {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.map-title {
  font-family: 'Courier Prime', monospace;
  font-size: 28px;
  color: #ccc;
  letter-spacing: 8px;
  margin-bottom: 10px;
}

.map-subtitle {
  color: #666;
  font-size: 13px;
  margin-bottom: 30px;
  font-style: italic;
}

.map-ascii {
  font-family: 'Courier Prime', monospace;
  font-size: 14px;
  line-height: 1.8;
  color: #888;
  background: rgba(0,0,0,0.6);
  padding: 20px;
  border: 1px solid #333;
  white-space: pre;
  overflow-x: auto;
  text-align: left;
  margin: 0 auto 30px;
  max-width: 600px;
}

.map-locations {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  max-width: 600px;
  margin: 0 auto 20px;
}

.loc-btn {
  background: rgba(20,20,20,0.8);
  border: 1px solid #444;
  color: #aaa;
  padding: 12px 8px;
  font-family: inherit;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s;
}

.loc-btn:hover {
  border-color: var(--blood-red);
  color: #fff;
  background: rgba(139,0,0,0.2);
}

.loc-btn.completed {
  border-color: var(--terminal-dim);
  color: var(--terminal-green);
  background: rgba(26,107,26,0.15);
}

.loc-btn.loc-locked {
  opacity: 0.5;
  cursor: not-allowed;
}

.loc-btn.loc-locked:hover {
  border-color: #444;
  color: #aaa;
  background: rgba(20,20,20,0.8);
}

.loc-btn.loc-locked.unlocked {
  opacity: 1;
  cursor: pointer;
  animation: locUnlock 1s ease-in-out infinite;
}

@keyframes locUnlock {
  0%, 100% { box-shadow: 0 0 0 rgba(139,0,0,0); }
  50% { box-shadow: 0 0 16px rgba(139,0,0,0.6); }
}

.loc-btn.loc-shortcut {
  grid-column: 1 / -1;
  background: rgba(40,20,20,0.8);
  border: 1px dashed #663;
  color: #cc8;
  font-style: italic;
  animation: shortcutGlow 2.5s ease-in-out infinite;
}

@keyframes shortcutGlow {
  0%, 100% { box-shadow: 0 0 0 rgba(204,204,136,0); }
  50% { box-shadow: 0 0 12px rgba(204,204,136,0.4); }
}

.loc-btn.loc-shortcut:hover {
  border-color: #cc8;
  color: #ffc;
  background: rgba(60,40,20,0.6);
}

.map-hint {
  color: #666;
  font-size: 13px;
  margin-bottom: 30px;
}

.shortcut-warning {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 10001;
  background: rgba(0,0,0,0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: swFadeIn 0.4s ease-out;
}

@keyframes swFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.shortcut-warning-inner {
  text-align: center;
  max-width: 420px;
  padding: 40px 30px;
  border: 1px solid #553;
  background: rgba(20,15,10,0.95);
}

.sw-title {
  font-size: 20px;
  color: #cc8;
  margin-bottom: 24px;
  letter-spacing: 4px;
}

.sw-text {
  color: #aaa;
  margin-bottom: 10px;
  font-size: 15px;
}

.sw-sub {
  color: #8b0000;
  font-style: italic;
  margin-top: 16px;
  margin-bottom: 28px;
}

.sw-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
}

.map-back {
  margin-top: 20px;
}

.page-location {
  min-height: 100vh;
  position: relative;
  padding: 40px 20px;
}

.loc-bg {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: brightness(0.35) contrast(1.1) saturate(0.6);
  z-index: 0;
}

.loc-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.5), rgba(0,0,0,0.8));
  z-index: 1;
}

.loc-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  color: #ddd;
}

.loc-title {
  font-size: 32px;
  letter-spacing: 8px;
  margin-bottom: 30px;
  color: #fff;
  text-shadow: 0 0 20px rgba(0,0,0,0.8);
  font-family: 'ZCOOL XiaoWei', serif;
}

.loc-scene {
  background: rgba(0,0,0,0.6);
  border: 1px solid #333;
  padding: 24px;
  margin-bottom: 30px;
  text-align: left;
  line-height: 2;
  font-size: 14px;
  color: #ccc;
}

.loc-scene p {
  margin-bottom: 8px;
}

.loc-puzzle {
  background: rgba(0,0,0,0.7);
  border: 1px solid #444;
  padding: 24px;
  margin-bottom: 20px;
}

.puzzle-hint {
  color: #aaa;
  font-size: 14px;
  margin-bottom: 16px;
  font-style: italic;
}

.puzzle-tip {
  color: #666;
  font-size: 12px;
  margin-top: 8px;
  font-style: italic;
}

.puzzle-input {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.puzzle-input input {
  background: rgba(0,0,0,0.6);
  border: 1px solid #555;
  color: #ddd;
  padding: 10px 16px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
  width: 280px;
  transition: all 0.3s;
}

.puzzle-input input:focus {
  border-color: var(--blood-red);
  box-shadow: 0 0 10px rgba(139,0,0,0.3);
}

.puzzle-input button {
  background: transparent;
  border: 1px solid var(--blood-red);
  color: #ccc;
  padding: 10px 24px;
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.3s;
}

.puzzle-input button:hover {
  background: var(--blood-red);
  color: #fff;
}

.puzzle-feedback {
  margin-top: 12px;
  font-size: 13px;
  min-height: 20px;
}

.puzzle-feedback.correct {
  color: var(--terminal-green);
}

.puzzle-feedback.wrong {
  color: #ff4444;
}

.loc-memory {
  background: rgba(139,0,0,0.15);
  border: 1px solid var(--blood-red);
  padding: 24px;
  margin-bottom: 20px;
  animation: memoryGlow 2s ease-in-out infinite;
}

@keyframes memoryGlow {
  0%, 100% { box-shadow: 0 0 0 rgba(139,0,0,0); }
  50% { box-shadow: 0 0 20px rgba(139,0,0,0.4); }
}

.memory-title {
  color: var(--blood-red);
  font-size: 16px;
  letter-spacing: 4px;
  margin-bottom: 16px;
}

.memory-text {
  font-size: 15px;
  color: #e0d0d0;
  font-style: italic;
  margin-bottom: 16px;
  line-height: 1.8;
}

.memory-artifact {
  color: #ffaaaa;
  font-size: 13px;
}

.memory-artifact strong {
  color: var(--blood-red);
  font-weight: bold;
}

.loc-back-btn {
  margin-top: 20px;
}

.chalkboard-wrap {
  position: relative;
  width: 400px;
  max-width: 100%;
  margin: 0 auto;
  border: 8px solid #5a3a1a;
  border-radius: 4px;
  background: #1a2a1a;
}

#chalkboard-canvas {
  display: block;
  width: 100%;
  height: auto;
  cursor: crosshair;
  position: relative;
  z-index: 1;
}

.chalkboard-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  font-size: 24px;
  letter-spacing: 8px;
  font-family: 'ZCOOL XiaoWei', serif;
  z-index: 0;
  text-shadow: 0 0 4px rgba(255,255,255,0.3);
}

.morse-light-container {
  padding: 20px;
  text-align: center;
}

.morse-light {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #330000;
  margin: 0 auto 12px;
  box-shadow: 0 0 0 rgba(255,0,0,0);
  transition: all 0.05s;
}

.morse-light.on {
  background: #ff0000;
  box-shadow: 0 0 30px rgba(255,0,0,0.8), 0 0 60px rgba(255,0,0,0.4);
}

.morse-label {
  color: #666;
  font-size: 12px;
  margin-bottom: 12px;
}

.morse-chart {
  background: rgba(10,10,10,0.6);
  border: 1px solid #333;
  padding: 12px 16px;
  margin: 12px auto;
  max-width: 400px;
  text-align: center;
  font-family: 'Courier Prime', monospace;
}

.morse-chart-title {
  color: #888;
  font-size: 12px;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.morse-chart-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px 4px;
  color: #aaa;
  font-size: 12px;
  margin-bottom: 8px;
}

.morse-chart-note {
  color: #666;
  font-size: 11px;
  margin-top: 4px;
}

.btn-small {
  background: transparent;
  border: 1px solid #555;
  color: #aaa;
  padding: 4px 12px;
  font-size: 12px;
  font-family: inherit;
  cursor: pointer;
}

.btn-small:hover {
  border-color: var(--blood-red);
  color: #fff;
}

.fog-mirror {
  position: relative;
  width: 300px;
  max-width: 100%;
  height: 200px;
  margin: 0 auto;
  border: 8px solid #aaa;
  border-radius: 4px;
  background: linear-gradient(135deg, #333, #555);
  overflow: hidden;
  cursor: pointer;
}

.fog-layer {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(200,200,200,0.6);
  backdrop-filter: blur(2px);
  z-index: 2;
  transition: opacity 0.5s;
}

.fog-mirror.fogged-out .fog-layer {
  opacity: 0;
}

.fog-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #8b0000;
  font-size: 28px;
  font-weight: bold;
  letter-spacing: 6px;
  z-index: 1;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
  font-family: 'ZCOOL XiaoWei', serif;
}

.fog-mirror.fogged-out .fog-text {
  opacity: 1;
}

.open-book {
  background: #f5e8d0;
  border: 2px solid #9a7a4a;
  padding: 24px 32px;
  max-width: 500px;
  margin: 0 auto;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.2), 4px 4px 10px rgba(0,0,0,0.3);
}

.book-text {
  font-family: 'Noto Serif SC', serif;
  font-size: 16px;
  line-height: 2.2;
  color: #3a2a1a;
  letter-spacing: 2px;
}

.book-mark {
  color: #8b0000;
  text-decoration: underline;
  text-decoration-style: wavy;
  text-underline-offset: 3px;
  font-weight: bold;
}

.book-note {
  margin-top: 16px;
  font-size: 12px;
  color: #8b7355;
  font-style: italic;
  text-align: right;
}

.terminal-screen {
  background: #000;
  border: 2px solid #00aa00;
  padding: 20px;
  max-width: 400px;
  margin: 0 auto;
  font-family: 'Courier Prime', monospace;
  box-shadow: 0 0 20px rgba(0,170,0,0.2), inset 0 0 40px rgba(0,170,0,0.1);
}

.terminal-line {
  color: #33ff33;
  font-size: 20px;
  letter-spacing: 4px;
  margin-bottom: 8px;
}

.terminal-cursor {
  color: #33ff33;
  animation: cursorBlink 0.8s step-end infinite;
  font-size: 20px;
}

#page-basement {
  background: var(--deep-black);
  min-height: 100vh;
  overflow: hidden;
}

.basement-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-image: url('https://aka.doubaocdn.com/s/GqkeazkuMW');
  background-size: cover;
  background-position: center;
  filter: brightness(0.2) contrast(1.3) saturate(0.4) hue-rotate(-10deg);
  opacity: 0.6;
  animation: basementBreath 4s ease-in-out infinite;
}

@keyframes basementBreath {
  0%, 100% { opacity: 0.5; filter: brightness(0.2) contrast(1.3) saturate(0.4); }
  50% { opacity: 0.7; filter: brightness(0.25) contrast(1.4) saturate(0.5); }
}

.basement-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at center, rgba(139,0,0,0.15) 0%, rgba(0,0,0,0.8) 70%, rgba(0,0,0,0.95) 100%);
  pointer-events: none;
  animation: basementVignette 6s ease-in-out infinite;
}

@keyframes basementVignette {
  0%, 100% { opacity: 0.9; }
  50% { opacity: 0.7; }
}

.basement-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 40px 20px;
  text-align: center;
}

.basement-text {
  max-width: 600px;
  font-size: 18px;
  line-height: 2.5;
  color: #ccc;
  text-shadow: 0 0 10px rgba(0,0,0,0.8);
}

.basement-text p {
  margin-bottom: 20px;
  opacity: 0;
  animation: textFadeIn 1s ease-out forwards;
}

@keyframes textFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.player-name {
  color: var(--blood-red);
  font-weight: bold;
  letter-spacing: 2px;
  text-shadow: 0 0 10px rgba(139,0,0,0.5);
}

.from-it {
  color: #ff6666;
  font-style: italic;
  text-shadow: 0 0 15px rgba(255,0,0,0.3);
}

.basement-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 16px;
  text-align: center;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  z-index: 3;
}

.shutdown-text {
  font-family: 'Courier Prime', monospace;
  font-size: 14px;
  color: #8b0000;
  letter-spacing: 2px;
}

#countdown {
  font-weight: bold;
  font-size: 18px;
  letter-spacing: 4px;
}

.basement-end {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.end-text {
  font-size: 48px;
  color: var(--blood-red);
  letter-spacing: 12px;
  animation: endGlow 3s ease-in-out infinite;
  text-shadow: 0 0 20px rgba(139,0,0,0.5);
}

@keyframes endGlow {
  0%, 100% { opacity: 0.5; text-shadow: 0 0 20px rgba(139,0,0,0.3); }
  50% { opacity: 1; text-shadow: 0 0 40px rgba(139,0,0,0.8); }
}

.basement-room {
  position: relative;
  z-index: 5;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
}

.room-title {
  font-size: 28px;
  color: #fff;
  letter-spacing: 6px;
  margin-bottom: 20px;
  font-family: 'ZCOOL XiaoWei', serif;
  text-shadow: 0 0 20px rgba(139,0,0,0.5);
}

.room-desc {
  color: #aaa;
  font-size: 14px;
  margin-bottom: 30px;
  font-style: italic;
}

.photo-sort {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.sort-card {
  background: rgba(0,0,0,0.6);
  border: 1px solid #444;
  padding: 12px;
  width: 180px;
  transition: all 0.3s;
}

.sort-card.placed {
  border-color: var(--terminal-green);
  opacity: 0.6;
}

.sort-img {
  width: 100%;
  height: 120px;
  background-size: cover;
  background-position: center;
  margin-bottom: 8px;
  filter: brightness(0.7);
}

.sort-card p {
  color: #ccc;
  font-size: 12px;
  margin-bottom: 8px;
}

.sort-btn {
  background: transparent;
  border: 1px solid #555;
  color: #aaa;
  padding: 4px 8px;
  font-size: 11px;
  font-family: inherit;
  cursor: pointer;
  width: 100%;
}

.sort-btn:hover {
  border-color: var(--blood-red);
  color: #fff;
}

.sort-result {
  color: #ccc;
  font-size: 14px;
  margin-bottom: 16px;
  font-family: 'Courier Prime', monospace;
  letter-spacing: 4px;
}

#sort-order {
  color: var(--blood-red);
  font-weight: bold;
}

.sort-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 16px;
}

.btn-big {
  padding: 12px 32px;
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
  border: 1px solid;
  transition: all 0.3s;
  letter-spacing: 2px;
}

.btn-red {
  background: transparent;
  border-color: var(--blood-red);
  color: #ccc;
}

.btn-red:hover {
  background: var(--blood-red);
  color: #fff;
  box-shadow: 0 0 20px rgba(139,0,0,0.5);
}

.sort-feedback {
  margin-top: 12px;
  font-size: 13px;
  min-height: 20px;
}

.mirror-room-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  filter: brightness(0.3) contrast(1.1);
  opacity: 0.4;
  z-index: -1;
}

#room-b {
  position: relative;
  z-index: 5;
}

.mirror-text-container {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.mirror-text {
  font-size: 36px;
  color: var(--blood-red);
  letter-spacing: 12px;
  transform: scaleX(-1);
  text-shadow: 0 0 20px rgba(139,0,0,0.5);
  font-family: 'ZCOOL XiaoWei', serif;
  padding: 40px;
  animation: mirrorFlicker 4s ease-in-out infinite;
}

@keyframes mirrorFlicker {
  0%, 100% { opacity: 0.8; }
  50% { opacity: 1; }
  52% { opacity: 0.5; }
  54% { opacity: 0.9; }
}

.photo-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 600px;
  margin: 0 auto 20px;
}

.wall-photo {
  width: 100%;
  padding-bottom: 100%;
  background-size: cover;
  background-position: center;
  border: 2px solid #333;
  cursor: pointer;
  filter: brightness(0.7);
  transition: all 0.3s;
}

.wall-photo:hover {
  filter: brightness(1);
  border-color: var(--blood-red);
  transform: scale(1.05);
}

.wall-photo.wrong-click {
  animation: wrongShake 0.3s;
}

@keyframes wrongShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-3px); }
  75% { transform: translateX(3px); }
}

.basement-ending {
  position: relative;
  z-index: 6;
  max-width: 700px;
  margin: 0 auto;
  padding: 40px 20px;
  text-align: center;
}

.ending-text {
  color: #ccc;
  font-size: 15px;
  line-height: 2.2;
  text-align: left;
  max-width: 600px;
  margin: 0 auto;
}

.ending-text p {
  margin-bottom: 12px;
  opacity: 0;
}

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

  .blog-sidebar {
    order: -1;
  }

  .photo-grid {
    grid-template-columns: 1fr;
  }

  .map-locations {
    grid-template-columns: repeat(2, 1fr);
  }

  .chapter-indicator {
    top: 10px;
    left: 10px;
    font-size: 10px;
  }

  .artifact-bar {
    bottom: 10px;
    padding: 6px 10px;
    font-size: 10px;
    gap: 6px;
  }

  .artifact-slot {
    width: 22px;
    height: 22px;
    font-size: 11px;
  }

  .entry-title {
    letter-spacing: 4px;
  }

  .loc-title {
    font-size: 24px;
    letter-spacing: 4px;
  }

  .photo-wall {
    grid-template-columns: repeat(2, 1fr);
  }

  .sort-card {
    width: 140px;
  }

  .sort-img {
    height: 90px;
  }

  .mirror-text {
    font-size: 24px;
    letter-spacing: 6px;
  }

  .end-text {
    font-size: 32px;
    letter-spacing: 8px;
  }

  .map-ascii {
    font-size: 11px;
    padding: 12px;
  }

  .chalkboard-wrap {
    width: 100%;
  }

  .puzzle-input {
    flex-direction: column;
    align-items: center;
  }

  .puzzle-input input {
    width: 100%;
  }
}

.page-indicator {
  position: fixed;
  bottom: 18px;
  right: 20px;
  z-index: 9990;
  font-family: 'Courier Prime', monospace;
  font-size: 11px;
  color: rgba(120, 120, 120, 0.55);
  letter-spacing: 1.5px;
  pointer-events: none;
  transition: color 0.3s;
}

.page-indicator.glitch {
  color: #8b0000;
  animation: pageGlitch 0.15s steps(2);
}

@keyframes pageGlitch {
  0% { transform: translate(0, 0); color: #8b0000; }
  25% { transform: translate(2px, -1px); color: #fff; }
  50% { transform: translate(-1px, 1px); color: #8b0000; }
  75% { transform: translate(1px, 1px); color: #fff; }
  100% { transform: translate(0, 0); color: rgba(120,120,120,0.55); }
}

.linchi-greeting {
  color: #8b0000;
  font-size: 14px;
  letter-spacing: 3px;
  margin-top: 16px;
  text-align: center;
  font-family: 'ZCOOL XiaoWei', serif;
  animation: linchiShiver 0.1s steps(3) infinite;
  text-shadow: 0 0 10px rgba(139,0,0,0.4);
}

@keyframes linchiShiver {
  0%, 100% { transform: translateX(0); }
  33% { transform: translateX(1px); }
  66% { transform: translateX(-1px); }
}

body.linchi-branch .post-title::after {
  content: '（你写的。你忘了吗？）';
  display: block;
  font-size: 10px;
  color: #999;
  font-weight: normal;
  letter-spacing: 1px;
  margin-top: 4px;
  font-style: italic;
  opacity: 0.7;
}

.message-linchi .msg-name {
  color: #8b0000;
  letter-spacing: 2px;
}

.message-linchi .msg-content {
  color: #5a1010;
  font-style: italic;
}

.message-admin-two {
  border-color: #8b0000;
  animation: msgNewGlow 3s ease-in-out infinite;
}

.message-admin-two .msg-name {
  color: #8b0000;
  letter-spacing: 2px;
}

.twist-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: #000;
  z-index: 9995;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.twist-overlay.show {
  opacity: 1;
  pointer-events: all;
}

.twist-overlay p {
  color: #8b0000;
  font-size: 22px;
  letter-spacing: 4px;
  text-align: center;
  max-width: 600px;
  line-height: 2;
  font-family: 'ZCOOL XiaoWei', serif;
  text-shadow: 0 0 20px rgba(139,0,0,0.5);
}

.wall-twist-text {
  text-align: center;
  color: #ff8888;
  font-size: 15px;
  font-style: italic;
  margin: 16px 0;
  line-height: 1.8;
  animation: twistFadeIn 1.5s ease-out;
}

@keyframes twistFadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

#jumpscare-container.ending-c .show {
  animation: none;
}

#jumpscare-container.ending-c #jumpscare-img {
  animation: faceSoft 3s ease-out forwards;
}

@keyframes faceSoft {
  0% { filter: contrast(1.3) brightness(1.1) blur(0px); transform: scale(1); }
  60% { filter: contrast(1) brightness(0.9) blur(2px); transform: scale(1.02); }
  100% { filter: contrast(0.9) brightness(0.7) blur(4px); transform: scale(1); opacity: 0.8; }
}

.ending-c-text {
  text-align: center;
  color: #e0c0c0;
}

.ending-c-text p {
  margin-bottom: 20px;
  line-height: 2.2;
  font-size: 15px;
}

.ending-c-home {
  font-size: 42px;
  color: #d4a0a0;
  letter-spacing: 12px;
  margin: 40px 0;
  font-family: 'ZCOOL XiaoWei', serif;
  text-shadow: 0 0 30px rgba(139,0,0,0.4);
  animation: homeGlow 4s ease-in-out infinite;
}

@keyframes homeGlow {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.final-twist-text {
  color: #ffaaaa !important;
  font-style: italic !important;
  text-align: center !important;
  margin-top: 30px !important;
  letter-spacing: 2px;
}


[data-custom-element="doubao-watermark"],
[data-custom-element="doubao-watermark-mobile"] {
  display: none !important;
}
