:root{
    --telegram-full-height: var(--tg-viewport-height);
    --safe-area-inset-top: calc(100vh - var(--tg-viewport-stable-height, 100vh));
    --fullscreen-width: 100vw;
    --fullscreen-height: 100vh;
}

html, body {
    min-height: 100%;
}

body {
    font-family: 'Fira Sans', sans-serif;
    font-weight: 300;
    background-color: #ffffff;
    color: #464646;
    margin: 0;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body:has(#auth-view:not(.hidden):only-child) {
    justify-content: center;
    align-items: center;
    flex-grow: 1;
}

body.fullscreen {
    width: var(--fullscreen-width);
    height: var(--fullscreen-height);
    overflow: hidden;
    background: #000000;
    margin: 0;
}

h1, h2, h3 {
    font-family: 'Tenor Sans', sans-serif;
    color: #8c4158;
    margin-top: 0;
}

.view-container {
    width: 100%;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.auth-container {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
}

.auth-content {
    max-width: 400px;
    width: 100%;
    text-align: center;
}

/* === General Utility === */
.hidden {
    display: none !important;
}

.error {
    color: #dc2626;
    font-weight: 500;
    margin: 0.5rem 0;
}

/* === Initial Loading Screen Styles === */
.loading-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(250, 250, 250, 0.95);
    z-index: 100;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    color: #8c4158;
    font-family: 'Tenor Sans', sans-serif;
}

/* === Spinner Styles === */
.spinner {
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(#8c4158, #ae7885);
    animation: animate 1.2s linear infinite;
    flex-shrink: 0;
    margin-top: 25px;
}

@keyframes animate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.spinner span {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(#ae7885, #8c4158, #ae7885);
}

.spinner span:nth-child(1) { filter: blur(5px); }
.spinner span:nth-child(2) { filter: blur(10px); }
.spinner span:nth-child(3) { filter: blur(15px); }
.spinner span:nth-child(4) { filter: blur(25px); }

.spinner:after {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border-radius: 50%;
}

/* === Modal Styles === */
.modal {
    display: flex;
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(70, 70, 70, 0.7);
    z-index: 50;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.modal-content {
    background: #efe7e9;
    padding: 2rem;
    border-radius: 0.5rem;
    max-width: 400px;
    width: 100%;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-primary {
    display: inline-block;
    background-color: #ae7885;
    color: #fff;
    padding: 0.75rem 1.5rem;
    border-radius: 0.25rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: center;
    margin-top: 1rem;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #8c4158;
    outline: none;
}

.btn-primary:disabled {
    background-color: #d3bcc0;
    cursor: not-allowed;
}

.input-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1rem;
    width: 100%;
}

input[type="password"],
input[type="email"],
input[type="text"] {
    border: 1px solid #d3bcc0;
    outline: none;
    padding: 0.75rem;
    border-radius: 0.25rem;
    width: 100%;
    max-width: 256px;
    box-sizing: border-box;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input[type="password"]:focus,
input[type="email"]:focus,
input[type="text"]:focus {
    border-color: #ae7885;
    box-shadow: 0 0 0 3px rgba(174, 120, 133, 0.2);
}

label {
    color: #7d7d7d;
    margin-bottom: 0.25rem;
    font-weight: 500;
    display: block;
    width: 100%;
    max-width: 256px;
    text-align: left;
}

/* === OTP Input Boxes === */
.otp-label {
    color: #7d7d7d;
    margin-bottom: 0.75rem;
    font-weight: 500;
    display: block;
    text-align: center;
    max-width: none !important;
}

.otp-inputs-container {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 1.5rem;
}

.otp-input-digit {
    width: 45px;
    height: 55px;
    font-size: 1.5rem;
    text-align: center;
    border: 1px solid #d3bcc0;
    border-radius: 6px;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    caret-color: #8c4158;
    -moz-appearance: textfield;
    appearance: textfield;
}

.otp-input-digit::-webkit-outer-spin-button,
.otp-input-digit::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.otp-input-digit:focus {
    border-color: #ae7885;
    box-shadow: 0 0 0 3px rgba(174, 120, 133, 0.3);
}

/* === Layout Containers === */
.container-n {
    margin: 0 auto;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
}

.video-c__row, .video-player__row, .video-info__row {
    box-sizing: border-box;
    margin: 0 auto;
    width: 100%;
    max-width: 1280px;
    padding: 60px 40px;
}

.pt-0 {
    padding-top: 0;
}

@media (max-width: 1200px) {
    .video-c__row, .video-player__row, .video-info__row {
        padding: 40px 30px;
    }
}

@media (max-width: 768px) {
    .video-c__row, .video-player__row, .video-info__row {
        padding: 30px 20px;
    }
}

@media (max-width: 500px) {
    .video-c__row, .video-player__row, .video-info__row {
        padding: 20px 15px;
    }
}

/* === Broadcasts List === */
.video-c__head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    gap: 20px;
    overflow: hidden;
}

.video-c__head h1 {
    font-weight: 400;
    text-transform: none;
    color: #8c4158;
    margin: 0;
    font-size: 2.5rem;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .video-c__head h1 {
        font-size: 2rem;
    }
    .video-c__head {
        flex-direction: column;
        align-items: flex-start;
    }
    .category-filters {
        width: 100%;
    }
}

/* Category Filters */
.category-filters {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    white-space: nowrap;
    padding: 5px 0;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.category-filters::-webkit-scrollbar {
    display: none;
}

.category-btn {
    padding: 8px 16px;
    background-color: #d3bcc0;
    color: #ffffff;
    border-radius: 4px;
    cursor: pointer;
    border: none;
    font-weight: 500;
    transition: background-color 0.2s linear, color 0.2s linear;
    flex-shrink: 0;
}

.category-btn.active {
    background-color: #8c4158;
    color: #fff;
}

.category-btn:not(.active):hover {
    background-color: #ae7885;
    color: #fff;
}

.broadcasts-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.broadcast-item {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.broadcast-item:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.12);
}

.broadcast-item__thumbnail {
    position: relative;
    width: 100%;
    padding-top: 75%;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    background-color: #e2e8f0;
}

.broadcast-item__thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.broadcast-item__details {
    padding: 16px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.broadcast-item__title {
    font-size: 1.1rem;
    line-height: 1.4;
    color: #464646;
    margin: 0 0 8px 0;
    font-weight: 500;
}

.broadcast-item__date {
    font-size: 0.875rem;
    line-height: 1.25rem;
    color: #737072;
    margin-top: auto;
}

/* === Individual Broadcast View === */

/* Normal state */
.video-player__content {
	position: relative;
	width: 100%;
	max-width: 480px;
	padding: 0;
	margin: 0 auto;
	overflow: hidden;
	aspect-ratio: 9 / 16;
}

/* Ensure direct <video> fills container */
.video-player__content video {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: contain;
}

/* Fullscreen state */
.video-player__content.fullscreen {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	z-index: 1000;
	background: #000;
	display: flex;
	justify-content: center;
	align-items: center;
	overflow: hidden;
}

/* Telegram specific - full width */
.telegram-content {
	max-width: none;
}

/* Fullscreen state */
.video-player__content.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--fullscreen-width);
    height: var(--fullscreen-height);
    z-index: 1000;
    background: #000 !important;
    max-width: none !important;
    border-radius: 0;
    margin: 0;
    aspect-ratio: unset;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* In fullscreen, size the direct <video> to CSS vars */
.video-player__content.fullscreen > video {
    width: var(--fullscreen-width) !important;
    height: var(--fullscreen-height) !important;
    display: block !important;
    object-fit: contain !important;
}

.video-player__content.fullscreen > *:not(video):not(mux-player):not(#custom-fullscreen-btn) {
    display: none;
}

.video-player__content.fullscreen .fullscreen-btn {
    display: flex;
    right: 20px;
    width: 28px;
    height: 28px;
}

/* === MUX PLAYER STYLES - TELEGRAM OPTIMIZED === */
/* Only using brand colors: #8c4158, #d3bcc0, #ae7885, #efe7e9 */
mux-player {
    aspect-ratio: 9/16;
    width: 100%;
    max-width: 480px;
    display: block;
    position: relative;
    background-color: #8c4158;

    --media-control-background: #8c4158;
    --media-control-hover-background: #ae7885 !important;
    --media-control-height: 48px;
    --media-control-padding: 8px 12px;

    --media-text-color: #efe7e9;
    --media-icon-color: #efe7e9;
    --media-button-icon-color: #efe7e9;
    --media-time-display-color: #efe7e9;

    --media-primary-color: #efe7e9;
    --media-secondary-color: #8c4158;
    --media-accent-color: #ae7885;

    --media-button-icon-width: 24px;
    --media-button-icon-height: 24px;

    --media-range-track-background: #efe7e9;
    --media-range-track-height: 4px;

    --media-range-bar-color: #ae7885;

    --media-range-thumb-background: #ffffff;
    --media-range-thumb-height: 14px;
    --media-range-thumb-width: 14px;
    --media-range-thumb-border-radius: 50%;
    --media-range-thumb-box-shadow: 0 2px 4px #d3bcc0;

    --media-volume-range-track-background: #efe7e9;

    --media-volume-range-bar-color: #ae7885;

    --media-loading-indicator-color: #ffffff;

    --media-focus-ring-color: #efe7e9;

    --media-control-spacing: 8px;

    --media-font-family: 'Fira Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    --media-font-size: 14px;
    --media-font-weight: 500;

    --media-play-button-background: #efe7e9;
    --media-play-button-icon-color: #8c4158;
    --media-play-button-size: 64px;

    --media-menu-background: #8c4158;
    --media-menu-item-height: 40px;
    --media-menu-font-size: 14px;
    --media-menu-max-height: 60vh;

    --media-menu-item-hover-background: #ae7885;

    --media-menu-item-selected-background: #d3bcc0;

    --media-tooltip-background: #8c4158;
    --media-tooltip-padding: 6px 10px;

    --media-preview-thumbnail-background: #8c4158;
    --media-preview-time-text-shadow: none;

    --media-object-fit: cover;
    --media-object-position: center;

    --media-range-track-pointer-background: #ae7885;
    --media-range-track-pointer-border-radius: 2px;
}

/* === MOBILE/TELEGRAM OPTIMIZATIONS === */
@media (max-width: 768px) {
    mux-player {
        --media-play-button-size: 72px;
    }
}

@supports (-webkit-touch-callout: none) {
    mux-player {
        --media-control-height: 52px;
        --media-button-icon-width: 26px;
        --media-button-icon-height: 26px;
    }
}


/* iOS-specific fixes */
@supports (-webkit-touch-callout: none) {
    mux-player {
        --media-control-height: 52px;
        --media-button-icon-width: 26px;
        --media-button-icon-height: 26px;
    }
}

/*
=== MUX PLAYER FULLSCREEN === (removed for TG Plyr fullscreen)
mux-player.fullscreen {
    max-width: none;
    max-height: none;
    object-fit: contain;
    padding: 0;
    margin: 0;
    position: relative;
    background-color: #8c4158;

    --media-control-background: #8c4158;
    --media-control-height: 56px;
    --media-button-icon-width: 30px;
    --media-button-icon-height: 30px;

    --media-text-color: #efe7e9;
    --media-icon-color: #efe7e9;
}

@media (max-aspect-ratio: 9/16) {
    mux-player.fullscreen {
        width: 100vw;
        height: calc(100vw * 16 / 9);
        max-height: 100vh;
        margin: calc((100vh - min(calc(100vw * 16 / 9), 100vh)) / 2) auto 0 auto;
    }
}

@media (min-aspect-ratio: 9/16) {
    mux-player.fullscreen {
        height: 100vh;
        width: calc(100vh * 9 / 16);
        max-width: 100vw;
        margin: 0 auto;
    }
}
*/

@media (max-aspect-ratio: 9/16) {
    mux-player.fullscreen {
        width: 100vw;
        height: calc(100vw * 16 / 9);
        max-height: 100vh;
        margin: calc((100vh - min(calc(100vw * 16 / 9), 100vh)) / 2) auto 0 auto;
    }
}

@media (min-aspect-ratio: 9/16) {
    mux-player.fullscreen {
        height: var(--fullscreen-height) !important;
        width: calc(var(--fullscreen-height) * 9 / 16) !important;
        max-width: var(--fullscreen-width) !important;
        margin: 0 auto !important;
    }
}

/* Fullscreen styles for Plyr - same as mux-player.fullscreen */
.plyr.fullscreen {
    max-width: none;
    max-height: none;
    object-fit: contain;
    padding: 0;
    margin: 0;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background-color: #000;
}

/* Ensure Plyr video element fills the container in fullscreen */
.plyr.fullscreen video {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
}

/* Ensure all Plyr internal elements are properly sized in fullscreen */
.plyr.fullscreen .plyr__video-wrapper,
.plyr.fullscreen .plyr__poster,
.plyr.fullscreen video {
    width: 100% !important;
    height: 100% !important;
}

@media (max-aspect-ratio: 9/16) {
    .plyr.fullscreen {
        width: 100vw;
        height: calc(100vw * 16 / 9);
        max-height: 100vh;
        margin: calc((100vh - min(calc(100vw * 16 / 9), 100vh)) / 2) auto 0 auto;
    }
}

@media (min-aspect-ratio: 9/16) {
    .plyr.fullscreen {
        height: 100vh;
        width: calc(100vh * 9 / 16);
        max-width: 100vw;
        margin: 0 auto;
    }
}

/* Fullscreen styles for video (fallback) - same as mux-player.fullscreen */
video.fullscreen {
    max-width: none;
    max-height: none;
    object-fit: contain;
    padding: 0;
    margin: 0;
    position: relative;
    background-color: #000;
}

@media (max-aspect-ratio: 9/16) {
    video.fullscreen {
        width: 100vw;
        height: calc(100vw * 16 / 9);
        max-height: 100vh;
        margin: calc((100vh - min(calc(100vw * 16 / 9), 100vh)) / 2) auto 0 auto;
    }
}

@media (min-aspect-ratio: 9/16) {
    video.fullscreen {
        height: 100vh;
        width: calc(100vh * 9 / 16);
        max-width: 100vw;
        margin: 0 auto;
    }
}

/* === MUX PLAYER ::part() OVERRIDES === */
/* Only use ::part() for things CSS variables can't control */

/* Poster fills properly */
mux-player::part(poster) {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

mux-player::part(poster img) {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Center play button transparent background */
mux-player::part(center) {
    background: transparent;
}

/* === iOS TELEGRAM SPECIFIC FIXES === */
@supports (-webkit-touch-callout: none) {
    @media (max-width: 470px) {
        mux-player::part(center) {
            background: transparent !important;
        }

        mux-player {
            --media-play-button-size: 56px;
        }
    }
}

/* Video Info Section */
.video-info__wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px 20px;
    margin-top: 20px;
}

.video-info__left {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
}

.video-info__left-col {
    font-size: 1.3rem;
    line-height: 1;
    font-weight: normal;
    display: flex;
    align-items: center;
    padding-left: 14px;
    position: relative;
}

.video-info__left-col::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 14px;
    width: 1px;
    background-color: #979797;
}

.video-info__left-col:first-child {
    padding-left: 0;
}

.video-info__left-col:first-child::before {
    display: none;
}

@media (max-width: 767px) {
    .video-info__left-col {
        font-size: 1.3rem;
        padding-left: 10px;
        gap: 10px;
    }
    .video-info__left-col::before {
        height: 12px;
    }
    .video-info__wrap {
        margin-top: 15px;
    }
}

.video-info__to-comment {
    color: #8c4158;
    transition: color 0.2s linear;
    cursor: pointer;
    text-decoration: none;
}

.video-info__to-comment:hover {
    color: #c18180;
    text-decoration: underline;
}

.video-info__text {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-top: 15px;
    color: #464646;
}

@media (max-width: 767px) {
    .video-info__text {
        margin-top: 10px;
        font-size: 0.9rem;
    }
}

/* Fullscreen Container */
.container-n.video-player.fullscreen,
.video-player__row.fullscreen,
.video-player__content.fullscreen {
    width: var(--fullscreen-width);
    height: var(--fullscreen-height);
    margin: 0;
    padding: 0;
    max-width: none;
}

.video-player__content.fullscreen {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

#loading {
    text-align: center;
    padding: 20px;
    font-style: italic;
    color: #737072;
}

#broadcast-view.fullscreen {
    width: var(--fullscreen-width);
    height: var(--fullscreen-height);
}

#broadcast-view > *:not(.video-player).fullscreen {
    display: none;
}

#broadcasts-list-view, #broadcast-view {
    width: 100%;
    flex-grow: 1;
}

/* Auth Tabs */
.auth-tabs {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #d3bcc0;
    padding-bottom: 0;
}

.tab-btn {
    padding: 10px 16px;
    background-color: transparent;
    color: #7d7d7d;
    border: none;
    font-family: 'Fira Sans', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    position: relative;
    transition: color 0.2s ease;
}

.tab-btn.active {
    color: #8c4158;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #8c4158;
}

.tab-btn:hover:not(.active) {
    color: #ae7885;
}

.tab-btn:focus {
    outline: none;
    color: #ae7885;
}

.tab-btn:disabled {
    color: #d3bcc0;
    cursor: not-allowed;
}

.auth-forms {
    width: 100%;
}

.auth-form {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.auth-form.hidden {
    display: none;
}

/* Fullscreen button */
.fullscreen-btn {
    background: #8c4158;
    color: #efe7e9;
    padding: 6px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    line-height: 1;
    display: flex;
    margin: 10px;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;
    width: 28px;
    height: 28px;
}

.fullscreen-btn:hover {
    background: #ae7885;
}

.fullscreen-icon {
    width: 16px;
    height: 16px;
    display: block;
}

#custom-fullscreen-btn {
    display: none;
}

#custom-fullscreen-btn:not(.hidden) {
    display: flex;
}

