* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-weight: bold;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('../assets/wallpapers/everestbg.png');
    background-size: cover;
    background-position: center;
    z-index: -10;
    will-change: transform;
}

html {
    overflow: hidden;
    height: 100%;
    touch-action: manipulation;
    overscroll-behavior: none;
    -webkit-text-size-adjust: 100%;
}

body {
    min-height: 100vh;
    height: 100%;
    font-family: 'Montserrat', Arial, sans-serif;
    color: white;
    position: relative;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: none;
    -webkit-overflow-scrolling: touch;
}

.topbar {
    position: fixed;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(30, 60, 114, 0.8);
    backdrop-filter: blur(10px);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    z-index: 100000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
}

.topbar nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 0;
    align-items: center;
}

.topbar nav a {
    color: white;
    text-decoration: none;
    padding: 0.8rem;
    border-radius: 8px;
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
}

.topbar nav a img {
    width: 28px;
    height: 28px;
    filter: none;
}

.topbar nav a img[src*="everest.gif"] {
    width: 48px;
    height: 48px;
}

.topbar nav a:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.no-transition,
.no-transition * {
    transition: none !important;
}

.content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    text-align: center;
    padding: 2rem 2rem 100px 2rem;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.content.content-games {
    justify-content: flex-start;
    padding-top: 150px !important;
    gap: 1rem;
}

.content.content-chat {
    padding: 0 !important;
    gap: 0;
    min-height: 100vh;
    height: 100vh;
    justify-content: flex-start;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    box-sizing: border-box;
    overflow: hidden;
}

.content.content-chat ~ .taskbar {
    display: none !important;
}

.content.content-music {
    padding: 0 !important;
    gap: 0;
    min-height: 100vh;
    height: 100vh;
    justify-content: flex-start;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    box-sizing: border-box;
    overflow: hidden;
}

.content.content-music ~ .taskbar {
    display: none !important;
}

.everest-title {
    font-size: 5rem;
    font-weight: 700;
    text-transform: lowercase;
    background: linear-gradient(45deg, #ffffff, #e0e0e0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
    margin: 0;
}

.phrases {
    font-size: 1.2rem;
    color: #b0b0b0;
    text-align: center;
    max-width: 600px;
    line-height: 1.4;
    margin-top: -1rem;
    transition: opacity 0.5s ease-in-out;
}

.search-container {
    width: 100%;
    max-width: 500px;
    margin: 1rem 0;
}

.search-bar {
    width: 100%;
    padding: 1rem 1.5rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    background: rgb(30, 30, 40);
    color: white;
    font-size: 1rem;
    outline: none;
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

.search-bar::placeholder {
    color: rgba(255, 255, 255, 0.6);
    text-transform: lowercase;
    font-weight: bold;
}

.search-bar:focus {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.sort-dropdown {
    position: relative;
    flex-shrink: 0;
}

.sort-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0 1.25rem;
    height: 100%;
    min-height: 50px;
    background: rgba(30, 60, 114, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: bold;
    cursor: pointer;
    white-space: nowrap;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.sort-btn:hover {
    background: rgba(40, 75, 140, 0.9);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.sort-btn:focus { outline: none; }

.sort-options {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    background: rgba(20, 40, 80, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    list-style: none;
    overflow: hidden;
    z-index: 9999;
    min-width: 170px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    padding: 6px;
}

.sort-options.open {
    display: block;
}

.sort-option {
    padding: 0.65rem 1rem;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.7);
    border-radius: 10px;
    transition: background 0.15s, color 0.15s;
    text-transform: lowercase;
}

.sort-option:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.sort-option.active {
    color: white;
    background: rgba(100, 150, 255, 0.25);
}

.game-icons {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 0.5rem;
    justify-content: center;
    justify-items: center;
    margin: 2rem auto 0;
    max-width: 1700px;
    width: 100%;
    padding: 0 2rem;
}

.game-icon {
    position: relative;
    cursor: pointer;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 1;
    background: transparent;
    border: none;
    outline: none;
    animation: icon-pop 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) backwards;
}

@keyframes icon-pop {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.game-icon:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.6);
    border: 8px solid rgba(100, 150, 255, 0.9);
}

.game-icon.most-played {
    order: -1;
}

.most-played-divider {
    width: 100%;
    order: -2;
}

@keyframes glow {
    from {
        box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    }

    to {
        box-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
    }
}

.game-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    border: none;
    outline: none;
    margin: 0;
    padding: 0;
    display: block;
    line-height: 0;
}

.game-icon:focus,
.game-icon:focus-visible,
.game-icon *:focus {
    outline: none;
    border: none;
    box-shadow: none;
}

.game-icon:hover img {
    transform: scale(1.05);
}

.game-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.7) 50%, transparent 100%);
    color: white;
    padding: 40px 16px 16px;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-transform: lowercase;
    letter-spacing: 0.3px;
    z-index: 2;
}

