/* Shared draggable companion; the homepage anchors beside the composer. */
.home-skills {
  position:absolute;top:calc(100% + 9px);left:14px;z-index:5;
  display:flex;align-items:center;gap:10px;height:48px;
  font-family:var(--font-ui,sans-serif);
}
.home-skills.is-floating {
  position:fixed;z-index:120;width:43.2px;margin:0;
}
.home-skills[hidden] {display:none!important;}
.home-skills.is-floating .home-skill-options,
.home-skills.is-floating .home-skill-selection {position:absolute;left:53px;top:5px;width:max-content;}
.home-skills.is-floating.opens-left .home-skill-options,
.home-skills.is-floating.opens-left .home-skill-selection {left:auto;right:53px;}
.home-skills.opens-left .home-skill-hint {left:auto;right:45px;}
.home-skills.hint-below.has-selection .home-skill-hint {top:calc(100% + 5px);transform:none;}
.home-skills.is-dragging .home-skill-hint,
.home-skills.is-context-open .home-skill-hint {display:none;}
.home-skills.is-dragging .home-skill-orb {cursor:grabbing;}
.home-skill-orb {
  position:relative;display:grid;place-items:center;flex:0 0 43.2px;
  width:43.2px;height:48px;padding:0;border:0;background:transparent;cursor:grab;
  touch-action:none;user-select:none;-webkit-user-select:none;
}
.home-skill-sphere {
  position:relative;display:block;width:40.8px;height:40.8px;border-radius:50%;
  background:
    radial-gradient(ellipse at 35% 9%,#f0eaffbd 0%,transparent 48%),
    radial-gradient(ellipse at 52% 113%,#8df5f5 0%,#75b8fa 27%,transparent 60%),
    radial-gradient(circle at 52% 48%,#6850f0 22%,#7967f5 55%,#bdb4ff 84%);
  box-shadow:inset 0 1px 3px #fff9,inset 0 -2px 4px #b2eaff80,0 2px 9px #7c69f95c;
  animation:home-skill-glow 3.6s ease-in-out infinite,home-skill-float 4.8s ease-in-out infinite;
}
.home-skill-eyes {
  position:absolute;inset:14px 11px auto;display:flex;justify-content:space-between;
  transform:translate(var(--skill-eye-x,0px),var(--skill-eye-y,0px));
  transition:transform 100ms ease-out;
}
.home-skill-eyes i {width:3.5px;height:8px;border-radius:4px;background:#fff;box-shadow:0 0 3px #fff9;}
@keyframes home-skill-glow {
  0%,100% {filter:brightness(.94);box-shadow:inset 0 1px 3px #fff9,inset 0 -2px 4px #b2eaff80,0 2px 7px #7c69f94a;}
  50% {filter:brightness(1.16);box-shadow:inset 0 1px 4px #fffb,inset 0 -2px 5px #b2eaffa0,0 0 13px #9484ff99,0 3px 17px #71cefa40;}
}
@keyframes home-skill-float {
  0%,100% {transform:translateY(0) rotate(-1deg)}
  50% {transform:translateY(-3px) rotate(1deg)}
}
.home-skill-orb:focus-visible,.home-skill-option:focus-visible,
.home-skill-selected:focus-visible,.home-skill-clear:focus-visible {outline:2px solid #c8c4ff;outline-offset:3px;}
.home-skill-orb:disabled {cursor:wait;}
.home-skill-hint {
  position:absolute;left:45px;top:50%;transform:translateY(-50%);padding:5px 9px;
  border-radius:10px;background:#282833;box-shadow:0 3px 12px #0003;color:#edebff;
  white-space:nowrap;font-size:11px;line-height:18px;opacity:0;visibility:hidden;
  pointer-events:none;transition:opacity 140ms ease;
}
.home-skill-orb:is(:hover,:focus-visible) + .home-skill-hint {opacity:1;visibility:visible;}

.home-skills.is-open .home-skill-hint {display:none;}
.home-skills.has-selection .home-skill-hint {top:-5px;transform:translateY(-100%);}
.home-skill-options {display:flex;align-items:center;gap:6px;}
.home-skills.is-home .home-skill-options {flex-direction:column;max-height:calc(100vh - 24px);overflow-y:auto;scrollbar-width:thin;}
.home-skills.is-home.is-floating .home-skill-options {top:var(--skill-options-offset,5px);}
.home-skills.is-home .home-skill-option {flex-shrink:0;}
.home-skills.is-home.is-open::after {content:"";position:absolute;left:100%;top:var(--skill-options-offset,5px);width:10px;height:calc(100% - var(--skill-options-offset,5px));}
.home-skills.is-home.opens-left.is-open::after {left:auto;right:100%;}
.home-skills.is-home .home-skill-options::before {display:none;}
.home-skill-option,.home-skill-selected {
  position:relative;width:66px;height:38px;overflow:hidden;padding:0;
  border:1px solid #ffffff24;border-radius:10px;background:#202228;color:#fff;cursor:pointer;
}
.home-skill-option[aria-pressed="true"],.home-skill-selected {border-color:#b8e9f2;}
.home-skill-option img,.home-skill-selected img {display:block;width:100%;height:100%;object-fit:cover;}
.home-skill-option span,.home-skill-selected span {
  position:absolute;inset:0;display:flex;align-items:flex-end;justify-content:center;
  padding-bottom:4px;background:linear-gradient(transparent 30%,#0009);color:#fff;
  font-size:10px;font-weight:600;line-height:14px;white-space:nowrap;
}
.home-skill-selection {position:relative;display:flex;align-items:center;}
.home-skill-clear {
  position:absolute;top:-4px;right:-5px;display:grid;place-items:center;width:16px;height:16px;
  padding:0;border:1px solid #666873;border-radius:50%;background:#292a32;color:#f3f3f7;
  font:12px/1 sans-serif;cursor:pointer;
}
.home-skill-announcement {position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap;}
.home-skill-context {
  position:fixed;display:grid;gap:3px;width:186px;padding:5px;
  box-sizing:border-box;border:1px solid #ffffff20;border-radius:10px;
  background:#24252ded;box-shadow:0 6px 24px #0006;backdrop-filter:blur(14px);
}
.home-skill-context button {
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:8px 9px;border:0;border-radius:10px;background:transparent;
  color:#eeedf4;text-align:left;white-space:nowrap;font:12px/18px var(--font-ui,sans-serif);cursor:pointer;
}
.home-skill-context button:is(:hover,:focus-visible) {background:#ffffff12;outline:none;}
.home-skill-context kbd {color:#a7a7b4;font:10px/18px var(--font-ui,sans-serif);}
.home-skills [hidden] {display:none;}
@media (prefers-reduced-motion:reduce) {
  .home-skill-sphere {animation:none;}
  .home-skill-eyes {transition:none;}
}

.home-skill-options::before{content:"";position:absolute;right:100%;top:-5px;width:14px;height:48px}.opens-left .home-skill-options::before{right:auto;left:100%}
.home-skills.is-dragging .home-skill-selection{display:none}.home-skills:is(.is-dragging,.is-open) .home-skill-sphere{animation-play-state:paused}

@media(max-width:460px){
 .home-skills.is-floating:not(.is-home) .home-skill-options,.home-skills.is-floating.opens-left:not(.is-home) .home-skill-options{position:fixed;left:12px;right:auto;top:var(--skill-mobile-menu-top,70px);width:calc(100vw - 24px);flex-wrap:wrap;justify-content:center;padding:8px;border:1px solid #ffffff20;border-radius:10px;background:#24252ded;backdrop-filter:blur(14px)}
}
