dialog.avatar-studio-dialog{color:#252525;width:min(888px,100vw - 32px);max-width:none;height:min(642px,100dvh - 40px);max-height:none;text-shadow:none;image-rendering:auto;-webkit-user-select:none;user-select:none;background:#fff;border:0;border-radius:12px;margin:auto;padding:0;font:14px/1.4 Arial,Helvetica,sans-serif;overflow:hidden;box-shadow:0 20px 80px #0003}.office-shell dialog.avatar-studio-dialog,.office-shell dialog.avatar-studio-dialog *{font-family:Arial,Helvetica,sans-serif!important}.avatar-studio-dialog[open]{grid-template-rows:60px minmax(0,1fr) 56px;display:grid}.avatar-studio-dialog[open]:has(.avatar-editor-tabs){grid-template-rows:60px 52px minmax(0,1fr) 56px}.avatar-studio-dialog .avatar-editor-tabs{background:#f5f5f5;padding:8px 24px}.avatar-studio-dialog .avatar-editor-tabs button{border:1px solid #ccc;border-radius:6px;padding:6px 16px}.avatar-studio-dialog .avatar-editor-tabs [aria-pressed=true]{color:#fff;background:#4438e4;border-color:#4438e4}.avatar-studio-dialog::backdrop{-webkit-backdrop-filter:none;backdrop-filter:none;background:#0008}.avatar-studio-dialog *,.avatar-studio-dialog :before,.avatar-studio-dialog :after{box-sizing:border-box}.avatar-studio-dialog button{width:auto;min-width:0;min-height:0;color:inherit;box-shadow:none;font:inherit;text-shadow:none;letter-spacing:normal;text-transform:none;cursor:pointer;background:0 0;border:0;border-radius:8px;margin:0;padding:0;line-height:1.4;transform:none}.avatar-studio-dialog button:disabled{opacity:.45;cursor:default}.avatar-studio-dialog button:focus-visible,.avatar-studio-dialog select:focus-visible{outline-offset:3px;outline:2px solid #4438e4}.avatar-studio-dialog .avatar-studio-header{background:#fff;border-bottom:1px solid #e5e5e5;justify-content:space-between;align-items:center;padding:0 24px;display:flex}.avatar-studio-dialog h2{color:#252525;text-shadow:none;background:0 0;border:0;margin:0;padding:0;font:600 18px/24px Arial,Helvetica,sans-serif}.avatar-studio-body{grid-template-columns:216px minmax(0,1fr);min-height:0;display:grid}.avatar-studio-dialog .avatar-studio-nav{scrollbar-width:thin;background:#f5f5f5;border-right:1px solid #e5e5e5;flex-direction:column;gap:2px;padding:20px 12px;display:flex;overflow-y:auto}.avatar-studio-dialog .avatar-studio-nav button{text-align:left;border-radius:8px;flex:0 0 44px;align-items:center;gap:12px;width:100%;padding:0 12px;font-size:14px;display:flex}.avatar-studio-dialog .avatar-studio-nav button:hover{background:#e9e9ed}.avatar-studio-dialog .avatar-studio-nav button[aria-selected=true]{color:#fff;background:#4438e4}.avatar-studio-category-icon{width:36px;height:36px;image-rendering:pixelated;background-position:50%;background-repeat:no-repeat;background-size:28px 28px;flex:0 0 36px}.avatar-studio-panel{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;min-width:0;min-height:0;padding:24px;display:grid}.avatar-studio-catalog{flex-direction:column;gap:8px;min-width:0;min-height:0;display:flex}.avatar-studio-items{scrollbar-width:thin;scrollbar-color:#c4c4c9 transparent;background:#f5f5f5;border-radius:12px;flex:1;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:88px;align-content:start;gap:8px;min-height:0;padding:12px;display:grid;overflow:hidden auto}.avatar-studio-item{border:2px solid #0000;border-radius:10px;min-width:0;position:relative}.avatar-studio-wallet{color:#3e3b54;align-items:center;gap:7px;margin-left:auto;margin-right:18px;display:flex}.avatar-studio-wallet .tanucoin{width:24px;height:24px;image-rendering:pixelated;background:url(/art/custom-office/tanucoin-16x16.png) 50%/contain no-repeat;flex:0 0 24px;display:inline-block}.avatar-studio-wallet small{color:#666;font-size:10px}.avatar-studio-items{grid-auto-rows:106px}.avatar-studio-choice{position:relative;padding-bottom:22px!important}.avatar-studio-lock{color:#626477;background:#fffefa;border-radius:5px;place-items:center;width:22px;height:22px;display:grid;position:absolute;top:2px;left:2px;box-shadow:0 1px 3px #0001}.avatar-studio-lock svg{width:16px;height:16px}.avatar-studio-price{color:#45425f;white-space:nowrap;font-size:10px;font-weight:700;position:absolute;bottom:3px;left:0;right:0}.is-owned .avatar-studio-price{color:#277451}.avatar-studio-purchase{text-align:center;background:#fffffff2;border:1px solid #fff;border-radius:10px;flex-direction:column;gap:5px;padding:10px;display:flex;position:absolute;bottom:10px;left:10px;right:10px;box-shadow:0 3px 12px #23352d18}.avatar-studio-purchase strong{color:#252535;font-size:13px}.avatar-studio-purchase small{color:#60636c;font-size:11px;line-height:1.3}.avatar-studio-rarity{color:#636477;font-size:10px;font-weight:700}.rarity-3600{color:#3564b8}.rarity-9000{color:#8a44bd}.rarity-18000{color:#9c650c}.avatar-studio-dialog .avatar-studio-buy{color:#fff;background:#4438e4;border-radius:7px;padding:9px 5px;font-size:12px;font-weight:600}.avatar-studio-purchase .avatar-studio-shortfall{color:#a52d36}.avatar-studio-feedback{min-width:0;margin-right:auto}.avatar-studio-footer .avatar-studio-preview-note{color:#646776;font-size:11px}.avatar-studio-stage .avatar-studio-person{transform:translateY(-55px)}.avatar-studio-dialog .avatar-studio-random{top:12px;bottom:auto;right:12px}.avatar-studio-dialog .avatar-studio-animation-toggle{inset:52px auto auto 12px}.avatar-studio-animation-tools{z-index:3}.avatar-studio-item.is-selected{border-color:#4438e4}.avatar-studio-dialog .avatar-studio-choice{justify-content:center;align-items:center;width:100%;height:100%;display:flex}.avatar-studio-dialog .avatar-studio-choice:hover{background:#eaeaf1}.avatar-studio-choice canvas{width:72px;max-width:100%;height:72px;image-rendering:pixelated;object-fit:contain}.avatar-studio-dialog .avatar-studio-remove{color:#fff;z-index:1;background:#4438e4;border-radius:50%;place-items:center;width:20px;height:20px;display:grid;position:absolute;top:-8px;right:-8px}.avatar-studio-remove svg{width:14px;height:14px}.avatar-studio-colors{background:#f5f5f5;border-radius:12px;flex-wrap:wrap;flex:none;gap:8px;padding:12px;display:flex}.avatar-studio-dialog .avatar-studio-swatch{border:2px solid #0000;border-radius:50%;flex:0 0 24px;width:24px;height:24px;position:relative}.avatar-studio-swatch:after{content:"";background:var(--swatch);border-radius:50%;position:absolute;inset:0}.avatar-studio-dialog .avatar-studio-swatch[aria-pressed=true]{border-color:#4438e4}.avatar-studio-swatch[aria-pressed=true]:after{inset:2px}.avatar-studio-stage{background:#d9f0da url(/art/avatar-studio/background.png) 50%/cover no-repeat;border-radius:12px;place-items:center;min-width:0;display:grid;position:relative;overflow:hidden}.avatar-studio-person{pointer-events:none;flex-direction:column;align-items:center;display:flex}.avatar-studio-dialog .avatar-studio-name{z-index:1;color:#fff;pointer-events:auto;overflow-wrap:anywhere;background:#161616;border-radius:8px;align-items:center;gap:4px;max-width:180px;padding:4px 6px;font-size:12px;line-height:16px;display:flex;position:relative}.avatar-studio-dialog .avatar-studio-name:disabled{opacity:1}.avatar-studio-name:after{content:"";border:6px solid #0000;border-top-color:#161616;position:absolute;top:100%;left:calc(50% - 6px)}.avatar-studio-name span{background:#08ce63;border-radius:50%;flex:0 0 8px;width:8px;height:8px}.avatar-studio-avatar{width:80px;height:160px;image-rendering:pixelated;margin-top:-56px}.avatar-studio-dialog .avatar-studio-icon{color:#565656;border-radius:8px;place-items:center;width:32px;height:32px;display:grid}.avatar-studio-dialog .avatar-studio-icon:hover{background-color:#e8e8e8}.avatar-studio-download,.avatar-studio-random,.avatar-studio-animation-toggle{z-index:2;position:absolute;background:#f5f5f5!important}.avatar-studio-download{top:12px;left:12px}.avatar-studio-random{bottom:8px;right:8px}.avatar-studio-animation-toggle{opacity:0;transition:opacity .15s;bottom:8px;left:8px}.avatar-studio-stage:hover .avatar-studio-animation-toggle,.avatar-studio-animation-toggle:focus-visible,.avatar-studio-animation-toggle[aria-expanded=true]{opacity:1}.avatar-studio-animation-tools{z-index:3;background:#fffffff2;border:1px solid #e5e5e5;border-radius:10px;grid-template-columns:1fr 1fr;gap:8px;padding:10px;display:grid;position:absolute;bottom:48px;left:8px;right:8px;box-shadow:0 4px 16px #0001}.avatar-studio-animation-tools label{color:#555;min-width:0;font:12px/1.4 Arial,sans-serif}.avatar-studio-dialog select{color:#252525;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;background:#fff;border:1px solid #ddd;border-radius:6px;width:100%;padding:6px;font:12px Arial,sans-serif;display:block}.avatar-studio-dialog .avatar-studio-footer{background:#fff;border-top:1px solid #e5e5e5;justify-content:flex-end;align-items:center;gap:8px;padding:0 16px 0 24px;display:flex}.avatar-studio-footer p{color:#ba2337;margin:0 auto 0 0;font:12px/1.3 Arial,sans-serif}.avatar-studio-dialog .avatar-studio-footer>button,.avatar-studio-dialog .avatar-studio-confirm button{white-space:nowrap;background:#f5f5f5;padding:8px 12px;font-size:14px}.avatar-studio-dialog button.avatar-studio-done{color:#fff;background:#4438e4}.avatar-studio-dialog button.avatar-studio-done:hover{background:#372bbf}.avatar-studio-confirm{z-index:5;background:#0005;place-items:center;padding:24px;display:grid;position:absolute;inset:0}.avatar-studio-confirm>div{background:#fff;border-radius:12px;width:min(400px,100%);padding:24px;box-shadow:0 8px 32px #0003}.avatar-studio-confirm h3{color:#252525;margin:0 0 12px;font-size:18px}.avatar-studio-confirm p{color:#555;margin:0 0 24px}.avatar-studio-confirm>div>div{justify-content:flex-end;gap:8px;display:flex}@media (max-width:740px){.avatar-studio-body{grid-template-rows:60px minmax(0,1fr);grid-template-columns:1fr}.avatar-studio-dialog .avatar-studio-nav{border:0;border-bottom:1px solid #e5e5e5;flex-direction:row;gap:4px;padding:8px;overflow:auto}.avatar-studio-dialog .avatar-studio-nav button{flex:none;gap:4px;width:auto}.avatar-studio-panel{padding:12px}.avatar-studio-items{grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:76px;padding:8px}.avatar-studio-colors{gap:6px;padding:8px}.avatar-studio-animation-tools{grid-template-columns:1fr}}.avatar-studio-demo{color:#fff;background:#202c30 url(/art/avatar-studio/background.png) 50%/cover;place-items:center;min-height:100dvh;font:16px Arial,sans-serif;display:grid}.avatar-studio-demo-brand{background:#192229e6;border-radius:14px;align-items:center;gap:12px;padding:12px 18px;display:flex;position:absolute;top:28px;left:32px}.avatar-studio-demo-brand span{font-size:30px}.avatar-studio-demo-brand small{color:#bbc3ca}.avatar-studio-demo-card{text-align:center;background:#20232bea;border:1px solid #ffffff25;border-radius:20px;max-width:540px;padding:32px}.avatar-studio-demo-card canvas{width:128px;height:256px;image-rendering:pixelated;margin:-70px auto -12px}.avatar-studio-demo-card h1{font:600 24px Arial,sans-serif}.avatar-studio-demo-card p{color:#c6cad0}.avatar-studio-demo-card button{color:#fff;cursor:pointer;background:#4438e4;border:0;border-radius:8px;padding:12px 20px;font:15px Arial,sans-serif}.avatar-studio-demo-card a{color:#c9c3ff;margin-top:18px;font-size:14px;display:block}.avatar-profile-fields{gap:16px;display:grid}.avatar-editor-tabs{background:#f5f5f5;gap:8px;padding:8px 16px;display:flex}.avatar-editor-tabs button{color:#353535;background:#fff;border:1px solid #ddd;padding:8px 20px}.avatar-editor-tabs [aria-pressed=true]{color:#fff;background:#4438e4}.avatar-studio-body[hidden]{display:none}.avatar-profile-pane{color:#353535;background:#fff;flex:1;grid-template-columns:minmax(0,1fr) 280px;align-items:center;gap:24px;min-height:0;padding:16px 24px;display:grid;overflow:visible}.avatar-profile-fields{gap:6px;max-width:560px;margin:auto;display:grid}.avatar-profile-fields label{gap:4px;display:grid}.avatar-profile-fields input,.avatar-profile-fields textarea,.avatar-profile-fields select{color:#353535;width:100%;min-width:0;font:inherit;-webkit-user-select:text;user-select:text;background:#fff;border:1px solid #ccc;border-radius:6px;padding:7px 10px;line-height:1.3}.avatar-profile-fields textarea{resize:none;height:48px}.profile-bio-field>span{justify-content:space-between;align-items:center;display:flex}.profile-bio-field small{color:#6a6a6a;font-size:11px}.profile-style-field{gap:5px;display:grid}.profile-style-controls{align-items:center;gap:8px;display:flex}.avatar-profile-fields input[type=color]{flex:0 0 72px;width:72px;height:38px;padding:4px}.avatar-profile-fields h3,.avatar-profile-fields p{color:inherit;margin:0}.avatar-profile-fields fieldset{border:0;gap:8px;margin:0;padding:0;display:flex}.avatar-profile-fields{width:100%;font-size:14px}.avatar-profile-fields h3{font-size:18px}.avatar-profile-fields legend{padding:0 0 4px}.avatar-studio-dialog .avatar-sex{background:#f8f9fb;border:2px solid #ddd;place-items:center;gap:4px;min-width:112px;padding:5px 12px;display:flex}.avatar-studio-dialog .avatar-sex-male{color:#307ab9}.avatar-studio-dialog .avatar-sex-female{color:#d44d93}.avatar-studio-dialog .avatar-sex[aria-pressed=true]{background:#f2f5fc;border-color:currentColor}.avatar-sex>span{font-size:26px;line-height:1}.avatar-mini-preview>small{color:#666;margin-bottom:12px;display:block}.avatar-mini-card{background:#fff;border:1px solid #ddd;border-radius:12px;padding-bottom:22px;overflow:hidden;box-shadow:0 8px 32px #0001}.avatar-mini-banner{height:80px}.avatar-mini-portrait{background:#e5e6ea;border:5px solid #fff;border-radius:50%;width:80px;height:80px;margin:-36px 20px 12px;position:relative}.avatar-mini-portrait canvas{width:70px;height:70px;image-rendering:pixelated;border-radius:50%}.avatar-mini-portrait i{background:#41b778;border:3px solid #fff;border-radius:50%;width:17px;height:17px;position:absolute;bottom:0;right:0}.avatar-mini-card h3{overflow-wrap:anywhere;margin:0 20px;font-size:20px}.avatar-mini-card p{color:#666;margin:8px 20px 0;font-size:14px}@media (max-width:650px){dialog.avatar-studio-dialog.is-profile[open]:has(.avatar-editor-tabs){grid-template-rows:48px 40px minmax(0,1fr) 48px;width:calc(100vw - 20px);height:calc(100dvh - 24px)}.is-profile .avatar-editor-tabs{padding:4px 16px}.avatar-profile-pane{grid-template-rows:auto auto;grid-template-columns:1fr;align-content:center;gap:12px;padding:12px 16px}.avatar-mini-preview{order:-1;width:100%;max-width:none;margin:auto}.avatar-mini-preview>small{display:none}.avatar-mini-card{min-height:132px;padding:0 12px 12px 86px;position:relative}.avatar-studio-dialog .avatar-mini-card .avatar-mini-banner{height:40px;margin:0 -12px 6px -86px}.avatar-mini-card .avatar-mini-portrait{border-width:3px;width:64px;height:64px;margin:0;position:absolute;top:34px;left:12px}.avatar-mini-portrait canvas{width:58px;height:58px}.avatar-mini-card h3{margin:0;font-size:16px}.avatar-mini-card p{margin:4px 0 0;font-size:12px}.avatar-studio-dialog .avatar-mini-card .profile-title{margin:4px 0 0}.avatar-profile-fields{gap:6px}.avatar-profile-fields h3{display:none}.avatar-profile-fields textarea{height:64px}}.avatar-mini-card .profile-bio{-webkit-line-clamp:4;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}@media (min-width:651px) and (max-height:700px){.avatar-profile-pane{grid-template-columns:minmax(0,1fr) 220px;gap:20px;padding:12px 20px}.avatar-profile-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.avatar-profile-fields>*{grid-column:1/-1}.avatar-profile-fields h3{display:none}.avatar-profile-fields>label:first-of-type{grid-area:1/1}.avatar-profile-fields>label:last-of-type{grid-area:1/2}}@media (max-width:650px) and (max-height:740px){.avatar-profile-pane{gap:6px;padding:6px 12px}.avatar-profile-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:2px}.avatar-profile-fields>*{grid-column:1/-1}.avatar-profile-fields>label:first-of-type{grid-area:1/1}.avatar-profile-fields>label:last-of-type{grid-area:1/2}.avatar-profile-fields textarea{height:48px}.avatar-mini-card .profile-bio{-webkit-line-clamp:2}.avatar-mini-card{min-height:120px;padding-bottom:8px}.avatar-studio-dialog .avatar-mini-card .avatar-mini-banner{height:28px}.avatar-mini-card .avatar-mini-portrait{width:48px;height:48px;top:24px}.avatar-mini-portrait canvas{width:42px;height:42px}.avatar-mini-card h3{font-size:14px;line-height:18px}}.avatar-studio-dialog .profile-art-trigger{background:#f8f9fb;border:1px solid #ccc;border-radius:6px;align-items:center;gap:8px;height:38px;padding:2px 6px;display:flex}.profile-art-trigger img,.profile-art-trigger .profile-art-flat{object-fit:cover;width:132px;height:32px;image-rendering:pixelated;display:block}.profile-art-trigger.is-background img,.profile-art-trigger.is-background .profile-art-flat{border-radius:50%;width:32px}.avatar-studio-dialog .profile-art-popover{color:#353535;background:#fff;border:1px solid #b7b7b7;border-radius:8px;width:312px;max-height:240px;margin:0;padding:10px;position:fixed;inset:auto;overflow-y:auto;box-shadow:0 8px 24px #0003}.avatar-studio-dialog .profile-art-popover button{border:2px solid #ddd;border-radius:4px;padding:2px;overflow:hidden}.avatar-studio-dialog .profile-art-popover button[aria-pressed=true]{border-color:#36845c}.profile-art-popover img,.profile-art-popover .profile-art-flat{image-rendering:pixelated;object-fit:cover;width:132px;height:32px;display:block}.profile-art-gallery{grid-template-columns:1fr 1fr;gap:8px;margin-top:8px;display:grid}.profile-art-popover.is-background .profile-art-gallery{grid-template-columns:repeat(3,1fr)}.profile-art-popover.is-background img,.profile-art-popover.is-background .profile-art-flat{border-radius:50%;width:64px;height:64px}.avatar-studio-dialog .profile-art-default{align-items:center;gap:8px;width:100%;display:flex}.profile-art-default .profile-art-flat{width:48px}
