/* Tile Link */
.lk-wrap { min-height: 320px; overflow: visible; overflow-x: clip; }
.lk-board { position: relative; margin: 0 auto; touch-action: manipulation; user-select: none; -webkit-user-select: none; }
.lk-tile {
  position: absolute; left: 0; top: 0; padding: 0; margin: 1px; border: 0; cursor: pointer; border-radius: 6px;
  background: linear-gradient(150deg, var(--ivory) 0%, #fbf5e3 55%, var(--ivory-2) 100%);
  box-shadow: inset 0 0 0 1px rgba(125, 98, 51, .35), 2px 2px 0 0 var(--tile-side);
  transition: transform .18s ease, filter .15s; -webkit-tap-highlight-color: transparent;
}
.lk-tile img { display: block; width: 100%; height: 100%; padding: 5%; pointer-events: none; }
.lk-tile:hover { filter: brightness(1.06); }
.lk-tile.is-selected { background: linear-gradient(150deg, #fff8d6, var(--gold-soft)); box-shadow: inset 0 0 0 3px var(--gold), 2px 2px 0 0 #c99a2b; }
.lk-tile.is-hint { box-shadow: inset 0 0 0 3px var(--focus), 2px 2px 0 0 var(--tile-side); }
.lk-tile.is-denied { animation: lk-denied .3s ease; }
@keyframes lk-denied { 0%, 100% { filter: none; } 50% { filter: brightness(.7) saturate(1.6); } }
.lk-line { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0; transition: opacity .2s; z-index: 3; }
.lk-line.is-on { opacity: 1; transition: none; }
.lk-line polyline { fill: none; stroke: var(--gold); stroke-width: 4; stroke-linejoin: round; stroke-linecap: round; }
@media (max-width: 760px) {
  .game-actions.lk-actions { grid-template-columns: repeat(5, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  .lk-tile { transition: none; }
  .lk-tile.is-denied { animation: none; }
}
