/* Yoté — pebbles and sticks in hollows of sand. The board, the hands and the pieces are drawn on the canvas. */
.yt-col { padding: 2px 6px 6px; gap: 6px; }
.yt-wrap { direction: ltr; max-width: 640px; }
.yt-wrap canvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; cursor: pointer; touch-action: manipulation; }

.yt-status { flex: none; gap: 9px; min-height: 34px; font-size: 0.97rem; line-height: 1.2; text-align: center; border-radius: 14px; padding: 4px 14px; transition: background-color 0.2s linear, color 0.2s linear; }
.yt-status.is-bonus { background: rgba(242, 140, 40, 0.2); color: var(--gold-soft); box-shadow: inset 0 0 0 1px var(--hairline); }
.yt-pip { flex: none; display: inline-block; box-shadow: 0 1px 2px rgba(0, 0, 0, 0.5); }
.yt-pip--a { width: 16px; height: 14px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #FFFFFF, #F4E6C8 55%, #BDA075); }
.yt-pip--b { width: 22px; height: 7px; border-radius: 4px; background: linear-gradient(#8E4B22, #2E1407); border: 1px solid var(--w-sunset); transform: rotate(-30deg); }

/* the new-game panel */
.yt-opts { display: grid; gap: 12px; text-align: start; }
.yt-opt { transition: opacity 0.2s linear; }
.yt-opt.is-off { opacity: 0.35; pointer-events: none; }
.yt-opt__label { margin: 0 0 5px; font-size: 12px; font-weight: 650; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mist); }
html[lang="ar"] .yt-opt__label { letter-spacing: 0; font-size: 13px; }
.yt-opts .fa-seg { display: flex; width: 100%; border-radius: 16px; }
.yt-opts .fa-seg button { flex: 1 1 0; min-width: 0; min-height: 44px; padding: 4px 6px; border-radius: 13px; line-height: 1.15; }

@media (max-width: 360px) {
  .yt-status { font-size: 0.9rem; min-height: 30px; }
  .yt-col { gap: 4px; }
}
/* a phone on its side: the status sits beside the board so the board keeps the full height */
@media (orientation: landscape) and (max-height: 500px) {
  .yt-col { flex-direction: row; gap: 14px; padding: 4px 12px; }
  .yt-wrap { flex: 0 0 56%; width: auto; height: 100%; }
  .yt-status { flex: 1 1 0; min-width: 0; flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { .yt-status { transition: none; } }
