/* Jareks Art Studio – generated from studio.html */
.jas-root {
  --wall: #dcdad3; --rail: #f4f3ef; --ink: #1c1d22; --muted: #595b62; --line: #cfccc4; --accent: #2440c8; --accent-ink: #ffffff; --chip: #e9e7e1;
  --display: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
}
.jas-root, .jas-root * { box-sizing: border-box }
.jas-root [hidden] { display: none !important }
.jas-root { background: var(--wall); color: var(--ink); font-family: var(--display); font-size: 14px }
.jas-root .app { display: grid; grid-template-columns: minmax(300px, clamp(340px, 27vw, 430px)) minmax(0, 1fr); min-height: 760px }
.jas-root aside { background: var(--rail); border-right: 1px solid var(--line); padding-inline: 20px; padding-block: 22px 40px; display: flex; flex-direction: column; gap: 22px; min-width: 0 }
.jas-root h1 { margin: 0; font-size: 30px; font-weight: 800; letter-spacing: -.03em; line-height: 1 }
.jas-root h1 span { color: var(--accent) }
.jas-root .sub { margin: 6px 0 0; color: var(--muted); line-height: 1.45 }
.jas-root section { display: grid; gap: 10px }
.jas-root .lab { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); display: flex; justify-content: space-between; align-items: baseline }
.jas-root .drop { display: grid; grid-template-columns: 64px 1fr; gap: 12px; align-items: center; border: 1.5px dashed var(--line); padding: 10px; cursor: pointer; background: transparent; color: var(--ink); font: inherit; text-align: left; width: 100% }
.jas-root .drop:hover, .jas-root .drop.over { border-color: var(--accent) }
.jas-root .drop canvas { width: 64px; height: 64px; object-fit: cover; background: var(--chip); display: block }
.jas-root .drop b { display: block; font-weight: 600 }
.jas-root .drop small { color: var(--muted); font-family: var(--mono); font-size: 11px }
.jas-root .styles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px }
.jas-root .chip { font: inherit; font-weight: 600; text-align: left; padding: 9px 10px; border: 1px solid var(--line); background: var(--chip); color: var(--ink); cursor: pointer; line-height: 1.1 }
.jas-root .chip small { display: block; font-family: var(--mono); font-weight: 400; font-size: 10.5px; color: var(--muted); margin-top: 3px }
.jas-root .chip[aria-pressed="true"] { background: var(--ink); color: var(--rail); border-color: var(--ink) }
.jas-root .chip[aria-pressed="true"] small { color: var(--rail); opacity: .7 }
.jas-root .pals { display: grid; grid-template-columns: repeat(auto-fill, minmax(42px, 1fr)); gap: 6px }
.jas-root .pal { height: 30px; border: 1px solid var(--line); padding: 0; cursor: pointer; display: flex; overflow: hidden; background: none }
.jas-root .pal i { flex: 1 }
.jas-root .pal[aria-pressed="true"] { outline: 2px solid var(--ink); outline-offset: 2px }
.jas-root .pal.orig { font-family: var(--mono); font-size: 9.5px; color: var(--ink); background: conic-gradient(from 90deg, #e94f37, #f6ae2d, #2e8b57, #1c5d99, #8c4fa8, #e94f37); align-items: center; justify-content: center }
.jas-root .pal.orig span { background: var(--rail); padding: 1px 3px }
.jas-root .seg { display: flex; flex-wrap: wrap; gap: 4px }
.jas-root .seg button { font-family: var(--mono); font-size: 12px; padding: 6px 9px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer }
.jas-root .seg button[aria-pressed="true"] { background: var(--ink); color: var(--rail); border-color: var(--ink) }
.jas-root .ctl { display: grid; gap: 4px }
.jas-root .txt { font: inherit; font-size: 14px; padding: 9px 10px; border: 1px solid var(--line); background: var(--rail); color: var(--ink); width: 100%; min-width: 0 }
.jas-root .fonts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px }
.jas-root .fonts .grp { grid-column: 1 / -1; font-family: var(--mono); font-size: 10.5px; color: var(--muted); margin-top: 4px }
.jas-root .fbtn { font-size: 17px; padding: 8px 6px; border: 1px solid var(--line); background: var(--chip); color: var(--ink); cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.15 }
.jas-root .fbtn[aria-pressed="true"] { background: var(--ink); color: var(--rail); border-color: var(--ink) }
.jas-root .ctl label { display: flex; justify-content: space-between; font-size: 13px }
.jas-root .ctl output { font-family: var(--mono); font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums }
.jas-root input[type=range] { width: 100%; accent-color: var(--accent) }
.jas-root .row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap }
.jas-root .check { display: flex; gap: 8px; align-items: center; font-size: 13px }
.jas-root .keys { display: flex; gap: 2px }
.jas-root .keys button { flex: 1; min-width: 0; padding: 18px 0 5px; font-family: var(--mono); font-size: 10px; border: 1px solid var(--line); background: #fbfaf7; color: #1c1d22; cursor: pointer }
.jas-root .keys button.sh { background: #1c1d22; color: #f4f3ef; border-color: #1c1d22 }
.jas-root .keys button:active { transform: translateY(1px) }
.jas-root .roll { width: 100%; height: 56px; display: block; background: var(--chip); border: 1px solid var(--line) }
.jas-root .hint { font-size: 12.5px; line-height: 1.45; color: var(--muted); margin: 0 }
.jas-root .btn { font: inherit; font-weight: 600; padding: 10px 14px; border: 1px solid var(--ink); background: transparent; color: var(--ink); cursor: pointer }
.jas-root .btn.primary { background: var(--accent); border-color: var(--accent); color: var(--accent-ink) }
.jas-root .btn:disabled { opacity: .5; cursor: progress }
.jas-root select { font: inherit; font-family: var(--mono); font-size: 12px; padding: 9px 8px; border: 1px solid var(--line); background: var(--rail); color: var(--ink) }
.jas-root button:focus-visible, .jas-root input:focus-visible, .jas-root select:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px }
.jas-root .stage { display: grid; justify-items: center; align-items: start; padding-inline: clamp(16px, 4vw, 56px); padding-block: 32px; position: relative; min-width: 0 }
.jas-root .stage > div:not(.status) { position: sticky; top: calc(var(--jas-top, 0px) + env(safe-area-inset-top, 0px) + 48px) }
.jas-root .poster { max-width: 100%; line-height: 0 }
.jas-root #jas-view { display: block; box-shadow: 0 2px 4px rgb(0 0 0 / .12), 0 30px 60px -30px rgb(0 0 0 / .5); max-width: min(100%, 640px); max-height: calc(100vh - 120px - var(--jas-top, 0px)); width: auto; height: auto }
.jas-root .status { position: absolute; top: 16px; right: 20px; font-family: var(--mono); font-size: 12px; color: var(--muted); display: flex; gap: 8px; align-items: center }
.jas-root .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted) }
.jas-root .busy .dot { background: var(--accent); animation: pulse .8s infinite alternate }

