/* Play page (/play/): Khalfan's Majlis on the page, install steps, more Khalfan. Builds on home.css (body.home-v2). */
.play-page .pl-hero { position: relative; overflow: hidden; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(2rem, 5vw, 4rem); }
.play-page .pl-layout { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.play-page .pl-title { margin: .4rem 0 1rem; font-size: clamp(2.2rem, 4.2vw, 3.6rem); line-height: 1.04; }
.play-page .pl-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.5rem 0 1.25rem; }
.play-page .pl-facts { margin-top: .5rem; }

/* The stage: a 16:9 frame for the poster, then the game */
.play-page .pl-stage { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius-lg); overflow: hidden; background: var(--dark); box-shadow: var(--shadow); border: 1px solid var(--line); }
.play-page .pl-poster { all: unset; position: absolute; inset: 0; cursor: pointer; display: block; }
.play-page .pl-poster img { width: 100%; height: 100%; object-fit: cover; display: block; image-rendering: pixelated; transition: transform .6s var(--ease-out), filter .3s var(--ease); }
.play-page .pl-poster:hover img, .play-page .pl-poster:focus-visible img { transform: scale(1.03); filter: brightness(.9); }
.play-page .pl-poster:focus-visible { outline: 3px solid var(--accent); outline-offset: -3px; }
.play-page .pl-play { position: absolute; left: 50%; top: 50%; width: 92px; height: 92px; margin: -46px 0 0 -46px; border-radius: 50%; background: var(--accent); box-shadow: 0 12px 30px rgba(226, 35, 26, .45); display: grid; place-items: center; transition: transform .3s var(--ease-out), background .2s; }
.play-page .pl-poster:hover .pl-play { transform: scale(1.08); background: var(--accent-hover); }
.play-page .pl-play__icon { width: 0; height: 0; margin-left: 6px; border-style: solid; border-width: 16px 0 16px 26px; border-color: transparent transparent transparent #fff; }
.play-page .pl-poster__label { position: absolute; left: 50%; bottom: 1rem; transform: translateX(-50%); padding: .45rem 1rem; border-radius: 999px; background: rgba(6, 6, 6, .72); color: #fff; font-weight: 600; font-size: .95rem; white-space: nowrap; }
.play-page .pl-frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }

/* Sections */
.play-page .pl-section { padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
.play-page .pl-section--soft { background: var(--soft); }
.play-page .pl-h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 800; letter-spacing: -.02em; margin: 0 0 1.75rem; }

.play-page .pl-install { display: grid; grid-template-columns: minmax(0, 260px) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.play-page .pl-install__shot { margin: 0; justify-self: center; width: 100%; max-width: 260px; border-radius: 28px; overflow: hidden; border: 8px solid var(--ink); box-shadow: var(--shadow); }
.play-page .pl-install__shot img { width: 100%; height: auto; display: block; }
.play-page .pl-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.play-page .pl-step { padding: 1.4rem 1.5rem; border-radius: var(--radius); }
.play-page .pl-step h3 { margin: 0 0 .75rem; font-size: 1.15rem; font-weight: 800; }
.play-page .pl-step ol { margin: 0; padding-inline-start: 1.25rem; display: grid; gap: .5rem; color: var(--ink); }
.play-page .pl-step a { color: var(--accent); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.play-page .pl-note { grid-column: 1 / -1; margin: .25rem 0 0; color: var(--muted); }

.play-page .pl-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.play-page .pl-card { position: relative; display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; color: var(--ink); text-decoration: none; transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out); }
.play-page .pl-card:hover, .play-page .pl-card:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow); }
.play-page .pl-card img { width: 100%; height: auto; aspect-ratio: 720 / 600; object-fit: cover; display: block; image-rendering: pixelated; }
.play-page .pl-card__tag { position: absolute; top: .9rem; left: .9rem; padding: .3rem .7rem; border-radius: 999px; background: var(--ink); color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.play-page .pl-card h3 { margin: 1.1rem 1.25rem .4rem; font-size: 1.15rem; font-weight: 800; }
.play-page .pl-card p { margin: 0 1.25rem 1.4rem; color: var(--muted); line-height: 1.55; }

[dir="rtl"] .play-page .pl-card__tag, .lang-ar .play-page .pl-card__tag, .play-page.lang-ar .pl-card__tag { left: auto; right: .9rem; }

@media (max-width: 960px) {
  .play-page .pl-stage.is-playing { aspect-ratio: 4 / 3; }
  .play-page .pl-layout { grid-template-columns: 1fr; }
  .play-page .pl-stage { order: -1; }
  .play-page .pl-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .play-page .pl-stage.is-playing { aspect-ratio: 3 / 4; }
  .play-page .pl-install { grid-template-columns: 1fr; }
  .play-page .pl-install__shot { max-width: 200px; }
  .play-page .pl-steps, .play-page .pl-cards { grid-template-columns: 1fr; }
  .play-page .pl-play { width: 72px; height: 72px; margin: -36px 0 0 -36px; }
  .play-page .pl-actions .btn { flex: 1 1 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .play-page .pl-poster img, .play-page .pl-card, .play-page .pl-play { transition: none; }
}
