:root{--idtv-body:18px;--idtv-small:16px;--idtv-label:15px;--idtv-button:16px}
html{font-size:18px;-webkit-text-size-adjust:100%;max-width:100%;overflow-x:clip}body{font-size:var(--idtv-body)!important;line-height:1.55;max-width:100%;overflow-x:clip}body *{min-width:0}img,video,canvas,svg{max-width:100%}p,li{font-size:1rem;line-height:1.55;overflow-wrap:anywhere}.muted,small{font-size:var(--idtv-small)!important;line-height:1.45}.eyebrow,label,.idtv-remote-label{font-size:var(--idtv-label)!important;line-height:1.35}.btn,button,.idtv-remote-link b,.idtv-auth-actions a{font-size:var(--idtv-button)!important;min-height:48px}.input,input,select,textarea{font-size:17px!important;min-height:48px;max-width:100%}.panel h2{font-size:clamp(25px,4vw,34px)!important}.panel h3{font-size:clamp(20px,3vw,27px)!important}table{max-width:100%;border-collapse:collapse}pre,code{max-width:100%;white-space:pre-wrap;overflow-wrap:anywhere}
/* Global readability floor for the compact PWA UI. */
:where(.caption span,.card p,.card small,.card strong,.lead,.foot,.multi-live,.channel-btn,.show-heading p,.show-status,.access-banner,.show-clock span,.show-clock small,.portal-winner span,.portal-controls button,.revealed-prize,.section-head span,.prize-chip b,.activity-row,.schedule-row,.auction-meta-row span,.auction-leader,.auction-timer small,.auction-timer span,.shop-timer small,.shop-timer span,.helper,.shop-copy p,.deal-label,.shop-deal>small,.shop-mini b,.shop-mini span,.payment p,.status,.open-payment,.row small,.row b,th,td,.product p,.product button,.address small,.event,.tracking-code,.note p,.note small){font-size:16px!important;line-height:1.45}
:where(.channel-btn,.portal-controls button,.actions a,.package a,.submit,.save,.buy-button,.pay){font-size:17px!important;font-weight:900}
:where(.section-head b,.portal-winner b,.product h3,.order-top h3,.note h3){font-size:18px!important}
@media(max-width:640px){:root{--idtv-body:18px;--idtv-small:16px;--idtv-label:14px;--idtv-button:16px}html{font-size:18px}body{font-size:18px!important}:where(.caption span,.card p,.card small,.lead,.foot,.multi-live,.channel-btn,.show-heading p,.show-status,.access-banner,.show-clock span,.show-clock small,.portal-winner span,.portal-controls button,.revealed-prize,.section-head span,.prize-chip b,.activity-row,.schedule-row,.auction-meta-row span,.auction-timer small,.auction-timer span,.shop-timer small,.shop-timer span,.helper,.shop-copy p,.deal-label,.shop-deal>small,.shop-mini b,.shop-mini span,.payment p,.status,.open-payment,.row small,.row b,th,td,.product p,.product button,.address small,.event,.tracking-code,.note p,.note small){font-size:16px!important}.idtv-remote-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
/* PWA installation and notification sheets */
.idtv-pwa-modal{position:fixed;z-index:99999;inset:0;display:grid;place-items:end center;padding:18px max(12px,env(safe-area-inset-right)) calc(18px + env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left));background:rgba(0,0,0,.76);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.idtv-pwa-sheet{width:min(560px,100%);max-width:100%;padding:24px;border-radius:26px;background:radial-gradient(circle at 80% 0,rgba(167,255,63,.09),transparent 32%),linear-gradient(155deg,#190b2a,#09060f);border:1px solid rgba(190,126,255,.25);box-shadow:0 30px 100px #000}.idtv-pwa-sheet>img{width:78px;height:78px;object-fit:contain}.idtv-pwa-kicker{color:#a7ff3f;font-weight:900;font-size:15px;letter-spacing:.12em}.idtv-pwa-sheet h2{font:700 clamp(30px,8vw,45px) 'Space Grotesk';margin:7px 0 11px}.idtv-pwa-body,.idtv-pwa-body p,.idtv-pwa-body li{color:#c9bed1;font-size:17px!important}.idtv-pwa-body ol{padding-left:24px}.idtv-pwa-actions{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin-top:20px}.idtv-pwa-actions button{border:1px solid rgba(255,255,255,.1);border-radius:14px;background:rgba(255,255,255,.04);color:#fff;font-weight:900;min-height:54px;font-size:17px!important}.idtv-pwa-actions .primary{background:linear-gradient(100deg,#a855f7,#a7ff3f);color:#08040d;border:0}@media(max-width:480px){.idtv-pwa-actions{grid-template-columns:1fr}.idtv-pwa-sheet{padding:20px}}
/* Final compact install / notification prompts */
.idtv-install-badge,.idtv-notify-badge{position:fixed;z-index:9000;left:50%;bottom:calc(14px + env(safe-area-inset-bottom));transform:translateX(-50%);width:min(440px,calc(100% - 22px));display:flex;align-items:center;gap:10px;padding:10px 11px;border-radius:18px;background:rgba(14,8,22,.96);border:1px solid rgba(190,126,255,.22);box-shadow:0 20px 70px rgba(0,0,0,.5);backdrop-filter:blur(18px)}.idtv-install-badge img,.idtv-notify-badge img{width:40px;height:40px;object-fit:contain;flex:none}.idtv-install-badge .copy,.idtv-notify-badge .copy{min-width:0;flex:1}.idtv-install-badge b,.idtv-notify-badge b{display:block;font:700 16px 'Space Grotesk';line-height:1.15}.idtv-install-badge small,.idtv-notify-badge small{display:block;color:#a99db4;font-size:12px!important;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.idtv-install-badge button,.idtv-notify-badge button{min-height:44px!important;padding:9px 14px;border-radius:12px;border:1px solid rgba(167,255,63,.22);background:rgba(167,255,63,.10);color:#dfffbd;font-size:14px!important;font-weight:900}.idtv-install-badge .x,.idtv-notify-badge .x{width:36px;min-width:36px;padding:0;color:#9b8ea8;border-color:rgba(255,255,255,.07);background:rgba(255,255,255,.03)}
@media(max-width:430px){.idtv-install-badge,.idtv-notify-badge{bottom:calc(10px + env(safe-area-inset-bottom));padding:10px;gap:8px}.idtv-install-badge img,.idtv-notify-badge img{width:42px;height:42px}.idtv-install-badge b,.idtv-notify-badge b{font-size:16px!important}.idtv-install-badge small,.idtv-notify-badge small{display:none}.idtv-install-badge button,.idtv-notify-badge button{min-height:48px!important;padding:10px 15px;font-size:15px!important}.idtv-install-badge .x,.idtv-notify-badge .x{width:40px;min-width:40px;padding:0}}
