@import url('https://fonts.googleapis.com/icon?family=Material+Icons');
/* Combined CSS file generated on Sun Jul 27 21:13:12 CEST 2025 */

/* Contents from style.css */

/* 8-bit Chat Theme Main Styles */

:root {
  --pixel-dark: #0d2b45;
  --pixel-primary: #203c56;
  --pixel-secondary: #544e68;
  --pixel-accent: #8d697a;
  --pixel-highlight: #d08159;
  --pixel-warm: #ffaa5e;
  --pixel-light: #ffd4a3;
  --pixel-pale: #ffecd6;
  --pixel-text: #ffffff;
  --pixel-label: #FF9D76;

  /* Breakpoints */
  --mobile: 480px;
  --tablet: 768px;
  --desktop: 1024px;
}

html, body {
    margin: 0;
    padding: 0;
    font-family: "Press Start 2P", serif !important;
    font-optical-sizing: auto;
    font-weight: 200;
    font-style: normal;
    background-color: var(--pixel-dark);
    color: var(--pixel-light);
    overflow: hidden;
    height: 100vh;
    position: relative;
  }
  
a {
  color: var(--pixel-highlight);
  text-decoration: none;
}

/* Site Wrapper */
.site-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px;
  position: relative;
  z-index: 2;
  height: calc(100vh - 200px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* Site Header for Home Page */
.site-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 10px 20px;
  position: relative;
  z-index: 3;
  transition: opacity 0.5s ease;
  height: auto;
}

.site-title {
  font-size: 1.5em;
  margin-bottom: 10px;
}

.site-title a {
  color: var(--pixel-light);
  text-decoration: none;
  text-shadow: 3px 3px var(--pixel-primary);
  transition: all 0.3s ease;
}

.site-title a:hover {
  color: var(--pixel-warm);
  transform: scale(1.05);
}

.site-description {
  color: var(--pixel-warm);
  font-size: 0.8em;
  margin-bottom: 20px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* About page header styling */
.about-header-banner {
    background-color: var(--color-primary-light);
    border-bottom: 3px solid var(--color-primary);
}

.about-header-banner .site-title a {
    color: var(--color-primary-dark);
}

.about-header-banner .site-description {
    color: var(--color-primary-dark);
    opacity: 0.9;
}

/* Add fade transition for AJAX loading */
body.loading .site-wrapper {
  opacity: 0.5;
  transition: opacity 0.5s ease;
}

/* Keep author container visible during page transitions */
body.loading .main-author-container {
  opacity: 1;
  transition: none;
}

/* Footer */
.site-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px;
  background: var(--pixel-dark);
  text-align: center;
  z-index: 100;
}

.pagination {
  display: inline-block;
  padding: 8px 16px;
  color: var(--pixel-light);
  font-family: "Press Start 2P", serif;
  font-size: 10px;
}

/* Footer navigation with home link */
.footer-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px 0px;
    text-align: center;
}

.home-link {
    font-family: 'Press Start 2P', cursive;
    font-size: 10px;
    color: var(--color-primary);
    text-decoration: none;
    padding: 8px 16px;
    border: 2px solid var(--color-primary);
    background-color: var(--color-light);
    box-shadow: 3px 3px 0 var(--color-primary-dark);
    transform: translateY(0);
    transition: all 0.2s ease-out;
    display: inline-block;
}

.home-link:hover {
    background-color: var(--color-primary-light);
    box-shadow: 1px 1px 0 var(--color-primary-dark);
    transform: translateY(2px);
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .footer-navigation {
        flex-direction: column;
        gap: 20px;
    }
    
    .home-link {
        font-size: 12px;
        padding: 6px 12px;
        order: 2;
    }
}

/* Navigation */
.site-nav {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 25px;
}

.site-nav ul {
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-nav li {
  padding: 8px;
  position: relative;
}

.site-nav a {
  position: relative;
  display: inline-block;
}

.site-nav a::after {
  content: attr(title);
  position: absolute;
  top: 100%; 
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  padding: 8px;
  background: var(--pixel-dark);
  color: var(--pixel-light);
  font-size: 8px;
  white-space: nowrap;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s ease;
  font-family: "Press Start 2P", serif;
  margin-top: 8px;
}

.site-nav a:hover::after {
  visibility: visible;
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.site-nav .material-icons {
  font-size: 24px;
  color: var(--pixel-light);
}

.site-nav a:hover .material-icons {
  color: var(--pixel-warm);
}

/* Chat Bubble List */
.chat-bubble-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 90%;
  max-width: 800px;
  margin: 0 auto;
  padding: 10px;
}

.chat-bubble-wrapper {
  margin: 30px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}

.chat-bubble-wrapper:nth-child(even) {
    align-items: flex-end;
}

.chat-bubble-wrapper:nth-child(even) .chat-author {
    flex-direction: row-reverse;
    margin-left: 0;
    margin-right: 20px;
}

.chat-bubble-wrapper:nth-child(even) .author-image {
    margin-right: 0;
    margin-left: 10px;
}

/* Pixel Perfect Chat Bubbles */
.chat-bubble {
  padding: 12px;
  position: relative;
  transform-origin: center;
  animation: float 5s ease-in-out infinite;
  background: transparent;
  margin: 4px;
  width: 80%;
  z-index: 0;
}

.chat-bubble:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--pixel-light);
  box-shadow: 4px 4px var(--pixel-warm);
  clip-path: 
    polygon(
        0% 4px,
        4px 4px,
        4px 0%,
        calc(100% - 4px) 0%,
        calc(100% - 4px) 4px,
        100% 4px,
        100% calc(100% - 4px),
        calc(100% - 4px) calc(100% - 4px),
        calc(100% - 4px) 100%,
        4px 100%,
        4px calc(100% - 4px),
        0% calc(100% - 4px)
    );
  z-index: -1;
}


