@media (height<=500px){.workbench-dialog.adventure-surface[data-tool=switches] header{padding:8px 12px}.workbench-dialog.adventure-surface[data-tool=switches] h2{font-size:18px;line-height:1.25}.workbench-dialog.adventure-surface[data-tool=switches] main{padding:10px 12px}.workbench-dialog.adventure-surface[data-tool=switches] .workbench-instruction{margin-bottom:6px;font-size:14px;line-height:1.4}.workbench-dialog.adventure-surface[data-tool=switches] .workbench-power{flex-direction:row;gap:12px;padding:4px 0}.workbench-dialog.adventure-surface[data-tool=switches] .workbench-meter{border-width:4px;flex-direction:column;gap:2px;width:90px;height:90px}.workbench-dialog.adventure-surface[data-tool=switches] .workbench-meter strong{font-size:26px}.workbench-dialog.adventure-surface[data-tool=switches] .workbench-meter small{font-size:7px}.workbench-dialog.adventure-surface[data-tool=switches] .workbench-switches{flex:0 auto;gap:8px;width:auto}.workbench-dialog.adventure-surface[data-tool=switches] .workbench-switches button{gap:4px;min-width:46px;padding:4px}.workbench-dialog.adventure-surface[data-tool=switches] .workbench-switches b{font-size:20px}.workbench-dialog.adventure-surface[data-tool=switches] .workbench-toggle{width:38px;height:56px;padding:4px}.workbench-dialog.adventure-surface[data-tool=switches] .workbench-toggle>i{height:22px}.workbench-dialog.adventure-surface[data-tool=switches] .workbench-output{margin-top:6px;padding:6px;font-size:16px}}.adventure-surface[data-adventure]{--adv-paper:42 43% 89%;--adv-ink:187 25% 19%;--adv-edge:36 28% 50%;--adv-soft:41 31% 82%;--adv-accent:177 28% 27%;--adv-on:44 70% 96%;--background:var(--adv-paper);--foreground:var(--adv-ink);--border:var(--adv-edge);--muted:var(--adv-soft);--primary:var(--adv-accent);--primary-foreground:var(--adv-on);--accent:var(--adv-soft);--ring:var(--adv-accent);--cw-paper:hsl(var(--adv-paper));--cw-ink:hsl(var(--adv-ink));--cw-line:hsl(var(--adv-edge));--cw-accent:hsl(var(--adv-accent));--cw-soft:hsl(var(--adv-soft));--cw-green:hsl(var(--adv-accent));border:2px solid hsl(var(--adv-edge));background:linear-gradient(145deg,hsl(var(--adv-paper)),hsl(var(--adv-soft)));color:hsl(var(--adv-ink));box-shadow:inset 0 0 0 5px hsl(var(--adv-paper)/.3),0 24px 80px hsl(var(--adv-ink)/.5);border-radius:12px;font-family:Georgia,serif}.adventure-surface[data-adventure=luna]{--adv-paper:199 36% 13%;--adv-ink:151 29% 91%;--adv-edge:184 18% 48%;--adv-soft:195 25% 22%;--adv-accent:161 65% 72%;--adv-on:198 45% 10%;background:radial-gradient(ellipse at top left,hsl(var(--adv-edge)/.3),transparent 60%),linear-gradient(145deg,hsl(var(--adv-soft)),hsl(var(--adv-paper)))}.adventure-surface[data-adventure=muzeum]{--adv-accent:14 40% 34%;--adv-soft:39 32% 82%}.adventure-surface[data-adventure=atlas]{--adv-accent:155 24% 28%;--adv-edge:32 30% 52%}.adventure-surface[data-adventure] header,.adventure-surface[data-adventure] footer{border-color:hsl(var(--adv-edge)/.65);background:0 0}.adventure-surface[data-adventure] header{border-bottom:1px solid hsl(var(--adv-edge));position:relative}.adventure-surface[data-adventure] header:before,.adventure-surface[data-adventure] header:after{content:"";border:1px solid hsl(var(--adv-edge));background:hsl(var(--adv-soft));border-radius:50%;width:6px;height:6px;position:absolute;top:6px}.adventure-surface[data-adventure] header:before{left:6px}.adventure-surface[data-adventure] header:after{right:6px}.adventure-surface[data-adventure] h2{letter-spacing:.02em;font-family:Georgia,serif}.adventure-surface[data-adventure] small{letter-spacing:.1em;font-family:ui-monospace,monospace}.adventure-surface[data-adventure] .workbench-output{border-top:1px solid hsl(var(--adv-edge)/.4);margin-top:18px;font-family:ui-monospace,monospace;font-size:clamp(1rem,3vw,1.35rem)}.workbench-dialog.adventure-surface[data-adventure][open]{flex-direction:column;display:flex;overflow:hidden}.workbench-dialog.adventure-surface[data-adventure] main{flex:1;min-height:0;max-height:none}.workbench-dialog.adventure-surface[data-adventure] header,.workbench-dialog.adventure-surface[data-adventure] footer{flex-shrink:0}.adventure-surface[data-adventure] .workbench-power{justify-content:center;align-items:center;gap:24px;padding:14px 0;display:flex}.adventure-surface[data-adventure] .workbench-meter{border:7px double hsl(var(--border));background:hsl(var(--foreground));width:152px;height:152px;color:hsl(var(--background));border-radius:50%;flex-direction:column;flex-shrink:0;justify-content:center;align-items:center;gap:4px;display:flex}.adventure-surface[data-adventure] .workbench-meter small{letter-spacing:.04em;color:inherit;font-size:9px}.adventure-surface[data-adventure] .workbench-meter strong{font:700 40px/1.1 Georgia,serif}.adventure-surface[data-adventure] .workbench-meter span{font:10px Georgia,serif}.adventure-surface[data-adventure] .workbench-switches{flex-wrap:nowrap;gap:clamp(5px,2vw,20px);min-width:0;margin:0}.adventure-surface[data-adventure] .workbench-switches button{min-width:0;min-height:44px;box-shadow:none;border:0;justify-items:center;gap:10px;padding:6px;color:hsl(var(--foreground))!important;background:0 0!important}.adventure-surface[data-adventure] .workbench-switches b{font:700 clamp(1.3rem,3vw,1.8rem) Georgia,serif}.adventure-surface[data-adventure] .workbench-toggle{border:1px solid hsl(var(--border));background:hsl(var(--foreground)/.08);width:48px;height:88px;box-shadow:inset 0 3px 9px hsl(var(--foreground)/.2);border-radius:18px;align-items:flex-end;padding:5px;display:flex}.adventure-surface[data-adventure] .workbench-toggle>i{background:hsl(var(--foreground)/.55);width:100%;height:32px;box-shadow:inset 0 2px 2px hsl(var(--background)/.5);border-radius:10px;display:block}.adventure-surface[data-adventure] .workbench-switches [aria-pressed=true] .workbench-toggle{border-color:hsl(var(--primary));align-items:flex-start}.adventure-surface[data-adventure] .workbench-switches [aria-pressed=true] .workbench-toggle>i{background:hsl(var(--primary));box-shadow:0 0 14px hsl(var(--primary)/.25)}.adventure-surface[data-adventure] .workbench-switches span{white-space:nowrap;letter-spacing:0;font-family:ui-monospace,monospace;font-size:10px}.adventure-surface[data-adventure] .workbench-source img{object-fit:contain;width:100%;height:auto;max-height:420px;margin-top:12px;display:block}.adventure-surface[data-adventure] .workbench-traces section{background:hsl(var(--background)/.5);border-radius:6px}.adventure-surface[data-adventure] .workbench-grid span{border-radius:3px}@media (width<=600px){.adventure-surface[data-adventure] .workbench-power{flex-direction:column;gap:8px;padding:8px 0}.adventure-surface[data-adventure] .workbench-meter{border-width:3px;border-radius:12px;flex-direction:row;gap:10px;width:100%;height:64px}.adventure-surface[data-adventure] .workbench-meter strong{font-size:30px}.adventure-surface[data-adventure] .workbench-meter small{font-size:9px}.adventure-surface[data-adventure] .workbench-switches{justify-content:space-between;gap:2px;width:100%}.adventure-surface[data-adventure] .workbench-switches button{flex:1;padding:4px}.adventure-surface[data-adventure] .workbench-toggle{width:38px;height:70px;padding:4px}.adventure-surface[data-adventure] .workbench-toggle>i{height:26px}.adventure-surface[data-adventure] .workbench-switches span{font-size:9px}.workbench-dialog.adventure-surface[data-adventure] footer p{font-size:12px}.workbench-dialog.adventure-surface footer{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:10px 12px;display:grid}.workbench-dialog.adventure-surface footer button{white-space:nowrap}.workbench-dialog.adventure-surface .workbench-instruction{margin-bottom:12px}}
