/* Mobile presentation only. Desktop rules and service data are unchanged. */
.mobile-page-title, .club-description-mobile, .mobile-filter-toggle { display: none; }
@media (max-width: 760px) {
  html body .club-v1-page .club-v1-shell>.kok-page-hero,
  html body .tournament-page .tournament-shell>.kok-page-hero,
  html body .social-page .social-shell>.kok-page-hero { display: none !important; }
  html body { --mobile-ink: #202c3d; --mobile-muted: #667487; --mobile-line: #e9edf3; }
  html body .mobile-page-title { display: block; margin: 0 0 14px; padding: 0; font-size: 22px; font-weight: 800; line-height: 34px; letter-spacing: -.7px; color: var(--mobile-ink); }
  html body main:is(.tournament-page,.coach-page,.club-v1-page) { padding: 16px 16px 100px !important; background: #fff !important; min-height: 0; }
  html body :is(.tournament-shell,.coach-page>.social-shell,.club-v1-shell) { width: 100% !important; max-width: 100% !important; margin: 0 !important; padding: 0 !important; box-sizing: border-box; min-width: 0; }
  html[data-kok-native="1"] body main:is(.tournament-page,.coach-page,.club-v1-page) { padding-top: 92px !important; }
  html[data-kok-embedded="1"] body main:is(.tournament-page,.coach-page,.club-v1-page) { margin-top: 0 !important; padding: 12px 16px 24px !important; }
  html body :is(.tournament-page,.coach-page,.club-v1-page) :is(input,select,button,a):focus-visible { outline: 2px solid #3971ed; outline-offset: 2px; }

  /* Three short filter rows: sources, search, region/status. */
  html body .tournament-page .tournament-filter-card { padding: 0 !important; margin: 0 !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; background: transparent !important; overflow: visible; }
  html body .tournament-page .tournament-filter-card form { grid-template-columns: minmax(0,1fr) minmax(0,1fr) 58px !important; grid-template-areas: "sources sources sources" "query query submit" "region status status"; gap: 8px !important; align-items: center !important; }
  html body .tournament-page .tournament-filter-card form.mobile-filters-ready:not(.mobile-filters-expanded) { grid-template-areas: "query query submit" !important; }
  html body .tournament-page .tournament-filter-card form.mobile-filters-ready:not(.mobile-filters-expanded)>:is(.tournament-app-filter,label:not(.keyword)) { display: none !important; }
  html body .tournament-page .mobile-filter-toggle { display: inline-flex; align-items: center; gap: 7px; min-height: 36px; margin: 0 auto 0 0; padding: 0 10px; border: 1px solid #e7ecf3; border-radius: 9px; color: #52647c; background: #fff; font: inherit; font-size: 12px; cursor: pointer; box-shadow: none; }
  html body .tournament-page .mobile-filter-toggle::after { content: '⌄'; }
  html body .tournament-page .mobile-filter-toggle[aria-expanded="true"]::after { transform: rotate(180deg); }
  html body .tournament-page .tournament-filter-card form>.tournament-app-filter { grid-area: sources !important; gap: 6px; }
  html body .tournament-page .tournament-filter-card form>label { gap: 0 !important; }
  html body .tournament-page .tournament-filter-card form>label:has([name="region"]) { grid-area: region !important; }
  html body .tournament-page .tournament-filter-card form>label:has([name="status"]) { grid-area: status !important; }
  html body .tournament-page .tournament-filter-card form>label.keyword { grid-area: query !important; }
  html body .tournament-page .tournament-filter-card form>.tournament-filter-actions { grid-area: submit !important; width: 100% !important; height: 42px !important; min-height: 42px !important; }
  html body .tournament-page .tournament-filter-card form>label>span,
  html body .tournament-page .tournament-app-filter-title,
  html body .club-v1-page .club-join-search label>span { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip-path: inset(50%); white-space: nowrap; }
  html body .tournament-page .tournament-filter-card .tournament-app-filter label>span { height: 34px !important; min-height: 34px !important; border: 0; border-radius: 10px !important; background: #f3f5f8; font-size: 12px !important; font-weight: 650; color: #647084; }
  html body .tournament-page .tournament-app-filter input:checked+span { color: #245dcc; background: #eaf1ff; box-shadow: none; }
  html body .tournament-page .tournament-app-filter input:focus-visible+span { outline: 2px solid #3971ed; outline-offset: 2px; }
  html body .tournament-page .tournament-filter-card :is(select,input[type="search"]) { height: 38px !important; min-height: 38px !important; padding: 0 10px !important; border-radius: 10px !important; background: #f6f7fa !important; border: 1px solid #edf0f4 !important; font-size: 13px !important; }
  html body .tournament-page .tournament-filter-card input[type="search"] { height: 42px !important; font-size: 16px !important; }
  html body .tournament-page .tournament-filter-card .tournament-filter-actions button { width: 100% !important; min-width: 0 !important; height: 42px !important; min-height: 42px !important; border-radius: 11px !important; box-shadow: none; font-size: 13px !important; background: #3168dd !important; }
  html body .tournament-page .tournament-list-toolbar { min-height: 36px !important; margin: 8px 0 0 !important; padding: 0 !important; }
  html body .tournament-page .tournament-heading-open-toggle { min-height: 36px; gap: 6px; font-size: 12px !important; color: #647084; }
  html body .tournament-page .tournament-heading-open-toggle input { width: 16px; height: 16px; accent-color: #3168dd; }

  /* A poster and essential facts, with details on the destination page. */
  html body .tournament-page .tournament-list { display: grid !important; grid-template-columns: minmax(0,1fr) !important; gap: 0 !important; margin: 0 !important; }
  html body .tournament-page .tournament-list>.tournament-row { position: relative; display: grid !important; grid-template-columns: 76px minmax(0,1fr) !important; grid-template-rows: auto !important; align-items: start !important; align-content: start !important; gap: 12px !important; width: 100%; height: auto !important; min-height: 142px !important; padding: 15px 0 !important; margin: 0 !important; border: 0 !important; border-bottom: 1px solid var(--mobile-line) !important; border-radius: 0 !important; box-shadow: none !important; background: #fff !important; overflow: visible; transform: none !important; }
  html body .tournament-page .tournament-list .tournament-row>:is(.tournament-poster-thumb,.tournament-poster-placeholder) { grid-column: 1 !important; grid-row: 1 !important; width: 76px !important; height: 102px !important; min-height: 0 !important; align-self: start !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 12px !important; overflow: hidden; background: #f5f7fa !important; }
  html body .tournament-page .tournament-list .tournament-poster-thumb img { width: 100%; height: 100%; object-fit: contain; border-radius: 12px !important; }
  html body .tournament-page .tournament-list .tournament-row-main { display: block !important; grid-column: 2 !important; grid-row: 1 !important; height: auto !important; min-height: 0 !important; padding: 0 !important; overflow: visible !important; }
  html body .tournament-page .tournament-list .tournament-card-basic { display: flex !important; flex-direction: column; height: auto !important; min-height: 0 !important; padding: 0 !important; gap: 0 !important; overflow: visible !important; }
  html body .tournament-page .tournament-list .tournament-row-top { margin: 0 0 5px !important; padding: 0 94px 0 0 !important; min-height: 20px !important; height: auto !important; }
  html body .tournament-page .tournament-list .tournament-row-top>div { gap: 4px; flex-wrap: nowrap; }
  html body .tournament-page .tournament-list .tournament-row-top span { font-size: 10px !important; font-weight: 650; line-height: 18px !important; padding: 0 5px !important; min-height: 18px !important; border: 0 !important; border-radius: 5px !important; white-space: nowrap; }
  html body .tournament-page .tournament-list .tournament-row-top>.tournament-file-count { display: none !important; }
  html body .tournament-page .tournament-list .tournament-row-top .tournament-region { background: #f0f3f7 !important; color: #667487 !important; }
  html body .tournament-page .tournament-list .tournament-card-basic h3 { display: block !important; height: auto !important; min-height: 0 !important; max-height: 42px !important; margin: 0 0 5px !important; padding: 0 !important; font-size: 15px !important; font-weight: 750 !important; line-height: 21px !important; letter-spacing: -.45px; }
  html body .tournament-page .tournament-list .tournament-card-basic h3 a { display: -webkit-box !important; -webkit-box-orient: vertical; -webkit-line-clamp: 2; height: auto !important; max-height: 42px !important; line-height: 21px !important; white-space: normal; color: var(--mobile-ink) !important; word-break: keep-all; overflow-wrap: anywhere; }
  html body .tournament-page .tournament-list .tournament-row-meta-main { display: flex !important; flex-direction: column; gap: 2px !important; margin: 0 !important; padding: 0 !important; transform: none !important; height: auto !important; }
  html body .tournament-page .tournament-list .tournament-row-meta-main>span { display: block !important; min-width: 0; line-height: 18px !important; font-size: 12px !important; font-weight: 400; color: var(--mobile-muted) !important; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  html body .tournament-page .tournament-list .tournament-row-meta-main>span b { display: none !important; }
  html body .tournament-page .tournament-list .tournament-row-meta-main>span:nth-child(2),
  html body .tournament-page .tournament-list .tournament-row-meta-main>.tournament-organizer-row,
  html body .tournament-page .tournament-list .tournament-row-facts,
  html body .tournament-page .tournament-list .tournament-card-actions,
  html body .tournament-page .tournament-list .tournament-card-basic>p { display: none !important; }
  html body .tournament-page .tournament-list .tournament-card-status { position: absolute !important; top: 15px !important; right: 0 !important; display: flex; flex-direction: row; align-items: center; gap: 4px; width: auto !important; padding: 2px 6px !important; border-radius: 6px !important; background: #f1f3f6 !important; color: #687386 !important; }
  html body .tournament-page .tournament-list .tournament-card-status.open { background: #fff0f2 !important; color: #da4c69 !important; }
  html body .tournament-page .tournament-list .tournament-card-status.soon { background: #eaf1ff !important; color: #3267c9 !important; }
  html body .tournament-page .tournament-list .tournament-card-status strong { font-size: 11px !important; line-height: 18px !important; letter-spacing: 0 !important; }
  html body .tournament-page .tournament-list .tournament-card-status small { display: inline; font-size: 10px; line-height: 18px; }
  html body .tournament-page .tournament-more-wrap { margin: 20px 0; }
  html body .tournament-page .tournament-more-wrap button { width: 100%; min-height: 44px; padding: 10px; border: 1px solid #e0e7f1; border-radius: 12px; color: #3863ae; background: #f5f8fe; box-shadow: none; font-size: 14px; }

  /* Coach directory: face, name, area and up to two specialties. */
  html body .coach-page>.social-shell { position: relative; }
  html body .coach-page .coach-register-mobile { position: absolute !important; top: 0 !important; right: 0 !important; left: auto !important; bottom: auto !important; min-height: 34px; padding: 0 10px; gap: 4px; font-size: 12px; box-shadow: none; border-radius: 10px; background: #edf3ff; color: #3563bd; z-index: 1; }
  html body .coach-page .coach-register-mobile svg { width: 15px; height: 15px; }
  html body .coach-page .coach-list-toolbar { display: block; padding: 0; margin: 0 0 6px !important; background: none; border: 0; box-shadow: none; }
  html body .coach-page .social-filter-bar { display: grid !important; grid-template-columns: minmax(0,1fr) 85px 48px !important; gap: 6px !important; padding: 0 !important; width: 100%; background: none !important; border: 0 !important; box-shadow: none !important; }
  html body .coach-page .social-filter-bar input { width: 100% !important; min-width: 0 !important; height: 42px !important; padding: 0 10px !important; border: 1px solid #edf0f4 !important; background: #f6f7fa !important; border-radius: 10px !important; font-size: 13px !important; }
  html body .coach-page .social-filter-bar>* { grid-area: auto !important; }
  html body .coach-page .social-filter-bar input[type="search"] { font-size: 16px !important; }
  html body .coach-page .social-filter-bar button { min-width: 0; height: 42px; min-height: 42px; padding: 0 !important; font-size: 12px; border-radius: 10px !important; background: #3168dd; box-shadow: none; }
  html body .coach-page .coach-card-grid { display: grid !important; grid-template-columns: minmax(0,1fr) !important; gap: 0 !important; }
  html body .coach-page .coach-card { display: grid !important; grid-template-columns: 78px minmax(0,1fr) !important; gap: 13px !important; align-items: start; min-height: 139px; height: auto; padding: 16px 0 !important; border: 0 !important; border-bottom: 1px solid var(--mobile-line) !important; border-radius: 0 !important; box-shadow: none !important; background: #fff; transform: none !important; }
  html body .coach-page .coach-card>img { width: 78px !important; height: 100px !important; min-height: 0 !important; border-radius: 13px !important; object-fit: cover !important; object-position: center top !important; background: #f3f6fa; }
  html body .coach-page .coach-card>div { position: relative; min-width: 0; padding: 0 !important; }
  html body .coach-page .coach-card h2 { margin: 0 65px 4px 0 !important; font-size: 17px !important; line-height: 24px; font-weight: 750; letter-spacing: -.4px; color: var(--mobile-ink); }
  html body .coach-page .coach-card .verified-chip { position: absolute; top: 2px; right: 0; font-size: 10px; line-height: 18px; padding: 0 5px; background: #edf7f3; color: #43846e; border-radius: 5px; }
  html body .coach-page .coach-card p { min-height: 0 !important; height: auto !important; margin: 0 0 3px !important; font-size: 13px !important; line-height: 20px; color: #536173; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  html body .coach-page .coach-card small { display: block; font-size: 12px; line-height: 19px; color: #667487; }
  html body .coach-page .coach-tags { display: flex; flex-wrap: nowrap; gap: 4px; margin: 7px 0 0 !important; overflow: hidden; }
  html body .coach-page .coach-tags em { flex: 0 1 auto; min-width: 0; font-size: 10px; font-weight: 500; line-height: 20px; padding: 0 6px; border: 0; border-radius: 5px !important; background: #f1f4f8; color: #5e7188; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  html body .coach-page .coach-tags em:nth-child(n+3), html body .coach-page .coach-card footer { display: none; }
  html body .coach-page .coach-more-wrap { margin: 20px 0; }

  /* Club pages own one outer gutter; nested cards never add another shell. */
  html body .club-v1-page .club-hub-grid { display: grid !important; grid-template-columns: minmax(0,1fr) !important; gap: 10px !important; margin: 0 !important; }
  html body .club-v1-page .club-hub-grid .club-hub-card { display: flex !important; align-items: center; justify-content: space-between; gap: 12px; height: auto !important; min-height: 102px !important; padding: 16px !important; border: 1px solid #e9edf3 !important; border-radius: 16px !important; background: #f7f9fc !important; box-shadow: none !important; }
  html body .club-v1-page .club-hub-card::before, html body .club-v1-page .club-hub-card::after { display: none !important; }
  html body .club-v1-page .club-hub-card-copy { flex: 1; min-width: 0; width: auto !important; padding: 0 !important; }
  html body .club-v1-page .club-hub-card-copy :is(span,b) { display: none !important; }
  html body .club-v1-page .club-hub-card-copy h2 { margin: 0 0 5px !important; font-size: 17px !important; line-height: 24px !important; }
  html body .club-v1-page .club-hub-card-copy p { margin: 0 !important; font-size: 12px !important; line-height: 19px !important; color: #637387 !important; }
  html body .club-v1-page .club-hub-card>img { position: static !important; width: 64px !important; height: 64px !important; flex: 0 0 64px; object-fit: contain !important; transform: none !important; margin: 0 !important; }
  html body .club-v1-page .club-inside-tabs { display: flex !important; overflow-x: auto; flex-wrap: nowrap; gap: 4px; margin: 0 0 14px !important; padding: 4px !important; border: 0 !important; border-radius: 12px !important; background: #f3f5f8; box-shadow: none; }
  html body .club-v1-page .club-inside-tabs a { flex: 1 0 auto; display: flex; align-items: center; justify-content: center; min-height: 36px; padding: 0 10px !important; margin: 0 !important; font-size: 12px; border: 0; border-radius: 9px !important; white-space: nowrap; box-shadow: none; }
  html body .club-v1-page .club-inside-tabs a.active { background: #fff; color: #3168dd; box-shadow: 0 1px 4px #1839580d; }
  html body .club-v1-page :is(.club-content-card,.club-form-card,.club-stat-card) { min-width: 0; padding: 16px !important; border: 1px solid #e9edf3 !important; border-radius: 16px !important; box-shadow: none !important; }
  html body .club-v1-page .club-home-grid { grid-template-columns: minmax(0,1fr) !important; gap: 12px; }
  html body .club-v1-page .club-content-card>header { margin-bottom: 12px !important; gap: 8px; }
  html body .club-v1-page :is(.club-content-card>header,.club-home-stats-head,.club-stat-card>header)>div>span { display: none; }
  html body .club-v1-page :is(.club-content-card,.club-home-stats-head) h3 { margin: 0 !important; font-size: 17px !important; line-height: 25px; }
  html body .club-v1-page .club-home-grid>.club-content-card:first-child>header { flex-direction: row !important; align-items: center !important; flex-wrap: wrap; }
  html body .club-v1-page .club-home-switch-actions { width: auto !important; max-width: 100%; margin-left: auto; }
  html body .club-v1-page .club-home-switch { width: auto !important; max-width: 100%; margin: 0; }
  html body .club-v1-page .club-home-switch>span { display: none; }
  html body .club-v1-page .club-home-switch select { min-height: 36px !important; height: 36px !important; max-width: 180px; font-size: 13px !important; padding: 0 26px 0 10px; border-radius: 9px; }
  html body .club-v1-page .club-description { margin: 0 0 12px !important; padding: 0 !important; font-size: 13px; line-height: 1.65; min-height: 0 !important; background: none; border: 0; overflow-wrap: anywhere; }
  html body .club-v1-page .club-description-desktop { display: none; }
  html body .club-v1-page .club-description-mobile { display: block; margin: 0 0 12px; font-size: 13px; color: #647084; line-height: 1.6; }
  html body .club-v1-page .club-description-mobile summary { cursor: pointer; list-style: none; min-height: 44px; }
  html body .club-v1-page .club-description-mobile summary::-webkit-details-marker { display: none; }
  html body .club-v1-page .club-description-preview { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  html body .club-v1-page :is(.club-description-expand,.club-description-collapse) { display: block; padding: 7px 0; color: #3563bd; font-weight: 650; font-size: 12px; }
  html body .club-v1-page .club-description-collapse,
  html body .club-v1-page .club-description-mobile[open] :is(.club-description-preview,.club-description-expand) { display: none; }
  html body .club-v1-page .club-description-mobile[open] .club-description-collapse { display: block; }
  html body .club-v1-page .club-v1-shell .club-info-list { display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr)) !important; margin-top: 12px !important; padding: 0 !important; gap: 8px !important; }
  html body .club-v1-page .club-v1-shell .club-info-list>div { display: flex !important; flex-direction: column !important; align-items: flex-start !important; min-width: 0; padding: 12px !important; margin: 0 !important; font-size: 12px; gap: 5px !important; border: 0 !important; border-radius: 12px !important; background: #f6f8fb; box-sizing: border-box; }
  html body .club-v1-page .club-v1-shell .club-info-list>div>span { display: block; margin: 0 !important; padding: 0 !important; font-size: 12px !important; line-height: 18px !important; color: #758194; }
  html body .club-v1-page .club-v1-shell .club-info-list b { display: block; margin: 0 !important; padding: 0 !important; font-size: 13px !important; line-height: 20px !important; overflow-wrap: anywhere; }
  html body .club-v1-page .club-home-stats-section { margin: 22px 0 !important; }
  html body .club-v1-page .club-home-stats-head { margin-bottom: 12px; gap: 8px; }
  html body .club-v1-page .club-home-stats-head p { display: none; }
  html body .club-v1-page .club-home-stats-grid { grid-template-columns: minmax(0,1fr); gap: 10px; }
  html body .club-v1-page .club-stat-card h4 { font-size: 14px; margin: 0; }
  html body .club-v1-page .club-stat-empty { min-height: 0; padding: 20px 6px; font-size: 12px; }
  html body .club-v1-page :is(.club-affiliated-section,.club-members-mobile-only) { margin-top: 14px; }
  html body .club-v1-page .club-join-search { display: grid !important; grid-template-columns: minmax(0,1fr) minmax(0,1fr) auto !important; grid-template-areas: "query query submit" "city district district"; gap: 8px !important; margin: 0 0 12px !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; background: none !important; }
  html body .club-v1-page .club-join-search>label:first-of-type { grid-area: city; }
  html body .club-v1-page .club-join-search>label:nth-of-type(2) { grid-area: district; }
  html body .club-v1-page .club-join-search-keyword { grid-area: query !important; }
  html body .club-v1-page .club-join-search-actions { grid-area: submit !important; gap: 4px; }
  html body .club-v1-page .club-join-search :is(input,select) { width: 100%; height: 40px !important; min-height: 40px !important; min-width: 0; padding: 0 10px; font-size: 13px !important; border: 1px solid #edf0f4; border-radius: 10px !important; background: #f6f7fa; }
  html body .club-v1-page .club-join-search input[type="search"] { font-size: 16px !important; }
  html body .club-v1-page .club-join-search-actions .club-btn { min-height: 40px !important; height: 40px !important; padding: 0 10px; font-size: 12px !important; box-shadow: none; border-radius: 10px !important; }
  html body .club-v1-page .club-directory-v1 { display: grid; grid-template-columns: minmax(0,1fr); gap: 0; }
  html body .club-v1-page .club-directory-card { display: grid !important; grid-template-columns: 72px minmax(0,1fr) !important; gap: 12px; padding: 16px 0; border: 0 !important; border-bottom: 1px solid var(--mobile-line) !important; border-radius: 0 !important; background: #fff; box-shadow: none !important; }
  html body .club-v1-page .club-directory-card .club-cover { width: 72px !important; height: 80px !important; min-height: 0 !important; border-radius: 12px !important; overflow: hidden; }
  html body .club-v1-page .club-directory-card .club-cover img { height: 80px !important; width: 72px !important; object-fit: cover; }
  html body .club-v1-page .club-directory-card .club-cover>span { display: none; }
  html body .club-v1-page .club-directory-body { min-width: 0; padding: 0 !important; }
  html body .club-v1-page .club-directory-title { display: block; }
  html body .club-v1-page .club-directory-title h3 { margin: 0 0 4px; font-size: 16px !important; line-height: 23px; }
  html body .club-v1-page .club-directory-title p { display: none; }
  html body .club-v1-page .club-directory-title em { display: block; margin: 0 0 4px; padding: 0; font-size: 11px !important; line-height: 18px; color: #6a7688; background: none; border: 0; }
  html body .club-v1-page .club-meta-row { display: flex; flex-direction: column; gap: 3px; margin: 0; padding: 0; }
  html body .club-v1-page .club-meta-row span { padding: 0; background: none; font-size: 12px; line-height: 18px; color: #667487; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  html body .club-v1-page .club-meta-row span:nth-child(3) { display: none; }
  html body .club-v1-page .club-directory-actions { display: flex !important; flex-wrap: wrap; gap: 6px !important; margin: 9px 0 0; }
  html body .club-v1-page .club-directory-actions .club-btn { width: auto !important; min-height: 36px !important; padding: 0 9px !important; font-size: 11px !important; border-radius: 9px !important; box-shadow: none; }
}