.exclusive-badge {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 30px;
    background: #000;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    z-index: 10;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.5);
}

.game-icon:has(.exclusive-badge) .game-title {
    padding-left: 40px;
}

@media (max-width: 1440px) {
    .game-icons {
        grid-template-columns: repeat(7, 1fr);
    }
}

@media (max-width: 1280px) {
    .game-icons {
        grid-template-columns: repeat(6, 1fr);
        gap: 0.6rem;
    }

    .content {
        padding: 85px 2rem 2rem;
    }

    .settings-container {
        gap: 1.5rem;
    }

    .setting-card {
        padding: 1.5rem;
        min-width: 240px;
    }
}

@media (max-width: 1024px) {
    .game-icons {
        grid-template-columns: repeat(5, 1fr);
        gap: 0.5rem;
    }
}

@media (max-width: 768px) {
    .game-icons {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.5rem;
        padding: 0 1rem;
    }

    .game-title {
        font-size: 0.95rem;
        padding: 35px 14px 14px;
    }

    .exclusive-badge,
    .game-category {
        font-size: 9px;
        padding: 5px 12px;
    }
}

@media (max-width: 480px) {
    .game-icons {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .game-title {
        font-size: 0.85rem;
    }
}

.taskbar {
    position: fixed;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(30, 60, 114, 0.7);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 1rem 2rem;
    border-radius: 50px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    z-index: 100000;
    min-width: 300px;
    transition: left 0.3s ease, right 0.3s ease, bottom 0.3s ease, border-radius 0.3s ease, transform 0.3s ease, width 0.3s ease;
}

.taskbar.extended {
    left: 0;
    right: 0;
    bottom: 0;
    transform: none;
    border-radius: 0;
    width: 100%;
    min-width: unset;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.taskbar.extended .taskbar-content {
    justify-content: flex-end;
    gap: 1.5rem;
    flex-shrink: 0;
    flex-grow: 0;
    padding-right: 1rem;

    justify-self: end;
    align-items: center;
    overflow: hidden;
    min-width: 0;
}

.taskbar-nav {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    flex-grow: 0;
}

.taskbar-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0;
    padding: 0;
    margin: 0;
}

.taskbar-nav a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(var(--taskbar-size, 48px) * 0.75);
    height: calc(var(--taskbar-size, 48px) * 0.75);
    border-radius: 6px;
    transition: background 0.2s;
    text-decoration: none;
}

.taskbar-nav a[data-home] {
    width: calc(var(--taskbar-size, 48px) * 1.1);
    height: calc(var(--taskbar-size, 48px) * 0.75);
    border-radius: 6px;
    background: none;
    border-right: none;
    padding: 0 6px;
    margin-right: 4px;
}

.taskbar-nav a[data-home]:hover {
    background: rgba(255, 255, 255, 0.18);
}

.taskbar-nav a:hover {
    background: rgba(255, 255, 255, 0.15);
}

.taskbar-nav a:focus,
.taskbar-nav a:focus-visible {
    outline: none;
}

.taskbar button:focus,
.taskbar button:focus-visible {
    outline: none;
    box-shadow: none;
}

.taskbar-nav a img {
    width: calc(var(--taskbar-size, 48px) * 0.45);
    height: calc(var(--taskbar-size, 48px) * 0.45);
}

