/* Kustom Kathy 3.5.12 — header-only visual refinement.
   Keep the approved race carousel and all downstream panels unchanged. */

/* Let the dashboard artwork breathe: the header is no longer a boxed card. */
.shell > .top,
body.kkSubpage .shell > .top {
  background: transparent !important;
  border: 0 !important;
  outline: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  padding: 6px 8px !important;
  margin-bottom: 4px !important;
  min-height: 86px !important;
  gap: clamp(12px, 2vw, 27px) !important;
}

.top h1 {
  color: #ffedcb !important;
  text-shadow: 0 3px 16px #000b, 0 0 12px #e7b56d26 !important;
}
.top .eyebrow { color: #a9d1e4 !important; }

/* Controls read as refined navigation links, never chunky buttons. */
.top .accountControls {
  gap: clamp(9px, 1.4vw, 24px) !important;
  align-items: center !important;
}
.top .accountControls .status,
.top .accountControls .accountButton,
.top .accountControls .refreshButton,
.top .accountControls .tellHeader {
  border: 0 !important;
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 7px 3px !important;
  min-height: 44px;
  color: #d9efff;
  text-shadow: 0 2px 7px rgba(0, 8, 19, .85);
  font-weight: 650;
}
.top .accountControls .status[data-state="live"],
.top .accountControls .status[data-state="ready"] { color: #91ebc3 !important; }
.top .accountControls .status[data-state="error"] { color: #ffb7ac !important; }
.top .accountControls button:not(:disabled):hover {
  color: #ffffff !important;
  text-decoration: underline;
  text-decoration-color: #79ceff;
  text-underline-offset: 6px;
}
.top .accountControls button:focus-visible {
  outline: 2px solid #84dcff !important;
  outline-offset: 4px !important;
  border-radius: 3px !important;
}

/* A concise, unboxed home for a future user-curated motivational rotation. */
.top .kkBannerCaption {
  color: #ffdfa9 !important;
  font-size: clamp(10px, .77vw, 13px) !important;
  font-weight: 750;
  letter-spacing: .16em !important;
  line-height: 1.65 !important;
  text-align: right;
  white-space: nowrap;
  margin: 0 !important;
  text-shadow: 0 2px 9px #000b;
}

@media (max-width: 790px) {
  .shell > .top,
  body.kkSubpage .shell > .top {
    padding: 6px 2px 9px !important;
    min-height: 0 !important;
    gap: 6px 12px !important;
  }
  .top .kkBannerCaption {
    display: block !important;
    width: 100%;
    order: 1;
    margin: 0 !important;
    text-align: center;
    font-size: 11px !important;
  }
  .top .accountControls {
    width: 100% !important;
    order: 2;
    justify-content: space-around !important;
    gap: 9px !important;
  }
}
@media (max-width: 420px) {
  .top .accountControls .status,
  .top .accountControls .accountButton {
    font-size: 11px !important;
    padding-inline: 0 !important;
  }
}
