/* Uma barra por experiência, cores locais preservadas. */
body:has(.fish-shell)>header{display:none}body:has(.fish-shell){background:#304e42}body:has(.fish-shell)>#app{padding:5px 8px;max-width:1100px} .fish-shell .fish-top{display:flex;align-items:center;gap:8px;background:#345748;color:#fff0c5;padding:5px 8px;border-bottom:2px solid #203c31;margin-bottom:6px}.fish-top strong{flex:1;text-align:center;font:700 clamp(12px,2vw,17px)/1.15 ui-monospace,Consolas,monospace}.fish-top .mt-full{box-shadow:0 2px #192e25!important}.fish-top [data-fish-home]{font-size:12px;padding:5px 8px;min-height:36px}.fish-shell .fish-hud{margin-bottom:5px}.fish-shell .fish-foot{color:#f1e8c9;text-align:center}.fish-shell .fish-hero>div{padding:9px 12px}.fish-shell .fish-hero p{font-size:13px}.fish-shell>.muted:not(.fish-foot){color:#f1e8c9}.fish-shell .fish-play{margin:0}.fish-shell:has(.fish-play){max-width:min(800px,calc((100dvh - 210px)*16/9))}.fish-shell:has(.fish-play) .fish-scene{max-height:none}.fish-shell .fish-top button:focus-visible{outline:3px solid #ffd67d}.fish-shell .fish-top .mt-full[hidden]{display:none!important}
body:has(.kit-menu,.kitchen-play,.kit-result) #farmFull:not([hidden]){display:inline-grid;place-items:center}body:has(.kit-menu,.kitchen-play,.kit-result)>header nav{justify-content:flex-start}body:has(.kit-menu,.kitchen-play,.kit-result)>header #settingsBtn{margin-left:auto}body:has(.kit-menu) #kitBack{display:none}body:has(.kit-menu,.kitchen-play,.kit-result)>header #homeBtn::before{content:'← '}
:is(.b6top,.px-top,.h2top,.c6top,.m5-top)>strong{font-family:ui-monospace,Consolas,monospace;min-width:0;white-space:normal;text-align:center} :is(.b6top,.px-top,.h2top,.c6top,.m5-top) button[data-full]{border-radius:3px!important} :is(.b6hero,.h2sign,.c6sign,.d-hero-title)>small,:is(.b6hero,.h2sign,.c6sign,.d-hero-title)>span:first-child:not([class]){display:none} .b6hero h1,.d-hero h1,.h2sign h1,.c6sign h1{font-family:ui-monospace,Consolas,monospace;letter-spacing:-.04em}.b6top [data-home],.px-top [data-home]{font-size:12px!important;white-space:nowrap}.fish-top strong,.kit-menu h1{letter-spacing:0}body:has(.fish-shell) #toast{color:#fff}.fish-shell .fish-level:disabled{opacity:.65}
@media(max-width:600px) and (orientation:portrait){.fish-shell:has(.fish-play){max-width:100%}}@media(max-height:500px) and (orientation:landscape){.fish-shell:has(.fish-play){max-width:100%}.fish-shell .fish-play{display:grid;grid-template-columns:minmax(0,1fr) minmax(210px,.75fr);align-items:center;gap:5px}.fish-shell .fish-control{border-top:3px solid var(--fish-edge)}.fish-shell .fish-action-row{gap:4px}.fish-shell .fish-hud>div{padding:3px}.fish-shell .fish-foot{margin:3px 0}.fish-shell .fish-top{padding:3px 5px}.fish-shell .fish-scene{min-width:0}}

.fish-top .fish-tool{flex:none;min-width:32px;min-height:36px;padding:4px 6px;background:#e6d7ab;color:#314938;font-size:16px}.fish-top .fish-tool:focus-visible{outline:3px solid #ffd67d}.fish-top [data-mt-full]{flex:none}.fish-top strong{overflow-wrap:anywhere}@media(max-width:380px){.fish-top{gap:4px!important}.fish-top [data-fish-home]{font-size:10px;padding:3px 4px;min-width:0}.fish-top .fish-tool{min-width:28px;min-height:32px;padding:3px 4px}.fish-top strong{font-size:11px}}
:is(.b6top,.px-top,.h2top,.c6top,.m5-top) [data-full][hidden]{display:none!important}:is(.b6top,.px-top,.h2top,.c6top,.m5-top) [data-full] svg{width:19px;height:19px;stroke:currentColor;fill:none;stroke-width:2.5;vertical-align:middle}
/* Short viewports: retain gameplay controls; compress repeated chrome rather than clip action areas. */
@media(max-height:500px) and (orientation:landscape){
 .b6.b62playing .b6top,.d631 .px-top{padding:2px 6px;gap:4px}.b6.b62playing .b6top button,.d631 .px-top button{min-height:32px;padding:3px 7px}.b62playing .b62session{padding:4px 7px;gap:4px}.b62playing .b6hud>span{padding:3px 5px;font-size:10px}.b62playing .b6hud b{font-size:15px}.b62playing .b62bar,.b62playing .b62bar button{min-height:30px;padding-block:2px}.b62playing .b6station{padding:2px}.b62playing .b6stationlabel{min-height:18px;padding:1px 3px}.b62playing .b62empty{padding:2px}.b62playing .b6slots{margin-top:1px}.b62playing .b6steps{display:none}.b6.b62playing .b6orders{padding:4px}.b62playing .b62orderhead{margin-bottom:3px}.b62playing .b62orderhead h2{font-size:14px}.b62playing .px-order-scene{min-height:30px;padding:2px 5px;margin-bottom:3px}.b62playing .px-order-scene img{height:28px;width:auto}.b62playing .px-order-scene span{font-size:10px}.b62playing .b6ticket{padding:4px}.b62playing .b6orderline{margin-top:2px;padding-top:2px}.b62playing .b6orderline button{min-height:32px;padding:3px 6px}.b62playing .b6visual{max-height:90px;width:min(100%,155px);align-self:center}.b62playing .b62focushead{padding:3px 6px 1px}.b62playing .b62hint{font-size:11px;padding:2px 6px}.b62playing .b6controls{padding:3px 6px;gap:3px}.b62playing .b6gauge{height:26px}.b62playing .b6controls>button:not([data-act=discard]){min-height:34px;font-size:12px}.b62playing .b6adjust button{min-height:30px}.b62playing .b6localmsg{min-height:24px;padding:3px}.b62playing .b62secondary{min-height:20px}.b62playing .b62secondary button[data-act=discard]{min-height:20px}.b62playing .b62heat{padding:2px 5px}
 .d631 .d-session{padding:3px 6px;gap:4px}.d631 .d-hud>span{padding:2px 4px;font-size:11px}.d631 .d-hud b{font-size:15px}.d631 .d-orders button{min-height:30px;padding:2px 4px}.d631 .d-work{display:grid;grid-template-columns:auto minmax(0,1fr)}.d631 .d-head{padding:3px 6px;gap:10px;min-width:0}.d631 .d-head h2{font-size:14px}.d631 .d-head small{font-size:8px}.d631 .d-req{padding:2px 4px;align-items:center;gap:3px}.d631 .d-req>span{padding:1px 3px;font-size:10px}.d631 .d-req img{width:17px;height:17px}.d631 .d-workgrid{grid-column:1/-1;grid-template-columns:minmax(150px,.65fr) minmax(0,1.35fr);padding:4px;gap:4px}.d631 .d-stockarea,.d631 .d-packarea{gap:3px}.d631 .d-label{padding:2px 4px;min-height:0;font-size:10px}.d631 .d-label small{font-size:9px}.d631 .d-stock{padding:3px;gap:3px;grid-template-columns:repeat(3,minmax(0,1fr))}.d631 .d-stock button{min-height:43px;padding:1px;font-size:10px}.d631 .d-stock img{height:23px}.d631 .d-packarea{grid-template-columns:minmax(0,1fr) minmax(125px,.65fr);align-items:center;align-content:start}.d631 .d-packarea .d-label,.d631 .d-selection{grid-column:1/-1}.d631 .d-selection{min-height:30px;padding:2px 4px}.d631 .d-selection button{min-height:28px;padding:2px 4px}.d631 .d-table{padding:3px}.d631 .d-board,.d631.d-weighted .d-board{--unit:clamp(25px,calc((100dvh - 200px)/var(--rows)),47px);border-width:4px;padding:2px}.d631 .d-bottom button{min-height:34px;font-size:11px;padding:4px}.d631 .d-feedback{min-height:24px;font-size:10px;padding:3px}.d631 .d-foot{display:none}
 .fish-shell .fish-top{margin-bottom:4px}.fish-shell .fish-hud{margin-bottom:3px}.fish-shell .fish-scene{max-height:calc(100dvh - 145px);justify-self:center;width:auto;max-width:100%;height:auto;aspect-ratio:16/9}.fish-shell .fish-foot{margin:2px 0;line-height:1.1}
}
@media(max-width:380px) and (max-height:650px) and (orientation:portrait){.d631 .d-session{gap:3px;padding:4px}.d631 .d-head{padding:2px 5px}.d631 .d-head h2{font-size:15px}.d631 .d-req{padding:2px 3px}.d631 .d-label{padding:2px 4px}.d631 .d-workgrid{gap:3px;padding:3px}.d631 .d-board,.d631.d-weighted .d-board{--unit:min(13vw,42px);border-width:3px;padding:2px}.d631 .d-stock button{min-height:43px}.d631 .d-selection{min-height:30px}.d631 .d-feedback{min-height:24px;padding:2px 4px}.d631 .d-bottom button{min-height:36px}.d631 .d-table{padding:3px}.d631 .d-bottom{gap:3px}}
