/* Scoped game operations controls; existing shop editors retain their styles. */
#ccAdminGame{--game-line:#4e493c;--game-muted:#c2bbaa;--game-gold:#e9d197;color:#eee8dc;font:14px/1.65 Tahoma,Arial,sans-serif;min-width:0;margin:20px 0 28px}
#ccAdminGame [hidden]{display:none!important}
#ccAdminGame h2,#ccAdminGame h3,#ccAdminGame h4{color:#f1dfb4;margin:0;line-height:1.5}
#ccAdminGame h2{font-size:22px}#ccAdminGame h3{font-size:17px}#ccAdminGame h4{font-size:15px}
#ccAdminGame p{margin:8px 0;font-size:13px}
#ccAdminGame small{font-size:12px;line-height:1.6}
#ccAdminGame input,#ccAdminGame select,#ccAdminGame textarea{display:block;width:100%;min-width:0;min-height:43px;margin-top:6px;background:#141413;border:1px solid #766a50;color:#f3ecdc;border-radius:4px;padding:9px 11px;font:14px/1.5 Tahoma,Arial,sans-serif;caret-color:#f2d68b}
#ccAdminGame input::placeholder,#ccAdminGame textarea::placeholder{color:#a9a18e;opacity:1}
#ccAdminGame textarea{resize:vertical;min-height:78px}
#ccAdminGame label{display:block;font-size:12px;color:#ded4bd;min-width:0}
#ccAdminGame button{min-height:42px;padding:9px 14px;white-space:normal;font-size:13px;line-height:1.45}
#ccAdminGame button.primary{background:#77603a;color:#fff1ce;border:1px solid #d0ad65;background-image:none}
#ccAdminGame button.primary:hover{background:#907243}
#ccAdminGame button:disabled{opacity:.48;cursor:not-allowed}
#ccAdminGame button:focus-visible,#ccAdminGame input:focus-visible,#ccAdminGame select:focus-visible,#ccAdminGame textarea:focus-visible,#ccAdminGame a:focus-visible,#ccAdminGame summary:focus-visible,#ccAdminGame pre:focus-visible{outline:2px solid #f1d18b;outline-offset:3px}
#ccAdminGame a{color:#ead29a;text-underline-offset:4px}
.cc-game-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.cc-game-muted{color:var(--game-muted);display:block}
.cc-game-connection{display:flex;gap:10px 24px;align-items:center;justify-content:space-between;flex-wrap:wrap;padding:14px 16px;margin:18px 0;border:1px solid #665c43;background:#24221b}
.cc-game-connection strong{font-size:14px;color:#eddbb2}.cc-game-connection span{font-size:12px;color:#c8bda6}
.cc-game-connection[data-state=ok]{border-color:#65735a}.cc-game-connection[data-state=ok] strong{color:#c9deb9}
.cc-game-alert{padding:11px 14px;border:1px solid #657458;background:#1d271b;color:#d5e6c8;overflow-wrap:anywhere}
.cc-game-alert[data-state=warning]{background:#32271c;border-color:#9c7950;color:#f0d0a7}
.cc-game-sections{display:flex;flex-wrap:wrap;gap:8px 20px;padding:8px 0 16px;border-bottom:1px solid var(--game-line)}
.cc-game-sections a{font-size:13px;min-height:28px}
.cc-game-steps{display:flex;flex-wrap:wrap;gap:10px 35px;margin:20px 0 22px;padding-left:22px;color:#cbbd9c;font-size:12px}
.cc-game-workspace{display:grid;grid-template-columns:minmax(0,1.12fr) minmax(0,1fr);gap:18px;align-items:start}
.cc-game-panel{min-width:0;border:1px solid var(--game-line);background:#1a1916;padding:20px;margin-bottom:20px;scroll-margin-top:20px}
.cc-game-panel>h3,.cc-game-panel>.cc-game-heading{margin-bottom:14px!important}
.cc-game-panel>label{margin:16px 0 10px}.cc-game-panel>button{margin-bottom:12px}
.cc-game-categories{display:flex;flex-wrap:wrap;gap:7px;margin:14px 0}
#ccAdminGame .cc-game-categories button{background:#27251e;border:1px solid #645b45;color:#d7c8a7;background-image:none;padding:7px 12px;min-height:37px}
#ccAdminGame .cc-game-categories button[aria-pressed=true]{border-color:#dbb76c;background:#403421;color:#ffe7b2}
.cc-game-scope{padding:8px 0 12px;border-bottom:1px solid #443d2d;color:#dfc893}
.cc-game-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px;margin:17px 0}
.cc-game-fields small{color:#aaa18b}
.cc-game-note{color:#dfc39b;font-size:12px!important}
.cc-game-preview{min-height:130px}
.cc-game-values{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:5px 15px;font-size:12px;margin:14px 0}
.cc-game-values dt{color:#bdb4a1}.cc-game-values dd{margin:0;color:#f1e1bd;text-align:right;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
#ccAdminGame .cc-game-command{display:block;margin:12px 0;padding:12px;background:#111211;border:1px solid #4c4638;color:#e4d8b5;font:13px/1.7 Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;max-width:100%}
.cc-game-gm-fields{display:grid;grid-template-columns:minmax(150px,1fr) auto minmax(180px,1.2fr) minmax(150px,1fr) minmax(120px,.8fr);gap:13px;align-items:end;margin:16px 0 10px}
.cc-game-target{background:#242018;border-left:3px solid #b39350;padding:10px 14px;margin:18px 0}
#ccAdminGame .cc-game-confirm{display:flex;align-items:flex-start;gap:10px;margin:15px 0;font-size:13px;color:#efdbb0}
#ccAdminGame .cc-game-confirm input{width:18px;min-width:18px;height:18px;min-height:18px;margin:3px 0 0;accent-color:#d9b467;padding:0}
.cc-game-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:13px 0}
.cc-game-native-result:empty{display:none}.cc-game-native-result{margin-top:20px;padding-top:18px;border-top:1px solid #57503e}
.cc-game-native-result li{font:12px/1.7 Consolas,monospace;overflow-wrap:anywhere}
.cc-game-plans{display:grid;gap:14px}.cc-game-plan{padding:14px 16px;border:1px solid #494332;background:#201e18}
.cc-game-badge{font-size:11px;border:1px solid #776444;padding:4px 8px;color:#e7d2a6;max-width:100%;overflow-wrap:anywhere}
.cc-game-scripts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.cc-game-scripts article{border-bottom:1px solid #4b4331;padding:0 0 15px}.cc-game-scripts strong{font-size:14px}
#ccAdminGame .cc-game-code-keys{font:11px/1.8 Consolas,monospace;color:#ada693;overflow-wrap:anywhere}
.cc-game-existing-tools{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:10px 22px}
.cc-game-audit{margin:18px 0;color:#cfc2a2;font-size:12px}.cc-game-audit summary{cursor:pointer;padding:8px 0}
.cc-game-audit-row{display:grid;grid-template-columns:190px 180px 1fr;gap:14px;border-top:1px solid #3a352a;padding:9px 0;overflow-wrap:anywhere}
#ccAdminGame .cc-game-json{font:11px/1.7 Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere;max-height:350px;overflow:auto;background:#121311;padding:12px;color:#c1b89e}
@media(max-width:1100px){.cc-game-gm-fields{grid-template-columns:minmax(180px,1fr) auto minmax(180px,1.3fr)}.cc-game-gm-fields>label:nth-last-child(2){grid-column:1/3}.cc-game-audit-row{grid-template-columns:170px 130px 1fr}}
@media(max-width:780px){.cc-game-workspace{grid-template-columns:1fr;gap:0}.cc-game-panel{padding:16px}.cc-game-scripts{grid-template-columns:1fr}.cc-game-gm-fields{grid-template-columns:minmax(0,1fr) auto}.cc-game-gm-fields>label:nth-child(3){grid-column:1/-1}.cc-game-gm-fields>label:nth-last-child(2){grid-column:auto}.cc-game-audit-row{grid-template-columns:1fr 1fr;gap:5px}.cc-game-audit-row>span:last-child{grid-column:1/-1}.cc-game-heading>button{min-width:115px}}
@media(max-width:480px){#ccAdminGame{font-size:13px}#ccAdminGame h2{font-size:20px}#ccAdminGame h3{font-size:16px}.cc-game-fields{gap:12px 10px}.cc-game-gm-fields{grid-template-columns:minmax(0,1fr) auto}.cc-game-gm-fields>label:nth-last-child(2),.cc-game-gm-fields>label:last-child{grid-column:1/-1}.cc-game-actions button{flex:1;min-width:120px}.cc-game-connection{align-items:flex-start;gap:6px}.cc-game-sections{gap:8px 16px}.cc-game-panel{padding:14px}.cc-game-plan{padding:12px}.cc-game-steps{gap:7px;margin:15px 0}.cc-game-steps li{width:100%}}

.cc-game-provenance{margin-top:12px;font-size:11px;color:#b8af9a}.cc-game-provenance summary{cursor:pointer;padding:6px 0}.cc-game-provenance code{display:block;font-size:10px;overflow-wrap:anywhere}


/* Large, touch-friendly operations controls with visible consent boundaries. */
#ccAdminGame{font:15px/1.6 system-ui,-apple-system,"Segoe UI",Tahoma,Arial,sans-serif}
#ccAdminGame h2{font-size:24px}#ccAdminGame h3{font-size:19px}#ccAdminGame h4{font-size:16px}
#ccAdminGame p{font-size:14px;line-height:1.6}#ccAdminGame small{font-size:13px;line-height:1.6}
#ccAdminGame label{font-size:13px;line-height:1.6}
#ccAdminGame input,#ccAdminGame select,#ccAdminGame textarea{min-height:47px;font:14px/1.5 system-ui,-apple-system,"Segoe UI",Tahoma,Arial,sans-serif;border-radius:6px}
#ccAdminGame button{min-height:45px;font-size:14px;font-weight:600}
#ccAdminGame .cc-game-heading{gap:14px}
#ccAdminGame .cc-game-connection{border-radius:8px;padding:15px 18px;margin:14px 0;background:#1c231e}
#ccAdminGame .cc-game-connection strong{font-size:15px}
#ccAdminGame .cc-game-alert{border-radius:6px;font-size:14px}
#ccAdminGame .cc-game-sections{position:sticky;top:0;z-index:8;flex-wrap:nowrap;overflow-x:auto;background:#121416;border-bottom:1px solid #48443d;padding:10px 0;gap:8px;scrollbar-color:#817454 #191919}
#ccAdminGame .cc-game-sections a{min-height:44px;flex:0 0 auto;display:inline-flex;align-items:center;background:#212326;border:1px solid #3e4042;border-radius:6px;padding:8px 12px;font-size:13px;text-decoration:none}
#ccAdminGame .cc-game-sections a:hover{border-color:#aa925c;background:#302b21}
#ccAdminGame .cc-game-steps{margin:17px 0 20px;font-size:13px;gap:14px 35px}
#ccAdminGame .cc-game-workspace{grid-template-columns:minmax(0,1.13fr) minmax(0,1fr);gap:16px}
#ccAdminGame .cc-game-panel{background:#1b1c1f;border-color:#4a4842;border-radius:9px;padding:22px;margin-bottom:18px;scroll-margin-top:88px}
#ccAdminGame .cc-game-panel>h3{margin-bottom:15px}
#ccAdminGame .cc-game-categories{margin:17px 0 18px}
#ccAdminGame .cc-game-categories button{min-height:40px;font-size:14px}
#ccAdminGame .cc-game-fields{gap:14px 16px}
#ccAdminGame .cc-game-preview{min-height:120px}
#ccAdminGame .cc-game-scope{font-size:13px;color:#ddc991}
#ccAdminGame .cc-game-values{font-size:14px;gap:8px 13px}
#ccAdminGame .cc-game-values dt{font-size:13px}#ccAdminGame .cc-game-values dd{font-size:13px;text-align:right}
#ccAdminGame .cc-game-command{font:13px/1.65 ui-monospace,Consolas,monospace;white-space:pre-wrap}
#ccAdminGame .cc-game-gm-fields{grid-template-columns:minmax(210px,1.3fr) 136px minmax(220px,1.5fr);gap:12px 14px;align-items:end}
#ccAdminGame .cc-game-gm-fields>label:nth-child(4){grid-column:1/3}
#ccAdminGame .cc-game-gm-fields>label:nth-child(5){grid-column:3}
#ccAdminGame .cc-game-target{border-radius:0 6px 6px 0;padding:12px 16px}
#ccAdminGame .cc-game-plan{padding:16px 18px;border-radius:7px}
#ccAdminGame .cc-game-plan>p{font-size:13px}
#ccAdminGame .cc-game-badge{border-radius:5px;font-size:12px}
#ccAdminGame .cc-game-scripts{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
#ccAdminGame .cc-game-script-summary{font-weight:700;cursor:pointer;font-size:17px;color:#f1dfb3;padding:8px 0}
#ccAdminGame .cc-game-script-detail{margin-top:16px}
#ccAdminGame .cc-game-native-result{padding-top:16px}
#ccAdminGame .cc-game-audit-row{font-size:13px}
#ccAdminGame .cc-game-provenance{font-size:12px}
@media(max-width:1190px){#ccAdminGame .cc-game-workspace{grid-template-columns:1fr}#ccAdminGame .cc-game-panel{scroll-margin-top:88px}}
@media(max-width:800px){#ccAdminGame .cc-game-sections{position:static;gap:6px}#ccAdminGame .cc-game-panel{scroll-margin-top:20px}#ccAdminGame .cc-game-gm-fields{grid-template-columns:minmax(0,1fr) auto}#ccAdminGame .cc-game-gm-fields>label:nth-child(3){grid-column:1/-1}#ccAdminGame .cc-game-gm-fields>label:nth-child(4){grid-column:1}#ccAdminGame .cc-game-gm-fields>label:nth-child(5){grid-column:2}#ccAdminGame .cc-game-scripts{grid-template-columns:1fr}}
@media(max-width:510px){#ccAdminGame{font-size:14px}#ccAdminGame h2{font-size:21px}#ccAdminGame h3{font-size:18px}#ccAdminGame .cc-game-panel{padding:16px}#ccAdminGame .cc-game-sections a{font-size:12px;padding:7px 10px}#ccAdminGame .cc-game-fields{grid-template-columns:1fr 1fr;gap:11px}#ccAdminGame .cc-game-gm-fields{grid-template-columns:minmax(0,1fr) auto}#ccAdminGame .cc-game-gm-fields>label:nth-child(4),#ccAdminGame .cc-game-gm-fields>label:nth-child(5){grid-column:1/-1}#ccAdminGame .cc-game-steps{gap:5px}#ccAdminGame .cc-game-scope{font-size:12px}}
@media(max-width:650px){#ccAdminGame input,#ccAdminGame select,#ccAdminGame textarea{font-size:16px}}
