/* Puso Lakbay styles (v108) — ported from the package playable UI.
   Every rule is scoped to lakbay classes; nothing here touches
   the rest of the app. Board: 15 by 13 perimeter grid. Tokens are
   26px normally and 20px at small widths, so a token fits its
   square even on a narrow phone; move buttons stay at least 44px
   tall, the minimum tap target. High contrast is a class on the
   panel, toggled from the UI, never stored. */
.lakbay-wrap { margin: 8px 0; }
.lakbay-daily { background: rgba(255,255,255,.08); border-radius: 12px; padding: 10px; margin: 8px 0; font-size: 14px; }
.lakbay-paused { font-weight: 700; margin: 8px 0; }
.lakbay-open { background: rgba(255,255,255,.08); border-radius: 12px; padding: 10px; margin: 8px 0; }
.lakbay-board { position: relative; width: 100%; aspect-ratio: 15/13; background: linear-gradient(180deg, #123f5c, #1d6f8e 55%, #2a6f7e); border: 3px solid #e8b84b; border-radius: 16px; overflow: hidden; }
.lakbay-sq { position: absolute; border: 1px solid #5a7a8a; background: #dbeef2; color: #241522; font-size: 9px; line-height: 1.1; text-align: center; padding-top: 2px; overflow: hidden; font-weight: 600; }
.lakbay-sq.lakbay-safe { background: #e8b84b; color: #241522; font-weight: 700; }
.lakbay-sq.lakbay-start0 { outline: 3px solid #e85d7a; outline-offset: -3px; }
.lakbay-sq.lakbay-start1 { outline: 3px solid #ff8a5c; outline-offset: -3px; }
.lakbay-sq.lakbay-storm { background: #9aa8c2; color: #241522; }
.lakbay-contrast .lakbay-sq { background: #fff; color: #000; border-color: #000; }
.lakbay-contrast .lakbay-sq.lakbay-safe { background: #ff0; color: #000; }
.lakbay-contrast .lakbay-token { border-width: 3px; border-color: #000; }
.lakbay-contrast .lakbay-board { border-width: 5px; border-color: #ff0; }
.lakbay-centre { position: absolute; left: 6.7%; top: 7.7%; width: 86.6%; height: 84.6%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 8px; }
.lakbay-centre svg { width: 100%; max-height: 46%; height: auto; }
.lakbay-die { font-size: 52px; line-height: 1; background: #fff8ec; color: #241522; border: 3px solid #e8b84b; border-radius: 14px; width: 76px; height: 76px; display: flex; align-items: center; justify-content: center; margin: 6px auto; }
.lakbay-turn { font-weight: 700; margin: 4px 0; }
.lakbay-nudge { font-size: 14px; margin: 4px 0; font-style: italic; }
.lakbay-token { position: absolute; width: 26px; height: 26px; border-radius: 50%; border: 2px solid #fff; display: flex; align-items: center; justify-content: center; font-size: 15px; cursor: pointer; z-index: 3; box-shadow: 0 2px 6px rgba(0,0,0,.4); padding: 0; }
.lakbay-token.lakbay-rose { background: #e85d7a; }
.lakbay-token.lakbay-coral { background: #ff8a5c; }
.lakbay-token.lakbay-legal { outline: 3px solid #e8b84b; outline-offset: 2px; }
.lakbay-token:focus { outline: 3px solid #fff; }
.lakbay-token:disabled { cursor: default; opacity: .95; }
.lakbay-token svg { width: 100%; height: 100%; display: block; }
.lakbay-fleet { display: flex; gap: 12px; flex-wrap: wrap; margin: 8px 0; }
.lakbay-fleetbox { flex: 1; min-width: 280px; background: rgba(255,255,255,.08); border-radius: 12px; padding: 10px; }
.lakbay-dock, .lakbay-channel { display: flex; gap: 6px; flex-wrap: wrap; margin: 6px 0; align-items: center; }
.lakbay-slot { width: 38px; height: 38px; border: 1px dashed rgba(255,255,255,.5); border-radius: 9px; display: flex; align-items: center; justify-content: center; position: relative; }
.lakbay-slot .lakbay-token { position: static; width: 32px; height: 32px; }
.lakbay-moves { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0; }
.lakbay-move { min-height: 44px; }
.lakbay-progress { background: rgba(255,255,255,.08); border-radius: 12px; padding: 10px; margin: 8px 0; font-size: 14px; }
.lakbay-actions { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0; }
.lakbay-reactions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 8px 0; }
.lakbay-log { font-size: 14px; line-height: 1.5; max-height: 150px; overflow: auto; }
.lakbay-log p { margin: 4px 0; }
.lakbay-howto { margin: 8px 0; font-size: 14px; }
.lakbay-toggles { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0; }
.lakbay-result { background: rgba(255,255,255,.08); border-radius: 12px; padding: 10px; margin: 8px 0; }
@media (max-width: 600px) {
  .lakbay-sq { font-size: 7px; }
  .lakbay-die { width: 64px; height: 64px; font-size: 44px; }
  .lakbay-token { width: 20px; height: 20px; }
  .lakbay-slot .lakbay-token { width: 32px; height: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .lakbay-token { transition: none; }
}
