@layer home554 {
 /* Anchor the party marker to the card corner, clear of portrait and name. */
 .site-shell.jcs-home-design .home-redesign .rank-name-line{display:flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;max-width:100%!important;min-width:0!important;min-height:25px!important}
 .site-shell.jcs-home-design .home-redesign .rank-name-line>b{min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;margin:0!important;line-height:24px!important}
 .site-shell.jcs-home-design .home-redesign .rank-top-card .rank-party-flag{position:absolute!important;inset:-1px 10px auto auto!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 24px!important;width:24px!important;height:25px!important;max-width:none!important;margin:0!important;padding:2px 0 0!important;font-size:12px!important;line-height:23px!important;font-weight:750!important;color:#fff!important;background:var(--rank-party-color,#626b73)!important;border:0!important;border-radius:1px 1px 3px 3px!important;clip-path:polygon(0 0,50% 12%,100% 0,100% 100%,0 100%);box-shadow:none!important;overflow:visible!important;text-overflow:clip!important}
 .site-shell.jcs-home-design .home-redesign .party-democratic{--rank-party-color:#1764c0}
 .site-shell.jcs-home-design .home-redesign .party-peoplepower{--rank-party-color:#d62836}
 .site-shell.jcs-home-design .home-redesign .party-reform{--rank-party-color:#b75a08}
 .site-shell.jcs-home-design .home-redesign .party-innovation{--rank-party-color:#25459b}
 .site-shell.jcs-home-design .home-redesign .party-progressive{--rank-party-color:#a71743}
 .site-shell.jcs-home-design .home-redesign .party-basicincome{--rank-party-color:#08766b}
 .site-shell.jcs-home-design .home-redesign .party-socialdemocratic{--rank-party-color:#416d32}
 .site-shell.jcs-home-design .home-redesign .party-independent,.site-shell.jcs-home-design .home-redesign .party-vacant{--rank-party-color:#626b73}
 .site-shell.jcs-home-design .home-redesign .party-jcs{--rank-party-color:#7848b4}
 /* One preview: HTML heading + cropped original arena + live, readable scores. */
 .site-shell.jcs-home-design .home-redesign .cage-arena-preview{display:block!important;position:relative!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;padding:0!important;margin:0!important;overflow:hidden!important;border:1px solid #dfe3e8!important;border-radius:8px!important;background:#fff!important;color:#252932!important;box-shadow:none!important}
 .site-shell.jcs-home-design .home-redesign .cage-arena-preview::before,.site-shell.jcs-home-design .home-redesign .cage-arena-preview::after{content:none!important;display:none!important}
 .site-shell.jcs-home-design .home-redesign .cage-preview-heading{padding:16px 18px 12px!important}
 .site-shell.jcs-home-design .home-redesign .cage-preview-meta{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;font-size:12px!important;font-weight:600!important;color:#505968!important}
 .site-shell.jcs-home-design .home-redesign .cage-preview-meta small{font-size:11px!important;font-weight:400!important;color:#747b85!important}
 .site-shell.jcs-home-design .home-redesign .cage-arena-preview h3{position:static!important;margin:8px 0 0!important;max-width:none!important;font-size:18px!important;font-weight:650!important;line-height:26px!important;letter-spacing:-.4px!important;color:#252932!important;word-break:keep-all!important;overflow-wrap:anywhere!important}
 .site-shell.jcs-home-design .home-redesign .cage-arena-preview .cage-preview-art{display:block!important;width:100%!important;height:auto!important;aspect-ratio:925/448!important;margin:0!important;overflow:hidden!important;background:#101c2b!important}
 .site-shell.jcs-home-design .home-redesign .cage-preview-score{display:grid!important;grid-template-columns:1fr 1fr!important;gap:0!important;padding:14px 18px!important;background:#fff!important}
 .site-shell.jcs-home-design .home-redesign .cage-preview-team{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;font-size:13px!important}
 .site-shell.jcs-home-design .home-redesign .cage-preview-team strong{font-size:26px!important;line-height:30px!important;font-weight:700!important;letter-spacing:-.6px!important}
 .site-shell.jcs-home-design .home-redesign .cage-preview-blue{color:#185cb4!important;padding-right:16px!important;border-right:1px solid #e4e7eb!important}
 .site-shell.jcs-home-design .home-redesign .cage-preview-red{color:#b52a43!important;padding-left:16px!important}
 .site-shell.jcs-home-design .home-redesign .cage-preview-ratio{display:flex!important;height:3px!important;margin:0 18px!important;gap:2px!important}
 .site-shell.jcs-home-design .home-redesign .cage-preview-ratio i{min-width:0!important;background:#266cc1!important}
 .site-shell.jcs-home-design .home-redesign .cage-preview-ratio i:last-child{background:#c6354d!important}
 .site-shell.jcs-home-design .home-redesign .cage-preview-status{display:flex!important;justify-content:space-between!important;flex-wrap:wrap!important;gap:6px!important;padding:10px 18px 0!important;color:#6d7580!important;font-size:11px!important}
 .site-shell.jcs-home-design .home-redesign .cage-preview-status .cage-countdown{position:static!important;color:inherit!important;font-size:11px!important}
 .site-shell.jcs-home-design .home-redesign .cage-preview-entry{display:block!important;margin:14px 18px 16px!important;padding:10px 12px!important;line-height:20px!important;text-align:center!important;border:1px solid #dce0e6!important;border-radius:5px!important;background:#f6f7f9!important;color:#303744!important;font-size:13px!important;font-weight:600!important;text-decoration:none!important}
 .site-shell.jcs-home-design .home-redesign .cage-preview-entry:hover{background:#eceff3!important}
 .site-shell.jcs-home-design .home-redesign .cage-preview-entry:focus-visible{outline:2px solid #7950b5!important;outline-offset:2px!important}
 .site-shell.jcs-home-design .home-redesign .cage-arena-preview.is-empty .cage-preview-art{filter:saturate(.35)!important}
 .site-shell.jcs-home-design .home-redesign .cage-arena-preview.is-empty .cage-preview-ratio i{background:#c4c9d0!important}
 @media(max-width:760px){
  html:not(.desktop-home-fixed) .site-shell.jcs-home-design .home-redesign .rank-top-card{padding:36px 10px 12px!important;gap:8px!important;min-height:110px!important}
  html:not(.desktop-home-fixed) .site-shell.jcs-home-design .home-redesign .rank-name-line{justify-content:flex-start!important;gap:4px!important;min-height:23px!important}
  html:not(.desktop-home-fixed) .site-shell.jcs-home-design .home-redesign .rank-top-card .rank-party-flag{inset:-1px 8px auto auto!important;flex-basis:20px!important;width:20px!important;height:22px!important;font-size:11px!important;line-height:20px!important}
 }
}
