body[data-page=feed] .content,body[data-page=people] .content{padding:0 12px!important;max-width:720px;margin:auto}body[data-page=feed] .site-legal,body[data-page=people] .site-legal{display:none}.social-heading{display:flex;align-items:center;justify-content:space-between;padding:12px 4px;gap:10px}.social-heading h1{font-size:22px;margin:0}.text-button{border:0;background:none;color:#f3a88a;font-size:12px}.social-deck{height:calc(100dvh - 185px);overflow-y:auto;scroll-snap-type:y mandatory;overscroll-behavior-y:contain;scrollbar-width:none}.social-deck::-webkit-scrollbar{display:none}.social-slide{height:100%;min-height:420px;scroll-snap-align:start;scroll-snap-stop:always;box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;gap:12px;padding:8px 4px 18px;overflow:hidden}.social-person{height:100%;display:flex;flex-direction:column;gap:9px}.social-gallery{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;flex:none;height:45%;min-height:160px;border-radius:20px;background:#352b25;scrollbar-width:none}.social-gallery img,.social-gallery .social-initial{width:100%;height:100%;flex:none;object-fit:cover;scroll-snap-align:start}.social-initial{display:grid;place-items:center;font-size:90px;background:linear-gradient(130deg,#945c48,#302827);color:#ffcfb9}.gallery-hint{font-size:10px;color:#bdab9e;margin:-3px 0 0}.social-bio{font-size:13px;line-height:1.45;color:#cdbfb3;overflow:hidden;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;margin:0;flex:1;min-height:20px}.social-actions{display:flex;gap:8px;flex:none;margin-top:auto}.social-actions .button{flex:1;padding:12px 8px;font-size:13px}.icon-button{background:#332a23;color:#ddd;border:1px solid #5b4637;border-radius:12px;min-width:36px}.social-slide .discovery-tags{max-height:70px;overflow:auto}.people-deck{height:calc(100dvh - 225px)}.people-tabs{overflow-x:auto;white-space:nowrap;flex-wrap:nowrap}.people-tabs button{flex:none}.event-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(290px,100%),1fr));gap:16px}.events-hub{max-width:980px;margin:auto}.event-tile{background:#26211c;border:1px solid #ffffff12;border-radius:20px;overflow:hidden}.event-cover{width:100%;height:210px;object-fit:cover}.event-tile-body{padding:18px}.event-tile h2{font-size:21px;line-height:1.25}.event-art{height:100px;display:grid;place-items:center;font-size:55px;background:linear-gradient(120deg,#443022,#28231e)}.event-tile p{font-size:12px;color:#bcae9f;line-height:1.5}.event-filters{display:flex;gap:12px;align-items:center;margin:12px 0;flex-wrap:wrap}.event-filters label{font-size:12px}.event-filters select{max-width:160px}.event-detail-cover{width:100%;max-height:280px;object-fit:cover;border-radius:16px}.event-description{white-space:pre-wrap;font-size:14px;line-height:1.55}.roster-row,.application-row{padding:14px 0;border-bottom:1px solid #ffffff15}.roster-row{display:flex;gap:10px;justify-content:space-between;align-items:center}.roster-row button{border:0;background:none;color:#efb696}.roster-row span{font-size:11px;color:#bca992}.application-row p{font-size:12px}.gallery-editor{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:20px}.gallery-editor>div{background:#34291f;border-radius:12px;padding:8px;display:flex;flex-direction:column;gap:7px}.gallery-editor img{width:100%;height:150px;object-fit:cover;border-radius:8px}.gallery-editor span,.gallery-editor small{font-size:11px}.gallery-editor button{border:1px solid #7c5e48;border-radius:7px;background:#352d24;padding:6px;color:#ead4bf}.upload-photo{position:relative;display:inline-flex;overflow:hidden}.upload-photo input{position:absolute;inset:0;opacity:0;width:100%;cursor:pointer}.proposal-slide,.info-slide,.deck-end{text-align:center;align-items:center;padding:24px}.proposal-slide h2,.info-slide h2,.deck-end h2{font-size:27px;line-height:1.15;max-width:500px}.proposal-slide p,.info-slide p,.deck-end p{line-height:1.55;color:#c0b0a1;max-width:460px;font-size:15px}.proposal-art{font-size:68px}.proposal-slide .button,.deck-end .button{width:100%;max-width:350px}.session-slide .poster{max-height:42%;object-fit:contain}.session-slide{align-items:center;text-align:center}.session-slide>img{max-height:40%;max-width:220px;object-fit:contain;border-radius:12px}.social-guest{text-align:center;max-width:550px;padding:70px 20px;margin:auto}.modal-inner .social-gallery{height:300px}.events-hub .poster{max-height:150px}.social-slide .event-cover{max-height:45%;object-fit:cover;flex:none}.social-slide>.event-tile-body{overflow:auto}.social-slide>.event-tile-body h2{font-size:23px}.social-slide>.event-art{flex:none}.social-heading+.people-tabs{margin-top:0}
@media(min-width:800px){.social-deck{height:calc(100dvh - 210px);max-width:570px;margin:auto}.people-deck{height:calc(100dvh - 250px)}.social-gallery{height:48%}.social-slide{min-height:450px}.social-heading{max-width:570px;margin:auto}.social-actions .button{font-size:14px}}@media(max-height:700px){.social-gallery{height:35%;min-height:120px}.social-slide{gap:7px;min-height:360px}.social-person{gap:5px}.social-bio{-webkit-line-clamp:2}.social-slide .discovery-tags{max-height:40px}.social-heading{padding:7px}}

.osm-back{border:1px solid #66513e;border-radius:10px;background:#342a21;color:#efc0a0;width:34px;height:34px;font-size:20px}.sheet-heading:has(.osm-back){grid-template-columns:34px minmax(0,1fr) auto}.sheet-heading:has(.osm-back) .sheet-title{grid-column:2}.sheet-heading:has(.osm-back) .osm-icon-action{grid-column:3}

body[data-page=events] .content{padding-bottom:90px} .social-person .common-event{font-size:11px;max-height:48px;overflow:auto;padding:6px}
.osm-sheet.venue-selected .sheet-heading{display:grid;grid-template-columns:36px minmax(0,1fr) 36px;align-items:center}.osm-sheet.venue-selected .sheet-title{grid-column:2;text-align:center}.osm-sheet.venue-selected .osm-icon-action{grid-column:3}.venue-summary{display:flex;justify-content:space-between;gap:8px;align-items:start}.venue-summary p{font-size:12px;color:#b7a99b;margin:0 0 5px}.venue-hours summary,.venue-about summary{cursor:pointer;color:#e9b694;font-size:12px}.venue-mini-links{display:flex;gap:5px}.venue-mini-link{display:grid;place-items:center;width:34px;height:34px;padding:0;border:1px solid #695040;border-radius:10px;color:#f4ba98;text-decoration:none;font-size:20px}.venue-community{display:flex;justify-content:space-between;align-items:center;min-height:38px;font-size:12px;color:#c6ae9b}.venue-community button,.venue-feed-tabs button,.venue-feed-item button,.venue-feed-item a{background:none;border:0;color:#f09975;cursor:pointer}.venue-feed-tabs{display:flex;gap:6px;margin:6px 0}.venue-feed-tabs button{border-radius:20px;padding:7px 12px;color:#c9bbb0}.venue-feed-tabs button[aria-pressed=true]{background:#ef7954;color:#211710}.venue-feed-item{display:flex;flex-direction:column;gap:4px;background:#30251e;border:1px solid #ffffff10;border-radius:12px;padding:11px;margin:8px 0;font-size:13px}.venue-feed-item p{margin:0;color:#c9b9a8;font-size:12px}.venue-feed-item button,.venue-feed-item a{text-align:left;padding:4px 0;font-size:12px}.venue-tag{font-size:10px;color:#d69e80}.venue-footer{display:flex;gap:8px;padding:10px 18px 14px;background:#171513;border-top:1px solid #ffffff12;flex:none}.venue-footer .button{flex:1;padding:10px 5px;font-size:12px}.venue-about{margin:14px 0;font-size:12px}.venue-about p{color:#bba999}.osm-screen.sheet-expanded:has(.venue-selected){--sheet-height:min(70dvh,600px)}#venue-plan-form label{display:block;margin:12px 0}#venue-plan-form input,#venue-plan-form select{display:block;width:100%;margin-top:5px}

.venue-people{display:inline-flex;align-items:center;gap:4px}.venue-people img,.venue-people b{width:24px;height:24px;border-radius:50%;object-fit:cover;display:inline-grid;place-items:center;background:#795541;color:#fff;font-size:11px}.venue-tag button{float:right}

.osm-sheet.venue-selected .sheet-heading{width:100%;align-self:stretch;box-sizing:border-box}.osm-sheet.venue-selected .osm-back{justify-self:start}.osm-sheet.venue-selected .osm-icon-action{justify-self:end}
.session-slide{justify-content:flex-start;align-items:stretch;text-align:left;padding:6px 2px 14px;overflow:auto}.feed-film-card{display:flex;flex-direction:column;width:100%;height:100%;min-height:0;border-radius:24px;overflow:hidden;background:#28221d;border:1px solid #ffffff14;box-shadow:0 12px 30px #0003}.film-card-art{position:relative;display:block;flex:1 1 48%;min-height:150px;max-height:52%;width:100%;padding:0;border:0;background:#332b27;overflow:hidden;cursor:pointer}.film-card-art img{width:100%;height:100%;object-fit:cover;object-position:center 30%}.film-card-art:after{content:'';position:absolute;inset:35% 0 0;background:linear-gradient(transparent,#28221d)}.film-card-badge{position:absolute;z-index:1;left:16px;top:16px;background:#171411d9;border:1px solid #ffffff2c;border-radius:30px;padding:8px 11px;font-size:10px;letter-spacing:.08em;color:#f6d2be}.film-card-body{display:flex;flex-direction:column;gap:8px;padding:8px 18px 18px;flex:1;min-height:0}.film-card-kicker{color:#ef9a78;font-size:11px;text-transform:uppercase;letter-spacing:.09em;font-weight:700}.film-card-body h2{font-size:clamp(21px,5vw,29px);line-height:1.1;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.film-card-next{display:grid;gap:3px;background:#ffffff0a;border-radius:14px;padding:10px 12px}.film-card-next span{font-size:9px;letter-spacing:.09em;color:#bda899}.film-card-next strong{font-size:15px}.film-card-next small,.film-card-meta{font-size:12px;color:#baa99b}.film-card-primary{width:100%;margin-top:auto;display:flex;align-items:center;justify-content:space-between}.film-card-invite{border:0;background:transparent;color:#e9b59a;padding:7px;font-weight:700;cursor:pointer}.event-options{border:1px solid #584539;border-radius:12px;margin:12px 0;padding:12px}.event-options summary{cursor:pointer;color:#e9b59a;font-weight:700}.event-options[open] summary{margin-bottom:12px}@media(max-height:700px){.film-card-art{max-height:38%;min-height:120px}.film-card-body{gap:5px;padding:7px 14px}.film-card-next{padding:7px}.film-card-primary{padding:10px}.film-card-invite{padding:3px}}

.event-tabs{justify-content:flex-start}.event-tabs button{flex:none}.event-filters select{background:#211d19;color:#eee4d9;border:1px solid #584539;border-radius:10px;padding:8px 10px}.event-filters label{display:inline-flex;align-items:center;gap:5px;color:#d4c8bb}.event-filters input{accent-color:#ef7954}.event-reset{margin-left:auto}.schedule-tile{display:flex;align-items:stretch;min-height:160px}.schedule-tile-poster{flex:0 0 112px;width:112px;min-height:160px;max-height:210px;padding:0;border:0;background:#39302a;overflow:hidden}.schedule-tile-poster img,.schedule-tile-poster .poster-fallback{display:block;width:100%;height:100%;max-height:210px;object-fit:cover}.schedule-tile-poster .poster-fallback{display:grid;place-items:center}.schedule-tile-body{display:flex;flex:1;min-width:0;flex-direction:column;align-items:flex-start;gap:5px;padding:14px}.schedule-tile-body h2{font-size:16px;line-height:1.25;margin:0}.schedule-tile-body p{font-size:12px;line-height:1.3;margin:0;color:#c9baad}.schedule-tile-body small{font-size:11px;color:#a99a8c}.schedule-tile-action{margin-top:auto;min-height:34px;padding:7px 11px}.events-hub .people-empty{grid-column:1/-1}@media(max-width:420px){.schedule-tile-poster{flex-basis:96px;width:96px;min-height:145px}.schedule-tile-body{padding:12px;gap:4px}.schedule-tile-body h2{font-size:15px}.event-reset{margin-left:0}}

/* Readable controls and profile photos */
.profile-photos{margin:0 0 16px}.profile-photos-heading{display:flex;justify-content:space-between;gap:12px;align-items:center}.profile-photos h2,.profile-extra h2{font-size:19px;margin:0}.profile-photos p{font-size:14px;line-height:1.45;color:#c5b9ac;margin:6px 0 12px}.profile-photos-heading>span{font-size:28px}.profile-photo-actions{display:flex;gap:8px;flex-wrap:wrap}.profile-upload{position:relative;overflow:hidden;cursor:pointer}.profile-upload input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.profile-extra{margin-top:16px}.profile-extra .button{margin:8px 8px 0 0}.venue-mini-link{width:44px;height:44px;min-height:44px;padding:0}.venue-mini-link svg{width:22px;height:22px}.venue-summary p,.venue-hours summary,.venue-about summary,.venue-community,.venue-feed-tabs button,.venue-feed-item,.venue-feed-item p{font-size:14px}.venue-feed-item strong{font-size:15px}.venue-footer .button{font-size:14px}.osm-sheet .sheet-title strong{font-size:18px}.event-tabs{overflow-x:auto;scrollbar-width:none}.event-tabs::-webkit-scrollbar{display:none}.event-tabs button{font-size:13px}.event-filters{gap:6px;flex-wrap:wrap}.event-filters select{font-size:13px;min-width:0;max-width:145px}.event-filters label{font-size:13px;white-space:nowrap}.event-filters input{width:16px;height:16px}.event-reset{font-size:13px}.schedule-tile-body p,.schedule-tile-body small{font-size:13px}.nav-label{font-size:11px}.button{font-size:14px}.field label,.modal-note,.hint,.check{font-size:13px}.field input,.field select,.field textarea{font-size:16px}.people-interests button{font-size:13px}.text-button{font-size:13px}@media(max-width:420px){.event-tabs{gap:0}.event-tabs button{flex:1;font-size:12px;padding:10px 5px}.event-filters select{max-width:132px}.event-filters label{font-size:12px}.event-reset{flex-basis:100%;text-align:left}.profile-photo-actions .button{flex:1}.venue-mini-links{gap:6px}}
body{font-size:15px}.venue-summary p,.venue-hours summary,.venue-about summary,.venue-community,.venue-feed-tabs button,.venue-feed-item,.venue-feed-item p{font-size:15px}.venue-feed-item strong{font-size:16px}.venue-footer .button{font-size:15px}.modal-note,.hint,.check,.field label{font-size:14px}.nav-label{font-size:12px}

/* Portraits remain fully visible, including the top of the head. */
.social-gallery img{object-fit:contain;object-position:center;background:#27221f}.social-person{gap:0}.person-slide{padding:8px 4px 14px}.person-slide .social-gallery{height:52%;min-height:170px;max-height:490px;border-radius:20px;flex-shrink:1;background:#2b2521}.person-details{display:flex;flex-direction:column;gap:6px;min-height:0;padding:12px 3px 0}.person-details .person-name{margin:0;text-align:left;font-family:Georgia,serif;font-size:25px;line-height:1.15;letter-spacing:0}.person-details .person-name span{font-family:inherit;font-weight:400;color:#baaea2}.person-details .person-location{margin:0;color:#b8aa9e;font-size:14px}.person-details .person-shared{margin:2px 0 0;color:#edbd81;font-size:13px;font-weight:700}.person-interests{display:flex;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none;max-height:none!important;padding:2px 0}.person-interests::-webkit-scrollbar{display:none}.person-interests span{flex:none;border:1px solid #98764f;background:#332b20;color:#eac58c;border-radius:22px;padding:7px 11px;font-size:13px}.person-details .social-bio,.person-invitation{font-size:14px;line-height:1.45;color:#bdb1a5;margin:2px 0 0;flex:none}.person-slide .social-actions{gap:8px;padding-top:10px}.person-slide .social-actions .button{min-height:44px;border-radius:24px;font-size:14px}.person-slide .person-skip{flex:0 1 32%}.person-slide .person-connect{flex:1}.person-slide .icon-button{border-radius:24px;min-width:44px}.modal-inner .social-gallery img{object-fit:contain;object-position:center}.modal-inner .social-gallery{background:#2b2521}.social-initial{background:linear-gradient(135deg,#a56b59,#3d2d2c)}@media(max-height:700px){.person-slide .social-gallery{height:45%;min-height:130px}.person-details{gap:4px;padding-top:8px}.person-details .person-name{font-size:21px}.person-details .social-bio{-webkit-line-clamp:2}.person-interests span{padding:5px 9px}}
.profile-dashboard{max-width:650px;margin:0 auto}.profile-dashboard-head,.profile-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.profile-dashboard-head h1{font-size:26px;margin:0 0 16px}.profile-settings-btn,.profile-edit{border:1px solid #604b3b;background:#302820;color:#efad8d;border-radius:14px;width:43px;height:43px;font-size:22px;flex:none}.profile-dashboard-head .profile-settings-btn{margin-bottom:14px}.profile-hero,.profile-section{background:#29241f;border:1px solid #ffffff0c;border-radius:20px;padding:18px;margin-bottom:14px}.profile-hero{display:flex;align-items:center;gap:14px;position:relative;flex-wrap:wrap}.profile-portrait{width:94px;height:94px;border-radius:24px;overflow:hidden;background:linear-gradient(135deg,#a56b59,#3d2d2c);display:grid;place-items:center;font-size:38px;color:#f8d7c7;flex:none}.profile-portrait img,.profile-avatar-icon img{width:100%;height:100%;object-fit:cover;object-position:center top}.profile-identity{flex:1;min-width:0}.profile-identity h2{font-size:21px;line-height:1.2;margin:0}.profile-identity h2 span{font-weight:400;color:#bdafa3}.profile-identity p{margin:4px 0 10px;color:#bcaea2}.profile-add-photo{display:inline-block;font-size:13px;font-weight:700;color:#f7a987;position:relative;overflow:hidden;cursor:pointer}.profile-add-photo input{position:absolute;inset:0;width:100%;opacity:0}.profile-photo-status{width:100%;margin:0;color:#eabda3;font-size:13px}.profile-section-head h2{font-size:19px;margin:0}.profile-section-head p{font-size:13px;color:#b8a99b;margin:2px 0 14px}.profile-section-head>span{color:#f3a780;font-size:23px}.profile-city-label{display:block;font-size:12px;color:#c8b6a6;margin-bottom:5px}.profile-section select{width:100%;min-height:47px;background:#1d1916;border:1px solid #58473b;border-radius:11px;color:#f1e7dc;padding:10px;font-size:16px}.profile-interest-list{display:flex;flex-wrap:wrap;gap:8px}.profile-interest{border:1px solid #634d3c;background:#211d19;color:#cfb9a7;border-radius:22px;padding:9px 13px;font-size:14px}.profile-interest.selected{background:#ef7954;border-color:#ef7954;color:#261911;font-weight:700}.profile-save-status:empty,.profile-photo-status:empty{display:none}.profile-dashboard-actions{display:flex;gap:8px;flex-wrap:wrap}.profile-avatar-icon{overflow:hidden;border-radius:50%;background:#694537;color:#f5d5c2;display:grid;place-items:center;font-weight:700}.nav-icon.profile-avatar-icon{width:24px;height:24px}.profile-settings-content>.section-head{margin-top:20px}.profile-settings-content .profile-card{margin-bottom:12px}#profile-settings-modal .profile-photos{display:none}
.profile-avatar-icon img{display:block;border-radius:50%}.profile-crop-link{border:0;background:none;color:#e6b394;font-size:12px;padding:5px 0;display:block}.avatar-crop-frame{width:min(260px,70vw);aspect-ratio:1;margin:16px auto;border-radius:50%;overflow:hidden;background:#312923;touch-action:none;cursor:grab}.avatar-crop-frame img{width:100%;height:100%;object-fit:cover;pointer-events:none}.avatar-zoom{display:flex;gap:12px;align-items:center;margin:16px 0}.avatar-zoom input{flex:1;accent-color:#ef7954}

.profile-status-list{display:flex;gap:8px;flex-wrap:wrap}.person-statuses{display:flex;gap:5px;overflow-x:auto}.person-statuses span{white-space:nowrap;font-size:12px;padding:4px 9px;border-radius:14px;background:#31594a;color:#d7f3e4}.people-companion-filter{padding:4px 0 6px;font-size:12px}.people-companion-filter select{background:#29231f;color:#eee;border:1px solid #59483a;border-radius:8px;padding:4px}.people-deck{height:calc(100dvh - 260px)}

.profile-choice-group{display:flex;gap:6px}.profile-choice{flex:1;min-width:0;padding:10px 6px;border:1px solid #654c3d;border-radius:12px;background:#211d19;color:#d6c5b6;font-size:13px;font-weight:700}.profile-choice.selected{background:#ef7954;color:#261911;border-color:#ef7954}.profile-choice:disabled{opacity:.6}@media(max-width:360px){.profile-choice{font-size:12px;padding:9px 3px}}

.profile-comfort>summary{cursor:pointer;list-style:none}.profile-comfort>summary::-webkit-details-marker{display:none}.profile-comfort>summary p{margin-bottom:0}.profile-comfort[open]>summary{margin-bottom:18px}.profile-comfort-arrow{transition:transform .2s}.profile-comfort[open] .profile-comfort-arrow{transform:rotate(180deg)}

/* Profile spacing and avatar controls */
#profile-shortcut.profile-avatar-icon,.mobile-nav .nav-icon.profile-avatar-icon{position:relative;display:block;padding:0;overflow:hidden;flex:none;aspect-ratio:1;border-radius:50%}
#profile-shortcut.profile-avatar-icon{width:34px;height:34px}
.mobile-nav .nav-icon.profile-avatar-icon{width:24px;height:24px}
#profile-shortcut.profile-avatar-icon img,.mobile-nav .nav-icon.profile-avatar-icon img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;border-radius:0}
.profile-hero{min-height:130px;padding-right:70px}
.profile-portrait{position:relative;padding:0;border:0;cursor:pointer}
.profile-portrait img{display:block}
.profile-portrait-edit{position:absolute;right:6px;bottom:6px;display:grid;place-items:center;width:28px;height:28px;border-radius:50%;background:#191612a8;color:white;font-size:18px;line-height:1}
.profile-portrait-upload input{position:absolute;width:1px;height:1px;opacity:0}
.profile-hero-edit,.profile-hero-settings{position:absolute;right:18px;width:38px;height:38px;font-size:19px}
.profile-hero-edit{top:15px}.profile-hero-settings{bottom:15px}
.profile-section h2{font-size:19px;line-height:1.25;margin:0}
.profile-section .hint,.profile-section-head p{font-size:13px;line-height:1.45;margin:5px 0 12px;color:#b8a99b}
.profile-section-head{align-items:flex-start}
.profile-section-head p{margin-bottom:12px}
.profile-comfort>summary p{margin-bottom:0}
.profile-section>.profile-interest-list:last-child,.profile-section>.profile-status-list:last-child{margin-bottom:0}
.profile-section .field:first-of-type{margin-top:0}
@media(max-width:700px){#profile-shortcut.profile-avatar-icon{width:31px;height:31px}}

/* Map cards and controls */
.osm-sheet .osm-back{display:grid;place-items:center;padding:0;line-height:1}
.osm-sheet:has(.map-person) .sheet-heading{display:grid;grid-template-columns:36px minmax(0,1fr) 36px;align-items:center;width:100%}
.osm-sheet:has(.map-person) .sheet-title{grid-column:2;text-align:center}.osm-sheet:has(.map-person) .osm-icon-action{grid-column:3}
.osm-screen.sheet-expanded:has(.map-person){--sheet-height:min(70dvh,600px)}
.osm-screen .osm-filters button{min-width:48px;min-height:46px;padding:10px 12px}.osm-screen .osm-filters svg{width:21px;height:21px}.osm-screen .osm-filters span{font-size:12px}
.osm-tools button{width:46px;height:46px}.osm-tools svg{width:21px;height:21px}.osm-sheet .sheet-title strong{font-size:16px}.sheet-place-list strong{font-size:14px}.sheet-place-list small{font-size:12px}
.map-person-cover{position:relative;overflow:hidden;border-radius:16px;height:clamp(220px,40vh,370px);background:linear-gradient(145deg,#ae7564,#493033);display:grid;place-items:center}.map-person-cover:after{content:'';position:absolute;inset:45% 0 0;background:linear-gradient(transparent,#181210e8);pointer-events:none}.map-person-cover img{width:100%;height:100%;object-fit:contain;object-position:center;position:absolute;inset:0}.map-person-initial{font-size:90px;color:#ffd7c5}.map-person-cover-info{position:absolute;bottom:0;left:0;right:0;z-index:1;padding:16px;color:white}.map-person-cover-info h2{font-size:24px;margin:0}.map-person-cover-info p{margin:3px 0;font-size:14px}.map-person section{margin:16px 0}.map-person section h3{font-size:15px;margin:0 0 8px}.map-person p{font-size:14px;line-height:1.45}.map-person-common{background:#4d3a2a;border-radius:12px;padding:12px}.map-person-note{color:#bfb0a3}.map-person-links{display:flex;justify-content:space-between;gap:10px}.map-person-links button{background:none;border:0;padding:8px 0;color:#e9ad8e;text-align:left}.map-person-actions{display:flex;gap:8px;position:sticky;bottom:-20px;background:#171513;padding:12px 0}.map-person-actions .button{flex:1}
@media(max-width:380px){.osm-screen .osm-filters button{min-width:42px;padding:9px}.osm-tools{top:68px}}

/* Rounded map discovery controls and sheets */
.map-filter-modal{background:#2c2523;border-radius:28px 28px 0 0!important;padding:24px!important;scroll-padding-bottom:90px}
.map-filter-modal .modal-head{margin-bottom:8px}.map-filter-modal .modal-head h2{font-size:24px}.map-filter-modal .close{display:grid;place-items:center;padding:0;line-height:1;width:40px;height:40px}
.map-filter-intro{font-size:14px;color:#b7aaa4;line-height:1.5;margin:12px 0}
.map-filter-group{padding:18px 0;border-bottom:1px solid #ffffff0b}.map-filter-group h3{font-size:16px;margin:0 0 12px;line-height:1.3}.map-filter-chips{display:flex;gap:8px;flex-wrap:wrap}
.map-filter-chips button{display:inline-flex;align-items:center;justify-content:center;border:1px solid #ffffff15;border-radius:24px;padding:11px 15px;min-height:44px;color:#dfd4cd;background:#292220;font-size:14px;line-height:1.25;transition:background .15s}
.map-filter-chips button[aria-pressed=true]{background:#f2e9df;border-color:#f2e9df;color:#251f1a;font-weight:700}
.map-filter-footer{display:flex;gap:10px;position:sticky;bottom:-24px;background:#2c2523;padding:16px 0 max(16px,env(safe-area-inset-bottom));margin-top:6px}.map-filter-footer .button{border-radius:16px;font-size:15px;min-height:48px}.map-filter-footer .button:last-child{flex:1}
.osm-sheet .osm-back,.osm-sheet .osm-icon-action{display:flex;align-items:center;justify-content:center;padding:0;width:38px;height:38px;line-height:1;border-radius:13px}.osm-sheet .osm-back svg{width:22px;height:22px;display:block}
.osm-sheet.venue-selected .sheet-heading,.osm-sheet:has(.map-person) .sheet-heading{grid-template-columns:38px minmax(0,1fr) 38px;gap:12px;padding:16px 18px}
.osm-sheet:has(.map-person){background:#2c2523;border-radius:26px 26px 0 0}.map-person-cover{border-radius:20px;background:linear-gradient(145deg,#97665b,#423034)}.map-person-cover-info h2{font-size:26px}.map-person-cover-info p{font-size:14px}.map-person-common{background:#51422c;border:1px solid #74603f50;font-size:15px!important;line-height:1.5!important;border-radius:16px;padding:14px}.map-person section h3{font-size:12px;text-transform:uppercase;letter-spacing:1px;color:#ad9e95;margin-bottom:10px}.map-person section p{font-size:16px}.map-person .discovery-tags{gap:8px;flex-wrap:wrap}.map-person .discovery-tags span{border:1px solid #b58a5555;border-radius:22px;background:#403124;padding:8px 12px;color:#efc68d;font-size:14px}.map-person-links{border-top:1px solid #ffffff12;padding-top:12px;flex-wrap:wrap}.map-person-links button{font-size:14px}.map-person-actions{background:#2c2523;gap:10px}.map-person-actions .button{border-radius:18px;min-height:48px}
.meeting-guide-intro{color:#b9aaa2;font-size:14px;margin:0 0 22px}.meeting-guide-tip{display:flex;gap:14px;margin:0 0 22px;align-items:flex-start}.meeting-guide-tip>span{display:grid;place-items:center;width:42px;height:42px;flex:none;border-radius:14px;background:#ffffff06;font-size:22px}.meeting-guide-tip h3{font-size:16px;line-height:1.3;margin:0 0 5px}.meeting-guide-tip p{font-size:14px;color:#b9aaa2;line-height:1.5;margin:0}.meeting-guide>.button{width:100%;border-radius:16px;min-height:48px}

/* Map navigation: named layers, category rail and a clear create flow. */
.osm-screen .osm-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) 58px;left:12px;right:12px;top:12px;padding:6px;gap:3px;border-radius:20px;background:#27211ff5;box-shadow:0 4px 20px #0003;backdrop-filter:blur(14px)}
.osm-screen .osm-filters button{display:flex;flex-direction:column;gap:3px;align-items:center;justify-content:center;min-width:0;min-height:62px;padding:6px 2px;background:transparent;border:0;border-radius:15px;color:#bfb2a7;position:relative}
.osm-screen .osm-filters button.selected{background:#ef7954;color:#241913}.osm-screen .osm-filters .map-tab-icon{height:22px;display:grid;place-items:center}.osm-screen .osm-filters .map-tab-label{font-size:12px;font-weight:700;opacity:1}.osm-filters small{font-size:10px;line-height:1;opacity:.8}.osm-screen .osm-filters .map-filter-trigger{border-left:1px solid #ffffff12;border-radius:0 15px 15px 0}.osm-screen .osm-filters .map-filter-trigger span{font-size:10px}
.map-category-bar{position:absolute;top:97px;left:12px;right:12px;z-index:410;display:flex;gap:7px;overflow:auto;scrollbar-width:none;padding-bottom:5px;pointer-events:auto}.map-category-bar[hidden]{display:none}.map-category-bar::-webkit-scrollbar{display:none}.map-category-bar button{display:flex;align-items:center;gap:6px;white-space:nowrap;flex:none;border:1px solid #ffffff20;border-radius:24px;background:#28221ff2;color:#e8dcd2;padding:9px 13px;font-size:13px;min-height:43px;box-shadow:0 2px 8px #0002}.map-category-bar button span{font-size:19px}.map-category-bar button[aria-pressed=true]{background:#f3eadd;border-color:#f3eadd;color:#2a2119}
.osm-tools{top:158px;right:12px}.map-create-cta{position:absolute;right:16px;bottom:102px;z-index:410;display:flex;align-items:center;gap:8px;border:1px solid #ffb39755;border-radius:24px;padding:12px 17px;background:#ef7954;color:#25160e;font-weight:800;font-size:14px;box-shadow:0 5px 18px #0004}.map-create-cta svg{width:20px;height:20px}.osm-screen.has-selection .map-create-cta,.osm-screen.sheet-expanded .map-create-cta,.picking-meeting .map-create-cta{display:none}
.osm-screen:not(.sheet-expanded){--sheet-height:82px}.osm-sheet:not(.venue-selected):not(:has(.map-person)) .sheet-heading{min-height:82px}.osm-sheet .sheet-title small{font-size:12px}.map-pick-banner{position:absolute;left:12px;right:12px;bottom:100px;z-index:430;display:flex;justify-content:space-between;align-items:center;gap:10px;background:#f3eadd;color:#2a2119;border-radius:18px;padding:14px 16px;box-shadow:0 5px 20px #0004;font-size:15px;font-weight:700}.map-pick-banner[hidden]{display:none}.map-pick-banner button{display:grid;place-items:center;width:30px;height:30px;border:0;border-radius:50%;background:#2a211912;font-size:24px;line-height:1;color:#2a2119}
.map-chosen-venue{border:1px solid #ef79543d;background:#ef79540b;padding:12px 14px;border-radius:16px;margin:14px 0}.map-chosen-venue summary{font-weight:700;font-size:16px;cursor:pointer}.map-chosen-venue summary small{display:block;font-size:12px;font-weight:400;color:#c5ac9a;margin:5px 0 0 23px}
@media(min-width:701px){.osm-screen .osm-filters{left:20px;right:auto;width:430px;top:20px}.map-category-bar{top:106px;left:20px;right:80px;max-width:850px}.osm-tools{top:164px;right:20px}.map-create-cta{bottom:26px;right:25px}.map-pick-banner{left:auto;max-width:420px;bottom:26px;right:25px}}

/* Compact layer tabs and a directory that follows the selected layer. */
.osm-screen .osm-filters button{min-height:49px;gap:3px}.osm-screen .osm-filters .map-tab-icon{height:21px}.osm-screen .osm-filters small{position:absolute;right:5px;top:4px;border-radius:9px;min-width:18px;padding:2px 4px;background:#ffffff10;font-size:9px;line-height:1.15}.osm-screen .osm-filters button.selected small{background:#2b170f14}.osm-screen .osm-filters .map-tab-label{font-size:11px}.map-category-bar{top:84px}.map-category-bar small{border-radius:10px;padding:2px 5px;background:#ffffff12;font-size:10px}.map-category-bar [aria-pressed=true] small{background:#2b170f12}
.osm-tools{top:145px}.osm-sheet:not(.venue-selected):not(:has(.map-person)) .sheet-heading{display:grid;grid-template-columns:minmax(0,1fr) 38px;min-height:78px;padding:15px 18px;gap:12px}.osm-sheet:not(.venue-selected):not(:has(.map-person)) .sheet-title{text-align:left;justify-self:stretch;width:100%}.osm-sheet:not(.venue-selected):not(:has(.map-person)) .sheet-title strong{font-size:19px;font-weight:800}.osm-sheet .sheet-title small{margin-top:4px;color:#afa094;font-size:11px}.osm-sheet:not(.venue-selected):not(:has(.map-person)){background:#251f1c;border-radius:26px 26px 0 0}.osm-screen.sheet-expanded:not(.has-selection){--sheet-height:min(58dvh,540px)}
.map-directory-heading{display:flex;align-items:center;justify-content:space-between;margin:18px 0 10px}.map-directory-heading:first-child{margin-top:0}.map-directory-heading h3{font-size:15px;margin:0;color:#d8c5b5}.map-directory-heading>span{font-size:12px;background:#ffffff09;border-radius:12px;padding:3px 9px}.sheet-body .map-directory-person,.sheet-body .map-directory-event,.sheet-body .map-directory-place{display:flex;align-items:center;gap:12px;width:100%;text-align:left;padding:12px;margin:0 0 8px;background:#342a23;border:1px solid #ffffff08;border-radius:17px;color:#eee0d2;min-height:76px}.map-directory-person>span:nth-child(2),.map-directory-event>span:nth-child(2),.map-directory-place>span:nth-child(2){flex:1;min-width:0}.map-directory-avatar{width:52px;height:52px;display:grid;place-items:center;border-radius:50%;background:#805b49;font-size:23px;overflow:hidden;flex:none}.map-directory-avatar img{width:100%;height:100%;object-fit:cover}.map-directory-poster{width:48px;height:66px;flex:none;overflow:hidden;border-radius:9px;display:grid;place-items:center;background:#534033;font-size:24px}.map-directory-poster img{width:100%;height:100%;object-fit:cover}.map-directory-place-icon{display:grid;place-items:center;background:#ffffff05;border-radius:14px;width:42px;height:42px;flex:none;font-size:24px}.sheet-body strong{line-height:1.3}.map-directory-person strong,.map-directory-event strong,.map-directory-place strong{display:block;font-size:15px}.map-directory-person small,.map-directory-event small,.map-directory-place small{display:block;font-size:12px;color:#bda999;margin-top:5px;line-height:1.4}.map-directory-person em,.map-directory-event em{display:block;font-size:11px;font-style:normal;color:#e5a17e;margin:3px 0}.map-directory-empty{text-align:center;padding:20px 8px;color:#c2afa0}.map-directory-empty>span{font-size:32px}.map-directory-empty h3{font-size:18px}.map-directory-empty p{font-size:14px}.map-directory-empty button{margin-top:8px}.map-directory-person b,.map-directory-event b,.map-directory-place b{font-size:24px;font-weight:400;color:#c3a68e}
@media(min-width:701px){.map-category-bar{top:93px}.osm-tools{top:148px}}

.osm-sheet .sheet-heading{width:100%;align-self:stretch;box-sizing:border-box}

/* One-line directory handle; details belong inside the open panel. */
.osm-screen:not(.sheet-expanded):not(.has-selection){--sheet-height:64px}
.osm-sheet:not(.venue-selected):not(:has(.map-person)) .sheet-heading{min-height:64px;padding:12px 18px;grid-template-columns:minmax(0,1fr) 38px}
.osm-sheet:not(.venue-selected):not(:has(.map-person)) .sheet-title strong{font-size:17px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;line-height:1.3}
.osm-sheet:not(.venue-selected):not(:has(.map-person)) .osm-icon-action{justify-self:end;grid-column:2;grid-row:1}
.map-directory-tip{font-size:13px;line-height:1.45;color:#b7a596;margin:0 0 16px;padding:0 0 13px;border-bottom:1px solid #ffffff0b}
.osm-screen:not(.sheet-expanded) .map-create-cta{bottom:82px}

.people-help-link{align-self:flex-start;border:0;background:none;color:#d6b08f;font-size:12px;padding:5px 2px 9px;text-align:left}
.people-guide-slide{padding:10px 0!important;display:flex!important;align-items:center;justify-content:center;overflow:auto}.people-guide-card{position:relative;box-sizing:border-box;border:1px solid #ffffff12;border-radius:25px;background:linear-gradient(155deg,#352a24,#25211e);width:100%;padding:30px 23px;text-align:center;max-width:560px;margin:auto}.people-guide-dismiss{position:absolute;top:12px;right:12px;display:grid;place-items:center;width:32px;height:32px;background:#ffffff06;border:0;border-radius:50%;font-size:23px;color:#bca99b;padding:0;line-height:1}.people-guide-art{display:block;font-size:48px;line-height:1.2;margin:5px 0 16px}.people-guide-kicker{font-size:10px;letter-spacing:1.7px;color:#c99a7c}.people-guide-card h2{font-size:26px;line-height:1.18;margin:12px 0}.people-guide-lead{color:#bdada0;font-size:14px;margin:8px 0 18px}.people-guide-description{font-size:17px;line-height:1.6;color:#cbbcaf;margin:18px 0 28px}.people-guide-progress{height:5px;border-radius:5px;background:#17130f;overflow:hidden;margin-bottom:18px}.people-guide-progress>span{height:100%;display:block;background:#94bda8;border-radius:5px}.people-guide-steps{display:grid;gap:4px;text-align:left}.people-guide-steps button{display:flex;align-items:center;gap:11px;background:transparent;border:0;padding:10px 0;text-align:left;color:#f0dfd2;width:100%}.people-guide-steps button:disabled{opacity:.65}.step-check{font-size:24px;width:26px;flex:none;color:#96816f}.step-check.done{color:#94bda8}.people-guide-steps button>span:nth-child(2){flex:1}.people-guide-steps strong{display:block;font-size:15px;line-height:1.35}.people-guide-steps small{display:block;font-size:12px;color:#baa697;line-height:1.4;margin-top:3px}.people-guide-steps b{color:#ef7954;font-size:22px;font-weight:400}.people-guide-next{display:block;width:100%;background:none;border:0;color:#bfa38b;font-size:13px;padding:18px 0 0}.people-guide-card>.button{border-radius:18px;min-height:48px;font-size:14px;width:100%}.people-guide-topics{display:grid;gap:8px;margin-top:16px}.people-guide-topics button{display:flex;gap:12px;align-items:center;text-align:left;background:#ffffff04;border:1px solid #ffffff0a;border-radius:15px;padding:14px;color:#dfc6b2}.people-guide-topics button span{font-size:24px}.people-guide-topics button strong{flex:1;font-size:14px}.people-guide-topics button b{font-size:23px;font-weight:400}
@media(max-height:740px){.people-guide-card{padding:22px 18px}.people-guide-art{font-size:34px;margin:0 0 8px}.people-guide-card h2{font-size:22px}.people-guide-steps button{padding:7px 0}.people-guide-lead{margin-bottom:12px}}

/* People discovery uses the actual space between toolbar and navigation. */
body[data-page=people] main{padding-bottom:0}body[data-page=people] .content{overflow:hidden}.discovery-toolbar{display:flex;align-items:center;gap:8px;padding:10px 0 8px}.discovery-now,.discovery-filter-button{display:grid;place-items:center;flex:none;width:44px;height:44px;background:#29231f;border:1px solid #ffffff08;border-radius:50%;padding:0;color:#dbbc9d;font-size:25px}.discovery-now.active{background:#315d48;border-color:#79b89b}.discovery-filter-button{position:relative}.discovery-filter-button svg{width:22px;height:22px}.discovery-filter-button i{width:7px;height:7px;background:#ef7954;border-radius:50%;position:absolute;top:8px;right:8px}.discovery-segments{display:flex;align-items:center;gap:2px;background:#29231f;border-radius:28px;padding:4px;flex:1;min-width:0}.discovery-segments button{flex:1;display:flex;justify-content:center;align-items:center;gap:4px;background:transparent;border:0;border-radius:24px;min-height:38px;padding:7px 4px;color:#b8aa9e;font-weight:700;font-size:13px;white-space:nowrap}.discovery-segments button[aria-pressed=true]{background:#f2e9df;color:#231d18}.discovery-segments button span{font-size:11px;background:#ef7954;color:#fff;padding:2px 5px;border-radius:12px}
body[data-page=people] .people-deck{min-height:0;max-width:570px;margin:auto;overflow-x:hidden}.people-deck>.social-slide{height:100%;min-height:0!important;padding:4px 0 8px;justify-content:flex-start;position:relative;touch-action:pan-y}.people-deck .social-person{height:100%;min-height:0;gap:0}.people-deck .person-slide .social-gallery{height:46%;min-height:0;max-height:none;flex:0 1 46%;border-radius:22px;touch-action:pan-y}.people-deck .social-gallery:has(img:nth-child(2)){touch-action:pan-x pan-y}.people-deck .person-details{flex:1;overflow:hidden;padding:12px 3px 5px;gap:7px}.people-deck .person-details .person-name{font-size:26px}.people-deck .person-details .person-location{font-size:14px}.people-deck .person-shared{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:none}.people-deck .person-interests{flex:none;max-height:39px!important}.people-deck .social-bio{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;flex:none}.people-deck .social-actions{margin-top:0;padding-top:8px;padding-bottom:0;min-height:54px;flex:none}.people-deck .social-actions .button{min-height:46px;padding:10px 8px;font-size:14px}.people-deck .person-invitation{font-size:13px}.people-deck .gallery-hint{margin:3px 2px 0;font-size:10px;flex:none}.people-deck .person-statuses{flex:none;min-height:23px}.discovery-swipe-stamp{position:absolute;top:33%;left:50%;transform:translateX(-50%) rotate(-8deg);pointer-events:none;opacity:0;border:3px solid #a6c9be;background:#305244e6;color:#e4fff3;border-radius:13px;padding:12px 20px;font-weight:800;font-size:22px;white-space:nowrap}.discovery-swipe-stamp[data-direction=left]{background:#4a4542e6;border-color:#d3c5bc;color:#fff}.swipe-hello{transition:transform .18s!important;transform:translateX(110%) rotate(8deg)!important}.swipe-skip{transition:transform .18s!important;transform:translateX(-110%) rotate(-8deg)!important}.discovery-switch{display:flex;align-items:center;gap:15px;padding:18px 0;width:100%;text-align:left;background:none;border:0;color:#e3d1c2}.discovery-switch>span{flex:1}.discovery-switch strong{font-size:15px}.discovery-switch small{display:block;margin-top:4px;font-size:12px;color:#b9a697}.discovery-switch i{width:44px;height:26px;border-radius:20px;background:#51473f;position:relative}.discovery-switch i:before{content:'';position:absolute;width:20px;height:20px;left:3px;top:3px;border-radius:50%;background:white}.discovery-switch[aria-checked=true] i{background:#5c9b7e}.discovery-switch[aria-checked=true] i:before{left:21px}.discovery-now-intro{text-align:center}.discovery-now-intro>span{font-size:44px}.discovery-now-intro h3{font-size:22px;margin:15px 0 10px}.discovery-now-intro p{font-size:14px;line-height:1.5;color:#c7b3a4;margin-bottom:20px}.discovery-now-off{display:block;width:100%;margin-top:16px;border-radius:17px}.discovery-finished{text-align:center;align-items:center;justify-content:center!important}.discovery-finished>span{font-size:44px}
@media(max-height:700px){.people-deck .person-slide .social-gallery{flex-basis:40%;height:40%}.people-deck .person-details{gap:4px;padding-top:8px}.people-deck .person-details .person-name{font-size:22px}.people-deck .person-interests span{padding:4px 9px}.people-deck .person-statuses span{font-size:10px}.people-deck .person-details .person-location{font-size:12px}.people-deck .person-shared{font-size:11px}.people-deck .social-bio{-webkit-line-clamp:1}}
@media(max-width:360px){.discovery-toolbar{gap:5px}.discovery-now,.discovery-filter-button{width:38px;height:38px}.discovery-segments button{font-size:11px}}

.people-deck .person-slide .social-gallery{height:auto;flex:1 1 auto;min-height:0}.people-deck .person-details{flex:none;max-height:42%;overflow:hidden}.people-deck .person-shared{max-width:100%}.people-deck .social-person{justify-content:flex-start}

/* A balanced portrait with room for the person's story. */
.people-deck .person-slide .social-gallery{flex:0 1 40%;height:40%;max-height:300px;min-height:100px}.people-deck .person-details{flex:1;max-height:none;gap:8px;padding-top:12px}.people-deck .person-interests{max-height:70px!important;flex-wrap:wrap;overflow:auto;gap:6px}.people-deck .person-interests span{padding:5px 10px;font-size:12px}.people-deck .person-shared{font-size:12px}.person-about-preview>span,.person-company-preview>span{display:block;font-size:10px;letter-spacing:1px;color:#9f8e81;margin-bottom:4px}.person-about-preview p{font-size:14px;line-height:1.45;margin:0;color:#ddcfc3;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.person-company-preview p{font-size:12px;line-height:1.4;margin:0;color:#d1b497}.people-deck .person-details .person-name{font-size:25px}.people-deck .person-details .person-location{font-size:13px}
.discovery-tutorial{text-align:center}.discovery-tutorial h3{font-size:23px;line-height:1.25;margin:15px 0 12px}.discovery-tutorial p{font-size:15px;line-height:1.55;color:#c7b5a7;margin:0 0 20px}.discovery-tutorial>.button{width:100%;border-radius:18px;min-height:48px}.discovery-tutorial>.text-button{display:block;padding:14px;margin:auto}.tutorial-demo{height:145px;display:grid;place-items:center;position:relative;overflow:hidden}.tutorial-mini-card{display:grid;place-items:center;width:95px;height:115px;border:1px solid #df997655;border-radius:22px;background:linear-gradient(140deg,#a56a53,#463128);font-size:42px;color:#f7d3be;box-shadow:0 8px 20px #0003}.tutorial-demo b{position:absolute;top:100px;font-size:11px;letter-spacing:.3px;border-radius:10px;padding:5px 9px;opacity:.75}.tutorial-skip{left:10px;color:#c9b8ad;border:1px solid #a78b78}.tutorial-hello{right:10px;color:#a9dcc3;border:1px solid #74ae92}.horizontal .tutorial-mini-card{animation:tutorial-side 3s ease-in-out infinite}.vertical .tutorial-mini-card{animation:tutorial-up 2s ease-in-out infinite}.hello .tutorial-mini-card{animation:tutorial-pulse 2s ease-in-out infinite}.tutorial-dots{display:flex;gap:6px;justify-content:center;margin:18px 0}.tutorial-dots i{width:6px;height:6px;background:#695344;border-radius:50%}.tutorial-dots i.active{background:#ef7954;width:18px;border-radius:6px}@keyframes tutorial-side{0%,100%{transform:translateX(0) rotate(0)}25%{transform:translateX(-50px) rotate(-8deg)}75%{transform:translateX(50px) rotate(8deg)}}@keyframes tutorial-up{0%,100%{transform:translateY(10px)}50%{transform:translateY(-12px)}}@keyframes tutorial-pulse{50%{transform:scale(1.07)}}@media(prefers-reduced-motion:reduce){.tutorial-mini-card{animation:none!important}}
@media(max-height:700px){.people-deck .person-slide .social-gallery{flex-basis:34%;height:34%;min-height:80px}.people-deck .person-details{gap:4px;padding-top:7px}.people-deck .person-interests{max-height:32px!important;flex-wrap:nowrap}.person-about-preview p{-webkit-line-clamp:2;font-size:12px}.person-company-preview p{font-size:11px}.people-deck .person-details .person-name{font-size:22px}.people-deck .person-details .person-location{font-size:12px}}

.people-deck .person-details{flex:0 1 auto}.people-deck .social-person:after{content:"↑ Листайте дальше — там следующая анкета";display:block;text-align:center;font-size:11px;color:#8f7e71;margin-top:auto;padding:14px 0 4px;pointer-events:none}

/* Guide slides scroll with the deck, never inside the card. */
.people-deck{container-type:size}
.people-deck>.people-guide-slide{overflow:hidden!important;min-height:0!important;height:100%;padding:4px 0 8px!important;touch-action:pan-y;align-items:stretch!important;justify-content:flex-start!important}
.people-deck .people-guide-card{height:100%;max-height:100%;min-height:0;margin:0 auto;padding:clamp(12px,3cqh,24px) 20px;display:flex;flex-direction:column;align-items:stretch;overflow:hidden;flex:none}
.people-deck .people-guide-art{font-size:clamp(24px,6cqh,40px);margin:0 0 8px;line-height:1.1;flex:none}
.people-deck .people-guide-kicker{font-size:9px;line-height:1.2;flex:none}
.people-deck .people-guide-card h2{font-size:clamp(20px,4.5cqh,26px);margin:8px 0;line-height:1.15;flex:none}
.people-deck .people-guide-lead{font-size:13px;line-height:1.3;margin:4px 0 12px;flex:none}
.people-deck .people-guide-progress{min-height:4px;height:4px;margin-bottom:8px;flex:none}
.people-deck .people-guide-steps{display:flex;flex-direction:column;flex:1;min-height:0;gap:3px;justify-content:space-evenly}
.people-deck .people-guide-steps button{padding:6px 0;min-height:0;gap:10px;flex:none}
.people-deck .people-guide-steps strong{font-size:14px;line-height:1.25}
.people-deck .people-guide-steps small{font-size:11px;line-height:1.3;margin-top:3px}
.people-deck .people-guide-next{padding:10px 0 0;font-size:12px;line-height:1.3;flex:none}
.people-deck .people-guide-description{font-size:clamp(13px,3cqh,17px);line-height:1.45;margin:12px 0;flex:1;display:flex;align-items:center;justify-content:center}
.people-deck .people-guide-card>.button{min-height:42px;flex:none}
@container(max-height:500px){.people-deck .people-guide-kicker{display:none}.people-deck .people-guide-steps small{display:none}.people-deck .people-guide-steps button{padding:5px 0}.people-deck .people-guide-art{font-size:28px;margin-bottom:5px}.people-deck .people-guide-lead{margin-bottom:8px}.people-deck .people-guide-card h2{margin:6px 0}}
@container(max-height:350px){.people-deck .people-guide-art{display:none}.people-deck .people-guide-card{padding:12px 16px}.people-deck .people-guide-steps strong{font-size:12px}.people-deck .people-guide-next{font-size:11px;padding-top:5px}}

/* Content-sized blocks, with photo height fitted to the available screen. */
.people-deck .social-person{height:100%;overflow:visible}
.people-deck .social-person:after{display:none}
.people-deck .person-details{flex:none!important;overflow:visible;max-height:none!important;gap:6px;padding:10px 3px 3px}
.people-deck .person-details>*{flex:none;min-height:0}
.people-deck .person-details>[hidden],.people-deck .social-person>[hidden]{display:none!important}
.people-deck .person-slide .social-gallery{flex-shrink:0;max-height:none;min-height:0}
.people-deck .person-interests{max-height:none!important;overflow-x:auto;overflow-y:hidden;flex-wrap:nowrap;height:32px;min-height:32px;align-items:center;padding:0}
.people-deck .person-interests span{max-width:100%;white-space:nowrap;padding:5px 10px;font-size:12px;line-height:1.3}
.people-deck .person-details .person-name{font-size:24px;line-height:1.15}
.people-deck .person-details .person-location{font-size:13px;line-height:1.3}
.people-deck .person-statuses{height:25px;min-height:25px;max-height:25px;align-items:center;overflow-x:auto;overflow-y:hidden}
.people-deck .person-statuses span{font-size:11px;line-height:1.3}
.people-deck .person-shared{font-size:12px;line-height:1.3;margin:0}
.people-deck .person-about-preview>span,.people-deck .person-company-preview>span{font-size:9px;margin-bottom:3px;line-height:1.2}
.people-deck .person-about-preview p{font-size:13px;line-height:1.4;-webkit-line-clamp:2}
.people-deck .person-company-preview p{font-size:12px;line-height:1.35;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.people-deck .social-actions{padding-top:10px;margin-top:0;min-height:54px;flex:none}
.people-deck .people-guide-card{height:auto;max-height:100%;padding:20px;flex:0 1 auto;margin:0 auto}
.people-deck .people-guide-steps{flex:none;justify-content:flex-start;gap:5px;margin:6px 0}
.people-deck .people-guide-steps button{padding:8px 0}
.people-deck .people-guide-description{display:block;flex:none;margin:14px 0 22px;line-height:1.5}
.people-deck .people-guide-art{font-size:32px;margin-bottom:8px}
.people-deck .people-guide-card h2{font-size:23px;margin:6px 0}
.people-deck .people-guide-next{padding-top:14px}
@container(max-height:500px){.people-deck .people-guide-card{padding:16px 18px}.people-deck .people-guide-steps{gap:3px;margin:3px 0}.people-deck .people-guide-steps button{padding:7px 0}.people-deck .people-guide-next{padding-top:10px}.people-deck .people-guide-card h2{font-size:21px}.people-deck .people-guide-art{font-size:26px}}
@container(max-height:350px){.people-deck .people-guide-steps button{padding:4px 0}.people-deck .people-guide-card{padding:12px 16px}.people-deck .people-guide-description{font-size:12px;margin:8px 0 12px}.people-deck .people-guide-card h2{font-size:19px}}

@container(max-height:420px){.people-deck .people-guide-art,.people-deck .people-guide-kicker{display:none}.people-deck .people-guide-card{padding:14px 16px}.people-deck .people-guide-card h2{font-size:20px;margin:4px 0}.people-deck .people-guide-lead{font-size:12px;margin:4px 0 8px}.people-deck .people-guide-steps{gap:2px;margin:2px 0}.people-deck .people-guide-steps button{padding:6px 0}.people-deck .people-guide-steps strong{font-size:13px;line-height:1.2}.people-deck .people-guide-next{font-size:11px;padding-top:8px}.people-deck .people-guide-description{font-size:13px;margin:10px 0 14px}}

.map-create-cta{width:48px;height:48px;padding:0;display:grid;place-items:center;border-radius:50%}.map-create-cta svg{width:23px;height:23px}

/* City is set in the profile; identity and approximate district share one row. */
.top-actions .location,.top-actions .city-trigger{display:none!important}
.person-identity-row{display:flex;align-items:baseline;justify-content:space-between;gap:10px;min-width:0;flex-wrap:wrap}
.person-identity-row .person-name{min-width:0;flex:0 1 auto;overflow-wrap:anywhere}
.person-identity-row .person-location{margin:0;text-align:right;max-width:55%;overflow-wrap:anywhere;line-height:1.3}

#modal #profile-form .card-buttons{display:block;margin-top:20px}#modal #profile-form .profile-editor-save{width:100%;min-height:50px;border-radius:15px}#modal .modal-inner:has(#profile-form){position:relative}#modal #profile-form .profile-editor-error:empty{display:none}.profile-close-confirm{position:fixed;inset:0;z-index:120;background:#000a;display:grid;place-items:center;padding:20px}.profile-close-dialog{width:min(100%,390px);background:#302823;border:1px solid #654c3d;border-radius:22px;padding:24px;box-shadow:0 15px 45px #0008}.profile-close-dialog h3{font-size:21px;margin:0 0 8px}.profile-close-dialog p{font-size:14px;line-height:1.5;color:#c9b7a8;margin:0 0 18px}.profile-close-dialog .button{display:block;width:100%;margin:8px 0;min-height:46px;border-radius:14px}.profile-close-dialog .text-button{display:block;margin:10px auto 0;padding:8px}

.profile-dashboard-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.profile-dashboard-actions .button{width:100%;min-width:0;padding:11px 5px;font-size:13px;white-space:normal;text-align:center}.profile-editor-gallery{margin:18px 0;border:1px solid #5b483a;border-radius:14px;background:#241e1a}.profile-editor-gallery summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:15px;cursor:pointer;list-style:none;font-weight:700;color:#efd4c1}.profile-editor-gallery summary::-webkit-details-marker{display:none}.profile-editor-gallery summary span{font-size:23px;color:#e9aa88}.profile-editor-gallery[open] summary span{transform:rotate(90deg)}.profile-editor-gallery-content{padding:0 14px 14px}.profile-editor-gallery-content .hint{font-size:12px}.profile-editor-gallery-content .gallery-editor img{object-fit:contain;background:#1c1815}

body[data-page=events] .content{padding-top:12px}.events-hub .social-heading{padding:4px 0 10px;margin:0}.events-hub .social-heading h1{margin:0}.events-create{width:46px;height:46px;display:grid;place-items:center;padding:0;border:0;border-radius:15px;background:#ef7954;color:#291911;font-size:29px;font-weight:500;line-height:1;flex:none}.film-schedule-modal .modal-head{justify-content:flex-end;margin:0 0 8px}.film-schedule-modal .modal-head h2{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.film-detail-compact{display:flex;align-items:flex-start;gap:14px;margin:0 0 14px}.film-detail-compact>img,.film-detail-compact>.poster-fallback{width:84px;height:118px;max-height:none;object-fit:cover;border-radius:10px;flex:none}.film-detail-info{min-width:0;flex:1}.film-detail-info h2{font-size:20px;line-height:1.2;margin:0 0 8px}.film-description{font-size:13px;line-height:1.4;color:#cbb9aa;white-space:pre-wrap;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:4;overflow:hidden}.film-description.expanded{display:block;overflow:visible}.film-description-toggle{display:block;padding:5px 0;border:0;background:none;color:#f09c79;font-size:12px}.film-detail-info .film-description-empty{margin:0;font-size:13px;color:#a99b90}.film-schedule-modal .schedule-filter{margin-top:8px}.film-schedule-modal .schedule-groups{padding-bottom:10px}

/* Film schedule: compact header and date headers inside their scroll area. */
.film-schedule-modal .modal-head{position:absolute;right:20px;top:18px;z-index:4;margin:0}.film-schedule-modal .film-detail-compact{padding-right:48px;margin:0 0 8px}.film-schedule-modal .schedule-filter{padding:0 0 6px;margin:0}.film-schedule-modal .schedule-scroll{padding:5px 0}.film-schedule-modal .schedule-date{position:sticky;top:0;z-index:2;padding:10px 0 7px;background:#25211c}.film-schedule-modal .schedule-day .schedule-venue{margin-bottom:8px}.film-schedule-modal .schedule-groups{overflow-y:auto;min-height:0;flex:1;max-height:none}.film-schedule-modal .schedule-day{position:relative}.film-schedule-modal .modal-head .close{display:grid;place-items:center;line-height:1;padding:0}.film-schedule-modal:before{margin-bottom:8px!important}

.events-hub .events-create{width:32px;height:32px;border-radius:10px;font-size:22px;line-height:1}

/* A single close control and a functional sheet handle. */
.modal-inner{position:relative}
.modal-inner:before,.film-schedule-modal:before{display:none!important;content:none!important}
.modal-drag-handle{height:24px;min-height:24px;width:76px;display:grid;place-items:center;align-self:center;margin:-12px auto 6px;cursor:grab;touch-action:none;user-select:none;flex:none}
.modal-drag-handle span{width:32px;height:4px;border-radius:4px;background:#8f7968}
.modal-drag-handle:active{cursor:grabbing}
.modal-head .close{display:grid;place-items:center;width:36px;height:36px;min-width:36px;border:0;border-radius:50%;padding:0;background:#3b3127;color:#d9c9b5;font-size:22px;line-height:1}
.film-schedule-modal .modal-head{position:absolute;right:20px;top:32px;z-index:4;margin:0}
.film-schedule-modal .film-detail-compact{padding-right:48px}
@media(min-width:701px){.modal-drag-handle{margin-top:-14px}}

/* Keep event information and its actions together. */
.session-slide .film-card-body{flex:0 0 auto}
.session-slide .film-card-art{max-height:none}
.session-slide .film-card-primary{margin-top:4px}
@media(max-height:700px){.session-slide .film-card-art{max-height:none}}
#social-event-form .event-submit-actions{display:flex;flex-wrap:nowrap;gap:8px}
#social-event-form .event-submit-actions .button{min-width:0;margin:0;padding:12px 8px;line-height:1.2}
#social-event-form .event-submit-actions .button:first-child{flex:1.4}
#social-event-form .event-submit-actions .button:last-child{flex:1}
