/**
 * Reset some basic elements
 */
body, h1, h2, h3, h4, h5, h6,
p, blockquote, pre, hr,
dl, dd, ol, ul, figure {
  margin: 0;
  padding: 0;
}

/**
 * Basic styling
 */
body {
  font: 400 16px/1.5 "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: #d0d0d0;
  background-color: #181818;
  -webkit-text-size-adjust: 100%;
  -webkit-font-feature-settings: "kern" 1;
  -moz-font-feature-settings: "kern" 1;
  -o-font-feature-settings: "kern" 1;
  font-feature-settings: "kern" 1;
  font-kerning: normal;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

/**
 * Set `margin-bottom` to maintain vertical rhythm
 */
h1, h2, h3, h4, h5, h6,
p, blockquote, pre,
ul, ol, dl, figure,
.highlight {
  margin-bottom: 15px;
}

/**
 * `main` element
 */
main {
  display: block; /* Default value of `display` of `main` element is 'inline' in IE 11. */
}

/**
 * Images
 */
img {
  max-width: 100%;
  vertical-align: middle;
}

/**
 * Figures
 */
figure > img {
  display: block;
}

figcaption {
  font-size: 14px;
}

/**
 * Lists
 */
ul, ol {
  margin-left: 30px;
}

li > ul,
li > ol {
  margin-bottom: 0;
}

/**
 * Headings
 */
h1, h2, h3, h4, h5, h6 {
  font-weight: 400;
}

/**
 * Links
 */
a {
  color: #6ea8e0;
  text-decoration: none;
}
a:visited {
  color: rgb(18.4213458111%, 51.0528074866%, 82.5590463458%);
}
a:hover {
  color: #d0d0d0;
  text-decoration: underline;
}
.social-media-list a:hover {
  text-decoration: none;
}
.social-media-list a:hover .username {
  text-decoration: underline;
}

/**
 * Blockquotes
 */
blockquote {
  color: #9a9a9a;
  border-left: 4px solid #2e2e2e;
  padding-left: 15px;
  font-size: 18px;
  letter-spacing: -1px;
  font-style: italic;
}
blockquote > :last-child {
  margin-bottom: 0;
}

/**
 * Code formatting
 */
pre,
code {
  font-size: 15px;
  border: 1px solid #2e2e2e;
  border-radius: 3px;
  background-color: #eef;
}

code {
  padding: 1px 5px;
}

pre {
  padding: 8px 12px;
  overflow-x: auto;
}
pre > code {
  border: 0;
  padding-right: 0;
  padding-left: 0;
}

/**
 * Wrapper
 */
.wrapper {
  max-width: -webkit-calc(800px - (30px * 2));
  max-width: calc(800px - 30px * 2);
  margin-right: auto;
  margin-left: auto;
  padding-right: 30px;
  padding-left: 30px;
}
@media screen and (max-width: 800px) {
  .wrapper {
    max-width: -webkit-calc(800px - (30px));
    max-width: calc(800px - (30px));
    padding-right: 15px;
    padding-left: 15px;
  }
}

/**
 * Clearfix
 */
.footer-col-wrapper:after, .wrapper:after {
  content: "";
  display: table;
  clear: both;
}

/**
 * Icons
 */
.svg-icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  fill: #9a9a9a;
  padding-right: 5px;
  vertical-align: text-top;
}

.social-media-list li + li {
  padding-top: 5px;
}

/**
 * Tables
 */
table {
  margin-bottom: 30px;
  width: 100%;
  text-align: left;
  color: rgb(99.568627451%, 99.568627451%, 99.568627451%);
  border-collapse: collapse;
  border: 1px solid #2e2e2e;
}
table tr:nth-child(even) {
  background-color: rgb(24.0392156863%, 24.0392156863%, 24.0392156863%);
}
table th, table td {
  padding: 9.999999999px 15px;
}
table th {
  background-color: rgb(21.0392156863%, 21.0392156863%, 21.0392156863%);
  border: 1px solid rgb(14.0392156863%, 14.0392156863%, 14.0392156863%);
  border-bottom-color: rgb(6.0392156863%, 6.0392156863%, 6.0392156863%);
}
table td {
  border: 1px solid #2e2e2e;
}

/**
 * Site header
 */
.site-header {
  border-top: 5px solid #c8c8c8;
  border-bottom: 1px solid #2e2e2e;
  min-height: 55.95px;
  position: relative;
}

.site-title {
  font-size: 26px;
  font-weight: 300;
  line-height: 54px;
  letter-spacing: -1px;
  margin-bottom: 0;
  float: left;
}
.site-title, .site-title:visited {
  color: #c8c8c8;
}

.site-nav {
  float: right;
  line-height: 54px;
}
.site-nav .nav-trigger {
  display: none;
}
.site-nav .menu-icon {
  display: none;
}
.site-nav .page-link {
  color: #d0d0d0;
  line-height: 1.5;
}
.site-nav .page-link:not(:last-child) {
  margin-right: 20px;
}
@media screen and (max-width: 600px) {
  .site-nav {
    position: absolute;
    top: 9px;
    right: 15px;
    background-color: #181818;
    border: 1px solid #2e2e2e;
    border-radius: 5px;
    text-align: right;
  }
  .site-nav label[for=nav-trigger] {
    display: block;
    float: right;
    width: 36px;
    height: 36px;
    z-index: 2;
    cursor: pointer;
  }
  .site-nav .menu-icon {
    display: block;
    float: right;
    width: 36px;
    height: 26px;
    line-height: 0;
    padding-top: 10px;
    text-align: center;
  }
  .site-nav .menu-icon > svg {
    fill: #c8c8c8;
  }
  .site-nav input ~ .trigger {
    clear: both;
    display: none;
  }
  .site-nav input:checked ~ .trigger {
    display: block;
    padding-bottom: 5px;
  }
  .site-nav .page-link {
    display: block;
    margin-left: 20px;
    padding: 5px 10px;
  }
  .site-nav .page-link:not(:last-child) {
    margin-right: 0;
  }
}

/**
 * Site footer
 */
.site-footer {
  border-top: 1px solid #2e2e2e;
  padding: 30px 0;
}

.footer-heading {
  font-size: 18px;
  margin-bottom: 15px;
}

.contact-list,
.social-media-list {
  list-style: none;
  margin-left: 0;
}

.footer-col-wrapper {
  font-size: 15px;
  color: #9a9a9a;
  margin-left: -15px;
}

.footer-col {
  float: left;
  margin-bottom: 15px;
  padding-left: 15px;
}

.footer-col-1 {
  width: -webkit-calc(35% - (30px / 2));
  width: calc(35% - 30px / 2);
}

.footer-col-2 {
  width: -webkit-calc(20% - (30px / 2));
  width: calc(20% - 30px / 2);
}

.footer-col-3 {
  width: -webkit-calc(45% - (30px / 2));
  width: calc(45% - 30px / 2);
}

@media screen and (max-width: 800px) {
  .footer-col-1,
  .footer-col-2 {
    width: -webkit-calc(50% - (30px / 2));
    width: calc(50% - 30px / 2);
  }
  .footer-col-3 {
    width: -webkit-calc(100% - (30px / 2));
    width: calc(100% - 30px / 2);
  }
}
@media screen and (max-width: 600px) {
  .footer-col {
    float: none;
    width: -webkit-calc(100% - (30px / 2));
    width: calc(100% - 30px / 2);
  }
}
/**
 * Page content
 */
