/*
Theme Name: Hobart, Ohio
Theme URI: https://hobartohio.com/
Author: Josh King
Author URI: https://j0sh.dev/
Description: Custom theme for the Hobart, Ohio webcomic. No frameworks, no CDNs.
Version: 3.0
License: GNU GPL v2 or later
*/


/* ==========================================================================
   1. RESET / BASE
   ========================================================================== */

@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/Inter-roman.var.woff2') format('woff2');
  font-weight: 100 900;
  font-display: swap;
  font-style: normal;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html, body, h1, h2, h3, h4, h5, h6, p, ol, ul, figure, blockquote {
  margin: 0;
  padding: 0;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: #d6d3d1;
  color: #1e293b;
  line-height: 1.6;
}


/* ==========================================================================
   2. TYPOGRAPHY
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  color: #0f172a;
  font-weight: 700;
  line-height: 1.25;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

h1 { font-size: 2.25rem; font-weight: 800; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.4rem; }
h4 { font-size: 1.2rem; }

p {
  margin-bottom: 1.25rem;
  color: #334155;
  font-size: 1.05rem;
  line-height: 1.7;
}

@media (min-width: 768px) {
  p { font-size: 1.1rem; }
}

a {
  color: #0ea5e9;
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #0369a1;
  text-decoration: underline;
}

strong { color: #0f172a; font-weight: 700; }
em { font-style: italic; }

blockquote {
  border-left: 4px solid #94a3b8;
  padding-left: 1.25rem;
  color: #475569;
  font-style: italic;
  margin: 1.75rem 0;
}

code {
  background-color: #f1f5f9;
  color: #334155;
  padding: 0.2rem 0.4rem;
  font-size: 0.95em;
}

ul, ol {
  padding-left: 1.75rem;
  margin-bottom: 1.25rem;
}

li {
  margin-bottom: 0.4rem;
}


/* ==========================================================================
   3. LAYOUT
   ========================================================================== */

.site-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.content-card {
  background-color: #ffffff;
  margin: 0 auto;
  max-width: 960px;
  padding: 1.5rem 1.25rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

@media (min-width: 480px) {
  .content-card {
    padding: 1.75rem 2rem;
  }
}

@media (min-width: 768px) {
  .content-card {
    padding: 2rem 2.5rem;
  }
}

@media (min-width: 1440px) {
  .content-card {
    max-width: 1040px;
    padding: 2.25rem 3rem;
  }
}

main {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}


/* ==========================================================================
   4. HEADER
   ========================================================================== */

.header-bg {
  background-image: url('assets/new_header_bg.png');
  background-size: cover;
  background-position: center;
  transition: background-image 0.5s ease-in-out;
}

/* Time-of-day header variants: future feature, needs art assets
.is-morning .header-bg { background-image: url('assets/header-morning.png'); }
.is-dusk .header-bg    { background-image: url('assets/header-dusk.png'); }
.is-night .header-bg   { background-image: url('assets/header-night.png'); }
*/

.header-inner {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  height: 12rem;
  padding-bottom: 0;
}

.header-inner img,
.header-inner .custom-logo {
  width: auto;
  height: auto;
  max-height: 144px;
  transition: max-height 0.3s ease-in-out;
}

@media (min-width: 640px) {
  .header-inner { height: 16rem; }
  .header-inner img,
  .header-inner .custom-logo { max-height: 176px; }
}

@media (min-width: 1024px) {
  .header-inner { height: 18rem; }
  .header-inner img,
  .header-inner .custom-logo { max-height: 224px; }
}


/* ==========================================================================
   5. NAVIGATION
   ========================================================================== */

.site-nav {
  background-color: #334155;
  color: #ffffff;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  position: relative;
}

.site-nav .site-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0;
  padding-bottom: 0;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  padding: 0.5rem;
  cursor: pointer;
  line-height: 1;
}

.nav-toggle svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 2rem;
}

.nav-menu li {
  margin: 0;
}

