/* =========================================================
   GILDONGSEKKI GAME HUB V1
========================================================= */

.play-hub{
  width:min(1180px,calc(100% - 36px));
  margin:34px auto 72px;
}


.play-hub-layout{
  display:grid;

  grid-template-columns:
    285px
    minmax(0,1fr);

  align-items:start;

  gap:24px;
}


/* =========================================================
   RANKING SIDEBAR
========================================================= */

.play-ranking-card{
  overflow:hidden;

  border:
    1px solid
    rgba(192,153,74,.34);

  border-radius:24px;

  background:
    rgba(255,253,248,.95);

  box-shadow:
    0 15px 38px
    rgba(93,69,29,.08);
}


.play-ranking-head{
  padding:22px 20px 16px;
}


.play-ranking-head small{
  display:block;

  margin-bottom:5px;

  color:#a77939;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size:9px;
  font-weight:700;

  letter-spacing:.17em;
}


.play-ranking-head strong{
  display:block;

  color:#31483a;

  font-size:20px;
  font-weight:800;
}


.play-ranking-tabs{
  display:grid;

  grid-template-columns:
    1fr 1fr;

  margin:
    0 14px;

  padding:4px;

  border-radius:12px;

  background:#f4ecd9;
}


.play-ranking-tab{
  min-height:39px;

  border:0;
  border-radius:9px;

  background:transparent;

  color:#95866f;

  font-family:inherit;

  font-size:10px;
  font-weight:900;

  cursor:pointer;

  touch-action:manipulation;
}


.play-ranking-tab.is-active{
  background:#fff;

  color:#71541f;

  box-shadow:
    0 3px 10px
    rgba(103,75,28,.08);
}


.play-ranking-list{
  padding:
    13px 15px 17px;
}


.play-ranking-row{
  display:grid;

  grid-template-columns:
    28px
    minmax(0,1fr)
    auto;

  align-items:center;

  gap:7px;

  min-height:44px;

  border-bottom:
    1px solid
    rgba(177,145,82,.14);

  color:#60594e;

  font-size:11px;
}


.play-ranking-row:last-child{
  border-bottom:0;
}


.play-ranking-number{
  color:#ad8c56;

  font-size:11px;
  font-weight:900;
}


.play-ranking-name{
  min-width:0;

  overflow:hidden;

  text-overflow:ellipsis;
  white-space:nowrap;

  font-weight:800;
}


.play-ranking-score{
  color:#9a6c20;

  font-weight:900;
}


.play-ranking-empty{
  padding:
    15px 4px 4px;

  color:#aaa08e;

  text-align:center;

  font-size:10px;
  line-height:1.7;
}


.play-ranking-me{
  margin:
    0 15px 16px;

  padding:
    11px 12px;

  border:
    1px solid
    rgba(188,148,68,.23);

  border-radius:11px;

  background:
    rgba(235,207,143,.17);

  color:#726653;

  font-size:10px;
  font-weight:800;
}


.play-ranking-me b{
  color:#956a25;
}


/* =========================================================
   GAME AREA
========================================================= */

.play-games{
  min-width:0;
}


.play-games-head{
  display:flex;

  align-items:end;
  justify-content:space-between;

  gap:16px;

  margin-bottom:16px;
}


.play-games-head small{
  display:block;

  margin-bottom:4px;

  color:#a77939;

  font-family:
    Georgia,
    "Times New Roman",
    serif;

  font-size:9px;
  font-weight:700;

  letter-spacing:.17em;
}


.play-games-head h2{
  margin:0;

  color:#2d4235;

  font-size:25px;
  font-weight:800;
}


.play-games-head p{
  margin:0;

  color:#9b9284;

  font-size:11px;
}


.play-game-grid{
  display:grid;

  grid-template-columns:
    repeat(
      2,
      minmax(0,1fr)
    );

  gap:16px;
}


.play-game-card{
  position:relative;

  display:flex;
  flex-direction:column;

  min-width:0;
  min-height:315px;

  overflow:hidden;

  border:
    1px solid
    rgba(192,153,74,.34);

  border-radius:23px;

  background:
    linear-gradient(
      145deg,
      rgba(255,255,255,.98),
      rgba(250,245,233,.96)
    );

  box-shadow:
    0 14px 35px
    rgba(93,69,29,.075);

  text-decoration:none;

  transition:
    transform .18s ease,
    box-shadow .18s ease,
    border-color .18s ease;
}


@media (hover:hover) and (pointer:fine){

  .play-game-card[href]:hover{
    transform:
      translateY(-3px);

    border-color:
      rgba(177,134,48,.55);

    box-shadow:
      0 20px 42px
      rgba(93,69,29,.12);
  }

}


.play-game-preview{
  position:relative;

  display:flex;

  align-items:center;
  justify-content:center;

  min-height:165px;

  overflow:hidden;

  background:
    radial-gradient(
      circle at 50% 45%,
      rgba(229,202,137,.22),
      transparent 45%
    ),
    linear-gradient(
      180deg,
      #f8f1e2,
      #eee3cf
    );
}


.play-game-preview::after{
  content:"";

  position:absolute;

  inset:auto 0 0;

  height:6px;

  background:
    linear-gradient(
      90deg,
      #b68840,
      #ddc173,
      #7f9273,
      #d4a34f
    );
}


