body.shop-page .spaces-shell{max-width:1440px}.spaces-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}.spaces-heading h1{font-size:24px!important;margin:0!important}.spaces-heading p{font-size:13px;margin:5px 0 0;color:#caa1a9}.spaces-toolbar{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:14px 0}.spaces-toolbar .shop-button{min-height:36px;font-size:12px;padding:8px 12px}.spaces-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:14px}.space-card{border:1px solid #ffffff1c;background:#1c0f12;border-radius:12px;overflow:hidden}.space-card>a{display:block;text-decoration:none;color:inherit}.space-card img{display:block;width:100%;height:130px;object-fit:cover}.space-card-copy{padding:15px}.space-card h2{font:700 16px/1.3 Manrope,sans-serif!important;margin:5px 0 8px!important;text-transform:none!important}.space-card p{font-size:12px;line-height:1.5;margin:0;color:#c6aeaa}.space-badge{display:inline-flex;align-items:center;gap:6px;font-size:11px;color:#e9bab3}.space-badge svg{width:16px;height:16px}.space-cover>img{width:100%;height:100%;object-fit:cover}.space-avatar{width:64px;height:64px;border-radius:14px;object-fit:cover;flex:none;background:#501b25;padding:0}.space-avatar-placeholder{display:grid;place-items:center}.space-avatar-placeholder svg{width:30px;height:30px}.space-body{max-width:100%;min-width:0}.space-editor form{display:grid;gap:12px}.space-editor fieldset{border:1px solid #ffffff22;border-radius:8px;padding:12px;min-width:0}.space-editor fieldset label{display:flex;align-items:center;margin:7px 0}.space-editor fieldset input[type=checkbox]{width:16px;flex:none}.space-editor .space-art-controls{display:flex;gap:8px;flex-wrap:wrap}.space-editor .space-art-preview{width:100%;height:140px;object-fit:cover;border-radius:8px}.space-editor input[type=range]{padding:0}.space-member-row{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px;padding:12px;border-bottom:1px solid #ffffff18;font-size:13px}.space-member-row>div{display:flex;gap:6px;flex-wrap:wrap}.space-comment-list{display:grid;gap:12px;margin-top:14px}.space-comment{font-size:12px;border-radius:12px;background:#301a1e;padding:10px 12px}.space-comment p{white-space:pre-wrap;margin:4px 0;overflow-wrap:anywhere}.space-comment.is-reply{margin-left:24px}.space-comment-actions{display:flex;gap:12px}.space-comment-actions button{font-size:11px}.space-comment-form{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.space-comment-form textarea{flex:1;min-width:150px;min-height:44px;background:#2c171b;color:#eee;border:1px solid #ffffff20;border-radius:10px;padding:10px;font:400 13px Manrope,sans-serif}.space-comment-form>small{flex-basis:100%}.space-composer{padding:16px;margin-bottom:16px;background:#201215;border:1px solid #ffffff20;border-radius:12px}.space-composer textarea{box-sizing:border-box;width:100%;min-height:70px;resize:vertical;background:#2e191d;color:#eee;padding:12px;border-radius:9px;border:1px solid #ffffff25;font:400 13px/1.5 Manrope,sans-serif}.space-compose-tools{display:flex;gap:7px;flex-wrap:wrap;align-items:center;margin-top:10px}.space-compose-tools>button:last-child{margin-left:auto}.space-compose-preview{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}.space-compose-preview img{width:90px;height:75px;object-fit:cover}.space-compose-preview button{position:relative;padding:0!important}.space-compose-preview video{width:180px;height:110px}.space-media-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:8px}.space-media-grid button{padding:0;border:0;background:#231316;cursor:pointer;overflow:hidden;border-radius:8px}.space-media-grid :is(img,video){display:block;width:100%;height:180px;object-fit:cover}.space-chat{max-width:850px;margin:auto}.space-chat .shop-post{padding:14px}.space-alert{padding:12px;background:#381e23;border:1px solid #ffffff20;border-radius:8px;font-size:12px;margin:12px 0}.space-media-dialog{position:fixed;inset:0;box-sizing:border-box;width:100vw;max-width:none;height:100dvh;max-height:none;margin:0;padding:0;background:#0d0809;color:#eee;border:0}.space-media-dialog[open]{display:grid;grid-template-columns:minmax(0,1fr) 360px}.space-media-stage{position:relative;display:flex;align-items:center;justify-content:center;min-width:0;min-height:0;padding:54px 45px;box-sizing:border-box}.space-media-stage>img,.space-media-stage>video{max-width:100%;max-height:100%;object-fit:contain}.space-media-dialog>aside{overflow:auto;border-left:1px solid #ffffff20;background:#1e1013;padding:20px}.space-media-dialog>aside h2{font:700 15px Manrope,sans-serif!important}.space-media-close{position:absolute;top:12px;left:12px}.space-media-prev,.space-media-next{position:absolute;top:50%;width:36px;min-height:36px}.space-media-prev{left:8px}.space-media-next{right:8px}.space-media-dialog button svg{width:20px;height:20px}.mars-sidebar .space-sidebar-list{display:grid;gap:2px;max-height:180px;overflow:auto;margin:0 10px 8px}.mars-sidebar .space-sidebar-list>a{display:flex;align-items:center;gap:8px;padding:8px;border-radius:7px;text-decoration:none;color:#cfb2ae;font-size:11px}.space-sidebar-list svg{width:15px;height:15px;flex:none}.space-sidebar-list>a:hover{background:#42252b}.spaces-shell button:focus-visible{outline:2px solid #ff806b;outline-offset:3px}.spaces-shell [hidden]{display:none!important}@media(max-width:700px){.space-media-dialog[open]{grid-template-columns:1fr;grid-template-rows:55dvh minmax(0,1fr)}.space-media-dialog>aside{border-left:0;border-top:1px solid #ffffff20}.spaces-heading{align-items:flex-start;flex-wrap:wrap}.space-identity h1{font-size:20px!important}.space-avatar{width:48px;height:48px}.space-cover{height:180px}}

.space-poll{display:grid;gap:7px;margin:14px 0}.space-poll .shop-button{justify-content:space-between}.space-poll .shop-button[aria-pressed=true]{border-color:#ff6347;background:#4d282f}.space-member-row select,.spaces-toolbar select{background:#2b161a;color:#eee;border:1px solid #ffffff28;border-radius:7px;padding:8px;font:400 12px Manrope,sans-serif}.space-art-preview{max-width:100%;object-fit:cover}.space-card-copy .space-badge{font-family:Manrope,sans-serif}

/* The same profile unit used by Comic Shops: cover, identity, tabs and feed. */
body.shop-page .spaces-shell{padding-top:20px}
.space-cover.shop-banner{background:linear-gradient(125deg,#501b25,#190d10)}
.space-identity .shop-avatar>svg{width:42px;height:42px}
.space-identity .space-badge{margin-top:3px;font:500 11px/1.5 Manrope,sans-serif}




.space-feed{max-width:none;margin:0;min-width:0}
.space-intro-copy{font:400 13px/1.7 Manrope,sans-serif;white-space:pre-wrap;overflow-wrap:anywhere;color:#c8b5b5}







.space-editor .space-cover-crop{height:auto;aspect-ratio:3.1/1;cursor:grab;touch-action:none;user-select:none}
.space-editor .space-cover-crop:active{cursor:grabbing}
.space-editor [hidden]{display:none!important}
.space-editor [data-art=avatar]{width:112px;height:112px;border-radius:50%;margin:auto;object-fit:cover}
.spaces-shell [data-spaces-status]:empty{display:none}
@media(max-width:700px){body.shop-page .spaces-shell{padding-top:12px}}

body.shop-page .spaces-grid.shop-directory{grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),280px));gap:16px;justify-content:start;align-items:stretch}
.space-directory-placeholder{display:grid!important;place-items:center;background:linear-gradient(125deg,#501b25,#190d10)}
.space-directory-placeholder svg{width:44px;height:44px;color:#efb7ad}
.space-directory-card .shop-avatar>svg{width:20px;height:20px}
.space-directory-card .space-badge{margin-top:8px;min-height:17px;font:500 10px/1.4 Manrope,sans-serif}
body.shop-page .space-directory-card .shop-discovery-follow{margin-top:10px;min-height:34px;font-size:11px;padding:7px 8px}
@container(max-width:520px){body.shop-page .spaces-grid.shop-directory{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}
@container(max-width:340px){body.shop-page .spaces-grid.shop-directory{grid-template-columns:1fr}}