.chat-bubble-wrapper:nth-child(even) .chat-bubble:before {
  box-shadow: -8px 8px var(--pixel-warm);
}

.chat-author {
  display: flex;
  align-items: center;
  margin-left: 20px;
  margin-top: 30px;
}

.author-image {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin-right: 10px;
}

.author-name {
  font-size: 0.9em;
  color: #bbbbbb;
}

/* Chat Bubble Hover */
.chat-bubble:hover {
  transform: translateY(-2px);
  transition: all 0.3s ease;
}

/* Chat Bubble Link Contents */
.chat-link {
  position: relative;
  z-index: 2;
  text-decoration: none;
  color: inherit;
  display: block;
}

.chat-title {
  position: relative;
  z-index: 2;
  color: var(--pixel-dark);
  font-size: 14px;
  font-weight: bold;
  margin-bottom: 8px;
}

.chat-excerpt {
  position: relative;
  z-index: 2;
  color: var(--pixel-dark);
  font-size: 12px;
  line-height: 1.4;
}

/* Single Post Styles */
.post-wrapper {
  background: var(--pixel-light);
  padding: 32px;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  box-shadow: 12px 12px var(--pixel-warm);
  transform-origin: center;
  clip-path: 
    polygon(
        0% 4px,
        4px 4px,
        4px 0%,
        calc(100% - 4px) 0%,
        calc(100% - 4px) 4px,
        100% 4px,
        100% calc(100% - 4px),
        calc(100% - 4px) calc(100% - 4px),
        calc(100% - 4px) 100%,
        4px 100%,
        4px calc(100% - 4px),
        0% calc(100% - 4px)
    );
}

.post-title {
  color: var(--pixel-dark);
  font-size: 32px;
  margin-bottom: 24px;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: var(--pixel-secondary);
  margin-bottom: 16px;
}

.post-content {
  color: var(--pixel-dark);
  font-family: "VT323", serif;
  font-weight: 400;
  font-style: normal;
  line-height: 1.8;
  font-size: 24px;
  padding-top: 5px;
  padding: 0 0 25px 0;
}

/* Ensure images within post content have proper spacing */
.post-content img {
  max-width: 100%;
  height: auto;
  image-rendering: pixelated;
  margin: 20px 0;
  border: 2px solid var(--pixel-warm);
}

.post-content > *:last-child {
  margin-bottom: 15px;
}

/* Adjust padding for post-chat-bubble */
.post-chat-bubble {
    background-color: transparent;
    box-shadow: none;
    min-height: 200px;
    max-height: calc(100vh - 350px);
    overflow-y: auto;
    padding: 25px 30px 30px;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
    
    /* Hide scrollbar but keep scrolling functionality */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

@keyframes retroFadeIn {
  0% { opacity: 0; }
  20% { opacity: 0.2; }
  21% { opacity: 0.1; }
  30% { opacity: 0.3; }
  50% { opacity: 0.5; }
  51% { opacity: 0.4; }
  70% { opacity: 0.7; }
  90% { opacity: 0.9; }
  91% { opacity: 0.8; }
  100% { opacity: 1; }
}

.post-content p {
  opacity: 0;
  animation: retroFadeIn 1s steps(10, end) forwards;
  animation-delay: calc(var(--fade-index, 0) * 0.3s);
}

.post-content p:nth-child(1) { --fade-index: 0; }
.post-content p:nth-child(2) { --fade-index: 1; }
.post-content p:nth-child(3) { --fade-index: 2; }
.post-content p:nth-child(4) { --fade-index: 3; }
.post-content p:nth-child(5) { --fade-index: 4; }

.post-title-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

/* Applause Button Styles */
.custom-applause-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    user-select: none;
    position: relative;
}

.custom-applause-button img {
    width: 48px;
    height: 48px;
    transition: transform 0.2s ease;
}

.custom-applause-button.clapped img {
    animation: pixel-pulse 0.3s ease;
}

.applause-count {
    color: var(--pixel-secondary);
    font-family: "Press Start 2P", monospace;
    font-size: 12px;
    margin-top: 5px;
}

@keyframes pixel-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* Applause container (right side) */
.applause-container {
  display: flex;
  align-items: center;
}

/* Pixelated applause container for post bubble */
.pixelated-applause {
  position: absolute;
  top: -25px;
  right: 20px;
  z-index: 60;
  transform-origin: top right;
}

/* Customized applause button for the pixelated bar */
.custom-applause-button {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 8px 14px;
  padding-right: 20px;
  background-color: var(--pixel-label);
  color: var(--pixel-dark);
  border: 2px solid var(--pixel-dark);
  transition: all 0.2s ease;
  box-shadow: 3px 3px 0px rgba(0,0,0,0.3);
  position: relative;
  
  /* Pixelated corners effect */
  clip-path: 
    polygon(
      0% 3px, 3px 3px, 3px 0%, 
      calc(100% - 3px) 0%, calc(100% - 3px) 3px, 100% 3px,
      100% calc(100% - 3px), calc(100% - 3px) calc(100% - 3px),
      calc(100% - 3px) 100%, 3px 100%, 3px calc(100% - 3px),
      0% calc(100% - 3px)
    );
}

/* Label style for applause button */
.custom-applause-button.label-style {
  border-radius: 0;
  transform: rotate(-2deg);
}

/* Applause button hover effect */
.custom-applause-button:hover {
  transform: translateY(-2px) rotate(-2deg);
  box-shadow: 4px 4px 0px rgba(0,0,0,0.4);
  filter: brightness(1.1);
}

/* Applause button active effect */
.custom-applause-button:active {
  transform: translateY(2px) rotate(-2deg);
  box-shadow: 1px 1px 0px rgba(0,0,0,0.2);
  filter: brightness(0.95);
}

/* Applause image */
.custom-applause-button img {
  width: 24px;
  height: 24px;
  image-rendering: pixelated;
}

