/* orbs.css — the minimized icon of every look, side by side.
   One rule set per look on `.ll-orb.<slug>`; the ll-shop widget carries the
   same rules under `:host([look="<slug>"]) .orb` (generated from this file —
   see the "Orbs" block in ll-shop.js). Edit here, then regenerate there.

   Each orb is the look's signature reduced to a 32px hit target:
     claudecore   the blue sphere — highlight top-left, deeper at the rim, glow
     console      a block cursor, pulsing, in a hairline square
     house-pour   a violet swirl behind an ivory rim, turning slowly
     punch-clock  a green pip in a 2px box that glitches now and then
     field-notes  the codex mark ◈ from the blog, throbbing lavender, a tiny
                  Fira Code label beneath */

.ll-orb {
  position: relative;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  overflow: visible;
  transform-origin: center;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.2s;
}
.ll-orb:hover { transform: scale(1.12); }
.ll-orb:active { transform: scale(0.95); }

/* ── claudecore: the sphere ── */
.ll-orb.claudecore {
  background: radial-gradient(circle at 35% 35%, #6db3f2, #397fd9 50%, #1e5aa8 100%);
  box-shadow: 0 2px 12px rgba(57, 127, 217, 0.45), inset 0 1px 2px rgba(255, 255, 255, 0.3);
}
.ll-orb.claudecore:hover {
  box-shadow: 0 3px 18px rgba(57, 127, 217, 0.7), inset 0 1px 2px rgba(255, 255, 255, 0.3);
}

/* ── console: a cursor, pulsing ── */
.ll-orb.console {
  border-radius: 0;
  background: #111420;
  border: 1px solid #383c4a;
}
.ll-orb.console::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 9px;
  height: 16px;
  margin: -8px 0 0 -4.5px;
  background: #397fd9;
  box-shadow: 0 0 6px rgba(57, 127, 217, 0.6);
  animation: ll-orb-caret 1.1s steps(2, jump-none) infinite;
}
.ll-orb.console:hover { border-color: #397fd9; }
@keyframes ll-orb-caret {
  0%   { opacity: 1; }
  100% { opacity: 0.15; }
}

/* ── house-pour: a violet swirl, turning ── */
.ll-orb.house-pour {
  background: #fffefa;
  border: 1px solid rgba(38, 35, 25, 0.2);
  box-shadow: 0 1px 2px rgba(38, 35, 25, 0.04), 0 14px 34px -18px rgba(38, 35, 25, 0.18);
  overflow: hidden;
}
.ll-orb.house-pour::after {
  content: '';
  position: absolute;
  inset: -45%;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #8f6fc7, #c9a961 30%, #d7c6ea 55%, #a07fd0 75%, #8f6fc7);
  filter: blur(4px);
  opacity: 0.85;
  animation: ll-orb-swirl 9s linear infinite;
}
.ll-orb.house-pour::before {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  border: 1px solid rgba(255, 254, 250, 0.7);
  z-index: 1;
}
@keyframes ll-orb-swirl {
  to { transform: rotate(360deg); }
}

/* ── punch-clock: a green pip, glitching now and then ── */
.ll-orb.punch-clock {
  border-radius: 0;
  background: #1a1a1e;
  border: 2px solid #33333a;
}
.ll-orb.punch-clock::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 8px;
  height: 8px;
  margin: -4px 0 0 -4px;
  background: #3fcc60;
  box-shadow: 0 0 6px #3fcc60;
  animation: ll-orb-glitch 7s steps(1, end) infinite;
}
.ll-orb.punch-clock:hover { border-color: #3fcc60; }
@keyframes ll-orb-glitch {
  0%, 91%   { transform: none; box-shadow: 0 0 6px #3fcc60; opacity: 1; }
  91.5%     { transform: translate(-3px, 1px); box-shadow: 3px 0 0 #5fb5ff, -3px 0 0 #cc4040; opacity: 0.9; }
  92.2%     { transform: translate(2px, -1px) scaleX(1.6); box-shadow: 0 0 6px #3fcc60; }
  92.8%     { transform: none; opacity: 0.2; }
  93.4%     { transform: translate(-1px, 0); box-shadow: 2px 0 0 #5fb5ff; opacity: 1; }
  94%, 100% { transform: none; box-shadow: 0 0 6px #3fcc60; opacity: 1; }
}

/* ── field-notes: the codex mark ── */
.ll-orb.field-notes {
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
}
.ll-orb.field-notes::after {
  content: '◈';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -54%);
  font-family: 'Exo 2', sans-serif;
  font-size: 1.45rem;
  line-height: 1;
  color: #c4a0d0;
  text-shadow: 0 0 8px rgba(196, 160, 208, 0.3);
  animation: ll-orb-throb 2.4s ease-in-out infinite;
}
.ll-orb.field-notes::before {
  content: 'shop';
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translateX(-50%);
  margin-top: -3px;
  font-family: 'Fira Code', monospace;
  font-size: 0.5rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #554e5c;
  transition: color 0.3s;
}
.ll-orb.field-notes:hover::before { color: #c4a0d0; }
@keyframes ll-orb-throb {
  0%, 100% { text-shadow: 0 0 8px rgba(196, 160, 208, 0.3); opacity: 0.7; }
  50%      { text-shadow: 0 0 18px rgba(196, 160, 208, 0.6), 0 0 40px rgba(196, 160, 208, 0.15); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .ll-orb::after, .ll-orb::before { animation: none !important; }
  .ll-orb:hover { transform: none; }
}
