.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.kittycat .dm-ts-input {
    background: rgba(126, 73, 56, 0.4);
    border-color: rgba(233, 186, 183, 0.4);
    color: #FFF;
}

body.kittycat .dm-ts-input:focus {
    background: rgba(126, 73, 56, 0.7);
    border-color: rgba(233, 186, 183, 0.7);
}

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

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

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

body.kittycat .dm-launcher-inner {
    background: rgba(3, 3, 4, 0.98);
    border-color: rgba(233, 186, 183, 0.4);
}

body.kittycat .dm-launcher-title {
    color: #FFF;
    border-bottom-color: rgba(233, 186, 183, 0.3);
}

body.kittycat .dm-launcher-links a {
    color: rgba(233, 186, 183, 0.9);
}

body.kittycat .dm-launcher-links a:hover {
    background: rgba(233, 186, 183, 0.15);
    color: #FFF;
}

body.kittycat .dm-panel-tray {
    background: rgba(3, 3, 4, 0.97);
    border-color: rgba(233, 186, 183, 0.4);
}

body.kittycat .dm-tray-header {
    color: #FFF;
    border-bottom-color: rgba(233, 186, 183, 0.3);
}

body.kittycat .dm-label {
    color: rgba(233, 186, 183, 0.7);
}

body.kittycat .dm-options label {
    color: #FFF;
    background: rgba(126, 73, 56, 0.4);
    border-color: rgba(233, 186, 183, 0.3);
}

body.kittycat .dm-options label:hover {
    background: rgba(126, 73, 56, 0.6);
}

body.kittycat .dm-keybind-btn {
    background: rgba(126, 73, 56, 0.4);
    border-color: rgba(233, 186, 183, 0.4);
    color: #FFF;
}

body.kittycat .dm-keybind-btn:hover {
    background: rgba(126, 73, 56, 0.6);
}

body.kittycat .dm-toggle-row {
    color: #FFF;
}

body.kittycat .dm-select {
    background: rgba(126, 73, 56, 0.4);
    border-color: rgba(233, 186, 183, 0.3);
    color: #FFF;
}

body.kittycat .dm-btn {
    background: rgba(126, 73, 56, 0.4);
    border-color: rgba(233, 186, 183, 0.3);
    color: #FFF;
}

body.kittycat .dm-btn:hover {
    background: rgba(126, 73, 56, 0.6);
    box-shadow: 0 0 10px rgba(233, 186, 183, 0.2);
}

body.kittycat .dm-pin-row {
    background: rgba(126, 73, 56, 0.3);
    color: #FFF;
}

body.kittycat .dm-gear-btn {
    color: rgba(233, 186, 183, 0.8);
}

body.kittycat .dm-gear-btn:hover {
    background: rgba(233, 186, 183, 0.15);
    color: #FFF;
}

body.kittycat .dm-res-item {
    background: rgba(126, 73, 56, 0.3);
    border-color: rgba(233, 186, 183, 0.2);
    color: rgba(233, 186, 183, 0.9);
}

body.kittycat .dm-res-item:hover {
    background: rgba(126, 73, 56, 0.5);
    color: #FFF;
}

.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 8px 30px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.08);
    min-width: 320px;
    min-height: 200px;
    resize: both;
    will-change: left, top, width, height;
}

.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-size: 0.85rem;
    padding: 6px 10px;
    outline: none;
    font-family: 'Montserrat', sans-serif;
}

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

.dm-launcher-games {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    padding: 6px 10px 10px;
    max-height: 260px;
    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;
}
