#iptv-offline-panel{position:fixed;inset:12px;z-index:2147482000;max-width:760px;margin:auto;overflow:auto;padding:20px;border:1px solid var(--iptv-border,rgba(255,255,255,.18));border-radius:20px;background:var(--media-bg,#0c1a30);color:var(--iptv-text,#f4f6fa);box-sizing:border-box;font-size:16px;overscroll-behavior:contain;}
#iptv-offline-panel h2{margin:0 0 12px;font-size:24px}#iptv-offline-panel p{line-height:1.6;overflow-wrap:anywhere}#iptv-offline-panel button{margin:6px 4px;min-height:46px;padding:10px 14px;font:inherit;border-radius:12px;color:inherit;background:var(--ui-control-bg,rgba(255,255,255,.08));border:1px solid var(--iptv-border,rgba(255,255,255,.2));max-width:100%;white-space:normal}#iptv-offline-panel button:focus-visible{outline:2px solid var(--ui-accent,#c8a76b);outline-offset:2px}#iptv-offline-panel article{padding:16px 0;border-bottom:1px solid var(--iptv-border,rgba(255,255,255,.15))}#iptv-offline-panel article strong{display:block;overflow-wrap:anywhere}#iptv-offline-panel label{display:flex;align-items:center;gap:10px;min-height:48px}#iptv-offline-panel input{width:22px;height:22px;flex:0 0 22px}#iptv-offline-panel .iptv-offline-message:empty{display:none}#iptv-offline-panel .iptv-offline-message{color:var(--ui-accent,#e0c189)}.iptv-episode-download{min-height:44px;margin:6px 0;font:inherit}

/* Same navy controls; the green download icon identifies the action. */
html#iptv-theme-root#iptv-theme-root#iptv-theme-root#iptv-theme-root#iptv-theme-root#iptv-theme-root body[data-phone-library] #iptv-download-video,html#iptv-theme-root#iptv-theme-root#iptv-theme-root#iptv-theme-root#iptv-theme-root#iptv-theme-root body[data-phone-library] .iptv-episode-download{background:#273953a8!important;background-color:#273953a8!important;color:#f5f8ff!important;-webkit-text-fill-color:#f5f8ff!important;border:1px solid #7287a566!important;box-shadow:none!important;gap:8px!important;font-weight:600!important}
html#iptv-theme-root#iptv-theme-root#iptv-theme-root#iptv-theme-root#iptv-theme-root#iptv-theme-root body[data-phone-library] #iptv-download-video::before,html#iptv-theme-root#iptv-theme-root#iptv-theme-root#iptv-theme-root#iptv-theme-root#iptv-theme-root body[data-phone-library] .iptv-episode-download::before{content:""!important;display:inline-block!important;width:29px!important;height:25px!important;min-width:29px!important;margin-inline-end:8px!important;vertical-align:middle!important;border-radius:7px!important;background:#23b779 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 4v11m-4-4 4 4 4-4M5 16v4h14v-4'/%3E%3C/svg%3E") center/19px 19px no-repeat!important;filter:none!important;opacity:1!important}
html#iptv-theme-root#iptv-theme-root#iptv-theme-root#iptv-theme-root#iptv-theme-root#iptv-theme-root body[data-phone-library] #iptv-download-video::after,html#iptv-theme-root#iptv-theme-root#iptv-theme-root#iptv-theme-root#iptv-theme-root#iptv-theme-root body[data-phone-library] .iptv-episode-download::after{content:"PLUS";display:inline-block;font-size:10px;letter-spacing:.7px;padding:3px 6px;margin-inline-start:8px;border-radius:6px;background:#263f55;color:#a9eccf;-webkit-text-fill-color:#a9eccf;vertical-align:middle}
html body[data-phone-library] .morph-plus-overlay{z-index:2147483500!important}

/* The retained phone host does not bundle a separate plus.css. Keep its existing
   activation flow within a bounded, opaque phone modal over IPTV details. */
