.onboarding{min-height:100dvh;background:#fafbfc;padding:0 6vw 36px;color:#242832}.join-header{height:112px;display:flex;align-items:center;justify-content:space-between;max-width:1320px;margin:auto}.join-header a{text-decoration:none;color:inherit}.join-back{font-size:14px;color:#687080!important}.join-back span{margin-left:10px}.join-layout{max-width:1210px;margin:35px auto;display:grid;grid-template-columns:1.1fr 1fr;align-items:start;gap:9%}.join-story{padding-top:25px}.join-eyebrow,.join-step{font-size:12px;letter-spacing:1.8px;font-weight:700;color:#7a8394}.join-story h1{font-family:'Libre Caslon Display',Georgia,serif;font-size:clamp(45px,4.7vw,69px);font-weight:400;line-height:1.07;letter-spacing:-1.5px;margin:23px 0}.join-story>p{color:#717785;line-height:1.75;font-size:16px}.join-artwork{height:305px;position:relative;margin-top:38px;max-width:450px}.join-paper{position:absolute;background:white;padding:10px;box-shadow:0 15px 35px #22314a12;border:1px solid #e9e9e6}.paper-one{width:235px;transform:rotate(-7deg);left:5px;top:10px;z-index:2}.join-frog{height:208px;background:white url('/assets/frog-watercolor-simple.png') center/contain no-repeat}.join-paper>span{font-size:11px;display:block;text-align:center;color:#8e928f;padding:11px 0 3px}.paper-two{width:200px;right:0;top:30px;transform:rotate(10deg)}.join-mushroom{height:200px;background:white url('/assets/mushroom-watercolor-simple.png') center/contain no-repeat}.join-art-note{position:absolute;bottom:0;right:5px;color:#898e9a;font:italic 17px Georgia,serif}.join-values{display:flex;gap:22px;color:#737b87;font-size:13px;margin-top:18px}.sample-note{display:block;color:#959ba5;font-size:11px;margin-top:17px}.join-panel{background:#fff;border:1px solid #e8ebf0;border-radius:25px;padding:34px 38px;box-shadow:0 15px 55px #16233d04;max-width:500px;width:100%;box-sizing:border-box}.join-progress{display:flex;gap:5px;margin:0 0 32px;width:74px}.join-progress span{height:3px;width:22px;border-radius:10px;background:#edf0f5}.join-progress .complete{background:#4161ce}.join-step{font-size:11px;letter-spacing:1.4px}.join-panel h2{font-family:'Libre Caslon Display',Georgia,serif;font-size:43px;font-weight:400;line-height:1.12;letter-spacing:-.7px;margin:18px 0 14px;outline:none}.join-description{font-size:15px;line-height:1.6;color:#747b89;margin:0 0 25px}.join-panel label{display:block;font-size:14px;font-weight:500;margin:17px 0 8px}.join-panel input:not([type=checkbox]),.join-panel textarea{box-sizing:border-box;width:100%;font:inherit;font-size:16px;padding:13px 14px;border:1px solid #e0e4ec;border-radius:10px;background:#fff;color:#252936;outline:none}.join-panel input:focus,.join-panel textarea:focus{border-color:#536fc9;box-shadow:0 0 0 3px #536fc914}.join-panel input:disabled{background:#f6f7f9;color:#939aa6}.join-panel input::placeholder,.join-panel textarea::placeholder{color:#a1a6b0}.join-submit{display:flex;justify-content:center;align-items:center;text-decoration:none;box-sizing:border-box;width:100%;margin-top:18px;min-height:47px;font-size:14px}.join-submit span{margin-left:auto}.apple-button{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;border:0;border-radius:10px;background:#202228;color:white;font:500 16px -apple-system,BlinkMacSystemFont,sans-serif;min-height:48px}.apple-button svg{width:23px;height:23px}.join-panel button:disabled{opacity:.46;cursor:not-allowed}.join-divider{display:flex;align-items:center;gap:14px;color:#9a9eaa;font-size:12px;margin:23px 0}.join-divider:before,.join-divider:after{content:'';height:1px;background:#eceef2;flex:1}.field-help{font-size:12px;line-height:1.6;color:#8b919e;margin:12px 0}.join-private{border-top:1px solid #eff1f5;margin:22px 0 0;padding-top:20px;text-align:center;color:#969daa;font-size:11px}.setup-notice{background:#f3f6fd;border-radius:11px;padding:13px 15px;margin:0 0 22px;color:#5d6c96;font-size:13px;line-height:1.55}.setup-notice p{margin:4px 0 0}.preview-onboarding{display:block;background:none;border:0;color:#4962b6;font-size:13px;padding:10px 0;text-align:left}.join-avatar{width:52px;height:52px;border-radius:18px;background:#edf1ff;color:#6780cf;font-size:32px;display:grid;place-items:center;margin:20px 0}.handle-input{display:flex;align-items:center;position:relative}.handle-input>span{position:absolute;left:14px;color:#a1a6b0}.handle-input input{padding-left:35px!important}.optional{float:right;font-size:12px;font-weight:400;color:#9a9eaa}.guideline-check{display:flex!important;align-items:flex-start;gap:10px;font-size:12px!important;color:#7c8390;line-height:1.6}.guideline-check input{margin-top:4px;accent-color:#4161ce}.guideline-check button{background:none;border:0;padding:0;color:#4962b6;font-size:inherit;text-decoration:underline}.welcome-star{font-size:62px;color:#bb9b54;margin:25px 0 0}.welcome-rhythm{padding:15px 0}.welcome-rhythm>div{display:flex;gap:20px;font-size:13px;padding:15px 0;border-bottom:1px solid #f0f1f4}.welcome-rhythm b{min-width:66px;color:#4d5e8b}.welcome-rhythm span{color:#7e8590}#account-message{font-size:13px;color:#a44343;line-height:1.5;min-height:0;margin:8px 0}.otp-input{letter-spacing:8px;font-size:24px!important}.account-entry{display:flex;align-items:center;justify-content:center;text-decoration:none;margin:10px 0 18px;padding:12px;border-radius:10px;background:#eef2fd;color:#4962b6;font-size:14px}.mobile-account{font-size:13px;color:#4962b6;text-decoration:none}.join-panel :focus-visible{outline:2px solid #4569d0;outline-offset:3px}
@media(max-width:950px){.join-layout{gap:5%;}.onboarding{padding:0 4vw 30px}.join-panel{padding:28px}.join-values{gap:13px;flex-wrap:wrap}.join-artwork{transform:scale(.85);transform-origin:left top;margin-bottom:-40px}.paper-two{right:-25px}}
@media(max-width:700px){.onboarding{padding:0 22px 25px}.join-header{height:82px}.join-header .brand{font-size:23px}.join-back{font-size:12px}.join-layout{display:flex;flex-direction:column;margin:10px auto;gap:25px;max-width:470px}.join-story{display:none}.join-panel{padding:27px 25px;max-width:none;border-radius:22px}.join-panel h2{font-size:39px}.join-description{font-size:15px}.join-panel label{font-size:14px}.join-private{font-size:11px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

.join-panel h2:focus-visible{outline:none}
.beta-art{display:block;border:0;padding:0;width:100%;aspect-ratio:1;background:#fff;overflow:hidden}.beta-art img{width:100%;height:100%;object-fit:contain}.beta-card-info{padding:16px;display:grid;gap:7px}.beta-card-info>span,.beta-card-info small{color:#717887}.beta-actions{display:flex;gap:12px;flex-wrap:wrap;margin:12px 0}.beta-actions button,.moderation-item button,.settings-card button{border:1px solid #dce1ee;background:white;padding:9px 13px;border-radius:9px;font:inherit;color:#405eac}.review-status{color:#876620;background:#fff6db;padding:9px;border-radius:8px}.beta-detail{padding:30px;max-width:670px}.beta-detail img{max-width:100%;border-radius:12px}.beta-detail textarea,.studio-content input:not([type=color]):not([type=range]){font:inherit;padding:12px;width:100%;border:1px solid #dce1ee;border-radius:9px;margin:10px 0}.moderation-list{display:grid;gap:18px;margin:20px 0 40px}.moderation-item{display:flex;gap:25px;background:white;border:1px solid #e1e6ee;border-radius:15px;padding:22px}.moderation-item img{width:220px;object-fit:contain;align-self:flex-start}.settings-card{background:white;border:1px solid #e1e6ee;padding:26px;border-radius:18px;max-width:720px;line-height:1.7}.settings-card h2{margin-top:30px}#beta-status{color:#915038;line-height:1.5}#beta-canvas{width:100%;display:block;touch-action:none;aspect-ratio:1}@media(max-width:700px){.moderation-item{flex-direction:column}.moderation-item img{width:100%}.beta-detail{padding:20px}}

.beta-badge{margin-left:auto;border-radius:20px;padding:2px 7px;background:#e8ecff;color:#3657ef;font-size:11px}.beta-badge[hidden]{display:none}
.beta-badge-new{font-weight:700;white-space:nowrap}

.account-rules{padding:30px;max-width:580px;line-height:1.6}.account-rules h2{font-size:26px}.account-rules p{margin:18px 0}.join-panel label,.join-panel .field-help{font-size:14px}.join-private{font-size:12px}.join-panel .join-description{font-size:16px}#beta-canvas{cursor:crosshair}#studio-dialog .toolbar button:focus-visible{outline:3px solid #3657ef;outline-offset:2px}

#allow-tester{display:grid;gap:10px;max-width:420px}#allow-tester input{border:1px solid #dce1ee;border-radius:9px;padding:12px;font:inherit}#invite-status{font-size:14px}

/* The canvas stays the focus; the art box moves below it on smaller screens. */
.paint-studio.studio-dialog{margin:auto;border-radius:20px;width:min(1280px,96vw);height:min(960px,94dvh);max-height:94dvh;overflow:auto;background:#f5f6f8}
.paint-studio .studio-head{height:78px;background:#fff;position:sticky;top:0;z-index:2;border-bottom:1px solid #e5e8ee;padding:18px 26px}
.paint-studio .studio-head>div{display:grid;gap:5px}.paint-eyebrow{font-size:10px;color:#7d8490;letter-spacing:1.8px;font-weight:650}
.paint-studio .studio-content{display:grid;grid-template-columns:minmax(0,1fr) 300px;align-items:start;gap:28px;padding:28px;height:auto}
.paint-studio .canvas-shell{width:100%;height:auto;max-width:calc(94dvh - 135px);max-height:none;justify-self:center;aspect-ratio:1;background:white;box-shadow:0 12px 40px #26344512;border:1px solid #e4e6ed;border-radius:5px;overflow:hidden;margin:0}
.paint-tools{max-height:calc(94dvh - 135px);overflow:auto;min-width:0;background:#fff;padding:20px;border:1px solid #e6e8ef;border-radius:19px}.paint-tools-heading{display:grid;gap:4px;margin-bottom:18px}.paint-tools-heading h2{font-size:20px}.paint-tools-heading>span{font-size:12px;color:#848997}
.paint-studio .toolbar{display:flex;flex-direction:column;align-items:stretch;gap:17px;border:0;background:none;padding:0;box-shadow:none;width:100%;border-radius:0}
.brush-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.brush-picker button{display:flex;align-items:center;gap:9px;min-height:45px;border:1px solid #e8eaf0;border-radius:10px;background:#fafbfc;font-size:12px;text-align:left;padding:9px 10px}.brush-picker button[aria-pressed=true]{border-color:#5874ed;color:#2749c7;background:#eef2ff;box-shadow:0 0 0 1px #5874ed}.brush-picker button:last-child{grid-column:1/-1}
.brush-sample{width:24px;height:8px;background:currentColor;border-radius:50%;transform:rotate(-24deg);flex-shrink:0}.sample-pencil{height:3px;opacity:.7;border-top:1px dashed white}.sample-marker{height:12px;border-radius:2px;opacity:.65}.sample-watercolor{height:16px;filter:blur(2px);opacity:.45}.sample-oil{height:14px;background:repeating-linear-gradient(0deg,currentColor 0 2px,#ffffff80 2px 3px);border-radius:3px}.sample-pastel{height:13px;opacity:.7;background:radial-gradient(circle,transparent 0 1px,currentColor 1px);background-size:4px 4px}.sample-eraser{width:20px;height:12px;background:#e6b1b7;border:1px solid #c58992;border-radius:3px}
.brush-hint{font-size:12px;line-height:1.6;color:#727c89;min-height:39px}.paint-color-row{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.paint-color-row>label{font-size:12px;font-weight:600;margin-right:auto}.paint-color-row input[type=color]{width:36px;height:30px;padding:2px;border:1px solid #dfe3ec;border-radius:7px;background:#fff}.paint-palette{display:flex;width:100%;gap:9px}.paint-palette button{width:27px;height:27px;border-radius:50%;background:var(--swatch);border:1px solid #0000001c}.paint-palette button[aria-pressed=true]{outline:2px solid #7089dc;outline-offset:3px}
.paint-slider{display:grid;grid-template-columns:1fr auto;gap:10px;font-size:12px;font-weight:600}.paint-slider output{color:#7c8390;font-variant-numeric:tabular-nums;font-weight:400}.paint-slider input{grid-column:1/-1;width:100%;margin:0;accent-color:#4564db;min-height:24px}.paint-history{display:flex;gap:8px}.paint-history button{flex:1;font-size:12px;border:1px solid #e3e7ed;border-radius:9px;padding:10px;background:#f9fafc}
.paint-studio #beta-submit{margin-top:22px;border-top:1px solid #e8eaf0;padding-top:18px}.paint-studio #beta-submit label{font-size:12px;font-weight:600}.paint-studio #beta-submit input{font-size:13px;margin:9px 0 12px}.paint-studio #beta-submit button{width:100%;justify-content:center}.paint-studio #draw-status{font-size:11px;color:#7b8491;line-height:1.7;margin-top:12px}
@media(max-width:850px){.paint-studio.studio-dialog{width:96vw;height:94dvh}.paint-studio .studio-content{grid-template-columns:1fr;padding:18px;gap:18px}.paint-studio .canvas-shell{max-width:650px;justify-self:center}.paint-tools{max-height:none;overflow:visible;width:100%;max-width:650px;justify-self:center}.brush-picker{grid-template-columns:repeat(4,minmax(0,1fr))}.brush-picker button:last-child{grid-column:auto}.paint-studio .toolbar{gap:15px}.paint-color-row{max-width:370px}.paint-studio .studio-head{padding:15px 18px}.paint-studio .studio-head strong{font-size:14px}}
@media(max-width:450px){.paint-studio .studio-content{padding:12px}.paint-tools{padding:15px}.brush-picker{grid-template-columns:repeat(3,minmax(0,1fr))}.brush-picker button{padding:8px 6px;gap:6px;font-size:11px}.brush-sample{width:18px}.paint-studio .studio-head{padding:12px}.paint-eyebrow{font-size:9px}.paint-studio .studio-head .secondary{font-size:11px;padding:10px}.paint-studio .studio-head strong{font-size:12px}}

.join-panel fieldset{border:0;padding:0;margin:0;min-width:0}.account-modes{display:flex;gap:4px;padding:4px;background:#f0f2f6;border-radius:11px;margin:22px 0}.account-modes button{flex:1;border-radius:8px;padding:10px;font-size:13px;color:#727b8b}.account-modes button[aria-pressed=true]{background:#fff;color:#28374d;box-shadow:0 2px 6px #24324b0b}.password-field{position:relative}.join-panel .password-field input{padding-right:65px}.password-reveal{position:absolute;right:8px;top:50%;transform:translateY(-50%);padding:8px;font-size:12px;color:#556a9d}.password-reveal:active{transform:translateY(-50%)}.join-panel .password-help{margin:0 0 18px;font-size:12px}.account-text-button{display:block;margin:-4px 0 20px auto;font-size:12px;color:#4965bd}.join-panel .preview-onboarding{display:block}.settings-card>a.secondary{display:inline-flex;text-decoration:none;margin:8px 0}

.theme-layout{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(260px,.85fr);gap:24px;align-items:start}.theme-layout .settings-card{margin:0;min-width:0}.theme-editor form{display:grid;gap:10px}.theme-editor label{font-size:13px;font-weight:600}.theme-editor input:not([type=checkbox]),.theme-editor textarea{width:100%;box-sizing:border-box;border:1px solid #dfe4ed;border-radius:10px;padding:12px;font:inherit;background:#fff;color:#28374d}.theme-editor textarea{resize:vertical;line-height:1.6}.theme-editor input[type=date]{max-width:240px;margin-bottom:12px}.theme-editor .field-help,.theme-file{font-size:12px;line-height:1.6}.theme-file{margin-top:8px}.theme-file input{margin-top:8px}.theme-editor .primary{justify-self:start}.theme-editor #theme-status{font-size:13px;line-height:1.6;color:#46654e}.theme-days{list-style:none;margin:20px 0 0;padding:0;max-height:640px;overflow:auto}.theme-days li{display:grid;grid-template-columns:95px 1fr;gap:12px;padding:13px 0;border-bottom:1px solid #edf0f5;font-size:13px}.theme-days time{color:#7a8493;font-size:12px}.theme-days span{overflow-wrap:anywhere}.theme-days small{display:block;color:#698077;font-size:10px;margin-top:4px}.theme-review{overflow:auto;max-height:430px;margin:16px 0}.theme-review table{width:100%;border-collapse:collapse;text-align:left;font-size:12px}.theme-review th,.theme-review td{padding:10px 8px;border-bottom:1px solid #edf0f5;overflow-wrap:anywhere;max-width:170px}.theme-review th{color:#727e90;background:#f8f9fc}.theme-replace{display:flex;align-items:center;gap:10px;margin:18px 0;line-height:1.5}.theme-replace input{width:18px;height:18px;flex-shrink:0;accent-color:#4564db}.theme-editor button:disabled{opacity:.45;cursor:default}@media(max-width:900px){.theme-layout{grid-template-columns:1fr}.theme-days{max-height:440px}}

.suggest-theme-button{margin-left:10px}.suggest-theme-dialog{width:min(460px,92vw);box-sizing:border-box;border:1px solid #e5e8ef;border-radius:24px;padding:30px;box-shadow:0 24px 100px #1f304033}.suggest-theme-dialog::backdrop{background:#1d293a66;backdrop-filter:blur(4px)}.suggest-theme-dialog .icon-button{float:right}.suggest-theme-dialog h2{margin:12px 0;font-size:26px;letter-spacing:-.7px}.suggest-theme-dialog p{font-size:14px;line-height:1.65;color:#707b8b}.suggest-theme-dialog label,.theme-idea label{display:block;font-size:12px;font-weight:600;margin:20px 0 8px}.suggest-theme-dialog input,.theme-idea input{box-sizing:border-box;border:1px solid #dce2ec;border-radius:10px;padding:12px;font:inherit;background:white;color:#28374d}.suggest-theme-dialog input{width:100%}.suggest-theme-dialog .primary{background:#4564db;color:white;padding:12px 18px;border-radius:10px}.suggest-theme-dialog button:disabled{opacity:.5}#community-ideas{margin-top:24px}.theme-idea{padding:20px 0;border-top:1px solid #e9edf4}.theme-idea h3{margin:0;overflow-wrap:anywhere}.theme-idea p{font-size:12px;color:#798496}.theme-idea form{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.theme-idea label{margin:0}.theme-idea .preview-onboarding{margin:0;padding:10px}@media(max-width:500px){.suggest-theme-button{display:block;margin:12px 0 0}.suggest-theme-dialog{padding:22px}.theme-idea form{align-items:stretch}.theme-idea label{width:100%}}

/* Instant-photo borders around square artwork, with room below the image. */
.polaroid-print{--print-border:clamp(10px,1.3vw,18px);display:block;padding:var(--print-border);border:1px solid #e2e2db;border-bottom-color:#c8c8be;background-color:#fafaf7;background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22160%22%20height%3D%22160%22%3E%3Cfilter%20id%3D%22paper%22%3E%3CfeTurbulence%20type%3D%22fractalNoise%22%20baseFrequency%3D%22.8%22%20numOctaves%3D%223%22%20stitchTiles%3D%22stitch%22%2F%3E%3CfeColorMatrix%20type%3D%22saturate%22%20values%3D%220%22%2F%3E%3C%2Ffilter%3E%3Crect%20width%3D%22100%25%22%20height%3D%22100%25%22%20filter%3D%22url%28%23paper%29%22%20opacity%3D%22.075%22%2F%3E%3C%2Fsvg%3E"),linear-gradient(135deg,#fff 0%,#fafaf7 58%,#eeeee7 100%);background-size:160px 160px,100% 100%;border-radius:2px;box-shadow:inset 0 1px 0 #fff,1px 2px 0 #e2e2da,2px 4px 0 #d4d4c9,0 7px 10px #282b2410,0 18px 30px #282b2412}
.beta-art.polaroid-print{aspect-ratio:auto;padding:var(--print-border);overflow:hidden;transition:box-shadow .18s}
.polaroid-print::after{content:"";display:block;aspect-ratio:8/1}
.beta-art.polaroid-print:hover{box-shadow:inset 0 1px 0 #fff,1px 2px 0 #e2e2da,2px 4px 0 #d4d4c9,0 9px 13px #282b2417,0 22px 36px #282b241c}
.polaroid-print img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain;background:#fff;box-shadow:0 1px 0 #ffffffc7,0 -1px 2px #30362a20,0 0 0 1px #383d3020}
.beta-card-info{padding:13px 2px 0;gap:3px}.artist-line{display:flex;align-items:center;gap:12px;min-width:0;flex-wrap:wrap}.artist-handle{font-size:14px;font-weight:650;color:#29303d;overflow-wrap:anywhere;min-width:0;line-height:1.5}
.artist-follow{font:inherit;font-size:14px;font-weight:600;color:#405bba;background:transparent;border:0;padding:8px 2px;min-height:36px;white-space:nowrap}.artist-follow[aria-pressed=true]{color:#6e7684}.artist-follow:hover{text-decoration:underline;text-underline-offset:4px}
.post-actions{display:flex;align-items:center;gap:20px}.post-actions button{display:inline-flex;align-items:center;gap:6px;padding:8px 2px;min-height:40px;border:0;background:none;color:#657082;font-size:14px;border-radius:6px}.post-actions svg{width:21px;height:21px}.post-actions .post-vote[aria-pressed=true]{color:#405bba}.post-actions .post-vote:disabled{opacity:.6}.image-missing{display:grid;place-content:center;min-height:160px;font-size:14px;color:#7b8390}
.post-dialog.detail-dialog{width:min(1160px,calc(100% - 48px));max-height:calc(100dvh - 48px);border-radius:14px;overflow:auto;background:#fff}
.post-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(330px,1fr);height:min(740px,calc(100dvh - 48px));min-height:0}
.post-art-stage{background:#f4f4f2;display:grid;place-items:center;padding:30px;min-width:0;min-height:0}.post-art-frame{width:100%;max-width:min(100%,calc((100dvh - 112px)/1.125),560px);aspect-ratio:auto;min-width:0;min-height:0;justify-self:center}.post-art-frame img{border-radius:0}
.post-panel{display:flex;flex-direction:column;min-height:0;min-width:0;background:#fff;border-left:1px solid #e9ebee}.post-header{display:flex;align-items:center;gap:10px;padding:18px 20px;border-bottom:1px solid #eceef2;min-height:76px;flex-shrink:0}.post-header .artist-handle{flex:1}.post-avatar{width:34px;height:34px;border-radius:50%;background:#f0f2f8;color:#697594;display:grid;place-items:center;flex:none;font-size:14px;font-weight:550}.post-close{color:#667080;font-size:25px;width:36px;height:36px;flex-shrink:0;border-radius:50%;display:grid;place-items:center;padding:0;line-height:1}.post-close:hover{background:#f1f3f7}
.post-menu{position:relative;flex-shrink:0}.post-menu summary{list-style:none;cursor:pointer;display:grid;place-items:center;width:32px;height:36px;color:#77808e;font-size:12px;letter-spacing:1px;border-radius:7px}.post-menu summary::-webkit-details-marker{display:none}.post-menu[open] summary{background:#f0f2f7}.post-menu>div{position:absolute;top:40px;right:0;width:170px;padding:6px;background:#fff;border:1px solid #e4e7ee;box-shadow:0 8px 24px #24304b1a;border-radius:10px;z-index:3}.post-menu button{display:block;text-align:left;font-size:14px;width:100%;padding:11px 10px;border-radius:5px;color:#606a7b}.post-menu button:hover{background:#f4f5f8}
.post-caption{padding:23px 24px 18px;flex-shrink:0}.post-caption h2{font-family:inherit;font-size:23px;line-height:1.35;font-weight:650;letter-spacing:-.5px;overflow-wrap:anywhere;margin:0 0 7px}.post-caption p{font-size:13px;color:#7f8793;line-height:1.5}.post-conversation{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;padding:0 24px}.post-conversation h3{font-size:14px;font-weight:600;padding:0 0 18px;margin:0;color:#343d4e}.post-conversation h3>span{font-weight:400;color:#8a929f;margin-left:5px}#post-comment-list{list-style:none;margin:0;padding:0}.post-comment{display:flex;align-items:flex-start;gap:11px;padding:0 0 22px}.post-comment .post-avatar{width:30px;height:30px;font-size:12px}.post-comment-content{min-width:0;flex:1}.post-comment-content p{font-size:14px;line-height:1.7;color:#465062;white-space:pre-wrap;overflow-wrap:anywhere;margin:0}.post-comment-content strong{font-weight:650;color:#2e3747;margin-right:5px}.post-comment-meta{display:flex;align-items:center;gap:14px;font-size:12px;color:#9198a3;padding-top:5px}.post-comment-meta button{font-size:12px;color:#858e9c;padding:4px 0}.post-comments-empty{display:grid;gap:7px;text-align:center;padding:42px 0;font-size:14px;color:#8b93a0;line-height:1.5}.post-comments-empty strong{color:#5d6778;font-weight:500}
.post-footer{padding:10px 24px 16px;border-top:1px solid #eceef2;flex-shrink:0}.post-comment-form{display:flex;align-items:flex-end;gap:12px;border-top:1px solid #f0f1f4;padding-top:8px;margin-top:6px}.post-comment-form textarea{font:inherit;font-size:16px;line-height:1.5;min-height:44px;max-height:110px;width:100%;min-width:0;resize:vertical;border:0;background:transparent;padding:10px 0;color:#343d4e}.post-comment-form textarea::placeholder{color:#929aa6}.post-comment-form button{min-height:44px;padding:10px 0;color:#405bba;font-size:14px;font-weight:650}.post-comment-form button:disabled{opacity:.5}.post-dialog[open]{display:flex;flex-direction:column}#detail-status{position:sticky;top:0;z-index:5;flex-shrink:0;margin:0;font-size:16px;font-weight:600;line-height:1.5;color:#29303d;background:#edf1ff;overflow-wrap:anywhere}#detail-status:empty{height:0;overflow:hidden}#detail-status:not(:empty){padding:14px 20px;border-bottom:1px solid #c6d0f5;box-shadow:0 3px 8px #25396812}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.paint-studio .studio-head>.paint-header-actions{display:flex;gap:10px;align-items:center;flex-shrink:0}.paint-header-actions button{min-height:42px;font-size:14px;white-space:nowrap}.paint-studio .studio-head{height:auto;min-height:78px}.paint-studio .studio-head>div:first-child{min-width:0}.paint-studio #drawing-title{font-size:16px}.paint-studio .canvas-shell{border:1px solid #e8e9ec;border-radius:2px;box-shadow:0 8px 25px #2630440c}
@media(max-width:850px){.post-dialog.detail-dialog{width:calc(100% - 28px);max-height:calc(100dvh - 28px)}.post-layout{grid-template-columns:minmax(0,1fr) minmax(310px,1fr);height:min(690px,calc(100dvh - 28px))}.post-art-stage{padding:20px}.post-header{padding:14px;gap:7px}.post-header .post-avatar{display:none}.post-caption{padding:20px 18px 16px}.post-conversation{padding:0 18px}.post-footer{padding:10px 18px 14px}}
@media(max-width:680px){.post-dialog.detail-dialog{width:calc(100% - 16px);max-height:calc(100dvh - 16px);border-radius:12px}.post-layout{display:flex;flex-direction:column;flex-shrink:0;height:auto;position:relative;padding-top:64px}.post-art-stage{padding:20px}.post-art-frame{width:min(100%,62dvh);max-width:none}.post-panel{border-left:0}.post-header{position:absolute;left:0;right:0;top:0;min-height:64px;height:64px;padding:12px 14px;gap:9px}.post-header .post-avatar{display:grid;width:28px;height:28px;font-size:12px}.post-caption{padding-top:19px}.post-caption h2{font-size:21px}.post-conversation{flex:auto;overflow:visible}.post-footer{padding-bottom:max(16px,env(safe-area-inset-bottom))}.post-comment{padding-bottom:20px}.post-comments-empty{padding:25px 0 30px}.community-art-card .artist-line{gap:4px 10px}.community-art-card .post-actions{gap:16px}.paint-studio .studio-head{flex-wrap:wrap;gap:10px;padding:12px 14px}.paint-studio .studio-head>.paint-header-actions{margin-left:auto}.paint-studio .studio-head strong{font-size:14px}.paint-studio .studio-head .secondary,.paint-header-actions .primary{font-size:14px;padding:10px 12px}.paint-studio .paint-eyebrow{font-size:10px}}
@media(max-width:430px){.gallery:has(.community-art-card){grid-template-columns:1fr;gap:30px}.beta-card-info{padding-top:9px}.artist-line{gap:12px}.community-art-card .artist-follow{margin-left:auto}.paint-studio .studio-head>div:first-child{width:100%}.paint-studio .studio-head>.paint-header-actions{width:100%;justify-content:flex-end}.paint-studio .studio-head strong{font-size:14px}}
.dev-badge{display:inline-flex;align-items:center;vertical-align:middle;padding:2px 6px;border:1px solid #d6def9;border-radius:5px;background:#edf1ff;color:#4058a7;font-size:12px;font-weight:650;line-height:1.2;letter-spacing:.1px;white-space:nowrap}.artist-handle .dev-badge{margin-left:4px}.post-comment-content .dev-badge{margin-right:5px}

/* Keep the title with publishing, and editing history with the canvas. */
.paint-studio .studio-head{gap:20px}.paint-studio .studio-head>.paint-header-actions{gap:10px;min-width:0}.paint-studio .studio-head #beta-submit{display:grid;gap:4px;width:clamp(160px,20vw,260px);min-width:0;margin:0 8px 0 0;padding:0;border:0}.paint-studio .studio-head #beta-submit label{font-size:12px;color:#78818f;font-weight:550}.paint-studio .studio-head #drawing-title{width:100%;min-width:0;margin:0;padding:9px 11px;border:1px solid #dfe4ec;border-radius:8px;background:#fafbfd;font:inherit;font-size:16px;line-height:1.4}
.canvas-workspace{min-width:0;width:100%;max-width:calc(94dvh - 205px);justify-self:center;display:grid;gap:14px}.paint-studio .canvas-workspace .canvas-shell{max-width:100%;width:100%}.canvas-workspace .paint-history{justify-content:center;gap:8px;flex-wrap:wrap}.canvas-workspace .paint-history button{flex:0 1 auto;min-height:42px;padding:10px 17px;font-size:14px;background:#fff;box-shadow:0 2px 4px #24344d05}.canvas-workspace .paint-history #beta-clear{color:#8c5457}#canvas-history-status{font-size:13px;line-height:1.5;text-align:center;color:#738093}#canvas-history-status:empty{display:none}
.brush-picker .physical-tool-icon{width:25px;height:25px;flex:none;stroke-width:1.35}.brush-picker button{font-size:13px;gap:8px}.brush-picker button[aria-pressed=true] .physical-tool-icon{filter:drop-shadow(0 1px 1px #3655ac15)}
@media(max-width:1000px){.paint-studio .studio-head{flex-wrap:wrap;gap:12px}.paint-studio .studio-head>div:first-child{flex:1}.paint-studio .studio-head>.paint-header-actions{margin-left:auto}.paint-studio .studio-head #beta-submit{width:190px}}
@media(max-width:850px){.canvas-workspace{max-width:650px}.paint-studio .studio-head>.paint-header-actions{width:100%;justify-content:flex-end}.paint-studio .studio-head #beta-submit{flex:1;width:auto;max-width:350px;margin-right:auto}.brush-picker button{font-size:13px}.paint-studio .studio-content{gap:22px}}
@media(max-width:520px){.paint-studio .studio-head>.paint-header-actions{flex-wrap:wrap;gap:8px}.paint-studio .studio-head #beta-submit{flex-basis:100%;max-width:none;width:100%;margin:0}.paint-studio .studio-head #beta-submit label{font-size:12px}.canvas-workspace .paint-history button{padding:10px 12px}.brush-picker button{flex-direction:column;justify-content:center;gap:5px;font-size:13px;min-height:67px}.brush-picker .physical-tool-icon{width:27px;height:27px}.canvas-workspace{gap:12px}}

.daily-prompt-card{padding:32px;margin-bottom:32px}.daily-prompt-layout{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:28px 40px;width:100%}.daily-prompt-content{display:grid;gap:12px;flex:1 1 350px;min-width:0}.daily-prompt-card .eyebrow{font-size:12px;line-height:1.5}.daily-prompt-card h2{margin:0;font-size:44px;line-height:1.15;overflow-wrap:anywhere}.daily-prompt-card p{margin:0;font-size:14px;line-height:1.6;max-width:none}.daily-prompt-side{display:grid;gap:16px;min-width:0;max-width:100%}.daily-prompt-card .submission-complete{color:#697663;font-weight:550}.daily-prompt-actions{display:flex;align-items:stretch;flex-wrap:wrap;gap:12px}.daily-prompt-actions button{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:12px 18px;margin:0;font-size:14px;line-height:1.4;border-radius:10px}.daily-prompt-actions .suggest-theme-button{margin:0}
@media(max-width:650px){.daily-prompt-card{padding:24px;margin-bottom:28px}.daily-prompt-layout{gap:24px}.daily-prompt-content{gap:12px;flex-basis:100%}.daily-prompt-card h2{font-size:38px}.daily-prompt-side{width:100%;gap:16px}.daily-prompt-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px}.daily-prompt-actions button{padding:12px}.daily-prompt-card p{font-size:14px}}
@media(max-width:400px){.daily-prompt-actions{grid-template-columns:1fr}}

.join-artwork.join-artwork-single{height:auto;max-width:360px;margin:32px 12px 30px;transform:none}.join-flower-print{margin:0;padding:12px 12px 0;background:#fff;border:1px solid #e7e6e2;box-shadow:0 2px 3px #22314a0a,0 16px 36px #22314a12;transform:rotate(-3deg)}.join-flower-print img{display:block;width:100%;height:auto}.join-flower-print figcaption{padding:15px 4px 18px;text-align:center;font-size:12px;color:#858b87;line-height:1.5}

.mod-badge{color:#34745e;background:#eef7f1;border-color:#cce5d6}.artist-profile-link{font:inherit;font-weight:inherit;color:inherit;border:0;background:none;padding:0;cursor:pointer;text-align:left}.artist-profile-link:hover{text-decoration:underline}.danger-text{background:none;border:0;color:#a83e46;padding:10px;font:inherit;font-size:13px;cursor:pointer}.staff-search{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:24px 0}.staff-search label{flex-basis:100%}.staff-search input{font:inherit;padding:12px;border:1px solid #dfe3ea;border-radius:10px;max-width:100%;box-sizing:border-box}.staff-card{margin:20px 0}.staff-card form{margin:20px 0}.staff-card fieldset{border:1px solid #e1e5ec;border-radius:12px;padding:16px;margin:14px 0;display:grid;gap:12px}.staff-card fieldset p{margin:0;font-size:13px}.staff-toggle{display:flex;gap:10px;align-items:center;font-size:14px}.staff-toggle input{width:18px;height:18px;accent-color:#4161ce}.staff-card button{margin:4px}.staff-card .artist-profile-link{margin:0}.staff-card fieldset:disabled{opacity:.5}

.staff-card .primary{color:#fff}.staff-card .danger-text{color:#a83e46;background:none;border:0}.staff-card .artist-profile-link{border:0;padding:0;background:none;color:inherit}.post-actions>.danger-text{margin-left:auto}

.analytics-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:28px 0}.analytics-metric{padding:22px;background:white;border:1px solid #e5e8ee;border-radius:18px}.analytics-metric h2{font-size:13px;color:#707987;margin:0 0 12px;font-weight:550}.analytics-metric strong{font-size:34px;line-height:1.2;font-variant-numeric:tabular-nums}.analytics-metric p{font-size:12px;line-height:1.5;color:#7c8491;margin:10px 0 0}.analytics-section{padding:24px;border:1px solid #e5e8ee;border-radius:18px;background:white}.analytics-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.analytics-heading h2{font-size:22px;margin:0}.analytics-heading select{font:inherit;padding:8px;border:1px solid #dfe3eb;border-radius:8px;background:white}.analytics-section>p{font-size:13px;line-height:1.6;color:#77808e}.analytics-chart{height:140px;display:flex;align-items:end;gap:6px;margin:28px 0 20px;border-bottom:1px solid #e7eaf0}.analytics-bar{height:100%;flex:1;display:flex;align-items:end;min-width:0}.analytics-bar span{display:block;width:100%;background:#5371d9;border-radius:4px 4px 0 0}.analytics-bar .not-tracked{background:#e3e7ef}.analytics-table-wrap{overflow:auto}.analytics-table{border-collapse:collapse;width:100%;font-size:13px;font-variant-numeric:tabular-nums;white-space:nowrap}.analytics-table th,.analytics-table td{padding:12px;text-align:right;border-bottom:1px solid #edf0f4}.analytics-table th:first-child{text-align:left}.analytics-table tbody th{font-weight:500}.analytics-note{margin-top:20px}@media(max-width:1100px){.analytics-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:450px){.analytics-metrics{gap:10px}.analytics-metric{padding:16px}.analytics-metric strong{font-size:28px}.analytics-section{padding:16px}}

/* Studio magnification changes only the view, never the exported artwork. */
.paint-studio .canvas-workspace .canvas-shell{overflow:auto;touch-action:none;display:block;min-height:0}
.paint-studio #beta-canvas{max-width:none;height:auto;flex-shrink:0}
.canvas-zoom{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap}.canvas-zoom button{background:#fff;border:1px solid #e2e5ed;border-radius:9px;min-width:42px;min-height:42px;padding:8px 12px;font-size:14px}.canvas-zoom output{min-width:48px;text-align:center;font-variant-numeric:tabular-nums;font-size:14px}.canvas-zoom button[aria-pressed=true]{background:#eaf0ff;color:#3559c0;border-color:#aabbe8}.canvas-zoom button:disabled{opacity:.4}.canvas-background{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;font-size:14px}.canvas-background input{width:42px;height:36px;border:0;background:none;padding:0}#eraser-mode-label{width:100%;font-size:14px}#eraser-mode-label[hidden]{display:none}#eraser-mode{display:block;width:100%;margin-top:8px;padding:10px;border:1px solid #dce1ee;border-radius:9px;background:white;color:inherit;font:inherit}
.polaroid-print:has(.polaroid-title)::after{display:none}.polaroid-title{display:flex;align-items:center;justify-content:center;min-height:clamp(44px,5vw,70px);padding:12px 6px 3px;color:#49505b;font-family:Georgia,serif;font-size:clamp(16px,1.5vw,21px);font-style:italic;font-weight:400;line-height:1.35;text-align:center;overflow-wrap:anywhere;white-space:normal}

.art-settings{border-top:1px solid #e7eaf0;padding-top:14px;width:100%}.art-settings summary{font-size:15px;font-weight:600;cursor:pointer;padding:3px 0 12px}.art-settings-body{display:grid;gap:17px}.art-settings .brush-picker{margin-top:3px}.art-settings .brush-hint{margin:12px 0 0}.art-settings label{font-size:14px}.art-settings select,.color-extras input{width:100%;font:inherit;padding:9px;border:1px solid #dce1ee;border-radius:8px;color:inherit;background:#fff}.art-settings select{margin-top:8px}.art-settings .art-check{display:flex;align-items:center;gap:9px;font-weight:400}.art-check input{accent-color:#4564db;width:18px;height:18px}.art-help{font-size:13px;color:#717b89;line-height:1.6;margin:0}.paint-slider[hidden]{display:none}#brush-preview{width:100%;height:80px;border:1px solid #e4e7ed;border-radius:10px;background:#f9fafc}.color-extras{display:grid;grid-template-columns:1fr 1fr;gap:10px;align-items:end}.color-extras label{font-size:14px}.color-extras input{margin-top:7px!important}.color-extras button#color-eyedropper{font-size:14px;min-height:42px;border:1px solid #dce1ee;border-radius:8px;padding:8px;background:#f7f9fd}.color-extras button#color-eyedropper[aria-pressed=true]{color:#3559c0;border-color:#5874ed!important;background:#eef2ff!important}.color-extras small,.color-extras .paint-palette{grid-column:1/-1}.color-extras small{font-size:12px;color:#717b89;line-height:1.5}.paint-palette{flex-wrap:wrap}.color-extras input[aria-invalid=true]{border-color:#b54545}.brush-picker button{font-size:14px}.brush-picker button:last-child{grid-column:auto}.paint-studio .studio-content input#color-hex{width:100%;min-width:0}.color-extras label{min-width:0}
@media(max-width:450px){.brush-picker{grid-template-columns:repeat(2,minmax(0,1fr))}.brush-picker button{font-size:14px;min-height:45px}.physical-tool-icon{flex-shrink:0}.paint-slider{font-size:14px}}

.paint-studio .art-check input[type=checkbox]{width:18px;height:18px;padding:0;margin:0;flex:0 0 18px}

@media(min-width:851px){.paint-studio .studio-content{grid-template-columns:minmax(0,1fr) 340px}}

/* Artist identity and community stats anchor the Polaroid gallery. */
.artist-account{display:grid;grid-template-columns:112px minmax(0,1fr);column-gap:28px;row-gap:28px;padding:32px;background:#fff;border:1px solid #e4e7ee;border-radius:22px;margin-bottom:32px}.artist-account-avatar{width:112px;height:112px;border-radius:50%;display:grid;place-items:center;align-self:start;background:linear-gradient(140deg,#ecf0ff,#dce5fa);border:5px solid #f6f8ff;box-shadow:0 0 0 1px #dce3f4;color:#526ab2;font-size:34px;font-weight:600;letter-spacing:-1px}.artist-account-identity{min-width:0}.artist-account-handle{display:flex;align-items:center;gap:9px;flex-wrap:wrap;font-size:16px;color:#778092;margin-bottom:7px;overflow-wrap:anywhere}.artist-account h1{font-size:32px;line-height:1.2;letter-spacing:-.8px;overflow-wrap:anywhere;margin:0}.artist-account-bio{margin:13px 0 0;font-size:16px;line-height:1.65;white-space:pre-line;overflow-wrap:anywhere;max-width:620px}.artist-account-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:20px}.artist-account-actions .secondary,.artist-account-actions .artist-follow{min-height:42px;padding:10px 20px;border-radius:10px;font-size:14px;text-decoration:none}.artist-account-actions .artist-follow{background:#3657ed;color:white;border:1px solid #3657ed}.artist-account-actions .artist-follow[aria-pressed=true]{background:#eef2ff;color:#3f59a2;border-color:#d8e0fc}.artist-account-refresh{font-size:14px;color:#7d8697;padding:10px}.artist-account-stats{grid-column:1/-1;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));border-top:1px solid #e9ecf2;padding-top:25px;margin:0;gap:14px}.artist-account-stats>div{display:flex;flex-direction:column-reverse;gap:6px;text-align:center;justify-content:flex-end}.artist-account-stats dt{font-size:14px;color:#7b8393}.artist-account-stats dd{margin:0;font-size:26px;line-height:1.2;font-weight:600;font-variant-numeric:tabular-nums}.artist-account-featured dd{color:#987738}.artist-account-featured dd span{font-size:23px}.artist-gallery-heading{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin:0 0 25px;padding:0 3px}.artist-gallery-heading h2{font-size:20px}.artist-gallery-heading span{font-size:13px;color:#7b8393}.artist-account-gallery{grid-template-columns:repeat(3,minmax(0,1fr));gap:30px 24px}.artist-account-gallery .beta-card-info{padding:15px 2px}.artist-account-gallery .post-actions{flex-wrap:wrap}.artist-account-gallery .danger-text{font-size:13px}.account-entry{width:100%;text-align:left;gap:8px}
@media(max-width:1100px){.artist-account-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.artist-account{grid-template-columns:64px minmax(0,1fr);gap:18px;padding:22px 18px;border-radius:18px;margin-bottom:25px}.artist-account-avatar{width:64px;height:64px;font-size:23px;border-width:3px}.artist-account h1{font-size:25px;letter-spacing:-.5px}.artist-account-handle{font-size:14px;gap:5px}.artist-account-bio{font-size:14px;margin-top:10px}.artist-account-actions{gap:7px;margin-top:15px}.artist-account-actions .secondary,.artist-account-actions .artist-follow{padding:9px 12px;font-size:14px}.artist-account-stats{gap:12px 6px;padding-top:20px}.artist-account-stats dt{font-size:12px;line-height:1.4}.artist-account-stats dd{font-size:23px}.artist-account-gallery{gap:24px 15px}.artist-account-gallery .artist-line{font-size:14px}.artist-account-gallery .polaroid-title{font-size:16px}.artist-gallery-heading{margin-bottom:20px}}
@media(max-width:420px){.artist-account-gallery{grid-template-columns:1fr}.artist-account-stats{grid-template-columns:repeat(2,minmax(0,1fr));row-gap:20px}.artist-account-stats dt{font-size:14px}}

.today-gallery-locked{background:#ffffffb3;border-style:solid;border-color:#e5e8ef;padding:48px 24px}.today-gallery-locked>svg{width:30px;height:30px;color:#7d8bae;margin-bottom:16px}.today-gallery-locked h3{font-size:20px}.today-gallery-locked p{max-width:400px;margin:10px auto 0;font-size:15px;line-height:1.7}

/* Award edges sit on the paper, leaving the artwork and title untouched. */
.polaroid-print.polaroid-featured,.polaroid-print.polaroid-weekly{position:relative;border-color:transparent}
.polaroid-print.polaroid-featured::before,.polaroid-print.polaroid-weekly::before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;border-radius:inherit;padding:3px;background:linear-gradient(125deg,#b68b3b,#f1ddb0 23%,#c79c4c 49%,#f7e9c5 74%,#ac7e30);-webkit-mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);mask:linear-gradient(#fff 0 0) content-box,linear-gradient(#fff 0 0);-webkit-mask-composite:xor;mask-composite:exclude}
.polaroid-print.polaroid-weekly::before{padding:4px;background:linear-gradient(125deg,#99cbd6,#e0c6f2 18%,#f4d7c3 35%,#b7e5d3 51%,#b7cafa 67%,#e4bddd 82%,#b8e9e2)}
.polaroid-awards{display:flex;align-items:center;justify-content:center;gap:7px 14px;flex-wrap:wrap;padding:2px 3px 7px;font-size:10px;font-weight:600;letter-spacing:.07em;line-height:1.4;text-transform:uppercase}
.polaroid-awards>span{display:inline-flex;align-items:center;gap:4px}.polaroid-awards .award-daily{color:#876724}.polaroid-awards .award-weekly{color:#716090}.polaroid-awards>span>span{font-size:15px;line-height:1}
.artist-account-stats{grid-template-columns:repeat(5,minmax(0,1fr))}.artist-account-weekly dd{color:#776299}.artist-account-weekly dd span{font-size:23px}
@media(max-width:600px){.artist-account-stats{grid-template-columns:repeat(6,minmax(0,1fr));gap:22px 8px}.artist-account-stats>div{grid-column:span 2}.artist-account-stats>.artist-account-featured,.artist-account-stats>.artist-account-weekly{grid-column:span 3}.artist-account-stats dt{font-size:12px}}

.legal-links{display:flex;justify-content:center;flex-wrap:wrap;gap:20px;margin-top:20px;font-size:13px}.mfa-panel{padding:24px 0;max-width:440px}.mfa-panel input{display:block;width:100%;margin:10px 0 18px}.mfa-qr{display:block;width:220px;height:220px;margin:20px 0;background:white}.mfa-panel [role=status]{margin:12px 0}.guideline-check input[type=checkbox]{width:18px;flex:0 0 18px}
.legal-page{max-width:780px;margin:0 auto;padding:48px 24px 80px;line-height:1.75}.legal-page h1{font-size:clamp(30px,5vw,46px);margin:30px 0 8px}.legal-page h2{font-size:21px;margin:30px 0 10px}.legal-page p,.legal-page li{font-size:16px;margin-bottom:12px}.legal-page ul{padding-left:24px}.legal-page a{color:#405dba}.legal-page .brand{text-decoration:none}

/* Compact social controls retain comfortable touch targets. */
.community-art-card .beta-card-info{display:grid;padding:8px 2px 0;gap:0}
.community-art-card .artist-line{gap:6px 10px;min-height:36px;line-height:1.25}
.community-art-card .artist-profile-link{padding:4px 0;line-height:1.25}
.community-art-card .artist-follow{margin-left:0}
.artist-follow{padding:6px 12px;min-height:32px;border:1px solid #d6def6;border-radius:8px;background:#edf1ff;color:#405bba;line-height:1.2;transition:background .15s,border-color .15s}
.artist-follow:hover{background:#e0e7ff;border-color:#b9c8f1;text-decoration:none}
.artist-follow[aria-pressed=true]{background:#f1f3f6;border-color:#dce0e7;color:#677181}
.community-art-card .post-actions{gap:12px;min-height:36px;line-height:1.2}
.community-art-card .post-actions button{min-height:36px;padding:5px 2px;line-height:1.2}
.artist-account-avatar{overflow:hidden;background:#edf0f5;border-color:#f8f9fc;box-shadow:0 0 0 1px #e0e4eb}
.artist-account-avatar img,.post-avatar img{display:block;width:100%;height:100%;border-radius:50%}
.join-flower-print.polaroid-print{padding:var(--print-border);background-color:#fafaf7}
.join-flower-print.polaroid-print img{aspect-ratio:1;object-fit:contain}
.join-flower-print .polaroid-title{font:italic clamp(20px,2vw,26px)/1.35 Georgia,serif;color:#49505b;padding:15px 6px 6px}
.submission-countdown{font-variant-numeric:tabular-nums}
.polaroid-print.polaroid-featured{animation:featured-aura 5s ease-in-out infinite}
.polaroid-print.polaroid-weekly{animation:weekly-aura 6s ease-in-out infinite}
@keyframes featured-aura{0%,100%{box-shadow:inset 0 1px 0 #ffffff80,0 10px 26px #b8862520,0 0 14px 2px #e7bf6124}50%{box-shadow:inset 0 1px 0 #ffffff80,0 14px 34px #b8862530,0 0 26px 5px #e7bf614d}}
@keyframes weekly-aura{0%,100%{box-shadow:inset 0 1px 0 #ffffff80,-7px 2px 24px #93d9dc33,7px -2px 24px #d5a7ec30,0 12px 28px #bac8e62e}50%{box-shadow:inset 0 1px 0 #ffffff80,-7px -3px 30px #c6acef55,7px 3px 30px #8bdbce55,0 12px 32px #e8b8d54d}}
@media(prefers-reduced-motion:reduce){.polaroid-print.polaroid-featured,.polaroid-print.polaroid-weekly{animation:none;box-shadow:inset 0 1px 0 #ffffff80,0 6px 24px #c9b28240}.polaroid-print.polaroid-weekly{box-shadow:inset 0 1px 0 #ffffff80,-6px 2px 22px #93d9dc33,6px 2px 22px #d5a7ec33}}

/* Foil covers the whole paper mount; the drawing remains its original color. */
.polaroid-print.polaroid-featured{
 background-color:#d9b961;
 background-image:repeating-linear-gradient(125deg,#ffffff0d 0px,#ffffff0d .3px,transparent .3px,transparent 2px),linear-gradient(115deg,transparent 24%,#fff8 36%,#fffdf0c9 39%,transparent 43%,#89601a24 58%,#fff7 67%,transparent 75%),linear-gradient(135deg,#ba8c38 0%,#e6c874 17%,#fff0b1 31%,#c69d43 47%,#f2d88d 64%,#d4aa50 81%,#f7e6a4 100%);
 background-size:3px 3px,240% 240%,100% 100%;
 background-position:0 0,0% 50%,0 0;
 animation:featured-aura 5s ease-in-out infinite,foil-reflection 9s ease-in-out infinite;
}
.polaroid-print.polaroid-featured .polaroid-title,.polaroid-print.polaroid-featured figcaption{color:#503b1a;text-shadow:0 1px 0 #fff7}
@keyframes foil-reflection{0%,100%{background-position:0 0,0% 50%,0 0}50%{background-position:0 0,100% 50%,0 0}}

.polaroid-print.polaroid-weekly{
 background-color:#c8cddd;
 background-image:repeating-linear-gradient(125deg,#ffffff0d 0px,#ffffff0d .3px,transparent .3px,transparent 2px),linear-gradient(115deg,transparent 22%,#fff9 36%,#fffdf4dc 39%,transparent 43%,#62779230 56%,#fff9 67%,transparent 77%),linear-gradient(125deg,#96cbd5 0%,#b4bae5 13%,#e4afd1 26%,#f3d2a9 38%,#ceeac0 50%,#91d7cf 62%,#a5bdea 74%,#d3afe4 86%,#bae2e0 100%);
 background-size:3px 3px,240% 240%,100% 100%;background-position:0 0,0% 50%,0 0;
 animation:weekly-aura 6s ease-in-out infinite,foil-reflection 10s ease-in-out infinite;
}
.polaroid-print.polaroid-weekly .polaroid-title{color:#34354c;text-shadow:0 1px 0 #fffa}
.polaroid-featured .award-daily{color:#594118}.polaroid-weekly .award-daily,.polaroid-weekly .award-weekly{color:#494461}
@media(prefers-reduced-motion:reduce){.polaroid-print.polaroid-featured,.polaroid-print.polaroid-weekly{animation:none;background-position:0 0,45% 50%,0 0}}

.today-sort-bar{display:flex;justify-content:flex-end;align-items:center;gap:12px;margin:0 0 24px;color:#737c8d;font-size:14px}
.today-sort-options{display:inline-flex;gap:3px;padding:4px;border:1px solid #dfe4ee;border-radius:11px;background:#eceff5}
.today-sort-options button{border:0;border-radius:7px;background:transparent;color:#637087;padding:8px 18px;min-height:36px;font:inherit;font-weight:600;cursor:pointer}
.today-sort-options button[aria-pressed=true]{background:#fff;color:#3e58b9;box-shadow:0 1px 4px #25345218}
.today-sort-options button:focus-visible{outline:2px solid #405bce;outline-offset:2px}
@media(max-width:600px){.today-sort-bar{justify-content:space-between;margin-bottom:20px}}

.polaroid-theme{display:block;padding:3px 6px 10px;text-align:center;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:12px;font-style:normal;font-weight:400;line-height:1.4;letter-spacing:.01em;color:#68707c;overflow-wrap:anywhere}
.polaroid-featured .polaroid-theme{color:#59451f}.polaroid-weekly .polaroid-theme{color:#49485d}

/* The exposed right and lower edges are coated in the same foil as the face. */
.polaroid-print.polaroid-featured,.polaroid-print.polaroid-weekly{isolation:isolate;overflow:visible}
.polaroid-print.polaroid-featured::after,.polaroid-print.polaroid-weekly::after,.polaroid-print.polaroid-featured:has(.polaroid-title)::after,.polaroid-print.polaroid-weekly:has(.polaroid-title)::after{content:"";display:block;position:absolute;inset:0;aspect-ratio:auto;transform:translate(3px,3px);pointer-events:none;opacity:1;border-radius:inherit;z-index:-1;clip-path:polygon(100% 0,100% 100%,0 100%,0 calc(100% - 3px),calc(100% - 3px) calc(100% - 3px),calc(100% - 3px) 0);background:linear-gradient(125deg,#b58a35 0%,#fff0b2 25%,#c6a051 48%,#f6dea0 72%,#967029 100%);box-shadow:inset -1px -1px 0 #6e4c2626}

.polaroid-print.polaroid-weekly::after,.polaroid-print.polaroid-weekly:has(.polaroid-title)::after{background:linear-gradient(125deg,#87bec9 0%,#c1b3e1 18%,#efc4d9 35%,#eee1bb 49%,#9fcfbb 62%,#9cb2df 78%,#bc9fd0 90%,#80b9b4 100%);box-shadow:inset -1px -1px 0 #3e507426}
.polaroid-print.polaroid-featured::before,.polaroid-print.polaroid-weekly::before{padding:1px}
@media(prefers-reduced-motion:reduce){.beta-art.polaroid-print.polaroid-featured:hover{box-shadow:inset 0 1px 0 #ffffff80,0 10px 26px #b8862530}.beta-art.polaroid-print.polaroid-weekly:hover{box-shadow:inset 0 1px 0 #ffffff80,-6px 2px 22px #93d9dc33,6px 2px 22px #d5a7ec33}}

/* A dedicated exhibition space for the community's daily and weekly selections. */
.collection-intro{--collection-ink:#856322;--collection-line:#d9c69a;border:1px solid #e4d8bc;background:radial-gradient(ellipse at 90% 10%,#fff7db 0,transparent 52%),linear-gradient(125deg,#fcfaf4,#f4ecd9);border-radius:22px;padding:24px 32px 0;margin-bottom:34px;overflow:hidden;box-shadow:0 6px 22px #8c743308}
.collection-intro.collection-weekly{--collection-ink:#68649e;--collection-line:#c6c7e4;border-color:#d9dced;background:radial-gradient(ellipse at 100% 0,#d6eeec90,transparent 48%),radial-gradient(ellipse at 70% 95%,#eddbef85,transparent 52%),linear-gradient(125deg,#f8f8ff,#eaeefa)}
.collection-intro-top{display:flex;align-items:center;justify-content:space-between;gap:16px}
.collection-eyebrow{font-size:12px;font-weight:650;letter-spacing:.15em;text-transform:uppercase;color:var(--collection-ink)}
.collection-refresh{display:inline-flex;align-items:center;gap:8px;border:0;background:transparent;color:var(--collection-ink);font:inherit;font-size:13px;padding:8px 0;min-height:36px;cursor:pointer}
.collection-refresh span{font-size:20px;line-height:1}
.collection-intro-body{display:flex;align-items:center;justify-content:space-between;gap:30px;padding:24px 0 30px}
.collection-intro h1{font-family:'Libre Caslon Display',Georgia,serif;font-size:clamp(42px,5vw,66px);font-weight:400;letter-spacing:-.035em;line-height:1.08;margin:0 0 18px;color:#2f302e}
.collection-lede{font-size:clamp(17px,1.7vw,21px);line-height:1.5;font-weight:500;color:#514b3f;margin:0 0 8px;max-width:590px}
.collection-weekly .collection-lede{color:#4d4c66}
.collection-explanation{font-size:14px;line-height:1.65;color:#7d776a;margin:0;max-width:540px}
.collection-weekly .collection-explanation{color:#76778c}
.collection-seal{flex:0 0 132px;width:132px;text-align:center;color:var(--collection-ink);padding:10px}
.collection-seal svg{display:block;width:100%;height:auto;filter:drop-shadow(0 2px 0 #ffffffb0)}
.collection-seal>span{display:block;font-size:10px;letter-spacing:.16em;font-weight:650;margin-top:5px;white-space:nowrap}
.collection-edition{display:flex;align-items:center;gap:10px 24px;flex-wrap:wrap;border-top:1px solid var(--collection-line);padding:17px 0;color:var(--collection-ink);font-size:13px;line-height:1.5}
.collection-period{font-weight:600}.collection-pick-count{margin-left:auto}
.collection-gallery-heading{display:flex;align-items:baseline;justify-content:space-between;gap:16px;margin:0 0 20px}
.collection-gallery-heading h2{font-size:19px;font-weight:550;letter-spacing:-.025em;margin:0}
.collection-gallery-heading>span{font-size:13px;color:#858997}
.gallery.collection-gallery{grid-template-columns:repeat(2,minmax(0,1fr));gap:36px 32px;align-items:start;padding:0 6px 28px}
.collection-entry{min-width:0}.collection-entry .community-art-card{overflow:visible}
.collection-rank{display:flex;align-items:center;gap:10px;margin-bottom:14px;color:#877245;font-size:12px;letter-spacing:.025em}
.collection-weekly .collection-rank{color:#78749b}
.collection-rank-number{font-family:Georgia,serif;font-size:26px;line-height:1;font-style:italic;color:#9c7b38}
.collection-weekly .collection-rank-number{color:#7870a8}
.collection-rank-mark{margin-left:auto;font-size:23px;line-height:1}
.gallery.collection-gallery:has(>.collection-entry:only-child){grid-template-columns:minmax(0,470px);justify-content:center}
.gallery.collection-gallery>.empty{grid-column:1/-1}
@media(min-width:1500px){.gallery.collection-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){.collection-intro{padding:18px 20px 0;border-radius:18px;margin-bottom:26px}.collection-intro-body{gap:12px;padding:22px 0 25px}.collection-seal{flex-basis:84px;width:84px;padding:0}.collection-seal>span{font-size:8px;letter-spacing:.06em}.collection-eyebrow{font-size:10px;letter-spacing:.1em}.collection-intro h1{font-size:42px}.collection-lede{font-size:16px}.collection-explanation{font-size:13px}.collection-edition{font-size:12px;gap:7px 15px}.collection-pick-count{margin-left:0}.collection-gallery-heading h2{font-size:17px}.collection-gallery-heading>span{font-size:12px}.gallery.collection-gallery{gap:28px 22px}}
@media(max-width:480px){.collection-intro-body{position:relative;padding-right:0}.collection-seal{display:none}.collection-intro h1{font-size:43px}.collection-gallery-heading{align-items:center}.collection-gallery-heading>span{max-width:78px;text-align:right}.gallery.collection-gallery{grid-template-columns:minmax(0,1fr);padding:0 3px 24px}.collection-rank{margin-bottom:11px}.collection-refresh{font-size:12px}}

/* Compact, neutral voting control; blue indicates a selected vote. */
.community-art-card .post-actions .post-vote{border:1px solid transparent;background:transparent;color:#657082;padding:7px 9px;min-height:40px;gap:6px;border-radius:11px;font-weight:650}
.community-art-card .post-actions .post-vote:hover:not(:disabled){background:#edf0f5}
.community-art-card .post-actions .post-vote[aria-pressed=true]{background:transparent;color:#4058ce;border-color:transparent}
.community-art-card .post-actions .post-vote:focus-visible{outline:3px solid #97a9ff;outline-offset:3px}
.community-art-card .post-actions .post-comments-link{padding:7px 10px;min-height:40px;border:1px solid #dde2ed;border-radius:11px;background:#fff}
@media(max-width:480px){.community-art-card .post-actions{gap:8px}.community-art-card .post-actions>.danger-text{font-size:12px}}
/* Replies stay grouped without narrowing the reading column at each depth. */
.post-comment.comment-reply{margin-left:25px;padding-left:12px;border-left:1px solid #e0e5ef}
.comment-reply-context{font-size:11px;color:#858e9c;margin-bottom:3px}
.post-comment-meta{flex-wrap:wrap;gap:5px 13px}
.post-comment-meta .comment-like{display:inline-flex;align-items:center;gap:4px;min-height:28px}
.comment-like svg{width:15px;height:15px;stroke:currentColor;stroke-width:1.6;fill:none}
.post-comment-meta .comment-like[aria-pressed=true]{color:#4058ce}
.comment-like[aria-pressed=true] svg{fill:currentColor}
.post-comment-meta button:disabled{opacity:.5;cursor:default}
.comment-reply-banner{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:12px;color:#4058a7;padding:7px 10px;background:#f0f3fc;border-radius:8px}
.comment-reply-banner[hidden],.comment-load-more[hidden]{display:none}
.comment-reply-banner button{font-size:22px;padding:0 5px;color:inherit}
.comment-load-more{color:#4058ce;font-size:13px;padding:8px 0 18px}

.collection-browse{display:flex;justify-content:flex-end;gap:10px;margin-bottom:18px;flex-wrap:wrap}.archive-heading{margin:20px 0 32px}.archive-heading h1{font-family:Georgia,serif;font-size:clamp(32px,5vw,52px);margin:16px 0}.archive-heading p{color:#6d7689}.archive-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr));gap:22px;margin-bottom:28px}.archive-edition{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:14px;padding:28px;background:#fff;border:1px solid #e3d4ab;border-top:4px solid #c9a149;border-radius:14px;color:#424958;cursor:pointer;min-height:185px;font:inherit}.archive-edition strong{font-family:Georgia,serif;font-size:24px}.archive-edition:hover{box-shadow:0 8px 24px #343a4910}.archive-weekly{border-color:#d4d5ed;border-top-color:#ada0d6;background:linear-gradient(135deg,#fff,#f6f5fc)}.profile-pin-row{display:flex;align-items:center;gap:10px;min-height:0}.profile-pin-row:empty{display:none}.profile-pin{margin-left:auto;border:1px solid #dbe0ec;border-radius:7px;padding:5px 10px;background:transparent;color:#697386;font:inherit;font-size:13px;cursor:pointer}.profile-pin[aria-pressed=true]{color:#425ac2;background:#edf1ff;border-color:#d2dafa}.pinned-label{font-size:12px;letter-spacing:.08em;text-transform:uppercase;color:#5163a2;font-weight:700}.artist-gallery-heading{flex-wrap:wrap;gap:10px}

/* Keep long identities readable without allowing a card to grow sideways. */
.artist-line,.artist-handle,.artist-account-identity{min-width:0}.artist-handle{display:inline-flex;align-items:center;gap:6px;max-width:100%}.artist-profile-link{min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.artist-handle .dev-badge,.artist-follow{flex-shrink:0}.post-header .artist-handle{flex:1}.artist-account-handle span,.artist-account-identity h1,.artist-account-bio,.post-comment-content p{overflow-wrap:anywhere}.artist-account-handle{flex-wrap:wrap}.account-entry{overflow-wrap:anywhere}.pinned-label svg{width:20px;height:20px;display:block;fill:currentColor}.post-share{border:0;background:transparent;color:#778194;padding:6px;display:inline-flex;align-items:center;cursor:pointer}.post-share:hover{color:#425ac2}.post-share svg,.profile-share svg{width:21px;height:21px}.profile-share{display:inline-flex;align-items:center;gap:7px}.moderator-team{margin-top:40px;padding-top:24px;border-top:1px solid #dce1eb}.moderator-team h2{font-size:24px;margin:20px 0}.moderator-team .staff-card{margin:14px 0}.share-panel{padding:28px;max-width:540px}.share-panel header{display:flex;align-items:center;gap:20px;justify-content:space-between}.share-panel h2{font-size:24px;overflow-wrap:anywhere}.share-panel h2 em{font-style:italic}.share-panel p{color:#6b7485;line-height:1.5}@media(max-width:540px){.share-panel{padding:18px}.post-actions{flex-wrap:wrap}}

.archive-tabs{display:flex;flex-wrap:wrap;gap:.65rem;margin:1.4rem 0 2rem}
.archive-tabs button[aria-pressed="true"]{background:#edf0ff;border-color:#a8b4f0;color:#3e52bb}
.archive-theme strong{font-family:Georgia,serif;font-size:1.6rem;overflow-wrap:anywhere}
.archive-theme{gap:.8rem;text-align:left}
.paint-studio .studio-head{flex-wrap:wrap}
.paint-studio #publish-status{flex-basis:100%;margin:0;font-size:14px;line-height:1.4;color:#803d29;overflow-wrap:anywhere}
.paint-studio #publish-status:empty,.paint-studio #recovery-note:empty{display:none}
.drawing-backups{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
.drawing-backups button{min-height:44px;font-size:14px}
.paint-studio #recovery-note{font-size:14px;line-height:1.5;padding:12px;border:1px solid #dce2ef;border-radius:8px;background:#fff}

/* Viewport-bound studio: the tools stay beside the working canvas, never below a page scroll. */
.paint-studio.studio-dialog{display:none;width:min(1380px,98vw);height:96dvh;max-height:96dvh;overflow:hidden;padding:0}
.paint-studio.studio-dialog[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto auto;position:fixed}
.paint-studio .studio-head{position:relative;min-height:0;padding:12px 20px;gap:8px 20px;z-index:1;flex-wrap:wrap}
.paint-studio .studio-head>div:first-child{flex:1;min-width:180px}
.paint-studio .studio-head>.paint-header-actions{width:auto;flex:0 1 auto;margin:0}
.paint-studio .studio-head #beta-submit{width:200px;max-width:260px}
.paint-studio .studio-content{display:block;min-height:0;height:100%;padding:10px 20px;overflow:hidden}
.paint-studio .canvas-workspace{display:grid;grid-template-rows:auto minmax(0,1fr) auto auto auto;gap:8px;width:100%;height:100%;max-width:none;min-height:0}
.paint-studio .canvas-stage{min-height:0;min-width:0;display:flex;align-items:center;justify-content:center;overflow:hidden}
.paint-studio .canvas-workspace .canvas-shell{flex:none;max-width:100%;max-height:100%;aspect-ratio:1;margin:0;overflow:auto;overscroll-behavior:contain}
.paint-studio .canvas-zoom{gap:6px;flex-wrap:nowrap}
.paint-studio .canvas-zoom button,.paint-studio .paint-history button{min-height:40px;padding:6px 12px}
.paint-studio .paint-history{margin:0;gap:6px}
.paint-studio #recovery-note{max-height:70px;overflow:auto;margin:0;padding:8px}
.paint-studio #canvas-history-status:empty{display:none}
.paint-studio .studio-dock.toolbar{display:block;width:100%;padding:10px 16px 6px;background:#fff;border:0;border-top:1px solid #dfe4ee;border-radius:0;box-shadow:0 -5px 22px #26304408}
.dock-brushes{display:grid;grid-template-columns:repeat(10,minmax(0,1fr));gap:5px;max-width:1020px;margin:auto}
.dock-brushes button{display:flex;align-items:center;justify-content:center;gap:6px;flex-direction:column;min-width:0;min-height:58px;padding:7px 3px;border-radius:10px;border:1px solid transparent;color:#657185;font-size:12px;line-height:1.1}
.dock-brushes .physical-tool-icon{width:26px;height:26px}
.dock-brushes button:hover{background:#f3f5fb}
.dock-brushes button[aria-pressed=true]{background:#edf1ff;color:#3657cb;border-color:#c2cef5;box-shadow:inset 0 -2px #6782db}
.dock-brushes button[aria-expanded=true]{border-color:#526ddb}
.dock-utilities{display:flex;justify-content:center;align-items:center;gap:8px;margin-top:6px}
.dock-utilities button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:42px;padding:6px 12px;border-radius:8px;font-size:14px;color:#5b6679}
.dock-utilities button:hover,.dock-utilities button[aria-expanded=true]{background:#edf1fa;color:#3458bc}
#dock-color{width:22px;height:22px;border-radius:50%;border:2px solid white;box-shadow:0 0 0 1px #c5cbd5}
#dock-selection{font-size:13px;color:#717b89;margin-left:12px;min-width:140px}
.paint-studio #draw-status{margin:0;padding:4px 14px max(6px,env(safe-area-inset-bottom));background:#fff;text-align:center;font-size:12px;line-height:1.4;max-height:52px;overflow:auto}
.studio-tool-panel{position:absolute;z-index:5;right:20px;bottom:156px;width:min(380px,calc(100% - 24px));max-height:calc(100% - 245px);display:flex;flex-direction:column;background:#fff;border:1px solid #d8deeb;border-radius:16px;box-shadow:0 14px 55px #26304435;overflow:hidden}
.studio-tool-panel[hidden],.studio-tool-panel [hidden]{display:none!important}
.studio-tool-panel>header{display:flex;justify-content:space-between;align-items:center;padding:10px 14px;border-bottom:1px solid #edf0f4;flex-shrink:0}
.studio-tool-panel h2{font-size:17px;letter-spacing:0}
.studio-tool-panel [data-panel-close]{width:44px;height:40px;font-size:26px;border-radius:8px}
.tool-panel-tabs{display:flex;gap:4px;padding:6px 12px;flex-shrink:0}
.tool-panel-tabs button{flex:1;min-height:40px;font-size:14px;border-radius:7px}
.tool-panel-tabs button[aria-expanded=true]{background:#edf1ff;color:#3458bc}
.tool-panel-body{padding:8px 16px 18px;overflow:auto;overscroll-behavior:contain;min-height:0}
.tool-panel-body>section{display:grid;gap:16px}
.tool-panel-body .paint-slider{font-size:14px}
.tool-panel-body .art-settings{padding-top:12px}
.tool-panel-body .brush-hint{font-size:14px;line-height:1.5;margin:0;color:#748092}
.tool-panel-body .paint-palette button{width:32px;height:32px;min-width:32px}
.tool-panel-body .drawing-backups{display:grid;gap:10px}
.tool-panel-body .paint-color-row input{width:48px;height:40px}
@media(max-width:700px){
 .paint-studio.studio-dialog{width:100%;height:100dvh;max-height:100dvh;border-radius:0}
 .paint-studio .studio-head{padding:8px 12px;gap:6px}
 .paint-studio .studio-head>div:first-child{width:100%;flex-basis:100%}
 .paint-studio .paint-eyebrow{display:none}
 .paint-studio .studio-head strong{font-size:14px}
 .paint-studio .studio-head>.paint-header-actions{width:100%;flex-wrap:nowrap;gap:6px}
 .paint-studio .studio-head #beta-submit{flex:1;width:auto;max-width:none;flex-basis:auto;margin:0}
 .paint-studio .studio-head #beta-submit label{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .paint-studio .studio-head #drawing-title{padding:8px;font-size:16px}
 .paint-studio .studio-head .secondary,.paint-studio .studio-head .primary{padding:8px;font-size:14px;min-height:42px}
 .paint-studio .studio-content{padding:6px 10px}
 .paint-studio .studio-dock.toolbar{padding:6px 8px 2px}
 .dock-brushes{gap:3px}
 .dock-brushes button{min-height:46px;padding:4px 1px}
 .dock-brushes button span{display:none}
 .dock-utilities{gap:0;margin-top:4px}
 .dock-utilities button{padding:6px 9px}
 #dock-selection{display:none}
 .studio-tool-panel{right:12px;bottom:126px;max-height:calc(100% - 220px)}
}
@media(max-width:480px){
 .dock-brushes{grid-template-columns:repeat(5,minmax(0,1fr))}
 .studio-tool-panel{bottom:174px;max-height:calc(100% - 270px)}
}
@media(max-height:560px) and (min-width:701px){
 .paint-studio .studio-head>div:first-child{display:none}
 .paint-studio .studio-head>.paint-header-actions{margin-left:auto}
 .dock-brushes button{min-height:42px;flex-direction:row}
 .dock-brushes button span{display:none}
 .studio-tool-panel{bottom:138px;max-height:calc(100% - 155px)}
}

/* Moments after creating art and earning community recognition. */
.artist-moment-dialog{width:min(540px,calc(100vw - 28px));max-height:92dvh;margin:auto;padding:0;border:1px solid #e1e5ee;border-radius:22px;background:#fafbfe;color:#242832;overflow:auto;box-shadow:0 24px 90px #16234835}
.artist-moment-dialog::backdrop{background:#202a4566;backdrop-filter:blur(5px)}
.published-moment{padding:40px 30px;text-align:center;display:grid;justify-items:center;gap:22px}
.published-moment h2,.award-moment h2{font-family:Georgia,serif;font-weight:400;font-size:32px;line-height:1.2;letter-spacing:-.5px}
.published-moment p,.award-moment>p:not(.eyebrow){font-size:16px;line-height:1.6;color:#707b8c;max-width:370px;margin:auto}
.moment-symbol{display:grid;place-items:center;width:64px;height:64px;border-radius:50%;background:#eaf0ff;color:#4163c7;font-size:32px}
.award-moment{padding:30px;position:relative;text-align:center;display:grid;gap:15px}
.moment-close{position:absolute;right:10px;top:8px;width:42px;height:42px;font-size:25px;color:#6f7a8c}
.award-moment>.eyebrow{margin:4px 28px 0;color:#768197;line-height:1.5}
/* The shared seasonal-frames paper sets artwork/title/theme/foil geometry. */
.award-moment .moment-art{width:min(100%,360px);width:min(100%,360px,calc((100dvh - 360px)*.7729083665));min-width:min(100%,160px);margin:8px auto 6px;text-align:center}
.moment-award-text{display:block;margin-top:10px;font-size:16px;font-weight:750;letter-spacing:1.1px;text-transform:uppercase}
.moment-gold{color:#765114;background:linear-gradient(110deg,#71470a,#af7618,#74511d,#b17923);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent}
.moment-holographic{color:#514875;background:linear-gradient(110deg,#246976,#77518d,#9b4872,#486481,#4b7564,#655397);background-size:200% 100%;background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;animation:award-letter-shimmer 7s ease-in-out infinite alternate}
@keyframes award-letter-shimmer{to{background-position:100% 50%}}
.moment-actions{display:flex;justify-content:center;gap:10px;flex-wrap:wrap}
@media(prefers-reduced-motion:reduce){.moment-holographic{animation:none}}
@media(max-width:480px){.published-moment{padding:30px 22px}.award-moment{padding:28px 18px 22px}.published-moment h2,.award-moment h2{font-size:28px}.award-moment .moment-art{max-width:290px}}

.share-formats{margin:20px 0 16px;padding:0;border:0;display:grid;grid-template-columns:1fr 1fr;gap:8px}
.share-formats legend{font-size:14px;font-weight:600;margin-bottom:10px}
.share-formats label{position:relative;display:flex;align-items:center;gap:9px;border:1px solid #dfe4ef;border-radius:10px;padding:11px 12px;font-size:14px;line-height:1.4;cursor:pointer;background:#fff}
.share-formats input{accent-color:#4562d4;margin:0;flex:0 0 auto;width:17px;height:17px}
.share-formats label:has(:checked){background:#edf1ff;border-color:#94a8ed;color:#3856af}
.share-formats label:has(:focus-visible){outline:3px solid #8196fb;outline-offset:2px}
.share-image-preview{display:grid;place-items:center;min-height:80px;margin:0 0 18px;border-radius:12px;padding:14px;background:#f0f2f6}
.share-image-preview img{display:block;max-width:100%;max-height:42dvh;object-fit:contain;box-shadow:0 5px 20px #26304416}
.share-image-preview img[hidden]{display:none}
.share-panel #native-share{width:100%;min-height:44px}
.share-panel #share-status{font-size:14px;margin-top:12px}
@media(max-width:420px){.share-formats{grid-template-columns:1fr}.share-image-preview img{max-height:32dvh}}

/* Inline theme planning */
.theme-planner-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:24px;align-items:start}.theme-planner-layout .settings-card{margin:0;min-width:0}.theme-later{position:sticky;top:24px}.theme-running>p,.theme-later>p{font-size:14px;line-height:1.6;color:#6c7585}.theme-running h3{font-size:15px;margin:28px 0 12px}.theme-schedule-list{list-style:none;margin:0;padding:0}.theme-schedule-row{display:grid;grid-template-columns:155px minmax(0,1fr);gap:16px;padding:14px 12px;border-bottom:1px solid #e6e9ee;border-radius:8px;align-items:center}.theme-row-date time{font-size:13px;font-weight:600}.theme-row-date small{display:block;font-size:11px;margin-top:5px;color:#6c7785}.theme-schedule-row form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}.theme-schedule-row input{width:100%;min-width:0;box-sizing:border-box;padding:10px 12px;border:1px solid #d7deea;border-radius:8px;background:#fff;color:#293142;font:inherit;font-size:14px}.theme-schedule-row button{padding:10px 14px;font-size:13px}.theme-row-status{grid-column:1/-1;font-size:12px}.theme-row-status:empty{display:none}.theme-past{background:#f1f2f4;color:#828894}.theme-past .theme-row-date small{color:#828894}.theme-locked-word{font-size:14px;overflow-wrap:anywhere}.theme-automatic{background:#fffaf0;border-left:3px solid #e8c36e;margin-top:6px}.theme-automatic .theme-row-date small{color:#876019}.theme-coming-soon{background:#fff2cf;border-left-color:#c18b22}.theme-coming-soon .theme-row-date small{font-weight:700}.theme-schedule-row input:focus{outline:2px solid #5268dd;outline-offset:2px}.theme-schedule-row button:disabled{opacity:.5}.theme-later input[type=date]{max-width:none}.theme-later #future-status,#schedule-status{font-size:13px;line-height:1.6}.theme-later button{min-height:42px}@media(max-width:1000px){.theme-planner-layout{grid-template-columns:1fr}.theme-later{position:static}}@media(max-width:600px){.theme-schedule-row{grid-template-columns:1fr;gap:10px}.theme-row-date{display:flex;justify-content:space-between;gap:8px}.theme-row-date small{margin:0}.theme-running.settings-card{padding:18px}.theme-schedule-row form{grid-template-columns:minmax(0,1fr) auto}}
#theme-upcoming .theme-schedule-list{max-height:720px;overflow:auto;padding-right:4px}#theme-history .theme-schedule-list{max-height:260px;overflow:auto}.theme-schedule-list{scrollbar-gutter:stable}
.theme-calendar-controls{margin-top:22px;padding:16px;border:1px solid var(--season-line,#dfe4ed);border-radius:12px;background:var(--season-surface,#fff)}.theme-calendar-controls fieldset{border:0;padding:0;margin:0;min-width:0}.theme-calendar-controls legend{font-size:13px;font-weight:650;margin-bottom:12px;color:var(--season-text,#28374d)}.theme-calendar-fields{display:flex;flex-wrap:wrap;align-items:end;gap:12px}.theme-calendar-fields label{display:grid;gap:6px;font-size:12px;font-weight:600;flex:1 1 110px;min-width:0}.theme-calendar-fields select{width:100%;min-height:44px;padding:10px 12px;border:1px solid var(--season-line,#d7deea);border-radius:8px;background:var(--season-bg,#fff);color:var(--season-text,#293142);font:inherit;font-size:14px}.theme-calendar-fields button{min-height:44px;flex:0 1 auto}.theme-calendar-controls .field-help{font-size:12px;line-height:1.6;color:var(--season-muted,#6c7585);margin:12px 0 0}.theme-calendar-fields button[aria-pressed=true]{box-shadow:inset 0 0 0 1px var(--season-accent,#5268dd)}#theme-upcoming[aria-busy=true]{opacity:.65}@media(max-width:600px){.theme-calendar-controls{padding:12px}.theme-calendar-fields{gap:10px}.theme-calendar-fields button{flex:1 1 130px}}
/* Owner options open upward so the menu stays beside the drawing. */
.owner-drawing-menu>div{top:auto;bottom:40px;width:190px}
.owner-drawing-menu button{font-size:14px;min-height:40px}

.daily-prompt-content .theme-suggestion-credit,.studio-head .theme-suggestion-credit{margin:6px 0 0;font-size:14px;line-height:1.4;color:#78808e;font-weight:400}

.dev-selection-dialog{width:min(620px,calc(100vw - 32px));max-height:85dvh;padding:30px;border:1px solid #e0e3ee;border-radius:22px;overflow:auto;color:#252a35;background:#fff}.dev-selection-dialog::backdrop{background:#252a3570}.dev-selection-dialog h2{margin:0 45px 16px 0}.dev-selection-dialog p{color:#6c7484;line-height:1.5}.dev-selection-slots{display:grid;gap:16px}.dev-selection-slot{padding:18px;border:1px solid #e0e3ee;border-radius:14px}.dev-selection-slot h3{font-size:17px;margin:0}.dev-selection-slot .secondary{margin:8px 0 0 8px}.dev-selection-slot button{white-space:normal}.dev-selection-candidate{padding:12px;background:#f3f5ff;border-radius:10px}

/* Shared Explore, profile connections, and consistently sized gallery mounts. */
.mobile-header .brand{display:inline-flex;align-items:center;gap:9px;white-space:nowrap}
.mobile-header .brand-mark{display:block;width:30px;height:30px;flex-shrink:0}
.post-drawn-date{display:block;text-align:right;font-size:12px;line-height:1.5;color:#798294;font-variant-numeric:tabular-nums;margin:2px 0 5px}
.post-art-stage>.post-drawn-date{width:100%;margin-top:14px}
.gallery .beta-art.polaroid-print{display:grid;grid-template-rows:auto 62px 40px 46px;align-content:start;min-width:0;content-visibility:auto;contain-intrinsic-size:auto 450px}
.gallery .beta-art>img,.gallery .beta-art>.image-missing{grid-row:1;aspect-ratio:1;width:100%;height:auto;min-height:0;object-fit:contain;background:#fff}
.gallery .beta-art>.polaroid-title{grid-row:2;display:flex;align-items:center;justify-content:center;height:62px;min-height:0;max-height:62px;padding:6px 4px;overflow:hidden;overflow-wrap:anywhere;font-size:23px;line-height:1.18}
.gallery .beta-art>.polaroid-theme{grid-row:3;display:flex;align-items:center;justify-content:center;height:40px;margin:0;padding:0 3px;font-size:12px;line-height:1.3;overflow:hidden;overflow-wrap:anywhere}
.gallery .beta-art>.polaroid-awards{grid-row:4;align-self:center;justify-content:center;margin:0;padding:3px;font-size:10px;line-height:1.4;flex-wrap:wrap}
.profile-connections-stat{position:relative}.profile-connections-stat dd button{font:inherit;color:inherit;padding:0 8px;background:none;border:0}.profile-connections-stat dd button::after{content:"";position:absolute;inset:0;border-radius:9px}.profile-connections-stat:hover{color:#4157ca}.profile-connections-stat:focus-within{outline:2px solid #5167cf;outline-offset:4px;border-radius:9px}
.explore-search{margin:0 0 25px}.explore-search label,.connections-dialog label{display:block;font-size:14px;font-weight:600;margin-bottom:10px}.explore-search>div{display:flex;gap:10px}.explore-search input,.connections-dialog input{width:100%;min-width:0;min-height:46px;border:1px solid #dce1ec;border-radius:12px;padding:12px 15px;font:inherit;background:#fff;color:inherit}
.explore-artists{display:grid;gap:12px;grid-template-columns:repeat(auto-fit,minmax(min(260px,100%),1fr))}.explore-artist{display:flex;gap:12px;align-items:center;background:#fff;border:1px solid #e1e6ee;border-radius:14px;padding:16px;text-align:left;min-width:0;color:inherit;width:100%}.explore-artist>span:first-of-type{min-width:0;flex:1}.explore-artist strong,.explore-artist small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.explore-artist small{color:#808897;margin-top:5px}.explore-artist>img{border-radius:50%;flex:none}
.explore-more,.connections-more,#older-posts,#older-theme-picks,#older-collections{margin:26px auto;display:block}.explore-more[hidden],.connections-more[hidden]{display:none}
.connections-dialog{width:min(520px,calc(100% - 28px));max-height:85dvh;padding:24px;border-radius:20px;overflow:auto}.connections-dialog header{display:flex;align-items:center;justify-content:space-between;margin-bottom:20px}.connections-dialog header button{font-size:28px;padding:3px 12px}.connections-dialog .explore-artists{grid-template-columns:1fr}.connections-dialog form{position:sticky;top:-24px;background:white;padding:12px 0;z-index:1}.connections-status{color:#7c8494;margin:10px 0}.load-error{color:#956040;font-size:14px}.explore-loading{margin:20px 0;color:#7c8494}
@media(max-width:600px){.gallery .beta-art.polaroid-print{grid-template-rows:auto 54px 38px 42px}.gallery .beta-art>.polaroid-title{height:54px;max-height:54px;font-size:20px}.gallery .beta-art>.polaroid-theme{height:38px;font-size:11px}.gallery .beta-art>.polaroid-awards{font-size:9px}.post-drawn-date{font-size:11px}.explore-search>div{gap:7px}}

/* Calendar attribution remains visible after a community idea is scheduled. */
.theme-credit-picker{grid-column:1/-1;border-top:1px solid #e5e8f0;padding-top:12px;margin-top:5px;min-width:0}.theme-credit-picker>label{display:block;font-size:12px;font-weight:650;color:#596478;margin-bottom:6px}.theme-credit-picker>label>span{font-weight:400;color:#8a93a1}.theme-credit-selected{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px;font-size:13px;min-height:24px}.theme-credit-selected button{border:0;background:transparent;color:#6e7890;font-size:12px;padding:4px 6px!important;min-height:0!important}.theme-credit-picker input[type=search]{font-size:13px;padding:9px 11px;max-width:none}.theme-credit-results{display:grid;gap:4px;max-height:180px;overflow:auto}.theme-credit-results:empty{display:none}.theme-credit-results button{display:flex;justify-content:space-between;gap:8px;text-align:left;background:#fff;border:1px solid #e1e6f0;border-radius:7px;padding:10px!important;font-size:12px;margin:0!important}.theme-credit-results button:hover,.theme-credit-results button:focus-visible{background:#eef1ff}.theme-credit-results button span{color:#7d8696;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.theme-credit-status{display:block;font-size:11px;color:#7b8495;margin-top:4px}.theme-past-credit{display:block;font-size:12px;font-weight:400;margin-top:8px}.theme-just-scheduled{outline:2px solid #8797e3;outline-offset:-2px;background:#f0f3ff}.idea-scheduled-state{font-size:13px;color:#536dae!important}.theme-later .theme-credit-picker{margin-bottom:16px}.theme-schedule-row{align-items:start}.theme-row-date{padding-top:8px}

/* Keep attribution and publication date aligned without overlapping the print. */
.post-byline{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:10px;margin:2px 0 5px}
.post-byline .artist-line{min-width:0;gap:2px 8px}
.post-byline .artist-handle{max-width:100%;min-height:32px}
.post-byline .post-drawn-date{margin:0;padding-top:4px;white-space:nowrap;font-size:12px}
.post-drawn-date span{display:block}.post-drawn-date .post-time{font-size:12px;color:#798294}
.post-caption .post-drawn-date{display:block;text-align:left;margin:8px 0 0;font-size:13px}
.post-caption .post-drawn-date span{display:inline}.post-caption .post-time::before{content:'\00a0\00b7\00a0'}
.post-art-stage{display:flex;align-items:center;justify-content:center}
.explore-section-title{font-size:24px;margin:0 0 22px}
@media(max-width:680px){.post-byline{gap:8px}.post-byline .artist-follow{margin-left:0}.post-drawn-date{font-size:12px}.post-comment-meta{flex-wrap:wrap;gap:5px 12px}}

/* Mobile navigation overlays the current page and shares desktop permissions. */
.mobile-menu-toggle,.mobile-menu-close{display:grid;place-items:center;min-width:44px;min-height:44px;border-radius:10px;color:#303a50;padding:10px;flex-shrink:0}
.mobile-menu-toggle:hover,.mobile-menu-close:hover{background:#eef1f8}
.mobile-menu-toggle svg,.mobile-menu-close svg{width:24px;height:24px}
dialog.mobile-menu{position:fixed;inset:0 0 0 auto;margin:0;width:min(340px,calc(100% - 48px));max-width:none;height:100dvh;max-height:100dvh;border:0;border-left:1px solid #e5e8f0;border-radius:20px 0 0 20px;padding:0;background:#fff;box-shadow:-12px 0 44px #202a4526;overflow-y:auto;overscroll-behavior:contain;color:#29303d}
dialog.mobile-menu[open]{display:flex;flex-direction:column;animation:mobile-menu-in .22s ease-out}
dialog.mobile-menu::backdrop{background:#1d294c66;backdrop-filter:blur(3px);animation:mobile-backdrop-in .22s ease-out}
.mobile-menu-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:max(20px,env(safe-area-inset-top)) max(18px,env(safe-area-inset-right)) 16px 24px;border-bottom:1px solid #edf0f5;flex-shrink:0}
.mobile-menu-heading h2{font-size:22px;margin:0}
.mobile-menu-links{padding:20px 16px;gap:7px}
.mobile-menu-links button{min-height:48px;font-size:16px;color:#525d72}
.mobile-menu-links .beta-badge{margin-left:auto}
.mobile-menu-account{margin-top:auto;padding:18px 22px max(24px,env(safe-area-inset-bottom));border-top:1px solid #edf0f5;flex-shrink:0}
.mobile-menu-account .account-entry{min-height:44px;line-height:1.5;font-size:15px;text-align:left}
@keyframes mobile-menu-in{from{transform:translateX(100%)}to{transform:translateX(0)}}
@keyframes mobile-backdrop-in{from{opacity:0}to{opacity:1}}
@media(min-width:651px) and (max-width:950px){.sidebar{display:none}.mobile-header{display:flex;justify-content:space-between;align-items:center;padding:17px 25px;background:#fff;border-bottom:1px solid var(--line)}.main{margin-left:0}}
@media(prefers-reduced-motion:reduce){dialog.mobile-menu[open],dialog.mobile-menu::backdrop{animation:none}}

/* Suggestion credit sits directly beneath its theme; username opens the artist. */
.daily-prompt-content .theme-suggestion-credit{margin-top:-8px}
.theme-suggestion-credit a{color:#405bba;text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px;overflow-wrap:anywhere}
.theme-suggestion-credit a:hover{color:#273f96}
.theme-suggestion-credit a:focus-visible{outline:2px solid #405bba;outline-offset:4px;border-radius:2px}

/* Viewport-anchored studio: only the art responds to pinch and pan. */
.paint-studio.studio-dialog[open]{inset:var(--studio-top,0px) 0 auto;margin:0 auto;width:100%;max-width:none;height:var(--studio-height,100dvh);max-height:var(--studio-height,100dvh);border-radius:0;grid-template-columns:minmax(0,1fr) 66px;grid-template-rows:auto minmax(0,1fr) auto auto;grid-template-areas:"head head" "canvas brushes" "dock dock" "status status";overscroll-behavior:none;touch-action:none}
.paint-studio[data-brush-side=left][open]{grid-template-columns:66px minmax(0,1fr);grid-template-areas:"head head" "brushes canvas" "dock dock" "status status"}
.paint-studio .studio-head{grid-area:head;padding:10px 16px}
.paint-studio .studio-content{grid-area:canvas;padding:8px;overflow:hidden;touch-action:none}
.paint-studio .canvas-workspace{grid-template-rows:minmax(0,1fr) auto auto;gap:0}
.paint-studio .canvas-stage{touch-action:none;overscroll-behavior:none}
.paint-studio .canvas-workspace .canvas-shell{overflow:hidden;touch-action:none;position:relative;border:0}
.paint-studio #beta-canvas{width:100%;height:100%;transform-origin:center;touch-action:none;will-change:transform}
.paint-studio>.dock-brushes{grid-area:brushes;display:grid;grid-template-columns:1fr;grid-template-rows:repeat(10,minmax(0,1fr));width:100%;height:100%;max-width:none;min-height:0;gap:2px;margin:0;padding:4px;background:#fff;border-left:1px solid #e0e5ee;overflow:hidden}
.paint-studio>.dock-brushes button{min-height:0;min-width:0;padding:3px;touch-action:manipulation}
.paint-studio>.dock-brushes button span{display:none}
.paint-studio>.dock-brushes .physical-tool-icon{width:27px;height:27px}
.paint-studio .studio-dock.toolbar{grid-area:dock;padding:6px 10px;background:#fff}
.paint-studio .dock-utilities{flex-wrap:wrap;gap:4px 8px;margin:0;justify-content:center}
.paint-studio .dock-utilities button{min-height:44px;padding:7px 10px;touch-action:manipulation}
.paint-studio .dock-utilities .paint-history{display:flex;flex-wrap:nowrap;gap:4px}
.paint-studio .canvas-zoom{display:flex;align-items:center;gap:4px;margin:0;font-size:13px;color:#647085}
.paint-studio #dock-selection{display:none}
.paint-studio #draw-status{grid-area:status;font-size:12px;min-height:0;padding:3px 12px max(4px,env(safe-area-inset-bottom));max-height:48px}
.paint-studio .studio-tool-panel{bottom:110px;right:76px;max-height:calc(100% - 210px);width:min(380px,calc(100% - 90px))}
.paint-studio[data-brush-side=left] .studio-tool-panel{right:auto;left:76px}
.paint-studio .tool-panel-body{touch-action:pan-y;overscroll-behavior:contain}
.paint-studio [data-panel-section=controls] label{display:grid;gap:10px;font-size:14px}
.paint-studio [data-panel-section=controls] select{font:inherit;padding:10px;border:1px solid #dce1ee;border-radius:8px;background:white}
.paint-studio [data-panel-section=controls] .art-check{display:flex;align-items:center;gap:10px}
@media(max-width:700px){
 .paint-studio .studio-head{padding:6px 10px}
 .paint-studio .dock-utilities{gap:0 3px}
 .paint-studio .dock-utilities>button{font-size:13px;padding:6px 8px}
 .paint-studio .dock-utilities .paint-history{flex-basis:65%;justify-content:center}
 .paint-studio .canvas-zoom{flex-basis:29%;justify-content:center}
 .paint-studio .dock-utilities .paint-history button{font-size:13px;padding:6px 9px}
 .paint-studio .studio-tool-panel{bottom:124px;max-height:calc(100% - 240px)}
}
@media(max-height:720px){
 .paint-studio.studio-dialog[open]{grid-template-columns:minmax(0,1fr) 94px}
 .paint-studio[data-brush-side=left][open]{grid-template-columns:94px minmax(0,1fr)}
 .paint-studio>.dock-brushes{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(5,minmax(0,1fr))}
 .paint-studio .studio-tool-panel{right:102px;bottom:90px;max-height:calc(100% - 155px);width:min(380px,calc(100% - 116px))}
 .paint-studio[data-brush-side=left] .studio-tool-panel{left:102px}
}
.paint-studio.studio-dialog[open]{touch-action:auto}
.paint-studio .paint-history button{white-space:nowrap}
@media(max-width:700px){.paint-studio .dock-utilities>button{padding:6px 5px;gap:4px;font-size:12px}.paint-studio .dock-utilities>button svg{width:18px;height:18px}}
@media(max-height:480px){
 .paint-studio.studio-dialog[open]{grid-template-columns:minmax(0,1fr) 142px}
 .paint-studio[data-brush-side=left][open]{grid-template-columns:142px minmax(0,1fr)}
 .paint-studio>.dock-brushes{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(4,minmax(0,1fr))}
 .paint-studio .studio-tool-panel{right:150px;width:min(380px,calc(100% - 162px))}
 .paint-studio[data-brush-side=left] .studio-tool-panel{left:150px}
}

.studio-update-dialog{width:min(540px,calc(100vw - 28px));max-height:calc(100dvh - 28px);border:1px solid #e0e5f1;border-radius:22px;padding:0;color:#252936;background:#fff;box-shadow:0 24px 100px #18264d40;overflow:auto;overscroll-behavior:contain}
.studio-update-dialog::backdrop{background:#17234070;backdrop-filter:blur(5px)}
.studio-update-card{position:relative;padding:32px}
.studio-update-close{position:absolute;top:14px;right:14px;width:44px;height:44px;border-radius:50%;font-size:25px;color:#697489;background:#f2f4f9}
.studio-update-tag{display:inline-block;color:#3b50bd;background:#edf0ff;border:1px solid #dfe5ff;border-radius:7px;padding:6px 9px;font-size:12px;font-weight:750;letter-spacing:1.2px}
.studio-update-card h2{font-size:29px;line-height:1.15;letter-spacing:-.7px;margin:18px 0 10px;max-width:370px}
.studio-update-intro{color:#697487;font-size:15px;line-height:1.5;margin:0}
.studio-update-card ul{list-style:none;padding:0;margin:24px 0;display:grid;gap:19px}
.studio-update-card li{display:flex;align-items:flex-start;gap:13px}
.studio-update-card li>span{flex:0 0 36px;display:grid;place-items:center;height:36px;background:#f0f3ff;color:#4457c2;border-radius:10px;font-size:24px}
.studio-update-card li strong{font-size:15px;line-height:1.4}
.studio-update-card li p{font-size:14px;line-height:1.5;color:#6a7485;margin:4px 0 0}
.studio-update-start{width:100%;min-height:46px;justify-content:center;font-size:15px}
.drawing-notice-dialog{width:min(480px,calc(100vw - 28px));max-height:calc(100vh - 28px);max-height:calc(100dvh - 28px);border:1px solid #e0e5f1;border-radius:22px;padding:0;color:#252936;background:#fff;box-shadow:0 24px 100px #18264d40;overflow:auto;overscroll-behavior:contain}
.drawing-notice-dialog::backdrop{background:#17234070;backdrop-filter:blur(5px)}
.drawing-notice-card{position:relative;padding:32px}
.drawing-notice-close{position:absolute;top:14px;right:14px;width:44px;height:44px;border-radius:50%;font-size:25px;color:#697489;background:#f2f4f9}
.drawing-notice-card h2{font-size:29px;line-height:1.15;letter-spacing:-.7px;margin:0 44px 22px 0}
.drawing-notice-card p{font-size:16px;line-height:1.6;color:#515e72;margin:0 0 24px}
.drawing-notice-card ul{padding-left:22px;margin:0 0 26px;display:grid;gap:14px;font-size:16px;line-height:1.5}
.drawing-notice-start{width:100%;min-height:46px;justify-content:center;font-size:15px}
@media(max-width:450px){.drawing-notice-card{padding:24px}.drawing-notice-card h2{font-size:25px}}
@media(max-width:450px){.studio-update-card{padding:24px}.studio-update-card h2{font-size:25px;max-width:280px}.studio-update-card ul{gap:16px;margin:20px 0}}

/* The top brush rail stays outside the zooming canvas, like the side rails. */
.paint-studio.studio-dialog[data-brush-side=top][open]{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto minmax(0,1fr) auto auto;grid-template-areas:"head" "brushes" "canvas" "dock" "status"}
.paint-studio[data-brush-side=top]>.dock-brushes{grid-template-columns:repeat(10,minmax(0,1fr));grid-template-rows:48px;height:auto;border-left:0;border-bottom:1px solid #e0e5ee;padding:4px 8px;gap:4px}
.paint-studio[data-brush-side=top]>.dock-brushes button{min-height:44px}
.paint-studio[data-brush-side=top] .studio-tool-panel{right:12px;left:auto;width:min(380px,calc(100% - 24px));max-height:calc(100% - 180px)}
@media(max-width:540px){.paint-studio[data-brush-side=top]>.dock-brushes{grid-template-columns:repeat(5,minmax(0,1fr));grid-template-rows:repeat(2,44px)}}

/* Stationary workspace texture distinguishes the paper at every zoom level. */
.paint-studio .studio-content{background-color:#e1e5ec;background-image:radial-gradient(circle,#aeb7c5 .85px,transparent 1px);background-size:18px 18px;background-position:center}
.paint-studio .canvas-workspace .canvas-shell{background:transparent;box-shadow:none;border-radius:0}
.paint-studio #beta-canvas{background:#fff;outline:2px solid #a7b0bf;box-shadow:0 8px 24px #26344524}
.bug-report-dialog{max-height:90dvh;overflow:auto}.bug-report-dialog textarea{display:block;box-sizing:border-box;width:100%;resize:vertical;border:1px solid #dce2ec;border-radius:10px;padding:12px;font:inherit;line-height:1.5;background:white;color:#28374d}.bug-reports-inbox{margin:30px 0 40px}.bug-report-list{display:grid;gap:16px;margin:20px 0}.bug-report-card{max-width:none;min-width:0}.bug-description{white-space:pre-wrap;overflow-wrap:anywhere}.bug-report-byline{display:flex;gap:12px;justify-content:space-between;flex-wrap:wrap;font-size:13px}.bug-report-byline time{color:#707b8b}.bug-report-byline a{color:#405eac}.bug-report-dialog [hidden],.bug-reports-inbox [hidden]{display:none}@media(max-width:500px){.bug-report-dialog input,.bug-report-dialog textarea{font-size:16px}.bug-report-card{padding:18px}}
/* Keep the bug control immediately left of the title at mobile widths too. */
.paint-studio .studio-head>.paint-header-actions{flex-wrap:wrap}
.paint-studio .studio-head #report-draw-bug{align-self:center}
@media(max-width:700px){
 .paint-studio .studio-head>.paint-header-actions{display:grid;grid-template-columns:auto minmax(0,1fr)}
 .paint-studio .studio-head #report-draw-bug{grid-column:1;grid-row:1;font-size:12px;padding:8px 6px}
 .paint-studio .studio-head #beta-submit{grid-column:2;grid-row:1;min-width:0;width:100%;max-width:none;margin:0}
 .paint-studio .studio-head [data-close="studio-dialog"]{grid-column:1;grid-row:2}
 .paint-studio .studio-head #publish-drawing{grid-column:2;grid-row:2;justify-self:end}
}

.staff-mfa-reminder{max-height:90dvh;overflow:auto}.staff-mfa-reminder .beta-actions{gap:10px}.staff-mfa-reminder .beta-actions button{font-size:14px}

/* Device-local persistence status stays separate from changing tool hints. */
.paint-studio .studio-head>.draft-save-info{flex:1 0 100%;display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 12px}
.paint-studio #draft-save-status{font-size:12px;line-height:1.4;font-weight:600;color:#4e596a}
.paint-studio #draft-save-status[data-state="error"]{color:#803d29}
.paint-studio .draft-local-note{font-size:11px;line-height:1.4;color:#7b8491}

/* Keep restore confirmation visible even after the hidden artwork list changes. */
#beta-status[data-popup="true"]{position:fixed;top:calc(env(safe-area-inset-top,0px) + 16px);left:50%;transform:translateX(-50%);z-index:250;box-sizing:border-box;width:min(520px,calc(100% - 32px));margin:0;padding:14px 12px 14px 18px;display:flex;align-items:flex-start;gap:12px;border:1px solid #bccaf3;border-radius:14px;background:#edf1ff;color:#29303d;box-shadow:0 8px 28px #1e315b30;font-size:16px;font-weight:600;line-height:1.5;overflow-wrap:anywhere}
#beta-status[data-popup="true"]>span{flex:1;min-width:0}
#beta-status[data-popup="true"]>button{flex-shrink:0;min-width:44px;min-height:44px;margin:-4px 0;padding:6px;border:0;border-radius:8px;background:transparent;color:#29303d;font:inherit;font-size:26px;line-height:1;cursor:pointer}
#beta-status[data-popup="true"]>button:focus-visible{outline:2px solid #405bba;outline-offset:2px}

/* Branded drawing-update notice. Stored account receipts remain unchanged. */
.drawing-notice-updates-dialog{width:min(500px,calc(100vw - 32px));border:1px solid #ffffffb3;border-radius:28px;background:#fff;color:#1d1d1f;box-shadow:0 24px 90px #00000026,0 1px 3px #0000000d;font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;animation:drawing-update-enter .18s ease-out}
.drawing-notice-updates-dialog::backdrop{background:#252a3459;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.drawing-notice-updates{padding:36px}
.drawing-notice-updates .drawing-notice-close{top:12px;right:12px;color:#86868b;background:#f5f5f7;font-size:23px;line-height:1}
.drawing-notice-updates .drawing-notice-close:hover{background:#eaeaed;color:#1d1d1f}
.drawing-notice-brand{display:flex;align-items:center;justify-content:center;gap:12px;margin:0 30px 24px}
.drawing-notice-brand img{display:block;width:56px;height:56px;flex-shrink:0;border-radius:16px;box-shadow:0 4px 12px #3158f51a}
.drawing-notice-brand span{font-size:22px;line-height:1;font-weight:650;letter-spacing:-.8px}
.drawing-notice-updates h2{font-family:inherit;font-size:34px;line-height:1.1;font-weight:700;letter-spacing:-1.2px;text-align:center;margin:0 0 28px}
.drawing-notice-updates .drawing-notice-features{list-style:none;padding:0;margin:0 0 30px;display:grid;gap:18px}
.drawing-notice-features li{display:flex;align-items:center;gap:14px;color:#515154;font-size:15px;font-weight:500;line-height:1.45}
.drawing-notice-feature-icon{display:grid;place-items:center;width:38px;height:38px;flex:0 0 38px;border-radius:11px;background:#f5f5f7;color:#3158f5}
.drawing-notice-feature-icon svg{width:21px;height:21px}
.drawing-notice-updates .drawing-notice-start{min-height:48px;border-radius:14px;background:#3158f5;font-family:inherit;font-weight:600;font-size:15px;box-shadow:none}
.drawing-notice-updates .drawing-notice-start:hover{background:#2448d7}
@keyframes drawing-update-enter{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:450px){.drawing-notice-updates-dialog{border-radius:24px}.drawing-notice-updates{padding:30px 24px}.drawing-notice-updates h2{font-size:30px}.drawing-notice-brand{margin-bottom:22px}.drawing-notice-features li{font-size:14px}}
@media(prefers-reduced-motion:reduce){.drawing-notice-updates-dialog{animation:none}}

/* Explicit header rows avoid Safari flex wrapping text over the canvas. */
.paint-studio.studio-dialog[open]{-webkit-text-size-adjust:100%;text-size-adjust:100%}
.paint-studio .studio-head{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;align-content:start;height:auto;max-height:calc(var(--studio-height,100dvh) * .30);overflow:auto;overscroll-behavior:contain;touch-action:pan-y}
.paint-studio .studio-head>div:first-child{width:auto;min-width:0}
.paint-studio .studio-head>.paint-header-actions{width:auto;min-width:0;max-width:100%}
.paint-studio .studio-head>#publish-status,.paint-studio .studio-head>.draft-save-info{grid-column:1/-1;min-width:0;width:auto}
.paint-studio #publish-status:empty,.paint-studio #draft-save-status:empty{display:none}
.paint-studio .studio-head>.draft-save-info{display:block}
.paint-studio .draft-save-info p{overflow-wrap:anywhere}
.paint-studio .studio-content{align-self:stretch;justify-self:stretch;min-width:0}
.paint-studio>.dock-brushes{overflow:auto;overscroll-behavior:contain;touch-action:pan-y}
.paint-studio .studio-dock{max-height:calc(var(--studio-height,100dvh) * .27);overflow:auto;overscroll-behavior:contain;touch-action:pan-y}
@media(max-width:850px){.paint-studio .studio-head{grid-template-columns:minmax(0,1fr)}.paint-studio .studio-head>.paint-header-actions{width:100%}}

/* Hex entry stays readable on iPhone without Safari input zoom. */
.color-extras #color-hex{font-size:16px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;min-height:44px;box-sizing:border-box}
.color-extras #add-palette-color{min-height:44px;padding:9px 10px;font-size:14px;white-space:normal}
.color-extras #color-eyedropper{grid-column:1/-1}

/* Optional profile photos retain their own fixed dimensions while loading. */
.profile-photo{display:block;flex-shrink:0;object-fit:cover;border-radius:50%;background:#eceef3}
.artist-profile-image{display:inline-flex;flex:0 0 30px;margin-right:5px;vertical-align:middle}
.artist-handle:has(.artist-profile-image){display:inline-flex;align-items:center;gap:5px;flex-wrap:wrap}
.account-entry .profile-photo{width:34px;height:34px}
.account-entry{display:flex;align-items:center;gap:9px;flex-wrap:wrap}
#profile-photo-editor{margin:24px 0;padding-bottom:24px;border-bottom:1px solid #e3e6ee}
#profile-photo-editor h3{font-size:17px;margin:0 0 15px}
.profile-photo-editor{display:grid;grid-template-columns:96px minmax(0,1fr);gap:18px;align-items:start}
.profile-photo-editor.is-editing{grid-template-columns:minmax(0,1fr)}
.profile-photo-visual{min-width:0}
.profile-photo-controls{min-width:0}
.profile-photo-controls input[type=file]{max-width:100%;font-size:14px;padding:8px 0;border:0;min-height:44px}
.profile-photo-controls .field-help{margin:8px 0;line-height:1.5}
.profile-photo-actions{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:12px}
.profile-photo-actions button{min-height:44px;margin:0}
.profile-photo-preview{width:96px;height:96px}
.profile-photo-preview img{width:96px;height:96px;object-fit:cover;border-radius:50%}
.is-editing .profile-photo-preview{width:192px;height:192px;max-width:100%;aspect-ratio:1;margin:0 auto}
.profile-photo-crop{display:block;width:100%;height:100%;border-radius:50%;background:#eceef3;touch-action:none;cursor:grab;user-select:none;-webkit-user-select:none}
.profile-photo-preview.is-dragging .profile-photo-crop{cursor:grabbing}
.profile-photo-crop[aria-disabled=true]{cursor:wait}
.profile-photo-crop-controls{max-width:280px;margin:12px auto 0}
.profile-photo-crop-controls label{display:flex;align-items:center;justify-content:space-between;margin:12px 0 2px}
.profile-photo-crop-controls output{font-size:13px;font-weight:400;color:#687080}
.join-panel .profile-photo-crop-controls input[type=range]{min-height:44px;padding:0;border:0;background:transparent;accent-color:#4161ce;cursor:ew-resize}
.profile-photo-crop-controls .field-help{margin:4px 0;line-height:1.5}
.profile-photo-crop-controls button{min-height:44px;margin:4px 0 0;padding:8px 0;font-size:13px}
@media(max-width:420px){.profile-photo-editor{grid-template-columns:minmax(0,1fr);gap:14px}}
.drawing-notice-brand:link,.drawing-notice-brand:visited{color:inherit;text-decoration:none}
