html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

html {
    height: 100%;
    background: var(--set-secondary, #121735);
}

body {
    min-height: 100%;
    min-height: 100dvh;
    min-height: -webkit-fill-available;
    padding-top: env(safe-area-inset-top);
    padding-right: env(safe-area-inset-right);
    padding-bottom: env(safe-area-inset-bottom);
    padding-left: env(safe-area-inset-left);
}

:root {
    --set-primary: #c8922a;
    --set-secondary: #1a5f7a;
    --set-accent: #f4e4bc;
    --set-glow: rgba(200, 146, 42, 0.35);
    --set-bg: linear-gradient(145deg, #1a5f7a 0%, #c8922a 55%, #1a5f7a 100%);
    --transition-theme: 0.45s ease;
    --glass-bg: rgba(255, 255, 255, 0.12);
    --glass-border: rgba(255, 255, 255, 0.25);
    --glass-text: rgba(255, 255, 255, 0.95);
    --glass-muted: rgba(255, 255, 255, 0.72);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    color: var(--glass-text);
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 16px;
    line-height: 1.4;
    -webkit-text-size-adjust: 100%;
    transition: background var(--transition-theme);
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    background: var(--set-bg);
    transition: background var(--transition-theme);
    pointer-events: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 16px 32px;
    position: relative;
    transition: opacity 0.55s ease, transform 0.55s ease;
    z-index: 1;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

body.is-booting .app-shell {
    opacity: 0;
    transform: translateY(14px);
    pointer-events: none;
}

body.app-ready .app-shell {
    opacity: 1;
    transform: translateY(0);
}

.app-header {
    opacity: 0;
    transform: translateY(10px);
}

body.app-ready .app-header {
    animation: fadeSlideIn 0.45s ease forwards;
}

.toolbar {
    z-index: 5;
    margin-bottom: 8px;
    padding: 4px 0 4px;
}

.toolbar-stack {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.set-picker {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px 2px 4px;
    margin: 0 -2px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
}

.set-picker::-webkit-scrollbar {
    display: none;
}

.set-picker.is-busy {
    opacity: 0.72;
}

.set-picker-item:disabled {
    cursor: wait;
}

.set-picker-item {
    flex: 0 0 auto;
    scroll-snap-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 78px;
    max-width: 88px;
    padding: 6px 6px 5px;
    border: 2px solid var(--glass-border);
    border-radius: 10px;
    background: var(--glass-bg);
    box-shadow: 0 0 10px transparent;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.set-picker-item.active {
    border-color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.18);
    box-shadow: 0 0 18px var(--set-glow), inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.set-picker-item img {
    display: block;
    height: 38px;
    width: 100%;
    max-width: 72px;
    object-fit: contain;
    pointer-events: none;
}

.set-picker-label {
    font-size: 0.62rem;
    line-height: 1.1;
    color: var(--glass-muted);
    text-align: center;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    pointer-events: none;
}

.set-picker-item.active .set-picker-label {
    color: #fff;
    font-weight: 600;
}

.set-picker-empty {
    padding: 12px;
    font-size: 0.85rem;
    color: var(--glass-muted);
    text-align: center;
    width: 100%;
}

.toolbar-row {
    display: flex;
    gap: 6px;
}

.toolbar-controls-row {
    display: flex;
    align-items: stretch;
    gap: 6px;
}

.toolbar-controls-row .toolbar-search {
    flex: 1;
    min-width: 0;
    width: auto;
}

.toolbar-controls-row .toolbar-select {
    flex: 0 0 auto;
    width: auto;
    min-width: 9.5rem;
    max-width: 11.5rem;
    padding-right: 28px;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="%23ffffff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
    cursor: pointer;
}

.toolbar-stats {
    display: flex;
    align-items: stretch;
    gap: 5px;
    width: 100%;
    min-width: 0;
    overflow: visible;
}

.set-stat {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1px;
    padding: 5px 6px;
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    background: var(--glass-bg);
    box-shadow: 0 0 12px var(--set-glow);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.set-stat.is-hidden {
    display: none;
}

.set-stat-label {
    font-size: 0.62rem;
    line-height: 1;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--glass-muted);
}

.set-stat-value {
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--glass-text);
    font-variant-numeric: tabular-nums;
}

.set-stat-foil .set-stat-value {
    color: var(--set-accent, #f4e4bc);
}

.set-stat-enchanted .set-stat-value {
    color: #c4a8ff;
}

.set-stat-promo .set-stat-value {
    color: #7dd3fc;
}

.ebay-list-btn {
    flex: 0 0 auto;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    min-width: 56px;
    min-height: 42px;
    padding: 4px 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.07);
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
    -webkit-tap-highlight-color: transparent;
}

.ebay-list-btn.is-online {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.38);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.08);
}

.ebay-list-btn:hover {
    background: rgba(255, 255, 255, 0.11);
    border-color: rgba(255, 255, 255, 0.32);
}

.ebay-list-btn.is-online:hover {
    background: rgba(255, 255, 255, 0.18);
}

.ebay-list-btn:active {
    transform: scale(0.97);
}

.ebay-wordmark {
    display: flex;
    align-items: baseline;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    font-style: italic;
    letter-spacing: -0.05em;
    line-height: 1;
    user-select: none;
}

.ebay-ch {
    color: rgba(255, 255, 255, 0.48);
    transition: color 0.2s ease;
}

.ebay-list-btn.is-online .ebay-ch-e { color: #e53238; }
.ebay-list-btn.is-online .ebay-ch-b { color: #0064d2; }
.ebay-list-btn.is-online .ebay-ch-a { color: #f5af02; }
.ebay-list-btn.is-online .ebay-ch-y { color: #86b817; }

.toolbar-search,
.toolbar-select {
    width: 100%;
    padding: 8px 10px;
    font-size: 16px;
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    background: var(--glass-bg);
    color: var(--glass-text);
    box-shadow: 0 0 14px var(--set-glow);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.toolbar-row .toolbar-select {
    flex: 1;
    min-width: 0;
    padding-right: 28px;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="%23ffffff" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6 9 12 15 18 9"></polyline></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
    cursor: pointer;
}

.toolbar-search::placeholder {
    color: var(--glass-muted);
}

.toolbar-search:focus,
.toolbar-select:focus {
    outline: none;
    border-color: rgba(255, 255, 255, 0.55);
    box-shadow: 0 0 20px var(--set-glow);
}

.toolbar-select option {
    background: #1a2a35;
    color: #fff;
}

.toolbar-select option[disabled] {
    color: rgba(255, 255, 255, 0.35);
}

.item-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(162px, 1fr));
    gap: 10px;
    position: relative;
    z-index: 2;
    min-height: 120px;
    align-items: stretch;
}

.item-grid.empty-message {
    display: block;
    text-align: center;
    color: var(--glass-muted);
    padding: 2rem 1rem;
}

.scroll-top-btn {
    position: fixed;
    right: max(14px, env(safe-area-inset-right, 0px));
    bottom: max(18px, env(safe-area-inset-bottom, 0px));
    z-index: 30;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(14, 20, 38, 0.82);
    color: rgba(255, 255, 255, 0.88);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    cursor: pointer;
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition:
        opacity 0.22s ease,
        transform 0.22s ease,
        background-color 0.15s ease;
}

.scroll-top-btn.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.scroll-top-btn.is-scrolling {
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
}

.scroll-top-btn:hover {
    background: rgba(22, 30, 52, 0.92);
    color: #fff;
}

.scroll-top-btn:active {
    transform: translateY(1px);
}

.scroll-top-btn.is-visible:active:not(.is-scrolling) {
    transform: translateY(1px);
}

.scroll-top-btn:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.55);
    outline-offset: 2px;
}

.scroll-top-btn-icon {
    width: 18px;
    height: 18px;
}

.item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    height: 100%;
    min-width: 0;
}

.item.item-reveal-pending {
    opacity: 0;
    transform: translateY(16px) scale(0.985);
}

.item.item-reveal-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    transition:
        opacity 0.42s ease,
        transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--reveal-delay, 0ms);
}

