/* ========================================
   Grand Archive Mobile Unframed Theme
   目标：单基底 + 轻分割线，减少“框套框”视觉压力
   ======================================== */

@media (max-width: 768px) {
    body.mobile-unframed-v1 {
        --muf-bg-base: #1E2A3A;
        --muf-bg-base-2: #1A2535;
        --muf-text-main: #EAF1FA;
        --muf-text-sub: #AFC0D8;
        --muf-text-dim: #93A8C4;
        --muf-divider: rgba(60, 83, 110, 0.56);
        --muf-divider-strong: rgba(60, 83, 110, 0.72);

        background:
            radial-gradient(circle at 10% -8%, rgba(116, 157, 206, 0.16), transparent 34%),
            linear-gradient(180deg, var(--muf-bg-base), var(--muf-bg-base-2)) !important;
        color: var(--muf-text-main);
    }

    body.mobile-unframed-v1 .container,
    body.mobile-unframed-v1 .form-card,
    body.mobile-unframed-v1 .post-section,
    body.mobile-unframed-v1 .page-header,
    body.mobile-unframed-v1 .filters-section,
    body.mobile-unframed-v1 .filter-container,
    body.mobile-unframed-v1 .controls-bar,
    body.mobile-unframed-v1 .trade-header,
    body.mobile-unframed-v1 .stats-section,
    body.mobile-unframed-v1 .contact-section,
    body.mobile-unframed-v1 .trade-description,
    body.mobile-unframed-v1 .trade-cards-flat,
    body.mobile-unframed-v1 .trade-cards-list,
    body.mobile-unframed-v1 .mobile-trade-summary,
    body.mobile-unframed-v1 .mobile-deck-judgement,
    body.mobile-unframed-v1 .mobile-deck-hero,
    body.mobile-unframed-v1 .builder-container,
    body.mobile-unframed-v1 .advanced-search-panel {
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    body.mobile-unframed-v1 .form-input,
    body.mobile-unframed-v1 .form-textarea,
    body.mobile-unframed-v1 .form-select,
    body.mobile-unframed-v1 .filter-select,
    body.mobile-unframed-v1 .search-input,
    body.mobile-unframed-v1 .mobile-deck-quick-select {
        background: rgba(39, 54, 74, 0.42) !important;
        border: 1px solid var(--muf-divider-strong) !important;
        color: var(--muf-text-main) !important;
        box-shadow: none !important;
    }

    body.mobile-unframed-v1 .favorite-row,
    body.mobile-unframed-v1 .flat-card-row,
    body.mobile-unframed-v1 .deck-item,
    body.mobile-unframed-v1 .listing-card,
    body.mobile-unframed-v1 .deck-card,
    body.mobile-unframed-v1 .search-suggestion-item {
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        border-bottom: none !important;
    }

    body.mobile-unframed-v1 .selected-card,
    body.mobile-unframed-v1 .selected-deck-preview,
    body.mobile-unframed-v1 .preview-hero,
    body.mobile-unframed-v1 .preview-section {
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    body.mobile-unframed-v1 .favorite-row,
    body.mobile-unframed-v1 .flat-card-row,
    body.mobile-unframed-v1 .deck-item,
    body.mobile-unframed-v1 .listing-card,
    body.mobile-unframed-v1 .deck-card,
    body.mobile-unframed-v1 .search-suggestion-item,
    body.mobile-unframed-v1 .selected-card {
        margin-bottom: 0.24rem;
    }

    body.mobile-unframed-v1 .deck-cover,
    body.mobile-unframed-v1 .row-thumb-link,
    body.mobile-unframed-v1 .flat-card-thumb,
    body.mobile-unframed-v1 .mobile-trade-gallery-item img,
    body.mobile-unframed-v1 .mobile-card-image {
        box-shadow: none !important;
    }

    body.mobile-unframed-v1 .form-label,
    body.mobile-unframed-v1 .sort-label,
    body.mobile-unframed-v1 .stats-info,
    body.mobile-unframed-v1 .row-id,
    body.mobile-unframed-v1 .flat-card-meta,
    body.mobile-unframed-v1 .mobile-trade-fact span,
    body.mobile-unframed-v1 .mobile-trade-trust {
        color: var(--muf-text-dim) !important;
    }

    body.mobile-unframed-v1 .page-title,
    body.mobile-unframed-v1 .row-name,
    body.mobile-unframed-v1 .flat-card-name,
    body.mobile-unframed-v1 .mobile-trade-title,
    body.mobile-unframed-v1 .mobile-trade-fact strong {
        color: var(--muf-text-main) !important;
    }

    body.mobile-unframed-v1 hr,
    body.mobile-unframed-v1 .divider,
    body.mobile-unframed-v1 .section-divider {
        display: none !important;
        border: none !important;
        background: transparent !important;
    }

    body.mobile-unframed-v1 .post-section,
    body.mobile-unframed-v1 .page-header,
    body.mobile-unframed-v1 .controls-bar,
    body.mobile-unframed-v1 .trade-cards-title,
    body.mobile-unframed-v1 .flat-card-row {
        border-top: none !important;
        border-bottom: none !important;
    }

    /* 按钮样式（含边框）保持页面原样，不在全局去框层修改。 */
}