.taskbar-nav a img[src*="everest.gif"] {
    width: calc(var(--taskbar-size, 48px) * 0.65);
    height: calc(var(--taskbar-size, 48px) * 0.65);
}

.taskbar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.taskbar-time,
.taskbar-weather {
    color: white;
    font-size: 0.9rem;
    font-weight: bold;
}

.taskbar-greeting {
    color: white;
    font-size: 0.9rem;
    font-weight: bold;
}

.settings-container {
    display: flex;
    flex-direction: row;
    gap: 1.5rem;
    max-width: 1000px;
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
}

.setting-card {
    background: rgba(25, 45, 75, 0.92);
    backdrop-filter: blur(15px);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(100, 150, 255, 0.35);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    flex: 1;
    min-width: 280px;
    max-width: 450px;
    overflow: visible;
}

.setting-card h3 {
    color: white;
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0 0 1rem 0;
    text-transform: lowercase;
}

.setting-option {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.setting-option label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.setting-option label:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.setting-option input[type="radio"],
.setting-option input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #007acc;
}

.setting-option input[type="radio"]:checked+span,
.setting-option input[type="checkbox"]:checked+span {
    color: #007acc;
    font-weight: bold;
}

body.useawp::before {
    background-image: none;
    background-color: rgb(15, 25, 18);
}

body.useawp {
    background-color: rgb(15, 25, 18);
}

body.useawp .topbar {
    background-color: rgb(25, 40, 32);
    border: 1px solid rgb(70, 120, 85);
    backdrop-filter: none;
    border-radius: 50px !important;
}

body.useawp .topbar nav a {
    color: rgb(225, 240, 230);
}

body.useawp .topbar nav a img {
    filter: none;
}

body.useawp .everest-title {
    color: rgb(225, 240, 230);
    background: none;
    -webkit-text-fill-color: rgb(225, 240, 230);
    text-shadow: none;
}

body.useawp .phrases {
    color: rgb(225, 240, 230);
}

body.useawp .search-bar {
    background-color: rgb(35, 60, 45);
    border: 1px solid rgb(70, 120, 85);
    color: rgb(225, 240, 230);
}

body.useawp .search-bar::placeholder {
    color: rgb(130, 170, 140);
}

body.useawp .search-bar:focus {
    background-color: rgb(50, 85, 60);
    border-color: rgb(100, 150, 110);
}

body.useawp .sort-btn {
    background: rgba(25, 40, 32, 0.9);
    border-color: rgb(70, 120, 85);
}
body.useawp .sort-btn:hover { background: rgba(35, 60, 45, 0.95); border-color: rgb(100, 150, 110); }
body.useawp .sort-options { background: rgba(15, 25, 18, 0.97); border-color: rgb(70, 120, 85); }
body.useawp .sort-option.active { background: rgba(70, 120, 85, 0.3); }

body.useawp .taskbar {
    background: rgba(25, 40, 32, 0.8);
    border: 1px solid rgba(70, 120, 85, 0.6);
    backdrop-filter: blur(15px);
}

body.useawp .taskbar.extended {
    background: rgba(12, 22, 16, 0.94);
    border: none;
}

body.useawp .taskbar.extended.panel-bottom {
    border-top: 1px solid rgba(70, 120, 85, 0.25);
    box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.5);
}

body.useawp .taskbar.extended.panel-left {
    border-right: 1px solid rgba(70, 120, 85, 0.25);
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.5);
}

body.useawp .taskbar.extended.panel-right {
    border-left: 1px solid rgba(70, 120, 85, 0.25);
    box-shadow: -2px 0 20px rgba(0, 0, 0, 0.5);
}

body.useawp .setting-card {
    background-color: rgb(25, 40, 32);
    border: 1px solid rgb(70, 120, 85);
    backdrop-filter: none;
}

body.useawp .setting-card h3 {
    color: rgb(225, 240, 230);
}

body.useawp .setting-option label {
    color: rgb(225, 240, 230);
    background-color: rgb(35, 60, 45);
    border: 1px solid rgb(70, 120, 85);
}

