:root{
  color-scheme:dark;--base:#09090c;--panel:#141419;--raised:#1e1e26;--input:#0f0f14;--line:#32323c;
  --ink:#e9e9f0;--sub:#b4b3c1;--muted:#a29faf;--accent:#c7c2d7;--accent-line:#666074;--accent-surface:#25232f;
  --danger:#ffaa9e;--serif:"Songti SC","Noto Serif CJK SC",SimSun,Georgia,serif;
  --sans:Inter,"PingFang SC","Microsoft YaHei","Noto Sans CJK SC",system-ui,sans-serif
}
*{box-sizing:border-box}html{min-width:320px;background:var(--base)}body{margin:0;background:var(--base);color:var(--ink);font:15px/1.6 var(--sans)}
button,input,textarea{font:inherit}button,a{touch-action:manipulation}button{border:0;color:inherit;background:none;cursor:pointer}button:disabled{opacity:.42;cursor:default}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:2px solid var(--accent);outline-offset:3px}
img,video{max-width:100%}a{color:var(--accent)}::selection{background:#4e455f;color:#fff}
.top{background:#0f0f14;border-bottom:1px solid var(--line)}.topInner,.wrap{width:min(1100px,calc(100% - 72px));margin:auto}
.topInner{height:78px;display:flex;align-items:center;justify-content:space-between}.wrap{padding-bottom:70px}
.brand,.headerActions,.primary,.personChip,.addPerson,.peopleTitle,.feedTitle,.sortBtn,.filters button,.editProfile,.stats,.stats span,.identity,.avatarField,.placeField,.toast,.viewerTools,.addMedia button{display:flex;align-items:center}
.brand{gap:11px}.brand img{width:35px;height:35px}.brand strong{font:650 25px/1.2 var(--serif);letter-spacing:1px}.brand i{width:1px;height:16px;background:#44424f;margin:0 3px}.brand>span{color:#a9a4b8;font:italic 16px Georgia,serif}
.headerActions{gap:15px}.logout{color:var(--sub);font-size:12px}.logout:hover{color:var(--ink)}
.primary{justify-content:center;gap:8px;background:var(--accent);border:1px solid #cecada;color:#1c1a23;padding:9px 17px;border-radius:8px;font-weight:650;font-size:14px}.primary:hover:not(:disabled){background:#dedbe9}
.peopleBar{display:flex;align-items:center;gap:22px;margin:22px 0}.peopleTitle{gap:7px;color:var(--sub);font-size:13px;font-weight:600;white-space:nowrap}
.peopleList{display:flex;align-items:center;gap:8px;overflow:auto;scrollbar-width:thin;padding:4px 2px}
.personChip,.addPerson{flex-shrink:0;gap:8px;border:1px solid var(--line);border-radius:24px;background:var(--panel);min-height:37px;padding:4px 13px 4px 5px;font-size:13px}
.personChip span:last-child{overflow:hidden;max-width:145px;text-overflow:ellipsis;white-space:nowrap}.personChip:hover,.addPerson:hover{border-color:var(--accent-line)}
.personChip.active{color:#e0dbea;border-color:var(--accent-line);background:var(--accent-surface)}.addPerson{color:var(--sub);border-style:dashed;background:transparent;padding:4px 12px}
.avatar{display:inline-grid;place-items:center;width:37px;height:37px;flex:none;overflow:hidden;border-radius:50%;background:#292632;color:var(--accent);font-weight:600}.avatar img{height:100%;width:100%;object-fit:cover}.personChip .avatar{width:27px;height:27px}
.cover,.welcome{position:relative;isolation:isolate;overflow:hidden;border:1px solid #35323e;border-radius:18px;background:linear-gradient(110deg,#18181e,#111117 55%,#19171f);display:flex;align-items:center}
.cover{min-height:258px}.coverInner,.welcomeContent{position:relative;z-index:2;width:62%;padding:34px 0 34px 40px}
.coverKicker{display:flex;gap:10px;align-items:center;color:#aaa3bb;font:600 10px/1.2 var(--sans);letter-spacing:2.6px}.coverKicker span{width:25px;height:1px;background:#827b93}
.cover h1,.welcome h1{font:650 clamp(34px,4vw,54px)/1.26 var(--serif);letter-spacing:1px;margin:12px 0;color:var(--ink);overflow-wrap:anywhere}.cover h1 em{font-style:normal;color:#e8e4f2}
.bio,.welcomeContent p{color:#c1bfce;font-size:14px;white-space:pre-line;overflow-wrap:anywhere;margin:0 0 14px}
.stats{gap:0;flex-wrap:wrap;color:var(--sub);font-size:12px}.stats span{gap:5px}.stats span+span:before{content:"";height:10px;width:1px;background:#4a4754;margin:0 10px 0 5px}.stats svg{width:14px;height:14px;color:#a9a4b6}
.editProfile,.neutral,.loadMore{border:1px solid #484650;border-radius:7px;background:#232229;color:#dedce7;font-weight:550;font-size:12px;padding:6px 12px;gap:6px}.editProfile:hover,.neutral:hover,.loadMore:hover{background:#302e37}.cover .editProfile{margin-top:18px}
.coverPortrait{position:absolute;right:6%;top:50%;z-index:1;transform:translateY(-50%);width:22%;display:grid;place-items:center;pointer-events:none}
.coverAvatar{width:clamp(72px,10vw,126px);height:clamp(72px,10vw,126px);border:3px solid #27252e;outline:1px solid #686177;box-shadow:0 5px 24px #0007;font:600 clamp(34px,4vw,55px) var(--serif)}
.spaceArt{position:absolute;inset:0;z-index:-1;pointer-events:none;overflow:hidden;background:radial-gradient(ellipse at 78% 53%,#29263370,transparent 55%)}
.spaceArt svg{position:absolute;inset:0 0 0 auto;width:64%;height:100%;mask-image:linear-gradient(90deg,transparent,#000 35%)}
.welcome{min-height:300px}.welcomeContent>img{width:36px;height:36px}.welcomeContent .primary{margin-top:20px}
.feedHead{display:flex;align-items:center;justify-content:space-between;margin-top:32px}.feedTitle{gap:10px}.feedGlyph{display:grid;place-items:center;color:var(--accent);width:32px;height:32px;border:1px solid #413c4d;border-radius:8px;background:#25222e}
.feedTitle h2{font:650 26px/1.35 var(--serif);margin:0}.count{font:600 12px/22px var(--sans);min-width:24px;text-align:center;padding:0 7px;border-radius:6px;background:#272729;color:#c5c3cf}
.sort,.postMenu{position:relative}.sortBtn{font-size:12px;gap:6px;color:var(--sub)}.filters{display:flex;gap:8px;margin:15px 0}.filters button{gap:6px;border:1px solid var(--line);background:var(--panel);color:var(--sub);border-radius:18px;padding:5px 13px;font-size:12px}.filters button.selected{background:var(--accent-surface);border-color:var(--accent-line);color:#dbd7e8}
.feed{display:grid;gap:16px}.postCard{background:var(--panel);border:1px solid var(--line);border-radius:14px;padding:21px 23px 23px}.postInfo{display:flex;align-items:center;gap:10px}.postInfo .avatar{width:39px;height:39px}.postIdentity strong{font-size:15px}.postIdentity>div{display:flex;align-items:center;flex-wrap:wrap;gap:8px;color:var(--muted);font-size:11px}.postIdentity>div span{display:inline-flex;align-items:center;gap:3px}.postIdentity i{width:3px;height:3px;border-radius:50%;background:#65616f;margin-right:4px}.postMenu{margin-left:auto}
.iconButton{display:inline-grid;place-items:center;width:32px;height:32px;border-radius:50%;color:var(--sub)}.iconButton:hover,.popMenu button:hover{background:#303032;color:var(--ink)}
.entryText{margin:14px 0 15px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.85;color:#e1dfe9}.entryText:last-child{margin-bottom:0}.textMore{margin-left:6px;color:var(--accent);font-size:13px}
.photoGrid{display:grid;gap:9px;margin-top:14px}.photoGrid.count3{grid-template-columns:repeat(3,minmax(0,1fr))}.photoGrid.count2{grid-template-columns:repeat(2,minmax(0,1fr))}.photoGrid.count1{grid-template-columns:minmax(0,580px)}
.mediaFrame{position:relative;display:block;overflow:hidden;padding:0;border-radius:8px;background:#08090b;aspect-ratio:1.52}.mediaFrame img,.mediaFrame video{height:100%;width:100%;object-fit:cover;transition:transform .25s}.mediaFrame:hover img{transform:scale(1.025)}
/* A single feed attachment follows its intrinsic proportions on larger screens. */
@media (min-width:571px){
  .photoGrid.count1{display:block;max-width:580px}
  .photoGrid.count1 .mediaFrame{width:fit-content;max-width:100%;aspect-ratio:auto}
  .photoGrid.count1 .mediaFrame :is(img,video){
    display:block;width:auto;height:auto;max-width:100%;max-height:min(72vh,720px);object-fit:contain
  }
  .photoGrid.count1 .mediaFrame:hover img{transform:none}
}
.liveBadge,.tinyLive{position:absolute;top:8px;left:8px;background:#101115b8;color:#fff;display:inline-flex;align-items:center;gap:4px;font-size:9px;font-weight:650;letter-spacing:.7px;padding:3px 7px;border-radius:12px}.formatFallback{display:grid;justify-items:center;gap:6px;padding:15px;color:var(--sub);font-size:13px}
.popMenu,.photoMenu,.photoConfirm{position:absolute;border:1px solid #48484a;background:#222325;box-shadow:0 9px 26px #0008;border-radius:9px;padding:5px}.popMenu{z-index:6;right:0;top:100%;min-width:120px}.popMenu button{width:100%;padding:8px;display:flex;align-items:center;gap:8px;text-align:left;border-radius:5px;font-size:13px}.popMenu i{width:13px}.menuDismiss{position:fixed;inset:0;z-index:5;cursor:default}.loadMore{justify-self:center;margin:10px}
.empty,.errorBox,.loading{border:1px dashed #454447;border-radius:12px;background:var(--panel);padding:34px;display:grid;justify-items:center;text-align:center;gap:9px}.empty>svg,.loading>svg{color:var(--accent)}.empty h3,.empty h2{margin:5px 0}.empty p{margin:0 0 8px;color:var(--sub)}.loading{font-size:13px;color:var(--sub)}.loading svg{animation:spin 1s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
.errorBox{color:var(--danger);margin:12px 0}.errorBox button{text-decoration:underline}
.modal{padding:0;width:min(460px,calc(100% - 28px));max-height:90dvh;overflow:auto;border:1px solid #454446;border-radius:16px;background:#191a1c;color:var(--ink);box-shadow:0 22px 85px #0009}.modal.wide{width:min(650px,calc(100% - 28px))}.modal::backdrop{background:#07080bc2;backdrop-filter:blur(4px)}.modalInside{padding:24px}.modalHead,.modalFoot,.addMedia{display:flex;align-items:center;justify-content:space-between;gap:12px}.modalHead{margin-bottom:19px}.modalHead h2{font:650 24px/1.4 var(--serif);margin:0}
fieldset{padding:0;margin:0;min-width:0;border:0}.field{display:grid;gap:6px;font-weight:600;font-size:13px;margin-bottom:14px}input,textarea{max-width:100%;color:var(--ink);background:var(--input);border:1px solid #454446;border-radius:8px;padding:9px 11px;resize:vertical}input::placeholder,textarea::placeholder{color:#a09ca9;opacity:1}
.avatarField{gap:13px;margin:5px 0 18px}.avatarUpload{position:relative;padding:0}.avatar.large{width:58px;height:58px;font-size:22px}.avatarUpload>span:last-child{position:absolute;right:-2px;bottom:0;background:var(--accent);border:2px solid var(--panel);color:#1a1722;width:23px;height:23px;display:grid;place-items:center;border-radius:50%}
.avatarField p,.hint,.muted{color:var(--sub);font-size:12px}.avatarField p{margin:2px 0}.modalFoot{margin-top:18px;border-top:1px solid var(--line);padding-top:15px}
.dangerLink,.danger{color:var(--danger);font-size:13px}.danger{color:#fff4f1;background:#813e3c;border-radius:7px;padding:8px 13px}.error{background:#382324;color:var(--danger);font-size:13px;padding:7px 10px;border-radius:6px}.deleteText{font-size:14px}
.identity{color:var(--sub);font-size:13px;gap:9px}.identity .avatar{width:30px;height:30px}.identity strong{color:var(--accent)}.bodyInput{width:100%;min-height:108px;margin:15px 0 10px;line-height:1.75}
.addMedia button,.viewerTools button{gap:6px;background:#292631;color:#d1ccdf;border-radius:6px}.addMedia button{font-size:13px;padding:8px 12px}.addMedia small{color:var(--sub)}.hint{margin:8px 0 15px}.placeField{gap:5px;color:var(--muted)}.placeField input{border:0;background:transparent;font-size:13px;flex:1;padding:6px}
.chosen{display:grid;grid-template-columns:repeat(4,1fr);gap:7px;margin-bottom:12px}.thumb{position:relative;aspect-ratio:1;background:#242426;border-radius:7px;overflow:hidden}.thumb img,.thumb video{width:100%;height:100%;object-fit:cover}.thumbX,.attachClip{position:absolute;color:white;background:#09090bb8}.thumbX{right:3px;top:3px;border-radius:50%;padding:3px;display:grid}.attachClip{bottom:3px;left:3px;padding:2px 5px;font-size:10px;border-radius:4px}.tinyLive{top:3px;left:3px;font-size:8px}
.viewerMedia{position:relative;width:100%;height:min(68dvh,640px);max-height:calc(100dvh - 165px);min-height:80px;background:#070809;border-radius:9px;overflow:hidden}.viewerMedia img,.viewerMedia video{position:absolute;inset:0;display:block;width:100%;height:100%;min-width:0;min-height:0;object-fit:contain;object-position:center}.viewerMedia>.formatFallback{position:absolute;inset:0;align-content:center}.viewerTools{gap:8px;margin-top:12px;font-size:13px;color:var(--sub)}.viewerTools button{display:inline-flex;align-items:center;justify-content:center;min-height:29px}.original{margin-left:auto;color:var(--accent)}
.viewerSide{position:absolute;top:50%;transform:translateY(-50%);z-index:1;width:clamp(50px,13%,80px);height:clamp(65px,24%,132px);display:grid;place-items:center}.viewerSide.previous{left:0}.viewerSide.next{right:0}
.viewerArrow,.photoActionsToggle{display:grid;place-items:center;border-radius:50%;color:white;background:#151516ca;border:1px solid #ffffff55;box-shadow:0 1px 8px #0003;opacity:0;transition:opacity .14s}.viewerArrow{width:42px;height:48px;border-radius:14px}.viewerArrow::after{content:"";position:absolute;inset:0}
.viewerSide:hover .viewerArrow,.viewerArrow:focus-visible,.photoActions:hover .photoActionsToggle,.photoActionsToggle:focus-visible,.photoActions.open .photoActionsToggle{opacity:1}
.viewerSide .viewerArrow:disabled{opacity:0}.viewerSide:hover .viewerArrow:disabled{opacity:.32}
.photoActions{position:absolute;top:0;right:0;padding:10px;z-index:2}.photoActionsToggle{margin-left:auto;width:38px;height:38px}
.photoMenu,.photoConfirm{top:calc(100% - 5px);right:10px;min-width:142px}.photoMenu>a,.photoMenu>button{width:100%;display:flex;align-items:center;gap:9px;text-decoration:none;color:var(--ink);font-size:14px;padding:9px 11px;border-radius:6px;white-space:nowrap}.photoMenu>button{color:var(--danger)}.photoMenu>a:hover,.photoMenu>button:hover{background:#343435}.photoConfirm{min-width:174px;padding:12px;font-size:13px}.photoConfirm>div{display:flex;gap:7px;justify-content:flex-end;margin-top:9px}.photoConfirm button{font-size:12px}
.toast{position:fixed;z-index:10;bottom:23px;left:50%;transform:translateX(-50%);background:#2b2834;color:#e4dff0;border:1px solid #5a536a;box-shadow:0 4px 20px #0006;padding:10px 16px;gap:8px;border-radius:9px;font-size:13px}
.authPage{min-height:100dvh;display:grid;place-items:center;padding:28px 18px;background:radial-gradient(ellipse at 50% 42%,#22212a 0%,#121316 45%,var(--base) 78%)}
.authCard{position:relative;isolation:isolate;overflow:hidden;width:min(100%,456px);padding:31px;border-radius:18px;border:1px solid #413d49;background:linear-gradient(150deg,#201e29,#15151b 47%);box-shadow:0 24px 90px #0006}
.authArt{position:absolute;inset:0 0 auto;height:154px;z-index:-1;overflow:hidden;pointer-events:none;mask-image:linear-gradient(black 58%,transparent)}
.authArt .spaceArt svg{width:70%;opacity:.86}.authCard .brand{position:relative}.authCard h1{margin:44px 0 6px;font:650 30px/1.3 var(--serif)}.authIntro{color:var(--sub);font-size:14px;margin:0 0 21px}.authCard .primary{width:100%;margin-top:20px}
.passwordField{position:relative;display:block}.passwordField input{width:100%;padding-right:39px}.passwordField button{position:absolute;right:2px;top:0;height:100%;width:36px;display:grid;place-items:center;color:var(--sub)}
@media(min-width:1450px){.topInner,.wrap{width:min(1150px,calc(100% - 90px))}.cover{min-height:276px}}
@media(max-width:800px){.topInner,.wrap{width:calc(100% - 40px)}.topInner{height:65px}.coverInner,.welcomeContent{padding-left:25px}.feedHead{margin-top:26px}.postCard{padding:18px}.peopleBar{gap:12px}}
@media(max-width:570px){
  .topInner,.wrap{width:calc(100% - 28px)}.topInner{height:61px}.brand{gap:7px}.brand img{width:29px;height:29px}.brand strong{font-size:21px}.brand>span,.brand i{display:none}.headerActions{gap:5px}.logout{font-size:11px}.primary{font-size:13px;padding:8px 12px}
  .peopleBar{display:block;margin:14px 0}.peopleTitle{display:none}.peopleList{gap:6px}.personChip,.addPerson{min-height:33px;font-size:12px;gap:5px}.personChip .avatar{width:23px;height:23px}
  .cover,.welcome{border-radius:12px}.cover{min-height:215px}.coverInner,.welcomeContent{width:68%;padding:21px 0 21px 17px}
  .cover h1,.welcome h1{font-size:clamp(25px,7vw,36px);letter-spacing:0;margin:10px 0}.bio,.welcomeContent p{font-size:12px}.coverKicker{font-size:8px;letter-spacing:1.4px}.coverKicker span{width:15px}.stats{font-size:10px;row-gap:4px}.stats svg{width:12px;height:12px}.stats span+span:before{margin:0 4px}.cover .editProfile{margin-top:12px}.coverPortrait{right:5%}.spaceArt svg{width:57%;object-position:right}.welcome{min-height:226px}
  .feedHead{margin-top:23px}.feedTitle{gap:7px}.feedTitle h2{font-size:22px}.feedGlyph{width:29px;height:29px}.sortBtn,.filters button{font-size:11px}.filters{margin:12px 0}.postCard{padding:14px}.postInfo .avatar{width:34px;height:34px}.entryText{font-size:14px;margin:11px 0}.photoGrid{gap:4px}.mediaFrame{border-radius:5px;aspect-ratio:.97}.liveBadge{top:4px;left:4px;padding:1px 4px;font-size:8px}.liveBadge svg{width:10px}
  .modalInside{padding:18px}.modal{max-height:92dvh}.chosen{grid-template-columns:repeat(3,1fr)}.authCard{padding:24px}.authCard .brand>span,.authCard .brand i{display:block}
}
@media(hover:none),(pointer:coarse){.viewerArrow,.photoActionsToggle{opacity:.8}.viewerSide .viewerArrow:disabled{opacity:.28}.viewerSide{width:50px}.photoActions{padding:7px}}
@media(prefers-reduced-motion:reduce){.viewerArrow,.photoActionsToggle,.mediaFrame img{transition:none}.loading svg{animation:none}}
.feedToolbar{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:15px 0}.feedToolbar .filters{margin:0}.feedToolbar .sort{flex-shrink:0}
.profileWrite{display:inline-flex;align-items:center;gap:7px;padding:7px 13px;border-radius:8px;border:1px solid #496764;background:#203936;color:#c4e9df;font-size:13px;font-weight:600}.profileWrite:hover:not(:disabled){background:#2b4843}
.recipientTrigger{display:inline-flex;max-width:100%;align-items:center;gap:8px;text-align:left;border:1px solid var(--line);background:var(--input);border-radius:8px;padding:4px 9px 4px 5px;color:var(--sub);font-size:13px}.recipientTrigger .avatar,.recipientOption .avatar{width:26px;height:26px}.recipientTrigger strong{color:var(--ink);overflow-wrap:anywhere}.recipientTrigger svg{flex:none}
.recipientPanel{padding:10px 12px;margin-top:7px;border:1px solid var(--line);border-radius:9px;background:var(--input)}.recipientHeader{display:flex;justify-content:space-between;align-items:center;color:var(--sub);font-size:12px;margin-bottom:8px}.recipientHeader button{color:var(--accent);padding:3px 7px}
.recipientList{display:flex;gap:6px;flex-wrap:wrap}.recipientOption{display:flex;align-items:center;gap:6px;border:1px solid var(--line);border-radius:8px;padding:5px 8px;cursor:pointer;font-size:13px;max-width:100%}.recipientOption.checked{background:var(--accent-surface);border-color:var(--accent-line)}.recipientOption input{accent-color:var(--accent);width:15px;height:15px;margin:0}.recipientOption span:last-child{overflow-wrap:anywhere}
@media(max-width:570px){.feedToolbar{gap:4px;margin:12px 0}.feedToolbar .filters{gap:4px}.feedToolbar .filters button{padding:4px 7px}.feedToolbar .sortBtn{padding:3px;gap:3px}.profileWrite{font-size:12px;padding:6px 10px}}
@media(min-width:571px){
  .photoGrid.arranged{display:block;position:relative;height:var(--album-h)}
  .photoGrid.arranged .mediaFrame{position:absolute;left:var(--tile-x);top:var(--tile-y);width:var(--tile-w);height:var(--tile-h);aspect-ratio:auto}
  .photoGrid.arranged .mediaFrame :is(img,video){display:block;object-fit:contain}
  .photoGrid.arranged .mediaFrame:hover img{transform:none}
}

/* Two independent skins over the existing journal behavior. Original is the default. */
:root{
 color-scheme:light;--base:#f9f9f2;--panel:#fffefa;--raised:#edf2e8;--input:#fcfcf7;
 --line:#d8dfd1;--ink:#293b34;--sub:#5f7065;--muted:#657768;
 --accent:#315c46;--accent-line:#7e9c80;--accent-surface:#e9f2e7;--danger:#a1484e;
}
body{background-color:var(--base);background-image:radial-gradient(#aebba636 .8px,transparent .8px);background-size:14px 14px;font-size:16px}
::selection{background:#d1e2cd;color:#233c2b}
a{color:var(--accent)}
.top{background:#fffef9f5;border-color:var(--line)}.topInner{height:80px;gap:20px}
.brand{flex-shrink:0}.brand strong{color:var(--ink)}.brand>span{color:#687c68}.brand i{background:#cdd1c6}
.primary{color:#fff;background:#315744;border-color:#254936;border-radius:10px;box-shadow:0 2px 2px #29442e13;min-height:42px}
.primary:hover:not(:disabled){background:#264c3a}
.personChip{background:#fffefa;font-size:14px;min-height:40px}.personChip.active{color:#294b34;background:#e9f2e7;border-color:#6d9177;box-shadow:inset 0 0 0 .4px #7a9d7e}.addPerson{font-size:14px;min-height:40px}
.avatar{background:#e4e9d8;color:#526f4e}
.cover,.welcome{border-color:#c9d6c1;background-color:#e6eddf;background-image:linear-gradient(86deg,#eaf0e3 0%,#e6eddf 42%,#e5edde70 76%),linear-gradient(#8d9d7b24 1px,transparent 1px),linear-gradient(90deg,#8d9d7b24 1px,transparent 1px);background-size:100% 100%,19px 19px,19px 19px;box-shadow:0 4px 0 -1px #e1e7d9;border-radius:17px}
.coverKicker{color:#637e60}.coverKicker span{background:#83977b}.cover h1 em{color:#2d4435;position:relative;isolation:isolate}
.cover h1 em:after{content:"";position:absolute;z-index:-1;bottom:5%;left:-2px;right:-3px;background:#edb9b8;height:.16em;transform:rotate(-2deg);border-radius:50% 15% 25% 20%}
.bio,.welcomeContent p{color:#526456}.stats{color:#5c6e5e}.stats svg{color:#5c6e5e}.stats span+span:before{background:#b6c5b0}
.editProfile,.neutral,.loadMore{background:#fbfcf6b3;color:#3f5a43;border-color:#b5c5af}.editProfile:hover,.neutral:hover,.loadMore:hover{background:#e7efdf}
.coverAvatar{background:#d7e1d1;border:5px solid #fcfcf3;outline:0;box-shadow:0 5px 16px #3f583520}
.spaceArt{background:radial-gradient(ellipse at 87% 27%,#fffdf685,transparent 55%)}.spaceArt svg{opacity:.2;filter:sepia(1) hue-rotate(35deg);mask-image:linear-gradient(90deg,transparent,#000)}
.feedGlyph{color:#527056;background:#f0d6d3;border-color:#ecd5cf;transform:rotate(-4deg)}.count{background:#e5ebdd;color:#5d735a}
.filters button{background:#fffcf6;border-color:#d9ddd1;color:#53684f;min-height:36px;font-size:14px}.filters button.selected{background:#315c46;color:#fff;border-color:#315c46}
.sortBtn,.logout,.peopleTitle{font-size:14px}.postCard{background:#fffefa;border-color:#d8ddd1;border-radius:15px;box-shadow:0 3px 8px #45563907}
.postIdentity strong{font-size:16px}.postIdentity>div{font-size:13px;color:var(--muted)}.postIdentity i{background:#a7afa4}
.entryText{color:#35443a;font-size:16px;line-height:1.9}.iconButton:hover,.popMenu button:hover{background:#edf1e7;color:#334d39}
.mediaFrame{background:#e6eae0}.popMenu,.photoMenu,.photoConfirm{background:#fffefa;border-color:var(--line);box-shadow:0 7px 24px #33473622}.photoMenu>a:hover,.photoMenu>button:hover{background:#edf1e7}
.empty,.loading,.errorBox{background:#fffefa;border-color:var(--line)}
.modal{background:#fffefa;border:1px solid #d5dbce;border-radius:18px;box-shadow:0 20px 80px #1d35244d}.modal::backdrop{background:#182a2375;backdrop-filter:blur(3px)}
input,textarea{border-color:#d4dccd;background:#fff;color:var(--ink);font-size:16px}input::placeholder,textarea::placeholder{color:#6b7a70}.bodyInput{background:#fcfcf7;min-height:150px}
.field{font-size:14px}.hint,.avatarField p,.muted{font-size:13px}.placeField input{font-size:14px}.addMedia button,.viewerTools button{background:#edf2e8;color:#2a5444}.addMedia button{font-size:14px}
.thumb{background:#e9ede3}.danger{background:#a1484e;color:white}.error{background:#f8eae7;color:#a1484e}
.viewerMedia{background:#20251f}.viewerArrow,.photoActionsToggle{background:#20312bba;border-color:#ffffff57}
.toast{background:#2c4b39;color:#fff;border-color:#3d674a}.profileWrite{background:#f0e0df;border-color:#cda7a6;color:#814b4f}.profileWrite:hover:not(:disabled){background:#ebd2d0}
.authPage{background:transparent;position:relative;padding-top:100px;padding-bottom:60px}.authCard{background:#fffef9;border:1px solid var(--line);box-shadow:0 6px 0 -2px #e5ecdd,0 12px 35px #334a3512;width:min(100%,456px);border-radius:18px}.authArt{opacity:.45}.authCard h1{margin-top:38px}
.authCard input{min-height:46px}.authTheme{position:absolute;top:28px;right:max(28px,calc((100% - 1100px)/2))}
.themeSwitch{position:relative;isolation:isolate;display:flex;flex-shrink:0;align-items:stretch;background:#e9eee4;border:1px solid #d1dcca;border-radius:100px;padding:4px;gap:0;box-shadow:inset 0 1px 3px #32442f09}
.themeSwitch button{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;gap:6px;min-height:34px;min-width:102px;padding:5px 10px;font-size:13px;white-space:nowrap;color:var(--sub);border-radius:100px;font-weight:550}
.themeSwitch button[aria-pressed=true]{color:var(--accent)}
.themeIndicator{position:absolute;top:4px;bottom:4px;left:4px;width:calc((100% - 8px)/2);background:#fffefb;border:1px solid #c7d5bf;border-radius:100px;box-shadow:0 2px 6px #374e2d13;pointer-events:none}
:root[data-theme=glass] .themeIndicator{transform:translateX(100%)}
:root:not([data-theme=glass]) .themeIndicator{transition:none}
/* Liquid Glass: cold silver glass, refracted blue light and restrained motion. */
:root[data-theme=glass]{--base:#e4edf7;--panel:#ffffffb8;--raised:#ffffffc9;--input:#f6faffd9;--line:#ffffffba;--ink:#1d3550;--sub:#49637d;--muted:#526b84;--accent:#245eb5;--accent-line:#8daed4;--accent-surface:#d5e6fc;--danger:#aa3652}
:root[data-theme=glass] body{background:radial-gradient(ellipse at 5% 2%,#c2dff1,transparent 43%),radial-gradient(ellipse at 95% 12%,#d6d1f5,transparent 44%),linear-gradient(145deg,#e8f1fa,#ddeaf5 48%,#e5e8f6);background-attachment:fixed}
:root[data-theme=glass] body:before,:root[data-theme=glass] body:after{content:"";position:fixed;z-index:-1;pointer-events:none;aspect-ratio:1;border-radius:50%;border:1px solid #fff9;box-shadow:inset 28px -32px 70px #a4c6f650,inset -10px 10px 35px #ffffffb0,25px 35px 70px #7ca9c61c}
:root[data-theme=glass] body:before{width:660px;right:-170px;top:15%;background:radial-gradient(circle at 35% 25%,#ffffffb3,#b5cef438 50%,#ccbeea80);transform:rotate(-24deg)}
:root[data-theme=glass] body:after{width:440px;left:-230px;top:64%;background:linear-gradient(140deg,#b0d8ed66,#ffffff24 45%,#a3c7f044)}
:root[data-theme=glass] ::selection{background:#b6d5ff;color:#173451}
:root[data-theme=glass] .top{position:sticky;top:0;z-index:8;background:#eef5fc9c;border-bottom:1px solid #ffffffc9;backdrop-filter:blur(24px) saturate(1.6);-webkit-backdrop-filter:blur(24px) saturate(1.6);box-shadow:0 4px 30px #4768860b}
:root[data-theme=glass] .brand strong{font-family:var(--sans);font-size:23px;letter-spacing:1.5px;font-weight:650}.brand>span{white-space:nowrap}
:root[data-theme=glass] .brand>span{color:#55708d}:root[data-theme=glass] .brand i{background:#9fb4ce80}
:root[data-theme=glass] .brand img{filter:drop-shadow(0 2px 6px #637fba35)}
:root[data-theme=glass] .themeSwitch{background:#9ab5d52a;border-color:#ffffffd9;box-shadow:inset 0 1px 4px #4e719220,0 4px 15px #54718c09;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
:root[data-theme=glass] .themeIndicator{background:linear-gradient(150deg,#ffffffed,#ffffff8f);border-color:#fff;box-shadow:inset 0 1px 2px #fff,0 3px 9px #45689c24;transition:transform .3s cubic-bezier(.2,.8,.2,1)}
:root[data-theme=glass] .themeSwitch button[aria-pressed=true]{color:#245599}
:root[data-theme=glass] .primary{border-radius:100px;background:linear-gradient(150deg,#4d8ce7,#2f65c4);border-color:#ffffffa3;color:#fff;box-shadow:inset 0 1px 1px #ffffff65,0 4px 12px #437bc530;transition:transform .22s,box-shadow .22s}
:root[data-theme=glass] .primary:hover:not(:disabled){background:linear-gradient(150deg,#659df0,#376ccb);box-shadow:inset 0 1px 1px #fff7,0 7px 18px #437bc540;transform:translateY(-1px)}
:root[data-theme=glass] .peopleBar{margin:24px 0;gap:18px}.peopleList{min-width:0}
:root[data-theme=glass] .personChip{background:#ffffff65;border-color:#ffffffc9;box-shadow:inset 0 1px 1px #fff,0 3px 8px #7394b50c;transition:background .2s,transform .2s}
:root[data-theme=glass] .personChip:hover{background:#ffffffc4;transform:translateY(-1px)}
:root[data-theme=glass] .personChip.active{color:#1b4c8e;background:linear-gradient(145deg,#ffffffe6,#d7e8ffad);border-color:#fff;box-shadow:inset 0 1px #fff,0 3px 12px #5c8bc729}
:root[data-theme=glass] .addPerson{border-color:#8ba9c999;color:#526d89}
:root[data-theme=glass] .avatar{background:linear-gradient(145deg,#f9fbff,#c9daed);color:#506f9a}
:root[data-theme=glass] :is(.cover,.welcome){border-radius:30px;border-color:#ffffffed;background:linear-gradient(120deg,#ffffffb8,#f8fbff70 48%,#e1e8ff60);box-shadow:inset 0 1px 1px #fff,0 18px 55px #4d719c15;backdrop-filter:blur(26px) saturate(1.35);-webkit-backdrop-filter:blur(26px) saturate(1.35)}
:root[data-theme=glass] .cover{min-height:292px}.coverInner{padding-right:10px}
:root[data-theme=glass] .coverKicker{color:#6c87a7;letter-spacing:3px}:root[data-theme=glass] .coverKicker span{background:#8eafd1}
:root[data-theme=glass] :is(.cover h1,.welcome h1){font-family:var(--sans);font-weight:550;letter-spacing:-1.5px;font-size:clamp(34px,4vw,52px)}
:root[data-theme=glass] .cover h1 em{color:#214a77}:root[data-theme=glass] .cover h1 em:after{display:none}
:root[data-theme=glass] :is(.bio,.welcomeContent p,.stats){color:#516b84}:root[data-theme=glass] .stats svg{color:#58799a}:root[data-theme=glass] .stats span+span:before{background:#aec0d3}
:root[data-theme=glass] .coverAvatar{background:linear-gradient(145deg,#ffffffb3,#cadaf295);border:5px solid #ffffff80;outline:1px solid #ffffffd0;box-shadow:inset 0 1px 3px #fff,0 16px 35px #567bab29,0 0 0 14px #ffffff30;color:#3d6497;font-family:var(--sans)}
:root[data-theme=glass] .spaceArt{background:radial-gradient(ellipse at 85% 75%,#b0c3f76b,transparent 57%),radial-gradient(ellipse at 70% 10%,#ffffff9e,transparent 50%)}
:root[data-theme=glass] .spaceArt svg{display:none}
:root[data-theme=glass] .spaceArt:before,:root[data-theme=glass] .spaceArt:after{content:"";position:absolute;width:350px;height:350px;right:-28px;top:-78px;border-radius:44% 56% 62% 38% / 50% 40% 60% 50%;background:linear-gradient(145deg,#ffffffa8,#b4c9f143 40%,#8dafdf45);border:1px solid #ffffffc9;box-shadow:inset 16px 18px 22px #ffffff80,inset -15px -20px 30px #84a5db2a,0 22px 50px #6488bb16;transform:rotate(-32deg)}
:root[data-theme=glass] .spaceArt:after{width:240px;height:240px;right:150px;top:160px;transform:rotate(30deg);opacity:.65}
:root[data-theme=glass] :is(.editProfile,.neutral,.loadMore){border-color:#ffffffd9;color:#3b618e;background:linear-gradient(135deg,#ffffffc9,#ffffff73);border-radius:100px;box-shadow:inset 0 1px #fff,0 3px 10px #5a7c9d0f}
:root[data-theme=glass] :is(.editProfile,.neutral,.loadMore):hover{background:#fff}
:root[data-theme=glass] .feedHead{margin-top:34px}:root[data-theme=glass] .feedTitle h2{font-family:var(--sans);font-size:25px;font-weight:600;letter-spacing:-.5px}
:root[data-theme=glass] .feedGlyph{background:#ffffffa6;color:#4e76aa;transform:none;border-color:#fff;box-shadow:inset 0 1px #fff,0 3px 8px #5f7da414;border-radius:11px}
:root[data-theme=glass] .count{background:#a6c4e33b;color:#44688d}
:root[data-theme=glass] .profileWrite{border-radius:100px;border-color:#ffffffd9;color:#684e95;background:linear-gradient(135deg,#f7efffbf,#e5dffb90);box-shadow:inset 0 1px #fff,0 3px 12px #6e5c9714}:root[data-theme=glass] .profileWrite:hover{background:#f2ebff}
:root[data-theme=glass] .filters{gap:3px;padding:4px;background:#a9bdd826;border:1px solid #ffffffc7;border-radius:100px;box-shadow:inset 0 1px 3px #6485a90b}
:root[data-theme=glass] .filters button{background:transparent;border-color:transparent;border-radius:100px;color:#486480;font-size:13px;min-height:32px;padding:5px 13px;transition:background .2s}
:root[data-theme=glass] .filters button.selected{background:#ffffffde;color:#255a9b;border-color:#fff;box-shadow:0 2px 7px #52769a18}
:root[data-theme=glass] .feed{gap:22px}
:root[data-theme=glass] .postCard{border-radius:24px;background:linear-gradient(125deg,#ffffffc4,#f8fbffc2);border:1px solid #ffffffe6;box-shadow:inset 0 1px #fff,0 12px 35px #48709b0d;padding:25px;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
:root[data-theme=glass] .entryText{color:#263f58;line-height:1.95}:root[data-theme=glass] .postIdentity strong{color:#244668}
:root[data-theme=glass] .mediaFrame{background:#d7e3ef;border-radius:13px}
:root[data-theme=glass] :is(.iconButton:hover,.popMenu button:hover){background:#d9e8f9;color:#285b94}
:root[data-theme=glass] :is(.popMenu,.photoMenu,.photoConfirm){border-radius:16px;background:#f3f8fcf0;border-color:#fff;box-shadow:inset 0 1px #fff,0 12px 30px #355b8a29;backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px)}
:root[data-theme=glass] :is(.photoMenu>a:hover,.photoMenu>button:hover){background:#dce9f8}
:root[data-theme=glass] :is(.empty,.loading,.errorBox){background:#ffffff80;border-color:#9fb8d3;border-radius:24px}
:root[data-theme=glass] .modal{border-radius:28px;background:linear-gradient(135deg,#f8fcfff2,#e6eff9ed);border:1px solid #ffffffed;box-shadow:inset 0 1px 1px #fff,0 35px 100px #294e7860;backdrop-filter:blur(30px) saturate(1.4);-webkit-backdrop-filter:blur(30px) saturate(1.4);animation:glassAppear .24s ease-out}
:root[data-theme=glass] .modal::backdrop{background:#183b6452;backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px)}
:root[data-theme=glass] .modalInside{padding:27px}:root[data-theme=glass] .modalHead h2{font-family:var(--sans);font-size:25px;font-weight:600}
:root[data-theme=glass] :is(input,textarea){background:#ffffffad;border-color:#a9bfd580;border-radius:13px;box-shadow:inset 0 2px 5px #4a709810;color:#25415d}:root[data-theme=glass] :is(input,textarea)::placeholder{color:#607891}
:root[data-theme=glass] :is(input,textarea):focus{border-color:#6a9dd9}
:root[data-theme=glass] .placeField input{background:transparent;box-shadow:none;border:0}
:root[data-theme=glass] :is(.addMedia button,.viewerTools button){background:#ffffffb8;border:1px solid #ffffffeb;color:#3d6593;border-radius:100px;box-shadow:0 2px 6px #5f81a312}
:root[data-theme=glass] :is(.recipientTrigger,.recipientPanel){background:#ffffff9c;border-color:#ffffffd9;border-radius:13px}:root[data-theme=glass] .recipientOption{border-color:#b8cce0}:root[data-theme=glass] .recipientOption.checked{background:#d8e9ffbd;border-color:#8eb2de}
:root[data-theme=glass] .modalFoot{border-color:#adc1d54d}
:root[data-theme=glass] .viewerMedia{background:#102034;border:1px solid #ffffffb0;border-radius:16px}
:root[data-theme=glass] :is(.viewerArrow,.photoActionsToggle){background:#d5e7ff40;border:1px solid #ffffffa8;backdrop-filter:blur(15px);-webkit-backdrop-filter:blur(15px);box-shadow:inset 0 1px #ffffff50,0 4px 15px #0002;border-radius:100px}
:root[data-theme=glass] .toast{background:#eff7fff0;color:#315a84;border-color:#fff;border-radius:100px;box-shadow:0 8px 24px #4f6f9a26;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
:root[data-theme=glass] .authPage{background:transparent}:root[data-theme=glass] .authCard{border-radius:30px;border-color:#fffffff0;background:linear-gradient(145deg,#ffffffc9,#f3f8ffad);box-shadow:inset 0 1px 1px #fff,0 25px 80px #5a7da829;backdrop-filter:blur(26px);-webkit-backdrop-filter:blur(26px);padding:35px}
:root[data-theme=glass] .authCard h1{font-family:var(--sans);font-size:30px;font-weight:600;letter-spacing:-1px;margin-top:45px}:root[data-theme=glass] .authArt{height:210px;opacity:.9}
:root[data-theme=glass] .authArt .spaceArt:before{width:240px;height:240px;right:-100px;top:-80px}:root[data-theme=glass] .authArt .spaceArt:after{display:none}
@keyframes glassAppear{from{opacity:0;transform:translateY(10px) scale(.985)}to{opacity:1;transform:none}}
@media(max-width:1100px){.brand>span,.brand i{display:none}.topInner{gap:10px}}
@media(max-width:700px){
 .topInner{height:auto;min-height:108px;padding:12px 0;display:grid;grid-template-columns:1fr auto;gap:12px 8px}.topInner>.themeSwitch{grid-row:2;grid-column:1/-1;justify-self:center}.topInner>.headerActions{grid-column:2;grid-row:1;justify-content:flex-end}
 .brand strong{font-size:21px}:root[data-theme=glass] .brand strong{font-size:21px}.brand img{width:29px;height:29px}.logout{font-size:12px}.headerActions{gap:7px}.headerActions .primary{font-size:13px;padding:8px 11px;min-height:38px}
 :root[data-theme=glass] .top{position:relative}.themeSwitch button{min-width:120px;font-size:13px;min-height:34px}.themeSwitch{padding:3px}.themeIndicator{top:3px;bottom:3px;left:3px;width:calc((100% - 6px)/2)}
}
@media(max-width:570px){
 .peopleBar{margin:15px 0}.personChip,.addPerson{font-size:13px;min-height:36px}.cover{min-height:224px}.coverInner{width:68%}.bio{font-size:13px}.stats{font-size:12px}.coverKicker{font-size:9px}.stats svg{width:12px;height:12px}
 .feedTitle h2{font-size:22px}.entryText{font-size:16px}.postIdentity>div{font-size:12px}.postCard{padding:15px}.sortBtn{font-size:12px;gap:3px}.filters button{font-size:12px;padding:5px 9px}.feedToolbar{gap:6px}.hint{font-size:12px}.modalHead h2{font-size:23px}.authTheme{top:22px;right:0;width:100%;display:flex;justify-content:center}.authCard{padding:25px}.authPage{padding-top:90px;padding-bottom:30px}.authCard .brand>span{font-size:13px}
 :root[data-theme=glass] .cover{min-height:240px}:root[data-theme=glass] :is(.cover,.welcome){border-radius:24px}:root[data-theme=glass] .coverInner{padding:24px 8px 24px 20px}:root[data-theme=glass] :is(.cover h1,.welcome h1){font-size:clamp(27px,7vw,37px);letter-spacing:-.5px}
 :root[data-theme=glass] .coverAvatar{border-width:3px;box-shadow:0 10px 25px #567bab29,0 0 0 8px #ffffff30}:root[data-theme=glass] .spaceArt:before{width:240px;height:240px;right:-90px;top:-40px}:root[data-theme=glass] .spaceArt:after{right:40px;top:170px}
 :root[data-theme=glass] .peopleBar{margin:16px 0}:root[data-theme=glass] .postCard{padding:15px;border-radius:20px}:root[data-theme=glass] .mediaFrame{border-radius:8px}:root[data-theme=glass] .feed{gap:16px}:root[data-theme=glass] .feedTitle h2{font-size:22px}
 :root[data-theme=glass] .filters{padding:3px;gap:0}:root[data-theme=glass] .filters button{font-size:12px;padding:4px 7px;gap:4px;min-height:30px}:root[data-theme=glass] .sortBtn{font-size:12px}:root[data-theme=glass] .modalInside{padding:19px}:root[data-theme=glass] .modal{border-radius:23px}:root[data-theme=glass] .modalHead h2{font-size:23px}:root[data-theme=glass] .authCard{padding:25px}
}
@media(max-width:360px){.brand strong,:root[data-theme=glass] .brand strong{font-size:19px}.headerActions .primary{padding:7px 9px}.headerActions .primary svg{display:none}.feedToolbar .sortBtn svg:first-child{display:none}.feedToolbar .filters button{padding:4px 6px}:root[data-theme=glass] .filters button{padding:4px 5px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media(prefers-reduced-transparency:reduce){:root[data-theme=glass] :is(.top,.cover,.welcome,.postCard,.modal,.authCard,.popMenu,.photoMenu,.photoConfirm){background:#f2f7fc;backdrop-filter:none;-webkit-backdrop-filter:none}}
@supports not ((backdrop-filter:blur(1px)) or (-webkit-backdrop-filter:blur(1px))){:root[data-theme=glass] :is(.top,.postCard,.modal,.authCard,.popMenu,.photoMenu,.photoConfirm){background:#f2f7fc}}
/* Narrow desktop windows and phone inputs must shrink with their container. */
html{min-width:0}.field{min-width:0}.field>input,.field>textarea,.passwordField input{width:100%;min-width:0}.authCard .brand{flex-wrap:wrap}
@media(max-width:360px){.authCard .brand>span,.authCard .brand i{display:none}}
