/* Bedrock workbench skin. Loaded last; presentation only, no model, export or persistence changes.
   Minecraft's own UI language: hard outlines, bevelled stone controls, a green next action, inventory slots
   with a white selection frame, and a hexagon journey. Dark mode is required. Vault: System/Studio interface.md. */
/* Self-hosted variable fonts (SIL OFL 1.1, licences beside the files); latin-ext covers Welsh ŵ and ŷ. */
@font-face { font-family:'Noto Sans'; font-style:normal; font-weight:400 700; font-display:swap; src:url(/fonts/noto-sans-latin.woff2) format('woff2'); 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:'Noto Sans'; font-style:normal; font-weight:400 700; font-display:swap; src:url(/fonts/noto-sans-latin-ext.woff2) format('woff2'); 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-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family:'Pixelify Sans'; font-style:normal; font-weight:500 700; font-display:swap; src:url(/fonts/pixelify-sans-latin.woff2) format('woff2'); 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:'Pixelify Sans'; font-style:normal; font-weight:500 700; font-display:swap; src:url(/fonts/pixelify-sans-latin-ext.woff2) format('woff2'); 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-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF; }
:root {
 --mc-display:'Pixelify Sans','Noto Sans',system-ui,sans-serif;
 --mc-body:'Noto Sans',system-ui,-apple-system,'Segoe UI',sans-serif;
 --mc-outline:#0c0e0d;
 --mc-ground:#191b1a;
 --mc-deepslate:#232625;
 --mc-stone:#3b403e; --mc-stone-hi:#575d5a; --mc-stone-lo:#292d2b; --mc-stone-hover:#464c49;
 --mc-slot:#151716; --mc-slot-hi:#353a37;
 --mc-grass:#3c8527; --mc-grass-hi:#64b83f; --mc-grass-lo:#1d4d13; --mc-grass-hover:#357d26; /* white text 5.1:1 (was #46982e, 3.6:1) */
 --mc-frame:#f4f5f0;
 --mc-gold:#f2c94c;
 --mc-enchant:#c3a0ff; --mc-enchant-surface:#29213a;
 --mc-brand:#ff942f;
 --mc-text:#f1f3ef; --mc-muted:#b3b9b4; --mc-dim:#858c87;
 --mc-bevel:inset 0 2px 0 var(--mc-stone-hi),inset 0 -4px 0 var(--mc-stone-lo);
 --mc-bevel-pressed:inset 0 3px 0 var(--mc-stone-lo);
 --mc-bevel-green:inset 0 2px 0 var(--mc-grass-hi),inset 0 -4px 0 var(--mc-grass-lo);
 --mc-recess:inset 2px 2px 0 #0a0b0b,inset -2px -2px 0 var(--mc-slot-hi);
 --mc-hex:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%);
 /* Existing workshop tokens, re-pointed so every page that shares them follows the same materials. */
 --canvas:var(--mc-ground); --panel:var(--mc-deepslate); --raised:var(--mc-stone); --input:#0e100f;
 --copy:var(--mc-text); --muted:var(--mc-muted); --line:#3a3f3c; --selected:#343a37;
 --highlight:var(--mc-gold); --primary:var(--mc-grass); --on-primary:#fff;
 --success-surface:#1d2f1c; --warm-surface:#2b2a22; --stage:#171e1b;
 --accent:var(--mc-gold); --ember:var(--mc-grass); --ember-hot:var(--mc-grass-hover);
}

