/* IPTV4U public frontend. Loaded only outside /guides/. Content and behavior remain in their existing sources. */
html[data-theme="dark"] {
  --ui-bg: #171b1d; --ui-solid: #242a2d; --ui-soft: #202628;
  --ui-surface: #202628; --ui-ink: #f2f3ef; --ui-muted: #b3bdbe;
  --ui-green: #5ccca3; --ui-on-green: #0c3528; --ui-tint: #193b30;
  --ui-line: #3b4548; --ui-shadow: none;
}
html[data-theme] #iptv4u-site.public-redesign { font-size: 16px; line-height: 1.65; }
html[data-theme] #iptv4u-site.public-redesign .container { width: min(100% - 96px, 1280px); max-width: 1280px; }
html[data-theme] #iptv4u-site.public-redesign .announcement-bar { background: #103d30; padding: 8px 0; }
html[data-theme] #iptv4u-site.public-redesign .announcement-bar::after { display: none; }
html[data-theme] #iptv4u-site.public-redesign .announcement-cta { border: 0; background: transparent; font-size: 12px; padding: 0; }
html[data-theme] #iptv4u-site.public-redesign .announcement-dot,
html[data-theme] #iptv4u-site.public-redesign .announcement-arrow { animation: none; }
html[data-theme] #iptv4u-site.public-redesign .site-header {
  width: 100%; top: 0; margin: 0; padding: 17px 0; border: 0;
  border-bottom: 1px solid var(--ui-line); border-radius: 0;
  background: var(--ui-bg); box-shadow: none; backdrop-filter: none;
}
html[data-theme] #iptv4u-site.public-redesign .site-header .container { width: min(100% - 96px, 1280px); }
html[data-theme] #iptv4u-site.public-redesign .logo img { width: 150px; }
html[data-theme] #iptv4u-site.public-redesign .nav-link { font-size: 13px; padding-inline: 12px; border-radius: 5px; }
html[data-theme] #iptv4u-site.public-redesign .main-nav .nav-link > .ui-icon:not(.dropdown-arrow) { display: none; }
html[data-theme] #iptv4u-site.public-redesign .header-actions .action-btn { border-radius: 5px; background: transparent; }
html[data-theme] #iptv4u-site.public-redesign .home .hero-modern { padding: 68px 0 0; overflow: hidden; }
html[data-theme] #iptv4u-site.public-redesign .home .hero-modern::before { display: none; }
html[data-theme] #iptv4u-site.public-redesign .home .hero-content {
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  min-height: 0; gap: 50px; align-items: center; padding: 0;
}
html[data-theme] #iptv4u-site.public-redesign .home .design-eyebrow {
  font-size: 14px; letter-spacing: 0; font-weight: 500;
  text-transform: none; color: var(--ui-muted); margin-bottom: 22px;
}
html[data-theme] #iptv4u-site.public-redesign .home .design-eyebrow::before { display: none; }
html[data-theme] #iptv4u-site.public-redesign .home .hero-title {
  font-size: clamp(42px, 4.65vw, 68px); font-weight: 600; line-height: 1.08;
  letter-spacing: -.055em; margin: 0 0 25px; text-wrap: initial;
}
html[data-theme] #iptv4u-site.public-redesign .home .hero-title :is(.title-line,.title-gradient) {
  color: var(--ui-ink); -webkit-text-fill-color: currentColor; background: none;
}
html[data-theme] #iptv4u-site.public-redesign .home .hero-subtitle { font-size: 16px; line-height: 1.8; max-width: 450px; }
html[data-theme] #iptv4u-site.public-redesign .home .hero-actions { gap: 24px; margin-top: 30px; }
html[data-theme] #iptv4u-site.public-redesign .home .design-primary {
  background: #167957; color: #fff; border: 1px solid #248a66;
  border-radius: 5px; min-height: 52px; padding-inline: 21px;
  font-size: 14px; font-weight: 600; box-shadow: none;
}
html[data-theme] #iptv4u-site.public-redesign .home .design-primary:hover { background: #1c8d67; transform: none; }
html[data-theme] #iptv4u-site.public-redesign .home .design-secondary { font-size: 13px; min-height: 48px; }
html[data-theme] #iptv4u-site.public-redesign .home .hero-footnote { font-size: 12px; margin-top: 26px; }
html[data-theme] #iptv4u-site.public-redesign .home .design-composition {
  height: auto; min-height: 0; display: flex; flex-direction: column; gap: 0;
  padding: 0; border: 0; border-radius: 0;
}
html[data-theme] #iptv4u-site.public-redesign .design-composition > :is(.composition-orbit,.composition-glow,.glass-screen,.glass-device-tag) { display: none; }
html[data-theme] #iptv4u-site.public-redesign .hero-team-image { display: block; width: 100%; height: auto; aspect-ratio: 1672 / 941; object-fit: contain; border-radius: 6px; order: -1; }
html[data-theme] #iptv4u-site.public-redesign .composition-label { position: static; font-size: 11px; font-weight: 500; letter-spacing: .02em; margin-top: 16px; }
html[data-theme] #iptv4u-site.public-redesign .glass-note {
  position: static; width: auto; padding: 15px 0 0; margin-top: 12px;
  border: 0; border-top: 1px solid var(--ui-line); border-radius: 0;
  background: transparent; box-shadow: none; transform: none; backdrop-filter: none;
  display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px;
}
html[data-theme] #iptv4u-site.public-redesign .glass-note-top { display: none; }
html[data-theme] #iptv4u-site.public-redesign .glass-note-step { margin: 0; gap: 8px; font-size: 10px; line-height: 1.5; }
html[data-theme] #iptv4u-site.public-redesign .glass-note-step span { background: transparent; width: auto; height: auto; font-size: 11px; }
html[data-theme] #iptv4u-site.public-redesign .home-device-strip { margin-top: 54px; padding: 21px 0; gap: 16px; }
html[data-theme] #iptv4u-site.public-redesign .home-device-strip-label { font-size: 12px; max-width: 165px; }
html[data-theme] #iptv4u-site.public-redesign .home-device-strip a { font-size: 13px; min-height: 44px; }
html[data-theme] #iptv4u-site.public-redesign .home .section-padding { padding: 76px 0; }
html[data-theme] #iptv4u-site.public-redesign .home .section-header { max-width: 820px; margin-bottom: 36px; }
html[data-theme] #iptv4u-site.public-redesign .home .section-badge { text-transform: none; letter-spacing: 0; font-size: 13px; font-weight: 500; margin-bottom: 14px; }
html[data-theme] #iptv4u-site.public-redesign .home .section-header h2 { font-size: clamp(28px,3vw,42px); letter-spacing: -.04em; font-weight: 550; }
html[data-theme] #iptv4u-site.public-redesign .home .section-header p { font-size: 15px; }
html[data-theme] #iptv4u-site.public-redesign .home .grid-guides { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 42px; }
html[data-theme] #iptv4u-site.public-redesign .home .guide-card {
  display: grid; grid-template-columns: 165px minmax(0,1fr); gap: 24px;
  align-items: center; padding: 24px 0; border: 0; border-top: 1px solid var(--ui-line);
  border-radius: 0; background: transparent; box-shadow: none; backdrop-filter: none;
  opacity: 1; transform: none; transition: none;
}
html[data-theme] #iptv4u-site.public-redesign .home .guide-card:hover { transform: none; box-shadow: none; }
html[data-theme] #iptv4u-site.public-redesign .home .card-image { height: 145px; margin: 0; border-radius: 5px; }
html[data-theme] #iptv4u-site.public-redesign .home .card-image img { filter: saturate(.8); }
html[data-theme] #iptv4u-site.public-redesign .home .guide-card-content { padding: 0; }
html[data-theme] #iptv4u-site.public-redesign .home .card-header h3 { font-size: 21px; }
html[data-theme] #iptv4u-site.public-redesign .home .card-badge { left: 8px; top: 32px; font-size: 9px; border-radius: 3px; }
html[data-theme] #iptv4u-site.public-redesign .home .guide-card-content p { font-size: 13px; margin-bottom: 12px; line-height: 1.7; }
html[data-theme] #iptv4u-site.public-redesign .home .card-meta { border: 0; padding: 0; font-size: 11px; }
html[data-theme] #iptv4u-site.public-redesign .home .section-cta .btn { font-size: 13px; border-radius: 5px; padding: 12px 18px; }
html[data-theme] #iptv4u-site.public-redesign .home .features { background: var(--ui-soft); border: 0; }
html[data-theme] #iptv4u-site.public-redesign .home .features-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 0 40px; }
html[data-theme] #iptv4u-site.public-redesign .home .feature-card { padding: 25px 0; border: 0; border-top: 1px solid var(--ui-line); border-radius: 0; background: transparent; }
html[data-theme] #iptv4u-site.public-redesign .home .feature-card:hover { transform: none; }
html[data-theme] #iptv4u-site.public-redesign .home .feature-icon { width: auto; height: auto; margin-bottom: 18px; background: transparent; justify-content: start; }
html[data-theme] #iptv4u-site.public-redesign .home .feature-card h3 { font-size: 17px; }
html[data-theme] #iptv4u-site.public-redesign .home .feature-card p { font-size: 14px; }
html[data-theme] #iptv4u-site.public-redesign .home .apps-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 0; border-block: 1px solid var(--ui-line); }
html[data-theme] #iptv4u-site.public-redesign .home .app-card { background: transparent; border: 0; border-right: 1px solid var(--ui-line); border-radius: 0; box-shadow: none; padding: 28px 20px; }
html[data-theme] #iptv4u-site.public-redesign .home .app-card:last-child { border-right: 0; }
html[data-theme] #iptv4u-site.public-redesign .home .app-card:hover { transform: none; }
html[data-theme] #iptv4u-site.public-redesign .home .app-icon { background: transparent; border: 0; border-radius: 0; }
html[data-theme] #iptv4u-site.public-redesign .home .seo-guide-section { background: var(--ui-soft); }
html[data-theme] #iptv4u-site.public-redesign .home .guide-content-wrapper { background: transparent; max-width: 900px; padding: 0; border: 0; border-radius: 0; box-shadow: none; margin-left: 0; }
html[data-theme] #iptv4u-site.public-redesign .home .seo-article p { text-align: left; font-size: 15px; }
html[data-theme] #iptv4u-site.public-redesign .home .cta-section { background: #143c30; border-radius: 6px; margin: 64px auto; padding: 54px; }
html[data-theme] #iptv4u-site.public-redesign .home .cta-section :is(h2,p) { color: #f2f3ef; }
html[data-theme] #iptv4u-site.public-redesign .home .cta-section .btn { border-radius: 5px; }
html[data-theme] #iptv4u-site.public-redesign .site-footer { background: var(--ui-bg); border-top: 1px solid var(--ui-line); }
html[data-theme] #iptv4u-site.public-redesign .support-cta { background: transparent; border-radius: 5px; }
html[data-theme] #iptv4u-site.public-redesign .btn-support { border-radius: 5px; }
@media(max-width:1100px) {
  html[data-theme] #iptv4u-site.public-redesign .container,
  html[data-theme] #iptv4u-site.public-redesign .site-header .container { width: calc(100% - 64px); }
  html[data-theme] #iptv4u-site.public-redesign .main-nav { display: none; }
  html[data-theme] #iptv4u-site.public-redesign .nav-toggle { display: inline-flex; }
  html[data-theme] #iptv4u-site.public-redesign .header-content { justify-content: space-between; }
  html[data-theme] #iptv4u-site.public-redesign .home .hero-content { grid-template-columns: 1fr; gap: 36px; }
  html[data-theme] #iptv4u-site.public-redesign .home .hero-text { max-width: 650px; }
  html[data-theme] #iptv4u-site.public-redesign .home .hero-title { font-size: 64px; }
  html[data-theme] #iptv4u-site.public-redesign .home .hero-subtitle { max-width: 560px; }
  html[data-theme] #iptv4u-site.public-redesign .home .design-composition { max-width: 850px; }
  html[data-theme] #iptv4u-site.public-redesign .home .grid-guides { gap: 0 28px; }
  html[data-theme] #iptv4u-site.public-redesign .home .guide-card { grid-template-columns: 120px minmax(0,1fr); gap: 18px; }
  html[data-theme] #iptv4u-site.public-redesign .home .features-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media(max-width:600px) {
  html[data-theme] #iptv4u-site.public-redesign .container,
  html[data-theme] #iptv4u-site.public-redesign .site-header .container { width: calc(100% - 40px); }
  html[data-theme] #iptv4u-site.public-redesign .announcement-cta { font-size: 10px; gap: 6px; }
  html[data-theme] #iptv4u-site.public-redesign .site-header { padding: 10px 0; }
  html[data-theme] #iptv4u-site.public-redesign .logo img { width: 120px; }
  html[data-theme] #iptv4u-site.public-redesign .header-actions { gap: 2px; }
  html[data-theme] #iptv4u-site.public-redesign .header-actions .action-btn { width: 38px; min-width: 38px; height: 44px; }
  html[data-theme] #iptv4u-site.public-redesign .home .hero-modern { padding-top: 38px; }
  html[data-theme] #iptv4u-site.public-redesign .home .design-eyebrow { margin-bottom: 17px; font-size: 13px; }
  html[data-theme] #iptv4u-site.public-redesign .home .hero-title { font-size: clamp(38px,10.5vw,52px); line-height: 1.1; margin-bottom: 19px; }
  html[data-theme] #iptv4u-site.public-redesign .home .hero-subtitle { font-size: 15px; line-height: 1.75; }
  html[data-theme] #iptv4u-site.public-redesign .home .hero-actions { gap: 10px 20px; margin-top: 24px; }
  html[data-theme] #iptv4u-site.public-redesign .home .design-primary { min-height: 50px; font-size: 13px; padding-inline: 17px; }
  html[data-theme] #iptv4u-site.public-redesign .home .design-secondary { font-size: 12px; }
  html[data-theme] #iptv4u-site.public-redesign .home .hero-footnote { font-size: 11px; margin-top: 18px; }
  html[data-theme] #iptv4u-site.public-redesign .home .hero-content { gap: 28px; }
  html[data-theme] #iptv4u-site.public-redesign .composition-label { font-size: 9px; margin-top: 12px; }
  html[data-theme] #iptv4u-site.public-redesign .glass-note { gap: 10px; margin-top: 10px; padding-top: 12px; }
  html[data-theme] #iptv4u-site.public-redesign .glass-note-step { flex-direction: column; align-items: flex-start; gap: 4px; font-size: 10px; }
  html[data-theme] #iptv4u-site.public-redesign .home-device-strip { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: 30px; padding: 18px 0; gap: 4px 14px; }
  html[data-theme] #iptv4u-site.public-redesign .home-device-strip-label { grid-column: 1/-1; max-width: none; font-size: 12px; margin-bottom: 6px; }
  html[data-theme] #iptv4u-site.public-redesign .home-device-strip-label br { display: none; }
  html[data-theme] #iptv4u-site.public-redesign .home-device-strip a { font-size: 12px; padding: 7px 0; }
  html[data-theme] #iptv4u-site.public-redesign .home .section-padding { padding: 46px 0; }
  html[data-theme] #iptv4u-site.public-redesign .home .section-header { margin-bottom: 22px; }
  html[data-theme] #iptv4u-site.public-redesign .home .section-header h2 { font-size: 29px; }
  html[data-theme] #iptv4u-site.public-redesign .home .section-header p { font-size: 14px; }
  html[data-theme] #iptv4u-site.public-redesign .home .grid-guides { grid-template-columns: 1fr; }
  html[data-theme] #iptv4u-site.public-redesign .home .guide-card { grid-template-columns: 108px minmax(0,1fr); padding: 22px 0; gap: 17px; }
  html[data-theme] #iptv4u-site.public-redesign .home .card-image { height: 126px; }
  html[data-theme] #iptv4u-site.public-redesign .home .card-header h3 { font-size: 18px; }
  html[data-theme] #iptv4u-site.public-redesign .home .guide-card-content p { font-size: 12px; }
  html[data-theme] #iptv4u-site.public-redesign .home .card-badge { font-size: 8px; top: 30px; left: 5px; padding: 3px 5px; }
  html[data-theme] #iptv4u-site.public-redesign .home .features-grid { grid-template-columns: 1fr; }
  html[data-theme] #iptv4u-site.public-redesign .home .feature-card { display: grid; grid-template-columns: 24px minmax(0,1fr); column-gap: 16px; padding: 22px 0; }
  html[data-theme] #iptv4u-site.public-redesign .home .feature-icon { grid-row: span 2; margin: 3px 0 0; }
  html[data-theme] #iptv4u-site.public-redesign .home .feature-card h3 { margin: 0 0 8px; font-size: 16px; }
  html[data-theme] #iptv4u-site.public-redesign .home .feature-card p { margin: 0; font-size: 14px; }
  html[data-theme] #iptv4u-site.public-redesign .home .apps-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  html[data-theme] #iptv4u-site.public-redesign .home .app-card { padding: 23px 12px; border-bottom: 1px solid var(--ui-line); }
  html[data-theme] #iptv4u-site.public-redesign .home .app-card:nth-child(even) { border-right: 0; }
  html[data-theme] #iptv4u-site.public-redesign .home .cta-section { margin: 38px 20px; width: auto; padding: 32px 22px; }
}
@media(prefers-reduced-motion:reduce) { html[data-theme] #iptv4u-site.public-redesign * { animation: none !important; scroll-behavior: auto !important; } }

/* Shared public language: contemporary controls, quiet surfaces, clear reading. */
html[data-theme] #iptv4u-site.public-redesign {
  --public-radius: 12px;
  --public-space: clamp(44px, 6vw, 84px);
}
html[data-theme] #iptv4u-site.public-redesign :is(.guide-container,.video-library) {
  width: min(100% - 96px, 1280px); max-width: 1280px; padding-inline: 0;
}
html[data-theme] #iptv4u-site.public-redesign .guide-container.narrow { max-width: 900px; }
html[data-theme] #iptv4u-site.public-redesign :is(#about-guide-wrapper,#apps-guide-wrapper,#contact-wrapper,#privacy-wrapper,#terms-wrapper,.video-library) {
  --text-white: var(--ui-ink); --text-main: var(--ui-ink); --text-muted: var(--ui-muted);
  --emerald-primary: var(--ui-green); --emerald-light: var(--ui-green);
  --emerald-glow: transparent; --border-glass: var(--ui-line);
  --glass-bg: var(--ui-solid); background: var(--ui-bg); color: var(--ui-ink);
}
html[data-theme] #iptv4u-site.public-redesign :is(#about-guide-wrapper,#apps-guide-wrapper,#contact-wrapper,#privacy-wrapper,#terms-wrapper) { padding-top: 0; }
html[data-theme] #iptv4u-site.public-redesign :is(#about-guide-wrapper,#apps-guide-wrapper) .hero-text { text-align: left; }
html[data-theme] #iptv4u-site.public-redesign :is(.guide-hero,.contact-hero,.privacy-hero,.terms-hero) {
  padding: var(--public-space) 0; background: transparent; min-height: 0;
}
html[data-theme] #iptv4u-site.public-redesign :is(.hero-title,.page-header h1,.error-title) {
  font-size: clamp(38px, 4.6vw, 66px); font-weight: 600; line-height: 1.1;
  letter-spacing: -.05em; color: var(--ui-ink); text-shadow: none;
}
html[data-theme] #iptv4u-site.public-redesign :is(.title-gradient,.text-gradient) {
  background: none; color: var(--ui-ink); -webkit-text-fill-color: currentColor;
}
html[data-theme] #iptv4u-site.public-redesign :is(.guide-badge,.guide-badge.pulse) {
  width: fit-content; background: transparent; color: var(--ui-green); border: 0;
  border-radius: 0; padding: 0; margin-bottom: 20px; font-size: 12px;
  font-weight: 500; letter-spacing: .02em; box-shadow: none;
}
html[data-theme] #iptv4u-site.public-redesign :is(.badge-icon,.card-icon) { color: var(--ui-green); }
html[data-theme] #iptv4u-site.public-redesign :is(.hero-subtitle,.page-header p) {
  font-size: 16px; line-height: 1.85; color: var(--ui-muted); max-width: 650px;
}
html[data-theme] #iptv4u-site.public-redesign :is(.section-title,.section-heading) {
  font-size: clamp(27px,3vw,40px); line-height: 1.2; font-weight: 550;
  letter-spacing: -.035em; color: var(--ui-ink); background: none;
  -webkit-text-fill-color: currentColor; text-align: left;
}
html[data-theme] #iptv4u-site.public-redesign :is(.btn-primary-3d,.btn-outline,.btn-support,.btn-primary-err,.btn-outline-err) {
  min-height: 48px; border-radius: 8px; padding: 12px 22px; font-size: 14px;
  font-weight: 600; box-shadow: none; text-shadow: none; transform: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
}
html[data-theme] #iptv4u-site.public-redesign :is(.btn-primary-3d,.btn-support,.btn-primary-err) {
  background: #167957; border: 1px solid #248a66; color: #fff;
}
html[data-theme] #iptv4u-site.public-redesign :is(.btn-outline,.btn-outline-err) {
  background: transparent; color: var(--ui-ink); border: 1px solid var(--ui-line);
}
html[data-theme] #iptv4u-site.public-redesign :is(.btn-primary-3d,.btn-outline,.btn-support,.btn-primary-err,.btn-outline-err):hover {
  transform: none; box-shadow: none; border-color: var(--ui-green);
}
html[data-theme] #iptv4u-site.public-redesign :is(.guide-cta-section,.values-section,.story-section,.apps-directory-section,.email-action-section,.faq-section,.legal-content-section,.terms-content-section) {
  padding: var(--public-space) 0;
}
html[data-theme] #iptv4u-site.public-redesign :is(.cta-box,.action-box,.disclaimer-box,.legal-card,.terms-card,.value-card,.story-box,.contact-card,.app-card,.faq-item) {
  box-shadow: none; backdrop-filter: none; animation: none; transform: none;
}
html[data-theme] #iptv4u-site.public-redesign :is(.border-glow,.cta-box,.action-box,.disclaimer-box,.legal-card,.terms-card,.value-card,.story-box,.contact-card,.app-card,.faq-item)::before,
html[data-theme] #iptv4u-site.public-redesign .border-glow::after { display: none; }
html[data-theme] #iptv4u-site.public-redesign :is(.story-content,.legal-card,.card-body,.tips-box,.seo-app-guide) :is(p,li) {
  font-size: 15px; line-height: 1.85; color: var(--ui-muted); text-align: left;
}
html[data-theme] #iptv4u-site.public-redesign :is(.story-content,.legal-card,.card-body,.seo-app-guide) strong { color: var(--ui-ink); }
html[data-theme] #iptv4u-site.public-redesign :is(.story-content,.legal-card,.card-body,.seo-app-guide) a {
  color: var(--ui-green); text-underline-offset: 4px; overflow-wrap: anywhere;
}

