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

body {
    background-image: url('assets/wallpapers/everestbg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    min-height: 100vh;
    font-family: 'Montserrat', Arial, sans-serif;
    color: white;
    position: relative;
    overflow-x: hidden;
}

.topbar {
    position: fixed;
    top: 20px;
    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: all 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;
}

.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: all 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);
}

.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: all 0.3s ease;
    border-radius: 16px;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    background: rgba(0, 0, 0, 0.3);
}

.game-icon:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.6);
}

.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;
}

.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: 1024px) {
    .game-icons {
        grid-template-columns: repeat(6, 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(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    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: all 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 {
    background-color: rgb(15, 25, 18);
    background-image: none;
}

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 .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.cherryblossom {
    background-image: url('assets/wallpapers/cherryblossombg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

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 #game-count-message {
    background: rgba(139, 69, 101, 0.8);
    backdrop-filter: blur(5px);
    padding: 8px 16px;
    border-radius: 8px;
    color: white;
    opacity: 1 !important;
    margin: -15px auto 20px !important;
    display: inline-block;
    width: auto;
}

body.cherryblossom .games-slideshow-container {
    background: rgba(139, 69, 101, 0.8);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 182, 193, 0.4);
    border-radius: 10px;
}



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 .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;
}

.custom-dropdown {
    position: relative;
    width: 200px;
    margin-left: 10px;
    flex-shrink: 0;
}

.dropdown-selected {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 8px 12px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    min-width: 0;
}

.dropdown-selected:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.dropdown-arrow {
    transition: transform 0.3s ease;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    flex-shrink: 0;
}

.dropdown-selected.active .dropdown-arrow {
    transform: rotate(180deg);
}

#selected-text {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    margin-right: 8px;
}

.dropdown-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgb(30, 30, 40);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    margin-top: 4px;
    z-index: 1000;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    opacity: 0;
    min-width: 100%;
    box-sizing: border-box;
}

.dropdown-options.show {
    max-height: 200px;
    opacity: 1;
    overflow-y: auto;
}

.dropdown-option {
    padding: 10px 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dropdown-option:last-child {
    border-bottom: none;
}

.dropdown-option:hover {
    background: rgba(255, 255, 255, 0.1);
}

.dropdown-option.selected {
    background: rgba(100, 150, 255, 0.2);
    color: rgb(150, 180, 255);
}

.dropdown-option[data-value="custom"] {
    color: rgb(150, 200, 255);
    font-weight: 500;
}

.setting-option {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    width: 100%;
    box-sizing: border-box;
}

.setting-option label {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    width: 100%;
    box-sizing: border-box;
}

.setting-option label span:first-child {
    flex-shrink: 0;
    min-width: fit-content;
}

.custom-tab-cloak {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    backdrop-filter: blur(10px);
    margin-top: 15px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.custom-tab-cloak.show {
    max-height: 500px;
    opacity: 1;
    overflow: visible;
}

.custom-header h4 {
    color: rgb(150, 180, 255);
    margin: 0 0 15px 0;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.custom-inputs {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.input-group input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 10px 12px;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    transition: all 0.3s ease;
}

.input-group input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(150, 180, 255, 0.5);
    box-shadow: 0 0 0 2px rgba(150, 180, 255, 0.2);
}

.input-group input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.button-group {
    display: flex;
    justify-content: flex-start;
    margin-top: 10px;
}

.save-btn {
    background: linear-gradient(135deg, rgba(100, 150, 255, 0.2), rgba(150, 180, 255, 0.1));
    border: 1px solid rgba(150, 180, 255, 0.3);
    border-radius: 8px;
    padding: 12px 20px;
    color: white;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.save-btn:hover {
    background: linear-gradient(135deg, rgba(100, 150, 255, 0.3), rgba(150, 180, 255, 0.2));
    border-color: rgba(150, 180, 255, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(100, 150, 255, 0.3);
}

.save-btn:active {
    transform: translateY(0);
}

.save-btn.success {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.3), rgba(129, 199, 132, 0.2));
    border-color: rgba(76, 175, 80, 0.5);
}

.save-btn.error {
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.3), rgba(239, 83, 80, 0.2));
    border-color: rgba(244, 67, 54, 0.5);
}

body.useawp .custom-dropdown .dropdown-selected {
    background: rgb(35, 60, 45);
    border-color: rgba(100, 150, 110, 0.4);
}

body.useawp .custom-dropdown .dropdown-selected:hover {
    background: rgb(50, 85, 60);
    border-color: rgba(100, 150, 110, 0.6);
}

body.useawp .custom-dropdown .dropdown-options {
    background: rgb(15, 25, 20);
    border-color: rgba(100, 150, 110, 0.4);
}

body.useawp .custom-dropdown .dropdown-option:hover {
    background: rgba(70, 120, 85, 0.3);
}

body.useawp .custom-dropdown .dropdown-option.selected {
    background: rgba(130, 170, 140, 0.3);
    color: rgb(130, 170, 140);
}

body.useawp .custom-tab-cloak {
    background: rgba(50, 85, 60, 0.1);
    border-color: rgba(100, 150, 110, 0.2);
}

body.useawp .custom-header h4 {
    color: rgb(130, 170, 140);
}

body.useawp .input-group input:focus {
    border-color: rgba(130, 170, 140, 0.5);
    box-shadow: 0 0 0 2px rgba(130, 170, 140, 0.2);
}

body.useawp .save-btn {
    background: linear-gradient(135deg, rgba(130, 170, 140, 0.2), rgba(160, 190, 170, 0.1));
    border-color: rgba(130, 170, 140, 0.3);
}

body.useawp .save-btn:hover {
    background: linear-gradient(135deg, rgba(130, 170, 140, 0.3), rgba(160, 190, 170, 0.2));
    border-color: rgba(130, 170, 140, 0.5);
    box-shadow: 0 4px 12px rgba(130, 170, 140, 0.3);
}

body.cherryblossom .custom-dropdown .dropdown-selected {
    background: rgb(139, 69, 101);
    border-color: rgba(255, 182, 193, 0.4);
}

body.cherryblossom .custom-dropdown .dropdown-selected:hover {
    background: rgb(139, 69, 101);
    filter: brightness(1.2);
    border-color: rgba(255, 182, 193, 0.6);
}

body.cherryblossom .custom-dropdown .dropdown-options {
    background: rgb(80, 35, 55);
    border-color: rgba(255, 182, 193, 0.4);
}

body.cherryblossom .custom-dropdown .dropdown-option:hover {
    background: rgba(255, 182, 193, 0.2);
}

body.cherryblossom .custom-dropdown .dropdown-option.selected {
    background: rgba(255, 182, 193, 0.3);
    color: rgb(255, 182, 193);
}

body.cherryblossom .custom-tab-cloak {
    background: rgba(139, 69, 101, 0.2);
    border-color: rgba(255, 182, 193, 0.3);
}

body.cherryblossom .custom-header h4 {
    color: rgb(255, 182, 193);
}

body.cherryblossom .input-group input:focus {
    border-color: rgba(255, 182, 193, 0.5);
    box-shadow: 0 0 0 2px rgba(255, 182, 193, 0.2);
}

body.cherryblossom .save-btn {
    background: linear-gradient(135deg, rgba(255, 182, 193, 0.2), rgba(255, 200, 210, 0.1));
    border-color: rgba(255, 182, 193, 0.3);
}

body.cherryblossom .save-btn:hover {
    background: linear-gradient(135deg, rgba(255, 182, 193, 0.3), rgba(255, 200, 210, 0.2));
    border-color: rgba(255, 182, 193, 0.5);
    box-shadow: 0 4px 12px rgba(255, 182, 193, 0.3);
}

.proxy-controls {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-left: auto;
}

.proxy-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 8px 12px;
    color: white;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
}

