@import url('fonts/fonts.css');
:root {
 --bg:#181c23; --panel:#242a33; --panel2:#303743; --line:#48515e;
 --text:#f5f6f2; --muted:#c8ced8; --accent:#c5f277; --accent2:#b8e66b;
 --purple:#c7b8ff; --cyan:#90d9df; --danger:#ffb7c2; --radius:20px;
 --font:'DM Sans',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
 color-scheme:dark;
}
* {box-sizing:border-box}
html {scroll-behavior:smooth;scroll-padding-top:24px}
body {margin:0;background:radial-gradient(ellipse at 82% 0,#71668f16 0,transparent 42%),radial-gradient(ellipse at 8% 78%,#87a35c0d 0,transparent 42%),var(--bg);color:var(--text);font-family:var(--font);font-size:16px;line-height:1.65}
button,input,textarea,select {font:inherit;color:inherit}
button,a,input,textarea,select {-webkit-tap-highlight-color:transparent}
a {color:inherit;text-decoration:none}
button {cursor:pointer;border:0}
button:disabled {opacity:.6;cursor:not-allowed}
a,button {touch-action:manipulation}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible {outline:3px solid var(--cyan);outline-offset:4px;box-shadow:0 0 0 2px #14213a}
h1,h2,h3,h4,p {margin-top:0;overflow-wrap:anywhere}
h1,h2,h3 {line-height:1.18;letter-spacing:-.035em}
h1 {font-size:clamp(2.4rem,4vw,3.8rem);font-weight:750}
h2 {font-size:1.9rem;font-weight:700}
h3 {font-size:1.25rem;font-weight:700;letter-spacing:-.02em}
p {color:var(--muted)}
.icon {width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;vertical-align:middle}
.sidebar {position:fixed;inset:0 auto 0 0;width:244px;border-right:1px solid var(--line);padding:32px 20px 20px;display:flex;flex-direction:column;background:linear-gradient(160deg,#23272e,#1c2129 65%);z-index:30;overflow-y:auto}
.brand {display:flex;align-items:center;gap:12px;font-size:27px;font-weight:800;letter-spacing:-1px;line-height:.94;margin:0 8px 40px}
.brand-light {font-weight:550}.brand-dot {color:var(--accent)}
.brand-mark {width:47px;height:51px;display:grid;place-items:center;background:linear-gradient(145deg,#e4ffab,var(--accent));border-radius:15px;color:#203216;transform:rotate(-5deg);box-shadow:0 7px 24px #cefa7a25}
.brand-mark .icon {width:32px;height:32px;stroke-width:1.7}
.sidebar-label {font-size:12px;letter-spacing:1.3px;color:var(--muted);padding:0 13px;margin-bottom:12px;font-weight:700}
.nav-link {display:flex;align-items:center;gap:12px;padding:14px 12px;color:#d9e3f6;font-size:16px;font-weight:600;border-radius:12px;margin-bottom:7px;white-space:nowrap;min-height:50px;border:1px solid transparent}
.nav-link:hover {color:#fff;background:#333d49;border-color:#74818f}
.nav-link.active {background:#303927;color:var(--accent);border-color:#748365;box-shadow:inset 3px 0 0 var(--accent),0 5px 18px #0d121826}
.nav-plus {margin-left:auto;font-size:22px;font-weight:500}
.sidebar-spacer {flex:1;min-height:40px}
.sidebar-note {padding:21px 17px;border:1px solid #666e5b;border-radius:18px;margin:0 2px 18px;background:radial-gradient(circle at 100% 0,#7c71932b,transparent 70%),#2b3229;box-shadow:0 9px 24px #12213a30}
.tiny-orbit {width:44px;height:44px;border:1px solid #b7d294;border-radius:14px;display:grid;place-items:center;color:var(--accent);margin-bottom:16px;background:#252e23}
.tiny-orbit .icon {width:23px}
.sidebar-note strong {font-size:21px;font-weight:700;line-height:1.25;display:block}
.sidebar-note p {font-size:14px;line-height:1.65;margin:12px 0;color:#e3eaff}
.sidebar-note a {font-size:14px;font-weight:700;color:#e3ffb4;display:flex;align-items:center;gap:8px;min-height:44px}
.sidebar-note a .icon {width:18px}
.nav-link.small {font-size:15px}
.sidebar-foot {font-size:12px;color:var(--muted);display:flex;align-items:center;gap:7px;padding:17px 4px 0;border-top:1px solid var(--line);margin-top:10px}
.version {margin-left:auto;color:#eef4ff;font-size:12px;background:#343c47;padding:2px 6px;border-radius:5px}
.site-shell {margin-left:244px}
.topbar {min-height:86px;border-bottom:1px solid var(--line);padding:15px 40px;display:flex;align-items:center;justify-content:space-between;gap:16px;background:#1b2027eb}
.breadcrumbs {display:flex;align-items:center;gap:14px;font-size:15px;min-width:0}
.breadcrumbs>span:first-child {font-size:12px;letter-spacing:1px;color:var(--muted)}
.breadcrumbs strong {font-weight:650}.breadcrumb-divider {color:#a4b6d8}
.topbar-actions {display:flex;align-items:center;gap:18px;flex-shrink:0}
.early-access {font-size:13px;display:flex;align-items:center;gap:8px;color:#d7e3f5}
.status-dot {display:inline-block;width:7px;height:7px;border-radius:50%;background:var(--accent);flex-shrink:0;box-shadow:0 0 10px #cefa7a35}
.button {display:inline-flex;align-items:center;justify-content:center;gap:9px;font-size:16px;line-height:1.35;font-weight:700;border:1px solid #657d9e;border-radius:12px;min-height:48px;padding:12px 19px;background:var(--panel2);color:var(--text);transition:background .15s,transform .15s,box-shadow .15s}
.button:hover {background:#3d4855;border-color:#9aaed3;transform:translateY(-1px)}
.button.primary {background:var(--accent);border-color:#e2ffac;color:#233118;box-shadow:0 4px 14px #0d1e2526}
.button.primary:hover {background:#e0ffa8;box-shadow:0 5px 22px #cefa7a2e}
.button.primary .icon {stroke-width:2.2}
.button.quiet {background:#282f38;border-color:#647c9e}
.button.danger {background:#643244;color:#ffe0e5;border-color:#bd6f86}
.button.small {font-size:14px;min-height:44px;padding:10px 14px}
.button .icon {width:20px;height:20px}
.key-button {font-size:14px;min-height:46px;padding:11px 14px;background:#2e3540;border-color:#7d8fae}
.key-button .icon {width:18px}
.guest-avatar {width:40px;height:40px;border-radius:14px;background:#514564;color:#fff;display:grid;place-items:center;font-size:16px;font-weight:700;border:1px solid #9b8aaf}
.icon-button {display:inline-grid;place-items:center;width:44px;height:44px;min-width:44px;min-height:44px;background:#252d38;border:1px solid #73818e;border-radius:10px;color:#e3ecfa}
.icon-button:hover {background:#3a4552;color:#fff;border-color:#a6bfdf}
.mobile-menu {display:none}
main {max-width:1560px;margin:0 auto;padding:36px 40px 56px;min-height:calc(100vh - 190px)}
.eyebrow {display:block;color:var(--accent);font-size:12px;line-height:1.5;letter-spacing:1.3px;font-weight:750;margin-bottom:16px}
.muted {color:var(--muted)}.full {width:100%}
.footer {border-top:1px solid var(--line);margin:0 40px;padding:26px 0;display:flex;align-items:center;gap:22px;font-size:14px;color:var(--muted);flex-wrap:wrap}
.footer>a {font-size:18px;font-weight:750;letter-spacing:-.5px;color:#f7f9ff}
.footer>a span {color:var(--accent)}
.footer>div {margin-left:auto;display:flex;gap:20px;align-items:center}
.footer>div>a {display:inline-flex;align-items:center;min-height:44px}
.footer .icon {width:16px;height:16px;margin-left:5px}
.footer a:hover {color:var(--accent)}
.tag {display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:700;color:#e1eafa;padding:5px 9px;border:1px solid #6f7d8e;border-radius:7px;line-height:1.5;background:#303843}
a.tag {min-height:44px}
.tag.green {color:#e2ffba;border-color:#759b65;background:#2d3b2a}
.tag.purple {color:#efe7ff;border-color:#8f7abf;background:#3d334e}
.section-heading {display:flex;align-items:center;justify-content:space-between;gap:18px;margin:36px 0 23px}
.section-heading h2 {font-size:30px;margin:0}.section-heading p {font-size:16px;margin:8px 0 0}
.section-heading>a {color:#d5e1f6;font-size:14px;display:flex;align-items:center;gap:8px;min-height:44px}
.section-heading>a .icon {width:19px}
.world-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.world-card {min-width:0;border-radius:20px;border:1px solid #4d5765;overflow:hidden;background:linear-gradient(145deg,#2a303b,#242a32);transition:transform .2s,border-color .2s,box-shadow .2s;position:relative;box-shadow:0 9px 25px #0c1a2d33}
.world-card:hover {transform:translateY(-4px);border-color:var(--cyan);box-shadow:0 12px 30px #0a172d66,0 0 0 1px #80dff026}
.world-card:focus-within {outline:3px solid var(--cyan);outline-offset:4px}
.world-card>a {display:block;height:100%}
.world-cover {position:relative;aspect-ratio:1.75;overflow:hidden;background:#252d38}
.world-cover img {width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s}
.world-cover img[src*="action=thumbnail"] {object-fit:contain;background:#253039}
.world-card:hover img {transform:scale(1.025)}
.world-cover:after {content:'';position:absolute;inset:75% 0 0;background:linear-gradient(transparent,#0e1d3740);pointer-events:none}
.cover-labels {position:absolute;z-index:1;top:12px;left:12px;right:12px;display:flex;justify-content:space-between;gap:6px;pointer-events:none}
.cover-labels span {display:flex;align-items:center;gap:6px;border:1px solid #749080;border-radius:7px;padding:5px 8px;color:#efffde;background:#293423f5;font-size:12px;font-weight:700;line-height:1.4}
.cover-labels span:first-child {max-width:calc(100% - 45px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cover-labels span:last-child {background:#242c36f5;border-color:#748bad;color:#fff}
.cover-labels .icon {width:14px;height:14px}
.cover-play {position:absolute;right:14px;bottom:13px;z-index:1;border:1px solid #d6f79c;background:var(--accent);height:44px;width:44px;border-radius:50%;display:grid;place-items:center;color:#213219;box-shadow:0 4px 15px #10213355}
.cover-play .icon {width:18px;height:18px;fill:currentColor}
.world-card-body {padding:21px 20px 18px}
.world-card h3 {font-size:21px;margin:0 0 10px;font-weight:750;letter-spacing:-.35px;line-height:1.25}
.world-card .summary {font-size:16px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;line-height:1.6;min-height:3.2em;margin:0 0 17px;color:#d3def0}
.card-adventure-meta {display:flex;flex-wrap:wrap;gap:7px;margin:0 0 18px}
.card-adventure-meta>span {font-size:12px;border:1px solid #667587;color:#e3edff;background:#303843;border-radius:6px;padding:4px 7px;font-weight:500}
.card-adventure-meta>span:first-child {background:#3b344b;border-color:#9380bb;color:#f1eaff}
.world-meta {display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:13px;color:#c6d5ec;border-top:1px solid #505b69;padding-top:13px}
.world-author {display:flex;align-items:center;gap:8px}
.author-dot {width:26px;height:26px;border-radius:9px;display:grid;place-items:center;background:#584770;color:#fff;font-size:12px;font-weight:700;flex-shrink:0}
.world-count {display:flex;align-items:center;gap:6px}.world-count .icon {width:15px;height:15px}
.world-placeholder {display:grid;place-items:center;min-height:100%;background:radial-gradient(circle at 30% 30%,#77619e,#324d74 55%,#286267);color:var(--accent)}
.world-placeholder .icon {width:70px;height:70px;stroke-width:1.2}
.modal {width:min(530px,calc(100% - 32px));max-height:90dvh;border:1px solid #91a0be;border-radius:24px;background:radial-gradient(circle at top right,#51446455,transparent 48%),#292f39;color:var(--text);padding:30px;box-shadow:0 30px 100px #060f2999}
.modal::backdrop {background:#070f26b8;backdrop-filter:blur(5px)}
.modal-top {display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}
.modal-icon {width:50px;height:50px;background:#cefa7a;color:#263918;border-radius:16px;display:grid;place-items:center;transform:rotate(-5deg)}
.modal h2 {font-size:34px;margin-bottom:17px}
.modal p {font-size:16px;line-height:1.7;color:#d8e4f6}
.modal .eyebrow {font-size:12px}
.modal label,.field-label {display:block;font-size:15px;font-weight:700;margin-bottom:10px}
input,textarea,select {background:#1d232c;border:1px solid #82909f;border-radius:11px;padding:13px 14px;font-size:16px;accent-color:var(--accent)}
input::placeholder,textarea::placeholder {color:#becbe0;opacity:1}
input,select {min-height:48px}
textarea {resize:vertical;width:100%;line-height:1.65}
select {cursor:pointer}
input[type="checkbox"],input[type="radio"] {accent-color:var(--accent)}
.key-input-wrap {position:relative}
.key-input-wrap input {width:100%;padding-right:77px;min-height:54px}
.key-input-wrap button {position:absolute;right:5px;top:5px;min-width:62px;height:44px;padding:0 12px;font-size:14px;background:#38434f;color:#f1f6ff;border-radius:7px;font-weight:650}
.field-note {font-size:14px!important;color:#c6d5ed!important;margin:11px 0 18px;line-height:1.7}
.notice {display:flex;align-items:flex-start;gap:11px;border:1px solid #809b6f;background:#303d2e;border-radius:12px;padding:15px;font-size:16px;color:#e4f4d9;line-height:1.7}
.notice .icon {width:21px;height:21px;margin-top:2px;color:var(--accent)}
.notice a {text-decoration:underline;text-underline-offset:3px}
.form-error {color:var(--danger)!important;font-size:15px;white-space:pre-wrap}
.form-error:empty {display:none}
.key-bottom {display:flex;justify-content:space-between;align-items:center;margin-top:16px;gap:15px;font-size:14px;color:#e0ebfc;flex-wrap:wrap}
.key-bottom>a {min-height:44px;display:inline-flex;align-items:center;text-decoration:underline;text-underline-offset:4px}
.text-button {color:#dce7fb;background:none;padding:8px 0;font-size:14px;min-height:44px;font-weight:600}
.text-button:hover {color:var(--accent);text-decoration:underline;text-underline-offset:4px}
.toast {position:fixed;bottom:25px;left:calc(50% + 110px);transform:translate(-50%,30px);z-index:100;background:#e6facb;color:#233219;padding:15px 21px;border:1px solid #c4eb92;border-radius:14px;box-shadow:0 10px 30px #06142f66;font-size:16px;font-weight:600;opacity:0;pointer-events:none;transition:.2s;max-width:90vw}
.toast.visible {opacity:1;transform:translate(-50%,0)}
.skip-link {position:fixed;top:-100px;left:20px;z-index:1000;background:var(--accent);color:#18250e;padding:12px 18px;border-radius:8px;font-weight:700}
.skip-link:focus {top:10px}
.error-page {max-width:760px;padding:100px 40px}.error-page h1 {margin-top:30px}
.empty-state {padding:48px 30px;text-align:center;grid-column:1/-1;background:var(--panel);border:1px dashed #8da2c5;border-radius:20px}
.empty-state .icon {width:44px;height:44px;color:var(--accent);margin-bottom:18px}.empty-state h3 {font-size:25px}.empty-state p {font-size:16px}
[hidden] {display:none!important}
.loading-spinner {display:inline-block;width:21px;height:21px;border:3px solid #d9f9b4;border-top-color:transparent;border-radius:50%;animation:spin .8s linear infinite}
@keyframes spin {to {transform:rotate(360deg)}}
.sidebar-close {display:none}
@media(min-width:1650px) {main {padding-top:44px}}
@media(max-width:1200px) {
 .sidebar {width:220px;padding-left:14px;padding-right:14px}.site-shell {margin-left:220px}
 .brand {font-size:25px;margin-left:5px}.brand-mark {width:42px;height:47px}.nav-link {font-size:15px;gap:10px}
 .topbar {padding:15px 28px}main {padding:30px 28px 46px}.footer {margin:0 28px}.breadcrumbs>span:first-child,.breadcrumb-divider {display:none}
 .early-access {display:none}.topbar-actions {gap:12px}.world-grid {grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.sidebar-note {padding:18px 14px}
}
@media(max-width:900px) {
 .sidebar {transform:translateX(-100%);transition:transform .2s;width:260px;max-width:calc(100vw - 28px);box-shadow:20px 0 60px #06132988;visibility:hidden}
 .sidebar.open {transform:translateX(0);visibility:visible}.site-shell {margin-left:0}.mobile-menu {display:grid}
 .sidebar-close {display:grid;position:absolute;top:16px;right:16px}.brand {margin-top:56px;margin-bottom:32px}
 .topbar {min-height:78px;padding:14px 24px}.breadcrumbs {margin-right:auto;font-size:15px}.topbar-actions {gap:10px}
 main {padding:30px 24px 44px}.footer {margin:0 24px}.toast {left:50%}.sidebar-spacer {min-height:26px}
}
@media(max-width:620px) {
 .topbar {padding:12px 16px;gap:10px;min-height:76px}.breadcrumbs {font-size:14px}.guest-avatar {display:none}.key-button {font-size:14px;padding:10px 11px;gap:6px}
 main {padding:27px 18px 38px}.world-grid {grid-template-columns:1fr;gap:22px}.world-cover {aspect-ratio:1.75}.world-card-body {padding:20px}.world-card h3 {font-size:23px}
 .section-heading {align-items:flex-start;flex-direction:column;gap:10px}.section-heading h2 {font-size:28px}.section-heading p {font-size:16px}.section-heading>a {font-size:14px}
 .footer {margin:0 18px;gap:8px 20px;align-items:flex-start}.footer>div {margin-left:0;flex-wrap:wrap;gap:14px}.footer>span {width:100%}
 .modal {padding:24px 21px}.modal h2 {font-size:30px}.key-bottom {align-items:flex-start;gap:6px}
 .toast {min-width:240px;text-align:center;font-size:15px}
}
@media(max-width:370px) {
 .topbar {flex-wrap:wrap}.breadcrumbs {order:0;flex:1}.topbar-actions {width:100%;justify-content:flex-end;margin-top:-2px}.key-button {width:100%}
 main {padding-left:16px;padding-right:16px}.world-card-body {padding:18px}.cover-labels {left:9px;right:9px;top:9px}.cover-labels span {font-size:12px;padding:4px 6px}
}
@media(prefers-reduced-motion:reduce) {*,*:before,*:after {scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media(forced-colors:active) {.button,.icon-button,.world-card,.nav-link,.tag {border:1px solid ButtonText}.nav-link.active {outline:2px solid Highlight}.status-dot {background:Highlight}}
.identity-notice{max-width:720px;margin:48px auto;padding:32px;border:1px solid #607080;border-radius:24px;background:#303b46}.identity-notice h1{font-size:clamp(28px,4vw,42px);line-height:1.15}.identity-notice p{font-size:17px;line-height:1.65;margin:20px 0;color:#e4ebf0}

/* Sign-in welcome shared by the modular creator workspaces. */
.creator-gate{display:grid;grid-template-columns:1fr 1fr;gap:clamp(30px,6vw,88px);max-width:1100px;margin:36px auto 72px;align-items:center}
.creator-gate-intro h1{font-size:clamp(36px,4.5vw,62px);line-height:1.08;letter-spacing:-.04em;margin:16px 0 22px}.creator-gate-intro h1 em{font-style:normal;color:var(--accent,#d3e891)}
.creator-gate-intro>p{font-size:18px;line-height:1.7;color:#d0d8e5;max-width:490px}.creator-gate-intro>.text-button{display:inline-flex;align-items:center;gap:10px;margin-top:12px}
.creator-gate-art{position:relative;height:160px;max-width:310px;margin:26px 0}.creator-gate-symbol{position:absolute;top:20px;left:82px;display:grid;place-items:center;width:126px;height:126px;border:1px solid #b8c887;background:linear-gradient(140deg,#58643e,#2e3940);border-radius:35px;transform:rotate(-9deg);box-shadow:0 18px 50px #bddc7530}.creator-gate-symbol>.icon{width:64px;height:64px;color:#e6efc7}.creator-gate-ring{position:absolute;inset:8px 12px;border:1px solid #78877e;border-radius:50%;transform:rotate(-22deg)}.creator-gate-star{position:absolute;right:20px;top:8px;color:#cbb2ef;font-size:38px}.creator-gate-chip{position:absolute;right:0;bottom:0;padding:9px 16px;border:1px solid #8b859b;border-radius:9px;background:#3c3747;color:#e1d3fb;font-size:14px;font-weight:700;transform:rotate(4deg)}
.creator-gate-card{min-width:0;padding:clamp(24px,3vw,40px);background:linear-gradient(140deg,#303b3e,#252f3d);border:1px solid #708072;border-radius:22px;box-shadow:0 20px 64px #0c142530}.creator-gate-card h2{font-size:30px;line-height:1.2;margin:15px 0}.creator-gate-card>p{line-height:1.7;color:#d0d8e5;font-size:16px}.creator-gate-card ul{list-style:none;margin:26px 0;padding:0;display:grid;gap:20px}.creator-gate-card li{display:flex;gap:13px;align-items:flex-start;color:#cbd5e3;font-size:15px;line-height:1.6}.creator-gate-card li>.icon{flex-shrink:0;color:#d3e891;width:23px;height:23px;margin-top:3px}.creator-gate-card li strong{display:block;color:#f3f5fb;font-size:16px;margin-bottom:2px}.creator-gate-card [data-creator-signin] svg{width:20px;height:20px;flex-shrink:0}.creator-gate-card .creator-gate-note{font-size:13px;text-align:center;margin:10px 0 22px}.creator-gate-key{display:flex;gap:10px;border-top:1px solid #677385;padding-top:20px}.creator-gate-key>.icon{flex-shrink:0;width:20px;height:20px;margin-top:4px}.creator-gate-existing{font-size:14px;line-height:1.7;color:#cbd5e3}.creator-gate-existing summary{cursor:pointer;color:#e0e8f6;padding:9px 0;font-weight:600}.creator-gate-existing p{margin-top:6px}.creator-gate a:focus-visible,.creator-gate summary:focus-visible{outline:3px solid #d3e891;outline-offset:4px}
@media(max-width:760px){.creator-gate{grid-template-columns:1fr;max-width:560px;margin-top:24px;gap:28px}.creator-gate-art{height:132px;margin:18px 0}.creator-gate-symbol{width:104px;height:104px}.creator-gate-symbol>.icon{width:52px;height:52px}.creator-gate-intro h1{font-size:40px}.creator-gate-card{padding:24px}}
@media(max-width:380px){.creator-gate-intro h1{font-size:34px}.creator-gate-card{padding:20px}.creator-gate-card h2{font-size:27px}}