/* The home photograph is the focal point, supported by precise interaction. */
html[data-theme] #iptv4u-site.public-redesign .home .hero-team-image { border-radius: 14px; }
html[data-theme] #iptv4u-site.public-redesign .home .hero-title { font-weight: 580; }
html[data-theme] #iptv4u-site.public-redesign .home .design-primary { border-radius: 8px; transition: background-color .18s, border-color .18s; }
html[data-theme="dark"] #iptv4u-site.public-redesign .home .design-primary { background: #5ccca3; color: #112e24; border-color: #5ccca3; }
html[data-theme="dark"] #iptv4u-site.public-redesign .home .design-primary:hover { background: #8adfbd; border-color: #8adfbd; }
html[data-theme] #iptv4u-site.public-redesign .home .guide-card { transition: border-color .18s; }
html[data-theme] #iptv4u-site.public-redesign .home .guide-card:hover { border-top-color: var(--ui-green); }
html[data-theme] #iptv4u-site.public-redesign .home .card-image { border-radius: 9px; }
html[data-theme] #iptv4u-site.public-redesign .home .cta-section { border-radius: 14px; }
html[data-theme] #iptv4u-site.public-redesign .home .composition-label { text-align: left; }

/* About: the 4U signature, then readable editorial content. */
html[data-theme] #iptv4u-site.public-redesign #about-guide-wrapper .hero-content-grid {
  display: grid; grid-template-columns: 1.3fr .7fr; gap: 72px; align-items: center;
}
html[data-theme] #iptv4u-site.public-redesign #about-guide-wrapper .hero-stats {
  display: flex; justify-content: flex-start; gap: 40px; margin-top: 32px;
  border-top: 1px solid var(--ui-line); padding-top: 24px; flex-wrap: wrap;
}
html[data-theme] #iptv4u-site.public-redesign #about-guide-wrapper .stat-val { font-size: 30px; font-weight: 550; color: var(--ui-ink); line-height: 1.2; }
html[data-theme] #iptv4u-site.public-redesign #about-guide-wrapper .stat-label { font-size: 12px; color: var(--ui-muted); margin-top: 7px; }
html[data-theme] #iptv4u-site.public-redesign #about-guide-wrapper .brand-visual {
  display: grid; place-items: center; position: relative; height: 300px; width: 100%;
  border: 1px solid var(--ui-line); border-radius: 16px; background: var(--ui-soft);
}
html[data-theme] #iptv4u-site.public-redesign #about-guide-wrapper .brand-circle { display: none; }
html[data-theme] #iptv4u-site.public-redesign #about-guide-wrapper .brand-icon {
  font-size: clamp(110px,13vw,170px); line-height: 1; font-weight: 650; letter-spacing: -.08em;
  color: var(--ui-green); text-shadow: none; position: static; transform: none;
}
html[data-theme] #iptv4u-site.public-redesign #about-guide-wrapper .floating-item {
  display: none;
}
html[data-theme] #iptv4u-site.public-redesign #about-guide-wrapper .item-1 { left: 20px; top: 22px; }
html[data-theme] #iptv4u-site.public-redesign #about-guide-wrapper .item-2 { right: 22px; top: auto; bottom: 20px; }
html[data-theme] #iptv4u-site.public-redesign #about-guide-wrapper .item-3 { left: 22px; bottom: 20px; }
html[data-theme] #iptv4u-site.public-redesign #about-guide-wrapper .values-section { background: var(--ui-soft); }
html[data-theme] #iptv4u-site.public-redesign #about-guide-wrapper .values-grid { gap: 36px; margin-top: 32px; }
html[data-theme] #iptv4u-site.public-redesign #about-guide-wrapper .value-card {
  padding: 26px 0 0; border: 0; border-top: 1px solid var(--ui-line); border-radius: 0; background: transparent; text-align: left;
}
html[data-theme] #iptv4u-site.public-redesign #about-guide-wrapper .value-card .card-icon { margin: 0 0 18px; width: auto; height: auto; background: none; font-size: 25px; }
html[data-theme] #iptv4u-site.public-redesign #about-guide-wrapper .value-card h3 { font-size: 20px; margin-bottom: 14px; }
html[data-theme] #iptv4u-site.public-redesign #about-guide-wrapper .value-card p { font-size: 15px; color: var(--ui-muted); line-height: 1.85; }
html[data-theme] #iptv4u-site.public-redesign #about-guide-wrapper .story-box { background: transparent; border: 0; padding: 0; border-radius: 0; }
html[data-theme] #iptv4u-site.public-redesign #about-guide-wrapper .story-content h2 { font-size: 34px; line-height: 1.2; margin: 0 0 24px; letter-spacing: -.03em; }
html[data-theme] #iptv4u-site.public-redesign #about-guide-wrapper .story-content h3 { font-size: 21px; margin: 32px 0 14px; }
html[data-theme] #iptv4u-site.public-redesign #about-guide-wrapper .guide-cta-section { border-top: 1px solid var(--ui-line); }
html[data-theme] #iptv4u-site.public-redesign #about-guide-wrapper .cta-box { text-align: left; padding: 40px; background: var(--ui-soft); border: 1px solid var(--ui-line); border-radius: 14px; }
html[data-theme] #iptv4u-site.public-redesign #about-guide-wrapper .cta-box h2 { font-size: 32px; letter-spacing: -.03em; }
html[data-theme] #iptv4u-site.public-redesign #about-guide-wrapper .cta-buttons { justify-content: flex-start; }

