/* =========================================================
   실시간 진행 현황 카드 v8
   - 6개 행 고정 노출
   - 상품권 등록 아이콘 사용
   - 이름 앞 원형 성씨 아이콘 제거
   - transform 롤링으로 레이아웃 떨림 방지
   ========================================================= */

.glive-card-section{
  padding:48px 0 54px;
  background:#fff;
}

.glive-card{
  position:relative;
  overflow:hidden;
  padding:30px 34px 24px;
  border:1px solid #edf0f4;
  border-radius:30px;
  background:#fff;
  box-shadow:0 18px 48px rgba(30,43,62,.08);
}

.glive-card__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin-bottom:22px;
}

.glive-card__heading{
  display:flex;
  align-items:center;
  gap:14px;
}

.glive-card__head-icon{
  display:grid;
  width:58px;
  height:58px;
  flex:0 0 58px;
  place-items:center;
  border-radius:20px;
  background:#fafafa;
  color:#111;
}

.glive-card__head-icon svg{
  width:29px;
  height:29px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}

.glive-card__heading h2{
  margin:0;
  color:#15191f;
  font-size:25px;
  font-weight:900;
  line-height:1.25;
  letter-spacing:-.04em;
}

.glive-card__heading p{
  margin:4px 0 0;
  color:#8b929b;
  font-size:14px;
  line-height:1.4;
}

.glive-card__more{
  display:grid;
  width:52px;
  height:52px;
  flex:0 0 52px;
  place-items:center;
  border:1px solid #e4e7eb;
  border-radius:16px;
  background:#fff;
  color:#111;
  text-decoration:none;
}

.glive-card__more span{
  margin-top:-4px;
  font-family:Arial,sans-serif;
  font-size:35px;
  font-weight:300;
  line-height:1;
}

.glive-list{
  --glive-row-height:58px;
  --glive-visible-rows:6;
  position:relative!important;
  height:calc(var(--glive-row-height) * var(--glive-visible-rows))!important;
  min-height:calc(var(--glive-row-height) * var(--glive-visible-rows))!important;
  max-height:calc(var(--glive-row-height) * var(--glive-visible-rows))!important;
  overflow:hidden!important;
  contain:layout paint!important;
  isolation:isolate;
}

.glive-track{
  position:absolute;
  inset:0 0 auto;
  width:100%;
  transform:translate3d(0,0,0);
  will-change:transform;
  backface-visibility:hidden;
}

.glive-track.is-moving{
  transition:transform .46s cubic-bezier(.22,.61,.36,1);
}

.glive-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) 170px 100px;
  align-items:center;
  gap:20px;
  width:100%;
  height:var(--glive-row-height)!important;
  min-height:var(--glive-row-height)!important;
  max-height:var(--glive-row-height)!important;
  margin:0!important;
  padding:0 8px!important;
  border-bottom:1px dashed #edf0f3;
  contain:layout paint style!important;
}

.glive-row:last-child{
  border-bottom-color:transparent;
}

.glive-row__product{
  display:flex;
  min-width:0;
  align-items:center;
  gap:13px;
}

.glive-row__logo{
  display:grid;
  width:34px;
  height:34px;
  flex:0 0 34px;
  place-items:center;
  overflow:hidden;
  border:1px solid #edf0f2;
  border-radius:50%;
  background:#fff;
  box-shadow:0 5px 12px rgba(21,33,50,.10);
}

.glive-row__logo img{
  width:100%;
  height:100%;
  object-fit:contain;
  padding:3px;
}

.glive-row__logo-fallback{
  color:#fff;
  background:#5bb8e9;
  font-size:12px;
  font-weight:900;
}

