/* AMPL Kids Health Guide — handcrafted 3D felt theme */
/* 自己完結: webフォントは読み込まない（外部リクエストなし）。丸ゴシックのシステムフォールバックに委ねる。
   Zen Maru Gothic を全端末で保証したい場合は、ローカル同梱の woff2 を @font-face で読む（follow-up）。 */

:root {
  --felt-ink: #352f29;
  --felt-sub: #71675d;
  --felt-cream: #f7f0e4;
  --felt-paper: #fffdf8;
  --felt-oat: #e6dac6;
  --felt-sage: #74836a;
  --felt-sage-soft: #e3eadf;
  --felt-blue: #718b99;
  --felt-blue-soft: #e2ecef;
  --felt-coral: #bd705a;
  --felt-coral-soft: #f4e0d7;
  --felt-mustard: #c79b42;
  --felt-line: rgba(78, 65, 53, 0.16);
  --felt-shadow: 0 22px 60px rgba(65, 49, 34, 0.13);
  --font-sans:
    "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Hiragino Maru Gothic Pro",
    "YuGothic", "Yu Gothic", system-ui, sans-serif;
  --color-chrome: #d7c8b5;
  /* ── ampl-kids タイポ・トークン（governed・v3準拠の比率スケール／felt調） ──
     全 font-size はこの11段のみを参照する。デッキ側・部品側で px 直書き禁止。 */
  --text-cover: 5.1rem; /* 82px 表紙ステートメント */
  --text-4xl: 4rem; /* 64px タイトルh1 */
  --text-3xl: 3.5rem; /* 56px 章扉・大見出し */
  --text-2xl: 2.9rem; /* 46px 見出しh2 */
  --text-xl: 2.15rem; /* 34px カード見出し */
  --text-lg: 1.85rem; /* 30px 小見出しh3・強調 */
  --text-md: 1.45rem; /* 23px 準本文・図キャプション */
  --text-base: 1.25rem; /* 20px 本文 */
  --text-sm: 1.13rem; /* 18px 補足本文 */
  --text-label: 0.9rem; /* 14px ラベル・キャプション */
  --text-meta: 0.75rem; /* 12px chrome（頁番号・クレジット） */
}

body {
  font-family: var(--font-sans);
  background: var(--color-chrome);
}
.slide {
  padding: 58px 70px;
  color: var(--felt-ink);
  background:
    radial-gradient(
      circle at 8% 0%,
      rgba(255, 255, 255, 0.9),
      transparent 390px
    ),
    var(--felt-cream);
}
.slide h1,
.slide h2,
.slide h3 {
  color: var(--felt-ink);
  text-wrap: pretty;
  word-break: auto-phrase;
}
.slide h1 {
  font-size: var(--text-4xl);
  line-height: 1.08;
  letter-spacing: -0.04em;
  font-weight: 900;
}
.slide h2 {
  font-size: var(--text-2xl);
  line-height: 1.18;
  letter-spacing: -0.035em;
  font-weight: 900;
}
.slide h3 {
  font-size: var(--text-lg);
  line-height: 1.36;
  font-weight: 900;
}
.slide p {
  font-size: var(--text-base);
  line-height: 1.8;
  color: var(--felt-sub);
}
.slide .bold {
  color: var(--felt-ink);
  font-weight: 900;
}

.brand-mark,
.felt-foot {
  position: absolute;
  z-index: 5;
  font-size: var(--text-meta);
  font-weight: 900;
  letter-spacing: 0.14em;
  color: rgba(53, 47, 41, 0.56);
}
.brand-mark {
  top: 30px;
  right: 40px;
}
.felt-foot {
  left: 70px;
  bottom: 22px;
}
.felt-label {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--felt-sage);
  font-size: var(--text-label);
  font-weight: 900;
  letter-spacing: 0.12em;
}
.felt-label::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--felt-sage);
}

.felt-cover {
  padding: 0;
  background: var(--felt-paper);
}
.felt-cover img,
.felt-end img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.felt-cover img {
  object-position: center;
}
.felt-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(250, 246, 237, 0.99) 0%,
    rgba(250, 246, 237, 0.9) 32%,
    rgba(250, 246, 237, 0.18) 62%,
    transparent 78%
  );
}
.felt-cover-copy {
  position: relative;
  z-index: 2;
  width: 47%;
  margin: auto 0 auto 78px;
}
.felt-cover-copy h1 {
  margin: 14px 0 12px;
  font-size: var(--text-cover);
}
.felt-cover-copy p {
  font-size: var(--text-md);
}