.page-content {
  padding: 30px 0;
  flex: 1;
}

.page-heading {
  font-size: 32px;
}

.post-list-heading {
  font-size: 28px;
}

.post-list {
  margin-left: 0;
  list-style: none;
}
.post-list > li {
  margin-bottom: 30px;
}

.post-meta {
  font-size: 14px;
  color: #9a9a9a;
}

.post-link {
  display: block;
  font-size: 24px;
}

/**
 * Posts
 */
.post-header {
  margin-bottom: 30px;
}

.post-title {
  font-size: 42px;
  letter-spacing: -1px;
  line-height: 1;
}
@media screen and (max-width: 800px) {
  .post-title {
    font-size: 36px;
  }
}

.post-content {
  margin-bottom: 30px;
}
.post-content h2 {
  font-size: 32px;
}
@media screen and (max-width: 800px) {
  .post-content h2 {
    font-size: 28px;
  }
}
.post-content h3 {
  font-size: 26px;
}
@media screen and (max-width: 800px) {
  .post-content h3 {
    font-size: 22px;
  }
}
.post-content h4 {
  font-size: 20px;
}
@media screen and (max-width: 800px) {
  .post-content h4 {
    font-size: 18px;
  }
}

/**
 * Syntax highlighting styles
 */
.highlight {
  background: #fff;
}
.highlighter-rouge .highlight {
  background: #eef;
}
.highlight .c {
  color: #998;
  font-style: italic;
}
.highlight .err {
  color: #a61717;
  background-color: #e3d2d2;
}
.highlight .k {
  font-weight: bold;
}
.highlight .o {
  font-weight: bold;
}
.highlight .cm {
  color: #998;
  font-style: italic;
}
.highlight .cp {
  color: #999;
  font-weight: bold;
}
.highlight .c1 {
  color: #998;
  font-style: italic;
}
.highlight .cs {
  color: #999;
  font-weight: bold;
  font-style: italic;
}
.highlight .gd {
  color: #000;
  background-color: #fdd;
}
.highlight .gd .x {
  color: #000;
  background-color: #faa;
}
.highlight .ge {
  font-style: italic;
}
.highlight .gr {
  color: #a00;
}
.highlight .gh {
  color: #999;
}
.highlight .gi {
  color: #000;
  background-color: #dfd;
}
.highlight .gi .x {
  color: #000;
  background-color: #afa;
}
.highlight .go {
  color: #888;
}
.highlight .gp {
  color: #555;
}
.highlight .gs {
  font-weight: bold;
}
.highlight .gu {
  color: #aaa;
}
.highlight .gt {
  color: #a00;
}
.highlight .kc {
  font-weight: bold;
}
.highlight .kd {
  font-weight: bold;
}
.highlight .kp {
  font-weight: bold;
}
.highlight .kr {
  font-weight: bold;
}
.highlight .kt {
  color: #458;
  font-weight: bold;
}
.highlight .m {
  color: #099;
}
.highlight .s {
  color: #d14;
}
.highlight .na {
  color: #008080;
}
.highlight .nb {
  color: #0086B3;
}
.highlight .nc {
  color: #458;
  font-weight: bold;
}
.highlight .no {
  color: #008080;
}
.highlight .ni {
  color: #800080;
}
.highlight .ne {
  color: #900;
  font-weight: bold;
}
.highlight .nf {
  color: #900;
  font-weight: bold;
}
.highlight .nn {
  color: #555;
}
.highlight .nt {
  color: #000080;
}
.highlight .nv {
  color: #008080;
}
.highlight .ow {
  font-weight: bold;
}
.highlight .w {
  color: #bbb;
}
.highlight .mf {
  color: #099;
}
.highlight .mh {
  color: #099;
}
.highlight .mi {
  color: #099;
}
.highlight .mo {
  color: #099;
}
.highlight .sb {
  color: #d14;
}
.highlight .sc {
  color: #d14;
}
.highlight .sd {
  color: #d14;
}
.highlight .s2 {
  color: #d14;
}
.highlight .se {
  color: #d14;
}
.highlight .sh {
  color: #d14;
}
.highlight .si {
  color: #d14;
}
.highlight .sx {
  color: #d14;
}
.highlight .sr {
  color: #009926;
}
.highlight .s1 {
  color: #d14;
}
.highlight .ss {
  color: #990073;
}
.highlight .bp {
  color: #999;
}
.highlight .vc {
  color: #008080;
}
.highlight .vg {
  color: #008080;
}
.highlight .vi {
  color: #008080;
}
.highlight .il {
  color: #099;
}

:root,
html:not([data-theme=light]):not([data-theme=system]),
html[data-theme=dark] {
  color-scheme: dark;
  --bg: #181818;
  --bg-elevated: #202020;
  --bg-chip: #2a2a2a;
  --bg-code: #222;
  --bg-shot: #111;
  --bg-header: #2a2a2a;
  --bg-row-even: #202020;
  --bg-selection: #3d5a80;
  --text: #d0d0d0;
  --text-strong: #eee;
  --text-muted: #9a9a9a;
  --text-heading: #c8c8c8;
  --text-blurb: #c8c8c8;
  --text-chip: #d8d8d8;
  --text-code: #d8d8d8;
  --text-hover: #f0f0f0;
  --text-selection: #f5f5f5;
  --brand: #6ea8e0;
  --brand-visited: #80bbff;
  --border: #333;
  --border-subtle: #2e2e2e;
  --border-chip: #3f3f3f;
  --border-meta: #444;
  --border-strong: #3a3a3a;
  --border-chip-hover: #6a6a6a;
  --flag-ring: rgba(255, 255, 255, 0.15);
}

html[data-theme=light] {
  color-scheme: light;
  --bg: #f7f5f0;
  --bg-elevated: #fff;
  --bg-chip: #efece6;
  --bg-code: #eceae4;
  --bg-shot: #eceae4;
  --bg-header: #efece6;
  --bg-row-even: #f0eee8;
  --bg-selection: #c5d8ef;
  --text: #2c2c2c;
  --text-strong: #1a1a1a;
  --text-muted: #6a6a6a;
  --text-heading: #1f1f1f;
  --text-blurb: #4a4a4a;
  --text-chip: #333;
  --text-code: #2c2c2c;
  --text-hover: #111;
  --text-selection: #1a1a1a;
  --brand: #2b6cb0;
  --brand-visited: #1a4f8b;
  --border: #ddd8ce;
  --border-subtle: #e4e0d6;
  --border-chip: #d4cfc4;
  --border-meta: #c8c2b6;
  --border-strong: #d4cfc4;
  --border-chip-hover: #a8a296;
  --flag-ring: rgba(0, 0, 0, 0.12);
}