/* Type: Pixelify Sans for titles, steps and main actions; Noto Sans (Bedrock's UI face) for the rest. */
html body,html body :is(button,input,select,textarea,summary,label,p,span,strong,small,a,li,h1,h2,h3,h4,h5,legend,div,b,em,option,td,th,dt,dd,figcaption) { font-family:var(--mc-body)!important; }
/* Pixelify Sans joins f+i, f+l and ff into ligatures that read as a capital A ("Done fitting" showed as "Done Atting"). */
html body,html body *,html body *::before,html body *::after { font-variant-ligatures:no-common-ligatures!important; }
body { background:var(--mc-ground); color:var(--mc-text); }
/* Code, commands and JSON stay monospace. */
html body :is(.bedrock-editor textarea,#nativeStudioPanel [data-command],.full-brief-editor textarea,.loader-ascii,.behavior-option-main span:last-child) { font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace!important; }
::selection { background:#3c8527; color:#fff; }
:where(button,a,input,select,textarea,summary):focus-visible,
#nativeStudioPanel :where(button,input,select,textarea,summary):focus-visible { outline:2px solid var(--mc-frame); outline-offset:2px; box-shadow:0 0 0 4px var(--mc-outline); }
input,select,textarea { accent-color:var(--mc-grass); }

/* ── Header ─────────────────────────────────────── */
body .studio-homebar,body .nav { background:var(--mc-deepslate); border-bottom:2px solid var(--mc-outline); box-shadow:inset 0 -2px 0 #2d312f; backdrop-filter:none; }
body .studio-homebar-brand,body .brand { gap:9px; }
body .studio-homebar-brand strong,body .brand { font-family:var(--mc-display)!important; font-weight:700; font-size:20px; letter-spacing:0; color:var(--mc-text); }
body .studio-homebar-brand strong span,body .brand .brand-forge,body .studio-brand-tool { color:var(--mc-brand); }
body .studio-homebar-nav a:not(.btn),body .nav-links a { color:var(--mc-muted); font-weight:600; font-size:13px; white-space:nowrap; clip-path:none; border-radius:2px; }
body .studio-homebar-nav a:not(.btn):hover,body .nav-links a:hover { color:var(--mc-text); background:#ffffff0d; }

/* ── Controls: stone, green and slot ───────────── */
body .btn,body .app-install,body .studio-homebar-nav .btn,body .filter,body .btn-ghost,body .btn-secondary {
 border:2px solid var(--mc-outline); border-radius:2px; clip-path:none; background:var(--mc-stone); color:var(--mc-text);
 box-shadow:var(--mc-bevel); font-weight:600; white-space:nowrap; text-shadow:none;
}
body .btn:hover,body .app-install:hover,body .filter:hover,body .btn-ghost:hover,body .btn-secondary:hover:not(:disabled) { background:var(--mc-stone-hover); color:#fff; }
body .btn:active,body .app-install:active,body .filter:active,body .btn-ghost:active { box-shadow:var(--mc-bevel-pressed); }
body .btn-ember,body .hero-actions .btn-ember,body .auth-card .btn-ember,body .app-install-dialog button,body .card:hover .btn-ember {
 background:var(--mc-grass); border:2px solid var(--mc-outline); color:#fff; box-shadow:var(--mc-bevel-green); text-shadow:0 1px 0 #0005;
}
body .btn-ember:hover,body .auth-card .btn-ember:hover { background:var(--mc-grass-hover); color:#fff; }
body .btn-ember:active { box-shadow:inset 0 3px 0 var(--mc-grass-lo); }
body .studio-homebar-nav .btn,body .studio-homebar .app-install,body .nav .app-install { min-height:36px; padding:0 12px; font-size:13px; border-color:var(--mc-outline); }

/* ── Start card ─────────────────────────────────── */
body:has(#creation-card:not(.hidden)) #viewport {
 background:repeating-conic-gradient(#1b1d1c 0 25%,#181a19 0 50%) 0 0/48px 48px,var(--mc-ground);
}
body:has(#creation-card:not(.hidden)) #dropzone { background:none; border:0; box-shadow:none; backdrop-filter:none; }
body:has(#creation-card:not(.hidden)) #dropzone::before,body:has(#creation-card:not(.hidden)) #dropzone::after { display:none; }
body #dropzone.dragover { background:#3c852722; box-shadow:inset 0 0 0 4px var(--mc-grass); }
body #creation-card { background:var(--mc-deepslate); border:2px solid var(--mc-outline); border-radius:4px; box-shadow:inset 0 2px 0 #343836,0 30px 80px #000a; }
body .creation-header { background:transparent; border-bottom:2px solid var(--mc-outline); box-shadow:0 2px 0 #2d312f; display:grid; grid-template-columns:minmax(0,1fr) auto; column-gap:24px; align-items:end; }
body .creation-header > :not(.creation-roadmap) { grid-column:1; }
body .creation-eyebrow { display:none!important; }
body .creation-title { font-family:var(--mc-display)!important; font-weight:700; font-size:clamp(30px,3.4vw,42px); letter-spacing:0; line-height:1.08; color:var(--mc-text); }
body .creation-subtitle { color:var(--mc-muted); font-size:15px; margin-top:6px; }
body .creation-kicker { color:var(--mc-text); font-weight:600; font-size:13px; letter-spacing:0; text-transform:none; }
body .creation-alternatives .creation-kicker { font-family:var(--mc-display)!important; font-weight:600; font-size:22px; letter-spacing:0; }
body .creation-alternatives .creation-step-note { color:var(--mc-muted); font-size:13px; }
body .creation-alternatives { border-left:2px solid var(--mc-outline); box-shadow:-2px 0 0 #2d312f; }

/* Journey hexes: the same marker in the start card and in the studio. */
body .creation-header .creation-roadmap { grid-column:2; grid-row:1/span 3; align-self:center; display:flex; gap:0; margin:0; }
body .creation-roadmap li { position:relative; flex-direction:column; gap:6px; width:76px; color:var(--mc-dim); font:600 12px var(--mc-body); }
body .creation-roadmap li::after { display:none!important; }
body .creation-roadmap li + li::before { content:''; position:absolute; top:17px; left:calc(-50% + 18px); width:calc(100% - 36px); height:4px; background:var(--mc-stone); box-shadow:0 0 0 2px var(--mc-outline); }
body .creation-roadmap li span,body .creation-roadmap li.active span {
 width:34px; height:38px; border:0; border-radius:0; font-size:0; color:transparent; clip-path:var(--mc-hex);
 background:url(/brand/icons/model.png) center/16px 16px no-repeat,var(--mc-stone); image-rendering:pixelated; filter:grayscale(.6) brightness(.9);
}
body .creation-roadmap li:nth-child(2) span { background-image:url(/brand/icons/animate.png); }
body .creation-roadmap li:nth-child(3) span { background-image:url(/brand/icons/behaviour.png); }
body .creation-roadmap li:nth-child(4) span { background-image:url(/brand/icons/export.png); }
body .creation-roadmap li.active { color:var(--mc-text); }
body .creation-roadmap li.active span { background-color:var(--mc-grass); filter:none; box-shadow:none; outline:0; }

/* Model types as inventory slots with pixel icons. */
body .creation-main .type-tab { min-height:68px; padding:10px 12px; gap:12px; border:2px solid var(--mc-outline); border-radius:2px; background:var(--mc-slot); box-shadow:var(--mc-recess); color:var(--mc-muted); }
body .creation-main .type-tab:hover { background:#1d201e; color:var(--mc-text); }
body .creation-main .type-tab.active { padding:10px 12px; border:2px solid var(--mc-frame); background:#2a2f2c; box-shadow:inset 0 0 0 2px var(--mc-outline); color:var(--mc-text); }
body .creation-main .type-tab.active .type-glyph,body .creation-main .type-tab .type-glyph { color:transparent; }
body .type-glyph { width:32px; height:32px; clip-path:none; opacity:1; transform:none!important; background:url(/brand/icons/block.png) center/32px 32px no-repeat; image-rendering:pixelated; }
body .type-glyph::before,body .type-glyph::after { display:none; }
body .type-glyph-mob { background-image:url(/brand/icons/mob.png); }
body .type-glyph-item { background-image:url(/brand/icons/item.png); }
body .type-tab strong { font-family:var(--mc-display)!important; font-weight:600; font-size:17px; letter-spacing:0; }
body .type-tab small,body .creation-main .type-tab.active small { color:var(--mc-muted); font-size:11px; opacity:1; }

/* Size and style: recessed tray with stone toggles. */
body .creation-size-guide { background:#1c1f1d; border:2px solid var(--mc-outline); border-radius:2px; box-shadow:inset 0 2px 0 #151716; }
body .creation-size-summary { color:var(--mc-muted); font-size:12px; }
body .creation-size-guide .voxel-envelope-preset,body .item-style-option {
 min-height:34px; padding:6px 11px; font:600 12px var(--mc-body); color:var(--mc-text); background:var(--mc-stone); border:2px solid var(--mc-outline); border-radius:2px; box-shadow:var(--mc-bevel);
}
body .creation-size-guide .voxel-envelope-preset:hover { background:var(--mc-stone-hover); }
body .creation-size-guide .voxel-envelope-preset.active,body .item-style-option:has(input:checked) { background:#4b524e; color:#fff; border-color:var(--mc-frame); box-shadow:inset 0 0 0 2px var(--mc-outline),inset 0 4px 0 #5f6762; }
body .creation-size-custom > summary,body .creation-extras > summary { color:var(--mc-muted); }

body .item-style-choice { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; }
body .item-style-choice > .creation-kicker { grid-column:1/-1; }
body .item-style-choice label { border:2px solid var(--mc-outline); border-radius:2px; background:var(--mc-slot); box-shadow:var(--mc-recess); color:var(--mc-text); padding:10px 12px; cursor:pointer; }
body .item-style-choice label:hover { background:#1d201e; }
body .item-style-choice label:has(input:checked) { border-color:var(--mc-frame); background:#2a2f2c; box-shadow:inset 0 0 0 2px var(--mc-outline); }
body .item-style-choice label small { color:var(--mc-muted); font-size:12px; }
@media(max-width:480px){ body .item-style-choice { grid-template-columns:1fr; } }

/* Minecraft text field. */
body #trellisPrompt,body .full-brief-editor textarea,body .brief-flair-review textarea {
 background:#0b0c0c; border:2px solid #5b615e; border-radius:0; color:var(--mc-text); font-size:15px; line-height:1.55; box-shadow:none;
}
body #trellisPrompt:focus,body .brief-flair-review textarea:focus { border-color:var(--mc-frame); outline:0; box-shadow:0 0 0 2px var(--mc-outline); }
body #trellisPrompt::placeholder { color:#7c837e; }
body .prompt-suggestions button { min-height:32px; padding:5px 11px; border:2px solid var(--mc-outline); border-radius:2px; background:var(--mc-stone); color:var(--mc-text); font-size:12px; font-weight:600; box-shadow:var(--mc-bevel); }
body .prompt-suggestions button:hover { background:var(--mc-stone-hover); border-color:var(--mc-outline); color:#fff; }
body .brief-flair-actions button,body #turnaroundBtn { border:2px solid var(--mc-outline); border-radius:2px; background:var(--mc-stone); color:var(--mc-text); box-shadow:var(--mc-bevel); font-weight:600; }
body #briefFlairBtn { color:var(--mc-enchant); }

/* The one green action. */
body .btn-generate {
 min-height:56px; border:2px solid var(--mc-outline); border-radius:2px; background:var(--mc-grass); color:#fff; box-shadow:var(--mc-bevel-green);
 font-family:var(--mc-display)!important; font-weight:600; font-size:20px; letter-spacing:0; text-shadow:0 2px 0 #0004; padding:10px 14px 12px 18px;
}
body .btn-generate span { font-family:inherit!important; }
/* The cost badge reads as text, not a title: "2 left" in the pixel face read as "8 left" (12 Nov 2026). */
body .btn-generate .generation-cost { font-family:var(--mc-body)!important; font-weight:700; }
body .btn-generate:hover:not(:disabled) { background:var(--mc-grass-hover); filter:none; }
body .btn-generate:active:not(:disabled) { box-shadow:inset 0 3px 0 var(--mc-grass-lo); }
body .btn-generate:disabled { background:#4a4f4c; box-shadow:var(--mc-bevel); color:#c8ccc9; }
body .generation-cost { font:600 11px var(--mc-body)!important; color:#e9f7e1; background:#0003; clip-path:none; border-radius:2px; padding:4px 8px; letter-spacing:0; text-shadow:none; }
body .generation-note { color:var(--mc-dim); font-size:12px; }
/* Signed out, the button already says "Sign in"; the box below only reassures. */
body .generation-auth-prompt { padding:0; background:none; box-shadow:none; clip-path:none; justify-content:center; }
body .generation-auth-prompt strong,body .generation-auth-prompt .generation-signin-link { display:none; }
body .generation-auth-prompt span { color:var(--mc-muted); font-size:12px; text-align:center; }
body .generation-signin-inline { color:var(--mc-frame); text-decoration:underline; text-underline-offset:2px; }
body .progress-bar-track { background:var(--mc-slot); border:2px solid var(--mc-outline); border-radius:0; height:14px; box-shadow:var(--mc-recess); }
body .progress-bar-fill { background:var(--mc-grass); box-shadow:inset 0 2px 0 var(--mc-grass-hi); border-radius:0; }

/* Other ways to start. */
body .starter-example-card { border:2px solid var(--mc-outline); border-radius:2px; background:var(--mc-slot); box-shadow:var(--mc-recess); }
body .starter-example-card:hover:not(:disabled) { transform:none; border-color:var(--mc-frame); }
body .starter-example-card img { background:var(--stage); border-bottom:2px solid var(--mc-outline); }
body .starter-example-copy small { display:none; }
body .starter-example-copy strong { font-family:var(--mc-display)!important; font-weight:600; font-size:20px; letter-spacing:0; color:var(--mc-text); }
body .starter-example-copy > span { color:var(--mc-gold); font-size:13px; font-weight:600; }
body .starter-example-copy > span b { display:none; }
body .btn-upload { border:2px solid var(--mc-outline); border-radius:2px; background:var(--mc-stone); box-shadow:var(--mc-bevel); color:var(--mc-text); }
body .btn-upload:hover { background:var(--mc-stone-hover); }
body .btn-upload strong { font-size:13px; color:var(--mc-text); }
body .btn-upload span,body .upload-hint { color:var(--mc-muted); font-size:12px; }
body .gallery-view-all-btn { color:var(--mc-gold); font-weight:600; }
body .gallery-view-all-btn span { display:none; }

/* ── Studio frame ───────────────────────────────── */
body[data-native-studio] { --steps-h:52px; --native-panel:380px; }
body[data-native-studio] #viewport { top:calc(var(--homebar-h) + var(--steps-h)); }
body[data-native-studio] #sidebar { background:var(--mc-deepslate); border-left:2px solid var(--mc-outline); box-shadow:inset 2px 0 0 #2d312f; }
@media(min-width:801px){ body[data-native-studio]:not([data-native-mode="animate"]) #sidebar { top:calc(var(--homebar-h) + var(--steps-h)); } }
body[data-native-mode="animate"] #sidebar { border-left:0; border-top:2px solid var(--mc-outline); box-shadow:inset 0 2px 0 #2d312f; }

/* Journey stepper: hexagons joined by bars that turn green as each stage is reached. */
body[data-native-studio] .native-steps { background:var(--mc-deepslate); border-bottom:2px solid var(--mc-outline); gap:0; align-items:center; padding:0 12px; }
body[data-native-studio] .native-steps button {
 position:relative; display:flex; align-items:center; gap:9px; min-width:0; min-height:44px; padding:4px 8px; border:0; border-radius:2px; background:transparent; box-shadow:none;
 color:var(--mc-dim); font-family:var(--mc-display)!important; font-weight:500; font-size:16px; letter-spacing:0;
}
body[data-native-studio] .native-steps button + button { margin-left:30px; }
body[data-native-studio] .native-steps button + button::before { content:''; position:absolute; top:50%; left:-32px; width:34px; height:4px; margin-top:-2px; background:var(--mc-stone); box-shadow:0 0 0 2px var(--mc-outline); }
body[data-native-studio] .native-steps button:is([aria-current='step'],:has(~ [aria-current='step']))::before { background:var(--mc-grass); }
body[data-native-studio] .native-steps button:hover:not(:disabled) { color:var(--mc-text); background:#ffffff0a; }
body[data-native-studio] .native-steps button[aria-current='step'] { color:var(--mc-text); background:transparent; box-shadow:none; }
body[data-native-studio] .native-steps button:has(~ [aria-current='step']) { color:var(--mc-muted); }
body[data-native-studio] .native-steps button:disabled { opacity:1; color:#5f6662; }
body[data-native-studio] .native-steps button:disabled > .native-step-hex { opacity:.42; }
body[data-native-studio] .native-steps small { font:500 11px var(--mc-body)!important; color:var(--mc-dim); opacity:1; }
.native-step-num { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.native-step-hex { flex:none; display:grid; place-items:center; width:32px; height:36px; clip-path:var(--mc-hex); background:#5d6460; }
.native-step-hex::before { content:''; width:26px; height:30px; clip-path:var(--mc-hex); background:url(/brand/icons/model.png) center/16px 16px no-repeat,var(--mc-stone); image-rendering:pixelated; filter:grayscale(.6) brightness(.9); }
[data-step='3'] > .native-step-hex::before { background-image:url(/brand/icons/animate.png); }
[data-step='1'] > .native-step-hex::before { background-image:url(/brand/icons/behaviour.png); }
[data-step='2'] > .native-step-hex::before { background-image:url(/brand/icons/export.png); }
.native-steps button:is([aria-current='step'],:not(:disabled):has(~ [aria-current='step'])) > .native-step-hex::before { background-color:var(--mc-grass); filter:none; }
.native-steps button[aria-current='step'] > .native-step-hex { background:var(--mc-frame); }
.native-steps button:hover:not(:disabled):not([aria-current='step']) > .native-step-hex::before { filter:none; }

/* Wide screens: the stepper lives in the top bar, giving the model the full height. */
@media(min-width:1280px){
 body[data-native-studio] { --steps-h:0px; }
 body[data-native-studio] .native-steps { top:0; left:190px; right:auto; height:var(--homebar-h); padding:env(safe-area-inset-top,0px) 0 0; background:transparent; border:0; z-index:270; }
}

@media(min-width:1280px) and (max-width:1439px){ body[data-native-studio] .native-steps small { display:none; } }

/* View dock: one joined stone toolbar. The legacy toolbar stays mounted but must not blur the stage. */
body[data-native-studio] .viewport-toolbar { padding:0; backdrop-filter:none; }
.native-view-dock { gap:8px; }
.native-view-dock button,.native-view-lighting > summary { min-height:34px; padding:6px 12px; border:2px solid var(--mc-outline); border-radius:2px; background:var(--mc-stone); color:var(--mc-text); box-shadow:var(--mc-bevel); font:600 12px/1 var(--mc-body); }
.native-view-dock button:hover,.native-view-lighting > summary:hover { background:var(--mc-stone-hover); color:#fff; border-color:var(--mc-outline); }
.native-view-dock button:active { box-shadow:var(--mc-bevel-pressed); }
.native-view-angles { gap:0; padding:0; border:2px solid var(--mc-outline); border-radius:2px; background:var(--mc-stone); box-shadow:var(--mc-bevel); }
.native-view-dock .native-view-angles button { min-height:30px; border:0; border-radius:0; background:transparent; box-shadow:none; }
.native-view-dock .native-view-angles button + button { border-left:2px solid #00000040; }
.native-view-dock .native-view-angles button:hover { background:#ffffff14; }
.native-view-lighting[open] > summary { color:#fff; border-color:var(--mc-frame); }
.native-view-dock .native-view-menu { background:var(--mc-deepslate); border:2px solid var(--mc-outline); border-radius:2px; box-shadow:inset 0 2px 0 #343836,0 12px 30px #0009; }

/* ── Studio panel ───────────────────────────────── */
#nativeStudioPanel { color:var(--mc-text); padding:20px 20px 0; }
#nativeStudioPanel h3 { font-family:var(--mc-display)!important; font-weight:600; font-size:26px; letter-spacing:0; line-height:1.15; color:var(--mc-text); }
#nativeStudioPanel .workshop-kicker { display:none; }
#nativeStudioPanel label { color:var(--mc-muted); font-size:12px; }
body[data-native-mode='animate'] #nativeStudioPanel .native-playback label { font-size:0; }
#nativeStudioPanel .native-studio-note { color:var(--mc-muted); font-size:12.5px; line-height:1.55; }
#nativeStudioPanel .native-title-field { color:var(--mc-dim); font-size:11px; letter-spacing:0; }
body[data-native-studio] #nativeStudioPanel label.native-title-field [data-creation-name] { font-family:var(--mc-display)!important; font-weight:600; font-size:24px; letter-spacing:0; color:var(--mc-text); border-bottom:2px dashed #4a504c; }
body[data-native-studio] #nativeStudioPanel label.native-title-field [data-creation-name]:focus { border-bottom-color:var(--mc-frame); }
#nativeStudioPanel [data-saved] { border-left:4px solid var(--mc-grass); color:#a9d49a; font-size:12px; }
#nativeStudioPanel .native-save-actions { border-bottom:2px solid var(--mc-outline); box-shadow:0 2px 0 #2d312f; }
#nativeStudioPanel a { color:var(--mc-gold); }

/* Default panel buttons are stone; selection is a white frame; the next stage is green. */
#nativeStudioPanel button { min-height:38px; border:2px solid var(--mc-outline); border-radius:2px; background:var(--mc-stone); color:var(--mc-text); box-shadow:var(--mc-bevel); font-weight:600; font-size:12.5px; }
#nativeStudioPanel button:hover:not(:disabled) { background:var(--mc-stone-hover); border-color:var(--mc-outline); color:#fff; }
#nativeStudioPanel button:active:not(:disabled) { box-shadow:var(--mc-bevel-pressed); }
#nativeStudioPanel button:disabled { opacity:.45; }
#nativeStudioPanel button[aria-pressed='true'] { background:#4b524e; border-color:var(--mc-frame); color:#fff; box-shadow:inset 0 0 0 2px var(--mc-outline),inset 0 4px 0 #5f6762; }
#nativeStudioPanel .native-next,#nativeStudioPanel .native-try-heading [data-fit-done] {
 min-height:50px; padding:10px 14px 12px; border:2px solid var(--mc-outline); border-radius:2px; background:var(--mc-grass); color:#fff; box-shadow:var(--mc-bevel-green);
 font-family:var(--mc-display)!important; font-weight:600; font-size:18px; letter-spacing:0; text-shadow:0 2px 0 #0004;
}
#nativeStudioPanel .native-next:hover:not(:disabled),#nativeStudioPanel .native-try-heading [data-fit-done]:hover:not(:disabled) { background:var(--mc-grass-hover); color:#fff; border-color:var(--mc-outline); }
#nativeStudioPanel .native-next:active:not(:disabled) { box-shadow:inset 0 3px 0 var(--mc-grass-lo); }
#nativeStudioPanel .native-try-heading [data-fit-done] { min-height:38px; font-size:15px; padding:6px 14px 8px; }
/* The next stage stays in reach while the panel scrolls. */
#nativeStudioPanel [data-page] > .native-next[data-next],#nativeStudioPanel .native-key-settings > .native-next:last-child { position:sticky; bottom:12px; z-index:3; margin-bottom:12px; box-shadow:var(--mc-bevel-green),0 12px 0 0 var(--mc-deepslate),0 -10px 18px 2px var(--mc-deepslate); }
/* Keyboard focus scrolls clear of that sticky button (12 Nov 2026: 18 tab stops sat hidden behind it on the Behaviour step). */
body[data-native-studio] #sidebar .sidebar-scroll { scroll-padding-bottom:96px; }
#nativeStudioPanel .native-key-settings > .native-next:last-child { bottom:0; }

/* Fields. */
#nativeStudioPanel :is(input:not([type='checkbox']):not([type='range']):not([type='color']),select,textarea) { background:#0e100f; color:var(--mc-text); border:2px solid #4f5551; border-radius:0; font-size:13px; }
#nativeStudioPanel :is(input:not([type='checkbox']):not([type='range']):not([type='color']),select,textarea):focus { border-color:var(--mc-frame); }
#nativeStudioPanel input[type='range']::-webkit-slider-runnable-track { height:6px; background:var(--mc-slot); border:2px solid var(--mc-outline); border-radius:0; box-sizing:content-box; }
#nativeStudioPanel input[type='range']::-webkit-slider-thumb { width:14px; height:20px; margin-top:-9px; background:var(--mc-stone); border:2px solid var(--mc-outline); border-radius:0; box-shadow:inset 0 2px 0 var(--mc-stone-hi); }
#nativeStudioPanel input[type='range']::-moz-range-track { height:6px; background:var(--mc-slot); border:2px solid var(--mc-outline); border-radius:0; }
#nativeStudioPanel input[type='range']::-moz-range-thumb { width:12px; height:18px; background:var(--mc-stone); border:2px solid var(--mc-outline); border-radius:0; }

/* Tools are hotbar slots. */
#nativeStudioPanel .native-tools { gap:6px; }
#nativeStudioPanel .native-tools button { min-height:78px; gap:8px; border-radius:2px; background:var(--mc-slot); box-shadow:var(--mc-recess); color:var(--mc-muted); font-size:12px; }
#nativeStudioPanel .native-tools button:hover:not(:disabled) { background:#1e211f; color:#fff; }
#nativeStudioPanel .native-tools [aria-pressed='true'] { background:#2d322f; color:#fff; border:2px solid var(--mc-frame); box-shadow:inset 0 0 0 2px var(--mc-outline); }
#nativeStudioPanel .native-tools svg { width:26px; height:26px; }
#nativeStudioPanel .native-tools kbd { top:5px; right:5px; padding:2px 5px 3px; border:0; border-radius:0; background:#000a; color:var(--mc-muted); font:500 11px/1 var(--mc-display); }
#nativeStudioPanel [data-paint-options] { background:#1c1f1d; border:2px solid var(--mc-outline); border-radius:2px; box-shadow:inset 0 2px 0 #151716; }
.native-field-title { color:var(--mc-muted); font-size:12px; }
#nativeStudioPanel .native-palette { gap:4px; }
#nativeStudioPanel .native-palette button { width:30px; height:30px; min-height:30px; border:2px solid var(--mc-outline); outline:0; border-radius:0; box-shadow:inset 2px 2px 0 #ffffff30,inset -2px -2px 0 #0000003a; }
/* The palette's own outline marks the selected colour; keyboard focus gets a separate offset ring (12 Nov 2026). */
#nativeStudioPanel .native-palette button:focus-visible { outline:2px solid var(--mc-frame)!important; outline-offset:3px; }
#nativeStudioPanel .native-palette button[aria-pressed='true'] { outline:2px solid var(--mc-frame); outline-offset:0; border-color:var(--mc-outline); z-index:1; position:relative; }

/* Disclosure rows with a pixel chevron. */
#nativeStudioPanel details { border-top:2px solid #1a1c1b; }
#nativeStudioPanel summary { list-style:none; display:flex; align-items:center; gap:10px; color:var(--mc-muted); font-weight:600; font-size:13px; }
#nativeStudioPanel summary::-webkit-details-marker { display:none; }
#nativeStudioPanel summary::before { content:''; flex:none; width:8px; height:10px; background:currentColor; clip-path:polygon(0 0,25% 0,25% 10%,50% 10%,50% 30%,75% 30%,75% 40%,100% 40%,100% 60%,75% 60%,75% 70%,50% 70%,50% 90%,25% 90%,25% 100%,0 100%); transition:transform .12s; }
#nativeStudioPanel details[open] > summary { color:var(--mc-text); }
#nativeStudioPanel details[open] > summary::before { transform:rotate(90deg); }
#nativeStudioPanel summary:hover { color:#fff; }
#nativeStudioPanel .native-learn { background:#1b201c; border:2px solid var(--mc-outline); border-radius:2px; }
#nativeStudioPanel .native-learn > summary { color:#a9d49a; }
.native-learn article { background:#0e100f; border:2px solid var(--mc-outline); border-radius:2px; }
.native-learn h4 { font-family:var(--mc-display)!important; font-weight:600; font-size:15px; }
/* AI is enchanting: purple marks every AI affordance. */
#nativeStudioPanel .native-ai { background:var(--mc-enchant-surface); border:2px solid var(--mc-outline); border-radius:2px; box-shadow:inset 0 2px 0 #3a2f52; }
#nativeStudioPanel .native-ai > summary,#nativeStudioPanel .native-ai > summary::marker { color:var(--mc-enchant); }
#nativeStudioPanel .native-ai[open] > summary { color:#e2d2ff; }
#nativeStudioPanel .native-ai [data-ai] { background:#5a3d93; box-shadow:inset 0 2px 0 #7d5cc0,inset 0 -4px 0 #3a2763; color:#fff; }
#nativeStudioPanel .native-ai [data-ai]:hover:not(:disabled) { background:#6747a6; }
#nativeStudioPanel .native-request-progress { border:2px solid var(--mc-outline); border-radius:2px; background:#1d1729; }
.native-progress-track { height:10px; border-radius:0; background:var(--mc-slot); box-shadow:var(--mc-recess); }
.native-progress-track > span { border-radius:0; background:var(--mc-enchant); }
#nativeStudioPanel .native-parts [data-element-status] { border-left:4px solid var(--mc-gold); background:#2b2a22; }

/* Behaviour. */
#nativeStudioPanel .bedrock-choices button { background:var(--mc-stone); color:var(--mc-text); min-height:40px; }
#nativeStudioPanel .bedrock-choices button:hover { background:var(--mc-stone-hover); }
#nativeStudioPanel .bedrock-summary { background:var(--success-surface); color:#a9d49a; border:2px solid var(--mc-outline); border-radius:2px; }
#nativeStudioPanel .bedrock-component { background:#1c1f1d; border:2px solid var(--mc-outline); border-radius:2px; box-shadow:inset 0 2px 0 #151716; }
#nativeStudioPanel .bedrock-component > summary { color:var(--mc-text); }
#nativeStudioPanel .bedrock-component .bedrock-fields { background:#0e100f; border-radius:0; }
#nativeStudioPanel .bedrock-component fieldset { border:2px solid #2d312f; border-radius:0; }
#nativeStudioPanel .bedrock-section-title { color:var(--mc-text); font-size:13px; }
#nativeStudioPanel .bedrock-search-results { background:#0e100f; border:2px solid var(--mc-outline); border-radius:0; }
#nativeStudioPanel .bedrock-issues:not(:empty) { background:#2b2a22; color:var(--mc-gold); border:2px solid var(--mc-outline); border-radius:2px; }
#nativeStudioPanel .bedrock-editor > button { background:none; border:0; box-shadow:none; color:var(--mc-gold); min-height:30px; }

/* Export. */
#nativeStudioPanel .native-platform { color:#a9d49a; background:var(--success-surface); border:2px solid var(--mc-outline); border-radius:2px; font-size:12px; }
.workshop-export-stamp { width:48px; height:48px; border-radius:0; font-size:0; color:transparent; background:url(/brand/icons/export.png) center/32px 32px no-repeat; image-rendering:pixelated; }
#nativeStudioPanel .native-export-choice .native-next { font-size:16px; }
#nativeStudioPanel .native-export-choice { background:#1c1f1d; border:2px solid var(--mc-outline); border-radius:2px; box-shadow:inset 0 2px 0 #151716; }
#nativeStudioPanel .native-export-primary { background:#1e2a1d; box-shadow:inset 0 2px 0 #2a3a28; }
#nativeStudioPanel .native-export-lead strong { font-family:var(--mc-display)!important; font-weight:600; font-size:18px; letter-spacing:0; }
.workshop-install-steps li::before { border-radius:0; width:24px; height:24px; background:var(--mc-stone); box-shadow:0 0 0 2px var(--mc-outline),var(--mc-bevel); color:#fff; font:600 13px var(--mc-display); }
.workshop-install-steps strong { color:var(--mc-text); font-size:13px; }
#nativeStudioPanel .native-command code { background:#0b0c0c; border:2px solid #4f5551; border-radius:0; color:#d6f5c8; }
#nativeStudioPanel [data-page='2'] > [data-command] { background:#0b0c0c; border-radius:0; }

/* Animate dock. */
#nativeStudioPanel .workshop-animation-intro { background:#1c1f1d; border:2px solid var(--mc-outline); border-radius:2px; color:var(--mc-muted); }
.workshop-animation-intro strong { font-family:var(--mc-display)!important; font-weight:600; letter-spacing:0; color:var(--mc-text); }
#nativeStudioPanel .native-key-timeline { border-radius:0; background:repeating-linear-gradient(90deg,#3a3f3c 0 2px,transparent 2px 10%),linear-gradient(transparent 17px,#5b615e 17px,#5b615e 21px,transparent 21px),var(--mc-slot); box-shadow:var(--mc-recess); }
#nativeStudioPanel .native-key-timeline button { min-width:20px; padding:4px; background:var(--mc-gold); color:#2b2100; box-shadow:inset 0 2px 0 #fff3, inset 0 -3px 0 #0003; }
#nativeStudioPanel .native-key-timeline button[aria-pressed='true'] { outline:2px solid var(--mc-frame); background:#fff2b0; }
[data-kf-playhead] { width:2px; background:var(--mc-frame); box-shadow:0 0 0 1px var(--mc-outline); }
.native-key-track.is-active > span,.native-new-clip legend,.native-rest-actions legend { color:var(--mc-text); }
.native-new-clip,.native-rest-actions { border:2px solid #2d312f; border-radius:0; }
.native-key-settings { border-color:#2d312f; }
#nativeStudioPanel .native-playback { background:transparent; }
body[data-native-studio]:not([data-native-mode='animate']):not([data-try-on]) #nativeStudioPanel .native-playback button { border-radius:2px; background:var(--mc-stone); min-height:34px; }

/* Try On. */
#nativeStudioPanel [data-fit-catalog] { background:#0e100f; border:2px solid var(--mc-outline); border-radius:0; }
#nativeStudioPanel [data-fit-help] { background:#2b2a22; border:2px solid var(--mc-outline); border-radius:2px; }
#nativeStudioPanel .native-try-trigger { background:var(--mc-stone); color:var(--mc-gold); }

/* ── Gallery, home and accounts ─────────────────── */
body .gallery-head h1,body .hero h1,body .auth-card h1,body .section-head h2,body .step-card h3,body .cta-band h2 { font-family:var(--mc-display)!important; font-weight:700; letter-spacing:0; }
body .gallery-scopes { border-bottom:2px solid var(--mc-outline); box-shadow:0 2px 0 #2d312f; }
body .gallery-scopes .filter { background:transparent; border:0; box-shadow:none; color:var(--mc-muted); font-weight:600; }
body .gallery-scopes .filter.active { color:var(--mc-text); border-bottom:4px solid var(--mc-grass); }
body .gallery-search input { background:#0b0c0c; border:2px solid #5b615e; border-radius:0; }
body .gallery-search input:focus { border-color:var(--mc-frame); outline:0; }
body .gallery-toolbar .filter { min-height:40px; padding:0 16px; border-radius:2px; background:var(--mc-stone); color:var(--mc-text); font:600 13px var(--mc-body); }
body .gallery-toolbar .filter.active { background:#4b524e; color:#fff; border-color:var(--mc-frame); box-shadow:inset 0 0 0 2px var(--mc-outline),inset 0 4px 0 #5f6762; }
body .card { border:2px solid var(--mc-outline); border-radius:2px; background:var(--mc-deepslate); box-shadow:inset 0 2px 0 #343836; }
body .card:hover { transform:none; border-color:var(--mc-frame); }
body .card .prompt { font-family:var(--mc-display)!important; font-weight:600; font-size:18px; letter-spacing:0; line-height:1.2; }
body .card .btn-ember { background:var(--mc-grass); color:#fff; border:2px solid var(--mc-outline); box-shadow:var(--mc-bevel-green); }
body .card .btn-ember:hover { background:var(--mc-grass-hover); }
body .card-actions { grid-template-columns:minmax(0,1fr) auto; gap:6px; }
body .card-actions .btn { min-height:40px; padding:0 12px; font-size:13px; justify-content:center; }
body .card-actions [data-inspect] { background:var(--mc-stone); color:var(--mc-text); border:2px solid var(--mc-outline); box-shadow:var(--mc-bevel); }
body .card .pill { background:transparent; color:var(--mc-dim); }
body .step-card,body .pricing-card,body .price-card,body .cta-banner,body .cta-band,body .studio-card,body .state { border:2px solid var(--mc-outline); border-radius:2px; box-shadow:inset 0 2px 0 #343836; }
body .step-card:nth-child(n) { background:var(--mc-deepslate); }
body .hero-scene,body .hero-model-link { border:2px solid var(--mc-outline); border-radius:2px; }
body .hero-motion-toggle { border:2px solid var(--mc-outline); border-radius:2px; background:var(--mc-stone); color:var(--mc-text); box-shadow:var(--mc-bevel); }
body .auth-card { border:2px solid var(--mc-outline); border-radius:4px; background:var(--mc-deepslate); box-shadow:inset 0 2px 0 #343836,0 30px 80px #0008; }
body .auth-card .btn { border-radius:2px; min-height:50px; font-size:15px; }
body .auth-card > .pixel-label { display:none; }
body .auth-card h1 { font-size:30px; }
body .auth-card a:not(.btn),body .auth-alt a { color:var(--mc-gold); }
body .auth-card .field input { background:#0b0c0c; border:2px solid #5b615e; border-radius:0; }
body .auth-card .field input:not([type="checkbox"]):focus { border-color:var(--mc-frame); outline:0; }
/* The consent checkbox has no border to recolour, so it keeps the shared focus ring (12 Nov 2026: Tab showed nothing). */
body .auth-card input[type="checkbox"]:focus-visible { outline:2px solid var(--mc-frame); outline-offset:2px; }
body .app-install-dialog { border:2px solid var(--mc-outline); border-radius:4px; background:var(--mc-deepslate); }

/* Account: wallet and panels as slots; the allowance meter is an XP-style bar. */
html body::before { display:none; }
body .account-grid h1 { font-family:var(--mc-display)!important; font-weight:700; letter-spacing:0; }
body .wallet-card,body .panel { background:var(--mc-deepslate); clip-path:none; border:2px solid var(--mc-outline); border-radius:2px; box-shadow:inset 0 2px 0 #343836; }
body .wallet-card-head .pixel-label { display:block; font-family:var(--mc-display)!important; font-size:18px; font-weight:600; letter-spacing:0; text-transform:lowercase; color:var(--mc-text); }
body .wallet-card-head .pixel-label::first-letter { text-transform:uppercase; }
body .plan-chip,body .plan-chip.chip-pro { clip-path:none; border:2px solid var(--mc-outline); border-radius:2px; background:var(--success-surface); color:#a9d49a; font:600 11px var(--mc-body); letter-spacing:0; }
body .wallet-balance { font-family:var(--mc-display)!important; font-weight:700; color:var(--mc-gold); text-shadow:0 2px 0 #0006; }
body .wallet-balance small,body .wallet-foot { color:var(--mc-muted); letter-spacing:0; }
body .xp-meter { height:14px; background:var(--mc-slot); border:2px solid var(--mc-outline); box-shadow:var(--mc-recess); }
body .xp-fill,body .xp-fill.fill-ember { inset:0 auto 0 0; background:repeating-linear-gradient(90deg,var(--mc-grass-hover) 0 10px,var(--mc-grass) 10px 12px); box-shadow:inset 0 2px 0 var(--mc-grass-hi); }
body .cost-row { clip-path:none; background:var(--mc-slot); border:2px solid var(--mc-outline); border-radius:2px; box-shadow:var(--mc-recess); }
body .cost-row .cost,body .ledger-table td:last-child { font-family:var(--mc-body)!important; font-weight:700; color:var(--mc-gold); letter-spacing:0; }
body .ledger-table td { border-bottom:2px solid #1a1c1b; color:var(--mc-muted); }
body .toast-success { clip-path:none; border:2px solid var(--mc-outline); border-radius:2px; background:var(--success-surface); color:#a9d49a; box-shadow:none; }

/* Credits chip on the start screen: a slot tag. On phones the start card covers that corner, so it hides there. */
body .forge-chip { border:2px solid var(--mc-outline); border-radius:2px; background:var(--mc-deepslate); box-shadow:inset 0 2px 0 #343836; color:var(--mc-text); }
body .forge-chip:hover { border-color:var(--mc-frame); background:var(--mc-deepslate); }
body .forge-chip .chip-credits { font-family:var(--mc-display)!important; color:var(--mc-gold); letter-spacing:0; }
body .forge-chip .chip-plan { font-family:var(--mc-body)!important; letter-spacing:0; color:var(--mc-muted); }
/* The wallet chip sat underneath the studio header (desktop) or the start card, invisible but still a tab stop (12 Nov 2026).
   It shows only where it can be seen: below the header in the editor on narrower screens. The header's Account link remains. */
body:has(#creation-card:not(.hidden)) #forgeAccount { display:none; }
@media(min-width:1024px){ body #forgeAccount { display:none; } }
html[data-ui="simple"] #forgeAccount { display:none!important; }

/* Bug tracker: same title face; the caps eyebrow is redundant with the heading. */
body .bug-heading .pixel-label { display:none; }
body .bug-heading h1 { font-family:var(--mc-display)!important; font-weight:700; letter-spacing:0; }

/* Home: one headline colour, saved artwork on slot frames. */
body.home-page .hero h1 .molten { font-family:inherit!important; color:inherit; background:none; -webkit-text-fill-color:currentColor; }
body.home-page .hero-scene { border-radius:2px; box-shadow:inset 0 2px 0 #343836; }
body.home-page .showcase-kicker { color:var(--mc-muted); }
body.home-page .showcase-details { background:#1c2320; border-top:2px solid var(--mc-outline); }
body.home-page .showcase-details h2,body.home-page .collection-heading h2,body.home-page .collection-info h3 { font-family:var(--mc-display)!important; font-weight:600; letter-spacing:0; }
body.home-page .showcase-edit,body.home-page .collection-browse,body.home-page .collection-arrow { color:var(--mc-gold); }
body.home-page .showcase-choice { border:2px solid var(--mc-outline); border-radius:2px; background:var(--mc-slot); box-shadow:var(--mc-recess); }
body.home-page .showcase-choice[aria-pressed="true"],body.home-page .showcase-choice[aria-pressed="true"]:hover { border-color:var(--mc-frame); background:#2a2f2c; color:var(--mc-text); }
body.home-page .showcase-choice:hover { border-color:#8b928d; }
body.home-page .showcase-choice img,body.home-page .collection-art { background:var(--stage); }
body.home-page .collection-art { border:2px solid var(--mc-outline); border-radius:2px; }
body.home-page .collection-card:hover .collection-art { border-color:var(--mc-frame); }
body.home-page .collection-card { border-radius:2px; }
body.home-page .collection-card:hover .collection-art img { transform:none; }

/* Pricing and steps: emphasis is the white frame, not an orange glow; tiers read in sentence case. */
body .step-card.featured,body .studio-card.featured { box-shadow:inset 0 2px 0 #343836; border-color:var(--mc-outline); }
body .price-card.featured { box-shadow:inset 0 0 0 2px var(--mc-outline),inset 0 6px 0 #4a514d; border-color:var(--mc-frame); }
body .price-tier,body .price-card.featured .price-tier { display:block; font-family:var(--mc-display)!important; font-weight:600; font-size:18px; letter-spacing:0; text-transform:lowercase; color:var(--mc-text); }
body .price-tier::first-letter { text-transform:uppercase; }
body .price-credits { display:block; letter-spacing:0; text-transform:lowercase; font-size:13px; font-weight:600; color:var(--mc-gold); }
body .step-card .step-num,body .step-card.featured .step-num { color:var(--mc-muted); }

/* ── Simple studio trial (?ui=simple, public/app/simple-mode.js) ─────────────
   One question and one green action per screen; secondary controls stay in place behind "More options". */
.simple-more-toggle,.simple-full-studio,.simple-start-links { display:none; }
.simple-more-extras { display:grid; gap:12px; }
html[data-ui="simple"] body .studio-homebar-nav a[href="/bugs"],
html[data-ui="simple"] body .studio-homebar .app-install,
html[data-ui="simple"] .native-view-lighting { display:none!important; }
/* Start: what will you make, describe it, create. */
html[data-ui="simple"] body #creation-card { max-width:600px; width:min(600px,calc(100% - 32px)); }
html[data-ui="simple"] body .creation-header { display:block; padding:28px 32px 4px; border-bottom:0; box-shadow:none; }
html[data-ui="simple"] body .creation-title { font-size:clamp(28px,4vw,38px); }
html[data-ui="simple"] body :is(.creation-subtitle,.creation-roadmap,.creation-alternatives,.creation-main > .creation-section-head,.prompt-suggestions,.generation-note,.type-tab small,.brief-flair-note) { display:none!important; }
html[data-ui="simple"] body .creation-body { display:block; padding:18px 32px 28px; }
html[data-ui="simple"] body .type-selector { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:10px; margin:0 0 16px; }
html[data-ui="simple"] body .creation-main .type-tab { flex-direction:column; justify-content:center; gap:8px; min-height:104px; padding:12px 6px; text-align:center; }
html[data-ui="simple"] body .type-tab > span:last-child { justify-items:center; }
html[data-ui="simple"] body .type-tab strong { font-size:18px; }
html[data-ui="simple"] body .type-glyph { width:48px; height:48px; background-size:48px 48px; }
html[data-ui="simple"] body #promptLabel { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
html[data-ui="simple"] body #trellisPrompt { min-height:112px; }
html[data-ui="simple"] body .creation-extras { border-top:0; margin:2px 0 8px; }
html[data-ui="simple"] body .creation-extras > summary { color:var(--mc-muted); font-weight:600; font-size:13px; }
html[data-ui="simple"] body .creation-extras[open] { display:grid; gap:12px; }
html[data-ui="simple"] body .creation-extras .creation-size-guide { margin:4px 0 0; }
@media(max-width:480px){ html[data-ui="simple"] body .btn-generate { flex-direction:column; justify-content:center; gap:6px; } }
html[data-ui="simple"] body .simple-start-links { display:flex; flex-wrap:wrap; justify-content:center; gap:4px 18px; margin:14px 0 0; }
html[data-ui="simple"] body #creation-card.is-generating .simple-start-links { display:none; }
html[data-ui="simple"] body .simple-start-links button { min-height:40px; padding:0 4px; border:0; background:none; color:var(--mc-gold); font-weight:600; font-size:14px; cursor:pointer; }
html[data-ui="simple"] body .simple-start-links button:hover { color:#fff; text-decoration:underline; text-underline-offset:4px; }
/* Studio: name and save, tools, AI, next. Everything else is one tap away. */
html[data-ui="simple"] #nativeStudioPanel :is(section[data-page] > h3,.workshop-kicker,.workshop-export-stamp,.native-platform,section[data-page="2"] > p,section[data-page="1"] > p.native-studio-note,.native-save-actions a) { display:none!important; }
html[data-ui="simple"] #nativeStudioPanel .native-title-field { font-size:0; }
html[data-ui="simple"] #nativeStudioPanel .native-save-actions { padding-bottom:14px; }
html[data-ui="simple"] #nativeStudioPanel .native-save-actions [data-private-save] { flex:1; }
html[data-ui="simple"] .native-editor:not([data-more]) :is(.native-learn,.native-parts,[data-animation-behavior],.simple-more-extras,
 [data-bedrock-editor] > label,[data-bedrock-editor] > button,[data-bedrock-editor] > .bedrock-search-results,[data-bedrock-editor] > [data-behavior-setup],[data-bedrock-editor] > [data-behavior-advanced],
 section[data-page="2"] > .native-export-choice:not(.native-export-primary),section[data-page="2"] > details) { display:none!important; }
html[data-ui="simple"] #nativeStudioPanel:not(:has(> .native-editor[data-more])) > .native-model-details { display:none; }
html[data-ui="simple"] #nativeStudioPanel .simple-more-toggle { display:flex; align-items:center; justify-content:center; gap:8px; width:100%; min-height:44px; margin:0; border:0; background:none; box-shadow:none; color:var(--mc-muted); font-weight:600; font-size:13px; }
html[data-ui="simple"] #nativeStudioPanel .simple-more-toggle::after { content:''; width:10px; height:8px; background:currentColor; clip-path:polygon(0 0,100% 0,50% 100%); }
html[data-ui="simple"] #nativeStudioPanel .simple-more-toggle[aria-expanded="true"]::after { transform:rotate(180deg); }
html[data-ui="simple"] #nativeStudioPanel .simple-more-toggle:hover { background:none; color:#fff; }
html[data-ui="simple"] #nativeStudioPanel .simple-more-extras { padding:4px 0 16px; }
html[data-ui="simple"] #nativeStudioPanel .simple-full-studio { display:block; justify-self:start; min-height:36px; padding:0; border:0; background:none; box-shadow:none; color:var(--mc-gold); font-weight:600; }

/* ── Phones and small laptops ───────────────────── */
@media(max-width:1100px){
 body .creation-header { grid-template-columns:1fr; }
 body .creation-header .creation-roadmap { grid-column:1; grid-row:auto; margin-top:16px; }
}
@media(max-width:800px){
 body .studio-homebar { gap:8px; }
 body .studio-homebar-nav { gap:2px; }
 body .studio-homebar-nav a:not(.btn) { padding:0 8px; font-size:12px; }
 body .studio-homebar-nav .btn { padding:0 8px; font-size:12px; min-height:32px; }
 body .studio-homebar-brand strong { font-size:17px; }
 body[data-native-studio] { --steps-h:56px; }
 body[data-native-studio] .native-steps { height:var(--steps-h); padding:4px 6px; }
 body[data-native-studio] .native-steps button { flex:1; flex-direction:column; gap:3px; min-height:0; padding:2px 0; font-size:12px; white-space:nowrap; }
 body[data-native-studio] .native-steps button + button { margin-left:0; }
 body[data-native-studio] .native-steps button + button::before { top:16px; left:calc(-50% + 17px); width:calc(100% - 34px); margin:0; }
 body[data-native-studio] .native-steps small { display:none; }
 .native-step-hex { width:28px; height:32px; }
 .native-step-hex::before { width:22px; height:26px; }
 body[data-native-studio] #sidebar { border-left:0; border-top:2px solid var(--mc-outline); border-radius:0; box-shadow:inset 0 2px 0 #2d312f; }
 #nativeStudioPanel { padding:16px 16px 0; }
 /* On a phone the tools come first; switching to another model is secondary. */
 #nativeStudioPanel .native-editor > .native-open-model { order:5; padding-top:12px; border-top:2px solid #1a1c1b; }
 body[data-native-studio] #nativeStudioPanel label.native-title-field [data-creation-name] { font-size:20px; padding-bottom:6px; }
 #nativeStudioPanel h3 { font-size:23px; }
 #nativeStudioPanel .native-tools button { min-height:66px; }
 body .creation-alternatives { border-left:0; box-shadow:none; border-top:2px solid var(--mc-outline); }
 body .creation-roadmap li { width:auto; flex:1; }
 body .btn-generate { font-size:18px; }
}
@media(max-width:480px){
 /* Install stays reachable on phones; the tester-only Bug tracker remains in the studio header and at /bugs. */
 body .nav-inner > a[href='/bugs'] { display:none; }
 body .nav .app-install { min-height:34px; padding:0 10px; font-size:12px; }
 body .nav-inner .btn { min-height:34px; padding:0 10px; font-size:12px; }
 body .nav .brand { font-size:17px; gap:6px; }
 body .hero-actions .btn { width:100%; justify-content:center; }
 body .creation-title { font-size:30px; }
 body .type-tab strong { font-size:15px; }
}
@media(prefers-reduced-motion:reduce){ #nativeStudioPanel summary::before { transition:none; } }
/* Export failures beside the button that failed (editor.js exportError). */
#nativeStudioPanel .native-export-error { margin:8px 0 0; padding:8px 10px; border-left:3px solid #e0654a; background:#2a1916; color:#f3c7bd; font-size:13px; line-height:1.4; }
#nativeStudioPanel .native-export-error[hidden] { display:none; }

/* Creator settings: values are visible and editable, not individual accordions. */
html[data-ui="simple"] #nativeStudioPanel section[data-page="1"] > h3 { display:block!important; }
#nativeStudioPanel .bedrock-settings-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; }
#nativeStudioPanel .bedrock-settings-heading h4 { margin:0; }
#nativeStudioPanel [data-behavior-add] { min-width:44px; min-height:44px; font:700 24px var(--mc-body); }
#nativeStudioPanel .bedrock-add-picker[hidden] { display:none!important; }
#nativeStudioPanel .bedrock-add-picker { display:grid; gap:8px; min-width:0; }
#nativeStudioPanel section.bedrock-component { padding:10px; min-width:0; }
#nativeStudioPanel .bedrock-component-title { margin:0 0 8px; font:600 14px var(--mc-body); }
#nativeStudioPanel .bedrock-component .bedrock-fields { padding:0; background:transparent; }
#nativeStudioPanel .bedrock-value-row { display:grid; grid-template-columns:minmax(0,1fr) minmax(70px,110px); align-items:center; gap:10px; margin:5px 0; }
#nativeStudioPanel .bedrock-value-row > span { overflow-wrap:anywhere; font-size:13px; }
#nativeStudioPanel .bedrock-value-row :is(input,select) { width:100%; min-width:0; margin:0; min-height:40px; }
#nativeStudioPanel .bedrock-value-row input[type="checkbox"] { width:22px; min-height:22px; justify-self:end; }
#nativeStudioPanel .bedrock-value-row:has(textarea) { grid-template-columns:minmax(0,1fr); }
#nativeStudioPanel .bedrock-component > details { margin-top:8px; }
#nativeStudioPanel .bedrock-editor label.bedrock-value-row { display:grid; grid-template-columns:minmax(0,1fr) minmax(70px,100px); }
#nativeStudioPanel .bedrock-editor label.bedrock-value-row > span { grid-column:1; grid-row:1; }
#nativeStudioPanel .bedrock-editor label.bedrock-value-row > :is(input,select) { grid-column:2; grid-row:1; }
#nativeStudioPanel .bedrock-editor label.bedrock-value-row:has(textarea) { grid-template-columns:minmax(0,1fr); }

/* Search dropdown is anchored to the square + control. */
#nativeStudioPanel .bedrock-settings-heading { position:relative; }
#nativeStudioPanel .bedrock-settings-heading > .bedrock-add-picker { position:absolute; top:calc(100% + 6px); right:0; width:100%; box-sizing:border-box; z-index:20; padding:12px; background:#19221c; border:2px solid #748570; box-shadow:0 8px 24px #0009; max-height:min(420px,55dvh); overflow:auto; }
#nativeStudioPanel .bedrock-add-picker .bedrock-search-results { max-height:none; }
#nativeStudioPanel .bedrock-add-picker input[type="search"] { width:100%; min-width:0; min-height:44px; }
#nativeStudioPanel .bedrock-add-picker .bedrock-search-result { gap:8px; }
#nativeStudioPanel .bedrock-add-picker .bedrock-search-result > span { min-width:0; overflow-wrap:anywhere; }

/* Sign-up age step (18 Nov 2026): three large boxes for day, month and year, and a two-step marker. */
body .auth-card .auth-steps { display:flex; gap:8px; margin:0 0 18px; padding:0; list-style:none; font:600 12px var(--mc-body); color:var(--mc-dim); }
body .auth-card .auth-steps li { padding:6px 10px; border:2px solid var(--mc-outline); background:var(--mc-slot); }
body .auth-card .auth-steps li[aria-current="step"] { color:#fff; background:var(--mc-grass); box-shadow:var(--mc-bevel-green); }
body .auth-card .auth-steps li.done { color:var(--mc-gold); }
body .auth-card .dob-fields { display:grid; grid-template-columns:1fr 1.7fr 1.2fr; gap:10px; margin:0 0 22px; padding:0; border:0; min-width:0; }
body .auth-card .dob-fields label { display:grid; gap:6px; color:var(--mc-muted); font:600 12px var(--mc-body); min-width:0; }
body .auth-card .dob-fields :is(input,select) { width:100%; min-width:0; box-sizing:border-box; height:56px; padding:0 12px; background:#0b0c0c; border:2px solid #5b615e; border-radius:0; color:var(--mc-text); font:600 20px var(--mc-body); text-align:center; }
body .auth-card .dob-fields select { text-align:left; font-size:17px; }
body .auth-card .dob-fields :is(input,select):focus { border-color:var(--mc-gold); outline:0; }
body .auth-card .sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
body .auth-card[hidden] { display:none; }
