:root{--load-swap-duration:.42s;--load-image-duration:.36s;--load-swap-easing:cubic-bezier(.4,0,.6,1)}.loading-swap{min-width:0;position:relative}.loading-swap-content{min-width:0}.loading-swap-content>.login-page,.loading-swap[data-load-phase=revealing]>.loading-swap-content{animation:load-content-in var(--load-swap-duration) var(--load-swap-easing) both}.loading-swap[data-load-phase=revealing]>.loading-swap-placeholder{pointer-events:none;animation:load-placeholder-out var(--load-swap-duration) var(--load-swap-easing) both;position:absolute;inset:0;overflow:hidden}.project-grid-placeholder{display:contents}.project-grid-wide{grid-column:1/-1}@keyframes load-content-in{0%{opacity:0}to{opacity:1}}@keyframes load-placeholder-out{0%{opacity:1}to{opacity:0}}@media (prefers-reduced-motion:reduce){:root{--load-swap-duration:0s;--load-image-duration:0s}.loading-swap-content>.login-page,.loading-swap[data-load-phase=revealing]>.loading-swap-content{animation:none}.loading-swap[data-load-phase=revealing]>.loading-swap-placeholder{opacity:0;animation:none}}.lab-project .project-art{isolation:isolate}.lab-project .cover-button{z-index:0;aspect-ratio:2/3;isolation:isolate;width:100%;height:auto;position:relative;transform:translateZ(0)}.project-cover-art{z-index:0;background:var(--project-cover-placeholder);transform-origin:50%;backface-visibility:hidden;will-change:transform;width:calc(100% + 2px);height:calc(100% + 2px);transition:transform .45s cubic-bezier(.2,.7,.2,1);position:absolute;inset:-1px;transform:translateZ(0)scale(1)}.lab-project .project-cover-art>img{object-fit:cover;backface-visibility:hidden;opacity:0;width:100%;height:100%;transition:opacity .36s;display:block}.lab-project .project-cover-art>img.is-cover-ready{opacity:1}.lab-project .project-cover-art>img.is-cover-instant{transition:none}.lab-project[data-running] .project-cover-art>img{filter:blur(4px)}.lab-project .cover-button:is(:hover,:focus-visible) .project-cover-art{transform:translateZ(0)scale(1.025)}.lab-project:has(.card-menu:hover) .project-cover-art{transform:translateZ(0)scale(1.025)}.lab-project:has(.card-menu:focus-within) .project-cover-art{transform:translateZ(0)scale(1.025)}.home-main .lab-project:hover{transform:translateY(-2px)}.lab-project .card-menu{z-index:8;opacity:0;pointer-events:none;transition:opacity .16s,transform .16s;transform:translateY(-4px)}.lab-project .cover-menu-button{opacity:1}.lab-project:hover .card-menu,.lab-project:focus-within .card-menu{opacity:1;pointer-events:auto;transform:none}.lab-project:has(.cover-menu-button[aria-expanded=true]) .card-menu{opacity:1;pointer-events:auto;transform:none}.project-cover-scan{z-index:10;border-radius:inherit;pointer-events:none;position:absolute;inset:1px}.project-cover-scan svg{fill:none;width:100%;height:100%;display:block;position:absolute;inset:0;overflow:visible}.project-cover-scan rect{fill:none;stroke:var(--brand);stroke-width:2px;rx:calc(var(--project-cover-radius,20px) - 1px);vector-effect:non-scaling-stroke}.project-cover-scan .scan-track{opacity:.18}.project-cover-scan .scan-beam{stroke-dasharray:24 76;stroke-linecap:round;animation:2.4s linear infinite project-cover-scan}@keyframes project-cover-scan{0%{stroke-dashoffset:0}to{stroke-dashoffset:-100px}}.home-is-entering :is(.home-hero>h1,.home-hero>.lab-composer,.home-hero>.keyboard-hint,.library-heading,.projects-grid){animation:.85s cubic-bezier(.22,1,.36,1) .256s both lab-home-enter}@keyframes lab-home-enter{0%{opacity:0;transform:translateY(24px)scale(.95)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes lab-panel-enter{0%{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}.lab-dialog.delete-project-dialog{background:var(--surface);border-radius:28px;width:min(480px,100% - 32px)}.delete-project-dialog[open]{animation:.24s cubic-bezier(.22,1,.36,1) both lab-panel-enter}.delete-project-dialog .dialog-head{min-height:64px;padding-bottom:4px}.delete-project-dialog .dialog-body{color:var(--text-60);padding-bottom:0;font-size:14px;line-height:20px}.delete-project-dialog .dialog-footer{padding-top:24px}.delete-project-dialog .button.project-delete-action{background:var(--danger);color:var(--text-100);border-color:var(--danger)}.delete-project-dialog .button.project-delete-action:focus-visible:not(:hover):not(:disabled){background:var(--danger)}.delete-project-dialog .button.project-delete-action:hover:not(:disabled){background:var(--danger-hover)}.delete-project-dialog .icon-button{border-radius:50%}.delete-project-dialog .icon-button:focus-visible{outline:2px solid var(--brand);outline-offset:2px}@media (prefers-reduced-motion:reduce){.home-is-entering :is(.home-hero>h1,.home-hero>.lab-composer,.home-hero>.keyboard-hint,.library-heading,.projects-grid),.delete-project-dialog[open],.project-cover-scan .scan-beam{animation:none}.lab-project .project-cover-art,.lab-project .project-cover-art>img,.lab-project .card-menu{transition:none}.project-cover-scan rect{stroke-dasharray:none;stroke-dashoffset:0;animation:none!important}.project-cover-scan .scan-track{opacity:1!important}.project-cover-scan rect:not(.scan-track){display:none}}@media (max-width:760px),(hover:none){.lab-project .card-menu{opacity:1;pointer-events:auto;transform:none}}.project-entry-cover{z-index:1000;pointer-events:none;transform-origin:0 0;background:var(--hover);contain:layout paint;will-change:left, top, width, height, border-radius;border-radius:20px;position:fixed;overflow:hidden}.project-entry-cover>img{object-fit:cover;width:100%;height:100%;display:block}.project-meta{overflow:visible}.project-meta-tags{flex:none;align-items:center;gap:8px;min-width:0;display:inline-flex}.project-meta-tags>.status-tag,.project-meta time{flex:none}.project-task-tag{position:relative}.project-task-marker{background:var(--danger);outline:2px solid var(--canvas);border-radius:50%;width:8px;height:8px;position:absolute;top:-2px;right:-2px}.meta-multiplayer-short,.project-meta[data-time=short] .meta-time-full,.project-meta[data-time=none] time,.project-meta[data-multiplayer=short] .meta-multiplayer-full{display:none}.project-meta[data-multiplayer=short] .meta-multiplayer-short{display:inline}.project-meta[data-tight=true] .project-meta-tags{flex:auto}.project-meta[data-tight=true] .project-task-tag{flex:0 auto}.project-status-label{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}@media (max-width:700px){.delete-project-dialog .dialog-head{min-height:56px;padding:8px 12px 0 16px}.delete-project-dialog .dialog-head h2{font-size:20px}.delete-project-dialog .dialog-footer .button{font-size:14px}}.project-cover-arriving{visibility:hidden}.drag-handle{touch-action:none;cursor:grab}.project-sort-source{opacity:.24}.project-sort-ghost{z-index:1100;pointer-events:none;contain:layout style;margin:0;position:fixed}.project-sort-ghost .project-cover-art>img,.project-sort-ghost .drag-handle{opacity:1}.project-entry-cover:after{content:"";border-radius:inherit;box-shadow:inset 0 0 0 1px var(--image-edge);pointer-events:none;position:absolute;inset:0}
.home-hero .lab-composer{flex-direction:column;min-height:182px;max-height:440px;margin-top:64px;padding:16px;display:flex;overflow:hidden}.home-hero .lab-composer:has([data-composer-assets]:not(:empty)){min-height:242px}.home-hero .lab-composer textarea{min-height:64px;caret-color:var(--brand);flex:auto;padding:0;font-size:15px;line-height:24px}.home-hero .lab-composer textarea::placeholder{color:var(--text-20)}.home-hero .composer-bottom{flex-wrap:wrap;flex:none;align-items:flex-end;gap:12px;margin-top:auto;padding-top:12px}.home-hero .composer-tools{gap:8px}.home-hero .lab-composer :is(.tool-button,.mode-option){background:var(--surface);min-height:36px;color:var(--text);padding:0 12px;font-size:13px;font-weight:400;line-height:20px}.home-hero .lab-composer .tool-button:hover:not(:disabled){border-color:var(--strong-line);background:var(--hover)}.home-hero .lab-composer .tool-button:disabled{opacity:.45;color:var(--text-20)}.home-hero .mode-options{flex:none;margin-left:0}.home-hero .mode-option{-webkit-user-select:none;user-select:none;flex-shrink:0}.home-hero .mode-option:has(input:focus-visible){outline-color:var(--brand)}.home-hero .mode-option:has(input:disabled){opacity:.55;cursor:not-allowed;pointer-events:none}.home-hero .lab-composer.is-loading .mode-option:has(input:disabled){opacity:1}.home-hero .switch-track{background:var(--neutral-400);flex:none}.home-hero .switch-track:after{transition:transform .16s,background-color .16s}.home-hero .mode-options:not([data-animate]) .switch-track,.home-hero .mode-options:not([data-animate]) .switch-track:after,.home-hero .lab-composer.is-loading .switch-track,.home-hero .lab-composer.is-loading .switch-track:after{transition:none}.home-hero .send-button{width:36px;height:36px;margin-left:auto}.home-hero .send-button:hover:not(:disabled){background:var(--neutral-900)}@media (max-width:560px){.home-hero .composer-tools{gap:8px 4px}}@media (prefers-reduced-motion:reduce){.home-hero .switch-track,.home-hero .switch-track:after{transition:none}}
.media-viewer .media-close:is(:focus,:focus-visible){box-shadow:none;background:var(--cover-control-hover-bg);outline:none}
:root{--products-badge-text:#ffa184;--products-badge-bg:#5c3228c2;--products-badge-border:#ffa18447;--radius-pill:999px}.sr-only{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.composer-actions{flex-shrink:0;align-items:center;gap:8px;display:inline-flex}.commerce-dialog.lab-dialog{border-radius:36px;width:640px;max-width:calc(100vw - 32px);max-height:min(840px,100dvh - 32px);padding:0;overflow:hidden}.commerce-dialog .dialog-head{align-items:flex-start;padding:24px 24px 0}.commerce-dialog .dialog-body{overscroll-behavior:contain;flex-direction:column;gap:8px;min-height:0;max-height:min(560px,100dvh - 220px);padding:16px 24px;display:flex;overflow-y:auto}.commerce-dialog .dialog-actions{flex-shrink:0;align-items:center;gap:8px;padding:16px 24px 24px;display:flex}.commerce-dialog .dialog-actions .btn-primary{margin-left:auto}.power-catalog-title-row{align-items:center;gap:4px;display:inline-flex}.power-catalog-title-row h2{font:600 20px/28px var(--font-system);margin:0}.power-catalog-title-row .count{background:var(--active);min-width:20px;height:20px;color:var(--text);font:600 12px/16px var(--font-system);border-radius:999px;place-items:center;padding:0 6px;display:inline-grid}.products-heading-icon{width:24px;height:24px;color:var(--text);place-items:center;display:grid}.products-heading-icon svg{width:20px;height:20px}:is(#home-products-btn,#chat-products-btn){box-shadow:none;outline:none}#creator-view.creator-shell #chat-form #chat-products-btn{flex:0 0 36px;justify-content:center;align-items:center;width:36px;height:36px;padding:0;display:inline-flex}#creator-view.creator-shell #chat-form #chat-products-btn:not(:disabled):focus-visible{background:var(--active);border-color:var(--strong-line);color:var(--text)}#creator-view.creator-shell #chat-form #chat-products-btn:disabled{border-color:var(--line);color:#4f4e56;opacity:1;cursor:not-allowed;background:0 0}.commerce-dialog .sr-only{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.product-chips .chip-product{box-sizing:border-box;background:var(--hover);border-color:var(--line);color:#d3d1cf;gap:4px;min-width:0;max-width:100%;height:28px;padding:0 3px 0 8px}.product-chips .chip-product>svg{width:16px;height:16px;color:inherit;flex:none}.product-chips .chip-product-name{text-overflow:ellipsis;white-space:nowrap;min-width:0;max-width:160px;color:inherit;overflow:hidden}.product-chips .chip-product>button{width:20px;height:20px;color:inherit;background:0 0;border:0;border-radius:999px;flex:0 0 20px;place-items:center;padding:0;transition:background-color .16s;display:grid}.product-chips .chip-product>button svg{width:12px;height:12px}.product-chips .chip-product>button:not(:disabled):hover{background:var(--active)}.message-products{background:var(--hover);width:90%;color:var(--text);border-radius:16px;margin:0 0 8px auto;padding:12px}.message-products-header{color:var(--products-badge-text);font:500 13px/20px var(--font-system);align-items:center;gap:4px;margin:0 0 8px;display:inline-flex}.message-products-header svg{width:16px;height:16px;color:inherit}.message-products-list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.message-products-list li{justify-content:space-between;align-items:baseline;gap:12px;display:flex}.message-products-name{min-width:0;font:400 14px/20px var(--font-system);overflow-wrap:anywhere}.message-products-price{color:var(--text-60);font:400 13px/20px var(--font-system);white-space:nowrap;flex:none}.commerce-dialog{background:var(--surface);border:1px solid var(--line);width:640px;max-width:calc(100vw - 32px);max-height:min(840px,100dvh - 32px);color:var(--text);box-shadow:none;border-radius:36px;padding:0;overflow:hidden}.commerce-dialog::backdrop{background:#010101b8}.commerce-dialog .modal-heading-copy{padding:24px}.commerce-dialog .modal-body{overscroll-behavior:contain;flex-direction:column;gap:20px;min-height:0;display:flex;overflow-y:auto}.commerce-dialog .modal-actions{flex-shrink:0;align-items:center;gap:8px}.commerce-dialog .modal-actions .commerce-save{flex:none;margin-left:0}.commerce-dialog .commerce-footer-copy{color:#6b6b70;flex:1;margin:0;font-size:12px;line-height:16px}.commerce-dialog svg{flex-shrink:0;width:20px;height:20px}.commerce-empty{background:var(--hover);border-radius:20px;align-items:center;gap:16px;padding:20px;display:flex}.commerce-symbol{background:var(--active);width:48px;height:48px;color:var(--brand);border-radius:16px;flex-shrink:0;place-items:center;display:grid;overflow:hidden}.commerce-symbol svg{width:24px;height:24px}.commerce-symbol img{object-fit:cover;width:100%;height:100%;display:block}.commerce-empty strong,.product-list-title{font-size:16px;font-weight:600;line-height:24px}.commerce-empty p{color:#6b6b70;margin:4px 0 0;font-size:13px;line-height:20px}.product-list{flex-direction:column;gap:8px;display:flex}.product-row{background:var(--hover);border-radius:20px;align-items:center;gap:12px;min-width:0;padding:16px;display:flex}.product-row .commerce-symbol{border-radius:12px;width:40px;height:40px}.product-row .commerce-symbol svg{width:20px;height:20px}.product-copy{flex:1;min-width:0}.product-copy strong{overflow-wrap:anywhere;font-size:14px;font-weight:600;line-height:20px;display:block}.product-copy p{color:#6b6b70;overflow-wrap:anywhere;margin:4px 0 0;font-size:12px;line-height:20px}.product-row-price{white-space:nowrap;flex-direction:column;flex-shrink:0;align-items:flex-end;gap:4px;font-size:14px;line-height:20px;display:flex}.product-row-price small{color:#6b6b70;font-size:12px}.product-row-actions{flex-shrink:0;gap:0;display:flex}.product-row-actions .icon-btn{flex:0 0 28px;place-items:center;width:28px;min-width:28px;height:28px;min-height:28px;padding:0;display:grid}.product-row-actions .icon-btn svg{width:16px;height:16px}.commerce-dialog .product-editor{border:0;flex-direction:column;gap:16px;min-width:0;margin:0;padding:0;display:flex}:is(#products-dialog,#creator-products-panel) .modal-body>.product-editor{background:var(--hover);border-radius:20px;padding:16px}.product-editor-fields{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr) minmax(0,1.2fr);gap:8px;display:grid}.product-notes-field{grid-column:1/-1}.product-notes-heading{align-items:baseline;gap:8px;display:flex}.product-notes-optional,.product-notes-help{color:var(--text-40,#6b6b70);font-size:12px;font-weight:400;line-height:16px}.product-notes-input{border:1px solid var(--line);background:var(--hover);border-radius:16px;flex-direction:column;min-width:0;height:80px;transition:background-color .16s;display:flex}.product-notes-input:not(:has(textarea:disabled)):is(:hover,:focus-within){background:var(--active)}.product-notes-help{margin:0;font-size:11px;line-height:16px}:is(#products-dialog,#creator-products-panel) .product-editor #product-notes{width:100%;height:100%;min-height:0;color:var(--text);font:400 14px/20px var(--font-system);resize:none;background:0 0;border:0;border-radius:0;outline:none;flex:1;padding:12px 16px;line-height:20px;display:block;overflow-y:auto}.product-input-shell>.product-price-coin{pointer-events:none;font-size:16px;line-height:1;position:absolute;top:50%;left:16px;transform:translateY(-50%)}.product-price-coin,.product-earnings-diamond{width:1em;height:1em;font-family:Apple Color Emoji,Segoe UI Emoji,Noto Color Emoji,sans-serif;font-size:inherit;flex:0 0 1em;place-items:center;font-weight:400;line-height:1;display:inline-grid}.currency-amount{font-variant-numeric:tabular-nums;white-space:nowrap;align-items:center;gap:4px;min-width:0;line-height:1;display:inline-flex}:is(.product-row-notes,.product-message-notes){min-width:0;color:var(--text-40,#6b6b70);white-space:pre-wrap;overflow-wrap:anywhere;margin:0;font-size:12px;font-weight:400;line-height:16px}.product-row-notes{grid-column:1/-1}.product-notes-label{color:var(--text-60,#9a9a9e)}.product-message-notes{flex-basis:100%}.message-products-list li{flex-wrap:wrap;align-items:center}.message-products-price{min-height:20px;color:var(--text);font-variant-numeric:tabular-nums;align-items:center;gap:4px;line-height:1;display:inline-flex}.product-earnings-total{text-align:right;flex-wrap:nowrap;justify-content:flex-end;align-items:center;gap:4px;font-size:16px;font-weight:600;line-height:24px;display:inline-flex}.product-earnings-total strong{color:var(--text);font-size:inherit;line-height:inherit;font-weight:inherit;font-variant-numeric:tabular-nums}.shop-purchase-dialog{width:min(480px,100vw - 32px)}.shop-purchase-body{flex-direction:column;gap:12px;min-height:0;padding:16px 24px;display:flex}.shop-purchase-item{background:var(--hover);border-radius:20px;align-items:center;gap:8px;min-width:0;padding:16px;display:flex}.shop-purchase-cover{background:var(--active);width:56px;height:56px;color:var(--muted);border-radius:12px;flex:0 0 56px;place-items:center;display:grid;overflow:hidden}.shop-purchase-cover img{object-fit:cover;width:56px;height:56px;display:block}.shop-purchase-item>.product-copy{flex-wrap:nowrap;flex:1;align-items:baseline;gap:4px;min-width:0;display:flex}.shop-purchase-item>.product-copy strong{text-overflow:ellipsis;white-space:nowrap;min-width:0;color:var(--text);font-size:16px;font-weight:500;line-height:24px;overflow:hidden}.shop-purchase-item .product-offer-quantity{color:var(--muted);white-space:nowrap;font-variant-numeric:tabular-nums;flex-shrink:0;font-size:14px;font-weight:400;line-height:20px}.shop-purchase-price{color:var(--text);white-space:nowrap;flex-shrink:0;align-items:center;gap:4px;margin-left:auto;font-size:16px;font-weight:600;line-height:24px;display:inline-flex}.shop-purchase-notice{width:100%;min-width:0;color:var(--text-40,#6b6b70);align-items:flex-start;gap:8px;font-size:12px;font-weight:400;line-height:16px;display:flex}.shop-purchase-notice p{overflow-wrap:anywhere;margin:0}.shop-notice-copy{flex-direction:column;gap:4px;min-width:0;display:flex}.shop-purchase-info{width:16px;height:16px;color:var(--brand,#06fdfe);flex:0 0 16px;margin-top:0}.shop-purchase-dialog .modal-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;padding:16px 24px 24px;display:flex}.shop-purchase-dialog .commerce-save{align-items:center;gap:8px;display:inline-flex}.shop-purchase-pay-price{white-space:nowrap;align-items:center;gap:4px;display:inline-flex}.product-editor-footer{justify-content:flex-end;align-items:center;gap:4px;display:flex}#product-detail-popover .power-detail-popover-header{margin-bottom:0}#product-editor .product-editor-footer>.product-editor-close{background:var(--active)}#product-editor .product-editor-footer>.product-editor-close:not(:disabled):is(:hover,:focus-visible){background:#39393f}.product-field-label{text-align:left;min-height:16px;display:block}.product-input-shell{min-width:0;display:block;position:relative}.product-input-shell>[data-icon]{color:#6b6b70;pointer-events:none;place-items:center;width:16px;height:16px;display:grid;position:absolute;top:50%;left:16px;transform:translateY(-50%)}.product-editor label[for=product-name] .product-input-shell>[data-icon]{color:var(--muted)}.product-input-shell>[data-icon] svg{width:16px;height:16px}.product-editor-fields .product-input-shell>[data-icon=coin] svg{transform-origin:50%;transform:scale(1.08)}:is(#products-dialog,#creator-products-panel) .product-editor .editor-field,#playback-settings-panel .playback-select-trigger{border:1px solid var(--line);background:var(--hover);min-width:0;height:42px;box-shadow:none;font-family:var(--font-system);border-radius:999px;outline:none;font-size:14px;font-weight:400;line-height:20px;transition:background-color .16s,border-color .16s}:is(#products-dialog,#creator-products-panel) .product-editor .editor-field:not(:disabled):is(:hover,:focus,:focus-visible),#playback-settings-panel .playback-select-trigger:not(:disabled):is(:hover,:focus,:focus-visible,[aria-expanded=true]){background:var(--active)}.product-editor .product-input-shell .editor-field{padding-left:40px}.commerce-dialog .field-error{color:var(--danger);margin:0;font-size:13px;line-height:20px}:is(#products-dialog,#creator-products-panel) .product-editor .editor-field[aria-invalid=true]{border-color:var(--danger)}.product-earnings{color:#6b6b70;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:8px 16px;min-width:0;padding:8px 0;font-size:12px;line-height:16px;display:flex}.product-earnings-label{font-size:13px;line-height:20px}.product-earnings-values{flex-direction:column;flex:1;align-items:flex-end;gap:4px;min-width:0;display:flex}.product-earnings-total{text-align:right;flex-wrap:wrap;justify-content:flex-end;align-items:baseline;gap:4px 8px;display:flex}.product-earnings-total strong{color:var(--text);font-variant-numeric:tabular-nums;font-size:16px;font-weight:600;line-height:24px}.product-earnings-usd{color:var(--brand);font-variant-numeric:tabular-nums;text-align:right;font-size:12px;line-height:16px}.commerce-explainer{color:#6b6b70;align-items:flex-start;gap:8px;margin:0;font-size:12px;line-height:20px;display:flex}.commerce-explainer svg{width:16px;height:16px;margin-top:2px}.commerce-text-button{color:#d3d1cf;border-radius:999px;padding:8px;font-size:13px;line-height:20px}.commerce-text-button:hover{background:var(--active);color:var(--text)}:is(#products-dialog,#creator-products-panel) .modal-body{gap:8px}.product-catalog{flex-direction:column;gap:12px;min-width:0;display:flex}:is(#products-dialog,#creator-products-panel) .product-add-placeholder{border:1px dashed var(--strong-line);width:100%;min-height:64px;color:var(--muted);font:400 14px/20px var(--font-system);box-shadow:none;background:0 0;border-radius:20px;outline:none;justify-content:center;align-items:center;gap:8px;padding:16px;transition:background-color .16s,border-color .16s,color .16s;display:flex}:is(#products-dialog,#creator-products-panel) .product-add-placeholder:not(:disabled):is(:hover,:focus-visible){background:var(--hover);color:var(--text);border-color:#6b6b70}:is(#products-dialog,#creator-products-panel) .product-add-placeholder:not(:disabled):active{background:var(--active)}:is(#products-dialog,#creator-products-panel) .product-add-placeholder>[data-icon]{flex:0 0 20px;place-items:center;width:20px;height:20px;line-height:0;display:grid}:is(#products-dialog,#creator-products-panel) .product-catalog-row{grid-template-columns:40px minmax(0,1fr) auto auto;gap:12px;transition:background-color .16s;display:grid;position:relative}:is(#products-dialog,#creator-products-panel) .product-catalog-row:has(>.product-row-toggle:not(:disabled):is(:hover,:focus-visible)){background:var(--active)}:is(#products-dialog,#creator-products-panel) .product-catalog-row:has(>.product-row-toggle:not(:disabled):is(:hover,:focus-visible))>.commerce-symbol{background:#39393f}:is(#products-dialog,#creator-products-panel) .product-row-toggle{z-index:1;border-radius:inherit;width:100%;height:100%;box-shadow:none;background:0 0;border:0;outline:none;padding:0;position:absolute;inset:0}:is(#products-dialog,#creator-products-panel) .product-catalog-row>.product-row-actions{z-index:2;position:relative}:is(#products-dialog,#creator-products-panel) .product-row-earnings,:is(#products-dialog,#creator-products-panel) .product-editor>.product-earnings{border-top:1px dashed;border-top-color:var(--line);grid-column:1/-1;padding-top:12px}:is(#products-dialog,#creator-products-panel) .product-row-earnings{grid-template-columns:subgrid;column-gap:inherit;display:grid}:is(#products-dialog,#creator-products-panel) .product-row-earnings-content{grid-column:1/-1;justify-content:space-between;align-items:baseline;gap:8px;min-width:0;display:flex}:is(#products-dialog,#creator-products-panel) .product-row-earnings-content>.product-earnings-label{flex:none}:is(#products-dialog,#creator-products-panel) .product-catalog-row.is-editing{display:block}:is(#products-dialog,#creator-products-panel) .product-catalog-row.is-editing>:not(.product-editor){display:none}:is(#products-dialog,#creator-products-panel) .product-catalog-row.is-editing .product-editor{width:100%}:is(#products-dialog,#creator-products-panel) .product-catalog-row .commerce-symbol{color:var(--muted);transition:background-color .16s}:is(#products-dialog,#creator-products-panel) .product-catalog-row .product-copy{flex-wrap:nowrap;align-items:baseline;gap:4px;display:flex}:is(#products-dialog,#creator-products-panel) .product-catalog-row .product-copy strong{text-overflow:ellipsis;white-space:nowrap;overflow-wrap:normal;min-width:0;color:var(--text);font-size:16px;font-weight:500;line-height:24px;overflow:hidden}:is(#products-dialog,#creator-products-panel) .product-catalog-row .product-copy .product-offer-quantity{color:var(--muted);white-space:nowrap;font-variant-numeric:tabular-nums;flex-shrink:0;font-size:14px;font-weight:400;line-height:20px}:is(#products-dialog,#creator-products-panel) .product-catalog-row .product-row-price{color:var(--text);font-variant-numeric:tabular-nums;flex-direction:row;align-items:center;gap:4px;font-size:16px;font-weight:600;line-height:24px}:is(#products-dialog,#creator-products-panel) .product-catalog-row .product-row-price small{line-height:16px}:is(#products-dialog,#creator-products-panel) .product-row-actions .icon-btn{color:#6b6b70;background:0 0;border:1px solid #0000;border-radius:999px;transition:background .16s,color .16s;transform:none}:is(#products-dialog,#creator-products-panel) .product-row-actions .icon-btn:not(:disabled):is(:hover,:focus-visible){background:var(--hover);color:var(--text);border-color:#0000}:is(#products-dialog,#creator-products-panel) .product-row-actions .icon-btn[data-action=product-remove]:not(:disabled):is(:hover,:focus-visible){color:var(--danger)}.product-message{background:var(--hover);width:100%;min-width:0;max-width:90%;color:var(--muted);overflow-wrap:anywhere;border-radius:16px;flex-direction:column;gap:8px;padding:12px;font-size:12px;line-height:20px;display:flex}.product-message-heading{align-items:center;gap:4px;display:flex}.product-message-count{color:var(--products-badge-text)}.product-message svg{width:16px;height:16px;color:var(--products-badge-text);flex-shrink:0}.product-message-list{flex-direction:column;gap:8px;margin:0;padding:0;list-style:none;display:flex}.product-message-list li{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:4px 12px;margin:0;display:flex}.product-message-item{flex:1;min-width:0}.product-message-item strong{color:var(--text);font-size:14px;font-weight:500}.product-message-quantity,.product-message-price{white-space:nowrap}.chat-scroll :is(.message-images,.message-attachments)~.product-message,.chat-scroll .product-message+.message-body{margin-top:8px}#preview-stage{container-type:inline-size}#preview-stage .game-hud,#preview-stage .game-shop{--game-ink:#eaf6ff;--game-muted:#a8bed2;--game-navy:#0d1b30;--game-raised:#172c45;--game-hover:#223e59;--game-gold:#f2cc80;--game-cyan:#87e7ff;color:var(--game-ink);font-family:var(--ui-font,system-ui)}#preview-stage[data-commerce-theme=meadow] :is(.game-hud,.game-shop){--game-ink:#f7f5df;--game-muted:#c2ccad;--game-navy:#253523;--game-raised:#364b30;--game-hover:#465d3b;--game-gold:#e5c67d;--game-cyan:#b3dec0}#preview-stage[data-commerce-theme=meadow] .game-shop{border-color:#a99862}#preview-stage[data-commerce-theme=meadow] .game-item-art{background:#1e2c1c}#preview-stage :is(.game-hud,.game-shop) button{font:600 13px/20px var(--ui-font,system-ui);cursor:pointer;min-width:0;transition:background .16s,color .16s}#preview-stage :is(.game-hud,.game-shop) button:focus-visible{outline:2px solid var(--game-cyan);outline-offset:2px}#preview-stage :is(.game-hud,.game-shop) button:disabled{opacity:.45;cursor:not-allowed}#preview-stage :is(.game-hud,.game-shop) svg{flex-shrink:0;width:20px;height:20px}#preview-stage .game-hud{z-index:2;background:var(--game-navy);border-radius:16px;gap:8px;padding:12px;display:grid;position:absolute;inset:auto 12px 12px}#preview-stage .game-hud-balance{color:var(--game-muted);justify-content:space-between;align-items:center;gap:8px;font-size:12px;line-height:20px;display:flex}#preview-stage .game-coins{color:var(--game-gold);font-variant-numeric:tabular-nums;justify-content:center;align-items:center;gap:4px;display:inline-flex}#preview-stage .game-hud-actions{grid-template-columns:1fr 1fr;gap:8px;display:grid}#preview-stage .game-button{background:var(--game-raised);min-height:44px;color:var(--game-ink);text-align:center;border:0;border-radius:12px;justify-content:center;align-items:center;gap:8px;padding:8px 12px;display:flex}#preview-stage .game-button:hover:not(:disabled){background:var(--game-hover)}#preview-stage .game-button.game-primary{background:var(--game-gold);color:#172235}#preview-stage .game-button.game-primary:hover:not(:disabled){background:#ffe2aa}#preview-stage .game-button.game-primary .game-coins{color:inherit}#preview-stage .game-hud[inert]{visibility:hidden}#preview-stage .game-shop{z-index:4;background:var(--game-navy);text-align:left;border:2px solid #9b7d45;border-radius:20px;flex-direction:column;min-height:0;display:flex;position:absolute;inset:8px;overflow:hidden}#preview-stage .game-shop-header{flex-shrink:0;justify-content:space-between;align-items:center;gap:8px;padding:12px 12px 8px;display:flex}#preview-stage .game-shop-heading-copy{min-width:0}#preview-stage .game-shop-world{color:var(--game-gold);letter-spacing:1.5px;text-transform:uppercase;white-space:nowrap;text-overflow:ellipsis;margin:0 0 4px;font-size:10px;font-weight:600;line-height:12px;overflow:hidden}#preview-stage .game-shop h2{color:var(--game-ink);letter-spacing:.4px;margin:0;font:600 20px/24px Georgia,serif}#preview-stage .game-shop-close{background:var(--game-raised);width:44px;height:44px;color:var(--game-muted);border:0;border-radius:12px;flex:0 0 44px;justify-content:center;align-items:center;display:flex}#preview-stage .game-shop-close:hover{background:var(--game-hover);color:var(--game-ink)}#preview-stage .game-shop-wallet{background:var(--game-raised);color:var(--game-muted);border-radius:12px;justify-content:space-between;align-items:center;gap:8px;margin:0 12px 8px;padding:8px 12px;font-size:12px;line-height:20px;display:flex}#preview-stage .game-shop-wallet strong{font-size:16px;font-weight:600}#preview-stage .game-shop-tabs{flex-shrink:0;grid-template-columns:1fr 1fr;gap:4px;margin:0 12px 8px;display:grid}#preview-stage .game-shop-tabs[hidden]{display:none}#preview-stage .game-shop-tabs button{min-height:36px;color:var(--game-muted);background:0 0;border:0;border-radius:8px;padding:4px 8px}#preview-stage .game-shop-tabs button:hover{background:var(--game-raised)}#preview-stage .game-shop-tabs button[aria-pressed=true]{background:var(--game-raised);color:var(--game-gold)}#preview-stage .game-shop-body{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--game-hover) transparent;flex:1;min-height:0;padding:0 12px 12px;overflow-y:auto}#preview-stage .game-shop-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}#preview-stage .game-offer{background:var(--game-raised);border-radius:12px;flex-direction:column;gap:8px;min-width:0;padding:8px;display:flex}#preview-stage .game-item-art{background:#0a1426;border-radius:8px;flex-shrink:0;justify-content:center;align-items:center;display:flex;overflow:hidden}#preview-stage .game-item-art img{object-fit:contain;width:100%;height:clamp(72px,24cqw,140px);display:block}#preview-stage .game-item-art>svg{width:40px;height:40px;color:var(--game-cyan);margin:24px}#preview-stage .game-offer-copy{text-align:center;flex:1;min-width:0}#preview-stage .game-offer h3{font:600 14px/20px var(--ui-font,system-ui);overflow-wrap:anywhere;color:var(--game-ink);margin:0}#preview-stage .game-offer p{color:var(--game-cyan);margin:4px 0 0;font-size:12px;line-height:16px}#preview-stage .game-offer .game-button{font-variant-numeric:tabular-nums;gap:4px;width:100%;padding:8px}#preview-stage .game-shop-actions{flex-shrink:0;grid-template-columns:1fr 1.4fr;align-items:stretch;gap:8px;padding:0 12px 12px;display:grid}#preview-stage .game-shop-actions:empty{display:none}#preview-stage .game-shop-actions>.game-button:only-child{grid-column:1/-1}#preview-stage .game-shop-note{text-align:center;color:var(--game-muted);flex-shrink:0;margin:0;padding:0 8px 8px;font-size:10px;line-height:12px}#preview-stage .game-item-detail{text-align:center;flex-direction:column;align-items:center;gap:8px;padding:8px 0 16px;display:flex}#preview-stage .game-item-detail .game-item-art{width:clamp(72px,28cqw,128px)}#preview-stage .game-item-detail .game-item-art img{height:clamp(72px,28cqw,128px)}#preview-stage .game-item-detail h3{overflow-wrap:anywhere;max-width:100%;color:var(--game-ink);margin:0;font:600 20px/24px Georgia,serif}#preview-stage .game-item-detail p{color:var(--game-muted);margin:0;font-size:13px;line-height:20px}#preview-stage .game-item-detail .game-item-quantity{color:var(--game-cyan);font-size:16px;font-weight:600}#preview-stage .game-receipt{background:var(--game-raised);border-radius:12px;gap:12px;padding:12px;display:grid}#preview-stage .game-receipt>div{color:var(--game-muted);justify-content:space-between;align-items:baseline;gap:12px;font-size:12px;line-height:20px;display:flex}#preview-stage .game-receipt strong{text-align:right;overflow-wrap:anywhere;color:var(--game-ink);font-size:14px;font-weight:600}#preview-stage .game-shop-error{color:#ffc0af;margin:12px 0 0;font-size:12px;line-height:20px}#preview-stage .game-result-label{color:var(--game-cyan);justify-content:center;align-items:center;gap:8px;padding:8px 0;font-size:13px;line-height:20px;display:flex}#preview-stage .game-inventory{gap:8px;display:grid}#preview-stage .game-inventory-item{background:var(--game-raised);border-radius:12px;align-items:center;gap:12px;padding:8px;display:flex}#preview-stage .game-inventory-item .game-item-art{width:56px;height:56px}#preview-stage .game-inventory-item .game-item-art img{height:56px}#preview-stage .game-inventory-item>div{flex:1;min-width:0}#preview-stage .game-inventory-item strong{overflow-wrap:anywhere;color:var(--game-ink);font-size:14px;line-height:20px;display:block}#preview-stage .game-inventory-item p{color:var(--game-cyan);margin:4px 0 0;font-size:13px;line-height:20px}#preview-stage .game-inventory-empty{text-align:center;color:var(--game-muted);justify-items:center;gap:12px;padding:24px 8px;font-size:13px;line-height:20px;display:grid}#preview-stage .game-inventory-empty img{object-fit:contain;border-radius:16px;width:96px;height:96px}#preview-stage .game-inventory-empty p{margin:0}@container (max-width:300px){#preview-stage .game-shop-grid{grid-template-columns:minmax(0,1fr)}#preview-stage .game-offer{grid-template-columns:64px minmax(0,1fr);align-items:center;display:grid}#preview-stage .game-offer .game-item-art{grid-row:1/span 2}#preview-stage .game-offer .game-item-art img{height:80px}#preview-stage .game-offer-copy{text-align:left}#preview-stage .game-offer .game-button{grid-column:2}#preview-stage .game-shop-actions{grid-template-columns:minmax(0,1fr)}#preview-stage .game-hud{padding:8px;inset:auto 8px 8px}#preview-stage .game-hud-actions .game-button{gap:4px;padding:8px}}@media (max-width:560px){.commerce-dialog{border-radius:28px;max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}.commerce-dialog .modal-heading-copy{padding:20px 16px}.commerce-dialog .commerce-footer-copy{display:none}.commerce-dialog .modal-actions>.btn{flex:1}.commerce-empty{gap:12px;padding:16px}.product-row{flex-wrap:wrap;padding:12px}.product-row .product-copy{flex-basis:calc(100% - 64px)}.product-row-price{flex:1;align-items:flex-start;margin-left:52px}.product-editor-fields{gap:8px}:is(#products-dialog,#creator-products-panel) .modal-body>.product-editor{padding:12px}.product-field-label{min-height:32px}:is(#products-dialog,#creator-products-panel) .product-catalog-row{grid-template-columns:40px minmax(0,1fr) auto;column-gap:8px}:is(#products-dialog,#creator-products-panel) .product-catalog-row>.commerce-symbol{grid-area:1/1/span 2}:is(#products-dialog,#creator-products-panel) .product-catalog-row .product-copy{grid-area:1/2}:is(#products-dialog,#creator-products-panel) .product-catalog-row .product-row-price{grid-area:2/2;align-items:baseline;margin-left:0}:is(#products-dialog,#creator-products-panel) .product-catalog-row .product-row-actions{flex-direction:column;grid-area:1/3/span 2}#home-form .composer-tools{gap:8px 4px}}.commerce-dialog .icon-btn,.creator-products-panel .icon-btn{width:28px;height:28px;color:var(--text-40);background:0 0;border:1px solid #0000;border-radius:999px;place-items:center;padding:0;display:grid}.commerce-dialog .dialog-head>.icon-btn{width:40px;height:40px;color:var(--muted);margin:16px 16px 0 0}.commerce-dialog .field-error,.creator-products-panel .field-error{color:var(--danger);margin-top:4px;font-size:12px;line-height:16px;display:block}.commerce-dialog .editor-field,.creator-products-panel .editor-field{box-sizing:border-box;border:1px solid var(--line);background:var(--hover);width:100%;height:42px;color:var(--text);font:400 14px/20px var(--font-system);border-radius:999px;outline:none;padding:0 16px 0 40px;transition:background-color .16s}.commerce-dialog .editor-field:not(:disabled):is(:hover,:focus,:focus-visible),.creator-products-panel .editor-field:not(:disabled):is(:hover,:focus,:focus-visible){background:var(--active)}.commerce-dialog .editor-field[aria-invalid=true],.creator-products-panel .editor-field[aria-invalid=true]{border-color:var(--danger)}.product-earnings{border-top:1px dashed var(--line);justify-content:space-between;align-items:baseline;gap:8px;margin-top:12px;padding-top:12px;padding-bottom:8px;display:flex}.product-earnings-label{color:var(--muted);font-size:13px;line-height:20px}.product-earnings-values{color:var(--brand);justify-items:end;gap:4px;display:grid}.product-earnings-total{color:var(--text);align-items:center;gap:4px;font-size:16px;font-weight:600;line-height:24px;display:inline-flex}.product-earnings-usd{font-size:12px;line-height:16px}.product-earnings-approx{color:var(--text-40)}.product-editor-footer>.product-commit{background:var(--brand)!important;color:#031112!important}.product-editor-footer>.product-commit:not(:disabled):is(:hover,:focus-visible){background:color-mix(in srgb, var(--brand) 84%, #000)!important}.product-editor-footer>.product-editor-close{background:var(--active)!important;color:var(--text-80)!important}.creator-products-panel{background:var(--surface);border:1px solid var(--line);border-radius:20px;flex-direction:column;width:28%;min-width:340px;max-width:400px;margin:0;padding:0;display:flex;overflow:hidden}.creator-products-panel>.modal-header{background:0 0;border:0;flex:none;justify-content:space-between;align-items:flex-start;gap:12px;height:auto;padding:0 6px 0 16px;display:flex}.creator-products-panel .modal-heading-copy{flex-direction:column;flex:1;align-items:stretch;gap:4px;min-width:0;padding:12px 0;display:flex}.creator-products-panel .power-catalog-title-row{gap:4px}.creator-products-panel .power-catalog-title-row .products-heading-icon{width:20px;height:20px;color:var(--text);flex:0 0 20px;place-items:center;display:grid}.creator-products-panel .power-catalog-title-row .products-heading-icon svg{width:18px;height:18px}.creator-products-panel #products-heading{font:600 14px/20px var(--font-system);color:var(--text);white-space:nowrap;margin:0}.creator-products-panel .count{flex:none;margin-left:4px}.creator-products-panel .modal-subtitle{color:var(--text-40,#6b6b70);margin:0;font-size:12px;font-weight:400;line-height:16px;display:block}.creator-products-panel #products-close{width:36px;height:36px;color:var(--muted);background:0 0;border:0;border-radius:999px;flex:0 0 36px;align-self:flex-start;place-items:center;margin:6px 0 0 auto;padding:0;transition:background-color .16s,color .16s;display:grid}.creator-products-panel #products-close:is(:hover,:focus-visible){background:var(--hover);color:var(--text)}.creator-products-panel .dialog-body,.creator-products-panel .modal-body{flex-direction:column;flex:1;gap:8px;min-height:0;padding:0 12px 16px;display:flex;overflow-y:auto}.creator-products-panel .dialog-footer.modal-actions,.creator-products-panel .modal-actions{display:none}#creator-products-panel .product-catalog-row{grid-template-columns:56px minmax(0,1fr) 32px;gap:8px;padding:12px}#creator-products-panel .product-catalog-row>.commerce-symbol{border-radius:12px;grid-area:1/1/span 2;width:56px;height:56px;overflow:hidden}#creator-products-panel .product-catalog-row .product-copy{grid-area:1/2;align-self:end;gap:0 4px}#creator-products-panel .product-catalog-row .product-row-price{grid-area:2/2;align-self:start;gap:4px;margin:0}#creator-products-panel .product-catalog-row .product-row-price.currency-amount{font-size:14px;font-weight:500;line-height:20px}#creator-products-panel .product-row-actions{flex-direction:column;grid-area:1/3/span 2;gap:0}#creator-products-panel .product-editor{gap:12px}#creator-products-panel .product-editor-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:12px 8px}#creator-products-panel .product-editor-fields>label:first-child{grid-column:1/-1}#creator-products-panel .product-editor-fields>label{min-width:0;min-height:0}#creator-products-panel .product-field-label{min-height:0}#creator-products-panel .product-add-placeholder{min-height:48px}.creator-products-panel .product-panel-status{background:var(--surface);flex-direction:column;flex:none;gap:12px;padding:12px;display:flex}.creator-products-panel .product-panel-buttons{align-items:center;gap:8px;display:flex}.creator-products-panel .product-panel-status .btn,.creator-products-panel .product-panel-status .btn-primary{background:var(--brand);color:#031112;width:100%;height:44px;min-height:44px;font:500 14px/20px var(--font-system);box-shadow:none;cursor:pointer;border:1px solid #0000;border-radius:999px;justify-content:center;align-items:center;padding:0 20px;transition:background-color .16s,opacity .16s;display:inline-flex}.creator-products-panel .product-panel-status .btn:not(:disabled):is(:hover,:focus-visible),.creator-products-panel .product-panel-status .btn-primary:not(:disabled):is(:hover,:focus-visible){background:color-mix(in srgb, var(--brand) 84%, #000);color:#031112}.creator-products-panel .product-panel-status .btn:disabled,.creator-products-panel .product-panel-status .btn-primary:disabled{opacity:.4;cursor:not-allowed}.badge.products{border:1px solid var(--products-badge-border);background:var(--products-badge-bg);width:32px;height:24px;color:var(--products-badge-text);border-radius:999px;justify-content:center;align-items:center;display:inline-flex}.badge.products svg{width:14px;height:14px}.preview-toolbar{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:12px;display:flex}.editor-shell.has-products-panel .editor-workspace{grid-template-columns:var(--chat-width,32%) minmax(0, 1fr) minmax(340px, 400px)}.editor-shell.has-products-panel .editor-workspace>.creator-products-panel,.editor-shell.has-products-panel .editor-workspace>.commerce-panel{grid-column:3;height:100%;min-height:0}.editor-composer .composer-actions .tool-button{width:36px;padding:0}@media (max-width:1120px){.editor-shell.has-products-panel .editor-workspace{grid-template-columns:minmax(0,1fr)}}.commerce-dialog .dialog-body.modal-body,#products-dialog .dialog-body,#products-dialog .modal-body{gap:8px;padding:8px 24px 16px}#products-dialog .dialog-body>.product-editor,#products-dialog .modal-body>.product-editor,.commerce-dialog .dialog-body>.product-editor,.creator-products-panel .dialog-body>.product-editor{background:var(--hover);border:0;border-radius:20px;flex-direction:column;gap:16px;min-width:0;margin:0;padding:16px;display:flex}.product-editor-fields{align-items:start}.product-icon-field{flex-direction:column;grid-column:1/-1;gap:8px;min-width:0;display:flex}.product-icon-row{align-items:center;gap:12px;display:flex}.product-icon-preview{background:var(--active);width:48px;height:48px;color:var(--muted);border-radius:12px;flex-shrink:0;place-items:center;display:grid;overflow:hidden}.product-icon-preview img{object-fit:cover;width:100%;height:100%}.product-icon-upload{align-items:center;gap:8px;height:40px;display:inline-flex}.product-icon-uri{color:var(--muted);font:400 11px/16px var(--font-system);text-overflow:ellipsis;white-space:nowrap;margin:0;overflow:hidden}.product-editor label{flex-direction:column;gap:8px;min-width:0;display:flex}.product-field-label{min-height:16px;color:var(--text-80,#d3d1cf);font:400 12px/16px var(--font-system);text-align:left;display:block}.product-input-shell{width:100%;min-width:0;display:block;position:relative}#products-dialog .product-editor .editor-field,.creator-products-panel .product-editor .editor-field{box-sizing:border-box;border:1px solid var(--line);background:var(--active);width:100%;min-width:0;height:42px;color:var(--text);font:400 14px/20px var(--font-system);box-shadow:none;appearance:none;-moz-appearance:textfield;text-align:left;border-radius:999px;outline:none;padding:0 16px 0 40px}#products-dialog .product-editor .editor-field::placeholder,.creator-products-panel .product-editor .editor-field::placeholder{color:var(--text-20,#4f4e56);opacity:1}#products-dialog .product-editor .editor-field:not(:disabled):is(:hover,:focus,:focus-visible),.creator-products-panel .product-editor .editor-field:not(:disabled):is(:hover,:focus,:focus-visible){border-color:var(--line);background:#39393f}.product-editor-footer{justify-content:flex-end;align-items:center;gap:4px;margin-top:0;display:flex}#product-editor .product-editor-footer>.icon-btn,.product-editor .product-editor-footer>.icon-btn{border:0;border-radius:999px;flex:0 0 32px;width:32px;min-width:32px;height:32px;min-height:32px}#product-editor .product-editor-footer>.product-editor-close,.product-editor .product-editor-footer>.product-editor-close{background:var(--active);color:#d3d1cf}#product-editor .product-editor-footer>.product-editor-close:not(:disabled):is(:hover,:focus-visible),.product-editor .product-editor-footer>.product-editor-close:not(:disabled):is(:hover,:focus-visible){color:var(--text);background:#39393f}#product-editor .product-editor-footer>.product-commit,.product-editor .product-editor-footer>.product-commit{background:var(--brand);color:#031112}#product-editor .product-editor-footer>.product-commit:not(:disabled):is(:hover,:focus-visible),.product-editor .product-editor-footer>.product-commit:not(:disabled):is(:hover,:focus-visible){background:color-mix(in srgb, var(--brand) 84%, #000);color:#031112}#product-editor .product-editor-footer>.product-commit:disabled,.product-editor .product-editor-footer>.product-commit:disabled{opacity:.4}#products-dialog .dialog-footer.modal-actions{justify-content:flex-end;align-items:center;gap:8px;padding:16px 24px 24px;display:flex}#products-dialog .dialog-footer .button.secondary{margin-right:0}.product-catalog-row.is-editing{background:var(--hover);padding:16px}.product-catalog-row.is-editing>.product-editor{background:0 0;padding:0}dialog#products-dialog.lab-dialog.commerce-dialog{box-sizing:border-box;border:1px solid var(--line);background:var(--surface);width:min(640px,100vw - 32px);min-width:min(640px,100vw - 32px);max-width:calc(100vw - 32px);max-height:min(840px,100dvh - 32px);color:var(--text);text-align:left;border-radius:36px;margin:auto;padding:0;overflow:hidden}dialog#products-dialog .products-dialog-header.dialog-head.with-subtitle{grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:0;min-height:0;padding:0;display:grid}dialog#products-dialog .products-dialog-heading{text-align:left;flex-direction:column;align-items:flex-start;gap:4px;min-width:0;padding:24px;display:flex}dialog#products-dialog .products-dialog-heading .dialog-subtitle{color:var(--text-40,#6b6b70);text-align:left;white-space:normal;text-overflow:unset;margin:0;font-size:14px;font-weight:400;line-height:20px;overflow:visible}dialog#products-dialog .products-dialog-close.icon-button{width:40px;height:40px;color:var(--muted);margin:16px 16px 0 0}dialog#products-dialog .dialog-body.modal-body{overscroll-behavior:contain;flex-direction:column;gap:8px;min-height:0;max-height:none;padding:0 24px;display:flex;overflow-y:auto}dialog#products-dialog .dialog-body>.product-editor,dialog#products-dialog .modal-body>.product-editor{background:var(--hover);border:0;border-radius:20px;flex-direction:column;gap:16px;min-width:0;margin:0;padding:16px;display:flex}dialog#products-dialog .product-editor-fields{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr) minmax(0,1.2fr);align-items:start;gap:8px;display:grid}dialog#products-dialog .product-field-label{min-height:16px;color:var(--text-80,#d3d1cf);font:400 12px / 16px var(--font-system);text-align:left;display:block}dialog#products-dialog .product-editor .editor-field{border:1px solid var(--line);background:var(--active);text-align:left;border-radius:999px;height:42px;padding:0 16px 0 40px}dialog#products-dialog .product-editor .editor-field::placeholder{color:var(--text-20,#4f4e56);opacity:1}dialog#products-dialog .product-editor-footer{justify-content:flex-end;align-items:center;gap:4px;display:flex}dialog#products-dialog .dialog-footer.modal-actions{background:0 0;border:0;flex-shrink:0;justify-content:flex-end;align-items:center;gap:8px;padding:16px 24px 24px;display:flex}dialog#products-dialog .dialog-footer .button{height:44px;min-height:44px;padding:0 20px}@media (max-width:760px){dialog#products-dialog.lab-dialog.commerce-dialog{border-radius:28px;width:calc(100vw - 16px);min-width:0;max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}dialog#products-dialog .products-dialog-heading{padding:20px 16px}dialog#products-dialog .products-dialog-close.icon-button{margin:12px 12px 0 0}dialog#products-dialog .dialog-body.modal-body{padding:0 16px}dialog#products-dialog .dialog-body>.product-editor{padding:12px}dialog#products-dialog .product-field-label,.product-field-label{align-items:flex-end;min-height:32px;display:flex}dialog#products-dialog .dialog-footer.modal-actions{padding:16px}dialog#products-dialog .dialog-footer .button{flex:1}}
.workspace-skeleton-module__xIGxIG__shell{min-height:100dvh}.workspace-skeleton-module__xIGxIG__block{background:var(--project-cover-placeholder);border:1px solid #0000;border-radius:8px;animation:1.6s ease-in-out infinite workspace-skeleton-module__xIGxIG__pulse}.workspace-skeleton-module__xIGxIG__brand{width:130px;height:32px}.workspace-skeleton-module__xIGxIG__actions{align-items:center;gap:16px;display:flex}.workspace-skeleton-module__xIGxIG__action{width:70px;height:28px}.workspace-skeleton-module__xIGxIG__avatar{border-radius:50%;width:32px;height:32px}.workspace-skeleton-module__xIGxIG__cover{aspect-ratio:2/3;background:var(--project-cover-placeholder);border:0;border-radius:20px;animation:none}.workspace-skeleton-module__xIGxIG__title{width:70%;height:18px;margin:16px 0 12px}.workspace-skeleton-module__xIGxIG__message{width:90%;height:100px}@keyframes workspace-skeleton-module__xIGxIG__pulse{50%{opacity:.45}}@media (prefers-reduced-motion:reduce){.workspace-skeleton-module__xIGxIG__block{animation:none}}.workspace-skeleton-module__xIGxIG__openingScreen{border-radius:inherit;width:100%;height:100%}.workspace-skeleton-module__xIGxIG__guide{border-radius:0 0 4px 4px;width:36px;height:56px;position:absolute;top:0}.workspace-skeleton-module__xIGxIG__cardTitle{border-radius:999px;width:70%;height:24px;margin-bottom:4px}.workspace-skeleton-module__xIGxIG__cardMeta{align-items:center;height:28px;display:flex}.workspace-skeleton-module__xIGxIG__cardMeta>.workspace-skeleton-module__xIGxIG__block{border-radius:999px;width:40%;height:24px}
.project-generating-dots{white-space:nowrap;display:inline-flex}.project-generating-dots>span{opacity:0;animation:1.6s step-end infinite project-dot}.project-generating-dots>span:nth-child(2){animation-name:project-dot-two}.project-generating-dots>span:nth-child(3){animation-name:project-dot-three}@keyframes project-dot{0%{opacity:0}25%,to{opacity:1}}@keyframes project-dot-two{0%{opacity:0}50%,to{opacity:1}}@keyframes project-dot-three{0%{opacity:0}75%,to{opacity:1}}@media (prefers-reduced-motion:reduce){.project-generating-dots>span{opacity:1;animation:none}}
.project-library-error-state>.button.secondary{background:var(--active);min-width:120px;height:40px;color:var(--text-100);font:500 14px/20px var(--font-system);box-shadow:none;border:0;border-radius:999px;gap:8px;margin-top:24px;padding:0 16px;transform:none}.project-library-error-state>.button.secondary:not(:disabled):is(:hover,:focus-visible){background:var(--button-secondary-hover-bg);outline:none}.project-library-error-state>.button.secondary:disabled{opacity:1;cursor:wait}.project-library-error-state .library-retry-spinner{border:2px solid var(--text-20);border-top-color:var(--text-100);border-radius:50%;flex:none;width:16px;height:16px;animation:.8s linear infinite library-retry-spin}@keyframes library-retry-spin{to{transform:rotate(360deg)}}@media (prefers-reduced-motion:reduce){.project-library-error-state .library-retry-spinner{animation:none}}.project-pin-marker{z-index:8;width:36px;height:36px;color:var(--brand);background:var(--cover-control-bg);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);pointer-events:none;border-radius:999px;place-items:center;display:grid;position:absolute;top:8px;left:8px}.project-library-results:focus{outline:none}
.editor-header .editor-actions :is(button,a):is(:focus,:focus-visible),.editor-header [aria-label="Back to projects"]:is(:focus,:focus-visible){box-shadow:none;outline:none}.editor-header .editor-actions .icon-button:focus-visible,.editor-header [aria-label="Back to projects"]:focus-visible{background:var(--hover);color:var(--text-100)}.editor-header .editor-actions .button:focus-visible{background:var(--button-secondary-hover-bg);border-color:var(--create-border-strong)}.editor-header .editor-actions .publish-button:is(:hover,:focus-visible):not(:disabled){background:var(--brand-hover);color:var(--brand-ink);border-color:#0000}.editor-header .editor-actions .multiplayer-test-button[aria-expanded=false]:focus-visible:not(:disabled){color:var(--brand);border-color:var(--brand)}.editor-header .publish-button:focus-visible{border-color:#0000}.editor-header .editor-guide{width:40px;height:40px}.multiplayer-test-icon{flex:0 0 20px;place-items:center;width:20px;height:20px;line-height:0;display:grid}@media (max-width:700px){.editor-header .multiplayer-test-button{justify-content:center;width:36px;padding:0;display:inline-flex}.editor-header .multiplayer-test-labels{display:none}}.history-popover{flex-direction:column;display:flex;overflow:visible}.history-popover>header{flex-shrink:0}.history-popover .history-list{flex:1;min-height:0;overflow:auto}.history-popover .history-note{flex-shrink:0}.history-resizer{touch-action:none;cursor:ew-resize;outline:none;width:12px;position:absolute;top:16px;bottom:16px;right:-6px}.editor-header .title-edit:is(:focus,:focus-visible){box-shadow:none;background:var(--hover);outline:none}
.mcp-card-module__wQYqlW__card{box-sizing:border-box;border:1px solid var(--line);background:var(--active);width:min(100%,360px);color:var(--text-100);text-align:left;border-radius:16px;align-items:center;gap:12px;padding:12px;display:flex}.mcp-card-module__wQYqlW__action{cursor:pointer;transition:background .12s}.mcp-card-module__wQYqlW__action:hover{background:var(--button-secondary-hover-bg)}.mcp-card-module__wQYqlW__action:active{opacity:.88}.mcp-card-module__wQYqlW__action:focus-visible{outline:2px solid var(--brand);outline-offset:4px}.mcp-card-module__wQYqlW__icon{width:20px;height:20px;-webkit-mask:var(--icon) center / contain no-repeat;mask:var(--icon) center / contain no-repeat;background:currentColor;flex-shrink:0;display:inline-block;-webkit-mask-source-type:luminance;mask-mode:luminance}.mcp-card-module__wQYqlW__artwork{width:40px;height:40px;color:var(--brand);flex-shrink:0;place-items:center;display:grid}.mcp-card-module__wQYqlW__cover{aspect-ratio:2/3;background:var(--project-cover-placeholder);border-radius:8px;flex:0 0 32px;width:32px;height:48px;display:block;overflow:hidden}.mcp-card-module__wQYqlW__cover img{object-fit:cover;width:100%;height:100%;display:block}.mcp-card-module__wQYqlW__copy{flex:1;gap:4px;min-width:0;display:grid}.mcp-card-module__wQYqlW__copy strong{font-size:13px;font-weight:500;line-height:20px}.mcp-card-module__wQYqlW__copy small{color:var(--text-40);text-overflow:ellipsis;white-space:nowrap;font-size:11px;line-height:16px;overflow:hidden}.mcp-card-module__wQYqlW__trailing{width:24px;height:24px;color:var(--text-60);flex-shrink:0;place-items:center;display:grid}.mcp-card-module__wQYqlW__trailing .mcp-card-module__wQYqlW__icon{width:16px;height:16px}.mcp-card-module__wQYqlW__publication{min-width:0;max-width:100%;font-family:var(--font-system);transition:background-color .16s,border-color .16s;overflow:hidden}.mcp-card-module__wQYqlW__publication:hover{border-color:var(--strong-line)}.mcp-card-module__wQYqlW__publication:active{opacity:1}.mcp-card-module__wQYqlW__publication:focus-visible{outline:2px solid var(--text-100);outline-offset:2px}.mcp-card-module__wQYqlW__publication .mcp-card-module__wQYqlW__copy{flex-direction:column;display:flex}.mcp-card-module__wQYqlW__publication .mcp-card-module__wQYqlW__copy strong{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.mcp-card-module__wQYqlW__publication .mcp-card-module__wQYqlW__trailing>svg{transition:transform .16s}.mcp-card-module__wQYqlW__publication:hover .mcp-card-module__wQYqlW__trailing>svg{transform:translate(2px)}@media (prefers-reduced-motion:reduce){.mcp-card-module__wQYqlW__action,.mcp-card-module__wQYqlW__publication .mcp-card-module__wQYqlW__trailing>svg{transition:none}.mcp-card-module__wQYqlW__publication:hover .mcp-card-module__wQYqlW__trailing>svg{transform:none}}
.audio-result-card-module__GcjJQq__container{width:min(100%,280px)}.audio-result-card-module__GcjJQq__card{width:100%;position:relative;overflow:hidden}.audio-result-card-module__GcjJQq__name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.audio-result-card-module__GcjJQq__playing{color:var(--brand)}.audio-result-card-module__GcjJQq__progress{background:var(--brand);pointer-events:none;height:2px;position:absolute;bottom:0;left:0}.audio-result-card-module__GcjJQq__card{transition:background-color .16s,border-color .16s}.audio-result-card-module__GcjJQq__card:hover{border-color:var(--strong-line)}.audio-result-card-module__GcjJQq__card:focus-visible{outline:2px solid var(--text-100);outline-offset:2px}.audio-result-card-module__GcjJQq__symbol{background:var(--surface);border-radius:12px}.audio-result-card-module__GcjJQq__loading .audio-result-card-module__GcjJQq__control{opacity:.5}.audio-result-card-module__GcjJQq__failed small{color:var(--danger)}@media (prefers-reduced-motion:reduce){.audio-result-card-module__GcjJQq__card{transition:none}}.audio-result-card-module__GcjJQq__container{font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,PingFang SC,Hiragino Sans GB,Microsoft YaHei,Arial,sans-serif}
:root{--load-swap-duration:.42s;--load-image-duration:.36s;--load-swap-easing:cubic-bezier(.4,0,.6,1)}.loading-swap{min-width:0;position:relative}.loading-swap-content{min-width:0}.loading-swap-content>.login-page,.loading-swap[data-load-phase=revealing]>.loading-swap-content{animation:load-content-in var(--load-swap-duration) var(--load-swap-easing) both}.loading-swap[data-load-phase=revealing]>.loading-swap-placeholder{pointer-events:none;animation:load-placeholder-out var(--load-swap-duration) var(--load-swap-easing) both;position:absolute;inset:0;overflow:hidden}.project-grid-placeholder{display:contents}.project-grid-wide{grid-column:1/-1}@keyframes load-content-in{0%{opacity:0}to{opacity:1}}@keyframes load-placeholder-out{0%{opacity:1}to{opacity:0}}@media (prefers-reduced-motion:reduce){:root{--load-swap-duration:0s;--load-image-duration:0s}.loading-swap-content>.login-page,.loading-swap[data-load-phase=revealing]>.loading-swap-content{animation:none}.loading-swap[data-load-phase=revealing]>.loading-swap-placeholder{opacity:0;animation:none}}.generated-image-gallery{width:min(var(--gallery-width),100%);grid-template-columns:repeat(auto-fit,minmax(min(200px,50% - 4px),1fr));align-items:start;gap:8px;margin-top:12px;display:grid}.chat-messages .generated-image-gallery{margin-top:0}.generated-image-gallery[data-count="1"]{grid-template-columns:1fr}.generated-image-tile{background:var(--surface);width:100%;color:var(--text-80);cursor:pointer;border:0;border-radius:16px;padding:0;display:block;position:relative;overflow:hidden}.generated-image-tile img{object-fit:contain;opacity:0;width:100%;height:auto;transition:opacity var(--load-swap-duration) var(--load-swap-easing);display:block}.generated-image-placeholder{pointer-events:none;opacity:1;transition:opacity var(--load-swap-duration) var(--load-swap-easing);position:absolute;inset:0}.generated-image-placeholder>i{background:var(--project-cover-placeholder);width:100%;height:100%;animation:1.2s ease-in-out infinite alternate generated-image-breathe;display:block}.generated-image-tile:not([data-state=loading]) .generated-image-placeholder{opacity:0}.generated-image-tile:not([data-state=loading]) .generated-image-placeholder>i{animation-play-state:paused}.generated-image-tile[data-state=ready] img{opacity:1}.generated-image-tile[data-state=loading] img,.generated-image-tile[data-state=error] img{opacity:0}.generated-image-error{animation:load-content-in var(--load-swap-duration) var(--load-swap-easing) both;place-items:center;font-size:12px;display:grid;position:absolute;inset:0}@keyframes generated-image-breathe{0%{opacity:.5}to{opacity:.95}}.generated-viewer-overlay{z-index:200;background:var(--overlay-backdrop);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);position:fixed;inset:0}.generated-viewer{z-index:201;pointer-events:none;outline:none;place-items:center;display:grid;position:fixed;inset:96px 24px 72px}.generated-viewer-image{object-fit:contain;pointer-events:auto;border-radius:24px;width:auto;max-width:100%;height:auto;min-height:0;max-height:100%;display:block}.generated-viewer-close{right:24px;top:max(24px,env(safe-area-inset-top));position:fixed}.generated-viewer-close,.generated-viewer-nav button{background:var(--cover-control-bg);width:48px;height:48px;color:var(--text-100);cursor:pointer;pointer-events:auto;box-shadow:none;border:0;border-radius:999px;outline:none;place-items:center;display:grid}.generated-viewer-close:is(:hover,:focus-visible){background:var(--cover-control-hover-bg)}.generated-viewer-close:is(:focus,:focus-visible){outline-offset:0;box-shadow:none;outline:none}.generated-viewer-nav button:not([aria-disabled=true]):hover,.generated-viewer-nav button:not([aria-disabled=true]):focus{background:var(--active);box-shadow:none;outline:none}.generated-viewer-nav{left:50%;bottom:max(12px,env(safe-area-inset-bottom));font-variant-numeric:tabular-nums;justify-content:center;align-items:center;gap:16px;font-size:14px;line-height:20px;display:flex;position:fixed;transform:translate(-50%)}.generated-viewer-nav button[aria-disabled=true]{opacity:.35;cursor:default}@media (max-width:560px){.generated-viewer{inset:80px 16px 64px}.generated-viewer-close{right:16px}}@media (prefers-reduced-motion:reduce){.generated-image-placeholder>i,.generated-image-error{animation:none!important}.generated-image-tile img,.generated-image-placeholder{transition:none}}.generated-image-tile:disabled{opacity:1;cursor:wait}
.generation-retry-module__sAfKgW__button{background:var(--depth-active);height:32px;min-height:32px;color:var(--text-100);font:500 12px/16px var(--font-system);box-shadow:none;border:0;border-radius:999px;justify-self:start;margin-top:8px;padding:0 12px;transform:none}.generation-retry-module__sAfKgW__button:not(:disabled):is(:hover,:focus-visible){background:var(--button-secondary-hover-bg);outline:none}.generation-retry-module__sAfKgW__button:disabled{color:var(--text-100);opacity:.5;cursor:default}
.chat-generation-error{background:var(--depth-surface);border:0;border-radius:12px;align-items:flex-start;gap:8px;margin:0 0 24px;padding:12px 16px;display:flex}.chat-generation-error>svg{width:20px;height:20px;color:var(--danger);fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;flex:0 0 20px}.chat-generation-error-copy{gap:4px;min-width:0;display:grid}.chat-generation-error-copy strong{color:var(--danger);font-size:14px;font-weight:600;line-height:20px}.chat-generation-error-copy p{color:var(--text-60);overflow-wrap:anywhere;margin:0;font-size:14px;font-weight:400;line-height:20px}
:root{--load-swap-duration:.42s;--load-image-duration:.36s;--load-swap-easing:cubic-bezier(.4,0,.6,1)}.loading-swap{min-width:0;position:relative}.loading-swap-content{min-width:0}.loading-swap-content>.login-page,.loading-swap[data-load-phase=revealing]>.loading-swap-content{animation:load-content-in var(--load-swap-duration) var(--load-swap-easing) both}.loading-swap[data-load-phase=revealing]>.loading-swap-placeholder{pointer-events:none;animation:load-placeholder-out var(--load-swap-duration) var(--load-swap-easing) both;position:absolute;inset:0;overflow:hidden}.project-grid-placeholder{display:contents}.project-grid-wide{grid-column:1/-1}@keyframes load-content-in{0%{opacity:0}to{opacity:1}}@keyframes load-placeholder-out{0%{opacity:1}to{opacity:0}}@media (prefers-reduced-motion:reduce){:root{--load-swap-duration:0s;--load-image-duration:0s}.loading-swap-content>.login-page,.loading-swap[data-load-phase=revealing]>.loading-swap-content{animation:none}.loading-swap[data-load-phase=revealing]>.loading-swap-placeholder{opacity:0;animation:none}}
.game-player-frame-module__hanPKW__frame{width:100%;height:100%;position:relative}.game-player-frame-module__hanPKW__frame iframe{border:0;width:100%;height:100%;display:block}.game-player-frame-module__hanPKW__loading{background:var(--surface);color:var(--muted);text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:24px;display:flex;position:absolute;inset:0}.game-player-frame-module__hanPKW__loading p{margin:0}.game-player-frame-module__hanPKW__loading button{border:1px solid var(--line);color:var(--text-100);border-radius:8px;padding:8px 14px}.game-player-frame-module__hanPKW__loading button:focus-visible{outline:2px solid var(--brand);outline-offset:2px}.game-player-frame-module__hanPKW__frame iframe{opacity:0;transition:opacity var(--load-swap-duration) var(--load-swap-easing)}.game-player-frame-module__hanPKW__frame[data-preview-state=ready] iframe{opacity:1}.game-player-frame-module__hanPKW__frame[data-load-phase=revealing] .game-player-frame-module__hanPKW__loading{pointer-events:none;animation:game-player-frame-module__hanPKW__load-placeholder-out var(--load-swap-duration) var(--load-swap-easing) both}@media (prefers-reduced-motion:reduce){.game-player-frame-module__hanPKW__frame iframe{transition:none}.game-player-frame-module__hanPKW__frame[data-load-phase=revealing] .game-player-frame-module__hanPKW__loading{opacity:0;animation:none}}
.preview-actions .screenshot-button{flex-shrink:0;transition:background-color .16s,border-color .16s,color .16s}.preview-actions .screenshot-button>svg{flex:none;width:16px;height:16px}.preview-actions .screenshot-button:not(:disabled):active{opacity:.88}.preview-actions .screenshot-button:focus-visible{outline:2px solid var(--brand);outline-offset:3px}.preview-actions .screenshot-button:disabled{color:var(--text-20);border-color:var(--line);cursor:not-allowed}.preview-actions .screenshot-button[aria-busy=true]{color:var(--text-100);cursor:progress}.preview-actions .secondary-icon[data-screenshot-busy=true]:disabled{opacity:1;color:var(--text-100);background:var(--create-input);cursor:not-allowed}@media (prefers-reduced-motion:reduce){.preview-actions .screenshot-button{transition:none}.preview-actions .screenshot-button .spin{animation:none}}
.preview-layout-module__s1BIQW__canvas{container-type:size}.preview-layout-module__s1BIQW__canvas>.preview-layout-module__s1BIQW__frame.play-frame{aspect-ratio:2/3;width:min(100cqw,66.6667cqh);height:auto}.preview-layout-module__s1BIQW__canvas.landscape>.preview-layout-module__s1BIQW__frame.play-frame{aspect-ratio:3/2;width:min(100cqw,150cqh)}.preview-layout-module__s1BIQW__gameViewport{width:100%;height:100%;position:relative;overflow:hidden}.preview-layout-module__s1BIQW__gameContent{transform:scale(var(--game-scale,1));transform-origin:0 0;position:absolute;top:0;left:0}.preview-layout-module__s1BIQW__gameContent iframe{background:var(--depth-preview);border:0;width:100%;height:100%;display:block}:is(.preview-layout-module__s1BIQW__gameContent>[role=status],.preview-layout-module__s1BIQW__gameContent>[role=alert]){text-align:center;align-content:center;justify-items:center;gap:12px;width:100%;height:100%;margin:0;padding:24px;display:grid}.preview-layout-module__s1BIQW__multiplayer{flex-direction:column;flex:1;width:100%;min-width:0;min-height:0;display:flex}.editor-shell.chat-collapsed .preview-layout-module__s1BIQW__multiplayer:not(.preview-layout-module__s1BIQW__single){width:calc(100% + 32px);margin-inline:-16px}.preview-layout-module__s1BIQW__scroller{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--line) transparent;flex:1;min-width:0;min-height:0;padding:0 16px 12px;overflow:scroll auto}.preview-layout-module__s1BIQW__players{align-items:center;gap:16px;width:max-content;min-width:100%;min-height:100%;display:flex}.preview-layout-module__s1BIQW__player{width:var(--player-width);flex-direction:column;flex:none;min-width:0;display:flex;container:preview-player/inline-size}.preview-layout-module__s1BIQW__playerHeader{flex:none;justify-content:space-between;align-items:center;gap:4px;height:36px;padding:0 4px 8px;display:flex}.preview-layout-module__s1BIQW__playerName{min-width:0;color:var(--text-100);align-items:center;gap:8px;padding:0;font-size:12px;font-weight:500;line-height:20px;display:flex}.preview-layout-module__s1BIQW__playerName small{color:var(--muted);font-size:11px;font-weight:400}.preview-layout-module__s1BIQW__playerIndex{background:var(--hover);width:24px;height:24px;color:var(--text-60);font:600 11px Rubik, var(--font-system);font-variant-numeric:tabular-nums;border-radius:8px;flex:none;place-items:center;display:grid}.preview-layout-module__s1BIQW__player[data-selected=true] .preview-layout-module__s1BIQW__playerIndex{background:var(--brand);color:var(--canvas)}.preview-layout-module__s1BIQW__player[data-selected=true] .preview-layout-module__s1BIQW__playerName{color:var(--brand)}.preview-layout-module__s1BIQW__remove{width:24px;height:24px;color:var(--muted);border-radius:999px;flex:none;place-items:center;padding:0;display:grid}.preview-layout-module__s1BIQW__remove:hover{background:var(--active);color:var(--text-100)}.preview-layout-module__s1BIQW__player>.preview-layout-module__s1BIQW__playerViewport{isolation:isolate;width:100%;height:var(--player-height);background:var(--hover);border-radius:20px;flex:none;position:relative;overflow:hidden}.preview-layout-module__s1BIQW__playerViewport:after{content:"";z-index:1;border-radius:inherit;box-shadow:inset 0 0 0 2px var(--brand);opacity:0;pointer-events:none;position:absolute;inset:0}.preview-layout-module__s1BIQW__player[data-selected=true] .preview-layout-module__s1BIQW__playerViewport:after{opacity:1}.preview-layout-module__s1BIQW__playerActions{margin-top:12px;padding:0}.preview-layout-module__s1BIQW__multiplayer.preview-layout-module__s1BIQW__single{width:100%;margin-inline:0}.preview-layout-module__s1BIQW__single .preview-layout-module__s1BIQW__scroller{padding:16px 16px 0;overflow:hidden}.preview-layout-module__s1BIQW__single .preview-layout-module__s1BIQW__players{justify-content:center;width:100%}.preview-layout-module__s1BIQW__single .preview-layout-module__s1BIQW__playerHeader{display:none}.preview-layout-module__s1BIQW__single .preview-layout-module__s1BIQW__player>.preview-layout-module__s1BIQW__playerViewport{background:var(--depth-preview);border-radius:24px}.preview-layout-module__s1BIQW__single .preview-layout-module__s1BIQW__playerActions{margin-top:16px}.preview-layout-module__s1BIQW__addSlot{width:var(--player-width);height:var(--player-height);flex:none;margin:36px 0 44px}.preview-layout-module__s1BIQW__addPlayer{border:1px dashed var(--line);background:var(--surface);width:100%;height:100%;min-height:200px;color:var(--text-60);border-radius:20px;grid-template-rows:minmax(32px,1fr) 56px 24px minmax(28px,1fr);place-items:center;gap:12px;padding:24px;display:grid;position:relative}.preview-layout-module__s1BIQW__seatNumber{color:var(--text-20);font:500 24px/32px Rubik, var(--font-system);position:absolute;top:24px;left:24px}.preview-layout-module__s1BIQW__plus{background:var(--active);border-radius:999px;grid-row:2;place-items:center;width:56px;height:56px;transition:transform .16s,color .16s;display:grid}.preview-layout-module__s1BIQW__joinTitle{color:var(--text-100);grid-row:3;font-size:16px;font-weight:500;line-height:24px}.preview-layout-module__s1BIQW__joinHint{color:var(--muted);grid-row:4;align-self:end;font-size:12px;line-height:16px}.preview-layout-module__s1BIQW__addPlayer:hover{border-color:var(--brand);background:var(--hover)}.preview-layout-module__s1BIQW__addPlayer:hover .preview-layout-module__s1BIQW__plus{color:var(--brand);transform:translateY(-2px)scale(1.08)}.preview-layout-module__s1BIQW__multiplayer button:focus-visible,.preview-layout-module__s1BIQW__scroller:focus-visible{outline:2px solid var(--brand);outline-offset:-2px}@container preview-player (max-width:199px){.preview-layout-module__s1BIQW__playerActions .button{flex:0 0 32px;width:32px;padding:0}.preview-layout-module__s1BIQW__playerActions .button span{display:none}}@media (prefers-reduced-motion:reduce){.preview-layout-module__s1BIQW__plus{transition:none}}@media (max-width:700px){.editor-shell.chat-collapsed .preview-layout-module__s1BIQW__multiplayer:not(.preview-layout-module__s1BIQW__single){width:calc(100% + 24px);margin-inline:-12px}}
.preview-status-copy-module__0QJ62W__copy{top:var(--particle-copy-top,50%);text-align:center;opacity:0;padding:0 24px;display:grid;position:absolute;left:0;right:0}canvas[data-layout-ready=true]~.preview-status-copy-module__0QJ62W__copy{opacity:1}.preview-status-copy-module__0QJ62W__message{grid-area:1/1;align-content:start;gap:8px;min-width:0;display:grid}.preview-status-copy-module__0QJ62W__message h2{color:var(--text-100);margin:0;font-size:17px;font-weight:500;line-height:26px}.preview-status-copy-module__0QJ62W__message p{max-width:280px;color:var(--muted);margin:0 auto;font-size:13px;line-height:22px}@media (max-height:640px),(max-width:700px){.preview-status-copy-module__0QJ62W__copy{padding:0 16px}.preview-status-copy-module__0QJ62W__message{gap:4px}}
.preview-surface-content{width:100%;height:100%}.preview-particle-layer{z-index:3;background:var(--project-cover-placeholder,var(--hover));border-radius:inherit;position:absolute;inset:0;overflow:hidden}.preview-particle-layer>canvas{opacity:0;width:100%;height:100%;transition:opacity .16s;display:block;position:absolute;inset:0}.preview-particle-layer>canvas[data-ready=true]{opacity:1}.preview-particle-layer>canvas[data-retained-frame=true]{opacity:1;transition:none}.preview-particle-layer[data-phase=revealing]{pointer-events:none;animation:.36s cubic-bezier(.22,1,.36,1) both preview-layer-out}.preview-content-pending{visibility:hidden}.preview-particle-error{opacity:0;visibility:hidden;flex-direction:column;grid-area:1/1;align-items:center;gap:16px;font-size:14px;line-height:20px;transition:opacity .16s,visibility 0s .16s;display:flex}.preview-particle-layer[data-phase=error] .preview-particle-error{opacity:1;visibility:visible;transition-delay:0s}.preview-particle-layer[data-retrying=true] .preview-particle-error{opacity:1;visibility:visible;transition:none}.preview-particle-error p{color:var(--text-100);margin:0}.preview-particle-error .button{height:36px;min-height:36px;padding:0 16px;font-size:12px}@keyframes preview-layer-out{to{opacity:0}}@media (prefers-reduced-motion:reduce){.preview-particle-layer{animation:none}.preview-particle-layer>canvas,.preview-particle-error{transition:none}}
.preview-placeholder-module__st7oQq__placeholder{text-align:center;min-width:0}
.lab-dialog.publish-dialog{--publish-cover-width:176px;--publish-column-gap:20px;border-radius:36px;width:686px;max-width:calc(100vw - 48px);max-height:calc(100dvh - 48px);overflow:hidden}.publish-dialog[open]{flex-direction:column;display:flex}.publish-dialog .dialog-head.with-subtitle{flex:none;grid-template-columns:minmax(0,1fr) auto;min-height:0;padding:0;display:grid}.publish-dialog .dialog-head h2{letter-spacing:-.01em}.publish-dialog .dialog-subtitle{white-space:normal;overflow-wrap:anywhere;text-overflow:clip;color:var(--text-40);font-weight:400}.publish-dialog .dialog-head>.icon-button{width:40px;height:40px;color:var(--text-40);align-self:start}.publish-dialog .dialog-head>.icon-button:is(:hover,:focus-visible){background:var(--depth-hover);color:var(--text-100);box-shadow:none;outline:none}.publish-dialog .publish-body{overscroll-behavior:contain;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:var(--neutral-300) transparent;flex:auto;min-height:0;padding:0 24px;display:block;overflow:hidden auto}.publish-dialog .publish-layout-grid{grid-template-columns:minmax(0, var(--publish-cover-width)) minmax(0, 1fr);align-items:start;gap:var(--publish-column-gap);min-width:0;display:grid}.publish-dialog .publish-cover-column{flex-direction:column;min-width:0;min-height:0;display:flex;position:relative}.publish-dialog .publish-cover{aspect-ratio:2/3;flex:none;width:100%;max-width:none;height:auto}.publish-dialog .publish-cover>img{position:absolute;inset:0}.publish-dialog .publish-cover>img[src*=logo]{position:static}.publish-dialog .publish-fields{flex-direction:column;gap:24px;width:100%;min-width:0;max-width:none;display:flex}.publish-dialog .field-label{margin:0 0 12px}.publish-dialog .caption-shell{flex-direction:column;transition:border-color .16s,background .16s;display:flex}.publish-dialog .caption-input{flex:none;min-width:0;height:64px}.publish-dialog .caption-input textarea,.publish-dialog .caption-mirror{letter-spacing:normal;word-break:normal;tab-size:8;text-align:start}.publish-dialog .caption-mirror{-webkit-user-select:none;user-select:none}.publish-dialog .caption-tools{flex:none;align-items:center}.publish-dialog .caption-actions{flex-wrap:wrap;min-width:0}.publish-dialog .caption-actions .tool-button{background:var(--depth-surface)}.publish-dialog .caption-actions .tool-button:hover:not(:disabled){background:var(--depth-hover);border-color:var(--depth-hover-border)}.publish-dialog .caption-count{font-variant-numeric:tabular-nums;flex-shrink:0;align-self:flex-end}.publish-dialog .caption-suggestions{z-index:120;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--neutral-300) transparent;position:fixed;bottom:auto;right:auto;overflow:auto}.publish-dialog .visibility-option{transition:background .16s}.publish-dialog .visibility-option:hover{background:var(--depth-active)}.publish-dialog .visibility-option>span{min-width:0}.publish-dialog .visibility-option:has(input:focus-visible){outline:none}.publish-dialog .visibility-option input:focus-visible,.publish-dialog .checkbox input:focus-visible{outline:2px solid var(--brand);outline-offset:3px}.publish-dialog .publish-footer{flex:none;padding:24px}.publish-dialog .publish-footer .button{height:44px;min-height:44px;box-shadow:none;padding:0 20px;font-size:14px;font-weight:500;line-height:20px;transform:none}.publish-dialog .publish-footer .button:not(.secondary){color:var(--brand-ink);border:0}.publish-dialog .publish-footer .button:not(:disabled):active{opacity:.88}@media (max-width:760px){.lab-dialog.publish-dialog{width:490px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}.publish-dialog .dialog-head.with-subtitle>.icon-button{margin:12px 12px 0 0}.publish-dialog .publish-body{padding:0 16px}.publish-dialog .publish-layout-grid{grid-template-columns:minmax(0,1fr);gap:24px}.publish-dialog .publish-cover-column{justify-self:center;width:min(100%,240px)}.publish-dialog .publish-fields{width:100%}.publish-dialog .publish-visibility-options{gap:8px}.publish-dialog .publish-footer{padding:24px 16px 16px}}
.playback-popover{z-index:180;background:var(--surface);border:1px solid var(--line);width:min(320px,100vw - 24px);box-shadow:0 16px 48px var(--shadow-menu-color);border-radius:20px;outline:none;flex-direction:column;display:flex;position:fixed;overflow:auto}.playback-popover>header{justify-content:space-between;align-items:center;gap:8px;height:56px;min-height:56px;padding:0 8px 0 20px;display:flex}.playback-popover h2{font:600 14px/24px var(--font-system);margin:0}.playback-content{flex-direction:column;gap:16px;padding:0 20px 16px;display:flex}.playback-field{color:var(--text-80);flex-direction:column;gap:8px;font-size:12px;line-height:16px;display:flex}.playback-select{border:1px solid var(--line);background:var(--hover);width:100%;height:42px;font:400 14px/20px var(--font-system);color:var(--text-100);box-shadow:none;border-radius:999px;outline:none;justify-content:space-between;align-items:center;gap:8px;padding:0 16px;display:flex}.playback-select:hover,.playback-select:focus,.playback-select[data-state=open]{background:var(--active);border-color:var(--strong-line)}.playback-popover .checkbox{color:var(--text-80);font-size:13px;line-height:20px}.playback-popover>footer{background:var(--surface);justify-content:flex-end;padding:0 16px 16px;display:flex;position:sticky;bottom:0}.playback-options{z-index:190;min-width:var(--radix-select-trigger-width);max-height:var(--radix-select-content-available-height);background:var(--depth-menu);border:1px solid var(--line);color:var(--text-80);border-radius:16px;padding:8px;overflow:auto}.playback-option{cursor:pointer;border-radius:12px;outline:none;justify-content:space-between;align-items:center;gap:12px;min-height:40px;padding:8px 12px;font-size:14px;line-height:20px;display:flex}.playback-option[data-highlighted],.playback-option[data-state=checked]{background:var(--active);color:var(--text-100)}.playback-option svg{color:var(--brand)}.playback-select-options{width:min(max(240px,var(--radix-select-trigger-width)),calc(100vw - 24px));min-width:0;max-height:min(280px,var(--radix-select-content-available-height));box-shadow:0 18px 48px var(--shadow-menu-color);border-radius:20px;overflow:hidden}.playback-select-options .playback-options-viewport{min-height:0;max-height:min(262px,calc(var(--radix-select-content-available-height) - 18px));overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:var(--line) transparent;grid-template-columns:minmax(0,1fr);gap:4px;display:grid}.playback-select-options .playback-option{width:100%;min-width:0;height:40px;min-height:40px;font:400 13px/20px var(--font-system);padding:0 12px}.playback-select-options .playback-option-label{text-overflow:ellipsis;white-space:nowrap;flex:1;min-width:0;display:block;overflow:hidden}.playback-select-options .playback-option-check{flex:0 0 16px;place-items:center;width:16px;height:20px;margin-left:auto;display:grid}.playback-popover>footer .button{height:36px;min-height:36px;padding:0 16px;font-size:13px;line-height:20px}
.project-review-module__sc98DG__history{background:var(--surface);overflow-wrap:anywhere;border-radius:20px;flex:0 0 30%;min-width:240px;min-height:0;margin-right:12px;padding:20px;overflow:auto}.project-review-module__sc98DG__history article{border-top:1px solid var(--line);padding:16px 0}.project-review-module__sc98DG__history p{margin:12px 0}.project-review-module__sc98DG__multiplayer{border:1px solid;border-radius:24px;padding:10px 16px}@media (max-width:700px){.project-review-module__sc98DG__history{display:none}}
.project-studio-module__JNrJlq__focusTarget:focus{outline:none}
