/* The captured Marcel site uses Plus Jakarta Sans. The downloaded font
   stylesheet is local to each capture and provides the original face. */
@import url('./Home_files/css2');

body,
body *:not(i):not(svg):not([class*="icon"]) {
  font-family: 'Plus Jakarta Sans', Arial, sans-serif !important;
}

a.one-menu-div,
a.for-records-a,
a.jackpot-item,
a.local-home-link,
a.local-profile-link {
  color: inherit;
  cursor: pointer;
  text-decoration: none;
}

a.local-home-link {
  display: inline-flex;
}

/* Match the compact desktop masthead in the reference screenshot. */
.app-for-pc-top-center .top-center-box,
.app-for-pc-top-center .home-top-center {
  min-height: 52px;
}

.app-for-pc-top-center .left-menu-div,
.app-for-pc-top-center .right-for-user {
  align-items: center;
}

.app-for-pc-top-center .logo {
  width: 30px !important;
  height: 30px !important;
  object-fit: contain;
}

.app-for-pc-top-center .left-menu-div > div:first-child {
  margin-right: 1.15rem !important;
}

.app-for-pc-top-center a.one-menu-div,
.app-for-pc-top-center a.jackpot-item,
.app-for-pc-top-center a.for-records-a {
  font-size: 11px !important;
  line-height: 1.2 !important;
  font-weight: 600 !important;
  white-space: nowrap;
}

.app-for-pc-top-center .jackpot-item img {
  width: 38px !important;
  height: 38px !important;
  object-fit: contain;
}

/* Mobile navigation shell and layered menu. */
.mobile-header-controls,
.mobile-menu-backdrop,
.mobile-menu-panel { display: none; }

@media (max-width: 760px) {
  body.mobile-menu-open { overflow: hidden !important; }
  .app-for-pc-top-center {
    position: sticky !important;
    top: 0 !important;
    z-index: 10000 !important;
    width: 100%;
  }
  .app-for-pc-top-center .top-center-div,
  .app-for-pc-top-center .top-center-box {
    position: relative !important;
    z-index: 10000 !important;
    width: 100%;
  }
  .app-for-pc-top-center .home-top-center {
    min-height: 56px !important;
    height: 56px !important;
    padding: 0 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
  }
  .app-for-pc-top-center .left-menu-div,
  .app-for-pc-top-center .right-for-user { display: none !important; }
  .mobile-header-controls {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
  }
  .mobile-brand img {
    display: block;
    width: 34px;
    height: 34px;
    object-fit: contain;
  }
  .mobile-menu-toggle {
    display: grid;
    place-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    color: #fff;
    background: transparent;
    border: 0;
    border-radius: 8px;
    cursor: pointer;
    touch-action: manipulation;
  }
  .mobile-menu-toggle span {
    display: block;
    width: 23px;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    transition: transform .18s ease, opacity .18s ease;
  }
  .mobile-menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(7px) rotate(45deg); }
  .mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .mobile-menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-7px) rotate(-45deg); }
  .mobile-menu-backdrop {
    display: block;
    position: fixed;
    inset: 56px 0 0;
    z-index: 9998;
    background: rgb(0 0 0 / 48%);
    opacity: 0;
    visibility: hidden;
    transition: opacity .18s ease, visibility .18s ease;
  }
  .mobile-menu-panel {
    display: block;
    position: fixed;
    top: 56px;
    right: 0;
    z-index: 9999;
    width: min(86vw, 360px);
    max-height: calc(100dvh - 56px);
    overflow-y: auto;
    padding: 12px 18px 24px;
    background: #080808;
    color: #fff;
    box-shadow: -12px 12px 28px rgb(0 0 0 / 28%);
    transform: translateX(102%);
    visibility: hidden;
    transition: transform .2s ease, visibility .2s ease;
    overscroll-behavior: contain;
  }
  body.mobile-menu-open .mobile-menu-backdrop { opacity: 1; visibility: visible; }
  body.mobile-menu-open .mobile-menu-panel { transform: translateX(0); visibility: visible; }
  .mobile-menu-panel a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 10px 4px;
    color: inherit;
    border-bottom: 1px solid rgb(255 255 255 / 14%);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
  }
  .mobile-menu-panel a:active { color: #ff6a3d; }
}

@media (prefers-reduced-motion: reduce) {
  .mobile-menu-panel, .mobile-menu-backdrop, .mobile-menu-toggle span { transition: none !important; }
}

/* Expand the captured account flyout from the profile/avatar control. */
@media (min-width: 761px) {
  .right-for-user { position: relative; }
  .show-userinfo-menu-div.profile-menu-open {
    height: auto !important;
    min-height: 22rem;
    opacity: 1 !important;
    overflow: visible !important;
    padding: .9rem .85rem 1rem !important;
    transition: height .2s ease, opacity .16s ease;
  }
  .show-userinfo-menu-div.profile-menu-open .one-menu-div {
    display: flex !important;
    align-items: center;
    min-height: 2.7rem;
    margin-top: .35rem;
    padding: .5rem .65rem;
    border-radius: .35rem;
    background: #f3f3f3;
    color: #222;
    text-decoration: none;
  }
  .show-userinfo-menu-div.profile-menu-open .one-menu-div:hover { background: #0644c8; color: white; }
}
@media (max-width: 760px) {
  .show-userinfo-menu-div.profile-menu-open {
    position: fixed !important;
    top: 64px !important;
    right: 12px !important;
    left: 12px !important;
    width: auto !important;
    height: auto !important;
    max-height: calc(100dvh - 80px);
    overflow: auto !important;
    opacity: 1 !important;
    padding: 1rem !important;
    z-index: 10002 !important;
    border-radius: 12px !important;
    background: #fff !important;
    box-shadow: 0 18px 50px #0005;
  }
  .show-userinfo-menu-div.profile-menu-open .one-menu-div {
    display: flex !important;
    align-items: center;
    min-height: 44px;
    padding: 10px;
    margin-top: 5px;
    border-radius: 5px;
    background: #f3f3f3;
    color: #222;
  }
  .show-userinfo-menu-div.profile-menu-open .one-menu-div:hover { background: #0644c8; color: #fff; }
}
