/* ANGELBET 이벤트 목록·상세 "황금 티켓" 구조(2026-11-20) - 다른 사이트(카드 격자 + 영웅 띠 + 옆 요약 칸)와 다르게 티켓 모양으로 짰다.
   티켓 = 흰 도자기 판 + 얇은 금 테두리 + 그림 칸과 떼는 칸 사이 점선·반원 홈. 썸네일(황금 티켓 연작)과 같은 모양을 화면에도 쓴다. */
.abev { display: grid; gap: 28px; padding-bottom: 40px; }
.abev-wait, .abev-empty { padding: 48px 16px; border-radius: 24px; background: #fff; border: 1px solid var(--line); color: var(--ink-3); font-size: 15px; font-weight: 700; text-align: center; }

/* 공통 글자 조각 */
.abev-cat { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 800; color: var(--blue); letter-spacing: 0.01em; }
.abev-cat::before { content: ""; width: 14px; height: 6px; border: 2px solid var(--gold); border-radius: 50%; }
.abev-title { display: block; font-family: var(--display); font-size: 20px; font-weight: 700; line-height: 1.3; color: var(--navy); word-break: keep-all; }
.abev-reward { display: block; font-size: 15px; font-weight: 700; line-height: 1.5; color: var(--ink-2); word-break: keep-all; }
.abev-reward em, .abev-tiles em, .abev-rates em, .abev-other em { font-style: normal; font-weight: 800; color: var(--blue); }
.abev-go { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; font-weight: 800; color: var(--navy); }
.abev-go .ico { width: 16px; height: 16px; }

/* 티켓 가장자리: 떼는 칸 쪽 점선 + 위아래 반원 홈(바탕 하늘색이 비친다) */
.abev-ticket, .abev-row, .abev-hero { position: relative; background: #fff; border: 1.5px solid #f3dca0; box-shadow: 0 2px 4px rgba(15, 60, 140, 0.06), 0 14px 34px rgba(15, 60, 140, 0.12); }
.abev-ticket::before, .abev-row::before, .abev-hero::before,
.abev-ticket::after, .abev-row::after, .abev-hero::after { content: ""; position: absolute; z-index: 2; left: var(--tear, 62%); width: 22px; height: 22px; margin-left: -11px; border-radius: 50%; background: var(--sky-0); border: 1.5px solid #f3dca0; }
.abev-ticket::before, .abev-row::before, .abev-hero::before { top: -12px; clip-path: inset(50% 0 0 0); }
.abev-ticket::after, .abev-row::after, .abev-hero::after { bottom: -12px; clip-path: inset(0 0 50% 0); }

/* ── 목록: 추천 큰 티켓 두 장 ── */
.abev-feature { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.abev-ticket { --tear: 58%; display: grid; grid-template-columns: 58% 42%; min-height: 230px; border-radius: 26px; overflow: visible; transition: transform 0.25s var(--ease), box-shadow 0.25s; }
.abev-ticket:hover { transform: translateY(-4px); box-shadow: 0 4px 8px rgba(15, 60, 140, 0.1), 0 24px 48px rgba(15, 60, 140, 0.2); }
.abev-ticket-art { display: block; padding: 12px; border-right: 2px dashed #e9cf8c; }
.abev-ticket-art img { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 18px; }
.abev-ticket-stub { display: grid; align-content: center; gap: 10px; padding: 18px 22px 18px 24px; }
.abev-ticket .abev-title { font-size: 22px; }

/* ── 목록: 종류 고르기 ── */
.abev-tools { display: flex; flex-wrap: wrap; gap: 8px; padding: 8px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.abev-tools button { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 14px; font-size: 14.5px; font-weight: 800; color: var(--ink-2); background: transparent; transition: background 0.2s, color 0.2s; }
.abev-tools button .num { min-width: 22px; padding: 1px 7px; border-radius: 999px; background: var(--sky-1); color: var(--ink-3); font-size: 12px; text-align: center; }
.abev-tools button[aria-pressed="true"] { background: var(--navy); color: #fff; }
.abev-tools button[aria-pressed="true"] .num { background: var(--gold); color: var(--navy-900); }

/* ── 목록: 티켓 줄 ── */
.abev-list { display: grid; gap: 18px; }
.abev-row { --tear: calc(100% - 168px); display: grid; grid-template-columns: 300px minmax(0, 1fr) 168px; align-items: stretch; min-height: 172px; border-radius: 22px; transition: transform 0.25s var(--ease), box-shadow 0.25s, border-color 0.2s; }
.abev-row[hidden] { display: none; }
.abev-row:hover { transform: translateY(-3px); border-color: var(--gold); }
.abev-row-art { display: block; padding: 10px; }
.abev-row-art img { width: 100%; height: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 16px; }
.abev-row-main { display: grid; align-content: center; gap: 6px; min-width: 0; padding: 14px 20px 14px 10px; }
.abev-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; margin-top: 2px; font-size: 13px; color: var(--ink-3); }
.abev-meta span { display: inline-flex; gap: 6px; min-width: 0; }
.abev-meta i { font-style: normal; font-weight: 800; color: var(--ink-2); }
.abev-row-stub { display: grid; align-content: center; justify-items: center; gap: 12px; padding: 14px; border-left: 2px dashed #e9cf8c; background: linear-gradient(180deg, #fffaf0 0%, #fff4d6 100%); border-radius: 0 20px 20px 0; text-align: center; }
.abev-state { font-size: 13px; font-weight: 800; color: #b97800; }
.abev-row-stub .abev-go { min-height: 44px; padding: 0 16px; border-radius: 14px; background: var(--navy); color: #fff; }

/* ── 상세: 위치 ── */
.abev-crumb { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: var(--ink-3); }
.abev-crumb a { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; color: var(--navy); }
.abev-crumb a .ico { width: 16px; height: 16px; }
.abev-crumb span::before { content: "/"; margin-right: 10px; color: var(--sky-3); }

/* ── 상세: 티켓 머리 ── */
.abev-hero { --tear: 58%; display: grid; grid-template-columns: 58% 42%; border-radius: 30px; }
.abev-hero-art { padding: 16px; border-right: 2px dashed #e9cf8c; }
.abev-hero-art img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 22px; }
.abev-hero-stub { display: grid; align-content: center; gap: 14px; padding: 26px 30px 26px 32px; }
.abev-hero-stub h2 { font-family: var(--display); font-size: clamp(24px, 2.4vw, 32px); font-weight: 700; line-height: 1.25; color: var(--navy); word-break: keep-all; }
.abev-hero-stub .abev-reward { font-size: 17px; }
.abev-facts { display: grid; gap: 8px; margin: 0; padding: 14px 16px; border-radius: 16px; background: var(--sky-0); border: 1px solid var(--line); }
.abev-facts div { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 10px; font-size: 14px; }
.abev-facts dt { font-weight: 800; color: var(--ink-3); }
.abev-facts dd { margin: 0; font-weight: 700; color: var(--ink); word-break: keep-all; }
.abev-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.abev-actions .btn { flex: 1 1 auto; }
.abev-cta .ico { width: 18px; height: 18px; }

/* ── 상세: 혜택 한눈에 ── */
.abev-tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.abev-tiles li { position: relative; display: grid; align-content: center; min-height: 96px; padding: 18px 20px 18px 56px; border-radius: 20px; background: linear-gradient(135deg, #ffffff 0%, var(--sky-1) 100%); border: 1px solid var(--line); font-size: 16px; font-weight: 800; color: var(--navy); line-height: 1.4; word-break: keep-all; }
.abev-tiles li::before { content: ""; position: absolute; left: 18px; top: 50%; width: 24px; height: 10px; margin-top: -5px; border: 3px solid var(--gold); border-radius: 50%; }
.abev-tiles em { font-size: 22px; }

/* ── 상세: 본문 칸 ── */
.abev-body { display: grid; gap: 18px; }
.abev-card { padding: 26px 28px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-1); }
.abev-card h3 { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; font-family: var(--display); font-size: 20px; font-weight: 700; color: var(--navy); }
.abev-card h3::before { content: ""; width: 22px; height: 9px; border: 3px solid var(--gold); border-radius: 50%; }
.abev-card p { margin: 0 0 12px; font-size: 15px; line-height: 1.75; color: var(--ink-2); word-break: keep-all; }
.abev-card h4 { margin: 18px 0 8px; font-size: 15px; font-weight: 800; color: var(--navy); }
.abev-lead { font-weight: 700; color: var(--ink) !important; }
.abev-note { font-size: 14px !important; color: var(--ink-3) !important; }
.abev-rates { display: grid; gap: 0; margin: 4px 0 14px; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.abev-rates li { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 50px; padding: 10px 18px; font-size: 15px; }
.abev-rates li + li { border-top: 1px solid var(--line); }
.abev-rates li:nth-child(odd) { background: var(--sky-0); }
.abev-rates span { color: var(--ink-2); font-weight: 700; }
.abev-rates b { color: var(--navy); font-weight: 800; text-align: right; }
.abev-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.abev-steps li { display: grid; gap: 10px; align-content: start; padding: 18px; border-radius: 18px; background: var(--sky-0); border: 1px solid var(--line); }
.abev-steps .num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--navy); color: #fff; font-weight: 800; font-size: 16px; box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--gold); }
.abev-steps p { margin: 0; font-size: 14.5px; }
.abev-table { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }
.abev-table table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.abev-table th, .abev-table td { padding: 12px 14px; text-align: center; white-space: nowrap; border-bottom: 1px solid var(--line); }
.abev-table thead th, .abev-table tr:first-child th { background: var(--navy); color: #fff; font-weight: 800; }
.abev-table th[scope="row"] { background: var(--sky-0); color: var(--navy); font-weight: 800; text-align: left; }
.abev-table td b { color: var(--blue); font-weight: 800; }
.abev-terms ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.abev-terms li { position: relative; padding-left: 26px; font-size: 14.5px; line-height: 1.65; color: var(--ink-2); word-break: keep-all; }
.abev-terms li::before { content: ""; position: absolute; left: 4px; top: 8px; width: 12px; height: 7px; border-left: 2.5px solid var(--blue); border-bottom: 2.5px solid var(--blue); transform: rotate(-45deg); }

/* ── 상세: 다른 이벤트 ── */
.abev-other h3 { margin-bottom: 14px; font-family: var(--display); font-size: 20px; color: var(--navy); }
.abev-other-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.abev-other-row a { display: grid; gap: 6px; padding: 10px 10px 14px; border-radius: 20px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-1); transition: transform 0.25s var(--ease); }
.abev-other-row a:hover { transform: translateY(-3px); }
.abev-other-row img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; }
.abev-other-row b { padding: 0 4px; font-size: 14.5px; font-weight: 800; color: var(--navy); line-height: 1.35; }
.abev-other-row span { padding: 0 4px; font-size: 13px; color: var(--ink-3); line-height: 1.45; }
.abev-missing { display: grid; justify-items: center; gap: 12px; padding: 56px 20px; border-radius: 26px; background: #fff; border: 1px solid var(--line); text-align: center; }
.abev-missing h2 { font-family: var(--display); font-size: 22px; color: var(--navy); }
.abev-missing p { color: var(--ink-3); }

@media (max-width: 1100px) {
  .abev-row { grid-template-columns: 240px minmax(0, 1fr) 150px; --tear: calc(100% - 150px); }
  .abev-other-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .abev-feature { grid-template-columns: minmax(0, 1fr); }
  .abev-hero { grid-template-columns: minmax(0, 1fr); }
  .abev-hero-art { border-right: 0; border-bottom: 2px dashed #e9cf8c; }
  .abev-hero::before, .abev-hero::after { display: none; }
}
@media (max-width: 767px) {
  .abev { gap: 20px; }
  .abev-ticket { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .abev-ticket-art { border-right: 0; border-bottom: 2px dashed #e9cf8c; }
  .abev-ticket::before, .abev-ticket::after, .abev-row::before, .abev-row::after { display: none; }
  .abev-ticket-stub { padding: 14px 16px 18px; }
  .abev-ticket .abev-title { font-size: 19px; }
  .abev-tools { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .abev-tools::-webkit-scrollbar { display: none; }
  .abev-tools button { flex: none; }
  .abev-row { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .abev-row-art { padding: 10px 10px 0; }
  .abev-row-main { padding: 12px 16px 6px; }
  .abev-row-stub { grid-template-columns: 1fr auto; justify-items: start; align-items: center; border-left: 0; border-top: 2px dashed #e9cf8c; border-radius: 0 0 20px 20px; padding: 10px 14px; }
  .abev-hero-stub { padding: 18px 18px 22px; }
  .abev-actions .btn { width: 100%; }
  .abev-tiles { grid-template-columns: minmax(0, 1fr); }
  .abev-card { padding: 20px 18px; }
  .abev-steps { grid-template-columns: minmax(0, 1fr); }
  .abev-other-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}
