/* =====================================================================
   DETAIL EVENT v4 (21 Okt 2026). Menggantikan event-details.css + event-details-v3.css.
   Token warna, font & cincin fokus ada di ui-v2/base.css.
   Dial: ENERGY 1 / RHYTHM 2 / MOTION 1 (hanya hover & lompat halus ke bagian).
   Motif: kartu info berbentuk tiket (lubang + garis sobek), tiap jenis tiket juga
   punya "potongan" harga di sisi kanan.
   ===================================================================== */
.edx {
  --ink: var(--te-ink, #0d1b2e); --ink-2: var(--te-ink-2, #334155); --muted: var(--te-muted, #5b6678);
  --line: var(--te-line, #dfe4eb); --line-strong: var(--te-line-strong, #b4bfcd); --field: var(--te-field-line, #7c889b);
  --paper: var(--te-paper, #f5f6f8); --brand: var(--te-brand, #1e5bd6); --brand-ink: var(--te-brand-ink, #1546a8); --brand-soft: var(--te-brand-soft, #edf2fd);
  --notch: var(--paper);
  background: var(--paper); padding: 20px 0 64px; color: var(--ink); font-family: var(--te-font);
}
.edx *, .edx *::before, .edx *::after { box-sizing: border-box; }
.edx ul, .edx li { padding-right: 0; }
.edx h1, .edx h2, .edx h3 { white-space: normal; overflow: visible; }

/* breadcrumb */
.edx-crumb { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 14px; font-size: 13px; color: var(--muted); }
.edx-crumb a { color: var(--brand-ink); }
.edx-crumb a:hover { text-decoration: underline; }

/* ---------- tata letak ---------- */
.edx-layout { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-areas: "hero" "side" "main"; gap: 20px; }
.edx-layout__hero { grid-area: hero; min-width: 0; }
.edx-layout__side { grid-area: side; min-width: 0; }
.edx-layout__main { grid-area: main; min-width: 0; }
@media (min-width: 992px) {
  .edx-layout { grid-template-columns: minmax(0, 1fr) 360px; grid-template-rows: auto 1fr; column-gap: 32px; row-gap: 24px; grid-template-areas: "hero side" "main side"; }
  .edx-layout__side { align-self: start; position: sticky; top: 16px; }
}
@media (min-width: 1200px) { .edx-layout { grid-template-columns: minmax(0, 1fr) 380px; } }

/* ---------- poster ---------- */
.edx-poster { position: relative; margin: 0; overflow: hidden; border-radius: var(--te-r-lg, 16px); background: #0d1b2e; }
.edx-poster::before {
  content: ""; position: absolute; inset: -40px; z-index: 0;
  background-image: var(--hero-bg); background-size: cover; background-position: center;
  filter: blur(28px) brightness(.5);
}
.edx-poster img { position: relative; z-index: 1; display: block; width: 100%; height: auto; max-height: 540px; object-fit: contain; margin: 0 auto; }

/* ---------- kartu tiket (info utama) ---------- */
.edx-ticket { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--te-r-lg, 16px); }
.edx-ticket__main { padding: 22px 22px 20px; }
.edx-ticket__cat { display: inline-block; margin-bottom: 6px; font-size: 13px; font-weight: 600; color: var(--brand-ink) !important; }
.edx-ticket__cat:hover { text-decoration: underline; }
.edx-ticket__title { margin: 0 0 18px; font-size: 24px; font-weight: 700; line-height: 1.3; letter-spacing: -.02em; color: var(--ink); }
.edx-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.edx-facts li { display: flex; align-items: flex-start; gap: 12px; margin: 0; min-width: 0; }
.edx-facts li > div { min-width: 0; line-height: 1.4; }
.edx-facts b { display: block; font-size: 15px; font-weight: 700; color: var(--ink); }
.edx-facts small { display: block; margin-top: 2px; font-size: 13.5px; color: var(--muted); }
.edx-facts small a, .edx-facts__ig { color: var(--brand-ink) !important; font-weight: 600; }
.edx-facts small a:hover, .edx-facts__ig:hover { text-decoration: underline; }
.edx-facts__ig { display: inline-block; margin-top: 2px; font-size: 13px; }
.edx-facts__ico { width: 36px; height: 36px; flex: none; border-radius: 8px; background: var(--paper); color: var(--ink-2); display: flex; align-items: center; justify-content: center; }
.edx-facts__ico svg { width: 18px; height: 18px; }
.edx-facts__ava { width: 36px; height: 36px; flex: none; border-radius: 50%; object-fit: cover; }
.edx-facts__ava--initial { display: flex; align-items: center; justify-content: center; background: var(--ink); color: #fff; font-size: 14px; font-weight: 700; }

/* garis sobek + lubang di kedua sisi */
.edx-ticket__stub { position: relative; padding: 18px 22px 22px; border-top: 1.5px dashed var(--line-strong); }
.edx-ticket__stub::before, .edx-ticket__stub::after {
  content: ""; position: absolute; top: -10px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--notch); border: 1px solid var(--line);
}
.edx-ticket__stub::before { left: -10px; clip-path: inset(0 0 0 50%); }
.edx-ticket__stub::after { right: -10px; clip-path: inset(0 50% 0 0); }
.edx-price { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.edx-price small { font-size: 13.5px; color: var(--muted); }
.edx-price strong { font-size: 24px; font-weight: 800; color: var(--ink); letter-spacing: -.01em; }
.edx-price--none strong { font-size: 16px; font-weight: 600; color: var(--muted); }
.edx-date { margin-bottom: 12px; }
.edx-date label { display: block; margin-bottom: 6px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); }
.edx-select { width: 100%; height: 46px; padding: 0 36px 0 12px; border: 1px solid var(--field); border-radius: 10px; color: var(--ink); font-size: 14.5px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%235b6678' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center;
  -webkit-appearance: none; appearance: none; cursor: pointer; }
.edx-error { margin: 6px 0 0; font-size: 13px; color: #9f2318; }

/* tombol */
.edx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: 10px; border: 1px solid transparent;
  font-family: inherit; font-size: 15px; font-weight: 700; line-height: 1; cursor: pointer; text-decoration: none !important; white-space: nowrap; transition: background .15s, border-color .15s; }
.edx-btn svg { width: 18px; height: 18px; }
.edx-btn--primary { background: var(--brand); color: #fff !important; }
.edx-btn--primary:hover { background: var(--brand-ink); }
.edx-btn--ghost { background: #fff; border-color: var(--line); color: var(--ink) !important; }
.edx-btn--ghost:hover { border-color: var(--line-strong); background: var(--paper); }
.edx-btn--block { width: 100%; }
.edx-btn--lg { width: 100%; height: 52px; font-size: 16px; }

/* bagikan */
.edx-share { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.edx-share__label { padding-left: 4px; font-size: 13.5px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.edx-share__btns { display: flex; gap: 4px; }
.edx-share__btn { flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 8px; white-space: nowrap; border: 0; border-radius: 8px; background: transparent;
  font-family: inherit; font-size: 13px; font-weight: 600; color: var(--ink) !important; cursor: pointer; text-decoration: none !important; }
.edx-share__btn:hover { background: var(--paper); }
.edx-share__btn svg { width: 17px; height: 17px; color: var(--ink-2); }
.edx-share__btn[hidden] { display: none; }

/* ---------- menu bagian (menempel) ---------- */
.edx-nav { position: sticky; top: 0; z-index: 20; margin: 0 0 16px; background: var(--paper); border-bottom: 1px solid var(--line); }
.edx-nav__in { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.edx-nav__in::-webkit-scrollbar { display: none; }
.edx-nav a { position: relative; display: inline-flex; align-items: center; min-height: 48px; padding: 0 14px; font-size: 15px; font-weight: 600; color: var(--muted) !important; white-space: nowrap; }
.edx-nav a:hover { color: var(--ink) !important; }
.edx-nav a.is-active { color: var(--ink) !important; }
.edx-nav a.is-active::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--brand); }

/* ---------- bagian ---------- */
.edx-section { --notch: #fff; margin: 0 0 16px; padding: 24px 26px 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--te-r-lg, 16px); scroll-margin-top: 70px; }
.edx-section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; }
.edx-section__title { margin: 0 0 16px; font-size: 20px; font-weight: 700; letter-spacing: -.01em; color: var(--ink); line-height: 1.3; }
.edx-section__head .edx-section__title { margin: 0; }
.edx-section__meta { font-size: 13.5px; color: var(--muted); }
.edx-section__meta a { color: var(--brand-ink); font-weight: 600; }

/* deskripsi */
.ed-desc { position: relative; max-width: 760px; }
.ed-desc .summernote-content { font-size: 15.5px; line-height: 1.75; color: var(--ink-2); }
.ed-desc .summernote-content img { max-width: 100%; height: auto; border-radius: 10px; }
.ed-desc .summernote-content a { color: var(--brand-ink); text-decoration: underline; }
.ed-desc.is-clamped { max-height: 360px; overflow: hidden; }
.ed-desc.is-clamped::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 96px; background: linear-gradient(rgba(255, 255, 255, 0), #fff); }
.ed-desc.is-clamped.is-open, .ed-desc.is-open { max-height: none; overflow: visible; }
.ed-desc.is-open::after { display: none; }
.edx-more { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 6px; padding: 0; border: 0; background: none; font-family: inherit; font-size: 14.5px; font-weight: 700; color: var(--brand-ink); cursor: pointer; }
.edx-more[hidden] { display: none; }
.edx-more svg { width: 16px; height: 16px; transition: transform .15s; }
.edx-more[aria-expanded="true"] svg { transform: rotate(180deg); }
.edx-policy { margin-top: 20px; padding: 16px 18px; border-radius: 10px; background: var(--paper); }
.edx-policy h3 { margin: 0 0 4px; font-size: 15px; font-weight: 700; color: var(--ink); }
.edx-policy p { margin: 0; font-size: 14.5px; line-height: 1.6; color: var(--ink-2); }

/* line up */
.edx-lineup { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.edx-lineup__item { position: relative; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.edx-lineup__photo { display: block; aspect-ratio: 1 / 1; border-radius: 12px; overflow: hidden; background: var(--paper); }
.edx-lineup__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; }
.edx-lineup__initial { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; font-size: 34px; font-weight: 700; color: var(--muted); }
.edx-lineup__name { font-size: 14.5px; font-weight: 700; line-height: 1.3; color: var(--ink); padding-right: 40px; }
.edx-lineup__ig { position: absolute; right: 0; bottom: -6px; width: 36px; height: 36px; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--ink-2) !important; }
.edx-lineup__ig:hover { background: var(--paper); }
.edx-lineup__ig svg { width: 18px; height: 18px; }

/* ---------- daftar tiket ---------- */
.edx-tickets { margin: 0; }
.edx .ticket-card {
  position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 210px; column-gap: 0;
  margin: 0 0 12px; background: #fff; border: 1px solid var(--line); border-radius: 12px; transition: border-color .15s;
}
.edx .ticket-card:hover { border-color: var(--line-strong); }
.edx .ticket-card.is-picked { border-color: var(--brand); box-shadow: 0 0 0 1px var(--brand); }
.edx .ticket-card > * { grid-column: 1; min-width: 0; padding-left: 20px; padding-right: 20px; }
.edx .ticket-card-head { padding-top: 18px; }
.edx .ticket-card-title { display: block; }
.edx .ticket-card-name { margin: 0; font-size: 16.5px; font-weight: 700; line-height: 1.35; color: var(--ink); }
.edx .ticket-note { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 13px; color: var(--ink-2); }
.edx .ticket-note svg { flex: none; }
.edx .ticket-note--soon { color: var(--te-warn-ink, #7a4a00); }
.edx .ticket-note--ended { color: var(--muted); }
.edx .click-show { margin-top: 6px; padding-bottom: 16px; }
.edx .click-show .show-content { font-size: 14px; line-height: 1.6; color: var(--muted); max-height: 4.8em; overflow: hidden; }
.edx .click-show .show-content p { margin: 0 0 6px; }
.edx .click-show.show .show-content { max-height: none; }
.edx .read-more-btn { display: inline-flex; min-height: 32px; align-items: center; margin-top: 2px; font-size: 13.5px; font-weight: 700; color: var(--brand-ink); cursor: pointer; }
.edx .read-more-btn span:last-child { display: none; }
.edx .click-show.show .read-more-btn span:first-child { display: none; }
.edx .click-show.show .read-more-btn span:last-child { display: inline; }
.edx .ticket-discount { display: flex; align-items: center; gap: 6px; padding-bottom: 14px; margin-top: -6px; font-size: 13px; font-weight: 600; color: var(--te-ok, #0b7a3e); }
.edx .ticket-discount svg { flex: none; }
.edx .ticket-card p[class*="max_error_"] { margin: 0; padding-bottom: 0; font-size: 13px; font-weight: 600; color: #9f2318 !important; }
.edx .ticket-card p[class*="max_error_"]:not(:empty) { padding-bottom: 14px; }
.edx .ticket-card p[class*="max_error_"] + p[class*="max_error_"] { display: none; }

/* potongan harga di kanan: garis sobek vertikal + lubang atas/bawah */
.edx .ticket-card-foot {
  grid-column: 2; grid-row: 1 / span 8; position: relative;
  display: flex; flex-direction: column; justify-content: center; align-items: stretch; gap: 10px;
  padding: 16px 18px; border-left: 1.5px dashed var(--line-strong);
}
.edx .ticket-card-foot::before, .edx .ticket-card-foot::after {
  content: ""; position: absolute; left: -10px; width: 18px; height: 18px; border-radius: 50%; background: var(--notch); border: 1px solid var(--line);
}
.edx .ticket-card-foot::before { top: -10px; clip-path: inset(50% 0 0 0); }
.edx .ticket-card-foot::after { bottom: -10px; clip-path: inset(0 0 50% 0); }
.edx .ticket-card.is-picked .ticket-card-foot::before, .edx .ticket-card.is-picked .ticket-card-foot::after { border-color: var(--brand); }
/* tiket online (tanpa nama/deskripsi): satu baris saja */
.edx .ticket-card:not(:has(.ticket-card-head)) { grid-template-columns: minmax(0, 1fr); }
.edx .ticket-card:not(:has(.ticket-card-head)) .ticket-card-foot { grid-column: 1; grid-row: auto; flex-direction: row; justify-content: space-between; align-items: center; border-left: 0; }
.edx .ticket-card:not(:has(.ticket-card-head)) .ticket-card-foot::before,
.edx .ticket-card:not(:has(.ticket-card-head)) .ticket-card-foot::after { display: none; }
.edx .ticket-card-price { display: flex; flex-direction: column; gap: 2px; }
.edx .ticket-price-now { white-space: nowrap; font-size: 19px; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -.01em; }
.edx .ticket-price-free { color: var(--te-ok, #0b7a3e); }
.edx .ticket-price-old { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.edx .ticket-card-act { display: flex; flex-direction: column; align-items: stretch; gap: 8px; }
.edx .ticket-card-act:empty { display: none; }

/* tombol jumlah. Urutan elemen (-, input, +) dipakai script.js, jangan diubah. */
.edx .quantity-input { display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; width: 100%; max-width: none; height: 44px; padding: 0; border: 1px solid var(--field); border-radius: 10px; overflow: hidden; background: #fff; margin: 0; }
.edx .quantity-input button { width: 44px; height: 100%; padding: 0; border-radius: 0; border: 0; background: transparent; color: var(--ink); font-family: inherit; font-size: 20px; font-weight: 600; line-height: 1; cursor: pointer; }
.edx .quantity-input button:hover { background: var(--paper); }
.edx .quantity-input button:focus-visible { outline-offset: -2px !important; }
.edx .quantity-input input { width: 100%; min-width: 0; height: 100%; border: 0; padding: 0; text-align: center; background: transparent; font-family: inherit; font-size: 16px; font-weight: 700; color: var(--ink); -moz-appearance: textfield; font-variant-numeric: tabular-nums; }
.edx .quantity-input input::-webkit-outer-spin-button, .edx .quantity-input input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.edx .ticket-card.is-picked .quantity-input { border-color: var(--brand); }

/* status tiket */
.edx .ticket-badge { display: inline-flex; align-items: center; justify-content: center; min-height: 36px; padding: 6px 12px; border-radius: 8px; font-size: 13.5px; font-weight: 700; text-align: center; }
.edx .ticket-badge--soldout { background: var(--te-out-bg, #fde4e2); color: var(--te-out-ink, #9f2318); }
.edx .ticket-badge--soon { background: var(--te-warn-bg, #fff3d6); color: var(--te-warn-ink, #7a4a00); }
.edx .ticket-badge--ended { background: var(--paper); color: var(--ink-2); }
.edx .ticket-stock-low { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 5px 10px; border-radius: 6px; font-size: 12.5px; font-weight: 700; white-space: nowrap; }
.edx .ticket-stock-low::before { content: ""; width: 7px; height: 7px; border-radius: 50%; flex: none; }
.edx .ticket-card:has(.ticket-badge) .ticket-stock-low { display: none; }
.edx .ed-login-note { margin: -4px 0 12px; font-size: 13.5px; color: var(--muted); }
.edx .ed-login-note a { font-weight: 700; color: var(--brand-ink); }
.edx .ed-login-note ~ .ed-login-note { display: none; }

/* total + pesan */
.edx-summary { margin-top: 16px; padding: 18px; border-radius: 12px; background: var(--paper); }
.edx-summary__total { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.edx-summary__total span:first-child { font-size: 15px; font-weight: 600; color: var(--ink-2); }
.edx-summary__total strong { font-size: 22px; font-weight: 800; color: var(--ink); }
.edx-summary__note { margin: 10px 0 0; font-size: 13px; line-height: 1.5; color: var(--muted); text-align: center; }
.edx-status { display: flex; flex-direction: column; gap: 2px; margin-top: 16px; padding: 16px 18px; border-radius: 12px; background: var(--paper); }
.edx-status b { font-size: 15px; color: var(--ink); }
.edx-status span { font-size: 14px; color: var(--muted); }

/* lokasi */
.edx-venue { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.edx-venue__text { flex: 1 1 240px; min-width: 0; line-height: 1.45; }
.edx-venue__text b { display: block; font-size: 15.5px; color: var(--ink); }
.edx-venue__text small { display: block; font-size: 14px; color: var(--muted); }
.edx-venue__actions { display: flex; gap: 8px; flex-wrap: wrap; }
.edx-map { margin-top: 16px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); line-height: 0; }

/* bar bawah HP */
.edx-mbar { display: none; }

/* ---------- HP & tablet ---------- */
@media (max-width: 991.98px) {
  .edx-ticket__title { font-size: 22px; }
  .edx-share { margin-top: 10px; }
  .edx-mbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 1040; display: flex; align-items: center; gap: 12px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line);
    transition: transform .2s ease;
  }
  .edx-mbar[hidden] { display: none; }
  .edx-mbar.is-away { transform: translateY(110%); }
  .edx-mbar__info { flex: 1; min-width: 0; line-height: 1.25; }
  .edx-mbar__info small { display: block; font-size: 12.5px; color: var(--muted); }
  .edx-mbar__info strong { display: block; font-size: 18px; font-weight: 800; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .edx-mbar .edx-btn { flex: none; min-width: 150px; height: 48px; }
  .edx-mbar .edx-btn[hidden] { display: none; }
  body.has-ed-mbar .page-main { padding-bottom: 76px; }
}
@media (max-width: 767.98px) {
  .edx { padding-top: 14px; }
  .edx-poster { border-radius: 12px; }
  .edx-section { padding: 20px 16px 22px; border-radius: 12px; }
  .edx-section__title { font-size: 18px; }
  .edx-ticket__main { padding: 18px 16px 16px; }
  .edx-ticket__stub { padding: 16px 16px 18px; }
  .edx-lineup { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* kartu tiket: potongan harga pindah ke bawah, garis sobek horizontal */
  .edx .ticket-card { grid-template-columns: minmax(0, 1fr); }
  .edx .ticket-card > * { padding-left: 16px; padding-right: 16px; }
  .edx .ticket-card-head { padding-top: 16px; }
  .edx .ticket-card-foot { grid-column: 1; grid-row: auto; flex-direction: row; align-items: center; justify-content: space-between; border-left: 0; border-top: 1.5px dashed var(--line-strong); padding: 14px 16px; }
  .edx .ticket-card-foot::before { top: -10px; left: -10px; clip-path: inset(0 0 0 50%); }
  .edx .ticket-card-foot::after { top: -10px; bottom: auto; left: auto; right: -10px; clip-path: inset(0 50% 0 0); }
  .edx .ticket-card-act { flex: 0 1 160px; min-width: 0; }
  .edx .ticket-price-now { font-size: 17px; }
  .edx .ticket-card .ticket-card-foot + .ticket-discount, .edx .ticket-card .ticket-card-foot ~ p { padding-top: 0; }
  .edx .ticket-discount { margin-top: 0; }
  .edx-venue__actions { width: 100%; }
  .edx-venue__actions .edx-btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) { .edx .ticket-card, .edx-mbar, .edx-more svg, .edx-btn { transition: none; } }

/* ---------- bakal hadir (tombol + dialog daftar & cara kerja) ---------- */
.edx-going {
  display: flex; align-items: center; gap: 8px; width: 100%; margin-top: 16px; padding: 10px 12px;
  background: var(--brand-soft); border: 0; border-radius: var(--te-r, 12px); cursor: pointer; text-align: left;
  font: inherit; color: var(--ink);
}
.edx-going .hv-going__face { border-color: var(--brand-soft); }
.edx-going__label {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); font-size: 13.5px; font-weight: 700; white-space: nowrap;
}
.edx-going__label svg { width: 14px; height: 14px; }
.edx-going:hover .edx-going__label { border-color: var(--line-strong); }
.edx-going:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

.edx-att {
  /* posisi ditulis lengkap: reset "* { margin: 0 }" di style.css membuat dialog menempel di kiri atas */
  position: fixed; inset: 0; margin: auto; height: fit-content;
  width: min(520px, calc(100vw - 32px)); max-height: min(680px, calc(100dvh - 32px)); padding: 0;
  border: 0; border-radius: var(--te-r-lg, 16px); background: #fff; color: var(--ink);
  font-family: var(--te-font); overflow: hidden; flex-direction: column;
}
.edx-att[open] { display: flex; }
.edx-att::backdrop { background: rgba(13, 27, 46, .55); }
.edx-att__head { position: relative; display: flex; align-items: center; justify-content: center; min-height: 56px; padding: 12px 52px; border-bottom: 1px solid var(--line); flex: none; }
.edx-att__head--end { justify-content: flex-end; border-bottom: 0; min-height: 48px; padding: 8px 8px 0; }
.edx-att__title { margin: 0; font-size: 16px; font-weight: 700; }
.edx-att__x {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border: 0; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer;
}
.edx-att__head:not(.edx-att__head--end) .edx-att__x { position: absolute; right: 8px; top: 8px; }
.edx-att__x svg { width: 20px; height: 20px; }
.edx-att__x:hover { background: var(--paper); }
.edx-att__x--sm { width: 32px; height: 32px; }
.edx-att__x--sm svg { width: 16px; height: 16px; }
.edx-att__tip { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 8px 6px 20px; background: var(--brand-soft); flex: none; }
.edx-att__tip[hidden] { display: none; }
.edx-att__tiplink { display: inline-flex; align-items: center; gap: 6px; padding: 6px 0; border: 0; background: none; color: var(--brand-ink); font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; }
.edx-att__tiplink svg { width: 14px; height: 14px; }
.edx-att__tiplink:hover { text-decoration: underline; }
.edx-att__body { padding: 18px 20px 22px; overflow-y: auto; overscroll-behavior: contain; }
.edx-att__count { margin: 0 0 12px; font-size: 15px; font-weight: 600; color: var(--ink); }
.edx-att__list { list-style: none; margin: 0; padding: 0; }
.edx-att__list li, .edx-att__more { display: flex; align-items: center; gap: 14px; margin: 0; padding: 8px 0; font-size: 15px; color: var(--ink); }
.edx-att__more { color: var(--muted); border-top: 1px solid var(--line); margin-top: 6px; padding-top: 14px; }
.edx-att__more b { color: var(--ink); }
.hv-going__face.edx-att__ava { width: 44px; height: 44px; margin: 0; border: 0; font-size: 17px; font-weight: 600; flex: none; }
.hv-going__face--blank.edx-att__ava svg { width: 24px; height: 24px; }

.edx-att--how { width: min(480px, calc(100vw - 32px)); }
.edx-att--how .edx-att__body { padding-top: 0; }
.edx-att__sec { padding: 18px 0; border-bottom: 1px solid var(--line); }
.edx-att__sec:first-child { padding-top: 0; }
.edx-att__sec:last-child { border-bottom: 0; padding-bottom: 0; }
.edx-att__h { margin: 0 0 12px; font-size: 17px; font-weight: 700; line-height: 1.35; }
.edx-att__sec p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.edx-att__demo { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; padding: 10px 12px; background: var(--brand-soft); border-radius: var(--te-r, 12px); }
.edx-att__demo .hv-going__face { border-color: var(--brand-soft); }
.edx-att__cta { display: inline-flex; margin: 14px 0; }
.edx-att__steps { margin: 0; padding-left: 20px !important; font-size: 14px; line-height: 1.7; color: var(--ink-2); }

@media (max-width: 575.98px) {
  .edx-att { width: 100vw; max-width: 100vw; max-height: 88dvh; margin: auto 0 0 !important; top: auto; bottom: 0; border-radius: 16px 16px 0 0; }
  .edx-att__body { padding: 16px 16px 20px; }
  .edx-att__tip { padding-left: 16px; }
}