@media (prefers-color-scheme: light) {
  html[data-theme=system] {
    color-scheme: light;
    --bg: #f7f5f0;
    --bg-elevated: #fff;
    --bg-chip: #efece6;
    --bg-code: #eceae4;
    --bg-shot: #eceae4;
    --bg-header: #efece6;
    --bg-row-even: #f0eee8;
    --bg-selection: #c5d8ef;
    --text: #2c2c2c;
    --text-strong: #1a1a1a;
    --text-muted: #6a6a6a;
    --text-heading: #1f1f1f;
    --text-blurb: #4a4a4a;
    --text-chip: #333;
    --text-code: #2c2c2c;
    --text-hover: #111;
    --text-selection: #1a1a1a;
    --brand: #2b6cb0;
    --brand-visited: #1a4f8b;
    --border: #ddd8ce;
    --border-subtle: #e4e0d6;
    --border-chip: #d4cfc4;
    --border-meta: #c8c2b6;
    --border-strong: #d4cfc4;
    --border-chip-hover: #a8a296;
    --flag-ring: rgba(0, 0, 0, 0.12);
  }
}
@media (prefers-color-scheme: dark) {
  html[data-theme=system] {
    color-scheme: dark;
    --bg: #181818;
    --bg-elevated: #202020;
    --bg-chip: #2a2a2a;
    --bg-code: #222;
    --bg-shot: #111;
    --bg-header: #2a2a2a;
    --bg-row-even: #202020;
    --bg-selection: #3d5a80;
    --text: #d0d0d0;
    --text-strong: #eee;
    --text-muted: #9a9a9a;
    --text-heading: #c8c8c8;
    --text-blurb: #c8c8c8;
    --text-chip: #d8d8d8;
    --text-code: #d8d8d8;
    --text-hover: #f0f0f0;
    --text-selection: #f5f5f5;
    --brand: #6ea8e0;
    --brand-visited: #80bbff;
    --border: #333;
    --border-subtle: #2e2e2e;
    --border-chip: #3f3f3f;
    --border-meta: #444;
    --border-strong: #3a3a3a;
    --border-chip-hover: #6a6a6a;
    --flag-ring: rgba(255, 255, 255, 0.15);
  }
}
body {
  color: var(--text);
  background-color: var(--bg);
}

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

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

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

.site-title,
.site-title:visited {
  color: var(--text-heading);
}

.site-nav .page-link {
  color: var(--text);
}

.site-footer {
  color: var(--text-muted);
}

blockquote {
  color: var(--text-muted);
  border-left-color: var(--border-subtle);
}

.svg-icon {
  fill: var(--text-muted);
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.15em;
  margin-right: 0.35em;
  flex: 0 0 auto;
}

.page-link .icon,
.post-title .icon,
.entry-title .icon,
.post-link .icon {
  color: var(--brand);
}

.page-link {
  display: inline-flex;
  align-items: center;
}

.post-content h2 .icon {
  color: var(--brand);
  margin-right: 0.4em;
}

.icon.icon-mappa {
  color: #2dd4bf;
}

.icon.icon-todo {
  color: #f4b942;
}

.icon.icon-prettycode {
  color: #a78bfa;
}

.icon.icon-blocchi {
  color: #60a5fa;
}

.icon.icon-fifteen {
  color: #fb923c;
}

.icon.icon-tictactoe {
  color: #fb7185;
}

.icon.icon-connectfour {
  color: #facc15;
}

.icon.icon-turing {
  color: #ef4444;
}

.icon.icon-brainfuck {
  color: #e879f9;
}

.icon.icon-eml {
  color: #34d399;
}

.icon.icon-travels {
  color: #38bdf8;
}

.icon.icon-website {
  color: #f43f5e;
}

.post-title .icon.icon-website,
.post-link .icon.icon-website {
  color: #f43f5e;
}

.post-title .icon.icon-music,
.post-link .icon.icon-music {
  color: #f472b6;
}

.post-title .icon.icon-pencil,
.post-link .icon.icon-pencil {
  color: #e07a5f;
}

.icon.icon-spotify {
  color: #1ed760;
}

.icon.icon-youtube-music {
  color: #ff0033;
}

.icon.icon-apple-music {
  color: #fc3c44;
}

.site-title,
.site-header .site-title,
.page-heading,
.post-list-heading,
.post-title,
.post-content h1,
.post-content h2,
.layout-post .post-content h3,
.home-kicker {
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
}

.site-title {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.layout-page .post-title {
  font-size: 2em;
  letter-spacing: -0.02em;
}

.post-header--travels {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.35em 1em;
}

.post-header--travels .post-title {
  margin-bottom: 0;
}

.travels-countries-summary {
  margin: 0;
  font-size: 0.82em;
  color: var(--text-muted);
  white-space: nowrap;
  text-align: right;
}

@media screen and (min-width: 760px) {
  body:has(.section-rail-layout) .post-header--travels {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 9.5rem;
    column-gap: 1.15rem;
    align-items: baseline;
  }
  body:has(.section-rail-layout) .post-header--travels .post-title,
  body:has(.section-rail-layout) .post-header--travels .travels-countries-summary {
    grid-column: 1;
    grid-row: 1;
  }
  body:has(.section-rail-layout) .post-header--travels .travels-countries-summary {
    justify-self: end;
  }
}
.layout-post .post-title {
  font-size: 2.15em;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.layout-post .post-content {
  max-width: 40em;
}

.layout-post .post-content table {
  font-size: 0.9em;
  width: 100%;
}

.layout-post .post-content th,
.layout-post .post-content td {
  vertical-align: top;
  word-break: normal;
  overflow-wrap: break-word;
}

.layout-post .post-content table:has(th:nth-child(3)) th:nth-child(-n+2),
.layout-post .post-content table:has(th:nth-child(3)) td:nth-child(-n+2),
.layout-post .post-content table:not(:has(th:nth-child(3))) th:first-child,
.layout-post .post-content table:not(:has(th:nth-child(3))) td:first-child {
  width: 1%;
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: keep-all;
}

.album-cover,
.book-cover,
.post-photo {
  margin: 1.4em 0;
  max-width: 18rem;
}
.album-cover img,
.book-cover img,
.post-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}
.album-cover figcaption,
.book-cover figcaption,
.post-photo figcaption {
  margin-top: 0.5em;
  font-size: 0.85em;
  color: var(--text-muted);
}

.book-cover {
  max-width: 12.5rem;
}

.with-book-cover,
.with-post-photo {
  overflow: auto;
}
.with-book-cover .book-cover,
.with-book-cover .post-photo,
.with-post-photo .book-cover,
.with-post-photo .post-photo {
  float: left;
  margin: 0.15em 1.35em 0.85em 0;
  max-width: 10.5rem;
}

.with-post-photo .post-photo {
  max-width: 12.5rem;
}

@media screen and (max-width: 600px) {
  .with-book-cover .book-cover,
  .with-post-photo .post-photo {
    float: none;
    display: block;
    margin: 1em auto 1.2em;
    max-width: 12.5rem;
  }
}
.listen-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75em 1.25em;
  margin: 1.2em 0 1.8em;
}

.listen-link {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
}

.album-facts {
  margin: 1.6em 0;
  padding: 0.85em 1em;
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
  border-radius: 4px;
  font-size: 0.82em;
  line-height: 1.5;
  color: var(--text-muted);
}
.album-facts p {
  margin: 0;
}

