.cp-app{--cp-ink:#243441;--cp-muted:#657782;--cp-teal:#087f84;--cp-teal-dark:#07666b;--cp-line:#e2e9e8;--cp-soft:#f4f8f7;--cp-radius:18px;max-width:1440px;margin:20px auto;background:#fff;color:var(--cp-ink);font:15px/1.5 "Segoe UI",system-ui,-apple-system,BlinkMacSystemFont,sans-serif;border:1px solid #e5eceb;border-radius:22px;box-shadow:0 16px 60px #2444450b;overflow:hidden;text-align:left;isolation:isolate}
.cp-app *{box-sizing:border-box}.cp-app h1,.cp-app h2,.cp-app h3,.cp-app p{margin:0}.cp-app h1,.cp-app h2,.cp-app h3{font-family:inherit;color:var(--cp-ink);line-height:1.2;font-weight:750;letter-spacing:-.035em}.cp-app button,.cp-app input,.cp-app select,.cp-app textarea{font:inherit;line-height:1.4;letter-spacing:normal}.cp-app button{cursor:pointer;touch-action:manipulation}.cp-app button:disabled{cursor:default;opacity:.55}.cp-app button:focus-visible,.cp-app a:focus-visible{outline:3px solid #eaa922;outline-offset:3px}.cp-app a{color:inherit;text-decoration:none}.cp-app .cp-icon{width:21px;height:21px;flex:none;vertical-align:middle}.cp-app .cp-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:24px 30px;border-bottom:1px solid var(--cp-line)}
.cp-app .cp-brand{display:flex;align-items:center;gap:11px;font-size:24px;font-weight:760;letter-spacing:-1px;white-space:nowrap}.cp-app .cp-brand b{color:var(--cp-teal)}.cp-app .cp-brand small{display:block;font-size:8px;font-weight:700;letter-spacing:1.6px;color:#7a888e;margin-top:3px}.cp-app .cp-logo{display:grid;place-items:center;width:46px;height:50px;transform:rotate(-7deg);border-radius:14px;background:var(--cp-teal);color:white;box-shadow:3px 4px 0 #bbdfd8}.cp-app .cp-logo .cp-icon{width:28px;height:28px}.cp-app .cp-nav{display:flex;align-items:center;gap:5px;padding:4px;background:#f2f6f5;border-radius:12px}.cp-app .cp-nav button{display:flex;align-items:center;gap:8px;white-space:nowrap;padding:10px 14px;border:0;background:transparent;color:#64767d;font-size:13px;font-weight:650;border-radius:9px}.cp-app .cp-nav button.is-active{color:var(--cp-teal);background:white;box-shadow:0 2px 7px #1b474a12}.cp-app .cp-nav .cp-icon{width:18px;height:18px}.cp-app .cp-account{display:flex;align-items:center;gap:9px;font-size:12px;font-weight:700}.cp-app .cp-account small{display:block;font-size:10px;font-weight:400;color:var(--cp-muted);margin-top:3px}.cp-app .cp-avatar{display:grid;place-items:center;width:35px;height:35px;border-radius:50%;background:#fff0d6;color:#a37623}
.cp-app .cp-game-layout{display:grid;grid-template-columns:315px minmax(0,1fr);min-height:750px}.cp-app .cp-sidebar{background:#fbfcfa;border-right:1px solid var(--cp-line);padding:27px 20px 20px;min-width:0}.cp-app .cp-eyebrow{display:flex;align-items:center;gap:12px;font-size:9px;font-weight:750;letter-spacing:1.8px;color:#72857f}.cp-app .cp-sidebar-head h2{font-size:22px;margin:10px 0}.cp-app .cp-sidebar-head h2>span{display:inline-grid;place-items:center;min-width:25px;height:25px;font-size:11px;background:#eaf1ed;border-radius:8px;vertical-align:middle;margin-left:5px;letter-spacing:0;color:#53716c}.cp-app .cp-sidebar-head p{font-size:12px;color:var(--cp-muted)}.cp-app .cp-progress-label{display:flex;justify-content:space-between;font-size:10px;margin:27px 0 8px;color:var(--cp-muted)}.cp-app .cp-progress-label b{color:var(--cp-teal)}.cp-app .cp-progress-track{height:5px;background:#e5eeea;border-radius:9px;overflow:hidden}.cp-app .cp-progress-track>span{display:block;height:100%;background:var(--cp-teal);border-radius:9px}.cp-app .cp-filters{display:flex;gap:4px;margin:22px 0 14px}.cp-app .cp-filters button{border:0;padding:7px 10px;font-size:11px;font-weight:600;color:#6e7f7d;background:transparent;border-radius:7px}.cp-app .cp-filters button.is-active{background:#dceee9;color:var(--cp-teal-dark)}.cp-app .cp-level-list{display:flex;flex-direction:column;gap:7px;max-height:525px;overflow:auto;scrollbar-width:thin;scrollbar-color:#c9d9d3 transparent;padding-right:4px}.cp-app .cp-level{display:flex;align-items:center;gap:10px;width:100%;text-align:left;border:1px solid transparent;border-radius:11px;padding:12px 10px;background:transparent;color:var(--cp-ink);min-height:70px;flex-shrink:0}.cp-app .cp-level:hover{background:#eff5f0}.cp-app .cp-level.is-active{border-color:#81b7a8;background:#e8f3ed;box-shadow:0 3px 7px #1e655407}.cp-app .cp-level-number{display:grid;place-items:center;flex:none;width:33px;height:35px;border-radius:9px;background:#eef0e8;color:#8c927d;font-size:12px;font-weight:750}.cp-app .cp-level.is-active .cp-level-number{background:var(--cp-teal);color:white}.cp-app .cp-level-number.is-done{background:#dcf0e4;color:var(--cp-teal)}.cp-app .cp-level-info{min-width:0;flex:1}.cp-app .cp-level-info b{display:block;font-size:11px;font-weight:700;line-height:1.4;overflow-wrap:anywhere}.cp-app .cp-level-info small{display:block;color:#7a8881;font-size:9px;margin-top:5px}.cp-app .cp-level-info i{font-style:normal;margin:0 4px}.cp-app .cp-stars{display:inline-flex;gap:2px;color:#d6dfd9;font-size:16px;white-space:nowrap;letter-spacing:0}.cp-app .cp-stars .is-earned{color:#eebd44}.cp-app .cp-level .cp-stars{font-size:11px;gap:0}.cp-app .cp-level .cp-level-arrow{width:12px;color:#748e82;display:none}.cp-app .cp-sidebar-tip{display:flex;gap:9px;color:#70857b;background:#eef3e9;border:1px solid #e2eadb;border-radius:11px;padding:13px;margin-top:22px}.cp-app .cp-sidebar-tip>.cp-icon{width:18px;height:18px;color:#96a36d;margin-top:2px}.cp-app .cp-sidebar-tip p{font-size:10px;line-height:1.8}.cp-app .cp-sidebar-tip b{color:#526c5f;font-size:10px}
.cp-app .cp-game-main{min-width:0;padding:28px 34px;background:#fff}.cp-app .cp-game-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px}.cp-app .cp-game-head h1{font-size:30px;margin:10px 0 8px}.cp-app .cp-game-head p{font-size:12px;color:var(--cp-muted);max-width:640px}.cp-app .cp-difficulty{font-size:9px;letter-spacing:.2px;padding:4px 8px;background:#e8f3ec;color:#548365;border-radius:5px;font-weight:650}.cp-app .cp-difficulty-2{background:#fff2d8;color:#967225}.cp-app .cp-difficulty-3{background:#eee7f6;color:#835a9f}.cp-app .cp-metrics{display:flex;border:1px solid var(--cp-line);border-radius:12px;margin:22px 0 18px;background:#fdfefd}.cp-app .cp-metrics>div{display:flex;align-items:center;gap:10px;flex:1;padding:12px 18px}.cp-app .cp-metrics>div+div{border-left:1px solid var(--cp-line)}.cp-app .cp-metrics .cp-icon{color:#88a69b;width:19px}.cp-app .cp-metrics span{font-size:9px;color:#7b8b82}.cp-app .cp-metrics b{display:block;font-size:17px;line-height:1.4;margin-top:2px;color:#2e4e48;font-variant-numeric:tabular-nums}.cp-app .cp-metrics .cp-par{flex:1.6}.cp-app .cp-metrics .cp-par b{font-size:12px;margin-top:6px}.cp-app .cp-par .cp-icon{color:#d3b36b}
.cp-app .cp-board-stage{border-radius:17px;overflow:hidden;border:1px solid #d1e6df;background:#e3f0ed}.cp-app .cp-stage-label{display:flex;align-items:center;justify-content:center;gap:7px;background:#f0f6ee;min-height:32px;font-size:8px;letter-spacing:1.9px;font-weight:700;color:#698578}.cp-app .cp-led{height:5px;width:5px;border-radius:50%;background:#8caf89;box-shadow:0 0 0 3px #8caf8918}.cp-app .cp-wall{display:flex;justify-content:center;padding:30px 46px;background-color:#bcdfd8;background-image:linear-gradient(90deg,transparent calc(100% - 2px),#ecfffaad calc(100% - 2px)),linear-gradient(0deg,transparent calc(100% - 2px),#ecfffaad calc(100% - 2px)),linear-gradient(130deg,#ffffff40,transparent 45%,#4d9e9620);background-size:61px 61px,61px 61px,100% 100%;box-shadow:inset 0 0 30px #3c8d8a10}.cp-app .cp-grid-wrap{width:100%;max-width:552px;padding:13px;border:5px solid #624133;border-radius:10px;background:#886042;box-shadow:0 5px 0 #497c6e55,inset 0 0 0 2px #ad8360,0 9px 22px #244b3d28}.cp-app .cp-grid{display:grid;grid-template-columns:repeat(var(--cp-cols),minmax(0,1fr));grid-template-rows:repeat(var(--cp-rows),minmax(0,1fr));aspect-ratio:var(--cp-cols)/var(--cp-rows);position:relative;background:#6c4a35;border:1px solid #523728;box-shadow:0 0 0 4px #4a352c35}.cp-app .cp-tile{appearance:none;display:block;padding:0;width:100%;height:auto;aspect-ratio:1;border:0;border-right:1px solid #4d342c55;border-bottom:1px solid #3d281c55;border-radius:0;position:relative;min-width:0;background-color:#76513c;background-image:linear-gradient(0deg,transparent 0 46%,#472e2522 47% 49%,transparent 50%),radial-gradient(ellipse at 20% 25%,#a0784c66,transparent 70%),linear-gradient(145deg,#956b4b15,#432a211a);transition:background-color .15s;outline-offset:-3px}.cp-app .cp-tile:nth-child(even){background-color:#795740}.cp-app .cp-tile:hover:not(:disabled){background-color:#9e7650;box-shadow:inset 0 0 0 2px #ffea9d80;z-index:1}.cp-app .cp-tile:disabled{opacity:1}.cp-app .cp-tile svg{display:block;position:relative;width:100%;height:100%;overflow:visible;pointer-events:none}.cp-app .cp-tile.is-hint{box-shadow:inset 0 0 0 4px #c2ff96;z-index:1}.cp-app .cp-tile.is-leaking{box-shadow:inset 0 0 0 2px #f69b7380}.cp-app .cp-tile.is-wet{background-color:#5a6550}.cp-app .cp-water-glint{animation:cp-water-flow 1.1s linear infinite}.cp-app .cp-port{position:absolute;display:grid;place-items:center;z-index:2;width:30px;height:30px;border-radius:50%;border:3px solid #d5e5c9;box-shadow:0 1px 5px #263b3c40;color:white;background:#169ca5;pointer-events:none}.cp-app .cp-port-1,.cp-app .cp-port-4{transform:translateX(-50%)}.cp-app .cp-port-2,.cp-app .cp-port-8{transform:translateY(-50%)}.cp-app .cp-sink{background:#527e4b}.cp-app .cp-port .cp-icon{width:17px;height:17px}.cp-app .cp-stage-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 18px;background:#e9f3ed;color:#829287;font-size:8px}.cp-app .cp-stage-bottom>span{display:flex;align-items:center;gap:5px}.cp-app .cp-stage-bottom .cp-icon{width:13px;height:13px}.cp-app .cp-stage-bottom b{color:#47726b;font-size:8px}
.cp-app .cp-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap;border:1px solid transparent;border-radius:9px;padding:11px 15px;background:#edf3f0;color:#315b50;font-size:12px;font-weight:650;line-height:1.4;min-height:40px}.cp-app .cp-btn:hover{filter:brightness(.97)}.cp-app .cp-btn .cp-icon{width:17px;height:17px}.cp-app .cp-btn-primary{background:var(--cp-teal);border-color:var(--cp-teal-dark);color:white;box-shadow:0 3px 0 var(--cp-teal-dark);padding:12px 21px}.cp-app .cp-btn-primary:hover{background:#076e75;filter:none}.cp-app .cp-btn-secondary{background:white;border-color:#dce5de;color:#6b7d71}.cp-app .cp-btn-icon{padding:8px;width:34px;min-height:34px;background:transparent;border:1px solid #e2e8e1;color:#849082}.cp-app .cp-btn-small{padding:7px 11px;min-height:32px;font-size:11px}.cp-app .cp-btn-danger{background:#fff2ef;border-color:#eaccc4;color:#a04b3d}.cp-app .cp-controls{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:19px}.cp-app .cp-controls>div{display:flex;gap:8px}.cp-app .cp-game-status{display:flex;align-items:flex-start;gap:7px;min-height:38px;margin-top:20px;color:#89978c;font-size:10px}.cp-app .cp-game-status .cp-icon{height:14px;width:14px;margin-top:1px}.cp-app .cp-game-status.has-water{color:var(--cp-teal)}.cp-app .cp-footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid var(--cp-line);padding:16px 28px;background:#fcfdfb;font-size:10px;color:#8b978c;gap:15px}.cp-app .cp-footer>span:first-child{display:flex;align-items:center;gap:6px;font-weight:650;color:#789283}.cp-app .cp-footer .cp-icon{width:14px;height:14px}.cp-app .cp-footer button{padding:0;border:0;color:#779285;background:transparent;font-size:10px}.cp-app .cp-loading{padding:100px 20px;text-align:center;color:var(--cp-teal)}.cp-app .cp-empty-stage{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;min-height:500px;gap:18px;color:#789082}.cp-app .cp-empty-stage>.cp-icon{width:65px;height:65px;color:#a7cfc0}.cp-app .cp-empty-stage p{max-width:340px;font-size:13px}.cp-app .cp-page{padding:36px;min-height:620px;background:#fff}.cp-app .cp-page-title{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:32px}.cp-app .cp-page-title h1{font-size:30px;margin:10px 0}.cp-app .cp-page-title p{color:var(--cp-muted);font-size:13px;max-width:740px}.cp-app .cp-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:25px 0 40px}.cp-app .cp-summary>div{display:grid;grid-template-columns:auto 1fr;gap:2px 15px;padding:24px;background:#f2f7f1;border:1px solid #e0eadb;border-radius:14px}.cp-app .cp-summary .cp-icon{grid-row:span 2;align-self:center;color:#7aa392;width:30px;height:30px}.cp-app .cp-summary strong{font-size:30px;color:#305b4b}.cp-app .cp-summary span{font-size:11px;color:#81917b}.cp-app .cp-page>h2{font-size:20px;margin-bottom:20px}.cp-app .cp-table-wrap{overflow:auto;border:1px solid var(--cp-line);border-radius:13px}.cp-app table{border-collapse:collapse;width:100%;background:white;font-size:12px;margin:0}.cp-app th{font-size:10px;color:#809082;background:#f7faf5;text-align:left;padding:15px 17px;white-space:nowrap;font-weight:650}.cp-app td{padding:15px 17px;border-top:1px solid var(--cp-line);color:#556d62;white-space:nowrap}.cp-app .cp-empty{text-align:center;padding:48px 20px;background:#f9fbf7;border:1px dashed #dbe6d6;border-radius:13px;color:#7e9180;font-size:12px}.cp-app .cp-empty>.cp-icon{width:35px;height:35px;color:#b1c5a8;margin-bottom:15px}.cp-app .cp-empty h3{margin-bottom:10px;font-size:20px}.cp-app .cp-teacher-bar{display:flex;justify-content:space-between;gap:20px;margin-bottom:24px}.cp-app .cp-segmented{display:inline-flex;gap:4px;padding:4px;border-radius:10px;background:#f0f5ee}.cp-app .cp-segmented button{border:0;background:transparent;color:#7b8b78;font-size:12px;border-radius:7px;padding:10px 15px}.cp-app .cp-segmented button.is-active{background:white;color:var(--cp-teal);box-shadow:0 2px 8px #355a3e0d}.cp-app .cp-teacher-tools{display:flex;gap:8px}.cp-app .cp-search{display:block;margin-bottom:24px;max-width:380px;font-size:10px;color:#6d8476;font-weight:600}.cp-app .cp-search input{display:block;width:100%;margin-top:7px;padding:11px 14px;border:1px solid #dce5d7;border-radius:9px;background:white;color:#456554;font-size:12px}.cp-app .cp-teacher-levels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.cp-app .cp-teacher-card{display:flex;align-items:center;gap:19px;border:1px solid var(--cp-line);border-radius:13px;padding:17px;background:#fff}.cp-app .cp-mini-board{flex:none;display:grid;grid-template-columns:repeat(var(--cp-cols),1fr);width:102px;height:102px;padding:5px;border-radius:7px;background:#75533a;box-shadow:inset 0 0 0 2px #9d7851}.cp-app .cp-mini-board span{min-width:0;aspect-ratio:1;border:1px solid #52362622}.cp-app .cp-mini-board svg{width:100%;height:100%;display:block}.cp-app .cp-teacher-card-info{min-width:0}.cp-app .cp-teacher-card h2{font-size:18px;margin:8px 0 7px;overflow-wrap:anywhere}.cp-app .cp-teacher-card p{font-size:10px;color:#84917e}.cp-app .cp-card-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:13px}.cp-app .cp-publish{font-size:8px;letter-spacing:0;color:#9a8465;background:#fbf1dc;border-radius:4px;padding:3px 5px;white-space:nowrap}.cp-app .cp-publish.is-live{color:#6e9165;background:#edf6e8}.cp-app .cp-muted{color:#83917e;font-size:11px;margin:12px 0!important}.cp-app .cp-editor-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:30px}.cp-app .cp-editor-settings{display:flex;flex-direction:column;gap:15px}.cp-app .cp-editor-settings label{display:block;font-size:11px;font-weight:600;color:#6c8171}.cp-app .cp-editor-settings input:not([type=checkbox]),.cp-app .cp-editor-settings textarea,.cp-app .cp-editor-settings select{display:block;width:100%;border:1px solid #d9e4d6;border-radius:8px;background:white;min-height:40px;padding:9px 11px;color:#335646;font-size:12px;margin-top:7px;box-shadow:none}.cp-app .cp-editor-settings textarea{resize:vertical}.cp-app .cp-form-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}.cp-app .cp-checkbox{display:flex!important;align-items:center;gap:9px}.cp-app .cp-checkbox input{accent-color:var(--cp-teal);width:16px;height:16px}.cp-app .cp-editor-explain{display:flex;gap:10px;background:#f1f7eb;border-radius:10px;padding:15px;color:#7d8e71}.cp-app .cp-editor-explain .cp-icon{width:18px;height:18px}.cp-app .cp-editor-explain p{font-size:10px;line-height:1.8}.cp-app .cp-palette{display:grid;grid-template-columns:repeat(9,minmax(0,1fr));gap:5px;margin-bottom:16px}.cp-app .cp-palette>button{border:1px solid #dbe5d4;background:#f7faf4;border-radius:9px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:5px;padding:7px 3px;min-width:0;color:#72836b}.cp-app .cp-palette>button.is-active{background:#dfeee1;border-color:#75a687;box-shadow:0 0 0 1px #75a687}.cp-app .cp-palette svg{width:28px;height:28px}.cp-app .cp-palette span{font-size:7px;white-space:nowrap}.cp-app .cp-editor-stage .cp-wall{padding:30px 35px}.cp-app .cp-editor-stage .cp-grid-wrap{max-width:520px}.cp-app .cp-preview-grid{display:grid;grid-template-columns:repeat(var(--cp-cols),minmax(0,1fr));width:100%;max-width:390px;margin:18px auto;border:8px solid #79553a;border-radius:5px}.cp-app .cp-preview-grid .cp-tile{display:block}.cp-app .cp-preview-grid .cp-tile svg{width:100%;height:100%}.cp-app .cp-demo-banner{padding:8px 20px;background:#fff4d9;color:#987827;font-size:10px;text-align:center;letter-spacing:.2px}.cp-app .cp-toast{position:fixed;z-index:10001;bottom:28px;left:50%;transform:translateX(-50%);max-width:min(600px,calc(100vw - 30px));background:#174f48;color:#fff;border:1px solid #368477;border-radius:12px;box-shadow:0 10px 35px #153a4133;padding:15px 22px;font-size:13px;animation:cp-toast-in .2s ease-out}.cp-app .cp-toast.is-error{background:#833f36;border-color:#a8584c}.cp-app .cp-modal-backdrop{position:fixed;inset:0;z-index:9999;display:flex;align-items:center;justify-content:center;background:#193f3a66;backdrop-filter:blur(5px);padding:20px}.cp-app .cp-modal{background:#fffefa;border:1px solid #f0f3e6;width:100%;max-width:530px;max-height:calc(100dvh - 40px);overflow:auto;border-radius:22px;padding:28px 32px;box-shadow:0 25px 90px #17353038}.cp-app .cp-modal-top{display:flex;align-items:flex-start;justify-content:space-between;margin-bottom:20px}.cp-app .cp-modal-icon{display:grid;place-items:center;border-radius:15px;width:54px;height:54px;background:#e8f2df;color:#6b9968}.cp-app .cp-modal-icon>.cp-icon{width:29px;height:29px}.cp-app .cp-modal h2{font-size:27px;margin-bottom:15px}.cp-app .cp-modal p{font-size:13px;color:#7e8c78;line-height:1.8}.cp-app .cp-modal-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap;margin-top:24px}.cp-app .cp-help{padding-left:21px;margin:15px 0;color:#7b8b76;font-size:12px;line-height:1.85}.cp-app .cp-help li{padding-left:6px;margin-bottom:13px}.cp-app .cp-help b{color:#486a50}.cp-app .cp-win-stars{display:flex;justify-content:center;margin:15px 0}.cp-app .cp-win-stars .cp-stars{font-size:53px;gap:10px;text-shadow:0 3px 0 #d7b67622}.cp-app .cp-win-stats{display:flex;justify-content:space-around;gap:12px;background:#f2f7ed;border-radius:12px;margin:15px 0;padding:16px;font-size:11px;color:#819175}.cp-app .cp-win-stats b{display:block;color:#426a45;font-size:22px;text-align:center}
@keyframes cp-water-flow{to{stroke-dashoffset:-24}}@keyframes cp-toast-in{from{opacity:0;translate:0 10px}to{opacity:1;translate:0 0}}
@media(min-width:1250px){.cp-app .cp-game-main{padding:30px 45px}.cp-app .cp-wall{padding:30px 68px}.cp-app .cp-game-layout{grid-template-columns:330px minmax(0,1fr)}}
@media(max-width:1100px){.cp-app .cp-header{padding:20px}.cp-app .cp-brand{font-size:21px}.cp-app .cp-brand small{font-size:6.5px;letter-spacing:1.2px}.cp-app .cp-nav button{padding:10px;font-size:11px}.cp-app .cp-account>span:last-child{display:none}.cp-app .cp-game-layout{grid-template-columns:260px minmax(0,1fr)}.cp-app .cp-sidebar{padding:24px 14px}.cp-app .cp-level{gap:8px;padding:10px 8px}.cp-app .cp-level-number{width:29px;height:31px}.cp-app .cp-level .cp-stars{display:none}.cp-app .cp-game-main{padding:25px}.cp-app .cp-wall{padding:30px 35px}.cp-app .cp-game-head h1{font-size:26px}.cp-app .cp-metrics>div{padding:12px}.cp-app .cp-stage-bottom>span:nth-child(2){font-size:0}.cp-app .cp-stage-bottom>span:nth-child(2)>.cp-icon{display:none}.cp-app .cp-teacher-levels{grid-template-columns:1fr}.cp-app .cp-palette{grid-template-columns:repeat(5,1fr)}}
@media(max-width:760px){.cp-app{margin:0;border-radius:0;border:0}.cp-app .cp-header{flex-wrap:wrap;padding:17px 18px;gap:18px}.cp-app .cp-brand{font-size:22px}.cp-app .cp-brand small{font-size:7px}.cp-app .cp-nav{order:3;width:100%;justify-content:space-between}.cp-app .cp-nav button{flex:1;justify-content:center;font-size:11px;gap:6px}.cp-app .cp-account{margin-left:auto}.cp-app .cp-game-layout{display:flex;flex-direction:column}.cp-app .cp-sidebar{border-right:0;border-bottom:1px solid var(--cp-line);padding:18px}.cp-app .cp-sidebar-head{display:flex;align-items:center;justify-content:space-between;gap:15px}.cp-app .cp-sidebar-head>.cp-eyebrow,.cp-app .cp-sidebar-head>p{display:none}.cp-app .cp-sidebar-head h2{font-size:19px;margin:0}.cp-app .cp-progress-label{margin:12px 0 5px}.cp-app .cp-progress-track{height:4px}.cp-app .cp-filters{margin:12px 0}.cp-app .cp-level-list{flex-direction:row;overflow-x:auto;max-height:unset;gap:8px;scroll-snap-type:x proximity;padding-bottom:5px}.cp-app .cp-level{width:205px;min-height:58px;scroll-snap-align:start;background:#f1f5ef;gap:8px;padding:8px}.cp-app .cp-level-info b{font-size:10px}.cp-app .cp-level-info small{font-size:8px;margin-top:4px}.cp-app .cp-level-number{width:29px;height:32px;font-size:10px}.cp-app .cp-sidebar-tip{display:none}.cp-app .cp-game-main{padding:24px 18px}.cp-app .cp-game-head h1{font-size:27px}.cp-app .cp-game-head p{font-size:11px;line-height:1.7}.cp-app .cp-metrics{margin:18px 0 15px}.cp-app .cp-metrics>div{gap:7px;padding:11px 10px}.cp-app .cp-metrics>.cp-par{flex:1.5}.cp-app .cp-metrics b{font-size:16px}.cp-app .cp-metrics .cp-par b{font-size:10px}.cp-app .cp-metrics .cp-icon{width:16px}.cp-app .cp-metrics span{font-size:8px}.cp-app .cp-wall{padding:30px 27px}.cp-app .cp-grid-wrap{padding:8px;border-width:4px}.cp-app .cp-stage-label{font-size:6px;letter-spacing:1.3px}.cp-app .cp-stage-bottom{padding:9px 13px}.cp-app .cp-controls{gap:8px}.cp-app .cp-controls .cp-btn{padding:10px 11px;gap:5px;font-size:10px;min-height:38px}.cp-app .cp-controls .cp-btn .cp-icon{width:14px;height:14px}.cp-app .cp-controls .cp-btn-primary{padding:11px 14px}.cp-app .cp-controls>div{gap:5px}.cp-app .cp-game-status{font-size:9px}.cp-app .cp-footer{padding:15px 18px;font-size:9px}.cp-app .cp-footer>span:nth-child(2){display:none}.cp-app .cp-page{padding:26px 18px}.cp-app .cp-page-title{align-items:flex-start;flex-direction:column;gap:18px}.cp-app .cp-page-title h1{font-size:28px;line-height:1.25}.cp-app .cp-page-title p{font-size:12px}.cp-app .cp-summary{gap:9px;margin:20px 0 28px}.cp-app .cp-summary>div{display:flex;flex-direction:column;align-items:center;padding:16px 5px;gap:8px;text-align:center}.cp-app .cp-summary strong{font-size:24px}.cp-app .cp-summary .cp-icon{width:24px;height:24px}.cp-app .cp-summary span{font-size:9px}.cp-app .cp-teacher-bar{flex-wrap:wrap;gap:13px}.cp-app .cp-segmented{width:100%}.cp-app .cp-segmented button{flex:1;padding:10px;font-size:11px}.cp-app .cp-teacher-card{gap:13px;padding:12px}.cp-app .cp-mini-board{width:80px;height:80px}.cp-app .cp-teacher-card h2{font-size:16px}.cp-app .cp-teacher-card .cp-eyebrow{font-size:7px;letter-spacing:1px;gap:5px}.cp-app .cp-card-actions{gap:5px}.cp-app .cp-card-actions .cp-btn-small{padding:6px 8px;font-size:9px;min-height:29px}.cp-app .cp-editor-layout{display:flex;flex-direction:column-reverse;gap:25px}.cp-app .cp-palette{grid-template-columns:repeat(5,1fr)}.cp-app .cp-palette>button{padding:6px}.cp-app .cp-palette span{font-size:8px}.cp-app .cp-editor-stage .cp-wall{padding:28px 25px}.cp-app .cp-editor-settings{display:grid;grid-template-columns:1fr 1fr;gap:15px}.cp-app .cp-editor-settings>label:first-child,.cp-app .cp-editor-settings>label:nth-child(2),.cp-app .cp-editor-settings>.cp-editor-explain,.cp-app .cp-editor-settings>.cp-btn-primary{grid-column:span 2}.cp-app .cp-editor-settings>.cp-form-row{grid-column:span 2}.cp-app .cp-editor-settings>.cp-checkbox{grid-column:span 2}.cp-app .cp-editor-settings .cp-btn{font-size:10px;padding:11px 8px;white-space:normal}.cp-app .cp-modal{padding:22px;max-width:470px;border-radius:17px}.cp-app .cp-modal h2{font-size:25px}.cp-app .cp-modal-actions .cp-btn{font-size:11px}.cp-app .cp-demo-banner{font-size:8px;padding:7px 18px}.cp-app td,.cp-app th{padding:12px}.cp-app .cp-preview-grid{max-width:330px}}
@media(prefers-reduced-motion:reduce){.cp-app *{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
.cp-app .cp-access-shortcut{display:flex;align-items:center;justify-content:flex-end;gap:14px;padding:10px 30px;background:#f7faf3;border-bottom:1px solid var(--cp-line);font-size:11px;color:#73836a}.cp-app .cp-login-page{min-height:600px;display:grid;place-items:center;background:radial-gradient(ellipse at top,#e5f4ec,transparent 65%),#f8faf5;padding:45px 20px}.cp-app .cp-login-card{width:100%;max-width:450px;padding:35px;background:white;border:1px solid var(--cp-line);border-radius:22px;box-shadow:0 10px 40px #284c3b0a}.cp-app .cp-login-logo{display:grid;place-items:center;height:55px;width:55px;border-radius:16px;background:#e3f1e7;color:var(--cp-teal);margin-bottom:22px}.cp-app .cp-login-logo .cp-icon{height:29px;width:29px}.cp-app .cp-login-card h1{font-size:29px;margin:14px 0}.cp-app .cp-login-card p{font-size:12px;color:var(--cp-muted);line-height:1.8}.cp-app #cp-student-login{display:flex;flex-direction:column;gap:18px;margin-top:25px}.cp-app #cp-student-login label,.cp-app .cp-access-card label{font-size:12px;font-weight:600;color:#647d6e}.cp-app #cp-student-login input,.cp-app .cp-access-card input:not([type=checkbox]){display:block;width:100%;padding:12px;margin-top:8px;border:1px solid #d5e2d5;border-radius:9px;background:white;color:var(--cp-ink)}.cp-app .cp-closed-badge{margin:25px 0;padding:12px 18px;border-radius:10px;background:#f9eed8;color:#8b733b;font-size:12px;font-weight:650}.cp-app .cp-login-card a,.cp-app .cp-access-card a{color:var(--cp-teal);text-decoration:underline;overflow-wrap:anywhere}.cp-app .cp-access-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:25px}.cp-app .cp-access-card{display:flex;flex-direction:column;align-items:stretch;gap:20px;padding:28px;border:1px solid var(--cp-line);border-radius:16px;background:#fbfdf9}.cp-app .cp-access-card h2{font-size:23px}.cp-app .cp-access-card p{font-size:13px;color:var(--cp-muted);line-height:1.8}.cp-app .cp-access-card .cp-publish{align-self:flex-start;padding:6px 9px;font-size:10px}.cp-app .cp-access-card .cp-btn-primary{align-self:flex-start}
@media(max-width:760px){.cp-app .cp-access-layout{grid-template-columns:1fr}.cp-app .cp-access-card{padding:22px}.cp-app .cp-login-page{padding:30px 18px}.cp-app .cp-login-card{padding:25px}.cp-app .cp-access-shortcut{padding:10px 18px;justify-content:space-between;gap:8px}.cp-app .cp-account .cp-btn-small{font-size:10px}}

/* Standalone Joomla component windows: the site template is not rendered. */
html:has(.cp-standalone),body:has(.cp-standalone){margin:0;padding:0;width:100%;height:100%;background:#f2f7f4}
body:has(.cp-standalone){overflow:hidden}
.cp-app.cp-standalone{display:flex;flex-direction:column;width:100%;max-width:none;height:100dvh;min-height:0;margin:0;border:0;border-radius:0;box-shadow:none;overflow:hidden}
.cp-standalone>.cp-header{flex:none;padding:12px 24px;gap:16px;min-height:72px}
.cp-standalone .cp-logo{width:36px;height:40px;border-radius:11px}
.cp-standalone .cp-brand{font-size:22px}
.cp-standalone>.cp-footer{flex:none;padding:7px 22px}
.cp-standalone>.cp-page{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain}
.cp-standalone>.cp-login-page{flex:1;min-height:0;overflow:auto}
.cp-standalone>.cp-loading{flex:1;min-height:0}
.cp-app :is(#cp-student-login,#cp-teacher-login){display:flex;flex-direction:column;gap:18px;margin-top:25px}
.cp-app #cp-teacher-login label{font-size:12px;font-weight:600;color:#647d6e}
.cp-app #cp-teacher-login input{display:block;width:100%;padding:12px;margin-top:8px;border:1px solid #d5e2d5;border-radius:9px;background:white;color:var(--cp-ink)}
.cp-app .cp-login-card .cp-btn{white-space:normal;text-decoration:none}
.cp-app .cp-login-card a.cp-btn-primary{color:#fff}

/* Information and controls stay on the left; only the level list scrolls. */
.cp-app .cp-game-layout{display:grid;grid-template-columns:clamp(305px,27vw,390px) minmax(0,1fr);flex:1;min-height:0;overflow:hidden}
.cp-app .cp-sidebar{display:flex;flex-direction:column;min-height:0;overflow:auto;padding:18px 20px;gap:14px;border-right:1px solid var(--cp-line);border-bottom:0}
.cp-app .cp-game-details{flex:none}
.cp-app .cp-game-head h1{font-size:25px;line-height:1.2;margin:10px 0 8px}
.cp-app .cp-game-head p{font-size:12px;line-height:1.55}
.cp-app .cp-game-head .cp-eyebrow{gap:8px;letter-spacing:1px;flex-wrap:wrap}
.cp-app .cp-metrics{display:grid;grid-template-columns:1fr 1fr;margin:14px 0 12px}
.cp-app .cp-metrics>div{padding:9px 12px;gap:8px}
.cp-app .cp-metrics>.cp-par{grid-column:span 2;border-left:0;border-top:1px solid var(--cp-line)}
.cp-app .cp-metrics .cp-par b{font-size:12px;margin-top:2px}
.cp-app .cp-controls{display:flex;flex-direction:column;align-items:stretch;gap:8px;margin:0}
.cp-app .cp-controls>div{display:flex;gap:8px}
.cp-app .cp-controls>div>.cp-btn{flex:1}
.cp-app .cp-controls .cp-btn{padding:9px 12px;font-size:12px;min-height:38px}
.cp-app .cp-game-status{font-size:11px;line-height:1.6;margin-top:12px;min-height:0;display:block}
.cp-app .cp-leak-list{margin:5px 0;padding-left:18px;max-height:70px;overflow:auto;color:#a84432}
.cp-app .cp-tile.is-leaking{box-shadow:inset 0 0 0 4px #f65b36;z-index:1}
.cp-app .cp-cap-tip{display:flex;align-items:center;gap:8px;font-size:10px;line-height:1.5;color:var(--cp-muted);margin-top:8px}
.cp-app .cp-cap-tip svg{flex:none;width:30px;height:30px;background:#76513c;border-radius:5px}
.cp-app .cp-level-picker{display:flex;flex-direction:column;flex:1;min-height:110px;border-top:1px solid var(--cp-line);padding-top:12px}
.cp-app .cp-sidebar-head{display:block}
.cp-app .cp-sidebar-head>.cp-eyebrow,.cp-app .cp-sidebar-head>p,.cp-app .cp-sidebar-tip{display:none}
.cp-app .cp-sidebar-head h2{font-size:17px;margin:0}
.cp-app .cp-progress-label{margin:8px 0 5px;font-size:10px}
.cp-app .cp-filters{margin:10px 0 8px;gap:3px;flex-wrap:wrap}
.cp-app .cp-filters button{padding:5px 8px;font-size:10px}
.cp-app .cp-level-list{flex:1;min-height:0;max-height:none;flex-direction:column;overflow-x:hidden;overflow-y:auto;scroll-snap-type:none;gap:4px;overscroll-behavior:contain}
.cp-app .cp-level{width:100%;min-height:55px;padding:8px;gap:8px}
.cp-app .cp-level-number{width:29px;height:30px}
.cp-app .cp-level-info b{font-size:11px}
.cp-app .cp-level-info small{font-size:9px;margin-top:3px}
.cp-app .cp-level .cp-stars{display:inline-flex;font-size:10px}

/* The board frame is fitted to the remaining width AND height by fitGameBoard. */
.cp-app .cp-game-main{display:flex;align-items:stretch;min-width:0;min-height:0;overflow:hidden;padding:18px;background:#f3f8f5}
.cp-app .cp-game-main .cp-board-stage{display:flex;flex:1;min-width:0;min-height:0;border-radius:16px}
.cp-app .cp-game-main :is(.cp-stage-label,.cp-stage-bottom){display:none}
.cp-app .cp-game-main .cp-wall{flex:1;min-width:0;min-height:0;align-items:center;justify-content:center;padding:38px}
.cp-app .cp-game-main .cp-grid-wrap{flex:none;max-width:none;padding:11px;border-width:5px}
.cp-app .cp-game-main .cp-empty-stage{flex:1;min-height:0}

@media(max-height:800px){
  .cp-standalone>.cp-header{min-height:60px;padding:8px 20px}
  .cp-standalone .cp-logo{width:31px;height:34px}
  .cp-standalone .cp-brand{font-size:20px}
  .cp-app .cp-sidebar{padding:12px 16px;gap:10px}
  .cp-app .cp-game-head h1{font-size:21px;margin:7px 0 5px}
  .cp-app .cp-game-head p{font-size:11px}
  .cp-app .cp-metrics{margin:10px 0}
  .cp-app .cp-metrics>div{padding:6px 10px}
  .cp-app .cp-metrics>.cp-par span{display:flex;gap:8px;align-items:center}
  .cp-app .cp-controls{gap:6px}
  .cp-app .cp-controls .cp-btn{padding:7px 10px;min-height:34px;font-size:11px}
  .cp-app .cp-game-status{font-size:10px;margin-top:8px}
  .cp-app .cp-cap-tip{font-size:9px;margin-top:5px}
  .cp-app .cp-level-picker{padding-top:9px}
  .cp-app .cp-game-main{padding:12px}
  .cp-app .cp-game-main .cp-wall{padding:34px}
}
@media(max-width:900px){
  .cp-standalone>.cp-header{flex-wrap:nowrap;gap:10px;padding:9px 14px}
  .cp-standalone .cp-brand{font-size:18px;gap:9px}
  .cp-standalone .cp-brand small{display:none}
  .cp-standalone .cp-nav{order:initial;width:auto}
  .cp-standalone .cp-nav button{padding:8px;font-size:11px}
  .cp-standalone .cp-account>.cp-avatar,.cp-standalone .cp-account>span:nth-child(2){display:none}
  .cp-app .cp-game-layout{grid-template-columns:280px minmax(0,1fr)}
  .cp-app .cp-game-main .cp-wall{padding:29px}
}
@media(max-width:600px){
  .cp-standalone>.cp-header{min-height:52px;padding:6px 10px}
  .cp-standalone .cp-logo{display:none}
  .cp-standalone .cp-brand{font-size:15px;letter-spacing:-.5px}
  .cp-standalone .cp-nav .cp-icon{display:none}
  .cp-standalone .cp-nav button{font-size:10px;padding:7px}
  .cp-standalone .cp-account .cp-btn{padding:5px;font-size:9px}
  .cp-standalone>.cp-footer{display:none}
  .cp-app .cp-game-layout{grid-template-columns:43% minmax(0,1fr)}
  .cp-app .cp-sidebar{padding:10px 8px}
  .cp-app .cp-game-head{gap:4px}
  .cp-app .cp-game-head h1{font-size:17px;overflow-wrap:anywhere}
  .cp-app .cp-game-head p{font-size:10px}
  .cp-app .cp-game-head .cp-btn-icon{width:26px;min-height:26px;padding:4px}
  .cp-app .cp-game-head .cp-eyebrow{font-size:8px;letter-spacing:.5px}
  .cp-app .cp-metrics>div{padding:5px;gap:4px}
  .cp-app .cp-metrics .cp-icon{display:none}
  .cp-app .cp-metrics>.cp-par span{display:block}
  .cp-app .cp-metrics .cp-par b{font-size:10px}
  .cp-app .cp-controls>div{flex-direction:column;gap:5px}
  .cp-app .cp-controls .cp-btn{font-size:10px;padding:6px;white-space:normal}
  .cp-app .cp-controls .cp-icon{width:13px}
  .cp-app .cp-game-status{font-size:9px}
  .cp-app .cp-cap-tip{font-size:9px;gap:5px}
  .cp-app .cp-cap-tip svg{width:22px;height:22px}
  .cp-app .cp-sidebar-head h2{font-size:14px}
  .cp-app .cp-sidebar-head h2>span{min-width:20px;height:21px;font-size:9px}
  .cp-app .cp-filters{flex-wrap:wrap;margin:8px 0}
  .cp-app .cp-filters button{padding:4px 5px;font-size:9px}
  .cp-app .cp-level{padding:5px;min-height:48px;gap:5px}
  .cp-app .cp-level-number{width:23px;height:26px;font-size:10px}
  .cp-app .cp-level .cp-stars{display:none}
  .cp-app .cp-level-info b{font-size:10px}
  .cp-app .cp-level-info small{font-size:8px}
  .cp-app .cp-game-main{padding:5px}
  .cp-app .cp-game-main .cp-board-stage{border-radius:10px}
  .cp-app .cp-game-main .cp-wall{padding:22px}
  .cp-app .cp-game-main .cp-grid-wrap{padding:5px;border-width:3px;border-radius:6px}
  .cp-app .cp-game-main .cp-port{width:22px;height:22px}
  .cp-app .cp-game-main .cp-port .cp-icon{width:12px;height:12px}
}

.cp-app .cp-difficulty-4{background:#e8e7fc;color:#5a439a}.cp-app .cp-difficulty-5{background:#fce5df;color:#a43627}

/* Shared identity lives in the card or workspace, with no separate page header. */
.cp-app{--cp-muted:#445c65;font-size:16px}
.cp-app .cp-login-card{max-width:580px;padding:36px}
.cp-app .cp-login-title{display:flex;align-items:center;gap:20px;margin:0 0 24px;font-size:32px;line-height:1.18;font-weight:750;letter-spacing:-.025em;color:var(--cp-ink)}
.cp-app .cp-title-drop{display:grid;place-items:center;flex:none;width:96px;height:96px;background:var(--cp-teal);color:white;border-radius:25px;box-shadow:4px 5px 0 #b7ded5}
.cp-app .cp-title-drop>.cp-icon{width:64px;height:64px}
.cp-app .cp-login-card h2{font-size:23px;margin:0 0 12px}
.cp-app .cp-login-card p{font-size:16px;line-height:1.65;color:#445c65}
.cp-app :is(#cp-student-login,#cp-teacher-login){gap:20px;margin-top:26px}
.cp-app :is(#cp-student-login,#cp-teacher-login) label{font-size:16px;color:#344e58;font-weight:650}
.cp-app :is(#cp-student-login,#cp-teacher-login) input{font-size:17px;padding:13px 14px;min-height:50px;border-color:#aebfbb}
.cp-app :is(#cp-student-login,#cp-teacher-login)>.cp-btn{font-size:16px;min-height:50px}
.cp-app .cp-closed-badge{font-size:16px;color:#6e511e}
.cp-app .cp-workspace-navigation{flex:none;display:flex;align-items:center;gap:20px;flex-wrap:wrap;margin-bottom:24px}
.cp-app .cp-workspace-identity{display:grid;grid-template-columns:64px 1fr;column-gap:14px;align-items:center}
.cp-app .cp-workspace-identity .cp-login-title{display:contents}
.cp-app .cp-workspace-identity .cp-title-drop{width:64px;height:64px;border-radius:18px;grid-row:span 2}
.cp-app .cp-workspace-identity .cp-title-drop>.cp-icon{width:44px;height:44px}
.cp-app .cp-workspace-identity .cp-login-title>span:last-child{font-size:26px;line-height:1.15;font-weight:750;letter-spacing:-.025em}
.cp-app .cp-session-name,.cp-app .cp-session-state{font-size:14px;line-height:1.5;color:#445c65}
.cp-app .cp-session-name{grid-column:2;overflow-wrap:anywhere}
.cp-app .cp-inline-nav{display:flex;align-items:center;flex-wrap:wrap;gap:7px}
.cp-app .cp-inline-nav .cp-btn{font-size:14px;min-height:36px;padding:8px 11px}
.cp-app .cp-inline-nav .cp-btn.is-active{background:var(--cp-teal);color:white}
.cp-app .cp-inline-nav .cp-icon{width:17px;height:17px}
.cp-app .cp-sidebar>.cp-workspace-navigation{display:block;margin:0}
.cp-app .cp-sidebar .cp-workspace-identity .cp-login-title>span:last-child{font-size:24px}
.cp-app .cp-sidebar .cp-inline-nav{margin-top:10px;gap:5px}
.cp-app .cp-sidebar .cp-inline-nav .cp-btn{font-size:14px;padding:7px 9px}
.cp-app .cp-sidebar .cp-session-state{display:block;margin-top:8px}

/* Readable supporting text throughout the app. */
.cp-app .cp-page-title p,.cp-app .cp-access-card p,.cp-app .cp-modal p{font-size:16px;color:#445c65}
.cp-app .cp-muted,.cp-app .cp-empty,.cp-app .cp-help,.cp-app .cp-editor-explain p{font-size:14px;color:#445c65}
.cp-app .cp-eyebrow{font-size:13px;color:#425d60;letter-spacing:1px}
.cp-app .cp-difficulty,.cp-app .cp-publish{font-size:13px}
.cp-app .cp-teacher-card .cp-eyebrow{font-size:13px;letter-spacing:.5px}
.cp-app .cp-teacher-card p{font-size:14px;color:#445c65}
.cp-app .cp-search,.cp-app .cp-editor-settings label,.cp-app .cp-access-card label{font-size:15px;color:#344e58}
.cp-app .cp-search input,.cp-app .cp-editor-settings input:not([type=checkbox]),.cp-app .cp-editor-settings textarea,.cp-app .cp-editor-settings select{font-size:16px}
.cp-app .cp-card-actions .cp-btn,.cp-app .cp-teacher-tools .cp-btn,.cp-app .cp-segmented button,.cp-app .cp-editor-settings .cp-btn{font-size:14px}
.cp-app .cp-palette{grid-template-columns:repeat(auto-fit,minmax(76px,1fr))}
.cp-app .cp-palette span{font-size:12px;color:#344e58}
.cp-app table{font-size:15px}
.cp-app th{font-size:14px;color:#344e58}
.cp-app td{color:#344e58}
.cp-app .cp-summary span{font-size:14px;color:#445c65}
.cp-app .cp-summary strong{font-size:30px}
.cp-app .cp-stage-label,.cp-app .cp-stage-bottom,.cp-app .cp-stage-bottom b{font-size:12px;color:#344e58}

.cp-app .cp-game-layout{grid-template-columns:clamp(360px,33vw,460px) minmax(0,1fr)}
.cp-app .cp-sidebar{padding:16px 18px;gap:14px}
.cp-app .cp-game-head h1{font-size:24px;margin:9px 0 7px}
.cp-app .cp-game-head p{font-size:14px;line-height:1.45;color:#445c65}
.cp-app .cp-metrics{grid-template-columns:1fr 1fr 1.3fr;margin:12px 0}
.cp-app .cp-metrics>div{display:block;padding:8px 10px}
.cp-app .cp-metrics .cp-icon{display:none}
.cp-app .cp-metrics span{font-size:13px;color:#445c65}
.cp-app .cp-metrics b{font-size:20px;color:#243f40}
.cp-app .cp-metrics>.cp-par{grid-column:auto;border-top:0;border-left:1px solid var(--cp-line)}
.cp-app .cp-metrics>.cp-par span{display:block}
.cp-app .cp-metrics .cp-par b{font-size:16px;margin-top:4px}
.cp-app .cp-controls{display:grid;grid-template-columns:1fr 1fr 1.4fr;gap:6px}
.cp-app .cp-controls>div{display:contents}
.cp-app .cp-controls .cp-btn{font-size:14px;padding:8px 6px;min-height:42px;gap:5px;white-space:normal}
.cp-app .cp-controls .cp-icon{width:16px;height:16px}
.cp-app .cp-game-status{font-size:14px;line-height:1.45;margin-top:10px;color:#445c65}
.cp-app .cp-cap-tip{font-size:14px;line-height:1.4;color:#445c65;margin-top:8px}
.cp-app .cp-cap-tip svg{width:32px;height:32px}
.cp-app .cp-sidebar-head h2{font-size:19px}
.cp-app .cp-progress-label{font-size:14px;color:#445c65}
.cp-app .cp-filters button{font-size:14px;padding:5px 8px;color:#445c65}
.cp-app .cp-level{min-height:65px;gap:9px}
.cp-app .cp-level-number{font-size:14px}
.cp-app .cp-level-info b{font-size:15px}
.cp-app .cp-level-info small{font-size:13px;color:#445c65}
.cp-app .cp-level .cp-stars{font-size:13px}
.cp-app .cp-hint-policy{margin:9px 0 0;padding:7px 10px;background:#fff1da;border:1px solid #e5cfa6;border-radius:8px;color:#734b17;font-size:14px;line-height:1.4}
.cp-app [data-action="hint"]:disabled{opacity:.75}
.cp-app .cp-port{width:40px;height:40px}
.cp-app .cp-port>.cp-icon{width:25px;height:25px}

@media(max-height:800px) and (min-width:761px){
  .cp-app .cp-sidebar{padding:12px 16px;gap:10px}
  .cp-app .cp-game-head h1{font-size:22px;margin:7px 0 5px}
  .cp-app .cp-metrics{margin:9px 0}
  .cp-app .cp-metrics>div{padding:6px 8px}
  .cp-app .cp-game-status{margin-top:8px}
}
@media(max-width:760px){
  .cp-app .cp-login-page{padding:24px 16px}
  .cp-app .cp-login-card{padding:28px}
  .cp-app .cp-login-title{font-size:28px;gap:16px}
  .cp-app .cp-title-drop{width:78px;height:78px;border-radius:21px}
  .cp-app .cp-title-drop>.cp-icon{width:52px;height:52px}
  .cp-app .cp-game-layout{grid-template-columns:46% minmax(0,1fr)}
  .cp-app .cp-sidebar{padding:12px 9px}
  .cp-app .cp-workspace-identity{grid-template-columns:48px 1fr;gap:8px}
  .cp-app .cp-workspace-identity .cp-title-drop{width:48px;height:48px;border-radius:14px}
  .cp-app .cp-workspace-identity .cp-title-drop>.cp-icon{width:34px;height:34px}
  .cp-app .cp-sidebar .cp-workspace-identity .cp-login-title>span:last-child{font-size:19px}
  .cp-app .cp-sidebar .cp-inline-nav .cp-btn{font-size:13px;padding:7px}
  .cp-app .cp-sidebar .cp-inline-nav .cp-icon{display:none}
  .cp-app .cp-game-head h1{font-size:20px}
  .cp-app .cp-controls{grid-template-columns:1fr 1fr}
  .cp-app .cp-controls>.cp-btn{grid-column:span 2}
  .cp-app .cp-metrics{grid-template-columns:1fr 1fr}
  .cp-app .cp-metrics>.cp-par{grid-column:span 2;border-top:1px solid var(--cp-line);border-left:0}
  .cp-app .cp-metrics .cp-par span{display:flex;gap:8px;align-items:center}
  .cp-app .cp-level .cp-stars{display:none}
}
