:root{color:#111;background:#fafafa;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-synthesis:none}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;margin:0;background:#fafafa}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:wait;opacity:.6}.page-shell{min-height:100vh}.landing,.flow,.room-placeholder{min-height:100vh;padding:24px}.landing{display:flex;flex-direction:column;justify-content:space-between;text-align:center}.landing-content{display:grid;width:min(100%,440px);margin:auto;gap:18px}h1,p{margin:0}h1{font-size:clamp(2rem,8vw,3.5rem);font-weight:650;letter-spacing:-.045em;line-height:1.1}.tagline,.step-intro p,.age-modal p,.room-placeholder p{color:#555;font-size:15px;line-height:1.5}.button{min-height:48px;padding:0 20px;border:1px solid #e5e5e5;border-radius:10px;font-size:17px;font-weight:600;transition:background-color .15s ease,border-color .15s ease,color .15s ease}.button-primary{border-color:#06f;background:#06f;color:#fff}.button-primary:hover:not(:disabled){background:#005ce6}.button-secondary{background:#fff;color:#111}.button-secondary:hover:not(:disabled){border-color:#bdbdbd}.join-area{min-height:30px}.text-link,.back-link{padding:4px;border:0;background:transparent;color:#06f;font-size:15px;text-decoration:none}.text-link:hover,.back-link:hover{text-decoration:underline}footer{color:#777;font-size:13px}.footer-welcome{margin-bottom:8px;color:#555;font-size:18px;line-height:1.4}.footer-links{margin-bottom:8px}.footer-links a{color:#06f;text-decoration:none}.footer-links button{padding:0;border:0;background:transparent;color:#06f;font-size:inherit}.footer-links a:hover,.footer-links button:hover{text-decoration:underline}footer span{padding:0 4px}.join-form,.step-form{display:grid;gap:10px;text-align:left}.join-form{margin-top:10px}label,legend{font-size:13px;font-weight:600}input[type=text]{width:100%;height:48px;padding:0 13px;border:1px solid #e5e5e5;border-radius:10px;outline:none;background:#fff;color:#111;font-size:17px;transition:border-color .15s ease}input[type=text]:focus{border-color:#06f}.form-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:16px}.compact-actions{margin-top:4px}.form-error{margin-top:4px;color:#bd2929;font-size:13px;line-height:1.4}.flow{width:min(100%,720px);margin:auto}.flow-header{display:flex;align-items:center;justify-content:space-between;min-height:42px}.flow-header p{color:#777;font-size:13px}.flow-content{width:min(100%,560px);margin:clamp(36px,10vh,96px) auto 0}.step-intro{display:grid;gap:8px;margin-bottom:28px}.step-intro h1{font-size:clamp(1.5rem,6vw,2rem)}.template-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.template-card{display:grid;min-height:104px;padding:16px;border:1px solid #e5e5e5;border-radius:12px;background:#fff;color:#111;font-size:15px;font-weight:600;text-align:left;transition:border-color .15s ease,background-color .15s ease}.template-card:hover,.template-card.selected{border-color:#06f;background:#f7faff}.template-icon{align-self:end;margin-bottom:8px;font-size:24px}.radio-list,.setting-group{display:grid;gap:8px;padding:0;border:0}.radio-list{gap:8px}.option-row{display:flex;align-items:center;min-height:48px;gap:12px;padding:0 14px;border:1px solid #e5e5e5;border-radius:10px;background:#fff;font-size:15px;font-weight:500}.option-row input{accent-color:#0066ff}.inline-input{display:flex;gap:8px}.icon-button{width:48px;flex:0 0 48px;border:1px solid #e5e5e5;border-radius:10px;background:#fff;color:#111;font-size:22px}.input-note{color:#777;font-size:13px}.setting-group{margin:0;padding:0 0 22px}.segmented-control{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;overflow:hidden;border:1px solid #e5e5e5;border-radius:10px;background:#fff}.segmented-control label{position:relative;min-width:0;border-right:1px solid #e5e5e5;color:#555;cursor:pointer;font-size:13px;text-align:center}.segmented-control label:last-child{border-right:0}.segmented-control input{position:absolute;opacity:0}.segmented-control span{display:grid;min-height:44px;place-items:center;padding:0 6px}.segmented-control input:checked+span{background:#06f;color:#fff}.modal-backdrop{position:fixed;z-index:10;inset:0;display:grid;place-items:center;padding:20px;background:#1113}.age-modal{display:grid;width:min(100%,380px);gap:18px;padding:28px;border:1px solid #e5e5e5;border-radius:14px;background:#fff}.age-modal h1{font-size:22px}.age-check{display:flex;align-items:center;gap:10px;font-size:15px;font-weight:500}.age-check input{width:16px;height:16px;accent-color:#0066ff}.room-placeholder{display:grid;place-items:center;text-align:center}.room-placeholder>div{display:grid;gap:12px}.room-placeholder h1{font-size:clamp(1.75rem,6vw,2.5rem)}.eyebrow{color:#06f!important;font-size:13px!important;font-weight:600;text-transform:uppercase;letter-spacing:.08em}code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:13px}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@media(min-width:640px){.landing,.flow,.room-placeholder{padding:40px}.template-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}.chat-page{width:min(100%,1120px);display:flex;height:100dvh;min-height:0;flex-direction:column;margin:auto;padding:16px}.chat-header,.room-details,.chat-layout{border:1px solid #e5e5e5;background:#fff}.chat-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px;border-radius:12px 12px 0 0}.room-title,.header-actions,.message-meta,.participant-row{display:flex;align-items:center}.room-title{min-width:0;gap:10px}.room-icon{font-size:24px}.room-title h1{overflow:hidden;font-size:17px;letter-spacing:-.02em;text-overflow:ellipsis;white-space:nowrap}.room-title p{margin-top:2px;color:#777;font-size:13px}.header-actions{gap:8px}.small-button,.upload-button,.participants-toggle,.participant-row button,.message-meta button,.overlay-close{border:0;background:transparent;color:#06f;font-size:13px}.small-button{min-height:34px;padding:0 8px}.is-hidden{display:none}.room-details{display:grid;gap:10px;padding:10px 14px;border-top:0}.health-badge{width:fit-content;padding:3px 8px;border:1px solid #e5e5e5;border-radius:999px;font-size:13px;font-weight:600}.health-excellent{color:#247047}.health-good{color:#536f93}.health-warning{color:#976b14}.health-restricted{color:#a03535}.summary{display:flex;flex-wrap:wrap;gap:4px 14px;color:#777;font-size:13px}.chat-layout{display:grid;min-height:0;flex:1;border-top:0;border-radius:0 0 12px 12px}.message-panel{display:grid;grid-template-rows:minmax(280px,1fr) auto auto;min-height:0}.message-list{min-height:0;overflow-y:auto;padding:18px}.message{max-width:620px;margin:0 0 18px}.message-system{max-width:none;margin:10px 0;color:#777;font-size:13px;text-align:center}.message-system p{display:inline;padding:4px 8px;border-radius:999px;background:#fafafa}.message-meta{gap:8px;margin-bottom:4px;color:#777;font-size:13px}.message-meta strong{color:#111}.message-meta button{padding:0}.message:not(.message-system)>p{line-height:1.45}.image-message{display:block;max-width:260px;padding:0;overflow:hidden;border:1px solid #e5e5e5;border-radius:10px;background:#fafafa}.image-message img{display:block;width:100%;max-height:260px;object-fit:cover}.empty-messages{color:#777;font-size:13px;text-align:center}.message-input{display:flex;align-items:flex-end;gap:8px;padding:10px;border-top:1px solid #e5e5e5}.image-file-input{display:none}.upload-button{width:38px;height:38px;flex:0 0 38px;border:1px solid #e5e5e5;border-radius:9px;color:#111;font-size:23px}.message-text-wrap{position:relative;flex:1}.message-text-wrap textarea{width:100%;min-height:42px;max-height:104px;padding:10px 48px 10px 12px;resize:vertical;border:1px solid #e5e5e5;border-radius:9px;outline:none;font-size:15px}.message-text-wrap textarea:focus{border-color:#06f}.character-count{position:absolute;right:10px;bottom:12px;color:#999;font-size:11px}.send-button{min-height:42px;padding:0 14px;font-size:15px}.chat-notice{min-height:20px;margin:0;padding:0 12px 8px;color:#777;font-size:13px}.participants-panel{order:-1;border-bottom:1px solid #e5e5e5}.participants-toggle{display:flex;width:100%;min-height:44px;align-items:center;justify-content:space-between;padding:0 14px;color:#111;font-weight:600}.participants-list{display:none;padding:0 14px 10px}.participants-panel.is-open .participants-list{display:grid}.participant-row{min-height:38px;gap:8px;border-top:1px solid #f0f0f0;font-size:13px}.participant-row span{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.participant-row button{padding:0}.chat-overlay{position:fixed;z-index:20;inset:0;display:grid;place-items:center;padding:20px;background:#11111159}.chat-overlay>img{max-width:min(100%,900px);max-height:90vh;border-radius:12px;background:#fff}.overlay-close{position:fixed;top:16px;right:20px;color:#fff;font-size:32px}.report-dialog,.room-join-card,.share-dialog{display:grid;width:min(100%,380px);gap:16px;padding:24px;border:1px solid #e5e5e5;border-radius:12px;background:#fff}.report-dialog h2,.room-join-card h1,.share-dialog h2{margin:0;font-size:22px;letter-spacing:-.025em}.report-dialog p{color:#555;font-size:15px;line-height:1.45}.share-dialog{text-align:center}.share-dialog code{display:block;overflow-wrap:anywhere;padding:12px;border:1px solid #e5e5e5;border-radius:9px;background:#fafafa;color:#111;font-size:15px}.share-dialog>p:not(.eyebrow){color:#555;font-size:15px;line-height:1.45}.chat-loading{display:grid;min-height:100vh;place-items:center;padding:24px;color:#555;text-align:center}.info-page{width:min(100%,720px);margin:auto;padding:28px 24px 64px;color:#222;font-size:15px;line-height:1.65}.info-page>.back-link{display:inline-block;margin-bottom:36px}.info-page h1{margin:0 0 32px;font-size:clamp(2rem,7vw,2.75rem)}.info-page h2{margin:42px 0 14px;font-size:22px;letter-spacing:-.02em;line-height:1.2}.info-page h3{margin:28px 0 8px;font-size:17px}.info-page p{margin:0 0 14px}.info-page ul{margin:0 0 16px;padding-left:22px}.contact-modal{position:relative;display:grid;width:min(100%,440px);gap:14px;padding:28px;border:1px solid #e5e5e5;border-radius:14px;background:#fff}.contact-modal h1{font-size:22px}.contact-modal p{color:#555;font-size:15px}.contact-modal textarea{width:100%;padding:12px;resize:vertical;border:1px solid #e5e5e5;border-radius:10px;outline:none;font-size:15px}.contact-modal textarea:focus{border-color:#06f}.contact-close{position:absolute;top:10px;right:14px;color:#555}@media(min-width:640px){.chat-page{padding:28px}}@media(min-width:860px){.chat-layout{grid-template-columns:minmax(0,1fr) 240px}.participants-panel{order:0;border-bottom:0;border-left:1px solid #e5e5e5}.participants-toggle{cursor:default}.participants-list,.participants-panel.is-open .participants-list{display:grid}}
