/* 올려드림 소개 쪽(/ollydream): 알려드림과 같은 종이 세계, 강조색 하나(빨강)만 다르다.
   2026-10-22: 카페24 상세 이미지와 같은 한 벌(합친 상세 m01~m17, 설계 폴더 research/merged-detail-plan-2026-10-22.md).
   이 파일은 손그림 층(칠판·메모지·무대·손글씨), olly-kit.css는 정확한 층(위젯·관리 화면·카드)이다. */
.olly {
  --accent: #d2412f;
  --accent-ink: #fffdf7;
  --note-tape: rgba(210, 65, 47, 0.55);
  --sale: #c62f45; /* 위젯 게이지 칩 레드(실제 위젯과 같은 값) */
}
.olly .logo b::after { opacity: 0.35; }
.olly .sec { padding-top: 76px; padding-bottom: 60px; }
.olly .sec.first { padding-top: 40px; }

/* 한 줄 = 한 구절. 화면이 좁아 한 구절이 한 줄보다 길 때만 띄어쓰기에서 바꾼다 */
.l { display: block; text-wrap: balance; }
.nb.l { white-space: normal; }

/* 칠판·메모지: site.css 그대로, 글 크기만 이 쪽 비율로 */
.olly .board { max-width: 860px; margin: 0 auto; }
.olly .board :is(h1, h2) { font-size: 40px; }
.olly .board li { font-size: 19px; }
.olly .tag-row .tag { margin-bottom: 18px; }

