/* ============================================================
   FireLab 레시피 — 공용 디자인 시스템
   레시피를 추가할 때 이 파일을 고칠 일은 없습니다.
   규격은 ../../GUIDE.md 참고.
   ============================================================ */

/* ---------- 1. 토큰 ---------- */
:root {
  --brand:      #C2410C;
  --brand-2:    #B45309;
  --brand-soft: #FBEADF;
  --brand-ink:  #7C2D12;

  --bg:      #FDF8F1;
  --bg2:     #F5EBDD;
  --surface: #FFFFFF;
  --surface-2:#FFFBF5;
  --ink:     #241A12;
  --ink-2:   #4A3A2C;
  --muted:   #8A7663;
  --line:    #EBDDCA;
  --line-2:  #DBC7AC;

  --shadow:      0 1px 0 rgba(60,40,20,.05), 0 12px 30px -18px rgba(60,40,20,.42);
  --shadow-lift: 0 3px 0 rgba(60,40,20,.06), 0 30px 56px -24px rgba(60,40,20,.5);

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 34px;

  --maxw: 1140px;
  --maxw-read: 780px;

  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont,
          "Apple SD Gothic Neo", "Noto Sans KR", system-ui, sans-serif;
  --font-display: "Gowun Batang", "Nanum Myeongjo", "Apple SD Gothic Neo", var(--font);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --brand:      #FB923C;
    --brand-2:    #F59E0B;
    --brand-soft: #33230F;
    --brand-ink:  #FDBA74;
    --bg:      #14100C;
    --bg2:     #1A1510;
    --surface: #201A14;
    --surface-2:#251E17;
    --ink:     #F6EEE3;
    --ink-2:   #DCCDBA;
    --muted:   #A08D78;
    --line:    #2F2619;
    --line-2:  #453727;
    --shadow:      0 1px 0 rgba(0,0,0,.34), 0 14px 32px -18px rgba(0,0,0,.85);
    --shadow-lift: 0 3px 0 rgba(0,0,0,.38), 0 32px 60px -24px rgba(0,0,0,.95);
  }
}
:root[data-theme="dark"] {
  --brand:#FB923C; --brand-2:#F59E0B; --brand-soft:#33230F; --brand-ink:#FDBA74;
  --bg:#14100C; --bg2:#1A1510; --surface:#201A14; --surface-2:#251E17;
  --ink:#F6EEE3; --ink-2:#DCCDBA; --muted:#A08D78;
  --line:#2F2619; --line-2:#453727;
  --shadow:0 1px 0 rgba(0,0,0,.34), 0 14px 32px -18px rgba(0,0,0,.85);
  --shadow-lift:0 3px 0 rgba(0,0,0,.38), 0 32px 60px -24px rgba(0,0,0,.95);
}

/* ---------- 2. 리셋 ---------- */
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

/* hidden 속성은 브라우저 기본 스타일(=가장 낮은 우선순위)로 display:none 이 된다.
   그래서 .card { display: flex } 같은 선언 하나에 눌려 무력해진다 — 검색·카테고리
   필터가 카드에 hidden 을 붙여도 화면에서 사라지지 않았다. 여기서 못을 박는다. */
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.68;
  letter-spacing: -0.011em;
  overflow-x: hidden;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  opacity: .5; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.05'/%3E%3C/svg%3E");
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) body::before { mix-blend-mode: screen; opacity: .3; } }
:root[data-theme="dark"] body::before { mix-blend-mode: screen; opacity: .3; }

img, svg { max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.28; letter-spacing: -0.03em; word-break: keep-all; }
p { margin: 0; word-break: keep-all; }
ul, ol { margin: 0; padding: 0; list-style: none; }

