.creator-showcase{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:390px}
.creator-showcase img{display:block;width:auto;max-width:72%;height:245px;object-fit:contain;image-rendering:pixelated;filter:drop-shadow(8px 9px 0 rgba(0,0,0,.25));margin:12px auto}
.creator-showcase h3{margin:4px 0}
.creator-showcase .rewards{width:100%;margin-top:auto}
.creator-window{width:min(1020px,94vw);grid-template-columns:.9fr 1.1fr;max-height:92vh;overflow:auto}
.creator-stage{min-height:540px;padding:25px;gap:15px}
.creator-canvas-wrap{height:405px;width:min(100%,260px);display:grid;place-items:center;position:relative;background:linear-gradient(45deg,#202845 25%,#24304f 25% 50%,#202845 50% 75%,#24304f 75%);background-size:24px 24px;border:3px solid #6279a8;box-shadow:7px 7px 0 #101626}
.creator-canvas-wrap canvas{display:block;height:100%;max-width:100%;width:auto;object-fit:contain;image-rendering:pixelated;filter:drop-shadow(6px 8px 0 rgba(0,0,0,.27));visibility:hidden}
.creator-canvas-wrap canvas.ready{visibility:visible}
.creator-canvas-wrap:after{content:'✦';position:absolute;right:11px;top:8px;color:#fbd270;font-size:20px;text-shadow:0 0 10px #ffd879;pointer-events:none;animation:creator-twinkle 2.7s ease-in-out infinite}
.creator-canvas-wrap canvas.ready{animation:creator-idle 3.2s ease-in-out infinite}
.creator-demo-badge{position:absolute;top:9px;left:8px;padding:5px 7px;background:#121b35e8;border:1px solid #9cbce7;color:#e7f4ff;font-size:9px;line-height:1.4;z-index:1;max-width:75%}
.creator-demo-badge[hidden]{display:none}
#creator-placeholder{position:absolute;inset:0;display:grid;place-items:center;padding:25px;color:#d8dded;font-size:12px;line-height:1.7;text-align:center}
#creator-placeholder[hidden]{display:none}
.creator-controls{padding:30px 32px;min-width:0}
.creator-controls h2{font-size:30px;margin:8px 0 10px}
.creator-intro{font-size:12px;line-height:1.7;color:#655449;margin:0 0 14px}
.creator-controls input[type=file]{font-size:11px;max-width:100%;cursor:pointer}
.creator-controls input[type=file]::file-selector-button{border:1px solid #574935;background:#e8bc62;padding:8px 10px;margin-right:8px;font-weight:800;cursor:pointer}
.creator-check{display:flex!important;align-items:center;gap:8px;cursor:pointer}
.creator-check input{width:auto!important;accent-color:#314b7c}
.create-button:disabled,.creator-download:disabled{opacity:.48;cursor:not-allowed}
.creator-download{width:100%;padding:12px;background:#e1b557;border:2px solid #74522f;margin-top:12px;color:#2e231d;font-weight:900;cursor:pointer}
.creator-status{font-size:11px;line-height:1.6;color:#4d5c68;margin-top:13px;min-height:37px}
.creator-status.error{color:#a33d3d}
.creator-stage-note{font-size:10px;letter-spacing:.08em;color:#b6c8ed;text-align:center}
@media(min-width:981px){.creator-window{height:min(92vh,780px);overflow:hidden;grid-template-rows:auto minmax(0,1fr)}.creator-window .window-bar{grid-column:1/-1}.creator-stage{min-height:0;overflow:hidden}.creator-controls{min-height:0;overflow-y:auto}}
.creator-choice{border:0;padding:0;margin:14px 0;min-width:0}
.creator-choice legend{font-size:11px;font-weight:900;color:#263751;margin-bottom:7px}
.creator-quality-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
.creator-quality-grid label{display:flex;flex-direction:column;align-items:center;gap:3px;padding:8px 3px;background:#fff7e4;border:2px solid #ae9a70;cursor:pointer;font-size:11px;line-height:1.2;text-align:center;min-height:143px;position:relative}
.creator-quality-grid label:has(input:checked),.creator-palette-grid label:has(input:checked){border-color:#283e76;background:#d9ebff;box-shadow:3px 3px 0 #283e76}
.creator-quality-grid input,.creator-palette-grid input{position:absolute;opacity:0;width:1px;height:1px}
.creator-quality-grid input:focus-visible+canvas,.creator-palette-grid input:focus-visible+.palette-dot{outline:3px solid #ec9d36;outline-offset:2px}
.creator-quality-grid canvas{width:57px;height:88px;object-fit:contain;image-rendering:pixelated;background:linear-gradient(45deg,#d8dce8 25%,#eef1f9 25% 50%,#d8dce8 50% 75%,#eef1f9 75%);background-size:12px 12px;animation:creator-card-idle 3.5s ease-in-out infinite}
.creator-quality-grid label:nth-child(2) canvas,.creator-palette-grid label:nth-child(2) canvas{animation-delay:.35s}
.creator-quality-grid label:nth-child(3) canvas,.creator-palette-grid label:nth-child(3) canvas{animation-delay:.7s}
.creator-quality-grid label:nth-child(4) canvas{animation-delay:1.05s}
.creator-quality-grid small{display:none}
.creator-option-note{font-size:9px;line-height:1.2;color:#526787;white-space:normal}
.creator-palette-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
.creator-palette-grid label{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:8px 4px;border:2px solid #ae9a70;background:#fff7e4;cursor:pointer;font-size:11px;text-align:center;min-height:127px;position:relative}
.creator-palette-grid canvas{width:45px;height:75px;object-fit:contain;image-rendering:pixelated;background:linear-gradient(45deg,#d8dce8 25%,#eef1f9 25% 50%,#d8dce8 50% 75%,#eef1f9 75%);background-size:12px 12px;animation:creator-card-idle 3.5s ease-in-out infinite}
.palette-dot{display:inline-block;width:13px;height:13px;flex:none;border:1px solid #333}
.palette-dot.original{background:linear-gradient(135deg,#69b6dd 50%,#db695d 50%)}
.palette-dot.warm{background:linear-gradient(135deg,#e9b560 50%,#9e5549 50%)}
.palette-dot.arcade{background:linear-gradient(135deg,#8d72ff 50%,#43d9d2 50%)}
@keyframes creator-idle{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
@keyframes creator-card-idle{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}
@keyframes creator-twinkle{0%,100%{opacity:.5;transform:scale(.8)}50%{opacity:1;transform:scale(1.2)}}
@media(prefers-reduced-motion:reduce){.creator-canvas-wrap canvas.ready,.creator-canvas-wrap:after,.creator-quality-grid canvas,.creator-palette-grid canvas{animation:none}}
@media(max-width:440px){.creator-quality-grid{gap:4px}.creator-quality-grid label{font-size:10px;min-height:132px}.creator-quality-grid canvas{width:43px;height:68px}.creator-palette-grid label{font-size:10px}.creator-palette-grid canvas{width:39px;height:64px}}
@media(max-width:980px){.creator-window{grid-template-columns:1fr;max-height:94vh}.creator-stage{display:flex;min-height:0;padding:16px}.creator-canvas-wrap{height:240px;width:155px}.creator-controls{padding:22px 25px}}
@media(max-width:640px){.creator-window{width:94vw}.creator-stage{min-height:0}.creator-canvas-wrap{height:200px;width:130px}.creator-controls{padding:20px}.creator-controls h2{font-size:25px}.creator-showcase img{height:200px}}
@media(max-width:640px){.creator-stage{height:195px;flex-direction:row;justify-content:center;align-items:center;gap:14px;padding:10px}.creator-canvas-wrap{height:165px;width:107px;flex:none}.creator-stage .nameplate{padding:7px 8px;max-width:150px}.creator-stage-note{display:none}.creator-demo-badge{font-size:7px;padding:3px 4px;max-width:92%;left:3px;top:3px}}
.creator-window{display:block;width:min(1180px,96vw);height:auto;max-height:94vh;overflow-y:auto}
.creator-controls{padding:24px clamp(16px,3vw,36px) 34px;overflow:visible}
.creator-controls .creator-intro{max-width:850px}
.creator-gallery{margin:16px 0 23px;color:#eaf4ff}
.creator-gallery-head{padding:16px 19px;border:2px solid #6f91ba;background:#172542;box-shadow:5px 5px 0 #142137}
.creator-gallery-head h3{margin:8px 0;font-size:22px;color:#fff}
.creator-gallery-head p,.creator-gallery-foot{font-size:12px;line-height:1.65;margin:0;color:#b8cff0}
.creator-gallery-panel{margin-top:24px}
.creator-panel-head{padding:0 2px 2px;color:#273e61}
.creator-panel-head h4{font-size:18px;margin:0 0 5px;color:#203555}
.creator-panel-head p{font-size:12px;line-height:1.6;margin:0;color:#445b78}
.creator-gallery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin-top:15px}
.creator-gallery-panel[data-subject="group"] .creator-gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.creator-gallery-small-subjects{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}
.creator-gallery-small-subjects .creator-gallery-grid{grid-template-columns:1fr}
.creator-group-card{background:#121e36;border:2px solid #5077a5;box-shadow:4px 4px 0 #0d1830;min-width:0}
.creator-group-image{height:250px;position:relative;overflow:hidden;background:radial-gradient(ellipse at 50% 80%,#344a73 0,#1b2946 62%,#101a30 100%);border-bottom:1px solid #5576a0}
.creator-group-image img{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:contain;image-rendering:auto}
.creator-group-copy{padding:13px 16px 16px}
.creator-group-kicker{font-size:10px;font-weight:900;color:#ffd276;letter-spacing:.1em}
.creator-group-copy h4{font-size:20px;margin:6px 0 3px;color:#fff}
.creator-group-copy strong{font-size:13px;color:#91e8e8}
.creator-group-copy p{font-size:12px;line-height:1.55;color:#dbe8ff;margin:9px 0 5px}
.creator-group-copy small{font-size:11px;color:#a7badb}
.creator-gallery-foot{margin:17px 0 0;padding:11px 14px;border-left:3px solid #ffd276;background:#16243f}
.creator-local-tools{margin-top:18px;border:3px solid #c38928;background:#fff8e7;padding:16px 18px 20px;color:#27334e;box-shadow:6px 6px 0 #7a5625}
.creator-tool-head{padding:14px 17px;margin-bottom:12px;background:#18375b;border-left:5px solid #ffd36d;color:#f7faff}
.creator-tool-head .chapter{color:#ffd36d;font-size:10px}.creator-tool-head h3{font-size:21px;line-height:1.3;margin:7px 0 6px}.creator-tool-head p{font-size:12px;line-height:1.6;color:#d5e5ff;margin:0}
.creator-tool-warning{font-size:12px;line-height:1.65;padding:10px 12px;background:#f7e5c6;border-left:3px solid #a57728;margin:0 0 14px}
.creator-local-tools .creator-stage{min-height:0;height:auto;padding:15px;background:#15203b;margin:18px 0 0;display:flex;flex-direction:column}
.creator-local-tools .creator-canvas-wrap{height:300px;width:195px}
.creator-local-tools .creator-stage-note{display:block}
@media(max-width:860px){.creator-gallery-panel[data-subject="group"] .creator-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:680px){.creator-gallery-grid,.creator-gallery-panel[data-subject="group"] .creator-gallery-grid,.creator-gallery-small-subjects{grid-template-columns:1fr}.creator-group-image{height:235px}.creator-controls{padding:17px}.creator-gallery-head h3{font-size:19px}.creator-local-tools .creator-stage{height:auto;flex-direction:column}.creator-local-tools .creator-canvas-wrap{height:230px;width:150px}}
.creator-showcase-duo{display:flex;align-items:end;justify-content:center;width:100%;min-height:240px;gap:0;overflow:hidden;background:radial-gradient(ellipse at 50% 80%,#324166 0,#151f3e 66%,transparent 100%)}
.creator-showcase-duo img{width:51%;max-width:none;height:220px;margin:0;object-fit:contain;object-position:bottom;filter:none;image-rendering:auto}
@media(max-width:680px){.creator-showcase-duo{min-height:180px}.creator-showcase-duo img{height:170px}}
.creator-showcase-quad{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;width:100%;margin:12px 0;background:#101c36}
.creator-showcase-quad img{display:block;width:100%;max-width:none;height:138px;margin:0;object-fit:contain;background:radial-gradient(ellipse at 50% 80%,#324166,#17223d 75%);filter:none;image-rendering:auto;border:1px solid #5c789f}
@media(max-width:640px){.creator-showcase-quad img{height:112px}}
.creator-controls #creator-file{position:absolute;width:1px;height:1px;opacity:0;overflow:hidden;clip-path:inset(50%)}
.creator-dropzone{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;min-height:152px;padding:16px;margin:7px 0 18px;background:repeating-linear-gradient(45deg,#f5ead1 0 10px,#fff9eb 10px 20px);border:4px dashed #c27e18;color:#253c61;text-align:center;cursor:pointer;box-shadow:inset 0 0 0 4px #fff9ec,4px 4px 0 #8d6829;transition:background .15s,border-color .15s,transform .15s}
.creator-dropzone:hover,.creator-dropzone.drag-over,.creator-dropzone:focus-visible{background:#d9ecff;border-color:#2876a0;outline:3px solid #68d4e1;outline-offset:2px;transform:translateY(-2px)}
.creator-dropzone strong{font-size:18px;line-height:1.4}.creator-dropzone small{font-size:11px;line-height:1.5;color:#546b86}.creator-drop-icon{font-size:34px;line-height:1;color:#2b6688}
.creator-gallery{margin-top:32px;border-top:3px solid #cdac68;padding-top:17px}
.creator-quality-grid label{min-height:118px}
.creator-quality-grid canvas{height:63px;width:63px}
.creator-play-button{display:block;width:100%;margin:12px 0 0;padding:13px 16px;background:#1b5e72;border:3px solid #71d9c8;box-shadow:4px 4px 0 #143e55;color:#fff7d9;font-weight:900;cursor:pointer;text-align:center}
.creator-play-button:hover,.creator-play-button:focus-visible{background:#287a8e;outline:2px solid #ffd978;outline-offset:2px}
.creator-play-button[hidden]{display:none}
