/* CouponNight design system (redesign, Nov 2026).
   Brand colours, fonts and spacing live here as variables; views use the cn- classes below.
   Brand guide: CouponNight-Brand-Guide.pdf */

:root {
    /* Colours */
    --midnight: #16123F;
    --dusk: #2B2577;
    --dusk-600: #3A3394;
    --night-surface: #221D5C;
    --night-control: #8079C9;
    --moonlight: #FFC53D;
    --moonlight-tint: #FFF1CC;
    --moonlight-deep: #8A5A00;
    --starlight: #F4F2FF;
    --surface: #FFFFFF;
    --mist: #DCD8F5;
    --line-control: #847FAE;
    --slate: #575376;
    --lilac: #CFCBF2;
    --works: #0E7C55;
    --ending: #B8401A;

    /* Fonts */
    --font-display: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
    --font-text: 'Atkinson Hyperlegible Next', 'Segoe UI', system-ui, sans-serif;
    --font-code: 'Atkinson Hyperlegible Mono', ui-monospace, monospace;

    /* Layout */
    --content-width: 1240px;
    --side-margin: 32px;
    --section-gap: clamp(40px, 9vw, 70px);
    --radius-pill: 999px;
    --radius-ticket: 22px;
    --radius-tile: 14px;
    --radius-badge: 8px;
    --shadow-lift: 0 12px 32px rgba(22, 18, 63, .14);
}

@media (max-width: 991px) {
    :root { --side-margin: 20px; --section-gap: 40px; }
}

/* ---------- Base ---------- */
.cn-body {
    margin: 0;
    background: var(--starlight);
    color: var(--midnight);
    font-family: var(--font-text);
    font-size: 16px;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}
