.creator-dialog{width:min(1180px,96vw);max-width:none;max-height:94vh;overflow:auto;padding:28px 38px;border:2px solid #ac9862;border-radius:24px;background:#f6efd9;color:#254b3c;box-shadow:0 30px 120px #102b37aa}.creator-dialog::backdrop{background:#183b35bf;backdrop-filter:blur(7px)}.creator-dialog header{display:flex;justify-content:space-between;align-items:center}.creator-brand{font-size:11px;letter-spacing:2px;font-weight:700}.creator-dialog button{cursor:pointer;border:1px solid #c9c5ab;border-radius:8px;padding:10px 14px;background:#fffbef;color:#254b3c;font:inherit}.creator-dialog button:hover{border-color:#a88536}.creator-dialog button:disabled{opacity:.4;cursor:default}.creator-dialog button:focus-visible,.creator-dialog input:focus-visible,.creator-dialog textarea:focus-visible{outline:3px solid #c9a44e;outline-offset:3px}.creator-dialog #creator-language{margin-left:auto;background:transparent;border:0;font-size:13px}.creator-dialog #creator-close{border:0;background:transparent;font-size:12px}.creator-intro{margin:24px 0}.creator-intro>small{color:#a38340;letter-spacing:2px}.creator-intro h1{font-size:32px;margin:8px 0;font-weight:800}.creator-intro p{font-size:14px;color:#798373}.creator-workspace{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:26px}.drawing-toolbar,.drawing-toolbar>div,.drawing-bottom,.motto-footer{display:flex;align-items:center;justify-content:space-between;gap:7px}.drawing-toolbar button{padding:8px 10px;font-size:12px}.drawing-toolbar label{display:flex;gap:6px;align-items:center;font-size:11px}.drawing-toolbar input{width:65px;accent-color:#3d6a50}.drawing-toolbar [aria-pressed=true]{background:#284c3d;color:#fff5d8}.drawing-paper{position:relative;border:1px solid #d7cbaa;border-radius:14px;background-color:#fffdf5;background-image:radial-gradient(#d9d5c4 .7px,transparent .7px);background-size:16px 16px;box-shadow:0 4px 12px #88713615;margin:12px 0;overflow:hidden}.drawing-paper>span{position:absolute;left:18px;top:14px;font-size:12px;color:#a5a38e;pointer-events:none}.drawing-paper>small{position:absolute;bottom:12px;right:16px;font-size:11px;color:#a5a38e;pointer-events:none}#drawing-pad{display:block;width:100%;aspect-ratio:2/1;touch-action:none;cursor:crosshair}.drawing-bottom>button{font-size:11px}.drawing-bottom #paint-colors{display:flex;gap:5px;flex-wrap:wrap}#paint-colors button{width:23px;height:23px;padding:0;border:2px solid #fff;box-shadow:0 0 0 1px #d4cbb0;border-radius:50%}#paint-colors [aria-pressed=true]{box-shadow:0 0 0 2px #325640;transform:scale(1.12)}.creator-card{background:#284c3d;border:1px solid #bca16c;border-radius:16px;padding:22px;color:#fff1c8;text-align:center;overflow:hidden}.creator-card>small{font-size:10px;letter-spacing:2px;color:#cab985}.creator-stage{position:relative;border-bottom:2px dashed #b5a56d66}.creator-stage canvas{width:100%;height:auto;position:relative;z-index:2}.creator-card h2{font-size:20px;margin:16px 0 9px;overflow-wrap:anywhere}.creator-card p{font-size:13px;line-height:1.8;min-height:45px;overflow-wrap:anywhere;white-space:pre-wrap}.creator-card-note{border-top:1px solid #b8b28b33;padding-top:17px;margin-top:20px;font-size:11px;color:#b9c8ab}.creator-dialog footer{text-align:right;margin-top:24px}.creator-dialog footer>div{display:flex;justify-content:flex-end;gap:12px}.creator-dialog footer>small{display:block;margin-top:12px;font-size:11px;color:#85907c}#creator-next{background:linear-gradient(#f4d78a,#dfb65e);border-color:#c69c4c;color:#36503b;font-weight:700;padding:13px 24px;min-width:220px}#creator-error{color:#a16d30;font-size:13px;min-height:20px}#naming-step>label{display:block;font-weight:700;margin:14px 0 10px}#naming-step input,#naming-step textarea{display:block;width:100%;box-sizing:border-box;border:1px solid #c8c4a8;border-radius:10px;background:#fffdf5;padding:15px;color:#284c3d;font:inherit;resize:vertical}#naming-step small{font-size:11px;color:#8b927d}#naming-step>small{display:block;margin:7px 0 25px}.motto-footer{margin-top:10px}.motto-footer button{font-size:11px}#naming-step[hidden],#drawing-step[hidden],#creator-back[hidden]{display:none}.departing .creator-stage canvas{animation:drive-away 1s ease-in forwards}.departing .launch-dust{position:absolute;bottom:10px;left:20%;width:45px;height:25px;background:#f5e7bf;border-radius:50%;animation:dust-out 1s ease-out forwards}@keyframes drive-away{25%{transform:translateX(-9px) rotate(-3deg)}100%{transform:translateX(440px) rotate(2deg)}}@keyframes dust-out{0%{opacity:0;transform:scale(.2)}40%{opacity:.6}100%{opacity:0;transform:scale(2.5)}}@media(max-width:800px){.creator-dialog{padding:20px}.creator-workspace{grid-template-columns:1fr}.creator-card{display:none}.creator-dialog[data-step="2"] .creator-card{display:block}.creator-intro h1{font-size:25px}.drawing-toolbar{flex-wrap:wrap}.creator-dialog footer>small{line-height:1.7}.drawing-bottom{flex-wrap:wrap}}@media(prefers-reduced-motion:reduce){.departing .creator-stage canvas,.departing .launch-dust{animation:none}}
/* A neutral paper stage keeps dark outlines visible; checks reveal white paint. */
.creator-stage{margin-top:18px;border:1px solid #d5cbb0;border-radius:12px;background-color:#fffdf5;background-image:conic-gradient(#e7e6dc 25%,transparent 0 50%,#e7e6dc 0 75%,transparent 0);background-size:20px 20px;overflow:hidden}.art-size{display:block;margin-top:9px;font-size:10px;color:#ced4bb}.drawing-bottom #paint-colors{display:grid;grid-template-columns:repeat(16,23px);gap:7px;padding:5px}.drawing-bottom{align-items:flex-start;gap:12px}.drawing-bottom>button{white-space:nowrap}.drawing-toolbar{flex-wrap:wrap}@media(max-width:1100px){.drawing-bottom #paint-colors{grid-template-columns:repeat(8,23px)}}

.driver-picker{border:0;padding:0;margin:26px 0 0}.driver-picker legend{font-size:15px;font-weight:750}.driver-picker>p{font-size:12px;color:#838d78;margin:6px 0 12px}#driver-choices{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.creator-dialog .driver-choice{position:relative;padding:8px 6px 12px;background:#fffbef;border:2px solid #dfd6ba;min-width:0;border-radius:12px}.driver-choice img{display:block;width:100%;height:110px;object-fit:contain}.driver-choice strong,.driver-choice small{display:block}.driver-choice strong{font-size:13px;margin-top:4px}.driver-choice small{font-size:10px;color:#7d8876;margin-top:5px}.creator-dialog .driver-choice[aria-pressed=true]{border-color:#315b46;background:#e9eddb;box-shadow:0 0 0 2px #315b4615}.driver-choice[aria-pressed=true]::after{content:'✓';position:absolute;right:8px;top:7px;border-radius:50%;background:#315b46;color:#fff8df;width:20px;height:20px;line-height:20px;font-size:12px}@media(max-width:500px){#driver-choices{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:801px) and (max-height:900px){.creator-dialog{padding:16px 26px}.creator-intro{margin:12px 0}.creator-intro h1{font-size:25px;margin:5px 0}.creator-intro p{margin:6px 0}.driver-picker{margin-top:16px}.driver-choice img{height:76px}.driver-picker>p{margin:4px 0 8px}#naming-step>label{margin:8px 0}#naming-step input,#naming-step textarea{padding:10px}#naming-step>small{margin:5px 0 12px}.creator-dialog footer{margin-top:10px}#creator-error{min-height:0;margin:4px}.creator-card{padding:16px}.creator-card-note{margin-top:12px;padding-top:12px}}
