/* NAPKINART_MENU_AUGUST_ARTOFF_V10_START */

/* Retire all older menu implementations. */
.center-nav,
.napkin-options-root,
#napkinCenterMenuMount,
#napkinCenterMenuBackdrop,
#napkinCenterMenuMountV2,
#napkinCenterMenuBackdropV2,
.napkin-floating-options-menu,
.napkin-options-fab,
[data-napkin-floating-options],
[data-napkin-options-fab],
.bottom-nav,
.mobile-bottom-nav,
[data-bottom-nav],
[data-role="bottom-nav"] {
  display: none !important;
}

.app-frame {
  padding-bottom: calc(120px + env(safe-area-inset-bottom)) !important;
}

/* Conflict-proof four-item floating menu. */
.napkin-v9-nav {
  position: fixed;
  left: 50%;
  bottom: calc(18px + env(safe-area-inset-bottom));
  z-index: 14050;
  width: 86px;
  height: 86px;
  transform: translateX(-50%);
  overflow: visible;
}
.napkin-v9-nav > summary { list-style: none; }
.napkin-v9-nav > summary::-webkit-details-marker { display: none; }
.napkin-v9-toggle {
  position: relative;
  z-index: 5;
  width: 86px;
  height: 86px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 227, 174, .48);
  border-radius: 999px;
  color: #fff;
  background: radial-gradient(circle at 50% 27%, rgba(255,227,157,.99) 0%, rgba(255,163,27,.99) 41%, rgba(255,101,80,.99) 69%, rgba(92,31,8,1) 100%);
  box-shadow: 0 22px 50px rgba(255,126,31,.48), 0 9px 20px rgba(0,0,0,.52), inset 0 1px 0 rgba(255,255,255,.34), inset 0 -12px 21px rgba(118,41,7,.58);
  cursor: pointer;
}
.napkin-v9-dots {
  width: 32px;
  height: 32px;
  display: grid;
  grid-template-columns: repeat(2, 8px);
  grid-template-rows: repeat(2, 8px);
  place-content: center;
  gap: 7px;
}
.napkin-v9-dots i {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 2px 4px rgba(0,0,0,.3);
}
.napkin-v9-close { display: none; }
.napkin-v9-close svg { width: 34px; height: 34px; }
.napkin-v9-nav[open] .napkin-v9-dots { display: none; }
.napkin-v9-nav[open] .napkin-v9-close { display: grid; place-items: center; }
.napkin-v9-badge {
  position: absolute;
  top: 1px;
  right: -1px;
  min-width: 23px;
  height: 23px;
  display: grid;
  place-items: center;
  padding: 0 6px;
  border: 2px solid #120f0d;
  border-radius: 999px;
  color: #fff;
  background: #ff3e4f;
  box-shadow: 0 5px 12px rgba(0,0,0,.38);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}
.napkin-v9-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1;
  display: none;
  border: 0;
  background: radial-gradient(circle at 50% 88%, rgba(255,129,27,.14), transparent 33%), rgba(0,0,0,.34);
  backdrop-filter: blur(3px) brightness(.72) saturate(.88);
  -webkit-backdrop-filter: blur(3px) brightness(.72) saturate(.88);
}
.napkin-v9-nav[open] .napkin-v9-backdrop { display: block; }
.napkin-v9-panel {
  position: absolute;
  left: 50%;
  bottom: 43px;
  z-index: 3;
  width: min(324px, calc(100vw - 24px));
  min-height: 274px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 22px 50px;
  padding: 24px 24px 84px;
  border: 1px solid rgba(255,198,126,.14);
  border-radius: 32px;
  color: #fff;
  background: radial-gradient(circle at 50% 84%, rgba(255,128,24,.15), transparent 34%), linear-gradient(180deg, rgba(30,27,25,.985), rgba(10,9,10,.995) 62%, rgba(3,3,4,.998));
  box-shadow: 0 0 0 1px rgba(255,255,255,.025), 0 24px 60px rgba(0,0,0,.58), inset 0 1px 0 rgba(255,255,255,.06);
  backdrop-filter: blur(18px) saturate(.9);
  -webkit-backdrop-filter: blur(18px) saturate(.9);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, 18px) scale(.96);
  transform-origin: 50% 100%;
  transition: opacity .2s ease, transform .24s cubic-bezier(.2,.8,.2,1), visibility .2s ease;
}
.napkin-v9-nav[open] .napkin-v9-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0) scale(1);
}
.napkin-v9-item {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 0;
  border: 0;
  color: #fff8ee;
  background: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.08;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0,0,0,.98);
  cursor: pointer;
}
.napkin-v9-bubble {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,205,140,.24);
  border-radius: 999px;
  color: #fffaf2;
  background: radial-gradient(circle at 32% 22%, rgba(255,255,255,.08), transparent 34%), linear-gradient(180deg, rgba(31,29,28,.99), rgba(8,8,9,.998));
  box-shadow: 0 14px 31px rgba(0,0,0,.62), inset 0 1px 0 rgba(255,255,255,.11);
}
.napkin-v9-bubble svg { width: 25px; height: 25px; }
.napkin-v9-item.active .napkin-v9-bubble,
.napkin-v9-item:hover .napkin-v9-bubble,
.napkin-v9-item:focus-visible .napkin-v9-bubble {
  border-color: rgba(255,232,188,.65);
  color: #fff;
  background: linear-gradient(145deg, #ffb62f 0%, #ff9217 48%, #ff6658 100%);
  box-shadow: 0 18px 40px rgba(255,119,29,.46), inset 0 1px 0 rgba(255,255,255,.34);
}
.napkin-v9-item-badge {
  position: absolute;
  top: -5px;
  right: calc(50% - 34px);
  min-width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  padding: 0 5px;
  border-radius: 999px;
  color: #fff;
  background: #ff3e4f;
  border: 2px solid #171312;
  font-size: 10px;
  font-weight: 900;
}

/* Keep the menu visible and above the full-screen competition directory. */
body:has(#napkin-competitions-overlay) .napkin-v9-nav {
  display: block !important;
  z-index: 14050 !important;
}
body:has(.modal-sheet[aria-label="Art Card"]) .napkin-v9-nav,
body:has(.story-modal) .napkin-v9-nav,
body:has(.auth-shell) .napkin-v9-nav {
  display: none !important;
}

.topbar .live-chip,
.topbar .topbar-actions,
.topbar [data-action="open-notifications"],
header .live-chip,
header [data-action="open-notifications"] {
  display: none !important;
}

/* One August package with two clearly separated sections. */
.napkin-august-artoff-sections { display: grid; gap: 18px; }
.napkin-august-artoff-section { display: grid; gap: 9px; }
.napkin-august-artoff-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 1px 3px;
}
.napkin-august-artoff-section-head h3 {
  margin: 0;
  color: #fff7ec;
  font-size: 1rem;
  letter-spacing: -.02em;
}
.napkin-august-artoff-section-head span {
  color: #f8ae43;
  font-size: .76rem;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: .08em;
}

@media (max-width: 390px) {
  .napkin-v9-panel {
    width: min(310px, calc(100vw - 18px));
    min-height: 264px;
    gap: 18px 38px;
    padding: 21px 20px 80px;
  }
  .napkin-v9-bubble { width: 58px; height: 58px; }
}
@media (max-height: 690px) {
  .napkin-v9-nav { bottom: calc(10px + env(safe-area-inset-bottom)); }
  .napkin-v9-panel { min-height: 244px; gap: 14px 42px; padding-top: 16px; }
}

/* NAPKINART_MENU_AUGUST_ARTOFF_V10_END */
