.bf-home[hidden] { display: none; }

[data-bf-plan-notice][hidden],
[data-bf-plan-regular][hidden],
[data-bf-standard-note][hidden],
[data-bf-plan-offer][hidden] { display: none; }

.bf-plan-notice {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 16px;
  margin: 24px 0 0;
  padding: 12px 16px;
  border: 1px solid #e2add0;
  border-radius: 14px;
  background: #fff7fb;
  color: #522742;
  font-size: .85rem;
  line-height: 1.55;
}

.bf-plan-notice strong { text-wrap: balance; }
.bf-plan-notice a { color: #7b315e; text-decoration: underline; text-underline-offset: 3px; }
.bf-plan-notice time { white-space: nowrap; }
.bf-plan-notice:not([hidden]) + .plan-grid { margin-top: 16px; }
.bf-plan-offer { margin: 12px 0 16px; }

.bf-plan-price-label {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 8px;
  color: #634b60;
  font-size: .8rem;
  font-weight: 600;
  line-height: 1.55;
  font-variant-numeric: tabular-nums;
}

.bf-plan-price-label span { white-space: nowrap; }
.bf-plan-price-label strong {
  padding: 1px 8px;
  border-radius: 999px;
  background: #f9e0ef;
  color: #791e56;
  white-space: nowrap;
}

.bf-plan-current.price {
  margin: 2px 0 0;
  color: #8c245e;
  font-weight: 800;
  line-height: 1.25;
  white-space: nowrap;
}

.bf-plan-current small { margin-inline-start: 3px; }

.pro-pricing .bf-plan-notice { margin: 0 0 14px; }
.bf-pro-price { display: inline-block; }
.bf-pro-price .bf-pro-offer:not([hidden]) {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: inherit;
  align-items: baseline;
  gap: .2rem .55rem;
}
.pro-price-row .bf-pro-price,
.pro-price-row .bf-pro-price [data-bf-plan-regular],
.pro-price-row .bf-pro-price .bf-pro-offer { color: inherit; font-size: inherit; margin: 0; }
.pro-price-row .bf-pro-price { justify-content: flex-end; }
.bf-pro-offer s { color: #6b5367; font-size: .8rem; white-space: nowrap; }
.bf-pro-offer b { color: #8c245e; white-space: nowrap; }
.bf-pro-offer small {
  padding: 2px 8px;
  border-radius: 999px;
  background: #f9e0ef;
  color: #791e56;
  font: 750 .72rem/1.4 system-ui, sans-serif;
  white-space: nowrap;
}
@media (max-width: 560px) {
  .pro-price-row .bf-pro-offer { flex-direction: column; align-items: flex-end; }
}

.bf-home {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin-bottom: 42px;
  border: 1px solid #5c325f;
  border-radius: 28px;
  background: radial-gradient(ellipse at 100% 20%, #894173 0%, transparent 43%),
    linear-gradient(136deg, #1e132b 0%, #25132d 58%, #432144 100%);
  box-shadow: 0 16px 42px #4b1b592c;
  color: #fff1f8;
}

.bf-home-copy {
  position: relative;
  z-index: 1;
  align-self: center;
  padding: clamp(28px, 4.8vw, 56px);
  padding-right: 14px;
}

.bf-home-event {
  margin: 0 0 6px;
  color: #ffc9e2;
  font-size: clamp(.79rem, 1.3vw, 1rem);
  font-weight: 750;
  letter-spacing: .04em;
}

.bf-home-live {
  display: inline-block;
  margin: 0 5px 4px 0;
  padding: .2em .62em;
  border: 1px solid #f496cb;
  border-radius: 999px;
  color: #ffe3f2;
  font-size: .82em;
  line-height: 1.35;
  white-space: nowrap;
}

.bf-home h2 {
  margin: 0 0 11px;
  color: #fff3fa;
  font-size: clamp(2rem, 4.9vw, 4.15rem);
  font-weight: 850;
  letter-spacing: -.045em;
  line-height: 1.17;
}

.bf-home-dates {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  column-gap: .3em;
  margin: 0 0 22px;
  color: #ffe6f3;
  font-size: clamp(.82rem, 1.5vw, 1.13rem);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.bf-home-dates time { white-space: nowrap; }
.bf-home-dates span { color: #f9bad9; font-size: .74em; }

.bf-home-prices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  max-width: 470px;
  margin: 0;
}

.bf-home-prices > div {
  padding: 10px 12px;
  border: 1px solid #bd81a76a;
  border-radius: 14px;
  background: #fce2f310;
}

.bf-home-prices dt { color: #ffe7f1; font-size: .84rem; font-weight: 750; }

.bf-home-prices dd {
  display: grid;
  gap: 1px;
  margin: 0;
  font-variant-numeric: tabular-nums;
}

.bf-home-prices s {
  color: #f3cfe1;
  font-size: .78rem;
  white-space: nowrap;
}

.bf-home-prices strong {
  color: #ff95c6;
  font-size: clamp(1.34rem, 2.6vw, 2.25rem);
  font-weight: 850;
  letter-spacing: -.04em;
  line-height: 1.25;
  white-space: nowrap;
}

.bf-home-prices small { margin-left: .1em; font-size: .55em; }

.bf-home-details {
  margin: 12px 0 17px;
  color: #ffe7f1;
  font-size: .83rem;
  line-height: 1.6;
}

.bf-home-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  background: #ffd3e9;
  color: #431831;
  font-size: .86rem;
  font-weight: 800;
  line-height: 1.35;
}

.bf-home-link:hover { background: #ffeaf4; }
.bf-home-link:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }

.bf-home-stage {
  position: relative;
  min-height: 330px;
  align-self: stretch;
  overflow: hidden;
}

.bf-home-stage::before {
  content: '';
  position: absolute;
  inset: 11% -16% 16% 4%;
  border: 1px solid #e199c46a;
  border-radius: 50%;
  transform: rotate(-21deg);
}

.bf-home-stage img {
  position: absolute;
  display: block;
  height: auto;
}

.bf-home-editor, .bf-home-hall {
  border: 1px solid #fed0eb;
  border-radius: 13px;
  box-shadow: 0 10px 28px #160b2eb0;
}

.bf-home-editor { top: 11%; right: 9%; width: 78%; }
.bf-home-hall { top: 37%; left: 4%; width: 33%; }
.bf-home-nanoha {
  right: 1%;
  bottom: -25%;
  width: 66%;
  max-width: 355px;
  filter: drop-shadow(0 7px 15px #240f36a6);
}

@media (max-width: 700px) {
  .bf-home { grid-template-columns: minmax(0, 1fr); border-radius: 24px; }
  .bf-home-copy { padding: clamp(19px, 5vw, 30px) clamp(16px, 5vw, 30px) 0; }
  .bf-home h2 { font-size: clamp(2rem, 7.5vw, 3.2rem); }
  .bf-home-dates { margin-bottom: 15px; }
  .bf-home-prices dt { font-size: .78rem; }
  .bf-home-stage { min-height: 0; aspect-ratio: 1.64; }
  .bf-home-editor { top: 14%; right: 13%; width: 67%; }
  .bf-home-hall { top: 36%; left: 9%; width: 29%; }
  .bf-home-nanoha { right: 3%; bottom: -37%; width: 55%; max-width: none; }
}

@media (max-width: 350px) {
  .bf-home-event { font-size: .72rem; }
  .bf-home-live { display: table; }
  .bf-home-prices > div { padding-inline: 9px; }
  .bf-home-prices dt { font-size: .73rem; }
}
