/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
@layer properties;
@layer theme, base, components, utilities;
@layer theme {
  :root, :host {
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
      "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
      "Segoe UI Symbol", "Noto Color Emoji";
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --color-white: #fff;
    --spacing: 0.25rem;
    --text-xs: 0.75rem;
    --text-xs--line-height: calc(1 / 0.75);
    --font-weight-semibold: 600;
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
  }
}
@layer base {
  *, ::after, ::before, ::backdrop, ::file-selector-button {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
  }
  html, :host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    font-family: var(--default-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }
  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }
  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }
  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }
  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }
  b, strong {
    font-weight: bolder;
  }
  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }
  small {
    font-size: 80%;
  }
  sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.5em;
  }
  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }
  :-moz-focusring:where(:not(iframe)) {
    outline: auto;
  }
  progress {
    vertical-align: baseline;
  }
  summary {
    display: list-item;
  }
  ol, ul, menu {
    list-style: none;
  }
  img, svg, video, canvas, audio, iframe, embed, object {
    display: block;
    vertical-align: middle;
  }
  img, video {
    max-width: 100%;
    height: auto;
  }
  button, input, select, optgroup, textarea, ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    border-radius: 0;
    background-color: transparent;
    opacity: 1;
  }
  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }
  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }
  ::file-selector-button {
    margin-inline-end: 4px;
  }
  ::placeholder {
    opacity: 1;
  }
  @supports (not (-webkit-appearance: -apple-pay-button))  or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentcolor;
      @supports (color: color-mix(in lab, red, red)) {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }
  textarea {
    resize: vertical;
  }
  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }
  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }
  ::-webkit-datetime-edit {
    display: inline-flex;
  }
  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }
  ::-webkit-datetime-edit, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }
  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }
  :-moz-ui-invalid {
    box-shadow: none;
  }
  button, input:where([type="button"], [type="reset"], [type="submit"]), ::file-selector-button {
    appearance: button;
  }
  ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
    height: auto;
  }
  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}
