.world-actions{display:flex;gap:6px;align-items:stretch;pointer-events:auto;margin-top:10px;max-width:100%}
.world-actions #random-journey{margin:0;flex:none}
.intro .world-actions #create-world,.intro .world-actions #random-journey{margin:0;height:32px;min-height:32px}
#create-world{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:32px;padding:6px 10px;border:1px solid color-mix(in srgb,var(--scene-accent,#aec9e4) 24%,transparent);border-radius:4px;background:color-mix(in srgb,var(--scene-accent,#aec9e4) 3.5%,transparent);font:10px Oxanium,sans-serif;letter-spacing:.02em;white-space:nowrap}
#create-world svg{width:15px;height:15px;color:var(--scene-accent,#aec9e4);flex:none}
#create-world[data-generating] svg{animation:world-orbit 6s linear infinite}
@keyframes world-orbit{to{transform:rotate(360deg)}}
#create-world-panel{width:min(540px,calc(100vw - 28px));max-height:calc(100dvh - 28px);padding:30px;border:1px solid color-mix(in srgb,var(--scene-accent,#aec9e4) 30%,transparent);border-radius:12px;background:var(--scene-surface,#0b1422);color:var(--paper);overflow:auto;overscroll-behavior:contain;box-shadow:0 24px 100px #0009}
#create-world-panel::backdrop{background:#02050bc9;backdrop-filter:blur(7px)}
#create-world-panel .world-close{position:absolute;right:16px;top:16px;width:34px;height:34px;border:1px solid #aec9e430;border-radius:50%;display:grid;place-items:center;padding:0}
#create-world-panel .world-close svg{display:block;width:16px;height:16px}
#create-world-panel h2{font:400 clamp(22px,4vw,29px)/1.3 Oxanium,sans-serif;letter-spacing:.01em;margin:18px 24px 25px 0}
#create-world-panel .eyebrow{font-size:9px;color:var(--scene-accent,#aec9e4)}
#create-world-panel label{display:block;font:12px/1.5 Oxanium,sans-serif;color:#cad5e3;margin-bottom:10px}
#create-world-panel textarea{display:block;width:100%;min-height:110px;resize:vertical;border:1px solid #aec9e440;border-radius:6px;background:#ffffff05;color:#e8edf5;padding:14px;font:16px/1.55 Oxanium,sans-serif;outline:none;scroll-margin:20px}
#create-world-panel textarea:focus-visible{border-color:var(--scene-accent,#aec9e4)}
#create-world-panel label[for=world-pseudonym]{margin-top:18px}
#create-world-panel input[name=pseudonym]{display:block;width:100%;min-height:44px;padding:10px 14px;border:1px solid #aec9e440;border-radius:6px;background:#ffffff05;color:#e8edf5;font:16px/1.5 Oxanium,sans-serif}
#create-world-panel input[name=pseudonym]:focus-visible{outline:1px solid var(--scene-accent,#aec9e4);outline-offset:2px}
#create-world-panel .world-rule{font:12px/1.65 Oxanium,sans-serif;color:#e0d6c7;margin:16px 0 10px}
#create-world-panel .world-public,#create-world-panel .world-browser-note{font:11px/1.7 Arial,sans-serif;color:#95a7bc;margin:8px 0}
#create-world-panel [role=status]{font:12px/1.65 Oxanium,sans-serif;color:var(--scene-accent,#aec9e4);margin:20px 0 14px}
#create-world-panel [type=submit]{width:100%;min-height:46px;border:1px solid #aec9e460;border-radius:5px;background:#aec9e40d;font:13px Oxanium,sans-serif}
#create-world-panel [type=submit]:disabled{opacity:.4;cursor:default}
#create-world-panel .world-reconcile{font:12px Oxanium,sans-serif;padding:10px;border:1px solid #aec9e440;margin-top:10px}
#create-world-panel .world-transfer,#create-world-panel .world-privacy{font:11px/1.65 Arial,sans-serif;color:#95a7bc;margin:10px 0}
#create-world-panel .world-privacy a{color:var(--scene-accent,#aec9e4);text-decoration:underline;text-underline-offset:3px}
#fx-design-user[hidden]{display:none!important}
#fx-background-status{overflow-wrap:anywhere}
#fx-background-choices button[data-background^="uw-"] span{white-space:normal;line-height:1.4;min-height:28px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
.fx-world-search{display:flex;align-items:center;gap:4px;min-width:0;border:1px solid color-mix(in srgb,var(--scene-accent,#aec9e4) 25%,transparent);border-radius:5px;background:#ffffff04;margin:0 0 7px;padding:0 5px 0 11px}
.fx-world-search:focus-within{border-color:var(--scene-accent,#aec9e4)}
#fx-world-search{width:100%;min-width:0;min-height:40px;border:0;background:transparent;color:var(--paper);font:16px/1.4 var(--display,Arial,sans-serif);outline:none;padding:8px 0}
#fx-world-search::placeholder{color:var(--muted,#95a7bc);font-size:13px}
#fx-world-search::-webkit-search-cancel-button{-webkit-appearance:none}
#fx-world-search-clear{display:grid;place-items:center;flex:none;width:32px;height:32px;padding:0;border:0;background:transparent;color:var(--scene-accent,#aec9e4)}
#fx-world-search-clear svg{width:15px;height:15px}
#fx-world-search-clear[hidden],#fx-world-search-results[hidden]{display:none!important}
#fx-world-search-help,#fx-world-search-results{font:11px/1.6 var(--display,Arial,sans-serif);color:var(--muted,#95a7bc);margin:5px 0 10px}
#fx-world-search-results{color:var(--scene-accent,#aec9e4)}
@media(max-width:999px){.world-actions{grid-column:1/-1;grid-row:3;margin-top:7px;justify-self:start}}
@media(max-width:599px){.world-actions{width:100%}.world-actions #random-journey{width:auto;flex:1}#create-world{flex:1;font-size:9px;padding:5px 7px;gap:4px}#create-world-panel{padding:24px 20px}#create-world-panel h2{font-size:23px}}
@media(prefers-reduced-motion:reduce){#create-world[data-generating] svg{animation:none}}

/* A small light follows the existing frame without changing the button geometry. */
#create-world[data-generating]{position:relative}
#create-world[data-generating]::after{content:"";position:absolute;width:3px;height:3px;border-radius:50%;background:#f5f8fc;box-shadow:0 0 5px 1px #f5f8fcc0;pointer-events:none;offset-path:inset(0 round 4px);animation:world-frame-light 3.2s linear infinite}
@keyframes world-frame-light{to{offset-distance:100%}}
@media(prefers-reduced-motion:reduce){#create-world[data-generating]::after{animation:none}}
