@charset "UTF-8";
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  line-height: 1.6;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", sans-serif;
  background-color: #222831;
  color: #EEEEEE;
  line-height: 1.6;
  font-size: 18px;
}

h1, h2, h3, h4, h5, h6 {
  color: #EEEEEE;
  margin-bottom: 1rem;
  line-height: 1.3;
}

p {
  margin-bottom: 1rem;
}

a {
  color: #FFD369;
  text-decoration: none;
}

a:hover {
  color: rgb(255, 240.92, 207);
}

a:visited {
  color: rgb(255, 225.96, 156);
}

header {
  background-color: #393E46;
  padding: 1rem 0;
  border-bottom: 1px solid #393E46;
  width: 100%;
}

header nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

header h1 {
  margin: 0;
  padding: 0;
  font-size: 1.75rem;
}

header h1 a {
  color: #EEEEEE;
  text-decoration: none;
  display: block;
  padding: 0;
}

header h1 a:hover {
  color: #FFD369;
}

header ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1rem;
}

header li {
  margin: 0;
}

header nav ul a {
  color: #EEEEEE;
  text-decoration: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: background-color 0.2s ease;
  text-transform: uppercase;
  font-size: 0.9rem;
  font-weight: 500;
}

header nav ul a:hover {
  background-color: #FFD369;
  color: #222831;
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

footer {
  background-color: #393E46;
  border-top: 1px solid #393E46;
  padding: 1rem 0;
  text-align: center;
}

blockquote {
  border-left: 3px solid #393E46;
  padding-left: 1rem;
  margin: 1rem 0;
  color: #bbbbbb;
}

hr {
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, #393E46, transparent);
  margin: 3rem 0;
  position: relative;
}

hr:before {
  content: "◆";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  background-color: #222831;
  color: #FFD369;
  padding: 0 1rem;
  font-size: 1.2rem;
}

article hr:has(+ nav) {
  display: none;
}

ul, ol {
  margin-left: 2rem;
  margin-bottom: 1rem;
}

li {
  margin-bottom: 0.5rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 1rem;
}

th, td {
  padding: 0.5rem;
  border: 1px solid #393E46;
  text-align: left;
}

th {
  background-color: #393E46;
}

article nav, main nav {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid #393E46;
}

article nav ul, main nav ul {
  list-style: none;
  margin: 0 0 1.5rem 0;
  padding: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 60px;
}

article nav li, main nav li {
  margin: 0;
  flex: 0 0 auto;
}

/* Previous button always on the left */
article nav li.prev-chapter, main nav li.prev-chapter {
  margin-right: auto;
}

/* Next button always on the right */
article nav li.next-chapter, main nav li.next-chapter {
  margin-left: auto;
}

article nav a, main nav a {
  display: block;
  padding: 1rem 1.5rem;
  background-color: #222831;
  border: 1px solid #393E46;
  border-radius: 8px;
  color: #EEEEEE;
  text-decoration: none;
  transition: all 0.2s ease;
  font-weight: 500;
  min-width: 200px;
}

article nav a:hover, main nav a:hover {
  background-color: #FFD369;
  color: #222831;
  border-color: #FFD369;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Text alignment for specific button types */
article nav li.prev-chapter a, main nav li.prev-chapter a {
  text-align: left;
}

article nav li.next-chapter a, main nav li.next-chapter a {
  text-align: right;
}

article nav + p, main nav + p {
  text-align: center;
  color: #bbbbbb;
  font-size: 0.9rem;
  margin-top: 1rem;
  padding: 0.5rem;
  background-color: rgba(57, 62, 70, 0.2);
  border-radius: 4px;
}

@media (max-width: 768px) {
  article nav ul, main nav ul {
    flex-direction: column;
    gap: 0.75rem;
  }
  article nav li, main nav li {
    width: 100%;
    min-width: auto;
  }
  article nav li:nth-child(2), main nav li:nth-child(2) {
    order: -1;
    margin-bottom: 1rem;
  }
  article nav a, main nav a {
    text-align: center;
  }
  article nav li:first-child a,
  article nav li:last-child a,
  main nav li:first-child a,
  main nav li:last-child a {
    text-align: center;
  }
}
.site-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-header {
  background-color: #393E46;
  border-bottom: 1px solid #393E46;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header .wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #EEEEEE;
  text-decoration: none;
}

.site-nav {
  display: flex;
  gap: 2rem;
}

.site-nav .page-link {
  color: #EEEEEE;
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}

.site-nav .page-link:hover {
  color: #FFD369;
}

.site-nav .page-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #FFD369;
}

.site-nav .page-link:hover::after {
  width: 100%;
}

.site-main {
  flex: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1rem;
  width: 100%;
}

.page-content {
  padding: 2rem 0;
}

.site-footer {
  background-color: #393E46;
  border-top: 1px solid #393E46;
  padding: 2rem 0;
  margin-top: auto;
}

.site-footer .wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
  text-align: center;
  color: #EEEEEE;
}

