.notebook-press-line { display: none; }
@media (prefers-reduced-motion: no-preference) {
  [data-notebook-press] {
    position: relative;
    isolation: isolate;
    transition: color 150ms ease-out;
  }
  [data-notebook-press]::before {
    content: '';
    position: absolute;
    z-index: -1;
    inset: 5px 2px;
    border-radius: 6px;
    background: rgba(110,115,110,.12);
    background: color-mix(in srgb, var(--notebook-accent, var(--action, currentColor)) 12%, transparent);
    opacity: 0;
    transform: scale(.93);
    pointer-events: none;
    transition: opacity 150ms ease-out, transform 185ms cubic-bezier(.24,.8,.25,1);
  }
  [data-notebook-press][data-country]::before { border-radius: inherit; }
  [data-notebook-press] > .notebook-press-label { display: inline-block; pointer-events: none; }
  [data-notebook-press]:focus-visible::before { opacity: 1; transform: none; }
  @media (hover: hover) and (pointer: fine) {
    [data-notebook-press]:hover { color: var(--notebook-accent, var(--action, inherit)); }
    [data-notebook-press]:hover::before { opacity: 1; transform: none; }
  }
  @media (max-width: 700px), (hover: none) and (pointer: coarse) {
    [data-notebook-nav] [data-notebook-press]:is([aria-current="page"], [aria-selected="true"])::before {
      opacity: .68;
      transform: none;
    }
  }
  [data-notebook-press]:active::before {
    opacity: 1;
    transform: none;
    background: rgba(110,115,110,.21);
    background: color-mix(in srgb, var(--notebook-accent, var(--action, currentColor)) 22%, transparent);
    transition-duration: 0ms;
  }
  [data-notebook-press]:active > .notebook-press-label { transform: translateY(1px) scale(.93); }
  [data-notebook-nav] [data-notebook-line-current]:is([aria-current="page"], [aria-selected="true"]) {
    box-shadow: none;
    z-index: 1;
  }
  .notebook-press-line {
    display: block;
    position: absolute;
    inset: auto 0 0;
    height: 2px;
    border-radius: 2px;
    background: var(--notebook-accent, currentColor);
    transform-origin: left center;
    pointer-events: none;
  }
}