/* Applause content container for horizontal layout */
.applause-content {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Applause text */
.applause-text {
  font-family: 'Press Start 2P', cursive;
  font-size: 10px;
  color: var(--pixel-dark);
  white-space: nowrap;
}

/* Applause count */
.applause-count {
  position: absolute;
  top: -8px;
  right: -8px;
  font-family: 'Press Start 2P', cursive;
  font-size: 11px;
  color: var(--pixel-light);
  background-color: var(--pixel-primary);
  padding: 3px 6px;
  border-radius: 3px;
  border: 1px solid var(--pixel-light);
  box-shadow: 1px 1px 0px rgba(0,0,0,0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .pixelated-applause {
    top: -22px;
    right: 15px;
  }
  
  .applause-text {
    font-size: 9px;
  }
  
  .applause-count {
    font-size: 10px;
    top: -7px;
    right: -7px;
  }
  
  .custom-applause-button {
    padding: 6px 10px;
  }
  
  .custom-applause-button img {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 480px) {
  .pixelated-author-bar {
    padding: 2px 4px;
    margin-bottom: 8px;
  }
  
  .author-info {
    gap: 4px;
  }
  
  .author-image,
  .author-placeholder {
    width: 20px;
    height: 20px;
    border-width: 1px;
  }
  
  .author-name {
    font-size: 6px;
    max-width: 60px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .pixelated-author-bar .custom-applause-button {
    padding: 1px 3px;
    border-width: 1px;
  }
  
  .pixelated-author-bar .custom-applause-button img {
    width: 14px;
    height: 14px;
  }
  
  .pixelated-applause {
    top: -18px;
    right: 10px;
  }
  
  .applause-text {
    font-size: 8px;
  }
  
  .applause-count {
    font-size: 8px;
    padding: 2px 4px;
    top: -6px;
    right: -6px;
  }
  
  .custom-applause-button {
    padding: 5px 8px;
    gap: 5px;
    border-width: 1px;
    box-shadow: 2px 2px 0px rgba(0,0,0,0.3);
  }
}

/* Hide original post meta container */
.post-meta {
  display: none;
}

/* About Page */
.about-page {
  background: var(--pixel-light);
  padding: 20px;
  position: relative;
  box-shadow: 12px 12px var(--pixel-warm);
  transform-origin: center;
  clip-path: 
    polygon(
        0% 4px,
        4px 4px,
        4px 0%,
        calc(100% - 4px) 0%,
        calc(100% - 4px) 4px,
        100% 4px,
        100% calc(100% - 4px),
        calc(100% - 4px) calc(100% - 4px),
        calc(100% - 4px) 100%,
        4px 100%,
        4px calc(100% - 4px),
        0% calc(100% - 4px)
    );
}

.about-header {
  margin-bottom: 32px;
  text-align: center;
}

.about-title {
  color: var(--pixel-dark);
  font-size: 32px;
  font-family: "Press Start 2P", serif;
  margin: 0;
  padding: 16px 0;
}

.about-content {
  color: var(--pixel-dark);
  font-family: "VT323", serif;
  font-weight: 200;
  font-size: medium;
  font-style: normal;
  font-size: 24px;
  line-height: 1.6em;
}

.about-content img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 2rem auto;
  image-rendering: pixelated;
}

/* Koenig Wide Images */
.kg-width-wide {
  display: block;
  margin: 2em auto;
  max-width: 1200px;
  width: 100%;
}
/* Koenig Full Images */
.kg-width-full {
  display: block;
  width: 100%;
  margin: 2em 0;
}

/* Floating Icon */
.floating-icon {
  position: fixed;
  font-size: 24px;
  color: var(--pixel-secondary);
  opacity: 0.4;
  pointer-events: none;
  z-index: 1;
  transition: transform 0.3s ease;
  background: transparent;
}

@keyframes float {
    0% { transform: translatey(0px); }
    50% { transform: translatey(-20px); }
    100% { transform: translatey(0px); }
}

@keyframes float2 {
    0% {
        transform: translatey(0px);
        line-height: 20px;
    }
    55% { transform: translatey(-10px); }
    60% { line-height: 8px; }
    100% {
        transform: translatey(0px);
        line-height: 20px;
    }
}

/* Code Snippets */
pre {
  background: var(--pixel-primary);
  color: var(--pixel-light);
  padding: 16px;
  margin: 2rem 0;
  overflow-x: auto;
  border: 2px solid var(--pixel-secondary);
  box-shadow: 4px 4px var(--pixel-warm);
  clip-path: 
    polygon(
        0% 4px,
        4px 4px,
        4px 0%,
        calc(100% - 4px) 0%,
        calc(100% - 4px) 4px,
        100% 4px,
        100% calc(100% - 4px),
        calc(100% - 4px) calc(100% - 4px),
        calc(100% - 4px) 100%,
        4px 100%,
        4px calc(100% - 4px),
        0% calc(100% - 4px)
    );
}

code {
  font-family: monospace;
  font-size: 16px;
  background: var(--pixel-primary);
  color: var(--pixel-warm);
  padding: 2px 4px;
  border-radius: 0;
  white-space: pre-wrap;
}

pre code {
  background: transparent;
  padding: 0;
  color: var(--pixel-light);
  font-size: 16px;
  line-height: 1.6;
  display: block;
}

/* Syntax Highlighting */
.hljs-keyword, .hljs-selector-tag {
  color: var(--pixel-warm);
}

.hljs-string, .hljs-attr {
  color: #6fc1ff;
}

.hljs-number, .hljs-literal {
  color: #ff9d76;
}

.hljs-comment {
  color: var(--pixel-accent);
  font-style: italic;
}

.hljs-function, .hljs-title {
  color: #76ffda;
}

/* Ghost CMS PrismJS Integration */
pre[class*="language-"],
code[class*="language-"] {
  background: var(--pixel-primary) !important;
  color: var(--pixel-light) !important;
  font-family: monospace !important;
  font-size: 16px !important;
  line-height: 1.6 !important;
  white-space: pre !important;
  tab-size: 4 !important;
  hyphens: none !important;
  text-shadow: none !important;
  border-radius: 0 !important;
}

code[class*="language-"] {
  display: block !important;
  padding: 0 !important;
}

/* Override unwanted PrismJS theme styles */
:not(pre) > code[class*="language-"],
pre[class*="language-"] {
  background: var(--pixel-primary) !important;
  border: 2px solid var(--pixel-secondary) !important;
  border-radius: 0 !important;
  box-shadow: 4px 4px var(--pixel-warm) !important;
  text-shadow: none !important;
}

/* Token styles with !important to override external theme */
.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
  color: var(--pixel-accent) !important;
  font-style: italic !important;
}

.token.punctuation {
  color: var(--pixel-light) !important;
}

.token.property,
.token.tag,
.token.boolean,
.token.number,
.token.constant,
.token.symbol {
  color: #ff9d76 !important;
}

.token.selector,
.token.attr-name,
.token.string,
.token.char,
.token.builtin {
  color: #6fc1ff !important;
}

.token.operator,
.token.entity,
.token.url,
.language-css .token.string,
.style .token.string,
.token.variable {
  color: var(--pixel-light) !important;
  background: transparent !important;
}

.token.atrule,
.token.attr-value,
.token.function,
.token.class-name {
  color: #76ffda !important;
}

.token.keyword {
  color: var(--pixel-warm) !important;
}

/* PrismJS Token Styles */
.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
  color: var(--pixel-accent);
  font-style: italic;
}

.token.punctuation {
  color: var(--pixel-light);
}

.token.namespace {
  opacity: 0.7;
}

.token.property,
.token.tag,
.token.boolean,
.token.number,
.token.constant,
.token.symbol {
  color: #ff9d76;
}

.token.selector,
.token.attr-name,
.token.string,
.token.char,
.token.builtin {
  color: #6fc1ff;
}

.token.operator,
.token.entity,
.token.url,
.language-css .token.string,
.style .token.string,
.token.variable {
  color: var(--pixel-light);
}

.token.atrule,
.token.attr-value,
.token.function,
.token.class-name {
  color: #76ffda;
}

.token.keyword {
  color: var(--pixel-warm);
}

.token.regex,
.token.important {
  color: #e90;
}

.token.important,
.token.bold {
  font-weight: bold;
}

.token.italic {
  font-style: italic;
}

/* Media Queries */
@media (max-width: 480px) {
  .chat-bubble {
      width: 90%;
      padding: 10px;
  }

  .chat-title {
      font-size: 12px;
  }

  .chat-excerpt {
      font-size: 10px;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  .chat-bubble {
      width: 85%;
      padding: 12px;
  }
}

@media (min-width: 769px) {
  .chat-bubble {
      width: 80%;
      padding: 16px;
  }

  .chat-title {
      font-size: 16px;
  }

  .chat-excerpt {
      font-size: 14px;
  }
}

/* Contents from chat-bubble-styles.css */

/* Cartoony Chat Bubble Styles */

/* Parent container for the entire thought bubble scene */
.thought-bubble-scene {
  position: relative;
  height: 100%;
  width: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-bottom: 20px;
}

/* Container for the whole chat bubble scene - positioned above author */
.chat-bubble-container {
  width: 85%;
  height: 70%;
  position: relative;
  overflow: hidden;
  margin: 0 auto 130px;
  padding-top: 0;
  z-index: 5;
  max-width: 1320px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

/* Main author container at the bottom */
.main-author-container {
  position: fixed;
  bottom: 120px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  width: 100%;
  height: 120px;
  z-index: 20;
}

.main-author {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.main-author-image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 4px solid var(--pixel-light);
  box-shadow: 0 0 0 4px var(--pixel-warm);
  background-color: var(--pixel-secondary);
  object-fit: cover;
  image-rendering: pixelated;
  transform-origin: center bottom;
  animation: authorThinking 5s ease-in-out infinite;
  z-index: 10;
}

.main-author-placeholder {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background-color: var(--pixel-secondary);
  border: 4px solid var(--pixel-light);
  box-shadow: 0 0 0 4px var(--pixel-warm);
}

.main-author-name {
  margin-top: 8px;
  color: var(--pixel-light);
  font-size: 14px;
  text-shadow: 2px 2px var(--pixel-dark);
}

/* Thought bubble cloud above author */
.chat-bubble-list {
  position: absolute;
  width: 100%;
  height: 75%;
  max-width: none;
  top: 15%;
  left: 0;
  display: block;
  padding: 0 20px;
  box-sizing: border-box;
  /* Removed upward transform to position bubbles lower */
  transform: none;
}

/* Chat bubble styling - positioned absolutely to create thought bubble effect */
.chat-bubble-wrapper {
  position: absolute;
  opacity: 0;
  animation: bubbleFadeIn 0.5s ease-out forwards, float 3s ease-in-out infinite;
  animation-delay: calc(var(--bubble-index, 0) * 0.08s);
  width: 220px;
  max-width: 220px;
  z-index: calc(20 - var(--bubble-index, 0));
  transform-origin: center bottom;
  transition: transform 0.3s ease-out, opacity 0.3s ease-out, left 0.3s ease-out, top 0.3s ease-out;
}

/* Create different sizes for bubbles to create depth */
.chat-bubble-wrapper:nth-child(1) { width: 250px; max-width: 250px; }
.chat-bubble-wrapper:nth-child(2) { width: 240px; max-width: 240px; }
.chat-bubble-wrapper:nth-child(3) { width: 230px; max-width: 230px; }

/* Bubble index for staggered animations */
.chat-bubble-wrapper:nth-child(1) { --bubble-index: 1; }
.chat-bubble-wrapper:nth-child(2) { --bubble-index: 2; }
.chat-bubble-wrapper:nth-child(3) { --bubble-index: 3; }

/* Position will be set by JavaScript for better layout control */

/* Chat bubble with tail - more cloud-like for thought bubbles */
.chat-bubble {
  padding: 15px;
  position: relative;
  background-color: var(--pixel-light);
  /* Replace rounded border with pixelated edges */
  border-radius: 0;
  animation-delay: calc(var(--bubble-index, 0) * 0.25s);
  z-index: 2;
  box-shadow: 4px 4px 0 var(--pixel-warm);
  transform: scale(calc(1 - (var(--bubble-index, 0) * 0.03)));
  opacity: 0.85;
  transition: opacity 0.2s ease-out, transform 0.2s ease-out, box-shadow 0.2s ease-out;
  /* Add pixelated clip-path to create 8-bit style rounded corners */
  clip-path: polygon(
    0% 8px, 4px 8px, 4px 4px, 8px 4px, 8px 0%, 
    calc(100% - 8px) 0%, calc(100% - 8px) 4px, calc(100% - 4px) 4px, calc(100% - 4px) 8px, 100% 8px,
    100% calc(100% - 8px), calc(100% - 4px) calc(100% - 8px), calc(100% - 4px) calc(100% - 4px), 
    calc(100% - 8px) calc(100% - 4px), calc(100% - 8px) 100%, 
    8px 100%, 8px calc(100% - 4px), 4px calc(100% - 4px), 4px calc(100% - 8px), 0% calc(100% - 8px)
  );
}

/* Hover effect to make bubble fully opaque and slightly larger with enhanced pixelation */
.chat-bubble-wrapper:hover .chat-bubble {
  opacity: 1;
  transform: scale(1.05);
  box-shadow: 5px 5px 0 var(--pixel-warm);
  /* Enhanced pixelated corners on hover for more pronounced 8-bit look */
  clip-path: polygon(
    0% 10px, 5px 10px, 5px 5px, 10px 5px, 10px 0%, 
    calc(100% - 10px) 0%, calc(100% - 10px) 5px, calc(100% - 5px) 5px, calc(100% - 5px) 10px, 100% 10px,
    100% calc(100% - 10px), calc(100% - 5px) calc(100% - 10px), calc(100% - 5px) calc(100% - 5px), 
    calc(100% - 10px) calc(100% - 5px), calc(100% - 10px) 100%, 
    10px 100%, 10px calc(100% - 5px), 5px calc(100% - 5px), 5px calc(100% - 10px), 0% calc(100% - 10px)
  );
}

/* Make bubble tail fully opaque on hover with enhanced pixelated effect */
.chat-bubble-wrapper:hover .chat-bubble-tail::before,
.chat-bubble-wrapper:hover .chat-bubble-tail::after {
  opacity: 1;
  transform: scale(1.05);
  box-shadow: 3px 3px 0 var(--pixel-warm);
  /* Create a more emphasized pixelated effect on hover */
  clip-path: polygon(
    0% 25%, 25% 0%, 75% 0%, 100% 25%,
    100% 75%, 75% 100%, 25% 100%, 0% 75%
  );
}

/* Adding a thought bubble connection style - small circles pointing toward author */
.chat-bubble-tail {
  position: absolute;
  bottom: -35px;
  left: 50%;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,0.15));
  transform-origin: center top;
  transition: transform 0.3s ease-out, left 0.3s ease-out, top 0.3s ease-out;
}

.chat-bubble-tail::before,
.chat-bubble-tail::after {
  content: "";
  display: block;
  background-color: var(--pixel-light);
  opacity: 0.85;
  transition: opacity 0.2s ease-out, transform 0.2s ease-out, box-shadow 0.2s ease-out;
  /* Changed from border-radius to clip-path for pixelated look */
  clip-path: polygon(
    0% 20%, 20% 0%, 80% 0%, 100% 20%,
    100% 80%, 80% 100%, 20% 100%, 0% 80%
  );
  box-shadow: 2px 2px 0 var(--pixel-warm);
}

.chat-bubble-tail::before {
  width: 12px;
  height: 12px;
  margin-bottom: 8px;
}

.chat-bubble-tail::after {
  width: 7px;
  height: 7px;
  margin-bottom: 6px;
}

/* Base positioning for bubble tails - will be adjusted by JS */
.chat-bubble-tail {
  bottom: -30px;
  left: calc(50% - 6px);
  transition: transform 0.3s ease-out, opacity 0.3s ease-out, left 0.3s ease-out;
}

/* Modified animations */
@keyframes float {
  0% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-6px) rotate(-0.5deg); }
  75% { transform: translateY(3px) rotate(0.5deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

@keyframes authorBounce {
  0% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
  100% { transform: translateY(0); }
}

@keyframes authorThinking {
  0% { transform: translateY(0) rotate(0deg); }
  15% { transform: translateY(-2px) rotate(-2deg); }
  30% { transform: translateY(0) rotate(0deg); }
  45% { transform: translateY(-2px) rotate(2deg); }
  60% { transform: translateY(0) rotate(0deg); }
  75% { transform: translateY(-1px) rotate(-1deg); }
  100% { transform: translateY(0) rotate(0deg); }
}

@keyframes bubbleFadeIn {
  0% { 
    opacity: 0;
    transform: translateY(20px) scale(0.8) rotate(0deg);
  }
  60% {
    opacity: 0.7;
    transform: translateY(-3px) scale(1.03) rotate(1deg);
  }
  100% { 
    opacity: 0.85;
    transform: translateY(0) scale(1) rotate(0deg);
  }
}

/* About page bubble styling */
.about-scene {
    height: auto;
    min-height: calc(100vh - 220px);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding-bottom: 100px;
}

.single-bubble-container {
    width: 85%;
    height: 60vh;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    max-width: 1200px;
}

.about-bubble {
    position: absolute !important;
    left: 50% !important;
    top: 10% !important;
    transform: translateX(-50%) !important;
    width: 80% !important;
    max-width: 800px !important;
    z-index: 30 !important;
    opacity: 1 !important;
}

.about-bubble:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--pixel-light);
  box-shadow: 4px 4px var(--pixel-warm);
  clip-path: 
    polygon(
        0% 4px,
        4px 4px,
        4px 0%,
        calc(100% - 4px) 0%,
        calc(100% - 4px) 4px,
        100% 4px,
        100% calc(100% - 4px),
        calc(100% - 4px) calc(100% - 4px),
        calc(100% - 4px) 100%,
        4px 100%,
        4px calc(100% - 4px),
        0% calc(100% - 4px)
    );
  z-index: -1;
}

