/* Fambase social feed: native CSS, familiar mobile social layout.
   Radius scale: cards 12px, inputs 10px, prompt/avatar round.
   Layers: header 5, bottom navigation 6, toast 20, native dialog top layer. */
:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;font-size:18px;line-height:1.5;color-scheme:light dark;--ink:#20252c;--blue:#174e70;--muted:#59636f;--line:#dce0e5;--white:#fff;--canvas:#f0f2f5;--subtle:#f0f2f5;--focus:#b86a00;color:var(--ink);background:var(--canvas);font-synthesis:none}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;min-height:48px;padding:10px 16px;border:1px solid var(--line);border-radius:10px;background:var(--white);color:var(--ink);font-weight:650;line-height:1.3}button:hover{background:var(--subtle)}button:active{transform:scale(.98)}button:disabled{cursor:default;opacity:.6}button.primary{color:#fff;background:var(--blue);border-color:var(--blue)}button.primary:hover{filter:brightness(.92)}button.quiet{border-color:transparent;background:transparent}.danger{color:#a9252c}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid var(--focus);outline-offset:3px}a{color:inherit}h1,h2,h3,p{margin:0}h1{font-size:1.75rem;line-height:1.2;letter-spacing:-.6px}h2{font-size:1.15rem;line-height:1.3}h3{font-size:1rem}small,.meta{color:var(--muted);font-size:.82rem}.icon{display:inline-block;vertical-align:middle;width:24px;height:24px;flex-shrink:0;stroke-width:1.8}.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.top{position:sticky;top:0;z-index:5;display:flex;align-items:center;justify-content:space-between;gap:12px;height:68px;background:var(--white);border-bottom:1px solid var(--line);padding:0 max(20px,calc((100% - 1120px)/2));box-shadow:0 1px 2px #163b5006}.brand{display:flex;align-items:center;gap:8px;font-size:1.65rem;letter-spacing:-1.1px;font-weight:800;text-decoration:none;color:#173f58}.mark{display:none}.beta{display:none}.top-actions{display:flex;align-items:center;gap:8px}.connection{font-size:12px;color:var(--muted);margin-right:8px}.top-actions button{display:flex;align-items:center;gap:6px;border:0;background:var(--subtle);font-size:14px;padding:8px 12px;border-radius:24px}.top-actions button .icon{width:21px;height:21px}.notice{color:var(--muted);text-align:center;font-size:12px;padding:8px 14px;background:var(--white);border-bottom:1px solid var(--line)}.layout{display:grid;grid-template-columns:minmax(0,1fr);gap:0;max-width:720px;margin:26px auto 115px;padding:0 20px}main{min-width:0;outline:none}.page-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin:0 0 22px}.eyebrow{display:none}.subtitle{color:var(--muted);margin-top:8px}.pill{display:inline-flex;align-items:center;gap:7px;background:var(--subtle);border-radius:20px;padding:7px 12px;font-size:.8rem;font-weight:600;white-space:nowrap}.card{background:var(--white);border:1px solid var(--line);border-radius:12px;padding:22px;margin-bottom:16px;box-shadow:0 1px 2px #163b5008}.row{display:flex;gap:12px;align-items:center}.between{justify-content:space-between}.grow{flex:1;min-width:0}.avatar{display:inline-flex;align-items:center;justify-content:center;width:46px;height:46px;flex-shrink:0;border-radius:50%;background:#dce8f3;color:#174967;font-size:16px;font-weight:750}.avatar.green{background:#e3eee3;color:#315938}.avatar.orange{background:#f5e8d7;color:#724721}.avatar.pink{background:#f4e7ee;color:#704057}
.feed-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 2px;margin-bottom:18px}.feed-heading h1{font-size:1.4rem}.feed-heading span{display:flex;align-items:center;gap:5px;font-size:12px;color:var(--muted);margin-top:4px}.feed-heading .icon{width:14px;height:14px}.timeline-label{white-space:nowrap}.composer{padding:16px 18px 0}.composer-start{display:flex;align-items:center;gap:12px;padding-bottom:16px}.compose-prompt{flex:1;min-width:0;text-align:left;font-weight:450;color:var(--muted);background:var(--subtle);border:0;border-radius:28px;padding:12px 17px;overflow-wrap:anywhere}.composer-actions{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;border-top:1px solid var(--line);padding:5px 0}.composer-actions button{border:0;background:transparent;display:flex;align-items:center;justify-content:center;gap:7px;padding:9px 3px;font-size:14px;color:var(--muted)}.composer-actions .icon{width:23px;height:23px;color:var(--blue)}.post{padding:0;overflow:hidden}.post-head{display:flex;align-items:center;gap:10px;padding:16px 18px 0}.post-author{line-height:1.35}.post-author strong{font-size:17px;font-weight:700}.post-author>span{display:block;font-size:12px;color:var(--muted);margin-top:3px}.post-author .icon{width:12px;height:12px}.post-copy{white-space:pre-wrap;overflow-wrap:anywhere;padding:14px 18px 16px;font-size:1rem;line-height:1.5}.post-media{display:block;width:100%;height:auto;max-height:650px;object-fit:contain;background:var(--subtle)}.post-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:0 16px;padding:5px 0;border-bottom:1px solid var(--line)}.post-actions button{display:flex;justify-content:center;align-items:center;gap:7px;background:transparent;border:0;color:var(--muted);font-size:15px}.post-actions button.selected{color:var(--blue)}.post-actions button.selected .icon{fill:currentColor}.post-actions .icon{width:23px;height:23px}.all-comments{border:0;background:transparent;font-size:14px;color:var(--muted);padding:10px 18px 5px}.comment-row{display:flex;align-items:flex-start;gap:9px;padding:12px 18px 0}.small-avatar{width:34px;height:34px;font-size:12px;margin-top:3px}.comment{padding:10px 13px;border-radius:16px;background:var(--subtle);font-size:16px;overflow-wrap:anywhere}.comment strong{font-size:14px}.comment p{white-space:pre-wrap;margin-top:2px}.comment-form{display:flex;gap:10px;align-items:center;padding:14px 18px 0}.comment-form input{border:0;background:var(--subtle);border-radius:24px;font-size:16px}.comment-form button{padding:10px 12px;border:0;background:var(--subtle);color:var(--blue)}.post-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:6px 18px 8px;color:var(--muted);font-size:11px}.post-footer button{font-size:12px;padding:7px 0;min-height:48px}.end{text-align:center;padding:26px 18px 32px;color:var(--muted);font-size:14px}.end>.icon{display:block;margin:0 auto 10px;width:30px;height:30px;color:var(--blue)}.end strong{display:block;color:var(--ink);font-size:16px;margin-bottom:3px}.empty{text-align:center;color:var(--muted);padding:30px 20px}.empty h2{color:var(--ink);margin-bottom:8px}
.field{display:block;width:100%;background:var(--white);border:1px solid #a7b0bb;border-radius:10px;padding:12px 14px;min-height:48px;color:var(--ink)}.field::placeholder{color:var(--muted);opacity:1}textarea{min-height:150px;resize:vertical}.field-wrap{display:block;margin:18px 0}.field-wrap>span{display:block;font-weight:650;margin-bottom:7px}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.inline-note{background:var(--subtle);padding:14px 16px;border-radius:10px;color:var(--muted);font-size:.85rem;margin-top:20px}.segmented{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:18px}.segmented button{font-size:16px}.segmented button[aria-pressed=true]{background:var(--blue);border-color:var(--blue);color:#fff}.list-item{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--line)}.list-item:last-child{border-bottom:0}.list-item span{overflow-wrap:anywhere}.check{width:48px;height:48px;accent-color:var(--blue);flex-shrink:0;cursor:pointer}.done{text-decoration:line-through;color:var(--muted)}.list-item button{font-size:13px;padding:8px}.list-add{display:flex;gap:12px;margin-top:20px}.list-add input{min-width:0}.event-date{font-weight:700;color:var(--blue)}.event-item{padding:18px 0;border-bottom:1px solid var(--line)}.event-item:last-child{border-bottom:0}.event-item h3{margin:5px 0}.event-item button{font-size:13px;padding:8px}.settings-row{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:15px 0}.settings-row label{display:flex;gap:12px;align-items:center}.photo-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;margin-top:18px}.photo-grid img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:8px}.game-title{text-align:center;margin-top:8px}.game-title h2{font-size:1.4rem}.gameboard{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;max-width:345px;margin:24px auto}.cell{aspect-ratio:1;font-size:2.7rem;line-height:1;border-radius:12px;background:var(--subtle);color:var(--blue)}.cell.o{color:#885018}.status{text-align:center;font-weight:650;min-height:30px}.game-note{text-align:center;color:var(--muted)}
aside .side-card{margin-bottom:20px;padding:22px;border:1px solid var(--line);border-radius:12px;background:var(--white)}aside .together{background:var(--white);color:var(--ink)}aside .together h2{font-size:1.6rem;line-height:1.2;margin:10px 0}aside .together .meta{color:var(--muted)}aside .principles{font-size:14px;color:var(--muted);padding:0 6px}aside .principles p{margin-bottom:12px}.bottom{position:fixed;bottom:0;left:0;right:0;z-index:6;background:var(--white);border-top:1px solid var(--line);padding-bottom:env(safe-area-inset-bottom);box-shadow:0 -1px 3px #163b5005}.bottom>div{display:grid;grid-template-columns:repeat(4,1fr);max-width:720px;margin:auto;gap:12px;padding:7px 18px}.navbutton{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:6px 3px;min-height:58px;background:transparent;border:0;color:var(--muted);font-size:12px;border-radius:8px}.navbutton>.icon{width:27px;height:27px}.navbutton[aria-current=page]{color:var(--blue);background:transparent}.navbutton[aria-current=page]:after{content:'';position:absolute;top:-7px;left:15%;right:15%;height:3px;background:var(--blue);border-radius:0 0 3px 3px}.navbutton[aria-current=page] .icon{stroke-width:2.2}.toast{position:fixed;bottom:100px;left:50%;transform:translateX(-50%);z-index:20;background:#173f58;color:#fff;border-radius:10px;padding:13px 18px;max-width:90vw;font-size:15px}.welcome{max-width:550px;margin:40px auto;padding:32px}.welcome-icon{display:flex;justify-content:center;align-items:center;width:64px;height:64px;border-radius:18px;background:var(--subtle);color:var(--blue);margin-bottom:24px}.welcome-icon .icon{width:36px;height:36px}.welcome h1{font-size:2rem;margin-bottom:14px}.welcome p{margin-bottom:22px;color:var(--muted)}.welcome button{display:block;width:100%;margin-top:12px}.welcome .meta{font-size:13px;margin:22px 0 0}
dialog{max-width:510px;width:calc(100% - 24px);padding:22px;border:1px solid var(--line);border-radius:14px;background:var(--white);color:var(--ink);max-height:90dvh;overflow-y:auto}dialog::backdrop{background:#18212c80}dialog h2{font-size:1.3rem;margin-bottom:10px}dialog p{color:var(--muted);margin:12px 0}.dialog-buttons{display:flex;justify-content:flex-end;gap:12px;flex-wrap:wrap;margin-top:20px}.dialog-buttons button{font-size:16px}.compose-scope{font-size:13px}.compose-scope .icon{width:15px;height:15px}.photo-picker{padding:15px;border:1px solid var(--line);border-radius:10px}.photo-picker span{display:flex;align-items:center;gap:8px}.photo-picker input{width:100%;font-size:14px;margin-top:8px}.error{color:#a9252c!important;font-size:15px;min-height:24px}.search-results{margin-top:18px}.search-result{padding:14px 0;border-top:1px solid var(--line)}.search-result p{white-space:pre-wrap;overflow-wrap:anywhere}.large{font-size:24px}.large .post-author strong,.large .post-copy,.large .comment{font-size:24px}.large .post-author>span,.large .meta{font-size:18px}.large .navbutton{font-size:15px}.large .composer-actions button,.large .post-actions button{font-size:18px}.large .composer-actions{gap:4px}.large .layout{grid-template-columns:minmax(0,1fr);max-width:820px}.large aside{display:none}
@media(max-width:900px){.layout{grid-template-columns:minmax(0,1fr);max-width:680px}aside{display:none}.connection{display:none}.top{padding:0 20px}}
@media(max-width:540px){.top{height:62px;padding:0 16px;gap:10px}.brand{font-size:27px}.top-actions{gap:6px}.top-actions button{flex-direction:column;gap:1px;border-radius:50%;padding:5px;width:49px;height:49px;font-size:10px}.top-actions button .icon{width:21px;height:21px}.notice{font-size:11px;padding:6px 12px}.layout{margin:0 0 95px;padding:0;gap:0}.page-head{padding:20px 16px 0;margin-bottom:18px}.page-head .pill{display:none}.page-head h1{font-size:1.6rem}.page-head .subtitle{font-size:16px}.feed-heading{padding:15px 16px 13px;margin:0;background:var(--white)}.feed-heading h1{font-size:21px}.timeline-label{font-size:11px!important}.card{border-radius:0;border-left:0;border-right:0;box-shadow:none;margin-bottom:9px;padding:20px 16px}.composer{padding:4px 16px 0;border-top:0}.composer-start{gap:11px;padding-bottom:12px}.compose-prompt{font-size:16px;min-height:48px;padding:10px 15px}.composer .avatar{width:43px;height:43px}.composer-actions{gap:12px}.composer-actions button{font-size:13px;gap:6px}.composer-actions .icon{width:22px;height:22px}.post{padding:0}.post-head{padding:14px 16px 0}.post-copy{padding:12px 16px 14px}.post-media{max-height:none}.post-actions{margin:0 12px;gap:12px}.post-actions button{font-size:14px}.comment-row{padding:12px 16px 0}.comment{font-size:16px}.comment-form{padding:12px 16px 0}.post-footer{padding-inline:16px}.bottom>div{padding:7px 10px;gap:12px}.navbutton{min-height:57px;font-size:11px}.navbutton>.icon{width:25px;height:25px}.welcome{margin:18px 12px;border:1px solid var(--line);border-radius:12px;padding:25px}.welcome h1{font-size:1.8rem}.segmented{padding:0 12px;gap:8px}.segmented button{font-size:14px;padding:10px 12px}.list-add{flex-wrap:wrap}.list-item button{font-size:12px}.list-item .check{width:48px}.photo-grid{grid-template-columns:repeat(2,1fr)}dialog{padding:20px}.large .composer-start{align-items:flex-start}.large .compose-prompt{font-size:20px}.large .composer-actions button{font-size:15px;flex-direction:column;gap:3px}.large .post-actions button{font-size:17px}.large .navbutton{font-size:13px}.large .page-head h1{font-size:1.4rem}.large .settings-row label{flex-wrap:wrap}}
@media(prefers-color-scheme:dark){:root{--ink:#e7ebef;--blue:#8cbde9;--muted:#b3bcc5;--line:#3d4248;--white:#24272b;--canvas:#181a1e;--subtle:#34383e;--focus:#ffc16b}.brand{color:#b4d4ed}button.primary,.segmented button[aria-pressed=true]{color:#142d40}.avatar{background:#344b5e;color:#d8ecfa}.avatar.green{background:#344c3d;color:#dbefdf}.avatar.orange{background:#594934;color:#fbe7cb}.avatar.pink{background:#553d49;color:#f7dfeb}.danger,.error{color:#ffb0b8!important}.cell.o{color:#ffd399}.toast{background:#d9e9f7;color:#173f58}}
@media(prefers-reduced-motion:reduce){button:active{transform:none}*{scroll-behavior:auto!important;transition:none!important}}

.post-media.example-media{height:360px;object-fit:cover;object-position:center 70%}@media(max-width:540px){.post-media.example-media{height:320px}}
[hidden]{display:none!important}.status-strip{background:var(--white);border:1px solid var(--line);border-radius:12px;margin-bottom:16px;padding:14px 18px 12px}.status-heading{display:flex;justify-content:space-between;align-items:center;margin-bottom:10px}.status-heading h2{font-size:16px}.status-heading>span{font-size:12px;color:var(--muted)}.status-items{display:flex;gap:14px;overflow-x:auto;padding:3px 3px 4px;scrollbar-width:thin}.status-item{display:flex;flex-direction:column;align-items:center;gap:8px;flex:0 0 76px;border:0;background:transparent;padding:0;font-size:12px;font-weight:550}.status-avatar{position:relative;width:62px;height:62px;display:flex;align-items:center;justify-content:center;flex-shrink:0;border-radius:50%}.status-avatar>.avatar{width:54px;height:54px;font-size:18px}.status-ring{border:2px solid var(--blue)}.status-avatar>img{width:54px;height:54px;object-fit:cover;border-radius:50%}.status-plus{position:absolute;right:0;bottom:0;display:flex;justify-content:center;align-items:center;width:25px;height:25px;border:2px solid var(--white);border-radius:50%;background:var(--blue);color:var(--white);font-size:21px;line-height:1}.comment{display:inline-block;max-width:100%}.comment-actions{display:flex;align-items:center;gap:12px}.comment-actions button{display:flex;align-items:center;gap:5px;min-height:48px;padding:5px 0;background:transparent;border:0;font-size:12px;color:var(--muted)}.comment-actions .icon{width:16px;height:16px}.comment-actions button.selected{color:var(--blue)}.comment-actions button.selected .icon{fill:currentColor;fill-opacity:.15}.comment-children{margin-left:var(--indent)}.comment-children .comment-row{padding-top:0}.comment-thread>.comment-form{padding-top:0;padding-bottom:12px}.post-footer{justify-content:flex-end}.post-footer button{min-height:48px}.status-photo{display:block;width:100%;max-height:55dvh;object-fit:contain;border-radius:8px;margin-top:16px}.status-text{white-space:pre-wrap;overflow-wrap:anywhere;font-size:1.3rem;color:var(--ink)}img[data-photo]{cursor:zoom-in;touch-action:pan-y pinch-zoom;-webkit-touch-callout:none}img[data-photo]:focus-visible{outline:3px solid var(--focus);outline-offset:-3px}.photo-dialog{width:calc(100% - 24px);max-width:1000px}.enlarged-photo{display:block;width:100%;height:auto;max-height:68dvh;object-fit:contain;background:var(--canvas)}.photo-menu{display:flex;flex-direction:column;gap:12px;margin-top:20px}.large .comment-actions button{font-size:16px}.large .status-item{font-size:16px;flex-basis:96px}
@media(max-width:540px){.status-strip{border:0;border-bottom:1px solid var(--line);border-radius:0;margin:0;padding:12px 16px 14px}.status-items{gap:12px}.status-heading{margin-bottom:8px}.composer{padding-top:14px}.comment-actions{gap:14px}.photo-dialog{padding:14px}.enlarged-photo{max-height:65dvh}}
.status-seen .status-ring{border-color:#949ca6}.seen-label{font-size:10px;color:var(--muted);margin-top:-6px}.status-dialog{position:fixed;inset:0;margin:0;width:100vw;max-width:none;height:100dvh;max-height:none;border:0;border-radius:0;padding:0;background:#101820;color:white;overflow:hidden}.status-dialog::backdrop{background:#101820}.status-fullscreen{display:flex;flex-direction:column;height:100%;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}.status-progress{display:flex;gap:5px;padding:12px 12px 0;flex-shrink:0}.status-progress span{height:3px;flex:1;border-radius:4px;background:#ffffff45}.status-progress span.filled{background:#fff}.status-toolbar{display:flex;align-items:center;gap:10px;padding:12px 16px;flex-shrink:0}.status-toolbar h2{font-size:17px;margin:0}.status-time{font-size:12px;color:#d0d7df}.status-toolbar button,.status-controls button{border:0;background:transparent;color:white;font-size:15px}.status-toolbar #statusClose{font-size:30px;min-width:48px}.status-stage{position:relative;display:flex;flex-direction:column;justify-content:center;align-items:center;flex:1;min-height:0;overflow:hidden;cursor:pointer;background:#173544}.status-full-photo{display:block;width:100%;height:100%;min-height:0;object-fit:contain}.status-dialog p.status-full-text{font-size:clamp(24px,5vw,42px);line-height:1.4;text-align:center;white-space:pre-wrap;overflow-wrap:anywhere;color:white;padding:24px;max-width:760px;max-height:100%;overflow-y:auto;margin:0}.status-dialog p.status-full-text.with-photo{position:absolute;bottom:0;left:0;right:0;margin:auto;max-height:45%;font-size:20px;padding:36px 20px 20px;background:linear-gradient(transparent,#000b);text-shadow:0 1px 3px #000}.status-controls{display:flex;align-items:center;justify-content:space-between;gap:4px;padding:10px 12px;flex-shrink:0}.status-controls button{padding:10px 8px}.status-controls button:disabled{opacity:.35}.status-dialog .avatar{width:40px;height:40px;font-size:14px}.status-dialog [data-photo]{cursor:pointer}.large .status-toolbar h2,.large .status-controls button{font-size:20px}
.status-dialog #dialogContent{height:100%}body.status-open{overflow:hidden}
/* Threaded conversations, polls and personal pages. */
.composer-actions{grid-template-columns:repeat(4,1fr);gap:6px}.person-avatar{padding:0;border:0;min-height:0;overflow:hidden}.person-avatar img,.profile-avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}.person-name{display:inline-block;text-align:left;min-height:0;padding:0;border:0;border-radius:0;background:transparent;font-size:17px;font-weight:700;line-height:1.35}.person-name:hover{text-decoration:underline;background:transparent}.post-author .person-name{min-height:36px}.comments{padding:0 16px 10px}.comments-heading{display:flex;justify-content:flex-start}.comments-toggle{background:transparent;border:0;padding:6px 0;font-size:13px;color:var(--muted);min-height:48px}.thread-roots,.thread-children{list-style:none;padding:0;margin:0}.thread-node{position:relative;margin-top:4px}.thread-row{display:flex;align-items:flex-start;gap:8px}.thread-row>.small-avatar{width:30px;height:30px;min-width:30px;margin-top:3px}.thread-body{flex:1;min-width:0}.thread-body .comment{padding:8px 11px;border-radius:15px;line-height:1.35}.thread-body .person-name{font-size:13px;min-height:0}.thread-body .comment p{font-size:14px;margin-top:3px;line-height:1.4}.comment-actions{gap:18px}.comment-actions button{font-size:12px;padding:4px 0}.comment-actions .icon{width:15px;height:15px}.branch-toggle{display:flex;align-items:center;gap:7px;border:0;background:transparent;color:var(--muted);font-size:12px;min-height:48px;padding:4px 0}.branch-toggle .icon{width:15px;height:15px}.thread-children{margin-left:14px;padding-left:var(--branch-indent);border-left:2px solid var(--line);position:relative}.thread-children>.thread-node:before{content:'';position:absolute;left:calc(0px - var(--branch-indent) - 2px);top:0;width:var(--branch-indent);height:20px;border-bottom:2px solid var(--line);border-radius:0 0 0 10px;pointer-events:none}.thread-children .thread-children{margin-left:14px}.reply-context{display:block;font-size:11px;color:var(--muted);margin-top:3px}.reply-composer{padding:0 16px 14px}.reply-composer .comment-form{padding:0;gap:8px}.reply-composer .comment-form input{font-size:14px}.reply-target{display:flex;align-items:center;justify-content:space-between;font-size:12px;color:var(--muted);padding-left:10px}.reply-target button{border:0;background:transparent;padding:6px 12px;min-width:48px}.comments:has(.thread-roots:empty){padding-bottom:0}.poll{padding:0 18px 12px}.poll-options{display:flex;flex-direction:column;gap:8px}.poll-option{position:relative;overflow:hidden;text-align:left;padding:12px;border-radius:9px;min-height:54px;font-size:15px;background:var(--subtle);border-color:transparent}.poll-option.voted{border-color:var(--blue)}.poll-fill{position:absolute;inset:0 auto 0 0;background:var(--blue);opacity:.13;pointer-events:none}.poll-option-content{position:relative;display:flex;align-items:center;justify-content:space-between;gap:10px}.poll-option-content>span:first-child{display:flex;align-items:center;gap:7px;overflow-wrap:anywhere}.poll-option-content .icon{width:19px;height:19px;color:var(--blue)}.poll-percentage{font-size:13px;white-space:nowrap}.poll-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;color:var(--muted);font-size:12px;margin-top:8px}.poll-meta button{font-size:12px;padding:7px 0;min-height:48px}.poll-choice-row{display:flex;align-items:center;gap:10px}.poll-choice-row .field-wrap{margin:8px 0}.poll-choice-row>.quiet{align-self:flex-end;margin-bottom:8px;min-width:48px}.poll-tools-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:16px}.poll-tools-heading h2{font-size:20px}.my-page-card{display:flex;align-items:center;gap:16px}.directory-avatar{width:64px;height:64px;font-size:22px}.my-page-card h2{font-size:22px}.page-open{font-size:14px;padding-left:0;color:var(--blue)}.people-directory h2{margin-bottom:14px}.person-row{display:flex;align-items:center;gap:12px;padding:12px 0;border-top:1px solid var(--line)}.person-row>.quiet{font-size:28px;min-width:48px}.person-row .person-name{min-height:40px}.person-row p{font-size:13px;line-height:1.4}.profile-back{margin-bottom:12px;font-size:15px}.profile-hero{padding:0;overflow:hidden}.profile-cover{height:180px;background:#d9e6ed}.profile-cover>img{width:100%;height:100%;object-fit:cover}.profile-intro{position:relative;padding:0 22px 20px}.profile-avatar{width:100px;height:100px;font-size:30px;border:4px solid var(--white);margin-top:-50px;position:relative}.profile-intro h1{margin-top:10px;font-size:28px}.profile-bio{font-size:15px;margin-top:9px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}.profile-buttons{display:flex;gap:8px;flex-wrap:wrap;margin-top:16px}.profile-buttons button{font-size:14px;padding:10px 12px}.profile-tabs{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid var(--line)}.profile-tabs button{border:0;border-radius:0;background:transparent;min-height:54px;font-size:14px;color:var(--muted)}.profile-tabs button[aria-pressed=true]{color:var(--blue);box-shadow:inset 0 -3px var(--blue)}.profile-about dl{margin:18px 0 0}.profile-about dt{font-size:12px;color:var(--muted);margin-top:18px}.profile-about dd{font-size:16px;margin:4px 0 0;white-space:pre-wrap;overflow-wrap:anywhere}.profile-bio-input{min-height:95px}.profile-large{display:flex;align-items:center;gap:10px;margin-top:18px}.instagram-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;background:var(--white);padding:3px;margin-bottom:16px}.profile-tile{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;aspect-ratio:1;padding:0;border:0;border-radius:0;overflow:hidden;min-width:0;background:var(--white);font-size:14px}.profile-tile>img{display:block;width:100%;height:100%;object-fit:cover}.profile-tile.text-tile{background:var(--subtle);padding:12px;gap:10px;text-align:center}.tile-icon .icon{width:24px;height:24px;color:var(--blue)}.tile-text{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;font-size:14px;line-height:1.35}.tile-type{position:absolute;right:5px;top:5px;font-size:10px;background:var(--white);padding:3px 5px;border-radius:4px}.profile-post-heading{margin-bottom:12px}.profile-post-heading button{font-size:14px}.large .thread-body .person-name,.large .thread-body .comment p{font-size:21px}.large .branch-toggle,.large .comments-toggle,.large .reply-context{font-size:16px}.large .poll-option,.large .person-name{font-size:20px}.large .tile-text{font-size:18px}
@media(max-width:540px){.composer-actions{gap:0}.composer-actions button{flex-direction:column;gap:4px;font-size:12px}.composer-actions .icon{width:21px;height:21px}.comments{padding:0 14px 8px}.poll{padding:0 16px 10px}.poll-tools-heading{padding:0 16px}.profile-back,.profile-post-heading{margin:8px 4px}.profile-cover{height:145px}.profile-intro{padding:0 16px 18px}.profile-avatar{width:90px;height:90px;margin-top:-45px}.profile-intro h1{font-size:26px}.profile-hero{padding:0;margin-bottom:3px}.instagram-grid{gap:2px;padding:0}.profile-tile.text-tile{padding:9px;gap:6px}.tile-text{font-size:12px;-webkit-line-clamp:4}.profile-tile .tile-icon .icon{width:20px;height:20px}.my-page-card,.people-directory{padding:20px 16px}.poll-meta{flex-wrap:wrap}}
@media(prefers-color-scheme:dark){.profile-cover{background:#314856}}
.post-actions.with-whisper{grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}.post-actions.with-whisper button{font-size:13px;gap:5px;padding:9px 2px}.post-actions.with-whisper .icon{width:20px;height:20px}.like-summary{display:flex;align-items:center;gap:6px;padding:8px 18px 0;font-size:12px;color:var(--muted)}.like-summary .icon{width:16px;height:16px;color:var(--blue)}.whisper-inbox-row{display:flex;align-items:center;gap:12px;width:100%;border:0;border-top:1px solid var(--line);border-radius:0;text-align:left;padding:14px 0}.whisper-inbox-row>.grow{display:flex;flex-direction:column;gap:5px}.whisper-inbox-row strong{font-size:16px}.whisper-inbox-row .grow>span{font-size:13px;color:var(--muted);font-weight:400;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whisper-post-context{font-size:13px;padding:12px;border-left:3px solid var(--line);background:var(--subtle);white-space:pre-wrap;overflow-wrap:anywhere;max-height:120px;overflow:auto}.whisper-messages{display:flex;flex-direction:column;gap:10px;max-height:42dvh;overflow-y:auto;padding:8px 0}.whisper-message{align-self:flex-start;max-width:90%;background:var(--subtle);border-radius:14px;padding:10px 13px;overflow-wrap:anywhere}.whisper-message.mine{align-self:flex-end;background:#dce8f3;color:#173f58}.whisper-message strong{font-size:12px}.whisper-message p{font-size:15px;white-space:pre-wrap;margin:4px 0;color:inherit}.whisper-message>span{display:block;text-align:right;font-size:10px;opacity:.75}.whisper-reply{display:flex;gap:8px;margin-top:16px}.whisper-reply input{font-size:15px}.whisper-reply button{padding:10px 12px}.large .post-actions.with-whisper button{font-size:18px}.large .whisper-message p{font-size:22px}
@media(max-width:540px){.top-actions{gap:5px}.top-actions button{width:46px;height:49px}.top{padding:0 12px}.brand{font-size:26px}.post-actions.with-whisper button{font-size:12px}.post-actions.with-whisper .icon{width:18px;height:18px}}
@media(prefers-color-scheme:dark){.whisper-message.mine{background:#344b5e;color:#d8ecfa}}
.thread-body .comment-actions{gap:14px;flex-wrap:wrap}.thread-body .comment-actions .branch-toggle{margin-left:auto;gap:5px}.thread-body .comment-actions .branch-toggle span{white-space:nowrap}.reply-context{display:inline-block;margin-left:5px;margin-top:0}.profile-cover:empty{height:80px}.large .thread-body .comment-actions{gap:10px}.large .thread-body .comment-actions .branch-toggle{margin-left:0}
/* Personal messenger and post conversations share the same private message UI. */
body.messenger-open{overflow:hidden}.messenger-dialog{padding:0;width:min(560px,calc(100vw - 32px));height:min(820px,92dvh);max-height:none;border-radius:18px;overflow:hidden}.messenger-dialog #dialogContent{height:100%}.messenger{display:flex;flex-direction:column;height:100%;min-height:0;background:var(--white)}.messenger-header{display:flex;align-items:center;gap:10px;flex-shrink:0;padding:12px;border-bottom:1px solid var(--line)}.messenger-header h1{font-size:25px;letter-spacing:-.6px}.messenger-header .grow>span{display:block;font-size:12px;color:var(--muted);margin-top:3px}.messenger-icon{display:flex;align-items:center;justify-content:center;flex-shrink:0;min-width:48px;width:48px;border:0;background:transparent;padding:8px;font-size:29px;color:var(--blue)}.messenger-icon .icon{width:23px;height:23px}.messenger .avatar{width:50px;height:50px;overflow:hidden}.messenger .avatar>img{width:100%;height:100%;object-fit:cover}.messenger-search{display:flex;align-items:center;gap:9px;margin:16px 16px 10px;padding:0 14px;background:var(--subtle);border-radius:28px;flex-shrink:0;color:var(--muted)}.messenger-search>.icon{width:19px;height:19px}.messenger-search input{min-width:0;min-height:48px;width:100%;background:transparent;border:0;color:var(--ink);font-size:15px;outline-offset:0}.messenger-search input::placeholder{color:var(--muted)}.messenger-filters{display:flex;gap:6px;padding:0 16px 12px;border-bottom:1px solid var(--line);flex-shrink:0}.messenger-filters button{border:0;border-radius:24px;background:transparent;font-size:13px;color:var(--muted);padding:9px 14px}.messenger-filters button[aria-pressed=true]{background:var(--subtle);color:var(--blue)}.messenger-list{flex:1;min-height:0;overflow-y:auto;padding:4px 0;overscroll-behavior:contain}.conversation-row{display:flex;align-items:center;gap:12px;width:100%;padding:16px;border:0;border-radius:0;text-align:left;background:transparent}.conversation-row>.grow{display:flex;flex-direction:column;gap:5px}.conversation-row strong{font-size:16px}.conversation-title{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.conversation-title time{font-size:11px;color:var(--muted);white-space:nowrap;font-weight:400}.conversation-preview{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%;font-size:14px;color:var(--muted);font-weight:400}.conversation-kind{display:flex;align-items:center;gap:5px;font-size:11px;color:var(--muted);font-weight:500}.conversation-kind .icon{width:13px;height:13px}.messenger-empty{padding:44px 24px;text-align:center;color:var(--muted);margin:auto}.messenger-empty>.icon{width:42px;height:42px;margin-bottom:14px;color:var(--blue)}.messenger-empty h2{font-size:18px;margin-bottom:18px}.chat-person{text-align:left;border:0;background:transparent;padding:0;min-height:48px;overflow:hidden}.chat-person strong{display:block;font-size:17px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.messenger-header .chat-person>span{font-size:11px;font-weight:400}.messenger-chat .messenger-header{gap:8px}.messenger-chat .messenger-header .avatar{width:40px;height:40px;font-size:14px}.message-post-context{flex-shrink:0;padding:12px 18px;background:var(--subtle);border-bottom:1px solid var(--line)}.message-post-context>span{display:flex;gap:6px;align-items:center;font-size:11px;color:var(--muted)}.message-post-context .icon{width:14px;height:14px}.messenger-dialog .message-post-context p{font-size:13px;line-height:1.4;margin:5px 0 0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;color:var(--ink);overflow-wrap:anywhere}.message-timeline{display:flex;flex-direction:column;gap:8px;flex:1;min-height:0;overflow-y:auto;padding:18px 16px;overscroll-behavior:contain;background:var(--white)}.message-day{align-self:center;font-size:11px;color:var(--muted);padding:10px 0 8px}.message-bubble{align-self:flex-start;max-width:85%;padding:10px 13px 7px;border-radius:18px 18px 18px 5px;background:var(--subtle);min-width:70px}.message-bubble.mine{align-self:flex-end;background:var(--blue);color:#fff;border-radius:18px 18px 5px 18px}.messenger-dialog .message-bubble p{color:inherit;margin:0;font-size:15px;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere}.message-bubble time{display:block;text-align:right;font-size:10px;margin-top:5px;opacity:.8}.message-compose{flex-shrink:0;padding:10px 12px max(12px,env(safe-area-inset-bottom));border-top:1px solid var(--line);background:var(--white)}.message-compose form{display:flex;gap:8px;align-items:flex-end}.message-compose textarea{width:100%;display:block;min-height:48px;max-height:120px;resize:none;border:0;border-radius:23px;padding:13px 16px;background:var(--subtle);color:var(--ink);font-size:16px;line-height:22px}.message-compose textarea::placeholder{color:var(--muted)}.message-compose button{width:48px;height:48px;flex-shrink:0;border-radius:50%;padding:10px;display:flex;justify-content:center;align-items:center}.messenger-dialog .message-compose .error{margin:0 0 8px;font-size:13px}.large .conversation-row strong,.large .chat-person strong{font-size:21px}.large .conversation-preview,.large .message-bubble p,.large .message-compose textarea{font-size:20px}.large .messenger-filters button{font-size:16px}
@media(max-width:540px){.messenger-dialog{position:fixed;inset:0;margin:0;width:100vw;max-width:none;height:100dvh;border:0;border-radius:0}.messenger-header{padding-top:max(12px,env(safe-area-inset-top))}.messenger-chat .messenger-header{padding-inline:6px}.messenger-search{margin-top:14px}.conversation-row{padding-block:14px}.message-timeline{padding-inline:12px}}
@media(prefers-color-scheme:dark){.message-bubble.mine{color:#142d40}}
/* Game library, match setup, boards and invitations inside personal chats. */
.game-catalog{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:20px}.game-tile{display:flex;align-items:center;gap:14px;padding:18px;text-align:left;min-height:118px}.game-art{display:flex;align-items:center;justify-content:center;flex-shrink:0;width:64px;height:64px;border-radius:17px;background:#dce8f3;color:#174967;font-size:27px;font-weight:800;letter-spacing:-2px}.game-art.gold{background:#faedca;color:#785412}.game-art.green{background:#e3eee3;color:#315938}.game-art.pink{background:#f4e7ee;color:#704057}.game-tile-copy{display:flex;flex-direction:column;gap:7px;min-width:0}.game-tile-copy strong{font-size:16px;line-height:1.35}.game-tile-copy>span{font-size:12px;line-height:1.4;font-weight:400;color:var(--muted)}.game-back-row{display:flex;align-items:center;justify-content:space-between;margin-bottom:10px}.game-back-row button{font-size:14px}.game-setup>.game-art{width:86px;height:86px;font-size:36px;margin-bottom:18px}.game-setup h1{font-size:28px}.game-rules{font-size:15px;color:var(--muted);line-height:1.6;margin:16px 0 26px}.game-setup h2{font-size:18px;margin-bottom:12px}.game-modes{display:grid;grid-template-columns:1fr;gap:9px;margin:14px 0 22px}.game-modes button{text-align:left;font-size:16px}.game-modes button[aria-pressed=true]{color:var(--blue);border-color:var(--blue);background:var(--subtle)}.game-setup>#gameContinue{width:100%}.game-people{margin:16px 0 20px}.game-people label{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--line);font-size:16px;cursor:pointer}.game-people input{width:28px;height:28px;accent-color:var(--blue)}.game-people .avatar>img{width:100%;height:100%;object-fit:cover;border-radius:50%}.ongoing-games h2{margin-bottom:14px}.ongoing-games>button{display:flex;align-items:center;gap:12px;width:100%;border:0;border-top:1px solid var(--line);border-radius:0;padding:12px 0;text-align:left}.ongoing-games .grow{display:flex;flex-direction:column;gap:4px}.ongoing-games strong{font-size:15px}.ongoing-games .grow>span{font-size:12px;font-weight:400;color:var(--muted)}.game-play-title{display:flex;align-items:center;gap:12px;margin-bottom:22px}.game-play-title .game-art{width:50px;height:50px;border-radius:12px;font-size:24px}.game-play-title h1{font-size:21px;letter-spacing:-.3px}.game-play-title>.quiet{margin-left:auto;min-width:48px}.game-play-title .meta{font-size:12px}.game-scoreboard{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:14px}.game-scoreboard>span{display:flex;flex-direction:column;flex:1;min-width:90px;padding:10px 12px;border:1px solid var(--line);border-radius:10px;gap:4px}.game-scoreboard>span.turn{border-color:var(--blue);background:var(--subtle)}.game-scoreboard strong{font-size:14px}.game-scoreboard>span>span{font-size:11px;color:var(--muted)}.game-turn{text-align:center;font-size:16px;font-weight:700;margin:20px 0}.game-board{display:grid;gap:8px;margin:18px auto;max-width:420px}.game-square{padding:0;aspect-ratio:1;font-size:30px;min-width:0;line-height:1}.tic-board{grid-template-columns:repeat(3,1fr);max-width:340px;gap:10px}.tic-board .game-square{font-size:54px;background:var(--subtle)}.player-one{color:var(--blue)}.player-two{color:#a16b21}.connect-controls{display:grid;grid-template-columns:repeat(7,1fr);gap:6px;margin-top:20px}.connect-controls button{min-height:48px;aspect-ratio:auto;font-size:22px;border:0;background:var(--subtle)}.connect-board{grid-template-columns:repeat(7,1fr);gap:7px;background:#235675;padding:10px;border-radius:12px;margin-top:5px}.connect-hole{aspect-ratio:1;border-radius:50%;background:#f0f2f5;box-shadow:inset 0 2px 4px #0003}.connect-hole.player-one{background:#f0b945}.connect-hole.player-two{background:#e57770}.reversi-board{grid-template-columns:repeat(8,1fr);gap:2px;background:#375d48;border:3px solid #375d48;border-radius:4px}.reversi-board .game-square{position:relative;min-height:0;background:#527b5f;border:0;border-radius:0;padding:4px}.reversi-piece{display:block;width:100%;height:100%;border-radius:50%;box-shadow:0 2px 3px #0005}.reversi-piece.dark{background:#192c24}.reversi-piece.light{background:#f6eedc}.legal-dot{display:block;width:9px;height:9px;border-radius:50%;background:#f6eedc88;margin:auto}.memory-board{grid-template-columns:repeat(4,1fr)}.memory-board .game-square{background:var(--subtle);font-size:35px}.memory-board .matched{opacity:.5;border-style:dashed}.board-caption{font-size:15px;text-align:center;margin:20px 0 10px}.ships-board{grid-template-columns:repeat(5,1fr);gap:5px;margin-top:10px}.ships-board .game-square{font-size:30px;background:#e8f0f6;color:#295873}.ships-board .hit{background:#f9ded7;color:#ad4a35}.own-fleet{display:grid;grid-template-columns:repeat(5,1fr);gap:3px;max-width:220px;margin:auto}.own-fleet>span{display:flex;align-items:center;justify-content:center;aspect-ratio:1;background:var(--subtle);color:var(--muted);border-radius:4px}.own-fleet .ship{color:var(--blue);background:#dce8f3}.own-fleet .hit{color:#ad4a35;background:#f9ded7}.nim-stones{display:flex;justify-content:center;gap:10px;flex-wrap:wrap;padding:20px 10px;font-size:32px;color:var(--blue);min-height:110px}.game-choice-buttons{display:flex;gap:10px;justify-content:center;margin:20px 0}.game-choice-buttons>button{flex:1;font-size:16px;min-height:54px;aspect-ratio:auto;padding:10px 8px}.dice-face{text-align:center;font-size:110px;line-height:1.4;color:var(--blue)}.dice-bank{text-align:center;font-size:18px}.game-round{text-align:center;font-size:14px;color:var(--muted)}.rps-choices>button{display:flex;align-items:center;flex-direction:column;gap:12px;padding:20px 8px;font-size:14px}.rps-choices>button>span{font-size:34px}.guess-range{text-align:center;font-size:48px;font-weight:750;margin:26px 0}.guess-range>span{font-size:15px;font-weight:400;color:var(--muted)}.guess-form{display:flex;gap:10px;justify-content:center}.guess-form>label{min-width:0;flex:1}.guess-form button{font-size:15px}.word-slots{display:flex;justify-content:center;gap:5px;flex-wrap:wrap;font-weight:750;font-size:27px;padding:20px 0}.word-slots>span{min-width:22px;text-align:center}.word-keyboard{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px}.word-keyboard button{padding:8px 0;font-size:17px}.game-last{text-align:center;font-size:13px;color:var(--muted);margin:18px 0}.game-rematch{display:block;width:100%;margin-top:24px}.game-waiting{margin:24px 0}.game-waiting h2{font-size:19px;margin-bottom:20px}.game-waiting>div{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 0;border-bottom:1px solid var(--line);font-size:16px}.game-waiting>div>span{font-size:12px;color:var(--muted)}.game-waiting button{margin-top:20px}.chat-game-card{align-self:center;width:100%;max-width:330px;background:var(--subtle);padding:16px;border:1px solid var(--line);border-radius:18px}.chat-game-title{display:flex;align-items:center;gap:12px}.chat-game-title .game-art{width:48px;height:48px;border-radius:12px;font-size:23px}.chat-game-title>div{min-width:0}.chat-game-title strong{display:block;font-size:16px}.chat-game-title>div>span{display:block;font-size:11px;color:var(--muted);margin-top:5px}.messenger-dialog .chat-game-card p{margin:15px 0;font-size:13px;color:var(--ink);line-height:1.5}.chat-game-card>button{width:100%;font-size:14px}.large .game-tile-copy strong,.large .game-turn,.large .game-rules{font-size:21px}
@media(max-width:540px){.game-catalog{padding:0 12px;gap:10px}.game-tile{padding:15px 12px;flex-direction:column;align-items:flex-start;min-height:176px;gap:12px}.game-tile-copy strong{font-size:14px}.game-tile-copy>span{font-size:12px}.game-tile .game-art{width:58px;height:58px;font-size:27px}.game-back-row{margin:4px}.game-setup,.game-play{padding:20px 16px}.game-play-title{gap:10px}.game-play-title h1{font-size:19px}.game-play-title>.quiet{padding:8px}.connect-controls{gap:5px}.connect-board{gap:5px;padding:8px}.game-square{border-radius:8px}.memory-board .game-square{font-size:30px}.game-scoreboard strong{font-size:13px}.chat-game-card{max-width:100%}}
@media(prefers-color-scheme:dark){.game-art{background:#344b5e;color:#d8ecfa}.game-art.green{background:#344c3d;color:#dbefdf}.game-art.gold{background:#594934;color:#fbe7cb}.game-art.pink{background:#553d49;color:#f7dfeb}.ships-board .game-square{background:#344b5e;color:#d8ecfa}.ships-board .hit,.own-fleet .hit{background:#663e32;color:#f9d2c8}.own-fleet .ship{background:#344b5e;color:#d8ecfa}.player-two{color:#ffd399}}
.messenger{position:relative}.messenger-filters{overflow-x:auto;scrollbar-width:none;gap:4px}.messenger-filters button{flex-shrink:0;padding-inline:11px;font-size:12px}.new-group-button{display:flex;align-items:center;gap:12px;text-align:left;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:16px;font-size:16px;color:var(--blue)}.group-create-form{padding:0 18px 24px;overflow-y:auto;flex:1;min-height:0}.group-create-form h2{font-size:16px;margin:20px 0 10px}.group-create-form>.primary{width:100%}.group-members>h2{font-size:16px;padding:22px 16px 10px}.message-compose form{gap:6px}.message-compose .chat-tool-button{width:40px;min-width:40px;height:48px;padding:8px;border:0;background:transparent;color:var(--blue)}.message-compose .chat-tool-button .icon{width:24px;height:24px}.message-compose textarea{padding-inline:12px}.message-compose .grow{min-width:0}.chat-attachment-preview{display:flex;align-items:center;gap:12px;margin-bottom:10px;background:var(--subtle);border-radius:12px;padding:8px;font-size:12px}.chat-attachment-preview>img{width:48px;height:48px;object-fit:cover;border-radius:7px}.chat-attachment-preview>.grow{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.chat-attachment-preview>button{width:40px;min-height:40px;height:40px;background:transparent;border:0;color:var(--ink)}.message-author{display:block;font-size:11px;font-weight:700;margin-bottom:6px}.message-bubble.has-media{padding:6px 6px 7px;max-width:85%;width:270px}.message-bubble.has-media .message-author{padding:5px 7px 0}.chat-media{display:block;width:100%;max-height:260px;object-fit:contain;border-radius:12px;background:var(--canvas)}img.chat-media{cursor:zoom-in}.message-bubble.has-media p{padding:8px 7px 0}.message-bubble.has-media time{padding:0 7px}.chat-game-overlay{position:absolute;inset:0;z-index:8;background:#17263170;display:flex;align-items:flex-end;padding-top:40px}.chat-game-sheet{width:100%;max-height:100%;display:flex;flex-direction:column;min-height:0;background:var(--white);border-radius:22px 22px 0 0;box-shadow:0 -6px 25px #0002;padding-bottom:env(safe-area-inset-bottom)}.chat-game-sheet>header{display:flex;align-items:center;justify-content:space-between;padding:12px 18px;border-bottom:1px solid var(--line);flex-shrink:0}.chat-game-sheet h2{font-size:20px;margin:0}.chat-game-sheet>header>button{border:0;background:transparent;font-size:25px;min-width:48px}.overlay-game-list{overflow-y:auto;min-height:0;padding:8px 14px 16px}.overlay-game-row{display:flex;align-items:center;gap:12px;width:100%;text-align:left;border:0;border-radius:12px;background:transparent;padding:11px 4px}.overlay-game-row .game-art{width:47px;height:47px;font-size:23px;border-radius:12px}.overlay-game-row .grow{display:flex;flex-direction:column;gap:4px}.overlay-game-row strong{font-size:14px}.overlay-game-row .grow>span{font-size:11px;font-weight:400;color:var(--muted)}.chat-game-members{display:flex;gap:6px;flex-wrap:wrap;padding:14px 18px 8px;max-height:180px;overflow-y:auto;flex-shrink:0}.chat-game-members>span{font-size:12px;color:var(--muted);width:100%;margin-bottom:5px}.chat-game-members label{display:flex;gap:7px;align-items:center;font-size:13px;min-height:48px;padding:7px 10px;background:var(--subtle);border-radius:20px}.chat-game-members input{width:20px;height:20px;accent-color:var(--blue)}.messenger-dialog #chatGameError{font-size:12px;margin:10px 18px}.overlay-game-list>h3{font-size:18px;margin:14px 4px}.messenger-header>h1{font-size:24px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.large .group-create-form h2,.large .overlay-game-row strong{font-size:20px}
:root{--family-accent:#173f58}
.tool-family-switch{display:flex;gap:8px;overflow:auto;padding:4px 0 14px;scrollbar-width:none}.tool-family-switch button{white-space:nowrap;border-radius:12px;min-height:44px;background:#fff;border:1px solid #d6dde3;color:#173f58;padding:8px 14px}.tool-family-switch button[aria-pressed=true]{background:#173f58;color:white;border-color:#173f58}.family-targets{border:0;padding:0;margin:0 0 18px;display:flex;flex-wrap:wrap;gap:10px}.family-targets legend{font-size:14px;font-weight:650;margin-bottom:10px}.family-targets label{background:#f3f5f7;padding:10px;border-radius:10px;display:flex;align-items:center;gap:8px}.family-targets input,.family-notification input,.family-member-row input{width:20px;height:20px;accent-color:#173f58}.onboarding-open .bottom{display:none}.onboarding-open .top-actions{visibility:hidden}.onboarding{max-width:440px;margin:24px auto}.onboarding button{width:100%;margin-top:10px;min-height:48px}.onboarding .welcome-icon{font-size:48px;line-height:1;font-weight:800;background:#173f58;color:#fff;border-radius:18px}.onboarding .welcome-icon span{color:#81cbb1}.account-pane h2{margin-top:0;font-size:26px;line-height:1.2}.account-pane h3{margin:20px 0 10px}.account-pane button.primary{min-height:48px}.account-actions{display:grid;gap:12px;margin:22px 0}.account-state{font-size:14px;padding:12px;background:#f3f5f7;border-radius:10px}.account-identity{display:flex;flex-direction:column;gap:5px;margin-bottom:20px}.account-identity strong{font-size:21px}.account-identity span{color:#62707b}.family-settings-list{display:grid;margin:8px 0 20px;gap:8px}.family-settings-list button{display:grid;grid-template-columns:1fr auto;text-align:left;padding:16px;border:1px solid #e0e5e9;border-radius:12px;background:#fff}.family-settings-list button small{grid-column:1;color:#62707b;line-height:1.6}.family-settings-list button>span:last-child{grid-column:2;grid-row:1/3;align-self:center}.family-member-row{display:grid;gap:8px;padding:16px 0;border-bottom:1px solid #e6eaee}.family-member-row label,.family-notification{display:flex;align-items:center;gap:8px;min-height:44px;font-size:14px}.family-member-row button{justify-self:start}.invite-row{border:1px solid #e0e5e9;border-radius:12px;padding:14px;margin:16px 0;display:grid;gap:10px}.invite-row .row{display:flex;gap:10px}.invite-row input{font-size:13px;width:100%;min-width:0}.invite-family-mark{display:grid;place-items:center;width:68px;height:68px;margin:16px auto;border-radius:20px;background:#e5f0ec;color:#173f58;font-size:25px;font-weight:750}.intro-features{margin:20px 0}.intro-features p{margin:16px 0}.notification-row{display:flex;flex-direction:column;text-align:left;gap:6px;width:100%;padding:14px;margin-bottom:10px}.account-pane>button{margin:8px 6px 0 0}.account-pane input[type=file]{max-width:100%}.account-pane select{width:100%}.account-pane .field-wrap small{color:#62707b}.family-members{margin-bottom:20px}

.brand-symbol{display:block;position:relative;width:40px;height:40px;overflow:hidden;border-radius:10px;flex:none}.brand-symbol img{position:absolute;width:80px;height:80px;max-width:none;left:-20px;top:-13px}.welcome-logo{display:block;margin:0 auto 16px;border-radius:18px;max-width:100%;height:auto}.onboarding .welcome-logo{width:144px;height:144px}
