/* Event pages: the menu (phones and tablets) for pages that had none or whose menu button opened nothing, and the four
   buttons of the side panel (PC) for pages that had none. As the event pages' own (topikon's menu, sumasea's buttons).
   Used with event-menu.js and a <script type="application/json" id="event-menu"> on the page. */

/* the menu button, where the page has none of its own: top left, phones and tablets only */
.em-burger {
  display: none; position: fixed; top: 0; left: 0; z-index: 50; box-sizing: border-box; width: 15vw; max-width: 90px; min-width: 60px;
  padding: 20px 10px 18px; border: 0; border-radius: 0 0 4px 0; background: transparent; cursor: pointer;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.em-burger img { display: block; width: 100%; height: auto; }
@media screen and (max-width: 840px) { .em-burger { display: block; } }

/* the menu */
.em { position: fixed; inset: 0; z-index: 2147483000; }
.em[hidden] { display: none; }
.em__base { position: absolute; inset: 0; background: rgba(0, 0, 0, .16); }
.em__panel {
  position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain;
  background: rgba(18, 19, 32, .8); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  display: flex; flex-direction: column; align-items: center; padding: 120px 20px 48px; box-sizing: border-box;
  transition: opacity .4s cubic-bezier(.4, .4, 0, 1), transform .4s cubic-bezier(.4, .4, 0, 1);
}
.em.is-closed .em__panel { opacity: 0; transform: translateY(40px); }
.em__close {
  position: absolute; top: 32px; left: 8px; width: 32px; height: 32px; padding: 0; border: 0; background: none; cursor: pointer;
}
.em__close svg { display: block; width: 100%; height: 100%; }
.em__nav { display: flex; flex-direction: column; gap: 4px; width: 100%; max-width: 281px; }
.em__nav a {
  display: flex; align-items: center; justify-content: center; height: 50px; box-sizing: border-box;
  border: 1px solid #000; border-radius: 24px; background: linear-gradient(135deg, #040408 0%, #141a1f 100%);
  color: #fff; font-family: 'A1ゴシック B JIS2004', 'Zen Maru Gothic', sans-serif; font-size: 18px; letter-spacing: .04em; text-decoration: none;
}
.em__nav a:hover { filter: brightness(1.4); }
.em__rule { width: 100%; max-width: 281px; height: 1px; margin: 18px 0 12px; background: #fff; }
.em__follow { margin: 0 0 4px; color: #fff; font-family: Rubik, sans-serif; font-size: 13px; font-weight: 600; letter-spacing: .02em; }
.em__sns { display: flex; gap: 7px; }
.em__sns a, .em__sns img { display: block; width: 56px; height: 56px; }
.em__all { margin: 18px 0 10px; color: #fff; font-family: 'A1ゴシック M JIS2004', 'Zen Maru Gothic', sans-serif; font-size: 13px; }
.em__banner { display: block; width: 210px; }
.em__banner img { display: block; width: 100%; height: auto; border-radius: 8px; }
html.em-open { overflow: hidden; }

/* the side panel's four buttons (PC), where the panel has none */
.em-pnav { display: none; flex-wrap: wrap; justify-content: center; gap: 5px 4px; width: 100%; max-width: 325px; margin: 16px auto 20px; }
@media screen and (min-width: 841px) { .em-pnav { display: flex; } }
.em-pnav a {
  display: flex; align-items: center; justify-content: center; width: 134px; height: 30px; box-sizing: border-box; padding: 2px 5px;
  border-radius: 24px; background: linear-gradient(135deg, #181a2f 0%, #232b35 100%);
  color: #fff; font-family: 'A1ゴシック M JIS2004', 'Zen Maru Gothic', sans-serif; font-size: 13px; text-decoration: none;
}
.em-pnav a:hover { filter: brightness(1.4); }

/* 「チケットの購入」 (cfg.buy, while tickets are on sale), as the STUDIO menus' (guriran-night's) */
.em__buy { box-sizing: border-box; display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100%; max-width: 281px;
  margin: 0 0 18px; padding: 14px 8px; border-radius: 8px; background: rgb(8, 8, 11); }
.em__buy-title { margin: 0; color: #fff; font-family: 'A1ゴシック B JIS2004', 'Zen Maru Gothic', sans-serif; font-size: 15.6px; }
.em__buy-button { display: block; width: 100%; max-width: 252px; padding: 13px 0 10px; border: 0; border-radius: 66px; cursor: pointer;
  background: linear-gradient(90deg, rgb(255, 197, 80), rgb(255, 155, 65) 44%, rgb(255, 156, 56)); box-shadow: rgb(230, 95, 33) 0 3px 0 2px;
  color: #fff; font-family: 'A1ゴシック B JIS2004', 'Zen Maru Gothic', sans-serif; font-size: 17.16px; line-height: 1.1; }
.em__buy-button:hover { filter: brightness(1.1); }
.em__panel:has(.em__buy) { padding-top: 60px; }
