/* 6-2 家族のページ */
.look-screen { --W: min(100vw, var(--col)); }
.look-nav {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 10px; padding: 0 16px;
  background: var(--paper); border-bottom: 1px solid var(--ink);
}
.ln-back { min-height: 44px; display: inline-flex; align-items: center; font: 500 13px var(--f-gothic); text-decoration: none; flex: none; }
.ln-pick { flex-wrap: nowrap; gap: 0 13px; margin-left: auto; }
.ln-pick button { font-size: 13.5px; }

.look-track.ready { transition: height .3s ease; }
.look-track { display: flex; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; align-items: flex-start; }
.look-track::-webkit-scrollbar { display: none; }
.look { flex: 0 0 100%; width: 100%; scroll-snap-align: start; scroll-snap-stop: always; padding: 0 16px 8px; position: relative; overflow: hidden; }
/* 柱とノンブル */
.look-run { display: flex; justify-content: space-between; margin: 10px 0 0; font-size: 11px; color: var(--ink-2); }
.look-run .en { font-size: 10px; letter-spacing: .3em; }
.look-run .num { font-size: 12px; letter-spacing: .08em; }

.look-head { display: grid; grid-template-columns: 1fr 34%; align-items: end; gap: 8px; padding-top: 4px; border-bottom: 3px solid var(--ink); position: relative; }
.look-head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; border-bottom: 1px solid var(--ink); }
.look-title { padding-bottom: 12px; }
.look-kicker { margin: 0; font-size: 11px; letter-spacing: .3em; }
.look-name { margin: 2px 0 2px; font: 800 calc(var(--W) * .135)/1.04 var(--f-mincho); letter-spacing: -.01em; }
.look-name .role { display: block; font-size: .4em; font-weight: 500; letter-spacing: .2em; margin-bottom: 2px; }
.look-meta { margin: 4px 0 0; font-size: 12.5px; color: var(--ink-2); }
.look-day { margin: 2px 0 0; font-size: 12.5px; }
.look-day .num { font-size: 13px; }
.look-day > .bs { margin-right: .7em; }
.look-fig { height: calc(var(--W) * .5); display: flex; align-items: flex-end; justify-content: center; margin-bottom: 4px; }
.look-fig .sk { height: calc(100% * var(--h, 1)); width: 100%; }
.look-fig .sk img { height: 100%; width: 100%; object-fit: contain; object-position: bottom; }
.look-fig .ph { height: 100%; aspect-ratio: auto; }