.nav-menu a {
  color: #ffffff;
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  font-weight: 500;
  padding: 1rem 0;
  display: block;
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav-menu a:hover,
.nav-menu .current-menu-item > a {
  color: #93c5fd;
  text-decoration: none;
}

/* Social icons are in the footer, not the nav */

/* Mobile nav */
@media (max-width: 767px) {
  .nav-toggle {
    display: block;
  }

  .nav-wrapper {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #334155;
    z-index: 50;
    border-top: 1px solid #475569;
    padding: 1rem 0;
  }

  .nav-wrapper.is-open {
    display: block;
  }

  .nav-menu {
    flex-direction: column;
    gap: 0;
  }

  .nav-menu li {
    width: 100%;
    text-align: center;
  }

  .nav-menu a {
    padding: 0.75rem 0;
  }

  .nav-spacer {
    display: none;
  }
}

@media (min-width: 768px) {
  .nav-wrapper {
    display: flex !important;
    width: 100%;
  }

  .nav-spacer {
    width: 28px;
    display: none;
  }
}


/* ==========================================================================
   6. ANNOUNCEMENT BANNER
   ========================================================================== */

.announcement-bar {
  background-color: #047857;
  color: #ecfdf5;
  text-align: center;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.025em;
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}

.announcement-bar a {
  color: #ecfdf5;
  text-decoration: underline;
  margin-left: 0.25rem;
}

.announcement-bar a:hover {
  color: #a7f3d0;
}


/* ==========================================================================
   7. UPDATE BAR
   ========================================================================== */

.update-bar {
  background-color: #0c4a6e;
  color: #e0f2fe;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  letter-spacing: 0.025em;
}

.update-bar-text {
  font-weight: 600;
}

.update-bar-vote {
  color: #0c4a6e;
  background-color: #e0f2fe;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.65rem;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.update-bar-vote:hover {
  background-color: #ffffff;
  color: #0c4a6e;
}


/* ==========================================================================
   8. COMIC DISPLAY
   ========================================================================== */

.comic-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #334155;
  text-align: center;
  margin-bottom: 0.5rem;
  margin-top: 0;
}

@media (min-width: 640px) {
  .comic-title { font-size: 1.875rem; }
}

.comic-position {
  text-align: center;
  font-size: 0.85rem;
  color: #64748b;
  margin: -0.25rem 0 0.5rem;
  font-weight: 500;
}

.comic-position a {
  color: #0369a1;
  text-decoration: none;
  border-bottom: 1px dotted #94a3b8;
}

.comic-position a:hover {
  color: #0c4a6e;
  border-bottom-color: #0c4a6e;
}

.comic-image-wrap {
  max-width: 800px;
  margin: 1.5rem auto;
}

.comic-image-wrap img {
  width: 100%;
  height: auto;
  border: 2px solid #cbd5e1;
  cursor: pointer;
}

.comic-info {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 1.25rem 1.5rem;
  margin-top: 1.5rem;
}

.comic-date {
  text-align: center;
  font-size: 0.8rem;
  color: #94a3b8;
  margin: 0 0 0.4rem;
}

.comic-content {
  max-width: none;
  color: #475569;
  font-size: 1.05rem;
  line-height: 1.7;
  text-align: center;
  margin: 0 auto;
}

.comic-content p {
  font-size: 1.05rem;
}

.comic-content a {
  color: #0369a1;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.comic-meta {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: #475569;
  text-align: center;
}

.comic-meta a {
  color: #0369a1;
}

.character-tag {
  display: inline-block;
  background-color: #e0f2fe;
  color: #0c4a6e;
  padding: 0.15rem 0.6rem;
  font-size: 0.8rem;
  margin: 0.15rem;
}

.character-tag:hover {
  background-color: #bae6fd;
  text-decoration: none;
}


/* ==========================================================================
   9. COMIC NAVIGATION
   ========================================================================== */

.comic-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  padding: 0.75rem 0;
}

.comic-nav a,
.comic-nav span {
  color: #0369a1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  transition: color 0.2s ease;
}

.comic-nav a:hover {
  color: #0c4a6e;
  text-decoration: none;
}

.comic-nav svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.comic-nav .is-disabled {
  opacity: 0.35;
  pointer-events: none;
}

.comic-nav .nav-random {
  margin: 0 0.5rem;
}

/* Arc dropdown row */
.comic-arc-row {
  text-align: center;
  margin: -0.25rem 0 0.25rem;
}

.comic-arc-dropdown {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  color: #0369a1;
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 0.3rem 0.5rem;
  cursor: pointer;
}

.comic-arc-dropdown:focus {
  outline: none;
  border-color: #0ea5e9;
  box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.15);
}


/* ==========================================================================
   10. LIGHTBOX
   ========================================================================== */

.lightbox-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  cursor: zoom-out;
}