.felt-split {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 46px;
  align-items: center;
}
.felt-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.felt-copy h2 {
  margin-top: 4px;
}
.felt-copy p {
  max-width: 600px;
}
.felt-photo {
  position: relative;
  height: 520px;
  overflow: hidden;
  border: 1px solid var(--felt-line);
  border-radius: 30px;
  background: var(--felt-paper);
  box-shadow: var(--felt-shadow);
}
.felt-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.felt-photo--hero img {
  object-position: 58% center;
}
.felt-photo--diagram img {
  object-position: center;
}

.felt-care {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 20px;
}
.felt-care-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 32px;
}
.felt-care-head h2 {
  margin-top: 6px;
}
.felt-care-image {
  min-height: 0;
  overflow: hidden;
  border: 1px solid var(--felt-line);
  border-radius: 24px;
  background: var(--felt-paper);
  box-shadow: var(--felt-shadow);
}
.felt-care-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.felt-care-labels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.felt-care-item {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 12px;
}
.felt-num {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--felt-sage);
  color: white;
  font-weight: 900;
}
.felt-care-item h3 {
  font-size: var(--text-base);
}
.felt-care-item p {
  margin-top: 2px;
  font-size: var(--text-label);
  line-height: 1.55;
}

.felt-alert {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 28px;
}
.felt-alert h2 {
  margin-top: 8px;
}
.felt-alert-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}
.felt-alert-card {
  padding: 30px 32px;
  border-radius: 24px;
  border: 1px solid rgba(189, 112, 90, 0.2);
  background: var(--felt-paper);
  box-shadow: 0 12px 36px rgba(83, 58, 40, 0.09);
}
.felt-alert-card:first-child {
  background: var(--felt-coral-soft);
}
.felt-alert-card h3 {
  color: #8d4937;
  margin-bottom: 14px;
}
.felt-alert-card p {
  font-size: var(--text-sm);
  line-height: 1.72;
}
.felt-alert-note {
  padding: 15px 18px;
  border-radius: 14px;
  background: var(--felt-sage-soft);
  font-size: var(--text-sm) !important;
}

.felt-medicine {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 48px;
  align-items: center;
}
.felt-medicine-visual {
  height: 520px;
  overflow: hidden;
  border-radius: 30px;
  box-shadow: var(--felt-shadow);
}
.felt-medicine-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 42% center;
}
.felt-medicine-copy {
  display: flex;
  flex-direction: column;
  gap: 19px;
}
.felt-medicine-copy .felt-note {
  padding: 18px 20px;
  border-radius: 16px;
  background: var(--felt-blue-soft);
  color: var(--felt-ink);
  font-weight: 700;
}

.felt-faq {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 28px;
}
.felt-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.felt-faq-card {
  padding: 30px;
  border-radius: 24px;
  background: var(--felt-paper);
  border: 1px solid var(--felt-line);
  box-shadow: 0 12px 36px rgba(83, 58, 40, 0.08);
}
.felt-faq-card .q {
  color: var(--felt-sage);
  font-size: var(--text-label);
  font-weight: 900;
  letter-spacing: 0.06em;
}
.felt-faq-card h3 {
  margin: 11px 0 14px;
  font-size: var(--text-lg);
}
.felt-faq-card p:last-child {
  font-size: var(--text-sm);
}
.felt-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
.felt-summary-card {
  padding: 28px 26px;
  border-radius: 24px;
  background: var(--felt-paper);
  border: 1px solid var(--felt-line);
  box-shadow: 0 12px 36px rgba(83, 58, 40, 0.08);
}
.felt-summary-card > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border-radius: 50%;
  background: var(--felt-sage);
  color: #fff;
  font-weight: 900;
}
.felt-summary-card h3 {
  margin-bottom: 12px;
}
.felt-summary-card p {
  font-size: var(--text-sm);
  line-height: 1.65;
}

.felt-end {
  padding: 0;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.felt-end::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(249, 244, 234, 0.76);
  backdrop-filter: blur(2px);
}
.felt-end-copy {
  position: relative;
  z-index: 2;
  width: 70%;
  padding: 52px;
  border-radius: 30px;
  background: rgba(255, 253, 248, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--felt-shadow);
}
.felt-end-copy h2 {
  font-size: var(--text-3xl);
}
.felt-end-copy p {
  margin-top: 18px;
}
.felt-minaton-link {
  display: inline-flex;
  margin-top: 28px;
  padding: 15px 25px;
  border-radius: 999px;
  background: var(--felt-sage);
  color: #fff;
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 900;
  letter-spacing: 0.02em;
}

