/* === Instagram-style Photoblog === */

/* Photoblog-specific variables (colors come from site_kit base.css) */
:root {
  --bg-card: var(--code-bg);
  --overlay: rgba(0,0,0,0.5);
  --modal-bg: var(--code-bg);
  --shadow: 0 1px 3px rgba(0,0,0,0.4);
}

[data-theme="light"] {
  --bg-card: #fff;
  --overlay: rgba(0,0,0,0.3);
  --modal-bg: #fff;
  --shadow: 0 1px 3px rgba(0,0,0,0.12);
}

/* ===== PHOTOBLOG BODY OVERRIDES ===== */
body {
  font-size: 14px;
  line-height: 1.5;
}

/* ===== HEADER ===== */
.header-inner {
  max-width: 975px;
  margin: 0 auto;
  padding: 0 20px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.5px;
}

.logo:hover { color: var(--text); text-decoration: none; }

/* Photoblog nav overrides */
nav button, nav .nav-icon {
  border-radius: 8px;
}

.view-btn.active {
  color: var(--link);
}

.nav-sep {
  width: 1px;
  height: 24px;
  background: var(--border);
  margin: 0 4px;
}

/* ===== MAIN CONTENT ===== */
main {
  max-width: 975px;
  margin: 0 auto;
  padding: 24px 20px 60px;
}

/* ===== GRID VIEW (Instagram profile) ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}

.grid-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  cursor: pointer;
  background: var(--border);
  content-visibility: auto;
  contain-intrinsic-size: auto 300px;
}

.grid-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.15s;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background: var(--overlay);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
  padding: 8px;
}

.grid-item:hover .grid-overlay,
.grid-item:focus .grid-overlay {
  opacity: 1;
}

.grid-overlay-title {
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

/* Multi-image indicator (top-right corner like Instagram) */
.grid-multi-icon {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.5));
  pointer-events: none;
}

/* ===== FEED VIEW (Instagram home) ===== */
.gallery-feed {
  max-width: 600px;
  margin: 0 auto;
}

.feed-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 16px;
  overflow: hidden;
  content-visibility: auto;
  contain-intrinsic-size: auto 500px;
}

.feed-card-link {
  display: block;
}

.feed-photo {
  width: 100%;
  display: block;
  max-height: 600px;
  object-fit: cover;
}

.feed-card-body {
  padding: 12px 16px 16px;
}

.feed-card-title {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text);
  text-decoration: none;
  display: block;
  margin-bottom: 4px;
}

.feed-card-title:hover {
  color: var(--link);
  text-decoration: none;
}

.feed-card-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.feed-excerpt {
  margin: 8px 0 4px;
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.4;
}

.feed-card-tags {
  margin-top: 8px;
}

/* ===== POST DETAIL MODAL ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
  padding: 40px;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--modal-bg);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  max-width: 900px;
  max-height: 80vh;
  width: 100%;
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 16px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  z-index: 1001;
  line-height: 1;
  text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.modal-close:hover { opacity: 0.7; }

.modal-photo {
  flex: 1 1 55%;
  min-width: 0;
  background: #000;
  display: flex;
  align-items: center;
  position: relative;
}

.modal-img {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  display: block;
}

/* Carousel controls */
.carousel-prev,
.carousel-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2;
  line-height: 1;
  padding: 0;
  transition: background 0.15s;
}

.carousel-prev:hover,
.carousel-next:hover { background: rgba(0,0,0,0.8); }

.carousel-prev { left: 8px; }
.carousel-next { right: 8px; }

.carousel-prev.visible,
.carousel-next.visible { display: flex; }

.carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  gap: 4px;
  z-index: 2;
}

.carousel-dots.visible { display: flex; }

.carousel-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  transition: background 0.15s;
  cursor: pointer;
  border: none;
  padding: 0;
}

