/* ============================================================
   EVENTS + MEMBERSHIPS UI — shared components (2026-08-12)
   Loaded by: events.html, memberships.html, index-apple-preview.html,
   index.html. Depends on apple.css (or the homepage's inline copy)
   for .dash-phone / .dash-screen / .dash-notch / .reveal / tokens.
   All classes here are new + namespaced: ticketui, evpage, evticker,
   appui, courseui, commui, credui, ev-*.
   ============================================================ */

/* ---------- Layout: alternating feature split ---------- */
.ev-split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; text-align: left; }
.ev-split .eyebrow { margin-bottom: 10px; }
.ev-split .section-headline { font-size: clamp(30px, 4.2vw, 44px); }
.ev-split .subhead { margin-left: 0; font-size: clamp(18px, 2.2vw, 22px); margin-top: 14px; }
.ev-split__media { display: flex; justify-content: center; }
.ev-split--rev .ev-split__media { order: 2; }
.ev-split--rev .ev-split__copy { order: 1; }
.ev-split .cta-row { justify-content: flex-start; }
@media (max-width: 933px) {
  .ev-split { grid-template-columns: 1fr; gap: 44px; text-align: center; }
  .ev-split--rev .ev-split__media { order: 0; }
  .ev-split .subhead { margin-left: auto; margin-right: auto; }
  .ev-split .cta-row { justify-content: center; }
  .ev-check { text-align: left; }
}