.play-game-hands{
  display:flex;

  align-items:center;
  justify-content:center;

  gap:9px;
}


.play-game-hands img{
  width:82px;
  height:82px;

  object-fit:contain;

  filter:
    drop-shadow(
      0 9px 9px
      rgba(87,63,27,.13)
    );
}


.play-game-card-body{
  display:flex;
  flex:1;
  flex-direction:column;

  padding:
    18px 19px 17px;
}


.play-game-badge{
  align-self:flex-start;

  margin-bottom:8px;

  padding:
    5px 9px;

  border-radius:999px;

  background:#f3e6be;

  color:#8d681f;

  font-size:8px;
  font-weight:900;

  letter-spacing:.08em;
}


.play-game-title{
  margin:0;

  color:#304538;

  font-size:19px;
  font-weight:900;
}


.play-game-description{
  margin:
    8px 0 0;

  color:#8c8375;

  font-size:11px;
  line-height:1.7;
}


.play-game-meta{
  display:flex;

  flex-wrap:wrap;

  gap:6px;

  margin-top:13px;
}


.play-game-meta span{
  padding:
    5px 7px;

  border:
    1px solid
    rgba(177,145,82,.17);

  border-radius:7px;

  background:
    rgba(255,255,255,.75);

  color:#8e7f69;

  font-size:8px;
  font-weight:800;
}


.play-game-enter{
  margin-top:auto;
  padding-top:16px;

  color:#805d1f;

  font-size:10px;
  font-weight:900;
}


.play-game-card.is-coming{
  cursor:default;
}


.play-game-card.is-coming
.play-game-preview{
  background:
    linear-gradient(
      145deg,
      #f7f3ea,
      #efe9dc
    );
}


.play-coming-mark{
  color:#baae98;

  font-size:13px;
  font-weight:900;

  letter-spacing:.16em;
}


.play-game-card.is-coming
.play-game-badge{
  background:#eeece5;

  color:#a39b8d;
}


.play-game-card.is-coming
.play-game-title{
  color:#777167;
}


.play-game-card.is-coming
.play-game-description{
  color:#aaa297;
}


/* =========================================================
   MOBILE
========================================================= */

@media(max-width:900px){

  .play-hub-layout{
    grid-template-columns:
      235px
      minmax(0,1fr);

    gap:15px;
  }


  .play-game-grid{
    grid-template-columns:
      1fr;
  }

}


@media(max-width:720px){

  .play-hub{
    width:
      calc(100% - 22px);

    margin:
      23px auto 54px;
  }


  .play-hub-layout{
    display:flex;

    flex-direction:column;
  }


  .play-ranking-card{
    width:100%;
  }


  .play-ranking-list{
    display:grid;

    grid-template-columns:
      1fr 1fr;

    gap:
      0 12px;
  }


  .play-ranking-row{
    min-width:0;
  }


  .play-games{
    width:100%;
  }


  .play-games-head{
    display:block;
  }


  .play-games-head p{
    margin-top:6px;
  }


  .play-game-grid{
    grid-template-columns:
      1fr;
  }


  .play-game-card{
    min-height:290px;
  }

}


@media(max-width:430px){

  .play-ranking-list{
    display:block;
  }


  .play-game-preview{
    min-height:145px;
  }


  .play-game-hands img{
    width:67px;
    height:67px;
  }

}


/* =========================================================
   PLAY HUB - GAME WINNER RANKING V2
========================================================= */

.play-ranking-head p{
  margin:
    5px 0 0;

  color:#aaa08e;

  font-size:9px;
  line-height:1.5;
}


.play-game-winner-list{
  padding:
    14px 15px 5px;
}


.play-game-winner-row{
  display:grid;

  grid-template-columns:
    64px
    minmax(0,1fr)
    auto;

  align-items:center;

  gap:9px;

  min-height:58px;

  padding:
    0 5px;

  border-bottom:
    1px solid
    rgba(177,145,82,.15);
}


.play-game-winner-game{
  color:#46584a;

  font-size:11px;
  font-weight:900;
}


.play-game-winner-user{
  min-width:0;
}


.play-game-winner-user small{
  display:block;

  margin-bottom:2px;

  color:#b28a49;

  font-size:8px;
  font-weight:900;
}


.play-game-winner-user strong{
  display:block;

  overflow:hidden;

  color:#62594c;

  font-size:10px;
  font-weight:800;

  text-overflow:ellipsis;
  white-space:nowrap;
}


.play-game-winner-score{
  color:#95691e;

  font-size:10px;
  font-weight:900;

  white-space:nowrap;
}


.play-ranking-guide{
  margin:
    10px 15px 16px;

  padding:
    11px 12px;

  border:
    1px solid
    rgba(183,148,77,.20);

  border-radius:10px;

  background:
    rgba(235,207,143,.13);

  color:#968872;

  font-size:9px;
  line-height:1.55;
}


/* 기존 1~5위용 UI는 현재 허브에서 사용하지 않음 */
.play-ranking-me{
  display:none;
}


/* /PLAY HUB - GAME WINNER RANKING V2 */