.carousel-dot.active { background: #fff; }

.carousel-counter {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 0.75rem;
  padding: 2px 8px;
  border-radius: 10px;
  display: none;
  z-index: 2;
}

.carousel-counter.visible { display: block; }

/* Per-photo caption overlay at bottom of modal photo */
.modal-photo-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 16px 12px;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: #fff;
  font-size: 0.85rem;
  font-style: italic;
  line-height: 1.4;
  z-index: 3;
}

/* Post caption in modal details */
.modal-post-caption {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.5;
  margin: 0;
}

.modal-details {
  flex: 1 1 45%;
  padding: 24px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.modal-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
}

.modal-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.modal-excerpt {
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1.5;
  margin: 0;
}

.modal-tags {
  margin-top: 4px;
}

.modal-link {
  display: inline-block;
  margin-top: auto;
  padding: 10px 20px;
  background: var(--link);
  color: #fff;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
  transition: background 0.15s;
}

.modal-link:hover {
  background: var(--link-hover);
  color: #fff;
  text-decoration: none;
}

/* ===== POST PAGE ===== */
.post-detail {
  max-width: 600px;
  margin: 0 auto;
}

.post-detail h1 {
  font-size: 1.6rem;
  line-height: 1.3;
  margin: 0 0 8px;
}

.post-detail .post-meta {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.post-body img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
  margin: 0 auto;
}

.post-body p {
  margin: 0 0 1em;
  line-height: 1.6;
}

/* ===== TAG OVERRIDES ===== */
.tag-page-title {
  font-size: 1.4rem;
  margin: 0 0 16px;
}

.tag {
  background: var(--bg);
  color: var(--link);
  border: 1px solid var(--border);
  border-radius: 20px;
}

.tag:hover {
  background: var(--link);
  color: #fff;
}

/* ===== TAG SIDEBAR OVERRIDES ===== */
.tag-sidebar {
  top: 61px;
  width: 260px;
  height: calc(100vh - 61px);
}

.tag-count {
  font-size: 0.7rem;
}

/* ===== TIMELINE SIDEBAR (photoblog-specific track style) ===== */
.timeline-sidebar {
  top: 61px;
  width: 200px;
  height: calc(100vh - 61px);
  padding: 16px 12px;
}

.timeline-sidebar-header {
  margin-bottom: 12px;
}

.tl-track {
  position: relative;
  padding-left: 20px;
  border-left: 2px solid var(--border);
  margin-left: 8px;
}

.tl-year {
  position: relative;
  margin-bottom: 8px;
}

.tl-year::before {
  content: "";
  position: absolute;
  left: -25px;
  top: 6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--link);
  border: 2px solid var(--bg);
}

.tl-year-label {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  cursor: pointer;
  transition: color 0.15s;
}

.tl-year-label:hover { color: var(--link); }

.tl-year-count {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-left: 4px;
}

.tl-months {
  margin-top: 4px;
  margin-left: 4px;
}

.tl-month {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 3px 0;
  cursor: pointer;
  transition: color 0.15s;
  position: relative;
}

.tl-month::before {
  content: "";
  position: absolute;
  left: -29px;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--border);
  transition: background 0.15s;
}

.tl-month:hover::before { background: var(--link); }
.tl-month:hover .tl-month-label { color: var(--link); }

.tl-month-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.15s;
}

.tl-month-count {
  font-size: 0.65rem;
  color: var(--text-muted);
  background: var(--code-bg);
  padding: 0 5px;
  border-radius: 8px;
}

/* ===== TYPOGRAPHY OVERRIDES ===== */
a:hover { text-decoration: none; }
h2 { font-size: 1.3rem; }
h3 { font-size: 1.1rem; }

