.reel-scroller-wrapper-7bbcdabd {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    margin: 20px auto;
}

/* iPhone 17 Pro Ultra-Modern Phone Mockup Frame */
.phone-frame-7bbcdabd {
    position: relative;
    background: #000;
    border: 8px solid #1f1f1f; /* Ultra thin bezel */
    border-radius: 46px; /* Smooth rounded corners */
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.55), inset 0 0 0 2px #1f1f1f, 0 0 0 1px rgba(255,255,255,0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-width: 100%;
    transition: width 0.3s ease, height 0.3s ease, border-radius 0.3s ease;
}

/* Landscape / Horizontal overrides */
.reel-orientation-horizontal .phone-frame-7bbcdabd {
    border-radius: 32px;
}

/* iPhone 17 Pro Dynamic Island Mockup */
.phone-dynamic-island-7bbcdabd {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 85px;
    height: 22px;
    background: #000;
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 20px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 12px;
    box-sizing: border-box;
    transition: all 0.3s ease;
}

/* Rotate dynamic island for Landscape */
.reel-orientation-horizontal .phone-dynamic-island-7bbcdabd {
    top: 50%;
    left: 15px;
    transform: translateY(-50%) rotate(-90deg);
}

.island-camera-7bbcdabd {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #111122;
    box-shadow: inset 0 0 2px rgba(255,255,255,0.4);
    display: block;
}

/* Phone Screen Scroll Area */
.phone-screen-7bbcdabd {
    flex: 1;
    position: relative;
    background-color: #000;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE and Edge */
}

.phone-screen-7bbcdabd::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
}

.reels-scroller-track-7bbcdabd {
    display: flex;
    flex-direction: column;
    height: auto;
}

/* Reel Item */
.reel-item-7bbcdabd {
    position: relative;
    height: 100%;
    width: 100%;
    min-height: 100%;
    aspect-ratio: 9/16;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    transition: aspect-ratio 0.3s ease;
}

.reel-orientation-horizontal .reel-item-7bbcdabd {
    aspect-ratio: 16/9;
}

.phone-frame-7bbcdabd .reel-item-7bbcdabd {
    height: calc(100% - 0px);
    position: absolute;
    top: 0;
    left: 0;
}

.phone-frame-7bbcdabd .reel-item-7bbcdabd:not(:first-child) {
    display: none;
}

/* Self-hosted video fitting */
.reel-video-7bbcdabd {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #000;
}

/* Embed support container */
.reel-embed-container-7bbcdabd {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reel-embed-container-7bbcdabd iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* UI Overlays */
.reel-overlay-ui-7bbcdabd {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px 15px 35px 15px;
    background: linear-gradient(0deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0) 100%);
    color: #fff;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    box-sizing: border-box;
    z-index: 5;
    pointer-events: none;
}

/* Padding adjustment for landscape mode home bar/notch spacing */
.reel-orientation-horizontal .reel-overlay-ui-7bbcdabd {
    padding-left: 35px;
    padding-right: 35px;
}

.reel-bottom-meta-7bbcdabd {
    max-width: 70%;
    pointer-events: auto;
}

.reel-author-7bbcdabd {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.avatar-placeholder-7bbcdabd {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #fff;
    background-image: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.username-7bbcdabd {
    font-weight: 600;
    font-size: 13px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.reel-title-7bbcdabd {
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.4;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Sidebar Actions */
.reel-sidebar-actions-7bbcdabd {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    pointer-events: auto;
}

.action-btn-7bbcdabd {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.action-btn-7bbcdabd svg {
    width: 24px;
    height: 24px;
    fill: #fff;
    filter: drop-shadow(1px 1px 2px rgba(0,0,0,0.5));
}

.action-btn-7bbcdabd span {
    font-size: 11px;
    margin-top: 4px;
    font-weight: 500;
}

/* Phone UI Elements */
.phone-home-indicator-7bbcdabd {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 5px;
    background: #ffffff;
    border-radius: 10px;
    opacity: 0.8;
    z-index: 10;
    transition: all 0.3s ease;
}

/* Rotate and move home indicator for Landscape */
.reel-orientation-horizontal .phone-home-indicator-7bbcdabd {
    left: auto;
    right: 8px;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%) rotate(-90deg);
    width: 80px;
}

/* Dot Nav outside the mockup */
.reels-nav-dots-7bbcdabd {
    display: flex;
    gap: 8px;
    margin-top: 15px;
}

.nav-dot-7bbcdabd {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ccc;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    padding: 0;
}

.nav-dot-7bbcdabd.active {
    background-color: #333;
    transform: scale(1.2);
}
