/* Trapwise bespoke generated panoramic artwork + value result showcase. */
/* The two original AI illustrations are locally bundled and never hotlinked. */
.tw-premium-hero.tw-photo-hero.strategy-hero::before{
 background-image:linear-gradient(90deg,#091824f2 0%,#091824cb 32%,#09182444 58%,#09182418 100%),
 url('/assets/trapwise-strategy-source.png?v=1')!important;
 background-position:center 53%!important;background-size:cover!important;background-repeat:no-repeat!important;
 opacity:1!important;filter:none!important;backdrop-filter:none!important
}
.tw-premium-hero.tw-photo-hero.value-hero::before{
 background-image:linear-gradient(90deg,#091824f4 0%,#091824d3 32%,#09182444 59%,#09182417 100%),
 url('/assets/trapwise-value-source.png?v=1')!important;
 background-position:center 52%!important;background-size:cover!important;background-repeat:no-repeat!important;
 opacity:1!important;filter:none!important;backdrop-filter:none!important
}
.tw-premium-hero.tw-photo-hero{background:#081b25!important}
.tw-premium-hero .tw-hero-photo-credit{display:none!important}
/* The removed topbar must not hide the only refresh and sign-out controls.
   Keep compact actions accessible at every viewport, including emulated mobile. */
.tw-premium-hero.tw-photo-hero .tw-hero-tools{
 display:flex!important;align-items:center;gap:6px;
 position:absolute!important;right:11px!important;top:11px!important;
 z-index:12!important
}
.tw-premium-hero.tw-photo-hero .tw-hero-tools button{
 background:#0d2731dc!important;min-height:32px!important;padding:7px 10px!important;
 color:#e8f6f8!important;border-color:#376070!important
}
@media(max-width:700px){
 .tw-premium-hero.tw-photo-hero .tw-hero-tools{
   top:7px!important;right:8px!important
 }
 .tw-premium-hero.tw-photo-hero .tw-hero-tools button{font-size:10px!important;min-height:29px!important;padding:5px 8px!important}
}
/* Keep the existing accurate strategy star graphic, not a duplicate caption. */
.tw-spotlight-stars .tw-real-stars,.tw-rating-only .star-meter{display:flex!important;align-items:center!important;justify-content:center!important}
.tw-spotlight-stars{display:flex!important;align-items:center!important;justify-content:center!important;min-width:145px!important}
.tw-spotlight-stars .star-meter,.tw-rating-only .star-meter{white-space:nowrap!important;line-height:1!important}
.tw-spotlight-stars .star-meter>span,.tw-rating-only .star-meter>span{display:inline-flex!important;gap:3px!important;align-items:center!important}
.tw-spotlight-stars .star-meter i{font-size:24px!important;line-height:1!important}
.tw-rating-only .star-meter i{font-size:18px!important;line-height:1!important}
.tw-spotlight-stars .star-meter i.off,.tw-rating-only .star-meter i.off{color:#425762!important}
.tw-spotlight-stars .star-meter i.full,.tw-rating-only .star-meter i.full{color:#c6fa65!important}

/* Value winners are permanent page content, not displaced by an upcoming runner. */
.tw-winners-home{border:1px solid #3b6978;border-radius:14px;background:
 radial-gradient(ellipse at 95% 0%,#18526765,transparent 50%),linear-gradient(115deg,#112b38,#10212c);
 box-shadow:inset 0 1px #a9dce50d;overflow:hidden;margin:0 0 13px}
.tw-winners-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:20px 22px 14px}
.tw-winners-heading>div{min-width:0}
.tw-winners-eyebrow{color:#81e1ea;font-size:10px;letter-spacing:1.4px;font-weight:900}
.tw-winners-heading h3{font-size:clamp(20px,1.8vw,28px);font-weight:850;letter-spacing:-.7px;color:#f1fcff;margin:7px 0 5px}
.tw-winners-heading p{font-size:11px;line-height:1.6;color:#a7c4cf;max-width:685px}
.tw-winners-view-all{border:1px solid #6faeba;background:#79d9e7;color:#092734;font-size:11px;font-weight:900;
 padding:12px 15px;border-radius:8px;white-space:nowrap;min-height:43px}
.tw-winners-view-all:hover{background:#b3f4f5;box-shadow:0 0 0 2px #79d9e72d}
.tw-winners-view-all:focus-visible,.tw-winners-dialog button:focus-visible{outline:2px solid #b0f5fa;outline-offset:3px}
.tw-winners-summary{display:flex;gap:20px;align-items:center;flex-wrap:wrap;padding:10px 22px 11px;
 border-top:1px solid #244553;border-bottom:1px solid #244553;background:#0c2330;line-height:1.4}
.tw-winners-summary span{font-size:11px;color:#aac8d3}
.tw-winners-summary b,.tw-winners-summary strong{font-size:18px;font-weight:900;color:#a7f7e5}
.tw-winners-summary b{margin-right:5px}
.tw-winners-featured-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;padding:13px 16px 17px}
.tw-winners-card{display:grid;grid-template-columns:36px minmax(0,1fr) auto;align-items:center;gap:11px;
 border:1px solid #365665;background:#0d2632;border-radius:10px;padding:15px 14px;min-width:0}
.tw-winners-card.tw-featured-winner{border-color:#7cb9b0;background:linear-gradient(115deg,#143c43,#10303c);
 box-shadow:inset 3px 0 #8ce7c5}
.tw-winners-card-icon{width:33px;height:33px;display:grid;place-items:center;border-radius:9px;
 border:1px solid #4c8b94;background:#174953;color:#9ff1e2;font-size:19px}
.tw-winners-card-dog{display:grid;gap:4px;min-width:0}
.tw-winners-card-dog>small{color:#8fb6c4;font-size:9px;text-transform:uppercase;letter-spacing:.45px}
.tw-winners-card-dog>b{display:flex;align-items:center;gap:7px;color:#fff;font-size:13px;line-height:1.3;overflow-wrap:anywhere}
.tw-winners-card-dog>span{font-size:9px;color:#98bec7}
.tw-winners-card-price{text-align:right;display:grid;gap:4px;align-items:center;justify-content:end}
.tw-winners-card-price b{color:#aaf9e0;font-size:24px;line-height:1;letter-spacing:-.7px;font-variant-numeric:tabular-nums}
.tw-winners-card-price small{color:#85b9c2;font-size:8px;letter-spacing:.5px}
.tw-winners-card-detail{grid-column:2/-1;font-size:10px;color:#bad0d9;padding-top:7px;border-top:1px solid #2d505b}
.tw-winners-empty{display:flex;gap:13px;align-items:center;border-top:1px solid #2d4a59;padding:18px 22px}
.tw-winners-empty>span{width:36px;height:36px;flex-shrink:0;display:grid;place-items:center;
 border:1px solid #4e8393;background:#183c49;border-radius:9px;color:#91e7ea;font-size:23px}
.tw-winners-empty>div{display:grid;gap:5px}
.tw-winners-empty b{font-size:12px;color:#e3f6f7}
.tw-winners-empty p{font-size:10px;line-height:1.5;color:#98b8c6}
/* Next value selection is deliberately independent; no slot when absent. */
.tw-next-value{display:flex;justify-content:space-between;align-items:center;gap:13px;padding:13px 18px;
 border:1px solid #315568;background:#112b39;border-radius:11px;margin-bottom:13px}
.tw-next-value h3{display:flex;align-items:center;gap:8px;font-size:13px;margin:6px 0 4px;color:#eefaff}
.tw-next-value p{font-size:10px;color:#a7c6d0;line-height:1.5}
/* Daily winners full-view overlay — clear results and honest limitations. */
.tw-winners-overlay{position:fixed;inset:0;z-index:1500;background:#07121be8;backdrop-filter:blur(8px);
 display:flex;align-items:center;justify-content:center;padding:25px}
.tw-winners-dialog{width:min(860px,100%);max-height:min(760px,90vh);display:flex;flex-direction:column;
 border-radius:17px;border:1px solid #48899b;background:#0d1e29;color:#eef9fc;
 box-shadow:0 28px 80px #000b;overflow:hidden}
.tw-winners-dialog-header{display:flex;align-items:start;justify-content:space-between;gap:18px;
 padding:25px 27px 20px;background:linear-gradient(120deg,#143848,#10232f);border-bottom:1px solid #345563}
.tw-winners-dialog-header h2{font-size:26px;letter-spacing:-.9px;margin:8px 0 6px}
.tw-winners-dialog-header p{font-size:11px;color:#adcad6;line-height:1.65;max-width:660px}
.tw-winners-dialog-header button{background:#1a3f4c;color:#c9f5fa;border:1px solid #517987;
 border-radius:9px;font-size:18px;line-height:1;width:38px;height:38px;flex-shrink:0}
.tw-winners-dialog-content{display:grid;align-content:start;gap:10px;overflow-y:auto;padding:20px 25px;scrollbar-width:thin}
.tw-winners-dialog-content .tw-winners-card{grid-template-columns:42px minmax(0,1fr) auto;padding:18px}
.tw-winners-dialog-content .tw-winners-card-price b{font-size:29px}
.tw-winners-dialog-empty{padding:35px 10px;color:#abcad2;text-align:center;font-size:12px}
.tw-winners-dialog footer{padding:13px 25px;background:#102632;border-top:1px solid #345766;
 font-size:10px;color:#91b9c4;line-height:1.55}
body.value-active:has(.tw-winners-overlay){overflow:hidden}
@media(max-width:1100px){.tw-winners-featured-grid{grid-template-columns:1fr 1fr}}
@media(max-width:700px){
 .tw-premium-hero.tw-photo-hero.strategy-hero::before,.tw-premium-hero.tw-photo-hero.value-hero::before{
  background-position:62% center!important;background-size:cover!important
 }
 .tw-spotlight-stars .star-meter i{font-size:20px!important}
 .tw-winners-heading{padding:18px 16px 12px;flex-direction:column;align-items:stretch;gap:12px}
 .tw-winners-heading h3{font-size:23px}
 .tw-winners-view-all{align-self:flex-start}
 .tw-winners-featured-grid{grid-template-columns:1fr;padding:12px}
 .tw-winners-summary{padding:11px 16px;gap:6px 16px}
 .tw-winners-card{padding:12px 11px}
 .tw-winners-card-price b{font-size:21px}
 .tw-winners-empty{padding:17px 15px}
 .tw-winners-overlay{padding:12px}
 .tw-winners-dialog{max-height:93vh}
 .tw-winners-dialog-header{padding:19px 16px 15px}
 .tw-winners-dialog-header h2{font-size:20px}
 .tw-winners-dialog-content{padding:13px}
 .tw-winners-dialog-content .tw-winners-card{padding:13px;grid-template-columns:29px minmax(0,1fr) auto}
 .tw-winners-dialog-content .tw-winners-card-price b{font-size:21px}
 .tw-winners-dialog footer{padding:12px 16px}
 .tw-next-value{align-items:flex-start;gap:8px}
}
@media(max-width:380px){.tw-winners-card-price small{font-size:7px}.tw-winners-card-dog>b{font-size:11px}}
@media(prefers-reduced-motion:reduce){.tw-winners-view-all{transition:none!important}}

/* Never disguise a failed Strategy feed as a true zero-selection day. */
body.dashboard-active .tw-strategy-data-notice{
  display:flex;align-items:flex-start;gap:12px;
  border:1px solid #b18a506b;border-radius:10px;
  padding:13px 16px;margin:0 0 13px;background:#2b23184f;
  color:#f2d0a1;line-height:1.5
}
body.dashboard-active .tw-strategy-data-notice.error{
  border-color:#b95f605e;background:#321d224d;color:#ffbec1
}
.tw-strategy-data-notice>span{font-size:17px;line-height:1.3}
.tw-strategy-data-notice b{display:block;font-size:12px;color:#f8e5cb;margin-bottom:3px}
.tw-strategy-data-notice.error b{color:#ffdde0}
.tw-strategy-data-notice p{color:#cbbfae;font-size:11px;margin:0}
.tw-strategy-data-notice.error p{color:#e9b8ba}
@media(max-width:700px){
 body.dashboard-active .tw-strategy-data-notice{padding:12px;gap:9px}
 .tw-strategy-data-notice b{font-size:11px}
 .tw-strategy-data-notice p{font-size:10px}
}

/* Immutable Strategy outcomes: actual winners never depend on a live quote. */
body.dashboard-active .tw-recorded-strategy{margin:17px 0 12px;border:1px solid #426050;border-radius:13px;background:linear-gradient(120deg,#102720,#101c24);overflow:hidden}
.tw-recorded-title{display:flex;gap:15px;align-items:center;justify-content:space-between;padding:19px 19px 14px;border-bottom:1px solid #2a4c40}
.tw-recorded-title h3{font-size:19px;letter-spacing:-.45px;margin:5px 0 4px;color:#f6f9f8}
.tw-recorded-title p{color:#a5beb4;font-size:10px;line-height:1.6;margin:0}
.tw-recorded-count{border:1px solid #547e61;background:#234431;color:#c9efb1;font-size:10px;font-weight:800;border-radius:8px;padding:10px 12px;white-space:nowrap}
.tw-recorded-list{display:grid;gap:0}
.tw-recorded-item{display:grid;grid-template-columns:90px minmax(140px,1.5fr) 122px 90px minmax(94px,1fr) minmax(116px,1fr);gap:12px;align-items:center;padding:14px 17px;border-bottom:1px solid #2b463a;background:#0e1e23}
.tw-recorded-item:last-child{border-bottom:0}
.tw-recorded-item.tw-recorded-winner{background:linear-gradient(95deg,#173c2e,#11272b);box-shadow:inset 3px 0 #b6f873}
.tw-recorded-race,.tw-recorded-price,.tw-recorded-pnl{display:grid;gap:5px}
.tw-recorded-race b,.tw-recorded-price b,.tw-recorded-pnl b{color:#f1f7f5;font-size:13px}
.tw-recorded-race small,.tw-recorded-price small,.tw-recorded-pnl small{font-size:9px;line-height:1.35;color:#92afa3}
.tw-recorded-dog{display:flex;gap:8px;min-width:0;align-items:center}
.tw-recorded-dog .trap{flex-shrink:0}
.tw-recorded-dog>span:last-child{min-width:0;display:grid;gap:5px}
.tw-recorded-dog b{color:#f2f8f5;font-size:12px;overflow-wrap:anywhere}
.tw-recorded-dog small{font-size:9px;color:#91aaa5}
.tw-recorded-result{font-size:11px;color:#aab9bb;font-weight:900;white-space:nowrap}
.tw-recorded-result.won{background:#b6f873;color:#192418;padding:8px 9px;border-radius:6px;width:max-content;box-shadow:0 0 15px #b6f87324}
.tw-recorded-pnl b{font-variant-numeric:tabular-nums}
.tw-recorded-disclaimer{padding:12px 19px;color:#98b8a9;background:#102622;border-top:1px solid #2c463d;font-size:9px;line-height:1.65;margin:0}
.tw-recorded-empty{font-size:11px;color:#b1c7bb;padding:18px 20px;line-height:1.7}
@media(max-width:1200px){
 .tw-recorded-item{grid-template-columns:80px minmax(130px,1fr) 90px 76px minmax(85px,1fr) minmax(95px,1fr);gap:8px;padding:13px 11px}
}
@media(max-width:800px){
 .tw-recorded-title{flex-wrap:wrap;align-items:flex-start;padding:16px 13px 12px}
 .tw-recorded-title h3{font-size:17px}
 .tw-recorded-count{padding:8px 10px}
 .tw-recorded-item{grid-template-columns:69px minmax(110px,1fr) auto;gap:9px;padding:13px 12px}
 .tw-recorded-stars{grid-column:2;grid-row:2}
 .tw-recorded-result{grid-column:3;grid-row:1}
 .tw-recorded-price{grid-column:2;grid-row:3}
 .tw-recorded-pnl{grid-column:3;grid-row:3;text-align:right}
 .tw-recorded-price small,.tw-recorded-pnl small{font-size:8px}
 .tw-recorded-item .star-meter i{font-size:14px}
 .tw-recorded-disclaimer{padding:12px;font-size:9px}
}