/* Applications: compact platform preview and a useful catalogue. */
html[data-theme] #iptv4u-site.public-redesign #apps-guide-wrapper .hero-content-grid {
  display: grid; grid-template-columns: 1.45fr .75fr; gap: 64px; align-items: center;
}
html[data-theme] #iptv4u-site.public-redesign #apps-guide-wrapper .hero-tags { margin-top: 25px; gap: 9px; display: flex; flex-wrap: wrap; justify-content: flex-start; }
html[data-theme] #iptv4u-site.public-redesign #apps-guide-wrapper .tag { background: var(--ui-soft); color: var(--ui-muted); border: 1px solid var(--ui-line); border-radius: 6px; padding: 6px 12px; font-size: 12px; }
html[data-theme] #iptv4u-site.public-redesign #apps-guide-wrapper .floating-app-grid { position: static; display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; width: auto; height: auto; perspective: none; }
html[data-theme] #iptv4u-site.public-redesign #apps-guide-wrapper .float-circle { display: none; }
html[data-theme] #iptv4u-site.public-redesign #apps-guide-wrapper .float-card { position: static; display: flex; flex-direction: column; align-items: center; justify-content: center; width: auto; height: 138px; padding: 20px 10px; transform: none; animation: none; background: var(--ui-soft); border: 1px solid var(--ui-line); border-radius: 14px; box-shadow: none; }
html[data-theme] #iptv4u-site.public-redesign #apps-guide-wrapper .float-card:nth-child(2) { margin-top: 24px; }
html[data-theme] #iptv4u-site.public-redesign #apps-guide-wrapper .f-icon { background: var(--ui-tint); color: var(--ui-green); border-radius: 10px; font-size: 26px; width: 52px; height: 52px; margin-bottom: 12px; }
html[data-theme] #iptv4u-site.public-redesign #apps-guide-wrapper .f-name { font-size: 12px; }
html[data-theme] #iptv4u-site.public-redesign #apps-guide-wrapper .apps-directory-section { padding-top: 0; }
html[data-theme] #iptv4u-site.public-redesign #apps-guide-wrapper .filter-bar { display: flex; justify-content: flex-start; gap: 8px; flex-wrap: wrap; padding: 22px 0; border-top: 1px solid var(--ui-line); margin-bottom: 16px; }
html[data-theme] #iptv4u-site.public-redesign #apps-guide-wrapper .filter-btn { min-height: 44px; padding: 10px 16px; border-radius: 7px; font-size: 13px; border: 1px solid var(--ui-line); background: transparent; color: var(--ui-muted); box-shadow: none; }
html[data-theme] #iptv4u-site.public-redesign #apps-guide-wrapper .filter-btn.active { background: var(--ui-tint); color: var(--ui-green); border-color: var(--ui-green); }
html[data-theme] #iptv4u-site.public-redesign #apps-guide-wrapper .apps-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
html[data-theme] #iptv4u-site.public-redesign #apps-guide-wrapper .app-card { padding: 30px; background: var(--ui-soft); border: 1px solid var(--ui-line); border-radius: 12px; display: flex; flex-direction: column; min-width: 0; transition: border-color .18s; }
html[data-theme] #iptv4u-site.public-redesign #apps-guide-wrapper .app-card:hover { border-color: var(--ui-green); transform: none; }
html[data-theme] #iptv4u-site.public-redesign #apps-guide-wrapper .app-header { gap: 16px; margin-bottom: 20px; padding-right: 35px; }
html[data-theme] #iptv4u-site.public-redesign #apps-guide-wrapper .app-icon-box { width: 52px; height: 52px; flex: 0 0 52px; border-radius: 12px; font-size: 23px; box-shadow: none; background: var(--ui-tint); color: var(--ui-green); }
html[data-theme] #iptv4u-site.public-redesign #apps-guide-wrapper .app-info h3 { font-size: 20px; line-height: 1.3; margin-bottom: 6px; }
html[data-theme] #iptv4u-site.public-redesign #apps-guide-wrapper .version { font-size: 11px; color: var(--ui-muted); }
html[data-theme] #iptv4u-site.public-redesign #apps-guide-wrapper .app-desc { font-size: 14px; line-height: 1.8; color: var(--ui-muted); }
html[data-theme] #iptv4u-site.public-redesign #apps-guide-wrapper .app-meta { font-size: 11px; margin-bottom: 20px; gap: 12px; flex-wrap: wrap; }
html[data-theme] #iptv4u-site.public-redesign #apps-guide-wrapper .app-actions { margin-top: auto; padding-top: 18px; }
html[data-theme] #iptv4u-site.public-redesign #apps-guide-wrapper .app-actions .action-btn { width: auto; min-height: 44px; border-radius: 7px; font-size: 13px; padding: 10px 16px; }
html[data-theme] #iptv4u-site.public-redesign #apps-guide-wrapper .card-badge { top: 12px; right: 12px; border-radius: 4px; padding: 4px 8px; font-size: 10px; background: var(--ui-tint); color: var(--ui-green); border: 1px solid var(--ui-line); }
html[data-theme] #iptv4u-site.public-redesign #apps-guide-wrapper .seo-app-guide { margin-top: 64px !important; padding: 38px 0 0 !important; background: transparent !important; border: 0 !important; border-top: 1px solid var(--ui-line) !important; border-radius: 0 !important; }
html[data-theme] #iptv4u-site.public-redesign #apps-guide-wrapper .seo-app-guide h2 { text-align: left !important; font-size: 32px; line-height: 1.25; letter-spacing: -.035em; }
html[data-theme] #iptv4u-site.public-redesign #apps-guide-wrapper .comparison-table-wrapper { margin-top: 28px; padding: 0; border: 1px solid var(--ui-line); border-radius: 10px; background: var(--ui-solid); overscroll-behavior-inline: contain; }
html[data-theme] #iptv4u-site.public-redesign #apps-guide-wrapper .app-table { font-size: 14px; }
html[data-theme] #iptv4u-site.public-redesign #apps-guide-wrapper .apk-guide { max-width: 900px; }
html[data-theme] #iptv4u-site.public-redesign #apps-guide-wrapper .cta-box { background: var(--ui-soft); border: 1px solid var(--ui-line); border-radius: 14px; padding: 40px; text-align: left; }

