/* mobile-clean.css - cleaner phone layout.
   Nothing is hidden or removed: every ad placement stays exactly where it is. */

img, video, canvas, svg { max-width: 100%; height: auto; }
pre, code { white-space: pre-wrap; word-break: break-word; }

/* Ad slots: never break the layout, wide ads scroll inside their own box instead */
.fx-ad { max-width: 100%; overflow-x: auto; overflow-y: hidden; text-align: center; -webkit-overflow-scrolling: touch; }
.fx-ad iframe, .fx-ad ins, .fx-ad img, .fx-ad > div { max-width: 100%; }

/* Report button + new pages */
.fx-report a { display: inline-block; padding: 6px 10px; }
.fx-plan .panel-body { padding: 18px 15px; }
.fx-stats h3 { font-size: 24px; }

@media (max-width: 767px) {
    body { font-size: 15px; -webkit-text-size-adjust: 100%; }
    .container { padding-left: 12px; padding-right: 12px; }
    h1 { font-size: 24px; }
    h2 { font-size: 21px; }
    h3 { font-size: 18px; }

    /* comfortable touch targets, and 16px inputs so iOS does not zoom in */
    .btn { min-height: 42px; padding-top: 9px; padding-bottom: 9px; }
    .btn-xs { min-height: 32px; padding-top: 5px; padding-bottom: 5px; }
    .form-control { font-size: 16px; min-height: 44px; }
    .navbar-brand { max-width: 65%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .navbar-toggle { padding: 10px 12px; }

    /* cards and panels */
    .panel { border-radius: 8px; }
    .panel-body { padding: 12px; }
    .panel-title { font-size: 17px; word-break: break-word; }

    /* user area: sidebar stacks on top and becomes a compact 2-column menu */
    .account .col-md-3 { margin-bottom: 14px; }
    .sidebar-profile img, .account .profile-img { width: 64px; height: 64px; object-fit: cover; }
    .account .col-md-3 > .btn-block { margin: 0 0 10px 0 !important; }
    .account .col-md-3 > .list-group:last-of-type { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 8px; }
    .account .col-md-3 > .list-group:last-of-type .list-group-item { border-radius: 6px !important; padding: 10px; font-size: 14px; margin: 0; }

    /* tables scroll sideways inside the page instead of stretching it */
    .account .table, .table-responsive > .table { font-size: 13px; }
    .account table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .table td, .table th { word-break: break-word; }
    .huge { font-size: 26px; }
    .nav-tabs > li > a { padding: 10px 12px; }

    /* Go page: big, centred countdown and button; reCAPTCHA stays inside the screen */
    .countdown-circle { margin-left: auto; margin-right: auto; }
    #go-button, .panel-body form .btn-primary { width: 100%; font-size: 17px; }
    .recaptcha1 { display: flex; justify-content: center; }
    .panel-body .row { margin-left: 0; margin-right: 0; }
    .panel-body [class*="col-"] { padding-left: 4px; padding-right: 4px; }
}

@media (max-width: 360px) {
    .recaptcha1 > div { transform: scale(0.86); transform-origin: center top; }
    .container { padding-left: 8px; padding-right: 8px; }
}
