/* 16 型人格測驗頁專用樣式 */
.pt-honest { background: #fff7ed; border-left: 4px solid #ea580c; padding: 10px 14px; border-radius: 6px; font-size: 1rem; }
.pt-progress { position: sticky; top: 0; z-index: 5; margin: 0 0 8px; padding: 8px 0; background: #fff; font-weight: 700; color: var(--brand-dark); border-bottom: 1px solid var(--line); }
.pt-q { border: 1px solid var(--line); border-radius: 12px; margin: 0 0 10px; padding: 8px 10px 12px; min-width: 0; }
.pt-q legend { padding: 0 4px; font-size: 1.05rem; line-height: 1.6; font-weight: 600; }
.pt-n { color: var(--muted); font-weight: 400; }
.pt-q.pt-missing { border-color: #dc2626; background: #fef2f2; }
.pt-scale { display: flex; align-items: center; justify-content: space-between; gap: 2px; margin-top: 6px; }
.pt-ends { display: flex; justify-content: space-between; font-size: .85rem; color: var(--muted); margin-top: 4px; }
.pt-opt { position: relative; flex: 1 1 0; min-width: 0; display: flex; justify-content: center; cursor: pointer; }
.pt-opt input { position: absolute; opacity: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.pt-opt span { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 2px solid var(--line); border-radius: 50%; background: #fff; font-weight: 600; color: var(--muted); }
.pt-opt input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.pt-opt input:focus-visible + span { outline: 3px solid #93c5fd; outline-offset: 2px; }
.pt-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.pt-go { min-height: 52px; font-size: 1.1rem; flex: 1 1 160px; }
.pt-result { margin-top: 12px; background: #eff4ff; border: 2px solid var(--brand); border-radius: 12px; padding: 4px 14px 14px; }
.pt-result:focus { outline: none; }
.pt-h2 { font-size: 1.1rem; margin: .6rem 0 .2rem; }
.pt-code { font-size: 2.6rem; font-weight: 800; letter-spacing: .12em; color: var(--brand-dark); margin: .2rem 0; }
.pt-desc { margin: 0 0 .5rem; }
.pt-bar { margin: 12px 0; }
.pt-bar-head { display: flex; justify-content: space-between; gap: 8px; font-weight: 600; font-size: .95rem; flex-wrap: wrap; }
.pt-track { height: 14px; border-radius: 7px; background: #f59e0b; overflow: hidden; margin: 4px 0; }
.pt-track i { display: block; height: 100%; background: var(--brand); }
.pt-bar-note { margin: 0; font-size: .95rem; color: var(--muted); }
.pt-flag { color: #b45309; font-weight: 700; }
.pt-types { display: grid; grid-template-columns: 1fr; gap: 10px; }
.pt-type { border: 1px solid var(--line); border-radius: 12px; padding: 4px 14px 10px; scroll-margin-top: 12px; }
.pt-type h3 { margin: .5rem 0 .2rem; color: var(--brand-dark); letter-spacing: .08em; }
.pt-type p { margin: 0; }
.pt-type:target { border-color: var(--brand); background: #eff4ff; }
@media (min-width: 720px) { .pt-types { grid-template-columns: 1fr 1fr; } }
@media (max-width: 400px) { .pt-opt span { width: 34px; height: 34px; } .pt-code { font-size: 2.2rem; } }
