/* Cut to Keep 0.4: stable board, separate help, two menu destinations. */
.home-destinations{grid-template-columns:repeat(2,minmax(0,1fr))!important}
.open-invite-link{font-size:15px;min-height:44px;padding:6px 12px}
.home-art h1{letter-spacing:-.045em}
.workbench-card .cut-hint{position:relative;inset:auto;flex:none;max-height:300px;overflow:auto;box-shadow:none;margin:0;padding:12px}
.workbench-card .cut-hint p{font-size:16px;line-height:1.4;padding:0;margin:6px 0 10px}
.cut-hint .eyebrow{display:block;padding-right:42px;min-height:30px}
.hint-shape{display:flex;align-items:center;gap:12px;margin:8px 0 12px;font-size:15px;line-height:1.35}
.hint-shape svg{width:80px;height:70px;flex:none}
.hint-shape span{max-width:230px}
.cut-modal textarea,.cut-modal select{width:100%;box-sizing:border-box;background:#142318;border:1px solid #6f855b;border-radius:10px;color:#eef3e8;font:inherit;padding:10px;margin:8px 0 16px}
.feedback-link{font-size:14px!important;min-height:44px!important}
.restart-shortcut{font-size:24px!important}
/* A short instruction occupies a fixed slot. It never floats over the tool. */
.cut-coach-slot{flex-basis:166px}
.cut-spotlight-coach h2{font-size:20px;line-height:1.15;margin:2px 0 4px}
.cut-spotlight-coach p{font-size:16px;line-height:1.3}
.cut-spotlight-meta{font-size:12px;line-height:16px;letter-spacing:.04em}
.cut-spotlight-tools{margin-top:2px}
.cut-spotlight-tools button{min-height:44px}
@media(max-width:700px){
 .workbench-card .cut-hint{grid-column:1/-1;grid-row:4;max-height:none;margin-top:8px}
 .workbench-card:has(.cut-hint){overflow:visible}
 .compact-shell:has(.cut-hint){height:auto;min-height:100vh;min-height:100svh}
 .workbench-card:has(.cut-hint) .cut-workspace{grid-template-rows:104px 280px auto auto}
 .cut-coach-slot{flex-basis:152px}
 .cut-spotlight-coach{padding:7px 10px 2px}
 .cut-spotlight-coach h2{font-size:19px}
 .cut-spotlight-coach p{font-size:16px;line-height:1.25}
 .is-guided .board-legend{display:none}
 .is-guided .chain-panel .sheet-queue{height:44px;min-height:44px}
 .is-guided .chain-panel .sheet-queue button{height:44px;min-height:44px}
 .workbench-header nav{gap:2px}
 .workbench-header nav button{min-width:42px;padding:5px}
}
@media(min-width:701px){.decision-panel{overflow:auto;padding-right:3px}}
@media(min-width:560px) and (max-height:470px){
 .cut-coach-slot{flex-basis:auto}
 .workbench-card .cut-hint{grid-column:1;grid-row:4;max-height:none}
 .decision-panel:has(.cut-hint){overflow:auto}
}
@media(prefers-reduced-motion:no-preference){.final-kept-cell{animation:cut-kept .3s ease-out}@keyframes cut-kept{from{filter:brightness(1.8)}to{filter:brightness(1)}}}
.reduced .final-kept-cell{animation:none}
@media(max-width:700px){.cut-coach-slot{flex-basis:160px}.cut-spotlight-coach h2{font-size:18px;line-height:21px}.cut-spotlight-coach .cut-spotlight-tools{margin-top:0}}
@media(max-width:700px) and (min-height:471px){
 .is-guided.has-queue .play-column{display:grid;grid-template-columns:minmax(0,1fr) 56px;grid-template-rows:minmax(0,1fr) 160px;gap:5px}
 .is-guided.has-queue .board-area{grid-column:1;grid-row:1}
 .is-guided.has-queue .chain-panel{grid-column:2;grid-row:1;min-height:0}
 .is-guided.has-queue .sheet-queue{flex-direction:column;height:100%;min-height:0;overflow-y:auto;overflow-x:hidden;gap:3px}
 .is-guided.has-queue .sheet-queue button{flex:0 0 44px;min-width:54px;max-width:54px;width:54px}
 .is-guided.has-queue .cut-coach-slot{grid-column:1/-1;grid-row:2}
}
/* On phones help replaces the preview rail, never the material. Its own scroll
   keeps long explanations readable while the board stays on screen. */
@media(max-width:700px) and (min-height:471px){
 .compact-shell:has(.cut-hint){height:100vh;height:100svh;min-height:0}
 .workbench-card:has(.cut-hint){overflow:hidden}
 .workbench-card:has(.cut-hint) .cut-workspace{grid-template-rows:190px minmax(0,1fr) auto}
 .workbench-card:has(.cut-hint) .target-box,.workbench-card:has(.cut-hint) .tool-comparison{display:none}
 .workbench-card .cut-hint{grid-column:1/-1;grid-row:1;max-height:190px;height:190px;overflow:auto;margin:0}
 .workbench-card .cut-hint p{font-size:16px;line-height:1.3;margin:3px 0 6px}
 .workbench-card .cut-hint .eyebrow{min-height:24px}
 .workbench-card .cut-hint button:not(.hint-close){min-height:44px;font-size:14px;padding:5px 7px}
 .hint-shape{margin:3px 0;font-size:14px}.hint-shape svg{height:44px;width:64px}
 .hint-ad-row{display:inline-block}
 .workbench-card:has(.cut-hint) .play-column{display:grid;grid-template-columns:minmax(0,1fr) 60px;grid-template-rows:minmax(0,1fr);gap:5px}
 .workbench-card:has(.cut-hint) .board-area{grid-column:1;grid-row:1}
 .workbench-card:has(.cut-hint) .board-legend{display:none}
 .workbench-card:has(.cut-hint) .chain-panel{grid-column:2;grid-row:1;min-height:0}
 .workbench-card:has(.cut-hint) .sheet-queue{flex-direction:column;height:100%;min-height:0;overflow-y:auto;overflow-x:hidden}
 .workbench-card:has(.cut-hint) .sheet-queue button{flex:0 0 54px;height:54px;min-height:54px;min-width:56px;max-width:56px}
 .workbench-card:has(.cut-hint) .sheet-queue svg{height:28px}
}
.hint-target{float:right;margin:28px 0 4px 8px;display:flex;flex-direction:column;align-items:center;width:48px;color:#ead38e}
.hint-target svg{width:36px;height:32px}.hint-target small{font-size:12px;white-space:nowrap}
/* A compact native select keeps all five languages one tap away. */
.home-header{flex-wrap:wrap}
.home-header .language-picker{order:4;margin-left:auto;width:76px;min-height:32px;padding:3px 5px;border:1px solid #536749;border-radius:8px;background:#18271d;color:#dce7cf;font-family:inherit;font-weight:600;font-size:12px;line-height:1.2;cursor:pointer}
.home-header .home-player{min-width:0;overflow:hidden;text-overflow:ellipsis;max-width:160px}
.settings-row .language-picker{width:110px;min-height:44px;background:#18271d;border:1px solid #6f855b;border-radius:9px;color:#edf3e5;font:inherit;padding:7px}
@media(max-width:420px){.home-header{gap:6px}.home-header .home-player{max-width:100px}.home-header .language-picker{width:67px}.home-header .home-balance{margin-left:auto}}
@media(max-width:700px){
 .home-header{display:grid;grid-template-columns:44px minmax(0,1fr) auto 67px;gap:6px}
 .home-header .home-settings{grid-column:1;width:44px;min-width:44px;padding:5px}
 .home-header .home-player{grid-column:2;width:100%;max-width:none;font-size:14px;padding-inline:0}
 .home-header .home-balance{grid-column:3;margin:0;padding:6px;gap:4px}
 .home-header .home-balance .hc-icon{width:25px;height:25px}
 .home-header .home-balance b{font-size:18px}.home-header .home-balance span{font-size:12px}
 .home-header .language-picker{grid-column:4;margin:0;width:67px;min-width:0}
}
@media(max-width:559px) and (max-height:700px){
 .simple-home .home-heckler{height:110px;max-width:180px}
 .simple-home .home-actions{gap:8px}
 .simple-home .home-utilities button{font-size:15px;padding:7px;min-height:52px}
 .simple-home .home-destinations button{min-height:74px}
 .simple-home .open-invite-link{font-size:14px;padding:5px;min-height:44px}
}
@media(max-width:700px){.essential-actions{grid-template-columns:58px minmax(64px,.85fr) minmax(54px,.75fr) minmax(90px,1.35fr)}}
