
:root{--ink:#242431;--muted:#656674;--line:#e5e5ed;--blue:#3b49ed;--pale:#f4f5ff;--yellow:#ffe74b;--pink:#ed3883}*{box-sizing:border-box}body{margin:0;background:#fff;color:var(--ink);font:16px/1.55 system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer;background:none;border:0;color:inherit}a{color:var(--blue);text-decoration:none}a:hover{text-decoration:underline}button,input,select{min-height:44px}button:disabled{cursor:not-allowed;color:#7c7d88;background:#f3f3f6}button:hover:not(:disabled){filter:brightness(.97)}:focus-visible{outline:3px solid var(--blue);outline-offset:4px}h1,h2,h3,p{margin:0}h1,h2,h3{font-family:Georgia,'Times New Roman',serif;font-weight:500;letter-spacing:-.035em}h1{font-size:clamp(42px,5.2vw,64px);line-height:1.08}h2{font-size:29px;line-height:1.2}h3{font-size:25px;line-height:1.2}[hidden]{display:none!important}.wrap{max-width:1192px;margin:auto;padding:0 38px}.skip{position:fixed;top:-100px;background:white;z-index:30;padding:10px}.skip:focus{top:8px}.prototype{background:var(--pale);border-bottom:1px solid var(--line);font-size:12px}.prototype .wrap{min-height:38px;display:flex;align-items:center;justify-content:space-between;gap:16px}.prototype button{min-height:36px;color:var(--blue);font-size:12px;text-align:right}.header{border-bottom:1px solid var(--line)}.header-row{display:flex;align-items:center;gap:32px;min-height:82px}.brand{font-size:28px;font-weight:750;letter-spacing:-1.5px;color:var(--ink);white-space:nowrap}.brand b{color:var(--pink)}.brand:hover{text-decoration:none}.nav{display:flex;gap:22px;align-items:center}.nav a{font-size:14px;color:var(--muted);padding:25px 0;white-space:nowrap}.nav .active{color:var(--blue);font-weight:650;border-bottom:3px solid var(--blue)}.header-right{display:flex;gap:12px;margin-left:auto;align-items:center}.secondary{border:1px solid var(--line);border-radius:9px;padding:9px 15px;font-size:14px;background:white;display:inline-flex;gap:9px;align-items:center;justify-content:center;min-height:44px}.primary{border-radius:9px;padding:10px 22px;background:var(--blue);color:#fff;font-size:14px;font-weight:650;display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:46px}.primary:hover{text-decoration:none}.quiet{color:var(--blue);padding:8px 0;font-size:14px}.icon{display:inline-flex;width:19px;height:19px;flex:none}.hero{display:grid;grid-template-columns:1.4fr 1fr;align-items:center;min-height:270px;gap:24px;padding-top:15px;padding-bottom:15px}.eyebrow{font-size:11px;letter-spacing:.15em;font-weight:700;color:var(--blue);text-transform:uppercase;margin-bottom:13px}.hero h1 em{font-style:normal;color:var(--blue)}.hero p{max-width:520px;color:var(--muted);margin-top:18px;font-size:17px}.hero-art{width:100%;max-height:250px;object-fit:contain;object-position:60% 50%}.searchbar{display:flex;gap:14px;align-items:end}.search-area{flex:1;min-width:0}.search-area label{font-size:13px;font-weight:650;display:block;margin-bottom:7px}.searchbox{display:flex;align-items:center;padding:6px 6px 6px 17px;border:1.5px solid #c8cbed;border-radius:13px;gap:9px;background:#fff;box-shadow:0 6px 24px #313b9c06}.searchbox:focus-within{outline:2px solid #d6d9ff;border-color:var(--blue)}.searchbox input{border:0;outline:0;min-width:0;flex:1;padding:8px 0;font-size:16px;background:transparent}.searchbox input:focus-visible{outline:none}.filterbutton{min-height:59px;min-width:120px}.scope{margin:11px 0 0;font-size:12px;color:var(--muted);display:flex;gap:7px;align-items:center}.toolbar{display:flex;align-items:center;justify-content:space-between;margin:30px 0 19px;gap:16px}.toolbar .sub{font-size:13px;color:var(--muted);margin-top:5px}.sort-summary{font-size:12px;color:var(--muted);white-space:nowrap}.chips{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}.chip{border-radius:30px;border:1px solid #cfd2f8;background:var(--pale);color:var(--blue);font-size:12px;padding:7px 12px;min-height:36px}.grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.card{border:1px solid var(--line);border-radius:15px;padding:23px;display:flex;flex-direction:column;position:relative;background:white;min-width:0;transition:box-shadow .15s,border-color .15s}.card:hover{box-shadow:0 10px 25px #292c5b08;border-color:#c4c8ee}.card-top{display:flex;gap:20px;align-items:center;margin-bottom:18px;min-height:84px}.card-art{height:84px;width:108px;border-radius:10px;background:var(--pale);flex:none;overflow:hidden;display:grid;place-items:center}.card-art svg{width:100%;height:100%}.card-heading{min-width:0}.badge{font-size:10px;letter-spacing:.035em;border:1px solid #dfdfea;background:#f7f7fb;border-radius:4px;padding:3px 6px;display:inline-block;font-weight:600;margin-bottom:7px}.real{color:#3d4188;background:#eff0ff;border-color:#dedffc}.byline{font-size:12px;color:var(--muted);margin-top:5px}.description{font-size:15px;line-height:1.65;margin-bottom:16px;flex:1}.tags{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:17px}.tag{font-size:11px;color:#595b6e;background:#f6f6fa;padding:3px 8px;border-radius:5px}.card-bottom{border-top:1px solid #eeeef4;padding-top:12px;display:flex;justify-content:space-between;align-items:center;gap:12px}.card-bottom a{font-size:13px;font-weight:650;padding:6px 0}.card-bottom .meta{font-size:11px;color:var(--muted)}.card-bottom .meta button{font-size:11px;color:var(--muted);padding:0;min-height:32px;text-decoration:underline;text-underline-offset:3px}.empty{grid-column:1/-1;padding:48px 20px;text-align:center;border:1px dashed #c7c9df;border-radius:15px;background:#fcfcff}.empty p{color:var(--muted);margin:12px 0 20px}.directory-note{color:var(--muted);font-size:12px;margin:20px 0 38px;max-width:800px}.bottom{display:flex;justify-content:space-between;align-items:center;gap:28px;border-top:1px solid var(--line);padding:27px 0 33px}.bottom h2{font-size:24px}.bottom p{color:var(--muted);font-size:14px;margin-top:7px}.bottom .secondary{white-space:nowrap}.footer{border-top:1px solid var(--line);padding:22px 0 30px;font-size:12px;color:var(--muted)}.foot-row{display:flex;gap:20px;justify-content:space-between;flex-wrap:wrap}.foot-links{display:flex;gap:20px;flex-wrap:wrap}.footer button,.footer a{font-size:12px;color:var(--muted);padding:0;min-height:28px}.footer strong{color:var(--ink)}dialog{width:min(650px,calc(100% - 28px));max-height:88dvh;border:1px solid var(--line);border-radius:17px;padding:0;box-shadow:0 30px 100px #24243130;color:var(--ink)}dialog::backdrop{background:#191c3c66;backdrop-filter:blur(3px)}.modal-head{padding:23px 25px 18px;display:flex;justify-content:space-between;gap:20px;align-items:center;border-bottom:1px solid var(--line)}.modal-head h2{font-size:28px}.close{width:44px;font-size:27px}.modal-body{padding:22px 25px;overflow:auto;max-height:calc(88dvh - 165px);font-size:14px}.modal-body p+p{margin-top:12px}.modal-body h3{font-size:21px;margin:23px 0 9px}.modal-body h3:first-child{margin-top:0}.modal-body ul{padding-left:20px}.modal-body li+li{margin-top:9px}.modal-foot{padding:14px 25px;display:flex;gap:10px;justify-content:flex-end;border-top:1px solid var(--line)}.fields{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:20px 0}.fields label{font-size:12px;font-weight:650}.fields select{display:block;width:100%;padding:8px;margin-top:6px;border:1px solid #cdd0df;border-radius:8px;background:#fff;color:var(--ink)}.note{background:var(--pale);border-radius:10px;padding:14px 16px;color:#4d506e;font-size:13px}.note a{text-decoration:underline}.modal-body details{border-top:1px solid var(--line);padding-top:16px;margin-top:20px}.modal-body summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-weight:600}.advanced-list{display:grid;gap:12px;margin:12px 0}.advanced-list div{border:1px solid var(--line);padding:11px;border-radius:8px;font-size:12px}.advanced-list strong{display:block;font-size:13px;margin-bottom:4px}.state-controls{display:flex;flex-wrap:wrap;gap:8px;margin:15px 0}.small{font-size:12px;color:var(--muted)}.error{border:1px solid #d5d7ef;background:var(--pale);border-radius:10px;padding:16px;margin-bottom:17px;font-size:14px}.skeleton{height:280px;border-radius:15px;border:1px solid var(--line);padding:25px;background:#fff}.skeleton span{display:block;background:#f0f0f6;border-radius:6px;height:17px;margin-bottom:20px}.skeleton span:first-child{height:75px;width:85px}.skeleton span:last-child{width:55%}.screen-reader{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.mobile-more{display:none}@media(max-width:1000px){.nav{gap:15px}.header-row{gap:22px}.nav .optional{display:none}.wrap{padding:0 27px}.header-right .lang{display:none}}@media(max-width:720px){.wrap{padding:0 19px}.prototype .wrap{gap:10px}.prototype .hint{display:none}.header-row{flex-wrap:wrap;gap:0;min-height:73px;padding-top:17px}.brand{font-size:26px}.header-right{gap:4px}.header-right .secondary{border:0;padding:4px 9px}.nav{order:3;width:100%;overflow:auto;gap:25px;margin-top:8px}.nav a{padding:10px 0;font-size:13px}.nav .optional{display:block}.hero{grid-template-columns:1.4fr .8fr;min-height:230px;gap:7px;padding-top:22px;padding-bottom:22px}.hero h1{font-size:42px}.hero p{font-size:14px;margin-top:13px}.hero-art{max-height:180px}.eyebrow{font-size:9px;margin-bottom:10px}.searchbar{gap:8px;flex-wrap:wrap}.search-area{flex-basis:100%}.filterbutton{min-height:40px;min-width:0;margin-top:1px;padding:6px 12px}.scope{font-size:11px;margin-top:9px}.toolbar{margin-top:24px;align-items:start}.toolbar h2{font-size:26px}.sort-summary{max-width:115px;text-align:right;white-space:normal;font-size:11px}.grid{grid-template-columns:1fr;gap:14px}.card{padding:20px}.bottom{align-items:start;flex-direction:column;gap:16px}.fields{grid-template-columns:1fr}.modal-head,.modal-body,.modal-foot{padding-left:19px;padding-right:19px}}@media(max-width:390px){.hero{grid-template-columns:1fr}.hero-art{display:none}.hero{min-height:210px}.searchbox .primary{padding:10px 14px}.card-art{width:82px;height:76px}.card-top{gap:15px}.header-right .secondary{font-size:12px}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}

/* Scoped integration with the existing canonical shell; every route and language
   remains reachable at all widths. No changes to other surfaces. */
body[data-worlds-design-v11]{--text:var(--ink);--accent:var(--blue);--paper:#fff;--bg:#fff;background:#fff}
body[data-worlds-design-v11] .flameseek-global-shell{position:relative;background:#fff;border-bottom:1px solid var(--line);backdrop-filter:none}
body[data-worlds-design-v11] .header-inner{max-width:1192px;margin:auto;padding:0 38px;min-height:82px;gap:20px;display:flex;flex-wrap:wrap;align-items:center}
body[data-worlds-design-v11] .flameseek-global-shell .brand{font:750 28px/1.2 system-ui;letter-spacing:-1.5px;color:var(--ink);margin:0;flex:none}
body[data-worlds-design-v11] .brand span{color:var(--ink)}body[data-worlds-design-v11] .brand:after{content:".";color:var(--pink)}
body[data-worlds-design-v11] .topnav{display:flex!important;align-items:center;gap:12px;flex:1;min-width:0;flex-wrap:wrap;overflow:visible}
body[data-worlds-design-v11] .topnav .nav-btn{display:inline-flex!important;min-height:44px;align-items:center;padding:8px 0;font-size:12px;white-space:nowrap;color:var(--muted);background:none;border:0;border-radius:0}
body[data-worlds-design-v11] .topnav .active{color:var(--blue);border-bottom:3px solid var(--blue);font-weight:700}
body[data-worlds-design-v11] .right-actions{display:flex!important;align-items:center;gap:10px;margin-left:auto}
body[data-worlds-design-v11] .right-actions .lang{display:inline-flex!important;align-items:center;justify-content:center;min-height:44px;font-size:13px;background:#fff;border:1px solid var(--line);border-radius:9px}
body[data-worlds-design-v11] .world-btn{display:flex;align-items:center;min-height:44px;background:#fff;color:var(--ink);border:1px solid var(--line);border-radius:9px;padding:7px 12px}
body[data-worlds-design-v11] .world-btn small,body[data-worlds-design-v11] .world-btn .world-mark{display:none}
body[data-worlds-design-v11] .world-btn strong{font-size:13px;font-weight:600}
body[data-worlds-design-v11] .flamep-link{font-size:12px}
.worlds-hero{display:grid;grid-template-columns:1.4fr 1fr;align-items:center;min-height:270px;gap:24px;padding-top:15px;padding-bottom:15px}
.worlds-hero h1 em{font-style:normal;color:var(--blue)}.worlds-hero p{max-width:520px;color:var(--muted);margin-top:18px;font-size:17px}
#worldGrid .world-card{min-width:0;overflow-wrap:anywhere}#worldGrid .world-link{min-height:44px;display:inline-flex;align-items:center}
#worldGrid .card-art{width:108px;height:84px}#worldGrid .card-art svg{width:100%;height:100%}
#worldGrid .world-card h3{margin:0;font-size:25px}.world-card [data-original-source]{overflow-wrap:anywhere}
.worlds-sort{max-width:200px;min-height:44px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);font-size:12px;padding:6px}
#requested-status,#dialog-basis{font-size:13px;color:var(--muted);margin:10px 0}
#worldNotice{padding:14px 0;color:var(--muted)}#worldNotice:empty{padding:0}
#filter-dialog fieldset{min-width:0;border:1px solid var(--line);border-radius:10px;margin:12px 0;padding:12px}
#filter-dialog legend{font-size:13px;font-weight:650}#filter-dialog .choices{display:flex;flex-wrap:wrap;gap:8px}
#filter-dialog .choices button{border:1px solid var(--line);border-radius:7px;padding:7px 10px;font-size:13px;min-height:44px}
#filter-dialog .choices button[aria-pressed=true]{background:var(--pale);border-color:var(--blue);color:var(--blue)}
#filter-dialog select,#filter-dialog input{max-width:100%;border:1px solid var(--line);border-radius:8px;padding:8px;background:#fff;color:var(--ink)}
#filter-dialog label{display:block}.full-width{width:100%}.dialog-actions{display:flex;gap:8px;flex-wrap:wrap}
#filter-message{color:#902146}.tag{overflow-wrap:anywhere}.chip{min-height:44px}
.badge{color:#4c4d5a}.byline{overflow-wrap:anywhere}
.error p{margin:8px 0}.error .quiet{min-height:44px;margin-right:16px}
#worldGrid[aria-busy=true]{opacity:.8}#worlds-status{min-height:24px}.footer button,.footer a{min-height:44px;display:inline-flex;align-items:center}
button:disabled{color:#595b68}dialog .modal-foot{flex-wrap:wrap}dialog .modal-body{max-height:calc(88dvh - 190px)}
@media(max-width:1100px){
 body[data-worlds-design-v11] .header-inner{padding:12px 27px;gap:8px 20px}
 body[data-worlds-design-v11] .topnav{order:3;flex-basis:100%;flex-wrap:wrap;gap:8px 18px}
 body[data-worlds-design-v11] .right-actions .lang{display:inline-flex!important}
}
@media(max-width:720px){
 body[data-worlds-design-v11] .header-inner{padding:10px 19px;gap:6px}
 body[data-worlds-design-v11] .brand{font-size:25px!important}
 body[data-worlds-design-v11] .right-actions{gap:5px}
 body[data-worlds-design-v11] .flamep-link{display:none}
 body[data-worlds-design-v11] .topnav{gap:3px 17px}
 .worlds-hero{grid-template-columns:1.4fr .8fr;min-height:230px;gap:7px;padding-top:22px;padding-bottom:22px}
 .worlds-hero h1{font-size:42px}.worlds-hero p{font-size:14px;margin-top:13px}
 .toolbar{flex-wrap:wrap}.worlds-sort{max-width:100%}.scope{display:block}.searchbox input{width:0}
}
@media(max-width:390px){.worlds-hero{grid-template-columns:1fr;min-height:210px}.worlds-hero .hero-art{display:none}#worldGrid .card-art{width:82px;height:76px}.right-actions .world-btn{padding:6px}.right-actions .world-btn strong{font-size:12px}}

summary{min-height:44px;cursor:pointer;padding:8px 0}pre{white-space:pre-wrap;overflow-wrap:anywhere}#tool-dialog .foot-links{display:flex;flex-wrap:wrap;gap:12px}#tool-dialog .foot-links a{min-height:44px;display:inline-flex;align-items:center}

/* Retain diagnostic metadata and endpoint, outside the public layout. */
body[data-worlds-design-v11] #foundry-release-surface{display:none!important}