.proxy-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.proxy-btn:active {
    transform: translateY(0);
}

.proxy-btn.active {
    background: rgba(76, 175, 80, 0.3);
    border-color: rgba(76, 175, 80, 0.5);
    color: rgb(129, 199, 132);
}

.proxy-icon {
    font-size: 14px;
}

.proxy-text {
    font-size: 12px;
    white-space: nowrap;
}

body.useawp .proxy-btn {
    background: rgba(50, 85, 60, 0.3);
    border-color: rgba(100, 150, 110, 0.4);
}

body.useawp .proxy-btn:hover {
    background: rgba(50, 85, 60, 0.4);
    border-color: rgba(100, 150, 110, 0.6);
    box-shadow: 0 4px 12px rgba(100, 150, 110, 0.3);
}

body.useawp .proxy-btn.active {
    background: rgba(130, 170, 140, 0.3);
    border-color: rgba(130, 170, 140, 0.5);
    color: rgb(160, 190, 170);
}

body.cherryblossom .proxy-btn {
    background: rgba(139, 69, 101, 0.3);
    border-color: rgba(255, 182, 193, 0.4);
}

body.cherryblossom .proxy-btn:hover {
    background: rgba(139, 69, 101, 0.4);
    border-color: rgba(255, 182, 193, 0.6);
    box-shadow: 0 4px 12px rgba(255, 182, 193, 0.3);
}

body.cherryblossom .proxy-btn.active {
    background: rgba(255, 182, 193, 0.3);
    border-color: rgba(255, 182, 193, 0.5);
    color: rgb(255, 200, 210);
}

.open-buttons {
    display: flex;
    gap: 10px;
    margin-left: 10px;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.open-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 8px 12px;
    color: white;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.open-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.open-btn:active {
    transform: translateY(0);
}

.btn-icon {
    font-size: 14px;
    flex-shrink: 0;
}

.btn-text {
    font-size: 13px;
    white-space: nowrap;
}

body.useawp .open-btn {
    background: rgba(50, 85, 60, 0.3);
    border-color: rgba(100, 150, 110, 0.4);
}

body.useawp .open-btn:hover {
    background: rgba(50, 85, 60, 0.4);
    border-color: rgba(100, 150, 110, 0.6);
    box-shadow: 0 4px 12px rgba(100, 150, 110, 0.3);
}

body.cherryblossom .open-btn {
    background: rgba(139, 69, 101, 0.3);
    border-color: rgba(255, 182, 193, 0.4);
}

body.cherryblossom .open-btn:hover {
    background: rgba(139, 69, 101, 0.4);
    border-color: rgba(255, 182, 193, 0.6);
    box-shadow: 0 4px 12px rgba(255, 182, 193, 0.3);
}

#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgb(30, 60, 114), rgb(20, 40, 80));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

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

body.cherryblossom #loading-screen {
    background: linear-gradient(135deg, rgb(139, 69, 101), rgb(100, 50, 80));
}

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

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

body.useawp .loading-spinner {
    border-color: rgba(70, 120, 85, 0.2);
    border-top-color: rgb(130, 170, 140);
}

body.cherryblossom .loading-spinner {
    border-color: rgba(255, 182, 193, 0.3);
    border-top-color: rgb(255, 182, 193);
}

.loading-text {
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: lowercase;
}

@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: all 0.3s ease;
}


.chrome-browser-shell {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.95);
    width: 90vw;
    height: 80vh;
    background: rgba(30, 60, 114, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    display: none;
    flex-direction: column;
    z-index: 9999;
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    font-family: 'Montserrat', sans-serif;
}

.chrome-browser-shell.active {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
    display: flex;
}

.chrome-browser-shell.fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    transform: none;
    width: 100vw;
    height: 100vh;
    border-radius: 0;
    border: none;
    z-index: 100001;
}

body.shell-fullscreen .topbar,
body.shell-fullscreen .taskbar {
    display: none !important;
}


.chrome-titlebar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    height: 42px;
    background: rgba(20, 40, 80, 0.8);
    user-select: none;
    padding-top: 4px;
}

.chrome-tabs {
    display: flex;
    align-items: center;
    height: 100%;
    margin-left: 8px;
    gap: 4px;
}

.chrome-tab {
    display: flex;
    align-items: center;
    background: rgba(15, 30, 60, 0.6);
    padding: 8px 16px;
    height: 34px;
    border-radius: 8px 8px 0 0;
    position: relative;
    cursor: default;
    min-width: 120px;
    max-width: 200px;
    gap: 8px;
    opacity: 0.8;
    transition: all 0.2s ease;
}

.chrome-tab.active {
    background: rgba(30, 60, 114, 0.95);
    opacity: 1;
    z-index: 2;
}

.chrome-tab:hover:not(.active) {
    background: rgba(40, 70, 130, 0.8);
    opacity: 0.95;
}


.chrome-tab::before,
.chrome-tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 8px;
    height: 8px;
}

.chrome-tab::before {
    left: -8px;
    border-bottom-right-radius: 8px;
    box-shadow: 4px 0 0 0 rgba(30, 60, 114, 0.95);
}

.chrome-tab::after {
    right: -8px;
    border-bottom-left-radius: 8px;
    box-shadow: -4px 0 0 0 rgba(30, 60, 114, 0.95);
}

.chrome-tab-icon {
    width: 16px;
    height: 16px;
}

