@media(max-width:700px) and (orientation:portrait){
#sailingControls,#shifts{display:none!important}.turnpanel{grid-template-rows:14px 29px 26px;gap:3px 6px;padding:3px 6px 4px}
#compactCourseButton,#compactShiftButton,#compactSpinButton{display:block;min-height:26px;padding:4px 3px;font-size:10px;line-height:16px;border:1px solid #b8ac8d;border-radius:4px;box-shadow:none;white-space:nowrap}
#compactCourseButton{grid-column:1;grid-row:2}#compactShiftButton{grid-column:2;grid-row:2}#compactSpinButton{grid-column:1;grid-row:3;font-size:9px}
.minoractions{grid-column:2;grid-row:3;align-self:stretch}.minoractions button{height:26px;min-height:26px;font-size:9px}#message{grid-row:4}#nextRaceBtn{grid-row:5}
#compactActionDialog{max-width:340px;padding:18px;border:1px solid #ad9b76;border-radius:10px;box-shadow:0 10px 40px #183a4666;background:#f5edd7}
#compactActionDialog h2{font-size:23px;line-height:27px;margin:0 0 5px}#compactActionDialog p{font-size:11px;line-height:16px;margin:0 0 14px;min-height:0;color:#64705d}
.compact-course-options{display:grid;grid-template-columns:repeat(3,1fr);gap:7px}.compact-course-options button{height:53px;padding:4px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px}.compact-course-options button>span{font-size:24px;line-height:27px}.compact-course-options .coursecost{font-size:10px;line-height:13px}.compact-course-options button:nth-child(1){grid-column:1;grid-row:1}.compact-course-options button:nth-child(2){grid-column:2;grid-row:1}.compact-course-options button:nth-child(3){grid-column:3;grid-row:1}.compact-course-options button:nth-child(4){grid-column:1;grid-row:2}.compact-course-options button:nth-child(5){grid-column:3;grid-row:2}.compact-course-options button:nth-child(6){grid-column:1;grid-row:3}.compact-course-options button:nth-child(7){grid-column:2;grid-row:3}.compact-course-options button:nth-child(8){grid-column:3;grid-row:3}
.compact-course-options .selected{background:#385d4a;color:#fff8e4}.compact-course-options button:disabled,.compact-shift-options button:disabled{opacity:.35}
.compact-shift-options{display:grid;grid-template-columns:1fr 1fr;gap:8px}.compact-shift-options button{min-height:48px;padding:8px 3px;font-size:12px}
#compactActionDialog .compact-close{display:block;width:100%;font-size:12px;min-height:36px;margin:15px 0 0;padding:6px}
}