html body[data-phone-library] .morph-plus-overlay{position:fixed!important;inset:0!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:12px!important;box-sizing:border-box!important;background:rgba(1,7,17,.85)!important;backdrop-filter:blur(9px);color:#f1f5ff!important;font:14px/1.65 Tahoma,Arial,sans-serif!important;isolation:isolate}
html body[data-phone-library] .morph-plus-overlay .morph-plus-dialog{box-sizing:border-box!important;display:flex!important;flex-direction:column!important;width:100%!important;max-width:480px!important;max-height:94vh!important;max-height:calc(100dvh - 24px)!important;min-height:0!important;overflow:hidden!important;padding:16px!important;margin:0!important;border-radius:22px!important;background:#0e1f35!important;border:1px solid #52637b!important;box-shadow:0 24px 90px #000a!important;color:#f1f5ff!important}
html body[data-phone-library] .morph-plus-overlay .plus-dialog-body{display:block!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important;overscroll-behavior:contain;flex:1 1 auto!important;padding:0 3px 16px!important;scroll-padding:14px;overflow-wrap:anywhere}
html body[data-phone-library] .morph-plus-overlay h2{font-size:24px!important;line-height:1.4!important;margin:12px 0!important}
html body[data-phone-library] .morph-plus-overlay h3{font-size:18px!important;margin:12px 0!important}
html body[data-phone-library] .morph-plus-overlay p{font-size:14px!important;margin:10px 0!important}
html body[data-phone-library] .morph-plus-overlay small{font-size:12px!important;line-height:1.6!important}
html body[data-phone-library] .morph-plus-overlay .plus-actions{display:flex!important;flex:0 0 auto!important;flex-wrap:wrap!important;gap:8px!important;padding:12px 0 0!important;border-top:1px solid #3c506b!important;background:#0e1f35!important}
html body[data-phone-library] .morph-plus-overlay button{box-sizing:border-box!important;min-height:46px!important;border:1px solid #526a88!important;border-radius:12px!important;background:#253b57!important;color:#f1f5ff!important;-webkit-text-fill-color:#f1f5ff!important;font:600 14px/1.5 Tahoma,Arial,sans-serif!important;padding:10px 14px!important;white-space:normal!important;max-width:100%!important}
html body[data-phone-library] .morph-plus-overlay .plus-actions button{flex:1!important}
html body[data-phone-library] .morph-plus-overlay input{box-sizing:border-box!important;width:100%!important;min-height:46px!important;border:1px solid #526a88!important;border-radius:10px!important;background:#071424!important;color:white!important;padding:10px!important;font:16px monospace!important}
html body[data-phone-library] .morph-plus-overlay .plus-plans{display:flex!important;flex-wrap:wrap!important;gap:8px!important;margin:14px 0!important}
html body[data-phone-library] .morph-plus-overlay .plus-plans article{flex:1!important;min-width:110px!important;padding:12px!important;border:1px solid #3e5878!important;border-radius:12px!important;background:#172e49!important}
html body[data-phone-library] .morph-plus-overlay .plus-plans span{display:block!important}
html body[data-phone-library] .morph-plus-overlay .plus-purchase{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:12px!important;margin:14px 0!important}
html body[data-phone-library] .morph-plus-overlay .plus-purchase-qr{width:100px!important;height:100px!important;object-fit:contain!important;border-radius:10px!important;background:white!important;padding:5px!important}
html body[data-phone-library] .morph-plus-overlay .plus-feature-list{padding-inline-start:22px!important;font-size:13px!important}
html body[data-phone-library] .morph-plus-overlay .plus-feature-list li{margin:8px 0!important}
html body[data-phone-library] .morph-plus-overlay :focus-visible{outline:2px solid #91bbff!important;outline-offset:2px!important}

/* Entitled users see the normal download action, without a paid-feature badge. */
html#iptv-theme-root#iptv-theme-root#iptv-theme-root#iptv-theme-root#iptv-theme-root#iptv-theme-root body[data-phone-library] #iptv-download-video[data-plus-active="true"]::after,html#iptv-theme-root#iptv-theme-root#iptv-theme-root#iptv-theme-root#iptv-theme-root#iptv-theme-root body[data-phone-library] .iptv-episode-download[data-plus-active="true"]::after{content:none!important;display:none!important}
