/* 두 사이트 공통: 프로젝트 탭, 메인 카드, 단계 탭, 서가, 플레이어, 연락 */
.pindex { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 8px; }
.pindex-sum { margin: 0; white-space: pre-line; font-size: 13.5px; line-height: 1.6; font-weight: 700; }
.pindex-h { margin-top: 6px; font-size: 11px; letter-spacing: .14em; color: var(--accent-ink); }
.pindex-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; border-left: 1px solid var(--line-2); }
.pindex-btn { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 6px; width: 100%; text-align: left; background: none; border: 0; border-left: 2px solid transparent; margin-left: -1px; padding: 5px 0 5px 10px; color: var(--soft); font-size: 13px; line-height: 1.45; cursor: pointer; }
.pindex-btn .mono { font-size: 11px; color: var(--dim); padding-top: 2px; }
.pindex-btn:hover, .pindex-btn.on { color: var(--fg); }
.pindex-btn.on { font-weight: 700; border-left-color: var(--accent); }

.main-projects { display: flex; flex-direction: column; gap: 16px; }
.mtabs { display: flex; flex-wrap: wrap; gap: 8px; }
.mtab-list { display: flex; flex-wrap: wrap; gap: 8px; flex: 1 1 auto; min-width: 0; }
.mtab { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 8px 18px 8px 14px; border-radius: var(--r-inner); border: 1px solid var(--line-2); background: var(--surface); color: var(--soft); text-align: left; cursor: pointer; }
.mtab:hover { color: var(--fg); }
.mtab[aria-selected="true"] { border-color: var(--accent); color: var(--fg); box-shadow: inset 0 -3px 0 var(--accent); }
.mtab-no { font-size: 20px; font-weight: 600; color: var(--dim); }
.mtab[aria-selected="true"] .mtab-no { color: var(--accent-ink); }
.mtab-tx { display: flex; flex-direction: column; }
.mtab-name { font-size: 15px; font-weight: 700; }
.mtab-sub { font-size: 11.5px; color: var(--dim); }
.mtab-side { display: flex; align-items: center; gap: 8px; min-height: 60px; padding: 8px 16px; border-radius: var(--r-inner); border: 1px dashed var(--line-2); background: none; color: var(--soft); font-size: 14px; cursor: pointer; }
.mtab-side .mono { font-size: 18px; font-weight: 700; }

.mc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-card); padding: clamp(20px, 3vw, 36px); display: flex; flex-direction: column; gap: 24px; }
.mc[hidden] { display: none; }
.mc-top { display: flex; flex-direction: column; gap: 6px; }
.mc-kicker { font-size: 12px; letter-spacing: .12em; color: var(--accent-ink); white-space: pre; }
.mc-title { margin: 0; font-family: var(--f-display); font-size: clamp(26px, 3.2vw, 36px); font-weight: 800; letter-spacing: -.03em; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mc-desc { margin: 0; font-size: 17px; color: var(--soft); }
.mc-meta { font-size: 13.5px; color: var(--dim); }
.mc-body { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.mc-gallery { display: flex; flex-direction: column; gap: 10px; }
.mc-shot { position: relative; padding: 0; border: 1px solid var(--line); border-radius: var(--r-inner); overflow: hidden; background: var(--surface-2); cursor: zoom-in; aspect-ratio: 16 / 9; }
.mc-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top left; display: block; }
.mc-play { position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--on-accent); box-shadow: 0 8px 24px #0003; }
.mc-thumbs { display: flex; gap: 6px; overflow-x: auto; }
.mc-thumb { flex: none; width: 76px; height: 46px; padding: 0; border: 2px solid transparent; border-radius: var(--r-inner); overflow: hidden; cursor: pointer; background: var(--surface-2); }
.mc-thumb.on { border-color: var(--accent); }
.mc-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top left; display: block; }
.mc-cap { font-size: 13px; color: var(--dim); }
.mc-sum { display: flex; flex-direction: column; gap: 16px; }
.mc-bullets { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 8px; font-size: 15.5px; color: var(--soft); }
.mc-bullets li::marker { color: var(--accent); }
.mc-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.mc-stats li { display: flex; flex-direction: column; padding: 12px 14px; border-radius: var(--r-inner); background: var(--surface-2); }
.mc-v { font-size: 22px; font-weight: 700; color: var(--accent-ink); line-height: 1.2; }
.mc-l { white-space: pre-line; font-size: 12.5px; line-height: 1.45; color: var(--soft); }
.mc-demo { align-self: flex-start; }
.mc-more { border-top: 1px solid var(--line); padding-top: 4px; }
.mc-more-btn { border: 0; background: none; color: var(--accent-ink); font-weight: 700; font-size: 14.5px; min-height: var(--tap); cursor: pointer; padding: 0; }
.mc-more-panel { display: flex; flex-direction: column; gap: 24px; padding-top: 12px; }
.mc-foot { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 20px 32px; }
.mc-label { display: block; font-size: 12px; letter-spacing: .1em; color: var(--accent-ink); margin-bottom: 8px; }
.mc-role ul { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; font-size: 14.5px; color: var(--soft); }
.mc-note { margin: 12px 0 0; white-space: pre-line; font-size: 13px; color: var(--dim); }

