/* Site member homepage visual refresh: image-led hero cards in our green/gold palette. */
.home-highlights { gap: 16px; padding-top: 22px; padding-bottom: 20px; }
.home-highlight-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 350px;
  gap: 13px;
  border: 1px solid #d9e2dc;
  border-top-width: 4px;
  border-radius: 24px;
  padding: 19px;
  background-color: #fffefa;
  box-shadow: 0 12px 28px rgba(22, 55, 43, .09);
}
.home-results-panel {
  background-image: linear-gradient(105deg, rgba(12, 66, 49, .95), rgba(13, 73, 54, .84) 62%, rgba(15, 75, 56, .62)), url("assets/home-debate-stage.jpg");
  background-position: center 38%;
  background-size: cover;
}
.home-upcoming-panel {
  border-top-color: #d9b840;
  background-image: linear-gradient(105deg, rgba(87, 70, 18, .94), rgba(119, 96, 25, .84) 62%, rgba(135, 105, 24, .60)), url("assets/home-debate-preparation.jpg");
  background-position: center 52%;
  background-size: cover;
}
.home-panel-heading { min-height: 65px; align-items: center; }
.home-panel-heading .kicker { color: #f1d979; }
.home-panel-heading h1, .home-panel-heading h2 { color: #fff; font-size: clamp(21px, 2.2vw, 27px); }
.home-panel-heading p:last-child { color: rgba(255,255,255,.82); }
.home-panel-heading .text-link { min-height: 40px; border: 1px solid rgba(255,255,255,.42); border-radius: 999px; padding: 0 13px; background: rgba(255,255,255,.12); color: #fff; }
.home-calendar-spark { width: 42px; height: 42px; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.14); color: #ffe58a; }
.home-result-list, .home-upcoming-list { flex: 1; grid-template-columns: minmax(0, 1fr); align-content: start; gap: 0; }
.home-result-card {
  min-height: 51px;
  grid-template-columns: 62px minmax(0, 1fr);
  grid-template-rows: auto auto;
  align-items: center;
  column-gap: 10px;
  row-gap: 3px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .26);
  border-radius: 0;
  padding: 7px 2px;
  background: transparent;
  color: #fff;
}
.home-result-card:last-child { border-bottom: 0; }
.home-result-card:hover, .home-result-card:focus-visible { background: rgba(255, 255, 255, .1); }
.home-result-card:focus-visible { outline: 2px solid #ffe58a; outline-offset: 1px; }
.home-result-date { grid-column: 1; grid-row: 1 / span 2; align-self: center; border-right: 1px solid rgba(255, 255, 255, .28); padding-right: 8px; color: #f6df8b; font-size: 11px; }
.home-result-name { grid-column: 2; grid-row: 1; min-height: 0; color: #fff; font-size: 14px; line-height: 1.25; }
.home-result-champion { grid-column: 2; grid-row: 2; color: rgba(255,255,255,.88); font-size: 11px; }
.home-result-champion b { color: #f6df8b; }
.home-upcoming-list .mobile-upcoming-card {
  min-height: 44px;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3px 9px;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, .26);
  border-radius: 0;
  padding: 7px 2px;
  background: transparent;
  box-shadow: none;
  color: #fff;
}
.home-upcoming-panel .home-upcoming-list .mobile-upcoming-card,
.home-upcoming-panel .home-upcoming-list .mobile-upcoming-card:nth-child(even),
.home-upcoming-panel .home-upcoming-list .mobile-upcoming-card--activity,
.home-upcoming-panel .home-upcoming-list .mobile-upcoming-card--activity:nth-child(even) { border-color: rgba(255, 255, 255, .26); background: transparent; color: #fff; }
.home-upcoming-panel .home-upcoming-list .mobile-upcoming-card:last-child { border-bottom: 0; }
.home-upcoming-panel .home-upcoming-list .mobile-upcoming-card:nth-child(n):hover,
.home-upcoming-panel .home-upcoming-list .mobile-upcoming-card:nth-child(n):focus-visible { background: rgba(255, 255, 255, .1); }
.home-upcoming-panel .home-upcoming-list .mobile-upcoming-card:focus-visible { outline: 2px solid #ffe58a; outline-offset: 1px; }
.home-upcoming-list .mobile-upcoming-card h3 { min-height: 0; color: #fff; font-size: 14px; line-height: 1.25; }
.home-upcoming-panel .home-upcoming-list .mobile-upcoming-date,
.home-upcoming-panel .home-upcoming-list .mobile-upcoming-card--activity .mobile-upcoming-date { color: #f6df8b; font-size: 11px; }
.home-upcoming-list .mobile-upcoming-location { color: rgba(255,255,255,.82); font-size: 10px; }
.home-upcoming-panel .home-upcoming-list .mobile-upcoming-card--activity .mobile-upcoming-location b { color: #f6df8b; }
.home-panel-footer { color: #e4eee7; border-top-color: rgba(255,255,255,.28); }
.home-panel-arrow { color: #f4dc7e; }

.home-calendar-quickbar {
  width: min(1142px, calc(100% - 78px));
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 15px;
  margin-bottom: 18px;
  border: 1px solid #d9d4ae;
  border-radius: 22px;
  padding: 17px 21px;
  background: linear-gradient(105deg, #176b52 0%, #1d644d 70%, #d8b83d 70%, #e5c64f 100%);
  box-shadow: 0 8px 24px rgba(31, 61, 44, .09);
  color: #fff;
}
.home-calendar-quickbar-icon { display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid rgba(255,255,255,.38); border-radius: 15px; background: rgba(255,255,255,.1); color: #fff3b7; }
.home-calendar-quickbar-icon svg { width: 29px; height: 29px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.home-calendar-quickbar-copy { min-width: 0; }
.home-calendar-quickbar-copy .kicker { margin: 0 0 3px; color: #f3dc80; font-size: 10px; font-weight: 850; letter-spacing: .1em; }
.home-calendar-quickbar-copy h2 { margin: 0; color: #fff; font-size: 20px; }
.home-calendar-quickbar-copy p:last-child { margin: 4px 0 0; color: rgba(255,255,255,.82); font-size: 12px; }
.home-calendar-quickbar-actions { display: grid; justify-items: end; gap: 7px; }
.home-calendar-action { display: grid; justify-items: end; gap: 2px; }
.home-calendar-public-link, .home-calendar-member-link { display: inline-flex; min-height: 38px; align-items: center; justify-content: center; gap: 8px; border-radius: 999px; padding: 0 15px; text-decoration: none; font-size: 12px; font-weight: 850; white-space: nowrap; }
.home-calendar-public-link { background: #fffefa; color: #145d47; }
.home-calendar-member-link { border: 1px solid rgba(255,255,255,.55); background: rgba(255,255,255,.1); color: #fff; }
.home-calendar-action small { max-width: 255px; border-radius: 7px; padding: 4px 8px; background: rgba(255,255,255,.94); color: #0f4e3c; font-size: 11px; font-weight: 800; line-height: 1.3; text-align: center; }

.home-actions-band { border-block: 0; padding: 0 0 18px; background: transparent; }
.home-actions-grid { gap: 14px; }
.home-action-card { min-height: 142px; grid-template-columns: 46px minmax(0, 1fr); align-content: start; gap: 10px 13px; border-radius: 20px; padding: 17px 19px; box-shadow: 0 7px 22px rgba(23, 55, 42, .06); }
.home-action-card[href] { color: inherit; text-decoration: none; cursor: pointer; transition: transform .16s ease, box-shadow .16s ease; }
.home-action-card[href]:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(23, 55, 42, .12); }
.home-action-card[href]:focus-visible { outline: 3px solid var(--green); outline-offset: 3px; }
.home-action-card[href] { grid-template-columns: 46px minmax(0, 1fr) 24px; align-items: center; }
.home-action-card[href] > div { grid-column: 2; grid-row: 1; }
.home-action-card[href] > .home-action-icon { grid-column: 1; grid-row: 1; }
.home-action-card[href] > .home-action-arrow { grid-column: 3; grid-row: 1; justify-self: end; color: var(--green); font-size: 22px; }
.home-community-card .home-action-arrow { color: #8e6810; }
.home-member-card { border-color: #d0e0d6; background: linear-gradient(125deg, #edf6ef, #f8fbf7); }
.home-community-card { border-color: #ebd99b; background: linear-gradient(125deg, #fff7df, #fffaf0); }
.home-action-icon { width: 42px; height: 42px; border-radius: 14px; background: #dcece2; color: #176b52; font-size: 22px; }
.home-member-avatar { overflow: hidden; border-radius: 50%; }
.home-member-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; }
.home-community-card .home-action-icon { background: #f5e4ae; color: #8e6810; }
.home-tools-icon svg { display: block; width: 100%; height: 100%; padding: 3px; }
.home-action-card .kicker { margin-bottom: 3px; }
.home-action-card h2 { font-size: 18px; }
.home-action-card p:not(.kicker) { margin-top: 5px; font-size: 12px; }
.home-action-link, .home-community-actions { margin-top: 2px; }
.home-community-actions { display: none !important; }
.home-calendar-section { padding-top: 16px; }
.home-calendar-heading { margin-bottom: 12px; }
.home-calendar-card { border-radius: 22px; }
#homeView > .leaderboard-band { border-top: 1px solid #e1e7e2; background: #eef4ef; }
#homeView > .leaderboard-band .olympic-panel { border: 1px solid #d7e1d9; border-top: 4px solid #d2b238; border-radius: 20px; background: #fffefa; box-shadow: 0 8px 25px rgba(22,55,43,.07); }

@media (max-width: 760px) {
  .home-highlights { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; padding: 14px 12px 12px; }
  .home-highlight-panel { min-height: 345px; gap: 9px; border-radius: 18px; padding: 11px; }
  .home-panel-heading { min-height: 75px; align-items: flex-start; }
  .home-panel-heading h1, .home-panel-heading h2 { font-size: 18px; }
  .home-panel-heading p:last-child { font-size: 10px; line-height: 1.35; }
  .home-panel-heading .text-link { min-height: 32px; padding-inline: 8px; font-size: 10px; }
  .home-calendar-spark { width: 32px; height: 32px; }
  .home-result-list, .home-upcoming-list { gap: 0; }
  .home-result-card { min-height: 49px; grid-template-columns: 1fr; grid-template-rows: auto auto auto; gap: 2px; padding: 6px 2px; }
  .home-result-date { grid-column: 1; grid-row: 1; border: 0; padding: 0; font-size: 10px; }
  .home-result-name { grid-column: 1; grid-row: 2; font-size: 12px; }
  .home-result-champion { grid-column: 1; grid-row: 3; font-size: 10.5px; }
  .home-upcoming-list .mobile-upcoming-card { min-height: 46px; grid-template-columns: minmax(0,1fr); gap: 2px; padding: 6px 2px; }
  .home-upcoming-list .mobile-upcoming-date { font-size: 10px; }
  .home-upcoming-list .mobile-upcoming-card h3 { grid-column: 1; grid-row: auto; font-size: 12px; }
  .home-upcoming-list .mobile-upcoming-location { display: none; }
  .home-upcoming-list .mobile-upcoming-kind { font-size: 9px; }
  .home-panel-footer { padding-top: 6px; font-size: 9px; }
  .home-calendar-quickbar { width: calc(100% - 48px); grid-template-columns: 40px minmax(0,1fr); gap: 9px; margin: 0 auto 12px; border-radius: 16px; padding: 12px; background: linear-gradient(110deg, #176b52 0%, #1d644d 56%, #d8b83d 56%, #e5c64f 100%); }
  .home-calendar-quickbar-icon { width: 38px; height: 38px; border-radius: 12px; }
  .home-calendar-quickbar-icon svg { width: 24px; height: 24px; }
  .home-calendar-quickbar-copy .kicker { font-size: 8px; }
  .home-calendar-quickbar-copy h2 { font-size: 15px; }
  .home-calendar-quickbar-copy p:last-child { font-size: 10px; line-height: 1.35; }
  .home-calendar-quickbar-actions { grid-column: 1 / -1; grid-template-columns: repeat(2, minmax(0,1fr)); justify-items: stretch; gap: 8px; }
  .home-calendar-public-link, .home-calendar-member-link { min-height: 34px; padding-inline: 9px; font-size: 10px; }
  .home-calendar-action { min-width: 0; justify-items: stretch; gap: 2px; text-align: center; }
  .home-calendar-public-link, .home-calendar-member-link { width: 100%; gap: 4px; padding-inline: 5px; }
  .home-calendar-member-link { border-color: #fff5cf; background: #fff5cf; color: #4b3b0b; }
  .home-calendar-action small { max-width: none; padding: 4px 3px; font-size: 10px; line-height: 1.25; }
  .home-actions-band { padding: 0 12px 14px; }
  .home-actions-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; padding: 0; }
  .home-action-card { min-height: 160px; grid-template-columns: 1fr; gap: 7px; border-radius: 16px; padding: 11px; }
  .home-action-icon { width: 34px; height: 34px; border-radius: 11px; font-size: 17px; }
  .home-action-card h2 { font-size: 14px; }
  .home-action-card p:not(.kicker) { font-size: 10px; line-height: 1.4; }
  .home-action-link, .home-community-actions { grid-column: 1; }
  .home-action-card[href] { grid-template-columns: 1fr auto; }
  .home-action-card[href] > div { grid-column: 1 / -1; grid-row: 2; }
  .home-action-card[href] > .home-action-icon { grid-column: 1; grid-row: 1; }
  .home-action-card[href] > .home-action-arrow { grid-column: 2; grid-row: 1; align-self: center; color: var(--green); font-size: 22px; }
  .home-community-card .home-action-arrow { color: #8e6810 !important; }
  .home-member-avatar { width: 38px; height: 38px; }
  .home-calendar-section { padding: 16px 12px 26px; }
}
@media (max-width: 360px) {
  .home-highlights { gap: 6px; padding-inline: 7px; }
  .home-highlight-panel { padding: 8px; }
  .home-panel-heading { min-height: 82px; }
  .home-panel-heading h1, .home-panel-heading h2 { font-size: 16px; }
  .home-panel-heading .text-link { white-space: normal; }
  .home-result-card { padding-inline: 6px; }
  .home-result-name, .home-upcoming-list .mobile-upcoming-card h3 { font-size: 11px; }
  .home-result-champion { font-size: 9px; }
  .home-calendar-quickbar { width: calc(100% - 38px); grid-template-columns: 32px minmax(0,1fr); gap: 6px; margin-inline: auto; padding: 9px; }
  .home-calendar-quickbar-icon { width: 30px; height: 30px; }
  .home-calendar-quickbar-copy h2 { font-size: 13px; }
  .home-calendar-quickbar-copy p:last-child { font-size: 9px; }
  .home-calendar-public-link, .home-calendar-member-link { min-height: 31px; padding-inline: 6px; font-size: 9px; }
  .home-calendar-action small { font-size: 10px; line-height: 1.2; }
  .home-actions-band { padding-inline: 7px; }
  .home-action-card { padding: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-result-card, .home-upcoming-list .mobile-upcoming-card { transition: none; }
}

/* Calendar entries share the card boundaries and remain readable on phones. */
@media (max-width: 760px) {
  .home-calendar-quickbar.page-shell { width: calc(100% - 48px); }
  .home-calendar-quickbar-copy .kicker { font-size: 12px; }
  .home-calendar-quickbar-copy h2 { font-size: 18px; }
  .home-calendar-quickbar-copy p:last-child { font-size: 14px; line-height: 1.5; }
  .home-calendar-quickbar-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .home-calendar-public-link, .home-calendar-member-link { min-height: 38px; padding-inline: 6px; font-size: 11px; }
  .home-calendar-action small { font-size: 11px; line-height: 1.25; background: none; border: 0; box-shadow: none; color: #fff; }
}
@media (max-width: 360px) { .home-calendar-quickbar.page-shell { width: calc(100% - 38px); } }

/* Two compact, single-action entry cards. The rows are previews, not controls. */
.home-highlight-panel {
  height: 230px;
  min-height: 0;
  gap: 8px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: transform .16s ease, box-shadow .16s ease;
}
.home-highlight-panel:hover { transform: translateY(-2px); box-shadow: 0 16px 30px rgba(22, 55, 43, .2); }
.home-highlight-panel:focus-visible { outline: 3px solid #e4bd44; outline-offset: 3px; }
.home-highlight-panel .home-panel-heading { display: block; min-height: 0; }
.home-highlight-panel .home-panel-heading .kicker { display: block; margin-bottom: 4px; color: #f6df8b; }
.home-highlight-panel .home-panel-heading h1,
.home-highlight-panel .home-panel-heading h2 { font-size: clamp(20px, 2vw, 25px); }
.home-highlight-panel .home-result-list,
.home-highlight-panel .home-upcoming-list {
  display: grid;
  flex: 1;
  min-height: 0;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 0;
}
.home-highlight-panel .home-result-card,
.home-highlight-panel .home-upcoming-list .mobile-upcoming-card,
.home-highlight-panel .home-upcoming-list .mobile-upcoming-card:nth-child(even) {
  display: flex;
  min-height: 0;
  flex-direction: column;
  justify-content: center;
  gap: 2px;
  border: 0;
  border-bottom: 1px solid rgba(255,255,255,.25);
  border-radius: 0;
  padding: 4px 0;
  background: transparent;
  box-shadow: none;
  color: #fff;
  cursor: inherit;
  transform: none;
}
.home-highlight-panel .home-result-card:last-child,
.home-highlight-panel .home-upcoming-list .mobile-upcoming-card:last-child { border-bottom: 0; }
.home-highlight-panel .home-result-card:hover,
.home-highlight-panel .home-upcoming-list .mobile-upcoming-card:hover { background: transparent; box-shadow: none; transform: none; }
.home-highlight-panel .home-result-date,
.home-highlight-panel .home-upcoming-list .mobile-upcoming-date { color: #f6df8b; font-size: 11px; }
.home-highlight-panel .home-result-name,
.home-highlight-panel .home-upcoming-list .mobile-upcoming-card strong { min-height: 0; color: #fff; font-size: 14px; line-height: 1.2; }
.home-highlight-panel .home-panel-footer { flex: 0 0 auto; border-color: rgba(255,255,255,.36); padding-top: 7px; color: #fff; font-weight: 750; }
#overviewCalendar, #eventFinderTitle { scroll-margin-top: 86px; }
#homeCalendarTitle { scroll-margin-top: 86px; }

@media (max-width: 760px) {
  .overview-tabs { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .home-highlight-panel { height: 225px; padding: 11px; }
  .home-highlight-panel .home-panel-heading .kicker { font-size: 8px; }
  .home-highlight-panel .home-panel-heading h1,
  .home-highlight-panel .home-panel-heading h2 { font-size: 16px; line-height: 1.15; }
  .home-highlight-panel .home-result-date,
  .home-highlight-panel .home-upcoming-list .mobile-upcoming-date { font-size: 9px; }
  .home-highlight-panel .home-result-name,
  .home-highlight-panel .home-upcoming-list .mobile-upcoming-card strong { font-size: 11px; }
  .home-highlight-panel .home-panel-footer { font-size: 9px; }
}
@media (max-width: 360px) {
  .overview-tab { font-size: 10px; }
  .home-highlight-panel { height: 220px; padding: 9px; }
  .home-highlight-panel .home-panel-heading h1,
  .home-highlight-panel .home-panel-heading h2 { font-size: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-highlight-panel { transition: none; }
}

/* Two swipeable previews. Only the heading opens the destination. */
.home-highlight-panel { cursor: default; }
.home-panel-title-link { display: inline-flex; align-items: center; gap: 5px; min-height: 36px; color: #fff; text-decoration: none; }
.home-panel-title-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.home-panel-title-link:focus-visible { outline: 2px solid #f6df8b; outline-offset: 3px; border-radius: 3px; }
.home-panel-title-link span { font-size: .65em; }
.home-highlight-panel .home-preview-track {
  display: flex;
  min-width: 0;
  min-height: 0;
  gap: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.home-preview-track::-webkit-scrollbar { display: none; }
.home-preview-track:focus-visible { outline: 2px solid #f6df8b; outline-offset: -2px; }
.home-preview-page { display: grid; flex: 0 0 100%; min-width: 0; min-height: 0; scroll-snap-align: start; }
.home-results-page { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); }
.home-upcoming-page { grid-template-columns: minmax(0, 1fr); grid-template-rows: repeat(2, minmax(0, 1fr)); }
.home-highlight-panel .home-results-page .home-result-card,
.home-highlight-panel .home-upcoming-page .mobile-upcoming-card { min-width: 0; min-height: 0; padding: 4px 3px; overflow: hidden; }
.home-highlight-panel .home-results-page .home-result-card { display: flex; border-bottom: 0; gap: 1px; }
.home-results-page .home-result-card:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.24); }
.home-results-page .home-result-card:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.24); }
.home-highlight-panel .home-result-date,
.home-highlight-panel .home-result-name,
.home-highlight-panel .home-result-champion,
.home-highlight-panel .home-upcoming-list .mobile-upcoming-date,
.home-highlight-panel .home-upcoming-list .mobile-upcoming-card strong,
.home-highlight-panel .home-upcoming-list .mobile-upcoming-location { display: block; width: 100%; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-highlight-panel .home-result-champion { color: #f6df8b; font-size: 11px; font-weight: 800; line-height: 1.2; }
.home-highlight-panel .home-result-champion { white-space: normal; overflow-wrap: anywhere; overflow: visible; text-overflow: clip; }
.home-highlight-panel .home-result-date { border: 0; padding: 0; }
.home-highlight-panel .home-upcoming-list .mobile-upcoming-location { color: rgba(255,255,255,.9); font-size: 10px; line-height: 1.2; }
.home-highlight-panel .home-panel-pager { display: flex; align-items: center; justify-content: space-between; gap: 6px; min-height: 29px; padding-top: 2px; }
.home-panel-pager button { display: grid; flex: 0 0 28px; width: 28px; height: 26px; place-items: center; border: 1px solid rgba(255,255,255,.4); border-radius: 7px; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; font: inherit; font-size: 20px; line-height: 1; }
.home-panel-pager button:disabled { opacity: .32; cursor: default; }
.home-panel-pager button:focus-visible { outline: 2px solid #f6df8b; outline-offset: 2px; }
.home-panel-pager [data-home-page-status] { color: #fff; font-size: 10px; font-variant-numeric: tabular-nums; }

@media (max-width: 760px) {
  .home-highlight-panel { height: 250px; }
  .home-highlight-panel .home-result-date,
  .home-highlight-panel .home-upcoming-list .mobile-upcoming-date { font-size: 11px; }
  .home-highlight-panel .home-result-name,
  .home-highlight-panel .home-upcoming-list .mobile-upcoming-card strong { font-size: 12px; }
  .home-highlight-panel .home-result-champion,
  .home-highlight-panel .home-upcoming-list .mobile-upcoming-location { font-size: 11px; }
  .home-highlight-panel .home-result-name,
  .home-highlight-panel .home-upcoming-list .mobile-upcoming-card strong,
  .home-highlight-panel .home-upcoming-list .mobile-upcoming-location {
    display: -webkit-box;
    overflow: hidden;
    text-overflow: clip;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
}
@media (max-width: 360px) {
  .home-highlight-panel { height: 240px; padding: 6px; }
  .home-highlight-panel .home-panel-heading h1,
  .home-highlight-panel .home-panel-heading h2 { font-size: 12px; }
}

@media (max-width: 760px) {
  .mobile-member-button.is-logged-in { position: relative; width: auto; max-width: min(44vw, 170px); flex: 0 1 auto; justify-content: flex-start; gap: 6px; overflow: visible; border-radius: 999px; padding: 2px 9px 2px 2px; }
  .mobile-member-button [data-member-avatar] { position: relative; display: flex; width: 40px; height: 40px; flex: 0 0 40px; align-items: center; justify-content: center; border-radius: 50%; font-size: 23px; }
  .mobile-member-button [data-member-avatar] img { display: block; width: 100%; height: 100%; object-fit: cover; }
  .mobile-member-button [data-member-handle] { display: block; width: auto; height: auto; max-width: min(calc(44vw - 58px), 110px); overflow: hidden; color: var(--green-dark); font-size: 11px; font-weight: 800; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
  .mobile-member-button [data-member-handle][hidden] { display: none !important; }
  .mobile-member-button.member-has-unread [data-member-avatar]::after { position: absolute; top: -1px; right: -1px; width: 12px; height: 12px; border: 2px solid var(--paper); border-radius: 50%; background: #e1433b; content: ""; box-shadow: 0 1px 3px rgba(23,33,29,.24); }
}
/* Keep desktop identity and unread status visible without changing the button target. */
.nav-button[data-view="reports"] { position: relative; }
.nav-button[data-view="reports"] span { max-width: 10em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-button[data-view="reports"].member-has-unread::after { position: absolute; top: 5px; right: 5px; width: 9px; height: 9px; border-radius: 50%; background: #e1433b; content: ""; }