.about-chat-bubble {
    background-color: var(--pixel-light);
    border-radius: 16px;
    box-shadow: 4px 4px 0 var(--pixel-warm);
    min-height: 200px;
    max-height: 40vh;
    overflow-y: auto;
    padding: 25px 30px;
    width: 100%;
    box-sizing: border-box;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.about-chat-bubble::-webkit-scrollbar {
    display: none;
}

.about-title {
    margin-bottom: 20px;
    font-size: 24px;
    text-align: center;
    font-family: 'Press Start 2P', cursive;
}

.about-content {
    font-size: 14px;
    line-height: 1.6;
    font-family: 'Press Start 2P', monospace;
    padding: 10px;
}

.about-content img {
    max-width: 100%;
    height: auto;
    image-rendering: pixelated;
    margin: 20px 0;
}

/* Remove animation for about page bubble */
.about-bubble.chat-bubble-wrapper {
    animation: bubbleFadeIn 0.5s ease-out forwards;
    animation-delay: 0s;
}

/* Post page bubble styling */
.post-scene {
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 0;
    padding-bottom: 150px;
    margin-top: -10px;
}

.post-bubble-container {
    width: 85%;
    height: auto;
    min-height: 50vh;
    max-height: calc(100vh - 350px);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin: 40px auto 180px;
    max-width: 1200px;
    position: relative;
}

/* Increased z-index for post bubble */
.post-bubble {
  position: absolute;
  left: 50%;
  top: 57%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 800px;
  height: 475px;
  opacity: 1;
  z-index: 50;
}

.post-bubble:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--pixel-light);
  box-shadow: 4px 4px var(--pixel-warm);
  clip-path: 
    polygon(
        0% 4px,
        4px 4px,
        4px 0%,
        calc(100% - 4px) 0%,
        calc(100% - 4px) 4px,
        100% 4px,
        100% calc(100% - 4px),
        calc(100% - 4px) calc(100% - 4px),
        calc(100% - 4px) 100%,
        4px 100%,
        4px calc(100% - 4px),
        0% calc(100% - 4px)
    );
  z-index: -1;
}

