:root{--fg:#1c2331;--mu:#5d6a7b;--ic:#8c95a1;--ac:#306aa2;--bd:#e3e8ef;--bd-soft:#f1f3f7;--red:#b3261e;--rail:#e7e8e9;--selected:#eaeaec;--hover:#f0f1f3;--marked:#f4f4f5;--url-chip:#f0f5f8;--reaction:#f2f5f9;--code-bg:#f2f2f3;--code-fg:#aa2e26;--avatar-bg:#dde1e6;--s1:4px;--s2:8px;--s3:12px;--s4:16px;--s8:32px;--s12:48px;--drawer:min(85vw, 384px);--safe-t:env(safe-area-inset-top,0px);--safe-b:env(safe-area-inset-bottom,0px);--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light only}*{box-sizing:border-box}[hidden]{display:none!important}html,body{height:100%}body{color:var(--fg);font:14px/24px var(--font-noto), "Noto Sans JP", "Hiragino Sans", sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;height:100dvh;word-break:auto-phrase;overflow-wrap:anywhere;background:#fff;margin:0}button,input,textarea{font:inherit;color:inherit}button{cursor:pointer}:focus-visible{outline:2px solid var(--ac);outline-offset:2px}h1,h2,p{margin:0}svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:none;width:16px;height:16px;display:block}.visually-hidden{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.app{grid-template-columns:64px 288px minmax(0,1fr);height:100%;display:grid}.app.is-collapsed{grid-template-columns:64px minmax(0,1fr)}.app.is-collapsed>.channels{display:none}.rail{z-index:10;background:var(--rail);border-right:1px solid var(--bd);flex-direction:column;align-items:center;padding:14px 0;display:flex;position:relative}.rail-logo{width:32px;height:32px;color:var(--fg);place-items:center;margin-bottom:16px;display:grid}.rail-logo svg{stroke-width:1.75px;width:28px;height:28px}.rail-items{flex-direction:column;align-items:center;gap:11px;display:flex}.rail-item{width:63px;color:var(--fg);background:0 0;border:0;flex-direction:column;align-items:center;gap:3px;padding:0;font-size:11.5px;line-height:14px;display:flex}.rail-icon{border-radius:8px;place-items:center;width:32px;height:32px;display:grid;position:relative}.rail-icon svg{width:20px;height:20px}.rail-item:hover .rail-icon{background:#fff9}.rail-item[aria-current=page] .rail-icon{background:#fff}.rail-item[aria-current=page] .rail-name{font-weight:700}.unread-dot{background:var(--ac);border-radius:50%;width:6px;height:6px;position:absolute;top:-2px;right:-2px}.account{flex:none;position:relative}.account-button{height:32px;color:var(--mu);background:0 0;border:0;border-radius:16px;align-items:center;gap:4px;padding:0 4px 0 2px;display:flex}.account-button:hover,.account-button[aria-expanded=true]{background:var(--hover)}.account-button svg{width:14px;height:14px}.account-avatar{width:28px;height:28px;color:var(--fg);background:#d9e4ef;border-radius:50%;flex:none;place-items:center;font-size:13px;font-weight:700;line-height:1;display:grid}.account-avatar.is-large{width:40px;height:40px;font-size:16px}.account-menu{right:0;top:calc(100% + var(--s1));z-index:20;width:280px;padding:var(--s2);border:1px solid var(--bd);background:#fff;border-radius:8px;position:absolute;box-shadow:0 4px 16px #0000001f}.account-who{align-items:center;gap:var(--s3);padding:var(--s2);display:flex}.account-who div{min-width:0}.account-who b{display:block}.account-who div span{color:var(--mu);overflow-wrap:anywhere;font-size:13px;line-height:20px;display:block}.account-who div .account-role{white-space:nowrap;font-feature-settings:"palt";display:inline}.account-menu hr{border:0;border-top:1px solid var(--bd);margin:var(--s2) 0}.account-menu button{align-items:center;gap:var(--s2);width:100%;min-height:44px;padding:var(--s2);text-align:left;background:0 0;border:0;border-radius:6px;display:flex}.account-menu button svg{color:var(--ic)}.account-menu button:hover{background:var(--hover)}.account-menu .logout,.account-menu .logout svg{color:var(--red)}.channels{border-right:1px solid var(--bd);background:linear-gradient(#fff,#edeef1);flex-direction:column;min-height:0;display:flex}.channels-head{justify-content:flex-end;align-items:center;height:36px;padding:4px 12px 0;display:flex}.small-icon-button{width:24px;height:24px;color:var(--mu);background:0 0;border:0;border-radius:6px;place-items:center;padding:0;display:grid}.small-icon-button:hover{background:var(--hover);color:var(--fg)}.search-box{border:1px solid var(--bd);height:36px;color:var(--mu);background:#fff;border-radius:8px;align-items:center;gap:9px;margin:0 12px;padding:0 9px 0 11px;display:flex}.search-box:focus-within{outline:2px solid var(--ac);outline-offset:-1px}.search-box input{min-width:0;height:100%;color:var(--fg);background:0 0;border:0;outline:0;flex:1;padding:0}.search-box input::placeholder{color:var(--mu)}.channel-list{flex:1;min-height:0;padding:10px 8px 16px;overflow-y:auto}.menu-group{flex-direction:column;gap:1px;display:flex}.entry{text-align:left;width:100%;height:38px;color:var(--mu);background:0 0;border:0;border-radius:8px;align-items:center;gap:10px;padding:0 12px;display:flex}.entry svg{color:var(--ic)}.entry:hover{background:var(--hover)}.entry[aria-current=page]{background:var(--selected);color:var(--fg)}.entry[aria-current=page] svg{color:var(--fg)}.entry .entry-name{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;position:relative;top:-1px;overflow:hidden}.entry.has-unread .entry-name{color:var(--fg);font-weight:700}.count{background:var(--ac);color:#fff;text-align:center;border-radius:10px;flex:none;min-width:20px;padding:0 6px;font-size:12px;font-weight:700;line-height:20px}.list-divider{border:0;border-top:1px solid var(--bd);margin:8px 0 10px}.category{margin-top:6px}.list-divider+.category{margin-top:0}.category-toggle{text-align:left;width:100%;height:38px;color:var(--mu);background:0 0;border:0;border-radius:8px;justify-content:space-between;align-items:center;gap:10px;margin-bottom:2px;padding:0 12px 2px;display:flex}.category-toggle:hover{color:var(--fg)}.category-toggle svg{transition:transform .15s}.category-toggle[aria-expanded=false] svg{transform:rotate(-90deg)}.category-channels{flex-direction:column;gap:1px;padding-left:20px;display:flex}.category-channels .entry{padding-top:1px}.chat{flex-direction:column;min-width:0;min-height:0;display:flex}.chat-bar{border-bottom:1px solid var(--bd);flex:none;align-items:center;gap:8px;height:48px;padding:0 12px;display:flex}.chat-bar .bar-icon,.bar-title h1,.bar-desc,.chat-bar .members-button{transform:translateY(.5px)}.chat-bar .bar-icon{color:var(--mu);position:relative;top:-.5px}.bar-title{flex:1;align-items:baseline;gap:12px;min-width:0;display:flex}.bar-title h1{flex:none;font-size:16px;font-weight:700;line-height:24px;position:relative;top:.5px}.bar-title h1:focus{outline:0}.bar-title h1:focus-visible{outline:2px solid var(--ac)}.bar-desc{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--mu);font-size:12px;position:relative;top:.5px;overflow:hidden}.sync-status{color:var(--mu);white-space:nowrap;flex:none;margin-left:auto;font-size:12px}.chat-bar .expand-button{display:none}.app.is-collapsed .chat-bar .expand-button{display:grid}.icon-button{width:28px;height:28px;color:var(--mu);background:0 0;border:0;border-radius:6px;place-items:center;padding:0;display:inline-grid}.icon-button:hover{background:var(--hover);color:var(--fg)}.icon-button[aria-pressed=true]{color:var(--ac)}.icon-button[aria-pressed=true] svg{fill:currentColor}.notice-line{align-items:flex-start;gap:var(--s2);padding:var(--s2) var(--s4);border-bottom:1px solid var(--bd);color:var(--red);background:#fff;font-size:13px;line-height:20px;display:flex}.notice-line svg{margin-top:2px}.chat-body{min-height:0;padding:var(--s2) 0;flex:1;overflow-y:auto}.day-divider{align-items:center;gap:var(--s3);margin:var(--s2) var(--s4);color:var(--mu);font-size:12px;line-height:20px;display:flex}.day-divider:before,.day-divider:after{content:"";border-top:1px solid var(--bd);flex:1}.post{padding:8px 16px 8px 64px;transition:background-color .6s;position:relative}.post:hover{background:#fafbfc}.post.is-marked,.post.is-highlighted{background:var(--marked)}.post:focus{outline:0}.post>.avatar{position:absolute;top:10px;left:16px}.avatar{background:var(--avatar-bg);width:36px;height:36px;color:var(--fg);border-radius:8px;flex:none;place-items:center;font-size:14px;font-weight:700;display:grid}.avatar.is-self{background:#d9e4ef}.avatar.is-large{width:44px;height:44px;font-size:16px}.post-meta{flex-wrap:wrap;align-items:baseline;gap:0 8px;height:22px;line-height:22px;display:flex;position:relative;top:1px}.post-author{font-weight:700}.verified{color:var(--ac)}.verified svg{width:13px;height:13px}.verified .seal{fill:currentColor}.verified .tick{stroke:#fff}.kind-mark{background:var(--reaction);color:var(--mu);border-radius:4px;padding:0 4px;font-size:12px;line-height:16px}.post-time{color:var(--mu);margin-left:-1px;font-size:12px}.edited-mark{color:var(--mu);font-size:12px}.post-body p+p{margin-top:8px}.post-body strong{font-weight:700}.post-body.is-deleted{color:var(--mu)}.post-body a,.text-link{color:var(--ac);text-decoration:underline}.post-body .rule{position:relative;top:-1px}.inline-emoji{width:1em;display:inline-block}.code{border:1px solid var(--bd);background:var(--code-bg);color:var(--code-fg);border-radius:3px;padding:0 3px;font:12px/14px ui-monospace,SF Mono,Menlo,monospace}.post-body .code{vertical-align:top;margin:6px 0 4px;padding:0 2px;display:inline-block}.url-chip{background:var(--url-chip);max-width:100%;color:var(--ac);vertical-align:top;border-radius:10px;align-items:center;gap:4px;margin-top:2px;padding:0 4px;line-height:20px;display:inline-flex}.post-body .url-chip{text-decoration:none}.url-chip svg{width:14px;height:14px;position:relative;top:1px}.url-chip span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.reactions{flex-wrap:wrap;gap:4px;margin-top:4px;display:flex}.reaction{background:var(--reaction);height:20px;color:var(--mu);cursor:default;border:0;border-radius:10px;align-items:center;gap:5px;padding:0 8px 0 7px;font-size:13px;line-height:20px;display:inline-flex}.reaction .emoji{width:13.5px;font-size:13.5px;display:inline-block}.approval{margin-top:var(--s2)}.approval-buttons{gap:var(--s2);flex-wrap:wrap;display:flex}.approval-buttons button{min-height:36px;padding:0 var(--s4);border:1px solid var(--bd);color:var(--mu);cursor:default;background:#fff;border-radius:8px}.approval .text-link{align-items:center;gap:var(--s1);min-height:32px;margin-top:var(--s1);background:0 0;border:0;padding:0;font-size:13px;display:inline-flex}.approval .text-link svg{width:14px;height:14px}.post-actions{border:1px solid var(--bd);opacity:0;pointer-events:none;background:#fff;border-radius:8px;gap:2px;padding:2px;display:flex;position:absolute;top:4px;right:16px}.post:hover .post-actions,.post:focus-within .post-actions{opacity:1;pointer-events:auto}.skipped-line{align-items:center;gap:var(--s2);padding:var(--s1) var(--s4) var(--s1) 64px;color:var(--mu);font-size:13px;line-height:20px;display:flex}.skipped-line svg{stroke-width:1.5px;width:14px;height:14px}.empty{padding:var(--s12) var(--s4) var(--s12) 64px;color:var(--mu)}.list-heading{padding:0 var(--s4);color:var(--mu);font-size:13px}.result-list{margin:0;padding:0;list-style:none}.result-list li+li{border-top:1px solid var(--bd-soft)}.result-row{gap:var(--s3);width:100%;padding:var(--s3) var(--s4);text-align:left;background:0 0;border:0;grid-template-columns:36px minmax(0,1fr);display:grid}.result-row:hover{background:#fafbfc}.result-place{color:var(--mu);font-size:12px;line-height:20px;display:block}.result-text{-webkit-line-clamp:2;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.channels .result-list{margin-top:var(--s1)}.channels .result-row{padding:var(--s3) var(--s2)}.skeleton-row{gap:var(--s3);padding:var(--s2) var(--s4);grid-template-columns:36px minmax(0,1fr);display:grid}.skeleton-lines{gap:var(--s2);padding-top:var(--s1);display:grid}.bone{background:linear-gradient(90deg,#eceef1 25%,#f6f7f9 50%,#eceef1 75%) 0 0/200% 100%;border-radius:6px;height:12px;animation:1.2s linear infinite shimmer}.bone.is-avatar{border-radius:8px;width:36px;height:36px}@keyframes shimmer{0%{background-position:200% 0}to{background-position:-200% 0}}.chat-bar .members-button{margin-top:-2px}.chat-foot{flex:none;padding:12px}.foot-note{border:1px solid var(--bd-soft);color:var(--mu);border-radius:10px;padding:13px 12px;font-size:12px;line-height:18px}.composer{align-items:flex-end;gap:var(--s2);padding:var(--s2);border:1px solid var(--bd);border-radius:10px;display:flex}.composer:focus-within{outline:2px solid var(--ac);outline-offset:-1px}.composer textarea{min-width:0;min-height:56px;padding:var(--s1) 6px;resize:vertical;background:0 0;border:0;outline:0;flex:1}.composer textarea::placeholder{color:var(--mu)}.send-button{min-height:36px;padding:0 var(--s4);background:var(--ac);color:#fff;border:0;border-radius:8px;font-weight:700}.send-button:disabled{color:#5f6b7a;cursor:default;background:#e3e6ea}.toast{left:50%;bottom:var(--s12);z-index:30;padding:var(--s2) var(--s4);background:var(--fg);color:#fff;border-radius:8px;font-size:14px;position:fixed;transform:translate(-50%)}.scrim,.settings-divider,.settings-entry,.members-count{display:none}.settings-divider{margin:12px 0 9px}.settings-entry .entry-name{top:0}.settings-entry svg:last-child{width:14px;height:14px}@media (max-width:767px){body{padding-top:var(--safe-t);background:#f8f9fb}.chat{background:#fff}.app,.app.is-collapsed{grid-template-columns:minmax(0,1fr)}.app>.rail,.app>.channels,.app.is-collapsed>.channels{top:var(--safe-t);transition:transform .25s,visibility;position:fixed;bottom:0}.app>.rail{z-index:22;width:64px;padding-bottom:calc(14px + var(--safe-b));left:0}.app>.channels,.app.is-collapsed>.channels{z-index:21;width:calc(var(--drawer) - 64px);display:flex;left:64px}.channel-list{padding-bottom:calc(16px + var(--safe-b))}.settings-divider{display:block}.settings-entry{display:flex}.scrim{top:var(--safe-t);z-index:20;width:100%;height:calc(100% - var(--safe-t));-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#0000004d;border:0;padding:0;transition:opacity .25s,visibility;display:block;position:fixed;left:0}.app.is-reading>.rail,.app.is-reading>.channels{transform:translateX(calc(-1 * var(--drawer)));visibility:hidden;transition:transform .25s,visibility 0s .25s}.app.is-reading>.scrim{opacity:0;visibility:hidden;transition:opacity .25s,visibility 0s .25s}.chat-bar{gap:4px;padding:0 12px 0 4px}.chat-bar .members-button{align-items:center;gap:6px;width:auto;height:44px;padding:0 12px;display:inline-flex}.members-count{font-size:12px;line-height:16px;display:inline}.chat-bar .expand-button{width:44px;height:44px;display:grid}.chat-bar .bar-icon{margin-right:4px}.bar-title{flex-direction:column;align-items:stretch;gap:0}.bar-title h1{text-overflow:ellipsis;white-space:nowrap;flex:none;min-width:0;line-height:20px;overflow:hidden}.sync-status{margin-left:0;line-height:16px}.bar-desc{display:none}.post{padding:8px 12px 8px 56px}.post>.avatar{width:32px;height:32px;left:12px}.post-meta{height:auto;min-height:22px;padding-right:96px}.result-row .post-meta{padding-right:0}.post-actions{opacity:1;pointer-events:auto;background:0 0;border:0;top:2px;right:8px}.post-actions .icon-button{width:44px;height:44px}.skipped-line,.empty{padding-left:56px}.day-divider{margin:var(--s2) var(--s3)}.result-row{padding:var(--s3)}.chat-foot{padding:8px 12px calc(12px + var(--safe-b))}.account-button{height:44px}.account-menu{width:min(280px,100vw - 24px)}.toast{width:calc(100% - var(--s8));text-align:center}}.attachments{gap:var(--s1);margin-top:var(--s1);flex-wrap:wrap;display:flex}.attachment{align-items:center;gap:var(--s1);max-width:100%;padding:0 var(--s2);border:1px solid var(--bd);color:var(--mu);border-radius:8px;font-size:13px;line-height:28px;display:inline-flex}.attachment svg{width:14px;height:14px}.attachment-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--fg);overflow:hidden}.post-edit{margin-top:var(--s1)}.post-edit .composer{flex-direction:column;align-items:stretch}.edit-actions{justify-content:flex-end;gap:var(--s2);display:flex}.plain-button{min-height:36px;padding:0 var(--s4);border:1px solid var(--bd);color:var(--fg);background:#fff;border-radius:8px}.plain-button:hover{background:var(--hover)}.dialog-backdrop{z-index:40;padding:var(--s4);background:#0000004d;place-items:center;display:grid;position:fixed;inset:0}.dialog{background:#fff;border-radius:10px;width:min(400px,100%);padding:24px;box-shadow:0 4px 16px #0000001f}.dialog h2{font-size:16px;font-weight:700;line-height:24px}.dialog p{margin-top:var(--s2);color:var(--mu)}.dialog-actions{justify-content:flex-end;gap:var(--s2);margin-top:24px;display:flex}.danger-button{min-height:36px;padding:0 var(--s4);background:var(--red);color:#fff;border:0;border-radius:8px;font-weight:700}.login{min-height:100%;padding:24px var(--s4);background:#fff;justify-content:center;align-items:center;display:flex}.login-box{gap:var(--s4);border:1px solid var(--bd);border-radius:10px;flex-direction:column;width:100%;max-width:360px;padding:32px 24px;display:flex}.login-box h1{font-size:20px;line-height:28px}.login-note{color:var(--mu)}.login-error{color:var(--red)}.btn{justify-content:center;align-items:center;gap:var(--s2);width:100%;min-height:44px;padding:var(--s2) var(--s4);border:1px solid var(--bd);color:var(--fg);background:#fff;border-radius:8px;display:inline-flex}.btn svg{stroke:none;width:18px;height:18px}.btn:hover{background:var(--hover)}.btn-dev{color:var(--mu)}.push-section{margin-top:var(--s4)}.dialog .push-note{margin-top:0}.push-switch-row{justify-content:space-between;align-items:center;gap:var(--s3);min-height:44px;display:flex}.push-switch{align-items:center;gap:var(--s2);min-height:44px;margin-right:calc(-1 * var(--s2));padding:0 var(--s2);color:var(--fg);background:0 0;border:0;border-radius:8px;display:inline-flex}.push-switch:hover{background:var(--hover)}.push-switch:disabled{opacity:.6}.push-switch-track{background:var(--ic);border-radius:10px;width:36px;height:20px;transition:background .15s;position:relative}.push-switch-thumb{background:#fff;border-radius:50%;width:16px;height:16px;transition:transform .15s;position:absolute;top:2px;left:2px}.push-switch[aria-checked=true] .push-switch-track{background:var(--ac)}.push-switch[aria-checked=true] .push-switch-thumb{transform:translate(16px)}.push-switch-text{min-width:1em}.push-scope{border:0;margin-left:0;margin-right:0;padding:0}.push-scope legend{margin-bottom:var(--s1);padding:0;font-weight:700}.push-radio{align-items:center;gap:var(--s2);min-height:44px;margin:0 calc(-1 * var(--s2));padding:0 var(--s2);cursor:pointer;border-radius:8px;display:flex}.push-radio:has(.push-radio-desc){padding-top:var(--s2);padding-bottom:var(--s2);align-items:flex-start}.push-radio:has(.push-radio-desc) input{margin-top:4px}.push-radio-text{flex-direction:column;min-width:0;display:flex}.push-radio-desc{color:var(--mu);word-break:auto-phrase;font-size:12px;line-height:18px}.push-radio:hover{background:var(--hover)}.push-radio input{width:16px;height:16px;accent-color:var(--ac);margin:0}.dialog .push-message{margin-top:var(--s3);color:var(--red)}
