:root {
  --font: Tahoma, Verdana, Arial, sans-serif;
  --heading-font: inherit;
  --bg: #000;
  --page-background: #000;
  --text: #fff;
  --muted: #c0c0c0;
  --faint: #888;
  --accent: #ffff00;
  --hover: #00ffff;
  --heading-2: #00d878;
  --border: #777;
  --border-soft: #555;
  --rule: #444;
  --rule-soft: #333;
  --panel: rgba(255, 255, 255, 0.02);
  --field: #111;
  --button-text: #000;
  --error: #ff6b6b;
}

/* "konkwistadorzy-chalwy" (default): the olive palette of the old
   konkwistadorzy.blogspot.com Watermark template. :root above is "gildia". */
:root[data-theme="konkwistadorzy-chalwy"] {
  --font: Arial, Tahoma, Helvetica, FreeSans, sans-serif;
  --heading-font: Georgia, Utopia, "Palatino Linotype", Palatino, serif;
  --bg: #515812;
  --page-background: radial-gradient(ellipse at top, #6f7a2a 0%, #515812 45%, #2f340a 100%) fixed;
  --text: #f5ffde;
  --muted: #a2ab8a;
  --faint: #8a926f;
  --accent: #ffeecc;
  --hover: #e8ffcd;
  --heading-2: #fdffdd;
  --border: #929957;
  --border-soft: #727c58;
  --rule: #727c58;
  --rule-soft: #5f6633;
  --panel: rgba(0, 0, 0, 0.18);
  --field: #3d4210;
  --button-text: #2f340a;
  --error: #ffb3a1;
}

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

body {
  font-family: var(--font);
  font-size: 13px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  background: var(--page-background);
  background-attachment: fixed;
  scrollbar-face-color: #000;
  scrollbar-arrow-color: #fff;
  scrollbar-track-color: #dcebd6;
  scrollbar-shadow-color: #516145;
  scrollbar-highlight-color: #c5d0c1;
  scrollbar-3dlight-color: #c5d0c1;
  scrollbar-darkshadow-color: #cfcfcf;
}

a {
  color: var(--text);
}

h1,
h2,
h3,
.post-title,
.nav-link {
  font-family: var(--heading-font);
}

a:visited {
  color: var(--muted);
}

a:active,
a:hover {
  color: var(--hover);
}

.container {
  /* Grows with the window: 820px on small laptops up to 1280px on wide screens. */
  max-width: clamp(820px, 82vw, 1280px);
  margin: 0 auto;
  padding: 18px 22px;
}

.header {
  padding: 20px 0 12px;
  margin-bottom: 24px;
  text-align: center;
}

.header .container {
  border-bottom: 1px solid var(--border);
}

.site-logo {
  display: block;
  width: min(760px, 92vw);
  height: auto;
  margin: 0 auto 8px;
}

.blog-subtitle {
  color: var(--muted);
  font-size: 0.82rem;
}

.blog-subtitle {
  margin-bottom: 18px;
}

.header a {
  color: inherit;
}

.nav-link {
  display: inline-block;
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 14px 16px;
  text-decoration: underline;
}

.nav-link:hover {
  color: var(--hover);
}

.portal {
  text-align: center;
}

.marquee-line {
  max-width: 766px;
  margin: 18px auto;
  color: var(--text);
  font-size: 1rem;
}

.site-note {
  margin: 26px auto;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}

.site-note a {
  color: var(--accent);
}

.portal-table,
.section-page {
  max-width: min(100%, 1100px);
  margin: 0 auto 34px;
  text-align: left;
}

.portal-table {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.portal-table h3,
.section-page h1 {
  margin: 18px 0;
  color: var(--accent);
  font-size: 1.25rem;
}

.section-page h2 {
  margin: 22px 0 10px;
  color: var(--heading-2);
  font-size: 1.2rem;
}

.section-page h3 {
  margin: 24px 0 12px;
  color: var(--accent);
  font-size: 1rem;
}

.section-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 18px;
  padding: 12px 0;
  border-top: 1px solid var(--rule-soft);
  font-size: 0.9rem;
}

.section-row a {
  color: var(--accent);
  font-weight: 700;
}

.section-row span,
.section-page p,
.section-page li {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 400;
}

.section-page p {
  margin-bottom: 18px;
  text-align: justify;
}

.section-page .campaign-intro,
.section-page .post-date {
  text-indent: 0;
}

.section-page ul {
  margin: 0 0 28px 38px;
}

.section-page li {
  margin-bottom: 10px;
}

.section-page ul.blogroll {
  list-style: none;
  margin: 0 0 28px;
}

.blogroll-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 18px;
  padding: 10px 0;
  border-top: 1px solid var(--rule-soft);
}

.blogroll-name a {
  color: var(--accent);
  font-weight: 700;
}

.blogroll-latest .post-date {
  margin: 2px 0 0;
  font-weight: 400;
}

.blogroll-quiet .blogroll-name a {
  color: var(--faint);
  font-weight: 400;
}

