/* =============================================================================
   8bitedge mobile — v2 /search feature styles
   Landing (logo, subtitle, stats, disclaimer) + compact results list.
   Mirrors the 8bitedge.com desktop search aesthetic, tuned for phone widths.
   ========================================================================== */

/* Hide the Google reCAPTCHA badge on /search (this stylesheet only loads here). */
.grecaptcha-badge { visibility: hidden !important; }

.search-wrap {
    max-width: 640px;
    margin: 0 auto;
    padding: 26px 18px 8px;
}

/* Landing state: center the logo/search/stats block vertically in the visible
   area between the fixed header (55px clearance) and footer bar (61px). The
   page-content already adds the 55px top padding, so we only subtract it once
   plus the footer bar to size the centring box; the site footer that loads
   after this block simply falls below the fold. */
.search-wrap-landing {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(100dvh - 55px - 61px);
}

/* ---- Landing ------------------------------------------------------------- */
.search-landing { text-align: center; }
.search-landing .pixel-logo { margin: 0 auto 8px; }
.search-landing .pixel-logo svg { width: 100%; max-width: 280px; height: auto; }
.search-landing-subtitle {
    font-family: 'Electrolize', sans-serif;
    color: #00d9ff;
    font-size: 0.95rem;
    margin-bottom: 18px;
    text-shadow: 0 0 8px rgba(0, 217, 255, 0.3);
}

/* ---- Search box ----------------------------------------------------------
   Mirrors the / landing exactly: framework .input-style field + a full-width
   .btn btn-m button, both inheriting their size from the framework + theme.css. */
.search-form { max-width: 520px; margin: 0 auto; }
.search-go { display: block; width: 100%; }
/* Landing: match the search field + button to the 8bitedge logo, which is
   capped at 280px and centred (see .search-landing .pixel-logo svg). The wrap is
   a column flexbox, so center with align-self — auto margins on a flex item make
   it shrink to its content width instead of filling the 280px box. */
.search-wrap-landing .search-form {
    align-self: center;
    width: 100%;
    max-width: 280px;
}
.search-hint {
    margin-top: 6px;
    font-family: 'Electrolize', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    color: #ffc700;
    text-shadow: 0 0 6px rgba(255, 199, 0, 0.4);
    text-align: left;
}

/* ---- Landing stats + disclaimer ------------------------------------------ */
.search-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 22px 0 6px;
    font-family: 'Electrolize', sans-serif;
}
.search-stat { display: flex; flex-direction: column; align-items: center; }
.search-stat-val {
    font-size: 1.05rem;
    font-weight: 700;
    color: #00d9ff;
    text-shadow: 0 0 8px rgba(0, 217, 255, 0.3);
}
.search-stat-label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #b8b8c8;
}
.search-stat-sep { color: rgba(0, 217, 255, 0.4); }
.search-disclaimer {
    max-width: 640px;
    margin: 18px auto 0;
    font-family: 'Electrolize', sans-serif;
    font-size: 0.72rem;
    line-height: 1.5;
    color: #8a8a99;
    text-align: left;
}

