@font-face {
  font-family: Campus;
  src: local("Segoe UI");
}
* {
  box-sizing: border-box;
}
html {
  color: #3d463f;
  font-family: Campus, "Segoe UI", Arial, sans-serif;
  font-size: 14px;
}
body {
  margin: 0;
  background: #f8f7f3;
}
button,
input,
textarea {
  font: inherit;
}
button,
a,
input,
textarea {
  outline-offset: 4px;
}
button {
  cursor: pointer;
}
button {
  border: 0;
  background: none;
  color: inherit;
}
button:disabled {
  opacity: 0.4;
  cursor: wait;
}
a {
  color: inherit;
  text-decoration: none;
}
button:hover {
  filter: brightness(0.97);
}
:focus-visible {
  outline: 3px solid #a5bea2;
}
header {
  height: 86px;
  border-bottom: 1px solid #e9e9e1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4.5%;
  background: #fcfbf8;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 19px;
  letter-spacing: -0.4px;
  font-weight: 700;
}
.brand-mark {
  position: relative;
  background: #739176;
  color: white;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 21px;
}
.brand-mark > span {
  position: absolute;
  right: -7px;
  top: -9px;
  color: #d3a966;
  font-size: 22px;
  text-shadow: 0 0 2px #fff;
}
.brand-divider {
  margin: 0 12px;
  color: #c7ccbf;
  font-weight: 400;
}
.brand b {
  font-size: 16px;
  font-weight: 500;
  color: #65725f;
}
header nav {
  display: flex;
  gap: 26px;
  align-self: stretch;
}
.top-link {
  font-size: 12px;
  color: #91998b;
  padding: 0 4px;
}
.top-link.active {
  color: #678366;
  border-bottom: 2px solid #789270;
  font-weight: 650;
}
.header-end {
  display: flex;
  align-items: center;
  gap: 24px;
}
.beta {
  font-size: 8px;
  color: #9c9b8a;
  letter-spacing: 1px;
  border: 1px solid #e3e2d6;
  padding: 6px 8px;
  border-radius: 5px;
}
.profile {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 11px;
}
.profile > span:first-child {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #e9e2f2;
  color: #8b79a0;
  font-weight: 700;
}
.profile > span:last-child {
  color: #a6aa9e;
}
main {
  max-width: 1510px;
  padding: 33px 4.5% 0;
  margin: auto;
}
.intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 29px;
}
.eyebrow {
  font-size: 8px;
  letter-spacing: 1.8px;
  color: #92a087;
  font-weight: 650;
  display: flex;
  gap: 8px;
  align-items: center;
}
.eyebrow > span {
  height: 5px;
  width: 5px;
  border-radius: 50%;
  background: #9ab289;
}
h1 {
  font-size: 32px;
  letter-spacing: -1.1px;
  color: #4a5948;
  margin: 12px 0 9px;
  font-weight: 650;
}
h1 > span {
  font-size: 28px;
}
p {
  line-height: 1.65;
}
.intro p {
  color: #9b9f94;
  font-size: 11px;
  margin: 0;
}
.intro-sticker {
  display: flex;
  gap: 14px;
  align-items: center;
  border: 1px solid #e9dfc9;
  background: #fbf4e5;
  border-radius: 14px;
  padding: 13px 21px;
  color: #ac9672;
  transform: rotate(3deg);
  margin-right: 14px;
}
.intro-sticker > span:first-child {
  font-size: 26px;
}
.intro-sticker > span:last-child {
  font-size: 30px;
  color: #cdb984;
}
.intro-sticker div {
  font-size: 15px;
  font-weight: 600;
}
.intro-sticker small {
  display: block;
  font-size: 9px;
  font-weight: 400;
  margin-top: 3px;
  letter-spacing: 0.2px;
}
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 25px;
  align-items: start;
}
.room-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 15px;
  overflow-x: auto;
}
.room-tabs button {
  padding: 10px 15px;
  border: 1px solid #e8e9e0;
  border-radius: 9px;
  background: #fffefa;
  color: #9b9e91;
  font-size: 10px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}
