.lsf-pwa-button,
.lsf-notify-button {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #e5e2e1;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.lsf-header-icon-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.lsf-header-icon-button:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-1px);
}

.lsf-header-icon-button .lsf-notify-dot {
  position: absolute;
  top: 0.35rem;
  right: 0.35rem;
  width: 0.48rem;
  height: 0.48rem;
  border-radius: 999px;
  background: #cc1616;
  box-shadow: 0 0 0 2px rgba(14, 14, 14, 0.94);
}

.lsf-header-icon-button .lsf-notify-badge {
  position: absolute;
  top: 0.2rem;
  right: 0.15rem;
  min-width: 1rem;
  height: 1rem;
  padding: 0 0.22rem;
  border-radius: 999px;
  background: #cc1616;
  color: #fff;
  font-size: 0.55rem;
  font-weight: 900;
  line-height: 1rem;
  text-align: center;
  box-shadow: 0 0 0 2px rgba(14, 14, 14, 0.94);
}

.lsf-header-icon-button[data-state="soon"] .lsf-notify-badge {
  background: #ff5a5a;
}

.lsf-header-icon-button[data-state="scheduled"] .lsf-notify-badge {
  background: #cc1616;
}

.lsf-header-icon-button[data-permission="granted"] .lsf-notify-dot {
  background: #1fa64a;
}

.lsf-header-icon-button[data-permission="denied"] .lsf-notify-dot {
  background: rgba(229, 226, 225, 0.32);
}

.lsf-header-icon-button .lsf-notify-dot[hidden],
.lsf-header-icon-button .lsf-notify-badge[hidden] {
  display: none !important;
}

.lsf-pwa-button:hover,
.lsf-notify-button:hover {
  transform: translateY(-1px);
  border-color: rgba(204, 22, 22, 0.5);
  background: rgba(204, 22, 22, 0.14);
}

.lsf-pwa-button[hidden],
.lsf-notify-button[hidden] {
  display: none !important;
}

.lsf-pwa-fab {
  position: fixed;
  right: 1rem;
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 220;
  padding: 0.95rem 1.2rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #cc1616, #ff5a5a);
  color: #fff;
  border: 0;
  box-shadow: 0 14px 35px rgba(204, 22, 22, 0.28);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.lsf-pwa-fab[hidden] {
  display: none !important;
}

.lsf-install-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 210;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.1rem;
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(14, 14, 14, 0.94);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.4);
}

.lsf-install-banner-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lsf-install-dismiss {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(229, 226, 225, 0.72);
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.lsf-install-dismiss:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(204, 22, 22, 0.3);
  color: #fff;
}

.lsf-install-banner[hidden] {
  display: none !important;
}

.lsf-install-banner-title {
  color: #fff;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.lsf-install-banner-copy {
  margin-top: 0.35rem;
  color: rgba(229, 226, 225, 0.62);
  font-size: 0.84rem;
  line-height: 1.4;
}

.lsf-notify-panel {
  position: fixed;
  top: 5rem;
  right: 1rem;
  z-index: 225;
  width: min(24rem, calc(100vw - 2rem));
  max-height: min(78vh, 42rem);
  overflow-y: auto;
  padding: 1rem;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(14, 14, 14, 0.96);
  backdrop-filter: blur(18px);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.48);
}

.lsf-notify-panel.is-visible {
  display: block;
}

