#dottei-first-hello .paper {
  --sheet-color: #fffefa;
  /* The page turn supplies touch feedback; avoid tinting the whole sheet blue. */
  -webkit-tap-highlight-color: transparent;
  padding: 0; min-height: 0; overflow: visible;
  background: transparent; border: 0; border-radius: 0; box-shadow: none;
}
#dottei-first-hello .paper::after { content: none; }
#dottei-first-hello .paper-label {
  justify-content: flex-start; gap: 1em; padding: 12px 0;
  color: #596d80;
}
#dottei-first-hello .peel-stage {
  position: relative; isolation: isolate; display: block;
  width: 100%; height: 400px; padding: 0; border: 0; overflow: visible;
  background: transparent; text-align: left; cursor: pointer;
}
#dottei-first-hello .peel-stage::before {
  content: ""; position: absolute; inset: 0 var(--leaf-inset, 0px) 0 0;
  background: var(--sheet-color); border: 1px solid #e2ddd3;
  box-shadow: 1px 2px #fffdf9, 1px 3px #e3dfd7, 2px 5px #fffdf9,
    2px 6px #e6e3db, 1px 9px 18px #28344912;
}
#dottei-first-hello .peel-stage:focus-visible { outline-offset: 4px; }
#dottei-first-hello .corner-mascot { pointer-events: visiblePainted; cursor: pointer; }
@media (max-width: 950px) {
  #dottei-first-hello .paper { margin-top: 36px; }
}
#dottei-first-hello .curl-face {
  position: absolute; inset: 0; width: 100%; height: 100%;
  pointer-events: none; overflow: visible;
}
#dottei-first-hello .under-page {
  box-sizing: border-box; display: grid; grid-template-rows: minmax(0, 1fr) auto;
  gap: 15px; width: 100%; height: 100%; padding: 18px clamp(14px, 2vw, 30px) 23px;
  font-family: "Segoe UI", sans-serif; color: #23394b; text-align: left;
  background: var(--sheet-color);
}
#dottei-first-hello [data-part="Paper_base"],
#dottei-first-hello [data-part="Paper_front"] { fill: var(--sheet-color); }
#dottei-first-hello .note-art {
  min-width: 0; min-height: 0; display: grid; place-items: center;
}
#dottei-first-hello .note-art :is(img, video) {
  width: 100%; height: 100%; min-height: 0; object-fit: contain;
  grid-area: 1 / 1;
}
#dottei-first-hello .note-art img { mix-blend-mode: multiply; }
#dottei-first-hello :is(#dfh-caption, .destination-caption) {
  display: block; color: #567185; font: italic 14px/1.25 Georgia, serif;
  text-align: center; margin: 2px 0 12px;
}
#dottei-first-hello .note-title {
  display: block; font: 550 clamp(23px, 2.1vw, 31px)/1.13 "Segoe UI", sans-serif;
  letter-spacing: -.045em; text-wrap: balance;
}
#dottei-first-hello .note-copy {
  display: block; max-width: 52ch; margin-top: 10px; font: 400 15px/1.5 "Segoe UI", sans-serif;
  color: #435967;
}
#dottei-first-hello .note-words { align-self: center; min-width: 0; }
#dottei-first-hello .reader-announcement {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}
#dottei-first-hello .reader-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3px;
  margin: 12px var(--leaf-inset, 0px) 0 0;
}
#dottei-first-hello .reader-controls button {
  min-height: 44px;
  padding: 0 6px;
  border: 0;
  background: transparent;
  color: #45647d;
  font: 500 13px/1.2 'Segoe UI', sans-serif;
  cursor: pointer;
}
#dottei-first-hello .reader-controls button:disabled { opacity: .35; cursor: default; }
#dottei-first-hello #dfh-pages { display: flex; }
#dottei-first-hello #dfh-pages button { min-width: 28px; }
#dottei-first-hello #dfh-pages [aria-current="page"] {
  text-decoration: underline 2px #bd8196;
  text-underline-offset: 5px;
  font-weight: 700;
}
#dottei-first-hello #dfh-replay { margin: 0 22px 8px; }
@media (max-width: 380px) {
  #dottei-first-hello #dfh-pages button { min-width: 24px; }
  #dottei-first-hello .under-page { padding: 12px; }
}

/* Keep a predictable reading order on every page: illustration, heading, explanation. */
#dottei-first-hello .print-box { position: relative; width: 100%; height: 100%; overflow: hidden; }

/* The section headings sit above the book, with room for its corner mascot. */
#dottei-first-hello .explore-top { margin-bottom: 18px; }
#dottei-first-hello .topics { padding-bottom: 15px; }
#dottei-first-hello .note-title { margin-top: 0; }
@media (max-width: 680px) {
  #dottei-first-hello .explore-top { flex-wrap: wrap; gap: 8px 18px; margin-bottom: 18px; }
  #dottei-first-hello .explore-top h2 { font-size: 20px; }
  #dottei-first-hello .pick-note { margin-left: 0; }
  #dottei-first-hello .topics { gap: 0 18px; }
}
@media (max-width: 380px) {
  #dottei-first-hello .peel-stage { height: 360px; }
  #dottei-first-hello .topics { flex-wrap: nowrap; justify-content: space-between; gap: 0; }
  #dottei-first-hello .topic { font-size: 12px; }
}

/* Give the extra desktop width to the reader, keeping the greeting at its natural size. */
@media (min-width: 1000px) {
  #dottei-first-hello > .shell:first-child { max-width: 1480px; }
  #dottei-first-hello .meeting {
    grid-template-columns: minmax(355px, .76fr) minmax(0, 1.24fr);
    column-gap: clamp(36px, 4vw, 70px);
  }
  #dottei-first-hello .peel-stage { height: clamp(400px, 28vw, 458px); }
  #dottei-first-hello .note-copy { max-width: 68ch; font-size: 15px; }
}