.room-tabs button > span {
  font-size: 15px;
  color: #a5af91;
}
.room-tabs .selected {
  background: #e7eddf;
  color: #6d8360;
  border-color: #d6e0c8;
  font-weight: 650;
}
.room-tabs .selected > span {
  color: #84976b;
}
.world-panel {
  overflow: hidden;
  border: 1px solid #e0e4d9;
  border-radius: 17px;
  background: #f3f6eb;
  box-shadow: 0 6px 16px #5c714f05;
}
.world-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 18px;
  background: #fdfef8;
  font-size: 10px;
  color: #9ca38f;
  gap: 8px;
}
.location {
  display: flex;
  gap: 8px;
  align-items: center;
}
.location-dot {
  background: #86a97b;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  box-shadow: 0 0 0 3px #87a17b15;
}
.location b {
  color: #7a8b6d;
  font-weight: 600;
}
.online {
  padding-left: 8px;
  border-left: 1px solid #e1e6d5;
  font-size: 9px;
}
.weather {
  color: #b3b18d;
  display: flex;
  gap: 7px;
}
.canvas-wrap {
  position: relative;
  background: #dce9c9;
  overflow: hidden;
}
canvas {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1000/680;
  touch-action: none;
  cursor: crosshair;
}
.world-tip {
  position: absolute;
  bottom: 17px;
  left: 50%;
  transform: translateX(-50%);
  white-space: nowrap;
  font-size: 9px;
  border-radius: 20px;
  color: #869470;
  background: #ffffffbf;
  padding: 8px 14px;
  pointer-events: none;
  box-shadow: 0 2px 6px #46623108;
}
.world-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fdfef8;
  padding: 12px 16px;
  color: #9fa68f;
  font-size: 8px;
  gap: 10px;
}
.world-bottom > span:first-child {
  display: flex;
  align-items: center;
  gap: 3px;
}
kbd {
  font-family: inherit;
  font-size: 7px;
  background: #f5f6ee;
  border: 1px solid #e4e6d8;
  border-radius: 3px;
  min-width: 15px;
  height: 16px;
  display: grid;
  place-items: center;
  color: #969f84;
}
.or {
  margin: 0 5px;
}
.world-credit {
  color: #b0b69f;
  font-size: 8px;
}
.connection {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: #fff4d6;
  color: #8e7d47;
  font-size: 11px;
  padding: 9px 16px;
  border-radius: 8px;
  white-space: nowrap;
}
.actions {
  margin: 17px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.actions-caption > span {
  font-size: 11px;
  color: #7f8a72;
  font-weight: 550;
}
.actions-caption small {
  display: block;
  font-size: 8px;
  color: #acb09f;
  margin-top: 5px;
}
.emotes {
  display: flex;
  gap: 6px;
}
.emotes button {
  font-size: 8px;
  padding: 9px 10px;
  border-radius: 9px;
  border: 1px solid #e9e8dd;
  background: #fefdf8;
  color: #999e8c;
  display: flex;
  align-items: center;
  gap: 5px;
}
.emotes span {
  font-size: 16px;
}
.emotes button:hover {
  background: #f0f4e8;
  transform: translateY(-2px);
}
.lower-cards {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 15px;
  margin-top: 22px;
}
.bulletin {
  position: relative;
  display: flex;
  gap: 12px;
  padding: 21px 18px;
  background: #f5eedd;
  border: 1px solid #e9dfc6;
  border-radius: 12px;
  overflow: hidden;
}
.card-icon {
  width: 33px;
  height: 33px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  border: 1px solid #e7d9b9;
  background: #f9f2df;
  border-radius: 8px;
  color: #b59f6f;
  font-size: 20px;
}
.card-kicker {
  font-size: 7px;
  letter-spacing: 1.3px;
  color: #b6a27d;
  font-weight: 600;
}
h2 {
  font-size: 12px;
  font-weight: 600;
  margin: 10px 0 7px;
  color: #88795a;
}
.bulletin p,
.focus p {
  font-size: 9px;
  color: #b1a386;
  margin: 0;
}
.bulletin button {
  font-size: 9px;
  color: #aa9164;
  padding: 12px 0 0;
}
.bulletin button span {
  margin-left: 8px;
}
.paperclip {
  position: absolute;
  right: 17px;
  top: -3px;
  font-size: 40px;
  color: #cfba91;
  transform: rotate(15deg);
}
.focus {
  padding: 22px;
  background: #ececf6;
  border: 1px solid #dedfea;
  border-radius: 12px;
}
.focus .card-kicker {
  color: #a29bb9;
}
.focus h2 {
  color: #80768e;
}
.focus p {
  color: #a8a2b5;
}
.focus button {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  background: #ffffff69;
  border: 1px solid #dfdce9;
  border-radius: 7px;
  padding: 9px 12px;
  width: 100%;
  color: #9e91b6;
  font-size: 9px;
}
.focus button b {
  font-weight: 500;
}
.focus button > span:last-child {
  margin-left: auto;
}
.prototype-note {
  color: #a7ad9e;
  font-size: 8px;
  margin-top: 17px;
}
.chat-panel {
  background: #fffefa;
  border: 1px solid #e7e8df;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 755px;
  max-height: 830px;
  box-shadow: 0 6px 16px #5c714f03;
}
.chat-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 20px 18px 17px;
}
.chat-symbol {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: #edf2e4;
  border-radius: 11px;
  color: #94a37d;
  font-size: 26px;
}
.chat-header h2 {
  font-size: 13px;
  margin: 0;
  color: #76836b;
}
.chat-header p {
  font-size: 9px;
  margin: 5px 0 0;
  color: #acb19e;
}
.live-badge {
  margin-left: auto;
  font-size: 7px;
  background: #eaf3e4;
  color: #94b080;
  border-radius: 4px;
  padding: 5px 7px;
  letter-spacing: 1px;
}
.people-line {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 18px;
  background: #fafbf4;
  border-top: 1px solid #f0f0e8;
  border-bottom: 1px solid #edeee4;
  font-size: 8px;
  color: #9ea58c;
  min-height: 49px;
}
.people-avatars {
  display: flex;
  padding-left: 3px;
}
.mini-avatar {
  margin-left: -4px;
  width: 22px;
  height: 22px;
  border: 2px solid #fafbf4;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 8px;
  background: #e6e9dc;
  color: #829376;
  font-weight: 600;
}
.people-line > button {
  margin-left: auto;
  color: #afb59e;
}
.people-list {
  font-size: 10px;
  padding: 12px 18px;
  border-bottom: 1px solid #edeee4;
  line-height: 2;
  color: #879478;
  max-height: 130px;
  overflow: auto;
}
.chat-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  margin: 15px 14px 0;
  background: #f8f6ef;
  border: 1px solid #eeeadf;
  border-radius: 10px;
}
.chat-banner > span {
  font-size: 28px;
  color: #d8d3c4;
}
.chat-banner p {
  font-size: 9px;
  color: #aaa38e;
  margin: 0;
  line-height: 1.8;
}
.messages {
  flex: 1;
  min-height: 260px;
  max-height: 470px;
  overflow-y: auto;
  padding: 20px 17px;
  scrollbar-width: thin;
  scrollbar-color: #dde2d1 transparent;
}
.chat-empty {
  text-align: center;
  padding: 65px 16px 45px;
  color: #9da58c;
}
.chat-empty > span {
  font-size: 35px;
  filter: saturate(0.6);
}
.chat-empty h3 {
  font-size: 11px;
  font-weight: 500;
  margin: 15px 0 8px;
  color: #8e9b7d;
}
.chat-empty p {
  font-size: 10px;
  margin: 0;
}
.message {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}
.message-avatar {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: #eeedf6;
  display: grid;
  place-items: center;
  font-size: 10px;
  color: #9c87be;
  font-weight: 600;
}
.message-content {
  min-width: 0;
  flex: 1;
}
.message-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 9px;
  color: #909c80;
  margin: 1px 0 5px;
}
.message-meta strong {
  font-weight: 600;
}
.message-meta time {
  font-size: 7px;
  color: #c0c5b5;
}
.message-meta button {
  font-size: 7px;
  margin-left: auto;
  color: #bec4b2;
  padding: 0;
}
.message-bubble {
  background: #f5f6ed;
  border: 1px solid #ebeedf;
  color: #8a927d;
  font-size: 11px;
  padding: 9px 11px;
  border-radius: 0 10px 10px 10px;
  line-height: 1.7;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.message.mine .message-bubble {
  background: #edf1e2;
  border-color: #e0e7d3;
  color: #788569;
}
.message.emote .message-bubble {
  background: #fff8e9;
  border-color: #f0e8d4;
  color: #b3a077;
}
.chat-suggestions {
  display: flex;
  gap: 6px;
  padding: 0 15px 12px;
  overflow-x: auto;
}
.chat-suggestions button {
  border: 1px solid #e5e8db;
  background: #fcfdf6;
  padding: 7px 9px;
  border-radius: 15px;
  font-size: 8px;
  color: #a0aa8c;
  white-space: nowrap;
}
#chat-form {
  border-top: 1px solid #eff0e7;
  padding: 13px 14px 0;
}
.composer {
  display: flex;
  align-items: flex-end;
  gap: 5px;
  background: #f7f8f1;
  border: 1px solid #e6eadc;
  border-radius: 11px;
  padding: 7px;
}
.composer textarea {
  border: 0;
  background: transparent;
  resize: none;
  max-height: 80px;
  min-height: 32px;
  width: 100%;
  font-size: 10px;
  line-height: 1.5;
  padding: 8px;
  color: #7d8b6a;
}
.composer textarea::placeholder {
  color: #b2b7a7;
}
.composer button {
  flex-shrink: 0;
  background: #8ca779;
  color: #fff;
  width: 31px;
  height: 31px;
  border-radius: 8px;
  font-size: 15px;
}
.composer-foot {
  display: flex;
  justify-content: space-between;
  gap: 5px;
  font-size: 7px;
  color: #bfc4b5;
  padding: 8px 2px;
}
.chat-safety {
  font-size: 8px;
  color: #afb79e;
  text-align: center;
  margin: 5px 10px 17px;
}
footer {
  border-top: 1px solid #e9eade;
  margin-top: 27px;
  padding: 20px 0 24px;
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  color: #aeb4a3;
}
footer b {
  font-size: 12px;
  color: #8c9d7e;
  margin-right: 4px;
}
footer > span:last-child > span {
  font-size: 14px;
  color: #c2b68d;
  margin-left: 6px;
}
.toast {
  position: fixed;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 20px;
  border: 1px solid #dce5cf;
  background: #fffef5;
  box-shadow: 0 10px 40px #354c2720;
  color: #839074;
  border-radius: 12px;
  font-size: 12px;
  z-index: 50;
  max-width: 90%;
  line-height: 1.6;
}
dialog {
  max-width: 430px;
  width: calc(100% - 32px);
  border: 1px solid #e3e7da;
  border-radius: 24px;
  padding: 34px;
  background: #fcfbf6;
  color: #657559;
  box-shadow: 0 25px 120px #374b3630;
}
dialog::backdrop {
  background: #31423255;
  backdrop-filter: blur(5px);
}
.welcome-art {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  height: 72px;
  margin-bottom: 20px;
}
.welcome-art span:first-child {
  font-size: 57px;
  filter: saturate(0.6);
}
.welcome-art span:nth-child(2) {
  color: #cfb06e;
  font-size: 30px;
}
.welcome-art span:last-child {
  font-size: 44px;
  transform: rotate(12deg);
}
#welcome .eyebrow {
  font-size: 8px;
  justify-content: center;
  color: #a5ac94;
}
#welcome h2 {
  font-size: 28px;
  line-height: 1.3;
  text-align: center;
  color: #5e7053;
  margin: 16px 0 12px;
  letter-spacing: -0.8px;
}
#welcome p {
  font-size: 11px;
  text-align: center;
  color: #a4ac95;
}
#welcome label {
  font-size: 10px;
  color: #8b987a;
  display: block;
  margin: 21px 0 8px;
}
#nickname {
  width: 100%;
  padding: 13px;
  border-radius: 10px;
  border: 1px solid #dfe5d4;
  background: #fffefa;
  color: #78886a;
  font-size: 12px;
}
.join-button {
  display: flex;
  justify-content: space-between;
  width: 100%;
  padding: 14px 17px;
  background: #88a378;
  border-radius: 11px;
  color: #fff;
  margin-top: 15px;
  font-size: 12px;
}
.join-button > span {
  font-size: 16px;
}
#welcome small {
  display: block;
  text-align: center;
  font-size: 8px;
  line-height: 1.8;
  color: #acb39f;
  margin: 14px 0 0;
}
.avatar-choices {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 22px 0;
}
.avatar-choice {
  width: 39px;
  height: 42px;
  position: relative;
  border-radius: 12px;
  background: #eff1e7;
  display: grid;
  place-items: center;
}
.avatar-choice.selected {
  outline: 2px solid #94ab82;
  outline-offset: 3px;
  background: #e6eddc;
}
.avatar-choice svg {
  width: 27px;
  height: 32px;
}
.rule-flower {
  font-size: 30px;
}
#rules h2 {
  font-size: 22px;
  line-height: 1.5;
  color: #788967;
}
#rules li {
  font-size: 12px;
  line-height: 1.8;
  margin: 12px 0;
}
#rules ul {
  padding-left: 18px;
}
#rules p {
  font-size: 10px;
  color: #adb39e;
  line-height: 1.8;
}
.dialog-close {
  position: absolute;
  right: 17px;
  top: 12px;
  font-size: 26px;
  color: #afbaa0;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}
[hidden] {
  display: none !important;
}
@media (min-width: 1550px) {
  main {
    padding-top: 40px;
  }
  .chat-panel {
    height: calc(100vw * 0.48);
    max-height: 900px;
  }
  .messages {
    max-height: none;
  }
  .world-panel {
    margin-bottom: 20px;
  }
  h1 {
    font-size: 37px;
  }
}
@media (max-width: 1150px) {
  .layout {
    grid-template-columns: minmax(0, 1fr) 295px;
    gap: 17px;
  }
  main {
    padding: 25px 3% 0;
  }
  header {
    padding: 0 3%;
  }
  .actions {
    flex-wrap: wrap;
  }
  .actions-caption small {
    display: none;
  }
  .actions-caption > span {
    font-size: 9px;
  }
  .emotes button {
    padding: 8px;
    font-size: 8px;
  }
  .lower-cards {
    gap: 10px;
  }
  .bulletin {
    padding: 16px 12px;
    gap: 8px;
  }
  .focus {
    padding: 17px 14px;
  }
  .card-icon {
    display: none;
  }
  .world-credit {
    display: none;
  }
  .chat-panel {
    min-height: 710px;
  }
  .room-tabs {
    gap: 5px;
  }
  .room-tabs button {
    padding: 9px 10px;
    font-size: 9px;
  }
  .intro-sticker {
    padding: 12px 14px;
  }
  header nav {
    gap: 15px;
  }
  .header-end {
    gap: 12px;
  }
  .brand-divider {
    margin: 0 8px;
  }
}
@media (max-width: 850px) {
  .topbar nav,
  .beta {
    display: none;
  }
  .topbar {
    height: 70px;
  }
  .intro-sticker {
    display: none;
  }
  .layout {
    grid-template-columns: 1fr;
  }
  .chat-panel {
    height: 620px;
    min-height: 0;
    max-height: none;
  }
  .messages {
    max-height: none;
  }
  .intro {
    margin-bottom: 22px;
  }
  .intro h1 {
    font-size: 28px;
  }
  .eyebrow {
    font-size: 7px;
  }
  .room-tabs {
    margin-bottom: 12px;
  }
  .room-tabs button {
    flex: 1;
    justify-content: center;
    font-size: 9px;
  }
  .actions {
    gap: 12px;
  }
  .actions-caption small {
    display: block;
  }
  .actions-caption > span {
    font-size: 11px;
  }
  .emotes button {
    font-size: 9px;
  }
  .lower-cards {
    margin-top: 18px;
  }
  .bulletin {
    padding: 20px 15px;
  }
  .focus {
    padding: 21px 17px;
  }
  .prototype-note {
    font-size: 8px;
  }
  .world-panel {
    border-radius: 14px;
  }
  .chat-header h2 {
    font-size: 14px;
  }
  .chat-header p {
    font-size: 10px;
  }
  .people-line {
    font-size: 10px;
  }
  .message-bubble {
    font-size: 12px;
  }
  .message-meta {
    font-size: 10px;
  }
  .chat-banner p {
    font-size: 10px;
  }
  .composer textarea {
    font-size: 12px;
  }
  .chat-suggestions button {
    font-size: 10px;
  }
  .chat-empty h3 {
    font-size: 13px;
  }
  .chat-empty p {
    font-size: 11px;
  }
  .chat-safety {
    font-size: 9px;
  }
  .composer-foot {
    font-size: 8px;
  }
  footer > span:last-child {
    display: none;
  }
  footer {
    margin-top: 20px;
  }
  .world-tip {
    font-size: 8px;
    padding: 6px 10px;
    bottom: 10px;
  }
}
@media (max-width: 480px) {
  main {
    padding: 24px 12px 0;
  }
  .brand {
    font-size: 17px;
    gap: 10px;
  }
  .brand b {
    font-size: 13px;
  }
  .profile {
    gap: 6px;
    font-size: 10px;
  }
  #profile-name {
    max-width: 65px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .brand-divider {
    margin: 0 7px;
  }
  .brand-mark {
    width: 31px;
    height: 31px;
    font-size: 18px;
  }
  .intro h1 {
    font-size: 26px;
  }
  .intro p {
    font-size: 10px;
  }
  .room-tabs {
    gap: 5px;
  }
  .room-tabs button {
    padding: 9px 8px;
    gap: 4px;
    font-size: 8px;
  }
  .room-tabs button > span {
    font-size: 13px;
  }
  .world-top {
    padding: 11px 12px;
    font-size: 9px;
  }
  .weather > span {
    display: none;
  }
  .world-bottom {
    padding: 10px 11px;
    font-size: 8px;
  }
  .emotes {
    width: 100%;
    justify-content: space-between;
    gap: 5px;
  }
  .emotes button {
    flex: 1;
    flex-direction: column;
    padding: 10px 6px;
    font-size: 8px;
    gap: 6px;
  }
  .emotes button span {
    font-size: 22px;
  }
  .actions-caption small {
    display: none;
  }
  .actions-caption {
    padding-left: 3px;
  }
  .lower-cards {
    grid-template-columns: 1fr;
  }
  .focus {
    padding: 18px;
  }
  .lower-cards h2 {
    font-size: 13px;
  }
  .focus button {
    font-size: 11px;
    padding: 11px;
  }
  .bulletin .card-icon {
    display: grid;
  }
  .card-kicker {
    font-size: 8px;
  }
  .bulletin p,
  .focus p {
    font-size: 10px;
  }
  .bulletin button {
    font-size: 11px;
  }
  .prototype-note {
    line-height: 1.9;
  }
  .online {
    font-size: 8px;
  }
  .world-tip {
    font-size: 7px;
  }
  .chat-panel {
    height: 580px;
  }
  .intro h1 span {
    font-size: 23px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

/* An Nhien: moonlit temple, warm parchment and antique gold. */
body {
  background:
    radial-gradient(ellipse at 80% 5%, #40505233, transparent 45%), #1b2932;
  color: #eee5cf;
}
header {
  background: #1a272ee8;
  border-color: #dcc28c18;
}
.brand {
  color: #e6d4ac;
}
.brand-mark {
  background: #826a4c;
  color: #f7e5ba;
}
.brand-mark > span {
  color: #d6b875;
}
.brand b {
  color: #ccb68a;
}
.brand-divider {
  color: #7e795e;
}
.top-link {
  color: #a29c86;
}
.top-link.active {
  color: #dbc18e;
  border-color: #c7a56b;
}
.beta {
  color: #9d957f;
  border-color: #bcaa7e33;
}
.profile {
  color: #d3c8ae;
}
.profile > span:first-child {
  background: #7e695333;
  color: #dac5a0;
}
h1 {
  color: #eee4ca;
  font-family: Georgia, "Segoe UI", serif;
  font-size: 34px;
  font-weight: 500;
}
.intro p {
  color: #a4ad9f;
}
.eyebrow {
  color: #a6ad94;
}
.intro-sticker {
  background: #3b4136;
  border-color: #b4ab6829;
  color: #d8c495;
}
.intro-sticker small {
  color: #a7ad91;
}
.intro-sticker > span:last-child {
  color: #d4b66d;
}
.room-tabs button {
  background: #26373d;
  border-color: #d1bd8126;
  color: #a3ae9b;
}
.room-tabs .selected {
  background: #bca36a;
  color: #26362e;
  border-color: #dfc793;
}
.room-tabs .selected > span {
  color: #554b2c;
}
.world-panel {
  border-color: #c4b27c36;
  background: #273943;
  box-shadow: 0 15px 45px #09141b33;
}
.world-top,
.world-bottom {
  background: #283a40;
  color: #aeb9a1;
}
.location b {
  color: #e0ceaa;
}
.location-dot {
  background: #d9ba7b;
}
.online {
  border-color: #d0bf891e;
  color: #a5b8a1;
}
.weather {
  color: #c8b382;
}
.world-bottom {
  border-top: 1px solid #dbc79915;
}
kbd {
  background: #3b4c4b;
  border-color: #77837444;
  color: #bec7ae;
}
.world-credit {
  color: #8fa594;
}
.world-tip {
  background: #24353bde;
  border: 1px solid #d9c49333;
  color: #cfbf9b;
  box-shadow: 0 4px 16px #14262930;
}
.canvas-wrap {
  background: #303f49;
}
.actions-caption > span {
  color: #c5c5aa;
}
.actions-caption small {
  color: #829b8e;
}
.emotes button {
  background: #2b3d40;
  border-color: #d1bc7d26;
  color: #b7c1a8;
}
.emotes button:hover {
  background: #36484a;
}
.bulletin {
  background: #e8dbc1;
  border-color: #d0b98d;
}
.bulletin h2 {
  color: #7b6145;
}
.bulletin p {
  color: #9a8665;
}
.focus {
  background: #d2ddce;
  border-color: #b8c7b3;
}
.focus h2 {
  color: #617c67;
}
.focus p {
  color: #7b947c;
}
.focus .card-kicker {
  color: #81967f;
}
.focus button {
  color: #6b856f;
  border-color: #b7c9b6;
  background: #eef1e566;
}
.prototype-note {
  color: #8ba295;
  line-height: 1.8;
}
.chat-panel {
  background: #fbf7ed;
  border-color: #d2bf9140;
  box-shadow: 0 10px 40px #0e1b2529;
}
.chat-header h2 {
  color: #7d6b4d;
}
.chat-symbol {
  color: #a58a53;
  background: #f0e8d4;
}
.live-badge {
  background: #e9ebd8;
  color: #869272;
}
.people-line {
  background: #f4efdf;
  border-color: #e9e2ce;
  color: #a29572;
}
.people-list {
  background: #faf6e9;
  color: #9e8b62;
  border-color: #e8dfc8;
}
.chat-banner {
  background: #f1ead8;
  border-color: #e8dcbe;
}
.chat-banner p {
  color: #aa9469;
}
.chat-banner > span {
  color: #c7b17c;
}
.message-meta {
  color: #a28a60;
}
.message-bubble {
  background: #f3eedf;
  border-color: #e9e1ca;
  color: #8d7b5b;
}
.message.mine .message-bubble {
  background: #e9eddc;
  border-color: #dbe2c9;
  color: #7a8862;
}
.composer {
  background: #f3efe2;
  border-color: #e4dcc5;
}
.composer textarea {
  color: #887757;
}
.composer button {
  background: #a68c59;
}
.chat-safety {
  color: #ab9d7b;
}
.chat-suggestions button {
  background: #faf6e8;
  border-color: #e7dfc5;
  color: #b09a70;
}
.chat-empty {
  color: #b19b76;
}
.chat-empty h3 {
  color: #a38d65;
}
footer {
  color: #8e9f90;
  border-color: #c4b48222;
}
footer b {
  color: #c9b689;
}
.temple-shortcuts {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 15px;
}
.temple-shortcuts button {
  padding: 10px 13px;
  background: #344147;
  border: 1px solid #bda87833;
  border-radius: 8px;
  color: #bdb899;
  font-size: 10px;
}
.temple-shortcuts button:first-child {
  background: #c8ac73;
  color: #26352f;
  font-weight: 650;
}
.temple-shortcuts button span {
  border-radius: 4px;
  padding: 1px 5px;
  background: #e3d6ae22;
  margin-left: 3px;
}
.fortune-banner {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 270px;
  margin: 0 0 29px;
  border-radius: 20px;
  border: 1px solid #d9ba7840;
  background:
    radial-gradient(ellipse at 0 45%, #bba36e13, transparent 60%),
    linear-gradient(110deg, #3a3b37, #303d3c 55%, #3f3a36);
  box-shadow: 0 15px 55px #0b19202b;
  padding: 28px 40px 28px 25px;
}
.fortune-banner:after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid #c9ac6e22;
  border-radius: 14px;
  pointer-events: none;
}
.fortune-banner-art {
  position: relative;
  width: 220px;
  height: 210px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  margin-right: 20px;
}
.lotus-emblem {
  font-size: 110px;
  color: #d3b578;
  text-shadow: 0 0 60px #d9b77425;
}
.orbit {
  position: absolute;
  inset: 15px;
  border: 1px solid #c3a26850;
  border-radius: 50%;
}
.orbit:after,
.orbit:before {
  content: "✧";
  position: absolute;
  top: 4px;
  left: 20px;
  font-size: 22px;
  color: #dbc38b;
}
.orbit:after {
  top: auto;
  bottom: 4px;
  left: auto;
  right: 20px;
}
.orbit-two {
  inset: 31px;
  border-style: dashed;
  opacity: 0.5;
  transform: rotate(30deg);
}
.floating-seal {
  position: absolute;
  bottom: 14px;
  right: 12px;
  border: 1px solid #cf9e6c;
  background: #a1654f;
  color: #f0d6a5;
  padding: 6px;
  font-family: serif;
  font-size: 20px;
  transform: rotate(-10deg);
  border-radius: 4px;
}
.temple-eyebrow {
  font-size: 8px;
  letter-spacing: 1.8px;
  color: #c2ab7d;
  font-weight: 600;
}
.fortune-banner h2 {
  font-family: Georgia, "Segoe UI", serif;
  font-size: 29px;
  font-weight: 500;
  color: #f1e3c1;
  line-height: 1.35;
  margin: 12px 0;
}
.fortune-banner h2 em {
  font-style: normal;
  color: #d8b978;
}
.fortune-banner p {
  font-size: 11px;
  color: #b3b5a1;
  line-height: 1.8;
  margin: 0;
}
.fortune-banner-bottom {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 20px;
}
.draw-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background: linear-gradient(110deg, #d9be81, #ba995e);
  color: #374033;
  border-radius: 9px;
  padding: 13px 20px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 5px 20px #0b1a2320;
  border: 1px solid #e9cf9866;
}
.draw-trigger:hover {
  filter: brightness(1.08);
}
.fortune-banner-bottom small {
  font-size: 8px;
  line-height: 1.8;
  color: #9fa892;
}
.fortune-banner-decoration {
  position: absolute;
  right: 48px;
  top: 28px;
  color: #d4bb7426;
  font-size: 105px;
  line-height: 1;
}
.fortune-banner-decoration span {
  font-size: 8px;
  letter-spacing: 4px;
  display: block;
  color: #b69b653d;
  transform: rotate(90deg);
  margin-top: 30px;
}
.toast {
  background: #fcf5e4;
  border-color: #d6bd85;
  color: #9b8255;
}
.fortune-dialog {
  max-width: 475px;
  background: #f8f0da;
  border: 1px solid #ccae73;
  box-shadow: 0 25px 130px #050e2366;
  max-height: 92vh;
  overflow-y: auto;
  padding: 34px 30px;
}
.fortune-dialog:before {
  content: "";
  pointer-events: none;
  position: absolute;
  inset: 9px;
  border: 1px solid #cbb17b66;
  border-radius: 15px;
}
.fortune-dialog h2 {
  font-family: Georgia, "Segoe UI", serif;
  font-size: 30px;
  color: #8e6d3e;
  font-weight: 500;
  text-align: center;
  margin: 12px 0 8px;
}
.fortune-dialog .temple-eyebrow {
  text-align: center;
  color: #b0976b;
  font-size: 8px;
}
.fortune-dialog p {
  text-align: center;
  font-size: 11px;
  color: #a58f69;
}
.fortune-tube {
  width: 132px;
  height: 173px;
  position: relative;
  margin: 20px auto 25px;
}
.tube-body {
  position: absolute;
  left: 10px;
  right: 10px;
  top: 57px;
  bottom: 7px;
  background: linear-gradient(
    90deg,
    #966b43,
    #d2ac6d 35%,
    #ba8c51 75%,
    #8d603d
  );
  border-radius: 6px 6px 25px 25px;
  box-shadow: inset 0 0 0 2px #dab57b66;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tube-body:before {
  content: "";
  position: absolute;
  top: -8px;
  height: 18px;
  left: 0;
  right: 0;
  background: #a27a4c;
  border: 3px solid #e1c28d;
  border-radius: 50%;
}
.tube-body span {
  font-family: Georgia, serif;
  font-size: 16px;
  line-height: 1.4;
  color: #795332;
  background: #e8ce98;
  padding: 12px 17px;
  border-radius: 20px;
  border: 2px solid #e9d5a9;
  outline: 1px solid #946a3d;
  letter-spacing: 2px;
}
.tube-body small {
  position: absolute;
  bottom: 8px;
  color: #f0d6a6;
  font-size: 12px;
}
.bamboo {
  position: absolute;
  width: 10px;
  height: 90px;
  top: 0;
  left: 40px;
  background: linear-gradient(90deg, #a17a4b, #e0c58b, #b7935e);
  border-radius: 3px;
  transform: rotate(-14deg);
  transform-origin: center bottom;
}
.bamboo:after {
  content: "吉";
  position: absolute;
  top: 12px;
  left: 1px;
  font-size: 9px;
  color: #9e6746;
}
.stick-two {
  left: 65px;
  top: 7px;
  transform: rotate(8deg);
}
.stick-three {
  left: 90px;
  top: 2px;
  transform: rotate(21deg);
}
.tube-shadow {
  position: absolute;
  bottom: -7px;
  left: 0;
  right: 0;
  height: 17px;
  background: #a0844a18;
  border-radius: 50%;
  z-index: -1;
}
.fortune-tube.shaking {
  animation: tube-shake 0.18s ease-in-out infinite;
}
.fortune-tube.shaking .bamboo {
  animation: stick-bounce 0.25s ease-in-out infinite;
}
.fortune-fields {
  display: grid;
  grid-template-columns: 1fr 100px;
  gap: 12px;
}
.fortune-dialog form label,
.prayer-dialog label {
  display: block;
  font-size: 10px;
  color: #a48a5f;
  margin: 14px 0 6px;
}
.fortune-dialog input,
.fortune-dialog select,
.prayer-dialog textarea {
  width: 100%;
  border: 1px solid #d6c39a;
  background: #fffaf0;
  border-radius: 8px;
  color: #8a7551;
  font-size: 12px;
  padding: 11px;
  margin-top: 6px;
}
.fortune-dialog form > .draw-trigger {
  width: 100%;
  margin-top: 20px;
}
.fortune-disclaimer {
  font-size: 9px !important;
  line-height: 1.8 !important;
  color: #ad9a76 !important;
  margin-top: 17px !important;
}
.fortune-dialog .dialog-close {
  color: #b39c70;
  z-index: 2;
}
.fortune-result-card {
  position: relative;
  border: 1px solid #ccb07a;
  border-radius: 8px;
  padding: 25px 22px;
  background: linear-gradient(170deg, #fffae8, #f5e6c6);
  text-align: center;
  overflow: hidden;
  margin-top: 12px;
}
.fortune-result-card:before {
  content: "✦";
  position: absolute;
  right: -25px;
  top: 110px;
  font-size: 180px;
  color: #bb964c08;
}
.fortune-result-card .card-number {
  font-size: 9px;
  letter-spacing: 3px;
  color: #b49562;
}
.fortune-result-card .fortune-grade {
  display: inline-block;
  margin-top: 13px;
  font-size: 9px;
  padding: 5px 12px;
  border: 1px solid #bf925e;
  border-radius: 30px;
  color: #a47c43;
  letter-spacing: 1px;
}
.fortune-result-card h3 {
  font-family: Georgia, "Segoe UI", serif;
  font-size: 27px;
  color: #916936;
  font-weight: 500;
  margin: 15px 0 12px;
}
.fortune-result-card .fortune-verse {
  font-family: Georgia, serif;
  font-size: 15px;
  line-height: 1.9;
  color: #a48a5a;
  white-space: pre-line;
  margin: 12px 0 20px;
}
.fortune-score-label {
  font-size: 8px;
  color: #af9569;
  letter-spacing: 1px;
}
.fortune-score {
  font-family: Georgia, serif;
  color: #a17439;
  font-size: 44px;
  letter-spacing: -1px;
  margin: 8px 0 4px;
  line-height: 1.1;
}
.fortune-score small {
  font-size: 15px;
  color: #b3996d;
  letter-spacing: 0;
}
.fortune-result-card .score-note {
  font-size: 8px;
  color: #b49c74;
  margin-bottom: 20px;
}
.fortune-reading {
  text-align: left;
  border-top: 1px solid #dbc79d;
  padding-top: 17px;
}
.fortune-reading p {
  font-size: 11px !important;
  color: #a0855c !important;
  text-align: left !important;
  line-height: 1.8;
  margin: 8px 0 13px;
}
.fortune-reading strong {
  color: #917344;
  font-size: 10px;
}
.fortune-exam {
  font-size: 10px !important;
  overflow-wrap: anywhere;
  color: #aa8e60 !important;
}
.fortune-result-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 19px;
  font-size: 8px;
  color: #af9a74;
}
.fortune-seal {
  border: 1px solid #ae7955;
  border-radius: 3px;
  padding: 4px 7px;
  color: #a46c4b;
  transform: rotate(-6deg);
  font-family: serif;
  font-size: 10px;
  line-height: 1.2;
}
.fortune-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  justify-content: center;
  margin-top: 17px;
}
.fortune-result-actions button {
  font-size: 10px;
  background: #fff8e6;
  border: 1px solid #d7c399;
  color: #a78a5e;
  padding: 11px 13px;
  border-radius: 8px;
}
.fortune-result-actions button:first-child {
  background: #b4935a;
  color: #fff5dd;
  border-color: #b4935a;
}
.prayer-dialog {
  background: #f8f1df;
  border-color: #d5bc85;
  max-height: 90vh;
  overflow: auto;
}
.prayer-dialog h2 {
  font-family: Georgia, serif;
  font-size: 25px;
  color: #937748;
  text-align: center;
}
.prayer-dialog p {
  font-size: 11px;
  color: #aa9572;
  text-align: center;
}
.prayer-dialog .temple-eyebrow {
  text-align: center;
}
.prayer-icon {
  text-align: center;
  font-size: 44px;
  margin: 8px 0 17px;
}
.prayer-dialog small {
  display: block;
  font-size: 9px;
  line-height: 1.7;
  color: #b29f7b;
  margin: 9px 0 17px;
}
.prayer-dialog .draw-trigger {
  width: 100%;
}
.prayer-dialog textarea {
  resize: vertical;
}
.collection-item {
  border: 1px solid #d6c7a2;
  background: #fff9eb;
  border-radius: 10px;
  margin: 11px 0;
  padding: 14px;
  text-align: left;
  width: 100%;
}
.collection-item strong {
  display: block;
  font-family: Georgia, serif;
  font-size: 18px;
  color: #987743;
  font-weight: 500;
}
.collection-item small {
  display: block;
  color: #b19c75;
  font-size: 9px;
  line-height: 1.7;
  margin-top: 6px;
}
#collection-dialog {
  background: #f8f0da;
  border-color: #d2b77c;
  max-height: 85vh;
  overflow: auto;
}
#collection-dialog h2 {
  font-family: Georgia, serif;
  font-size: 27px;
  font-weight: 500;
  color: #937346;
}
.fortune-revealing {
  animation: card-reveal 0.6s ease-out;
}
#welcome {
  background: #f8f1df;
  border-color: #d7bf8e;
}
#welcome h2 {
  font-family: Georgia, serif;
  color: #8f774d;
  font-weight: 500;
}
#welcome p {
  color: #a59473;
}
#welcome .eyebrow {
  color: #ae9971;
}
#nickname {
  background: #fffaef;
  border-color: #d9c59f;
  color: #99805b;
}
.join-button {
  background: #af925d;
  color: #fff6df;
}
.avatar-choice.selected {
  outline-color: #bca16b;
  background: #e9debf;
}
#rules {
  background: #faf3df;
  color: #9f8b60;
}
#rules h2 {
  color: #93784b;
}
#rules p {
  color: #b29e77;
}
@keyframes tube-shake {
  0%,
  100% {
    transform: rotate(-8deg);
  }
  50% {
    transform: rotate(8deg);
  }
}
@keyframes stick-bounce {
  0%,
  100% {
    translate: 0 -5px;
  }
  50% {
    translate: 0 3px;
  }
}
@keyframes card-reveal {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
@media (max-width: 1100px) {
  .fortune-banner-decoration {
    display: none;
  }
  .fortune-banner-art {
    width: 180px;
    height: 190px;
    margin-right: 13px;
  }
  .fortune-banner h2 {
    font-size: 27px;
  }
  .fortune-banner {
    padding-right: 25px;
  }
  .fortune-banner-bottom {
    gap: 12px;
  }
}
@media (max-width: 650px) {
  .fortune-banner {
    padding: 24px 22px;
    min-height: 0;
    gap: 0;
  }
  .fortune-banner-art {
    position: absolute;
    right: -40px;
    top: -15px;
    width: 170px;
    height: 170px;
    opacity: 0.24;
    margin: 0;
    pointer-events: none;
  }
  .fortune-banner-copy {
    position: relative;
    z-index: 1;
  }
  .fortune-banner h2 {
    font-size: 26px;
  }
  .fortune-banner p {
    font-size: 10px;
  }
  .fortune-banner-bottom {
    flex-wrap: wrap;
    gap: 12px;
  }
  .fortune-banner-bottom small {
    font-size: 8px;
  }
  .fortune-banner .temple-eyebrow {
    font-size: 7px;
  }
  .fortune-dialog {
    padding: 32px 24px;
  }
  .temple-shortcuts {
    gap: 7px;
  }
  .temple-shortcuts button {
    font-size: 9px;
    padding: 9px 10px;
  }
  .fortune-dialog h2 {
    font-size: 27px;
  }
  .fortune-result-card {
    padding: 22px 15px;
  }
  .fortune-score {
    font-size: 40px;
  }
  .intro h1 {
    font-size: 29px;
  }
  .world-tip {
    max-width: 90%;
    white-space: normal;
    text-align: center;
    line-height: 1.6;
  }
  .fortune-banner-bottom .draw-trigger {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .shaking,
  .fortune-revealing,
  .shaking .bamboo {
    animation: none !important;
  }
}

/* Keep the chat composer visible on short mobile screens. */
@media (max-width: 850px) {
  .messages {
    min-height: 0;
  }
  .chat-panel {
    height: 620px;
  }
  .chat-safety {
    flex-shrink: 0;
  }
  .chat-header,
  .people-line,
  .chat-banner,
  .chat-suggestions,
  #chat-form {
    flex-shrink: 0;
  }
}
.message-bubble {
  font-size: 12px;
}
.message-meta {
  font-size: 10px;
}
.chat-header p {
  font-size: 10px;
}
.chat-banner p {
  font-size: 10px;
}
.composer textarea {
  font-size: 12px;
}
.chat-empty p {
  font-size: 11px;
}
.fortune-reading p {
  color: #8b7048 !important;
}
.fortune-result-card h3 {
  color: #865d2f;
}
.fortune-result-card .fortune-verse {
  color: #94733f;
}
.fortune-score {
  color: #91642f;
}
