@layer{.md-typescale-display-small,.md-typescale-display-small-prominent{font:var(--md-sys-typescale-display-small-weight, var(--md-ref-typeface-weight-regular, 400)) var(--md-sys-typescale-display-small-size, 2.25rem)/var(--md-sys-typescale-display-small-line-height, 2.75rem) var(--md-sys-typescale-display-small-font, var(--md-ref-typeface-brand, Roboto))}.md-typescale-display-medium,.md-typescale-display-medium-prominent{font:var(--md-sys-typescale-display-medium-weight, var(--md-ref-typeface-weight-regular, 400)) var(--md-sys-typescale-display-medium-size, 2.8125rem)/var(--md-sys-typescale-display-medium-line-height, 3.25rem) var(--md-sys-typescale-display-medium-font, var(--md-ref-typeface-brand, Roboto))}.md-typescale-display-large,.md-typescale-display-large-prominent{font:var(--md-sys-typescale-display-large-weight, var(--md-ref-typeface-weight-regular, 400)) var(--md-sys-typescale-display-large-size, 3.5625rem)/var(--md-sys-typescale-display-large-line-height, 4rem) var(--md-sys-typescale-display-large-font, var(--md-ref-typeface-brand, Roboto))}.md-typescale-headline-small,.md-typescale-headline-small-prominent{font:var(--md-sys-typescale-headline-small-weight, var(--md-ref-typeface-weight-regular, 400)) var(--md-sys-typescale-headline-small-size, 1.5rem)/var(--md-sys-typescale-headline-small-line-height, 2rem) var(--md-sys-typescale-headline-small-font, var(--md-ref-typeface-brand, Roboto))}.md-typescale-headline-medium,.md-typescale-headline-medium-prominent{font:var(--md-sys-typescale-headline-medium-weight, var(--md-ref-typeface-weight-regular, 400)) var(--md-sys-typescale-headline-medium-size, 1.75rem)/var(--md-sys-typescale-headline-medium-line-height, 2.25rem) var(--md-sys-typescale-headline-medium-font, var(--md-ref-typeface-brand, Roboto))}.md-typescale-headline-large,.md-typescale-headline-large-prominent{font:var(--md-sys-typescale-headline-large-weight, var(--md-ref-typeface-weight-regular, 400)) var(--md-sys-typescale-headline-large-size, 2rem)/var(--md-sys-typescale-headline-large-line-height, 2.5rem) var(--md-sys-typescale-headline-large-font, var(--md-ref-typeface-brand, Roboto))}.md-typescale-title-small,.md-typescale-title-small-prominent{font:var(--md-sys-typescale-title-small-weight, var(--md-ref-typeface-weight-medium, 500)) var(--md-sys-typescale-title-small-size, .875rem)/var(--md-sys-typescale-title-small-line-height, 1.25rem) var(--md-sys-typescale-title-small-font, var(--md-ref-typeface-plain, Roboto))}.md-typescale-title-medium,.md-typescale-title-medium-prominent{font:var(--md-sys-typescale-title-medium-weight, var(--md-ref-typeface-weight-medium, 500)) var(--md-sys-typescale-title-medium-size, 1rem)/var(--md-sys-typescale-title-medium-line-height, 1.5rem) var(--md-sys-typescale-title-medium-font, var(--md-ref-typeface-plain, Roboto))}.md-typescale-title-large,.md-typescale-title-large-prominent{font:var(--md-sys-typescale-title-large-weight, var(--md-ref-typeface-weight-regular, 400)) var(--md-sys-typescale-title-large-size, 1.375rem)/var(--md-sys-typescale-title-large-line-height, 1.75rem) var(--md-sys-typescale-title-large-font, var(--md-ref-typeface-brand, Roboto))}.md-typescale-body-small,.md-typescale-body-small-prominent{font:var(--md-sys-typescale-body-small-weight, var(--md-ref-typeface-weight-regular, 400)) var(--md-sys-typescale-body-small-size, .75rem)/var(--md-sys-typescale-body-small-line-height, 1rem) var(--md-sys-typescale-body-small-font, var(--md-ref-typeface-plain, Roboto))}.md-typescale-body-medium,.md-typescale-body-medium-prominent{font:var(--md-sys-typescale-body-medium-weight, var(--md-ref-typeface-weight-regular, 400)) var(--md-sys-typescale-body-medium-size, .875rem)/var(--md-sys-typescale-body-medium-line-height, 1.25rem) var(--md-sys-typescale-body-medium-font, var(--md-ref-typeface-plain, Roboto))}.md-typescale-body-large,.md-typescale-body-large-prominent{font:var(--md-sys-typescale-body-large-weight, var(--md-ref-typeface-weight-regular, 400)) var(--md-sys-typescale-body-large-size, 1rem)/var(--md-sys-typescale-body-large-line-height, 1.5rem) var(--md-sys-typescale-body-large-font, var(--md-ref-typeface-plain, Roboto))}.md-typescale-label-small,.md-typescale-label-small-prominent{font:var(--md-sys-typescale-label-small-weight, var(--md-ref-typeface-weight-medium, 500)) var(--md-sys-typescale-label-small-size, .6875rem)/var(--md-sys-typescale-label-small-line-height, 1rem) var(--md-sys-typescale-label-small-font, var(--md-ref-typeface-plain, Roboto))}.md-typescale-label-medium,.md-typescale-label-medium-prominent{font:var(--md-sys-typescale-label-medium-weight, var(--md-ref-typeface-weight-medium, 500)) var(--md-sys-typescale-label-medium-size, .75rem)/var(--md-sys-typescale-label-medium-line-height, 1rem) var(--md-sys-typescale-label-medium-font, var(--md-ref-typeface-plain, Roboto))}.md-typescale-label-medium-prominent{font-weight:var(--md-sys-typescale-label-medium-weight-prominent, var(--md-ref-typeface-weight-bold, 700))}.md-typescale-label-large,.md-typescale-label-large-prominent{font:var(--md-sys-typescale-label-large-weight, var(--md-ref-typeface-weight-medium, 500)) var(--md-sys-typescale-label-large-size, .875rem)/var(--md-sys-typescale-label-large-line-height, 1.25rem) var(--md-sys-typescale-label-large-font, var(--md-ref-typeface-plain, Roboto))}.md-typescale-label-large-prominent{font-weight:var(--md-sys-typescale-label-large-weight-prominent, var(--md-ref-typeface-weight-bold, 700))}}/*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,:before,:after,::backdrop{--tw-border-style:solid}}}@layer theme{:root,:host{--font-sans:-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--radius-lg:.5rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;-moz-tab-size:4;tab-size:4;line-height:1.5;font-family:var(--default-font-family,-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Noto Sans", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring:where(:not(iframe)){outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::file-selector-button{-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.absolute{position:absolute}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.block{display:block}.grid{display:grid}.hidden{display:none}.h-\[46px\]{height:46px}.h-full{height:100%}.w-\[46px\]{width:46px}.w-full{width:100%}.flex-none{flex:none}.cursor-pointer{cursor:pointer}.rounded-\[5px\]{border-radius:5px}.rounded-lg{border-radius:var(--radius-lg)}.border{border-style:var(--tw-border-style);border-width:1px}.border-\[var\(--md-sys-color-outline-variant\)\]{border-color:var(--md-sys-color-outline-variant)}.p-\[5px\]{padding:5px}.opacity-0{opacity:0}}:root{color-scheme:dark;--md-sys-color-primary:#ffb77c;--md-sys-color-on-primary:#4a2800;--md-sys-color-primary-container:#663d00;--md-sys-color-on-primary-container:#fdb;--md-sys-color-inverse-primary:#633d00;--md-sys-color-secondary:#f3be8c;--md-sys-color-on-secondary:#4b2900;--md-sys-color-secondary-container:#693f00;--md-sys-color-on-secondary-container:#fdb;--md-sys-color-tertiary:#ffb4ab;--md-sys-color-on-tertiary:#690005;--md-sys-color-tertiary-container:#93000a;--md-sys-color-on-tertiary-container:#ffdad6;--md-sys-color-error:#ffb4ab;--md-sys-color-on-error:#690005;--md-sys-color-error-container:#93000a;--md-sys-color-on-error-container:#ffdad6;--md-sys-color-background:#191b16;--md-sys-color-on-background:#e5e2d9;--md-sys-color-surface:#191b16;--md-sys-color-on-surface:#e5e2d9;--md-sys-color-surface-dim:#191b16;--md-sys-color-surface-bright:#3f413a;--md-sys-color-surface-variant:#494840;--md-sys-color-on-surface-variant:#cac7bc;--md-sys-color-inverse-surface:#e5e2d9;--md-sys-color-inverse-on-surface:#2f3129;--md-sys-color-outline:#94978b;--md-sys-color-outline-variant:#494840;--md-sys-color-shadow:#000;--md-sys-color-scrim:#000;--md-sys-color-surface-container-lowest:#131611;--md-sys-color-surface-container-low:#21221d;--md-sys-color-surface-container:#262820;--md-sys-color-surface-container-high:#30312a;--md-sys-color-surface-container-highest:#3b3c34}@media(prefers-color-scheme:light){:root{--md-sys-color-surface-container-lowest:#fdfbf9;--md-sys-color-surface-container-low:#f5f3f1;--md-sys-color-surface-container:#efedea;--md-sys-color-surface-container-high:#e9e7e4;--md-sys-color-surface-container-highest:#e3e1de}}*{box-sizing:border-box}html,body{height:100%;margin:0}body{background:var(--md-sys-color-background);color:var(--md-sys-color-on-background);font-family:Roboto,system-ui,-apple-system,PingFang SC,Microsoft YaHei,sans-serif;font-size:15px}.app{height:100vh;min-height:0;display:flex}.app-title{padding:4px 0 8px}.app-title h1{font-family:var(--md-sys-typescale-title-large-font,Roboto);font-size:var(--md-sys-typescale-title-large-size,1.375rem);font-weight:var(--md-sys-typescale-title-large-weight,400);line-height:var(--md-sys-typescale-title-large-line-height,1.75rem);color:var(--md-sys-color-on-surface);margin:0}.panel{background:var(--md-sys-color-surface-container-lowest);border-right:1px solid var(--md-sys-color-outline-variant);flex-direction:column;gap:4px;width:320px;min-width:320px;padding:18px 20px 26px;display:flex;overflow-y:auto}.group{border-bottom:1px solid var(--md-sys-color-outline-variant);padding:14px 0}.group:last-child{border-bottom:none}h2{letter-spacing:.08em;text-transform:uppercase;color:var(--md-sys-color-on-surface-variant);margin:0 0 12px;font-size:12px;font-weight:600}.lbl{color:var(--md-sys-color-on-surface);justify-content:space-between;align-items:baseline;margin-bottom:8px;font-size:13px;display:flex}.lbl output{color:var(--md-sys-color-primary);font-variant-numeric:tabular-nums;font-size:12px}.seedrow{align-items:center;gap:10px;display:flex}.seedrow md-outlined-text-field{flex:1}.seedrow+.seedrow{margin-top:10px}.groutcheck{cursor:pointer;-webkit-user-select:none;user-select:none;color:var(--md-sys-color-on-surface);align-items:center;gap:6px;margin-top:12px;font-size:14px;display:flex}span.transparent{background:repeating-conic-gradient(#6b6b6b,#6b6b6b 25%,#9a9a9a 0%,#9a9a9a 50%) 0 0/8px 8px}.swatch{border:1px solid var(--md-sys-color-outline-variant);cursor:pointer;background:0 0;border-radius:8px;flex:none;justify-content:center;align-items:center;width:46px;height:46px;padding:5px;display:flex}.swatch:hover{border-color:var(--md-sys-color-primary)}.swatch span{background:var(--md-sys-color-primary);border-radius:5px;width:100%;height:100%;display:block}.slidergrid{flex-direction:column;gap:4px;display:flex}.sf-row{justify-content:space-between;align-items:baseline;margin-top:6px;display:flex}.sf-row:first-child{margin-top:0}.sf-row .lbl{margin-bottom:0}.sf-row output{color:var(--md-sys-color-primary);font-variant-numeric:tabular-nums;font-size:12px}md-slider{--md-slider-active-track-color:var(--md-sys-color-primary);width:100%}.chips{flex-wrap:wrap;gap:8px;margin-top:6px;display:flex}#motifWrap{margin-top:10px}#regenerate{margin-top:14px}#btnRandom{margin:12px 0}.about-line{color:var(--md-sys-color-on-surface-variant);margin:0 0 14px;font-size:14px}.btns{flex-direction:column;gap:10px;display:flex}md-filled-button,md-outlined-button{--md-filled-button-container-color:var(--md-sys-color-primary);--md-filled-button-label-text-color:var(--md-sys-color-on-primary);width:100%}.meta{color:var(--md-sys-color-on-surface-variant);margin-top:14px;font-size:12px;line-height:1.7}.meta b{color:var(--md-sys-color-on-surface);font-weight:600}.stage{background:radial-gradient(1200px 800px at 20% -10%,var(--md-sys-color-surface-container-low) 0%,var(--md-sys-color-background) 55%);flex:1;justify-content:center;align-items:center;padding:28px;display:flex;position:relative;overflow:auto}#tileCanvas{image-rendering:auto;background:#0b0d11;border-radius:10px;max-width:100%;max-height:100%;box-shadow:0 24px 60px #00000080}::-webkit-scrollbar{width:10px;height:10px}::-webkit-scrollbar-thumb{background:var(--md-sys-color-outline-variant);border-radius:6px}md-tabs#mobileTabs{display:none}.tabpanels{flex-direction:column;gap:18px;display:flex}@media(max-width:760px){.app{flex-direction:column;height:100vh}.stage{flex:0 0 46vh;order:1;min-height:0;padding:16px}.panel{border-right:none;border-top:1px solid var(--md-sys-color-outline-variant);flex-direction:column;flex:0 0 54vh;order:2;gap:0;width:100%;min-width:0;padding:0;display:flex}.app-title{display:none}md-tabs#mobileTabs{border-bottom:1px solid var(--md-sys-color-outline-variant);--md-primary-tab-container-height:48px;--md-primary-tab-with-icon-and-label-text-container-height:48px;flex:none;display:block}.tabpanels{flex:1;gap:0;min-height:0;padding:16px 20px 20px;overflow-y:auto}.tabpanel{display:none}.tabpanel.active{display:block}}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}
