/* "Who I am" hero above the AudiOS device (personal-hero.js).
   Portrait in the middle, three soft circles on each side (Audi's own picks),
   same feathered edge as the About side reel. */
.phh { max-width: 1200px; margin: 8px auto 36px; padding: 0 24px; position: relative; z-index: 1; color: #e6ebf5; }
.phh-head { text-align: center; margin-bottom: 6px; }
.phh-eyebrow { display: inline-block; font: 600 13.5px/1.4 Mitr, sans-serif; color: #f2dca6; background: rgba(229, 197, 134, 0.12); border: 1px solid rgba(229, 197, 134, 0.35); padding: 4px 14px; border-radius: 999px; }
.phh-head h1 { margin: 10px 0 0; font: 700 clamp(30px, 3.6vw, 44px)/1.3 Mitr, sans-serif; color: #f4f6fb; letter-spacing: -0.01em; }
.phh-stage { display: grid; grid-template-columns: 1fr minmax(240px, 380px) 1fr; align-items: center; gap: 12px; }
.phh-me { position: relative; display: grid; place-items: end center; }
.phh-me img { position: relative; z-index: 1; width: 100%; height: auto; filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.5)); -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%); mask-image: linear-gradient(180deg, #000 72%, transparent 100%); }
.phh-halo { position: absolute; left: 50%; top: 52%; width: 86%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: radial-gradient(circle, rgba(229, 197, 134, 0.28), rgba(91, 120, 220, 0.14) 55%, transparent 72%); }
.phh-col { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.phh-col.is-left { justify-items: end; }
.phh-col.is-right { justify-items: start; }
/* gentle arc: the middle circle leans out toward the edge */
.phh-col.is-left .s1 { margin-right: 46px; }
.phh-col.is-right .s1 { margin-left: 46px; }
.phh-slot { position: relative; }
.phh-orb { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; font: inherit; border-radius: 50%; }
.phh-img { display: block; width: clamp(104px, 9vw, 150px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #0b1222;
  -webkit-mask-image: radial-gradient(closest-side, #000 60%, rgba(0, 0, 0, 0.7) 78%, rgba(0, 0, 0, 0.25) 92%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 60%, rgba(0, 0, 0, 0.7) 78%, rgba(0, 0, 0, 0.25) 92%, transparent 100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1); }
.phh-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.phh-orb:hover .phh-img, .phh-orb:focus-visible .phh-img { transform: scale(1.06); }
.phh-orb:focus-visible { outline: 2px solid #93c5fd; outline-offset: 4px; }
.phh-name { max-width: 160px; font: 500 13.5px/1.45 Mitr, sans-serif; color: #c9d2e3; text-align: center; overflow-wrap: anywhere; }
.phh-orb.is-empty .phh-img { display: grid; place-items: center; background: rgba(255, 255, 255, 0.04); border: 1.5px dashed rgba(255, 255, 255, 0.28); -webkit-mask-image: none; mask-image: none; }
.phh-orb.is-empty em { font-style: normal; font-size: 30px; color: #aab4c8; }
.phh-orb.is-empty .phh-name { color: #aab4c8; }
.phh-tools { position: absolute; top: -4px; right: -4px; display: flex; gap: 4px; }
.phh-tools button { width: 30px; height: 30px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.22); background: #101a30; color: #e6ebf5; cursor: pointer; font-size: 13px; }
.phh-tools button:hover, .phh-tools button:focus-visible { border-color: #e5c586; }
.phh-owner { text-align: center; margin-top: 10px; }
.phh-undo { padding: 8px 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.06); color: #e6ebf5; font: 500 14px Mitr, sans-serif; cursor: pointer; }
.phh-picker { position: fixed; inset: 8vh 50% auto auto; transform: translateX(50%); width: min(720px, 92vw); max-height: 80vh; overflow: auto; z-index: 3000; padding: 18px; border-radius: 20px;
  background: linear-gradient(145deg, rgba(28, 39, 64, 0.99), rgba(10, 15, 30, 0.99)); border: 1px solid rgba(255, 255, 255, 0.16); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); }
.phh-picker-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; font: 600 16px Mitr, sans-serif; color: #f4f6fb; }
.phh-picker-head button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.06); color: #e6ebf5; cursor: pointer; }
.phh-search { width: 100%; box-sizing: border-box; padding: 10px 14px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.2); background: #0b1222; color: #f4f6fb; font: 400 16px Mitr, sans-serif; color-scheme: dark; margin-bottom: 12px; }
.phh-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
.phh-grid button { width: 100%; display: flex; flex-direction: column; gap: 6px; padding: 6px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.04); color: #e6ebf5; cursor: pointer; text-align: left; font: 500 13px/1.4 Mitr, sans-serif; }
.phh-grid button:hover, .phh-grid button:focus-visible { border-color: #e5c586; }
.phh-grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; }
.phh-none { color: #aab4c8; text-align: center; }
/* personal.html is dark in both themes, so the hero keeps light ink everywhere */
@media (max-width: 760px) {
  .phh-stage { grid-template-columns: 1fr 1fr; grid-template-areas: "me me" "l r"; }
  .phh-me { grid-area: me; max-width: 280px; margin: 0 auto; }
  .phh-col.is-left { grid-area: l; justify-items: center; }
  .phh-col.is-right { grid-area: r; justify-items: center; }
  .phh-col .s1 { margin: 0 !important; }
}
@media (prefers-reduced-motion: reduce) { .phh-img { transition: none; } }
/* category chips in the picker */
.phh-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.phh-cats button { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.18); background: rgba(255, 255, 255, 0.05); color: #e6ebf5; font: 500 13.5px/1.3 Mitr, sans-serif; cursor: pointer; white-space: nowrap; }
.phh-cats button b { font: 700 12px/1 "Space Grotesk", sans-serif; color: #aab4c8; }
.phh-cats button:hover, .phh-cats button:focus-visible { border-color: #e5c586; }
.phh-cats button.is-on { background: #e5c586; color: #111620; border-color: #e5c586; }
.phh-cats button.is-on b { color: #5b4310; }
.phh-grid small { font: 500 11.5px/1.3 Mitr, sans-serif; color: #aab4c8; }
@media (max-width: 760px) {
  .phh-cats { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); mask-image: linear-gradient(90deg, #000 88%, transparent); }
  .phh-cats::-webkit-scrollbar { display: none; }
  .phh-cats button { flex: none; }
}
/* the six circles float gently, each on its own rhythm (Audi 2026-10-17: "ลอยๆ ขยับนิดหน่อย") */
.phh-slot .phh-orb { animation: phhFloat 6s ease-in-out infinite; }
.phh-col.is-left .s0 .phh-orb { animation-duration: 6.4s; animation-delay: -0.8s; }
.phh-col.is-left .s1 .phh-orb { animation-duration: 7.2s; animation-delay: -3.1s; }
.phh-col.is-left .s2 .phh-orb { animation-duration: 5.8s; animation-delay: -1.9s; }
.phh-col.is-right .s0 .phh-orb { animation-duration: 6.9s; animation-delay: -2.4s; }
.phh-col.is-right .s1 .phh-orb { animation-duration: 6.1s; animation-delay: -0.3s; }
.phh-col.is-right .s2 .phh-orb { animation-duration: 7.5s; animation-delay: -4.2s; }
@keyframes phhFloat {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  30% { transform: translate(2px, -9px) rotate(1deg); }
  65% { transform: translate(-2px, -4px) rotate(-1deg); }
}
.phh-orb.is-empty, .phh-slot:hover .phh-orb, .phh-orb:focus-visible { animation-play-state: paused; }
@media (prefers-reduced-motion: reduce) { .phh-slot .phh-orb { animation: none; } }
body.paused .phh-slot .phh-orb, html[data-motion="paused"] .phh-slot .phh-orb { animation: none; }
