/* Native 2.3 social surfaces. Semantic Native 2.0 tokens; deck untouched. */
.social23-sr{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.app.social23-mode{grid-template-rows:auto minmax(0,1fr) auto}.app.social23-mode.feed-mode{grid-template-rows:auto auto minmax(0,1fr) auto}
.social23-mode>.demo{display:none}.social23-mode>.top{min-height:52px;padding:4px 16px;gap:8px}.social23-mode .top img{width:96px}.social23-badge{font-size:.75rem;color:var(--muted);margin-left:auto;white-space:nowrap}.social23-badge[hidden]{display:none}
.social23-mode #main{padding-bottom:0}.social23-mode #current22-modes{padding:0 12px;border-bottom:1px solid var(--border);gap:20px}.social23-mode #current22-modes a{min-height:44px;border-radius:0;flex:initial;padding:0 8px;font-size:1rem;font-weight:650}.social23-mode #current22-modes a[aria-current]{background:transparent;color:var(--action);box-shadow:inset 0 -3px var(--action)}
.feed22{padding:0 0 24px}.feed22-filters{gap:4px;margin:0;padding:8px 12px 12px;scroll-padding:12px}.feed22-filters button{min-height:44px;font-size:.8125rem;padding:8px 13px;background:transparent}.feed22-filters button[aria-pressed=true]{background:var(--soft);color:var(--action)}
.feed22-post{padding:0 16px 10px;margin:0 0 16px;border-bottom:1px solid var(--border)}.social23-author-row{display:flex;align-items:center;justify-content:space-between;gap:8px}.feed22-author{min-height:44px;gap:10px}.feed22-author img,.feed22-symbol{width:40px;height:40px}.feed22-author strong{font-size:.9375rem}.feed22-author small{font-size:.75rem}.social23-meta{font-size:.75rem;color:var(--muted);margin:0 0 0 50px}.feed22-post>p{font-size:.9375rem;line-height:1.45;margin:10px 0 12px}.social23-media-wrap{position:relative;margin:0 -16px}.feed22-media{border-radius:0}.feed22-media>img{height:auto;aspect-ratio:4/3;object-fit:cover}.feed22-event>img{height:auto;aspect-ratio:1/1;object-position:center}.feed22-event>span{padding:20px 16px 16px;inset:35% 0 0}.feed22-event strong{font-size:1.75rem;letter-spacing:-.035em}.feed22-event b{margin-top:8px;font-size:.875rem}.social23-album{position:absolute;top:12px;right:12px;min-width:44px;min-height:44px;border-radius:var(--r-pill);background:var(--surface);box-shadow:var(--shadow);font-size:.8125rem;padding:8px 12px}.feed22-actions{gap:4px;padding-top:6px}.feed22-actions button{display:flex;align-items:center;justify-content:center;gap:5px;min-height:44px;padding:8px}.feed22-actions svg,.social23-menu svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.feed22-actions [aria-pressed=true] svg{fill:var(--action);stroke:var(--action)}.feed22-actions span{font-size:.75rem}.social23-menu{position:relative}.social23-menu summary{display:grid;place-items:center;min-width:44px;min-height:44px;cursor:pointer;list-style:none}.social23-menu summary::-webkit-details-marker{display:none}.social23-menu>div{position:absolute;right:0;top:44px;z-index:6;width:230px;background:var(--surface);border:1px solid var(--border);border-radius:var(--r-control);padding:8px;box-shadow:var(--shadow)}.social23-menu button{width:100%;text-align:left;background:transparent;font-size:.875rem}.social23-menu small{display:block;padding:8px;color:var(--muted)}.social23-end{text-align:center;color:var(--muted);padding:16px;font-size:.8125rem}
.comments22 h2,.social23-gallery h2,.social23-share h2{margin:0;font-size:1.25rem}.comments22 blockquote{border-left:3px solid var(--action);margin:16px 0;padding:0 12px;font-size:.875rem;color:var(--muted)}.comments22 article{display:flex;align-items:flex-start;gap:10px;padding:12px 0;background:none;border-bottom:1px solid var(--border);border-radius:0}.comments22 article img{width:36px;height:36px;object-fit:cover;border-radius:50%}.comments22 article>div{flex:1;min-width:0}.comments22 article p{margin:4px 0}.comments22 article small{color:var(--muted)}.comments22 article button{padding:4px;min-width:44px;background:none}.social23-composer{display:flex;align-items:flex-end;gap:8px;position:sticky;bottom:0;background:var(--surface);padding:12px 0}.social23-composer textarea{flex:1;min-width:0;min-height:44px;max-height:130px;margin:0;padding:10px 12px;font-size:1rem;border-radius:22px;resize:none}.comments22 .social23-composer button{margin:0;min-width:44px;border-radius:50%;font-size:1.25rem}.social23-slides{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain;touch-action:pan-x pan-y}.social23-slides figure{flex:0 0 100%;min-width:0;margin:16px 0 0;scroll-snap-align:start}.social23-slides img{width:100%;height:auto;aspect-ratio:3/4;object-fit:contain;background:var(--soft);border-radius:var(--r-control)}.social23-slides figcaption{font-size:.8125rem;color:var(--muted);padding:8px 0}.social23-gallery-controls{display:flex;justify-content:space-between;align-items:center}.social23-gallery-controls button{min-width:48px}.social23-share textarea{min-height:120px}.social23-media-error{min-height:180px;background:var(--soft)}
.social23-mode #nav{min-height:72px;padding-top:6px;padding-bottom:max(6px,env(safe-area-inset-bottom))}.social23-mode .current22-anchor .nav22-icon{width:50px;height:50px;bottom:23px}.social23-mode #nav a{min-height:52px}.social23-mode #nav a:focus-visible{outline-offset:-3px}
@media(prefers-reduced-motion:no-preference){.feed22-actions button{transition:color var(--motion-press) var(--ease),transform var(--motion-press) var(--ease)}.feed22-actions button:active{transform:scale(.94)}}
@media(max-width:350px){.feed22-post{padding-left:12px;padding-right:12px}.social23-media-wrap{margin-left:-12px;margin-right:-12px}.feed22-actions button{padding:8px 5px}.social23-badge{font-size:.6875rem}}

/* Keep the Courant frame anchored while only its content changes mode. */
.app.current-mode.social23-mode{grid-template-rows:auto auto minmax(0,1fr) auto}
.app.current-mode.immersive-mode>.top{display:flex;background:var(--surface);color:var(--ink)}
.app.current-mode #current22-modes{background:var(--surface);padding:0 12px;gap:20px;border-bottom:1px solid var(--border)}
.app.current-mode #current22-modes a{min-height:44px;flex:initial;padding:0 8px;border-radius:0;font-size:1rem;font-weight:650;color:var(--muted)}
.app.current-mode #current22-modes a[aria-current]{background:transparent;color:var(--action);box-shadow:inset 0 -3px var(--action)}
.app.current-mode #nav{background:var(--surface);color:var(--ink);border-top:1px solid var(--border);min-height:72px;padding:6px 3px max(6px,env(safe-area-inset-bottom))}
.app.current-mode #nav a{color:var(--muted);font-size:.625rem;min-height:52px;padding:0 2px;gap:4px}
.app.current-mode #nav a[aria-current]{color:var(--action);background:var(--soft)}
.app.current-mode .current22-anchor .nav22-icon{width:50px;height:50px;border-color:var(--surface)}
.app.current-mode #nav svg{width:24px;height:24px}

.profile-top .deck-top-actions{display:flex;gap:8px;pointer-events:auto}.deck-top-actions svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

.event23-page{max-width:680px;margin:auto}.event23-page>header{display:flex;justify-content:space-between;align-items:center;padding:8px 16px}.event23-page>header a{display:flex;align-items:center;min-height:44px;text-decoration:none;color:var(--action)}.event23-cover{display:block;width:100%;height:auto;max-height:44vh;object-fit:contain;background:var(--soft)}.event23-details{padding:20px 16px}.event23-details>.outline{margin-top:16px}


/* Photo viewer: one viewport, one counter, native horizontal touch navigation. */
#sheet.gallery46-sheet[data-surface-theme]{inset:0;margin:0;width:100%;max-width:none;height:100dvh;max-height:100dvh;border:0;border-radius:0;background:#07121e;color:#f5f8fc;--surface-bg:#07121e;--surface-text:#f5f8fc;--surface-secondary:#c0cfdf;--surface-soft:#203245;--surface-accent:#a4d9ff;}
#sheet.gallery46-sheet[data-surface-theme] .sheet-head{padding:max(8px,env(safe-area-inset-top)) 12px 8px;min-height:56px;touch-action:auto;}
#sheet.gallery46-sheet .sheet-head::before,#sheet.gallery46-sheet .sheet68-grip{display:none;}
#sheet.gallery46-sheet .sheet-head button{width:44px;height:44px;min-height:44px;background:#203245;border:0;color:#fff;}
#sheet.gallery46-sheet[data-surface-theme] #sheet-content{flex:1;min-height:0;padding:0;overflow:hidden;}
#sheet.gallery46-sheet .social23-gallery{display:flex;flex-direction:column;height:100%;min-height:0;padding-bottom:max(8px,env(safe-area-inset-bottom));box-sizing:border-box;}
#sheet.gallery46-sheet .social23-slides{flex:1;min-height:0;touch-action:pan-x pinch-zoom;overscroll-behavior:contain;}
#sheet.gallery46-sheet .social23-slides figure{height:100%;margin:0;display:flex;align-items:center;justify-content:center;}
#sheet.gallery46-sheet .social23-slides img{display:block;width:100%;height:100%;max-height:100%;object-fit:contain;aspect-ratio:auto;border-radius:0;background:transparent;}
#sheet.gallery46-sheet .gallery46-caption{flex:none;margin:0;padding:10px 20px 0;text-align:center;font-size:13px;line-height:1.4;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:#c0cfdf;}
#sheet.gallery46-sheet .social23-gallery-controls{flex:none;display:flex;justify-content:center;gap:24px;padding:8px 12px 0;color:#fff;}
#sheet.gallery46-sheet .social23-gallery-controls button{width:44px;min-width:44px;min-height:44px;border:0;border-radius:50%;background:#203245;color:#fff;font-size:24px;}
#sheet.gallery46-sheet .social23-gallery-controls button:disabled{opacity:.3;}
#sheet.gallery46-sheet .social23-gallery-index{min-width:64px;text-align:center;font-size:14px;font-variant-numeric:tabular-nums;}
