@font-face{font-family:Geist;src:url('/assets/geist.ttf') format('truetype');font-weight:100 900;font-display:swap}
@font-face{font-family:Bebas Neue;src:url('/assets/bebas-neue.ttf') format('truetype');font-weight:400;font-display:swap}
@font-face{font-family:DM Sans;src:url('/assets/dm-sans.ttf') format('truetype');font-weight:100 1000;font-display:swap}
@font-face{font-family:DM Serif;src:url('/assets/dm-serif.ttf') format('truetype');font-weight:400;font-display:swap}
:root{--bg:#fafafa;--surface:#fff;--text:#171717;--muted:#666;--border:#e5e5e5;--accent:#171717;--accent-text:#fff;--wash:#f3f3f3;--stage:#f3f3f3;--focus:#0070f3;color-scheme:light;font-family:Geist,Arial,sans-serif;background:var(--bg);color:var(--text);font-synthesis:none;scroll-padding-top:24px}
:root[data-theme=dark]{--bg:#0a0a0a;--surface:#111;--text:#ededed;--muted:#a1a1a1;--border:#303030;--accent:#ededed;--accent-text:#171717;--wash:#1a1a1a;--stage:#161616;color-scheme:dark}
*{box-sizing:border-box}body{margin:0}h1,h2,h3,p{margin:0}button,input,select{font:inherit}button,a,input,summary,select{touch-action:manipulation;-webkit-tap-highlight-color:transparent}button,summary{cursor:pointer}button{color:inherit}button:disabled{cursor:wait;opacity:.55}a{color:inherit;text-decoration:none}a:hover{text-decoration:underline;text-underline-offset:4px}svg{width:24px;height:24px;flex-shrink:0}img{display:block;max-width:100%;height:auto}p{line-height:1.6}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:2px solid var(--focus);outline-offset:3px}[hidden]{display:none!important}.content-width{max-width:1180px;margin-inline:auto;padding-inline:32px}.site-header{max-width:1440px;margin:auto;display:flex;align-items:center;gap:24px;min-height:72px;padding:12px 40px;border-bottom:1px solid var(--border)}.wordmark{display:flex;align-items:center;gap:9px;font-size:19px;letter-spacing:-.7px;font-weight:600}.wordmark:hover{text-decoration:none}.wordmark .brand-icon{display:block;flex:none;width:28px;height:28px}.site-header>nav{display:flex;gap:24px;margin-left:auto;font-size:13px;color:var(--muted)}.site-header nav a{padding-block:12px}.theme-toggle{width:40px;height:40px;display:grid;place-items:center;background:var(--surface);border:1px solid var(--border);border-radius:6px}.theme-toggle svg{width:19px;height:19px}.maker-main{padding-top:36px;padding-bottom:24px}.page-intro{margin-bottom:28px}.page-intro h1{font-size:32px;line-height:1.2;font-weight:600;letter-spacing:-1.25px}.page-intro p{font-size:14px;color:var(--muted);margin-top:9px}.studio-grid{display:grid;grid-template-columns:minmax(0,430px) minmax(0,1fr);border:1px solid var(--border);background:var(--surface);border-radius:8px;overflow:clip}.editor-controls{padding:24px;min-width:0}.category-tabs{display:flex;gap:3px;background:var(--wash);padding:4px;border-radius:6px}.category-tabs button{flex:1;border:0;background:transparent;min-height:38px;border-radius:4px;padding:6px;font-size:12px;white-space:nowrap;color:var(--muted)}.category-tabs button.active{background:var(--surface);color:var(--text);box-shadow:0 1px 2px #0001;font-weight:500}.control-block{padding-block:24px;border-bottom:1px solid var(--border)}.control-block h2{font-size:14px;font-weight:600;margin-bottom:14px;display:flex;justify-content:space-between;align-items:center}.optional{font-size:11px;font-weight:400;color:var(--muted)}.lookup-wrap{position:relative}.lookup-row{display:flex;align-items:center;gap:8px}.lookup-row input{width:100%;min-width:0;height:42px;border:1px solid var(--border);border-radius:6px;background:var(--surface);padding:10px 12px;font-size:13px;color:var(--text)}.lookup-row button,.secondary-button{background:var(--surface);border:1px solid var(--border);border-radius:6px;min-height:42px;padding:10px 14px;font-size:12px;font-weight:500;white-space:nowrap}.lookup-row button:hover,.secondary-button:hover{background:var(--wash)}.search-suggestions{position:absolute;top:calc(100% + 5px);left:0;right:0;z-index:10;max-height:300px;overflow:auto;background:var(--surface);border:1px solid var(--border);border-radius:6px;box-shadow:0 8px 16px #0001}.search-suggestions button{display:block;width:100%;padding:12px;text-align:left;border:0;border-bottom:1px solid var(--border);background:transparent}.search-suggestions button.active,.search-suggestions button:hover{background:var(--wash)}.search-suggestions strong{font-size:13px;font-weight:500}.search-suggestions small{display:block;margin-top:4px;font-size:11px;color:var(--muted)}.suggestion-message{font-size:12px;padding:12px}.source-image-row{margin-top:12px;padding:12px;background:var(--wash);border-radius:6px;font-size:12px}.source-image-row>a{display:inline-block;margin-bottom:10px;text-decoration:underline}.source-image-row>button{display:block;width:100%}.helper{font-size:11px;color:var(--muted);line-height:1.6;margin-top:9px}.dropzone{position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:128px;border:1px dashed var(--border);border-radius:6px;background:var(--bg);padding:16px;cursor:pointer}.dropzone:hover,.dropzone.dragover{background:var(--wash);border-color:var(--muted)}.dropzone:focus-within{outline:2px solid var(--focus);outline-offset:3px}.dropzone input{width:1px;height:1px;position:absolute;opacity:0}.dropzone svg{stroke:var(--muted);stroke-width:1.3;fill:none;width:23px;height:23px;margin-bottom:3px}.dropzone strong{font-size:13px;font-weight:500}.dropzone>span{font-size:11px;color:var(--muted)}.upload-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:7px}.upload-bottom p{font-size:10px;color:var(--muted);min-width:0;overflow-wrap:anywhere}.text-button{border:0;background:transparent;font-size:11px;min-height:36px;padding:8px 0;white-space:nowrap;color:var(--muted)}.text-button:hover{color:var(--text);text-decoration:underline;text-underline-offset:3px}details>summary{display:flex;align-items:center;justify-content:space-between;list-style:none;min-height:42px;font-size:12px;font-weight:500;gap:12px}summary::-webkit-details-marker{display:none}summary>span{font-size:13px;color:var(--muted);font-weight:400}.crop-details{margin-top:5px}.crop-details>label{display:block;font-size:11px;color:var(--muted);padding-top:12px}.crop-details output{float:right}.crop-actions{display:flex;gap:8px;margin-top:4px}.crop-actions button{background:var(--surface);border:1px solid var(--border);padding:8px 12px;border-radius:6px;min-height:36px;font-size:11px}.crop-actions button.active{border-color:var(--text);background:var(--wash)}input[type=range]{display:block;width:100%;height:24px;margin:7px 0 0;accent-color:var(--accent)}.colour-row{display:flex;align-items:center;gap:12px;font-size:12px;justify-content:space-between}.palette-picker{display:flex;gap:8px}.palette-choice{border:1px solid var(--border);border-radius:6px;display:flex;align-items:center;gap:7px;min-height:38px;padding:8px 10px;background:var(--surface);font-size:11px}.palette-choice.active{border-color:var(--text)}.swatch{width:15px;height:15px;border-radius:50%;border:1px solid #8885}.swatch.cream{background:#efede0}.swatch.ink{background:#2b302f}.metadata-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}.field{display:flex;flex-direction:column;gap:7px;min-width:0}.field.wide{grid-column:1/-1}.field-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:11px;color:var(--muted);min-height:22px}.field-heading input{accent-color:var(--accent);width:14px;height:14px;margin:0}.field-heading label{cursor:pointer}.field>input{width:100%;border:1px solid var(--border);border-radius:6px;background:var(--surface);color:var(--text);height:40px;padding:9px 10px;font-size:13px}.quick-fields{grid-template-columns:minmax(0,1fr) 86px;margin-top:20px}.quick-fields .field.wide{grid-column:auto}.metadata-details{margin-top:10px}.metadata-details .metadata-grid{margin-top:6px}.detail-actions{display:flex;justify-content:space-between;margin-top:8px}.extra-design{border-top:1px solid var(--border);margin-top:2px;padding-top:4px}.custom-colour{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px;color:var(--muted);padding-block:8px}.custom-colour input{width:40px;height:30px;padding:2px;background:var(--surface);border:1px solid var(--border);border-radius:4px}.field-label{font-size:11px;color:var(--muted);margin:12px 0 8px}.layout-picker{display:flex;gap:8px;margin-bottom:10px}.layout-choice{flex:1;min-width:0;background:var(--surface);border:1px solid var(--border);border-radius:6px;padding:12px 5px;font-size:10px}.layout-choice.active{border-color:var(--text);background:var(--wash)}.layout-icon{display:none}.export-block select{width:100%;height:42px;background:var(--surface);border:1px solid var(--border);color:var(--text);padding:9px 12px;font-size:12px;border-radius:6px}.export-actions{display:flex;gap:8px;margin-top:16px}.button{display:inline-flex;align-items:center;justify-content:center;gap:12px;min-height:44px;padding:11px 18px;border:1px solid var(--accent);border-radius:6px;background:var(--accent);color:var(--accent-text);font-size:13px;font-weight:500;transition:background .15s,opacity .15s}.button:hover{opacity:.85;text-decoration:none}.button.outline{background:var(--surface);color:var(--text);border-color:var(--border)}.button.outline:hover{background:var(--wash)}#exportButton{flex:1}.fallback-link{display:block;font-size:11px;margin-top:12px;text-decoration:underline;overflow-wrap:anywhere}.collection-section{padding-top:8px}.saved-cards{margin-top:10px;display:grid;gap:8px}.saved-card{display:flex;gap:8px;align-items:center;border:1px solid var(--border);border-radius:6px;padding:8px 10px}.saved-card>div{flex:1;min-width:0}.saved-card strong{font-size:11px;font-weight:500;display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.saved-card small{font-size:10px;color:var(--muted)}.saved-card button{background:none;border:0;padding:8px 4px;min-height:36px;font-size:10px}.collection-section>.secondary-button{margin-top:10px}.preview-column{min-width:0;border-left:1px solid var(--border);padding:24px 32px;background:var(--stage)}.preview-sticky{position:sticky;top:24px}.preview-topline{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px;color:var(--muted);margin-bottom:24px}.preview-topline>span:last-child{font-size:10px}.preview-stage{display:flex;justify-content:center}.preview-stage canvas{display:block;width:min(100%,400px);height:auto;background:#efede0;box-shadow:0 2px 3px #0001,0 8px 20px #0001;scroll-margin-top:24px}.preview-bottom{display:flex;align-items:center;justify-content:space-between;gap:12px;max-width:400px;margin:12px auto 0;font-size:10px;color:var(--muted)}.sample-disclosure{font-size:10px}.image-credit{font-size:10px;line-height:1.6;color:var(--muted);margin-top:10px;overflow-wrap:anywhere}.image-credit a{text-decoration:underline}.app-status{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);z-index:50;max-width:min(90vw,560px);background:var(--accent);color:var(--accent-text);padding:12px 16px;border:1px solid var(--border);border-radius:6px;box-shadow:0 6px 15px #0002;font-size:12px;line-height:1.5}.app-status[data-type=warning]{background:var(--surface);color:var(--text);border-left:3px solid #f5a623}.help-section{max-width:700px;margin:24px 0 0}.help-section>summary{font-size:13px;max-width:100%;justify-content:flex-start}.help-section>div{font-size:12px;color:var(--muted);padding:8px 0 15px}.help-section p{margin-bottom:12px}.help-section nav{display:flex;flex-wrap:wrap;gap:10px 20px}.help-section a{text-decoration:underline}.site-footer{max-width:1440px;margin:auto;border-top:1px solid var(--border);padding:24px 40px;display:flex;align-items:center;justify-content:space-between;gap:16px;color:var(--muted)}.site-footer nav{display:flex;gap:20px;font-size:11px}.site-footer>p{font-size:10px}.skip-link{position:fixed;top:-80px;left:12px;z-index:100;background:var(--accent);color:var(--accent-text);padding:12px}.skip-link:focus{top:12px}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* Supporting pages use the same restrained navigation and type scale. */
.article-main{padding-block:24px 64px}.breadcrumbs{display:flex;flex-wrap:wrap;gap:10px;font-size:11px;color:var(--muted);margin-bottom:32px}.article-header{max-width:780px;margin-bottom:32px}.eyebrow{font-size:10px;color:var(--muted);letter-spacing:.8px;margin-bottom:12px}.article-header h1{font-size:36px;line-height:1.15;letter-spacing:-1.4px;font-weight:600;margin-bottom:14px}.article-header h1 em{font-style:normal}.article-header>p:not(.eyebrow){font-size:14px;color:var(--muted);max-width:650px}.article-header>.button{margin-top:20px}.article-body{max-width:760px}.article-body section{margin-bottom:28px}.article-body h2{font-size:20px;font-weight:600;letter-spacing:-.4px;margin:25px 0 12px}.article-body p{font-size:13px;line-height:1.75;color:var(--muted);margin-bottom:14px}.article-body a{text-decoration:underline}.article-related{margin-top:36px;padding-top:24px;border-top:1px solid var(--border)}.article-related h2{font-size:18px;font-weight:600;margin-bottom:12px}.article-related a{display:inline-block;font-size:12px;margin:0 22px 10px 0;text-decoration:underline}.template-feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.template-feature-grid>article{border:1px solid var(--border);border-radius:8px;padding:24px;background:var(--surface)}.mini-poster{padding:10px 10px 24px;background:#efede0;color:#151616;aspect-ratio:2/3;max-width:200px;display:flex;flex-direction:column;box-shadow:0 2px 8px #0001;margin:0 auto 24px}.mini-poster img{width:100%;height:auto;aspect-ratio:1;object-fit:cover;flex-shrink:0}.mini-poster strong{font-family:'Bebas Neue',Arial,sans-serif;font-size:22px;font-weight:400;margin-top:12px}.mini-poster>span{font-size:6px;margin-top:5px;letter-spacing:.4px}.dark-mini{background:#2b302f;color:#f5f3ea}.pink-mini{background:#efede0}.template-feature-grid h2{font-size:16px;font-weight:600;margin-bottom:10px}.template-feature-grid h3{font-size:12px;font-weight:500}.template-feature-grid p{font-size:12px;color:var(--muted);margin-top:8px}.template-feature-grid .button{margin-top:18px}.error-main{padding-block:80px;min-height:60vh}.error-main h1{font-size:40px;letter-spacing:-1.4px;max-width:650px;margin-bottom:20px}.error-main p{font-size:14px;color:var(--muted)}.error-main .button{margin-top:24px}
@media(max-width:900px){.content-width{padding-inline:24px}.site-header{padding-inline:24px}.studio-grid{grid-template-columns:minmax(0,380px) minmax(0,1fr)}.editor-controls{padding:20px}.preview-column{padding:20px}.preview-topline{font-size:10px}.template-feature-grid{gap:12px}.template-feature-grid>article{padding:18px}}
@media(max-width:760px){.content-width{padding-inline:16px}.site-header{min-height:64px;padding:10px 16px;gap:12px}.wordmark{font-size:17px;gap:6px}.wordmark .brand-icon{width:24px;height:24px}.site-header>nav{gap:16px;font-size:12px}.site-header>nav a:first-child{display:none}.theme-toggle{width:36px;height:36px}.maker-main{padding-top:24px;padding-bottom:24px}.page-intro{margin-bottom:20px}.page-intro h1{font-size:27px;letter-spacing:-1px}.page-intro p{font-size:12px;max-width:300px;margin-top:8px}.studio-grid{display:flex;flex-direction:column;border-radius:6px}.editor-controls{display:contents}.category-tabs{order:0;margin:16px 16px 0}.category-tabs button{min-height:40px;font-size:11px}.control-block{margin:0 16px;padding-block:20px}.search-block{order:1}.image-block{order:2;border-bottom:0}.design-block{order:4}.export-block{order:5}.collection-section{order:6;margin:0 16px;padding-bottom:12px}.preview-column{order:3;border-left:0;border-block:1px solid var(--border);padding:18px 24px}.preview-sticky{position:static}.preview-topline{font-size:11px;margin-bottom:16px}.preview-topline>span:last-child{font-size:10px}.preview-stage canvas{width:min(100%,300px)}.preview-bottom{max-width:300px;margin-top:10px;font-size:9px}.preview-bottom .sample-disclosure{font-size:9px}.control-block h2{font-size:14px}.lookup-row input{font-size:16px;height:44px}.lookup-row input::placeholder{font-size:13px}.lookup-row button{min-height:44px}.dropzone{min-height:120px;padding:16px}.dropzone strong{font-size:13px}.dropzone>span{font-size:10px}.field>input{height:44px;font-size:16px}.field-heading{font-size:12px;min-height:26px}.field-heading input{width:18px;height:18px}.metadata-grid{gap:12px}.quick-fields{grid-template-columns:minmax(0,1fr) 86px}.export-block select{height:44px;font-size:16px}.export-actions .button{min-height:48px}.palette-choice{min-height:40px;font-size:11px}.crop-actions button{min-height:40px}.crop-details>label{font-size:12px}.custom-colour{font-size:12px}.custom-colour input{width:44px;height:34px}.layout-choice{min-height:42px;font-size:11px}.app-status{bottom:80px;width:max-content}.site-footer{padding:20px 16px 85px;display:block}.site-footer nav{gap:20px;font-size:11px}.site-footer>p{margin-top:16px;font-size:9px}.help-section{margin-top:16px}.article-main{padding-block:24px 40px}.article-header h1{font-size:29px;letter-spacing:-1px}.article-header>p:not(.eyebrow){font-size:13px}.template-feature-grid{grid-template-columns:1fr;gap:16px}.template-feature-grid>article{padding:24px}.template-feature-grid .mini-poster{max-width:190px}.article-related a{display:block}.error-main h1{font-size:30px}.error-main{padding-block:60px}}
@media(max-width:360px){.site-header{gap:10px}.site-header>nav{gap:10px}.wordmark{font-size:16px}.wordmark .brand-icon{width:22px;height:22px}.palette-choice{padding-inline:7px}.colour-row{gap:8px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;animation:none!important}}
/* On phones, show the result before any editor controls. */
@media(max-width:760px){.preview-column{order:-1;border-top:0}.category-tabs{margin-top:20px}.preview-stage canvas{width:min(100%,270px)}}
/* Contextual controls; the default editor stays compact. */
.preview-topline>span{display:flex;gap:8px;align-items:center}.source-badge{border:1px solid var(--border);border-radius:4px;padding:3px 6px;font-size:10px;font-weight:500;color:var(--text);background:var(--surface)}.preview-tools{display:flex;align-items:center;gap:14px}.preview-tools .text-button{font-size:11px;min-height:32px}.preview-tools .text-button:disabled{cursor:default}.preview-tools #previewSize{font-size:10px;white-space:nowrap}#previewToggle{display:none}.preview-download{display:flex;gap:8px;max-width:400px;margin:16px auto 0}.preview-download select,.cast-control select{min-height:42px;border:1px solid var(--border);border-radius:6px;background:var(--surface);color:var(--text);font-size:12px;padding:8px 10px}.preview-download select{width:80px}.preview-download button{flex:1}.image-source-status{font-size:11px;line-height:1.6;color:var(--muted);margin:9px 0 0}.image-warning{font-size:11px;line-height:1.6;background:var(--wash);border-left:2px solid #c18020;padding:9px 10px;color:var(--text);margin-top:10px}.wiki-candidate{display:flex;align-items:flex-start;gap:12px}.wiki-candidate>img{width:88px;height:100px;object-fit:contain;background:var(--surface);border:1px solid var(--border);border-radius:4px}.wiki-candidate>div{flex:1;min-width:0}.wiki-candidate p:first-child{font-size:11px;overflow-wrap:anywhere}.wiki-candidate .helper{font-size:10px;margin-top:5px}.wiki-candidate button{margin-top:8px;min-height:36px;font-size:11px}.cast-control{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:12px;margin-top:16px}.cast-control select{max-width:180px;min-height:38px}.missing-note{font-size:10px;color:var(--muted)}.field.is-missing>input{border-style:dashed}.preview-column.is-collapsed #previewContent{scroll-margin-top:20px}
@media(max-width:760px){#previewToggle{display:block}.preview-tools{gap:10px}.preview-tools #previewSize{display:none}.preview-column.is-collapsed #previewContent{display:none}.preview-column.is-collapsed .preview-topline{margin-bottom:0}.preview-download{display:none}.preview-topline .text-button{min-height:38px}.image-source-status{font-size:11px}.wiki-candidate>img{width:80px;height:95px}.wiki-candidate button{min-height:42px}.cast-control select{font-size:16px;min-height:42px}.image-warning{font-size:12px}.preview-column.is-collapsed{padding-block:10px}}
@media(max-width:760px){.preview-tools .text-button{min-height:44px;min-width:44px}}
.preview-bottom{flex-wrap:wrap}.preview-bottom #enlargePreview{color:var(--text);text-decoration:underline;text-underline-offset:3px}#previewDialog{width:min(1000px,96vw);height:min(940px,96dvh);padding:0;border:1px solid var(--border);border-radius:10px;background:var(--surface);color:var(--text);overflow:hidden}#previewDialog::backdrop{background:#000b}.viewer-header{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;border-bottom:1px solid var(--border);height:66px}.viewer-header h2{font-size:15px;font-weight:600}.viewer-header button{min-height:40px}.viewer-controls{display:flex;gap:12px;align-items:center;padding:8px 16px;height:60px;border-bottom:1px solid var(--border)}.viewer-controls .secondary-button{min-width:42px;min-height:40px;padding:8px;font-size:18px}.viewer-controls output{font-size:12px;min-width:40px;text-align:center}.viewer-controls>span{font-size:11px;color:var(--muted);margin-left:auto}.viewer-scroll{height:calc(100% - 126px);width:100%;padding:16px;overflow:auto;overscroll-behavior:contain;touch-action:pan-x pan-y pinch-zoom;background:var(--stage);scrollbar-gutter:stable}.viewer-scroll canvas{display:block;max-width:none;height:auto;margin:0;box-shadow:0 2px 8px #0002}
@media(max-width:760px){.preview-column{padding-inline:16px}.preview-stage canvas{width:100%;max-width:360px}.preview-bottom{max-width:360px}.preview-bottom #shareButton{display:none}#previewDialog{max-width:100vw;max-height:100dvh;width:100vw;height:100dvh;margin:0;border:0;border-radius:0}.viewer-controls{gap:8px}.viewer-controls>span{font-size:10px}.viewer-header .secondary-button{min-height:44px}.viewer-scroll{padding:12px}}
@media(min-width:761px){.preview-stage canvas{width:min(100%,400px,calc((100dvh - 220px)*.666667))}}
/* Search-focused content follows the editor and stays readable as ordinary text. */
.category-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px}.category-tabs button{min-width:0;padding-inline:3px}.anime-format-row{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:12px;font-size:12px}.anime-format-row select{width:130px;min-height:40px;padding:8px 10px;border:1px solid var(--border);border-radius:6px;background:var(--surface);color:var(--text);font:inherit}.seo-content{max-width:850px;padding-block:40px 24px;border-top:1px solid var(--border);margin-top:28px}.seo-content>h2{font-size:26px;line-height:1.3;font-weight:600;letter-spacing:-.65px;max-width:680px}.seo-topics{display:flex;flex-wrap:wrap;gap:10px 22px;margin:18px 0 30px;font-size:12px}.seo-topics a{text-decoration:underline;text-underline-offset:4px}.seo-content>section{margin-top:26px}.seo-content h3{font-size:18px;line-height:1.5;font-weight:600;letter-spacing:-.25px;margin-bottom:10px}.seo-content p{font-size:14px;line-height:1.85;color:var(--muted);margin-bottom:14px}.seo-content p a{color:var(--text);text-decoration:underline;text-underline-offset:3px}.anime-seo-section{padding:22px 0 10px;border-block:1px solid var(--border)}
@media(max-width:760px){.category-tabs button{font-size:10px;padding-inline:2px}.anime-format-row{order:0;margin:12px 16px 0}.anime-format-row select{font-size:16px;min-height:44px}.seo-content{padding-top:28px;margin-top:20px}.seo-content>h2{font-size:23px}.seo-content h3{font-size:17px}.seo-content p{font-size:13px;line-height:1.85}.seo-topics{gap:12px 18px;font-size:12px}}
/* Native FAQ accordions keep answers accessible without JavaScript. */
.poster-faq{max-width:850px;margin-top:20px;padding-block:28px 32px;border-top:1px solid var(--border);scroll-margin-top:24px}.poster-faq h2{font-size:26px;line-height:1.3;font-weight:600;letter-spacing:-.65px;margin-bottom:20px}.faq-list>details{border-bottom:1px solid var(--border)}.faq-list summary{min-height:56px;padding:14px 0;font-size:14px;line-height:1.6;cursor:pointer}.faq-list summary>span{flex-shrink:0;width:20px;text-align:center;font-size:20px;transition:transform .15s}.faq-list details[open] summary>span{transform:rotate(45deg)}.faq-list p{padding:0 32px 18px 0;font-size:14px;line-height:1.85;color:var(--muted)}.faq-list summary:focus-visible{outline:2px solid var(--text);outline-offset:4px;border-radius:2px}
@media(max-width:760px){.poster-faq{padding-block:24px}.poster-faq h2{font-size:23px}.faq-list summary{font-size:14px;min-height:56px;gap:16px}.faq-list p{font-size:14px;padding-right:0}}

/* The application uses Geist. The classic poster uses its original fonts. */
@font-face {
  font-family: Inter;
  src: url('/assets/inter-latin-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
.control-block h2 { font-size: 16px; line-height: 1.5; }
.preview-stage .preview-picture {
  width: min(100%, 400px, calc((100dvh - 220px) * .666667));
  position: relative;
}
.preview-stage .preview-picture canvas { width: 100%; max-width: none; }
.preview-placeholder { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; }
.preview-picture.is-rendered .preview-placeholder { visibility: hidden; }
.photo-crop-surface {
  position: absolute;
  cursor: grab;
  touch-action: none;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #171717;
  outline-offset: 3px;
}
.photo-crop-surface:active { cursor: grabbing; }
.photo-crop-surface:focus-visible { outline: 2px solid var(--focus); }
.preview-bottom #adjustPhoto { color: var(--text); font-size: 12px; }
.preview-bottom #adjustPhoto[aria-pressed=true] { color: var(--focus); }
.swatch.rose { background: #e6d4cf; }
.crop-hint { max-width: 400px; margin: 4px auto 0; font-size: 12px; color: var(--muted); }
@media(max-width:760px) {
  .preview-stage .preview-picture { width: min(100%, 360px); }
  .preview-bottom .text-button { min-height: 44px; }
}

.print-example > p { max-width: 66ch; }
.example-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: 12px;
  margin: 18px 0;
}
.example-grid figure { margin: 0; padding: 10px; border: 1px solid var(--border); border-radius: 6px; background: var(--surface); }
.example-grid img { width: 100%; border-radius: 3px; }
.example-grid figcaption { padding-top: 8px; font-size: 12px; color: var(--muted); }
.guide-author { margin-top: 28px; padding-top: 8px; border-top: 1px solid var(--border); }
@media(max-width:480px) {
  .example-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .example-grid figure:first-child { grid-column: 1 / -1; max-width: 220px; }
}

/* Motion follows interaction, with instant updates for reduced motion. */
:root {
  --control-motion: 140ms;
  --colour-motion: 140ms;
  --motion-ease: cubic-bezier(.2, .65, .35, 1);
}
:root.theme-transition { --colour-motion: 240ms; }
.theme-transition,
.theme-transition :where(.site-header, .studio-grid, .editor-controls, .control-block,
  .preview-column, .site-footer, .template-feature-grid article, .saved-card, dialog, .viewer-scroll) {
  transition: background-color var(--colour-motion) ease, color var(--colour-motion) ease,
    border-color var(--colour-motion) ease;
}
:where(button, input:not([type=range]), select), .dropzone, .button {
  transition: background-color var(--colour-motion) ease, color var(--colour-motion) ease,
    border-color var(--colour-motion) ease, box-shadow var(--colour-motion) ease,
    opacity var(--control-motion) ease, transform var(--control-motion) var(--motion-ease);
}
:where(button, .button):active:not(:disabled) { transform: scale(.98); }

.theme-toggle { position: relative; flex: none; overflow: hidden; }
.theme-toggle:hover { background: var(--wash); }
.theme-toggle .theme-icon {
  position: absolute;
  transition: opacity 220ms ease, transform 250ms var(--motion-ease);
}
.theme-icon--moon { opacity: 1; transform: rotate(0) scale(1); }
.theme-icon--sun { opacity: 0; transform: rotate(-45deg) scale(.55); }
[data-theme=dark] .theme-icon--moon { opacity: 0; transform: rotate(45deg) scale(.55); }
[data-theme=dark] .theme-icon--sun { opacity: 1; transform: rotate(0) scale(1); }

:where(.metadata-details, .extra-design, .crop-details, .collection-section) > summary > span {
  transition: transform var(--control-motion) var(--motion-ease);
}
:where(.metadata-details, .extra-design, .crop-details, .collection-section)[open] > summary > span {
  transform: rotate(180deg);
}
:where(.metadata-details, .extra-design, .crop-details, .collection-section, .help-section, .poster-faq details)[open] > :not(summary),
#previewDialog[open] {
  animation: control-reveal 180ms var(--motion-ease) both;
}
.app-status { animation: status-reveal 180ms var(--motion-ease) both; }
@keyframes control-reveal {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes status-reveal {
  from { opacity: 0; transform: translate(-50%, 6px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

.mobile-toolbar-slot { display: none; }
.draft-setting {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  font-size: 12px;
}
.draft-setting input { width: 16px; height: 16px; margin: 0; }

@media (max-width: 760px) {
  .export-actions { display: none; }
  .mobile-toolbar-slot {
    display: block;
    min-height: 58px;
    margin-top: 16px;
    scroll-margin-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  }
  .mobile-toolbar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 6px;
    padding: 6px;
    height: 58px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    transition: box-shadow 180ms ease, background-color var(--colour-motion) ease,
      border-color var(--colour-motion) ease;
  }
  .mobile-toolbar[data-floating] {
    position: fixed;
    inset: var(--toolbar-top) auto auto var(--toolbar-left);
    width: var(--toolbar-width);
    z-index: 30;
    box-shadow: 0 8px 24px #0003;
  }
  .mobile-toolbar > :is(a, select, button) { height: 44px; min-height: 44px; white-space: nowrap; }
  .mobile-toolbar > a {
    display: grid;
    place-items: center;
    font-size: 12px;
    border-radius: 6px;
  }
  .mobile-toolbar > a:hover { background: var(--wash); text-decoration: none; }
  .mobile-toolbar select {
    width: 65px;
    padding: 0 6px;
    border: 1px solid var(--border);
    border-radius: 6px;
    background: var(--surface);
    color: var(--text);
    font-size: 16px;
  }
  .mobile-toolbar .button { min-width: 96px; padding: 0 8px; font-size: 12px; }
  .app-status { bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
}

@media (prefers-reduced-motion: reduce) {
  :where(button, .button):active:not(:disabled) { transform: none; }
}

.history-actions { display: inline-flex; gap: 2px; }
.history-button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid transparent;
  border-radius: 6px;
  background: var(--surface);
  color: var(--text);
}
.history-button svg { width: 17px; height: 17px; }
.history-button:hover:not(:disabled) { border-color: var(--border); background: var(--wash); }
.history-button:disabled { cursor: default; opacity: .38; }
@media (max-width: 760px) {
  .history-button { width: 44px; height: 44px; }
}

/* Invert the header logo in light mode only. */
.wordmark .brand-icon { filter: invert(1); }
:root[data-theme="dark"] .wordmark .brand-icon { filter: none; }
.theme-transition .wordmark .brand-icon { transition: filter 240ms ease; }

@media (max-width: 760px) {
  .category-tabs button {
    min-height: 44px;
    white-space: normal;
    line-height: 1.2;
  }
  .palette-choice { min-height: 44px; }
}
@media (max-width: 360px) {
  .colour-row { flex-direction: column; align-items: flex-start; }
  .palette-picker { flex-wrap: wrap; }
  .preview-topline, .preview-tools { gap: 5px; }
  .preview-topline > span { gap: 6px; }
}

.site-footer nav { flex-wrap: wrap; }