.lightbox-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.lightbox-overlay img {
  max-width: 95vw;
  max-height: 92vh;
  object-fit: contain;
  cursor: zoom-in;
  border: none;
  touch-action: none;
  will-change: transform;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(0, 0, 0, 0.6);
  border: none;
  color: #ffffff;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 10000;
  transition: opacity 0.2s ease;
}

.lightbox-close:hover {
  opacity: 1;
}

.lightbox-close svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

body.lightbox-open {
  overflow: hidden;
}


/* ==========================================================================
   11. CONTENT PAGES (PROSE)
   ========================================================================== */

.prose {
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 72ch;
  margin: 0 auto;
  color: #1e293b;
}

.prose h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-top: 2rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.prose h2 {
  font-size: 1.6rem;
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

.prose h3 {
  font-size: 1.3rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  color: #1e293b;
}

.prose p {
  margin-bottom: 1.4rem;
  font-size: 1.1rem;
  color: #334155;
}

.prose a {
  color: #0369a1;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose a:hover {
  color: #0284c7;
}

.prose ul, .prose ol {
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
  padding-left: 1.75rem;
  font-size: 1.1rem;
}

.prose li {
  margin-bottom: 0.5rem;
}

.prose img {
  margin: 1.5rem auto;
}

@media (min-width: 768px) {
  .prose {
    font-size: 1.15rem;
  }

  .prose p {
    font-size: 1.15rem;
  }
}


/* ==========================================================================
   12. ARCHIVE
   ========================================================================== */

.archive-header {
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e2e8f0;
}

.archive-header h1 {
  margin-top: 0;
}

.archive-description {
  color: #64748b;
  margin-top: 0.5rem;
}

/* Blog post meta */
.post-meta {
  font-size: 0.875rem;
  color: #64748b;
  margin-top: 0;
}

.post-footer {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}

.post-categories {
  font-size: 0.85rem;
  color: #64748b;
}

/* Blog archive list */
.blog-list-item {
  padding: 1.5rem 0;
  border-bottom: 1px solid #e2e8f0;
}

.blog-list-item:first-child {
  padding-top: 0;
}

.blog-list-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.blog-list-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  line-height: 1.3;
}

.blog-list-title a {
  color: #0369a1;
}

.blog-list-title a:hover {
  color: #0c4a6e;
}

.blog-list-excerpt {
  color: #334155;
  font-size: 0.95rem;
  line-height: 1.6;
}

.blog-list-excerpt p {
  margin: 0;
}

.blog-list-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.75rem;
}

.blog-list-footer .post-meta {
  margin: 0;
  font-size: 0.8rem;
  color: #94a3b8;
}

.blog-list-more {
  font-size: 0.85rem;
  font-weight: 600;
  color: #0369a1;
}

.blog-list-more:hover {
  color: #0c4a6e;
}

.pagination {
  margin-top: 3rem;
  text-align: center;
}

/* Comic archive (arc-grouped) */
.comic-archive-intro {
  text-align: center;
  color: #475569;
  margin-bottom: 2.5rem;
  font-size: 1.1rem;
}

.arc-group {
  margin-bottom: 2.5rem;
}

.arc-group h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #f8fafc;
  background-color: #334155;
  margin-top: 0;
  margin-bottom: 0;
  padding: 0.6rem 1rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.arc-group .archive-description {
  font-size: 0.9rem;
  color: #64748b;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-top: none;
  margin: 0;
  padding: 0.6rem 1rem;
}

.episode-list {
  list-style: none;
  padding: 0;
  border: 1px solid #e2e8f0;
  border-top: none;
}

.episode-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1rem;
  border-bottom: 1px solid #f1f5f9;
}

.episode-item:last-child {
  border-bottom: none;
}

.episode-date {
  color: #94a3b8;
  font-size: 0.8rem;
  width: 5.5rem;
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
}

.arc-range {
  font-size: 0.8rem;
  font-weight: 400;
  color: #94a3b8;
  letter-spacing: 0;
  text-transform: none;
}

.episode-item a {
  color: #0369a1;
  font-size: 1rem;
  font-weight: 500;
}

.episode-item a:hover {
  color: #0c4a6e;
}


/* ==========================================================================
   13. COMMENTS
   ========================================================================== */

.comments-area {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid #e2e8f0;
}

.comments-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
  text-align: center;
  margin-bottom: 1.5rem;
  margin-top: 0;
}

.comment-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.comment-list > li {
  margin-bottom: 2rem;
}

