:root{--paper:#faf5e8;--ink:#254b3d;--line:#d5dacc;--teal:#356953}body,button,input,select{font-family:Arial,Helvetica,sans-serif}body{background:#f5f1e5;background-image:none}h2,h3{font-family:Arial,Helvetica,sans-serif;font-weight:600}.brand,#compactOwnBoat strong,dialog h2{font-family:Georgia,serif}.brand{letter-spacing:1.4px}.panel{background:#faf7ee;background-image:none;box-shadow:none}.sea-panel{background:#e7efea;border-color:#c9b88f;box-shadow:none}.board{background:#e7efea;background-image:none}
#board>svg>path[stroke="#849f94"]{stroke:#97ada2;opacity:.27}#board>svg>path[stroke="#b39d68"]{stroke:#9dae9e;opacity:.19}#board>svg>path[stroke="#7d9e87"]{stroke:#a4b7aa;opacity:.18}#board>svg>circle[fill="#89b4b7"]{fill:#9fb7ad;opacity:.45}#board .move-hit{pointer-events:all}#board [data-x]:hover .move-dot,#board [data-x]:focus .move-dot{r:11;opacity:1}#board [data-x]:focus-visible{outline:none}#board [data-x]:focus-visible .move-hit{stroke:#356953;stroke-width:1.5}#board [data-label="tack"]{pointer-events:none}
#board [data-x]{outline:none}#compactOwnBoat[hidden]{display:none!important}.sea-panel{position:relative}
@media(min-width:701px),(orientation:landscape){#compactCourseButton,#compactShiftButton,#compactSpinButton{display:none}}
@media(max-width:700px) and (orientation:portrait){.startclock.finishcourse small{display:none}.startclock.finishcourse strong{font-size:8px}}
button{background:#fbf8ed;border:1px solid #c8cebd;border-radius:7px;box-shadow:none;font-weight:600}button:hover:enabled{background:#edf3e8;border-color:#84a28b}.primary{background:#356953;border-color:#356953;color:#fffdf4}button:focus-visible{outline:2px solid #bd9144;outline-offset:2px}.dicebox .die{border-color:#c8bc9e;box-shadow:0 2px 4px #344d3420;transform:rotate(-4deg)}.own-current,.player.own-player{background:#fbf0d1;box-shadow:inset 2px 0 #c89535}.boat-controls-attention{outline-width:1px;box-shadow:none}
#compactActionDialog,#priorityDialog{background:#faf7ee;border:1px solid #c5cfbe;border-radius:14px;box-shadow:0 12px 40px #183a4633;padding:19px}#compactActionDialog::backdrop,#priorityDialog::backdrop{background:#163a30aa;backdrop-filter:blur(3px)}#compactActionDialog h2,#priorityDialog h2{font-weight:normal;font-size:24px;letter-spacing:-.5px}#compactActionDialog p,#priorityDialog p{color:#647764;line-height:1.5}.compact-course-options button,.compact-shift-options button,#priorityGrid button{border:1px solid #c6d3c1;background:#f5f7ef;border-radius:7px;box-shadow:none}.compact-course-options .selected{background:#356953;border-color:#356953;color:#fffdf4}.compact-course-center{grid-column:2;grid-row:2;display:grid;place-items:center}.compact-course-center svg{width:46px;height:46px}#compactActionDiagram{padding:2px 0 9px}#compactActionDiagram[hidden]{display:none}#compactActionDiagram svg{display:block;width:100%;max-height:94px;background:#edf3ed;border-radius:8px}#compactActionDiagram text{font:10px Arial,sans-serif;fill:#5f7565}#priorityGrid .priority-center svg{width:42px;height:42px}
body.boats-moving #board [role="button"],body.boats-moving .turnpanel button{pointer-events:none}body.boats-moving .turnpanel{cursor:progress}#board [data-motion-flip]{transform-box:fill-box;transform-origin:center}
@media(max-width:700px) and (orientation:portrait){body.phone-portrait{background:#faf7ee}.right,.turnpanel{background:#faf7ee}.sea-panel{border-width:1px;border-color:#cfdbc9;background:#e7efea}body.phone-portrait>header{background:#faf7ee;border-bottom-color:#d5ddcc}.tools button{font-size:9px;border-color:#d5ddcc;border-radius:5px}#compactOwnBoat small{font-size:7px;letter-spacing:.5px;color:#71816d}#compactOwnBoat strong{font-size:17px}#compactOwnBoat .own-token{width:34px;height:34px}.startclock{background:#edf1df;border-color:#d6dfc9}.startclock.started{background:#edf1df}.turnpanel{border-color:#d5ddcc;padding:4px 6px;gap:3px 6px}#current{font:11px Arial,sans-serif}#instruction{color:#6f7d69}#compactCourseButton,#compactShiftButton,#compactSpinButton,.minoractions button{background:#f5f7ed;border-color:#cbd6c2;border-radius:6px;font-size:10px}#compactCourseButton,#compactShiftButton{color:#2b6049}#compactSpinButton{font-size:9px}#compactActionDialog .compact-close,#priorityCancel{border-color:#c9d5c4;background:#f4f6eb}#priorityGrid button{color:#2c6650}.compact-course-options button{height:55px}.compact-shift-options button{min-height:46px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}