.chrome-tab-title {
    flex: 1;
    font-size: 12px;
    color: white;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.chrome-tab-close {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.chrome-tab-close:hover {
    background: rgba(0, 0, 0, 0.1);
}

.chrome-new-tab {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: white;
    font-size: 18px;
    cursor: pointer;
}

.chrome-new-tab:hover {
    background: rgba(255, 255, 255, 0.4);
}

.chrome-window-controls {
    display: flex;
    height: 100%;
}

.chrome-win-btn {
    width: 46px;
    height: 100%;
    background: transparent;
    border: none;
    color: white;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.chrome-win-btn:hover {
    background: rgba(0, 0, 0, 0.1);
}

.chrome-win-btn.close:hover {
    background: #e81123;
    color: white;
}

.chrome-toolbar {
    display: flex;
    align-items: center;
    height: 44px;
    background: rgba(30, 60, 114, 0.95);
    padding: 0 8px;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.chrome-nav-buttons {
    display: flex;
    gap: 4px;
}

.chrome-nav-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: transparent;
    border: none;
    color: white;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.chrome-nav-btn:hover {
    background: rgba(0, 0, 0, 0.08);
}

.chrome-omnibox {
    flex: 1;
    display: flex;
    align-items: center;
    background: rgba(20, 40, 80, 0.8);
    height: 32px;
    border-radius: 20px;
    padding: 0 12px;
    gap: 8px;
    box-shadow: inset 0 0 0 1px transparent;
}

.chrome-omnibox:focus-within {
    box-shadow: inset 0 0 0 2px #4285f4;
}

.chrome-security-icon {
    font-size: 14px;
}

.chrome-url-input {
    flex: 1;
    border: none;
    background: transparent;
    outline: none;
    font-size: 14px;
    color: white;
}

.chrome-content {
    flex: 1;
    background: #fff;
    position: relative;
    overflow: hidden;
}

.chrome-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    background: white;
    display: none;
}

.chrome-iframe.active {
    display: block;
}



.dm-taskbar-search {
    display: flex;
    align-items: center;
    margin-left: 15px;
    width: 250px;
    transition: width 0.3s ease;
}

.dm-ts-input {
    width: 100%;
    padding: 6px 15px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s;
}

.dm-ts-input:focus {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.dm-ts-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

body.useawp .dm-ts-input {
    background: rgba(10, 18, 13, 0.4);
    border-color: rgba(70, 120, 85, 0.4);
}

body.useawp .dm-ts-input:focus {
    background: rgba(35, 60, 45, 0.8);
    border-color: rgba(100, 150, 110, 0.8);
}

body.cherryblossom .dm-ts-input {
    background: rgba(55, 20, 38, 0.4);
    border-color: rgba(255, 182, 193, 0.4);
}

body.cherryblossom .dm-ts-input:focus {
    background: rgba(139, 69, 101, 0.8);
    border-color: rgba(255, 182, 193, 0.8);
}


body.useawp .chrome-browser-shell,
body.useawp .chrome-tab {
    background: rgb(25, 40, 32);
}

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

body.useawp .chrome-tab::before {
    box-shadow: 4px 0 0 0 rgb(25, 40, 32);
}

body.useawp .chrome-tab::after {
    box-shadow: -4px 0 0 0 rgb(25, 40, 32);
}

body.useawp .chrome-toolbar {
    background: rgb(25, 40, 32);
    border-bottom: 1px solid rgb(70, 120, 85);
}

body.useawp .chrome-tab-title,
body.useawp .chrome-win-btn,
body.useawp .chrome-nav-btn {
    color: rgb(225, 240, 230);
}

body.useawp .chrome-tab-close,
body.useawp .chrome-new-tab {
    color: rgb(130, 170, 140);
}

body.useawp .chrome-omnibox {
    background: rgb(35, 60, 45);
    border: 1px solid rgb(70, 120, 85);
}

body.useawp .chrome-url-input {
    color: rgb(225, 240, 230);
}

body.cherryblossom .chrome-browser-shell,
body.cherryblossom .chrome-tab {
    background: rgba(145, 82, 111, 1);
}


body.cherryblossom .chrome-titlebar {
    background: rgba(70, 30, 50, 0.95);
}

body.cherryblossom .chrome-tab::before {
    box-shadow: 4px 0 0 0 rgba(145, 82, 111, 1);
}

body.cherryblossom .chrome-tab::after {
    box-shadow: -4px 0 0 0 rgba(145, 82, 111, 1);
}


body.cherryblossom .chrome-toolbar {
    background: rgba(145, 82, 111, 1);
    border-bottom: 1px solid rgba(255, 182, 193, 0.4);
}


body.cherryblossom .chrome-tab-title,
body.cherryblossom .chrome-win-btn,
body.cherryblossom .chrome-nav-btn {
    color: rgb(255, 255, 255);
}

body.cherryblossom .chrome-tab-close,
body.cherryblossom .chrome-new-tab {
    color: rgba(255, 255, 255, 0.7);
}

body.cherryblossom .chrome-omnibox {
    background: rgba(55, 20, 38, 0.8);
    border: 1px solid rgba(255, 182, 193, 0.4);
}

body.cherryblossom .chrome-url-input {
    color: white;
}


.taskbar.extended {
    padding: 0;
    border-radius: 0;
    border: none;
    background: rgba(15, 20, 40, 0.92);
    backdrop-filter: blur(20px);
}


.taskbar.extended.panel-bottom {
    top: unset;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: var(--taskbar-size, 48px);
    display: grid !important;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.4);
    overflow: visible;
}


.taskbar.extended.panel-bottom .taskbar-nav {
    justify-self: start;
}

.taskbar.extended.panel-bottom .taskbar-pins {
    justify-self: center;
}

.chrome-tab.loading .chrome-tab-icon {
    display: none;
}

.chrome-tab-loading-spinner {
    display: none;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-top-color: white;
    border-radius: 50%;
    animation: chrome-tab-spin 0.8s linear infinite;
    margin-right: 8px;
    flex-shrink: 0;
}

.chrome-tab.loading .chrome-tab-loading-spinner {
    display: block;
}

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


.taskbar.extended.panel-bottom .taskbar-content {
    justify-self: end;
}


.taskbar.extended.panel-left {
    top: 32px;
    bottom: 0;
    left: 0;
    right: unset;
    width: var(--taskbar-size, 48px);
    height: calc(100vh - 32px);
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.4);
}


.taskbar.extended.panel-right {
    top: 32px;
    bottom: 0;
    right: 0;
    left: unset;
    width: var(--taskbar-size, 48px);
    height: calc(100vh - 32px);
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: -2px 0 20px rgba(0, 0, 0, 0.4);
}

.taskbar.extended.panel-left .taskbar-content,
.taskbar.extended.panel-right .taskbar-content {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    align-items: center;
    justify-self: unset;
    padding-right: 0;
    padding-bottom: 0.5rem;
    width: 100%;
    overflow: hidden;
}

.taskbar.extended.panel-left .dm-gear-btn,
.taskbar.extended.panel-right .dm-gear-btn {
    margin-left: 0;
    margin-top: auto;
}


.taskbar.extended.panel-left .taskbar-time,
.taskbar.extended.panel-left .taskbar-weather,
.taskbar.extended.panel-left .taskbar-greeting,
.taskbar.extended.panel-left .taskbar-online,
.taskbar.extended.panel-right .taskbar-time,
.taskbar.extended.panel-right .taskbar-weather,
.taskbar.extended.panel-right .taskbar-greeting,
.taskbar.extended.panel-right .taskbar-online {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    white-space: nowrap;
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.4px;
    color: rgba(255, 255, 255, 0.55);
    padding: 4px 0;
    text-align: center;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 72px;
    background: none;
    text-shadow: none;
    border-radius: 0;
    transition: color 0.2s;
}

.taskbar.extended.panel-left .taskbar-time,
.taskbar.extended.panel-right .taskbar-time {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.taskbar.extended.panel-left .taskbar-greeting,
.taskbar.extended.panel-right .taskbar-greeting {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.58rem;
    text-transform: lowercase;
}


.taskbar.extended.panel-right .taskbar-time,
.taskbar.extended.panel-right .taskbar-weather,
.taskbar.extended.panel-right .taskbar-greeting,
.taskbar.extended.panel-right .taskbar-online {
    transform: rotate(0deg);
}


.taskbar.extended.panel-left .taskbar-content,
.taskbar.extended.panel-right .taskbar-content {
    gap: 2px;
}


.taskbar.extended.panel-left .dm-resource-monitor,
.taskbar.extended.panel-right .dm-resource-monitor {
    flex-direction: column;
    gap: 3px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0 0 8px 0;
    margin-right: 0;
    margin-bottom: 2px;
    width: 100%;
    align-items: center;
}

.taskbar.extended.panel-left .dm-res-item,
.taskbar.extended.panel-right .dm-res-item {
    flex-direction: column;
    gap: 3px;
    padding: 4px 6px;
    width: calc(var(--taskbar-size, 48px) * 0.78);
    justify-content: center;
    align-items: center;
    border-radius: 8px;
}

.taskbar.extended.panel-left .dm-res-bar-wrap,
.taskbar.extended.panel-right .dm-res-bar-wrap {
    width: 100%;
    height: 3px;
}

.taskbar.extended.panel-left .dm-res-val,
.taskbar.extended.panel-right .dm-res-val {
    min-width: unset;
    text-align: center;
    font-size: 0.58rem;
}

.taskbar.extended.panel-left .dm-res-icon,
.taskbar.extended.panel-right .dm-res-icon {
    display: none;
}


.taskbar.extended.panel-left .taskbar-content>*,
.taskbar.extended.panel-right .taskbar-content>* {
    width: 100%;
}


.taskbar.extended.panel-left .taskbar-time,
.taskbar.extended.panel-left .taskbar-weather,
.taskbar.extended.panel-left .taskbar-greeting,
.taskbar.extended.panel-left .taskbar-online,
.taskbar.extended.panel-right .taskbar-time,
.taskbar.extended.panel-right .taskbar-weather,
.taskbar.extended.panel-right .taskbar-greeting,
.taskbar.extended.panel-right .taskbar-online {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: 1px;
}

.taskbar.extended.panel-left .dm-resource-monitor+.taskbar-time,
.taskbar.extended.panel-right .dm-resource-monitor+.taskbar-time {
    border-top: none;
    margin-top: 0;
}

.taskbar.extended.panel-left .taskbar-nav,
.taskbar.extended.panel-right .taskbar-nav {
    flex-direction: column;
}

.taskbar.extended.panel-left .taskbar-nav ul,
.taskbar.extended.panel-right .taskbar-nav ul {
    flex-direction: column;
}

.taskbar.extended.panel-left .taskbar-pins,
.taskbar.extended.panel-right .taskbar-pins {
    flex-direction: column;
    flex: 1;
    justify-content: center;
    padding: 4px 0;
    gap: 4px;
}




.taskbar-pins {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0 4px;
    justify-content: center;
    min-width: 0;
    overflow: hidden;
}

.taskbar-pins.pins-centered {
    justify-content: center;
}

.taskbar.extended.panel-left .taskbar-pins,
.taskbar.extended.panel-right .taskbar-pins {
    flex-direction: column;
    flex: 1;
    justify-content: center;
}

.taskbar-pin-wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: calc(var(--taskbar-size, 48px) * 0.18);
    overflow: visible;
}

.taskbar-pin-wrap.dragging {
    opacity: 0.4;
}

.taskbar-pin-wrap.drag-over .taskbar-pin {
    background: rgba(255, 255, 255, 0.25);
    outline: 2px dashed rgba(255, 255, 255, 0.5);
}

.taskbar-pin-remove {
    display: none;
    position: absolute;
    top: -5px;
    right: -5px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(220, 50, 50, 0.9);
    border: none;
    color: white;
    font-size: 12px;
    line-height: 1;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    z-index: 10;
    padding: 0;
}

.taskbar-pin-wrap:hover .taskbar-pin-remove {
    display: none;
}

.taskbar-pin {
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(var(--taskbar-size, 48px) * 0.82);
    height: calc(var(--taskbar-size, 48px) * 0.82);
    border-radius: calc(var(--taskbar-size, 48px) * 0.18);
    transition: background 0.2s, transform 0.15s;
    text-decoration: none;
    overflow: visible;
    background: none;
    border: none;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    padding: 0;
    box-shadow: none;
}

.taskbar-pin:focus,
.taskbar-pin:focus-visible,
.taskbar-pin:focus-within {
    outline: none;
}

.taskbar-pin:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: scale(1.05);
}

.taskbar-pin img {
    width: calc(var(--taskbar-size, 48px) * 0.72);
    height: calc(var(--taskbar-size, 48px) * 0.72);
    object-fit: cover;
    border-radius: calc(var(--taskbar-size, 48px) * 0.15);
    pointer-events: none;
    display: block;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}


.dm-launcher {
    display: none;
    position: fixed;
    z-index: 9000;
    transform-origin: bottom left;
    transform: translateY(8px) scale(0.96);
    opacity: 0;
    transition: transform 0.18s ease, opacity 0.18s ease;
    pointer-events: none;
}

.dm-launcher.open {
    display: block;
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: auto;
}

.dm-launcher-inner {
    background: rgba(20, 40, 80, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 0;
    width: 300px;
    min-width: 300px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
}

.dm-launcher-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    text-transform: lowercase;
    padding: 1rem 1.2rem 0.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    letter-spacing: 1px;
}

.dm-launcher-links {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0.4rem 0;
}

.dm-launcher-links a {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    padding: 0.65rem 1.2rem;
    border-radius: 0;
    transition: background 0.15s;
    font-size: 0.9rem;
    text-transform: lowercase;
    font-weight: 600;
}

.dm-launcher-links a:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.dm-launcher-links img {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}


.desktop-mode-panel {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dm-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.dm-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
    text-transform: lowercase;
    letter-spacing: 0.5px;
}

.dm-options {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.dm-options label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: white;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.2s;
}

.dm-options label:hover {
    background: rgba(255, 255, 255, 0.1);
}

.dm-row {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.dm-slider {
    flex: 1;
    accent-color: #007acc;
}

.dm-hint {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
}

.dm-keybind-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    padding: 0.4rem 0.9rem;
    cursor: pointer;
    transition: background 0.2s;
    min-width: 90px;
    text-align: center;
}

.dm-keybind-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}

