.logo {
  width: 64px;
  height: 64px;
  display: block;
  margin: 0;
}
 

.header-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

/* Hamburger menu button */
.menu-button {
  position: absolute;
  left: 12px;
  top: 12px;
  width: 40px;
  height: 36px;
  background: transparent;
  border: none;
  padding: 6px 8px;
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}
.menu-button span {
  width: 100%;
  height: 3px;
  background: #43eac7;
  border-radius: 2px;
  display: block;
}

/* Tag side menu */
.tag-menu {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 280px;
  background: #23272e;
  border-right: 4px solid #43eac7;
  box-shadow: 2px 0 12px rgba(0,0,0,0.25);
  padding: 5rem 1rem 1rem 1rem;
  z-index: 300;
}
.tag-menu h2 {
  margin-top: 0;
  color: #43ea7c;
}
.tag-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: calc(100vh - 7rem);
  overflow-y: auto;
}
.tag-menu li {
  padding: 0.5rem 0.25rem;
  color: #eac743;
  cursor: pointer;
  border-bottom: 1px dashed rgba(67,234,199,0.15);
}
.tag-menu li:hover { color: #43ea7c; }

.tag-menu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 250;
}

.header-content h1 {
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: 1px;
  color: #43eac7;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.search-bar {
  width: 100%;
  max-width: 600px;
  box-sizing: border-box;
  padding: 0.7rem;
  margin: 1rem auto 0 auto;
  border-radius: 4px;
  border: 2px solid #eac743;
  background: #23272e;
  color: #e0e0e0;
  font-size: 1.08rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
  display: block;
}
.header-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  box-sizing: border-box;
  padding: 0.5rem 1rem;
  background: #181a20;
  color: #43eac7;
  border: none;
  border-radius: 0;
  z-index: 20;
  box-shadow: 0 2px 8px rgba(67,234,199,0.10);
}
.side-menu {
    position: relative;
    width: 100vw;
    padding: 0.5rem 1rem 0 1rem;
    background: #181a20;
    color: #43eac7;
    border: none;
    border-radius: 0;
    z-index: 20;
    box-shadow: 0 2px 8px rgba(67,234,199,0.10);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 40vh;
  z-index: 200;
  box-shadow: 2px 0 8px rgba(67,234,199,0.10);
}
.side-menu.open {
  display: block;
}
/* Side Menu Styles */
.side-menu {
  min-width: 160px;
  background: #23272e;
  border-right: 4px solid #43eac7;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1rem;
  top: 0;
}
.side-menu h2 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  margin-top: 2.5rem;
  color: #43ea7c;
}
.side-menu ul {
  list-style: none;
  padding: 0;
}
.side-menu li {
  margin-bottom: 0.7rem;
  color: #eac743;
  cursor: pointer;
  transition: color 0.2s;
}
.side-menu li:hover {
  color: #43ea7c;
}
@media (max-width: 900px) {
  .side-menu {
    display: none;
  }
}
body {
  margin: 0;
  font-family: 'Fira Mono', 'Menlo', 'Monaco', 'Consolas', monospace;
  background: #181a20;
  color: #e0e0e0;
}

.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 13rem 1rem 2rem 1rem;
  box-sizing: border-box;
  border-top: 4px solid #43eac7;
  /* Remove bottom border from container */
  position: relative;
  min-height: 60vh;
  overflow-y: auto;
}

.bottom-bar {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  box-sizing: border-box;
  height: 2rem;
  background: #181a20;
  border-top: 4px solid #43eac7;
  z-index: 101;
}

@media (max-width: 600px) {
  .container {
    padding: 0.5rem;
  }
  .statement {
    font-size: 0.95rem;
  }
}

@media (min-width: 601px) and (max-width: 900px) {
  .container {
    max-width: 98vw;
  }
}


.statement {
  background: #23272e;
  margin-bottom: 1.2rem;
  padding: 1.2rem 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(67,234,199,0.10);
  border-left: 4px solid #43ea7c;
  border-right: 4px solid #43ea7c;
  font-size: 1.08rem;
  font-family: inherit;
  transition: box-shadow 0.2s, border-left-color 0.2s, border-right-color 0.2s;
}
.statement > div:first-child {
  /* Preserve newlines from statements.json as visible line breaks */
  white-space: pre-line;
}
.statement:hover {
  box-shadow: 0 4px 24px rgba(67,205,234,0.15);
  border-left: 4px solid #a8ea43;
  border-right: 4px solid #a8ea43;
}

.tags {
  margin-top: 0.7rem;
  color: #43eac7;
  font-size: 0.92rem;
  font-family: inherit;
  background: linear-gradient(90deg, #43ea7c 0%, #43eaa8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.search-bar {
  width: 100%;
  box-sizing: border-box;
  padding: 0.7rem;
  margin-bottom: 1.5rem;
  border-radius: 4px;
  border: 2px solid #eac743;
  background: #23272e;
  color: #e0e0e0;
  font-size: 1.08rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}
.search-bar:focus {
  border-color: #43ea7c;
  outline: 2px solid #43ea7c;
}

/* Responsive adjustments for mobile and tablet */
@media (max-width: 900px) {
  .header-bar {
    padding: 0.5rem 0.5rem;
  }
  .header-content h1 {
    font-size: 1.4rem;
  }
  .logo {
    width: 48px;
    height: 48px;
  }
  .search-bar {
    max-width: 100%;
    width: 100%;
    font-size: 1rem;
  }
  .container {
    max-width: 98vw;
    padding: 10rem 0.5rem 2rem 0.5rem;
  }
}

@media (max-width: 600px) {
  body { overflow-x: hidden; }
  .header-bar {
    padding: 0.5rem 0.2rem;
  }
  .header-content {
    gap: 0.5rem;
  }
  .header-content h1 {
    font-size: 1.1rem;
  }
  .logo {
    width: 36px;
    height: 36px;
  }
  .search-bar {
  max-width: 100%;
  width: 100%;
    box-sizing: border-box;
    margin-left: 0;
    margin-right: 0;
    font-size: 0.95rem;
    padding: 0.5rem;
  }
  .container {
    max-width: 100vw;
    padding: 9rem 0.2rem 2rem 0.2rem;
  }
}

/* Portrait-only adjustments for small phones */
@media (max-width: 600px) and (orientation: portrait) {
  .header-content h1 { font-size: 0.85rem; }
  .logo { display: none !important; }
  .menu-button {
    left: 8px;
    top: 8px;
    width: 32px;
    height: 28px;
    padding: 4px 6px;
  }
  .menu-button span { height: 2px; }
}

/* Extra safety: hide logo for broader portrait phones (up to 900px width) */
@media screen and (max-width: 900px) and (orientation: portrait) {
  #logo-toggle,
  .header-content .logo,
  img.logo {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
  }
}