@keyframes pulse { to { opacity: .2 } }
.jas-root .cap { font-family: var(--mono); font-size: 12px; color: var(--muted); margin-top: 14px; text-align: center; line-height: 1.5 }
.jas-root .note { font-family: var(--mono); font-size: 11.5px; color: var(--muted); line-height: 1.5 }
.jas-root .ov { position: fixed; inset: 0; background: rgb(10 10 12 / .88); display: grid; place-items: center; padding: 20px; z-index: 10 }
.jas-root .ov .box { display: grid; gap: 12px; justify-items: center; color: #ecebe6; font-family: var(--mono); font-size: 12.5px; text-align: center; max-width: 100% }
.jas-root .ov img { max-height: 78vh; max-width: 100%; box-shadow: 0 20px 60px rgb(0 0 0 / .5) }
.jas-root .ov button { font-family: var(--mono); background: transparent; color: #ecebe6; border: 1px solid #55575f; padding: 7px 12px; cursor: pointer }
.jas-root #jas-host { position: absolute; left: -99999px; top: 0; width: 1px; height: 1px; overflow: hidden }
.jas-root .vbar { display: flex; gap: 6px; justify-content: center; margin-top: 10px; flex-wrap: wrap }
.jas-root .vbar .btn { padding: 7px 11px; font-size: 13px }
.jas-root .vbar .btn:disabled { opacity: .35; cursor: default }
.jas-root .vbar .nav { min-width: 38px; font-size: 16px; line-height: 1 }
.jas-root .swatches { display: flex; flex-wrap: wrap; gap: 6px; align-items: center }
.jas-root .sw { width: 30px; height: 30px; padding: 0; border: 1px solid var(--line); cursor: pointer; display: grid; place-items: center; font-size: 12px; font-weight: 700; background: var(--chip); color: var(--ink); position: relative; overflow: hidden }
.jas-root .sw[aria-pressed="true"], .jas-root .sw[data-on="true"] { outline: 2px solid var(--ink); outline-offset: 2px }
.jas-root .sw.custom { background: conic-gradient(#e53935, #fdd835, #43a047, #1e88e5, #8e24aa, #e53935) }
.jas-root .sw.custom input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; cursor: pointer; border: 0; padding: 0 }
.jas-root .saved { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 8px }
.jas-root .sv { position: relative }
.jas-root .sv-open { display: block; width: 100%; padding: 0; border: 1px solid var(--line); background: var(--chip); cursor: pointer }
.jas-root .sv-open img { display: block; width: 100%; height: auto }
.jas-root .sv-x { position: absolute; top: -6px; right: -6px; width: 20px; height: 20px; border-radius: 50%; border: 1px solid var(--line); background: var(--rail); color: var(--ink); font-size: 13px; line-height: 1; padding: 0; cursor: pointer }
.jas-root .touch-only { display: none }
.jas-root .cats { gap: 4px }
.jas-root .cats button { font-size: 11.5px; padding: 5px 8px }
.jas-root .ctl select { font: inherit; font-size: 13px; padding: 7px 8px; border: 1px solid var(--line); background: var(--rail); color: var(--ink); width: 100% }
.jas-root .ctl.colorrow label { align-items: center }
.jas-root .ctl.colorrow input[type=color] { width: 44px; height: 28px; padding: 0; border: 1px solid var(--line); background: none; cursor: pointer }
.jas-root .ctl .check { font-size: 13px }
.jas-root .sw.paperc { background: conic-gradient(#e53935, #fdd835, #43a047, #1e88e5, #8e24aa, #e53935) }
.jas-root .presets { display: grid; grid-auto-flow: column; grid-auto-columns: 92px; gap: 8px; overflow-x: auto; padding: 2px 2px 6px; scroll-snap-type: x proximity; scrollbar-width: thin }
.jas-root .preset { display: grid; gap: 5px; padding: 0; border: 0; background: none; color: var(--ink); cursor: pointer; text-align: left; font: inherit; scroll-snap-align: start }
.jas-root .preset img { width: 92px; height: 123px; object-fit: cover; display: block; box-shadow: 0 1px 2px rgb(0 0 0 / .15), 0 8px 16px -10px rgb(0 0 0 / .5); background: var(--chip) }
.jas-root .preset span { font-size: 11.5px; line-height: 1.2; font-weight: 600 }
.jas-root .preset[aria-pressed="true"] img { outline: 2px solid var(--ink); outline-offset: 2px }
.jas-root #jas-view { cursor: zoom-in }
.jas-root .zoom { position: fixed; inset: 0; z-index: 100000; background: rgb(14 15 18 / .95); touch-action: none; overflow: hidden; user-select: none; -webkit-user-select: none }
.jas-root .zoom img { position: absolute; left: 0; top: 0; transform-origin: 0 0; max-width: none; box-shadow: 0 20px 60px rgb(0 0 0 / .5); cursor: grab; -webkit-user-drag: none }
.jas-root .zoom-x { position: absolute; top: 14px; right: 14px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgb(255 255 255 / .3); background: rgb(14 15 18 / .6); color: #fff; font-size: 26px; line-height: 1; cursor: pointer; z-index: 2 }
.jas-root .zoom-hint { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); font-family: var(--mono); font-size: 12px; color: rgb(255 255 255 / .75); background: rgb(14 15 18 / .6); padding: 6px 10px; white-space: nowrap; z-index: 2; pointer-events: none }
@media (pointer: coarse) {
.jas-root .ctl { touch-action: pan-y }
.jas-root .ctl input[type=range] { pointer-events: none }
.jas-root .ctl.sliding label { color: var(--accent) }
.jas-root .touch-only { display: inline }

}
@media (max-width: 820px) {
.jas-root .app { grid-template-columns: 1fr }
.jas-root .stage { order: -1; position: sticky; top: var(--jas-top, 0px); z-index: 5; background: var(--wall); padding: 10px 12px; box-shadow: 0 8px 14px -12px rgb(0 0 0 / .45) }
.jas-root .stage > div:not(.status) { position: static; display: grid; justify-items: center; width: 100% }
.jas-root aside { border-right: 0; border-top: 1px solid var(--line) }
.jas-root .secnav { position: static; margin-top: 0 }
.jas-root #jas-view { max-height: 38vh; max-height: 38svh; max-width: 100% }
.jas-root .vbar { margin-top: 8px }
.jas-root .cap { display: none }
.jas-root .status { top: 6px; right: 8px; font-size: 10.5px }

}
@media (prefers-reduced-motion: reduce) {
.jas-root .busy .dot { animation: none }
 }
.jas-root .secnav { display: flex; flex-wrap: wrap; gap: 5px; position: sticky; top: var(--jas-top, 0px); z-index: 4; background: var(--rail); padding-block: 10px; border-bottom: 1px solid var(--line); margin-top: -6px }
.jas-root .secnav button { font: inherit; font-family: var(--mono); font-size: 11px; letter-spacing: .03em; padding: 5px 9px; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; line-height: 1.2 }
.jas-root .secnav button:hover { border-color: var(--ink) }
.jas-root .secnav button.on { background: var(--ink); color: var(--rail); border-color: var(--ink) }
.jas-root .secnav button.go { border-color: var(--accent); color: var(--accent); font-weight: 700 }
.jas-root .secnav button.go:hover { background: var(--accent); color: #fff }
.jas-root section.coll { scroll-margin-top: calc(var(--jas-top, 0px) + 90px); gap: 10px }
.jas-root section.coll > .lab { cursor: pointer; user-select: none; padding-block: 2px; align-items: center }
.jas-root section.coll > .lab > span:first-child { font-size: 12.5px; font-weight: 700; color: var(--ink); letter-spacing: .07em }
.jas-root section.coll > .lab::after { content: ""; width: 7px; height: 7px; border-right: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(45deg); margin-left: 10px; flex: none; transition: transform .2s; position: relative; top: -2px }
.jas-root section.coll.closed > .lab::after { transform: rotate(-45deg); top: 0 }
.jas-root section.coll > .lab:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px }
.jas-root section.coll.closed > :not(.lab):not(.secsum) { display: none !important }
.jas-root .secsum { display: none; font-size: 13px; color: var(--muted); margin-top: -4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; cursor: pointer }
.jas-root section.coll.closed > .secsum { display: block }
.jas-root aside > section.coll + section.coll { border-top: 1px solid var(--line); padding-top: 18px }
@media (min-width: 1100px) {
.jas-root .stage > div:not(.status) { display: grid; grid-template-columns: auto 168px; grid-template-rows: 1fr auto; column-gap: 22px; align-items: end }
.jas-root .stage > div:not(.status) > .poster { grid-row: 1 / span 2 }
.jas-root .stage > div:not(.status) > .cap { grid-column: 2; align-self: end; text-align: left; margin: 0 }
.jas-root .stage > div:not(.status) > .vbar { grid-column: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 12px; align-self: end }
.jas-root .stage > div:not(.status) > .vbar .btn:not(.nav) { grid-column: 1 / -1 }

}
.jas-root .vbig { width: 100%; padding: 14px 16px; font-size: 16px; font-weight: 700 }
.jas-root .vbig.rec { background: #c4352d; border-color: #c4352d; color: #fff; animation: vpulse 1.2s ease-in-out infinite }

@keyframes vpulse { 50% { box-shadow: 0 0 0 6px rgb(196 53 45 / .18) } }
@media (prefers-reduced-motion: reduce) {
.jas-root .vbig.rec { animation: none }
 }
.jas-root .vmeter { height: 6px; background: var(--chip); overflow: hidden }
.jas-root .vmeter i { display: block; height: 100%; width: 0; background: var(--accent); transition: width .08s linear }
.jas-root .step-h { display: flex; align-items: center; gap: 10px; margin: 14px 0 -4px; font-family: var(--display); font-size: 18px; font-weight: 700; color: var(--ink) }
.jas-root .step-h b { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--rail); font-size: 14px; font-family: var(--mono) }
.jas-root .step-h.opt span { font-size: 14px; color: var(--muted); font-weight: 600 }
.jas-root .sticky-get { position: sticky; bottom: 12px; z-index: 5; width: 100%; padding: 13px 16px; font-size: 15px; font-weight: 700; box-shadow: 0 10px 30px -10px rgb(0 0 0 / .45); transition: opacity .2s, transform .2s }
.jas-root .sticky-get.away { opacity: 0; pointer-events: none; transform: translateY(8px) }
@media (max-width: 1099px) {
.jas-root .sticky-get { position: fixed; left: 16px; right: 16px; bottom: 12px; width: auto }
 }
.jas-root .more-text summary { cursor: pointer; font-size: 13px; text-decoration: underline; padding: 4px 0; list-style-position: inside }
.jas-root .more-text-in { display: grid; gap: 12px; margin-top: 10px }
.jas-root section:not(.browse) > .more-only { display: none }
.jas-root .btn.linkish { background: none; border: 0; padding: 4px 0; text-decoration: underline; color: var(--ink); justify-self: start; font-size: 13px }
.jas-root .scene-note { font-size: 12px; color: var(--muted); line-height: 1.45; margin: 0 }
.jas-root .styles.dim .chip { opacity: .45 }
.jas-root section.voice-mode .linkish, .jas-root section.voice-mode .more-only { display: none }
.jas-root .mode-seg { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border: 1.5px solid var(--ink) }
.jas-root .mode-seg button { font: inherit; font-size: 14px; font-weight: 600; padding: 10px 8px; border: 0; background: transparent; color: var(--ink); cursor: pointer }
.jas-root .mode-seg button[aria-pressed="true"] { background: var(--ink); color: var(--rail) }
.jas-root .start { position: fixed; inset: 0; z-index: 100001; background: rgb(14 15 18 / .62); display: grid; place-items: center; padding: 16px; overflow: auto }
.jas-root .start-box { background: var(--rail); color: var(--ink); max-width: 760px; width: 100%; padding: clamp(20px, 4vw, 36px); box-shadow: 0 30px 80px -20px rgb(0 0 0 / .5) }
.jas-root .start-box h2 { font-family: var(--display); font-size: clamp(24px, 3.4vw, 34px); line-height: 1.1; margin: 0 0 6px; text-wrap: balance }
.jas-root .start-sub { color: var(--muted); margin: 0 0 22px; font-size: 15px }
.jas-root .start-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px }
.jas-root .start-opt { position: relative; display: grid; grid-template-columns: 52px 1fr; grid-template-rows: auto 1fr; column-gap: 14px; row-gap: 4px; align-items: start; text-align: left; padding: 16px; border: 1.5px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; font: inherit }
.jas-root .start-opt:hover, .jas-root .start-opt:focus-visible { border-color: var(--ink); background: var(--chip) }
.jas-root .start-opt svg { grid-row: 1 / span 2; width: 48px; height: 48px; fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linejoin: round; stroke-linecap: round }
.jas-root .start-opt b { font-size: 16px }
.jas-root .start-opt small { color: var(--muted); font-size: 13px; line-height: 1.45 }
.jas-root .start-new { position: absolute; top: 10px; right: 10px; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; background: var(--accent); color: var(--accent-ink); padding: 3px 6px }
.jas-root .restart { align-self: flex-start; background: none; border: 1px solid var(--line); color: var(--ink); font: inherit; font-size: 13px; padding: 6px 10px; cursor: pointer }
.jas-root .restart:hover { border-color: var(--ink) }
.jas-root .start-skip { margin-top: 18px; background: none; border: 0; color: var(--muted); text-decoration: underline; cursor: pointer; font: inherit; font-size: 14px; padding: 4px 0 }
@media (max-width: 560px) {
.jas-root .start-grid { grid-template-columns: 1fr }
.jas-root .start-opt { grid-template-columns: 40px 1fr; padding: 12px }
.jas-root .start-opt svg { width: 36px; height: 36px }
 }
.jas-root .vbar .btn.on { background: var(--ink); color: var(--rail) }
.jas-root .arranging #jas-view { cursor: default }
.jas-root .arr-hint { font-size: 12px; color: var(--muted); margin-top: 8px; line-height: 1.45; max-width: 26em }
.jas-root .arr-hint .arr-reset { display: block; margin-top: 6px }
.jas-root .series { margin-top: 14px; padding: 12px; background: var(--rail); border: 1px solid var(--line); display: grid; gap: 10px; max-width: 100% }
.jas-root .ser-head { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; font-size: 13px }
.jas-root .ser-head span { color: var(--muted) }
.jas-root .ser-row { display: flex; gap: 6px; flex-wrap: wrap; align-items: center }
.jas-root .ser-slots { display: flex; gap: 6px; flex-wrap: wrap }
.jas-root .ser-slot { width: 46px; height: 62px; padding: 0; border: 2px solid transparent; background: var(--chip); cursor: pointer; overflow: hidden; font: inherit; color: var(--muted) }
.jas-root .sv { position: relative }
.jas-root .sv-tag { position: absolute; left: 3px; bottom: 3px; font-family: var(--mono); font-size: 9px; background: var(--ink); color: var(--rail); padding: 1px 4px; pointer-events: none }
.jas-root .ser-slot img { width: 100%; height: 100%; object-fit: cover; display: block }
.jas-root .ser-slot[aria-pressed="true"] { border-color: var(--accent) }
.jas-root .series .btn { padding: 7px 10px; font-size: 13px }
.jas-root .wallview { position: fixed; inset: 0; z-index: 100000; background: rgb(10 11 14 / .9); display: grid; place-items: center; padding: 16px }
.jas-root .wallview canvas { max-width: 100%; max-height: 90vh; box-shadow: 0 20px 60px rgb(0 0 0 / .5) }
@media (min-width: 1100px) {
.jas-root .stage > div:not(.status) > .series { grid-column: 1 / -1 }
 }
.jas-root .sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0 }
.jas-root .app { position: relative }
.jas-root .skip { position: absolute; left: 8px; top: 8px; z-index: 100002; background: var(--ink); color: var(--rail); padding: 12px 16px; font-weight: 700; text-decoration: none; font-size: 15px }
.jas-root .skip:not(:focus) { clip-path: inset(50%); width: 1px; height: 1px; padding: 0; overflow: hidden; white-space: nowrap }
.jas-root button:focus-visible, .jas-root a:focus-visible, .jas-root input:focus-visible, .jas-root select:focus-visible, .jas-root textarea:focus-visible, .jas-root [role=button]:focus-visible, .jas-root summary:focus-visible, .jas-root [tabindex]:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px }
.jas-root .step-h:focus, .jas-root .get:focus { outline: none }
.jas-root .step-h:focus-visible, .jas-root .get:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px }
.jas-root .tb svg { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round }
.jas-root .vbar .btn.tb { display: inline-flex; align-items: center; justify-content: center; gap: 6px }
.jas-root .tl-s { display: none }
.jas-root .vbar .nav .tl { display: none }
.jas-root .vbar .btn.tb.on, .jas-root .vbar .btn.tb[aria-pressed="true"], .jas-root .vbar .btn.tb[aria-expanded="true"] { background: var(--ink); color: var(--rail); border-color: var(--ink) }
.jas-root #jas-view.rendering { opacity: .86 }
.jas-root #jas-view { transition: opacity .18s ease }
.jas-root .poster { position: relative }
.jas-root .pv-toast { position: absolute; left: 50%; bottom: 12px; transform: translate(-50%, 6px); background: rgb(20 21 25 / .86); color: #fff; font: 600 13px/1.25 var(--display); padding: 8px 14px; border-radius: 999px; white-space: nowrap; max-width: 92%; overflow: hidden; text-overflow: ellipsis; opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease; z-index: 3 }
.jas-root .pv-toast.show { opacity: 1; transform: translate(-50%, 0) }
.jas-root .pv-space, .jas-root .tabbar, .jas-root .sheet-handle { display: none }
.jas-root .chip { transition: background-color .15s ease, color .15s ease, transform .08s ease }
.jas-root .chip:active, .jas-root .btn:active, .jas-root .seg button:active, .jas-root .tab:active { transform: scale(.97) }
.jas-root details.more-text > summary { min-height: 32px; display: flex; align-items: center }
@media (max-width: 820px), (pointer: coarse) {
.jas-root { font-size: 15px }
.jas-root .chip { min-height: 48px; padding: 10px 12px }
.jas-root .chip small { font-size: 11.5px }
.jas-root .seg button, .jas-root .cats button { min-height: 44px; padding: 8px 12px; font-size: 13px }
.jas-root .secnav button { min-height: 44px; padding: 8px 12px }
.jas-root .pals { grid-template-columns: repeat(auto-fill, minmax(48px, 1fr)); gap: 8px }
.jas-root .pal { height: 44px }
.jas-root .sw { width: 44px; height: 44px }
.jas-root .fbtn { min-height: 48px }
.jas-root .btn { min-height: 44px }
.jas-root .btn.linkish { min-height: 44px; padding: 10px 0; font-size: 14px }
.jas-root .restart { min-height: 44px; padding: 8px 14px }
.jas-root .mode-seg button { min-height: 48px; font-size: 15px }
.jas-root section.coll > .lab { min-height: 44px }
.jas-root section.coll > .lab > span:first-child { font-size: 13px }
.jas-root .secsum { font-size: 14px; padding-block: 4px }
.jas-root .check { min-height: 44px; font-size: 14px; line-height: 1.35 }
.jas-root .check input { width: 22px; height: 22px; flex: none; accent-color: var(--accent) }
.jas-root .hint { font-size: 13.5px }
.jas-root .lab { font-size: 12px }
.jas-root .drop { min-height: 84px }
.jas-root .sv-x { width: 32px; height: 32px; top: -10px; right: -10px; font-size: 16px }
.jas-root .ser-slot { width: 52px; height: 70px }
.jas-root .txt, .jas-root select, .jas-root .ctl select { font-size: 16px }
.jas-root .txt { min-height: 46px }
.jas-root input[type=range] { height: 34px }
.jas-root details.more-text > summary { min-height: 44px; font-size: 14px }
.jas-root .preset span { font-size: 12.5px }
.jas-root .start-skip { min-height: 44px }

}
@media (max-width: 820px) and (min-height: 501px) {
.jas-root .stage { position: relative; top: auto; z-index: 50; transition: transform .25s ease }
.jas-root .pv-space { display: block; order: -1; height: 0 }
.jas-root .app.pv-pinned > .stage { position: fixed; top: var(--jas-top, 0px); max-height: 72svh; overflow-y: auto; overscroll-behavior: contain }
.jas-root .app.pv-gone > .stage { transform: translateY(calc(-100% - var(--jas-top, 0px) - 20px)) }
.jas-root #jas-view { max-height: var(--pv-h, 40svh) !important; max-width: 100%; transition: opacity .18s ease, max-height .25s ease }
.jas-root .app.pv-mini #jas-view { max-height: 92px !important }
.jas-root .arr-hint { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 2px auto 0; max-width: 560px; width: 100%; font-size: 13px }
.jas-root .arr-hint .arr-reset { margin: 0; padding: 6px 12px; flex: none }
.jas-root .app.pv-mini .vbar, .jas-root .app.pv-mini .arr-hint, .jas-root .app.pv-mini .series { display: none }
.jas-root .vbar { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 2px; width: 100%; max-width: 560px; margin-top: 6px }
.jas-root .vbar .btn.tb { flex-direction: column; gap: 3px; min-height: 52px; padding: 6px 2px 5px; font-size: 11.5px; font-weight: 600; border-color: transparent; background: transparent; line-height: 1.1 }
.jas-root .vbar .btn.tb svg { width: 21px; height: 21px }
.jas-root .vbar .btn.tb:disabled { opacity: .32 }
.jas-root .vbar .tl-l { display: none }
.jas-root .vbar .tl-s { display: inline }
.jas-root .vbar .nav .tl { display: block }
.jas-root .secnav, .jas-root .sticky-get { display: none !important }
.jas-root aside { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)) }
.jas-root .tabbar { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.25fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--rail); border-top: 1px solid var(--line); padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0px)); gap: 4px; box-shadow: 0 -10px 24px -18px rgb(0 0 0 / .5); transition: transform .25s ease, visibility .25s }
.jas-root .tabbar.gone, .jas-root .app.typing .tabbar { transform: translateY(110%); visibility: hidden }
.jas-root .tab { display: grid; justify-items: center; align-content: center; gap: 3px; min-height: 54px; border: 0; border-radius: 12px; background: transparent; color: var(--muted); font: 600 12px/1.1 var(--display); cursor: pointer; padding: 4px 2px; position: relative }
.jas-root .tab svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round }
.jas-root .tab[aria-current] { color: var(--ink) }
.jas-root .tab[aria-current]::before { content: ""; position: absolute; top: -7px; left: 30%; right: 30%; height: 3px; border-radius: 0 0 3px 3px; background: var(--ink) }
.jas-root .tab-go { background: var(--accent); color: var(--accent-ink); grid-auto-flow: column; gap: 8px; font-size: 14px }
.jas-root .tab-go[aria-current] { color: var(--accent-ink); box-shadow: 0 0 0 2px var(--rail), 0 0 0 4px var(--accent) }
.jas-root .tab-go[aria-current]::before { display: none }
.jas-root .step-h { scroll-margin-top: calc(var(--jas-top, 0px) + 40svh) }
.jas-root .start { place-items: end center; padding: 0; overflow: hidden }
.jas-root .start-box { border-radius: 20px 20px 0 0; padding: 8px 16px calc(16px + env(safe-area-inset-bottom, 0px)); max-height: 94svh; overflow-y: auto; animation: jasSheet .32s cubic-bezier(.2, .8, .2, 1) }
.jas-root .sheet-handle { display: block; height: 28px; margin: 0 -16px 4px; touch-action: none; cursor: grab; position: relative }
.jas-root .sheet-handle::before { content: ""; position: absolute; left: 50%; top: 10px; width: 40px; height: 5px; margin-left: -20px; border-radius: 3px; background: var(--line) }
.jas-root .start-box h2 { font-size: 24px }
.jas-root .start-sub { margin-bottom: 14px; font-size: 14.5px }
.jas-root .start-grid { gap: 8px }
.jas-root .start-opt { min-height: 72px; padding: 12px; border-radius: 12px }
.jas-root .start-skip { display: block; width: 100%; text-align: center; margin-top: 10px; font-size: 15px }

}

