/* Fonday flyer — designed content blocks (OLED cards, moments, MBTI, mocks) */

.sub { margin-top: clamp(44px, 7vh, 72px); }
.sub h3, .duo h3 { font-size: clamp(19px, 2.4vw, 24px); margin-bottom: 18px; }

/* ---- device: OLED reading cards ---- */
.reading-cards {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.reading-cards li {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 16px 16px 18px;
  background: #FFFFFF;
}
.oled {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  background: #201D1A;
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 14px;
}
.oled em {
  font-style: normal;
  font-family: var(--display);
  font-size: clamp(22px, 2.6vw, 30px);
  letter-spacing: -0.02em;
  color: #F6F1E8;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.oled i {
  font-style: normal;
  font-size: 11.5px;
  font-weight: 700;
  color: #FF8B7A;
  white-space: nowrap;
}
.reading-cards b { display: block; font-size: 15px; color: var(--ink); }
.reading-cards li > span:last-child { display: block; margin-top: 4px; font-size: 13.5px; color: var(--body); }

/* ---- device: day moments ---- */
.moments {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.moments li {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #FFFFFF;
  padding: 14px 16px 16px;
}
.moments em {
  font-style: normal;
  font-family: var(--display);
  font-size: 13px;
  color: var(--red-deep);
  letter-spacing: 0.04em;
  display: block;
}
.moments b { display: block; margin-top: 6px; font-size: 15.5px; color: var(--ink); }
.moments li span { display: block; margin-top: 3px; font-size: 13px; color: var(--body); }

/* ---- pro: report sheet + gains ---- */
.sheet {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 20px 22px;
  box-shadow: var(--shadow-img);
}
.sheet-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.sheet-head span { font-size: 12px; font-weight: 400; color: var(--faint); }
.sheet-row {
  display: flex;
  gap: 10px;
  align-items: baseline;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  color: var(--sub);
}
.sheet-row:last-child { border-bottom: none; }
.sheet-row i { font-style: normal; color: var(--red); font-weight: 700; }

.gains { list-style: none; border-top: 1px solid var(--line); }
.gains li {
  display: grid;
  grid-template-columns: 5.5em 1fr;
  gap: 16px;
  align-items: baseline;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
}
.gains em {
  font-style: normal;
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--red-deep);
}
.gains span { font-size: 14.5px; color: var(--body); }

/* ---- responsive ---- */
/* ---- app: detailed result panel ---- */
.result-panel {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: clamp(24px, 3.5vw, 40px);
  box-shadow: var(--shadow-img);
  position: relative;
}
.rp-caption {
  position: absolute;
  top: 18px;
  right: 22px;
  font-size: 11.5px;
  letter-spacing: 0.08em;
  color: var(--faint);
}
.rp-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(28px, 4.5vw, 64px);
  align-items: center;
}
.rp-label { font-size: 13px; font-weight: 600; color: var(--body); }
.rp-score {
  font-family: var(--display);
  font-size: clamp(56px, 7vw, 84px);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.rp-score i { font-style: normal; font-size: 0.28em; color: var(--faint); margin-left: 4px; }
.rp-type { margin-top: 10px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.rp-type b {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: #FFF7F3;
  background: var(--red);
  border-radius: 4px;
  padding: 4px 12px;
}
.rp-type span { font-size: 14px; font-weight: 600; color: var(--sub); }
.rp-axes { margin-top: 14px; font-size: 12.5px; color: var(--faint); max-width: 24em; }

.rp-bars { list-style: none; }
.rp-bars li {
  display: grid;
  grid-template-columns: 4em 1fr 5.5em;
  align-items: center;
  gap: 14px;
  padding: 9px 0;
  font-size: 13.5px;
}
.rp-bars li > span:first-child { color: var(--sub); font-weight: 600; }
.rp-bars .bar {
  display: block;
  height: 8px;
  border-radius: 4px;
  background: var(--panel);
  overflow: hidden;
}
.rp-bars .bar i { display: block; height: 100%; border-radius: 4px; background: #E9AC9E; }
.rp-bars .bar i.low { background: var(--red); }
.rp-bars em {
  font-style: normal;
  text-align: right;
  color: var(--body);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.rp-foot {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 13.5px;
  color: var(--body);
}

/* ---- responsive ---- */
@media (max-width: 860px) {
  .reading-cards { grid-template-columns: 1fr; }
  .moments { grid-template-columns: repeat(2, 1fr); }
  .rp-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .moments { grid-template-columns: 1fr; }
  .rp-bars li { grid-template-columns: 3.5em 1fr 5em; }
}
