.hlm-feeling-page {
  color: var(--feeling-ink, #254e70);
  background: var(--feeling-page, #fffdf8);
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

.hlm-feeling-page .hlm-feeling-skip {
  position: fixed;
  inset-block-start: 0.5rem;
  inset-inline-start: 0.5rem;
  z-index: 100000;
  padding: 0.7rem 1rem;
  border-radius: 0.5rem;
  background: #fff;
  color: #173e5d;
  font-weight: 800;
  transform: translateY(-150%);
}

.hlm-feeling-page .hlm-feeling-skip:focus {
  transform: translateY(0);
}

.hlm-feeling-page main,
.hlm-feeling-page .feelings-shell {
  min-width: 0;
}

.hlm-feeling-page main :where(p, li) {
  max-width: 72ch;
}

.hlm-feeling-page main :where(h1, h2, h3) {
  text-wrap: balance;
}

.hlm-feeling-page :where(a, button, input, select, textarea):focus-visible {
  outline: 3px solid currentColor;
  outline-offset: 3px;
}

.hlm-feeling-page :where(button, input, select, textarea) {
  font: inherit;
}

.hlm-feeling-page img,
.hlm-feeling-page svg,
.hlm-feeling-page video {
  max-width: 100%;
}

.hlm-feeling-page .hlm-feeling-boundary {
  width: min(72ch, calc(100% - 2rem));
  margin: 2rem auto;
  padding: 1rem 1.1rem;
  border-inline-start: 4px solid currentColor;
  border-radius: 0.5rem;
  background: rgb(234 247 255 / 72%);
}

.hlm-feeling-page .hlm-feeling-boundary p {
  margin: 0;
}

@media (max-width: 42rem) {
  .hlm-feeling-page main :where(p, li) {
    max-width: none;
  }

  .hlm-feeling-page :where(a, button, input, select, textarea) {
    min-height: 2.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hlm-feeling-page *,
  .hlm-feeling-page *::before,
  .hlm-feeling-page *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (forced-colors: active) {
  .hlm-feeling-page .hlm-feeling-boundary {
    border: 1px solid CanvasText;
    border-inline-start-width: 4px;
  }
}

@media print {
  .hlm-feeling-page .hlm-feeling-skip,
  .hlm-feeling-page nav,
  .hlm-feeling-page button,
  .hlm-feeling-page .language-switcher {
    display: none !important;
  }

  .hlm-feeling-page {
    color: #000;
    background: #fff;
  }
}
