/* Final mobile layer, deliberately loaded after individual page styles. */
.knox-mobile-setting-summary{display:none}
@media(min-width:721px){.knox-mobile-setting,.knox-mobile-setting-content,.knox-mobile-table-scroll{display:contents}}
@media(max-width:720px){
 body.knox-mobile-app{overflow-x:clip}
 body.knox-mobile-app .container{max-width:100%;min-width:0}
 body.knox-mobile-app input:not([type=checkbox]):not([type=radio]),body.knox-mobile-app select,body.knox-mobile-app textarea{font-size:16px!important;max-width:100%;box-sizing:border-box}
 body.knox-mobile-app input:not([type=checkbox]):not([type=radio]):not([type=hidden]),body.knox-mobile-app select{min-height:44px}
 body.knox-mobile-app textarea{min-height:112px}
 body.knox-mobile-app button,body.knox-mobile-app .btn{touch-action:manipulation}
 body.knox-mobile-app :focus-visible{outline:2px solid #c49aec;outline-offset:3px}
 body.knox-mobile-app .knox-sidebar{padding-bottom:calc(90px + env(safe-area-inset-bottom))!important}
 body.knox-mobile-app.knox-sidebar-open{overflow:hidden}
 body.knox-mobile-app .notification-panel{max-width:calc(100vw - 24px)!important;max-height:65dvh;overflow-y:auto}
 body.knox-mobile-app[data-mobile-workspace] .section{padding:22px 0!important}
 body.knox-mobile-app[data-mobile-workspace] .container{width:100%!important;padding:0 16px!important}
 body.knox-mobile-app[data-mobile-workspace] .section-title{font-size:26px!important;line-height:1.15!important;margin-bottom:8px!important}
 body.knox-mobile-app[data-mobile-workspace] .section-subtitle{font-size:13px!important;line-height:1.5!important;margin-bottom:20px!important}
 body.knox-mobile-app[data-mobile-workspace] .admin-tabs{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto!important;gap:6px!important;padding:4px 0 10px!important;max-width:100%;scrollbar-width:thin}
 body.knox-mobile-app[data-mobile-workspace] .admin-tab-btn{flex:0 0 auto!important;min-height:44px!important;padding:10px 15px!important;border-radius:12px!important;white-space:nowrap}
 body.knox-mobile-app[data-mobile-workspace] :is(.card,.studio-dash-card,.moderation-card){min-width:0!important;border-radius:17px!important;background:#1a263d!important;border-color:#394760!important;padding:16px!important}
 body.knox-mobile-app[data-mobile-workspace] :is(.studio-main-grid,.admin-overview-sections,.knox-community-studio-grid){grid-template-columns:minmax(0,1fr)!important;gap:14px!important}
 body.knox-mobile-app[data-mobile-workspace] .studio-stats-row,body.knox-mobile-app[data-mobile-workspace] .admin-overview-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
 body.knox-mobile-app[data-mobile-workspace] .studio-metric-card{padding:14px!important}
 body.knox-mobile-app[data-mobile-workspace] .studio-metric-card strong{font-size:25px!important}
 body.knox-mobile-app[data-mobile-workspace] .studio-metric-card span{font-size:12px!important}
 body.knox-mobile-app[data-mobile-workspace] .studio-dash-hero{grid-template-columns:1fr!important;gap:16px!important}
 body.knox-mobile-app[data-mobile-workspace] .studio-dash-profile{flex-direction:row!important;align-items:center!important;gap:13px!important}
 body.knox-mobile-app[data-mobile-workspace] .studio-dash-avatar{width:64px!important;height:64px!important;flex:0 0 64px!important;border-radius:16px!important}
 body.knox-mobile-app[data-mobile-workspace] .studio-dash-copy{min-width:0}
 body.knox-mobile-app[data-mobile-workspace] .studio-dash-copy h2{font-size:22px!important;overflow-wrap:anywhere}
 body.knox-mobile-app[data-mobile-workspace] .studio-dash-hero-actions{display:flex!important;flex-wrap:wrap!important;gap:8px!important}
 body.knox-mobile-app[data-mobile-workspace] .studio-dash-hero-actions a{min-height:44px!important;flex:1 1 130px!important;text-align:center}
 body.knox-mobile-app[data-mobile-workspace] .studio-chart-wrap{height:220px!important}
 body.knox-mobile-app[data-mobile-workspace] .studio-panel-head{flex-wrap:wrap!important;gap:10px!important}
 body.knox-mobile-app[data-mobile-workspace] .studio-content-tools{grid-template-columns:minmax(0,1fr)!important}
 body.knox-mobile-app[data-mobile-workspace] .studio-content-row{gap:12px!important}
 body.knox-mobile-app[data-mobile-workspace] .studio-row-actions{display:flex;flex-wrap:wrap;gap:8px}
 body.knox-mobile-app[data-mobile-workspace] .studio-row-actions :is(a,button){min-height:44px;display:inline-flex;align-items:center;padding:8px 12px}
 body.knox-mobile-app[data-mobile-workspace] form[style*="grid-template-columns"]{grid-template-columns:minmax(0,1fr)!important}
 body.knox-mobile-app[data-mobile-workspace] :is(.form-row,.form-grid,.form-columns){grid-template-columns:minmax(0,1fr)!important;flex-wrap:wrap}
 body.knox-mobile-app .knox-mobile-table-scroll{overflow-x:auto;max-width:100%;border:1px solid #394760;border-radius:14px;margin:12px 0;overscroll-behavior-x:contain}
 body.knox-mobile-app .knox-mobile-table-scroll:before{content:'Swipe to view more →';display:block;position:sticky;left:0;padding:10px 12px;color:#c9a7ee;font-size:11px;background:#162137}
 body.knox-mobile-app .knox-mobile-table-scroll table{min-width:580px;margin:0}
 body.knox-mobile-app .knox-mobile-table-scroll :is(td,th){padding:12px!important}
 body.knox-mobile-app .profile-settings-section:has(>.knox-mobile-setting){padding:0!important;overflow:hidden}
 body.knox-mobile-app .knox-mobile-setting-summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:17px;cursor:pointer;list-style:none;font-size:15px;font-weight:750;color:#f5f3fb;min-height:58px}
 body.knox-mobile-app .knox-mobile-setting-summary::-webkit-details-marker{display:none}
 body.knox-mobile-app .knox-mobile-setting-summary:after{content:'+';color:#c49aec;font-size:22px;font-weight:400}
 body.knox-mobile-app .knox-mobile-setting[open]>.knox-mobile-setting-summary:after{content:'−'}
 body.knox-mobile-app .knox-mobile-setting-content{padding:0 17px 17px}
 body.knox-mobile-app .knox-mobile-setting-content>.profile-settings-section-head{display:none}
 body.knox-mobile-app .profile-settings-main,body.knox-mobile-app .profile-settings-aside{gap:12px!important}
 body.knox-mobile-app .profile-settings-actions{margin-top:16px!important;padding:16px!important}
 body.knox-mobile-app[data-knox-page="creator-v2"] .kv2-page .kv2-giveaway-card{overflow:hidden!important;border:1px solid #394760!important;border-radius:17px!important;background:#1a263d!important;padding:14px!important}
 body.knox-mobile-app[data-knox-page="creator-v2"] .kv2-page .kv2-side-title{flex-wrap:wrap!important;gap:6px!important;margin-bottom:12px!important}
 body.knox-mobile-app[data-knox-page="creator-v2"] .kv2-page .kv2-giveaway-media{border-radius:12px!important;overflow:hidden!important}
 body.knox-mobile-app[data-knox-page="creator-v2"] .kv2-page .kv2-giveaway-media img{width:100%!important;max-height:155px!important;object-fit:cover!important}
 body.knox-mobile-app[data-knox-page="creator-v2"] .kv2-page .kv2-giveaway-card button{width:100%!important;min-height:44px!important;margin-top:12px!important;border:1px solid #8c68bc!important;border-radius:11px!important;background:#7650ab!important;color:white!important}
 body.knox-mobile-app[data-knox-page="creator-v2"] .kv2-page .kv2-giveaway-grid{grid-template-columns:minmax(0,1fr)!important}
 body.knox-mobile-app[data-knox-page="creator-v2"] .kv2-page .kv2-giveaway-tile{border-radius:16px!important;overflow:hidden!important;background:#1a263d!important}
 body.knox-mobile-app[data-knox-page="creator-v2"] .kv2-page .kv2-giveaway-tile img{max-height:180px!important;object-fit:cover!important}
}
@media(prefers-reduced-motion:reduce){body.knox-mobile-app *{scroll-behavior:auto!important}}
@media(max-width:720px){
 body.knox-mobile-app .knox-mobile-tabbar{grid-template-columns:repeat(var(--mobile-tab-count,5),minmax(0,1fr))!important}
 /* One header control: the sidebar menu replaces the redundant back control. */
 body.knox-mobile-app[data-knox-page="creator-v2"] .site-header .knox-mobile-back{display:none!important}
 body.knox-mobile-app[data-knox-page="creator-v2"] .site-header .knox-burger{position:static!important;inset:auto!important;transform:none!important;align-items:center!important;justify-content:center!important;box-shadow:none!important}
 body.knox-mobile-app[data-knox-page="creator-v2"] .kv2-page .kv2-socials{width:100%!important;max-width:none!important;min-width:0!important;flex-wrap:wrap!important;overflow:visible!important;height:auto!important;clip-path:none!important}
 body.knox-mobile-app[data-knox-page="creator-v2"] .kv2-page .kv2-socials a{display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 38px!important;width:38px!important;height:38px!important;border-radius:10px!important}
 body.knox-mobile-app[data-knox-page="creator-v2"] .kv2-page .kv2-socials svg{width:19px!important;height:19px!important;display:block!important}
 body.knox-mobile-app[data-knox-page="creator-v2"] .kv2-page .kv2-deal-card{grid-template-rows:auto!important;align-items:stretch!important;position:relative!important;padding:0!important;gap:0!important;height:auto!important}
 body.knox-mobile-app[data-knox-page="creator-v2"] .kv2-page .kv2-deal-media{position:relative!important;inset:auto!important;grid-column:1!important;grid-row:1!important;width:85px!important;max-width:85px!important;min-width:0!important;transform:none!important;aspect-ratio:auto!important;overflow:hidden!important}
 body.knox-mobile-app[data-knox-page="creator-v2"] .kv2-page .kv2-deal-copy{position:relative!important;inset:auto!important;grid-column:2!important;grid-row:1!important;display:flex!important;flex-direction:column!important;justify-content:center!important;width:auto!important;max-width:none!important;height:auto!important;margin:0!important;transform:none!important;text-align:left!important;gap:7px!important;overflow-wrap:anywhere}
 body.knox-mobile-app[data-knox-page="creator-v2"] .kv2-page .kv2-deal-copy>*{position:static!important;transform:none!important;margin:0!important}
 body.knox-mobile-app[data-knox-page="creator-v2"] .kv2-page .kv2-deal-top{display:flex!important;flex-wrap:wrap!important;gap:6px!important;font-size:11px!important}
 body.knox-mobile-app[data-knox-page="creator-v2"] .kv2-page .kv2-all-updates{display:grid!important;grid-template-columns:1fr!important;gap:12px!important}
 body.knox-mobile-app[data-knox-page="creator-v2"] .kv2-page .kv2-all-updates .kv2-update-card{display:grid!important;grid-template-columns:96px minmax(0,1fr)!important;grid-template-rows:auto!important;gap:14px!important;padding:12px!important;align-items:center!important;border:1px solid #394760!important;border-radius:16px!important;background:#1a263d!important;min-height:122px!important;height:auto!important}
 body.knox-mobile-app[data-knox-page="creator-v2"] .kv2-page .kv2-all-updates .kv2-update-media{position:relative!important;grid-area:auto!important;width:96px!important;height:96px!important;aspect-ratio:1!important;border-radius:12px!important;overflow:hidden!important}
 body.knox-mobile-app[data-knox-page="creator-v2"] .kv2-page .kv2-all-updates .kv2-update-media img{width:100%!important;height:100%!important;object-fit:cover!important}
 body.knox-mobile-app[data-knox-page="creator-v2"] .kv2-page .kv2-all-updates .kv2-update-body{position:static!important;grid-area:auto!important;padding:0!important;min-width:0!important;align-self:center!important}
 body.knox-mobile-app[data-knox-page="creator-v2"] .kv2-page .kv2-all-updates .kv2-update-body h3{font-size:16px!important;line-height:1.35!important;margin:5px 0!important}
 body.knox-mobile-app[data-knox-page="creator-v2"] .kv2-page .kv2-all-updates .kv2-update-body :is(p,small){font-size:12px!important;line-height:1.45!important}
 body.knox-mobile-app[data-knox-page="creator-v2"] .kv2-page .kv2-giveaway-tile{display:grid!important;grid-template-columns:90px minmax(0,1fr)!important;grid-template-rows:auto!important;gap:14px!important;align-items:center!important;padding:14px!important;min-height:122px!important;height:auto!important;text-align:left!important}
 body.knox-mobile-app[data-knox-page="creator-v2"] .kv2-page .kv2-giveaway-tile>:is(img,.kv2-placeholder){grid-area:auto!important;width:90px!important;height:100px!important;min-height:0!important;aspect-ratio:auto!important;border-radius:11px!important;object-fit:cover!important;margin:0!important}
 body.knox-mobile-app[data-knox-page="creator-v2"] .kv2-page .kv2-giveaway-grid .kv2-giveaway-tile>div:last-child{grid-area:auto!important;padding:0!important;min-width:0!important;position:static!important}
 body.knox-mobile-app[data-knox-page="creator-v2"] .kv2-page .kv2-giveaway-tile h3{font-size:16px!important;line-height:1.3!important;margin:5px 0!important}
 body.knox-mobile-app[data-knox-page="creator-v2"] .kv2-page .kv2-giveaway-tile p{font-size:12px!important;line-height:1.45!important;margin:0 0 9px!important}
 body.knox-mobile-app[data-knox-page="creator-v2"] .kv2-page .kv2-giveaway-tile strong{font-size:13px!important}
 body.knox-mobile-app[data-knox-page="creator-v2"] .kv2-page .kv2-giveaway-tile .kv2-ended-image{filter:blur(3px) grayscale(.4)!important;opacity:.65}
 body.knox-mobile-app[data-knox-page="creator-v2"] .kv2-page .kv2-giveaway-card button{display:flex!important;justify-content:center!important;align-items:center!important;line-height:1.2!important;padding:12px!important;text-align:center!important}
}
