/* MU Exodus - Drop Finder (cargado solo en /drops) */
.exodus-dropfinder,
        .exodus-dropfinder * {
            box-sizing: border-box;
        }
        
        .dropfinder-container {
            max-width: 1200px;
            margin: 0 auto;
        }
        
        .exodus-search {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 12px;
            padding: 30px;
            margin-bottom: 30px;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .dropfinder-input {
            position: relative;
            margin-bottom: 20px;
        }
        
        .dropfinder-input > span {
            position: absolute;
            left: 15px;
            top: 50%;
            transform: translateY(-50%);
            color: #888;
            font-size: 18px;
        }
        
        .dropfinder-input input {
            width: 100%;
            padding: 15px 15px 15px 50px;
            font-size: 16px;
            border: 2px solid rgba(255, 255, 255, 0.2);
            border-radius: 8px;
            background: rgba(0, 0, 0, 0.3);
            color: #fff;
            outline: none;
            transition: border-color 0.3s;
        }
        
        .dropfinder-input input:focus {
            border-color: #667eea;
        }
        
        .dropfinder-input input::placeholder {
            color: #666;
        }
        
        .exodus-search button {
            width: 100%;
            padding: 15px;
            font-size: 16px;
            font-weight: bold;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: #fff;
            border: none;
            border-radius: 8px;
            cursor: pointer;
            transition: transform 0.2s, box-shadow 0.2s;
        }
        
        .exodus-search button:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
        }
        
        .exodus-results {
            display: grid;
            gap: 20px;
        }
        
        .exodus-card {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 12px;
            padding: 25px;
            border: 1px solid rgba(255, 255, 255, 0.1);
        }
        
        .exodus-title {
            font-size: 24px;
            font-weight: bold;
            margin-bottom: 15px;
            color: #667eea;
            padding-bottom: 10px;
            border-bottom: 2px solid rgba(102, 126, 234, 0.3);
            display: flex;
            align-items: center;
            flex-wrap: wrap;
        }
        
        .exodus-subtitle {
            font-size: 18px;
            font-weight: bold;
            margin: 20px 0 10px 0;
            color: #888;
        }
        
        .exodus-entry {
            padding: 10px 15px;
            margin: 5px 0;
            background: rgba(0, 0, 0, 0.2);
            border-radius: 6px;
            border-left: 3px solid #667eea;
            cursor: pointer;
            transition: background 0.2s;
        }
        
        .exodus-entry:hover {
            background: rgba(102, 126, 234, 0.1);
        }
        
        .exodus-dropfinder .badge {
            display: inline-block;
            padding: 4px 10px;
            border-radius: 4px;
            font-size: 11px;
            font-weight: bold;
            margin-left: 8px;
        }
        
        .badge-confirmed {
            background: rgba(76, 175, 80, 0.2);
            color: #4caf50;
            border: 1px solid rgba(76, 175, 80, 0.4);
        }
        
        .badge-custom {
            background: rgba(33, 150, 243, 0.2);
            color: #2196f3;
            border: 1px solid rgba(33, 150, 243, 0.4);
        }
        
        .badge-quest {
            background: rgba(255, 152, 0, 0.2);
            color: #ff9800;
            border: 1px solid rgba(255, 152, 0, 0.4);
        }
        
        .badge-estimated {
            background: rgba(158, 158, 158, 0.2);
            color: #9e9e9e;
            border: 1px solid rgba(158, 158, 158, 0.4);
        }
        
        .badge-bag {
            background: rgba(156, 39, 176, 0.2);
            color: #9c27b0;
            border: 1px solid rgba(156, 39, 176, 0.4);
        }
        
        .badge-excellent {
            background: rgba(255, 215, 0, 0.2);
            color: #ffd700;
            border: 1px solid rgba(255, 215, 0, 0.4);
        }
        
        .suggestions {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: rgba(26, 26, 46, 0.98);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 0 0 8px 8px;
            max-height: 300px;
            overflow-y: auto;
            z-index: 1000;
            display: none;
        }
        
        .suggestions.show {
            display: block;
        }
        
        .suggestion-item {
            padding: 12px 15px;
            cursor: pointer;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05);
            transition: background 0.2s;
        }
        
        .suggestion-item:hover {
            background: rgba(102, 126, 234, 0.2);
        }
        
        .suggestion-type {
            font-size: 11px;
            color: #888;
            margin-left: 8px;
        }
        
        .no-results {
            text-align: center;
            padding: 40px;
            color: #888;
        }
        
        .item-info {
            font-size: 14px;
            color: #888;
            margin-bottom: 15px;
        }
        
        .item-level {
            color: #87ceeb;
            font-size: 12px;
            margin-left: 10px;
        }
        
        .back-link {
            display: inline-block;
            margin-bottom: 20px;
            color: #667eea;
            text-decoration: none;
            font-weight: bold;
        }
        
        .back-link:hover {
            text-decoration: underline;
        }
        
        .result-list-item {
            padding: 15px;
            margin: 5px 0;
            background: rgba(0, 0, 0, 0.2);
            border-radius: 6px;
            border-left: 3px solid #667eea;
            cursor: pointer;
            transition: background 0.2s;
        }
        
        .result-list-item:hover {
            background: rgba(102, 126, 234, 0.1);
        }
        
        .result-type-icon {
            margin-right: 10px;
        }
        /* Dark Drop Finder shell matching the supplied reference. */
        .exodus-dropfinder { --df-bg: #07131c; --df-panel: #0b1b25; --df-row: #0d1d27; --df-heading: #152832; --df-line: #29414d; --df-text: #b7c3cb; --df-muted: #97aab5; --df-gold: #d8a832; --df-gold-deep: #b9851d; width:100%; min-width:0; color:var(--df-text); font-family:'Roboto',sans-serif; font-size:14px; font-weight:600; }
        .dropfinder-container { width:100%; max-width:none; }
        .dropfinder-body { padding:24px !important; }
        .module-hero-eyebrow { display:block; margin-bottom:7px; color:var(--df-gold); font-size:10px; font-weight:800; letter-spacing:1.4px; text-transform:uppercase; }
        .exodus-search { display:flex; gap:12px; margin:0; padding:22px; background:#081722; border:1px solid var(--df-line); border-radius:11px; box-shadow:none; }
        .dropfinder-input { flex: 1 1 auto; margin: 0; }
        .dropfinder-input > span { top: 0; left: 0; width: 55px; height: 54px; display: grid; place-items: center; transform: none; color: var(--df-gold); font-size: 15px; border-right: 1px solid var(--df-line); }
        .dropfinder-input { overflow:visible; background:#09141d; border:1px solid var(--df-line); border-radius:10px; transition:border-color .18s ease,box-shadow .18s ease; }
        .dropfinder-input:focus-within { border-color:var(--df-gold); box-shadow:0 0 0 2px rgba(216,168,50,.16); }
        .dropfinder-input input { height:52px; padding:0 16px 0 69px; color:#e4eaed; background:transparent; border:0; border-radius:10px; outline:0; font-size:14px; font-weight:600; box-shadow:none !important; }
        .dropfinder-input input:focus { border:0; outline:0; box-shadow:none !important; }
        .dropfinder-input input::placeholder { color: #7f929d; }
        .exodus-search button { width: 135px; height: 54px; padding: 0 16px; align-self: stretch; color: #09131a; background: linear-gradient(#e3b641, #c99020); border: 1px solid #e4b33c; border-radius: 10px; box-shadow: none; font-size: 14px; font-weight: 700; transition: filter .18s ease, transform .18s ease; }
        .exodus-search button:hover { color: #09131a; background: linear-gradient(#edc252, #d39d2a); box-shadow: none; transform: translateY(-1px); }
        .exodus-results { display:block; margin:24px 0 0; padding:0; }
        .dropfinder-body > .exodus-card { margin-top:24px; }
        .exodus-card, .no-results { padding: 23px 19px; color: var(--df-text); background: #081722; border: 1px solid var(--df-line); border-radius: 10px; box-shadow: none; }
        .exodus-title { min-height: 44px; margin: 0 0 9px; padding: 11px 14px; color: #f0f2f1; background: var(--df-heading); border: 0; border-left: 3px solid var(--df-gold); border-radius: 8px; font-family: 'Roboto', sans-serif; font-size: 15px; font-weight: 700; gap: 8px; }
        .exodus-subtitle { margin: 20px 0 8px; padding: 0 0 7px; color: var(--df-muted); border-bottom: 1px solid var(--df-line); font-size: 12px; font-weight: 700; letter-spacing: .2px; }
        .exodus-entry, .result-list-item { min-width: 0; min-height: 40px; margin: 5px 7px; padding: 10px 12px; color: var(--df-text); background: var(--df-row); border: 1px solid #233b47; border-left: 1px solid #233b47; border-radius: 7px; font-size: 13px; line-height: 1.35; transition: border-color .18s ease, background .18s ease, color .18s ease; }
        .result-list-item { display: flex; align-items: center; gap: 10px; cursor: pointer; }
        .result-copy, .suggestion-copy { display:flex; min-width:0; flex-direction:column; line-height:1.25; }
        .result-copy strong, .suggestion-copy .suggestion-name { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
        .result-copy small, .suggestion-copy small { margin-top:3px; color:var(--df-muted); font-size:11px; font-weight:600; }
        .dropbag-item-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin:0 7px; }
        .search-result-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:9px; margin:12px 7px 0; }
        .drop-source-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:12px; margin:0 7px; }
        .drop-source-grid .exodus-entry { display:flex; min-height:132px; margin:0; padding:14px; align-items:stretch; justify-content:center; flex-direction:column; }
        .drop-source-name { min-width:0; overflow:hidden; color:var(--df-text); text-align:center; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; }
        .search-result-grid .result-list-item { min-height:82px; margin:0; padding:10px 12px; }
        .search-result-grid .monster-image-wrap, .search-result-grid .monster-thumb, .search-result-grid .monster-image-fallback { width:54px; height:54px; flex-basis:54px; }
        .search-result-grid .result-list-item > img { width:54px !important; height:54px !important; max-width:54px !important; }
        .dropbag-item-grid .exodus-entry { display:flex; min-height:94px; margin:0; padding:10px 12px; align-items:stretch; justify-content:center; flex-direction:column; }
        .drop-card-layout { display:flex; width:100%; min-width:0; align-items:stretch; }
        .drop-card-visual { display:flex; width:72px; min-height:84px; margin-right:14px; flex:0 0 72px; align-items:center; justify-content:center; }
        .drop-card-visual .monster-image-wrap, .drop-card-visual .monster-thumb, .drop-card-visual .monster-image-fallback { width:72px; height:84px; flex-basis:72px; }
        .drop-card-visual img { width:72px !important; height:84px !important; max-width:72px !important; margin:0 !important; object-fit:contain !important; }
        .drop-card-layout-monster .drop-card-visual img, .drop-card-layout-monster .monster-image-fallback { object-fit:cover !important; }
        .drop-card-layout-item .drop-card-visual { width:46px; min-height:54px; margin-right:9px; flex-basis:46px; }
        .drop-card-layout-item .drop-card-visual img { width:46px !important; height:54px !important; max-width:46px !important; }
        .drop-card-content { display:flex; min-width:0; flex:1 1 auto; align-items:flex-start; justify-content:center; flex-direction:column; text-align:left; }
        .drop-card-layout .drop-source-name, .drop-card-layout .dropbag-item-name { display:block; width:100%; max-width:none; overflow:hidden; color:var(--df-text); text-align:left; text-overflow:ellipsis; white-space:nowrap; }
        .drop-card-layout-monster .drop-source-name { color:#edf2f4; font-weight:800; }
        .drop-monster-level, .drop-monster-location { display:block; width:100%; margin-top:4px; overflow:hidden; color:var(--df-muted); font-size:11px; line-height:1.25; text-overflow:ellipsis; white-space:nowrap; }
        .drop-monster-location i { margin-right:3px; color:var(--df-gold); }
        .drop-card-heading { display:flex; width:100%; min-width:0; align-items:center; justify-content:center; gap:5px; }
        .drop-card-heading > img { margin:0 !important; }
        .dropbag-item-grid .drop-card-heading img { width:48px !important; height:48px !important; margin:0 !important; }
        .dropbag-item-name { min-width:0; max-width:calc(100% - 57px); overflow:hidden; color:var(--df-text); text-align:center; text-overflow:ellipsis; white-space:nowrap; }
        .drop-card-layout .drop-card-meta { display:flex; width:100%; min-height:20px; margin-top:7px; align-items:center; justify-content:flex-start; flex-wrap:wrap; gap:5px; text-align:left; }
        .drop-card-layout .drop-card-meta .badge { display:inline-flex; margin:0; }
        .drop-card-meta:not(:has(.badge, .item-level)) { display:none; min-height:0; margin-top:0; }
        .dropbag-item-grid .exodus-entry:has(.drop-card-meta:not(:has(.badge, .item-level))) .drop-card-heading { min-height:54px; }
        .dropbag-item-grid .drop-card-meta .badge, .dropbag-item-grid .drop-card-meta .item-level { margin:0; }
        .exodus-dropfinder .badge.badge-excellent { color:#72f59a; background:rgba(36,170,84,.13); border-color:rgba(78,224,126,.55); }
        .exodus-dropfinder .badge.badge-socket { color:#b9a7ff; background:rgba(103,75,190,.16); border-color:rgba(145,119,235,.58); }
        .is-clickable { cursor: pointer; }
        a.exodus-entry.is-clickable, a.result-list-item { color: var(--df-text); text-decoration: none; }
        a.exodus-entry.is-clickable { display:block; width:auto; }
        .dropbag-item-grid a.exodus-entry.is-clickable,
        .drop-source-grid a.exodus-entry.is-clickable { display:flex; }
        .bag-monster-collage { display:grid; width:40px; height:40px; flex:0 0 40px; grid-template-columns:repeat(2,1fr); overflow:hidden; background:var(--df-row); border:1px solid var(--df-line); border-radius:7px; }
        .bag-monster-collage.count-2 { grid-template-rows:1fr; }
        .bag-monster-collage:not(.count-2) { grid-template-rows:repeat(3,1fr); }
        .bag-monster-collage img { width:100% !important; height:100% !important; min-width:0; min-height:0; margin:0 !important; object-fit:cover; border:0; border-radius:0; }
        .bag-monster-collage.is-large { width:64px; height:64px; flex-basis:64px; }
        .drop-global-notice { margin: 8px 7px; padding: 12px 14px; color: var(--df-muted); background: rgba(216,168,50,.08); border: 1px solid rgba(216,168,50,.32); border-radius: 7px; font-size: 13px; }
        .drop-global-notice strong { color: var(--df-gold); }
        .monster-profile { display: flex; align-items: center; gap: 14px; margin-bottom: 15px; padding: 12px; background: var(--df-heading); border: 1px solid var(--df-line); border-radius: 8px; }
        .monster-profile img, .monster-avatar { width: 64px; height: 64px; flex: 0 0 64px; border: 1px solid var(--df-line); border-radius: 7px; object-fit: cover; }
        .monster-avatar { display: none; place-items: center; color: var(--df-gold); background: var(--df-row); font-size: 22px; }
        .monster-profile strong { display: block; color: #f0f2f1; font-size: 16px; }
        .monster-profile span { color: var(--df-muted); font-size: 12px; }
        .monster-map-badges { display:flex; margin:0 7px; align-items:center; justify-content:flex-start; flex-wrap:wrap; gap:7px; }
        .monster-map-badge { display:inline-flex; min-height:28px; padding:5px 10px; align-items:center; justify-content:center; color:var(--df-muted); background:var(--df-row); border:1px solid #2b4653; border-radius:6px; font-size:11px; font-weight:700; line-height:1.2; text-align:center; }
        .monster-image-wrap { position: relative; display: inline-grid; width: 40px; height: 40px; flex: 0 0 40px; }
        .monster-thumb, .monster-image-fallback { width: 40px; height: 40px; border: 1px solid var(--df-line); border-radius: 7px; object-fit: cover; }
        .monster-thumb.large, .exodus-title .monster-image-wrap:has(.monster-thumb.large) { width:64px; height:64px; }
        .monster-image-fallback { display: none; place-items: center; color: var(--df-gold); background: var(--df-row); font-size: 15px; }
        .exodus-entry:hover, .result-list-item:hover { color: #edf2f4; background: #112630; border-color: var(--df-gold); }
        .exodus-dropfinder .badge { margin-left: 6px; padding: 2px 6px; color: var(--df-gold); background: rgba(216,168,50,.08); border: 1px solid rgba(216,168,50,.42); border-radius: 4px; font-size: 10px; font-weight: 700; }
        .badge-confirmed, .badge-custom, .badge-quest, .badge-estimated, .badge-bag, .badge-excellent { color: var(--df-gold); border-color: rgba(216,168,50,.42); background: rgba(216,168,50,.08); }
        .badge-confirmed, .badge-custom, .badge-quest, .badge-estimated { display: none; }
        .suggestions { color: var(--df-text); background: #0b1b25; border: 1px solid var(--df-line); border-radius: 0 0 8px 8px; box-shadow: 0 12px 22px rgba(0,0,0,.35); }
        .suggestion-item { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; border-bottom: 1px solid #233b47; transition: background .18s ease, color .18s ease; }
        .suggestion-item:hover { color: #f0f2f1; background: #112630; }
        .suggestion-type { flex: 0 0 auto; padding: 3px 6px; color: var(--df-gold); background: rgba(216,168,50,.08); border: 1px solid rgba(216,168,50,.35); border-radius: 4px; font-size: 10px; font-weight: 700; letter-spacing: .35px; line-height: 1; }
        .suggestion-item:hover .suggestion-type { color: #f4cf69; border-color: rgba(244,207,105,.65); }
        .item-info { color: var(--df-muted); }
        .item-info { margin: 0 0 0 5px; font-size: 12px; }
        .item-level, .back-link { color: var(--df-gold); }
        .back-link { margin:24px 0 0; font-size:13px; }
        .back-link + .exodus-card { margin:12px 0 0; }
        .no-results { text-align: center; color: var(--df-muted); }
        .result-type-icon { width: 40px; height: 40px; margin: 0; display: inline-flex; align-items: center; justify-content: center; color: var(--df-gold); flex: 0 0 40px; }
        .result-list-item img, .exodus-entry img, .exodus-title img { flex: 0 0 auto; max-width: 64px; }
        @media (max-width: 767px) { .dropfinder-body { padding:18px !important; } .exodus-search { display:block; padding:16px; } .dropfinder-input { margin-bottom:10px; } .exodus-search button { width:100%; } .exodus-card, .no-results { padding:15px 12px; } .exodus-entry, .result-list-item { margin-right:0; margin-left:0; } .exodus-dropfinder .badge { margin-left:3px; } }

        @media (max-width:1100px) { .dropbag-item-grid, .search-result-grid, .drop-source-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
        @media (max-width:820px) { .dropbag-item-grid, .search-result-grid, .drop-source-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
        @media (max-width:520px) { .dropbag-item-grid, .search-result-grid, .drop-source-grid { grid-template-columns:1fr; margin-right:0; margin-left:0; } }

        /* Integración final con el shell compartido de los módulos. */
        #content .exodus-dropfinder .dropfinder-container.module-page-card { overflow:hidden !important; }
        #content .exodus-dropfinder .module-hero { text-align:left !important; }
        #content .exodus-dropfinder .module-hero-copy { display:block; text-align:left !important; }
        #content .exodus-dropfinder .module-hero-copy > * { text-align:left !important; }
        #content .exodus-dropfinder .dropfinder-body { position:relative; padding:22px 24px 24px !important; }
        #content .exodus-dropfinder .exodus-search { position:relative; display:grid; grid-template-columns:minmax(0,1fr) 150px; gap:14px; padding:0; overflow:visible; background:transparent; border:0; border-radius:0; }
        #content .exodus-dropfinder .dropfinder-input { position:relative; margin:0; }
        #content .exodus-dropfinder .suggestions { top:calc(100% + 7px); display:none; max-height:none; overflow:visible; padding:7px; background:#0b1b25; border:1px solid #38515e; border-radius:9px; box-shadow:0 16px 30px rgba(0,0,0,.42); }
        #content .exodus-dropfinder .suggestions.show { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:5px; }
        #content .exodus-dropfinder .suggestion-item { min-width:0; min-height:48px; padding:6px 9px; background:#0e202a; border:1px solid transparent; border-radius:7px; }
        #content .exodus-dropfinder .suggestion-item:hover { background:#142b36; border-color:rgba(216,168,50,.55); }
        #content .exodus-dropfinder .suggestion-main { display:flex; min-width:0; align-items:center; gap:9px; }
        #content .exodus-dropfinder .suggestion-thumb { width:34px; height:34px; flex:0 0 34px; padding:2px; object-fit:contain; background:#09161e; border:1px solid #2b414c; border-radius:6px; }
        #content .exodus-dropfinder .suggestion-thumb-placeholder { display:grid; width:34px; height:34px; flex:0 0 34px; place-items:center; color:#d8a832; background:#09161e; border:1px solid #2b414c; border-radius:6px; font-size:13px; }
        #content .exodus-dropfinder .suggestion-name { min-width:0; overflow:hidden; color:#e5ebee; text-overflow:ellipsis; white-space:nowrap; }
        @media (max-width:767px) {
            #content .exodus-dropfinder .exodus-search { grid-template-columns:1fr; }
            #content .exodus-dropfinder .suggestions.show { grid-template-columns:1fr; }
        }

/* Reglas finales del módulo: cargadas después de guides-theme.css. */
#content .exodus-dropfinder {
	max-width:none !important;
	margin:0 0 30px !important;
	overflow:visible !important;
	background:transparent !important;
	border:0 !important;
	border-radius:0 !important;
	box-shadow:none !important;
}

#content .exodus-dropfinder .dropfinder-container.module-page-card {
	position:relative;
	overflow:hidden !important;
}

#content .exodus-dropfinder .module-hero,
#content .exodus-dropfinder .module-hero-copy,
#content .exodus-dropfinder .module-hero-copy h1,
#content .exodus-dropfinder .module-hero-copy p {
	text-align:left !important;
}

#content .exodus-dropfinder .exodus-search {
	display:grid !important;
	grid-template-columns:minmax(0,1fr) 150px !important;
	align-items:start;
	overflow:visible !important;
}

#content .exodus-dropfinder .suggestions,
#content .exodus-dropfinder .suggestions.show {
	position:static !important;
	grid-column:1 / -1;
	width:100%;
	height:auto !important;
	max-height:none !important;
	margin:0;
	overflow:visible !important;
}

#content .exodus-dropfinder .suggestions.show {
	display:grid !important;
	grid-template-columns:repeat(2,minmax(0,1fr)) !important;
	gap:5px;
}

@media (max-width:767px) {
	#content .exodus-dropfinder .exodus-search {
		grid-template-columns:1fr !important;
	}
	#content .exodus-dropfinder .suggestions.show {
		grid-template-columns:1fr !important;
	}
}
