.display-name{display:inline}.display-name img.display-name-emoji{object-fit:contain;vertical-align:-.2em;border-radius:0;width:auto;max-width:3em;height:1.2em;margin:0 .05em;display:inline-block}.public-rooms-page{background:#eef1f5;min-height:100dvh;padding:24px}.public-rooms-card{background:#fff;border-radius:16px;width:100%;max-width:900px;margin:0 auto;padding:24px;box-shadow:0 3px 20px #0000001f}.public-rooms-header{justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:20px;display:flex}.public-rooms-header h1{margin:0;font-size:24px}.public-rooms-header p{color:#777;margin:5px 0 0;font-size:14px}.public-rooms-header>a{color:#444;border:1px solid #aaa;border-radius:8px;flex-shrink:0;padding:7px 12px;text-decoration:none}.public-rooms-message{color:#777;text-align:center;background:#f5f6f8;border-radius:10px;padding:50px 20px}.public-rooms-message.error{color:#9e0000}.public-room-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.public-room-tile{min-width:0;color:inherit;background:#f7f8fa;border:2px solid #0000;border-radius:12px;text-decoration:none;overflow:hidden;box-shadow:0 1px 6px #00000021}.public-room-tile:hover{border-color:#7189dc}.public-room-thumbnail{aspect-ratio:2;background:#eef1f5;position:relative;overflow:hidden}.public-room-thumbnail>img{z-index:1;object-fit:contain;background:#fff;width:100%;height:100%;position:relative}.public-room-placeholder{color:#9aa1ad;place-items:center;font-size:42px;display:grid;position:absolute;inset:0}.public-room-count,.public-room-mode{z-index:2;color:#fff;background:#1e232dbd;border-radius:999px;padding:2px 7px;font-size:11px;position:absolute;top:7px}.public-room-count{right:7px}.public-room-mode{left:7px}.public-room-owner{align-items:center;gap:9px;min-width:0;padding:10px 11px 4px;display:flex}.public-room-owner>img,.public-room-avatar-placeholder{object-fit:cover;border-radius:50%;flex:0 0 34px;width:34px;height:34px}.public-room-avatar-placeholder{color:#fff;background:#c8ccd3;place-items:center;display:grid}.public-room-owner>div{min-width:0}.public-room-owner strong,.public-room-owner small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.public-room-owner strong{font-size:14px}.public-room-owner small{color:#7b8088;font-size:11px}.public-room-tile>p{color:#555;text-overflow:ellipsis;white-space:nowrap;margin:5px 11px 11px;font-size:12px;overflow:hidden}.public-rooms-footer{text-align:center;margin-top:22px;font-size:13px}@media (width<=600px){.public-rooms-page{background:#fff;padding:0}.public-rooms-card{min-height:100dvh;box-shadow:none;border-radius:0;padding:18px 12px}.public-rooms-header h1{font-size:20px}.public-room-grid{gap:8px}.public-room-owner{gap:6px;padding:7px 7px 3px}.public-room-owner>img,.public-room-avatar-placeholder{flex-basis:28px;width:28px;height:28px}.public-room-tile>p{margin:4px 7px 8px;font-size:10px}.public-room-count,.public-room-mode{font-size:9px;top:4px}.public-room-count{right:4px}.public-room-mode{left:4px}}.mfm-custom-emoji{vertical-align:-.28em;object-fit:contain;width:1.35em;height:1.35em;margin:0 .08em;display:inline-block}.mfm-unicode-emoji{font-family:Apple Color Emoji,Segoe UI Emoji,Noto Color Emoji,sans-serif}.mfm-center{text-align:center}.mfm-quote{color:#555;border-left:3px solid #c8d0da;margin:5px 0;padding:3px 0 3px 9px}.mfm-inline-code,.mfm-math-inline{background:#eef1f4;border-radius:3px;padding:1px 3px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.92em}.mfm-block-code,.mfm-math-block{white-space:pre-wrap;background:#eef1f4;border-radius:5px;max-width:100%;margin:5px 0;padding:6px 7px;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.9em;overflow-x:auto}.mfm-search{background:#eef3fb;border-radius:4px;padding:1px 4px;display:inline-block}.mfm-fn{transform-origin:50%;max-width:100%;display:inline-block}.mfm-fn-tada{animation:1s linear infinite both mfm-tada}.mfm-fn-jelly{animation:1s linear infinite both mfm-jelly}.mfm-fn-shake{animation:.5s ease-in-out infinite mfm-shake}.mfm-fn-spin{animation:1.5s linear infinite mfm-spin}.mfm-fn-jump,.mfm-fn-bounce{animation:.75s ease-in-out infinite mfm-jump}.mfm-fn-rainbow{animation:2s linear infinite mfm-rainbow}@keyframes mfm-tada{0%,to{transform:scale(1)rotate(0)}10%,20%{transform:scale(.9)rotate(-3deg)}30%,50%,70%,90%{transform:scale(1.08)rotate(3deg)}40%,60%,80%{transform:scale(1.08)rotate(-3deg)}}@keyframes mfm-jelly{0%,to{transform:scale(1)}25%{transform:scale(1.15,.85)}50%{transform:scale(.9,1.1)}75%{transform:scale(1.05,.95)}}@keyframes mfm-shake{0%,to{transform:translate(0)}25%{transform:translate(-2px)}75%{transform:translate(2px)}}@keyframes mfm-spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes mfm-jump{0%,to{transform:translateY(0)}50%{transform:translateY(-.35em)}}@keyframes mfm-rainbow{0%{filter:hue-rotate()}to{filter:hue-rotate(360deg)}}.notice-panel{margin:8px 0 16px}.notice-latest{text-align:left;color:#17537a;cursor:pointer;width:100%;font:inherit;background:#edf7fc;border:1px solid #b6d7e8;border-radius:8px;align-items:baseline;gap:6px;padding:10px 12px;display:flex}.notice-latest>span:last-child{overflow-wrap:anywhere;min-width:0}.notice-new{color:#b33721;white-space:nowrap;flex-shrink:0;font-size:.8em;font-weight:700;animation:2s ease-in-out infinite notice-blink;display:inline-block}@keyframes notice-blink{0%,to{opacity:1}50%{opacity:.3}}@media (prefers-reduced-motion:reduce){.notice-new,.notice-body .mfm-fn{animation:none}}.notice-dialog{box-sizing:border-box;color:#223246;text-align:left;background:#fff;border:1px solid #b9c7dc;border-radius:12px;width:min(600px,100vw - 32px);max-height:calc(100dvh - 32px);padding:20px;overflow-y:auto}.notice-dialog::backdrop{background:#00000073}.notice-header{align-items:flex-start;gap:12px;display:flex}.notice-header h3{overflow-wrap:anywhere;flex:1;min-width:0;margin:0 0 16px}.notice-dialog button{cursor:pointer;font:inherit}.notice-header button,.notice-history-toggle{color:#244b77;background:#f3f7fb;border:1px solid #b9c7dc;border-radius:6px;min-height:36px;padding:5px 10px}.notice-header button{flex-shrink:0}.notice-body{white-space:pre-wrap;overflow-wrap:anywhere;margin-top:16px;line-height:1.7}.notice-body a{color:#1764a0;text-decoration:underline}.notice-body .mfm-custom-emoji{vertical-align:middle;width:1.5em;height:1.5em}.notice-body pre{white-space:pre-wrap;overflow-wrap:anywhere;max-width:100%}.notice-error{color:#a33325;font-size:.9em}.notice-history{padding:0;list-style:none}.notice-history li+li{border-top:1px solid #dde5ed}.notice-history button{text-align:left;color:#244b77;overflow-wrap:anywhere;background:0 0;border:0;flex-direction:column;gap:5px;width:100%;padding:12px 4px;display:flex}.notice-history time{color:#596779;font-size:.8em}.help-report-dialog{box-sizing:border-box;color:#263448;background:#fff;border:1px solid #bbc6d5;border-radius:12px;width:min(440px,100vw - 24px);max-height:calc(100dvh - 24px);padding:16px;overflow:auto;box-shadow:0 12px 40px #0003}.help-report-dialog::backdrop{background:#0006}.help-report-heading{justify-content:space-between;align-items:center;margin-bottom:12px;display:flex}.help-report-heading button{cursor:pointer;background:#eef2f7;border:0;border-radius:6px;min-width:40px;min-height:40px;font-size:24px}.help-report-guide{color:#315fc4;border:1px solid #bbc6d5;border-radius:6px;justify-content:space-between;padding:12px;text-decoration:none;display:flex}.help-report-label{border-top:1px solid #ccd3dc;margin:18px 0 10px;padding-top:14px;font-weight:700;display:block}.help-report-dialog textarea{box-sizing:border-box;width:100%;min-height:150px;font:inherit;resize:vertical;border:1px solid #aab6c7;border-radius:6px;padding:10px;font-size:16px;display:block}.help-report-submit{justify-content:flex-end;margin-top:12px;display:flex}.help-report-submit button{color:#fff;cursor:pointer;background:#315fc4;border:0;border-radius:6px;min-width:80px;min-height:44px;padding:8px 18px}.help-report-submit button:disabled{opacity:.5;cursor:default}.help-report-error{color:#b32323;overflow-wrap:anywhere;font-size:14px}.help-report-notice{color:#265b36;font-size:14px}.menu-page{justify-content:center;align-items:center;min-height:100dvh;padding:20px;display:flex}.menu-card{background:#fff;border-radius:16px;width:100%;max-width:460px;padding:20px 28px;box-shadow:0 3px 20px #0000001f}.menu-card h2{text-align:center}.login-user{border-bottom:1px solid #eee;align-items:center;gap:10px;padding-bottom:10px;display:flex}.menu-back-button{cursor:pointer;background:0 0;border:0;flex-shrink:0;width:55px;height:55px;padding:0;font-size:28px}.login-avatar{object-fit:cover;border-radius:50%;flex-shrink:0;width:36px;min-width:36px;max-width:36px;height:36px;min-height:36px;max-height:36px}.login-name{font-size:17px;font-weight:700}.login-username{color:#888;font-size:13px}.menu-button{text-align:left;cursor:pointer;background:#fff;border:1px solid #ddd;border-radius:12px;align-items:center;gap:14px;width:100%;margin-top:12px;padding:16px;display:flex}.menu-button:hover{background:#f6f7f8}.menu-button strong{font-size:16px;display:block}.menu-button small{color:#888;margin-top:3px;display:block}.menu-icon{font-size:27px}.logout-button{color:#777;cursor:pointer;background:0 0;border:0;width:100%;margin-top:12px;padding:9px}.menu-error{color:#9e0000;background:#ffe5e5;border-radius:7px;margin-top:12px;padding:10px}.menu-button:disabled{opacity:.5;cursor:default;background:#f2f2f2}.menu-button:disabled:hover{background:#f2f2f2}.delete-room-button{color:#b00000;cursor:pointer;background:#fff;border:1px solid #d88;border-radius:8px;width:100%;margin-top:8px;padding:9px 12px}.delete-room-button:hover{background:#fff0f0}.delete-room-button:disabled{opacity:.5;cursor:default}@media (width<=600px){.menu-page{background:#fff;padding:0}.menu-card{max-width:none;min-height:100dvh;box-shadow:none;border-radius:0;padding:14px 18px}}.canvas-mode-select{justify-content:center;align-items:center;gap:10px;margin:12px 0;display:flex}.canvas-mode-select select{background:#fff;border:1px solid #aaa;border-radius:5px;padding:7px 10px}.login-user-details{min-width:0}.menu-help-button{color:#444;cursor:pointer;background:#fff;border:1px solid #aaa;border-radius:7px;margin-left:auto;padding:6px 12px}.menu-help-button:hover{background:#f3f5f7}.my-room-loading{color:#777;text-align:center;margin:12px 0;padding:12px}.my-room-panel{background:#fafbfc;border:1px solid #ddd;border-radius:12px;margin-top:8px;padding:14px}.my-room-panel-title{font-size:16px;display:block}.my-room-panel .canvas-mode-select{justify-content:flex-start;margin:8px 0 0}.my-room-panel .room-action-button{background:#fff;margin-top:8px}.room-type-note{font-size:10px;line-height:1.35}.room-description-field{color:#444;margin-top:8px;font-size:14px;display:block}.room-description-field textarea,.my-room-description textarea{box-sizing:border-box;resize:vertical;width:100%;min-height:60px;font:inherit;border:1px solid #aaa;border-radius:7px;margin-top:4px;padding:8px}.room-description-field small{text-align:right;color:#777;display:block}.my-room-description{background:#fff;border-radius:8px;margin-top:12px;padding:10px;position:relative}.my-room-description>strong{color:#555;font-size:13px}.my-room-description p{white-space:pre-wrap;overflow-wrap:anywhere;color:#555;margin:6px 48px 0 0;font-size:14px}.my-room-description>button{position:absolute;top:8px;right:8px}.description-actions{justify-content:flex-end;align-items:center;gap:8px;display:flex}.description-actions small{color:#777;margin-right:auto}.my-room-link{background:#fff;border-radius:7px;margin-top:8px;padding:7px 10px 8px}.my-room-link>small{color:#888;margin-bottom:4px;font-size:10px;line-height:1.35;display:block}.my-room-link-row{align-items:center;gap:8px;display:flex}.my-room-link-row a{color:#2764a5;text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;font-size:13px;overflow:hidden}.my-room-link-row button{cursor:pointer;flex-shrink:0;padding:5px 9px}.my-room-existing{padding:10px}.my-room-existing .my-room-enter-button{gap:10px;margin-top:0;padding:11px 12px}.my-room-existing .my-room-enter-button .menu-icon{font-size:23px}.my-room-existing .my-room-enter-button strong{font-size:15px}.my-room-existing .my-room-enter-button small{margin-top:2px}.my-room-existing .my-room-link,.my-room-existing .my-room-description{border-radius:7px;margin-top:6px;padding:6px 8px}.my-room-existing .room-detail-label,.my-room-existing .my-room-link>small{color:#888;margin-bottom:3px;font-size:10px;font-weight:400;line-height:1.35;display:block}.my-room-existing .my-room-link-row{gap:7px;min-height:30px}.my-room-existing .my-room-link-row a{font-size:12px}.my-room-existing .room-detail-action{box-sizing:border-box;color:#222;cursor:pointer;background:#f7f7f9;border:1px solid #999;border-radius:6px;width:82px;min-width:82px;height:30px;padding:3px 8px;font-size:12px;line-height:1}.my-room-existing .room-detail-action:hover{background:#eceef2}.my-room-existing .room-detail-action:disabled{opacity:.55;cursor:default}.my-room-existing .my-room-description p{color:#555;align-items:center;min-height:30px;margin:0 90px 0 0;font-size:12px;line-height:1.35;display:flex}.my-room-existing .my-room-description>button{top:22px;right:8px}.my-room-existing .my-room-description textarea{min-height:54px;margin-top:2px;padding:6px;font-size:12px}.my-room-existing .description-actions{gap:6px;min-height:30px;margin-top:3px}.my-room-existing .description-actions small{font-size:10px}.my-room-existing .delete-room-button{margin-top:6px;padding:7px 10px;font-size:13px}.room-participation-field{flex-direction:column;gap:4px;margin:6px 0;font-size:13px;display:flex}.room-participation-field select{box-sizing:border-box;color:#25334b;background:#fff;border:1px solid #ccd4df;border-radius:6px;width:100%;min-height:36px;padding:4px 8px;font-size:16px}.room-participation-field small{color:#59677b}.menu-card .my-room-panel{gap:6px;padding-top:10px;padding-bottom:10px}.menu-card>h2,.menu-card>p{margin:6px 0}.menu-card .menu-button{padding-top:8px;padding-bottom:8px}.menu-card>.menu-button{margin-top:8px}.menu-card .notice-panel{margin:6px 0 8px}.menu-card .notice-latest{padding-top:8px;padding-bottom:8px}.menu-card .my-room-description p{margin-top:2px;margin-bottom:2px}.room-users-trigger{color:#24334b;cursor:pointer;background:#fff;border:1px solid #a8b4c5;border-radius:8px;align-items:center;gap:6px;padding:6px 10px;display:inline-flex}.room-users-dialog{box-sizing:border-box;color:#24334b;background:#fff;border:1px solid #b6c3d3;border-radius:14px;width:min(620px,100vw - 32px);max-height:85dvh;padding:20px;overflow:auto}.room-users-dialog::backdrop{background:#0f172a80}.room-users-dialog header{justify-content:space-between;align-items:center;gap:12px;display:flex}.room-users-dialog h2{margin:0;font-size:1.2rem}.room-users-dialog p{font-size:.9rem;line-height:1.6}.room-users-dialog button{font:inherit;cursor:pointer}.room-users-dialog button:disabled{opacity:.5;cursor:default}.room-users-list{gap:8px;display:grid}.room-users-row{text-align:left;width:100%;color:inherit;background:#fff;border:1px solid #d2dbe7;border-radius:8px;align-items:center;gap:12px;padding:12px;display:flex}.room-users-row[data-selected=true]{background:#eef4ff;border-color:#386acf}.room-users-avatar-button>img,.room-users-static-avatar,.room-users-avatar{object-fit:cover;border-radius:50%;flex-shrink:0;width:36px;height:36px}.room-users-avatar{background:#edf1f6;place-items:center;display:grid}.room-users-identity{gap:4px;min-width:0;display:grid}.room-users-account{overflow-wrap:anywhere;color:#52627a;font-size:.8rem}.room-users-badges{flex-wrap:wrap;gap:5px;font-size:.75rem;display:flex}.room-users-badges span{background:#e5ebf3;border-radius:4px;padding:2px 6px}.room-users-actions{flex-wrap:wrap;gap:8px;display:flex}.room-users-actions button,.room-users-dialog header button{color:inherit;background:#f5f7fb;border:1px solid #abb9cc;border-radius:6px;padding:7px 12px}.room-users-selection,.room-users-confirm{border:1px solid #ccd6e5;border-radius:8px;margin-top:12px;padding:12px}.room-users-error{color:#b42318}.room-users-dialog button:focus-visible,.room-users-trigger:focus-visible{outline-offset:2px;outline:3px solid #4b82df}.room-users-identity{flex:1}.room-users-identity>strong{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.room-users-detail{align-items:center;gap:8px;min-width:0;display:flex}.room-users-detail .room-users-account{white-space:nowrap;text-overflow:ellipsis;min-width:0;overflow:hidden}.room-users-badges{white-space:nowrap;flex-wrap:nowrap;flex-shrink:0;gap:3px}.room-users-badges span{padding:2px 4px}.room-users-menu{width:min(440px,100vw - 32px)}.room-users-menu-close{border:1px solid #abb9cc;border-radius:6px;margin:12px 0 0 auto;padding:7px 12px;display:block}div.room-users-row{box-sizing:border-box}.room-users-dialog .room-users-permission-note{font-size:.6rem}.room-users-avatar-button{background:0 0;border:0;border-radius:50%;flex:0 0 36px;width:36px;height:36px;padding:0;display:block}.room-users-row{gap:0}.room-users-row>.room-users-identity{box-sizing:border-box;text-align:left;color:inherit;background:0 0;border:0;border-radius:0 8px 8px 0;align-content:center;align-self:stretch;margin:-12px -12px -12px 0;padding:12px}.room-users-profile{box-sizing:border-box;color:#444;text-align:left;background:#fff;border:1px solid #b6c3d3;border-radius:10px;width:300px;max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);margin:0;padding:28px 14px 12px;position:fixed;inset:auto;overflow:auto;box-shadow:0 5px 18px #0003}.room-users-profile-close{color:#666;cursor:pointer;background:0 0;border:0;width:24px;height:24px;font-size:20px;position:absolute;top:3px;right:6px}.room-users-profile-description{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.45}.room-users-profile-description a{color:#315fc4;text-decoration:underline}.chat-editor-host{flex:none;min-width:0}.chat-page.mobile-chat{top:var(--mobile-viewport-top,0px);max-width:none;margin:0;position:fixed;left:0;right:0;overflow:hidden}.mobile-chat .chat-header{padding-top:max(3px, env(safe-area-inset-top))}.mobile-chat .chat-back,.mobile-chat .chat-help-link,.mobile-chat .room-users-trigger,.mobile-chat .chat-invite-button{min-height:44px}.mobile-view-tabs{background:#fff;flex:none;gap:3px;padding:6px 12px;display:flex}.mobile-view-tabs button{color:#35425a;background:#f5f7fa;border:1px solid #d2dbe8;border-radius:9px;flex:1;min-height:44px;font-size:15px;font-weight:700}.mobile-view-tabs button[aria-pressed=true]{color:#fff;background:#315fc4;border-color:#315fc4}.chat-unread-badge{color:#fff;background:#d9373e;border-radius:20px;min-width:22px;margin-left:9px;padding:2px 5px;font-size:12px;display:inline-block}.mobile-view-editor .messages,.mobile-view-editor .composer,.mobile-view-chat .chat-editor-host{display:none}.mobile-view-editor .chat-editor-host{flex-direction:column;flex:1;min-height:0;display:flex}.mobile-chat .messages{min-height:0}.mobile-chat .composer{flex-shrink:0}.chat-unread-divider{color:#fff;border-bottom:1px dashed #e4ebf1;margin-bottom:8px;padding:5px 0;font-size:12px}.chat-new-messages{color:#315fc4;background:#fff;border:1px solid #ced9e9;border-radius:20px;flex-shrink:0;align-self:center;min-height:44px;margin:4px;padding:10px 20px}.mobile-switch-status{background:#edf3ff;padding:6px 12px;font-size:13px}.mobile-switch-dialog{box-sizing:border-box;color:#25334b;border:0;border-radius:16px;max-width:min(420px,100vw - 32px);padding:20px}.mobile-switch-dialog::backdrop{background:#14213980}.mobile-switch-dialog button{color:#264eaa;width:100%;min-height:46px;font:inherit;background:#f5f8fd;border:1px solid #ccd7e8;border-radius:8px;margin-top:10px;display:block}.mobile-editor.mobile-editor{background:#939da7;border:0;flex-direction:column;flex:1;min-height:0;padding:0;display:flex}.mobile-editor button{cursor:pointer;touch-action:manipulation}.mobile-editor button:focus-visible{outline-offset:2px;outline:2px solid #315fc4}.mobile-editor button:disabled{opacity:.45;cursor:default}.mobile-editor-top{color:#43546b;background:#f7f9fc;border-bottom:1px solid #d4dce6;flex-shrink:0;order:0;align-items:center;gap:4px;padding:0 8px;display:flex}.mobile-editor-top>span{flex:1;min-width:0;font-size:11px}.mobile-editor-top button{color:#344663;background:0 0;border:0;border-radius:7px;min-width:44px;min-height:44px;padding:4px;font-size:25px}.mobile-editor-top .mobile-fit{font-size:12px}.mobile-editor .painting-workspace,.mobile-editor .drawing-canvas-wrapper{box-sizing:border-box;flex:1;order:1;justify-content:center;align-items:center;width:100%;max-width:none;min-height:0;margin:0;padding:12px;display:flex;overflow:hidden}.mobile-editor .painting-scroll{align-content:safe center;width:100%;max-width:600px;height:100%;max-height:none;margin:0}.mobile-editor .painting-viewport{margin:auto}.mobile-editor-gesture-hint{z-index:3;color:#303b46;text-align:center;pointer-events:none;-webkit-user-select:none;user-select:none;font-size:12px;line-height:20px;position:absolute;left:12px;right:12px}.mobile-editor .drawing-canvas{box-shadow:none;background:0 0;flex-shrink:0}.mobile-editor-bar{min-width:0;padding:10px 12px calc(10px + env(safe-area-inset-bottom));box-sizing:border-box;background:#fff;border:0;border-radius:16px 16px 0 0;flex-shrink:0;order:2;margin:0}.mobile-editor-settings{align-items:center;gap:12px;margin-bottom:8px;display:flex}.mobile-editor-settings button{color:#35425a;background:#fff;border:1px solid #d5deeb;border-radius:9px;min-height:48px;padding:6px 12px}.mobile-color{align-items:center;gap:5px;font-size:12px;display:flex}.mobile-color input{background:0 0;border:0;width:44px;height:44px;padding:3px}.mobile-weight{flex-direction:column;flex:1;gap:4px;min-width:0;font-size:12px;display:flex}.mobile-weight input{accent-color:#315fc4;width:100%;min-width:0;height:26px;margin:0}.mobile-editor-tools{gap:5px;display:flex}.mobile-editor-tools button{color:#35425a;background:#fff;border:1px solid #d5deeb;border-radius:9px;flex-direction:column;flex:1;justify-content:center;align-items:center;gap:1px;min-width:0;min-height:46px;padding:2px;font-size:11px;display:flex}.mobile-editor-tools button[aria-pressed=true]{color:#255bb9;background:#e9f0ff;border-color:#779be5}.mobile-editor-tools svg{width:24px;height:24px}.mobile-tool-symbol{height:24px;font-size:26px;line-height:24px}.mobile-context-actions{margin-bottom:6px;display:flex}.mobile-context-actions button{color:#315fc4;background:#edf3ff;border:1px solid #c6d5ed;border-radius:6px;width:100%;min-height:44px}.mobile-toolbox.sheet-closed{display:none}.mobile-sheet-backdrop{z-index:60;background:#13213645;border:0;position:fixed;inset:0}.mobile-toolbox,.mobile-editor .painting-layers,.mobile-editor .drawing-layers-panel{z-index:70;box-sizing:border-box;width:100%;max-width:760px;max-height:65dvh;padding:14px 14px calc(14px + env(safe-area-inset-bottom));overscroll-behavior:contain;color:#25334b;background:#fff;border:1px solid #d6dfeb;border-radius:18px 18px 0 0;margin:0 auto;position:fixed;inset:auto 0 0;overflow:auto;box-shadow:0 -5px 25px #23344a30}.mobile-sheet-heading{justify-content:space-between;align-items:center;margin-bottom:10px;display:flex}.mobile-sheet-close{color:#35425a;background:0 0;border:0;min-width:44px;min-height:44px;font-size:25px}.mobile-toolbox .painting-toolbar,.mobile-toolbox .drawing-toolbar{max-width:none;margin:0}.mobile-toolbox .painting-toolbar-row,.mobile-toolbox .drawing-compact-row{flex-wrap:wrap;gap:10px;overflow:visible}.mobile-toolbox button,.mobile-editor .painting-layers button,.mobile-editor .drawing-layers-panel button{min-width:44px;min-height:44px;font-size:13px}.mobile-toolbox.sheet-details .mobile-sheet-close{font-size:26px;line-height:1}.mobile-toolbox select,.mobile-editor .painting-layers select,.mobile-editor .drawing-layers-panel select{max-width:100%;min-height:44px;font-size:14px}.mobile-toolbox input:not([type=checkbox]):not([type=range]),.mobile-editor .painting-layers input:not([type=range]){font-size:16px}.mobile-toolbox input[type=range]{max-width:100%;height:32px}.mobile-toolbox.sheet-tools .painting-toolbar-second,.mobile-toolbox.sheet-tools .painting-toolbar-third,.mobile-toolbox.sheet-tools .drawing-compact-row-options,.mobile-toolbox.sheet-tools .drawing-compact-row-secondary,.mobile-toolbox.sheet-details .painting-tool-icons,.mobile-toolbox.sheet-details .painting-toolbar-third,.mobile-toolbox.sheet-details .drawing-tool-icons,.mobile-toolbox.sheet-details .drawing-compact-row-secondary,.mobile-toolbox.sheet-menu .painting-toolbar-first,.mobile-toolbox.sheet-menu .painting-toolbar-second,.mobile-toolbox.sheet-menu .drawing-compact-row-primary,.mobile-toolbox.sheet-menu .drawing-compact-row-options{display:none}.mobile-toolbox .painting-tool-icons,.mobile-toolbox .drawing-tool-icons{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;width:100%;display:grid}.mobile-toolbox .painting-tool-icon,.mobile-toolbox .drawing-tool-icon{flex-direction:column;justify-content:center;align-items:center;gap:6px;width:100%;height:auto;min-height:68px;padding:8px 2px;display:flex}.mobile-toolbox .painting-tool-icon:after,.mobile-toolbox .drawing-tool-icon:after{content:attr(aria-label);font-size:12px}.mobile-toolbox .painting-selection-actions{white-space:normal;flex-wrap:wrap}.mobile-toolbox .painting-zoom-control,.mobile-toolbox .drawing-zoom-control,.mobile-toolbox .drawing-toolbar-divider{display:none}.mobile-toolbox .drawing-selection-menu-mobile{display:block}.mobile-toolbox .drawing-selection-select{display:none}.mobile-editor .painting-layer-row,.mobile-editor .drawing-layer-row{flex-wrap:wrap;gap:5px;min-height:54px;padding:5px 0}.mobile-editor .drawing-layer-actions{justify-content:flex-end;width:100%}.mobile-editor .drawing-layer-row:not(.active) .drawing-layer-actions{display:flex}.mobile-editor .drawing-layers-panel header>strong,.mobile-editor .painting-layers header>span{white-space:nowrap;flex-shrink:0}.mobile-editor .drawing-layers-panel header>div{flex:1;justify-content:flex-end;min-width:0}.mobile-editor .drawing-layers-panel header select{flex:1;width:0;min-width:0}.mobile-editor .drawing-layers-panel .drawing-layer-actions>button,.mobile-editor .drawing-layers-panel .drawing-layer-row>button:first-child,.mobile-editor .painting-layers .painting-layer-row>button:first-child{min-width:44px;min-height:44px}.mobile-editor .drawing-layers-panel button,.mobile-editor .painting-layers button{color:#35425a;background:#fff;border:1px solid #d4dce8;border-radius:6px}.mobile-editor .drawing-layer-row.active .drawing-layer-name,.mobile-editor .painting-layer-row.active .painting-layer-name{color:#255bb9;background:#e9f0ff}.mobile-editor .painting-layer-desktop-content{display:none}.mobile-editor .painting-layer-mobile-content,.mobile-editor .painting-layer-mobile-name,.mobile-editor .painting-layer-mobile-actions{display:flex}.mobile-editor .painting-layer-mobile-content{flex:1}.mobile-editor .painting-layer-mobile-name{flex-direction:column;align-items:stretch}.mobile-editor .painting-layer-mobile-name label{display:flex}.mobile-editor .painting-layer-mobile-name input{width:100%;min-width:0}.mobile-toolbox,.mobile-editor .painting-layers,.mobile-editor .drawing-layers-panel{bottom:var(--mobile-keyboard-offset,0px);max-height:calc(var(--mobile-viewport-height,100dvh) * .65)}.mobile-editor .painting-text-dialog-backdrop{height:var(--mobile-viewport-height,100dvh);box-sizing:border-box;padding:12px;overflow:auto}.mobile-editor .painting-text-dialog{box-sizing:border-box;max-height:100%;overflow:auto}.mobile-editor .painting-text-dialog textarea{font-size:16px}.mobile-editor .painting-text-dialog button{min-width:70px;min-height:44px}.mobile-popup,.mobile-editor .drawing-shape-menu,.mobile-editor .drawing-selection-menu-popup{bottom:calc(12px + env(safe-area-inset-bottom));z-index:1000;width:auto;right:12px;overflow:auto;max-height:70dvh!important;top:auto!important;left:12px!important}.mobile-popup button,.mobile-editor .drawing-shape-menu button,.mobile-editor .drawing-selection-menu-popup button{min-height:44px}.mobile-editor .drawing-gradient-panel,.mobile-editor .drawing-opacity-panel,.mobile-editor .drawing-blur-panel{box-sizing:border-box;width:100%;max-height:70dvh;padding-bottom:calc(16px + env(safe-area-inset-bottom));z-index:1100;inset:auto 0 0;bottom:var(--mobile-keyboard-offset,0px);max-height:calc(var(--mobile-viewport-height,100dvh) * .7);border-radius:16px 16px 0 0;overflow:auto;transform:none}.mobile-editor .drawing-gradient-panel button,.mobile-editor .drawing-opacity-panel button,.mobile-editor .drawing-blur-panel button{min-height:44px}.mobile-editor .drawing-gradient-panel input,.mobile-editor .drawing-opacity-panel input,.mobile-editor .drawing-blur-panel input{font-size:16px}.mobile-view-editor .painting-viewer,.mobile-view-editor .drawing-viewer-panel{background:#939da7;flex-direction:column;flex:1;justify-content:center;max-width:none;min-height:0;margin:0;display:flex}.mobile-view-editor .painting-viewer img{width:100%;max-width:600px;margin:auto}.mobile-view-editor .painting-viewer img,.mobile-view-editor .drawing-viewer img{object-fit:contain;max-height:100%}.mobile-view-editor .painting-empty,.mobile-view-editor .drawing-empty{height:auto;min-height:100px}@media (height<=500px) and (orientation:landscape){.mobile-chat .chat-header{min-height:44px}.mobile-view-tabs{padding-top:2px;padding-bottom:2px}.mobile-view-tabs button{min-height:36px}.mobile-editor-bar{padding:5px max(12px, env(safe-area-inset-right)) max(5px, env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-left));border-radius:0;align-items:center;gap:10px;display:flex}.mobile-editor-settings{flex:1;margin:0}.mobile-editor-tools{flex:1}.mobile-editor-tools button{gap:0;min-height:36px;padding:1px 2px}.mobile-editor-tools svg{width:18px;height:18px}.mobile-editor-tools .mobile-tool-symbol{height:18px;font-size:20px;line-height:18px}.mobile-context-actions{max-width:100px;margin:0}.mobile-editor .painting-workspace,.mobile-editor .drawing-canvas-wrapper{padding:4px 12px}.mobile-toolbox,.mobile-editor .painting-layers,.mobile-editor .drawing-layers-panel{max-height:calc(var(--mobile-viewport-height,100dvh) * .8)}}.mobile-editor .drawing-file-actions{gap:8px;width:100%;display:grid}.mobile-editor .drawing-file-actions button{text-align:left;color:#35425a;background:#fff;border:1px solid #d5deeb;border-radius:8px;padding:10px 12px}.mobile-editor .drawing-compact-selection-info,.mobile-selection-active .sheet-details .drawing-compact-row-primary,.mobile-selection-active .sheet-details .drawing-line-control{display:none}.mobile-selection-active .sheet-details .drawing-selection-menu-mobile{width:100%}.mobile-editor .drawing-selection-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 8px;width:100%;display:grid}.mobile-editor .drawing-selection-actions button{color:#25334b;text-align:left;background:0 0;border:0;border-radius:0;min-height:36px;padding:6px 4px;font-size:13px;line-height:20px}.mobile-editor .drawing-selection-actions button:active{background:#e9f0ff}.mobile-rectangle-selection .sheet-details .painting-toolbar-first{display:none}.mobile-rectangle-selection .mobile-context-actions{gap:8px}.mobile-rectangle-selection .mobile-context-actions button{flex:1;width:auto}@media (orientation:landscape) and (height<=640px){.mobile-rectangle-selection .mobile-context-actions{flex:1;max-width:none}}.mobile-rectangle-selection .mobile-context-actions button[aria-pressed=true]{color:#255bb9;background:#dce8ff;border-color:#779be5}.mobile-color-selection-controls{width:100%;min-width:0}.mobile-color-selection-settings{align-items:center;gap:12px;margin-bottom:6px;display:flex}.mobile-color-selection-buttons{gap:2px;display:flex}.mobile-color-selection .mobile-context-actions button{white-space:nowrap;flex:1;width:auto;min-width:0;padding:4px 1px;font-size:11px}.mobile-color-selection .mobile-context-actions{flex:1;max-width:none}.mobile-text-controls{align-items:center;gap:12px;width:100%;min-width:0;display:flex}.mobile-text-controls .mobile-weight{flex:1}.mobile-text-controls button{flex:0 0 60px;width:60px}.mobile-text-controls button[aria-pressed=true]{background:#dce8ff;border-color:#779be5}.mobile-context-actions:has(.mobile-text-controls){flex:1;max-width:none}.mobile-shape-controls{align-items:center;gap:12px;width:100%;min-width:0;display:flex}.mobile-shape-controls .mobile-weight{flex:1}.mobile-context-actions:has(.mobile-shape-controls){flex:1;max-width:none}.mobile-editor .painting-file-actions{gap:8px;width:100%;display:grid}.mobile-editor .painting-file-actions button{text-align:left;color:#35425a;background:#fff;border:1px solid #d5deeb;border-radius:8px;padding:10px 12px}.mobile-combined-bar{background:#fff;flex-shrink:0;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;display:grid}.mobile-combined-bar .mobile-view-tabs{gap:2px;min-width:0;padding:0}.mobile-combined-bar .mobile-view-tabs button{min-width:0;min-height:44px;padding:3px 1px;font-size:12px}.mobile-combined-bar .chat-unread-badge{min-width:14px;margin-left:2px;padding:1px 3px;font-size:10px}.mobile-toolbar-slot .mobile-editor-top{background:#fff;border:0;gap:0;height:44px;padding:0}.mobile-toolbar-slot .mobile-editor-top button{touch-action:manipulation;flex:1;justify-content:center;align-items:center;min-width:0;min-height:44px;padding:2px;display:flex}.mobile-toolbar-slot .mobile-editor-top button:disabled{opacity:.45}.mobile-chat-preview{background:#fff;min-width:0}.mobile-chat-preview img{width:100%;height:auto;display:block}.mobile-chat-preview-empty{aspect-ratio:2;color:#69788c;justify-content:center;align-items:center;font-size:11px;display:flex}.mobile-toolbox .painting-toolbar .painting-tool-icons{flex:1 0 100%;min-width:0}.mobile-toolbox .painting-toolbar .painting-tool-icon{box-sizing:border-box;white-space:normal;gap:3px;width:100%;min-width:0;height:auto;min-height:54px;padding:5px 3px}.mobile-toolbox .painting-toolbar .painting-tool-icon:after{overflow-wrap:anywhere;text-align:center;max-width:100%;line-height:16px}.mobile-editor-tools button{line-height:14px}.mobile-editor-tools button>span:last-child{white-space:nowrap}@media (width<=360px){.mobile-editor-tools button{letter-spacing:-.2px;padding-left:0;padding-right:0;font-size:9px}}.mobile-color-history-control{flex-shrink:0;align-items:center;gap:2px;display:flex;position:relative}.mobile-editor .drawing-gradient-color-row{grid-template-columns:70px minmax(0,1fr);align-items:start;margin:6px 0;display:grid}.mobile-editor .drawing-gradient-color-row>span{line-height:44px}.mobile-color-history-inline{grid-template-columns:minmax(0,1fr) 44px 36px;min-width:0;display:grid}.mobile-color-history-inline>.mobile-color{grid-column:2}.mobile-color-history-inline>.mobile-color-history-trigger{grid-column:3}.mobile-color-history-inline>.mobile-color-history-popup{width:100%;max-height:none;box-shadow:none;grid-column:1/-1;margin-top:6px;position:static;overflow:visible}.mobile-color-history-inline .mobile-color-history-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.mobile-editor .mobile-color-history-trigger{background:#fff;border:1px solid #d5deeb;border-radius:8px;justify-content:center;align-items:center;width:36px;min-width:36px;min-height:44px;padding:4px;display:flex}.mobile-editor .mobile-color-history-trigger[aria-expanded=true]{background:#e9f0ff;border-color:#779be5}.mobile-color-history-popup{z-index:80;box-sizing:border-box;color:#25334b;background:#fff;border:1px solid #ccd7e8;border-radius:12px;width:min(280px,100vw - 32px);max-height:min(300px,55dvh);padding:10px;position:absolute;bottom:calc(100% + 8px);left:0;overflow-y:auto;box-shadow:0 2px 12px #23344a30}.mobile-color-history-popup header{justify-content:space-between;align-items:center;font-size:13px;display:flex}.mobile-editor .mobile-color-history-popup header button{color:#35425a;background:0 0;border:0;flex:0 0 36px;width:36px;min-height:36px;padding:0;font-size:23px}.mobile-color-history-grid{grid-template-columns:repeat(6,minmax(0,1fr));gap:5px;display:grid}.mobile-editor .mobile-color-history-grid button{border:2px solid #d5deeb;border-radius:5px;width:100%;min-width:0;height:36px;min-height:36px;padding:0}.mobile-editor .mobile-color-history-grid button[aria-pressed=true]{border-color:#1976d2;box-shadow:0 0 0 1px #1976d2}.mobile-color-history-grid button span{color:#fff;text-shadow:0 1px 2px #000,1px 0 2px #000;font-size:21px}.mobile-color-history-popup p{white-space:normal;font-size:12px}.mobile-color-history-control .mobile-color input[type=color]{box-sizing:border-box;appearance:none;cursor:pointer;background:conic-gradient(#f44,#ffdb38,#4cce65,#38cddd,#4169ed,#bf4de0,#f44);border:0;border-radius:50%;width:44px;height:44px;padding:4px}.mobile-color-history-control .mobile-color input[type=color]::-webkit-color-swatch-wrapper{padding:0}.mobile-color-history-control .mobile-color input[type=color]::-webkit-color-swatch{border:2px solid #fff;border-radius:50%;box-shadow:inset 0 0 0 1px #0002}.mobile-color-history-control .mobile-color input[type=color]::-moz-color-swatch{border:2px solid #fff;border-radius:50%;box-shadow:inset 0 0 0 1px #0002}.mobile-color-history-control .mobile-color input[type=color]:focus-visible{outline-offset:2px;outline:2px solid #315fc4}.painting-panel.mobile-editor[data-tool=pen] .sheet-details .painting-color-control,.painting-panel.mobile-editor[data-tool=eraser] .sheet-details .painting-color-control,.painting-panel.mobile-editor[data-tool=pen] .sheet-details .painting-weight-control,.painting-panel.mobile-editor[data-tool=brush] .sheet-details .painting-weight-control,.painting-panel.mobile-editor[data-tool=eraser] .sheet-details .painting-weight-control,.painting-panel.mobile-editor[data-tool=shape] .sheet-details .painting-weight-control{display:none}.painting-panel.mobile-editor .sheet-details .painting-opacity-control{width:100%;min-width:0;display:flex}.painting-panel.mobile-editor .sheet-details .painting-opacity-control input{flex:1;width:0;min-width:0;max-width:none}.painting-panel.mobile-editor .sheet-tools .painting-color-control{display:none}.drawing-panel.mobile-editor .mobile-editor-tools{gap:3px}.drawing-panel.mobile-editor .mobile-editor-tools button{padding-left:0;padding-right:0}.drawing-panel.mobile-editor:is([data-tool=pen],[data-tool=brush],[data-tool=bezierPath],[data-tool=curve],[data-tool=shape]) .sheet-details .drawing-color-control,.drawing-panel.mobile-editor:is([data-tool=pen],[data-tool=brush],[data-tool=bezierPath],[data-tool=curve],[data-tool=shape]) .sheet-details .drawing-line-control{display:none}.mobile-editor .mobile-editor-tools{gap:2px}.mobile-editor .mobile-editor-tools button{min-width:0;padding-left:0;padding-right:0}.mobile-editor .mobile-editor-tools button svg{flex-shrink:0;width:22px;height:22px}.mobile-editor-settings .mobile-text-controls{flex:1;gap:6px;width:auto}.mobile-editor-settings .mobile-text-controls button{flex-basis:44px;width:44px;padding:4px}.painting-panel.mobile-editor .sheet-details .painting-color-control{display:none}.mobile-editor :is(.painting-layers,.drawing-layers-panel)>header>div{align-items:center;gap:4px;display:flex}.mobile-editor :is(.painting-layers,.drawing-layers-panel)>header>div>button:last-child{order:0;font-size:28px}.mobile-editor :is(.painting-layers,.drawing-layers-panel)>header select{order:1}.mobile-editor :is(.painting-layers,.drawing-layers-panel)>header button[aria-label=レイヤーを閉じる]{order:2;font-size:28px}.mobile-editor :is(.painting-layer-row,.drawing-layer-row){flex-wrap:nowrap;gap:3px}.mobile-editor .painting-layer-mobile-content{align-items:center;gap:3px;min-width:0}.mobile-editor :is(.painting-layer-name,.drawing-layer-name){text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden;min-width:0!important}.mobile-editor .drawing-layer-row .drawing-layer-actions{flex:none;gap:3px;width:auto;display:flex}.mobile-editor .drawing-layer-actions button[title=削除]{display:none}.mobile-editor :is(.painting-layers,.drawing-layers-panel) button[title=名前変更]{padding:0;font-size:36px;line-height:1}.mobile-editor .mobile-layer-edit{border:1px solid #d4dce8;border-radius:8px;margin-top:8px;padding:8px}.mobile-editor .mobile-layer-edit-close{justify-content:flex-end;display:flex}.mobile-editor .mobile-layer-edit-close button{font-size:28px}.mobile-editor .mobile-layer-edit-name,.mobile-editor .painting-layer-mobile-name{flex-direction:row;align-items:center;gap:4px;margin-bottom:8px;display:flex}.mobile-editor .painting-layer-mobile-name label{flex:1;min-width:0}.mobile-editor .painting-layer-mobile-name>div{gap:4px;display:flex}.mobile-editor .mobile-layer-name-label{display:none}.mobile-editor .mobile-layer-edit input:not([type=range]){box-sizing:border-box;flex:1;width:0;min-width:0;font-size:16px}.mobile-editor .painting-layer-mobile-name input{width:100%!important}.mobile-editor .mobile-layer-edit .painting-layer-opacity-control{align-items:center;gap:4px;margin-bottom:8px;display:flex}.mobile-editor .mobile-layer-edit .painting-layer-opacity-control input{flex:1;width:0;min-width:0}.mobile-editor :is(.painting-layers,.drawing-layers-panel) button:is([title=上へ],[title=下へ]){padding:0;font-size:26px;line-height:1}.chat-page{background:#8fa5b8;flex-direction:column;width:100%;max-width:760px;height:100dvh;margin:auto;display:flex}.chat-header{background:#fffffff5;border-bottom:1px solid #ccc;flex-shrink:0;align-items:center;height:52px;padding-right:12px;display:flex}.chat-back{cursor:pointer;background:0 0;border:0;width:50px;height:44px;font-size:28px}.chat-owner-avatar{object-fit:cover;border-radius:50%;flex-shrink:0;width:34px;min-width:34px;max-width:34px;height:34px;min-height:34px;max-height:34px;margin-right:8px}.chat-title{flex-direction:column;flex:auto;min-width:0;display:flex}.chat-title strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.chat-title span{font-size:11px}.chat-help-link{color:#315fc4;text-align:center;background:#f3f6fb;border:1px solid #b9c7dc;border-radius:9px;flex:none;min-width:50px;margin-left:10px;padding:7px 10px;font-size:13px;font-weight:700;line-height:1.2;text-decoration:none}.chat-help-link:hover,.chat-help-link:focus-visible{color:#fff;background:#315fc4;outline:none}.online{color:#1d9b45}.offline{color:#999}.messages{overscroll-behavior:contain;flex:1;padding:14px 12px 24px;overflow:hidden auto}.room-notice{color:#fff;text-align:center;background:#0000002e;border-radius:15px;width:fit-content;max-width:90%;margin:5px auto 20px;padding:6px 13px;font-size:12px}.message-row{align-items:flex-start;gap:8px;width:100%;margin-bottom:14px;display:flex}.message-row.owner-side{flex-direction:row-reverse;justify-content:flex-start}.message-row.guest-side{flex-direction:row;justify-content:flex-start}.message-avatar{object-fit:cover;border-radius:50%;flex:0 0 32px;display:block;width:32px!important;min-width:32px!important;max-width:32px!important;height:32px!important;min-height:32px!important;max-height:32px!important}.message-placeholder{color:#fff;background:#ccc;justify-content:center;align-items:center;display:flex}.message-area{flex-direction:column;align-items:flex-start;width:auto;max-width:76%;display:flex}.owner-side .message-area{align-items:flex-end}.sender-name{color:#ffffffe6;margin:0 5px 3px;font-size:11px}.message-line{align-items:flex-end;gap:5px;display:flex}.owner-side .message-line{flex-direction:row-reverse}.bubble{white-space:pre-wrap;word-break:break-word;overflow-wrap:anywhere;border-radius:15px;width:auto;max-width:100%;padding:6px 12px;font-size:19px;line-height:1.45;position:relative;box-shadow:0 1px 2px #0000001f}.owner-bubble{background:#fff;border-top-right-radius:4px}.guest-bubble{background:#9eea6a;border-top-left-radius:4px}.message-time{color:#ffffffe6;flex-shrink:0;font-size:10px}.chat-error{color:#a00000;background:#ffe2e2;padding:6px 12px;font-size:12px}.composer{padding:8px 10px calc(8px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #ccc;flex-shrink:0;align-items:flex-end;gap:8px;display:flex}.composer-input{flex:1;min-width:0;position:relative}.emoji-suggestions{z-index:20;background:#fff;border:1px solid #ddd;border-radius:16px;flex-direction:column;width:min(440px,100vw - 28px);max-height:320px;padding:8px;display:flex;position:absolute;bottom:calc(100% + 8px);left:0;overflow-y:auto;box-shadow:0 8px 30px #0000002e}.emoji-suggestions button{color:#555;width:100%;font:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:8px;align-items:center;gap:10px;padding:6px 8px;font-size:16px;display:flex}.emoji-suggestions button:hover,.emoji-suggestions button.selected{background:#eef3fb}.emoji-suggestions img{object-fit:contain;width:36px;height:36px}.emoji-suggestions span{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.composer-input textarea{box-sizing:border-box;resize:none;border:1px solid #ddd;border-radius:20px;outline:none;flex:1;width:100%;min-width:0;max-height:100px;padding:10px 12px;font-size:16px;line-height:1.3;display:block}.composer-input textarea:focus{border-color:#8aa8d8}.send-button{color:#fff;cursor:pointer;background:#38a75b;border:0;border-radius:18px;flex-shrink:0;padding:9px 15px;font-weight:700}.send-button:disabled{cursor:default;background:#aaa}.system-message{text-align:center;color:#fff;width:100%;padding:4px 12px;font-size:13px}@media (width<=600px){.chat-page{max-width:none}.messages{padding-left:8px;padding-right:8px}.message-area{max-width:80%}.bubble{font-size:19px}}.profile-avatar-wrap{z-index:4;--profile-avatar-size:32px;flex:none;position:relative}.profile-avatar-wrap:before{content:"";z-index:0;position:absolute;inset:-25%}.profile-avatar-header{--profile-avatar-size:34px;margin-right:8px}.profile-avatar-button{z-index:1;cursor:pointer;background:0 0;border:0;border-radius:50%;margin:0;padding:0;display:block;position:relative}.profile-avatar-button .chat-owner-avatar{margin-right:0}.drawing-editor-badge{z-index:5;object-fit:contain;pointer-events:none;width:20px;height:20px;position:absolute;bottom:-3px;right:-9px}.profile-avatar-button:focus-visible{outline-offset:2px;outline:2px solid #4f6edb}.user-profile-popover{top:calc(var(--profile-avatar-size) * -1.5);left:calc(var(--profile-avatar-size) * 1.5);z-index:100;color:#222;text-align:left;background:#fffffffa;border:1px solid #00000024;border-radius:10px;width:300px;max-width:calc(100vw - 32px);max-height:calc(100vh - 16px);padding:12px 14px 11px;position:absolute;overflow-y:auto;box-shadow:0 5px 18px #00000038}.user-profile-close{color:#777;cursor:pointer;background:0 0;border:0;width:24px;height:24px;padding:0;font-size:20px;line-height:24px;position:absolute;top:4px;right:6px}.user-profile-name{word-break:break-word;padding-right:22px;font-size:14px;font-weight:700;line-height:1.35}.user-profile-account{color:#666;word-break:break-all;margin-top:2px;font-size:11px;line-height:1.35}.user-profile-description{color:#444;white-space:pre-wrap;word-break:break-word;overflow-wrap:anywhere;border-top:1px solid #e2e5e8;margin-top:8px;padding-top:8px;font-size:12px;line-height:1.45}.user-profile-actions{align-items:center;gap:10px;margin-top:8px;display:flex}.user-profile-drawing,.user-profile-ban{cursor:pointer;white-space:nowrap;background:0 0;border:0;padding:2px 0;font-size:11px;font-weight:700;text-decoration:underline}.user-profile-drawing{color:#315fc4}.user-profile-ban{color:#c62828}@media (width<=600px){.user-profile-popover{width:280px;max-width:calc(100vw - 24px);padding:11px 12px 10px}}.user-profile-description a{color:#315fc4;text-underline-offset:2px;text-decoration:underline;text-decoration-thickness:1px}.bubble .mfm-custom-emoji{vertical-align:-.42em;width:1.755em;height:1.755em}.bubble a{color:inherit;text-underline-offset:2px;text-decoration:underline;text-decoration-thickness:1px}.bubble .mfm-center{width:100%}.bubble .mfm-quote{margin-top:4px;margin-bottom:4px}.bubble .mfm-block-code,.bubble .mfm-math-block{white-space:pre-wrap;word-break:break-word;max-width:min(100%,520px)}.chat-header{box-sizing:border-box;gap:4px;min-width:0;padding-right:6px}.chat-header .chat-back{flex:0 0 40px;width:40px;padding:0}.chat-header .chat-title{flex:1 1 0;overflow:hidden}.chat-header .chat-title span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.chat-painting-status{color:#42516a;flex:0 132px;min-width:0;max-width:132px;font-size:11px;line-height:1.3;overflow:hidden}.chat-painting-status span{white-space:nowrap;text-overflow:ellipsis;display:block;overflow:hidden}.chat-header .chat-help-link{box-sizing:border-box;flex:0 0 50px;min-width:50px;margin-left:0;padding:7px 4px}@media (width<=400px){.chat-header{gap:3px}.chat-header .profile-avatar-header{margin-right:2px}.chat-painting-status{flex-basis:120px;max-width:120px}}.chat-header{flex-wrap:wrap;height:auto;min-height:52px;padding-top:3px;padding-bottom:3px}.chat-connection-row{box-sizing:border-box;flex-wrap:wrap;flex:0 0 100%;align-items:center;gap:4px 8px;min-width:0;padding-left:80px;font-size:11px;display:flex}.chat-invite-button{white-space:nowrap;color:#244b77;cursor:pointer;background:#eef5ff;border:1px solid #b9c7dc;border-radius:4px;min-height:24px;padding:2px 7px;font-size:11px;line-height:18px}.chat-invite-button:disabled{color:#666;cursor:default;background:#eee}.chat-invite-button:focus-visible{outline-offset:2px;outline:2px solid #249ff1}.chat-invite-message{overflow-wrap:anywhere;flex-basis:100%}@media (width<=360px){.chat-connection-row{padding-left:44px}}.chat-header{grid-template-rows:auto auto;grid-template-columns:40px 34px minmax(0,1fr) auto auto;gap:0 4px;display:grid}.chat-header .chat-back{grid-area:1/1/3}.chat-header .profile-avatar-header{grid-area:1/2/3;margin-right:0}.chat-header .chat-title{grid-area:1/3;align-self:end}.chat-header .chat-painting-status{grid-area:1/4}.chat-header .chat-help-link{grid-area:1/5/3}.chat-header .chat-connection-row{grid-area:2/3/auto/5;align-self:start;padding-left:0}.chat-ban-dialog{box-sizing:border-box;color:#24334b;background:#fff;border:1px solid #b6c3d3;border-radius:12px;max-width:min(440px,100vw - 32px);padding:20px}.chat-ban-dialog::backdrop{background:#0f172a80}.chat-ban-actions{justify-content:flex-end;gap:8px;display:flex}.chat-ban-actions button{padding:8px 12px}.panel-loading-status{text-align:center;color:#42516a;background:#f5f7fb;padding:16px}.panel-loading-status button{cursor:pointer;margin-left:12px;padding:6px 10px}.login-page{justify-content:center;align-items:center;min-height:100dvh;padding:20px;display:flex}.login-card{background:#fff;border-radius:16px;width:100%;max-width:760px;padding:28px;box-shadow:0 3px 20px #0000001f}.login-card h1{text-align:center}.login-version{text-align:center;color:#888;margin-top:-8px;margin-bottom:8px;font-size:11px}.server-input{background:#fff;border:1px solid #bbb;border-radius:8px;width:100%;margin:12px 0;padding:13px;font-size:16px}select.server-input{cursor:pointer}select.server-input:disabled{color:#888;cursor:default;background:#eee}.primary-button{color:#fff;cursor:pointer;background:#4f6edb;border:0;border-radius:8px;width:100%;padding:13px}.login-error{color:#9e0000;background:#ffe5e5;border-radius:7px;margin-top:12px;padding:10px}@media (width<=600px){.login-page{background:#fff;padding:0}.login-card{max-width:none;min-height:100dvh;box-shadow:none;border-radius:0;padding:24px 18px}}.login-title,.login-section{max-width:460px;margin-left:auto;margin-right:auto}.selected-room-note{color:#3653b3;text-align:center;margin-top:7px;font-size:12px}.active-rooms{border-top:1px solid #e5e7eb;margin-top:24px;padding-top:18px}.active-rooms h2{text-align:left;margin:0 0 12px;font-size:18px}.active-rooms-message{color:#777;text-align:center;background:#f5f6f8;border-radius:8px;padding:18px}.active-room-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.active-room-tile{text-align:left;cursor:pointer;background:#f7f8fa;border:2px solid #0000;border-radius:10px;min-width:0;padding:0;overflow:hidden;box-shadow:0 1px 5px #0000001f}.active-room-tile:hover{border-color:#9bace8}.active-room-tile.selected{border-color:#4f6edb;box-shadow:0 0 0 2px #4f6edb2e}.active-room-thumbnail{aspect-ratio:2;background:#eef1f5;position:relative;overflow:hidden}.active-room-thumbnail>img{z-index:1;object-fit:contain;background:#fff;width:100%;height:100%;position:relative}.active-room-placeholder{color:#9aa1ad;place-items:center;font-size:36px;display:grid;position:absolute;inset:0}.active-room-count,.active-room-mode{z-index:2;color:#fff;background:#1e232dbd;border-radius:999px;padding:2px 6px;font-size:10px;line-height:1.4;position:absolute;top:6px}.active-room-count{right:6px}.active-room-mode{left:6px}.active-room-owner{align-items:center;gap:8px;min-width:0;padding:8px 9px 3px;display:flex}.active-room-owner>img,.active-room-avatar-placeholder{object-fit:cover;border-radius:50%;flex:0 0 30px;width:30px;height:30px}.active-room-avatar-placeholder{color:#fff;background:#c8ccd3;place-items:center;display:grid}.active-room-owner>div{min-width:0}.active-room-owner strong,.active-room-owner small{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.active-room-owner strong{font-size:13px}.active-room-owner small{color:#7b8088;font-size:10px}.active-room-tile>p{color:#555;text-overflow:ellipsis;white-space:nowrap;margin:4px 9px 9px;font-size:11px;overflow:hidden}.show-all-rooms{color:#444;cursor:pointer;background:#fff;border:1px solid #aaa;border-radius:999px;margin:14px auto 0;padding:7px 18px;display:block}.login-links{text-align:center;margin-top:22px;font-size:12px}@media (width<=600px){.login-card{padding:20px 14px}.active-room-grid{gap:8px}.active-room-owner{padding-left:7px;padding-right:7px}.active-room-tile>p{margin-left:7px;margin-right:7px}.active-room-count,.active-room-mode{top:4px}.active-room-count{right:4px}.active-room-mode{left:4px}}.rooms-page{background:#fff;width:100%;max-width:700px;min-height:100dvh;margin:auto}.rooms-header{z-index:5;background:#fff;border-bottom:1px solid #ddd;align-items:center;height:64px;display:flex;position:sticky;top:0}.rooms-header h2{margin:0;font-size:19px}.back-button{cursor:pointer;background:0 0;border:0;width:55px;height:55px;font-size:28px}.rooms-list{padding-bottom:30px}.room-item{text-align:left;cursor:pointer;background:#fff;border:0;border-bottom:1px solid #eee;align-items:center;gap:10px;width:100%;padding:10px 12px;display:flex}.room-item:hover{background:#f7f7f7}.room-avatar{object-fit:cover;border-radius:50%;flex-shrink:0;width:36px;min-width:36px;max-width:36px;height:36px;min-height:36px;max-height:36px}.room-placeholder{color:#fff;background:#ccc;justify-content:center;align-items:center;display:flex}.room-user{flex:1;min-width:0}.room-user strong{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.room-user span{color:#888;font-size:13px;display:block}.room-drawing-thumbnail{object-fit:contain;background:#fff;border:1px solid #ddd;border-radius:4px;flex:0 0 120px;width:120px;height:60px}.room-online-count{color:#777;white-space:nowrap;flex-shrink:0;font-size:13px}.room-arrow{color:#aaa;font-size:30px}.empty-message{text-align:center;color:#888;padding:50px 20px}@media (width<=600px){.rooms-page{max-width:none}.room-drawing-thumbnail{flex-basis:96px;width:96px;height:48px}}.rooms-active-empty{color:#795b00;text-align:center;background:#fff7dd;border-bottom:1px solid #e5e7eb;padding:12px 16px;font-size:14px;font-weight:700}.room-item.inactive{color:#777;cursor:default;background:#f4f5f6}.room-item.inactive:hover{background:#f4f5f6}.room-item:disabled{opacity:1}.room-badges{flex-wrap:wrap;gap:5px;margin-top:4px;display:flex}.room-active-badge,.room-mode-badge{white-space:nowrap;border-radius:999px;padding:2px 6px;font-size:11px;font-weight:700;line-height:1.3;display:inline-block}.room-active-badge.active{color:#167033;background:#daf5df}.room-active-badge.inactive{color:#667085;background:#e4e7eb}.room-mode-badge.mode-paint{color:#6840a5;background:#eee4ff}.room-mode-badge.mode-draw{color:#275fa8;background:#e2edff}.room-mode-badge.mode-none{color:#666;background:#ececec}.room-item.inactive .room-arrow{color:#bbb;font-size:18px}.room-description{color:#555;text-overflow:ellipsis;white-space:nowrap;margin:4px 0 0;font-size:12px;line-height:1.35;overflow:hidden}.rooms-load-more{cursor:pointer;margin:16px auto;padding:10px 24px;display:block}.rooms-load-more:disabled{cursor:wait;opacity:.6}html,body,#root{width:100%;min-height:100%;margin:0}body{color:#222;background:#eef1f4;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Yu Gothic,Meiryo,sans-serif}*{box-sizing:border-box}button,input,textarea{font:inherit}.loading-page{justify-content:center;align-items:center;min-height:100dvh;padding:20px;display:flex}.loading-card{background:#fff;border-radius:16px;width:100%;max-width:460px;padding:28px;box-shadow:0 3px 20px #0000001f}