/* ===== COMMENTS ===== */
.comments {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.comment {
  margin-bottom: 16px;
  padding: 10px 14px;
  border-left: 3px solid var(--blockquote-border);
  background: var(--code-bg);
  border-radius: 0 4px 4px 0;
}

.comment-header { font-size: 0.85rem; margin-bottom: 4px; }
.comment-date { color: var(--text-muted); font-size: 0.8rem; }
.comment-body { line-height: 1.5; }

.comment-form-wrapper h3 { margin-top: 20px; margin-bottom: 10px; }
.comment-form-wrapper[data-endpoint=""] { display: none; }

.comment-form .form-field { margin-bottom: 10px; }

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

.comment-form input[type="text"],
.comment-form textarea {
  width: 100%;
  padding: 8px 12px;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: border-color 0.15s;
}

.comment-form input[type="text"]:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: var(--link);
}

.comment-form textarea { resize: vertical; min-height: 80px; }

.comment-form button[type="submit"] {
  padding: 8px 24px;
  font-family: inherit;
  font-size: 0.9rem;
  color: #fff;
  background: var(--link);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.15s;
}

.comment-form button[type="submit"]:hover { background: var(--link-hover); }

.hp-field {
  position: absolute;
  left: -9999px;
  height: 0;
  overflow: hidden;
  opacity: 0;
}

/* ===== SCROLL SENTINEL ===== */
.scroll-sentinel {
  height: 1px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .header-inner {
    padding: 0 12px;
    height: 52px;
  }

  .logo { font-size: 1.2rem; }

  nav { gap: 0; }
  nav button, nav .nav-icon { width: 30px; height: 30px; }

  main { padding: 8px 4px 40px; }

  .gallery-grid { gap: 2px; }

  .gallery-feed { padding: 0 4px; }

  .feed-card { border-radius: 0; border-left: none; border-right: none; margin-bottom: 8px; }

  /* Modal: full screen on mobile */
  .modal-overlay { padding: 0; }

  .modal-content {
    flex-direction: column;
    max-height: 100vh;
    border-radius: 0;
    width: 100%;
    max-width: 100%;
  }

  .modal-photo { flex: none; max-height: 60vh; }
  .modal-img { max-height: 60vh; }
  .modal-details { padding: 16px; flex: 1; }

  .modal-close { top: 8px; right: 12px; }

  .post-detail { padding: 0 12px; }
  .post-detail h1 { font-size: 1.3rem; }
}

@media (max-width: 480px) {
  .gallery-grid { gap: 1px; }

  .grid-overlay-title { font-size: 0.75rem; }

  .nav-sep { display: none; }
}

