#phantomTutorialModal{
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0,0,0,.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

#phantomTutorialModal.open{
  display: flex;
}

.phantom-tutorial-card{
  width: min(920px, 96vw);
  background: rgba(10,14,20,.92);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 60px rgba(0,0,0,.55);
  color: #eaf2ff;
}

.phantom-tutorial-head{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.phantom-tutorial-head h2{
  margin: 0;
  font-size: 16px;
  font-weight: 900;
}

.phantom-tutorial-close{
  border: 0;
  background: transparent;
  color: #eaf2ff;
  font-size: 18px;
  cursor: pointer;
}

.phantom-slider{
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 14px;
}

.phantom-sbtn{
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: #eaf2ff;
  font-size: 22px;
  font-weight: 900;
  cursor: pointer;
}

.phantom-sframe{
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);

  display: flex;
  align-items: center;
  justify-content: center;

  min-height: 240px;

  
}

#phantomSlideImg{
  display: block;

  width: auto;
  height: 100%;

  max-width: 100%;
  max-height: 100%;

  object-fit: contain;
  object-position: center center;

  margin: auto;
}

.phantom-scounter{
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  background: rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.14);
}

.phantom-caption{
  padding: 14px;
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  
  min-height: 118px;
}

.phantom-tag{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 90px;
  min-height: 34px;

  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);

  white-space: nowrap;
}

.phantom-text{
  min-width: 0;
  font-size: 14px;
  line-height: 1.45;
  color: rgba(234,242,255,.92);

  overflow-wrap: anywhere;
  word-break: normal;
}