.glive-row__product strong{
  overflow:hidden;
  color:#20242a;
  font-size:16px;
  font-weight:700;
  line-height:1.35;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.glive-row__name{
  overflow:hidden;
  color:#92979e;
  font-size:14px;
  font-weight:500;
  text-align:center;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.glive-status{
  display:inline-flex;
  min-width:82px;
  min-height:32px;
  align-items:center;
  justify-content:center;
  justify-self:end;
  padding:0 12px;
  border-radius:8px;
  font-size:13px;
  font-weight:800;
}

.glive-status--blue{background:#eef0ff;color:#9195ff}
.glive-status--green{background:#eaf9f1;color:#45c987}
.glive-status--red{background:#fff0f1;color:#ff7d87}
.glive-status--orange{background:#fff4e9;color:#f6a04f}
.glive-status--gray{background:#f1f2f4;color:#969ba2}

.glive-card__updated{
  position:absolute;
  right:32px;
  bottom:8px;
  color:transparent;
  font-size:1px;
  pointer-events:none;
}

.glive-loading,
.glive-empty,
.glive-error{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#9299a2;
  font-size:14px;
}

@media(max-width:720px){
  .glive-card-section{
    padding:26px 0 32px;
  }

  .glive-card{
    padding:22px 16px 18px;
    border-radius:22px;
  }

  .glive-card__head{
    margin-bottom:15px;
  }

  .glive-card__head-icon{
    width:48px;
    height:48px;
    flex-basis:48px;
    border-radius:16px;
  }

  .glive-card__head-icon svg{
    width:25px;
    height:25px;
  }

  .glive-card__heading{
    gap:11px;
  }

  .glive-card__heading h2{
    font-size:21px;
  }

  .glive-card__heading p{
    font-size:12px;
  }

  .glive-card__more{
    width:44px;
    height:44px;
    flex-basis:44px;
    border-radius:14px;
  }

  .glive-list{
    --glive-row-height:52px;
    --glive-visible-rows:6;
  }

  .glive-row{
    grid-template-columns:minmax(0,1fr) 92px 74px;
    gap:7px;
    padding:0 2px!important;
  }

  .glive-row__product{
    gap:8px;
  }

  .glive-row__logo{
    width:29px;
    height:29px;
    flex-basis:29px;
  }

  .glive-row__product strong{
    font-size:12px;
  }

  .glive-row__name{
    font-size:11px;
  }

  .glive-status{
    min-width:67px;
    min-height:28px;
    padding:0 7px;
    border-radius:7px;
    font-size:10px;
  }
}

@media(max-width:390px){
  .glive-card{
    padding-right:12px;
    padding-left:12px;
  }

  .glive-row{
    grid-template-columns:minmax(0,1fr) 74px 64px;
  }

  .glive-row__name{
    font-size:10px;
  }

  .glive-status{
    min-width:60px;
    font-size:9px;
  }
}

@media(prefers-reduced-motion:reduce){
  .glive-track.is-moving{
    transition:none!important;
  }
}


/* =========================================================
   실시간 카드 날짜·LIVE 표시 v10
   ========================================================= */

.glive-card__actions{
  display:flex;
  flex:0 0 auto;
  align-items:center;
  gap:20px;
}

.glive-card__date{
  display:inline-flex;
  align-items:center;
  gap:10px;
  color:#0874e8;
  font-size:18px;
  font-weight:900;
  line-height:1.2;
  letter-spacing:-.035em;
  white-space:nowrap;
}

.glive-card__date time{
  color:inherit;
  font:inherit;
}

.glive-card__live-dot{
  position:relative;
  display:block;
  width:12px;
  height:12px;
  flex:0 0 12px;
  border-radius:50%;
  background:#20c867;
  box-shadow:0 0 0 6px rgba(32,200,103,.12);
  animation:glivePulse 1.5s ease-in-out infinite;
}

.glive-card__live-dot::after{
  position:absolute;
  inset:-7px;
  border:1px solid rgba(32,200,103,.34);
  border-radius:50%;
  content:"";
  animation:glivePulseRing 1.5s ease-out infinite;
}

@keyframes glivePulse{
  0%,100%{
    opacity:1;
    transform:scale(1);
  }
  50%{
    opacity:.72;
    transform:scale(.82);
  }
}

@keyframes glivePulseRing{
  0%{
    opacity:.62;
    transform:scale(.55);
  }
  75%,100%{
    opacity:0;
    transform:scale(1.25);
  }
}

@media(max-width:720px){
  .glive-card__actions{
    gap:9px;
  }

  .glive-card__date{
    gap:7px;
    font-size:13px;
  }

  .glive-card__live-dot{
    width:9px;
    height:9px;
    flex-basis:9px;
    box-shadow:0 0 0 4px rgba(32,200,103,.12);
  }
}

@media(max-width:480px){
  .glive-card__head{
    align-items:flex-start;
  }

  .glive-card__actions{
    margin-top:2px;
  }

  .glive-card__date{
    font-size:11px;
  }

  .glive-card__more{
    width:40px;
    height:40px;
    flex-basis:40px;
  }
}

@media(max-width:390px){
  .glive-card__head{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
  }

  .glive-card__actions{
    align-items:center;
  }

  .glive-card__date{
    position:absolute;
    top:26px;
    right:62px;
  }
}

@media(prefers-reduced-motion:reduce){
  .glive-card__live-dot,
  .glive-card__live-dot::after{
    animation:none!important;
  }
}
