/* Shared tactile controls. Independent translate leaves existing icon transforms intact. */
/* Controls use elevation, including button links inside article content. */
:is(.site-frame, .tv-visitor-dialog, .tv-feedback) :is(button, [role="button"], input[type="submit"], input[type="button"], summary, .neo-button, .search-toggle, .collection-more, .article-clips a, .pill-nav a, .live-results a, .article-badges a, .wp-block-button__link),
:is(.site-frame, .tv-visitor-dialog, .tv-feedback) :is(button, [role="button"], input[type="submit"], input[type="button"], summary, .neo-button, .search-toggle, .collection-more, .article-clips a, .pill-nav a, .live-results a, .article-badges a, .wp-block-button__link):is(:hover, :focus-visible, :active) { text-decoration: none; }
:is(.site-frame, .tv-visitor-dialog, .tv-feedback) .neo-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; max-width: 100%; min-height: 44px; padding: 10px 18px; border: 2px solid var(--neo-edge); border-radius: 0; background: var(--paper); color: var(--ink); box-shadow: -3px 3px 0 var(--neo-shadow); font: inherit; font-size: 14px; font-weight: 700; line-height: 20px; text-decoration: none; cursor: pointer; }
:is(.site-frame, .tv-visitor-dialog, .tv-feedback) .neo-button[hidden] { display: none; }
:is(.site-frame, .tv-visitor-dialog, .tv-feedback) .neo-button:is(:hover, :focus-visible) { background: var(--surface); color: var(--ink); text-decoration: none; }
:is(.site-frame, .tv-visitor-dialog, .tv-feedback) .neo-button:focus-visible { outline: 3px solid var(--neo-edge); outline-offset: 5px; }
/* Pagination uses the same branded control in both HTML and enhanced feeds. */
.site-frame .neo-button.collection-more,
.site-frame .neo-button.collection-more:is(:hover, :focus-visible, :active) { background: var(--neo-sun); color: var(--neo-nav-ink, #100c07); border-color: #100c07; font-family: var(--font-editorial); }
.site-frame .neo-button.collection-more:disabled { opacity: .65; }
:is(.site-frame, .tv-visitor-dialog, .tv-feedback) button:disabled { cursor: wait; }
.article-share-fallback { margin-top: 16px; }
.article-share-fallback label { display: block; margin-bottom: 8px; }
.article-share-fallback input { width: 100%; padding: 12px; border: 2px solid var(--neo-edge); border-radius: 0; background: var(--paper); color: var(--ink); }
.article-share-notice { position: fixed; z-index: 150; inset: auto 16px 24px; width: fit-content; max-width: calc(100% - 32px); margin: 0 auto; padding: 14px 20px; border: 2px solid #100c07; background: #b9e7f5; color: #100c07; box-shadow: -4px 4px 0 #100c07; font-size: 16px; font-weight: 700; pointer-events: none; }
.article-share-notice:empty { padding: 0; border: 0; box-shadow: none; }
@media (prefers-reduced-motion: no-preference) {
  :is(.site-frame, .tv-visitor-dialog, .tv-feedback) :is(button, [role="button"], input[type="submit"], input[type="button"], summary, .neo-button, .search-toggle, .collection-more, .article-clips a, .pill-nav a, .live-results a, .article-badges a, .wp-block-button__link, .content-card, .featured-card, .leh-card) { transition: translate var(--tv-motion-control) var(--tv-motion-ease), background-color var(--tv-motion-control) ease; }
  :is(.site-frame, .tv-visitor-dialog, .tv-feedback) :is(button, [role="button"], input[type="submit"], input[type="button"], summary, .neo-button, .search-toggle, .collection-more, .article-clips a, .pill-nav a, .live-results a, .article-badges a, .wp-block-button__link):not(:disabled):not([aria-disabled="true"]):focus-visible,
  :is(.site-frame, .tv-visitor-dialog, .tv-feedback) :is(.content-card, .featured-card, .leh-card):focus-within { translate: 0 -2px; }
  @media (hover: hover) and (pointer: fine) {
    :is(.site-frame, .tv-visitor-dialog, .tv-feedback) :is(button, [role="button"], input[type="submit"], input[type="button"], summary, .neo-button, .search-toggle, .collection-more, .article-clips a, .pill-nav a, .live-results a, .article-badges a, .wp-block-button__link):not(:disabled):not([aria-disabled="true"]):hover,
    :is(.site-frame, .tv-visitor-dialog, .tv-feedback) :is(.content-card, .featured-card, .leh-card):hover { translate: 0 -2px; }
  }
  :is(.site-frame, .tv-visitor-dialog, .tv-feedback) :is(button, [role="button"], input[type="submit"], input[type="button"], summary, .neo-button, .search-toggle, .collection-more, .article-clips a, .pill-nav a, .live-results a, .article-badges a, .wp-block-button__link):not(:disabled):not([aria-disabled="true"]):active { translate: -2px 2px; transition-duration: var(--tv-motion-press); }
}

/* The reference uses a compact byline button, independent of the larger return controls. */
:is(.site-frame, .tv-visitor-dialog, .tv-feedback) .article-share { min-height: 32px; height: 32px; padding: 0 12px; gap: 8px; font-size: 12px; line-height: 16px; }
.article-share svg, .article-byline .card-duration svg { width: 16px; height: 16px; flex: 0 0 16px; }
@media (pointer: coarse) { :is(.site-frame, .tv-visitor-dialog, .tv-feedback) .article-share { min-height: 44px; height: 44px; } }

/* One focus treatment for public controls: preserve keyboard orientation in the site palette. */
body :is(.site-frame, .tv-visitor-dialog, .tv-feedback) :focus:not(:focus-visible) { outline: none !important; }
body :is(.site-frame, .tv-visitor-dialog, .tv-feedback) :focus-visible { outline: 2px dashed var(--neo-edge, #100c07) !important; outline-offset: 3px; }
body .site-footer :focus-visible { outline-color: #fff !important; }
body .live-search-form:focus-within { outline: none; border-color: var(--neo-edge, #100c07); }
body .tv-feedback-kind-options input:focus-visible + span { outline: 2px dashed var(--neo-edge, #100c07); outline-offset: 3px; }
body :is(.site-frame, .tv-visitor-dialog, .tv-feedback) :is(input:not([type="radio"]):not([type="checkbox"]):not([type="submit"]):not([type="button"]), textarea, select):focus-visible { outline: none !important; border-color: var(--neo-edge, #100c07); box-shadow: inset 0 -2px 0 var(--neo-edge, #100c07), -3px 3px 0 var(--neo-edge, #100c07); }

/* Navigation is a control surface; article copy and editable fields remain selectable. */
.site-header :is(.brand, .pill-nav, summary, button),
:is(.site-frame, .tv-visitor-dialog, .tv-feedback) :is(button, [role="button"], input[type="submit"], input[type="button"], .neo-button) { -webkit-user-select: none; user-select: none; }
.site-header :is(input, textarea) { -webkit-user-select: text; user-select: text; }
.site-header .brand img, .site-header .pill-nav img { -webkit-user-drag: none; }
@media (prefers-reduced-motion: no-preference) {
  .site-header :is(.pill-nav a, .header-submenu > summary)::before { transition: opacity var(--tv-motion-control) var(--tv-motion-ease); }
}
@media (prefers-reduced-motion: reduce) {
  .site-header :is(.pill-nav a, .header-submenu > summary)::before { transition: none; }
}
