*,
*::before,
*::after {
    box-sizing: border-box;
}
body {
    margin: 0;
    min-height: 100dvh;
    background-color: rgb(38, 39, 39);
    color: rgb(217, 216, 216);
    font-family: system-ui, sans-serif;
}
#page-wrapper {
    min-height: 97dvh;
    display: flex;
    flex-direction: column;
}
#topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background-color: rgb(61, 70, 70);
}
.topbar-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}
#serviceannouncement {
    display: none;
}
#serviceannouncement[shown] {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #FF2D1A;
    color: rgb(217, 216, 216);
}
.yag-logo {
    display: flex;
    margin: 0;
    padding: 0;
}
#bigLogo {
    font-size: clamp(5rem, 15vw, 30rem);
}
#yag-Y {
    color: #FF2D1A;
}
#yag-A {
    color: #B2FF1A;
}
#yag-G {
    color: #25B2FF;
}
#searchFullContainer {
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.searchOptionsArea {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.searchbar {
    display: flex;
    overflow: hidden;
    align-items: center;
    gap: 0.5rem;
    background-color: rgb(38, 39, 39);
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    width: clamp(14rem, 28vw, 26rem);
}
#bigSearchBar {
    background-color: rgb(61, 70, 70);
    min-width: min-content;
    width: 45vw;
    padding: 1%;
    max-width: clamp(5rem, 90vw, 100rem);
}
.search-input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: inherit;
    font-size: 1rem;
}
.search-button {
    all: unset;
    cursor: pointer;
    width: 1.6rem;
    height: 1.6rem;
}
#selectorArea {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    width: fit-content;
    margin: 0 auto;
    font-size: clamp(0.2rem, 0.8rem, 10rem);
}
.channelSelect {
    width: auto;
    max-width: 30vw;
    background-color: rgb(61, 70, 70);
    color: rgb(217, 216, 216);
    border: none;
    border-radius: 1rem;
    padding: 0.4rem 0.7rem;
    font-size: clamp(1rem, 1rem, 10rem);
    outline: none;
    cursor: pointer;
    overflow: hidden;
}
#bigChannelSelect {
    background-color: rgb(38, 39, 39);
}
#back-button {
    all: unset;
    cursor: pointer;
    width: 3rem;
    height: auto;
}
#back-button:hover {
    opacity: 0.7;
}
#searchResults {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    max-width: 90dvw;
    gap: 1rem;
}
.resultsContainer {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    width: 50rem;
    max-height: 22ch;
    max-width: 90dvw;
    gap: 1rem;
    padding: 0.5rem;
    border-radius: 0.5rem;
    overflow-y: auto;
    background-color: rgb(50, 50, 50);
}
.resultsThumbnail {
    width: 15rem;
    max-width: 30dvw;
    height: auto;
    border-radius: 0.5rem;
    flex-shrink: 0;
}
.resultDetails{
    display: flex;
    font-size: 0.9rem;
    gap: 0.4rem;
}
#noResults {
    color: #FF2D1A;
}
.description {
    flex: 1;
    word-wrap: break-word;
    overflow-wrap: break-word;
    font-size: 0.8rem;
    line-height: 1.2;
}
#developer-credit {
    font-size: 0.65rem;
    padding: 0.4rem 0.8rem;
    opacity: 0.8;
}