/* Keep both pictures prominent at every window size. */
.app-shell{max-width:none;width:100%;height:100dvh;padding:0 max(6px,env(safe-area-inset-right)) 0 max(6px,env(safe-area-inset-left));grid-template-rows:42px minmax(0,1fr) 16px}
.topbar{gap:10px}.brand{gap:7px}.brand img{width:30px;height:30px}.brand strong{font-size:15px}.brand small,.header-note,.sidebar{display:none}.header-actions{margin-left:auto;gap:2px}.icon-button{display:grid;width:32px;height:32px}.icon-button svg{width:18px;height:18px}.album-button{padding:7px 10px;font-size:11px}.workspace{gap:0}.game{grid-template-rows:38px minmax(0,1fr) 19px 42px;padding:0;gap:0}.scene-toolbar{gap:8px}.scene-title{display:flex;align-items:center;gap:12px;min-width:0}.scene-title h1{font-size:16px;margin:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.scene-title .eyebrow{font-size:9px;letter-spacing:1px;white-space:nowrap}.round-status{gap:12px;flex-shrink:0}.found-label{font-size:10px}.found-label strong{font-size:14px}.progress-block{min-width:0;display:flex;align-items:center;gap:9px}.progress-caption{gap:7px;margin:0;font-size:10px}.progress-caption strong{font-size:13px}.progress-dot{width:19px;height:16px;font-size:10px}.progress-dots{gap:4px}.portrait-switch{display:none}.board{display:grid;gap:5px;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:minmax(0,1fr)}.board.stacked{grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) minmax(0,1fr)}.picture,.picture.mobile-visible{display:flex;height:auto;position:relative;border-radius:8px;border:0}.picture-heading{position:absolute;z-index:2;left:7px;top:7px;height:24px;padding:0 7px;border:1px solid #ffffffb8;border-radius:7px;background:#ffffffe8;pointer-events:none;color:#334d71;font-size:10px}.picture-heading small{display:none}.picture-heading b{margin-right:4px}.viewport{background:#e5eaf1;background-image:none}.art-group{box-shadow:none}.feedback{font-size:10px}.tool-tray{border-radius:8px;gap:10px;padding:2px 8px;justify-content:center}.tool{height:32px;font-size:10px;padding:0 9px;gap:5px}.tool-group{padding:1px}.tool svg{width:16px;height:16px}.tool-divider{height:20px}.zoom-group button{height:30px;width:27px}.zoom-group span{font-size:10px}.elapsed{display:none}.view-fit{background:#e8efff;color:#3069cc}.view-fit[aria-pressed=false]{background:#eef1f6;color:#65768e}footer{font-size:8px}.footer-center{display:none}.pan-range{position:absolute;z-index:3;margin:0;accent-color:#387bf1;opacity:.88;touch-action:none}.pan-range[hidden]{display:none}.pan-x{bottom:7px;left:25%;width:50%;height:14px}.pan-y{right:7px;top:25%;height:50%;width:14px;writing-mode:vertical-lr;direction:rtl}.toast{bottom:75px}.round-result{bottom:25px}
@media(max-width:650px){.app-shell{padding-left:3px;padding-right:3px;grid-template-rows:38px minmax(0,1fr) 14px}.brand strong{font-size:13px}.brand img{width:27px;height:27px}.brand{gap:5px}.album-button span:last-child{display:none}.album-button{padding:7px;margin-left:0}.icon-button,#fullBtn{display:grid;width:29px;height:30px}.header-actions{gap:0}.game{grid-template-rows:43px minmax(0,1fr) 18px 42px}.scene-title{display:block;min-width:0}.scene-title h1{font-size:12px;margin-top:2px}.scene-title .eyebrow{font-size:8px}.round-status{gap:7px}.found-label{font-size:9px}.found-label strong{font-size:12px}.progress-block{display:block;min-width:84px}.progress-caption{font-size:9px;margin-bottom:3px}.progress-dot{width:14px;height:12px;border-radius:4px;font-size:8px}.progress-dots{gap:3px}.tool-tray{gap:3px;padding:2px;justify-content:space-around}.tool{font-size:9px;padding:0 5px;gap:3px}.tool svg{width:14px;height:14px}.tool-divider{display:none}.zoom-group{gap:0}.zoom-group button{width:23px}.zoom-group span{min-width:29px;font-size:9px}.tool-group #drawBtn span:last-child,.tool-group #moveBtn span:last-child{display:none}.feedback{font-size:9px}.picture-heading{top:4px;left:4px;height:21px;font-size:9px}}
@media(max-height:480px) and (orientation:landscape){.app-shell{grid-template-rows:32px minmax(0,1fr) 12px}.topbar .brand img{width:24px;height:24px}.game{grid-template-rows:29px minmax(0,1fr) 15px 34px}.scene-title h1{font-size:12px}.tool{height:28px}.feedback{font-size:9px}.picture-heading{height:20px;top:4px;left:4px}.progress-caption{font-size:9px}.progress-dot{height:12px}footer{font-size:7px}}