/* Increase post-chat-bubble z-index */
.post-chat-bubble {
  background-color: transparent;
  box-shadow: none;
  height: calc(100% - 20px);
  width: 100%;
  box-sizing: border-box;
  position: relative;
  z-index: 2;
  overflow-y: auto;
  padding: 25px 30px 30px;
  
  /* Hide scrollbar but keep scrolling functionality */
  scrollbar-width: none;
  -ms-overflow-style: none;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.post-chat-bubble::-webkit-scrollbar {
  display: none;
}

/* Adjust the content to work within the scrollable area */
.post-content {
  padding-bottom: 30px;
  margin-bottom: 0;
}

/* Add subtle fade effect at bottom to indicate scrolling */
.post-chat-bubble::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 20px;
  background: linear-gradient(transparent, rgba(255, 212, 163, 0.5));
  pointer-events: none;
  opacity: 0.7;
  /* Add pixelated top border for a more 8-bit look */
  clip-path: polygon(
    0% 0%, 4px 0%, 4px 4px, 8px 4px, 8px 0%, 12px 0%, 12px 4px, 16px 4px, 16px 0%,
    /* Repeat pattern across width */
    calc(100% - 16px) 0%, calc(100% - 16px) 4px, calc(100% - 12px) 4px, calc(100% - 12px) 0%, 
    calc(100% - 8px) 0%, calc(100% - 8px) 4px, calc(100% - 4px) 4px, calc(100% - 4px) 0%, 100% 0%,
    /* Complete the rectangle */
    100% 100%, 0% 100%
  );
}

