@font-face{font-family:DM Sans;src:url('/fonts/dm-sans-latin.woff2') format('woff2');font-weight:100 1000;font-display:swap}
:root{font-family:'DM Sans',system-ui,sans-serif;color:#242123;background:#f7f5f0;--bg:#f7f5f0;--ink:#242123;--quiet:#5c5659;--line:#e5ddd9;--paper:#fffdf9;--lavender:#e6dafe;--lime:#d9ed72;--surface:#f1ebfa;--error:#922441}
*{box-sizing:border-box}
body{margin:0;min-width:300px}
button,input,textarea,select{font:inherit}
a{color:inherit}
h1,h2,h3,p{margin:0}
h1{font-size:clamp(2.8rem,6.5vw,6rem);font-weight:730;letter-spacing:-.079em;line-height:.94}
h2{font-size:clamp(1.65rem,3.5vw,2.8rem);line-height:1.05;letter-spacing:-.05em}
h3{font-size:1.12rem;line-height:1.3;letter-spacing:-.025em}
button{cursor:pointer}
button:disabled{cursor:default;opacity:.6}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:2px solid #6546aa;outline-offset:4px}
[hidden]{display:none!important}
.shell{max-width:1330px;margin-inline:auto;padding-inline:clamp(17px,4vw,57px)}
.top{border-bottom:1px solid var(--line);background:var(--bg)}
.bar{min-height:69px;display:flex;justify-content:space-between;align-items:center;gap:15px}
.brand{display:inline-flex;align-items:center;gap:9px;font-size:1.44rem;letter-spacing:-.07em;font-weight:800;text-decoration:none;white-space:nowrap}
.brand span{color:#7756b4;margin-left:-9px}
.top-right{display:flex;align-items:center;gap:14px;color:var(--quiet);font-size:.9rem}
#account{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.subtle{color:#4b3a69;font-weight:630;text-underline-offset:4px}
.main{padding-top:clamp(19px,3.4vw,47px);padding-bottom:65px}
.loading{padding:20px 0;color:var(--quiet)}
.hero{display:grid;grid-template-columns:1.05fr .95fr;position:relative;isolation:isolate;align-items:center;gap:8px;background:var(--lavender);border-radius:26px;overflow:hidden;min-height:415px;padding:clamp(26px,5vw,70px)}
.hero-copy{z-index:1}
.hero p,.lede{font-size:1.04rem;line-height:1.55;color:#4c4352;margin-top:16px;max-width:480px}
.hero .actions{margin-top:24px}
.art{min-height:275px;position:relative;isolation:isolate}
.art::before{content:'';position:absolute;background:#f3eafb;inset:2% 8% -2% 13%;border-radius:50%;transform:rotate(-11deg)}
.art figure{position:absolute;margin:0;background:var(--paper);padding:9px 9px 24px;border-radius:7px;box-shadow:0 16px 39px #36225036;overflow:hidden}
.art figure img{display:block;background:#ac84af;width:100%;height:100%;object-fit:cover;border-radius:3px}
.art .coast{width:74%;height:81%;top:6%;left:5%;transform:rotate(-9deg)}
.art .wedding{width:44%;height:62%;top:35%;right:-2%;transform:rotate(10deg)}
.button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:43px;padding:8px 14px;border:1px solid #d5cbd2;border-radius:100px;background:var(--paper);color:var(--ink);font-size:.91rem;font-weight:690;line-height:1.25;text-align:center;text-decoration:none}
.button:hover{background:#f0e8fb}
.primary{background:var(--ink);color:white;border-color:var(--ink)}
.primary:hover{background:#41334d}
.accent{background:var(--lime);border-color:#bbce60}
.accent:hover{background:#e8f395}
.actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:12px}
.card-grid,.media-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,225px),1fr));gap:13px}
.card{border:1px solid var(--line);border-radius:15px;background:var(--paper);padding:17px;text-align:left;color:var(--ink);text-decoration:none;min-width:0;overflow-wrap:anywhere}
.card:hover{border-color:#a78bbc;background:#fff}
.group-card{display:flex;align-items:center;gap:13px}
.group-card .initial{flex:none;display:grid;place-items:center;border-radius:12px;width:43px;height:43px;background:var(--lavender);font-size:1.1rem;font-weight:750}
.group-card:nth-child(3n+2) .initial{background:#e4edb6}
.group-card:nth-child(3n) .initial{background:#f8dfd2}
.meta{font-size:.87rem;color:var(--quiet);line-height:1.5}
.section-head{margin:33px 0 14px;display:flex;align-items:flex-end;justify-content:space-between;gap:12px;flex-wrap:wrap}
.empty{border:1px dashed #bfacc9;border-radius:16px;background:var(--paper);padding:31px;display:grid;justify-items:start;gap:8px}
.empty p{color:var(--quiet);line-height:1.5;max-width:560px}
.empty .button{margin-top:4px}
.group-top{border-radius:21px;padding:clamp(19px,4vw,39px);background:#e8dbfe}
.group-top h1{font-size:clamp(2.6rem,7vw,5.2rem);overflow-wrap:anywhere;margin-top:7px}
.kicker{display:flex;gap:8px;align-items:center;font-size:.89rem;color:#4d3b62;font-weight:690;flex-wrap:wrap}
.kicker a{text-underline-offset:4px}
.group-top .actions{margin-top:18px}
.tabs{display:flex;align-items:center;gap:clamp(10px,3vw,34px);border-bottom:1px solid var(--line);margin-top:12px;overflow:auto}
.tabs a{display:inline-flex;align-items:center;min-height:52px;font-weight:680;padding:0 3px;border-bottom:3px solid transparent;text-decoration:none;color:var(--quiet);white-space:nowrap}
.tabs a[aria-current]{color:#34224c;border-color:#6e47aa}
.filters{display:grid;grid-template-columns:minmax(180px,2fr) repeat(2,minmax(125px,1fr));gap:9px;margin-bottom:18px}
label{display:grid;gap:5px;font-weight:650}
input,select,textarea{width:100%;min-height:42px;padding:9px 11px;background:white;color:var(--ink);border:1px solid #bcafc1;border-radius:8px}
textarea{resize:vertical}
.month{margin:22px 0 10px}
.media-card{position:relative;display:block;padding:0;overflow:hidden;border:1px solid var(--line);background:var(--paper);border-radius:13px;color:var(--ink);text-align:left;width:100%}
.media-card:hover{border-color:#a78bbc}
.media-card img,.video-placeholder{width:100%;display:grid;aspect-ratio:4/3;object-fit:cover;background:#e8ddf3;place-content:center;font-size:2rem;color:#503b6b}
.media-meta{display:grid;gap:4px;padding:10px 12px;overflow-wrap:anywhere}
.media-meta small{font-size:.82rem;color:var(--quiet)}
.more{margin-top:20px}
.cleanup-note{margin-block:14px 18px;padding:13px 15px;border-left:3px solid #b79ae8;background:#f0e9fa;color:#44344d}
.list{display:grid;gap:8px}
.list-row{border:1px solid var(--line);border-radius:10px;padding:11px 13px;background:var(--paper);display:flex;gap:9px;align-items:center;justify-content:space-between;overflow-wrap:anywhere}
dialog{width:min(94vw,570px);max-height:91dvh;overflow:auto;background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:19px;padding:0}
dialog::backdrop{background:#241c2cbd}
.dialog-large{width:min(95vw,970px)}
.dialog-inner{padding:clamp(15px,4vw,27px)}
.dialog-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;margin-bottom:13px}
.dialog-head h2{font-size:1.85rem;overflow-wrap:anywhere}
.icon-btn{border:0;border-radius:50%;min-width:38px;height:38px;background:var(--surface);font-size:1.35rem;color:var(--ink)}
.full{width:100%;max-height:59dvh;display:block;background:#292232;object-fit:contain;border-radius:10px}
dialog form{display:grid;gap:12px}
.dialog-footer{margin-top:15px}
.hint{font-size:.87rem;line-height:1.5;color:var(--quiet);font-weight:400}
.comments{margin-block:16px}
.comment{border-top:1px solid var(--line);padding:8px 0;overflow-wrap:anywhere}
.comment p{white-space:pre-wrap;line-height:1.55}
.status{color:var(--error);font-size:.91rem;line-height:1.45}
.status:empty{display:none}
.toast{position:fixed;bottom:18px;right:18px;padding:13px 17px;border-radius:8px;background:#262031;color:white;max-width:min(90vw,425px);z-index:4}
.frames{display:grid;place-items:center;min-height:190px;padding:19px;background:#ece6df;border-radius:10px}
.frame-sample{width:min(100%,180px);aspect-ratio:4/5;display:grid;place-items:center;background:#fffdf7;border:11px solid #a47752;box-shadow:0 6px 16px #33281d37;padding:9px}
.frame-sample img{width:100%;height:100%;object-fit:cover;min-height:0}
.frame-sample[data-frame="Black"]{border-color:#242222}
.frame-sample[data-frame="White"]{border-color:#f9f8f1}
.frame-sample[data-size="30x40"]{aspect-ratio:3/4}
.danger{color:var(--error)}
.photo-note{white-space:pre-wrap;overflow-wrap:anywhere;margin-block:9px}
@media(max-width:730px){
.hero{grid-template-columns:1fr;padding:25px;min-height:0}.art{min-height:200px;margin:12px 12px 5px}.art .coast{width:68%;left:8%}.art .wedding{right:5%;width:34%}
.filters{grid-template-columns:1fr 1fr}.filters input{grid-column:1/-1}
.media-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.media-meta{padding:8px}.top-right{gap:6px}#account{max-width:90px}
}
.account-button{border:1px solid var(--line);background:var(--paper);border-radius:100px;padding:7px 11px;color:var(--ink);font-weight:690;text-decoration:none}
.account-button:hover{background:#efe7f9}
.album-home{display:grid;grid-template-columns:minmax(0,1fr) minmax(150px,.65fr);align-items:center;gap:22px;border-bottom:1px solid var(--line);padding-bottom:clamp(18px,4vw,37px)}
.album-home h1{font-size:clamp(2.8rem,7vw,5.6rem)}
.album-home-photo{height:clamp(135px,24vw,270px);overflow:hidden;border-radius:19px;background:var(--lavender)}
.album-home-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 58%}
.album-grid{margin-top:24px}
.album-card{padding:0;overflow:hidden}
.album-cover{display:grid;place-items:center;aspect-ratio:16/10;background:#e2d4f3}
.album-card:nth-child(3n+2) .album-cover{background:#e4edb6}
.album-card:nth-child(3n) .album-cover{background:#f8dfd2}
.album-cover img{width:100%;height:100%;object-fit:cover;min-height:0}
.album-card-copy{padding:14px 16px}
.cover-letter{font-size:2.5rem;color:#46345b;font-weight:750}
.album-kicker{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.album-switch{width:min(100%,220px)}
.main:has(.signin){max-width:1170px;display:grid;align-content:center;min-height:100svh;padding-block:clamp(18px,5vw,64px)}
body:has(.signin) .top{display:none}
.signin{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);overflow:hidden;border:1px solid var(--line);border-radius:28px;background:var(--paper);box-shadow:0 18px 65px #30242912}
.signin-copy{display:grid;align-content:center;gap:24px;padding:clamp(26px,5vw,64px)}
.signin-copy .brand{justify-self:start;margin-bottom:10px}
.signin h1{font-size:clamp(2.15rem,4vw,3.55rem);line-height:1;letter-spacing:-.064em;text-wrap:balance}
.signin .lede{margin-top:12px}
.signin-options,.signin-email{display:grid;gap:9px}
.signin .signin-provider{width:100%;min-height:50px;border-radius:12px;font-size:1rem}
.signin-options [data-id="google"]{background:var(--ink);border-color:var(--ink);color:white}
.signin-options [data-id="google"]:hover{background:#42354a}
.signin-options button:disabled{background:#f5f0ed;color:var(--quiet);opacity:1}
.signin-options small{font-size:.81rem;font-weight:560;margin-inline-start:5px}
.signin-email span{display:flex;align-items:center;gap:12px;color:var(--quiet);font-size:.84rem}
.signin-email span::before,.signin-email span::after{content:'';flex:1;border-top:1px solid var(--line)}
.signin-photo{position:relative;min-height:100%;background:#d8b0a1}
.signin-photo img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:52% 52%}
@media(max-width:720px){
  .main:has(.signin){min-height:100svh}
  .signin{grid-template-columns:1fr;max-width:495px;margin-inline:auto;width:100%;border-radius:20px}
  .signin-copy{gap:20px;padding:clamp(20px,6vw,36px)}
  .signin-copy .brand{margin-bottom:2px}
  .signin-photo{min-height:0;height:clamp(100px,24vw,160px)}
}
@media(max-width:540px){.album-home{grid-template-columns:1fr}.album-home-photo{height:145px}.album-home .lede{margin-top:10px}}
.settings{max-width:890px;margin-inline:auto;display:grid;gap:17px}
.settings-head{padding:clamp(21px,4vw,44px);background:var(--lavender);border-radius:22px}
.settings-head h1{margin-top:14px;font-size:clamp(2.7rem,6vw,4.9rem)}
.settings-card{border:1px solid var(--line);border-radius:18px;background:var(--paper);padding:clamp(16px,4vw,27px)}
.settings-card h2{font-size:1.45rem;margin-bottom:9px}
.settings-row{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:10px 20px;border-top:1px solid var(--line);padding-block:13px}
.settings-row .hint{margin-top:4px;max-width:530px}
.settings-links{display:flex;flex-wrap:wrap;gap:9px 18px;padding-top:9px}
.settings-links a{color:#4b3a69;text-underline-offset:4px}
.upload-destination{background:var(--surface);border-radius:10px;padding:10px 13px;overflow-wrap:anywhere}
.upload-source{border:1px dashed #aa97ba;background:#faf6fd;border-radius:14px;display:grid;justify-items:center;gap:9px;padding:clamp(14px,4vw,30px);text-align:center}
.upload-source-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:8px}
@media(pointer:fine){.camera-picker{display:none}}
.upload-queue{list-style:none;display:grid;gap:7px;padding:0;margin:0;max-height:270px;overflow:auto}
.upload-queue:empty{display:none}
.upload-queue li{display:grid;grid-template-columns:48px minmax(0,1fr) auto;align-items:center;gap:9px;border:1px solid var(--line);border-radius:11px;padding:7px}
.upload-queue img,.upload-preview{width:48px;height:48px;display:grid;place-items:center;object-fit:cover;border-radius:7px;background:var(--surface)}
.upload-preview,.upload-queue small{font-size:.8rem}
.upload-queue li div{display:grid;gap:3px;overflow-wrap:anywhere}
.upload-queue .button{padding-inline:9px;min-height:34px}
.upload-details summary{cursor:pointer;color:#4b3a69;font-weight:650}
.upload-details div{display:grid;gap:9px;margin-top:10px}
.top{position:sticky;top:0;z-index:2}
.app-nav{display:flex;align-items:center;gap:4px}
.app-nav a{padding:9px 15px;border-radius:100px;text-decoration:none;color:#4c4352;font-weight:670;white-space:nowrap}
.app-nav a:hover{background:var(--paper)}
.app-nav a[aria-current]{background:var(--lavender);color:#34224c}
#signout{font-size:.9rem;white-space:nowrap}
.feed-layout{max-width:1050px;margin-inline:auto;display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,285px);gap:clamp(18px,3vw,36px);align-items:start}
.feed-layout:not(:has(.feed-sidebar)){display:block;max-width:910px}
.feed-main{min-width:0;display:grid;gap:25px}
.feed-welcome{display:flex;align-items:center;gap:20px;background:#ede2fb;border:1px solid #e3d4f4;border-radius:22px;padding:clamp(19px,4.1vw,37px);overflow:hidden}
.feed-welcome h1{font-size:clamp(2.45rem,5.4vw,4.35rem);line-height:.99;letter-spacing:-.073em}
.feed-welcome .lede{margin-top:11px}
.feed-welcome .actions{margin-top:17px}
.feed-welcome img{width:32%;height:clamp(105px,20vw,190px);object-fit:cover;border-radius:15px;object-position:62% center}
.feed-stream{min-width:0}
.feed-stream h2{font-size:1.3rem;margin-bottom:12px}
.digest-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap}
.digest-heading a{margin-bottom:12px}
.pick-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
[data-pick-summary]:empty{display:none}
.upload-queue input[type=checkbox]{width:23px;height:23px;min-height:0;margin:0 6px;accent-color:#6844a0}
.upload-queue li:has(input:not(:checked)){background:#f4efed}
.slideshow{display:grid;gap:10px}
.slideshow img{display:block;width:100%;height:min(63dvh,680px);object-fit:contain;background:#211c25;border-radius:10px}
.slideshow p{color:var(--quiet);overflow-wrap:anywhere}
dialog:fullscreen .slideshow img{height:calc(100dvh - 170px)}
#feed-posts{display:grid;gap:16px}
#feed-next:not(:empty){margin-top:16px}
.feed-post,.feed-sidebar{background:var(--paper);border:1px solid var(--line);border-radius:17px}
.feed-post{overflow:hidden}
.feed-post-head{display:flex;align-items:center;gap:10px;padding:14px 16px}
.feed-post-head div{min-width:0;overflow-wrap:anywhere}
.feed-post-head h3{font-size:1rem}
.feed-post-head a{color:#583d80;text-underline-offset:.2em}
.feed-avatar,.feed-albums span{flex:none;display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#e8ddfa;color:#473163;font-weight:750}
.feed-caption{padding:0 16px 13px;white-space:pre-wrap;overflow-wrap:anywhere}
.feed-media{display:block;width:100%;background:#f0e9e6}
.feed-media img{display:block;width:100%;max-height:min(670px,72vh);object-fit:contain}
video.feed-media{max-height:550px;min-height:170px;background:#27212e}
.feed-reactions{display:flex;flex-wrap:wrap;gap:8px;padding:10px 13px}
.feed-reactions .button{min-height:36px}
.feed-reactions [aria-pressed=true]{background:#f8e6f2;color:#783763;border-color:#e7c5dc}
.feed-sidebar{position:sticky;top:88px;padding:17px}
.feed-sidebar-title{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}
.feed-sidebar h2{font-size:1.13rem}
.feed-sidebar .subtle{font-size:.87rem;white-space:nowrap}
.feed-albums{margin:0 0 14px;padding:0;list-style:none;display:grid;gap:4px}
.feed-albums a{display:flex;align-items:center;gap:8px;min-width:0;text-decoration:none;padding:5px;border-radius:8px}
.feed-albums a:hover{background:var(--surface)}
.feed-albums span{width:31px;height:31px;border-radius:9px}
.feed-albums strong{overflow-wrap:anywhere;font-size:.92rem}
@media(max-width:760px){
  .feed-layout{grid-template-columns:minmax(0,1fr)}
  .feed-sidebar{position:static}
}
@media(max-width:530px){
  .bar{display:grid;grid-template-columns:1fr auto;gap:6px 13px;padding-block:7px 8px}
  .app-nav{grid-column:1/-1;grid-row:2}
  .app-nav a{padding:6px 13px}
  #signout{grid-column:2;grid-row:1}
  .feed-welcome img{display:none}
}

/* Application surfaces and reading controls */
:root{--bg:#f5f4f8;--ink:#231e31;--quiet:#575064;--line:#e5e0ec;--paper:#fff;--lavender:#eae2f7;--surface:#f1edf7;background:var(--bg);color:var(--ink)}
:root.large-text{font-size:118%}
.top{background:var(--paper)}
.bar{max-width:1160px}
.app-nav{background:var(--bg);border:1px solid var(--line);border-radius:12px;padding:3px}
.app-nav a{border-radius:8px;padding:8px 13px}
.app-nav a[aria-current]{background:white;box-shadow:0 1px 3px #2b174320;color:#3d285e}
.button{border-radius:9px;min-height:44px;background:white}
.button.primary{background:#382654;border-color:#382654}
.button.primary:hover{background:#4b3370}
.feed-welcome,.group-top,.settings-head{background:#efebf6;border:1px solid var(--line);border-radius:16px}
.feed-welcome h1,.group-top h1,.settings-head h1,.album-home h1{letter-spacing:-.055em}
.feed-post,.feed-sidebar,.settings-card,.album-card{border-radius:13px;box-shadow:0 2px 7px #28143f0b}
.feed-reactions{border-top:1px solid var(--line)}
.feed-reactions .button{min-height:42px}
.text-size-toggle{display:flex;align-items:center;gap:9px;cursor:pointer}
.text-size-toggle input{width:20px;height:20px;min-height:0;accent-color:#382654}
.slideshow-limit{margin-bottom:12px;font-size:.95rem;color:var(--quiet)}
.slideshow-controls .button{min-height:46px}
dialog:fullscreen{width:100%;height:100%;max-height:none;border:0;border-radius:0}
.digest-list{list-style:none;display:grid;gap:9px;margin:0;padding:0}
.digest-list a{display:grid;grid-template-columns:68px minmax(0,1fr);align-items:center;gap:13px;padding:9px;border:1px solid var(--line);border-radius:12px;background:var(--paper);text-decoration:none}
.digest-list a:hover{border-color:#ab95c6}
.digest-list img,.digest-video{width:68px;height:58px;object-fit:cover;border-radius:7px;background:var(--surface)}
.digest-video{display:grid;place-items:center}
.digest-list a>span:last-child{display:grid;gap:4px;overflow-wrap:anywhere}
.digest-list small{color:var(--quiet)}
@media(max-width:530px){.app-nav{justify-self:start;max-width:100%;flex-wrap:wrap}}

.settings-card form[data-form=digest-preferences],.digest-page form{display:grid;gap:12px;margin-top:16px;max-width:420px}
.digest-page{max-width:600px;margin-inline:auto}
.digest-page h1{font-size:clamp(2rem,5vw,3rem);line-height:1.06;margin-bottom:14px}

/* Shared app shell */
:root{--app-radius:14px;--ink:#231e31;--quiet:#51495d;--paper:#fff;--bg:#fff}
body{min-width:0}
a,.subtle,.feed-post-head a,.settings-links a{text-decoration:none}
.top{border-bottom:1px solid #eeeaf2}
.bar{max-width:600px;min-height:58px;display:flex;padding:0 16px}
.brand{font-size:1.38rem}
.main{max-width:820px;padding-top:12px;padding-bottom:calc(100px + env(safe-area-inset-bottom))}
.bottom-tabs{position:fixed;z-index:3;bottom:0;inset-inline:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));max-width:600px;margin-inline:auto;
  background:#fff;border:1px solid #e8e2ed;border-bottom:0;border-radius:var(--app-radius) var(--app-radius) 0 0;
  padding:5px min(1.1vw,8px) calc(5px + env(safe-area-inset-bottom));box-shadow:0 -5px 24px #2615360b}
.bottom-tabs a,.bottom-tabs button{min-width:0;display:grid;grid-template-rows:29px auto;justify-items:center;align-items:center;gap:2px;min-height:53px;
  border:0;background:none;color:var(--quiet);text-align:center;text-decoration:none;font-size:.75rem;font-weight:670;line-height:1.15;padding:0 1px}
.bottom-tabs svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.bottom-tabs [aria-current=page]{color:#382654;font-weight:800}
.bottom-tabs .tab-symbol{display:grid;place-items:center;width:42px;height:42px;border-radius:50%;background:#d9ed72;color:#231e31;
  transform:translateY(-8px);box-shadow:0 4px 12px #24173719}
body:has(.signin) .bottom-tabs{display:none}
@media(max-width:360px){.bottom-tabs a,.bottom-tabs button{overflow-wrap:anywhere}.bottom-tabs svg{width:20px;height:20px}}
.profile-page{max-width:680px;margin:auto}
.profile-head{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;padding:18px 2px 23px}
.profile-head h1{font-size:clamp(1.6rem,5vw,2.7rem);letter-spacing:-.047em;line-height:1.04;overflow-wrap:anywhere}
.profile-head p{margin-top:6px;color:var(--quiet);line-height:1.45}
.avatar{display:grid;place-items:center;flex:none;width:38px;height:38px;border-radius:50%;background:#eae2f7;color:#382654;overflow:hidden;font-weight:750}
.avatar img{width:100%;height:100%;object-fit:cover}
.avatar svg{width:53%;height:53%;fill:none;stroke:currentColor;stroke-width:1.5}
.profile-photo-button{padding:0;border:1px dashed #9479b3;cursor:pointer}
.profile-avatar{width:clamp(54px,15vw,84px);height:clamp(54px,15vw,84px);font-size:1.5rem}
.profile-tabs{display:grid;grid-template-columns:1fr 1fr;border-bottom:1px solid var(--line);margin-bottom:13px}
.profile-tabs a{text-align:center;padding:13px 8px;border-bottom:3px solid transparent;font-weight:700}
.profile-tabs [aria-current=page]{border-color:#6e4a9d;color:#382654}
.profile-settings{padding:0;margin:0;list-style:none}
.profile-settings li{border-bottom:1px solid var(--line)}
.profile-settings a,.profile-settings button{display:flex;justify-content:space-between;align-items:center;gap:8px;width:100%;min-height:55px;
 padding:10px 5px;border:0;background:none;color:inherit;text-align:left;font-weight:670}
.profile-settings small{display:block;color:var(--quiet);font-size:.83rem;font-weight:500;margin-top:3px}
.profile-settings .danger{color:#922441}
.profile-panel,.profile-panel form,.profile-posts,.sheet-actions{display:grid;gap:12px}
.privacy-links{display:flex;gap:8px;flex-wrap:wrap}
@media(max-width:430px){.profile-head .button{grid-column:2;justify-self:start}}
.photo-feed,.gatherings-page{width:100%;max-width:568px;margin-inline:auto}
.main:has(.photo-feed){max-width:600px;padding-inline:16px}
.stream-title{font-size:clamp(1.75rem,5vw,2.65rem);line-height:1.12;letter-spacing:-.045em;margin-block:9px 17px}
.gathering-strip{display:flex;align-items:flex-start;gap:12px;overflow-x:auto;scrollbar-width:thin;margin:1px 0 12px;padding:4px 5px 7px}
.gathering-bubble{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:60px auto;justify-items:center;gap:6px;flex:0 0 76px;text-align:center;color:#30273e;
  border:0;background:none;padding:0;font-size:.8rem;font-weight:650;line-height:1.25}
.gathering-label{display:block;width:100%;overflow-wrap:anywhere}
.gathering-ring{inline-size:60px;block-size:60px;border:2px solid #aca5b0;border-radius:50%;display:grid;
  grid-template: minmax(0,1fr) / minmax(0,1fr);place-items:center;padding:3px;background:#fff;overflow:hidden}
.gathering-ring img,.gathering-ring>span{display:grid;place-items:center;width:100%;height:100%;min-width:0;min-height:0;border-radius:50%;object-fit:cover}
.gathering-ring>span{background:#eae2f7;color:#382654;font-size:1.2rem}
.gathering-bubble.unread .gathering-ring{border-color:#763dc1}
.gathering-ring.create-ring{border-style:dashed;color:#382654;font-size:1.45rem}
.catch-card{display:flex;justify-content:space-between;align-items:center;gap:8px;background:#ece4f8;color:#382654;
  padding:9px 14px;margin-bottom:10px;min-height:48px;border-radius:var(--app-radius)}
.catch-card div{display:grid;gap:2px}.catch-card div span{font-size:.85rem;color:#51495d}
.feed-post{border:0;border-bottom:1px solid #e8e2ed;border-radius:0;box-shadow:none;padding-bottom:10px}
.feed-post-head{display:grid;grid-template-columns:auto minmax(0,1fr) minmax(0,36%) auto;padding:6px 2px;gap:8px}
.feed-post-head .gathering-pill{justify-self:end;max-width:100%;padding:5px 8px;border-radius:18px;background:#eae2f7;color:#382654;
  font-size:.82rem;font-weight:690;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.post-menu{border:0;background:none;color:#382654;font-weight:800;min-width:35px;min-height:42px}
.post-copy{padding:4px 2px 8px}.post-copy h2{font-size:1.3rem;line-height:1.15;letter-spacing:-.025em;overflow-wrap:anywhere}
.post-place,.post-caption{margin-top:3px;overflow-wrap:anywhere}.post-place{color:#51495d;font-size:.88rem}
.post-carousel{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(78%,1fr);gap:5px;overflow:auto;scroll-snap-type:x mandatory;scrollbar-width:thin}
.post-carousel.solo{grid-auto-columns:100%}
.post-slide{position:relative;display:block;min-width:0;aspect-ratio:4/5;max-height:min(355px,43svh);overflow:hidden;scroll-snap-align:start;background:#ece7ef;border-radius:var(--app-radius)}
.post-slide :is(img,video){display:block;width:100%;height:100%;object-fit:cover}
.slide-count,.video-play{position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%);padding:8px;border-radius:9px;background:#231e31bf;color:#fff;font-weight:800}
.feed-reactions{border:0;padding:5px 0}.feed-reactions .button{border:0;padding-inline:8px;min-height:36px}
.feed-like-count{padding:4px;font-size:.9rem}
.comment-preview{margin:0 4px 8px;overflow-wrap:anywhere}
.sample-heading{display:flex;flex-wrap:wrap;gap:8px;align-items:center;justify-content:space-between;padding:8px 1px 12px}
.sample-heading h1{font-size:clamp(1.35rem,4vw,1.8rem);line-height:1.1;letter-spacing:-.04em}
.sample-heading p{font-size:.85rem;color:var(--quiet);margin-top:4px}
.sample-heading .button{min-height:36px}
.sample-comments{margin:0 4px 8px;font-size:.9rem}
.sample-comments summary{cursor:pointer;font-weight:690}
.sample-comments p{margin:5px 0;overflow-wrap:anywhere}
.sample-entry{margin-top:18px}
.feed-comment{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px;align-items:center}
.feed-comment .status{grid-column:1/-1}
.feed-comment input,.feed-comment button{min-height:38px}
.gathering-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.gathering-card,.create-gathering{position:relative;min-width:0;aspect-ratio:1.08;border-radius:var(--app-radius);overflow:hidden;border:0}
.gathering-card{display:grid;place-items:center;background:#675483;color:#fff}
.gathering-card>img{width:100%;height:100%;object-fit:cover}
.gathering-card>span:not(.gathering-badge){font-size:2.5rem;font-weight:800}
.gathering-title{position:absolute;inset:auto 0 0;padding:24px 10px 10px;background:linear-gradient(transparent,#211533ef)}
.gathering-title h2{font-size:clamp(.95rem,3.4vw,1.4rem);line-height:1.15;letter-spacing:-.02em;overflow-wrap:anywhere}
.gathering-badge{position:absolute;inset:8px 8px auto auto;background:#d9ed72;color:#231e31;border-radius:12px;padding:4px 7px;font-weight:700;font-size:.78rem}
.member-avatars{display:flex;gap:2px;margin-top:5px}.member-avatars .avatar{width:24px;height:24px;font-size:.7rem}
.create-gathering{display:grid;place-content:center;justify-items:center;gap:5px;border:1px dashed #ad9bc5;background:#f7f2fb;color:#382654;font-weight:730;text-align:center;padding:6px}
.create-gathering span{font-size:1.8rem}
dialog.upload-sheet{position:fixed;inset:auto 0 0;width:min(100%,760px);max-height:94dvh;margin:0 auto;
  border-radius:var(--app-radius) var(--app-radius) 0 0;overscroll-behavior:contain}
.upload-sheet .dialog-inner{padding-bottom:0}
.upload-sheet form>.actions:last-child{position:sticky;bottom:0;background:#fff;padding:8px 0 calc(8px + env(safe-area-inset-bottom));
  margin:0;border-top:1px solid var(--line);z-index:1}
.upload-sheet form>.actions:last-child .button{width:100%;min-height:50px}
.upload-sheet .compact-source{padding:8px;border:0;background:#f7f3fb}
.upload-sheet .upload-queue{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));max-height:none;overflow:visible;gap:9px}
.upload-sheet .upload-queue:empty{display:none}
.upload-sheet .upload-queue li{display:grid;grid-template-columns:minmax(0,1fr);gap:3px;align-content:start;padding:0;border:0;background:none}
.upload-thumb{position:relative;display:block;aspect-ratio:1;overflow:hidden;border-radius:var(--app-radius);cursor:pointer;background:#ece4f8}
.upload-sheet .upload-thumb :is(img,.upload-preview){width:100%;height:100%;object-fit:cover;border-radius:0}
.upload-sheet .upload-thumb input{appearance:none;position:absolute;top:6px;right:6px;width:30px;height:30px;margin:0;border:2px solid white;
  border-radius:50%;background:#332642bb;padding:0;display:grid;place-items:center;color:#231e31}
.upload-sheet .upload-thumb input:checked{background:#d9ed72}
.upload-sheet .upload-thumb input:checked::after{content:'✓';font-weight:900;font-size:.92rem}
.detail-chip{min-width:0;max-width:100%;font-size:.78rem;line-height:1.2;padding:5px;color:#382654;background:#f2edf8;border:0;border-radius:20px;
  white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:left}
.detail-chip.place-chip{background:#f3f4ed;color:#49433f}
.destination-chips{margin:0;padding:0;min-width:0;border:0;display:flex;flex-wrap:wrap;gap:6px}
.destination-chips legend{margin-bottom:6px;font-weight:700}
.destination-chips label{position:relative;display:inline-flex;max-width:100%;cursor:pointer}
.destination-chips input{position:absolute;inset:0;opacity:0;margin:0}
.destination-chips span{padding:7px 10px;border:1px solid var(--line);border-radius:30px;color:#382654;overflow-wrap:anywhere}
.destination-chips input:checked+span{background:#382654;color:#fff}
.destination-chips input:focus-visible+span{outline:2px solid #6546aa;outline-offset:2px}
[data-upload-editor]{display:grid;gap:6px;padding:9px;border-block:1px solid var(--line)}
.feed-skeleton{max-width:620px;margin:auto;display:grid;gap:14px;padding-top:12px}
.feed-skeleton span{display:block;border-radius:var(--app-radius);background:linear-gradient(100deg,#eee8f3 20%,#f8f5fa 45%,#eee8f3 70%);background-size:200% 100%;animation:skeleton 1.8s linear infinite}
.feed-skeleton span:nth-child(1){width:68%;height:52px}.feed-skeleton span:nth-child(2){width:43%;height:36px}.feed-skeleton span:nth-child(3){aspect-ratio:1.48}
@keyframes skeleton{to{background-position:-200% 0}}
dialog.fullscreen-viewer{width:100%;height:100dvh;max-height:100dvh;max-width:100%;border:0;border-radius:0;overscroll-behavior:contain;animation:viewer-in .2s ease-out}
.fullscreen-viewer .dialog-inner{max-width:1060px;margin:auto}
.fullscreen-viewer .full{max-height:72dvh}
.fullscreen-viewer img.full{touch-action:none;transform-origin:center;cursor:zoom-in;clip-path:inset(0 round 8px);transition:transform .1s linear}
@keyframes viewer-in{from{opacity:0;transform:translateY(9px)}}
@media(prefers-reduced-motion:reduce){.feed-skeleton span,dialog.fullscreen-viewer{animation:none}.fullscreen-viewer img.full{transition:none}}
.bottom-tabs{grid-template-columns:.83fr 1.35fr .73fr 1.13fr .96fr}
.bottom-tabs a>span,.bottom-tabs button>span:last-child{max-width:100%;white-space:nowrap}
@media(max-width:300px){.bottom-tabs a>span,.bottom-tabs button>span:last-child{white-space:normal;overflow-wrap:anywhere}}
.viewer-media{overflow:hidden;border-radius:var(--app-radius);margin-bottom:10px}
.fullscreen-viewer .viewer-media img{clip-path:none}