/* Pygments - light */
pre { line-height: 125%; }
td.linenos .normal { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
span.linenos { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
.highlight .hll { background-color: #ffffcc }
.highlight { background: #f8f8f8; }
.highlight .c { color: #3D7B7B; font-style: italic } /* Comment */
.highlight .err { border: 1px solid #F00 } /* Error */
.highlight .k { color: #008000; font-weight: bold } /* Keyword */
.highlight .o { color: #666 } /* Operator */
.highlight .ch { color: #3D7B7B; font-style: italic } /* Comment.Hashbang */
.highlight .cm { color: #3D7B7B; font-style: italic } /* Comment.Multiline */
.highlight .cp { color: #9C6500 } /* Comment.Preproc */
.highlight .cpf { color: #3D7B7B; font-style: italic } /* Comment.PreprocFile */
.highlight .c1 { color: #3D7B7B; font-style: italic } /* Comment.Single */
.highlight .cs { color: #3D7B7B; font-style: italic } /* Comment.Special */
.highlight .gd { color: #A00000 } /* Generic.Deleted */
.highlight .ge { font-style: italic } /* Generic.Emph */
.highlight .ges { font-weight: bold; font-style: italic } /* Generic.EmphStrong */
.highlight .gr { color: #E40000 } /* Generic.Error */
.highlight .gh { color: #000080; font-weight: bold } /* Generic.Heading */
.highlight .gi { color: #008400 } /* Generic.Inserted */
.highlight .go { color: #717171 } /* Generic.Output */
.highlight .gp { color: #000080; font-weight: bold } /* Generic.Prompt */
.highlight .gs { font-weight: bold } /* Generic.Strong */
.highlight .gu { color: #800080; font-weight: bold } /* Generic.Subheading */
.highlight .gt { color: #04D } /* Generic.Traceback */
.highlight .kc { color: #008000; font-weight: bold } /* Keyword.Constant */
.highlight .kd { color: #008000; font-weight: bold } /* Keyword.Declaration */
.highlight .kn { color: #008000; font-weight: bold } /* Keyword.Namespace */
.highlight .kp { color: #008000 } /* Keyword.Pseudo */
.highlight .kr { color: #008000; font-weight: bold } /* Keyword.Reserved */
.highlight .kt { color: #B00040 } /* Keyword.Type */
.highlight .m { color: #666 } /* Literal.Number */
.highlight .s { color: #BA2121 } /* Literal.String */
.highlight .na { color: #687822 } /* Name.Attribute */
.highlight .nb { color: #008000 } /* Name.Builtin */
.highlight .nc { color: #00F; font-weight: bold } /* Name.Class */
.highlight .no { color: #800 } /* Name.Constant */
.highlight .nd { color: #A2F } /* Name.Decorator */
.highlight .ni { color: #717171; font-weight: bold } /* Name.Entity */
.highlight .ne { color: #CB3F38; font-weight: bold } /* Name.Exception */
.highlight .nf { color: #00F } /* Name.Function */
.highlight .nl { color: #767600 } /* Name.Label */
.highlight .nn { color: #00F; font-weight: bold } /* Name.Namespace */
.highlight .nt { color: #008000; font-weight: bold } /* Name.Tag */
.highlight .nv { color: #19177C } /* Name.Variable */
.highlight .ow { color: #A2F; font-weight: bold } /* Operator.Word */
.highlight .w { color: #BBB } /* Text.Whitespace */
.highlight .mb { color: #666 } /* Literal.Number.Bin */
.highlight .mf { color: #666 } /* Literal.Number.Float */
.highlight .mh { color: #666 } /* Literal.Number.Hex */
.highlight .mi { color: #666 } /* Literal.Number.Integer */
.highlight .mo { color: #666 } /* Literal.Number.Oct */
.highlight .sa { color: #BA2121 } /* Literal.String.Affix */
.highlight .sb { color: #BA2121 } /* Literal.String.Backtick */
.highlight .sc { color: #BA2121 } /* Literal.String.Char */
.highlight .dl { color: #BA2121 } /* Literal.String.Delimiter */
.highlight .sd { color: #BA2121; font-style: italic } /* Literal.String.Doc */
.highlight .s2 { color: #BA2121 } /* Literal.String.Double */
.highlight .se { color: #AA5D1F; font-weight: bold } /* Literal.String.Escape */
.highlight .sh { color: #BA2121 } /* Literal.String.Heredoc */
.highlight .si { color: #A45A77; font-weight: bold } /* Literal.String.Interpol */
.highlight .sx { color: #008000 } /* Literal.String.Other */
.highlight .sr { color: #A45A77 } /* Literal.String.Regex */
.highlight .s1 { color: #BA2121 } /* Literal.String.Single */
.highlight .ss { color: #19177C } /* Literal.String.Symbol */
.highlight .bp { color: #008000 } /* Name.Builtin.Pseudo */
.highlight .fm { color: #00F } /* Name.Function.Magic */
.highlight .vc { color: #19177C } /* Name.Variable.Class */
.highlight .vg { color: #19177C } /* Name.Variable.Global */
.highlight .vi { color: #19177C } /* Name.Variable.Instance */
.highlight .vm { color: #19177C } /* Name.Variable.Magic */
.highlight .il { color: #666 } /* Literal.Number.Integer.Long */

/* Pygments - dark */
pre { line-height: 125%; }
td.linenos .normal { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
span.linenos { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; }
[data-theme="dark"] .highlight .hll { background-color: #49483e }
[data-theme="dark"] .highlight { background: #272822; color: #F8F8F2 }
[data-theme="dark"] .highlight .c { color: #959077 } /* Comment */
[data-theme="dark"] .highlight .err { color: #ED007E; background-color: #1E0010 } /* Error */
[data-theme="dark"] .highlight .esc { color: #F8F8F2 } /* Escape */
[data-theme="dark"] .highlight .g { color: #F8F8F2 } /* Generic */
[data-theme="dark"] .highlight .k { color: #66D9EF } /* Keyword */
[data-theme="dark"] .highlight .l { color: #AE81FF } /* Literal */
[data-theme="dark"] .highlight .n { color: #F8F8F2 } /* Name */
[data-theme="dark"] .highlight .o { color: #FF4689 } /* Operator */
[data-theme="dark"] .highlight .x { color: #F8F8F2 } /* Other */
[data-theme="dark"] .highlight .p { color: #F8F8F2 } /* Punctuation */
[data-theme="dark"] .highlight .ch { color: #959077 } /* Comment.Hashbang */
[data-theme="dark"] .highlight .cm { color: #959077 } /* Comment.Multiline */
[data-theme="dark"] .highlight .cp { color: #959077 } /* Comment.Preproc */
[data-theme="dark"] .highlight .cpf { color: #959077 } /* Comment.PreprocFile */
[data-theme="dark"] .highlight .c1 { color: #959077 } /* Comment.Single */
[data-theme="dark"] .highlight .cs { color: #959077 } /* Comment.Special */
[data-theme="dark"] .highlight .gd { color: #FF4689 } /* Generic.Deleted */
[data-theme="dark"] .highlight .ge { color: #F8F8F2; font-style: italic } /* Generic.Emph */
[data-theme="dark"] .highlight .ges { color: #F8F8F2; font-weight: bold; font-style: italic } /* Generic.EmphStrong */
[data-theme="dark"] .highlight .gr { color: #F8F8F2 } /* Generic.Error */
[data-theme="dark"] .highlight .gh { color: #F8F8F2 } /* Generic.Heading */
[data-theme="dark"] .highlight .gi { color: #A6E22E } /* Generic.Inserted */
[data-theme="dark"] .highlight .go { color: #66D9EF } /* Generic.Output */
[data-theme="dark"] .highlight .gp { color: #FF4689; font-weight: bold } /* Generic.Prompt */
[data-theme="dark"] .highlight .gs { color: #F8F8F2; font-weight: bold } /* Generic.Strong */
[data-theme="dark"] .highlight .gu { color: #959077 } /* Generic.Subheading */
[data-theme="dark"] .highlight .gt { color: #F8F8F2 } /* Generic.Traceback */
[data-theme="dark"] .highlight .kc { color: #66D9EF } /* Keyword.Constant */
[data-theme="dark"] .highlight .kd { color: #66D9EF } /* Keyword.Declaration */
[data-theme="dark"] .highlight .kn { color: #FF4689 } /* Keyword.Namespace */
[data-theme="dark"] .highlight .kp { color: #66D9EF } /* Keyword.Pseudo */
[data-theme="dark"] .highlight .kr { color: #66D9EF } /* Keyword.Reserved */
[data-theme="dark"] .highlight .kt { color: #66D9EF } /* Keyword.Type */
[data-theme="dark"] .highlight .ld { color: #E6DB74 } /* Literal.Date */
[data-theme="dark"] .highlight .m { color: #AE81FF } /* Literal.Number */
[data-theme="dark"] .highlight .s { color: #E6DB74 } /* Literal.String */
[data-theme="dark"] .highlight .na { color: #A6E22E } /* Name.Attribute */
[data-theme="dark"] .highlight .nb { color: #F8F8F2 } /* Name.Builtin */
[data-theme="dark"] .highlight .nc { color: #A6E22E } /* Name.Class */
[data-theme="dark"] .highlight .no { color: #66D9EF } /* Name.Constant */
[data-theme="dark"] .highlight .nd { color: #A6E22E } /* Name.Decorator */
[data-theme="dark"] .highlight .ni { color: #F8F8F2 } /* Name.Entity */
[data-theme="dark"] .highlight .ne { color: #A6E22E } /* Name.Exception */
[data-theme="dark"] .highlight .nf { color: #A6E22E } /* Name.Function */
[data-theme="dark"] .highlight .nl { color: #F8F8F2 } /* Name.Label */
[data-theme="dark"] .highlight .nn { color: #F8F8F2 } /* Name.Namespace */
[data-theme="dark"] .highlight .nx { color: #A6E22E } /* Name.Other */
[data-theme="dark"] .highlight .py { color: #F8F8F2 } /* Name.Property */
[data-theme="dark"] .highlight .nt { color: #FF4689 } /* Name.Tag */
[data-theme="dark"] .highlight .nv { color: #F8F8F2 } /* Name.Variable */
[data-theme="dark"] .highlight .ow { color: #FF4689 } /* Operator.Word */
[data-theme="dark"] .highlight .pm { color: #F8F8F2 } /* Punctuation.Marker */
[data-theme="dark"] .highlight .w { color: #F8F8F2 } /* Text.Whitespace */
[data-theme="dark"] .highlight .mb { color: #AE81FF } /* Literal.Number.Bin */
[data-theme="dark"] .highlight .mf { color: #AE81FF } /* Literal.Number.Float */
[data-theme="dark"] .highlight .mh { color: #AE81FF } /* Literal.Number.Hex */
[data-theme="dark"] .highlight .mi { color: #AE81FF } /* Literal.Number.Integer */
[data-theme="dark"] .highlight .mo { color: #AE81FF } /* Literal.Number.Oct */
[data-theme="dark"] .highlight .sa { color: #E6DB74 } /* Literal.String.Affix */
[data-theme="dark"] .highlight .sb { color: #E6DB74 } /* Literal.String.Backtick */
[data-theme="dark"] .highlight .sc { color: #E6DB74 } /* Literal.String.Char */
[data-theme="dark"] .highlight .dl { color: #E6DB74 } /* Literal.String.Delimiter */
[data-theme="dark"] .highlight .sd { color: #E6DB74 } /* Literal.String.Doc */
[data-theme="dark"] .highlight .s2 { color: #E6DB74 } /* Literal.String.Double */
[data-theme="dark"] .highlight .se { color: #AE81FF } /* Literal.String.Escape */
[data-theme="dark"] .highlight .sh { color: #E6DB74 } /* Literal.String.Heredoc */
[data-theme="dark"] .highlight .si { color: #E6DB74 } /* Literal.String.Interpol */
[data-theme="dark"] .highlight .sx { color: #E6DB74 } /* Literal.String.Other */
[data-theme="dark"] .highlight .sr { color: #E6DB74 } /* Literal.String.Regex */
[data-theme="dark"] .highlight .s1 { color: #E6DB74 } /* Literal.String.Single */
[data-theme="dark"] .highlight .ss { color: #E6DB74 } /* Literal.String.Symbol */
[data-theme="dark"] .highlight .bp { color: #F8F8F2 } /* Name.Builtin.Pseudo */
[data-theme="dark"] .highlight .fm { color: #A6E22E } /* Name.Function.Magic */
[data-theme="dark"] .highlight .vc { color: #F8F8F2 } /* Name.Variable.Class */
[data-theme="dark"] .highlight .vg { color: #F8F8F2 } /* Name.Variable.Global */
[data-theme="dark"] .highlight .vi { color: #F8F8F2 } /* Name.Variable.Instance */
[data-theme="dark"] .highlight .vm { color: #F8F8F2 } /* Name.Variable.Magic */
[data-theme="dark"] .highlight .il { color: #AE81FF } /* Literal.Number.Integer.Long */
