:root{color-scheme:light;--figurine-bg: #fff2c9;--figurine-panel: #fffdf8;--figurine-panel-soft: #fff2df;--figurine-panel-quiet: #fff8e8;--figurine-line: #e8cab6;--figurine-line-strong: #d7a98b;--figurine-text: #34251f;--figurine-muted: #7a6d66;--figurine-accent: #2dbfaf;--figurine-accent-soft: #e8faf5;--figurine-accent-ink: #17665d;--figurine-danger: #c95252;--figurine-danger-soft: #fff0eb;--figurine-shadow: rgb(75 49 36 / 14%);--figurine-font: ui-rounded, "SF Pro Rounded", Nunito, Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", sans-serif;font-family:var(--figurine-font);color:var(--figurine-text);background:var(--figurine-bg);font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box}html,body{width:100%;min-width:0;min-height:100%;margin:0;background:var(--figurine-bg)}body{overflow:hidden;color:var(--figurine-text)}button,input,select{font:inherit}button{color:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}:focus-visible{outline:3px solid #7d9f2f;outline-offset:3px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.figurine-shell{width:100vw;height:100dvh;display:grid;grid-template-rows:72px minmax(0,1fr);background:var(--figurine-bg)}.figurine-header{position:relative;z-index:4;display:grid;grid-template-columns:auto minmax(300px,.9fr) auto minmax(max-content,1fr);align-items:center;gap:14px;padding:0 20px;border-bottom:4px solid transparent;border-image:linear-gradient(to right,#f26d6d,#8fcf62,#68b8e8,#35c7b2) 1;background:#fff2c9f7;box-shadow:0 5px 18px var(--figurine-shadow)}.figurine-brand{--pokokit-logo-height: 25px;display:inline-flex;align-items:center;gap:10px;min-width:0;color:inherit;text-decoration:none}.figurine-brand__divider{width:1.5px;height:24px;background:#dfbaa3}.figurine-brand__product{padding:5px 9px 6px;border:1.5px solid #e8cab6;border-radius:999px;background:#fffdf8b8;color:#5f4233;font-size:12px;font-weight:900;letter-spacing:-.01em}.figurine-model-bar{min-width:0;display:block}.figurine-model-bar input,.figurine-dialog input{min-width:0;height:38px;padding:0 12px;color:var(--figurine-text);background:var(--figurine-panel);border:1.5px solid var(--figurine-line);border-radius:12px;outline:none;box-shadow:0 2px 8px #4b312412}.figurine-model-bar input{width:100%}.figurine-edit-mode-switch{flex:0 0 auto;display:flex;align-items:center;gap:3px;padding:3px;border:1.5px solid var(--figurine-line);border-radius:999px;background:#fffdf8e0}.figurine-header .figurine-edit-mode-switch .figurine-mode-button{position:relative;width:30px;min-height:30px;display:inline-grid;place-items:center;padding:0}.figurine-mode-icon{width:18px;height:18px;display:block}.figurine-mode-tooltip{position:absolute;z-index:30;top:calc(100% + 10px);left:50%;width:max-content;padding:6px 8px;border-radius:7px;color:#fffdf8;background:#34251f;box-shadow:0 7px 18px #34251f38;font-size:10px;font-weight:800;line-height:1;pointer-events:none;opacity:0;visibility:hidden;transform:translate(-50%,-3px);transition:opacity .12s ease,transform .12s ease,visibility .12s ease}.figurine-mode-button:hover .figurine-mode-tooltip,.figurine-mode-button:focus-visible .figurine-mode-tooltip{opacity:1;visibility:visible;transform:translate(-50%)}.figurine-model-bar input:focus,.figurine-dialog input:focus{border-color:var(--figurine-accent);box-shadow:0 0 0 3px #2dbfaf26}.figurine-view-switch,.figurine-header-actions{display:flex;align-items:center;gap:5px}.figurine-header-actions{justify-content:flex-end}.figurine-header-dropdown{position:relative;flex:0 0 auto}.figurine-header-dropdown--model{margin-right:3px;padding-right:8px;border-right:1.5px solid var(--figurine-line)}.figurine-header-dropdown--model .figurine-header-dropdown__trigger{color:var(--figurine-muted);background:#fffdf8a6;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:10px;font-weight:800}.figurine-header-dropdown__trigger{display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap}.figurine-header-dropdown__chevron{width:6px;height:6px;flex:0 0 auto;border-right:1.5px solid currentcolor;border-bottom:1.5px solid currentcolor;transform:translateY(-2px) rotate(45deg);transition:transform .14s ease}.figurine-header-dropdown__trigger[aria-expanded=true] .figurine-header-dropdown__chevron{transform:translateY(2px) rotate(225deg)}.figurine-header-dropdown__menu{position:absolute;z-index:20;top:calc(100% + 8px);left:0;width:max-content;min-width:184px;padding:6px;border:1.5px solid var(--figurine-line);border-radius:14px;background:#fffdf8fa;box-shadow:0 12px 30px #4b312433}.figurine-header-dropdown--align-end .figurine-header-dropdown__menu{right:0;left:auto}.figurine-header .figurine-header-dropdown__menu button{width:100%;min-height:36px;display:flex;align-items:center;justify-content:flex-start;padding:0 10px;border-radius:9px;text-align:left;white-space:nowrap}.figurine-header-dropdown__separator{height:1px;margin:5px 7px;background:var(--figurine-line)}.figurine-view-switch{padding:4px;border:1.5px solid var(--figurine-line);border-radius:999px;background:#fffdf8e0}.figurine-hide-inactive-layers{min-height:28px;display:inline-flex;align-items:center;gap:6px;margin-left:3px;padding:0 9px 0 11px;border-left:1.5px solid var(--figurine-line);color:var(--figurine-muted);cursor:pointer;font-size:11px;font-weight:850;white-space:nowrap}.figurine-hide-inactive-layers input{width:14px;height:14px;margin:0;accent-color:var(--figurine-accent-ink);cursor:pointer}.figurine-hide-inactive-layers:has(input:disabled){opacity:.42;cursor:not-allowed}.figurine-hide-inactive-layers input:disabled{cursor:not-allowed}.figurine-header button,.figurine-dialog button{min-height:36px;padding:0 12px;border:1.5px solid transparent;border-radius:999px;background:transparent;cursor:pointer;font-size:12px;font-weight:850;transition:background-color .14s ease,border-color .14s ease,color .14s ease,transform .14s ease}.figurine-header button:hover:not(:disabled),.figurine-dialog button:hover:not(:disabled){border-color:var(--figurine-line);background:var(--figurine-panel-soft)}.figurine-header button:active:not(:disabled),.figurine-dialog button:active:not(:disabled){transform:translateY(1px)}.figurine-header button[aria-pressed=true]{color:var(--figurine-accent-ink);background:var(--figurine-accent-soft);border-color:var(--figurine-accent)}.figurine-header button.is-primary,.figurine-dialog button.is-primary{color:#fffdf8;background:#34251f;border-color:#34251f}.figurine-header button.is-danger{color:#a33f3f;border-color:#efc4b9;background:var(--figurine-danger-soft)}.figurine-header button.is-primary:hover:not(:disabled),.figurine-dialog button.is-primary:hover:not(:disabled){color:#fffdf8;background:#4b342a;border-color:#4b342a}.figurine-header button:disabled,.figurine-dialog button:disabled{opacity:.38;cursor:not-allowed}.figurine-body{min-height:0;display:grid;grid-template-columns:272px minmax(0,1fr)}.figurine-sidebar{position:relative;z-index:3;min-height:0;overflow-y:auto;padding:16px;border-right:1.5px solid var(--figurine-line);background:#fff8e8fa;box-shadow:6px 0 22px #4b312414;scrollbar-color:#d8ad92 transparent;scrollbar-width:thin}.figurine-control-section{padding:17px 2px 19px;border-bottom:1.5px solid var(--figurine-line)}.figurine-control-section:first-child{padding-top:4px}.figurine-control-section:last-child{border-bottom:0}.figurine-section-heading{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:12px}.figurine-section-heading>span{color:var(--figurine-text);font-size:12px;font-weight:900;letter-spacing:.01em}.figurine-section-heading small{color:var(--figurine-muted);font-size:10px;font-weight:750;font-family:ui-monospace,SFMono-Regular,Menlo,monospace}.figurine-material-heading{align-items:center}.figurine-material-heading>small{white-space:nowrap}.figurine-material-tabs{display:inline-grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:2px;padding:2px;border:1.5px solid var(--figurine-line);border-radius:999px;background:var(--figurine-panel-soft)}.figurine-material-tabs button{min-width:43px;height:24px;padding:0 8px;border:0;border-radius:999px;background:transparent;color:var(--figurine-muted);cursor:pointer;font-size:11px;font-weight:900;line-height:1;transition:color .12s ease,background-color .12s ease,box-shadow .12s ease}.figurine-material-tabs button:hover{color:var(--figurine-text)}.figurine-material-tabs button[aria-selected=true]{color:var(--figurine-accent-ink);background:var(--figurine-panel);box-shadow:0 2px 5px #4b31241f}.figurine-block-search{min-width:0;width:100%;height:28px;margin:0 0 12px;padding:0 10px;border:1.5px solid var(--figurine-line);border-radius:999px;outline:0;background:var(--figurine-panel);color:var(--figurine-text);font:inherit;font-size:10px;font-weight:800;transition:border-color .14s ease,box-shadow .14s ease}.figurine-block-search::placeholder{color:var(--figurine-muted);opacity:.78}.figurine-block-search:focus{border-color:var(--figurine-accent);box-shadow:0 0 0 2px #2dbfaf24}.figurine-control-section--palette .figurine-section-heading small{max-width:132px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.figurine-block-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px}.figurine-block-grid button,.figurine-block-grid__empty{aspect-ratio:1;min-width:0;padding:2px;border:1.5px solid var(--figurine-line);border-radius:9px;background:var(--figurine-panel)}.figurine-block-grid button{display:grid;place-items:center;overflow:hidden;cursor:pointer;box-shadow:0 2px 6px #4b312412;transition:transform .12s ease,border-color .12s ease,background-color .12s ease}.figurine-block-grid button:hover{z-index:1;border-color:var(--figurine-line-strong);transform:translateY(-1px) scale(1.05)}.figurine-block-grid button[aria-pressed=true]{border-color:var(--figurine-accent);background:var(--figurine-accent-soft);box-shadow:0 0 0 2px #2dbfaf2e}.figurine-block-grid img{display:block;width:100%;height:100%;object-fit:contain;user-select:none}.figurine-block-grid__empty{border-style:dashed;opacity:.22}.figurine-block-pagination{display:grid;grid-template-columns:32px 1fr 32px;align-items:center;gap:8px;margin-top:10px}.figurine-block-pagination button{width:32px;height:28px;padding:0;border:1.5px solid var(--figurine-line);border-radius:999px;background:var(--figurine-panel);color:var(--figurine-accent-ink);cursor:pointer;font-size:20px;line-height:1}.figurine-block-pagination button:disabled{opacity:.32;cursor:not-allowed}.figurine-block-pagination>span{color:var(--figurine-muted);text-align:center;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:9px;font-weight:800}.figurine-palette{display:grid;grid-template-columns:repeat(6,1fr);gap:8px}.figurine-palette button{position:relative;aspect-ratio:1;display:grid;place-items:center;min-width:0;padding:1px;overflow:hidden;border:1.5px solid var(--figurine-line);border-radius:8px;background:var(--figurine-panel);cursor:pointer;box-shadow:0 2px 6px #4b31241a;transition:transform .14s ease,border-color .14s ease,box-shadow .14s ease}.figurine-palette button:hover{transform:translateY(-2px) scale(1.04)}.figurine-palette button[aria-pressed=true]{border-color:var(--figurine-accent);outline:2px solid rgb(45 191 175 / 28%);outline-offset:1px;box-shadow:0 3px 8px #2dbfaf2e}.figurine-palette img{display:block;width:100%;height:100%;object-fit:contain;user-select:none}.figurine-palette button>.figurine-palette__solid-swatch{position:static;width:calc(100% - 6px);height:calc(100% - 6px);padding:0;border:1px solid rgb(52 37 31 / 20%);border-radius:6px;box-shadow:inset 0 0 0 1px #ffffff47}.figurine-palette button>span{position:absolute;inset:auto 2px 2px;padding:1px 2px;border-radius:999px;background:#34251fb8;color:#fffdf8;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:6px;font-weight:900;line-height:1.2;text-align:center}.figurine-orientation-options{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.figurine-orientation-options button{display:grid;place-items:center;gap:2px;min-width:0;height:48px;padding:4px;border:1.5px solid var(--figurine-line);border-radius:10px;background:var(--figurine-panel);cursor:pointer;box-shadow:0 2px 6px #4b312414;transition:transform .14s ease,border-color .14s ease,background-color .14s ease}.figurine-orientation-options button:hover:not(:disabled){transform:translateY(-1px)}.figurine-orientation-options button[aria-pressed=true]{border-color:var(--figurine-accent);background:var(--figurine-accent-soft);box-shadow:0 0 0 2px #2dbfaf2e}.figurine-orientation-options button:disabled{cursor:not-allowed;opacity:.38}.figurine-orientation-options button>span{color:var(--figurine-text);font-size:21px;font-weight:850;line-height:1}.figurine-orientation-options button>small{color:var(--figurine-muted);font-size:9px;font-weight:800}.figurine-workspace{position:relative;min-width:0;min-height:0;overflow:hidden}.figurine-viewport{position:relative;min-width:0;min-height:0;overflow:hidden;background:#1a1a1a}.figurine-workspace>.figurine-viewport{position:absolute;inset:0}.figurine-viewport__canvas{position:absolute;inset:0;display:block;width:100%;height:100%;outline:none;touch-action:none}.figurine-viewport__hint{position:absolute;left:14px;bottom:55px;display:grid;gap:3px;max-width:min(260px,calc(100% - 28px));padding:8px 10px;color:#5f4233;background:#fff8e899;border:1.5px solid rgb(232 202 182 / 78%);border-radius:12px;box-shadow:0 4px 16px #00000029;font-size:9px;font-weight:750;line-height:1.45;pointer-events:none;backdrop-filter:blur(9px)}.figurine-viewport__hint-row{display:grid;grid-template-columns:max-content 1fr;align-items:baseline;gap:8px;white-space:nowrap}.figurine-viewport__hint-row kbd{color:#3f2b23;font:inherit;font-weight:850}.figurine-viewport__hint-row>span{color:#5f4233c7;font-weight:700}.figurine-statusbar{position:absolute;z-index:4;left:14px;bottom:14px;display:flex;align-items:center;gap:12px;min-height:30px;max-width:calc(100% - 28px);padding:5px 10px;border:1.5px solid rgb(232 202 182 / 84%);border-radius:999px;background:#fff8e8eb;color:var(--figurine-muted);box-shadow:0 4px 16px #00000029;font-size:9px;backdrop-filter:blur(9px)}.figurine-coordinate-status{display:flex;gap:10px}.figurine-coordinate-status strong{color:#5f4233;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-variant-numeric:tabular-nums}.figurine-save-status{display:flex;align-items:center;gap:6px;padding-left:10px;border-left:1px solid var(--figurine-line);white-space:nowrap}.figurine-save-status>span{width:7px;height:7px;border-radius:50%;background:#bba99e}.figurine-save-status.is-saved>span{background:var(--figurine-accent)}.figurine-save-status.is-saving>span,.figurine-save-status.is-pending>span{background:#f4b75e}.figurine-save-status.is-error{color:#a33f3f}.figurine-save-status.is-error>span{background:var(--figurine-danger);box-shadow:0 0 8px #c952526b}.figurine-save-status button{padding:2px 7px;color:#a33f3f;border:1px solid #e2a89c;border-radius:999px;background:var(--figurine-danger-soft);cursor:pointer;font-size:9px}.figurine-dialog-backdrop{position:fixed;z-index:20;inset:0;display:grid;place-items:center;padding:24px;background:#34251f6b;backdrop-filter:blur(8px)}.figurine-dialog{width:min(440px,100%);padding:28px;border:2px solid var(--figurine-line);border-radius:22px;background:var(--figurine-panel);box-shadow:0 28px 80px #4b312447}.figurine-dialog--wide{width:min(620px,100%)}.figurine-dialog__eyebrow{margin-bottom:9px;color:var(--figurine-accent-ink);font-size:9px;font-weight:900;letter-spacing:.16em}.figurine-dialog h2{margin:0 0 10px;color:var(--figurine-text);font-size:23px;line-height:1.2;letter-spacing:-.035em}.figurine-dialog p{margin:0 0 20px;color:var(--figurine-muted);font-size:13px;line-height:1.65}.figurine-dialog-field{display:grid;gap:8px;color:#5f4233;font-size:11px;font-weight:800}.figurine-dialog-field input{width:100%}.figurine-dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:23px}.figurine-dialog button{border-color:var(--figurine-line);background:var(--figurine-panel-soft)}.figurine-dialog button.is-danger{color:#fffdf8;background:var(--figurine-danger);border-color:var(--figurine-danger)}.figurine-png-preview{display:grid;place-items:center;max-height:min(58vh,520px);overflow:hidden;border:1.5px solid var(--figurine-line);border-radius:16px;background-color:#f3eee6;background-image:linear-gradient(45deg,#e4ddd3 25%,transparent 25%),linear-gradient(-45deg,#e4ddd3 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#e4ddd3 75%),linear-gradient(-45deg,transparent 75%,#e4ddd3 75%);background-position:0 0,0 12px,12px -12px,-12px 0;background-size:24px 24px}.figurine-png-preview img{display:block;width:min(100%,500px);max-height:min(58vh,500px);object-fit:contain}.figurine-dialog p.figurine-png-preview__meta{margin:11px 0 0;text-align:center;font-size:10px;font-weight:750}.figurine-png-preview__footer{min-height:38px;display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:23px}.figurine-png-preview__brand{--pokokit-logo-height: 22px;flex:0 0 auto}.figurine-png-preview__footer .figurine-dialog-actions{margin-top:0}.figurine-mobile-gate{display:none;min-height:100dvh;padding:32px;place-items:center;background:radial-gradient(circle at 50% 25%,#fffdf8,var(--figurine-bg) 72%);color:var(--figurine-text)}.figurine-mobile-gate>div{max-width:480px}.figurine-mobile-gate__logo{--pokokit-logo-height: 32px;margin-bottom:26px}.figurine-mobile-gate>div>span{color:var(--figurine-accent-ink);font-size:11px;font-weight:900;letter-spacing:.2em}.figurine-mobile-gate h1{margin:12px 0;font-size:clamp(32px,9vw,54px);line-height:.98;letter-spacing:-.055em}.figurine-mobile-gate p{color:var(--figurine-muted);line-height:1.7}@media(max-width:1560px){.figurine-shell{grid-template-rows:112px minmax(0,1fr)}.figurine-header{grid-template-columns:auto minmax(250px,1fr) auto;grid-template-rows:64px 44px;gap:0 12px;padding:0 16px 4px}.figurine-header-actions{grid-column:3}.figurine-view-switch{grid-row:2;grid-column:1 / -1;justify-self:center}}@media(max-width:899px){body{overflow:auto}.figurine-shell{display:none}.figurine-mobile-gate{display:grid}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition-duration:.01ms!important}}
