.page-container {
    gap: 12px;
}

/* --- SEARCH BAR -- */
.topbar-col {
    display: flex;
    flex-direction: column;
	margin-bottom: 2px;
}

.topbar-controls {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
	-webkit-tap-highlight-color: transparent;
}

.topbar-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
	-webkit-tap-highlight-color: transparent;
}

.topbar-row-right {
    display: flex;
    gap: 10px;
}

.topbar-row h1 {
    font-size: 16px;
    font-weight: 400;
	line-height: 1;
    margin: 0 !important;
    width: fit-content;
	color: #ffffffc9;
}

.topbar-btn {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    width: fit-content;
    height: 36px;
    font-size: 16px;
    font-weight: 500;
    padding: 5px 10px;
	background: #272d3e;
    color: rgb(255 255 255 / 90%);
    box-shadow: 0px 2px 4px #00000069;
    border-radius: 8px;
    cursor: pointer;
    white-space: nowrap;
    box-sizing: border-box;
}

.topbar-btn img {
    width: 20px;
    height: auto;
    filter: brightness(0) invert(1);
    opacity: .8;
}

.topbar-line {
    width: 100%;
    height: 1px;
    background: rgb(204 217 255 / 30%);
}

.category-info-con {
    padding: 4px 10px;
    font-size: 16px;
    margin-top: 10px;
    color: #ffffffd1;
    border-left: 3px solid #47b4eb;
}

/* filter sections */
.settings-box,
.sort-box {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-height: 0;
    opacity: 0;
    margin-top: 0;
    padding: 0;
    gap: 12px;
    border-radius: 8px;
    border: 0;
    border-color: rgb(204 217 255 / 30%);
    pointer-events: none;
    transition: max-height 0.2s ease, opacity 0.2s ease, margin-top 0.2s ease, border 0.2s ease, padding 0.2s ease;
}

.show {
    opacity: 1;
    max-height: 1000px;
    margin-top: 10px;
    border: 1px solid rgb(204 217 255 / 30%);
    padding: 10px;
    pointer-events: auto;
}

.options {
    display: flex;
    flex-wrap: wrap;
	align-items: center;
    gap: 12px;
	margin: 6px 0;
}

.options img {
	max-height: 20px;
	object-fit: contain;
	opacity: .6;
}

.options a {
    position: relative;
    z-index: 10;
    display: flex;
    align-items: center;
    padding: 0 10px;
	height: 34px;
    color: rgb(255 255 255 / 90%);
    border-radius: 8px;
    background: #272d3e;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    border: 1px solid rgb(255 255 255 / 30%);
}

.option-selected, .options a:hover, .options a:focus {
	border: 1px solid rgb(255 255 255 / 58%) !important;
	background: rgb(7 7 9) !important;
	color: rgb(255 255 255);
}

a.usr-unlocked,
.usr-unlocked {
    background: #479ceb;
}

a.usr-favorites,
.usr-favorites {
    background: #eb4778;
}

/* Search Bar */
.search-bar {
    flex: 1;
    min-width: 175px;
    max-width: 300px;
    height: 36px;
    box-sizing: border-box;
    font-size: 16px;
}

.sres {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    max-height: 0;
    opacity: 0;
    margin-top: 0;
    padding: 0;
    border: 0;
    color: #ffffffc9;
    border-radius: 8px;
    pointer-events: none;
    transition: max-height 0.2s ease, opacity 0.2s ease, margin-top 0.2s ease, border 0.2s ease, padding 0.2s ease;
}

.sres.show {
    opacity: 1;
    max-height: 1000px;
    margin-top: 10px;
    border: 1px solid rgb(204 217 255 / 30%);
    padding: 10px;
    pointer-events: auto;
}

.sres-con {
    display: flex;
    flex-direction: column;
    gap: 10px;
    line-height: 1.4;
    font-size: 14px;
}

.sres-con a, .sres-con a:hover {
    color: #ffffffde;
}

.sres-label {
    font-size: 16px;
    color: #ffffffc9;
    width: fit-content;
    background: #272d3e;
    padding: 1px 6px;
    border-radius: 6px;
}

.sres-crt-grid, .sres-vid-grid {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 4px;
}

/* creator search results */
.sb-crt-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    border-radius: 8px;
    width: 80px;
    flex-shrink: 0;
}

.sb-crt-link img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 50%;
}

.sb-crt-link span {
    display: block;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

/* video search results */
.sb-vid-link {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 120px;
    flex-shrink: 0;
    text-decoration: none;
}

.sb-vid-wrap {
    position: relative;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.sb-vid-f {
    position: relative;
    z-index: 2;
    max-width: 100%;
    max-height: 100%;
}

.sb-vid-b {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    filter: blur(5px);
    opacity: .4;
}

.sb-vid-link span {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.video-item a, .video-item a:hover, .video-item a:focus {
    display: flex;
    flex-direction: column;
    gap: 3px;
    color: #ffffffc9;
}

.video-item img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    border-radius: 8px;
    background: #00000054;
}

.video-name {
    position: relative;
    z-index: 1;
    font-weight: 400;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* --- TAG BOX --- */
.tag-box {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 12px 0;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.3;
    flex-wrap: wrap;
}

.tag-box span {
    color: #f4f5f6;
}

.tag {
    background: #272d3a;
    color: #ffffffc4;
    border-radius: 8px;
    padding: 3px 8px;
    border: 2px solid #000000e8;
}