/* The app tour tile: a thumbnail and two lines of text that open the tour
   player (video-tour.js). Shared by the home page and the setup guide.
   Sizes: default, --large (desktop hero) and --small (beside a CTA, no
   duration badge). */

.video-tile {
  display:flex;
  align-items:center;
  gap:16px;
  max-width:100%;
  box-sizing:border-box;
  margin:0;
  padding:7px 22px 7px 7px;
  border:1px solid #2A2E31;
  border-radius:13px;
  background:#14171A;
  color:#E2E5E6;
  font:inherit;
  text-align:left;
  cursor:pointer;
  transition:border-color .15s, background .15s;
}

.video-tile:hover {
  border-color:#3A4045;
  background:#171A1D;
}

.video-tile:focus-visible {
  outline:2px solid var(--neo-color-accent);
  outline-offset:2px;
}

.video-tile__thumb {
  position:relative;
  width:160px;
  height:90px;
  flex:none;
  overflow:hidden;
  border:1px solid #2A2E31;
  border-radius:8px;
  background:#22262A;
}

.video-tile__thumb img {
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}

/* The green play button. */
.video-tile__thumb::before {
  content:'';
  position:absolute;
  left:50%;
  top:50%;
  width:32px;
  height:32px;
  transform:translate(-50%,-50%);
  border-radius:50%;
  background:#87E9A9 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpolygon points='6 3 20 12 6 21 6 3' fill='%230F1512' stroke='%230F1512' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E") 55% 50% / 13px no-repeat;
  box-shadow:0 4px 14px rgba(0,0,0,.45);
}

/* The duration badge. */
.video-tile__thumb::after {
  content:'2:34';
  position:absolute;
  right:5px;
  bottom:5px;
  padding:1px 5px;
  border-radius:4px;
  background:rgba(15,18,20,.85);
  color:#E2E5E6;
  font-size:10.5px;
  font-weight:600;
  line-height:1.3;
}

.video-tile__text {
  display:flex;
  flex-direction:column;
  gap:3px;
  min-width:0;
}

.video-tile__title {
  font-size:15.5px;
  font-weight:600;
  line-height:1.3;
}

.video-tile__sub {
  color:#8E9599;
  font-size:13.5px;
  line-height:1.4;
}

.video-tile--large {
  gap:18px;
  padding:8px 24px 8px 8px;
  border-radius:14px;
}

.video-tile--large .video-tile__thumb {
  width:176px;
  height:99px;
  border-radius:9px;
}

.video-tile--large .video-tile__thumb::before {
  width:38px;
  height:38px;
  background-size:15px;
}

.video-tile--large .video-tile__thumb::after {
  right:6px;
  bottom:6px;
  padding:2px 5px;
  font-size:11px;
}

.video-tile--large .video-tile__text {
  gap:4px;
}

.video-tile--large .video-tile__title {
  font-size:17px;
}

.video-tile--large .video-tile__sub {
  font-size:14px;
}

.video-tile--small .video-tile__thumb {
  width:96px;
  height:54px;
}

.video-tile--small .video-tile__thumb::before {
  width:26px;
  height:26px;
  background-size:11px;
}

.video-tile--small .video-tile__thumb::after {
  content:none;
}

.video-tile--block {
  width:100%;
}

/* The get-started video (1:45). */
.video-tile[data-video="get-started"] .video-tile__thumb::after {
  content:'1:45';
}
