/* IPTV4U — Graphite / emerald. Shared presentation; URLs and content stay in JSON. */
html[data-theme] {
  --ui-bg: #f0f2f3;
  --ui-surface: rgba(255,255,255,.7);
  --ui-solid: #fff;
  --ui-soft: #e8edeb;
  --ui-ink: #20292a;
  --ui-muted: #566563;
  --ui-green: #067454;
  --ui-on-green: #f5fff9;
  --ui-bright: #a4efcb;
  --ui-tint: #e1f2e9;
  --ui-line: rgba(42,59,55,.12);
  --ui-shadow: 0 14px 45px -25px rgba(35,55,48,.22);
  --ui-glass: blur(22px) saturate(135%);
  --ui-radius: 24px;
  --primary: var(--ui-green);
  --primary-dark: #056448;
  --primary-light: #30b886;
  --primary-glow: var(--ui-green);
  --secondary-glow: #056448;
  --accent-glow: #30b886;
  --bg: var(--ui-bg);
  --bg-primary: var(--ui-bg);
  --bg-secondary: var(--ui-soft);
  --bg-tertiary: var(--ui-solid);
  --bg-card: var(--ui-surface);
  --bg-glass: var(--ui-surface);
  --bg-glass-strong: var(--ui-solid);
  --bg-soft: var(--ui-soft);
  --text: var(--ui-ink);
  --text-primary: var(--ui-ink);
  --text-secondary: var(--ui-muted);
  --text-light: var(--ui-ink);
  --text-muted: var(--ui-muted);
  --border: var(--ui-line);
  --border-light: var(--ui-line);
  --shadow-lg: var(--ui-shadow);
  --shadow-xl: var(--ui-shadow);
  color-scheme: light;
  scroll-padding-top: 115px;
}
html[data-theme="dark"] {
  --ui-bg: #1b2023;
  --ui-surface: rgba(43,51,53,.68);
  --ui-solid: #293134;
  --ui-soft: #242c2d;
  --ui-ink: #eef2f0;
  --ui-muted: #adbab7;
  --ui-green: #49dda4;
  --ui-on-green: #103729;
  --ui-bright: #a4efcb;
  --ui-tint: #283f36;
  --ui-line: rgba(218,237,229,.13);
  --ui-shadow: 0 20px 50px -25px rgba(0,0,0,.4);
  --primary-dark: #a4efcb;
  color-scheme: dark;
}
html[data-theme] body {
  margin: 0;
  background: var(--ui-bg);
  color: var(--ui-ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.7;
}
html[data-theme] body::selection { background: var(--ui-bright); color: #163e2e; }
html[data-theme] a, html[data-theme] button { -webkit-tap-highlight-color: transparent; }
html[data-theme] #iptv4u-site :is(a,button,input,summary,select):focus-visible { outline: 3px solid var(--ui-green); outline-offset: 5px; }
html[data-theme] button, html[data-theme] input, html[data-theme] select { font: inherit; }
html[data-theme] #iptv4u-site :is(h1,h2,h3) { text-wrap: balance; }
html[data-theme] p { text-wrap: pretty; }
html[data-theme] .container { width: min(100% - 64px, 1200px); max-width: 1200px; padding-inline: 0; }
html[data-theme] .skip-link { position: fixed; top: -100px; left: 24px; z-index: 20000; padding: 12px 22px; background: var(--ui-green); color: var(--ui-bg); border-radius: 12px; }
html[data-theme] .skip-link:focus { top: 14px; }

/* Floating glass navigation. */
html[data-theme] .announcement-bar { background: #263530; color: #e5efe9; padding: 8px 0; font-size: 11px; letter-spacing: .02em; border: 0; animation: none; }
html[data-theme] .announcement-content { justify-content: center; gap: 16px; flex-direction: row; }
html[data-theme] .announcement-text { font-weight: 450; color: #d9e5df; }
html[data-theme] .announcement-link { font-size: 11px; border: 0; padding: 0; color: #a4efcb; }
html[data-theme] .site-header { position: sticky; top: 12px; width: min(100% - 48px, 1264px); margin: 16px auto 0; padding: 15px 25px; border: 1px solid var(--ui-line); border-radius: 22px; background: var(--ui-surface); backdrop-filter: var(--ui-glass); -webkit-backdrop-filter: var(--ui-glass); box-shadow: 0 8px 30px -20px #152c354d, inset 0 1px 0 #ffffff80; }
html[data-theme] .site-header .container { width: 100%; }
html[data-theme] .header-content { min-height: 39px; gap: 22px; }
html[data-theme] #iptv4u-site .site-header { transition: background-color .2s, border-color .2s, box-shadow .2s; }
html[data-theme] #iptv4u-site .logo:hover img { transform: none; }
html[data-theme="light"] #iptv4u-site .logo img { filter: none; }
html[data-theme] .logo { flex-shrink: 0; }
html[data-theme] .logo img { width: 144px; height: auto; display: block; }
html[data-theme="dark"] :is(.logo,.footer-logo) img { filter: brightness(0) invert(1); }
html[data-theme] .nav-list { gap: 4px; }
html[data-theme] .nav-link { color: var(--ui-muted); padding: 9px 13px; border-radius: 10px; font-size: 12px; font-weight: 550; background: transparent; }
html[data-theme] .nav-link:hover, html[data-theme] .nav-link[aria-current="page"] { color: var(--ui-green); background: var(--ui-tint); }
html[data-theme] .nav-link::after { display: none; }
html[data-theme] #iptv4u-site .main-nav .nav-link { min-height: 44px; white-space: nowrap; gap: 8px; }
html[data-theme] #iptv4u-site .main-nav .nav-link::before { display: none; }
html[data-theme] #iptv4u-site .main-nav .nav-link > .ui-icon { width: 14px; height: 14px; flex: 0 0 14px; }
html[data-theme] #iptv4u-site .main-nav .nav-link > .dropdown-arrow { width: 12px; height: 12px; flex-basis: 12px; margin-left: 2px !important; }
html[data-theme] .nav-icon { display: none; }
html[data-theme] .header-actions { gap: 7px; }
html[data-theme] .header-actions .action-btn { width: 35px; height: 35px; min-width: 35px; padding: 0; border: 1px solid transparent; border-radius: 11px; color: var(--ui-ink); background: transparent; box-shadow: none; font-size: 14px; }
html[data-theme] .header-actions .action-btn:hover { background: var(--ui-tint); border-color: var(--ui-line); color: var(--ui-green); transform: none; }
html[data-theme] #iptv4u-site .header-actions { flex-shrink: 0; gap: 6px; }
html[data-theme] #iptv4u-site .header-actions .action-btn { width: 40px; height: 44px; min-width: 40px; background: var(--ui-soft); border-color: var(--ui-line); }
html[data-theme] #iptv4u-site .header-actions .action-btn:hover { background: var(--ui-tint); color: var(--ui-green); border-color: var(--ui-green); }
html[data-theme] .nav-dropdown { padding: 8px; background: var(--ui-solid); border: 1px solid var(--ui-line); border-radius: 18px; box-shadow: var(--ui-shadow); top: calc(100% + 8px); }
html[data-theme] .nav-dropdown::after { content:''; position: absolute; inset: -14px 0 auto; height: 16px; }
html[data-theme] .nav-dropdown::before { display: none; }
html[data-theme] .nav-item.has-dropdown:focus-within .nav-dropdown { visibility: visible; opacity: 1; transform: translateY(0); }
html[data-theme] .dropdown-item { color: var(--ui-ink); border: 0; padding: 11px; border-radius: 10px; }
html[data-theme] .dropdown-item:hover { background: var(--ui-tint); }
html[data-theme] #iptv4u-site .nav-dropdown { max-height: calc(100dvh - 140px); overflow-y: auto; overscroll-behavior: contain; }
html[data-theme] #iptv4u-site .nav-dropdown .dropdown-item { gap: 12px; min-height: 42px; font-size: 13px; }
html[data-theme] #iptv4u-site .nav-dropdown .dropdown-item > .ui-icon { color: var(--ui-green); width: 18px; height: 18px; flex: 0 0 18px; }
html[data-theme] #iptv4u-site .nav-dropdown .dropdown-item > a { color: var(--ui-green) !important; gap: 12px; }
html[data-theme] .dropdown-item i, html[data-theme] .dropdown-header { color: var(--ui-green); }
html[data-theme] .mobile-nav { background: var(--ui-solid); color: var(--ui-ink); padding-top: 18px; box-shadow: -20px 0 90px #0a171a33; }
html[data-theme] #iptv4u-site :is(.mobile-nav-title,.mobile-close,.mobile-nav-link,.mobile-nav-link span,.mobile-dropdown-toggle,.mobile-dropdown-toggle span,.mobile-dropdown-toggle i,.mobile-dropdown-link,.mobile-dropdown-link span) { color: var(--ui-ink) !important; }
html[data-theme] .mobile-nav-link, html[data-theme] .mobile-dropdown-link { border-radius: 12px; padding: 13px; }
html[data-theme] .mobile-nav-link:hover, html[data-theme] .mobile-dropdown-link:hover { background: var(--ui-tint); }
html[data-theme] .mobile-dropdown { display: block; }
html[data-theme] .search-overlay { background: #15232780; backdrop-filter: blur(15px); padding: 15vh 20px 30px; overflow-y: auto; }
html[data-theme] .search-container { background: var(--ui-solid); border: 1px solid var(--ui-line); border-radius: 26px; box-shadow: 0 30px 100px #10222140; padding: 32px; width: min(100%, 660px); margin: 0 auto; }
html[data-theme] .search-title { color: var(--ui-ink); font-size: 20px; letter-spacing: -.04em; }
html[data-theme] .search-close { color: var(--ui-muted); }
html[data-theme] .search-input { color: var(--ui-ink); background: var(--ui-bg); border-color: var(--ui-line); border-radius: 14px; font-size: 16px; }
html[data-theme] .search-submit { color: var(--ui-green); background: transparent; }
html[data-theme] .search-tag { background: var(--ui-soft); color: var(--ui-ink); border: 1px solid var(--ui-line); }
html[data-theme] #search-results { max-height: 330px; overflow-y: auto; overscroll-behavior: contain; margin-top: 16px; }
html[data-theme] #search-results p { color: var(--ui-muted); font-size: 13px; }
html[data-theme] #search-results ul { list-style: none; padding: 0; margin: 12px 0; }
html[data-theme] #search-results a { display: block; padding: 13px; color: var(--ui-ink); border-radius: 10px; text-decoration: none; border-bottom: 1px solid var(--ui-line); font-size: 14px; }
html[data-theme] #search-results a:hover { background: var(--ui-tint); color: var(--ui-green); }

/* Home: editorial composition, generous space, illustrative device architecture. */
html[data-theme] .home { background: var(--ui-bg); color: var(--ui-ink); }
html[data-theme] .home .hero-modern { display: block; min-height: 0; overflow: clip; padding: 74px 0 38px; background: transparent; }
html[data-theme] .home .hero-modern::before { content:''; position: absolute; width: 500px; height: 500px; right: -100px; top: -80px; background: radial-gradient(circle, #b5e9d450, transparent 70%); pointer-events: none; }
html[data-theme] .home .hero-content { display: grid; grid-template-columns: 1.03fr 1fr; gap: 64px; align-items: center; min-height: 490px; padding: 0; }
html[data-theme] .home .hero-text { max-width: 620px; }
html[data-theme] .design-eyebrow { display: flex; align-items: center; gap: 10px; color: var(--ui-green); font-size: 10px; font-weight: 650; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 27px; }
html[data-theme] .design-eyebrow::before { content:''; width: 7px; height: 7px; border: 1px solid var(--ui-green); background: var(--ui-green); border-radius: 50%; box-shadow: 0 0 0 5px var(--ui-tint); }
html[data-theme] .home .hero-title { font-size: clamp(48px,5.4vw,76px); font-weight: 550; letter-spacing: -.075em; line-height: 1.06; color: var(--ui-ink); margin: 0 0 27px; }
html[data-theme] .home .hero-title .title-line { display: block; color: var(--ui-ink); animation: none; }
html[data-theme] .home .hero-title .title-gradient { display: block; color: var(--ui-green); background: none; -webkit-text-fill-color: currentColor; animation: none; }
html[data-theme] .home .hero-subtitle { margin: 0; max-width: 440px; color: var(--ui-muted); font-size: 15px; line-height: 1.85; font-weight: 400; }
html[data-theme] .home .hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin-top: 30px; }
html[data-theme] .design-primary, html[data-theme] .design-secondary { display: inline-flex; align-items: center; justify-content: center; gap: 24px; min-height: 49px; border-radius: 12px; font-size: 12px; font-weight: 600; text-decoration: none; transition: transform .2s, background .2s, box-shadow .2s; }
html[data-theme] .design-primary { padding: 0 21px; background: #087b59; color: #fff; box-shadow: 0 8px 18px -10px #087b5980; border: 1px solid #087b59; }
html[data-theme] .design-primary:hover { transform: translateY(-2px); background: #056448; box-shadow: 0 12px 22px -12px #087b5990; }
html[data-theme] .design-primary svg { width: 17px; height: 17px; }
html[data-theme] .design-secondary { color: var(--ui-ink); gap: 8px; }
html[data-theme] .design-secondary:hover { color: var(--ui-green); }
html[data-theme] .hero-footnote { display: flex; align-items: center; gap: 10px; font-size: 10px; color: var(--ui-muted); margin-top: 29px; }
html[data-theme] .hero-footnote svg { width: 15px; height: 15px; color: var(--ui-green); }
html[data-theme] .design-composition { position: relative; width: 100%; min-width: 0; height: 466px; isolation: isolate; }
html[data-theme] .composition-orbit { position: absolute; width: 400px; height: 400px; top: 20px; left: 44px; border: 1px solid var(--ui-line); border-radius: 50%; }
html[data-theme] .composition-orbit::after { content:''; position: absolute; inset: 32px; border: 1px dashed var(--ui-line); border-radius: 50%; }
html[data-theme] .composition-glow { position: absolute; width: 240px; height: 240px; inset: 110px auto auto 150px; border-radius: 50%; background: #71d7a533; filter: blur(36px); }
html[data-theme] .glass-screen { position: absolute; top: 47px; left: 12px; right: 8px; border: 1px solid #ffffffa8; border-radius: 23px; padding: 10px; background: linear-gradient(125deg,#ffffffa0,#d9e1df66); backdrop-filter: var(--ui-glass); box-shadow: 0 28px 50px -23px #29483850, inset 0 1px 0 #fff; transform: rotate(-4deg); }
html[data-theme] .screen-inner { overflow: hidden; border: 1px solid #ffffff30; border-radius: 15px; background: #273431; padding: 20px; color: #e8f1eb; }
html[data-theme] .screen-topline { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 10px; color: #c6d8d0; }
html[data-theme] .screen-brand { font-weight: 700; letter-spacing: .01em; display: inline-flex; align-items: center; gap: 6px; }
html[data-theme] .screen-brand i { color: #9aebc2; }
html[data-theme] .screen-status { padding: 3px 7px; border: 1px solid #b0e9ce30; border-radius: 5px; color: #a4efcb; font-size: 8px; }
html[data-theme] .screen-picture { position: relative; height: 165px; margin-top: 15px; border: 1px solid #c4ead41a; border-radius: 10px; overflow: hidden; background: radial-gradient(ellipse at 54% 80%,#608e74 0%,#365648 30%,#263c34 65%); }
html[data-theme] .screen-picture::before { content:''; position: absolute; inset: 0; background: repeating-radial-gradient(ellipse at 0% 110%,transparent 0 20px,#a8e4c644 21px 22px,transparent 23px 43px); transform: rotate(-15deg) scale(1.5); }
html[data-theme] .screen-play { position: absolute; left: calc(50% - 22px); top: calc(50% - 22px); width: 44px; height: 44px; border: 1px solid #ffffff40; border-radius: 50%; background: #d8f5e91a; backdrop-filter: blur(12px); display: grid; place-items: center; }
html[data-theme] .screen-play::before { content:''; border-left: 9px solid #effff6; border-top: 6px solid transparent; border-bottom: 6px solid transparent; margin-left: 3px; }
html[data-theme] .screen-caption { position: absolute; bottom: 12px; left: 13px; font-size: 9px; letter-spacing: .04em; color: #e2eee8; }
html[data-theme] .screen-tiles { display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; margin-top: 11px; }
html[data-theme] .screen-tile { display: flex; gap: 7px; align-items: center; background: #ffffff09; border: 1px solid #ffffff10; border-radius: 7px; padding: 10px 7px; font-size: 8px; color: #c6d8d0; }
html[data-theme] .screen-tile i { color: #a4efcb; font-size: 11px; }
html[data-theme] .glass-note { position: absolute; bottom: 20px; right: 0; width: 246px; padding: 19px; border-radius: 17px; border: 1px solid #ffffffaa; background: var(--ui-surface); backdrop-filter: var(--ui-glass); box-shadow: 0 18px 40px -22px #193d364d; transform: rotate(3deg); }
html[data-theme] .glass-note-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 10px; color: var(--ui-muted); margin-bottom: 16px; }
html[data-theme] .glass-note-top b { color: var(--ui-ink); font-size: 11px; font-weight: 600; }
html[data-theme] .glass-note-step { display: flex; align-items: center; gap: 9px; font-size: 10px; margin: 9px 0; color: var(--ui-muted); }
html[data-theme] .glass-note-step span { display: grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; color: var(--ui-green); background: var(--ui-tint); font-size: 8px; font-weight: 700; }
html[data-theme] .composition-label { position: absolute; top: 10px; right: 20px; font-size: 9px; letter-spacing: .1em; color: var(--ui-muted); }
html[data-theme] .glass-device-tag { position: absolute; bottom: 58px; left: 0; display: inline-flex; align-items: center; gap: 10px; background: var(--ui-solid); border: 1px solid var(--ui-line); border-radius: 13px; padding: 13px 17px; box-shadow: var(--ui-shadow); font-size: 10px; color: var(--ui-ink); transform: rotate(-5deg); }
html[data-theme] .glass-device-tag i { color: var(--ui-green); font-size: 18px; }
html[data-theme] .home-device-strip { border-top: 1px solid var(--ui-line); border-bottom: 1px solid var(--ui-line); margin-top: 52px; padding: 23px 0; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
html[data-theme] .home-device-strip-label { font-size: 10px; line-height: 1.6; color: var(--ui-muted); max-width: 130px; }
html[data-theme] .home-device-strip a { text-decoration: none; display: inline-flex; align-items: center; gap: 9px; color: var(--ui-muted); font-size: 12px; font-weight: 600; padding: 8px; border-radius: 9px; }
html[data-theme] .home-device-strip a:hover { color: var(--ui-green); background: var(--ui-tint); }
html[data-theme] .home-device-strip i { font-size: 18px; }
html[data-theme] .home .section-padding { padding: 72px 0; }
html[data-theme] .home .section-header { text-align: left; max-width: 720px; margin: 0 0 35px; }
html[data-theme] .home .section-badge { background: transparent; border: 0; padding: 0; margin: 0 0 12px; color: var(--ui-green); font-size: 10px; text-transform: uppercase; letter-spacing: .14em; font-weight: 650; }
html[data-theme] .home .section-header h2 { font-size: clamp(28px,3.3vw,40px); color: var(--ui-ink); line-height: 1.17; font-weight: 550; letter-spacing: -.055em; margin: 0 0 13px; }
html[data-theme] .home .section-header p { font-size: 13px; color: var(--ui-muted); line-height: 1.8; }
html[data-theme] .home :is(.popular-guides,.features,.apps-showcase,.seo-guide-section) { background: transparent; border: 0; }
html[data-theme] .home .grid-guides { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 18px; }
html[data-theme] .home .guide-card { position: relative; display: flex; flex-direction: column; border: 1px solid var(--ui-line); border-radius: 20px; background: var(--ui-surface); color: var(--ui-ink); overflow: hidden; backdrop-filter: blur(10px); box-shadow: var(--ui-shadow); transition: transform .25s, border-color .25s, box-shadow .25s; }
html[data-theme] .home .guide-card:hover { transform: translateY(-6px); border-color: #087b5945; box-shadow: 0 25px 40px -25px #274f4040; }
html[data-theme] .home .card-image { height: 156px; margin: 8px 8px 0; border-radius: 13px; overflow: hidden; background: #e0e6e3; }
html[data-theme] .home .card-image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.5); transition: transform .4s, filter .4s; }
html[data-theme] .home .guide-card:hover .card-image img { transform: scale(1.04); filter: saturate(.85); }
html[data-theme] .home .card-overlay { display: none; }
html[data-theme] .home :is(.card-glow,.stat-glow,.btn-shine,.btn-hover-effect) { display: none; }
html[data-theme] .home .card-badge { position: absolute; z-index: 2; top: 17px; left: 16px; right: auto; padding: 4px 9px; background: #f2f7f0eb; color: #2a5141; border: 1px solid #ffffff80; border-radius: 6px; font-size: 8px; font-weight: 650; backdrop-filter: blur(6px); }
html[data-theme] .home .guide-card-content { padding: 20px; display: flex; flex-direction: column; flex: 1; }
html[data-theme] .home .card-header { display: flex; justify-content: space-between; gap: 8px; margin-bottom: 11px; }
html[data-theme] .home .card-header h3 { margin: 0; font-weight: 600; letter-spacing: -.025em; font-size: 17px; color: var(--ui-ink); }
html[data-theme] .home .card-icon { width: 26px; height: 26px; color: var(--ui-green); background: transparent; box-shadow: none; }
html[data-theme] .home .guide-card-content p { font-size: 11px; color: var(--ui-muted); line-height: 1.8; margin: 0 0 20px; }
html[data-theme] .home .card-meta { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding-top: 14px; margin-top: auto; border-top: 1px solid var(--ui-line); font-size: 10px; color: var(--ui-muted); }
html[data-theme] .home .meta-item { display: inline-flex; gap: 5px; align-items: center; color: var(--ui-muted); }
html[data-theme] .home .difficulty { color: var(--ui-green); background: var(--ui-tint); padding: 2px 7px; border-radius: 5px; font-size: 9px; }
html[data-theme] .home .section-cta { margin-top: 28px; text-align: left; }
html[data-theme] .home .section-cta .btn { background: var(--ui-surface); color: var(--ui-ink); border: 1px solid var(--ui-line); border-radius: 11px; padding: 12px 18px; font-size: 11px; box-shadow: none; }
html[data-theme] .home .features { border-top: 1px solid var(--ui-line); border-bottom: 1px solid var(--ui-line); }
html[data-theme] .home .features-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
html[data-theme] .home .feature-card { text-align: left; padding: 27px; border: 1px solid var(--ui-line); border-radius: 19px; background: var(--ui-surface); box-shadow: none; opacity: 1; transform: none; }
html[data-theme] .home .feature-icon { width: 41px; height: 41px; display: grid; place-items: center; margin: 0 0 24px; background: var(--ui-tint); border-radius: 12px; color: var(--ui-green); }
html[data-theme] .home .icon-wrapper { background: transparent; box-shadow: none; transform: none; }
html[data-theme] .home .feature-icon svg { width: 20px; height: 20px; }
html[data-theme] .home .feature-card h3 { font-size: 15px; font-weight: 600; color: var(--ui-ink); margin: 0 0 10px; }
html[data-theme] .home .feature-card p { color: var(--ui-muted); font-size: 12px; line-height: 1.8; }
html[data-theme] .home .apps-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; }
html[data-theme] .home .app-card { background: var(--ui-surface); color: var(--ui-ink); border: 1px solid var(--ui-line); border-radius: 18px; padding: 24px; box-shadow: none; }
html[data-theme] .home .app-card h3 { font-size: 15px; color: var(--ui-ink); }
html[data-theme] .home .app-card p { color: var(--ui-muted); font-size: 12px; }
html[data-theme] .home .app-icon { box-shadow: none; background: var(--ui-tint); border: 1px solid var(--ui-line); color: var(--ui-green); border-radius: 14px; }
html[data-theme] .home .seo-guide-section { border-top: 1px solid var(--ui-line); }
html[data-theme] .home .seo-guide-section :is(h3,h4) { color: var(--ui-ink); }
html[data-theme] .home .seo-guide-section :is(p,li) { color: var(--ui-muted); }
html[data-theme] .home .seo-guide-section a { color: var(--ui-green); }
html[data-theme] .home :is(.seo-card,.content-box,.info-box,.seo-content-card) { background: var(--ui-surface); border-color: var(--ui-line); box-shadow: none; border-radius: 18px; }
html[data-theme] .home .cta-section { background: #293a33; color: #eef6f0; padding: 64px 30px; margin: 20px auto 60px; width: min(100% - 64px,1200px); border-radius: 26px; border: 1px solid #4a6557; text-align: center; }
html[data-theme] .home .cta-section h2 { color: #f0f6f1; font-size: 33px; font-weight: 500; letter-spacing: -.045em; }
html[data-theme] .home .cta-section p { color: #b7cec1; font-size: 14px; }
html[data-theme] .home .cta-section .btn { border-radius: 12px; font-size: 12px; box-shadow: none; }

/* Consistent palette across the retained JSON views and all three article engines. */
html[data-theme] #iptv4u-site :is(#premium-guides-wrapper,#smarttv-guide-wrapper,#android-guide-wrapper,#firestick-guide-wrapper,#formuler-guide-wrapper,#guide-wrapper,#mac-guide-wrapper,#mag-guide-wrapper,#windows-guide-wrapper,#about-guide-wrapper,#apps-guide-wrapper,#contact-wrapper,#privacy-wrapper,#terms-wrapper,#rich-page,#guide-page,#gtpl-page,.video-library) {
  --em: var(--ui-green); --em-dark: var(--ui-green); --em-glow: var(--ui-green); --em-bright: var(--ui-green); --em-muted: var(--ui-tint);
  --acc: var(--ui-green); --acc2: var(--ui-green); --acc3: var(--ui-bright);
  --bg: var(--ui-bg); --bg-deep: var(--ui-bg); --bg-card: var(--ui-surface); --bg-card-hover: var(--ui-solid);
  --bg-primary: var(--ui-bg); --bg-secondary: var(--ui-soft);
  --panel: var(--ui-surface); --panel2: var(--ui-soft); --bd: var(--ui-line); --bd-em: var(--ui-line);
  --text: var(--ui-ink); --text-main: var(--ui-ink); --text-body: var(--ui-muted); --text-muted: var(--ui-muted);
  --tx: var(--ui-ink); --tx2: var(--ui-muted); --tx3: var(--ui-muted);
  --pr-bg: var(--ui-bg); --pr-card-bg: var(--ui-surface); --pr-text: var(--ui-ink); --pr-text-muted: var(--ui-muted); --pr-primary: var(--ui-green); --pr-border: var(--ui-line);
  --emerald-primary: var(--ui-green); --emerald-secondary: var(--ui-green); --border-glass: var(--ui-line); --border: var(--ui-line);
  background: var(--ui-bg); color: var(--ui-ink); font-family: 'Inter',sans-serif; background-attachment: scroll;
}
html[data-theme] #iptv4u-site :is(#premium-guides-wrapper,#smarttv-guide-wrapper,#android-guide-wrapper,#firestick-guide-wrapper,#formuler-guide-wrapper,#guide-wrapper,#mac-guide-wrapper,#mag-guide-wrapper,#windows-guide-wrapper,#about-guide-wrapper,#apps-guide-wrapper,#contact-wrapper,#rich-page) { padding-top: 22px; }
html[data-theme] #iptv4u-site :is(.emerald-bg-layer,.guide-bg-layer,.ambient-bg,.blob,.grid-overlay,.hero-glow-orb,.glow-spot,.noise-overlay) { display: none; }
html[data-theme] #iptv4u-site :is(#guide-page,#gtpl-page)::before { background: none; }
html[data-theme] #iptv4u-site :is(.guide-container,.pr-container) { max-width: 1200px; padding-inline: 32px; }
html[data-theme] #iptv4u-site :is(.guide-container.narrow,.container.narrow) { max-width: 900px; }
html[data-theme] #iptv4u-site :is(.guide-hero,.pr-hero) { padding: 72px 0 64px; }
html[data-theme] #iptv4u-site :is(.hero-content-grid,.contact-header) { gap: 60px; }
html[data-theme] #iptv4u-site :is(#smarttv-guide-wrapper,#android-guide-wrapper,#firestick-guide-wrapper,#formuler-guide-wrapper,#guide-wrapper,#mac-guide-wrapper,#mag-guide-wrapper,#windows-guide-wrapper,#about-guide-wrapper,#apps-guide-wrapper,#contact-wrapper,#rich-page,#premium-guides-wrapper) :is(.hero-title,.contact-title,.page-title) { font-size: clamp(36px,4.4vw,60px); line-height: 1.09; font-weight: 550; letter-spacing: -.06em; color: var(--ui-ink); }
html[data-theme] #iptv4u-site :is(.title-gradient,.text-gradient) { color: var(--ui-green); background: none; -webkit-text-fill-color: currentColor; }
html[data-theme] #iptv4u-site :is(.hero-subtitle,.hero-sub,.contact-subtitle,.hero-description) { font-size: 15px; line-height: 1.85; color: var(--ui-muted); font-weight: 400; }
html[data-theme] #iptv4u-site :is(.guide-badge,.hero-badge,.hero-badge.pulse) { color: var(--ui-green); background: var(--ui-tint); border: 1px solid var(--ui-line); box-shadow: none; animation: none; border-radius: 8px; font-size: 10px; font-weight: 600; letter-spacing: .07em; }
html[data-theme] #iptv4u-site :is(.guide-steps-section,.guide-faq-section,.guide-cta-section,.values-section,.story-section,.email-action-section,.faq-section,.apps-directory-section,.legal-content,.pr-grid-section,.pr-blog-section) { background: transparent; padding-block: 44px; }
html[data-theme] #iptv4u-site :is(.step-card,.faq-card,.value-card,.story-box,.legal-card,.contact-card,.app-card,.app-item,.app-card-modern,.glass-card,.info-card,.tip-box,.pr-card,.spec-box,.glass-alert,.app-selector-container,.selector-container,.faq-item,.search-glass-bar,.support-box) { background: var(--ui-surface); border: 1px solid var(--ui-line); border-radius: 20px; box-shadow: var(--ui-shadow); backdrop-filter: blur(12px); }
html[data-theme] #iptv4u-site :is(.step-card,.story-box,.legal-card,.contact-card) { padding: 32px; }
html[data-theme] .step-card { margin-bottom: 26px; }
html[data-theme] #iptv4u-site :is(.step-body,.step-content,.faq-card,.value-card,.story-content,.legal-card,.contact-card,.app-card,.pr-card,.info-card,.tip-box,.spec-box) :is(h2,h3,h4) { color: var(--ui-ink); font-weight: 600; letter-spacing: -.03em; }
html[data-theme] #iptv4u-site :is(.step-body,.step-content,.faq-card,.value-card,.story-content,.legal-card,.contact-card,.app-card,.pr-card,.info-card,.tip-box) :is(p,li) { color: var(--ui-muted); line-height: 1.9; }
html[data-theme] #iptv4u-site :is(.step-indicator,.step-number) { color: var(--ui-green); background: var(--ui-tint); border: 1px solid var(--ui-line); box-shadow: none; border-radius: 12px; font-size: 15px; font-weight: 600; }
html[data-theme] #iptv4u-site :is(.app-btn,.guide-btn,.filter-chip,.filter-btn,.blog-page-btn) { background: var(--ui-surface); border: 1px solid var(--ui-line); color: var(--ui-muted); border-radius: 10px; font-size: 12px; box-shadow: none; }
html[data-theme] #iptv4u-site :is(.app-btn.active,.guide-btn.active,.filter-chip.active,.filter-btn.active,.blog-page-btn.active) { color: var(--ui-green); border-color: var(--ui-green); background: var(--ui-tint); box-shadow: none; }
html[data-theme] #iptv4u-site :is(.btn-primary-3d,.btn-primary,.emerald-link-btn,.btn-support,.btn-send-email,.btn-mail,.action-btn.solid) { color: #fff; background: #087b59; border: 1px solid #087b59; border-radius: 11px; box-shadow: none; font-size: 13px; padding: 13px 21px; }
html[data-theme] #iptv4u-site :is(.btn-outline,.action-btn.outline) { color: var(--ui-green); background: transparent; border: 1px solid var(--ui-line); border-radius: 11px; box-shadow: none; }
html[data-theme] #iptv4u-site :is(.emerald-link,.link-store,.email-link,.contact-link) { color: var(--ui-green); }
html[data-theme] #iptv4u-site :is(.pro-tip,.alert-box,.alert-content,.important-note,.notice-box,.code-display-wrapper) { background: var(--ui-tint); border-color: var(--ui-line); color: var(--ui-ink); box-shadow: none; border-radius: 12px; }
html[data-theme] #iptv4u-site :is(.section-title,.section-heading,.card-info h3,.card-info h2,.app-name,.contact-card h3,.faq-section h2,.legal-header h1,.page-header h1) { color: var(--ui-ink); -webkit-text-fill-color: currentColor; background: none; letter-spacing: -.045em; font-weight: 550; }
html[data-theme] #iptv4u-site :is(.cat-pill,.time-pill,.app-tag,.version,.tag,.badge) { background: var(--ui-tint); color: var(--ui-green); border-color: var(--ui-line); box-shadow: none; }
html[data-theme] #iptv4u-site :is(.pr-filters,.filter-scroll) { background: transparent; border-color: var(--ui-line); backdrop-filter: blur(12px); }
html[data-theme] .pr-hero .hero-inner { max-width: 840px; margin-inline: auto; }
html[data-theme] #premium-guides-wrapper .pr-hero h1 { color: var(--ui-ink); }
html[data-theme] #premium-guides-wrapper .hero-badge { margin-bottom: 22px; }
html[data-theme] #premium-guides-wrapper .search-glass-bar { margin-top: 32px; padding: 15px 18px; border-radius: 15px; background: var(--ui-solid); }
html[data-theme] #premium-guides-wrapper #prSearchInput { color: var(--ui-ink); font-size: 14px; background: transparent; }
html[data-theme] #premium-guides-wrapper .search-shortcut { color: var(--ui-muted); border-color: var(--ui-line); }
html[data-theme] #premium-guides-wrapper .pr-card { min-height: 300px; border-color: var(--ui-line); transition: transform .25s, border-color .25s; }
html[data-theme] #premium-guides-wrapper .pr-card:hover { transform: translateY(-5px); border-color: var(--ui-green); }
html[data-theme] #premium-guides-wrapper .card-bg-glow { display: none; }
html[data-theme] #premium-guides-wrapper .card-info h3 { color: var(--ui-ink); }
html[data-theme] #premium-guides-wrapper .card-info p { color: var(--ui-muted); }
html[data-theme] #premium-guides-wrapper .card-action { border-color: var(--ui-line); color: var(--ui-green); }
html[data-theme] #premium-guides-wrapper .visual-icon { background: var(--ui-tint); border: 1px solid var(--ui-line); width: 66px; height: 66px; border-radius: 17px; font-size: 29px; box-shadow: none; filter: saturate(.6); }
html[data-theme] #premium-guides-wrapper .pr-support { background: var(--ui-soft); border-color: var(--ui-line); }
html[data-theme] #premium-guides-wrapper #blog :is(h2,p) { color: var(--ui-ink) !important; }
html[data-theme] #rich-page :is(.hero-section,.split-layout,.features-section,.steps-section,.faq-section) { background: transparent; }
html[data-theme] #rich-page :is(.hero-section h1,.section-heading,.section-title,.content-section h2) { color: var(--ui-ink); letter-spacing: -.05em; font-weight: 550; }
html[data-theme] #rich-page :is(.hero-sub,.text-block p,.step-details p,.content-text p,.faq-answer) { color: var(--ui-muted); }
html[data-theme] #rich-page :is(.feature-box,.spec-box,.steps-container,.rich-card,.content-card,.split-card) { background: var(--ui-surface); border: 1px solid var(--ui-line); border-radius: 20px; box-shadow: none; }

/* Reading: a calm wide header, narrow measure, clearly separated sections. */
html[data-theme] #iptv4u-site :is(#guide-page,#gtpl-page) { font-size: 16px; line-height: 1.9; padding-top: 14px; padding-bottom: 55px; }
html[data-theme] #iptv4u-site :is(#guide-page .gp-hero,#gtpl-page .gtpl-hero) { background: transparent; padding: 65px 0 42px; border: 0; }
html[data-theme] #iptv4u-site :is(#guide-page .gp-hero-title,#gtpl-page .gtpl-title) { background: none; -webkit-text-fill-color: currentColor; color: var(--ui-ink); font-size: clamp(32px,4.3vw,56px); font-weight: 550; letter-spacing: -.055em; line-height: 1.13; max-width: 25ch; text-shadow: none; margin-inline: auto; }
html[data-theme] #iptv4u-site :is(#guide-page .gp-hero-sub,#gtpl-page .gtpl-sub) { color: var(--ui-muted); font-size: 16px; line-height: 1.85; font-weight: 400; max-width: 68ch; }
html[data-theme] #iptv4u-site :is(#guide-page .gp-hero-meta,#gtpl-page .gtpl-meta) { color: var(--ui-muted) !important; font-size: 11px; margin-top: 23px; }
html[data-theme] #iptv4u-site :is(#guide-page .gp-badge,#gtpl-page .gtpl-badge) { border: 1px solid var(--ui-line); color: var(--ui-green); background: var(--ui-tint); border-radius: 7px; font-size: 9px; box-shadow: none; padding: 7px 11px; letter-spacing: .08em; }
html[data-theme] #iptv4u-site :is(#guide-page .gp-badge-dot,#gtpl-page .gtpl-badge-dot) { animation: none; background: var(--ui-green); box-shadow: none; }
html[data-theme] #iptv4u-site :is(#guide-page .gp-narrow,#gtpl-page .gtpl-narrow) { max-width: 860px; }
html[data-theme] #iptv4u-site :is(#guide-page .gp-content-section,#guide-page .gp-steps-section,#guide-page .gp-table-section,#gtpl-page .gtpl-sec) { padding-block: 27px; margin-block: 10px; background: transparent; border-color: var(--ui-line); }
html[data-theme] #iptv4u-site :is(#guide-page h2,#guide-page h3,#gtpl-page h2,#gtpl-page h3) { color: var(--ui-ink); font-weight: 600; letter-spacing: -.035em; line-height: 1.35; }
html[data-theme] #iptv4u-site :is(#guide-page h2,#gtpl-page h2) { font-size: clamp(22px,2.7vw,29px); }
html[data-theme] #iptv4u-site :is(#guide-page p,#guide-page li,#gtpl-page p,#gtpl-page li) { color: var(--ui-muted); }
html[data-theme] #iptv4u-site :is(#guide-page strong,#gtpl-page strong) { color: var(--ui-ink); font-weight: 600; }
html[data-theme] #iptv4u-site :is(#guide-page .gp-toc-details,#gtpl-page .gtpl-toc) { background: var(--ui-surface); border: 1px solid var(--ui-line); border-radius: 18px; box-shadow: none; padding: 22px 25px; }
html[data-theme] #iptv4u-site :is(#guide-page .gp-toc,#gtpl-page .gtpl-toc) { margin-bottom: 24px; }
html[data-theme] #iptv4u-site :is(#guide-page .gp-toc-header,#gtpl-page .gtpl-toc summary) { color: var(--ui-ink); font-size: 13px; border: 0; padding: 0; }
html[data-theme] #iptv4u-site :is(#guide-page .gp-toc a,#gtpl-page .gtpl-toc a) { color: var(--ui-muted); font-size: 13px; }
html[data-theme] #iptv4u-site :is(#guide-page .gp-toc a:hover,#gtpl-page .gtpl-toc a:hover) { color: var(--ui-green); }
html[data-theme] #iptv4u-site :is(#guide-page .gp-step,#gtpl-page .gtpl-step) { background: var(--ui-surface); border: 1px solid var(--ui-line); border-radius: 16px; box-shadow: none; padding: 24px; }
html[data-theme] #iptv4u-site :is(#guide-page .gp-step-number,#gtpl-page .gtpl-step-n,#gtpl-page .gtpl-num) { color: var(--ui-green); background: var(--ui-tint); border: 1px solid var(--ui-line); box-shadow: none; border-radius: 9px; font-size: 11px; }
html[data-theme] #iptv4u-site :is(#guide-page .gp-tip,#guide-page .gp-tip-box,#gtpl-page .gtpl-tip,#gtpl-page .gtpl-tldr) { background: var(--ui-tint); border: 1px solid var(--ui-line); box-shadow: none; border-radius: 18px; padding: 25px; }
html[data-theme] #iptv4u-site :is(#guide-page .gp-faq-item,#gtpl-page .gtpl-faq-item) { background: var(--ui-surface); border: 1px solid var(--ui-line); border-radius: 14px; box-shadow: none; }
html[data-theme] #iptv4u-site :is(#guide-page .gp-faq-item summary,#gtpl-page .gtpl-faq-item summary) { color: var(--ui-ink); font-size: 14px; }
html[data-theme] #iptv4u-site :is(#guide-page .gp-author-card,#gtpl-page .gtpl-author) { background: var(--ui-surface); border: 1px solid var(--ui-line); border-radius: 20px; box-shadow: none; padding: 27px; }
html[data-theme] #iptv4u-site :is(#guide-page .gp-author-glow,#guide-page .gp-disclaimer::before) { display: none; }
html[data-theme] #iptv4u-site :is(#guide-page .gp-author-name,#gtpl-page .gtpl-author-row h3) { color: var(--ui-ink); font-size: 19px; }
html[data-theme] #iptv4u-site :is(#guide-page .gp-author-role,#gtpl-page .gtpl-author-role,#guide-page .gp-author-initials) { color: var(--ui-green); background: var(--ui-tint); border-color: var(--ui-line); }
html[data-theme] #iptv4u-site :is(#guide-page .gp-related-card,#gtpl-page .gtpl-rel-card) { background: var(--ui-surface); border: 1px solid var(--ui-line); border-radius: 15px; box-shadow: none; }
html[data-theme] #iptv4u-site :is(#guide-page .gp-disclaimer,#gtpl-page .gtpl-disclaimer,.editorial-note) { background: var(--ui-soft); color: var(--ui-muted); border: 1px solid var(--ui-line); border-radius: 16px; box-shadow: none; font-size: 12px; line-height: 1.9; }
html[data-theme] .editorial-note { width: min(100% - 48px,816px); padding: 25px !important; margin: 30px auto 55px !important; }
html[data-theme] .editorial-note p { margin: 0 0 10px; }
html[data-theme] .editorial-note ul { padding-left: 20px; }
html[data-theme] .editorial-note a { color: var(--ui-green); text-underline-offset: 3px; }
html[data-theme] .editorial-note pre { padding: 16px; background: var(--ui-surface); border: 1px solid var(--ui-line); border-radius: 10px; margin-top: 12px; font-size: 11px; }
html[data-theme] #iptv4u-site :is(.gp-progress-bar,.gtpl-progress) { background: #087b59; box-shadow: none; height: 2px; }

/* Tables and video library follow the same neutral surfaces. */
html[data-theme] #iptv4u-site :is(.gp-table,.gtpl-table,.app-table,.spec-table,.comparison-table) { background: var(--ui-surface); border-color: var(--ui-line); border-radius: 14px; color: var(--ui-ink); }
html[data-theme] #iptv4u-site :is(.gp-table,.gtpl-table,.app-table,.spec-table,.comparison-table) th { color: var(--ui-ink); background: var(--ui-soft); border-color: var(--ui-line); font-size: 12px; font-weight: 600; }
html[data-theme] #iptv4u-site :is(.gp-table,.gtpl-table,.app-table,.spec-table,.comparison-table) td { color: var(--ui-muted); border-color: var(--ui-line); background: transparent; font-size: 13px; line-height: 1.7; }
html[data-theme] #iptv4u-site :is(.gp-table-wrap,.gtpl-table-wrap,.table-responsive) { overflow-x: auto; overscroll-behavior-inline: contain; border-color: var(--ui-line); border-radius: 15px; box-shadow: none; }
html[data-theme] .video-library { max-width: 1200px; padding: 65px 32px; }
html[data-theme] .page-header { text-align: left; margin-bottom: 38px; }
html[data-theme] .page-header h1 { font-size: clamp(30px,4vw,50px); margin-bottom: 16px; }
html[data-theme] .page-header p { color: var(--ui-muted); margin: 0; font-size: 15px; }
html[data-theme] .video-card { background: var(--ui-surface); border: 1px solid var(--ui-line); border-radius: 20px; box-shadow: var(--ui-shadow); }
html[data-theme] .video-card h3 { color: var(--ui-ink); font-size: 17px; letter-spacing: -.025em; }
html[data-theme] #iptv4u-site :is(.video-description,.video-meta,.section-title p,.video-seo-content) { color: var(--ui-muted); }
html[data-theme] .video-card .action-btn { background: var(--ui-soft); border-color: var(--ui-line); border-radius: 9px; color: var(--ui-ink); }
html[data-theme] #iptv4u-site :is(.search-box input,.sort-dropdown,.sort-select) { background: var(--ui-solid); border: 1px solid var(--ui-line); border-radius: 12px; color: var(--ui-ink); }
html[data-theme] .video-library .cta-section { background: var(--ui-soft); border: 1px solid var(--ui-line); border-radius: 20px; color: var(--ui-ink); }
html[data-theme] .video-library .cta-section :is(h2,p) { color: var(--ui-ink); }
html[data-theme] .video-seo-content h2 { color: var(--ui-ink) !important; }
html[data-theme] #videoModal { background: #172622a8; backdrop-filter: blur(14px); }
html[data-theme] #videoModal .modal-content { background: var(--ui-solid); border: 1px solid var(--ui-line); border-radius: 20px; color: var(--ui-ink); overflow: hidden; }

/* Footer as a quiet, useful navigation surface. */
html[data-theme] .site-footer { background: var(--ui-soft); color: var(--ui-ink); border-top: 1px solid var(--ui-line); padding: 62px 0 25px; }
html[data-theme] .site-footer::before { display: none; }
html[data-theme] .footer-main { grid-template-columns: 1.65fr 1fr 1fr 1.35fr; gap: 40px; }
html[data-theme] .footer-tagline { color: var(--ui-ink); font-size: 13px; font-weight: 550; }
html[data-theme="light"] #iptv4u-site .footer-logo img { filter: none; }
html[data-theme] #iptv4u-site .footer-note { opacity: 1; }
html[data-theme] #iptv4u-site .footer-title::after { left: 0; transform: none; background: var(--ui-green); }
html[data-theme] #iptv4u-site .footer-legal a:hover { color: var(--ui-green); }
html[data-theme] #iptv4u-site .footer-legal a::after { background: var(--ui-green); }
html[data-theme] #iptv4u-site .site-footer a:focus-visible { outline: 2px solid var(--ui-green); outline-offset: 5px; border-radius: 4px; }
html[data-theme] #iptv4u-site :is(.footer-description,.footer-note,.footer-copyright p,.support-cta p) { color: var(--ui-muted); font-size: 11px; line-height: 1.85; }
html[data-theme] .footer-brand>p>a { color: var(--ui-green); font-size: 11px; }
html[data-theme] .footer-title { color: var(--ui-ink); font-size: 11px; letter-spacing: .02em; margin-bottom: 20px; }
html[data-theme] .footer-link { color: var(--ui-muted); font-size: 11px; padding: 5px 0; }
html[data-theme] .footer-link i { display: none; }
html[data-theme] .footer-link:hover { color: var(--ui-green); transform: none; }
html[data-theme] .support-cta { padding: 22px; background: var(--ui-surface); border: 1px solid var(--ui-line); border-radius: 17px; box-shadow: none; }
html[data-theme] .support-cta h4 { color: var(--ui-ink); font-size: 13px; }
html[data-theme] .support-icon { background: var(--ui-tint); color: var(--ui-green); border-radius: 10px; width: 35px; height: 35px; font-size: 14px; box-shadow: none; }
html[data-theme] .btn-support { font-size: 10px; padding: 10px 14px; }
html[data-theme] .footer-bottom { border-top-color: var(--ui-line); padding-top: 22px; align-items: flex-start; }
html[data-theme] .footer-legal { gap: 18px; }
html[data-theme] .footer-legal a { color: var(--ui-muted); font-size: 10px; }

@media (min-width: 921px) { html[data-theme] .header-actions .nav-toggle { display: none; } }
@media (max-width: 1100px) {
  html[data-theme] .home .hero-content { gap: 30px; }
  html[data-theme] .home .hero-title { font-size: 58px; }
  html[data-theme] .home .grid-guides { grid-template-columns: repeat(2,minmax(0,1fr)); }
  html[data-theme] .home .card-image { height: 200px; }
  html[data-theme] .nav-link { padding-inline: 8px; font-size: 11px; }
  html[data-theme] .footer-main { gap: 25px; }
}
@media (max-width: 920px) {
  html[data-theme] .site-header { width: calc(100% - 32px); padding: 13px 18px; }
  html[data-theme] .home .hero-modern { padding-top: 55px; }
  html[data-theme] .home .hero-content { gap: 30px; grid-template-columns: 1fr; min-height: 0; }
  html[data-theme] .home .hero-text { max-width: 620px; text-align: left; }
  html[data-theme] .home .hero-title { font-size: clamp(48px,8vw,72px); }
  html[data-theme] .home .hero-subtitle { max-width: 500px; }
  html[data-theme] .design-composition { max-width: 520px; margin: 5px auto 0; height: 425px; }
  html[data-theme] .home-device-strip { margin-top: 20px; flex-wrap: wrap; justify-content: center; gap: 12px 25px; }
  html[data-theme] .home-device-strip-label { width: 100%; max-width: none; text-align: center; }
  html[data-theme] .home .features-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  html[data-theme] .home .apps-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  html[data-theme] #iptv4u-site :is(.hero-content-grid,.contact-header) { gap: 35px; }
  html[data-theme] .footer-main { grid-template-columns: 1fr 1fr; gap: 35px; }
}
@media (max-width: 600px) {
  html[data-theme] { scroll-padding-top: 100px; }
  html[data-theme] .container { width: calc(100% - 40px); }
  html[data-theme] .announcement-content { gap: 8px; }
  html[data-theme] .announcement-text { font-size: 9px; }
  html[data-theme] .announcement-link { font-size: 9px; }
  html[data-theme] .site-header { margin-top: 10px; top: 8px; border-radius: 17px; padding: 12px 14px; }
  html[data-theme] .logo img { width: 124px; }
  html[data-theme] .header-content { gap: 10px; }
  html[data-theme] .header-actions { gap: 3px; }
  html[data-theme] .home .hero-modern { padding: 43px 0 10px; }
  html[data-theme] .design-eyebrow { font-size: 8px; letter-spacing: .12em; margin-bottom: 23px; }
  html[data-theme] .home .hero-title { font-size: clamp(41px,10.6vw,62px); line-height: 1.08; margin-bottom: 23px; }
  html[data-theme] .home .hero-subtitle { font-size: 13px; line-height: 1.85; }
  html[data-theme] .home .hero-actions { gap: 20px; margin-top: 24px; }
  html[data-theme] .design-primary { min-height: 47px; padding-inline: 16px; font-size: 11px; gap: 14px; }
  html[data-theme] .design-secondary { font-size: 11px; }
  html[data-theme] .hero-footnote { font-size: 9px; margin-top: 22px; }
  html[data-theme] .design-composition { height: 325px; margin-top: 8px; }
  html[data-theme] .glass-screen { top: 25px; left: 8px; right: 8px; border-radius: 18px; padding: 7px; }
  html[data-theme] .screen-inner { padding: 14px; border-radius: 12px; }
  html[data-theme] .screen-picture { height: 118px; margin-top: 12px; }
  html[data-theme] .screen-topline { font-size: 9px; }
  html[data-theme] .screen-tiles { gap: 5px; }
  html[data-theme] .screen-tile { padding: 8px 5px; gap: 5px; font-size: 7px; }
  html[data-theme] .glass-note { width: 180px; right: 2px; bottom: 0; padding: 13px; border-radius: 13px; }
  html[data-theme] .glass-note-top { margin-bottom: 9px; font-size: 8px; }
  html[data-theme] .glass-note-top b { font-size: 9px; }
  html[data-theme] .glass-note-step { margin: 6px 0; font-size: 8px; }
  html[data-theme] .glass-note-step span { width: 15px; height: 15px; font-size: 7px; }
  html[data-theme] .glass-device-tag { bottom: 20px; left: 5px; padding: 10px 11px; font-size: 8px; gap: 6px; }
  html[data-theme] .glass-device-tag i { font-size: 13px; }
  html[data-theme] .composition-orbit { width: 280px; height: 280px; left: 30px; top: 0; }
  html[data-theme] .composition-label { top: 0; right: 8px; font-size: 7px; }
  html[data-theme] .home-device-strip { margin-top: 38px; padding: 20px 0; gap: 6px 13px; }
  html[data-theme] .home-device-strip a { font-size: 10px; gap: 6px; }
  html[data-theme] .home-device-strip i { font-size: 13px; }
  html[data-theme] .home .section-padding { padding: 48px 0; }
  html[data-theme] .home .section-header { margin-bottom: 25px; }
  html[data-theme] .home .section-header h2 { font-size: 29px; }
  html[data-theme] .home .section-header p { font-size: 12px; }
  html[data-theme] .home .grid-guides { gap: 13px; }
  html[data-theme] .home .card-image { height: 104px; margin: 5px 5px 0; border-radius: 11px; }
  html[data-theme] .home .guide-card { border-radius: 15px; }
  html[data-theme] .home .guide-card-content { padding: 13px; }
  html[data-theme] .home .card-header h3 { font-size: 14px; }
  html[data-theme] .home .card-icon { display: none; }
  html[data-theme] .home .guide-card-content p { font-size: 10px; line-height: 1.7; margin-bottom: 13px; }
  html[data-theme] .home .card-badge { top: 11px; left: 10px; font-size: 7px; padding: 3px 6px; }
  html[data-theme] .home .card-meta { font-size: 8px; gap: 5px; flex-wrap: wrap; padding-top: 11px; }
  html[data-theme] .home .card-meta svg { width: 12px; height: 12px; }
  html[data-theme] .home .difficulty { font-size: 8px; }
  html[data-theme] .home .features-grid { gap: 13px; }
  html[data-theme] .home .feature-card { padding: 19px; border-radius: 15px; }
  html[data-theme] .home .feature-card h3 { font-size: 13px; }
  html[data-theme] .home .feature-card p { font-size: 10px; }
  html[data-theme] .home .feature-icon { margin-bottom: 19px; width: 35px; height: 35px; }
  html[data-theme] .home .apps-grid { gap: 13px; }
  html[data-theme] .home .app-card { padding: 20px; }
  html[data-theme] .home .cta-section { width: calc(100% - 40px); margin: 10px auto 40px; padding: 35px 22px; border-radius: 19px; }
  html[data-theme] .home .cta-section h2 { font-size: 27px; }
  html[data-theme] #iptv4u-site :is(.guide-container,.pr-container) { padding-inline: 20px; }
  html[data-theme] #iptv4u-site :is(.guide-hero,.pr-hero) { padding: 43px 0 36px; }
  html[data-theme] #iptv4u-site :is(.step-card,.story-box,.legal-card,.contact-card) { padding: 22px; border-radius: 17px; }
  html[data-theme] #iptv4u-site :is(.guide-steps-section,.guide-faq-section,.guide-cta-section,.pr-grid-section,.pr-blog-section) { padding-block: 30px; }
  html[data-theme] #iptv4u-site :is(#guide-page .gp-hero,#gtpl-page .gtpl-hero) { padding: 40px 0 30px; }
  html[data-theme] #iptv4u-site :is(#guide-page .gp-container,#gtpl-page .gtpl-ct) { padding-inline: 20px; }
  html[data-theme] #iptv4u-site :is(#guide-page .gp-hero-title,#gtpl-page .gtpl-title) { font-size: 34px; }
  html[data-theme] #iptv4u-site :is(#guide-page .gp-hero-sub,#gtpl-page .gtpl-sub) { font-size: 14px; }
  html[data-theme] #iptv4u-site :is(#guide-page .gp-toc-details,#gtpl-page .gtpl-toc) { padding: 18px; }
  html[data-theme] #iptv4u-site :is(#guide-page .gp-step,#gtpl-page .gtpl-step) { padding: 19px; }
  html[data-theme] #iptv4u-site :is(#guide-page p,#guide-page li,#gtpl-page p,#gtpl-page li) { font-size: 14px; }
  html[data-theme] .video-library { padding: 42px 20px; }
  html[data-theme] .footer-main { gap: 30px 20px; }
  html[data-theme] .footer-section:first-child, html[data-theme] .footer-section:last-child { grid-column: 1 / -1; }
  html[data-theme] .footer-bottom { flex-direction: column; gap: 20px; }
  html[data-theme] .footer-legal { gap: 14px; flex-wrap: wrap; }
  html[data-theme] .site-footer { padding-top: 40px; }
  html[data-theme] .search-container { padding: 23px; border-radius: 19px; }
}
@media (prefers-reduced-motion: reduce) { html[data-theme] * { scroll-behavior: auto !important; } }
@media print {
  html[data-theme] body, html[data-theme] #iptv4u-site :is(#guide-page,#gtpl-page) { background: #fff; color: #111; }
  html[data-theme] #iptv4u-site :is(.site-header,.announcement-bar,.site-footer,.design-composition) { display: none; }
}

html[data-theme] #iptv4u-site #guide-wrapper {
  --guide-bg: var(--ui-bg); --guide-card: var(--ui-surface); --guide-primary: var(--ui-green);
  --guide-secondary: var(--ui-green); --guide-text: var(--ui-ink); --guide-muted: var(--ui-muted); --guide-border: var(--ui-line);
}
html[data-theme] #iptv4u-site #rich-page {
  --em-primary: var(--ui-green); --em-dark: var(--ui-green); --em-glow: var(--ui-green);
  --bg-main: var(--ui-bg); --bg-panel: var(--ui-surface); --text-white: var(--ui-ink);
}
html[data-theme] #iptv4u-site :is(#guide-wrapper .guide-title,#rich-page h2,#rich-page h3,#rich-page h4) { color: var(--ui-ink); font-weight: 550; letter-spacing: -.045em; }
html[data-theme] #iptv4u-site #guide-wrapper .guide-title { font-size: clamp(36px,4.4vw,60px); line-height: 1.1; }
html[data-theme] #iptv4u-site :is(.title-gradient,.text-gradient) { color: var(--ui-green); background: none; -webkit-text-fill-color: currentColor; }
html[data-theme] #iptv4u-site #rich-page :is(.feature-item,.faq-item,.accordion-item,.feature-block,.faq-accordion) { background: var(--ui-surface); color: var(--ui-ink); border: 1px solid var(--ui-line); border-radius: 15px; box-shadow: none; }
html[data-theme] #iptv4u-site #rich-page :is(.spec-val,.faq-question,.feature-title) { color: var(--ui-ink); }
html[data-theme] #iptv4u-site #rich-page :is(.spec-label,.feature-item p,.faq-content,.faq-answer,.faq-answer p) { color: var(--ui-muted); }
html[data-theme] #iptv4u-site :is(.alert-box,.guide-alert,.disclaimer-box) { border: 1px solid var(--ui-line); background: var(--ui-tint); color: var(--ui-ink); border-radius: 15px; box-shadow: none; }
html[data-theme] #iptv4u-site .alert-box .alert-content { background: transparent; }
html[data-theme] #iptv4u-site .alert-icon { color: var(--ui-green); }
html[data-theme] #iptv4u-site .home .hero-actions { flex-direction: row; justify-content: flex-start; align-items: center; margin: 30px 0 0; }
html[data-theme] #iptv4u-site .home .feature-icon .icon-wrapper { width: auto; height: auto; display: grid; place-items: center; }
html[data-theme] #iptv4u-site .home .guide-card { opacity: 1 !important; }
html[data-theme] #iptv4u-site :is(.gp-animate,.reveal,.fade-in,.fade-in-up,.site-footer) { opacity: 1 !important; transform: none !important; }
html[data-theme] #iptv4u-site .content-anchor { display: block; height: 0; scroll-margin-top: 110px; }
html[data-theme] #iptv4u-site #premium-guides-wrapper .card-action { opacity: 1; transform: none; position: static; margin-top: 22px; padding-top: 13px; }
html[data-theme] #iptv4u-site #premium-guides-wrapper #blog .pr-card { min-height: 225px; }
html[data-theme] #iptv4u-site #premium-guides-wrapper .pr-support :is(h2,p) { color: var(--ui-ink); }
html[data-theme] #iptv4u-site #premium-guides-wrapper .text-gradient { color: var(--ui-green); background: none; -webkit-text-fill-color: currentColor; }
html[data-theme="dark"] #iptv4u-site .design-primary { background: #49dda4; color: #123e2e; border-color: #49dda4; box-shadow: 0 8px 28px -17px #49dda480; }
html[data-theme="dark"] #iptv4u-site .design-primary:hover { background: #85efc3; border-color: #85efc3; }
html[data-theme="dark"] #iptv4u-site .glass-screen { background: linear-gradient(125deg,#6a7e7540,#3e4e4740); border-color: #9fbeb044; box-shadow: 0 28px 50px -23px #070c0b90,inset 0 1px 0 #ffffff18; }
html[data-theme="dark"] #iptv4u-site .glass-note { border-color: #9fbeb040; background: #33403ce6; }
html[data-theme="dark"] #iptv4u-site .composition-glow { background: #2bbc8540; }
html[data-theme="dark"] #iptv4u-site .hero-modern::before { background: radial-gradient(circle,#2fc18d15,transparent 70%); }
html[data-theme="dark"] #iptv4u-site .home .cta-section { background: #283a32; }
html[data-theme] #iptv4u-site .home .cta-section .btn-outline { color: #b4e7cb; border-color: #b4e7cb50; }
@media(max-width:600px) {
  html[data-theme] #iptv4u-site .home .hero-actions { flex-wrap: wrap; gap: 10px 20px; margin: 24px 0 0; }
  html[data-theme] #iptv4u-site .home .hero-actions .design-secondary { min-height: 47px; }
  html[data-theme] #iptv4u-site .home .hero-footnote { margin-top: 20px; }
}

html[data-theme] #iptv4u-site .ui-icon { display: inline-block; width: 1em; height: 1em; flex-shrink: 0; vertical-align: -.15em; fill: none; stroke: currentColor; stroke-width: 1.7; color: inherit; }
html[data-theme] #iptv4u-site .ui-icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
html[data-theme] #iptv4u-site .fa-chevron-down.fa-chevron-up { transform: rotate(180deg); }
html[data-theme] #iptv4u-site .header-actions .ui-icon { width: 17px; height: 17px; }
html[data-theme] #iptv4u-site .screen-brand .ui-icon { color: #a4efcb; }
html[data-theme] #iptv4u-site .screen-tile .ui-icon { color: #a4efcb; font-size: 11px; }
html[data-theme] #iptv4u-site .glass-device-tag .ui-icon { color: var(--ui-green); font-size: 18px; }
html[data-theme] #iptv4u-site .home-device-strip .ui-icon { font-size: 18px; }
html[data-theme] #iptv4u-site .design-secondary .ui-icon { font-size: 15px; }
html[data-theme] #iptv4u-site .home .section-header h2 { background: none; -webkit-text-fill-color: currentColor; color: var(--ui-ink); }
html[data-theme] #iptv4u-site .home .feature-icon svg { color: var(--ui-green); }
html[data-theme] #iptv4u-site .hero-footnote .ui-icon { color: var(--ui-green); }
html[data-theme] #iptv4u-site #rich-page :is(.feature-item,.faq-item,.spec-box) { color: var(--ui-ink); }
html[data-theme] #iptv4u-site :is(.code-box,.digital-code,.server-url) { background: var(--ui-soft); border-color: var(--ui-line); color: var(--ui-green); }
html[data-theme] #iptv4u-site #premium-guides-wrapper .visual-icon { display: grid; place-items: center; color: var(--ui-green); filter: none; }
html[data-theme] #iptv4u-site #premium-guides-wrapper .pr-card.featured { grid-column: auto; flex-direction: column; }
html[data-theme] #iptv4u-site #premium-guides-wrapper .pr-card.featured .card-visual { flex: none; height: 130px; }
html[data-theme] #iptv4u-site #premium-guides-wrapper .pr-card.featured .card-content { flex: 1; padding: 24px; justify-content: flex-start; }
html[data-theme] #iptv4u-site #rich-page :is(.final-cta,.cta-box) { background: var(--ui-surface); border: 1px solid var(--ui-line); box-shadow: var(--ui-shadow); }
html[data-theme] #iptv4u-site #rich-page :is(.final-cta,.cta-box) p { color: var(--ui-muted); }
html[data-theme] #iptv4u-site #rich-page :is(.final-cta,.cta-box) a { color: var(--ui-green); }
html[data-theme] #iptv4u-site .nav-link::before { display: none; }
html[data-theme] #iptv4u-site .modal-close { display: grid; place-items: center; }
html[data-theme] #iptv4u-site .home .guide-card-content p { font-size: 13px; }
html[data-theme] #iptv4u-site .custom-list li::before {
  content: ''; width: 1em; height: 1em; top: .45em; background: currentColor; color: var(--ui-green);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='m5 12 4 4L19 6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='m5 12 4 4L19 6'/%3E%3C/svg%3E") center / contain no-repeat;
}
html[data-theme] #iptv4u-site #rich-page .faq-item summary { padding-right: 55px; }
html[data-theme] #iptv4u-site #rich-page .faq-item summary::after {
  content: ''; width: 18px; height: 18px; top: 50%; right: 22px; transform: translateY(-50%); background: var(--ui-green);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat;
}
html[data-theme] #iptv4u-site #rich-page .faq-item[open] summary::after {
  content: '';
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' d='M5 12h14'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' d='M5 12h14'/%3E%3C/svg%3E");
}
html[data-theme] #iptv4u-site #guide-page .gp-legacy-html ul li::before {
  content: ''; width: 1em; height: 1em; top: .4em; background: var(--ui-green);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M4 12h16m-6-6 6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' d='M4 12h16m-6-6 6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}
html[data-theme] #iptv4u-site :is(.footer-link,.footer-description,.footer-note,.footer-copyright p,.support-cta p,.footer-legal a) { font-size: 12px; }
@media(max-width:600px) {
  html[data-theme] #iptv4u-site .home :is(.grid-guides,.features-grid) { grid-template-columns: 1fr; }
  html[data-theme] #iptv4u-site .home .card-image { height: 180px; }
  html[data-theme] #iptv4u-site .home .guide-card-content { padding: 20px; }
  html[data-theme] #iptv4u-site .home .card-header h3 { font-size: 19px; }
  html[data-theme] #iptv4u-site .home :is(.feature-card p,.app-card p) { font-size: 13px; }
  html[data-theme] #iptv4u-site .home .feature-card { padding: 25px; }
  html[data-theme] #iptv4u-site .home .feature-card h3 { font-size: 17px; }
  html[data-theme] #iptv4u-site .home .feature-icon { margin-bottom: 15px; }
  html[data-theme] #iptv4u-site .home .card-meta { font-size: 11px; }
  html[data-theme] #iptv4u-site .home :is(.card-badge,.difficulty) { font-size: 10px; }
  html[data-theme] #iptv4u-site .home :is(.design-primary,.design-secondary) { font-size: 13px; }
  html[data-theme] #iptv4u-site .home .section-header p { font-size: 14px; }
  html[data-theme] #iptv4u-site .footer-link { min-height: 35px; display: flex; align-items: center; }
}

/* Screenshot review: readable light surfaces and consistent controls in both themes. */
html[data-theme="dark"] #iptv4u-site .site-header {
  box-shadow: 0 8px 30px -20px #07110e80, inset 0 1px 0 #ffffff12;
}
html[data-theme] #iptv4u-site :is(input,textarea)::placeholder { color: var(--ui-muted); opacity: 1; }
html[data-theme] #iptv4u-site :is(.filter-chip,.filter-btn,.guide-btn,.blog-page-btn,.video-card .action-btn) {
  min-height: 44px; display: inline-flex; align-items: center; justify-content: center;
}
html[data-theme] #iptv4u-site #premium-guides-wrapper .cat-pill {
  background: var(--ui-tint) !important; color: var(--ui-green) !important;
  border: 1px solid var(--ui-line); font-weight: 600;
}
html[data-theme] #iptv4u-site #premium-guides-wrapper .search-shortcut {
  background: var(--ui-soft); color: var(--ui-muted); border: 1px solid var(--ui-line); padding: 5px 8px; border-radius: 7px;
}
html[data-theme] #iptv4u-site #guidesGrid .card-content { gap: 0; }
html[data-theme] #iptv4u-site #guidesGrid .card-info { flex: 1; }
html[data-theme] #iptv4u-site #guidesGrid .pr-card:not(.featured) .card-content::after {
  content: ''; display: block; width: 20px; height: 20px; margin-top: 24px; align-self: flex-end; background: var(--ui-green);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round' d='M4 12h16m-6-6 6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round' d='M4 12h16m-6-6 6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}
html[data-theme] #iptv4u-site #apps-guide-wrapper :is(.f-name,h2,h3) { color: var(--ui-ink) !important; }
html[data-theme] #iptv4u-site #apps-guide-wrapper .comparison-table-wrapper {
  background: var(--ui-surface); border: 1px solid var(--ui-line); border-radius: 20px; padding: 28px; box-shadow: var(--ui-shadow);
}
html[data-theme] #iptv4u-site #apps-guide-wrapper .app-table th { color: var(--ui-ink) !important; background: var(--ui-soft); }
html[data-theme] #iptv4u-site #apps-guide-wrapper .version {
  display: inline-block; padding: 3px 7px; margin-top: 5px; border-radius: 6px;
  background: var(--ui-soft); color: var(--ui-muted); font-size: 12px; line-height: 1.5;
}
html[data-theme] #iptv4u-site #apps-guide-wrapper :is(.action-btn.primary,.card-badge),
html[data-theme] #iptv4u-site #contact-wrapper .copy-btn {
  background: var(--ui-green); color: var(--ui-on-green); border: 1px solid transparent;
}
html[data-theme] #iptv4u-site #contact-wrapper .email-box {
  background: var(--ui-soft); border: 1px solid var(--ui-line); padding: 16px; gap: 14px; border-radius: 12px;
}
html[data-theme] #iptv4u-site #contact-wrapper .email-link { min-width: 0; overflow-wrap: anywhere; }
html[data-theme] #iptv4u-site #contact-wrapper .copy-btn {
  min-height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 7px; flex-shrink: 0; padding: 9px 13px; border-radius: 9px;
}
html[data-theme] #iptv4u-site #contact-wrapper h2 { color: var(--ui-ink) !important; }
html[data-theme] #iptv4u-site #contact-wrapper .contact-card > .card-icon {
  width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px;
  background: var(--ui-tint); color: var(--ui-green); font-size: 25px; margin-bottom: 22px;
}
html[data-theme] #iptv4u-site :is(#privacy-wrapper,#terms-wrapper) .hero-title {
  color: var(--ui-ink); font-size: clamp(36px,4.4vw,60px); line-height: 1.1; font-weight: 550; letter-spacing: -.05em;
}
html[data-theme] #iptv4u-site :is(#privacy-wrapper,#terms-wrapper) strong,
html[data-theme] #iptv4u-site .instruction-block strong { color: var(--ui-ink); }
html[data-theme] #iptv4u-site .instruction-block {
  background: var(--ui-soft); color: var(--ui-ink); border: 1px solid var(--ui-line); line-height: 1.9;
}
html[data-theme] #iptv4u-site :is(.code-preview,.server-preview) {
  background: var(--ui-soft); color: var(--ui-ink); border: 1px solid var(--ui-line); overflow-wrap: anywhere;
}
html[data-theme] #iptv4u-site .code-preview .code-label { color: var(--ui-green); }
html[data-theme] #iptv4u-site .shamel-premium-title { color: var(--ui-ink) !important; }
html[data-theme] #iptv4u-site #guide-wrapper .loading-txt { color: #aab8b2; }
html[data-theme] #iptv4u-site .step-card:has(> .step-indicator) {
  display: grid; grid-template-columns: 38px minmax(0,1fr); gap: 22px; align-items: start;
}
html[data-theme] #iptv4u-site .step-card > :is(.step-indicator,.step-number) {
  position: static; flex: 0 0 38px; width: 38px; height: 38px; min-height: 0;
  display: grid; place-items: center; align-self: flex-start; line-height: 1; font-size: 13px;
}
html[data-theme] #iptv4u-site .step-card > :is(.step-body,.step-content) { min-width: 0; }
html[data-theme] #iptv4u-site #rich-page .feat-head { color: var(--ui-ink); font-size: 17px; font-weight: 600; letter-spacing: 0; text-transform: none; }
html[data-theme] #iptv4u-site #rich-page .feat-head .ui-icon { color: var(--ui-green); margin-right: 6px; }
html[data-theme] #iptv4u-site #rich-page .steps-container { padding: 28px; }
html[data-theme] #iptv4u-site #rich-page .step-marker {
  width: 38px; height: 38px; flex: 0 0 38px; display: grid; place-items: center;
  border-radius: 10px; border: 1px solid var(--ui-line); background: var(--ui-tint); color: var(--ui-green); font-size: 13px; font-weight: 600;
}
html[data-theme] #iptv4u-site #rich-page .rich-step { gap: 22px; }
html[data-theme] #iptv4u-site #rich-page .rich-step:last-child { margin-bottom: 0; padding-bottom: 0; }
html[data-theme] #iptv4u-site .video-level { color: var(--ui-green); background: var(--ui-tint); border: 1px solid var(--ui-line); }
html[data-theme] #iptv4u-site .video-library .page-header h1 > .ui-icon { color: var(--ui-green); width: .8em; height: .8em; margin-right: 8px; }
html[data-theme] #iptv4u-site .home .seo-guide-section :is(th,th span) { color: var(--ui-ink); }
html[data-theme] #iptv4u-site .home .comp-row.head { background: var(--ui-soft); }
html[data-theme] #iptv4u-site .home .comp-row.head span { color: var(--ui-ink); }
html[data-theme] #iptv4u-site .step-card > :is(.step-indicator,.step-number) { opacity: 1; }
html[data-theme] #iptv4u-site :is(#privacy-wrapper,#terms-wrapper) { padding-top: 22px; }
html[data-theme] #iptv4u-site :is(.privacy-hero,.terms-hero) { padding: 72px 0 64px; }
html[data-theme] #iptv4u-site .mobile-nav-link[aria-current="page"] { background: var(--ui-tint); }
html[data-theme] #iptv4u-site .mobile-nav-link:hover { transform: none; }
html[data-theme] #iptv4u-site .mobile-dropdown-toggle { padding: 13px; min-height: 48px; border-radius: 12px; }
html[data-theme] #iptv4u-site .mobile-dropdown-content { padding-left: 8px; }
html[data-theme] #iptv4u-site .mobile-dropdown-link {
  display: flex; align-items: center; gap: 12px; min-height: 46px;
  padding: 12px; border: 0; border-bottom: 1px solid var(--ui-line); border-radius: 10px;
}
html[data-theme] #iptv4u-site .mobile-dropdown-header { color: var(--ui-green) !important; font-size: 11px !important; }
html[data-theme] #iptv4u-site .theme-switch-text { color: var(--ui-ink); }
html[data-theme] #iptv4u-site .theme-switch-input { display: block; position: absolute; width: 1px; height: 1px; opacity: 0; }
html[data-theme] #iptv4u-site .theme-switch-input:focus-visible + .theme-switch-slider { outline: 3px solid var(--ui-green); outline-offset: 4px; }
html[data-theme] #iptv4u-site #about-guide-wrapper .brand-icon { color: var(--ui-green); text-shadow: none; }
html[data-theme] #iptv4u-site #about-guide-wrapper .story-content a { color: var(--ui-green); text-underline-offset: 3px; }
html[data-theme] #iptv4u-site #gtpl-page .gtpl-num {
  display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 28px;
  margin: 0 0 12px; font-size: 12px; font-weight: 600; line-height: 1; border-radius: 8px;
}
html[data-theme] #iptv4u-site #gtpl-page .gtpl-toc > details { background: transparent; border: 0; border-radius: 0; backdrop-filter: none; }
html[data-theme] #iptv4u-site #gtpl-page .gtpl-toc ol { padding: 12px 0 0 23px; margin: 0; }
html[data-theme] #iptv4u-site #gtpl-page .gtpl-steps { padding-left: 0; }
html[data-theme] #iptv4u-site #gtpl-page .gtpl-steps::before { display: none; }
html[data-theme] #iptv4u-site #gtpl-page .gtpl-step-n { width: 38px; height: 38px; font-size: 12px; }
html[data-theme] #iptv4u-site #gtpl-page .gtpl-step-body { min-width: 0; padding: 0; background: transparent; border: 0; border-radius: 0; }
html[data-theme] #iptv4u-site #gtpl-page .gtpl-step-body:hover { transform: none; }
html[data-theme] #iptv4u-site #gtpl-page .gtpl-ilink:hover { color: var(--ui-green); }
/* Complete guide review: author details and retained device instructions. */
html[data-theme] #iptv4u-site :is(.gp-author-follow,.gp-author-eyebrow) { color: var(--ui-green); }
html[data-theme] #iptv4u-site .gp-author-follow { border-color: var(--ui-line); }
html[data-theme] #iptv4u-site .gp-author-trust span { color: var(--ui-muted); }
html[data-theme] #iptv4u-site #terms-wrapper :is(h2,h3) { color: var(--ui-ink); }
html[data-theme] #iptv4u-site #terms-wrapper .card-number { color: var(--ui-green); opacity: 1; }
html[data-theme] #iptv4u-site .final-note { background: var(--ui-soft); color: var(--ui-ink); border-color: var(--ui-line); }
html[data-theme] #iptv4u-site .shamel-premium-text strong { color: var(--ui-ink); }
html[data-theme] #iptv4u-site .tv-preview .app-card-preview > span { color: #d8eee3; }
html[data-theme] #iptv4u-site :is(.mini-steps,.remote-action) { background: var(--ui-soft); color: var(--ui-muted); border-color: var(--ui-line); }
html[data-theme] #iptv4u-site #mag-guide-wrapper :is(.glass-alert.critical h3,.code-display-wrapper .code-label) { color: var(--ui-green); }
html[data-theme] #iptv4u-site #smarttv-guide-wrapper :is(.action-text,.action-text strong) { color: var(--ui-ink); }
html[data-theme] #iptv4u-site #smarttv-guide-wrapper :is(.id-display-box,.final-action-box) { background: var(--ui-soft); border-color: var(--ui-line); }
html[data-theme] #iptv4u-site #smarttv-guide-wrapper .id-row { border-color: var(--ui-line); }
html[data-theme] #iptv4u-site #smarttv-guide-wrapper .id-label { color: var(--ui-green); }
html[data-theme] #iptv4u-site #smarttv-guide-wrapper .id-val { color: var(--ui-ink); }
html[data-theme] #iptv4u-site #smarttv-guide-wrapper .id-display-box p { color: var(--ui-muted) !important; }
html[data-theme] #iptv4u-site #smarttv-guide-wrapper .action-icon { background: var(--ui-tint); color: var(--ui-green); }
/* Keep error recovery consistent with the selected theme. */
html[data-theme] #iptv4u-site .page-404 { background: var(--ui-bg); color: var(--ui-ink); }
html[data-theme] #iptv4u-site .error-title { color: var(--ui-ink); font-size: clamp(30px,4vw,48px); font-weight: 550; letter-spacing: -.04em; }
html[data-theme] #iptv4u-site .error-desc { color: var(--ui-muted); }
html[data-theme] #iptv4u-site .error-number .num { color: var(--ui-green); text-shadow: none; }
html[data-theme] #iptv4u-site .error-number circle { stroke: var(--ui-green); }
html[data-theme] #iptv4u-site .error-number text { fill: var(--ui-green); }
html[data-theme] #iptv4u-site .btn-primary-err { background: var(--ui-green); color: var(--ui-on-green); box-shadow: none; }
html[data-theme] #iptv4u-site .btn-outline-err { background: var(--ui-surface); color: var(--ui-ink); border-color: var(--ui-line); }
html[data-theme] #iptv4u-site .error-suggestions { background: var(--ui-surface); border-color: var(--ui-line); }
html[data-theme] #iptv4u-site .suggestions-title { color: var(--ui-green); }
html[data-theme] #iptv4u-site .suggestions-links a { background: var(--ui-soft); color: var(--ui-ink); border-color: var(--ui-line); }
html[data-theme] #iptv4u-site :is(.suggestions-links a,.btn-outline-err):hover { border-color: var(--ui-green); color: var(--ui-green); }
@media (max-width:600px) {
  html[data-theme] #iptv4u-site .header-actions .action-btn { width: 42px; height: 44px; min-width: 42px; }
  html[data-theme] #iptv4u-site .home .hero-subtitle { font-size: 15px; }
  html[data-theme] #iptv4u-site .home .app-card h3 { font-size: 16px; }
  html[data-theme] #iptv4u-site .step-card { gap: 14px; }
  html[data-theme] #iptv4u-site .step-card:has(> .step-indicator) { grid-template-columns: 32px minmax(0,1fr); gap: 14px; }
  html[data-theme] #iptv4u-site .step-card > :is(.step-indicator,.step-number) { width: 32px; height: 32px; flex-basis: 32px; font-size: 12px; border-radius: 9px; }
  html[data-theme] #iptv4u-site #contact-wrapper .email-box { flex-direction: column; align-items: flex-start; }
  html[data-theme] #iptv4u-site #contact-wrapper .email-link { font-size: 14px; }
  html[data-theme] #iptv4u-site #contact-wrapper .copy-btn { min-height: 44px; }
  html[data-theme] #iptv4u-site #rich-page .steps-container { padding: 20px; }
  html[data-theme] #iptv4u-site #rich-page .rich-step { gap: 14px; }
  html[data-theme] #iptv4u-site #rich-page .step-marker { width: 30px; height: 30px; flex-basis: 30px; font-size: 12px; }
  html[data-theme] #iptv4u-site #apps-guide-wrapper .comparison-table-wrapper { padding: 20px 16px; }
  html[data-theme] #iptv4u-site :is(.privacy-hero,.terms-hero) { padding: 43px 0 36px; }
  html[data-theme] #iptv4u-site #gtpl-page .gtpl-step { gap: 14px; }
  html[data-theme] #iptv4u-site #gtpl-page .gtpl-step-n { width: 32px; height: 32px; }
}
@media (max-width:360px) {
  html[data-theme] #iptv4u-site .site-header { width: calc(100% - 24px); padding-inline: 12px; }
  html[data-theme] #iptv4u-site .logo img { width: 104px; }
  html[data-theme] #iptv4u-site .header-actions { gap: 4px; }
  html[data-theme] #iptv4u-site .header-actions .action-btn { width: 40px; min-width: 40px; }
}
