:root {
    --app-color-primary-hsl: 211, 100%, 50%;
    --app-color-primary-contrast-hsl: 0, 0%, 100%;
    --app-color-dark-hsl: 0, 0%, 20%;
    --app-color-light-contrast-hsl: 0, 0%, 0%;
}

.app-window, 
._photonCookieClicker_1wnqk_2,
#music-player,
[data-app],
.intro-container {
    z-index: 1000;
}

._header_1olvu_1 {
    z-index: 2147483647 !important;
}

.dock {
    z-index: 2147483646 !important;
}

._menuParent_bslv0_8 {
    z-index: 2147483645 !important;
}

.dock, .dock * {
    z-index: 2147483646 !important;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
    background: url('heav.jpg') center center / cover no-repeat fixed;
    height: 100vh;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
    cursor: default;
}

._main_kpitp_1 {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
}


/* CRITICAL: Menubar must be on top of EVERYTHING */
._header_1olvu_1 {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 25px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 8px;
    z-index: 2147483647 !important; 
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    border: none;
    box-shadow: none;
}


._container_bslv0_1 {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 0;
}


._menuButton_bslv0_14 {
    background: none;
    border: none;
    padding: 4px 8px;
    margin: 0 2px;
    height: 20px;
    display: flex;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.15s ease;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', system-ui, sans-serif;
    line-height: 1;
    position: relative;
}

._menuButton_bslv0_14:hover {
    background-color: rgba(255, 255, 255, 0.1);
}


._header_1olvu_1 ._container_bslv0_1 > div:hover ._menuParent_bslv0_8 {
    visibility: visible !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

  
._header_1olvu_1 ._container_bslv0_1 > div:hover ._menuButton_bslv0_14 {
    background-color: rgba(255, 255, 255, 0.15) !important;
}


._header_1olvu_1 ._container_bslv0_1 > div:hover {
    z-index: 2147483645 !important; 
}


._appleIconButton_bslv0_40 {
    padding: 4px 6px;
    font-weight: 500;
}

._appleIconButton_bslv0_40 svg {
    width: 18px;
    height: 18px;
}


._defaultMenu_bslv0_21 {
    font-weight: 600;
}


._menuParent_bslv0_8 {
    position: absolute;
    top: 100%;
    left: 0;
    
    visibility: hidden !important;
    opacity: 0 !important;
    transform: translateY(-10px) !important;
    transition: all 0.2s ease;
    pointer-events: none !important;
}


._header_1olvu_1 ._container_bslv0_1 > div {
    position: relative;
}


._container_15cuo_1 {
    min-width: 180px;
    background: linear-gradient(135deg, 
        rgba(80, 80, 80, 0.75),
        rgba(120, 120, 120, 0.9)
    );
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 20px 60px rgba(0, 0, 0, 0.25);
    padding: 4px 0;
    outline: none;
    position: relative;
    overflow: hidden;
}


._container_15cuo_1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
}


._container_15cuo_1::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    bottom: 0;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.3),
        transparent,
        rgba(255, 255, 255, 0.1)
    );
}


._menuItem_15cuo_19 {
    width: 100%;
    padding: 4px 12px;
    background: none;
    border: none;
    text-align: left;
    font-size: 13px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    border-radius: 6px;
    margin: 1px 6px;
    width: calc(100% - 12px);
    font-weight: 500;
    position: relative;
    overflow: hidden;
}

._menuItem_15cuo_19:hover {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.15),
        rgba(255, 255, 255, 0.05)
    );
    color: #ffffff;
    transform: translateX(2px);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 2px 8px rgba(0, 0, 0, 0.2);
}


._menuItem_15cuo_19:hover::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    animation: shimmer 0.8s ease-out;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}


._disabled_15cuo_33 {
    color: rgba(255, 255, 255, 0.4) !important;
    cursor: default !important;
}

._disabled_15cuo_33:hover {
    background-color: transparent !important;
    color: rgba(255, 255, 255, 0.4) !important;
}


._menuParent_bslv0_8:hover {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}


._header_1olvu_1 ._container_bslv0_1 > div:hover ._menuParent_bslv0_8,
._menuParent_bslv0_8:hover {
    visibility: visible !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
}


._divider_15cuo_41 {
    height: 1px;
    background: linear-gradient(90deg, 
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    margin: 4px 12px;
    position: relative;
}

._divider_15cuo_41::after {
    content: '';
    position: absolute;
    top: 1px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, 
        transparent,
        rgba(0, 0, 0, 0.1),
        transparent
    );
}


._button_19n72_1 {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

._button_19n72_1:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

._button_19n72_1 svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 1;
}


.container {
    position: relative;
}


._menuParent_fasph_1 {
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 2147483644 !important; 
    margin-top: 4px;
}

._hidden_fasph_7 {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s ease;
    pointer-events: none;
}

._container_1lum4_1 {
    width: 320px;
    background: rgba(20, 20, 30, 0.95);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6);
    padding: 20px;
    outline: none;
}

._container_tnc32_1 {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: repeat(4, 1fr);
    gap: 12px;
    height: 180px;
}

._container_36bdj_1 {
    grid-column: var(--column-start) / span var(--column-span);
    grid-row: var(--row-start) / span var(--row-span);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

._container_fi5c5_1 {
    grid-row: var(--row-start) / span var(--row-span);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
}


._toggle_tnc32_8 {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
    background: hsl(var(--bgcolor), var(--bgalpha));
}

._toggle_tnc32_8 svg {
    color: hsl(var(--svgcolor), var(--svgalpha));
    transition: color 0.15s ease;
}

._toggle_tnc32_8:hover {
    transform: scale(1.05);
}


#time-display {
    background: none;
    border: none;
    padding: 0 8px;
    font-size: 13px;
    color: #fff;
    cursor: default;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', system-ui, sans-serif;
    font-variant-numeric: tabular-nums;
    font-weight: 400;
    line-height: 1;
    white-space: nowrap;
}

