/* 미창친 홈 (2026-10-10 개편) — index에서만 읽는다. 공통(헤더·푸터·버튼·서재)은 site.css.
   색은 site.css 토큰 그대로 + 두 가지만 더한다:
     --paper/--ink : 앱 라이트 테마의 종이(#FBF7EE)와 잉크 — 후기 칸을 공책처럼
     --marker      : 앱 독서 훈련의 형광펜 자리(지속적으로)와 같은 노랑 */
:root {
  --paper: #fbf7ee;
  --paper-line: #e9e3d3;
  --ink: #18241d;
  --ink-soft: #46534a;
  --ink-mute: #6f7a71;
  --marker: #f3d77a;
  --serif: "Noto Serif KR", "Nanum Myeongjo", "AppleMyungjo", serif;
}

.home section { scroll-margin-top: 80px; }
.home h2 { text-wrap: balance; font-size: clamp(1.9rem, 3.6vw, 2.9rem); line-height: 1.18; letter-spacing: -0.035em; font-weight: 800; margin: 0 0 .9rem; }

/* ---------- 기기 틀 — 검은 베젤의 실제 기기처럼 (10-10 James: 초록 테두리 X) ---------- */
.dev { display: block; position: relative; background: #050505;
  box-shadow: inset 0 0 0 1px #2c2c2e, 0 0 0 1.5px #0b0b0c, 0 0 0 3px #3b3b3f, 0 40px 80px -30px rgb(0 0 0 / .9), 0 18px 36px -18px rgb(0 0 0 / .8); }
.dev img { width: 100%; height: auto; display: block; background: #080b09; }
.phone { width: 100%; max-width: 290px; padding: 10px; border-radius: 48px; }
.phone img { border-radius: 0 0 38px 38px; aspect-ratio: 780 / 1688; object-fit: cover; }
.phone::before { content: ""; position: absolute; left: -4px; top: 21%; width: 3px; height: 9%; border-radius: 2px 0 0 2px; background: #2e2e31; box-shadow: 0 -15% 0 #2e2e31; }
.phone::after { content: ""; position: absolute; right: -4px; top: 27%; width: 3px; height: 13%; border-radius: 0 2px 2px 0; background: #2e2e31; }
.phone .sbar { display: flex; justify-content: space-between; align-items: center; height: 34px; padding: 0 22px 0 26px; background: #080b09; border-radius: 38px 38px 0 0; color: #e9ede7; font-size: 12px; font-weight: 650; letter-spacing: -.01em; }
.phone .sbar i { display: inline-flex; gap: 2px; align-items: flex-end; height: 10px; }
.phone .sbar i b { width: 3px; background: currentColor; border-radius: 1px; }
.phone .sbar i b:nth-child(1) { height: 4px; } .phone .sbar i b:nth-child(2) { height: 6px; } .phone .sbar i b:nth-child(3) { height: 8px; } .phone .sbar i b:nth-child(4) { height: 10px; }
.phone .sbar u { display: inline-block; width: 22px; height: 10px; margin-left: 6px; border: 1.3px solid currentColor; border-radius: 3px; opacity: .9; position: relative; text-decoration: none; }
.phone .sbar u::after { content: ""; position: absolute; inset: 1.5px 5px 1.5px 1.5px; background: currentColor; border-radius: 1px; }
.island { position: absolute; z-index: 2; top: 18px; left: 50%; transform: translateX(-50%); width: 31%; height: 23px; border-radius: 999px; background: #000; }
.tablet { padding: 16px; border-radius: 34px; }
.tablet img { border-radius: 16px; aspect-ratio: 1600 / 1112; object-fit: cover; }
.tablet .cam { position: absolute; top: 6px; left: 50%; width: 5px; height: 5px; margin-left: -2.5px; border-radius: 50%; background: #1d2430; box-shadow: inset 0 0 1px #4a5a70; }

/* ---------- 히어로 ---------- */
.hero2 { position: relative; overflow: hidden; padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 6rem); }
.hero2::before { content: ""; position: absolute; inset: -20% -10% auto 35%; height: 120%; pointer-events: none;
  background: radial-gradient(closest-side, rgb(34 112 79 / .38), rgb(15 54 38 / .18) 55%, transparent 75%); }
.hero2-grid { position: relative; display: grid; grid-template-columns: minmax(0, 11fr) minmax(0, 13fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.kicker { color: var(--leaf); font-weight: 650; font-size: clamp(.98rem, 1.2vw, 1.08rem); line-height: 1.6; margin: 0 0 1.1rem; max-width: 30rem; }
.hero2 h1 { text-wrap: balance; font-size: clamp(2.4rem, 4.6vw, 4rem); line-height: 1.06; letter-spacing: -0.045em; font-weight: 850; margin: 0 0 1.4rem; color: var(--fg); }
.hero2 .lede { font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: var(--fg-soft); margin: 0 0 2rem; max-width: 30rem; line-height: 1.7; }

.stores { display: flex; flex-wrap: wrap; gap: .75rem; }
.store { display: inline-flex; align-items: center; gap: .7rem; height: 58px; padding: 0 1.35rem 0 1.1rem; border-radius: 14px;
  background: var(--moon); color: #10170f; font-weight: 750; font-size: 17px; letter-spacing: -0.01em; transition: transform .15s var(--ease), background .15s; }
.store .ic { width: 24px; height: 24px; }
.store span { display: grid; line-height: 1.15; }
.store small { font-size: 11.5px; font-weight: 550; opacity: .72; letter-spacing: 0; }
.store:hover { background: #fff7e2; }
.store:active { transform: scale(.98); }
.store:focus-visible, .topt:focus-visible, .notes-more:focus-visible { outline: 2px solid var(--leaf); outline-offset: 3px; }
.weblink { display: inline-block; margin-top: 1.1rem; color: var(--fg-soft); font-weight: 600; font-size: 15px; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: #3a4a3f; }
.weblink:hover { color: var(--fg); text-decoration-color: var(--leaf); }
.hero-score { display: flex; align-items: center; gap: .6rem; margin-top: 2rem; padding-top: 1.4rem; border-top: 1px solid var(--border); color: var(--fg-soft); font-size: 15px; width: fit-content; }
.hero-score:hover { color: var(--fg); }
.stars { color: #e3b84d; letter-spacing: .08em; font-size: 15px; }

.hero2-art { position: relative; margin: 0; padding: 0 0 12% 10%; }
.hero2-art .tablet { width: 100%; }
.hero2-art .ph-hero { position: absolute; left: 0; bottom: 0; width: 31%; max-width: none; padding: 7px; border-radius: 38px; }
.hero2-art .ph-hero img { border-radius: 0 0 31px 31px; }
.hero2-art .ph-hero .sbar { height: 26px; font-size: 9.5px; padding: 0 16px 0 19px; border-radius: 31px 31px 0 0; }
.hero2-art .ph-hero .island { top: 12px; height: 17px; }
.hero2-art .ph-hero .sbar u { width: 17px; height: 8px; }

/* ---------- 한 문장 읽어 보기 ---------- */
.try { padding: clamp(3.5rem, 8vw, 6.5rem) 0; background: linear-gradient(180deg, var(--bg), #0b120e 40%, var(--bg)); }
.try-head { max-width: 46rem; margin: 0 auto 2.5rem; text-align: center; }
.try-head p { color: var(--fg-soft); margin: 0; font-size: 1.05rem; }
.try-card { max-width: 760px; margin: 0 auto; padding: clamp(1.4rem, 4vw, 2.6rem); border-radius: 22px; background: var(--panel); border: 1px solid var(--border); }
.try-meta { display: flex; justify-content: space-between; color: var(--fg-mute); font-size: 14px; margin: 0 0 1.4rem; }
.try-meta span:first-child { color: var(--leaf); font-weight: 700; }
.try-sent { font-family: var(--serif); font-weight: 500; font-size: clamp(1.3rem, 2.8vw, 1.8rem); line-height: 1.75; letter-spacing: -0.02em; margin: 0 0 1.6rem; color: var(--fg); }
.m-hl { background: linear-gradient(transparent 52%, rgb(217 184 106 / .45) 52%, rgb(217 184 106 / .45) 92%, transparent 92%); }
.m-box { box-shadow: inset 0 0 0 1.5px var(--leaf); border-radius: 4px; padding: 0 .12em; }
.m-u { text-decoration: underline; text-decoration-color: var(--leaf); text-decoration-thickness: 2px; text-underline-offset: 7px; }
.try-q { color: var(--fg-soft); margin: 0 0 1.1rem; font-size: 1.05rem; }
.try-q b { color: var(--fg); }
.try-opts { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.topt { width: 100%; text-align: left; font: inherit; font-size: 1rem; color: var(--fg-soft); background: var(--bg); border: 1px solid var(--border); border-radius: 14px; padding: .95rem 1.1rem; cursor: pointer; transition: border-color .15s, color .15s; }
.topt:hover:not([disabled]) { border-color: #3d5045; color: var(--fg); }
.topt.no { border-color: #7a3a30; color: var(--fg-mute); }
.topt.yes { border-color: var(--leaf); color: var(--fg); background: rgb(34 112 79 / .16); }
.topt[disabled] { cursor: default; }
.tback { margin: .55rem .3rem .2rem; font-size: .95rem; color: #e2a094; }
.tback b { color: #f0c2b9; }
.try-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 2.2rem; }
.tstep.done .try-opts, .tstep.done .try-q { opacity: .55; }
.tstep + .tstep { padding-top: 2rem; border-top: 1px dashed var(--border); }
.try-count b { color: var(--fg); }
.m-ct { text-decoration: underline wavy rgb(217 184 106 / .8); text-decoration-thickness: 1.5px; text-underline-offset: 7px; }
.tt-quote { font-family: var(--serif); color: var(--moon) !important; padding-left: 1rem; border-left: 2px solid var(--border); }
.tnext { margin-top: .4rem; }
.try-think { margin-top: 1.6rem; padding: 1.2rem 0 0 1.2rem; border-left: 2px solid var(--leaf); }
.try-think p { margin: 0 0 .9rem; color: var(--fg-soft); line-height: 1.8; }
.try-think b { color: var(--fg); }
.tt-who { display: flex; align-items: center; gap: .5rem; color: var(--leaf) !important; font-weight: 700; font-size: 14px; }
.try-next { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--border); color: var(--fg-mute); }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) { .try-think:not([hidden]) { animation: rise .6s var(--ease) both; } }

/* ---------- 후기: 어두운 바탕 위의 형광펜 (10-10 James: 밝게 튀지 않게) ---------- */
.paper { background: linear-gradient(180deg, var(--bg), #0b110d 18%, #0b110d 82%, var(--bg)); color: var(--fg); padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.paper-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem 3rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.paper-head h2 { color: var(--fg); }
.paper-head p { color: var(--fg-soft); margin: 0; max-width: 36rem; }
.score { display: grid; grid-template-columns: auto auto; column-gap: .9rem; align-items: center; padding: 1rem 1.3rem; border-radius: 16px; background: var(--panel); border: 1px solid var(--border); color: var(--fg); }
.score b { grid-row: span 2; font-size: 2.6rem; line-height: 1; letter-spacing: -0.04em; font-weight: 850; color: var(--moon); }
.score span:last-child { color: var(--fg-mute); font-size: 14px; }
.score:hover { border-color: #3a4a3f; }
.notes { columns: 3 300px; column-gap: 1.25rem; }
.note { break-inside: avoid; margin: 0 0 1.25rem; padding: 1.35rem 1.4rem 1.1rem; background: var(--panel); border: 1px solid var(--border); border-radius: 14px; }
.note blockquote { margin: 0 0 1rem; font-family: var(--serif); font-weight: 500; font-size: 1.02rem; line-height: 1.85; color: var(--fg-soft); letter-spacing: -0.01em; }
.note.big blockquote { font-size: 1.2rem; line-height: 1.8; color: var(--fg); }
.note mark { color: var(--fg); padding: 0 .06em; -webkit-box-decoration-break: clone; box-decoration-break: clone;
  background: linear-gradient(transparent 55%, rgb(217 184 106 / .38) 55%, rgb(217 184 106 / .38) 92%, transparent 92%); }
.note figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .7rem; font-size: 13px; color: var(--fg-mute); }
.src { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; }
.src::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.src.as { color: var(--leaf); } .src.yt { color: #e2705e; } .src.ml { color: var(--caution); } .src.nb { color: #57c98c; }
.who { color: var(--fg-soft); font-weight: 600; }
.notes[data-collapsed="1"] .note.more { display: none; }
.btn-ink { display: flex; margin: 1rem auto 0; background: var(--panel2); color: var(--fg); border: 1px solid var(--border); border-radius: 999px; }
.btn-ink:hover { background: var(--hover); }

/* ---------- 다섯 칸 ---------- */
.tour { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.tour-head { max-width: 44rem; margin: 0 auto clamp(2.2rem, 4vw, 3rem); text-align: center; }
.tour-head p { color: var(--fg-soft); margin: 0; font-size: 1.05rem; }
.tabs { position: sticky; bottom: max(14px, env(safe-area-inset-bottom)); z-index: 5; display: grid; grid-template-columns: repeat(5, 1fr); gap: .5rem; margin-top: clamp(2rem, 4vw, 3rem); padding: .45rem; border-radius: 20px; background: rgb(19 26 21 / .88); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid var(--border); box-shadow: 0 18px 40px -16px rgb(0 0 0 / .9); }
.tabs button { position: relative; display: flex; align-items: center; justify-content: center; gap: .55rem; padding: .95rem .5rem 1.05rem; border-radius: 14px; background: none; border: 0; color: var(--fg-mute); font: inherit; font-size: 15.5px; font-weight: 650; cursor: pointer; transition: color .15s, background .15s; }
.tabs button::after { content: ""; position: absolute; bottom: 6px; left: 30%; right: 30%; height: 2.5px; border-radius: 2px; background: var(--leaf); opacity: 0; transition: opacity .2s; }
.tabs button:hover { color: var(--fg-soft); }
.tabs button[aria-selected="true"] { color: var(--leaf); }
.tabs button[aria-selected="true"]::after { opacity: 1; }
.tabic { width: 24px; height: 24px; }

.tpanel { min-height: 540px; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.tpanel[hidden] { display: none; }
.tp-text h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -0.03em; font-weight: 800; margin: 0 0 .9rem; }
.tp-text p { color: var(--fg-soft); margin: 0 0 1.2rem; font-size: 1.05rem; line-height: 1.75; max-width: 30rem; }
.tp-list { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; gap: .7rem; }
.tp-list li { display: flex; align-items: center; gap: .8rem; color: var(--fg-mute); font-size: 15px; }
.tp-list b { color: var(--fg); font-weight: 700; min-width: 4.6em; }
.tp-list .lv { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--deep); color: var(--leaf); flex: none; }
.tp-list .mci { width: 22px; height: 22px; }
.tp-shots { display: flex; justify-content: center; gap: clamp(1rem, 3vw, 2rem); }
.tp-shots .phone { max-width: 270px; }
.tp-shots .phone:nth-child(2) { margin-top: 3.5rem; }

/* ---------- 가로 줄 공통 (분야·인물관계도) — 서재 선반처럼 옆으로 넘긴다 ---------- */
.row-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 1.6rem; }
.row-head .full-text { margin-bottom: 0; }
.row-nav { display: flex; gap: .5rem; flex: none; }
.row-nav button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--border); background: var(--panel); color: var(--fg); font-size: 24px; line-height: 1; cursor: pointer; }
.row-nav button:hover { background: var(--hover); border-color: #3a4a3f; }
.row-nav button:focus-visible { outline: 2px solid var(--leaf); outline-offset: 3px; }
.fieldrow, .relrow { list-style: none; margin: 0; display: flex; gap: 1.1rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(1.25rem, calc((100vw - var(--max)) / 2));
  padding: .4rem max(1.25rem, calc((100vw - var(--max)) / 2)) 1.6rem; scrollbar-width: none; }
.fieldrow::-webkit-scrollbar, .relrow::-webkit-scrollbar { display: none; }
.fieldrow > li, .relrow > li { scroll-snap-align: start; flex: none; }

/* 분야 — 책 한 권처럼 세운 카드, 아래에 선반 */
.home .fields { background: linear-gradient(180deg, var(--bg), #0b110d 20%, #0b110d 80%, var(--bg)); }
.fieldrow { position: relative; }
.fieldrow > li { width: 210px; }
.fieldrow a, .fieldrow .nolink { position: relative; display: flex; flex-direction: column; height: 280px; padding: 1.4rem 1.25rem 1.2rem; border-radius: 6px 14px 14px 6px; color: var(--fg);
  background: linear-gradient(90deg, rgb(0 0 0 / .35) 0 7px, transparent 7px), linear-gradient(160deg, #1d2a22, #121a15 70%); border: 1px solid var(--border); box-shadow: var(--book-cast); transition: transform .2s var(--ease), border-color .2s; }
.fieldrow a:hover { transform: translateY(-6px); border-color: #3a4a3f; }
.fieldrow .mci { width: 40px; height: 40px; color: var(--leaf); margin-bottom: auto; }
.fieldrow b { font-size: 1.35rem; font-weight: 800; letter-spacing: -0.03em; margin: 1rem 0 .4rem; }
.fieldrow a span { color: var(--fg-mute); font-size: .9rem; line-height: 1.5; }
.fieldrow a::after { content: "앞 세 문장 읽기"; margin-top: 1rem; padding-top: .8rem; border-top: 1px solid var(--border); color: var(--leaf); font-size: 13.5px; font-weight: 650; }
.fields { position: relative; z-index: 0; }

/* ---------- EBS 연계 ---------- */
.ebs2 { position: relative; padding: clamp(4rem, 9vw, 7rem) 0 clamp(3rem, 6vw, 5rem); overflow: hidden;
  background: radial-gradient(70% 55% at 85% 32%, rgb(34 112 79 / .26), transparent 70%), linear-gradient(180deg, var(--bg) 0%, #0b1d14 14%, #0a2419 34%, #0b1a12 72%, var(--bg) 100%); }
.ebs2-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; margin-bottom: clamp(3rem, 6vw, 5rem); }
.ebs2-badge { display: inline-block; margin: 0 0 1rem; padding: .35rem .85rem; border-radius: 999px; background: var(--moon); color: #10170f; font-weight: 800; font-size: 14px; }
.ebs2 h2 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); }
.ebs2-text > p:not(.ebs2-badge):not(.ebs2-note) { color: var(--fg-soft); font-size: 1.08rem; max-width: 32rem; }
.ebs2-count { list-style: none; padding: 0; margin: 2rem 0 1.4rem; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid #23402f; border-bottom: 1px solid #23402f; }
.ebs2-count li { display: grid; gap: .3rem; padding: 1.1rem .9rem 1.1rem 0; }
.ebs2-count li + li { padding-left: .9rem; border-left: 1px solid #23402f; }
.ebs2-count b { font-size: clamp(2.2rem, 3.6vw, 3rem); line-height: 1; font-weight: 850; letter-spacing: -0.04em; color: var(--moon); font-variant-numeric: tabular-nums; }
.ebs2-count b::after { content: "편"; font-size: .4em; font-weight: 700; margin-left: .15em; color: var(--fg-soft); letter-spacing: 0; }
.ebs2-count span { color: var(--fg-soft); font-size: 14px; font-weight: 600; }
.ebs2-note { color: var(--leaf); font-weight: 650; margin: 0; }
.ebs2-shots { display: flex; justify-content: center; gap: clamp(1rem, 3vw, 2rem); }
.ebs2-shots .phone { max-width: 260px; }
.ebs2-shots .phone:nth-child(2) { margin-top: 3.5rem; }
.rel-head h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 800; letter-spacing: -0.03em; margin: 0 0 .5rem; }
.rel-head p { color: var(--fg-soft); margin: 0; max-width: 36rem; }
.relrow > li { width: 300px; }
.rel figure { margin: 0; height: 100%; display: flex; flex-direction: column; border-radius: 18px; overflow: hidden; background: #050806; border: 1px solid var(--border); }
.rel img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.rel figcaption { display: grid; gap: .25rem; padding: 1rem 1.1rem 1.2rem; border-top: 1px solid var(--border); background: var(--panel); flex: 1; }
.rel b { font-size: 1.15rem; font-weight: 800; letter-spacing: -0.02em; }
.rel-book { justify-self: start; padding: .15rem .55rem; border-radius: 6px; font-size: 12px; font-weight: 750; background: var(--deep); color: var(--leaf); }
.rel-book.suwan { background: #3a2f12; color: var(--caution); }
.rel-tag { color: var(--fg-mute); font-size: 13px; }
.rel p { margin: .35rem 0 0; color: var(--fg-soft); font-size: 14px; line-height: 1.6; }

/* ---------- 플래너 방 ---------- */
.room2 { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.room2-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.room2 p { color: var(--fg-soft); font-size: 1.05rem; max-width: 30rem; }
.room-quote { margin: 0; font-family: var(--serif); font-weight: 700; font-size: clamp(1.6rem, 3vw, 2.3rem) !important; line-height: 1.5; color: var(--moon) !important; letter-spacing: -0.02em; padding-left: 1.4rem; border-left: 3px solid var(--forest); }

/* ---------- 마무리 ---------- */
.get { text-align: center; padding: clamp(4rem, 9vw, 7rem) 0; background: radial-gradient(60% 80% at 50% 100%, rgb(34 112 79 / .28), transparent 70%); }
.get .closemoon { width: 72px; height: 72px; margin: 0 auto 1.4rem; }
.get h2 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); }
.get .fine { margin: 0 0 2rem; font-size: 1rem; color: var(--fg-soft); }
.get .stores { justify-content: center; }

/* ---------- 좁은 화면 ---------- */
@media (max-width: 900px) {
  .hero2-grid, .tpanel, .room2-grid, .ebs2-grid { grid-template-columns: 1fr; }
  .tpanel { min-height: 0; }
  .hero2-art { padding: 0 0 14% 8%; max-width: 640px; }
  .tpanel .tp-shots { order: 2; }
}
@media (max-width: 600px) {
  .hero2 { padding-top: 1.5rem; }
  .hero2-art { padding: 0; display: flex; justify-content: center; }
  .hero2-art .tablet { display: none; }
  .hero2-art .ph-hero { position: static; width: 72%; max-width: 300px; padding: 7px; border-radius: 40px; }
  .hero2-art .ph-hero img { border-radius: 0 0 33px 33px; }
  .hero2-art .ph-hero .sbar { height: 30px; font-size: 11px; border-radius: 33px 33px 0 0; }
  .hero2-art .ph-hero .island { top: 15px; height: 20px; }
  .stores { display: grid; grid-template-columns: 1fr 1fr; }
  .store { height: 56px; padding: 0 .9rem; font-size: 15.5px; gap: .55rem; }
  .tabs { max-width: none; }
  .tp-shots .phone { max-width: 46%; padding: 6px; border-radius: 30px; }
  .tp-shots .phone img { border-radius: 0 0 24px 24px; }
  .tp-shots.one .phone { max-width: 66%; }
  .tp-shots .phone:nth-child(2) { margin-top: 2rem; }
  .note { padding: 1.15rem 1.15rem 1rem; }
  .tabs { gap: .2rem; padding: .3rem; border-radius: 16px; }
  .tabs button { flex-direction: column; gap: .25rem; font-size: 12.5px; padding: .7rem .2rem .95rem; }
  .ebs2-count { grid-template-columns: repeat(2, 1fr); }
  .ebs2-count li:nth-child(3) { padding-left: 0; border-left: 0; }
  .ebs2-count li:nth-child(n+3) { border-top: 1px solid #23402f; }
  .ebs2-shots .phone { max-width: 46%; padding: 6px; border-radius: 30px; }
  .ebs2-shots .phone img { border-radius: 0 0 24px 24px; }
  .ebs2-shots .phone .sbar, .tp-shots .phone .sbar { height: 22px; font-size: 8.5px; padding: 0 12px 0 14px; border-radius: 24px 24px 0 0; }
  .ebs2-shots .phone .island, .tp-shots .phone .island { top: 10px; height: 13px; }
  .ebs2-shots .phone .sbar u, .tp-shots .phone .sbar u { width: 14px; height: 7px; margin-left: 3px; }
  .ebs2-shots .phone:nth-child(2) { margin-top: 2rem; }
  .row-nav { display: none; }
  .fieldrow > li { width: 170px; }
  .fieldrow a, .fieldrow .nolink { height: 240px; }
  .relrow > li { width: 250px; }
  .try-card { border-radius: 18px; }
}

/* ---------- 이미지 등장 — 한 묶음의 사진이 다 풀린 뒤 함께, 천천히 (10-10 James: 버퍼링·너무 빠름) ---------- */
.js [data-reveal] > .dev { opacity: 0; transform: translateY(26px); }
.js [data-reveal].in > .dev { opacity: 1; transform: none; transition: opacity 1.1s ease, transform 1.3s var(--ease); }
.js [data-reveal].in > .dev:nth-child(2) { transition-delay: .22s; }
@media (prefers-reduced-motion: reduce) { .js [data-reveal] > .dev { opacity: 1; transform: none; transition: none; } }

/* ---------- 지문 맛보기 — 앱처럼 한 문장씩 ---------- */
.tstep.done .try-q, .tstep.done .try-opts, .tstep.done .try-write, .tstep.done .try-think { display: none; }
.tstep.done .try-sent { font-size: clamp(1rem, 1.8vw, 1.15rem); color: var(--fg-mute); margin: 0; line-height: 1.8; }
.try-steps { gap: 1rem; }
.tstep.done + .tstep:not(.done) { margin-top: 1.2rem; padding-top: 2rem; border-top: 1px dashed var(--border); }
.tstep.done + .tstep { border-top: 0; padding-top: 0; }
.tstep + .tstep { border-top: 0; padding-top: 0; }
.try-write { display: grid; gap: .6rem; }
.try-write textarea { width: 100%; resize: vertical; font: inherit; font-size: 1rem; color: var(--fg); background: var(--bg); border: 1px solid var(--border); border-radius: 14px; padding: .9rem 1rem; }
.try-write textarea:focus { outline: 2px solid var(--leaf); outline-offset: 1px; }
.try-write .tgo { width: auto; justify-self: end; text-align: center; color: var(--fg); background: var(--panel2); }
.try-opts.sure { display: flex; justify-content: center; }
.try-opts.sure .topt { width: auto; padding: .7rem 1.8rem; border-radius: 999px; font-family: var(--serif); font-weight: 700; color: var(--moon); background: var(--forest); border-color: var(--forest); }
.try-marked { margin: 1rem 0 0 !important; padding: .9rem 1rem; border-radius: 12px; background: var(--bg); border: 1px solid var(--border); font-family: var(--serif); color: var(--fg) !important; line-height: 1.9 !important; }
.m-ar { color: var(--leaf); font-weight: 700; }
.try-doubt { margin: .8rem 0 0 !important; padding: .75rem 1rem; border-radius: 12px; border: 1px dashed #4a5a4f; color: var(--fg-soft) !important; font-size: .95rem; }
.try-doubt b { display: block; color: var(--caution); font-size: 13px; margin-bottom: .2rem; }
.try-card { scroll-margin-top: 90px; }

/* ---------- 플래너 방 ---------- */
.room2-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.room2-shots { display: flex; justify-content: center; gap: clamp(1rem, 3vw, 2rem); }
.room2-shots .phone { max-width: 260px; }
.room2-shots .phone:nth-child(2) { margin-top: 3.5rem; }
.room-times { list-style: none; padding: 0; margin: 1.4rem 0 1.6rem; display: grid; gap: .5rem; }
.room-times li { display: flex; justify-content: space-between; max-width: 22rem; padding: .7rem 1rem; border-radius: 12px; background: var(--panel); border: 1px solid var(--border); }
.room-times b { font-weight: 700; } .room-times span { color: var(--leaf); font-variant-numeric: tabular-nums; font-weight: 650; }
.room2-text .room-quote { font-size: clamp(1.25rem, 2.2vw, 1.6rem) !important; margin-bottom: 1.4rem; }
.room-note { margin-top: 1.5rem; color: var(--fg-faint); font-size: 13px; text-align: right; }
@media (max-width: 600px) {
  .room2-shots .phone { max-width: 46%; padding: 6px; border-radius: 30px; }
  .room2-shots .phone img { border-radius: 0 0 24px 24px; }
  .room2-shots .phone .sbar { height: 22px; font-size: 8.5px; padding: 0 12px 0 14px; border-radius: 24px 24px 0 0; }
  .room2-shots .phone .island { top: 10px; height: 13px; }
  .room2-shots .phone .sbar u { width: 14px; height: 7px; margin-left: 3px; }
  .room2-shots .phone:nth-child(2) { margin-top: 2rem; }
}

.tabs button:focus { outline: none; }
.tabs button:focus-visible { outline: none; color: var(--fg); }
.tabs button:focus-visible span { text-decoration: underline; text-underline-offset: 4px; }

/* 다섯 칸 — 머리말과 칸 내용을 가르는 무대 (10-10 James: 설명과 칸 제목이 구분이 안 됨) */
.stage { position: relative; padding: clamp(2rem, 4vw, 3rem) clamp(1.2rem, 3vw, 2.6rem) clamp(1rem, 2vw, 1.4rem); border-radius: 28px;
  background: linear-gradient(180deg, rgb(19 26 21 / .75), rgb(11 17 13 / .35)); border: 1px solid var(--border); }
.stage::before { content: ""; position: absolute; top: -1px; left: 12%; right: 12%; height: 1px; background: linear-gradient(90deg, transparent, var(--leaf), transparent); opacity: .7; }
.tp-kicker { display: inline-flex; align-items: center; gap: .45rem; margin: 0 0 .8rem !important; padding: .3rem .75rem .3rem .55rem; border-radius: 999px; background: var(--deep); color: var(--leaf) !important; font-size: 14px !important; font-weight: 700; }
.tp-kicker .tabic { width: 18px; height: 18px; }
.stage .tabs { margin-top: clamp(1.6rem, 3vw, 2.2rem); }
@media (max-width: 600px) { .stage { padding: 1.4rem .9rem .8rem; border-radius: 22px; } }
.notes-more[hidden] { display: none !important; }

/* ================= 모바일 정리 (10-10 James: 폰에서 깨짐) =================
   맨 끝에 둬서 위의 데스크톱 규칙을 확실히 덮는다. */
@supports (overflow: clip) { html, body { overflow-x: clip; } }
@media (max-width: 900px) {
  .room2-grid { grid-template-columns: 1fr; }
  .room2-shots { order: 2; }
  .room-note { text-align: left; }
}
@media (max-width: 600px) {
  .home h2 { font-size: clamp(1.7rem, 7.4vw, 2.1rem); }
  .hero2 h1 { font-size: clamp(2.05rem, 9.6vw, 2.6rem); }
  .kicker { font-size: .95rem; }
  .hero2 .lede { font-size: 1.02rem; }

  /* 스토어 버튼: 글자가 두 줄로 꺾이지 않게 */
  .store { padding: 0 .8rem; gap: .5rem; font-size: 15px; }
  .store span { white-space: nowrap; }
  .store .ic { width: 22px; height: 22px; }

  /* 지문 맛보기 */
  .try-head { margin-bottom: 1.6rem; }
  .try-head p { font-size: 1rem; text-align: left; }
  .try-card { padding: 1.2rem 1rem 1.3rem; }
  .try-meta { flex-direction: column; gap: .15rem; font-size: 13px; margin-bottom: 1rem; }
  .try-sent { font-size: 1.25rem; line-height: 1.7; }
  .topt { padding: .85rem .95rem; font-size: .97rem; }
  .try-think { padding-left: .9rem; }
  .try-write .tgo { justify-self: stretch; }

  /* 기기 사진 묶음: 두 대를 반쪽 크기로 욱여넣지 않고, 옆으로 넘기는 한 줄로 */
  .tp-shots, .ebs2-shots, .room2-shots {
    justify-content: flex-start; gap: .9rem; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: -1.25rem; padding: .4rem 1.25rem 2.2rem; scroll-padding-inline: 1.25rem; }
  .stage .tp-shots { margin-inline: -.9rem; padding-inline: .9rem; scroll-padding-inline: .9rem; }
  .tp-shots::-webkit-scrollbar, .ebs2-shots::-webkit-scrollbar, .room2-shots::-webkit-scrollbar { display: none; }
  .tp-shots .phone, .ebs2-shots .phone, .room2-shots .phone, .tp-shots.one .phone {
    flex: none; width: 68vw; max-width: 270px; padding: 7px; border-radius: 38px; scroll-snap-align: center; }
  .tp-shots .phone:nth-child(2), .ebs2-shots .phone:nth-child(2), .room2-shots .phone:nth-child(2) { margin-top: 0; }
  .tp-shots .phone img, .ebs2-shots .phone img, .room2-shots .phone img { border-radius: 0 0 31px 31px; }
  .tp-shots .phone .sbar, .ebs2-shots .phone .sbar, .room2-shots .phone .sbar { height: 28px; font-size: 10.5px; padding: 0 17px 0 20px; border-radius: 31px 31px 0 0; }
  .tp-shots .phone .island, .ebs2-shots .phone .island, .room2-shots .phone .island { top: 13px; height: 18px; }
  .tp-shots .phone .sbar u, .ebs2-shots .phone .sbar u, .room2-shots .phone .sbar u { width: 18px; height: 8px; margin-left: 4px; }
  .tp-shots.one { justify-content: center; }
  .phone::before, .phone::after { display: none; }

  /* EBS */
  .ebs2 h2 { font-size: clamp(2rem, 8.6vw, 2.4rem); }
  .ebs2-text > p:not(.ebs2-badge):not(.ebs2-note) { font-size: 1rem; }
  .ebs2-count b { font-size: 2.2rem; }
  .ebs2-count li { padding: .9rem .6rem .9rem 0; }
  .ebs2-count li + li { padding-left: .8rem; }
  .ebs2-count li:nth-child(3) { padding-left: 0; }
  .ebs2-grid { margin-bottom: 2.5rem; }
  .relrow > li { width: min(78vw, 280px); }

  /* 후기 */
  .paper-head { gap: 1rem; }
  .score { padding: .8rem 1.1rem; }
  .score b { font-size: 2.2rem; }
  .note blockquote { font-size: .98rem; line-height: 1.8; }
  .note.big blockquote { font-size: 1.08rem; }

  /* 다섯 칸 */
  .tour-head p { text-align: left; font-size: 1rem; }
  .tp-text h3 { font-size: 1.4rem; }
  .tp-text p { font-size: 1rem; }
  .tp-list li { align-items: flex-start; font-size: 14px; }
  .tp-list .lv { width: 34px; height: 34px; }
  .tp-list b { min-width: 3.4em; padding-top: .35rem; }
  .tp-list li > span:last-child { padding-top: .38rem; line-height: 1.5; }
  .tabs { bottom: max(10px, env(safe-area-inset-bottom)); }
  .tabs button { font-size: 12px; padding: .65rem .1rem .9rem; }
  .tabic { width: 22px; height: 22px; }
  .tabs button::after { bottom: 5px; }

  /* 분야 */
  .row-head { display: block; }

  /* 플래너 방 */
  .room2-text .room-quote { font-size: 1.25rem !important; padding-left: 1rem; }
  .room-times li { max-width: none; }

  /* 마무리 */
  .get h2 { font-size: clamp(1.9rem, 8.4vw, 2.3rem); }
}
@media (max-width: 340px) {
  .stores { grid-template-columns: 1fr; }
  .store { justify-content: center; }
}
@media (max-width: 360px) {
  .tabs button { font-size: 11px; }
  .tabic { width: 20px; height: 20px; }
}

/* ================= 모바일 첫 화면·글 줄이기 (10-10 James: 글만 잔뜩, 그림 없이 바로 다운로드) =================
   d-only = 넓은 화면 글, m-only = 폰에서 대신 보이는 짧은 글 */
.m-only { display: none !important; }
@media (max-width: 600px) {
  .d-only { display: none !important; }
  .m-only { display: revert !important; }
  p.m-only { display: block !important; }

  /* 히어로: 제목 → 그림 → 한 줄 → 버튼 */
  .hero2 { padding: 1.4rem 0 2.6rem; }
  .hero2-grid { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .hero2-text { display: contents; }
  .hero2 .kicker { order: 1; margin: 0 0 .6rem; font-size: .92rem; }
  .hero2 h1 { order: 2; margin: 0 0 1.4rem; }
  .hero2-art { order: 3; width: 100%; max-width: 460px; margin: 0 auto 1.6rem; padding: 0 0 13% 9%; display: block; }
  .hero2-art .tablet { display: block; padding: 8px; border-radius: 20px; }
  .hero2-art .tablet img { border-radius: 12px; }
  .hero2-art .tablet .cam { top: 2px; width: 4px; height: 4px; }
  .hero2-art .ph-hero { position: absolute; left: 0; bottom: 0; width: 33%; max-width: none; padding: 4px; border-radius: 22px; }
  .hero2-art .ph-hero img { border-radius: 0 0 18px 18px; }
  .hero2-art .ph-hero .sbar { height: 15px; font-size: 6px; padding: 0 9px 0 11px; border-radius: 18px 18px 0 0; }
  .hero2-art .ph-hero .island { top: 7px; height: 9px; }
  .hero2-art .ph-hero .sbar i { height: 6px; } .hero2-art .ph-hero .sbar i b { width: 2px; }
  .hero2-art .ph-hero .sbar u { width: 10px; height: 5px; margin-left: 2px; border-width: 1px; }
  .hero2 .lede { order: 4; margin: 0 0 1.2rem; font-size: 1.02rem; }
  .hero2 .stores { order: 5; }
  .hero2 .weblink { order: 6; align-self: flex-start; margin-top: .9rem; font-size: 14px; }
  .hero2 .hero-score { order: 7; margin-top: 1.2rem; padding-top: 1rem; font-size: 14px; }

  /* 후기는 넷만 먼저 */
  .notes[data-collapsed="1"] .note.mmore { display: none; }
  .notes-more { gap: .3rem; }
  /* 글·영상은 둘씩만 */
  .feed .frow > .fcard:nth-child(n+3) { display: none; }
  .tp-list { display: none; }
}