/* Support: a direct contact panel, practical guidance and readable answers. */
html[data-theme] #iptv4u-site.public-redesign #contact-wrapper .contact-header { max-width: 850px; text-align: left; margin: 0 0 42px; }
html[data-theme] #iptv4u-site.public-redesign #contact-wrapper .contact-header .hero-subtitle { margin-inline: 0; }
html[data-theme] #iptv4u-site.public-redesign #contact-wrapper .contact-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 32px; }
html[data-theme] #iptv4u-site.public-redesign #contact-wrapper .contact-card { padding: 32px; background: var(--ui-soft); border-radius: 12px; border: 1px solid var(--ui-line); text-align: left; }
html[data-theme] #iptv4u-site.public-redesign #contact-wrapper .contact-card > .card-icon { background: transparent; width: 28px; height: 28px; padding: 0; border-radius: 0; margin: 0 0 20px; font-size: 26px; }
html[data-theme] #iptv4u-site.public-redesign #contact-wrapper .contact-card h3 { font-size: 24px; letter-spacing: -.02em; }
html[data-theme] #iptv4u-site.public-redesign #contact-wrapper .card-desc { font-size: 15px; color: var(--ui-muted); }
html[data-theme] #iptv4u-site.public-redesign #contact-wrapper .email-box { background: var(--ui-bg); padding: 18px; border: 1px solid var(--ui-line); border-radius: 8px; gap: 12px; }
html[data-theme] #iptv4u-site.public-redesign #contact-wrapper .email-link { font-size: 18px; font-weight: 500; letter-spacing: -.02em; }
html[data-theme] #iptv4u-site.public-redesign #contact-wrapper .copy-btn { background: var(--ui-tint); color: var(--ui-green); border-radius: 6px; border: 1px solid var(--ui-line); min-height: 44px; }
html[data-theme] #iptv4u-site.public-redesign #contact-wrapper .card-meta { font-size: 12px; flex-wrap: wrap; gap: 12px; }
html[data-theme] #iptv4u-site.public-redesign #contact-wrapper .support-list { font-size: 15px; line-height: 1.9; color: var(--ui-muted); }
html[data-theme] #iptv4u-site.public-redesign #contact-wrapper .email-action-section { background: var(--ui-soft); }
html[data-theme] #iptv4u-site.public-redesign #contact-wrapper .action-box { border: 0; padding: 0; border-radius: 0; background: transparent; text-align: left; }
html[data-theme] #iptv4u-site.public-redesign #contact-wrapper .action-box h2 { font-size: 34px; line-height: 1.2; margin-bottom: 18px; letter-spacing: -.03em; }
html[data-theme] #iptv4u-site.public-redesign #contact-wrapper .action-box > p { font-size: 15px; color: var(--ui-muted); }
html[data-theme] #iptv4u-site.public-redesign #contact-wrapper .tips-box { margin-top: 32px; padding: 24px 0 0; border: 0; border-top: 1px solid var(--ui-line); border-radius: 0; background: transparent; }
html[data-theme] #iptv4u-site.public-redesign #contact-wrapper .tips-box h4 { color: var(--ui-ink); font-size: 16px; }
html[data-theme] #iptv4u-site.public-redesign #contact-wrapper .faq-grid { display: block; max-width: 900px; margin-top: 30px; }
html[data-theme] #iptv4u-site.public-redesign #contact-wrapper .faq-item { background: transparent; border: 0; border-top: 1px solid var(--ui-line); border-radius: 0; margin: 0; }
html[data-theme] #iptv4u-site.public-redesign #contact-wrapper .faq-item:last-child { border-bottom: 1px solid var(--ui-line); }
html[data-theme] #iptv4u-site.public-redesign #contact-wrapper .faq-head { font-size: 17px; padding: 24px 0; gap: 24px; }
html[data-theme] #iptv4u-site.public-redesign #contact-wrapper .faq-body { font-size: 15px; color: var(--ui-muted); line-height: 1.85; }
html[data-theme] #iptv4u-site.public-redesign #contact-wrapper .faq-item.open .faq-body { padding: 0 0 25px; }

