@charset "UTF-8";

:root {
  color-scheme: light;
  --paper: #f1f0e5;
  --paper-white: #fbfaf3;
  --forest: #1a2515;
  --forest-soft: #263320;
  --lime: #c9ff00;
  --muted: #727965;
  --line: rgba(26, 37, 21, .17);
  --line-light: rgba(241, 240, 229, .18);
  --sans: "DM Sans", sans-serif;
  --display: "Libre Caslon Display", Georgia, serif;
  --ease: cubic-bezier(.22, .68, .12, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 106px; }
body.worlds-site { margin: 0; color: var(--forest); background: var(--paper); font-family: var(--sans); font-size: 15px; font-weight: 400; line-height: 1.6; -webkit-font-smoothing: antialiased; }
body:has(dialog[open]) { overflow: hidden; }
button, input, select, textarea { font: inherit; }
button, a, input, select, summary { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .45; }
button, input, select { border-radius: 0; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }
img, canvas, svg { display: block; max-width: 100%; }
img { height: auto; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-weight: 400; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible, canvas:focus-visible { outline: 3px solid #7a9b00; outline-offset: 5px; }
::selection { color: var(--forest); background: var(--lime); }
[hidden] { display: none !important; }
.section-shell { width: min(1400px, calc(100% - 112px)); margin-inline: auto; }
.skip-link { position: fixed; z-index: 100; top: 12px; left: 16px; padding: 10px 18px; background: var(--lime); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 10px; font-weight: 600; line-height: 1.4; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: ""; flex: 0 0 auto; width: 5px; height: 5px; background: currentColor; border-radius: 50%; }
.section-number { font-size: 10px; letter-spacing: .12em; color: var(--muted); }
.section-kicker { display: flex; justify-content: space-between; align-items: center; padding-bottom: 26px; border-top: 1px solid var(--line); padding-top: 19px; }
.section-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; margin: 16px 0 52px; }
.section-heading h2 { font: 400 clamp(48px, 5.1vw, 78px)/1.04 var(--display); letter-spacing: -.035em; }
.section-heading > p { width: 330px; max-width: 100%; padding-bottom: 5px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 25px; min-height: 49px; border: 1px solid var(--forest); padding: 13px 23px; background: transparent; font-size: 12px; font-weight: 500; line-height: 1.5; transition: background-color .2s, color .2s, border-color .2s; }
.button::after { content: "↗"; font-size: 19px; line-height: 1; }
.button:has(svg)::after { display: none; }
.button-primary { background: var(--forest); color: var(--paper-white); }
.button:hover { background: var(--forest); color: var(--paper-white); }
.button-primary:hover { background: #35412b; border-color: #35412b; }
.text-link { display: inline-flex; align-items: center; gap: 20px; padding-bottom: 5px; border-bottom: 1px solid currentColor; font-size: 12px; font-weight: 500; line-height: 1.5; }
.text-link::after { content: "↗"; font-size: 18px; line-height: 1; transition: transform .2s var(--ease); }
.text-link:has(svg)::after { display: none; }
.text-link:hover::after { transform: translate(2px, -2px); }
.text-button { background: transparent; border: 0; border-bottom: 1px solid currentColor; padding: 5px 0; font-size: 12px; line-height: 1.5; }

/* A quiet masthead gives the artwork room to do the talking. */
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 36px; width: min(1400px, calc(100% - 112px)); height: 102px; margin: auto; border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.brand { display: flex; align-items: center; gap: 10px; line-height: 1; flex-shrink: 0; }
.brand strong { font-size: 20px; font-weight: 700; letter-spacing: -.06em; }
.brand small { align-self: flex-end; margin: 0 0 2px 2px; font-size: 8px; font-weight: 500; letter-spacing: .1em; }
.eye-mark { display: flex; gap: 4px; padding: 8px 7px; border-radius: 11px; background: var(--lime); transform: rotate(-5deg); }
.eye-mark i { position: relative; display: block; width: 10px; height: 15px; border-radius: 50%; background: var(--forest); }
.eye-mark i::after { content: ""; position: absolute; width: 3px; height: 4px; top: 3px; right: 2px; border-radius: 50%; background: var(--paper-white); }
.main-nav { display: flex; gap: 33px; margin-left: auto; }
.main-nav a, .header-actions > a, .header-actions > button:not(.menu-toggle) { font-size: 11px; line-height: 1.5; font-weight: 500; }
.main-nav a { position: relative; padding-block: 8px; }
.main-nav a::after { content: ""; position: absolute; bottom: 3px; left: 0; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.main-nav a:hover::after { transform: scaleX(1); }
.header-actions { display: flex; gap: 20px; align-items: center; }
.header-actions > button:not(.menu-toggle) { padding: 10px 15px; border: 1px solid var(--line); background: transparent; }
.header-actions > a { display: inline-flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; width: 38px; height: 38px; padding: 10px 6px; background: none; border: 0; }
.menu-toggle span { display: block; height: 1px; margin: 5px 0; background: currentColor; transition: transform .2s; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3px) rotate(-45deg); }
.mobile-nav { position: absolute; top: 100%; left: 0; right: 0; padding: 20px 24px; background: var(--paper-white); box-shadow: 0 20px 24px #1a251512; border: 1px solid var(--line); }
.mobile-nav a { display: block; padding: 15px 0; border-bottom: 1px solid var(--line); }
.mobile-nav a:last-child { border-bottom: 0; }

/* The banner is a complete scene, never a bobbing image. */
.hero-intro { padding-top: 53px; }
.hero-top { display: grid; grid-template-columns: 1.45fr 1fr; align-items: end; gap: 6vw; margin-bottom: 49px; }
.hero-heading .eyebrow { margin-bottom: 26px; }
.hero-heading h1 { max-width: 850px; font: 400 clamp(88px, 9.1vw, 144px)/.88 var(--display); letter-spacing: -.045em; }
.hero-heading h1 span, .hero-heading h1 em { color: #5b6b42; font-weight: inherit; }
.hero-summary { max-width: 340px; padding-bottom: 5px; justify-self: end; }
.hero-summary > p { max-width: 310px; color: #68705d; font-size: 15px; line-height: 1.75; margin-bottom: 26px; }
.hero-summary .button { margin-right: 15px; }
.hero-summary .text-link { margin-top: 20px; }
.hero-panorama { overflow: hidden; border-radius: 18px 18px 1px 1px; background: #e3dfca; }
.hero-panorama > img { width: 100%; aspect-ratio: 3 / 1; object-fit: cover; object-position: center; }
.hero-caption { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 17px; padding-bottom: 22px; border-bottom: 1px solid var(--line); font-size: 10px; letter-spacing: .025em; color: var(--muted); }
.hero-caption > span:last-child { text-align: right; }

/* Three routes into the studio retain their own silhouette and pace. */
.world-choices { padding-top: 105px; padding-bottom: 110px; }
.world-grid { display: grid; grid-template-columns: 1fr .86fr 1.12fr; gap: 38px; align-items: start; }
.world-card { min-width: 0; border: 0; text-align: left; padding: 0; background: transparent; }
.world-card:nth-child(2) { margin-top: 63px; }
.world-card:nth-child(3) { margin-top: 24px; }
.world-card-art { position: relative; overflow: hidden; aspect-ratio: 1 / 1.03; background-color: #d7dac4; background-image: url("assets/tizmo-worlds-banner.png"); background-repeat: no-repeat; background-size: auto 100%; background-position: 10% center; }
.world-card[data-world-template="garden"] .world-card-art { background-size: auto 123%; background-position: 5% 48%; border-radius: 48% 48% 0 0; }
.world-card[data-world-template="form"] .world-card-art { aspect-ratio: .81; background-size: auto 118%; background-position: 34% 48%; border-radius: 2px; }
.world-card[data-world-template="moon"] .world-card-art { aspect-ratio: 1.16; background-size: auto 163%; background-position: 45% 70%; border-radius: 50% 50% 3px 3px; }
.world-card-art::after { content: "↗"; position: absolute; right: 14px; bottom: 14px; display: grid; place-items: center; width: 37px; height: 37px; border: 1px solid #1a251547; background: var(--paper-white); font-size: 22px; border-radius: 50%; transition: background-color .2s, transform .3s var(--ease); }
.world-card:hover .world-card-art::after { background: var(--lime); transform: rotate(45deg); }
.world-card-meta { position: relative; padding-top: 23px; }
.world-card-meta > span:first-child, .world-card-meta .world-number { font-size: 10px; color: var(--muted); letter-spacing: .08em; position: absolute; top: 26px; right: 0; }
.world-card h3 { padding-right: 30px; font: 400 clamp(28px, 2.5vw, 39px)/1.1 var(--display); letter-spacing: -.025em; margin-bottom: 10px; }
.world-card p { max-width: 280px; min-height: 48px; color: var(--muted); font-size: 12px; line-height: 1.7; margin-bottom: 22px; }
.world-card .text-link { font-size: 11px; border-bottom-color: var(--line); }

.process-section { padding-top: 56px; padding-bottom: 84px; border-top: 1px solid var(--line); }
.process-header { display: flex; gap: 40px; justify-content: space-between; align-items: baseline; margin-bottom: 46px; }
.process-header h2 { max-width: 620px; font: 400 clamp(43px, 4vw, 64px)/1.03 var(--display); letter-spacing: -.03em; }
.process-header > p { max-width: 270px; color: var(--muted); font-size: 13px; }
.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.process-grid article { padding-top: 20px; border-top: 1px solid var(--line); }
.process-grid article > span, .process-grid article > .number { display: block; font-size: 10px; line-height: 1; letter-spacing: .1em; margin-bottom: 23px; color: var(--muted); }
.process-grid h3 { font-size: 17px; font-weight: 500; margin-bottom: 10px; letter-spacing: -.015em; }
.process-grid p { max-width: 300px; color: var(--muted); font-size: 12px; line-height: 1.8; }

/* A real workbench, with all tools beside the piece being made. */
.workshop-section { position: relative; isolation: isolate; padding-top: 78px; padding-bottom: 65px; color: var(--paper); }
.workshop-section::before { content: ""; position: absolute; inset: 0 calc((100vw - 100%) / -2); z-index: -1; background: var(--forest); }
.workshop-section .section-kicker { border-color: var(--line-light); }
.workshop-section .section-number { color: #a2ad93; }
.workshop-heading { display: flex; justify-content: space-between; align-items: flex-end; gap: 44px; margin: 19px 0 46px; }
.workshop-heading h2 { font: 400 clamp(52px, 5.4vw, 82px)/.98 var(--display); letter-spacing: -.035em; }
.workshop-heading h2 span { color: var(--lime); }
.workshop-heading > p { max-width: 340px; color: #b5bea9; font-size: 13px; line-height: 1.8; padding-bottom: 4px; }
.workbench { display: grid; grid-template-columns: 288px minmax(0, 1fr); gap: 28px; align-items: start; padding-top: 26px; border-top: 1px solid var(--line-light); }
.controls-panel { padding: 25px 23px 24px; background: var(--paper); color: var(--forest); }
.controls-heading { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-bottom: 19px; border-bottom: 1px solid var(--line); margin-bottom: 23px; font-size: 10px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.controls-heading h3 { font-size: 10px; font-weight: 600; }
.controls-heading button { background: none; border: 0; padding: 3px 0; font-size: 10px; text-transform: none; letter-spacing: 0; color: var(--muted); }
.world-name { display: block; font-size: 10px; font-weight: 500; margin-bottom: 24px; }
.world-name input { display: block; width: 100%; margin-top: 9px; padding: 10px 0; border: 0; border-bottom: 1px solid var(--forest); color: var(--forest); background: transparent; font-size: 17px; line-height: 1.3; }
.world-picker { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 5px; margin-bottom: 28px; }
.world-picker button { min-height: 36px; padding: 7px 5px; border: 1px solid var(--line); background: transparent; font-size: 10px; transition: background-color .2s, color .2s; }
.world-picker button[aria-pressed="true"] { background: var(--forest); border-color: var(--forest); color: var(--paper-white); }
.control-block { display: block; margin: 0 0 22px; padding: 0; border: 0; min-width: 0; }
.control-block > label, .control-block > legend, .control-block > .control-label { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 9px; font-size: 10px; font-weight: 500; }
.control-block label output { color: var(--muted); font-variant-numeric: tabular-nums; font-weight: 400; }
.control-block select { width: 100%; padding: 10px 30px 10px 10px; background: #f9f8f1; color: var(--forest); border: 1px solid var(--line); font-size: 11px; }
.control-block input[type="range"] { width: 100%; height: 18px; display: block; margin: 0; background: transparent; accent-color: var(--forest); cursor: pointer; }
.control-block input[type="color"] { width: 100%; height: 35px; padding: 3px; border: 1px solid var(--line); background: #faf9f1; cursor: pointer; }
.world-tools { display: flex; flex-wrap: wrap; gap: 6px; }
.world-tool, .world-tools button { flex: 1 1 40%; min-height: 36px; border: 1px solid var(--line); padding: 8px 6px; background: transparent; color: var(--forest); font-size: 10px; transition: background-color .2s; }
.world-tool[aria-pressed="true"], .world-tools button[aria-pressed="true"] { background: var(--lime); border-color: #90a83d; }
.world-tools button:hover { border-color: var(--forest); }
.control-help { margin-top: 9px; font-size: 10px; line-height: 1.6; color: var(--muted); }
.studio-utility { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding-top: 20px; margin-top: 24px; border-top: 1px solid var(--line); }
.studio-utility button { min-height: 35px; border: 1px solid var(--line); padding: 7px 6px; background: transparent; font-size: 10px; }
.studio-utility button:hover { border-color: var(--forest); }
.world-output { min-width: 0; }
.world-source { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 14px; padding: 13px 15px; border: 1px solid var(--line-light); color: var(--paper); background: #ffffff06; font-size: 11px; line-height: 1.6; }
.world-source[hidden] { display: none; }
.world-source-credit { min-width: 0; }
.world-source-credit > span, .world-source-credit > a { display: block; overflow-wrap: anywhere; }
.world-source-credit > span { color: #c4cbb8; font-size: 10px; }
.world-source-credit > a { width: fit-content; border-bottom: 1px solid var(--line-light); }
.world-source-credit > a[hidden] { display: none; }
.world-source-actions { display: flex; gap: 14px; flex-wrap: wrap; flex: 0 0 auto; }
.world-source-actions button { padding: 5px 0; border: 0; border-bottom: 1px solid var(--line-light); background: transparent; color: var(--paper); font-size: 10px; }
.world-source-actions button:disabled { opacity: .45; cursor: wait; }
.world-source[data-state="unavailable"] { border-color: #a6a97b; }
.world-stage { position: relative; overflow: hidden; background: #e9e8db; color: var(--forest); min-width: 0; border: 1px solid #d2d4bf; }
.stage-meta { position: absolute; top: 19px; left: 22px; right: 22px; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 20px; color: #4d5c3d; pointer-events: none; font-size: 9px; font-weight: 500; letter-spacing: .1em; line-height: 1.4; text-transform: uppercase; }
.stage-meta > span:first-child { display: inline-flex; align-items: center; gap: 7px; }
.stage-meta > span:first-child::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: #6b8a36; }
#world-canvas { width: 100%; height: auto; display: block; aspect-ratio: 1.5; object-fit: contain; cursor: grab; touch-action: none; }
#world-canvas:active { cursor: grabbing; }
.stage-hint { position: absolute; left: 22px; bottom: 17px; z-index: 2; margin: 0; color: #68745b; font-size: 9px; letter-spacing: .025em; line-height: 1.5; pointer-events: none; }
.stage-mascot { position: absolute; width: 86px; height: 86px; right: 12px; bottom: 0; object-fit: contain; pointer-events: none; }
.stage-mascot img { width: 100%; height: 100%; object-fit: contain; }
.stage-error { position: absolute; inset: 0; display: flex; justify-content: center; align-items: center; padding: 36px; background: var(--paper); color: var(--forest); font-size: 14px; text-align: center; }
.world-actions { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; margin-top: 21px; }
.world-actions .button { background: var(--lime); color: var(--forest); border-color: var(--lime); min-height: 47px; }
.world-actions .button:hover { background: #e0ff6e; border-color: #e0ff6e; }
.world-actions > button:not(.button) { background: none; color: var(--paper); border: 0; padding: 8px 0; font-size: 11px; border-bottom: 1px solid var(--line-light); }
.world-actions > button:not(.button):hover { border-bottom-color: var(--paper); }
.work-status { min-height: 18px; margin-top: 14px; color: #a7b39a; font-size: 10px; line-height: 1.65; }
.work-status[data-state="error"] { color: #ffc7a4; }
.world-share-panel { margin-top: 16px; padding: 14px; border: 1px solid var(--line-light); }
.world-share-panel label { display: block; margin-bottom: 7px; font-size: 10px; color: var(--paper); }
.world-share-panel > div { display: flex; align-items: center; gap: 13px; min-width: 0; }
.world-share-panel input { display: block; width: 100%; min-width: 0; padding: 9px 10px; border: 1px solid var(--line-light); background: #ffffff08; color: var(--paper); font-size: 11px; }
.world-share-panel button { flex: 0 0 auto; color: var(--paper); font-size: 10px; }
.registry-proof { margin-top: 24px; border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); font-size: 11px; }
.registry-proof summary { padding: 18px 0; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.registry-proof summary::-webkit-details-marker { display: none; }
.registry-proof summary::after { content: "+"; font-size: 21px; font-weight: 300; line-height: 1; }
.registry-proof[open] summary::after { content: "−"; }
.registry-proof > div, .registry-proof .proof-body { padding: 0 0 22px; }
.registry-proof p { color: #b1bda5; font-size: 11px; line-height: 1.8; max-width: 600px; margin-bottom: 18px; }
.registry-proof .proof-row { display: flex; align-items: start; justify-content: space-between; gap: 24px; padding: 12px 0; border-top: 1px solid var(--line-light); }
.registry-proof code { font-family: ui-monospace, monospace; font-size: 10px; color: var(--paper); overflow-wrap: anywhere; text-align: right; max-width: 70%; }
.registry-proof .proof-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 16px; }
.registry-proof button { min-height: 36px; color: var(--paper); border: 1px solid var(--line-light); background: transparent; padding: 8px 12px; font-size: 10px; }
.registry-proof button:hover:not(:disabled) { border-color: var(--paper); }
.registry-proof dl { margin: 0 0 18px; }
.registry-proof dl > div { display: flex; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line-light); padding: 11px 0; }
.registry-proof dt { color: #a7b39a; }
.registry-proof dd { margin: 0; min-width: 0; overflow-wrap: anywhere; text-align: right; max-width: 70%; }

/* Saved work reads like a shelf, not a dashboard. */
.shelf-section { padding-block: 105px 95px; }
.shelf-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; align-items: start; }
.shelf-item, .world-saved-card { min-width: 0; border-bottom: 1px solid var(--line); padding-bottom: 20px; }
.shelf-item > img, .world-saved-image { width: 100%; aspect-ratio: 1.5; object-fit: cover; background: #e3e6d4; }
.shelf-info, .world-saved-meta { padding-top: 19px; }
.shelf-info h3, .world-saved-meta h3 { font: 400 28px/1.1 var(--display); letter-spacing: -.025em; overflow-wrap: anywhere; }
.shelf-info p, .world-saved-meta p { margin-top: 9px; font-size: 10px; color: var(--muted); line-height: 1.7; }
.shelf-actions, .world-saved-actions { display: flex; gap: 20px; flex-wrap: wrap; margin-top: 18px; }
.shelf-actions button, .world-saved-actions button { border: 0; border-bottom: 1px solid var(--line); padding: 4px 0; background: transparent; font-size: 10px; }
.shelf-actions button:hover, .world-saved-actions button:hover { border-color: var(--forest); }
.empty-state { padding: 28px 0 36px; color: var(--muted); border-bottom: 1px solid var(--line); font-size: 13px; }

.closing-section { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; position: relative; align-items: center; border-top: 1px solid var(--line); padding-top: 26px; padding-bottom: 35px; min-height: 450px; }
.closing-copy { max-width: 540px; padding-block: 50px; }
.closing-copy .eyebrow { margin-bottom: 26px; }
.closing-copy h2 { font: 400 clamp(64px, 6.4vw, 100px)/.98 var(--display); letter-spacing: -.04em; }
.closing-copy p { margin: 24px 0 26px; max-width: 330px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.closing-character { display: flex; justify-content: center; align-items: center; align-self: stretch; overflow: hidden; }
.closing-character img { width: min(90%, 430px); height: auto; object-fit: contain; mix-blend-mode: multiply; }
.site-footer { width: min(1400px, calc(100% - 112px)); margin: auto; padding: 36px 0 22px; border-top: 1px solid var(--line); }
.footer-brand { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-brand > p { color: var(--muted); font-size: 11px; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 26px; margin-top: -25px; font-size: 11px; }
.footer-links button { border: 0; padding: 0; background: none; font-size: inherit; }
.footer-links a, .footer-links button { padding-block: 5px; }
.footer-links a:hover, .footer-links button:hover { text-decoration: underline; text-underline-offset: 5px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: baseline; gap: 30px; margin-top: 40px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 9px; line-height: 1.8; color: var(--muted); }
.footer-bottom > p { max-width: 440px; text-align: right; }
#motion-toggle { font-size: 10px; border: 0; padding: 4px 0; background: transparent; }

.registry-dialog { max-width: min(600px, calc(100% - 32px)); width: 100%; border: 0; background: var(--paper-white); color: var(--forest); padding: 35px; box-shadow: 0 30px 120px #0005; }
.registry-dialog::backdrop { background: #111b0caa; backdrop-filter: blur(8px); }
.dialog-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 25px; margin-bottom: 25px; }
.dialog-header h2 { font: 400 45px/1.02 var(--display); letter-spacing: -.03em; }
.dialog-header > button, #registry-close { display: grid; place-items: center; flex-shrink: 0; border: 1px solid var(--line); background: transparent; width: 32px; height: 32px; padding: 4px; font-size: 23px; line-height: 1; }
.registry-dialog > p, .registry-details p { color: var(--muted); font-size: 12px; line-height: 1.8; margin-bottom: 21px; }
.registry-details dl, .registry-dialog > dl { margin: 26px 0; }
.registry-details dl > div, .registry-dialog > dl > div { display: flex; justify-content: space-between; gap: 28px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 11px; }
.registry-details dt { color: var(--muted); }
.registry-details dd, .registry-dialog dd { margin: 0; max-width: 66%; text-align: right; overflow-wrap: anywhere; }
.registry-details a { text-decoration: underline; text-underline-offset: 3px; }
.registry-dialog .button { margin-top: 5px; }
.registry-dialog .dialog-note { font-size: 10px; }
.toast { position: fixed; z-index: 80; bottom: 24px; left: 50%; transform: translate(-50%, 20px); max-width: calc(100% - 32px); padding: 13px 20px; background: var(--forest); color: var(--paper); font-size: 12px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .3s var(--ease); }
.toast.is-visible, .toast.show { opacity: 1; transform: translate(-50%, 0); }
.noscript-note { padding: 16px 24px; color: var(--paper); background: var(--forest); text-align: center; font-size: 13px; }
.reveal { opacity: 1; transform: none; }
.motion-ready .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.motion-ready .reveal.is-visible { opacity: 1; transform: none; }

@media (min-width: 1600px) {
  .hero-intro { padding-top: 65px; }
  .hero-top { margin-bottom: 59px; }
}
@media (max-width: 1160px) {
  .section-shell, .site-header, .site-footer { width: calc(100% - 72px); }
  .site-header { gap: 24px; }
  .main-nav { gap: 22px; }
  .header-actions { gap: 16px; }
  .hero-heading h1 { font-size: clamp(80px, 10.5vw, 120px); }
  .hero-top { grid-template-columns: 1.25fr 1fr; gap: 4vw; }
  .hero-summary { max-width: 280px; }
  .hero-summary > p { font-size: 13px; }
  .hero-summary .button { padding-inline: 18px; }
  .world-grid { gap: 27px; }
  .world-card h3 { font-size: 30px; }
  .workbench { grid-template-columns: 253px minmax(0, 1fr); gap: 22px; }
  .controls-panel { padding-inline: 18px; }
  .workshop-heading > p { max-width: 280px; }
  .world-actions { gap: 16px; }
  .world-actions .button { padding-inline: 17px; }
  .footer-links { gap: 20px; }
}
@media (max-width: 840px) {
  html { scroll-padding-top: 26px; }
  .section-shell, .site-header, .site-footer { width: calc(100% - 48px); }
  .site-header { height: 83px; gap: 18px; }
  .main-nav { display: none; }
  .header-actions { margin-left: auto; }
  .header-actions > button:not(.menu-toggle) { font-size: 10px; padding: 8px 12px; }
  .header-actions > a { font-size: 10px; }
  .menu-toggle { display: block; }
  .hero-intro { padding-top: 42px; }
  .hero-top { grid-template-columns: 1.2fr 1fr; gap: 34px; margin-bottom: 36px; }
  .hero-heading .eyebrow { margin-bottom: 22px; }
  .hero-heading h1 { font-size: clamp(72px, 10vw, 96px); }
  .hero-summary > p { margin-bottom: 20px; font-size: 12px; }
  .hero-summary .button { min-height: 43px; padding: 11px 15px; font-size: 10px; gap: 15px; }
  .hero-summary .text-link { font-size: 10px; margin-top: 14px; }
  .hero-panorama { border-radius: 10px 10px 0 0; }
  .hero-panorama > img { aspect-ratio: 2.4; object-position: 62% center; }
  .hero-caption { font-size: 9px; margin-top: 13px; }
  .world-choices { padding-top: 76px; padding-bottom: 80px; }
  .section-kicker { padding-top: 15px; padding-bottom: 20px; }
  .section-heading { gap: 28px; margin: 14px 0 36px; }
  .section-heading h2 { font-size: 51px; }
  .section-heading > p { width: 250px; font-size: 12px; }
  .world-grid { gap: 20px; }
  .world-card:nth-child(2) { margin-top: 43px; }
  .world-card:nth-child(3) { margin-top: 18px; }
  .world-card h3 { font-size: 26px; padding-right: 20px; }
  .world-card-meta { padding-top: 18px; }
  .world-card-meta > span:first-child, .world-card-meta .world-number { top: 20px; font-size: 8px; }
  .world-card p { font-size: 10px; min-height: 50px; }
  .world-card-art::after { width: 30px; height: 30px; font-size: 18px; bottom: 10px; right: 10px; }
  .world-card .text-link { font-size: 9px; }
  .process-section { padding-top: 37px; padding-bottom: 65px; }
  .process-header { margin-bottom: 32px; }
  .process-header h2 { font-size: 46px; }
  .process-grid { gap: 28px; }
  .process-grid h3 { font-size: 14px; }
  .process-grid p { font-size: 11px; }
  .workshop-section { padding-top: 56px; padding-bottom: 48px; }
  .workshop-heading { gap: 32px; margin: 10px 0 34px; }
  .workshop-heading h2 { font-size: 60px; }
  .workshop-heading > p { max-width: 270px; font-size: 12px; }
  .workbench { grid-template-columns: 1fr; gap: 24px; padding-top: 22px; }
  .controls-panel { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 24px; row-gap: 0; padding: 22px; align-items: start; }
  .controls-heading { grid-column: 1 / -1; margin-bottom: 22px; }
  .world-name { grid-column: span 2; margin-bottom: 22px; }
  .world-picker { grid-column: 3; margin-top: 16px; margin-bottom: 22px; }
  .control-block { margin-bottom: 20px; }
  .world-tools { grid-column: auto; }
  .studio-utility { grid-column: 1 / -1; display: flex; justify-content: flex-end; gap: 14px; padding-top: 15px; margin-top: 0; }
  .studio-utility button { min-width: 100px; }
  .world-actions { gap: 22px; }
  .world-actions .button { font-size: 12px; padding-inline: 23px; }
  .world-stage { border-width: 0; }
  .shelf-section { padding-block: 76px 67px; }
  .shelf-grid { gap: 23px; }
  .world-saved-meta h3, .shelf-info h3 { font-size: 25px; }
  .world-saved-actions, .shelf-actions { gap: 13px; }
  .closing-section { gap: 28px; min-height: 340px; }
  .closing-copy h2 { font-size: 70px; }
  .closing-copy { padding-block: 30px; }
  .closing-copy p { font-size: 12px; }
  .closing-character img { width: 100%; }
  .footer-links { margin-top: 25px; justify-content: flex-start; }
  .footer-bottom { margin-top: 25px; }
}
@media (max-width: 620px) {
  .hero-top { grid-template-columns: 1fr; gap: 28px; }
  .hero-heading h1 { font-size: clamp(83px, 16vw, 110px); }
  .hero-heading .eyebrow { margin-bottom: 25px; }
  .hero-summary { justify-self: start; max-width: 100%; display: flex; align-items: center; flex-wrap: wrap; gap: 16px 20px; }
  .hero-summary > p { flex: 0 0 100%; max-width: 350px; font-size: 13px; margin: 0 0 3px; }
  .hero-summary .button { min-height: 45px; font-size: 11px; margin: 0; }
  .hero-summary .text-link { margin: 0; font-size: 10px; }
  .hero-panorama > img { aspect-ratio: 1.75; object-position: 65% center; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 22px; width: 330px; }
  .world-grid { grid-template-columns: 1fr 1fr; gap: 34px 22px; }
  .world-card:nth-child(2) { margin-top: 56px; }
  .world-card:nth-child(3) { grid-column: 1 / -1; width: 75%; margin-top: 0; margin-inline: auto; }
  .world-card[data-world-template="moon"] .world-card-art { aspect-ratio: 1.6; background-size: auto 225%; }
  .world-card p { min-height: 0; }
  .world-card h3 { font-size: 31px; }
  .world-card p { font-size: 11px; }
  .world-card .text-link { font-size: 10px; }
  .world-card:nth-child(3) .world-card-meta { display: grid; grid-template-columns: 1fr auto; gap: 0 20px; }
  .world-card:nth-child(3) .world-card-meta > span:first-child { position: static; grid-column: 2; grid-row: 1; align-self: center; }
  .world-card:nth-child(3) .world-card-meta h3 { grid-column: 1; grid-row: 1; }
  .world-card:nth-child(3) .world-card-meta p { grid-column: 1 / -1; }
  .world-card:nth-child(3) .world-card-meta .text-link { justify-self: start; }
  .process-header { display: block; }
  .process-header > p { margin-top: 20px; }
  .process-grid { grid-template-columns: 1fr; gap: 24px; }
  .process-grid article { display: grid; grid-template-columns: 32px 1fr; column-gap: 14px; padding-top: 18px; }
  .process-grid article > span, .process-grid article > .number { grid-row: 1 / 3; margin: 5px 0 0; }
  .process-grid h3 { font-size: 16px; }
  .process-grid p { grid-column: 2; max-width: 350px; }
  .workshop-heading { display: block; }
  .workshop-heading h2 { font-size: 63px; }
  .workshop-heading > p { margin-top: 23px; max-width: 350px; }
  .controls-panel { grid-template-columns: 1fr 1fr; gap: 0 20px; padding: 20px; }
  .world-name { grid-column: 1 / -1; }
  .world-picker { grid-column: 1 / -1; margin-top: 0; }
  .world-picker button { min-height: 40px; font-size: 11px; }
  .control-block > label, .control-block > legend { font-size: 11px; }
  .world-tools button, .world-tool { min-height: 38px; font-size: 10px; }
  .world-tools { gap: 5px; }
  .control-block select { min-height: 39px; }
  .studio-utility { margin-top: 4px; }
  #world-canvas { aspect-ratio: 1.15; min-height: 300px; object-fit: cover; }
  .stage-meta { top: 14px; left: 15px; right: 15px; font-size: 8px; }
  .stage-hint { left: 15px; bottom: 12px; font-size: 8px; }
  .stage-mascot { width: 66px; height: 66px; right: 4px; }
  .world-actions { gap: 16px 20px; }
  .world-actions .button { min-height: 45px; font-size: 11px; padding-inline: 20px; }
  .world-actions > button:not(.button) { font-size: 10px; }
  .world-actions > .text-button:last-child { flex-basis: auto; }
  .registry-proof { margin-top: 20px; }
  .registry-proof .proof-row { display: block; }
  .registry-proof .proof-row code { display: block; text-align: left; max-width: 100%; margin-top: 8px; }
  .shelf-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px 20px; }
  .world-saved-meta h3, .shelf-info h3 { font-size: 27px; }
  .world-saved-actions, .shelf-actions { gap: 15px; }
  .closing-section { grid-template-columns: 1fr; gap: 0; padding-top: 35px; padding-bottom: 20px; }
  .closing-copy { padding-block: 10px; max-width: 100%; }
  .closing-copy h2 { font-size: 76px; }
  .closing-character { justify-content: flex-end; height: 250px; margin-top: -15px; }
  .closing-character img { width: 270px; }
  .footer-brand > p { max-width: 150px; text-align: right; font-size: 10px; }
  .footer-bottom { flex-wrap: wrap; gap: 15px; }
  .footer-bottom > p { max-width: 100%; text-align: left; }
}
@media (max-width: 420px) {
  .section-shell, .site-header, .site-footer { width: calc(100% - 36px); }
  .site-header { height: 76px; }
  .brand { gap: 8px; }
  .brand strong { font-size: 18px; }
  .brand small { font-size: 7px; }
  .eye-mark { padding: 7px 6px; }
  .eye-mark i { width: 9px; height: 13px; }
  .header-actions { gap: 10px; }
  .header-actions > button:not(.menu-toggle) { padding: 7px 9px; font-size: 9px; }
  .header-actions > a { display: none; }
  .menu-toggle { width: 30px; }
  .hero-intro { padding-top: 35px; }
  .hero-heading h1 { font-size: 84px; }
  .hero-top { margin-bottom: 29px; }
  .hero-panorama > img { aspect-ratio: 1.55; object-position: 66% center; }
  .hero-caption { gap: 15px; align-items: flex-start; font-size: 8px; }
  .hero-caption > span { max-width: 56%; }
  .world-choices { padding-top: 60px; padding-bottom: 64px; }
  .section-heading h2 { font-size: 48px; }
  .world-grid { column-gap: 17px; }
  .world-card h3 { font-size: 27px; }
  .world-card p { font-size: 10px; }
  .world-card .text-link { font-size: 9px; gap: 10px; }
  .world-card:nth-child(3) { width: 86%; }
  .process-header h2 { font-size: 44px; }
  .workshop-section { padding-top: 46px; }
  .workshop-heading h2 { font-size: 59px; }
  .controls-panel { padding: 18px; column-gap: 16px; }
  .world-actions { gap: 14px 16px; }
  .world-actions .button { width: 100%; }
  #world-canvas { min-height: 290px; }
  .shelf-section { padding-block: 62px 56px; }
  .shelf-grid { grid-template-columns: 1fr; gap: 30px; }
  .world-saved-meta h3, .shelf-info h3 { font-size: 31px; }
  .closing-copy h2 { font-size: 70px; }
  .closing-character { height: 230px; }
  .site-footer { padding-top: 27px; }
  .footer-links { gap: 19px; font-size: 10px; }
  .registry-dialog { padding: 26px 22px; }
  .dialog-header h2 { font-size: 39px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .motion-ready .reveal { opacity: 1; transform: none; }
}
body.reduce-motion { scroll-behavior: auto; }
body.reduce-motion *, body.reduce-motion *::before, body.reduce-motion *::after { animation: none !important; transition-duration: .01ms !important; }
body.reduce-motion .reveal { opacity: 1; transform: none; }

/* Match the finished workshop markup and its native canvas formats. */
.button:has(> span[aria-hidden])::after,
.text-link:has(> span[aria-hidden])::after { display: none; }
.button > span[aria-hidden], .text-link > span[aria-hidden] { font-size: 18px; line-height: 1; }
.hero-heading h1 em, .section-heading h2 em, .process-header h2 em, .workshop-heading h2 em, .closing-copy h2 em { font-style: normal; }
.section-heading h2 em, .process-header h2 em, .closing-copy h2 em { color: #697956; }
.hero-panorama { margin: 0; width: 100%; }
.world-card-art, .world-card-meta { display: block; }
.world-card-meta > small { display: block; margin-bottom: 13px; color: var(--muted); font-size: 9px; line-height: 1.5; letter-spacing: .1em; }
.world-card h3 { padding-right: 0; }
.world-card-meta > .text-link { display: inline-flex; }
.process-header > .eyebrow { padding-bottom: 8px; }
.process-header h2 { flex: 0 1 66%; }
.workshop-section { background: var(--forest); }
.workshop-section::before { display: none; }
.workshop-heading h2 em { color: var(--lime); }
.world-picker { margin: 0; }
.range-captions { display: flex; justify-content: space-between; margin-top: 4px; color: var(--muted); font-size: 9px; line-height: 1.4; }
.button-workshop { display: flex; width: 100%; min-height: 42px; margin: 2px 0 0; padding: 10px 13px; font-size: 11px; background: var(--forest); color: var(--paper); }
.button-workshop:hover { background: #35412b; }
.canvas-wrap { width: 100%; min-width: 0; }
.world-stage #world-canvas { width: 100%; height: auto; min-height: 0; aspect-ratio: auto; object-fit: contain; }
.stage-meta i { display: none; }
.stage-hint { right: 22px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.stage-hint .text-button { pointer-events: auto; border-color: #65784d4d; color: #53683e; font-size: 9px; padding: 3px 0; }
.stage-hint .text-button[aria-pressed="true"] { color: var(--forest); border-color: var(--forest); }
.registry-proof summary > span { display: none; }
.proof-row > span { color: #a7b39a; font-size: 9px; line-height: 1.5; letter-spacing: .07em; }
.import-recipe { position: relative; color: var(--paper); font-size: 10px; line-height: 1.5; cursor: pointer; border-bottom-color: var(--line-light); }
.import-recipe input { position: absolute; width: 1px; height: 1px; left: 0; bottom: 0; opacity: 0; overflow: hidden; }
.import-recipe:focus-within { outline: 2px solid var(--lime); outline-offset: 4px; }
.empty-state { display: grid; grid-template-columns: 77px minmax(0, 1fr); gap: 5px 22px; align-items: center; padding: 32px 0 38px; }
.shelf-empty-mark { position: relative; grid-column: 1; grid-row: 1 / 4; width: 70px; height: 70px; border: 1px solid #a5ad94; border-radius: 50%; }
.shelf-empty-mark::before { content: ""; position: absolute; width: 23px; height: 27px; border: 1px solid #64754d; background: #c9ff0033; left: 22px; top: 20px; transform: rotate(-16deg) skewY(8deg); }
.shelf-empty-mark::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 14px; height: 1px; background: #a5ad9470; }
.empty-state > p { grid-column: 2; font: 400 30px/1.15 var(--display); color: var(--forest); letter-spacing: -.025em; }
.empty-state > span:not(.shelf-empty-mark) { grid-column: 2; font-size: 11px; line-height: 1.7; }
.empty-state > .text-link { grid-column: 2; justify-self: start; margin-top: 9px; font-size: 10px; }
.footer-brand { justify-content: flex-start; gap: 10px; }
.footer-brand > .eye-mark { flex-shrink: 0; }
.footer-brand > strong { font-size: 20px; line-height: 1; letter-spacing: -.06em; font-weight: 700; }
.footer-brand > span:last-child { margin-left: 20px; color: var(--muted); font-size: 9px; letter-spacing: .06em; line-height: 1.6; }
.registry-dialog > h2 { font: 400 51px/.98 var(--display); letter-spacing: -.035em; margin-bottom: 26px; }
.registry-dialog > h2 em { font-style: normal; color: #697956; }
.noscript-message { padding: 16px 24px; color: var(--paper); background: var(--forest); text-align: center; font-size: 13px; }

@media (max-width: 840px) {
  .controls-panel > .world-name { grid-column: 1 / -1; }
  .controls-panel > .control-block:has(.world-picker) { grid-column: 1 / -1; }
  .controls-panel .world-picker { margin: 0; }
  .button-workshop { align-self: end; margin: 0 0 20px; min-height: 39px; }
  .footer-brand > span:last-child { margin-left: 16px; }
}
@media (max-width: 620px) {
  .world-card:nth-child(3) .world-card-meta { display: block; }
  .controls-panel > .button-workshop { grid-column: 1 / -1; margin: 0 0 18px; }
  .process-header { display: block; }
  .process-header > .eyebrow { padding-bottom: 0; margin-bottom: 25px; }
  .stage-hint { right: 15px; }
  .stage-hint .text-button { font-size: 8px; }
  .footer-brand > span:last-child { margin-left: auto; max-width: 150px; text-align: right; font-size: 8px; }
}
@media (max-width: 420px) {
  .world-card-meta > small { font-size: 8px; margin-bottom: 10px; }
  .empty-state { grid-template-columns: 49px minmax(0, 1fr); gap: 6px 17px; padding-block: 25px 31px; }
  .shelf-empty-mark { width: 48px; height: 48px; }
  .shelf-empty-mark::before { width: 17px; height: 20px; left: 14px; top: 12px; }
  .shelf-empty-mark::after { left: 10px; right: 10px; bottom: 9px; }
  .empty-state > p { font-size: 27px; }
  .empty-state > span:not(.shelf-empty-mark) { font-size: 10px; }
  .footer-brand > span:last-child { max-width: 125px; }
  .registry-dialog > h2 { font-size: 45px; }
}

/* Keep the object in view while its tools are being used. */
.stage-meta > span { padding: 5px 7px; color: #3c4d2e; background: #fbfaf1dc; border: 1px solid #1a25150b; backdrop-filter: blur(8px); }
.stage-hint > span { padding: 4px 7px; color: #50623e; background: #fbfaf1d9; border: 1px solid #1a25150b; backdrop-filter: blur(8px); }
.stage-hint .text-button { padding: 4px 7px; color: #3c4d2e; background: #fbfaf1dc; border: 1px solid #1a251524; backdrop-filter: blur(8px); }
.stage-hint .text-button[aria-pressed="true"] { color: var(--forest); background: #d5f77ee6; border-color: #77904477; }
.shelf-item > img, .world-saved-image { width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; }

@media (min-width: 640px) and (max-width: 840px) {
  .workbench { grid-template-columns: 220px minmax(0, 1fr); gap: 18px; }
  .controls-panel { display: block; padding: 21px 16px; }
  .controls-heading { margin-bottom: 20px; padding-bottom: 16px; gap: 8px; font-size: 9px; }
  .controls-heading button { max-width: 85px; font-size: 9px; line-height: 1.4; text-align: right; }
  .world-name { margin-bottom: 23px; }
  .world-name input { font-size: 16px; }
  .control-block { margin-bottom: 21px; }
  .world-picker { gap: 4px; }
  .world-picker button { font-size: 9px; min-height: 35px; }
  .world-tools { gap: 5px; }
  .world-tools button { font-size: 9px; min-height: 35px; }
  .button-workshop { margin: 1px 0 0; font-size: 10px; padding-inline: 10px; }
  .studio-utility { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin-top: 20px; padding-top: 16px; }
  .studio-utility button { min-width: 0; font-size: 9px; padding-inline: 4px; }
  .world-output { position: sticky; top: 24px; align-self: start; }
  .stage-meta { left: 12px; right: 12px; top: 12px; gap: 10px; font-size: 7px; letter-spacing: .06em; }
  .stage-meta > span { padding: 4px 6px; }
  .stage-hint { left: 12px; right: 12px; bottom: 12px; gap: 10px; font-size: 7px; }
  .stage-hint .text-button { font-size: 7px; }
  .world-actions { gap: 12px 17px; margin-top: 17px; }
  .world-actions .button { width: 100%; min-height: 43px; font-size: 11px; }
  .world-actions > button:not(.button) { font-size: 9px; }
  .work-status { margin-top: 11px; font-size: 9px; }
  .registry-proof { margin-top: 17px; font-size: 10px; }
  .registry-proof summary { padding-block: 14px; }
  .registry-proof .proof-row { display: block; }
  .registry-proof .proof-row code { display: block; max-width: 100%; text-align: left; margin-top: 8px; }
  .registry-proof .proof-actions { gap: 12px; }
}
@media (max-width: 620px) {
  .controls-panel { row-gap: 0; padding-block: 18px; }
  .controls-heading { padding-bottom: 15px; margin-bottom: 18px; }
  .controls-panel > .world-name { margin-bottom: 18px; }
  .controls-panel > .control-block:has(.world-picker) { margin-bottom: 18px; }
  .controls-panel > .control-block { margin-bottom: 17px; }
  .controls-panel .world-picker button { min-height: 36px; }
  .controls-panel .world-tools button { min-height: 34px; }
  .controls-panel > .button-workshop { margin-bottom: 14px; min-height: 38px; }
  .studio-utility { margin-top: 0; padding-top: 13px; }
  .studio-utility button { min-height: 32px; }
  .stage-meta { gap: 8px; }
  .stage-meta > span { padding: 4px 6px; }
  .stage-hint { gap: 8px; }
}

/* On a phone the world comes first; its tools stay directly underneath. */
@media (max-width: 620px) {
  .workshop-section { padding-top: 35px; padding-bottom: 36px; }
  .workshop-section .section-kicker { padding-top: 14px; padding-bottom: 14px; }
  .workshop-heading { margin: 8px 0 23px; }
  .workshop-heading h2 { font-size: 49px; line-height: .99; }
  .workshop-heading > p { margin-top: 17px; font-size: 11px; line-height: 1.7; }
  .workbench { grid-template-columns: minmax(0, 1fr); gap: 18px; padding-top: 18px; }
  .world-output { display: contents; position: static; top: auto; }
  .world-stage { grid-column: 1; grid-row: 1; }
  .controls-panel { grid-column: 1; grid-row: 2; }
  .world-actions { grid-column: 1; grid-row: 3; margin: 0; padding-top: 1px; }
  .work-status { grid-column: 1; grid-row: 4; margin: -5px 0 0; min-height: 0; }
  .world-share-panel { grid-column: 1; grid-row: 5; margin: 0; }
  .registry-proof { grid-column: 1; grid-row: 6; margin: 0; }
  .world-share-panel[hidden] + .registry-proof { grid-row: 5; }
  .registry-proof summary { padding-block: 16px; }
  .world-source { grid-column: 1; grid-row: 1; margin: 0; padding: 12px; flex-wrap: wrap; gap: 7px 16px; }
  .world-source-actions { gap: 17px; }
  .workbench:has(.world-source:not([hidden])) .world-stage { grid-row: 2; }
  .workbench:has(.world-source:not([hidden])) .controls-panel { grid-row: 3; }
  .workbench:has(.world-source:not([hidden])) .world-actions { grid-row: 4; }
  .workbench:has(.world-source:not([hidden])) .work-status { grid-row: 5; }
  .workbench:has(.world-source:not([hidden])) .world-share-panel { grid-row: 6; }
  .workbench:has(.world-source:not([hidden])) .registry-proof { grid-row: 7; }
  .workbench:has(.world-source:not([hidden])) .world-share-panel[hidden] + .registry-proof { grid-row: 6; }
}
