/* Desktop discovery: a small fan of real covers, not a second mobile menu. */
.eh-fan, .eh-fan-toggle { display: none; }
.eh-fan[hidden] { display: none !important; }
@media (min-width: 1100px) and (hover: hover) and (pointer: fine) {
  .eh-fan-trigger-wrap { display: inline-flex; align-items: center; border-radius: 10px; }
  .eh-nav > .eh-fan-trigger-wrap > a {
    position: relative; display: inline-flex; align-items: center;
    min-height: 44px; padding: 0 4px 0 12px; border-radius: 10px 0 0 10px;
    color: var(--eh-ink-2) !important; text-decoration: none !important;
    font: 500 15px/1 var(--eh-sans); white-space: nowrap;
  }
  .eh-fan-trigger-wrap:hover, .eh-fan-trigger-wrap.is-active { background: var(--eh-surface-2); }
  .eh-nav > .eh-fan-trigger-wrap > a:hover { color: var(--eh-ink) !important; }
  .eh-nav > .eh-fan-trigger-wrap > a[aria-current="page"]::after {
    content: ""; position: absolute; left: 12px; right: 4px; bottom: 7px;
    height: 2px; border-radius: 2px; background: var(--eh-hive);
  }
  .eh-fan-toggle {
    display: inline-grid; place-items: center; width: 24px; min-height: 44px;
    border: 0; padding: 0; margin: 0; border-radius: 0 10px 10px 0;
    background: transparent; color: var(--eh-muted); cursor: pointer;
  }
  .eh-fan-toggle svg { width: 10px; height: 10px; transition: transform .2s ease; }
  .eh-fan-toggle[aria-expanded="true"] svg { transform: rotate(180deg); color: var(--eh-ink); }
  .eh-fan-trigger-wrap > a:focus-visible, .eh-fan-toggle:focus-visible {
    outline: 3px solid var(--eh-focus); outline-offset: 1px;
  }
  .eh-fan {
    display: block; position: absolute; z-index: 1; top: 100%; left: 50%;
    width: min(1200px, calc(100vw - 48px)); transform: translateX(-50%);
    padding-top: 10px; color: var(--eh-ink); font-family: var(--eh-sans);
    opacity: 0; transition: opacity .16s ease;
  }
  .eh-fan.is-open { opacity: 1; }
  .eh-fan-surface {
    position: relative; padding: 20px 22px 15px; border-radius: 22px;
    border: 1px solid var(--eh-line-2); background: var(--eh-bg);
    background-image: radial-gradient(ellipse at 50% 100%, color-mix(in srgb, var(--eh-hive) 10%, transparent), transparent 65%);
    box-shadow: 0 30px 65px rgb(0 0 0 / .16), 0 4px 12px rgb(0 0 0 / .04);
  }
  .eh-fan-heading, .eh-fan-heading > div { display: flex; align-items: center; }
  .eh-fan-heading { justify-content: space-between; gap: 20px; }
  .eh-fan-heading > div { gap: 9px; }
  .eh-fan-dot { width: 7px; height: 7px; flex-shrink: 0; border-radius: 50%; background: var(--eh-hive); }
  .eh-fan-heading h2 { margin: 0 !important; color: var(--eh-ink) !important; font: 600 14px/1.4 var(--eh-sans) !important; }
  .eh-fan-heading p { margin: 0 0 0 10px !important; color: var(--eh-muted); font: 400 12px/1.4 var(--eh-sans) !important; }
  .eh-fan-all {
    color: var(--eh-link) !important; font: 600 12px/1.4 var(--eh-sans);
    text-decoration: none !important; padding: 8px; border-radius: 8px;
  }
  .eh-fan-all:hover { background: var(--eh-surface-2); }
  .eh-fan-deck {
    position: relative; display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 12px;
    list-style: none !important; margin: 15px 0 0 !important; padding: 6px 10px 0 !important;
    height: 270px; align-items: start;
  }
  .eh-fan-slot {
    margin: 0 !important; padding: 0 !important; min-width: 0;
    transform: translateX(var(--fan-from-x, 0px)) translateY(-14px) rotate(0deg) scale(.86);
    opacity: 0; transform-origin: 50% -60px;
    transition: transform .42s cubic-bezier(.2,.8,.2,1), opacity .2s ease;
    transition-delay: var(--fan-delay, 0ms);
  }
  .eh-fan-slot::before { display: none !important; }
  .eh-fan-slot:nth-child(1) { --fan-turn: -6deg; --fan-drop: 2px; --fan-delay: 0ms; }
  .eh-fan-slot:nth-child(2) { --fan-turn: -4.2deg; --fan-drop: 17px; --fan-delay: 20ms; }
  .eh-fan-slot:nth-child(3) { --fan-turn: -2.4deg; --fan-drop: 28px; --fan-delay: 40ms; }
  .eh-fan-slot:nth-child(4) { --fan-turn: -.8deg; --fan-drop: 34px; --fan-delay: 60ms; }
  .eh-fan-slot:nth-child(5) { --fan-turn: .8deg; --fan-drop: 34px; --fan-delay: 80ms; }
  .eh-fan-slot:nth-child(6) { --fan-turn: 2.4deg; --fan-drop: 28px; --fan-delay: 100ms; }
  .eh-fan-slot:nth-child(7) { --fan-turn: 4.2deg; --fan-drop: 17px; --fan-delay: 120ms; }
  .eh-fan-slot:nth-child(8) { --fan-turn: 6deg; --fan-drop: 2px; --fan-delay: 140ms; }
  .eh-fan.is-open .eh-fan-slot { transform: translateY(var(--fan-drop)) rotate(var(--fan-turn)); opacity: 1; }
  .eh-fan-card {
    position: relative; display: block; height: 207px; overflow: hidden;
    border: 1px solid var(--eh-line-2); border-radius: 12px; background: var(--eh-surface);
    color: var(--eh-ink) !important; text-decoration: none !important;
    box-shadow: 0 9px 20px rgb(0 0 0 / .07); transform: translateZ(0);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  }
  .eh-fan-card:hover, .eh-fan-card:focus-visible {
    transform: translateY(-9px) rotate(calc(-1 * var(--fan-turn)));
    border-color: var(--eh-hive); box-shadow: 0 16px 30px rgb(0 0 0 / .17);
  }
  .eh-fan-card:focus-visible { outline: 3px solid var(--eh-focus); outline-offset: 3px; }
  .eh-fan-cover { display: block; position: relative; aspect-ratio: 320 / 168; background: var(--eh-surface-2); overflow: hidden; }
  .eh-fan-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
  .eh-fan-number {
    position: absolute; top: 5px; left: 5px; padding: 3px 5px; border-radius: 4px;
    background: rgb(14 15 18 / .75); color: #fff; font: 500 9px/1 var(--eh-mono);
  }
  .eh-fan-copy { display: block; padding: 11px 10px 10px; }
  .eh-fan-meta { display: block; margin-bottom: 7px; color: var(--eh-muted); font: 400 9px/1.3 var(--eh-mono); }
  .eh-fan-name {
    display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 7;
    overflow: hidden; color: var(--eh-ink); font: 550 13px/1.35 var(--eh-sans);
  }
  .eh-fan-go { position: absolute; bottom: 9px; right: 10px; color: var(--eh-link); font: 500 14px/1 var(--eh-sans); }
  .eh-fan-foot { display: flex; justify-content: space-between; gap: 16px; margin: 2px 0 0 !important; color: var(--eh-muted); font: 400 11px/1.5 var(--eh-sans) !important; }
  .eh-fan-notes .eh-fan-surface { background-image: radial-gradient(ellipse at 50% 100%, color-mix(in srgb, var(--eh-link) 9%, transparent), transparent 65%); }
  .eh-fan-notes .eh-fan-dot { background: var(--eh-link); }
  .eh-fan-notes .eh-fan-card { height: 240px; }
  .eh-fan-notes .eh-fan-deck { height: 304px; }
  @media (max-width: 1120px) { .eh-nav > .eh-fan-trigger-wrap > a { padding-left: 9px; font-size: 14.5px; } }
}
@media (prefers-reduced-motion: reduce) {
  .eh-fan, .eh-fan-slot, .eh-fan-card, .eh-fan-toggle svg { transition: none !important; }
}
