/* Partypeople – HUD, Navigation & Feedback (aus geocraft.css ausgelagert) */
/* Active 3D Navigation Banner */
.hud-route-banner {
    position: absolute;
    top: 68px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 18px;
    background: rgba(10, 14, 26, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(0, 240, 255, 0.5);
    border-radius: 30px;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.25), 0 8px 32px rgba(0, 0, 0, 0.6);
    z-index: 105;
    pointer-events: auto;
    animation: hudRouteSlideDown 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes hudRouteSlideDown {
    from {
        opacity: 0;
        transform: translate(-50%, -18px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translate(-50%, 0) scale(1);
    }
}

.hud-route-icon {
    font-size: 1.35rem;
    line-height: 1;
    filter: drop-shadow(0 0 6px rgba(0, 240, 255, 0.6));
}

.hud-route-info {
    display: flex;
    flex-direction: column;
    min-width: 140px;
    max-width: 260px;
}

.hud-route-title {
    font-size: 0.92rem;
    font-weight: 700;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 0.3px;
}

.hud-route-meta {
    font-size: 0.78rem;
    font-weight: 600;
    color: #00f0ff;
    letter-spacing: 0.2px;
}

.hud-route-cancel {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 85, 102, 0.4);
    color: #ff5566;
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: bold;
    transition: all 0.2s ease;
    padding: 0;
    margin-left: 4px;
}

.hud-route-cancel:hover {
    background: rgba(255, 85, 102, 0.25);
    border-color: #ff5566;
    color: #ffffff;
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .hud-route-banner {
        top: 56px;
        padding: 6px 14px;
        gap: 10px;
    }
    .hud-route-title {
        max-width: 170px;
        font-size: 0.85rem;
    }
    .hud-route-meta {
        font-size: 0.72rem;
    }
}

/* ============================================================
   Integrated Minimap Bottom Bar (POI Filter Bar)
   ============================================================ */

.minimap-bottom-bar {
    position: relative;
    width: 100%;
    height: 32px;
    background: rgba(10, 14, 26, 0.72);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(0, 240, 255, 0.25);
    border-bottom-left-radius: 13px;
    border-bottom-right-radius: 13px;
    display: flex;
    align-items: stretch;
    justify-content: center;
    user-select: none;
    z-index: 90;
    pointer-events: auto;
}

.minimap-bottom-bar-btn {
    width: 100%;
    height: 100%;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #f1f5f9 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px !important;
    cursor: pointer !important;
    padding: 0 10px !important;
    border-radius: 0 0 13px 13px !important;
    transition: background 0.18s ease, color 0.18s ease !important;
}

.minimap-bottom-bar-btn:hover,
.minimap-bottom-bar-btn.active {
    background: rgba(0, 240, 255, 0.15) !important;
    color: #00f0ff !important;
}

/* In Fullscreen 2D View: detach bottom bar into floating pill at top-right */
.minimap-panel.mode-fullscreen-2d .minimap-bottom-bar,
body.mode-2d-active .minimap-bottom-bar {
    position: absolute !important;
    top: calc(var(--top-bar-height, 52px) + 12px) !important;
    right: 18px !important;
    bottom: auto !important;
    left: auto !important;
    width: auto !important;
    height: 34px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(0, 240, 255, 0.45) !important;
    background: rgba(10, 14, 26, 0.88) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5), 0 0 12px rgba(0, 240, 255, 0.25) !important;
    z-index: 1200 !important;
    padding: 0 4px !important;
    display: flex !important;
    pointer-events: auto !important;
}

.minimap-panel.mode-fullscreen-2d .minimap-bottom-bar-btn,
body.mode-2d-active .minimap-bottom-bar-btn {
    border-radius: 999px !important;
    padding: 6px 14px !important;
    width: auto !important;
    height: 100% !important;
    white-space: nowrap !important;
}

.poi-filter-icon {
    font-size: 1rem;
    line-height: 1;
}

.poi-filter-caret {
    font-size: 0.75rem;
    opacity: 0.75;
    transition: transform 0.2s ease;
}

.minimap-bottom-bar-btn.active .poi-filter-caret,
.btn-poi-filter-pill.active .poi-filter-caret {
    transform: rotate(180deg);
}