.cn-wrap { max-width: var(--content-width); margin: 0 auto; padding: 0 var(--side-margin); box-sizing: content-box; }
.cn-section { margin-top: var(--section-gap); }
.cn-h1, .cn-h2, .cn-display { font-family: var(--font-display); color: inherit; margin: 0; }
/* The old layout forces 'Plus Jakarta' with !important on headings, buttons and nav; brand fonts must win site-wide. */
.cn-body :is(h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6) { font-family: var(--font-display) !important; }
.cn-body :is(.btn, .navbar, .nav-link, .fw-bold, .fw-semibold, .custom-btn, .fs-10, .fs-30) { font-family: var(--font-text) !important; }
.cn-h1 { font-weight: 800; font-size: clamp(30px, 2.2vw + 16px, 48px); line-height: 1.06; letter-spacing: -.02em; }
.cn-h2 { font-weight: 700; font-size: clamp(24px, 1vw + 16px, 28px); line-height: 1.2; }
.cn-lead { color: var(--slate); font-size: clamp(17px, .4vw + 15px, 19px); line-height: 1.55; max-width: 38em; margin: 12px 0 0; }
.cn-link { color: var(--dusk-600); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.cn-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cn-body :focus-visible { outline: 2px solid var(--dusk-600); outline-offset: 2px; }
.cn-night :focus-visible { outline-color: var(--moonlight); }

/* ---------- Buttons and badges ---------- */
.cn-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; padding: 0 22px; box-sizing: border-box;
    border-radius: var(--radius-pill); border: 2px solid transparent;
    font-family: var(--font-text); font-weight: 700; font-size: 16px; line-height: 1;
    text-decoration: none; cursor: pointer; white-space: nowrap;
}
.cn-btn--moon { background: var(--moonlight); border-color: var(--moonlight); color: var(--midnight); }
.cn-btn--moon:hover { background: #FFD066; }
.cn-btn--line { background: var(--surface); border-color: var(--line-control); color: var(--midnight); }
.cn-btn--line:hover { border-color: var(--midnight); }
.cn-btn--night { background: var(--midnight); border-color: var(--midnight); color: #fff; }
.cn-btn--ghost-night { background: transparent; border-color: var(--night-control); color: #fff; }
.cn-badge {
    display: inline-flex; align-items: center; height: 24px; padding: 0 8px;
    border-radius: var(--radius-badge); font-size: 13px; line-height: 18px; font-weight: 700; white-space: nowrap;
}
.cn-badge--exclusive { background: var(--moonlight-tint); color: var(--moonlight-deep); }
.cn-badge--plain { background: var(--starlight); color: var(--slate); font-weight: 500; }
.cn-badge--works { background: #E3F4EC; color: var(--works); }
.cn-badge--ending { background: #FBE9E2; color: var(--ending); }

/* ---------- Header ---------- */
.cn-announce { background: var(--dusk); color: #fff; font-size: 14px; line-height: 20px; text-align: center; padding: 12px var(--side-margin); }
.cn-announce a { color: var(--moonlight); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.cn-announce__item { margin: 0; }
/* With JS, one line at a time (couponnight.js adds .is-rotating and marks the visible line) */
.cn-announce.is-rotating .cn-announce__item:not(.is-current) { display: none; }
@media (prefers-reduced-motion: no-preference) { .cn-announce.is-rotating .cn-announce__item.is-current { animation: cn-announce-in .35s ease-out; } }
@keyframes cn-announce-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.cn-header { position: relative; z-index: 45; background: var(--midnight); color: #fff; }
.cn-header__bar { display: flex; align-items: center; gap: 8px 32px; min-height: 84px; }
.cn-logo { display: inline-flex; align-items: center; gap: 11px; color: #fff; text-decoration: none; flex: 0 0 auto; }
.cn-logo svg { display: block; width: 49px; height: 34px; }
.cn-logo__mark { color: var(--moonlight); }
.cn-logo-link { color: inherit; text-decoration: none; display: inline-flex; }
.cn-logo__word { font-family: var(--font-display); font-weight: 800; font-size: 28px; line-height: 1; letter-spacing: -.03em; white-space: nowrap; }
.cn-nav { margin-left: auto; display: flex; align-items: center; gap: 0 28px; }
.cn-nav__item {
    display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0;
    background: none; border: 0; color: #fff; font-family: var(--font-text);
    font-size: 16px; font-weight: 500; text-decoration: none; cursor: pointer;
}
.cn-nav__item:hover, .cn-nav__item[aria-expanded="true"] { color: var(--moonlight); }
/* The chevron sits 6px after its link, like one "Stores ⌄" item in the design. */
.cn-nav__toggle { margin-left: -22px; padding: 0 0 0 6px; }
.cn-nav__item svg { transition: transform .15s ease-out; }
.cn-nav__item[aria-expanded="true"] svg { transform: rotate(180deg); }
.cn-icon-btn {
    display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px;
    border-radius: 50%; border: 2px solid var(--night-control); background: transparent; color: #fff; cursor: pointer;
}
.cn-menu-btn { display: none; }
.cn-header__search-desktop { margin-left: -4px; }

/* Mega menus */
.cn-mega {
    position: absolute; left: 0; right: 0; top: 100%; z-index: 40; display: none;
    background: var(--surface); color: var(--midnight);
    border-top: 1px solid var(--mist); box-shadow: 0 24px 48px -24px rgba(22, 18, 63, .45);
}
.cn-mega.is-open { display: block; animation: cn-drop .16s ease-out; }
@keyframes cn-drop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.cn-mega-scrim { display: none; position: fixed; inset: 0; z-index: 30; background: rgba(22, 18, 63, .35); }
.cn-mega-scrim.is-open { display: block; }
.cn-mega__inner { display: grid; gap: 40px; padding-top: 32px; padding-bottom: 36px; }
.cn-mega__inner--stores { grid-template-columns: 2fr 1.3fr 1fr; }
.cn-mega__inner--cats { grid-template-columns: 1fr 1fr 1.2fr; }
.cn-mega__inner--events { grid-template-columns: 1.2fr 1.3fr 1fr; }
.cn-mega__inner--blog { grid-template-columns: 1fr 1fr 1fr 1.1fr; gap: 32px; padding-bottom: 0; }
.cn-mega__title { margin: 0 0 8px; font-size: 13px; line-height: 18px; font-weight: 700; color: var(--slate); }
.cn-mega__list { list-style: none; margin: 0; padding: 0; }
.cn-mega__list--stores { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 16px; }
.cn-mega__list--stores a { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 12px; color: var(--midnight); text-decoration: none; font-weight: 700; }
.cn-mega__list--stores a:hover { background: var(--starlight); }
.cn-mega__logo { width: 64px; height: 36px; object-fit: cover; border-radius: 6px; display: block; flex: 0 0 auto; background: var(--starlight); }
.cn-mega__letters { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.cn-mega__letters a {
    display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; box-sizing: border-box;
    border-radius: 8px; border: 1px solid var(--mist); color: var(--midnight);
    font-family: var(--font-display); font-weight: 700; text-decoration: none;
}
.cn-mega__letters a:hover { border-color: var(--midnight); }
.cn-mega__list--plain a { display: flex; align-items: center; min-height: 40px; color: var(--midnight); font-size: 16px; line-height: 22px; font-weight: 500; text-decoration: none; }
.cn-mega__list--plain a:hover, .cn-mega__list--posts a:hover, .cn-mega__list--past a:hover { color: var(--dusk-600); text-decoration: underline; }
.cn-mega__list--past a { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 40px; color: var(--midnight); text-decoration: none; }
.cn-mega__note { font-size: 13px; color: var(--slate); }
.cn-mega__list--posts a { display: block; padding: 8px 0; color: var(--midnight); font-size: 15px; line-height: 22px; text-decoration: none; }
.cn-mega__dates { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px 16px; }
.cn-mega__dates a { display: flex; align-items: center; gap: 14px; min-height: 56px; color: var(--midnight); text-decoration: none; }
.cn-mega__date-name { display: block; font-weight: 700; font-size: 16px; line-height: 22px; }
.cn-mega__date-day { display: block; font-size: 14px; line-height: 20px; color: var(--slate); }
.cn-mega__all { display: inline-flex; align-items: center; min-height: 40px; margin-top: 8px; }
.cn-mega__footer { padding-top: 8px; padding-bottom: 36px; }
.cn-mega__title--spaced { margin-top: 24px; }
.cn-mega__feature {
    display: flex; flex-direction: column; justify-content: space-between; gap: 20px; height: 100%; box-sizing: border-box;
    padding: 24px; border-radius: 18px; background: var(--midnight); color: #fff; text-decoration: none;
}
.cn-mega__feature:hover { color: #fff; }
.cn-mega__feature-title { display: block; font-family: var(--font-display); font-weight: 800; font-size: 26px; line-height: 1.1; }
.cn-mega__feature-text { display: block; margin-top: 8px; color: var(--lilac); font-size: 15px; line-height: 22px; }
.cn-mega__feature-btn {
    display: inline-flex; align-self: flex-start; align-items: center; min-height: 44px; padding: 0 18px;
    border-radius: var(--radius-pill); background: var(--moonlight); color: var(--midnight); font-weight: 700; font-size: 15px;
}
.cn-mega__feature:hover .cn-mega__feature-btn { background: #FFD066; }

/* Date tile (mega menu, homepage key dates): day number over the month. */
.cn-date { display: flex; flex-direction: column; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 12px; background: var(--midnight); flex: 0 0 auto; }
.cn-date__num { font-family: var(--font-display); font-stretch: 75%; font-weight: 800; font-size: 24px; line-height: 1; color: var(--moonlight); }
.cn-date__mon { font-size: 11px; line-height: 14px; font-weight: 700; color: #fff; }
.cn-date--main { background: var(--moonlight); }
.cn-date--main .cn-date__num, .cn-date--main .cn-date__mon { color: var(--midnight); }

/* Mobile drawer and search sheet */
.cn-scrim { position: fixed; inset: 0; z-index: 50; background: rgba(22, 18, 63, .6); opacity: 0; pointer-events: none; transition: opacity .25s ease-out; }
.cn-scrim.is-open { opacity: 1; pointer-events: auto; }
.cn-drawer {
    position: fixed; top: 0; right: 0; bottom: 0; z-index: 51; width: min(340px, 88%); box-sizing: border-box;
    padding: 0 20px 32px; background: var(--midnight); color: #fff; overflow-y: auto;
    transform: translateX(100%); visibility: hidden;
    transition: transform .28s cubic-bezier(.2, .8, .2, 1), visibility 0s linear .28s;
}
.cn-drawer.is-open { transform: none; visibility: visible; transition: transform .28s cubic-bezier(.2, .8, .2, 1); }
.cn-drawer__head { display: flex; align-items: center; justify-content: space-between; min-height: 68px; }
.cn-logo--small .cn-logo { gap: 8px; }
.cn-logo--small .cn-logo svg { width: 34px; height: 24px; }
.cn-logo--small .cn-logo__word { font-size: 21px; }
.cn-drawer__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--dusk-600); }
.cn-drawer__list > li { border-bottom: 1px solid var(--dusk-600); }
.cn-drawer__row {
    display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; min-height: 56px;
    padding: 0; border: 0; background: transparent; color: #fff; text-align: left; cursor: pointer; text-decoration: none;
    font-family: var(--font-display); font-weight: 700; font-size: 20px;
}
.cn-drawer__row:hover { color: #fff; }
.cn-drawer__row > span:first-child { display: inline-flex; align-items: center; gap: 10px; }
.cn-drawer__row .cn-badge { font-family: var(--font-text); }
.cn-drawer__icon { display: inline-flex; color: var(--lilac); transition: transform .2s ease-out; }
.cn-drawer__row[aria-expanded="true"] .cn-drawer__icon { transform: rotate(180deg); }
.cn-drawer__sub { display: none; list-style: none; margin: 0; padding: 0 0 12px 14px; border-left: 2px solid var(--dusk-600); }
.cn-drawer__sub.is-open { display: block; }
.cn-drawer__sub a { display: flex; align-items: center; min-height: 44px; color: var(--lilac); font-size: 17px; text-decoration: none; }
.cn-drawer__sub a.cn-drawer__all { color: var(--moonlight); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.cn-drawer__promo { display: block; margin: 20px 0; padding: 18px; border-radius: 18px; background: var(--moonlight); color: var(--midnight); text-decoration: none; }
.cn-drawer__promo:hover { color: var(--midnight); }
.cn-drawer__promo-title { display: block; font-family: var(--font-display); font-weight: 800; font-size: 22px; line-height: 1.1; }
.cn-drawer__promo-text { display: block; margin-top: 4px; font-size: 15px; line-height: 22px; }
.cn-drawer__extra { list-style: none; margin: 0; padding: 0; }
.cn-drawer__extra a { display: inline-flex; align-items: center; min-height: 44px; color: var(--lilac); text-decoration: none; }
.cn-drawer__social { display: flex; gap: 10px; margin-top: 16px; }
@media (prefers-reduced-motion: reduce) { .cn-drawer, .cn-drawer.is-open, .cn-scrim, .cn-drawer__icon { transition: none; } }

.cn-search-sheet {
    position: fixed; inset: 0; z-index: 52; background: var(--starlight); overflow-y: auto; box-sizing: border-box;
    padding: 12px 20px 32px; opacity: 0; transform: translateY(-12px); visibility: hidden;
    transition: opacity .2s ease-out, transform .2s ease-out, visibility 0s linear .2s;
}
.cn-search-sheet.is-open { opacity: 1; transform: none; visibility: visible; transition: opacity .2s ease-out, transform .2s ease-out; }
.cn-search-sheet__inner { max-width: 720px; margin: 0 auto; }
.cn-search-sheet__bar { display: flex; align-items: center; gap: 8px; }
.cn-search-field {
    flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 10px; box-sizing: border-box;
    background: #fff; border: 2px solid var(--midnight); border-radius: var(--radius-pill); padding: 0 16px; min-height: 52px;
}
.cn-search-field__icon { display: inline-flex; color: var(--slate); }
.cn-search-field input { -webkit-appearance: none; appearance: none; box-shadow: none; flex: 1 1 auto; min-width: 0; border: 0; outline: 0; padding: 0; font-family: var(--font-text); font-size: 17px; color: var(--midnight); background: transparent; height: 44px; }
.cn-search-field:focus-within { outline: 2px solid var(--dusk-600); outline-offset: 2px; }
.cn-body .cn-search-field input:focus-visible { outline: none; }
.cn-search-sheet__cancel { flex: 0 0 auto; min-height: 44px; padding: 0 8px; border: 0; background: transparent; color: var(--dusk-600); font-family: var(--font-text); font-weight: 700; font-size: 16px; cursor: pointer; }
.cn-search-sheet__title { margin: 24px 0 10px; font-size: 15px; line-height: 20px; font-weight: 700; color: var(--slate); }
.cn-search-sheet__cats { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--mist); }
.cn-search-sheet__cats li { border-bottom: 1px solid var(--mist); }
.cn-search-sheet__cats a { display: flex; align-items: center; justify-content: space-between; min-height: 52px; color: var(--midnight); font-size: 17px; text-decoration: none; }
.cn-search-sheet__chev { display: inline-flex; color: var(--slate); }
.cn-search-results { list-style: none; margin: 12px 0 0; padding: 0; }
.cn-search-results a { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--mist); color: var(--midnight); text-decoration: none; font-weight: 700; }
.cn-chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.cn-chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; box-sizing: border-box; border-radius: var(--radius-pill); border: 2px solid var(--line-control); color: var(--midnight); background: #fff; font-weight: 700; font-size: 15px; text-decoration: none; }
.cn-chip:hover { border-color: var(--midnight); color: var(--midnight); }
@media (prefers-reduced-motion: reduce) { .cn-search-sheet, .cn-search-sheet.is-open { transition: none; transform: none; } }

@media (max-width: 991px) {
    .cn-nav, .cn-header__search-desktop { display: none; }
    .cn-menu-btn { display: inline-flex; }
    .cn-menu-btn--first { margin-left: auto; }
    .cn-header__bar { min-height: 72px; gap: 8px; }
    .cn-logo { gap: 9px; }
    .cn-logo svg { width: 40px; height: 28px; }
    .cn-logo__word { font-size: 23px; }
}

/* ---------- Footer ---------- */
.cn-footer { background: var(--midnight); color: #fff; margin-top: var(--section-gap); padding: clamp(48px, 5vw, 72px) 0 32px; }
.cn-footer__top { display: flex; flex-wrap: wrap; gap: 40px 64px; }
.cn-footer__brand { min-width: 0; max-width: 340px; }
.cn-footer__brand .cn-logo svg { width: 43px; height: 30px; }
.cn-footer__brand .cn-logo__word { font-size: 25px; }
.cn-footer__about { margin: 16px 0 0; color: var(--lilac); }
.cn-footer__social { display: flex; gap: 10px; margin-top: 20px; }
.cn-footer__cols { flex: 1 1 560px; min-width: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 32px; }
.cn-footer__title { margin: 0 0 8px; font-size: 15px; line-height: 20px; font-weight: 700; color: #fff; }
.cn-footer__links { list-style: none; margin: 0; padding: 0; }
.cn-footer__links a, .cn-footer__legal a { display: inline-flex; align-items: center; min-height: 40px; color: var(--lilac); text-decoration: none; }
.cn-footer__links a:hover, .cn-footer__legal a:hover { color: var(--moonlight); text-decoration: underline; }
.cn-footer__bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--dusk-600); font-size: 14px; line-height: 20px; color: var(--lilac); }
.cn-footer__note { margin: 0 0 12px; max-width: 60em; }
.cn-footer__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 24px; }
.cn-footer__row p { margin: 0; }
.cn-footer__legal { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 20px; }
@media (max-width: 767px) {
    .cn-footer__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Ticket (every coupon and deal) ---------- */
.cn-ticket {
    --ticket-stub: 104px; --ticket-cut: var(--starlight);
    position: relative; display: grid; grid-template-columns: var(--ticket-stub) minmax(0, 1fr); box-sizing: border-box;
    background: var(--surface); color: var(--midnight); border: 1px solid var(--mist); border-radius: var(--radius-ticket); min-height: 128px;
}
/* Half circles cut into the top and bottom edge where the stub meets the body. */
.cn-ticket::before, .cn-ticket::after {
    content: ""; position: absolute; left: calc(var(--ticket-stub) - 12px); width: 24px; height: 24px; box-sizing: border-box;
    border-radius: 50%; background: var(--ticket-cut); border: 1px solid var(--mist);
}
.cn-ticket::before { top: -13px; clip-path: inset(12px 0 0 0); }
.cn-ticket::after { bottom: -13px; clip-path: inset(0 0 12px 0); }
.cn-ticket__stub {
    background: var(--midnight); border-radius: calc(var(--radius-ticket) - 1px) 0 0 calc(var(--radius-ticket) - 1px);
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 16px 6px; text-align: center;
}
.cn-ticket__num { font-family: var(--font-display); font-stretch: 75%; font-weight: 800; font-size: 46px; line-height: .9; letter-spacing: -.02em; color: var(--moonlight); }
.cn-ticket__num--long { font-size: 34px; }
.cn-ticket__unit { color: #fff; font-weight: 700; font-size: 14px; line-height: 18px; }
.cn-ticket__body {
    border-left: 2px dashed var(--mist); padding: 18px 20px 18px 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 14px 16px; min-width: 0;
}
.cn-ticket__info { flex: 1 1 220px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.cn-ticket__store { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; line-height: 22px; }
.cn-ticket__store img { width: 48px; height: 27px; object-fit: cover; border-radius: 6px; border: 1px solid var(--mist); display: block; }
.cn-ticket__title { font-size: 15px; line-height: 22px; margin: 0; font-weight: 400; }
.cn-ticket__meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 2px; }
.cn-ticket__action { flex: 0 0 auto; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.cn-ticket .cn-btn { min-height: 44px; padding: 0 18px; font-size: 15px; }
/* Hero ticket: floats on the night background, no border. */
.cn-ticket--hero { --ticket-stub: 96px; --ticket-cut: var(--midnight); border: 0; width: min(360px, 100%); box-shadow: 0 18px 36px -18px rgba(22, 18, 63, .45); }
.cn-ticket--hero::before, .cn-ticket--hero::after { border: 0; }
.cn-ticket--hero .cn-ticket__stub { background: var(--dusk); border-radius: 21px 0 0 21px; }
.cn-ticket--hero .cn-ticket__num { font-size: 42px; }
.cn-ticket--hero .cn-ticket__body { flex-direction: column; align-items: flex-start; }
.cn-ticket--hero .cn-ticket__info { flex: 0 0 auto; }
@media (max-width: 575px) {
    .cn-ticket { --ticket-stub: 84px; }
    .cn-ticket__num { font-size: 38px; }
    .cn-ticket__num--long { font-size: 28px; }
    .cn-ticket__info { flex: 0 0 auto; width: 100%; }
    /* Printed code + button: let the row shrink and wrap instead of running off the screen */
    .cn-ticket__action { flex: 1 1 100%; min-width: 0; justify-content: flex-start; }
    .cn-ticket__code { max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
    .cn-float { animation: cn-float 4.5s ease-in-out infinite; will-change: transform; }
}
@keyframes cn-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-18px); } }

/* ---------- Page sections (shared by the homepage and listing pages) ---------- */
.cn-h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 1.2vw + 14px, 32px); line-height: 1.12; letter-spacing: -.01em; color: var(--midnight); margin: 0; }
.cn-label { margin: 0; font-family: var(--font-text); font-size: 15px; line-height: 20px; font-weight: 700; color: var(--slate); letter-spacing: 0; }
.cn-section-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px; margin-bottom: 32px; }
.cn-section-head--end { align-items: flex-end; margin-bottom: 28px; }
.cn-section-head--stack { display: block; }
.cn-section-head p { margin: 8px 0 0; color: var(--slate); max-width: 40em; }
.cn-section-head .cn-link { display: inline-flex; align-items: center; min-height: 44px; }
.cn-btn--large { min-height: 52px; padding: 0 26px; font-size: 17px; }
.cn-chips--roomy { gap: 10px; }
.cn-chips--roomy .cn-chip { padding: 0 18px; }
.cn-chip--night { background: transparent; border-color: var(--night-control); color: #fff; }
.cn-chip--night:hover { border-color: #fff; color: #fff; }

/* Hero */
.cn-hero { background: var(--midnight); color: #fff; padding: clamp(48px, 7vw, 112px) 0; overflow-x: clip; overflow-y: visible; position: relative; z-index: 2; }
.cn-hero__grid { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.cn-hero__text { flex: 1 1 520px; min-width: 0; max-width: 680px; }
.cn-body .cn-hero__title { margin: 0; font-family: var(--font-display) !important; font-weight: 800; font-size: clamp(44px, 3.4vw + 22px, 72px); line-height: 1; letter-spacing: -.02em; color: #fff; }
.cn-hero__lead { margin: 24px 0 0; font-size: 19px; line-height: 30px; color: var(--lilac); max-width: 34em; }
.cn-hero__search { max-width: 620px; margin-top: 32px; }
.cn-hero__label { display: block; margin: 0 0 8px; color: var(--lilac); font-size: 14px; line-height: 20px; }
.cn-hero__field {
    display: flex; align-items: center; gap: 10px; background: #fff; border-radius: var(--radius-pill);
    padding: 4px 6px 4px 18px; min-height: 64px; box-sizing: border-box; color: var(--slate);
}
.cn-hero__field:focus-within { outline: 2px solid var(--moonlight); outline-offset: 2px; }
.cn-hero__field input { -webkit-appearance: none; appearance: none; flex: 1 1 auto; min-width: 0; border: 0; outline: 0; background: transparent; font-family: var(--font-text); font-size: 18px; color: var(--midnight); height: 48px; padding: 0; }
.cn-body .cn-hero__field input:focus-visible { outline: none; }
.cn-hero__submit { min-height: 52px; padding: 0 26px; font-size: 17px; }
.cn-hero__popular { margin-top: 20px; }
.cn-hero__stats { margin: 40px 0 0; padding-top: 24px; border-top: 1px solid var(--dusk-600); display: flex; flex-wrap: wrap; gap: 16px 40px; }
.cn-hero__stats div { display: flex; flex-direction: column-reverse; }
.cn-hero__stats dt { font-size: 14px; line-height: 20px; color: var(--lilac); font-weight: 400; }
.cn-hero__stats dd { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 30px; line-height: 1.1; color: #fff; }
.cn-hero__art { flex: 1 1 400px; max-width: 500px; min-width: 0; position: relative; aspect-ratio: 1 / 1; }
.cn-hero__moon { position: absolute; top: 0; right: 0; width: 90%; height: 90%; color: var(--moonlight); }
.cn-hero__moon svg { display: block; width: 100%; height: 100%; }
.cn-hero__ticket { position: absolute; left: 0; bottom: 4%; width: min(360px, 100%); }
@media (max-width: 991px) {
    .cn-hero { padding: 40px 0 48px; }
    .cn-hero__field { flex-wrap: wrap; background: transparent; padding: 0; gap: 12px; min-height: 0; }
    .cn-hero__field svg { display: none; }
    .cn-hero__field input { flex: 1 1 100%; background: #fff; border-radius: var(--radius-pill); height: 56px; padding: 0 20px; }
    .cn-hero__submit { flex: 1 1 100%; }
    .cn-hero__field:focus-within { outline: none; }
    .cn-hero__art { display: none; }
}

/* Popular stores: a slow moving row (paused on hover/focus; scrolls by hand when motion is reduced) */
.cn-marquee { overflow: hidden; }
.cn-marquee__track { list-style: none; margin: 0; padding: 4px 0; display: flex; gap: 16px; width: max-content; }
@media (prefers-reduced-motion: no-preference) {
    .cn-marquee__track.is-moving { animation: cn-scroll 70s linear infinite; }
    .cn-marquee:hover .cn-marquee__track, .cn-marquee:focus-within .cn-marquee__track { animation-play-state: paused; }
}
@media (prefers-reduced-motion: reduce) { .cn-marquee { overflow-x: auto; } }
@keyframes cn-scroll { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 8px)); } }
.cn-store-tile {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; width: 168px; height: 112px;
    box-sizing: border-box; padding: 12px; background: var(--surface); border: 1px solid var(--mist); border-radius: var(--radius-tile);
    color: var(--midnight); text-decoration: none; text-align: center; font-weight: 700; font-size: 15px; line-height: 20px;
}
.cn-store-tile:hover { border-color: var(--line-control); color: var(--midnight); }
.cn-store-tile img { width: 112px; height: 56px; object-fit: contain; border-radius: 8px; display: block; }
.cn-store-tile span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Ticket grids */
.cn-ticket-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 480px), 1fr)); gap: 24px; }
.cn-exclusive { background: var(--moonlight-tint); border-radius: var(--radius-ticket); padding: clamp(24px, 3vw, 40px); }
.cn-ticket--on-tint { --ticket-cut: var(--moonlight-tint); }

/* Sale banner (next event from admin) */
.cn-sale {
    background: var(--midnight); color: #fff; border-radius: var(--radius-ticket); padding: clamp(24px, 3vw, 48px);
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 40px;
}
.cn-sale__text { flex: 1 1 360px; min-width: 0; max-width: 480px; }
.cn-sale__text p { margin: 8px 0 0; color: var(--lilac); }
.cn-body .cn-sale__title { margin: 0; font-family: var(--font-display) !important; font-weight: 800; font-size: clamp(30px, 1.6vw + 14px, 40px); line-height: 1.05; letter-spacing: -.015em; color: #fff; }
.cn-sale__label { margin: 0 0 8px; font-size: 14px; line-height: 20px; color: var(--lilac); }
.cn-sale__timer { display: flex; gap: 8px; }
.cn-sale__timer > div { background: var(--dusk); border-radius: 14px; width: 76px; padding: 10px 0; text-align: center; font-size: 13px; line-height: 18px; color: var(--lilac); }
.cn-sale__num { display: block; font-family: var(--font-display); font-stretch: 75%; font-weight: 800; font-size: 36px; line-height: 1; color: var(--moonlight); }

/* Key dates: small tickets */
.cn-dates { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 24px; }
.cn-ticket--date { --ticket-stub: 88px; min-height: 104px; height: 100%; }
.cn-ticket--date .cn-ticket__stub { padding: 0; gap: 2px; }
.cn-ticket--date .cn-ticket__num { font-size: 44px; }
.cn-ticket__stub--moon { background: var(--moonlight); }
.cn-ticket__stub--moon .cn-ticket__num, .cn-ticket__stub--moon .cn-ticket__unit { color: var(--midnight); }
.cn-ticket--date .cn-ticket__body { flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; padding: 16px 18px 16px 20px; }
.cn-dates__name { font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 1.2; }
.cn-dates__day { font-size: 15px; line-height: 22px; color: var(--slate); }

/* Find a store */
.cn-letters { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(44px, 1fr)); gap: 6px; }
.cn-letters a {
    display: flex; align-items: center; justify-content: center; height: 44px; border-radius: 8px; background: var(--surface);
    border: 1px solid var(--mist); color: var(--midnight); font-family: var(--font-display); font-weight: 700; font-size: 18px; text-decoration: none;
}
.cn-letters a:hover { border-color: var(--midnight); color: var(--midnight); }
.cn-body .cn-find__label { margin: 40px 0 8px; font-family: var(--font-text) !important; }
.cn-store-list { list-style: none; margin: 0; padding: 0; columns: 4 220px; column-gap: 40px; }
.cn-store-list li { break-inside: avoid; border-bottom: 1px solid var(--mist); }
.cn-store-list a { display: flex; align-items: center; min-height: 48px; color: var(--midnight); font-size: 17px; text-decoration: none; }
.cn-store-list a:hover { color: var(--dusk-600); text-decoration: underline; }

/* Product cards */
.cn-product-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 24px; }
.cn-product {
    display: flex; flex-direction: column; gap: 4px; height: 100%; box-sizing: border-box; padding: 12px 12px 16px;
    background: var(--surface); border: 1px solid var(--mist); border-radius: 18px; color: var(--midnight); text-decoration: none;
}
.cn-product:hover { border-color: var(--line-control); color: var(--midnight); }
.cn-product__img { display: block; aspect-ratio: 1 / 1; border-radius: 12px; overflow: hidden; background: #fff; margin-bottom: 8px; }
.cn-product__img--wide { aspect-ratio: 16 / 10; }
.cn-product__img img { width: 100%; height: 100%; object-fit: contain; display: block; }
.cn-product__store { font-size: 14px; line-height: 20px; color: var(--slate); }
.cn-product__name { font-weight: 700; font-size: 16px; line-height: 22px; }
.cn-product__price { display: flex; align-items: baseline; gap: 8px; margin-top: auto; padding-top: 4px; }
.cn-product__price b { font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1.1; }
.cn-product__price s { color: var(--slate); font-size: 14px; }
.cn-product__saving { font-size: 13px; font-weight: 700; color: var(--ending); }
/* Phone: two products per row, smaller text and button */
@media (max-width: 575px) {
    .cn-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .cn-product { min-width: 0; overflow-wrap: anywhere; }
    .cn-product { padding: 8px 8px 12px; border-radius: 14px; }
    .cn-product__name { font-size: 14px; line-height: 19px; }
    .cn-product__price b { font-size: 18px; }
    .cn-product .cn-btn { min-height: 40px; padding: 0 10px; font-size: 14px; }
}
/* Old layout extras the design does not have. */
.cn-body #scrollTopBtn { display: none !important; }

/* How it works */
.cn-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 40px; }
.cn-steps li { display: flex; flex-direction: column; gap: 12px; }
.cn-steps__num {
    display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: var(--radius-pill);
    background: var(--midnight); color: var(--moonlight); font-family: var(--font-display); font-stretch: 75%; font-weight: 800; font-size: 26px;
}
.cn-body .cn-steps h3 { margin: 0; font-family: var(--font-display) !important; font-weight: 700; font-size: 22px; line-height: 1.25; }
.cn-steps p { margin: 0; color: var(--slate); max-width: 30em; }

/* FAQ with the "why" column */
.cn-faq-layout { display: flex; flex-wrap: wrap; gap: 24px 64px; align-items: flex-start; }
.cn-faq-layout__side { flex: 1 1 300px; min-width: 0; }
.cn-body .cn-why__label { margin-top: 32px; margin-bottom: 4px; font-family: var(--font-text) !important; }
.cn-why__text { margin: 0 0 8px; color: var(--slate); font-size: 15px; line-height: 22px; }
.cn-why { list-style: none; margin: 0; padding: 0; }
.cn-why li { display: flex; flex-direction: column; gap: 2px; padding: 14px 0; border-top: 1px solid var(--mist); color: var(--slate); font-size: 15px; line-height: 22px; }
.cn-why__big { font-family: var(--font-display); font-weight: 700; font-size: 20px; line-height: 1.2; color: var(--midnight); }
.cn-stuck { margin-top: 24px; background: var(--midnight); border-radius: var(--radius-ticket); padding: 24px; color: #fff; }
.cn-stuck p { margin: 6px 0 16px; color: var(--lilac); font-size: 15px; line-height: 22px; }
.cn-stuck .cn-stuck__title { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1.2; color: #fff; }
.cn-stuck__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.cn-stuck .cn-btn { min-height: 44px; padding: 0 18px; font-size: 15px; }
.cn-faq-list { flex: 2 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }
.cn-faq { background: var(--surface); border: 1px solid var(--mist); border-radius: var(--radius-tile); }
.cn-faq summary {
    display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 10px 20px;
    box-sizing: border-box; cursor: pointer; list-style: none;
}
.cn-faq summary::-webkit-details-marker { display: none; }
.cn-body .cn-faq__q { margin: 0; font-family: var(--font-text) !important; font-weight: 700; font-size: 17px; line-height: 24px; color: var(--midnight); }
.cn-faq__icon { display: inline-flex; flex: 0 0 auto; color: var(--dusk-600); transition: transform .15s ease-out; }
.cn-faq[open] .cn-faq__icon { transform: rotate(45deg); }
.cn-faq__answer { padding: 0 20px 20px; color: var(--slate); }
.cn-faq__answer > :last-child { margin-bottom: 0; }

/* Shopping guides */
.cn-guides { display: flex; flex-wrap: wrap; gap: 24px 48px; align-items: stretch; }
.cn-guides__lead {
    flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
    background: var(--midnight); border-radius: var(--radius-ticket); padding: 32px; text-decoration: none;
}
.cn-body .cn-guides__lead-title { margin: 0; font-family: var(--font-display) !important; font-weight: 800; font-size: clamp(28px, 1.6vw + 14px, 40px); line-height: 1.1; letter-spacing: -.01em; color: #fff; }
.cn-guides__more { color: var(--moonlight); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.cn-guides__lead-text { display: block; color: var(--lilac); font-size: 16px; line-height: 24px; max-width: 46ch; }
.cn-guides__list .cn-guides__item-text { margin-top: 6px; }
.cn-guides__list { flex: 1 1 380px; min-width: 0; list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--mist); }
.cn-guides__list li { border-bottom: 1px solid var(--mist); }
.cn-guides__list a { display: block; padding: 20px 0; color: var(--midnight); text-decoration: none; }
.cn-body .cn-guides__list h3 { margin: 0; font-family: var(--font-display) !important; font-weight: 700; font-size: 22px; line-height: 1.25; }
.cn-guides__list a:hover h3 { text-decoration: underline; }

/* ---------- Inner pages: shared pieces (breadcrumb, page head, A–Z, logo grid, letter groups, next bar, pager) ---------- */
.cn-visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.cn-crumbs { padding-top: 24px; }
.cn-crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 14px; line-height: 20px; color: var(--slate); }
.cn-crumbs li + li::before { content: "/"; color: var(--line-control); margin-right: 10px; }
.cn-crumbs a { color: var(--dusk-600); text-decoration: underline; text-underline-offset: 3px; }
.cn-page-head { padding-top: 20px; }
.cn-page-head__row { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px 40px; }
.cn-page-head__text { max-width: 620px; }
.cn-page-head__text .cn-h1 { color: var(--midnight); font-size: clamp(32px, 1.8vw + 18px, 48px); }
.cn-page-head__search { flex: 1 1 320px; max-width: 460px; }
.cn-search-field--soft { border-color: var(--line-control); }
.cn-az { margin-top: 24px; }
.cn-az ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.cn-az a {
    display: flex; align-items: center; justify-content: center; min-width: 40px; height: 40px; padding: 0 6px; box-sizing: border-box;
    border-radius: 10px; border: 1px solid var(--mist); background: #fff; color: var(--midnight);
    font-family: var(--font-display); font-weight: 700; font-size: 16px; text-decoration: none;
}
.cn-az a:hover { border-color: var(--midnight); color: var(--midnight); }
.cn-az a[aria-current] { background: var(--midnight); border-color: var(--midnight); color: #fff; }
.cn-logo-grid { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 16px; }
.cn-logo-card {
    display: flex; flex-direction: column; gap: 10px; height: 100%; box-sizing: border-box; padding: 10px 10px 14px; background: #fff;
    border: 1px solid var(--mist); border-radius: 16px; color: var(--midnight); text-decoration: none; font-weight: 700; font-size: 15px; line-height: 20px; text-align: center;
}
.cn-logo-card:hover { border-color: var(--line-control); color: var(--midnight); }
.cn-logo-card img, .cn-logo-card__blank { width: 100%; aspect-ratio: 16 / 9; object-fit: contain; border-radius: 10px; display: block; background: #fff; }
.cn-logo-card__blank { background: var(--starlight); }
.cn-letter-group { display: grid; grid-template-columns: 88px 1fr; gap: 8px 24px; padding: 28px 0; border-top: 1px solid var(--mist); }
.cn-letter-group__mark { margin: 0; font-family: var(--font-display); font-stretch: 75%; font-weight: 800; font-size: 64px; line-height: .9; color: var(--midnight); }
.cn-letter-group .cn-store-list { column-gap: 32px; columns: 4 200px; }
.cn-store-list a { justify-content: space-between; gap: 8px; }
.cn-next { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; margin-top: 8px; border-radius: 16px; background: var(--midnight); color: #fff; text-decoration: none; }
.cn-next:hover { color: #fff; background: var(--dusk); }
.cn-next__label { font-family: var(--font-display); font-weight: 700; font-size: 22px; }
/* Phone (Stores-phone design): one sideways-scrolling row of letters, 6 popular stores (the rest stay in the HTML) */
@media (max-width: 575px) {
    .cn-az ul { flex-wrap: nowrap; overflow-x: auto; margin-right: calc(-1 * var(--side-margin)); padding-right: var(--side-margin); scrollbar-width: none; }
    .cn-az ul::-webkit-scrollbar { display: none; }
    .cn-az li { flex: 0 0 auto; }
    .cn-logo-grid--phone-six li:nth-child(n+7) { display: none; }
}
.cn-next__hint { color: var(--moonlight); font-weight: 700; }
.cn-empty { margin: 0; padding: 28px 0; border-top: 1px solid var(--mist); font-size: 17px; color: var(--slate); }
.cn-pager { margin-top: 24px; }
.cn-pager .pagination { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.cn-pager .page-link {
    display: flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px; box-sizing: border-box;
    border-radius: 10px !important; border: 1px solid var(--mist); background: #fff; color: var(--midnight); font-weight: 700; text-decoration: none; box-shadow: none;
}
.cn-pager .page-item.active .page-link { background: var(--midnight); border-color: var(--midnight); color: #fff; }
.cn-pager .page-item.disabled .page-link { color: var(--line-control); background: #fff; }
.cn-pager p.small { display: none; }
@media (max-width: 640px) {
    .cn-letter-group { grid-template-columns: 1fr; gap: 4px; padding: 20px 0; }
    .cn-letter-group__mark { font-size: 48px; }
    .cn-next__label { font-size: 18px; }
}

/* ---------- Store page ---------- */
.cn-store-hero { background: var(--surface); border: 1px solid var(--mist); border-radius: 20px; padding: clamp(20px, 3vw, 32px); }
.cn-store-hero__top { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
.cn-store-hero__logo { flex: 0 0 auto; width: 140px; aspect-ratio: 16 / 10; border: 1px solid var(--mist); border-radius: 14px; overflow: hidden; display: flex; align-items: center; justify-content: center; background: #fff; }
.cn-store-hero__logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.cn-store-hero__logo span { font-family: var(--font-display); font-weight: 800; font-size: 48px; color: var(--midnight); }
.cn-store-hero__text { flex: 1 1 420px; min-width: 0; }
.cn-store-hero__text .cn-badge { margin-bottom: 8px; }
.cn-store-hero__text .cn-h1 { color: var(--midnight); font-size: clamp(28px, 1.6vw + 16px, 44px); }
.cn-store-hero__sub { margin: 10px 0 0; font-weight: 700; font-size: 18px; line-height: 26px; color: var(--midnight); }
.cn-store-hero__about { margin-top: 8px; color: var(--slate); font-size: 17px; line-height: 26px; max-width: 40em; }
.cn-store-hero__about > :last-child { margin-bottom: 0; }
.cn-store-hero__visit { flex: 0 0 auto; }
.cn-body .cn-store-hero__h2 { margin: 20px 0 0; font-family: var(--font-text) !important; font-weight: 700; font-size: 17px; line-height: 24px; color: var(--slate); }
.cn-stats { margin: 24px 0 0; padding-top: 20px; border-top: 1px solid var(--mist); display: flex; flex-wrap: wrap; gap: 12px 40px; }
.cn-stats div { display: flex; flex-direction: column-reverse; }
.cn-stats dt { font-size: 14px; line-height: 20px; color: var(--slate); font-weight: 400; }
.cn-stats dd { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 30px; line-height: 1.1; color: var(--midnight); }
.cn-store-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 0 40px; align-items: start; }
.cn-store-layout__side { margin-top: var(--section-gap); display: flex; flex-direction: column; gap: 16px; position: sticky; top: 16px; }
.cn-store-updated { margin: 4px 0 0; color: var(--slate); font-size: 15px; }
.cn-offer-filter { margin-top: 16px; }
.cn-offer-filter .cn-chip { cursor: pointer; font-family: var(--font-text); }
.cn-offer-filter .cn-chip[aria-pressed="true"] { background: var(--midnight); border-color: var(--midnight); color: #fff; }
.cn-offer-list { list-style: none; margin: 20px 0 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.cn-ticket__title--strong { font-weight: 700; font-size: 16px; }
.cn-ticket__detail { margin: 2px 0 0; color: var(--slate); font-size: 15px; line-height: 22px; }
.cn-empty-box { margin-top: 20px; background: var(--surface); border: 1px solid var(--mist); border-radius: 20px; padding: 28px; }
.cn-empty-box p { margin: 0; color: var(--slate); }
.cn-empty-box .cn-empty-box__title { font-family: var(--font-display); font-weight: 700; font-size: 24px; color: var(--midnight); margin-bottom: 8px; }
.cn-empty-box__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.cn-store-layout__main .cn-faq-list { margin-top: 20px; }
.cn-store-layout__main .cn-faq__q { font-size: 17px; }
.cn-product-grid--tight { margin-top: 20px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); gap: 16px; }
.cn-guides__list--plain { margin-top: 16px; }
.cn-guides__list--plain a { font-weight: 700; font-size: 18px; line-height: 26px; padding: 16px 0; }
.cn-guides__list--plain a:hover { text-decoration: underline; }
.cn-guides__list--plain li { padding: 16px 0; }
.cn-guides__list--plain li > a { padding: 0; display: block; }
.cn-guides__item-title { margin: 0; font-family: var(--font-text); font-weight: 700; font-size: 18px; line-height: 26px; color: inherit; }
.cn-guides__item-text { margin: 4px 0 0; color: var(--slate); font-size: 15px; line-height: 22px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cn-side-card { background: var(--surface); border: 1px solid var(--mist); border-radius: 16px; padding: 20px; }
.cn-body .cn-side-card__title { margin: 0 0 12px; font-family: var(--font-display) !important; font-weight: 700; font-size: 20px; line-height: 1.2; color: var(--midnight); }
.cn-side-card__text { margin: 0; color: var(--slate); font-size: 15px; line-height: 22px; }
.cn-side-steps { margin: 0; padding-left: 20px; font-size: 15px; line-height: 22px; display: flex; flex-direction: column; gap: 8px; }
.cn-side-stores, .cn-side-links { list-style: none; margin: 0; padding: 0; }
.cn-side-stores a { display: flex; align-items: center; gap: 12px; min-height: 44px; color: var(--midnight); font-weight: 700; text-decoration: none; }
.cn-side-stores a:hover { text-decoration: underline; }
.cn-side-stores img, .cn-side-stores__blank { width: 56px; height: 32px; object-fit: contain; border: 1px solid var(--mist); border-radius: 6px; background: #fff; display: block; flex: 0 0 auto; }
.cn-side-links { columns: 2; column-gap: 16px; font-size: 15px; }
.cn-side-links a { display: block; padding: 6px 0; color: var(--dusk-600); text-decoration: none; }
.cn-side-links a:hover { text-decoration: underline; }
.cn-chips--small { gap: 8px; }
.cn-chips--small .cn-chip { min-height: 36px; padding: 0 12px; font-size: 14px; }
/* Phone: long chip lists become one sideways-scrolling row (as in the phone designs) */
@media (max-width: 575px) {
    .cn-chips--scroll-phone { flex-wrap: nowrap; overflow-x: auto; margin-right: calc(-1 * var(--side-margin)); padding-right: var(--side-margin); scrollbar-width: none; }
    .cn-chips--scroll-phone::-webkit-scrollbar { display: none; }
    .cn-chips--scroll-phone > * { flex: 0 0 auto; }
    /* In a scrolling row every chip shows, so the "show all" toggle is not needed */
    .cn-chips--scroll-phone .cn-chip--extra { display: inline-flex; }
    .cn-chips--scroll-phone .cn-chip--toggle { display: none; }
}
@media (max-width: 991px) {
    .cn-store-layout { grid-template-columns: 1fr; }
    .cn-store-layout__side { position: static; }
}
@media (max-width: 640px) {
    .cn-store-hero__logo { width: 96px; }
    .cn-store-hero__visit { width: 100%; }
}
.cn-faq__answer > :first-child { margin-top: 0; }

/* ---------- Categories page ---------- */
.cn-page-head__search--below { margin-top: 20px; max-width: 460px; }
.cn-cat-tiles { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 16px; }
.cn-cat-tile-dark {
    display: flex; flex-direction: column; justify-content: space-between; gap: 24px; min-height: 140px; height: 100%; box-sizing: border-box;
    padding: 20px; border-radius: 16px; background: var(--midnight); color: #fff; text-decoration: none;
}
.cn-cat-tile-dark:hover { background: var(--dusk); color: #fff; }
.cn-cat-tile-dark__name { font-family: var(--font-display); font-weight: 700; font-size: 22px; line-height: 1.2; }
.cn-cat-tile-dark__more { color: var(--moonlight); font-weight: 700; font-size: 15px; }
/* Phone: two tiles per row so 8 popular categories don't fill several screens */
@media (max-width: 575px) {
    .cn-cat-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .cn-cat-tile-dark { min-height: 108px; padding: 16px; gap: 12px; }
    .cn-cat-tile-dark__name { font-size: 18px; overflow-wrap: anywhere; }
    .cn-cat-tile-dark__more { font-size: 14px; }
}
.cn-cat-az { margin-top: 20px; columns: 4 220px; column-gap: 40px; }
.cn-cat-az__group { break-inside: avoid; margin-bottom: 20px; }
.cn-cat-az__letter { margin: 0 0 6px; font-family: var(--font-display); font-weight: 800; font-size: 22px; color: var(--dusk-600); }
@media (max-width: 575px) { .cn-cat-az { columns: 2; column-gap: 16px; } }
.cn-cat-az__list, .cn-cat-az__children { list-style: none; margin: 0; padding: 0; }
.cn-cat-az__list > li > a { display: block; padding: 8px 0; color: var(--midnight); font-size: 17px; text-decoration: none; }
.cn-cat-az__list a:hover { color: var(--dusk-600); text-decoration: underline; }
.cn-cat-az__children { padding-left: 14px; border-left: 2px solid var(--mist); margin-bottom: 6px; }
.cn-cat-az__children a { display: block; padding: 4px 0; color: var(--slate); font-size: 15px; text-decoration: none; }

/* ---------- Category page ---------- */
.cn-page-head__text--wide { max-width: 760px; }
.cn-stats--bare { border-top: 0; padding-top: 0; margin-top: 16px; }
.cn-top-stores { margin-top: 20px; }
.cn-body .cn-top-stores__title { margin: 0 0 10px; font-family: var(--font-text) !important; font-weight: 700; font-size: 14px; line-height: 20px; color: var(--slate); }
.cn-section--tight { margin-top: 28px; }
.cn-offer-list--grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 520px), 1fr)); gap: 16px; }
.cn-chips--spaced { margin-top: 16px; }
.cn-store-list--spaced { margin-top: 16px; }

/* ---------- Blog page ---------- */
.cn-blog-top { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 32px 48px; align-items: start; }
.cn-blog-lead__img { display: block; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; background: var(--midnight); }
.cn-blog-lead__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cn-blog-eyebrow { margin: 16px 0 0; color: var(--dusk-600); font-weight: 700; font-size: 14px; line-height: 20px; }
.cn-body .cn-blog-lead__title { margin: 6px 0 0; font-family: var(--font-display) !important; font-weight: 800; font-size: clamp(26px, 1.2vw + 16px, 36px); line-height: 1.12; letter-spacing: -.01em; }
.cn-blog-lead__title a, .cn-blog-card__title a { color: var(--midnight); text-decoration: none; }
.cn-blog-lead__title a:hover, .cn-blog-card__title a:hover { text-decoration: underline; }
.cn-blog-lead__text { margin: 10px 0 0; color: var(--slate); font-size: 17px; line-height: 26px; max-width: 40em; }
.cn-blog-byline { margin: 10px 0 0; color: var(--slate); font-size: 14px; }
.cn-body .cn-blog-side__title { margin: 0; padding-bottom: 10px; border-bottom: 1px solid var(--mist); font-family: var(--font-text) !important; font-weight: 700; font-size: 14px; color: var(--slate); }
.cn-blog-side__list { list-style: none; margin: 0; padding: 0; }
.cn-blog-side__list li { border-bottom: 1px solid var(--mist); }
.cn-blog-side__list a { display: flex; align-items: center; gap: 16px; padding: 16px 0; color: var(--midnight); text-decoration: none; }
.cn-blog-side__list a:hover .cn-blog-side__name { text-decoration: underline; }
.cn-blog-side__thumb { flex: 0 0 auto; width: 112px; aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--midnight); }
.cn-blog-side__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cn-blog-side__name { font-family: var(--font-display); font-weight: 700; font-size: 18px; line-height: 1.25; }
.cn-blog-grid { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 40px 32px; }
.cn-blog-card__img { display: block; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: var(--lilac); }
.cn-blog-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cn-body .cn-blog-card__title { margin: 6px 0 0; font-family: var(--font-display) !important; font-weight: 700; font-size: 21px; line-height: 1.22; }
.cn-blog-card__text { margin: 8px 0 0; color: var(--slate); font-size: 15px; line-height: 22px; }
@media (max-width: 991px) { .cn-blog-top { grid-template-columns: 1fr; } }

/* ---------- Post page ---------- */
.cn-post__head { padding-top: 20px; }
.cn-post__head .cn-h1 { color: var(--midnight); font-size: clamp(30px, 1.8vw + 18px, 48px); max-width: 900px; margin-top: 10px; }
.cn-post__byline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 16px 0 0; font-size: 15px; color: var(--slate); }
.cn-post__byline b { color: var(--midnight); }
.cn-post__avatar { width: 32px; height: 32px; border-radius: 999px; object-fit: cover; display: inline-flex; align-items: center; justify-content: center; background: var(--midnight); color: #fff; font-weight: 700; font-size: 14px; }
.cn-post__hero { margin-top: 28px; border-radius: 20px; overflow: hidden; background: var(--midnight); }
.cn-post__hero img { width: 100%; height: auto; display: block; }
.cn-post__layout { display: grid; grid-template-columns: minmax(0, 760px) 300px; justify-content: space-between; gap: 0 48px; margin-top: 40px; }
.cn-post__body { font-size: 18px; line-height: 30px; color: var(--midnight); }
.cn-post__body > :first-child { margin-top: 0; }
.cn-post__body p, .cn-post__body ul, .cn-post__body ol { margin: 0 0 20px; }
.cn-post__body a { color: var(--dusk-600); text-decoration: underline; text-underline-offset: 3px; }
.cn-post__body img { max-width: 100%; height: auto; border-radius: 12px; }
.cn-post__body table { width: 100%; border-collapse: collapse; margin: 0 0 20px; font-size: 16px; }
.cn-post__body th, .cn-post__body td { border: 1px solid var(--mist); padding: 8px 12px; text-align: left; }
.cn-body .cn-post__body h2 { margin: 40px 0 12px; font-family: var(--font-display) !important; font-weight: 700; font-size: 28px; line-height: 1.2; scroll-margin-top: 16px; }
.cn-body .cn-post__body h3 { margin: 28px 0 10px; font-family: var(--font-display) !important; font-weight: 700; font-size: 22px; line-height: 1.25; }
.cn-faq-list--spaced { margin-top: 20px; }
.cn-post__side { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 16px; align-self: start; }
.cn-toc__title, .cn-post-side-block__title { margin: 0 0 10px; font-weight: 700; font-size: 14px; color: var(--slate); }
.cn-toc ol { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--mist); }
.cn-toc a { display: block; padding: 6px 0 6px 14px; color: var(--midnight); font-size: 15px; line-height: 20px; text-decoration: none; }
.cn-toc a:hover { color: var(--dusk-600); text-decoration: underline; }
.cn-toc__fold summary { cursor: pointer; list-style: none; }
.cn-toc__fold summary::-webkit-details-marker { display: none; }
@media (max-width: 575px) {
    .cn-toc__fold { border: 1px solid var(--mist); border-radius: 12px; background: #fff; padding: 12px 16px; }
    .cn-toc__fold summary { margin: 0; display: flex; justify-content: space-between; align-items: center; min-height: 24px; color: var(--midnight); }
    .cn-toc__fold summary::after { content: "+"; font-size: 20px; line-height: 1; }
    .cn-toc__fold[open] summary { margin-bottom: 10px; }
    .cn-toc__fold[open] summary::after { content: "\2212"; }
    .cn-post__fold { margin-bottom: 24px; }
}
.cn-post-deal { background: var(--midnight); color: #fff; border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.cn-post-deal__title { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 22px; }
.cn-post-deal img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #fff; border-radius: 12px; display: block; }
.cn-post-deal__name { margin: 0; font-weight: 700; }
.cn-post-deal__price { margin: 0; display: flex; align-items: baseline; gap: 8px; }
.cn-post-deal__price b { font-family: var(--font-display); font-size: 22px; color: var(--moonlight); }
.cn-post-deal__price s { color: var(--lilac); font-size: 14px; }
.cn-post-deal__price span { color: var(--moonlight); font-weight: 700; font-size: 13px; }
.cn-post-side-block button.cn-chip { cursor: pointer; font-family: var(--font-text); }
@media (max-width: 991px) {
    .cn-post__layout { grid-template-columns: 1fr; }
    .cn-post__side { position: static; margin-top: 40px; }
    /* Category chips: 6 on phones and tablets, this post's own first */
    .cn-chips--fold > .is-related { order: -1; }
    .cn-chips--fold:not(.is-open) > .is-extra { display: none; }
    .cn-chips--fold > .cn-chips__more { order: 1; }
}
@media (min-width: 992px) {
    .cn-chips__more { display: none; }
}

/* ---------- Events and event pages ---------- */
.cn-page-hero { margin-top: 12px; padding: clamp(32px, 4vw, 56px) 0; background: var(--midnight); color: #fff; }
.cn-crumbs + .cn-page-hero { margin-top: 16px; }
.cn-page-hero__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px 48px; }
.cn-page-hero .cn-h1 { color: #fff; font-size: clamp(32px, 2vw + 18px, 56px); }
.cn-page-hero__lead { margin: 12px 0 0; color: var(--lilac); font-size: 18px; line-height: 28px; max-width: 40em; }
.cn-page-hero__moon { flex: 0 0 auto; width: 160px; height: 160px; color: var(--moonlight); }
.cn-page-hero__moon svg { display: block; width: 100%; height: 100%; }
.cn-page-hero__icon { flex: 0 0 auto; width: 140px; height: 140px; border-radius: 999px; background: #fff; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.cn-page-hero__icon img { width: 100%; height: 100%; object-fit: contain; }
.cn-section-sub { margin: -24px 0 20px; color: var(--slate); }
.cn-offer-filter--inline { margin-top: 0; }
.cn-event-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 24px; }
.cn-event-card { background: var(--surface); border: 1px solid var(--mist); border-radius: 16px; padding: 16px 16px 20px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.cn-event-card__img { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; background: var(--starlight); }
.cn-event-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cn-body .cn-event-card__title { margin: 0; font-family: var(--font-display) !important; font-weight: 700; font-size: 24px; line-height: 1.2; }
.cn-event-card__text { margin: 0; color: var(--slate); font-size: 15px; line-height: 22px; }
.cn-store-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 12px; }
.cn-store-cards a { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--surface); border: 1px solid var(--mist); border-radius: 12px; color: var(--midnight); text-decoration: none; }
.cn-store-cards a:hover { border-color: var(--line-control); }
.cn-store-cards__mark { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 999px; background: var(--starlight); display: flex; align-items: center; justify-content: center; font-weight: 700; }
.cn-store-cards a > span:last-child { display: flex; flex-direction: column; font-size: 14px; color: var(--slate); }
.cn-store-cards b { color: var(--midnight); font-size: 16px; }
@media (max-width: 575px) {
    .cn-store-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .cn-store-cards a { padding: 10px; gap: 8px; }
    .cn-store-cards__mark { width: 30px; height: 30px; }
    .cn-store-cards b { font-size: 14px; line-height: 18px; overflow-wrap: anywhere; }
    .cn-store-cards a > span:last-child { font-size: 12px; }
}
@media (max-width: 640px) {
    .cn-page-hero__moon, .cn-page-hero__icon { display: none; }
}

/* ---------- Exclusive page ---------- */
.cn-stats--right { margin-top: 0; }
.cn-chips .cn-chip[aria-current] { background: var(--midnight); border-color: var(--midnight); color: #fff; }
.cn-howto { list-style: none; margin: 20px 0 0; padding: 14px 20px; display: flex; flex-wrap: wrap; gap: 10px 32px; background: var(--moonlight-tint); border-radius: 14px; font-weight: 700; font-size: 15px; }
.cn-howto li { display: flex; align-items: center; gap: 10px; }
.cn-howto span { width: 28px; height: 28px; border-radius: 999px; background: var(--midnight); color: var(--moonlight); display: inline-flex; align-items: center; justify-content: center; font-size: 14px; }
.cn-h2--small { font-size: 22px; margin-bottom: 16px; }
.cn-ticket__code { font-family: 'Atkinson Hyperlegible Mono', ui-monospace, monospace; font-weight: 700; font-size: 15px; letter-spacing: .08em; padding: 8px 14px; border: 2px dashed var(--line-control); border-radius: 10px; color: var(--midnight); white-space: nowrap; }
.cn-chip--toggle { display: none; cursor: pointer; font-family: var(--font-text); border-style: dashed; }
@media (max-width: 767px) {
    .cn-chip--extra { display: none; }
    .is-open > .cn-chip--extra { display: inline-flex; }
    .cn-chip--toggle { display: inline-flex; }
}
.cn-section-head--tight { margin-bottom: 16px; }
/* Old article HTML carries its own small font sizes and fonts: the design's reading size wins. */
.cn-post__body p, .cn-post__body li { font-size: 18px; line-height: 30px; }
.cn-post__body span, .cn-post__body font { font-size: inherit !important; font-family: inherit !important; line-height: inherit !important; }

/* ---------- Legal pages ---------- */
.cn-legal__title { margin-top: 20px; color: var(--midnight); font-size: clamp(30px, 1.6vw + 18px, 44px); }
.cn-legal__updated { margin: 8px 0 0; color: var(--slate); font-size: 14px; }
.cn-legal__note { margin: 16px 0 0; padding: 12px 16px; max-width: 640px; background: var(--moonlight-tint); color: var(--moonlight-deep); border-radius: 12px; font-weight: 700; font-size: 15px; }
.cn-legal { display: grid; grid-template-columns: 240px minmax(0, 760px); gap: 0 48px; margin-top: 40px; align-items: start; }
.cn-legal__toc { position: sticky; top: 16px; }
.cn-legal__section + .cn-legal__section { margin-top: 32px; }
.cn-body .cn-legal__section h2 { margin: 0 0 10px; font-family: var(--font-display) !important; font-weight: 700; font-size: 24px; line-height: 1.25; scroll-margin-top: 16px; }
.cn-legal__body .cn-post__body p, .cn-legal__body .cn-post__body li { font-size: 17px; line-height: 28px; }
@media (max-width: 991px) {
    .cn-legal { grid-template-columns: 1fr; }
    .cn-legal__toc { position: static; margin-bottom: 32px; }
}

/* ---------- FAQs, Help, Contact, Submit: content + side card ---------- */
.cn-aside-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px 40px; align-items: start; margin-top: 8px; }
.cn-aside-layout__side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 16px; margin-top: 20px; }
.cn-dark-card { background: var(--midnight); color: #fff; border-radius: 16px; padding: 22px; }
.cn-dark-card p { margin: 0 0 14px; color: var(--lilac); font-size: 15px; line-height: 22px; }
.cn-dark-card .cn-dark-card__title { margin-bottom: 6px; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 22px; }
.cn-dark-card__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.cn-body .cn-faq-list h2.cn-faq__q { margin: 0; font-family: var(--font-text) !important; font-weight: 700; font-size: 17px; line-height: 24px; }
@media (max-width: 991px) {
    .cn-aside-layout { grid-template-columns: 1fr; }
    .cn-aside-layout__side { position: static; }
}
.cn-page-hero__text { flex: 1 1 auto; max-width: 640px; }
.cn-page-hero__search { margin-top: 24px; border-color: #fff; }
.cn-topic-grid { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 12px; }
.cn-topic-grid a { display: flex; flex-direction: column; gap: 2px; height: 100%; box-sizing: border-box; padding: 16px 18px; background: var(--surface); border: 1px solid var(--mist); border-radius: 14px; color: var(--midnight); text-decoration: none; }
.cn-topic-grid a:hover { border-color: var(--line-control); }
.cn-topic-grid b { font-size: 17px; }
.cn-topic-grid span { color: var(--slate); font-size: 14px; }
.cn-side-card__action { margin: 12px 0 0; }
/* Counting stats keep their width steady while the digits change. */
.cn-hero__stats dd, .cn-stats dd { font-variant-numeric: tabular-nums; }

/* ---------- Forms (contact, submit) ---------- */
.cn-form { background: var(--surface); border: 1px solid var(--mist); border-radius: 20px; padding: clamp(20px, 3vw, 32px); margin-top: 20px; }
@media (max-width: 575px) { .cn-form button[type="submit"], .cn-notfound > .cn-wrap > p > .cn-btn, .cn-noresults__ask .cn-btn { width: 100%; justify-content: center; } }
.cn-form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; margin-bottom: 24px; }
.cn-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.cn-field--wide { grid-column: 1 / -1; }
.cn-field label { font-weight: 700; font-size: 15px; }
.cn-field__hint { margin-top: -4px; color: var(--slate); font-size: 14px; }
.cn-field input, .cn-field textarea, .cn-field select {
    width: 100%; box-sizing: border-box; min-height: 48px; padding: 10px 14px; border: 2px solid var(--line-control); border-radius: 12px;
    background: #fff; color: var(--midnight); font-family: var(--font-text); font-size: 16px;
}
.cn-field textarea { min-height: 140px; resize: vertical; }
.cn-field input:focus, .cn-field textarea:focus, .cn-field select:focus { outline: 2px solid var(--dusk-600); outline-offset: 2px; border-color: var(--midnight); }
.cn-field__error { color: var(--ending); font-size: 14px; font-weight: 700; }
.cn-form__alert { margin: 0 0 20px; padding: 12px 16px; border-radius: 12px; background: #FBE9E2; color: var(--ending); font-weight: 700; }
.cn-form__alert--ok { background: #E3F4EC; color: var(--works); }
.cn-form__alert ul { margin: 0; padding-left: 18px; }
.cn-honeypot { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.cn-aside-layout__side--flush { margin-top: 20px; }
.cn-side-plain { padding: 4px 0; }
.cn-side-plain p { color: var(--slate); font-size: 15px; line-height: 22px; }
.cn-body .cn-side-plain__title { margin: 0 0 8px; font-family: var(--font-display) !important; font-weight: 700; font-size: 22px; line-height: 1.2; }
.cn-steps-small { list-style: none; counter-reset: cn-step; margin: 0 0 16px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.cn-steps-small li { counter-increment: cn-step; display: flex; align-items: center; gap: 10px; font-weight: 700; }
.cn-steps-small li::before { content: counter(cn-step); width: 26px; height: 26px; flex: 0 0 auto; border-radius: 999px; background: var(--midnight); color: var(--moonlight); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; }
@media (max-width: 640px) { .cn-form__grid { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */
.cn-notfound { padding: clamp(40px, 6vw, 80px) 0 0; text-align: center; }
.cn-notfound .cn-lead { margin-left: auto; margin-right: auto; }
.cn-notfound .cn-h1 { color: var(--midnight); margin-top: 6px; }
.cn-notfound__moon { width: 140px; height: 140px; margin: 0 auto 16px; padding: 24px; box-sizing: border-box; border-radius: 999px; background: #fff; color: var(--moonlight); box-shadow: 0 0 0 1px var(--mist); }
.cn-notfound__moon svg { display: block; width: 100%; height: 100%; }
.cn-notfound__eyebrow { margin: 0; color: var(--moonlight-deep); font-weight: 700; font-size: 14px; }
.cn-notfound__eyebrow--plain { margin-top: 24px; color: var(--slate); }
.cn-notfound__search { max-width: 520px; margin: 24px auto 16px; }
.cn-notfound__search .cn-btn { min-height: 40px; }
.cn-notfound__chips { justify-content: center; margin-top: 10px; }
.cn-notfound-page { margin: 0; background: var(--starlight); color: var(--midnight); font-family: var(--font-text); }
.cn-notfound__bar { background: var(--midnight); color: #fff; padding: 20px 0; }
.cn-notfound-page main { padding-bottom: 80px; }

/* ---------- Products page ---------- */
.cn-product-grid--four { grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)); gap: 20px; }
.cn-product--action { display: flex; flex-direction: column; }
@media (max-width: 575px) { .cn-product-grid--four { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.cn-product__btn { margin-top: 12px; width: 100%; }
.cn-product__noimg { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; color: var(--slate); font-size: 14px; }

/* ---------- About page ---------- */
.cn-page-hero__eyebrow { margin: 0 0 8px; color: var(--moonlight); font-weight: 700; font-size: 14px; }
.cn-page-hero__text .cn-page-hero__lead + .cn-page-hero__lead { margin-top: 10px; }
.cn-page-hero__text > p:last-child { margin: 24px 0 0; }
.cn-split { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: 16px 48px; align-items: start; }
.cn-split__text { max-width: 720px; font-size: 17px; line-height: 28px; }
.cn-split__text p { margin: 0 0 14px; }
.cn-stat-panel { background: var(--moonlight-tint); border-radius: 20px; padding: clamp(22px, 3vw, 36px); }
.cn-stats--big { margin-top: 16px; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
.cn-stats--big dd { font-size: 40px; }
.cn-section-text { margin: 8px 0 16px; max-width: 46em; color: var(--slate); font-size: 17px; line-height: 27px; }
.cn-topic-grid--plain li { display: flex; flex-direction: column; gap: 2px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--mist); border-radius: 14px; }
.cn-dark-card--wide { padding: clamp(24px, 3vw, 36px); }
.cn-body .cn-dark-card--wide .cn-dark-card__title { margin: 0 0 8px; font-family: var(--font-display) !important; font-size: clamp(24px, 1vw + 18px, 32px); }
@media (max-width: 767px) { .cn-split { grid-template-columns: 1fr; } }

/* ---------- Upcoming page ---------- */
.cn-follow { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 24px; background: var(--moonlight-tint); border-radius: 16px; }
.cn-follow p { margin: 0; color: var(--slate); }
.cn-follow .cn-follow__title { color: var(--midnight); font-family: var(--font-display); font-weight: 700; font-size: 22px; }

/* ---------- Search: no results ---------- */
.cn-noresults { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px 40px; background: var(--surface); border: 1px solid var(--mist); border-radius: 20px; padding: clamp(22px, 3vw, 32px); }
.cn-noresults .cn-h2 { color: var(--midnight); }
.cn-noresults__tips { margin: 14px 0 0; padding-left: 20px; color: var(--slate); line-height: 28px; }
.cn-noresults__ask { flex: 0 1 340px; background: var(--moonlight-tint); border-radius: 16px; padding: 20px; }
.cn-noresults__ask p { margin: 0 0 12px; color: var(--slate); }
.cn-noresults__ask .cn-noresults__ask-title { margin-bottom: 4px; color: var(--midnight); font-weight: 700; font-size: 18px; }

/* Upcoming: live "features row" (Free to use, Store promotions, Top deals, Buy on the store's site) */
.cn-features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.cn-features li { display: flex; flex-direction: column; gap: 4px; padding: 16px 18px; background: var(--surface); border: 1px solid var(--mist); border-radius: 14px; }
.cn-features b { font-size: 16px; }
.cn-features span { color: var(--slate); font-size: 15px; line-height: 22px; }

/* Upcoming: "Top stores" row on each event card (kept from live) */
.cn-event-card__stores { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--mist); }
.cn-event-card__stores-label { font-weight: 700; font-size: 14px; color: var(--slate); margin-right: 4px; }
.cn-event-card__stores ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.cn-event-card__stores li a { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 999px; border: 1px solid var(--mist); background: #fff; overflow: hidden; color: var(--midnight); font-weight: 700; text-decoration: none; }
.cn-event-card__stores img { width: 100%; height: 100%; object-fit: contain; }
.cn-event-card__more { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 999px; background: var(--midnight); color: #fff; font-weight: 700; font-size: 14px; text-decoration: none; }
.cn-event-card__more:hover { color: var(--moonlight); }

/* Hero search suggestions (listbox under the field) */
.cn-hero__search { position: relative; }
.cn-suggest { position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 30; list-style: none; margin: 0; padding: 6px; max-height: 420px; overflow-y: auto; background: #fff; border: 1px solid var(--mist); border-radius: 18px; box-shadow: 0 16px 40px rgba(22, 18, 63, .28); }
.cn-suggest[hidden] { display: none; }
.cn-suggest a { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 6px 10px; border-radius: 12px; color: var(--midnight); text-decoration: none; font-size: 16px; }
.cn-suggest b { font-weight: 800; }
.cn-suggest [aria-selected="true"] a, .cn-suggest a:hover { background: var(--starlight); }
.cn-suggest__logo { flex: 0 0 auto; width: 36px; height: 36px; border-radius: 10px; border: 1px solid var(--mist); background: #fff; display: inline-flex; align-items: center; justify-content: center; overflow: hidden; font-weight: 700; color: var(--slate); }
.cn-suggest__logo img { width: 100%; height: 100%; object-fit: contain; }
.cn-suggest__all { border-top: 1px solid var(--mist); margin-top: 4px; padding-top: 4px; }
.cn-suggest__all a { color: var(--dusk-600); font-weight: 700; font-size: 15px; }

/* Code / deal pop-up: a ticket torn along the dashed line (notches cut with a mask). */
.cn-reveal-modal .modal-dialog { max-width: 440px; padding: 0 12px; }
.cn-reveal-modal .modal-content.cn-reveal {
    position: relative; border: 0; background: transparent; color: var(--midnight); font-family: var(--font-text);
    filter: drop-shadow(0 22px 40px rgba(22, 18, 63, .45));
}
.cn-reveal__top {
    display: flex; align-items: center; gap: 16px; padding: 28px 56px 30px 26px;
    background: var(--midnight); color: #fff; border-radius: var(--radius-ticket) var(--radius-ticket) 0 0;
}
.cn-reveal__bottom {
    position: relative; padding: 26px 26px 22px; background: var(--surface); text-align: center;
    border-radius: 0 0 var(--radius-ticket) var(--radius-ticket);
}
.cn-reveal__top { -webkit-mask: radial-gradient(circle 13px at 0 100%, transparent 97%, #000 100%) left / 51% 100% no-repeat, radial-gradient(circle 13px at 100% 100%, transparent 97%, #000 100%) right / 51% 100% no-repeat; mask: radial-gradient(circle 13px at 0 100%, transparent 97%, #000 100%) left / 51% 100% no-repeat, radial-gradient(circle 13px at 100% 100%, transparent 97%, #000 100%) right / 51% 100% no-repeat; }
.cn-reveal__bottom { -webkit-mask: radial-gradient(circle 13px at 0 0, transparent 97%, #000 100%) left / 51% 100% no-repeat, radial-gradient(circle 13px at 100% 0, transparent 97%, #000 100%) right / 51% 100% no-repeat; mask: radial-gradient(circle 13px at 0 0, transparent 97%, #000 100%) left / 51% 100% no-repeat, radial-gradient(circle 13px at 100% 0, transparent 97%, #000 100%) right / 51% 100% no-repeat; }
.cn-reveal__bottom::before { content: ''; position: absolute; top: 0; left: 22px; right: 22px; border-top: 2px dashed var(--mist); }
.cn-reveal__logo {
    flex: none; display: grid; place-items: center; width: 64px; height: 64px; overflow: hidden;
    border-radius: var(--radius-tile); background: var(--surface);
    font-family: var(--font-display); font-weight: 800; font-size: 28px; color: var(--midnight);
}
.cn-reveal__logo img { width: 100%; height: 100%; object-fit: contain; padding: 6px; box-sizing: border-box; }
.cn-reveal__head { min-width: 0; }
.cn-reveal__store { margin: 0 0 4px; font-size: 14px; font-weight: 700; color: var(--moonlight); }
.cn-reveal__title { margin: 0; font-family: var(--font-display) !important; font-size: 22px; line-height: 1.2; font-weight: 700; color: #fff; overflow-wrap: anywhere; }
.cn-reveal__close {
    position: absolute; top: 14px; right: 14px; z-index: 2; display: grid; place-items: center; width: 40px; height: 40px;
    border: 0; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; cursor: pointer;
}
.cn-reveal__close:hover { background: rgba(255, 255, 255, .2); }
.cn-reveal__close:focus-visible, .cn-reveal__cta:focus-visible { outline: 3px solid var(--moonlight); outline-offset: 2px; }
.cn-reveal__label { margin: 0 0 8px; font-size: 14px; font-weight: 700; color: var(--slate); }
.cn-reveal__codebox {
    padding: 14px 12px; margin-bottom: 16px; border: 2px dashed var(--moonlight-deep); border-radius: var(--radius-tile);
    background: var(--moonlight-tint);
}
.cn-reveal__code { font-family: var(--font-code); font-weight: 700; font-size: 26px; letter-spacing: .06em; color: var(--midnight); overflow-wrap: anywhere; user-select: all; }
.cn-reveal__cta { width: 100%; min-height: 52px; font-size: 17px; white-space: normal; text-align: center; }
.cn-reveal__hint { margin: 12px 0 0; font-size: 15px; color: var(--slate); }
.cn-reveal__hint--deal { margin: 0 0 16px; font-size: 16px; color: var(--midnight); }
.cn-reveal__note { margin: 14px 0 0; font-size: 13px; color: var(--slate); }