/* 01 첫 장 */
.hero-stage { padding: 20px 24px 8px; }
.hook { margin: 0 0 4px; text-align: center; font-family: var(--font-hand); font-weight: 700; font-size: 30px; line-height: 1.3; color: var(--red); transform: rotate(-1.5deg); }
.ident { margin-top: 30px; text-align: center; }
.ident p { margin: 0; }
.ident .nm1 { font-size: 18px; font-weight: 800; color: var(--ink-soft); }
.ident .mark { display: inline-block; margin-top: 4px; font-size: 30px; font-weight: 900; letter-spacing: -0.02em; padding: 0 4px; background: linear-gradient(transparent 60%, var(--yellow) 60%, var(--yellow) 92%, transparent 92%); }
.pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 22px 0 0; }
.pill { font-size: 17px; font-weight: 800; padding: 10px 20px; border-radius: 999px; background: var(--ink); color: #fff; white-space: nowrap; }
.pill.o { background: #fff; color: var(--ink); border: 1.5px solid var(--clean-line); }
.firstw { position: relative; max-width: 460px; margin: 40px auto 0; }
.firstw .sticker { top: -14px; left: -10px; }

/* 손글씨 딱지(노란 테이프): "칠판 위 그림", "실제 관리 화면" */
.sticker { position: absolute; z-index: 3; font-family: var(--font-hand); font-weight: 700; font-size: 19px; line-height: 1.35; color: var(--ink); background: rgba(242, 194, 48, 0.85); padding: 1px 12px; transform: rotate(-3deg); white-space: nowrap; box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08); }

/* 예시 표시 */
.exn { margin: 18px 0 0; text-align: center; font-size: 14px; line-height: 1.6; color: var(--ink-mute); }

/* 02 공식 */
.formula { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; margin: 0; font-weight: 900; font-size: 30px; letter-spacing: -0.01em; }
.formula .fg { display: inline-flex; align-items: center; gap: inherit; white-space: nowrap; }
.formula .hi { background: var(--yellow); border: var(--line) solid var(--ink); border-radius: 8px; padding: 2px 12px; }
.under { margin: 10px 0 0; text-align: center; }
.under .doodle { margin-left: 120px; font-size: 24px; }
.fx { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 20px; }
.fx p { margin: 0; background: #fff; border: 2.5px solid var(--ink); border-radius: var(--radius-card); padding: 14px 10px; text-align: center; font-size: 15px; line-height: 1.55; color: var(--ink-soft); }
.fx b { display: block; font-size: 17px; color: var(--ink); margin-bottom: 2px; }
.fx p.hi { background: var(--memo); }

/* 03 장바구니 예시: [담기]를 누르면 그 상품이 담기고 게이지가 찬다(deck.js) */
.cart { max-width: 600px; margin: 0 auto; }
.item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 2px dashed var(--line-mute); font-size: 17px; }
.item b { flex: 1; }
.thumb { flex: 0 0 auto; width: 50px; height: 50px; border: var(--line) solid var(--ink); border-radius: var(--radius-card); background: #e6eef5; }
.thumb.knit { background: var(--memo); }
.thumb.belt { background: #e4f1ea; }
.thumb.socks { background: #f6dcd6; }
.gauge-row { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
.gauge-text { font-weight: 900; }
.doodle.moment { font-size: 24px; }
.gauge { height: 18px; border: var(--line) solid var(--ink); border-radius: 12px; background: var(--cream); overflow: hidden; margin-top: 8px; }
.gauge i { display: block; height: 100%; width: 68%; background: var(--sale); transition: width 0.8s ease-out; }
.reco-title { margin-top: 18px; font-weight: 900; }
/* 칸 너비를 글자 크기(em)로 정해, 글자를 크게 키운 폰에서는 2칸으로 내려온다 */
.reco { display: grid; grid-template-columns: repeat(auto-fit, minmax(6em, 1fr)); gap: 10px; margin-top: 12px; font-size: 15px; }
.reco div { border: var(--line) solid var(--ink); border-radius: var(--radius-card); padding: 8px; text-align: center; font-weight: 700; background: #fff; line-height: 1.45; }
.reco button { margin-top: 6px; width: 100%; min-height: 40px; font: inherit; font-weight: 800; background: var(--red); color: var(--cream); border: 2px solid var(--ink); border-radius: 8px; cursor: pointer; white-space: nowrap; }
.reco button[disabled] { cursor: default; opacity: 0.85; }
.fact { display: flex; gap: 12px; align-items: flex-start; max-width: 860px; margin: 22px auto 0; background: #fff; border: 1px solid var(--clean-line); border-radius: var(--clean-radius); padding: 16px 20px; }
.fact .fk { flex: none; font-size: 13px; font-weight: 800; color: #fff; background: var(--green); border-radius: 999px; padding: 2px 10px; margin-top: 2px; }
.fact p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink-soft); }
.fact b { color: var(--ink); }

/* 04 다리: 칠판 위 그림 → 실제 위젯 모양 */
.mini-sketch { position: relative; transform: rotate(-2deg); background: var(--cream); border: 3px solid var(--ink); border-radius: var(--radius-card); box-shadow: 3px 4px 0 rgba(43, 37, 34, 0.2); padding: 24px 14px 14px; }
.mini-sketch .sticker { top: -15px; left: 12px; font-size: 17px; }
.ms-t { margin: 0; font-size: 14px; font-weight: 900; }
.hgauge { height: 12px; border: 2.5px solid var(--ink); border-radius: 12px; background: var(--cream); overflow: hidden; margin-top: 6px; }
.hgauge i { display: block; height: 100%; width: 68%; background: var(--sale); }
.hreco { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; margin-top: 10px; }
.hreco div { border: 2.5px solid var(--ink); border-radius: var(--radius-card); padding: 5px 2px; text-align: center; font-weight: 700; font-size: 12px; line-height: 1.4; background: #fff; }
.hreco i { display: block; margin: 4px 3px 0; height: 22px; line-height: 19px; border: 1.5px solid var(--ink); border-radius: 5px; background: var(--red); color: var(--cream); font-style: normal; font-weight: 800; font-size: 11px; }
.barrow { margin: 0; text-align: center; font-family: var(--font-hand); font-weight: 700; font-size: 40px; color: var(--red); }

/* 14 만든 사람 */
.maker { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 22px; align-items: center; max-width: 640px; margin: 34px auto 0; }
.sajang { display: block; width: 100%; height: auto; background: var(--cream); border: 3px solid var(--ink); border-radius: var(--radius-card); box-shadow: 3px 4px 0 rgba(43, 37, 34, 0.18); transform: rotate(-1.5deg); }
.bubble { position: relative; background: var(--cream); border: 3px solid var(--ink); border-radius: 14px; padding: 16px 20px; box-shadow: 3px 4px 0 rgba(43, 37, 34, 0.18); }
.bubble::before { content: ""; position: absolute; left: -15px; bottom: 24px; border: 8px solid transparent; border-right: 12px solid var(--ink); }
.bubble p { margin: 0; font-size: 17px; line-height: 1.6; }
.bubble .sign-off { margin-top: 6px; font-family: var(--font-hand); font-weight: 700; font-size: 21px; color: var(--red); text-align: right; }

/* 15 요금 */
.pcard { position: relative; max-width: 540px; margin: 34px auto 0; background: var(--cream); border: var(--line) solid var(--ink); border-radius: var(--radius-card); box-shadow: 3px 4px 0 rgba(43, 37, 34, 0.2); padding: 22px 22px 20px; text-align: center; }
.pcard::before { content: ""; position: absolute; top: -12px; left: 24px; width: 70px; height: 22px; background: rgba(242, 194, 48, 0.75); transform: rotate(-5deg); }
.pcard p { margin: 0; }
.pcard .pcl { font-size: 21px; }
.pv { margin-top: 2px; font-size: 44px; font-weight: 900; letter-spacing: -0.02em; line-height: 1.25; }
.pv small { font-size: 17px; font-weight: 700; color: var(--ink-soft); margin-left: 4px; letter-spacing: 0; white-space: nowrap; }
.keys { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 12px !important; }
.keys span { font-size: 15px; font-weight: 800; background: var(--memo); border-radius: 999px; padding: 5px 14px; white-space: nowrap; }
.pcard .ps { margin-top: 12px; font-size: 15px; line-height: 1.6; color: var(--ink-soft); }
.start3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; max-width: 700px; margin: 20px auto 0; padding: 0; list-style: none; }
.start3 li { background: #fff; border: 1px solid var(--clean-line); border-radius: 14px; padding: 16px 8px; text-align: center; }
.start3 b { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--red); color: #fff; font-size: 14px; }
.start3 p { margin: 8px 0 0; font-size: 15px; line-height: 1.5; color: var(--ink-soft); }
.fine2 { margin: 16px 0 0; text-align: center; font-size: 14px; line-height: 1.6; color: var(--ink-mute); }
.ctarow { display: flex; justify-content: center; margin-top: 28px; }

/* 10 중간 버튼 띠 */
.olly .sec.band { padding: 40px 16px 44px; background: var(--ink); text-align: center; }
.bandt { margin: 0 0 18px; color: #f6f1e7; font-size: 22px; font-weight: 800; line-height: 1.4; letter-spacing: -0.01em; }
.band .cta { border-color: #f6f1e7; box-shadow: none; }

/* 17 마지막 */
.appname { margin: 24px 0 0; text-align: center; }
.appname .doodle { font-size: 26px; }
.contact2 { margin: 18px 0 0; text-align: center; font-size: 16px; font-weight: 700; color: var(--ink-soft); line-height: 1.7; }
.contact2 a { white-space: nowrap; }

@media (max-width: 700px) {
  .olly .sec { padding-top: 56px; padding-bottom: 44px; }
  .olly .sec.first { padding-top: 20px; }
  .olly .board :is(h1, h2) { font-size: clamp(20px, 5.9vw, 27px); }
  .olly .board li { font-size: 16px; }
  .olly .tag-row .tag { margin-bottom: 14px; }
  .hero-stage { padding: 14px 10px 4px; }
  .hook { font-size: 22px; }
  .ident { margin-top: 22px; }
  .ident .nm1 { font-size: 15px; }
  .ident .mark { font-size: 24px; }
  .pill { font-size: 15px; padding: 9px 16px; }
  .firstw { margin-top: 32px; }
  .sticker { font-size: 17px; }
  .exn { font-size: 13px; }
  .formula { font-size: 19px; gap: 6px; row-gap: 4px; }
  .under .doodle { margin-left: 60px; font-size: 21px; }
  .fx { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .fx p { text-align: left; font-size: 14px; padding: 10px 14px; }
  .fx b { display: inline-block; width: 4.6em; font-size: 15px; margin: 0; }
  .fx .l { display: inline; }
  .fx .l + .l::before { content: " "; }
  .item { font-size: 16px; }
  .reco { font-size: 14px; }
  .fact { padding: 14px; gap: 10px; flex-direction: column; }
  .fact p { font-size: 14.5px; }
  .barrow { font-size: 32px; transform: rotate(90deg); }
  .maker { grid-template-columns: 104px minmax(0, 1fr); gap: 16px; }
  .bubble { padding: 12px 14px; }
  .bubble p { font-size: 15px; }
  .bubble .sign-off { font-size: 18px; }
  .pv { font-size: 36px; }
  .pv small { display: block; font-size: 15px; margin: 0; }
  .keys span { font-size: 14px; padding: 4px 11px; }
  .pcard .ps { font-size: 14px; }
  .start3 { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .start3 li { display: flex; align-items: center; gap: 12px; padding: 12px 16px; text-align: left; }
  .start3 b { flex: none; }
  .start3 p { margin: 0; font-size: 15px; }
  .start3 .l { display: inline; }
  .start3 .l + .l::before { content: " "; }
  .fine2 { font-size: 13px; }
  .bandt { font-size: 19px; }
  .appname .doodle { font-size: 21px; }
  .contact2 { font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  .gauge i { transition: none; }
}