/* 배경 온기 */
.aurora {
  position: fixed; inset: -22% -12% auto -12%; height: 66vh; z-index: 0;
  pointer-events: none; filter: blur(88px); opacity: .3;
}
.aurora i {
  position: absolute; display: block; border-radius: 50%;
}
.aurora i:nth-child(1) { width: 46vw; height: 46vw; left: 2%;  top: 4%;  background: #F59E0B; opacity: .5; }
.aurora i:nth-child(2) { width: 40vw; height: 40vw; right: 4%; top: 0;   background: #EF4444; opacity: .34; }
.aurora i:nth-child(3) { width: 34vw; height: 34vw; left: 38%; top: 24%; background: #A3A233; opacity: .14; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .aurora { opacity: .26; } }
:root[data-theme="dark"] .aurora { opacity: .26; }

/* ---------- 3. 헤더 ---------- */
.topbar {
  position: relative; z-index: 5;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  max-width: var(--maxw); margin: 0 auto; padding: 16px 20px;
}
.brand {
  display: inline-flex; align-items: center; gap: 9px;
  font-weight: 800; font-size: 1rem; text-decoration: none; letter-spacing: -0.02em;
}
.brand .mark {
  width: 28px; height: 28px; border-radius: 9px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff; font-size: .8rem; font-weight: 900;
  box-shadow: 0 6px 14px -6px var(--brand);
}
.brand b { color: var(--brand); }
.topnav {
  display: flex; align-items: center; gap: 4px;
  min-width: 0; overflow-x: auto; scrollbar-width: none; -ms-overflow-style: none;
}
.topnav::-webkit-scrollbar { display: none; }
.topnav a {
  color: var(--muted); text-decoration: none; font-size: .87rem; font-weight: 600;
  padding: 7px 10px; border-radius: 10px; white-space: nowrap; flex: none;
}
.topnav a:hover { color: var(--ink); background: var(--bg2); }
.topnav a.on { color: var(--brand); background: var(--brand-soft); }
@media (max-width: 620px) {
  .topbar { flex-wrap: nowrap; padding: 14px 16px; gap: 8px; }
  .topnav a { padding: 6px 8px; font-size: .8rem; }
}
.icon-btn {
  width: 36px; height: 36px; flex: none; display: grid; place-items: center;
  position: sticky; right: 0;
  border: 1px solid var(--line); background: var(--surface); border-radius: 11px;
  cursor: pointer; font-size: .95rem; line-height: 1;
}
.icon-btn:hover { border-color: var(--line-2); }

/* ---------- 4. 레이아웃 ---------- */
.wrap { position: relative; z-index: 1; max-width: var(--maxw); margin: 0 auto; padding: 0 20px 72px; }
.section { margin-top: 56px; }
.section-title { display: flex; align-items: baseline; gap: 12px; margin: 0 0 18px; flex-wrap: wrap; }
.section-title h2 { font-family: var(--font-display); font-size: 1.42rem; font-weight: 700; }
.section-title span { font-size: .85rem; color: var(--muted); }

/* ---------- 5. 공통 조각 ---------- */
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .78rem; font-weight: 700; letter-spacing: .01em;
  color: var(--brand-ink); background: var(--brand-soft);
  border: 1px solid color-mix(in srgb, var(--brand) 22%, transparent);
  padding: 6px 13px; border-radius: 999px;
}
.kicker .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; text-decoration: none; cursor: pointer;
  font-weight: 700; font-size: .92rem; border: 1px solid transparent;
  background: var(--ink); color: var(--bg);
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-brand { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; }

.chip {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: .76rem; font-weight: 600; color: var(--muted);
  background: var(--bg2); border: 1px solid var(--line);
  padding: 4px 10px; border-radius: 999px;
}

/* ---------- 6. 히어로 (목록) ---------- */
.hero { padding: 34px 0 6px; max-width: 760px; }
.hero h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.3rem, 6.4vw, 3.7rem); margin: 18px 0 16px;
}
.hero h1 .grad {
  background: linear-gradient(120deg, var(--brand), var(--brand-2) 70%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p { color: var(--ink-2); font-size: clamp(.98rem, 2.4vw, 1.08rem); }
.hero .stats { display: flex; gap: 22px; margin-top: 22px; flex-wrap: wrap; }
.hero .stats div { display: flex; align-items: baseline; gap: 7px; }
.hero .stats b { font-family: var(--font-display); font-size: 1.5rem; color: var(--brand); font-weight: 700; }
.hero .stats span { font-size: .82rem; color: var(--muted); }

/* ---------- 7. 소개 카드 ---------- */
.intro { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 820px) { .intro { grid-template-columns: 1fr; } }
.intro .it {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 20px; border-radius: var(--r-md);
  background: var(--surface); border: 1px solid var(--line);
}
.intro .it .e {
  flex: none; width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center;
  background: var(--brand-soft); font-size: 1.2rem;
}
.intro .it b { display: block; font-size: .96rem; font-weight: 800; margin-bottom: 4px; }
.intro .it span { font-size: .87rem; color: var(--muted); line-height: 1.62; }

/* ---------- 8. 검색 & 필터 ---------- */
.toolbar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 18px; }
/* 검색은 엔터나 '검색' 버튼을 눌렀을 때만 걸린다. 둘은 한 덩어리로 붙어 다녀야
   하므로 함께 감싸 두고, 줄바꿈도 이 덩어리 단위로 일어나게 한다. */
.searchbar { display: flex; gap: 8px; align-items: center; flex: 1 1 300px; max-width: 470px; }
.search { position: relative; flex: 1 1 auto; min-width: 0; }
/* 카드 안의 '레시피 보기' 도 .go 다. 여기서 범위를 안 좁히면 그쪽이
   주황 배경에 주황 글씨가 돼 글자가 사라진다. */
.searchbar .go {
  flex: 0 0 auto; border: 1px solid var(--brand); background: var(--brand); color: #fff;
  padding: 12px 20px; border-radius: 999px; cursor: pointer;
  font: inherit; font-size: .9rem; font-weight: 700; white-space: nowrap;
  box-shadow: var(--shadow);
}
.searchbar .go:hover { filter: brightness(1.06); }
.searchbar .go:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.search input {
  width: 100%; padding: 12px 40px 12px 42px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  font: inherit; font-size: .92rem; box-shadow: var(--shadow);
}
.search input::placeholder { color: var(--muted); }
.search input:focus { outline: none; border-color: var(--brand); }
.search .ic { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); opacity: .5; font-size: .95rem; }
/* 브라우저가 type=search 에 붙이는 취소 버튼을 끈다. 우리 .clr 과 겹쳐 X 가 두 개로 보인다. */
.search input::-webkit-search-cancel-button,
.search input::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }
.search .clr { position: absolute; right: 6px; top: 50%; transform: translateY(-50%); border: none; background: none; cursor: pointer; opacity: .5; padding: 8px; }
.filters { display: flex; gap: 7px; flex-wrap: wrap; }
.filters button {
  border: 1px solid var(--line); background: var(--surface); color: var(--muted);
  padding: 8px 14px; border-radius: 999px; cursor: pointer; font-size: .83rem; font-weight: 600;
}
.filters button:hover { border-color: var(--line-2); color: var(--ink); }
.filters button[aria-pressed="true"] {
  background: var(--ink); border-color: var(--ink); color: var(--bg);
}

