/* thanksfor /photo/ — 변환 상자와 tool.js 가 그리는 줄(tr-*). 색은 먹·회색만(청록은 본문 «같다» 표지 몫이라 여기선 안 씀). */
.hidden { display: none !important; }
.tp.sec { padding-block: 64px 96px; }
.tp-in { width: 960px; }
.crumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--c-mute); margin-bottom: 28px; }
.crumb a { text-decoration: underline 1px; text-underline-offset: 4px; }
.tp-h1 { font-family: var(--f-serif); font-weight: 600; font-size: 44px; line-height: 1.3; letter-spacing: -0.025em; word-break: keep-all; }
.tp-lead { margin-top: 16px; font-size: 17px; line-height: 1.75; max-width: 40em; }
.tp-facts { margin-top: 16px; }
.tp-hub { margin-top: 40px; }

.tp-notice { margin-top: 32px; padding: 22px 26px; background: #fff; border: 1px solid var(--c-line); border-left: 3px solid var(--c-ink); border-radius: 6px; }
.tp-notice > p { font-weight: 700; margin-bottom: 10px; }
.tp-notice ul { padding-left: 20px; list-style: disc; line-height: 1.75; }
.tp-notice li + li { margin-top: 6px; }

.tb { margin-top: 32px; background: #fff; border: 1px solid var(--c-line); border-radius: 10px; overflow: hidden; box-shadow: 0 24px 48px -32px rgba(30, 34, 38, .35); }
.tb-drop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; margin: 14px; padding: 56px 24px; border: 1.5px dashed var(--c-line); border-radius: 8px; text-align: center; cursor: pointer; transition: border-color .2s, background-color .2s; }
.tb-drop:hover, .tb-drop.is-over { border-color: var(--c-ink); background: var(--c-paper); }
.tb-drop b { font-size: 19px; font-weight: 700; word-break: keep-all; }
.tb-drop u { text-decoration: underline 1.5px; text-underline-offset: 5px; }
.tb-drop span { font-size: 14px; color: var(--c-mute); word-break: keep-all; }
.tb-drop input { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.tb-drop:focus-within { outline: 2px solid var(--c-ink); outline-offset: 2px; }

.tb-set { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 6px 28px 0; }
.tb-say { grid-column: span 2; align-self: end; padding: 12px 14px; background: var(--c-paper); border-radius: 6px; font-size: 13px; line-height: 1.65; color: var(--c-mute); word-break: keep-all; }
.tb-f { display: block; }
.tb-k { display: flex; justify-content: space-between; font-size: 13px; font-weight: 600; color: var(--c-mute); margin-bottom: 8px; }
.tb-k span { font-family: var(--f-latin); color: var(--c-ink); }
.tb-f select { width: 100%; height: 48px; padding: 0 36px 0 14px; border: 1px solid var(--c-line); border-radius: 6px; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%235A5F64' stroke-width='2.2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 16px; font: inherit; font-size: 15px; color: var(--c-ink); appearance: none; cursor: pointer; }
.tb-range { display: block; min-height: 48px; padding: 7px 14px 6px; border: 1px solid var(--c-line); border-radius: 6px; }
.tb-range input { width: 100%; height: 18px; accent-color: var(--c-ink); cursor: pointer; }
.tb-range > span { display: flex; justify-content: space-between; font-size: 11px; color: var(--c-mute); }
.tb-note { padding: 10px 28px 0; font-size: 13px; line-height: 1.6; color: var(--c-mute); word-break: keep-all; }
.tb-bar { margin: 20px 28px 0; padding: 12px 16px; background: var(--c-paper); border-radius: 6px; font-size: 14px; font-weight: 500; word-break: keep-all; }
.tb-bar::before { content: ""; display: inline-block; width: 13px; height: 13px; margin-right: 10px; vertical-align: -2px; border: 2px solid var(--c-ink); border-top-color: transparent; border-radius: 50%; animation: tb-spin .8s linear infinite; }
@keyframes tb-spin { to { transform: rotate(360deg); } }
.tb-list { padding: 0 28px; margin-top: 20px; display: grid; gap: 8px; }
.tb-list:empty { display: none; }
.tb-end { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding: 18px 28px 26px; }
.tb-end p { flex: 1; min-width: 12em; font-size: 15px; color: var(--c-mute); font-variant-numeric: tabular-nums; }
.tb-end b { color: var(--c-ink); }
.tb-main { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 6px; background: var(--c-ink); color: #fff; font-weight: 600; font-size: 15px; }
.tb-safe { padding: 18px 28px; background: var(--c-chrome); border-top: 1px solid var(--c-line); font-size: 13px; line-height: 1.7; color: var(--c-mute); word-break: keep-all; }
.tb-safe b { color: var(--c-ink); }

/* tool.js 가 그리는 줄 */
.tr-row { display: flex; align-items: center; gap: 14px; padding: 8px 10px 8px 8px; background: var(--c-paper); border-radius: 8px; }
.tr-thumb { width: 56px; height: 56px; flex: none; display: flex; align-items: center; justify-content: center; overflow: hidden; background: #fff; border: 1px solid var(--c-line); border-radius: 6px; font-size: 11px; color: var(--c-mute); }
.tr-img { width: 100%; height: 100%; object-fit: cover; }
.tr-badge { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.bd-x, .bd-p { background: var(--c-ink); color: #fff; }
.bd-n { background: var(--c-g4bar); color: var(--c-mute); }
.tr-main { flex: 1; min-width: 0; }
.tr-name { font-size: 14px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tr-info { margin-top: 2px; font-size: 13px; color: var(--c-mute); font-variant-numeric: tabular-nums; }
.tr-info .em, .tr-row .em { font-weight: 600; color: var(--c-ink); }
.tr-note { margin-top: 6px; font-size: 12.5px; line-height: 1.5; color: var(--c-ink); word-break: keep-all; }
.tr-warn { color: var(--c-ink); font-weight: 600; }
.tr-err { color: #A3312A; }
.mute { color: var(--c-mute); }
.tr-act { flex: none; }
.tr-save { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; background: #fff; border: 1px solid var(--c-ink); border-radius: 6px; font-size: 14px; font-weight: 600; }
.tr-save:hover { background: var(--c-ink); color: #fff; }
.tr-ico { width: 14px; height: 14px; }
.tr-pv { margin-top: 8px; }
.tr-pv-s { display: inline-flex; gap: 4px; cursor: pointer; list-style: none; font-size: 12.5px; font-weight: 600; text-decoration: underline 1px; text-underline-offset: 3px; }
.tr-pv-s::-webkit-details-marker { display: none; }
.tr-pv[open] .tr-pv-i { transform: rotate(180deg); }
.tr-pv-i { display: inline-block; transition: transform .2s; }
.tr-pv-box { margin-top: 8px; overflow-x: auto; background: #fff; border: 1px solid var(--c-line); border-radius: 6px; }
.tr-pv-t { font-size: 12px; white-space: nowrap; border-collapse: collapse; }
.tr-pv-td { padding: 4px 8px; border-bottom: 1px solid #E4E0D8; border-right: 1px solid #E4E0D8; max-width: 12rem; overflow: hidden; text-overflow: ellipsis; }
.tr-pv-n { margin-top: 4px; font-size: 11.5px; color: var(--c-mute); }

.tp-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 32px; border-top: 1px solid var(--c-ink); }
.tp-steps li { padding: 18px 20px 0 0; }
.tp-steps li + li { padding-left: 20px; border-left: 1px solid var(--c-line); }
.tp-steps .n { display: block; font-family: var(--f-latin); font-weight: 600; font-size: 15px; color: var(--c-mute); }
.tp-steps b { display: block; margin-top: 6px; font-size: 16px; }
.tp-steps li > span:last-child { display: block; margin-top: 4px; font-size: 14px; line-height: 1.6; color: var(--c-mute); word-break: keep-all; }

@media (max-width: 767px) {
  .tp.sec { padding-block: 32px 64px; }
  .tp-h1 { font-size: 30px; }
  .tb-drop { margin: 10px; padding: 36px 16px; }
  .tb-set { grid-template-columns: 1fr; padding: 4px 16px 0; }
  .tb-say { grid-column: auto; }
  .tb-note, .tb-end, .tb-safe { padding-left: 16px; padding-right: 16px; }
  .tb-bar { margin-inline: 16px; }
  .tb-list { padding: 0 16px; }
  .tb-end > button { flex: 1; }
  .tp-steps { grid-template-columns: 1fr; }
  .tp-steps li, .tp-steps li + li { padding: 14px 0; border-left: 0; border-bottom: 1px solid var(--c-line); }
}
