:root{font-family:Inter,system-ui,-apple-system,"Noto Sans KR",sans-serif;color:#161616;background:#f7f7f5}*{box-sizing:border-box}body{margin:0}.shell{display:flex;min-height:100vh}.hidden{display:none!important}.sidebar{width:248px;background:#111;color:#fff;display:flex;flex-direction:column;padding:28px 18px;flex-shrink:0}.brand{display:flex;align-items:center;gap:10px;font-size:18px;font-weight:650;letter-spacing:-.6px;margin-bottom:58px}.brand b{font-weight:400;color:#aaa}.logo{display:grid;place-items:center;background:#ffc800;color:#111;border-radius:12px;width:43px;height:43px;font-weight:900}.side-label{color:#858585;font-size:11px;letter-spacing:2px;margin:0 14px 14px}nav{display:grid;gap:7px}nav button{color:#aaa;border:0;background:none;text-align:left;padding:13px 15px;border-radius:10px;font-size:14px;cursor:pointer}nav button.active,nav button:hover{color:#fff;background:#303030}.side-foot{margin-top:auto;color:#777;font-size:11px;padding:15px}main{width:100%;max-width:1250px;padding:53px clamp(22px,5vw,75px);margin:auto}header{display:flex;justify-content:space-between;gap:15px;align-items:flex-start;margin-bottom:24px}.header-right{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.eyebrow{font-size:11px;color:#888;letter-spacing:2px;font-weight:700}h1{font-size:32px;letter-spacing:-1.5px;margin:11px 0 8px}h2{font-size:19px;letter-spacing:-.6px;margin:0 0 15px}.sub{color:#777;font-size:14px;margin:0;line-height:1.6}.status{white-space:nowrap;background:#fff;border:1px solid #e8e8e8;padding:9px 13px;border-radius:30px;color:#666;font-size:12px}.notice{font-size:13px;color:#655000;margin-bottom:18px}.notice:empty{display:none}.panel,.stat{background:white;border:1px solid #ebebeb;border-radius:18px;padding:27px;margin-bottom:20px}.panel-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}.panel-head h2{margin:0}.panel-head span{font-size:12px;color:#999}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.project{border:1px solid #e8e8e8;border-radius:13px;padding:22px;min-height:198px;background:#fff;text-align:left;cursor:pointer}.project:hover{border-color:#aaa}.project-icon{display:grid;place-items:center;width:40px;height:40px;background:#ffc800;border-radius:11px;font-weight:900;margin-bottom:21px}.project h3{margin:0 0 7px;font-size:17px}.project p{color:#777;font-size:13px;margin:0 0 16px;line-height:1.5}.project small,.muted{color:#777;font-size:13px;line-height:1.7}.project small{color:#999;font-size:11px}.project-list{display:grid;gap:12px}.project-row{padding:19px;border:1px solid #e7e7e7;border-radius:13px}.project-row h3{font-size:17px;margin:0 0 8px}.project-row p{font-size:13px;color:#666;margin:0 0 8px}.pill{font-size:11px;background:#f4f4f4;padding:6px 9px;border-radius:15px;color:#555}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-bottom:20px}.stat{display:flex;flex-direction:column;gap:12px}.stat small{color:#888}.stat strong{font-size:23px}.alert{background:#fff8df;padding:13px;border-radius:10px;font-size:12px;color:#815a00;line-height:1.6}.fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:22px 0}label{display:grid;gap:9px;font-size:13px;font-weight:600}input,select,textarea{font:inherit;min-height:43px;border:1px solid #dcdcdc;border-radius:9px;padding:11px;background:#fff;color:#111;max-width:100%;width:100%}input:disabled,select:disabled,textarea:disabled{background:#f5f5f5;color:#666}button{font:inherit}main button:not(nav button),.auth button{border:0;background:#111;color:#fff;border-radius:10px;padding:12px 18px;font-size:13px;cursor:pointer}button:disabled{cursor:not-allowed!important;opacity:.4}.toolbar{display:flex;gap:10px;margin:12px 0 18px}main button.secondary,main button.quiet{color:#111;background:#f0f0f0}.editor-label{margin:12px 0 7px}.editor{min-height:340px;resize:vertical;line-height:1.6;font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.footnote{font-size:12px;color:#888;line-height:1.6;margin-top:15px}.auth{position:fixed;inset:0;background:#f7f7f5;z-index:30;display:grid;place-items:center;padding:20px}.auth-card{background:#fff;border:1px solid #e9e9e9;border-radius:17px;width:min(420px,100%);padding:32px;box-shadow:0 18px 60px #00000010}.auth-card .brand{margin-bottom:40px}.dark{color:#111}.auth-card form{display:grid;gap:19px}.auth-card button{margin-top:10px}footer{color:#aaa;font-size:11px;margin-top:25px}@media(max-width:760px){.shell{display:block}.sidebar{width:100%;padding:15px;gap:10px}.brand{margin:0}.side-label,.side-foot{display:none}nav{display:flex;overflow-x:auto}nav button{white-space:nowrap;padding:10px}main{padding:28px 17px}header{display:block}.header-right{margin-top:15px}h1{font-size:27px}.cards,.stats,.fields{grid-template-columns:1fr}.panel{padding:20px}.project{min-height:160px}}
.project{padding:0;overflow:hidden;display:flex;flex-direction:column}
.project-open{display:block!important;background:none!important;color:#111!important;text-align:left!important;border:0!important;border-radius:0!important;padding:21px!important;cursor:pointer!important;flex:1}
.project-open:hover{background:#fafafa!important}
.project-open .project-icon{margin-bottom:18px}
.card-footer{display:flex;gap:8px;justify-content:space-between;align-items:center;padding:11px 17px;border-top:1px solid #eee}
.repo-state,.preview-off{font-size:11px;color:#777}
.preview-link{font-size:12px;color:#121212;text-decoration:none;font-weight:700;background:#ffc800;border-radius:7px;padding:8px}
.preview-link:hover{background:#ebba00}
details{border-top:1px solid #eaeaea;margin-top:23px;padding-top:23px}
details summary{cursor:pointer;display:inline-block;background:#111;color:#fff;font-size:13px;padding:12px 16px;border-radius:10px}
details form{margin-top:20px}
#new-project-result,#link-result{margin-top:12px}
.auth-card .footnote{margin-bottom:20px}

.workspace-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px;margin:20px 0}
.stream-box{border:1px solid #e5e5e5;border-radius:14px;padding:20px;display:grid;gap:13px;align-content:start}
.stream-box h3{margin:0;font-size:16px}.stream-box form{display:grid;gap:12px;margin-top:8px}
.resource-groups{display:grid;gap:12px;margin-top:20px}.resource-group{background:#fafafa;border-radius:12px;padding:18px}
.resource-group h3{font-size:14px;margin:0 0 12px}.resource-row{display:flex;gap:12px;align-items:center;flex-wrap:wrap;padding:9px 0;border-top:1px solid #eaeaea}
.resource-row a{font-size:13px;color:#111;font-weight:600}.resource-row small{color:#777;font-size:12px;flex:1}
.resource-row button{margin-left:auto}.member-chips{display:flex;flex-wrap:wrap;gap:7px}
#invite-copy,#ws-invite-copy{display:flex;gap:8px;margin:12px 0;align-items:center;flex-wrap:wrap}
#invite-copy input,#ws-invite-copy input{flex:1;min-width:180px}

.module-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:14px}
.module-card{border:1px solid #e5e5e5;background:#fff;border-radius:14px;padding:18px;min-width:0}
.module-card-top,.module-actions{display:flex;justify-content:space-between;gap:10px;align-items:center;flex-wrap:wrap}
.module-card-top strong{font-size:16px}.module-actions{margin:14px 0}.module-card form{border-top:1px solid #eee;padding-top:14px;display:grid;gap:12px}
.module-card .muted{min-height:34px}

.invitation-success{display:grid;gap:12px;border:1px solid #dedede;background:#fff;padding:20px;border-radius:14px;max-width:580px}
.invitation-success h3{font-size:18px;margin:0}
.invitation-success p{margin:0}
.invitation-success input{font-size:12px}
.invitation-success .invite-copy-button{font-size:15px!important;font-weight:700;min-height:52px}
.invitation-success button.secondary{background:#f2f2f2!important;color:#111!important}

/* Test launcher: simple vertical list; only game URLs leave the private DOC site. */
.test-page{min-height:500px}
.test-page-heading{margin-bottom:27px}
.test-page-heading h2{font-size:22px;margin-bottom:8px}
.test-list{display:flex;flex-direction:column;gap:13px;max-width:670px}
.test-entry{display:flex;align-items:center;justify-content:space-between;gap:14px;border:1px solid #e9e9e9;border-radius:15px;padding:14px;background:#fff}
.test-game-open{display:flex;align-items:center;gap:16px;flex:1;min-width:0;color:#151515;text-decoration:none;border-radius:12px}
.test-game-open[href]:hover .test-game-icon{transform:scale(1.06);background:#ffda34}
.test-game-open.unavailable{opacity:.55}
.test-game-icon{display:grid;place-items:center;flex:0 0 66px;width:66px;height:66px;border-radius:17px;background:#ffc800;color:#111;font-size:29px;font-weight:800;transition:transform .15s,background .15s}
.test-game-details{display:grid;gap:6px;min-width:0}
.test-game-details strong{font-size:15px;line-height:1.35}
.test-game-details small{color:#888;font-size:11px}
.test-launch-label{font-size:12px;font-weight:650;color:#555}
.test-actions{display:grid;gap:7px;width:122px;flex-shrink:0}
main .test-actions button{background:#111;color:#fff;font-weight:700;padding:12px!important}
.test-actions input{max-width:130px;font-size:11px}
@media(max-width:480px){
 .test-entry{gap:8px;padding:10px}
 .test-game-icon{flex-basis:52px;width:52px;height:52px;font-size:23px;border-radius:12px}
 .test-game-open{gap:10px}
 .test-actions{width:88px}
 main .test-actions button{font-size:11px;padding:11px 7px!important}
 .test-game-details strong{font-size:13px}
}