/* Responsive design */
@media (max-width: 768px) {
  .chat-bubble-container,
  .single-bubble-container {
    width: 92%;
    height: 70%;
    margin-bottom: 110px; 
  }
  
  .post-bubble-container {
    width: 92%;
    min-height: 45vh;
    margin-top: 30px;
  }
  
  /* Center post bubble on tablets */
  .post-bubble {
    top: 60%;
    transform: translate(-50%, -50%);
    height: 445px;
  }
  
  .chat-bubble-list {
    height: 75%;
    top: 12%;
  }
  
  .chat-bubble-wrapper {
    width: 180px;
    max-width: 180px;
  }
  
  .main-author-image {
    width: 80px;
    height: 80px;
  }
  
  .main-author-name {
    font-size: 12px;
  }
  
  /* Size adjustments for tablet view */
  .chat-bubble-wrapper:nth-child(1) { width: 200px; max-width: 200px; }
  .chat-bubble-wrapper:nth-child(2) { width: 190px; max-width: 190px; }
  .chat-bubble-wrapper:nth-child(3) { width: 180px; max-width: 180px; }
  
  /* Adjust footer padding */
  .pagination-footer {
    padding: 8px 0;
  }
}

@media (max-width: 480px) {
  .chat-bubble-container,
  .single-bubble-container {
    width: 95%;
    height: 70%;
    margin-bottom: 120px;
  }
  
  .post-bubble-container {
    width: 95%;
    min-height: 40vh;
    margin-bottom: 130px;
    margin-top: 20px;
  }
  
  /* Position post bubble in the center on mobile */
  .post-bubble {
    top: 65%;
    transform: translate(-50%, -50%);
    height: 415px;
  }
  
  .chat-bubble-list {
    height: 80%;
    top: 10%;
    transform: none;
  }
  
  .chat-bubble-wrapper {
    width: 130px;
    max-width: 130px;
  }
  
  .chat-title {
    font-size: 12px;
  }
  
  .chat-excerpt {
    font-size: 10px;
  }
  
  .main-author-container {
    bottom: 100px;
  }
  
  .main-author-image {
    width: 70px;
    height: 70px;
  }
  
  /* Size adjustments for mobile view */
  .chat-bubble-wrapper:nth-child(1) { width: 140px; max-width: 140px; }
  .chat-bubble-wrapper:nth-child(2) { width: 135px; max-width: 135px; }
  .chat-bubble-wrapper:nth-child(3) { width: 130px; max-width: 130px; }
  
  /* Hide additional bubbles on very small screens */
  .chat-bubble-wrapper:nth-child(n+4) {
    display: none;
  }
}

