/* Standing text-link rule: clear/redraw the underline, preserve text color. Header nav is untouched.
   Card and section title links (blog, review and series cards, directory names, picks, comparison
   cards and the index) wrap their text in an inline .link-text span that carries the underline, so it
   is cloned onto every line of a wrapping title; the anchor itself draws nothing (rule below).
   Pagination squares (.page-numbers) keep only their ink border; focus shows the shared glow. */
body :is(#content,.site-footer,.sp-modal,.reader-account,.reader-account-notices) a:where(:not(.btn,.dlg-btn,.highlights__changelog,.brand,.skip-link,.sw-shot,.sw-review-shot__link,.lightbox__view,.home-pick__image,.page-numbers):not(:has(.help-link__text,.link-text))),
body #content :is(.help-link__text,.link-text),
body :is(.reader-profile__links,.reader-sign-in,.sp-modal,.reader-account,.reader-account-notices) .link-text,
body.login.sp-reader-account .reader-account-nav .link-text,
body.login.sp-reader-account #login a:where(:not(h1 a,.button,.btn,.dlg-btn)):not(:has(.link-text)),
body.login.sp-reader-account #login .link-text{
  text-decoration:none;border-bottom:0;
  background-image:linear-gradient(var(--accent),var(--accent));
  background-position:0 100%;background-repeat:no-repeat;background-size:100% 2px;
  -webkit-box-decoration-break:clone;box-decoration-break:clone;
  transition:none;
}
body :is(#content,.site-footer,.sp-modal,.reader-account,.reader-account-notices) a:where(:not(.btn,.dlg-btn,.highlights__changelog,.brand,.skip-link,.sw-shot,.sw-review-shot__link,.lightbox__view,.home-pick__image,.page-numbers):not(:has(.help-link__text,.link-text))):is(:hover,:focus-visible),
body #content :is(a,:where(summary.article-helpful__toggle,button.article-helpful__toggle)):is(:hover,:focus-visible) :is(.help-link__text,.link-text),
body :is(.reader-profile__links a,.reader-sign-in,.sp-modal a,.reader-account a,.reader-account-notices a):is(:hover,:focus-visible) .link-text,
body.login.sp-reader-account :is(.reader-account-nav,#login) a:is(:hover,:focus-visible):where(:not(h1 a,.button,.btn,.dlg-btn)):not(:has(.link-text)),
body.login.sp-reader-account :is(.reader-account-nav,#login) a:is(:hover,:focus-visible) .link-text{animation:site-link-redraw .25s ease-out both;text-decoration:none}
body .reader-account-notices a,body .reader-account-notices a .link-text{color:var(--toast-accent,var(--phosphor));background-image:linear-gradient(var(--toast-accent,var(--phosphor)),var(--toast-accent,var(--phosphor)))}
body :is(#content,.site-footer,.reader-account).site-footer nav a{background-size:0 2px;text-decoration:none}
body :is(#content,.site-footer,.reader-account).site-footer nav a:is(:hover,:focus-visible){animation:site-link-reveal .25s ease-out both}
body :is(#content,.sp-modal,.reader-account,.reader-account-notices) a:has(> .link-text),body :is(#content,.sp-modal,.reader-account,.reader-account-notices) a:has(> .link-text):is(:hover,:focus-visible),body.login.sp-reader-account #login a:has(> .link-text),body.login.sp-reader-account #login a:has(> .link-text):is(:hover,:focus-visible){text-decoration:none;border-bottom:0;background-image:none;animation:none}
@keyframes site-link-redraw{0%,15%{background-size:0 2px}100%{background-size:100% 2px}}
@keyframes site-link-reveal{from{background-size:0 2px}to{background-size:100% 2px}}
@media(prefers-reduced-motion:reduce){
  body :is(#content,.site-footer,.sp-modal,.reader-account,.reader-account-notices) a:is(:hover,:focus-visible),body #content :is(a,:where(summary.article-helpful__toggle,button.article-helpful__toggle)):is(:hover,:focus-visible) :is(.help-link__text,.link-text),body :is(.reader-profile__links a,.reader-sign-in,.sp-modal a,.reader-account a,.reader-account-notices a):is(:hover,:focus-visible) .link-text,body.login.sp-reader-account :is(.reader-account-nav,#login) a:is(:hover,:focus-visible):where(:not(h1 a,.button,.btn,.dlg-btn)):not(:has(.link-text)),
  body.login.sp-reader-account :is(.reader-account-nav,#login) a:is(:hover,:focus-visible) .link-text{animation:none;background-size:100% 2px}
  body :is(#content,.site-footer,.reader-account).site-footer nav a:is(:hover,:focus-visible){animation:none;background-size:100% 2px}
}

/* Breadcrumbs (inc/breadcrumbs.php): a small, muted mono line that wraps on phones. One row,
   .breadcrumbs-bar > .wrap, everywhere: above the review hero (template-parts/breadcrumbs.php) or
   as the first row of a page heading band (template-parts/page-head.php), so every page gets the
   same left edge, always left aligned (the comparison band is centred), and the review spacing:
   10px from the header rule, 4px under the line, then 16px to the content (6px, 0 and 14px on
   phones). The links skip the standing underline until hover or focus, and grow to 44px tall on
   touch screens. */
.breadcrumbs-bar{padding:10px 0 4px;text-align:left}
.breadcrumbs__list{justify-content:flex-start}
.breadcrumbs__list{display:flex;flex-wrap:wrap;align-items:center;gap:0 8px;margin:0;padding:0;list-style:none;font-family:var(--f-mono);font-size:12.5px;line-height:1.6;color:var(--ink-3)}
.breadcrumbs__item{display:inline-flex;align-items:center;gap:8px;min-width:0;max-width:100%}
.breadcrumbs__item+.breadcrumbs__item::before{content:"\203A";color:var(--ink-3);font-size:14px;line-height:1}
.breadcrumbs__link,.breadcrumbs__text,.breadcrumbs__current{display:inline-flex;align-items:center;min-height:28px;overflow-wrap:anywhere}
.breadcrumbs__link{color:var(--ink-3)}
.breadcrumbs__link:is(:hover,:focus-visible){color:var(--ink)}
.breadcrumbs__current{color:var(--ink-2)}
body #content .breadcrumbs a.breadcrumbs__link{background-size:0 2px;background-position:0 calc(50% + .75em)}
body #content .breadcrumbs a.breadcrumbs__link:is(:hover,:focus-visible){animation:site-link-reveal .25s ease-out both}
@media(prefers-reduced-motion:reduce){
  body #content .breadcrumbs a.breadcrumbs__link:is(:hover,:focus-visible){animation:none;background-size:100% 2px}
}
@media(pointer:coarse){
  .breadcrumbs__link{min-height:44px}
}

/* Software introduction: compact title, shared colored platform icons. */
.sw-hero,.sw-side{padding-top:16px}
.sw-title{gap:18px;margin-bottom:20px}
.sw-title h1{font-size:clamp(34px,3.6vw,48px);line-height:1.08;letter-spacing:-.025em}
.sw-title h1 .ver{font-size:13px;line-height:1.6}
.sw-badges .app__platforms{display:flex;align-items:center;gap:10px;list-style:none;padding:0;margin:0 0 0 4px}
.sw-badges .app__platforms svg{width:20px;height:20px}
@media(max-width:600px){
  .breadcrumbs-bar{padding:6px 0 0}
  .breadcrumbs__list{font-size:12px}
  .sw-hero{padding-top:14px}
  .sw-title{gap:12px}
  .sw-title h1{font-size:clamp(30px,8vw,38px)}
  .sw-title h1 .ver{font-size:12px}
}
/* Tag pills (.post-tags: the post hero and anywhere else they appear): a uniform 2px ink border and a
   round pill shape (the standing rule's border-bottom:0 is overridden), no underline on the pill
   itself. The orange underline draws in under the label text (.post-tags__label, an inline span
   inside the pill) on hover and keyboard focus only. */
body #content .post-tags a{display:inline-flex;align-items:center;border:2px solid var(--ink);border-radius:99px;box-shadow:none;background-image:none;animation:none}
body #content .post-tags a:is(:hover,:focus-visible){background-image:none;animation:none}
body #content .post-tags__label{
  background-image:linear-gradient(var(--accent),var(--accent));
  background-position:0 100%;background-repeat:no-repeat;background-size:0 2px;
  -webkit-box-decoration-break:clone;box-decoration-break:clone;
}
body #content .post-tags a:is(:hover,:focus-visible) .post-tags__label{animation:site-link-reveal .25s ease-out both}
@media(prefers-reduced-motion:reduce){
  body #content .post-tags a:is(:hover,:focus-visible){animation:none}
  body #content .post-tags a:is(:hover,:focus-visible) .post-tags__label{animation:none;background-size:100% 2px}
}

/* Breadcrumbs opening a heading band: the band drops its own top padding so the row sits where the
   review strip does, and the heading starts 16px under it, like .sw-hero (14px on phones). A hidden
   holder (/reviews/) leaves the band as it is; the directory swap shows the row and these apply. */
.page-head:has(> .breadcrumbs-bar:not([hidden])){padding-top:0}
.page-head > .breadcrumbs-bar:not([hidden]) + .page-head__inner{padding-top:16px}
@media(max-width:600px){
  .page-head > .breadcrumbs-bar:not([hidden]) + .page-head__inner{padding-top:14px}
}

.site-footer .footer__col a{align-self:flex-start;max-width:100%}

body #content .specs__rate-link{background-position:0 calc(50% + .65em)}

/* Context identifies these controls; reveal their underline only on interaction. */
body #content :is(a.lic--link,a.badge,a.verdict-link,a.toc__link,.specs__fair a,dl[aria-labelledby="sw-props-software"] a),
body #content :is(a.verdict-link,.specs__fair a,dl[aria-labelledby="sw-props-software"] a) .help-link__text{background-size:0 2px;text-decoration:none}
body #content :is(a.lic--link,a.badge,a.verdict-link,a.toc__link,.specs__fair a,dl[aria-labelledby="sw-props-software"] a):is(:hover,:focus-visible),
body #content :is(a.verdict-link,.specs__fair a,dl[aria-labelledby="sw-props-software"] a):is(:hover,:focus-visible) .help-link__text{animation:site-link-reveal .25s ease-out both}

/* The label owns the underline, leaving padded control edges and counts untouched. */
body #content :is(a,button):is(.tab,.chip),body #content :is(a,button):is(.tab,.chip):is(:hover,:focus-visible){background-image:none;background-size:0 2px;animation:none;text-decoration:none}
body #content a.chip{border-bottom:2px solid var(--ink)}
body #content a:is(.lic--link,.badge){border-bottom:1.5px solid var(--ink)}
body #content :is(a,button):is(.tab,.chip) .control-link__label{background-image:linear-gradient(var(--accent),var(--accent));background-repeat:no-repeat;background-position:0 100%;background-size:0 2px;-webkit-box-decoration-break:clone;box-decoration-break:clone}
body #content :is(a,button):is(.tab,.chip):is(:hover,:focus-visible) .control-link__label{animation:site-link-reveal .25s ease-out both}
body #content :is(a,button):is(.tab,.chip):not(.is-active):hover{background-color:transparent}
@media(prefers-reduced-motion:reduce){
  body #content :is(a.lic--link,a.badge,a.verdict-link,a.toc__link,.specs__fair a,dl[aria-labelledby="sw-props-software"] a):is(:hover,:focus-visible),
  body #content :is(a.verdict-link,.specs__fair a,dl[aria-labelledby="sw-props-software"] a):is(:hover,:focus-visible) .help-link__text,
  body #content :is(a,button):is(.tab,.chip):is(:hover,:focus-visible) .control-link__label{animation:none;background-size:100% 2px}
  body #content :is(a,button):is(.tab,.chip):is(:hover,:focus-visible){animation:none;background-image:none}
}

/* Category cards retain their frame; only the name receives a hover/focus underline. */
body #content a.cat,body #content a.cat:is(:hover,:focus-visible){background-image:none;animation:none;text-decoration:none;border-bottom:2px solid var(--ink)}
body #content .cat__label{background-image:linear-gradient(var(--accent),var(--accent));background-repeat:no-repeat;background-position:0 100%;background-size:0 2px;-webkit-box-decoration-break:clone;box-decoration-break:clone}
body #content a.cat:is(:hover,:focus-visible) .cat__label{animation:site-link-reveal .25s ease-out both}
@media(prefers-reduced-motion:reduce){body #content a.cat:is(:hover,:focus-visible) .cat__label{animation:none;background-size:100% 2px}}

/* Series window (template-parts/series-window.php): part titles are underlined on hover and focus
   only, so a list or grid of eight titles does not read as eight underlines at rest. A list row's
   title is not a link (the row's "Read" link covers the row), and a card's title link covers the
   whole card, so both reveal on row or card hover and focus. */
body #content :is(.series-row__title,.series-part__title) .link-text{background-size:0 2px}
body #content .series-row:is(:hover,:focus-within) .series-row__title .link-text,
body #content .series-part:is(:hover,:focus-within) .series-part__title .link-text{animation:site-link-reveal .25s ease-out both}
@media(prefers-reduced-motion:reduce){
  body #content .series-row:is(:hover,:focus-within) .series-row__title .link-text,
  body #content .series-part:is(:hover,:focus-within) .series-part__title .link-text{animation:none;background-size:100% 2px}
}

/* Keyboard focus and text editing glow; pointer focus keeps component shadows. */
*{--sp-component-shadow:0 0 0 transparent}
body :focus,body :is(.search,.signup,.site-search__field):focus-within{outline:0 !important;box-shadow:var(--sp-component-shadow) !important}
body :focus-visible,
body :is(textarea,select,input:where(:not([type=button],[type=submit],[type=reset],[type=checkbox],[type=radio],[type=range],[type=color],[type=file],[type=hidden],[type=image]))):focus,
body [contenteditable=true]:focus,
body :is(.search,.signup,.site-search__field):has(:is(input,select,textarea):focus){box-shadow:var(--sp-component-shadow),var(--field-focus-glow) !important}
/* Composite text fields: only the outer box glows; the input or select inside never does. A button
   inside keeps its own focus ring, and the outer box does not glow then. */
body :is(.search,.signup,.site-search__field) :is(input,select,textarea):is(:focus,:focus-visible){box-shadow:none !important;outline:0 !important}
/* Rating choice chips: the label box glows (user-ratings.css); the radio inside never does. */
body .user-voting__choices label input:is(:focus,:focus-visible){box-shadow:none !important;outline:0 !important}
@media(forced-colors:active){body :focus-visible{outline:2px solid Highlight !important;outline-offset:2px;box-shadow:none !important}body :is(.search,.signup,.site-search__field):has(:is(input,select,textarea):focus){outline:2px solid Highlight !important;outline-offset:2px}body :is(.search,.signup,.site-search__field) :is(input,select,textarea):is(:focus,:focus-visible){outline:0 !important}body .user-voting__choices label:has(:focus-visible){outline:2px solid Highlight !important;outline-offset:2px}body .user-voting__choices label input:focus-visible{outline:0 !important}}