.dm-keybind-btn.listening {
    border-color: #007acc;
    color: #7ab8f5;
    animation: pulse-border 0.8s infinite alternate;
}

@keyframes pulse-border {
    from {
        border-color: #007acc;
    }

    to {
        border-color: #00d4ff;
    }
}

.dm-toggle-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-size: 0.9rem;
    cursor: pointer;
}

.dm-pinned-list {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    max-height: 160px;
    overflow-y: auto;
}

.dm-pin-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    padding: 0.4rem 0.6rem;
    font-size: 0.85rem;
    color: white;
}

.dm-pin-row img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.dm-pin-row span {
    flex: 1;
}

.dm-unpin-btn {
    background: rgba(255, 80, 80, 0.15);
    border: 1px solid rgba(255, 80, 80, 0.3);
    border-radius: 4px;
    color: rgba(255, 150, 150, 1);
    font-size: 0.75rem;
    padding: 2px 8px;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    transition: background 0.2s;
}

.dm-unpin-btn:hover {
    background: rgba(255, 80, 80, 0.3);
}

.dm-empty {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.8rem;
    font-style: italic;
}

.dm-add-pin {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

.dm-select {
    flex: 1;
    min-width: 0;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    padding: 0.4rem 0.6rem;
    outline: none;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dm-select option {
    background: #1a2a4a;
    color: white;
}

.dm-btn {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    padding: 0.4rem 0.9rem;
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.dm-btn:hover {
    background: rgba(255, 255, 255, 0.15);
}


.dm-resource-monitor {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0 4px 0 0;
    margin-right: 6px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.dm-res-item {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 3px 8px 3px 6px;
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.75);
    white-space: nowrap;
    transition: background 0.2s;
}

.dm-res-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.95);
}

.dm-res-icon {
    font-size: 0.65rem;
    opacity: 0.7;
    line-height: 1;
}

.dm-res-bar-wrap {
    width: 28px;
    height: 3px;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 2px;
    overflow: hidden;
}

.dm-res-bar {
    height: 100%;
    width: 0%;
    border-radius: 2px;
    background: rgba(80, 200, 255, 0.8);
    transition: width 0.8s ease, background 0.4s ease;
}

.dm-res-val {
    min-width: 38px;
    text-align: right;
    font-variant-numeric: tabular-nums;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.2px;
}


.dm-gear-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s;
    order: 999;
    margin-left: auto;
}