/* 置き画 */
.flat { position: relative; width: 100%; height: calc(var(--W) * 1.06); margin: 18px 0 4px; }
.fl { position: absolute; display: flex; align-items: center; justify-content: center; transform: rotate(var(--r)); transition: transform .25s; }
.fl:active { transform: rotate(var(--r)) scale(.98); }
.fl > .cut, .fl > .sk { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; }
.fl img { width: 100%; height: 100%; object-fit: contain; }
.fl .ph { width: 86%; height: 86%; aspect-ratio: auto; }
.fl .sk .wash { inset: 10%; }
.flat .leaders { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; overflow: visible; z-index: 3; }
.flat .leaders path { stroke: var(--ink); stroke-width: 1; fill: none; vector-effect: non-scaling-stroke; }
.flat .leaders circle { fill: var(--ink); }
.fl-no { position: absolute; transform: translate(-50%, -50%); z-index: 4; font-size: 17px; line-height: 1; background: var(--paper); padding: 1px; }
.fl-memo { position: absolute; right: 1%; top: -2%; z-index: 5; font-size: 21px; line-height: 1.15; transform: rotate(-4deg); margin: 0; max-width: 58%; text-align: right; }
.extras-row { display: flex; align-items: center; gap: 10px; margin: 2px 0 8px; }
.xr-h { font-size: 12px; color: var(--ink-2); }
.extras-row .fl-x { width: 54px; }
.look-day .num { white-space: nowrap; }
.memo-arrow { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 5; overflow: visible; }
.memo-arrow path { fill: none; stroke: var(--red); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.fl-extras { position: absolute; left: 0; bottom: 0; z-index: 4; display: flex; gap: 6px; }
.fl-x { width: 62px; display: flex; flex-direction: column; align-items: center; }
.fl-x .sk { width: 100%; }
.fl-x .ph { font-size: 8px; padding: 2px; }
.fl-x em { font-style: normal; font-size: 10.5px; color: var(--ink-2); }
.fl-mark { position: absolute; z-index: 8; font-size: 18px; transform: rotate(-6deg); display: inline-flex; align-items: flex-end; gap: 2px; white-space: nowrap; background: color-mix(in srgb, var(--paper) 70%, transparent); padding: 0 4px; }
.fl-mark svg { width: 22px; height: 12px; overflow: visible; }
.fl-mark path { fill: none; stroke: var(--red); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.fl-circle { left: -3%; top: 11%; width: 106%; height: 91%; z-index: 6; }
.fl-ok { position: absolute; left: 2%; top: 1%; z-index: 7; font-size: 21px; transform: rotate(-5deg); }

.captions { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.captions li { display: grid; grid-template-columns: 24px 1fr auto; gap: 8px; align-items: baseline; padding: 8px 0; border-bottom: 1px solid color-mix(in srgb, var(--ink) 30%, transparent); }
.cap-no { font-size: 16px; }
.cap-t { font: 800 15.5px/1.4 var(--f-mincho); }
.cap-t small { display: block; font: 400 12px/1.5 var(--f-gothic); color: var(--ink-2); }
.cap-k { font-size: 11.5px; color: var(--ink-2); }

.cta-scan { display: flex; flex-direction: column; gap: 2px; margin: 14px 0 0; padding: 12px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); text-decoration: none; }
.cta-scan .mincho { font-weight: 800; font-size: 17px; }
.cta-scan span:last-child { text-decoration: underline; text-underline-offset: 4px; font-weight: 500; }
/* 誌面の注記：上に細い罫線、左に小さな見出し（囲みにしない） */
.look-aside { margin: 12px 0 0; padding: 6px 0 0; border-top: 1px solid var(--ink); display: grid; grid-template-columns: auto 1fr; gap: 0 12px; align-items: baseline; font-size: 13.5px; line-height: 1.6; }
.look-aside + .look-aside { margin-top: 6px; border-top-color: color-mix(in srgb, var(--ink) 30%, transparent); }
.la-h { font: 700 11.5px/1.6 var(--f-gothic); letter-spacing: .12em; white-space: nowrap; }
.la-t { color: var(--ink-2); }
.lw-delta { font-size: 17px; transform: rotate(-4deg); margin-left: -2px; white-space: nowrap; }

.look-warm { margin-top: 16px; }
.lw-row { margin: 0; display: flex; align-items: center; gap: 10px; }
.lw-row .en { font-size: 10px; letter-spacing: .26em; }
.lw-row .warmth i { width: 12px; height: 12px; }
.lw-ja { font-size: 13px; font-weight: 700; }
.lw-row .en { color: var(--ink-2); }
.lw-reason { margin: 4px 0 0; font: 500 16px/1.6 var(--f-mincho); }

.look-actions { margin-top: 16px; }
.look-actions .btn-main { width: 100%; }
.la-sub { margin: 4px 0 0; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 12px; }
.la-sub .num { font-size: 13px; }
.la-sub .note { font-size: 12px; }
.btn-main[aria-pressed="true"] { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.fb-note.hand { font-size: 17px; transform: rotate(-1.5deg); transform-origin: left; margin-top: 4px; }

/* 768px 以上：見開き（左＝置き画、右＝品名・暖かさ・操作） */
@media (min-width: 768px) {
  .issue.spread .look-screen { --W: 430px; }
  .issue.spread .look { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; padding: 0 28px 8px; position: relative; }
  .issue.spread .look::after { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 40px; margin-left: -20px; pointer-events: none;
    background: linear-gradient(90deg, transparent, rgba(40, 30, 15, .07) 45%, rgba(40, 30, 15, .13) 50%, rgba(40, 30, 15, .07) 55%, transparent); }
  .issue.spread .look-r { padding-top: 64px; }
  .issue.spread .look-nav { padding: 0 28px; }
}
.look-hint { margin: 6px 0 0; }

.feedback { margin-top: 22px; border-top: 3px solid var(--ink); padding-top: 8px; position: relative; }
.feedback::before { content: ""; position: absolute; left: 0; right: 0; top: 2px; border-top: 1px solid var(--ink); }
.fb-q { margin: 4px 0 2px; font-weight: 800; font-size: 17px; }
.fb-a { display: flex; gap: 4px; }
.fb-a button { position: relative; flex: 1; min-height: 52px; font: 500 16px var(--f-mincho); }
.fb-a button[aria-pressed="true"] { font-weight: 800; }
.fb-circle { left: 4%; top: 6%; width: 92%; height: 88%; }
.fb-note { margin: 2px 0 0; }

.look-folio { display: flex; justify-content: space-between; align-items: baseline; margin-top: 22px; padding-top: 6px; border-top: 1px solid var(--ink); }
.look-folio .en { font-size: 9.5px; letter-spacing: .3em; }
.look-folio .num { font-size: 13px; letter-spacing: .08em; }

/* 入れ替えのシート */
.swap-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.swap-grid li { border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.swap-item { position: relative; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 6px 10px; min-height: 150px; text-align: center; }
.swap-item[disabled] { opacity: .42; cursor: default; }
.swap-art { width: 76%; height: 88px; display: flex; align-items: center; justify-content: center; }
.swap-art .cut, .swap-art .sk { width: 100%; height: 100%; }
.swap-art img { width: 100%; height: 100%; object-fit: contain; }
.swap-name { font: 500 12px/1.4 var(--f-gothic); }
.swap-off { font-size: 11px; color: var(--ink-2); }
.swap-cur { font-size: 15px; transform: rotate(-3deg); }

/* まとめ撮りのコマ（写真）を案の置き画・表紙に出すとき */
.fl > .fcut { height: 86%; margin: auto; }
.swap-art .fcut { height: 100%; }
.toc-g .fcut { width: 100%; height: auto; padding: 2px; }
