.cc-section { margin: 8px 0 24px; color: #302b29; }
.cc-section[hidden] { display: none; }
.cc-heading,.cc-card-foot,.cc-steps,.cc-tags,.cc-platform-tabs { display: flex; align-items: center; gap: 10px; }
.cc-heading { justify-content: space-between; margin-bottom: 14px; }
.cc-heading h2,.cc-heading p,.cc-wallet p,.cc-hero p,.cc-modal p { margin: 0; }
.cc-heading p,.cc-card small,.cc-wallet p { color: #73655e; font-size: 13px; }
.cc-platform-pill,.cc-brand,.cc-tag,.cc-badge,.cc-claim,.cc-platform-tabs button { border-radius: 99px; padding: 5px 10px; font-weight: 700; font-size: 12px; }
.cc-platform-pill { background: #fff1dd; color: #9d4317; }
.cc-platform-tabs { flex-wrap: wrap; margin: 12px 0; }
.cc-platform-tabs button { border: 1px solid #eadacf; background: white; color: #603d2c; }
.cc-platform-tabs button[aria-pressed=true],.cc-claim { background: #9d351b; color: white; }
.cc-grid { display: grid; grid-template-columns: 1fr; gap: 12px; }
.cc-card { display: grid; text-align: left; justify-items: start; gap: 5px; min-width: 0; padding: 17px; border-radius: 18px; border: 1px solid #ecd8c8; background: linear-gradient(125deg,#fff 46%,#fff4e5); box-shadow: 0 4px 13px #5a38230a; cursor: pointer; }
.cc-card:hover,.cc-card:focus-visible { border-color: #c7774c; }
.cc-card strong { font-size: 18px; color: #39291f; }
.cc-card-foot { width: 100%; justify-content: space-between; }
.cc-card-foot b { color: #a7391a; background: #ffead7; border-radius: 9px; padding: 2px 9px; font-size: 23px; }
.cc-badge { color: white; border-radius: 6px; padding: 2px 8px; }
.cc-tone-red { background: #b62330; }
.cc-tone-orange { background: #a04116; }
.cc-tone-purple { background: #70459a; }
@media (min-width:560px) { .cc-grid { grid-template-columns: repeat(2,minmax(0,1fr)); } }
@media (min-width:768px) { .cc-grid { grid-template-columns: repeat(3,minmax(0,1fr)); } }

.cc-locked { overflow: hidden; }
.cc-landing,.cc-modal,.cc-wx-guide-overlay { box-sizing: border-box; color: #352e2a; font-family: inherit; border: 0; }
.cc-landing::backdrop,.cc-modal::backdrop { background: #201c22a8; }
.cc-landing { position: fixed; inset: 0; width: 100%; max-width: 100%; min-height: 100vh; min-height: 100dvh; max-height: 100dvh; margin: auto; padding: 0; overflow: auto; overscroll-behavior: contain; background: #fff5e3; }
.cc-landing[open] { display: flex; flex-direction: column; }
.cc-tpl-a { background: linear-gradient(175deg,#8bccff,#eaf3fc 46%,#f6f6fa 74%); }
.cc-back { position: absolute; top: calc(14px + env(safe-area-inset-top)); left: 15px; border: 0; border-radius: 99px; padding: 5px 10px; background: #ffffffeb; color: #52352d; }
.cc-hero { padding: calc(72px + env(safe-area-inset-top)) 20px 35px; text-align: center; }
.cc-hero h2 { font-size: clamp(30px,8vw,42px); margin: 12px 0 6px; line-height: 1.15; font-weight: 900; letter-spacing: -.04em; }
.cc-tpl-b .cc-hero { color: white; background: radial-gradient(ellipse at 100% 0,#ffb04a,transparent 65%),linear-gradient(125deg,#c82e20,#f05622); }
.cc-tpl-a .cc-hero { color: #17385f; }
.cc-brand { display: inline-block; background: white; color: #275c86; }
.cc-tags { justify-content: center; gap: 0; width: fit-content; margin: 12px auto !important; padding-right: 12px; border-radius: 99px; overflow: hidden; background: #fff5df; color: #914329; font-size: 13px; }
.cc-tags b { padding: 4px 12px; margin-right: 8px; background: #df4c2a; color: white; }
.cc-content { padding: 16px; flex: 1; }
.cc-promo,.cc-steps { padding: 11px; text-align: center; border-radius: 12px; font-size: 14px; }
.cc-promo { background: #ffdfd2; color: #9d301e; font-weight: bold; }
.cc-steps { justify-content: center; flex-wrap: wrap; margin-bottom: 12px; gap: 14px; }
.cc-steps i,.cc-steps b { font-style: normal; background: #463629; color: white; padding: 2px 6px; font-size: 12px; border-radius: 50%; }
.cc-steps b { background: #eb5626; border-radius: 4px; }
.cc-wallet { position: relative; padding: 25px 16px 17px; background: white; border-radius: 20px; box-shadow: 0 7px 25px #6733170f; }
.cc-wallet h3 { margin: 10px 0 4px; font-size: 21px; }
.cc-tag { position: absolute; top: 0; right: 0; background: #ffe5c3; color: #8e3e15; border-radius: 0 18px 0 12px; }
.cc-ticket { position: relative; display: grid; grid-template-columns: 42% 1fr; align-items: stretch; margin-top: 12px; background: linear-gradient(110deg,#ffe2da,#fff2ee); color: #992c21; border-radius: 12px; }
.cc-ticket::before,.cc-ticket::after { content: ''; position: absolute; top: 50%; transform: translateY(-50%); width: 12px; height: 12px; border-radius: 50%; background: white; }
.cc-ticket::before { left: -6px; } .cc-ticket::after { right: -6px; }
.cc-ticket > div { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 15px 12px; }
.cc-ticket > div:first-child { align-items: center; border-right: 1px dashed currentColor; }
.cc-ticket strong { font-size: 35px; line-height: 1.2; }
.cc-ticket small { font-size: 12px; }
.cc-ticket button { background: #a63824; color: white; border: 0; padding: 4px 10px; border-radius: 30px; margin-top: 6px; }
.cc-tpl-a .cc-ticket { background: linear-gradient(115deg,#d9362a,#eb632d); color: white; }
.cc-actions { position: sticky; bottom: 0; padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); background: #fffcf6f5; }
.cc-primary,.cc-retry { width: 100%; border: 0; border-radius: 99px; padding: 13px; font: inherit; font-weight: bold; cursor: pointer; }
.cc-primary { color: white; background: linear-gradient(100deg,#df4c2c,#c72b24); }
.cc-hand { display: inline-block; margin-left: 8px; animation: cc-point 1.6s ease-in-out infinite; }
.cc-landing .is-loading { opacity: .75; }
.cc-landing .is-ready-pulse { animation: cc-pulse 1.4s ease-out 2; }
@keyframes cc-point { 50% { transform: translateY(-4px); } }
@keyframes cc-pulse { 50% { box-shadow: 0 0 0 4px #ee704440; } }
@media (prefers-reduced-motion:reduce) { .cc-hand,.cc-landing .is-ready-pulse { animation: none; } }
@media (min-width:480px) {
  .cc-landing { max-width: 430px; min-height: min(720px,calc(100dvh - 36px)); max-height: calc(100dvh - 36px); border-radius: 28px; }
}
.cc-modal { margin: auto; width: min(340px,90vw); max-height: 85dvh; overflow: auto; padding: 25px; border-radius: 22px; text-align: center; background: white; }
.cc-modal h2 { font-size: 22px; margin: 8px 0; } .cc-modal p { margin-bottom: 15px; }
.cc-check { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: #d9f6df; color: #25663c; font-size: 25px; }
.cc-modal-tkl { user-select: all; -webkit-user-select: all; overflow-wrap: anywhere; padding: 14px; background: #fff1e7; border: 1px dashed #da9672; border-radius: 10px; margin: 15px 0; }
.cc-modal-open-tb { display: block; margin-top: 12px; color: #934528; }
.cc-retry { margin-bottom: 8px; background: #fff0e4; color: #813719; }
.cc-qr { display: block; margin: 12px auto; max-width: 100%; }
.cc-wx-guide-overlay { position: fixed; inset: 0; margin: 0; width: 100%; max-width: 100%; height: 100dvh; max-height: 100dvh; z-index: 1050; background: #141821c9; color: white; text-align: right; padding: calc(16px + env(safe-area-inset-top)) 24px; }
.cc-arrow { font-size: 62px; }
.cc-wx-guide-overlay button { border: 1px solid white; border-radius: 99px; padding: 8px 18px; background: transparent; color: white; }
