@font-face {
  font-family: "Jua";
  src: url("assets/Jua.woff2") format("woff2");
  font-display: swap;
}

:root {
  --sky: #6cc0f0;
  --sky-deep: #4aa8e6;
  --grass: #9bcf45;
  --grass-deep: #5fa24a;
  --paper: #fff6e3;
  --paper-2: #ffecc4;
  --ink: #4a2610;
  --ink-soft: #7a5236;
  --orange: #ff7a1a;
  --red: #e5432d;
  --sun: #ffc52e;
  --white: #fffdf8;
  --display: "Jua", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --body: "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", system-ui, sans-serif;
  /* 색종이를 겹쳐 붙인 느낌의 그림자 */
  --lift: 0 2px 0 rgba(74, 38, 16, .10), 0 10px 18px -8px rgba(74, 38, 16, .35);
  --lift-sm: 0 2px 0 rgba(74, 38, 16, .12), 0 6px 10px -6px rgba(74, 38, 16, .35);
  color-scheme: light;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
/* 종이 결 */
body::before {
  content: "";
  position: fixed; inset: 0; z-index: 100; pointer-events: none;
  opacity: .22; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45  0 0 0 0 .32  0 0 0 0 .2  0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ul, ol { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
:focus-visible { outline: 4px solid var(--ink); outline-offset: 3px; border-radius: 12px; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--display); text-decoration: none; white-space: nowrap;
  color: var(--white); background: var(--orange);
  border: 0; border-radius: 999px; cursor: pointer;
  padding: 12px 22px; font-size: 18px; line-height: 1;
  box-shadow: 0 5px 0 #c9560a, var(--lift-sm);
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 7px 0 #c9560a, var(--lift-sm); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 #c9560a; }
.btn-small { padding: 9px 14px; font-size: 15px; background: var(--ink); box-shadow: 0 3px 0 #1f0f05; }
.btn-small:hover { box-shadow: 0 5px 0 #1f0f05; }
.btn-small:active { box-shadow: 0 0 0 #1f0f05; }
.btn-red { background: var(--red); box-shadow: 0 3px 0 #a52a18; }
.btn-red:hover { box-shadow: 0 5px 0 #a52a18; }
.btn-red:active { box-shadow: 0 0 0 #a52a18; }
.btn-big { padding: 18px 30px 18px 24px; font-size: clamp(21px, 2.4vw, 26px); }
.btn-ghost { background: var(--white); color: var(--ink); box-shadow: 0 5px 0 #d9c39a, var(--lift-sm); }
.btn-ghost:hover { box-shadow: 0 7px 0 #d9c39a, var(--lift-sm); }
.btn-ghost:active { box-shadow: 0 1px 0 #d9c39a; }

/* ---------- 상단 바 ---------- */
.bar {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 8px max(16px, calc((100% - 1120px) / 2));
  background: var(--paper);
  box-shadow: 0 2px 0 rgba(74, 38, 16, .12), 0 8px 14px -10px rgba(74, 38, 16, .5);
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-size: 24px; line-height: 1; color: var(--ink); }
.brand img { border-radius: 50%; box-shadow: 0 0 0 3px var(--white), var(--lift-sm); }
.bar-links { display: flex; align-items: center; gap: 6px; font-family: var(--display); font-size: 17px; }
.bar-links > a:not(.btn) { text-decoration: none; padding: 10px 12px; border-radius: 999px; }
.bar-links > a:not(.btn):hover { background: var(--paper-2); }
[hidden] { display: none !important; }

/* ---------- 첫 화면 ---------- */
.hero { position: relative; background: var(--sky); overflow: hidden; isolation: isolate; }
.scene { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.scene .paper { filter: drop-shadow(0 -3px 0 rgba(40, 60, 20, .10)) drop-shadow(0 -6px 6px rgba(40, 60, 20, .12)); }
.scene .sun { transform: translate(150px, 120px); }
.scene .rays { transform-origin: 0 0; animation: spin 60s linear infinite; }
.scene .cloud { animation: drift 16s ease-in-out infinite alternate; }
.scene .c2 { animation-duration: 22s; animation-direction: alternate-reverse; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes drift { from { transform: translateX(-18px); } to { transform: translateX(22px); } }

.hero-in {
  width: min(1120px, 100% - 32px); margin-inline: auto;
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: end; gap: 12px;
  min-height: clamp(460px, 66vh, 640px);
  padding-top: 40px;
}
.hero-text { align-self: center; padding-bottom: 72px; }
.eyebrow {
  display: inline-block; font-family: var(--display); font-size: clamp(17px, 2vw, 21px); line-height: 1;
  color: var(--ink); background: var(--white); padding: 9px 16px; border-radius: 999px;
  box-shadow: var(--lift-sm); transform: rotate(-2deg);
}
.logo {
  font-family: var(--display); font-weight: 400;
  font-size: clamp(68px, 13vw, 148px); line-height: 1.02; letter-spacing: .01em;
  color: var(--white);
  -webkit-text-stroke: clamp(10px, 1.6vw, 18px) var(--ink); paint-order: stroke fill;
  text-shadow: 0 clamp(5px, .8vw, 9px) 0 var(--ink);
  margin: 14px 0 10px -4px;
}
.lead {
  font-family: var(--display); font-size: clamp(20px, 2.5vw, 28px); line-height: 1.4; color: var(--white);
  -webkit-text-stroke: 4px var(--ink); paint-order: stroke fill; letter-spacing: .03em;
  margin-bottom: 26px;
}
.hero-cast { position: relative; display: flex; align-items: flex-end; justify-content: center; align-self: end; padding-bottom: 34px; }
.hero-cast img { filter: drop-shadow(0 8px 6px rgba(40, 60, 20, .3)); transform-origin: 50% 100%; }
.hero-cast .hana { width: min(46%, 250px); animation: bob 3.2s ease-in-out infinite; }
.hero-cast .churro { width: min(52%, 290px); margin-left: -4%; animation: bob 2.4s ease-in-out -.8s infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-9px) rotate(1.5deg); } }

/* ---------- 영상 ---------- */
.watch { background: var(--grass); padding: 0 0 64px; position: relative; }
.player-card {
  position: relative; z-index: 2; margin-top: -30px;
  background: var(--white); border-radius: 30px; padding: clamp(10px, 1.6vw, 18px);
  box-shadow: var(--lift), 0 0 0 1px rgba(74, 38, 16, .06);
}
.player {
  position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden;
  background: var(--sky); isolation: isolate;
}
.player iframe, .player > .yt { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.poster { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: pointer; display: block; }
.poster[disabled] { cursor: default; }
.poster > img.full { width: 100%; height: 100%; object-fit: cover; }
.poster .stage { position: absolute; inset: 0; display: grid; place-items: center; background: var(--tint, var(--sky)); }
.poster .stage::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 26%; background: var(--grass-deep); border-radius: 60% 60% 0 0 / 40% 40% 0 0; }
.poster .stage img { position: relative; z-index: 1; width: 62%; filter: drop-shadow(0 10px 8px rgba(40, 60, 20, .3)); }
.play {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 3;
  width: clamp(84px, 13vw, 132px); aspect-ratio: 1; border-radius: 50%;
  display: grid; place-items: center; color: var(--white); background: var(--red);
  box-shadow: 0 0 0 clamp(6px, 1vw, 10px) var(--white), 0 8px 0 clamp(6px, 1vw, 10px) rgba(74, 38, 16, .25);
  transition: scale .15s ease;
}
.play svg { width: 52%; height: 52%; margin-left: 6%; }
.poster:hover .play { scale: 1.08; }
.poster:active .play { scale: .96; }
.soon {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; z-index: 3; rotate: -4deg;
  font-family: var(--display); font-size: clamp(24px, 4.6vw, 46px); line-height: 1; color: var(--white);
  background: var(--orange); padding: .5em .9em; border-radius: 22px; white-space: nowrap;
  box-shadow: 0 0 0 clamp(5px, .8vw, 8px) var(--white), var(--lift);
}

/* 영상이 끝난 뒤 */
.end { position: absolute; inset: 0; z-index: 4; display: grid; place-items: center; align-content: center; gap: clamp(8px, 2vw, 20px); text-align: center; background: var(--sun); padding: 16px; }
.end p { font-family: var(--display); font-size: clamp(22px, 4vw, 40px); line-height: 1.2; }
.end .row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.end .stamp { position: static; width: clamp(84px, 16vw, 150px); animation: thump .5s cubic-bezier(.2, 1.6, .4, 1) both; }

.now { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; padding: 16px 8px 6px; }
.now-no { font-family: var(--display); color: var(--orange); font-size: 17px; line-height: 1.2; }
.now h2 { font-family: var(--display); font-weight: 400; font-size: clamp(22px, 3vw, 32px); line-height: 1.25; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font-family: var(--display); font-size: 15px; line-height: 1; padding: 8px 12px; border-radius: 999px; background: var(--paper-2); }
.chips li b { font-weight: 400; color: var(--ink-soft); margin-right: 5px; }

/* ---------- 도감 ---------- */
.book { background: var(--paper); padding: 56px 0 72px; position: relative; }
.book::before, .parents::before {
  content: ""; position: absolute; left: 0; right: 0; top: -22px; height: 24px;
  background: radial-gradient(circle at 20px 26px, var(--paper) 21px, transparent 22px) 0 0 / 40px 24px repeat-x;
}
.book-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 24px; margin-bottom: 28px; }
.title { font-family: var(--display); font-weight: 400; font-size: clamp(34px, 5vw, 52px); line-height: 1.1; }
.sub { color: var(--ink-soft); margin-top: 6px; max-width: 46ch; }
.tally { font-family: var(--display); font-size: 18px; line-height: 1; background: var(--white); padding: 12px 18px; border-radius: 999px; box-shadow: var(--lift-sm); transform: rotate(1.5deg); }
.tally b { font-weight: 400; color: var(--red); font-size: 24px; }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 26px 22px; }
.card {
  position: relative; display: block; width: 100%; text-align: left; font: inherit; color: inherit;
  background: var(--white); border: 0; border-radius: 24px; padding: 10px 10px 16px;
  box-shadow: var(--lift); cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
}
.grid li:nth-child(3n + 1) .card { rotate: -1.2deg; }
.grid li:nth-child(3n + 2) .card { rotate: .8deg; }
.grid li:nth-child(3n) .card { rotate: -.4deg; }
.card:hover { transform: translateY(-5px) rotate(.6deg); }
.card[disabled] { cursor: default; }
.card[disabled]:hover { transform: none; }
.card[aria-current="true"] { box-shadow: 0 0 0 5px var(--orange), var(--lift); }
.pic { position: relative; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; background: var(--tint, var(--sky)); display: grid; place-items: center; }
.pic::after { content: ""; position: absolute; left: -5%; right: -5%; bottom: 0; height: 30%; background: var(--grass-deep); border-radius: 60% 60% 0 0 / 55% 55% 0 0; opacity: .9; }
.pic img { position: relative; z-index: 1; width: 86%; max-height: 92%; object-fit: contain; filter: drop-shadow(0 6px 5px rgba(40, 60, 20, .28)); }
.pic img.full { width: 100%; height: 100%; max-height: none; object-fit: cover; filter: none; }
.pic.thumb::after { display: none; }
.card .no { position: absolute; z-index: 2; left: 18px; top: 18px; font-family: var(--display); font-size: 15px; line-height: 1; background: var(--white); padding: 7px 11px; border-radius: 999px; box-shadow: var(--lift-sm); }
.card h3 { font-family: var(--display); font-weight: 400; font-size: 23px; line-height: 1.2; margin: 14px 6px 2px; }
.card p { margin: 0 6px; color: var(--ink-soft); font-size: 15.5px; line-height: 1.45; }
.card .meta { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 6px 0; font-family: var(--display); font-size: 13.5px; line-height: 1; }
.card .meta span { background: var(--paper-2); padding: 6px 9px; border-radius: 999px; }
.card .meta .go { background: var(--red); color: var(--white); }
.card .meta .wait { background: transparent; box-shadow: inset 0 0 0 2px #e6cf9f; color: var(--ink-soft); }

/* "봤어요" 도장 */
.stamp { position: absolute; z-index: 3; right: -8px; top: -12px; width: 82px; aspect-ratio: 1; rotate: 12deg; pointer-events: none; }
.stamp.new { animation: thump .5s cubic-bezier(.2, 1.6, .4, 1) both; }
@keyframes thump { from { scale: 2.4; opacity: 0; } 60% { opacity: 1; } to { scale: 1; opacity: 1; } }

/* ---------- 하나와 츄로 ---------- */
.cast { background: var(--paper); padding: 0 0 72px; }
.cast-in { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 22px; }
.who { display: grid; grid-template-columns: 120px 1fr; align-items: center; gap: 18px; padding: 18px 22px 18px 18px; border-radius: 28px; box-shadow: var(--lift); }
.who-hana { background: #ffe1c7; rotate: -.6deg; }
.who-churro { background: #cfe9f9; rotate: .6deg; }
.who img { max-height: 170px; width: auto; margin-inline: auto; filter: drop-shadow(0 6px 5px rgba(74, 38, 16, .25)); }
.who h3 { font-family: var(--display); font-weight: 400; font-size: 30px; line-height: 1.1; margin-bottom: 4px; }

/* ---------- 부모님께 ---------- */
.parents { position: relative; background: #ffe9b8; padding: 56px 0 76px; }
.parents::before { background-image: radial-gradient(circle at 20px 26px, #ffe9b8 21px, transparent 22px); }
.promises { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 20px; margin-top: 28px; }
.promises li { position: relative; background: var(--white); border-radius: 24px; padding: 22px 22px 24px; box-shadow: var(--lift); }
.promises .dot { display: block; width: 34px; height: 34px; border-radius: 50%; background: var(--c); margin-bottom: 14px; box-shadow: var(--lift-sm); }
.promises h3 { font-family: var(--display); font-weight: 400; font-size: 23px; line-height: 1.2; margin-bottom: 6px; }
.promises p { font-size: 16px; color: var(--ink-soft); }

/* ---------- 바닥 ---------- */
.foot { background: var(--ink); color: #f6e3c4; padding: 30px 0 calc(30px + env(safe-area-inset-bottom)); font-size: 15px; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.foot .brand { color: var(--white); font-size: 20px; }
.foot-links { display: flex; gap: 18px; font-family: var(--display); font-size: 17px; }

/* ---------- 주제(카테고리) ---------- */
.cats { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin-bottom: 26px; }
.cat-chip {
  display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 21px; line-height: 1; color: var(--ink);
  background: var(--white); border: 0; border-radius: 999px; padding: 7px 20px 7px 7px; cursor: pointer; box-shadow: var(--lift-sm);
}
.cat-chip img { width: 54px; height: 54px; object-fit: contain; border-radius: 50%; background: #bfe6fb; padding: 5px; }
.cat-chip small { font-family: var(--body); font-size: 14px; color: var(--ink-soft); }
.cat-chip[aria-pressed="true"] { background: var(--orange); color: var(--white); box-shadow: 0 4px 0 #c9560a, var(--lift-sm); }
.cat-chip[aria-pressed="true"] small { color: var(--white); }
.cat-all { font-family: var(--display); font-size: 17px; text-underline-offset: 4px; margin-left: 6px; }
.card.is-soon { cursor: default; }
.card.is-soon:hover { transform: none; }
.cat-head h1 { font-size: clamp(40px, 6vw, 68px); }
.cat-head .date { font-size: 17px; max-width: 34ch; }
.cat-book { padding-top: 44px; }
.blog-group { margin-top: 40px; }
.blog-group h2 { font-family: var(--display); font-weight: 400; font-size: clamp(26px, 3.6vw, 34px); line-height: 1.2; }
.blog-group h2 a { text-decoration: none; }
.blog-group h2 small { font-family: var(--body); font-size: 15px; color: var(--ink-soft); margin-left: 6px; }
.blog-group .post-list { margin-top: 18px; }

/* ---------- 홈: 글로 가는 링크 ---------- */a.card { text-decoration: none; }
.card .meta .read { background: var(--sky-deep); color: var(--white); }
.read-link, .now-read { font-family: var(--display); font-size: 16px; text-underline-offset: 4px; }
.read-link { display: inline-block; margin: 12px 0 0 10px; }
.now-read { flex-basis: 100%; }

/* ---------- 공룡 이야기 (글) ---------- */
.sub-page main { min-height: 60vh; }
.post-head { background: var(--tint, var(--sky)); position: relative; overflow: hidden; }
.post-head::after { content: ""; position: absolute; left: -5%; right: -5%; bottom: 0; height: 70px; background: var(--grass-deep); border-radius: 50% 50% 0 0 / 100% 100% 0 0; }
.post-head-in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 24px; padding: 44px 0 30px; }
.crumbs { font-family: var(--display); font-size: 16px; color: var(--ink-soft); }
.crumbs a { text-underline-offset: 4px; }
.post-head h1 { font-family: var(--display); font-weight: 400; font-size: clamp(30px, 4.4vw, 50px); line-height: 1.22; margin: 10px 0 12px; text-wrap: balance; }
.post-head .date { font-size: 15px; color: var(--ink-soft); padding-bottom: 46px; }
.post-dino { align-self: end; width: 100%; max-height: 340px; object-fit: contain; object-position: bottom; filter: drop-shadow(0 10px 8px rgba(40, 60, 20, .3)); }

.post-body { max-width: 760px; padding: 40px 0 80px; }
.post-body > section, .post-body > aside { margin-top: 48px; }
.post-body h2 { font-family: var(--display); font-weight: 400; font-size: clamp(25px, 3.4vw, 32px); line-height: 1.25; margin-bottom: 18px; }
.lede p { font-size: 18.5px; }
.lede p + p { margin-top: 14px; }

/* 도감 카드 */
.card-book { background: var(--white); border-radius: 28px; padding: 24px clamp(18px, 3vw, 30px) 26px; box-shadow: var(--lift); rotate: -.5deg; }
.card-book h2 { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin-bottom: 14px; }
.card-book h2 span { font-size: 15px; line-height: 1; color: var(--white); background: var(--orange); padding: 7px 12px; border-radius: 999px; align-self: center; }
.card-book h2 small { font-family: var(--body); font-size: 15px; color: var(--ink-soft); }
.card-book dl { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 0 28px; }
.card-book dl div { display: grid; grid-template-columns: 5.4em 1fr; gap: 10px; padding: 10px 0; border-bottom: 2px dashed #ecd9b2; }
.card-book dt { font-family: var(--display); color: var(--ink-soft); }
.card-book dd { margin: 0; }
.feats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.feats li { font-family: var(--display); font-size: 16px; line-height: 1; padding: 9px 13px; border-radius: 999px; background: var(--paper-2); }

.post-video .player { border-radius: 20px; box-shadow: var(--lift); }
.hint { margin-top: 12px; color: var(--ink-soft); font-size: 16px; }
.post-soon { display: flex; align-items: center; gap: 16px; background: #cfe9f9; border-radius: 24px; padding: 16px 22px; box-shadow: var(--lift-sm); }
.post-soon img { width: 96px; flex: none; }

/* 하나가 묻고 츄로가 답해요 */
.qa + .qa { margin-top: 26px; }
.qa img { width: 52px; height: 52px; border-radius: 50%; flex: none; box-shadow: 0 0 0 3px var(--white), var(--lift-sm); }
.qa .q { display: flex; align-items: center; gap: 12px; }
.qa .q span { font-family: var(--display); font-size: 21px; line-height: 1.3; background: #ffe1c7; padding: 11px 18px; border-radius: 6px 22px 22px 22px; box-shadow: var(--lift-sm); }
.qa .a { display: flex; flex-direction: row-reverse; align-items: flex-start; gap: 12px; margin-top: 12px; }
.qa .a > div { background: var(--white); padding: 14px 18px; border-radius: 22px 6px 22px 22px; box-shadow: var(--lift-sm); flex: 1; }
.rivals li + li { margin-top: 12px; }
.tag { display: inline-block; font-family: var(--display); font-size: 13px; line-height: 1; padding: 5px 8px; border-radius: 999px; background: var(--paper-2); margin-left: 4px; vertical-align: 2px; }
.tag-ev { background: transparent; box-shadow: inset 0 0 0 2px #e6cf9f; color: var(--ink-soft); }

.wow { display: grid; gap: 12px; counter-reset: wow; }
.wow li { counter-increment: wow; position: relative; background: var(--white); border-radius: 20px; padding: 14px 18px 14px 62px; box-shadow: var(--lift-sm); }
.wow li::before { content: counter(wow); position: absolute; left: 16px; top: 50%; translate: 0 -50%; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font-family: var(--display); color: var(--ink); background: var(--sun); }
.dots li { position: relative; padding-left: 22px; }
.dots li + li { margin-top: 8px; }
.dots li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 10px; height: 10px; border-radius: 50%; background: var(--orange); }
.story { background: #d6efc0; border-radius: 28px; padding: 26px clamp(18px, 3vw, 30px); box-shadow: var(--lift); rotate: .4deg; }
.story p { font-size: 19px; line-height: 1.85; }
.quiz { list-style: none; counter-reset: quiz; display: grid; gap: 14px; }
.quiz li { counter-increment: quiz; background: var(--white); border-radius: 20px; padding: 16px 18px; box-shadow: var(--lift-sm); }
.quiz li > p:first-child { font-family: var(--display); font-size: 19px; line-height: 1.35; }
.quiz li > p:first-child::before { content: "Q" counter(quiz) ". "; color: var(--orange); }
.quiz .choices { color: var(--ink-soft); margin: 4px 0 8px; }
.quiz summary { cursor: pointer; font-family: var(--display); width: fit-content; padding: 7px 12px; border-radius: 999px; background: var(--paper-2); }
.quiz details p { margin-top: 8px; font-family: var(--display); font-size: 19px; color: var(--grass-deep); }
.note { background: #ffe9b8; border-radius: 28px; padding: 26px clamp(18px, 3vw, 30px); }
.sources { font-size: 14.5px; color: var(--ink-soft); }
.sources h2 { font-size: 20px; margin-bottom: 8px; }
.sources li { overflow-wrap: anywhere; }
.share { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 44px; }
.more ul, .post-list { display: grid; gap: 16px; }
.more ul { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.mini { display: block; text-decoration: none; background: var(--white); border-radius: 18px; padding: 8px 8px 12px; box-shadow: var(--lift-sm); font-family: var(--display); text-align: center; }
.mini .pic { margin-bottom: 8px; border-radius: 12px; }

/* 글 목록 */
.blog { padding: 48px 0 80px; }
.post-list { margin-top: 28px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 460px), 1fr)); gap: 22px; }
.post-card { display: grid; grid-template-columns: 170px 1fr; gap: 16px; align-items: center; text-decoration: none; background: var(--white); border-radius: 24px; padding: 12px; box-shadow: var(--lift); transition: transform .15s ease; }
.post-card:hover { transform: translateY(-4px); }
.post-card .txt { display: grid; gap: 6px; }
.post-card b { font-family: var(--display); font-weight: 400; font-size: 20px; line-height: 1.3; }
.post-card .txt span { font-size: 14.5px; line-height: 1.5; color: var(--ink-soft); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-card time { font-family: var(--display); font-size: 13.5px; color: var(--ink-soft); }

@media (max-width: 760px) {
  .post-head-in { grid-template-columns: 1fr; padding-top: 28px; gap: 8px; }
  .post-head .date { padding-bottom: 0; }
  .post-dino { max-height: 220px; margin-bottom: 14px; }
  .post-body { padding-top: 28px; }
  .lede p { font-size: 17px; }
  .qa img { width: 42px; height: 42px; }
  .qa .q span { font-size: 18px; }
  .story p { font-size: 17.5px; }
  .post-card { grid-template-columns: 112px 1fr; }
  .post-card b { font-size: 17px; }
}

/* ---------- 작은 화면 ---------- */
@media (max-width: 760px) {
  body { font-size: 16px; }
  .bar-links > a:not(.btn) { display: none; }
  .brand { font-size: 21px; }
  .hero-in { grid-template-columns: 1fr; min-height: 0; padding-top: 28px; text-align: center; }
  .hero-text { padding-bottom: 0; }
  .logo { margin-left: 0; }
  .lead { margin-bottom: 20px; }
  .hero-cast { padding: 6px 0 40px; }
  .hero-cast .hana { width: 34%; }
  .hero-cast .churro { width: 40%; }
  .player-card { border-radius: 22px; margin-top: -24px; }
  .player { border-radius: 14px; }
  .who { grid-template-columns: 92px 1fr; padding: 16px; }
  /* 휴대폰에서는 카드 두 장씩 */
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
  .card { border-radius: 18px; padding: 7px 7px 12px; }
  .pic { border-radius: 12px; }
  .card .no { left: 12px; top: 12px; font-size: 13px; padding: 5px 8px; }
  .card h3 { font-size: 18px; margin: 10px 4px 2px; }
  .card p { font-size: 13.5px; margin: 0 4px; }
  .card .meta { margin: 8px 4px 0; font-size: 12px; gap: 4px; }
  .card .meta span { padding: 5px 7px; }
  .stamp { width: 60px; right: -6px; top: -10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
