.creator-shell{width:min(1400px,calc(100% - 36px));margin:auto;padding-bottom:60px}.creator-head{display:flex;justify-content:space-between;align-items:end;gap:24px;padding:42px 0 28px}.creator-head h1{font:clamp(20px,3vw,34px)/1.7 'Press Start 2P';margin:12px 0}.creator-head h1 span{color:#ff75b5}.creator-head p:not(.eyebrow){max-width:760px;color:#aebbd2;font-size:13px;line-height:1.8}.creator-back{font-size:9px;color:#79f5e9;white-space:nowrap}.creator-layout{display:grid;grid-template-columns:290px minmax(0,1fr);gap:16px}.creator-controls,.pixel-workbench,.library-section{background:#11182a;border:1px solid #2d3c5a;padding:20px;min-width:0}.creator-controls label{display:grid;gap:7px;margin:14px 0;color:#91a3c0;font-size:8px;letter-spacing:1px}.creator-controls input:not([type=color]),.creator-controls select{width:100%;padding:11px;background:#091326;border:1px solid #354867;color:#eef5ff}.creator-controls input[type=color]{width:100%;height:38px;background:#091326;border:1px solid #354867}.creator-buttons{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}.creator-buttons button,.wide-button,.save-sprite{padding:10px 12px;border:1px solid #45617e;background:#182b45;color:#e5f5ff;font-size:8px;font-weight:800;letter-spacing:.7px;cursor:pointer}.wide-button{width:100%}.palette{display:grid;grid-template-columns:repeat(6,1fr);gap:7px}.palette button{height:31px;border:2px solid #465775;cursor:pointer}.palette button.active{outline:2px solid #fff;outline-offset:2px}.palette-label{margin-top:22px}.creator-tip{margin-top:22px;padding:13px;background:#0b1428;border:1px solid #344665}.creator-tip b{font-size:8px;color:#f4d477}.creator-tip p,.sprite-preview-row p:not(.eyebrow){font-size:10px;line-height:1.7;color:#9cacc5}.pixel-workbench-head{display:flex;justify-content:space-between;align-items:center;gap:12px}.pixel-workbench h2,.library-section h2{font:12px/1.8 'Press Start 2P'}.pixel-workbench-head>span{font-size:8px;color:#67eadd;letter-spacing:1px}.pixel-canvas-frame{display:grid;place-items:center;overflow:auto;padding:20px;background:#080e1c;border:1px solid #3b4c6b}.pixel-canvas-frame canvas{width:min(100%,720px);height:auto;image-rendering:pixelated;cursor:crosshair;touch-action:none}.canvas-help{font-size:8px;letter-spacing:1px;color:#91a2bd;line-height:1.7}.sprite-preview-row{display:grid;grid-template-columns:200px 1fr;gap:22px;align-items:center;margin-top:18px;padding-top:18px;border-top:1px solid #2b3a56}.sprite-preview-row canvas{width:144px;height:144px;image-rendering:pixelated;background:#0b1428;border:1px solid #405272}.sprite-preview-row .save-sprite{margin-top:8px;background:#174c52;border-color:#5ce5d9}.library-section{margin-top:16px}.library-section>div:first-child p:not(.eyebrow){font-size:10px;color:#9cacc5;line-height:1.7}.custom-library{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:10px;margin-top:18px}.custom-sprite-card{padding:12px;background:#0b1428;border:1px solid #354665;text-align:center}.custom-sprite-card canvas{width:88px;height:88px;image-rendering:pixelated;background:#111d34}.custom-sprite-card strong{display:block;margin:9px 0;font-size:10px}.custom-sprite-card small{color:#93a4c0;font-size:8px}.custom-sprite-card button{display:block;width:100%;margin-top:10px;padding:8px;border:1px solid #9a4967;background:#3b1a31;color:#ffd8e8;font-size:8px;cursor:pointer}@media(max-width:850px){.creator-layout{grid-template-columns:1fr}.creator-controls{order:2}.pixel-workbench{order:1}}@media(max-width:580px){.creator-head{display:block}.creator-back{display:inline-block;margin-top:12px}.sprite-preview-row{grid-template-columns:1fr}.creator-shell{width:calc(100% - 20px)}}
.guide-toggle{display:flex!important;grid-template-columns:auto 1fr!important;align-items:center;gap:9px!important}.guide-toggle input{width:auto!important}
.creator-controls input[type=range]{width:100%;accent-color:#72e6db}
.creator-buttons button:hover,.wide-button:hover,.save-sprite:hover{filter:brightness(1.25);transform:translateY(-1px)}
.custom-sprite-card .sprite-card-actions{display:flex;gap:6px}.custom-sprite-card .sprite-card-actions button{flex:1;min-width:0}.custom-sprite-card .use-template{border-color:#3b8d91;background:#153b43;color:#b7fff7}
.custom-sprite-card .builtin-tag{display:inline-block;margin-top:8px;color:#79e7db;font-size:8px}

/* 8J.5 Character & Creature Creator */
.creator-mode,.auto-design{padding:13px;margin:12px 0;background:#0b1428;border:1px solid #344967;border-radius:7px}
.creator-mode p:not(.eyebrow),.auto-design p:not(.eyebrow){font-size:10px;line-height:1.65;color:#9eafc9}
.auto-design{border-color:#416b77;background:linear-gradient(145deg,#102334,#0b1428)}
.auto-design .eyebrow{margin:0 0 10px}
.auto-design label{margin:10px 0}
.auto-design input[type=color]{height:38px;width:100%;padding:3px;background:#091326;border:1px solid #354867}
.creator-controls .active-tool{border-color:#ff9abf;background:#46223a;color:#fff}
.import-library{display:inline-flex;align-items:center;position:relative;overflow:hidden;padding:10px 12px;border:1px solid #45617e;background:#182b45;color:#e5f5ff;font-size:8px;font-weight:800;cursor:pointer}
.import-library input{position:absolute;inset:0;opacity:0;cursor:pointer}
.library-heading{display:grid;grid-template-columns:minmax(260px,1fr) minmax(160px,230px) minmax(140px,180px);gap:12px;align-items:end}
.library-heading label{display:grid;gap:7px;color:#aebbd2;font-size:9px;letter-spacing:.7px}
.library-heading input,.library-heading select{width:100%;padding:10px;background:#091326;border:1px solid #354867;color:#eef5ff;border-radius:4px}
.library-summary{margin:14px 0;color:#71e5db;font-size:9px;letter-spacing:1px}
.custom-sprite-card{min-width:0}
.custom-sprite-card p{font-size:9px;line-height:1.5;color:#9eafc9;min-height:28px}
.custom-sprite-card .sprite-card-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;margin-top:9px}
.custom-sprite-card .sprite-card-actions button{width:100%;margin:0;padding:8px 5px;font-size:8px}
.custom-sprite-card .sprite-card-actions .use-template{grid-column:1/-1}
.custom-sprite-card .sprite-card-actions .delete-design{border-color:#75485b;background:#3b1a31;color:#ffd8e8}
.library-empty{grid-column:1/-1;padding:25px;text-align:center;color:#9eafc9;background:#0b1428;border:1px dashed #405272}
.creator-footer{display:flex;justify-content:center;gap:12px 24px;flex-wrap:wrap;padding:24px 0;border-top:1px solid #2b3a56;margin-top:24px}
.creator-footer a{font-size:9px;letter-spacing:.8px;color:#76e9df}
@media(max-width:760px){.library-heading{grid-template-columns:1fr 1fr}.library-heading>div:first-child{grid-column:1/-1}}
@media(max-width:520px){.library-heading{grid-template-columns:1fr}.library-heading>div:first-child{grid-column:auto}.creator-footer{justify-content:flex-start}}

.design-metadata{margin:14px 0;padding:13px;background:#0b1428;border:1px solid #344967;border-radius:7px}
.design-metadata>.eyebrow{margin:0 0 10px}
.design-metadata label{display:grid;gap:6px;margin:9px 0;color:#aebbd2;font-size:9px;letter-spacing:.5px}
.design-metadata input,.design-metadata select{width:100%;padding:9px;background:#091326;border:1px solid #354867;color:#eef5ff;border-radius:4px}
.design-metadata small{display:block;color:#91a3c0;font-size:9px;line-height:1.6;margin-top:8px}
.stat-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.stat-grid label{margin:0}