body.is-scroll-to-top .item.item-reveal-pending,
body.is-scroll-to-top .item.item-reveal-visible,
body.is-scroll-to-top .item.item-reveal-instant {
    transition: none !important;
    transition-delay: 0ms !important;
}

body.is-scroll-to-top .item.item-reveal-pending,
body.is-scroll-to-top .item.item-reveal-visible {
    transform: none;
}

body.is-inventory-jump .item.item-reveal-pending,
body.is-inventory-jump .item.item-reveal-visible,
body.is-inventory-jump .item.item-reveal-instant {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    transition-delay: 0ms !important;
}

body.is-inventory-jump .item-grid.inventory-jump-hidden {
    visibility: hidden;
}

body.is-inventory-jump .card-image-visible,
body.is-inventory-jump canvas.card-image-visible {
    transition: none !important;
}

body.is-inventory-jump .card-image-visible.card-img-loading,
body.is-inventory-jump canvas.card-image-visible.card-img-loading {
    opacity: 1;
}

.item.item-reveal-instant {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
    transition-delay: 0ms !important;
}

@media (hover: none) and (pointer: coarse), (max-width: 768px) {
    .item.item-reveal-pending,
    .item.item-reveal-visible {
        transform: none;
    }

    .item.item-reveal-visible {
        transition: opacity 0.42s ease;
        transition-delay: var(--reveal-delay, 0ms);
    }
}

