/* Small shared refinements; no original or LED display files are changed. */
body.pk-club-page .pk-club-member-controls .pk-club-member-toggle[aria-expanded=true]{border:0;background:transparent;color:#78909d;padding:4px 0;font-size:12px;font-weight:400;gap:6px;box-shadow:none}
body.pk-club-page .pk-club-member-controls .pk-club-member-toggle[aria-expanded=true] svg{width:14px;height:14px}
html body.pk-classic-tournament:has(.pk-header) .pk-tournament-accent-hero .left{gap:6px!important}
html body.pk-classic-tournament:has(.pk-header) .pk-tournament-accent-hero .organizator{font-size:16px!important;line-height:1.4!important;font-weight:400!important;padding:0!important;margin:0 0 5px!important}
html body.pk-classic-tournament:has(.pk-header) .pk-tournament-accent-hero .title{font-size:22px!important;line-height:1.3!important;letter-spacing:0!important;font-weight:500!important;color:#fff!important;margin:0 0 7px!important}
html body.pk-classic-tournament:has(.pk-header) .pk-tournament-accent-hero :is(.date,.location){padding:1px 0!important}
html body.pk-classic-tournament:has(.pk-header) .pk-tournament-accent-hero .organizator::before{width:16px;height:16px;flex-basis:16px}
html body:is(.pk-classic-tournament,.pk-tournament):has(.pk-header) :is(.row.pc,.row.mobi){background:#fff!important}
html body:is(.pk-classic-tournament,.pk-tournament):has(.pk-header) :is(.row.pc,.row.mobi).pk-program-even{background:#f7f9fa!important}
html body.pk-eventing-program:has(.pk-header) .eventing-public-competition-card.pk-program-even{background:#f7f9fa!important}
body.pk-led-page .pk-media-stage{touch-action:pan-y pinch-zoom}
body.pk-led-page .pk-media-stage img{user-select:none;-webkit-user-drag:none}
@media(max-width:800px){
 html body.pk-classic-tournament:has(.pk-header) .pk-tournament-accent-hero .organizator{font-size:13px!important;margin-bottom:4px!important}
 html body.pk-classic-tournament:has(.pk-header) .pk-tournament-accent-hero .title{font-size:19px!important;margin-bottom:6px!important}
 body.pk-led-page .pk-gallery-grid{display:grid;grid-template-columns:none;grid-auto-flow:column;grid-auto-columns:86%;gap:12px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-padding-inline:0;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;padding-bottom:10px;scrollbar-width:thin;scrollbar-color:#b2c7d4 transparent}
 body.pk-led-page .pk-gallery-item{scroll-snap-align:start;scroll-snap-stop:always;min-width:0;touch-action:pan-x pan-y pinch-zoom}
 body.pk-led-page .pk-gallery-item:hover :is(img,video){transform:none}
}
@media(hover:hover){body.pk-club-page .pk-club-member-controls .pk-club-member-toggle[aria-expanded=true]:hover{background:transparent;color:var(--pk-accent)}}

/* Keep rail documents close to the tournament banner on phones. */
@media(max-width:700px){html body.pk-classic-tournament:has(.pk-header) .pk-document-rail{margin-bottom:6px!important}html body.pk-classic-tournament:has(.pk-header) .pk-document-rail + .topbar.pk-tournament-accent-hero{margin-top:0!important}}

/* The same action grid for single classes and combined classes, on every screen. */
html body.pk-classic-tournament:has(.pk-header) :is(.row.pc,.row.mobi.pk-compact-class) .pk-action-grid{
 display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;
 align-items:stretch!important;gap:6px!important;width:100%!important;min-width:0!important;
}
html body.pk-classic-tournament:has(.pk-header) :is(.row.pc,.row.mobi.pk-compact-class) .pk-action-grid>.pk-program-link{
 grid-column:span 2;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;
 box-sizing:border-box!important;min-width:0!important;width:100%!important;min-height:56px!important;
 margin:0!important;padding:8px 4px!important;gap:5px!important;border:1px solid color-mix(in srgb,var(--pk-accent) 16%,#e1e8ec)!important;
 border-radius:8px!important;background:color-mix(in srgb,var(--pk-accent) 3%,#fff)!important;
 color:var(--pk-accent)!important;text-align:center!important;font-size:11px!important;line-height:1.3!important;
 text-decoration:none!important;transition:background .18s ease,border-color .18s ease;
}
html body.pk-classic-tournament:has(.pk-header) :is(.row.pc,.row.mobi.pk-compact-class) .pk-action-grid[data-pk-action-count="1"]>.pk-program-link{grid-column:span 6}
html body.pk-classic-tournament:has(.pk-header) :is(.row.pc,.row.mobi.pk-compact-class) .pk-action-grid:is([data-pk-action-count="2"],[data-pk-action-count="4"])>.pk-program-link,
html body.pk-classic-tournament:has(.pk-header) :is(.row.pc,.row.mobi.pk-compact-class) .pk-action-grid[data-pk-action-count="5"]>.pk-program-link:nth-last-child(-n+2){grid-column:span 3}
html body.pk-classic-tournament:has(.pk-header) :is(.row.pc,.row.mobi.pk-compact-class) .pk-action-grid>.pk-program-link[hidden]{display:none!important}
html body.pk-classic-tournament:has(.pk-header) .pk-action-grid .pk-program-link>.pk-action-detail{display:block;font-size:10px;line-height:1.3;font-weight:400;color:#607785;white-space:normal;overflow-wrap:anywhere}
html body.pk-classic-tournament:has(.pk-header) .pk-action-grid .pk-program-link>.pk-link-arrow{display:none!important}
html body.pk-classic-tournament:has(.pk-header) .pk-action-grid .pk-program-link>span[data-sl]{white-space:normal;overflow-wrap:anywhere}
@media(hover:hover){html body.pk-classic-tournament:has(.pk-header) :is(.row.pc,.row.mobi.pk-compact-class) .pk-action-grid>.pk-program-link:hover{background:color-mix(in srgb,var(--pk-accent) 9%,#fff)!important;border-color:color-mix(in srgb,var(--pk-accent) 45%,#e1e8ec)!important}}
@media(max-width:700px){
 html body.pk-classic-tournament:has(.pk-header) .row.mobi.pk-compact-class .pk-action-grid{margin-top:7px!important;gap:6px!important}
 html body.pk-classic-tournament:has(.pk-header) .row.mobi.pk-compact-class .pk-action-grid>.pk-program-link{min-height:48px!important;padding:6px 4px!important;font-size:11px!important}
 html body.pk-classic-catalog:has(.pk-header) :is(.poimenovanja,.vnos),html body.pk-catalog:has(.pk-header) :is(.pk-table-head,.pk-event-row){grid-template-columns:minmax(0,22fr) minmax(0,13fr) minmax(0,20fr) minmax(0,45fr)!important;gap:6px!important}
 html body.pk-classic-catalog:has(.pk-header) .vnos :is(.datum,.kraj),html body.pk-catalog:has(.pk-header) .pk-event-row>:is(:first-child,:nth-child(4)){font-size:clamp(9px,2.55vw,11px)!important;line-height:1.4!important}
 html body.pk-classic-catalog:has(.pk-header) .vnos .naziv,html body.pk-catalog:has(.pk-header) .pk-event-row>:last-child{font-size:clamp(10px,2.8vw,12px)!important;line-height:1.4!important}
}
@media(prefers-reduced-motion:reduce){html body.pk-classic-tournament:has(.pk-header) .pk-action-grid>.pk-program-link{transition:none!important}}
/* Give reveal its own transition instead of the shorter card-hover transition. */
html body.pk-home #header #com .tekm.pk-reveal-wait{opacity:0;transform:translate3d(0,24px,0);transition:opacity .65s ease,transform .65s cubic-bezier(.2,.7,.2,1),box-shadow .25s,border-color .25s;will-change:auto}
html body.pk-home #header #com .tekm.pk-reveal-wait.pk-revealed{opacity:1;transform:translate3d(0,0,0)}
html body.pk-home #header #com .or>a:has(.button1){align-self:flex-end!important;margin-top:auto!important;padding-top:16px}
html body.pk-home #header #com .or .button1{margin-top:0!important}
html body.pk-home #header #com .or{justify-content:flex-start!important}
@media(hover:hover){html body.pk-home #header #com .tekm.pk-revealed:hover{transform:translate3d(0,-3px,0)}}
@media(min-width:1001px) and (max-width:1400px){body:has(.pk-header) .pk-navigation{gap:12px}body:has(.pk-header) .pk-nav-link{font-size:12px}}
@media(prefers-reduced-motion:reduce){html body.pk-home #header #com .tekm.pk-reveal-wait{opacity:1!important;transform:none!important;transition:none!important}}
.pk-editor-translation-tools{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin:12px 0 18px}.pk-editor-translation-tools small{color:#718691;font-size:12px}.pk-editor-translation-settings{max-width:800px}.pk-editor-translation-settings form{display:grid;gap:14px;margin:20px 0}.pk-editor-translation-settings form>button{justify-self:start}.pk-editor-translation-state{padding:12px 16px;border-radius:8px;background:#edf5fa;color:#2b627e}
/* Desktop programme actions retain the compact icon / label / arrow list. */
@media(min-width:1001px){
 html body.pk-classic-tournament:has(.pk-header) .row.pc.pk-program-combined .pk-action-grid{display:flex!important;flex-direction:column!important;grid-template-columns:none!important;gap:2px!important;align-items:stretch!important}
 html body.pk-classic-tournament:has(.pk-header) .row.pc.pk-program-combined .pk-action-grid>.pk-program-link{display:grid!important;grid-template-columns:18px minmax(0,1fr) 18px!important;grid-column:auto!important;align-items:center!important;justify-content:stretch!important;min-height:30px!important;padding:5px 0!important;gap:3px 9px!important;border:0!important;border-radius:0!important;background:transparent!important;font-size:12px!important;text-align:left!important}
 html body.pk-classic-tournament:has(.pk-header) .row.pc.pk-program-combined .pk-action-grid>.pk-program-link>.pk-ui-icon{grid-column:1;grid-row:1;width:17px!important;height:17px!important}
 html body.pk-classic-tournament:has(.pk-header) .row.pc.pk-program-combined .pk-action-grid>.pk-program-link>span[data-sl]{grid-column:2;grid-row:1}
 html body.pk-classic-tournament:has(.pk-header) .row.pc.pk-program-combined .pk-action-grid>.pk-program-link>.pk-link-arrow{display:block!important;grid-column:3;grid-row:1;justify-self:end;font-size:20px!important;line-height:1}
 html body.pk-classic-tournament:has(.pk-header) .row.pc.pk-program-combined .pk-action-grid>.pk-program-link>.pk-action-detail{grid-column:2;grid-row:2;text-align:left}
 html body.pk-classic-tournament:has(.pk-header) .row.pc.pk-program-combined .pk-action-grid>.pk-program-link:hover{background:transparent!important;border:0!important}
}
/* Hover never changes the programme row's stripe or adds a side highlight. */
html body.pk-classic-tournament:has(.pk-header) :is(.row.pc,.row.mobi){--pk-program-row-background:#fff}
html body.pk-classic-tournament:has(.pk-header) :is(.row.pc,.row.mobi).pk-program-even{--pk-program-row-background:#f7f9fa}
html body.pk-classic-tournament:has(.pk-header) :is(.row.pc,.row.mobi):is(:hover,:active){background:var(--pk-program-row-background)!important;box-shadow:none!important;outline:none!important;transform:none!important}
/* Result heading and column labels belong to one continuous table card. */
html body.pk-results-page:has(.pk-header) :is(.pk-grid-scroll,.pk-table-scroll).pk-result-group{padding:0!important;overflow:hidden!important;border:1px solid #dce5ea!important;border-radius:8px!important;margin-top:24px!important}
html body.pk-results-page:has(.pk-header) .pk-result-group>.pk-result-section-title{width:100%!important;margin:0!important;padding:14px 18px!important;border:0!important;border-bottom:1px solid #dce5ea!important;border-radius:0!important;background:#fff!important;font-size:15px!important}
html body.pk-results-page:has(.pk-header) .pk-result-group>.pt--table{margin:0!important;padding:0!important;border:0!important;border-radius:0!important}
html body.pk-results-page:has(.pk-header) .pk-result-group .pt--table-labels{margin:0!important;border-radius:0!important}
/* Every search row uses the same tracks, regardless of one or two profiles. */
html body.pk-data-page.pk-search-page:has(.pk-header) :is(.isk-vrstica,.pk-search-results-head){grid-template-columns:minmax(0,1.35fr) minmax(0,1fr) minmax(65px,.35fr) minmax(0,1.3fr);gap:20px}
html body.pk-data-page.pk-search-page:has(.pk-header) .isk-vrstica>span{min-width:0;overflow-wrap:anywhere}
html body.pk-data-page.pk-search-page:has(.pk-header) .isk-discipline{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:6px;min-width:0}
html body.pk-data-page.pk-search-page:has(.pk-header) .isk-discipline .isk-disc{max-width:100%;box-sizing:border-box;white-space:normal}
@media(max-width:640px){
 html body.pk-data-page.pk-search-page:has(.pk-header) .isk-vrstica{grid-template-columns:minmax(0,1fr) 74px;gap:6px 12px}
 html body.pk-data-page.pk-search-page:has(.pk-header) .isk-sifra{text-align:right;justify-self:stretch}
 html body.pk-results-page:has(.pk-header) .pk-result-group>.pk-result-section-title{padding:10px 11px!important;font-size:12px!important}
}
.pk-editor-translation-feedback{padding:12px 14px;margin:0 0 16px;border:1px solid #c9e4d6;border-radius:7px;background:#f1faf5;color:#30654a;font-size:13px;line-height:1.5}.pk-editor-translation-feedback[hidden]{display:none}.pk-editor-translation-feedback.is-error{border-color:#ebd5b5;background:#fff8ec;color:#80613b}.pk-editor-translation-feedback p{margin:0}.pk-editor-translation-feedback .pk-editor-button{display:inline-flex;margin-top:10px}.pk-editor-notice-clear-tools{display:flex;flex-wrap:wrap;gap:10px;margin-top:18px}

/* One fine accent line; changing its width does not change the navigation height. */
html body:has(.pk-header) .pk-navigation{border-bottom-width:1px}
.pk-editor-notice-link{display:grid;gap:18px;padding-block:20px;border-block:1px solid #e5ebef}
.pk-editor-notice-link-fields{display:grid;gap:15px;min-width:0;margin:0;padding:0;border:0}
.pk-editor-notice-link-fields[hidden]{display:none}
.pk-editor .pk-editor-switch{position:relative;gap:12px;min-height:28px;cursor:pointer;color:#3e5f73}
.pk-editor .pk-editor-switch input{position:absolute;inset:0 auto auto 0;width:44px;height:28px;margin:0;opacity:0;cursor:pointer}
.pk-editor-switch-track{position:relative;display:block;width:44px;height:26px;flex:0 0 44px;border:1px solid #c4d3dd;border-radius:20px;background:#dbe4ea;transition:background-color .2s,border-color .2s}
.pk-editor-switch-track::after{content:'';position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 1px 3px #1f3e5226;transition:transform .2s}
.pk-editor-switch input:checked+.pk-editor-switch-track{background:#0073c1;border-color:#0073c1}
.pk-editor-switch input:checked+.pk-editor-switch-track::after{transform:translateX(18px)}
.pk-editor-switch input:focus-visible+.pk-editor-switch-track{outline:2px solid #74b8e6;outline-offset:3px}
.pk-editor .pk-editor-notice-clear-tools{gap:10px;margin:0;padding-top:2px}
.pk-editor .pk-editor-notice-clear-tools button{display:inline-flex;align-items:center;gap:8px;min-height:42px;margin:0;padding:10px 14px;border-radius:7px;font-size:12px;font-weight:400}
.pk-editor-notice-clear-tools button svg{display:block;width:17px;height:17px;flex:0 0 17px}
.pk-editor .pk-clear-notice{color:#ab3b50;background:#fff4f6;border-color:#efd4da}
.pk-editor .pk-clear-notice:hover:not(:disabled){background:#fce7ec;border-color:#ddaab6}
.pk-editor .pk-restore-notice{background:transparent;border-color:#d8e3ea;color:#597c91}
.pk-editor .pk-restore-notice:hover:not(:disabled){background:#f0f6fa;border-color:#b8cfde}
.pk-editor .pk-restore-notice:disabled{opacity:.4}
.pk-editor-notice-preview .pk-editor-notice-preview-link{display:inline-flex;align-items:center;gap:6px;flex:0 1 auto;min-width:0;max-width:42%;color:inherit;font-size:12px;line-height:1.65;text-decoration:none;white-space:nowrap}
.pk-editor-notice-preview-link>span{min-width:0;overflow:hidden;text-overflow:ellipsis;text-decoration:underline;text-underline-offset:4px}
.pk-editor-notice-preview-link svg{display:block;width:17px;height:17px;flex:0 0 17px}
@media(max-width:700px){
 body.pk-admin-page .pk-editor .pk-editor-dates{grid-template-columns:minmax(0,1fr);gap:15px}
 body.pk-admin-page .pk-editor .pk-editor-dates input[type=date]{display:block;box-sizing:border-box;width:100%;min-width:0;max-width:100%;min-height:54px;padding:14px 15px;font-size:16px;line-height:1.5;-webkit-appearance:none;appearance:none}
 .pk-editor-dates input[type=date]::-webkit-date-and-time-value{min-height:24px;text-align:left}
 .pk-editor-dates input[type=date]::-webkit-datetime-edit{display:inline-flex;min-height:24px;padding:0}
 .pk-editor-notice-preview .pk-editor-notice-preview-link{max-width:38%;gap:4px;font-size:10px}
 .pk-editor-notice-preview-link svg{width:14px;height:14px;flex-basis:14px}
}

/* Explicit mobile card action alignment, independent of the legacy card layout. */
@media(max-width:800px){
 html body.pk-home #header #com .or>a:has(.button1){display:flex!important;justify-content:flex-end!important;align-self:stretch!important;width:100%!important;margin-left:auto!important;text-align:right!important}
 html body.pk-home #header #com .or .button1{margin-left:auto!important;margin-right:0!important;flex:0 0 auto}
}
html body:has(.pk-header) a.pk-club-link{color:var(--pk-accent,#0073c1)!important;font-size:inherit!important;font-weight:500;text-decoration:none!important;overflow-wrap:anywhere}
@media(hover:hover){html body:has(.pk-header) a.pk-club-link:hover{text-decoration:underline!important;text-underline-offset:3px}}
html body:has(.pk-header) a.pk-club-link:focus-visible{outline:2px solid var(--pk-accent,#0073c1);outline-offset:3px;border-radius:2px}
.pk-editor-api-group{max-width:850px;margin-top:26px}
.pk-editor-api-group>h3{margin:0 0 12px;font-size:13px;font-weight:500;color:#7a909e}
.pk-settings-api{overflow:hidden;border:1px solid #d9e4eb;border-radius:9px;background:#fff}
.pk-settings-api>summary{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:20px 24px;list-style:none;cursor:pointer;color:#3f6074}
.pk-settings-api>summary::-webkit-details-marker{display:none}
.pk-settings-api>summary>span{display:grid;gap:4px}
.pk-settings-api>summary strong{font-size:16px;font-weight:500}
.pk-settings-api>summary small{font-size:12px;color:#8198a6}
.pk-settings-api>summary svg{width:18px;height:18px;flex:0 0 18px;transition:transform .2s}
.pk-settings-api[open]>summary{border-bottom:1px solid #e6edf2}
.pk-settings-api[open]>summary svg{transform:rotate(180deg)}
.pk-settings-api-body{padding:24px}
.pk-settings-api .pk-editor-translation-settings>h3{margin:0 0 10px;font-size:20px;font-weight:500}
.pk-editor-stream-preview-item h3{font-size:15px;font-weight:500;margin:22px 0 10px}
.pk-editor-stream-preview-item iframe{margin-top:0}
@media(max-width:700px){.pk-settings-api>summary{padding:17px}.pk-settings-api-body{padding:17px}.pk-home-live-video-heading{flex-wrap:wrap;gap:10px}}

/* Align combined jumping classes on shared desktop tracks; mobile keeps its action grid. */
@media(min-width:1001px){
 html body.pk-classic-tournament:has(.pk-header) .row.pc.pk-program-combined{padding-block:9px!important;row-gap:0!important}
 html body.pk-classic-tournament:has(.pk-header) .row.pc.pk-program-combined .pk-action-grid>.pk-program-link{min-height:26px!important;padding-block:3px!important}
 html body.pk-classic-tournament:has(.pk-header) .row.pc.pk-combined-tracks{grid-template-rows:repeat(var(--pk-combined-row-count),minmax(32px,auto))!important;align-items:center!important;padding-block:8px!important}
 html body.pk-classic-tournament:has(.pk-header) .row.pc.pk-combined-tracks>.tag:nth-child(-n+4){grid-row:1 / span var(--pk-combined-row-count)!important}
 html body.pk-classic-tournament:has(.pk-header) .row.pc.pk-combined-tracks>.tag:nth-child(1){grid-column:1!important}
 html body.pk-classic-tournament:has(.pk-header) .row.pc.pk-combined-tracks>.tag:nth-child(2){grid-column:2!important}
 html body.pk-classic-tournament:has(.pk-header) .row.pc.pk-combined-tracks>.tag:nth-child(3){grid-column:3!important}
 html body.pk-classic-tournament:has(.pk-header) .row.pc.pk-combined-tracks>.tag:nth-child(4){grid-column:4!important}
 html body.pk-classic-tournament:has(.pk-header) .row.pc.pk-combined-tracks>:is(.opombe,.startnums,.pk-program-actions.pk-action-grid){display:contents!important}
 html body.pk-classic-tournament:has(.pk-header) .row.pc.pk-combined-tracks .opispodtekme{grid-column:5!important;grid-row:var(--pk-combined-track)!important;min-height:0!important;height:auto!important;margin:0!important;padding:5px 0!important;line-height:1.4!important;align-self:center!important}
 html body.pk-classic-tournament:has(.pk-header) .row.pc.pk-combined-tracks .startnum{grid-column:6!important;grid-row:var(--pk-combined-track)!important;display:block!important;min-height:0!important;height:auto!important;margin:0!important;padding:5px 0!important;line-height:1.4!important;text-align:center!important;align-self:center!important}
 html body.pk-classic-tournament:has(.pk-header) .row.pc.pk-combined-tracks .pk-combined-shared-actions{grid-column:7!important;grid-row:1!important;display:flex!important;flex-direction:column!important;gap:0!important;padding:0!important;min-width:0!important}
 html body.pk-classic-tournament:has(.pk-header) .row.pc.pk-combined-tracks .pk-program-link{grid-column:7!important;grid-row:var(--pk-combined-track)!important;align-self:center!important;display:grid!important;grid-template-columns:18px minmax(0,1fr) 18px!important;align-items:center!important;justify-content:stretch!important;gap:3px 9px!important;min-height:26px!important;padding:3px 0!important;border:0!important;border-radius:0!important;background:transparent!important;font-size:12px!important;text-align:left!important;box-sizing:border-box!important}
 html body.pk-classic-tournament:has(.pk-header) .row.pc.pk-combined-tracks .pk-combined-shared-actions .pk-program-link>.pk-ui-icon{grid-column:1;grid-row:1;width:17px!important;height:17px!important}
 html body.pk-classic-tournament:has(.pk-header) .row.pc.pk-combined-tracks .pk-combined-shared-actions .pk-program-link>span[data-sl]{grid-column:2;grid-row:1}
 html body.pk-classic-tournament:has(.pk-header) .row.pc.pk-combined-tracks .pk-combined-shared-actions .pk-program-link>.pk-link-arrow{display:block!important;grid-column:3;grid-row:1;justify-self:end;font-size:20px!important;line-height:1}
 html body.pk-classic-tournament:has(.pk-header) .row.pc.pk-combined-tracks .pk-action-detail{display:none!important}
}
/* A little breathing room between the dressage banner and the awards. */
html body.pk-results-page.pk-theme-dressage:has(.pk-header) .pk-result-podium{margin-top:28px!important}
body.pk-data-page.pk-theme-dressage.pk-dressage-results:has(.pk-header) .pk-dressage-table .pk-dressage-details :is(.rbg>.nalga,.vrstica>.ep1){text-align:center!important}
@media(max-width:700px){html body.pk-results-page.pk-theme-dressage:has(.pk-header) .pk-result-podium{margin-top:18px!important}}

/* Pointer interaction never changes table stripes or leaves a selected row behind. */
html body.pk-data-page:has(.pk-header) .pk-unified-table[data-pk-touch-table] :is(.pt--table-row,.rowintable,.ktablevnos,tbody>tr,tbody>tr>td){background:#fff!important;box-shadow:none!important;transform:none!important;-webkit-tap-highlight-color:transparent}
html body.pk-data-page:has(.pk-header) .pk-unified-table[data-pk-touch-table] :is(.pt--table-row.even,.rowintable.even,.ktablevnos:nth-child(even),tbody>tr:nth-child(even),tbody>tr:nth-child(even)>td){background:#f7f9fa!important}
html body.pk-data-page.pk-theme-dressage.pk-dressage-results:has(.pk-header) .pk-dressage-table .rowintable:is(:hover,:active,[aria-expanded=true]){background:#fff!important;box-shadow:none!important}
html body.pk-data-page.pk-theme-dressage.pk-dressage-results:has(.pk-header) .pk-dressage-table .rowintable.even:is(:hover,:active,[aria-expanded=true]){background:#f7f9fa!important;box-shadow:none!important}
html body.pk-profile.pk-data-page:has(.pk-header) .ktable.pk-unified-table .ktablevnos:is(:hover,:active){background:#fff!important;box-shadow:none!important}
html body.pk-profile.pk-data-page:has(.pk-header) .ktable.pk-unified-table .ktablevnos:nth-child(even):is(:hover,:active){background:#f7f9fa!important}
html body.pk-eventing-current.pk-theme-eventing:has(.pk-header) table.pk-eventing-unified-table tbody tr:is(:hover,:active)>td{background:#fff!important;box-shadow:none!important}
html body.pk-eventing-current.pk-theme-eventing:has(.pk-header) table.pk-eventing-unified-table tbody tr:nth-child(even):is(:hover,:active)>td{background:#f7f9fa!important}
html body:has(.pk-header) :is(.pk-unified-table,.pk-catalog-contents,.eventing-public-competition-list,.pk-classic-tournament .competitions){-webkit-tap-highlight-color:transparent}
html body.pk-classic-catalog:has(.pk-header) .vnos:is(:hover,:active){background:#fff!important;color:#334b59!important;box-shadow:none!important;transform:none!important}
html body.pk-classic-catalog:has(.pk-header) .vnos:nth-child(odd):is(:hover,:active){background:#f7f9fa!important}
html body.pk-catalog:has(.pk-header) .pk-event-row:is(:hover,:active){background:#fff!important;color:#30383e!important;box-shadow:none!important;transform:none!important}
html body.pk-eventing-program:has(.pk-header) .eventing-public-competition-card:is(:hover,:active){background:#fff!important;box-shadow:none!important}
html body.pk-eventing-program:has(.pk-header) .eventing-public-competition-card.pk-program-even:is(:hover,:active){background:#f7f9fa!important}
html body.pk-data-page:has(.pk-header) :is(.pk-table-scroll,.pk-grid-scroll):focus:not(:focus-visible),html body:has(.pk-header) :is(.pt--table-row,.rowintable,.ktablevnos,.vnos,.pk-event-row,.pk-unified-table tbody>tr):focus:not(:focus-visible){outline:none!important}

/* Date-aware homepage cards; completed tournaments remain fully accessible. */
html body.pk-home #header #com .pk-card-intro{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;width:100%;min-width:0}
html body.pk-home #header #com .pk-card-intro .orz{flex:1;min-width:0;margin:0!important}
html body.pk-home #header #com .pk-card-state{display:inline-flex;align-items:center;gap:6px;flex:0 0 auto;padding:4px 9px;border-radius:20px;background:#edf1f4;color:#657d8b;font-size:10px;line-height:1.5;font-weight:500;white-space:nowrap}
html body.pk-home #header #com .pk-card-state>i{display:block;width:5px;height:5px;border-radius:50%;background:currentColor;flex:0 0 5px}
html body.pk-home #header #com .pk-card-state-upcoming{background:#e9f4fc;color:#0073b8}
html body.pk-home #header #com .pk-card-state-live{background:#e7f5ed;color:#23794f}
html body.pk-home #header #com .pk-card-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:9px;width:100%;margin-top:auto;padding-top:16px;box-sizing:border-box}
html body.pk-home #header #com .pk-card-actions>a{display:inline-flex;align-items:center;justify-content:center;margin:0!important;padding:0!important;align-self:auto!important;flex:0 0 auto;width:auto!important;max-width:100%}
html body.pk-home #header #com .pk-card-actions .button1{margin:0!important;font-size:13px;gap:14px;padding:10px 16px;white-space:nowrap}
html body.pk-home #header #com .pk-card-actions>a.pk-card-schedule{gap:7px;padding:10px 12px!important;min-height:40px;box-sizing:border-box;color:#54788c;border:1px solid #dce7ee;border-radius:7px;background:#fff;font-size:12px;line-height:1.5;text-decoration:none;transition:background .2s,border-color .2s}
.pk-card-schedule>svg{width:17px;height:17px;flex:0 0 17px}
@media(hover:hover){html body.pk-home #header #com .pk-card-actions>a.pk-card-schedule:hover{background:#f1f7fb;border-color:#a8c9df;color:#0073c1}}
@media(max-width:700px){
 html body.pk-home #header #com .pk-card-intro{gap:9px}
 html body.pk-home #header #com .pk-card-state{font-size:9px;padding:4px 8px}
 html body.pk-home #header #com .pk-card-actions{gap:8px;padding-top:12px}
 html body.pk-home #header #com .pk-card-actions .button1{font-size:12px;padding:10px 13px;gap:10px}
 html body.pk-home #header #com .pk-card-actions>a.pk-card-schedule{font-size:11px;padding:10px!important}
}
/* Keep numeric values and their captions aligned in native and grid tables. */
html body.pk-data-page:has(.pk-header) .pk-unified-table[data-pk-touch-table] .pk-numeric-column,
html body:has(.pk-header) .pk-unified-table .pk-numeric-column{text-align:center!important;justify-content:center!important;align-items:center!important;text-indent:0!important;font-variant-numeric:tabular-nums}
html body.pk-data-page:has(.pk-header) .pk-unified-table[data-pk-touch-table] .pk-numeric-grid-value{display:flex!important;flex-direction:column!important}
html body.pk-data-page:has(.pk-header) .pk-unified-table .pk-numeric-column>a{text-align:center!important}
html body.pk-data-page.pk-theme-dressage.pk-dressage-results:has(.pk-header) .pk-dressage-table :is(.rowintable,.textin)>.pk-numeric-column:is(.pk-dr-place,.pk-d-place,.tnss){text-align:center!important;justify-content:center!important;align-items:center!important}
/* Preserve native table painting for dynamically loaded entries, including Safari. */
html body.pk-club-page:has(.pk-header) .pk-club-table{border-collapse:separate!important;border-spacing:0!important;isolation:isolate}
html body.pk-club-page:has(.pk-header) .pk-club-table>thead{display:table-header-group}
html body.pk-club-page:has(.pk-header) .pk-club-table>tbody{display:table-row-group}
html body.pk-club-page:has(.pk-header) .pk-club-table>tbody>tr{display:table-row;position:static!important;transform:none!important;pointer-events:auto}
html body.pk-club-page:has(.pk-header) .pk-club-table>tbody>tr>td{display:table-cell;vertical-align:middle;position:static;border-bottom:0!important;border-top:1px solid #e2eaf0;pointer-events:auto}
html body.pk-club-page:has(.pk-header) .pk-club-table>tbody>tr:first-child>td{border-top:0!important}
.pk-club-entry-row{cursor:pointer}
html body.pk-club-page:has(.pk-header) .pk-club-entry-row:focus-visible{outline:2px solid var(--pk-accent);outline-offset:-2px}

/* The external app has its own button hover, independent of active site sections. */
html body:has(.pk-header) .pk-header a.pk-temperature{ text-decoration:none!important;transition:background-color .22s ease,border-color .22s ease,color .22s ease,box-shadow .22s ease,transform .22s ease }
html body:has(.pk-header) .pk-header a.pk-temperature::after{display:none!important}
html body:has(.pk-header) .pk-header .pk-temperature .pk-external-arrow{transition:transform .22s ease}
@media(hover:hover) and (pointer:fine){
 html body:has(.pk-header) .pk-header a.pk-temperature:hover{color:#fff;background:#ffffff12;border-color:#ffffff60;box-shadow:0 4px 12px #00000018;transform:translateY(-2px);text-decoration:none!important}
 html body:has(.pk-header) .pk-header a.pk-temperature:hover .pk-external-arrow{transform:translate(2px,-2px)}
}
@media(prefers-reduced-motion:reduce){
 html body:has(.pk-header) .pk-header a.pk-temperature,html body:has(.pk-header) .pk-header .pk-temperature .pk-external-arrow{transition:none!important;transform:none!important}
}

/* Catalog rows respond to a mouse, while touch keeps the plain table surface. */
@media(min-width:1001px) and (hover:hover) and (pointer:fine){
 html body.pk-classic-catalog:has(.pk-header) .competitions .vnos,
 html body.pk-catalog:has(.pk-header) .pk-event-row{transition:background-color .22s ease,color .22s ease!important}
 html body.pk-classic-catalog:has(.pk-header) .competitions .vnos:hover,
 html body.pk-catalog:has(.pk-header) .pk-catalog-shell .pk-event-row:hover{background:color-mix(in srgb,var(--pk-accent) 12%,#fff)!important;color:#334b59!important;box-shadow:none!important;transform:none!important;text-decoration:none!important}
}
@media(prefers-reduced-motion:reduce){
 html body.pk-classic-catalog:has(.pk-header) .competitions .vnos,
 html body.pk-catalog:has(.pk-header) .pk-event-row{transition:none!important}
}

/* Neutral table striping across disciplines; status indicators keep their colours. */
html body:has(.pk-header){--pk-row-hover:#edf1f3}
html body.pk-catalog:has(.pk-header) .pk-catalog-shell .pk-event-row:nth-child(even){background:#f7f9fa!important}
@media(min-width:1001px) and (hover:hover) and (pointer:fine){
 html body.pk-classic-catalog:has(.pk-header) .competitions .vnos:hover,
 html body.pk-catalog:has(.pk-header) .pk-catalog-shell .pk-event-row:hover,
 html body.pk-classic-tournament:has(.pk-header) :is(.row.pc,.row.mobi):hover,
 html body.pk-eventing-program:has(.pk-header) .eventing-public-competition-card:nth-child(n):hover,
 html body.pk-data-page:has(.pk-header) .pk-unified-table[data-pk-touch-table] :is(.pt--table-row,.rowintable,.ktablevnos):hover,
 html body.pk-data-page:has(.pk-header) .pk-unified-table[data-pk-touch-table] tbody>tr:nth-child(n):hover>td,
 html body.pk-data-page.pk-theme-dressage.pk-dressage-results:has(.pk-header) .pk-dressage-table .rowintable:nth-child(n):hover,
 html body.pk-profile.pk-data-page:has(.pk-header) .ktable.pk-unified-table .ktablevnos:nth-child(n):hover,
 html body.pk-eventing-current.pk-theme-eventing:has(.pk-header) table.pk-eventing-unified-table tbody tr:nth-child(n):hover>td,
 html body.pk-club-page:has(.pk-header) .pk-club-table tbody>tr:nth-child(n):hover>td{background:#edf1f3!important;box-shadow:none!important;transform:none!important}
 html body.pk-data-page:has(.pk-header) .pk-unified-table[data-pk-touch-table] :is(.pt--table-row,.rowintable,.ktablevnos,tbody>tr>td),
 html body.pk-classic-tournament:has(.pk-header) .row.pc,
 html body.pk-eventing-program:has(.pk-header) .eventing-public-competition-card,
 html body.pk-eventing-current:has(.pk-header) .pk-eventing-unified-table tbody>tr>td{transition:background-color .22s ease!important}
}
@media(prefers-reduced-motion:reduce){
 html body.pk-data-page:has(.pk-header) .pk-unified-table[data-pk-touch-table] :is(.pt--table-row,.rowintable,.ktablevnos,tbody>tr>td),
 html body.pk-classic-tournament:has(.pk-header) .row.pc,
 html body.pk-eventing-program:has(.pk-header) .eventing-public-competition-card,
 html body.pk-eventing-current:has(.pk-header) .pk-eventing-unified-table tbody>tr>td{transition:none!important}
}

/* Shared S/D document rail. A long list stays in the left column in normal flow. */
.pk-program-shell,.pk-program-main{display:contents}
@media(min-width:1200px){
 html body.pk-classic-tournament:has(.pk-header) .pk-program-shell{display:grid;grid-template-columns:176px minmax(0,1fr);gap:28px;width:calc(100% - 40px);max-width:calc(var(--pk-content-width) + 204px);margin:0 auto 30px;align-items:start;box-sizing:border-box}
 html body.pk-classic-tournament:has(.pk-header) .pk-program-shell>.pk-program-main{display:block;min-width:0}
 html body.pk-classic-tournament:has(.pk-header) .pk-program-shell>.pk-document-rail{position:sticky!important;inset:auto!important;top:calc(var(--pk-header-stack-height,84px) + 24px)!important;width:176px!important;max-width:176px!important;margin:0!important;max-height:none!important;overflow:visible!important;align-self:start;z-index:1}
 html body.pk-classic-tournament.pk-documents-in-flow:has(.pk-header) .pk-program-shell>.pk-document-rail{position:static!important;inset:auto!important}
 html body.pk-classic-tournament:has(.pk-header) .pk-program-shell .pk-document-panel .yearfilter{display:flex!important;flex-direction:column!important;flex-wrap:nowrap!important;width:100%!important;gap:10px!important;padding:0!important;overflow:visible!important}
 html body.pk-classic-tournament:has(.pk-header) .pk-program-shell .pk-document-panel .yearfilter .year{width:100%!important;min-width:0!important;flex:0 0 auto!important;white-space:normal!important}
 html body.pk-classic-tournament:has(.pk-header) .pk-program-shell .pk-program-main>:is(.topbar,.turnir-info,.pk-program-layout,.pk-managed-broadcast){width:100%!important;max-width:100%!important;margin-left:0!important;margin-right:0!important;box-sizing:border-box}
}

/* Count data rows, independently of heading and expandable-detail siblings. */
html body.pk-data-page:has(.pk-header) .pk-unified-table[data-pk-touch-table] :is(.pt--table-row,.rowintable,.ktablevnos,tbody>tr,tbody>tr>td):nth-child(n){background:#fff!important}
html body.pk-data-page:has(.pk-header) .pk-unified-table[data-pk-touch-table] :is(.pt--table-row:nth-child(even of .pt--table-row),.rowintable:nth-child(even of .rowintable),.ktablevnos:nth-child(even of .ktablevnos),tbody>tr:nth-child(even),tbody>tr:nth-child(even)>td){background:#f7f9fa!important}
html body.pk-eventing-current:has(.pk-header) table.pk-eventing-unified-table tbody>tr:nth-child(even)>td{background:#f7f9fa!important}
@media(min-width:1001px) and (hover:hover) and (pointer:fine){
 html body.pk-data-page:has(.pk-header) .pk-unified-table[data-pk-touch-table] :is(.pt--table-row,.rowintable,.ktablevnos):nth-child(n):hover,
 html body.pk-data-page:has(.pk-header) .pk-unified-table[data-pk-touch-table] tbody:nth-child(n)>tr:nth-child(n):hover>td{background:#edf1f3!important;box-shadow:none!important;transform:none!important}
}

/* The programme is centred on the viewport; the rail sits at the far left. */
@media(min-width:1200px){
 html body.pk-classic-tournament:has(.pk-header){--pk-document-width:clamp(128px,10vw,176px);--pk-centered-program-width:min(var(--pk-content-width),calc(100% - var(--pk-document-width) - var(--pk-document-width) - 64px))}
 html body.pk-classic-tournament:has(.pk-header) .pk-program-shell{display:grid;grid-template-columns:minmax(0,1fr) var(--pk-centered-program-width) minmax(0,1fr);gap:0;width:100%;max-width:none;margin:0 0 30px;align-items:start}
 html body.pk-classic-tournament:has(.pk-header) .pk-program-shell>.pk-program-main{grid-column:2;grid-row:1;width:100%;margin:0;min-width:0}
 html body.pk-classic-tournament:has(.pk-header) .pk-program-shell>.pk-document-rail{grid-column:1;grid-row:1;width:var(--pk-document-width)!important;max-width:var(--pk-document-width)!important;margin:0 0 0 12px!important;justify-self:start}
 html body.pk-classic-tournament:has(.pk-header) .pk-breadcrumbs{width:var(--pk-centered-program-width)!important;max-width:var(--pk-content-width)!important;margin-left:auto!important;margin-right:auto!important}
 html body.pk-classic-tournament:has(.pk-header) .pk-program-shell .pk-document-rail .yearfilter .year{font-size:11px!important;padding:11px 9px!important}
}
html body:has(.pk-header) .pk-footer a.pk-footer-brand{display:inline-flex;align-items:center;gap:10px;text-decoration:none}
html body:has(.pk-header) .pk-footer-brand .pk-footer-logo{display:block;width:32px;height:32px;object-fit:contain;flex:0 0 32px;filter:brightness(0) invert(1)}
html body:has(.pk-header) .pk-footer-brand>span{font-family:inherit!important}
@media(max-width:700px){html body:has(.pk-header) .pk-footer-brand .pk-footer-logo{width:28px;height:28px;flex-basis:28px}}

@media(min-width:1200px){
 html body.pk-classic-tournament:has(.pk-header) .pk-program-shell>.pk-document-rail{margin-top:calc(0px - var(--pk-document-raise,0px))!important;top:calc(var(--pk-header-stack-height,84px) + 12px)!important}
 html body.pk-classic-tournament.pk-documents-in-flow:has(.pk-header) .pk-program-shell>.pk-document-rail{top:auto!important}
}