#custom-fullscreen-btn.fullscreen {
    position: absolute;
    top: calc(var(--tg-safe-area-inset-top) + var(--tg-content-safe-area-inset-top) + 20px);
    right: calc(var(--tg-safe-area-inset-right) + var(--tg-content-safe-area-inset-right) + 20px);
}

/* Mux Player Menu/Popup Styles */
mux-player::part(menu) {
    background: #8c4158 !important;
    color: #ffffff !important;
    border: 1px solid #ae7885 !important;
    border-radius: 4px !important;
}

mux-player::part(menu-item) {
    color: #ffffff !important;
    background: transparent !important;
}

mux-player::part(menu-item):hover {
    background: #ae7885 !important;
}

mux-player::part(menu-item selected) {
    background: #ae7885 !important;
    color: #ffffff !important;
}

/* Overlay shimmer */
.overlay-broadcast {
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: #efe7e9;
    z-index: 999;
    overflow: hidden;
}

.shimmer {
    position: absolute;
    top: 0;
    left: -50%;
    height: 100%;
    width: 200%;
    background: linear-gradient(
        120deg,
        #efe7e9 25%,
        #d3bcc0 50%,
        #efe7e9 75%
    );
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0%); }
}

.loader {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}

.letter {
    font-family: 'Tenor Sans', sans-serif;
    font-size: 40px;
    fill: #8c4158;
}

.ribbon {
    fill: rgba(250, 250, 250, 0.95);
    animation: moveRibbon 2s infinite linear;
}

@keyframes moveRibbon {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(100%); }
}

.video-sort__back-link {
    color: #8c4158;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
    cursor: pointer;
    font-weight: 500;
    font-size: 1.5rem;
    text-decoration: underline;
    text-decoration-color: #8c4158;
    text-underline-offset: 3px;
    text-decoration-thickness: 2px;
    background: none;
    border: none;
    padding: 5px 0;
}

.video-sort__back-link:hover {
    color: #ae7885;
    text-decoration-color: #ae7885;
}

/* Version display */
.version {
    position: fixed;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-family: monospace;
    z-index: 1000;
}
