﻿@media (max-width: 720px) {
  .online-game-layout {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) auto;
    gap: 6px;
    min-height: 0;
    overflow: hidden;
  }

  .online-game-layout .main-game {
    display: grid;
    grid-template-rows: 28px minmax(0, 1fr) auto minmax(0, 1fr) 42px;
    gap: 5px;
    min-height: 0;
    overflow: hidden;
  }

  .online-side-rail {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    gap: 5px;
    max-height: 132px;
    padding: 0;
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .online-edge-button {
    position: fixed;
    top: 48%;
    z-index: 30;
    display: grid;
    place-items: center;
    gap: 5px;
    width: 34px;
    min-height: 116px;
    padding: 8px 4px;
    border: 1px solid rgba(72, 214, 210, 0.42);
    background:
      linear-gradient(180deg, rgba(72, 214, 210, 0.14), rgba(9, 10, 15, 0.86)),
      rgba(21, 24, 33, 0.96);
    color: var(--gf-warm);
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
    transform: translateY(-50%);
  }

  .online-edge-button span {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
  }

  .online-edge-button strong {
    display: grid;
    place-items: center;
    min-width: 24px;
    min-height: 24px;
    border-radius: 999px;
    background: rgba(246, 200, 95, 0.18);
    color: var(--gf-gold);
    font-size: 10px;
    line-height: 1;
  }

  .online-edge-button:disabled {
    opacity: 0.45;
  }

  .online-edge-button-left {
    left: 0;
    border-left: 0;
    border-radius: 0 8px 8px 0;
  }

  .online-edge-button-right {
    right: 0;
    border-right: 0;
    border-radius: 8px 0 0 8px;
  }

}