/* ---------- 9. 레시피 카드 ---------- */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
@media (max-width: 900px) { .grid { grid-template-columns: repeat(2, 1fr); gap: 16px; } }
@media (max-width: 580px) { .grid { grid-template-columns: 1fr; } }

.card {
  display: flex; flex-direction: column; text-decoration: none; color: inherit;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow);
  transition: transform .22s cubic-bezier(.2,.8,.3,1), box-shadow .22s ease, border-color .22s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lift); border-color: var(--line-2); }
.card .thumb {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  background: linear-gradient(140deg, var(--c1, #C2410C), var(--c2, #92400E));
}
.card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s cubic-bezier(.2,.8,.3,1); }
.card:hover .thumb img { transform: scale(1.045); }
.card .badge {
  position: absolute; left: 12px; top: 12px; z-index: 2;
  background: rgba(255,255,255,.92); color: #3B2412; backdrop-filter: blur(6px);
  font-size: .72rem; font-weight: 800; padding: 5px 11px; border-radius: 999px;
  box-shadow: 0 6px 16px -8px rgba(0,0,0,.6);
}
.card .body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.card .body h3 { font-family: var(--font-display); font-size: 1.24rem; font-weight: 700; }
.card .sub { font-size: .78rem; font-weight: 700; color: var(--brand); letter-spacing: -.01em; margin-top: -4px; }
.card .desc {
  font-size: .875rem; color: var(--muted); line-height: 1.62;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.card .meta { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 6px; }

.card.feature { grid-column: 1 / -1; flex-direction: row; }
.card.feature .thumb { flex: 0 0 46%; aspect-ratio: auto; min-height: 340px; }
.card.feature .body { justify-content: center; padding: 34px 38px; gap: 12px; }
.card.feature .body h3 { font-size: 1.9rem; }
.card.feature .desc { font-size: .96rem; -webkit-line-clamp: 4; max-width: 46ch; }
.card.feature .sub { font-size: .84rem; }
.card.feature .meta { margin-top: 8px; }
.card.feature .go {
  display: inline-flex; align-items: center; gap: 7px; margin-top: 10px;
  font-size: .88rem; font-weight: 800; color: var(--brand);
}
.card.feature:hover .go { gap: 11px; }
@media (max-width: 780px) {
  .card.feature { flex-direction: column; }
  .card.feature .thumb { flex: none; aspect-ratio: 4 / 3; min-height: 0; width: 100%; }
  .card.feature .body { padding: 20px 22px 22px; }
  .card.feature .body h3 { font-size: 1.4rem; }
}

.empty { text-align: center; padding: 56px 0; color: var(--muted); }
.empty .e { font-size: 2.2rem; display: block; margin-bottom: 10px; }

/* ---------- 10. 상세 ---------- */
.crumb { display: flex; align-items: center; gap: 7px; font-size: .82rem; color: var(--muted); padding: 8px 0 0; }
.crumb a { text-decoration: none; }
.crumb a:hover { color: var(--brand); }

.r-head { padding: 22px 0 0; max-width: 820px; }
.r-head h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(2.2rem, 6.2vw, 3.4rem); margin: 16px 0 10px;
}
.r-head .r-sub { font-size: 1rem; font-weight: 700; color: var(--brand); margin-bottom: 16px; }
.r-head .lead { font-size: clamp(1rem, 2.4vw, 1.1rem); color: var(--ink-2); line-height: 1.78; }
.r-head .tags { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 20px; }

.r-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  margin: 28px 0 0; background: var(--line);
  border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden;
}
@media (max-width: 620px) { .r-stats { grid-template-columns: repeat(2, 1fr); } }
.r-stats div { background: var(--surface); padding: 16px 18px; }
.r-stats dt { font-size: .74rem; color: var(--muted); font-weight: 600; margin-bottom: 3px; }
.r-stats dd { margin: 0; font-size: 1.02rem; font-weight: 800; }
.r-stats dd small { display: block; font-size: .72rem; color: var(--muted); font-weight: 600; margin-top: 1px; }