body.useawp .setting-option label:hover {
    background-color: rgb(50, 85, 60);
    border-color: rgb(100, 150, 110);
}

body.useawp .setting-option input[type="radio"]:checked+span,
body.useawp .setting-option input[type="checkbox"]:checked+span {
    color: rgb(130, 170, 140);
}

body.useawp .game-icon {
    background: transparent;
    border: none;
    outline: none;
}

body.useawp .game-icon:hover {
    border: 8px solid rgb(100, 150, 110);
}

body.cherryblossom::before {
    background-image: url('../assets/wallpapers/cherryblossombg.png');
}

body.cherryblossom .topbar {
    background: rgba(255, 182, 193, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 182, 193, 0.5);
    border-radius: 50px !important;
}

body.cherryblossom .topbar nav a {
    color: rgb(139, 69, 101);
}

body.cherryblossom .topbar nav a img {
    filter: sepia(0.5) hue-rotate(320deg) saturate(1.5);
}

body.cherryblossom .everest-title {
    color: rgb(255, 255, 255);
    background: rgba(145, 82, 111, 0.8);
    -webkit-text-fill-color: rgb(255, 255, 255);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    border-radius: 12px;
    backdrop-filter: blur(5px);
}

body.cherryblossom .phrases {
    color: rgb(255, 255, 255);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    background: rgba(139, 69, 101, 0.6);
    padding: 8px 16px;
    border-radius: 8px;
    backdrop-filter: blur(5px);
}

body.cherryblossom .search-bar {
    background: rgb(80, 35, 55);
    border: 1px solid rgba(255, 182, 193, 0.4);
    border-radius: 10px;
    color: rgb(255, 255, 255);
}

body.cherryblossom .search-bar:focus {
    background: rgb(100, 40, 65);
    border-color: rgba(255, 182, 193, 0.6);
}

body.cherryblossom .sort-btn {
    background: rgba(139, 69, 101, 0.8);
    border-color: rgba(255, 182, 193, 0.5);
}
body.cherryblossom .sort-btn:hover { background: rgba(139, 69, 101, 0.95); border-color: rgba(255, 182, 193, 0.7); }
body.cherryblossom .sort-options { background: rgba(70, 30, 50, 0.97); border-color: rgba(255, 182, 193, 0.4); }
body.cherryblossom .sort-option.active { background: rgba(255, 182, 193, 0.2); }

body.cherryblossom .taskbar {
    background: rgba(139, 69, 101, 0.7);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 182, 193, 0.6);
}

body.cherryblossom .taskbar.extended {
    background: rgba(70, 30, 50, 0.94);
    border: none;
}

body.cherryblossom .taskbar.extended.panel-bottom {
    border-top: 1px solid rgba(255, 182, 193, 0.2);
    box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.5);
}

body.cherryblossom .taskbar.extended.panel-left {
    border-right: 1px solid rgba(255, 182, 193, 0.2);
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.5);
}

body.cherryblossom .taskbar.extended.panel-right {
    border-left: 1px solid rgba(255, 182, 193, 0.2);
    box-shadow: -2px 0 20px rgba(0, 0, 0, 0.5);
}

body.cherryblossom .taskbar-time,
body.cherryblossom .taskbar-weather {
    color: rgb(255, 255, 255);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    background: rgba(139, 69, 101, 0.6);
    padding: 4px 8px;
    border-radius: 6px;
}

body.cherryblossom .taskbar.extended.panel-left .taskbar-time,
body.cherryblossom .taskbar.extended.panel-left .taskbar-weather,
body.cherryblossom .taskbar.extended.panel-left .taskbar-greeting,
body.cherryblossom .taskbar.extended.panel-left .taskbar-online,
body.cherryblossom .taskbar.extended.panel-right .taskbar-time,
body.cherryblossom .taskbar.extended.panel-right .taskbar-weather,
body.cherryblossom .taskbar.extended.panel-right .taskbar-greeting,
body.cherryblossom .taskbar.extended.panel-right .taskbar-online {
    background: none;
    padding: 6px 0;
    border-radius: 0;
    text-shadow: none;
}