/* Standardized main author container positioning */
.main-author-container {
  position: fixed;
  bottom: 120px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  width: 100%;
  height: 120px;
  z-index: 20;
}

/* Adjust positioning for various screen sizes */
@media (max-width: 768px) {
  .main-author-container {
    bottom: 100px;
  }
  
  /* Adjust about bubble position on tablets */
  .about-bubble {
    top: 3% !important;
  }
}

@media (max-width: 480px) {
  .main-author-container {
    bottom: 80px;
  }
  
  /* Position about bubble better on mobile to avoid overlap */
  .about-bubble {
    top: 1% !important;
    height: auto !important;
    max-height: calc(100vh - 200px) !important;
  }
  
  /* Adjust the height of the about chat bubble on mobile to prevent overlap with author */
  .about-chat-bubble {
    max-height: 40vh;
    min-height: 220px;
    padding: 18px 22px;
  }
  
  /* Adjust the size of the title to fit better on mobile */
  .about-title {
    font-size: 20px;
    margin-bottom: 20px;
  }
  
  /* Adjust about scene container for mobile */
  .about-scene {
    min-height: calc(100vh - 180px);
    padding-bottom: 140px;
  }
}

/* Adjust bubble containers to account for fixed author position */
.chat-bubble-container, 
.single-bubble-container {
  padding-bottom: 140px;
}

/* Adjust footer to account for fixed author */
.site-footer.pagination-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 15;
  padding: 10px 0;
  background-color: var(--pixel-dark);
}

/* Adjust thought bubble scene to account for fixed elements */
.thought-bubble-scene {
  min-height: calc(100vh - 250px);
  margin-bottom: 150px;
}

/* Post tags container under site header */
.tags-container {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 5px 0;
  margin-bottom: 0;
  position: relative;
  z-index: 15;
}

.tags-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 800px;
  padding: 12px 15px;
  position: relative;
  z-index: 20;
}

/* Individual tag styling with different colors */
.tag-item {
  display: inline-block;
  padding: 5px 12px;
  font-family: 'Press Start 2P', cursive;
  font-size: 9px;
  color: var(--pixel-dark);
  text-decoration: none;
  position: relative;
  background-color: transparent;
  transition: transform 0.2s ease-out, filter 0.2s ease-out;
}

/* Add pixelated background to each tag */
.tag-item:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.2);
  clip-path: 
    polygon(
        0% 2px,
        2px 2px,
        2px 0%,
        calc(100% - 2px) 0%,
        calc(100% - 2px) 2px,
        100% 2px,
        100% calc(100% - 2px),
        calc(100% - 2px) calc(100% - 2px),
        calc(100% - 2px) 100%,
        2px 100%,
        2px calc(100% - 2px),
        0% calc(100% - 2px)
    );
}