@media (max-width: 600px) {
  .blogroll-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

.session-report {
  padding-bottom: 24px;
}

.blog-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.blog-layout {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 28px;
  align-items: start;
}

.blog-archive {
  border: 1px solid var(--rule);
  padding: 16px;
  background: var(--panel);
}

/* Sidebar comes first in the markup but sits on the right (below on phones). */
.blog-sidebar {
  order: 2;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.recent-comments ul {
  list-style: none;
}

.recent-comments li {
  padding: 8px 0;
  border-top: 1px solid var(--rule-soft);
  font-size: 0.8rem;
}

.recent-comments li:first-child {
  border-top: 0;
}

.recent-comments a {
  text-decoration: none;
}

.recent-comments a:hover .recent-comment-page {
  text-decoration: underline;
}

.recent-comment-page {
  color: var(--accent);
}

.recent-comment-excerpt {
  margin-top: 2px;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.blogroll-compact {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.78rem;
  line-height: 1.4;
}

.blogroll-compact-name {
  color: var(--accent);
  font-weight: 700;
  text-decoration: none;
}

/* Long post titles are cut to one line; the full title is in the tooltip. */
.blogroll-compact-post {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.blogroll-compact-post a {
  color: var(--text);
}

.blogroll-compact-age {
  color: var(--muted);
  font-size: 0.72rem;
}

.blog-archive h2 {
  color: var(--accent);
  font-size: 1rem;
  margin-bottom: 14px;
}

.archive-year,
.archive-month {
  margin-bottom: 8px;
}

.archive-year summary,
.archive-month summary {
  cursor: pointer;
  color: var(--text);
  font-weight: 700;
  font-size: 0.86rem;
  margin-bottom: 6px;
}

.archive-month-list {
  margin-left: 12px;
}

.archive-post-list {
  list-style: none;
  margin: 0 0 10px 12px;
}

.archive-post-list li {
  margin-bottom: 6px;
}

.archive-post-list a {
  color: var(--text);
  font-size: 0.82rem;
  text-decoration: underline;
}

.archive-post-list a:hover {
  color: var(--hover);
}

.archive-post-list a.archive-post-active {
  color: var(--accent);
  font-weight: 700;
}

.blog-main {
  min-width: 0;
}

.blog-card {
  padding: 14px 0 16px;
  border-bottom: 1px solid var(--border-soft);
}

.post-title {
  color: var(--accent);
  font-size: 1.35rem;
  margin-bottom: 10px;
  line-height: 1.2;
  font-weight: 700;
}

.post-title a {
  color: var(--accent);
}

.post-title a:hover {
  color: var(--hover);
}

.post-date {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  margin-bottom: 14px;
  font-weight: 700;
}

.blog-card-body {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.blog-card-thumb {
  flex: 0 0 120px;
}

.blog-card-thumb img {
  display: block;
  width: 120px;
  height: 90px;
  object-fit: cover;
  border: 1px solid var(--border-soft);
}

.blog-card-links {
  margin-top: 8px;
  display: flex;
  gap: 20px;
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 12px 0 10px;
  font-size: 0.9rem;
  font-weight: 700;
}

.pagination-current {
  color: var(--accent);
}

@media (max-width: 600px) {
  .blog-card-thumb {
    flex-basis: 80px;
  }

  .blog-card-thumb img {
    width: 80px;
    height: 60px;
  }
}

.post-excerpt {
  color: var(--text);
  margin-bottom: 14px;
  line-height: 1.45;
  font-size: 0.95rem;
  text-align: justify;
}

.read-more {
  display: inline-block;
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 700;
}

.read-more:hover {
  color: var(--hover);
}

.blog-post {
  padding-bottom: 36px;
}

.back-link {
  display: inline-block;
  color: var(--text);
  margin-bottom: 28px;
  font-size: 0.82rem;
  font-weight: 700;
}

.back-link:hover {
  color: var(--hover);
}

.blog-post .post-title {
  color: var(--accent);
  font-size: 1.7rem;
  margin-bottom: 14px;
  font-weight: 700;
  line-height: 1.1;
}

.blog-post .post-date {
  margin-bottom: 28px;
}

.post-content {
  color: var(--text);
  font-size: clamp(0.9rem, 0.62rem + 0.35vw, 1.1rem);
  font-weight: 400;
  line-height: 1.5;
  text-align: justify;
}

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

.post-content h2 {
  margin-top: 32px;
  margin-bottom: 16px;
  color: var(--accent);
  font-size: 1.1rem;
  font-weight: 700;
}

.post-content ul,
.post-content ol {
  margin-left: 40px;
  margin-bottom: 25px;
}

.post-content li {
  margin-bottom: 10px;
  font-weight: 400;
}

.post-content li::marker {
  color: var(--accent);
}

.post-comments {
  margin-top: 42px;
  padding-top: 22px;
  border-top: 1px solid var(--rule);
}

.post-comments h2 {
  color: var(--accent);
  font-size: 1.05rem;
  margin-bottom: 16px;
}

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

.comment-item {
  margin-bottom: 16px;
  padding: 12px 0 0 14px;
  border-left: 1px solid var(--border-soft);
}

.comment-thread .comment-thread {
  margin-top: 12px;
  margin-left: 14px;
}

.comment-meta {
  color: var(--muted);
  font-size: 0.8rem;
  margin-bottom: 6px;
}

.comment-author {
  color: var(--accent);
  font-weight: 700;
}

.comment-content {
  color: var(--text);
  /* Comments matter as much as the post: same size as the reading text here. */
  font-size: clamp(0.9rem, 0.62rem + 0.35vw, 1.1rem);
  line-height: 1.5;
}

.comment-content p {
  margin-bottom: 12px;
  text-indent: 0;
}

.comment-form {
  margin-top: 28px;
}

.comment-form h3 {
  color: var(--accent);
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.comment-form label {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  margin-bottom: 12px;
}

.comment-form input,
.comment-form textarea {
  display: block;
  width: 100%;
  margin-top: 4px;
  padding: 6px 8px;
  color: var(--text);
  background: var(--field);
  border: 1px solid var(--border);
  font: inherit;
  font-size: 0.88rem;
}

.comment-form textarea {
  resize: vertical;
}

.comment-form button {
  margin-top: 12px;
  padding: 5px 16px;
  color: var(--button-text);
  background: var(--accent);
  border: 0;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.comment-form button:disabled {
  opacity: 0.6;
  cursor: default;
}

.comment-form-note {
  margin-top: 10px;
  color: var(--heading-2);
  font-size: 0.85rem;
}

.comment-form-error {
  color: var(--error);
}

/* Honeypot: off-screen rather than display:none, which some bots skip. */
.comment-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.not-found {
  padding: 60px 24px;
  text-align: center;
}

.not-found h1 {
  color: var(--accent);
  margin-bottom: 24px;
  font-size: 1.8rem;
  font-weight: 700;
}

@media (max-width: 768px) {
  .container {
    padding: 14px;
  }

  .site-logo {
    width: min(520px, 96vw);
  }

  .post-title {
    font-size: 1.2rem;
  }

  .blog-post .post-title {
    font-size: 1.45rem;
  }

  .section-row {
    grid-template-columns: 1fr;
  }

  /* minmax(0, ...) so long sidebar lines can't widen the page past the screen. */
  .blog-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .blog-archive {
    position: static;
  }
}

.theme-switcher {
  position: absolute;
  top: 10px;
  right: 14px;
  color: var(--muted);
  font-size: 0.75rem;
}

.theme-switcher select {
  margin-left: 6px;
  padding: 2px 4px;
  color: var(--text);
  background: var(--field);
  border: 1px solid var(--border);
  font: inherit;
}

.site-title-link {
  text-decoration: none;
}

.site-title-text {
  display: none;
}

/* Olive theme: a plain title, as on the old Blogspot header. */
:root[data-theme="konkwistadorzy-chalwy"] .site-logo {
  display: none;
}

:root[data-theme="konkwistadorzy-chalwy"] .site-title-text {
  display: block;
  margin: 24px 0 14px;
  color: #ffffff;
  font: normal normal 60px Georgia, Utopia, "Palatino Linotype", Palatino, serif;
  line-height: 1.1;
  text-shadow: 2px 2px rgba(0, 0, 0, 0.25);
}

@media (max-width: 600px) {
}

/* Serif, tight and justified, like the Blogger label cloud it imitates. */
.label-cloud ul {
  list-style: none;
  font-family: Georgia, Utopia, "Palatino Linotype", Palatino, serif;
  line-height: 1.2;
  text-align: justify;
}

.label-cloud li {
  display: inline;
  color: var(--muted);
}

.label-cloud a {
  color: var(--accent);
  text-decoration: none;
}

.label-cloud a:hover {
  text-decoration: underline;
}

.post-labels {
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.82rem;
}

.tag-heading {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

.tag-heading strong {
  color: var(--accent);
}

/* Keep "Odpowiedz" close to the text: drop the last paragraph's margin. */
.comment-content > :last-child {
  margin-bottom: 0;
}

.comment-reply {
  display: inline-block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.75rem;
}

.comment-form-reply {
  margin-top: 8px;
}

.comment-form .comment-cancel {
  margin-left: 8px;
  color: var(--text);
  background: transparent;
  border: 1px solid var(--border);
}

/* Black theme: the cloud in the theme's own face, like its headings, not the Blogger serif. */
:root[data-theme="gildia"] .label-cloud ul {
  font-family: var(--font);
}

/* The Gildia Gorlicka credit only applies to the black theme modelled on it. */
:root:not([data-theme="gildia"]) .site-note {
  display: none;
}

.comment-body {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.comment-avatar {
  flex: 0 0 45px;
  width: 45px;
  height: 45px;
  object-fit: cover;
  border: 1px solid var(--border-soft);
}

.comment-main {
  min-width: 0;
  flex: 1;
}

/* Images in posts never wider than the column. */
.post-content img {
  max-width: 100%;
  height: auto;
}

.blog-sidebar {
  min-width: 0;
}

/* Phones: modelled on Blogger's mobile template — centered title and menu,
   thumbnail to the right of the snippet, plain "Nowsze / Starsze" paging. */
@media (max-width: 768px) {
  body {
    font-size: 14px;
  }

  .header {
    padding-top: 8px;
    margin-bottom: 12px;
  }

  .theme-switcher {
    position: static;
    display: block;
    margin-bottom: 8px;
    text-align: right;
  }

  :root[data-theme="konkwistadorzy-chalwy"] .site-title-text {
    margin: 4px 0 8px;
    font-size: clamp(28px, 9vw, 44px);
  }

  .blog-subtitle {
    margin-bottom: 10px;
  }

  .nav-link {
    margin: 0 8px 10px;
    font-size: 0.9rem;
  }

  .blog-layout {
    gap: 20px;
  }

  .blog-list {
    gap: 4px;
  }

  .blog-card {
    padding: 14px 0 16px;
  }

  .blog-card-body {
    flex-direction: row-reverse;
    gap: 12px;
  }

  .blog-card-thumb {
    flex-basis: 72px;
  }

  .blog-card-thumb img {
    width: 72px;
    height: 72px;
  }

  .post-excerpt {
    flex: 1;
    text-align: left;
    font-size: 0.9rem;
  }

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

  /* Only "Nowsze" and "Starsze", like Blogger mobile. */
  .pagination a:not(.pagination-step),
  .pagination-current {
    display: none;
  }

  .pagination {
    justify-content: space-between;
  }

  /* "Starsze" stays on the right even on the first page. */
  .pagination .pagination-step:last-child {
    margin-left: auto;
  }

  .comment-avatar {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
  }

  .comment-thread .comment-thread {
    margin-left: 4px;
  }

  .comment-item {
    padding-left: 10px;
  }
}

/* Long URLs and words wrap instead of widening the page (mainly on phones). */
.post-excerpt,
.post-content,
.comment-content,
.blog-card {
  min-width: 0;
  overflow-wrap: anywhere;
}

/* Phones keep the sidebar short: no label cloud or recent comments. */
@media (max-width: 768px) {
  .label-cloud,
  .recent-comments {
    display: none;
  }
}

/* Phones: a flat background instead of the desktop gradient. */
@media (max-width: 768px) {
  :root[data-theme="konkwistadorzy-chalwy"] {
    --page-background: #515812;
  }
}

/* Phones: plain sans-serif headings and unadorned post titles, to keep it calm. */
@media (max-width: 768px) {
  :root[data-theme="konkwistadorzy-chalwy"] {
    --heading-font: Arial, Tahoma, Helvetica, FreeSans, sans-serif;
  }

  .post-title,
  .post-title a {
    text-decoration: none;
    font-weight: 700;
  }

  .post-title {
    font-size: 1.1rem;
    line-height: 1.25;
  }

  .blog-post .post-title {
    font-size: 1.3rem;
  }
}

/* Olive theme: post titles a shade brighter than the other accents. */
:root[data-theme="konkwistadorzy-chalwy"] .post-title,
:root[data-theme="konkwistadorzy-chalwy"] .post-title a {
  color: #fffaf0;
}

/* Campaign map: a smaller preview that opens full screen on click. */
.campaign-map {
  display: block;
  max-width: min(100%, 280px);
  margin: 1rem 0;
  cursor: zoom-in;
}

.map-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.85);
  cursor: zoom-out;
}

.map-lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Campaign list: the game's cover instead of a post thumbnail. */
.campaign-cover {
  flex-basis: 90px;
}

.campaign-cover img,
.blog-card-thumb.campaign-cover img {
  width: 90px;
  height: auto;
  object-fit: contain;
}

.campaign-game {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 0.85rem;
}

/* Session reports: a small painting detail floated beside the text. */
.report-miniature {
  float: right;
  width: 240px;
  margin: 4px 0 12px 20px;
}

.report-miniature img {
  display: block;
  width: 100%;
  border: 1px solid var(--border-soft);
}

.report-miniature.wide {
  width: 360px;
}

/* A Markdown image inside the figure (blog posts) comes wrapped in a paragraph. */
.report-miniature p {
  margin: 0;
}

.report-miniature figcaption {
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.3;
  text-align: left;
}

@media (max-width: 768px) {
  .report-miniature,
  .report-miniature.wide {
    float: none;
    width: 70%;
    margin: 8px auto 16px;
  }
}

/* Owner-only view statistics (/statystyki). */
.stats-page h2 {
  margin: 28px 0 10px;
  font-size: 1.1rem;
}

.stats-key input {
  padding: 6px 8px;
  margin-right: 8px;
}

.stats-error {
  color: var(--accent);
  font-weight: bold;
}

.stats-tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.stats-tile {
  display: flex;
  flex-direction: column;
  padding: 12px;
  border: 1px solid var(--border-soft);
  color: var(--muted);
  font-size: 0.85rem;
}

.stats-number {
  color: var(--text);
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 1.2;
}

.stats-chart {
  margin: 0;
}

.stats-bars {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 160px;
  border-bottom: 1px solid var(--border-soft);
}

.stats-bar-slot {
  display: flex;
  flex: 1 1 0;
  align-items: flex-end;
  height: 100%;
}

.stats-bar-slot:hover {
  background: rgba(255, 255, 255, 0.06);
}

.stats-bar {
  width: 100%;
  background: var(--accent);
  border-radius: 4px 4px 0 0;
}

.stats-axis {
  display: flex;
  justify-content: space-between;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.75rem;
}

.stats-details {
  margin-top: 8px;
  font-size: 0.85rem;
}

.stats-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.stats-table th,
.stats-table td {
  padding: 4px 6px;
  border-bottom: 1px solid var(--border-soft);
  text-align: left;
}

.stats-table .num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.stats-page-link {
  padding: 0;
  border: none;
  background: none;
  color: var(--link, var(--accent));
  font: inherit;
  text-align: left;
  text-decoration: underline;
  cursor: pointer;
}

@media (max-width: 768px) {
  .stats-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ---------------------------------------------------------------------------
   Olive theme, refreshed: readable muted tones, a gilded accent taken from the
   paintings' gold grounds, serif headings also on phones, a reading measure and framed
   pictures. Everything is scoped to the olive theme; "gildia" is unchanged.
   --------------------------------------------------------------------------- */
:root[data-theme="konkwistadorzy-chalwy"] {
  --heading-font: Georgia, Utopia, "Palatino Linotype", Palatino, serif;
  --page-background: radial-gradient(ellipse at top, #5f6a1e 0%, #474e10 45%, #262a08 100%) fixed;
  --bg: #474e10;
  --muted: #cfd6b4;
  --faint: #b4bc96;
  --accent: #e8c872;
  --heading-2: #e8c872;
  --border-soft: #1d2005;
  --rule-soft: #6b7330;
  --error: #ffc4b5;
}

:root[data-theme="konkwistadorzy-chalwy"] body {
  font-size: 14px;
}

:root[data-theme="konkwistadorzy-chalwy"] a:visited {
  color: #dde4c2;
}

:root[data-theme="konkwistadorzy-chalwy"] :focus-visible {
  outline: 1px dotted var(--accent);
  outline-offset: 2px;
}

/* Keyboard focus on links: underline too (not in form fields). */
:root[data-theme="konkwistadorzy-chalwy"] a:focus-visible {
  text-decoration: underline;
}

/* Menu in the gilded accent. */
:root[data-theme="konkwistadorzy-chalwy"] .nav-link,
:root[data-theme="konkwistadorzy-chalwy"] .nav-link:visited {
  color: var(--accent);
}

:root[data-theme="konkwistadorzy-chalwy"] .nav-link:hover {
  color: var(--hover);
}

/* Post titles: no underline in lists. */
:root[data-theme="konkwistadorzy-chalwy"] .post-title a {
  text-decoration: none;
}

:root[data-theme="konkwistadorzy-chalwy"] .post-title a:hover {
  text-decoration: underline;
}

:root[data-theme="konkwistadorzy-chalwy"] .blog-post .post-title {
  margin-bottom: 6px;
}

/* Dates as a small inscription under the title. */
:root[data-theme="konkwistadorzy-chalwy"] .post-date {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

:root[data-theme="konkwistadorzy-chalwy"] .blog-post .post-date {
  margin-bottom: 24px;
}

/* Reading text: larger, looser, a ~68 character measure, hyphenated justify. */
:root[data-theme="konkwistadorzy-chalwy"] .post-content {
  max-width: 68ch;
  font-size: clamp(1rem, 0.9rem + 0.3vw, 1.125rem);
  line-height: 1.6;
  hyphens: auto;
  -webkit-hyphens: auto;
  hyphenate-limit-chars: 6 3 2;
}

/* Comments a touch below the reading text, not a footnote. */
:root[data-theme="konkwistadorzy-chalwy"] .comment-content {
  font-size: clamp(0.95rem, 0.86rem + 0.28vw, 1.05rem);
}

:root[data-theme="konkwistadorzy-chalwy"] .post-content h2 {
  margin: 1.8em 0 0.5em;
  font-size: 1.5em;
  line-height: 1.2;
}

:root[data-theme="konkwistadorzy-chalwy"] .post-content h3 {
  margin: 1.5em 0 0.4em;
  color: var(--accent);
  font-size: 1.25em;
  line-height: 1.2;
}

/* Session reports open with "## Title (date)": keep it close to the top. */
:root[data-theme="konkwistadorzy-chalwy"] .post-content > h2:first-child {
  margin-top: 0;
}

:root[data-theme="konkwistadorzy-chalwy"] .post-excerpt {
  text-align: left;
  font-size: 1rem;
  line-height: 1.5;
}

/* Comments and "Czytaj więcej" stay underlined: they are the calls to action. */
:root[data-theme="konkwistadorzy-chalwy"] .blog-card-links {
  margin-top: 12px;
}

/* Paintings hung in a thin gilded frame. */
:root[data-theme="konkwistadorzy-chalwy"] .blog-card-thumb {
  flex-basis: 160px;
}

:root[data-theme="konkwistadorzy-chalwy"] .blog-card-thumb img {
  width: 160px;
  height: 120px;
}

/* Less air between the header rule and the page. */
:root[data-theme="konkwistadorzy-chalwy"] .header {
  margin-bottom: 8px;
}

:root[data-theme="konkwistadorzy-chalwy"] .back-link {
  margin-bottom: 14px;
}

/* Game covers are portrait: one height, natural width, so the frame hugs them. */
:root[data-theme="konkwistadorzy-chalwy"] .blog-card-thumb.campaign-cover {
  flex-basis: auto;
}

:root[data-theme="konkwistadorzy-chalwy"] .blog-card-thumb.campaign-cover img {
  width: auto;
  height: 150px;
}

:root[data-theme="konkwistadorzy-chalwy"] .blog-card-body + .read-more {
  margin-top: 12px;
}

:root[data-theme="konkwistadorzy-chalwy"] .blog-card-thumb img,
:root[data-theme="konkwistadorzy-chalwy"] .report-miniature img,
:root[data-theme="konkwistadorzy-chalwy"] .campaign-map {
  border: 1px solid #1d2005;
  box-shadow: 0 0 0 1px rgba(232, 200, 114, 0.35), 0 2px 6px rgba(0, 0, 0, 0.45);
}

:root[data-theme="konkwistadorzy-chalwy"] .report-miniature figcaption {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.8rem;
  font-style: italic;
}

/* Sidebar: nothing under 0.8rem, links without underlines. */
:root[data-theme="konkwistadorzy-chalwy"] .blogroll-compact,
:root[data-theme="konkwistadorzy-chalwy"] .blogroll-compact-age,
:root[data-theme="konkwistadorzy-chalwy"] .comment-reply,
:root[data-theme="konkwistadorzy-chalwy"] .recent-comments li {
  font-size: 0.8rem;
}

:root[data-theme="konkwistadorzy-chalwy"] .blog-archive h2 {
  font-size: 1.1rem;
}

:root[data-theme="konkwistadorzy-chalwy"] .archive-post-list a,
:root[data-theme="konkwistadorzy-chalwy"] .blogroll-compact a {
  text-decoration: none;
}

:root[data-theme="konkwistadorzy-chalwy"] .archive-post-list a:hover,
:root[data-theme="konkwistadorzy-chalwy"] .blogroll-compact a:hover {
  color: var(--accent);
}

@media (max-width: 768px) {
  :root[data-theme="konkwistadorzy-chalwy"] {
    --page-background: #474e10;
    --heading-font: Georgia, Utopia, "Palatino Linotype", Palatino, serif;
  }

  :root[data-theme="konkwistadorzy-chalwy"] .post-content {
    text-align: left;
  }

}

@media (max-width: 600px) {
  :root[data-theme="konkwistadorzy-chalwy"] .blog-card-thumb {
    flex-basis: 96px;
  }

  :root[data-theme="konkwistadorzy-chalwy"] .blog-card-thumb img {
    width: 96px;
    height: 72px;
  }

}

/* The measure: posts fill their column beside the sidebar; session reports,
   which have no sidebar, become a centred ~70 character column. */
:root[data-theme="konkwistadorzy-chalwy"] .blog-main .post-content {
  max-width: none;
}

:root[data-theme="konkwistadorzy-chalwy"] .container > .blog-post {
  max-width: 46rem;
  margin: 0 auto;
}

:root[data-theme="konkwistadorzy-chalwy"] .container > .blog-post .post-content {
  max-width: none;
}

/* Campaign page: the map and facts in a sidebar box beside the session list. */
.campaign-heading .post-title {
  margin-bottom: 0;
}

.campaign-box .campaign-map {
  max-width: 100%;
  margin: 0 0 12px;
}

.campaign-description {
  margin-bottom: 12px;
  font-size: 0.86rem;
  line-height: 1.45;
}

.campaign-facts {
  font-size: 0.82rem;
  line-height: 1.4;
}

.campaign-facts dt {
  margin-top: 8px;
  color: var(--accent);
  font-weight: 700;
}

.campaign-facts dd {
  color: var(--text);
}

/* ---------------------------------------------------------------------------
   "psychodelia": a psychedelic 1970s fan zine. White paper and black ink, hot
   pink as the second printing colour; cut-out labels, tape, halftone dots,
   duotone thumbnails, crooked blocks. A printed logo as the masthead, Anton for
   headlines, Courier Prime (typescript) for everything read.
   Bright colours are decoration; running text stays black.
   --------------------------------------------------------------------------- */
:root[data-theme="psychodelia"] {
  --font: "Courier Prime", "Courier New", Courier, monospace;
  --heading-font: "Anton", Impact, "Arial Narrow", sans-serif;
  --display-font: "Anton", Impact, "Arial Narrow", sans-serif;
  --type-font: "Courier Prime", "Courier New", Courier, monospace;
  --bg: #ffffff;
  --page-background: #ffffff;
  --text: #0d0d0d;
  --muted: #3d3540;
  --faint: #5c5260;
  --accent: #b01a63;
  --hover: #b01a63;
  --heading-2: #0d0d0d;
  --border: #0d0d0d;
  --border-soft: #0d0d0d;
  --rule: #0d0d0d;
  --rule-soft: #e6d3de;
  --panel: #ffffff;
  --field: #ffffff;
  --button-text: #ffffff;
  --error: #b3001b;
  --pink: #f56fa6;
  --pink-soft: #fdd9e7;
  --purple: #833d9f;
  --acid: #d3f76c;
  --halftone: radial-gradient(rgba(13, 13, 13, 0.18) 1.2px, transparent 1.6px) 0 0 / 7px 7px;
}

:root[data-theme="psychodelia"] body {
  font-size: 15px;
  line-height: 1.6;
}

:root[data-theme="psychodelia"] ::selection {
  color: var(--text);
  background: var(--pink);
}

:root[data-theme="psychodelia"] h1,
:root[data-theme="psychodelia"] h2,
:root[data-theme="psychodelia"] h3,
:root[data-theme="psychodelia"] .post-title {
  font-weight: 400;
  letter-spacing: 0.01em;
}

:root[data-theme="psychodelia"] a {
  color: var(--text);
  text-decoration-color: var(--pink);
  text-decoration-thickness: 3px;
  text-underline-offset: 3px;
  /* A marker stroke, not type: it runs through descenders without gaps. */
  text-decoration-skip-ink: none;
}

:root[data-theme="psychodelia"] a:visited {
  color: var(--muted);
}

:root[data-theme="psychodelia"] a:hover {
  color: var(--text);
  background-color: var(--pink-soft);
  text-decoration-color: var(--text);
}

:root[data-theme="psychodelia"] :focus-visible {
  outline: 3px solid var(--purple);
  outline-offset: 2px;
}

/* Masthead: a pink halftone sheet, the title slapped on crooked, a zigzag cut. */
:root[data-theme="psychodelia"] .header {
  position: relative;
  margin-bottom: 30px;
  padding: 10px 0 18px;
  /* Black paper: the logo's own paper grain inked over, at
     the logo's display scale; its pink glows on it like a poster on a night wall. */
  background: #161214 url("/assets/paper-black.webp") 0 0 / 285px 285px repeat;
  /* The sheet's bottom edge is torn, not ruled. */
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 13px) no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='14' viewBox='0 0 240 14'%3E%3Cpath d='M0 0H240V6L236 9 231 5 226 10 220 7 214 12 209 6 203 9 198 4 192 10 187 8 181 13 176 7 170 9 166 5 160 11 154 7 149 10 143 4 138 9 132 6 127 12 121 8 116 10 110 5 104 9 99 7 93 13 88 8 82 10 77 4 71 9 66 6 60 11 55 7 49 9 44 5 38 12 33 8 27 10 22 5 16 9 11 6 5 11 0 6Z'/%3E%3C/svg%3E") bottom / 240px 14px repeat-x;
  mask: linear-gradient(#000 0 0) top / 100% calc(100% - 13px) no-repeat,
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='14' viewBox='0 0 240 14'%3E%3Cpath d='M0 0H240V6L236 9 231 5 226 10 220 7 214 12 209 6 203 9 198 4 192 10 187 8 181 13 176 7 170 9 166 5 160 11 154 7 149 10 143 4 138 9 132 6 127 12 121 8 116 10 110 5 104 9 99 7 93 13 88 8 82 10 77 4 71 9 66 6 60 11 55 7 49 9 44 5 38 12 33 8 27 10 22 5 16 9 11 6 5 11 0 6Z'/%3E%3C/svg%3E") bottom / 240px 14px repeat-x;
}

:root[data-theme="psychodelia"] .header .container {
  border-bottom: 0;
}

:root[data-theme="psychodelia"] .site-logo {
  display: none;
}

/* The masthead is a printed logo (assets/konkwistadorzy-psychedelic-logo.webp, paper cut
   away to transparency); it carries the title and the subtitle, so the text versions
   stay only for screen readers and search engines. */
:root[data-theme="psychodelia"] .site-title-link {
  display: block;
  width: min(600px, 92vw);
  aspect-ratio: 1583 / 993;
  margin: 0 auto 4px;
  background: url("/assets/konkwistadorzy-psychedelic-logo.webp") center / contain no-repeat;
  transition: transform 0.15s;
}

/* A logo gets no hover tint, only a little wobble. */
:root[data-theme="psychodelia"] .site-title-link:hover {
  background-color: transparent;
  transform: rotate(-1deg);
}

:root[data-theme="psychodelia"] .site-title-text,
:root[data-theme="psychodelia"] .blog-subtitle {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Menu: ransom-note labels, each one a little askew. */
:root[data-theme="psychodelia"] .nav-link,
:root[data-theme="psychodelia"] .nav-link:visited {
  margin: 0 6px 10px;
  padding: 4px 12px 3px;
  color: var(--text);
  font-family: var(--heading-font);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  background: var(--pink);
  transform: rotate(-2deg);
}

:root[data-theme="psychodelia"] nav .nav-link:nth-child(2n) {
  transform: rotate(1.5deg);
}

:root[data-theme="psychodelia"] nav .nav-link:nth-child(3n) {
  transform: rotate(-1deg);
}

:root[data-theme="psychodelia"] .nav-link:hover {
  color: var(--text);
  background: var(--acid);
}

:root[data-theme="psychodelia"] .theme-switcher {
  padding: 2px 4px 2px 8px;
  color: var(--text);
  font-family: var(--type-font);
  background: #ffffff;
  border: 2px solid var(--text);
}

:root[data-theme="psychodelia"] .theme-switcher select,
:root[data-theme="psychodelia"] .comment-form input,
:root[data-theme="psychodelia"] .comment-form textarea,
:root[data-theme="psychodelia"] .stats-key input {
  color: var(--text);
  font-family: var(--type-font);
  background: var(--field);
  border: 2px solid var(--text);
  border-radius: 0;
}

/* Typewritten metadata. */
:root[data-theme="psychodelia"] .post-date,
:root[data-theme="psychodelia"] .back-link,
:root[data-theme="psychodelia"] .read-more,
:root[data-theme="psychodelia"] .blog-card-links,
:root[data-theme="psychodelia"] .post-labels,
:root[data-theme="psychodelia"] .tag-heading,
:root[data-theme="psychodelia"] .comment-meta,
:root[data-theme="psychodelia"] .pagination,
:root[data-theme="psychodelia"] .report-miniature figcaption {
  font-family: var(--type-font);
}

/* Posts in lists, cut apart by a heavy rule with a pink misprint under it. */
:root[data-theme="psychodelia"] .blog-card {
  position: relative;
  padding: 18px 0 28px;
  border-bottom: 0;
}

/* The rule under each post is cut by hand: every one a little crooked, each its own way. */
:root[data-theme="psychodelia"] .blog-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  height: 3px;
  background: var(--text);
  box-shadow: 0 4px 0 var(--pink);
  transform: rotate(-0.4deg);
}

:root[data-theme="psychodelia"] .blog-card:nth-of-type(4n + 2)::after { transform: rotate(0.5deg); }
:root[data-theme="psychodelia"] .blog-card:nth-of-type(4n + 3)::after { transform: rotate(-0.15deg) translateX(6px); }
:root[data-theme="psychodelia"] .blog-card:nth-of-type(4n + 4)::after { transform: rotate(0.3deg) translateX(-4px); }

:root[data-theme="psychodelia"] .post-title,
:root[data-theme="psychodelia"] .post-title a,
:root[data-theme="psychodelia"] .post-title a:visited {
  color: var(--text);
  font-size: 1.6rem;
  line-height: 1.1;
  text-decoration: none;
  text-transform: uppercase;
}

:root[data-theme="psychodelia"] .post-title a:hover {
  color: var(--text);
  background: var(--pink);
}

/* On the post page the headline sits in a black block, like a zine cover line. */
:root[data-theme="psychodelia"] .blog-post .post-title {
  display: inline;
  padding: 0 10px;
  color: #ffffff;
  font-size: clamp(2rem, 1.4rem + 2vw, 3.2rem);
  line-height: 1.32;
  background: var(--text);
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  box-shadow: 6px 6px 0 var(--pink);
}

:root[data-theme="psychodelia"] .post-date {
  color: var(--text);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

:root[data-theme="psychodelia"] .blog-post .post-date {
  display: block;
  margin: 18px 0 26px;
}

:root[data-theme="psychodelia"] .post-excerpt {
  text-align: left;
  font-size: 1rem;
  line-height: 1.55;
}

:root[data-theme="psychodelia"] .read-more,
:root[data-theme="psychodelia"] .blog-card-links a {
  font-weight: 700;
}

/* Reading text. */
:root[data-theme="psychodelia"] .post-content {
  font-size: 1.0625rem;
  line-height: 1.7;
  text-align: left;
  hyphens: auto;
  -webkit-hyphens: auto;
  hyphenate-limit-chars: 6 3 2;
}

:root[data-theme="psychodelia"] .comment-content {
  font-size: 1rem;
}

:root[data-theme="psychodelia"] .post-content h2 {
  display: table;
  margin: 1.6em 0 0.6em;
  padding: 2px 10px 0;
  color: var(--text);
  font-family: var(--heading-font);
  font-size: 1.5em;
  line-height: 1.2;
  text-transform: uppercase;
  background: var(--pink);
  transform: rotate(-1deg);
}

:root[data-theme="psychodelia"] .post-content > h2:first-child {
  margin-top: 0;
}

:root[data-theme="psychodelia"] .post-content h3 {
  margin: 1.4em 0 0.4em;
  color: var(--text);
  font-family: var(--type-font);
  font-size: 1.15em;
  font-weight: 700;
  text-decoration: underline 3px var(--pink);
  text-underline-offset: 4px;
}

:root[data-theme="psychodelia"] .blog-main .post-content,
:root[data-theme="psychodelia"] .container > .blog-post .post-content {
  max-width: none;
}

:root[data-theme="psychodelia"] .container > .blog-post {
  max-width: 46rem;
  margin: 0 auto;
}

/* Thumbnails: in their own colours, an inked outline. */
:root[data-theme="psychodelia"] .blog-card-thumb {
  position: relative;
  flex-basis: 160px;
  align-self: flex-start;
  border: 2px solid var(--text);
}

:root[data-theme="psychodelia"] .blog-card-thumb img {
  width: 156px;
  height: 116px;
  border: 0;
}

/* Game covers are how the systems are recognised: tape on a corner only. */
:root[data-theme="psychodelia"] .blog-card-thumb.campaign-cover::before {
  top: -4px;
  left: -14px;
  margin-left: 0;
  transform: rotate(-30deg);
}

:root[data-theme="psychodelia"] .blog-card-thumb.campaign-cover {
  flex-basis: auto;
  margin-top: 14px;
}

:root[data-theme="psychodelia"] .blog-card-thumb.campaign-cover img {
  width: auto;
  height: 150px;
}

:root[data-theme="psychodelia"] .blog-card-body + .read-more {
  margin-top: 12px;
}

/* A strip of tape over the top edge of pictures. */
:root[data-theme="psychodelia"] .blog-card-thumb::before,
:root[data-theme="psychodelia"] .report-miniature::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: -9px;
  left: 50%;
  width: 64px;
  height: 18px;
  margin-left: -32px;
  background: rgba(211, 247, 108, 0.78);
  transform: rotate(-4deg);
}

:root[data-theme="psychodelia"] .report-miniature {
  position: relative;
}

:root[data-theme="psychodelia"] .report-miniature img,
:root[data-theme="psychodelia"] .campaign-map {
  border: 2px solid var(--text);
  box-shadow: 6px 6px 0 var(--pink);
}

:root[data-theme="psychodelia"] .report-miniature figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.8rem;
}

/* Sidebar boxes: black frames with a crooked headline label. */
:root[data-theme="psychodelia"] .blog-archive {
  padding: 0 16px 16px;
  background: var(--panel);
  border: 3px solid var(--text);
  box-shadow: 6px 6px 0 var(--pink);
}

:root[data-theme="psychodelia"] .blog-archive h2 {
  display: inline-block;
  margin: -14px 0 14px -10px;
  padding: 3px 10px 1px;
  color: var(--pink);
  font-family: var(--heading-font);
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--text);
  transform: rotate(-2deg);
}

:root[data-theme="psychodelia"] .blog-sidebar > * + * {
  margin-top: 30px;
}

:root[data-theme="psychodelia"] .blogroll-compact,
:root[data-theme="psychodelia"] .blogroll-compact-age,
:root[data-theme="psychodelia"] .comment-reply,
:root[data-theme="psychodelia"] .recent-comments li {
  font-size: 0.82rem;
}

:root[data-theme="psychodelia"] .archive-year summary,
:root[data-theme="psychodelia"] .archive-month summary {
  font-family: var(--type-font);
  font-weight: 700;
}

:root[data-theme="psychodelia"] .archive-post-list a,
:root[data-theme="psychodelia"] .blogroll-compact a,
:root[data-theme="psychodelia"] .label-cloud a,
:root[data-theme="psychodelia"] .recent-comments a {
  color: var(--text);
  text-decoration: none;
}

:root[data-theme="psychodelia"] .archive-post-list a:hover,
:root[data-theme="psychodelia"] .blogroll-compact a:hover,
:root[data-theme="psychodelia"] .label-cloud a:hover {
  color: var(--text);
  background: var(--acid);
  text-decoration: none;
}

:root[data-theme="psychodelia"] .archive-post-list a.archive-post-active {
  background: var(--pink);
}

:root[data-theme="psychodelia"] .recent-comment-page,
:root[data-theme="psychodelia"] .comment-author,
:root[data-theme="psychodelia"] .campaign-facts dt,
:root[data-theme="psychodelia"] .tag-heading strong {
  color: var(--accent);
  font-weight: 700;
}

:root[data-theme="psychodelia"] .label-cloud ul {
  font-family: var(--heading-font);
  line-height: 1.25;
  word-spacing: -0.02em;
}

/* Comments and buttons. */
:root[data-theme="psychodelia"] .comment-item {
  border-color: var(--rule-soft);
}

:root[data-theme="psychodelia"] .comment-form button {
  padding: 6px 18px;
  color: #ffffff;
  font-family: var(--heading-font);
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: var(--text);
  border: 0;
  border-radius: 0;
  box-shadow: 4px 4px 0 var(--pink);
  cursor: pointer;
}

:root[data-theme="psychodelia"] .comment-form button:hover {
  color: var(--text);
  background: var(--pink);
  box-shadow: 4px 4px 0 var(--text);
}

:root[data-theme="psychodelia"] .section-page h1 {
  font-size: 2.4rem;
  line-height: 1.1;
}

:root[data-theme="psychodelia"] .post-comments h2,
:root[data-theme="psychodelia"] .section-page h1,
:root[data-theme="psychodelia"] .not-found h1 {
  color: var(--text);
  font-family: var(--heading-font);
  text-transform: uppercase;
}

:root[data-theme="psychodelia"] .portal-table {
  border-top: 3px solid var(--text);
  border-bottom: 3px solid var(--text);
}

:root[data-theme="psychodelia"] .map-lightbox {
  background: rgba(255, 255, 255, 0.94);
}

@media (max-width: 768px) {
  :root[data-theme="psychodelia"] .post-content {
    text-align: left;
  }
}

@media (max-width: 600px) {
  :root[data-theme="psychodelia"] .post-content {
    font-size: 1rem;
    line-height: 1.65;
  }

  /* The subtitle inside the logo is too small to read on a phone: type it out again. */
  :root[data-theme="psychodelia"] .blog-subtitle {
    position: static;
    width: auto;
    height: auto;
    overflow: visible;
    clip-path: none;
    white-space: normal;
    display: block;
    margin: 0 auto 10px;
    padding: 0;
    font-size: 0.75rem;
    background: none;
    border: 0;
    transform: none;
  }

  :root[data-theme="psychodelia"] .nav-link {
    margin: 0 3px 10px;
    padding: 3px 9px 2px;
    font-size: 0.95rem;
  }

  :root[data-theme="psychodelia"] .blog-card-thumb {
    flex-basis: 96px;
  }

  :root[data-theme="psychodelia"] .blog-card-thumb img {
    width: 92px;
    height: 68px;
  }
}

/* The inline headline block must not run into the back link. */
:root[data-theme="psychodelia"] .back-link {
  display: table;
  margin-bottom: 26px;
}

/* The switcher's strip is the frame; the select inside has none of its own and is
   as wide as the chosen option, not the longest one (typewriter letters are wide). */
:root[data-theme="psychodelia"] .theme-switcher select {
  border: 0;
  field-sizing: content;
}

/* On narrow screens the switcher leaves the corner; keep the strip only as wide as its content. */
:root[data-theme="psychodelia"] .theme-switcher {
  width: fit-content;
  margin-left: auto;
}

/* Phones: the typed-out subtitle sits on the black sheet. */
@media (max-width: 600px) {
  :root[data-theme="psychodelia"] .blog-subtitle {
    color: #f7e6d3;
  }
}

/* Zine details inside the reading text: a pink drop cap, sparkles from the logo
   as section breaks and as list bullets. */
:root[data-theme="psychodelia"] .blog-post .post-content > p:first-of-type::first-letter {
  float: left;
  margin: 0.08em 0.12em 0 0;
  padding: 0.04em 0.12em 0;
  color: var(--text);
  font-family: var(--heading-font);
  font-size: 3.6em;
  line-height: 0.9;
  background: var(--pink);
}

:root[data-theme="psychodelia"] .post-content hr {
  height: auto;
  margin: 2em 0;
  border: 0;
  text-align: center;
}

:root[data-theme="psychodelia"] .post-content hr::before {
  content: "✦ ✦ ✦";
  color: var(--pink);
  font-size: 1.2rem;
  letter-spacing: 0.6em;
}

:root[data-theme="psychodelia"] .post-content li::marker {
  content: "✦  ";
  color: var(--pink);
}

:root[data-theme="psychodelia"] .post-content ol li::marker {
  content: counter(list-item) ". ";
  color: var(--accent);
  font-weight: 700;
}

/* Controlled chaos: the sidebar cuttings are pasted in slightly askew. */
:root[data-theme="psychodelia"] .blog-sidebar > * {
  transform: rotate(-0.6deg);
}

:root[data-theme="psychodelia"] .blog-sidebar > :nth-child(2n) {
  transform: rotate(0.5deg);
}
