/* ===== ROOT VARIABLES FOR OPTIMIZATION ===== */
:root{--backdrop-blur:blur(3px);--backdrop-filter:blur(3px);--blur-10:blur(10px);--shadow-base:0 4px 15px rgba(0,0,0,0.2);--shadow-backdrop:0 10px 15px var(--swal2-backdrop);--glass-shadow:0 4px 15px rgba(0,0,0,0.2);--border-radius-sm:5px;--border-radius-md:8px;--border-radius-lg:12px;--border-radius-xl:16px;--transition-base:all 0.3s cubic-bezier(0.25,0.46,0.45,0.94);--backdrop-bg:rgba(255,255,255,0.05);--glass-bg:rgba(255,255,255,0.05);--glass-border:1px solid rgba(255,255,255,0.6);--glass-outline:1px solid rgba(255,255,255,0.8);--glass-inset:inset 0 0 10px rgba(255,255,255,0.5);--overlay-bg:rgba(0,0,0,0.5);--text-shadow:2px 2px 4px #000;--text-color:#fff;--text-color-light:#e5d7ff;--glow-orange:0 0 20px var(--swal2-footer-border-color);--button-bg:linear-gradient(145deg,#2c2c5e,#1a1a3a);--button-border:4px double var(--swal2-footer-border-color);--gradient-purple-black:radial-gradient(circle at center,#7800ffa3,rgb(0 0 0));--icon-size-md:40px;--avatar-size:100px}
*{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent}
input,textarea,[contenteditable="true"]{-webkit-user-select:auto;user-select:auto;-webkit-touch-callout:default}
body{touch-action:manipulation}
/* ==================== LAYOUT & MAP ==================== */
.container-fluid { max-width: 100%; }
.h-vh-100 { height: 100dvh; overflow: hidden; box-sizing: border-box; }
.hidden { opacity: 0; pointer-events: none; transition: opacity 0.5s; }
.leaflet-container { position: absolute; inset: 0; width: 100%; height: 100% !important; z-index: 1; }
#index-section {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.room-section {
    height: 100%;
}
.mission-map{
    display: flex !important;
    flex-direction: column;
    height: 100% !important;
    width: 100%;
}
/* ==================== POPUP MISSION ==================== */
.modal-dialog {
    height: 100% !important;
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.modal-header span {
    font-weight: bold;
    font-size: 18px;
    text-transform: uppercase;
}
.modal-body {
    padding: 0;
    overflow: hidden !important;
    position: relative;
}
.swal2-styled:focus,.swal2-popup .swal2-styled:focus,.swal2-container button.swal2-styled:focus{outline:none!important;box-shadow:none!important;border:none!important}
.swal2-popup,.modal-content{border-radius:var(--border-radius-sm)!important;background:radial-gradient(circle at center,#7800ffa3,#000)!important;backdrop-filter:var(--backdrop-blur)!important;border:1px solid rgba(255,255,255,0.6)!important;color:#e5d7ff!important}
.swal2-styled.swal2-confirm,.swal2-styled.swal2-cancel{background:url(/images/arena/battle/vs-button.webp) center / 100% 100% no-repeat!important;padding:10px 24px!important;font-weight:900!important;text-transform:uppercase!important;text-shadow:var(--text-shadow)!important;color:var(--orange)!important;filter:drop-shadow(0 0 12px #ff6b0066)!important}
.swal2-styled.swal2-cancel{filter:grayscale(0.7) drop-shadow(0 0 8px #666)!important}
.swal2-backdrop-show{background:rgba(0,0,0,0.82)!important}
/* Ẩn icon lỗi (dấu chấm than) */
.swal2-icon.swal2-error {
    display: none !important;
}

/* Ẩn chữ "Lỗi" (title mặc định khi type: 'error') */
.swal2-title:where(.swal2-error ~ .swal2-title) {
    display: none !important;
}
.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 1001;
}
#openPopupMission, .main-icon, .guide-trigger {
    border-radius: 50% !important;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.65);
    margin-bottom: 10px;
}
#openPopupMission, .main-icon, .guide-trigger {
    height: 30px;
    width: 30px;
    background: #fff;
    border-radius: 2px;
    display: flex;
    flex-direction: center;
    align-items: center;
    justify-content: space-around;
}
.guide-trigger img {
    width: 100%;
}
#global-fade-overlay {
    position: absolute;
    inset: 0;
    background: rgb(0 0 0 / 70%);
    pointer-events: auto;
    z-index: 10000;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}
#global-fade-overlay.show {
    opacity: 1;
    pointer-events: auto;
}
.global-fade-overlay {
    position: absolute;
    inset: 0;
    background: #000;
    opacity: 0;
    pointer-events: none;
    z-index: 10000;
    transition: opacity 2s ease-in-out;
}
.global-fade-overlay.show {
    opacity: 1;
    pointer-events: auto;
}
.reward-container {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
    perspective: 1000px;
}
.pet-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap:10px;
    position: relative;
    animation: orbit 12s linear infinite;
    animation-delay: var(--delay, 0s);
    transform-origin: center center;
}
.pet-item:not(:first-child)::before {
    content: '';
    position: absolute;
    top: 40%;
    left: -40px;
    width: 100px;
    height: 10px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    background-size: 200% 100%;
    animation: flow 3s linear infinite;
    transform: translateY(-50%);
    z-index: -1;
}
/* Hiệu ứng xoay nhẹ như sao */
@keyframes orbit {
    0% { transform: rotate(0deg) translateX(0) rotate(0deg); }
    100% { transform: rotate(360deg) translateX(0) rotate(-360deg); }
}