/* AMPL Studio structure: fixed title baseline, one message, centered evidence. */
.slide.felt-studio {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 154px minmax(0, 1fr);
  gap: 22px;
  padding: 48px 72px 44px;
}
.felt-studio-head {
  align-self: start;
  padding-top: 16px;
  border-top: 1px solid rgba(53, 47, 41, 0.32);
}
.felt-studio-head h2 {
  margin-top: 10px;
  font-size: var(--text-3xl);
  line-height: 1.16;
  letter-spacing: -0.04em;
}
.felt-studio-body {
  min-width: 0;
  min-height: 0;
  align-self: center;
}
.felt-overview-body {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 52px;
  align-items: center;
}
.felt-observe-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--felt-line);
}
.felt-observe-list > div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  align-items: baseline;
  padding: 22px 0;
  border-bottom: 1px solid var(--felt-line);
}
.felt-observe-list strong {
  font-size: var(--text-lg);
  line-height: 1.25;
}
.felt-observe-list span {
  color: var(--felt-sub);
  font-size: var(--text-md);
  line-height: 1.45;
}
.felt-studio-photo {
  height: 390px;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid var(--felt-line);
  box-shadow: 0 16px 44px rgba(65, 49, 34, 0.11);
}
.felt-studio-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.felt-care-body {
  display: grid;
  grid-template-rows: 286px auto;
  gap: 22px;
}
.felt-care-body .felt-care-image {
  min-height: 0;
  border-radius: 20px;
}
.felt-care-body .felt-care-labels {
  gap: 28px;
}
.felt-care-body .felt-care-item {
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
}
.felt-care-body .felt-num {
  width: 38px;
  height: 38px;
}
.felt-care-body .felt-care-item h3 {
  font-size: var(--text-md);
  line-height: 1.3;
}
.felt-care-body .felt-care-item p {
  margin-top: 6px;
  font-size: var(--text-base);
  line-height: 1.5;
}
.slide.felt-alert .felt-alert-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
}
.slide.felt-alert .felt-alert-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 340px;
  padding: 30px 36px;
  border: 1px solid var(--felt-line);
  background: var(--felt-paper);
  box-shadow: none;
}
.slide.felt-alert .felt-alert-card--119 {
  color: #fff;
  background: var(--felt-ink);
}
.slide.felt-alert .felt-alert-card--119 h3,
.slide.felt-alert .felt-alert-card--119 p {
  color: #fff;
}
.slide.felt-alert .felt-alert-card h3 {
  margin-bottom: 20px;
  color: var(--felt-ink);
  font-size: var(--text-xl);
}
.slide.felt-alert .felt-alert-card p {
  color: var(--felt-ink);
  font-size: var(--text-md);
  line-height: 1.75;
}
.slide.felt-alert .felt-alert-card--119 h3,
.slide.felt-alert .felt-alert-card--119 p {
  color: #fff;
}
.slide.felt-alert .felt-alert-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.slide.felt-alert .felt-alert-card li {
  position: relative;
  padding-left: 1.2em;
  margin-top: 0.6em;
  font-size: var(--text-base);
  line-height: 1.5;
  color: var(--felt-ink);
}
.slide.felt-alert .felt-alert-card li:first-child {
  margin-top: 0;
}
.slide.felt-alert .felt-alert-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--felt-coral);
}
.slide.felt-alert .felt-alert-card--119 li {
  color: #fff;
}
.slide.felt-alert .felt-alert-card--119 li::before {
  background: rgba(255, 255, 255, 0.72);
}
.felt-medicine-body {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 50px;
  align-items: center;
}
.felt-medicine-body .felt-medicine-visual {
  height: 370px;
  border-radius: 22px;
}
.felt-medicine-body .felt-medicine-copy {
  gap: 24px;
}
.felt-medicine-lead {
  color: var(--felt-ink) !important;
  font-size: var(--text-xl) !important;
  font-weight: 900;
  line-height: 1.55 !important;
}
.felt-medicine-body .felt-note {
  padding: 18px 0;
  border-top: 1px solid var(--felt-line);
  border-bottom: 1px solid var(--felt-line);
  border-radius: 0;
  background: transparent;
  font-size: var(--text-base);
  line-height: 1.55;
}
.slide.felt-faq .felt-summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.slide.felt-faq .felt-summary-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 330px;
  padding: 34px;
  box-shadow: none;
}
.slide.felt-faq .felt-summary-card > span {
  margin-bottom: 26px;
}
.slide.felt-faq .felt-summary-card h3 {
  margin-bottom: 16px;
  font-size: var(--text-xl);
}
.slide.felt-faq .felt-summary-card p {
  color: var(--felt-ink);
  font-size: var(--text-md);
  line-height: 1.5;
}