.card-glass {
    width: 100%;
    height: 100%;
    min-height: 0;
    box-sizing: border-box;
    --card-border: rgba(255, 255, 255, 0.28);
    background: rgba(12, 18, 36, 0.88);
    border: 1.5px solid var(--card-border);
    border-radius: 10px;
    padding: 3px 5px 5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.22);
    transition: border-color 0.2s ease, opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.item:not(.zero) .card-glass {
    background: rgba(12, 18, 36, 0.82);
}

/* ── Seltenheiten: dezenter Rahmen, Farbe reicht zur Erkennung ── */
.card-glass.card-rarity-common {
    --card-border: rgba(255, 255, 255, 0.32);
}

.card-glass.card-rarity-uncommon {
    --card-border: rgba(52, 211, 153, 0.62);
}

.card-glass.card-rarity-rare {
    --card-border: rgba(251, 146, 60, 0.68);
}

.card-glass.card-rarity-super_rare,
.card-glass.card-rarity-super {
    --card-border: rgba(226, 232, 240, 0.72);
}

.card-glass.card-rarity-legendary {
    --card-border: rgba(251, 191, 36, 0.75);
}

.card-glass.card-rarity-enchanted {
    --card-border: rgba(192, 132, 252, 0.68);
}

.card-glass.card-rarity-epic {
    --card-border: rgba(248, 113, 113, 0.68);
}

.card-glass.card-rarity-special {
    --card-border: rgba(96, 165, 250, 0.68);
}

.card-glass.card-rarity-iconic {
    --card-border: rgba(192, 132, 252, 0.72);
}

@keyframes rarityShimmerBronze {
    0%, 100% {
        border-color: rgba(180, 83, 9, 0.78);
        box-shadow:
            0 10px 28px rgba(0, 0, 0, 0.38),
            0 0 16px rgba(180, 83, 9, 0.28),
            inset 0 1px 0 rgba(253, 186, 116, 0.32);
    }
    50% {
        border-color: rgba(251, 146, 60, 0.95);
        box-shadow:
            0 10px 28px rgba(0, 0, 0, 0.38),
            0 0 28px rgba(217, 119, 6, 0.5),
            inset 0 1px 0 rgba(254, 215, 170, 0.45);
    }
}

@keyframes rarityShimmerPlatinum {
    0%, 100% {
        border-color: rgba(203, 213, 225, 0.82);
        box-shadow:
            0 10px 28px rgba(0, 0, 0, 0.38),
            0 0 22px rgba(226, 232, 240, 0.35),
            inset 0 1px 0 rgba(255, 255, 255, 0.4);
    }
    50% {
        border-color: rgba(255, 255, 255, 1);
        box-shadow:
            0 10px 28px rgba(0, 0, 0, 0.38),
            0 0 38px rgba(255, 255, 255, 0.65),
            inset 0 1px 0 rgba(255, 255, 255, 0.7);
    }
}

@keyframes rarityShimmerGold {
    0%, 100% {
        border-color: rgba(217, 119, 6, 0.85);
        box-shadow:
            0 10px 28px rgba(0, 0, 0, 0.38),
            0 0 24px rgba(245, 158, 11, 0.35),
            inset 0 1px 0 rgba(254, 243, 199, 0.45);
    }
    50% {
        border-color: rgba(255, 215, 0, 1);
        box-shadow:
            0 10px 28px rgba(0, 0, 0, 0.38),
            0 0 42px rgba(255, 193, 7, 0.65),
            inset 0 1px 0 rgba(255, 251, 235, 0.65);
    }
}

.item:not(.zero) .card-glass[class*='card-rarity-'] {
    background: rgba(12, 18, 36, 0.8);
}

.card-glass .rarity-badge {
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    flex-shrink: 0;
    font-size: 0.76rem;
    padding: 6px 8px;
    border-radius: 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    overflow: visible;
    min-height: auto;
}

.badge-num {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1.1;
    opacity: 0.92;
}

.badge-name {
    display: block;
    width: 100%;
    font-size: 0.72rem;
    font-weight: 500;
    line-height: 1.32;
    text-align: center;
    word-break: break-word;
    overflow-wrap: anywhere;
    hyphens: auto;
    -webkit-hyphens: auto;
}

.card-image-wrap {
    width: 100%;
    aspect-ratio: 734 / 1024;
    flex: 0 0 auto;
    min-height: 0;
}