.album-facts-label {
  margin-bottom: 0.45em;
  font-size: 0.78em;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.pipeline-diagram {
  margin: 1.6em 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.pipeline-diagram svg {
  display: block;
  width: 100%;
  height: auto;
  min-width: 38em;
}
.pipeline-diagram rect {
  fill: var(--bg-elevated);
  stroke: var(--border-strong);
  stroke-width: 1.25;
  vector-effect: non-scaling-stroke;
}
.pipeline-diagram text {
  fill: var(--text);
  font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 11px;
  text-anchor: middle;
  dominant-baseline: central;
  pointer-events: none;
}
.pipeline-diagram .pd-input rect {
  stroke: #34d399;
}
.pipeline-diagram .pd-stage rect {
  stroke: var(--brand);
}
.pipeline-diagram .pd-internal rect {
  stroke: var(--text-muted);
}
.pipeline-diagram .pd-out rect {
  stroke: #eab308;
}
.pipeline-diagram .pd-edges path {
  fill: none;
  stroke: var(--text-muted);
  stroke-width: 1.15;
  vector-effect: non-scaling-stroke;
}
.pipeline-diagram .pd-arrow-head {
  fill: var(--text-muted);
}
.pipeline-diagram .pd-legend text {
  text-anchor: start;
  font-size: 10px;
  fill: var(--text-muted);
}
.pipeline-diagram figcaption {
  margin-top: 0.55em;
  font-size: 0.85em;
  color: var(--text-muted);
}

.layout-page .post-content h2 {
  margin-top: 1.6em;
  padding-bottom: 0.2em;
  border-bottom: 1px solid var(--border-subtle);
}

.site-header {
  border-top-color: var(--bg);
  border-bottom-color: var(--border-subtle);
}

@media screen and (min-width: 600px) {
  .site-nav {
    transform: translateX(-30%);
  }
}
.site-footer {
  border-top-color: var(--border-subtle);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1em;
  margin-bottom: 15px;
}

.footer-top .footer-heading {
  margin-bottom: 0;
}

.theme-switch {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  margin: 0;
  padding: 0.28em 0.7em;
  border: 1px solid var(--border-meta);
  border-radius: 999px;
  background: var(--bg-elevated);
  color: var(--text-muted);
  font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 0.8em;
  line-height: 1.2;
  cursor: pointer;
}
.theme-switch .icon {
  display: none;
  width: 1em;
  height: 1em;
  margin-right: 0;
}

.theme-switch:hover {
  color: var(--text);
  border-color: var(--border-chip-hover);
}

html[data-theme=dark] .theme-switch .icon-theme-dark,
html[data-theme=light] .theme-switch .icon-theme-light,
html[data-theme=system] .theme-switch .icon-theme-system {
  display: inline-block;
}

@media screen and (max-width: 600px) {
  .site-header {
    z-index: 25;
  }
  .site-nav {
    background-color: var(--bg);
    border-color: var(--border-subtle);
  }
}
@media screen and (max-width: 759px) {
  .site-header {
    position: relative;
    z-index: 40;
  }
  .site-nav .trigger {
    z-index: 41;
  }
  .travels-map-wrap {
    position: relative;
    z-index: 0;
  }
  .section-rail {
    z-index: 15;
  }
}
::selection {
  background-color: var(--bg-selection);
  color: var(--text-selection);
}

hr {
  background-color: var(--border-subtle);
  border: 0;
  height: 1px;
}

pre,
code {
  background-color: var(--bg-code);
  border-color: var(--border);
  color: var(--text-code);
}

.highlight {
  background: #222;
}
.highlighter-rouge .highlight {
  background: #222;
}
.highlight .c, .highlight .cm, .highlight .cp, .highlight .c1 {
  color: #8a8a8a;
}
.highlight .cs {
  color: #8a8a8a;
  font-style: italic;
}
.highlight .err {
  color: #e3d2d2;
  background-color: #8c2121;
}
.highlight .gd, .highlight .gd .x {
  color: #d85a5a;
}
.highlight .ge {
  font-style: italic;
}
.highlight .gh {
  color: #999;
}
.highlight .gi, .highlight .gi .x {
  color: #4ec64e;
}
.highlight .go {
  color: #888;
}
.highlight .gp {
  color: #888;
}
.highlight .gr, .highlight .gt {
  color: #f07178;
}
.highlight .gs {
  font-weight: bold;
}
.highlight .gu {
  color: #aaa;
}
.highlight .k, .highlight .kc, .highlight .kd, .highlight .kp, .highlight .kr, .highlight .nb {
  color: #d85a7b;
}
.highlight .kt {
  color: #ffcb6b;
}
.highlight .m, .highlight .mf, .highlight .mh, .highlight .mi, .highlight .mo, .highlight .il, .highlight .no {
  color: #9d99e6;
}
.highlight .s, .highlight .s1, .highlight .s2, .highlight .sb, .highlight .sc, .highlight .sd, .highlight .se, .highlight .sh, .highlight .si, .highlight .sx {
  color: #baa94a;
}
.highlight .sr {
  color: #4ec64e;
}
.highlight .ss {
  color: #3c90f5;
}
.highlight .na, .highlight .nc, .highlight .ni, .highlight .nn {
  color: #11a69f;
}
.highlight .ne {
  color: #f07178;
}
.highlight .nf {
  color: #5ab780;
}
.highlight .nt {
  color: #de3581;
}
.highlight .nv, .highlight .vc, .highlight .vg, .highlight .vi {
  color: #9680b1;
}
.highlight .o, .highlight .ow {
  color: #bcd890;
}
.highlight .bp {
  color: #999;
}
.highlight .w {
  color: #d0d0d0;
}

table {
  color: var(--text);
  border-color: var(--border-subtle);
}
table tr:nth-child(even) {
  background-color: var(--bg-row-even);
}
table th {
  background-color: var(--bg-header);
  border-color: var(--border-strong);
}
table td {
  border-color: var(--border-subtle);
}

.home-intro {
  display: flex;
  gap: 1.4em;
  align-items: flex-start;
  margin: 0 0 2.25em;
  padding: 1.15em 1.2em;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
}

.home-photo {
  flex: 0 0 7.5em;
  width: 7.5em;
  height: 7.5em;
  object-fit: cover;
  object-position: 50% 20%;
  border-radius: 50%;
  border: 2px solid var(--border-strong);
  background: var(--bg-chip);
}

.home-intro-body {
  min-width: 0;
}

.home-kicker {
  margin: 0 0 0.55em;
  font-size: 0.78em;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.home-intro p {
  margin: 0 0 0.75em;
}

.home-intro p:last-child {
  margin-bottom: 0;
}

@media screen and (max-width: 600px) {
  .home-intro {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
@media screen and (min-width: 600px) {
  .wrapper {
    margin-left: 5em;
    max-width: 830px;
  }
  .site-header .wrapper {
    max-width: 1100px;
  }
  .post-list {
    margin-left: 3em;
  }
  body:has(.media-table-wrap) .page-content .wrapper {
    max-width: 1100px;
  }
  body.stats-page .page-content .wrapper {
    max-width: calc(830px + 9.5rem + 1.15rem);
  }
  body:has(.section-rail-layout) .page-content .wrapper {
    max-width: calc(830px + 9.5rem + 1.15rem);
  }
}
.entries-page .post-header {
  margin-bottom: 0.35em;
}
.entries-page .post-content > h3,
.entries-page .section-rail-main > h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35em 1em;
  margin: 1.25em 0 0;
  padding: 0.95em 1.15em 0.5em;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-bottom: 0;
  border-radius: 10px 10px 0 0;
  font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 1.15em;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.35;
  scroll-margin-top: 0.8em;
}
.entries-page .post-content > h3:first-child,
.entries-page .section-rail-main > h3:first-child {
  margin-top: 0;
}
.entries-page .post-content > h3.entry-current,
.entries-page .post-content > h3.entry-current + p,
.entries-page .section-rail-main > h3.entry-current,
.entries-page .section-rail-main > h3.entry-current + p {
  border-left: 3px solid var(--brand);
}
.entries-page .post-content > h2 + h3,
.entries-page .section-rail-main > h2 + h3 {
  margin-top: 0.85em;
}
.entries-page .post-content > h3 + p,
.entries-page .section-rail-main > h3 + p {
  margin: 0 0 0.15em;
  padding: 0.1em 1.15em 0.85em;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-top: 0;
  border-radius: 0 0 10px 10px;
}
.entries-page .post-content > h3 + p:has(.entry-products),
.entries-page .section-rail-main > h3 + p:has(.entry-products) {
  overflow: hidden;
}
.entries-page .post-content > h3 + p br,
.entries-page .post-content > h2 + p br,
.entries-page .section-rail-main > h3 + p br,
.entries-page .section-rail-main > h2 + p br {
  display: none;
}
.entries-page .post-content > h2 + p,
.entries-page .section-rail-main > h2 + p {
  margin-top: 0.75em;
  padding: 0.95em 1.15em;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.entries-page .entry-title {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15em 0.2em;
  padding-left: 0;
}
.entries-page .entry-title .entry-meta {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  font-weight: 400;
}
.entries-page .entry-detail,
.entries-page .entry-detail-cont {
  display: block;
  padding-left: 0;
  margin: 0.12em 0 0;
  line-height: 1.4;
}
.entries-page .entry-detail:has(> em:first-child) {
  margin-top: 0.65em;
  padding-top: 0.55em;
  border-top: 1px solid var(--border);
}
.entries-page h3 + p > .entry-detail:first-child,
.entries-page h3 + p > .entry-products + .entry-detail {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.entries-page .entry-detail em {
  font-style: normal;
  font-weight: 600;
  color: var(--text-strong);
}
.entries-page .entry-blurb {
  margin: 0.2em 0 0.35em;
  color: var(--text-blurb);
  font-size: 0.92em;
  line-height: 1.45;
}
.entries-page .chip,
.entries-page .entry-detail:has(code) code {
  display: inline-block;
  margin: 0.12rem 0.28rem 0.12rem 0;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  background: var(--bg-chip);
  border: 1px solid var(--border-chip);
  color: var(--text-chip);
  font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
}
.entries-page .entry-detail:has(code) code {
  background: var(--bg-chip);
  border-color: var(--border-chip);
  color: var(--text-chip);
}
.entries-page .chip-label,
.entries-page .entry-detail:has(code) > strong,
.entries-page .entry-row > strong {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.entries-page .entry-detail:has(code) > strong,
.entries-page .entry-row > strong {
  min-width: 6.4rem;
  margin-right: 0.35rem;
  flex: 0 0 auto;
}
.entries-page .entry-detail:has(code),
.entries-page .entry-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  line-height: 1.4;
}
.entries-page .entry-detail:has(code) {
  align-items: flex-start;
  padding-left: 6.75rem;
  font-size: 0;
}
.entries-page .entry-detail:has(code) > strong {
  width: 6.4rem;
  margin-left: -6.75rem;
  padding-top: 0.22rem;
}
.entries-page .entry-row .media-flag {
  flex: 0 0 auto;
  margin-right: 0.35rem;
}
.entries-page .entry-row-value {
  flex: 1 1 12rem;
  min-width: 0;
  font-size: 0.85rem;
  line-height: 1.4;
  color: var(--text-chip);
}
.entries-page .entry-awards {
  display: grid;
  grid-template-columns: max-content 1fr;
  column-gap: 1.25em;
  row-gap: 0.35em;
  align-items: center;
}
.entries-page .entry-awards .entry-row {
  display: contents;
}
.entries-page .entry-awards .entry-row > strong {
  min-width: 0;
}
.entries-page .entry-products {
  float: right;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.5rem;
  width: 10.75rem;
  margin: 0.15em 0 0.65em 1em;
}
.entries-page .entry-product-link {
  display: block;
  line-height: 0;
}
.entries-page .entry-product-shot {
  display: block;
  width: 100%;
  height: 6.1rem;
  object-fit: cover;
  object-position: center;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg-shot);
}
.entries-page .entry-product-shot--logo {
  height: 6.1rem;
  object-fit: contain;
  padding: 1.1rem 0.7rem;
  background: var(--bg-shot);
}
.entries-page .entry-product-shot--portrait {
  height: auto;
  max-height: 14.5rem;
  object-fit: contain;
  background: var(--bg-shot);
}
.entries-page .entry-detail img {
  width: 1.1em;
  height: 1.1em;
  vertical-align: -0.15em;
  margin-right: 0.25em;
}
.entries-page .entry-products img {
  width: 100%;
  margin-right: 0;
  vertical-align: top;
}
@media (max-width: 640px) {
  .entries-page .entry-products {
    float: none;
    flex-direction: row;
    width: 100%;
    margin: 0 0 0.75em;
  }
  .entries-page .entry-product-link {
    flex: 1 1 0;
    min-width: 0;
  }
  .entries-page .entry-product-shot,
  .entries-page .entry-product-shot--logo {
    height: 5.2rem;
  }
  .entries-page .entry-product-shot--portrait {
    height: auto;
    max-height: 12rem;
  }
}
.entries-page .entry-meta,
.entries-page .entry-meta-sm {
  font-size: 0.8em;
  font-weight: 400;
  color: var(--text-muted);
}
.entries-page .entry-meta a {
  display: inline-flex;
  align-items: center;
  margin: 0 0 0 0.25em;
  padding: 0.08em 0.5em;
  border: 1px solid var(--border-meta);
  border-radius: 999px;
  font-size: 0.85em;
  line-height: 1.2;
}
.entries-page .project-card h3 .entry-meta {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
}
.entries-page .project-github-stats {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  margin: 0.1em 0 0.1em 0.55em;
  color: var(--text-muted);
  font-size: 0.85em;
  white-space: nowrap;
}
.entries-page .project-github-stat {
  display: inline-flex;
  align-items: center;
  gap: 0.28em;
}
.entries-page .project-github-stat .icon {
  width: 0.95em;
  height: 0.95em;
  margin: 0;
  color: inherit;
}
.entries-page .entry-logo,
.entries-page .post-content h3 img {
  width: 1.2em;
  height: 1.2em;
  object-fit: contain;
  vertical-align: -0.2em;
  margin-right: 0.3em;
  background-color: #f2f2f2;
  border-radius: 3px;
  padding: 1px;
}
.entries-page .post-content h2 {
  margin-top: 2.1em;
  scroll-margin-top: 0.8em;
}
.entries-page .post-content h2:first-child,
.entries-page .section-rail-main > h2:first-child {
  margin-top: 0.15em;
}
.entries-page .svg-icon {
  width: 1em;
  height: 1em;
  fill: var(--text-muted);
  vertical-align: -0.15em;
  margin-right: 0.25em;
}
.entries-page .entry-detail .icon {
  color: var(--text-muted);
}
.entries-page .project-card {
  margin: 1.15em 0 0;
  padding: 0.95em 1.15em 0.9em;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.entries-page .project-card--flagship {
  border-left: 3px solid var(--brand);
}
.entries-page .project-card h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.35em 0.75em;
  margin: 0 0 0.45em;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
  font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 1.2em;
  font-weight: 600;
  line-height: 1.35;
}
.entries-page .project-why {
  margin: 0 0 0.4em;
  color: var(--text-strong);
  font-weight: 600;
  line-height: 1.4;
}
.entries-page .project-blurb {
  margin: 0 0 0.45em;
}
.entries-page .project-blurb p {
  margin: 0;
  line-height: 1.45;
}
.entries-page .project-shot {
  display: block;
  max-width: min(100%, 28em);
  width: auto;
  max-height: 16em;
  object-fit: contain;
  margin: 0.45em 0 0.6em;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg-shot);
}
.entries-page .project-meta-row {
  display: grid;
  grid-template-columns: 3.4rem 1fr;
  column-gap: 0.85rem;
  align-items: start;
  margin: 0.35em 0 0;
}
.entries-page .project-meta-row .chip-label {
  padding-top: 0.28rem;
}
.entries-page .project-meta-values {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  min-width: 0;
}
.entries-page .project-meta-values .chip {
  margin: 0.12rem 0.28rem 0.12rem 0;
}
.entries-page .project-meta-values a {
  display: inline-block;
  margin: 0.12rem 0.28rem 0.12rem 0;
  padding: 0.12em 0.5em;
  border: 1px solid var(--border-meta);
  border-radius: 999px;
  font-size: 0.8em;
}

.post-project {
  margin: 0.35em 0 0;
  font-size: 0.85em;
  color: var(--text-muted);
}

.post-list-more {
  margin: 0.25em 0 0;
}

.home-stats-link,
.made-with {
  margin: 2.5em 0 0;
  text-align: right;
  font-size: 0.8em;
  color: var(--text-muted);
}

.home-stats-link a,
.made-with a {
  color: var(--text-muted);
}

.home-stats-link a:hover,
.made-with a:hover {
  color: var(--text-hover);
}

.made-with .icon {
  margin-right: 0.25em;
  color: inherit;
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75em;
  margin: 1.75em 0 0;
  padding-top: 0.85em;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.9em;
}

.pagination-pages {
  display: flex;
  align-items: center;
  gap: 0.35em;
}

.pagination-link,
.pagination-num {
  display: inline-block;
  padding: 0.2em 0.55em;
  border: 1px solid var(--border-meta);
  border-radius: 999px;
  color: var(--text);
}

.pagination-link:hover,
.pagination-num:hover {
  color: var(--text-hover);
  border-color: var(--border-chip-hover);
}

.pagination-link--disabled {
  border-color: transparent;
  color: var(--text-muted);
  cursor: default;
}

.pagination-num--current {
  background: var(--bg-chip);
  color: var(--text-strong);
}

.media-date {
  display: block;
  font-size: 0.6em;
  text-align: center;
}

.media-rating {
  font-size: 0.6em;
}

.media-subtitle {
  font-size: 0.75em;
}

.media-or {
  font-size: 0.7em;
}

.chip {
  display: inline-block;
  margin: 0.12rem 0.28rem 0.12rem 0;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  background: var(--bg-chip);
  border: 1px solid var(--border-chip);
  color: var(--text-chip);
  font-family: "Source Sans 3", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
}

.media-genres {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.2rem;
}

.media-genres .chip {
  margin: 0;
  padding: 0.08rem 0.42rem;
  font-size: 0.62rem;
}

table.media-table a {
  white-space: nowrap;
}

.media-card-col {
  display: none;
}

.media-flag {
  display: inline-block;
  width: 1.15rem;
  height: 0.77rem;
  vertical-align: -0.12em;
  border-radius: 2px;
  box-shadow: 0 0 0 1px var(--flag-ring);
  overflow: hidden;
}

.media-table td:has(.media-flag):not(.media-card) {
  text-align: center;
}

.media-table-wrap {
  margin: 0 0 1.25em;
}

table.media-table {
  width: 100%;
}

table.stats-table {
  width: auto;
}

.stats-countries-heading {
  margin-bottom: 0.65em;
}
.stats-countries-heading .icon.icon-travels {
  color: #38bdf8;
}

.stats-countries-map-wrap {
  margin: 0;
  padding: 0.65em;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.stats-countries-map {
  width: 100%;
  height: min(58vh, 480px);
  min-height: 260px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-code);
}

.stats-countries-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35em 0.85em;
  margin: 0.75em 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.78em;
  color: var(--text-muted);
}

.stats-countries-legend li {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  white-space: nowrap;
}

.stats-countries-legend-swatch {
  width: 0.72em;
  height: 0.72em;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
  flex: 0 0 auto;
}

.stats-countries-tooltip {
  background: var(--bg-elevated);
  color: var(--text);
  border: 1px solid var(--border-meta);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
  font-size: 0.82em;
  font-weight: 600;
}

.stats-table th,
.stats-table td {
  width: 1%;
  padding-left: 0.55em;
  padding-right: 0.55em;
  font-size: 0.85em;
  text-align: left;
  white-space: nowrap;
}

table.sortable th[role=columnheader]:not([data-sort-method=none]) {
  cursor: pointer;
  user-select: none;
}

.sort-icon {
  display: inline-flex;
  align-items: center;
  margin-left: 0.3em;
  vertical-align: -0.1em;
}
.sort-icon .icon {
  display: none;
  width: 0.85em;
  height: 0.85em;
  margin-right: 0;
  opacity: 0.4;
  color: inherit;
}

table.sortable th:not([data-sort-method=none]) .sort-icon .icon-sort {
  display: inline-block;
}

table.sortable th[aria-sort=ascending] .sort-icon .icon-sort {
  display: none;
}
table.sortable th[aria-sort=ascending] .sort-icon .icon-sort-up {
  display: inline-block;
  opacity: 0.85;
}

table.sortable th[aria-sort=descending] .sort-icon .icon-sort {
  display: none;
}
table.sortable th[aria-sort=descending] .sort-icon .icon-sort-down {
  display: inline-block;
  opacity: 0.85;
}

table.media-table:not(.stats-table),
table.media-table:not(.stats-table) thead,
table.media-table:not(.stats-table) tbody,
table.media-table:not(.stats-table) th,
table.media-table:not(.stats-table) td {
  display: block;
  width: 100%;
  max-width: none;
}

table.media-table:not(.stats-table) {
  border: 0;
}

table.media-table:not(.stats-table) thead tr {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35em;
  margin: 0 0 0.85em;
  background: transparent;
}

table.media-table:not(.stats-table) thead th {
  width: auto;
  background: var(--bg-chip);
  border: 1px solid var(--border-chip);
  border-radius: 999px;
  padding: 0.28em 0.65em;
  font-size: 0.75em;
  font-weight: 600;
  white-space: nowrap;
  line-height: 1.3;
}

table.media-table:not(.stats-table) thead th br,
table.media-table:not(.stats-table) thead .media-or {
  display: none;
}

table.media-table:not(.stats-table) thead th.media-card-col,
table.media-table:not(.stats-table) td:not(.media-card) {
  display: none;
}

table.media-table tbody tr.media-row {
  display: block;
  max-width: none;
  margin: 0 0 1em;
  padding: 0;
  background: var(--bg-chip);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

table.media-table--month-gaps tbody tr.media-row {
  position: relative;
  margin-bottom: 0.7em;
  overflow: visible;
}

table.media-table--month-gaps tbody tr.media-row .media-card-body {
  overflow: visible;
  border-radius: 15px;
}

table.media-table--month-gaps tbody tr.media-row--month-break {
  margin-top: 1.8em;
}

table.media-table--month-gaps tbody tr.media-row--month-first {
  margin-top: 1.65em;
}

.media-month-label {
  display: none;
  position: absolute;
  right: 0.15em;
  bottom: 100%;
  margin: 0 0 0.85em;
  color: var(--text-muted);
  font-size: 0.72em;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.02em;
  pointer-events: none;
}

table.media-table--month-gaps tbody tr.media-row--month-break .media-month-label {
  display: block;
}

table.media-table tbody tr.media-row:nth-child(even) {
  background: var(--bg-chip);
}

table.media-table tbody tr.media-row[hidden] {
  display: none;
}

.media-section--current table.media-table tbody tr.media-row {
  border-left: 3px solid var(--brand);
}

table.media-table td.media-card {
  position: relative;
  display: block;
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
  text-align: left;
}

table.media-table .media-card a {
  white-space: normal;
}

.media-card-body {
  display: flex;
  align-items: center;
  gap: 1em;
  padding: 0.95em 1.1em;
}

.media-card-cover {
  flex: 0 0 5rem;
  width: 5rem;
  height: 5rem;
  border-radius: 10px;
  background: var(--bg-elevated);
  overflow: hidden;
}

.media-card-cover img {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-card-cover img[data-cover-state=ready] {
  display: block;
}

@media screen and (min-width: 700px) {
  .media-card-cover {
    flex-basis: 5.5rem;
    width: 5.5rem;
    height: 5.5rem;
  }
}
.media-card-main {
  min-width: 0;
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas: "title rating" "byline rating" "meta rating" "genres rating";
  align-items: center;
  column-gap: 0.75em;
}

.media-card-title {
  grid-area: title;
  margin: 0;
  color: var(--text-strong);
  font-size: 1.05em;
  font-weight: 700;
  line-height: 1.3;
  text-align: left;
}

.media-card-title a,
.media-card-title a:visited {
  color: inherit;
}

.media-card-title a:hover {
  color: var(--text-hover);
}

.media-card-title nobr {
  white-space: normal;
}

.media-card-lang {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
  margin: 0 0 0 0.45em;
  padding: 0.08em 0.5em;
  vertical-align: middle;
  font-size: 0.62em;
  font-weight: 500;
  line-height: 1.2;
}

.media-card-lang .media-flag {
  width: 0.95rem;
  height: 0.64rem;
  margin: 0;
  vertical-align: 0;
}

.media-card-byline {
  grid-area: byline;
  display: flex;
  flex-wrap: nowrap;
  align-items: baseline;
  min-width: 0;
  max-width: 100%;
  margin: 0.2em 0 0;
  color: var(--text-muted);
  font-size: 0.82em;
  font-weight: 400;
  line-height: 1.45;
}

.media-card-byline-lead {
  flex: 0 0 auto;
  white-space: nowrap;
}

.media-card-byline-places {
  flex: 1 1 auto;
  min-width: 0;
  overflow-wrap: break-word;
}

.media-inline-sep {
  white-space: pre;
}

.media-place-sep {
  white-space: pre;
}

.media-card-byline a,
.media-card-byline a:visited {
  color: inherit;
}

.media-card-byline a:hover {
  color: var(--text-hover);
}

.media-card-byline .icon {
  display: inline-block;
  width: 0.95em;
  height: 0.95em;
  margin: 0 0.35em 0 0;
  vertical-align: -0.12em;
}

.media-card-meta {
  grid-area: meta;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35em 1.15em;
  margin: 0.35em 0 0;
  color: var(--text-muted);
  font-size: 0.82em;
  line-height: 1.3;
}

.media-card-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.35em;
}

.media-card-meta .icon {
  width: 0.95em;
  height: 0.95em;
  margin: 0;
  flex: 0 0 auto;
}

.media-card-genres {
  grid-area: genres;
  margin: 0.3em 0 0;
  color: var(--text-muted);
  font-size: 0.8em;
  line-height: 1.35;
  opacity: 0.75;
}

.media-card-rating {
  grid-area: rating;
  margin: 0;
  line-height: 1;
}

.media-stars {
  display: inline-flex;
  align-items: center;
  gap: 0.12em;
  color: var(--text-strong);
}

.media-stars .icon {
  width: 1.05em;
  height: 1.05em;
  margin: 0;
}

.media-stars .icon-star-empty {
  color: var(--text-muted);
  opacity: 0.85;
}

@media screen and (max-width: 560px) {
  .media-card-body {
    align-items: flex-start;
  }
  .media-card-main {
    grid-template-columns: 1fr;
    grid-template-areas: "title" "byline" "rating" "meta" "genres";
    align-items: start;
    min-width: 0;
    max-width: 100%;
  }
  .media-card-rating {
    margin-top: 0.3em;
  }
}
.media-toolbar {
  margin: 0 0 1.5em;
  padding: 0.85em 1em;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.media-toolbar-field {
  display: inline-block;
  margin: 0 1em 0.6em 0;
}

.media-toolbar-label {
  display: block;
  font-size: 0.75em;
  color: var(--text-muted);
  margin-bottom: 0.25em;
}

.media-search,
.media-rating-filter {
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border-meta);
  border-radius: 4px;
  padding: 0.35em 0.55em;
  min-width: 12em;
}

.media-toolbar-hint,
.media-filter-status {
  margin: 0.35em 0 0;
  font-size: 0.8em;
  color: var(--text-muted);
}

.media-toolbar:has(+ .home-stats-link) {
  margin-bottom: 0;
}

.media-toolbar + .home-stats-link {
  margin: 0.15em 0 1.5em;
}

.media-lead {
  min-width: 0;
}

.media-lead > .media-toolbar:has(+ .home-stats-link) {
  margin-bottom: 0;
}

.media-lead > .media-toolbar + .home-stats-link {
  margin: 0.15em 0 0.35em;
}

.travels-map-wrap {
  margin: 0 0 1em;
  padding: 0.65em;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.travels-map {
  width: 100%;
  height: min(52vh, 420px);
  min-height: 240px;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-code);
}

.travels-map-pin span {
  display: block;
  width: 10px;
  height: 10px;
  background: #ef4444;
  border: 1.5px solid var(--bg-elevated);
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.travels-map-home {
  background: none;
  border: none;
}

.travels-map-home .icon {
  display: block;
  width: 22px;
  height: 22px;
  color: #22c55e;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.45));
}

.travels-map-popup-home {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92em;
}

.travels-map-popup-wrap .leaflet-popup-content-wrapper,
.travels-map-popup-wrap .leaflet-popup-tip {
  background: var(--bg-elevated);
  color: var(--text);
  border: 1px solid var(--border-meta);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22);
}

.travels-map-popup-wrap .leaflet-popup-content {
  margin: 0.65em 0.75em;
  line-height: 1.4;
}

.travels-map-popup-title {
  margin: 0 0 0.35em;
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  font-weight: 600;
  color: var(--text-strong);
}

.travels-map-popup-periods {
  margin: 0;
  padding-left: 1.1em;
  color: var(--text-muted);
  font-size: 0.92em;
}

.travels-map-popup-periods li + li {
  margin-top: 0.15em;
}

.section-rail-main > .media-section:first-child > h2 {
  margin-top: 0.15em;
}

.back-to-top {
  position: fixed;
  right: max(1.1rem, env(safe-area-inset-right));
  bottom: max(1.1rem, env(safe-area-inset-bottom));
  z-index: 20;
  width: 2.75rem;
  height: 2.75rem;
  margin: 0;
  padding: 0;
  border: 1px solid var(--border-meta);
  border-radius: 50%;
  background: var(--bg-elevated);
  color: var(--text);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.back-to-top .icon {
  width: 1.25em;
  height: 1.25em;
  margin: 0;
  vertical-align: 0;
}

.back-to-top:hover {
  border-color: var(--border-chip-hover);
  color: var(--text);
}

.back-to-top[hidden] {
  display: none;
}

.section-rail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}

.section-rail-main {
  min-width: 0;
}

.section-rail {
  --section-rail-dot: 0.9rem;
  --section-rail-pad-x: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: max-content;
  max-height: none;
  margin: 0 0 1em;
  padding: 0.1em 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.section-rail::before {
  content: "";
  position: absolute;
  top: 0.95em;
  bottom: 0.95em;
  left: calc(var(--section-rail-pad-x) + var(--section-rail-dot) / 2 - 1px);
  width: 2px;
  background: var(--border);
  border-radius: 999px;
}

@media screen and (max-width: 759px) {
  .section-rail {
    --section-rail-pad-x: 0.4em;
    position: fixed;
    top: 5.5rem;
    right: max(0.45rem, env(safe-area-inset-right));
    left: auto;
    z-index: 15;
    max-width: calc(100vw - 1rem);
    max-height: min(70vh, 100vh - 6rem);
    margin: 0;
    padding: 0.45em var(--section-rail-pad-x);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: color-mix(in srgb, var(--bg-elevated) 68%, transparent);
    border: 1px solid color-mix(in srgb, var(--border) 50%, transparent);
    border-radius: 12px;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.16);
    backdrop-filter: blur(6px);
  }
  .section-rail[data-section-rail-collapsible]:not(.section-rail--expanded) {
    overflow: hidden;
  }
  .section-rail[data-section-rail-collapsible]:not(.section-rail--expanded) .section-rail-links {
    display: none;
  }
  .section-rail[data-section-rail-collapsible]:not(.section-rail--expanded)::before {
    display: none;
  }
  .section-rail::before {
    left: auto;
    right: calc(var(--section-rail-pad-x) + var(--section-rail-dot) / 2 - 1px);
  }
  .section-rail-links {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }
  .section-rail a,
  .section-rail a:visited {
    width: 100%;
  }
}
@media screen and (min-width: 760px) {
  .stats-page .media-table-wrap,
  .stats-page .stats-countries-heading,
  .stats-page .stats-countries-map-wrap {
    max-width: 830px;
  }
  .stats-page table.stats-table {
    width: 100%;
  }
  .section-rail-layout {
    grid-template-columns: minmax(0, 1fr) 9.5rem;
    column-gap: 1.15rem;
  }
  .section-rail-main {
    grid-column: 1;
    grid-row: 1;
  }
  .section-rail {
    grid-column: 2;
    grid-row: 1;
    position: sticky;
    top: 0.85rem;
    align-self: start;
    align-items: flex-start;
    z-index: 5;
    width: max-content;
    max-width: 100%;
    max-height: calc(100vh - 1.7rem);
    margin: 0.2em 0 0;
    overflow-y: auto;
  }
  .section-rail::before {
    left: calc(var(--section-rail-dot) / 2 - 1px);
  }
  .section-rail-toggle {
    display: none;
  }
  .section-rail-links {
    display: contents;
  }
  .section-rail-layout:has(> .media-lead) > .media-lead {
    grid-column: 1;
    grid-row: 1;
  }
  .section-rail-layout:has(> .media-lead) > .section-rail-main,
  .section-rail-layout:has(> .media-lead) > .section-rail {
    grid-row: 2;
  }
}
.section-rail a,
.section-rail a:visited {
  position: relative;
  display: grid;
  grid-template-columns: var(--section-rail-dot) 1fr;
  column-gap: 0.55em;
  align-items: center;
  width: auto;
  min-height: 1.85em;
  margin: 0;
  padding: 0.12em 0;
  color: var(--text-muted);
  font-size: 0.8em;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  white-space: nowrap;
}

.section-rail-dot {
  position: relative;
  z-index: 1;
  grid-column: 1;
  grid-row: 1;
  justify-self: center;
  width: var(--section-rail-dot);
  height: var(--section-rail-dot);
  border: 2px solid var(--border-chip);
  border-radius: 50%;
  background: var(--bg);
  box-sizing: border-box;
}

.section-rail-label {
  grid-column: 2;
  grid-row: 1;
}

.section-rail-toggle {
  display: none;
  align-items: center;
  gap: 0.35em;
  width: 100%;
  margin: 0;
  padding: 0.2em 0;
  border: 0;
  background: transparent;
  color: var(--text-strong);
  font: inherit;
  font-size: 0.8em;
  font-weight: 600;
  line-height: 1.25;
  text-align: right;
  cursor: pointer;
}

.section-rail-toggle-label {
  flex: 1 1 auto;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.section-rail-toggle-icon {
  flex: 0 0 auto;
  width: 0.95em;
  height: 0.95em;
  color: var(--text-muted);
}

.section-rail-toggle-icon--collapse {
  display: none;
}

.section-rail--expanded .section-rail-toggle-icon--expand {
  display: none;
}

.section-rail--expanded .section-rail-toggle-icon--collapse {
  display: block;
}

@media screen and (max-width: 759px) {
  .section-rail[data-section-rail-collapsible] .section-rail-toggle {
    display: flex;
  }
}
.section-rail a[hidden] {
  display: none;
}

.section-rail a:hover {
  color: var(--text-hover);
  text-decoration: none;
}

.section-rail a.is-current,
.section-rail a[aria-current=location] {
  color: var(--text-strong);
}

.section-rail a.is-current .section-rail-dot,
.section-rail a[aria-current=location] .section-rail-dot {
  border-color: var(--brand);
  background: var(--brand);
}

@media screen and (max-width: 759px) {
  .section-rail a,
  .section-rail a:visited {
    grid-template-columns: 1fr var(--section-rail-dot);
  }
  .section-rail-dot {
    grid-column: 2;
  }
  .section-rail-label {
    grid-column: 1;
    text-align: right;
  }
}
.media-section {
  scroll-margin-top: 0.8em;
}

.error-404 {
  margin: 10px auto;
  max-width: 600px;
  text-align: center;
}
.error-404 h1 {
  margin: 30px 0;
  font-size: 4em;
  line-height: 1;
  letter-spacing: -1px;
}

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