/* Achievements Styles */
/* NFT Styles */
.nft-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    padding: 16px;
    min-height: 700px;
}

.nft-grid::-webkit-scrollbar {
    width: 8px;
}

.nft-grid::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
}

.nft-grid::-webkit-scrollbar-thumb {
    background: rgba(100, 100, 100, 0.7);
    border-radius: 4px;
}

.nft-grid::-webkit-scrollbar-thumb:hover {
    background: rgba(150, 150, 150, 0.8);
}

.nft-card {
    background: linear-gradient(135deg, rgba(20, 20, 20, 0.9) 0%, rgba(40, 40, 40, 0.9) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nft-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 255, 0, 0.2);
    border-color: rgba(0, 255, 0, 0.3);
}



.nft-image {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 10px;
    position: relative;
}

.nft-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.nft-card:hover .nft-image img {
    transform: scale(1.05);
}

.nft-info {
    margin-bottom: 12px;
}

.nft-info h4 {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 6px 0;
}

.nft-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    margin: 0;
    line-height: 1.3;
}

.nft-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px; 
}

.nft-price {
    color: #00ff00;
    font-weight: 600;
    font-size: 12px;
    margin-right: 10px; 
}

.nft-status button {
    background: linear-gradient(90deg, #22c55e, #16a34a); 
    color: white;
    border: none;
    padding: 6px 12px; 
    border-radius: 6px;
    font-weight: 600;
    font-size: 11px; 
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    width: 70px; 
    height: 28px; 
    text-align: center;
    flex-shrink: 0;
}

.nft-status button:hover {
    background: linear-gradient(90deg, #16a34a, #15803d); 
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(34, 197, 94, 0.3);
}

.nft-status button:active {
    transform: translateY(0);
}

.nft-card.owned {
    border-color: rgba(0, 255, 0, 0.5);
    background: linear-gradient(135deg, rgba(0, 50, 0, 0.3) 0%, rgba(0, 30, 0, 0.3) 100%);
}

.nft-card.owned .nft-status button {
    background: linear-gradient(90deg, #15803d, #166534); 
    color: #dcfce7; 
    cursor: default;
}

.nft-card.owned .nft-status button:hover {
    background: linear-gradient(90deg, #15803d, #166534); 
    transform: none;
    box-shadow: none;
}

/* Special styles for Heaven's Gate NFT */
.nft-card[data-nft="gate"] {
    border: 2px solid #ffd700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 255, 255, 0.05));
}

.nft-card[data-nft="gate"]:hover {
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.6);
    border-color: #ffed4e;
}

.nft-card[data-nft="gate"] .nft-status button {
    background: linear-gradient(90deg, #ffd700, #ffed4e);
    color: #1a1a1a;
    font-weight: bold;
    text-shadow: none;
}

.nft-card[data-nft="gate"] .nft-status button:hover {
    background: linear-gradient(90deg, #ffed4e, #fff59d);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.4);
}

/* Final video styles */
#final-video-window {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: #000000 !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 2147483648 !important; 
    pointer-events: auto !important;
    
}


#final-video-window[style*="display: flex"],
#final-video-window[style*="display:flex"] {
    display: flex !important;
}

#final-video-container {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    background: #000000 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 2147483647 !important;
    pointer-events: auto !important;
}

#final-video {
    border-radius: 10px;
    max-width: 90%;
    max-height: 90%;
    box-shadow: 0 0 50px rgba(255, 215, 0, 0.8);
}

#final-video-container button {
    font-size: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hide all video controls */
#final-video::-webkit-media-controls,
#final-video::-webkit-media-controls-panel,
#final-video::-webkit-media-controls-start-playback-button {
    display: none !important;
    -webkit-appearance: none !important;
}

#final-video::-moz-media-controls {
    display: none !important;
}

#final-video {
    outline: none !important;
    border: none !important;
    background: black !important;
}

.achievements-list {
    padding: 20px;
    min-height: 700px;
}

.achievement-item {
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, rgba(0, 40, 0, 0.3), rgba(0, 60, 0, 0.2));
    border: 1px solid rgba(0, 255, 0, 0.3);
    border-radius: 12px;
    padding: 12px 16px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.achievement-item.completed {
    background: linear-gradient(135deg, rgba(0, 255, 0, 0.2), rgba(0, 200, 0, 0.1));
    border-color: rgba(0, 255, 0, 0.6);
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.2);
}

.achievement-item:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 255, 0, 0.2);
}

.achievement-icon {
    font-size: 24px;
    margin-right: 16px;
    opacity: 0.4;
    transition: all 0.3s ease;
    color: #666;
}

.achievement-item.completed .achievement-icon {
    opacity: 1;
    color: #00ff00;
    filter: brightness(1.2);
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

.achievement-info {
    flex: 1;
    margin-right: 16px;
}

.achievement-title {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
}

.achievement-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
}

.achievement-progress {
    width: 120px;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00ff00, #00cc00);
    border-radius: 3px;
    transition: width 0.5s ease;
    width: 0%;
}

