html,body,#root{position:fixed;top:0;left:0;width:100%;height:100%;background:linear-gradient(60deg,#fde4ff,#7c9cfe);user-select:none;-moz-user-select:none;-webkit-user-drag:none;-webkit-user-select:none;-ms-user-select:none;touch-action:none}.gameplay-header :focus-visible{outline:3px solid #b83c33;outline-offset:3px}@media(max-width:440px){.gameplay-header{flex-wrap:wrap;gap:12px}.gameplay-header nav{gap:4px}.gameplay-header strong{max-width:none}}.gameplay-header button[aria-pressed=true]:not(.ghost){background:#c1f1dd33;border-color:#c1f1dd73;color:#d7fff0}.gameplay-header{position:fixed;inset:max(18px,env(safe-area-inset-top)) 24px auto;z-index:20;display:flex;justify-content:space-between;align-items:flex-start;pointer-events:none;color:#f4f8f6eb;font-family:Trebuchet MS,sans-serif;letter-spacing:0}.gameplay-header{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);column-gap:16px;row-gap:8px}.gameplay-header>nav{grid-column:3;grid-row:1;justify-self:end;align-items:flex-start}@media(max-width:900px){.gameplay-header{grid-template-columns:minmax(0,1fr) auto}.gameplay-header>nav{grid-column:2;max-width:216px;flex-wrap:wrap;justify-content:flex-end}}@media(max-height:500px){.gameplay-header{row-gap:4px}.gameplay-header-leading{gap:4px}}.gameplay-header-leading{display:flex;flex-direction:column;align-items:flex-start;gap:6px;pointer-events:auto}.gameplay-title-board{padding:10px 14px 10px 12px;border:1px solid rgba(255,255,255,.16);border-left:3px solid #b83c33;border-radius:10px;background:#0c10186b;box-shadow:0 .35rem 1rem #0000002e;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.gameplay-header h1{font-size:20px;line-height:1.15;margin:2px 0 0;font-weight:700;color:#fffffff0;text-shadow:0 1px 2px rgba(0,0,0,.28)}.gameplay-header.destination-beach .gameplay-title-board{border-left-color:#5ec8d0}.gameplay-room-id{margin-top:1px;font:500 10px/1.2 system-ui,sans-serif;color:#ffffffa6;overflow-wrap:anywhere}.scene-debug{position:fixed;right:max(16px,env(safe-area-inset-right));bottom:max(16px,env(safe-area-inset-bottom));z-index:20;display:flex;align-items:center;gap:8px}.scene-debug button{display:grid;place-items:center;width:44px;height:44px;flex:0 0 44px;background:#f8fbfce6;border:1px dashed #668e92;border-radius:6px;color:#27474d;cursor:pointer}.scene-debug select{box-sizing:border-box;height:44px;max-width:145px;min-width:0;padding:0 8px;border:1px solid #94b6b9;border-radius:6px;background:#f8fbfcf2;color:#27474d;font:13px Trebuchet MS,sans-serif}.scene-debug button:focus-visible,.scene-debug select:focus-visible{outline:3px solid #b83c33;outline-offset:3px}.gameplay-header strong{display:block;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#ffffff8c}.gameplay-header span{display:block;font-size:12px;margin-top:3px}.gameplay-header nav{display:flex;gap:8px;pointer-events:auto}.gameplay-header select{max-width:145px;min-width:0;height:44px;padding:0 8px;border:1px solid #94b6b9;border-radius:6px;background:#f8fbfcf2;color:#27474d;font:13px Trebuchet MS,sans-serif}@media(max-width:600px){.gameplay-header{flex-wrap:wrap;gap:8px}.gameplay-header nav{flex-wrap:wrap;max-width:100%}.gameplay-header select,.scene-debug select{max-width:125px}}.gameplay-header button,.gameplay-header a{display:grid;place-items:center;width:44px;height:44px;border:1px solid rgba(255,255,255,.16);border-radius:8px;background:#0c10186b;box-shadow:0 .35rem 1rem #0000002e;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:#f4f8f6e6;cursor:pointer;touch-action:none}.gameplay-header button.ghost{background:transparent;border-color:transparent;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;color:#f4f8f6e0}.gameplay-header button.ghost:hover,.gameplay-header button.ghost:focus-visible{background:#ffffff14;border-color:#ffffff1f;color:#fffffff5}.gameplay-header button.ghost[aria-pressed=true]{background:#c1f1dd1a;border-color:#c1f1dd47;color:#d7fff0}.gameplay-header .header-account>button{box-sizing:border-box;flex:0 0 60px;overflow:hidden;width:60px;height:60px;min-width:60px;max-width:60px;min-height:60px;max-height:60px;padding:0}.gameplay-header button.header-user img{width:100%;height:100%;min-width:0;min-height:0;object-fit:cover;display:block;pointer-events:none}.gameplay-header button:disabled{opacity:.4}@media(max-height:480px){.gameplay-header{top:max(8px,env(safe-area-inset-top))}.gameplay-title-board{padding:4px 10px}}@media(max-width:600px){.gameplay-header{left:16px;right:16px}.gameplay-header strong{font-size:12px}}.screen-status button:focus-visible{outline:3px solid #b83c33;outline-offset:3px}.gameplay-transfer-error{position:fixed;left:50%;bottom:max(calc(24px + env(safe-area-inset-bottom,0px)),var(--activity-bar-error-offset, 0px));transform:translate(-50%);z-index:35;max-width:min(480px,calc(100vw - 32px));padding:12px 18px;border-radius:8px;background:#102b30;color:#fff;text-align:center}.screen-status{position:fixed;top:0;right:0;bottom:0;left:0;z-index:30;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;background:#e2eff0ed;color:#233d43;font-family:Trebuchet MS,sans-serif;text-align:center;padding:24px}.scene-preparation-cover{background:#e2eff0;z-index:100001}.screen-status progress{width:min(240px,80vw);height:6px;accent-color:#216d74}.screen-status h2{font-size:24px;max-width:28ch}.screen-status strong{font-size:32px}.screen-status button{display:flex;align-items:center;justify-content:center;gap:12px;padding:12px 24px;border:1px solid #668e92;border-radius:6px;background:#f3faf4;color:#233d43;font:inherit;cursor:pointer}.screen-transition{overflow:hidden;background:#d8f3ed;animation:screen-arrival .9s ease-out both}.screen-transition:before{content:"";position:absolute;top:0;bottom:0;left:50%;width:12px;background:#fff;box-shadow:0 0 80px 40px #fff9;transform:translate(-50%);animation:screen-light .9s ease-out both;pointer-events:none}.screen-transition>*{position:relative}@keyframes screen-light{0%{transform:translate(-50%) scaleX(1);opacity:.5}to{transform:translate(-50%) scaleX(140);opacity:0}}@keyframes screen-arrival{0%{background:#8cd9d0}to{background:#e2eff0}}@media(prefers-reduced-motion:reduce){.screen-transition,.screen-transition:before{animation:none}.screen-transition:before{display:none}}.interactionPrompt{position:fixed;left:50%;bottom:35%;z-index:10;display:flex;align-items:center;padding:.48rem .72rem;background:#0c101847;border:1px solid rgba(255,255,255,.18);border-radius:999px;box-shadow:0 .35rem 1rem #0000001f;color:#ffffffb8;transform:translate(-50%);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);pointer-events:none;-webkit-user-select:none;user-select:none}.interactionPromptText{color:#ffffffa8;font-family:Arial,sans-serif;font-size:.9rem;font-weight:700;line-height:1;text-shadow:0 1px 2px rgba(0,0,0,.18);white-space:nowrap}.controlHints{--control-hint-accent: #7dd3fc;--control-hint-key-size: 1.75rem;--control-hint-key-gap: .18rem;--control-hint-label-gap: .14rem;--control-hint-label-size: .84rem;position:fixed;left:50%;bottom:3.55rem;z-index:10;display:flex;align-items:center;gap:0;max-width:min(90vw,54rem);padding:0;color:#ffffff80;transform:translate(-50%);pointer-events:none;-webkit-user-select:none;user-select:none}.controlHintsGroups{display:flex;align-items:flex-end;justify-content:center;gap:.34rem;flex-wrap:wrap}.controlHintGroup{display:grid;column-gap:.24rem;justify-items:center}.controlHintGroup.is-directional{row-gap:0}.controlHintGroup.is-top,.controlHintGroup.is-bottom{align-self:flex-end;grid-template-columns:auto auto;grid-template-rows:var(--control-hint-key-size) var(--control-hint-key-gap) var(--control-hint-key-size)}.controlHintGroup.is-stack{align-self:flex-end;grid-template-rows:var(--control-hint-key-size) var(--control-hint-key-gap) var(--control-hint-key-size) auto;justify-items:start}.controlHintGroup.is-top .controlHintKeys{grid-column:1;grid-row:1}.controlHintGroup.is-top .controlHintLabel{grid-column:2;grid-row:1}.controlHintGroup.is-bottom .controlHintKeys{grid-column:1;grid-row:3}.controlHintGroup.is-bottom .controlHintLabel{grid-column:2;grid-row:3}.controlHintStackRow{display:flex;align-items:center;gap:.24rem}.controlHintStackRow.is-top{grid-row:1}.controlHintStackRow.is-bottom{grid-row:3}.controlHintStackLabel{grid-row:4;justify-self:center;margin-top:var(--control-hint-label-gap);color:#ffffff85;font-family:Arial,sans-serif;font-size:var(--control-hint-label-size);font-weight:700;line-height:1;text-shadow:0 1px 2px rgba(31,41,55,.22);white-space:nowrap}.controlHintGroup.label-below .controlHintLabel{grid-column:1 / -1;grid-row:auto;margin-top:var(--control-hint-label-gap)}.controlHintGroup.is-bottom.label-below{grid-template-rows:var(--control-hint-key-size) var(--control-hint-key-gap) var(--control-hint-key-size) auto}.controlHintGroup.is-bottom.label-below .controlHintLabel{grid-row:4}.controlHintGroup.label-inline .controlHintLabel{align-self:center;justify-self:start}.controlHintGroup.is-bottom.label-inline{padding-bottom:calc(var(--control-hint-label-size) + var(--control-hint-label-gap))}.controlHintGroup.label-none .controlHintLabel{display:none}.controlHintKeys{display:flex;gap:var(--control-hint-key-gap);min-height:var(--control-hint-key-size);align-items:center}.controlHintKeys.is-directional{display:grid;grid-template-columns:repeat(3,var(--control-hint-key-size));grid-template-rows:repeat(2,var(--control-hint-key-size));gap:var(--control-hint-key-gap);min-height:calc(var(--control-hint-key-size) * 2 + var(--control-hint-key-gap))}.controlHintKeys.is-directional .controlHintKey:first-child{grid-column:2}.controlHintKeys.is-directional .controlHintKey:nth-child(2){grid-column:1;grid-row:2}.controlHintKeys.is-directional .controlHintKey:nth-child(3){grid-column:2;grid-row:2}.controlHintKeys.is-directional .controlHintKey:nth-child(4){grid-column:3;grid-row:2}.controlHintKey{box-sizing:border-box;display:inline-grid;min-width:var(--control-hint-key-size);height:var(--control-hint-key-size);padding:0 .44rem;place-items:center;color:#ffffffbd;background:#aaaeb494;border:1px solid rgba(255,255,255,.22);border-radius:.28rem;box-shadow:inset 0 -1px #ffffff29;font-size:var(--control-hint-label-size);font-weight:700;font-family:Arial,sans-serif;line-height:1;transition:background-color 90ms ease,border-color 90ms ease,color 90ms ease,transform 90ms ease}.controlHintKeys.is-directional .controlHintKey{width:var(--control-hint-key-size);padding:0}.controlHintKey.is-wide{min-width:4.35rem}.controlHintKey.is-active{color:#1c2026eb;background:var(--control-hint-accent);border-color:#ffffff9e;transform:translateY(1px)}.controlHintLabel{color:#ffffff85;font-family:Arial,sans-serif;font-size:var(--control-hint-label-size);font-weight:700;line-height:1;text-shadow:0 1px 2px rgba(31,41,55,.22);white-space:nowrap}@media(max-width:768px){.controlHints{display:none}}@media(max-height:450px){.controlHints{display:none}}header.gameplay-header{grid-template-columns:max-content minmax(0,188px) minmax(0,1fr);column-gap:12px}.gameplay-header .gameplay-title-board{box-sizing:border-box;height:60px;display:grid;align-content:center}.current-user-stress-hud{position:relative;grid-column:2;grid-row:1;justify-self:start;align-content:center;box-sizing:border-box;width:188px;height:60px;pointer-events:none;padding:0;border:1px solid rgba(255,255,255,.16);border-radius:10px;background:#0c1018d6;color:#f4f8f6;font:11px/1.4 Trebuchet MS,sans-serif}.stress-meter{display:block}.current-user-stress-hud .current-user-stress-hud__pulse{position:absolute;top:0;right:0;bottom:0;left:0;margin:0;border-radius:inherit;pointer-events:none;opacity:0;background:#28ff9ca6;box-shadow:inset 0 0 0 2px #28ff9c,0 0 16px #28ff9c99}.current-user-stress-hud .current-user-stress-hud__pulse[data-direction=increase]{background:#ff4058a6;box-shadow:inset 0 0 0 2px #ff4058,0 0 16px #ff405899}.current-user-stress-hud .stress-meter,.current-user-stress-hud .stress-meter span{font-size:inherit;margin-top:0}.current-user-stress-hud .stress-meter--hud{position:relative;height:100%;overflow:hidden;border-radius:inherit;isolation:isolate}.current-user-stress-hud .stress-meter__content{position:relative;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px;height:100%;padding:0 12px;box-sizing:border-box;text-shadow:0 1px 3px #0c1018}.stress-meter__status-inline{color:#c7d6d1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.stress-meter__value{flex:0 0 auto;font-variant-numeric:tabular-nums;white-space:nowrap}.stress-meter__track,.current-user-stress-hud .stress-meter__track{display:block;height:6px;overflow:hidden;border-radius:4px;background:#ffffff29;margin-top:4px}.current-user-stress-hud .stress-meter__track{position:absolute;top:0;right:0;bottom:0;left:0;height:100%;margin-top:0;border-radius:inherit;z-index:-1}.current-user-stress-hud .stress-meter__fill{opacity:.45}.current-user-stress-hud .stress-meter .stress-meter__value{font-size:30px;font-weight:700;line-height:1}.stress-meter__fill{display:block;height:100%;width:100%;background:var(--stress-color, #c7d0d8);transform:scaleX(calc(var(--stress-value) / 100));transform-origin:left;transition:transform .11s linear,background-color .11s linear}.stress-meter[data-zero] .stress-meter__track{background:color-mix(in srgb,var(--stress-color) 18%,transparent);box-shadow:inset 0 0 0 1px var(--stress-color)}.current-user-stress-hud .stress-meter .stress-meter__caption{display:block;color:#d5e2dc;font-size:8px;line-height:1.2;letter-spacing:.04em}.stress-activity-feed{position:fixed;z-index:20;right:max(24px,env(safe-area-inset-right));bottom:max(calc(96px + env(safe-area-inset-bottom,0px)),var(--activity-bar-error-offset, 0px));display:flex;flex-direction:column-reverse;justify-content:flex-start;gap:6px;width:min(300px,calc(100vw - 48px));max-height:216px;margin:0;padding:0;list-style:none;overflow:hidden;pointer-events:none;font:12px/16px Trebuchet MS,sans-serif;-webkit-mask-image:linear-gradient(to top,#000 0%,#000 18%,rgba(0,0,0,.75) 48%,rgba(0,0,0,.3) 80%,transparent 100%);mask-image:linear-gradient(to top,#000 0%,#000 18%,rgba(0,0,0,.75) 48%,rgba(0,0,0,.3) 80%,transparent 100%)}.stress-activity-feed__entry{box-sizing:border-box;display:flex;align-items:flex-start;gap:6px;color:#f3faf6;text-shadow:0 1px 2px #0c1018,0 0 8px rgba(12,16,24,.72)}.stress-activity-feed__entry[data-new]{animation:stress-activity-slide-up .22s ease-out}.stress-activity-feed__announcer{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap;pointer-events:none}.stress-activity-feed__entry[data-kind=social]{color:#d7eefc}.stress-activity-feed__entry[data-kind=stress]{color:#9aecd4}.stress-activity-feed__icon{flex:0 0 auto;margin-top:1px;color:inherit;filter:drop-shadow(0 1px 2px #0c1018)}.stress-activity-feed__body{display:flex;flex:1;flex-direction:column;gap:1px;min-width:0}.stress-activity-feed__text{display:block;min-width:0;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:16px}.stress-activity-feed__rewards{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;color:#eafff6;font-size:11px;font-weight:700;font-variant-numeric:tabular-nums;line-height:14px;white-space:nowrap}@keyframes stress-activity-slide-up{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}.stress-activity-feed[data-reduced-motion] .stress-activity-feed__entry{animation:none}@media(prefers-reduced-motion:reduce){.stress-activity-feed__entry{animation:none}}.stress-meter--compact{width:72px;margin:2px auto 0;font-size:10px;line-height:12px}.stress-meter--compact .stress-meter__track{height:4px;margin-top:2px}.stress-meter[data-stale]{opacity:.6}.stress-meter[data-stale] .stress-meter__fill,.stress-meter[data-reduced-motion] .stress-meter__fill{transition:none}@media(prefers-reduced-motion:reduce){.stress-meter__fill{transition:none}}@media(max-width:900px){header.gameplay-header{grid-template-columns:minmax(0,max-content) minmax(0,188px) minmax(60px,1fr)}header.gameplay-header>nav{grid-column:3;grid-row:1;justify-self:end}.current-user-stress-hud{width:100%}}@media(max-width:480px){.stress-activity-feed{right:max(16px,env(safe-area-inset-right));width:min(260px,calc(100vw - 32px))}header.gameplay-header{grid-template-columns:minmax(0,1fr) minmax(0,1.3fr) auto;column-gap:8px}.gameplay-header-leading{min-width:0}.gameplay-header .gameplay-title-board{width:100%;padding:6px}.gameplay-header h1{font-size:16px}.gameplay-header strong{font-size:10px}.current-user-stress-hud .stress-meter__content{gap:4px;padding:0 6px}.current-user-stress-hud .stress-meter .stress-meter__value{font-size:22px}}@media(max-height:500px){.current-user-stress-hud{font-size:10px}}.game-dialog{--ui-ink: rgba(244, 248, 246, .92);--ui-muted: rgba(244, 248, 246, .55);--ui-accent: #b83c33;--ui-surface: rgba(12, 16, 24, .72);--ui-surface-strong: #182b29f5;--ui-border: rgba(255, 255, 255, .16);--ui-border-teal: rgba(82, 118, 108, .85);--ui-control: rgba(12, 16, 24, .55);--ui-control-hover: rgba(255, 255, 255, .08);--ui-selected: rgba(193, 241, 221, .14);--ui-selected-border: rgba(193, 241, 221, .4);box-sizing:border-box;width:min(400px,calc(100vw - 32px));max-height:calc(100dvh - 32px);margin:auto;overflow:auto;border:1px solid var(--ui-border);border-radius:12px;padding:24px;background:linear-gradient(165deg,#182b29f0,#0c1018e0);color:var(--ui-ink);box-shadow:0 12px 32px #00000047;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);scrollbar-color:rgba(255,255,255,.28) transparent;font:16px/1.5 Trebuchet MS,sans-serif;color-scheme:dark;letter-spacing:normal}.game-dialog::backdrop{background:#080e128c}.game-dialog,.game-dialog *{touch-action:auto}.game-dialog>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.game-dialog>header>:first-child{min-width:0;overflow-wrap:anywhere}.game-dialog>header .dialog-title-row{display:flex;align-items:center;gap:10px;min-width:0}.game-dialog>header .dialog-title-row>h2{min-width:0}.game-dialog>header h2{margin:0;font-size:22px;line-height:1.3;color:#fffffff0;text-shadow:0 1px 2px rgba(0,0,0,.28)}.game-dialog>header p{margin:4px 0 0;color:var(--ui-muted);font-size:14px}.game-dialog :focus-visible{outline:3px solid var(--ui-accent);outline-offset:3px}.game-dialog button,.game-dialog select{box-sizing:border-box;min-height:44px;border:1px solid var(--ui-border);border-radius:8px;background:var(--ui-control);color:var(--ui-ink);font:inherit;padding:8px}.game-dialog button{cursor:pointer}.game-dialog button:disabled{opacity:.5;cursor:not-allowed}.game-dialog select{-webkit-appearance:none;-moz-appearance:none;appearance:none;background-image:linear-gradient(45deg,transparent 50%,rgba(244,248,246,.7) 50%),linear-gradient(135deg,rgba(244,248,246,.7) 50%,transparent 50%);background-position:calc(100% - 16px) calc(50% - 2px),calc(100% - 11px) calc(50% - 2px);background-size:5px 5px;background-repeat:no-repeat;padding-right:28px}.game-dialog select option{background-color:#182b29;color:var(--ui-ink)}.game-dialog button:hover:not(:disabled),.game-dialog select:hover{background-color:#ffffff1a;border-color:#ffffff38}.game-dialog>header button.ghost{width:44px;height:44px;min-height:44px;flex-shrink:0;display:grid;place-items:center;padding:0;border-color:transparent;background:transparent;color:var(--ui-muted)}.game-dialog>header button.ghost:hover{background:var(--ui-control-hover);border-color:transparent;color:var(--ui-ink)}.game-dialog>.dialog-tabs{display:flex;gap:8px;margin:20px 0 16px;border-bottom:1px solid var(--ui-border)}.game-dialog>.dialog-tabs button{flex:1 1 0;min-width:0;padding:10px 4px;border:0;border-bottom:3px solid transparent;border-radius:0;background:transparent;color:var(--ui-muted);text-align:center;overflow-wrap:anywhere}.game-dialog>.dialog-tabs button[aria-selected=true]{border-bottom-color:#5ec8d0;color:var(--ui-ink);font-weight:700}@media(max-width:480px),(max-height:480px){.game-dialog{padding:16px}}@media(max-width:600px){dialog.game-dialog{width:calc(100vw - max(8px,env(safe-area-inset-left,0px)) - max(8px,env(safe-area-inset-right,0px)));max-width:none;max-height:calc(100dvh - 16px)}}.scene-loading{display:grid;gap:12px;width:100%}.scene-loading strong{font-size:16px;line-height:1.4}.scene-loading p{margin:6px 0 0;font-size:14px;line-height:1.5}.scene-loading progress{display:block;width:100%;height:6px;accent-color:#5ec8d0}.scene-loading__hint{opacity:.72}.screen-status>.scene-loading{max-width:360px;justify-items:center}.screen-status .scene-loading strong{font-size:20px}.welcome{--welcome-ink: #f4f8f6;--welcome-muted: #a4b9bb;--welcome-accent: #5ec8d0;--welcome-border: rgba(255, 255, 255, .16);position:fixed;top:0;right:0;bottom:0;left:0;z-index:100002;overflow:auto;overscroll-behavior:contain;background:#0c1018;color:var(--welcome-ink);font:16px/1.6 Trebuchet MS,sans-serif;color-scheme:dark;user-select:text;-webkit-user-select:text;scrollbar-color:#425b60 #0c1018}html:has(.welcome),body:has(.welcome),#root:has(.welcome){touch-action:auto}.welcome,.welcome *{box-sizing:border-box;touch-action:auto}.welcome__shell{max-width:1480px;margin:auto;padding:max(20px,env(safe-area-inset-top)) max(28px,env(safe-area-inset-right)) max(24px,env(safe-area-inset-bottom)) max(28px,env(safe-area-inset-left))}.welcome button,.welcome a{-webkit-tap-highlight-color:transparent}.welcome button{min-height:44px;padding:10px 16px;border:1px solid var(--welcome-border);border-radius:8px;background:#17282e;color:inherit;font:inherit;cursor:pointer}.welcome button:hover:not(:disabled){background:#223a40;border-color:#5ec8d0}.welcome button:disabled{opacity:.45;cursor:not-allowed}.welcome a{display:inline-flex;align-items:center;gap:8px;min-height:44px;color:var(--welcome-muted);text-underline-offset:5px}.welcome :focus-visible{outline:3px solid var(--welcome-accent);outline-offset:4px}.welcome p{margin:0 0 16px}.welcome h1,.welcome h2,.welcome h3{line-height:1.12;letter-spacing:-.035em}.welcome__nav{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}.welcome__wordmark{font-size:19px;letter-spacing:.2em;font-weight:700}.welcome__wordmark b{color:var(--welcome-accent);letter-spacing:-.02em}.welcome__nav a{font-size:13px;text-decoration:none}.welcome__landing{display:grid;grid-template-columns:minmax(0,1fr) minmax(300px,360px);gap:24px;align-items:start}.welcome__hero{overflow:hidden;border:1px solid var(--welcome-border);border-radius:16px;background:#101f2b}.welcome__cover{display:block;width:100%;height:auto;aspect-ratio:16 / 9;object-fit:cover;background:#0b1e2a}.welcome__hero-copy{padding:clamp(24px,4vw,52px);background:linear-gradient(140deg,#142b30,#101720)}.welcome .welcome__eyebrow{color:var(--welcome-accent);font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.16em;margin:0 0 14px}.welcome h1{margin:0 0 20px;font-size:clamp(36px,4.2vw,64px)}.welcome h1 em{color:#a3e8e4;font-style:normal}.welcome__hero-copy>p:last-child{color:var(--welcome-muted);max-width:36ch;margin:0;font-size:18px}.welcome__entry{padding:26px;border:1px solid var(--welcome-border);border-radius:16px;background:#121d24}.welcome__entry>h2{margin:0 0 24px;font-size:32px;overflow-wrap:anywhere}.welcome__entry .scene-loading p{color:var(--welcome-muted)}.welcome__entry button.welcome__enter{display:flex;gap:10px;align-items:center;justify-content:center;width:100%;margin-top:22px;border-color:#5ec8d0;background:#5ec8d0;color:#102127;font-weight:700}.welcome__entry button.welcome__enter:hover:not(:disabled){background:#a3e8e4}.welcome .welcome__entry-note{margin:10px 0 24px;font-size:12px;color:var(--welcome-muted);text-align:center}.welcome__account{border-top:1px solid var(--welcome-border);padding-top:22px;font-size:13px}.welcome__identity{display:flex;gap:12px;align-items:center;margin-bottom:18px}.welcome__identity strong{display:block;font-size:16px;overflow-wrap:anywhere}.welcome__identity span{color:var(--welcome-muted)}.welcome__account>p{color:var(--welcome-muted)}.welcome__account p.welcome__guest-warning{color:#e9d6b5;font-size:15px;margin-bottom:8px}.welcome__account-actions{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0 12px}.welcome__account small{display:block;color:var(--welcome-muted);line-height:1.6}.welcome__highlights{padding-top:clamp(64px,8vw,112px);scroll-margin-top:28px}.welcome__section-heading{max-width:620px;margin-bottom:36px}.welcome__section-heading h2{font-size:clamp(32px,4vw,52px);margin:0 0 20px}.welcome__section-heading>p:last-child{color:var(--welcome-muted)}.welcome__cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.welcome__card{overflow:hidden;border-radius:14px;border:1px solid var(--welcome-border);background:#121d24}.welcome__card img{display:block;width:100%;height:auto;aspect-ratio:8 / 5;object-fit:cover;background:#142b30}.welcome__card>div{padding:clamp(22px,3vw,36px)}.welcome__card h3{margin:0 0 16px;font-size:30px}.welcome__card div>p:last-child{color:var(--welcome-muted);margin-bottom:0}.welcome__card--fame{grid-column:1 / -1;display:grid;grid-template-columns:1fr 1fr;align-items:center}.welcome__footer{display:flex;justify-content:space-between;flex-wrap:wrap;align-items:center;gap:16px;margin-top:64px;padding-top:24px;border-top:1px solid var(--welcome-border);color:var(--welcome-muted);font-size:12px}@media(max-width:999px){.welcome__shell{padding-inline:max(18px,env(safe-area-inset-left)) max(18px,env(safe-area-inset-right))}.welcome__landing{grid-template-columns:1fr}.welcome__hero{display:grid;grid-template-columns:1fr 1fr;align-items:center}.welcome__cover{height:100%;object-fit:cover}.welcome__hero-copy{padding:24px}.welcome h1{font-size:clamp(28px,4.5vw,42px)}.welcome__hero-copy>p:last-child{font-size:15px}.welcome__entry{display:grid;grid-template-columns:1fr 1fr;column-gap:28px}.welcome__entry>:not(.welcome__account){grid-column:1}.welcome__account{grid-column:2;grid-row:1 / 7;border-top:0;border-left:1px solid var(--welcome-border);padding:0 0 0 28px}}@media(max-width:600px){.welcome__nav{margin-bottom:16px}.welcome__nav a{font-size:11px}.welcome__hero{display:block}.welcome__cover{height:auto;max-height:230px}.welcome__hero-copy{padding:22px}.welcome h1{font-size:34px;margin-bottom:12px}.welcome__hero-copy>.welcome__eyebrow{display:none}.welcome__landing{gap:16px}.welcome__entry{display:block;padding:22px}.welcome__entry>h2{margin-bottom:18px;font-size:28px}.welcome__account{border-left:0;border-top:1px solid var(--welcome-border);padding:22px 0 0}.welcome__cards{grid-template-columns:1fr;gap:20px}.welcome__card--fame{display:block}}@media(prefers-reduced-motion:reduce){.welcome *,.scene-loading *{animation:none!important;scroll-behavior:auto!important}}.header-account{display:flex;flex-direction:column;align-items:flex-end;gap:8px}.wallet-hud{display:flex;flex-direction:column;align-items:flex-end;gap:4px;pointer-events:auto}.gameplay-header .wallet-hud .wallet-trigger.gameplay-toggle.ghost{display:inline-flex;align-items:center;gap:6px;width:auto;min-width:0;height:auto;min-height:28px;padding:4px 10px;border:1px solid transparent;border-radius:8px;background:transparent;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;font-size:12px;font-weight:600;line-height:1;color:#ffffffc7;touch-action:manipulation}.gameplay-header .wallet-hud .wallet-trigger.gameplay-toggle.ghost:hover,.gameplay-header .wallet-hud .wallet-trigger.gameplay-toggle.ghost:focus-visible{background:#ffffff14;border-color:#ffffff1f;color:#fffffff5}.wallet-hud b{font-size:12px;font-weight:600;font-variant-numeric:tabular-nums;color:inherit}.wallet-hud small{font-size:10px}.gameplay-header .wallet-hud .wallet-trigger--tickets.gameplay-toggle.ghost{background:#f5cc58;border-color:#f5cc58;color:#19170e}.gameplay-header .wallet-hud .wallet-trigger--tickets.gameplay-toggle.ghost:hover,.gameplay-header .wallet-hud .wallet-trigger--tickets.gameplay-toggle.ghost:focus-visible{background:#ffde7b;border-color:#ffde7b;color:#19170e}.wallet-dialog,.wallet-topup-dialog,.wallet-history-dialog{width:min(600px,calc(100vw - 32px));--ui-accent: #f5cc58}.wallet-sync{margin:20px 0 16px;font-size:12px;color:var(--ui-muted)}.wallet-sync button{margin-left:8px}.wallet-overview{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.wallet-card{min-width:0;padding:18px;border:1px solid var(--ui-border);border-radius:12px;background:var(--ui-control)}.wallet-card--tickets,.wallet-vip.wallet-vip--active{border-color:#947526;background:linear-gradient(120deg,#94752626,var(--ui-control))}.wallet-card .wallet-summary{padding:0;border:0;border-radius:0;background:none}.wallet-card-heading{display:flex;align-items:center;justify-content:space-between;gap:8px}.wallet-card-heading h3{display:flex;align-items:center;gap:8px;min-width:0;margin:0;font-size:14px;font-weight:600;color:var(--ui-muted)}.wallet-card-heading h3 svg{flex-shrink:0}.wallet-card--tickets .wallet-card-heading h3{color:#f5cc58}.game-dialog .wallet-history-link{flex-shrink:0;margin-left:auto;padding:4px 0 4px 8px;border:0;background:transparent;color:var(--ui-muted);font-size:12px;text-decoration:underline;text-underline-offset:3px}.game-dialog .wallet-history-link:hover:not(:disabled){background:transparent;color:var(--ui-ink)}.wallet-card .wallet-details{margin:12px 0 0;font-size:13px}.wallet-card .wallet-details p:last-child{margin-bottom:0}.wallet-card:not(.wallet-card--tickets) .wallet-balance{font-size:32px}.wallet-card .wallet-fame{gap:6px}.wallet-card .wallet-fame>div{padding:10px 6px}.wallet-card .wallet-fame dt{font-size:10px}.wallet-card .wallet-fame dd{font-size:18px}.wallet-history-filter{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:24px 0 16px;font-size:14px}.wallet-history-filter select{min-width:140px}.wallet-summary{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:20px;padding:24px;border:1px solid var(--ui-border);border-radius:12px;background:var(--ui-control)}.wallet-balance{margin:8px 0 4px;font-size:clamp(32px,8vw,44px);line-height:1.15;font-weight:700;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.wallet-summary--tickets .wallet-balance{color:#f5cc58}.wallet-caption{color:var(--ui-muted);font-size:12px}.wallet-details{margin:16px 0 24px;font-size:14px;color:var(--ui-muted)}.wallet-details p{margin:10px 0}.wallet-fame{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin:16px 0}.wallet-fame>div{padding:14px 10px;border:1px solid var(--ui-border);border-radius:8px;background:var(--ui-control)}.wallet-fame dt{font-size:12px;overflow-wrap:anywhere}.wallet-fame dd{margin:6px 0 0;font-size:22px;font-weight:700;color:var(--ui-ink);overflow-wrap:anywhere}.wallet-sandbox{padding:12px 14px;border:1px solid #947526;border-radius:8px;background:#94752626;color:#f3d889;font-size:13px}.wallet-empty{padding:24px 16px;border:1px dashed var(--ui-border);border-radius:8px;color:var(--ui-muted);text-align:center;font-size:14px}.wallet-history{list-style:none;padding:0;margin:0 0 16px}.wallet-history li{display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;padding:14px 0;border-bottom:1px solid var(--ui-border);overflow-wrap:anywhere;font-size:13px}.wallet-history time,.wallet-history small{display:block;color:var(--ui-muted);font-size:12px}.wallet-history li>span{font-variant-numeric:tabular-nums;font-weight:600}.wallet-topup-balance,.wallet-order-line{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px}.wallet-topup-balance{margin:24px 0 16px;padding:14px 16px;border:1px solid var(--ui-border);border-radius:8px;font-size:14px}.wallet-topup-balance>span{display:inline-flex;align-items:center;gap:8px;color:var(--ui-muted)}.wallet-topup-balance strong{color:#f5cc58;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.wallet-topup-balance small{font-size:12px;font-weight:400}.wallet-ticket-packs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0}.game-dialog .wallet-ticket-pack{display:flex;flex-direction:column;align-items:center;gap:4px;padding:20px 8px 12px;white-space:normal}.wallet-ticket-pack>svg{margin-bottom:10px;color:#f5cc58}.wallet-ticket-pack>strong{font-size:28px;line-height:1.2;font-variant-numeric:tabular-nums}.wallet-ticket-pack>span{font-size:12px;color:var(--ui-muted)}.wallet-ticket-pack .wallet-pack-price{margin-top:16px;font-size:16px;color:var(--ui-ink);font-weight:600}.wallet-pack-price small{font-size:10px;font-weight:400}.wallet-ticket-pack .wallet-pack-action{margin-top:10px;color:#f5cc58;font-weight:600}.wallet-ticket-confirm{margin-block:16px;padding:18px;border:1px solid var(--ui-border);border-radius:12px;background:var(--ui-control)}.wallet-ticket-confirm h3{margin:0 0 16px;font-size:16px}.wallet-ticket-confirm p{color:var(--ui-muted);font-size:13px}.wallet-order-line{font-size:14px}.wallet-confirm-actions{display:flex;flex-wrap:wrap;gap:8px}.wallet-confirm-actions button{white-space:normal}.game-dialog .wallet-primary{background:#f5cc58;border-color:#f5cc58;color:#19170e;padding-inline:16px;font-size:14px;font-weight:700}.game-dialog .wallet-primary:hover:not(:disabled){background:#ffde7b;border-color:#ffde7b}.wallet-purchase-message{padding:14px;border:1px solid var(--ui-selected-border);border-radius:8px;background:var(--ui-selected);font-size:14px}.wallet-purchase-message--error{border-color:#d28c7b}@media(max-width:380px){.wallet-ticket-packs{grid-template-columns:1fr;gap:8px}.game-dialog .wallet-ticket-pack{display:grid;grid-template-columns:auto 1fr auto;gap:8px;padding:14px;text-align:left}.wallet-ticket-pack>svg,.wallet-ticket-pack .wallet-pack-price{margin:0}.wallet-ticket-pack>span:not(.wallet-pack-price){display:none}.wallet-ticket-pack>strong:after{content:" Tickets";font-size:12px;font-weight:400}}@media(max-width:520px){.wallet-overview{grid-template-columns:minmax(0,1fr)}.wallet-card--tickets{grid-column:auto}.wallet-card .wallet-fame dt{font-size:12px}}@media(max-width:600px){.gameplay-header .wallet-hud .wallet-trigger.gameplay-toggle.ghost{padding:4px 8px;gap:5px}}.wallet-vip{padding:14px;margin-top:12px;border:1px solid #345860;border-radius:12px;background:#15383e}.wallet-vip-heading{display:flex;align-items:center;gap:8px;margin:0;font-size:14px;font-weight:600}.wallet-vip-heading svg{flex-shrink:0}.wallet-vip--active .wallet-vip-heading{color:#f5cc58}.wallet-vip--active p{color:var(--ui-muted)}.wallet-vip p{margin:6px 0;font-size:13px;line-height:1.5;color:#bfd4d8}.wallet-vip button{min-height:44px;margin-top:8px}.wallet-overview>.wallet-vip{min-width:0;margin-top:0;padding:18px}.wallet-overview>.wallet-vip button{max-width:100%;white-space:normal;overflow-wrap:anywhere}.lab-object-editor{background:#181c20;border-bottom:1px solid #343944}.scene-object-editor{display:grid;gap:10px;padding:0 12px 12px;color:#dddfe7;font:12px Trebuchet MS,sans-serif}.scene-object-editor label{display:flex;justify-content:space-between;align-items:center}.scene-object-editor select{width:100%;min-width:0;background:#292e34;color:#eee;border:1px solid #535b64;padding:8px}.scene-object-tools{display:flex;flex-wrap:wrap;gap:6px}.scene-object-tools button{display:grid;place-items:center;width:34px;height:34px;padding:0;color:#eee;background:#292e34;border:1px solid #535b64;border-radius:4px}.scene-object-tools button[aria-pressed=true]{background:#245e62}.scene-object-tools button:disabled{opacity:.4}.npc-editor{display:grid;gap:8px}.npc-editor p{margin:0;line-height:1.45}.npc-editor fieldset{display:grid;gap:6px;min-width:0}.npc-editor input[type=number]{width:100px}.npc-editor li{display:grid;gap:5px;margin-block:8px}.npc-editor label{gap:8px}.npc-editor label select{max-width:60%}.lab-panel-position>button{margin:8px 12px;min-height:36px}.lab-panel-position .lab-panel-position{position:static;width:100%;max-height:none}.npc-editor .scene-object-tools button{width:auto;min-height:34px;height:auto;padding:6px 9px}.scene-object-editor [role=tablist]{display:flex;gap:6px}.scene-object-editor [role=tab]{flex:1;padding:8px;color:#eee;background:#292e34;border:1px solid #535b64}.scene-object-editor [role=tab][aria-selected=true]{background:#245e62}.lab-object-editor summary{padding:12px;color:#dddfe7;cursor:pointer;font:700 12px Trebuchet MS,sans-serif}.lab-panel-position:has(.lab-object-editor){max-height:calc(100dvh - 120px);overflow:auto;background:#181c20;border-radius:6px}.lab-panel-position{position:absolute;top:76px;right:16px;z-index:20;width:min(340px,calc(100vw - 32px));box-sizing:border-box;padding:0;border:0;background:transparent;max-height:calc(100dvh - 100px);overflow:auto}.effects-preview{display:grid;gap:8px;padding:12px;background:#181c20;color:#dddfe7;font:12px sans-serif}.effects-preview label{display:flex;justify-content:space-between;gap:8px;align-items:center}.effects-preview input[type=number]{width:90px}.effects-preview select{max-width:210px}.effects-preview button{margin:2px}.effects-preview details{border-top:1px solid #343944;padding-top:8px}.effects-preview details[open]{display:grid;gap:8px}.effects-preview summary{cursor:pointer}.effects-preview small{line-height:1.5;color:#aeb6c4}.lab-stats{position:fixed!important;top:auto!important;left:12px!important;bottom:max(12px,env(safe-area-inset-bottom))!important;z-index:21;pointer-events:none}.public-profile-dialog{width:min(32rem,calc(100vw - 2rem))}.public-profile-summary{display:flex;align-items:center;gap:1rem;padding-block:1rem}.public-profile-summary .character-portrait{display:inline-grid;place-items:center;flex:0 0 72px;width:72px;height:72px;overflow:hidden;border-radius:12px;background:#ffffff0d}.public-profile-summary .character-portrait img{width:72px;height:72px;object-fit:cover}.public-profile-summary h3,.public-profile-summary p{margin:.3rem 0}.profile-administration{border-top:1px solid var(--line, #ffffff24);padding-top:.75rem}.profile-actions{display:flex;flex-wrap:wrap;gap:.5rem}.profile-administration label{display:grid;gap:.5rem}.profile-administration textarea{min-height:5rem;resize:vertical}.profile-administration ul{padding:0;list-style:none}.profile-administration li{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;margin-block:.5rem}.notification-host{position:fixed;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:10000}.notification-host [data-sonner-toast]{pointer-events:auto}.notification-host [data-sonner-toast][data-type=success]{color:var(--success-text)}.notification-host [data-sonner-toast][data-type=error]{color:var(--error-text)}.notification-host [data-sonner-toast] [data-close-button]{min-height:0;min-width:0}.notification-host [data-reduced-motion=true] [data-sonner-toast]{animation:none!important;transition:none!important}@media(prefers-reduced-motion:reduce){.notification-host [data-sonner-toast]{animation:none!important;transition:none!important}}