body.cherryblossom .setting-card {
    background: rgba(139, 69, 101, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 182, 193, 0.4);
}

body.cherryblossom .setting-card h3 {
    color: rgb(255, 255, 255);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

body.cherryblossom .setting-option label {
    color: rgb(255, 255, 255);
    background: rgba(139, 69, 101, 0.5);
    border: 1px solid rgba(255, 182, 193, 0.3);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

body.cherryblossom .setting-option label:hover {
    background: rgba(139, 69, 101, 0.6);
    border-color: rgba(255, 182, 193, 0.5);
}

body.cherryblossom .setting-option input[type="radio"]:checked+span,
body.cherryblossom .setting-option input[type="checkbox"]:checked+span {
    color: rgb(255, 182, 193);
    font-weight: bold;
}

body.cherryblossom .game-icon {
    background: transparent;
    border: none;
    outline: none;
}

body.cherryblossom .game-icon:hover {
    border: 8px solid rgba(255, 182, 193, 0.9);
}

body.kittycat::before {
    background-image: url('../assets/wallpapers/kittycat.png');
    background-size: cover;
    background-position: center;
}

body.kittycat {
    background-color: #030304;
}

body.kittycat .topbar {
    background: rgba(126, 73, 56, 0.85);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(233, 186, 183, 0.5);
    border-radius: 50px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

body.kittycat .topbar nav a {
    color: #FFF;
}

body.kittycat .topbar nav a img {
    filter: none;
}

body.kittycat .topbar nav a:hover {
    background: rgba(233, 186, 183, 0.3);
}

body.kittycat .everest-title {
    color: #FFF;
    background: linear-gradient(135deg, rgba(126, 73, 56, 0.8), rgba(174, 181, 194, 0.6));
    -webkit-text-fill-color: #FFF;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
    padding: 12px 24px;
    border-radius: 16px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(233, 186, 183, 0.3);
}

body.kittycat .phrases {
    color: #FFF;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8);
    background: rgba(126, 73, 56, 0.7);
    padding: 10px 20px;
    border-radius: 10px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(233, 186, 183, 0.2);
}

body.kittycat .search-bar {
    background: rgba(126, 73, 56, 0.6);
    border: 1px solid rgba(233, 186, 183, 0.4);
    border-radius: 12px;
    color: #FFF;
}

body.kittycat .search-bar::placeholder {
    color: rgba(233, 186, 183, 0.7);
}

body.kittycat .search-bar:focus {
    background: rgba(126, 73, 56, 0.8);
    border-color: rgba(233, 186, 183, 0.6);
}

body.kittycat .sort-btn {
    background: rgba(126, 73, 56, 0.8);
    border-color: rgba(233, 186, 183, 0.4);
}
body.kittycat .sort-btn:hover { background: rgba(126, 73, 56, 0.95); border-color: rgba(233, 186, 183, 0.6); }
body.kittycat .sort-options { background: rgba(3, 3, 4, 0.97); border-color: rgba(233, 186, 183, 0.4); }
body.kittycat .sort-option.active { background: rgba(233, 186, 183, 0.2); color: #E9BAB7; }

body.kittycat .taskbar {
    background: rgba(126, 73, 56, 0.75);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(233, 186, 183, 0.5);
}

body.kittycat .taskbar.extended {
    background: rgba(3, 3, 4, 0.95);
    border: none;
}

body.kittycat .taskbar.extended.panel-bottom {
    border-top: 1px solid rgba(233, 186, 183, 0.2);
    box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.6);
}

body.kittycat .taskbar.extended.panel-left {
    border-right: 1px solid rgba(233, 186, 183, 0.2);
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.6);
}

body.kittycat .taskbar.extended.panel-right {
    border-left: 1px solid rgba(233, 186, 183, 0.2);
    box-shadow: -2px 0 20px rgba(0, 0, 0, 0.6);
}

body.kittycat .taskbar-time,
body.kittycat .taskbar-weather,
body.kittycat .taskbar-greeting {
    color: #FFF;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
    background: rgba(126, 73, 56, 0.5);
    padding: 5px 10px;
    border-radius: 8px;
}

body.kittycat .taskbar.extended.panel-left .taskbar-time,
body.kittycat .taskbar.extended.panel-left .taskbar-weather,
body.kittycat .taskbar.extended.panel-left .taskbar-greeting,
body.kittycat .taskbar.extended.panel-left .taskbar-online,
body.kittycat .taskbar.extended.panel-right .taskbar-time,
body.kittycat .taskbar.extended.panel-right .taskbar-weather,
body.kittycat .taskbar.extended.panel-right .taskbar-greeting,
body.kittycat .taskbar.extended.panel-right .taskbar-online {
    background: none;
    padding: 6px 0;
    border-radius: 0;
    text-shadow: none;
    color: rgba(233, 186, 183, 0.8);
}

body.kittycat .setting-card {
    background: rgba(126, 73, 56, 0.75);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(233, 186, 183, 0.35);
}

body.kittycat .setting-card h3 {
    color: #FFF;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

body.kittycat .setting-option label {
    color: #FFF;
    background: rgba(174, 181, 194, 0.2);
    border: 1px solid rgba(233, 186, 183, 0.3);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.4);
}

body.kittycat .setting-option label:hover {
    background: rgba(174, 181, 194, 0.35);
    border-color: rgba(233, 186, 183, 0.5);
}

body.kittycat .setting-option input[type="radio"]:checked+span,
body.kittycat .setting-option input[type="checkbox"]:checked+span {
    color: #E9BAB7;
    font-weight: bold;
}

body.kittycat .game-icon {
    background: transparent;
    border: none;
    outline: none;
}

body.kittycat .game-icon:hover {
    border: 8px solid rgba(233, 186, 183, 0.8);
    box-shadow: 0 12px 24px rgba(126, 73, 56, 0.6);
}

#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(25, 30, 45);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

body.useawp #loading-screen,
html.useawp-preload #loading-screen {
    background: rgb(15, 25, 18);
}

body.cherryblossom #loading-screen,
html.cherry-preload #loading-screen {
    background: rgb(60, 25, 42);
}

