/* Trapwise final UX pass: reliable feed states + genuinely crisp licensed racing photo. */
.tw-premium-hero.tw-photo-hero::before{
  background-image:
    linear-gradient(90deg,rgba(9,22,31,.96) 0%,rgba(9,22,31,.86) 34%,rgba(9,22,31,.42) 63%,rgba(9,22,31,.18) 100%),
    url('/assets/greyhound-racing-hero-hd.webp?v=20261022-hd1')!important;
  background-size:cover!important;
  background-position:center 51%!important;
  image-rendering:auto;
}
.tw-hero-photo-credit{
 position:absolute;right:18px;bottom:9px;color:#c0cdd5;text-shadow:0 1px 4px #000;
 font-size:8px;line-height:1.3;z-index:4;opacity:.8;
}
.tw-hero-photo-credit a{color:inherit;text-decoration:underline;text-decoration-color:#9bb5bd8c}
.tw-hero-photo-credit a:hover{color:#fff}
.tw-spotlight-stars{min-width:122px;font-size:inherit!important}
.tw-spotlight-stars .tw-real-stars{display:block}
.tw-spotlight-stars .star-meter{display:flex;gap:2px;align-items:center;white-space:nowrap}
.tw-spotlight-stars .star-meter i{font-size:19px!important;font-weight:900;line-height:1;letter-spacing:0}
.tw-spotlight-stars .star-meter i.full,.tw-spotlight-stars .star-meter i.half{color:#cefa73!important}
.tw-spotlight-stars .star-meter i.off{color:#485a5f!important}
.tw-spotlight-stars>small{display:block;margin-top:5px;font-size:9px!important;letter-spacing:1px}

/* The same five stars—not an ordinal model position—appears in Evidence. */
.tw-evidence-rank{min-width:135px;min-height:57px;display:flex;flex-direction:column;
 align-items:center;justify-content:center;gap:5px;background:#182923!important;
 border:1px solid #465f4b!important;border-radius:9px;box-sizing:border-box;
 padding:8px 12px!important
}
.tw-evidence-rank .star-meter{display:flex;gap:2px;align-items:center;justify-content:center;white-space:nowrap}
.tw-evidence-rank .star-meter i{font-size:21px;line-height:1;color:#4c5c61;font-weight:900}
.tw-evidence-rank .star-meter i.full,.tw-evidence-rank .star-meter i.half{color:#d1f971}
.tw-evidence-rank .star-meter i.off{color:#42575c!important}
.tw-evidence-rank small{font-size:8px!important;line-height:1.15!important;
 font-weight:800!important;letter-spacing:.8px!important;color:#acd186!important
}

/* Synchronous dual-pane heights, with compact, no-scroll Evidence contents. */
@media(min-width:991px){
 body.dashboard-active .value-expansion{display:grid!important;
   grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
   align-items:stretch!important;gap:12px!important
 }
 body.dashboard-active .value-expansion>.dashboard-field,
 body.dashboard-active .value-expansion>.dashboard-detail{
   height:426px!important;min-height:426px!important;max-height:426px!important;
   box-sizing:border-box!important;overflow:hidden!important;
 }
 body.dashboard-active .value-expansion>.dashboard-detail .dashboard-detail-body{
   min-height:0!important;flex:1!important;height:auto!important;
   max-height:none!important;overflow:hidden!important;box-sizing:border-box!important
 }
 body.dashboard-active .dashboard-field{overflow:hidden!important}
 body.dashboard-active .dashboard-field .dashboard-field-row{min-height:47px!important}
}
.tw-evidence-brief{display:flex;flex-direction:column;gap:0}
.tw-evidence-brief .tw-evidence-intro{align-items:center;margin:0 0 10px!important;gap:10px}
.tw-evidence-brief .tw-evidence-intro h3{font-size:17px!important;margin:4px 0 2px!important}
.tw-evidence-brief .tw-evidence-intro p{font-size:10px!important;line-height:1.35!important;margin:0!important}
.tw-evidence-brief .tw-evidence-mini-summary{
 display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
 border:1px solid #324450;border-radius:8px;overflow:hidden;margin-bottom:11px
}
.tw-evidence-brief .tw-evidence-mini-summary>span{
 min-width:0;display:grid;gap:4px;padding:8px 11px;border-right:1px solid #324450;
 background:#12232d
}
.tw-evidence-brief .tw-evidence-mini-summary>span:last-child{border:0}
.tw-evidence-brief .tw-evidence-mini-summary small{font-size:8px;letter-spacing:.5px;color:#8eabb8}
.tw-evidence-brief .tw-evidence-mini-summary b{font-size:14px;line-height:1.2}
.tw-evidence-brief .tw-evidence-heading{margin:0 0 8px!important}
.tw-evidence-brief .tw-evidence-heading b{font-size:10px}
.tw-evidence-brief .tw-evidence-primary-grid{gap:7px;grid-template-columns:repeat(2,minmax(0,1fr))}
.tw-evidence-brief .tw-evidence-primary-card{
 gap:3px;padding:8px 10px;min-height:65px;border-radius:8px;box-sizing:border-box
}
.tw-evidence-brief .tw-evidence-primary-card>span{font-size:9px}
.tw-evidence-brief .tw-evidence-primary-card>strong{font-size:15px!important}
.tw-evidence-brief .tw-evidence-primary-card>small{font-size:8px}
.tw-evidence-brief .tw-evidence-interpretation{font-size:9px;line-height:1.35;
 margin:9px 0 0!important
}
body.dashboard-active .tw-clean-detail .dashboard-detail-body{scrollbar-width:none!important}
body.dashboard-active .tw-clean-detail .dashboard-detail-body::-webkit-scrollbar{display:none!important}

/* Shared branded empty states, distinct lime strategy / cyan value. */
body.dashboard-active{--tw-no-data-accent:#c9f76a}
body.value-active{--tw-no-data-accent:#7bdce9}
.tw-branded-empty .empty-symbol,.tw-unpriced-state .tw-empty-icon{
 display:grid!important;place-items:center!important;margin:0 auto 8px!important;
 background:color-mix(in srgb,var(--tw-no-data-accent) 8%,transparent)!important;
 border:1px solid color-mix(in srgb,var(--tw-no-data-accent) 35%,transparent)!important;
 border-radius:12px!important;width:60px!important;height:60px!important;
 color:var(--tw-no-data-accent)!important;font-size:inherit!important
}
.tw-branded-empty .empty-symbol svg,.tw-unpriced-state .tw-empty-icon svg{display:block;max-width:40px}
.tw-unpriced-state .tw-empty-icon{margin:0 0 8px!important;width:45px!important;height:45px!important}
.tw-unpriced-state .tw-empty-icon svg{width:28px;height:28px}
body.dashboard-active .tw-branded-empty{color:#b8cdd6}
body.value-active .tw-branded-empty{color:#b3dce5}

/* A missed refresh is actionable status, never a false 'all data lost' alarm. */
#connection-error.refresh-delayed{
 border-color:#8b7847!important;background:#29271b!important;
 color:#f3db95!important;font-size:12px;line-height:1.6;padding:11px 15px!important
}
@media(max-width:990px){
 body.dashboard-active .value-expansion>.dashboard-detail{height:auto!important;min-height:0!important;max-height:none!important}
 body.dashboard-active .value-expansion .dashboard-detail-body{max-height:none!important;overflow:visible!important}
}
@media(max-width:700px){
 .tw-premium-hero.tw-photo-hero::before{
   background-image:linear-gradient(90deg,rgba(9,22,31,.96),rgba(9,22,31,.81) 54%,rgba(9,22,31,.43)),
    url('/assets/greyhound-racing-hero-hd.webp?v=20261022-hd1')!important;
   background-position:60% center!important;
 }
 .tw-hero-photo-credit{font-size:7px;left:14px;right:8px;bottom:5px}
 .tw-spotlight-stars .star-meter i{font-size:17px!important}
 .tw-evidence-rank{min-width:125px}
 .tw-evidence-rank .star-meter i{font-size:17px}
 .tw-evidence-brief .tw-evidence-primary-card{min-height:59px;padding:7px 9px}
 .tw-evidence-brief .tw-evidence-primary-card>strong{font-size:13px!important}
 .tw-evidence-brief .tw-evidence-intro h3{font-size:15px!important}
 .tw-evidence-brief .tw-evidence-interpretation{font-size:8px}
}
@media(max-width:360px){
 .tw-evidence-brief .tw-evidence-primary-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .tw-evidence-brief .tw-evidence-mini-summary>span{padding:8px 5px}
 .tw-evidence-rank{min-width:105px}
 .tw-evidence-rank .star-meter i{font-size:14px}
}
