.panel {
    border-radius: 40px;
    position: relative;
    background: linear-gradient(135deg, rgba(45, 45, 70, 0.94), rgba(26, 26, 46, 0.9));
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.37);
    overflow: visible;
}

.panel:hover {
    transform: none;
}

.panel::before {
    display: none;
}

.panel::after {
    display: none;
}

.corkboard-panel {
    border-radius: 0 !important;
    background-image: url('/assets/home/corkboard.webp') !important;
    background-size: 100% 100% !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-color: transparent !important;
    backdrop-filter: none !important;
    border: none !important;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1) !important;
}

.corkboard-panel::before {
    display: none !important;
}

.corkboard-panel::after {
    display: none !important;
}

.corkboard-panel:hover {
    transform: none !important;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.1) !important;
}

.panel-reflection {
    z-index: 1;
    pointer-events: none;
}

.panel h2,
.panel h3,
.panel p,
.panel img {
    position: relative;
    z-index: 3;
}

.panel h2 { color: white; text-shadow: 0 2px 5px rgba(0,0,0,0.28); font-weight: bold; }

.panel h3 { color: white; text-shadow: 0 2px 5px rgba(0,0,0,0.28); font-weight: bold; }

.panel p { color: white; text-shadow: 0 1px 5px rgba(0,0,0,0.25); line-height: 1.5; }

.panel img {
    border-radius: 15px;
    transition: transform 0.3s ease;
}

#dailyRewardPanel img {
    border-radius: 0 !important;
}

.panel img.panel-image,
.panel img.news-banner-image,
.fanart-panel img.panel-image,
.news-banner-panel img.news-banner-image,
img.news-banner-image {
    border-radius: 15px !important;
}

.panel img:hover {
    transform: scale(1.02);
}

.panel button {
    position: relative;
    z-index: 10;
    pointer-events: auto;
}

.panel-text {
    position: relative;
    z-index: 5;
    pointer-events: auto;
}

.notification-container {
    position: fixed;
    left: 16px;
    bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 5000;
    width: 360px;
    max-width: 90vw;
    pointer-events: none;
}

.notification-item {
    background: linear-gradient(135deg, rgba(45, 45, 70, 0.94), rgba(26, 26, 46, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    border-radius: 14px;
    padding: 6px 8px !important;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    position: relative;
    pointer-events: auto;
}

.notification-icon {
    width: 36px;
    height: 36px;
    border-radius: 0;
    object-fit: contain;
    flex-shrink: 0;
}

.notification-content {
    flex: 1;
    min-width: 0;
}

.notification-title {
    margin: 0 0 4px 0;
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    text-shadow: 0 2px 5px rgba(0,0,0,0.28);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.notification-description {
    margin: 0;
    color: rgba(255,255,255,0.9);
    font-size: 0.78rem;
    line-height: 1.3;
}

.notification-close {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.notification-close:hover {
    background: rgba(255, 68, 68, 0.3);
    border-color: rgba(255, 68, 68, 0.5);
}

.achievement-grid {
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
}

.achievement-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 0 !important;
}

.achievement-row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 12px !important;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.18);
    margin: 0 !important;
}

.achievement-row.locked {
    border-style: dotted;
    border-color: #666;
}

.achievement-thumb {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.achievement-thumb img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 8px;
}

.achievement-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    padding: 0 !important;
}

.achievement-title {
    color: #fff;
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.2;
}

.achievement-description {
    color: rgba(255,255,255,0.85);
    font-size: 10px;
    text-align: left;
    line-height: 1.2;
}

.achievement-date {
    color: rgba(255,255,255,0.7);
    font-size: 10px;
    text-align: left;
    line-height: 1.2;
}

@media (max-width: 900px) {
    .notification-container {
        display: none;
    }
}