.lsf-notify-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.lsf-notify-panel-eyebrow,
.lsf-notify-panel-label {
  color: #cc1616;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.lsf-notify-panel-title {
  margin-top: 0.25rem;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.lsf-ticker-rail {
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.lsf-ticker-rail::-webkit-scrollbar {
  display: none;
}

.lsf-ticker-card {
  scroll-snap-align: start;
}

.lsf-hero-shell {
  background: #0e0e0e;
}

.lsf-hero-shell [data-hero-slide] {
  will-change: opacity;
}

[data-pretext-fit] {
  text-rendering: geometricPrecision;
}

.lsf-mobile-top-nav {
  display: none;
}

.lsf-mobile-top-nav-scroll {
  display: flex;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.lsf-mobile-top-nav-scroll::-webkit-scrollbar {
  display: none;
}

.lsf-mobile-nav-icon {
  font-size: 1.2rem;
  line-height: 1;
}

.lsf-mobile-nav-label {
  line-height: 1;
}

.lsf-network-ad-slot {
  position: relative;
  display: flex;
  width: 100%;
  border-radius: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(circle at top right, rgba(204, 22, 22, 0.18), transparent 32%),
    radial-gradient(circle at bottom left, rgba(31, 166, 74, 0.12), transparent 36%),
    rgba(19, 20, 24, 0.88);
  overflow: hidden;
  isolation: isolate;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

.lsf-network-ad-slot::before {
  content: "Sponsored";
  position: absolute;
  top: 0.85rem;
  left: 1rem;
  z-index: 1;
  color: rgba(229, 226, 225, 0.45);
  font-size: 0.58rem;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  pointer-events: none;
}

.lsf-network-ad-slot[data-state="ready"]::before {
  opacity: 0;
}

.lsf-network-ad-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
}

.lsf-network-ad-slot--strip {
  height: 8rem;
}

.lsf-network-ad-slot--banner {
  height: 12rem;
}

.lsf-network-ad-slot--billboard {
  height: 18rem;
}

.lsf-network-ad-slot--panel {
  height: 20rem;
}

.lsf-network-ad-slot--hero {
  height: 22rem;
}

@media (max-width: 768px) {
  .lsf-network-ad-slot--banner,
  .lsf-network-ad-slot--billboard,
  .lsf-network-ad-slot--panel,
  .lsf-network-ad-slot--hero {
    height: 14rem;
  }
}

.lsf-mobile-top-nav-link,
.lsf-mobile-top-nav-trigger {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(229, 226, 225, 0.72);
  text-decoration: none;
}

.lsf-mobile-more {
  position: relative;
}

.lsf-mobile-more-menu {
  display: none;
}

.lsf-mobile-more.is-open .lsf-mobile-more-menu {
  display: grid;
}

@media (max-width: 767px) {
  .lsf-hero-shell {
    min-height: 540px;
  }
}

.lsf-panel-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(229, 226, 225, 0.68);
}

.lsf-blog-shell {
  background:
    radial-gradient(circle at top left, rgba(204, 22, 22, 0.12), transparent 28%),
    radial-gradient(circle at top right, rgba(46, 112, 255, 0.1), transparent 26%),
    linear-gradient(180deg, #0e0e0e 0%, #111317 100%);
}

.lsf-blog-card {
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.28);
}

.lsf-article-body,
.lsf-article-section {
  color: rgba(229, 226, 225, 0.92);
}

.lsf-article-section h2,
.lsf-article-body h2 {
  margin-bottom: 1.25rem;
  color: #fff;
  font-size: clamp(1.6rem, 2vw, 2.25rem);
  font-style: italic;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 0.95;
  text-transform: uppercase;
}

.lsf-article-section p,
.lsf-article-body p {
  margin-top: 1.1rem;
  color: rgba(229, 226, 225, 0.78);
  font-size: 1rem;
  line-height: 1.9;
}

.lsf-article-body blockquote {
  margin-top: 3rem;
  padding: 1.5rem 1.5rem 1.5rem 2rem;
  border-left: 3px solid #cc1616;
  border-radius: 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-style: italic;
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.lsf-editorial-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(8, 10, 15, 0.82);
  backdrop-filter: blur(18px);
}

@media (max-width: 767px) {
  .lsf-article-section p,
  .lsf-article-body p {
    font-size: 0.95rem;
    line-height: 1.8;
  }
}

.lsf-notify-panel-block {
  margin-bottom: 0.9rem;
}

.lsf-notify-status,
.lsf-install-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.lsf-notify-status.is-ready {
  border-color: rgba(31, 166, 74, 0.28);
}

.lsf-notify-status.is-blocked {
  border-color: rgba(255, 90, 90, 0.25);
}

.lsf-notify-status-title {
  color: #fff;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lsf-notify-status-copy {
  margin-top: 0.32rem;
  color: rgba(229, 226, 225, 0.62);
  font-size: 0.8rem;
  line-height: 1.45;
}

.lsf-notify-action {
  appearance: none;
  border: 1px solid rgba(204, 22, 22, 0.28);
  background: rgba(204, 22, 22, 0.14);
  color: #fff;
  padding: 0.72rem 0.95rem;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.lsf-notify-reminder-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.75rem;
}

.lsf-reminder-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  align-items: start;
  padding: 0.95rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
}

.lsf-reminder-link {
  color: inherit;
  text-decoration: none;
}

.lsf-reminder-title {
  color: #fff;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lsf-reminder-copy {
  margin-top: 0.4rem;
  color: rgba(229, 226, 225, 0.68);
  font-size: 0.76rem;
  line-height: 1.4;
}

.lsf-reminder-meta {
  margin-top: 0.55rem;
  color: rgba(229, 226, 225, 0.45);
  font-size: 0.64rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lsf-reminder-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(229, 226, 225, 0.62);
}

.lsf-notify-empty {
  padding: 1rem;
  border-radius: 1rem;
  border: 1px dashed rgba(255, 255, 255, 0.08);
  color: rgba(229, 226, 225, 0.48);
  font-size: 0.76rem;
  line-height: 1.5;
}

.lsf-toast {
  position: fixed;
  left: 50%;
  bottom: max(1rem, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  z-index: 230;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.95rem 1.1rem;
  border-radius: 999px;
  background: rgba(14, 14, 14, 0.92);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.45);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.lsf-toast[data-tone="success"] {
  border-color: rgba(31, 166, 74, 0.35);
}

.lsf-toast[data-tone="error"] {
  border-color: rgba(255, 80, 80, 0.35);
}

@media (max-width: 1023px) {
  body {
    overflow-x: hidden;
  }

  #main-header > div:first-child {
    min-height: 4rem;
    padding-left: 0.9rem;
    padding-right: 0.9rem;
  }

  .lsf-mobile-top-nav {
    position: fixed;
    right: max(0.75rem, env(safe-area-inset-right));
    bottom: max(0.65rem, env(safe-area-inset-bottom));
    left: max(0.75rem, env(safe-area-inset-left));
    z-index: 235;
    display: block;
    padding: 0.7rem 0.8rem calc(0.7rem + env(safe-area-inset-bottom));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.35rem;
    background: rgba(10, 10, 10, 0.96);
    backdrop-filter: blur(20px);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.42);
  }

  .lsf-mobile-top-nav-scroll {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.45rem;
  }

  .lsf-mobile-top-nav-link,
  .lsf-mobile-top-nav-trigger {
    flex: 1 1 0;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    gap: 0.3rem;
    min-height: 3.8rem;
    padding: 0.55rem 0.35rem 0.45rem;
    border-radius: 0.95rem;
    font-size: 0.54rem;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    white-space: normal;
    transition: border-color 160ms ease, background 160ms ease, color 160ms ease, transform 160ms ease;
  }

  .lsf-mobile-top-nav-link.is-active,
  .lsf-mobile-top-nav-trigger.is-active,
  .lsf-mobile-more.is-open .lsf-mobile-top-nav-trigger {
    border-color: rgba(204, 22, 22, 0.36);
    background: linear-gradient(180deg, rgba(204, 22, 22, 0.2), rgba(204, 22, 22, 0.08));
    color: #fff;
    box-shadow: inset 0 -2px 0 rgba(204, 22, 22, 0.85);
  }

  .lsf-mobile-top-nav-link .lsf-mobile-nav-icon,
  .lsf-mobile-top-nav-trigger .lsf-mobile-nav-icon {
    font-size: 1.3rem;
  }

  .lsf-mobile-more-menu {
    position: absolute;
    right: 0;
    bottom: calc(100% + 0.7rem);
    min-width: 11rem;
    gap: 0.3rem;
    padding: 0.45rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(14, 14, 14, 0.98);
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.45);
  }

  .lsf-mobile-more {
    flex: 1 1 0;
    min-width: 0;
  }

  .lsf-mobile-more-link {
    display: block;
    padding: 0.82rem 0.9rem;
    border-radius: 0.8rem;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(229, 226, 225, 0.72);
    text-decoration: none;
    transition: background 160ms ease, color 160ms ease;
  }

  .lsf-mobile-more-link.is-active,
  .lsf-mobile-more-link:hover {
    background: rgba(204, 22, 22, 0.12);
    color: #fff;
  }

  body > [class~="pt-16"] {
    padding-top: 4rem !important;
    padding-bottom: calc(6.5rem + env(safe-area-inset-bottom));
  }

  #sidebar {
    top: 4rem;
    height: calc(100vh - 4rem);
  }

  .lsf-install-banner {
    display: none !important;
  }

  .lsf-pwa-fab {
    display: none !important;
  }

  .lsf-notify-panel {
    top: auto;
    right: 1rem;
    left: 1rem;
    bottom: calc(max(1rem, env(safe-area-inset-bottom)) + 6.35rem);
    width: auto;
  }

  #main-header a[href="index.html"] {
    gap: 0.75rem;
  }

  #main-header a[href="index.html"] > .material-symbols-outlined {
    display: none;
  }

  #main-header a[href="index.html"] > div:last-child {
    font-size: 1.65rem;
    line-height: 1;
    text-transform: uppercase;
  }

  #main-header #sidebar-toggle {
    padding: 0.25rem;
    border-radius: 0.5rem;
  }

  #lsf-header-actions {
    gap: 0.55rem !important;
  }

  #lsf-live-indicator {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 2.4rem;
    height: 2.4rem;
    padding: 0;
    border-radius: 999px;
  }

  #lsf-live-indicator .material-symbols-outlined {
    font-size: 1.15rem;
  }

  #live-count-text,
  #lsf-search-trigger,
  #lsf-notify-toggle {
    display: none !important;
  }
}

@media (min-width: 1024px) {
  .lsf-pwa-fab {
    display: none !important;
  }
}