@layer utilities {
  .visible {
    visibility: visible;
  }
  .absolute {
    position: absolute;
  }
  .static {
    position: static;
  }
  .mt-1 {
    margin-top: var(--spacing);
  }
  .mt-2 {
    margin-top: calc(var(--spacing) * 2);
  }
  .block {
    display: block;
  }
  .contents {
    display: contents;
  }
  .flex {
    display: flex;
  }
  .grid {
    display: grid;
  }
  .hidden {
    display: none;
  }
  .hidden\! {
    display: none !important;
  }
  .table {
    display: table;
  }
  .transform {
    transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,);
  }
  .transform\! {
    transform: var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,) !important;
  }
  .resize {
    resize: both;
  }
  .list-inside {
    list-style-position: inside;
  }
  .list-disc {
    list-style-type: disc;
  }
  .gap-1 {
    gap: var(--spacing);
  }
  .rounded {
    border-radius: 0.25rem;
  }
  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }
  .border-b {
    border-bottom-style: var(--tw-border-style);
    border-bottom-width: 1px;
  }
  .border-\[\#D9A441\] {
    border-color: #D9A441;
  }
  .border-white\/10 {
    border-color: color-mix(in srgb, #fff 10%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      border-color: color-mix(in oklab, var(--color-white) 10%, transparent);
    }
  }
  .bg-\[\#D9A441\] {
    background-color: #D9A441;
  }
  .px-1 {
    padding-inline: var(--spacing);
  }
  .px-2 {
    padding-inline: calc(var(--spacing) * 2);
  }
  .py-1 {
    padding-block: var(--spacing);
  }
  .pb-1 {
    padding-bottom: var(--spacing);
  }
  .text-xs {
    font-size: var(--text-xs);
    line-height: var(--tw-leading, var(--text-xs--line-height));
  }
  .font-semibold {
    --tw-font-weight: var(--font-weight-semibold);
    font-weight: var(--font-weight-semibold);
  }
  .whitespace-pre-line {
    white-space: pre-line;
  }
  .text-\[\#6B4A32\] {
    color: #6B4A32;
  }
  .text-\[\#7A5A1E\] {
    color: #7A5A1E;
  }
  .text-\[\#8A2F2F\] {
    color: #8A2F2F;
  }
  .overline {
    text-decoration-line: overline;
  }
  .opacity-60 {
    opacity: 60%;
  }
  .shadow {
    --tw-shadow: 0 1px 3px 0 var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 1px 2px -1px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .filter {
    filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
  }
}
:root {
  font-family: "Malgun Gothic","Noto Sans KR",sans-serif;
  color: #f9f1df;
  background: #152a29;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
html,body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
button,input {
  font: inherit;
}
button {
  cursor: pointer;
  transition: background .18s,transform .18s;
}
button:hover {
  filter: brightness(1.12);
}
button:active {
  transform: translateY(1px);
}
button:disabled {
  cursor: wait;
  opacity: .6;
}
button:focus-visible,input:focus-visible {
  outline: 2px solid #ffe2a1;
  outline-offset: 3px;
}
.site-header {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 26px;
  background: #172d2b;
  border-bottom: 1px solid #cbb58230;
  position: relative;
  z-index: 10;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-emblem {
  font-size: 31px;
  color: #e5ca8c;
}
.brand h1 {
  font-size: 19px;
  margin: 0;
  letter-spacing: -.04em;
  font-weight: 700;
}
.brand>div>span {
  display: block;
  font-size: 8px;
  letter-spacing: .18em;
  margin-top: 4px;
  color: #b8baa3;
}
.header-middle {
  font-size: 11px;
  letter-spacing: .06em;
  color: #c5c6b0;
}
.header-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  border: 1px solid #e6d5aa30;
  padding: 9px 14px;
  border-radius: 24px;
  color: #e6dfc7;
}
.pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #95c991;
  box-shadow: 0 0 12px #8dda8299;
}
.world-shell {
  height: calc(100dvh - 64px);
  width: 100%;
}
.world-stage {
  height: 100%;
  position: relative;
  overflow: hidden;
  background: #263c37;
}
.world-stage:before {
  content: "";
  position: absolute;
  inset: -35px;
  background: url('/assets/maps/mark-upper-room-reference.png') center/cover;
  filter: blur(24px) brightness(.45);
  opacity: .75;
}
#room-canvas-mount {
  position: absolute;
  inset: 0;
  outline-offset: -5px;
}
#room-canvas-mount canvas {
  display: block;
  touch-action: none;
  position: relative;
}
#room-canvas-mount:focus {
  outline: 2px solid #ffe2a144;
}
.world-topline {
  position: absolute;
  top: 18px;
  left: 20px;
  right: 20px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 3;
}
.world-weather {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 9px 15px;
  background: #19352ccf;
  border: 1px solid #e5d1a63d;
  border-radius: 12px;
  backdrop-filter: blur(12px);
  box-shadow: 0 5px 15px #0002;
}
.world-weather>span {
  font-size: 25px;
  color: #f1d38b;
}
.world-weather strong {
  font-size: 11px;
  font-weight: 600;
}
.world-weather small {
  display: block;
  margin-top: 4px;
  font-size: 9px;
  color: #d0cfb8;
}
.world-utilities {
  display: flex;
  gap: 6px;
  pointer-events: auto;
}
.icon-button {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  border: 1px solid #e5d1a650;
  background: #19352cdb;
  color: #f5e6bd;
  font-size: 20px;
  backdrop-filter: blur(10px);
}
.icon-button[aria-pressed=true] {
  background: #b08b47;
  color: white;
}
.quest-card {
  position: absolute;
  z-index: 4;
  left: 20px;
  bottom: 87px;
  width: 290px;
  padding: 15px 18px 14px;
  background: linear-gradient(135deg,#173a31f2,#1e302bee);
  border: 1px solid #d7bf814f;
  border-radius: 16px;
  box-shadow: 0 10px 32px #102a2340;
  backdrop-filter: blur(16px);
}
.overline {
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .16em;
  color: #d7bd80;
}
.quest-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.quest-top button {
  border: 0;
  background: none;
  color: #d0c9b0;
  font-size: 18px;
  line-height: 16px;
  padding: 0 2px;
}
.quest-body h2 {
  font-size: 19px;
  letter-spacing: -.045em;
  margin: 10px 0 8px;
  color: #fff3d7;
}
.quest-body p {
  color: #d6d7c4;
  font-size: 11px;
  line-height: 1.8;
  margin: 0 0 13px;
}
.quest-stamps {
  display: flex;
  gap: 7px;
  margin: 0 0 13px;
}
.quest-stamps span {
  flex: 1;
  text-align: center;
  border: 1px solid #ddd0a837;
  padding: 6px 0;
  border-radius: 7px;
  font-size: 10px;
  color: #c0c3ab;
  background: #ffffff05;
}
.quest-stamps span.earned {
  border-color: #ecd296;
  background: #ecd296;
  color: #354536;
}
.quest-stamps span.current {
  border-color: #d7c493;
  color: #fae1a7;
  box-shadow: inset 0 0 12px #d7c49315;
}
.gold-button {
  width: 100%;
  border: 1px solid #ffe4a7;
  border-radius: 9px;
  padding: 10px 12px;
  background: linear-gradient(135deg,#efd69c,#d3b470);
  color: #293c30;
  font-weight: 700;
  font-size: 11px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.gold-button span {
  font-size: 15px;
}
.quest-body>small {
  display: block;
  margin-top: 9px;
  color: #aebda8;
  font-size: 9px;
  line-height: 1.5;
}
.quest-card.collapsed {
  width: 235px;
  padding: 10px 15px;
  bottom: 80px;
}
.quest-card.collapsed .quest-body {
  display: none;
}
.scene-bottom {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 4;
  white-space: nowrap;
}
.camera-controls {
  display: flex;
  gap: 3px;
  align-items: center;
  padding: 5px;
  border: 1px solid #dec58e55;
  border-radius: 12px;
  background: #17352deb;
  box-shadow: 0 4px 18px #16251e30;
  backdrop-filter: blur(15px);
}
.camera-controls button {
  border: 0;
  background: transparent;
  color: #e0dbc5;
  font-size: 11px;
  border-radius: 8px;
  padding: 8px 11px;
}
.camera-controls button.active {
  background: #e2c990;
  color: #2d4436;
  font-weight: 700;
}
.control-divider {
  height: 19px;
  border-right: 1px solid #f4e4bc30;
  margin: 0 2px;
}
.meeting-button {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #f0d59b66;
  background: #263b2ee8;
  color: #fff1ce;
  padding: 0 16px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  backdrop-filter: blur(15px);
}
.meeting-button span {
  font-size: 19px;
}
.meeting-button.gathering {
  background: #e5cb90;
  color: #2c4536;
}
.world-hint {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  color: #f9edd1be;
  white-space: nowrap;
  text-shadow: 0 1px 5px #000;
  z-index: 3;
  pointer-events: none;
}
.scene-tooltip {
  position: absolute;
  z-index: 7;
  pointer-events: none;
  display: none;
  background: #20392fed;
  border: 1px solid #e9d19b70;
  border-radius: 9px;
  padding: 8px 13px;
  font-size: 11px;
  color: #fff1d1;
  box-shadow: 0 4px 15px #0002;
  white-space: nowrap;
}
.scene-toast {
  position: absolute;
  z-index: 9;
  top: 82px;
  left: 50%;
  transform: translate(-50%,-8px);
  padding: 12px 23px;
  background: #19362ef2;
  border: 1px solid #efce8477;
  box-shadow: 0 6px 25px #0003;
  border-radius: 30px;
  font-size: 12px;
  color: #ffebbe;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s,transform .2s;
  max-width: 90%;
  text-align: center;
}
.scene-toast.visible {
  opacity: 1;
  transform: translate(-50%,0);
}
.detail-panel,.directory-panel,.floor-dashboard {
  position: absolute;
  z-index: 6;
  right: 20px;
  top: 76px;
  width: 300px;
  max-height: calc(100% - 162px);
  overflow: auto;
  border: 1px solid #d9bf844e;
  border-radius: 17px;
  background: linear-gradient(145deg,#203b32f5,#192c28f5);
  padding: 22px 18px 18px;
  box-shadow: 0 15px 40px #15221c55;
  backdrop-filter: blur(20px);
  scrollbar-width: thin;
  scrollbar-color: #7c8f71 transparent;
  transition: opacity .22s,transform .22s;
}
.detail-panel.detail-hidden {
  opacity: 0;
  pointer-events: none;
  transform: translateX(18px);
}
.hidden {
  display: none !important;
}
.panel-close {
  position: absolute;
  right: 10px;
  top: 8px;
  width: 25px;
  height: 25px;
  background: none;
  border: 0;
  color: #d4d4bd;
  font-size: 22px;
}
.character-detail {
  display: flex;
  align-items: center;
  gap: 13px;
}
.character-detail img {
  width: 74px;
  height: 86px;
  object-fit: contain;
  filter: drop-shadow(0 4px 5px #0003);
}
.character-detail h2 {
  font-size: 18px;
  margin: 5px 0;
  color: #fff0d0;
  letter-spacing: -.05em;
}
.character-detail p {
  font-size: 10px;
  margin: 0;
  color: #c7ccb5;
  line-height: 1.6;
}
.selected-status {
  font-size: 10px;
  color: #d5ca9f;
  margin: 11px 0;
  padding: 9px 10px;
  border-radius: 7px;
  background: #ffffff06;
  border: 1px solid #ddd0a81a;
  line-height: 1.6;
}
.companion-actions {
  display: flex;
  gap: 7px;
  margin: 12px 0 16px;
}
.companion-actions button {
  flex: 1;
  border: 1px solid #d5c59b38;
  color: #e6dcc0;
  background: #ffffff07;
  border-radius: 7px;
  padding: 8px 5px;
  font-size: 10px;
}
.chat-heading {
  display: flex;
  justify-content: space-between;
  color: #eddbb1;
  font-size: 11px;
  margin-bottom: 8px;
}
.chat-heading small {
  font-size: 8px;
  color: #b6c0a8;
}
.chat-messages {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-height: 70px;
  max-height: 165px;
  overflow: auto;
  font-size: 10px;
  line-height: 1.7;
  padding: 0 1px 8px;
}
.chat-line {
  align-self: flex-start;
  padding: 9px 11px;
  border-radius: 2px 10px 10px 10px;
  background: #edf0d811;
  color: #e0e4ce;
  max-width: 95%;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.chat-line.user {
  align-self: flex-end;
  background: #d7c58c27;
  color: #f4e4b9;
  border-radius: 10px 2px 10px 10px;
}
.chat-form {
  display: flex;
  padding: 3px;
  border: 1px solid #d8c59645;
  background: #091e1740;
  border-radius: 9px;
  gap: 4px;
}
.chat-form input {
  min-width: 0;
  flex: 1;
  border: 0;
  background: none;
  color: #fff1cf;
  padding: 9px 7px;
  font-size: 10px;
  outline: none;
}
.chat-form input::placeholder {
  color: #bcc5ac80;
}
.chat-form button {
  border: 0;
  border-radius: 7px;
  background: #ddc68a;
  color: #324738;
  padding: 0 11px;
  font-size: 18px;
}
.quick-questions {
  display: flex;
  gap: 5px;
  margin-top: 9px;
}
.quick-questions button {
  font-size: 9px;
  background: none;
  border: 1px solid #d8c59625;
  color: #c9cdb4;
  padding: 5px 8px;
  border-radius: 16px;
}
.directory-panel h2,.floor-dashboard h2 {
  font-size: 18px;
  color: #f6e5bd;
  margin: 8px 0 15px;
}
.directory-panel h3,.floor-dashboard h3 {
  font-size: 11px;
  color: #d3c397;
  margin: 16px 0 8px;
}
.room-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}
.room-list button,.people-list button {
  background: #ffffff06;
  border: 1px solid #e0d0a325;
  border-radius: 8px;
  color: #dbe1ca;
  font-size: 10px;
  padding: 10px 7px;
  text-align: left;
}
.room-list button:hover,.people-list button:hover {
  background: #c9c09124;
}
.room-list button span {
  margin-right: 6px;
  color: #e5ce94;
}
.people-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
}
.people-list button {
  padding: 7px;
  font-size: 9px;
}
.floor-dashboard p {
  font-size: 10px;
  color: #b9c7ae;
  line-height: 1.6;
}
.module-list,.system-feed {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 10px;
}
.module-row,.feed-row {
  border-bottom: 1px solid #dcd1a21b;
  padding: 7px 0;
  line-height: 1.6;
  color: #d0d8be;
}
.module-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}
.module-row small {
  color: #b7bd9e;
}
.feed-row small {
  color: #adbb9e;
  display: block;
}
.scene-loading {
  position: absolute;
  z-index: 20;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: radial-gradient(ellipse at center,#314a3d,#142c28);
  transition: opacity .5s;
  pointer-events: auto;
}
.scene-loading.finished {
  opacity: 0;
  pointer-events: none;
}
.loading-mark {
  font-size: 45px;
  color: #e7c884;
  animation: breathe 2s infinite;
}
.scene-loading h2 {
  font-size: 20px;
  color: #f2dfb5;
  font-weight: 500;
  margin: 18px 0 9px;
  letter-spacing: -.035em;
}
.scene-loading p {
  font-size: 11px;
  color: #bcc7aa;
}
.loading-track {
  margin-top: 15px;
  width: 210px;
  height: 3px;
  background: #dfcc9b1c;
  border-radius: 8px;
  overflow: hidden;
}
#loading-progress {
  height: 100%;
  width: 0;
  background: #dbbe78;
  transition: width .2s;
}
.load-retry {
  margin-top: 15px;
  background: #d2b879;
  color: #243e30;
  border: 0;
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 12px;
}
@keyframes breathe {
  50% {
    opacity: .45;
    transform: scale(.92);
  }
}
@media (min-width:1600px) {
  .quest-card {
    left: 28px;
    bottom: 100px;
    width: 320px;
  }
  .quest-body h2 {
    font-size: 22px;
  }
  .quest-body p {
    font-size: 12px;
  }
  .world-topline {
    left: 28px;
    right: 28px;
    top: 22px;
  }
}
@media (max-width:950px) {
  .header-middle {
    display: none;
  }
  .quest-card {
    width: 246px;
    left: 12px;
    bottom: 88px;
    padding: 12px 14px;
  }
  .quest-body h2 {
    font-size: 16px;
  }
  .quest-body p {
    font-size: 10px;
  }
  .detail-panel,.directory-panel,.floor-dashboard {
    right: 12px;
    width: 270px;
  }
  .world-topline {
    left: 12px;
    right: 12px;
    top: 12px;
  }
  .world-weather {
    padding: 7px 10px;
  }
  .world-weather strong {
    font-size: 10px;
  }
  .world-weather small {
    font-size: 8px;
  }
  .scene-bottom {
    gap: 6px;
  }
  .camera-controls button {
    padding: 8px;
    font-size: 10px;
  }
  .meeting-button {
    padding: 0 10px;
    font-size: 10px;
  }
}
@media (max-width:600px) {
  .site-header {
    height: 54px;
    padding: 0 12px;
  }
  .brand h1 {
    font-size: 16px;
  }
  .brand>div>span {
    font-size: 6px;
    letter-spacing: .12em;
  }
  .brand-emblem {
    font-size: 25px;
  }
  .header-pill {
    font-size: 9px;
    padding: 7px 9px;
  }
  .world-shell {
    height: calc(100dvh - 54px);
  }
  .world-weather {
    padding: 6px 9px;
  }
  .world-weather>span {
    font-size: 19px;
  }
  .world-weather strong {
    font-size: 9px;
  }
  .world-weather small {
    font-size: 7px;
  }
  .world-utilities {
    gap: 4px;
  }
  .icon-button {
    width: 31px;
    height: 31px;
    font-size: 17px;
    border-radius: 8px;
  }
  .world-topline {
    left: 9px;
    right: 9px;
    top: 10px;
  }
  .quest-card {
    left: 9px;
    bottom: 93px;
    width: 218px;
    padding: 11px 13px;
  }
  .quest-card.collapsed {
    bottom: 90px;
    width: 209px;
  }
  .quest-body h2 {
    font-size: 16px;
  }
  .quest-body p {
    font-size: 10px;
    line-height: 1.6;
  }
  .quest-stamps {
    gap: 5px;
    margin-bottom: 10px;
  }
  .quest-stamps span {
    font-size: 9px;
    padding: 4px;
  }
  .gold-button {
    font-size: 10px;
    padding: 9px;
  }
  .quest-body>small {
    font-size: 8px;
  }
  .scene-bottom {
    bottom: 29px;
    gap: 5px;
    max-width: calc(100% - 16px);
  }
  .camera-controls {
    padding: 4px;
    gap: 1px;
    border-radius: 10px;
  }
  .camera-controls button {
    padding: 8px 6px;
    font-size: 9px;
  }
  .meeting-button {
    padding: 0 8px;
    font-size: 9px;
    border-radius: 10px;
  }
  .meeting-button span {
    font-size: 14px;
  }
  .world-hint {
    font-size: 8px;
    bottom: 10px;
  }
  .detail-panel,.directory-panel,.floor-dashboard {
    top: 56px;
    right: 9px;
    width: min(290px,calc(100% - 18px));
    max-height: calc(100% - 138px);
  }
  .scene-toast {
    top: 55px;
    font-size: 10px;
    padding: 10px 15px;
  }
  .scene-tooltip {
    font-size: 9px;
    padding: 6px 9px;
  }
}
@media (prefers-reduced-motion:reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}
.site-header {
  position: absolute;
  inset: 0 0 auto;
  height: 62px;
  padding: 0 28px;
  background: linear-gradient(180deg,#101b1cf2 0%,#142322df 72%,#15262300 100%);
  border: 0;
  z-index: 11;
  pointer-events: none;
}
.site-header>* {
  pointer-events: auto;
}
.brand {
  gap: 10px;
  text-shadow: 0 2px 12px #0008;
}
.brand-emblem {
  font-size: 28px;
  text-shadow: 0 0 20px #e5ca8c66;
}
.brand h1 {
  font-size: 17px;
}
.brand>div>span {
  font-size: 7px;
  letter-spacing: .2em;
  color: #d0c39d;
}
.header-middle {
  display: none;
}
.header-pill {
  padding: 8px 13px;
  background: #172a26a8;
  border-color: #e6d5aa28;
  box-shadow: 0 4px 18px #0002;
  backdrop-filter: blur(12px);
  font-size: 10px;
}
.world-shell {
  height: 100dvh;
}
.world-stage:after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(180deg,#09151438 0%,transparent 17%,transparent 68%,#08141155 100%),radial-gradient(ellipse at center,transparent 52%,#07100d42 100%);
}
#room-canvas-mount {
  z-index: 0;
}
.world-topline {
  top: 76px;
  left: 26px;
  right: 26px;
  z-index: 3;
}
.world-weather {
  padding: 9px 14px;
  border-radius: 12px;
  background: #10201dd9;
  border-color: #e3cc9250;
  box-shadow: 0 8px 26px #07100d45, inset 0 1px #ffffff12;
}
.world-weather>span {
  font-size: 23px;
  text-shadow: 0 0 16px #f4d58580;
}
.world-weather strong {
  font-size: 11px;
  letter-spacing: -.02em;
}
.world-weather small {
  font-size: 8px;
  letter-spacing: .04em;
  color: #d3d0b8;
}
.world-utilities {
  gap: 7px;
}
.icon-button {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #10201de8;
  border-color: #e4cf9652;
  box-shadow: 0 6px 18px #07100d40, inset 0 1px #ffffff0c;
  transition: transform .18s,background .18s,border-color .18s;
}
.icon-button:hover {
  transform: translateY(-2px);
  background: #30453a;
}
.icon-button[aria-pressed=true] {
  background: #b28b49;
  border-color: #f5d998;
  box-shadow: 0 0 20px #dfba6552;
}
.quest-card {
  left: 26px;
  bottom: 104px;
  width: 292px;
  padding: 15px 17px 14px;
  border-radius: 13px 13px 13px 4px;
  background: linear-gradient(145deg,#122520f2,#10201eec);
  border: 1px solid #dfc17a65;
  border-left: 3px solid #d9b968;
  box-shadow: 0 14px 38px #06110e66, inset 0 1px #ffffff12;
  backdrop-filter: blur(18px);
}
.quest-card:before {
  content: "";
  position: absolute;
  left: -3px;
  top: 38px;
  width: 3px;
  height: 38px;
  background: #f4d894;
  box-shadow: 0 0 14px #e1bd6b;
}
.overline {
  font-size: 8px;
  letter-spacing: .19em;
  color: #d9bd79;
}
.quest-top button {
  width: 24px;
  height: 24px;
  border: 1px solid #e8d5a530;
  border-radius: 7px;
  background: #ffffff09;
  color: #e6d9b7;
  line-height: 1;
}
.quest-body h2 {
  font-size: 19px;
  margin: 9px 0 6px;
  color: #fff1d0;
}
.quest-body p {
  font-size: 10px;
  line-height: 1.7;
  color: #c9d1c1;
  margin-bottom: 11px;
}
.quest-stamps {
  gap: 5px;
  margin-bottom: 11px;
}
.quest-stamps span {
  font-size: 9px;
  padding: 6px 0;
  border-radius: 6px;
  background: #ffffff05;
  border-color: #ded1aa2c;
  color: #aeb9a9;
}
.quest-stamps span.earned {
  background: #d8bd7c;
  color: #24372d;
  border-color: #f1dca5;
}
.quest-stamps span.current {
  background: #d9bd7c18;
  border-color: #e4c87f;
  color: #f1d898;
  box-shadow: 0 0 12px #e0c17a18,inset 0 0 10px #dfc47a14;
}
.gold-button {
  min-height: 38px;
  padding: 9px 12px;
  border-radius: 7px;
  background: linear-gradient(110deg,#efd79e,#d5b469);
  box-shadow: 0 5px 16px #b9974a24;
  color: #26372c;
  font-size: 10px;
  letter-spacing: .01em;
}
.gold-button:hover {
  filter: brightness(1.08);
  box-shadow: 0 7px 20px #d7b66345;
}
.quest-body>small {
  font-size: 8px;
  color: #9eae9d;
}
.quest-card.collapsed {
  left: 26px;
  bottom: 104px;
  width: 236px;
  padding: 10px 13px;
  border-radius: 10px;
}
.scene-bottom {
  bottom: 25px;
  gap: 8px;
  z-index: 4;
  padding: 6px;
  border: 1px solid #d8c18450;
  border-radius: 15px;
  background: #10211de8;
  box-shadow: 0 12px 34px #06100e73,inset 0 1px #ffffff13;
  backdrop-filter: blur(18px);
}
.camera-controls {
  gap: 2px;
  padding: 2px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}
.camera-controls button {
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 10px;
  color: #c5cebd;
}
.camera-controls button:hover {
  background: #ffffff12;
}
.camera-controls button.active {
  background: linear-gradient(135deg,#ecd391,#d2b36b);
  color: #25392e;
  box-shadow: 0 3px 12px #d8b76630;
}
.control-divider {
  height: 20px;
  border-color: #e4d29c30;
}
.meeting-button {
  min-height: 38px;
  padding: 0 13px;
  border-radius: 10px;
  background: #1c342b;
  border-color: #e5c77972;
  box-shadow: inset 0 1px #ffffff10;
  font-size: 10px;
}
.meeting-button:hover {
  background: #294537;
}
.meeting-button span {
  font-size: 16px;
  color: #efcf7e;
}
.meeting-button.gathering {
  background: #e1c580;
  color: #263b2f;
}
.world-hint {
  bottom: 5px;
  font-size: 8px;
  letter-spacing: .04em;
  color: #f5efd4b0;
  text-shadow: 0 2px 7px #000;
}
.detail-panel,.directory-panel,.floor-dashboard {
  top: 128px;
  right: 26px;
  width: 318px;
  max-height: calc(100% - 250px);
  border-radius: 12px 12px 4px 12px;
  background: linear-gradient(150deg,#142823f5,#0d1c1af5);
  border-color: #d8bd795e;
  box-shadow: 0 18px 52px #030a09a8,inset 0 1px #ffffff12;
}
.detail-panel {
  border-top: 2px solid #d9bb70;
}
.character-detail img {
  filter: drop-shadow(0 8px 12px #0007);
}
.character-detail h2 {
  font-size: 20px;
}
.selected-status {
  background: #ffffff08;
  border-color: #e5d39b24;
  border-radius: 8px;
}
.companion-actions button {
  min-height: 34px;
  border-color: #d5c59b47;
  border-radius: 8px;
  background: #ffffff09;
}
.companion-actions button:hover,.quick-questions button:hover {
  background: #d5bd7a22;
}
.chat-form {
  border-radius: 10px;
  background: #09171380;
}
.talk-to-john {
  margin-top: 8px;
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #d8c59660;
  border-radius: 9px;
  background: #ddc68a;
  color: #263d32;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}
.public-chat-notice {
  color: #e5d6a8;
  font-size: 11px;
  line-height: 1.5;
  margin: 5px 0 8px;
}
.chat-heading-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.household-account {
  flex: none;
  align-self: center;
  border: 1px solid #dfc98766;
  border-radius: 8px;
  padding: 7px 12px;
  background: #d8c185;
  color: #243b30;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}
.household-account[hidden] {
  display: none;
}
.household-auth {
  position: fixed;
  inset: 0;
  margin: auto;
  width: min(420px,calc(100vw - 32px));
  max-width: none;
  max-height: min(690px,calc(100dvh - 32px));
  overflow: auto;
  padding: 0;
  border: 1px solid #d7c18d78;
  border-radius: 20px;
  background: #142820;
  color: #f8ecd1;
  box-shadow: 0 24px 80px #0009;
  z-index: 1000;
}
.household-auth:not([open]) {
  display: none;
}
.household-auth::backdrop {
  background: rgba(5,13,10,.76);
  backdrop-filter: blur(5px);
}
.household-auth-form {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 32px 27px;
}
.household-auth-close {
  position: absolute;
  right: 17px;
  top: 13px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: #ffffff0d;
  color: #e7deca;
  font-size: 25px;
  line-height: 1;
  cursor: pointer;
}
.household-auth-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid #d9c18470;
  border-radius: 12px;
  background: #ddc78b19;
  color: #e7d093;
  font-size: 22px;
}
.household-auth-eyebrow {
  margin-top: 18px;
  color: #d4bd7f;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
}
.household-auth-form h2 {
  margin: 7px 0 8px;
  color: #fff2d2;
  font-size: 26px;
  line-height: 1.25;
}
.household-auth-description {
  margin: 0 0 22px;
  color: #bdcbbd;
  font-size: 13px;
  line-height: 1.7;
}
.household-auth-form label {
  margin: 0 0 7px;
  color: #eadfc6;
  font-size: 12px;
  font-weight: 700;
}
.household-auth-form input {
  width: 100%;
  min-height: 46px;
  margin: 0 0 15px;
  padding: 10px 12px;
  box-sizing: border-box;
  border: 1px solid #9fae9666;
  border-radius: 9px;
  background: #0b1b16;
  color: #fff5df;
  font-size: 16px;
  outline: none;
}
.household-auth-form input:focus {
  border-color: #e4c982;
  box-shadow: 0 0 0 3px #d6bc782c;
}
.household-auth-form input::placeholder {
  color: #89988c;
}
.household-auth-error {
  min-height: 0;
  margin: 0;
  color: #ffc4a8;
  font-size: 12px;
  line-height: 1.5;
}
.household-auth-error:not(:empty) {
  margin: 0 0 12px;
}
.household-auth-primary,.household-auth-google {
  min-height: 46px;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.household-auth-primary {
  border: 0;
  background: #e4cc8e;
  color: #20362b;
}
.household-auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 17px 0;
  color: #96a699;
  font-size: 11px;
}
.household-auth-divider::before,.household-auth-divider::after {
  content: '';
  height: 1px;
  flex: 1;
  background: #b3c2ae33;
}
.household-auth-google {
  border: 1px solid #b6c4b647;
  background: #ffffff0a;
  color: #eff1e5;
}
.household-auth-google span {
  display: inline-block;
  margin-right: 8px;
  color: #e8d39c;
  font-size: 16px;
}
.household-auth-signup {
  margin: 18px 0 0;
  text-align: center;
  color: #aebcad;
  font-size: 12px;
}
.household-auth-signup button {
  border: 0;
  background: none;
  color: #ecd59b;
  font-weight: 700;
  text-decoration: underline;
  cursor: pointer;
}
@media (max-width:600px) {
  .household-auth-form {
    padding: 26px 22px 23px;
  }
  .household-auth-form h2 {
    font-size: 23px;
  }
  .household-auth-description {
    font-size: 12px;
  }
  .household-auth {
    max-height: calc(100dvh - 24px);
  }
}
.map-side .system-feed {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.chat-form input {
  font-size: 11px;
}
.chat-form button {
  border-radius: 8px;
}
.room-list button,.people-list button {
  border-radius: 7px;
  background: #ffffff08;
}
.scene-toast {
  top: 82px;
  border-radius: 10px;
  background: #132822f2;
  border-color: #efce8480;
  box-shadow: 0 9px 32px #0006;
  font-size: 11px;
}
.scene-tooltip {
  border-radius: 8px;
  background: #132822f5;
  box-shadow: 0 8px 24px #0005;
}
.scene-loading {
  background: radial-gradient(ellipse at 50% 42%,#344b3b,#10201d 76%);
}
.loading-track {
  height: 4px;
  border-radius: 3px;
}
@media (max-width:950px) {
  .site-header {
    height: 56px;
    padding: 0 16px;
  }
  .world-topline {
    top: 68px;
    left: 14px;
    right: 14px;
  }
  .quest-card {
    left: 14px;
    bottom: 98px;
    width: 260px;
  }
  .quest-card.collapsed {
    left: 14px;
    bottom: 98px;
  }
  .detail-panel,.directory-panel,.floor-dashboard {
    right: 14px;
    top: 116px;
    max-height: calc(100% - 224px);
  }
}
@media (max-width:600px) {
  .site-header {
    height: 50px;
    padding: 0 12px;
  }
  .brand {
    gap: 7px;
  }
  .brand-emblem {
    font-size: 23px;
  }
  .brand h1 {
    font-size: 15px;
  }
  .brand>div>span {
    font-size: 6px;
  }
  .header-pill {
    padding: 6px 9px;
    font-size: 8px;
  }
  .world-topline {
    top: 60px;
    left: 9px;
    right: 9px;
  }
  .world-weather {
    gap: 7px;
    padding: 6px 9px;
    border-radius: 9px;
  }
  .world-weather>span {
    font-size: 18px;
  }
  .world-weather strong {
    font-size: 9px;
  }
  .world-weather small {
    font-size: 7px;
  }
  .world-utilities {
    gap: 4px;
  }
  .icon-button {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    font-size: 16px;
  }
  .quest-card {
    left: 9px;
    bottom: 86px;
    width: min(230px,calc(100% - 18px));
    padding: 10px 12px 9px;
    border-radius: 10px 10px 10px 3px;
  }
  .quest-card.collapsed {
    left: 9px;
    bottom: 86px;
    width: 205px;
  }
  .quest-body h2 {
    font-size: 15px;
    margin: 7px 0 4px;
  }
  .quest-body p {
    font-size: 9px;
    line-height: 1.55;
    margin-bottom: 8px;
  }
  .quest-stamps {
    gap: 4px;
    margin-bottom: 8px;
  }
  .quest-stamps span {
    padding: 4px 0;
    font-size: 8px;
  }
  .gold-button {
    min-height: 32px;
    padding: 7px 9px;
    font-size: 9px;
  }
  .quest-body>small {
    font-size: 7px;
    margin-top: 6px;
  }
  .scene-bottom {
    bottom: 20px;
    gap: 3px;
    padding: 4px;
    border-radius: 12px;
    max-width: calc(100% - 12px);
  }
  .camera-controls {
    gap: 0;
  }
  .camera-controls button {
    min-height: 31px;
    padding: 7px 7px;
    font-size: 8px;
  }
  .control-divider {
    height: 16px;
    margin: 0 1px;
  }
  .meeting-button {
    min-height: 33px;
    padding: 0 8px;
    gap: 4px;
    font-size: 8px;
    border-radius: 8px;
  }
  .meeting-button span {
    font-size: 13px;
  }
  .world-hint {
    bottom: 3px;
    font-size: 7px;
  }
  .detail-panel,.directory-panel,.floor-dashboard {
    top: 104px;
    right: 9px;
    width: min(290px,calc(100% - 18px));
    max-height: calc(100% - 196px);
    padding: 18px 14px 14px;
  }
  .scene-toast {
    top: 61px;
    font-size: 9px;
    padding: 9px 12px;
  }
}
.story-intro {
  position: fixed;
  inset: 0;
  z-index: 100;
  overflow: hidden;
  background: #171c18;
  color: #fff5dd;
  isolation: isolate;
}
.story-art,.story-shade {
  position: absolute;
  inset: 0;
}
.story-art {
  background-image: url('/assets/story/mark-upper-prologue.png');
  background-size: cover;
  background-position: center 55%;
  transform: scale(1.015);
  transition: background-position 1.15s ease,background-size 1.15s ease,transform 1.2s ease;
}
.story-shade {
  background: linear-gradient(180deg,#111b1ac9 0%,#111b1a30 24%,#10151200 48%,#0b100dd9 100%),linear-gradient(90deg,#11151230 0%,transparent 68%);
  pointer-events: none;
}
.story-topline {
  position: absolute;
  z-index: 1;
  top: max(22px,env(safe-area-inset-top));
  left: max(28px,env(safe-area-inset-left));
  right: max(28px,env(safe-area-inset-right));
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #f4e6c5;
  text-shadow: 0 2px 18px #000;
  font-size: 12px;
  letter-spacing: .06em;
}
.story-topline span:first-child {
  font-size: 15px;
  font-weight: 650;
  letter-spacing: .02em;
}
.story-dialogue {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: max(34px,env(safe-area-inset-bottom));
  transform: translateX(-50%);
  width: min(760px,calc(100% - 48px));
  padding: 24px 30px 20px;
  background: linear-gradient(145deg,#14251feF,#111c19ed);
  border: 1px solid #e8d19b66;
  border-radius: 18px 18px 18px 5px;
  box-shadow: 0 18px 60px #0008,inset 0 1px #ffffff14;
  backdrop-filter: blur(16px);
}
.story-speaker {
  display: inline-flex;
  align-items: center;
  min-height: 23px;
  padding: 3px 10px;
  border-radius: 30px;
  background: #d9bd7c;
  color: #26392e;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
}
.story-dialogue h2 {
  margin: 10px 0 6px;
  color: #fff0cc;
  font-size: clamp(21px,3vw,30px);
  font-weight: 550;
  letter-spacing: -.04em;
}
.story-dialogue p {
  max-width: 680px;
  margin: 0;
  color: #e0e2d5;
  font-size: clamp(14px,1.8vw,17px);
  line-height: 1.8;
}
.story-actions {
  margin-top: 17px;
}
.story-primary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-width: min(280px,100%);
  min-height: 48px;
  padding: 0 17px;
  border: 1px solid #ffe7ad;
  border-radius: 9px;
  background: linear-gradient(110deg,#efd79e,#d5b469);
  box-shadow: 0 6px 18px #c9a65430;
  color: #26372c;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}
.story-primary span {
  font-size: 19px;
}
.story-primary:focus-visible,.story-name-form input:focus-visible {
  outline: 3px solid #fff1c7;
  outline-offset: 3px;
}
.story-name-form label {
  display: block;
  margin: 0 0 8px;
  color: #e9dfc2;
  font-size: 12px;
}
.story-name-form>div {
  display: flex;
  gap: 9px;
}
.story-name-form input {
  flex: 1;
  min-width: 0;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid #dfd1a847;
  border-radius: 9px;
  background: #081712a8;
  color: #fff4d9;
  font-size: 15px;
}
.story-name-form input::placeholder {
  color: #d3d0be80;
}
.story-name-form small {
  display: block;
  min-height: 16px;
  margin-top: 5px;
  color: #ffd2b2;
  font-size: 11px;
}
.story-progress {
  display: flex;
  gap: 6px;
  margin-top: 15px;
}
.story-progress i {
  display: block;
  width: 22px;
  height: 3px;
  border-radius: 3px;
  background: #fff2d433;
  transition: width .3s,background .3s;
}
.story-progress i.current {
  width: 38px;
  background: #e6c77c;
}
.story-intro[data-scene="entry"] .story-art {
  background-position: 56% 100%;
  transform: scale(1.08);
}
.story-intro[data-scene="stairs"] .story-art {
  background-position: 73% 20%;
  transform: scale(1.16);
}
.story-intro[data-scene="upper"] .story-art {
  background-position: 81% 11%;
  transform: scale(1.2);
}
.story-intro[data-scene="footwashing"] .story-art {
  background-image: url('/assets/story/upper-room-footwashing.png');
  background-position: 58% center;
  transform: scale(1.03);
}
.story-intro.is-leaving {
  opacity: 0;
  visibility: hidden;
  transition: opacity .7s ease,visibility .7s;
}
.story-intro {
  transition: opacity .7s ease,visibility .7s;
}
@media (max-width:700px) {
  .story-art {
    background-size: auto 100%;
    background-position: 27% center;
  }
  .story-shade {
    background: linear-gradient(180deg,#10191785 0%,transparent 22%,#0d130f0a 40%,#0b100deb 100%),linear-gradient(90deg,#11151220,transparent);
  }
  .story-topline {
    top: max(16px,env(safe-area-inset-top));
    left: max(16px,env(safe-area-inset-left));
    right: max(16px,env(safe-area-inset-right));
    font-size: 10px;
  }
  .story-topline span:first-child {
    font-size: 13px;
  }
  .story-dialogue {
    bottom: max(12px,env(safe-area-inset-bottom));
    width: calc(100% - 22px);
    max-height: min(46dvh,390px);
    overflow: auto;
    padding: 15px 16px 13px;
    border-radius: 13px 13px 13px 4px;
  }
  .story-dialogue h2 {
    font-size: 21px;
    margin: 7px 0 4px;
  }
  .story-dialogue p {
    font-size: 13px;
    line-height: 1.65;
  }
  .story-actions {
    margin-top: 12px;
  }
  .story-primary {
    width: 100%;
    min-height: 46px;
    font-size: 13px;
  }
  .story-name-form>div {
    flex-direction: column;
  }
  .story-name-form input {
    min-height: 45px;
    font-size: 16px;
  }
  .story-progress {
    margin-top: 10px;
  }
  .story-intro[data-scene="entry"] .story-art {
    background-position: 76% center;
    transform: scale(1.12);
  }
  .story-intro[data-scene="stairs"] .story-art,.story-intro[data-scene="upper"] .story-art {
    background-position: 91% center;
    transform: scale(1.2);
  }
  .story-intro[data-scene="footwashing"] .story-art {
    background-size: auto 100%;
    background-position: 57% center;
    transform: scale(1.04);
  }
}
@media (prefers-reduced-motion:reduce) {
  .story-art,.story-intro {
    transition: none !important;
  }
}
.world-shell {
  height: calc(100dvh - 64px);
  min-height: 540px;
  width: 100%;
}
.world-stage {
  display: grid;
  grid-template-columns: minmax(230px,1fr) min(72dvh,calc(100vw - 600px)) minmax(230px,1fr);
  grid-template-rows: minmax(0,1fr);
  gap: 14px;
  padding: 14px;
  isolation: isolate;
}
.map-center {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  justify-self: center;
  width: min(100%,72dvh);
  height: min(100%,72dvh);
  aspect-ratio: 1;
  position: relative;
  overflow: hidden;
  z-index: 2;
  border: 1px solid #dbc68d66;
  border-radius: 16px;
  background: #10201be8;
  box-shadow: 0 18px 64px #030a09a6,inset 0 1px #ffffff1b;
}
#room-canvas-mount {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.map-side {
  position: relative;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
  min-height: 0;
  padding: 12px 4px;
  overflow: auto;
  overscroll-behavior: contain;
  z-index: 4;
}
.map-side-left {
  grid-column: 1;
}
.map-side-right {
  grid-column: 3;
}
.map-side .floor-dashboard,.map-side .detail-panel,.map-side .directory-panel {
  position: relative;
  inset: auto;
  right: auto;
  top: auto;
  width: 100%;
  max-width: none;
  max-height: none;
  flex: 1;
  min-height: 0;
  margin: 0;
  padding: 22px;
  border: 1px solid #d8bd795e;
  border-radius: 14px;
  background: linear-gradient(150deg,#142823f5,#0d1c1af5);
  box-shadow: 0 14px 38px #030a0988;
  backdrop-filter: blur(18px);
  overflow: auto;
}
.map-side .floor-dashboard {
  display: flex;
  flex-direction: column;
}
.map-side .detail-panel.detail-hidden {
  display: none;
  opacity: 0;
  pointer-events: none;
  transform: translateX(12px);
}
.map-side .directory-panel.hidden {
  display: none;
}
.map-side .panel-close {
  position: absolute;
  right: 10px;
  top: 8px;
  z-index: 3;
}
.map-side .floor-dashboard h2 {
  font-size: clamp(18px,1.5vw,28px);
  margin: 12px 0 18px;
  color: #f6e5bd;
}
.map-side .chat-heading {
  padding-top: 6px;
  border-top: 1px solid #d8c59630;
  font-size: 18px;
}
.map-side .chat-heading small {
  font-size: 13px;
}
.map-side .chat-messages {
  flex: 1;
  max-height: none;
  min-height: 80px;
  font-size: 13px;
}
.map-center .world-topline {
  top: 10px;
  left: 10px;
  right: 10px;
  gap: 7px;
  align-items: flex-start;
}
.map-center .world-weather {
  max-width: 47%;
  padding: 7px 9px;
}
.map-center .world-utilities {
  gap: 4px;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.map-center .icon-button {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  font-size: 16px;
}
.map-center .scene-bottom {
  bottom: 23px;
  max-width: calc(100% - 14px);
  gap: 4px;
  flex-wrap: wrap;
  justify-content: center;
}
.map-center .camera-controls {
  max-width: 100%;
  flex-wrap: wrap;
  justify-content: center;
}
.map-center .camera-controls button {
  padding: 7px 9px;
  font-size: 9px;
}
.map-center .meeting-button {
  min-height: 32px;
  padding: 0 9px;
  font-size: 9px;
}
.map-center .world-hint {
  max-width: calc(100% - 18px);
  white-space: normal;
  text-align: center;
  font-size: 8px;
}
@media (max-width:1000px) and (orientation:landscape) {
  .world-stage {
    grid-template-columns: minmax(180px,1fr) min(68dvh,calc(100vw - 470px)) minmax(180px,1fr);
    gap: 8px;
    padding: 8px;
  }
  .map-center {
    width: min(100%,68dvh);
    height: min(100%,68dvh);
  }
  .map-side .floor-dashboard,.map-side .detail-panel,.map-side .directory-panel {
    padding: 14px;
  }
}
@media (max-width:700px) {
  .world-shell {
    height: calc(100dvh - 54px);
    min-height: 0;
  }
  .world-stage {
    grid-template-columns: minmax(0,1fr);
    grid-template-rows: minmax(94px,1fr) min(calc(100vw - 18px),calc(100dvh - 290px)) minmax(92px,1fr);
    gap: 5px;
    padding: 6px 9px;
  }
  .map-side {
    grid-column: 1;
    padding: 3px 1px;
    gap: 5px;
    overflow: auto;
  }
  .map-side-right {
    grid-row: 1;
  }
  .map-side-left {
    grid-row: 3;
  }
  .map-center {
    grid-column: 1;
    grid-row: 2;
    width: min(100%,calc(100vw - 18px),calc(100dvh - 290px));
    height: min(100%,calc(100vw - 18px),calc(100dvh - 290px));
    max-width: calc(100vw - 18px);
    max-height: calc(100dvh - 290px);
    border-radius: 11px;
  }
  .map-side .floor-dashboard,.map-side .detail-panel,.map-side .directory-panel {
    padding: 9px 12px;
    border-radius: 9px;
  }
  .map-side .floor-dashboard h2 {
    font-size: 16px;
    margin: 4px 0 6px;
  }
  .map-side .floor-dashboard .overline {
    font-size: 7px;
  }
  .map-side .floor-dashboard p,.map-side .floor-dashboard h3 {
    font-size: 9px;
    margin: 3px 0;
  }
  .map-side .module-list,.map-side .system-feed {
    gap: 2px;
    font-size: 8px;
  }
  .map-side .module-row,.map-side .feed-row {
    padding: 2px 0;
    line-height: 1.3;
  }
  .map-side .chat-heading {
    padding: 0;
    margin: 0 0 3px;
    font-size: 12px;
  }
  .map-side .chat-heading small {
    font-size: 9px;
  }
  .map-side .character-detail img {
    width: 38px;
    height: 40px;
  }
  .map-side .character-detail h2 {
    font-size: 12px;
    margin: 1px 0;
  }
  .map-side .character-detail p,.map-side .selected-status,.map-side .companion-actions,.map-side .quick-questions {
    display: none;
  }
  .map-side .chat-messages {
    min-height: 20px;
    max-height: 45px;
    flex: none;
    gap: 3px;
    padding-bottom: 2px;
    font-size: 9px;
  }
  .map-side .chat-line {
    padding: 4px 7px;
  }
  .map-side .chat-form {
    padding: 1px;
    gap: 2px;
  }
  .map-side .chat-form input {
    padding: 5px;
    font-size: 12px;
  }
  .map-side .chat-form button {
    padding: 0 8px;
    font-size: 14px;
  }
  .map-center .world-topline {
    top: 5px;
    left: 5px;
    right: 5px;
    gap: 3px;
  }
  .map-center .world-weather {
    max-width: 43%;
    gap: 4px;
    padding: 4px 5px;
  }
  .map-center .world-weather>span {
    font-size: 14px;
  }
  .map-center .world-weather strong {
    font-size: 7px;
  }
  .map-center .world-weather small {
    font-size: 6px;
  }
  .map-center .world-utilities {
    gap: 2px;
  }
  .map-center .icon-button {
    width: 25px;
    height: 25px;
    border-radius: 6px;
    font-size: 12px;
  }
  .map-center .scene-bottom {
    bottom: 15px;
    gap: 2px;
  }
  .map-center .camera-controls {
    gap: 0;
    padding: 2px;
  }
  .map-center .camera-controls button {
    padding: 5px 5px;
    font-size: 7px;
  }
  .map-center .meeting-button {
    min-height: 26px;
    padding: 0 6px;
    font-size: 7px;
  }
  .map-center .world-hint {
    font-size: 6px;
    bottom: 2px;
  }
  .story-intro[data-scene="entry"] .story-art {
    background-size: auto 110%;
    background-position: 32% 10%;
    transform: none;
  }
  .story-intro[data-scene="footwashing"] .story-art {
    background-color: #1a120c;
    background-size: auto 80%;
    background-position: 64% 0%;
    background-repeat: no-repeat;
    transform: none;
  }
}
.story-intro[data-scene="upper"] .story-art {
  background-size: max(100%, 288dvh) auto;
  background-position: 100% 0%;
  transform: none;
}
@media (max-width:700px) {
  .story-intro[data-scene="upper"] .story-art {
    background-size: auto 110%;
    background-position: 84% 0%;
    transform: none;
  }
}
.world-shell {
  height: 100dvh;
  min-height: 0;
  width: 100%;
}
.world-stage {
  height: 100%;
  width: 100%;
  grid-template-columns: minmax(0,1fr) min(100dvh,calc(100vw - 500px)) minmax(0,1fr);
  grid-template-rows: minmax(0,1fr);
  gap: 0;
  padding: 0;
}
.map-center {
  grid-column: 2;
  grid-row: 1;
  align-self: stretch;
  justify-self: stretch;
  width: 100%;
  height: 100%;
  max-width: 100dvh;
  max-height: 100dvh;
  aspect-ratio: 1;
  border-radius: 0;
  border-width: 0;
}
.map-side {
  padding: 14px;
}
.map-note {
  flex: none;
  padding: 16px 17px;
  border: 1px solid #dfc17a55;
  border-radius: 13px;
  background: linear-gradient(145deg,#142823f2,#0d1c1af2);
  box-shadow: 0 12px 32px #030a0980;
}
.map-note h2 {
  margin: 8px 0 5px;
  color: #fff0d0;
  font-size: 17px;
  letter-spacing: -.045em;
}
.map-note p {
  margin: 0;
  color: #c9d1bf;
  font-size: 11px;
  line-height: 1.65;
}
@media (max-width:1000px) and (orientation:landscape) {
  .world-stage {
    grid-template-columns: minmax(0,1fr) min(100dvh,calc(100vw - 420px)) minmax(0,1fr);
    gap: 0;
    padding: 0;
  }
  .map-center {
    width: 100%;
    height: 100%;
    max-width: 100dvh;
    max-height: 100dvh;
  }
  .map-side {
    padding: 8px;
  }
}
@media (max-width:700px) {
  .world-shell {
    height: 100dvh;
  }
  .world-stage {
    grid-template-columns: minmax(0,1fr);
    grid-template-rows: minmax(92px,1fr) min(calc(100vw),calc(100dvh - 184px)) minmax(92px,1fr);
    gap: 0;
    padding: 0;
  }
  .map-side {
    grid-column: 1;
    min-height: 0;
    padding: 5px 8px;
    overflow: auto;
  }
  .map-side-right {
    grid-row: 1;
  }
  .map-side-left {
    grid-row: 3;
  }
  .map-center {
    grid-column: 1;
    grid-row: 2;
    align-self: center;
    justify-self: center;
    width: min(100vw,calc(100dvh - 184px));
    height: min(100vw,calc(100dvh - 184px));
    max-width: 100vw;
    max-height: calc(100dvh - 184px);
    border-radius: 0;
  }
  .map-side .floor-dashboard,.map-side .detail-panel,.map-side .directory-panel {
    padding: 7px 10px;
    border-radius: 8px;
  }
  .map-side .character-detail img {
    width: 30px;
    height: 32px;
  }
  .map-side .chat-messages {
    max-height: 34px;
  }
  .map-note {
    display: none;
  }
}
.intro-sound-toggle {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid #ead7a375;
  border-radius: 10px;
  background: #12241ddd;
  color: #f5dfad;
  font-size: 20px;
  cursor: pointer;
}
.intro-sound-toggle[aria-pressed="true"] {
  background: #b28b49;
  color: #fff9e9;
}
.satan-actions {
  margin: 10px 0 14px;
  padding: 10px;
  border: 1px solid #c8a8d056;
  border-radius: 9px;
  background: #9c75aa18;
}
.satan-actions-heading {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
  color: #f1dcf1;
  font-size: 12px;
}
.satan-actions-heading small {
  color: #d5c6d4;
  font-size: 10px;
  text-align: right;
}
.satan-action-buttons {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 6px;
}
.satan-action-buttons button {
  min-height: 34px;
  border: 1px solid #cdb1d267;
  border-radius: 7px;
  background: #281b32a8;
  color: #f4e3f4;
  font-size: 12px;
  cursor: pointer;
}
.satan-action-buttons button:disabled {
  opacity: .5;
  cursor: wait;
}
@media (max-width:700px) {
  .intro-sound-toggle {
    width: 32px;
    height: 32px;
    font-size: 17px;
  }
  .satan-actions {
    margin: 5px 0;
    padding: 6px;
  }
  .satan-actions-heading {
    margin-bottom: 4px;
    font-size: 10px;
  }
  .satan-actions-heading small {
    font-size: 8px;
  }
  .satan-action-buttons {
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 3px;
  }
  .satan-action-buttons button {
    min-height: 28px;
    font-size: 10px;
  }
}
.map-side .detail-panel.is-household:not(.detail-hidden) {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.is-household .chat-heading,.is-household .public-chat-notice,.is-household .character-detail,.is-household .selected-status,.is-household .companion-actions {
  flex: none;
}
.map-side .is-household .chat-messages {
  flex: 1 1 0;
  min-height: 0;
  max-height: none;
  overflow-y: auto;
  overscroll-behavior: contain;
  margin: 5px 0 0;
  padding: 14px 12px;
  border: 1px solid #ddc8a6;
  border-bottom: 0;
  border-radius: 12px 12px 0 0;
  background: #fff7e9;
  color: #27231e;
  scrollbar-color: #c0a780 #f9f0df;
}
.is-household .chat-line {
  max-width: 100%;
  background: #fffdf8;
  border: 1px solid #e5d6c0;
  color: #211d18;
  box-shadow: 0 2px 6px #6c4a2510;
  font-size: 13px;
  line-height: 1.65;
}
.is-household .chat-line.user {
  align-self: flex-end;
  background: #f0dfbf;
  border-color: #e0c9a2;
  color: #211d18;
}
.is-household .chat-line.waiting {
  background: #f7ead3;
  border-style: dashed;
  color: #5e513c;
}
.is-household .chat-form {
  flex: none;
  margin: 0;
  padding: 7px;
  border: 1px solid #ddc8a6;
  border-top: 1px solid #eadbc5;
  border-radius: 0 0 12px 12px;
  background: #fff7e9;
}
.is-household .chat-form input {
  color: #211d18;
  font-size: 14px;
}
.is-household .chat-form input::placeholder {
  color: #847868;
}
.is-household .chat-form button {
  min-height: 38px;
  background: #b88743;
  color: #fffdf6;
}
.household-account-note {
  margin: -8px 0 18px;
  padding: 10px 12px;
  border: 1px solid #dfc98a42;
  border-radius: 9px;
  background: #e5ce8b12;
  color: #e2d5b3;
  font-size: 12px;
  line-height: 1.6;
}
.household-auth-form label.household-account-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: -8px 0 18px;
  padding: 10px 12px;
  border: 1px solid #dfc98a42;
  border-radius: 9px;
  background: #e5ce8b12;
  color: #e2d5b3;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
  cursor: pointer;
}
.household-auth-form .household-account-consent input[type="checkbox"] {
  flex: none;
  width: 17px;
  height: 17px;
  min-height: 0;
  margin: 2px 0 0;
  padding: 0;
  accent-color: #dfc787;
  cursor: pointer;
}
.household-account-consent strong {
  color: #ecd59b;
  font-size: 11px;
  white-space: nowrap;
}
#household-shared {
  margin-top: 8px;
}
@media (max-width:700px) {
  .map-side .detail-panel.is-household {
    padding: 7px 10px;
  }
  .map-side .is-household .chat-messages {
    flex: 1 1 0;
    min-height: 18px;
    max-height: none;
    margin: 2px 0 0;
    padding: 4px 6px;
  }
  .map-side .is-household .chat-line {
    font-size: 10px;
    padding: 3px 6px;
  }
  .is-household .chat-form {
    padding: 2px 4px;
  }
  .is-household .chat-form button {
    min-height: 27px;
  }
  .is-household .chat-form input {
    font-size: 12px;
  }
  .world-stage.mobile-chat-expanded,.world-stage:has(.detail-panel.is-household:not(.detail-hidden)) {
    grid-template-rows: minmax(210px,1fr) min(100vw,calc(100dvh - 210px));
  }
  .mobile-chat-expanded .map-side-left,.world-stage:has(.detail-panel.is-household:not(.detail-hidden)) .map-side-left {
    display: none;
  }
  .mobile-chat-expanded .map-center,.world-stage:has(.detail-panel.is-household:not(.detail-hidden)) .map-center {
    grid-row: 2;
    width: min(100vw,calc(100dvh - 210px));
    height: min(100vw,calc(100dvh - 210px));
    max-height: calc(100dvh - 210px);
  }
  .mobile-chat-expanded .map-side-right,.world-stage:has(.detail-panel.is-household:not(.detail-hidden)) .map-side-right {
    grid-row: 1;
    overflow: hidden;
  }
  .mobile-chat-expanded .map-side .detail-panel.is-household,.world-stage:has(.detail-panel.is-household:not(.detail-hidden)) .map-side .detail-panel.is-household {
    height: 100%;
    min-height: 0;
  }
  .mobile-chat-expanded .map-side .is-household .chat-messages,.world-stage:has(.detail-panel.is-household:not(.detail-hidden)) .map-side .is-household .chat-messages {
    font-size: 12px;
    padding: 8px;
    min-height: 0;
  }
  .mobile-chat-expanded .map-side .is-household .chat-line,.world-stage:has(.detail-panel.is-household:not(.detail-hidden)) .map-side .is-household .chat-line {
    font-size: 12px;
    padding: 7px 9px;
  }
}
.map-side .service-panel {
  flex: 1;
  width: 100%;
  min-width: 0;
  min-height: 0;
  box-sizing: border-box;
  overflow: auto;
  padding: 26px 22px;
  border: 1px solid #d8bd795e;
  border-radius: 14px;
  background: linear-gradient(150deg,#142823f5,#0d1c1af5);
  box-shadow: 0 14px 38px #030a0988;
}
.service-eyebrow {
  color: #d4bd7f;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
}
.service-panel h2 {
  margin: 9px 0 7px;
  color: #fff0d0;
  font-size: 22px;
}
.service-lead {
  margin: 0 0 20px;
  color: #bac9b9;
  font-size: 12px;
  line-height: 1.6;
}
.service-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-links a,.service-pending {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 12px 13px;
  border: 1px solid #e1c88635;
  border-radius: 10px;
  background: #ffffff08;
  text-decoration: none;
}
.service-links a:hover {
  background: #e5d3a11a;
  border-color: #e0c98a88;
}
.service-links span {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.service-links strong {
  color: #f6e8c7;
  font-size: 14px;
}
.service-links small {
  color: #bdcbb8;
  font-size: 11px;
}
.service-links em {
  color: #d2bc83;
  font-size: 10px;
  font-style: normal;
  overflow-wrap: anywhere;
}
.service-links b {
  color: #dfc687;
  font-size: 16px;
  font-weight: 400;
}
.service-pending {
  opacity: .72;
}
.service-pending b {
  font-size: 10px;
  white-space: nowrap;
}
@media (max-width:700px) {
  .map-side .service-panel {
    padding: 10px 12px;
    border-radius: 8px;
  }
  .service-panel h2 {
    margin: 3px 0;
    font-size: 15px;
  }
  .service-lead {
    margin: 0 0 8px;
    font-size: 10px;
  }
  .service-links {
    display: grid;
    grid-template-columns: repeat(2,minmax(0,1fr));
    gap: 5px;
  }
  .service-links a,.service-pending {
    padding: 7px;
  }
  .service-links strong {
    font-size: 11px;
  }
  .service-links small,.service-links em {
    font-size: 9px;
  }
  .map-side .detail-panel:not(.is-household):not(.detail-hidden) {
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }
  .map-side .detail-panel:not(.is-household) .character-detail,.map-side .detail-panel:not(.is-household) .chat-heading small {
    display: none;
  }
  .map-side .detail-panel:not(.is-household) .chat-heading {
    flex: none;
  }
  .map-side .detail-panel:not(.is-household) .chat-messages {
    flex: 0 0 auto;
    min-height: 0;
    max-height: 22px;
    overflow: hidden;
    padding: 0;
    margin: 0 0 3px;
  }
  .map-side .detail-panel:not(.is-household) .chat-line {
    display: block;
    max-width: 100%;
    padding: 2px 5px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  .map-side .detail-panel:not(.is-household) .talk-to-john {
    flex: none;
    margin: 2px 0 0;
    min-height: 28px;
    padding: 5px 8px;
  }
}
@property --tw-rotate-x {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-y {
  syntax: "*";
  inherits: false;
}
@property --tw-rotate-z {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-x {
  syntax: "*";
  inherits: false;
}
@property --tw-skew-y {
  syntax: "*";
  inherits: false;
}
@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@property --tw-font-weight {
  syntax: "*";
  inherits: false;
}
@property --tw-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-inset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-inset-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-inset-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-ring-color {
  syntax: "*";
  inherits: false;
}
@property --tw-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-inset-ring-color {
  syntax: "*";
  inherits: false;
}
@property --tw-inset-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-ring-inset {
  syntax: "*";
  inherits: false;
}
@property --tw-ring-offset-width {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}
@property --tw-ring-offset-color {
  syntax: "*";
  inherits: false;
  initial-value: #fff;
}
@property --tw-ring-offset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-blur {
  syntax: "*";
  inherits: false;
}
@property --tw-brightness {
  syntax: "*";
  inherits: false;
}
@property --tw-contrast {
  syntax: "*";
  inherits: false;
}
@property --tw-grayscale {
  syntax: "*";
  inherits: false;
}
@property --tw-hue-rotate {
  syntax: "*";
  inherits: false;
}
@property --tw-invert {
  syntax: "*";
  inherits: false;
}
@property --tw-opacity {
  syntax: "*";
  inherits: false;
}
@property --tw-saturate {
  syntax: "*";
  inherits: false;
}
@property --tw-sepia {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-drop-shadow-size {
  syntax: "*";
  inherits: false;
}
@layer properties {
  @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
    *, ::before, ::after, ::backdrop {
      --tw-rotate-x: initial;
      --tw-rotate-y: initial;
      --tw-rotate-z: initial;
      --tw-skew-x: initial;
      --tw-skew-y: initial;
      --tw-border-style: solid;
      --tw-font-weight: initial;
      --tw-shadow: 0 0 #0000;
      --tw-shadow-color: initial;
      --tw-shadow-alpha: 100%;
      --tw-inset-shadow: 0 0 #0000;
      --tw-inset-shadow-color: initial;
      --tw-inset-shadow-alpha: 100%;
      --tw-ring-color: initial;
      --tw-ring-shadow: 0 0 #0000;
      --tw-inset-ring-color: initial;
      --tw-inset-ring-shadow: 0 0 #0000;
      --tw-ring-inset: initial;
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-color: #fff;
      --tw-ring-offset-shadow: 0 0 #0000;
      --tw-blur: initial;
      --tw-brightness: initial;
      --tw-contrast: initial;
      --tw-grayscale: initial;
      --tw-hue-rotate: initial;
      --tw-invert: initial;
      --tw-opacity: initial;
      --tw-saturate: initial;
      --tw-sepia: initial;
      --tw-drop-shadow: initial;
      --tw-drop-shadow-color: initial;
      --tw-drop-shadow-alpha: 100%;
      --tw-drop-shadow-size: initial;
    }
  }
}
