/* Brandon's Edit batch 20261115-817395 items 1, 8, 9 and 10 (e817395.py), each only under its switch's class on <html>; :where() keeps each rule at
   the specificity of the cat-v2.css rule it follows, and this file is last in the head. Off, this file answers 404. */

/* 1 KIND_TAB_ON (Design 23:34Z): the kind chip a tab of the card body rising over the photo: the card's surface, solid; its line on the top and right
   only; 6px top-right corner; 6px down (Design 00:27Z), 5px past the photo's bottom divider (cat-v2.css .cx-ph) into the card body and over it
   (z-index:1), so the divider stops at its right edge; muted words. The
   height above the divider is unchanged (3px top and bottom as before; Design's 4px would add 2px, asked). The wide list view's photo column has no
   bottom divider (its bottom is the card's edge), so there the tab sits on bottom:0; phones hide the tag as before (the tagline carries the kind).
   Grid (Brandon 5:45 PM PST, Design 01:48Z v3): the tab's line must stop at the divider, not run 5px below it, so the tab has no border (padding
   +1px top and right keeps its size) and its ::before draws the top and right line down to 5px above its bottom; overflow:hidden doesn't clip it. */
:where(.g-kind-tab) .cx-tag{bottom:-6px;z-index:1;background:var(--surface);border:0 solid var(--line);border-radius:0 6px 0 0;padding:4px 11px 4px 12px;color:var(--muted)}
:where(.g-kind-tab) .cx-tag::before{content:"";position:absolute;top:0;left:0;right:0;bottom:5px;pointer-events:none;border-top:1px solid var(--line);border-right:1px solid var(--line);border-top-right-radius:inherit}
:where(.g-kind-tab) .cx-list .as-list>.cx-card .cx-tag{bottom:0;border-width:1px 1px 0 0;padding:3px 10px 3px 12px}
:where(.g-kind-tab) .cx-list .as-list>.cx-card .cx-tag::before{content:none}

/* 8 SAVE_HOVER_ON: Save keeps its background on hover (no tint); hovered or keyboard-focused, the word underlines and the icon goes solid */
@media (hover:hover) and (pointer:fine){
  :where(.g-save-hover) .cx-sv:hover{background:transparent}
  :where(.g-save-hover) .cx-sv:hover [data-save-label]{text-decoration:underline;text-underline-offset:3px}
  :where(.g-save-hover) .cx-sv:hover svg{fill:currentColor}
}
:where(.g-save-hover) .cx-sv:focus-visible [data-save-label]{text-decoration:underline;text-underline-offset:3px}
:where(.g-save-hover) .cx-sv:focus-visible svg{fill:currentColor}

/* 9 COMPARE_UNDERLINE_ON: Compare's word underlines on hover and when its box has keyboard focus */
@media (hover:hover) and (pointer:fine){
  :where(.g-compare-underline) .cx-cmp:hover{text-decoration:underline;text-underline-offset:3px}
}
:where(.g-compare-underline) .cx-cmp:has(input:focus-visible){text-decoration:underline;text-underline-offset:3px}

/* 10 EVIDENCE_WORD_ON: the Evidence link underlines its word alone, never the score (cat-v2.css underlines the whole link) */
@media (hover:hover) and (pointer:fine){
  :where(.g-evidence-word) .cx-card .evidence:hover{text-decoration:none}
  :where(.g-evidence-word) .cx-card .evidence:hover .ev-w{text-decoration:underline;text-underline-offset:3px}
}
:where(.g-evidence-word) .cx-card .evidence:focus-visible{text-decoration:none}
:where(.g-evidence-word) .cx-card .evidence:focus-visible .ev-w{text-decoration:underline;text-underline-offset:3px}