.r-hero {
  margin: 32px 0 0; border-radius: var(--r-xl); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-lift);
  background: linear-gradient(140deg, var(--c1, #C2410C), var(--c2, #92400E));
  aspect-ratio: 16 / 10;
}
@media (max-width: 640px) { .r-hero { aspect-ratio: 4 / 3; border-radius: var(--r-lg); } }
.r-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.r-credit { font-size: .74rem; color: var(--muted); text-align: right; margin-top: 8px; }

.r-body {
  display: grid; grid-template-columns: 360px minmax(0, 1fr); gap: 40px;
  align-items: start; margin-top: 48px;
}
@media (max-width: 940px) { .r-body { grid-template-columns: 1fr; gap: 34px; } }

/* 재료 패널 */
.panel {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden;
}
.side { position: sticky; top: 20px; }
@media (max-width: 940px) { .side { position: static; } }
.panel .p-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 18px 20px 14px; border-bottom: 1px solid var(--line);
}
.panel .p-head h2 { font-family: var(--font-display); font-size: 1.24rem; font-weight: 700; }
.scaler { display: flex; gap: 2px; background: var(--bg2); border-radius: 999px; padding: 3px; }
.scaler button {
  border: none; background: none; cursor: pointer; font-size: .78rem; font-weight: 700;
  padding: 5px 11px; border-radius: 999px; color: var(--muted); line-height: 1;
}
.scaler button[aria-pressed="true"] { background: var(--surface); color: var(--brand); box-shadow: var(--shadow); }