.achievement-item.completed .progress-fill {
    width: 100% !important;
    background: linear-gradient(90deg, #00ff00, #00ffaa);
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

/* Achievement notification */
.achievement-notification {
    position: fixed;
    top: 100px;
    right: 30px;
    background: linear-gradient(135deg, rgba(0, 255, 0, 0.9), rgba(0, 200, 0, 0.8));
    color: white;
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 255, 0, 0.3);
    z-index: 300; 
    font-weight: 600;
    border: 2px solid rgba(0, 255, 0, 0.6);
    animation: achievementSlide 4s ease-out forwards;
}

@keyframes achievementSlide {
    0% {
        transform: translateX(400px);
        opacity: 0;
    }
    10%, 90% {
        transform: translateX(0);
        opacity: 1;
    }
    100% {
        transform: translateX(400px);
        opacity: 0;
    }
}


.desktop {
    position: fixed;
    top: 22px;
    left: 0;
    right: 0;
    bottom: 100px;
    background: transparent;
    overflow: hidden;
}


.dock, .dock .dock-container, .dock .dock-container li, .dock .dock-container li .ico {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000px;
    perspective: 1000px;
}


.desktop-icon {
    position: absolute;
    width: 80px;
    text-align: center;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.15s ease;
}

.desktop-icon:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: scale(1.02);
}