/* Video library: a viewing surface, distinct from the application catalogue. */
html[data-theme] #iptv4u-site.public-redesign .video-library { margin-inline: auto; padding-block: var(--public-space); }
html[data-theme] #iptv4u-site.public-redesign .video-library .page-header { text-align: left; margin: 0 0 34px; max-width: 900px; }
html[data-theme] #iptv4u-site.public-redesign .video-library .page-header h1 { font-size: clamp(36px,4.5vw,64px); line-height: 1.15; margin-bottom: 20px; }
html[data-theme] #iptv4u-site.public-redesign .video-library .page-header h1 > .ui-icon { font-size: .65em; vertical-align: -.05em; }
html[data-theme] #iptv4u-site.public-redesign .video-library .search-section { max-width: 100%; margin: 0 0 48px; padding-bottom: 32px; border-bottom: 1px solid var(--ui-line); }
html[data-theme] #iptv4u-site.public-redesign .video-library .search-box { max-width: 760px; margin: 0; }
html[data-theme] #iptv4u-site.public-redesign .video-library .search-box input { border-radius: 10px; min-height: 58px; background: var(--ui-soft); font-size: 15px; }
html[data-theme] #iptv4u-site.public-redesign .video-library .section-header { align-items: end; margin-bottom: 28px; }
html[data-theme] #iptv4u-site.public-redesign .video-library .section-title { font-size: 30px; letter-spacing: -.035em; }
html[data-theme] #iptv4u-site.public-redesign .video-library .section-subtitle { font-size: 14px; }
html[data-theme] #iptv4u-site.public-redesign .video-library .view-all { border: 1px solid var(--ui-line); border-radius: 6px; padding: 10px 14px; min-height: 44px; font-size: 12px; }
html[data-theme] #iptv4u-site.public-redesign .video-library .video-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 30px; }
html[data-theme] #iptv4u-site.public-redesign .video-library .video-card { border: 0; border-bottom: 1px solid var(--ui-line); border-radius: 0; background: transparent; box-shadow: none; overflow: visible; transition: none; }
html[data-theme] #iptv4u-site.public-redesign .video-library .video-card:hover { transform: none; box-shadow: none; }
html[data-theme] #iptv4u-site.public-redesign .video-library .video-thumb { border-radius: 12px; overflow: hidden; background: var(--ui-soft); aspect-ratio: 16/9; height: auto; }
html[data-theme] #iptv4u-site.public-redesign .video-library .play-btn { width: 52px; height: 52px; background: #167957; border: 1px solid #63d2ac; box-shadow: none; }
html[data-theme] #iptv4u-site.public-redesign .video-library .play-btn svg { fill: #fff; }
html[data-theme] #iptv4u-site.public-redesign .video-library .video-card-content { padding: 20px 0 24px; }
html[data-theme] #iptv4u-site.public-redesign .video-library .video-card h3 { font-size: 18px; line-height: 1.45; font-weight: 550; min-height: 0; }
html[data-theme] #iptv4u-site.public-redesign .video-library .video-description { font-size: 14px; line-height: 1.75; }
html[data-theme] #iptv4u-site.public-redesign .video-library .video-actions { gap: 10px; flex-wrap: wrap; margin-top: 18px; }
html[data-theme] #iptv4u-site.public-redesign .video-library .video-actions .action-btn { min-height: 44px; width: auto; border-radius: 6px; padding: 10px 12px; font-size: 11px; }
html[data-theme] #iptv4u-site.public-redesign .video-library ~ .video-seo-content { padding: 42px 0 !important; margin-top: 50px !important; border-radius: 0 !important; border: 0 !important; border-top: 1px solid var(--ui-line) !important; background: transparent !important; font-size: 15px; }
html[data-theme] #iptv4u-site.public-redesign .video-library ~ .video-seo-content h2 { font-size: 30px; text-align: left !important; letter-spacing: -.03em; }
html[data-theme] #iptv4u-site.public-redesign .video-library ~ .cta-section { background: var(--ui-soft); border: 1px solid var(--ui-line); border-radius: 14px; padding: 42px; text-align: left; }
html[data-theme] #iptv4u-site.public-redesign .video-library ~ .cta-section h2 { font-size: 30px; letter-spacing: -.03em; }
html[data-theme] #iptv4u-site.public-redesign .video-library ~ .cta-section .btn-light { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 22px; border-radius: 8px; background: #167957; color: #fff; border: 1px solid #248a66; font-size: 14px; }
html[data-theme] #iptv4u-site.public-redesign .video-library ~ .video-seo-content { width: min(100% - 96px,900px); margin: 0 auto 64px !important; }
html[data-theme] #iptv4u-site.public-redesign .video-library ~ .cta-section { width: min(100% - 96px,1280px); margin: 0 auto 84px; }
html[data-theme] #iptv4u-site.public-redesign .video-library ~ .cta-section :is(h2,p) { color: var(--ui-ink); }
html[data-theme] #iptv4u-site.public-redesign .video-library ~ .cta-section p { max-width: 760px; margin: 16px 0 26px; text-align: left; font-size: 15px; font-weight: 400; line-height: 1.8; color: var(--ui-muted); }
html[data-theme] #iptv4u-site.public-redesign .video-library ~ .cta-section .cta-buttons { justify-content: flex-start; }
html[data-theme] #iptv4u-site.public-redesign .video-library ~ .cta-section .btn-outline-light { border: 1px solid var(--ui-line); border-radius: 8px; background: transparent; color: var(--ui-ink); min-height: 48px; font-size: 14px; }
html[data-theme] #iptv4u-site.public-redesign .modal-content { border-radius: 12px; background: var(--ui-solid); border: 1px solid var(--ui-line); }
html[data-theme] #iptv4u-site.public-redesign #videoModal .modal-content { max-height: calc(100vh - 32px); max-height: calc(100dvh - 32px); display: flex; flex-direction: column; overflow-y: auto; }
html[data-theme] #iptv4u-site.public-redesign #videoModal .modal-header { flex: 0 0 auto; }
html[data-theme] #iptv4u-site.public-redesign #modalVideo { display: block; min-height: 0; max-height: calc(100vh - 110px); max-height: calc(100dvh - 110px); object-fit: contain; }

