/* 邻聚同城 · 同城活动 visual system */
.ac-page {
  --ac-plum: #2c1530;
  --ac-plum-2: #4a1f45;
  --ac-coral: #ff6b5e;
  --ac-coral-deep: #f04a3e;
  --ac-gold: #ffc857;
  --ac-gold-deep: #a86300;
  --ac-cream: #fdf8f3;
  --ac-card: #ffffff;
  --ac-ink: #271c2b;
  --ac-sub: #766b78;
  --ac-muted: #a79dab;
  --ac-line: #f0e8ea;
  --ac-lilac: #8a63f5;
  --ac-green: #16b97e;
  --ac-red: #ef4444;
  --ac-blue: #3b82f6;
  --ac-shadow: 0 12px 30px rgba(50, 24, 46, 0.09);
  background: var(--ac-cream);
  color: var(--ac-ink);
  min-height: 100vh;
  padding-bottom: 28px;
}
.ac-page a { color: inherit; }

/* ---------- chrome ---------- */
.ac-hero {
  position: relative;
  padding: calc(14px + env(safe-area-inset-top, 0px)) 18px 24px;
  background:
    radial-gradient(85% 60% at 88% 0%, rgba(255, 107, 94, 0.44), transparent 62%),
    radial-gradient(70% 55% at -5% 100%, rgba(255, 200, 87, 0.22), transparent 60%),
    linear-gradient(160deg, #2a1229 0%, #3c193b 44%, #571d3e 100%);
  color: #fff;
  border-radius: 0 0 34px 34px;
  overflow: hidden;
}
.ac-hero-grain {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.5;
  background-image: radial-gradient(rgba(255, 255, 255, 0.11) 0.7px, transparent 0.7px);
  background-size: 18px 18px;
  mask-image: linear-gradient(180deg, #000 0%, transparent 72%);
}
.ac-top { position: relative; z-index: 3; display: flex; align-items: center; gap: 9px; }
.ac-round {
  width: 38px; height: 38px; flex: none; border-radius: 50%;
  display: grid; place-items: center; color: currentColor;
  background: rgba(255, 255, 255, 0.14); border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(9px);
}
.ac-round.dark { background: rgba(24, 10, 22, 0.46); border-color: rgba(255, 255, 255, 0.12); color: #fff; }
.ac-round .ico { width: 19px; height: 19px; }
.ac-brand { display: flex; align-items: center; gap: 8px; min-width: 0; flex: 1; }
.ac-brand-mark { width: 34px; height: 34px; flex: none; display: grid; place-items: center; border-radius: 11px; background: rgba(255, 255, 255, 0.16); border: 1px solid rgba(255, 255, 255, 0.22); }
.ac-brand-mark .ico { width: 19px; height: 19px; }
.ac-brand b { display: block; font-size: 14.5px; letter-spacing: 0.4px; font-weight: 800; }
.ac-brand small { display: block; font-size: 8px; letter-spacing: 2px; opacity: 0.56; margin-top: 2px; }
.ac-brand.light b { font-size: 14px; }
.ac-city {
  display: flex; align-items: center; gap: 4px; padding: 7px 9px; border-radius: 999px;
  font-size: 11.5px; color: #fff; background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18); white-space: nowrap;
}
.ac-hero-copy { position: relative; z-index: 2; padding: 24px 4px 0; }
.ac-hero-kicker { font-size: 9.5px; letter-spacing: 2.1px; color: rgba(255, 205, 174, 0.86); font-weight: 700; }
.ac-hero-copy h1 {
  margin-top: 9px; font-family: var(--font-display); font-size: 33px; line-height: 1.24;
  letter-spacing: 1px; font-weight: 800; text-shadow: 0 6px 24px rgba(22, 6, 18, 0.28);
}
.ac-hero-copy h1 em { font-style: normal; color: var(--ac-gold); position: relative; }
.ac-hero-copy h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: 3px; height: 8px; border-radius: 5px; background: rgba(255, 200, 87, 0.16); }
.ac-hero-copy p { margin-top: 9px; font-size: 12px; color: rgba(255, 236, 228, 0.72); letter-spacing: 0.4px; }
.ac-search {
  position: relative; z-index: 2; margin-top: 19px; height: 47px; display: flex; align-items: center; gap: 9px;
  padding: 0 12px; border-radius: 15px; background: rgba(255, 252, 249, 0.97); color: var(--ac-ink);
  box-shadow: 0 14px 30px rgba(30, 8, 26, 0.26);
}
.ac-search .ico { color: var(--ac-coral-deep); }
.ac-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 13px; }
.ac-search input::placeholder { color: #b6acb7; }
.ac-search button { color: var(--ac-coral-deep); font-size: 11.5px; font-weight: 800; background: #fff0ec; padding: 7px 11px; border-radius: 9px; }
.ac-hero-stats { position: relative; z-index: 2; margin-top: 18px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ac-hero-stats span { display: flex; align-items: center; gap: 4px; font-size: 10.5px; color: rgba(255, 243, 235, 0.72); padding: 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.1); }
.ac-hero-stats b { color: #fff; font-size: 12px; }
.ac-hero-stats .ico { color: var(--ac-gold); }

/* ---------- body / sections ---------- */
.ac-body { padding: 0 14px; }
.ac-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; padding: 23px 3px 12px; }
.ac-sec-kicker { display: block; font-size: 8px; letter-spacing: 1.8px; color: var(--ac-muted); font-weight: 700; margin-bottom: 3px; }
.ac-sec-head h2 { font-size: 20px; font-weight: 800; letter-spacing: -0.3px; }
.ac-sec-head > a, .ac-sec-head > span { display: flex; align-items: center; gap: 1px; font-size: 11px; color: var(--ac-sub); padding-bottom: 2px; }
.ac-channel-count { background: #fff; border: 1px solid var(--ac-line); border-radius: 999px; padding: 4px 9px !important; }

/* ---------- featured ---------- */
.ac-featured-rail { display: flex; gap: 11px; overflow-x: auto; padding: 2px 2px 8px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.ac-featured-rail::-webkit-scrollbar { display: none; }
.ac-featured-card { flex: 0 0 258px; scroll-snap-align: start; display: block; border-radius: 19px; background: #fff; overflow: hidden; box-shadow: var(--ac-shadow); border: 1px solid rgba(44, 21, 48, 0.04); }
.ac-featured-cover { position: relative; height: 132px; overflow: hidden; }
.ac-featured-card .ac-cover { width: 100%; height: 100%; object-fit: cover; }
.ac-featured-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30, 10, 28, 0.1), rgba(30, 10, 28, 0.62)); }
.ac-featured-date {
  position: absolute; z-index: 2; left: 11px; top: 11px; min-width: 56px; padding: 5px 8px 6px; border-radius: 10px;
  background: rgba(20, 8, 18, 0.52); backdrop-filter: blur(8px); border: 1px solid rgba(255, 255, 255, 0.18); color: #fff;
  font-size: 12px; font-weight: 800; line-height: 1.1; text-align: center;
}
.ac-featured-date b { display: block; font-size: 9px; font-weight: 500; opacity: 0.72; margin-top: 2px; }
.ac-featured-label { position: absolute; z-index: 2; right: 10px; bottom: 10px; font-size: 9px; font-weight: 700; letter-spacing: 1px; color: #2b1220; background: var(--ac-gold); padding: 4px 8px; border-radius: 999px; }
.ac-featured-info { padding: 11px 13px 12px; }
.ac-featured-info h3 { font-size: 14.5px; font-weight: 800; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ac-featured-meta { font-size: 10px; color: var(--ac-muted); margin-top: 4px; }
.ac-featured-price { margin-top: 7px; color: var(--ac-coral-deep); font-size: 16px; font-weight: 800; }
.ac-featured-price small { font-size: 9.5px; font-weight: 500; color: var(--ac-sub); }

/* ---------- channels ---------- */
.ac-channel-block { margin-top: 6px; }
.ac-channel-rail { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 6px; scrollbar-width: none; }
.ac-channel-rail::-webkit-scrollbar { display: none; }
.ac-channel-card {
  flex: none; display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 66px; padding: 11px 10px 9px;
  border-radius: 15px; background: #fff; border: 1px solid var(--ac-line); color: var(--ac-sub); font-size: 10.5px; font-weight: 600;
  --chcolor: var(--ac-lilac); --chbg: #f4efff;
}
.ac-channel-card .ico { width: 21px; height: 21px; color: var(--chcolor); }
.ac-channel-card.on { background: var(--chbg); border-color: color-mix(in srgb, var(--chcolor) 35%, transparent); color: var(--chcolor); box-shadow: 0 7px 16px rgba(70, 38, 90, 0.08); }
.ac-sub-row { display: flex; gap: 6px; overflow-x: auto; padding: 8px 2px 1px; scrollbar-width: none; min-height: 0; }
.ac-sub-row::-webkit-scrollbar { display: none; }
.ac-sub-row:empty { display: none; }
.ac-sub-chip { flex: none; padding: 6px 11px; border-radius: 999px; background: #fff; border: 1px solid var(--ac-line); color: var(--ac-sub); font-size: 10.5px; }
.ac-sub-chip.on { background: var(--ac-plum); color: #fff; border-color: var(--ac-plum); }

/* ---------- toolbar / map ---------- */
.ac-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 2px 12px; }
.ac-sort-chips { display: flex; align-items: center; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.ac-sort-chips::-webkit-scrollbar { display: none; }
.ac-sort-chip { flex: none; padding: 6px 9px; border-radius: 8px; font-size: 10.5px; color: var(--ac-sub); background: transparent; }
.ac-sort-chip.on { background: #fff; color: var(--ac-ink); font-weight: 700; box-shadow: 0 4px 12px rgba(50, 24, 46, 0.06); }
.ac-tool-actions { display: flex; gap: 4px; flex: none; }
.ac-tool-btn { display: flex; align-items: center; gap: 2px; padding: 6px 7px; border-radius: 8px; border: 1px solid var(--ac-line); background: #fff; color: var(--ac-sub); font-size: 10px; }
.ac-tool-btn.on { color: var(--ac-coral-deep); border-color: #ffd1c9; background: #fff3ef; }
.ac-map-wrap { margin-bottom: 12px; border-radius: 17px; overflow: hidden; background: #f3ece8; border: 1px solid #e9ded9; }
.ac-map-head { display: flex; justify-content: space-between; padding: 9px 11px; font-size: 9.5px; color: #8b7e84; background: #fffaf6; border-bottom: 1px solid #eee2dc; }
.ac-map-head span { display: flex; align-items: center; gap: 4px; }
.ac-map-canvas { position: relative; height: 208px; background: linear-gradient(140deg, #f7f1ea, #efe6de); overflow: hidden; }
.ac-map-road { position: absolute; background: #fff; opacity: 0.9; box-shadow: 0 0 0 1px rgba(180, 160, 148, 0.16); }
.ac-map-road.r1 { left: -12%; right: -12%; top: 34%; height: 15px; transform: rotate(-8deg); }
.ac-map-road.r2 { left: -12%; right: -12%; top: 67%; height: 9px; transform: rotate(4deg); }
.ac-map-road.r3 { top: -14%; bottom: -14%; left: 34%; width: 10px; transform: rotate(6deg); }
.ac-map-road.r4 { top: -14%; bottom: -14%; left: 70%; width: 6px; transform: rotate(-3deg); }
.ac-map-park { position: absolute; width: 92px; height: 58px; border-radius: 18px; left: 12%; bottom: 12%; background: #dcecd7; transform: rotate(-8deg); }
.ac-map-marker {
  position: absolute; transform: translate(-50%, -100%); padding: 4px 6px 5px; border-radius: 8px 8px 8px 3px;
  background: var(--ac-coral-deep); color: #fff; font-size: 9px; font-weight: 700; white-space: nowrap;
  box-shadow: 0 5px 12px rgba(155, 48, 42, 0.32); z-index: 2;
}
.ac-map-marker i { position: absolute; left: 50%; bottom: -4px; width: 8px; height: 8px; background: var(--ac-coral-deep); transform: translateX(-50%) rotate(45deg); border-radius: 1px; }
.ac-map-legend { display: flex; justify-content: space-between; padding: 8px 11px; background: #fffaf6; font-size: 9px; color: #988b8f; }
.ac-map-empty { display: flex; align-items: center; gap: 8px; padding: 26px 14px; color: var(--ac-muted); font-size: 11px; }

/* ---------- event cards ---------- */
.ac-list { display: flex; flex-direction: column; gap: 12px; }
.ac-event-card { display: block; background: #fff; border-radius: 19px; overflow: hidden; box-shadow: var(--ac-shadow); border: 1px solid rgba(44, 21, 48, 0.04); }
.ac-event-cover { position: relative; height: 152px; overflow: hidden; background: linear-gradient(135deg, #3d2038, #6c2f4a); }
.ac-event-cover .ac-cover { width: 100%; height: 100%; object-fit: cover; }
.ac-date-badge {
  position: absolute; left: 11px; top: 11px; z-index: 2; min-width: 50px; text-align: center; padding: 5px 8px;
  border-radius: 10px; background: rgba(21, 9, 20, 0.62); color: #fff; border: 1px solid rgba(255, 255, 255, 0.16); backdrop-filter: blur(8px);
  font-size: 12px; font-weight: 800; line-height: 1.05;
}
.ac-date-badge small { display: block; font-size: 8.5px; font-weight: 500; opacity: 0.7; margin-top: 2px; }
.ac-featured-tag { position: absolute; right: 10px; top: 11px; z-index: 2; font-size: 8.5px; font-weight: 800; letter-spacing: 0.8px; color: #2b1220; background: var(--ac-gold); padding: 4px 8px; border-radius: 999px; }
.ac-state-mask { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; background: rgba(25, 12, 23, 0.62); color: #fff; font-size: 13px; font-weight: 700; backdrop-filter: blur(2px); }
.ac-event-main { padding: 12px 14px 13px; }
.ac-event-top { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }
.ac-channel-tag { display: inline-flex; align-items: center; gap: 3px; padding: 3px 7px; border-radius: 6px; font-size: 9px; font-weight: 600; }
.ac-channel-tag .ico { width: 11px; height: 11px; }
.ac-hot-tag { font-size: 9px; color: #d9480f; background: #fff0e8; padding: 3px 7px; border-radius: 6px; font-weight: 600; }
.ac-soldout-tag { font-size: 9px; color: #777; background: #f2f0f1; padding: 3px 7px; border-radius: 6px; }
.ac-event-title { margin-top: 8px; font-size: 16.5px; line-height: 1.35; font-weight: 800; letter-spacing: -0.2px; }
.ac-event-sub { margin-top: 4px; font-size: 11px; color: var(--ac-sub); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ac-event-meta { margin-top: 8px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 10px; color: var(--ac-muted); }
.ac-event-meta span { display: flex; align-items: center; gap: 3px; }
.ac-distance { color: var(--ac-coral-deep) !important; font-weight: 600; }
.ac-event-foot { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--ac-line); display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.ac-event-price { display: flex; align-items: baseline; gap: 3px; color: var(--ac-coral-deep); }
.ac-event-price s { font-size: 10px; color: #b9aeb8; font-weight: 400; }
.ac-event-price b { font-size: 20px; font-weight: 800; letter-spacing: -0.4px; }
.ac-event-price small { font-size: 9px; color: var(--ac-muted); }
.ac-black-mini { font-size: 8px; color: #8b5300; background: linear-gradient(135deg, #ffe8a3, #ffd166); padding: 2px 5px; border-radius: 4px; font-weight: 800; margin-left: 2px; white-space: nowrap; }
.ac-event-merchant { display: flex; align-items: center; gap: 5px; min-width: 0; font-size: 9.5px; color: var(--ac-sub); }
.ac-event-merchant span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 105px; }
.ac-mini-avatar { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 9.5px; font-weight: 700; flex: none; }
.ac-verified { color: var(--ac-blue); display: flex; }
.ac-verified .ico { width: 12px; height: 12px; }
.ac-verified-badge { display: inline-flex; align-items: center; gap: 2px; margin-left: 5px; font-size: 8.5px; font-weight: 600; color: #2e8bff; background: #eaf3ff; padding: 3px 6px; border-radius: 5px; vertical-align: middle; }
.ac-verified-badge .ico { width: 10px; height: 10px; }
.ac-cover-ph { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background:
  radial-gradient(120% 80% at 20% 10%, rgba(255, 107, 94, 0.26), transparent 60%),
  linear-gradient(145deg, #3a1d36, #6e2e4d); color: rgba(255, 255, 255, 0.54); font-size: 10px; letter-spacing: 1px; }


/* ---------- merchant ---------- */
.ac-merchant-rail { display: flex; gap: 9px; overflow-x: auto; padding: 2px 2px 6px; scrollbar-width: none; }
.ac-merchant-rail::-webkit-scrollbar { display: none; }
.ac-merchant-mini { flex: 0 0 205px; display: flex; align-items: center; gap: 9px; padding: 10px; border-radius: 15px; background: #fff; border: 1px solid var(--ac-line); box-shadow: 0 5px 14px rgba(48, 24, 44, 0.04); }
.ac-mm-logo { width: 40px; height: 40px; border-radius: 12px; overflow: hidden; display: grid; place-items: center; flex: none; background: #faf2f5; color: var(--ac-lilac); }
.ac-mm-logo img { width: 100%; height: 100%; object-fit: cover; }
.ac-mm-logo .ico { width: 19px; height: 19px; }
.ac-merchant-mini b { display: flex; align-items: center; font-size: 12px; font-weight: 700; }
.ac-merchant-mini b i { color: var(--ac-blue); display: flex; margin-left: 2px; }
.ac-merchant-mini b i .ico { width: 11px; height: 11px; }
.ac-merchant-mini small { display: block; font-size: 9px; color: var(--ac-muted); margin-top: 3px; }
.ac-merchant-list { display: flex; flex-direction: column; gap: 12px; }
.ac-merchant-card { background: #fff; border-radius: 18px; overflow: hidden; box-shadow: var(--ac-shadow); }
.ac-merchant-cover { height: 95px; overflow: hidden; background: linear-gradient(135deg, #4b2442, #7a3454); }
.ac-merchant-cover img { width: 100%; height: 100%; object-fit: cover; }
.ac-merchant-ph { width: 100%; height: 100%; display: grid; place-items: center; color: rgba(255, 255, 255, 0.5); }
.ac-merchant-body { padding: 11px 13px 13px; }
.ac-merchant-name { display: flex; align-items: center; font-size: 14.5px; font-weight: 800; }
.ac-merchant-desc { margin-top: 4px; font-size: 10.5px; color: var(--ac-sub); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ac-merchant-meta { margin-top: 8px; display: flex; gap: 12px; font-size: 9.5px; color: var(--ac-muted); }
.ac-merchant-meta span { display: flex; align-items: center; gap: 3px; }

/* ---------- black card ---------- */
.ac-black-card { margin-top: 19px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 14px; border-radius: 17px; color: #ffe9b3; background: linear-gradient(120deg, #24111f, #4b2338 62%, #67313a); box-shadow: 0 12px 28px rgba(37, 15, 30, 0.22); border: 1px solid rgba(255, 216, 143, 0.16); }
.ac-black-left { display: flex; align-items: center; gap: 10px; min-width: 0; }
.ac-black-crown { width: 37px; height: 37px; border-radius: 12px; display: grid; place-items: center; flex: none; color: #4a2c00; background: linear-gradient(135deg, #ffe9a6, #ffc857); box-shadow: 0 5px 14px rgba(255, 200, 87, 0.25); }
.ac-black-crown .ico { width: 19px; height: 19px; }
.ac-black-left b { font-size: 13px; font-weight: 800; }
.ac-black-left p { margin-top: 2px; font-size: 9.5px; color: rgba(255, 233, 179, 0.62); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ac-black-btn { flex: none; font-size: 10px; font-weight: 700; color: #3a2200; background: linear-gradient(135deg, #ffe08a, #ffc857); padding: 7px 10px; border-radius: 999px; }
.ac-black-tip { margin-top: 16px; display: flex; align-items: center; gap: 10px; padding: 12px 13px; border-radius: 14px; color: #7b5500; background: #fff5d9; border: 1px solid #ffe3a0; }
.ac-black-tip .ico { color: #c68a00; }
.ac-black-tip b { font-size: 11.5px; }
.ac-black-tip p { font-size: 9.5px; margin-top: 2px; color: #a07b2a; }
.ac-black-tip.on { color: #ffe9b3; background: linear-gradient(120deg, #2a1220, #55253b); border-color: rgba(255, 216, 143, 0.2); }
.ac-black-tip.on p { color: rgba(255, 233, 179, 0.68); }

.ac-hall-foot { margin: 22px 4px 0; display: flex; flex-direction: column; gap: 4px; font-size: 9px; color: var(--ac-muted); padding-bottom: 10px; }
.ac-hall-foot:first-child { align-items: center; }
.ac-hall-foot span { display: flex; align-items: center; gap: 4px; }
.ac-fabs { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(78px + env(safe-area-inset-bottom, 0px)); width: 100%; max-width: 480px; padding: 0 17px; display: flex; justify-content: flex-end; gap: 9px; z-index: 30; pointer-events: none; }
.ac-fab { pointer-events: auto; display: flex; align-items: center; gap: 4px; padding: 10px 13px; border-radius: 999px; font-size: 11.5px; font-weight: 700; box-shadow: 0 10px 22px rgba(49, 22, 44, 0.18); }
.ac-fab.ghost { background: rgba(255, 255, 255, 0.92); color: var(--ac-ink); border: 1px solid var(--ac-line); backdrop-filter: blur(8px); }
.ac-fab.primary { color: #fff; background: linear-gradient(135deg, #ff7a68, #f04a3e); box-shadow: 0 12px 24px rgba(240, 74, 62, 0.32); }

/* ---------- buttons / status ---------- */
.ac-btn { display: inline-flex; align-items: center; justify-content: center; gap: 5px; padding: 11px 16px; border-radius: 12px; font-size: 12.5px; font-weight: 700; }
.ac-btn.primary { color: #fff; background: linear-gradient(135deg, #ff7a68, #f04a3e); box-shadow: 0 9px 20px rgba(240, 74, 62, 0.25); }
.ac-btn.primary:disabled { opacity: 0.45; box-shadow: none; }
.ac-btn.ghost { background: #f7f2f5; color: var(--ac-sub); border: 1px solid var(--ac-line); }
.ac-btn.block { width: 100%; margin-top: 14px; }
.ac-mini-btn { display: inline-flex; align-items: center; justify-content: center; gap: 3px; padding: 7px 10px; border-radius: 8px; font-size: 10.5px; font-weight: 600; background: #fff; color: var(--ac-sub); border: 1px solid var(--ac-line); white-space: nowrap; }
.ac-mini-btn.primary { color: #fff; background: var(--ac-coral-deep); border-color: var(--ac-coral-deep); }
.ac-mini-btn.danger { color: #d33a3a; background: #fff3f3; border-color: #ffd9d9; }
.ac-mini-btn.block { display: flex; width: 100%; margin-top: 9px; padding: 9px; }
.ac-link-btn { display: inline-block; margin-top: 8px; font-size: 10px; color: #b58383; text-decoration: underline; }
.ac-status { display: inline-flex; align-items: center; font-size: 9px; font-weight: 700; padding: 3px 7px; border-radius: 5px; white-space: nowrap; }
.ac-status.green { color: #0b8f5f; background: #e7f8ef; }
.ac-status.amber { color: #a56800; background: #fff4d8; }
.ac-status.blue { color: #2470c8; background: #eaf3ff; }
.ac-status.gray { color: #777; background: #f1eff0; }
.ac-status.red { color: #ce3b3b; background: #ffeded; }
.ac-status.gold { color: #8a5a00; background: #ffedba; }

/* ---------- sub hero ---------- */
.ac-sub-hero { padding: calc(14px + env(safe-area-inset-top, 0px)) 18px 25px; color: #fff; border-radius: 0 0 30px 30px; background: linear-gradient(155deg, #32162f, #622846); position: relative; overflow: hidden; }
.ac-sub-hero.coral { background: linear-gradient(155deg, #6b2530, #b83f3a 70%, #e05a45); }
.ac-sub-hero.plum { background: linear-gradient(155deg, #261227, #4a1d45 60%, #7a2d56); }
.ac-sub-hero.amber { background: linear-gradient(155deg, #3b2417, #7f4a22 58%, #c07a2d); }
.ac-sub-hero.teal { background: linear-gradient(155deg, #12262a, #1d4a48 60%, #2c6b5d); }
.ac-sub-hero.green { background: linear-gradient(155deg, #10251f, #1e4d3e 60%, #2b6c50); }
.ac-sub-hero::after { content: ""; position: absolute; right: -50px; top: 40px; width: 170px; height: 170px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 0 0 26px rgba(255, 255, 255, 0.04); }
.ac-sub-hero > h1 { position: relative; z-index: 2; margin-top: 24px; font-family: var(--font-display); font-size: 28px; line-height: 1.24; letter-spacing: 0.6px; font-weight: 800; }
.ac-sub-hero > p { position: relative; z-index: 2; margin-top: 7px; font-size: 11.5px; color: rgba(255, 240, 232, 0.7); }

/* ---------- detail ---------- */
.ac-detail-page { padding-bottom: 0; }
.ac-detail-hero { position: relative; height: 292px; background: #321528; overflow: hidden; }
.ac-detail-hero .ac-cover { width: 100%; height: 100%; object-fit: cover; }
.ac-detail-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23, 8, 20, 0.36) 0%, rgba(23, 8, 20, 0.05) 34%, rgba(31, 13, 26, 0.88) 100%); }
.ac-detail-top { position: absolute; left: 14px; right: 14px; top: calc(13px + env(safe-area-inset-top, 0px)); z-index: 3; display: flex; align-items: center; justify-content: space-between; }
.ac-detail-actions { display: flex; gap: 8px; }
.ac-detail-head { position: absolute; left: 18px; right: 18px; bottom: 20px; z-index: 3; color: #fff; }
.ac-detail-head .ac-channel-tag { margin-bottom: 8px; color: #fff !important; border: 1px solid rgba(255, 255, 255, 0.16); }
.ac-detail-featured { display: inline-block; margin-left: 5px; padding: 3px 7px; border-radius: 5px; font-size: 8.5px; font-weight: 800; color: #2b1220; background: var(--ac-gold); vertical-align: 1px; }
.ac-detail-head h1 { font-family: var(--font-display); font-size: 26px; line-height: 1.28; letter-spacing: 0.3px; font-weight: 800; text-shadow: 0 4px 18px rgba(20, 6, 18, 0.4); }
.ac-detail-head p { margin-top: 6px; font-size: 11.5px; color: rgba(255, 240, 232, 0.76); }
.ac-detail-body { position: relative; z-index: 4; margin-top: -12px; padding: 0 14px 18px; display: flex; flex-direction: column; gap: 12px; }
.ac-info-card, .ac-rich-card, .ac-tier-card, .ac-manage-card, .ac-myreg-card, .ac-notice-card, .ac-ticket-card { background: #fff; border-radius: 18px; box-shadow: 0 8px 22px rgba(50, 24, 46, 0.06); border: 1px solid rgba(44, 21, 48, 0.03); }
.ac-info-card { padding: 6px 14px; }
.ac-info-row { display: flex; align-items: flex-start; gap: 10px; padding: 11px 0; border-bottom: 1px dashed var(--ac-line); }
.ac-info-row:last-child { border-bottom: 0; }
.ac-info-row > .ico { color: var(--ac-coral-deep); margin-top: 2px; }
.ac-info-row div { flex: 1; min-width: 0; }
.ac-info-row span { display: block; font-size: 9.5px; color: var(--ac-muted); }
.ac-info-row b { display: block; font-size: 12.5px; font-weight: 700; margin-top: 3px; line-height: 1.45; }
.ac-info-row small { display: block; font-size: 9.5px; color: var(--ac-muted); margin-top: 3px; }
.ac-info-action { flex: none; display: flex; align-items: center; gap: 3px; font-size: 10px; font-weight: 700; color: var(--ac-coral-deep); background: #fff2ee; padding: 6px 8px; border-radius: 8px; margin-top: 2px; }
.ac-rich-card { padding: 14px; }
.ac-rich-head, .ac-card-head { display: flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 800; }
.ac-rich-head .ico { color: var(--ac-lilac); }
.ac-rich-text { margin-top: 9px; font-size: 12px; line-height: 1.8; color: var(--ac-sub); word-break: break-word; }
.ac-tier-card { padding: 14px; }
.ac-card-head { justify-content: space-between; margin-bottom: 10px; }
.ac-card-head h3 { display: flex; align-items: center; gap: 5px; font-size: 13.5px; font-weight: 800; }
.ac-card-head > span { font-size: 9.5px; color: var(--ac-muted); font-weight: 400; }
.ac-tier-row { display: flex; align-items: flex-start; gap: 9px; padding: 11px 0; border-bottom: 1px dashed var(--ac-line); }
.ac-tier-row:last-child { border-bottom: 0; padding-bottom: 2px; }
.ac-tier-row.soldout { opacity: 0.55; }
.ac-tier-dot { width: 8px; height: 8px; border-radius: 50%; margin-top: 4px; background: var(--ac-coral); box-shadow: 0 0 0 3px #ffe9e5; flex: none; }
.ac-tier-main { flex: 1; min-width: 0; }
.ac-tier-name { font-size: 12.5px; font-weight: 700; }
.ac-black-price-tag { margin-left: 5px; font-size: 8px; color: #7c5100; background: #ffe9b0; border-radius: 4px; padding: 2px 5px; font-weight: 800; }
.ac-tier-desc { margin-top: 3px; font-size: 10px; color: var(--ac-sub); }
.ac-tier-stock { margin-top: 4px; font-size: 9px; color: var(--ac-muted); }
.ac-tier-price { text-align: right; flex: none; }
.ac-tier-price s { display: block; font-size: 9px; color: #b8adb8; }
.ac-tier-price b { font-size: 16px; font-weight: 800; color: var(--ac-coral-deep); }
.ac-merchant-panel { display: flex; align-items: center; gap: 10px; padding: 13px 14px; background: #fff; border-radius: 18px; border: 1px solid var(--ac-line); box-shadow: 0 8px 22px rgba(50, 24, 46, 0.05); }
.ac-mp-logo { width: 45px; height: 45px; border-radius: 13px; overflow: hidden; flex: none; display: grid; place-items: center; background: #f8f1f5; color: var(--ac-lilac); }
.ac-mp-logo img { width: 100%; height: 100%; object-fit: cover; }
.ac-mp-logo .ico { width: 21px; height: 21px; }
.ac-mp-main { flex: 1; min-width: 0; }
.ac-mp-name { display: flex; align-items: center; font-size: 13px; font-weight: 800; flex-wrap: wrap; }
.ac-mp-desc { margin-top: 3px; font-size: 9.5px; color: var(--ac-sub); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ac-mp-meta { margin-top: 4px; font-size: 9px; color: var(--ac-muted); }
.ac-follow-btn { flex: none; padding: 7px 10px; border-radius: 999px; font-size: 10px; font-weight: 700; color: #fff; background: var(--ac-coral-deep); border: 1px solid var(--ac-coral-deep); }
.ac-follow-btn.on { color: var(--ac-sub); background: #f6f1f4; border-color: var(--ac-line); }
.ac-field-chips { margin-top: 9px; display: flex; flex-wrap: wrap; gap: 5px; }
.ac-field-chips span { font-size: 9.5px; color: var(--ac-sub); background: #f8f4f7; border: 1px solid var(--ac-line); padding: 4px 7px; border-radius: 5px; }
.ac-field-chips i { color: var(--ac-coral-deep); font-style: normal; }
.ac-myreg-card { padding: 13px 14px; }
.ac-myreg-head { display: flex; align-items: center; justify-content: space-between; font-size: 11.5px; font-weight: 700; }
.ac-myreg-main { display: flex; align-items: center; gap: 10px; margin-top: 9px; }
.ac-myreg-main div { flex: 1; min-width: 0; }
.ac-myreg-main b { font-size: 12.5px; }
.ac-myreg-main small { display: block; margin-top: 3px; font-size: 9.5px; color: var(--ac-muted); }
.ac-warn { margin-top: 9px; font-size: 9.5px; color: #a56800; background: #fff7df; padding: 7px 9px; border-radius: 7px; }
.ac-manage-card { padding: 13px 14px; }
.ac-manage-alert { display: flex; align-items: center; gap: 4px; font-size: 10px; color: #a56800; background: #fff7df; padding: 7px 9px; border-radius: 7px; margin-bottom: 8px; }
.ac-reg-mini-list { display: flex; flex-direction: column; gap: 7px; }
.ac-reg-mini { display: flex; align-items: center; gap: 8px; padding: 8px 9px; background: #faf6f8; border-radius: 9px; }
.ac-reg-mini-main { flex: 1; min-width: 0; }
.ac-reg-mini-main b { font-size: 11px; }
.ac-reg-mini-main small { display: block; font-size: 9px; color: var(--ac-muted); margin-top: 2px; }
.ac-manage-empty { padding: 18px 0; text-align: center; font-size: 10.5px; color: var(--ac-muted); }
.ac-notice-card { padding: 14px; }
.ac-notice-title { display: flex; align-items: center; gap: 4px; font-size: 12px; font-weight: 800; margin-bottom: 7px; }
.ac-notice-title .ico { color: var(--ac-green); }
.ac-notice-card p { font-size: 10px; color: var(--ac-muted); line-height: 1.75; margin-top: 4px; }
.ac-detail-bar {
  position: sticky; bottom: 0; z-index: 20; display: flex; align-items: center; gap: 10px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 252, 249, 0.95); backdrop-filter: blur(14px); border-top: 1px solid rgba(60, 30, 50, 0.07);
}
.ac-bar-price { min-width: 94px; }
.ac-bar-price small { display: block; font-size: 8.5px; color: var(--ac-muted); }
.ac-bar-price b { font-size: 21px; font-weight: 800; color: var(--ac-coral-deep); letter-spacing: -0.5px; }
.ac-bar-price span { font-size: 9px; color: var(--ac-muted); margin-left: 2px; }
.ac-bar-actions { flex: 1; display: flex; justify-content: flex-end; gap: 8px; }
.ac-bar-icon { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 11px; border: 1px solid var(--ac-line); color: var(--ac-sub); background: #fff; }
.ac-bar-actions .ac-btn { flex: 1; max-width: 190px; }

/* ---------- store ---------- */
.ac-store-page { padding-bottom: 24px; }
.ac-store-hero { position: relative; height: 175px; overflow: hidden; background: #3c1b35; }
.ac-store-hero img { width: 100%; height: 100%; object-fit: cover; }
.ac-store-cover-ph { width: 100%; height: 100%; background: radial-gradient(110% 90% at 20% 0%, rgba(255, 107, 94, 0.3), transparent 55%), linear-gradient(140deg, #35182f, #762e4f); }
.ac-store-head { position: relative; z-index: 3; display: flex; align-items: center; gap: 10px; margin: -28px 14px 0; padding: 13px; background: #fff; border-radius: 18px; box-shadow: var(--ac-shadow); }
.ac-store-logo { width: 53px; height: 53px; flex: none; border-radius: 15px; overflow: hidden; display: grid; place-items: center; color: var(--ac-lilac); background: #f8f1f5; border: 2px solid #fff; }
.ac-store-logo img { width: 100%; height: 100%; object-fit: cover; }
.ac-store-logo .ico { width: 24px; height: 24px; }
.ac-store-title { flex: 1; min-width: 0; }
.ac-store-title h1 { display: flex; align-items: center; flex-wrap: wrap; font-size: 16.5px; font-weight: 800; }
.ac-store-title p { margin-top: 3px; font-size: 9.5px; color: var(--ac-muted); }
.ac-store-body { padding: 13px 14px 0; }
.ac-store-desc { font-size: 11px; line-height: 1.65; color: var(--ac-sub); padding: 0 3px; }
.ac-store-stats { display: flex; margin-top: 12px; background: #fff; border-radius: 14px; border: 1px solid var(--ac-line); overflow: hidden; }
.ac-store-stats span { flex: 1; text-align: center; padding: 10px 4px; border-right: 1px solid var(--ac-line); }
.ac-store-stats span:last-child { border-right: 0; }
.ac-store-stats b { display: block; font-size: 12.5px; font-weight: 800; }
.ac-store-stats span:nth-child(1) b { color: var(--ac-coral-deep); }
.ac-store-stats span:nth-child(2) b { color: var(--ac-lilac); }
.ac-store-stats span:nth-child(3) b { font-size: 11px; color: var(--ac-green); }
.ac-store-stats small { display: block; font-size: 8.5px; color: var(--ac-muted); margin-top: 2px; }
.ac-store-actions { display: flex; gap: 8px; margin-top: 11px; }
.ac-store-actions .ac-btn { flex: 1; }
.ac-store-actions .ac-btn.ghost { background: #fff; }

/* ---------- form shell ---------- */
.ac-form-page { padding-bottom: 0; }
.ac-form-body { padding: 14px 14px 24px; display: flex; flex-direction: column; gap: 12px; }
.ac-form-event { display: flex; gap: 10px; padding: 11px; background: #fff; border-radius: 16px; border: 1px solid var(--ac-line); }
.ac-fe-cover { width: 78px; height: 78px; flex: none; border-radius: 11px; overflow: hidden; }
.ac-fe-cover .ac-cover { width: 100%; height: 100%; object-fit: cover; }
.ac-fe-main { flex: 1; min-width: 0; }
.ac-fe-channel { display: inline-block; font-size: 8.5px; font-weight: 700; padding: 2px 6px; border-radius: 4px; }
.ac-fe-main h2 { margin-top: 5px; font-size: 13.5px; line-height: 1.35; font-weight: 800; }
.ac-fe-meta { display: flex; align-items: center; gap: 3px; margin-top: 4px; font-size: 9px; color: var(--ac-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ac-form-block { background: #fff; border-radius: 17px; border: 1px solid var(--ac-line); padding: 13px 13px 14px; }
.ac-form-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.ac-form-title span { font-size: 12.5px; font-weight: 800; }
.ac-form-title small { font-size: 9px; color: var(--ac-muted); }
.ac-tier-picker { display: flex; flex-direction: column; gap: 7px; }
.ac-pick-tier { display: flex; align-items: center; gap: 8px; text-align: left; padding: 10px; border-radius: 11px; border: 1px solid var(--ac-line); background: #fdfbfc; }
.ac-pick-tier.on { border-color: #ffb9ae; background: #fff5f1; box-shadow: 0 0 0 2px rgba(255, 107, 94, 0.08); }
.ac-pick-tier.disabled { opacity: 0.55; }
.ac-pick-tier > div:first-child { flex: 1; min-width: 0; }
.ac-pick-tier b { display: block; font-size: 12px; font-weight: 700; }
.ac-pick-tier small { display: block; font-size: 9.5px; color: var(--ac-sub); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ac-pick-tier em { display: block; font-style: normal; font-size: 8.5px; color: var(--ac-muted); margin-top: 3px; }
.ac-pick-price { flex: none; text-align: right; }
.ac-pick-price s { display: block; font-size: 8.5px; color: #b8adb8; }
.ac-pick-price strong { font-size: 14px; color: var(--ac-coral-deep); }
.ac-pick-price i { display: block; font-style: normal; font-size: 8px; font-weight: 700; color: #8b5300; background: #ffe9b0; padding: 1px 4px; border-radius: 3px; margin-top: 2px; }
.ac-quantity { display: flex; align-items: center; gap: 0; }
.ac-quantity button { width: 34px; height: 34px; border-radius: 9px; background: #f7f2f5; border: 1px solid var(--ac-line); font-size: 17px; color: var(--ac-sub); display: grid; place-items: center; }
.ac-quantity b { min-width: 46px; text-align: center; font-size: 16px; font-weight: 800; }
.ac-quantity span { font-size: 10px; color: var(--ac-muted); margin-left: 4px; }
.ac-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 11px 9px; }
.ac-field { position: relative; display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.ac-field.wide { grid-column: 1 / -1; }
.ac-field > span { font-size: 10.5px; color: var(--ac-sub); font-weight: 600; }
.ac-req { color: var(--ac-coral-deep); font-style: normal; margin-left: 1px; }
.ac-input { width: 100%; min-height: 40px; border-radius: 9px; border: 1px solid var(--ac-line); background: #fcfafb; padding: 9px 10px; font-size: 12px; outline: 0; color: var(--ac-ink); }
.ac-input:focus { border-color: #ffb4a8; background: #fff; box-shadow: 0 0 0 3px rgba(255, 107, 94, 0.07); }
textarea.ac-input { resize: vertical; line-height: 1.6; min-height: 74px; }
.ac-field-hint { font-size: 8.5px; color: var(--ac-muted); line-height: 1.5; }
.ac-unit { position: absolute; right: 10px; bottom: 13px; font-style: normal; font-size: 9px; color: var(--ac-muted); }
.ac-options { display: flex; flex-wrap: wrap; gap: 6px; }
.ac-opt { padding: 7px 11px; border-radius: 8px; background: #faf6f9; border: 1px solid var(--ac-line); color: var(--ac-sub); font-size: 10.5px; }
.ac-opt.on { color: var(--ac-coral-deep); border-color: #ffc4b9; background: #fff2ee; font-weight: 600; }
.ac-upload { min-height: 88px; border-radius: 11px; border: 1.5px dashed #e3d5dd; background: #fdfafb; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; color: var(--ac-muted); }
.ac-upload-ico .ico { width: 22px; height: 22px; color: var(--ac-lilac); }
.ac-upload b { font-size: 10.5px; }
.ac-upload small { font-size: 8.5px; }
.ac-upload-preview { margin-top: 6px; }
.ac-upload-preview img { width: 100%; max-height: 160px; object-fit: cover; border-radius: 9px; }
.ac-prev-del { margin-top: 5px; display: inline-flex; align-items: center; gap: 2px; font-size: 9px; color: var(--ac-red); background: #fff1f1; border: 1px solid #ffd6d6; padding: 4px 7px; border-radius: 6px; }
.ac-form-tip { display: flex; align-items: center; gap: 4px; justify-content: center; font-size: 9px; color: var(--ac-muted); padding: 1px 6px; }
.ac-submit-bar {
  position: sticky; bottom: 0; z-index: 20; display: flex; align-items: center; gap: 12px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 252, 249, 0.96); backdrop-filter: blur(14px); border-top: 1px solid rgba(60, 30, 50, 0.07);
}
.ac-submit-price { flex: 1; min-width: 0; }
.ac-submit-price small { display: block; font-size: 8.5px; color: var(--ac-muted); }
.ac-submit-price b { font-size: 18px; font-weight: 800; color: var(--ac-coral-deep); }
.ac-submit-price span { display: block; font-size: 8.5px; color: var(--ac-muted); margin-top: 1px; }
.ac-submit-bar .ac-btn { min-width: 132px; }
.ac-publish-channels { display: flex; flex-wrap: wrap; gap: 6px; }
.ac-pub-channel { display: flex; align-items: center; gap: 4px; padding: 7px 10px; border-radius: 8px; background: #faf6f9; border: 1px solid var(--ac-line); color: var(--ac-sub); font-size: 10.5px; }
.ac-pub-channel.on { color: var(--chcolor); background: var(--chbg); border-color: color-mix(in srgb, var(--chcolor) 32%, transparent); font-weight: 700; }
.ac-fee-note { margin-top: 9px; font-size: 9.5px; line-height: 1.6; color: var(--ac-sub); background: #fbf6f8; border-radius: 8px; padding: 8px 9px; }
.ac-fee-note > .ico { display: inline; vertical-align: -2px; margin-right: 3px; color: var(--ac-lilac); }
.ac-cover-upload { width: 100%; }
.ac-cover-preview { height: 135px; border-radius: 12px; border: 1.5px dashed #e3d5dd; background: #fdfafb; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: var(--ac-muted); overflow: hidden; }
.ac-cover-preview img { width: 100%; height: 100%; object-fit: cover; }
.ac-cover-preview .ico { width: 24px; height: 24px; color: var(--ac-lilac); }
.ac-cover-preview small { font-size: 9px; }
.ac-loc-box { display: flex; align-items: center; justify-content: space-between; gap: 8px; background: #fbf6f8; border: 1px solid var(--ac-line); border-radius: 9px; padding: 7px 9px; }
.ac-loc-box span { display: flex; align-items: center; gap: 3px; font-size: 9.5px; color: var(--ac-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ac-tier-editor { display: flex; flex-direction: column; gap: 8px; }
.ac-tier-edit { border: 1px solid var(--ac-line); border-radius: 11px; background: #fdfbfc; padding: 9px; }
.ac-te-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 7px; }
.ac-te-head span { font-size: 10.5px; font-weight: 700; color: var(--ac-sub); }
.ac-te-del { color: #d65555; padding: 2px; }
.ac-te-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.ac-te-grid label { display: flex; flex-direction: column; gap: 3px; }
.ac-te-grid label.wide { grid-column: 1 / -1; }
.ac-te-grid label span { font-size: 8.5px; color: var(--ac-muted); }
.ac-te-grid .ac-input { min-height: 34px; padding: 6px 8px; font-size: 11px; }
.ac-add-tier { width: 100%; margin-top: 8px; padding: 9px; border-radius: 9px; border: 1px dashed #ddc9d3; color: var(--ac-lilac); font-size: 10.5px; font-weight: 600; display: flex; align-items: center; justify-content: center; gap: 3px; background: #fcf8fb; }
.ac-switch-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.ac-switch-row b { font-size: 11.5px; }
.ac-switch-row small { display: block; font-size: 9px; color: var(--ac-muted); margin-top: 2px; }
.ac-switch { width: 42px; height: 25px; flex: none; border-radius: 999px; background: #e2dbe1; position: relative; transition: background 0.2s; }
.ac-switch::after { content: ""; position: absolute; left: 2.5px; top: 2.5px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 2px 5px rgba(40, 20, 40, 0.15); transition: transform 0.2s; }
.ac-switch.on { background: var(--ac-coral-deep); }
.ac-switch.on::after { transform: translateX(17px); }
.ac-pending-card { background: #fff7df; border: 1px solid #ffe3a0; border-radius: 15px; padding: 15px; color: #8a5a00; }
.ac-pending-card .ico { width: 23px; height: 23px; }
.ac-pending-card b { display: block; margin-top: 5px; font-size: 13px; }
.ac-pending-card p { margin-top: 4px; font-size: 10px; line-height: 1.6; color: #a07b2a; }
.ac-city-fixed { display: flex; align-items: center; gap: 4px; padding: 9px 10px; border-radius: 9px; background: #f7f3f6; border: 1px solid var(--ac-line); font-size: 11px; color: var(--ac-sub); }
.ac-shop-uploads { display: flex; gap: 13px; align-items: center; }
.ac-shop-upload { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.ac-shop-upload > small { font-size: 8.5px; color: var(--ac-muted); }
.ac-shop-logo-prev { width: 68px; height: 68px; border-radius: 16px; overflow: hidden; display: grid; place-items: center; background: #f8f1f5; color: var(--ac-lilac); border: 1.5px dashed #e3d5dd; }
.ac-shop-logo-prev img { width: 100%; height: 100%; object-fit: cover; }
.ac-shop-upload.cover { flex: 1; }
.ac-shop-cover-prev { width: 100%; height: 68px; border-radius: 13px; overflow: hidden; background: #f8f1f5; border: 1.5px dashed #e3d5dd; display: grid; place-items: center; }
.ac-shop-cover-prev img { width: 100%; height: 100%; object-fit: cover; }
.ac-shop-cover-prev > span, .ac-shop-cover-prev { color: var(--ac-lilac); font-size: 9px; text-align: center; }
.ac-shop-cover-prev .ico { width: 21px; height: 21px; margin: 0 auto 2px; }

/* ---------- orders ---------- */
.ac-orders-page { padding-bottom: 22px; }
.ac-order-tabs { display: flex; gap: 3px; padding: 10px 14px 4px; margin-top: -8px; position: relative; z-index: 4; }
.ac-order-tabs button { flex: 1; position: relative; padding: 9px 4px; border-radius: 9px; font-size: 10.5px; color: var(--ac-sub); background: transparent; }
.ac-order-tabs button.on { background: #fff; color: var(--ac-ink); font-weight: 700; box-shadow: 0 5px 14px rgba(50, 24, 46, 0.07); }
.ac-order-tabs button i { position: absolute; top: 3px; right: 5px; min-width: 14px; height: 14px; padding: 0 3px; border-radius: 999px; background: var(--ac-coral-deep); color: #fff; font-style: normal; font-size: 8px; line-height: 14px; font-weight: 700; }
.ac-order-body { padding: 7px 14px 0; display: flex; flex-direction: column; gap: 12px; }
.ac-order-filter { display: flex; gap: 5px; overflow-x: auto; padding: 4px 1px 3px; scrollbar-width: none; }
.ac-order-filter::-webkit-scrollbar { display: none; }
.ac-order-filter .ac-sort-chip { background: #fff; border: 1px solid var(--ac-line); border-radius: 999px; padding: 5px 10px; }
.ac-order-filter .ac-sort-chip.on { background: var(--ac-plum); color: #fff; border-color: var(--ac-plum); }
.ac-myreg-list { display: flex; flex-direction: column; gap: 10px; }
.ac-reg-card { display: flex; background: #fff; border-radius: 16px; overflow: hidden; border: 1px solid rgba(44, 21, 48, 0.04); box-shadow: 0 7px 18px rgba(50, 24, 46, 0.05); }
.ac-reg-cover { position: relative; width: 105px; flex: none; height: auto; min-height: 118px; overflow: hidden; background: #3a1c33; }
.ac-reg-cover img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.ac-reg-cover .ac-cover-ph { position: absolute; inset: 0; }
.ac-reg-status { position: absolute; left: 7px; top: 7px; z-index: 2; font-size: 8.5px; font-weight: 700; padding: 3px 6px; border-radius: 5px; color: #fff; background: rgba(20, 8, 18, 0.6); backdrop-filter: blur(6px); }
.ac-reg-status.green { background: rgba(16, 130, 87, 0.8); }
.ac-reg-status.amber { background: rgba(180, 120, 0, 0.8); }
.ac-reg-status.blue { background: rgba(38, 110, 200, 0.8); }
.ac-reg-main { flex: 1; min-width: 0; padding: 11px 12px; }
.ac-reg-main h3 { font-size: 13.5px; font-weight: 800; line-height: 1.35; }
.ac-reg-meta { display: flex; align-items: center; gap: 3px; font-size: 9px; color: var(--ac-muted); margin-top: 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ac-reg-foot { display: flex; align-items: baseline; gap: 4px; margin-top: 7px; font-size: 9.5px; color: var(--ac-sub); }
.ac-reg-foot b { color: var(--ac-coral-deep); font-size: 13px; }
.ac-reg-code { margin-top: 5px; font-size: 8.5px; color: var(--ac-muted); letter-spacing: 0.3px; }
.ac-wb-empty { display: flex; flex-direction: column; }
.ac-wb-shop { display: flex; align-items: center; gap: 9px; background: #fff; border-radius: 16px; border: 1px solid var(--ac-line); padding: 11px 12px; }
.ac-wb-logo { width: 42px; height: 42px; border-radius: 12px; flex: none; overflow: hidden; display: grid; place-items: center; background: #faf2f6; color: var(--ac-lilac); }
.ac-wb-logo img { width: 100%; height: 100%; object-fit: cover; }
.ac-wb-logo .ico { width: 19px; height: 19px; }
.ac-wb-shop > div:nth-child(2) { flex: 1; min-width: 0; }
.ac-wb-shop b { font-size: 13px; }
.ac-wb-shop small { display: block; margin-top: 2px; font-size: 9px; color: var(--ac-muted); }
.ac-wb-shop .ac-mini-btn { margin-left: 2px; }
.ac-wb-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ac-wb-stat { background: #fff; border-radius: 13px; border: 1px solid var(--ac-line); padding: 11px 8px; text-align: center; }
.ac-wb-stat b { display: block; font-size: 18px; font-weight: 800; color: var(--ac-plum-2); letter-spacing: -0.3px; }
.ac-wb-stat span { display: block; font-size: 8.5px; color: var(--ac-muted); margin-top: 2px; }
.ac-wb-revenue { display: flex; align-items: center; gap: 9px; padding: 13px 14px; border-radius: 16px; color: #ffe9b3; background: linear-gradient(120deg, #29131f, #4d2536 65%, #6a3338); }
.ac-wb-revenue .ico { color: var(--ac-gold); }
.ac-wb-revenue div { flex: 1; }
.ac-wb-revenue b { display: block; font-size: 19px; font-weight: 800; }
.ac-wb-revenue span { font-size: 8.5px; opacity: 0.62; }
.ac-wb-revenue a { font-size: 9.5px; color: #5b3800; background: var(--ac-gold); padding: 6px 9px; border-radius: 999px; font-weight: 700; }
.ac-wb-card { background: #fff; border-radius: 17px; border: 1px solid var(--ac-line); padding: 13px; }
.ac-checkin-row { display: flex; gap: 7px; }
.ac-checkin-row .ac-input { flex: 1; text-transform: uppercase; letter-spacing: 1px; font-weight: 700; }
.ac-checkin-row .ac-btn { min-width: 84px; }
.ac-checkin-hint { margin-top: 6px; font-size: 8.5px; color: var(--ac-muted); }
.ac-wb-events { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.ac-wb-event { display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: 11px; background: #fbf7f9; border: 1px solid #f5edf1; }
.ac-wbe-cover { width: 52px; height: 46px; flex: none; border-radius: 8px; overflow: hidden; display: grid; place-items: center; background: #f1e8ee; color: var(--ac-lilac); }
.ac-wbe-cover img { width: 100%; height: 100%; object-fit: cover; }
.ac-wbe-cover .ico { width: 19px; height: 19px; }
.ac-wbe-main { flex: 1; min-width: 0; }
.ac-wbe-title { font-size: 11.5px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ac-wbe-meta { margin-top: 3px; font-size: 8.5px; color: var(--ac-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ac-wbe-badges { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 4px; }
.ac-wbe-actions { flex: none; display: flex; flex-direction: column; gap: 4px; }
.ac-wbe-actions .ac-mini-btn { padding: 5px 8px; font-size: 9px; }
.ac-wb-regs { display: flex; flex-direction: column; gap: 8px; margin-top: 4px; }
.ac-wb-reg { border-radius: 11px; background: #fbf7f9; border: 1px solid #f5edf1; padding: 9px; }
.ac-wbr-top { display: flex; align-items: center; justify-content: space-between; gap: 7px; }
.ac-wbr-user { display: flex; align-items: center; gap: 6px; min-width: 0; }
.ac-wbr-user b { font-size: 11px; }
.ac-wbr-user small { display: block; font-size: 8.5px; color: var(--ac-muted); margin-top: 2px; }
.ac-wbr-event { margin-top: 5px; font-size: 8.5px; color: var(--ac-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ac-wbr-fields { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 5px; }
.ac-wbr-fields span { font-size: 8.5px; color: var(--ac-sub); background: #fff; border: 1px solid var(--ac-line); border-radius: 4px; padding: 3px 5px; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ac-wbr-actions { display: flex; gap: 5px; margin-top: 7px; justify-content: flex-end; }

/* ---------- ticket ---------- */
.ac-ticket-page { padding-bottom: 0; }
.ac-ticket-body { padding: 14px 14px 20px; display: flex; flex-direction: column; gap: 12px; }
.ac-ticket { background: #fff; border-radius: 19px; overflow: hidden; box-shadow: 0 16px 36px rgba(48, 22, 42, 0.11); border: 1px solid rgba(44, 21, 48, 0.03); position: relative; }
.ac-ticket.muted { opacity: 0.72; }
.ac-ticket-top { display: flex; gap: 11px; padding: 13px; background: linear-gradient(135deg, #fffdfb, #fbf4f5); }
.ac-ticket-cover { width: 89px; height: 89px; flex: none; border-radius: 11px; overflow: hidden; }
.ac-ticket-cover .ac-cover { width: 100%; height: 100%; object-fit: cover; }
.ac-ticket-info { flex: 1; min-width: 0; }
.ac-ticket-kind { font-size: 8.5px; font-weight: 700; color: var(--ac-lilac); }
.ac-ticket-info h2 { margin-top: 4px; font-size: 15px; font-weight: 800; line-height: 1.35; }
.ac-ticket-info div { display: flex; align-items: center; gap: 3px; font-size: 9px; color: var(--ac-muted); margin-top: 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ac-ticket-perf { display: flex; align-items: center; height: 17px; background: #fff; position: relative; }
.ac-ticket-perf span { width: 17px; height: 17px; border-radius: 50%; background: var(--ac-cream); flex: none; }
.ac-ticket-perf span:first-child { margin-left: -8.5px; }
.ac-ticket-perf span:last-child { margin-left: auto; margin-right: -8.5px; }
.ac-ticket-perf::after { content: ""; flex: 1; border-top: 1.5px dashed #e8dfe3; margin: 0 8px; }
.ac-ticket-mid { padding: 6px 17px 15px; display: flex; align-items: center; gap: 15px; }
.ac-ticket-qr { width: 100px; flex: none; text-align: center; }
.ac-ticket-qr img { width: 100px; height: 100px; border-radius: 6px; object-fit: contain; }
.ac-ticket-qr span { display: block; margin-top: 4px; font-size: 8.5px; color: var(--ac-muted); }
.ac-ticket-qr.noqr { padding: 24px 0; }
.ac-ticket-code { flex: 1; min-width: 0; }
.ac-ticket-code small { display: block; font-size: 8.5px; color: var(--ac-muted); }
.ac-ticket-code b { display: block; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 19px; font-weight: 800; letter-spacing: 1.6px; margin-top: 3px; color: var(--ac-ink); word-break: break-all; }
.ac-ticket-code .ac-status { margin-top: 7px; }
.ac-ticket-bottom { padding: 12px 14px 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 9px 12px; border-top: 1px solid #f7f0f2; }
.ac-ticket-field { min-width: 0; }
.ac-ticket-field span { display: block; font-size: 8.5px; color: var(--ac-muted); }
.ac-ticket-field b { display: block; font-size: 10.5px; font-weight: 600; margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ac-ticket-brand { text-align: center; font-size: 8.5px; letter-spacing: 1px; color: #c0b3bb; padding: 0 10px 12px; display: flex; align-items: center; justify-content: center; gap: 3px; }
.ac-ticket-card { padding: 13px 14px; }
.ac-ticket-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 9px 12px; }
.ac-ticket-notes p { font-size: 10px; color: var(--ac-muted); line-height: 1.75; margin-top: 5px; }
.ac-ticket-bar { position: sticky; bottom: 0; }
.ac-ticket-bar-actions { display: flex; gap: 6px; flex: 1; justify-content: flex-end; }
.ac-ticket-bar-actions .ac-btn { padding: 10px 13px; font-size: 11px; min-width: 0; flex: 0 1 auto; }

/* ---------- poster ---------- */
.ac-poster-modal { width: min(92vw, 385px); max-height: 88vh; overflow-y: auto; }
.ac-poster { border-radius: 22px; overflow: hidden; background: linear-gradient(175deg, #2a1227, #4a1e3f 62%, #632944); color: #fff; box-shadow: 0 22px 55px rgba(20, 8, 17, 0.4); }
.ac-poster-cover { position: relative; height: 162px; overflow: hidden; }
.ac-poster-cover img { width: 100%; height: 100%; object-fit: cover; }
.ac-poster-cover-ph { width: 100%; height: 100%; background: radial-gradient(110% 90% at 20% 0%, rgba(255, 107, 94, 0.4), transparent 55%), linear-gradient(140deg, #381834, #7b3154); }
.ac-poster-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 20%, rgba(35, 13, 30, 0.9) 100%); }
.ac-poster-kind { position: absolute; z-index: 2; left: 13px; top: 13px; font-size: 8.5px; letter-spacing: 1px; font-weight: 700; color: #331c00; background: var(--ac-gold); padding: 4px 8px; border-radius: 999px; }
.ac-poster-body { padding: 3px 17px 15px; }
.ac-poster-brand { display: flex; align-items: center; gap: 5px; font-size: 9.5px; color: rgba(255, 233, 220, 0.58); letter-spacing: 0.8px; }
.ac-poster-brand img { width: 17px; height: 17px; border-radius: 5px; object-fit: cover; }
.ac-poster-body h2 { margin-top: 8px; font-family: var(--font-display); font-size: 24px; line-height: 1.32; font-weight: 800; letter-spacing: 0.4px; }
.ac-poster-sub { margin-top: 5px; font-size: 10.5px; color: rgba(255, 226, 212, 0.62); line-height: 1.5; }
.ac-poster-info { margin-top: 10px; display: flex; flex-direction: column; gap: 5px; }
.ac-poster-info span { display: flex; align-items: flex-start; gap: 4px; font-size: 9.5px; color: rgba(255, 240, 230, 0.72); line-height: 1.45; }
.ac-poster-info .ico { color: var(--ac-gold); margin-top: 1px; }
.ac-poster-price { margin-top: 11px; display: flex; align-items: baseline; gap: 5px; color: var(--ac-gold); font-size: 22px; font-weight: 800; }
.ac-poster-price small { font-size: 8.5px; color: rgba(255, 233, 179, 0.65); font-weight: 500; }
.ac-poster-qr { margin-top: 12px; display: flex; align-items: center; gap: 10px; padding: 9px; border-radius: 13px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.12); }
.ac-poster-qr img { width: 66px; height: 66px; border-radius: 7px; background: #fff; padding: 3px; flex: none; }
.ac-poster-qr b { display: block; font-size: 10px; }
.ac-poster-qr p { margin-top: 3px; font-size: 8px; color: rgba(255, 236, 224, 0.46); word-break: break-all; }
.ac-poster-footline { text-align: center; padding: 9px 10px 12px; font-size: 8px; letter-spacing: 2px; color: rgba(255, 232, 219, 0.38); }
.ac-poster-actions { display: flex; gap: 8px; margin-top: 10px; }
.ac-poster-copy, .ac-poster-close { flex: 1; padding: 11px; border-radius: 11px; font-size: 11.5px; font-weight: 700; display: flex; align-items: center; justify-content: center; gap: 4px; }
.ac-poster-copy { color: #3a2200; background: linear-gradient(135deg, #ffe08a, #ffc857); }
.ac-poster-close { color: var(--ac-sub); background: #fff; border: 1px solid var(--ac-line); }

/* ---------- home entry ---------- */
.ac-entry {
  position: relative; display: block; margin: 14px 14px 0; padding: 16px 16px 13px; border-radius: 20px; overflow: hidden;
  color: #fff; background:
    radial-gradient(110% 80% at 88% 0%, rgba(255, 107, 94, 0.5), transparent 58%),
    radial-gradient(80% 70% at 0% 100%, rgba(255, 200, 87, 0.18), transparent 62%),
    linear-gradient(150deg, #2a1229 0%, #3d1939 46%, #5a1f3f 100%);
  box-shadow: 0 14px 30px rgba(45, 18, 40, 0.22);
}
.ac-entry-glow { position: absolute; right: -30px; top: -38px; width: 150px; height: 150px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.12); box-shadow: 0 0 0 22px rgba(255, 255, 255, 0.035), 0 0 0 44px rgba(255, 255, 255, 0.025); pointer-events: none; }
.ac-entry-top { position: relative; z-index: 2; display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.ac-entry-kicker { font-size: 8px; letter-spacing: 1.9px; color: rgba(255, 213, 180, 0.72); font-weight: 700; }
.ac-entry-title { margin-top: 6px; font-family: var(--font-display); font-size: 22px; font-weight: 800; letter-spacing: 0.6px; display: flex; align-items: baseline; gap: 7px; }
.ac-entry-title span { font-family: var(--font); font-size: 10px; font-weight: 600; letter-spacing: 1px; color: var(--ac-gold); background: rgba(255, 200, 87, 0.12); border: 1px solid rgba(255, 200, 87, 0.22); padding: 3px 6px; border-radius: 5px; }
.ac-entry-sub { margin-top: 5px; font-size: 10.5px; color: rgba(255, 236, 224, 0.62); }
.ac-entry-count { flex: none; text-align: right; padding-top: 4px; }
.ac-entry-count b { display: block; font-size: 23px; line-height: 1; font-weight: 800; color: var(--ac-gold); }
.ac-entry-count span { display: block; font-size: 8.5px; color: rgba(255, 236, 224, 0.55); margin-top: 3px; }
.ac-entry-cats { position: relative; z-index: 2; margin-top: 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 5px; }
.ac-entry-cats > span { font-size: 9px; font-weight: 600; padding: 4px 7px; border-radius: 5px; }
.ac-entry-more { margin-left: auto; display: flex; align-items: center; gap: 1px; color: rgba(255, 233, 220, 0.66) !important; background: rgba(255, 255, 255, 0.08) !important; }
.ac-entry-foot { position: relative; z-index: 2; margin-top: 11px; padding-top: 9px; border-top: 1px solid rgba(255, 255, 255, 0.1); display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 8.5px; color: rgba(255, 236, 224, 0.55); }
.ac-entry-foot span { display: flex; align-items: center; gap: 3px; }
.ac-entry-foot .ico { color: var(--ac-gold); }

/* ---------- empty / skeleton ---------- */
.ac-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 44px 18px; text-align: center; color: var(--ac-muted); }
.ac-empty-ico { width: 57px; height: 57px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1px solid var(--ac-line); color: #c3b5c0; margin-bottom: 11px; box-shadow: 0 8px 20px rgba(50, 24, 46, 0.05); }
.ac-empty-ico .ico { width: 24px; height: 24px; }
.ac-empty b { font-size: 13px; color: var(--ac-sub); }
.ac-empty p { margin-top: 5px; font-size: 10px; line-height: 1.6; max-width: 245px; }
.ac-skeleton { height: 218px; border-radius: 19px; background: linear-gradient(100deg, #f3ecef 20%, #faf6f8 42%, #f3ecef 64%); background-size: 200% 100%; animation: acShimmer 1.25s infinite linear; }
@keyframes acShimmer { from { background-position: 130% 0; } to { background-position: -30% 0; } }

@media (max-width: 360px) {
  .ac-featured-card { flex-basis: 230px; }
  .ac-event-title { font-size: 15.5px; }
  .ac-detail-head h1 { font-size: 23px; }
  .ac-fields { grid-template-columns: 1fr; }
  .ac-te-grid { grid-template-columns: 1fr; }
  .ac-te-grid label.wide { grid-column: auto; }
}
