@font-face {
  font-family: Georgia;
  src: local("Georgia");
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #080d15;
  --panel: #101722;
  --panel-deep: #0b121c;
  --line: #27303d;
  --ink: #e7e3db;
  --muted: #91a0b1;
  --warm: #d6ad83;
  --warm-dim: #a18365;
  --mint: #99b9ae;
  --danger: #e39e95;
  font-family: Arial, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  border: 0;
  background: none;
  color: inherit;
}
a {
  color: inherit;
  text-decoration: none;
}
button:disabled {
  opacity: 0.45;
  cursor: wait;
}
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--warm);
  outline-offset: 5px;
}
input:focus,
textarea:focus,
select:focus {
  outline: 1px solid var(--warm);
  outline-offset: 2px;
}
button,
a,
input,
textarea {
  transition:
    border-color 0.18s,
    color 0.18s,
    background 0.18s;
}
.hidden {
  display: none !important;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip {
  position: fixed;
  top: -80px;
  left: 20px;
  z-index: 90;
  padding: 12px;
  background: var(--warm);
  color: var(--bg);
}
.skip:focus {
  top: 15px;
}
#starfield {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.64;
}
.cosmic-haze {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse at 80% 29%, #835b3720, transparent 37%),
    radial-gradient(ellipse at 15% 70%, #24415420, transparent 45%),
    linear-gradient(#080d1520, #080d1570);
}
.app-shell {
  position: relative;
  z-index: 1;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 55px;
}
.site-header {
  height: 107px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  gap: 30px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  flex: none;
}
.brand-mark {
  font-family: Georgia, serif;
  font-size: 44px;
  line-height: 1;
  font-weight: 400;
  color: var(--warm);
}
.brand > span:nth-child(2) {
  font-size: 12px;
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: 0.8px;
}
.brand strong {
  font-weight: 400;
  color: var(--warm);
}
.brand i {
  border-left: 1px solid #39404a;
  font-style: normal;
  font-family: monospace;
  font-size: 8px;
  letter-spacing: 1px;
  color: #697888;
  padding-left: 12px;
  margin-left: 9px;
}
.main-nav {
  display: flex;
  gap: 5px;
  justify-content: center;
  flex: 1;
}
.nav-item {
  font-size: 11px;
  color: #9aabbd;
  padding: 9px 13px;
  border-radius: 5px;
  border: 1px solid transparent;
  white-space: nowrap;
}
.nav-item:hover {
  color: var(--ink);
}
.nav-item.active {
  color: var(--warm);
  border-color: #6a574338;
  background: #9a76531a;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: none;
}
.sound-button {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #8e9ca9;
  font-family: monospace;
  font-size: 10px;
  padding: 5px 0;
  white-space: nowrap;
}
.sound-button > span:first-child {
  font-size: 19px;
  color: var(--warm-dim);
}
.sound-button[aria-pressed="true"] {
  color: var(--warm);
}
.context-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  height: 48px;
  font-size: 8px;
  letter-spacing: 1.3px;
  color: #68788b;
  font-family: monospace;
}
.context-bar > a {
  color: var(--warm);
}
.connection {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 9px;
  letter-spacing: 0.7px;
  color: #8da4a1;
}
.status-dot {
  display: inline-block;
  width: 5px;
  height: 5px;
  flex: none;
  background: #96b7a6;
  border-radius: 50%;
  box-shadow: 0 0 8px #94c6b244;
}
.status-dot.muted {
  background: #9f8b72;
  box-shadow: none;
}
.status-dot.offline {
  background: #c58371;
}
.mono,
.eyebrow,
.section-label,
.panel-index {
  font-family: "Courier New", monospace;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 13px 20px;
  font-size: 11px;
  line-height: 1.3;
  border-radius: 5px;
  font-weight: 500;
  white-space: nowrap;
  min-height: 42px;
}
.button-primary,
.button-dark {
  background: var(--warm);
  color: #15171b;
  border: 1px solid var(--warm);
}
.button-primary:hover,
.button-dark:hover {
  background: #e6bd93;
  border-color: #e6bd93;
}
.button-outline {
  border: 1px solid #3a4350;
  background: #11192755;
  color: #b4bec9;
}
.button-outline:hover {
  color: var(--warm);
  border-color: #80684e;
  background: #9b775015;
}
.button-small {
  padding: 9px 15px;
  min-height: 34px;
  font-size: 10px;
}
.button span {
  font-size: 17px;
}
.full-width {
  width: 100%;
}
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 13px;
  font-size: 11px;
  color: #a5aeb8;
  padding: 0;
  line-height: 1.5;
}
.text-link:hover {
  color: var(--warm);
}
.eyebrow {
  font-size: 9px;
  letter-spacing: 1.6px;
  color: var(--warm-dim);
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.7;
}
.eyebrow > span {
  width: 4px;
  height: 4px;
  background: var(--warm);
  display: inline-block;
  border-radius: 50%;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1,
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}
h1 em,
h2 em {
  font-weight: 400;
  color: var(--warm);
}
.hero {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  min-height: 410px;
  gap: 25px;
  padding: 27px 0 28px;
}
.hero-copy {
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-size: 66px;
  letter-spacing: -2.9px;
  line-height: 1.08;
  margin: 21px 0 25px;
}
.hero h1 em {
  font-weight: 400;
}
.hero-description {
  font-size: 13px;
  line-height: 1.9;
  color: #9eacbb;
  max-width: 420px;
  margin-bottom: 28px;
  white-space: pre-line;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}
