:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans JP",sans-serif;color:#263b33;background:#f8faf7;font-synthesis:none;--green:#245b48;--light:#eaf1eb;--line:#dce5dc;--muted:#68786e;--red:#b64735}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.55}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #c9973c;outline-offset:3px}button{border:0}a{color:inherit}.brand{display:flex;align-items:center;gap:13px;white-space:nowrap}.brand-name{font-size:22px;letter-spacing:.22em;font-weight:500}.brand small{border-left:1px solid #c4d0c5;padding-left:14px;font-size:12px;letter-spacing:.08em;color:var(--muted)}.brand-icon{width:30px;height:30px;stroke:var(--green);fill:none;stroke-width:1.4}.page-nav{max-width:1260px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:35px 44px}.nav-note{font-size:14px;color:var(--muted)}.home{max-width:1160px;margin:45px auto 0;padding:0 44px}.hero{display:grid;grid-template-columns:1fr 420px;gap:90px;align-items:center}.eyebrow{text-transform:uppercase;font-size:12px;letter-spacing:.18em;font-weight:600;color:var(--green);display:flex;align-items:center;gap:9px}.eyebrow:before{content:'';display:block;width:26px;height:1px;background:var(--green)}h1{font-family:Georgia,"Noto Serif JP",serif;font-size:clamp(44px,4.6vw,64px);line-height:1.12;font-weight:400;letter-spacing:-.035em;margin:23px 0}h1 em{color:var(--green);font-style:italic}.intro{font-size:17px;line-height:1.8;color:var(--muted);max-width:450px}.ja-intro{font-size:15px;letter-spacing:.06em;margin:18px 0 32px}.language-line{display:flex;gap:10px;align-items:center;font-size:14px;color:var(--muted)}.language-line span{border:1px solid var(--line);border-radius:30px;padding:8px 13px;background:#fff}.join-card{background:#fff;border:1px solid var(--line);border-radius:24px;padding:28px;box-shadow:0 15px 50px #29452c07}.tabs{display:flex;background:#f1f4ef;border-radius:12px;padding:4px;margin-bottom:28px}.tabs button{flex:1;border-radius:9px;background:transparent;color:var(--muted);padding:12px 0;font-size:14px;font-weight:600}.tabs button.selected{background:white;color:var(--green);box-shadow:0 2px 5px #00000009}label{display:block;font-size:14px;font-weight:500;margin-bottom:8px}.field{margin-bottom:18px}input,select{width:100%;background:white;border:1px solid #ced9ce;border-radius:10px;color:#263b33;padding:12px 14px;min-height:48px}input::placeholder{color:#8b968d}select{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%2368786e'%3E%3Cpath d='m6 8 4 4 4-4'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 12px center;padding-right:36px}.primary{background:var(--green);color:#fff;padding:14px 20px;border-radius:12px;font-weight:600;min-height:50px;width:100%;transition:background .2s}.primary:hover{background:#183f32}.secondary{border:1px solid var(--line);background:#fff;border-radius:10px;padding:11px 16px;color:#355142}.form-foot{font-size:12px;line-height:1.6;text-align:center;color:var(--muted);margin:16px 0 0}.sample-link{display:block;margin:18px auto 0;background:transparent;text-decoration:underline;text-underline-offset:4px;color:var(--green);font-size:14px}.steps{display:grid;grid-template-columns:repeat(3,1fr);margin-top:70px;padding-top:28px;border-top:1px solid var(--line);gap:40px}.step-icon{display:flex;align-items:center;gap:11px;font-size:15px;font-weight:600}.step-icon svg{width:20px;height:20px;stroke:var(--green);fill:none;stroke-width:1.6}.steps p{font-size:14px;color:var(--muted);line-height:1.7;margin:10px 0 0}.home-footer{margin:40px 0 24px;font-size:12px;color:var(--muted);display:flex;justify-content:space-between}.error{color:var(--red);background:#fff1ed;border-radius:10px;padding:12px;font-size:14px;line-height:1.6;margin:12px 0}.notice{font-size:13px;line-height:1.6;background:#f2f5ee;padding:12px;border-radius:10px;color:#546947;margin-bottom:18px}.room-shell{height:100dvh;display:grid;grid-template-columns:270px 1fr}.sidebar{padding:30px 24px;border-right:1px solid var(--line);display:flex;flex-direction:column;background:#f1f5ef}.sidebar .brand{margin-bottom:45px}.sidebar .brand small{display:none}.room-label{font-size:11px;letter-spacing:.14em;color:var(--muted);margin-bottom:10px}.sidebar h2{font:400 25px/1.3 Georgia,serif;margin:0 0 12px;overflow-wrap:anywhere}.room-code{font-size:13px;color:var(--muted);letter-spacing:.1em}.invite-btn{width:100%;margin:24px 0 35px;display:flex;gap:10px;align-items:center;justify-content:center}.invite-btn svg{width:17px;height:17px}.people-head{display:flex;justify-content:space-between;font-size:12px;letter-spacing:.08em;color:var(--muted);margin-bottom:20px}.person{display:flex;gap:11px;align-items:center;margin-bottom:16px}.avatar{width:34px;height:34px;display:grid;place-items:center;flex:none;border-radius:50%;background:#dfe8dc;color:#3d5846;font-size:13px;font-weight:600}.person-name{font-size:14px}.person-sub{font-size:12px;color:var(--muted);margin-top:4px}.side-bottom{margin-top:auto;font-size:12px;line-height:1.7;color:var(--muted)}.text-btn{border:0;background:transparent;color:var(--muted);font-size:13px;padding:7px 0;text-decoration:underline;text-underline-offset:3px}.side-bottom .text-btn{display:block}.conversation{display:flex;flex-direction:column;min-width:0;min-height:0;background:#fff}.room-top{border-bottom:1px solid var(--line);padding:20px 40px;display:flex;justify-content:space-between;align-items:center;gap:16px}.room-top h2{font-size:17px;font-weight:500;margin:0}.connection{display:flex;align-items:center;gap:6px;font-size:12px;color:var(--muted);margin-top:7px}.connection::before{content:'';width:6px;height:6px;border-radius:50%;background:#4a8760}.connection.offline::before{background:#ba6c38}.read-control{display:flex;align-items:center;gap:10px;font-size:13px;color:var(--muted)}.read-control select{width:135px;min-height:38px;padding:7px 30px 7px 12px;font-size:14px}.mobile-invite{display:none}.feed{flex:1;overflow-y:auto;padding:28px 40px 24px;scroll-behavior:smooth}.feed-inner{max-width:780px;margin:auto}.date-marker{text-align:center;font-size:12px;color:#8a948d;margin:0 0 27px}.message{display:flex;gap:13px;margin:0 0 28px}.message .avatar{width:32px;height:32px;margin-top:1px}.message-main{max-width:670px;min-width:0;flex:1}.message-meta{display:flex;gap:9px;align-items:baseline;margin-bottom:9px;font-size:13px;color:#596d60}.message-meta strong{font-weight:600}.message-meta time{font-size:11px;color:#909a93}.message-text{padding:17px 21px;border-radius:0 16px 16px 16px;background:#f3f6f0;font-size:19px;line-height:1.75;overflow-wrap:anywhere;white-space:pre-wrap}.message.mine .message-text{background:#eaf2eb}.message-original{font-size:14px;line-height:1.7;color:#758075;margin-top:10px;padding:0 3px;white-space:pre-wrap}.message-status{font-size:11px;color:#768674;margin-top:7px;display:flex;gap:8px}.draft .message-text{color:#657c67}.draft .message-status{color:#817033}.empty{text-align:center;max-width:400px;margin:12vh auto 0;color:var(--muted)}.empty .rings{margin:auto auto 25px;border:1px solid #d4e1d1;border-radius:50%;width:68px;height:68px;display:grid;place-items:center}.empty .rings svg{width:30px;height:30px;stroke:#729374;fill:none;stroke-width:1.2}.empty h3{font:400 27px Georgia,serif;color:#345342}.empty p{font-size:15px;line-height:1.8}.composer{border-top:1px solid var(--line);background:#fff;padding:18px 36px max(20px,env(safe-area-inset-bottom));}.composer-inner{max-width:780px;margin:auto}.speaking-line{text-align:center;min-height:20px;font-size:13px;color:var(--muted);margin-bottom:12px}.mic-row{display:flex;align-items:center;justify-content:center;gap:15px}.speak-language{width:150px;font-size:14px;min-height:52px}.mic{background:var(--green);color:white;border-radius:30px;min-height:54px;min-width:260px;display:flex;align-items:center;justify-content:center;gap:10px;font-size:16px;font-weight:500;box-shadow:0 4px 12px #204d4217}.mic svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8}.mic.active{background:#a84033}.mic-hint{text-align:center;font-size:12px;color:#8a958c;margin:12px 0 0}.meter{width:56px;display:flex;align-items:center;justify-content:center;gap:3px;height:18px}.meter i{display:block;width:3px;background:currentColor;border-radius:3px;height:6px;transition:height .1s}.typed{display:flex;gap:8px;margin:12px 0 4px}.typed input{min-height:42px;font-size:14px}.typed button{white-space:nowrap}.inline-alert{background:#fff7e9;border-bottom:1px solid #eee0c8;padding:10px 25px;font-size:13px;line-height:1.5;color:#7c673b}.dialog-backdrop{position:fixed;inset:0;background:#102c2466;backdrop-filter:blur(3px);display:grid;place-items:center;padding:20px;z-index:10}.dialog{background:#fff;border-radius:24px;padding:30px;max-width:420px;width:100%;box-shadow:0 20px 70px #0002;position:relative}.dialog h2{font:400 28px Georgia,serif;margin:5px 0 13px}.dialog p{font-size:14px;color:var(--muted);line-height:1.7}.dialog .close{position:absolute;right:16px;top:14px;background:#f1f5ef;border-radius:50%;width:30px;height:30px;font-size:20px;color:#697e6d}.qr{display:block;width:215px;height:215px;margin:20px auto}.share-code{text-align:center;font-size:25px;letter-spacing:.14em;margin:8px 0 22px}.share-actions{display:flex;gap:10px}.share-actions button{flex:1}.host-options{border-top:1px solid var(--line);margin-top:24px;padding-top:18px;display:flex;justify-content:space-between;gap:15px}.host-options button{font-size:13px}.danger{color:var(--red)}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#213e33;color:#fff;padding:13px 20px;border-radius:12px;font-size:14px;max-width:90vw;z-index:30;display:none}#toast.show{display:block}.new-messages{display:none;position:absolute;bottom:175px;align-self:center;border:1px solid var(--line);border-radius:20px;background:white;padding:9px 17px;font-size:13px;color:var(--green);box-shadow:0 3px 10px #0001}.new-messages.visible{display:block}
@media(min-width:1400px){.home{margin-top:80px}.hero{gap:130px}.steps{margin-top:90px}}
@media(max-width:900px){.hero{gap:35px;grid-template-columns:1fr 365px}.home{padding:0 28px}.page-nav{padding:25px 28px}.room-shell{grid-template-columns:220px 1fr}.sidebar{padding:25px 18px}.room-top{padding:20px 24px}.feed{padding:25px 24px}.composer{padding-left:20px;padding-right:20px}.mic{min-width:200px}}
@media(max-width:700px){.nav-note{display:none}.page-nav{padding:24px}.brand-name{font-size:20px}.brand small{font-size:11px}.home{margin-top:25px;padding:0 24px}.hero{grid-template-columns:1fr;gap:30px}h1{font-size:46px;margin:18px 0}.intro{font-size:16px}.ja-intro{font-size:13px;margin:14px 0 22px}.language-line{display:none}.join-card{padding:23px}.steps{grid-template-columns:1fr;gap:20px;margin-top:35px;padding-top:25px}.steps p{margin-left:31px;margin-top:4px}.home-footer{display:block;line-height:1.9}.home-footer span{display:block}.room-shell{display:flex}.sidebar{display:none}.conversation{width:100%}.room-top{padding:17px 18px;gap:10px}.room-top h2{font-size:16px}.read-control{gap:6px}.read-control>span{display:none}.read-control select{width:108px;font-size:13px}.mobile-invite{display:block;width:auto;margin:0;background:#edf3e9;border-radius:9px;padding:9px;color:#355442}.mobile-invite svg{width:20px;height:20px;display:block}.feed{padding:24px 17px 16px}.message{gap:9px;margin-bottom:24px}.message .avatar{width:27px;height:27px;font-size:11px}.message-text{font-size:18px;padding:14px 16px}.message-original{font-size:13px}.composer{padding:15px 17px max(18px,env(safe-area-inset-bottom))}.mic-row{gap:9px}.speak-language{width:112px;font-size:13px;min-height:50px;padding-left:10px}.mic{min-width:0;flex:1;font-size:15px;min-height:52px}.mic-hint{font-size:11px}.speaking-line{font-size:12px}.empty{margin-top:12vh}.dialog{padding:25px}.inline-alert{padding:10px 17px;font-size:12px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