.poi-filter-flyout {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    left: auto;
    width: 270px;
    max-height: calc(100vh - var(--top-bar-height, 52px) - 250px);
    max-height: calc(100dvh - var(--top-bar-height, 52px) - 250px);
    display: flex;
    flex-direction: column;
    pointer-events: auto;
    background: rgba(10, 14, 26, 0.94) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(0, 240, 255, 0.28) !important;
    border-radius: 16px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.65), 0 0 20px rgba(0, 240, 255, 0.15);
    overflow: hidden;
    z-index: 1300 !important;
    animation: poiFlyoutIn 0.22s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

@keyframes poiFlyoutIn {
    from { opacity: 0; transform: translateY(-8px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.poi-filter-header {
    padding: 12px 14px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(16, 22, 40, 0.7);
}

.poi-filter-title-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}

.poi-filter-title {
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    color: #00f0ff;
    text-transform: uppercase;
}

.poi-filter-badge {
    font-size: 0.7rem;
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(0, 240, 255, 0.15);
    border: 1px solid rgba(0, 240, 255, 0.35);
    color: #00f0ff;
    font-weight: 700;
}

.poi-filter-actions-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.poi-filter-action-btn {
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    padding: 2px 4px;
    border-radius: 4px;
    transition: color 0.15s;
}

.poi-filter-action-btn:hover {
    color: #00f0ff;
}

.poi-filter-action-sep {
    color: #475569;
    font-size: 0.7rem;
}

.poi-filter-list {
    overflow-y: auto;
    padding: 6px 8px 10px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 240, 255, 0.3) transparent;
}

.poi-filter-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 7px 10px;
    border-radius: 10px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid transparent;
    transition: all 0.15s ease;
}

.poi-filter-item:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(255, 255, 255, 0.12);
}

.poi-filter-item.active {
    background: rgba(0, 240, 255, 0.08);
    border-color: rgba(0, 240, 255, 0.22);
}

.poi-filter-item-left {
    display: flex;
    align-items: center;
    gap: 9px;
}

.poi-filter-item-icon {
    font-size: 1.1rem;
    line-height: 1;
    width: 22px;
    text-align: center;
}

.poi-filter-item-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #f1f5f9;
}

.poi-filter-checkbox {
    width: 17px;
    height: 17px;
    border-radius: 5px;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s;
}

.poi-filter-item.active .poi-filter-checkbox {
    background: var(--item-color, #00f0ff);
    border-color: var(--item-color, #00f0ff);
    box-shadow: 0 0 8px var(--item-glow, rgba(0, 240, 255, 0.4));
}

.poi-filter-check-mark {
    display: none;
    color: #0b0f19;
    font-size: 11px;
    font-weight: 900;
    line-height: 1;
}

.poi-filter-item.active .poi-filter-check-mark {
    display: block;
}

@media (max-width: 768px) {
    .minimap-panel.mode-fullscreen-2d .minimap-bottom-bar,
    body.mode-2d-active .minimap-bottom-bar {
        top: calc(var(--top-bar-height, 52px) + 8px) !important;
        right: 8px !important;
        height: 30px !important;
    }
    .minimap-panel.mode-fullscreen-2d .minimap-bottom-bar-btn,
    body.mode-2d-active .minimap-bottom-bar-btn {
        padding: 4px 10px !important;
        font-size: 0.75rem !important;
    }
    .poi-filter-flyout {
        width: 250px;
    }
}

/* Floating Feedback Button (Desktop / Tablet) - Hidden */
.btn-floating-feedback {
    display: none !important;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    background: rgba(10, 14, 24, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(0, 240, 255, 0.35);
    border-radius: 30px;
    color: #f8fafc;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 12px rgba(0, 240, 255, 0.2);
    transition: all 0.25s ease;
    user-select: none;
}

.btn-floating-feedback:hover {
    border-color: var(--accent-cyan);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.6), 0 0 18px rgba(0, 240, 255, 0.45);
    transform: translateY(-2px);
    color: #00f0ff;
}

.btn-floating-feedback .feedback-btn-icon {
    font-size: 1rem;
    filter: drop-shadow(0 0 6px rgba(0, 240, 255, 0.6));
}

/* Hide floating feedback on mobile to prevent overlapping touch controls */
@media (max-width: 768px) {
    .btn-floating-feedback {
        display: none !important;
    }
}

/* Event Card Popover Menu */
.btn-event-menu-item {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    text-align: left;
    padding: 7px 10px;
    font-size: 0.78rem;
    color: #cbd5e1;
    background: transparent;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
    white-space: nowrap;
}
.btn-event-menu-item:hover {
    background: rgba(0, 240, 255, 0.15) !important;
    color: #00f0ff !important;
}
.btn-event-menu-item.danger-item:hover {
    background: rgba(255, 68, 68, 0.2) !important;
    color: #ff6b6b !important;
}

@keyframes geocraft-spin {
    to { transform: rotate(360deg); }
}

.avatar-smiley-item-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    font-size: 1.3rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
    user-select: none;
    -webkit-user-select: none;
    color: #ffffff;
}
.avatar-smiley-item-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.35);
    transform: scale(1.08);
}
.avatar-smiley-item-btn.active {
    background: rgba(0, 240, 255, 0.22) !important;
    border-color: #00f0ff !important;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.45) !important;
}