.dm-gear-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: white;
}

.dm-gear-btn img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
    opacity: 0.8;
    transition: opacity 0.2s;
}

.dm-gear-btn:hover img {
    opacity: 1;
}

.dm-panel-tray {
    display: none;
    position: absolute;
    bottom: calc(100% + 8px);
    right: 8px;
    width: 300px;
    background: rgba(20, 30, 55, 0.97);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 1rem;
    z-index: 9999;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    flex-direction: column;
    gap: 0.75rem;
    max-height: 80vh;
    overflow-y: auto;
}

.dm-panel-tray.open {
    display: flex;
}

.dm-tray-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: lowercase;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 0.25rem;
}

.dm-tray-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    font-size: 14px;
    padding: 0;
    line-height: 1;
    transition: color 0.2s;
}

.dm-tray-close:hover {
    color: white;
}




body.useawp .dm-launcher-inner {
    background: rgba(15, 30, 20, 0.98);
    border-color: rgba(70, 120, 85, 0.5);
}

body.useawp .dm-launcher-title {
    color: rgb(225, 240, 230);
    border-bottom-color: rgba(70, 120, 85, 0.3);
}

body.useawp .dm-launcher-links a {
    color: rgb(200, 225, 210);
}

body.useawp .dm-launcher-links a:hover {
    background: rgba(70, 120, 85, 0.25);
    color: rgb(225, 240, 230);
}

body.useawp .dm-panel-tray {
    background: rgba(15, 30, 20, 0.97);
    border-color: rgba(70, 120, 85, 0.5);
}

body.useawp .dm-tray-header {
    color: rgb(225, 240, 230);
    border-bottom-color: rgba(70, 120, 85, 0.4);
}

body.useawp .dm-label {
    color: rgb(130, 170, 140);
}

body.useawp .dm-options label {
    color: rgb(225, 240, 230);
    background: rgba(35, 60, 45, 0.5);
    border-color: rgba(70, 120, 85, 0.4);
}

body.useawp .dm-options label:hover {
    background: rgba(50, 85, 60, 0.6);
}

body.useawp .dm-keybind-btn {
    background: rgba(35, 60, 45, 0.5);
    border-color: rgba(70, 120, 85, 0.5);
    color: rgb(225, 240, 230);
}

body.useawp .dm-keybind-btn:hover {
    background: rgba(50, 85, 60, 0.6);
}

body.useawp .dm-toggle-row {
    color: rgb(225, 240, 230);
}

body.useawp .dm-select {
    background: rgba(35, 60, 45, 0.5);
    border-color: rgba(70, 120, 85, 0.4);
    color: rgb(225, 240, 230);
}

body.useawp .dm-btn {
    background: rgba(35, 60, 45, 0.5);
    border-color: rgba(70, 120, 85, 0.4);
    color: rgb(225, 240, 230);
}

body.useawp .dm-btn:hover {
    background: rgba(50, 85, 60, 0.6);
}

body.useawp .dm-pin-row {
    background: rgba(35, 60, 45, 0.4);
    color: rgb(225, 240, 230);
}

body.useawp .dm-gear-btn {
    background: rgba(35, 60, 45, 0.5);
    border-color: rgba(70, 120, 85, 0.4);
    color: rgb(130, 170, 140);
}

body.useawp .dm-gear-btn:hover {
    background: rgba(50, 85, 60, 0.6);
    color: rgb(225, 240, 230);
}

body.useawp .dm-section .dm-label {
    color: rgba(0, 255, 166, 0.7);
}

body.useawp .dm-options span {
    color: rgba(0, 255, 166, 0.5);
}

body.useawp .dm-btn {
    background: rgba(35, 60, 45, 0.6);
    border-color: rgba(70, 120, 85, 0.3);
    color: rgb(0, 255, 166);
}

body.useawp .dm-btn:hover {
    background: rgba(50, 85, 60, 0.8);
    box-shadow: 0 0 10px rgba(0, 255, 166, 0.2);
}


body.cherryblossom .dm-launcher-inner {
    background: rgba(90, 35, 58, 0.98);
    border-color: rgba(255, 182, 193, 0.3);
}

body.cherryblossom .dm-launcher-title {
    color: rgb(255, 255, 255);
    border-bottom-color: rgba(255, 182, 193, 0.2);
}

body.cherryblossom .dm-launcher-links a {
    color: rgba(255, 240, 245, 0.9);
}

body.cherryblossom .dm-launcher-links a:hover {
    background: rgba(255, 182, 193, 0.15);
    color: rgb(255, 255, 255);
}

body.cherryblossom .dm-panel-tray {
    background: rgba(100, 40, 65, 0.97);
    border-color: rgba(255, 182, 193, 0.35);
}

body.cherryblossom .dm-tray-header {
    color: rgb(255, 255, 255);
    border-bottom-color: rgba(255, 182, 193, 0.3);
}

body.cherryblossom .dm-label {
    color: rgba(255, 182, 193, 0.9);
}

body.cherryblossom .dm-options label {
    color: rgb(255, 255, 255);
    background: rgba(139, 69, 101, 0.4);
    border-color: rgba(255, 182, 193, 0.3);
}

body.cherryblossom .dm-options label:hover {
    background: rgba(139, 69, 101, 0.6);
}

