
body[data-world] .entry-threshold.entry-dialogue-entry,
.entry-threshold.entry-dialogue-entry {
  --ed-input-height: 44px;
  --ed-keyboard-inset: 0px;
  --ed-top-inset: 0px;
  --ed-bottom-gap: 54px;
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  background: #0b1419;
  color: #edf1e9;
  overflow: clip;
}
body[data-world] .entry-threshold.entry-dialogue-entry .entry-scene-layer,
.entry-threshold.entry-dialogue-entry .entry-scene-layer {
  position: absolute; inset: 0; z-index: 0;
  width: 100%; height: 100%; aspect-ratio: auto;
  background: #0b1419; pointer-events: none;
}
body[data-world] .entry-threshold.entry-dialogue-entry .entry-scene-layer img,
.entry-threshold.entry-dialogue-entry .entry-scene-layer img {
  position: absolute; inset: 0; display: block;
  width: 100%; height: 100%; object-fit: cover;
  object-position: 50% 50%; transform: none; filter: none;
}
body[data-world] .entry-threshold.entry-dialogue-entry .entry-scene-layer:after,
.entry-threshold.entry-dialogue-entry .entry-scene-layer:after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 54%, #08111614 68%, #08111666 100%);
  pointer-events: none;
}
.entry-dialogue-entry .ed-icon {display: block; flex: none; width: 22px; height: 22px;}
.entry-dialogue-entry button {cursor: pointer; -webkit-tap-highlight-color: transparent;}
.entry-dialogue-entry button:disabled {cursor: default;}
.entry-dialogue-entry [hidden] {display: none !important;}
.entry-dialogue-entry .ed-sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); clip-path: inset(50%);
  white-space: nowrap; border: 0;
}
.entry-dialogue-entry .ed-return {
  position: absolute; z-index: 4; top: calc(var(--ed-top-inset) + 4px); left: 18px;
  display: inline-flex; gap: 7px; align-items: center;
  min-height: 48px; margin: 0; padding: 0 8px;
  border: 0; border-radius: 12px; background: transparent; box-shadow: none;
  color: #edf2ec; font: 400 12.5px/1.4 sans-serif; letter-spacing: 0;
  text-shadow: 0 1px 6px #03090baa;
}
.entry-dialogue-entry .ed-return .ed-icon {width: 20px; height: 20px;}
.entry-dialogue-entry .ed-stack {
  position: absolute; z-index: 3; left: 24px;
  bottom: calc(max(var(--ed-bottom-gap), env(safe-area-inset-bottom, 0px) + 20px) + var(--ed-keyboard-inset));
  width: min(430px, calc(100% - 52px));
}
body[data-world] .entry-dialogue-entry .ed-opening,
.entry-dialogue-entry .ed-opening {
  margin: 0 0 10px 4px; padding: 0; border: 0;
  color: #edf1e9; font: 400 23px/31px MoonEntranceSerif, 'Noto Serif CJK SC', serif;
  letter-spacing: 0; text-shadow: 0 2px 7px #03090bbb;
}
.entry-dialogue-entry .ed-opening > span,
.entry-dialogue-entry .ed-fixed-guide > span {display: block;}
.entry-dialogue-entry #entry-question-form {margin: 0; padding: 0; background: transparent; border: 0; box-shadow: none;}
.entry-dialogue-entry .ed-glass {
  position: relative; border: 1px solid #e0e9db73;
  border-radius: 999px;
  background: linear-gradient(108deg, #ae91733e 4%, #d7cab82e 35%, #68879c48 100%);
  -webkit-backdrop-filter: blur(3px) saturate(1.12);
  backdrop-filter: blur(3px) saturate(1.12);
  box-shadow: inset 0 1px 1px #f1f2df4d, inset 0 -1px 2px #15242b57, 0 4px 8px #02090d38;
}
.entry-dialogue-entry .ed-glass:before {
  content: ''; position: absolute; inset: 2px; border-radius: inherit;
  border-top: 1px solid #f2e7ca35; border-bottom: 1px solid #c1dadd20;
  pointer-events: none;
}
.entry-dialogue-entry .ed-aid {position: relative; margin: 0 0 14px;}
.entry-dialogue-entry .ed-aid-toggle {
  display: inline-flex; align-items: center; min-height: 44px;
  margin: 0; padding: 0; border: 0; border-radius: 999px;
  background: transparent; color: #edf2ec; box-shadow: none;
}
.entry-dialogue-entry .ed-aid-pill {
  display: inline-flex; align-items: center; gap: 7px;
  box-sizing: border-box; height: 32px; padding: 0 10px;
  font: 400 14px/20px sans-serif; letter-spacing: 0;
}
.entry-dialogue-entry .ed-aid-pill .ed-icon {width: 18px; height: 18px;}
.entry-dialogue-entry .ed-aid-pill .ed-icon:last-child {width: 12px; height: 12px; margin-left: 6px;}
.entry-dialogue-entry .ed-aid-toggle[aria-expanded='true'] .ed-icon:last-child {transform: rotate(180deg);}
.entry-dialogue-entry .ed-aid-panel {
  position: absolute; z-index: 8; left: 0; bottom: calc(100% + 8px);
  box-sizing: border-box; width: 100%; max-height: min(430px, 54svh);
  overflow: auto; overscroll-behavior: contain;
  padding: 14px; border: 1px solid #d2d9c06b; border-radius: 20px;
  background: #1b292df2; color: #edf1e9;
  box-shadow: 0 10px 24px #02090d55, inset 0 1px 1px #edf1d126;
}
.entry-dialogue-entry .ed-aid-caption {margin: 0 0 8px; font: 400 12px/18px sans-serif; color: #d0d7cb;}
body[data-world] .entry-dialogue-entry .entry-preset-list.ed-aid-options,
.entry-dialogue-entry .entry-preset-list.ed-aid-options {display: grid; gap: 7px; padding: 0; margin: 0;}
body[data-world] .entry-dialogue-entry .ed-aid-options button,
.entry-dialogue-entry .ed-aid-options button {
  min-height: 48px; width: 100%; box-sizing: border-box;
  margin: 0; padding: 10px 12px; border: 1px solid #d9deca38; border-radius: 12px;
  background: #eef0d508; box-shadow: none; color: #edf1e9;
  font: 400 14px/22px sans-serif; letter-spacing: 0;
  text-align: left; white-space: normal; overflow-wrap: anywhere;
}
.entry-dialogue-entry .ed-aid-options button[aria-pressed='true'] {
  border-color: #e4dcc199; background: #d5b78c26; box-shadow: inset 3px 0 0 #e1d1ad;
}
.entry-dialogue-entry .ed-aid-actions {display: flex; gap: 10px; justify-content: space-between; margin-top: 12px;}
.entry-dialogue-entry .ed-aid-actions button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; margin: 0; padding: 0 14px;
  border: 1px solid transparent; border-radius: 999px; box-shadow: none;
  color: #edf1e9; font: 400 14px/20px sans-serif;
}
.entry-dialogue-entry .ed-aid-close {background: transparent;}
.entry-dialogue-entry .ed-preset-send {background: #cbbd9540; border-color: #e7dec175 !important;}
.entry-dialogue-entry .ed-preset-send:disabled {opacity: .45;}
.entry-dialogue-entry .ed-composer-row {display: grid; grid-template-columns: minmax(0,1fr) 48px; gap: 16px; align-items: end;}
.entry-dialogue-entry .ed-question-hit {display: flex; align-items: center; min-height: 48px;}
.entry-dialogue-entry .ed-question-shell {width: 100%; height: var(--ed-input-height); box-sizing: border-box; border-radius: 24px;}
body[data-world] .entry-dialogue-entry .ed-question,
.entry-dialogue-entry .ed-question {
  display: block; box-sizing: border-box; width: 100%; height: 100%;
  min-height: 0; max-height: 114px; margin: 0; padding: 9px 19px;
  border: 0; border-radius: inherit; background: transparent;
  color: #f0f2e9; font: 400 16px/24px sans-serif; letter-spacing: 0;
  box-shadow: none; text-shadow: 0 1px 3px #06101445;
  resize: none; overflow-y: hidden; outline: none;
}
.entry-dialogue-entry .ed-question::placeholder {color: #edf2e4ba; opacity: 1;}
.entry-dialogue-entry .ed-send {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; min-height: 48px; margin: 0; padding: 0;
  border: 0; border-radius: 50%; background: transparent; color: #eef2e8; box-shadow: none;
}
.entry-dialogue-entry .ed-send-orb {display: flex; align-items: center; justify-content: center; box-sizing: border-box; width: 40px; height: 40px;}
.entry-dialogue-entry .ed-send .ed-icon {width: 20px; height: 20px;}
.entry-dialogue-entry .ed-send:disabled .ed-icon {opacity: .7;}
.entry-dialogue-entry .ed-notice {margin: 9px 4px 0; font: 400 13px/20px sans-serif; color: #f0c8b1; text-shadow: 0 1px 5px #03090b;}
.entry-dialogue-entry .ed-feedback {position: absolute; inset: auto 0 0; pointer-events: none;}
.entry-dialogue-entry .ed-reply {margin: 0 16px 30px 18px;}
.entry-dialogue-entry .ed-reply-speaker {display: block; margin: 0 0 7px 2px; color: #cbdad8; font: 400 12px/18px sans-serif;}
.entry-dialogue-entry .ed-reply-content {box-sizing: border-box; margin: 0; min-height: 54px; max-height: 150px; overflow: auto; padding: 14px 19px; border-radius: 25px; font: 400 16px/24px sans-serif; overflow-wrap: anywhere; white-space: pre-wrap;}
.entry-dialogue-entry .ed-fixed-guide {margin: 0 4px; color: #edf1e9; font: 400 22px/31px MoonEntranceSerif, 'Noto Serif CJK SC', serif; letter-spacing: 0; text-shadow: 0 2px 7px #03090baa; opacity: 0;}
.entry-dialogue-entry[data-entry-feedback='guiding'] .ed-fixed-guide {opacity: 1;}
.entry-dialogue-entry[data-entry-feedback='sending'] .ed-opening,
.entry-dialogue-entry[data-entry-feedback='guiding'] .ed-opening,
.entry-dialogue-entry[data-entry-feedback='sending'] #entry-question-form,
.entry-dialogue-entry[data-entry-feedback='guiding'] #entry-question-form {visibility: hidden; pointer-events: none;}
.entry-dialogue-entry .ed-flight {position: fixed; z-index: 12; display: block; width: 20px; height: 20px; color: #edf2ec; pointer-events: none;}
.entry-dialogue-entry .ed-flight .ed-icon {width: 100%; height: 100%;}
.entry-dialogue-entry :is(button,textarea):focus-visible {outline: 2px solid #f0e4c3; outline-offset: 3px;}
.entry-dialogue-entry .ed-question-shell:focus-within {border-color: #f0edcea8; box-shadow: inset 0 1px 1px #fff5d759, 0 0 0 2px #d6decf21, 0 4px 8px #02090d38;}
@media (hover:hover) {
  .entry-dialogue-entry .ed-send:not(:disabled):hover .ed-send-orb,
  .entry-dialogue-entry .ed-aid-toggle:not(:disabled):hover .ed-aid-pill {border-color: #edf2d6b3; filter: brightness(1.09);}
  .entry-dialogue-entry .ed-aid-options button:hover {border-color: #e5debd80;}}
@media(min-width:768px) {
  .entry-dialogue-entry .ed-stack {left: clamp(32px,8vw,140px); --ed-bottom-gap: 68px;}
  .entry-dialogue-entry .ed-return {left: 24px;}}
@media(max-height:570px) {
  .entry-dialogue-entry .ed-stack {--ed-bottom-gap: 20px;}
  .entry-dialogue-entry .ed-aid-panel {max-height: 44svh;}}
@media(prefers-reduced-motion:reduce) {
  .entry-dialogue-entry *, .entry-dialogue-entry *:before {animation: none !important; transition: none !important; scroll-behavior: auto;}}

body[data-world][data-stage='threshold'] #app{width:100%;max-width:none;margin:0;padding:0;min-height:100svh}
body[data-world][data-stage='threshold'] .world-header{position:absolute;inset:0 0 auto;z-index:10;min-height:64px;height:64px;width:100%;max-width:none;margin:0;padding:12px 20px;border:0;background:transparent;box-shadow:none;pointer-events:none}
body[data-world][data-stage='threshold'] .world-header .world-brand{visibility:hidden;pointer-events:none}
body[data-world][data-stage='threshold'] .world-header .world-tools{pointer-events:auto;margin-left:auto}body[data-world][data-stage='threshold']>footer{display:none}
body[data-world][data-stage='threshold'] .entry-dialogue-entry{--ed-top-inset:0px}


body[data-world] .entry-threshold.entry-dialogue-entry .entry-scene-layer > picture,
.entry-threshold.entry-dialogue-entry .entry-scene-layer > picture{position:relative;display:block;width:100%;height:100%}