/* Approved HUB banner (hub-banner-proof.html) scoped for study55 HOME integration. */
@font-face { font-family: "Barlow Condensed"; src: url("assets/BarlowCondensed-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }

.s55 .s55-hub-banner,
.s55 .s55-hub-banner * { box-sizing: border-box; }

.s55 .s55-hub-banner {
  --navy: #121133; --deep: #312f6b; --purple: #6d3a90; --violet: #8a50b0;
  --field: #4b2870; --lilac: #c4aeea; --ink: #f1ecfb; --muted: #bdb4dc;
  --jp: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", Meiryo, "Noto Sans JP", sans-serif;
  --display: "Barlow Condensed", "Arial Narrow", var(--jp);
  position: relative; max-width: 1168px; height: 400px; margin: 0 auto; overflow: hidden;
  background: var(--navy); border: 1px solid #2b2966;
  color: var(--ink); font-family: var(--jp);
}
.s55 .s55-hub-banner .brand { position: relative; z-index: 1; width: 400px; height: 100%; padding-left: 48px; display: grid; gap: 20px; align-content: center; }
.s55 .s55-hub-banner .eyebrow { margin: 0; font-family: var(--display); font-weight: 600; font-size: 14px; letter-spacing: .18em; color: var(--lilac); }
.s55 .s55-hub-banner .title-row { display: flex; align-items: center; gap: 16px; }
.s55 .s55-hub-banner .title-row img { width: 64px; height: 64px; display: block; flex: none; }
.s55 .s55-hub-banner .title-row h3 { margin: 0; font-family: var(--display); font-weight: 600; font-size: 64px; line-height: 1; }
.s55 .s55-hub-banner .desc { margin: 0; font-size: 16px; line-height: 1.7; color: var(--muted); word-break: keep-all; }
.s55 .s55-hub-banner .desc span { display: inline-block; }
.s55 .s55-hub-banner .action {
  justify-self: start; display: inline-flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 22px;
  background: var(--lilac); color: var(--navy); text-decoration: none;
  font-family: var(--display); font-weight: 600; font-size: 19px; letter-spacing: .08em;
}
.s55 .s55-hub-banner .action:hover { background: var(--ink); }
.s55 .s55-hub-banner .action:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.s55 .s55-hub-banner .action svg { width: 16px; height: 16px; flex: none; }

.s55 .s55-hub-banner .ticket-art { display: block; height: auto; }
.s55 .s55-hub-banner .ticket-art.d { position: absolute; width: 720px; right: -70px; top: 28px; transform: rotate(-4deg); }
.s55 .s55-hub-banner .ticket-art.m { display: none; }
.s55 .s55-hub-banner .f-label { font-family: var(--jp); font-weight: 700; fill: var(--ink); }
.s55 .s55-hub-banner .t-word { font-family: var(--display); font-weight: 600; fill: var(--ink); letter-spacing: .12em; text-anchor: middle; }
.s55 .s55-hub-banner .chip { fill: none; stroke: var(--lilac); stroke-width: 1.5; }
.s55 .s55-hub-banner .chip-t { font-family: var(--jp); fill: var(--ink); text-anchor: middle; }
.s55 .s55-hub-banner .motif { color: var(--lilac); }

@media (min-width: 981px) {
  .s55 .s55-hub-banner { height: 360px; }
  .s55 .s55-hub-banner .brand { gap: 18px; }
  .s55 .s55-hub-banner .title-row img { width: 48px; height: 48px; }
  .s55 .s55-hub-banner .title-row h3 { font-size: 44px; }
  .s55 .s55-hub-banner .desc { font-size: 15px; }
  .s55 .s55-hub-banner .action { font-size: 18px; }
}
@media (max-width: 1100px) { .s55 .s55-hub-banner .ticket-art.d { width: 600px; right: -90px; top: 50px; } }
@media (max-width: 980px) {
  .s55 .s55-hub-banner { height: auto; margin: 0; padding: 24px 0 0 20px; }
  .s55 .s55-hub-banner .brand { width: auto; height: auto; padding: 0 20px 0 0; gap: 14px; }
  .s55 .s55-hub-banner .title-row img { width: 48px; height: 48px; }
  .s55 .s55-hub-banner .title-row h3 { font-size: 44px; }
  .s55 .s55-hub-banner .ticket-art.d { display: none; }
  .s55 .s55-hub-banner .ticket-art.m { display: block; margin-top: 24px; }
}
@media (min-width: 600px) and (max-width: 980px) {
  .s55 .s55-hub-banner .ticket-art.m {
    width: 100%; max-width: 380px; margin-left: auto; margin-right: -1px;
  }
}
@media (max-width: 599px) {
  .s55 .s55-hub-banner .ticket-art.m { width: calc(100% + 1px); max-width: 560px; }
}
@media (max-width: 360px) { .s55 .s55-hub-banner { padding-left: 16px; } .s55 .s55-hub-banner .brand { padding-right: 16px; } .s55 .s55-hub-banner .title-row h3 { font-size: 40px; } }
/* Keep the entire status row visible within the shorter desktop banner. */
@media (min-width: 1101px) { .s55 .s55-hub-banner .ticket-art.d { top: -12px; } }
@media (min-width: 981px) and (max-width: 1100px) { .s55 .s55-hub-banner .ticket-art.d { top: 10px; } }