.desktop-icon:hover .icon {
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.desktop-icon .icon {
    margin-bottom: 6px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 64px;
    height: 64px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
}

.desktop-icon .icon svg {
    width: 40px;
    height: 40px;
}

.icon-label {
    color: #fff;
    font-size: 12px;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}


.dock {
    width: auto;
    height: 80px;
    border-radius: 16px;
    display: flex;
    justify-content: center;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    
}

.dock .dock-container {
    padding: 15px 12px;
    width: auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    background: rgba(83, 83, 83, 0.3);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    overflow: visible;
    z-index: inherit; 
}

.dock:hover .dock-container {
    background: rgba(83, 83, 83, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.4);
}

.dock .dock-container .li-bin {
    margin-left: 20px;
    border-left: 1.5px solid rgba(255, 255, 255, 0.4);
    padding: 0px 8px;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    border-radius: 0 !important;
    overflow: visible;
    background: transparent !important;
}

.dock .dock-container .li-1::after {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    content: "";
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.3s ease;
}

.dock .dock-container li {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    margin-left: 8px !important;
    margin-right: 8px !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    -webkit-transition: all 0.4s ease;
    transition: all 0.4s ease;
    -webkit-transform-origin: 50% 100%;
    transform-origin: 50% 100%;
    position: relative;
    z-index: inherit;
}


.dock .dock-container:hover li {
    margin-left: 14px !important;
    margin-right: 14px !important;
}

.dock .dock-container li .name {
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: rgba(255, 255, 255, 0.95);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    pointer-events: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
}

.dock .dock-container li .name::after {
    content: "";
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid rgba(0, 0, 0, 0.8);
}

.dock .dock-container li:hover .name {
    opacity: 1;
    visibility: visible;
    top: -85px;
}

.dock .dock-container li .ico {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    display: block;
    will-change: transform;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.dock .dock-container li .ico-bin {
    width: 155% !important;
    height: 155% !important;
    object-fit: contain;
    border-radius: 0 !important;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    margin: -27.5%;
    box-shadow: none !important;
}


.dock .dock-container li:hover {
    z-index: 10;
}

.dock .dock-container li:hover .ico {
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    filter: brightness(1.1);
}


.dock .dock-container .li-1:hover::after {
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}


.dock .dock-container .li-bin:hover {
    transform: scale(1.05);
}

.dock .dock-container .li-bin:hover .ico-bin {
    filter: brightness(1.2) saturate(1.2);
}




.desktop-icon:active {
    transform: scale(0.95);
}



._menuButton_bslv0_14:active {
    background-color: rgba(255, 255, 255, 0.2);
}


@media (max-width: 768px) {
    ._header_1olvu_1 {
        padding: 0 4px;
    }
    
    ._menuButton_bslv0_14 {
        padding: 4px 6px;
        font-size: 12px;
    }
    
    .dock {
        height: 65px;
        bottom: 15px;
    }
    
    .dock .dock-container {
        padding: 12px 8px;
    }
    
    .dock .dock-container li {
        width: 40px;
        height: 40px;
        margin: 0 2px;
    }
    
    .desktop-icon {
        width: 70px;
    }
    
    .desktop-icon .icon {
        width: 56px;
        height: 56px;
    }
    
    .desktop-icon .icon svg {
        width: 32px;
        height: 32px;
    }
    
    ._container_1lum4_1 {
        width: 280px;
    }
}


* {
    transition: transform 0.2s ease, background-color 0.15s ease, opacity 0.2s ease;
}


._photonCookieClicker_1wnqk_2 {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 380px;
    height: 680px;
    background: #2a2a2e;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
    z-index: 1000; 
    overflow: hidden;
    border: none;
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', system-ui, sans-serif;
    color: white;
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    animation: none !important;
    transition: none !important;
}



._header_1wnqk_32 {
    height: 28px;
    background: #2a2a2e;
    display: flex;
    align-items: center;
    padding: 0 12px;
    cursor: move;
    position: relative;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}



._balanceSection_1wnqk_72 {
    padding: 40px 20px 30px;
    text-align: center;
    background: transparent;
    margin: 0;
    border-radius: 0;
}

._balanceAmount_1wnqk_77 {
    font-size: 36px;
    font-weight: 300;
    color: #ffffff;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}

._balanceChange_1wnqk_84 {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

._changeAmount_1wnqk_281 {
    color: #00d4aa;
    font-weight: 500;
}

._balanceChange_1wnqk_84 span:last-child {
    color: #00d4aa;
    font-weight: 500;
}

._miningStats_1wnqk_297 {
    display: flex;
    justify-content: center;
    gap: 20px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
}

._mainMiningArea_1wnqk_485 {
    display: flex;
    justify-content: center;
    padding: 30px 20px;
}

._mainSolanaButton_1wnqk_496 {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: #1a1a1d;
    border: 3px solid #333336;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    position: relative;
}

._mainSolanaButton_1wnqk_496:hover {
    transform: scale(1.05);
    background: #222225;
    border-color: #444447;
}

._mainSolanaButton_1wnqk_496:active {
    transform: scale(0.98);
}

._mainSolanaImage_1wnqk_518 {
    width: 70px;
    height: 70px;
}

._tokenList_1wnqk_170 {
    padding: 0 24px;
    max-height: 220px;
    overflow-y: hidden;
}

._tokenItem_1wnqk_179 {
    display: flex;
    align-items: center;
    padding: 16px 0;
    background: transparent;
    border-radius: 0;
    margin-bottom: 0;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

._tokenItem_1wnqk_179:last-child {
    border-bottom: none;
}

._tokenItem_1wnqk_179:hover {
    background: rgba(255, 255, 255, 0.03);
    transform: none;
    margin: 0 -12px;
    padding: 16px 12px;
    border-radius: 10px;
}

._tokenIcon_1wnqk_193 {
    width: 48px;
    height: 48px;
    margin-right: 16px;
    background: #1a1a1d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #333336;
}

._tokenIcon_1wnqk_193 img {
    width: 32px;
    height: 32px;
    border-radius: 0;
}

._tokenDetails_1wnqk_206 {
    flex: 1;
}

._tokenHeader_1wnqk_210 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

._tokenName_1wnqk_217 {
    font-weight: 400;
    font-size: 16px;
    color: #ffffff;
}

._tokenValue_1wnqk_223 {
    font-weight: 400;
    color: #ffffff;
    font-size: 16px;
}

._tokenSubheader_1wnqk_229 {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

._tokenAmount_1wnqk_235 {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    font-weight: 400;
}

._tokenChange_1wnqk_240 {
    font-size: 14px;
    font-weight: 400;
}

._positive_1wnqk_244 {
    color: #00d4aa;
}

._bottomNav_1wnqk_137 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 70px;
    background: #2a2a2e;
    display: flex;
    justify-content: space-around;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

._navItem_1wnqk_149 {
    background: none;
    border: none;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    opacity: 0.5;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

._navItem_1wnqk_149:hover {
    opacity: 0.8;
    background: rgba(255, 255, 255, 0.05);
}

._navItem_1wnqk_149._active_1wnqk_161 {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
}

._navIcon_1wnqk_165 {
    width: 44px;
    height: 44px;
}


.close-btn {
    display: none;
}

/* Tab System Styles */
.tab-content {
    flex: 1;
    overflow-y: scroll;
    overflow-x: hidden;
    height: calc(100% - 28px - 70px); 
    scrollbar-gutter: stable;
}


.tab-content::-webkit-scrollbar {
    width: 8px;
    -webkit-appearance: none;
}

.tab-content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

.tab-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

.tab-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

.tab-panel {
    display: none;
    height: 100%;
    overflow-y: visible;
}

.tab-panel.active {
    display: block;
}

/* Quest System Styles - Simple rectangular like currency list */
.quest-list {
    padding: 20px;
    min-height: 500px;
}

/* Upgrade Cards Grid - Final page style */
.upgrades-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    padding: 20px;
    min-height: 700px;
}

.upgrade-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    min-height: 180px;
}

.upgrade-card:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.upgrade-card.purchased {
    background: rgba(76, 175, 80, 0.1);
    border-color: rgba(76, 175, 80, 0.3);
    opacity: 0.7;
}

.upgrade-rarity {
    font-size: 10px;
    font-weight: 700;
    padding: 4px 8px;
    border-radius: 4px;
    text-align: center;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.upgrade-rarity.common {
    background: linear-gradient(135deg, #9CA3AF, #6B7280);
    color: white;
}

.upgrade-rarity.rare {
    background: linear-gradient(135deg, #3B82F6, #1E40AF);
    color: white;
}

.upgrade-rarity.epic {
    background: linear-gradient(135deg, #8B5CF6, #7C3AED);
    color: white;
}

.upgrade-rarity.legendary {
    background: linear-gradient(135deg, #F59E0B, #D97706);
    color: white;
}

.upgrade-icon {
    font-size: 48px;
    text-align: center;
    margin: 10px 0;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.upgrade-info {
    flex: 1;
    text-align: center;
    margin-bottom: 15px;
}

.upgrade-info h4 {
    color: white;
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 8px 0;
    line-height: 1.2;
}

.upgrade-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 11px;
    margin: 0;
    line-height: 1.3;
}

.upgrade-status {
    display: flex;
    flex-direction: column;
    gap: 12px; 
    align-items: center;
}

.upgrade-price {
    color: #ffd700;
    font-weight: 600;
    font-size: 12px;
    text-align: center;
    margin-bottom: 5px; 
}



.upgrade-card button:disabled {
    background: #4b5563;
    color: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Upgrades System Styles */
.upgrades-list {
    padding: 20px;
    max-height: 400px;
    overflow-y: auto;
}

.upgrade-category {
    margin-bottom: 25px;
}

.upgrade-category h3 {
    color: #9886e5;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(152, 134, 229, 0.3);
}

.upgrade-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 12px 15px;
    margin-bottom: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s ease;
    min-height: 60px;
}

.upgrade-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
}

.upgrade-item.purchased {
    background: rgba(76, 175, 80, 0.1);
    border-color: rgba(76, 175, 80, 0.3);
    opacity: 0.7;
}

.upgrade-info {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 15px;
}

.upgrade-details {
    flex: 1;
}

.upgrade-details h4 {
    color: #fff;
    margin: 0 0 4px 0;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
}

.upgrade-details p {
    margin: 0;
    color: #aaa;
    font-size: 12px;
    line-height: 1.3;
}

.upgrade-cost {
    color: #9886e5;
    font-weight: 600;
    font-size: 13px;
    min-width: 80px;
    text-align: right;
    margin-right: 10px;
}

.upgrade-item button {
    background: linear-gradient(45deg, #9886e5, #6366f1);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 12px;
    min-width: 80px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.upgrade-item button:hover {
    background: linear-gradient(45deg, #8b7bd8, #5856eb);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(152, 134, 229, 0.4);
}

.upgrade-item button:disabled {
    background: #4b5563;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.upgrade-item button.win-button {
    background: linear-gradient(45deg, #fbbf24, #f59e0b);
    font-weight: 700;
    font-size: 13px;
    animation: pulse 2s infinite;
}

.upgrade-item button.win-button:hover {
    background: linear-gradient(45deg, #f59e0b, #d97706);
    box-shadow: 0 4px 20px rgba(251, 191, 36, 0.5);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}


._tokenAmount_1wnqk_235,
._tokenValue_1wnqk_223,
._balanceAmount_1wnqk_77,
#solBalance2,
#afsBalance2,
#solBalance3, 
#afsBalance3,
#solBalance4,
#afsBalance4 {
    opacity: 0;
    transition: opacity 0.3s ease;
}


.balances-loaded ._tokenAmount_1wnqk_235,
.balances-loaded ._tokenValue_1wnqk_223,
.balances-loaded ._balanceAmount_1wnqk_77,
.balances-loaded #solBalance2,
.balances-loaded #afsBalance2,
.balances-loaded #solBalance3,
.balances-loaded #afsBalance3,
.balances-loaded #solBalance4,
.balances-loaded #afsBalance4 {
    opacity: 1 !important;
}

/* NFT Sins Grid Styles */
.sins-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    padding: 20px;
    max-height: 400px;
    overflow-y: auto;
}

.sin-nft {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.sin-nft:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.sin-nft.redeemed {
    opacity: 0.5;
    background: rgba(76, 175, 80, 0.1);
    border-color: rgba(76, 175, 80, 0.3);
}

.nft-image {
    text-align: center;
    margin-bottom: 12px;
}

.sin-icon {
    font-size: 48px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.nft-info h4 {
    color: #fff;
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
    text-align: center;
}

.nft-info p {
    color: #999;
    margin: 0 0 12px 0;
    font-size: 12px;
    text-align: center;
    line-height: 1.4;
}

.nft-rarity {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 12px;
    width: 100%;
    text-align: center;
}

.nft-rarity.legendary {
    background: linear-gradient(45deg, #ff6b35, #f7931e);
    color: #fff;
    box-shadow: 0 0 15px rgba(255, 107, 53, 0.5);
}

.nft-rarity.epic {
    background: linear-gradient(45deg, #a855f7, #ec4899);
    color: #fff;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.5);
}

.nft-rarity.rare {
    background: linear-gradient(45deg, #3b82f6, #06b6d4);
    color: #fff;
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.5);
}

.nft-rarity.common {
    background: linear-gradient(45deg, #6b7280, #9ca3af);
    color: #fff;
    box-shadow: 0 0 10px rgba(107, 114, 128, 0.3);
}

.redeem-btn {
    width: 100%;
    background: linear-gradient(45deg, #dc2626, #b91c1c);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 12px;
    transition: all 0.2s ease;
    text-transform: uppercase;
}

.redeem-btn:hover {
    background: linear-gradient(45deg, #b91c1c, #991b1b);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.4);
}

.redeem-btn:disabled {
    background: #4b5563;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}



.quest-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px; 
    padding: 12px 15px; 
    margin-bottom: 8px; 
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s ease;
    min-height: 50px; 
}

.quest-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.quest-item.completed {
    background: rgba(76, 175, 80, 0.1);
    border-color: rgba(76, 175, 80, 0.3);
    opacity: 0.7;
}

.quest-info {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 15px; 
}

.quest-details {
    flex: 1;
}

.quest-details h4 {
    color: #fff;
    margin: 0 0 2px 0;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.2;
}

.quest-details p {
    margin: 0;
    color: #999;
    font-size: 11px;
    line-height: 1.2;
}

.quest-reward {
    color: #9886e5;
    font-weight: 600;
    font-size: 12px;
    min-width: 80px; 
    text-align: right;
    margin-right: 15px; 
}


.quest-button-container {
    display: flex;
    align-items: center;
    margin-left: 10px; 
}

.quest-item button {
    background: #9886e5;
    color: white;
    border: none;
    padding: 8px 16px; 
    border-radius: 6px; 
    cursor: pointer;
    font-weight: 500;
    font-size: 12px; 
    min-width: 85px; 
    min-height: 32px; 
    text-align: center;
    transition: all 0.2s ease;
    flex-shrink: 0; 
    white-space: nowrap; 
}

.quest-item button:hover {
    background: #8a7bd8;
    transform: translateY(-1px); 
    box-shadow: 0 2px 8px rgba(152, 134, 229, 0.3);
}

.quest-item button:disabled {
    background: #4caf50;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.quest-item.completed button {
    background: #4caf50;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Karma stats styling */
#karmaPoints, #completedQuests {
    color: #9886e5;
    font-weight: 600;
}

/* Unified Button Styles for All Purchase Buttons (except NFT) */
.quest-item button,
.swap-item button,
.document-item button,
.upgrade-card button {
    
    background: linear-gradient(45deg, #9886e5, #6366f1);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    font-size: 12px;
    width: 120px; 
    min-height: 32px;
    text-align: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
    white-space: nowrap;
    padding: 8px 16px;
}


.quest-item button:hover,
.swap-item button:hover,
.document-item button:hover,
.upgrade-card button:hover {
    background: linear-gradient(45deg, #8b7bd8, #5856eb);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(152, 134, 229, 0.3);
}


.quest-item button:disabled,
.swap-item button:disabled,
.document-item button:disabled,
.upgrade-card button:disabled {
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
    opacity: 0.6;
}

/* Swap Interface Styles */
.swap-interface {
    padding: 20px;
}

.swap-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 18px; 
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.swap-item h3 {
    color: #9886e5;
    margin: 0 0 15px 0; 
    font-size: 16px;
}

.swap-item p {
    margin: 8px 0; 
    color: #ccc;
    font-size: 14px;
}

.swap-item input {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 10px 14px; 
    color: white;
    margin: 15px 0; 
    font-size: 14px;
}

.swap-item input::placeholder {
    color: #999;
}

.swap-item button {
    background: #9886e5;
    color: white;
    border: none;
    padding: 8px 16px; 
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    font-size: 12px; 
    min-width: 85px; 
    min-height: 32px; 
    text-align: center;
    transition: all 0.2s ease;
    flex-shrink: 0; 
}

.swap-item button:hover {
    background: #8a7bd8;
    transform: translateY(-1px); 
    box-shadow: 0 2px 8px rgba(152, 134, 229, 0.3);
}

/* Documents List Styles */
.documents-list {
    padding: 20px;
}

.document-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.document-item h3 {
    color: #9886e5;
    margin: 0 0 10px 0;
    font-size: 16px;
}

.document-item p {
    margin: 5px 0;
    color: #ccc;
    font-size: 14px;
}

.document-item button {
    background: #9886e5;
    color: white;
    border: none;
    padding: 8px 16px; 
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    font-size: 12px; 
    margin-top: 15px; 
    min-width: 85px; 
    min-height: 32px; 
    text-align: center;
    transition: all 0.2s ease;
}

.document-item button:hover {
    background: #8a7bd8;
    transform: translateY(-1px); 
    box-shadow: 0 2px 8px rgba(152, 134, 229, 0.3);
}

/* Search Interface Styles */
.search-interface {
    padding: 20px;
}

.search-interface input {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    padding: 12px 16px;
    color: white;
    margin-bottom: 20px;
    font-size: 16px;
}

.search-interface input::placeholder {
    color: #999;
}

.search-results {
    max-height: 300px;
    overflow-y: auto;
}

.search-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.search-item h3 {
    color: #9886e5;
    margin: 0 0 8px 0;
    font-size: 16px;
}

.search-item p {
    margin: 3px 0;
    color: #ccc;
    font-size: 14px;
}

/* Custom black-gray scrollbars for Phantom Clicker */
._tokenList_1wnqk_170::-webkit-scrollbar,
.quest-list::-webkit-scrollbar,
.tab-panel::-webkit-scrollbar,
.upgrades-grid::-webkit-scrollbar,
.achievements-list::-webkit-scrollbar {
    width: 6px;
}

/* Music Player Styles */
#music-player {
    position: fixed;
    width: 380px;
    left: calc(25% - 190px); 
    top: 50%;
    transform: translateY(-50%); 
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    z-index: 1000; 
    display: block;
    overflow: hidden;
    opacity: 1;
    animation: none !important;
    transition: none !important;
}

/* Music Player Header (drag area) */
.music-player-header {
    height: 40px;
    background: transparent;
    display: flex;
    align-items: center;
    position: relative;
    cursor: grab; 
    user-select: none; 
}

.music-player-header:active {
    cursor: grabbing; 
}


.music-player-header .window-control {
    position: absolute;
    top: 15px;
    z-index: 15;
}

.music-player-header .window-control.close {
    left: 15px;
}

.music-player-header .window-control.minimize {
    left: 33px;
}

.music-player-header .window-control.maximize {
    left: 51px;
}

/* macOS window controls for Phantom Clicker */
.phantom-clicker-header {
    position: relative;
    cursor: grab;
    user-select: none;
}

.phantom-clicker-header:active {
    cursor: grabbing;
}


.phantom-clicker-header .window-control {
    position: absolute;
    top: 15px;
    z-index: 15;
}

.phantom-clicker-header .window-control.close {
    left: 15px;
}

.phantom-clicker-header .window-control.minimize {
    left: 33px;
}

.phantom-clicker-header .window-control.maximize {
    left: 51px;
}


.phantom-clicker-header::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    width: 12px;
    height: 12px;
    background: #ff5f56;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
    box-shadow: 
        18px 0 0 #ffbd2e,
        36px 0 0 #27ca3f;
}


.phantom-clicker-header .close-btn,
.phantom-clicker-header .minimize-btn,
.phantom-clicker-header .maximize-btn {
    position: absolute;
    top: 15px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 15;
    font-size: 9px;
    font-weight: bold;
    color: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.phantom-clicker-header .close-btn {
    left: 15px;
}

.phantom-clicker-header .close-btn::before {
    content: '✕';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 9px;
    font-weight: bold;
    color: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.phantom-clicker-header .close-btn:hover::before {
    opacity: 1;
}

.phantom-clicker-header .minimize-btn {
    left: 33px;
}

.phantom-clicker-header .minimize-btn::before {
    content: '−';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 9px;
    font-weight: bold;
    color: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.phantom-clicker-header .minimize-btn:hover::before {
    opacity: 1;
}

.phantom-clicker-header .maximize-btn {
    left: 51px;
}

.phantom-clicker-header .maximize-btn::before {
    content: '+';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 9px;
    font-weight: bold;
    color: rgba(0, 0, 0, 0.7);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.phantom-clicker-header .maximize-btn:hover::before {
    opacity: 1;
}

._playerContainer_9txua_33 {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 30px;
}

._thumbnailContainer_9txua_245 {
    width: 220px;
    height: 220px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.2);
}

._thumbnail_9txua_245 {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

._songInfo_9txua_43 {
    text-align: center;
    margin: 10px 0;
}

._songInfo_9txua_43 h2 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 8px;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.5px;
}

._songInfo_9txua_43 p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 400;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

._progressContainer_9txua_104 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 15px 0;
    width: 100%;
}

._time_9txua_112 {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    min-width: 40px;
    text-align: center;
    font-weight: 500;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

._progressBar_9txua_129 {
    flex: 1;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.3);
    appearance: none;
    cursor: pointer;
    position: relative;
    outline: none;
}


._progressDots_9txua_129 {
    flex: 1;
    height: 6px;
    margin: 0 10px;
    position: relative;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    overflow: hidden;
}

._progressDots_9txua_129::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, #007AFF, #00C6FF);
    border-radius: 3px;
    width: var(--progress-width, 0%);
    transition: width 0.1s ease;
    box-shadow: 0 0 8px rgba(0, 122, 255, 0.3);
}

._progressDot_9txua_129 {
    display: none; 
}

._progressDot_9txua_129._active_9txua_129 {
    background: white;
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.5);
}

._progressBar_9txua_129::-webkit-slider-thumb {
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.9);
}

._progressBar_9txua_129::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

._controls_9txua_58 {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 10px 0;
}

._controlButton_9txua_66, ._playButton_9txua_66 {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    color: white;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    appearance: none;
    -webkit-appearance: none;
    -webkit-tap-highlight-color: transparent;
    font-size: inherit;
    font-family: inherit;
    text-align: center;
    line-height: 1;
}



._controlButton_9txua_66 {
    width: 44px;
    height: 44px;
    font-size: 18px;
}

._playButton_9txua_66 {
    width: 60px;
    height: 60px;
    font-size: 24px;
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

._controlButton_9txua_66:hover, ._playButton_9txua_66:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
    transform: scale(1.05);
}

._playButton_9txua_66:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.7);
}


._controlButton_9txua_66:active, ._playButton_9txua_66:active {
    transform: scale(0.95);
    background: rgba(255, 255, 255, 0.35);
}

._controlButton_9txua_66:active svg, ._playButton_9txua_66:active svg,
._controlButton_9txua_66:active svg path, ._playButton_9txua_66:active svg path {
    fill: white !important;
    color: white !important;
}

._volumeContainer_9txua_174 {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    width: 100%;
    margin-top: 10px;
}

._volumeButton_9txua_183 {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    font-size: 18px;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.2s ease;
}

._volumeButton_9txua_183:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

._volumeBar_9txua_189 {
    width: 120px;
    height: 3px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.3);
    appearance: none;
    cursor: pointer;
    position: relative;
    outline: none;
}

._volumeBar_9txua_189::-webkit-slider-thumb {
    appearance: none;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

._volumeBar_9txua_189::-moz-range-thumb {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* Progress bar fill effect */
._progressBar_9txua_129::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: var(--progress-percent, 0%);
    background: white;
    border-radius: 2px;
    pointer-events: none;
}

/* Volume bar fill effect */
._volumeBar_9txua_189::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: var(--volume-percent, 20%);
    background: white;
    border-radius: 2px;
    pointer-events: none;
}



/* Mobile responsive */
@media (max-width: 768px) {
    #music-player {
        width: 320px;
        padding: 25px;
    }

    ._thumbnailContainer_9txua_245 {
        width: 180px;
        height: 180px;
    }

    ._songInfo_9txua_43 h2 {
        font-size: 18px;
    }

    ._songInfo_9txua_43 p {
        font-size: 14px;
    }

    ._controlButton_9txua_66 {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    ._playButton_9txua_66 {
        width: 55px;
        height: 55px;
        font-size: 20px;
    }

    
    ._controlButton_9txua_66 svg, ._playButton_9txua_66 svg {
        fill: white !important;
        stroke: white !important;
    }

    ._volumeBar_9txua_189 {
        width: 100px;
    }
}

._tokenList_1wnqk_170::-webkit-scrollbar-track,
.quest-list::-webkit-scrollbar-track,
.tab-panel::-webkit-scrollbar-track,
.upgrades-grid::-webkit-scrollbar-track,
.achievements-list::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

._tokenList_1wnqk_170::-webkit-scrollbar-thumb,
.quest-list::-webkit-scrollbar-thumb,
.tab-panel::-webkit-scrollbar-thumb,
.upgrades-grid::-webkit-scrollbar-thumb,
.achievements-list::-webkit-scrollbar-thumb {
    background: rgba(100, 100, 100, 0.8);
    border-radius: 3px;
}

._tokenList_1wnqk_170::-webkit-scrollbar-thumb:hover,
.quest-list::-webkit-scrollbar-thumb:hover,
.tab-panel::-webkit-scrollbar-thumb:hover,
.upgrades-grid::-webkit-scrollbar-thumb:hover,
.achievements-list::-webkit-scrollbar-thumb:hover {
    background: rgba(60, 60, 60, 1);
}


._header_1olvu_1, .dock, .desktop-icon {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}


.container:hover ._hidden_fasph_7,
._button_19n72_1:focus + ._hidden_fasph_7,
._container_1lum4_1:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}


.app-window {
    position: fixed;
    background: rgba(240, 240, 240, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.3);
    z-index: 1001;
}

.window-title-bar {
    height: 28px;
    background: rgba(220, 220, 220, 0.8);
    display: flex;
    align-items: center;
    padding: 0 12px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    cursor: move;
}


@keyframes ripple {
    to {
        transform: scale(2);
        opacity: 0;
    }
}


.notification {
    position: fixed;
    top: 50px;
    right: 20px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    z-index: 200; 
}

/* Desktop Icons */
.desktop-icons {
    position: fixed;
    z-index: 100;
}

.desktop-icon {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    padding: 10px;
    border-radius: 8px;
    transition: background-color 0.2s;
    user-select: none;
    width: 80px;
}

#desk1-icon {
    top: 80px;
    left: 50px;
}

#desk2-icon {
    top: 200px;
    left: 200px;
}

.desktop-icon:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.desktop-icon img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.desktop-icon span {
    color: white;
    font-size: 12px;
    text-align: center;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    max-width: 80px;
    word-wrap: break-word;
}

/* Image Viewers */
.image-viewer {
    position: fixed;
    top: 100px;
    left: 100px;
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
    min-width: 400px;
    max-width: 80vw;
    max-height: 80vh;
    resize: both;
    overflow: hidden;
}

.image-viewer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 15px;
    border-bottom: 1px solid #e0e0e0;
    background: linear-gradient(180deg, #f8f8f8 0%, #e8e8e8 100%);
    border-radius: 10px 10px 0 0;
    height: 28px;
    cursor: grab;
    user-select: none;
}

.image-viewer-header:active {
    cursor: grabbing;
}

.window-controls {
    display: flex;
    gap: 8px;
    align-items: center;
}

.window-control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.window-control.close {
    background: #ff5f57;
}


.window-control.close::before {
    content: '✕';
    font-size: 8px;
    color: #8b0000;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.window-control.close:hover::before {
    opacity: 1;
}

.window-control.minimize {
    background: #ffbd2e;
}


.window-control.minimize::before {
    content: '−';
    font-size: 10px;
    color: #b8860b;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.window-control.minimize:hover::before {
    opacity: 1;
}

.window-control.maximize {
    background: #28ca42;
}


.window-control.maximize::before {
    content: '+';
    font-size: 9px;
    color: #006400;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.window-control.maximize:hover::before {
    opacity: 1;
}


.modal-window-control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-window-control.close {
    background: #ff5f57;
}

.modal-window-control.close::before {
    content: '✕';
    font-size: 8px;
    color: #8b0000;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.modal-window-control.close:hover::before {
    opacity: 1;
}

.modal-window-control.minimize {
    background: #ffbd2e;
}

.modal-window-control.minimize::before {
    content: '−';
    font-size: 10px;
    color: #b8860b;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.modal-window-control.minimize:hover::before {
    opacity: 1;
}

.modal-window-control.maximize {
    background: #28ca42;
}

.modal-window-control.maximize::before {
    content: '+';
    font-size: 9px;
    color: #006400;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.2s ease;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.modal-window-control.maximize:hover::before {
    opacity: 1;
}

.window-control:hover {
    opacity: 0.8;
}

.image-viewer-header span {
    font-weight: 600;
    color: #333;
    font-size: 13px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.close-btn {
    display: none;
}

.image-viewer img {
    width: 100%;
    height: calc(100% - 28px); 
    object-fit: contain;
    display: block;
    border-radius: 0 0 10px 10px;
    background: #f0f0f0;
}

/* Reminders App */
.window-title-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    padding: 0 15px;
}

.window-controls {
    display: flex;
    gap: 8px;
    align-items: center;
}

.window-title {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    pointer-events: none; 
}

.photos-header {
    cursor: grab;
    user-select: none;
}

.photos-header:active {
    cursor: grabbing;
}

.reminders-header {
    cursor: grab;
    user-select: none;
}

.reminders-header:active {
    cursor: grabbing;
}

.reminders-content {
    padding: 20px;
    background: #fff;
    height: calc(100% - 28px);
    overflow-y: auto;
    font-family: -apple-system, BlinkMacSystemFont, "San Francisco", sans-serif;
}

.reminder-item {
    display: flex;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.reminder-item:last-child {
    border-bottom: none;
}

.reminder-item input[type="checkbox"] {
    margin-right: 12px;
    width: 16px;
    height: 16px;
    accent-color: #007AFF;
}

.reminder-item label {
    font-size: 14px;
    line-height: 1.4;
    color: #333;
    cursor: pointer;
    user-select: none;
}

.reminder-item input[type="checkbox"]:checked + label {
    text-decoration: line-through;
    color: #999;
}

/* Photos App */
.photos-content {
    padding: 20px;
    background: #fff;
    height: calc(100% - 28px);
    overflow-y: auto;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}

.photo-item {
    position: relative;
    aspect-ratio: 1;
    background: #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.photo-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.photo-item:hover img {
    transform: scale(1.05);
}

.photo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 48px;
}

.photo-modal {
    position: fixed;
    top: 100px;
    left: 100px;
    width: 800px;
    height: 600px;
    display: flex;
    flex-direction: column;
    z-index: 999; 
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.photo-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.photo-nav {
    position: absolute;
    z-index: 10;
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    font-size: 20px;
    padding: 10px 15px;
    border-radius: 8px; 
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 45px;
    height: 40px;
}

.photo-nav.prev {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.photo-nav.next {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.photo-nav:hover {
    background: rgba(255,255,255,0.4) !important;
    transform: translateY(-50%) scale(1.05);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    color: white;
    cursor: pointer;
    font-size: 20px;
    backdrop-filter: blur(10px);
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
}