@font-face{font-family:Inter;src:url('/assets/fonts/inter.ttf')}@font-face{font-family:Marcellus;src:url('/assets/fonts/marcellus.ttf')}*{box-sizing:border-box}html{color-scheme:dark;scroll-behavior:smooth}body{margin:0;background:#0b1211;color:#e9e5d9;font:13px/1.6 Inter,Arial,sans-serif;background-image:radial-gradient(ellipse at 75% 2%,#29403566,transparent 34%)}button,input,select{font:inherit}button,a,input,select{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,canvas:focus-visible{outline:2px solid #e9bc75}button{cursor:pointer}button:disabled{opacity:.3;cursor:default}a{color:inherit;text-decoration:none}button{color:inherit}button,select{transition:background .15s,border-color .15s}button:hover:not(:disabled){border-color:#b98a4e;background-color:#334039}button:active:not(:disabled){transform:translateY(1px)}[hidden]{display:none!important}.site-header{max-width:1504px;margin:auto;padding:20px 46px;border-bottom:1px solid #d2ad6c22;display:flex;align-items:center;justify-content:space-between;gap:30px}.brand{width:146px;display:block}.brand img{display:block;width:100%;height:48px;object-fit:contain}.site-header nav{display:flex;align-items:center;gap:34px;font-size:12px;color:#aab3a8}.site-header nav a[aria-current]{color:#e6bd80}.site-header nav span{font-size:8px;letter-spacing:1px;margin-left:6px;border:1px solid #a57e4555;padding:3px 5px}main{max-width:1504px;padding:0 46px;margin:auto}.intro{min-height:350px;display:grid;grid-template-columns:1fr 330px 180px;align-items:center;gap:55px;padding:44px 0 36px}.eyebrow{font-size:9px;letter-spacing:2.4px;font-weight:600;color:#bb975b;margin:0 0 13px}h1,h2,h3,p{margin-top:0}h1,h2,h3{font-family:Marcellus,Georgia,serif;font-weight:400}h1{font-size:58px;line-height:1.12;letter-spacing:-1px;margin-bottom:20px}em{font-style:normal;color:#d9b67d}.intro-copy{color:#94a49a;font-size:13px;line-height:1.9;margin-bottom:0}.hero-seal{width:228px;height:228px;margin:auto;position:relative;display:flex;align-items:center;justify-content:center;background:radial-gradient(#ac8b3d1a,transparent 70%)}.hero-seal:before,.hero-seal:after,.seal-orbit{content:'';position:absolute;inset:12px;border:1px solid #c59e5e30;border-radius:50%}.hero-seal:after{inset:28px;border-style:dashed;border-color:#c59e5e18}.seal-orbit{border-radius:0;inset:40px;transform:rotate(45deg);animation:orbit 90s linear infinite}.hero-seal canvas{width:112px;height:84px;image-rendering:pixelated;filter:drop-shadow(0 0 24px #c4a25833)}.hero-seal>span{position:absolute;bottom:-3px;font-size:8px;color:#aa8e60;letter-spacing:2px}.intro-meta{border-left:1px solid #b78c4933;padding-left:30px;display:grid;gap:23px;color:#75867b;font-size:8px;letter-spacing:1.5px}.intro-meta b{display:block;color:#d6c6a8;font:21px Marcellus;margin-bottom:3px;letter-spacing:0}.workspace-top{display:flex;align-items:center;gap:25px;margin:7px 0 18px}.workspace-top h2{font:17px Inter;margin:0;font-weight:500}.step{font:14px Marcellus;color:#bb975b;margin-right:12px}.workspace-top p{font-size:11px;color:#7f9387;margin:0}.save-state{margin-left:auto;font-size:10px;color:#8ca38e}.save-state:before,.live-dot:before{content:'';display:inline-block;width:5px;height:5px;background:#94b98e;border-radius:50%;margin-right:7px}.workspace{display:grid;grid-template-columns:1.08fr 1fr;gap:20px;align-items:start}.panel{border:1px solid #a78b5238;background:#101b18}.panel-heading{padding:23px 25px 18px;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #b3955f22}.panel-heading .eyebrow{font-size:8px;margin:0 0 5px}.panel-heading h3{font-size:26px;margin:0}.history{display:flex;gap:6px}.history button{width:34px;height:34px;background:#0d1613;border:1px solid #a58e6333;font-size:23px;line-height:1}.drawing-area{display:flex;gap:16px;padding:22px 23px 4px}.tool-rail{display:flex;flex-direction:column;gap:6px;width:51px;flex-shrink:0}.tool-rail button{border:1px solid transparent;background:transparent;font-size:8px;color:#8fa498;min-height:49px;border-radius:2px;line-height:1.3;padding:4px 1px}.tool-rail button span{display:block;font:24px/1.2 Arial}.tool-rail button[aria-pressed=true]{color:#eed3a0;border-color:#b28b4f77;background:#b28b4f16}.canvas-column{flex:1;min-width:0}.pixel-wrap{background:#0b1010;border:1px solid #8b917b55;box-shadow:0 10px 30px #0003}#editor{display:block;width:100%;height:auto;aspect-ratio:4/3;touch-action:none;cursor:crosshair;image-rendering:pixelated}.canvas-meta{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-top:10px;font-size:9px;color:#8c9c91;flex-wrap:wrap}.canvas-meta button{font-size:9px;padding:0;border:0;background:none}.canvas-meta label{display:flex;align-items:center;gap:4px}.canvas-meta input{accent-color:#bd985a;margin:0;width:11px;height:11px}.color-bar{display:flex;align-items:center;gap:10px;margin:17px 23px 23px;padding:13px 0 0;border-top:1px solid #aa8c4822}.color-picker{display:flex;align-items:center;gap:8px;font-size:10px;color:#a7b5a8}.color-picker input{width:28px;height:28px;border:0;padding:0;background:none;cursor:pointer}#hex{width:80px;font-size:10px;letter-spacing:.6px}.swatches{display:flex;flex-wrap:wrap;gap:7px;margin-left:auto}.swatches button{width:21px;height:21px;border:1px solid #fff2;border-radius:50%;padding:0}.library{border-top:1px solid #a78b5238;padding:0 23px 18px}.tabs{display:flex;gap:20px;border-bottom:1px solid #b3955f22;margin-bottom:17px}.tabs button{background:none;border:0;border-bottom:2px solid transparent;padding:17px 0 13px;font-size:11px;color:#92a299}.tabs button[aria-selected=true]{color:#e8c88e;border-bottom-color:#cca666}.tabs small{font-size:8px;color:#997d4a;margin-left:3px}.library-options{display:flex;gap:10px;margin-bottom:13px}.library-options select{flex:1;min-width:0;font-size:10px}.preset-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:7px;max-height:237px;overflow:auto;padding:2px}.preset{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:7px;min-height:73px;border:1px solid #7c8a7033;background:#0c1512;color:#9faa9d;font-size:8px;padding:7px 2px}.preset[aria-pressed=true]{border-color:#bc9756;background:#b18a3412;color:#e4c78f}.preset canvas{width:32px;height:24px;image-rendering:pixelated}.hint{font-size:10px;color:#84978b;margin:13px 0 0;line-height:1.7}.live-dot{font-size:10px;letter-spacing:1px;color:#9db49a}.scene-wrap{height:420px;position:relative;overflow:hidden;background:#19251f;isolation:isolate}#scene{width:100%;height:100%;display:block;touch-action:none}.scene-topline,.scene-bottom{position:absolute;left:20px;right:20px;display:flex;justify-content:space-between;align-items:center;gap:10px;pointer-events:none}.scene-topline{top:17px;font-size:8px;letter-spacing:2px;color:#f2eed5;text-shadow:0 1px 4px #000}.scene-topline button{pointer-events:auto;width:29px;height:29px;background:#09130bb0;border:1px solid #dcce9966}.scene-bottom{bottom:18px;font-size:7px;letter-spacing:1px;color:#dedcca;text-shadow:0 1px 4px #000}.scene-bottom button{font-size:9px;padding:7px 10px;background:#09130bc9;border:1px solid #a79a6e66;pointer-events:auto}.nameplate{position:absolute;left:50%;top:30%;transform:translate(-50%,-100%);pointer-events:none;white-space:nowrap;text-align:center;font:12px/17px Arial,sans-serif;color:white;text-shadow:1px 1px 1px #000,-1px -1px 1px #000,1px -1px 1px #000,-1px 1px 1px #000;z-index:2}.guild-line{display:flex;align-items:center;justify-content:center;gap:4px;color:#f6dc97}.mark-preview{width:16px;height:12px;image-rendering:pixelated;vertical-align:middle;flex-shrink:0}.player-name{color:#d6f0ff}.scene-loading{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:16px;background:radial-gradient(ellipse at 50% 75%,#44543c,#15231d 70%);text-align:center;padding:24px}.scene-loading strong{font:22px Marcellus;color:#dcc292}.scene-loading small{color:#acb9a5;font-size:10px}.loader{width:32px;height:32px;border:1px solid #d7bd7655;border-top-color:#ead39b;border-radius:50%;animation:orbit 1.2s linear infinite}.preview-fields{padding:20px 23px;display:grid;grid-template-columns:1fr 1fr;gap:14px 16px}.preview-fields label{font-size:10px;color:#9bab9f;display:grid;gap:6px}input:not([type=range],[type=checkbox],[type=color],[type=file]),select{background:#0b1511;border:1px solid #89977844;color:#e1e1d1;padding:9px 10px;border-radius:2px;min-width:0;width:100%}.actual-preview{display:flex;align-items:center;gap:15px;margin:0 23px;padding:17px 0;border-top:1px solid #aa8c4822;border-bottom:1px solid #aa8c4822}.actual-preview>span{font-size:8px;letter-spacing:1px;color:#819184;line-height:1.8}.actual-preview b{display:block;color:#d2bc92;font-size:12px}.actual-name{display:flex;gap:4px;align-items:center;font:12px Arial;color:#f6dc97;text-shadow:1px 1px 2px #000}.actual-preview p{margin:0 0 0 auto;color:#6e8275;font-size:9px}.preview-note{padding:17px 23px 20px;color:#7e9285;font-size:10px;line-height:1.8;margin:0}.export-panel{margin:22px 0 0;padding:30px 34px;display:flex;gap:29px;align-items:center;background:linear-gradient(115deg,#293126,#121c17 65%)}.export-mark{width:88px;height:88px;border:1px solid #b18e5044;display:grid;place-items:center;background:#0e1713;flex-shrink:0}.export-mark canvas{width:48px;height:36px}.export-copy{flex:1}.export-copy .eyebrow{font-size:8px;margin-bottom:7px}.export-copy h2{font-size:28px;margin-bottom:8px}.export-copy p:last-child{font-size:10px;color:#91a08d;margin-bottom:0;line-height:1.8}.export-actions{display:flex;gap:10px}.button{border:1px solid #c6a06377;padding:13px 18px;font-size:11px;letter-spacing:.2px;background:none;min-height:44px}.button span{display:block;font-size:7px;letter-spacing:1.4px;opacity:.6;margin-top:3px}.button.primary{background:#d0ae75;color:#152018;border-color:#d0ae75}.button.primary:hover{background:#e3c692;color:#152018}.button.secondary{color:#d9bf8e;background:#111d17}.guide{display:grid;grid-template-columns:1fr 1.6fr;gap:80px;padding:66px 0;border-bottom:1px solid #b3955f22}.guide h2{font-size:42px;line-height:1.25;margin-bottom:24px}.guide a{font-size:11px;color:#bc9e69}.guide ol{list-style:none;padding:0;margin:0;display:grid;gap:25px}.guide li{display:flex;gap:22px}.guide li>span{font:19px Marcellus;color:#8e7953;padding-top:2px}.guide h3{font:14px Inter;margin:0 0 7px}.guide li p{font-size:11px;color:#8d9f91;margin:0;line-height:1.8;max-width:480px}code{font-size:12px;color:#d3bc93}footer{display:flex;justify-content:space-between;align-items:center;gap:25px;padding:30px 0 40px;font-size:10px;color:#7a8c7e}footer>a:first-child{font:16px Marcellus;color:#c4ad84}footer p{margin:0;text-align:center;font-size:9px;line-height:1.8}#toast{position:fixed;bottom:26px;left:50%;transform:translate(-50%,20px);max-width:min(90vw,500px);background:#e0c18c;color:#19211a;padding:12px 22px;box-shadow:0 6px 30px #0008;opacity:0;pointer-events:none;transition:.2s;z-index:20;font-size:12px}#toast.visible{opacity:1;transform:translate(-50%,0)}.upload-zone{border:1px dashed #ae98616b;padding:24px 15px;display:flex;align-items:center;flex-direction:column;gap:7px;cursor:pointer;color:#b1c0ae;background:#bca05f06}.upload-zone.drag{background:#bca05f20}.upload-zone b{font:20px Marcellus;color:#ddc592}.upload-zone small{font-size:9px;color:#82977f}.upload-zone>span:not(.upload-plus){font-size:10px}.upload-plus{font-size:24px;color:#cdb071}.upload-zone input{max-width:100%;font-size:10px;margin-top:6px}.import-top{display:flex;align-items:center;gap:12px;margin-top:15px}.import-top canvas{width:64px;height:48px;image-rendering:pixelated;background:repeating-conic-gradient(#222a25 0 25%,#343b35 0 50%) 50%/12px 12px;flex-shrink:0}.import-top p{font-size:10px;max-width:135px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;margin:0}.import-top select{width:145px;font-size:10px;margin-left:auto}.range-label{display:flex;align-items:center;justify-content:space-between;font-size:10px;margin:10px 0;color:#9eb09a;gap:15px}.range-label input{width:65%;accent-color:#b6975e}.letter-row{display:flex;gap:12px;margin-top:20px}.letter-row input{max-width:110px;text-align:center;font-size:24px;letter-spacing:5px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}@keyframes orbit{to{transform:rotate(360deg)}}
@media(min-width:1500px){.scene-wrap{height:475px}.preset-grid{max-height:252px}.preset{min-height:80px}}
@media(max-width:1100px){main{padding:0 25px}.site-header{padding:18px 25px}.intro{grid-template-columns:1fr 230px 150px;gap:20px}.intro h1{font-size:50px}.hero-seal{width:200px;height:200px}.workspace{gap:14px;grid-template-columns:1fr 1fr}.drawing-area{padding:18px 15px 4px;gap:9px}.panel-heading{padding:20px}.color-bar{margin:15px}.swatches{gap:4px}.swatches button{width:17px;height:17px}.library{padding:0 15px 16px}.tabs{gap:15px}.preset-grid{grid-template-columns:repeat(4,1fr)}.scene-wrap{height:365px}.export-panel{padding:25px;gap:20px}.export-copy h2{font-size:24px}.export-mark{width:65px;height:65px}.export-actions{flex-direction:column}.export-actions .button{padding:9px 16px;min-width:130px}.export-actions .button span{display:inline;margin-left:6px}}
@media(max-width:760px){.site-header{padding:15px 18px;gap:12px}.brand{width:107px}.brand img{height:40px}.site-header nav{gap:17px;font-size:10px}.site-header nav a:nth-child(2),.site-header nav a:nth-child(3),.site-header nav span{display:none}main{padding:0 17px}.intro{grid-template-columns:1fr 125px;gap:5px;min-height:310px;padding:36px 0 28px}.intro h1{font-size:38px;letter-spacing:-.5px}.intro .eyebrow{font-size:7px;letter-spacing:1.2px}.intro-copy{font-size:11px}.hero-seal{width:130px;height:150px}.hero-seal canvas{width:64px;height:48px}.hero-seal:before{inset:10px 0}.hero-seal:after{inset:22px 12px}.seal-orbit{inset:36px 25px}.hero-seal>span{font-size:5px;letter-spacing:1px;bottom:-7px}.intro-meta{grid-column:1/-1;display:flex;padding:21px 0 0;gap:28px;border:0;font-size:6px}.intro-meta b{font-size:17px}.workspace-top{gap:10px;margin:0 0 13px}.workspace-top h2{font-size:13px}.workspace-top p{display:none}.save-state{font-size:8px}.workspace{grid-template-columns:1fr;gap:20px}.panel-heading h3{font-size:24px}.drawing-area{padding:18px 13px 4px}.tool-rail{width:43px;gap:2px}.tool-rail button{min-height:43px;font-size:7px}.tool-rail button span{font-size:20px}.canvas-meta{gap:8px;font-size:8px}.canvas-meta button{font-size:8px}.preset-grid{grid-template-columns:repeat(6,1fr);max-height:240px;gap:5px}.preset{min-height:65px;font-size:7px}.preset canvas{width:32px;height:24px}.tabs{gap:21px}.tabs button{font-size:10px}.color-bar{gap:8px}.swatches{gap:7px}.swatches button{width:18px;height:18px}.color-picker span{display:none}#hex{width:78px}.scene-wrap{height:410px}.preview-fields{padding:17px;gap:12px}.preview-note{padding:15px 17px}.actual-preview{margin:0 17px}.export-panel{margin-top:20px;padding:23px 20px;gap:17px;flex-wrap:wrap}.export-mark{width:54px;height:54px}.export-mark canvas{width:32px;height:24px}.export-copy{min-width:200px}.export-copy h2{font-size:23px}.export-copy p:last-child{font-size:9px}.export-actions{width:100%;flex-direction:row}.export-actions .button{flex:1;min-width:0;padding:12px 9px}.export-actions .button span{display:block;margin:3px 0 0}.guide{padding:40px 0;grid-template-columns:1fr;gap:28px}.guide h2{font-size:33px;margin-bottom:14px}.guide h2 br{display:none}.guide h2 em{margin-left:6px}.guide ol{gap:23px}footer{flex-wrap:wrap;padding-bottom:28px;gap:20px}footer p{order:3;flex:1 0 100%;text-align:left}.actual-preview{gap:10px}.actual-preview>span{font-size:7px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}
