/* ============================================================================
   CraftHaus — 모바일 전용 스타일 (단일 출처)
   * 컨펌된 목업(.ai-docs/mockups/crafthaus-mobile-mockup.html)의 "화면 CSS" 만 이관.
     목업의 검수용 셸(.doc/.group/.strip/.phone/.view)은 **의도적으로 제외** —
     셸 CSS가 화면 제목을 오염시킨 사고가 있었다(decisions.md 참조).
   * 기준 기기 = 아이폰 16(393×852). 360~430 폭에서 가로 스크롤 0 이 합격선.
   ========================================================================== */

:root {
  --cream: #FAF6F0;
  --card: #FFFFFF;
  --sage: #8C9A7B;
  --sage-d: #7B8A6A;
  --beige: #E9E0D4;
  --ink: #3E3D38;
  --muted: #8A857C;
  --hair: #E6DFD4;

  --serif: Georgia, "Times New Roman", serif;
  --script: "Segoe Script", "Bradley Hand", "Apple Chancery", cursive;
  --sans: -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;

  --pad: 18px;
  --radius-card: 20px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

/* PC 는 대응 대상이 아니다(제작자 지시) — 화면이 커져도 늘어나지 않고 설계 폭 그대로 가운데에.
   바깥 여백에는 옅은 배경을 깔아 "폰 화면을 그대로 띄운" 인상을 준다. */
html { background: #EAE6DE; }

body {
  margin: 0 auto;
  max-width: 393px;                 /* 아이폰 16 설계 폭 고정 — 데스크톱에서도 늘어나지 않는다 */
  box-shadow: 0 0 0 1px rgba(62, 61, 56, .07);
  min-height: 100dvh;               /* iOS 사파리 주소창 때문에 100vh 금지 */
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.5;
  touch-action: manipulation;        /* 더블탭 확대·300ms 탭 지연 제거 */
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
/* ⚠ hidden 속성은 UA 의 display:none 이라 author CSS 의 display 선언에 진다.
   실제로 인스타 링크가 없는 사진에서도 버튼이 보였다(실측 사고) → 전역으로 못 박는다. */
[hidden] { display: none !important; }
img { max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; -webkit-appearance: none; appearance: none; cursor: pointer; }
:focus-visible { outline: 2px solid var(--sage-d); outline-offset: 2px; }

.pad { padding: 0 var(--pad); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

/* ─── 홈: 히어로 영역 ─────────────────────────────────────────────────────── */
.herozone { position: relative; padding: calc(26px + env(safe-area-inset-top)) var(--pad) 6px; }
.brand { position: relative; z-index: 2; width: 56%; }
.roof { display: block; width: 64px; height: 20px; margin: 0 0 6px 4px; color: var(--ink); }
/* ⚠ 목업에서는 <div> 였지만 실제 사이트에서는 <h1>/<p> 다 → UA 기본 여백(h1 0.67em ≈ 20px)이
   붙어 지붕 마크와 로고가 벌어졌다(제작자 지적). 목업 간격을 그대로 재현하도록 명시 초기화. */
.logo { margin: 0; font-family: var(--serif); font-size: 30px; font-weight: 400; line-height: 1; letter-spacing: .01em; }
.logo em { font-style: normal; color: #6E6C64; }
.tagline { margin: 9px 0 0; font-size: 9px; line-height: 1.2; letter-spacing: .17em; color: #6E6C64; white-space: nowrap; }
.rule { margin-top: 9px; width: 100%; height: 1px; background: var(--hair); }

.badge {
  position: relative; z-index: 2; margin-top: 14px; display: inline-block;
  padding: 7px 18px 9px 32px; background: var(--beige);
  border-radius: 22px 30px 26px 20px;
}
.badge b { display: block; font-size: 10px; line-height: 1.2; letter-spacing: .16em; color: #5F5D55; }
.badge span { font-family: var(--script); font-size: 19px; line-height: 1.15; color: #4A4841; }
.badge::before {
  content: ""; position: absolute; left: 12px; top: 14px; width: 14px; height: 9px;
  border-radius: 9px 2px 9px 2px; background: var(--sage); opacity: .85;
}
.intro { position: relative; z-index: 2; width: 56%; margin: 13px 0 0; font-size: 11.5px; line-height: 1.7; color: #5A584F; }

.heroimg { position: absolute; right: 0; top: 0; bottom: 0; width: 56%; z-index: 1; overflow: hidden; background: var(--beige); }
.heroimg img { width: 100%; height: 100%; object-fit: cover; object-position: 58% 38%; display: block; }
/* 좌측 페이드 = 로고·문단이 사진 위 흐린 영역에 걸치지 않게(불투명 40%까지) */
.heroimg::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 52%; height: 100%; z-index: 2;
  background: linear-gradient(90deg, var(--cream) 0%, var(--cream) 40%, rgba(250, 246, 240, .55) 72%, rgba(250, 246, 240, 0) 100%);
}
/* 하단 페이드 = 사진이 크림으로 녹아들어 첫 카드와 이어지게(칼로 자른 경계 제거) */
.heroimg::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 74px; z-index: 2;
  background: linear-gradient(180deg, rgba(250, 246, 240, 0) 0%, rgba(250, 246, 240, .30) 42%, rgba(250, 246, 240, .78) 76%, var(--cream) 100%);
}

/* ─── 홈: 메뉴 카드 ───────────────────────────────────────────────────────── */
.menu { margin-top: 6px; display: flex; flex-direction: column; gap: 9px; }
.card {
  position: relative; display: flex; align-items: center; gap: 14px; height: 60px; padding: 0 48px 0 0;
  background: var(--card); border: 0; border-radius: 30px var(--radius-card) var(--radius-card) 30px;
  box-shadow: 0 1px 0 rgba(62, 61, 56, .10), 0 3px 8px rgba(62, 61, 56, .045);
}
/* 베이지 원 지름 = 흰 박스 높이와 동일(제작자 확정) · 여백 0 · 원이 행의 왼쪽 캡 */
.ico { flex: 0 0 auto; width: 60px; height: 60px; border-radius: 50%; background: var(--beige); display: grid; place-items: center; color: #4E4C44; }
.ico svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.card .txt { min-width: 0; }
.card .txt b { display: block; font-size: 14px; line-height: 1.2; font-weight: 600; letter-spacing: .045em; }
.card .txt small { display: block; margin-top: 3px; font-size: 11px; line-height: 1.35; color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chev { position: absolute; right: 0; top: 0; bottom: 0; width: 42px; border-radius: 0 var(--radius-card) var(--radius-card) 0; background: var(--sage); display: grid; place-items: center; color: #fff; font-size: 17px; }

/* ─── 홈: 잎사귀 구분선 ───────────────────────────────────────────────────── */
.leafline { margin: 20px 0 16px; position: relative; height: 14px; }
.leafline::before { content: ""; position: absolute; top: 7px; left: 6px; right: 6px; border-top: 1.5px dashed #DBD2C4; }
.leafline i { position: absolute; left: 50%; top: -4px; transform: translateX(-50%); background: var(--cream); padding: 0 9px; color: var(--sage); font-style: normal; line-height: 1; }

/* ─── 홈: 링크 행 ─────────────────────────────────────────────────────────── */
.links { display: flex; flex-direction: column; gap: 8px; }
.link {
  display: flex; align-items: center; gap: 13px; width: 100%; min-height: 52px; padding: 7px 13px; text-align: left;
  border: 0; border-radius: 15px; background: var(--tint); cursor: pointer; box-shadow: 0 1px 0 rgba(62, 61, 56, .06);
}
.lico { flex: 0 0 auto; width: 38px; height: 38px; border-radius: 10px; background: var(--brand); color: #fff; display: grid; place-items: center; }
.lico svg { width: 22px; height: 22px; fill: currentColor; }
.lico img { width: 34px; height: 34px; object-fit: contain; display: block; }
.link .txt { flex: 1 1 auto; min-width: 0; }
.link .txt b { display: block; font-size: 13.5px; line-height: 1.2; font-weight: 600; letter-spacing: .04em; }
.link .txt small { display: block; margin-top: 2px; font-size: 11px; color: var(--muted); }
.link .arr { color: #8C8A80; font-size: 17px; }
.l-wa { --tint: #E7F2E2; --brand: #25D366; }
.l-sp { --tint: #FCEDE4; --brand: #EE4D2D; }
.l-sp .lico { background: linear-gradient(135deg, #F9603A 0%, #EE4D2D 55%, #E23A1E 100%); }
.l-tp { --tint: #EAF3E6; --brand: #42B549; }
.l-tp .lico { background: #FFFFFF; box-shadow: inset 0 0 0 1px rgba(62, 61, 56, .08); }
.l-ig { --tint: #FBEBF2; --brand: #C13584; }
.l-ig .lico { background: linear-gradient(135deg, #FEDA75 0%, #FA7E1E 22%, #D62976 55%, #962FBF 78%, #4F5BD5 100%); }
.l-tt { --tint: #EDEEF1; --brand: #1D1D1B; }

/* ─── 홈: 푸터 ────────────────────────────────────────────────────────────── */
.thanks { margin-top: 28px; display: grid; grid-template-columns: 1fr 1.15fr .8fr; align-items: end; gap: 10px; }
.lineart { color: #B9B2A4; }
.lineart svg { width: 100%; height: auto; fill: none; stroke: currentColor; stroke-width: 1.1; }
.thanks .mid { text-align: center; padding-bottom: 6px; }
.thanks .mid em { display: block; font-family: var(--script); font-size: 21px; line-height: 1.3; font-style: normal; color: #4A4841; white-space: nowrap; }
.thanks .mid small { display: block; margin-top: 7px; font-size: 8.5px; letter-spacing: .13em; line-height: 1.7; color: #6E6C64; }
.seal { width: 76px; height: 76px; margin: 0 0 4px auto; border-radius: 50%; background: var(--beige); display: grid; place-items: center; text-align: center; font-family: var(--script); font-size: 12.5px; line-height: 1.35; color: #4A4841; }

.botbar { margin-top: 22px; background: var(--sage); padding: 15px var(--pad) calc(15px + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: center; gap: 12px; }
/* ⚠ 목업에서는 <span> 이었지만 실제 사이트에서는 <a>/<button> 이다.
   button 은 UA 기본 배경(연회색)이 있어 그대로 두면 흰 아이콘이 묻힌다(실측 사고) → 명시 초기화. */
.botbar .o { position: relative; width: 30px; height: 30px; padding: 0; background: none; -webkit-appearance: none; appearance: none;
             border: 1.2px solid rgba(255, 255, 255, .85); border-radius: 50%; display: grid; place-items: center; color: #fff; cursor: pointer; }
.botbar .o::before { content: ""; position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 44px; height: 44px; }
.botbar .o svg { width: 15px; height: 15px; fill: currentColor; }
.botbar span { margin-left: 6px; color: #fff; font-size: 11.5px; letter-spacing: .06em; }

/* ─── 하위 화면 공통 헤더 ─────────────────────────────────────────────────── */
.subhead {
  position: sticky; top: 0; z-index: 6; display: flex; align-items: center; gap: 8px; min-height: 54px;
  padding: calc(14px + env(safe-area-inset-top)) 8px 0;
  background: rgba(250, 246, 240, .94); border-bottom: 1px solid var(--hair); backdrop-filter: blur(6px);
}
.subhead > * { margin-bottom: 12px; }
.back { display: grid; place-items: center; width: 44px; height: 44px; border: 0; background: none; font-size: 23px; line-height: 1; }
.subhead h1 { margin: 0; font-family: var(--sans); font-size: 13px; line-height: 1.2; font-weight: 600; letter-spacing: .14em; text-transform: none; color: var(--ink); }
.subhead .sp { flex: 1; }
.subhead .idn { font-size: 10px; color: var(--muted); padding-right: 12px; }

.sect { padding: 18px var(--pad) 26px; }
.sect h2 { margin: 0 0 8px; font-family: var(--serif); font-size: 21px; line-height: 1.3; font-weight: 400; text-transform: none; letter-spacing: normal; color: var(--ink); }
.sect p { margin: 0 0 12px; font-size: 12.5px; line-height: 1.9; color: #5A584F; }
.kicker { font-size: 9.5px; letter-spacing: .18em; color: var(--sage); margin-bottom: 9px; text-transform: uppercase; }
/* 표지는 높이를 고정하지 않는다 — 고정하면 정사각 사진이 절반 넘게 잘려 의미가 사라진다(실측 사고).
   원본 비율 그대로 전부 보이게 하고, 레이아웃 시프트는 img 의 width/height 속성으로 예약한다. */
.cover { border-radius: 16px; overflow: hidden; background: var(--beige); display: grid; place-items: center; color: #8A8071; font-size: 10.5px; min-height: 120px; }
.cover img { width: 100%; height: auto; display: block; }
.cta { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 50px; margin-top: 6px; background: var(--sage); color: #fff; border: 0; border-radius: 14px; font-size: 13.5px; font-weight: 600; letter-spacing: .03em; }
.cta svg { width: 17px; height: 17px; fill: currentColor; }

/* ─── 갤러리 ──────────────────────────────────────────────────────────────── */
.grid { padding: 16px var(--pad) 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 11px; }
.tile { position: relative; aspect-ratio: 4/5; border-radius: 14px; overflow: hidden; background: #EFE8DC; border: 1px solid var(--hair); display: block; }
.tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tile b { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 9px 8px; font-size: 9.5px; line-height: 1.3; font-weight: 500; color: #fff; background: linear-gradient(180deg, rgba(58, 56, 50, 0), rgba(58, 56, 50, .62)); }
.more { display: block; margin: 2px auto 26px; height: 46px; width: calc(100% - 2 * var(--pad)); border: 1px solid var(--sage); color: var(--sage-d); background: none; border-radius: 13px; font-size: 12.5px; font-weight: 600; }

/* 오버레이는 뷰포트가 아니라 **모바일 컬럼 안**에 갇혀야 한다.
   position:fixed 는 뷰포트 기준이라 그대로 두면 데스크톱에서 화면 전체를 덮는다(실측 사고). */
.lightbox { position: fixed; top: 0; bottom: 0; left: 50%; transform: translateX(-50%);
            width: 100%; max-width: 393px; background: rgba(30, 29, 26, .93); z-index: 20; display: flex; flex-direction: column; }
.lightbox[hidden] { display: none; }
.lightbox .lbtop { display: flex; justify-content: space-between; align-items: center; padding: calc(14px + env(safe-area-inset-top)) 12px 14px; color: #fff; }
.lightbox .lbtop b { font-size: 11px; letter-spacing: .1em; font-weight: 500; opacity: .75; }
.lightbox .x { width: 44px; height: 44px; border: 0; background: none; color: #fff; font-size: 22px; }
.lightbox .big { flex: 1; margin: 0 14px; border-radius: 14px; overflow: hidden; display: grid; place-items: center; }
.lightbox .big img { width: 100%; height: 100%; object-fit: contain; }
.lightbox .cap { padding: 16px var(--pad) calc(20px + env(safe-area-inset-bottom)); color: #fff; }
.lightbox .cap p { margin: 0 0 10px; font-size: 12.5px; line-height: 1.7; }
.lightbox .cap a { display: inline-flex; align-items: center; gap: 6px; color: #E8E5DC; font-size: 11.5px; border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; padding: 8px 13px; }
.lightbox .cap a svg { width: 15px; height: 15px; fill: currentColor; }

/* ─── 게시판 ──────────────────────────────────────────────────────────────── */
.list { padding: 14px var(--pad) 24px; display: flex; flex-direction: column; gap: 11px; }
.post { display: flex; gap: 12px; padding: 11px; background: var(--card); border: 1px solid var(--hair); border-radius: 16px; }
.post .th { flex: 0 0 88px; height: 88px; border-radius: 12px; overflow: hidden; background: #EFE8DC; border: 1px solid var(--hair); }
.post .th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post .bd { min-width: 0; padding-top: 2px; }
.post .bd b { display: block; font-size: 13.5px; line-height: 1.3; font-weight: 600; }
.post .bd p { margin: 5px 0 0; font-size: 11px; line-height: 1.55; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post .bd time { display: block; margin-top: 7px; font-size: 10px; line-height: 1.15; color: #A29C91; font-variant-numeric: tabular-nums; }
.pin { display: inline-block; margin-right: 5px; padding: 2px 6px; border-radius: 5px; background: var(--beige); font-size: 9px; letter-spacing: .06em; color: #5F5D55; vertical-align: 1px; }

.steps { margin: 0; padding: 0 var(--pad) 24px; list-style: none; counter-reset: s; }
.steps li { counter-increment: s; position: relative; display: flex; align-items: flex-start; gap: 11px; padding: 0 0 16px 34px; font-size: 12.5px; line-height: 1.8; color: #5A584F; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 1px; width: 23px; height: 23px; border-radius: 50%; background: var(--beige); color: #5C5A50; font-size: 11px; font-weight: 600; display: grid; place-items: center; }
.steps li .stxt { flex: 1 1 auto; }
.steps li img { flex: 0 0 auto; width: 64px; height: 64px; border-radius: 10px; object-fit: cover; }

.safety { margin: 4px var(--pad) 24px; padding: 13px 14px; border: 1px solid var(--hair); border-left: 3px solid var(--sage); border-radius: 10px; background: #F6F3EC; }
.safety b { display: block; font-size: 11px; letter-spacing: .06em; margin-bottom: 6px; }
.safety small { font-size: 11px; line-height: 1.7; color: #5A584F; }

/* ─── 리뷰 ────────────────────────────────────────────────────────────────── */
.ratebar { display: flex; align-items: center; gap: 12px; padding: 16px var(--pad) 6px; }
.ratebar .avg { font-family: var(--serif); font-size: 31px; line-height: 1; }
.stars { color: #C9A227; font-size: 13px; letter-spacing: 2px; }
.ratebar small { display: block; margin-top: 4px; font-size: 10.5px; color: var(--muted); }
.rv { margin: 0 var(--pad) 10px; padding: 13px 14px; background: var(--card); border: 1px solid var(--hair); border-radius: 16px; }
.rv .top { display: flex; align-items: baseline; gap: 8px; }
.rv .top b { font-size: 12.5px; font-weight: 600; }
.rv .top small { font-size: 10px; color: var(--muted); margin-left: auto; font-variant-numeric: tabular-nums; }
.rv p { margin: 8px 0 0; font-size: 12px; line-height: 1.75; color: #5A584F; white-space: pre-wrap; }
.dockcta { position: sticky; bottom: 0; z-index: 7; padding: 12px var(--pad) calc(14px + env(safe-area-inset-bottom)); background: linear-gradient(180deg, rgba(250, 246, 240, 0), var(--cream) 38%); }
.dockcta .cta { margin: 0; }

.sheet { position: fixed; top: 0; bottom: 0; left: 50%; transform: translateX(-50%);
         width: 100%; max-width: 393px; z-index: 21; display: flex; flex-direction: column; justify-content: flex-end; background: rgba(40, 38, 34, .42); }
.sheet[hidden] { display: none; }
.sheet .inner { background: var(--cream); border-radius: 22px 22px 0 0; padding: 8px var(--pad) calc(18px + env(safe-area-inset-bottom)); max-height: 90dvh; overflow-y: auto; }
.grab { width: 40px; height: 4px; border-radius: 4px; background: #D8D0C2; margin: 4px auto 14px; }
.sheet h3 { margin: 0 0 14px; font-family: var(--serif); font-size: 18px; font-weight: 400; }
.field { margin-bottom: 13px; }
.field label { display: block; font-size: 10.5px; letter-spacing: .1em; color: #6E6C64; margin-bottom: 6px; }
.field input, .field textarea { width: 100%; border: 1px solid #DDD5C7; border-radius: 12px; background: #fff; padding: 13px; font: inherit; font-size: 12.5px; color: var(--ink); }
.field textarea { min-height: 96px; resize: vertical; }
.pickstars { display: flex; gap: 6px; }
.pickstars button { width: 40px; height: 40px; border: 0; background: none; font-size: 26px; line-height: 1; color: #DCD5C8; padding: 0; }
.pickstars button[aria-pressed="true"], .pickstars button.on { color: #C9A227; }
.warn { display: flex; gap: 7px; padding: 10px 12px; margin: 0 0 13px; border-radius: 10px; background: #F6F1E6; border: 1px solid #E7DCC6; font-size: 10.5px; line-height: 1.6; color: #6B6355; }
.warn svg { flex: 0 0 auto; width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.after { margin: 10px 0 0; font-size: 10.5px; color: var(--muted); text-align: center; line-height: 1.6; }

/* ─── 빈 상태 ─────────────────────────────────────────────────────────────── */
.empty { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 60px 30px; text-align: center; min-height: 50dvh; }
.empty .art { width: 118px; color: #C6BEB0; }
.empty .art svg { width: 100%; height: auto; fill: none; stroke: currentColor; stroke-width: 1.1; }
.empty b { font-family: var(--serif); font-size: 19px; font-weight: 400; }
.empty p { margin: 0; font-size: 12px; line-height: 1.75; color: var(--muted); }
.empty .cta { width: 100%; max-width: 250px; }

/* ─── 준비중 모달 / 토스트 ────────────────────────────────────────────────── */
.modal { position: fixed; top: 0; bottom: 0; left: 50%; transform: translateX(-50%);
         width: 100%; max-width: 393px; z-index: 22; background: rgba(40, 38, 34, .46); display: grid; place-items: center; padding: 26px; }
.modal[hidden] { display: none; }
.modal .box { width: 100%; max-width: 340px; background: var(--cream); border-radius: 20px; padding: 26px 22px 18px; text-align: center; box-shadow: 0 18px 40px rgba(30, 29, 26, .3); }
.modal .sprout { width: 34px; height: 34px; margin: 0 auto 12px; border-radius: 50%; background: var(--beige); display: grid; place-items: center; color: var(--sage); }
.modal .sprout svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.modal b { display: block; font-family: var(--serif); font-size: 19px; font-weight: 400; margin-bottom: 8px; }
.modal p { margin: 0 0 18px; font-size: 12px; line-height: 1.75; color: #5A584F; }
.modal button { width: 100%; height: 46px; border: 1px solid var(--sage); background: none; color: var(--sage-d); border-radius: 13px; font-size: 12.5px; font-weight: 600; }

.toast { position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); transform: translateX(-50%); z-index: 30; max-width: 320px; padding: 12px 16px; border-radius: 12px; background: rgba(62, 61, 56, .94); color: #fff; font-size: 12px; line-height: 1.5; text-align: center; }
.toast[hidden] { display: none; }

/* ─── 관리자(모바일 우선 · 최소 스타일) ───────────────────────────────────── */
.adm { padding: calc(20px + env(safe-area-inset-top)) var(--pad) 40px; }
.adm h1 { font-family: var(--serif); font-size: 22px; font-weight: 400; margin: 0 0 4px; }
.adm .sub { font-size: 11.5px; color: var(--muted); margin: 0 0 20px; }
.adm .box { background: var(--card); border: 1px solid var(--hair); border-radius: 16px; padding: 16px; margin-bottom: 14px; }
.adm .box h2 { font-size: 13px; letter-spacing: .08em; margin: 0 0 12px; text-transform: uppercase; color: #6E6C64; }
.adm .row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-top: 1px solid var(--hair); font-size: 12.5px; }
.adm .row:first-of-type { border-top: 0; }
.adm .row .grow { flex: 1; min-width: 0; }
.adm .row .grow small { display: block; color: var(--muted); font-size: 11px; margin-top: 3px; }
.adm .btn { min-height: 44px; padding: 0 16px; border: 0; border-radius: 10px; background: var(--sage); color: #fff; font-size: 12.5px; font-weight: 600; }  /* 터치 타깃 44px 기준 준수 */
.adm .btn.ghost { background: none; border: 1px solid var(--hair); color: var(--ink); }
.adm .btn.danger { background: #B4553C; }
.adm .err { background: #FBEBE7; border: 1px solid #E9C9BF; color: #8C3A22; border-radius: 10px; padding: 10px 12px; font-size: 12px; margin-bottom: 12px; }
.adm .ok { background: #ECF3E7; border: 1px solid #CBDCC0; color: #4A6138; border-radius: 10px; padding: 10px 12px; font-size: 12px; margin-bottom: 12px; }

/* 360px 급 소형 폰에서 메뉴 부제가 말줄임으로 잘려 정보가 사라지는 것을 막는다.
   설계 폭(393)에서는 원본 그대로 두고, 좁은 폭에서만 아주 조금 줄인다. */
@media (max-width: 380px) {
  .card .txt small { font-size: 10.3px; letter-spacing: -0.01em; }
  .card { gap: 12px; padding-right: 46px; }
}

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