/* Legal pages: continuous reading instead of a wall of individual cards. */
html[data-theme] #iptv4u-site.public-redesign :is(.privacy-hero,.terms-hero) { border-bottom: 1px solid var(--ui-line); }
html[data-theme] #iptv4u-site.public-redesign :is(#privacy-wrapper,#terms-wrapper) .hero-text { text-align: left; max-width: 950px; margin-inline: 0; }
html[data-theme] #iptv4u-site.public-redesign :is(#privacy-wrapper,#terms-wrapper) .hero-title { margin: 0 0 24px; font-size: clamp(38px,4.8vw,66px); }
html[data-theme] #iptv4u-site.public-redesign :is(#privacy-wrapper,#terms-wrapper) .hero-subtitle { margin-inline: 0; max-width: 700px; }
html[data-theme] #iptv4u-site.public-redesign :is(#privacy-wrapper,#terms-wrapper) .last-update { width: fit-content; margin-top: 24px; padding: 8px 12px; border: 1px solid var(--ui-line); border-radius: 6px; font-size: 12px; font-style: normal; opacity: 1; background: var(--ui-soft); color: var(--ui-muted); }
html[data-theme] #iptv4u-site.public-redesign :is(#privacy-wrapper,#terms-wrapper) .narrow { max-width: 900px; }
html[data-theme] #iptv4u-site.public-redesign :is(#privacy-wrapper,#terms-wrapper) :is(.legal-card,.terms-card) { position: relative; padding: 36px 0; margin: 0; border: 0; border-bottom: 1px solid var(--ui-line); border-radius: 0; background: transparent; }
html[data-theme] #iptv4u-site.public-redesign #privacy-wrapper .legal-card > .card-icon { position: static; width: 26px; height: 26px; font-size: 24px; background: transparent; margin-bottom: 18px; border-radius: 0; }
html[data-theme] #iptv4u-site.public-redesign :is(#privacy-wrapper,#terms-wrapper) :is(.legal-card h2,.terms-card h2) { font-size: 25px; margin: 0 0 18px; letter-spacing: -.025em; }
html[data-theme] #iptv4u-site.public-redesign :is(#privacy-wrapper,#terms-wrapper) :is(.legal-list,.terms-list) { padding-left: 22px; }
html[data-theme] #iptv4u-site.public-redesign :is(#privacy-wrapper,#terms-wrapper) :is(.legal-list li,.terms-list li) { padding-left: 6px; margin-block: 10px; }
html[data-theme] #iptv4u-site.public-redesign #privacy-wrapper .alert-box { background: var(--ui-tint); border: 1px solid var(--ui-line); border-radius: 8px; color: var(--ui-ink); padding: 18px 22px; font-size: 14px; }
html[data-theme] #iptv4u-site.public-redesign #privacy-wrapper .contact-highlight { background: transparent; border-left: 0; }
html[data-theme] #iptv4u-site.public-redesign #privacy-wrapper .contact-link { font-size: 17px; color: var(--ui-green); border-radius: 6px; }
html[data-theme] #iptv4u-site.public-redesign #terms-wrapper .disclaimer-box { padding: 28px; display: flex; gap: 20px; background: var(--ui-soft); border: 1px solid var(--ui-line); border-radius: 12px; margin-bottom: 12px; }
html[data-theme] #iptv4u-site.public-redesign #terms-wrapper .disclaimer-icon { font-size: 25px; width: auto; height: auto; background: transparent; flex: 0 0 28px; }
html[data-theme] #iptv4u-site.public-redesign #terms-wrapper .disclaimer-text h3 { font-size: 21px; margin-bottom: 12px; }
html[data-theme] #iptv4u-site.public-redesign #terms-wrapper .disclaimer-text { text-align: left; }
html[data-theme] #iptv4u-site.public-redesign #terms-wrapper .disclaimer-text p { font-size: 15px; line-height: 1.85; color: var(--ui-muted); }
html[data-theme] #iptv4u-site.public-redesign #terms-wrapper .terms-card .card-header { display: flex; gap: 18px; align-items: baseline; margin-bottom: 18px; padding: 0; border: 0; }
html[data-theme] #iptv4u-site.public-redesign #terms-wrapper .terms-card .card-header h2 { margin: 0; }
html[data-theme] #iptv4u-site.public-redesign #terms-wrapper .card-number { position: static; font-size: 15px; color: var(--ui-green); font-weight: 500; opacity: 1; }
html[data-theme] #iptv4u-site.public-redesign #terms-wrapper .terms-footer { text-align: left; margin-top: 32px; }

