/* QuizEarn Pro — full-screen on tablet / iPad / laptop
   Phone keeps compact app layout. Do not cap content to 480px on large screens. */

html, body {
    width: 100% !important;
    max-width: 100% !important;
}

@media (min-width: 768px) {
    .qe-page,
    .qe-main,
    .qe-shell,
    .qe-dashboard-grid,
    .ref-page,
    .container,
    .result-wrap,
    .wallet-wrap,
    .page-wrap,
    .content-wrap {
        max-width: none !important;
        width: 100% !important;
    }

    .container {
        padding-left: 24px !important;
        padding-right: 24px !important;
    }

    .quiz-shell {
        max-width: 920px !important;
        width: min(920px, calc(100% - 48px)) !important;
        height: auto !important;
        min-height: calc(100vh - 24px);
        margin: 0 auto;
    }

    .options-grid {
        grid-template-columns: 1fr 1fr;
    }

    .limit-card,
    .result-card,
    .result-wrap {
        max-width: min(840px, 100%) !important;
        width: 100% !important;
        margin-left: auto;
        margin-right: auto;
    }

}

@media (min-width: 1100px) {
    .container {
        padding-left: 32px !important;
        padding-right: 32px !important;
    }

    .quiz-shell {
        max-width: 1080px !important;
        width: min(1080px, calc(100% - 64px)) !important;
    }
}

@media (max-width: 767.98px) {
    .options-grid {
        grid-template-columns: 1fr;
    }
}
