/* Positioning and voice wheels (widgets/portrayal/portrayal.js) */
.pt { display: flex; flex-direction: column; gap: 10px; padding: 16px 18px; background: var(--tile-bg); }
.pt__top { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; }
.pt__eyebrow { font-size: 12px; letter-spacing: .05em; text-transform: uppercase; color: var(--muted); }
.pt__names { display: flex; flex-wrap: wrap; gap: 5px; }
.pt__names button { padding: 5px 11px; border: 0; border-radius: 100px; background: none; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-2); font: inherit; font-size: 12.5px; cursor: pointer; transition: background .2s ease, color .2s ease; }
.pt__names button:hover, .pt__names button:focus-visible { box-shadow: inset 0 0 0 1px var(--ink); outline: none; }
.pt__names button.is-on { background: var(--ink); color: var(--bg); box-shadow: none; }
.pt__pair { flex: 1; min-height: 0; display: grid; grid-template-columns: minmax(0, .62fr) minmax(0, 1fr); gap: 14px; }
.pt__card { margin: 0; min-height: 0; display: grid; grid-template-rows: minmax(0, 1fr) auto; gap: 8px; padding: 12px; border-radius: 14px; background: var(--bg); }
.pt__wheel { position: relative; min-height: 0; }
.pt__wheel svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.pt__card--base .pt__wheel svg { inset: 12.5%; width: 75%; height: 75%; }
.pt__wheel--rival.is-in svg { animation: pt-in .5s cubic-bezier(.2,.8,.2,1); }
@keyframes pt-in { from { opacity: 0; transform: rotate(-8deg) scale(.94); } }
.pt__q { stroke: var(--bg); stroke-width: 2; }
.pt__w { font: 600 9px var(--font); fill: #fff; text-transform: uppercase; letter-spacing: .02em; }
.pt__w.is-shared { text-decoration: underline; text-underline-offset: 2px; }
.pt__lbl { font: 500 7.5px var(--font); fill: var(--muted); text-transform: uppercase; letter-spacing: .14em; }
.pt__hub { stroke: var(--bg); stroke-width: 2; }
.pt__card figcaption { display: flex; flex-direction: column; gap: 3px; font-size: 13px; line-height: 1.38; color: var(--ink-2); min-height: 4.2em; }
.pt__card--base figcaption { font-size: 12px; }
.pt__card figcaption b { font-size: 15px; color: var(--ink); }
@media (prefers-reduced-motion: reduce) { .pt__wheel--rival.is-in svg { animation: none; } }
/* On Great Dane's dark red page the cards go darker so the red wheel stands out. */
[data-theme=dark] .p-great-dane .pt__card { background: rgba(0,0,0,.28); }
[data-theme=dark] .p-great-dane .pt__q, [data-theme=dark] .p-great-dane .pt__hub { stroke: #3a0102; }
