/* Long (pill / wide) buttons in the lobbies and play pages: underline on hover, pushed in on press.
   long-buttons.js adds .snk-long (measured) and draws the press (a shade layer over the button's own
   background, so colours stay each button's own). This file only draws the hover underline. Loaded last.
   Inside @layer snk-btn, declared second (after sb3d) on each page: its !important rules outrank the unlayered !important
   rules in the older skins (pc-game-glass, desktop-one-layout ...). */
@layer snk-btn {
  @media (hover: hover) and (pointer: fine) {
    html body .snk-long.snk-long:hover:not(:disabled):not([aria-disabled="true"]),
    html body .snk-long.snk-long:hover:not(:disabled):not([aria-disabled="true"]) :is(b, strong, span, small) {
      text-decoration-line: underline !important;
      text-decoration-thickness: max(1.5px, .09em) !important;
      text-underline-offset: .18em !important;
      text-decoration-color: currentColor !important;
    }
  }
  html body .snk-long.snk-long:focus-visible:not(:disabled) {
    text-decoration-line: underline !important;
    text-underline-offset: .18em !important;
  }
}
