/* =========================================================================
   SMILE INTERACTIVE FEED — 3-SLOT VIRTUAL SLIDING DECK STYLES
   ========================================================================= */

.smile-interactive-feed-root {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: #000000;
  overflow: hidden;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
  z-index: 20;
}

/* 3-Slot Stage Container */
.int-deck-stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

/* Individual Slot (Prv, Cur, Nxt) */
.int-slot {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #100c0c;
  outline: none;
  transition: none;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.int-slot.slot-cur {
  z-index: 2;
  transform: translate3d(0, 0, 0);
}

.int-slot.slot-prv {
  z-index: 1;
  transform: translate3d(0, -100%, 0);
}

.int-slot.slot-nxt {
  z-index: 1;
  transform: translate3d(0, 100%, 0);
}

/* Live Iframe inside Slot */
.int-iframe-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: transparent;
}

.int-iframe-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
  background: transparent;
}

/* Poster / Preview Layer */
.int-poster-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  pointer-events: none;
}

.int-poster-layer.hidden {
  opacity: 0;
  visibility: hidden;
}

.int-poster-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.7) 85%, rgba(0,0,0,0.92) 100%);
  pointer-events: none;
}

.int-poster-content {
  position: relative;
  z-index: 2;
  padding: 0 18px calc(64px + 20px) 18px; /* Sits cleanly above bottom bar */
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.int-card-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(254, 44, 85, 0.22);
  border: 1px solid rgba(254, 44, 85, 0.45);
  color: #ff3b69;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  padding: 4px 10px;
  border-radius: 999px;
  width: fit-content;
  backdrop-filter: blur(8px);
}

.int-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #fe2c55;
  animation: intPulseDot 1.4s infinite;
}

@keyframes intPulseDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.3; transform: scale(0.8); }
}

.int-card-title {
  color: #ffffff;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.25;
  text-shadow: 0 2px 8px rgba(0,0,0,0.8);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.int-card-author {
  color: rgba(255, 255, 255, 0.85);
  font-size: 13.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.int-card-desc {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12.5px;
  line-height: 1.4;
  max-width: 90%;
}

/* =========================================================================
   BOTTOM NAVIGATION ARROWS (< on Left, > on Right)
   Exact match to main video deck's profile bar (left) and music disc (right)
   ========================================================================= */

.int-nav-arrows {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 25;
  pointer-events: none;
}

.int-nav-arrow-btn {
  position: absolute;
  bottom: calc(var(--ui-bottom-overlay-y, 7%) + 50px);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.44);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  box-shadow: none;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  pointer-events: auto;
  transition: transform 0.2s cubic-bezier(0.19, 1, 0.22, 1), background-color 0.2s ease;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* Left button: < Previous (Matches left profile bar horizontal spacing) */
.int-nav-arrow-btn.int-nav-prev,
#int-nav-prev {
  left: 5.5%;
}

/* Right button: > Next (Matches right music button horizontal spacing) */
.int-nav-arrow-btn.int-nav-next,
#int-nav-next {
  right: 6.7%;
}

.int-nav-arrow-btn:hover {
  background: rgba(0, 0, 0, 0.65);
  box-shadow: none;
  transform: scale(1.08);
}

.int-nav-arrow-btn:active {
  background: rgba(0, 0, 0, 0.75);
  box-shadow: none;
  transform: scale(0.92);
}

.int-nav-arrow-btn svg {
  stroke: #ffffff;
  filter: none;
  transition: stroke 0.15s ease;
}

/* Subtle Mobile Gesture Hint (fade out after initial swipe) */
.int-swipe-hint {
  position: absolute;
  bottom: 84px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  pointer-events: none;
  animation: intFloatHint 2s infinite ease-in-out;
  transition: opacity 0.4s ease;
}

@keyframes intFloatHint {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: 0.75; }
  50% { transform: translateX(-50%) translateY(-6px); opacity: 1; }
}

