/* The U.S. edition uses the same ruled sheet as the Japanese edition. */
body.us.us-notebook {
  --paper: #fbf3d0;
  --panel-paper: var(--paper);
  --bubble-paper: #fcf5dc;
  --ink: #514a3f;
  --muted: #61584d;
  --notebook-spacing: 1.75rem;
  --notebook-rule: rgb(131 101 133 / .19);
  background-color: var(--paper);
  background-image: var(--paper-grain, none), repeating-linear-gradient(
    to bottom,
    transparent 0 calc(var(--notebook-spacing) - 1px),
    var(--notebook-rule) calc(var(--notebook-spacing) - 1px) var(--notebook-spacing)
  );
}

.us-notebook :is(.masthead, .front-intro, .cast, .cast-card, .cast-portrait, .about, .news-summary,
  .numbers-note, .number-slip, .news-background, .place-note, .read-next-art, .tile-art, .trivia-teaser) {
  background: transparent;
}

.us-notebook :is(.masthead, .front-intro, .section-label, .category-block > h3, .tile, .cast,
  .cast-card, .about, .site-footer, .news-summary, .news-background, .news-background-detail,
  .numbers-note, .number-slip, .front-backnumbers > h2, .home-comic-series > h2,
  .home-comic-series .home-comic + .home-comic, .related-rail h2, .related-bottom h2,
  .related-list li + li, .trivia-teaser, .trivia-entry > h2) {
  border: 0;
}

.us-notebook :is(.news-summary, .numbers-note, .place-note, .topic) {
  padding-inline: 0;
}

.us.us-notebook :is(.feature-head a, .collection a, .related-list a):hover {
  text-decoration: none;
}

.us-notebook .home-comic-series .home-comic + .home-comic {
  padding-block-start: clamp(1.75rem, 3vw, 2.625rem);
}

.us.us-notebook main :is(
  .front-intro p, .news-summary > p, .news-summary > h2, .news-dialogue-name, .news-dialogue-line,
  .news-background-sources, .place-copy .place-description, .cast-bio p, .about p,
  .comic-credits:not(:has(.news-summary)), .tile-text h3, .read-next-title,
  .issue-archive .archive-comics > li, .issue-archive .archive-dates > li
) {
  line-height: var(--notebook-spacing);
}

.us-notebook main :is(.front-intro, .feature-head, .story-head) :is(h1, h2, h3) {
  line-height: calc(2 * var(--notebook-spacing));
}

.us-notebook main .news-summary .news-summary-title {
  margin-block-end: 0;
}

.us-notebook [data-notebook-aligned] {
  position: relative;
  inset-block-start: var(--notebook-shift, 0px);
}

.us-notebook .notebook-baseline {
  display: inline-block;
  width: 0;
  height: 0;
  line-height: var(--notebook-spacing);
  vertical-align: baseline;
  pointer-events: none;
}

.us-notebook .notebook-filter { position: absolute; }

.us.us-notebook #featured .read-column > .us-note-comic {
  max-width: none;
}

.us.us-notebook .us-note-comic :is(.us-silent, .us-pencil-hero, .us-pencil-strip) {
  width: min(86%, 350px);
  margin-inline: auto;
  padding: 0;
}

.us.us-notebook .comic-panels.us-silent {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
}

.us.us-notebook .us-silent > .panel {
  display: block;
  isolation: auto;
  border: 0;
  background: transparent;
}

.us.us-notebook .us-silent :is(.us-scene, .trivia-panel img),
.us.us-notebook :is(.us-pencil-hero, .us-pencil-strip) {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  aspect-ratio: auto;
  padding: 0;
  border-radius: 0;
  background: transparent;
  mix-blend-mode: normal;
}

.us.us-notebook .us-silent :is(.us-scene, .trivia-panel img) {
  filter: brightness(1.09) url("#notebook-graphite");
  opacity: .72;
}

.us.us-notebook .us-silent :is(.morning-scene, .trivia-panel img) {
  clip-path: inset(4% 4.4%);
}

.us.us-notebook .news-background.news-dialogue {
  display: grid;
  gap: var(--notebook-spacing);
  margin-block: var(--notebook-spacing) calc(1.5 * var(--notebook-spacing));
  padding: 0 clamp(0rem, 2vw, 1.25rem);
}

.us-notebook .news-dialogue-turn.pickles {
  grid-template-columns: minmax(0, 1fr) var(--portrait-size);
}

.us-notebook .news-dialogue-turn.pickles .news-dialogue-avatar {
  grid-column: 2;
}

.us-notebook .news-dialogue-turn.pickles .news-dialogue-speech {
  grid-column: 1;
  grid-row: 1;
  justify-self: end;
  text-align: end;
}

.us-notebook .news-dialogue-avatar img {
  width: 100%;
  height: 100%;
  inset: 0;
  object-fit: contain;
}

.us-notebook .news-dialogue-turn.miles .news-dialogue-avatar img {
  width: 165%;
  height: 165%;
  inset: -7% auto auto -32.5%;
}

.us-notebook .news-dialogue .news-background-sources {
  margin-block-start: 0;
}

.us-notebook :is(.news-dialogue-avatar img, .cast-portrait img, .trivia-teaser img) {
  filter: brightness(1.055) url("#notebook-graphite");
  opacity: .82;
}

.us-notebook .place-note .place-drawing {
  filter: brightness(1.035) url("#notebook-graphite");
}

.us-notebook .read-next-art > svg {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  padding: 10%;
  filter: grayscale(1);
  mix-blend-mode: multiply;
  opacity: .75;
}

@media (max-width: 600px) {
  .us-notebook main :is(.front-intro, .feature-head, .story-head) :is(h1, h2, h3) {
    line-height: var(--notebook-spacing);
  }
}

@media (prefers-contrast: more) {
  body.us.us-notebook { background-image: none; }
}

.us.us-notebook .us-pencil-hero {
  filter: url("#notebook-place-ink");
}


.us-notebook .us-pencil-scenes {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  padding: 0;
  margin: 0;
}

.us.us-notebook .us-pencil-strip {
  filter: grayscale(1);
}
