/* Desktop Mahjong Standard V1 — accepted 2026-08-16.
 * This release overlay is intentionally limited to desktop landscape.
 * Phone/tablet layout must not be changed by this asset.
 */
@media (orientation: landscape) and (min-width: 951px) {
  #root#root .room-page.game-active.mahjong-landscape-desktop
    :is(.zone-west, .zone-east) .mahjong-zone-exposed
    .mahjong-meld.mahjong-chi-meld:not(.mahjong-gang-meld)
    > span.mahjong-claimed-chi-tile[data-meld-position]
    > .mahjong-tile-face.compact {
    position: absolute !important;
    top: 6px !important;
    right: auto !important;
    width: var(--side-rail-slot-h) !important;
    min-width: var(--side-rail-slot-h) !important;
    height: var(--side-rail-slot-w) !important;
    min-height: var(--side-rail-slot-w) !important;
  }

  #root#root .room-page.game-active.mahjong-landscape-desktop .zone-west
    .mahjong-zone-exposed .mahjong-meld.mahjong-chi-meld:not(.mahjong-gang-meld)
    > span.mahjong-claimed-chi-tile[data-meld-position]
    > .mahjong-tile-face.compact {
    left: calc(var(--side-rail-slot-w) - var(--side-rail-slot-h)) !important;
  }

  #root#root .room-page.game-active.mahjong-landscape-desktop .zone-east
    .mahjong-zone-exposed .mahjong-meld.mahjong-chi-meld:not(.mahjong-gang-meld)
    > span.mahjong-claimed-chi-tile[data-meld-position]
    > .mahjong-tile-face.compact {
    left: 0 !important;
  }

  #root#root .room-page.game-active.mahjong-landscape-desktop
    :is(.zone-west, .zone-east) .mahjong-zone-exposed
    .mahjong-meld.mahjong-chi-meld:not(.mahjong-gang-meld)
    > .mahjong-claimed-chi-tile[data-meld-position] ~ [data-meld-position] {
    top: var(--side-rail-slot-w) !important;
  }

  #root#root .room-page.game-active.mahjong-landscape-desktop
    :is(.zone-west, .zone-east) .mahjong-zone-exposed
    .mahjong-meld.mahjong-chi-meld:not(.mahjong-gang-meld)
    > .mahjong-claimed-chi-tile[data-meld-position] ~ [data-meld-position] ~ [data-meld-position] {
    top: calc(var(--side-rail-slot-w) * 2) !important;
  }
}
