body {
  background-color: #0d090b;
  background-image: radial-gradient(circle at 50% 0%, #1a0d13 0%, #0d090b 70%);
  color: #efe3e8;
  font-family: Verdana, Geneva, sans-serif;
  font-size: 13px;
  margin: 0;
  padding: 20px 10px;
}

#wrapper {
  width: 900px;
  max-width: 96%;
  margin: 0 auto;
  border: 1px solid #9e1b32;
  outline: 1px solid #3a1522;
  outline-offset: 3px;
  background-color: #120b0f;
}

#header {
  border-bottom: 1px dotted #e87aa4;
  padding: 26px 20px 18px;
  text-align: center;
  background-image: linear-gradient(180deg, #1e0f16, #120b0f);
}

#header h1 {
  font-family: 'Times New Roman', Georgia, serif;
  font-style: italic;
  font-weight: normal;
  font-size: 34px;
  letter-spacing: 4px;
  color: #e87aa4;
  margin: 0;
  text-shadow: 0 0 14px #9e1b32;
}

#header .subtitle {
  color: #a06478;
  font-size: 11px;
  letter-spacing: 3px;
  margin-top: 6px;
}

.marquee-bar {
  background: #1a0d13;
  border-top: 1px solid #3a1522;
  border-bottom: 1px solid #3a1522;
  color: #c94f72;
  font-family: 'Courier New', monospace;
  font-size: 12px;
  padding: 4px 0;
}

#columns { display: flex; }

#sidebar {
  width: 200px;
  flex-shrink: 0;
  border-right: 1px dotted #5c2438;
  padding: 16px 14px;
}

#content {
  flex-grow: 1;
  padding: 20px 26px 30px;
  min-width: 0;
}

.box {
  border: 1px solid #5c2438;
  background: #170d12;
  margin-bottom: 16px;
  padding: 10px 12px;
  font-size: 12px;
}

.box h3 {
  font-family: 'Times New Roman', serif;
  font-style: italic;
  font-weight: normal;
  font-size: 15px;
  color: #e87aa4;
  margin: 0 0 8px;
  border-bottom: 1px dotted #5c2438;
  padding-bottom: 4px;
}

.nav a {
  display: block;
  color: #efe3e8;
  text-decoration: none;
  padding: 4px 6px;
  font-size: 12px;
}

.nav a:hover {
  background: #2a1220;
  color: #ff9ec0;
  padding-left: 12px;
}

.nav a::before { content: "✿ "; color: #9e1b32; }

.status b { color: #c94f72; font-weight: normal; }

h2 {
  font-family: 'Times New Roman', Georgia, serif;
  font-style: italic;
  font-weight: normal;
  font-size: 24px;
  color: #e87aa4;
  border-bottom: 1px dotted #9e1b32;
  padding-bottom: 6px;
  margin-top: 0;
}

h4 {
  color: #c94f72;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

p { line-height: 1.7; }

a { color: #ff9ec0; }
a:visited { color: #b06a97; }
a:hover { color: #ffffff; background: #9e1b32; text-decoration: none; }

.divider {
  text-align: center;
  color: #9e1b32;
  letter-spacing: 8px;
  margin: 24px 0;
  font-size: 13px;
}

.tag {
  font-family: 'Courier New', monospace;
  font-size: 11px;
  color: #0d090b;
  background: #e87aa4;
  padding: 1px 5px;
}

blockquote {
  border-left: 2px solid #9e1b32;
  margin: 16px 0 16px 6px;
  padding: 4px 16px;
  color: #c9a9b8;
  font-family: 'Times New Roman', serif;
  font-style: italic;
  font-size: 15px;
}

.post-card {
  border: 1px solid #3a1522;
  background: #170d12;
  padding: 14px 18px;
  margin-bottom: 16px;
}

.post-card .date {
  font-family: 'Courier New', monospace;
  font-size: 11px;
  color: #a06478;
}

.post-card h3 { margin: 4px 0 8px; font-weight: normal; }
.post-card h3 a { text-decoration: none; font-size: 17px; }

.shrine-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.shrine {
  border: 1px dotted #c94f72;
  background: #170d12;
  padding: 14px 16px;
  width: calc(50% - 40px);
  min-width: 220px;
}

.shrine h3 {
  font-family: 'Times New Roman', serif;
  font-style: italic;
  font-weight: normal;
  color: #e87aa4;
  margin: 0 0 6px;
  font-size: 18px;
}

.journal-layout {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 22px;
  max-width: 1140px;
  margin: 0 auto;
}

.journal-layout #wrapper { flex-grow: 1; margin: 0; }

.journal-side {
  width: 190px;
  flex-shrink: 0;
  margin-top: 60px;
}

.journal-entries {
  max-width: 640px;
  margin: 0 auto;
  padding: 24px 26px 30px;
}

@media (max-width: 900px) {
  .journal-layout { flex-direction: column; align-items: stretch; }
  .journal-side { width: auto; margin-top: 0; order: 2; }
}

.archive-btn {
  font-family: 'Courier New', monospace;
  font-size: 12px;
  border: 1px dotted #c94f72;
  padding: 4px 10px;
  display: inline-block;
  text-decoration: none;
}

.archive-list a {
  display: block;
  color: #efe3e8;
  text-decoration: none;
  border-bottom: 1px dotted #3a1522;
  padding: 8px 6px;
  font-size: 13px;
}

.archive-list a:hover { background: #2a1220; color: #ff9ec0; }

.archive-num {
  font-family: 'Courier New', monospace;
  color: #c94f72;
  margin-right: 8px;
}

.entry {
  border: 1px solid #5c2438;
  background: #170d12;
  margin-bottom: 22px;
}

.entry-head {
  background: #2a1220;
  border-bottom: 1px solid #5c2438;
  padding: 8px 14px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.entry-date {
  font-family: 'Courier New', monospace;
  font-size: 11px;
  color: #c94f72;
  letter-spacing: 1px;
}

.entry-title {
  font-family: 'Times New Roman', Georgia, serif;
  font-style: italic;
  font-size: 18px;
  color: #e87aa4;
}

.entry-body { padding: 6px 18px 12px; font-size: 13px; }

.entry-sign {
  font-family: 'Times New Roman', serif;
  font-style: italic;
  color: #c9a9b8;
  text-align: right;
}

.counter {
  font-family: 'Courier New', monospace;
  background: #000;
  color: #ff2d55;
  border: 1px solid #5c2438;
  display: inline-block;
  padding: 2px 8px;
  letter-spacing: 3px;
}

#footer {
  border-top: 1px dotted #e87aa4;
  text-align: center;
  padding: 14px;
  font-size: 11px;
  color: #a06478;
  font-family: 'Courier New', monospace;
}

@media (max-width: 700px) {
  #columns { flex-direction: column; }
  #sidebar { width: auto; border-right: none; border-bottom: 1px dotted #5c2438; }
  .shrine { width: 100%; }
}
