/* The community workspace stays within PLI's Sora / slate / ivory / amber UI. */
.community-editor{position:fixed;inset:0;z-index:140;display:flex;flex-direction:column;color:#e6eadd;font:12px 'Sora',sans-serif}.community-editor[hidden],.community-tutorial[hidden],.community-help-panel[hidden]{display:none}
.community-editor button,.community-editor input,.community-editor select{font:inherit;color:inherit;box-sizing:border-box}.community-editor button{border:1px solid #91aaa540;background:#243e49;border-radius:9px;padding:9px 12px;min-height:38px;text-transform:none;letter-spacing:0;cursor:pointer}.community-editor button:hover{background:#34515c}.community-editor button:disabled{opacity:.4;cursor:default}.community-editor :focus-visible{outline:2px solid #f0d09c;outline-offset:2px}.community-editor button.primary{background:#e3c697;color:#192e37;min-height:42px;font-size:13px;padding:10px 22px}
.community-toolbar{display:flex;gap:14px;align-items:center;justify-content:space-between;background:#142d38f5;padding:12px 20px;border-bottom:1px solid #90aaa52b;min-height:66px;box-sizing:border-box}.community-toolbar>.eyebrow{font-size:10px;white-space:nowrap;color:#b0c7ba}.community-toolbar input{border:0;border-bottom:1px solid #b7c4b13a;border-radius:0;background:transparent;min-width:0;max-width:340px;flex:1;font-size:18px;font-weight:500;padding:8px 2px}.community-toolbar nav{display:flex;gap:7px;align-items:center}
.community-workspace{display:grid;grid-template-columns:216px minmax(240px,1fr) 250px;flex:1;min-height:0}.community-palette,.community-properties{background:#19313df5;overflow:auto;overscroll-behavior:contain;padding:18px;border-right:1px solid #829d962b}.community-properties{border-left:1px solid #829d962b;border-right:0}.community-editor h3{font-size:15px;font-weight:500;margin:0 0 15px}.community-categories{display:grid;grid-template-columns:1fr 1fr;gap:4px}.community-categories button{font-size:10px;padding:8px 4px;min-height:34px}.community-categories [aria-pressed=true]{background:#3a535e;border-color:#ccb88b}.community-tools{display:grid;gap:8px;margin:18px 0}.community-tools button{min-height:62px;text-align:left;font-size:12px;background:#1d3b48}.community-tools [aria-pressed=true]{background:#49616a;border-color:#e5c18b;color:#ffe8bb}.community-selection-tools{display:grid;gap:6px;border-top:1px solid #8eaaa42b;padding-top:15px}.community-selection-tools [aria-pressed=true]{border-color:#d8bd89}.community-layer{display:flex;gap:10px;align-items:center;justify-content:space-between;margin-top:18px;color:#aec6b8}.community-layer button{padding:6px 12px;min-height:34px}
.community-viewport{position:relative;overflow:hidden;touch-action:none;cursor:crosshair}.community-camera-tools{position:absolute;left:14px;top:12px;display:flex;gap:5px;z-index:3}.community-camera-tools button{font-size:10px;padding:6px 10px;min-height:30px;background:#1e3741d9}.community-camera-note{position:absolute;left:18px;right:18px;bottom:12px;color:#a8bdb4;font-size:10px;line-height:1.7;pointer-events:none;margin:0;text-shadow:0 1px 4px #0a1924}.community-properties{display:flex;flex-direction:column;gap:10px}.community-properties h3{margin:10px 0 3px}.community-properties label{display:flex;flex-direction:column;gap:7px;font-size:11px;color:#c3d3c9}.community-properties select{background:#102935;border:1px solid #8da69f42;border-radius:7px;padding:9px;width:100%}.community-checks{font-size:11px;line-height:1.8;color:#b8cfb9}.community-checks p{margin:7px 0}.community-property-buttons{display:flex;gap:6px}.community-property-buttons button{font-size:10px;flex:1;padding:8px}.community-properties details{font-size:11px;line-height:1.8}.community-properties summary{cursor:pointer;color:#d6c39f;margin:8px 0}.community-properties details label{display:flex;flex-direction:row;margin:6px 0}.community-properties input[type=checkbox]{accent-color:#d8bc86}.community-footer{background:#102935;border-top:1px solid #8fa59e2b;min-height:37px;box-sizing:border-box;padding:10px 20px;font-size:11px;color:#c3d4c4}.community-footer .error{color:#edb49b}
.community-tutorial{position:absolute;left:235px;bottom:70px;width:300px;max-width:calc(100% - 280px);padding:19px;background:#1c3948f5;border:1px solid #e1c79660;border-radius:12px;box-shadow:0 10px 35px #0005}.community-tutorial small{font-size:9px;letter-spacing:1px;color:#dac69d}.community-tutorial p{font-size:14px;line-height:1.7;margin:10px 0 15px}.community-tutorial>div{display:flex;gap:8px}.community-editor .tutorial-focus{outline:2px solid #f3d398;outline-offset:3px;box-shadow:0 0 20px #e6bf6b22}.community-help-panel{position:absolute;inset:80px max(22px,20%) auto;background:#1a3342fa;padding:28px;border:1px solid #c8c6ab50;border-radius:14px;box-shadow:0 15px 60px #0008;max-height:calc(100% - 125px);overflow:auto}.community-help-panel p{font-size:13px;line-height:1.8;color:#c0d0c6}.community-help-panel button{margin:7px 7px 0 0}
body.editing-community>header,body.editing-community #intro,body.editing-community #hud,body.editing-community #dev-badge,body.editing-community #wallet,body.editing-community #save-status,body.editing-community .grain,body.editing-community .frame{visibility:hidden;pointer-events:none}
.main-menu .online-entry,.menu-links .online-entry,#menu-multiplayer{grid-column:1/-1;display:flex;gap:12px;align-items:center;justify-content:center;padding:15px 18px;border:1px solid #a5b7a135;border-radius:9px;background:#25404a65;font-size:13px;letter-spacing:1px;color:#dcc89f}#menu-multiplayer svg{width:16px;height:16px}.workshop[data-page^=community] .workshop-card{max-width:900px;width:min(900px,calc(100vw - 48px))}.community-lead{font-size:15px;line-height:1.8;color:#c3d2c5;max-width:650px}.community-hub-nav{display:flex;gap:14px;flex-wrap:wrap;margin:18px 0 24px}.community-hub-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.community-hub-card{display:flex;flex-direction:column;gap:16px;align-items:flex-start;text-align:left;padding:24px;background:#203b46a0;border:1px solid #97aaa22b;border-radius:12px;color:#e0e6d4;font:500 15px 'Sora',sans-serif;cursor:pointer;min-height:190px}.community-hub-card span{font-size:34px;color:#dfc393;font-weight:400}.community-hub-card small{font-size:11px;line-height:1.8;font-weight:400;color:#a8c0b3}.community-hub-card:hover{background:#2d4752}.community-future{display:flex;gap:12px;margin:25px 0}.community-future button{background:transparent;border:1px solid #78978e30;border-radius:8px;padding:9px 13px;color:#829d95;font:10px 'Sora',sans-serif}.community-empty{text-align:center;padding:34px 20px;border:1px solid #93aca12b;border-radius:12px;margin:20px 0;background:#18354255}.community-empty>span{font-size:40px;color:#cfba90}.community-empty h3{font-size:17px;font-weight:500}.community-empty p{font-size:12px;line-height:1.9;color:#a7beb3}.community-lock{font-size:54px;color:#d3bd94;margin:10px 0 25px}.community-level-list{display:grid;grid-template-columns:1fr 1fr;gap:12px}.community-level-card{border:1px solid #94ada12b;padding:22px;border-radius:12px;background:#1e3a4655}.community-level-card h3{font-size:17px;font-weight:500;overflow-wrap:anywhere;margin:0 0 8px}.community-card-status{font-size:10px;color:#c5cba9}.community-card-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:15px}.community-card-actions .text-button{font-size:10px;min-height:28px}.community-level-card input,#community-create-form input{font:14px 'Sora',sans-serif;color:#e1e7d6;background:#142e3a;border:1px solid #a4b6a73a;border-radius:8px;padding:12px;width:100%;box-sizing:border-box;margin:12px 0}.community-level-card form button{font:12px 'Sora',sans-serif;border:1px solid #b5bda540;border-radius:7px;background:#294752;color:#e1d9bd;padding:8px 12px}#community-create-form{max-width:500px;margin:25px 0}#community-create-form label{font-size:12px;color:#c3d1c2}#community-create-form .primary{margin-top:16px}.community-delete-confirm{padding-top:15px;font-size:12px}
@media(max-width:1000px){.community-workspace{grid-template-columns:180px minmax(220px,1fr) 220px}.community-toolbar{gap:10px;padding:10px 12px}.community-toolbar>.eyebrow{display:none}.community-toolbar input{font-size:16px}.community-toolbar nav{gap:5px}.community-toolbar button{padding:8px 10px;font-size:11px}.community-palette,.community-properties{padding:12px}.community-tutorial{left:195px}.community-hub-grid{grid-template-columns:1fr}.community-hub-card{min-height:130px;gap:10px}.community-level-list{grid-template-columns:1fr}}
@media(max-width:700px){.community-workspace{grid-template-columns:155px minmax(180px,1fr) 210px;overflow-x:auto}.community-toolbar{flex-wrap:wrap}.community-toolbar input{max-width:none;width:100%;flex:auto}.community-toolbar nav{width:100%;justify-content:space-between}.community-camera-note{display:none}.community-tutorial{left:165px;width:220px;max-width:calc(100% - 205px);padding:14px}.community-tutorial p{font-size:12px}.community-help-panel{inset:125px 15px auto;max-height:calc(100% - 180px)}.community-future{flex-wrap:wrap}}
@media(max-width:700px){.community-toolbar nav{flex-wrap:wrap;gap:4px}.community-toolbar button{padding:7px;font-size:10px;min-width:30px}.community-toolbar button.primary{width:auto;min-width:70px;flex:1;padding:8px;font-size:11px}.community-toolbar input{width:100%;box-sizing:border-box}.community-footer{overflow-wrap:anywhere}}
.community-schema{white-space:pre-wrap;overflow-wrap:anywhere;max-height:420px;overflow:auto;border:1px solid #829d9630;padding:16px;border-radius:9px;font:11px/1.7 monospace;color:#c6d9ce}