.card-image-frame {
    display: flex;
    justify-content: center;
    align-items: stretch;
    width: 100%;
    height: 100%;
    line-height: 0;
    cursor: pointer;
}

.card-image-visible {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: contain;
    object-position: top center;
    border-radius: 10px;
    opacity: 1;
    transition: opacity 0.32s ease;
}

canvas.card-image-visible {
    object-fit: unset;
    display: block;
}

.card-image-visible.card-img-loading {
    opacity: 0;
}

.card-footer {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    flex-shrink: 0;
    padding: 4px 0 0;
}

.card-footer-has-ebay {
    padding-bottom: 1px;
}

.foot-ebay-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    width: 100%;
    margin-top: 4px;
    padding: 3px 6px;
    box-sizing: border-box;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.07);
}

.foot-ebay-wordmark {
    flex-shrink: 0;
    font-size: 0.72rem;
}

.foot-ebay-wordmark .ebay-ch-e { color: #e53238; }
.foot-ebay-wordmark .ebay-ch-b { color: #0064d2; }
.foot-ebay-wordmark .ebay-ch-a { color: #f5af02; }
.foot-ebay-wordmark .ebay-ch-y { color: #86b817; }

.foot-ebay-price {
    font-size: 0.62rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: rgba(255, 255, 255, 0.94);
    white-space: nowrap;
}

.foot-cells {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 5px;
    width: 100%;
    box-sizing: border-box;
}

.foot-cell {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1px;
    min-height: 24px;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    padding: 3px 3px;
    border-radius: 6px;
    font-size: 0.62rem;
    font-variant-numeric: tabular-nums;
    line-height: 1.2;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    overflow: hidden;
    white-space: nowrap;
}

.foot-cells-two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.foot-cell-num {
    font-weight: 700;
    color: rgba(255, 255, 255, 0.92);
    background: rgba(148, 163, 184, 0.14);
    border-color: rgba(148, 163, 184, 0.28);
    overflow: hidden;
    text-overflow: ellipsis;
}

.foot-cell-qty {
    font-weight: 700;
    cursor: pointer;
}

.foot-cell-qty.foot-qty-none {
    color: #fecaca;
    background: rgba(239, 68, 68, 0.16);
    border-color: rgba(248, 113, 113, 0.45);
}

.foot-cell-qty.foot-qty-low {
    color: #fde68a;
    background: rgba(245, 158, 11, 0.16);
    border-color: rgba(251, 191, 36, 0.45);
}

.foot-cell-qty.foot-qty-mid {
    color: #bfdbfe;
    background: rgba(59, 130, 246, 0.14);
    border-color: rgba(96, 165, 250, 0.4);
}

.foot-cell-qty.foot-qty-high {
    color: #bbf7d0;
    background: rgba(34, 197, 94, 0.16);
    border-color: rgba(74, 222, 128, 0.45);
}

.foot-cell-price {
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.16);
    gap: 1px;
    padding: 3px 2px;
}

.foot-cell-price.price-increased {
    color: #6ee7a0;
    background: rgba(110, 231, 160, 0.12);
    border-color: rgba(110, 231, 160, 0.38);
}

.foot-cell-price-clickable {
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(255, 255, 255, 0.12);
    transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
}

.foot-cell-price-clickable:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.28);
}

.foot-cell-price-clickable:active {
    transform: scale(0.97);
}

.foot-cell-price-clickable:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.55);
    outline-offset: 1px;
}

.price-hint-popover {
    position: fixed;
    z-index: 1200;
    min-width: 168px;
    max-width: min(240px, calc(100vw - 24px));
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(14, 20, 38, 0.96);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: rgba(255, 255, 255, 0.92);
}

.price-hint-popover[hidden] {
    display: none;
}

.price-hint-title {
    margin: 0 0 4px;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.62);
}

.price-hint-card {
    margin: 0 0 8px;
    font-size: 0.72rem;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.82);
    word-break: break-word;
}

.price-hint-rows {
    margin: 0;
    display: grid;
    gap: 6px;
}

.price-hint-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 10px;
}

.price-hint-row dt {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.65);
}

.price-hint-row dd {
    margin: 0;
    font-size: 0.82rem;
    font-weight: 700;
    white-space: nowrap;
}

.price-hint-row-ebay dd {
    font-size: 0.92rem;
    color: #f5af02;
}