.comment-body {
  display: flex;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .comment-body { gap: 1rem; }
}

.comment-avatar {
  flex-shrink: 0;
}

.comment-avatar img {
  width: 48px;
  height: 48px;
  border: 2px solid #e2e8f0;
}

.comment-main {
  flex-grow: 1;
}

.comment-author {
  font-weight: 600;
  color: #1e293b;
  font-size: 0.95rem;
}

.comment-date {
  color: #64748b;
  font-size: 0.85rem;
  margin-left: 0.5rem;
}

.comment-text {
  margin-top: 0.5rem;
  color: #334155;
  line-height: 1.6;
}

.comment-text p:last-child {
  margin-bottom: 0;
}

.comment-awaiting {
  font-size: 0.875rem;
  color: #ca8a04;
  font-style: italic;
  margin-top: 0.5rem;
}

.comment-reply-link {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #0369a1;
}

.comment-reply-link:hover {
  color: #0c4a6e;
  text-decoration: underline;
}

/* Nested replies */
.comment-list .children {
  list-style: none;
  padding-left: 2rem;
  margin-top: 1rem;
}

@media (max-width: 480px) {
  .comment-list .children {
    padding-left: 1rem;
  }
}

/* Comment form */
.comment-form-wrap {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  padding: 1.5rem 2rem;
  margin-top: 2rem;
}

.comment-form-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
  text-align: center;
  margin-bottom: 0.5rem;
  margin-top: 0;
}

.comment-form-note {
  font-size: 0.875rem;
  color: #64748b;
  text-align: center;
  margin-bottom: 1.5rem;
}

.comment-form label {
  display: block;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.25rem;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
  display: block;
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid #cbd5e1;
  background-color: #f8fafc;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  color: #1e293b;
  margin-bottom: 1rem;
  transition: border-color 0.2s ease;
}

.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: #0ea5e9;
  box-shadow: 0 0 0 2px rgba(14, 165, 233, 0.15);
}

.comment-form .required {
  color: #dc2626;
}

.comment-submit-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.5rem;
  background-color: #0369a1;
  color: #ffffff;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
  margin-top: 0.5rem;
}

.comment-submit-btn:hover {
  background-color: #075985;
}

.comment-submit-btn svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.no-comments {
  text-align: center;
  color: #64748b;
  margin-top: 2rem;
}


/* ==========================================================================
   14. FOOTER
   ========================================================================== */

.site-footer {
  background-color: #1e293b;
  color: #cbd5e1;
  padding: 1.75rem 1rem 1.5rem;
  text-align: center;
}

/* Social icons */
.footer-community-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  padding: 0;
  margin: 0 0 1rem;
}

.footer-community-links a {
  color: #94a3b8;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-community-links a svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: block;
  color: currentColor;
  fill: currentColor;
}

.footer-community-links a:hover {
  color: #ffffff;
}

/* OuterNet links */
.footer-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 1rem;
  padding: 0;
  margin: 0 0 1rem;
}

.footer-links a {
  color: #cbd5e1;
  font-size: 1rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Copyright and quote */
.footer-copyright {
  font-size: 0.85rem;
  color: #94a3b8;
  margin: 0;
}

.production-status {
  color: #cbd5e1;
}

.footer-quote {
  font-size: 0.8rem;
  color: #94a3b8;
  font-style: italic;
  margin: 0.35rem 0 0;
}


/* ==========================================================================
   15. BLOG PREVIEW (HOMEPAGE)
   ========================================================================== */

.blog-preview {
  margin-top: 2rem;
  padding: 1.5rem;
  background-color: #f8fafc;
  border-top: 2px solid #e2e8f0;
}

.blog-preview h3 {
  font-size: 0.8rem;
  color: #94a3b8;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0;
  margin-bottom: 1rem;
}

.blog-preview-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 0.25rem;
}

.blog-preview-title a {
  color: #0f172a;
}

.blog-preview-title a:hover {
  color: #0369a1;
}

.blog-preview-date {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 0.75rem;
}

.blog-preview-excerpt {
  color: #475569;
  line-height: 1.7;
}

.blog-preview-more {
  display: inline-block;
  margin-top: 0.75rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: #0369a1;
}

.blog-preview-more:hover {
  color: #0c4a6e;
}


/* ==========================================================================
   16. PRODUCTION STATUS (FOOTER)
   ========================================================================== */

/* Already defined in footer section above */