/* Error recovery and shared navigation/consent controls. */
html[data-theme] #iptv4u-site.public-redesign .page-404 { min-height: 68vh; }
html[data-theme] #iptv4u-site.public-redesign .error-section { padding-block: var(--public-space); text-align: left; }
html[data-theme] #iptv4u-site.public-redesign .error-content { max-width: 1000px; }
html[data-theme] #iptv4u-site.public-redesign .error-number { justify-content: flex-start; }
html[data-theme] #iptv4u-site.public-redesign .error-actions { justify-content: flex-start; }
html[data-theme] #iptv4u-site.public-redesign .error-suggestions { background: var(--ui-soft); border: 1px solid var(--ui-line); border-radius: 12px; padding: 26px; }
html[data-theme] #iptv4u-site.public-redesign .suggestions-links { justify-content: flex-start; }
html[data-theme] #iptv4u-site.public-redesign .search-container { border-radius: 14px; box-shadow: 0 20px 70px #0004; }
html[data-theme] #iptv4u-site.public-redesign .search-input { border-radius: 8px; min-height: 54px; }
html[data-theme] #iptv4u-site.public-redesign .search-tag { border-radius: 6px; min-height: 40px; }
html[data-theme] #iptv4u-site.public-redesign :is(.nav-dropdown,.mobile-nav,.ck,.rec-card) { border-radius: 12px; }
html[data-theme] #iptv4u-site.public-redesign .mobile-nav { border-radius: 0; }
html[data-theme] #iptv4u-site.public-redesign .nav-dropdown { background: var(--ui-solid); }
html[data-theme] #iptv4u-site.public-redesign .nav-dropdown::before { background: var(--ui-solid); }
html[data-theme] #iptv4u-site.public-redesign .dropdown-item { color: var(--ui-ink); border-color: var(--ui-line); min-height: 46px; }
html[data-theme] #iptv4u-site.public-redesign .dropdown-header { border-color: var(--ui-line); }
html[data-theme] #iptv4u-site.public-redesign .nav-item.has-dropdown:focus-within .nav-dropdown { opacity: 1; visibility: visible; transform: none; }
html[data-theme] #iptv4u-site.public-redesign :is(.ck-btn,.ck-prefs,.rec-cta) { border-radius: 7px; }
html[data-theme] #iptv4u-site.public-redesign .rec-launcher { min-height: 42px; padding-block: 6px; font-size: 12px; border-radius: 8px; }
html[data-theme] #iptv4u-site.public-redesign .rec-launcher::before { display: none; }
html[data-theme] #iptv4u-site.public-redesign .rec:has(.rec-launcher[aria-expanded="true"]) { z-index: 1100; }
html[data-theme] #iptv4u-site.public-redesign :is(.footer-description,.footer-link,.footer-legal a,.footer-note) { font-size: 13px; }
html[data-theme] #iptv4u-site.public-redesign .footer-title { font-size: 13px; font-weight: 600; }
html[data-theme] #iptv4u-site.public-redesign .footer-link { min-height: 34px; }