.ing-group { padding: 16px 20px 4px; }
.ing-group + .ing-group { border-top: 1px dashed var(--line); }
.ing-group h3 {
  font-size: .76rem; font-weight: 800; color: var(--brand); letter-spacing: .04em;
  text-transform: uppercase; margin-bottom: 8px;
}
.ing {
  display: flex; align-items: baseline; gap: 10px; padding: 9px 0;
  border-bottom: 1px dotted color-mix(in srgb, var(--line-2) 70%, transparent);
  cursor: pointer; user-select: none;
}
.ing:last-child { border-bottom: none; }
.ing .box {
  flex: none; width: 17px; height: 17px; border-radius: 6px; margin-top: 4px;
  border: 1.5px solid var(--line-2); display: grid; place-items: center;
  font-size: .62rem; color: transparent; transition: .16s;
}
.ing .nm { flex: 1; font-size: .93rem; font-weight: 600; }
.ing .nm em { display: block; font-style: normal; font-size: .76rem; color: var(--muted); font-weight: 500; }
.ing .amt { font-size: .93rem; font-weight: 800; color: var(--ink-2); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ing.done { opacity: .42; }
.ing.done .box { background: var(--brand); border-color: var(--brand); color: #fff; }
.ing.done .nm { text-decoration: line-through; }
.p-foot { padding: 12px 20px 18px; font-size: .76rem; color: var(--muted); border-top: 1px solid var(--line); }

/* 조리 단계 */
.block + .block { margin-top: 48px; }
.block > h2 {
  font-family: var(--font-display); font-size: 1.6rem; font-weight: 700; margin-bottom: 6px;
}
.block > .hint { font-size: .87rem; color: var(--muted); margin-bottom: 22px; }

.steps { counter-reset: s; }
.step { position: relative; padding: 0 0 30px 62px; }
.step:last-child { padding-bottom: 0; }
.step::before {
  counter-increment: s; content: counter(s);
  position: absolute; left: 0; top: -4px;
  width: 42px; height: 42px; border-radius: 14px;
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 1.18rem; font-weight: 700;
  background: var(--brand-soft); color: var(--brand-ink);
  border: 1px solid color-mix(in srgb, var(--brand) 20%, transparent);
}
.step::after {
  content: ""; position: absolute; left: 21px; top: 46px; bottom: 8px; width: 1px;
  background: linear-gradient(var(--line-2), transparent);
}
.step:last-child::after { display: none; }
.step h3 { font-size: 1.06rem; font-weight: 800; margin-bottom: 5px; }
.step p { color: var(--ink-2); font-size: .96rem; line-height: 1.78; }
.step .tip {
  display: flex; gap: 9px; margin-top: 11px; padding: 11px 14px;
  background: var(--bg2); border-radius: var(--r-sm);
  font-size: .855rem; color: var(--muted); line-height: 1.6;
  border-left: 3px solid var(--brand);
}
.step .tip b { color: var(--brand-ink); font-weight: 800; flex: none; }
@media (max-width: 520px) {
  .step { padding-left: 52px; }
  .step::before { width: 36px; height: 36px; border-radius: 12px; font-size: 1.02rem; }
  .step::after { left: 18px; top: 40px; }
}

/* 밑작업 */
.prep-list { display: grid; gap: 12px; }
.prep-it {
  display: flex; gap: 14px; align-items: flex-start;
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 16px 18px;
}
.prep-it .n {
  flex: none; width: 26px; height: 26px; border-radius: 9px; display: grid; place-items: center;
  background: var(--ink); color: var(--bg); font-size: .78rem; font-weight: 800;
}
.prep-it b { display: block; font-size: .95rem; margin-bottom: 2px; }
.prep-it span { font-size: .88rem; color: var(--muted); line-height: 1.65; }

/* 팁 */
.tips { display: grid; gap: 14px; }
.tip-card {
  border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 20px;
  background: linear-gradient(150deg, var(--brand-soft), transparent 78%), var(--surface);
}
.tip-card b { display: block; font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; margin-bottom: 5px; }
.tip-card p { font-size: .91rem; color: var(--ink-2); line-height: 1.72; }

/* 고지 */
.disclaimer {
  margin-top: 52px; padding: 16px 20px; border-radius: var(--r-md);
  border: 1px dashed var(--line-2); font-size: .83rem; color: var(--muted); line-height: 1.7;
}

.r-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 30px; }

/* ---------- 11. 푸터 ---------- */
.foot {
  margin-top: 72px; padding: 30px 0 0; border-top: 1px solid var(--line);
  font-size: .8rem; color: var(--muted); line-height: 1.75;
}
.foot .links { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 12px; }
.foot .links a { text-decoration: none; font-weight: 600; }
.foot .links a:hover { color: var(--brand); }
.foot .api {
  margin-top: 14px; font-size: .76rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}
.foot .api a { color: var(--brand); text-decoration: none; }

/* ---------- 12. 인쇄 ---------- */
@media print {
  .topbar, .aurora, .r-actions, .scaler, .foot .links, .crumb, body::before { display: none !important; }
  body { background: #fff; color: #000; }
  .r-body { grid-template-columns: 300px 1fr; gap: 24px; }
  .card, .panel, .r-hero { box-shadow: none; }
  .step { break-inside: avoid; }
  a[href^="http"]::after { content: ""; }
}