/* ── 文字主体 felt 部品（画像なしデッキ用・ampl-kids） ── */
.felt-cover-text {
  padding: 0;
  background:
    radial-gradient(
      circle at 84% 16%,
      rgba(116, 131, 106, 0.16),
      transparent 42%
    ),
    var(--felt-cream);
}
.felt-cover-text .felt-cover-copy {
  position: relative;
  width: 72%;
  margin: auto 0 auto 78px;
}
.felt-cover-text.has-cover {
  background:
    linear-gradient(
      90deg,
      rgba(250, 246, 237, 0.99) 0%,
      rgba(250, 246, 237, 0.92) 34%,
      rgba(250, 246, 237, 0.32) 62%,
      transparent 78%
    ),
    var(--felt-cover-image) center / cover no-repeat;
}
.felt-cover-text.has-cover .felt-cover-copy {
  z-index: 2;
  width: 50%;
}

.felt-say-body {
  align-self: center;
  width: 100%;
}
.felt-say-panel {
  list-style: none;
  background: var(--felt-paper);
  border: 1px solid var(--felt-line);
  border-radius: 26px;
  box-shadow: var(--felt-shadow);
  padding: 4px 42px;
}
.felt-say-panel li {
  list-style: none;
  position: relative;
  padding: 18px 0 18px 30px;
  border-bottom: 1px solid var(--felt-line);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--felt-ink);
}
.felt-say-panel li:last-child {
  border-bottom: 0;
}
.felt-say-panel li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: calc(18px + 0.62em);
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--felt-sage);
}
.felt-say-panel li b,
.felt-say-panel li strong {
  color: var(--felt-ink);
  font-weight: 900;
}

.felt-end-text {
  padding: 0;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    radial-gradient(
      circle at 50% 26%,
      rgba(255, 255, 255, 0.72),
      transparent 52%
    ),
    var(--felt-cream);
}
.felt-end-text .felt-end-copy {
  position: relative;
  z-index: 2;
  width: 72%;
  padding: 52px;
  border-radius: 30px;
  background: var(--felt-paper);
  border: 1px solid var(--felt-line);
  box-shadow: var(--felt-shadow);
}
.felt-faq-card .q {
  text-transform: none;
}

/*
 * Mobile reading mode
 *
 * The public guide shows every 16:9 slide in a vertical sequence. On a phone,
 * shrinking the desktop canvas makes both the type and the felt diagrams too
 * small to read. Below 700px each slide becomes a self-contained vertical
 * reading card instead: the message stays first, evidence follows, and body
 * copy never drops below a comfortable mobile size.
 */
