/* Mahjong Studio Notes: consistent MyJong footer and App Store rating.
   Isolated from Webflow styles; one source for all 12 static Notes pages. */
.mj-notes-footer,.mj-notes-footer *,.mj-notes-rating,.mj-notes-rating *{box-sizing:border-box}
.mj-notes-footer{display:block!important;width:100%!important;max-width:none!important;margin:0!important;padding:22px clamp(18px,3.5vw,42px) 30px!important;background:#f7f4ec!important;border-top:1px solid #e7ddcc!important;color:#6d5c51!important;box-shadow:none!important;font:400 14px/1.5 Inter,"Nunito",Arial,sans-serif!important}
.mj-notes-footer-shell{width:100%;max-width:1160px;margin:0 auto!important;display:flex;align-items:center;justify-content:space-between;gap:16px 30px;flex-wrap:wrap}
.mj-notes-footer-brand{margin:0!important;padding:0!important;color:#6d5c51!important;font:500 14px/1.5 Inter,"Nunito",Arial,sans-serif!important;white-space:normal}
.mj-notes-footer-nav{display:flex;align-items:center;flex-wrap:wrap;justify-content:flex-end;column-gap:9px;row-gap:2px}
.mj-notes-footer-nav .mj-notes-footer-link{display:inline-flex!important;align-items:center!important;min-height:44px!important;padding:8px 2px!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;color:#6d5c51!important;font:500 13px/1.4 Inter,"Nunito",Arial,sans-serif!important;letter-spacing:normal!important;text-decoration:none!important;cursor:pointer!important;white-space:nowrap!important}
.mj-notes-footer-nav a.mj-notes-footer-link:hover,.mj-notes-footer-nav button.mj-notes-footer-link:hover{text-decoration:underline!important;text-underline-offset:3px!important;color:#961e34!important}
.mj-notes-footer-nav .mj-notes-footer-divider{color:#b6a493!important;font-size:12px;line-height:1}
.mj-notes-footer-nav .mj-notes-footer-link:focus-visible{outline:3px solid #961e34!important;outline-offset:3px!important;border-radius:2px!important}
@media(max-width:1120px){.mj-notes-footer-shell{justify-content:center;text-align:center}.mj-notes-footer-nav{justify-content:center}}
@media(max-width:600px){.mj-notes-footer{padding:20px 16px 27px!important}.mj-notes-footer-shell{gap:8px}.mj-notes-footer-brand{font-size:13px!important}.mj-notes-footer-nav{column-gap:6px;row-gap:0}.mj-notes-footer-nav .mj-notes-footer-link{font-size:12px!important;min-height:39px!important;padding:6px 2px!important}.mj-notes-footer-divider{display:none!important}}
.mj-notes-rating{display:flex!important;align-items:center!important;flex-wrap:wrap!important;justify-content:flex-start;gap:6px 9px;margin:12px 0 10px!important;padding:0!important;color:#f1ebdb!important;font:500 15px/1.35 Inter,"Nunito",Arial,sans-serif!important;letter-spacing:normal!important}
.mj-notes-rating strong{color:#f1ebdb!important;font:700 16px/1.3 Inter,"Nunito",Arial,sans-serif!important;white-space:nowrap}
.mj-notes-rating .mj-notes-rating-count{color:#f1ebdb!important;opacity:.9;font:500 13px/1.4 Inter,"Nunito",Arial,sans-serif!important;white-space:nowrap}
.mj-notes-rating-stars{position:relative;display:inline-block;flex:0 0 auto;font-family:Arial,Helvetica,sans-serif;font-size:22px;line-height:1.15;letter-spacing:1px;color:rgba(226,177,60,.28);white-space:nowrap;text-align:left}
.mj-notes-rating-stars:before{content:"★★★★★"}
.mj-notes-rating-fill{position:absolute;inset:0 auto auto 0;display:block;white-space:nowrap;overflow:hidden;height:100%;color:#e2b13c!important;font:inherit!important;letter-spacing:inherit!important;line-height:inherit!important}
.mj-notes-rating[hidden]{display:none!important}
.hub-cta .mj-notes-rating,.msn-download .mj-notes-rating,#ml-download-cta .mj-notes-rating{max-width:100%}
@media(max-width:768px){.hub-cta .mj-notes-rating,.msn-download .mj-notes-rating,#ml-download-cta .mj-notes-rating{justify-content:center!important;text-align:center}}
@media(max-width:380px){.mj-notes-rating{gap:4px 7px!important}.mj-notes-rating-stars{font-size:20px}.mj-notes-rating strong{font-size:15px!important}.mj-notes-rating .mj-notes-rating-count{font-size:12px!important}}

/* Keep the original Notes educational attribution and Instagram handle
   while also showing every main MyJong footer link. */
.mj-notes-footer-brand .mj-notes-footer-credit{display:block;margin-top:3px;color:#77695e!important;font:400 12px/1.4 Inter,"Nunito",Arial,sans-serif!important}
.mj-notes-footer-nav .mj-notes-footer-instagram{gap:6px;display:inline-flex!important}
.mj-notes-footer-instagram img{flex:0 0 18px;width:18px!important;height:18px!important;object-fit:contain;vertical-align:middle}
.mj-notes-footer-instagram .mj-notes-footer-handle{color:#961e34!important;font:600 12px/1.3 Inter,"Nunito",Arial,sans-serif!important}
@media(max-width:600px){.mj-notes-footer-brand .mj-notes-footer-credit{font-size:11px!important}.mj-notes-footer-nav .mj-notes-footer-instagram{gap:5px!important}.mj-notes-footer-instagram .mj-notes-footer-handle{font-size:11px!important}}

/* Keep the four format guides together on wide screens. */
@media (min-width: 1100px) {
  #hub-guides .hub-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

.hub-page .hub-intro .hub-featured-reading-link {
  color: #801d35;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.hub-featured-reading-link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

/* Align the stacked invitation, badge, rating and illustration on phones. */
@media (max-width: 600px) {
  .msn-page .msn-download .msn-download-copy,
  #ml-page-shell #ml-download-cta #ml-download-copy {
    align-items: center !important;
    text-align: center !important;
  }
  .msn-page .msn-download .msn-download-description,
  #ml-page-shell #ml-download-cta #ml-download-copy > h2 + p {
    max-width: 32ch;
    margin-inline: auto !important;
    font-weight: 400 !important;
    text-wrap: pretty;
  }
}
