
/* Display the complete supplied PNG once, at its native aspect ratio.
   All modifications below are mobile-only. No artwork is cut into slices. */
.aq-portrait-art{display:none}
@media(max-width:1199px){
 #workspace.machine{position:relative;display:block;box-sizing:border-box;width:100%;max-width:680px;height:auto;min-height:0;aspect-ratio:941/1672;margin:0 auto;padding:0;border:0;border-radius:0;background:#000;box-shadow:none;overflow:hidden;isolation:isolate}
 #workspace::before,#workspace::after,#workspace .art-stage,#workspace .mobile-base,#mobile-frame-art{display:none!important}
 #workspace .aq-portrait-art{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:contain;z-index:0;pointer-events:none}
 #workspace .aperture{position:absolute;inset:16.2% 8.2% 15.6%;box-sizing:border-box;width:auto;height:auto;min-height:0;max-height:none;margin:0;padding:0 6px 12px;display:block;background:transparent;border:0;border-radius:0;box-shadow:none;overflow-x:hidden;overflow-y:auto;overscroll-behavior-y:contain;scrollbar-width:thin;scrollbar-color:#ac8e46 #000;scroll-padding-top:58px;z-index:1;clip-path:none;-webkit-overflow-scrolling:touch}
 #workspace .workflow{position:sticky;top:0;z-index:4;background:#000;margin:0 0 13px;padding:5px 0 9px;min-height:0;height:auto;border-bottom:1px solid #8d793e70}
 #workspace .steps{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;margin:0;padding:0}
 #workspace .steps button{display:flex;justify-content:center;gap:4px;padding:4px 0;font-size:10px;min-height:38px;white-space:nowrap}
 #workspace .steps button b{width:19px;height:19px;font-size:10px;flex-shrink:0}
 #workspace .screen{position:relative;inset:auto;width:100%;height:auto;min-height:0;max-height:none;padding:0;margin:0;overflow:visible;display:block;flex:none;transform:none}
 #workspace .screen[hidden]{display:none!important}
 #workspace .screen-head{display:block;margin:0 0 14px;padding:0;min-height:0}
 #workspace .screen-head h2{font-size:clamp(23px,5.6vw,32px);line-height:1.15;margin:0}
 #workspace .supporting{font-size:13px;line-height:1.4;margin:7px 0 0}
 #workspace .small-note{display:none}
 #workspace .strategy-grid{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:none;grid-auto-rows:auto;gap:10px;height:auto;margin:0;padding:0}
 #workspace .strategy-card{display:flex;flex-direction:column;align-items:stretch;justify-content:center;gap:10px;min-height:116px;height:auto;padding:14px 12px;margin:0;min-width:0;max-width:100%}
 #workspace .strategy-title-row{display:grid;grid-template-columns:40px minmax(0,1fr);gap:11px;align-items:center}
 #workspace .strategy-symbol{width:40px;height:40px;flex-basis:40px}
 #workspace .strategy-symbol svg{width:32px;height:32px}
 #workspace .strategy-card strong{font-size:clamp(23px,6vw,30px);line-height:1.1;white-space:normal;overflow-wrap:normal}
 #workspace .strategy-card small{font-size:15px;line-height:1.35;white-space:normal}
 #workspace .tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));height:auto;margin:10px 0 16px;gap:5px;overflow:visible}
 #workspace .tabs button{white-space:normal;min-height:44px;font-size:14px;padding:8px 6px}
 #workspace #settings-form,#workspace .field-grid{height:auto;min-height:0;max-height:none;overflow:visible}
 #workspace .field-grid{display:grid;grid-template-columns:1fr;gap:15px;padding:0}
 #workspace .field{min-width:0}
 #workspace .field input,#workspace .field select{font-size:16px;min-height:44px;width:100%;max-width:100%}
 #workspace .field label{font-size:14px;line-height:1.3}
 #workspace .config-footer{position:static;display:flex;flex-direction:column;align-items:stretch;gap:14px;padding:16px 0 0;margin-top:17px;background:transparent}
 #workspace .random-area{display:block;width:100%}
 #workspace #randomize,#workspace #run{width:100%;min-height:55px;font-size:18px;padding:11px 8px}
 #workspace #randomize small,#workspace #run small{font-size:11px}
 #workspace .loading-screen{height:auto;min-height:350px}
 #workspace .loading-content{min-height:0;padding:5px 0;gap:0}
 #workspace .loading-content h2{font-size:clamp(23px,6vw,35px);line-height:1.2}
 #workspace .loading-content .eyebrow{font-size:9px;line-height:1.4}
 #workspace .loading-snapshot{font-size:11px}
 #workspace .loading-ornament{margin:12px 0}
 #workspace .progress{height:60px;min-height:60px;margin:6px 0}
 #workspace .loading-meta{font-size:10px;gap:8px;margin:4px 0;min-height:18px}
 #workspace .activity-log{height:60px;min-height:60px;margin-top:10px;padding:8px 5px;font-size:10px}
 #workspace .loading-bottom{display:flex;gap:8px;margin-top:8px}
 #workspace .loading-bottom button{font-size:11px;min-height:40px}
 #workspace .summary-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
 #workspace .summary-metrics dd{font-size:25px}
 #workspace .mini-chart{height:140px;min-height:140px;max-height:140px;margin:15px 0}
 #workspace .result-navigation{display:grid;grid-template-columns:1fr 1fr;gap:12px}
 #workspace .report-explore{font-size:18px;min-height:48px}
 #workspace .premium-pair{display:flex;flex-direction:column;gap:12px}
 #workspace .premium-pair button{width:100%;max-width:none;min-height:56px;flex-direction:row;border-radius:28px;font-size:16px}
 #workspace .premium-pair button>span:first-child{max-width:none}
 #workspace .winner-layer{overflow:hidden}
 #workspace.is-celebrating .aperture{visibility:hidden}
}
@media(max-width:350px){
 #workspace .aperture{padding-left:3px;padding-right:3px}
 #workspace .steps button{font-size:9px;gap:2px}
 #workspace .steps button b{width:16px;height:16px;font-size:9px}
 #workspace .strategy-title-row{grid-template-columns:32px minmax(0,1fr);gap:8px}
 #workspace .strategy-symbol{width:32px;height:32px}
 #workspace .strategy-symbol svg{width:28px;height:28px}
 #workspace .strategy-card{padding:12px 9px}
 #workspace .strategy-card strong{font-size:22px}
 #workspace .loading-screen{min-height:0}
 #workspace .loading-content h2{font-size:22px}
 #workspace .loading-ornament{display:none}
 #workspace .loading-content .eyebrow{font-size:8px;margin-top:0}
 #workspace .loading-snapshot{font-size:10px;margin:4px 0}
 #workspace .loading-content h2{margin:3px 0 8px}
 #workspace .loading-content .eyebrow{margin-bottom:5px}
 #workspace.is-loading .workflow{margin-bottom:7px}
 #workspace .progress{height:50px;min-height:50px;margin:5px 0}
 #workspace .activity-log{height:48px;min-height:48px;margin-top:6px}
}