.menu-icon {
  display: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-icon svg {
  width: 24px;
  height: 24px;
  fill: #EEEEEE;
}

@media (max-width: 768px) {
  .site-header .wrapper {
    flex-wrap: wrap;
  }
  .menu-icon {
    display: block;
  }
  .site-nav {
    display: none;
    width: 100%;
    margin-top: 1rem;
    flex-direction: column;
    gap: 0;
  }
  .site-nav.active {
    display: flex;
  }
  .site-nav .page-link {
    padding: 1rem 0;
    border-bottom: 1px solid #393E46;
  }
  .site-nav .page-link:last-child {
    border-bottom: none;
  }
  .site-main {
    padding: 1rem;
  }
  header h1 {
    font-size: 1.25rem;
  }
  article h1 {
    font-size: 1.5rem;
  }
  h1 {
    font-size: 2rem;
  }
  h2 {
    font-size: 1.75rem;
  }
  h3 {
    font-size: 1.5rem;
  }
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.mt-1 {
  margin-top: 0.5rem;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-3 {
  margin-top: 1.5rem;
}

.mt-4 {
  margin-top: 2rem;
}

.mb-1 {
  margin-bottom: 0.5rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-3 {
  margin-bottom: 1.5rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

.p-1 {
  padding: 0.5rem;
}

.p-2 {
  padding: 1rem;
}

.p-3 {
  padding: 1.5rem;
}

.p-4 {
  padding: 2rem;
}

body {
  background-color: #222831;
  color: #EEEEEE;
}

.site-header {
  background-color: #393E46;
  border-bottom-color: #393E46;
}

.site-nav {
  background-color: #393E46;
}

.site-nav .page-link {
  color: #EEEEEE;
}

.site-nav .page-link:hover {
  color: #FFD369;
}

.site-footer {
  background-color: #393E46;
  border-top-color: #393E46;
  color: #EEEEEE;
}

a {
  color: #FFD369;
}

h1, h2, h3, h4, h5, h6 {
  color: #EEEEEE;
}

.post-content h1, .post-content h2, .post-content h3, .post-content h4, .post-content h5, .post-content h6 {
  color: #EEEEEE;
}

blockquote {
  color: #bbbbbb;
  border-left-color: #393E46;
}

pre, code {
  background-color: #222831;
  color: #EEEEEE;
}

pre {
  padding: 1rem;
  overflow-x: auto;
}

.highlighter-rouge {
  border-radius: 0;
  border: 1px solid rgb(255, 181.08, 3);
  margin: 1rem 0;
}
.highlighter-rouge .highlight {
  background-color: #222831;
}

.chapter-card, .character-profile-card, .nav-card {
  background-color: #222831;
  border-color: #393E46;
  color: #EEEEEE;
}

.chapter-card .chapter-number {
  background-color: #393E46;
  color: #EEEEEE;
}

.chapter-preview {
  background-color: #222831;
  border-left-color: #FFD369;
}

.no-chapters, .no-characters {
  background-color: #222831;
  color: #EEEEEE;
}

.progress-section, .character-stats {
  background-color: #222831;
}

.stat-box {
  background-color: #222831;
  border-color: #393E46;
}

.footer-note {
  background-color: #222831;
  border-left-color: #FFD369;
}

.chapter-listing-card {
  background-color: rgba(34, 40, 49, 0.6);
  border: 1px solid #393E46;
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.chapter-listing-card:hover {
  border-color: rgba(255, 211, 105, 0.3);
  background-color: rgba(34, 40, 49, 0.8);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.chapter-listing-card header {
  background: none;
  border: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.chapter-listing-card header h2 {
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
  line-height: 1.2;
  font-weight: 600;
}

.chapter-listing-card header h2 a {
  color: #EEEEEE;
  text-decoration: none;
  transition: color 0.2s ease;
  display: inline-block;
}

.chapter-listing-card header h2 a:hover {
  color: #FFD369;
  text-decoration: none;
}

.chapter-listing-card header time {
  display: block;
  color: rgba(238, 238, 238, 0.7);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  position: relative;
  padding-left: 1.2rem;
}

.chapter-listing-card header time::before {
  content: "📅";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.8rem;
  opacity: 0.6;
}

.chapter-listing-card p {
  color: rgba(238, 238, 238, 0.9);
  line-height: 1.7;
  font-size: 1rem;
  margin-bottom: 0;
  padding-left: 1rem;
  border-left: 2px solid rgba(57, 62, 70, 0.5);
  transition: border-color 0.3s ease;
}

.chapter-listing-card:hover p {
  border-left-color: rgba(255, 211, 105, 0.4);
}

.chapter-listing-card:focus-within {
  outline: 2px solid #FFD369;
  outline-offset: 2px;
}

.site-main section {
  text-align: center;
  padding: 4rem 2rem;
  background-color: rgba(34, 40, 49, 0.3);
  border: 2px dashed rgba(57, 62, 70, 0.5);
  border-radius: 12px;
  margin: 2rem 0;
}

.site-main section h2 {
  color: #FFD369;
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.site-main section p {
  color: rgba(238, 238, 238, 0.8);
  font-size: 1.1rem;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .chapter-listing-card {
    padding: 1.5rem;
    margin-bottom: 1.5rem;
  }
  .chapter-listing-card header h2 {
    font-size: 1.3rem;
  }
  .chapter-listing-card header time {
    font-size: 0.8rem;
  }
  .chapter-listing-card p {
    font-size: 0.95rem;
    padding-left: 0.75rem;
  }
  .site-main section {
    padding: 3rem 1.5rem;
  }
  .site-main section h2 {
    font-size: 1.7rem;
  }
}
.chapter-summary, .chapter-characters, .new-characters, .chapter-navigation {
  background-color: #222831;
  color: #EEEEEE;
  border-color: #393E46;
}

.chapter-summary h3, .chapter-characters h3, .new-characters h3 {
  color: #EEEEEE;
}

.chapter-nav {
  background-color: #222831;
}

.nav-link {
  background-color: #222831;
  color: #EEEEEE;
  border-color: #393E46;
}

.nav-link:hover {
  background-color: #FFD369;
  color: #EEEEEE;
  border-color: #FFD369;
}

.chapters-index {
  background-color: #FFD369;
  color: #393E46;
  border-color: #FFD369;
}

.progress-bar {
  background-color: #393E46;
}

.progress-fill {
  background-color: #FFD369;
}

.character-list {
  color: #EEEEEE;
}

.character-link {
  color: #FFD369;
  background-color: #222831;
}

.character-link:hover {
  background-color: #393E46;
}

.site-nav .menu-icon > svg {
  fill: #EEEEEE;
}

.site-nav .trigger {
  background-color: #393E46;
  border-color: #393E46;
}

[style*="background-color: #f8f9fa"],
[style*="background-color: #f1f2f6"],
[style*="background-color: #e8f5e8"],
[style*="background-color: #e8f4f8"],
[style*="background-color: white"],
[style*="background-color: #fff"] {
  background-color: #222831;
  color: #EEEEEE;
}

.bg-light, .bg-white, .bg-gray-100, .bg-gray-50 {
  background-color: #222831;
  color: #EEEEEE;
}

.text-dark, .text-black {
  color: #EEEEEE;
}

.border-light, .border-gray {
  border-color: #393E46;
}

/*# sourceMappingURL=main.css.map */