body.kittycat #loading-screen,
html.kittycat-preload #loading-screen {
    background: rgb(126, 73, 56);
}

#loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.loading-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 32px;
}

.loading-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(100, 150, 255, 0.9);
    animation: dotBounce 1.4s ease-in-out infinite;
}

.loading-dot:nth-child(1) { animation-delay: 0s; }
.loading-dot:nth-child(2) { animation-delay: 0.2s; }
.loading-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes dotBounce {
    0%, 80%, 100% { transform: scale(0.4); opacity: 0.3; }
    40% { transform: scale(1); opacity: 1; }
}

body.useawp .loading-dot,
html.useawp-preload .loading-dot {
    background: rgb(130, 170, 140);
}

body.cherryblossom .loading-dot,
html.cherry-preload .loading-dot {
    background: rgb(255, 182, 193);
}

body.kittycat .loading-dot,
html.kittycat-preload .loading-dot {
    background: #E9BAB7;
}

.loading-counter {
    color: rgba(255, 255, 255, 0.55);
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.loading-progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.loading-progress-fill {
    height: 100%;
    width: 0%;
    background: rgba(100, 150, 255, 0.9);
    transition: width 0.3s ease;
    box-shadow: 0 0 12px 2px rgba(100, 150, 255, 0.6);
}

body.useawp .loading-progress-fill,
html.useawp-preload .loading-progress-fill {
    background: rgb(130, 170, 140);
    box-shadow: 0 0 12px 2px rgba(130, 170, 140, 0.6);
}

body.cherryblossom .loading-progress-fill,
html.cherry-preload .loading-progress-fill {
    background: rgb(255, 182, 193);
    box-shadow: 0 0 12px 2px rgba(255, 182, 193, 0.6);
}

body.kittycat .loading-progress-fill,
html.kittycat-preload .loading-progress-fill {
    background: #E9BAB7;
    box-shadow: 0 0 12px 2px rgba(233, 186, 183, 0.6);
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

#sj-frame {
    border: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #111;
}

#sj-error {
    color: #ff6666 !important;
    white-space: pre-wrap;
}