body.cherryblossom .dm-keybind-btn {
    background: rgba(139, 69, 101, 0.4);
    border-color: rgba(255, 182, 193, 0.4);
    color: rgb(255, 255, 255);
}

body.cherryblossom .dm-keybind-btn:hover {
    background: rgba(139, 69, 101, 0.6);
}

body.cherryblossom .dm-toggle-row {
    color: rgb(255, 255, 255);
}

body.cherryblossom .dm-select {
    background: rgba(139, 69, 101, 0.4);
    border-color: rgba(255, 182, 193, 0.3);
    color: rgb(255, 255, 255);
}

body.cherryblossom .dm-btn {
    background: rgba(139, 69, 101, 0.4);
    border-color: rgba(255, 182, 193, 0.3);
    color: rgb(255, 255, 255);
}

body.cherryblossom .dm-btn:hover {
    background: rgba(139, 69, 101, 0.6);
}

body.cherryblossom .dm-pin-row {
    background: rgba(139, 69, 101, 0.35);
    color: rgb(255, 255, 255);
}

body.cherryblossom .dm-gear-btn {
    background: rgba(139, 69, 101, 0.4);
    border-color: rgba(255, 182, 193, 0.3);
    color: rgba(255, 182, 193, 0.9);
}

body.cherryblossom .dm-gear-btn:hover {
    background: rgba(139, 69, 101, 0.6);
    color: rgb(255, 255, 255);
}

body.cherryblossom .dm-section .dm-label {
    color: rgba(255, 182, 193, 0.8);
}

body.cherryblossom .dm-options span {
    color: rgba(255, 182, 193, 0.6);
}

body.cherryblossom .dm-btn {
    background: rgba(139, 69, 101, 0.5);
    border-color: rgba(255, 182, 193, 0.2);
    color: white;
}

body.cherryblossom .dm-btn:hover {
    background: rgba(139, 69, 101, 0.8);
    box-shadow: 0 0 10px rgba(255, 182, 193, 0.3);
}


.beta-badge {
    display: inline-block;
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    background: rgba(255, 160, 50, 0.25);
    border: 1px solid rgba(255, 160, 50, 0.5);
    color: rgb(255, 190, 80);
    border-radius: 4px;
    padding: 1px 5px;
    vertical-align: middle;
    text-transform: uppercase;
    margin-left: 6px;
    position: relative;
    top: -2px;
}

.dm-settings-hint {
    margin-top: 0.75rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.dm-hint-icon {
    width: 16px;
    height: 16px;
    filter: invert(1) opacity(0.7);
    vertical-align: middle;
    display: inline-block;
}


#dm-snap-ghost {
    display: none;
    position: fixed;
    z-index: 8999;
    background: rgba(100, 160, 255, 0.15);
    border: 2px solid rgba(100, 160, 255, 0.5);
    border-radius: 8px;
    pointer-events: none;
    transition: left 0.08s ease, top 0.08s ease, width 0.08s ease, height 0.08s ease;
}

body.useawp #dm-snap-ghost {
    background: rgba(70, 180, 100, 0.15);
    border-color: rgba(70, 180, 100, 0.5);
}

body.cherryblossom #dm-snap-ghost {
    background: rgba(255, 150, 180, 0.15);
    border-color: rgba(255, 150, 180, 0.5);
}

.dm-window {
    position: fixed;
    display: flex;
    flex-direction: column;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.08);
    min-width: 320px;
    min-height: 200px;
    resize: both;
}

.dm-window-maximized {
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    border-radius: 0;
    resize: none;
}


.taskbar.extended.panel-bottom~.dm-window.dm-window-maximized,
body:has(.taskbar.extended.panel-bottom) .dm-window.dm-window-maximized {
    height: calc(100vh - var(--taskbar-size, 48px)) !important;
}

.dm-window-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    height: 42px;
    cursor: move;
    user-select: none;
    flex-shrink: 0;
}

.dm-window-title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
}

.dm-window-title img {
    width: 18px;
    height: 18px;
    object-fit: contain;
    border-radius: 4px;
}

.dm-window-controls {
    display: flex;
    gap: 6px;
}

.dm-wbtn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    color: white;
    width: 28px;
    height: 28px;
    cursor: pointer;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s;
    padding: 0;
}

.dm-wbtn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.dm-wbtn-close:hover {
    background: rgba(220, 50, 50, 0.7);
}

.dm-window-body {
    display: flex;
    flex-direction: row;
    flex: 1;
    min-height: 0;
}

.dm-window-iframe {
    flex: 1;
    border: none;
    background: #000;
    display: block;
    min-width: 0;
}

.dm-window-ad {
    width: 160px;
    min-width: 160px;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}


@keyframes pin-pulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(100, 180, 255, 0.6);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(100, 180, 255, 0);
    }
}

.taskbar-pin-wrap.pin-active .taskbar-pin {
    animation: pin-pulse 2s ease-in-out infinite;
}

body.useawp .taskbar-pin-wrap.pin-active .taskbar-pin {
    animation: none;
    box-shadow: 0 0 0 2px rgba(70, 180, 100, 0.8);
}

body.cherryblossom .taskbar-pin-wrap.pin-active .taskbar-pin {
    animation: none;
    box-shadow: 0 0 0 2px rgba(255, 150, 180, 0.8);
}


.taskbar-pin-divider {
    width: 2px;
    height: 65%;
    background: rgba(255, 255, 255, 0.4);
    margin: 0 6px;
    flex-shrink: 0;
    border-radius: 2px;
}

.taskbar.extended.panel-left .taskbar-pin-divider,
.taskbar.extended.panel-right .taskbar-pin-divider {
    width: 60%;
    height: 1px;
    margin: 4px 0;
}

.dm-pin-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.12);
    margin: 4px 0;
}

.dm-pin-group-label {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.4);
    text-transform: lowercase;
    letter-spacing: 0.5px;
    padding: 2px 0;
}




.taskbar-nav a img:not([src*="everest.gif"]),
.taskbar-pin img:not(.pin-game-cover) {
    filter: brightness(0) invert(1);
}


body.useawp .taskbar-nav a img:not([src*="everest.gif"]),
body.useawp .taskbar-pin img:not(.pin-game-cover) {
    filter: brightness(0) invert(1) sepia(0.15) saturate(1.2);
}


body.cherryblossom .taskbar-nav a img:not([src*="everest.gif"]),
body.cherryblossom .taskbar-pin img:not(.pin-game-cover) {
    filter: brightness(0) invert(1);
}


.dm-launcher-links img:not([src*="everest.gif"]) {
    filter: brightness(0) invert(1);
    opacity: 0.85;
}

body.cherryblossom .dm-launcher-links img:not([src*="everest.gif"]),
body.useawp .dm-launcher-links img:not([src*="everest.gif"]) {
    filter: brightness(0) invert(1);
    opacity: 0.85;
}



.dm-launcher-search-wrap {
    padding: 8px 10px 4px;
}

.dm-launcher-search {
    width: 100%;
    box-sizing: border-box;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    padding: 6px 10px;
    outline: none;
    transition: border-color 0.15s;
}