.foot-price-amount {
    letter-spacing: 0.01em;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.foot-currency {
    margin-left: 1px;
    font-size: 0.55rem;
    font-weight: 600;
    opacity: 0.82;
    flex-shrink: 0;
}

.foot-price-up {
    color: #6ee7a0;
    margin-left: 1px;
    font-size: 0.55rem;
    font-weight: 700;
    flex-shrink: 0;
}

.foot-qty-view {
    display: block;
    width: 100%;
    text-align: center;
    pointer-events: none;
    user-select: none;
}

.foot-qty-select {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    border: none;
    border-radius: inherit;
    background: transparent;
    color: transparent;
    font-size: 16px;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    opacity: 0;
    z-index: 1;
}

.foot-qty-select:focus {
    outline: none;
}

.foot-qty-select option {
    color: #0f1428;
    background: #fff;
}

.rarity-badge {
    display: inline-block;
    max-width: 100%;
    padding: 5px 12px;
    border-radius: 8px;
    font-size: 0.82rem;
    font-weight: 500;
    line-height: 1.25;
    text-align: center;
    border: 1px solid transparent;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    word-break: break-word;
}

.rarity-common {
    background: rgba(15, 23, 42, 0.55);
    border-color: rgba(255, 255, 255, 0.35);
    color: rgba(226, 232, 240, 0.88);
    box-shadow: none;
}

.rarity-uncommon {
    background: linear-gradient(145deg, rgba(4, 120, 87, 0.72), rgba(16, 185, 129, 0.42));
    border-color: rgba(52, 211, 153, 0.9);
    color: #ecfdf5;
    box-shadow: 0 0 14px rgba(5, 150, 105, 0.4);
}

.rarity-rare {
    background: linear-gradient(145deg, rgba(146, 64, 14, 0.72), rgba(217, 119, 6, 0.45));
    border-color: rgba(251, 146, 60, 0.85);
    color: #fff7ed;
    box-shadow: 0 0 14px rgba(180, 83, 9, 0.4);
}

.rarity-super_rare,
.rarity-super {
    background: linear-gradient(145deg, rgba(100, 116, 139, 0.55), rgba(248, 250, 252, 0.35));
    border-color: rgba(255, 255, 255, 0.95);
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(15, 23, 42, 0.45);
    box-shadow: 0 0 18px rgba(226, 232, 240, 0.55);
}

.rarity-legendary {
    background: linear-gradient(145deg, rgba(180, 83, 9, 0.72), rgba(251, 191, 36, 0.5));
    border-color: rgba(255, 215, 0, 0.95);
    color: #fffbeb;
    box-shadow: 0 0 18px rgba(245, 158, 11, 0.55);
}

.rarity-enchanted {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.55), rgba(168, 85, 247, 0.5), rgba(59, 130, 246, 0.5));
    border-color: rgba(255, 255, 255, 0.75);
    color: #fff;
    box-shadow: 0 0 18px rgba(168, 85, 247, 0.5);
}

.rarity-epic {
    background: linear-gradient(145deg, rgba(153, 27, 27, 0.72), rgba(239, 68, 68, 0.45));
    border-color: rgba(252, 165, 165, 0.9);
    color: #fef2f2;
    box-shadow: 0 0 14px rgba(220, 38, 38, 0.45);
}

.rarity-special {
    background: linear-gradient(145deg, rgba(30, 64, 175, 0.72), rgba(59, 130, 246, 0.45));
    border-color: rgba(147, 197, 253, 0.9);
    color: #eff6ff;
    box-shadow: 0 0 14px rgba(37, 99, 235, 0.45);
}

.rarity-iconic {
    background: linear-gradient(145deg, rgba(107, 33, 168, 0.72), rgba(192, 132, 252, 0.45));
    border-color: rgba(216, 180, 254, 0.92);
    color: #faf5ff;
    box-shadow: 0 0 14px rgba(168, 85, 247, 0.5);
}

.card-price {
    display: none;
}

.quantity-controls {
    display: none;
}

.quantity-button {
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 6px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.88);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 500;
    line-height: 1;
    padding: 0;
}

.quantity-button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    color: #fff;
}

.quantity-button:active {
    background: rgba(255, 255, 255, 0.14);
}

.quantity-button:disabled {
    color: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.12);
    cursor: not-allowed;
}

.quantity-display {
    min-width: 20px;
    text-align: center;
    font-size: 0.82rem;
    font-family: -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.88);
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 5px;
    padding: 1px 5px;
    transition: color 0.3s ease, border-color 0.3s ease;
}

.quantity-green {
    color: rgba(134, 239, 172, 1);
    border-color: rgba(134, 239, 172, 0.45);
}

.price-sync-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    width: 100%;
    margin-top: 6px;
    padding: 8px 12px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.88);
}

.price-sync-bar.is-running {
    background: rgba(251, 191, 36, 0.12);
    border-color: rgba(251, 191, 36, 0.35);
    color: #fffbeb;
}

