/* Shared football-family presentation, Horse Racing palette. No account/data contracts. */
:root{--horse-width:1320px;--horse-gutter:20px;--horse-primary:#693397;--horse-accent:#995eb6;--horse-border:#dcccE8;--color-primary:#693397;--color-accent:#995eb6;--color-focus:#693397;--pro-section-start:#492564;--pro-section-end:#9963b7;--pro-section-border:#b999d0;--radius-card:18px;--radius-control:10px;--radius-premium:24px}
.app-main>.page-container,.app-main>.home-stats-ticker-shell{box-sizing:border-box!important;width:calc(100% - 2 * var(--horse-gutter))!important;max-width:var(--horse-width)!important;margin-inline:auto!important;padding-inline:0!important;min-width:0}
.app-main .page-container .page-container{box-sizing:border-box;max-width:100%;min-width:0}
.app-main .pro-section-card{box-sizing:border-box;border:1px solid var(--horse-border)!important;border-radius:24px!important;box-shadow:0 8px 24px #32144a0c!important;margin-bottom:24px!important;overflow:hidden}
.app-main .pro-section-card>div:first-child:has(h2){background:linear-gradient(115deg,#432655,#6d3692 52%,#a16cb9)!important;padding:20px 24px!important;text-align:center;color:#fff!important;border-bottom:1px solid var(--horse-border)}
.app-main .pro-section-card>div:first-child :is(h2,p){color:#fff!important;text-align:center;}
.app-main .pro-section-card>div:first-child h2{font-size:22px!important;line-height:1.3!important;margin:0!important}
.app-main .pro-section-card>div:first-child p{font-size:13px!important;line-height:1.6!important;opacity:.9}
.app-main .pro-section-card>div:last-child:not(:first-child){padding:24px!important;box-sizing:border-box;min-width:0}
.app-main .meeting-header{background:linear-gradient(115deg,#432655,#6d3692 52%,#a16cb9);padding:20px 24px;border-radius:18px;color:#fff}
.app-main .meeting-header :is(h2,p){color:#fff;}
.app-main .meeting-header p{opacity:.9}
.app-main .race-header{border-radius:14px!important;border-color:var(--horse-border)!important;box-shadow:0 4px 14px #32144a08}
.app-main .btn-pill:not(table *),.app-main .date-select:not(table *){box-sizing:border-box;min-height:44px;height:auto;border-radius:12px;font-size:13px;line-height:1.4;padding:10px 16px;white-space:normal}
.app-main .segmented-toggle{border-radius:12px}.app-main .segmented-toggle button{min-height:44px;line-height:1.4}
#root>nav>div{box-sizing:border-box;max-width:1360px!important;padding:14px 20px!important}
#root>nav a:not(:first-child),#root>nav button{line-height:1.4!important}
#root>nav>div>div:last-child>button{background:linear-gradient(115deg,#633087,#8b4ba8)!important;box-shadow:none!important}
#root>nav>div>div:last-child>:is(button,a){min-height:40px;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box}
.horse-profile-page .horse-telegram{margin-bottom:24px}
.horse-profile-page .horse-telegram-status-card{border-radius:18px;box-shadow:0 6px 20px #32144a0a}
.horse-profile-page .horse-telegram-button{border-radius:10px;min-height:44px}
.horse-profile-actions{border:1px solid var(--horse-border);border-radius:24px;overflow:hidden;background:linear-gradient(180deg,#fff,#fcf9fe);box-shadow:0 8px 24px #32144a0c;margin-bottom:24px;color:#32164b}
.horse-profile-actions__header{padding:20px 24px;text-align:center;color:#fff;background:linear-gradient(115deg,#432655,#6d3692 52%,#a16cb9)}
.horse-profile-actions__header h2{font-size:22px;line-height:1.3;margin:0 0 6px;color:inherit}
.horse-profile-actions__header p{font-size:13px;line-height:1.6;margin:0;opacity:.9}
.horse-profile-actions__body{padding:24px}
.horse-profile-actions__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;max-width:1120px;margin:auto}
.horse-profile-action{min-width:0;box-sizing:border-box;display:flex;flex-direction:column;align-items:stretch;gap:0;padding:26px 24px;text-align:center;border:1px solid var(--horse-border);border-radius:18px;background:linear-gradient(180deg,#fff,#f9f4fd);box-shadow:0 6px 20px #32144a0a}
.horse-profile-action__label{align-self:center;max-width:100%;box-sizing:border-box;padding:7px 12px;border-radius:999px;border:1px solid #e0d0ea;background:#f7f0fb;color:#643789;font-size:10px;font-weight:800;letter-spacing:.08em;line-height:1.5;text-transform:uppercase;margin-bottom:20px}
.horse-profile-action h3{margin:0 0 10px;font-size:20px;line-height:1.3;color:inherit}
.horse-profile-action p{margin:0 0 20px;font-size:14px;font-weight:400;line-height:1.65;color:inherit;opacity:.85;overflow-wrap:anywhere}
.horse-profile-action__address{display:block;margin:0 0 22px;font-size:13px;font-weight:600;line-height:1.6;color:inherit;overflow-wrap:anywhere;text-underline-offset:3px}
.horse-profile-action__links{display:flex;flex-direction:column;gap:10px;width:100%;min-width:0;margin-top:auto}
.horse-profile-action__button{display:flex;box-sizing:border-box;align-items:center;justify-content:center;width:100%;min-width:0;min-height:44px;padding:11px 14px;margin:0;border:1px solid #713998;border-radius:10px;font-size:13px;font-weight:750;line-height:1.4;text-align:center;white-space:normal;overflow-wrap:anywhere;background:linear-gradient(115deg,#66328c,#9860b3);color:#fff;text-decoration:none}
.horse-profile-action>.horse-profile-action__button{margin-top:auto}
.horse-profile-action__button:hover{filter:brightness(1.06)}
.horse-site-footer__inner{max-width:1320px}
@media(max-width:850px){.horse-profile-actions__grid{grid-template-columns:minmax(0,1fr);max-width:580px}.horse-profile-actions__body{padding:18px}.horse-profile-action{padding:24px}.horse-profile-action__label{margin-bottom:14px}}
@media(max-width:640px){:root{--horse-gutter:12px}.app-main .pro-section-card>div:last-child:not(:first-child){padding:16px!important}.app-main .pro-section-card>div:first-child:has(h2){padding:18px 16px!important}#root>nav>div{padding:12px!important}.horse-profile-actions__header{padding:18px 16px}}

@media(max-width:640px){#root>nav>div>a:first-child{font-size:clamp(15px,4.6vw,20px)!important;white-space:normal!important}#root>nav>div>div:nth-child(2){gap:6px!important;justify-content:center!important;width:100%}#root>nav>div>div:nth-child(2)>a,#root>nav>div>div:nth-child(2)>div>button{padding:8px 10px!important;font-size:12px!important;min-height:40px;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center}#root>nav>div>div:last-child{justify-content:center!important;width:100%}}