@media(max-width:1100px) {
  html[data-theme] #iptv4u-site.public-redesign :is(.guide-container,.video-library) { width: calc(100% - 64px); }
  html[data-theme] #iptv4u-site.public-redesign :is(#about-guide-wrapper,#apps-guide-wrapper) .hero-content-grid { gap: 36px; grid-template-columns: 1.2fr .8fr; }
  html[data-theme] #iptv4u-site.public-redesign #apps-guide-wrapper .floating-app-grid { gap: 8px; }
  html[data-theme] #iptv4u-site.public-redesign #apps-guide-wrapper .float-card { padding: 14px 6px; height: 125px; }
  html[data-theme] #iptv4u-site.public-redesign #contact-wrapper .contact-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  html[data-theme] #iptv4u-site.public-redesign #contact-wrapper .email-box { flex-direction: column; align-items: flex-start; }
  html[data-theme] #iptv4u-site.public-redesign #contact-wrapper .email-link { font-size: 16px; }
  html[data-theme] #iptv4u-site.public-redesign .video-library .video-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 26px; }
}
@media(max-width:760px) {
  html[data-theme] #iptv4u-site.public-redesign :is(#about-guide-wrapper,#apps-guide-wrapper) .hero-content-grid { grid-template-columns: 1fr; }
  html[data-theme] #iptv4u-site.public-redesign #about-guide-wrapper .hero-visual { display: none; }
  html[data-theme] #iptv4u-site.public-redesign #about-guide-wrapper .values-grid { grid-template-columns: 1fr; gap: 28px; }
  html[data-theme] #iptv4u-site.public-redesign #apps-guide-wrapper .floating-app-grid { max-width: 390px; }
  html[data-theme] #iptv4u-site.public-redesign #apps-guide-wrapper .apps-grid { grid-template-columns: 1fr; }
  html[data-theme] #iptv4u-site.public-redesign #contact-wrapper .contact-grid { grid-template-columns: 1fr; }
  html[data-theme] #iptv4u-site.public-redesign .footer-main { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 32px; }
  html[data-theme] #iptv4u-site.public-redesign .footer-brand { grid-column: 1/-1; text-align: left; max-width: 500px; }
  html[data-theme] #iptv4u-site.public-redesign .footer-logo { justify-content: flex-start; }
}
@media(max-width:600px) {
  html[data-theme] #iptv4u-site.public-redesign :is(.guide-container,.video-library) { width: calc(100% - 40px); }
  html[data-theme] #iptv4u-site.public-redesign :is(.hero-title,.page-header h1) { font-size: clamp(36px,9.6vw,46px); }
  html[data-theme] #iptv4u-site.public-redesign :is(.hero-subtitle,.page-header p) { font-size: 15px; }
  html[data-theme] #iptv4u-site.public-redesign :is(.guide-badge,.guide-badge.pulse) { font-size: 11px; }
  html[data-theme] #iptv4u-site.public-redesign #about-guide-wrapper .hero-stats { gap: 28px; }
  html[data-theme] #iptv4u-site.public-redesign #about-guide-wrapper .stat-val { font-size: 26px; }
  html[data-theme] #iptv4u-site.public-redesign #about-guide-wrapper .stat-label { font-size: 11px; }
  html[data-theme] #iptv4u-site.public-redesign #about-guide-wrapper :is(.cta-box h2,.story-content h2) { font-size: 28px; }
  html[data-theme] #iptv4u-site.public-redesign #about-guide-wrapper .cta-box { padding: 26px; }
  html[data-theme] #iptv4u-site.public-redesign #apps-guide-wrapper .app-card { padding: 25px 20px; }
  html[data-theme] #iptv4u-site.public-redesign #apps-guide-wrapper .app-header { gap: 13px; padding-right: 12px; margin-top: 18px; }
  html[data-theme] #iptv4u-site.public-redesign #apps-guide-wrapper .app-info h3 { font-size: 19px; }
  html[data-theme] #iptv4u-site.public-redesign #apps-guide-wrapper .app-icon-box { width: 45px; height: 45px; flex-basis: 45px; font-size: 21px; }
  html[data-theme] #iptv4u-site.public-redesign #apps-guide-wrapper .filter-bar { gap: 8px; }
  html[data-theme] #iptv4u-site.public-redesign #apps-guide-wrapper .filter-btn { font-size: 12px; padding: 9px 12px; }
  html[data-theme] #iptv4u-site.public-redesign #apps-guide-wrapper .seo-app-guide h2 { font-size: 28px; }
  html[data-theme] #iptv4u-site.public-redesign #apps-guide-wrapper .cta-box { padding: 26px; }
  html[data-theme] #iptv4u-site.public-redesign #contact-wrapper .contact-card { padding: 26px 22px; }
  html[data-theme] #iptv4u-site.public-redesign #contact-wrapper .contact-header { margin-bottom: 30px; }
  html[data-theme] #iptv4u-site.public-redesign #contact-wrapper .action-box h2 { font-size: 29px; }
  html[data-theme] #iptv4u-site.public-redesign #contact-wrapper .faq-head { font-size: 16px; }
  html[data-theme] #iptv4u-site.public-redesign #contact-wrapper .email-link { font-size: 16px; }
  html[data-theme] #iptv4u-site.public-redesign .video-library .video-grid { grid-template-columns: 1fr; }
  html[data-theme] #iptv4u-site.public-redesign .video-library .page-header h1 { font-size: 38px; }
  html[data-theme] #iptv4u-site.public-redesign .video-library .section-header { flex-direction: column; align-items: flex-start; gap: 20px; }
  html[data-theme] #iptv4u-site.public-redesign .video-library .section-title { font-size: 27px; }
  html[data-theme] #iptv4u-site.public-redesign .video-library .search-box input { font-size: 14px; min-height: 54px; }
  html[data-theme] #iptv4u-site.public-redesign .video-library ~ .cta-section { padding: 28px 22px; }
  html[data-theme] #iptv4u-site.public-redesign .video-library ~ .cta-section h2 { font-size: 27px; }
  html[data-theme] #iptv4u-site.public-redesign .video-library ~ :is(.cta-section,.video-seo-content) { width: calc(100% - 40px); }
  html[data-theme] #iptv4u-site.public-redesign :is(#privacy-wrapper,#terms-wrapper) .hero-title { font-size: clamp(34px,9vw,44px); }
  html[data-theme] #iptv4u-site.public-redesign :is(#privacy-wrapper,#terms-wrapper) :is(.legal-card,.terms-card) { padding-block: 28px; }
  html[data-theme] #iptv4u-site.public-redesign :is(#privacy-wrapper,#terms-wrapper) :is(.legal-card h2,.terms-card h2) { font-size: 22px; }
  html[data-theme] #iptv4u-site.public-redesign #terms-wrapper .disclaimer-box { padding: 24px 20px; gap: 15px; }
  html[data-theme] #iptv4u-site.public-redesign #terms-wrapper .disclaimer-icon { display: none; }
  html[data-theme] #iptv4u-site.public-redesign .error-actions { align-items: stretch; }
  html[data-theme] #iptv4u-site.public-redesign .error-suggestions { padding: 22px; }
  html[data-theme] #iptv4u-site.public-redesign .suggestions-links a { font-size: 13px; padding: 9px 12px; }
  html[data-theme] #iptv4u-site.public-redesign .search-container { padding: 26px 20px; }
  html[data-theme] #iptv4u-site.public-redesign .footer-bottom { align-items: flex-start; text-align: left; }
  html[data-theme] #iptv4u-site.public-redesign .footer-legal { justify-content: flex-start; gap: 14px; }
  html[data-theme] #iptv4u-site.public-redesign .support-cta { padding: 22px 16px; }
  html[data-theme] #iptv4u-site.public-redesign .rec { left: auto; right: 14px; bottom: max(12px,env(safe-area-inset-bottom)); }
  html[data-theme] #iptv4u-site.public-redesign .rec-card {
    left: auto; right: 0; width: calc(100vw - 28px); max-width: calc(100vw - 28px);
    max-height: calc(100vh - 100px); max-height: calc(100dvh - 100px);
    overflow-y: auto; overscroll-behavior: contain; transform-origin: right bottom;
  }
  html[data-theme] #iptv4u-site.public-redesign .rec-eyebrow { max-width: calc(100% - 38px); letter-spacing: .01em; text-transform: none; }
  html[data-theme] #iptv4u-site.public-redesign .rec-close { width: 44px; height: 44px; top: 6px; right: 6px; }
}
@media(prefers-reduced-motion:reduce) {
  html[data-theme] #iptv4u-site.public-redesign *,
  html[data-theme] #iptv4u-site.public-redesign *::before,
  html[data-theme] #iptv4u-site.public-redesign *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