@media (max-width: 700px) {
  :root {
    --text-cover: 2.2rem;
    --text-4xl: 2.65rem;
    --text-3xl: 2rem;
    --text-2xl: 1.9rem;
    --text-xl: 1.45rem;
    --text-lg: 1.3rem;
    --text-md: 1.12rem;
    --text-base: 1.05rem;
    --text-sm: 1rem;
    --text-label: 0.78rem;
    --text-meta: 0.66rem;
  }

  html,
  body {
    width: 100% !important;
    min-width: 0 !important;
    overflow-x: hidden !important;
    background: var(--felt-cream) !important;
  }

  html body .deck {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
  }

  html body .deck > section.slide {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 100svh !important;
    height: auto !important;
    aspect-ratio: auto !important;
    overflow: hidden !important;
    border-bottom: 10px solid #d7c8b5;
  }

  html body .deck > section.slide.felt-studio {
    display: grid !important;
    grid-template-rows: auto auto !important;
    gap: 28px;
    padding: 56px 24px 64px;
  }

  .brand-mark {
    top: 20px;
    right: 22px;
  }
  .felt-foot {
    left: 24px;
    bottom: 22px;
  }

  .felt-studio-head {
    padding-top: 12px;
  }
  .felt-studio-head h2 {
    margin-top: 9px;
    font-size: var(--text-3xl);
    line-height: 1.25;
    letter-spacing: -0.035em;
  }
  .felt-studio-body {
    align-self: start;
  }

  html body .deck > section.slide.felt-cover,
  html body .deck > section.slide.felt-cover-text {
    min-height: min(780px, 92svh) !important;
  }
  .felt-cover::after {
    background: linear-gradient(
      180deg,
      rgba(250, 246, 237, 0.24) 0%,
      rgba(250, 246, 237, 0.78) 50%,
      rgba(250, 246, 237, 0.99) 74%
    );
  }
  html body .deck > section.slide.felt-cover-text.has-cover {
    background:
      linear-gradient(
        180deg,
        rgba(250, 246, 237, 0.1) 0%,
        rgba(250, 246, 237, 0.42) 38%,
        rgba(250, 246, 237, 0.98) 70%
      ),
      var(--felt-cover-image) center 20% / cover no-repeat;
  }
  .felt-cover img {
    object-position: 60% 28%;
  }
  .felt-cover-copy,
  .felt-cover-text .felt-cover-copy {
    width: calc(100% - 48px);
    max-width: calc(100% - 48px);
    min-width: 0;
    margin: auto 24px 54px;
    align-self: stretch;
  }
  .felt-cover-copy h1 {
    margin: 10px 0 10px;
    font-size: var(--text-cover);
    line-height: 1.12;
    overflow-wrap: anywhere;
    word-break: normal;
  }
  .felt-cover-text.has-cover .felt-cover-copy h1 {
    font-size: clamp(2rem, 10vw, 2.65rem);
  }
  .felt-cover-copy p {
    max-width: 22em;
    font-size: var(--text-md);
    line-height: 1.55;
    color: var(--felt-ink);
  }

  .felt-overview-body,
  .felt-medicine-body,
  .felt-medicine {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .felt-observe-list > div {
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 14px;
    padding: 17px 0;
  }
  .felt-observe-list strong {
    font-size: var(--text-lg);
  }
  .felt-observe-list span {
    font-size: var(--text-base);
    line-height: 1.55;
  }
  .felt-studio-photo,
  .felt-medicine-body .felt-medicine-visual,
  .felt-medicine-visual {
    height: auto;
    aspect-ratio: 3 / 2;
    border-radius: 18px;
  }

  .felt-care-body {
    grid-template-rows: auto auto;
    gap: 26px;
  }
  .felt-care-body .felt-care-image,
  .felt-care-image {
    min-height: 0;
    height: auto;
    aspect-ratio: 3 / 2;
    border-radius: 18px;
  }
  .felt-care-body .felt-care-labels,
  .felt-care-labels {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .felt-care-body .felt-care-item,
  .felt-care-item {
    grid-template-columns: 38px minmax(0, 1fr);
    gap: 13px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--felt-line);
  }
  .felt-care-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

  .felt-say-panel {
    padding: 3px 20px;
    border-radius: 20px;
    box-shadow: 0 10px 28px rgba(65, 49, 34, 0.09);
  }
  .felt-say-panel li {
    padding: 17px 0 17px 24px;
    font-size: var(--text-base);
    line-height: 1.7;
  }
  .felt-say-panel li::before {
    left: 2px;
    top: calc(17px + 0.66em);
    width: 9px;
    height: 9px;
  }

  html body .deck > section.slide.felt-alert .felt-alert-grid,
  html body .deck > section.slide.felt-faq .felt-faq-grid,
  html body .deck > section.slide.felt-faq .felt-summary-grid,
  .felt-alert-grid,
  .felt-faq-grid,
  .felt-summary-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  html body .deck > section.slide.felt-alert .felt-alert-card,
  html body .deck > section.slide.felt-faq .felt-faq-card,
  html body .deck > section.slide.felt-faq .felt-summary-card {
    min-height: 0;
    padding: 24px 22px;
    border-radius: 20px;
  }
  html body .deck > section.slide.felt-alert .felt-alert-card h3,
  html body .deck > section.slide.felt-faq .felt-faq-card h3,
  html body .deck > section.slide.felt-faq .felt-summary-card h3 {
    margin-bottom: 12px;
    font-size: var(--text-xl);
    line-height: 1.35;
  }
  html body .deck > section.slide.felt-alert .felt-alert-card p,
  html body .deck > section.slide.felt-alert .felt-alert-card li,
  html body .deck > section.slide.felt-faq .felt-faq-card p,
  html body .deck > section.slide.felt-faq .felt-summary-card p {
    font-size: var(--text-base);
    line-height: 1.65;
  }
  html body .deck > section.slide.felt-faq .felt-summary-card > span {
    margin-bottom: 18px;
  }

  .felt-medicine-body .felt-medicine-copy,
  .felt-medicine-copy {
    gap: 18px;
  }
  .felt-medicine-lead {
    font-size: var(--text-xl) !important;
  }

  html body .deck > section.slide.felt-end,
  html body .deck > section.slide.felt-end-text {
    min-height: min(720px, 88svh) !important;
    padding: 32px 20px;
  }
  .felt-end-copy,
  .felt-end-text .felt-end-copy {
    width: 100%;
    padding: 34px 24px;
    border-radius: 22px;
  }
  .felt-end-copy h2 {
    font-size: var(--text-3xl);
    line-height: 1.28;
  }
  .felt-end-copy p {
    font-size: var(--text-base);
    line-height: 1.65;
  }
  .felt-minaton-link {
    width: 100%;
    justify-content: center;
    padding: 15px 18px;
    font-size: var(--text-base);
  }
}

.deck-reader-nav {
  position: fixed;
  z-index: 200;
  right: 18px;
  bottom: 18px;
  display: grid;
  grid-template-columns: auto auto auto;
  gap: 8px;
  align-items: center;
  padding: 8px;
  overflow: hidden;
  border: 1px solid rgba(78, 65, 53, 0.16);
  border-radius: 18px;
  background: rgba(255, 253, 248, 0.94);
  box-shadow: 0 12px 36px rgba(53, 47, 41, 0.2);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.deck-reader-nav a,
.deck-reader-count {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  padding: 7px 11px;
  border-radius: 12px;
  color: var(--felt-ink, #352f29);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.3;
  text-decoration: none;
}
.deck-reader-short {
  display: none;
}
.deck-reader-back::before,
.deck-reader-urgent::before {
  content: "";
  width: 1.05em;
  height: 1.05em;
  flex: 0 0 auto;
  background: currentColor;
  -webkit-mask: var(--koboyo-icon) center / contain no-repeat;
  mask: var(--koboyo-icon) center / contain no-repeat;
}
.deck-reader-back {
  --koboyo-icon: url("../../assets/icons/koboyo/arrow-left.svg");
  gap: 0.4em;
}
.deck-reader-urgent {
  --koboyo-icon: url("../../assets/icons/koboyo/warning.svg");
  gap: 0.35em;
}
.deck-reader-count {
  min-width: 58px;
  color: var(--felt-sub, #71675d);
  font-family: ui-monospace, monospace;
}
.deck-reader-actions {
  display: flex;
  gap: 5px;
}
.deck-reader-actions a {
  background: var(--felt-sage-soft, #e7eee8);
}
.deck-reader-actions .deck-reader-urgent {
  color: #934b39;
  background: var(--felt-coral-soft, #f7e5dd);
}
.deck-reader-nav a:focus-visible {
  outline: 3px solid rgba(11, 125, 163, 0.28);
  outline-offset: 2px;
}
.deck-reader-meter {
  position: absolute;
  right: 8px;
  bottom: 3px;
  left: 8px;
  height: 3px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(116, 131, 106, 0.16);
}
.deck-reader-meter span {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--felt-sage, #74836a);
  transition: width 180ms ease;
}

@media (max-width: 560px) {
  html body {
    padding-bottom: calc(76px + env(safe-area-inset-bottom));
  }
  .deck-reader-nav {
    right: 9px;
    bottom: calc(8px + env(safe-area-inset-bottom));
    left: 9px;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1.4fr);
    gap: 4px;
    padding: 6px;
    border-radius: 17px;
  }
  .deck-reader-nav a,
  .deck-reader-count {
    min-width: 0;
    min-height: 46px;
    padding: 7px 5px;
    font-size: 12px;
    text-align: center;
  }
  .deck-reader-full {
    display: none;
  }
  .deck-reader-short {
    display: inline;
  }
  .deck-reader-actions a {
    flex: 1 1 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .deck-reader-meter span {
    transition: none;
  }
}

@media print {
  .deck-reader-nav {
    display: none !important;
  }
  .felt-photo,
  .felt-care-image,
  .felt-alert-card,
  .felt-faq-card,
  .felt-end-copy {
    box-shadow: none;
  }
}