.price-sync-bar.is-running #price-sync-text::before {
    content: '';
    display: inline-block;
    width: 0.72rem;
    height: 0.72rem;
    margin-right: 8px;
    border: 2px solid rgba(255, 251, 235, 0.35);
    border-top-color: #fffbeb;
    border-radius: 50%;
    vertical-align: -0.12em;
    animation: price-sync-spin 0.8s linear infinite;
}

.price-sync-bar.is-error {
    background: rgba(248, 113, 113, 0.12);
    border-color: rgba(248, 113, 113, 0.35);
    color: #fecaca;
}

.price-guide-date {
    margin-left: auto;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.62);
    white-space: nowrap;
}

.price-sync-bar.is-error .price-guide-date,
.price-sync-bar.is-running .price-guide-date {
    margin-left: 0;
}

.price-guide-date.is-stale {
    color: #fecaca;
}

@keyframes price-sync-spin {
    to { transform: rotate(360deg); }
}

.price-changes-bar + .price-changes-bar {
    margin-top: 4px;
}

.weekly-top-bar .price-changes-dropdown {
    background: rgba(96, 165, 250, 0.1);
    border-color: rgba(96, 165, 250, 0.35);
}

.weekly-top-bar .price-changes-summary {
    color: #eff6ff;
}

.weekly-top-bar .price-changes-badge.has-items {
    background: rgba(96, 165, 250, 0.35);
    color: #eff6ff;
}

.weekly-top-bar .price-changes-list {
    border-top-color: rgba(96, 165, 250, 0.2);
}

.weekly-top-bar .price-changes-card-btn.weekly-top-out-of-stock {
    color: #fecaca;
    background: rgba(127, 29, 29, 0.28);
}

.weekly-top-bar .price-changes-card-btn.weekly-top-out-of-stock:hover {
    background: rgba(153, 27, 27, 0.38);
}

.weekly-top-bar .price-changes-card-btn.weekly-top-unmatched {
    opacity: 0.5;
    cursor: default;
}

.inventory-card-jump-highlight {
    outline: 2px solid rgba(96, 165, 250, 0.75);
    outline-offset: 2px;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.22);
    transition: outline-color 0.2s ease, box-shadow 0.2s ease;
}

.price-changes-bar {
    width: 100%;
    margin-top: 6px;
}

.price-changes-bar.hidden {
    display: none;
}

.price-changes-dropdown {
    border-radius: 10px;
    background: rgba(74, 222, 128, 0.1);
    border: 1px solid rgba(74, 222, 128, 0.35);
    overflow: hidden;
}

.price-changes-summary {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    cursor: pointer;
    list-style: none;
    font-size: 0.84rem;
    font-weight: 600;
    color: #ecfdf5;
}

.price-changes-summary::-webkit-details-marker {
    display: none;
}

.price-changes-summary::before {
    content: '▸';
    font-size: 0.75rem;
    opacity: 0.85;
    transition: transform 0.15s ease;
}

.price-changes-dropdown[open] .price-changes-summary::before {
    transform: rotate(90deg);
}

.price-changes-badge {
    min-width: 1.4rem;
    padding: 2px 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    font-size: 0.78rem;
    text-align: center;
}

.price-changes-badge.has-increases {
    background: rgba(74, 222, 128, 0.35);
    color: #ecfdf5;
}

.price-changes-dates {
    margin-left: auto;
    font-size: 0.74rem;
    font-weight: 500;
    opacity: 0.85;
}

.price-changes-list {
    max-height: min(50vh, 320px);
    overflow: auto;
    padding: 0 10px 10px;
    border-top: 1px solid rgba(74, 222, 128, 0.2);
}

.price-changes-empty {
    margin: 10px 4px 4px;
    font-size: 0.8rem;
    opacity: 0.85;
}

.price-changes-set {
    margin-top: 10px;
}

.price-changes-set-title {
    margin: 0 0 4px;
    font-size: 0.76rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: rgba(236, 253, 245, 0.9);
}

.price-changes-cards {
    margin: 0;
    padding: 0;
    list-style: none;
}

.price-changes-card-btn {
    display: block;
    width: 100%;
    margin-bottom: 4px;
    padding: 6px 8px;
    border: none;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.18);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.76rem;
    text-align: left;
    cursor: pointer;
}

.price-changes-card-btn:hover {
    background: rgba(0, 0, 0, 0.28);
}

.card-price.price-increased,
.card-price .price-delta {
    display: none;
}

.price-sync-bar.hidden {
    display: none;
}

.price-sync-btn {
    margin-left: auto;
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid rgba(251, 191, 36, 0.65);
    background: rgba(251, 191, 36, 0.18);
    color: #fffbeb;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
}

.price-sync-btn-secondary {
    margin-left: 0;
    border-color: rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.9);
}

