@layer pages{stamp-maker,.stamp-maker-host{height:100%;min-height:0;display:block}.stamp-maker{align-items:stretch;gap:var(--pane-gap);height:100%;min-height:0;padding:var(--pane-gutter);grid-template-columns:minmax(0,1fr) minmax(300px,380px);max-width:1200px;margin-inline:auto;display:grid;overflow:hidden}.stamp-maker__stage{gap:var(--md-sys-spacing-3);grid-template-rows:auto minmax(0,1fr) auto;min-width:0;min-height:0;display:grid}.stamp-maker__source{min-width:0}.stamp-maker__source .stamp-maker__row{flex-wrap:nowrap}.stamp-maker__editor{gap:var(--md-sys-spacing-3);min-width:0;min-height:0;padding:var(--md-sys-spacing-4);border-radius:var(--md-sys-shape-corner-large);background:var(--md-sys-color-surface-container-low);grid-template-rows:auto minmax(0,1fr);display:grid}.stamp-maker__inspector{overscroll-behavior:contain;min-height:0;padding-inline-end:var(--md-sys-spacing-1);overflow-y:auto}.stamp-maker__output{gap:var(--md-sys-spacing-1);min-width:0;display:grid}.stamp-maker__output>.field-note{min-block-size:var(--md-sys-typescale-body-small-line-height)}.stamp-maker__picker-language .stamp-maker__language-options{grid-template-columns:repeat(6,minmax(0,1fr));gap:4px;display:grid}.stamp-maker__picker-language .settings-option{grid-template-rows:48px auto;justify-items:center;gap:4px;width:100%;height:auto;display:grid}.stamp-maker__picker-language .settings-option__face{width:48px;height:48px}.stamp-maker__variant-caption{font-size:var(--md-sys-typescale-label-medium-size);line-height:var(--md-sys-typescale-label-medium-line-height);text-align:center}@media (max-width:599px){.stamp-maker__picker-language .stamp-maker__language-options{grid-template-columns:repeat(3,minmax(0,1fr));row-gap:8px}}.stamp-maker__picker-language{background:var(--md-sys-color-surface-container-high);padding:8px 16px}.stamp-maker__language{gap:4px;min-width:0;display:grid}.stamp-maker__language-label{color:var(--md-sys-color-on-surface-variant);font-size:var(--md-sys-typescale-label-large-size)}.stamp-maker__language-options{flex-wrap:wrap;padding-inline-start:0}.stamp-maker__preview-pane{place-items:center;min-width:0;min-height:0;display:grid;container-type:size}.stamp-maker__preview{aspect-ratio:1;border-radius:var(--md-sys-shape-corner-large);background-color:var(--md-sys-color-surface-container-low);background-image:conic-gradient(var(--md-sys-color-surface-container-high) 25%, transparent 0 50%, var(--md-sys-color-surface-container-high) 0 75%, transparent 0);background-size:24px 24px;place-items:center;width:min(100cqw,100cqh,512px);min-width:0;display:grid;position:relative;overflow:hidden}.stamp-maker__preview canvas{touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;cursor:grab;width:100%;height:auto;display:block}.stamp-maker__preview canvas:active{cursor:grabbing}.stamp-maker__preview canvas:focus-visible{outline:3px solid var(--md-sys-color-primary);outline-offset:-3px}.stamp-maker__overlay{background:var(--md-sys-color-surface-container);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:16px;display:flex;position:absolute;inset:0}.stamp-maker__row{flex-wrap:wrap;align-items:center;gap:8px;min-width:0;display:flex}.stamp-maker__chosen{text-overflow:ellipsis;white-space:nowrap;min-width:0;font:var(--md-sys-typescale-body-medium-weight) var(--md-sys-typescale-body-medium-size) / var(--md-sys-typescale-body-medium-line-height) var(--app-font);flex:1;overflow:hidden}.stamp-maker__slider{gap:4px;display:grid}.stamp-maker__slider>span{color:var(--md-sys-color-on-surface-variant);font:var(--md-sys-typescale-label-large-weight) var(--md-sys-typescale-label-large-size) / var(--md-sys-typescale-label-large-line-height) var(--app-font);justify-content:space-between;display:flex}.stamp-maker__position{flex-wrap:nowrap}.stamp-maker__position md-outlined-text-field{flex:1;width:0;min-width:0}.stamp-maker__colors{gap:16px}.stamp-maker__colors label{font-size:var(--md-sys-typescale-body-medium-size);flex:1;align-items:center;gap:8px;display:flex}.stamp-maker__custom-color{align-items:center;gap:8px;display:flex}.stamp-maker__custom-color input,.stamp-maker__colors input{border:1px solid var(--md-sys-color-outline);border-radius:var(--md-sys-shape-corner-small);background:var(--md-sys-color-surface);cursor:pointer;width:48px;height:48px;padding:4px}.stamp-maker__layer-row{align-items:center;gap:4px;display:flex}.stamp-maker__layer-row md-outlined-select{flex:1;min-width:0}.stamp-maker__layer-menu{position:relative}.stamp-maker__font-row{align-items:center;gap:8px;display:flex}.stamp-maker__font-row md-outlined-select{flex:1;min-width:0}.stamp-maker__color-swatch{border:1px solid var(--md-sys-color-outline);border-radius:50%;width:24px;height:24px;display:block}.stamp-maker__character-color{width:32px;height:32px;display:inline-flex;position:relative}.stamp-maker__character-color img{object-fit:contain;border-radius:50%;width:28px;height:28px}.stamp-maker__character-color i{border:1px solid var(--md-sys-color-outline);border-radius:50%;width:12px;height:12px;position:absolute;bottom:0;right:0}.stamp-maker__export md-outlined-select{flex:0 136px;width:136px;min-width:0}.stamp-maker__export{flex-wrap:wrap}.stamp-maker__export .button{flex:auto;min-width:0}.stamp-maker__export .stamp-maker__community{flex:0 auto;min-height:44px}@media (pointer:coarse){.stamp-maker__export .stamp-maker__community{min-height:var(--md-comp-control-height-touch)}}.stamp-maker__chooser{border-radius:var(--md-sys-shape-corner-extra-large);width:min(900px,100vw - 24px);max-height:calc(100dvh - 32px);color:var(--md-sys-color-on-surface);background:var(--md-sys-color-surface-container-high);border:0;padding:0}.stamp-maker__chooser:modal{flex-direction:column;height:min(800px,100dvh - 32px);display:flex}.stamp-maker__chooser::backdrop{background:color-mix(in srgb, var(--md-sys-color-scrim) 40%, transparent)}.stamp-maker__grid{--tile-min:132px;flex:1;grid-auto-rows:max-content;align-content:start;min-height:160px;padding:16px;overflow:auto}.stamp-maker .field-note{margin:0}@media (max-width:959px){.stamp-maker{gap:var(--md-sys-spacing-3);padding:var(--md-sys-spacing-3);grid-template-rows:minmax(260px,55%) minmax(0,1fr);grid-template-columns:minmax(0,1fr)}.stamp-maker__editor{padding:var(--md-sys-spacing-3)}.stamp-maker__stage{gap:var(--md-sys-spacing-2)}.stamp-maker__grid{--tile-min:112px;--tile-gap:8px;padding:12px}}@media (min-width:600px) and (max-height:599px){.stamp-maker{grid-template-rows:minmax(0,1fr);grid-template-columns:minmax(0,1fr) minmax(280px,1fr)}}}