/* Checkmark feature list */
.ev-check { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 13px; }
.ev-check li { position: relative; padding-left: 34px; font-size: 17px; color: var(--color-text-secondary, #6e6e73); line-height: 1.5; }
.ev-check li b { color: var(--color-text, #1d1d1f); font-weight: 600; }
.ev-check li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: #e8f2ff url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%230071e3" stroke-width="3.4" stroke-linecap="round" stroke-linejoin="round"><polyline points="5 12.5 10 17.5 19 7"/></svg>') center/12px no-repeat;
}

/* ============================================================
   TICKETUI — live QR check-in phone screen (dark, premium)
   ============================================================ */
.dash-phone--ticket .dash-screen { background: radial-gradient(130% 80% at 50% 0%, #16233f 0%, #0a0d14 62%); }
.ticketui { min-height: 600px; padding: 50px 18px 20px; color: #f5f5f7; display: flex; flex-direction: column; font-feature-settings: "ss01"; }
.ticketui__live { display: inline-flex; align-items: center; gap: 7px; align-self: flex-start; font-size: 10.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #6ee7a0; background: rgba(30,158,90,.16); border: 1px solid rgba(110,231,160,.25); padding: 5px 11px; border-radius: 20px; }
.ticketui__live span { width: 7px; height: 7px; border-radius: 50%; background: #34c759; box-shadow: 0 0 0 0 rgba(52,199,89,.55); animation: tkpulse 2s ease-out infinite; }
@keyframes tkpulse { 0% { box-shadow: 0 0 0 0 rgba(52,199,89,.55); } 70% { box-shadow: 0 0 0 8px rgba(52,199,89,0); } 100% { box-shadow: 0 0 0 0 rgba(52,199,89,0); } }
.ticketui__event { font-size: 21px; font-weight: 700; letter-spacing: -.3px; margin-top: 14px; line-height: 1.15; }
.ticketui__meta { font-size: 12px; color: #9aa3b4; margin-top: 4px; }
.ticketui__count { margin-top: 14px; font-size: 12.5px; color: #9aa3b4; }
.ticketui__count b { font-size: 17px; color: #fff; font-weight: 700; }
.ticketui__bar { margin-top: 8px; height: 6px; border-radius: 4px; background: rgba(255,255,255,.12); overflow: hidden; }
.ticketui__bar i { display: block; height: 100%; width: 85%; border-radius: 4px; background: linear-gradient(90deg, #0a84ff, #34c759); transition: width 1.4s cubic-bezier(0.22, 0.61, 0.36, 1) .35s; }
html.js .reveal:not(.is-visible) .ticketui__bar i { width: 6%; }
.ticketui__scanlabel { margin-top: 18px; font-size: 10px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #7c8698; text-align: center; }
/* The ticket being scanned */
.ticketui__ticket { position: relative; margin-top: 9px; background: #fff; border-radius: 18px; padding: 16px 16px 13px; color: #1d1d1f; overflow: hidden; box-shadow: 0 18px 44px -16px rgba(0,0,0,.65); }
.ticketui__admit { font-size: 10px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; color: #86868b; text-align: center; }
.ticketui__qrwrap { position: relative; width: 108px; height: 108px; margin: 10px auto 0; }
.ticketui__qr { width: 100%; height: 100%; display: block; }
.ticketui__corner { position: absolute; width: 18px; height: 18px; border: 2.5px solid #0a84ff; opacity: .9; }
.ticketui__corner--tl { top: -7px; left: -7px; border-right: 0; border-bottom: 0; border-top-left-radius: 6px; }
.ticketui__corner--tr { top: -7px; right: -7px; border-left: 0; border-bottom: 0; border-top-right-radius: 6px; }
.ticketui__corner--bl { bottom: -7px; left: -7px; border-right: 0; border-top: 0; border-bottom-left-radius: 6px; }
.ticketui__corner--br { bottom: -7px; right: -7px; border-left: 0; border-top: 0; border-bottom-right-radius: 6px; }
.ticketui__scan { position: absolute; left: -6px; right: -6px; top: 0; height: 3px; border-radius: 3px; background: linear-gradient(90deg, rgba(10,132,255,0), rgba(10,132,255,.95), rgba(10,132,255,0)); box-shadow: 0 0 14px 2px rgba(10,132,255,.55); animation: tkscan 2.6s ease-in-out infinite; }
@keyframes tkscan { 0%, 100% { transform: translateY(2px); } 50% { transform: translateY(103px); } }
/* perforation */
.ticketui__perf { position: relative; margin: 13px -16px 10px; border-top: 2px dashed #e3e5ea; }
.ticketui__perf::before, .ticketui__perf::after { content: ""; position: absolute; top: -8px; width: 16px; height: 16px; border-radius: 50%; background: #0b0f18; }
.ticketui__perf::before { left: -8px; } .ticketui__perf::after { right: -8px; }
.ticketui__trow { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ticketui__tname { font-size: 13px; font-weight: 600; color: #1d1d1f; }
.ticketui__tsub { font-size: 10.5px; color: #86868b; margin-top: 1px; }
.ticketui__tok { display: inline-flex; align-items: center; gap: 5px; font-size: 10.5px; font-weight: 700; color: #15803d; background: #e7f7ee; padding: 4px 10px; border-radius: 20px; white-space: nowrap; }
html.js .reveal .ticketui__tok { opacity: 0; transform: scale(.6); }
html.js .reveal.is-visible .ticketui__tok { opacity: 1; transform: scale(1); transition: opacity .4s ease 1.1s, transform .5s cubic-bezier(.2,1.4,.4,1) 1.1s; }
/* recent check-in feed */
.ticketui__feed { margin-top: 13px; display: grid; gap: 7px; }
.ticketui__row { display: flex; align-items: center; gap: 9px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.07); border-radius: 12px; padding: 8px 11px; }
html.js .reveal .ticketui__row { opacity: 0; transform: translateY(10px); }
html.js .reveal.is-visible .ticketui__row { opacity: 1; transform: none; transition: opacity .55s ease, transform .55s cubic-bezier(0.22,0.61,0.36,1); }
html.js .reveal.is-visible .ticketui__row:nth-child(1) { transition-delay: 1.3s; }
html.js .reveal.is-visible .ticketui__row:nth-child(2) { transition-delay: 1.55s; }
html.js .reveal.is-visible .ticketui__row:nth-child(3) { transition-delay: 1.8s; }
.ticketui__av { width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: #fff; flex-shrink: 0; }
.ticketui__who { flex: 1; min-width: 0; font-size: 12px; font-weight: 600; color: #eef1f6; }
.ticketui__who span { display: block; font-size: 10px; font-weight: 500; color: #8a93a6; margin-top: 1px; }
.ticketui__when { font-size: 10px; color: #6ee7a0; font-weight: 600; white-space: nowrap; }

/* ============================================================
   EVPAGE — your event page, framed in a mini browser
   ============================================================ */
.evpage { width: min(460px, 100%); background: #fff; border-radius: 22px; overflow: hidden; text-align: left; box-shadow: 0 30px 80px rgba(0,0,0,.16), 0 2px 8px rgba(0,0,0,.05); border: 1px solid var(--color-divider-light, #e8e8ed); transition: transform .45s cubic-bezier(0.22,0.61,0.36,1), box-shadow .45s ease; }
.evpage:hover { transform: translateY(-6px); box-shadow: 0 44px 96px rgba(0,0,0,.2), 0 2px 8px rgba(0,0,0,.05); }
.evpage__bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; background: #f5f5f7; border-bottom: 1px solid #e8e8ed; }
.evpage__bar i { width: 9px; height: 9px; border-radius: 50%; background: #d2d2d7; }
.evpage__bar i:nth-child(1) { background: #ff5f57; } .evpage__bar i:nth-child(2) { background: #febc2e; } .evpage__bar i:nth-child(3) { background: #28c840; }
.evpage__url { margin-left: 8px; flex: 1; font-size: 11px; color: #86868b; background: #fff; border-radius: 7px; padding: 4px 10px; border: 1px solid #e8e8ed; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.evpage__hero { position: relative; height: 150px; background: linear-gradient(180deg, #2b62d9 0%, #16233f 78%); overflow: hidden; }
.evpage__hero::before { content: ""; position: absolute; inset: auto -12% -46% -12%; height: 82%; background: #0b1020; border-radius: 48% 52% 0 0 / 96% 88% 0 0; opacity: .92; }
.evpage__hero::after { content: ""; position: absolute; top: -34px; right: 18%; width: 130px; height: 130px; border-radius: 50%; background: radial-gradient(circle, rgba(255,214,140,.85) 0%, rgba(255,214,140,0) 68%); }
.evpage__chip { position: absolute; top: 13px; left: 13px; z-index: 2; font-size: 9.5px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #1d1d1f; background: rgba(255,255,255,.92); padding: 5px 10px; border-radius: 8px; }
.evpage__date { position: absolute; left: 15px; bottom: 12px; z-index: 2; color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; opacity: .95; }
.evpage__body { padding: 16px 18px 18px; }
.evpage__title { font-size: 19px; font-weight: 700; letter-spacing: -.2px; color: #1d1d1f; }
.evpage__sub { font-size: 13px; color: #6e6e73; margin-top: 4px; line-height: 1.45; }
.evpage__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.evpage__price { font-size: 17px; font-weight: 700; color: #1d1d1f; }
.evpage__price span { font-size: 12px; font-weight: 500; color: #86868b; }
.evpage__social { display: flex; align-items: center; }
.evpage__avs { display: flex; }
.evpage__avs i { width: 24px; height: 24px; border-radius: 50%; border: 2px solid #fff; margin-left: -7px; display: flex; align-items: center; justify-content: center; font-size: 9.5px; font-weight: 700; color: #fff; }
.evpage__avs i:first-child { margin-left: 0; }
.evpage__going { font-size: 11.5px; color: #6e6e73; font-weight: 600; margin-left: 8px; }
.evpage__btn { display: block; width: 100%; margin-top: 14px; text-align: center; font-size: 14.5px; font-weight: 600; color: #fff; background: var(--color-accent, #0071e3); border-radius: 12px; padding: 12px 0; }
.evpage__note { margin-top: 9px; text-align: center; font-size: 10.5px; color: #9aa3b4; }

/* ============================================================
   EVTICKER — marquee of event types (two rows, opposite drift)
   ============================================================ */
.evticker { overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; margin-top: var(--space-12, 48px); -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.evticker__row { display: flex; gap: 12px; width: max-content; animation: evdrift 42s linear infinite; }
.evticker__row--rev { animation-name: evdriftrev; animation-duration: 48s; }
@keyframes evdrift { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes evdriftrev { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.evticker__chip { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; color: var(--color-text, #1d1d1f); background: #fff; border: 1px solid var(--color-divider-light, #e8e8ed); border-radius: 980px; padding: 11px 20px; box-shadow: 0 2px 10px rgba(0,0,0,.045); white-space: nowrap; }
.evticker__chip span { font-size: 16px; }
.section:not(.section--alt) .evticker__chip { background: var(--color-bg-alt, #f5f5f7); }
.section--alt .evticker__chip { background: #fff; }

/* ============================================================
   APPUI — your own branded member app (phone home screen)
   ============================================================ */
.dash-phone--app .dash-screen { background: #f4f6fb; }
.appui { display: flex; flex-direction: column; min-height: 600px; background: #f4f6fb; font-feature-settings: "ss01"; }
.appui__hero { padding: 48px 18px 22px; background: linear-gradient(165deg, #1d1d1f 0%, #17324f 100%); color: #fff; border-bottom-left-radius: 26px; border-bottom-right-radius: 26px; box-shadow: 0 12px 26px -12px rgba(13,32,54,.6); }
.appui__top { display: flex; align-items: center; justify-content: space-between; }
.appui__brand { display: flex; align-items: center; gap: 9px; }
.appui__logo { width: 32px; height: 32px; border-radius: 10px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; letter-spacing: .4px; }
.appui__bname { font-size: 13.5px; font-weight: 700; letter-spacing: .2px; }
.appui__bsub { font-size: 9.5px; color: rgba(255,255,255,.66); letter-spacing: .5px; text-transform: uppercase; margin-top: 1px; }
.appui__avatar { width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.16); border: 1.5px solid rgba(255,255,255,.38); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
.appui__greet { margin-top: 18px; font-size: 12px; color: rgba(255,255,255,.72); }
.appui__name { font-size: 22px; font-weight: 700; letter-spacing: -.3px; margin-top: 2px; }
/* continue-course card overlapping the hero */
.appui__cont { margin: -20px 16px 0; position: relative; z-index: 2; background: #fff; border-radius: 17px; padding: 14px 15px; box-shadow: 0 12px 30px -14px rgba(20,40,90,.28), 0 0 0 1px rgba(20,40,90,.04); display: flex; align-items: center; gap: 13px; }
.appui__ring { position: relative; width: 46px; height: 46px; flex-shrink: 0; }
.appui__ring svg { width: 46px; height: 46px; transform: rotate(-90deg); }
.appui__ring .bgc { fill: none; stroke: #e8eef9; stroke-width: 4.4; }
.appui__ring .fgc { fill: none; stroke: #0071e3; stroke-width: 4.4; stroke-linecap: round; stroke-dasharray: 126; stroke-dashoffset: 40; transition: stroke-dashoffset 1.3s cubic-bezier(0.22,0.61,0.36,1) .5s; }
html.js .reveal:not(.is-visible) .appui__ring .fgc { stroke-dashoffset: 126; }
.appui__ring b { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; color: #1d1d1f; }
.appui__cont-t { font-size: 13.5px; font-weight: 600; color: #1e293b; letter-spacing: -.1px; }
.appui__cont-s { font-size: 11px; color: #8a93a6; margin-top: 2px; }
.appui__cont-go { margin-left: auto; width: 30px; height: 30px; border-radius: 50%; background: #eef3ff; color: #0071e3; display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 700; flex-shrink: 0; }
.appui__label { padding: 18px 16px 6px; font-size: 10.5px; font-weight: 700; letter-spacing: .7px; text-transform: uppercase; color: #9aa3b4; }
.appui__tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 16px; }
.appui__tile { position: relative; background: #fff; border-radius: 15px; padding: 13px; box-shadow: 0 4px 14px -10px rgba(20,40,90,.22), 0 0 0 1px rgba(20,40,90,.035); }
.appui__tic { width: 34px; height: 34px; border-radius: 11px; display: flex; align-items: center; justify-content: center; font-size: 16px; margin-bottom: 9px; }
.appui__tic--course { background: #eef3ff; color: #2563eb; }
.appui__tic--comm { background: #f1eefe; color: #6d5bd8; }
.appui__tic--event { background: #fff2e8; color: #ea7a3a; }
.appui__tic--msg { background: #edfaf1; color: #16a34a; }
.appui__tname { font-size: 13px; font-weight: 600; color: #1e293b; letter-spacing: -.1px; }
.appui__tsub { font-size: 10.5px; color: #9aa3b4; margin-top: 2px; }
.appui__badge { position: absolute; top: 11px; right: 11px; min-width: 17px; height: 17px; padding: 0 5px; border-radius: 9px; background: #ff3b30; color: #fff; font-size: 9.5px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.appui__tabbar { margin-top: auto; display: flex; justify-content: space-around; align-items: center; background: rgba(255,255,255,.9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); border-top: 1px solid #e8e8ed; padding: 11px 8px 20px; }
.appui__tab { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 8.5px; font-weight: 600; color: #9aa3b4; letter-spacing: .2px; }
.appui__tab i { font-size: 17px; font-style: normal; line-height: 1; }
.appui__tab--on { color: #0071e3; }

/* ============================================================
   COURSEUI — course player phone screen
   ============================================================ */
.dash-phone--course .dash-screen { background: #fff; }
.courseui { display: flex; flex-direction: column; min-height: 600px; background: #fff; font-feature-settings: "ss01"; }
.courseui__video { position: relative; height: 168px; margin: 46px 14px 0; border-radius: 16px; overflow: hidden; background: linear-gradient(135deg, #17324f 0%, #0b0d12 100%); display: flex; align-items: center; justify-content: center; }
.courseui__video::before { content: ""; position: absolute; top: -30px; right: -20px; width: 150px; height: 150px; border-radius: 50%; background: radial-gradient(circle, rgba(10,132,255,.4) 0%, rgba(10,132,255,0) 70%); }
.courseui__play { position: relative; z-index: 2; width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.94); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 26px rgba(0,0,0,.4); }
.courseui__play::before { content: ""; margin-left: 4px; border-style: solid; border-width: 9px 0 9px 15px; border-color: transparent transparent transparent #0071e3; }
.courseui__vlabel { position: absolute; left: 13px; bottom: 11px; z-index: 2; color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .04em; }
.courseui__vlabel span { display: block; font-size: 9.5px; font-weight: 500; color: rgba(255,255,255,.72); margin-top: 2px; letter-spacing: .08em; text-transform: uppercase; }
.courseui__head { padding: 14px 16px 0; }
.courseui__title { font-size: 16.5px; font-weight: 700; letter-spacing: -.2px; color: #1d1d1f; }
.courseui__prog { display: flex; align-items: center; gap: 9px; margin-top: 8px; }
.courseui__prog span { font-size: 10.5px; font-weight: 600; color: #86868b; white-space: nowrap; }
.courseui__pbar { flex: 1; height: 5px; border-radius: 4px; background: #eef1f6; overflow: hidden; }
.courseui__pbar i { display: block; height: 100%; width: 68%; border-radius: 4px; background: #0071e3; transition: width 1.2s cubic-bezier(0.22,0.61,0.36,1) .4s; }
html.js .reveal:not(.is-visible) .courseui__pbar i { width: 4%; }
.courseui__list { padding: 12px 14px 16px; display: grid; gap: 8px; }
.courseui__less { display: flex; align-items: center; gap: 11px; background: #f8f9fb; border-radius: 13px; padding: 11px 12px; border: 1px solid #eef1f6; }
.courseui__less--on { background: #eef5ff; border-color: #d8e8ff; }
.courseui__ck { width: 24px; height: 24px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; }
.courseui__ck--done { background: #e7f7ee; color: #15803d; }
.courseui__ck--now { background: #0071e3; color: #fff; box-shadow: 0 0 0 4px rgba(0,113,227,.16); }
.courseui__ck--lock { background: #eef1f6; color: #b5bcc9; }
.courseui__ln { flex: 1; min-width: 0; font-size: 12.5px; font-weight: 600; color: #1e293b; }
.courseui__ln span { display: block; font-size: 10px; font-weight: 500; color: #9aa3b4; margin-top: 1px; }
.courseui__lt { font-size: 10px; color: #9aa3b4; font-weight: 600; }

/* ============================================================
   COMMUI — private community feed phone screen
   ============================================================ */
.dash-phone--comm .dash-screen { background: #f4f6fb; }
.commui { display: flex; flex-direction: column; min-height: 600px; background: #f4f6fb; font-feature-settings: "ss01"; position: relative; }
.commui__hdr { padding: 48px 16px 13px; background: #fff; border-bottom: 1px solid #eef1f6; }
.commui__hrow { display: flex; align-items: center; justify-content: space-between; }
.commui__title { font-size: 18px; font-weight: 700; letter-spacing: -.25px; color: #1d1d1f; }
.commui__title span { display: block; font-size: 10.5px; font-weight: 600; color: #9aa3b4; letter-spacing: .4px; text-transform: uppercase; margin-top: 2px; }
.commui__avs { display: flex; align-items: center; }
.commui__avs i { width: 26px; height: 26px; border-radius: 50%; border: 2px solid #fff; margin-left: -8px; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; color: #fff; }
.commui__avs i:first-child { margin-left: 0; }
.commui__avs em { font-style: normal; font-size: 10.5px; font-weight: 700; color: #6e6e73; margin-left: 7px; }
.commui__feed { padding: 13px 13px 16px; display: grid; gap: 10px; align-content: start; }
.commui__post { background: #fff; border-radius: 16px; padding: 13px 14px; box-shadow: 0 4px 14px -10px rgba(20,40,90,.2), 0 0 0 1px rgba(20,40,90,.035); }
.commui__pin { display: inline-flex; align-items: center; gap: 5px; font-size: 9.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #b45309; background: #fef3e2; padding: 3px 9px; border-radius: 14px; margin-bottom: 9px; }
.commui__who { display: flex; align-items: center; gap: 9px; }
.commui__pav { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: #fff; flex-shrink: 0; }
.commui__pname { font-size: 12.5px; font-weight: 700; color: #1e293b; }
.commui__pname span { display: block; font-size: 10px; font-weight: 500; color: #9aa3b4; margin-top: 1px; }
.commui__txt { font-size: 12.5px; color: #3d4453; line-height: 1.5; margin-top: 9px; }
.commui__acts { display: flex; gap: 14px; margin-top: 11px; padding-top: 10px; border-top: 1px solid #f1f3f7; }
.commui__act { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; color: #6e6e73; }
.commui__act--hot { color: #e0245e; }
.commui__fab { position: absolute; right: 16px; bottom: 24px; width: 46px; height: 46px; border-radius: 50%; background: var(--color-accent, #0071e3); color: #fff; font-size: 22px; font-weight: 600; display: flex; align-items: center; justify-content: center; box-shadow: 0 12px 26px -8px rgba(0,113,227,.65); }

/* ============================================================
   CREDUI — certificate card
   ============================================================ */
.credui { position: relative; width: min(480px, 100%); background: linear-gradient(160deg, #ffffff 0%, #f7f9fd 100%); border: 1px solid #e3e8f2; border-radius: 20px; padding: 30px 32px 26px; text-align: center; box-shadow: 0 26px 64px -18px rgba(20,40,90,.22); overflow: hidden; }
.credui::before { content: ""; position: absolute; inset: 9px; border: 1.5px solid #dbe4f5; border-radius: 14px; pointer-events: none; }
.credui__kicker { font-size: 10px; font-weight: 800; letter-spacing: .24em; text-transform: uppercase; color: #8a93a6; }
.credui__biz { margin-top: 10px; font-size: 13px; font-weight: 700; color: #17324f; letter-spacing: .06em; text-transform: uppercase; }
.credui__title { font-size: 12px; color: #9aa3b4; margin-top: 14px; }
.credui__name { font-family: Georgia, 'Times New Roman', serif; font-style: italic; font-size: 30px; color: #1d1d1f; margin-top: 4px; letter-spacing: .01em; }
.credui__rule { width: 150px; height: 1px; background: #d8dfec; margin: 12px auto; }
.credui__course { font-size: 13.5px; font-weight: 600; color: #3d4453; }
.credui__date { font-size: 11px; color: #9aa3b4; margin-top: 4px; }
.credui__seal { position: absolute; right: 22px; bottom: 20px; width: 58px; height: 58px; border-radius: 50%; background: radial-gradient(circle at 34% 30%, #4996f0, #0b5cc4 72%); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 21px; box-shadow: 0 8px 20px -6px rgba(11,92,196,.55); }
.credui__seal::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; border: 1.5px dashed rgba(255,255,255,.55); }
.credui__shine { position: absolute; top: 0; bottom: 0; width: 46%; background: linear-gradient(105deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.7) 50%, rgba(255,255,255,0) 100%); transform: skewX(-18deg); left: -60%; animation: credshine 5.5s ease-in-out infinite; pointer-events: none; }
@keyframes credshine { 0%, 55% { left: -60%; } 85%, 100% { left: 130%; } }

/* ---------- After-the-event chat phone reuses .smsui from apple.css ---------- */

/* ---------- Count-up number helper ---------- */
.ev-num b, [data-countup] { font-variant-numeric: tabular-nums; }

/* ---------- Small print / claim strip ---------- */
.ev-onlyband { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: var(--space-8, 32px); }
.ev-onlyband span { font-size: 14px; font-weight: 600; color: var(--color-text-secondary, #6e6e73); background: #fff; border: 1px solid var(--color-divider-light, #e8e8ed); border-radius: 980px; padding: 9px 18px; box-shadow: 0 2px 10px rgba(0,0,0,.04); }

/* ---------- Reduced motion: freeze everything gracefully ---------- */
@media (prefers-reduced-motion: reduce) {
  .ticketui__live span, .ticketui__scan, .evticker__row, .credui__shine { animation: none !important; }
  .ticketui__bar i, .courseui__pbar i, .appui__ring .fgc, .ticketui__tok, .ticketui__row, .evpage { transition: none !important; }
  html.js .reveal .ticketui__tok, html.js .reveal .ticketui__row { opacity: 1; transform: none; }
  html.js .reveal:not(.is-visible) .ticketui__bar i { width: 85%; }
  html.js .reveal:not(.is-visible) .courseui__pbar i { width: 68%; }
  html.js .reveal:not(.is-visible) .appui__ring .fgc { stroke-dashoffset: 40; }
  .ticketui__scan { top: 50%; }
}