/* Hiệu ứng dòng chảy trên đường nối */
@keyframes flow {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
.pet-card {
    width: 150px;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    border-radius: 12px;
    border: 4px double rgb(255, 215, 0);
    box-shadow: rgb(255, 215, 0) 0px 0px 25px;
}
.pet-level {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: rgb(255, 215, 0);
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 16px;
    text-shadow: rgb(0, 0, 0) 1px 1px 3px;
}
.pet-level-bar {
    width: 100%;
    height: 10px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgb(255, 215, 0);
    position: relative;
}
.pet-level-bar-exp {
    width:0%;
    height:100%;
    background:linear-gradient(90deg, #ffd700, #ff4500);
    transition:width 1.8s cubic-bezier(0.25,0.46,0.45,0.94);
}
.pet-level-bar-text {
    position:absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    font-size:20px;
    color:#ffd700;
    font-weight:bold;
    opacity:0;
    text-shadow:2px 2px 6px #000;
    pointer-events:none;
    z-index:10;
}
.item-image {
    width: 90px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid rgb(255, 255, 255);
    box-shadow: var(--orange) 0px 0px 20px;
}
.pet-item span,
.item-image span {
    display: block;
    font-size: 12px;
    color: #ffd700;
    font-weight: 500;
    text-shadow: 1px 1px 3px #000;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}
.reward-image {
    width: 120px;
    height: 120px;
    border: 3px solid yellow;
    border-radius: 10%;
    box-shadow: 0 0 15px yellow;
    animation: glow 2s infinite alternate;
}

.reward-name {
    color: white;
    font-size: 1.2em;
    font-weight: bold;
    margin-top: 10px;
    text-shadow: 0 0 10px yellow;
}

.share-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    width: 100%;
}

.share-text {
    color: white;
    font-size: 12px;
}

.share-icons {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

.share-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.share-btn span {
    color: #fff;
    text-decoration: none;
}
.share-icon {
    font-size: 30px;
    color: white;
}
.share-icons i {
    font-size: 26px;
    color: #fff;
}
.share-icon-img {
    width: 24px;
    height: 24px;
}

.share-label {
    display: block;
    font-size: 12px;
    color: #fff;
}

.text-reward,
.mission-start-btn {
    background: url(/images/arena/battle/vs-button.webp) center center / 100% no-repeat !important;
    padding: 40px !important;
    font-weight: 900 !important;
    text-transform: uppercase !important;
    text-shadow: 2px 2px 4px #000 !important;
    color: var(--swal2-footer-border-color) !important;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    position: relative !important;
    overflow: hidden !important;
    text-align: center !important;
    filter: drop-shadow(0 0 20px var(--blue)) !important;
    cursor: pointer !important;
}


/* Giữ animation glow */
@keyframes glow {
    0% { box-shadow: 0 0 10px yellow, 0 0 20px orange, 0 0 30px gold; }
    100% { box-shadow: 0 0 15px gold, 0 0 30px yellow, 0 0 45px orange; }
}
/* ==================== HEADER & LISTS ==================== */
.user-backpack-small {
    display: flex;
    justify-content: space-between;
    width: 100%;
    height: 100%;
}
.user-backpack-small img {
    border-radius: 50%;
    width: 30px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}
.header-wrapper {
    flex: 1;
    overflow: hidden;
}
.header-map {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 5px;
    width: 100%;
    height: 40px;
    z-index: 2;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2), inset 0 0 10px rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    outline: 1px solid rgba(255, 255, 255, 0.8);
}
.header-row {
    justify-content: flex-start;
    position: absolute;
    top: 0;
    z-index: 1001;
    background-color: white;
    border-radius: inherit;
}
.stat-container {
    display: flex;
    align-items: center;
    padding: 0 0 0 10px;
    gap: 15px;
    background-color: var(--swal2-backdrop);
    color: #fff;
    border-radius: 20px;
}
.mission-list {
    overflow-y: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 1fr;
    gap: 10px;
    padding: 10px;
    width: 100%;
    scrollbar-width: none;
    -ms-overflow-style: none;
    opacity: 0;
    transition: opacity 0.6s ease-out;
}
.mission-list.loaded {
    opacity: 1;
}
img.mission-img {
    loading: lazy;
}
.mission-list::-webkit-scrollbar { display: none; }
.mission-new {
    position: absolute;
    top: -20px;
    right: 30px;
    width: 50px;
    z-index: -1;
}
.map-menu {
    display: flex;
    position: absolute;
    top: 0px;
    right: 50px;
    background: white;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    padding: 10px;
    gap: 10px;
    z-index: 1000;
}
.layer-icon {
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}
.layer-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}
.stat-item {
    display: flex;
    align-items: center;
    gap: 5px;
}
.stat-item i {
    color: var(--orange);
}
.stat-item span {
    font-size: 12px;
}
.pay-button {
    color: #fff !important;
    border-radius: 50%;
    background: var(--swal2-backdrop);
    padding: 8px;
    font-size: 12px;
}
/* ==================== CARD & IMAGE STYLES ==================== */
.border-wrapper {
    position: relative;
    max-height: 140px;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.border-wrapper.visible {
    opacity: 1;
    transform: translateY(0);
}
.img-wrapper,
.mission-img {
    border-radius: var(--border-radius-sm);
    background: var(--backdrop-bg);
    box-shadow: var(--shadow-base), inset 0 0 10px rgba(255, 255, 255, 0.5);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-filter);
    border: 1px solid rgba(255, 255, 255, 0.6);
    outline: 1px solid rgba(255, 255, 255, 0.8);
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.all-mission-completed-overlay,
.mission-description-overlay {
    z-index: 1;
    position: absolute;
    left: 0;
    width: 100%;
    background: rgba(0,0,0,0.85);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
}
.all-mission-completed-overlay {
    top: 0;
    height: 100%;
    border-radius: 5px;
}
.mission-description-overlay {
    bottom: 0;
    border-radius: 0 0 5px 5px;
    z-index: 1;
}
.all-mission-completed-overlay span,
.mission-description-overlay span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    filter: drop-shadow(0 0 20px var(--blue));
    font-family: monospace;
    font-size: medium;
    max-width: 160px;
}
/* ==================== AI LIST ==================== */
.ai-overlay {
    position: absolute;
    width: 119px;
    height: 120px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
    left: 0;
    top: 0;
    transform: translate(-50%, -50%);
}
.ai-overlay.show {
    opacity: 1;
}
.ai-opponent-item {
    position: absolute;
    width: 40px;
    height: 40px;
    pointer-events: auto;
    transform: translate(-50%, -50%);
}
.ai-opponent-item img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    filter: drop-shadow(0 0 20px var(--orange));
    background: var(--backdrop-bg);
    box-shadow: var(--shadow-base), inset 0 0 10px rgba(255, 255, 255, 0.5);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-filter);
    border: 1px solid rgba(255, 255, 255, 0.6);
    outline: 1px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
}
.hunter-marker {
    filter: drop-shadow(0 0 20px var(--blue));
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background: var(--backdrop-bg);
    box-shadow: var(--shadow-base), inset 0 0 10px rgba(255, 255, 255, 0.5);
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-filter);
    border: 1px solid rgba(255, 255, 255, 0.6);
    outline: 1px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
}
/* ==================== GAME CARD ==================== */
.game-card {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    padding: 10px;
    height: 80px;
    margin-bottom: 30px;
    border-radius: 15px;
    color: white;
    box-shadow: 0 5px 15px rgba(0,0,0,0.35);
}
.game-card h5 { margin: 0 !important; }
.card-image { width: 100px; }
.game-card .card-icon-personal,
.game-card .card-icon-team,
.game-card .card-icon-travel {
    position: absolute;
    color: white;
    opacity: 0.3;
    font-size: 30px;
}
/* Icon positions (giữ nguyên) */
.card-icon-personal.icon-personal-1 { top:15%; left:25%; transform:rotate(20deg); }
.card-icon-personal.icon-personal-2 { top:55%; left:65%; transform:rotate(-15deg); }
.card-icon-personal.icon-personal-3 { top:75%; left:35%; transform:rotate(10deg); }
.card-icon-personal.icon-personal-4 { top:35%; left:85%; transform:rotate(10deg); }
.card-icon-team.icon-team-1 { top:25%; left:70%; transform:rotate(-20deg); }
.card-icon-team.icon-team-2 { top:65%; left:20%; transform:rotate(25deg); }
.card-icon-team.icon-team-3 { top:35%; left:50%; transform:rotate(-10deg); }
.card-icon-team.icon-team-4 { top:45%; left:40%; transform:rotate(-40deg); }
.card-icon-travel.icon-travel-1 { top:20%; left:30%; transform:rotate(15deg); }
.card-icon-travel.icon-travel-2 { top:60%; left:75%; transform:rotate(-25deg); }
.card-icon-travel.icon-travel-3 { top:40%; left:45%; transform:rotate(5deg); }
/* ==================== ANIMATIONS ==================== */
/* Wolf animations */
@keyframes sleeping { 100% { background-position: -236px; } }
@keyframes wakeup   { 100% { background-position: -253px; } }
@keyframes walk     { 100% { background-position: -320px; } }
@keyframes run      { 100% { background-position: -320px; } }
@keyframes bark     { 100% { background-position: -256px; } }
/* Marquee */
@keyframes marquee {
    0%   { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}
/* ==================== BOTTOM BAR ELEMENTS ==================== */
.gif-treasure {
    position:absolute;width:32px;height:32px;background:url('/images/vitechgo_pet_treasure.gif') center center / contain no-repeat;opacity:1;
}
#wolf-container,
#shark-container {
    pointer-events: none;
    position: absolute;
    width: 100%;
    bottom: 0;
    z-index: 2;
    padding: 0;
    margin: 0;
}
#wolf-container { max-height: 100px; overflow: hidden; display: flex; align-items: flex-end; }
#sharkCanvas {
    position: absolute;
    bottom: -30px;
    left: 0;
    width: 100%;
    height: 150px;
    pointer-events: none;
}
#dragon-skull-container {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 300px;
    overflow: hidden;
    pointer-events: none;
    z-index: 2;
}
#dragon-skullCanvas { position: absolute; inset: 0; width: 100%; height: 100%; }
/* ==================== RADAR ==================== */
#room-radar-container {
    width: 100%;
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
#radar-image {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 210px;
    aspect-ratio: 1 / 1;
    pointer-events: none;
    z-index: 1;
}
.radar-bg {
    position: absolute;
    inset: 0;
    background-size: contain;
    background-position: center;
}
.radar-bg.default-background {
    filter: grayscale(100%);
}
#radar_item, #radar_no_item {
    width: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, #043b0b30, #021e04);
    border: 2px solid rgba(0, 255, 0, 0.5);
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.8);
}
/* ==================== LOADING ==================== */
#loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    color: white;
    font-size: 16px;
    transition: opacity 0.3s;
}
#image-container { width: 300px; height: 25px; position: relative; overflow: hidden; }
#image-container img { width: 50px; position: absolute; left: 0; transition: left 0.3s; }
#loading-progress { width: 300px; height: 10px; border-radius: 10px; overflow: hidden; background: var(--backdrop-bg); box-shadow: var(--shadow-base), inset 0 0 10px rgba(255, 255, 255, 0.5); backdrop-filter: var(--backdrop-blur); -webkit-backdrop-filter: var(--backdrop-filter); }
#progress-bar { width: 0%; height: 100%; background: var(--orange); transition: width 0.3s; }
#loading-text { max-width: 250px; text-align: center; white-space: normal; word-wrap: break-word; font-size:14px}
/* ==================== MISC ==================== */
.gap-1 { gap: 10px; }
.back-button {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-lg) !important;
    cursor: pointer !important;
    text-shadow: var(--text-shadow) !important;
    border: var(--button-border) !important;
    background: var(--button-bg) !important;
    color: var(--white) !important;
    --swal2-action-button-focus-box-shadow: none !important;
    box-shadow: var(--glow-orange) !important;
    transition: var(--transition-base) !important;
    overflow: hidden !important;
    padding: 10px;
}
.back-button i { color: #fff; font-size: 18px; }
.circle-with-label {
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 60px;
    cursor: pointer;
    position: relative;
}
.circle-with-label > .label {
    font-size: 10px;
    color: #000;
    text-align: center;
    line-height: normal;
    margin-top: -15px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    background: linear-gradient(to right, rgba(130, 129, 129, 0) 0%, #fff 30%, #fff 70%, rgba(130, 129, 129, 0) 100%), 
                linear-gradient(to bottom, rgba(130, 129, 129, 0) 0%, #82818140 10px, #82818140 calc(100% - 10px), rgba(130, 129, 129, 0) 100%);
    background-blend-mode: multiply;
    border-radius: 3px;
    z-index: inherit;
}
.circle-with-label i {
    font-size: 16px;
}
#notificationContainer {
    color: #fff;
    text-align: center;
    line-height: normal;
    margin-top: 0px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
    background: linear-gradient(to right, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 30%, rgba(0, 0, 0, 0.8) 70%, rgba(0, 0, 0, 0) 100%), linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 10px, rgba(0, 0, 0, 0.5) calc(100% - 10px), rgba(0, 0, 0, 0) 100%);
    background-blend-mode: multiply;
    border-radius: 3px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
}
.marquee-container { overflow: hidden; position: relative; text-align: center; }
.marquee-text {
    display: inline-block;
    white-space: nowrap;
    animation: marquee 8s linear infinite;
    font-size: 12px;
    color: #fff;
    padding-left: 100%;
}
.marquee-text:hover { animation-play-state: paused; }
.static-text { font-size: 12px; color: #fff; text-align: center; font-weight: bold; }
.leaflet-div-icon { background: none; border: none; }
.leaflet-touch .leaflet-bar { border: none !important;margin: 15px 5px;}
/* ==================== RiGHT CONTROL ==================== */
.flappy-container,
.ongbut-container {
    display: flex;
    align-items: center;
    gap: 5px;
    background: var(--overlay-bg);
    color: #fff;
    font-family: monospace;
    font-weight: 600;
    font-size: larger;
    border-radius: 20px;
    filter: drop-shadow(0 0 20px var(--orange));
    backdrop-filter: var(--backdrop-blur);
    -webkit-backdrop-filter: var(--backdrop-filter);
    outline: 1px solid rgba(255, 255, 255, 0.8);
    cursor: pointer;
    z-index: 3;
}
.flappy-map {
    
}
.flappy-map img {
    width: 30px;
    border-radius: 50%;
}
.flappy-text {
    padding: 0 10px;
}
.edge-arrow img {
    width:36px;
    height:36px;border-radius:50%;box-shadow:0 0 8px rgba(255,255,0,0.6);
}
.npc-container {
    display: flex;
    gap: 5px;
}

.ongbut-container.disabled {
    opacity: 0.5;
    filter: grayscale(100%);
    pointer-events: auto;
    cursor: not-allowed;
}

.ongbut-container.disabled .flappy-text span {
    color: #888;
}
/* ==================== RESPONSIVE ==================== */
@media (min-width: 768px) {
    .header-map {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 768px) {
    #notificationContainer {
        position: absolute;
        top: 40px;
        height: 40px;
    }
    .border-wrapper {max-height: 120px;}
}
@media (min-width: 1024px) {
    #sidebar, #sidebar-content, .card-body { height: calc(100vh - 50px); overflow: hidden; }
    .tab-container { height: 100%; position: relative; }
}