.quantity-red {
    color: rgba(252, 165, 165, 1);
    border-color: rgba(252, 165, 165, 0.45);
}

.item.zero .card-glass {
    opacity: 0.55;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.3s ease;
    z-index: 10;
}

.modal.open {
    visibility: visible;
    opacity: 1;
}

.modal-content {
    background: none;
    padding: 0;
    text-align: center;
    animation: fadeInScale 0.3s;
    max-width: min(420px, 92vw);
    max-height: min(85vh, 620px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal img {
    display: block;
    width: auto;
    height: auto;
    max-width: min(400px, 90vw);
    max-height: min(560px, 80vh);
    object-fit: contain;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

@media (min-width: 769px) {
    .modal-content {
        max-width: min(380px, 42vw);
        max-height: min(78vh, 560px);
    }

    .modal img {
        max-width: min(360px, 38vw);
        max-height: min(504px, 72vh);
    }
}

.ebay-modal {
    position: fixed;
    inset: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    background: rgba(0, 0, 0, 0.72);
}

.ebay-modal[hidden] {
    display: none;
}

.ebay-modal-panel {
    width: min(100%, 380px);
    padding: 16px 16px 14px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(15, 20, 40, 0.98);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}

.ebay-modal-panel h2 {
    margin: 0 0 8px;
    font-size: 1rem;
    font-weight: 650;
    color: rgba(255, 255, 255, 0.95);
}

.ebay-modal-set {
    margin: 0 0 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--set-accent, #f4e4bc);
}

.ebay-modal-scope {
    margin: 0 0 8px;
    font-size: 0.75rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.72);
}

.ebay-modal-list {
    margin: 0 0 10px;
    padding-left: 1.1rem;
    font-size: 0.72rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.78);
}

.ebay-modal-note {
    margin: 0 0 12px;
    font-size: 0.68rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.4;
}

.ebay-promo-choice {
    margin-bottom: 12px;
    padding: 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(125, 211, 252, 0.25);
}

.ebay-promo-question {
    margin: 0 0 8px;
    font-size: 0.74rem;
    font-weight: 600;
    color: #bae6fd;
}

.ebay-promo-toggle {
    display: flex;
    gap: 6px;
}

.ebay-promo-opt {
    flex: 1;
    padding: 7px 6px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(0, 0, 0, 0.2);
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.68rem;
    cursor: pointer;
}

.ebay-promo-opt.is-selected {
    border-color: rgba(125, 211, 252, 0.55);
    background: rgba(125, 211, 252, 0.12);
    color: #e0f2fe;
    font-weight: 600;
}

.ebay-modal-offline {
    background: rgba(239, 68, 68, 0.12);
    color: #fecaca;
    border-color: rgba(248, 113, 113, 0.35);
}

.ebay-modal-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ebay-modal-actions .ebay-modal-offline {
    flex: 1 1 100%;
}

.ebay-modal-actions .ebay-modal-cancel,
.ebay-modal-actions .ebay-modal-confirm {
    flex: 1 1 calc(50% - 4px);
}

.ebay-modal-btn {
    flex: 1;
    padding: 9px 10px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
}

.ebay-modal-cancel {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.85);
}

.ebay-modal-confirm {
    background: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.92);
    border-color: rgba(255, 255, 255, 0.28);
}

.ebay-modal-status {
    margin: 0.75rem 0 0;
    font-size: 0.9rem;
    line-height: 1.45;
}

.ebay-modal-status.is-error {
    color: #c0392b;
}

.ebay-modal-status.is-success {
    color: #1e8449;
}

.ebay-modal-progress {
    margin-top: 0.85rem;
}

.ebay-modal-progress-track {
    height: 8px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    overflow: hidden;
}

.ebay-modal-progress-fill {
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, #3498db, #2ecc71);
    transition: width 0.35s ease;
}

.ebay-modal-progress-text {
    margin: 0.45rem 0 0;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-align: center;
    color: rgba(255, 255, 255, 0.92);
}

.ebay-modal-seo {
    margin-top: 0.85rem;
    padding: 0.85rem 0.95rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.16);
}

.ebay-modal-seo-label {
    margin: 0 0 0.35rem;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.62);
}

.ebay-modal-seo-title {
    margin: 0 0 0.55rem;
    font-size: 0.92rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.95);
    word-break: break-word;
}

.ebay-modal-seo-phrases {
    margin: 0;
    padding-left: 1.1rem;
    font-size: 0.82rem;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.78);
}

.ebay-list-btn.is-running {
    animation: ebayPulse 1.4s ease-in-out infinite;
}

@keyframes ebayPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.55; }
}

