.tt-home .tt-live-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:24px;margin-top:24px}
.tt-home .tt-live-grid .panel{display:flex;flex-direction:column;gap:16px;margin:0;min-width:0}
.tt-home .tt-live-grid .public-button{margin-top:auto;align-self:flex-start}
.tt-home .tt-example,.tt-home .tt-profile{padding:24px;display:flex;flex-direction:column;gap:24px;min-width:0}
.tt-home .tt-facts{display:flex;flex-wrap:wrap;gap:16px;padding-block:16px;border-block:1px solid var(--gui-border,#777)}
.tt-home .tt-lineup{display:grid;grid-template-columns:1fr 1fr;gap:16px;padding:24px}
.tt-home .tt-lineup>div,.tt-home .tt-lineup>a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;min-height:240px;text-align:center;background:var(--gui-accent,#f4d84a);color:#111;padding:16px}
.tt-home .tt-level-steps{padding-left:24px;display:grid;gap:24px;margin-block:24px}
.tt-home .tt-note{margin-top:24px;color:var(--gui-text-muted,#aaa)}
.tt-home .hero-search input{width:100%;min-width:0;min-height:44px;background:transparent;color:inherit;border:0;border-bottom:1px solid currentColor;font:inherit;padding:12px 0;color-scheme:dark}
.tt-home .hero-search label{min-width:0}
.tt-home .final-art img{width:100%;height:100%;object-fit:contain}
@media(max-width:600px){.tt-home .tt-example,.tt-home .tt-profile,.tt-home .tt-lineup{padding:16px}.tt-home .tt-lineup{gap:12px}.tt-home .tt-lineup>div,.tt-home .tt-lineup>a{min-height:180px;padding:12px}.tt-home .tt-live-grid{gap:16px}.tt-home .tt-lineup h3{overflow-wrap:anywhere}}
.tt-home .tt-profile,.tt-home .tt-live-grid .panel{background:#191919;color:#f1f1ed}
.tt-home .hero-search input{color-scheme:light}
.tt-home main>section[id]{scroll-margin-top:120px}
/* Fill the hero illustration frame without letterboxing. */
html[data-sport="TABLE_TENNIS"] body .tt-home .arrival-photo>img{object-fit:cover;object-position:50% 35%;width:100%;height:100%}
/* Give the format summary and its note separate breathing room. */
.tt-home .network-activity.tt-format{padding-block:32px}
.tt-home .network-activity.tt-format>.public-eyebrow{display:block;margin:0 0 24px}
.tt-home .network-activity.tt-format>div{margin:0}
.tt-home .network-activity.tt-format>.tt-note{margin:24px 0 0;line-height:1.5}
@media(max-width:600px){
 .tt-home .network-activity.tt-format{padding-block:24px}
 .tt-home .network-activity.tt-format>.public-eyebrow{margin-bottom:24px}
 .tt-home .network-activity.tt-format>div{row-gap:24px}
}
.tt-home .network-activity.tt-format{display:grid;gap:24px}
.tt-home .network-activity.tt-format>.public-eyebrow,
.tt-home .network-activity.tt-format>.tt-note{margin:0!important}
.tt-home .problem-solution-grid.tt-three-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:stretch}
.tt-home .tt-three-cards>*{min-width:0;margin:0}
.tt-home .tt-three-cards .chat-chaos{padding:24px}
.tt-home .tt-three-cards .chat-chaos>div{min-height:360px}
.tt-home .tt-three-cards .chat-message{max-width:90%;font-size:16px}
.tt-home .tt-three-cards .tt-example{gap:24px}
.tt-home .tt-three-cards .tt-icon-label{display:flex;align-items:center;gap:8px}
.tt-home .tt-icon-label svg{flex-shrink:0}
.tt-home .tt-three-cards .tt-facts{gap:12px}
.tt-home .tt-story-art{position:relative;overflow:hidden;background:#191919;min-height:480px}
.tt-home .tt-story-art img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover}
@media(max-width:1100px){.tt-home .problem-solution-grid.tt-three-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.tt-home .tt-story-art{grid-column:1/-1;min-height:360px;aspect-ratio:2}.tt-home .tt-story-art img{object-position:50% 45%}}
@media(max-width:700px){.tt-home .problem-solution-grid.tt-three-cards{grid-template-columns:minmax(0,1fr);gap:16px}.tt-home .tt-three-cards .chat-chaos{padding:16px}.tt-home .tt-story-art{grid-column:auto;min-height:0;aspect-ratio:1}.tt-home .tt-three-cards .tt-example{gap:24px}}
.tt-home [data-tt-games]{grid-template-columns:repeat(2,minmax(0,1fr))}
.tt-home .tt-all-games{display:inline-flex;align-items:center;gap:12px;min-height:44px;color:var(--gui-accent);margin-top:8px}
.tt-home .tt-open-game{display:flex;flex-direction:column;gap:24px;padding:24px;background:#191919;min-width:0}
.tt-home .tt-open-top{display:flex;justify-content:space-between;align-items:center;gap:16px}
.tt-home .tt-open-date{display:inline-flex;align-items:center;gap:8px;background:var(--gui-accent);color:#111;padding:8px 12px}
.tt-home .tt-open-format{color:var(--gui-muted)}
.tt-home .tt-open-time{display:flex;flex-wrap:wrap;gap:8px;margin:0}
.tt-home .tt-open-time>span{color:var(--gui-muted)}
.tt-home .tt-open-game h4{margin:0;overflow-wrap:anywhere}
.tt-home .tt-open-facts{display:flex;flex-wrap:wrap;gap:12px 24px;color:var(--gui-muted)}
.tt-home .tt-open-facts>span{display:inline-flex;align-items:center;gap:8px}
.tt-home .tt-open-facts svg{flex-shrink:0}
.tt-home .tt-open-bottom{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid var(--gui-line);padding-top:24px;margin-top:auto}
.tt-home .tt-open-price{display:flex;flex-direction:column;gap:4px}
.tt-home .tt-open-price>span{color:var(--gui-muted)}
.tt-home .tt-open-price strong{white-space:nowrap}
@media(max-width:700px){.tt-home [data-tt-games]{grid-template-columns:minmax(0,1fr)}.tt-home .tt-open-game{padding:16px;gap:16px}.tt-home .tt-open-bottom{padding-top:16px}.tt-home .tt-open-bottom .public-button{width:100%;justify-content:space-between}}
.tt-home .tt-profile-fact{display:inline-flex;align-items:center;gap:8px}
.tt-home .tt-profile-fact svg{flex-shrink:0;color:var(--gui-accent)}
.tt-home .tt-club-preview{min-width:0;background:#191919}
.tt-home .tt-club-preview.tt-club-has-photo{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr)}
.tt-home .tt-club-cover{display:block;position:relative;min-height:320px;overflow:hidden}
.tt-home .tt-club-cover img{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.tt-home .tt-club-preview .tt-club-copy{height:100%;margin:0}
@media(max-width:700px){.tt-home .tt-club-preview.tt-club-has-photo{grid-template-columns:minmax(0,1fr)}.tt-home .tt-club-cover{min-height:0;aspect-ratio:4/3}}
.tt-home .tt-progress .level-introduction{align-self:center}
.tt-home .tt-progress-sport{display:flex;align-items:center;gap:12px;margin-top:24px}
.tt-home .tt-progress-sport svg{flex-shrink:0}
.tt-home .tt-progress .level-dashboard{padding:24px;min-width:0}
.tt-home .tt-progress-steps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;list-style:none;padding:0;margin:24px 0}
.tt-home .tt-progress-steps>li{padding-top:16px;border-top:1px solid var(--gui-line);min-width:0}
.tt-home .tt-progress-step-top{display:flex;align-items:center;justify-content:space-between;gap:16px;color:var(--gui-accent);margin-bottom:16px}
.tt-home .tt-progress-step-top>span{color:var(--gui-muted)}
.tt-home .tt-progress-steps h3{margin:0 0 8px}
.tt-home .tt-progress-steps p{margin:0;color:var(--gui-muted);line-height:1.5}
.tt-home .tt-progress-action{border-top:1px solid var(--gui-line);padding-top:24px}
@media(max-width:600px){.tt-home .tt-progress .level-dashboard{padding:16px}.tt-home .tt-progress-steps{grid-template-columns:minmax(0,1fr);gap:24px}.tt-home .tt-progress-action .public-button{width:100%;justify-content:space-between}}
/* Final CTA: primary signup and outlined secondary login. */
html[data-sport="TABLE_TENNIS"] body .tt-home .public-final .public-actions a[href="/login"]{background:transparent;color:var(--gui-text);border:1px solid var(--gui-line)}
html[data-sport="TABLE_TENNIS"] body .tt-home .public-final .public-actions a[href="/login"]:hover{background:var(--gui-control);color:var(--gui-accent);border-color:var(--gui-accent)}
html[data-sport="TABLE_TENNIS"] body .tt-home .public-final .public-actions a[href="/login"]:focus-visible{outline:2px solid var(--gui-accent);outline-offset:4px}
/* Preserve artwork proportions independently of the adjacent copy height. */
html[data-sport="TABLE_TENNIS"] body .tt-home .public-final .final-art{aspect-ratio:1;height:auto;align-self:center}
html[data-sport="TABLE_TENNIS"] body .tt-home .public-final .final-art img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain}

/* Club photos retain their proportions and reveal colour on interaction. */
.tt-home .tt-club-cover img{filter:grayscale(1);transition:filter .25s ease}
.tt-home .tt-club-preview:hover .tt-club-cover img,.tt-home .tt-club-preview:focus-within .tt-club-cover img{filter:grayscale(0)}
@media(prefers-reduced-motion:reduce){.tt-home .tt-club-cover img{transition:none}}