.avatar-gif-item-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    padding: 2px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
    user-select: none;
    -webkit-user-select: none;
    overflow: hidden;
    box-sizing: border-box;
}
.avatar-gif-item-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.35);
    transform: scale(1.08);
}
.avatar-gif-item-btn.active {
    background: rgba(0, 240, 255, 0.22) !important;
    border-color: #00f0ff !important;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.45) !important;
}

.avatar-popover-tab-btn {
    flex: 1;
    padding: 4px 2px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    border: 1px solid transparent;
    border-radius: 6px;
    cursor: pointer;
    background: transparent;
    color: #ffffff;
    transition: all 0.18s ease;
}
.avatar-popover-tab-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}
.avatar-popover-tab-btn.active {
    background: rgba(0, 240, 255, 0.2) !important;
    color: #ffffff !important;
    border-color: #00f0ff !important;
    box-shadow: 0 0 8px rgba(0, 240, 255, 0.35) !important;
}

/* Avatar Option Buttons: Frisur, Accessoire, Hand-Item, Tanzstil */
.avatar-hair-btn,
.avatar-acc-btn,
.avatar-hand-btn,
.avatar-dance-btn {
    transition: all 0.15s ease;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    background: rgba(255, 255, 255, 0.05) !important;
    color: #ffffff !important;
    box-shadow: none !important;
    font-weight: 500;
}
.avatar-hair-btn:hover,
.avatar-acc-btn:hover,
.avatar-hand-btn:hover,
.avatar-dance-btn:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.35) !important;
    color: #ffffff !important;
    box-shadow: none !important;
}
.avatar-hair-btn.active,
.avatar-acc-btn.active,
.avatar-hand-btn.active,
.avatar-dance-btn.active {
    background: rgba(0, 240, 255, 0.22) !important;
    border-color: #00f0ff !important;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.45) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
}

/* ============================================================
   Seasonal In-Game Events
   ============================================================ */
