.profile-heading{margin:10px 0 28px}.profile-heading h1{font:48px/1.1 var(--serif);letter-spacing:-1.4px;margin:13px 0}.profile-heading>p{font-size:13px;color:var(--muted)}.profile-card{display:flex;align-items:center;gap:22px;padding:27px;border:1px solid var(--line);border-radius:22px;background:var(--white)}.profile-avatar{width:88px;height:88px;border-radius:50%;flex-shrink:0;background:linear-gradient(135deg,#f6e2e8,#ddb6c3);display:grid;place-items:center;color:#875467;font:43px var(--serif);overflow:hidden;border:4px solid #fff;box-shadow:0 5px 20px #743b5010}.profile-avatar img,.community-avatar img{width:100%;height:100%;object-fit:cover}.community-avatar{overflow:hidden}.profile-card>div{min-width:0}.profile-card>div>span{font-size:8px;letter-spacing:1.5px;color:var(--rose)}.profile-card h2{font:30px var(--serif);margin:8px 0;overflow-wrap:anywhere}.profile-card p{font-size:11px;color:var(--muted);line-height:1.6}.profile-edit-button{display:flex;align-items:center;gap:10px;min-height:44px;margin-left:auto;white-space:nowrap;font-size:11px;color:var(--rose)}.profile-edit-button svg{width:15px}.profile-edit{padding:24px;border:1px solid var(--line);border-radius:18px;margin-top:14px;background:var(--white)}.profile-edit[hidden]{display:none}.profile-edit label,.weight-form label{font-size:11px;display:block;color:var(--muted)}.profile-edit input:not([type=file]),.weight-form input{display:block;width:100%;margin-top:8px;background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:10px;padding:13px;font:14px var(--sans)}.photo-editor{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:18px 0}.photo-upload{position:relative;padding:13px;border:1px solid var(--line);border-radius:10px;cursor:pointer;min-height:44px;color:var(--rose)!important}.photo-upload input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}.photo-upload:focus-within{outline:2px solid var(--rose)}.photo-editor>button{font-size:10px;min-height:44px}.photo-editor>span{font-size:10px;line-height:1.7;color:var(--muted);flex-basis:100%}.profile-edit .primary{border-radius:10px;min-height:44px}.profile-error{font-size:11px;color:var(--rose);line-height:1.7}.profile-error:not(:empty){padding:10px 0}.profile-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:20px}.profile-stats>div{padding:20px;border:1px solid var(--line);border-radius:16px}.profile-stats strong{display:block;font:28px var(--serif)}.profile-stats strong small{font:13px var(--sans);color:var(--muted)}.profile-stats>div>span{display:block;font-size:10px;color:var(--muted);margin-top:9px;line-height:1.6}.profile-local-note{font-size:10px;line-height:1.7;color:var(--muted);padding:17px 2px}.profile-tabs{display:flex;gap:32px;border-bottom:1px solid var(--line);margin-top:5px}.profile-tabs button{display:flex;gap:8px;align-items:center;font-size:12px;padding:16px 0;min-height:50px;color:var(--muted);border-bottom:2px solid transparent}.profile-tabs button.active{color:var(--rose);border-color:var(--rose)}.profile-tabs svg{width:17px;height:17px}.profile-section-title{padding:29px 0 23px}.profile-section-title>span{font-size:8px;letter-spacing:1.6px;color:var(--rose)}.profile-section-title h2{font:31px var(--serif);margin:10px 0}.profile-section-title>p{font-size:12px;line-height:1.8;color:var(--muted);max-width:540px}.trophy-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.trophy-card{border:1px solid var(--line);border-radius:19px;text-align:center;padding:25px 18px;background:var(--white)}.trophy-medal{display:grid;place-items:center;width:65px;height:65px;margin:0 auto 16px;border-radius:50%;color:var(--muted);border:1px solid var(--line);background:var(--paper)}.trophy-medal svg{width:26px;height:26px}.trophy-card>span{font-size:7px;letter-spacing:1.4px;color:var(--muted)}.trophy-card h3{font:22px/1.2 var(--serif);margin:10px 0}.trophy-card p{font-size:10px;line-height:1.7;color:var(--muted);min-height:35px}.trophy-progress{height:3px;background:var(--line);border-radius:10px;overflow:hidden;margin:18px 0 8px}.trophy-progress i{display:block;height:100%;background:var(--rose)}.trophy-card>small{font-size:9px;color:var(--muted)}.trophy-card.earned{border-color:#c69868;background:linear-gradient(145deg,var(--white),#c99a4f12)}.earned .trophy-medal{background:linear-gradient(130deg,#fbefd1,#d6b378);color:#7c572d;border-color:#e6ca91;box-shadow:0 6px 20px #b9892c1c}.earned>span{color:#a27a45}.profile-train{width:max-content;max-width:100%;margin:28px auto;border-radius:12px}.weight-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.weight-summary>div{padding:22px 18px;border-radius:16px;border:1px solid var(--line);background:var(--white)}.weight-summary span{font-size:10px;color:var(--muted)}.weight-summary strong{display:block;font:30px var(--serif);margin-top:12px}.weight-summary small{font:11px var(--sans);color:var(--muted)}.weight-form{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:25px 0;padding:24px;border:1px solid var(--line);border-radius:18px;background:var(--white)}.weight-note{grid-column:1/-1;font-size:10px;color:var(--muted);line-height:1.7}.weight-form .profile-error{grid-column:1/-1}.weight-form .profile-error:empty{display:none}.weight-form .primary{grid-column:1/-1;justify-content:center;border-radius:10px}.weight-history{margin:25px 0 40px}.weight-history h3{font:25px var(--serif);margin-bottom:18px}.weight-history>p{font-size:12px;color:var(--muted)}.weight-history table{border-collapse:collapse;width:100%;font-size:12px}.weight-history th{text-align:left;color:var(--muted);font-weight:400;font-size:10px}.weight-history th,.weight-history td{padding:15px 10px;border-bottom:1px solid var(--line)}.weight-history td:last-child,.weight-history th:last-child{text-align:right}.social-layout{display:grid;grid-template-columns:1.1fr 1fr;gap:35px;align-items:center;padding-bottom:35px}.social-art{display:block;width:100%;height:auto;aspect-ratio:9/16;object-fit:contain;border-radius:19px;box-shadow:0 15px 35px -20px #59354044;background:#fbf6f4}.social-actions h3{font:32px/1.2 var(--serif);margin:16px 0}.social-actions>p{font-size:12px;line-height:1.8;color:var(--muted)}.social-actions .primary,.social-share{width:100%;display:flex;align-items:center;justify-content:center;gap:10px;min-height:48px;border-radius:12px;font-size:12px;margin-top:20px}.social-share{border:1px solid var(--line);color:var(--rose);margin:10px 0 18px}.social-actions button:disabled{opacity:.45}.social-actions .social-help,.social-actions .social-status{font-size:10px}.social-status{margin-top:12px}.community-profile-link{display:block;font-size:10px;color:var(--rose);margin:-7px 0 20px;min-height:30px}.community-entry{display:flex;align-items:center;gap:14px;width:100%;text-align:left;background:var(--white);border:1px solid var(--line);border-radius:15px;margin:23px 0 0;padding:17px 19px}.community-entry-icon{display:grid;place-items:center;width:39px;height:39px;flex-shrink:0;border-radius:12px;background:#f5e6ec;color:#94566e}.community-entry strong{display:block;font-size:12px;font-weight:500}.community-entry small{display:block;font-size:10px;color:var(--muted);margin-top:6px}.community-entry>svg:last-child{margin-left:auto;width:16px;color:var(--rose)}
@media(max-width:1050px){.trophy-grid{grid-template-columns:repeat(2,1fr)}.social-layout{grid-template-columns:1fr;max-width:560px}.social-actions{padding:0 5px}.profile-card{gap:16px}.profile-avatar{width:70px;height:70px}}
@media(max-width:700px){.profile-heading h1{font-size:38px}.profile-heading>p{font-size:12px}.profile-card{padding:20px;flex-wrap:wrap;gap:15px}.profile-card h2{font-size:25px}.profile-card>div{flex:1}.profile-card p{font-size:10px}.profile-card>div>span{font-size:6px}.profile-edit-button{flex-basis:100%;justify-content:center;border-top:1px solid var(--line);padding-top:12px;margin-top:0}.profile-stats{gap:8px}.profile-stats>div{padding:15px 10px}.profile-stats strong{font-size:23px}.profile-stats strong small{font-size:10px}.profile-stats>div>span{font-size:9px}.profile-tabs{gap:0;justify-content:space-between}.profile-tabs button{font-size:10px;gap:6px}.profile-tabs svg{width:15px}.profile-section-title h2{font-size:27px}.profile-section-title>span{font-size:7px}.trophy-grid{gap:10px}.trophy-card{padding:21px 12px}.trophy-card h3{font-size:20px}.trophy-card p{font-size:10px;min-height:53px}.trophy-medal{width:54px;height:54px}.weight-summary{gap:8px}.weight-summary>div{padding:16px 10px}.weight-summary strong{font-size:24px}.weight-summary span{font-size:9px;line-height:1.5;display:block;min-height:28px}.weight-form{padding:18px;gap:15px}.social-layout{gap:25px}.community-entry{padding:16px 13px;gap:10px}.community-entry strong{font-size:11px}.community-entry small{font-size:9px}.bottom-nav{gap:0!important;padding-left:6px!important;padding-right:6px!important}.bottom-nav .nav-item{min-width:0!important;flex:1;font-size:8px!important;padding-left:3px!important;padding-right:3px!important}.bottom-nav .nav-item svg{width:19px;height:19px}}

.story-photo-options{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin:22px 0}.story-photo-options>button{font-size:11px;color:var(--rose);min-height:44px}.story-photo-options>span{width:100%;font-size:10px;line-height:1.7;color:var(--muted)}.social-art{background:#462b36;-webkit-touch-callout:default;user-select:auto;-webkit-user-select:auto}

.story-community{margin:24px 0;padding:20px 0;border-block:1px solid var(--line)}.story-community label{font-size:12px;color:var(--muted)}.story-community select{width:100%;background:var(--white);color:var(--ink);border:1px solid var(--line);border-radius:10px;font-size:16px;padding:12px;margin-top:10px}.story-community small{display:block;color:var(--muted);font-size:10px;line-height:1.6}.community-attachments{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin:14px 0}.community-attach{position:relative;cursor:pointer;padding:13px;border:1px solid var(--line);border-radius:10px;color:var(--rose);font-size:12px}.community-attach input{position:absolute;inset:0;width:100%;opacity:0;cursor:pointer}.community-attach:focus-within{outline:2px solid var(--rose)}.community-attachments a{font-size:11px;color:var(--rose)}.community-attachments small{width:100%;font-size:10px;color:var(--muted)}.community-image-draft{display:flex;align-items:center;gap:18px;padding:14px;background:var(--paper);border-radius:12px;margin:14px 0}.community-image-draft img{max-width:110px;max-height:160px;object-fit:contain;border-radius:8px}.community-image-draft button{font-size:12px;min-height:44px;color:var(--rose)}.community-post-image{display:block;width:100%;max-width:360px;height:auto;max-height:640px;object-fit:contain;object-position:left center;border-radius:14px;margin:15px 0;background:var(--paper)}.post-content{min-width:0}

/* One composer for posts, photos and replies. */
.visually-hidden{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.community-composer .composer-person{margin-bottom:16px}.composer-unified{border:1px solid var(--line);border-radius:16px;background:var(--paper);overflow:hidden}.community-composer .composer-unified textarea{border:0;background:transparent;border-radius:0;padding:18px;margin:0;resize:vertical;min-height:115px;font-size:15px}.community-composer .composer-unified textarea:focus{outline:0;box-shadow:none}.composer-unified:focus-within{border-color:var(--rose);box-shadow:0 0 0 1px var(--rose)}.composer-unified .community-attachments{padding:0 14px 12px;margin:0;gap:12px}.composer-unified .community-attach,.composer-unified .community-attachments a{display:flex;align-items:center;gap:7px;min-height:44px;padding:9px 12px;font-size:12px;border:0;border-radius:9px;color:var(--rose);background:var(--white)}.composer-unified svg{width:17px;height:17px}.composer-unified .community-image-draft{margin:0 14px 14px;background:var(--white)}.community-composer .composer-footer{justify-content:flex-end;margin-top:14px}.community-composer .comment-counter{margin-right:auto}.comment-counter[hidden]{display:none}.community-composer .community-error:empty{display:none}.composer-reply-context{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 0 15px;font-size:12px;color:var(--muted)}.composer-reply-context button{min-height:44px;color:var(--rose);font-size:12px}.community-delete-dialog{padding:28px;background:var(--white);border-color:var(--line);width:min(430px,calc(100vw - 32px));text-align:center}.community-delete-dialog .delete-symbol{width:52px;height:52px;border-radius:50%;display:grid;place-items:center;background:var(--blush);color:var(--rose);margin:0 auto 20px}.community-delete-dialog h2{font:29px/1.15 var(--serif);margin-bottom:15px}.community-delete-dialog p{font-size:14px;line-height:1.7;color:var(--muted)}.delete-dialog-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:26px}.delete-dialog-actions button{min-height:48px;border:1px solid var(--line);border-radius:12px;font-size:13px}.delete-dialog-actions [data-delete-confirm]{background:#963e55;color:#fff;border-color:#963e55}
/* Story gallery: actual thumbnails and a full-size 9:16 preview. */
.story-model-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px}.story-model-heading h3{font-size:15px;font-weight:500}.story-model-heading>span{font-size:11px;color:var(--muted)}.story-models{display:flex;gap:12px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;padding:4px 4px 20px;margin:0 -4px 16px;scrollbar-width:thin}.story-models button{flex:0 0 112px;position:relative;padding:5px;border:1px solid var(--line);border-radius:14px;scroll-snap-align:start;background:var(--white);text-align:left}.story-model-art{position:relative;display:grid;place-items:center;width:100%;aspect-ratio:9/16;border-radius:9px;overflow:hidden;background:linear-gradient(135deg,#f6e8df,#cb8ba5);font:italic 16px Georgia;color:#432934}.story-model-art img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.story-model-art img:not([hidden])+span{display:none}.story-model-art img[hidden]{display:none}.model-lateral,.model-aura{background:linear-gradient(135deg,#412337,#aa6c8e);color:#fff2f7}.model-noir{background:linear-gradient(135deg,#50454b,#151215);color:#f0bdd0}.story-models strong{font-weight:500;font-size:12px;display:block;padding:10px 5px 5px}.story-models button[aria-pressed=true]{border-color:var(--rose);box-shadow:0 0 0 1px var(--rose)}.story-model-check{display:none;position:absolute;top:10px;right:10px;background:#6e354c;color:white;width:22px;height:22px;border-radius:50%;text-align:center;line-height:22px;font-size:12px}.story-models [aria-pressed=true] .story-model-check{display:block}.social-art[aria-busy=true]{opacity:.5}.social-layout{align-items:start}.social-actions{min-width:0}.story-customize summary{font-size:14px;cursor:pointer;min-height:44px;display:flex;align-items:center}.story-customize summary::after{content:'+';margin-left:auto;font-size:23px;color:var(--rose)}.story-customize[open] summary::after{content:'−'}
@media(max-width:700px){.story-models{gap:10px}.story-models button{flex-basis:90px}.story-model-heading>span{font-size:10px}.community-composer .composer-unified textarea{font-size:16px}.community-delete-dialog{padding:25px 22px}.community-attachments{gap:8px}.social-layout{gap:20px}}
.weight-chart-legend{display:flex;flex-wrap:wrap;gap:10px 20px;margin-top:18px;color:var(--muted);font-size:11px}.weight-chart-legend>span{display:flex;align-items:center;gap:7px}.weight-chart-legend i{width:17px;height:3px;background:var(--rose);display:inline-block}.weight-chart-legend .goal-key{height:0;background:none;border-top:2px dashed var(--muted)}.weight-chart .chart-goal{stroke:var(--muted);stroke-width:1.5;stroke-dasharray:5 4;fill:none}.weight-chart .chart-goal-label{font-size:9px;fill:var(--muted)}.weight-week-marks{display:grid;grid-template-columns:repeat(4,1fr);gap:8px;margin:20px 0 15px}.weight-week-marks>div{border:1px solid var(--line);border-radius:12px;padding:13px 8px;display:flex;flex-direction:column;gap:8px;text-align:center}.weight-week-marks span{font-size:8px;color:var(--muted);letter-spacing:.5px}.weight-week-marks strong{font-size:14px;font-weight:500}.weight-week-marks small{font-size:10px;color:var(--muted)}.weight-week-marks .recorded{border-color:var(--rose);background:#c58b9f10}.weight-checkin .checkin-input{margin-bottom:14px}.weight-checkin{overflow-y:auto}.weight-checkin .checkin-privacy{font-size:10px}
@media(max-width:450px){.weight-week-marks{grid-template-columns:repeat(2,1fr)}.weight-chart-card{padding:18px 12px}.weight-chart-heading h3{font-size:23px}}
.story-models{scrollbar-width:none}.story-models::-webkit-scrollbar{display:none}.social-art[aria-busy=true]{color:transparent}
.profile-panel .social-layout{max-width:none;grid-template-columns:minmax(0,1fr) minmax(220px,.85fr)}
@media(max-width:900px){.profile-panel .social-layout{grid-template-columns:1fr;max-width:560px}}
.story-poses{display:flex;gap:10px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;scrollbar-width:none;padding:4px 4px 18px;margin:0 -4px 10px}.story-poses::-webkit-scrollbar{display:none}.story-poses button{flex:0 0 82px;scroll-snap-align:start;border:1px solid var(--line);background:var(--white);padding:4px;border-radius:12px}.story-poses img{width:72px;height:72px;object-fit:contain;background:#fff;border-radius:8px}.story-poses span{display:block;font-size:10px;padding:9px 0 5px;white-space:nowrap}.story-poses [aria-pressed=true]{border-color:var(--rose);box-shadow:0 0 0 1px var(--rose)}.story-caption-options{display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:end;margin:0 0 24px;max-width:560px}.story-caption-options label{font-size:11px;color:var(--muted)}.story-caption-options select{display:block;width:100%;margin-top:8px;padding:12px 10px;border:1px solid var(--line);border-radius:12px;background:var(--white);color:var(--ink);font-size:16px;min-height:48px}.story-caption-options button{display:flex;align-items:center;justify-content:center;gap:8px;border:1px solid var(--line);border-radius:12px;min-height:48px;background:var(--white);font-size:12px;color:var(--rose)}.story-caption-options button span{font-size:10px;color:var(--muted)}.story-caption-options svg{width:16px;height:16px}
.story-caption-options [data-story-phrase]{grid-column:1/-1}.story-caption-options select{font-size:14px}
@media(max-width:700px){.story-caption-options select{font-size:16px}}
.day-slide.lesson-locked .day-art>img{filter:grayscale(1) brightness(.65);opacity:.72}.lesson-locked .day-state{background:#342930;color:#f2d5df}.lesson-locked .day-open{background:var(--white);color:var(--muted);border-top:1px solid var(--line)}.lesson-release-panel{min-height:370px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:34px 25px;background:var(--white);color:var(--ink);border:1px solid var(--line);border-radius:20px}.release-lock{display:grid;place-items:center;width:62px;height:62px;margin-bottom:22px;background:var(--blush);border-radius:50%;color:var(--rose)}.release-lock svg{width:26px;height:26px}.lesson-release-panel h3{font:30px/1.2 var(--serif);max-width:280px}.lesson-release-panel p{font-size:14px;line-height:1.7;margin-top:19px}.lesson-release-panel>span:last-child{font-size:12px;color:var(--muted);margin-top:10px}

.story-caption-options .story-phrase-field{grid-column:1/-1;min-width:0}.story-caption-options label{min-width:0}.story-caption-options select{max-width:100%;text-overflow:ellipsis}

.story-selected-phrase{grid-column:1/-1;margin:0;font-size:14px;line-height:1.5;color:var(--ink);padding:0 4px}
