/* photoKam 쇼케이스 (showcase.exapeaksoft.com) — design/showcase/claude 시안 기반
   어두운 남색 바탕(Radar 앱과 같은 계열) · 사진이 주인공 · 모서리는 역할별로 다르게 */

:root {
  color-scheme: dark;
  --bg: #0b0e12;
  --bg-raise: #10141a;
  --surface: #151a21;
  --surface-2: #1b2129;
  --line: #222932;
  --line-2: #2e3641;
  --text: #e8ebef;
  /* 글자 대비(바탕 #0b0e12 기준): text 16:1 · text-2 11:1 · text-3 7:1 — 2026-10-30 대표 "흐려서 눈이 아프다"로 올림(예전 text-3 #6d7785 = 4.3:1) */
  --text-2: #bcc4ce;
  --text-3: #949eab;
  --accent: #3a84ec;
  --accent-hi: #5596f0;
  --amber: #d9a144;
  --green: #41b07c;
  --red: #e0645a;

  /* 모서리 — 역할별 (NOTES.md 참고) */
  --r-photo: 0;
  --r-tag: 2px;
  --r-panel: 3px;
  --r-field: 4px;
  --r-btn: 6px;
  --r-dialog: 6px;
  --r-sheet: 10px;

  --font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;

  --gut: 16px;
  --row: 124px;
  --tab-h: 56px;
  --hd-h: 52px;
}
@media (min-width: 900px) {
  :root { --gut: 32px; --row: 220px; }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-variant-numeric: tabular-nums;
  background: var(--bg);
  color: var(--text);
  font: 15px/1.6 var(--font);
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
.wrap { max-width: 1360px; margin: 0 auto; padding-inline: var(--gut); }
.narrow { max-width: 760px; }
.t2 { color: var(--text-2); }
.t3 { color: var(--text-3); }
.small { font-size: 13px; }
.xs { font-size: 12px; }
.is-off { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.ico { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ico.s16 { width: 16px; height: 16px; }
.ico.s24 { width: 24px; height: 24px; }
.ico.fill { fill: currentColor; stroke: none; }

/* ── 머리줄 ── */
.hd {
  position: sticky; top: 0; z-index: 20;
  background: rgba(11, 14, 18, .96);
  border-bottom: 1px solid var(--line);
}
.hd .wrap { display: flex; align-items: center; gap: 28px; height: var(--hd-h); }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 16px; letter-spacing: -0.01em; white-space: nowrap; }
.brand img { width: 22px; height: 22px; }
.brand span { font-weight: 500; color: var(--text-2); }
.nav { display: none; gap: 22px; font-size: 14px; color: var(--text-2); }
.nav a { padding: 15px 0 13px; border-bottom: 2px solid transparent; }
.nav a.on { color: var(--text); border-bottom-color: var(--text); }
.hd-tools { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.search {
  display: none; align-items: center; gap: 8px; width: 260px; height: 36px; padding: 0 10px;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-field); color: var(--text-3); font-size: 13px;
}
.icon-btn {
  position: relative; width: 40px; height: 40px; display: grid; place-items: center;
  border-radius: var(--r-btn); color: var(--text-2); background: none; border: 0; cursor: pointer;
}
.icon-btn:hover { background: var(--surface); color: var(--text); }
.count {
  position: absolute; top: 5px; right: 4px; min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 999px; background: var(--red); color: #fff;
  font: 600 10px/16px var(--font); text-align: center;
}
.hd .login-links { display: flex; gap: 6px; align-items: center; }
/* 머리줄 언어 고르기 */
.lang-menu { position: relative; }
.lang-menu > summary { list-style: none; display: flex; align-items: center; width: auto; gap: 4px; padding: 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.lang-menu > summary::-webkit-details-marker { display: none; }
.lang-menu[open] > summary { background: var(--surface); color: var(--text); }
.lang-pop { position: absolute; right: 0; top: calc(100% + 6px); z-index: 60; min-width: 150px; display: grid; padding: 6px; border: 1px solid var(--line-2); border-radius: var(--r-dialog); background: var(--bg-raise); box-shadow: 0 16px 40px rgba(0, 0, 0, .5); }
.lang-pop a { padding: 8px 10px; border-radius: var(--r-field); font-size: 13.5px; color: var(--text-2); }
.lang-pop a:hover { background: var(--surface); color: var(--text); }
.lang-pop a.on { color: var(--text); font-weight: 700; }
/* 휴대폰: 머리줄이 넘치지 않게 — 언어는 지구본만, 로그인은 아래 탭(나)이 대신 */
@media (max-width: 520px) { .lang-menu > summary span { display: none; } .hd .login-links .t2 { display: none; } }
@media (min-width: 900px) {
  .nav { display: flex; }
  .search { display: flex; }
  .hd .icon-btn.only-m { display: none; }
}

/* 아바타 — 사진 대신 이니셜 */
.av {
  --c: #34506b;
  width: 32px; height: 32px; flex: none; border-radius: 50%;
  display: grid; place-items: center; background: var(--c); color: #f1f3f5;
  font-size: 13px; font-weight: 600;
}
.av.s24 { width: 24px; height: 24px; font-size: 11px; }
.av.s40 { width: 40px; height: 40px; font-size: 15px; }
.av.s72 { width: 72px; height: 72px; font-size: 26px; }
.av.s96 { width: 96px; height: 96px; font-size: 34px; }
img.av { object-fit: cover; background: var(--surface); }

/* ── 아래 탭 (폰) ── */
.tb {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  height: calc(var(--tab-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
  background: #0d1115; border-top: 1px solid var(--line);
}
.tb a { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 11px; color: var(--text-3); }
.tb a.on { color: var(--text); }
.tb a.on::before { content: ""; position: absolute; top: -1px; left: 32%; right: 32%; height: 2px; background: var(--text); }
.tb .count { top: 4px; right: calc(50% - 20px); }
body.has-tb { padding-bottom: calc(var(--tab-h) + 32px); }
@media (min-width: 900px) {
  .tb { display: none; }
  body.has-tb { padding-bottom: 0; }
}

/* ── 단추 ── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 44px; padding: 0 18px; border-radius: var(--r-btn);
  border: 1px solid transparent; background: none; cursor: pointer;
  font-size: 15px; font-weight: 600; white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hi); }
.btn-primary[disabled] { background: var(--surface-2); color: var(--text-3); cursor: default; }
.btn-quiet { background: var(--surface-2); border-color: var(--line-2); color: var(--text); }
.btn-line { border-color: var(--line-2); color: var(--text); }
.btn-line:hover { border-color: var(--text-3); }
.btn-danger { border-color: rgba(224, 100, 90, .45); color: var(--red); }
.btn-sm { height: 34px; padding: 0 12px; font-size: 13px; }
.btn-block { width: 100%; }
.link { color: var(--accent-hi); }
.link:hover { text-decoration: underline; text-underline-offset: 3px; }
.textlink { color: var(--text-2); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
button.textlink { background: none; border: 0; padding: 0; font: inherit; cursor: pointer; }
/* Google 로 계속하기 — Google 안내의 어두운 단추(배경 #131314 · 테두리 #8E918F · 글자 #E3E3E3) */
.btn-google { background: #131314; border-color: #8e918f; color: #e3e3e3; gap: 10px; font-weight: 500; }
.btn-google:hover { background: #1c1c1e; }
.btn-google svg { width: 18px; height: 18px; flex: none; }
.or { display: flex; align-items: center; gap: 12px; margin: 18px 0; color: var(--text-3); font-size: 12px; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }

/* ── 갤러리 첫 화면 ── */
.intro { padding: 26px 0 6px; display: grid; gap: 10px; }
.intro h1 { font-size: 22px; line-height: 1.35; font-weight: 700; letter-spacing: -0.02em; }
.intro p { color: var(--text-2); font-size: 14px; }
.readout { display: flex; flex-wrap: wrap; gap: 4px 14px; font: 12.5px/1.5 var(--font); color: var(--text-3); }
.readout b { color: var(--text-2); font: 500 12.5px/1.5 var(--font); }
@media (min-width: 900px) {
  .intro { grid-template-columns: minmax(0, 1fr) auto; align-items: end; padding-top: 40px; }
  .intro h1 { font-size: 30px; }
}

.tabs { display: flex; gap: 22px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a { position: relative; padding: 12px 0 11px; color: var(--text-3); font-weight: 600; font-size: 15px; white-space: nowrap; }
.tabs a.on { color: var(--text); }
.tabs a.on::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--text); }
.tabs .n { font: 500 12px var(--font); color: var(--text-3); margin-left: 4px; }

.filters { display: flex; gap: 8px; padding: 12px 0 18px; overflow-x: auto; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.sel {
  height: 34px; padding: 0 10px 0 12px; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  border: 1px solid var(--line-2); border-radius: var(--r-field); background: none; color: var(--text-2); font-size: 13px; cursor: pointer;
}
.sel.on { color: var(--text); border-color: var(--text-3); background: var(--surface); }
.sel .box { width: 14px; height: 14px; border: 1px solid var(--text-3); border-radius: var(--r-tag); }
.sel.on .box { background: var(--amber); border-color: var(--amber); }

/* 사진 줄 맞춤 격자 (justified) — 사진 비율 그대로 */
.jg { display: flex; flex-wrap: wrap; gap: 16px 8px; }
@media (min-width: 900px) { .jg { gap: 20px 12px; } }
.jg::after { content: ""; flex: 9999 1 0; }
.jg figure { margin: 0; min-width: 0; flex: var(--a) 1 calc(var(--a) * var(--row)); }
.jg .ph { display: block; aspect-ratio: var(--a); background: var(--surface); overflow: hidden; border-radius: var(--r-photo); }
.jg .ph img { width: 100%; height: 100%; object-fit: cover; transition: opacity .2s; }
.jg .ph:hover img { opacity: .88; }
.jg figcaption { display: flex; align-items: center; gap: 6px; padding-top: 6px; font-size: 12px; color: var(--text-3); min-width: 0; container-type: inline-size; }
/* 좁은 칸: 닉네임이 먼저 — 보정값 표시, 더 좁으면 공식 표시까지 숨긴다 */
@container (max-width: 210px) { .jg figcaption .tag-edit { display: none; } }
@container (max-width: 140px) { .jg figcaption .official { display: none; } }
.jg figcaption .who { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text-2); }
.jg figcaption .likes { margin-left: auto; display: inline-flex; align-items: center; gap: 3px; }
.tag-edit {
  flex: none; font: 600 10px/16px var(--font); color: var(--amber);
  border: 1px solid rgba(217, 161, 68, .45); border-radius: var(--r-tag); padding: 0 4px;
}
/* 공식 계정(관리자 지정) — 닉네임 바로 뒤 */
.official {
  flex: none; display: inline-block; margin-left: 6px; vertical-align: 2px;
  font: 600 10px/16px var(--font); letter-spacing: 0; color: var(--accent-hi);
  border: 1px solid rgba(58, 132, 236, .5); border-radius: var(--r-tag); padding: 0 4px;
}
.artist h1 .official { vertical-align: 4px; }
.jg figcaption .official { margin-left: 0; }

/* 앱에서 올리기 안내 줄 */
.appnote {
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; align-items: center;
  margin: 30px 0; padding: 16px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.appnote img { width: 36px; height: 36px; grid-row: span 2; }
.appnote b { font-size: 15px; }
.appnote p { color: var(--text-2); font-size: 13px; }
.appnote .path { color: var(--text); font-size: 12.5px; }
.appnote .go { grid-column: 2; font-size: 13px; }
@media (min-width: 900px) {
  .appnote { grid-template-columns: auto minmax(0, 1fr) auto; }
  .appnote .go { grid-column: 3; grid-row: 1 / span 2; }
}
.more-row { display: flex; justify-content: center; padding: 28px 0 8px; }

/* ── 바닥줄 ── */
.ft { margin-top: 64px; border-top: 1px solid var(--line); padding: 26px 0 34px; font-size: 13px; color: var(--text-3); }
.ft .wrap { display: grid; gap: 12px; }
.ft nav { display: flex; flex-wrap: wrap; gap: 6px 18px; color: var(--text-2); }
.ft .org { font-size: 12px; letter-spacing: .01em; }
@media (min-width: 900px) { .ft .wrap { grid-template-columns: 1fr auto; align-items: end; } }

/* ── 사진 상세 ── */
.pd { display: grid; }
.pd-stage { background: #06080a; display: grid; place-items: center; position: relative; }
.pd-stage canvas { display: block; width: 100%; height: auto; max-height: 78vh; object-fit: contain; }
.pd-stage .nav-arrows { display: none; }
.pd-back, .pd-tool {
  display: inline-flex; align-items: center; gap: 4px; height: 34px; padding: 0 12px 0 8px;
  border-radius: var(--r-btn); border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(10, 12, 15, .62); color: var(--text); font: 600 13px var(--font);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.pd-back { position: absolute; top: 12px; left: 12px; z-index: 2; }
.pd-back:hover, .pd-tool:hover { background: rgba(10, 12, 15, .82); }
/* 사진 위 오른쪽 도구(정보 접기 · 전체 화면) — PC 에서만 */
.pd-tools { display: none; position: absolute; top: 12px; right: 12px; z-index: 2; gap: 6px; }
.pd-tool { gap: 6px; padding: 0 12px 0 10px; cursor: pointer; }
.pd-tool.pd-full { width: 34px; padding: 0; justify-content: center; }
.pd-tool[hidden] { display: none; }
.pd .when-wide, .pd.wide .when-open { display: none; }
.pd.wide .when-wide { display: inline; }
/* 제목 · 작가 · 설명 — 사진 바로 아래 */
.pd-main { min-width: 0; }
.pd-cap { padding: 16px var(--gut) 0; min-width: 0; }
.pd-cap .who-row { margin-top: 8px; gap: 8px; flex-wrap: wrap; row-gap: 2px; }
.pd-cap .who-row .name { font-size: 13.5px; }
.pd-side { padding: 4px var(--gut) 8px; min-width: 0; }
.pd-title { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.35; }
.pd-desc { margin-top: 10px; color: var(--text-2); font-size: 14px; line-height: 1.65; white-space: pre-line; }
.who-row { display: flex; align-items: center; gap: 10px; margin-top: 16px; }
.who-row .name { font-weight: 600; font-size: 14px; }
.who-row .meta { font-size: 12px; color: var(--text-3); }
.act-row { display: flex; align-items: center; gap: 6px; margin-top: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.act-row .btn { height: 38px; padding: 0 12px; font-size: 14px; font-weight: 500; }
.act-row .btn .num { font-size: 13px; }
.act-row .btn.liked { color: var(--red); border-color: rgba(224, 100, 90, .4); }
.act-row .spacer { flex: 1; }
.sec-h {
  display: flex; align-items: center; gap: 10px; margin: 22px 0 10px;
  font-size: 13px; font-weight: 600; color: var(--text-3); letter-spacing: .02em;
}
.sec-h::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.sec-h .aside { order: 2; font-weight: 400; font-size: 12px; }
.exif { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 5px 18px; font-size: 13.5px; }
.exif dt { color: var(--text-3); display: flex; align-items: center; gap: 6px; }
.exif dt .ico, .expo dt .ico { color: var(--text-2); }
/* 노출 값 칸(초점거리 · 조리개 · 셔터 · ISO) — 아이콘 + 이름 위, 값 아래 */
.expo { display: grid; grid-template-columns: repeat(auto-fit, minmax(72px, 1fr)); gap: 1px; margin: 0 0 14px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-panel); overflow: hidden; }
.expo > div { background: var(--bg-raise); padding: 9px 8px 10px; min-width: 0; }
.expo dt { display: block; font-size: 12px; line-height: 1.35; color: var(--text-3); hyphens: auto; overflow-wrap: anywhere; }
.expo dt .ico { width: 14px; height: 14px; vertical-align: -2px; margin-right: 4px; }
.expo dd { margin: 5px 0 0; font: 600 15px var(--font); color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.exif dd { margin: 0; font-size: 13px; color: var(--text); }
/* 보정 정보 — 접어 두고 원하는 사람만 펼친다. 올린 값은 주황, 내린 값은 파랑 */
.adj-box { margin-top: 22px; border: 1px solid var(--line); border-radius: var(--r-panel); background: var(--bg-raise); }
.adj-box > summary { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 14px; cursor: pointer; list-style: none; }
.adj-box > summary::-webkit-details-marker { display: none; }
.adj-h { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: var(--text); }
.adj-h .ico { color: var(--amber); }
.adj-h .n { margin-left: 2px; font-size: 13px; font-weight: 400; color: var(--text-3); }
.adj-chev { margin-left: auto; flex: none; color: var(--text-3); transition: transform .15s; }
.adj-box > summary:hover .adj-chev { color: var(--text); }
.adj-box[open] .adj-chev { transform: rotate(180deg); }
.adj-chips { flex-basis: 100%; display: flex; flex-wrap: wrap; gap: 6px; }
.adj-chips > span { display: inline-flex; align-items: baseline; gap: 6px; padding: 4px 9px; border-radius: var(--r-tag); background: var(--surface); font-size: 12.5px; color: var(--text-2); }
.adj-chips b { font-weight: 600; color: var(--amber); }
.adj-box[open] .adj-chips { display: none; }
.adj-body { padding: 0 14px 14px; border-top: 1px solid var(--line); }
.adj-g { margin-top: 14px; font-size: 12px; font-weight: 600; color: var(--text-3); letter-spacing: .02em; }
.adj { display: grid; grid-template-columns: minmax(0, 1fr) 92px 46px; align-items: center; gap: 7px 12px; margin-top: 8px; font-size: 13.5px; color: var(--text-2); }
.adj .sub { padding-left: 12px; font-size: 13px; color: var(--text-3); }
.adj .bar { position: relative; height: 4px; border-radius: 2px; background: var(--line-2); }
.adj .bar::before { content: ""; position: absolute; left: 50%; top: -3px; width: 1px; height: 10px; background: var(--text-3); }
.adj .bar.u::before { display: none; }
.adj .bar i { position: absolute; top: 0; bottom: 0; border-radius: 2px; background: var(--amber); }
.adj .v { font-size: 13px; font-weight: 600; text-align: right; color: var(--amber); }
.adj .bar i.neg { background: var(--accent-hi); }
.adj .v.neg, .adj-chips b.neg { color: var(--accent-hi); }
.adj-foot { margin: 14px 0 0; padding-top: 10px; border-top: 1px dashed var(--line); font: 13px/1.6 var(--font); color: var(--text-3); }
.cmts { margin-top: 4px; }
.cmt { display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 10px; padding: 12px 0; border-top: 1px solid var(--line); }
.cmt:first-child { border-top: 0; }
.cmt .h { display: flex; gap: 8px; align-items: baseline; font-size: 13px; }
.cmt .h b { font-weight: 600; }
.cmt .h time { font: 11.5px var(--font); color: var(--text-3); }
.cmt p { font-size: 14px; margin-top: 2px; }
.cmt .r { margin-top: 4px; font-size: 12px; color: var(--text-3); display: flex; gap: 12px; }
.cmt-form { display: flex; gap: 8px; margin-top: 10px; }
.cmt-form .input { flex: 1; height: 42px; }
.cmt-form .btn { height: 42px; }
.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.mini-grid a { aspect-ratio: 1; overflow: hidden; background: var(--surface); }
.mini-grid img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
  .pd { grid-template-columns: minmax(0, 1fr) 384px; min-height: calc(100vh - var(--hd-h)); }
  /* 정보 칸을 접으면 사진이 화면 폭 가득 */
  .pd.wide { grid-template-columns: minmax(0, 1fr); }
  .pd.wide .pd-side { display: none; }
  .pd-main { position: sticky; top: var(--hd-h); height: calc(100vh - var(--hd-h)); display: flex; flex-direction: column; background: #06080a; }
  .pd-stage { flex: 1; min-height: 0; padding: 58px 32px 14px; grid-template: minmax(0, 1fr) / minmax(0, 1fr); }
  .pd-stage canvas { width: 100%; height: 100%; max-height: none; }
  .pd-stage .nav-arrows { display: flex; position: absolute; inset: auto 16px 16px auto; gap: 4px; }
  .pd-tools { display: flex; }
  /* 제목 줄은 사진 왼쪽 끝에서 시작(--img-x 는 showcase.js 가 사진 크기에 맞춰 넣음) */
  .pd-cap { padding: 0 32px 20px calc(32px + var(--img-x, 0px)); }
  /* 긴 설명은 두 줄까지 — 누르면 다 보임(showcase.js 가 넘칠 때만 clamped) */
  .pd-desc { max-width: 76ch; margin-top: 8px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
  .pd-desc.clamped { cursor: pointer; }
  .pd-desc.open { display: block; }
  .pd-side { border-left: 1px solid var(--line); padding: 22px 26px 40px; }
  .pd-side > .act-row:first-child, .pd-side > .flash + .act-row { margin-top: 0; }
  /* 전체 화면: 사진만 화면 가득(Esc · F 로 나옴) */
  .pd-stage:fullscreen { padding: 0; background: #000; }
  .pd-stage:fullscreen .pd-back, .pd-stage:fullscreen [data-pd-info] { display: none; }
}

/* ── 작가 ── */
.artist { padding: 28px 0 18px; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px 18px; align-items: center; }
.artist h1 { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.artist .since { font: 12.5px var(--font); font-variant-numeric: tabular-nums; color: var(--text-3); }
.artist .bio { grid-column: 1 / -1; color: var(--text-2); font-size: 14px; max-width: 620px; }
.artist .gear { grid-column: 1 / -1; }
.artist .stats { grid-column: 1 / -1; display: flex; gap: 24px; }
.artist .stats div { display: grid; }
.artist .stats b { font: 500 18px var(--font); }
.artist .stats span { font-size: 12px; color: var(--text-3); }
.sq-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.sq-grid a { aspect-ratio: 1; overflow: hidden; background: var(--surface); position: relative; }
.sq-grid img { width: 100%; height: 100%; object-fit: cover; }
.sq-grid .tag-edit { position: absolute; left: 6px; bottom: 6px; background: rgba(11, 14, 18, .8); }
@media (min-width: 900px) {
  .artist { grid-template-columns: auto minmax(0, 1fr) auto; padding-top: 44px; }
  .artist .stats { grid-column: 3; grid-row: 1 / span 2; }
  .sq-grid { grid-template-columns: repeat(5, 1fr); gap: 3px; }
}

/* ── 가입 · 로그인 · 연결 ── */
.auth-split { display: grid; }
.auth-photo { position: relative; aspect-ratio: 16 / 6; overflow: hidden; background: var(--surface); }
.auth-photo img { width: 100%; height: 100%; object-fit: cover; }
.auth-photo figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 10px var(--gut);
  font: 12px/1.5 var(--font); color: #d4d9df; background: linear-gradient(transparent, rgba(0, 0, 0, .55));
}
.auth { width: 100%; max-width: 460px; margin: 0 auto; padding: 26px var(--gut) 48px; }
.auth h1 { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; }
.auth .lead { margin-top: 6px; color: var(--text-2); font-size: 14px; }
.steps { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; font: 12.5px var(--font); color: var(--text-3); }
.steps b { color: var(--text); font-weight: 500; }
.steps i { width: 18px; height: 1px; background: var(--line-2); }
@media (min-width: 900px) {
  .auth-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); min-height: calc(100vh - var(--hd-h)); }
  .auth-split .auth { padding-top: 64px; }
  .auth-photo { aspect-ratio: auto; order: 2; }
  .auth-photo figcaption { padding: 16px 20px; }
}

.form { margin-top: 22px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field > label, .field .lbl { font-size: 13px; font-weight: 600; color: var(--text-2); }
.field .opt { font-weight: 400; color: var(--text-3); }
.input, .textarea, .select {
  width: 100%; height: 46px; padding: 0 12px;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-field); color: var(--text);
  outline: none;
}
.input:focus, .textarea:focus { border-color: var(--accent); }
.input.ok { border-color: rgba(65, 176, 124, .6); }
.input.err { border-color: rgba(224, 100, 90, .7); }
.input::placeholder, .textarea::placeholder { color: var(--text-3); }
.textarea { height: auto; min-height: 96px; padding: 10px 12px; resize: vertical; line-height: 1.55; }
.input-row { display: flex; gap: 6px; }
.input-row .btn { height: 46px; flex: none; }
.hint { font-size: 12px; color: var(--text-3); }
.hint.ok { color: var(--green); }
.hint.err { color: var(--red); }
.rules { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 12px; color: var(--text-3); }
.rules li { display: flex; align-items: center; gap: 4px; }
.rules li.ok { color: var(--green); }
.cb { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; font-size: 14px; }
.cb input { appearance: none; margin: 2px 0 0; width: 18px; height: 18px; flex: none; border: 1px solid var(--text-3); border-radius: 3px; background: transparent; display: grid; place-items: center; cursor: pointer; }
.cb input:checked { background: var(--accent); border-color: var(--accent); }
.cb input:checked::after { content: ""; width: 9px; height: 5px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: translateY(-1px) rotate(-45deg); }
.agree { border: 1px solid var(--line-2); border-radius: var(--r-panel); margin: 6px 0 20px; }
.agree .all { padding: 14px; border-bottom: 1px solid var(--line); font-weight: 600; }
.agree .row { display: flex; align-items: flex-start; gap: 10px; padding: 10px 14px; }
.agree .row .cb { flex: 1; }
.agree .req { font: 11px var(--font); color: var(--accent-hi); margin-right: 4px; }
.agree .opt2 { font: 11px var(--font); color: var(--text-3); margin-right: 4px; }
.agree .row small { display: block; color: var(--text-3); font-size: 12px; margin-top: 2px; }
.agree .row .textlink { font-size: 12px; flex: none; margin-top: 2px; }
.alt { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 16px; font-size: 13px; color: var(--text-2); }
.alt .sep { width: 1px; height: 12px; background: var(--line-2); align-self: center; }
.notice {
  display: flex; gap: 10px; padding: 12px 14px; margin: 16px 0;
  background: var(--bg-raise); border-left: 2px solid var(--line-2); font-size: 13px; color: var(--text-2);
}
.notice.info { border-left-color: var(--accent); }
.notice.warn { border-left-color: var(--amber); }
.notice.err { border-left-color: var(--red); }
.notice.ok { border-left-color: var(--green); }
.notice .ico { margin-top: 1px; }
.result { padding: 8px 0 4px; }
.result .mark { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: var(--r-panel); margin-bottom: 16px; }
.result .mark.ok { color: var(--green); border-color: rgba(65, 176, 124, .45); }
.result .mark.err { color: var(--red); border-color: rgba(224, 100, 90, .45); }
.result .mark.wait { color: var(--amber); border-color: rgba(217, 161, 68, .45); }
.result .actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.mailbox { margin-top: 16px; padding: 14px; background: var(--surface); border-radius: var(--r-panel); font: 13px var(--font); color: var(--text); }

.code { display: flex; align-items: center; gap: 6px; margin: 6px 0 4px; }
.code input {
  width: 100%; max-width: 46px; height: 56px; text-align: center; text-transform: uppercase;
  font: 500 22px var(--font); background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-field); color: var(--text);
}
.code input.filled { border-color: var(--text-3); }
.code .dash { width: 10px; height: 2px; background: var(--text-3); flex: none; }
.device {
  display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 4px 12px; align-items: center;
  padding: 16px; margin-top: 18px; background: var(--bg-raise); border: 1px solid var(--line-2); border-radius: var(--r-panel);
}
.device .di { grid-row: span 2; width: 44px; height: 44px; display: grid; place-items: center; background: var(--surface-2); border-radius: var(--r-field); color: var(--text-2); }
.device b { font-size: 15px; }
.device span { font-size: 13px; color: var(--text-2); }
.kv { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 6px 16px; margin-top: 14px; font-size: 13.5px; }
.kv dt { color: var(--text-3); }
.kv dd { margin: 0; }

/* ── 내 정보 계열 (내 정보 · 내 사진 · 정품 · 알림) ── */
.acct { padding-top: 18px; }
.acct-side { margin-bottom: 4px; }
.acct-side .me { display: none; }
.acct h1 { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin: 18px 0 4px; }
.acct .sub { color: var(--text-2); font-size: 14px; }
@media (min-width: 900px) {
  .acct { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 56px; padding-top: 40px; }
  .acct-side .me { display: flex; gap: 10px; align-items: center; margin-bottom: 18px; }
  .acct-side .me b { display: block; font-size: 14px; }
  .acct-side .me span { font-size: 12px; color: var(--text-3); }
  .acct-side .tabs { flex-direction: column; gap: 0; border-bottom: 0; border-left: 1px solid var(--line); overflow: visible; }
  .acct-side .tabs a { padding: 9px 0 9px 16px; font-weight: 500; font-size: 14px; }
  .acct-side .tabs a.on::after { left: -1px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .acct h1 { margin-top: 0; }
  .acct-main { max-width: 820px; }
}
.panel { border-top: 1px solid var(--line); padding: 22px 0 24px; margin-top: 22px; }
.panel > h2 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.panel > .desc { color: var(--text-3); font-size: 13px; margin-bottom: 14px; }
.profile-edit { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: center; margin-bottom: 18px; }
.av-edit { display: grid; gap: 6px; min-width: 0; }
.av-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.av-btns label { cursor: pointer; }
.av-btns label:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.rows .row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); }
.rows .row .ra:empty { display: none; }
.rows .row .ra { grid-column: 2; margin-left: -10px; }
@media (min-width: 640px) {
  .rows .row { grid-template-columns: auto minmax(0, 1fr) auto; }
  .rows .row .ra { grid-column: auto; margin-left: 0; }
}
.rows .row:first-child { border-top: 1px solid var(--line); }
.rows .row .ri { width: 40px; height: 40px; display: grid; place-items: center; background: var(--surface); border-radius: var(--r-field); color: var(--text-2); }
.rows .row .rt { min-width: 0; }
.rows .row .rt b { font-size: 15px; font-weight: 600; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rows .row .rt > span { display: block; font-size: 12.5px; color: var(--text-3); }
.rows .row .ra { display: flex; gap: 4px; }
.rows .row .ra .btn { height: 34px; padding: 0 10px; font-size: 13px; font-weight: 500; }
.rows .row .ra .btn-txt { color: var(--text-2); }
.danger-zone { margin-top: 28px; font-size: 13px; color: var(--text-3); }
.danger-zone a { color: var(--red); }

.st { display: inline-block; font: 600 11px/18px var(--font); padding: 0 6px; border-radius: var(--r-tag); border: 1px solid var(--line-2); color: var(--text-2); white-space: nowrap; }
.st-ok { color: var(--green); border-color: rgba(65, 176, 124, .45); }
.st-wait { color: var(--amber); border-color: rgba(217, 161, 68, .45); }
.st-no { color: var(--red); border-color: rgba(224, 100, 90, .5); }
.st-lic { border-radius: 999px; background: var(--green); border-color: var(--green); color: #07150e; padding: 0 9px; font-weight: 600; }

/* 내 사진 */
.ph-list .item { display: grid; grid-template-columns: 72px minmax(0, 1fr) auto; gap: 4px 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: start; }
.ph-list .item .th { width: 72px; height: 72px; overflow: hidden; background: var(--surface); grid-row: span 2; }
.ph-list .item .th img { width: 100%; height: 100%; object-fit: cover; }
.ph-list .item .tt b { font-size: 15px; font-weight: 600; display: block; }
.ph-list .item .tt span { font: 12.5px var(--font); color: var(--text-3); }
.ph-list .item .why { grid-column: 2 / -1; font-size: 13px; color: var(--text-2); }
.ph-list .item .why b { color: var(--red); font-weight: 600; }
.ph-list .item .ctl { grid-column: 2 / -1; display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 6px; font-size: 13px; }
/* 내 사진: 제목 · 설명 · 장르 고치기(펼침) */
.ph-list .item .edit-box { grid-column: 2 / -1; margin-top: 2px; }
/* 정품 1년 무료 안내로 가는 알약(갤러리 첫 화면 · Radar 안내) · 머리줄 메뉴 금빛 */
.free-pill { display: inline-flex; align-items: center; gap: 6px; justify-self: start; margin-top: 4px; padding: 6px 10px 6px 9px; border: 1px solid rgba(217, 161, 68, .45); border-radius: var(--r-btn); background: rgba(217, 161, 68, .08); color: var(--text); font-size: 13px; font-weight: 600; }
.free-pill .ico:first-child { color: var(--amber); }
.free-pill:hover { background: rgba(217, 161, 68, .14); }
.nav .nav-free { color: var(--amber); }
.nav .nav-free.on { color: var(--text); }

/* ── 정품 1년 무료 안내(/free) — 금빛은 앱의 "쇼케이스" 단추와 같은 계열 ── */
.promo { padding-bottom: 28px; overflow-wrap: anywhere; }
/* 단어 단위 줄바꿈은 한국어만(띄어쓰기 없는 일본어에 걸면 줄이 이상하게 끊김) */
.promo:lang(ko) { word-break: keep-all; }
.pr-hero { padding: 44px 0 34px; border-bottom: 1px solid var(--line);
  background: radial-gradient(110% 90% at 88% 0%, rgba(217, 161, 68, .11), transparent 55%), radial-gradient(90% 80% at 0% 100%, rgba(58, 132, 236, .09), transparent 60%); }
.pr-eyebrow { font: 600 13px var(--font); letter-spacing: .03em; color: var(--amber); }
.pr-hero h1 { margin-top: 12px; font-size: clamp(30px, 6.6vw, 46px); line-height: 1.22; font-weight: 800; letter-spacing: -0.03em; }
.pr-lead { margin-top: 14px; max-width: 640px; font-size: 15.5px; line-height: 1.75; color: var(--text-2); }
.pr-cta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.pr-strip { padding: 30px 0 4px; }
.pr-strip-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.pr-strip-h h2 { font-size: 14px; font-weight: 600; color: var(--text-2); }
.pr-strip-row { display: flex; gap: 6px; overflow-x: auto; padding: 12px var(--gut) 4px; scrollbar-width: none; }
.pr-strip-row::-webkit-scrollbar { display: none; }
.pr-strip-row a { flex: none; height: 140px; aspect-ratio: var(--a, 1.5); background: var(--surface); }
.pr-strip-row img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pr-sec { padding: 42px 0 6px; }
.pr-h { margin-bottom: 14px; font-size: 13px; font-weight: 600; letter-spacing: .03em; color: var(--amber); }
.pr-faq details { padding: 15px 0; border-bottom: 1px solid var(--line); }
.pr-faq details:first-of-type { border-top: 1px solid var(--line); }
.pr-faq summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; cursor: pointer; list-style: none; font-size: 15px; font-weight: 600; }
.pr-faq summary::-webkit-details-marker { display: none; }
.pr-faq summary .ico { flex: none; color: var(--text-3); transition: transform .15s; }
.pr-faq details[open] summary .ico { transform: rotate(180deg); }
.pr-faq details p { margin-top: 10px; font-size: 14.5px; line-height: 1.75; color: var(--text-2); }
.pr-end { margin-top: 48px; padding: 36px 20px; text-align: center; border: 1px solid var(--line); border-radius: var(--r-sheet); background: linear-gradient(180deg, rgba(217, 161, 68, .08), transparent 75%); }
.pr-end h2 { font-size: clamp(21px, 4.6vw, 27px); font-weight: 700; letter-spacing: -0.02em; }
.pr-end p { margin-top: 8px; color: var(--text-2); }
.pr-end .pr-cta { justify-content: center; }

/* 바닥줄 언어 고르기 */
.ft .langs { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 12px; font-size: 13px; }
.ft .langs a { color: var(--text-3); }
.ft .langs a.on { color: var(--text); font-weight: 600; }
.ph-list .item .edit-box > summary { display: inline-flex; align-items: center; gap: 6px; cursor: pointer; list-style: none; font-size: 13px; color: var(--accent-hi); }
.ph-list .item .edit-box > summary::-webkit-details-marker { display: none; }
.ph-list .item .edit-box[open] > summary { color: var(--text-2); margin-bottom: 10px; }
.ph-list .item .edit-box form { max-width: 560px; padding: 14px 14px 16px; border: 1px solid var(--line); border-radius: var(--r-panel); background: var(--surface); }
.ph-list .item .edit-box .field:last-of-type { margin-bottom: 14px; }
@media (max-width: 599px) { .ph-list .item .edit-box[open] { grid-column: 1 / -1; } }
.switch { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; color: var(--text-2); }
.switch i { width: 30px; height: 18px; border-radius: var(--r-field); background: var(--line-2); position: relative; flex: none; }
.switch i::after { content: ""; position: absolute; top: 2px; left: 2px; width: 14px; height: 14px; border-radius: var(--r-tag); background: var(--text-3); transition: left .15s; }
.switch.on i { background: var(--accent); }
.switch.on i::after { left: 14px; background: #fff; }

/* 정품 활성화 — 필름 30칸 */
.meter { margin-top: 18px; max-width: 560px; }
.meter .top { display: flex; align-items: baseline; gap: 8px; margin-bottom: 10px; }
.meter .big { font: 500 38px/1 var(--font); letter-spacing: -0.02em; }
.meter .of { font: 500 15px var(--font); color: var(--text-3); }
.meter .lbl { margin-left: auto; font-size: 13px; color: var(--text-2); }
.frames { display: grid; grid-template-columns: repeat(15, 1fr); gap: 3px; }
.frames i { aspect-ratio: 3 / 2; border: 1px solid var(--line-2); border-radius: 1px; }
.frames i.ok { background: var(--text-2); border-color: var(--text-2); }
.frames i.wait { border-color: var(--amber); background: repeating-linear-gradient(45deg, rgba(217, 161, 68, .7) 0 2px, transparent 2px 5px); }
.days { display: grid; grid-template-columns: repeat(14, 1fr); gap: 3px; }
.days i { height: 8px; background: var(--line-2); }
.days i.ok { background: var(--text-2); }
.legend { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 10px; font-size: 12px; color: var(--text-3); }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.legend i { width: 12px; height: 8px; border: 1px solid var(--line-2); }
.legend i.ok { background: var(--text-2); border-color: var(--text-2); }
.legend i.wait { border-color: var(--amber); background: repeating-linear-gradient(45deg, rgba(217, 161, 68, .7) 0 2px, transparent 2px 4px); }
.flow { counter-reset: s; display: grid; gap: 0; margin-top: 8px; }
.flow li { counter-increment: s; display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 2px 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.flow li::before { content: "0" counter(s); font: 500 12px/22px var(--font); color: var(--text-3); grid-row: span 2; }
.flow li b { font-size: 14px; font-weight: 600; }
.flow li span { font-size: 13px; color: var(--text-3); }
.flow li.done::before { color: var(--green); }
.flow li.now b { color: var(--text); }
.flow li.now::before { color: var(--amber); }
.lic-card { margin-top: 18px; padding: 18px; border: 1px solid var(--line-2); border-radius: var(--r-panel); background: var(--bg-raise); display: grid; gap: 12px; }
.lic-card .hd2 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.lic-card .hd2 b { font-size: 16px; }
.lic-card .until { font: 500 22px var(--font); }

/* 알림 */
.nt-group { margin-top: 18px; font: 600 12px var(--font); color: var(--text-3); padding-bottom: 6px; }
.nt { display: grid; grid-template-columns: 8px 32px minmax(0, 1fr) auto; gap: 12px; align-items: start; padding: 13px 0; border-top: 1px solid var(--line); font-size: 14px; }
.nt .dot { width: 6px; height: 6px; border-radius: 50%; margin-top: 12px; }
.nt.new .dot { background: var(--accent); }
.nt .ni { width: 32px; height: 32px; display: grid; place-items: center; background: var(--surface); border-radius: var(--r-field); color: var(--text-2); }
.nt .ni.ok { color: var(--green); }
.nt .ni.no { color: var(--red); }
.nt p { color: var(--text-2); }
.nt p b { color: var(--text); font-weight: 600; }
.nt .reason { display: block; margin-top: 4px; font-size: 13px; color: var(--text-3); }
.nt time { font: 11.5px var(--font); color: var(--text-3); white-space: nowrap; margin-top: 3px; }
.nt .th { width: 40px; height: 40px; overflow: hidden; }
.nt .th img { width: 100%; height: 100%; object-fit: cover; }

/* 대화 */
.later { display: inline-block; font: 600 11px/18px var(--font); color: var(--amber); border: 1px solid rgba(217, 161, 68, .45); border-radius: var(--r-tag); padding: 0 6px; vertical-align: middle; margin-left: 6px; }
.dm { display: grid; margin-top: 14px; border-top: 1px solid var(--line); }
.dm-list a { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; gap: 2px 12px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: center; }
.dm-list a b { font-size: 14px; font-weight: 600; }
.dm-list a p { grid-column: 2; font-size: 13px; color: var(--text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dm-list a .av { grid-row: span 2; }
.dm-list a time { font: 11.5px var(--font); color: var(--text-3); }
.dm-list a .unread { grid-column: 3; justify-self: end; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: #fff; font: 600 10px/18px var(--font); text-align: center; }
.dm-list a.on { background: var(--bg-raise); }
.chat { display: flex; flex-direction: column; min-height: 520px; }
.chat-hd { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.chat-hd b { font-size: 15px; }
.chat-body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 18px 0; }
.chat-day { align-self: center; font: 11px var(--font); color: var(--text-3); margin: 4px 0; }
.msg { max-width: 78%; padding: 9px 12px; border-radius: var(--r-btn); background: var(--surface-2); font-size: 14px; }
.msg.them { border-bottom-left-radius: var(--r-tag); }
.msg.me { margin-left: auto; background: var(--accent); color: #fff; border-bottom-right-radius: var(--r-tag); }
.msg-time { font: 10.5px var(--font); color: var(--text-3); }
.msg-time.me { align-self: flex-end; }
.msg-photo { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px; align-items: center; max-width: 78%; padding: 8px; border: 1px solid var(--line-2); border-radius: var(--r-panel); font-size: 13px; }
.msg-photo img { width: 64px; height: 48px; object-fit: cover; }
.chat-form { display: flex; gap: 8px; padding: 12px 0; border-top: 1px solid var(--line); }
.chat-form .input { height: 44px; }
@media (min-width: 900px) {
  .dm { grid-template-columns: 320px minmax(0, 1fr); border: 1px solid var(--line); border-radius: var(--r-panel); }
  .dm-list { border-right: 1px solid var(--line); }
  .dm-list a { padding: 12px 16px; }
  .chat { padding: 0 20px; min-height: 620px; }
  .dm-list.keep-d.is-off { display: block !important; }
  .chat.keep-d.is-off { display: flex !important; }
  .chat-hd .icon-btn:first-child { display: none; }
}

/* 이용 기준 */
.doc { padding-block: 30px 10px; }
.doc h1 { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; }
.doc .lead { margin-top: 8px; color: var(--text-2); }
.doc .upd { margin-top: 8px; font: 12.5px var(--font); color: var(--text-3); }
.doc h2 { display: flex; gap: 12px; align-items: baseline; font-size: 18px; font-weight: 700; margin: 36px 0 10px; padding-top: 18px; border-top: 1px solid var(--line); }
.doc h2 .no { font: 500 13px var(--font); color: var(--text-3); }
.doc p, .doc li { color: var(--text-2); font-size: 15px; }
.doc ul.dots li { position: relative; padding-left: 14px; margin: 6px 0; }
.doc ul.dots li::before { content: ""; position: absolute; left: 0; top: .72em; width: 5px; height: 1px; background: var(--text-3); }
.tbl-wrap { overflow-x: auto; margin-top: 12px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 520px; }
.tbl th, .tbl td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.tbl th { font-size: 12px; font-weight: 600; color: var(--text-3); }
.tbl td:first-child { white-space: nowrap; }
.tbl code { font: 12px var(--font); color: var(--amber); }

/* 빈 상태 · 오류 */
.empty { padding: 56px 0 24px; max-width: 480px; display: grid; justify-items: start; gap: 12px; }
.empty .frame { width: 88px; height: 64px; border: 1px solid var(--line-2); position: relative; color: var(--text-3); display: grid; place-items: center; }
.empty .frame::before, .empty .frame::after { content: ""; position: absolute; left: 6px; right: 6px; height: 4px; background: repeating-linear-gradient(90deg, var(--line-2) 0 4px, transparent 4px 9px); }
.empty .frame::before { top: 4px; }
.empty .frame::after { bottom: 4px; }
.empty h1, .empty h2 { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.empty p { color: var(--text-2); font-size: 14px; }
.empty .big404 { font: 500 64px/1 var(--font); letter-spacing: -0.04em; color: var(--text-3); }

/* 신고 창 · 시트 */
.dim { position: fixed; inset: 0; background: rgba(4, 6, 8, .66); z-index: 40; }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 41; max-height: 88vh; overflow: auto;
  background: var(--surface); border-radius: var(--r-sheet) var(--r-sheet) 0 0; padding: 10px var(--gut) calc(20px + env(safe-area-inset-bottom, 0px));
}
.sheet .grab { width: 36px; height: 4px; border-radius: 2px; background: var(--line-2); margin: 0 auto 12px; }
.sheet h2 { font-size: 17px; font-weight: 700; }
.sheet .sub { font-size: 13px; color: var(--text-3); margin-top: 2px; }
.radio-list { margin: 14px 0; border-top: 1px solid var(--line); }
.radio-list label { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.radio-list input { appearance: none; margin: 3px 0 0; width: 18px; height: 18px; flex: none; border: 1px solid var(--text-3); border-radius: 50%; display: grid; place-items: center; }
.radio-list input:checked { border-color: var(--accent); }
.radio-list input:checked::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.radio-list b { display: block; font-size: 14px; font-weight: 600; }
.radio-list span { font-size: 12.5px; color: var(--text-3); }
.sheet .acts { display: grid; grid-template-columns: 1fr 2fr; gap: 8px; margin-top: 14px; }
@media (min-width: 900px) {
  .sheet { left: 50%; top: 50%; bottom: auto; right: auto; transform: translate(-50%, -50%); width: 460px; border-radius: var(--r-dialog); padding: 22px 24px; border: 1px solid var(--line-2); }
  .sheet .grab { display: none; }
}


/* ── 실제 사이트 추가분 ── */
.flash { margin: 14px 0 0; }
.field .err-msg { font-size: 12px; color: var(--red); }
.auth-panel {
  position: relative; display: grid; align-content: end; gap: 10px; padding: 28px var(--gut);
  background: var(--bg-raise); border-bottom: 1px solid var(--line); min-height: 180px; overflow: hidden;
}
.auth-panel::before, .auth-panel::after {
  content: ""; position: absolute; left: 0; right: 0; height: 10px;
  background: repeating-linear-gradient(90deg, var(--line-2) 0 10px, transparent 10px 22px);
}
.auth-panel::before { top: 14px; }
.auth-panel::after { bottom: 14px; }
.auth-panel img { width: 44px; height: 44px; }
.auth-panel b { font-size: 18px; letter-spacing: -0.02em; }
.auth-panel p { color: var(--text-2); font-size: 14px; max-width: 420px; }
@media (max-width: 899px) {
  /* 폰: 입력 칸이 먼저 보이게 안내 판은 짧게 */
  .auth-panel { min-height: 0; padding: 30px var(--gut) 30px; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 12px; }
  .auth-panel img { width: 32px; height: 32px; }
  .auth-panel b { font-size: 15px; }
  .auth-panel b br { display: none; }
  .auth-panel p { display: none; }
}
@media (min-width: 900px) {
  .auth-panel { order: 2; border-bottom: 0; border-left: 1px solid var(--line); padding: 56px; align-content: center; }
  .auth-panel b { font-size: 26px; }
}
.empty-gallery { padding: 40px 0 8px; display: grid; justify-items: start; gap: 12px; max-width: 520px; }
.empty-gallery h2 { font-size: 18px; font-weight: 700; }
.empty-gallery p { color: var(--text-2); font-size: 14px; }
.inline-form { display: inline; }
.btn-txt { background: none; border: 0; color: var(--text-2); cursor: pointer; }

select.sel { appearance: none; -webkit-appearance: none; padding-right: 30px; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a3adb9' stroke-width='1.6'%3E%3Cpath d='M7 10l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 8px center / 16px; }
select.sel option { background: var(--surface); color: var(--text); }
label.sel { cursor: pointer; }
.pd-canvas { opacity: 0; transition: opacity .25s; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.pd-canvas.ready { opacity: 1; }
.jg figcaption a.who:hover { color: var(--text); }

/* Radar 앱 안 창(웹뷰) — 메뉴 · 바닥줄 · 아래 탭 없이 */
.appbar .wrap { gap: 12px; }
.app-mode .auth-panel { display: none; }
.app-mode .auth-split { min-height: 0; grid-template-columns: 1fr; }
.app-mode .auth { padding-top: 22px; }

/* 시작하기(/start) — 앱 버튼 이름은 단추 모양(.ui, 금색 쇼케이스 버튼은 .gold) */
.ui { display: inline-block; padding: 0 6px; border: 1px solid var(--line-2); border-radius: var(--r-tag); background: var(--surface); font-size: .9em; font-weight: 600; line-height: 1.6; color: var(--text); white-space: nowrap; vertical-align: 1px; }
.ui.gold { color: var(--amber); border-color: rgba(217, 161, 68, .5); }

/* ── 앱 "쇼케이스 소개"와 같은 장식(photoKamQt 1.0.235 · handoff/showcase-design/tokens.md) — 금빛 · 색종이 · 인화지 · 도장 카드 ──
   움직이는 것은 "다음 도장 칸 숨쉬기"뿐(줄인 움직임 설정이면 끔) */
:root { --gold1: #e9c46a; --gold2: #d98b3a; --gold-ink: #1b1307; --gold-soft: rgba(233, 196, 106, .14); --gold-line: rgba(233, 196, 106, .35); --ok-dot: #3fbf80; }
.f-han { font-family: "Black Han Sans", var(--font); font-weight: 400; letter-spacing: 0; }
.f-jua { font-family: "Jua", var(--font); font-weight: 400; letter-spacing: 0; }
:lang(ja) .f-han, :lang(ja) .f-jua { font-family: var(--font); font-weight: 800; }
.gold { color: var(--gold1); }
.btn-gold { border: 0; border-radius: 8px; color: var(--gold-ink); background: linear-gradient(180deg, #e9c46a, #d98b3a); font-weight: 700; }
.btn-gold:hover { color: var(--gold-ink); background: linear-gradient(180deg, #f3d27e, #ea9a4c); }
.btn-gold:active { background: linear-gradient(180deg, #d2a64e, #b8682c); }
.cf { position: absolute; width: 8px; height: 4px; border-radius: 1px; pointer-events: none; }

/* 사진전 초대장(/free 머리) */
.inv-wrap { padding: 28px 0 6px; }
.inv { display: grid; grid-template-columns: minmax(0, 1fr); border: 1px solid #2e3b4d; border-radius: 14px; background: #1c2530; overflow: hidden; box-shadow: 0 24px 64px rgba(0, 0, 0, .45); }
@media (min-width: 820px) { .inv { grid-template-columns: 380px minmax(0, 1fr); } }
.inv-art { position: relative; height: 340px; background: linear-gradient(180deg, #2c3a4c, #141b24); overflow: hidden; }
@media (min-width: 820px) { .inv-art { height: auto; min-height: 460px; } }
.print { position: absolute; margin: 0; padding: 7px 7px 20px; background: #f4f1ea; box-shadow: 0 8px 22px rgba(0, 0, 0, .45); }
.print img { display: block; width: 100%; height: 100%; object-fit: cover; }
.print .tape { position: absolute; left: 50%; top: -7px; width: 46px; height: 14px; margin-left: -23px; background: rgba(233, 196, 106, .55); transform: rotate(-4deg); }
.print.p1 { left: 7%; top: 8%; width: 52%; aspect-ratio: 150 / 120; transform: rotate(-7deg); }
.print.p2 { left: 45%; top: 26%; width: 46%; aspect-ratio: 132 / 160; transform: rotate(5deg); z-index: 2; }
.print.p3 { left: 9%; top: 57%; width: 52%; aspect-ratio: 150 / 104; transform: rotate(-2deg); }
.ok-tag { position: absolute; right: -10px; bottom: 30px; padding: 3px 11px; border-radius: 999px; background: linear-gradient(180deg, #e9c46a, #d98b3a); color: var(--gold-ink); font-size: 14px; transform: rotate(-8deg); box-shadow: 0 2px 8px rgba(0, 0, 0, .35); }
.inv-body { padding: 26px 20px 24px; min-width: 0; }
@media (min-width: 820px) { .inv-body { padding: 42px 40px 36px; } }
.inv-eyebrow { font: 700 12.5px var(--font); letter-spacing: .02em; color: var(--gold1); }
.inv-title { margin-top: 10px; font-size: clamp(32px, 6vw, 46px); line-height: 1.12; color: var(--text); }
.inv-title span { display: block; }
.inv-lead { margin-top: 14px; max-width: 560px; font-size: 15px; line-height: 1.7; color: var(--text-2); }

/* 도장 카드 상자(/free · /me/activation) */
.stampbox { border: 1px solid #2e3b4d; border-radius: 14px; background: #1c2530; overflow: hidden; }
.sb-band { position: relative; padding: 24px 26px 22px; overflow: hidden; background: linear-gradient(90deg, #3a2a12, #2a1f14 45%, #1c2530); border-bottom: 1px solid rgba(233, 196, 106, .25); }
.sb-title { margin-top: 6px; font-size: clamp(26px, 5vw, 34px); line-height: 1.18; color: #e8edf3; }
.sb-title span { display: block; }
.sb-body { margin-top: 8px; max-width: 460px; font-size: 14px; color: #9aa7b8; }
.sb-in { padding: 18px 26px 0; }
.sb-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 12px; padding: 16px 26px 22px; font-size: 13px; color: var(--text-3); }
@media (max-width: 520px) { .sb-band, .sb-in, .sb-foot { padding-left: 16px; padding-right: 16px; } }
.stampcard { padding: 14px; border: 1px solid var(--gold-line); border-radius: 12px; background: #17202a; }
.sc-top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 4px 12px; margin-bottom: 12px; }
.sc-top b { font-size: 17px; color: var(--text); }
.sc-top span { font-size: 12.5px; color: var(--text-3); }
.stamps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 560px) { .stamps { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
.stamp { position: relative; aspect-ratio: 1; display: grid; place-items: center; border: 1.6px dashed #43546a; border-radius: 50%; font-size: 11px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.stamp.wait { border: 2px dashed var(--gold1); color: var(--gold1); }
.stamp.next { border: 1.6px solid var(--gold1); color: var(--gold1); }
.stamp.next::after { content: ""; position: absolute; inset: -6px; border: 4px solid rgba(233, 196, 106, .16); border-radius: 50%; animation: st-breathe .8s ease-in-out infinite alternate; }
@keyframes st-breathe { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .stamp.next::after { animation: none; } }
.stamp.on, .stamp.goal { border: 0; background: linear-gradient(180deg, #e9c46a, #d98b3a); color: var(--gold-ink); }
.stamp .star { font-size: clamp(12px, 2.2vw, 18px); line-height: 1; }
.stamp .ck { position: absolute; right: -2px; bottom: -2px; width: 13px; height: 13px; border: 1.5px solid #17202a; border-radius: 50%; background: var(--ok-dot); }
.stamp .ck::after { content: ""; position: absolute; left: 3.4px; top: 1.4px; width: 3px; height: 6px; border: solid #fff; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.stamp.goal span { font-size: clamp(9px, 1.5vw, 12px); line-height: 1.05; text-align: center; }
.sc-legend { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 12px; font-size: 12px; color: var(--text-3); }
.sc-legend span { display: inline-flex; align-items: center; gap: 6px; }
.sc-legend i { width: 11px; height: 11px; border-radius: 50%; }
.sc-legend .lg-on { background: var(--ok-dot); }
.sc-legend .lg-wait { border: 2px solid var(--gold1); }
.sc-legend .lg-goal { background: var(--gold2); }

/* 단계 상자(번호 동그라미, 마지막 = 금빛) · 정품 조건 큰 숫자 · 올라가는 것 */
.steps4 { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 640px) { .steps4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 980px) { .steps4 { grid-template-columns: repeat(4, minmax(0, 1fr)); } .steps4.acts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.steps4 li { display: grid; align-content: start; gap: 6px; padding: 14px 15px 16px; border: 1px solid #263241; border-radius: 10px; background: #222c39; counter-increment: st4; }
.steps4 { counter-reset: st4; }
.steps4 .no { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: #2e3b4d; color: var(--text-3); font: 600 11px var(--font); font-style: normal; }
.steps4 .no:empty::before { content: counter(st4); }
.steps4 b { font-size: 15px; font-weight: 700; }
.steps4 span { font-size: 13.5px; line-height: 1.6; color: var(--text-2); }
.steps4 li.goal { border-color: rgba(233, 196, 106, .4); background: var(--gold-soft); }
.steps4 li.goal .no, .steps4 li.now .no { background: var(--gold1); color: var(--gold-ink); }
.steps4 li.now { border-color: rgba(233, 196, 106, .55); }
.steps4 li.done .no { background: var(--ok-dot); color: #fff; }
.steps4 li.done .no:empty::before { content: "✓"; }
.party .pr-h { color: var(--gold1); }
.party .stampbox { max-width: 760px; margin-inline: auto; }
.lic-card { border-color: var(--gold-line); background: linear-gradient(135deg, rgba(233, 196, 106, .10), transparent 60%), var(--bg-raise); }
.stampbox + .lic-card, .stampbox + .notice { margin-top: 16px; }

/* ── 시작하기 · 이용 기준 · 정품 1년 무료(대표 2026-10-30 시안 확정) — 머리 · 차례 줄기 · 한눈에 · 정리형 ── */
.wrap.mid { max-width: 1120px; }
.page-head { padding-top: 34px; }
.page-head h1 { margin-top: 8px; font-size: clamp(32px, 6vw, 44px); line-height: 1.12; color: var(--text); text-wrap: balance; }
.page-head .lead { max-width: 62ch; margin-top: 12px; font-size: 15.5px; line-height: 1.7; color: var(--text-2); }
.page-head .meta { margin-top: 6px; font-size: 12.5px; color: var(--text-3); }
.route { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 20px 0 0; padding: 0; list-style: none; }
.route li { display: flex; align-items: center; gap: 6px; }
.route li + li::before { content: ""; width: 14px; height: 1px; background: var(--line-2); }
.route a { display: inline-flex; align-items: center; gap: 7px; height: 32px; padding: 0 12px 0 5px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 13px; color: var(--text-2); white-space: nowrap; }
.route a:hover { border-color: var(--text-3); color: var(--text); }
.route b { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: var(--surface-2); font-size: 11px; color: var(--text); }
.route .goal a { border-color: rgba(233, 196, 106, .5); color: var(--gold1); }
.route .goal b { background: linear-gradient(180deg, var(--gold1), var(--gold2)); color: var(--gold-ink); }
.trail { margin: 44px 0 0; padding: 0; list-style: none; }
.trail-step { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr) minmax(0, 380px); gap: 0 28px; padding-bottom: 48px; scroll-margin-top: calc(var(--hd-h) + 16px); }
.trail-step::before { content: ""; position: absolute; left: 21px; top: 50px; bottom: 6px; width: 2px; border-radius: 1px; background: var(--line-2); }
.trail-step:nth-last-child(2)::before { background: linear-gradient(var(--line-2), rgba(233, 196, 106, .6)); }
.trail-step:last-child { padding-bottom: 36px; }
.trail-step:last-child::before { display: none; }
.trail-node { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; background: var(--surface); font-size: 16px; font-weight: 800; }
.trail-step.goal .trail-node { border: 0; background: linear-gradient(180deg, var(--gold1), var(--gold2)); color: var(--gold-ink); }
.trail-text { min-width: 0; }
.trail-text h2 { padding-top: 7px; font-size: 21px; font-weight: 800; letter-spacing: -0.02em; text-wrap: balance; }
.trail-step.goal .trail-text h2 { color: var(--gold1); }
.trail-text > p { max-width: 58ch; margin-top: 8px; font-size: 15px; line-height: 1.75; color: var(--text-2); }
.trail-text > p.fine { font-size: 13px; line-height: 1.65; color: var(--text-3); }
.row-btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.trail-tips { display: grid; gap: 4px; margin: 10px 0 0; padding: 0; list-style: none; }
.trail-tips li { position: relative; padding-left: 12px; font-size: 13.5px; line-height: 1.65; color: var(--text-3); }
.trail-tips li::before { content: ""; position: absolute; left: 0; top: .8em; width: 5px; height: 1px; background: var(--text-3); }
.trail-art { align-self: start; min-width: 0; margin: 4px 0 0; }
@media (max-width: 980px) { .trail-step { grid-template-columns: 44px minmax(0, 1fr); } .trail-art { grid-column: 2; max-width: 440px; margin-top: 16px; } }
@media (max-width: 520px) {
  .trail-step { grid-template-columns: 34px minmax(0, 1fr); gap: 0 14px; padding-bottom: 36px; }
  .trail-node { width: 34px; height: 34px; font-size: 14px; }
  .trail-step::before { left: 16px; top: 40px; }
  .trail-text h2 { padding-top: 3px; font-size: 18px; }
}
.keep2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; max-width: 560px; margin-top: 16px; }
.keep2 > div { display: grid; align-content: start; gap: 4px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; font-size: 13px; color: var(--text-2); }
.keep2 b { display: flex; align-items: center; gap: 6px; margin-bottom: 2px; font-size: 13.5px; color: var(--text); }
.keep2 .yes .ico { color: var(--ok-dot); }
.keep2 .no .ico { color: var(--text-3); }
@media (max-width: 520px) { .keep2 { grid-template-columns: 1fr; } }
/* 단계 옆 작은 그림 — 앱 화면을 줄여 그린 것(캡처가 오면 바꿔 넣는 자리) */
.ill-wm { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ill-wm > div { position: relative; overflow: hidden; border-radius: 6px; background: var(--surface); }
.ill-wm img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.ill-wm-t { position: absolute; inset: 0 0 28px; display: grid; place-items: center; font-style: normal; font-size: 12px; font-weight: 700; color: rgba(255, 255, 255, .6); transform: rotate(-22deg); text-shadow: 0 1px 2px rgba(0, 0, 0, .5); white-space: nowrap; }
.ill-wm figcaption { padding: 6px 10px; font-size: 12px; color: var(--text-3); }
.ill-app, .ill-dlg { overflow: hidden; border: 1px solid #2e3b4d; border-radius: 10px; }
.ill-app { background: #0f141a; }
.ill-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; height: 40px; padding: 0 10px; border-bottom: 1px solid var(--line); background: #141b23; font-size: 12px; color: var(--text-3); }
.ill-btns { display: flex; gap: 6px; }
.ill-b { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: 6px; font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--text); white-space: nowrap; }
.ill-b.gold { border: 0; background: linear-gradient(180deg, var(--gold1), var(--gold2)); color: var(--gold-ink); }
.ill-b.blue { border: 0; background: var(--accent); color: #fff; }
.ill-b.ring { box-shadow: 0 0 0 4px rgba(233, 196, 106, .22); }
.ill-body { position: relative; }
.ill-body img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; opacity: .5; }
.ill-pop { position: absolute; right: 12px; top: 12px; width: min(64%, 240px); display: grid; gap: 6px; padding: 12px; border: 1px solid #2e3b4d; border-radius: 10px; background: #1c2530; box-shadow: 0 12px 30px rgba(0, 0, 0, .5); font-size: 12px; }
.ill-pop b { font-size: 12.5px; }
.ill-pop span { color: var(--text-3); }
.ill-pop .ill-b { justify-self: start; }
.ill-dlg { background: #1c2530; font-size: 12px; }
.ill-dlg-hd, .ill-dlg-ft { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; }
.ill-dlg-hd { border-bottom: 1px solid #2e3b4d; }
.ill-dlg-hd i { font-style: normal; color: var(--text-3); }
.ill-dlg-ft { border-top: 1px solid #2e3b4d; }
.ill-dlg-bd { display: grid; grid-template-columns: 38% minmax(0, 1fr); gap: 12px; padding: 12px; }
.ill-dlg-l, .ill-dlg-r { display: grid; align-content: start; gap: 4px; min-width: 0; }
.ill-dlg-l img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.ill-lb { font-size: 11px; color: var(--text-3); }
.ill-fld { padding: 5px 8px; border: 1px solid var(--line-2); border-radius: 5px; background: #121820; font-style: normal; }
.ill-chips { display: flex; flex-wrap: wrap; gap: 4px; }
.ill-chips i { padding: 2px 8px; border: 1px solid var(--line-2); border-radius: 5px; font-style: normal; color: var(--text-3); }
.ill-chips i.on { border-color: var(--text-3); background: var(--surface-2); color: var(--text); }
.ill-tg { display: flex; align-items: center; gap: 6px; margin-top: 2px; }
.ill-sw { position: relative; flex: none; width: 22px; height: 12px; border-radius: 999px; background: var(--accent); }
.ill-sw::after { content: ""; position: absolute; top: 2px; left: 12px; width: 8px; height: 8px; border-radius: 50%; background: #fff; }
.ill-goal { display: grid; gap: 8px; padding: 14px; border: 1px solid rgba(233, 196, 106, .3); border-radius: 10px; background: rgba(233, 196, 106, .08); font-size: 12.5px; }
.ill-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 10px; color: var(--text-3); }
.ill-row b { font-size: 13.5px; color: var(--text); }
.ill-row .g { font-weight: 700; color: var(--gold1); }
.ill-meter { height: 7px; border-radius: 4px; background: rgba(128, 128, 128, .18); }
.ill-meter i { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--gold1), var(--gold2)); }
.stampcard.compact { padding: 12px; }
.browse-band { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 12px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-raise); }
.browse-band p { flex: 1 1 300px; font-size: 14px; line-height: 1.65; color: var(--text-2); }

/* 이용 기준: 한눈에 세 칸 · 주제 구역 */
.glance { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 30px; }
@media (max-width: 900px) { .glance { grid-template-columns: 1fr; } }
.gl-card { padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-raise); }
.gl-card h2 { display: flex; align-items: center; gap: 9px; font-size: 16px; font-weight: 800; }
.gl-card h2 .ico { width: 24px; height: 24px; padding: 4px; border-radius: 50%; stroke-width: 2.2; }
.gl-card.ok h2 .ico { background: rgba(65, 176, 124, .16); color: var(--green); }
.gl-card.no h2 .ico { background: rgba(224, 100, 90, .16); color: var(--red); }
.gl-card.warn h2 .ico { background: rgba(217, 161, 68, .16); color: var(--amber); }
.gl-card ul { display: grid; gap: 7px; margin: 12px 0 0; padding: 0; list-style: none; }
.gl-card li { position: relative; padding-left: 14px; font-size: 14px; line-height: 1.6; color: var(--text-2); }
.gl-card li::before { content: ""; position: absolute; left: 1px; top: .62em; width: 5px; height: 5px; border-radius: 50%; }
.gl-card.ok li::before { background: var(--green); }
.gl-card.no li::before { background: var(--red); }
.gl-card.warn li::before { background: var(--amber); }
.topics { margin-top: 40px; }
.topic { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 0 32px; padding-block: 26px; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--hd-h) + 12px); }
.topic-h { display: flex; align-self: start; align-items: center; gap: 9px; font-size: 16px; font-weight: 800; }
.topic-h .ico { color: var(--text-3); }
.topic-b { display: grid; gap: 12px; min-width: 0; }
.topic-b p { max-width: 64ch; font-size: 15px; line-height: 1.75; color: var(--text-2); }
.topic-b p.callout { padding: 10px 14px; border-left: 2px solid var(--accent); background: rgba(58, 132, 236, .08); font-weight: 500; color: var(--text); }
.topic-b p.rj-more { font-size: 13px; color: var(--text-3); }
@media (max-width: 720px) { .topic { grid-template-columns: 1fr; gap: 12px; } }
.cond { display: flex; flex-wrap: wrap; gap: 8px; }
.cond span { padding: 6px 12px; border: 1px solid rgba(233, 196, 106, .35); border-radius: 999px; background: rgba(233, 196, 106, .07); font-size: 13px; color: var(--text-2); }
.cond b { color: var(--gold1); }
.plain { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.plain li { position: relative; padding-left: 12px; font-size: 14.5px; line-height: 1.7; color: var(--text-2); }
.plain li::before { content: ""; position: absolute; left: 0; top: .8em; width: 5px; height: 1px; background: var(--text-3); }
.rjs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 900px) { .rjs { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) { .rjs { grid-template-columns: 1fr; } }
.rj { display: grid; align-content: start; gap: 4px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--bg-raise); }
.rj b { font-size: 14px; }
.rj span { font-size: 13px; line-height: 1.6; color: var(--text-3); }
.flow3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 0; list-style: none; counter-reset: f3; }
.flow3 li { display: grid; align-content: start; gap: 4px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 8px; counter-increment: f3; }
.flow3 b { font-size: 14px; }
.flow3 b::before { content: counter(f3) "  "; color: var(--text-3); }
.flow3 span { font-size: 13px; line-height: 1.6; color: var(--text-3); }
@media (max-width: 640px) { .flow3 { grid-template-columns: 1fr; } }

/* 정품 1년 무료(A): 이렇게 받아요 · 조건 | 정품이 되면 · 마무리 */
.howcard { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); align-items: center; gap: 28px; padding: 26px; border: 1px solid #2e3b4d; border-radius: 14px; background: linear-gradient(90deg, rgba(58, 42, 18, .6), rgba(28, 37, 48, .95) 55%); }
@media (max-width: 900px) { .howcard { grid-template-columns: 1fr; padding: 18px; } }
.how3 { display: grid; gap: 18px; margin: 0; padding: 0; list-style: none; }
.how3 li { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; }
.how3 > li > b { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 50%; background: var(--surface-2); font-weight: 800; }
.how3 .goal > b { border: 0; background: linear-gradient(180deg, var(--gold1), var(--gold2)); color: var(--gold-ink); }
.how3 h3 { padding-top: 5px; font-size: 16px; font-weight: 800; }
.how3 p { margin-top: 3px; font-size: 14px; line-height: 1.65; color: var(--text-2); }
.fa-terms { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; }
@media (max-width: 900px) { .fa-terms { grid-template-columns: 1fr; } }
.big3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.big3 > div { padding: 14px; border-radius: 10px; background: #222c39; }
.big3 b { display: block; font-size: 28px; line-height: 1.15; color: var(--gold1); }
.big3 span { display: block; margin-top: 4px; font-size: 12.5px; line-height: 1.55; color: var(--text-2); }
@media (max-width: 480px) { .big3 b { font-size: 21px; } }
.gets { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.gets li { display: grid; gap: 2px; padding: 14px; border: 1px solid var(--line); border-radius: 10px; }
.gets b { font-size: 15px; }
.gets span { font-size: 13.5px; line-height: 1.6; color: var(--text-2); }
.pr-more { margin-top: 12px; font-size: 13px; color: var(--text-3); }
.party-end { position: relative; overflow: hidden; }
.party-end .why, .party-end h2, .party-end .pr-cta { position: relative; }
.party-end .why { font-size: 14px; color: var(--text-2); }
.party-end h2 { margin-top: 8px; font-size: clamp(24px, 4.6vw, 30px); font-weight: 400; }
.party .inv-body .notice { margin-bottom: 0; }

/* 숫자 칸 — 글꼴은 본문과 같고 숫자만 같은 폭(자리 맞춤). 앞의 font 묶음 지정보다 뒤에 둔다 */
.num, .count, .readout b, .tabs .n, .jg figcaption .likes, .expo dd, .exif dd, .adj .v, .adj-chips b, .artist .stats b, .code input,

/* ── 친근감(대표 2026-10-31) — 첫 줄 초대 · 이야기 줄 · 사진 칸 제목 · 내 갤러리 소개 · SNS ── */
.intro.hello h1 { letter-spacing: -0.025em; }
.intro.hello p { font-size: 15px; }   /* 폭 제한 없음 — 넓은 화면에선 한 줄(대표 2026-10-31) */
.hello-acts { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 6px; }
.eyebrow { font-size: 12px; font-weight: 700; color: var(--amber); letter-spacing: .03em; }
.story { margin: 26px 0 8px; display: grid; gap: 14px; }
.story h2 { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; margin-top: 2px; }
.story-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.story-head p { color: var(--text-2); font-size: 13.5px; margin-top: 4px; }
.story.pick { grid-template-columns: minmax(0, 520px) minmax(0, 1fr); gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-sheet); overflow: hidden; }
@media (max-width: 760px) { .story.pick { grid-template-columns: minmax(0, 1fr); } }
.pick-ph { display: block; aspect-ratio: var(--a); max-height: 420px; background: var(--surface-2); }
.pick-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pick-txt { padding: 22px 24px; display: flex; flex-direction: column; gap: 10px; justify-content: center; align-items: flex-start; min-width: 0; }
.pick-txt .by { display: inline-flex; align-items: center; gap: 8px; color: var(--text-2); font-size: 13px; }
.pick-txt blockquote { margin: 2px 0; padding: 12px 14px; border-radius: var(--r-sheet); background: var(--surface-2); color: var(--text); font-size: 14px; line-height: 1.6; max-width: 46ch; }
.pick-txt cite { display: block; margin-top: 6px; font-style: normal; font-size: 12px; color: var(--text-3); }
.all-h { font-size: 19px; font-weight: 700; letter-spacing: -0.02em; margin: 30px 0 2px; }
/* 사진 칸: 제목(있을 때) · 올린 분 · 하트 */
.jg figcaption { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 8px; align-items: center; }
.jg figcaption .t { grid-column: 1; font-weight: 600; font-size: 12.5px; color: var(--text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jg figcaption .who { grid-column: 1; }
.jg figcaption .likes { grid-column: 2; grid-row: 1 / span 2; margin-left: 0; }
/* 내 갤러리: 소개말 여러 줄 · SNS 칩 */
.artist { grid-template-columns: auto minmax(0, 1fr); align-items: start; }
.artist-main { display: grid; gap: 4px; min-width: 0; }
.artist .bio { white-space: pre-line; color: var(--text); font-size: 15px; line-height: 1.65; margin-top: 8px; grid-column: auto; max-width: 640px; }
.sns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.sns-chip { display: inline-flex; align-items: center; gap: 7px; padding: 5px 12px 5px 9px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); color: var(--text); font-size: 12.5px; max-width: 100%; }
.sns-chip:hover { border-color: var(--accent); }
.sns-chip b { font-weight: 600; }
.sns-chip span { color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.link-rows { display: grid; gap: 6px; }

/* ExaPeak 소식 메일 구독 — 맨 아래(대표 2026-11-02). 폼 모양은 www 와 같은 partials/newsletter-form */
.ft-nl { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 14px 32px; align-items: center; padding-bottom: 22px; margin-bottom: 8px; border-bottom: 1px solid var(--line); }
.ft-nl b { display: block; color: var(--text); font-size: 15px; margin-bottom: 4px; }
.ft-nl span { color: var(--text-2); }
.ft-nl .nl-form { display: grid; gap: 8px; width: min(100%, 400px); }
.ft-nl .nl-row { display: flex; gap: 8px; }
.ft-nl .nl-row input { flex: 1; min-width: 0; font: inherit; font-size: 14.5px; padding: 10px 13px; border-radius: 8px; border: 1px solid var(--line-2); background: var(--surface-2); color: var(--text); outline: none; }
.ft-nl .nl-row input:focus { border-color: var(--accent); }
.ft-nl .nl-row button { flex: none; font: inherit; font-weight: 700; font-size: 14px; padding: 0 18px; border: 0; border-radius: 8px; background: var(--accent); color: #fff; cursor: pointer; }
.ft-nl .nl-row button:hover { background: var(--accent-hi); }
.ft-nl .nl-consent { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; color: var(--text-3); line-height: 1.5; cursor: pointer; }
.ft-nl .nl-consent input { margin-top: 3px; flex: none; }
.ft-nl .nl-consent a { color: var(--text-2); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) { .ft-nl { grid-template-columns: minmax(0, 1fr); } .ft-nl .nl-form { width: 100%; max-width: 400px; } }
@media (max-width: 420px) { .ft-nl .nl-row { flex-direction: column; } .ft-nl .nl-row button { padding: 10px; } }
/* 줄바꿈 다듬기(대표 2026-11-02) — 짧은 안내 글은 마지막 줄에 한두 단어만 남지 않게 */
.page-head .lead, .doc .lead, .auth .lead, .trail-text > p, .topic-b p, .gets li, .auth-panel b { text-wrap: balance; }
