.profile-hero{position:relative;padding:0 30px 28px;overflow:hidden;background:var(--surface)!important;color:var(--text)!important}.profile-cover{height:165px;margin:0 -30px 0;position:relative;overflow:hidden;background:linear-gradient(110deg,#d2e7d4,#eaf1da 50%,#f8e0d4)}.profile-cover>span{position:absolute;left:30px;top:35px;z-index:1;font-size:11px;letter-spacing:3px;color:#557551}.profile-cover>img{position:absolute;right:0;top:0;width:58%;height:100%;object-fit:cover;object-position:center 52%;mask-image:linear-gradient(90deg,transparent,#000 35%)}.profile-hero[data-color=sky] .profile-cover{background:linear-gradient(100deg,#cbdfee,#edf4f7,#d9e4ee)}.profile-hero[data-color=rose] .profile-cover{background:linear-gradient(100deg,#edd4df,#fcf0f1,#f2d5cd)}.profile-hero[data-color=sand] .profile-cover{background:linear-gradient(100deg,#ead7b6,#fbf1df,#e9d9c7)}.profile-hero .space-top{position:relative;margin-top:-30px;align-items:flex-end;gap:21px}.profile-hero .space-avatar{width:104px;height:104px;border:5px solid var(--surface);border-radius:32px;background:var(--surface2);box-shadow:0 8px 20px #35533214;font-size:40px;position:relative;overflow:hidden}.profile-hero .space-top>div{min-width:0;padding-top:42px}.profile-hero h1{font-size:30px;line-height:1.4}.profile-space-title{font-size:12px;color:var(--text2);line-height:1.8;margin-top:5px;overflow-wrap:anywhere}.profile-tagline{font-size:16px;line-height:1.85;margin:24px 0 10px;overflow-wrap:anywhere}.profile-hero .space-bio{font-size:14px;color:var(--text2);margin:12px 0 20px}.profile-facts{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}.profile-facts>span{font-size:12px;border:1px solid var(--border);border-radius:25px;padding:7px 13px;background:var(--bg);color:var(--text2);overflow-wrap:anywhere;max-width:100%}.profile-about{border-top:1px solid var(--border);border-bottom:1px solid var(--border);padding:22px 0;margin:22px 0;display:grid;grid-template-columns:1fr 1fr;gap:22px}.profile-about h2{font-size:14px;margin-bottom:12px;color:var(--text)}.profile-tags{display:flex;gap:8px;flex-wrap:wrap}.profile-tag{font-size:12px;color:var(--accent);background:var(--surface2);padding:7px 12px;border-radius:20px;text-decoration:none;overflow-wrap:anywhere;max-width:100%}.profile-tag[href]:hover{outline:1px solid var(--accent)}.profile-website{grid-column:1/-1;font-size:13px;color:var(--accent);display:inline-flex;align-items:center;min-height:44px;justify-self:start}.profile-about #profileEmptyNote{font-size:13px;line-height:1.8;color:var(--text2)}.profile-hero .space-badge{background:var(--surface2);color:var(--accent);display:inline-flex}.profile-hero .space-counts{border-top:1px solid var(--border);padding-top:12px}.profile-hero .space-counts button{font-size:14px}.profile-hero .space-actions{gap:10px}.profile-hero #editSpace{border-radius:25px}.profile-hero .space-actions .text-button{color:var(--accent)}.profile-fieldset{border:1px solid var(--border);border-radius:18px;padding:20px;margin:25px 0;min-width:0}.profile-fieldset legend{font-size:15px;font-weight:650;color:var(--accent);padding:0 9px}.profile-edit-note{font-size:12px;color:var(--text2);line-height:1.85;margin-bottom:20px}.profile-fieldset small{font-size:12px;color:var(--text2);line-height:1.8}.profile-field-row{display:grid;grid-template-columns:1fr 1fr;gap:16px}.profile-field-row>div{min-width:0}.profile-editor-avatar{display:flex;align-items:center;gap:18px;margin:20px 0}.profile-avatar-preview{width:90px;height:90px;border-radius:27px;background:var(--surface2);position:relative;overflow:hidden;display:grid;place-items:center;flex-shrink:0;font-size:35px;color:var(--accent)}.profile-upload-button{display:inline-flex!important;align-items:center;min-height:44px;border:1px solid var(--border);border-radius:12px;padding:8px 14px;margin:0 0 8px!important;color:var(--accent);cursor:pointer;font-size:13px}.profile-editor-avatar small{display:block}.profile-editor-avatar [role=status]{font-size:12px;line-height:1.7;color:var(--text2);margin:9px 0}.profile-avatar-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.space-edit-form .profile-avatar-choice{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;border:1px solid var(--border);border-radius:14px;padding:11px 6px;margin:0;position:relative;cursor:pointer;font-size:12px;min-width:0;text-align:center}.space-edit-form .profile-avatar-choice input{width:14px;height:14px;position:absolute;top:7px;right:7px;accent-color:var(--accent);margin:0;padding:0}.profile-avatar-choice[data-selected=true]{border-color:var(--accent);background:var(--surface2)}.profile-avatar-swatch{display:grid;place-items:center;position:relative;overflow:hidden;width:46px;height:46px;border-radius:15px;background:var(--bg);font-size:24px}.profile-avatar-options [hidden]{display:none!important}.profile-game-options{display:flex;gap:9px;flex-wrap:wrap}.space-edit-form .profile-game-options>label{display:flex;align-items:center;gap:8px;border:1px solid var(--border);padding:9px 12px;border-radius:25px;margin:0;font-size:13px;cursor:pointer}.space-edit-form .profile-game-options input{width:16px;height:16px;padding:0;accent-color:var(--accent)}.profile-game-options>label:has(input:checked){background:var(--surface2);border-color:var(--accent);color:var(--accent)}[data-kind] img{display:block;width:100%;height:100%;object-fit:cover}[data-kind=capybara] img,[data-kind=rabbit] img,[data-kind=cat] img{position:absolute;width:270%;height:180%;max-width:none}[data-kind=capybara] img{left:-44%;top:-29%}[data-kind=rabbit] img{left:-152%;top:-26%}[data-kind=cat] img{left:-166%;top:-45%}#spaceEditDialog{width:min(760px,calc(100% - 28px));max-height:90dvh;overflow:auto}#spaceEditDialog [hidden]{display:none!important}#spaceEditError{line-height:1.8}.space-edit-form>button[type=submit]{min-height:48px}.profile-fieldset input[type=text],.profile-fieldset input[type=url]{min-width:0}
@media(max-width:760px){.profile-hero{padding:0 20px 22px}.profile-cover{height:140px;margin:0 -20px}.profile-cover>span{left:20px;top:26px;font-size:8px;letter-spacing:2px;max-width:36%;line-height:1.8}.profile-cover>img{width:67%}.profile-hero .space-top{gap:15px;margin-top:-25px;align-items:flex-end}.profile-hero .space-avatar{width:84px;height:84px;border-radius:25px;font-size:32px;border-width:4px}.profile-hero .space-top>div{padding-top:36px}.profile-hero h1{font-size:25px}.profile-tagline{font-size:15px;margin-top:19px}.profile-about{grid-template-columns:1fr;gap:20px;padding:19px 0}.profile-about h2{font-size:13px}.profile-hero .space-actions{gap:6px}.profile-hero .space-actions button,.profile-hero .space-actions a{font-size:12px}.profile-fieldset{padding:16px;margin:22px 0}.profile-field-row{grid-template-columns:1fr;gap:0}.profile-avatar-options{grid-template-columns:repeat(3,minmax(0,1fr))}.profile-editor-avatar{align-items:flex-start;gap:12px}.profile-avatar-preview{width:72px;height:72px;border-radius:22px;font-size:28px}.profile-editor-avatar small{font-size:11px}.profile-editor-avatar .profile-upload-button{font-size:12px;padding:8px 10px}.space-edit-form .profile-game-options>label{font-size:12px;padding:9px 10px}.profile-fieldset>label{font-size:14px}#spaceEditDialog{padding:22px 16px}}