/* 이렇게 풀었습니다: 가로 단계 탭 */
.steps { display: flex; flex-direction: column; gap: 12px; }
.steps-title { margin: 0; font-family: var(--f-display); font-size: 18px; font-weight: 800; }
.steps-tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 2px; }
.steps-tab { flex: none; display: flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: var(--surface); color: var(--soft); font-size: 13.5px; cursor: pointer; }
.steps-tab .mono { font-size: 12px; color: var(--dim); }
.steps-tab[aria-selected="true"] { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.steps-tab[aria-selected="true"] .mono { color: inherit; opacity: .7; }
.steps-body { display: flex; flex-direction: column; gap: 10px; padding: 16px 18px; border-radius: var(--r-inner); background: var(--surface-2); min-height: 260px; }
.steps-top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.steps-tag { font-size: 11.5px; letter-spacing: .12em; color: var(--accent-ink); }
.steps-key { font-size: 13.5px; font-weight: 700; padding: 3px 12px; border-radius: var(--r-pill); background: var(--surface); }
.steps-line { margin: 0; white-space: pre-line; font-size: 15px; color: var(--fg); }
.steps-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.steps-card { padding: 10px 14px; border-radius: var(--r-inner); background: var(--surface); font-size: 14px; }
.steps-card .mono { font-size: 11.5px; color: var(--dim); }
.steps-card.fix .mono { color: var(--accent-ink); }
.steps-card p { margin: 2px 0 0; color: var(--soft); }

/* 사이드 프로젝트와 자동 수집 */
.side-block { margin-top: 32px; display: flex; flex-direction: column; gap: 16px; }
.side-label { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; color: var(--soft); font-size: 14.5px; }
.side-label .mono { font-size: 12px; letter-spacing: .12em; color: var(--accent-ink); }
.auto { display: flex; flex-wrap: wrap; gap: 16px 28px; }
.auto-intro { flex: 999 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.clock { display: none; }
.auto-hook { margin: 0; font-family: var(--f-display); font-size: 20px; font-weight: 800; }
.auto-sub { margin: 0; white-space: pre-line; font-size: 14px; color: var(--soft); }
.log { flex: 1 1 300px; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-inner); padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.log-head { display: flex; justify-content: space-between; gap: 12px; }
.log-title, .live { font-size: 12px; color: var(--soft); }
.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); margin-right: 6px; }
.log-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 5px; font-size: 12.5px; }
.log-list li { display: flex; gap: 12px; }
.log-list .t { color: var(--dim); flex: none; }
.log-list .hi { color: var(--accent-ink); font-weight: 700; }
.how { font-size: 13.5px; color: var(--soft); }
.how summary { cursor: pointer; font-weight: 700; color: var(--fg); min-height: var(--tap); display: inline-flex; align-items: center; }
.how ol { margin: 4px 0 0; padding-left: 20px; }

