.astro-route-announcer{position:absolute;left:0;top:0;clip:rect(0 0 0 0);clip-path:inset(50%);overflow:hidden;white-space:nowrap;width:1px;height:1px}@font-face{font-family:Plus Jakarta Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_astro/plus-jakarta-sans-cyrillic-ext-400-normal.CJkVxub1.woff2) format("woff2"),url(/_astro/plus-jakarta-sans-cyrillic-ext-400-normal.Dbdydbkh.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Plus Jakarta Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_astro/plus-jakarta-sans-vietnamese-400-normal.Cg2kxhWu.woff2) format("woff2"),url(/_astro/plus-jakarta-sans-vietnamese-400-normal.B8TCSmUq.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Plus Jakarta Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_astro/plus-jakarta-sans-latin-ext-400-normal.D127hM_v.woff2) format("woff2"),url(/_astro/plus-jakarta-sans-latin-ext-400-normal.2ppkqaOR.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Plus Jakarta Sans;font-style:normal;font-display:swap;font-weight:400;src:url(/_astro/plus-jakarta-sans-latin-400-normal.Dhut76fR.woff2) format("woff2"),url(/_astro/plus-jakarta-sans-latin-400-normal.BDKaGhyp.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Plus Jakarta Sans;font-style:normal;font-display:swap;font-weight:500;src:url(/_astro/plus-jakarta-sans-cyrillic-ext-500-normal.WMJmRWOr.woff2) format("woff2"),url(/_astro/plus-jakarta-sans-cyrillic-ext-500-normal.B7C_nQD_.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Plus Jakarta Sans;font-style:normal;font-display:swap;font-weight:500;src:url(/_astro/plus-jakarta-sans-vietnamese-500-normal.DiU8zqi-.woff2) format("woff2"),url(/_astro/plus-jakarta-sans-vietnamese-500-normal.CvE5C8T-.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Plus Jakarta Sans;font-style:normal;font-display:swap;font-weight:500;src:url(/_astro/plus-jakarta-sans-latin-ext-500-normal.9VZagAe1.woff2) format("woff2"),url(/_astro/plus-jakarta-sans-latin-ext-500-normal.CqEEAICU.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Plus Jakarta Sans;font-style:normal;font-display:swap;font-weight:500;src:url(/_astro/plus-jakarta-sans-latin-500-normal.Bf-nb4oT.woff2) format("woff2"),url(/_astro/plus-jakarta-sans-latin-500-normal.DYtqi0QS.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Plus Jakarta Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_astro/plus-jakarta-sans-cyrillic-ext-600-normal.C5KBqx06.woff2) format("woff2"),url(/_astro/plus-jakarta-sans-cyrillic-ext-600-normal.BtwufOTE.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Plus Jakarta Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_astro/plus-jakarta-sans-vietnamese-600-normal.Y4VTTRme.woff2) format("woff2"),url(/_astro/plus-jakarta-sans-vietnamese-600-normal.5YsyKbU1.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Plus Jakarta Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_astro/plus-jakarta-sans-latin-ext-600-normal.DQgPU_Cg.woff2) format("woff2"),url(/_astro/plus-jakarta-sans-latin-ext-600-normal.B0WRRYJ1.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Plus Jakarta Sans;font-style:normal;font-display:swap;font-weight:600;src:url(/_astro/plus-jakarta-sans-latin-600-normal.DLTa1BUW.woff2) format("woff2"),url(/_astro/plus-jakarta-sans-latin-600-normal.BR_Ojra4.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Plus Jakarta Sans;font-style:normal;font-display:swap;font-weight:700;src:url(/_astro/plus-jakarta-sans-cyrillic-ext-700-normal.iShZaXYX.woff2) format("woff2"),url(/_astro/plus-jakarta-sans-cyrillic-ext-700-normal.pWfpUei5.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Plus Jakarta Sans;font-style:normal;font-display:swap;font-weight:700;src:url(/_astro/plus-jakarta-sans-vietnamese-700-normal.CV6qDkkj.woff2) format("woff2"),url(/_astro/plus-jakarta-sans-vietnamese-700-normal.BCh_uG_5.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Plus Jakarta Sans;font-style:normal;font-display:swap;font-weight:700;src:url(/_astro/plus-jakarta-sans-latin-ext-700-normal.BajbvANd.woff2) format("woff2"),url(/_astro/plus-jakarta-sans-latin-ext-700-normal.8-d-IyIQ.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Plus Jakarta Sans;font-style:normal;font-display:swap;font-weight:700;src:url(/_astro/plus-jakarta-sans-latin-700-normal.CfpNZvy6.woff2) format("woff2"),url(/_astro/plus-jakarta-sans-latin-700-normal.DqEcQeE5.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Plus Jakarta Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_astro/plus-jakarta-sans-cyrillic-ext-800-normal.DyqSzs2i.woff2) format("woff2"),url(/_astro/plus-jakarta-sans-cyrillic-ext-800-normal.lQKgVBUR.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:Plus Jakarta Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_astro/plus-jakarta-sans-vietnamese-800-normal.CxbopLd3.woff2) format("woff2"),url(/_astro/plus-jakarta-sans-vietnamese-800-normal.BkoGl_sr.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Plus Jakarta Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_astro/plus-jakarta-sans-latin-ext-800-normal.B6BjB2Ju.woff2) format("woff2"),url(/_astro/plus-jakarta-sans-latin-ext-800-normal.BPkb-LBK.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Plus Jakarta Sans;font-style:normal;font-display:swap;font-weight:800;src:url(/_astro/plus-jakarta-sans-latin-800-normal.CusIZhrK.woff2) format("woff2"),url(/_astro/plus-jakarta-sans-latin-800-normal.BRNHt2w0.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:JetBrains Mono;font-style:normal;font-display:swap;font-weight:400;src:url(/_astro/jetbrains-mono-cyrillic-ext-400-normal.C_uLvvQ5.woff2) format("woff2"),url(/_astro/jetbrains-mono-cyrillic-ext-400-normal.Bh0R7Dhr.woff) format("woff");unicode-range:U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F}@font-face{font-family:JetBrains Mono;font-style:normal;font-display:swap;font-weight:400;src:url(/_astro/jetbrains-mono-cyrillic-400-normal.BEIGL1Tu.woff2) format("woff2"),url(/_astro/jetbrains-mono-cyrillic-400-normal.ugxPyKxw.woff) format("woff");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}@font-face{font-family:JetBrains Mono;font-style:normal;font-display:swap;font-weight:400;src:url(/_astro/jetbrains-mono-greek-400-normal.C190GLew.woff2) format("woff2"),url(/_astro/jetbrains-mono-greek-400-normal.B9oWc5Lo.woff) format("woff");unicode-range:U+0370-0377,U+037A-037F,U+0384-038A,U+038C,U+038E-03A1,U+03A3-03FF}@font-face{font-family:JetBrains Mono;font-style:normal;font-display:swap;font-weight:400;src:url(/_astro/jetbrains-mono-vietnamese-400-normal.ByoDsISC.woff2) format("woff2"),url(/_astro/jetbrains-mono-vietnamese-400-normal.CqNFfHCs.woff) format("woff");unicode-range:U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB}@font-face{font-family:JetBrains Mono;font-style:normal;font-display:swap;font-weight:400;src:url(/_astro/jetbrains-mono-latin-ext-400-normal.Bc8Ftmh3.woff2) format("woff2"),url(/_astro/jetbrains-mono-latin-ext-400-normal.fXTG6kC5.woff) format("woff");unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:JetBrains Mono;font-style:normal;font-display:swap;font-weight:400;src:url(/_astro/jetbrains-mono-latin-400-normal.V6pRDFza.woff2) format("woff2"),url(/_astro/jetbrains-mono-latin-400-normal.6-qcROiO.woff) format("woff");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{font-family:var(--studio-font);background:var(--studio-bg);color:var(--studio-text);font-synthesis:none;font-size:14px}*{box-sizing:border-box}html,body{overscroll-behavior:none}body{margin:0}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit;color:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{background:none;border:0;cursor:pointer}button:disabled{cursor:not-allowed;opacity:.5}:focus-visible{outline:2px solid var(--studio-accent);outline-offset:4px}::selection{background:var(--studio-accent);color:var(--studio-accent-ink)}h1,h2,h3,p{margin:0}p{line-height:1.6}svg{flex-shrink:0;width:18px;height:18px}[hidden]{display:none!important}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.skip-link{position:fixed;top:-100px;left:20px;z-index:100;background:var(--studio-primary);color:var(--studio-on-primary);padding:14px;border-radius:8px}.skip-link:focus{top:15px}.studio{display:flow-root;isolation:isolate;min-height:100vh;min-height:100dvh}.app-navigation{min-height:70px;display:flex;align-items:center;gap:24px;padding:12px 28px}.brand{display:inline-flex;align-items:center;gap:9px;font-size:18px;font-weight:600;letter-spacing:-.7px;white-space:nowrap}.brand-light{font-weight:400}.brand-mark{width:32px;height:32px;object-fit:contain}.app-navigation nav{display:flex;gap:4px}.nav-link{min-height:40px;display:inline-flex;align-items:center;padding:8px 14px;color:var(--studio-muted);border-radius:999px;font-size:13px}.nav-link:hover,.nav-link.selected{background:var(--studio-panel);color:var(--studio-text)}.workspace-name{margin-left:auto;color:var(--studio-muted);font-size:12px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.main-shell{min-width:0}main{max-width:1600px;margin:0 auto;padding:14px 28px 32px}.announcement{color:var(--studio-muted);font-size:12px;display:flex;gap:8px;align-items:center;padding:10px 0}.announcement svg{width:14px;height:14px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:22px 0 26px}h1{font-size:24px;font-weight:600;letter-spacing:-.7px;line-height:1.25;overflow-wrap:anywhere}.page-heading p{color:var(--studio-muted);margin-top:8px;font-size:13px}.eyebrow{font-size:12px;color:var(--studio-muted);font-weight:500}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:10px 16px;border:1px solid transparent;border-radius:999px;font-size:13px;font-weight:500;text-align:center;flex-shrink:0}.button svg{width:16px;height:16px}.primary{background:var(--studio-primary);color:var(--studio-on-primary)}.primary:hover:not(:disabled){background:var(--studio-primary-hover)}.secondary{background:var(--studio-raised);color:var(--studio-text)}.secondary:hover:not(:disabled){background:var(--studio-selected-fill)}.danger{background:var(--studio-danger-bg);color:var(--studio-danger);border-color:var(--studio-danger-border)}.library-toolbar,.library-controls,.filter-tabs{display:flex;align-items:center;gap:12px}.library-toolbar{justify-content:space-between;margin-top:24px}.filter-tabs{gap:4px}.filter-tabs button{min-height:40px;display:flex;align-items:center;gap:8px;padding:8px 14px;border-radius:999px;color:var(--studio-muted);font-size:13px}.filter-tabs button[aria-pressed=true]{background:var(--studio-selected-fill);color:var(--studio-text)}.filter-tabs button span{font-size:12px;font-variant-numeric:tabular-nums}.filter-tabs svg{width:14px;height:14px}.search{display:flex;align-items:center;gap:8px;padding:0 12px;border:1px solid var(--studio-overlay-border);background:var(--studio-panel);border-radius:10px}.search svg{color:var(--studio-muted);width:16px;height:16px}.search input{min-width:0;width:200px;padding:11px 0;background:none;border:0;font-size:13px}.search:focus-within{outline:2px solid var(--studio-accent);outline-offset:3px}.search input:focus{outline:none}input::placeholder,textarea::placeholder{color:var(--studio-placeholder);opacity:1}.results-heading{display:flex;justify-content:space-between;gap:12px;margin:28px 0 16px}.results-heading h2{font-size:14px;font-weight:500}.results-heading>span{color:var(--studio-muted);font-size:12px}.game-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.game-card{min-width:0;overflow:hidden;border:1px solid transparent;border-radius:var(--studio-radius);background:var(--studio-panel)}.game-card:hover{border-color:var(--studio-overlay-border)}.game-card[data-selected=true]{border-color:var(--studio-accent);box-shadow:var(--studio-glow)}.card-art-link{display:block;position:relative}.connected-cover,.cover{height:205px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;background:var(--studio-raised);color:var(--studio-muted);font-size:12px}.connected-cover svg{width:28px;height:28px}.card-thumbnail{display:block;width:100%;height:205px;object-fit:contain;background:var(--studio-raised)}.art-label{position:absolute;top:14px;left:14px;background:var(--studio-panel);color:var(--studio-muted);padding:5px 8px;border-radius:6px;font-size:12px}.card-open{position:absolute;inset:0;display:flex;justify-content:flex-end;align-items:flex-end;padding:14px}.card-open:focus-visible{outline-offset:-4px}.card-open svg{width:32px;height:32px;padding:8px;border-radius:50%;background:var(--studio-raised)}.card-body{padding:18px 18px 12px}.card-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.card-title-row h3{font-size:16px;font-weight:500;line-height:1.4;overflow-wrap:anywhere}.badge{display:inline-flex;align-items:center;gap:5px;padding:4px 7px;border-radius:6px;background:var(--studio-raised);color:var(--studio-muted);font-size:12px;white-space:nowrap}.badge.busy{background:var(--studio-warning-bg);color:var(--studio-warning)}.card-body>p{color:var(--studio-muted);font-size:13px;margin-top:10px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:42px}.card-meta{display:flex;justify-content:space-between;flex-wrap:wrap;gap:6px;color:var(--studio-muted);font-size:12px;margin-top:20px}.game-select{display:flex;align-items:center;gap:8px;min-height:40px;margin-top:8px;color:var(--studio-muted);font-size:12px}.selection-check{display:grid;place-items:center;width:16px;height:16px;border:1px solid var(--studio-placeholder);border-radius:4px}.selection-check svg{width:12px;height:12px}.game-select[aria-pressed=true]{color:var(--studio-text)}.busy-explanation{display:block;font-size:12px;color:var(--studio-warning);margin:4px 0}.collection-footer{display:flex;align-items:center;justify-content:center;gap:8px;color:var(--studio-muted);font-size:12px;margin-top:32px}.collection-footer svg{width:14px;height:14px}.text-button{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:8px 0;color:var(--studio-muted);font-size:13px}.text-button:hover:not(:disabled){color:var(--studio-text)}.icon-button{display:inline-flex;align-items:center;justify-content:center;min-width:40px;min-height:40px;border-radius:50%;color:var(--studio-muted)}.icon-button:hover:not(:disabled){background:var(--studio-raised);color:var(--studio-text)}.empty-state{display:flex;flex-direction:column;align-items:center;text-align:center;padding:64px 24px;gap:18px;margin-top:24px;background:var(--studio-panel);border-radius:var(--studio-radius)}.empty-state>svg{width:28px;height:28px;color:var(--studio-muted)}.empty-state h2{font-size:20px;font-weight:500}.empty-state p{color:var(--studio-muted);max-width:420px}.alert{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:14px 18px;border-radius:12px;margin:12px 0;font-size:13px}.error{background:var(--studio-danger-bg);color:var(--studio-danger)}.success{background:var(--studio-success-bg);color:var(--studio-success)}.error-text{color:var(--studio-danger);margin-top:16px;font-size:13px}.status-dot{display:inline-block;flex-shrink:0;width:6px;height:6px;border-radius:50%;background:currentColor}.selection-toolbar{position:fixed;z-index:30;left:50%;bottom:24px;transform:translate(-50%);max-width:calc(100vw - 32px);display:flex;align-items:center;flex-wrap:wrap;gap:16px;padding:10px;border:1px solid var(--studio-overlay-border);border-radius:20px;background:var(--studio-panel);box-shadow:var(--studio-shadow)}.selection-context{padding:0 8px;min-width:0;max-width:220px}.selection-context span{display:block;font-size:12px;color:var(--studio-muted)}.selection-context strong{display:block;font-size:13px;font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.selection-actions{display:flex;align-items:center;gap:4px}.glass-subtle{background:transparent;color:var(--studio-muted)}.glass-subtle:hover:not(:disabled){background:var(--studio-raised);color:var(--studio-text)}.selection-status{flex-basis:100%;padding:0 8px 4px;color:var(--studio-warning);font-size:12px}.studio:has(.selection-toolbar) .collection-footer{padding-bottom:120px}.modal{background:var(--studio-panel);color:var(--studio-text);border:1px solid var(--studio-overlay-border);border-radius:var(--studio-radius);padding:24px;width:min(560px,calc(100% - 32px));box-shadow:var(--studio-shadow);max-height:calc(100dvh - 32px);overflow:auto}.modal::backdrop{background:#000b}.modal-heading,.modal-actions{display:flex;align-items:center;justify-content:space-between;gap:12px}.modal-heading{margin-bottom:20px}.modal h2{font-size:20px;font-weight:500}.modal form>p{color:var(--studio-muted);font-size:13px}.modal-actions{justify-content:flex-end;margin-top:24px}.field{display:flex;flex-direction:column;gap:8px;margin-top:24px;font-size:13px;font-weight:500}.field input,.field textarea{width:100%;padding:12px;font-size:14px;font-weight:400;line-height:1.5;border:1px solid var(--studio-overlay-border);border-radius:10px;background:var(--studio-bg)}.field textarea{resize:vertical;min-height:120px}.field-hint{color:var(--studio-muted);font-size:12px;margin-top:10px;line-height:1.6}.account-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:14px;align-items:start}.settings-card{background:var(--studio-panel);border-radius:var(--studio-radius);padding:24px;min-width:0}.settings-card h2{font-size:16px;font-weight:500;margin-bottom:8px}.settings-card p,.quiet-card p{font-size:13px;color:var(--studio-muted)}.settings-divider{height:0;margin:32px 0}.section-title{display:flex;align-items:start;justify-content:space-between;gap:12px}.ownership{display:flex;align-items:center;gap:8px;color:var(--studio-muted);margin-top:24px;font-size:12px}.ownership svg{width:14px;height:14px}.settings-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:28px}.settings-footer small{color:var(--studio-muted);font-size:12px}.account-aside .badge{margin-bottom:20px}.auth-note{display:flex;align-items:start;gap:12px;margin-top:24px}.auth-note strong{font-size:13px;font-weight:500;overflow-wrap:anywhere}.auth-note p{margin-top:8px}.quiet-card{padding:24px}.quiet-card>svg{color:var(--studio-muted);margin-bottom:16px}.quiet-card h3{font-size:14px;font-weight:500;margin-bottom:10px}.quiet-card .text-button{margin-top:14px}.preference-toggle{display:flex;align-items:center;gap:10px;margin-top:24px;font-size:13px}.preference-toggle input{width:18px;height:18px;accent-color:var(--studio-accent)}.back-link{display:inline-flex;align-items:center;gap:8px;font-size:13px;color:var(--studio-muted)}.heading-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.editor-placeholder{min-height:350px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;text-align:center;background:var(--studio-panel);border-radius:var(--studio-radius);padding:32px}.placeholder-glyph{display:grid;place-items:center;width:60px;height:60px;border-radius:16px;background:var(--studio-raised)}.placeholder-glyph svg{width:28px;height:28px}.editor-placeholder h2{font-size:20px;font-weight:500}.editor-placeholder p{max-width:460px;font-size:13px;color:var(--studio-muted)}.game-workspace{display:grid;gap:14px;min-width:0;position:relative}.prompt-card{background:var(--studio-panel);border:1px solid var(--studio-overlay-border);border-radius:var(--studio-radius);padding:20px}.prompt-card p{margin-top:16px;font-size:13px;white-space:pre-wrap;overflow-wrap:anywhere}.prompt-card small{display:block;font-size:12px;color:var(--studio-muted);margin-top:16px}.prompt-card h2{font-size:16px;font-weight:500}.inspector-meta{display:grid;gap:16px;margin:20px 0}.inspector-meta dt{font-size:12px;color:var(--studio-muted)}.inspector-meta dd{margin:4px 0 0;font-size:13px;overflow-wrap:anywhere}.hint-target{display:inline-flex}.busy-alert{justify-content:flex-start;background:var(--studio-warning-bg);color:var(--studio-warning)}.busy-alert p{font-size:12px;margin-top:4px}.studio-editing main{max-width:none;padding:0 20px 12px}.studio-editing .announcement,.studio-editing .game-heading>div>.eyebrow,.studio-editing .game-heading>div>p,.studio-editing .back-link{display:none}.studio-editing .game-heading{margin:0 0 12px}.studio-editing .game-heading h1{font-size:16px;margin:0}.connection-screen{position:relative;min-height:100vh;min-height:100dvh;display:grid;grid-template-columns:minmax(0,52fr) minmax(0,48fr);overflow:hidden;background:linear-gradient(180deg,#0f0c29,#24224a 55%,#1d1d33)}.connection-screen:before{content:"";position:absolute;inset:0 auto 0 0;width:52%;pointer-events:none;background:linear-gradient(135deg,#667eea29,#764ba21f 40%,#4facfe14)}.connection-showcase{position:relative;z-index:1;min-width:0;display:flex;flex-direction:column;gap:28px;padding:32px clamp(24px,4vw,56px) 40px}.connection-header{display:flex;justify-content:space-between;align-items:center;gap:16px}.connection-brand{display:inline-flex;align-items:center;gap:14px}.connection-brand-mark{width:44px;height:44px;object-fit:contain}.connection-brand-name{font-size:28px;font-weight:800;letter-spacing:-.02em;line-height:1.2;background:linear-gradient(135deg,#ff6b35,#f7c948);-webkit-background-clip:text;background-clip:text;color:transparent}.connection-environment{color:var(--studio-muted);font-size:12px;text-transform:capitalize;border:1px solid var(--studio-segment-border);border-radius:999px;padding:4px 10px}.connection-showcase-title{max-width:30ch;font-size:22px;font-weight:600;line-height:1.35;letter-spacing:-.01em;text-wrap:balance}.connection-steps{display:flex;flex-direction:column;gap:12px;max-width:720px;margin:0;padding:0;list-style:none}.connection-step{display:flex;align-items:center;gap:18px;padding:14px;border:1px solid rgb(255 255 255 / 10%);border-radius:22px;background:linear-gradient(145deg,#ffffff12,#ffffff05)}.connection-step-media{flex:none;width:168px;height:96px;object-fit:contain;border-radius:12px;border:2px solid rgb(255 255 255 / 16%);background:#0607088c}.connection-step-icon{display:grid;place-items:center;color:#a6b0f2}.connection-step-icon svg{width:30px;height:30px}.connection-step h3{margin:0;font-size:17px;font-weight:700;line-height:1.3;background:linear-gradient(135deg,#8c9cf2,#a98ad6);-webkit-background-clip:text;background-clip:text;color:transparent}.connection-step p{margin-top:6px;max-width:52ch;color:#ffffffbf;font-size:13px;line-height:1.5}.connection-panel{position:relative;z-index:2;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:20px;padding:48px clamp(24px,5vw,72px)}.connection-panel:before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(180deg,#24243e,#110f29);border-left:1px solid rgb(255 255 255 / 8%);box-shadow:-10px 0 40px #0000004d;transform:skew(-6deg);transform-origin:top right}.connection-gate{width:min(100%,440px);padding:36px 32px 28px;border:1px solid var(--studio-border);border-radius:16px;background:var(--studio-panel);box-shadow:0 8px 32px #0000007f}.connection-gate h1{margin:0;font-size:26px;font-weight:700;letter-spacing:-.02em;line-height:1.3}.connection-description{margin:8px 0 0;font-size:14px;line-height:1.6;color:var(--studio-muted)}.connection-gate .connection-sign-in{display:flex;justify-content:center;width:100%;min-height:46px;margin-top:24px;padding:10px 16px;font-size:14px;font-weight:600;border-radius:var(--studio-control-radius)}.connection-gate .connection-sign-in.primary{background:var(--studio-primary);color:var(--studio-on-primary)}.connection-gate .connection-sign-in.primary:hover:not(:disabled){background:var(--studio-primary-hover)}.connection-gate .connection-sign-in.secondary{margin-top:0;background:transparent;border-color:var(--studio-overlay-border);color:var(--studio-text);font-weight:600}.connection-gate .connection-sign-in.secondary:hover:not(:disabled){background:var(--studio-raised)}.connection-google-mark{width:16px;height:16px}.connection-divider{display:flex;align-items:center;gap:14px;margin:22px 0 4px;color:var(--studio-muted);font-size:12px}.connection-divider:before,.connection-divider:after{content:"";flex:1;height:1px;background:var(--studio-border)}.connection-help{margin-top:12px;font-size:12px;color:var(--studio-muted);text-align:center}.connection-security{display:flex;align-items:center;justify-content:center;gap:6px;margin-top:28px;padding-top:20px;border-top:1px solid var(--studio-border);font-size:12px;color:var(--studio-muted)}.connection-security svg{width:12px;height:12px}.connection-error{margin-top:16px;color:var(--studio-danger);font-size:13px}.connection-retry{min-height:44px;margin-top:16px}.connection-footer{text-align:center;color:var(--studio-muted);font-size:12px}.connection-form{margin-top:8px}.connection-form label{display:block;margin:20px 0 8px;font-size:13px;font-weight:500;color:var(--studio-text)}.connection-form input{width:100%;min-height:46px;padding:11px 14px;border:1px solid var(--studio-overlay-border);border-radius:var(--studio-control-radius);background:var(--studio-bg);color:var(--studio-text);font-size:14px}.connection-form input:hover:not(:disabled){border-color:var(--studio-control-border)}.connection-form input:focus-visible{outline:none;border-color:var(--studio-accent);box-shadow:0 0 0 3px #4d62e54d}.connection-form input::placeholder{color:var(--studio-placeholder)}.connection-form input:disabled{opacity:.6}.connection-form .connection-sign-in{margin-top:26px}.connection-challenge{color:var(--studio-muted);font-size:13px}@media(max-width:1024px){.connection-screen{grid-template-columns:minmax(0,1fr);grid-template-rows:auto 1fr;overflow:visible}.connection-panel{justify-content:flex-start}.connection-screen:before{width:100%}.connection-showcase{padding:28px 24px 24px;gap:20px}.connection-panel{padding:32px 24px 40px}.connection-panel:before{transform:none;border-left:0;border-top:1px solid rgb(255 255 255 / 8%)}.connection-steps{max-width:none}}@media(max-width:600px){.connection-panel{padding:20px 16px 28px}.connection-gate{padding:28px 20px 22px}.connection-gate h1{font-size:24px}.connection-showcase{padding:24px 16px 32px}.connection-brand-name{font-size:22px}.connection-brand-mark{width:36px;height:36px}.connection-steps{display:none}.connection-showcase-title{font-size:18px}}.loading-block{display:block;background:var(--studio-border);border-radius:var(--studio-radius)}.loading-short{width:8rem;height:.85rem}.loading-title{width:min(16rem,80%);height:1.5rem}.loading-line{width:100%;max-width:24rem;height:.9rem}.loading-control{width:9rem;height:2.5rem}.loading-stack{display:flex;flex-direction:column;gap:20px}.loading-toolbar{display:flex;justify-content:space-between;gap:16px;margin-bottom:24px}.loading-editor{width:100%;min-height:0;flex:1;display:flex;flex-direction:column;border:1px solid var(--studio-border);border-radius:var(--studio-radius);padding:12px}.loading-editor-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(180px,30%);gap:16px;flex:1;min-height:320px}.workspace-loading .settings-card{min-height:28rem}.workspace-loading .account-aside .settings-card{min-height:14rem}.workspace-loading .cover{border-radius:0}@media(max-width:700px){.loading-editor-body{grid-template-columns:1fr}.loading-editor-body>.loading-stack{display:none}}.connection-loading{min-height:240px;padding-block:24px}.connection-loading .loading-control{width:100%}.loading-editor{height:calc(100dvh - 160px);min-height:520px}.shell-loading-boundary{position:relative;min-width:0}.shell-loading-layer{pointer-events:none}.shell-loading-boundary[data-loading=true] .shell-loaded-layer,.shell-loading-boundary[data-loading=false] .shell-loading-layer{position:absolute;inset:0;opacity:0;visibility:hidden}@media(prefers-reduced-motion:reduce){.shell-loading-layer,.shell-loaded-layer{transition:none!important}}.shell-loading-boundary[data-loading=false] .shell-loading-layer{overflow:clip}@media(prefers-reduced-motion:no-preference){.button,.icon-button,.text-button,.nav-link,.game-card,.filter-tabs button{transition:background-color var(--studio-duration),border-color var(--studio-duration),color var(--studio-duration)}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:0s!important;transition-duration:0s!important;scroll-behavior:auto!important}}@media(max-width:1000px){.game-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.account-grid{grid-template-columns:minmax(0,1fr)}}@media(max-width:700px){.app-navigation{padding:12px 16px;gap:10px;flex-wrap:wrap}.app-navigation nav{order:3;width:100%}.app-navigation>.text-button{margin-left:auto}.workspace-name{display:none}main{padding:8px 16px 24px}.page-heading{align-items:flex-start;gap:12px}.page-heading h1{font-size:24px}.page-heading p{max-width:220px}.library-toolbar{align-items:stretch;flex-direction:column}.library-controls{width:100%;gap:8px}.search{min-width:0;flex:1}.search input{width:100%}.ui-select-trigger{gap:8px;min-width:0}.game-grid{grid-template-columns:minmax(0,1fr)}.button,.text-button,.icon-button,.game-select,.nav-link,.ui-select-trigger{min-height:44px}.icon-button{min-width:44px}.settings-card{padding:20px}.settings-footer{align-items:flex-start;flex-direction:column}.selection-toolbar{bottom:16px;gap:8px;width:max-content}.selection-context{flex-basis:100%;max-width:100%;padding-right:44px}.selection-actions{flex-wrap:wrap}.selection-actions>.icon-button{position:absolute;right:8px;top:8px}.selection-actions .button{padding-inline:10px}.studio-editing main{padding:0 12px 12px}.studio-editing .game-heading{align-items:flex-start;flex-direction:column}.loading-editor{min-height:420px;height:calc(100dvh - 240px)}.alert{align-items:flex-start}}.support-bar{--support-bg: var(--studio-support-own-bg);--support-ink: var(--studio-support-own-ink);background:var(--support-bg);border-bottom:1px solid var(--support-ink);color:var(--support-ink);font-size:13px}.support-bar[data-mode=read]{--support-bg: var(--studio-support-read-bg);--support-ink: var(--studio-support-read-ink)}.support-bar[data-mode=impersonate]{--support-bg: var(--studio-support-edit-bg);--support-ink: var(--studio-support-edit-ink)}.support-toolbar .support-label,.support-toolbar .support-mode,.support-notice,.support-toolbar .support-button{color:var(--support-ink)}.support-bar .support-toolbar .support-button:hover:not(:disabled){background:var(--support-ink);color:var(--support-bg)}.support-bar .support-toolbar .support-primary{background:var(--support-ink);color:var(--support-bg)}.support-toolbar .support-directory-toggle{border-color:var(--support-ink)}.support-toolbar :focus-visible{outline-color:var(--support-ink)}.support-toolbar{min-height:56px;padding:8px 28px;display:flex;align-items:center;justify-content:space-between;gap:16px}.support-context{display:flex;align-items:center;gap:12px;min-width:0}.support-label{color:inherit;font-size:12px;white-space:nowrap}.support-owner{font-weight:500;overflow-wrap:anywhere;min-width:0}.support-mode{display:inline-flex;align-items:center;gap:6px;color:inherit;white-space:nowrap;font-size:12px}.support-mode svg{width:13px;height:13px}.support-actions{display:flex;align-items:center;gap:6px;flex-shrink:0}.support-button{display:inline-flex;justify-content:center;align-items:center;gap:8px;min-height:36px;padding:8px 10px;border:1px solid transparent;border-radius:6px;color:var(--studio-muted);font-size:12px;font-weight:500;line-height:1.4}.support-button svg{width:15px;height:15px}.support-button:hover:not(:disabled),.support-button[aria-expanded=true]{background:var(--studio-raised);color:var(--studio-text)}.support-button.support-primary{background:var(--studio-primary);color:var(--studio-on-primary)}.support-button.support-primary:hover{background:var(--studio-primary-hover);color:var(--studio-on-primary)}.support-outlined{border-color:var(--studio-control-border);color:var(--studio-text)}.support-directory-toggle{border-color:var(--studio-border)}.support-notice{padding:0 28px 10px;color:var(--support-ink);font-size:12px}.support-directory{width:min(680px,calc(100% - 32px));max-height:calc(100dvh - 48px);margin:auto;padding:24px;border:1px solid var(--studio-control-border);border-radius:12px;background:var(--studio-panel);color:var(--studio-text);overflow:auto}.support-directory::backdrop{background:#000b}.support-directory-heading,.support-search,.support-accounts,.support-feedback,.support-empty{max-width:760px}.support-directory-heading{display:flex;align-items:start;justify-content:space-between;gap:16px}.support-directory-heading h2{font-size:18px;font-weight:500;margin:0 0 4px}.support-directory-heading p{color:var(--studio-muted);font-size:12px}.support-search{display:grid;gap:8px;margin:20px 0 16px}.support-search>label{font-size:12px;color:var(--studio-muted)}.support-search-controls{display:flex;align-items:stretch;gap:8px}.support-search-input{display:flex;align-items:center;gap:10px;flex:1;min-width:0;border:1px solid var(--studio-control-border);border-radius:6px;padding:0 12px;background:var(--studio-bg);color:var(--studio-muted)}.support-search-input svg{width:16px;height:16px}.support-search-input input{min-width:0;width:100%;min-height:40px;border:0;background:transparent;color:var(--studio-text);font-size:13px}.support-search-input:focus-within{outline:2px solid var(--studio-accent);outline-offset:2px}.support-search-input input:focus{outline:none}.support-feedback{padding:8px 0;color:var(--studio-muted);font-size:12px}.support-error{color:var(--studio-danger)}.support-empty{padding:24px 0;color:var(--studio-muted)}.support-accounts{list-style:none;margin:0;padding:0;max-height:280px;overflow:auto}.support-accounts:empty{display:none}.support-accounts li{display:flex;align-items:center;gap:16px;min-height:68px;padding:12px 2px;border-top:1px solid var(--studio-border)}.support-account-identity{display:grid;gap:4px;flex:1;min-width:0;overflow-wrap:anywhere}.support-account-identity strong{font-size:13px;font-weight:500}.support-account-identity small,.support-current{font-size:12px;color:var(--studio-muted)}.support-load-more{margin-top:12px}@media(max-width:1100px){.support-toolbar{flex-wrap:wrap;gap:8px}.support-actions{margin-left:auto}}@media(max-width:600px){.support-toolbar{padding:8px 16px;gap:6px}.support-context{flex-wrap:wrap;gap:6px 12px;flex:1 1 100%}.support-context .support-owner{flex:1}.support-mode{flex-basis:100%}.support-actions{flex:1 1 100%;min-width:0;flex-wrap:wrap;gap:4px;margin-left:0}.support-button{min-height:44px}.support-bar[data-mode=own] .support-context{flex-basis:auto}.support-bar[data-mode=own] .support-actions{margin-left:auto}.support-directory{padding:16px}.support-notice{padding:0 16px 12px}.support-accounts li{gap:8px}.support-current{display:none}}.support-bar+.studio{min-height:calc(100vh - var(--studio-support-height, 0px));min-height:calc(100dvh - var(--studio-support-height, 0px))}.support-bar+.studio .game-editor{height:calc(100dvh - 132px - var(--studio-support-height, 0px))}@media(max-width:900px){.support-bar+.studio .game-editor{height:calc(100dvh - 136px - var(--studio-support-height, 0px))}}.game-title{display:flex;align-items:center;gap:4px;min-width:0}.game-heading>div{min-width:0;max-width:100%}.game-title h1{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;user-select:text}.game-title>:not(h1){flex-shrink:0}.studio-toast{position:fixed;bottom:24px;right:24px;z-index:100;max-width:min(420px,calc(100vw - 32px));margin:0}.game-title .icon-button{min-width:32px;min-height:32px}.studio-editing .game-title .icon-button{min-width:28px;min-height:28px}@media(max-width:760px){.game-title .icon-button{min-width:44px;min-height:44px}}.game-revision-slot{display:flex;align-items:center;margin-left:16px;min-width:0}.game-revision-slot:empty{display:none}.studio-editing .game-editor,.support-bar+.studio-editing .game-editor{height:var(--studio-editor-available-height, calc(100dvh - 132px - var(--studio-support-height, 0px)));min-height:0}.startup-composer{pointer-events:auto;display:flex;flex-direction:column;justify-content:flex-end;min-width:0;gap:8px}.startup-composer textarea{width:100%;min-height:100px;resize:vertical}@media(max-width:700px){.loading-editor-body:has(.startup-composer)>.loading-block{display:none}}.verification-notice{display:inline-flex;flex:0 0 116px;width:116px;color:var(--studio-muted);font-size:12px}.verification-notice button{color:inherit;cursor:pointer;font:inherit}.verification-status-trigger{display:grid;place-items:center;width:116px;height:32px;padding:0 9px;border:1px solid var(--studio-control-border);border-radius:8px;background:var(--studio-raised)}.verification-status-trigger:hover{border-color:var(--studio-muted)}.verification-notice button:focus-visible{outline:2px solid var(--studio-text);outline-offset:2px}.verification-status-value{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-width:0;max-width:100%;height:16px;color:var(--studio-text);font-weight:500;line-height:16px}.verification-status-label{display:block;min-width:0;overflow:hidden;line-height:16px;text-overflow:ellipsis;white-space:nowrap}.verification-status-icon{display:block;flex:none;width:14px;height:14px}.verification-status-value .revision-action-spinner{display:block;align-self:center;margin:0;vertical-align:0}.verification-notice[data-tone=success] .verification-status-value{color:var(--studio-success, #67c587)}.verification-notice[data-tone=warning] .verification-status-value{color:var(--studio-warning, #e8b86d);opacity:.82}.verification-notice[data-tone=danger] .verification-status-value{color:var(--studio-danger)}.verification-notice[data-tone=pending] .verification-status-value{color:var(--studio-info, #76a9fa)}.verification-popover{position:fixed;inset:auto;left:var(--verification-left, 8px);top:var(--verification-top, 60px);margin:0;box-sizing:border-box;width:360px;max-width:calc(100vw - 16px);max-height:min(400px,70vh);overflow:auto;padding:16px;background:var(--studio-panel);color:var(--studio-text);border:1px solid var(--studio-control-border);border-radius:8px;font:13px/1.5 var(--studio-font)}.verification-popover-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}.verification-popover p{margin:12px 0 0}.verification-popover ul{margin:12px 0 0;padding-left:18px;overflow-wrap:anywhere;color:var(--studio-muted)}@media(max-width:640px){.verification-notice,.verification-status-trigger{flex-basis:112px;width:112px}.verification-status-trigger{min-height:40px}}@media(max-width:760px){.studio-editing .game-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px}.studio-editing .game-heading .heading-actions{margin:0}}.verification-popover details{margin-top:12px}.verification-popover>button,.verification-popover .verification-recheck{margin-top:12px;min-height:32px;padding:4px 8px;border:1px solid var(--studio-control-border);border-radius:6px;background:transparent}.verification-notice button:disabled{cursor:default;opacity:.55}.image-credit-viewer{position:relative;margin-left:auto;font-size:12px}.image-credit-viewer summary{display:flex;align-items:center;gap:8px;min-height:44px;padding:8px;border-radius:4px;cursor:pointer;list-style:none}.image-credit-viewer summary::-webkit-details-marker{display:none}.image-credit-viewer summary img{flex:none;object-fit:contain}.image-credit-viewer summary:hover,.image-credit-viewer[open] summary{background:var(--studio-panel)}.image-credit-viewer summary strong{font-size:14px;font-weight:600;font-variant-numeric:tabular-nums}.image-credit-details{position:absolute;z-index:40;right:0;top:100%;width:min(280px,85vw);padding:16px;background:var(--studio-panel);color:var(--studio-text);border:1px solid var(--studio-border);border-radius:6px}.image-credit-details h2{margin:0 0 4px;font-size:14px;font-weight:600}.image-credit-details p{margin:0 0 12px;color:var(--studio-muted)}.image-credit-details dl{display:grid;grid-template-columns:1fr auto;gap:8px}.image-credit-details dd{margin:0;font-variant-numeric:tabular-nums}.image-credit-details small{display:block}.workspace-name~.image-credit-viewer{margin-left:0}.studio-editing .game-heading>div:first-child{flex:1 1 auto}.game-title{gap:6px}.game-title h1{max-width:min(360px,30vw)}.game-revision-slot{flex:1 1 auto;margin-left:20px}.experience-welcome{width:min(600px,calc(100vw - 32px));max-height:calc(100dvh - 32px);margin:auto;padding:24px;color:var(--studio-text);background:var(--studio-panel);border:1px solid var(--studio-border);border-radius:var(--studio-radius);box-shadow:0 24px 80px #0008}.experience-welcome[open]{display:flex;flex-direction:column;overflow:hidden}.experience-welcome::backdrop{background:#0009}.experience-welcome-header{position:absolute;right:12px;top:12px}.experience-welcome-header .icon-button{width:36px;height:36px}.experience-welcome-content{min-height:0;overflow-y:auto;padding:4px}.experience-welcome h2{padding-right:28px;font-size:clamp(24px,4vw,28px);line-height:1.2;letter-spacing:-.8px;margin:0 0 14px}.experience-welcome h2:focus{outline:none}.experience-welcome p{color:var(--studio-muted);font-size:14px}.experience-classic-guide{margin:16px 0;padding:14px;border:1px solid var(--studio-border);border-radius:12px;background:var(--studio-bg)}.experience-navigation-preview{display:flex;align-items:center;flex-wrap:wrap;gap:16px;margin-bottom:12px;font-size:12px;color:var(--studio-muted)}.experience-classic-link{display:inline-flex;align-items:center;gap:6px;padding:10px 12px;border-radius:8px;border:2px solid var(--studio-accent);color:var(--studio-text);background:var(--studio-raised)}.experience-classic-guide strong{display:block;margin-bottom:6px;font-size:14px}.experience-welcome-start h3{margin-bottom:6px;font-size:16px}.experience-welcome textarea{width:100%;resize:vertical;min-height:60px;margin-top:12px;padding:10px;background:var(--studio-bg);border:1px solid var(--studio-border);border-radius:8px}.experience-prompts{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.experience-prompts button{padding:6px 8px;text-align:left;font-size:12px;border:1px solid var(--studio-border);border-radius:8px;background:var(--studio-raised)}.experience-prompts button[aria-pressed=true]{border-color:var(--studio-accent)}.experience-welcome-actions{display:flex;flex-direction:column;flex-shrink:0;gap:8px;margin-top:14px}.experience-welcome-actions .primary{min-height:48px}.experience-welcome-actions .text-button{align-self:center}.studio:has(.experience-welcome[open]) .app-navigation a[data-astro-reload]{outline:2px solid var(--studio-accent);outline-offset:3px}@media(max-width:600px){.experience-welcome{padding:18px}.experience-navigation-preview{gap:10px}}@keyframes astroFadeInOut{0%{opacity:1}to{opacity:0}}@keyframes astroFadeIn{0%{opacity:0;mix-blend-mode:plus-lighter}to{opacity:1;mix-blend-mode:plus-lighter}}@keyframes astroFadeOut{0%{opacity:1;mix-blend-mode:plus-lighter}to{opacity:0;mix-blend-mode:plus-lighter}}@keyframes astroSlideFromRight{0%{transform:translate(100%)}}@keyframes astroSlideFromLeft{0%{transform:translate(-100%)}}@keyframes astroSlideToRight{to{transform:translate(100%)}}@keyframes astroSlideToLeft{to{transform:translate(-100%)}}@media(prefers-reduced-motion){::view-transition-group(*),::view-transition-old(*),::view-transition-new(*){animation:none!important}[data-astro-transition-scope]{animation:none!important}}:root{color-scheme:dark;--studio-bg: #131619;--studio-panel: #1a1d21;--studio-raised: #23272b;--studio-glass: #1a1d21;--studio-text: #e8e9e9;--studio-muted: #9b9c9e;--studio-border: #2a2d31;--studio-control-border: #4a4e52;--studio-accent: #4d62e5;--studio-accent-ink: #fff;--studio-accent-hover: #7989ec;--studio-accent-text: #a6b0f2;--studio-selected-fill: #1f2540;--studio-primary: #3045c9;--studio-primary-hover: #3a50d9;--studio-on-primary: #fff;--studio-glow: 0 0 0 1px #4d62e5, 0 0 20px rgb(77 98 229 / 25%);--studio-segment-track: linear-gradient(145deg, rgb(255 255 255 / 8%) 0%, rgb(255 255 255 / 0%) 100%);--studio-segment-border: rgb(255 255 255 / 8%);--studio-segment-active: linear-gradient(145deg, rgb(130 219 247 / 25%) 0%, rgb(130 219 247 / 12%) 50%, rgb(130 219 247 / 8%) 100%);--studio-segment-active-border: rgb(130 219 247 / 30%);--studio-segment-active-shadow: 0 0 12px rgb(130 219 247 / 15%), inset 0 1px 0 rgb(255 255 255 / 15%), inset 0 -1px 0 rgb(0 0 0 / 10%);--studio-segment-separator: linear-gradient(90deg, transparent 0%, rgb(255 255 255 / 12%) 30%, rgb(255 255 255 / 12%) 70%, transparent 100%);--studio-warning-bg: #2e2a1a;--studio-warning: #ffd147;--studio-success-bg: #1f2a1d;--studio-success: #b6f09c;--studio-danger-bg: #33191b;--studio-danger-border: #7a2f2e;--studio-placeholder: #9b9c9e;--studio-font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;--studio-support-own-bg: #145a86;--studio-support-own-ink: #def1ff;--studio-support-read-bg: #0b5961;--studio-support-read-ink: #d2f8fc;--studio-support-edit-bg: #f5b942;--studio-support-edit-ink: #261900;--studio-danger: #ff8f8e;--studio-danger-solid: #b02625;--studio-danger-solid-hover: #8f1e1d;--studio-on-danger: #ffffff;--studio-radius: 16px;--studio-control-radius: 10px;--studio-glass-fill: none;--studio-glass-edge: none;--studio-shadow: 0 24px 64px -16px rgb(0 0 0 / 50%);--studio-control-fill: #1a1d21;--studio-overlay-border: #363a3d;--studio-duration: .12s;--studio-ease: ease;--studio-font: "Plus Jakarta Sans", system-ui, sans-serif}.ui-tooltip{z-index:100;max-width:280px;padding:8px 12px;border-radius:6px;border:1px solid var(--studio-border, #39393f);background:var(--studio-raised, #242429);color:var(--studio-text, #eeeef0);font:12px/1.5 var(--studio-font, sans-serif);box-shadow:0 6px 20px #0006}.ui-select-trigger{display:inline-flex;align-items:center;justify-content:space-between;gap:16px;min-height:40px;padding:8px 12px;border:1px solid var(--studio-overlay-border);border-radius:8px;background:var(--studio-panel);color:var(--studio-text);font-size:13px}.ui-select-trigger[data-state=open]{border-color:var(--studio-accent)}.ui-select-content{z-index:100;min-width:210px;max-height:var(--radix-select-content-available-height);overflow:auto;padding:8px;border:1px solid var(--studio-overlay-border);border-radius:12px;background:var(--studio-panel);box-shadow:var(--studio-shadow);color:var(--studio-text);font:13px/1.5 var(--studio-font)}.ui-select-label{padding:6px 10px 10px;color:var(--studio-muted);font-size:12px}.ui-select-option{display:flex;justify-content:space-between;align-items:center;gap:20px;min-height:40px;padding:8px 10px;border-radius:7px;cursor:pointer;outline:none}.ui-select-option[data-highlighted]{background:var(--studio-raised);color:var(--studio-text)}.ui-select-option[data-state=checked]{color:var(--studio-text)}.ui-select-trigger:disabled{opacity:.5;cursor:not-allowed}.ui-select-text{display:flex;align-items:center;gap:8px;min-width:0}.ui-select-option-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui-select-badge{flex:none;padding:1px 8px;border:1px solid var(--studio-control-border, #555);border-radius:999px;background:var(--studio-bg, #000);color:var(--studio-muted);font-size:11px;font-weight:500}.ui-select-status{flex:none;color:var(--studio-muted);font-size:10px;line-height:1}.ui-select-status[data-tone=pending]{color:var(--studio-info, #76a9fa)}.ui-select-status[data-tone=success]{color:var(--studio-success, #67c587)}.ui-select-status[data-tone=warning]{color:var(--studio-warning, #e8b86d)}.ui-select-status[data-tone=danger]{color:var(--studio-danger, #ef7373)}.ui-select-status:focus-visible{outline:2px solid currentColor;outline-offset:3px;border-radius:999px}.ui-select-meta{flex:none;margin-left:auto;color:var(--studio-muted);font:12px/1.5 var(--studio-font-mono)}@media(prefers-reduced-motion:no-preference){.ui-select-trigger,.ui-select-option{transition:background-color var(--studio-duration),color var(--studio-duration)}}.game-editor{min-width:0;height:calc(100dvh - 160px);min-height:520px;display:grid;grid-template-columns:minmax(0,1fr) 340px;grid-template-rows:auto minmax(0,1fr);overflow:hidden;border:1px solid var(--studio-border);border-radius:var(--studio-radius);background:var(--studio-bg);color:var(--studio-text);font:13px/1.5 var(--studio-font, sans-serif)}.game-editor *,.game-editor *:before,.game-editor *:after{box-sizing:border-box}.game-editor [hidden]{display:none!important}.game-editor.dock-collapsed{grid-template-columns:minmax(0,1fr)}.game-editor h2,.game-editor h3,.game-editor p{margin:0}.game-editor h2{font-size:14px;font-weight:600}.game-editor h3{font-size:13px}.game-editor button,.game-editor select,.game-editor input,.game-editor textarea{font:inherit;color:inherit;border:1px solid var(--studio-border);border-radius:8px;background:var(--studio-raised);min-height:36px;padding:6px 10px}.game-editor button{cursor:pointer}.game-editor button:hover:not(:disabled),.game-editor button[aria-pressed=true]{background:var(--studio-control-fill),var(--studio-raised);border-color:var(--studio-overlay-border)}.game-editor button[aria-pressed=true]{color:var(--studio-accent-text)}.game-editor :disabled{opacity:.5;cursor:not-allowed}.game-editor :focus-visible{outline:2px solid var(--studio-accent);outline-offset:2px}.workspace-toolbar{grid-column:1 / -1;display:flex;align-items:center;gap:8px;flex-wrap:wrap;padding:8px 12px;border-bottom:1px solid var(--studio-border);background:var(--studio-panel)}.workspace-title{margin-right:auto;min-width:0}.workspace-title>span{display:block;overflow:hidden;text-overflow:ellipsis;max-width:200px;white-space:nowrap}.revision-picker{display:flex;align-items:center;gap:8px}.workspace-tools{display:flex;gap:4px}.workspace-count{margin-left:6px;font-size:12px}.editor-preview{min-width:0;min-height:0;display:flex;flex-direction:column}.preview-status{padding:8px 12px;color:var(--studio-muted);font-size:12px;border-bottom:1px solid var(--studio-border)}.preview-status p+p{margin-top:4px}.game-editor [role=alert]{color:var(--studio-danger)}.generated-preview-frame{display:block;width:100%;flex:1;min-height:0;border:0;background:var(--studio-bg)}.preview-empty{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:24px;gap:8px;color:var(--studio-muted)}.preview-empty strong{color:var(--studio-text);font-size:16px}.preview-empty p{max-width:360px}.workspace-dock{min-height:0;min-width:0;border-left:1px solid var(--studio-border);background:var(--studio-glass-fill),var(--studio-panel);overflow:auto}.workspace-pane{min-height:100%;padding:16px}.editor-conversation{display:flex;flex-direction:column;gap:12px;min-height:100%}.editor-conversation header,.preview-inspector header{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px}.editor-help{font-size:12px;color:var(--studio-muted)}.editor-messages{list-style:none;padding:0;margin:0;display:grid;gap:16px}.editor-messages li{border-bottom:1px solid var(--studio-border);padding-bottom:16px}.editor-messages strong{font-size:12px;color:var(--studio-muted)}.editor-message-text{white-space:pre-wrap;overflow-wrap:anywhere}.game-editor pre{white-space:pre-wrap;overflow-wrap:anywhere;max-height:320px;overflow:auto;font-size:12px;background:var(--studio-bg);padding:12px;border-radius:8px}.game-editor summary{cursor:pointer;padding:8px 0}.game-editor form{margin-top:auto;display:grid;gap:8px;padding-top:16px}.game-editor textarea{width:100%;resize:vertical;min-height:100px;background:var(--studio-bg)}.game-editor form button{justify-self:end}.editor-events{padding-left:20px}.preview-inspector>*+*{margin-top:16px}.preview-inspector label{display:grid;gap:6px}.preview-inspector select,.preview-inspector input{width:100%}.math-event-list{list-style:none;padding:0;max-height:240px;overflow:auto}.math-event-list button{display:flex;gap:12px;width:100%;text-align:left;border-radius:0;border:0;background:transparent}.math-event-list button span{color:var(--studio-muted);min-width:20px}@media(max-width:1100px){.game-editor{grid-template-columns:minmax(0,1fr) 300px}.workspace-title>span{max-width:140px}}@media(max-width:760px){.game-editor{height:auto;min-height:0;grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto}.workspace-toolbar{padding:8px}.workspace-tools{width:100%}.workspace-tools button{flex:1}.game-editor button,.game-editor select,.game-editor input{min-height:44px}.editor-preview{height:auto;min-height:0}.generated-preview-frame{flex:none;height:clamp(240px,65vw,440px)}.workspace-dock{border-left:0;border-top:1px solid var(--studio-border);max-height:65dvh}.workspace-pane{min-height:0}}.preview-status code{overflow-wrap:anywhere}.game-editor{grid-template-columns:minmax(0,1fr) minmax(340px,380px)}.workspace-pane:has(.editor-conversation){height:100%;min-height:0;padding:0}.workspace-dock:has(.workspace-pane:not([hidden])>.editor-conversation){overflow:hidden}.editor-conversation{height:100%;min-height:0;gap:0}.editor-conversation>header{padding:12px 16px;border-bottom:1px solid var(--studio-border)}.chat-thread{display:flex;flex-direction:column;flex:1;min-height:0}.chat-viewport{position:relative;flex:1;min-height:0;overflow-y:auto;padding:20px 16px;overscroll-behavior:contain}.chat-empty{display:flex;flex-direction:column;justify-content:center;min-height:180px;height:100%;gap:8px;text-align:center;color:var(--studio-muted)}.chat-empty h3{color:var(--studio-text);font-size:16px}.chat-message{margin-bottom:22px;overflow-wrap:anywhere}.chat-author{display:block;margin-bottom:6px;color:var(--studio-muted);font-size:11px;font-weight:600}.chat-user{margin-left:24px}.chat-user .chat-author{text-align:right}.chat-bubble{white-space:pre-wrap;padding:10px 12px;border:1px solid var(--studio-border);border-radius:12px 12px 3px;background:var(--studio-raised)}.chat-assistant{line-height:1.65}.chat-markdown{min-width:0;white-space:normal}.game-editor .chat-markdown>*+*{margin-top:10px}.chat-markdown ul,.chat-markdown ol{padding-left:20px}.chat-markdown a{color:var(--studio-accent-text);text-decoration:underline}.chat-markdown table{display:block;max-width:100%;overflow-x:auto;border-collapse:collapse}.chat-markdown td,.chat-markdown th{padding:6px;border:1px solid var(--studio-border)}.chat-markdown img{max-width:100%}.chat-tool{border:1px solid var(--studio-border);border-radius:8px;margin:8px 0;padding:0 10px;color:var(--studio-muted);font-size:12px}.chat-tool summary span{float:right;margin-left:8px;font-size:11px}.chat-status{display:flex;align-items:center;gap:8px;font-size:12px;color:var(--studio-muted)}.chat-diagnostics{margin:0;font-size:12px;color:var(--studio-muted);font-variant-numeric:tabular-nums}.chat-status.is-active:before{content:"";width:6px;height:6px;border-radius:50%;background:var(--studio-accent);flex-shrink:0}.game-editor .chat-scroll-bottom{position:sticky;bottom:0;display:block;margin:12px auto 0;border-radius:20px;font-size:12px;background:var(--studio-panel)}.game-editor .chat-scroll-bottom:disabled{display:none}.chat-composer{flex:none;padding:12px;border-top:1px solid var(--studio-border);background:var(--studio-panel)}.game-editor .chat-composer form{margin:0;padding:0;gap:0;border:1px solid var(--studio-border);border-radius:12px;background:var(--studio-bg);overflow:hidden}.game-editor .chat-composer form:focus-within{border-color:var(--studio-accent)}.game-editor .chat-composer textarea{border:0;border-radius:0;padding:12px;min-height:80px;max-height:180px;resize:vertical;outline-offset:-3px}.chat-composer-actions{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 8px 8px 12px}.chat-composer-actions .editor-help{font-size:10px}.game-editor .chat-composer-actions button{background:var(--studio-primary);color:var(--studio-on-primary);border-radius:8px;min-height:32px}.chat-input-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.chat-composer>[role]{margin-bottom:8px;font-size:12px}@media(max-width:1100px)and (min-width:761px){.game-editor{grid-template-columns:minmax(0,1fr) 340px}}@media(max-width:760px){.game-editor{grid-template-columns:minmax(0,1fr)}.workspace-dock:has(.editor-conversation){height:65dvh;min-height:400px;max-height:none}.chat-viewport{padding:16px 12px}.game-editor .chat-composer-actions button{min-height:44px;min-width:64px}}.game-editor.chat-first{grid-template-columns:minmax(0,1fr)}.chat-first .workspace-dock{border-left:0}.chat-first .editor-conversation{max-width:760px;margin-inline:auto}.chat-first .editor-conversation>header{border-bottom:0}.chat-first .chat-viewport{padding-inline:24px}.chat-first .chat-composer{border-top:0;padding:16px 24px 24px;background:transparent}@media(max-width:760px){.game-editor.chat-first{height:calc(100dvh - 200px);min-height:480px;grid-template-rows:auto minmax(0,1fr)}.chat-first .workspace-dock:has(.editor-conversation){height:100%;min-height:0}.chat-first .chat-composer{padding:12px}.chat-first .chat-viewport{padding-inline:12px}}.preview-surface{display:flex;flex-direction:column;flex:1;min-height:0;min-width:0}.preview-surface[hidden]{display:none}.preview-modes,.demo-controls{display:flex;align-items:center;gap:8px}.demo-controls{padding:8px 12px;flex-wrap:wrap;border-bottom:1px solid var(--studio-border)}.demo-controls label{display:flex;align-items:center;gap:8px;min-width:0}.demo-controls select{max-width:min(380px,65vw)}.demo-status{padding:8px 12px;color:var(--studio-muted);font-size:13px}.demo-player{pointer-events:none}.preview-modes button[aria-pressed=true]{background:var(--studio-panel);border-color:var(--studio-muted)}.demo-preview{min-width:0;flex:none}.demo-controls label{flex-wrap:wrap}.demo-controls select{max-width:100%;min-width:0}.simulation-statistics{border-bottom:1px solid var(--studio-border);padding-bottom:16px}.simulation-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0}.simulation-metrics dt{color:var(--studio-muted);font-size:12px}.simulation-statistics dd{margin:4px 0 0;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.simulation-modes{width:100%;border-collapse:collapse;font-size:13px}.simulation-modes caption{text-align:left;margin-bottom:8px}.simulation-modes th,.simulation-modes td{text-align:left;padding:6px 4px;border-bottom:1px solid var(--studio-border);overflow-wrap:anywhere}.simulation-statistics>.editor-help{margin-top:12px}.chat-file-input{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.chat-attachments{display:flex;flex-wrap:wrap;gap:8px;list-style:none;margin:0;padding:8px 12px}.chat-attachments li{display:flex;align-items:center;gap:6px;max-width:100%;padding:4px 8px;border:1px solid var(--studio-border);border-radius:8px}.chat-attachments span{overflow-wrap:anywhere}.chat-attachments img{width:36px;height:36px;object-fit:contain;border-radius:4px}.game-editor .chat-composer-actions .chat-attach-button{background:transparent;color:var(--studio-text);border:1px solid var(--studio-border)}.editor-sessions{padding:var(--studio-space-3, 12px);border-bottom:1px solid var(--studio-border, #34343a);display:grid;gap:var(--studio-space-2, 8px);font-size:12px}.editor-sessions select{width:100%;min-height:36px;color:inherit;background:var(--studio-surface, #242428);border:1px solid var(--studio-border, #34343a);border-radius:var(--studio-radius-sm, 6px);padding:6px}.editor-sessions details>*+*{margin-top:var(--studio-space-2, 8px)}.editor-sessions summary{cursor:pointer;padding-block:4px}.editor-sessions label{display:block}.editor-sessions{flex:0 1 auto;min-height:100px;max-height:40%;overflow-y:auto;overscroll-behavior:contain}.editor-sessions>button{justify-self:start}.editor-discard-dialog{width:min(440px,calc(100vw - 32px));max-height:calc(100dvh - 32px);overflow:auto;padding:24px;color:var(--studio-text);background:var(--studio-panel);border:1px solid var(--studio-border);border-radius:var(--studio-radius)}.editor-discard-dialog::backdrop{background:#000000a6}.game-editor .editor-discard-dialog p{margin-block:16px}.editor-discard-dialog>div{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.chat-clarification{padding-block:var(--space-2, .5rem);border-bottom:1px solid var(--studio-border)}.chat-clarification fieldset{border:0;margin:0;padding:0;display:grid;gap:var(--space-2, .5rem)}.chat-clarification legend{font-weight:600;padding-block:var(--space-2, .5rem)}.chat-clarification label{display:flex;gap:var(--space-2, .5rem);align-items:center}.chat-clarification label:has(textarea){display:grid}.chat-clarification form{display:block}.chat-clarification h3{font-size:inherit}.game-editor .chat-clarification textarea{min-height:60px}.preview-surface{position:relative}.preview-loading{position:absolute;inset:0;z-index:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;background:var(--studio-panel);color:var(--studio-muted);pointer-events:none}.preview-loading-shape{width:min(50%,240px);aspect-ratio:4 / 3;border-radius:8px;background:var(--studio-border)}.preview-loading{overflow:hidden}@media(max-width:760px){.game-editor:not(.chat-first){height:auto;min-height:calc(100dvh - 160px);grid-template-rows:auto minmax(280px,1fr) auto}}.game-editor{--editor-loading-fade: var(--studio-duration, .16s)}.editor-loading-region{position:relative;min-width:0}.editor-loading-content{transition:opacity var(--editor-loading-fade) ease}.editor-loading-region[data-loading=true]>.editor-loading-content{opacity:0;visibility:hidden}.editor-loading-skeleton{position:absolute;inset:0;display:flex;flex-direction:column;gap:12px;opacity:0;visibility:hidden;pointer-events:none;transition:opacity var(--editor-loading-fade) ease,visibility 0s var(--editor-loading-fade)}.editor-loading-region[data-loading=true]>.editor-loading-skeleton{opacity:1;visibility:visible;transition:opacity var(--editor-loading-fade) ease}.editor-loading-skeleton span{display:block;min-height:13px;border-radius:4px;background:var(--studio-border)}.editor-loading-skeleton>span:nth-child(3n){width:78%}.editor-loading-skeleton .skeleton-heading{width:45%;min-height:18px;margin-bottom:8px}.editor-loading-skeleton .skeleton-control{min-height:36px;width:100%}.skeleton-conversation{min-height:240px}.skeleton-statistics{min-height:280px}.skeleton-demos{min-height:220px}.skeleton-events{min-height:200px}.skeleton-control{min-height:36px}.skeleton-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px 16px}.skeleton-metrics>div{display:grid;gap:10px}.skeleton-metrics span:first-child{width:70%}.skeleton-metrics span:last-child{width:55%;min-height:24px}.skeleton-actions{display:flex;gap:8px}.skeleton-actions span{width:72px;min-height:36px}.editor-loading-label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.preview-loading{opacity:1;transition:opacity var(--editor-loading-fade) ease,visibility 0s}.preview-loading[data-loading=false]{opacity:0;visibility:hidden;transition:opacity var(--editor-loading-fade) ease,visibility 0s var(--editor-loading-fade)}@media(prefers-reduced-motion:reduce){.editor-loading-content,.editor-loading-skeleton,.preview-loading{transition:none!important}}.game-editor{height:calc(100dvh - 132px);min-height:560px;gap:14px;grid-template-columns:minmax(0,1fr) minmax(340px,390px);border:0;border-radius:0;background:var(--studio-bg, #000);font-size:14px;line-height:1.5}.workspace-toolbar{padding:0;border:0;background:transparent;gap:10px}.workspace-title>span{max-width:240px}.game-editor button,.game-editor select,.game-editor input,.game-editor textarea{border-color:var(--studio-control-border, #555);background:var(--studio-raised, #2a2a2a);border-radius:10px;min-height:38px}.game-editor button{border-radius:999px}.game-editor button:hover:not(:disabled),.game-editor button[aria-pressed=true]{background:var(--studio-raised, #2a2a2a);border-color:var(--studio-muted, #b4b4b4);color:var(--studio-text, #fff)}.game-editor button[aria-pressed=true]{background:var(--studio-selected-fill, #2a2a2a);color:var(--studio-text, #fff)}.editor-preview,.workspace-dock{background:var(--studio-panel, #111);border:0;border-radius:20px;overflow:hidden}.editor-preview{grid-column:1}.share-workspace{grid-column:1;min-width:0;overflow:auto;color:var(--studio-text, #fff)}.share-panel h3{margin:0;font-size:16px;font-weight:600}.share-panel p{margin:4px 0 0;color:var(--studio-muted, #b4b4b4)}.share-eyebrow,.share-muted,.share-choice small,.share-future small{color:var(--studio-muted, #b4b4b4);font-size:12px}.share-eyebrow{display:block;margin-bottom:2px;text-transform:uppercase;letter-spacing:.06em}.share-columns{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,3fr);gap:24px;min-height:100%}.share-panel{display:flex;flex-direction:column;min-width:0;padding:18px;border:1px solid var(--studio-border, #292929);border-radius:12px;background:var(--studio-bg, #000)}.share-panel>header{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.share-status{flex:none;padding:3px 7px;border:1px solid var(--studio-control-border, #555);border-radius:999px;font-size:11px}.share-notice,.share-message{margin-top:16px;padding:10px 12px;border-left:2px solid var(--studio-muted, #b4b4b4);background:var(--studio-raised, #2a2a2a)}.share-error{border-left-color:var(--studio-danger, #ef6b73)}.share-result{display:grid;gap:8px;margin-top:20px;padding-top:14px;border-top:1px solid var(--studio-border, #292929)}.share-result a,.share-download{color:var(--studio-text, #fff);text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}.share-result button{justify-self:start}.share-panel fieldset{display:grid;gap:8px;margin:18px 0 0;padding:0;border:0}.share-panel legend{margin-bottom:8px;font-size:13px;font-weight:600}.share-choice{display:grid;grid-template-columns:auto minmax(0,1fr);gap:10px;align-items:start;padding:10px;border:1px solid var(--studio-border, #292929);border-radius:8px;cursor:pointer}.share-choice:has(input:checked){border-color:var(--studio-text, #fff);background:var(--studio-raised, #2a2a2a)}.share-choice input{min-height:20px;margin:2px 0 0}.share-choice span{display:grid;gap:2px}.share-choice small{line-height:1.4}.share-advanced{margin-top:12px;border-top:1px solid var(--studio-border, #292929);padding-top:10px}.share-advanced summary{cursor:pointer;color:var(--studio-muted, #b4b4b4)}.share-future{display:grid;gap:2px;padding:8px 0;border-bottom:1px solid var(--studio-border, #292929)}.share-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:auto;padding-top:20px}.game-editor .share-primary{background:var(--studio-text, #fff);border-color:var(--studio-text, #fff);color:var(--studio-bg, #000)}.game-editor .share-primary:hover:not(:disabled){background:var(--studio-muted, #b4b4b4);color:var(--studio-bg, #000)}@media(max-width:1050px){.share-columns{grid-template-columns:1fr}}@media(max-width:760px){.share-columns{gap:14px}.share-panel{padding:14px}}.workspace-dock{grid-column:2;overflow:auto}.workspace-pane{padding:20px}.preview-status{padding:14px 20px;border-color:var(--studio-border, #292929)}.preview-status details{margin-top:8px}.preview-status code{word-break:break-word}.preview-recovery{display:grid;gap:8px;margin-top:8px}.preview-recovery button{justify-self:start}.editor-conversation>header{padding:16px 20px}.chat-author,.chat-tool summary span,.chat-composer-actions .editor-help{font-size:12px}.chat-bubble{border:0;border-radius:14px;background:var(--studio-raised, #2a2a2a);padding:12px 14px}.chat-tool{background:var(--studio-bg, #000);border-radius:10px}.chat-composer{padding:14px}.game-editor .chat-composer form{border-color:var(--studio-control-border, #555);border-radius:14px}.game-editor .chat-composer-actions button{border-radius:999px;min-height:38px}.chat-composer-actions{flex-wrap:wrap}.editor-sessions select{background:var(--studio-raised, #2a2a2a)}.preview-loading-shape{background:var(--studio-raised, #2a2a2a);border-radius:14px}.game-editor.chat-first .workspace-dock{grid-column:1}.game-editor .mobile-preview-toggle{display:none}.editor-loading-content,.editor-loading-skeleton,.preview-loading,.editor-loading-region[data-loading=true]>.editor-loading-skeleton,.preview-loading[data-loading=false]{transition:none}@media(prefers-reduced-motion:no-preference){.game-editor button,.game-editor input,.game-editor select,.game-editor textarea{transition:color .12s ease,background-color .12s ease,border-color .12s ease}}@media(prefers-reduced-motion:reduce){.game-editor *,.game-editor *:before,.game-editor *:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}@media(min-width:761px)and (max-width:1100px){.game-editor{grid-template-columns:minmax(0,1fr) 340px}}@media(max-width:760px){.game-editor,.game-editor:not(.chat-first),.game-editor.chat-first{height:calc(100dvh - 136px);min-height:480px;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);gap:12px}.workspace-toolbar{gap:8px}.workspace-title{flex:0 0 100%}.revision-picker{flex:1 1 180px;min-width:0}.revision-picker select{flex:1;min-width:0;width:100%}.workspace-title>span{max-width:160px}.workspace-tools{width:100%;gap:6px;flex-wrap:wrap}.workspace-tools button{flex:1}.game-editor .mobile-preview-toggle{display:block}.workspace-tools>button[aria-controls=workspace-dock]{display:none}.game-editor button,.game-editor select,.game-editor input{min-height:44px}.workspace-dock,.editor-preview,.game-editor.chat-first .workspace-dock{grid-column:1;grid-row:2;height:100%;min-height:0;max-height:none;border:0}.workspace-dock:has(.editor-conversation),.chat-first .workspace-dock:has(.editor-conversation){height:100%;min-height:0;max-height:none}.game-editor[data-mobile-view=panel]:not(.dock-collapsed) .editor-preview{display:none}.game-editor[data-mobile-view=preview]:not(.chat-first) .workspace-dock{display:none}.generated-preview-frame{flex:1;height:100%;min-height:0}.preview-status{max-height:35%;overflow:auto;padding:12px 14px}.workspace-pane{padding:16px}.workspace-pane:has(.editor-conversation){padding:0}.chat-first .chat-composer{padding:14px}.editor-sessions{min-height:100px;max-height:32%}}.chat-composer{display:flex;flex-direction:column;gap:10px}.chat-composer>[role]{margin-bottom:0}.chat-composer>button{align-self:flex-start}.game-editor .chat-composer form{background:var(--studio-raised, #2a2a2a)}.game-editor .chat-composer textarea{background:transparent;padding:14px 16px 6px;min-height:76px;max-height:220px;resize:none;field-sizing:content;scroll-padding-block:14px;outline:none}.game-editor .chat-composer form:has(textarea:focus-visible){border-color:var(--studio-accent);outline:1px solid var(--studio-accent);outline-offset:0}.chat-composer-actions{flex-wrap:nowrap;gap:12px;padding:8px 10px 10px 12px}.chat-composer-actions .editor-help{flex:1;min-width:0}.game-editor .chat-composer-actions .chat-attach-button{flex:none;min-height:34px;padding:6px 12px;border-color:var(--studio-control-border, #555)}.game-editor .chat-composer-actions .chat-send{flex:none;display:grid;place-items:center;width:36px;height:36px;min-height:36px;padding:0;border-radius:50%}.game-editor .chat-composer-actions .chat-send-retry{width:auto;padding:0 14px;border-radius:999px}@media(max-width:760px){.game-editor .chat-composer-actions .chat-send{width:44px;height:44px;min-width:44px;min-height:44px}.game-editor .chat-composer-actions .chat-send-retry{width:auto}.game-editor .chat-composer textarea{max-height:140px}}.chat-user{display:flex;flex-direction:column;align-items:flex-end;margin-left:0}.chat-user .chat-bubble{width:fit-content;max-width:85%;border-radius:16px 16px 4px}.chat-user .chat-author,.chat-assistant .chat-author{color:var(--studio-text)}.editor-visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.workspace-toolbar{justify-content:flex-end}.preview-status:empty{display:none}.preview-badge{position:absolute;top:12px;left:12px;z-index:2;padding:4px 10px;border-radius:999px;background:var(--studio-panel, #111);border:1px solid var(--studio-control-border, #555);color:var(--studio-text);font-size:12px;pointer-events:none}.preview-checks{display:grid;gap:8px;padding-bottom:16px;border-bottom:1px solid var(--studio-border)}.preview-checks ul{margin:0;padding-left:18px}.preview-checks code{overflow-wrap:anywhere}.workspace-dock{display:flex;flex-direction:column;overflow:hidden}.dock-header{flex:none;display:flex;align-items:center;gap:8px;padding:12px 12px 12px 16px;border-bottom:1px solid var(--studio-border)}.dock-tabs{flex:1;min-width:0;display:flex;gap:2px;padding:3px;border:1px solid var(--studio-border);border-radius:10px;background:var(--studio-bg, #000)}.game-editor .dock-tabs [role=tab]{flex:1;min-width:0;min-height:32px;padding:4px 10px;border:0;border-radius:7px;background:transparent;color:var(--studio-muted)}.game-editor .dock-tabs [role=tab]:hover:not(:disabled){background:transparent;color:var(--studio-text)}.game-editor .dock-tabs [role=tab][aria-selected=true]{background:var(--studio-raised, #2a2a2a);color:var(--studio-text)}.game-editor .dock-toggle{flex:none;display:grid;place-items:center;width:34px;height:34px;min-height:34px;padding:0;border-radius:50%}.workspace-dock>[role=tabpanel]{flex:1;min-height:0;overflow:auto}.workspace-dock>.workspace-pane:has(.editor-conversation){height:auto;overflow:hidden}.dock-tools>.workspace-pane{min-height:100%}.game-editor .mobile-switch{display:none}@media(max-width:760px){.game-editor .mobile-switch{display:flex;width:100%}.game-editor .dock-toggle{display:none}.game-editor .dock-tabs [role=tab]{min-height:40px}.dock-header{padding:10px 12px}}.game-editor .editor-session-picker{width:100%;min-height:40px;padding:8px 12px;border-radius:10px;border-color:var(--studio-control-border, #555);background:var(--studio-raised, #2a2a2a)}.game-editor .editor-session-picker>span:first-child{min-width:0;overflow:hidden}.ui-select-content:has(.ui-select-badge){min-width:var(--radix-select-trigger-width)}.game-editor.dock-collapsed{grid-template-columns:minmax(0,1fr) 48px}.dock-strip{grid-column:2;grid-row:2;display:flex;flex-direction:column;align-items:center;padding-top:12px;border-radius:20px;background:var(--studio-panel, #111);cursor:pointer}.dock-strip:hover{background:var(--studio-raised, #2a2a2a)}@media(min-width:761px)and (max-width:1100px){.game-editor.dock-collapsed{grid-template-columns:minmax(0,1fr) 48px}}@media(max-width:760px){.game-editor.dock-collapsed{grid-template-columns:minmax(0,1fr)}.dock-strip{display:none}}.revision-tools .editor-revision-picker{min-width:220px;max-width:340px;min-height:38px;padding:6px 12px;border-radius:10px;border-color:var(--studio-control-border, #555);background:var(--studio-raised, #2a2a2a)}.revision-tools .editor-revision-picker>span:first-child{min-width:0;overflow:hidden}@media(max-width:760px){.revision-tools .editor-revision-picker{flex:1;min-width:0;max-width:none}}.chat-model-picker{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:4px 12px 8px}.chat-generation-setting{display:flex;flex-direction:column;gap:4px;min-width:0}.chat-model-picker label{font-size:12px;color:var(--studio-muted)}.game-editor .editor-generation-picker{width:100%;min-width:0;min-height:38px;padding:6px 12px;border-radius:10px;border-color:var(--studio-control-border, #555);background:var(--studio-raised, #2a2a2a)}.game-editor .editor-generation-picker>span:first-child{min-width:0;overflow:hidden}.chat-error-details pre{max-height:10rem;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere}.chat-composer.has-error-details{max-height:60%;overflow-y:auto}.revision-tools .hint-target{display:inline-flex}.revision-tools .reopen-preview{flex:none;display:grid;place-items:center;width:38px;height:38px;min-height:38px;padding:0;border-radius:10px}.revision-tools .reopen-preview:disabled{pointer-events:none}.workspace-toolbar{padding-top:2px}@media(min-width:761px){.workspace-toolbar{grid-column:1}}.revision-tools{display:flex;align-items:center;gap:8px;min-width:0}.revision-tools .revision-action-link{color:var(--studio-accent-text, #fff);text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px;cursor:pointer}.revision-tools .revision-action-link:hover{text-decoration-thickness:2px}.revision-tools .revision-action-link:focus-visible{outline:2px solid var(--studio-accent, #fff);outline-offset:4px;border-radius:2px}@media(max-width:760px){.revision-tools{flex:1 1 100%}}.game-editor.tools-outside{grid-template-rows:minmax(0,1fr)}.game-editor.tools-outside{position:relative}.game-editor.tools-outside .workspace-toolbar{position:absolute}.game-editor.tools-outside .dock-strip{grid-row:1}.revision-tools .reopen-preview{border:1px solid var(--studio-control-border, #555);background:var(--studio-raised, #2a2a2a);color:var(--studio-text, #fff);cursor:pointer}.revision-tools .reopen-preview:hover:not(:disabled){border-color:var(--studio-muted, #b4b4b4)}.game-editor .editor-generation-picker .ui-select-meta{display:none}@media(min-width:761px){.revision-tools .editor-revision-picker{min-width:0;max-width:300px;min-height:32px;padding:3px 10px;gap:10px;border-radius:8px}.revision-tools .reopen-preview{width:32px;height:32px;min-height:32px;border-radius:8px}.revision-tools .reopen-preview svg{width:15px;height:15px}.revision-tools .ui-select-badge,.editor-sessions .ui-select-badge{padding:0 6px;font-size:10px}.editor-sessions{grid-template-columns:auto minmax(0,1fr);align-items:center;column-gap:10px;row-gap:6px;padding:8px 12px;min-height:0}.editor-sessions>:nth-child(n+3){grid-column:1 / -1}.editor-sessions>label:first-child{color:var(--studio-muted)}.game-editor .editor-session-picker{min-height:32px;padding:3px 10px;gap:10px;border-radius:8px}.game-editor .editor-session-picker .ui-select-meta{display:none}}.chat-model-picker{display:flex;flex-wrap:wrap;gap:6px;padding:4px 12px 6px}.chat-model-picker .chat-generation-setting{flex:none}.game-editor .editor-generation-picker{width:auto;min-height:28px;padding:2px 8px;gap:6px;border-radius:8px;font-size:12px}.game-editor .editor-generation-picker .ui-select-icon{font-size:11px}@media(max-width:760px){.game-editor .editor-generation-picker{min-height:32px}}.game-editor.chat-first .dock-header,.game-editor.chat-first .mobile-switch{display:none}.editor-conversation>.chat-header{position:relative;z-index:3;display:flex;align-items:center;gap:8px;min-height:0;padding:8px 12px;border-bottom:0}.editor-conversation>.chat-header:empty{display:none}.editor-history{margin-left:auto}.game-editor .history-toggle{display:grid;place-items:center;width:32px;height:32px;min-height:32px;padding:0;border-radius:8px;border-color:transparent;background:transparent;color:var(--studio-muted, #b4b4b4)}.game-editor .history-toggle:hover:not(:disabled),.game-editor .history-toggle[aria-expanded=true]{border-color:var(--studio-control-border, #555);background:var(--studio-raised, #2a2a2a);color:var(--studio-text, #fff)}.editor-history .editor-sessions{position:absolute;top:calc(100% - 2px);right:12px;width:min(340px,calc(100% - 24px));max-height:min(70dvh,520px);min-height:0;display:grid;grid-template-columns:minmax(0,1fr);padding:12px;border:1px solid var(--studio-control-border, #555);border-radius:12px;background:var(--studio-panel, #111);box-shadow:0 12px 32px #00000080;overflow-y:auto}.editor-history .editor-sessions[hidden]{display:none}.editor-history .editor-sessions:focus{outline:none}.editor-history .editor-sessions>*{grid-column:1}.editor-history .editor-sessions>label:first-child{color:var(--studio-muted)}.editor-history{display:flex;align-items:center;gap:2px}.editor-sessions-view{display:grid;gap:8px;min-width:0}.editor-sessions-view[hidden]{display:none}.editor-sessions-view>label:first-child{color:var(--studio-muted)}.editor-sessions-title{margin:0;font-size:13px;font-weight:600}.editor-sessions-view>button{justify-self:start}.turn-accounting{margin:0 12px 8px;font-size:12px;color:var(--studio-muted)}.turn-accounting summary{cursor:pointer;line-height:1.6;text-align:right;list-style-position:inside}.turn-accounting dl{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 12px;margin:8px 0}.turn-accounting dd{margin:0;max-inline-size:24ch;overflow-wrap:anywhere;font-variant-numeric:tabular-nums;text-align:right}.revision-action-spinner{display:inline-block;width:12px;height:12px;flex:none;margin-inline-end:6px;vertical-align:-2px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%}@keyframes revision-action-spin{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:no-preference){.revision-action-spinner{animation:revision-action-spin .8s linear infinite}}.chat-history{display:flex;justify-content:center;padding:var(--space-2, 8px);overflow-anchor:none}.chat-history button,.chat-activity-load{color:var(--muted-foreground, #aaa);font:inherit;font-size:12px}.chat-activity-load{align-self:flex-start;margin:4px 12px}.header-demos{position:relative}.header-demos>button{min-height:32px}.header-demo-panel{position:absolute;top:100%;right:0;z-index:50;width:max-content;min-width:210px;max-width:calc(100vw - 32px);max-height:min(520px,70dvh);overflow:auto;padding:8px;border:1px solid var(--studio-overlay-border);border-radius:12px;background:var(--studio-panel);box-shadow:var(--studio-shadow);font:13px/1.5 var(--studio-font);color:var(--studio-text)}.header-demo-panel[hidden]{display:none}.header-demo-panel .demo-controls{flex-wrap:wrap}.header-demo-panel .demo-controls label,.header-demo-panel select{width:100%}.header-demo-panel .demo-status{margin-bottom:0}@media(max-width:760px){.header-demo-panel{position:fixed;top:auto;right:16px}}.demo-scenarios{list-style:none;margin:0;padding:0;display:grid;gap:0}.demo-scenarios li{min-width:0}.demo-scenarios button{box-sizing:border-box;display:flex;align-items:center;width:100%;min-height:40px;padding:8px 10px;text-align:left;justify-content:flex-start;border:0;border-radius:7px;background:transparent;color:var(--studio-text);font:13px/1.5 var(--studio-font);white-space:nowrap;cursor:pointer}.demo-scenarios button:enabled:hover,.demo-scenarios button:enabled:focus-visible{background:var(--studio-raised);color:var(--studio-text)}.demo-scenarios button:disabled{opacity:.5;cursor:not-allowed}.demo-scenarios .editor-help{margin:2px 8px 8px}.header-demo-panel .editor-loading-content,.header-demo-panel .editor-loading-region[data-loading=false]{min-height:0}.game-editor .chat-composer-actions :is(.chat-attach-button,.chat-stop){display:grid;place-items:center;flex:none;width:32px;height:32px;min-width:32px;min-height:32px;padding:0;border:1px solid var(--studio-control-border, #555);border-radius:8px;background:var(--studio-raised, #2a2a2a);color:var(--studio-text, #fff);transition:box-shadow .12s ease}.game-editor .chat-composer-actions :is(.chat-attach-button,.chat-stop):hover:not(:disabled){box-shadow:0 0 0 4px #ffffff1f}.game-editor .chat-composer-actions :is(.chat-attach-button,.chat-stop):disabled{opacity:.6}@media(max-width:760px){.game-editor .chat-composer-actions :is(.chat-attach-button,.chat-stop){width:44px;height:44px;min-width:44px;min-height:44px}}.editor-math,.editor-art{grid-column:1;grid-row:2;min-width:0;min-height:0;overflow:auto;background:var(--studio-panel, #111)}.editor-math[hidden],.editor-preview[hidden],.editor-art[hidden]{display:none}.math-workspace{--math-control: 28px;--math-board-row: 28px;container-type:inline-size;padding:8px;font:13px/1.4 var(--studio-font, sans-serif)}.math-workspace h2,.math-workspace h3{font-size:14px;font-weight:600;margin:0}.math-workspace p{margin:4px 0}.math-toolbar{position:sticky;top:0;z-index:4;background:var(--studio-panel, #111);padding-block:0;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}.math-title{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 12px}.math-title .editor-help{font-size:12px}.math-actions,.math-view-switch{display:flex;align-items:center;flex-wrap:wrap;gap:6px}.math-workspace button,.math-workspace select{min-height:32px;padding:5px 10px;border-radius:5px;font:inherit}.math-workspace button.math-save{background:var(--studio-primary, #fff);color:var(--studio-on-primary, #000);border-color:var(--studio-accent, #fff);font-weight:600}.math-workspace button.math-publish{background:transparent;border-color:var(--studio-control-border, #555)}.math-base-details{position:relative;color:var(--studio-muted, #b4b4b4)}.math-workspace summary{cursor:pointer;padding:7px 4px}.math-options{position:absolute;right:0;top:100%;z-index:5;width:min(300px,75vw);padding:12px;background:var(--studio-panel, #111);border:1px solid var(--studio-control-border, #555);border-radius:6px}.math-options p{overflow-wrap:anywhere}.math-options button{margin-top:8px}.math-sections{display:flex;gap:16px;margin:0;border-bottom:1px solid var(--studio-border, #292929)}.math-workspace .math-sections button{background:transparent;border:0;border-bottom:2px solid transparent;border-radius:0;padding:3px 0;color:var(--studio-muted, #b4b4b4)}.math-workspace .math-sections button[aria-selected=true]{border-bottom-color:var(--studio-accent, #fff);color:var(--studio-text, #fff)}.math-content{min-width:0}.math-content>.editor-help{max-width:62ch}.math-table-scroll{overflow:auto;max-width:100%;min-width:0;margin-bottom:4px}.math-workspace table{border-collapse:collapse;width:max-content;max-width:none;margin-bottom:10px;text-align:left;font-variant-numeric:tabular-nums}.math-workspace caption{text-align:left;padding:3px 0;color:var(--studio-muted, #b4b4b4);font-size:12px}.math-workspace th,.math-workspace td{border-bottom:1px solid var(--studio-border, #292929);padding:1px 4px;font-weight:400}.math-workspace thead th{color:var(--studio-muted, #b4b4b4);font-size:12px}.math-workspace td,.math-workspace thead th:not(:first-child){text-align:right}.math-workspace td{position:relative}.math-workspace td input{box-sizing:border-box;width:64px;min-height:var(--math-control);height:var(--math-control);padding:2px 4px;border:1px solid var(--studio-control-border, #555);background:var(--studio-panel, #111);color:var(--studio-text, #fff);border-radius:4px;font:inherit;text-align:right;font-variant-numeric:tabular-nums}.math-workspace td input:hover:not(:disabled){background:var(--studio-raised, #2a2a2a)}.math-workspace th:first-child{position:sticky;left:0;z-index:1;background:var(--studio-panel, #111);text-align:left}.math-symbol{display:flex;align-items:center;gap:8px;min-width:110px;max-width:200px}.math-symbol img,.math-symbol-fallback{width:24px;height:24px;flex:none;object-fit:contain}.math-symbol-fallback{display:inline-flex;align-items:center;justify-content:center;color:var(--studio-muted, #b4b4b4)}.math-cell-edited input,.math-stop-edited select{border-color:var(--studio-accent, #fff)}.math-edit-mark{position:absolute;right:2px;top:0;font-size:12px}.math-workspace :is(button,input,select,summary,[tabindex]):focus-visible{outline:2px solid var(--studio-text, #fff);outline-offset:2px}.math-report{width:560px;max-width:100%}.math-report .simulation-statistics{border:0;padding:0}.math-report .simulation-metrics{display:block;margin:4px 0}.math-report .simulation-metrics>div{display:flex;align-items:baseline;justify-content:space-between;gap:16px;min-height:28px;padding:4px 0;border-bottom:1px solid var(--studio-border, #292929)}.math-report .simulation-metrics dd{margin:0;font-size:13px;font-variant-numeric:tabular-nums}.math-report .simulation-metrics>div:first-child dd{font-size:14px;font-weight:600}.math-report .simulation-metrics>div:nth-child(2) dd{font-size:13px}.math-report .simulation-modes{width:100%}.math-report .simulation-statistics>.editor-help{max-width:62ch}.math-report code{overflow-wrap:anywhere}.math-stale{padding:16px 0;max-width:52ch}.math-reel-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:16px}.math-reel-toolbar label{display:flex;align-items:center;gap:10px}.math-workspace select{appearance:none;-webkit-appearance:none;box-sizing:border-box;padding-right:32px;background:var(--studio-panel, #111) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='m1 1 5 5 5-5' fill='none' stroke='%23b4b4b4' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 10px center / 12px 8px;border:1px solid var(--studio-control-border, #555);color:var(--studio-text, #fff)}.math-reel-toolbar select{min-width:120px}.math-strip-scroll{max-height:540px;max-height:min(540px,62vh);overflow:auto;margin:4px 0;border-block:1px solid var(--studio-border, #292929)}.math-strips{display:flex;width:max-content;min-width:100%}.math-strip{flex:1 0 160px;width:160px;border-right:1px solid var(--studio-border, #292929)}.math-strip:last-child{border-right:0}.math-strip h3{position:sticky;top:0;z-index:2;background:var(--studio-panel, #111);display:flex;justify-content:space-between;align-items:baseline;padding:4px 6px;border-bottom:1px solid var(--studio-border, #292929)}.math-strip h3 span{color:var(--studio-muted, #b4b4b4);font-size:12px;font-weight:400}.math-strip ol{list-style:none;padding:0;margin:0}.math-strip li{display:flex;align-items:center;gap:4px;padding:0 4px;border-bottom:1px solid var(--studio-border, #292929)}.math-stop-number{flex:0 0 24px;color:var(--studio-muted, #b4b4b4);font-size:11px;text-align:right;font-variant-numeric:tabular-nums}.math-stop-art .math-symbol{min-width:0}.math-stop-art .math-symbol>span:last-child{display:none}.math-strip select{min-width:0;width:100%;padding:4px;font-size:12px;border-color:transparent}.math-strip select:hover:not(:disabled){border-color:var(--studio-control-border, #555);background:var(--studio-raised, #2a2a2a)}.math-strip .math-stop-edited select{border-color:var(--studio-accent, #fff)}.math-count-summary{color:var(--studio-muted, #b4b4b4)}.game-editor.tools-outside :is(.editor-math,.editor-art){grid-row:1}.game-editor:has(:is(.editor-math,.editor-art):not([hidden])) .workspace-dock{grid-row:2}.game-editor.tools-outside:has(:is(.editor-math,.editor-art):not([hidden])) .workspace-dock{grid-row:1}.math-view-switch{flex:none;flex-wrap:nowrap;gap:2px;padding:3px;border:1px solid var(--studio-control-border, #555);border-radius:10px;background:var(--studio-bg, #000)}.math-view-switch button{min-height:36px;min-width:62px;padding:6px 12px;border:0;border-radius:7px;background:transparent;color:var(--studio-muted, #b4b4b4);font:inherit;cursor:pointer}.math-view-switch button:focus-visible{outline:2px solid var(--studio-text, #fff);outline-offset:2px}@media(max-width:760px){.game-editor[data-mobile-view=panel] :is(.editor-math,.editor-art){display:none}.revision-tools{flex-wrap:wrap;width:100%}.revision-tools .revision-picker{flex:1 1 100%;width:100%}.revision-tools>button,.revision-tools .hint-target button{min-height:44px}.math-workspace{padding:12px}.math-sections{gap:20px;margin-top:12px}.math-strip select{font-size:13px}.math-workspace td input{width:64px}.math-symbol{min-width:98px;gap:6px}.math-report .simulation-metrics{gap:0 16px}}@media(pointer:coarse),(max-width:760px){.math-view-switch button,.math-workspace button,.math-workspace td input,.math-workspace .math-base-details summary,.math-workspace select{min-height:44px}.math-workspace .math-base-details summary{display:flex;align-items:center}.math-workspace td input{width:64px;font-size:16px;appearance:textfield}.math-workspace td input::-webkit-inner-spin-button,.math-workspace td input::-webkit-outer-spin-button{appearance:none;margin:0}.math-workspace th,.math-workspace td{padding-inline:4px}}.math-mode-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:8px 16px}.math-mode-toolbar label{display:flex;align-items:center;gap:8px;font-size:13px}.math-mode-toolbar select{min-width:120px;max-width:100%}.math-reel-uses p{margin:4px 0}.math-mechanics{max-width:680px;margin-top:16px}.math-mechanics h3{font-size:14px;font-weight:500}.math-mechanics details{padding:8px 0;border-bottom:1px solid var(--border, #292929)}.math-mechanics summary{cursor:pointer;font-size:13px}.math-mechanics pre,.math-config{white-space:pre-wrap;overflow-wrap:anywhere;font-size:12px}.math-strips-weighted .math-strip{flex-basis:245px;width:245px}.math-strips-weighted .math-strip li>.editor-help{flex:0 0 54px;font-size:11px}.math-plugins{display:grid;gap:4px;margin:0 0 4px}.math-plugins>h3{font-size:14px;margin:0}.math-plugins>p,.math-plugin>p{margin:4px 0 8px}.math-plugin{border-top:1px solid var(--border, #303030);padding-top:4px;min-width:0}.math-plugin h4{font-size:14px;font-weight:500;margin:0 0 4px}.math-plugin-group{border:0;padding:4px 0 4px 8px;margin:0;min-width:0;border-left:1px solid var(--border, #303030)}.math-plugin-group legend{padding:0;font-size:13px;font-weight:500}.math-plugin-field{display:grid;grid-template-columns:minmax(120px,1fr) minmax(120px,1fr);gap:4px 12px;align-items:center;padding:5px 0}.math-plugin-field input,.math-plugin-field select{min-width:0;width:100%}.math-plugin-field input[type=checkbox]{width:auto;justify-self:start}.math-plugin-description{grid-column:1 / -1;line-height:1.5;max-width:80ch}.math-plugin-unset{font-size:12px;margin:0 0 4px}.math-plugin-array-item{padding:4px 0}.math-plugin-map-add{display:flex;gap:8px;margin-top:8px}.math-plugin-map-add input{min-width:0}.math-plugin-issues,.math-plugin input:invalid{color:var(--status-error, #e5566f)}@media(max-width:600px){.math-plugin-field{grid-template-columns:1fr}.math-plugin-group{padding-left:8px}}.math-plugin-matrix{display:grid;gap:4px;margin:8px 0;max-width:100%;overflow-x:auto}.math-plugin-matrix-row{display:flex;align-items:center;gap:4px}.math-plugin-matrix-row>span{min-width:24px;font-variant-numeric:tabular-nums}.math-plugin-matrix-row input{width:52px;min-width:44px;font-variant-numeric:tabular-nums}.math-plugin-settings{display:flex;flex-wrap:wrap;column-gap:16px;align-items:start}.math-plugin-settings>div{flex:1 1 240px;min-width:0}.math-plugin-settings>details{flex:1 0 100%}.math-plugin>.math-plugin-settings{border-left:0;padding-left:0}.math-plugin>.math-plugin-settings>legend{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.math-workspace .math-plugin-unset{background:none;border:0;color:var(--studio-muted, #b4b4b4);text-decoration:underline;padding:2px 0}.math-plugin>.math-plugin-settings>div:not(:has(fieldset,section)){flex:0 1 360px}.math-plugin-entry{min-width:0;border-top:1px solid var(--studio-border);padding-top:4px}.math-plugin-entry>.math-plugin{border-top:0;padding-top:0}.math-plugin-context{margin:0 0 4px;overflow-wrap:anywhere}.math-plugin-settings{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),280px));gap:4px 12px}.math-plugin-settings>details,.math-plugin-settings>.math-plugin-map-add{grid-column:1 / -1}.math-plugin-settings>details[open]{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,240px),280px));gap:4px 12px}.math-plugin-settings>details>summary{grid-column:1 / -1}.math-plugin-property:has(fieldset,section){grid-column:1 / -1}.math-plugin-property{min-width:0}.math-plugin-field{grid-template-columns:minmax(88px,1fr) minmax(72px,120px);gap:4px 8px;padding:0}.math-plugin-field>.editor-help:not(details){grid-column:2}.math-plugin-field>button{grid-column:2}.math-plugin-field input,.math-plugin-field select{font-variant-numeric:tabular-nums}.math-plugin-description{margin:0}.math-plugin-description summary{width:fit-content}.math-mode-toolbar label{min-width:0}.math-mode-toolbar select{min-width:0;max-width:220px}@container (max-width: 440px){.math-plugin-settings,.math-plugin-settings>details[open]{grid-template-columns:minmax(0,1fr)}.math-plugin-field{grid-template-columns:minmax(80px,1fr) minmax(96px,160px)}.math-plugin-field input,.math-plugin-field select,.math-mode-toolbar select{min-height:44px}.math-mode-toolbar{gap:8px}.math-mode-toolbar label{flex:1 1 100%;justify-content:space-between}}.math-content[data-section=Pays]{display:grid;grid-template-columns:minmax(320px,380px) minmax(0,1fr);gap:12px;align-items:start}.math-content[data-section=Pays]>.math-mode-panels:not([hidden]){display:contents}.math-content[data-section=Pays]>.math-mode-panels>div:not([hidden]){grid-column:2;grid-row:1;min-width:0}.math-content[data-section=Pays]>.math-paytables{grid-column:1;grid-row:1;min-width:0}.math-workspace{container-type:inline-size}.math-payline-editor{padding:0;border:0}.math-payline-selection{display:flex;gap:8px 16px;flex-wrap:wrap;align-items:center}.math-payline-selection label{display:flex;align-items:center;gap:8px}.math-payline-board-scroll{overflow-x:auto}.math-payline-board{position:relative;display:grid;gap:0;margin:8px 0}.math-payline-column{display:grid;gap:0}.math-workspace .math-payline-column button{position:relative;z-index:1;border-radius:0;background:transparent;min-height:var(--math-control);border:1px solid var(--studio-border);font-size:13px;color:var(--studio-muted)}.math-workspace .math-payline-column button[aria-pressed=true]{background:color-mix(in srgb,var(--studio-text) 14%,transparent);color:var(--studio-text);font-weight:600;outline:1px solid var(--studio-text);outline-offset:-2px}.math-payline-path{position:absolute;inset:0;pointer-events:none;color:var(--studio-text)}.math-payline-path svg{width:100%;height:100%}.math-payline-path-label{font-size:12px;margin:4px 0 8px}.math-payline-thumbnails{display:grid;grid-template-columns:repeat(auto-fill,minmax(68px,1fr));gap:4px;max-height:200px;overflow-y:auto;margin:8px 0}.math-workspace .math-payline-thumbnails button{display:flex;align-items:center;gap:4px;padding:4px;min-height:44px}.math-payline-thumbnails svg{width:100%;height:30px}.math-payline-thumbnails span{font-size:12px}.math-workspace .math-payline-thumbnails button[aria-pressed=true]{outline:1px solid var(--studio-text);outline-offset:-2px}.math-trigger-group>h3{font-size:13px;margin:8px 0 4px}.math-plugin-description{font-size:12px}.math-plugin-description summary{color:var(--studio-muted)}.math-plugin-field{position:relative}.math-plugin-field>.math-plugin-description{grid-column:1}.math-plugin-description[open]{grid-column:1 / -1}.math-plugin-settings{row-gap:4px}.math-incoming{margin:12px 0}@container (max-width: 700px){.math-content[data-section=Pays]{grid-template-columns:minmax(0,1fr);gap:16px}.math-content[data-section=Pays]>.math-mode-panels>div:not([hidden]){grid-column:1;grid-row:2}}.math-payline-reel-labels{display:grid;text-align:center;color:var(--studio-muted);font-size:12px;margin-top:8px}.math-workspace .math-plugin-unset{min-height:24px}.math-plugin-help{margin:0}.math-plugin-help dl{margin:8px 0}.math-plugin-help dt{font-weight:600}.math-plugin-help dd{margin:4px 0 12px;max-width:80ch}.math-workspace .math-plugin-help summary{padding:4px 0}.math-plugin-settings:has(>legend:only-child){display:none}.math-navigation{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 16px;min-width:0}.math-navigation .math-mode-toolbar{margin-left:auto}.math-reset{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px}.math-navigation .math-sections{flex-wrap:wrap;min-width:0}.math-navigation{margin:4px 0;gap:4px 12px}.math-toolbar{gap:4px 8px}.math-workspace :is(button,select,input:not([type=checkbox])){box-sizing:border-box;min-height:var(--math-control);padding-block:2px;font-size:13px}.math-workspace input:not([type=checkbox]){height:var(--math-control)}.math-workspace summary{padding-block:3px}.math-workspace .math-reset{min-width:var(--math-control)}.math-workspace .math-help{min-width:24px;min-height:24px;padding:0 4px;background:transparent;border:0;color:var(--studio-muted)}.math-plugin-heading{display:flex;align-items:center;gap:4px}.math-plugin-heading h4{margin:0;font-size:13px}.math-region-title{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.math-plugin-entry:first-of-type{border-top:0;padding-top:0}.math-plugin-settings{align-items:start}.math-plugin-field>span:first-child{line-height:1.3}.math-plugin-field input[type=checkbox]{margin:4px 0}.math-plugin-property>.math-plugin-unset{margin:0}.math-content[data-section=Features]>.math-paytables{margin-top:4px}.math-payline-selection{gap:4px 8px}.math-payline-board{margin:4px 0}.math-payline-reel-labels{margin-top:4px}.math-payline-thumbnails{margin:4px 0}.math-workspace .math-payline-thumbnails button{min-height:var(--math-control);padding:2px}.math-payline-thumbnails svg{height:24px}.math-section-note{display:flex;align-items:center;flex-wrap:wrap;gap:4px}.math-workspace .math-section-note{margin:0}.math-reel-uses{display:flex;flex-wrap:wrap;gap:0 12px}.math-reel-toolbar{gap:4px 8px}.math-report .simulation-metrics dt{font-size:13px}@media(pointer:coarse),(max-width:760px){.math-workspace{--math-control: 44px;--math-board-row: 44px}.math-workspace .math-help,.math-workspace summary,.math-workspace .math-plugin-unset{min-height:44px}.math-workspace summary{align-content:center}.math-workspace input:not([type=checkbox]){font-size:16px}.math-workspace input[type=checkbox]{min-width:24px;min-height:24px}.math-plugin-field:has(input[type=checkbox]){min-height:44px}.math-plugin-settings,.math-plugin-settings>details[open]{grid-template-columns:minmax(0,1fr)}.math-reel-toolbar label,.math-reel-toolbar select{min-width:0;max-width:100%}}.math-navigation .math-sections{gap:2px;padding:2px;border:1px solid var(--studio-border, #292929);border-radius:5px;background:var(--studio-ground, #080808)}.math-workspace .math-sections button{padding:2px 8px;border:0;border-radius:3px}.math-workspace .math-sections button[aria-selected=true]{background:var(--studio-raised, #292929);color:var(--studio-text, #fff)}.math-field-label{display:flex;align-items:center;gap:2px;min-width:0}.math-workspace .math-paytable-matrix :is(th,td){padding-block:0}.math-plugin-group legend{display:flex;align-items:center;gap:2px}.math-paytables>h3,.math-plugins>h3{line-height:24px}@media(min-width:761px)and (pointer:fine){.math-workspace{--math-control: 26px}}.math-paytable-heading{display:flex;align-items:center;flex-wrap:wrap;gap:4px 8px;min-height:24px}.math-paytable-heading>.editor-help{font-size:12px}.math-trigger-items{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));align-items:start;gap:4px 12px}.math-trigger-items>.math-plugin-entry{border-top:0;padding-top:0}.math-trigger-group .math-plugin-settings{grid-template-columns:minmax(0,1fr)}.math-trigger-group .math-plugin-field{grid-template-columns:minmax(88px,140px) minmax(72px,120px)}.math-reel-uses:empty{display:none}.math-content[data-section=Features] .math-table-scroll:has(tbody:empty){display:none}.math-workspace .math-payline-thumbnails button{display:grid;grid-template-columns:18px minmax(0,1fr);gap:4px;padding:4px}.math-payline-thumbnails svg{display:block;min-width:0;width:100%}.math-strip-scroll{overflow-x:auto;overflow-y:hidden;max-height:none}.math-strip{height:var(--math-strip-height, min(62dvh, 540px));overflow-y:auto;overscroll-behavior-y:contain}.math-lines-count{margin-left:auto;white-space:nowrap}.revision-tools .editor-art-picker{flex:none}@media(min-width:761px){.revision-tools .editor-art-picker{min-height:32px;padding:3px 10px;border-radius:8px}}@media(max-width:760px){.revision-tools{flex-wrap:wrap}.revision-tools .editor-revision-picker{min-width:90px}}.chat-turn-stats{margin:0 0 16px;min-width:0}.chat-turn-stats .turn-accounting{margin:0;font-variant-numeric:tabular-nums}.chat-turn-stats summary{overflow-wrap:anywhere}.chat-assistant:has(+.chat-turn-stats){margin-bottom:0}.chat-assistant:has(+.chat-turn-stats) .chat-markdown:last-child>:last-child{margin-bottom:0}.math-data-dialog{width:min(1200px,calc(100% - 24px));max-height:calc(100% - 32px);padding:20px;background:var(--popover,#252525);color:var(--foreground,#ededed);border:1px solid var(--border,#383838);border-radius:var(--radius,8px)}.math-data-dialog::backdrop{background:#0009}.math-data-dialog>header{display:flex;align-items:center;justify-content:space-between;gap:16px}.math-data-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.math-data-panel{min-width:0;border-top:1px solid var(--border,#383838);padding-top:14px;overflow-wrap:anywhere}.math-data-panel h3{font-size:15px;font-weight:550;margin:0 0 8px}.math-data-number{font-size:26px;font-variant-numeric:tabular-nums;margin:12px 0}.math-data-text{white-space:pre-wrap}.math-data-label{display:inline-block;padding:4px 8px;border:1px solid var(--border,#383838);border-radius:4px}.math-data-stats{display:flex;gap:14px;flex-wrap:wrap;margin:12px 0;font-variant-numeric:tabular-nums}.math-data-stats dt{font-size:11px;color:var(--muted-foreground,#aaa)}.math-data-stats dd{margin:4px 0}.math-data-bars{display:grid;gap:6px}.math-data-bar{display:grid;grid-template-columns:minmax(70px,1fr) minmax(30px,2fr) minmax(50px,auto);gap:8px;align-items:center;font-size:12px}.math-data-bar>span:last-child{text-align:right;font-variant-numeric:tabular-nums}.math-data-track{height:12px;background:var(--secondary,#303030)}.math-data-track>span{display:block;height:100%;background:var(--chart-1,#93c7b3)}.math-data-line{display:block;width:100%;height:220px}.math-data-line text{fill:currentColor;font-size:11px}.math-data-table{max-height:400px;overflow:auto}.math-data-table table{width:100%;border-collapse:collapse}.math-data-table caption{text-align:left;color:var(--muted-foreground,#aaa)}.math-data-table th,.math-data-table td{padding:8px;border-bottom:1px solid var(--border,#383838);text-align:left;white-space:pre-wrap;min-width:75px}.math-data-pagination{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:8px;font-size:12px}@media(max-width:760px){.math-data-grid{grid-template-columns:1fr}.math-data-dialog{padding:12px}.math-data-pagination{flex-wrap:wrap}}.math-dashboard-report{width:100%;min-width:0}.math-dashboard-inline .math-data-grid{margin-top:12px}.math-dashboard-inline h2{font-size:16px}.math-data-placeholder{height:88px;margin-top:12px;border-radius:4px;background:var(--studio-border)}.math-dashboard-inline progress{width:100%;height:5px;accent-color:var(--studio-text)}.math-dashboard-sections{display:grid;gap:28px;margin-top:20px}.math-data-section{min-width:0}.math-data-section>h3{margin:0 0 12px;font-size:16px;font-weight:600}.math-data-panel h4{font-size:15px;font-weight:550;margin:0 0 8px}.math-streak-comparison{grid-column:1/-1}.math-streak-comparison th:first-child{min-width:120px}.math-data-panel[data-primary=true] .math-data-number{font-size:34px}.math-data-section[data-section=overview] .math-data-grid{grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:1000px){.math-data-section[data-section=overview] .math-data-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:400px){.math-data-section[data-section=overview] .math-data-grid{grid-template-columns:1fr}}.math-data-section .math-data-grid{margin-top:0}.math-data-section-header{display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:12px}.math-data-section-header h3{margin:0;font-size:16px;font-weight:600}.math-data-panel[data-kind=table]{grid-column:1/-1}.math-data-heading{display:flex;align-items:flex-start;gap:6px;margin-bottom:8px;min-width:0}.math-data-heading h2,.math-data-heading h4{margin:0}.math-data-heading .math-help,.math-streak-label .math-help{flex:none;min-width:24px;min-height:24px;padding:0;border:0;background:transparent;color:var(--studio-muted);font-size:14px;line-height:1;cursor:help}.math-data-section[data-section=overview] .math-data-heading{min-height:40px}.math-data-unit{margin:8px 0 0;font-size:12px;color:var(--studio-muted)}.math-dashboard-tooltip{white-space:pre-line;max-width:min(360px,calc(100vw - 32px));max-height:min(60vh,420px);overflow-y:auto}.math-streak-label{display:flex;align-items:center;gap:6px;justify-content:space-between}.math-data-caption{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}@media(max-width:760px){.math-data-heading .math-help,.math-streak-label .math-help{min-width:44px;min-height:44px}}.math-recorded-sample{grid-column:1/-1;padding-top:4px}.math-sample-metrics,.math-sample-statistics{display:flex;flex-wrap:wrap;gap:6px 24px;margin:0;font-variant-numeric:tabular-nums}.math-sample-metrics>div,.math-sample-statistics>div{flex:0 0 auto}.math-sample-metrics dt{display:flex;align-items:center;gap:4px;color:var(--studio-muted);font-size:12px;line-height:20px}.math-sample-metrics .math-help{min-width:24px;min-height:24px;padding:0;border:0;background:transparent;color:var(--studio-muted);cursor:help}.math-sample-metrics dd{margin:0;font-size:16px;line-height:22px}.math-sample-statistics{gap:4px 20px}.math-sample-statistics dt{font-size:11px;color:var(--studio-muted);line-height:16px}.math-sample-statistics dd{margin:0;font-size:13px;line-height:20px}.math-recorded-sample .math-data-heading{min-height:0;margin-bottom:2px}.math-inline-unit{color:var(--studio-muted);font-size:11px}.math-sample-payout{display:block;margin-top:6px}.math-sample-payout h4{font-size:12px}.math-dashboard-sections{gap:12px;margin-top:8px}.math-data-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:12px 16px;align-items:start}.math-data-section[data-section=overview] .math-data-grid{grid-template-columns:1fr}.math-data-panel{padding-top:6px}.math-data-section-header{margin-bottom:4px}.math-data-section-header h3{font-size:14px}.math-data-heading{margin-bottom:4px}.math-data-panel h4{font-size:13px}.math-data-section[data-section=overview] .math-data-heading{min-height:0}.math-data-bar{grid-template-columns:72px minmax(30px,1fr) 66px;gap:6px}.math-data-bars{gap:4px}.math-data-track{height:9px}.math-data-unit{margin-top:4px}.math-data-number{font-size:20px;margin:4px 0}.math-data-stats{gap:8px;margin:4px 0}@media(max-width:760px){.math-sample-metrics .math-help{min-width:44px;min-height:44px}.math-sample-metrics{gap:4px 16px}.math-sample-metrics dt{min-height:44px}}.math-data-panel .math-data-table th,.math-data-panel .math-data-table td{padding:4px 8px;font-size:13px;font-variant-numeric:tabular-nums}.math-dashboard-sections{container-type:inline-size}.math-data-panel[data-panel-id=modes] .math-data-table table{width:max-content;min-width:100%}.math-data-panel[data-panel-id=modes] .math-data-table th,.math-data-panel[data-panel-id=modes] .math-data-table td{min-width:0;padding:3px 6px;white-space:nowrap}.math-data-panel[data-panel-id=modes] .math-data-table td:not(:first-child){text-align:right}.math-data-panel[data-panel-id=modes] .math-data-unit{font-size:11px}@container (min-width:900px){.math-data-section[data-section=overview] .math-data-grid{grid-template-columns:minmax(0,3fr) minmax(340px,2fr);gap:16px;align-items:stretch}.math-data-section[data-section=overview] .math-recorded-sample{grid-column:1}.math-data-section[data-section=overview] .math-data-panel[data-panel-id=modes]{grid-column:2;grid-row:1}.math-data-section[data-section=overview] .math-data-panel:not(.math-recorded-sample):not([data-panel-id=modes]){grid-column:1/-1}}.math-data-panel .math-data-table th[data-align=right],.math-data-panel .math-data-table td[data-align=right]{text-align:right}.math-data-panel .math-data-table th[data-align=left],.math-data-panel .math-data-table td[data-align=left]{text-align:left}.chat-web-search{display:inline-flex;align-items:center;gap:6px;min-height:32px;padding:4px 8px;border:1px solid var(--border, #303030);border-radius:6px;background:transparent;color:inherit;font:inherit;font-size:12px;cursor:pointer}.chat-web-search[aria-pressed=true]{background:var(--surface-raised, #303030)}.chat-web-search:focus-visible{outline:2px solid currentColor;outline-offset:2px}.chat-web-search:disabled{cursor:default;opacity:.5}.game-editor .chat-web-search{min-height:28px;padding:2px 8px;gap:6px;border:1px solid var(--studio-control-border, #555);border-radius:8px;background:var(--studio-raised, #2a2a2a);color:var(--studio-text, #fff);font-size:12px}.game-editor .chat-web-search[aria-pressed=true],.game-editor .chat-web-search[aria-pressed=true]:hover:not(:disabled){background:var(--studio-accent, #fff);border-color:var(--studio-accent, #fff);color:var(--studio-accent-ink, #000)}@media(max-width:760px){.game-editor .chat-web-search{min-height:32px}}.math-trigger-toolbar{display:flex;flex-wrap:wrap;align-items:end;gap:8px 16px;margin:8px 0}.math-trigger-toolbar>label{display:grid;gap:4px;flex:1 1 220px;max-width:360px}.math-trigger-toolbar input{width:100%;min-width:0}.math-trigger-toolbar>[role=status]{color:var(--studio-muted);font-size:12px;align-self:center}.math-trigger-pagination{display:flex;gap:8px}.math-trigger-group .math-trigger-items{display:grid;grid-template-columns:minmax(0,1fr);gap:0}.math-trigger-entry{border-top:1px solid var(--studio-border);min-width:0}.math-workspace .math-trigger-summary{display:flex;flex-wrap:wrap;gap:4px 12px;justify-content:space-between;width:100%;text-align:left;background:none;border:0;padding:8px 0;min-height:44px}.math-trigger-summary[aria-expanded=true]{font-weight:600}.math-trigger-summary>span{overflow-wrap:anywhere}.math-trigger-controls{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:12px;padding:4px 0 12px}.math-trigger-summary>span:first-child:before{content:"›";display:inline-block;width:16px}.math-trigger-summary[aria-expanded=true]>span:first-child:before{content:"⌄"}.chat-file,.chat-linked-media{display:block;min-width:0;margin-block:8px;overflow-wrap:anywhere}.chat-file img,.chat-file video,.chat-linked-media img,.chat-linked-media video{display:block;max-width:100%;max-height:360px;object-fit:contain;margin-bottom:6px;border-radius:4px}.chat-file a{color:var(--studio-accent-text);text-decoration:underline}.chat-file-unavailable{display:block;overflow-wrap:anywhere;color:var(--studio-muted)}.revision-tools{flex-wrap:wrap}.revision-tools>button{flex:none;white-space:nowrap}.revision-tools>.editor-help{flex:1 1 100%}.revision-tools .verification-pending{flex:none;max-width:100%}.art-viewer details{border-top:1px solid var(--border, #333);padding-block:.75rem}.art-viewer summary{cursor:pointer;font-weight:500}.art-viewer img{display:block;max-width:100%;max-height:240px;object-fit:contain;margin-block:.75rem}.art-viewer pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:.75rem}.math-view-switch button[aria-pressed=true]{background:var(--studio-raised, #2a2a2a);color:var(--studio-text, #fff);font-weight:600}.math-view-switch button:hover:not([aria-pressed=true]){background:var(--studio-panel, #111);color:var(--studio-text, #fff)}.editor-art{border-radius:16px}.art-viewer{padding:20px;color:var(--studio-text, #fff);container-type:inline-size}.art-heading{display:flex;align-items:baseline;flex-wrap:wrap;gap:12px;margin-bottom:20px}.art-heading h2{margin:0;font-size:16px;font-weight:600}.art-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,170px),1fr));gap:12px;align-items:start}.game-editor .art-card{min-width:0;padding:8px;border:1px solid var(--studio-control-border, #555);border-radius:10px;background:var(--studio-panel, #111);color:var(--studio-text, #fff);text-align:left;font:inherit;cursor:pointer}.game-editor .art-card[aria-pressed=true]{color:var(--studio-text, #fff);border-color:var(--studio-accent, #fff);background:var(--studio-selected-fill, #2a2a2a);box-shadow:var(--studio-glow, none)}.game-editor .art-card:focus-visible{outline:2px solid var(--studio-text, #fff);outline-offset:3px}.art-card-image{display:grid;place-items:center;aspect-ratio:1;background:var(--studio-bg, #000);border-radius:5px;overflow:hidden}.art-card-image img{width:100%;height:100%;max-height:none;object-fit:contain;margin:0}.art-card-label,.art-card-meta{display:block;overflow-wrap:anywhere;padding-inline:4px}.art-card-label{margin-top:10px;font-size:13px;font-weight:500}.art-card-meta{margin-top:4px;margin-bottom:4px;font-size:12px;color:var(--studio-muted, #b4b4b4)}.art-grid[hidden]{display:none}.game-editor .art-back{border:0;border-radius:6px;padding:4px 8px;min-height:32px;background:transparent;color:var(--studio-muted, #b4b4b4)}.game-editor .art-generation[aria-pressed=true]{border-color:var(--studio-accent, #fff);color:var(--studio-text, #fff);background:var(--studio-selected-fill, #2a2a2a)}.game-editor .art-generation:focus-visible{outline:2px solid var(--studio-text, #fff);outline-offset:2px}.art-generation-inputs dt{color:var(--studio-muted, #b4b4b4);font-size:12px;margin-bottom:5px}.art-generation-inputs dd{margin:0;overflow-wrap:anywhere;font-size:13px}.art-generation-inputs h4{font-size:12px;font-weight:500;margin:0 0 6px;color:var(--studio-muted, #b4b4b4)}.art-prompt{font-size:13px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 16px}.art-technical{color:var(--studio-muted, #b4b4b4);font-size:12px}.art-edit-form label{display:grid;gap:6px;font-size:13px}.art-edit-form textarea,.art-edit-form select{width:100%;box-sizing:border-box;padding:8px;color:var(--studio-text, #fff);background:var(--studio-panel, #111);border:1px solid var(--studio-border, #333);border-radius:6px;font:inherit}.art-edit-form textarea{resize:vertical;min-height:80px}.art-image-stage{position:relative;display:grid;place-items:center;width:100%;height:100%;min-width:0;min-height:0}.art-image-stage>img{grid-area:1/1}.art-image-loading{position:absolute;inset:0;z-index:1;display:grid;place-items:center;background:#0006;color:var(--studio-text, #fff);font-size:12px}.art-image-loading .revision-action-spinner{width:22px;height:22px}.art-viewer{display:flex;flex-direction:column;height:100%;box-sizing:border-box;min-height:0;padding:12px}.art-heading{flex:none;gap:8px;margin-bottom:12px}.art-heading .editor-help{font-size:12px}.art-grid{overflow:auto;min-height:0}.art-gallery{flex:1;min-height:0;display:grid;grid-template-columns:148px minmax(0,1fr);gap:12px;align-items:stretch}.art-history-rail{position:static;max-height:none;min-height:0;overflow:auto;padding-right:6px}.art-history-heading{display:flex;justify-content:space-between;align-items:baseline;position:sticky;top:0;z-index:1;background:var(--studio-panel,#111);margin:0 0 6px;padding:4px}.game-editor .art-generation{display:grid;grid-template-columns:48px minmax(0,1fr);gap:2px 8px;align-content:center;min-height:64px;margin:0 0 4px;padding:6px;border-radius:6px}.art-generation img,.art-generation .art-missing-thumb{grid-column:1;grid-row:1 / span 3;width:48px;height:48px;margin:0;aspect-ratio:1;border-radius:4px}.art-generation-label,.art-generation time,.art-used-badge{grid-column:2;font-size:11px;margin:0;line-height:1.4}.art-generation time{font-size:10px}.art-used-badge{color:var(--studio-muted,#b4b4b4)}.art-generation-detail{display:flex;flex-direction:column;min-height:0;overflow:hidden}.art-preview-heading{display:flex;flex-wrap:wrap;flex:none;align-items:center;justify-content:flex-start;gap:6px;margin:0 0 8px;min-height:36px}.art-open-image{position:absolute;top:6px;right:6px;display:grid;place-items:center;width:32px;height:32px;border-radius:6px;background:var(--studio-panel);border:1px solid var(--studio-border)}.art-preview-heading h3{margin-right:auto}.art-large-preview .art-open-image img{position:static;width:18px;height:18px;border-radius:3px;image-rendering:pixelated}.art-quick-actions{display:flex;align-items:center;flex-wrap:wrap;gap:6px}.art-large-preview{flex:1;min-height:120px;height:auto;border-radius:6px}.art-actions{flex:none;padding:8px 0 0;border:0}.art-actions p{font-size:12px;margin:6px 0 0}.art-apply-row{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:36px}.game-editor .art-apply{background:var(--studio-primary,#fff);color:var(--studio-on-primary,#111)}.art-action-buttons button:first-child{background:var(--studio-raised,#2a2a2a);color:var(--studio-text,#fff)}.art-quick-actions button,.art-preview-heading>button,.art-apply-row button{min-height:32px;border-radius:6px;white-space:nowrap}.art-more{position:relative}.art-viewer .art-more{border:0;padding:0}.art-more summary{display:flex;align-items:center;min-height:32px;padding:0 8px;border:1px solid var(--studio-control-border,#555);border-radius:6px;font-size:12px}.art-more summary:after{content:" ▾";margin-left:4px}.art-more>div{position:absolute;z-index:3;right:0;top:calc(100% + 4px);background:var(--studio-raised,#2a2a2a);padding:4px;border:1px solid var(--studio-border,#333);border-radius:6px}.art-more>div button{display:block;width:100%;text-align:left;white-space:nowrap}.art-revision-actions:empty,.art-revision-actions[hidden],.art-draft-toolbar[hidden]{display:none}.art-revision-actions .art-draft-toolbar{min-height:0;margin:0;padding:0;border:0}.art-draft-toolbar>span{flex:0 1 auto;font-size:12px}.art-draft-toolbar button{min-height:32px}.art-inspector{display:flex;flex-direction:column;gap:16px}.art-inspector[hidden],.preview-inspector[hidden]{display:none}.art-inspector-details{order:1}.art-inspector h2{margin:0 0 12px;font-size:14px}.art-inspector .art-generation-inputs{margin-top:0}.art-inspector .art-generation-inputs dl{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}.art-inspector .art-generation-inputs dl>div{display:grid;grid-template-columns:64px minmax(0,1fr);gap:8px}.art-inspector pre{white-space:pre-wrap;overflow-wrap:anywhere;font-size:11px}.art-inspector .art-technical{padding:12px 0;border-top:1px solid var(--studio-border,#333)}.art-inspector-empty{padding:12px}.dock-tools:has(.art-inspector:not(:empty))>.art-inspector-empty{display:none}.art-edit-form{order:0;margin:0;padding-bottom:16px;border-bottom:1px solid var(--studio-border,#333)}.art-edit-form header{display:flex;align-items:center;justify-content:space-between;gap:8px}.art-edit-form h3{font-size:14px;margin:0}.art-edit-form p{margin:0;font-size:12px;line-height:1.5}.art-edit-form>button{background:var(--studio-primary,#fff);color:var(--studio-on-primary,#111)}.art-inspector:has(.art-edit-form) .art-inspector-details{padding-top:0}@container (max-width:600px){.art-gallery{grid-template-columns:88px minmax(0,1fr);gap:8px}.game-editor .art-generation{grid-template-columns:minmax(0,1fr);gap:4px}.art-generation img,.art-generation .art-missing-thumb{grid-row:auto;grid-column:1;width:100%;height:60px}.art-generation-label,.art-generation time,.art-used-badge{grid-column:1}.art-generation time{display:none}.art-preview-heading{flex-wrap:wrap}.art-preview-heading h3{flex:1 1 100%}.art-large-preview{height:auto;min-height:100px}.art-quick-actions button,.art-preview-heading>button,.art-apply-row button,.art-more summary{min-height:44px}.art-open-image{width:44px;height:44px}.art-history-rail{display:block;overflow:auto}.art-history-rail .art-generation{margin-bottom:4px}}@media(max-width:680px){.art-edit-form button,.art-draft-toolbar button{min-height:44px}.art-inspector{padding:12px}}.preview-progress{display:flex;flex-direction:column;gap:10px;width:min(70%,280px);padding:14px 18px;border-radius:8px;background:var(--studio-panel);color:var(--studio-muted);font-size:12px}.preview-progress progress{width:100%;height:4px;accent-color:var(--studio-text)}.preview-progress progress{appearance:none;border:0;border-radius:2px;overflow:hidden;background:var(--studio-border, #292929)}.preview-progress progress::-webkit-progress-bar{background:var(--studio-border, #292929)}.preview-progress progress::-webkit-progress-value{background:var(--studio-accent, #fff)}.preview-progress progress::-moz-progress-bar{background:var(--studio-accent, #fff)}.art-viewer .art-generation img{object-fit:contain;background:var(--studio-bg,#000)}.art-history-heading h3,.art-preview-heading h3,.art-generation-inputs h3{margin:0;font-size:13px;font-weight:600}.art-history-heading>span{color:var(--studio-muted,#b4b4b4);font-size:12px}.game-editor .art-generation{width:100%;text-align:left;border:1px solid transparent;color:var(--studio-text,#fff);background:transparent}.art-generation-detail{min-width:0}.art-large-preview{position:relative;overflow:hidden;display:grid;place-items:center;background:var(--studio-bg,#000)}.art-large-preview img{position:absolute;inset:0;width:100%;height:100%;max-height:none;object-fit:contain;margin:0}.art-draft-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.art-edit-form{display:grid;gap:12px}.art-edit-form label{display:grid;gap:6px}.art-generation-inputs dl{margin:12px 0 16px}.art-generation-inputs dt{margin:0}.art-feedback{order:0;font-size:12px}.art-feedback:empty{display:none}.art-apply-row{flex-shrink:0}.art-actions>.art-feedback{height:32px;overflow:auto;margin-top:4px}.art-actions>.art-feedback:empty{display:block}.game-editor .art-edit-form{margin:0;padding-top:0}@container (max-width:600px){.art-action-long{display:none}.art-preview-heading .editor-visually-hidden{flex:none}.art-quick-actions{flex-wrap:nowrap}.art-quick-actions button{padding-inline:8px}}:is(.game-editor,.revision-tools) .math-view-switch,.game-editor .dock-tabs,.math-workspace .math-navigation .math-sections{display:inline-flex;align-items:center;flex-wrap:nowrap;gap:0;padding:3px;border:1px solid var(--studio-segment-border, #333);border-radius:20px;background:var(--studio-segment-track, var(--studio-panel));box-shadow:none}.game-editor .dock-tabs{display:flex}:is(.game-editor,.revision-tools) .math-view-switch button,.game-editor .dock-tabs [role=tab],.math-workspace .math-navigation .math-sections button{position:relative;min-height:32px;min-width:0;padding:6px 14px;border:1px solid transparent;border-radius:999px;background:transparent;box-shadow:none;color:var(--studio-muted);font-size:13px;font-weight:500;line-height:1.4;white-space:nowrap}:is(.game-editor,.revision-tools) .math-view-switch button+button,.game-editor .dock-tabs [role=tab]+[role=tab],.math-workspace .math-navigation .math-sections button+button{margin-left:22px}:is(.game-editor,.revision-tools) .math-view-switch button+button:before,.game-editor .dock-tabs [role=tab]+[role=tab]:before,.math-workspace .math-navigation .math-sections button+button:before{content:"";position:absolute;left:-21px;top:50%;width:20px;height:1px;background:var(--studio-segment-separator, #444);pointer-events:none}:is(.game-editor,.revision-tools) .math-view-switch button:hover:not(:disabled):not([aria-pressed=true]),.game-editor .dock-tabs [role=tab]:hover:not(:disabled):not([aria-selected=true]),.math-workspace .math-navigation .math-sections button:hover:not([aria-selected=true]){background:#ffffff0f;border-color:transparent;color:var(--studio-text)}:is(.game-editor,.revision-tools) .math-view-switch button[aria-pressed=true],.game-editor .dock-tabs [role=tab][aria-selected=true],.math-workspace .math-navigation .math-sections button[aria-selected=true]{background:var(--studio-segment-active, var(--studio-raised));border-color:var(--studio-segment-active-border, transparent);box-shadow:var(--studio-segment-active-shadow, none);color:var(--studio-text);font-weight:600}:is(.game-editor,.revision-tools) .math-view-switch button:focus-visible,.game-editor .dock-tabs [role=tab]:focus-visible,.math-workspace .math-navigation .math-sections button:focus-visible{outline:2px solid var(--studio-accent);outline-offset:2px}@media(max-width:760px){:is(.game-editor,.revision-tools) .math-view-switch button,.game-editor .dock-tabs [role=tab],.math-workspace .math-navigation .math-sections button{min-height:40px;padding:6px 12px}:is(.game-editor,.revision-tools) .math-view-switch button+button,.game-editor .dock-tabs [role=tab]+[role=tab],.math-workspace .math-navigation .math-sections button+button{margin-left:12px}:is(.game-editor,.revision-tools) .math-view-switch button+button:before,.game-editor .dock-tabs [role=tab]+[role=tab]:before,.math-workspace .math-navigation .math-sections button+button:before{left:-11px;width:10px}}@media(prefers-reduced-motion:no-preference){:is(.game-editor,.revision-tools) .math-view-switch button,.game-editor .dock-tabs [role=tab],.math-workspace .math-navigation .math-sections button{transition:background-color var(--studio-duration),color var(--studio-duration)}}@media(min-width:761px)and (pointer:fine){.math-workspace{--math-control: 30px}}.math-workspace{padding:16px 20px 28px;font-size:14px;line-height:1.5}.math-workspace .editor-help{font-size:12.5px;color:var(--studio-muted)}.math-workspace :is(button,select){border-radius:var(--studio-control-radius, 10px)}.math-workspace button{padding-inline:12px}.math-workspace select{padding-left:12px}.math-toolbar{gap:8px 12px;padding:2px 0 14px;border-bottom:1px solid var(--studio-border)}.math-title h2{font-size:16px;font-weight:700}.math-navigation{margin:16px 0 18px;gap:10px 16px}.math-content:not([data-section=Pays]){display:grid;gap:16px;align-content:start}.math-content[data-section=Pays]{grid-template-columns:minmax(360px,560px) minmax(0,1fr);gap:16px}.math-workspace :is(.math-paytables,.math-plugins,.math-reels){min-width:0;padding:14px 16px 12px;border:1px solid var(--studio-border);border-radius:12px;background:linear-gradient(145deg,#ffffff08,#ffffff03)}.math-workspace .math-plugins .math-plugins{padding:0;border:0;background:none}.math-paytable-heading{gap:6px 10px;margin-bottom:10px}.math-workspace :is(.math-paytable-heading h3,.math-plugins>h3,.math-reels h3.math-section-title){font-size:15px;font-weight:700;line-height:24px}.math-workspace caption{padding:0 0 8px;font-size:12.5px}.math-workspace .math-table-scroll{margin-bottom:0}.math-workspace table{margin-bottom:6px}.math-workspace :is(th,td),.math-workspace .math-paytable-matrix :is(th,td){padding:4px 8px}.math-workspace thead th{padding-block:0 8px;font-size:12px;font-weight:500;letter-spacing:.02em}.math-workspace td input{width:84px;padding:2px 10px;border:1px solid var(--studio-overlay-border);border-radius:8px;background:var(--studio-bg);color:var(--studio-text);text-align:right}.math-workspace td input:hover:not(:disabled){border-color:var(--studio-control-border);background:var(--studio-bg)}.math-workspace td input:focus-visible{outline:none;border-color:var(--studio-accent);box-shadow:0 0 0 3px #4d62e54d}.math-workspace .math-cell-edited input{border-color:var(--studio-accent)}.math-symbol{gap:10px;min-width:140px;max-width:240px;font-size:14px}.math-symbol img,.math-symbol-fallback{width:28px;height:28px;border-radius:6px}.math-edit-mark{right:4px;top:2px;color:var(--studio-accent-text)}.math-reel-toolbar{gap:8px 16px;margin-bottom:12px}.math-mode-toolbar label{gap:10px;font-size:13px;color:var(--studio-muted)}.math-strip-scroll{margin:4px 0 0;border:1px solid var(--studio-border);border-radius:12px}.math-strip h3{padding:10px 12px;font-size:13px;font-weight:700}.math-strip h3 span{font-size:12px}.math-strip li{gap:8px;min-height:36px;padding:2px 10px}.math-stop-number{flex-basis:22px;font-size:12px}.math-strip select{font-size:13px}.math-strips-weighted .math-strip li>.editor-help{flex-basis:64px;font-size:12px}.math-plugin-settings,.math-plugin-settings>details[open]{gap:8px 16px}.math-plugin-field{padding:4px 0}.math-plugin-entry,.math-plugin{padding-top:8px}.math-plugin h4,.math-plugin-heading h4{font-size:14px;font-weight:600}.math-count-summary,.math-reel-uses{margin-top:10px}@media(pointer:coarse),(max-width:760px){.math-workspace{padding:12px}.math-content[data-section=Pays]{grid-template-columns:minmax(0,1fr)}.math-workspace :is(.math-paytables,.math-plugins,.math-reels){padding:12px}.math-workspace td input{width:72px}}@container (max-width: 700px){.math-content[data-section=Pays]{grid-template-columns:minmax(0,1fr)}}.art-viewer{padding:16px 20px 20px}.art-heading{align-items:center;gap:10px;margin-bottom:16px;padding-bottom:14px;border-bottom:1px solid var(--studio-border)}.art-heading h2{font-size:16px;font-weight:700}.art-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,190px),1fr));gap:16px;padding:2px}.game-editor .art-card{display:flex;flex-direction:column;padding:0;overflow:hidden;border:1px solid var(--studio-segment-border);border-radius:16px;background:linear-gradient(145deg,#ffffff0f,#ffffff05)}.game-editor .art-card:hover{border-color:var(--studio-control-border)}.game-editor .art-card[aria-pressed=true]{border-color:var(--studio-accent)}.art-card-image{border-radius:0;padding:10px;background:#0607088c;border-bottom:1px solid var(--studio-segment-border)}.art-card-label{margin-top:0;padding:12px 14px 0;font-size:14px;font-weight:600}.art-card-meta{margin:4px 0 0;padding:0 14px 12px;font-size:12px}.game-editor .art-back{min-height:32px;padding:4px 12px;border:1px solid var(--studio-overlay-border);border-radius:999px;color:var(--studio-text);font-size:13px}.game-editor .art-back:hover{background:var(--studio-raised)}.art-gallery{grid-template-columns:184px minmax(0,1fr);gap:16px}.art-history-rail{padding:10px;border:1px solid var(--studio-border);border-radius:16px;background:var(--studio-panel)}.art-history-heading{margin:0 0 8px;padding:2px 4px 8px;border-bottom:1px solid var(--studio-border)}.art-history-heading>span{padding:0 8px;border:1px solid var(--studio-overlay-border);border-radius:999px}.game-editor .art-generation{grid-template-columns:56px minmax(0,1fr);gap:2px 10px;min-height:72px;margin:0 0 6px;padding:8px;border-radius:10px}.game-editor .art-generation:hover{background:var(--studio-raised)}.art-generation img,.art-generation .art-missing-thumb{width:56px;height:56px;border-radius:8px}.art-generation-label{font-size:12.5px;font-weight:600}.art-generation time,.art-used-badge{font-size:11.5px}.art-used-badge{color:var(--studio-accent-text)}.art-preview-heading{gap:8px;margin:0 0 12px;min-height:36px}.art-quick-actions{gap:8px}.art-quick-actions button,.art-preview-heading>button,.art-apply-row button{min-height:34px;padding-inline:14px;border-radius:var(--studio-control-radius)}.art-more summary{min-height:34px;padding:0 12px;border-radius:var(--studio-control-radius)}.art-large-preview{border:1px solid var(--studio-border);border-radius:16px;background:repeating-conic-gradient(#181b1f 0% 25%,#131619 0% 50%) 50% / 24px 24px}.art-large-preview img{padding:16px;box-sizing:border-box}.art-open-image{top:10px;right:10px;width:34px;height:34px;border-radius:10px}.art-actions{padding-top:12px}.art-inspector{gap:20px}.art-inspector h2{font-size:15px;font-weight:700}.art-inspector .art-generation-inputs dl{gap:12px}.art-inspector .art-generation-inputs dl>div{grid-template-columns:72px minmax(0,1fr);gap:10px}.art-edit-form{gap:14px;padding-bottom:20px}.art-edit-form textarea,.art-edit-form select{padding:10px 12px;border-color:var(--studio-overlay-border);border-radius:var(--studio-control-radius);background:var(--studio-bg)}.art-edit-form textarea:focus-visible,.art-edit-form select:focus-visible{outline:none;border-color:var(--studio-accent);box-shadow:0 0 0 3px #4d62e54d}@media(max-width:760px){.art-viewer{padding:12px}.art-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.art-gallery{grid-template-columns:96px minmax(0,1fr);gap:10px}.art-history-rail{padding:6px;border-radius:12px}.game-editor .art-generation{grid-template-columns:minmax(0,1fr);padding:4px}.art-generation img,.art-generation .art-missing-thumb{width:100%;height:64px}.art-quick-actions button,.art-preview-heading>button,.art-apply-row button,.art-more summary,.game-editor .art-back{min-height:44px}}.editor-share-view{grid-column:1;grid-row:2;min-width:0;min-height:0;overflow:auto;border-radius:16px;background:var(--studio-panel)}.game-editor.tools-outside .editor-share-view{grid-row:1}.game-editor:has(.editor-share-view) .workspace-dock{grid-row:2}.game-editor.tools-outside:has(.editor-share-view) .workspace-dock{grid-row:1}@media(max-width:760px){.game-editor[data-mobile-view=panel] .editor-share-view{display:none}}.editor-share{max-width:720px;padding:20px 24px 32px;color:var(--studio-text);font-size:14px;line-height:1.5}.share-heading{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;padding-bottom:14px;margin-bottom:16px;border-bottom:1px solid var(--studio-border)}.share-heading h2{margin:0;font-size:18px;font-weight:700}.share-heading .editor-help{font-size:13px}.share-badge{margin-left:auto;padding:2px 10px;border:1px solid var(--studio-overlay-border);border-radius:999px;color:var(--studio-muted);font-size:12px;font-weight:600}.share-badge[data-published=true]{border-color:var(--studio-segment-active-border);background:var(--studio-segment-active);color:var(--studio-text)}.share-intro{margin:0 0 16px;max-width:64ch;color:var(--studio-muted)}.share-steps{display:grid;gap:12px;margin:0;padding:0;list-style:none}.share-step{display:grid;gap:10px;justify-items:start;padding:16px 18px;border:1px solid var(--studio-segment-border);border-radius:16px;background:linear-gradient(145deg,#ffffff0d,#ffffff03)}.share-step h3{display:flex;align-items:center;gap:10px;margin:0;font-size:15px;font-weight:700}.share-step p{margin:0;max-width:64ch}.share-step-number{display:inline-grid;place-items:center;width:24px;height:24px;border:1px solid var(--studio-overlay-border);border-radius:999px;color:var(--studio-muted);font-size:12px}.share-step[data-state=current] .share-step-number{border-color:var(--studio-segment-active-border);background:var(--studio-segment-active);color:var(--studio-text)}.share-step[data-state=done] .share-step-number{border-color:transparent;background:var(--studio-success-bg);color:var(--studio-success)}.editor-share :is(button,.share-link-button){display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:36px;padding:6px 16px;border:1px solid var(--studio-overlay-border);border-radius:var(--studio-control-radius);background:transparent;color:var(--studio-text);font:inherit;font-size:13px;font-weight:600;text-decoration:none;cursor:pointer}.editor-share :is(button,.share-link-button):hover:not(:disabled){background:var(--studio-raised)}.editor-share :is(.share-primary){border-color:transparent;background:var(--studio-primary);color:var(--studio-on-primary)}.editor-share .share-primary:hover:not(:disabled){background:var(--studio-primary-hover)}.editor-share .share-danger{border-color:var(--studio-danger-border);color:var(--studio-danger)}.editor-share .share-danger:hover:not(:disabled){background:var(--studio-danger-bg)}.editor-share button:disabled{opacity:.55;cursor:not-allowed}.editor-share :is(button,a,input):focus-visible{outline:2px solid var(--studio-accent);outline-offset:2px}.share-checks{display:grid;gap:0;width:100%;margin:0;padding:0;list-style:none;border:1px solid var(--studio-border);border-radius:12px}.share-checks li{display:grid;grid-template-columns:24px minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px 12px}.share-checks li+li{border-top:1px solid var(--studio-border)}.share-checks li>span:nth-child(2){display:grid;gap:2px}.share-checks strong{font-size:13px;font-weight:600}.share-checks .editor-help{font-size:12px}.share-check-mark{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:999px;background:var(--studio-raised);color:var(--studio-muted);font-size:12px}.share-checks [data-check=passed] .share-check-mark{background:var(--studio-success-bg);color:var(--studio-success)}.share-checks [data-check=failed] .share-check-mark{background:var(--studio-danger-bg);color:var(--studio-danger)}.share-check-state{color:var(--studio-muted);font-size:12px}.share-checks [data-check=passed] .share-check-state{color:var(--studio-success)}.share-checks [data-check=failed] .share-check-state{color:var(--studio-danger)}.share-url{display:flex;flex-wrap:wrap;gap:8px;width:100%}.share-url input{flex:1 1 260px;min-width:0;min-height:36px;padding:6px 12px;border:1px solid var(--studio-overlay-border);border-radius:var(--studio-control-radius);background:var(--studio-bg);color:var(--studio-text);font:13px/1.4 var(--studio-font-mono)}.share-blocked{display:grid;gap:10px;justify-items:start;padding:12px 14px;border:1px solid var(--studio-border);border-radius:12px;background:var(--studio-bg);color:var(--studio-muted)}.share-blocked p{margin:0}.share-feedback{margin:14px 0 0;color:var(--studio-muted);font-size:13px}.share-feedback-error{padding:10px 12px;border:1px solid var(--studio-danger-border);border-radius:10px;background:var(--studio-danger-bg);color:var(--studio-danger)}@media(max-width:760px){.editor-share{padding:16px 12px 24px}.editor-share :is(button,.share-link-button),.share-url input{min-height:44px}.share-url input{font-size:16px}}@media(max-width:760px){:is(.game-editor,.revision-tools) .math-view-switch{max-width:100%}:is(.game-editor,.revision-tools) .math-view-switch button{padding-inline:10px}:is(.game-editor,.revision-tools) .math-view-switch button+button{margin-left:10px}:is(.game-editor,.revision-tools) .math-view-switch button+button:before{left:-9px;width:8px}}.revision-tools-start,.revision-tools-end{display:flex;align-items:center;gap:8px;min-width:0}.revision-tools-end{justify-content:flex-end}.revision-tools-end>button{flex:none;white-space:nowrap}.revision-tools-end .verification-notice{flex:0 1 auto}@media(min-width:761px){.revision-tools{width:100%}.revision-tools-end{margin-left:auto}.revision-tools .editor-revision-picker{max-width:360px}.revision-tools .editor-revision-picker .ui-select-meta{display:none}}@media(min-width:1200px){.revision-tools{display:grid;grid-template-columns:minmax(min-content,1fr) auto minmax(min-content,1fr);column-gap:16px}.revision-tools>.math-view-switch{grid-column:2}}@media(max-width:760px){.revision-tools-start,.revision-tools-end{display:contents}.revision-tools-end>button{min-height:44px}}