#sj-error-code {
    font-size: 12px;
    color: #fff;
    font-family: "Courier New", Courier, monospace;
}

#sixsevenyari {
    margin-top: 60px;
}

#proxysel {
    width: 200px;
    max-width: 80%;
    padding: 0.6rem 1rem;
    margin-top: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    font-size: 0.95rem;
    outline: none;
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

.proxy-form-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 2rem;
    position: relative;
    z-index: 100;
    width: 90%;
    max-width: 800px;
}

.proxy-dropdown {
    width: 250px;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 1024px) {
    .topbar {
        padding: 0.6rem 1.5rem;
    }

    .topbar nav a {
        width: 40px;
        height: 40px;
        padding: 0.6rem;
    }

    .topbar nav a img {
        width: 24px;
        height: 24px;
    }

    .everest-title {
        font-size: 4rem;
    }

    .phrases {
        font-size: 1rem;
        max-width: 450px;
    }

    .proxy-form-container {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .search-bar {
        max-width: 400px;
    }

    .settings-container {
        flex-direction: column;
        align-items: center;
    }

    .setting-card {
        max-width: 100%;
        width: 100%;
    }

    .taskbar {
        min-width: 250px;
        padding: 0.8rem 1.5rem;
    }

    .taskbar-content {
        gap: 1rem;
    }

    body,
    body.cherryblossom,
    body.useawp {
        background-attachment: scroll !important;
    }
}

@media (max-width: 768px) {
    .topbar {
        top: 10px;
        padding: 0.5rem 1rem;
        border-radius: 40px;
    }

    .topbar nav a {
        width: 36px;
        height: 36px;
        padding: 0.5rem;
    }

    .topbar nav a img {
        width: 20px;
        height: 20px;
    }

    .content {
        padding-top: 80px;
        padding-left: 15px;
        padding-right: 15px;
    }

    .everest-title {
        font-size: 3rem;
    }

    .phrases {
        font-size: 0.9rem;
        max-width: 350px;
        padding: 0 1rem;
    }

    .search-bar {
        font-size: 0.9rem;
        padding: 0.8rem 1.2rem;
    }

    .taskbar {
        min-width: 200px;
        padding: 0.6rem 1rem;
        border-radius: 30px;
        bottom: 5px;
    }

    .taskbar-content {
        gap: 0.75rem;
        font-size: 0.8rem;
    }

    .taskbar-time,
    .taskbar-weather,
    .taskbar-greeting,
    .taskbar-online {
        font-size: 0.75rem;
    }

    .settings-container {
        padding: 0 1rem;
    }

    .setting-card {
        min-width: unset;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .topbar {
        top: 8px;
        padding: 0.4rem 0.8rem;
        border-radius: 30px;
    }

    .topbar nav a {
        width: 32px;
        height: 32px;
        padding: 0.4rem;
    }

    .topbar nav a img {
        width: 18px;
        height: 18px;
    }

    .content {
        padding-top: 70px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .everest-title {
        font-size: 2.2rem;
    }

    .phrases {
        font-size: 0.8rem;
        max-width: 280px;
    }

    .search-bar {
        font-size: 0.85rem;
        padding: 0.7rem 1rem;
        border-radius: 20px;
    }

    .proxy-form-container {
        width: 100%;
        padding: 0 0.5rem;
    }

    .taskbar {
        min-width: 160px;
        padding: 0.5rem 0.8rem;
        border-radius: 25px;
        bottom: 5px;
        left: 50%;
        transform: translateX(-50%);
        max-width: 95vw;
    }

    .taskbar-content {
        gap: 0.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .taskbar-time,
    .taskbar-weather,
    .taskbar-greeting,
    .taskbar-online {
        font-size: 0.7rem;
    }

    .taskbar-weather {
        display: none;
    }

    .setting-card {
        padding: 1rem;
        border-radius: 12px;
    }

    .setting-card h3 {
        font-size: 1rem;
    }
}
