/* Shared chrome for the event and seat-selection mockups. */
@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/fonts/manrope-latin-wght-normal.woff2") format("woff2");
}
:root {
  --green: #6842F4;
  --green-dark: #5428E0;
  --green-btn: #6842F4;
  --green-soft: #F5F3FF;
  --green-banner: #F5F3FF;
  --ink: #17152D;
  --ink-2: #3c365c;
  --muted: #6e6888;
  --line: #e6e4f2;
  --line-strong: #d4d0e6;
  --link: #6842F4;
  --danger: #d4253b;
  --score: #6842F4;
  --card: 220px;
  --shadow: 0 1px 4px rgba(23, 21, 45, .06);
  --max: 1120px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: "Manrope", "Avenir Next", system-ui, sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.4;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul { list-style: none; }
svg { display: block; }

.logo { display: flex; align-items: center; flex: none; line-height: 0; }
.logo img { height: 40px; width: auto; }

/* ---------- Header (event page) ---------- */
.top-event {
  display: flex; align-items: center; gap: 22px;
  padding: 14px 28px 8px;
}
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 18px; font-size: 14px; font-weight: 600; }
.nav-right a:hover { color: var(--green-dark); }
.icon-btn { position: relative; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #f2f3f5; }
.icon-btn svg { width: 18px; height: 18px; stroke: var(--ink); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon-btn .dot { position: absolute; top: 5px; right: 6px; width: 8px; height: 8px; background: #e5484d; border-radius: 50%; border: 1.5px solid #fff; }

.search {
  display: flex; align-items: center; gap: 8px;
  height: 40px; padding: 0 14px;
  border: 1px solid var(--line-strong); border-radius: 12px; background: #F5F3FF;
}
.search:focus-within { border-color: var(--green); }
.search svg { width: 16px; height: 16px; stroke: var(--muted); fill: none; stroke-width: 2; stroke-linecap: round; flex: none; }
.search input { border: 0; outline: 0; width: 100%; background: transparent; font-size: 14px; }
.search input::placeholder { color: #9aa0ab; }
.search-inline { width: min(340px, 36vw); }

/* ---------- Header (seat page) ---------- */
.top-seats {
  display: flex; align-items: center; gap: 16px;
  padding: 10px 16px; border-bottom: 1px solid var(--line);
}
.evt-id { display: flex; align-items: center; gap: 10px; min-width: 0; }
.evt-id img { width: 44px; height: 44px; border-radius: 8px; object-fit: cover; flex: none; }
.evt-id h1 { font-size: 15px; font-weight: 700; }
.evt-id p { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.evt-id .sub { max-width: 420px; }
.seat-tools { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.ghost {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center;
}
.ghost svg { width: 20px; height: 20px; fill: none; stroke: var(--ink); stroke-width: 1.7; }
.mini-select, .text-link {
  font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; gap: 4px;
}
.avatar-green { width: 32px; height: 32px; border-radius: 50%; background: var(--green); display: grid; place-items: center; }
.avatar-green svg { width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 1.8; }
.search-seat { width: 280px; height: 36px; }

/* ---------- Cards & carousels ---------- */
.sec { margin: 28px 0; }
.sec h2 { font-size: 22px; font-weight: 800; letter-spacing: -.2px; margin-bottom: 14px; }
.carousel { position: relative; }
.track {
  display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  scrollbar-width: none; padding-bottom: 8px;
}
.track::-webkit-scrollbar { display: none; }
.car-btn {
  position: absolute; top: 78px; width: 36px; height: 36px; border-radius: 50%;
  background: #fff; border: 1px solid var(--line); box-shadow: 0 2px 8px rgba(20,22,44,.18);
  display: grid; place-items: center; z-index: 2;
}
.car-btn svg { width: 16px; height: 16px; stroke: var(--ink); fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.car-btn.prev { left: -8px; }
.car-btn.next { right: -8px; }
.car-btn[disabled] { opacity: 0; pointer-events: none; }
.card { flex: 0 0 var(--card); scroll-snap-align: start; display: block; }
.thumb { position: relative; border-radius: 20px; overflow: hidden; }
.thumb img { width: 100%; aspect-ratio: 4/3; object-fit: cover; background: #ececec; }
.card h3 { font-size: 15px; margin: 8px 0 2px; }
.card .date, .card .meta { font-size: 13px; color: var(--muted); }
.heart { position: absolute; top: 6px; right: 6px; padding: 4px; }
.heart svg { width: 20px; height: 20px; fill: transparent; stroke: #fff; stroke-width: 1.8; filter: drop-shadow(0 1px 1px rgba(0,0,0,.45)); }
.heart.on svg { fill: #ff3b6b; stroke: #ff3b6b; }
.sold {
  position: absolute; left: 8px; bottom: 8px;
  background: #fff; border-radius: 8px; font-size: 12px; font-weight: 700;
  padding: 4px 8px; display: inline-flex; align-items: center; gap: 5px;
}
.sold svg { width: 14px; height: 14px; stroke: var(--ink); fill: none; stroke-width: 1.8; }

/* ---------- Popular artists ---------- */
.artists { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 28px; }
.artist { display: flex; align-items: center; gap: 12px; }
.artist img { width: 52px; height: 52px; border-radius: 8px; object-fit: cover; background: #ececec; flex: none; }
.artist .name { font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.artist .fav { margin-left: auto; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-strong); display: grid; place-items: center; }
.artist .fav svg { width: 16px; height: 16px; fill: none; stroke: var(--ink-2); stroke-width: 1.7; }
.artist .fav.on svg { fill: #ff3b6b; stroke: #ff3b6b; }

/* ---------- Banners ---------- */
.reco {
  display: flex; align-items: center; gap: 16px;
  background: var(--green-banner); border-radius: 8px; padding: 16px 18px; margin: 22px 0;
}
.reco .msg { display: flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 800; }
.reco .msg svg { width: 26px; height: 26px; stroke: var(--green-dark); fill: none; stroke-width: 1.7; }
.reco .rule { width: 1px; align-self: stretch; background: #d4d0e6; margin: 0 8px; }
.reco .cta {
  background: #6842F4; color: #fff; font-weight: 700; font-size: 14px;
  border-radius: 12px; padding: 10px 16px;
}
.reco .cta:hover { background: #5428E0; }
.reco .x { margin-left: auto; width: 32px; height: 32px; font-size: 20px; color: var(--ink-2); }

.app-banner {
  background: #F5F3FF; border-radius: 20px;
  display: flex; align-items: center; gap: 22px;
  padding: 26px 32px; margin: 12px 0 28px;
}
.app-banner h3 { font-size: 26px; font-weight: 800; }
.app-banner p { color: var(--ink-2); margin-top: 4px; }
.app-banner .phones { width: 280px; height: 96px; object-fit: cover; border-radius: 8px; }
.stores { display: flex; flex-direction: column; gap: 6px; }
.stores img { width: 132px; height: 40px; border-radius: 7px; }
.app-banner .qr { width: 72px; height: 72px; border-radius: 6px; }

.nl { text-align: center; padding: 8px 16px 20px; }
.nl p { font-weight: 700; margin-bottom: 16px; }
.nl form { display: flex; justify-content: center; align-items: flex-end; gap: 18px; flex-wrap: wrap; }
.nl input {
  width: min(280px, 80vw); border: 0; border-bottom: 1px solid #c8c8c8;
  padding: 8px 4px; outline: 0; text-align: center;
}
.nl input:focus { border-bottom-color: var(--green-dark); }
.nl button {
  border: 1.5px solid var(--green-btn); color: var(--green-btn);
  border-radius: 12px; padding: 8px 18px; font-weight: 700;
}
.nl button:hover { background: var(--green-soft); }
.nl .ok { color: var(--green-dark); font-weight: 700; }
.fine {
  max-width: var(--max); margin: 0 auto; padding: 4px 24px 18px;
  font-size: 12px; color: var(--muted); line-height: 1.6;
}
.fine a { color: var(--link); }
.fine a:hover { text-decoration: underline; }

/* ---------- Footer ---------- */
.foot { border-top: 1px solid var(--line); margin-top: 10px; }
.foot-grid {
  max-width: 1180px; margin: 0 auto; padding: 28px 24px 36px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 28px;
}
.g-logo { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.g-logo .g1 { display: block; font-size: 12px; font-weight: 800; color: #17152D; line-height: 1.1; }
.g-logo img { width: 34px; height: auto; flex: none; }
.g-logo .g2 { display: block; font-size: 18px; font-weight: 700; color: #4a4e63; line-height: 1.1; }
.guarantee li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-2); margin: 10px 0; }
.guarantee svg { width: 16px; height: 16px; stroke: var(--green); fill: none; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.g-logo svg { width: 34px; height: 34px; stroke-width: 1.7; }
.foot-col h4 { font-size: 15px; margin-bottom: 12px; }
.foot-col a { display: block; font-size: 14.5px; color: var(--ink); line-height: 2; }
.foot-col a:hover { text-decoration: underline; }
.loc {
  width: 100%; text-align: left; font-size: 14px; color: #3c365c;
  border: 1px solid var(--line-strong); border-radius: 8px; padding: 12px 14px; margin-bottom: 10px;
  display: flex; align-items: center; gap: 8px;
}
.loc.line { border: 0; border-bottom: 1px solid var(--line-strong); border-radius: 0; }
.loc svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.7; }
.loc .chev { margin-left: auto; }
.legal { max-width: 1180px; margin: 0 auto; padding: 16px 24px 32px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); line-height: 1.7; }
.legal a { color: var(--link); text-decoration: underline; text-underline-offset: 2px; }

.pager { display: flex; justify-content: center; align-items: center; gap: 14px; padding: 22px 0 6px; color: var(--muted); }
.pager button { min-width: 28px; height: 28px; border-radius: 50%; font-weight: 700; }
.pager button.on { background: var(--green-dark); color: #fff; }
.pager button[disabled] { opacity: .35; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.empty { padding: 28px 0; color: var(--muted); }

@media (max-width: 960px) {
  .artists { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .app-banner { flex-wrap: wrap; }
  .nav-right a { display: none; }
  .search-seat { display: none; }
}
@media (max-width: 640px) {
  .artists, .foot-grid { grid-template-columns: 1fr; }
  .top-event { flex-wrap: wrap; padding: 12px 16px; gap: 10px 12px; }
  .logo img { height: 32px; }
  .nav-right { flex-wrap: wrap; justify-content: flex-end; gap: 8px 12px; min-width: 0; }
  .search-inline { width: 100%; order: 3; min-width: 0; }
  .reco { flex-wrap: wrap; }
  .reco .rule { display: none; }
  .car-btn { display: none; }
  .wrap { padding: 0 16px; }
}
