/* Studio reference board: 08-studio-board.png. All content comes from the user's selection. */
body.studio:not(.studio-empty):has(#studio:not([data-result=true])) { --gutter: 34px; }
body.studio:not(.studio-empty):has(#studio:not([data-result=true])) #studio { max-width: 1480px; margin: 0 auto; height: calc(100dvh - var(--hdr)); padding: 18px var(--gutter) 16px; }
body.studio:not(.studio-empty):has(#studio:not([data-result=true])) .studio-head, body.studio:not(.studio-empty):has(#studio:not([data-result=true])) .studio-mobile-tabs { display: none; }
body.studio:not(.studio-empty):has(#studio:not([data-result=true])) .st-app { flex: 1; min-height: 0; gap: 16px; }
body.studio:not(.studio-empty):has(#studio:not([data-result=true])) #studioPreview { border: 1px solid var(--line); border-radius: 16px; background: color-mix(in srgb, var(--bg2) 25%, var(--bg)); box-shadow: none; overflow: visible; }
body.studio:not(.studio-empty):has(#studio:not([data-result=true])) #studioPreview .canvas-head { display: flex; align-items: center; gap: 10px; min-height: 64px; padding: 16px 18px 0; }
body.studio:not(.studio-empty):has(#studio:not([data-result=true])) .canvas-title, body.studio:not(.studio-empty):has(#studio:not([data-result=true])) #wbCanvasTitle, body.studio:not(.studio-empty):has(#studio:not([data-result=true])) #wbCanvasRatio { display: none; }
body.studio:not(.studio-empty):has(#studio:not([data-result=true])) #wbCanvasSwitch { display: flex; gap: 0; padding: 0; border: 0; border-radius: 999px; background: var(--bg2); box-shadow: none; }
body.studio:not(.studio-empty):has(#studio:not([data-result=true])) #wbCanvasSwitch button { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 8px 16px; border: 0; border-radius: 10px; background: none; color: var(--tx); font-size: 14px; line-height: 24px; font-weight: 550; white-space: nowrap; }
body.studio:not(.studio-empty):has(#studio:not([data-result=true])) #wbCanvasSwitch button.on { background: var(--ac); color: #fff; box-shadow: none; }
body.studio:not(.studio-empty):has(#studio:not([data-result=true])) #wbCanvasSwitch button:disabled { opacity: .6; }
body.studio:not(.studio-empty):has(#studio:not([data-result=true])) .canvas-head svg, body.studio:not(.studio-empty):has(#studio:not([data-result=true])) #studioEditor svg { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
body.studio:not(.studio-empty):has(#studio:not([data-result=true])) #wbExportBoard, body.studio:not(.studio-empty):has(#studio:not([data-result=true])) .studio-recent > summary { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 10px; color: var(--tx); background: var(--bg2); box-shadow: none; font-size: 14px; line-height: 24px; white-space: nowrap; }
body.studio:not(.studio-empty):has(#studio:not([data-result=true])) #wbExportBoard { margin-left: auto; }
body.studio:not(.studio-empty):has(#studio:not([data-result=true])) #studioRecent { position: relative; display: block; }
body.studio:not(.studio-empty):has(#studio:not([data-result=true])) .canvas-head span { color: inherit; font-size: inherit; }
body.studio:not(.studio-empty):has(#studio:not([data-result=true])) .studio-recent > summary { cursor: pointer; list-style: none; }
body.studio:not(.studio-empty):has(#studio:not([data-result=true])) .studio-recent > summary::-webkit-details-marker { display: none; }
body.studio:not(.studio-empty):has(#studio:not([data-result=true])) .studio-recent .hist { width: 340px; max-width: calc(100vw - 48px); }
.studio-recent-empty { color: var(--mu); font-size: 13px; padding: 14px 0; }
.hist:has(.hl:not(:empty)) .studio-recent-empty { display: none; }
body.studio:not(.studio-empty):has(#studio:not([data-result=true])) #studioPreview #wbStage { margin: 18px 24px 16px; overflow: visible; }
body.studio:not(.studio-empty):has(#studio:not([data-result=true])) #studioPreview #wbPh0 { justify-content: flex-start; padding: 0; gap: 0; overflow-y: auto; overflow-x: clip; }
body.studio:not(.studio-empty):has(#studio:not([data-result=true])) #wbPh0:has(#wbBoardCards:empty) { justify-content: center; gap: 18px; }
body.studio:not(.studio-empty):has(#studio:not([data-result=true])) #wbBoardCards { display: grid; grid-template-columns: repeat(4,minmax(0,224px)); grid-auto-rows: 264px; align-content: start; align-items: stretch; justify-content: center; gap: 18px; width: 100%; height: auto; max-width: 950px; padding: 0 0 8px; }
body.studio:not(.studio-empty):has(#studio:not([data-result=true])) #wbBoardCards[data-count="1"] { grid-template-columns: repeat(2,minmax(0,224px)); }
body.studio:not(.studio-empty):has(#studio:not([data-result=true])) #wbBoardCards[data-count="2"] { grid-template-columns: repeat(3,minmax(0,224px)); }
body.studio:not(.studio-empty):has(#studio:not([data-result=true])) #wbBoardCards:empty { display: none; }
body.studio:not(.studio-empty):has(#studio:not([data-result=true])) #wbBoardCards > .board-card { position: relative; display: grid; grid-template-rows: minmax(0,1fr) 58px; min-width: 0; width: 100%; max-width: none; height: 100%; padding: 0; margin: 0; border: 1px solid var(--line2); border-radius: 12px; background: var(--bg2); box-shadow: none; transform: none; text-align: left; }
body.studio:not(.studio-empty):has(#studio:not([data-result=true])) .board-image { display: block; min-width: 0; min-height: 0; width: 100%; padding: 0; border: 0; border-radius: 11px 11px 0 0; overflow: hidden; background: var(--ph); }
body.studio:not(.studio-empty):has(#studio:not([data-result=true])) #wbBoardCards > .board-card img { display: block; width: 100%; height: 100%; min-height: 0; max-height: none; aspect-ratio: auto; object-fit: contain; border: 0; border-radius: 0; background: var(--ph); transition: filter 150ms ease; }
body.studio:not(.studio-empty):has(#studio:not([data-result=true])) .board-image:hover img { filter: brightness(.97); }
body.studio:not(.studio-empty):has(#studio:not([data-result=true])) .board-card > footer { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 0 16px; }
body.studio:not(.studio-empty):has(#studio:not([data-result=true])) .board-card .material-icon { width: 21px; height: 21px; flex: none; fill: none; stroke: var(--tx); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
body.studio:not(.studio-empty):has(#studio:not([data-result=true])) .board-label { display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--tx); font-size: 13px; line-height: 20px; font-weight: 550; }
.board-caption { flex: 1; min-width: 0; }
.board-caption small { display: block; margin-top: 2px; color: var(--mu); font-size: 11px; line-height: 16px; }
.board-add-card { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; min-width: 0; padding: 16px; border: 1px dashed var(--line2); border-radius: 12px; background: var(--bg2); color: var(--tx2); text-align: center; }
.board-add-card > b { font-size: 14px; line-height: 22px; font-weight: 550; }
.board-add-icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; background: var(--acs); color: var(--ac); font-size: 27px; }
.board-add-types { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; width: 100%; }
.board-add-types button { min-width: 0; min-height: 36px; padding: 6px 8px; border: 1px solid var(--line); border-radius: 7px; color: var(--tx2); background: var(--bg2); font: 12px/20px var(--sans); white-space: normal; }
.board-add-types button:hover { border-color: var(--ac); color: var(--ac); background: var(--acs); }
#studioBoardAdd { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; padding: 8px 15px; border: 1px solid var(--ac); border-radius: 10px; background: var(--acs); color: var(--ac); font: 14px/22px var(--sans); white-space: nowrap; }
#studioBoardAdd:hover { background: var(--ac); color: #fff; }
#studioBoardAdd[hidden] { display: none; }
.board-menu { position: relative; margin-left: auto; flex: none; }
.board-menu > summary { display: grid; place-items: center; width: 30px; height: 34px; color: var(--mu); font-size: 22px; letter-spacing: 1px; cursor: pointer; list-style: none; }
.board-menu > summary::-webkit-details-marker { display: none; }
.board-menu > div { position: absolute; z-index: 9; right: 0; bottom: 36px; min-width: 136px; padding: 5px; border: 1px solid var(--line); border-radius: 10px; background: var(--bg2); box-shadow: var(--sh2); }
.board-menu button { display: block; width: 100%; min-height: 36px; padding: 7px 10px; font-size: 13px; white-space: nowrap; color: var(--tx); text-align: left; background: none; }
.board-menu button:hover { background: var(--sf); }
body.studio:not(.studio-empty):has(#studio:not([data-result=true])) .studio-editor-head { grid-area: head; display: flex; align-items: center; justify-content: center; min-height: 0; border: 0; }
body.studio:not(.studio-empty):has(#studio:not([data-result=true])) .composer-references > summary, .studio-options > summary { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; color: var(--tx); border-radius: 50%; cursor: pointer; list-style: none; }
body.studio:not(.studio-empty):has(#studio:not([data-result=true])) .composer-references > summary:hover, .studio-options > summary:hover { background: var(--sf); }
body.studio:not(.studio-empty):has(#studio:not([data-result=true])) .composer-references > summary::after, .studio-options > summary::after { display: none; }
.studio-options > summary::-webkit-details-marker { display: none; }
body.studio:not(.studio-empty):has(#studio:not([data-result=true])) #studioReferenceCount { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
body.studio:not(.studio-empty):has(#studio:not([data-result=true])) #studioEditor .composer-spark { color: var(--ac); }
body.studio:not(.studio-empty):has(#studio:not([data-result=true])) #wbPrompt::placeholder { color: var(--mu); }
body.studio:not(.studio-empty):has(#studio:not([data-result=true])) #studioEditor .gb-i { display: none; }
body.studio:not(.studio-empty):has(#studio:not([data-result=true])) #wbGo { display: flex; align-items: center; justify-content: center; gap: 12px; min-width: 184px; min-height: 54px; padding: 12px 28px; border-radius: 999px; background: var(--ac); color: #fff; font-size: 19px; font-weight: 600; box-shadow: none; white-space: nowrap; }
body.studio:not(.studio-empty):has(#studio:not([data-result=true])) #wbGo::before { content: ''; display: block; width: 21px; height: 21px; background: currentColor; clip-path: polygon(50% 0,63% 34%,100% 50%,63% 65%,50% 100%,35% 65%,0 50%,35% 34%,50% 0,50% 23%,43% 43%,23% 50%,43% 57%,50% 77%,57% 57%,77% 50%,57% 43%,50% 23%); }
.studio-options { grid-area: options; }
.studio-options-panel, body.studio:not(.studio-empty):has(#studio:not([data-result=true])) .reference-panel { position: absolute; z-index: 12; bottom: calc(100% + 12px); top: auto; width: 440px; max-width: calc(100vw - 48px); max-height: min(580px,var(--studio-popover-height,500px)); overflow: auto; padding: 18px; border: 1px solid var(--line2); border-radius: 16px; background: var(--bg2); box-shadow: var(--sh2); }
.studio-options-panel { right: 12px; }
body.studio:not(.studio-empty):has(#studio:not([data-result=true])) .reference-panel { left: 12px; }
.studio-options-panel > .sh { display: flex; align-items: center; justify-content: space-between; margin: 18px 0 8px; }
body.studio:not(.studio-empty):has(#studio:not([data-result=true])) #studioOptions #wbCfg { display: flex; align-items: center; gap: 7px; width: 100%; min-height: 40px; padding: 8px 10px; margin: 0 0 14px; color: var(--tx); background: var(--sf); border: 1px solid var(--line); border-radius: 9px; font-size: 13px; }
#studioOptions #wbCfg b { margin-left: auto; color: var(--ac); }
body.studio:not(.studio-empty):has(#studio:not([data-result=true])) #studioOptions .quick { display: flex; flex-wrap: wrap; gap: 12px; }
body.studio:not(.studio-empty):has(#studio:not([data-result=true])) #studioOptions .studio-style .chips { position: static; max-width: 100%; width: auto; padding: 10px 0; border: 0; box-shadow: none; }
body.studio:not(.studio-empty):has(#studio:not([data-result=true])) #studioOptions .studio-style > summary { min-height: 34px; font-size: 13px; }
body.studio:not(.studio-empty):has(#studio:not([data-result=true])) #studioOptions .q2 select { min-height: 34px; font-size: 13px; }
body.studio:not(.studio-empty):has(#studio:not([data-result=true])) #studioOptions .prompt-tools { display: flex; margin-bottom: 12px; }
body.studio:not(.studio-empty):has(#studio:not([data-result=true])) #studioOptions .adv > summary { font-size: 13px; padding-left: 0; }
body.studio:not(.studio-empty):has(#studio:not([data-result=true])) #studioOptions .adv-b { position: static; max-width: none; width: auto; max-height: none; overflow: visible; padding: 12px 0 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; background: none; box-shadow: none; }
body.studio:not(.studio-empty):has(#studio:not([data-result=true])) .reference-panel .composer-add { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; }
body.studio:not(.studio-empty):has(#studio:not([data-result=true])) .reference-panel > button { margin: 12px 8px 0 0; }
body.studio:not(.studio-empty):has(#studio:not([data-result=true])) .board-card:focus-within { z-index: 2; }

@media (min-width: 1280px) {
  body.studio:not(.studio-empty):has(#studio:not([data-result=true])) #top { grid-template: 'brand nav context search tools' 67px / auto auto auto minmax(100px,1fr) auto; padding-inline: 40px; gap: 0; background: var(--bg); }
  body.studio:not(.studio-empty):has(#studio:not([data-result=true])) .brand { gap: 10px; }
  body.studio:not(.studio-empty):has(#studio:not([data-result=true])) .mark { width: 36px; height: 36px; background: none; box-shadow: none; }
  body.studio:not(.studio-empty):has(#studio:not([data-result=true])) .mark svg, body.studio:not(.studio-empty):has(#studio:not([data-result=true])) .mark .pose-brand { display: none; }
  body.studio:not(.studio-empty):has(#studio:not([data-result=true])) .mark .costume-brand { display: block; width: 36px; height: 36px; object-fit: contain; }
  body.studio:not(.studio-empty):has(#studio:not([data-result=true])) .wm { display: flex; flex-direction: row; align-items: baseline; gap: 6px; }
  body.studio:not(.studio-empty):has(#studio:not([data-result=true])) .wm b, body.studio:not(.studio-empty):has(#studio:not([data-result=true])) .wm small { color: var(--tx); font-size: 18px; line-height: 26px; font-weight: 550; letter-spacing: 0; }
  body.studio:not(.studio-empty):has(#studio:not([data-result=true])) .wm small::before { content: '/ '; }
  body.studio:not(.studio-empty):has(#studio:not([data-result=true])) .tabs { margin-left: 72px; gap: 44px; align-self: stretch; }
  body.studio:not(.studio-empty):has(#studio:not([data-result=true])) .tabs .shell-menu { height: 100%; }
  body.studio:not(.studio-empty):has(#studio:not([data-result=true])) .tabs .nav-trigger { height: 100%; padding: 0; border-radius: 0; background: none; color: var(--tx); font-size: 18px; font-weight: 500; }
  body.studio:not(.studio-empty):has(#studio:not([data-result=true])) .tabs .nav-trigger > svg { display: none; }
  body.studio:not(.studio-empty):has(#studio:not([data-result=true])) .tabs .current, body.studio:not(.studio-empty):has(#studio:not([data-result=true])) .tabs .current > .nav-trigger { color: var(--ac); }
  body.studio:not(.studio-empty):has(#studio:not([data-result=true])) .tabs .nav-trigger.on { color: var(--ac); }
  body.studio:not(.studio-empty):has(#studio:not([data-result=true])) .tabs .nav-trigger.current::after { bottom: 0; width: 18px; height: 2px; border-radius: 0; }
  body.studio:not(.studio-empty):has(#studio:not([data-result=true])) .shell-context { gap: 24px; margin-left: 44px; padding-left: 36px; font-size: 18px; }
  body.studio:not(.studio-empty):has(#studio:not([data-result=true])) .shell-context span { color: var(--tx); }
  body.studio:not(.studio-empty):has(#studio:not([data-result=true])) #shellPage { font-size: 18px; font-weight: 500; }
  body.studio:not(.studio-empty):has(#studio:not([data-result=true])) .top .search { display: block; width: 280px; max-width: calc(100% - 28px); justify-self: end; }
  body.studio:not(.studio-empty):has(#studio:not([data-result=true])) #q { min-height: 42px; border: 0; border-radius: 999px; background: var(--sf); font-size: 16px; }
  body.studio:not(.studio-empty):has(#studio:not([data-result=true])) #q:not(:focus)::placeholder { color: transparent; }
  body.studio:not(.studio-empty):has(#studio:not([data-result=true])) .tools { margin-left: 42px; gap: 24px; }
  body.studio:not(.studio-empty):has(#studio:not([data-result=true])) .top > .tools > :is(#adultSw,#languageMenu,#themeMenu) { display: flex; }
  body.studio:not(.studio-empty):has(#studio:not([data-result=true])) .tools #trayFab { display: none; }
  body.studio:not(.studio-empty):has(#studio:not([data-result=true])) .tools #favoriteLocale, body.studio:not(.studio-empty):has(#studio:not([data-result=true])) .settings-label { display: none; }
  body.studio:not(.studio-empty):has(#studio:not([data-result=true])) .tools > :is(#languageMenu,#themeMenu) { padding-left: 24px; border-left: 1px solid var(--line2); }
  body.studio:not(.studio-empty):has(#studio:not([data-result=true])) .tools .icon { width: 26px; height: 32px; padding: 0; background: none; border: 0; }
  body.studio:not(.studio-empty):has(#studio:not([data-result=true])) .tools .icon svg { width: 24px; height: 24px; }
  body.studio:not(.studio-empty):has(#studio:not([data-result=true])) .asw { gap: 8px; margin: 0; padding: 0; border: 0; background: none; font-size: 17px; }
  body.studio:not(.studio-empty):has(#studio:not([data-result=true])) .asw b { order: -1; font-weight: 500; }
}
@media (max-width: 1439px) and (min-width: 1280px) {
  body.studio:not(.studio-empty):has(#studio:not([data-result=true])) .tabs { margin-left: 36px; gap: 28px; }
  body.studio:not(.studio-empty):has(#studio:not([data-result=true])) .shell-context { margin-left: 28px; padding-left: 24px; gap: 16px; font-size: 16px; }
  body.studio:not(.studio-empty):has(#studio:not([data-result=true])) #shellPage { font-size: 16px; }
  body.studio:not(.studio-empty):has(#studio:not([data-result=true])) .tools { margin-left: 20px; gap: 14px; }
  body.studio:not(.studio-empty):has(#studio:not([data-result=true])) .tools > :is(#languageMenu,#themeMenu) { padding-left: 14px; }
}
@media (max-width: 1023px) {
  body.studio:not(.studio-empty):has(#studio:not([data-result=true])) { --gutter: 20px; }
  body.studio:not(.studio-empty):has(#studio:not([data-result=true])) #studio { height: auto; min-height: calc(100dvh - var(--hdr)); padding-top: 12px; }
  body.studio:not(.studio-empty):has(#studio:not([data-result=true])) #studioPreview, body.studio:not(.studio-empty):has(#studio:not([data-result=true])) #studioEditor { display: grid; }
  body.studio:not(.studio-empty):has(#studio:not([data-result=true])) #studioPreview { display: flex; min-height: 0; }
  body.studio:not(.studio-empty):has(#studio[data-view=editor][data-result=false]) #studioPreview { flex: none; height: 390px; }
  body.studio:not(.studio-empty):has(#studio:not([data-result=true])) #studioPreview #wbStage { flex: 1; min-height: 0; }
  body.studio:not(.studio-empty):has(#studio:not([data-result=true])) #studioPreview #wbPh0 { height: 100%; min-height: 0; }
  body.studio:not(.studio-empty):has(#studio:not([data-result=true])) #wbBoardCards { gap: 14px; }
  body.studio:not(.studio-empty):has(#studio:not([data-result=true])) #wbCanvasSwitch button, body.studio:not(.studio-empty):has(#studio:not([data-result=true])) #wbExportBoard, body.studio:not(.studio-empty):has(#studio:not([data-result=true])) .studio-recent > summary { gap: 7px; padding: 9px 16px; font-size: 14px; }
  body.studio:not(.studio-empty):has(#studio:not([data-result=true])) #wbGo { min-width: 130px; padding-inline: 18px; font-size: 16px; }
}
@media (max-width: 699px) {
  body.studio:not(.studio-empty):has(#studio:not([data-result=true])) { --gutter: 12px; }
  body.studio:not(.studio-empty):has(#studio:not([data-result=true])) #studio { padding-bottom: calc(12px + env(safe-area-inset-bottom)); }
  body.studio:not(.studio-empty):has(#studio:not([data-result=true])) .st-app { gap: 12px; }
  body.studio:not(.studio-empty):has(#studio:not([data-result=true])) #studioPreview { border-radius: 16px; }
  body.studio:not(.studio-empty):has(#studio:not([data-result=true])) #studioPreview .canvas-head { flex-wrap: wrap; gap: 8px; padding: 10px 4px 0; min-height: 0; }
  body.studio:not(.studio-empty):has(#studio:not([data-result=true])) #wbCanvasSwitch { width: 100%; }
  body.studio:not(.studio-empty):has(#studio:not([data-result=true])) #wbCanvasSwitch button { flex: 1; padding: 9px 8px; font-size: 14px; }
  body.studio:not(.studio-empty):has(#studio:not([data-result=true])) #wbExportBoard, body.studio:not(.studio-empty):has(#studio:not([data-result=true])) .studio-recent > summary { min-height: 36px; padding: 6px 12px; font-size: 13px; }
  body.studio:not(.studio-empty):has(#studio:not([data-result=true])) #studioPreview #wbStage { margin: 12px 4px 8px; }
  body.studio:not(.studio-empty):has(#studio:not([data-result=true])) #wbBoardCards[data-count] { grid-template-columns: repeat(2,minmax(0,1fr)); grid-auto-rows: 220px; gap: 12px; }
  body.studio:not(.studio-empty):has(#studio:not([data-result=true])) #wbBoardCards > .board-card { grid-template-rows: minmax(0,1fr) 54px; border-radius: 12px; }
  body.studio:not(.studio-empty):has(#studio:not([data-result=true])) .board-card > footer { gap: 6px; padding-inline: 9px; }
  .board-add-card { gap: 10px; padding: 12px; }
  .board-add-types { gap: 6px; }
  .board-add-types button { font-size: 11px; padding-inline: 3px; }
  body.studio:not(.studio-empty):has(#studio:not([data-result=true])) .board-card .material-icon { width: 17px; height: 17px; }
  body.studio:not(.studio-empty):has(#studio:not([data-result=true])) #wbGo { min-width: 110px; min-height: 42px; padding: 8px 14px; font-size: 14px; gap: 6px; }
  body.studio:not(.studio-empty):has(#studio:not([data-result=true])) .composer-references > summary, .studio-options > summary { width: 40px; height: 40px; }
  .studio-options-panel, body.studio:not(.studio-empty):has(#studio:not([data-result=true])) .reference-panel { position: fixed; left: 12px; right: 12px; bottom: calc(144px + env(safe-area-inset-bottom)); width: auto; max-width: none; max-height: calc(100dvh - var(--hdr) - 160px); padding: 16px; }
  body.studio:not(.studio-empty):has(#studio:not([data-result=true])) .studio-recent .hist { position: fixed; top: calc(var(--hdr) + 126px); right: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  body.studio:not(.studio-empty):has(#studio:not([data-result=true])) .board-image img { transition: none; }
}
@media (max-width:1023px) and (max-height:600px) and (orientation:landscape) {
  body.studio:not(.studio-empty):has(#studio:not([data-result=true])) .reference-panel,
  body.studio:not(.studio-empty):has(#studio:not([data-result=true])) .studio-options-panel {
    position: fixed; inset: calc(var(--hdr) + 12px) 12px auto;
    width: auto; max-width: none; max-height: min(var(--studio-popover-height,150px),calc(100dvh - var(--hdr) - 24px));
  }
  body.studio:not(.studio-empty):has(#studio[data-view=editor][data-result=false]) #studio { height: auto; }
  body.studio:not(.studio-empty):has(#studio[data-view=editor][data-result=false]) .st-app { flex: none; }
  body.studio:not(.studio-empty):has(#studio[data-view=editor][data-result=false]) #studioPreview { flex: none; min-height: 360px; }
}