/* Different colors for different tags */
.tag-item:nth-of-type(1):before { background-color: #FF9D76; }
.tag-item:nth-of-type(2):before { background-color: #76FFDA; }
.tag-item:nth-of-type(3):before { background-color: #6FC1FF; }
.tag-item:nth-of-type(4):before { background-color: #FFC876; }
.tag-item:nth-of-type(5):before { background-color: #FF76C8; }
.tag-item:nth-of-type(6):before { background-color: #76FF9D; }
.tag-item:nth-of-type(7):before { background-color: #C876FF; }
.tag-item:nth-of-type(8):before { background-color: #FFDE76; }
.tag-item:nth-of-type(9):before { background-color: #76BCFF; }
.tag-item:nth-of-type(10):before { background-color: #FF7676; }

/* Tag text styling */
.tag-item span {
  position: relative;
  z-index: 2;
}

/* Add hash symbol before tag name */
.tag-item span:before {
  content: "#";
  margin-right: 3px;
  opacity: 0.7;
}

/* Hover effect */
.tag-item:hover {
  transform: translateY(-2px) scale(1.05);
  filter: brightness(1.1);
}

/* Remove the bubble tail since we don't want it */
.tag-item .tag-bubble-tail {
  display: none;
}

/* Adjust for responsive design */
@media (max-width: 768px) {
  .tags-wrapper {
    padding: 10px 12px;
    max-width: 90%;
  }
  
  .tag-item {
    font-size: 8px;
    padding: 4px 8px;
  }
}

@media (max-width: 480px) {
  .tags-wrapper {
    padding: 8px 10px;
    max-width: 95%;
    gap: 6px;
  }
  
  .tag-item {
    font-size: 7px;
    padding: 3px 6px;
  }
}

/* Footer container and positioning fixes */
.footer-container {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 20px;
  z-index: 60;
}

/* Pagination footer for navigation */
.pagination-footer {
  position: relative;
  width: 100%;
  margin-bottom: 20px;
  display: flex;
  justify-content: center;
  background-color: transparent;
  z-index: 61;
}

/* Navigation links in the footer */
.footer-navigation {
  display: flex;
  justify-content: center;
  width: 100%;
}

.home-link {
  font-family: 'Press Start 2P', cursive;
  font-size: 14px;
  color: var(--pixel-light);
  text-decoration: none;
  padding: 8px 16px;
  transform: translateY(0);
  transition: all 0.2s ease-out;
  display: inline-block;
}

.home-link:hover {
  transform: translateY(2px);
  box-shadow: 1px 1px 0 var(--pixel-primary-dark);
  background-color: var(--pixel-primary-light);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .pagination-footer {
    padding: 12px 0;
  }
  
  .home-link {
    font-size: 12px;
    padding: 6px 12px;
  }
}

@media (max-width: 480px) {
  .pagination-footer {
    padding: 10px 0;
  }
  
  .site-footer {
    padding: 12px 0;
  }
  
  .copyright {
    font-size: 14px;
  }
  
  .home-link {
    font-size: 10px;
    padding: 5px 10px;
  }
}

/* Selected tag styling */
.tag-item.tag-selected {
    background-color: var(--pixel-accent);
    transform: translateY(-3px);
    box-shadow: 0 3px 0 var(--pixel-dark);
}

.tag-item.tag-selected span {
    color: var(--pixel-light);
}

.tag-item.tag-selected span:before {
    color: var(--pixel-light);
}

.tag-item.tag-selected .tag-count {
    background-color: var(--pixel-light);
    color: var(--pixel-accent);
}

/* Clear filter button styling */
.tag-item.tag-clear-filter {
    background-color: var(--pixel-secondary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 8px;
}

.tag-item.tag-clear-filter span {
    color: var(--pixel-light);
}

.tag-item.tag-clear-filter span:before {
    content: "";
}

.tag-item.tag-clear-filter .tag-icon {
    font-size: 16px;
    font-weight: bold;
    margin-left: 6px;
    color: var(--pixel-light);
}

.tag-item.tag-clear-filter:hover {
    background-color: var(--pixel-warm);
    transform: translateY(-3px);
}

/* Adjust tag count styling for all tags */
.tag-count {
    display: inline-block;
    font-size: 8px;
    background: rgba(255,255,255,0.3);
    padding: 2px 4px;
    border-radius: 3px;
    margin-left: 4px;
    vertical-align: middle;
}

/* Contents from responsive-bubbles.css */

/* Responsive Chat Bubble Styles */

/* Mobile-specific styles - updated for better layout and positioning */
@media (max-width: 767px) {
  /* Container adjustments for mobile layout */
  .thought-bubble-scene {
    padding-top: 10px !important;
    min-height: 70vh !important;
  }

  .chat-bubble-container {
    margin-bottom: 100px !important;
    padding-top: 0 !important;
    height: 80% !important;
  }

  /* Show all bubbles on mobile with updated layout */
  .chat-bubble-wrapper {
    display: block !important;
    max-width: 140px !important;
  }

  /* Position chat bubble list higher */
  .chat-bubble-list {
    top: 0% !important;
    height: 90% !important;
  }
  
  /* Move author container higher up */
  .main-author-container {
    bottom: 120px !important;
    z-index: 5 !important;
  }

  /* Smaller bubbles on mobile with consistent sizing */
  .chat-bubble-wrapper:nth-child(1) { width: 140px; max-width: 140px; }
  .chat-bubble-wrapper:nth-child(2) { width: 135px; max-width: 135px; }
  .chat-bubble-wrapper:nth-child(3) { width: 130px; max-width: 130px; }
  .chat-bubble-wrapper:nth-child(4) { width: 125px; max-width: 125px; }
  .chat-bubble-wrapper:nth-child(5) { width: 120px; max-width: 120px; }

  /* More compact bubbles for mobile */
  .chat-bubble {
    padding: 10px !important;
    width: 100% !important;
  }

  /* Smaller text for mobile */
  .chat-title {
    font-size: 12px !important;
    margin-bottom: 4px !important;
  }

  /* Position author higher on the screen */
  .main-author-container {
    position: fixed !important;
    bottom: 120px !important;
    z-index: 5 !important;
  }

  /* Smaller author image to save vertical space */
  .main-author-image {
    width: 70px !important;
    height: 70px !important;
  }

  /* Fix pagination to use standard Ghost pagination */
  .mobile-pagination {
    display: none !important;
  }

  /* Make standard pagination visible and positioned higher */
  .pagination:not(.mobile-pagination) {
    display: flex !important;
    justify-content: space-between !important;
    width: 90% !important;
    max-width: 300px !important;
    margin: 10px auto !important;
  }

  /* Make load more button properly positioned higher up */
  .load-more-container {
    margin-top: 10px !important;
    margin-bottom: 80px !important;
    position: relative !important;
    z-index: 15 !important;
  }

  /* Adjust site footer position to be higher up */
  .site-footer.pagination-footer {
    bottom: 20px !important;
  }
}

/* Desktop-specific styles (clustered layout) */
@media (min-width: 768px) {
  /* Show only the first 3 chat bubbles on desktop */
  .chat-bubble-wrapper:nth-child(n+4) {
    display: none !important;
  }
  
  /* Hide mobile pagination on desktop */
  .mobile-pagination {
    display: none !important;
  }
}

/* Styles for the load more button */
.load-more-container {
  text-align: center;
  margin: 30px 0;
  position: relative;
  z-index: 15;
}

.load-more-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--pixel-primary, #333);
  color: var(--pixel-light, #fff);
  text-decoration: none;
  font-family: 'Press Start 2P', cursive, sans-serif;
  font-size: 14px;
  transition: all 0.2s ease-out;
  box-shadow: 3px 3px 0 var(--pixel-warm, #555);
  transform: translateY(0);
  border: none;
}

.load-more-button:hover {
  background-color: var(--pixel-secondary, #555);
  box-shadow: 1px 1px 0 var(--pixel-warm, #555);
  transform: translateY(2px);
}
