@charset "UTF-8";
:root{--paper:#f8f7fb;--white:#fff;--ink:#302a3b;--muted:#827b8e;--line:#e9e5f0;--green:#8064b1;--green-dark:#694b9a;--accent:#b4a2d4;--soft:#f0eafa;--danger:#b64b64;font-family:"Segoe UI","Malgun Gothic",system-ui,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{color:inherit;cursor:pointer;border:0;background:none}button:disabled{cursor:not-allowed;opacity:.5}a{color:inherit;text-decoration:none}h1,h2,h3,p{margin-top:0}p{line-height:1.75}h1{font-size:24px;letter-spacing:-.6px;font-weight:650}h2{font-size:17px;font-weight:600}h3{font-size:15px;font-weight:600}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,[tabindex]:focus-visible{outline:2px solid #a78ad4;outline-offset:3px}[hidden]{display:none!important}
.icon{width:20px;height:20px;flex-shrink:0;vertical-align:middle}.button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:38px;padding:9px 15px;border:1px solid transparent;border-radius:5px;font-size:12px;font-weight:600}.button:hover{filter:brightness(.98)}.primary{background:var(--green);color:white}.primary:hover{background:var(--green-dark)}.secondary{background:#fff;border-color:#ddd5e9;color:#665279}.secondary:hover{background:#f5f0fc}.destructive{background:var(--danger);color:white}.square{padding:9px}.full{width:100%}.text-button{display:inline-flex;align-items:center;gap:6px;font-size:12px;color:var(--green);padding:6px 0}.text-button:hover{text-decoration:underline}.text-button .icon{width:16px;height:16px}.quiet{color:var(--muted)}.danger{color:var(--danger)}.icon-button{width:34px;height:34px;display:inline-flex;align-items:center;justify-content:center;color:#887c98;border-radius:5px;flex-shrink:0}.icon-button:hover{background:var(--soft);color:#71588f}.subtle{font-size:12px;color:var(--muted);margin:0}.eyebrow{font-size:10px;color:var(--muted)}.brand{display:flex;align-items:center;gap:9px;font-size:17px;font-weight:650;letter-spacing:-.5px;color:#655079;white-space:nowrap}.brand>.icon{width:23px;height:23px;color:#9d85bf;stroke-width:1.5}.initial-loading,.connection-error{display:grid;place-content:center;min-height:100vh;padding:24px;text-align:center}.status-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#a48bc8;margin-right:7px}
/* Account entry */
.welcome{min-height:100dvh;background:#f7f5fb}.welcome-header{height:62px;background:white;border-bottom:1px solid var(--line);padding:0 28px;display:flex;justify-content:space-between;align-items:center}.welcome-header>span{font-size:11px;color:var(--muted)}.welcome-entry{padding:70px 24px 30px;display:flex;align-items:center;flex-direction:column}.entry-card{width:100%;max-width:410px;background:white;border:1px solid var(--line);padding:30px;border-radius:7px}.entry-card h2{font-size:21px;margin:0 0 10px}.entry-card>.subtle{font-size:12px}.auth-tabs{display:flex;gap:21px;border-bottom:1px solid var(--line);margin:25px 0}.auth-tabs button{font-size:12px;padding:10px 0;border-bottom:2px solid transparent;margin-bottom:-1px;color:#8c809b}.auth-tabs button.active{border-bottom-color:var(--green);color:#7656a0;font-weight:600}.entry-note{display:flex;gap:9px;color:#8c8296;font-size:11px;line-height:1.8;margin:22px 0 0}.entry-note .icon{width:15px;height:15px;margin-top:3px}.entry-bottom{font-size:10px;color:#9d95a7;margin-top:26px}
/* Collapsible app navigation */
.app-shell{display:grid;grid-template-columns:204px minmax(0,1fr);min-height:100dvh}.main-shell{grid-column:2;min-width:0}.sidebar{position:fixed;inset:0 auto 0 0;width:204px;z-index:40;background:#faf8fd;border-right:1px solid #e3dced;display:flex;flex-direction:column;padding:19px 12px 16px}.sidebar .brand{padding-left:37px;font-size:16px;gap:6px}.sidebar .brand>.icon{display:none}.sidebar-caption{margin:6px 0 0 37px;font-size:10px;color:#a093af}.sidebar nav{display:flex;flex-direction:column;gap:4px;margin-top:35px}.nav-item{display:flex;align-items:center;gap:11px;padding:12px 14px;border-radius:5px;color:#82718f;font-size:12px;text-align:left;width:100%;white-space:nowrap}.nav-item .icon{width:17px;height:17px;color:#a193b2}.nav-item.active,.nav-item:hover{background:#eee7f7;color:#705496}.nav-item.active .icon{color:#9072b7}.sidebar-bottom{margin-top:auto;border-top:1px solid #e9e0f2;padding:16px 6px 0}.server-label{font-size:10px;color:#9b8ba9;margin-bottom:15px}.profile-button{display:flex;align-items:center;gap:9px;width:100%;padding:0;text-align:left}.profile-button>span:nth-child(2){flex:1;min-width:0}.profile-button strong{display:block;font-size:12px;font-weight:600;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-button small{display:block;font-size:10px;color:#9d8eab;margin-top:5px}.profile-button>.icon{width:16px;height:16px;color:#aa9cba}.sidebar-toggle{position:fixed;top:13px;left:10px;width:30px;height:30px;z-index:45;border-radius:5px;border:1px solid #e2d8ef;background:#fff;color:#9a7dbe;display:grid;place-items:center}.sidebar-toggle:hover{background:#eee7f8}.sidebar-toggle .icon{width:17px;height:17px}.sidebar-collapsed{grid-template-columns:0 minmax(0,1fr)}.sidebar-collapsed .sidebar{transform:translateX(-100%);visibility:hidden}.sidebar-scrim{display:none}.topbar{height:54px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);padding:0 22px;background:#fff;gap:12px}.sidebar-collapsed .topbar{padding-left:54px}.breadcrumb{font-size:12px;color:#94879f}.topbar-right{display:flex;align-items:center;gap:20px}.topbar-assets{font-size:11px}.avatar{display:inline-flex;width:34px;height:34px;align-items:center;justify-content:center;font-size:22px;border-radius:7px;flex-shrink:0;line-height:1}.avatar.large{width:56px;height:56px;font-size:35px}.sage{background:#e8e5ed;color:#817290}.amber{background:#f3e9d9;color:#aa8658}.rose{background:#f4e4ee;color:#b980a3}.sky{background:#e5eaf4;color:#7d96b7}.violet{background:#ede5f8;color:#a185c1}.stone{background:#eceaf0;color:#8e8798}
/* Room list */
.dashboard{padding:32px 36px 0;max-width:1400px;margin:auto}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}.page-heading h1{margin:0 0 9px;font-size:23px}.page-heading .subtle{font-size:12px}.table-section{min-height:350px}.section-tools{display:flex;justify-content:space-between;gap:18px;align-items:center;border-bottom:1px solid var(--line);margin-bottom:22px}.filter-tabs{display:flex;gap:24px;align-self:stretch}.filter-tabs button{font-size:12px;padding:11px 0 15px;color:#9b90a7;white-space:nowrap;border-bottom:2px solid transparent;margin-bottom:-1px}.filter-tabs button.active{border-bottom-color:#a58ac8;color:#775b99;font-weight:600}.filter-tabs span{font-size:10px;padding:2px 6px;margin-left:4px;background:#eee7f7;border-radius:3px;color:#9473b6}.search-box{display:flex;align-items:center;gap:7px;margin:0 0 6px;width:190px}.search-box .icon{width:15px;height:15px;color:#b0a2bf}.search-box input{margin:0;border:0;background:none;min-height:30px;padding:6px 0;font-size:11px}.room-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:18px}.room-card{border:1px solid var(--line);border-radius:6px;background:white;overflow:hidden;display:block}.room-card:hover{border-color:#c9b6e1}.room-card-cover{height:85px;position:relative;background:#f2edf9;border-bottom:1px solid #ece5f4;display:flex;align-items:center;justify-content:center}.room-card-symbol .icon{width:29px;height:29px;color:#bfaed4;stroke-width:1.2}.card-id{position:absolute;bottom:12px;left:16px;font:10px monospace;color:#b6a7c6}.locked-badge{position:absolute;top:10px;right:10px;display:flex;gap:4px;align-items:center;background:#fffc;padding:4px 6px;border-radius:4px;font-size:9px;color:#a28bb8}.locked-badge .icon{width:12px;height:12px}.room-card-body{padding:17px}.role{display:inline-flex;padding:3px 6px;border-radius:3px;font-size:10px;line-height:1.4;background:#f0eafa;color:#9b7fbe;white-space:nowrap}.role-owner{background:#ece2f7;color:#9875ba}.role-cohost{background:#eee7f6;color:#9678b5}.role-spectator{background:#eeedf2;color:#9a91a6}.room-card h3{margin:10px 0 7px;overflow-wrap:anywhere}.room-card-body>p{color:#a296af;font-size:11px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;margin-bottom:20px}.room-card-footer{border-top:1px solid #f0ebf5;padding-top:12px;display:flex;align-items:center;gap:9px;font-size:10px;color:#afa1bc}.room-card-footer>span{display:flex;align-items:center;gap:5px}.room-card-footer time{margin-left:auto;font-size:9px}.room-card-footer .icon{width:13px;height:13px}.new-room-card{border:1px dashed #d9cce8;border-radius:6px;min-height:225px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;color:#ac94c4}.new-room-card:hover{background:#f2edf9}.new-room-card>.icon{width:24px;height:24px}.new-room-card strong{font-size:12px;font-weight:500}.new-room-card span{font-size:10px;color:#b4a1c8}.empty-state{grid-column:1/-1;display:flex;flex-direction:column;align-items:center;text-align:center;padding:95px 15px 80px}.empty-state h3{font-size:15px;color:#917d9f;margin-bottom:10px}.empty-state p{color:#afa0bc;font-size:12px;margin-bottom:20px}.page-footer{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding:18px 0;margin-top:30px;font-size:10px;color:#b4a7bf;gap:15px}
/* Board-first room, right information dock */
.in-room .main-shell{height:100dvh;display:flex;flex-direction:column;overflow:hidden}.in-room .topbar{flex-shrink:0}.room-page{flex:1;min-height:0;display:flex;flex-direction:column}.room-heading{height:66px;flex-shrink:0;display:flex;align-items:center;justify-content:space-between;padding:10px 18px;background:white;border-bottom:1px solid var(--line);gap:15px}.room-heading-title{display:flex;align-items:center;gap:12px;min-width:0}.room-heading-title>div{min-width:0}.room-heading h1{margin:0;font-size:17px;letter-spacing:-.4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.room-heading .subtle{font-size:10px;line-height:1.5;margin-top:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:50vw}.back-link{color:#b4a1c6}.room-actions{display:flex;gap:8px;flex-shrink:0}.room-actions .button{font-size:11px;min-height:33px;padding:8px 11px}.room-actions .icon{width:16px;height:16px}.room-layout{display:grid;grid-template-columns:minmax(0,1fr) 280px;flex:1;min-height:0}.room-main{display:flex;flex-direction:column;min-width:0;min-height:0}#board-host{flex:1;min-height:0}.room-dock{border-left:1px solid var(--line);background:#fff;display:flex;flex-direction:column;min-height:0;overflow:hidden}.dock-tabs{display:flex;border-bottom:1px solid #e7dff0;flex-shrink:0;background:#fbf9fe}.dock-tabs button{flex:1;font-size:11px;padding:15px 7px;color:#b09cc3;border-bottom:2px solid transparent;white-space:nowrap}.dock-tabs button[aria-selected=true]{border-bottom-color:#aa8acd;color:#8761aa;background:#f5effc}.dock-tabs button span{font-size:9px;margin-left:4px;color:#b59bcf}.room-dock [role=tabpanel]{padding:18px;overflow:auto;flex:1;min-height:0}.room-dock .dock-foot{padding:14px 16px;border-top:1px solid #efe9f6;color:#b9a9c9;font-size:10px;line-height:1.7;margin-top:auto}.notice-panel,.gm-note-panel{background:#fff}.panel-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:18px}.panel-heading h2{display:flex;align-items:center;gap:6px;font-size:12px;margin:0;color:#9174ac}.panel-heading h2 .icon{width:15px;height:15px;color:#b19ac7}.panel-heading .text-button{font-size:11px}.small-label{font-size:9px;color:#bda7d0;font-weight:400}.multiline{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px;line-height:1.9;color:#7e6c8d}.placeholder{font-size:11px;color:#baaac8}.saved-line{display:flex;gap:5px;align-items:center;font-size:9px;color:#c0b0ce;margin-top:25px}.saved-line .icon{width:12px;height:12px}.member-row{display:flex;align-items:center;gap:9px;padding:13px 0;border-bottom:1px solid #f0ebf6}.member-row.blocked{opacity:.55}.member-avatar{position:relative}.presence{position:absolute;bottom:-1px;right:-1px;width:8px;height:8px;border:2px solid white;border-radius:50%;background:#ddd5e5}.presence.online{background:#a18abe}.member-detail{flex:1;min-width:0}.member-detail strong{font-size:12px;font-weight:500;display:block;overflow-wrap:anywhere}.member-detail>span{font-size:9px;display:block;color:#b39fc4;margin-top:5px}.me-tag{font-size:9px;color:#c0a9d4;font-weight:400;margin-left:6px}.member-manage{width:25px;height:25px}.member-manage .icon{width:14px;height:14px}.ready-check{color:#b097c8}.ready-check .icon{width:15px;height:15px}#leave-control{margin-top:15px;text-align:center}#leave-control button{font-size:10px}.ready-button{background:#f1e8fb;color:#9a79ba;border-color:#d8c7e9}.spectator-note{font-size:11px;color:#ad93c3}.connection{font-size:10px;display:flex;align-items:center;gap:6px;color:#a68fba}.connection:before{content:"";width:5px;height:5px;border-radius:50%;background:#bca7cf}.connection.online:before{background:#ac91c4}.connection.offline{color:#bb887a}
/* Forms and dialogs */
label{display:block;font-size:12px;font-weight:500;color:#8b729f;margin-bottom:18px}.optional{font-size:10px;color:#bca8cc;font-weight:400;margin-left:5px}input,textarea,select{display:block;width:100%;min-height:39px;border:1px solid #dfd3e9;border-radius:5px;background:#fff;color:#6a547f;font-size:12px;margin-top:8px;padding:10px 12px}input::placeholder,textarea::placeholder{color:#c0add1;font-size:11px}input:focus,textarea:focus,select:focus{border-color:#bb9bd6}textarea{resize:vertical;line-height:1.8}select{cursor:pointer}label small{display:block;font-size:10px;color:#b39ac5;font-weight:400;line-height:1.8;margin-top:6px}.form-error{color:#b4697f;background:#f9eef3;border-radius:5px;padding:10px 12px;font-size:11px;line-height:1.8}dialog{padding:25px;border:1px solid #e1d4ed;border-radius:8px;background:#fff;color:var(--ink);width:430px;max-width:calc(100vw - 28px);max-height:calc(100dvh - 40px);box-shadow:0 14px 55px #65507620}dialog.wide{width:580px}dialog::backdrop{background:#43315345}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:20px}.dialog-heading h2{font-size:18px;margin:0;color:#816395}.dialog-description{font-size:11px;color:#a38ab5;line-height:1.8;margin-bottom:22px}.dialog-bottom{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:22px;padding-top:14px;border-top:1px solid #eee3f5}.dialog-actions{display:flex;gap:9px;justify-content:flex-end}.profile-preview{display:flex;align-items:center;gap:14px;margin-bottom:22px}.profile-preview strong{font-size:14px}.profile-preview .subtle{font-size:10px;margin-top:5px}.profile-options{display:grid;grid-template-columns:1fr 1fr;gap:15px}.checkbox-label{display:flex;gap:8px;align-items:flex-start;cursor:pointer}.checkbox-label input{width:15px;height:15px;min-height:0;padding:0;margin:0;accent-color:#ac8bc5}.checkbox-label small{font-size:10px;line-height:1.7}.danger-zone{border-top:1px solid #eee3f5;margin-top:24px;padding-top:16px}.danger-zone p{font-size:10px;color:#bb9eb4;margin:0 0 5px}.copy-field{display:flex;gap:8px;align-items:center;margin-top:8px}.copy-field input{margin:0;min-width:0;font-size:11px}.copy-field button{font-size:11px;min-height:39px}.room-code{display:flex;align-items:center;justify-content:space-between;border:1px dashed #dec9ec;padding:15px;border-radius:5px;margin:20px 0;color:#b093c6;font-size:11px}.room-code strong{font:14px monospace;letter-spacing:1px;color:#9f7bb7}.hint{font-size:10px;color:#b69dc9;line-height:1.8}.role-help,.hint-box{padding:14px;background:#f5eefb;border-radius:5px;margin-bottom:18px}.role-help p{font-size:10px;color:#b79bca;margin:4px 0;line-height:1.8}.role-help strong{color:#a281b8;font-weight:600}.hint-box{font-size:11px;color:#ad8bc5;line-height:1.8;margin-bottom:0}.help-list{padding-left:20px}.help-list li{padding-left:5px;margin-bottom:18px;color:#b99bd0}.help-list strong{font-size:12px;color:#9874b3}.help-list p{font-size:11px;margin:6px 0;line-height:1.8;color:#b096c4}.toast{position:fixed;bottom:22px;left:50%;transform:translateX(-50%);z-index:100;background:#fff;color:#9068ac;border:1px solid #d7bee7;border-radius:6px;padding:12px 19px;font-size:12px;max-width:min(560px,90vw);box-shadow:0 5px 25px #72528b20;line-height:1.6}.toast.error{color:#ae6686;border-color:#e4bed2}.conflict-reload{font-size:11px;margin-bottom:15px}
@media(max-width:1100px){.room-layout{grid-template-columns:minmax(0,1fr) 250px}.dashboard{padding:28px 24px 0}.room-heading{padding:10px 12px}.sidebar{width:184px}.app-shell{grid-template-columns:184px minmax(0,1fr)}.sidebar-collapsed{grid-template-columns:0 minmax(0,1fr)}}
@media(max-width:900px){.app-shell,.sidebar-collapsed{grid-template-columns:0 minmax(0,1fr)}.sidebar{width:210px;box-shadow:5px 0 20px #59436415}.sidebar-scrim{display:block;position:fixed;inset:0;background:#42314c38;z-index:39}.sidebar-collapsed .sidebar-scrim{display:none}.topbar{padding-left:54px}.room-layout{grid-template-columns:minmax(0,1fr) 235px}.topbar-right{gap:10px}}
@media(max-width:680px){.in-room .main-shell{height:auto;min-height:100dvh;overflow:visible}.topbar{height:50px;padding-right:12px}.room-page{flex:none}.room-layout{display:flex;flex-direction:column}.room-main{min-height:460px}.room-dock{border-left:0;border-top:1px solid var(--line);min-height:220px;max-height:420px}.room-dock [role=tabpanel]{min-height:120px}.room-heading{height:62px;gap:7px;padding:8px 10px}.room-heading-title{gap:7px}.room-heading h1{font-size:14px}.room-heading .subtle{font-size:9px;max-width:45vw}.room-heading-title>.role{display:none}.room-actions .button{font-size:10px;padding:7px 8px}.room-heading .back-link{width:25px;height:25px}.dashboard{padding:25px 18px 0}.page-heading{align-items:flex-start;gap:12px;margin-bottom:20px}.page-heading h1{font-size:20px}.page-heading .subtle{font-size:10px}.page-heading>.button{font-size:11px;padding:9px 11px}.section-tools{flex-wrap:wrap;gap:7px}.filter-tabs{gap:18px;width:100%}.filter-tabs button{font-size:11px;padding-bottom:10px}.search-box{width:100%;margin:4px 0 7px}.room-grid{grid-template-columns:1fr 1fr;gap:12px}.room-card-body{padding:12px}.room-card h3{font-size:13px}.room-card-footer time{display:none}.new-room-card{min-height:200px}.page-footer{font-size:9px}.welcome-header{height:54px;padding:0 18px}.welcome-header .brand{font-size:15px}.welcome-entry{padding:40px 16px 25px}.entry-card{padding:25px}.entry-card h2{font-size:20px}dialog{padding:21px}.dialog-heading h2{font-size:17px}.toast{bottom:14px;font-size:11px;width:max-content}}
@media(max-width:390px){.room-grid{grid-template-columns:1fr}.new-room-card{min-height:100px}.topbar-assets{display:none}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* Maintain readable text contrast on the light surfaces. */
label{color:#786489}.hint,.dialog-description,.entry-note,.help-list p{color:#927da3}.multiline{color:#6b587d}.role{color:#86659f}.role-owner{color:#806095}.room-heading .subtle,.member-detail>span{color:#9a85ac}.dock-tabs button{color:#9a7faf}.dock-tabs button[aria-selected=true]{color:#77528e}.room-dock .dock-foot{color:#a38cb5}.placeholder{color:#a68fb6}.small-label,.saved-line{color:#aa91ba}