.dm-launcher-search:focus {
    border-color: rgba(255, 255, 255, 0.35);
}

.dm-launcher-search::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.dm-launcher-games {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    padding: 8px 10px;
    max-height: 240px;
    overflow-y: auto;
    overflow-x: hidden;
}

.dm-launcher-game {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 5px 2px;
    border-radius: 8px;
    transition: background 0.15s;
    min-width: 0;
}

.dm-launcher-game:hover {
    background: rgba(255, 255, 255, 0.1);
}

.dm-launcher-game img {
    width: 52px;
    height: 52px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.dm-launcher-game span {
    color: rgba(255, 255, 255, 0.85);
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    text-align: center;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dm-launcher-empty {
    color: rgba(255, 255, 255, 0.35);
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    grid-column: 1 / -1;
    text-align: center;
    padding: 16px 0;
}

.dm-launcher-links {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-top: 2px;
}


body.useawp .dm-launcher-search {
    background: rgba(70, 120, 85, 0.15);
    border-color: rgba(70, 120, 85, 0.3);
}

body.cherryblossom .dm-launcher-search {
    background: rgba(255, 182, 193, 0.1);
    border-color: rgba(255, 182, 193, 0.25);
}


.dm-top-tray {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 32px;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
    padding: 0 1rem;
    background: rgba(10, 14, 30, 0.88);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}


.dm-top-tray[data-side="right"] .taskbar-content {
    justify-content: flex-start;
}


.dm-top-tray[data-side="left"] .taskbar-content {
    justify-content: flex-end;
}

.dm-top-tray .taskbar-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1rem;
    justify-content: flex-end;
    width: 100%;
    padding: 0;
}

.dm-top-tray .taskbar-time,
.dm-top-tray .taskbar-weather,
.dm-top-tray .taskbar-greeting,
.dm-top-tray .taskbar-online {
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.75);
    white-space: nowrap;
    writing-mode: unset;
    transform: none;
    background: none;
    text-shadow: none;
    padding: 0;
    border-radius: 0;
    border-top: none;
    margin-top: 0;
    max-height: unset;
}

.dm-top-tray .taskbar-time {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 700;
}

.dm-top-tray .dm-resource-monitor {
    flex-direction: row;
    border-bottom: none;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0 0.75rem 0 0;
    margin: 0 0.25rem 0 0;
    gap: 6px;
}

.dm-top-tray .dm-res-item {
    flex-direction: row;
    width: auto;
    padding: 2px 7px;
}

.dm-top-tray .dm-res-bar-wrap {
    width: 28px;
    height: 3px;
}

.dm-top-tray .dm-res-val {
    min-width: 36px;
    font-size: 0.65rem;
    text-align: right;
}

.dm-top-tray .dm-res-icon {
    display: inline;
}

.dm-top-tray .dm-gear-btn {
    margin-left: 4px;
}


body.useawp .dm-top-tray {
    background: rgba(10, 18, 13, 0.92);
    border-bottom-color: rgba(70, 120, 85, 0.2);
}

body.cherryblossom .dm-top-tray {
    background: rgba(55, 20, 38, 0.92);
    border-bottom-color: rgba(255, 182, 193, 0.15);
}

body.cherryblossom .dm-top-tray .taskbar-time,
body.cherryblossom .dm-top-tray .taskbar-weather,
body.cherryblossom .dm-top-tray .taskbar-greeting,
body.cherryblossom .dm-top-tray .taskbar-online {
    background: none;
    padding: 0;
    border-radius: 0;
    text-shadow: none;
}


.proxy-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    padding: 10px 20px;
    color: white;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    margin-top: 10px;
}


.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;
}

.games-slideshow-container {
    width: 95%;
    max-width: 1100px;
    height: 220px;
    margin: 10px auto 30px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background: rgba(30, 60, 114, 0.6);
    backdrop-filter: blur(10px);
    border: none;
    display: none;
}

#game-count-message {
    background: rgba(30, 60, 114, 0.6);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 12px;
    color: white;
    display: inline-block;
    margin: -15px auto 20px;
    font-size: 13px;
    font-weight: 700;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: all 0.6s ease-in-out;
    display: flex;
    align-items: center;
    padding: 0 40px;
}

.slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-content {
    flex: 1;
    z-index: 2;
    text-align: left;
    transform: translateY(10px);
    transition: transform 0.6s ease;
}

.slide.active .slide-content {
    transform: translateY(0);
}

.slide-tag {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(0, 212, 255, 0.1);
    color: #00d4ff;
    border: 1px solid rgba(0, 212, 255, 0.2);
    font-weight: 700;
    font-size: 10px;
    text-transform: uppercase;
    border-radius: 12px;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.slide-title {
    font-size: 32px;
    font-weight: 800;
    color: white;
    margin-bottom: 8px;
    line-height: 1;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.slide-plays {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.slide-btn {
    padding: 10px 24px;
    background: #00d4ff;
    color: black;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.slide-btn:hover {
    filter: brightness(1.1);
    transform: scale(1.05);
}

.slide-image-preview {
    width: 320px;
    height: 180px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-left: 40px;
    flex-shrink: 0;
}


.slides-nav {
    position: absolute;
    bottom: 20px;
    right: 40px;
    z-index: 3;
    display: flex;
    gap: 8px;
}

.nav-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-dot.active {
    background: #00d4ff;
    width: 20px;
    border-radius: 6px;
}

.play-count-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(5px);
    color: #4d94ff;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    opacity: 0;
    transform: translateY(-5px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 5;
    border: 1px solid rgba(77, 148, 255, 0.2);
    pointer-events: none;
}

.game-icon:hover .play-count-tag {
    opacity: 1;
    transform: translateY(0);
}

.game-icon {
    position: relative;
    overflow: hidden !important;
}



body.useawp .games-slideshow-container,
body.useawp .search-bar,
body.useawp #game-count-message {
    background: rgba(25, 40, 32, 0.8) !important;
    backdrop-filter: blur(5px) !important;
    border-radius: 10px !important;
    border: 1px solid rgba(70, 120, 85, 0.4) !important;
}

body.useawp .slide-tag {
    background: rgba(70, 120, 85, 0.2);
    color: rgb(130, 170, 140);
}

body.useawp .slide-btn {
    background: rgb(70, 120, 85);
    color: rgb(225, 240, 230);
}

body.useawp .nav-dot.active {
    background: rgb(130, 170, 140);
}

body.useawp .play-count-tag {
    color: rgb(130, 170, 140);
    background: rgba(15, 25, 18, 0.9);
}

body.useawp .slide-plays svg {
    fill: rgb(130, 170, 140);
}

body.cherryblossom .games-slideshow-container,
body.cherryblossom .search-bar,
body.cherryblossom #game-count-message {
    background: rgba(145, 82, 111, 0.8) !important;
    backdrop-filter: blur(5px) !important;
    border-radius: 12px !important;
    border: none !important;
}




body.cherryblossom .slide-tag {
    background: #91526f;
    color: white;
}

body.cherryblossom .slide-btn {
    background: #91526f;
    color: white;
}


body.cherryblossom .nav-dot.active {
    background: #91526f;
}

body.cherryblossom .play-count-tag {
    background: rgba(145, 82, 111, 0.9);
    color: white;
}



body.cherryblossom .slide-plays svg {
    fill: rgb(255, 182, 193);
}

.onboarding-overlay, .onboarding-overlay * {
    text-transform: lowercase;
}

.onboarding-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(25px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: 'Montserrat', sans-serif;
    animation: fadeIn 0.4s ease;
}

.onboarding-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9);
    border-radius: 28px;
    width: 90%;
    max-width: 550px;
    padding: 40px;
    position: relative;
    overflow: hidden;
}