.ebay-modal-konzept {
    margin: 10px 0 0;
    text-align: center;
    font-size: 0.62rem;
    color: rgba(255, 255, 255, 0.35);
    letter-spacing: 0.02em;
}

.modal img.zoom-in {
    animation: zoomIn 0.35s ease;
}

.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.72);
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.45s ease, visibility 0.45s ease;
    z-index: 15;
    pointer-events: none;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.loading-overlay.active {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.loading-hero {
    display: flex;
    justify-content: center;
    align-items: center;
    transform: scale(0.88);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.loading-overlay.active .loading-hero {
    transform: scale(1);
    opacity: 1;
}

.loading-icon-wrap {
    animation: loadingMinimalPulse 1.6s ease-in-out infinite;
}

.loading-icon,
.loading-icon-fallback {
    width: 52px;
    height: 52px;
    object-fit: contain;
    display: block;
    opacity: 0.92;
}

@keyframes loadingMinimalPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.75;
    }
    50% {
        transform: scale(1.06);
        opacity: 1;
    }
}

@keyframes fadeInScale {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@keyframes fadeSlideIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from { transform: scale(0.7); opacity: 0.7; }
    to { transform: scale(1); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
    body.is-booting .app-shell,
    body.app-ready .app-shell,
    .app-header,
    body.app-ready .app-header,
    .item.item-reveal-pending,
    .item.item-reveal-visible,
    .card-glass[class*='card-rarity-'],
    .loading-overlay,
    .loading-hero,
    .loading-icon-wrap,
    .loading-icon,
    .loading-icon-fallback,
    .logo img {
        animation: none !important;
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

@media (max-width: 1024px) {
    .container {
        padding: 20px 16px 32px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 6px 6px 20px;
    }
    .toolbar {
        margin-bottom: 8px;
        padding-top: 2px;
    }
    .toolbar-search,
    .toolbar-select,
    .set-stat {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(12, 18, 36, 0.94);
    }
    .loading-overlay {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(0, 0, 0, 0.88);
    }
    .card-glass,
    .card-glass[class*='card-rarity-'],
    .item:not(.zero) .card-glass,
    .item:not(.zero) .card-glass[class*='card-rarity-'] {
        animation: none !important;
    }

    .card-glass.card-rarity-common {
        --card-border: rgba(255, 255, 255, 0.32);
    }

    .card-glass.card-rarity-uncommon {
        --card-border: rgba(52, 211, 153, 0.62);
    }

    .card-glass.card-rarity-rare {
        --card-border: rgba(251, 146, 60, 0.68);
    }

    .card-glass.card-rarity-super_rare,
    .card-glass.card-rarity-super {
        --card-border: rgba(226, 232, 240, 0.72);
    }

    .card-glass.card-rarity-legendary {
        --card-border: rgba(251, 191, 36, 0.75);
    }

    .card-glass.card-rarity-enchanted {
        --card-border: rgba(192, 132, 252, 0.68);
    }

    .card-glass.card-rarity-epic {
        --card-border: rgba(248, 113, 113, 0.68);
    }

    .card-glass.card-rarity-special {
        --card-border: rgba(96, 165, 250, 0.68);
    }

    .card-glass.card-rarity-iconic {
        --card-border: rgba(192, 132, 252, 0.72);
    }
    .toolbar-search,
    .toolbar-select,
    .set-stat {
        padding: 9px 10px;
        font-size: 16px;
    }
    .set-stat-label {
        font-size: 0.58rem;
    }
    .set-stat-value {
        font-size: 0.86rem;
    }
    .toolbar-controls-row .toolbar-select {
        min-width: 8.5rem;
        max-width: 10rem;
    }
    .set-stat {
        padding: 8px 6px;
    }
    .item-grid {
        grid-template-columns: repeat(auto-fill, minmax(148px, 1fr));
        gap: 5px;
    }
    .card-glass {
        padding: 1px 1px 2px;
        border-radius: 12px;
    }
    .card-footer {
        padding-top: 3px;
    }
    .foot-ebay-bar {
        margin-top: 3px;
        padding: 2px 5px;
    }
    .foot-ebay-wordmark {
        font-size: 0.66rem;
    }
    .foot-ebay-price {
        font-size: 0.58rem;
    }
    .foot-cells {
        gap: 3px;
    }
    .foot-cell {
        min-height: 24px;
        padding: 2px 3px;
        font-size: 0.58rem;
    }
    .price-hint-popover {
        min-width: 190px;
        padding: 12px 14px;
    }
    .foot-currency,
    .foot-price-up {
        font-size: 0.52rem;
    }
    .card-glass .rarity-badge,
    .badge-num,
    .badge-name {
        display: none;
    }
}