/* TikTok Platform Design System */

.tiktok-preview-canvas {
    width: 430px;
    height: 932px;
    background-color: #000;
    position: relative;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    color: white;
}

.tiktok-overlay-bottom {
    position: absolute;
    bottom: 49px;
    left: 0;
    width: 274px;
    padding: 12px 14px;
    z-index: 10;
}

#display-username {
    width: fit-content;
    max-width: 250px;
    height: 17px;
    font-size: 14.5px;
    font-weight: 700;
    letter-spacing: -0.1px;
    display: inline-flex;
    align-items: center;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.caption-container {
    width: 274px;
    margin-top: 2px;
    margin-bottom: 6px;
    display: flex;
    flex-direction: column;
}

.hashtag-wrapper {
    width: 259px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 17px;
}

.btn-more {
    width: 48px;
    height: 20px;
    background: transparent;
    color: white;
    font-weight: 700;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.tiktok-sidebar {
    position: absolute;
    right: 8px;
    bottom: 60px;
    width: 49px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    z-index: 20;
}

.sidebar-icon-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    margin-bottom: 2px;
}

.sidebar-icon-wrap span {
    font-size: 11.5px;
    font-weight: 600;
    color: white;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
    letter-spacing: -0.2px;
}

.avatar-wrap {
    position: relative;
    margin-bottom: 20px;
}

.avatar-wrap img {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1.5px solid white;
}

.plus-btn {
    position: absolute;
    bottom: -9px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
}

.music-record {
    width: 49px;
    height: 49px;
    border-radius: 50%;
    background: #222;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 10px solid #111;
    animation: rotate 4s linear infinite;
    margin-top: 7px;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.music-ticker {
    width: 274px;
    height: 15px;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    overflow: hidden;
}

.iphone-status-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 44px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 50;
    font-size: 14px;
    font-weight: 600;
}

.tiktok-footer-bar {
    position: absolute;
    bottom: 0px;
    left: 0;
    right: 0;
    height: 49px;
    background: #010101;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 0 4px;
    border-top: 0.5px solid rgba(255, 255, 255, 0.15);
    z-index: 30;
}

.footer-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    flex: 1;
}

.footer-tab span {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    margin-top: 2px;
}

.plus-tab {
    width: 45px;
    height: 28px;
    position: relative;
}

.active-tab-nav {
    position: relative;
}

.tab-indicator {
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
}