.onboarding-step {
    display: none;
    flex-direction: column;
    align-items: center;
    text-align: center;
    animation: slideUp 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.onboarding-step.active {
    display: flex;
}

.onboarding-hero-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 24px;
    border-radius: 18px;
}

.onboarding-card h1 {
    font-size: 2rem;
    margin-bottom: 16px;
    font-weight: 800;
    letter-spacing: -1px;
}

.onboarding-card h2 {
    font-size: 1.5rem;
    margin-bottom: 12px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.onboarding-card p {
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin-bottom: 30px;
}

.onboarding-btn {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 14px 45px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.onboarding-btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
}

.onboarding-btn-alt {
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.onboarding-btn-alt:hover {
    background: rgba(255, 255, 255, 0.1);
}

.onboarding-nav {
    display: flex;
    gap: 15px;
    width: 100%;
    margin-top: 25px;
    justify-content: center;
}

.cloak-grid, .theme-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    width: 100%;
    max-height: 280px;
    overflow-y: auto;
    padding-right: 8px;
    margin-bottom: 20px;
}

.cloak-grid::-webkit-scrollbar, .theme-grid::-webkit-scrollbar {
    width: 6px;
}
.cloak-grid::-webkit-scrollbar-thumb, .theme-grid::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.cloak-opt, .theme-opt {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 12px;
    border-radius: 16px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.theme-preview {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.1);
}

.theme-preview.everest { background: linear-gradient(135deg, #0f172a, #1e293b, #3b82f6); }
.theme-preview.cherryblossom { background: linear-gradient(135deg, #461e32, #8b4565, #ffb6c1); }
.theme-preview.useawp { background: linear-gradient(135deg, #090909, #151515, #00ffa6); }

.cloak-opt img {
    width: 28px;
    height: 28px;
    border-radius: 6px;
}

.cloak-opt span, .theme-opt span {
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.cloak-opt.selected, .theme-opt.selected {
    border-color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
}

.cloak-opt.selected span, .theme-opt.selected span {
    color: #3b82f6;
}

.onboarding-settings {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.onboarding-setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    padding: 15px 20px;
    border-radius: 14px;
}

.onboarding-toggle-group {
    display: flex;
    background: rgba(0, 0, 0, 0.2);
    padding: 4px;
    border-radius: 50px;
}

.toggle-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
}

.toggle-btn.active {
    background: #3b82f6;
    color: white;
}

.desktop-toggle-wrap {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    padding: 18px 24px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.onboarding-overlay .switch {
  position: relative !important;
  display: inline-block !important;
  width: 50px !important;
  height: 28px !important;
  margin: 0 !important;
}

.onboarding-overlay .switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.onboarding-overlay .slider {
  position: absolute !important;
  cursor: pointer;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  background-color: rgba(255,255,255,0.1) !important;
  transition: .4s;
  border-radius: 34px !important;
}

.onboarding-overlay .slider:before {
  position: absolute !important;
  content: "" !important;
  height: 20px !important;
  width: 20px !important;
  left: 4px !important;
  bottom: 4px !important;
  background-color: white !important;
  transition: .4s;
  border-radius: 50% !important;
}

.onboarding-overlay input:checked + .slider {
  background-color: #3b82f6 !important;
}

.onboarding-overlay input:checked + .slider:before {
  transform: translateX(22px) !important;
}


@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;
    }

    .custom-dropdown {
        width: 100%;
        max-width: 400px;
        margin-left: 0;
    }

    .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;
    }

    .chrome-browser-shell {
        width: 95vw;
        height: 85vh;
    }

    .onboarding-card {
        width: 90vw;
        max-width: 500px;
        padding: 1.5rem;
    }
}

@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;
    }

    .custom-dropdown {
        width: 100%;
        margin-left: 0;
    }

    .dropdown-selected {
        padding: 8px 10px;
        font-size: 13px;
    }

    .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;
    }

    .chrome-browser-shell {
        width: 100vw;
        height: 100vh;
        border-radius: 0;
        top: 0;
        left: 0;
        transform: none;
    }

    .chrome-browser-shell.active {
        transform: none;
    }

    .chrome-tab {
        max-width: 120px;
        min-width: 80px;
    }

    .chrome-tab-title {
        font-size: 11px;
    }

    .chrome-url-input {
        font-size: 12px;
    }

    .onboarding-card {
        width: 95vw;
        max-width: 420px;
        padding: 1.25rem;
    }

    .onboarding-card h1 {
        font-size: 1.5rem;
    }

    .onboarding-card h2 {
        font-size: 1.2rem;
    }

    .cloak-grid, .theme-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        max-height: 220px;
    }

    .onboarding-hero-icon {
        width: 60px;
        height: 60px;
    }

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

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

    .dm-tray {
        width: 90vw;
        max-width: 350px;
    }
}

@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;
    }

    .custom-dropdown {
        width: 100%;
    }

    .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;
    }

    .chrome-tab {
        max-width: 100px;
        min-width: 60px;
        padding: 4px 6px;
    }

    .chrome-tab-icon {
        width: 12px;
        height: 12px;
    }

    .chrome-tab-title {
        font-size: 10px;
    }

    .chrome-nav-buttons {
        gap: 2px;
    }

    .chrome-nav-btn {
        padding: 4px;
    }

    .onboarding-card {
        width: 96vw;
        max-width: 360px;
        padding: 1rem;
        border-radius: 16px;
    }

    .onboarding-card h1 {
        font-size: 1.3rem;
    }

    .onboarding-card h2 {
        font-size: 1.1rem;
    }

    .onboarding-card p {
        font-size: 0.85rem;
    }

    .cloak-grid, .theme-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
        max-height: 200px;
    }

    .cloak-opt, .theme-opt {
        padding: 8px;
    }

    .cloak-opt img, .theme-opt img {
        width: 32px;
        height: 32px;
    }

    .cloak-opt span, .theme-opt span {
        font-size: 0.7rem;
    }

    .onboarding-hero-icon {
        width: 50px;
        height: 50px;
    }

    .onboarding-btn,
    .onboarding-btn-alt {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }

    .onboarding-nav {
        gap: 0.5rem;
    }

    .onboarding-toggle-group {
        gap: 0.5rem;
    }

    .toggle-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

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

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

    .open-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.8rem;
    }

    .dm-tray {
        width: 95vw;
        max-width: 300px;
    }

    .dm-tray-header h3 {
        font-size: 1rem;
    }
}