/* チケット詳細画面 (fragment_ticket_detail.xml + FesTicketBinding 群) の CSS */

.ticket-screen {
  position: relative;
  background: var(--bg_1);
}

/* トップの正方形ビジュアル: layout_constraintDimensionRatio="h,750:680" */
.ticket-hero {
  position: relative;
  width: 100%;
  aspect-ratio: 750 / 680;
  background: linear-gradient(180deg, #0f4fd1 0%, #103a9a 55%, #0a1f5c 100%);
  overflow: hidden;
}
.ticket-hero__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 20%, rgba(255,255,255,0.15), transparent 55%),
              radial-gradient(circle at 80% 80%, rgba(70,160,255,0.28), transparent 60%),
              linear-gradient(180deg, #0f4fd1 0%, #103a9a 55%, #0a1f5c 100%);
}
/* ロゴ: 幅 8.36% ~ 91.6% = 中央 83.28% 幅、比率 1:1、上端は正方形の下寄り */
.ticket-hero__logo {
  position: absolute;
  left: 8.36%;
  right: 8.36%;
  aspect-ratio: 1;
  bottom: 25%; /* text guide 59% 相当 */
  display: flex;
  align-items: center;
  justify-content: center;
}
.ticket-hero__logo-text {
  color: #fff;
  font-family: "Impact", "Oswald", "Arial Black", sans-serif;
  font-weight: 900;
  font-style: italic;
  text-align: center;
  letter-spacing: 0.02em;
  line-height: 1;
  font-size: clamp(24px, 8.5vw, 38px);
  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}
.ticket-hero__logo-text small {
  display: block;
  font-size: 0.55em;
  margin-top: 4px;
  letter-spacing: 0.16em;
  color: #fdd;
}
/* フェス名テキスト (text_size_large=20dp) 位置 top 59%（bottom 41%） */
.ticket-hero__fes-name {
  position: absolute;
  left: 0;
  right: 0;
  top: 59%;
  text-align: center;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
  z-index: 4;
  padding: 0 16px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.35);
}

/* WebView 本文相当（本物ではサーバ配信の HTML が入る領域） */
.ticket-body {
  padding: 24px 20px calc(72px + 24px);
  color: var(--main_text);
  font-size: 14px;
  line-height: 1.75;
}
.ticket-body h2 {
  font-size: 17px;
  font-weight: 700;
  color: var(--Txt_Title);
  margin: 24px 0 8px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--accent);
}
.ticket-body h2:first-child { margin-top: 0; }
.ticket-body p { margin: 0 0 12px; }
.ticket-body .price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px solid var(--Divider_default);
}
.ticket-body .price-row__label {
  font-size: 14px;
  color: var(--main_text);
}
.ticket-body .price-row__value {
  font-size: 17px;
  font-weight: 700;
  color: var(--accent);
}
.ticket-body ul {
  margin: 0 0 16px;
  padding: 0;
}
.ticket-body ul li {
  position: relative;
  padding-left: 14px;
  margin-bottom: 6px;
  font-size: 13px;
  color: var(--main_text);
}
.ticket-body ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* 固定ボタン (accent、高さ 48dp、marginSide 16dp、marginBottom 70dp) */
.ticket-fixed-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: calc(var(--space-bottom-padding-fit) + env(safe-area-inset-bottom, 0px));
  background: var(--bg_1);
  padding: 12px 16px;
  border-top: 1px solid var(--Divider_default);
  z-index: 15;
  max-width: 393px;
  margin: 0 auto;
}
.ticket-fixed-cta .btn { width: 100%; }
