:root{color:#202124;background:#f5f2ea;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}body{margin:0;min-width:320px;min-height:100vh}button,input,select,textarea{font:inherit}button{border:0;cursor:pointer}.app-shell{display:grid;grid-template-columns:280px 1fr;min-height:100vh}.sidebar{display:flex;flex-direction:column;gap:26px;padding:24px;background:#24312d;color:#fffdf5}.brand{display:flex;gap:13px;align-items:center}.brand-mark{display:grid;place-items:center;width:44px;height:44px;border-radius:8px;background:#f2c94c;color:#24312d}.brand strong{display:block}.brand-subtitle{display:flex;gap:7px;align-items:center;margin-top:3px;color:#cfd8d3;font-size:13px}.brand-subtitle em{padding:1px 6px;border-radius:999px;background:#394a44;color:#f3d879;font-size:11px;font-style:normal;font-weight:800}.nav-tabs{display:grid;gap:8px}.nav-tabs button{display:flex;align-items:center;gap:10px;min-height:42px;padding:0 12px;border-radius:8px;color:#dbe4df;background:transparent;text-align:left}.nav-tabs button.active,.nav-tabs button:hover{background:#fffdf5;color:#24312d}.mode-switch{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:4px;border:1px solid #53645e;border-radius:8px;background:#31413b}.mode-switch button{min-height:34px;padding:0 8px;background:transparent;color:#dbe4df;font-size:12px}.mode-switch button.active{background:#fffdf5;color:#24312d}.status-panel{display:grid;gap:10px;margin-top:auto;padding:14px;border:1px solid #53645e;border-radius:8px;background:#31413b;color:#eaf0ed;font-size:14px}.status-panel div{display:flex;gap:9px;align-items:center}.status-panel .deploying{color:#9be0be;font-weight:800}.workspace{padding:28px;overflow:hidden}.topbar,.section-toolbar,.pane-header,.actions{display:flex;align-items:center}.topbar{justify-content:space-between;gap:16px;margin-bottom:18px}h1{margin:0;color:#1b2622;font-size:28px;letter-spacing:0}p{margin:6px 0 0;color:#68736f}.actions,.section-toolbar{gap:10px}.section-toolbar{justify-content:space-between;margin-bottom:14px}.section-toolbar strong,.section-toolbar span{display:block}.section-toolbar span{margin-top:4px;color:#69736f;font-size:13px}button,.actions button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:38px;padding:0 13px;border-radius:8px;background:#1f7a5a;color:#fff;font-weight:700}button.ghost{background:#e7ece7;color:#26312d}.issue-strip{display:flex;gap:12px;align-items:center;margin-bottom:18px;padding:12px 14px;border-left:4px solid #d18b00;border-radius:8px;background:#fff7df;color:#5d470e}.issue-strip.has-errors{border-color:#bd3f2f;background:#fff0ed;color:#6f261d}.issue-strip.readonly-strip{border-color:#1f7a5a;background:#edf5ef;color:#25483a}.split-layout,.preview-layout,.pack-layout{display:grid;grid-template-columns:minmax(260px,380px) minmax(0,1fr);gap:18px}.list-pane,.editor-grid,.table-section,.preview-sidebar,.preview-main,.pack-main{min-height:0;border:1px solid #dce2dc;border-radius:8px;background:#fffefa}.pack-main{display:grid;gap:18px;padding:18px}.pack-main .table-section,.pack-main .editor-grid,.pack-main .list-pane{border:0;background:transparent}.pack-main .table-section{padding:0}.nested-split{grid-template-columns:minmax(240px,320px) minmax(0,1fr)}.compact-grid{grid-template-columns:repeat(3,minmax(0,1fr));padding:0}.list-pane,.preview-sidebar{padding:14px}.pane-header{justify-content:space-between;margin-bottom:12px}.pane-actions{display:flex;gap:8px;align-items:center}.searchless-list{display:grid;gap:7px;max-height:calc(100vh - 220px);overflow:auto}.row{display:grid;grid-template-columns:42px 1fr auto;align-items:center;gap:10px;width:100%;padding:9px;border-radius:8px;background:transparent;color:#222c28;text-align:left}.row.selectable{grid-template-columns:18px 42px 1fr auto}.row-check{width:16px;min-height:16px;padding:0}.row.active,.row:hover{background:#edf5ef}.row small,.row em{display:block;margin-top:2px;color:#6c7772;font-size:12px;font-style:normal}.avatar{display:grid;place-items:center;width:38px;height:38px;border-radius:8px;background:#f2c94c;color:#24312d;font-size:11px;font-weight:800}.sticker-thumb{overflow:hidden}.sticker-thumb img{width:82%;height:82%;object-fit:contain}.editor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;padding:18px;align-content:start}fieldset.editor-grid{margin:0}fieldset{border:0;min-inline-size:0}.field{display:grid;gap:7px}.image-file-control{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.field.wide{grid-column:1 / -1}.sticker-preview-field{display:grid;grid-template-columns:120px minmax(0,1fr);gap:14px;grid-column:1 / -1;align-items:center;padding:12px;border:1px solid #d8e1dc;border-radius:8px;background:#f8fbf8}.sticker-preview{display:grid;place-items:center;width:120px;aspect-ratio:1;border-radius:8px;background:#eef4f0;color:#34423c;font-size:13px;font-weight:900;overflow:hidden}.sticker-preview img{width:82%;height:82%;object-fit:contain}.sticker-preview-field strong,.sticker-preview-field span{display:block;overflow-wrap:anywhere}.sticker-preview-field strong{color:#24312d}.sticker-preview-field span{margin-top:5px;color:#69736f;font-size:13px}label{color:#49534f;font-size:13px;font-weight:700}input,select,textarea{width:100%;min-height:38px;border:1px solid #cfd8d2;border-radius:8px;padding:8px 10px;background:#fff;color:#1f2724}textarea{min-height:112px;resize:vertical}.chip-grid{display:flex;flex-wrap:wrap;gap:8px}.chip{display:inline-flex;align-items:center;gap:7px;min-height:34px;padding:0 10px;border:1px solid #cbd7d0;border-radius:8px;background:#fff}.chip.selected{border-color:#1f7a5a;background:#eaf6ef}.table-section{padding:18px}.data-table{display:grid;gap:8px;overflow:auto}.table-row{display:grid;grid-template-columns:160px 160px minmax(240px,1fr) 90px 130px 100px;gap:8px;align-items:center;min-width:920px}.table-row.header{color:#5f6c66;font-size:13px;font-weight:800}.preview-sidebar{display:grid;gap:10px;align-content:start}.release-list-header{display:flex;align-items:center;justify-content:space-between;gap:8px}.release-list-header button{min-height:30px;padding:0 8px;font-size:12px}.release-list{display:grid;gap:8px;max-height:280px;overflow:auto}.release-list-item{display:grid;grid-template-columns:minmax(0,1fr) 32px;gap:8px}.release-list-item.active .release-select{background:#1f7a5a;color:#fff}.release-select{display:grid;grid-template-columns:18px minmax(0,1fr);align-items:start;gap:8px;min-height:auto;padding:10px;text-align:left}.release-delete{min-width:32px;min-height:100%;padding:0;justify-content:center;border:1px solid #ead4cf;background:#fff4f0;color:#9f392b;font-size:20px;line-height:1}.release-delete:hover{background:#f6d8d0}.release-select span,.release-select strong,.release-select em{display:block;min-width:0}.release-select strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.release-select em{margin-top:3px;color:inherit;font-size:11px;font-style:normal;opacity:.76}.preview-sidebar button{justify-content:flex-start;background:#edf3ef;color:#23302b}.preview-sidebar button.active{background:#1f7a5a;color:#fff}.path-list{display:grid;gap:5px;max-height:340px;overflow:auto;color:#4f5d57;font-size:12px}.preview-main{padding:18px}.deploy-message,.deploy-options{display:flex;gap:8px;align-items:center}.deploy-message{margin-bottom:12px;padding:10px 12px;border-radius:8px;background:#edf5ef;color:#25483a}button:disabled,input:disabled,select:disabled{cursor:not-allowed;opacity:.58}.deploy-token,.remember-token,.deploy-options{margin-bottom:12px}.deploy-token{display:grid;gap:7px}.remember-token{display:flex;align-items:center;gap:8px;width:fit-content;color:#49534f}.remember-token input{width:16px;min-height:16px}.deploy-token span,.deploy-options span{color:#49534f;font-size:13px;font-weight:700}.deploy-options{display:grid;grid-template-columns:minmax(0,1fr) 220px}.deploy-options label{display:grid;gap:7px}.image-upload-panel{display:grid;gap:10px;margin-bottom:12px;padding:12px;border:1px solid #d8e1dc;border-radius:8px;background:#f8fbf8}.image-upload-panel strong,.image-upload-panel span{display:block}.image-upload-panel>div>span{margin-top:4px;color:#69736f;font-size:13px}.file-picker{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:38px;width:fit-content;padding:0 13px;border-radius:8px;background:#e7ece7;color:#26312d;overflow:hidden}.file-picker.small{min-height:38px;white-space:nowrap}.file-picker input{position:absolute;top:0;right:0;bottom:0;left:0;opacity:0;cursor:pointer}.image-upload-summary{display:flex;flex-wrap:wrap;gap:8px}.image-upload-summary span{min-height:28px;padding:5px 9px;border-radius:8px;background:#edf3ef;color:#34423c;font-size:12px;font-weight:800}.path-list.compact{max-height:120px;padding:8px;border-radius:8px;background:#fff}.readonly-panel{background:#fffefa}.empty-state.compact{min-height:0;padding:10px;font-size:12px}.staging-release-panel{display:grid;gap:12px;margin-bottom:14px;padding:12px;border:1px solid #d8e1dc;border-radius:8px;background:#fbfdfb}.staging-release-header{display:flex;justify-content:space-between;gap:12px;align-items:flex-start}.staging-release-header strong,.staging-release-header span{display:block}.staging-release-header>div>span{margin-top:4px;color:#69736f;font-size:12px}.staging-release-subhead{color:#34423c;font-size:13px;font-weight:900}.staging-pack-sections{display:grid;gap:10px}.staging-pack-section{display:grid;gap:10px;min-width:0}.staging-pack-header{display:grid;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:8px;min-height:40px;padding:0 10px;border:1px solid #d8e1dc;background:#edf5ef;color:#25312d;text-align:left}.staging-pack-header span{display:grid;place-items:center;width:24px;height:24px;border-radius:6px;background:#fff;color:#1f7a5a;font-weight:900}.staging-pack-header strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.staging-pack-header em{color:#5f6c66;font-size:12px;font-style:normal;font-weight:800}.staging-card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(132px,1fr));gap:10px}.staging-card{display:grid;gap:6px;min-width:0;padding:10px;border:1px solid #dce5df;border-radius:8px;background:#fff}.staging-card-image{display:grid;place-items:center;aspect-ratio:1;border-radius:8px;background:#f2f6f3;overflow:hidden}.asset-image-frame{display:grid;place-items:center;width:100%;height:100%;color:#6b756f;font-size:12px;font-weight:800}.staging-card-image img{width:76%;height:76%;object-fit:contain}.staging-card strong,.staging-card span,.staging-card em{overflow-wrap:anywhere}.staging-card strong{color:#25312d;font-size:13px}.staging-card span,.staging-card em{color:#68736f;font-size:11px;font-style:normal}.reward-browser{display:grid;gap:14px;max-height:420px;overflow:auto;padding:10px;border:1px solid #d8e1dc;border-radius:8px;background:#f8fbf8}.reward-pack,.reward-grid{display:grid;gap:8px}.reward-card{display:grid;grid-template-columns:38px minmax(0,1fr) auto auto;align-items:center;gap:8px;padding:8px;border:1px solid #dce2dc;border-radius:8px;background:#fff}.reward-card.primary{border-color:#1f7a5a;box-shadow:inset 0 0 0 1px #1f7a5a}.reward-card.extra{background:#f2f7f3}.reward-card small{display:block;color:#6c7772;font-size:12px}button.mini,button.active-mini{min-height:30px;padding:0 9px;font-size:12px}button.mini{background:#e7ece7;color:#26312d}button.active-mini{background:#1f7a5a;color:#fff}pre{min-height:520px;max-height:calc(100vh - 240px);margin:0;overflow:auto;padding:16px;border-radius:8px;background:#17211d;color:#e8f3ed;font-size:13px;line-height:1.55}@media(max-width:980px){.app-shell{grid-template-columns:1fr}.sidebar{position:static}.nav-tabs{grid-template-columns:repeat(4,minmax(0,1fr))}.split-layout,.preview-layout,.pack-layout,.nested-split,.compact-grid{grid-template-columns:1fr}.topbar{align-items:flex-start;flex-direction:column}}@media(max-width:640px){.workspace,.sidebar{padding:16px}.nav-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.editor-grid{grid-template-columns:1fr}.issue-strip{align-items:flex-start;flex-direction:column}}