.seasonal-event-hud {
    position: fixed;
    top: 84px;
    left: 18px;
    width: 292px;
    z-index: 1100;
    padding: 12px 13px 11px;
    border-radius: 16px;
    border: 1px solid color-mix(in srgb, var(--se-color, #ffd166) 55%, transparent);
    background: linear-gradient(145deg, rgba(10, 14, 26, 0.94), rgba(10, 14, 26, 0.76));
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.55), 0 0 24px color-mix(in srgb, var(--se-color, #ffd166) 18%, transparent);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: #f8fafc;
    font-family: inherit;
    pointer-events: auto;
    user-select: none;
}

.seasonal-event-hud[hidden] {
    display: none !important;
}

.se-hud-head {
    display: flex;
    align-items: flex-start;
    gap: 9px;
}

.se-hud-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 10px;
    font-size: 1.25rem;
    background: color-mix(in srgb, var(--se-color, #ffd166) 18%, transparent);
    border: 1px solid color-mix(in srgb, var(--se-color, #ffd166) 38%, transparent);
    filter: drop-shadow(0 0 7px color-mix(in srgb, var(--se-color, #ffd166) 55%, transparent));
    flex: 0 0 auto;
}

.se-hud-copy {
    min-width: 0;
    flex: 1;
}

.se-hud-title {
    font-size: 0.86rem;
    font-weight: 800;
    letter-spacing: 0.25px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.se-hud-meta {
    margin-top: 2px;
    color: var(--se-color, #ffd166);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.se-hud-admin {
    width: 24px;
    height: 24px;
    border-radius: 7px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: rgba(255, 255, 255, 0.06);
    color: #cbd5e1;
    cursor: pointer;
    font-size: 0.8rem;
    line-height: 1;
}

.se-hud-admin:hover {
    color: #fff;
    border-color: var(--se-color, #ffd166);
}

.se-hud-progress {
    height: 5px;
    margin-top: 10px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
}

.se-hud-progress span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--se-color, #ffd166), #ffffff);
    box-shadow: 0 0 9px var(--se-color, #ffd166);
    transition: width 0.35s ease;
}

.se-hud-stats {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    margin-top: 7px;
    font-size: 0.68rem;
    font-weight: 700;
    color: #cbd5e1;
}

.se-hud-community {
    color: #94a3b8;
    text-align: right;
}

.se-hud-hint {
    margin-top: 7px;
    padding-top: 7px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: #94a3b8;
    font-size: 0.68rem;
    line-height: 1.35;
}

.seasonal-admin-launcher {
    position: fixed;
    left: 18px;
    bottom: 96px;
    z-index: 1100;
    padding: 8px 12px;
    border-radius: 9px;
    border: 1px solid rgba(0, 240, 255, 0.4);
    background: rgba(10, 14, 26, 0.9);
    color: #00f0ff;
    font-size: 0.72rem;
    font-weight: 800;
    cursor: pointer;
    backdrop-filter: blur(12px);
}

.seasonal-admin-launcher[hidden] {
    display: none !important;
}

.seasonal-admin-panel {
    position: fixed;
    top: 84px;
    left: 18px;
    width: 330px;
    max-height: min(70vh, 540px);
    z-index: 1200;
    display: flex;
    flex-direction: column;
    padding: 13px;
    border-radius: 16px;
    border: 1px solid rgba(0, 240, 255, 0.35);
    background: rgba(10, 14, 26, 0.97);
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(18px);
    color: #f8fafc;
}

.seasonal-admin-panel[hidden] {
    display: none !important;
}

.se-admin-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    color: #00f0ff;
    font-size: 0.8rem;
}

.se-admin-close {
    border: 0;
    background: transparent;
    color: #94a3b8;
    cursor: pointer;
    font-size: 0.9rem;
}

.se-admin-note {
    margin: 7px 0 9px;
    color: #64748b;
    font-size: 0.66rem;
    line-height: 1.35;
}

.se-admin-list {
    display: flex;
    flex-direction: column;
    gap: 5px;
    overflow-y: auto;
    padding-right: 2px;
}

.se-admin-event {
    display: flex;
    align-items: center;
    gap: 9px;
    width: 100%;
    padding: 7px 8px;
    border: 1px solid transparent;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.035);
    color: #e2e8f0;
    text-align: left;
    cursor: pointer;
}

.se-admin-event:hover,
.se-admin-event.is-active {
    border-color: rgba(0, 240, 255, 0.35);
    background: rgba(0, 240, 255, 0.1);
}

.se-admin-event-icon {
    width: 24px;
    text-align: center;
    font-size: 1rem;
}

.se-admin-event strong,
.se-admin-event small {
    display: block;
}

.se-admin-event strong {
    font-size: 0.73rem;
}

.se-admin-event small {
    margin-top: 1px;
    color: #94a3b8;
    font-size: 0.63rem;
}

@media (max-width: 768px) {
    .seasonal-event-hud {
        top: 60px;
        left: 8px;
        width: min(280px, calc(100vw - 16px));
    }
    .seasonal-admin-panel {
        top: 60px;
        left: 8px;
        width: min(330px, calc(100vw - 16px));
    }
    .seasonal-admin-launcher {
        left: 8px;
        bottom: 76px;
    }
}

