@font-face{font-family:Instrument;src:url('/drew-studio/assets/instrument-serif.ttf') format('truetype');font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:Instrument;src:url('/drew-studio/assets/instrument-serif-italic.ttf') format('truetype');font-style:italic;font-weight:400;font-display:swap}
@font-face{font-family:DM;src:url('/drew-studio/assets/dm-sans.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:DM;src:url('/drew-studio/assets/dm-sans-semibold.ttf') format('truetype');font-weight:600;font-display:swap}
:root{--paper:#faf8f4;--canvas:#fffdf8;--ink:#22211f;--muted:#746f67;--line:#d9d4cb;--red:#e33220;--red-dark:#bc291b;--wash:#f0ede7;--radius:9px;color-scheme:light;font-family:DM,sans-serif;color:var(--ink);background:var(--paper);font-synthesis:none}
*{box-sizing:border-box}body{margin:0}button,input,a{-webkit-tap-highlight-color:transparent}button,input{font:inherit}button{color:inherit;cursor:pointer}button{border:0}button:disabled{cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,canvas:focus-visible{outline:2px solid #244daa;outline-offset:5px}::selection{background:#f6c7bb;color:var(--ink)}svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}button{transition:background .18s ease,color .18s ease,transform .18s ease}button:active:not(:disabled){transform:translateY(1px)}[hidden]{display:none!important}.icon-defs{position:absolute;width:0;height:0;overflow:hidden}.studio{max-width:1664px;margin:auto;padding:26px 4.2vw 18px}.masthead{display:flex;justify-content:space-between;align-items:center;gap:20px}.wordmark{display:flex;align-items:center;gap:11px;font-size:16px;letter-spacing:-.025em;text-decoration:none;color:var(--ink);font-weight:600}.brand-mark{font-family:Instrument,serif;font-size:32px;letter-spacing:-.18em;padding-right:4px;line-height:1}.brand-mark span{font-size:23px}.account-area{display:flex;align-items:center;gap:23px}.preview-label{font-size:12px;color:var(--muted);border:1px solid var(--line);padding:5px 9px;border-radius:5px}.account-button{display:flex;align-items:center;gap:9px;background:none;padding:6px 0;font-size:14px}.account-button:hover{color:var(--red)}.account-button>svg{width:17px;height:17px}.account-button .account-arrow{width:14px;height:14px;margin-left:4px}.intro{display:flex;align-items:flex-end;justify-content:space-between;margin:29px 0 25px;gap:24px}h1{font-family:Instrument,serif;font-weight:400;font-size:clamp(72px,6.7vw,106px);letter-spacing:-.025em;line-height:.92;margin:0}.title-period{color:var(--red)}.intro-note{font-size:15px;line-height:1.7;color:var(--muted);margin:0 1px 4px;text-align:right}.workspace{display:grid;grid-template-columns:66px minmax(0,1fr);gap:18px;align-items:stretch}.toolbar{min-width:0;margin:0;padding:15px 9px 12px;border:1px solid var(--line);border-radius:var(--radius);display:flex;align-items:center;flex-direction:column;gap:14px;justify-content:center;background:#fbf9f5}.tool-group{display:flex;flex-direction:column;gap:7px}.tool{width:44px;height:40px;display:grid;place-items:center;background:transparent;border-radius:8px}.tool svg{width:23px;height:23px}.tool:hover:not(:disabled),.tool.active{background:#eae6de}.toolbar:disabled .tool{opacity:.65}.tool:disabled:not(.active){opacity:.35}.tool-divider{display:block;background:var(--line);width:25px;height:1px;flex-shrink:0}.colors{display:flex;flex-direction:column;gap:13px}.swatch{width:27px;height:27px;border-radius:50%;border:0;box-shadow:inset 0 0 0 1px #0000000a;position:relative;padding:0}.swatch.selected:after{content:'';position:absolute;inset:-5px;border:1.5px solid var(--swatch);border-radius:50%}.swatch:hover:not(:disabled){transform:scale(1.1)}.ink{--swatch:#262522;background:var(--swatch)}.red{--swatch:var(--red);background:var(--swatch)}.blue{--swatch:#244daa;background:var(--swatch)}.green{--swatch:#507b2b;background:var(--swatch)}.yellow{--swatch:#efb90b;background:var(--swatch)}.brush-size{display:flex;flex-direction:column;align-items:center;gap:10px}.size-preview{background:var(--ink);width:10px;height:10px;border-radius:50%}.brush-size input{writing-mode:vertical-lr;direction:rtl;width:16px;height:63px;accent-color:var(--ink);cursor:pointer}.brush-size output{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums}.history-tools{gap:0}.history-tools .tool{height:32px}.history-tools svg{width:18px;height:18px}.canvas-frame{position:relative;min-width:0;min-height:548px;height:clamp(548px,55vh,720px);background:var(--canvas);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;isolation:isolate}.canvas-frame:after{content:'';position:absolute;inset:0;box-shadow:inset 0 0 45px #ded5c41a;pointer-events:none;z-index:3}canvas{width:100%;height:100%;display:block;touch-action:none;position:absolute;inset:0;cursor:crosshair}canvas[aria-disabled=true]{cursor:default}.sample-art{position:absolute;inset:69px 0 31px;display:flex;align-items:center;justify-content:center;pointer-events:none}.sample-art img{height:112%;width:auto;max-width:93%;object-fit:contain;filter:saturate(.97);transform:rotate(-5deg)}.sample-caption{position:absolute;bottom:0;right:24px;font-family:Instrument,serif;font-style:italic;font-size:19px;color:var(--muted)}.auth-strip{position:absolute;z-index:4;top:22px;left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100% - 48px);display:flex;align-items:center;gap:15px;padding:12px 12px 12px 18px;background:#fffefa;border:1px solid #e3ddd3;border-radius:12px;box-shadow:0 5px 16px #55402007}.twitter-symbol{display:flex;align-items:center;justify-content:center;width:28px}.twitter-symbol svg{width:22px;height:22px}.auth-copy{display:flex;flex-direction:column;gap:3px;white-space:nowrap}.auth-copy strong{font-size:14px;font-weight:600}.auth-copy>span{font-size:12px;color:var(--muted)}.connect-button{margin-left:22px;display:flex;align-items:center;gap:18px;background:var(--ink);color:var(--canvas);border-radius:7px;padding:12px 15px;font-size:13px;font-weight:600;white-space:nowrap}.connect-button svg{width:15px;height:15px}.connect-button:hover{background:#44403a}.canvas-corner{position:absolute;bottom:18px;left:20px;display:flex;align-items:center;gap:7px;font-size:12px;color:var(--muted);pointer-events:none}.canvas-corner svg{width:13px;height:13px}.empty-canvas{position:absolute;inset:0;display:flex;justify-content:center;align-items:center;flex-direction:column;pointer-events:none}.empty-canvas>span{font-family:Instrument,serif;font-size:42px;color:var(--muted)}.empty-canvas p{font-size:13px;color:var(--muted);margin:10px 0 0}.clear-button{position:absolute;right:15px;bottom:12px;display:grid;place-items:center;width:36px;height:36px;border-radius:6px;background:var(--canvas);color:var(--muted);z-index:5}.clear-button svg{width:18px;height:18px}.clear-button:hover{background:var(--wash);color:var(--red)}.brush-cursor{position:absolute;border:1px solid #22211f99;border-radius:50%;pointer-events:none;z-index:6;transform:translate(-50%,-50%)}.canvas-meta{margin:11px 0 0 84px;display:flex;justify-content:space-between;align-items:center;font-size:12px;color:var(--muted)}.keyboard-help{display:flex;align-items:center;gap:8px;background:transparent;font-size:12px;padding:0;color:var(--muted)}.keyboard-help span{border:1px solid var(--line);border-radius:4px;font-size:12px;width:18px;height:18px;display:grid;place-items:center}.help-text{margin:12px 0 0 84px;font-size:13px;color:var(--muted);line-height:1.6}.mint-footer{margin-top:22px;display:flex;justify-content:space-between;align-items:center;gap:24px}.edition-count{display:flex;align-items:baseline;gap:10px;font-size:25px;font-weight:600;letter-spacing:-.025em;font-variant-numeric:tabular-nums}.edition-total{font-size:20px;color:#8a847a;font-weight:400}.edition p{font-size:13px;color:var(--muted);margin:6px 0 0}.edition p span{color:var(--ink)}.mint-action{display:flex;align-items:center;gap:25px}.mint-note{font-family:Instrument,serif;font-style:italic;font-size:20px;color:var(--muted)}.mint-button{background:var(--red);color:white;border-radius:9px;padding:20px 25px 20px 30px;min-width:268px;display:flex;align-items:center;justify-content:space-between;gap:42px;font-size:21px;font-weight:600}.mint-button svg{width:25px;height:25px;stroke-width:1.8}.mint-button:hover:not(:disabled){background:var(--red-dark)}.mint-button:disabled{background:#da604f;color:#fffdf8}.mint-dot{padding:0 3px;opacity:.75}.bottom-line{margin-top:27px;padding-top:14px;border-top:1px solid #e5e0d8;display:flex;justify-content:space-between;gap:20px;font-size:12px;color:var(--muted)}.bottom-line>span:first-child{font-size:12px;color:var(--ink)}.bottom-line>span:first-child span{color:var(--muted)}dialog{width:min(460px,calc(100vw - 32px));background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:16px;padding:35px;box-shadow:0 24px 80px #29241e33;max-height:90vh;overflow:auto}dialog::backdrop{background:#302a235e;backdrop-filter:blur(4px)}.dialog-close{position:absolute;right:12px;top:12px;width:30px;height:30px;background:none;border-radius:6px;display:grid;place-items:center}.dialog-close:hover{background:var(--wash)}.dialog-close svg{width:18px;height:18px}dialog h2{font-family:Instrument,serif;font-weight:400;font-size:39px;line-height:1.08;margin:19px 0 12px;letter-spacing:-.02em}dialog p{font-size:14px;color:var(--muted);line-height:1.65;margin:12px 0 20px}.dialog-tag{font-size:12px;background:var(--wash);border:1px solid var(--line);border-radius:5px;padding:5px 8px;display:inline-block}.dialog-action{width:100%;background:var(--ink);color:var(--paper);border-radius:8px;padding:14px;font-weight:600;font-size:14px}.dialog-action:hover{background:#44403a}.dialog-action:disabled{opacity:.6}.dialog-secondary{width:100%;background:none;color:var(--muted);margin-top:11px;padding:9px;font-size:13px}.dialog-secondary:hover{color:var(--ink)}.dialog-mint-image{width:100%;height:175px;object-fit:contain;background:var(--canvas);border:1px solid var(--line);border-radius:8px;margin:4px 0 0}.dialog-price{display:flex;justify-content:space-between;font-size:14px;padding:13px 0;border-bottom:1px solid var(--line);margin-bottom:20px}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:var(--ink);color:var(--paper);padding:13px 20px;border-radius:9px;font-size:14px;box-shadow:0 5px 20px #28201822;z-index:20;max-width:calc(100vw - 30px);text-align:center}.connection-success{animation:reveal .5s ease-out}@keyframes reveal{from{opacity:.4}to{opacity:1}}
@media(min-width:1700px){.studio{padding-right:64px;padding-left:64px}}
@media(max-height:880px) and (min-width:851px){.studio{padding-top:20px}.intro{margin-top:20px;margin-bottom:21px}h1{font-size:82px}.canvas-frame{height:440px;min-height:440px}.toolbar{gap:10px;padding:12px 8px}.colors{gap:11px}.swatch{width:24px;height:24px}.tool-group{gap:3px}.tool{height:35px}.brush-size{gap:4px}.brush-size input{height:39px}.history-tools .tool{height:26px}.sample-art{inset:70px 0 26px}.mint-footer{margin-top:17px}.bottom-line{margin-top:20px}.mint-button{padding-top:17px;padding-bottom:17px}}
@media(max-width:1000px){.studio{padding-left:30px;padding-right:30px}.mint-note{display:none}.intro-note{font-size:13px}.auth-strip{gap:10px;max-width:calc(100% - 30px);padding-left:12px}.connect-button{margin-left:5px;gap:10px}.auth-copy>span{font-size:12px}.sample-caption{font-size:17px}}
@media(max-width:700px){.studio{padding:20px 20px 16px}.masthead{gap:10px}.wordmark{font-size:14px;gap:7px}.brand-mark{font-size:29px}.brand-mark span{font-size:21px}.preview-label{display:none}.account-button{font-size:12px;gap:6px}.account-button .account-arrow{display:none}.account-button>svg{width:15px;height:15px}.intro{margin:34px 0 23px;align-items:flex-end}h1{font-size:70px}.intro-note{display:none}.workspace{display:flex;flex-direction:column;gap:12px}.toolbar{flex-direction:row;justify-content:space-between;padding:10px 12px;gap:8px;min-height:62px}.tool-group{flex-direction:row;gap:2px}.tool{width:31px;height:32px}.tool svg{width:21px;height:21px}.colors{flex-direction:row;gap:11px}.swatch{width:22px;height:22px}.swatch.selected:after{inset:-4px}.tool-divider{height:22px;width:1px}.brush-size{display:none}.size-divider,.history-divider{display:none}.history-tools .tool{width:25px;height:32px}.history-tools svg{width:17px;height:17px}.canvas-frame{height:440px;min-height:440px}.auth-strip{top:15px;left:15px;transform:none;max-width:none;width:calc(100% - 30px);gap:8px;flex-wrap:wrap;padding:12px}.twitter-symbol{width:25px}.auth-copy{white-space:normal;flex:1}.auth-copy strong{font-size:13px}.auth-copy>span{font-size:12px;line-height:1.5}.connect-button{margin:4px 0 0;width:100%;justify-content:center;font-size:12px;padding:10px}.sample-art{inset:106px 0 29px}.sample-art img{max-width:100%;height:116%}.sample-caption{font-size:16px;right:14px;bottom:4px}.canvas-corner{bottom:16px;left:14px;font-size:12px}.canvas-corner svg{width:11px;height:11px}.sample-art~.canvas-corner{max-width:45%}.canvas-meta,.help-text{margin-left:0}.canvas-meta{font-size:12px;gap:12px}.keyboard-help{font-size:12px}.mint-footer{margin-top:23px;gap:10px}.edition-count{font-size:20px;gap:6px}.edition-total{font-size:15px}.edition p{font-size:12px;margin-top:4px}.mint-button{min-width:178px;gap:15px;padding:17px;font-size:17px}.mint-button svg{width:20px;height:20px}.bottom-line{margin-top:25px;gap:10px;flex-wrap:wrap;font-size:12px}.bottom-line>span:first-child{font-size:12px}.empty-canvas>span{font-size:34px}.help-text{font-size:12px}.canvas-frame.connected{height:440px}}
@media(max-width:380px){.studio{padding-left:14px;padding-right:14px}h1{font-size:62px}.toolbar{padding-left:8px;padding-right:8px;gap:5px}.colors{gap:9px}.swatch{width:20px;height:20px}.mint-button{min-width:155px;font-size:16px;padding:15px}.canvas-meta{font-size:12px}.history-tools .tool{width:22px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}
/* Compact viewports keep the drawing action in reach. */
.mobile-brush{display:none}.sample-art img{height:100%}dialog{border:0}.auth-copy>span{font-size:12px}
@media(max-height:780px) and (min-width:701px){.studio{padding-top:16px;padding-bottom:12px}.intro{margin:17px 0 19px}h1{font-size:66px}.canvas-frame{height:350px;min-height:350px}.toolbar{padding:8px 7px;gap:6px;justify-content:space-between}.toolbar .tool-group{flex-direction:row;gap:2px}.toolbar .tool{width:23px;height:27px}.toolbar .tool svg{width:19px;height:19px}.colors{gap:9px}.swatch{width:23px;height:23px}.brush-size{gap:0}.size-preview,.brush-size output{display:none}.brush-size input{writing-mode:horizontal-tb;direction:ltr;width:43px;height:18px}.history-tools .tool{height:25px}.mint-footer{margin-top:16px}.mint-button{padding-top:16px;padding-bottom:16px}.bottom-line{margin-top:17px}.sample-art{inset:68px 0 31px}}
@media(max-width:700px){.canvas-meta{flex-wrap:wrap;gap:12px}.canvas-meta #canvasHint{display:none}.mobile-brush{display:flex;align-items:center;gap:8px;font-size:12px}.mobile-brush input{width:86px;accent-color:var(--ink)}.sample-caption{display:none}.sample-art img{height:100%}.canvas-corner{font-size:12px;max-width:none!important}.account-button{font-size:13px}.connect-button{font-size:14px}.auth-copy strong{font-size:14px}.auth-copy>span{font-size:12px}.edition p{font-size:12px}}
/* The studio stays quiet; the artists continue below it. */
.masthead{display:grid;grid-template-columns:1fr auto 1fr}.wordmark{grid-column:2;justify-self:center}.account-area{grid-column:3;justify-self:end}.canvas-meta{display:none}.mint-footer{margin-top:22px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.artist-gallery{margin-top:108px;padding-bottom:60px}.gallery-heading{display:flex;align-items:baseline;justify-content:space-between;gap:20px;margin-bottom:32px}.gallery-heading h2{font:400 clamp(42px,4vw,62px)/1.1 Instrument,serif;letter-spacing:-.025em;margin:0}.gallery-count{color:var(--muted);font-size:14px;font-variant-numeric:tabular-nums}.gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:42px 28px}.artwork-card{min-width:0}.artwork-frame{aspect-ratio:4/3;background:var(--canvas);border:1px solid var(--line);border-radius:8px;overflow:hidden;display:grid;place-items:center}.artwork-frame>img{display:block;width:100%;height:100%;object-fit:contain;min-width:0;min-height:0}.artwork-unavailable{color:var(--muted);font-size:14px;padding:24px;text-align:center}.artwork-caption{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:16px}.artist-profile{display:flex;align-items:center;gap:11px;min-width:0;text-decoration:none;color:var(--ink);border-radius:5px}.artist-avatar{position:relative;width:44px;height:44px;flex-shrink:0;border-radius:50%;background:#ebe5dc;display:grid;place-items:center;overflow:hidden;font-size:15px;color:#655f54}.artist-avatar img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.artist-identity{display:flex;flex-direction:column;gap:4px;min-width:0}.artist-identity strong{font-size:14px;font-weight:600;overflow-wrap:anywhere}.artist-identity>span{font-size:12px;color:var(--muted);overflow-wrap:anywhere}a.artist-profile:hover .artist-identity strong{color:var(--red);text-decoration:underline;text-underline-offset:3px}.artwork-edition{font-size:12px;color:var(--muted);font-variant-numeric:tabular-nums;flex-shrink:0}.gallery-status{font-size:16px;color:var(--muted);padding:60px 0 76px;margin:0;border-top:1px solid var(--line)}.gallery-more{display:flex;gap:22px;align-items:center;margin:40px auto 0;padding:13px 22px;border:1px solid var(--line);border-radius:8px;background:transparent;font-size:14px}.gallery-more:hover{background:var(--wash)}.gallery-more:disabled{opacity:.6}
@media(max-width:1000px){.gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:34px 22px}}
@media(max-width:700px){.masthead{grid-template-columns:auto 1fr;gap:12px}.wordmark{grid-column:1;justify-self:start}.account-area{grid-column:2}.canvas-meta{display:flex}.artist-gallery{margin-top:76px;padding-bottom:35px}.gallery-heading{margin-bottom:24px}.gallery-heading h2{font-size:44px}.gallery-count{font-size:12px}.gallery-grid{grid-template-columns:1fr;gap:32px}.artwork-frame{aspect-ratio:4/3}.artist-identity strong{font-size:15px}.artist-identity>span{font-size:13px}.gallery-status{padding:40px 0 48px;font-size:14px}}
/* One square artboard, from the brush to the exported NFT. */
.workspace{width:min(100%,calc(clamp(380px,58vh,720px) + 84px));margin-inline:auto}.canvas-frame,.canvas-frame.connected{width:100%;height:auto;min-height:0;aspect-ratio:1;align-self:start;container:artboard / inline-size}.mint-footer{width:min(100%,calc(clamp(380px,58vh,720px) + 84px));margin-inline:auto}.sample-art{inset:86px 0 35px}.auth-strip{width:calc(100% - 40px);max-width:580px;flex-wrap:wrap}.auth-copy{white-space:normal;flex:1 1 165px}.connect-button{margin-left:auto}.artwork-frame{aspect-ratio:1}.dialog-mint-image{display:block;width:min(100%,280px);height:auto;aspect-ratio:1;margin-inline:auto}
@container artboard (max-width:520px){.auth-strip{top:16px;padding:12px;gap:8px}.connect-button{width:100%;justify-content:center;margin:4px 0 0}.sample-art{inset:135px 0 24px}.sample-caption{display:none}}
@media(max-width:700px){.workspace,.mint-footer{width:100%}.auth-strip{left:15px;width:calc(100% - 30px)}.sample-art{inset:130px 0 20px}.canvas-frame,.canvas-frame.connected{height:auto;min-height:0;aspect-ratio:1}}

/* Extra materials stay one click away, leaving the paper in focus. */
.palette-button{width:30px;height:30px;padding:3px;display:grid;place-items:center;position:relative;border-radius:50%;background:transparent;color:var(--muted)}
.palette-button:hover:not(:disabled){background:var(--wash);color:var(--ink)}
.palette-button svg{width:24px;height:24px}
.palette-button.custom-selected{color:var(--ink);background:var(--wash)}
.palette-button.custom-selected:after{content:'';position:absolute;right:-2px;bottom:-2px;width:12px;height:12px;border-radius:50%;background:var(--chosen-color);border:2px solid var(--canvas);box-shadow:0 0 0 1px var(--line)}
.toolbar:disabled .palette-button{opacity:.45}
.studio-popover{position:fixed;inset:auto;margin:0;width:min(252px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;padding:20px;border:1px solid var(--line);border-radius:12px;background:var(--canvas);color:var(--ink)}
.popover-title{font-size:14px;font-weight:600;margin:0 0 16px;line-height:1.4}
.extra-tools{display:flex;flex-direction:column;gap:4px}
.extra-tool{display:flex;align-items:center;gap:13px;width:100%;min-height:42px;padding:9px 10px;background:transparent;border-radius:6px;text-align:left;font-size:14px}
.extra-tool:hover,.extra-tool.active{background:var(--wash)}
.extra-tool.active{font-weight:600}
.extra-tool svg{width:22px;height:22px}
.extra-tool kbd{margin-left:auto;font:12px DM,sans-serif;color:var(--muted)}
.popover-note{font-size:12px;line-height:1.5;color:var(--muted);margin:15px 0 0}
.expanded-colors{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;justify-items:center;padding:4px 2px 6px}
.expanded-colors .swatch{width:32px;height:32px}
.swatch.white{--swatch:#ffffff;background:var(--swatch);box-shadow:inset 0 0 0 1px var(--line)}
.swatch.white.selected:after{border-color:#8a847a}
.swatch.orange{--swatch:#ed862f;background:var(--swatch)}
.swatch.pink{--swatch:#df739c;background:var(--swatch)}
.swatch.purple{--swatch:#8455aa;background:var(--swatch)}
.swatch.sky{--swatch:#62aecb;background:var(--swatch)}
.swatch.teal{--swatch:#26847a;background:var(--swatch)}
.swatch.brown{--swatch:#8b583c;background:var(--swatch)}
.custom-color-row{display:flex;align-items:center;gap:13px;border-top:1px solid var(--line);margin-top:19px;padding-top:16px}
.custom-color{flex-shrink:0;width:36px;height:36px;display:block}
.custom-color input{appearance:none;display:block;cursor:pointer;width:36px;height:36px;border:1px solid var(--line);border-radius:6px;padding:3px;background:var(--canvas)}
.custom-color input::-webkit-color-swatch-wrapper{padding:0}
.custom-color input::-webkit-color-swatch{border:0;border-radius:3px}
.custom-color input::-moz-color-swatch{border:0;border-radius:3px}
.hex-color-label{font-size:12px;color:var(--muted);display:flex;flex-direction:column;gap:4px;min-width:0}
.hex-color-label input{width:100%;min-width:0;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:2px 0 4px;background:transparent;color:var(--ink);font-size:14px;letter-spacing:.02em}
.color-error{font-size:12px;line-height:1.5;color:var(--red-dark);margin:12px 0 0}
.shape-cursor{border-radius:0;border:0;background:linear-gradient(var(--ink),var(--ink)) center/1px 100% no-repeat,linear-gradient(var(--ink),var(--ink)) center/100% 1px no-repeat}
.incoming-sample{inset:0;padding:0}
.incoming-sample img{width:100%;height:100%;max-width:100%;object-fit:contain;transform:none;filter:none}
.incoming-artwork{display:flex;align-items:center;gap:13px}
.incoming-artwork>img{width:64px;height:64px;object-fit:contain;background:var(--canvas);border:1px solid var(--line);border-radius:5px}
.incoming-author{display:block;font-size:12px;color:var(--muted);margin-top:5px}
.incoming-author a{color:var(--ink);text-decoration:none;text-underline-offset:3px}
.incoming-author a:hover{text-decoration:underline}
.mint-action{flex-direction:column;align-items:flex-end;gap:9px}
.chain-label{font-size:12px;color:var(--muted);text-decoration:none;text-underline-offset:3px}
.chain-label:hover{color:var(--ink);text-decoration:underline}
.chain-links{display:flex;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:4px 12px;max-width:100%}.contract-link{display:inline-flex;align-items:center;gap:3px}.contract-link svg{width:12px;height:12px}
.relay-review{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:22px}
.relay-review figure{margin:0;min-width:0}
.relay-review figcaption{font-size:12px;font-weight:600;line-height:1.5;min-height:36px;margin:0 0 8px}
.relay-review .dialog-mint-image{width:100%;margin:0}
.relay-artist{display:block;font-size:12px;color:var(--muted);margin-top:8px;overflow-wrap:anywhere}
@media(max-width:700px){.sample-art.incoming-sample{inset:0}.incoming-artwork{gap:9px}.incoming-artwork>img{width:46px;height:46px}.incoming-author{font-size:11px}.mint-footer{align-items:flex-start}.mint-action{gap:8px}.mint-button{min-width:155px}.edition-count{font-size:17px;gap:4px}.edition-total{font-size:13px}.edition p{font-size:11px}.relay-review{gap:12px}}
@media(max-width:380px){.incoming-artwork>img{width:36px;height:36px}.incoming-artwork{gap:7px}.mint-button{min-width:135px;font-size:15px;padding:15px 13px}.edition-count{font-size:16px}.edition-total{font-size:12px}.incoming-author{font-size:10px}}
@media(min-width:701px){.toolbar>.tool-group:not(.history-tools){flex-direction:column}.colors{align-items:center}}
@media(max-height:880px) and (min-width:701px){.toolbar{gap:7px;padding:10px 7px}.toolbar>.tool-group:not(.history-tools){gap:2px}.toolbar .tool{width:38px;height:30px}.colors{gap:8px}.swatch{width:23px;height:23px}.palette-button{width:27px;height:27px}.brush-size input{writing-mode:horizontal-tb;direction:ltr;width:42px;height:18px}.size-preview,.brush-size output{display:none}.history-tools{flex-direction:row}.history-tools .tool{width:23px;height:27px}}
@media(max-width:700px){.toolbar{flex-wrap:wrap;justify-content:space-between;gap:10px 12px;padding:10px 12px}.toolbar>.tool-group:not(.history-tools){order:1}.history-tools{order:2;margin-left:auto}.toolbar>.tool-divider{display:none}.colors{order:3;width:100%;justify-content:space-between;align-items:center;gap:12px;padding:10px 4px 2px;border-top:1px solid var(--line)}.colors .swatch{width:26px;height:26px}.palette-button{width:30px;height:30px}.toolbar .tool{width:36px;height:32px}.history-tools .tool{width:30px}.expanded-colors .swatch{width:32px;height:32px}}
.edition-count,.mint-button>span{white-space:nowrap}
@media(max-width:700px){.incoming-artwork>img{display:none}.incoming-artwork>div{min-width:0}.incoming-author{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.edition{min-width:0}.edition p{font-size:12px;white-space:nowrap}.mint-action{flex-shrink:0}.mint-button{min-width:168px;font-size:16px;padding:17px 14px;gap:12px}}
@media(max-width:380px){.mint-footer{display:grid;grid-template-columns:1fr;gap:16px}.incoming-artwork>img{display:block;width:46px;height:46px}.edition-count{font-size:20px}.edition-total{font-size:15px}.incoming-author{font-size:12px}.mint-action{align-items:stretch}.chain-label{text-align:right}.mint-button{width:100%;font-size:17px}}

.account-area{gap:20px}.wallet-button{font-size:12px}.mint-status{color:#746d63;font-size:12px;text-align:right;margin:10px 0 0}.transaction-link{display:block;text-align:center;margin:16px 0;color:inherit}.dialog-action:disabled{cursor:wait;opacity:.65}@media(max-width:540px){.account-area{gap:12px}.wallet-button{font-size:11px}.account-arrow{display:none}.mint-status{text-align:left}}
.participation-status{max-width:268px;margin:0;line-height:1.5;overflow-wrap:anywhere}@media(max-width:700px){.participation-status{max-width:168px}}@media(max-width:380px){.participation-status{max-width:none}}
.gallery-heading-actions{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end;gap:12px 24px}.museum-link{color:var(--ink);font-size:14px;text-decoration:none;text-underline-offset:4px}.museum-link:hover{text-decoration:underline}.museum-link:focus-visible{outline:2px solid var(--ink);outline-offset:5px}@media(max-width:540px){.gallery-heading{align-items:flex-start;gap:16px}.gallery-heading-actions{gap:8px}.museum-link{font-size:13px}}