/* ---- Results header (count + console filter pills) ----------------------- */
.search-results { padding: 4px 14px 10px; max-width: 760px; margin: 0 auto; }
.search-browse-heading {
    font-family: 'Electrolize', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #e8f6ff;
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.25);
    margin: 4px 2px 10px;
}
.search-back-console {
    flex-shrink: 0;
    font-family: 'Electrolize', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #00d9ff;
    text-decoration: none;
    white-space: nowrap;
}
.search-back-console:hover { color: #00ff41; }
.search-back-block {
    display: inline-block;
    margin: 4px 2px 6px;
}
.search-meta {
    display: flex;
    flex-wrap: nowrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0px;
    padding: 0px;
    font-family: 'Electrolize', sans-serif;
}
.search-meta-count {
    flex: 1 1 auto;
    font-size: 0.85rem;
    color: #b8b8c8;
}
.search-meta-count strong { color: #00d9ff; }
.search-meta .pagination { margin: 0px; flex: 0 0 auto; padding: 0; align-items: flex-end; }
.search-meta .page-number { min-width: 0; }

/* ---- Filters & Sort panel (mirrors 8bitedge.com/search) ------------------ */
#filters-wrap { margin-bottom: 6px; }
.filters-sort { position: relative; width: 100%; }
.filters-sort-trigger {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    background: #1a1a2e;
    border: 1px solid rgba(0, 217, 255, 0.4);
    color: #00d9ff;
    border-radius: 6px;
    font-family: 'Electrolize', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
}
.filters-sort-trigger:hover,
.filters-sort.open .filters-sort-trigger {
    border-color: #00d9ff;
    box-shadow: 0 0 12px rgba(0, 217, 255, 0.3);
}
.filters-sort-hamburger { font-size: 1rem; line-height: 1; }
.filters-sort-triggerlabel { flex: 1 1 auto; text-align: left; }
.filters-sort.open .console-dropdown-caret { transform: rotate(180deg); }
.filters-sort-badge {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
    background: #00d9ff; color: #04122a; font-size: 0.72rem; font-weight: 700; letter-spacing: 0;
}
.filters-sort-badge[hidden] { display: none; }

.filters-sort-panel {
    position: absolute;
    top: calc(100% + 6px);
    left: 0; right: 0;
    z-index: 60;
    background: #12152b;
    border: 1px solid rgba(0, 217, 255, 0.4);
    border-radius: 6px;
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.6), 0 0 16px rgba(0, 217, 255, 0.18);
    display: flex; flex-direction: column;
}
.filters-sort-panel[hidden] { display: none; }
.filters-sort-head {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 12px 14px; border-bottom: 1px solid #1f2547;
}
.filters-sort-title {
    display: inline-flex; align-items: center; gap: 8px;
    color: #00ff41; font-family: 'Electrolize', sans-serif; font-size: 0.82rem;
    font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px;
    text-shadow: 0 0 6px rgba(0, 255, 65, 0.35);
}
.filters-sort-clearall {
    background: transparent; border: none; color: #00d9ff;
    font-family: 'Electrolize', sans-serif; font-size: 0.8rem; cursor: pointer; padding: 0;
}
.filters-sort-clearall:hover { text-decoration: underline; }
.filters-sort-body { display: flex; flex-direction: column; gap: 16px; padding: 14px; }
.filters-sort-section { display: flex; flex-direction: column; gap: 8px; }
.filters-sort-label {
    color: #8aa0c8; font-family: 'Electrolize', sans-serif; font-size: 0.72rem;
    font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px;
}
.filters-segment { display: flex; border: 1px solid #2a2f55; border-radius: 6px; overflow: hidden; }
.filters-segment-btn {
    flex: 1 1 0; min-width: 0; padding: 11px 8px; background: #0f1330; border: none;
    border-left: 1px solid #2a2f55; color: #c7cbe6; font-family: 'Electrolize', sans-serif;
    font-size: 0.82rem; cursor: pointer; transition: background 0.12s ease, color 0.12s ease;
}
.filters-segment-btn:first-child { border-left: none; }
.filters-segment-btn.active { background: #e8ebff; color: #0b0e22; font-weight: 700; }
.filters-sort-section .console-dropdown { display: block; width: 100%; }
.filters-sort-foot {
    display: flex; align-items: center; justify-content: flex-end;
    padding: 12px 14px; border-top: 1px solid #1f2547;
}
.filters-sort-apply {
    padding: 10px 22px; background: #00d9ff; border: none; border-radius: 6px;
    color: #04122a; font-family: 'Electrolize', sans-serif; font-size: 0.85rem; font-weight: 700; cursor: pointer;
}
.filters-sort-apply:hover { filter: brightness(1.1); }

/* ---- Console multi-select dropdown (mirrors 8bitedge.com/search) --------- */
.console-dropdown { position: relative; width: 100%; font-family: 'Electrolize', sans-serif; }
.console-dropdown-trigger {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background: #1a1a2e;
    border: 1px solid rgba(0, 217, 255, 0.35);
    color: #00d9ff;
    padding: 12px 14px;
    font-family: 'Electrolize', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-radius: 6px;
    cursor: pointer;
}
.console-dropdown-trigger:hover,
.console-dropdown.open .console-dropdown-trigger {
    border-color: #00d9ff;
    box-shadow: 0 0 10px rgba(0, 217, 255, 0.35);
}
.console-dropdown-caret { font-size: 0.7rem; transition: transform 0.2s ease; }
.console-dropdown.open .console-dropdown-caret { transform: rotate(180deg); }

.console-dropdown-panel {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    z-index: 50;
    background: #12152b;
    border: 1px solid rgba(0, 217, 255, 0.4);
    border-radius: 6px;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.55), 0 0 14px rgba(0, 217, 255, 0.18);
    display: flex;
    flex-direction: column;
}
.console-dropdown-panel[hidden] { display: none; }

.console-dropdown-search {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    border-bottom: 1px solid rgba(0, 217, 255, 0.18);
}
.console-dropdown-search-icon { color: rgba(0, 217, 255, 0.6); font-size: 0.9rem; }
.console-dropdown-search-input {
    flex: 1 1 auto;
    min-width: 0;
    background: #1a1a2e;
    border: 1px solid rgba(0, 217, 255, 0.25);
    color: #cfeffd;
    padding: 8px 10px;
    border-radius: 4px;
    font-family: 'Electrolize', sans-serif;
    font-size: 0.82rem;
    outline: none;
}
.console-dropdown-search-input:focus { border-color: #00d9ff; }
.console-dropdown-search-input::placeholder { color: rgba(0, 217, 255, 0.4); }

.console-dropdown-groups { max-height: 300px; overflow-y: auto; padding: 4px 0; }
.console-dropdown-group + .console-dropdown-group { border-top: 1px solid rgba(0, 217, 255, 0.1); }
.console-dropdown-grouphead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 14px 5px;
}
.console-dropdown-brand {
    color: #00ff41;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-shadow: 0 0 6px rgba(0, 255, 65, 0.3);
}
.console-dropdown-selectall {
    background: transparent; border: none; padding: 0;
    color: #00d9ff; font-family: 'Electrolize', sans-serif;
    font-size: 0.72rem; font-weight: 600; letter-spacing: 0.5px; cursor: pointer;
}
.console-dropdown-selectall:hover { text-decoration: underline; }
.console-dropdown-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    cursor: pointer;
    color: rgba(0, 217, 255, 0.85);
    font-size: 0.85rem;
}
.console-dropdown-option:hover { background: rgba(0, 217, 255, 0.08); }
.console-dropdown-option.selected { background: rgba(0, 217, 255, 0.16); color: #00d9ff; }
.console-dropdown-option input[type="checkbox"],
.console-dropdown-option input[type="checkbox"]:focus,
.console-dropdown-option input[type="checkbox"]:focus-visible,
.console-dropdown-option input[type="checkbox"]:hover,
.console-dropdown-option input[type="checkbox"]:active {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    width: 18px;
    height: 18px;
    border: 2px solid #00d9ff !important;
    border-radius: 3px;
    background: rgba(15, 15, 30, 0.8);
    box-shadow: 0 0 5px rgba(0, 217, 255, 0.3) !important;
    outline: none !important;
    cursor: pointer;
    position: relative;
    flex: 0 0 auto;
    transition: all 0.2s ease;
}
.console-dropdown-option input[type="checkbox"]:checked,
.console-dropdown-option input[type="checkbox"]:checked:focus,
.console-dropdown-option input[type="checkbox"]:checked:focus-visible,
.console-dropdown-option input[type="checkbox"]:checked:hover,
.console-dropdown-option input[type="checkbox"]:checked:active {
    background: rgba(15, 15, 30, 0.8);
    border: 2px solid #00d9ff !important;
    outline: none !important;
    box-shadow: 0 0 5px rgba(0, 217, 255, 0.3), 0 0 10px rgba(0, 217, 255, 0.5) !important;
}
.console-dropdown-option input[type="checkbox"]:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #00d9ff;
    font-size: 13px;
    font-weight: bold;
    line-height: 1;
}
.console-dropdown-optname { line-height: 1.2; }
.console-dropdown-empty { padding: 14px; color: rgba(0, 217, 255, 0.45); font-size: 0.8rem; }
.console-sort-option { width: 100%; background: transparent; border: none; text-align: left; font-family: 'Electrolize', sans-serif; }
.console-dropdown-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-top: 1px solid rgba(0, 217, 255, 0.2);
}
.console-dropdown-clear {
    background: transparent; border: none; padding: 4px 2px;
    color: rgba(0, 217, 255, 0.75); font-family: 'Electrolize', sans-serif;
    font-size: 0.8rem; font-weight: 600; letter-spacing: 0.5px; cursor: pointer;
}
.console-dropdown-clear:hover { color: #00d9ff; text-decoration: underline; }
.console-dropdown-apply {
    background: #00d9ff; border: 1px solid #00d9ff; color: #0a0e27;
    font-family: 'Electrolize', sans-serif; font-size: 0.8rem; font-weight: 700;
    letter-spacing: 0.5px; padding: 7px 18px; border-radius: 4px; cursor: pointer;
}

/* ---- Compact listing rows ------------------------------------------------ */
.results-list { display: flex; flex-direction: column; gap: 10px; }
.listing {
    display: grid;
    grid-template-columns: 64px 1fr auto;
    gap: 12px;
    padding: 10px;
    background: rgba(10, 10, 20, 0.5);
    border: 1px solid rgba(0, 217, 255, 0.2);
    border-radius: 8px;
    text-decoration: none;
    align-items: center;
}
.listing-thumb {
    width: 64px;
    height: 64px;
    border-radius: 6px;
    overflow: hidden;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
}
.listing-thumb img { max-width: 100%; max-height: 100%; object-fit: cover; }
.listing-thumb-empty { color: #555; font-size: 0.6rem; }
.listing-body { min-width: 0; }
.listing-title {
    font-family: 'Electrolize', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    color: #e8f6ff;
    line-height: 1.25;
    margin-bottom: 3px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.listing-console {
    font-family: 'Electrolize', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #00d9ff;
    margin-bottom: 4px;
}
.listing-time-left {
    font-family: 'Electrolize', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    color: rgba(184, 184, 200, 0.75);
    margin-bottom: 4px;
}
.listing-time-ended {
    color: rgba(255, 80, 80, 0.8);
}
.listing-tags { display: flex; gap: 4px; flex-wrap: wrap; }
.listing-tag {
    font-family: 'Electrolize', sans-serif;
    font-size: 0.6rem;
    padding: 1px 7px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #b8b8c8;
}
.tag-auction { color: #ffcc66; border-color: rgba(255, 204, 102, 0.3); }
.tag-bin     { color: #66ffaa; border-color: rgba(102, 255, 170, 0.3); }
.tag-offer   { color: #cc99ff; border-color: rgba(204, 153, 255, 0.3); }
.tag-loose   { color: #66ddff; border-color: rgba(102, 221, 255, 0.3); }
.tag-cib     { color: #ffaa66; border-color: rgba(255, 170, 102, 0.3); }
.tag-new     { color: #ff77cc; border-color: rgba(255, 119, 204, 0.3); }

.listing-price { text-align: right; white-space: nowrap; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.listing-amount {
    font-family: 'Electrolize', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #00ff41;
}
.listing-delta {
    display: block;
    font-family: 'Electrolize', sans-serif;
    font-size: 0.65rem;
    margin-top: 2px;
}
.delta-over  { color: #ff6b6b; }
.delta-under { color: #8CC152; }

.listing-empty {
    font-family: 'Electrolize', sans-serif;
    text-align: center;
    padding: 40px 20px;
    color: #8a8a99;
    border: 1px solid rgba(0, 217, 255, 0.2);
    border-radius: 8px;
    background: rgba(10, 10, 20, 0.5);
}
.listing-empty i { font-size: 30px; color: #00d9ff; display: block; margin-bottom: 10px; }

/* ---- Pagination ---------------------------------------------------------- */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 16px 0 4px;
}
.page-btn {
    font-family: 'Electrolize', sans-serif;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a1a2e;
    border: 2px solid #00d9ff;
    color: #00d9ff;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
}
.page-btn[disabled], .page-btn.disabled {
    opacity: 0.35;
    cursor: default;
}
.page-number {
    font-family: 'Electrolize', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: #e8f6ff;
    text-transform: uppercase;
    letter-spacing: 1px;
    min-width: 110px;
    text-align: center;
}

/* ---- Loading overlay (mirrors the /pricing search loader) ----------------- */
.search-loader-overlay {
    position: fixed;
    inset: 0;
    z-index: 9995;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(2, 4, 16, 0.78);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.search-loader-box {
    position: relative;
    width: min(420px, 100%);
    padding: 22px 20px 18px;
    background: #0f0f1e;
    border: 2px solid var(--v2-cyan, #00d9ff);
    box-shadow: 0 0 25px rgba(0, 217, 255, 0.4), inset 0 0 30px rgba(0, 217, 255, 0.06);
    text-align: center;
    overflow: hidden;
    font-family: 'Electrolize', sans-serif;
}
.search-loader-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(0deg, rgba(0, 255, 65, 0.05) 0px, transparent 2px, transparent 4px, rgba(0, 255, 65, 0.05) 6px);
    pointer-events: none;
}
.search-loader-text {
    position: relative;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #00ff41;
    text-shadow: 0 0 10px rgba(0, 255, 65, 0.7), 2px 2px 0 #ff00ff;
    margin-bottom: 16px;
}
.search-loader-text::before { content: '> '; color: #ff00ff; }
.search-loader-dots { display: inline-block; width: 1.6em; text-align: left; margin-left: 2px; }
.search-loader-dots span { display: inline-block; opacity: 0; animation: searchDot 1.2s infinite; }
.search-loader-dots span:nth-child(2) { animation-delay: 0.2s; }
.search-loader-dots span:nth-child(3) { animation-delay: 0.4s; }
@keyframes searchDot { 0%, 80%, 100% { opacity: 0; } 40% { opacity: 1; } }

.search-loader-bar {
    position: relative;
    height: 8px;
    background: rgba(10, 14, 39, 0.8);
    border: 1px solid rgba(0, 217, 255, 0.6);
    box-shadow: inset 0 0 8px rgba(0, 217, 255, 0.25);
    overflow: hidden;
}
.search-loader-bar-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 35%;
    background: linear-gradient(90deg, transparent 0%, #00d9ff 25%, #00ff41 50%, #00d9ff 75%, transparent 100%);
    box-shadow: 0 0 12px rgba(0, 217, 255, 0.8), 0 0 18px rgba(0, 255, 65, 0.4);
    animation: searchSweep 1.4s linear infinite;
}
@keyframes searchSweep { 0% { transform: translateX(-100%); } 100% { transform: translateX(385%); } }

/* ── Pricing button + popover ──────────────────────────────────────────── */
.listing-notify {
    display: inline-block;
    margin-top: 0;
    padding: 3px 8px;
    font-family: 'Electrolize', sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #00ff41;
    border: 1px solid rgba(0, 255, 65, 0.45);
    border-radius: 4px;
    background: rgba(0, 255, 65, 0.07);
    text-decoration: none;
    transition: background 0.15s, border-color 0.15s;
}
.listing-notify:hover,
.listing-notify:focus {
    background: rgba(0, 255, 65, 0.18);
    border-color: rgba(0, 255, 65, 0.8);
    outline: none;
}

.listing-price-peek {
    display: inline-block;
    margin-top: 0;
    padding: 3px 8px;
    font-family: 'Electrolize', sans-serif;
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #00d9ff;
    border: 1px solid rgba(0, 217, 255, 0.45);
    border-radius: 4px;
    background: rgba(0, 217, 255, 0.07);
    cursor: pointer;
    user-select: none;
    transition: background 0.15s, border-color 0.15s;
}
.listing-price-peek:hover,
.listing-price-peek:focus {
    background: rgba(0, 217, 255, 0.18);
    border-color: rgba(0, 217, 255, 0.8);
    outline: none;
}

.search-price-pop .pop-state {
    padding: 16px;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(224, 224, 224, 0.7);
}
.search-price-pop .game-info { padding: 14px; }
.search-price-pop .game-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 10px;
    line-height: 1.3;
    color: #e0e0e0;
}
.search-price-pop .game-title-link {
    color: #00d9ff;
    text-decoration: none;
}
.search-price-pop .game-title-link:hover { text-decoration: underline; }
.search-price-pop .console-rarity-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.search-price-pop .console-badge {
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    background: #1a1a2e;
    color: #fff;
}
.search-price-pop .rarity-box {
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.search-price-pop .rarity-common    { background: rgba(34,197,94,0.2);  color: #4ade80; border: 1px solid rgba(34,197,94,0.35); }
.search-price-pop .rarity-uncommon  { background: rgba(59,130,246,0.2); color: #60a5fa; border: 1px solid rgba(59,130,246,0.35); }
.search-price-pop .rarity-rare      { background: rgba(168,85,247,0.2); color: #c084fc; border: 1px solid rgba(168,85,247,0.35); }
.search-price-pop .rarity-in-ranking { background: rgba(100,100,120,0.2); color: #9ca3af; border: 1px solid rgba(100,100,120,0.35); }
.search-price-pop .prices-container { border-top: 1px solid rgba(0,217,255,0.12); padding-top: 10px; }
.search-price-pop .price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.search-price-pop .price-row:last-child { border-bottom: none; }
.search-price-pop .price-label { font-size: 0.8rem; color: rgba(224,224,224,0.6); }
.search-price-pop .price-value { font-size: 0.9rem; font-weight: 600; color: #00ff41; }
.search-price-pop .price-row.loose .price-label::before { content: ''; }
.search-price-pop .price-row.cib   .price-label::before { content: ''; }
.search-price-pop .price-row.new   .price-label::before { content: ''; }
