/* Create page: top tabs, a left menu of creation types and the selected panel. */
.cr-page{max-width:1000px}
.cr-tabs{display:flex;gap:2px;border-bottom:1px solid #c3c9d0;margin-bottom:20px}
.cr-tabs a{padding:9px 14px;border:1px solid #c3c9d0;border-bottom:0;border-radius:3px 3px 0 0;background:#e6e9ed;color:#33404f;font-size:14px;font-weight:600;position:relative;top:1px}
.cr-tabs a[aria-current]{background:#fff;color:#1f2a36}
.cr-tabs a:not([aria-current]):hover{background:#f2f4f7}
.cr-body{display:grid;grid-template-columns:170px minmax(0,1fr);gap:0}
.cr-menu{display:flex;flex-direction:column;border-right:1px solid #d3d8de;padding-right:10px}
.cr-menu[hidden]{display:none}
.cr-menu>a{padding:8px 10px;font-size:14px;color:#2b333b;border-radius:2px}
.cr-menu>a:hover{background:#eef2f6}
.cr-menu>a.active{background:#e3e7ec;font-weight:700}
.cr-resources{display:flex;flex-direction:column;gap:6px;margin-top:18px;padding:10px;border:1px solid #d3d8de;font-size:13px}
.cr-resources a{color:#2f6be0}
.cr-main{padding:0 0 30px 24px;min-width:0}
.cr-menu[hidden]+.cr-main{padding-left:0;grid-column:1/-1}
.cr-main h1{margin:14px 0 14px;font-size:28px;font-weight:300}
.cr-main h2{margin:24px 0 10px;font-size:20px;font-weight:400}
.cr-green{display:inline-block;padding:9px 16px;border:0;border-radius:3px;background:#00a2ff;color:#fff;font:600 15px inherit;cursor:pointer}
.cr-green:hover:not(:disabled){background:#019b49}
.cr-green:disabled{opacity:.6;cursor:wait}
.cr-status{min-height:0;margin:8px 0;font-size:13px;color:#46607d}
.cr-status:empty{display:none}
.cr-note{font-size:13px;color:#667184;line-height:1.55}
.cr-note a{color:#2f6be0;text-decoration:underline}
.cr-list{display:flex;flex-direction:column;border-top:1px solid #dde2e8}
.cr-row-item{display:flex;align-items:center;gap:14px;padding:12px 4px;border-bottom:1px solid #dde2e8;color:inherit}
a.cr-row-item:hover{background:#f5f7fa}
.cr-thumb{flex:none;width:70px;height:70px;object-fit:cover;background:#dfe6ec}
.cr-info{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}
.cr-name{font-weight:700;color:#2f6be0;overflow-wrap:anywhere}
.cr-meta{font-size:12px;color:#6b7580}
.cr-meta a{color:#2f6be0}
.cr-public{font-size:12px;color:#02964a;font-weight:700}
.cr-actions{display:flex;gap:8px;flex:none}
.cr-small{padding:5px 12px;border:1px solid #a9b2bc;border-radius:3px;background:#fff;color:#2b333b;font-size:13px;cursor:pointer}
.cr-small:hover:not(:disabled){background:#eef2f6}
.cr-audio audio{width:min(300px,100%);height:36px}
.cr-form{display:flex;flex-direction:column;gap:6px;max-width:460px;margin-bottom:10px}
.cr-form label,.cr-search label,.cr-dialog label{font-size:12px;font-weight:700;color:#4b5a6d;margin-top:6px}
.cr-form input,.cr-form select,.cr-search input,.cr-dialog input,.cr-dialog textarea{padding:9px 10px;border:1px solid #b9c2cf;border-radius:4px;font:inherit;background:#fff;color:inherit}
.cr-form .cr-green{align-self:flex-start;margin-top:8px}
.cr-search{display:flex;align-items:flex-end;gap:8px;flex-wrap:wrap;margin:18px 0 8px}
.cr-search label{width:100%}
.cr-search input{flex:1;min-width:180px}
.cr-search button{padding:9px 14px;border:1px solid #a9b2bc;border-radius:4px;background:#fff;cursor:pointer}
.cr-soon-badge{display:inline-block;margin:0 0 10px;padding:4px 12px;border-radius:12px;background:#ffe9b3;color:#7a5200;font-size:12px;font-weight:700}
.cr-dialog{width:min(520px,calc(100vw - 30px));padding:0;border:1px solid #9fb5cf;border-radius:10px}
.cr-dialog::backdrop{background:#11243b88}
.cr-dialog form{display:flex;flex-direction:column;gap:4px;padding:22px}
.cr-dialog h2{margin:0 0 8px}
.cr-row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.cr-row>div{display:flex;flex-direction:column;gap:4px}
.cr-dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:14px}
.cr-dialog-actions>button:first-child{padding:9px 16px;border:1px solid #a9b2bc;border-radius:3px;background:#fff;cursor:pointer}
html[data-theme=dark] .cr-tabs{border-color:#3a4656}
html[data-theme=dark] .cr-tabs a{background:#17212b;border-color:#3a4656;color:#b0bccb}
html[data-theme=dark] .cr-tabs a[aria-current]{background:#1d2733;color:#fff}
html[data-theme=dark] .cr-menu{border-color:#3a4656}
html[data-theme=dark] .cr-menu>a{color:#dbe4f0}
html[data-theme=dark] .cr-menu>a:hover,html[data-theme=dark] a.cr-row-item:hover{background:#243140}
html[data-theme=dark] .cr-menu>a.active{background:#2c394a}
html[data-theme=dark] .cr-resources,html[data-theme=dark] .cr-list,html[data-theme=dark] .cr-row-item{border-color:#3a4656}
html[data-theme=dark] .cr-note,html[data-theme=dark] .cr-meta,html[data-theme=dark] .cr-status{color:#b0bccb}
html[data-theme=dark] .cr-name,html[data-theme=dark] .cr-resources a,html[data-theme=dark] .cr-meta a{color:#7db1ff}
html[data-theme=dark] .cr-small,html[data-theme=dark] .cr-search button,html[data-theme=dark] .cr-dialog-actions>button:first-child{background:#17212b;color:#e7edf5;border-color:#526177}
html[data-theme=dark] .cr-form input,html[data-theme=dark] .cr-form select,html[data-theme=dark] .cr-search input,html[data-theme=dark] .cr-dialog input,html[data-theme=dark] .cr-dialog textarea{background:#17212b;border-color:#526177}
html[data-theme=dark] .cr-form label,html[data-theme=dark] .cr-search label,html[data-theme=dark] .cr-dialog label{color:#b0bccb}
html[data-theme=dark] .cr-dialog{background:#1d2733;color:#e7edf5;border-color:#3a4656}
@media(max-width:700px){.cr-body{grid-template-columns:1fr}.cr-menu{flex-direction:row;flex-wrap:wrap;border-right:0;border-bottom:1px solid #d3d8de;padding:0 0 8px}.cr-resources{display:none}.cr-main{padding:10px 0 30px}.cr-row-item{flex-wrap:wrap}.cr-tabs{overflow-x:auto}.cr-tabs a{white-space:nowrap}}

.cr-check{display:flex!important;align-items:center;gap:8px;font-weight:600!important;text-transform:none!important}
.cr-access,.cr-team{display:flex;flex-direction:column;gap:6px;padding:8px 10px;border:1px dashed #b9c2cf;border-radius:6px}
.cr-team{margin:8px 0 0}.cr-team legend{font-weight:700;padding:0 4px}
.cr-chips{display:flex;flex-wrap:wrap;gap:6px}
.cr-chip{display:inline-flex;align-items:center;gap:2px;padding:2px 4px 2px 10px;border-radius:12px;background:#e7edf5;font-size:12px}
.cr-x{border:0;background:transparent;cursor:pointer;font-size:15px;line-height:1;color:inherit}
.cr-private{color:#b86b00}
html[data-theme=dark] .cr-chip{background:#2c394a}
/* Allowed gear: one checkbox per gear type, two columns on wide screens. */
.cr-gear{margin:12px 0 4px;padding:10px 12px;border:1px solid var(--line,#d5d9de);border-radius:8px}
.cr-gear legend{padding:0 4px;font-weight:700}
.cr-gear .cr-note{margin:0 0 6px}
.cr-gear-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:2px 12px}
.cr-gear-type{margin:0!important}
.cr-gear-type img{width:26px;height:26px;object-fit:contain}
html[data-theme=dark] .cr-gear{border-color:#3a4656}
/* Allowed gear, one row per type: the whole-type checkbox, then "Pick tools" to choose single tools. */
.cr-gear-grid{display:flex;flex-direction:column;gap:4px}
.cr-gear-group{display:flex;flex-wrap:wrap;align-items:center;gap:2px 12px;padding:2px 0;border-bottom:1px solid #e3e7ec}
.cr-gear-group:last-child{border-bottom:0}
.cr-gear-group>.cr-gear-type{flex:1 1 220px}
.cr-gear-picker{flex:1 1 100%}
.cr-gear-picker summary{cursor:pointer;font-size:12px;color:#3d6fb6;padding:2px 0 2px 34px}
.cr-gear-items{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:0 10px;padding:2px 0 6px 34px}
.cr-gear-item{margin:0!important;font-weight:500!important}
.cr-gear-item img{width:22px;height:22px;object-fit:contain}
html[data-theme=dark] .cr-gear-group{border-color:#3a4656}
html[data-theme=dark] .cr-gear-picker summary{color:#7db1ff}

/* No Studio on phones and tablets. */
.cr-mobile-note{display:none;margin:0 0 14px;padding:12px 14px;border-radius:8px;background:#fff4cf;border:1px solid #efcf6b;color:#4d3d05;font-size:14px;line-height:1.5}
html[data-theme=dark] .cr-mobile-note{background:#3b3212;border-color:#6e5b1c;color:#f7e7ae}
.no-studio .cr-mobile-note{display:block}
.no-studio #new-experience,.no-studio .cr-studio,.no-studio .cr-main a[href^="/studio"],.no-studio #panel-places,.no-studio #panel-experiences>.cr-note{display:none!important}


/* Configure Game: a dark settings page with a section list on the left. */
.cr-config{width:min(900px,calc(100vw - 24px));max-height:calc(100vh - 24px);padding:0;border:1px solid #4a4a4a;border-radius:6px;background:#232323;color:#e8e8e8;overflow:hidden}
.cr-config::backdrop{background:#000b}
.cr-config form{display:flex;flex-direction:column;max-height:calc(100vh - 26px);padding:0;gap:0}
.cfg-head{display:flex;align-items:baseline;gap:14px;padding:16px 24px 12px;border-bottom:1px solid #3a3a3a}
.cfg-head h2{margin:0;font-size:26px;font-weight:700;color:#fff}
.cfg-game{font-size:13px;color:#9a9a9a;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cfg-body{display:grid;grid-template-columns:200px minmax(0,1fr);min-height:0;flex:1;overflow:hidden}
.cfg-nav{display:flex;flex-direction:column;padding:16px 0 16px 20px;border-right:1px solid #3a3a3a;overflow-y:auto}
.cfg-nav button{text-align:left;border:0;background:transparent;color:#d6d6d6;font:15px inherit;padding:10px 14px;cursor:pointer;border-left:3px solid transparent}
.cfg-nav button:hover{background:#2e2e2e}
.cfg-nav button[aria-current]{background:#333;color:#fff;border-left-color:#3b8bff}
.cfg-main{padding:14px 26px 22px;overflow-y:auto;min-height:0}
.cfg-pane{display:flex;flex-direction:column;gap:4px}
.cfg-pane[hidden]{display:none}
.cfg-pane h3{margin:2px 0 10px;font-size:26px;font-weight:300;color:#fff}
.cfg-pane h4{margin:14px 0 6px;font-size:15px;color:#fff}.cfg-pane h4 small{font-weight:400;color:#9a9a9a}
.cr-config label,.cfg-label{font-size:13px;font-weight:700;color:#e8e8e8;margin-top:8px}
.cr-config input:not([type=checkbox]):not([type=radio]),.cr-config textarea{background:#2f2f2f;border:1px solid #555;color:#fff;border-radius:2px}
.cr-config input:focus,.cr-config textarea:focus{outline:2px solid #3b8bff;outline-offset:-1px}
.cfg-label{margin-top:12px}
.cfg-radios{display:flex;flex-wrap:wrap;gap:2px 20px}
.cfg-warn{margin:6px 0 4px;color:#ff3b30;font-weight:700;font-size:14px}
.cr-config .cr-note{color:#a9a9a9}
.cr-config .cr-status{color:#9fc7ff}
.cr-config .cr-team,.cr-config .cr-access{border-color:#555}
.cr-config .cr-chip{background:#3a3a3a;color:#fff}
.cr-config .cr-gear{border-color:#444}
.cr-config .cr-gear-group{border-color:#3a3a3a}
.cr-config .cr-gear-picker summary{color:#7db1ff}
.cr-config .cr-small{background:#3a3a3a;color:#fff;border-color:#666}
.cr-config .cr-small:hover:not(:disabled){background:#4a4a4a}
.cr-config .cr-green{text-decoration:none}
.cfg-actions{display:flex;gap:8px;margin-top:20px}
.cfg-save,.cfg-grey{border:0;border-radius:2px;padding:12px 26px;font:600 17px inherit;color:#fff;cursor:pointer}
.cfg-save{background:#1e88ff}.cfg-save:hover:not(:disabled){background:#3d9bff}.cfg-save:disabled{opacity:.6;cursor:wait}
.cfg-grey{background:#555}.cfg-grey:hover{background:#666}
/* Icon and thumbnail slots. */
.cfg-media{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:12px}
.cfg-media-icon{grid-template-columns:180px}
.cfg-slot{display:flex;flex-direction:column;gap:6px;padding:8px;background:#2b2b2b;border:1px solid #444;border-radius:4px}
.cfg-preview{position:relative;width:100%;aspect-ratio:16/9;background:#1a1a1a;display:grid;place-items:center;overflow:hidden;color:#777;font-size:12px}
.cfg-media-icon .cfg-preview{aspect-ratio:1}
.cfg-preview img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.cfg-slot-actions{display:flex;gap:6px}
.cfg-slot-actions button{flex:1}
@media(max-width:700px){.cfg-body{grid-template-columns:1fr;overflow-y:auto}.cfg-nav{flex-direction:row;flex-wrap:wrap;padding:8px;border-right:0;border-bottom:1px solid #3a3a3a;overflow:visible}.cfg-nav button{border-left:0;border-bottom:3px solid transparent;padding:8px 10px;font-size:13px}.cfg-nav button[aria-current]{border-bottom-color:#3b8bff}.cfg-main{overflow:visible}.cfg-head{flex-wrap:wrap}}
.cr-config [hidden]{display:none!important}
.cfg-nav button:focus-visible{outline:2px solid #3b8bff;outline-offset:-2px}
.cfg-nav button:focus:not(:focus-visible){outline:0}
.cfg-nav button[aria-current]:focus-visible{outline-color:#fff}

/* Library: a grid of audio tiles (speaker icon, play button, title, price). Follows the light/dark theme like the rest of Create. */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.lib{background:#eef1f4;color:#2b333b;padding:16px 18px 22px;border-radius:4px;font-family:Arial,Helvetica,sans-serif}
.lib-search{display:flex;justify-content:flex-end;gap:6px;margin:0 0 18px}
.lib-search input{flex:0 1 340px;min-width:0;padding:7px 10px;border:1px solid #c3c9d0;border-radius:0;background:#fff;color:#2b333b;font:13px inherit}
.lib-search select{padding:6px 8px;border:1px solid #c3c9d0;background:#fff;color:#2b333b;font:13px inherit}
.lib-search button{padding:7px 14px;border:1px solid #c3c9d0;background:#fff;color:#2b333b;font:13px inherit;cursor:pointer}
.lib-search button:hover{background:#eef2f6}
.lib-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:22px}
.cr-main .lib-title{margin:0;font-size:14px;font-weight:700;letter-spacing:0;color:#6b7580}
.lib-count{margin:6px 0 0;font-size:12px;color:#6b7580}
.lib-sort{font-size:13px;font-weight:700;color:#4b5a6d}
.lib-sort select{margin-left:4px;padding:3px 8px;border:1px solid #c3c9d0;background:#fff;color:#2b333b;font:13px inherit}
.lib-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(112px,1fr));gap:26px 20px}
.lib-tile{position:relative;display:flex;flex-direction:column;gap:8px;min-width:0}
.lib-thumb{position:relative;display:grid;place-items:center;aspect-ratio:1;width:100%;padding:0;border:1px solid #d3d8de;background:#fff;color:#d9791b;cursor:pointer}
.lib-thumb:hover{background:#f5f7fa;border-color:#b9c2cf}
.lib-thumb>svg:not(.lib-play){width:72%;height:72%}
.lib-play{position:absolute;right:6px;bottom:6px;width:22px;height:22px;color:#fff}
.lib-tile[data-playing=true] .lib-thumb{border-color:#d9791b}
.lib-name{margin:0;font-size:12px;font-weight:700;line-height:1.35;color:#2f6be0;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
.lib-price{margin:-4px 0 0;font-size:12px;color:#6b7580}
.lib-tools{position:absolute;left:5px;top:5px;display:flex;gap:6px;opacity:0;transition:opacity .12s}
.lib-tile:hover .lib-tools,.lib-tile:focus-within .lib-tools{opacity:1}
@media(hover:none){.lib-tools{opacity:1}}
.lib-tools button{padding:2px 8px;border:1px solid #c3c9d0;background:#fffc;color:#2b333b;font-size:11px;cursor:pointer}
.lib-tools button:hover{background:#eef2f6}
.lib-empty,.lib-note{grid-column:1/-1;margin:18px 0 0;font-size:12px;color:#667184}
html[data-theme=dark] .lib{background:#1a1a1a;color:#e1e1e1}
html[data-theme=dark] .lib-search input{border-color:#3a3a3a;background:#333;color:#f2f2f2}
html[data-theme=dark] .lib-search select{border-color:#3a3a3a;background:#2a2a2a;color:#f2f2f2}
html[data-theme=dark] .lib-search button{border-color:#3a3a3a;background:#111;color:#f2f2f2}
html[data-theme=dark] .lib-search button:hover{background:#000}
html[data-theme=dark] .cr-main .lib-title,html[data-theme=dark] .lib-count{color:#a0a0a0}
html[data-theme=dark] .lib-sort{color:#cfcfcf}
html[data-theme=dark] .lib-sort select{border-color:#444;background:#2b2b2b;color:#f2f2f2}
html[data-theme=dark] .lib-thumb{border-color:#2c2c2c;background:#222}
html[data-theme=dark] .lib-thumb:hover{background:#292929;border-color:#3d3d3d}
html[data-theme=dark] .lib-name{color:#9fb7d6}
html[data-theme=dark] .lib-price{color:#8d9db3}
html[data-theme=dark] .lib-tools button{border-color:#4a4a4a;background:#141414e6;color:#c9d3df}
html[data-theme=dark] .lib-tools button:hover{background:#333}
html[data-theme=dark] .lib-empty,html[data-theme=dark] .lib-note{color:#8d8d8d}
@media(max-width:700px){.lib{padding:12px}.lib-search{justify-content:stretch}.lib-search input{flex:1}.lib-grid{grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:20px 14px}}
.ad-preview{display:grid;place-items:center;min-height:130px;padding:16px;border:2px dashed #aab5c3;border-radius:5px;color:#718096;text-align:center}.ad-preview img{max-width:100%;max-height:280px;object-fit:contain}.ad-row{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.ad-thumb{width:130px;height:90px;object-fit:contain;background:#e6e9ed}.ad-bid{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.ad-bid input{width:100px;padding:7px}.ad-bid button{white-space:nowrap}
.ad-preview.ad-drop-active{border-color:#3182ce;background:#dbeafe}

.game-badge-form{display:grid;gap:12px;max-width:560px;margin:20px 0}.game-badge-form input,.game-badge-form textarea,.game-badge-form select{font:inherit;padding:10px}.game-badge-form textarea{min-height:100px}#game-badge-manager article{margin:20px 0;border:1px solid #8b929955;padding:16px}#game-badge-manager article button{margin-left:20px}#game-badge-manager pre{white-space:pre-wrap;overflow-wrap:anywhere}

/* Dedicated configure page, with classic settings navigation and responsive forms. */
.cr-tabs[hidden],.cr-body[hidden]{display:none!important}.cr-config.cfg-page{position:static;display:block;width:100%;max-width:1100px;max-height:none;margin:0;border:1px solid #444;box-sizing:border-box}.cfg-page #settings-form{max-height:none}.cfg-page .cfg-body{overflow:visible;min-height:560px}.cfg-page .cfg-main{overflow:visible}.cfg-page .cfg-head{padding:18px 22px}.team-avatar{display:inline-block;flex:none;width:44px;height:44px;background:#e1e6eb;border-radius:50%;overflow:hidden}.team-avatar canvas{display:block;width:100%;height:100%}.team-search-result{display:flex;align-items:center;gap:12px;width:100%;padding:8px;margin-top:6px;border:1px solid #555;background:#292929;color:#fff;font:inherit;cursor:pointer;text-align:left}.team-search-result:hover,.team-search-result[aria-pressed=true]{border-color:#00a2ff;background:#24384c}.cr-chip{display:inline-flex;align-items:center;gap:8px}.cr-chip a{color:inherit}.badge-icon-preview{width:96px;height:96px;object-fit:contain;background:#fff}.game-badge-form button{padding:10px 14px;font:inherit;border-radius:3px;cursor:pointer}.game-badge-form select{background:#fff;color:#111}.asset-upload-form{display:grid;gap:10px;max-width:620px}.asset-upload-form input,.asset-upload-form textarea{padding:10px;font:inherit}.asset-upload-form label{display:flex;gap:10px;align-items:center}.developer-asset-card{border:1px solid #8b929955;padding:14px;border-radius:4px;display:flex;flex-direction:column;gap:8px;min-width:0}.developer-asset-card img{width:100%;height:130px;object-fit:contain;background:#fff}.developer-asset-card h3{margin:0;overflow-wrap:anywhere}.developer-asset-card p{margin:0;overflow-wrap:anywhere}.developer-asset-card .cr-actions{flex-wrap:wrap}.ad-stats{display:grid;grid-template-columns:repeat(3,minmax(90px,1fr));gap:6px 18px;font-size:12px}.ad-running{color:#059b48;font-weight:bold}.ad-idle{color:#6a7685}.ad-row .cr-info{min-width:220px}.ad-template-list{display:grid;gap:8px;margin:10px 0}.ad-confirm{max-width:440px;border:1px solid #9aa3ad;padding:24px;text-align:center;border-radius:4px}.ad-confirm::backdrop{background:#0009}.ad-confirm h2{margin-top:0}.ad-confirm-actions{display:flex;gap:10px;justify-content:center;margin-top:24px}.ad-confirm-actions button{padding:10px 20px;font:inherit}.ad-target-info{font-size:13px;overflow-wrap:anywhere}
@media(max-width:700px){.cfg-page .cfg-main{padding:16px}.ad-stats{grid-template-columns:repeat(2,minmax(80px,1fr))}.ad-row .cr-info{min-width:0;width:100%}.cr-config.cfg-page{max-width:100%}}

.cfg-page .cfg-main,.cfg-page .cfg-pane,#config-badges{min-width:0}.game-badge-form{min-width:0;grid-template-columns:minmax(0,1fr)}.game-badge-form input:not([type=checkbox]),.game-badge-form textarea,.game-badge-form select{width:100%;min-width:0;max-width:100%;box-sizing:border-box}#config-badges article{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;margin:20px 0;padding:16px;border:1px solid #555;border-radius:4px}#config-badges pre{white-space:pre-wrap;overflow-wrap:anywhere;margin:0}#config-badges article button{justify-self:start;padding:8px 14px;color:inherit;background:#444;border:1px solid #666;border-radius:3px;cursor:pointer}.game-badge-form>button:not([hidden]){background:#1687ef;color:white;border:1px solid #1687ef}.game-badge-form>label{margin:0}.game-badge-form>label:last-of-type{margin-top:4px}
@media(max-width:700px){.cfg-page .cfg-body{grid-template-columns:minmax(0,1fr)}.cfg-page .cfg-actions{flex-wrap:wrap}}

.ad-row{display:grid;grid-template-columns:130px minmax(0,1fr);align-items:start}.ad-row .cr-info{min-width:0}.ad-stats{grid-template-columns:repeat(3,minmax(0,1fr));overflow-wrap:anywhere}.ad-menu{grid-column:2;justify-self:start;max-width:100%}.ad-bid{padding-top:10px}.ad-bid small{width:100%}@media(max-width:700px){.ad-row{grid-template-columns:90px minmax(0,1fr)}.ad-thumb{width:90px}.ad-stats{grid-template-columns:repeat(2,minmax(0,1fr))}}
.pm-list{display:flex;flex-direction:column;gap:8px;margin:6px 0}.pm-row{border:1px solid #555;border-radius:4px;padding:8px 10px;background:#2f2f2f;color:#e8e8e8}
.pm-title span{color:#b5b5b5;font-size:13px}.pm-desc{font-size:13px;color:#b5b5b5;margin:2px 0}.pm-desc:empty{display:none}
.pm-code{display:block;font-size:12px;color:#8fd6a0;margin:4px 0;overflow-wrap:anywhere}.pm-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:4px}
.pm-form{display:grid;grid-template-columns:1fr 1.6fr 8em auto auto;gap:6px;align-items:center;margin:6px 0 14px}.pm-form input{min-width:0}
@media(max-width:700px){.pm-form{grid-template-columns:1fr 1fr}}