.shelf-wrap { background: var(--shelf-bg); border-radius: var(--r-card); padding: 22px clamp(14px, 2.4vw, 24px); display: flex; flex-direction: column; gap: 18px; border: 1px solid var(--line); }
.shelf-head { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 20px; }
.shelf-title { flex: 999 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.shelf-title > span { font-size: 12px; letter-spacing: .1em; }
.shelf-title h3 { margin: 0; font-family: var(--f-display); font-size: 22px; font-weight: 800; }
.shelf-count { font-size: 14px; }
.shelf-title p { margin: 0; color: var(--soft); font-size: 14px; }
.shelf-controls { flex: 1 1 300px; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.tab, .arrow { min-height: 40px; border: 1px solid var(--line-2); border-radius: var(--r-pill); background: var(--surface); color: var(--fg); font-weight: 600; font-size: 13.5px; cursor: pointer; padding: 0 14px; }
.tab span { font: 500 12px/1 var(--f-mono); opacity: .7; }
.tab[aria-pressed="true"], .arrow-on { background: var(--fg); border-color: var(--fg); color: var(--bg); }
.arrow { width: 40px; padding: 0; }
.shelf { display: flex; flex-direction: column; }
.shelf-row { display: flex; align-items: flex-end; gap: 7px; padding: 18px 20px 0; overflow-x: auto; overflow-y: hidden; }
.shelf-row > .spine-btn, .shelf-row > .ghost, .shelf-row > .bookend { zoom: .78; }
.bookend { flex: none; width: 26px; height: 150px; border-radius: 4px 4px 0 0; background: var(--accent); }
.spine-btn { flex: none; padding: 0; border: 0; background: transparent; cursor: pointer; display: block; filter: drop-shadow(0 8px 8px #00000030); transition: transform .25s ease; }
.spine-btn:hover { transform: translateY(-10px); }
.pulled { flex: none; zoom: .86; margin: 0 18px 0 12px; transform: rotate(-2.5deg) translateY(-14px); filter: drop-shadow(0 24px 22px #00000045); animation: pull .45s cubic-bezier(.2,.7,.2,1); }
@keyframes pull { from { transform: rotate(0) translateY(30px); opacity: .3; } to { transform: rotate(-2.5deg) translateY(-14px); opacity: 1; } }
.ghost { flex: none; width: 72px; height: 330px; border: 1.5px dashed var(--dim); border-bottom: 0; border-radius: 4px 4px 0 0; display: flex; flex-direction: column; align-items: center; justify-content: space-between; padding: 16px 0; color: var(--dim); }
.ghost .v { writing-mode: vertical-rl; font-weight: 600; font-size: 13px; }
.plank { height: 22px; }
.plank::before { content: ""; display: block; height: 7px; background: #A8896A; border-radius: 3px 3px 0 0; }
.plank span { display: block; height: 15px; background: linear-gradient(180deg, #8C6E50 0%, #6E553D 100%); box-shadow: 0 16px 20px -14px #0006; }
.detail { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; }
.d-main { flex: 999 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.d-meta { font: 500 12.5px/1.3 var(--f-mono); color: var(--accent-ink); }
.d-title { font-family: var(--f-display); font-weight: 800; font-size: 21px; }
.d-sum { color: var(--soft); font-size: 14.5px; }
.d-facts { margin: 6px 0 0; display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 2px 14px; font-size: 14px; }
.d-facts dt { font: 500 12px/1.75 var(--f-mono); color: var(--accent-ink); }
.d-facts dd { margin: 0; color: var(--soft); }
.play { min-height: 46px; border: 0; border-radius: var(--r-pill); background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: 15px; padding: 0 22px; cursor: pointer; }
.d-note, .updated { font: 500 12.5px/1.4 var(--f-mono); color: var(--dim); margin: 0; }
.story-box { border-top: 1px solid var(--line); padding-top: 10px; font-size: 14px; }
.story-box summary { cursor: pointer; min-height: var(--tap); display: inline-flex; align-items: center; font: 600 13px/1.3 var(--f-mono); color: var(--accent-ink); }
.story-why { margin: 6px 0 10px; color: var(--soft); max-width: 72ch; }
.story-trouble { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.story-trouble li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 4px 16px; }
.tr-f::before { content: "→ "; color: var(--accent-ink); }

/* 연락, 바닥글, 플레이어 */
.contact { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; }
.contact-lede { width: 100%; margin: 0; color: var(--soft); }
.contact-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.mail-addr { font-family: var(--f-display); font-weight: 800; font-size: clamp(24px, 3.6vw, 34px); user-select: all; overflow-wrap: anywhere; }
.copy { min-height: 46px; border: 1px solid var(--accent); border-radius: var(--r-pill); background: var(--accent); color: var(--on-accent); font-weight: 700; font-size: 15px; padding: 0 22px; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; }
.ghost-btn { background: transparent; color: var(--fg); border-color: var(--line-2); }
.copy-note { width: 100%; min-height: 1.5em; margin: 0; font-size: 12.5px; color: var(--accent-ink); }
.foot { max-width: var(--maxw); margin: 0 auto; padding: 28px var(--gutter) 48px; font-size: 12px; color: var(--dim); }
.player { position: fixed; inset: 0; z-index: 50; display: flex; flex-direction: column; background: #0B0E16F0; color: #fff; }
.player-bar { display: flex; align-items: center; gap: 12px; padding: 12px 16px; }
.player-title { font-weight: 800; font-size: 18px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.player-close { margin-left: auto; cursor: pointer; border: 1px solid #ffffff55; background: transparent; color: #fff; border-radius: var(--r-pill); padding: 0 16px; min-height: var(--tap); }
.player-stage { position: relative; flex: 1; min-height: 0; padding: 0 16px 16px; }
.player-frame { width: 100%; height: 100%; border: 0; border-radius: var(--r-inner); background: #fff; display: block; }
.player-loading { position: absolute; inset: 0; display: grid; place-content: center; margin: 0; color: #ccc; }

@media (max-width: 820px) {
  .mc-body, .mc-foot, .steps-pair { grid-template-columns: minmax(0, 1fr); }
  .mc-title { white-space: normal; }
  .job, .school, .row, .exp-group { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .pindex { display: none; }
  .mtab { flex: 1 1 200px; }
  .mtab-side { flex: 1 1 100%; justify-content: center; }
  .story-trouble li { grid-template-columns: minmax(0, 1fr); }
  .nav { display: none; }
  .topbar-inner .lang { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .pulled { animation: none; }
  .spine-btn, .spine-btn:hover { transition: none; transform: none; }
}

/* 카드 없이 바탕 위에 바로 (2026-11-23 사용자: "둥근 카드 떠 있는 것 싫다", 레퍼런스: 연회색 바탕, 가는 선, + 표시, 각진 모서리)
   칸은 선으로 나누고, 강조는 색 블록이나 굵은 선으로 한다. 그림자와 둥근 모서리는 쓰지 않는다. */
.section { position: relative; }
.section::before, .section::after { content: "+"; position: absolute; top: -11px; font: 300 18px/1 var(--f-mono); color: var(--dim); }
.section::before { left: -5px; }
.section::after { right: -5px; }
.tag { background: none; border: 1px solid var(--line-2); }
.mc { background: none; border: 0; border-top: 2px solid var(--fg); padding: 26px 0 0; box-shadow: none; }
.mc-shot { border-color: var(--line-2); }
.mc-stats li { background: none; border-left: 2px solid var(--accent); padding: 2px 0 2px 12px; }
.mtab { background: none; border: 0; border-bottom: 2px solid var(--line-2); box-shadow: none; }
.mtab[aria-selected="true"] { border-bottom-color: var(--accent); box-shadow: none; }
.mtab-side { border: 0; border-bottom: 2px dashed var(--line-2); box-shadow: none; }
.steps-tab { border-color: var(--line-2); }
.steps-body { background: none; border-left: 3px solid var(--accent); padding: 4px 0 4px 18px; }
.steps-card { background: none; border-top: 1px solid var(--line-2); padding: 10px 0 0; }
.steps-key { background: var(--accent-soft); }
.log { background: none; border: 0; border-left: 1px solid var(--line-2); }
.shelf-wrap { background: none; border: 0; border-top: 1px solid var(--line-2); padding: 22px 0 0; }
.auto-wrap > summary { cursor: pointer; min-height: var(--tap); display: inline-flex; align-items: center; font-size: 13.5px; font-weight: 600; color: var(--soft); }
.auto-wrap[open] > summary { margin-bottom: 10px; }
/* 첫 화면 AI 원칙 한 줄, 프로젝트 카드의 '내가 한 일 / 팀 / AI' */
.ai-rule { margin: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: 14.5px; color: var(--fg); padding-left: 12px; border-left: 3px solid var(--accent); }
.ai-rule-k { font-size: 11.5px; letter-spacing: .1em; color: var(--accent-ink); }
.mc-split { margin: 10px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.mc-split > div { padding: 10px 14px 0 0; }
.mc-split > div + div { padding-left: 14px; border-left: 1px solid var(--line-2); }
.mc-split dt { font-size: 11.5px; letter-spacing: .1em; color: var(--accent-ink); }
.mc-split dd { margin: 2px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--soft); }
.mc-split-mine dd { color: var(--fg); font-weight: 600; }
@media (max-width: 820px) { .mc-split { grid-template-columns: minmax(0, 1fr); } .mc-split > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }
.mc-samples .proof-img { width: 150px; height: 84px; }
/* 기획 흐름 5칸: 선으로 잇고, 내가 중점으로 맡은 칸은 포인트색 윗선과 옅은 바탕 */
.pm { display: flex; flex-direction: column; gap: 10px; }
.pm-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 16px; }
.pm-title { margin: 0; font-family: var(--f-display); font-size: 16px; font-weight: 800; }
.pm-legend { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--soft); }
.pm-legend::before { content: ""; width: 14px; height: 10px; background: var(--accent-soft); border-top: 3px solid var(--accent); }
.pm-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.pm-step { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; border-top: 3px solid transparent; margin-top: -1px; }
.pm-step + .pm-step { border-left: 1px solid var(--line-2); }
.pm-step + .pm-step::before { content: "→"; position: absolute; left: -9px; top: 40%; width: 16px; text-align: center; font: 700 13px/16px var(--f-mono); color: var(--dim); background: var(--bg); }
.pm-step.mine { background: var(--accent-soft); border-top-color: var(--accent); }
.pm-k { font-size: 11px; letter-spacing: .08em; color: var(--dim); }
.pm-step.mine .pm-k { color: var(--accent-ink); }
.pm-t { font-size: 15px; line-height: 1.35; }
.pm-d { font-size: 13px; line-height: 1.5; color: var(--soft); }
@media (max-width: 980px) {
  .pm-flow { grid-template-columns: minmax(0, 1fr); }
  .pm-step + .pm-step { border-left: 0; border-top: 1px solid var(--line-2); }
  .pm-step.mine { border-top: 3px solid var(--accent); }
  .pm-step + .pm-step::before { content: "↓"; left: 16px; top: -9px; }
}
/* 노트 상세: 다섯 칸 */
.note-grid { margin: 10px 0 4px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); border-top: 1px solid var(--line-2); }
.note-cell { padding: 10px 14px 4px 0; }
.note-cell + .note-cell { padding-left: 14px; border-left: 1px solid var(--line-2); }
.note-cell dt { font-size: 11.5px; letter-spacing: .06em; color: var(--accent-ink); }
.note-cell dd { margin: 4px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--soft); }
.note-cell dd ul { margin: 0; padding-left: 16px; }
.note-decided dd { color: var(--fg); }
@media (max-width: 980px) { .note-grid { grid-template-columns: minmax(0, 1fr); } .note-cell + .note-cell { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); } }

/* 프로젝트 카드 시안 C: 머리 두 칸, 기획 흐름 다이얼, 숫자 한 줄 */
.mc-top { flex-direction: row; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px 32px; padding-bottom: 16px; border-bottom: 2px solid var(--fg); }
.mc-top-l { display: flex; flex-direction: column; gap: 6px; min-width: 0; flex: 1 1 420px; }
.mc-me { flex: 0 1 360px; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; text-align: right; }
.mc-me .mono { font-size: 11px; letter-spacing: .1em; color: var(--accent-ink); }
.mc-me b { font-size: 14.5px; line-height: 1.45; }
.mc-me-team { font-size: 12.5px; color: var(--dim); }
.mc { border-top: 0; padding-top: 8px; gap: 22px; }
.pd { display: grid; grid-template-columns: 180px minmax(0, 1fr) minmax(0, 1fr); gap: 28px; height: 400px; }
.pd-arc { position: relative; overflow: hidden; }
.pd-ring { position: absolute; left: -460px; top: -100px; width: 580px; height: 580px; border-radius: 50%; border: 1.5px solid var(--line-2); }
.pd-wheel { position: absolute; width: 0; height: 0; transition: transform .6s cubic-bezier(.3,.7,.2,1); }
.pd-orb { position: absolute; transform: translate(-50%, -50%); border: 0; background: none; padding: 2px 6px; font-size: 26px; font-weight: 700; color: var(--line-2); cursor: pointer; white-space: nowrap; transition: transform .6s cubic-bezier(.3,.7,.2,1), font-size .4s, color .3s, opacity .4s; }
.pd-orb.mine { color: color-mix(in srgb, var(--accent) 70%, var(--bg)); }
.pd-orb.on { font-size: 60px; color: var(--fg); }
.pd-orb:hover { color: var(--accent-ink); }
.pd-hint { position: absolute; left: 4px; bottom: 0; font-size: 12px; white-space: nowrap; color: var(--dim); }
.pd-text { display: flex; flex-direction: column; gap: 12px; padding-top: 30px; min-width: 0; }
.pd-top { display: flex; align-items: center; gap: 10px; }
.pd-tag { font-size: 12px; letter-spacing: .12em; color: var(--accent-ink); }
.pd-mine { font-size: 11.5px; font-weight: 700; color: var(--on-accent); background: var(--accent); padding: 2px 8px; }
.pd-title { margin: 0; font-family: var(--f-display); font-size: clamp(22px, 2.4vw, 28px); font-weight: 900; line-height: 1.3; letter-spacing: -.03em; }
.pd-line { margin: 0; font-size: 15px; line-height: 1.75; color: var(--soft); }
.pd-key { align-self: flex-start; font-size: 14px; font-weight: 700; color: var(--accent-ink); background: var(--accent-soft); padding: 6px 12px; }
.pd-shot { margin: 0; min-width: 0; }
.pd-shot { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
.pd-shot img { width: 100%; height: auto; max-height: 400px; object-fit: contain; object-position: top left; border: 1px solid var(--line-2); background: var(--surface); cursor: zoom-in; display: block; }
.fade { animation: fd .45s ease both; }
@keyframes fd { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.mc-foot1 { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; border-top: 1px solid var(--line-2); padding-top: 14px; }
.mc-nums { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 32px; }
.mc-nums li { display: flex; align-items: baseline; gap: 8px; }
.mc-nums b { font-size: 22px; color: var(--accent-ink); }
.mc-nums span { font-size: 13px; color: var(--soft); }
.mc-more-panel .mc-split { margin-top: 0; }
@media (max-width: 980px) {
  .pd { grid-template-columns: minmax(0, 1fr); height: auto; }
  .pd-arc { display: none; }
  .pd-shot img { max-height: 260px; }
  .mc-me { align-items: flex-start; text-align: left; }
}
@media (prefers-reduced-motion: reduce) { .pd-orb, .pd-wheel { transition: none; } .fade { animation: none; } }
.pd-tabs { display: none; }
@media (max-width: 980px) {
  .pd-tabs { display: flex; gap: 6px; overflow-x: auto; }
  .pd-tab { flex: none; min-height: 40px; padding: 0 12px; border: 1px solid var(--line-2); background: none; color: var(--soft); font-size: 12.5px; cursor: pointer; }
  .pd-tab.mine { border-color: var(--accent); }
  .pd-tab[aria-pressed="true"] { background: var(--fg); border-color: var(--fg); color: var(--bg); }
}
/* 서가 A: 결과물과 노트 사이 북엔드 */
.note-case { flex: none; display: flex; flex-direction: column; margin: 0 12px; border: 3px solid var(--accent); border-bottom: 0; background: color-mix(in srgb, var(--accent) 7%, transparent); }
.note-case-tag { display: flex; align-items: baseline; gap: 10px; padding: 7px 12px; border: 0; background: var(--accent); color: var(--on-accent); font: inherit; text-align: left; cursor: pointer; white-space: nowrap; }
.note-case-tag .mono { font-size: 11px; letter-spacing: .14em; opacity: .85; }
.note-case-tag b { font-size: 15px; font-weight: 800; }
.note-case-go { margin-left: auto; font-size: 13px; font-weight: 700; }
.note-case-in { display: flex; align-items: flex-end; gap: 7px; padding: 14px 10px 0; }
.note-case-in > .spine-btn { zoom: .78; }
.note-case-in > .pulled { margin: 0 12px; }
.pd-cap { display: flex; gap: 8px; align-items: baseline; font-size: 12.5px; line-height: 1.45; color: var(--soft); }
.pd-cap-k { flex: none; font-size: 11px; font-weight: 700; padding: 2px 7px; background: var(--fg); color: var(--bg); }
.pd-cap-k.deck { background: var(--surface-2); color: var(--fg); border: 1px solid var(--line-2); }
.pd-shot img { max-height: 340px; }

/* 메인 프로젝트를 다른 구역과 분리(2026-11-24 요청): 흰 바탕 판 + 위쪽 포인트색 굵은 선. 둥근 모서리와 떠 있는 그림자는 쓰지 않는다 */
.mc { background: color-mix(in srgb, var(--surface) 40%, transparent); border-top: 4px solid var(--accent); padding: 26px clamp(18px, 2.6vw, 34px) 30px; box-shadow: 0 0 0 1px var(--line); }
.mc .pd-shot img { background: var(--bg); }
/* 글자가 살짝 떠오르는 효과: 탭을 바꾸거나 다이얼을 돌릴 때마다 제목, 핵심 한 줄, 숫자가 차례로 올라온다 */
@keyframes pop { 0% { opacity: 0; transform: translateY(14px) scale(.97); } 65% { opacity: 1; transform: translateY(-3px) scale(1.01); } 100% { opacity: 1; transform: none; } }
.mc:not([hidden]) .mc-title { animation: pop .55s cubic-bezier(.2,.8,.2,1) both; }
.mc:not([hidden]) .mc-me b { animation: pop .55s .08s cubic-bezier(.2,.8,.2,1) both; }
.mc:not([hidden]) .mc-nums li { animation: pop .5s cubic-bezier(.2,.8,.2,1) both; }
.mc:not([hidden]) .mc-nums li:nth-child(2) { animation-delay: .08s; }
.mc:not([hidden]) .mc-nums li:nth-child(3) { animation-delay: .16s; }
.pd-text.fade .pd-title { animation: pop .5s .04s cubic-bezier(.2,.8,.2,1) both; }
.pd-text.fade .pd-key { animation: pop .5s .16s cubic-bezier(.2,.8,.2,1) both; }
.mc-nums b { transition: transform .2s, color .2s; display: inline-block; }
.mc-nums li:hover b { transform: translateY(-3px); color: var(--accent-ink); }
@media (max-width: 700px) { .mc { padding: 18px 14px 22px; } }
@media (prefers-reduced-motion: reduce) { .mc .mc-title, .mc .mc-me b, .mc .mc-nums li, .pd-text.fade .pd-title, .pd-text.fade .pd-key { animation: none; } }
@media (min-width: 901px) { .mc-top { flex-wrap: nowrap; } .mc-top-l { flex: 1 1 auto; } .mc-me { flex: 0 1 340px; } }

/* 다이얼 단계 막대와 설명 강조 */
.pd-prog { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; margin: 2px 0 4px; }
.pd-prog span { position: relative; height: 4px; background: var(--line); }
.pd-prog span.done { background: color-mix(in srgb, var(--accent) 45%, var(--line)); }
.pd-prog span.on { background: var(--accent); }
.pd-prog i { position: absolute; top: 8px; left: 0; font-style: normal; font-size: 10.5px; letter-spacing: .04em; color: var(--dim); white-space: nowrap; }
.pd-prog span.on i { color: var(--accent-ink); font-weight: 700; }
.pd-prog { margin-bottom: 22px; }
.pd-text { border-left: 1px solid var(--line); padding-left: 24px; }
.pd-line strong.hi { color: var(--fg); }
.d-points { margin: 6px 0 0; padding-left: 18px; display: flex; flex-direction: column; gap: 4px; line-height: 1.6; color: var(--soft); }
.d-points li::marker { color: var(--accent); }
@media (max-width: 900px) { .pd-text { border-left: 0; padding-left: 0; } }
