:root {
  --pillar-1: oklch(0.55 0.17 15);
  --pillar-2: oklch(0.33 0.09 265);
  --pillar-3: oklch(0.47 0.19 305);
  --pillar-4: oklch(0.73 0.16 60);
  --pillar-5: oklch(0.53 0.09 190);
  --pillar-6: oklch(0.6 0.15 155);
  --pillar-7: oklch(0.6 0.1 220);
  --pillar-gold: oklch(0.78 0.15 78);
  --pa-fg: oklch(0.129 0.042 264.695);
  --pa-muted: oklch(0.554 0.046 257.417);
  --pa-border: oklch(0.929 0.013 255.508);
}

.pa-section {
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--pa-fg);
}
.pa-wrap { max-width: 1100px; margin: 0 auto; }
.pa-head { max-width: 42rem; margin: 0 auto; text-align: center; }
.pa-head h1 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; margin: 0; letter-spacing: -0.02em; }
.pa-head p { margin: 0.75rem 0 0; color: var(--pa-muted); }
.pa-stage { position: relative; width: 100%; margin-top: 3rem; container-type: inline-size; }
.pa-svg { width: 100%; display: block; }
.pa-seg { cursor: pointer; outline: none; transition: opacity 0.3s ease; }
.pa-seg path { transition: filter 0.3s ease, transform 0.3s ease; transform-origin: 260px 260px; }
.pa-seg:hover path { filter: brightness(1.1); }
.pa-seg:focus-visible path { stroke: var(--pa-fg); stroke-width: 3; }
.pa-seg.is-dim { opacity: 0.45; }
.pa-seg.is-active-not-in-use path { transform: scale(1.035); filter: brightness(1.08); }
.pa-center {
  position: absolute; inset: 0; pointer-events: none;
}
.pa-center-inner {
  position: absolute; left: 50%; transform: translateX(-50%);
  bottom: 8.77%; width: 46.9%; height: 42.8%;
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  text-align: center;
}
.pa-detail { pointer-events: auto; padding: 0 4cqw 3cqw; animation: pa-fade 0.3s ease; }
.pa-detail h2 { margin: 0; font-weight: 700; line-height: 1.15; font-size: clamp(0.8rem, 2.1cqw, 1.5rem); }
.pa-detail p { margin: 0.4em 0 0; color: var(--pa-muted); line-height: 1.35; font-size: clamp(0.68rem, 1.7cqw, 1.15rem); }
.pa-detail p.is-long { font-size: clamp(0.6rem, 1.45cqw, 1rem); }
.pa-close {
  display: flex; align-items: center; justify-content: center; margin: 0 auto 0.35em;
  height: clamp(1.25rem, 2.4cqw, 2rem); width: clamp(1.25rem, 2.4cqw, 2rem);
  border: 0; border-radius: 999px; background: transparent; color: var(--pa-muted); cursor: pointer;
}
.pa-close:hover { background: oklch(0.968 0.007 247.896); color: var(--pa-fg); }
.pa-empty { display: flex; flex-direction: column; align-items: center; padding-bottom: 4cqw; animation: pa-fade 0.3s ease; }
.pa-emblem {
  display: flex; align-items: center; justify-content: center; border-radius: 999px;
  height: clamp(3rem, 9cqw, 6rem); width: clamp(3rem, 9cqw, 6rem);
  background: var(--pillar-gold); color: #fff;
}
.pa-empty span.pa-hint { margin-top: 0.6em; font-weight: 500; color: var(--pa-muted); font-size: clamp(0.7rem, 1.7cqw, 1.15rem); }
.pa-mobile { display: none; margin-top: 1rem; }
.pa-mobile .pa-card { border: 1px solid var(--pa-border); border-radius: 0.6rem; padding: 1rem; animation: pa-fade 0.3s ease; }
.pa-mobile h2 { margin: 0; font-size: 1rem; font-weight: 700; }
.pa-mobile p { margin: 0.35rem 0 0; font-size: 0.875rem; color: var(--pa-muted); }
.pa-mobile .pa-hint { text-align: center; font-size: 0.875rem; color: var(--pa-muted); }
@keyframes pa-fade { from { opacity: 0; transform: scale(0.96); } to { opacity: 1; transform: none; } }
@media (max-width: 639px) {
  .pa-center { display: none; }
  .pa-mobile { display: block; }
}