@keyframes jasSheet { from { transform: translateY(100%) } }
@media (max-width: 920px) and (max-height: 500px) and (orientation: landscape) {
.jas-root .app { grid-template-columns: minmax(0, 1fr) minmax(300px, 1.15fr) }
.jas-root .stage { order: -1; position: sticky; top: var(--jas-top, 0px); align-self: start; height: calc(100svh - var(--jas-top, 0px)); padding: 8px 10px; box-shadow: none; z-index: 1 }
.jas-root .stage > div:not(.status) { position: static; display: grid; justify-items: center; width: 100% }
.jas-root #jas-view { max-height: calc(100svh - var(--jas-top, 0px) - 120px) !important; max-width: 100% }
.jas-root aside { border-top: 0; border-left: 1px solid var(--line); border-right: 0 }
.jas-root .cap { display: none }
.jas-root #jas-view { max-height: calc(100svh - var(--jas-top, 0px) - 84px) !important }
.jas-root .vbar { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 2px; width: 100%; margin-top: 6px }
.jas-root .vbar .btn.tb { flex-direction: column; gap: 3px; min-height: 52px; padding: 6px 2px 5px; font-size: 11px; font-weight: 600; border-color: transparent; background: transparent; line-height: 1.1 }
.jas-root .vbar .tl-l { display: none }
.jas-root .vbar .tl-s { display: inline }
.jas-root .vbar .nav .tl { display: none }
.jas-root .secnav { display: none }
.jas-root .sticky-get { position: sticky; left: auto; right: auto; bottom: 10px; width: 100% }

}
@media (max-width: 374px) {
.jas-root .vbar .btn.tb { font-size: 10px; padding-inline: 0 }
.jas-root .vbar .nav .tl { display: none }
.jas-root .tab-go { grid-auto-flow: row; gap: 3px; font-size: 12px }
.jas-root .tab { font-size: 11px }

}
.jas-root .pv-toast { border-radius: 14px; max-width: min(340px, 92vw) }
@media (forced-colors: active) {
.jas-root .chip[aria-pressed="true"], .jas-root .seg button[aria-pressed="true"], .jas-root .pal[aria-pressed="true"], .jas-root .sw[aria-pressed="true"], .jas-root .fbtn[aria-pressed="true"], .jas-root .mode-seg button[aria-pressed="true"], .jas-root .tab[aria-current], .jas-root .preset[aria-pressed="true"] { outline: 3px solid Highlight; outline-offset: 2px }
.jas-root .vbar .btn.tb, .jas-root .tab { border: 1px solid ButtonText }

}
@media (prefers-reduced-motion: reduce) {
.jas-root, .jas-root *, .jas-root *::before, .jas-root *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important }

}
.jas-root .sky-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px }
.jas-root .fld { display: grid; gap: 4px; font-size: 12px; color: var(--muted); font-weight: 600 }
.jas-root .fld .txt { width: 100%; box-sizing: border-box }
.jas-root .sky-place { position: relative }
.jas-root .sky-list { position: absolute; z-index: 30; left: 0; right: 0; top: 100%; margin: 2px 0 0; padding: 4px 0; list-style: none; background: var(--rail); border: 1.5px solid var(--ink); max-height: 280px; overflow: auto; box-shadow: 0 10px 24px rgba(0,0,0,.14) }
.jas-root .sky-list li { padding: 9px 12px; cursor: pointer; font-size: 14px; color: var(--ink); font-weight: 400 }
.jas-root .sky-list li span { color: var(--muted) }
.jas-root .sky-list li[aria-selected="true"], .jas-root .sky-list li:hover { background: var(--ink); color: var(--rail) }
.jas-root .sky-list li[aria-selected="true"] span, .jas-root .sky-list li:hover span { color: inherit; opacity: .8 }
.jas-root .move-cam { position: relative; width: 160px; height: 120px; border: 1.5px solid var(--ink); background: #111; overflow: hidden }
.jas-root .move-cam video { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none }
.jas-root .move-cam canvas { width: 160px; height: 120px; display: block }
.jas-root .poster .move-layer { position: absolute; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none }
.jas-root .poster.pen canvas { touch-action: none; cursor: crosshair !important }
.jas-root .btn.toggle[aria-pressed="true"] { background: var(--ink); color: var(--rail); border-color: var(--ink) }
.jas-root .btn.toggle[aria-pressed="true"]::before { content: "\2713  " }
.jas-root .vchar { border: 1.5px solid var(--line, #d9d4c8); padding: 12px; display: grid; gap: 8px; background: color-mix(in srgb, var(--rail) 85%, var(--ink) 4%) }
.jas-root .vc-h { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted) }
.jas-root .vc-w { display: flex; flex-wrap: wrap; gap: 6px }
.jas-root .vc-chip { font-size: 14px; font-weight: 700; padding: 5px 10px; border: 1.5px solid var(--ink); border-radius: 999px }
.jas-root .vc-d { display: grid; grid-template-columns: auto 1fr; gap: 3px 12px; margin: 0; font-size: 13px }
.jas-root .vc-d dt { color: var(--muted) }
.jas-root .vc-d dd { margin: 0 }
.jas-root .check.hear { align-items: flex-start }
@media (max-width: 560px) {
.jas-root .mode-seg button { font-size: 14px; padding: 10px 4px }
 }



@media (min-width: 821px) {
.jas-root .stage > div:not(.status) { top: calc(var(--jas-top, 0px) + env(safe-area-inset-top, 0px) + 24px) }
.jas-root #jas-view { max-height: var(--jas-ph, calc(100vh - 200px - var(--jas-top, 0px))) }
}
/* Resets so the theme's button and form styles do not leak in */
.jas-root button, .jas-root input, .jas-root select { text-transform: none; letter-spacing: normal; border-radius: 0; box-shadow: none; text-shadow: none; min-height: 0; margin: 0; line-height: 1.15; width: auto; }
.jas-root .txt { width: 100%; }
/* Betheme turns every button into a centred inline-flex box with a gap; undo that inside the studio */
.jas-root button { gap: 0; height: auto; min-height: 0; line-height: 1.15; }
.jas-root .chip, .jas-root .fbtn { display: block; }
.jas-root .pal { display: flex; justify-content: stretch; align-items: stretch; }
.jas-root .pal i { min-width: 0; display: block; align-self: stretch; }
.jas-root .pal.orig { justify-content: center; align-items: center; }
.jas-root .seg button { display: inline-block; }
.jas-root .btn, .jas-root .order-btn { display: inline-flex; justify-content: center; align-items: center; gap: 6px; }
.jas-root .paper-opt { display: grid; justify-content: stretch; }
.jas-root .drop { display: grid; justify-content: stretch; }
.jas-root input[type=range] { width: 100%; padding: 0; border: 0; background: transparent; }
.jas-root h1 { font-family: var(--display); color: var(--ink); padding: 0; }
.jas-root .order-btn { width: 100%; font-size: 16px; padding: 14px; }
.jas-root .err { color: #b3261e; }
.jas-root .get-card { border: 1px solid var(--line); background: #fff; padding: 14px; display: grid; gap: 10px; }
.jas-root .get-head { display: flex; align-items: center; gap: 8px; font-size: 15px; }
.jas-root .get-head .tag { margin-left: auto; font-family: var(--mono); font-size: 11px; padding: 2px 7px; background: var(--chip); border: 1px solid var(--line); }
.jas-root .paper-icon { color: var(--ink); flex: none; }
.jas-root .get-text { margin: 0; font-size: 13px; line-height: 1.5; color: var(--ink); }
.jas-root .facts { margin: 0; padding-left: 18px; font-size: 12.5px; line-height: 1.55; color: var(--muted); }
.jas-root .sizes button { flex: 1 1 calc(50% - 4px); text-align: left; }
.jas-root .papers { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 6px; }
.jas-root .paper-opt { display: grid; gap: 3px; text-align: left; padding: 10px; border: 1px solid var(--line); background: var(--chip); color: var(--ink); cursor: pointer; font: inherit; }
.jas-root .paper-opt b { font-size: 14px; }
.jas-root .paper-opt small { font-size: 11.5px; color: var(--muted); line-height: 1.3; }
.jas-root .paper-opt span { font-family: var(--mono); font-size: 11.5px; }
.jas-root .paper-opt[aria-pressed="true"] { border: 2px solid var(--ink); padding: 9px; background: #fff; }
.jas-root .summary { display: grid; gap: 3px; padding: 10px 12px; background: #f6f4ee; border-left: 3px solid var(--accent); font-size: 13px; line-height: 1.45; }
.jas-root .summary .jas-colour { color: var(--muted); font-size: 12px; line-height: 1.45; margin-top: 4px; }
.jas-root .summary .jas-colour a { color: inherit; text-decoration: underline; }
.jas-root .summary b { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.jas-root .get .btn:not(.primary) { width: 100%; }
.jas-root { color-scheme: light; }
/* until the studio has drawn its first preview: a ready-looking poster, a quiet progress bar, controls on hold */
.jas-root .poster { position: relative; }
.jas-root .stage > div.jas-loading { position: absolute !important; left: 50%; top: 42% !important; width: auto !important; transform: translate(-50%, -50%); z-index: 6; display: grid; gap: 8px; justify-items: center; padding: 10px 14px; background: rgb(255 255 255 / .94); box-shadow: 0 6px 20px -8px rgb(0 0 0 / .35); font-size: 12.5px; color: var(--ink); line-height: 1.2; white-space: nowrap; }
.jas-root .jas-bar { width: 160px; height: 3px; background: var(--line); overflow: hidden; display: block; }
.jas-root .jas-bar i { display: block; height: 100%; width: 40%; background: var(--accent); animation: jasBar 1.1s ease-in-out infinite; }
@keyframes jasBar { from { transform: translateX(-100%); } to { transform: translateX(260%); } }
.jas-root.jas-ready .jas-loading, .jas-root.jas-ready .stage > div.jas-loading { display: none; }
.jas-root .order-series { width: 100%; margin-top: 8px; padding: 12px; font-weight: 700; }
.jas-root .madeby { font-size: 13px; line-height: 1.5; color: var(--ink); margin: 10px 0 0; padding: 9px 11px; border-left: 3px solid var(--accent); background: var(--chip); }
.jas-root .madeby a { color: var(--accent); }
.jas-root .status:not(.busy) { visibility: hidden; }
.jas-root:not(.jas-ready) aside { opacity: .55; pointer-events: none; transition: opacity .3s; }
@media (prefers-reduced-motion: reduce) { .jas-root .jas-bar i { animation: none; width: 100%; } }
.jas-root .jas-cur { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--muted); }
.jas-root .jas-cur[hidden] { display: none; }
.jas-root .jas-cur select { font: inherit; padding: 4px 8px; border: 1px solid var(--line); background: #fff; color: var(--ink); width: auto; }
.jas-root .sw { display: grid; }
.jas-root .vbar .btn { width: auto; }
/* Break out of narrow theme content columns, centred, with a 16px gutter on small screens */
.jas-root { width: min(1300px, calc(100vw - 32px)); max-width: none !important; margin-left: calc(50% - min(650px, 50vw - 16px)) !important; margin-right: 0 !important; }