.hero-coordinates {
  display: flex;
  gap: 24px;
  font-family: monospace;
  color: #536273;
  font-size: 7px;
  letter-spacing: 1px;
  margin-top: 34px;
}
.void-art {
  position: relative;
  height: 350px;
  display: grid;
  place-items: center;
  overflow: visible;
}
.orbit {
  border: 1px solid #a3865b26;
  position: absolute;
  left: 50%;
  top: 47%;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  width: 270px;
  height: 270px;
}
.orbit:before,
.orbit:after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: #cfac79;
  box-shadow: 0 0 9px #d4a86e55;
}
.orbit:before {
  width: 3px;
  height: 3px;
  top: 20%;
  left: 9%;
}
.orbit:after {
  width: 2px;
  height: 2px;
  right: 5%;
  bottom: 26%;
  background: #a5bbc4;
}
.orbit-a {
  transform: translate(-50%, -50%) rotate(-22deg) scaleX(1.23) scaleY(0.62);
  width: 315px;
  height: 315px;
  border-color: #9676514a;
}
.orbit-b {
  width: 260px;
  height: 260px;
  border-style: dashed;
  border-color: #59697840;
  transform: translate(-50%, -50%) rotate(28deg) scaleX(1.38) scaleY(0.82);
}
.orbit-c {
  width: 206px;
  height: 206px;
  border-color: #9c795433;
  box-shadow:
    0 0 60px #b17e3f0d,
    inset 0 0 38px #b17e3f08;
}
.void-core {
  width: 142px;
  height: 142px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: absolute;
  top: 47%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    circle at 43% 42%,
    #070b11 25%,
    #080c13 55%,
    #9b794923 73%,
    #d6ab674a 76%,
    transparent 80%
  );
  box-shadow:
    0 0 48px #a67f4220,
    inset 0 0 25px #8b6f3b26;
}
.void-core > span {
  font-family: Georgia, serif;
  color: #cfab72bb;
  font-size: 65px;
  text-shadow: 0 0 20px #b68b4b33;
  transform: rotate(-12deg);
}
.satellite {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #d4b98d;
  box-shadow: 0 0 11px #b79262;
}
.satellite.one {
  left: 24%;
  top: 48%;
}
.satellite.two {
  right: 23%;
  top: 34%;
  width: 2px;
  height: 2px;
}
.satellite.three {
  left: 47%;
  top: 10%;
  width: 2px;
  height: 2px;
  background: #c1d3d6;
}
.void-caption {
  position: absolute;
  bottom: 0;
  text-align: center;
  font-family: monospace;
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.void-caption > span {
  font-size: 7px;
  letter-spacing: 1.7px;
  color: #526477;
}
.void-caption strong {
  font-size: 10px;
  font-weight: 400;
  color: #a9a08f;
  letter-spacing: 0.8px;
}
.art-plus {
  position: absolute;
  color: #8c7b6566;
  font-size: 18px;
  font-family: monospace;
  font-weight: 400;
}
.plus-one {
  top: 21px;
  left: 12%;
}
.plus-two {
  right: 13%;
  bottom: 56px;
}
.quote-strip {
  padding: 24px 0;
  display: flex;
  align-items: center;
  gap: 30px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 0 0 31px;
  min-height: 85px;
}
.quote-marker {
  font-family: monospace;
  white-space: nowrap;
  font-size: 10px;
  letter-spacing: 1px;
  color: #a58d70;
}
.quote-strip blockquote {
  font-family: Georgia, serif;
  font-size: 17px;
  line-height: 1.5;
  color: #c7c8c4;
  margin: 0;
  flex: 1;
  font-style: italic;
}
.quote-strip > button {
  font-size: 23px;
  line-height: 1;
  color: #758495;
  padding: 5px 8px;
  border: 1px solid #2e3946;
  border-radius: 50%;
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
}
.quote-strip > button:hover {
  color: var(--warm);
  border-color: var(--warm-dim);
}
.entry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.entry-card {
  background: linear-gradient(130deg, #17212a80, #0c131d88);
  border: 1px solid #2a3542;
  border-radius: 7px;
  padding: 23px 23px 18px;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.entry-card:hover {
  border-color: #81654b;
  background: linear-gradient(130deg, #332b2160, #0e1520aa);
}
.card-number {
  font-size: 8px;
  letter-spacing: 1.2px;
  color: #697c8d;
  font-family: monospace;
}
.card-symbol {
  position: absolute;
  top: 18px;
  right: 20px;
  font-size: 28px;
  line-height: 1;
  color: #a2845d;
}
.entry-card:nth-child(2) .card-symbol {
  color: #82a1a6;
}
.entry-card:nth-child(3) .card-symbol {
  color: #a197bb;
}
.entry-card h2 {
  font-size: 24px;
  line-height: 1.3;
  letter-spacing: -0.6px;
  margin: 33px 0 11px;
  color: #d9d9d1;
}
.entry-card p {
  font-size: 11px;
  line-height: 1.8;
  color: #8795a5;
  max-width: 280px;
  margin-bottom: 24px;
}
.card-link {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 9px;
  letter-spacing: 0.4px;
  color: #a9aaa2;
  border-top: 1px solid #293440;
  padding-top: 13px;
  margin-top: auto;
}
.card-link b {
  font-weight: 400;
  color: #a8967f;
  font-size: 14px;
}
.home-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  padding: 34px 0 22px;
}
.section-label,
.panel-index {
  font-size: 8px;
  letter-spacing: 1.5px;
  color: #8c8272;
  font-weight: 400;
}
.featured-echo p {
  color: #9da7b1;
  font-size: 12px;
  line-height: 1.7;
  font-style: italic;
  margin: 12px 0 6px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  max-height: 90px;
  overflow: auto;
}
.featured-echo > span:last-child {
  font-size: 9px;
  color: #697d8f;
}
.presence-stats {
  display: flex;
  justify-content: flex-end;
  gap: 32px;
  align-items: center;
}
.presence-stats > div {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.presence-stats strong {
  font-family: Georgia, serif;
  font-weight: 400;
  color: #c6b69d;
  font-size: 27px;
  line-height: 1;
}
.presence-stats span {
  font-size: 7px;
  color: #69798c;
  letter-spacing: 1px;
  font-family: monospace;
  white-space: nowrap;
}
.presence-stats > a {
  color: #8a9b9b;
  font-size: 22px;
}
.site-footer {
  display: flex;
  align-items: center;
  gap: 28px;
  border-top: 1px solid var(--line);
  padding: 28px 0;
  margin-top: 16px;
  min-height: 105px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #8c9aa9;
  font-size: 20px;
}
.footer-brand > span {
  font-family: Georgia, serif;
  font-size: 13px;
  color: #9b9c94;
}
.site-footer p {
  font-size: 8px;
  letter-spacing: 0.5px;
  color: #596b7e;
  margin: 5px 0 0;
}
.footer-links {
  display: flex;
  align-items: center;
  gap: 21px;
  margin-left: auto;
}
.footer-links > * {
  font-size: 9px;
  padding: 0;
  color: #8192a3;
  white-space: nowrap;
}
.footer-links > *:hover {
  color: var(--warm);
}
.footer-code {
  font-family: monospace;
  color: #526477;
  font-size: 7px;
  line-height: 1.9;
  letter-spacing: 0.7px;
}
.account {
  display: flex;
  align-items: center;
  gap: 8px;
}
.avatar {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid #31404b;
  border-radius: 50%;
  font-size: 9px;
  color: #acb8c1;
  background: #1b2731;
  flex: none;
}
.account-details {
  min-width: 0;
}
.account-name {
  display: block;
  font-size: 9px;
  color: #b2bebd;
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.account-label {
  display: block;
  font-size: 7px;
  color: #65818b;
  margin-top: 2px;
}
.account-logout {
  font-size: 18px;
  color: #8f9a99;
  padding: 2px;
  margin-left: 3px;
}
.account .button {
  display: none;
}
.route-panel {
  animation: appear 0.25s ease-out;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin: 35px 0 37px;
}
.page-heading h1 {
  font-size: 48px;
  line-height: 1.15;
  letter-spacing: -1.9px;
  margin: 14px 0 13px;
}
.page-heading p {
  font-size: 12px;
  color: #8b9cad;
  line-height: 1.8;
  margin: 0;
}
.panel,
.settings-card {
  background: #0f1723dd;
  border: 1px solid #293442;
  border-radius: 8px;
  padding: 25px;
}
.panel h2,
.settings-card h2 {
  font-size: 27px;
  line-height: 1.25;
  letter-spacing: -0.5px;
  margin: 0 0 12px;
}
.panel p,
.settings-card p {
  font-size: 12px;
  line-height: 1.8;
  color: #8c9cac;
}
.guestbook-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 1fr);
  gap: 32px;
}
.section-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 8px;
  letter-spacing: 1.2px;
  color: #6e8092;
  font-family: monospace;
  margin-bottom: 16px;
}
.section-topline .text-link {
  font-size: 9px;
  letter-spacing: 0;
  font-family: Arial, sans-serif;
}
.guestbook-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.guest-entry {
  border: 1px solid #293542;
  border-radius: 7px;
  padding: 22px;
  background: #101a26aa;
}
.guest-entry.void-entry {
  border-color: #514535;
  background: #201e1977;
}
.entry-meta {
  display: flex;
  gap: 10px;
  align-items: center;
  font-family: monospace;
  color: #8fa19e;
  font-size: 10px;
  flex-wrap: wrap;
}
.entry-meta time {
  font-size: 8px;
  color: #62788d;
  margin-left: auto;
}
.entry-kind {
  font-size: 7px;
  color: #b39d79;
  letter-spacing: 1px;
  padding: 2px 5px;
  border: 1px solid #5d4d35;
  border-radius: 3px;
}
.entry-text {
  font-family: Georgia, serif;
  font-size: 18px;
  line-height: 1.65;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: #c3c7c8;
  margin: 16px 0 0;
}
.entry-delete {
  font-size: 8px;
  color: #8b9a9c;
  margin-top: 13px;
  padding: 0;
}
.entry-delete:hover {
  color: var(--danger);
}
.guestbook-form .panel-index {
  display: block;
  margin-bottom: 20px;
}
.guestbook-form h2 {
  font-size: 29px;
}
.guestbook-form > p {
  margin-bottom: 24px;
}
.guestbook-form > small {
  display: block;
  font-size: 9px;
  line-height: 1.7;
  color: #778b9c;
  margin: 14px 0 0;
}
.aside-note {
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 23px 8px;
}
.aside-note > span {
  font-size: 32px;
  color: #6a675c;
  font-family: Georgia, serif;
}
.aside-note > p {
  font-size: 10px;
  line-height: 1.8;
  color: #76899b;
  margin: 0;
}
.muted-text {
  font-size: 10px;
  color: #8193a5;
  line-height: 1.8;
}
#follow-hint {
  font-size: 9px;
  padding: 0 8px;
}
.optional {
  font-size: 8px;
  color: #617689;
  font-weight: 400;
  float: right;
}
.honeypot {
  position: absolute;
  left: -99999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
label {
  display: block;
  font-size: 10px;
  color: #aab7c5;
  font-weight: 400;
  margin: 0 0 20px;
  line-height: 1.5;
}
input:not([type="checkbox"]),
label > textarea,
select {
  display: block;
  width: 100%;
  color: var(--ink);
  border: 1px solid #33404f;
  background: #0a111ad9;
  border-radius: 5px;
  padding: 12px;
  font-size: 12px;
  margin-top: 8px;
  max-width: 100%;
}
label > textarea {
  resize: vertical;
}
input::placeholder,
textarea::placeholder {
  color: #52667a;
}
label small {
  display: block;
  font-size: 9px;
  line-height: 1.7;
  color: #71889b;
  margin-top: 7px;
}
input[type="checkbox"] {
  accent-color: var(--warm);
  width: 15px;
  height: 15px;
  margin: 0;
  flex: none;
}
.checkbox-line {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
  line-height: 1.8;
}
.switch-line {
  padding: 16px;
  background: #1a2533;
  border: 1px solid #2b3848;
  border-radius: 5px;
}
.checkbox-line strong {
  font-weight: 400;
}
.checkbox-line small {
  margin: 5px 0 0;
  font-size: 9px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.form-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.settings-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}
.settings-title p {
  margin: 0;
  font-size: 11px;
}
.settings-icon {
  color: #9b886a;
  font-family: Georgia, serif;
  font-size: 34px;
}
.settings-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.settings-divider {
  height: 1px;
  background: #2c3643;
  margin: 30px 0;
}
.inline-error {
  color: var(--danger);
  border: 1px solid #6d3c35;
  background: #331c1c80;
  font-size: 11px;
  line-height: 1.6;
  padding: 10px 12px;
  border-radius: 5px;
  margin: 12px 0;
}
.form-result {
  color: #a8c5b1;
  background: #213b3180;
  border: 1px solid #3c5a49;
  font-size: 11px;
  line-height: 1.8;
  padding: 12px;
  border-radius: 5px;
  margin-top: 18px;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.form-result.error {
  color: #e6aaa0;
  background: #382320;
  border-color: #6b443b;
}
.room-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 265px;
  gap: 25px;
}
.chat-panel {
  background: #0d1520d9;
  border: 1px solid #293743;
  border-radius: 7px;
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 530px;
  height: calc(100dvh - 350px);
  max-height: 850px;
}
.chat-header {
  padding: 19px 21px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  flex: none;
}
.chat-title {
  font-family: monospace;
  letter-spacing: 0.5px;
  color: #a3b4b4;
  font-size: 12px;
}
.ai-status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 8px;
  color: #768ea1;
}
.chat-notice {
  display: flex;
  gap: 8px;
  align-items: center;
  background: #15202c;
  border-top: 1px solid #24313f;
  border-bottom: 1px solid #24313f;
  padding: 8px 21px;
  color: #6c8997;
  flex: none;
}
.chat-notice > p {
  font-size: 9px;
  margin: 0;
  color: #78909f;
}
.chat-notice > span {
  font-size: 10px;
}
.online-pill {
  font-size: 9px;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #34423e;
  background: #15221c60;
  color: #8ca99c;
  border-radius: 20px;
  padding: 7px 10px;
  white-space: nowrap;
}
.messages {
  padding: 20px;
  flex: 1;
  overflow: auto;
  scrollbar-width: thin;
  scrollbar-color: #354757 transparent;
  overscroll-behavior: contain;
}
.loading-state {
  font-size: 12px;
  line-height: 1.8;
  color: #768e9e;
  padding: 35px 10px;
  text-align: center;
}
.empty-room {
  text-align: center;
  padding: 35px 18px;
  max-width: 360px;
  margin: auto;
}
.empty-icon {
  font-size: 44px;
  font-family: Georgia, serif;
  color: #9c896d;
}
.empty-room h3 {
  font-family: Georgia, serif;
  font-size: 25px;
  font-weight: 400;
  margin: 15px 0;
}
.empty-room p {
  font-size: 11px;
  line-height: 1.8;
  color: #7b93a6;
}
.empty-room button {
  font-size: 10px;
  color: var(--warm-dim);
  border-bottom: 1px solid #766146;
  padding: 4px 0;
}
.message {
  display: flex;
  gap: 10px;
  padding-bottom: 23px;
}
.message .avatar {
  height: 29px;
  width: 29px;
  font-size: 8px;
}
.message .ai-avatar {
  color: var(--warm);
  border-color: #665a43;
  background: #332c2070;
  font-size: 22px;
  font-family: Georgia, serif;
}
.message-body {
  flex: 1;
  min-width: 0;
}
.message-meta {
  display: flex;
  align-items: center;
  gap: 7px;
  flex-wrap: wrap;
  margin: 3px 0 7px;
}
.message-name {
  font-size: 10px;
  color: #b7c4ca;
}
.message-time {
  font-size: 8px;
  color: #607d91;
}
.ai-tag,
.admin-tag {
  font-size: 7px;
  color: #b39d79;
  border: 1px solid #574b35;
  border-radius: 2px;
  padding: 1px 4px;
  letter-spacing: 0.5px;
}
.admin-tag {
  border: 0;
  color: #6f9895;
}
.message-text {
  font-size: 12px;
  line-height: 1.8;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  color: #a1b0c0;
}
.ai-message .message-text {
  background: #29271f66;
  border: 1px solid #51463266;
  padding: 12px 15px;
  border-radius: 0 6px 6px 6px;
  color: #c3b7a1;
}
.message-quote {
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
  padding: 5px 9px;
  border-left: 1px solid #9d8765;
  color: #7e96a4;
  font-size: 9px;
  background: #15222d;
  margin-bottom: 8px;
}
.message-actions {
  display: flex;
  gap: 13px;
  margin-top: 8px;
}
.message-actions button {
  font-size: 8px;
  color: #607f92;
  padding: 0;
}
.message-actions button:hover {
  color: var(--warm);
}
.date-separator {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: monospace;
  font-size: 8px;
  letter-spacing: 1px;
  color: #5d7689;
  margin: 0 0 22px;
}
.date-separator:before,
.date-separator:after {
  content: "";
  height: 1px;
  background: #243140;
  flex: 1;
}
.load-more {
  display: block;
  margin: 0 auto 18px;
  font-size: 9px;
  color: #8c9e9e;
  border: 1px solid #334253;
  border-radius: 5px;
  padding: 7px 12px;
}
.chat-composer-wrap {
  padding: 14px 16px;
  border-top: 1px solid #263340;
}
.composer {
  padding: 12px;
  border: 1px solid #344556;
  border-radius: 6px;
  background: #111c2a;
}
.composer:focus-within {
  border-color: #8e7657;
}
.composer textarea {
  width: 100%;
  background: transparent;
  border: 0;
  resize: none;
  color: var(--ink);
  font-size: 12px;
  line-height: 1.6;
  display: block;
  padding: 0 0 10px;
  min-height: 51px;
  max-height: 120px;
  outline: none;
}
.composer textarea:focus {
  outline: none;
}
.composer-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.ask-soul {
  display: flex;
  gap: 6px;
  align-items: center;
  color: #a08d72;
  font-size: 9px;
  padding: 5px 8px;
  border: 1px solid #4f4638;
  border-radius: 4px;
}
.ask-soul > span {
  font-family: Georgia, serif;
  font-size: 14px;
}
.ask-soul[aria-pressed="true"] {
  background: #d6ad8326;
  color: var(--warm);
  border-color: var(--warm);
}
.composer-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.composer-actions > span {
  font-size: 8px;
  color: #536f83;
}
.send-button {
  width: 31px;
  height: 31px;
  border-radius: 4px;
  background: var(--warm);
  color: #1d2227;
  font-size: 20px;
}
.composer-caption {
  font-size: 8px;
  color: #627e91;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 9px;
  line-height: 1.7;
}
.composer-caption > span:last-child {
  white-space: nowrap;
}
.reply-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2px 9px;
  gap: 10px;
  font-size: 9px;
  color: #95a6ad;
}
.reply-preview > span {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.reply-preview button {
  font-size: 20px;
  color: #7c8f9e;
}
.new-messages {
  position: absolute;
  bottom: 174px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  white-space: nowrap;
  padding: 9px 15px;
  background: #b29773;
  color: #141b22;
  border-radius: 20px;
  box-shadow: 0 6px 20px #0005;
}
.typing {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 10px;
  color: #aa9677;
}
.typing-dots {
  display: inline-flex;
  gap: 3px;
}
.typing-dots i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--warm);
  animation: blink 1.4s infinite;
}
.typing-dots i:nth-child(2) {
  animation-delay: 0.2s;
}
.typing-dots i:nth-child(3) {
  animation-delay: 0.4s;
}
.talk-aside {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.soul-panel .panel-index {
  display: block;
}
.small-void {
  font-family: Georgia, serif;
  color: #c3a26d;
  font-size: 76px;
  display: grid;
  place-items: center;
  height: 128px;
  background: radial-gradient(circle, #be934513, transparent 65%);
}
.soul-panel h2 {
  font-size: 27px;
}
.soul-panel p {
  font-size: 11px;
  color: #8499ac;
}
.soul-panel .muted-text {
  font-size: 9px;
}
.conversation-starters > .section-label {
  font-size: 7px;
}
.conversation-starters > button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  border-bottom: 1px solid #293744;
  padding: 15px 0;
  color: #90a2b3;
  font-size: 10px;
  text-align: left;
}
.conversation-starters > button span {
  color: #a08969;
  font-size: 15px;
}
.conversation-starters > button:hover {
  color: var(--warm);
}
.game-panel {
  border: 1px solid #33404c;
  border-radius: 8px;
  background: #070f1ada;
  overflow: hidden;
}
.game-topline {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: center;
  padding: 15px 23px;
  border-bottom: 1px solid #24313e;
  font-family: monospace;
  font-size: 8px;
  color: #6f899d;
  letter-spacing: 1.1px;
}
#soul-game {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  touch-action: none;
  max-height: 570px;
  outline-offset: -3px;
  background: #070e19;
}
.game-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 23px;
  border-top: 1px solid #253542;
}
.game-footer p {
  font-size: 11px;
  color: #9dadba;
  margin: 0;
  max-width: 430px;
  line-height: 1.8;
}
.game-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}
.icon-button {
  border: 1px solid #3a4551;
  border-radius: 4px;
  width: 36px;
  height: 36px;
  color: #9c8f7b;
  font-size: 20px;
}
.game-session-count {
  font-family: monospace;
  color: #7f8d9e;
  font-size: 8px;
  letter-spacing: 0.7px;
}
.game-session-count strong {
  color: var(--warm);
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 32px;
  display: block;
  margin-bottom: 5px;
}
.game-instructions {
  display: flex;
  align-items: center;
  gap: 25px;
  justify-content: space-between;
  margin: 22px 0;
  color: #6f899d;
  font-size: 9px;
}
.game-instructions > span {
  line-height: 1.8;
}
kbd {
  font-family: monospace;
  border: 1px solid #3d4955;
  border-radius: 3px;
  background: #1c2630;
  color: #a8acaa;
  padding: 3px 5px;
  font-size: 9px;
  margin-right: 3px;
}
.touch-controls {
  display: none;
  gap: 8px;
  justify-content: center;
  margin: 20px 0;
}
.touch-controls > button {
  width: 45px;
  height: 40px;
  border: 1px solid #405267;
  border-radius: 5px;
  background: #172535a8;
  font-size: 18px;
  color: #b0b7b1;
  touch-action: none;
}
.game-poem {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 25px;
  margin: 20px 0;
}
.game-poem > span {
  font-size: 28px;
  color: #8a7e64;
}
.game-poem p {
  font-family: Georgia, serif;
  font-size: 19px;
  line-height: 1.7;
  color: #a09c90;
  font-style: italic;
  margin: 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 17px;
}
.stats-grid > div {
  border: 1px solid #2c3c49;
  background: #101c29b0;
  border-radius: 7px;
  padding: 27px;
}
.stats-grid > div > span {
  font-family: monospace;
  font-size: 8px;
  letter-spacing: 1.5px;
  color: #8a918a;
}
.stats-grid strong {
  display: block;
  font-family: Georgia, serif;
  font-weight: 400;
  color: #c6b393;
  font-size: 48px;
  margin: 18px 0;
}
.stats-grid p {
  font-size: 10px;
  line-height: 1.8;
  color: #6f899d;
  margin: 0;
}
.stats-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  padding: 33px 15px;
}
.stats-note > span {
  font-size: 34px;
  font-family: Georgia, serif;
  color: #736d5e;
}
.stats-note p {
  font-size: 10px;
  line-height: 1.9;
  color: #718b9f;
  margin: 0;
}
.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 65px;
  align-items: start;
}
.support-story {
  max-width: 430px;
  padding: 0 10px;
}
.big-null {
  font-size: 90px;
  font-family: Georgia, serif;
  font-weight: 400;
  line-height: 1.3;
  color: #a58a61;
}
.support-story h2 {
  font-size: 31px;
  line-height: 1.3;
  letter-spacing: -0.7px;
  margin: 22px 0;
}
.support-story p {
  font-size: 12px;
  line-height: 1.9;
  color: #8c9cad;
}
.support-signature {
  display: block;
  font-family: Georgia, serif;
  color: #a79780;
  font-style: italic;
  font-size: 15px;
  margin: 25px 0 30px;
}
.donation-panel {
  padding: 30px;
}
.donation-panel .panel-index {
  display: block;
  margin-bottom: 27px;
}
.donation-panel h2 {
  font-size: 26px;
}
.donation-panel p {
  font-size: 12px;
  line-height: 1.9;
}
.donation-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.donation-heading h2 {
  margin: 0;
}
.donation-heading > span {
  font-family: monospace;
  font-size: 7px;
  color: #798d9d;
  letter-spacing: 0.6px;
}
#ton-qr {
  display: block;
  width: 180px;
  height: 180px;
  background: #f8f6ef;
  padding: 12px;
  border-radius: 4px;
  margin: 0 auto 20px;
  image-rendering: pixelated;
}
#ton-address {
  display: block;
  white-space: normal;
  overflow-wrap: anywhere;
  font-family: monospace;
  font-size: 11px;
  color: #b2bbae;
  line-height: 1.9;
  background: #0a121d;
  padding: 12px;
  margin-bottom: 16px;
  border: 1px solid #2e3c4b;
}
.donation-panel small {
  display: block;
  color: #798fa1;
  font-size: 9px;
  line-height: 1.8;
  margin-top: 15px;
}
#tbank-option {
  margin-top: 27px;
  border-top: 1px solid #33404e;
  padding-top: 23px;
}
.admin-page {
  max-width: 1050px;
  margin: auto;
}
.admin-tabs {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid #33404e;
  margin: 0 0 27px;
  overflow: auto;
}
.admin-tabs button {
  font-size: 10px;
  padding: 0 0 14px;
  color: #859aaa;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
}
.admin-tabs button[aria-selected="true"] {
  color: var(--warm);
  border-color: var(--warm);
}
.admin-footnote {
  font-size: 10px;
  line-height: 1.8;
  color: #71899e;
  margin: 18px 0;
}
.quote-form {
  border-bottom: 1px solid #30404d;
  padding-bottom: 24px;
  margin-bottom: 10px;
}
.quote-row {
  padding: 20px 0;
  border-bottom: 1px solid #2a3946;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.quote-row > div {
  min-width: 0;
  flex: 1;
}
.quote-row p {
  margin: 0 0 6px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 12px;
}
.quote-row small {
  font-size: 8px;
  color: #a99677;
}
.quote-row button {
  color: #c69083;
  font-size: 9px;
}
.user-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 17px 0;
  border-top: 1px solid #293b48;
}
.user-info {
  flex: 1;
  min-width: 0;
}
.user-info strong {
  font-weight: 400;
  color: #aebec4;
  font-size: 12px;
}
.user-info small {
  display: block;
  font-size: 9px;
  color: #758e9e;
  margin-top: 5px;
}
.user-row .button {
  font-size: 9px;
  padding: 8px 12px;
  min-height: 32px;
}
.status-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
  margin: 23px 0;
}
.status-item {
  padding: 20px;
  background: #152331;
  border: 1px solid #2d3f4c;
  border-radius: 5px;
  font-size: 10px;
  color: #7d98a9;
  overflow-wrap: anywhere;
}
.status-item strong {
  display: block;
  color: #c1baa9;
  font-size: 22px;
  font-weight: 400;
  margin-top: 10px;
}
.log-row {
  padding: 15px 0;
  border-bottom: 1px solid #2c3b48;
  font-family: monospace;
  font-size: 10px;
  color: #93a3b0;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.log-row time {
  color: #5f7c91;
  font-size: 9px;
}
.modal {
  border: 1px solid #4b4b43;
  border-radius: 9px;
  width: 450px;
  max-width: calc(100vw - 26px);
  padding: 36px;
  background: #111b28;
  color: var(--ink);
  box-shadow: 0 25px 90px #0009;
  max-height: 90dvh;
  overflow-y: auto;
}
.modal::backdrop {
  background: #03070dcc;
  backdrop-filter: blur(6px);
}
.modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 25px;
  color: #8d9b9f;
  padding: 0 6px;
}
.modal-flower {
  font-family: Georgia, serif;
  font-size: 37px;
  line-height: 1;
  color: #b49a73;
}
.modal h2 {
  font-size: 31px;
  line-height: 1.2;
  letter-spacing: -0.8px;
  margin: 18px 0 14px;
}
.modal-subtitle {
  font-size: 11px;
  color: #829aab;
  line-height: 1.8;
  margin-bottom: 24px;
}
.auth-tabs {
  display: flex;
  gap: 25px;
  border-bottom: 1px solid #364451;
  margin-bottom: 24px;
}
.auth-tabs button {
  font-size: 11px;
  color: #7f94a6;
  padding: 0 0 12px;
  border-bottom: 1px solid transparent;
}
.auth-tabs button.active {
  color: var(--warm);
  border-color: var(--warm);
}
.auth-disclaimer {
  font-size: 8px;
  line-height: 1.9;
  color: #7890a2;
  text-align: center;
  margin: 18px 0 0;
}
.auth-disclaimer button {
  font-size: inherit;
  color: #a9a087;
  text-decoration: underline;
  padding: 0;
}
.about-modal {
  width: 600px;
}
.about-modal h2 {
  font-size: 40px;
  margin: 22px 0;
}
.about-modal p {
  font-size: 12px;
  line-height: 1.9;
  color: #92a4b4;
  white-space: pre-line;
}
.about-modal h3 {
  font-size: 13px;
  color: #bbb6a5;
  font-weight: 400;
  margin: 27px 0 10px;
}
.about-modal .button {
  margin-top: 20px;
}
.confirm-modal p {
  font-size: 12px;
  color: #8c9eae;
  margin-bottom: 25px;
}
.toast {
  position: fixed;
  z-index: 100;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 90vw;
  background: #b89c75;
  color: #121c23;
  border: 1px solid #e0bb86;
  padding: 12px 20px;
  border-radius: 5px;
  font-size: 11px;
  line-height: 1.7;
  box-shadow: 0 8px 35px #0007;
}
.game-panel:focus-within {
  border-color: #88775c;
}
#guestbook-more {
  margin-top: 20px;
}
.error-state {
  border: 1px solid #4e4540;
  padding: 20px;
  border-radius: 5px;
  color: #bd9888;
  font-size: 12px;
  line-height: 1.8;
}
@keyframes appear {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes blink {
  50% {
    opacity: 0.2;
  }
}
@media (min-width: 1600px) {
  .app-shell {
    max-width: 1490px;
    padding: 0 65px;
  }
  .site-header {
    height: 115px;
  }
  .hero {
    min-height: 470px;
    padding: 40px 0;
  }
  .hero h1 {
    font-size: 79px;
  }
  .hero-description {
    font-size: 14px;
  }
  .void-art {
    height: 400px;
  }
  .orbit-a {
    width: 375px;
    height: 375px;
  }
  .orbit-b {
    width: 305px;
    height: 305px;
  }
  .orbit-c {
    width: 245px;
    height: 245px;
  }
  .void-core {
    width: 170px;
    height: 170px;
  }
  .void-core > span {
    font-size: 80px;
  }
  .entry-card {
    padding: 28px;
  }
  .entry-card h2 {
    font-size: 28px;
  }
  .entry-card p {
    font-size: 12px;
  }
  .entry-card .card-link {
    font-size: 10px;
  }
  .hero-actions .button {
    font-size: 12px;
    padding: 15px 24px;
  }
  .quote-strip blockquote {
    font-size: 20px;
  }
}
@media (max-width: 1150px) {
  .app-shell {
    padding: 0 32px;
  }
  .brand i {
    display: none;
  }
  .site-header {
    gap: 18px;
  }
  .header-actions {
    gap: 13px;
  }
  .main-nav {
    gap: 0;
  }
  .nav-item {
    padding: 8px 10px;
    font-size: 10px;
  }
  .hero h1 {
    font-size: 58px;
  }
  .hero-actions {
    gap: 18px;
  }
  .hero-actions .text-link {
    font-size: 10px;
  }
  .hero-coordinates {
    gap: 18px;
    font-size: 6px;
  }
  .entry-card {
    padding: 20px;
  }
  .entry-card h2 {
    font-size: 23px;
  }
  .home-bottom {
    gap: 25px;
  }
  .presence-stats {
    gap: 23px;
  }
  .footer-links {
    gap: 17px;
  }
  .footer-code {
    display: none;
  }
  .room-grid {
    grid-template-columns: minmax(0, 1fr) 240px;
  }
  .guestbook-grid {
    gap: 24px;
  }
  .void-art {
    height: 330px;
  }
}
@media (max-width: 900px) {
  .site-header {
    flex-wrap: wrap;
    justify-content: space-between;
    height: auto;
    padding: 22px 0 0;
    gap: 15px;
  }
  .brand-mark {
    font-size: 37px;
  }
  .brand > span:nth-child(2) {
    font-size: 11px;
  }
  .header-actions {
    margin-left: auto;
  }
  .main-nav {
    order: 3;
    width: 100%;
    flex: auto;
    justify-content: flex-start;
    border-top: 1px solid #202d3c;
    margin-top: 8px;
    padding: 12px 0;
    gap: 18px;
    overflow: auto;
  }
  .nav-item {
    padding: 5px 0;
    border: 0;
    border-bottom: 1px solid transparent;
    border-radius: 0;
    background: none !important;
    font-size: 11px;
  }
  .nav-item.active {
    border-color: var(--warm-dim);
  }
  .context-bar {
    height: 42px;
  }
  .hero {
    min-height: 370px;
    gap: 0;
    grid-template-columns: 1.2fr 1fr;
  }
  .hero h1 {
    font-size: 50px;
    letter-spacing: -2px;
  }
  .hero-description {
    font-size: 12px;
  }
  .hero-coordinates {
    flex-direction: column;
    gap: 6px;
    letter-spacing: 1px;
    font-size: 6px;
    margin-top: 25px;
  }
  .hero-actions {
    gap: 15px;
    flex-wrap: wrap;
  }
  .hero .button {
    font-size: 10px;
    padding: 12px 16px;
  }
  .void-art {
    height: 300px;
  }
  .orbit-a {
    width: 230px;
    height: 230px;
  }
  .orbit-b {
    width: 200px;
    height: 200px;
  }
  .orbit-c {
    width: 155px;
    height: 155px;
  }
  .void-core {
    width: 112px;
    height: 112px;
  }
  .void-core > span {
    font-size: 50px;
  }
  .void-caption strong {
    font-size: 8px;
  }
  .void-caption > span {
    font-size: 6px;
  }
  .entry-grid {
    gap: 12px;
  }
  .entry-card {
    padding: 20px 16px 16px;
  }
  .card-number {
    font-size: 6px;
    letter-spacing: 0.7px;
  }
  .card-symbol {
    font-size: 23px;
    right: 15px;
  }
  .entry-card h2 {
    font-size: 21px;
    margin-top: 31px;
  }
  .entry-card p {
    font-size: 10px;
  }
  .card-link {
    font-size: 8px;
  }
  .home-bottom {
    grid-template-columns: 1fr;
    gap: 25px;
    padding-top: 27px;
  }
  .presence-stats {
    justify-content: flex-start;
    gap: 45px;
    padding-top: 23px;
    border-top: 1px solid #273440;
  }
  .presence-stats > a {
    margin-left: auto;
  }
  .site-footer {
    flex-wrap: wrap;
    padding: 24px 0;
    gap: 22px;
  }
  .site-footer .account {
    margin-left: auto;
  }
  .footer-links {
    margin-left: auto;
  }
  .room-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .talk-aside {
    display: none;
  }
  .chat-panel {
    height: calc(100dvh - 385px);
    min-height: 490px;
  }
  .page-heading h1 {
    font-size: 43px;
  }
  .guestbook-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(260px, 1fr);
  }
  .panel,
  .settings-card {
    padding: 22px;
  }
  .entry-text {
    font-size: 17px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .support-grid {
    gap: 30px;
  }
  .game-footer {
    flex-wrap: wrap;
  }
  .game-footer p {
    max-width: none;
  }
  .game-buttons {
    margin-left: auto;
  }
  .admin-tabs {
    gap: 20px;
  }
  .quote-strip {
    gap: 22px;
  }
  .quote-strip blockquote {
    font-size: 16px;
  }
}
@media (max-width: 650px) {
  .app-shell {
    padding: 0 20px;
  }
  .site-header {
    padding-top: 20px;
    gap: 10px;
  }
  .header-actions {
    gap: 14px;
  }
  .sound-button {
    font-size: 0;
    gap: 0;
  }
  .sound-button > span:first-child {
    font-size: 24px;
  }
  .sound-button[aria-pressed="true"] > span:first-child {
    color: var(--warm);
  }
  .header-actions .button {
    font-size: 9px;
    padding: 8px 12px;
    min-height: 32px;
  }
  .brand > span:nth-child(2) {
    font-size: 10px;
  }
  .brand-mark {
    font-size: 34px;
  }
  .main-nav {
    gap: 23px;
    padding: 14px 0 12px;
    margin-top: 9px;
    scrollbar-width: none;
  }
  .main-nav .nav-item {
    font-size: 10px;
  }
  .context-bar {
    height: 35px;
    font-size: 7px;
  }
  .connection {
    font-size: 8px;
    letter-spacing: 0.3px;
  }
  .public-label {
    display: none;
  }
  .hero {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 29px 0 0;
    min-height: 0;
    align-items: stretch;
  }
  .eyebrow {
    font-size: 7px;
    letter-spacing: 1.2px;
  }
  .hero h1 {
    font-size: 49px;
    letter-spacing: -2.5px;
    margin: 21px 0 21px;
    line-height: 1.1;
  }
  .hero-description {
    font-size: 12px;
    max-width: 350px;
    line-height: 1.9;
  }
  .hero-actions {
    gap: 20px;
  }
  .hero-coordinates {
    margin-top: 28px;
    flex-direction: row;
    font-size: 6px;
    gap: 22px;
  }
  .void-art {
    height: 260px;
    margin: 8px 0 22px;
  }
  .orbit-a {
    width: 245px;
    height: 245px;
  }
  .orbit-b {
    width: 195px;
    height: 195px;
  }
  .orbit-c {
    width: 172px;
    height: 172px;
  }
  .void-core {
    width: 120px;
    height: 120px;
  }
  .void-core > span {
    font-size: 58px;
  }
  .void-caption {
    bottom: 0;
    gap: 5px;
  }
  .void-caption strong {
    font-size: 9px;
  }
  .void-caption > span {
    font-size: 6px;
  }
  .plus-one {
    top: 40px;
    left: 7%;
  }
  .plus-two {
    right: 9%;
    bottom: 45px;
  }
  .quote-strip {
    padding: 19px 0;
    gap: 13px;
    min-height: 87px;
    margin-bottom: 24px;
  }
  .quote-marker {
    font-size: 8px;
  }
  .quote-strip blockquote {
    font-size: 15px;
    line-height: 1.6;
  }
  .quote-strip > button {
    width: 26px;
    height: 26px;
    font-size: 19px;
    padding: 0;
  }
  .entry-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 13px;
  }
  .entry-card {
    padding: 22px;
  }
  .card-number {
    font-size: 7px;
    letter-spacing: 1px;
  }
  .card-symbol {
    top: 23px;
    right: 22px;
    font-size: 27px;
  }
  .entry-card h2 {
    font-size: 26px;
    margin: 26px 0 11px;
  }
  .entry-card p {
    font-size: 12px;
    max-width: 310px;
    margin-bottom: 20px;
  }
  .card-link {
    font-size: 9px;
  }
  .home-bottom {
    padding: 28px 0 17px;
  }
  .featured-echo p {
    font-size: 12px;
  }
  .presence-stats {
    gap: 0;
    justify-content: space-between;
  }
  .presence-stats strong {
    font-size: 26px;
  }
  .presence-stats span {
    font-size: 6px;
    letter-spacing: 0.7px;
  }
  .presence-stats > a {
    margin-left: 8px;
    font-size: 18px;
  }
  .site-footer {
    gap: 23px 15px;
    margin-top: 16px;
    align-items: start;
  }
  .site-footer > div:first-child {
    width: calc(100% - 135px);
  }
  .site-footer .account {
    order: 2;
    align-self: center;
    flex: none;
  }
  .footer-links {
    width: 100%;
    margin: 0;
    order: 3;
    justify-content: space-between;
    gap: 14px;
    padding-top: 7px;
  }
  .footer-links > * {
    font-size: 9px;
  }
  .account-details .account-name {
    max-width: 78px;
  }
  .account-label {
    font-size: 7px;
  }
  .account .avatar {
    width: 25px;
    height: 25px;
    font-size: 8px;
  }
  .account-logout {
    font-size: 15px;
  }
  .page-heading {
    margin: 32px 0 27px;
    gap: 18px;
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .page-heading h1 {
    font-size: 38px;
    letter-spacing: -1.7px;
    margin: 13px 0;
  }
  .page-heading p {
    font-size: 11px;
    max-width: 335px;
  }
  .page-heading .button {
    font-size: 9px;
    padding: 10px 13px;
    min-height: 36px;
  }
  .guestbook-grid {
    display: flex;
    flex-direction: column-reverse;
    gap: 25px;
  }
  .guestbook-form {
    padding: 22px;
  }
  .guestbook-form h2 {
    font-size: 28px;
  }
  .guestbook-form p {
    font-size: 11px;
    margin-bottom: 23px;
  }
  .guestbook-form textarea {
    min-height: 100px;
    max-height: 200px;
  }
  .guestbook-form .panel-index {
    margin-bottom: 16px;
  }
  .aside-note {
    padding: 19px 7px 5px;
  }
  .aside-note p {
    font-size: 10px;
  }
  #follow-hint {
    font-size: 8px;
  }
  .guest-entry {
    padding: 20px;
  }
  .entry-text {
    font-size: 18px;
  }
  .entry-meta {
    font-size: 9px;
  }
  .chat-panel {
    min-height: 510px;
    height: calc(100dvh - 380px);
    border-radius: 6px;
  }
  .chat-header {
    padding: 16px 13px;
    gap: 9px;
    align-items: start;
  }
  .chat-title {
    font-size: 10px;
  }
  .ai-status {
    font-size: 7px;
  }
  .chat-notice {
    padding: 9px 13px;
  }
  .chat-notice p {
    font-size: 8px;
  }
  .messages {
    padding: 18px 13px;
  }
  .message-name {
    font-size: 9px;
  }
  .message-text {
    font-size: 12px;
  }
  .message .avatar {
    height: 25px;
    width: 25px;
  }
  .message {
    gap: 8px;
  }
  .chat-composer-wrap {
    padding: 10px;
  }
  .composer {
    padding: 11px;
  }
  .composer textarea {
    font-size: 12px;
    min-height: 55px;
  }
  .composer-caption {
    font-size: 7px;
  }
  .composer-caption > span:last-child {
    display: none;
  }
  .online-pill {
    font-size: 8px;
  }
  .game-session-count {
    font-size: 7px;
  }
  .game-session-count strong {
    font-size: 26px;
  }
  .game-topline {
    font-size: 6px;
    letter-spacing: 0.7px;
    padding: 12px;
  }
  .game-footer {
    padding: 17px;
    gap: 18px;
  }
  .game-footer p {
    font-size: 11px;
  }
  .game-buttons {
    margin: 0;
    width: 100%;
    gap: 8px;
    flex-wrap: wrap;
  }
  .game-buttons .button {
    font-size: 9px;
    padding: 11px 14px;
    gap: 9px;
    min-height: 36px;
  }
  .game-buttons .icon-button {
    margin-left: auto;
  }
  .game-instructions {
    flex-wrap: wrap;
    gap: 14px;
    font-size: 8px;
  }
  .game-instructions > span:first-child {
    display: none;
  }
  .touch-controls {
    display: flex;
  }
  .game-poem {
    padding: 10px 0;
    gap: 13px;
    margin-top: 25px;
  }
  .game-poem p {
    font-size: 16px;
  }
  .game-poem > span {
    font-size: 22px;
  }
  .stats-grid {
    gap: 12px;
  }
  .stats-grid > div {
    padding: 20px 16px;
  }
  .stats-grid > div > span {
    font-size: 7px;
    letter-spacing: 0.9px;
  }
  .stats-grid strong {
    font-size: 39px;
    margin: 15px 0;
  }
  .stats-grid p {
    font-size: 9px;
  }
  .stats-note {
    padding: 25px 0;
    gap: 15px;
    align-items: flex-start;
  }
  .stats-note > span {
    font-size: 29px;
  }
  .stats-note p {
    font-size: 9px;
  }
  .support-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 23px;
  }
  .support-story {
    padding: 0;
  }
  .big-null {
    font-size: 65px;
  }
  .support-story h2 {
    font-size: 28px;
    margin-top: 18px;
  }
  .support-story p {
    font-size: 12px;
  }
  .support-signature {
    font-size: 14px;
  }
  .donation-panel {
    padding: 23px;
  }
  .donation-heading > span {
    font-size: 6px;
  }
  .donation-panel .settings-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .donation-panel .settings-actions .button {
    width: 100%;
  }
  .form-grid,
  .form-grid.three {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .settings-title {
    gap: 15px;
    margin-bottom: 23px;
  }
  .settings-title h2 {
    font-size: 26px;
  }
  .settings-title .button {
    font-size: 9px;
    padding: 9px 12px;
  }
  .admin-tabs {
    gap: 22px;
    margin-top: 8px;
    margin-bottom: 22px;
  }
  .settings-actions .button {
    font-size: 10px;
  }
  .panel,
  .settings-card {
    padding: 22px;
  }
  .settings-card .button {
    font-size: 10px;
  }
  .status-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .user-row {
    flex-wrap: wrap;
  }
  .user-info {
    min-width: 135px;
  }
  .quote-row {
    align-items: start;
    gap: 15px;
  }
  .modal {
    padding: 29px 24px;
  }
  .modal h2 {
    font-size: 29px;
  }
  .modal-close {
    top: 7px;
    right: 9px;
  }
  .about-modal h2 {
    font-size: 35px;
  }
  .about-modal p {
    font-size: 12px;
  }
  .toast {
    bottom: 15px;
    font-size: 10px;
    padding: 11px 15px;
  }
  .entry-meta time {
    font-size: 7px;
  }
  .game-panel canvas {
    min-height: 200px;
  }
  #guestbook-more {
    margin-bottom: 5px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.quote-edit {
  width: 100%;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.quote-edit textarea {
  width: 100%;
  border: 1px solid #384957;
  background: #0a111a;
  border-radius: 5px;
  padding: 12px;
  color: #e7e3db;
  font: inherit;
  font-size: 12px;
}
.quote-edit select {
  margin: 0;
  max-width: 230px;
  font-size: 10px;
}
.brand > span:nth-child(2) {
  max-width: 100px;
}

.quote-content {
  flex: 1;
  min-width: 0;
}
.paradox-button {
  font-family: monospace;
  display: block;
  font-size: 8px;
  line-height: 1.5;
  color: #7f94a4;
  padding: 0;
  margin-top: 10px;
  text-align: left;
}
.paradox-button:hover {
  color: #d6ad83;
}
.quote-marker {
  align-self: flex-start;
  margin-top: 6px;
}

@media (max-width: 650px) {
  .chat-panel {
    height: calc(100dvh - 370px);
    min-height: 400px;
  }
}
