/* Athlete's Journey 0.9.5 — match the exact existing Massimobility wordmark.
   The M artwork is the site's OWN asset; no third-party brand imagery or fonts.
   No changes to gameplay scores, scenario selection, or persistence. */
.mm-game-brand {
  display:inline-flex;
  align-items:center;
  gap:12px;
  min-width:0;
  flex:0 1 auto;
  text-decoration:none;
  white-space:nowrap;
  line-height:1;
}
.mm-game-brand .brand-mark {
  display:flex;
  flex:0 0 44px;
  width:44px;
  height:44px;
  align-items:center;
  justify-content:center;
}
.mm-game-brand .brand-mark img {
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
}
.mm-game-brand .brand-name {
  display:block;
  font-family:var(--mm-display-font,"Times New Roman",Georgia,serif) !important;
  font-weight:700;
  font-size:clamp(18px,1.9vw,22px);
  letter-spacing:.015em;
  color:#fff;
  line-height:1;
}
.mm-game-brand .brand-name>span {color:#42bdea}
.mm-game-brand .brand-name small {
  display:block;
  margin-top:7px;
  font-family:var(--mm-display-font,"Times New Roman",Georgia,serif) !important;
  font-size:8px;
  line-height:1.15;
  letter-spacing:.20em;
  font-weight:700;
  color:#b1c9d8;
}
/* Keep the Rules action in the upper-right corner at every stage of play. */
.topbar .header-actions {display:flex;align-items:center;gap:13px;margin-left:auto;flex:0 0 auto}
.topbar .rules-reopen {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:42px;
  padding:9px 15px;
  border:1px solid #4b85ab;
  border-radius:10px;
  background:#14384f;
  color:#e8f8ff;
  font-family:var(--mm-reading-font,"DM Sans",Arial,sans-serif) !important;
  font-size:12px;
  font-weight:800;
  letter-spacing:.07em;
  white-space:nowrap;
  transition:background .18s,border-color .18s;
}
.topbar .rules-reopen:hover,.topbar .rules-reopen:focus-visible {background:#205274;border-color:#83d0ff}
.topbar .rules-reopen.is-open {background:#1b4b65;border-color:#77c7f6}
.topbar .rules-reopen .rules-symbol {
  display:inline-grid;
  place-items:center;
  height:21px;
  width:21px;
  border:1px solid #85d0fa;
  border-radius:50%;
  font-size:13px;
  line-height:1;
  color:#d4f1ff;
}
.topbar .rules-reopen .rules-label {display:inline-block;margin:0}
@media(max-width:1050px){.topbar .header-label{display:none}}
@media(max-width:720px){
 .topbar .site-link{display:none}
 .mm-game-brand .brand-mark{width:39px;height:39px;flex-basis:39px}
 .mm-game-brand .brand-name{font-size:19px}
 .mm-game-brand .brand-name small{font-size:7px;letter-spacing:.12em}
 .topbar .rules-reopen{min-height:41px;padding:8px 11px}
}
@media(max-width:430px){
 .topbar{gap:6px}
 .mm-game-brand{gap:7px}
 .mm-game-brand .brand-mark{width:31px;height:31px;flex-basis:31px}
 .mm-game-brand .brand-name{font-size:clamp(13px,4vw,17px)}
 .mm-game-brand .brand-name small{font-size:5.6px;letter-spacing:.075em;margin-top:5px}
 .topbar .header-actions{gap:5px}
 .topbar .rules-reopen{min-height:37px;padding:6px 8px;gap:5px;font-size:10px}
 .topbar .rules-reopen .rules-symbol{width:18px;height:18px;font-size:11px}
}
