:root {
  --tile-size: 575px;
  --tile-brightness: 0.5;
  --display-width: 13312px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: var(--display-width);
  height: 3584px;
  overflow: hidden;
  background: #000;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

#display {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: row;
  gap: 22.16px;
  padding: 0;
  position: relative;
}

/* Columns */
.column {
  width: var(--tile-size);
  flex-shrink: 0;
  height: 100%;
  overflow: hidden;
}

.track {
  display: flex;
  flex-direction: column;
  gap: 22.16px;
  will-change: transform;
}

/* Tiles */
.tile {
  width: var(--tile-size);
  height: var(--tile-size);
  background-color: #222;
  background-size: cover;
  background-position: center;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  filter: brightness(var(--tile-brightness));
}

/* Platform icon (top-left) */
.tile-platform-icon {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
}

.tile-platform-icon svg {
  width: 100%;
  height: 100%;
  color: #fff;
}

/* Bottom overlay */
.tile-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  display: flex;
  align-items: center;
  gap: 12px;
}

.tile-profile-pic {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #fff;
}

.tile-username {
  color: #fff;
  font-size: 24px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tile-verified {
  display: inline-flex;
  align-items: center;
}

.tile-verified svg {
  width: 24px;
  height: 24px;
  color: #1d9bf0;
}

/* Video tiles */
.tile video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.tile-platform-icon,
.tile-overlay {
  z-index: 1;
}
