.m-newspaper {
  position: fixed;
  inset: 0;
  z-index: 220;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
  background: var(--m-bg, #f6f8f5);
  padding: 0 env(safe-area-inset-right) 0 env(safe-area-inset-left);
}

.m-newspaper[hidden] {
  display: none !important;
}

.m-newspaper__head {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-height: 3.1rem;
  padding: max(0.4rem, var(--m-safe-top, 0px)) 0.72rem 0.4rem;
  border-bottom: 1px solid var(--m-border, rgba(15, 23, 42, 0.1));
  background: color-mix(in srgb, var(--m-elevated, #fff) 92%, transparent);
}

.m-newspaper__back {
  flex: 0 0 auto;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--m-ios-blue, #2481cc);
  font: inherit;
  font-size: 1.45rem;
  line-height: 1;
}

.m-newspaper__title {
  flex: 1 1 auto;
  min-width: 0;
  color: var(--m-text, #0f172a);
  font-size: 0.98rem;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.m-newspaper #section-home {
  flex: 1 1 auto;
  min-height: 0;
  margin: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding-bottom: max(0.5rem, var(--m-safe-bottom, 0px));
}

.m-newspaper #section-home:not([hidden]) {
  display: flex;
  flex-direction: column;
}

.m-newspaper .business-paper__source {
  display: block;
}

.m-newspaper__error {
  margin: 1.5rem 1rem;
  color: var(--m-muted, #64748b);
  font-size: 0.9rem;
}

body.m-newspaper-open {
  overflow: hidden;
}

.m-tile--newspaper .m-tile__label {
  font-family: Georgia, "Times New Roman", serif;
}
