/* Header actions match the landing scene-pin glass buttons. */
.topbar .available i{display:none!important}
.topbar .available,.topbar .theme{
gap:10px;padding:10px 15px!important;background:#24242488!important;
-webkit-backdrop-filter:blur(14px)!important;backdrop-filter:blur(14px)!important;
border:1px solid #ffffff70!important;border-radius:30px!important;color:#fff!important;
box-shadow:0 4px 18px #0004!important;
transition:transform .3s,background .3s!important}
.topbar .available:hover,.topbar .theme:hover{
transform:translateY(-7px)!important;background:#bb2525d9!important}
.topbar .available:focus-visible,.topbar .theme:focus-visible{
background:#bb2525d9!important;outline:2px solid #ffffffb3;outline-offset:3px}
@media(prefers-reduced-motion:reduce){
.topbar .available,.topbar .theme{transition:none!important}
.topbar .available:hover,.topbar .theme:hover{transform:none!important}}

/* One vertical size, with natural content-based widths. */
.topbar .available,.topbar .theme,.hero .scene-pin{
box-sizing:border-box!important;height:44px!important;min-height:44px!important;
width:auto!important;min-width:0!important;padding:0 15px!important;
align-items:center!important;justify-content:center!important;white-space:nowrap}
@media(max-width:700px){.topbar .available,.topbar .theme,.hero .scene-pin{height:40px!important;min-height:40px!important}}

/* Match the portrait thought's gentle motion on the two landing links only. */
.hero .scene-pin{
animation:heroPinGentleBob 3.8s ease-in-out infinite;
transition:transform 520ms cubic-bezier(.22,1,.36,1),background .3s}
.hero .pin-about{animation-duration:4.2s;animation-delay:-1.2s}
.hero .scene-pin:hover,.hero .scene-pin:focus-visible{
animation-play-state:paused;transform:translateY(-4px)}
@keyframes heroPinGentleBob{0%,100%{translate:0 0}50%{translate:0 -5px}}
@media(prefers-reduced-motion:reduce){
.hero .scene-pin{animation:none;transition:none}
.hero .scene-pin:hover,.hero .scene-pin:focus-visible{transform:none;translate:none}}

/* Icon-only theme control; the accessible mode-switch label remains. */
.topbar .theme>span{display:none!important}
.topbar .theme{width:44px!important;min-width:44px!important;padding:0!important;gap:0!important}
@media(max-width:700px){.topbar .theme{width:40px!important;min-width:40px!important}}
