.kc-mobile-nav, .kc-mobile-intro, .kc-reward-mobile-filters { display: none; }
.kc-user-avatar { border: 0; font-family: inherit; cursor: pointer; }
@media (max-width: 768px) {
    body { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
    .kc-header { position: sticky; top: 0; z-index: 100; background: #fff; }
    .kc-header-wrapper { gap: .5rem; padding-top: .5rem; padding-bottom: .5rem; flex-wrap: wrap; }
    .kc-brand { width: auto; flex: 1; min-width: 0; }
    .kc-brand-name { font-size: 21px; }
    .kc-brand-subtitle { display: none; }
    .kc-header-actions { width: auto; gap: .4rem; }
    .kc-header-actions > :is(.kc-roadmap-header-pill, .kc-reward-header-pill, .kc-vformat-header-pill),
    #kc_guest_header_actions { display: none !important; }
    .kc-user-avatar { width: 44px; height: 44px; }
    .kc-dropdown-menu { left: auto; right: 0; max-height: calc(100dvh - 150px); overflow-y: auto; }
    #kc_header_dynamic_actions:has(button:not([style*="display: none"])) { flex-basis: 100%; }
    .kc-mobile-nav { position: fixed; bottom: 0; left: 0; right: 0; z-index: 110; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 3px; padding: 5px 6px max(5px, env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid #e2e8f0; }
    .kc-mobile-nav button { min-width: 0; min-height: 54px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 3px 0; border: 0; background: transparent; color: #64748b; border-radius: 10px; font-family: inherit; font-size: 10px; font-weight: 600; line-height: 1.2; cursor: pointer; }
    .kc-mobile-nav button span { font-size: 22px; line-height: 1; }
    .kc-mobile-nav button.active { background: #eff6ff; color: #0066e6; }
    .kc-landing-section { padding-top: 18px !important; }
    .kc-hero-grid { gap: 16px; margin-bottom: 24px; }
    .kc-hero-content { text-align: left; }
    .kc-hero-title { font-size: clamp(24px, 6.4vw, 30px); line-height: 1.25; margin: 14px 0; letter-spacing: -.5px; }
    .kc-hero-title br { display: none; }
    .kc-hero-desc { display: none; }
    .kc-mobile-intro { display: block; font-size: 14px; line-height: 1.6; color: #64748b; margin: 0 0 16px; }
    .kc-hero-badge-pill { font-size: 11px; padding: 8px 10px; border-radius: 10px; line-height: 1.4; }
    .kc-hero-actions { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; margin-bottom: 14px; }
    .kc-hero-actions button { width: 100%; min-height: 46px; padding: 12px 16px; font-size: 14px; justify-content: center; }
    .kc-hero-trust-bullets { margin-top: 10px; gap: 6px; }
    .kc-hero-trust-bullets > div:not(:last-child), .kc-hero-illustration { display: none; }
    .kc-modal-overlay { padding: 8px !important; }
    .kc-modal-window { max-width: 100% !important; width: 100% !important; max-height: calc(100dvh - 16px) !important; }
    .kc-modal-window :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea) { max-width: 100%; min-width: 0 !important; font-size: 16px !important; min-height: 44px; }
    #kc_reward_lookup_modal { z-index: 1200; align-items: stretch; }
    #kc_reward_lookup_modal .kc-modal-window { height: calc(100dvh - 16px); border-radius: 14px !important; }
    #kc_reward_lookup_modal .kc-modal-header { padding: 12px !important; border-radius: 14px 14px 0 0 !important; flex-shrink: 0; }
    #kc_reward_lookup_modal .kc-modal-header > div { gap: 8px; align-items: flex-start !important; }
    #kc_reward_lookup_modal .kc-modal-header > div > div { gap: 0 !important; min-width: 0; }
    #kc_reward_lookup_modal .kc-modal-header > div > div > div:first-child { display: none !important; }
    #kc_reward_modal_title { font-size: 16px !important; line-height: 1.35; }
    #kc_reward_lookup_modal .kc-modal-close { flex-shrink: 0; width: 44px !important; height: 44px !important; }
    .kc-reward-legal-details { margin-top: 5px; color: #cbd5e1; font-size: 11px; line-height: 1.5; }
    .kc-reward-legal-details summary { cursor: pointer; min-height: 32px; }
    .kc-reward-legal-details > div { max-height: 24dvh; overflow-y: auto; padding-right: 4px; }
    .kc-reward-controls { padding: 10px 12px !important; flex-shrink: 0; }
    .kc-reward-controls > div:first-child { gap: 8px !important; margin-bottom: 8px !important; }
    .kc-reward-controls > div:first-child > div { width: 100%; min-width: 0 !important; }
    .kc-reward-controls > div:first-child > div:last-child { display: none !important; }
    .kc-reward-controls > div:first-child > div > input { min-height: 44px; }
    .kc-reward-original-filters { display: none !important; }
    .kc-reward-mobile-filters { display: block; }
    .kc-reward-mobile-filters summary { min-height: 36px; font-size: 13px; font-weight: 600; color: #0369a1; cursor: pointer; }
    .kc-reward-mobile-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; max-height: 33dvh; overflow-y: auto; padding-bottom: 4px; }
    .kc-reward-mobile-fields label { display: flex; flex-direction: column; gap: 4px; min-width: 0; font-size: 11px; color: #64748b; }
    .kc-reward-mobile-fields small { font-size: 10px; line-height: 1.4; }
    .kc-reward-mobile-fields select { width: 100%; padding: 6px; border: 1px solid #cbd5e1; border-radius: 8px; background: #fff; color: #0f172a; }
    .kc-reward-stats { padding: 7px 12px !important; flex-shrink: 0; font-size: 11px !important; }
    .kc-reward-stats > div:last-child { display: none !important; }
    #kc_reward_table_container { min-height: 0; overscroll-behavior: contain; overflow-x: hidden; }
    .kc-reward-table, .kc-reward-table tbody { display: block; width: 100%; }
    .kc-reward-table thead { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
    .kc-reward-table tr { display: block; padding: 12px; border-bottom: 1px solid #e2e8f0; }
    .kc-reward-table td { display: block; min-width: 0 !important; width: 100% !important; padding: 3px 0 !important; white-space: normal; overflow-wrap: anywhere; }
    .kc-reward-table td:first-child { display: none; }
    .kc-reward-table td:nth-child(3), .kc-reward-table td:nth-child(4), .kc-reward-table td:nth-child(7) { display: none; }
    .kc-reward-table .kc-reward-row-expanded td:nth-child(3), .kc-reward-table .kc-reward-row-expanded td:nth-child(4), .kc-reward-table .kc-reward-row-expanded td:nth-child(7) { display: block; }
    .kc-reward-row-toggle { margin-top: 6px; min-height: 44px; padding: 8px 12px; border: 0; background: #eff6ff; color: #0369a1; border-radius: 8px; font-family: inherit; font-size: 12px; font-weight: 600; cursor: pointer; }
    .kc-reward-table tr > td[colspan] { display: block !important; }
    #kc_reward_lookup_modal .kc-modal-footer { padding: 8px 12px max(8px, env(safe-area-inset-bottom)) !important; border-radius: 0 !important; flex-shrink: 0; }
    #kc_reward_lookup_modal .kc-modal-footer > div:first-child { display: none; }
    #kc_reward_lookup_modal .kc-modal-footer > div:last-child { width: 100%; display: grid !important; grid-template-columns: 1fr 2fr; gap: 6px !important; }
    #kc_reward_lookup_modal .kc-modal-footer button { min-height: 44px; padding: 8px !important; font-size: 12px !important; white-space: normal; }
    body.kc-reward-open { overflow: hidden; }
}
@media (min-width: 769px) {
    .kc-reward-row-toggle { display: none; }
    .kc-reward-legal-details summary { display: none; }
}
@media print { .kc-mobile-nav, .kc-reward-row-toggle { display: none !important; } }
