/* "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 'Plus Jakarta Sans', 'Sarabun', 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 'Outfit', 'Sarabun', 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 'Plus Jakarta Sans', 'Sarabun', 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 'Plus Jakarta Sans', 'Sarabun', 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 'Plus Jakarta Sans', 'Sarabun', 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 'Plus Jakarta Sans', 'Sarabun', 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 'Plus Jakarta Sans', 'Sarabun', 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; }
/* Light mode: crisp ink on sky background (≥7:1 contrast, no washed-out grey) */
html[data-theme="light"] .phh { color: #0f172a; }
html[data-theme="light"] .phh-eyebrow { color: #5c3a00; background: rgba(254, 243, 199, 0.92); border-color: rgba(184, 134, 11, 0.48); }
html[data-theme="light"] .phh-head h1 { color: #0f172a; }
html[data-theme="light"] .phh-name { color: #1e293b; font-weight: 600; }
html[data-theme="light"] .phh-orb.is-empty .phh-img { background: rgba(15, 23, 42, 0.06); border-color: rgba(15, 23, 42, 0.28); }
html[data-theme="light"] .phh-orb.is-empty em,
html[data-theme="light"] .phh-orb.is-empty .phh-name { color: #475569; }
@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 'Plus Jakarta Sans', 'Sarabun', sans-serif; cursor: pointer; white-space: nowrap; }
.phh-cats button b { font: 700 12px/1 'Plus Jakarta Sans', 'Sarabun', sans-serif; color: #aab4c8; }
.phh-cats button:hover, .phh-cats button:focus-visible { border-color: #e5c586; }
.phh-cats button.is-on { background: linear-gradient(135deg, #684812 0%, #3b2708 100%); color: #f8fafc; border-color: rgba(229, 197, 134, 0.75); box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35), 0 0 12px rgba(229, 197, 134, 0.16); }
.phh-cats button.is-on b { color: #f2dca6; }
.phh-grid small { font: 500 11.5px/1.3 'Plus Jakarta Sans', 'Sarabun', 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; }
/* === AUDIFLIX Semantic Jewel-Tone Multi-Tab & Filter Pill System (Audi 2026-10-22) === */
:is(.phh-cats button) {
  color: #f8fafc !important;
  font-family: 'Plus Jakarta Sans', 'Sarabun', sans-serif !important;
  font-weight: 700 !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(255, 255, 255, 0.14) !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease, filter 0.18s ease !important;
  
}
:is(.phh-cats button) :is(b, strong) {
  color: #ffffff !important;
}
:is(.phh-cats button) small {
  color: rgba(255, 255, 255, 0.86) !important;
}
:is(.phh-cats button):nth-child(6n+1) {
  background: linear-gradient(135deg, #4f3812 0%, #2d1f09 100%) !important;
  border: 1.5px solid rgba(245, 158, 11, 0.72) !important;
  color: #fef3c7 !important;
}
:is(.phh-cats button):nth-child(6n+2) {
  background: linear-gradient(135deg, #571d40 0%, #331025 100%) !important;
  border: 1.5px solid rgba(244, 114, 182, 0.72) !important;
  color: #fce7f3 !important;
}
:is(.phh-cats button):nth-child(6n+3) {
  background: linear-gradient(135deg, #164e3e 0%, #0d3126 100%) !important;
  border: 1.5px solid rgba(16, 185, 129, 0.72) !important;
  color: #d1fae5 !important;
}
:is(.phh-cats button):nth-child(6n+4) {
  background: linear-gradient(135deg, #4c2263 0%, #2d123b 100%) !important;
  border: 1.5px solid rgba(168, 85, 247, 0.72) !important;
  color: #f3e8ff !important;
}
:is(.phh-cats button):nth-child(6n+5) {
  background: linear-gradient(135deg, #542912 0%, #301608 100%) !important;
  border: 1.5px solid rgba(249, 115, 22, 0.76) !important;
  color: #ffedd5 !important;
}
:is(.phh-cats button):nth-child(6n+6) {
  background: linear-gradient(135deg, #541c29 0%, #310f17 100%) !important;
  border: 1.5px solid rgba(244, 63, 94, 0.72) !important;
  color: #ffe4e6 !important;
}
:is(.phh-cats button):nth-child(6n+1):is(:hover, :focus-visible, .active, .is-active, .is-on, .on, [aria-selected="true"], [aria-pressed="true"]) {
  background: linear-gradient(135deg, #684812 0%, #3b2708 100%) !important;
  border-color: #fde68a !important;
  color: #fffbeb !important;
  box-shadow: 0 0 18px rgba(245, 158, 11, 0.42), 0 8px 20px rgba(0, 0, 0, 0.44), inset 0 1px 0 rgba(255, 255, 255, 0.28) !important;
  transform: translateY(-1.5px);
}
:is(.phh-cats button):nth-child(6n+2):is(:hover, :focus-visible, .active, .is-active, .is-on, .on, [aria-selected="true"], [aria-pressed="true"]) {
  background: linear-gradient(135deg, #6b214d 0%, #3d122c 100%) !important;
  border-color: #f9a8d4 !important;
  color: #fdf2f8 !important;
  box-shadow: 0 0 18px rgba(236, 72, 153, 0.42), 0 8px 20px rgba(0, 0, 0, 0.44), inset 0 1px 0 rgba(255, 255, 255, 0.28) !important;
  transform: translateY(-1.5px);
}
:is(.phh-cats button):nth-child(6n+3):is(:hover, :focus-visible, .active, .is-active, .is-on, .on, [aria-selected="true"], [aria-pressed="true"]) {
  background: linear-gradient(135deg, #17594c 0%, #0d352d 100%) !important;
  border-color: #a7f3d0 !important;
  color: #ecfdf5 !important;
  box-shadow: 0 0 18px rgba(16, 185, 129, 0.38), 0 8px 20px rgba(0, 0, 0, 0.44), inset 0 1px 0 rgba(255, 255, 255, 0.28) !important;
  transform: translateY(-1.5px);
}
:is(.phh-cats button):nth-child(6n+4):is(:hover, :focus-visible, .active, .is-active, .is-on, .on, [aria-selected="true"], [aria-pressed="true"]) {
  background: linear-gradient(135deg, #682e87 0%, #3e1952 100%) !important;
  border-color: #e9d5ff !important;
  color: #faf5ff !important;
  box-shadow: 0 0 18px rgba(168, 85, 247, 0.42), 0 8px 20px rgba(0, 0, 0, 0.44), inset 0 1px 0 rgba(255, 255, 255, 0.28) !important;
  transform: translateY(-1.5px);
}
:is(.phh-cats button):nth-child(6n+5):is(:hover, :focus-visible, .active, .is-active, .is-on, .on, [aria-selected="true"], [aria-pressed="true"]) {
  background: linear-gradient(135deg, #753918 0%, #45200b 100%) !important;
  border-color: #fdba74 !important;
  color: #fff7ed !important;
  box-shadow: 0 0 18px rgba(249, 115, 22, 0.42), 0 8px 20px rgba(0, 0, 0, 0.44), inset 0 1px 0 rgba(255, 255, 255, 0.28) !important;
  transform: translateY(-1.5px);
}
:is(.phh-cats button):nth-child(6n+6):is(:hover, :focus-visible, .active, .is-active, .is-on, .on, [aria-selected="true"], [aria-pressed="true"]) {
  background: linear-gradient(135deg, #682132 0%, #3d121d 100%) !important;
  border-color: #fecdd3 !important;
  color: #fff1f2 !important;
  box-shadow: 0 0 18px rgba(244, 63, 94, 0.38), 0 8px 20px rgba(0, 0, 0, 0.44), inset 0 1px 0 rgba(255, 255, 255, 0.28) !important;
  transform: translateY(-1.5px);
}
/* Six picks = soft feathered glow, never a ring (Audi 2026-10-25: "ทำให้มันฟุ้งๆหน่อยได้ไหมไม่เอาขอบวงรีสีส้มเหลือง").
   The orb button itself carries no fill/border; a blurred halo sits behind the masked photo. */
.phh-orb { position: relative; isolation: isolate; background: none !important; border: 0 !important; box-shadow: none !important; --phh-glow: 229, 197, 134; }
.phh-orb::before { content: ''; position: absolute; z-index: -1; left: 50%; top: 0; width: clamp(104px, 9vw, 150px); aspect-ratio: 1; translate: -50% 0; scale: 1.6; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(var(--phh-glow), 0.62), rgba(var(--phh-glow), 0.26) 55%, transparent 100%);
  filter: blur(14px); opacity: .85; transition: opacity .35s ease, scale .35s cubic-bezier(0.16, 1, 0.3, 1); animation: phhBreathe 5.5s ease-in-out infinite; }
.phh-orb:is(:hover, :focus-visible)::before { opacity: 1; scale: 1.8; }
.phh-orb.is-empty::before { display: none; }
.phh-col.is-left .s0 .phh-orb { --phh-glow: 147, 197, 253; }
.phh-col.is-left .s1 .phh-orb { --phh-glow: 244, 170, 210; }
.phh-col.is-left .s2 .phh-orb { --phh-glow: 145, 223, 186; }
.phh-col.is-right .s0 .phh-orb { --phh-glow: 196, 170, 250; }
.phh-col.is-right .s1 .phh-orb { --phh-glow: 240, 200, 120; }
.phh-col.is-right .s2 .phh-orb { --phh-glow: 125, 211, 230; }
@keyframes phhBreathe { 0%, 100% { opacity: .7; } 50% { opacity: 1; } }
html[data-theme="light"] .phh-orb::before { filter: blur(16px) saturate(1.6); opacity: 1; animation: none; }
@media (prefers-reduced-motion: reduce) { .phh-orb::before { animation: none; } }
body.paused .phh-orb::before, html[data-motion="paused"] .phh-orb::before { animation: none; }