/* ==========================================================================
   17. HIATUS / SPECIAL STATE
   ========================================================================== */

.hiatus-wrapper {
  max-width: 56rem;
  margin: 0 auto;
  padding: 1rem;
}

@media (min-width: 768px) {
  .hiatus-wrapper { padding: 1.5rem 2rem; }
}

.hiatus-countdown {
  background-color: #1e3a8a;
  color: #ffffff;
  text-align: center;
  padding: 1rem;
  margin-bottom: 1.5rem;
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}

.hiatus-countdown p {
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.hiatus-countdown .countdown-value {
  font-size: 1.5rem;
  font-family: monospace;
  margin-top: 0.5rem;
}

.hiatus-countdown .countdown-note {
  font-size: 0.875rem;
  color: #cbd5e1;
  margin-top: 0.25rem;
}

.progress-card {
  max-width: 56rem;
  margin: 0 auto 1rem;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  padding: 1rem;
}

.progress-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.progress-card-header strong {
  font-size: 1rem;
}

.progress-card-header .progress-pct {
  font-family: monospace;
  font-size: 0.875rem;
  color: #334155;
}

.progress-track {
  height: 0.625rem;
  width: 100%;
  background-color: #e2e8f0;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  transition: width 0.5s ease;
}

.progress-fill--green  { background-color: #059669; }
.progress-fill--amber  { background-color: #d97706; }
.progress-fill--red    { background-color: #dc2626; }
.progress-fill--blue   { background-color: #0ea5e9; }

.progress-card-note {
  font-size: 0.875rem;
  color: #64748b;
  margin-top: 0.5rem;
  margin-bottom: 0;
}

.progress-overall .progress-track {
  height: 0.75rem;
}


/* ==========================================================================
   18. CHARACTER TAXONOMY
   ========================================================================== */

.character-heading span {
  color: #0369a1;
}

.character-list {
  list-style: disc;
  padding-left: 1.25rem;
}

.character-list li {
  margin-bottom: 0.5rem;
}

.character-list a {
  color: #0369a1;
}

.character-list a:hover {
  color: #0c4a6e;
}

.character-list .character-date {
  font-size: 0.875rem;
  color: #64748b;
  margin-left: 0.5rem;
}


/* ==========================================================================
   19. ONBOARDING
   ========================================================================== */

.onboarding-channels {
  border: 1px solid #cbd5e1;
  padding: 1rem 1.5rem;
  background-color: #f8fafc;
  margin-top: 3rem;
}

.onboarding-channels h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 0.75rem;
}

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

.channel-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0;
}

.channel-item svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.channel-item a {
  font-weight: 500;
  display: block;
}

.channel-desc {
  display: block;
  font-size: 0.85rem;
  color: #64748b;
  margin-top: 0.1rem;
}

.onboarding-notice {
  background-color: #f0f9ff;
  border: 1px solid #bae6fd;
  padding: 1.5rem;
  margin-top: 2.5rem;
  color: #334155;
  font-size: 0.9rem;
}

.onboarding-notice p:first-child {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.onboarding-notice p:last-child {
  margin-bottom: 0;
}


/* ==========================================================================
   20. ERROR 404
   ========================================================================== */

.error-404-content {
  max-width: 640px;
  margin: 0 auto;
}

.error-404-heading {
  font-family: 'Courier New', ui-monospace, monospace;
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-top: 2px solid #334155;
  border-bottom: 2px solid #334155;
  padding: 0.75rem 0;
  margin-bottom: 1.5rem;
  text-align: center;
}

.error-404-subheading {
  text-align: center;
  color: #475569;
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.error-404-reasons {
  background-color: #f8fafc;
  border-left: 3px solid #94a3b8;
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
}

.error-404-reasons p {
  margin-bottom: 0.5rem;
}

.error-404-reasons ol {
  margin-bottom: 0;
}

.error-404-reasons li {
  color: #475569;
  font-size: 0.95rem;
}

.error-404-links {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
}

.error-404-links ul {
  list-style: none;
  padding: 0;
}

.error-404-links li {
  margin-bottom: 0.5rem;
}

.error-404-links a {
  color: #0369a1;
  font-weight: 500;
}

.error-404-links a:hover {
  color: #0c4a6e;
}


/* ==========================================================================
   21. UTILITIES
   ========================================================================== */

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

.border-top {
  border-top: 1px solid #e2e8f0;
  padding-top: 1.5rem;
  margin-top: 1.5rem;
}
