@import "https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Noto+Sans+SC:wght@400;500;600;700&display=swap";:root{color:#1c2928;font-synthesis:none;text-rendering:optimizelegibility;background:#f6f8f7;font-family:DM Sans,Noto Sans SC,Microsoft YaHei,sans-serif}*{box-sizing:border-box}body{min-width:320px;margin:0}button,input{font:inherit}button{cursor:pointer}button:disabled{cursor:not-allowed}.app-shell{grid-template-columns:232px minmax(0,1fr);min-height:100vh;display:grid}.sidebar{color:#e7efec;background:#1a3030;border-right:1px solid #25413e;flex-direction:column;min-height:100vh;display:flex}.brand{border-bottom:1px solid #2e4745;align-items:center;gap:12px;height:77px;padding:0 25px;display:flex}.brand-mark{grid-template-rows:repeat(2,8px);grid-template-columns:repeat(2,8px);gap:3px;display:grid;transform:rotate(-9deg)}.brand-mark span{background:#69d5ae;border-radius:1px}.brand-mark span:nth-child(2){background:#f3b768}.brand-mark span:nth-child(3){background:#e89983}.brand-copy,.game-label>div:last-child{flex-direction:column;gap:1px;min-width:0;display:flex}.brand-copy strong{font-size:15px;line-height:1.2}.brand-copy small{color:#94aaa5;font-size:11px}.sidebar-section-label{color:#89a39d;letter-spacing:1.2px;margin:28px 24px 11px;font-size:10px;font-weight:700}.game-switcher{border-bottom:1px solid #2e4745;flex-direction:column;gap:7px;margin:0 12px 12px;padding:0 12px 12px;display:flex}.game-switcher label{color:#89a39d;letter-spacing:.8px;font-size:10px;font-weight:700}.game-switcher select{color:#e7efec;background:#284441;border:1px solid #41625c;border-radius:5px;outline:none;width:100%;min-height:34px;padding:0 9px;font-size:12px}.game-switcher select:focus{border-color:#69d5ae;box-shadow:0 0 0 2px #31574c}.game-switcher small{color:#9fb5ae;font-size:10px;line-height:1.45}.game-label{background:#284441;border:1px solid #34524e;border-radius:6px;align-items:center;gap:11px;margin:0 12px 19px;padding:11px 12px;display:flex}.game-label strong{font-size:13px;font-weight:600}.game-label small{color:#a3bbb4;white-space:nowrap;font-size:10px}.game-thumbnail{background:#eab075;border-radius:4px;flex:none;width:30px;height:30px;position:relative;overflow:hidden}.game-thumbnail span{background:#304f47;width:7px;height:7px;display:block;position:absolute}.game-thumbnail span:first-child{top:6px;left:7px}.game-thumbnail span:nth-child(2){top:6px;left:17px}.game-thumbnail span:nth-child(3){background:#9f5e55;width:9px;top:18px;left:11px}.navigation{gap:3px;padding:0 12px;display:grid}.navigation button{color:#abc0ba;text-align:left;background:0 0;border:0;border-radius:6px;align-items:center;gap:12px;height:43px;padding:0 13px;font-size:13px;display:flex}.navigation button:hover{color:#fff;background:#29443f}.navigation button.active{color:#eafff5;background:#316450;font-weight:600}.sidebar-bottom{color:#9eb6ae;border-top:1px solid #2e4745;align-items:center;gap:9px;margin-top:auto;padding:22px 25px;font-size:11px;display:flex}.status-dot{background:#66d1a3;border-radius:50%;width:7px;height:7px;box-shadow:0 0 0 3px #31574c}.status-dot.offline{background:#ecaa80;box-shadow:0 0 0 3px #5e4640}.workspace{min-width:0}.topbar{background:#fff;border-bottom:1px solid #e0e7e5;justify-content:space-between;align-items:center;height:77px;padding:0 clamp(24px,4vw,62px);display:flex}.breadcrumb{color:#7d8e89;white-space:nowrap;align-items:center;gap:10px;min-width:0;font-size:12px;display:flex}.breadcrumb strong{color:#22332f;font-weight:600}.slash{color:#b5c0bc}.icon-button{color:#6f817b;background:0 0;border:0;border-radius:5px;flex:none;justify-content:center;align-items:center;width:34px;height:34px;padding:0;display:inline-flex}.icon-button:hover:not(:disabled){color:#246a4e;background:#edf4ef}.icon-button:disabled{color:#c8d1cd}.icon-button.danger:hover:not(:disabled){color:#b74738;background:#fff0ed}.refresh-button{border:1px solid #e0e7e4}.admin-auth-control{color:#60756b;flex:none;align-items:center;gap:8px;min-width:0;padding-left:12px;display:flex}.admin-auth-control input{color:#273b34;background:#fff;border:1px solid #cfdbd4;border-radius:4px;outline:none;width:150px;min-width:0;padding:8px 9px;font-size:12px}.admin-auth-control input:focus{border-color:#559476;box-shadow:0 0 0 2px #55947622}.admin-auth-control input::placeholder{color:#84938d}.admin-auth-control .secondary-button{min-height:34px;padding:0 10px}.main-content{max-width:1180px;margin:0 auto;padding:43px clamp(24px,4vw,62px) 80px}.page-section{min-width:0}.page-heading{justify-content:space-between;align-items:flex-end;gap:24px;padding-bottom:32px;display:flex}.eyebrow{color:#80938b;letter-spacing:1.1px;margin:0 0 11px;font-size:10px;font-weight:700}h1{color:#152725;margin:0;font-size:28px;font-weight:700;line-height:1.2}.page-subtitle{color:#758680;margin:9px 0 0;font-size:13px}.heading-actions{flex:none;align-items:center;gap:16px;display:flex}.unsaved-state{color:#b16e2e;font-size:12px}.primary-button,.secondary-button,.danger-button{white-space:nowrap;border:1px solid #0000;border-radius:5px;justify-content:center;align-items:center;gap:8px;min-height:38px;padding:0 15px;font-size:12px;font-weight:600;display:inline-flex}.primary-button{color:#fff;background:#226f50;border-color:#226f50}.primary-button:hover:not(:disabled){background:#1a5d42}.primary-button:disabled{color:#a2b2aa;background:#e5eae6;border-color:#e5eae6}.secondary-button{color:#2c493e;background:#fff;border-color:#cfdbd4}.secondary-button:hover:not(:disabled){background:#eef5ef;border-color:#abc8b7}.secondary-button:disabled{opacity:.5}.danger-button{color:#fff;background:#b94e42;border-color:#b94e42}.danger-button:hover:not(:disabled){background:#9f3c32}.danger-button:disabled{opacity:.6}.section-divider{border-top:1px solid #dce6e1;justify-content:space-between;align-items:baseline;gap:15px;padding:20px 0 15px;display:flex}.section-divider span{color:#24362f;font-size:15px;font-weight:700}.section-divider small{color:#8b9b94;font-size:11px}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:23px 42px;padding:9px 0 37px;display:grid}.gift-grid{align-items:stretch}.field{flex-direction:column;gap:9px;min-width:0;display:flex}.field-label{color:#394c44;font-size:12px;font-weight:600}.field-label small{color:#8da098;margin-left:4px;font-size:11px;font-weight:400}.field input,.level-input input,.xp-input input{color:#1c2c27;background:#fff;border:1px solid #cfdcd4;border-radius:5px;outline:none;width:100%;min-width:0;height:42px;padding:0 13px;font-size:14px}.field input:focus,.level-input input:focus,.xp-input input:focus{border-color:#4a9b75;box-shadow:0 0 0 3px #dcefe3}.field input[aria-invalid=true]{border-color:#bd6152;box-shadow:0 0 0 3px #fae9e5}.field>small{color:#96a39c;min-height:15px;font-size:11px}.field>small.validation-error{color:#b8483c}.calculation{border-left:2px solid #e9d9ba;flex-direction:column;justify-content:center;gap:8px;min-height:94px;padding-left:26px;display:flex}.calculation-label{color:#9b7b4f;font-size:11px;font-weight:600}.calculation div{color:#4e5f56;font-size:12px}.calculation div span{color:#98a49c;font-size:10px}.calculation strong{color:#9b6232;font-size:20px;font-weight:700}.form-footer{border-top:1px solid #dce6e1;justify-content:space-between;align-items:center;gap:20px;padding-top:22px;display:flex}.form-footer span{color:#91a098;font-size:11px}.notice{color:#28734e;background:#eff8f1;border:1px solid #c9dfcf;border-radius:5px;align-items:center;gap:10px;margin-bottom:24px;padding:10px 12px;font-size:12px;display:flex}.notice.error{color:#aa4a3c;background:#fff2ef;border-color:#f1d1ca}.notice span{flex:1}.notice .icon-button{width:25px;height:25px;color:inherit}.loading-state,.error-state{color:#85958e;padding:34px 0;font-size:13px}.error-state{color:#ac4f43;align-items:center;gap:9px;display:flex}.error-state button{color:#216e50;background:0 0;border:0;margin-left:6px;padding:3px 0;font-weight:600}.toolbar-row{color:#7c8d84;border-top:1px solid #dce6e1;justify-content:space-between;align-items:center;gap:16px;padding:17px 0;font-size:12px;display:flex}.table-scroll{border-top:1px solid #e0e8e2;border-bottom:1px solid #e0e8e2;width:100%;overflow-x:auto}.data-table{border-collapse:collapse;text-align:left;width:100%}.data-table th{color:#87978e;background:#f2f5f2;height:44px;font-size:11px;font-weight:600}.data-table td{color:#384a41;border-top:1px solid #e5ebe6;height:65px;font-size:12px}.data-table th,.data-table td{padding:9px 16px}.data-table th:first-child,.data-table td:first-child{padding-left:19px}.action-column{width:78px;text-align:right!important}.level-table th:first-child{width:160px}.level-table th:nth-child(2){width:260px}.level-input,.xp-input{background:#fff;border:1px solid #d6e0d8;border-radius:5px;align-items:center;width:min(100%,205px);height:38px;padding:0 12px;display:flex}.level-input{width:112px}.level-input span,.xp-input span{color:#9aa99f;font-size:11px}.level-input input,.xp-input input{background:0 0;border:0;height:36px;padding:0 6px;font-size:13px;box-shadow:none!important}.level-input:focus-within,.xp-input:focus-within{border-color:#4a9b75;box-shadow:0 0 0 3px #dcefe3}.table-caption{color:#9daaa2;font-size:11px}.inline-error{color:#b94e42;align-items:center;gap:7px;margin:14px 0;font-size:11px;display:flex}.empty-state{color:#9baaa0;border-top:1px solid #e0e8e2;border-bottom:1px solid #e0e8e2;flex-direction:column;justify-content:center;align-items:center;gap:9px;min-height:240px;display:flex}.empty-state strong{color:#42574a;font-size:14px}.empty-state span{font-size:11px}.empty-state button{margin-top:6px}.unsupported-state{color:#95a59d;text-align:center;border-top:1px solid #e0e8e2;border-bottom:1px solid #e0e8e2;flex-direction:column;justify-content:center;align-items:center;gap:10px;min-height:280px;display:flex}.unsupported-state h1{color:#42574a;font-size:20px}.unsupported-state p{margin:0;font-size:12px}.add-appearance{align-items:flex-start;gap:15px;padding:2px 0 29px;display:flex}.add-appearance .field{width:min(100%,360px)}.add-appearance .primary-button{height:42px;margin-top:23px}.appearance-table td:first-child{align-items:center;gap:12px;display:flex}.skin-id{font-size:12px;font-weight:600}.skin-swatch{background:#e7eee7;border-radius:4px;grid-template-columns:repeat(2,7px);place-content:center;gap:2px;width:26px;height:26px;display:grid}.skin-swatch span{background:#75a893;width:7px;height:7px}.skin-swatch span:nth-child(2){background:#e3ab74}.skin-swatch span:nth-child(3){background:#adccaa}.skin-swatch span:nth-child(4){background:#c17c70}.enabled-state{color:#3e8f65;align-items:center;gap:6px;font-size:11px;display:inline-flex}.enabled-state span{background:#4eaa76;border-radius:50%;width:6px;height:6px}.modal-backdrop{z-index:30;background:#1427227a;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0}.confirm-dialog{background:#fff;border:1px solid #d8e3dc;border-radius:7px;width:min(100%,410px);padding:26px;box-shadow:0 18px 50px #0e201626}.dialog-icon{color:#b64b3e;background:#fff0ed;border-radius:6px;justify-content:center;align-items:center;width:42px;height:42px;display:flex}.confirm-dialog h2{margin:17px 0 8px;font-size:18px}.confirm-dialog p{color:#73847a;margin:0;font-size:12px;line-height:1.8}.confirm-dialog p strong{color:#263b30}.replacement-field{color:#43534b;gap:8px;margin-top:18px;font-size:13px;display:grid}.replacement-field select{color:#263b30;width:100%;min-height:38px;font:inherit;background:#fff;border:1px solid #d8e3dc;border-radius:5px;padding:0 10px}.replacement-field select:focus-visible{outline-offset:2px;outline:2px solid #32785c}.dialog-actions{justify-content:flex-end;gap:9px;margin-top:26px;display:flex}@media (width<=900px){.app-shell{grid-template-columns:195px minmax(0,1fr)}.brand{padding:0 18px}.sidebar-section-label{margin-left:18px}.sidebar-bottom{padding-left:18px}.form-grid{gap:21px 25px}}@media (width<=700px){.app-shell{display:block}.sidebar{border-right:0;min-height:0}.brand{border-bottom:0;height:58px}.sidebar-section-label,.game-switcher,.game-label,.sidebar-bottom{display:none}.navigation{gap:3px;padding:0 12px 9px;display:flex;overflow-x:auto}.navigation button{white-space:nowrap;flex:1;justify-content:center;gap:7px;min-width:90px;height:38px;padding:0 8px;font-size:11px}.topbar{flex-wrap:wrap;gap:8px;height:auto;min-height:52px;padding:9px 20px}.breadcrumb{flex:1;gap:7px;font-size:11px}.admin-auth-control{order:3;width:100%;padding-left:0}.admin-auth-control input{flex:1;width:0}.breadcrumb span:first-child,.breadcrumb .slash:first-of-type{display:none}.main-content{padding:28px 20px 60px}.page-heading{flex-direction:column;align-items:flex-start;gap:20px;padding-bottom:28px}.heading-actions{justify-content:flex-end;width:100%}.heading-actions .primary-button{min-width:116px}h1{font-size:25px}.form-grid{grid-template-columns:1fr;gap:22px}.calculation{padding-left:16px}.section-divider{align-items:flex-start}.section-divider small{text-align:right}.table-scroll{overflow-x:auto}.level-table,.appearance-table{min-width:0}.level-table th:nth-child(3),.level-table td:nth-child(3),.appearance-table th:nth-child(3),.appearance-table td:nth-child(3){display:none}.level-table th,.level-table td,.appearance-table th,.appearance-table td{padding:8px}.level-table th:first-child,.level-table td:first-child,.appearance-table th:first-child,.appearance-table td:first-child{padding-left:8px}.level-table th:first-child{width:94px}.level-table th:nth-child(2){width:auto}.level-table .action-column,.appearance-table .action-column{width:44px}.level-input{width:78px;padding:0 6px}.xp-input{width:min(100%,170px);padding:0 6px}.appearance-table td:first-child{gap:7px}.skin-id{overflow-wrap:anywhere}.form-footer{flex-direction:column;align-items:flex-start;gap:14px}.form-footer .primary-button{width:100%}.add-appearance{flex-direction:column;gap:3px}.add-appearance .field,.add-appearance .primary-button{width:100%}.add-appearance .primary-button{margin-top:0}}
