/*
 * Public company profile (/b/{slug}, /companies/{slug}).
 * Every rule is scoped under .cp so header/footer and other pages are untouched.
 * --cp-sticky-top / --cp-bottom-nav are measured in resources/js/company-profile.js.
 */

.cp {
    --brand: #018093; --brand-600: #016d7c; --brand-700: #015a66; --brand-50: #e9f5f6; --brand-100: #d3ecef;
    --navy: #0e2a33; --ink: #14232a; --ink-2: #3d4c53; --muted: #637279; --faint: #8d999e;
    --line: #e6e9ea; --line-2: #eff1f1; --bg: #f5f6f3; --card: #fff;
    --deal: #d63b30; --deal-50: #fdeeec; --gold: #d79b13; --gold-50: #fdf5e1; --warn: #c2650c; --ok: #14866d;
    --r-lg: 22px;
    --sh-1: 0 1px 2px rgba(16,40,48,.05), 0 1px 1px rgba(16,40,48,.03);
    --sh-2: 0 10px 30px -12px rgba(16,40,48,.18), 0 2px 6px rgba(16,40,48,.05);
    --sh-3: 0 30px 80px -20px rgba(8,30,38,.35);
    --ease: cubic-bezier(.2,.8,.2,1);
    --secnav-h: 54px;
    --sticky-top: var(--l2-topnav-height, var(--cp-sticky-top, 64px));
    --fs-body: 15px;
    --fs-secondary: 13.5px;
    --fs-meta: 12.5px;
    --fs-button: 15px;
    --fs-h1: 30px;
    --fs-h2: 21px;
    --fs-h3: 16px;
    color: var(--ink);
    font-size: var(--fs-body);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}
:where(.cp) button { cursor: pointer; }
:where(.cp) :focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }
.cp .ic { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cp .ic.s { width: 15px; height: 15px; }
.cp .ic.l { width: 22px; height: 22px; }
.cp .ltr { direction: ltr; unicode-bidi: isolate; }
.cp .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Do not set overflow-x:clip alone on the root — browsers pair it with overflow-y:auto,
   which makes .cp-root a scrollport and (with sticky children) can leave a huge empty gap. */
.cp-root { background: var(--bg); padding-bottom: 8px; }
.cp .wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; overflow-x: clip; }

/* ---------- buttons ---------- */
.cp .btn { min-height: 48px; border-radius: 14px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; font-size: var(--fs-button); line-height: 1.4; text-align: center; transition: transform .15s var(--ease), box-shadow .25s var(--ease), background .2s; }
.cp .btn:active { transform: scale(.98); }
.cp .btn[disabled] { opacity: .6; cursor: progress; }
.cp .btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px -8px rgba(1,128,147,.7); }
.cp .btn-primary:hover { background: var(--brand-600); }
.cp .btn-ghost { background: #fff; border: 1px solid var(--line); color: var(--ink); }
.cp .btn-ghost:hover { border-color: var(--brand-100); background: var(--brand-50); color: var(--brand-700); }
.cp .btn-out { background: #fff; color: var(--brand-700); border: 1.5px solid var(--brand); }
.cp .btn-out:hover { background: var(--brand-50); }
.cp .btn-block { width: 100%; }
.cp .chipbtn { min-height: 44px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); display: inline-flex; align-items: center; gap: 7px; font-size: var(--fs-secondary); font-weight: 600; color: var(--ink-2); background: #fff; transition: .2s var(--ease); }
.cp .chipbtn:hover { border-color: var(--brand-100); color: var(--brand-700); background: var(--brand-50); }
.cp .pill { min-height: 36px; padding: 0 14px; border-radius: 99px; border: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--ink-2); background: #fff; transition: .2s; display: inline-flex; align-items: center; gap: 4px; }
.cp .pill:hover { border-color: #cfd6d8; }
.cp .pill[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ---------- hero ---------- */
.cp .crumbs { display: flex; gap: 6px; align-items: center; font-size: 12.5px; color: var(--muted); padding: 14px 0 12px; flex-wrap: wrap; }
.cp .crumbs a:hover { color: var(--brand); }
.cp .crumbs .sep { opacity: .5; }
.cp .hero { position: relative; }
.cp .cover { position: relative; height: 300px; border-radius: var(--r-lg); overflow: hidden; background: var(--cv, #016d7c); isolation: isolate; transition: background-color .4s var(--ease); }
.cp .cover picture { position: absolute; inset: 0; z-index: 0; display: block; }
.cp .cover .cv-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cp .cover .cv-pat { position: absolute; inset: 0; --pc: rgba(255,255,255,.14); pointer-events: none; z-index: 1; }
.cp .cover.has-img .cv-pat { --pc: rgba(255,255,255,.18); }
.cp .cover.is-light .cv-pat { --pc: rgba(0,0,0,.09); }
.cp .cover.has-img.is-light .cv-pat { --pc: rgba(0,0,0,.12); }
.cp .pat-none { background: none; }
.cp .pat-dots { background-image: radial-gradient(var(--pc) 1.4px, transparent 1.6px); background-size: 18px 18px; }
.cp .pat-lines { background-image: repeating-linear-gradient(45deg, var(--pc) 0 1.5px, transparent 1.5px 14px); }
.cp .pat-grid { background-image: linear-gradient(var(--pc) 1px, transparent 1px), linear-gradient(90deg, var(--pc) 1px, transparent 1px); background-size: 28px 28px; }
.cp .pat-waves { background-image: radial-gradient(circle at 50% 100%, transparent 9px, var(--pc) 9px, var(--pc) 10.5px, transparent 10.5px); background-size: 24px 12px; }
.cp .pat-rings { background-image: radial-gradient(circle, transparent 7px, var(--pc) 7px, var(--pc) 8.5px, transparent 8.5px); background-size: 36px 36px; }
.cp .cover .chips { position: absolute; top: 16px; inset-inline-start: 16px; display: flex; gap: 8px; z-index: 2; flex-wrap: wrap; }
.cp .glass { background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.28); color: #fff; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 99px; padding: 5px 12px; font-size: 12px; font-weight: 600; display: inline-flex; gap: 6px; align-items: center; }
.cp .cover.is-light .glass { background: rgba(255,255,255,.6); border-color: rgba(0,0,0,.08); color: var(--ink); }

.cp .idcard { position: relative; margin: -92px 20px 0; background: var(--card); border-radius: var(--r-lg); box-shadow: var(--sh-2); display: grid; grid-template-columns: minmax(0,1fr) 360px; z-index: 3; animation: cp-rise .7s .1s var(--ease) both; }
@keyframes cp-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.cp .idmain { padding: 24px 28px; display: grid; grid-template-columns: auto minmax(0,1fr); column-gap: 20px; align-items: start; min-width: 0; }
.cp .avatar { width: 104px; height: 104px; border-radius: 24px; box-shadow: 0 0 0 5px #fff, var(--sh-2); margin-top: -58px; overflow: hidden; position: relative; display: grid; place-items: center; font-weight: 800; font-size: 40px; color: #fff; background: linear-gradient(135deg, var(--brand), var(--brand-700)); }
.cp .avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #fff; }
.cp .idtext { min-width: 0; }
.cp .kicker { display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; font-size: 13px; color: var(--muted); font-weight: 500; }
.cp .kicker > span, .cp .kicker > a { display: inline-flex; align-items: center; gap: 5px; }
.cp .kicker .cat { color: var(--brand-700); font-weight: 700; background: var(--brand-50); padding: 2px 10px; border-radius: 99px; }
.cp h1.name { font-size: var(--fs-h1); line-height: 1.35; margin: 8px 0 6px; font-weight: 800; letter-spacing: -.4px; overflow-wrap: anywhere; }
.cp .rating { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--ink); }
.cp .rating small { color: var(--muted); font-weight: 500; font-size: 12.5px; }
.cp .stars { position: relative; display: inline-block; color: #e2e5e6; letter-spacing: 1px; font-size: 14px; line-height: 1; white-space: nowrap; direction: ltr; }
.cp .stars > span { position: absolute; inset: 0; overflow: hidden; color: var(--gold); white-space: nowrap; }
.cp .lead { color: var(--ink-2); margin: 6px 0 0; font-size: var(--fs-body); max-width: 62ch; }
.cp .facts { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--line); }
.cp .fact { display: flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 12px; background: var(--bg); font-size: 13px; color: var(--ink-2); font-weight: 500; }
.cp .fact b { color: var(--ink); font-weight: 800; }
.cp .fact .ic { color: var(--brand); }
.cp .idactions { grid-column: 1 / -1; display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }

.cp .bestpanel { border-inline-start: 1px solid var(--line); padding: 22px 24px; display: flex; flex-direction: column; gap: 12px; background: linear-gradient(180deg, #fbfdfd, #f3f9fa); border-start-end-radius: var(--r-lg); border-end-end-radius: var(--r-lg); min-width: 0; }
.cp .bp-label { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12.5px; font-weight: 700; color: var(--brand-700); }
.cp .bp-label .live { display: inline-flex; align-items: center; gap: 6px; }
.cp .bp-label .live i { width: 8px; height: 8px; border-radius: 50%; background: #22b07d; animation: cp-pulse 2s infinite; }
@keyframes cp-pulse { 0% { box-shadow: 0 0 0 0 rgba(34,176,125,.5); } 70% { box-shadow: 0 0 0 8px rgba(34,176,125,0); } 100% { box-shadow: 0 0 0 0 rgba(34,176,125,0); } }
.cp .bp-value { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; color: var(--deal); }
.cp .bp-value b { font-size: 52px; line-height: 1; font-weight: 800; letter-spacing: -1px; }
.cp .bp-value.txt b { font-size: 34px; }
.cp .bp-value span { font-weight: 700; font-size: 15px; color: var(--ink); }
.cp .bp-title { font-size: 14px; font-weight: 600; color: var(--ink-2); line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cp .bp-more { font-size: 13px; color: var(--brand-700); font-weight: 700; display: inline-flex; align-items: center; gap: 4px; align-self: center; min-height: 32px; }
.cp a.bp-more:hover { text-decoration: underline; }
.cp .bp-note { color: var(--muted); font-weight: 500; }
.cp .bp-empty .bp-icon { width: 46px; height: 46px; border-radius: 14px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); }
.cp .bp-empty h3 { margin: 0; font-size: 16px; font-weight: 800; }
.cp .bp-empty p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.8; }

.cp .timer { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.cp .timer.hot { color: var(--warn); font-weight: 700; }
.cp .timer .clock { font-variant-numeric: tabular-nums; direction: ltr; unicode-bidi: isolate; }

/* ---------- section nav ---------- */
.cp .secnav {
    position: sticky;
    top: var(--sticky-top);
    z-index: 30;
    background: rgba(245,246,243,.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    margin-top: 26px;
    border-bottom: 1px solid var(--line);
    transition: top .3s cubic-bezier(.2,.8,.2,1);
}
html.l2-subnav-collapsed .cp .secnav {
    /* Fallback if JS height sync lags: approximate main-header-only offset */
    top: var(--l2-topnav-height, 4.25rem);
}
.cp .secnav .wrap { display: flex; align-items: center; gap: 4px; overflow-x: auto; scrollbar-width: none; height: var(--secnav-h); }
.cp .secnav .wrap::-webkit-scrollbar { display: none; }
.cp .secnav a { position: relative; white-space: nowrap; padding: 8px 14px; min-height: 40px; font-size: 14px; font-weight: 600; color: var(--muted); border-radius: 10px; transition: .2s; display: flex; gap: 6px; align-items: center; }
.cp .secnav a .n { font-size: 11px; background: var(--line); color: var(--ink-2); border-radius: 99px; padding: 0 7px; line-height: 18px; }
.cp .secnav a:hover { color: var(--ink); }
.cp .secnav a.on { color: var(--brand-700); background: var(--brand-50); }
.cp .secnav a.on .n { background: var(--brand); color: #fff; }
.cp .secnav .mini { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; opacity: 0; transform: translateY(6px); transition: .3s var(--ease); pointer-events: none; visibility: hidden; }
.cp .secnav.stuck .mini { opacity: 1; transform: none; pointer-events: auto; visibility: visible; }
.cp .secnav .mini img { width: 30px; height: 30px; border-radius: 9px; object-fit: cover; border: 1px solid var(--line); }
.cp .secnav .mini b { font-size: 14px; white-space: nowrap; max-width: 180px; overflow: hidden; text-overflow: ellipsis; }
.cp .secnav .mini .btn { min-height: 36px; font-size: 13px; border-radius: 10px; padding: 0 14px; white-space: nowrap; }

/* ---------- layout ---------- */
.cp .layout { display: grid; grid-template-columns: minmax(0,1fr) 350px; gap: 0 28px; padding-top: 26px; padding-bottom: 40px; align-items: start; }
.cp .main-col { grid-column: 1; min-width: 0; display: flex; flex-direction: column; }
.cp .layout > aside { grid-column: 2; align-self: start; position: sticky; top: calc(var(--sticky-top) + var(--secnav-h) + 16px); display: flex; flex-direction: column; gap: 16px; scroll-margin-top: calc(var(--sticky-top) + var(--secnav-h) + 12px); }
.cp .cp-block { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 26px; margin-bottom: 22px; box-shadow: var(--sh-1); scroll-margin-top: calc(var(--sticky-top) + var(--secnav-h) + 12px); min-width: 0; }
.cp .bh { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.cp .bh h2 { margin: 0; font-size: var(--fs-h2); font-weight: 800; letter-spacing: -.2px; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; line-height: 1.5; }
.cp .bh h2 .count { font-size: 12px; background: var(--deal); color: #fff; border-radius: 99px; padding: 1px 9px; font-weight: 700; line-height: 20px; }
.cp .bh p { margin: 2px 0 0; color: var(--muted); font-size: var(--fs-secondary); }
.cp .toolbar { display: flex; gap: 6px; flex-wrap: wrap; }

/* ---------- offer tickets ---------- */
.cp .offers { display: flex; flex-direction: column; gap: 14px; }
.cp .ticket { --notch: var(--card); position: relative; display: grid; grid-template-columns: 128px minmax(0,1fr) 168px; background: #fff; border: 1px solid var(--line); border-radius: 18px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; scroll-margin-top: calc(var(--sticky-top) + var(--secnav-h) + 12px); }
.cp .ticket[hidden] { display: none; }
.cp .ticket:hover { transform: translateY(-2px); box-shadow: var(--sh-2); border-color: #d9e2e4; }
.cp .ticket.top { border-color: #f3c5bf; background: linear-gradient(90deg, #fff 0%, #fff 70%, #fff8f6 100%); }
.cp .ticket.is-target { box-shadow: 0 0 0 3px var(--brand-100), var(--sh-2); }
.cp .t-media { padding: 14px; padding-inline-end: 0; }
.cp .t-img { width: 100%; aspect-ratio: 1; border-radius: 13px; overflow: hidden; background: var(--brand-50); position: relative; display: grid; place-items: center; color: var(--brand); }
.cp .t-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cp .t-body { padding: 16px 18px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.cp .t-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.cp .tg { font-size: 11px; font-weight: 700; border-radius: 7px; padding: 0 8px; line-height: 22px; background: var(--bg); color: var(--ink-2); display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.cp .tg.best { background: var(--deal); color: #fff; }
.cp .tg.online { background: #eaf1ff; color: #2350c2; }
.cp .tg.store { background: var(--brand-50); color: var(--brand-700); }
.cp .tg.gift { background: var(--gold-50); color: #7a5000; }
.cp .t-title { margin: 0; font-size: var(--fs-h3); font-weight: 800; line-height: 1.65; overflow-wrap: anywhere; }
.cp .t-desc { margin: 0; color: var(--muted); font-size: var(--fs-secondary); line-height: 1.9; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.cp .t-desc.open { display: block; white-space: pre-line; }
.cp .t-more { align-self: flex-start; font-size: 12.5px; font-weight: 700; color: var(--brand-700); min-height: 28px; }
.cp .t-meta { margin-top: auto; padding-top: 6px; display: flex; gap: 6px 14px; flex-wrap: wrap; align-items: center; font-size: 12.5px; color: var(--muted); font-weight: 500; }
.cp .t-meta > span { display: inline-flex; align-items: center; gap: 5px; }
.cp .t-meta .t-act { font-size: 12.5px; font-weight: 700; color: var(--brand-700); display: inline-flex; align-items: center; gap: 4px; min-height: 28px; }
.cp .t-stub { position: relative; border-inline-start: 2px dashed #e3e7e8; padding: 16px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; min-width: 0; }
.cp .t-stub::before, .cp .t-stub::after { content: ""; position: absolute; inset-inline-start: -11px; width: 20px; height: 20px; border-radius: 50%; background: var(--notch); border: 1px solid var(--line); }
.cp .t-stub::before { top: -11px; clip-path: inset(50% 0 0 0); }
.cp .t-stub::after { bottom: -11px; clip-path: inset(0 0 50% 0); }
.cp .val { color: var(--deal); line-height: 1; }
.cp .val b { font-size: 40px; font-weight: 800; letter-spacing: -1px; }
.cp .val .u { font-size: 16px; font-weight: 800; }
.cp .val small { display: block; color: var(--ink-2); font-size: 12px; font-weight: 600; margin-top: 6px; letter-spacing: 0; line-height: 1.5; }
.cp .val.txt b { font-size: 24px; letter-spacing: 0; line-height: 1.3; }
.cp .t-stub .btn { min-height: 44px; font-size: var(--fs-secondary); border-radius: 12px; width: 100%; padding: 0 10px; }

.cp .showmore { margin-top: 4px; width: 100%; min-height: 46px; border-radius: 14px; border: 1px dashed #cfd7d9; color: var(--brand-700); font-weight: 700; font-size: var(--fs-secondary); display: flex; align-items: center; justify-content: center; gap: 6px; }
.cp .showmore:hover { background: var(--brand-50); }
.cp details.expired { margin-top: 16px; border-top: 1px solid var(--line-2); padding-top: 14px; }
.cp details.expired summary { list-style: none; cursor: pointer; font-size: 13.5px; font-weight: 700; color: var(--muted); display: flex; align-items: center; gap: 8px; min-height: 36px; }
.cp details.expired summary::-webkit-details-marker { display: none; }
.cp details.expired summary .ic { transition: .25s; }
.cp details.expired[open] summary .ic { transform: rotate(180deg); }
.cp .exp-row { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-2); font-size: 13.5px; color: var(--muted); }
.cp .exp-row:last-child { border: 0; }
.cp .exp-row .ei { width: 42px; height: 42px; border-radius: 10px; overflow: hidden; filter: grayscale(1); opacity: .7; flex: none; background: var(--bg); }
.cp .exp-row .ei img { width: 100%; height: 100%; object-fit: cover; }
.cp .exp-row .et { min-width: 0; line-height: 1.6; }
.cp .exp-row .et b { display: block; color: var(--ink-2); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cp .exp-row .ev { margin-inline-start: auto; font-weight: 800; color: var(--faint); text-decoration: line-through; white-space: nowrap; }

.cp .how { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 18px; border-radius: 16px; background: var(--bg); padding: 6px; }
.cp .how > div { padding: 12px 14px; display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: var(--ink-2); line-height: 1.8; }
.cp .how i { flex: none; width: 26px; height: 26px; border-radius: 9px; background: #fff; border: 1px solid var(--line); display: grid; place-items: center; font-style: normal; font-weight: 800; color: var(--brand-700); font-size: 13px; }
.cp .how b { display: block; color: var(--ink); font-size: 13.5px; }

.cp .empty { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 18px; align-items: center; background: linear-gradient(135deg, #f6f9f9, #fbfbf9); border: 1px dashed #d5dddf; border-radius: 18px; padding: 22px; }
.cp .empty .art { width: 84px; height: 84px; }
.cp .empty h3 { margin: 0 0 4px; font-size: 17px; font-weight: 800; }
.cp .empty p { margin: 0; color: var(--muted); font-size: 14px; }
.cp .empty .row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.cp .empty .row .btn { min-height: 44px; font-size: var(--fs-button); }

/* ---------- about ---------- */
.cp .cp-prose { position: relative; color: var(--ink-2); font-size: var(--fs-secondary); line-height: 2.05; overflow-wrap: anywhere; }
.cp .cp-prose p,
.cp .cp-prose li,
.cp .cp-prose div,
.cp .cp-prose font { font-size: inherit; }
/* Clamp + fade only when JS marks the block as overflowing (avoids gradient on short copy). */
.cp .cp-prose.is-clamped { max-height: 330px; overflow: hidden; transition: max-height .6s var(--ease); }
.cp .cp-prose.is-clamped:not(.open)::after { content: ""; position: absolute; inset: auto 0 0 0; height: 120px; background: linear-gradient(180deg, rgba(255,255,255,0), #fff); pointer-events: none; }
.cp .cp-prose.is-clamped.open { max-height: none; overflow: visible; }
.cp .cp-prose h2, .cp .cp-prose h3 { color: var(--ink); font-size: 16.5px; margin: 22px 0 6px; line-height: 1.7; font-weight: 800; }
.cp .cp-prose > :first-child { margin-top: 0; }
.cp .cp-prose p { margin: 0 0 12px; }
.cp .cp-prose ul, .cp .cp-prose ol { margin: 0 0 12px; padding-inline-start: 20px; }
.cp .cp-prose ul { list-style: disc; }
.cp .cp-prose ol { list-style: decimal; }
.cp .cp-prose li::marker { color: var(--brand); }
.cp .cp-prose strong { color: var(--ink); }
.cp .cp-prose a { color: var(--brand-700); text-decoration: underline; }
.cp .cp-prose img { height: auto; border-radius: 12px; }
.cp .readmore { margin-top: 8px; font-weight: 700; color: var(--brand-700); font-size: var(--fs-secondary); display: inline-flex; align-items: center; gap: 4px; min-height: 36px; }
.cp .readmore[aria-expanded="true"] .ic { transform: rotate(180deg); }

/* ---------- gallery ---------- */
.cp .bento { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 170px 170px; gap: 10px; }
.cp .bento button { position: relative; overflow: hidden; border-radius: 14px; background: var(--brand-50); }
.cp .bento button:first-child { grid-row: 1 / 3; }
.cp .bento img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.cp .bento button:hover img { transform: scale(1.05); }
.cp .bento .more { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; background: rgba(8,30,38,.55); color: #fff; font-weight: 800; font-size: 18px; }
.cp .bento.n1 { grid-template-columns: 1fr; grid-template-rows: 300px; }
.cp .bento.n2 { grid-template-columns: 1fr 1fr; grid-template-rows: 260px; }
.cp .bento.n2 button:first-child { grid-row: auto; }
.cp .bento.n3 { grid-template-columns: 2fr 1fr; grid-template-rows: 150px 150px; }
.cp .bento.n4 { grid-template-columns: 2fr 1fr 1fr; }
.cp .bento.n4 button:nth-child(4) { grid-column: 2 / 4; }

/* ---------- reviews ---------- */
.cp .rv-top { display: grid; grid-template-columns: 200px minmax(0,1fr); gap: 26px; align-items: center; padding-bottom: 20px; border-bottom: 1px solid var(--line-2); margin-bottom: 6px; }
.cp .rv-score { text-align: center; }
.cp .rv-score b { font-size: 54px; font-weight: 800; line-height: 1; display: block; letter-spacing: -1px; }
.cp .rv-score .stars { font-size: 18px; letter-spacing: 2px; margin: 6px 0 2px; }
.cp .rv-score small { color: var(--muted); font-size: 13px; display: block; }
.cp .rv-side { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.cp .rv-note { color: var(--muted); font-size: 13.5px; margin: 0; }
.cp .rv { display: grid; grid-template-columns: auto minmax(0,1fr); gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.cp .rv:last-child { border: 0; }
.cp .rv .av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; font-size: 15px; }
.cp .rv .hd { display: flex; align-items: center; gap: 6px 10px; flex-wrap: wrap; font-size: 13px; }
.cp .rv .hd b { font-size: 14px; }
.cp .rv .hd .stars { font-size: 12.5px; }
.cp .rv .hd time { color: var(--faint); font-size: 12px; margin-inline-start: auto; }
.cp .rv p { margin: 4px 0 0; color: var(--ink-2); font-size: 14.5px; line-height: 1.95; white-space: pre-line; overflow-wrap: anywhere; }
.cp .rv p.rv-only { color: var(--muted); font-size: 13.5px; }
.cp .rv .badge { font-size: 11px; color: var(--ok); font-weight: 700; display: inline-flex; align-items: center; gap: 3px; }
.cp .rv .rv-admin { font-size: 12px; font-weight: 700; color: var(--deal); }
.cp .rv-actions { display: flex; justify-content: center; align-items: center; gap: 10px; margin-top: 14px; flex-wrap: wrap; color: var(--muted); font-size: 13px; }
.cp .rv-actions .btn { min-height: 44px; font-size: 14px; }
.cp .empty.rv-empty { margin-top: 4px; }

/* ---------- aside ---------- */
.cp .side { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-1); }
.cp .side > h3 { margin: 0; padding: 16px 18px 0; font-size: 15px; font-weight: 800; }
.cp .side .map-slot { padding: 0; }
.cp .side .map-slot + .ci { border-top: 1px solid var(--line-2); }
.cp .company-static-map,
.cp .company-static-map__frame {
    height: 240px;
    max-height: 240px;
    overflow: hidden;
}
.cp .company-static-map .maplibregl-map,
.cp .company-static-map .maplibregl-canvas-container,
.cp .company-static-map canvas.maplibregl-canvas {
    max-width: 100% !important;
    max-height: 100% !important;
}
.cp .ci { padding: 6px 18px 4px; }
.cp .crow { display: flex; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line-2); align-items: flex-start; }
.cp .crow:last-child { border: 0; }
.cp .crow .cic { width: 36px; height: 36px; border-radius: 11px; background: var(--brand-50); color: var(--brand-700); display: grid; place-items: center; flex: none; }
.cp .crow > div { min-width: 0; flex: 1; }
.cp .crow small { display: block; color: var(--muted); font-size: 12px; line-height: 1.5; }
.cp .crow b { font-size: 14px; font-weight: 600; line-height: 1.75; display: block; overflow-wrap: anywhere; }
.cp .crow b.ltr { text-align: left; }
.cp .crow b a:hover { text-decoration: underline; }
.cp .cp-phone-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    max-width: 100%;
}
.cp .crow b:has(.cp-phone-list) {
    overflow-wrap: normal;
}
.cp .cp-phone-list .cp-phone-chip {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    border: 1px solid var(--brand-100);
    background: var(--brand-50);
    color: var(--brand-700);
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: 0.02em;
    line-height: 1.2;
    white-space: nowrap;
    text-decoration: none;
    overflow-wrap: normal;
    word-break: normal;
}
.cp .cp-phone-list a.cp-phone-chip:hover {
    background: #fff;
    border-color: var(--brand);
    color: var(--brand-700);
    text-decoration: none;
}
.cp .crow .act { margin-inline-start: auto; font-size: 12.5px; font-weight: 700; color: var(--brand-700); white-space: nowrap; align-self: center; padding: 4px 10px; min-height: 36px; border-radius: 8px; display: inline-flex; align-items: center; }
.cp .crow .act:hover { background: var(--brand-50); }
.cp .side-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 12px 18px 18px; }
.cp .side-btns > :only-child { grid-column: 1 / -1; }
.cp .side-btns .btn { min-height: 44px; font-size: var(--fs-button); border-radius: 12px; padding: 0 10px; }
.cp .statgrid { display: grid; grid-template-columns: 1fr 1fr; margin-top: 12px; border-top: 1px solid var(--line-2); }
.cp .statgrid > div { padding: 14px 18px; text-align: center; }
.cp .statgrid > div + div { border-inline-start: 1px solid var(--line-2); }
.cp .statgrid > div:only-child { grid-column: 1 / -1; }
.cp .statgrid b { font-size: 20px; font-weight: 800; display: block; }
.cp .statgrid small { color: var(--muted); font-size: 12px; }
.cp .trust { padding: 16px 18px; display: flex; flex-direction: column; gap: 10px; font-size: 13px; color: var(--ink-2); }
.cp .trust > div { display: flex; gap: 10px; align-items: center; }
.cp .trust .ic { color: var(--ok); }

/* ---------- end zone ---------- */
.cp .endzone { display: flex; flex-direction: column; gap: 22px; padding-bottom: 50px; }

.cp .faq2 { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.05fr); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--sh-1); }
.cp .fq-side { padding: 28px; min-width: 0; }
.cp .fq-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 800; color: var(--brand-700); background: var(--brand-50); border-radius: 99px; padding: 3px 12px; }
.cp .fq-side h2 { margin: 12px 0 18px; font-size: var(--fs-h2); font-weight: 800; line-height: 1.6; letter-spacing: -.2px; }
.cp .fq-list { display: flex; flex-direction: column; gap: 6px; }
.cp .fq-q { width: 100%; display: flex; align-items: center; gap: 12px; padding: 11px 12px; min-height: 48px; border-radius: 14px; text-align: start; font-size: 14.5px; font-weight: 600; color: var(--ink-2); transition: .2s var(--ease); border: 1px solid transparent; }
.cp .fq-q:hover { background: var(--bg); }
.cp .fq-ic { width: 34px; height: 34px; border-radius: 10px; background: var(--bg); color: var(--muted); display: grid; place-items: center; flex: none; transition: .2s; }
.cp .fq-t { flex: 1; line-height: 1.7; }
.cp .fq-q > .ic:last-child { color: var(--faint); transition: .25s var(--ease); }
.cp .fq-item.on .fq-q { background: var(--brand-50); border-color: var(--brand-100); color: var(--brand-700); }
.cp .fq-item.on .fq-ic { background: var(--brand); color: #fff; }
.cp .fq-item.on .fq-q > .ic:last-child { color: var(--brand); transform: translateX(-3px); }
.cp .fq-a { display: none; }
.cp .fq-a ul, .cp .fq-panel ul { margin: 0; padding-inline-start: 18px; list-style: disc; }
.cp .fq-panel { position: relative; background: var(--navy); color: #fff; padding: 40px 36px; display: flex; flex-direction: column; justify-content: center; min-height: 100%; overflow: hidden; }
.cp .fq-panel::before { content: "؟"; position: absolute; left: 26px; bottom: -40px; font-size: 240px; font-weight: 800; line-height: 1; color: rgba(255,255,255,.05); pointer-events: none; }
.cp .fq-panel.flip > * { animation: cp-rise .45s var(--ease) both; }
.cp .fp-ic { width: 52px; height: 52px; border-radius: 16px; background: rgba(255,255,255,.1); color: #f6c344; display: grid; place-items: center; }
.cp .fp-n { margin-top: 18px; font-size: 12.5px; color: #a9c5cb; font-weight: 600; }
.cp .fq-panel h3,
.cp .fq-panel [data-fp-q] { margin: 6px 0 10px; font-size: 20px; line-height: 1.7; font-weight: 800; color: #fff; }
.cp .fq-panel .fp-a,
.cp .fq-panel [data-fp-a] { margin: 0; color: #d6e6e9; font-size: 15px; line-height: 2.1; max-width: 52ch; position: relative; }
.cp .fq-panel [data-fp-a] a { color: #8fd4df; text-decoration: underline; }

.cp .similar .bh { margin-bottom: 14px; }
.cp .bgrid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 14px; }
.cp .bgrid > * { min-width: 0; }
.cp .similar .sm-all { display: none; margin-top: 12px; }

.cp .invite-band { border-radius: var(--r-lg); background: var(--navy); color: #fff; padding: 22px 26px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; position: relative; overflow: hidden; }
.cp .invite-band::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: rgba(215,155,19,.18); left: -60px; top: -120px; pointer-events: none; }
.cp .invite-band > * { position: relative; z-index: 1; }
.cp .ib-ic { width: 54px; height: 54px; border-radius: 16px; background: rgba(255,255,255,.1); display: grid; place-items: center; color: #f6c344; flex: none; }
.cp .ib-tx { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; }
.cp .ib-tx b { display: block; font-size: 17px; }
.cp .ib-tx small { display: block; color: #b9d2d7; font-size: 13.5px; margin-top: 2px; }
.cp .ib-link { margin-top: 10px; align-self: start; box-sizing: border-box; width: max-content; max-width: 100%; min-width: 0; background: rgba(255,255,255,.08); border: 1px dashed rgba(255,255,255,.25); border-radius: 10px; padding: 8px 12px; overflow-x: auto; overflow-y: hidden; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; scrollbar-width: thin; }
.cp .ib-link::-webkit-scrollbar { height: 4px; }
.cp .ib-link::-webkit-scrollbar-thumb { background: rgba(255,255,255,.28); border-radius: 4px; }
.cp .ib-url { display: block; width: max-content; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; direction: ltr; unicode-bidi: isolate; font-size: 13px; color: #e5f2f4; white-space: nowrap; }
.cp .ib-actions { display: flex; flex-direction: column; gap: 10px; align-items: stretch; margin-inline-start: auto; }
.cp .invite-band .ib-copy { background: #f6c344; color: var(--navy); min-height: 48px; padding: 0 22px; box-shadow: none; }
.cp .invite-band .ib-copy:hover { background: #ffd56a; }
.cp .invite-band .ib-copy.done { background: #6fe0bf; }
.cp .ib-share { display: flex; gap: 6px; }
.cp .ib-share a { flex: 1; text-align: center; font-size: 12.5px; font-weight: 700; color: #e5f2f4; border: 1px solid rgba(255,255,255,.22); border-radius: 9px; padding: 5px 8px; min-height: 36px; display: inline-flex; align-items: center; justify-content: center; transition: .2s; }
.cp .ib-share a:hover { background: rgba(255,255,255,.1); }

/* ---------- reveal ---------- */
.cp .rv-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
    .cp.js-reveal .rv-in { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
    .cp.js-reveal .rv-in.seen { opacity: 1; transform: none; }
}

/* ---------- layers (fixed; live inside .cp-root) ---------- */
.cp-mbar { position: fixed; inset: auto 0 var(--cp-bottom-nav, 0px) 0; z-index: 54; background: rgba(255,255,255,.97); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line); padding: 10px 14px; display: none; align-items: center; gap: 12px; transform: translateY(calc(100% + var(--cp-bottom-nav, 0px))); transition: transform .35s var(--ease); }
.cp-mbar.show { transform: none; }
/* Lift AIOCOM bubble above the sticky redeem bar (it already clears the bottom nav). */
@media (max-width: 820px) {
    body.cp-mbar-open #iframe-io,
    body.cp-mbar-open iframe#iframe-io,
    body.cp-mbar-open [id^="iframe-io"] {
        bottom: calc(var(--cp-bottom-nav, 80px) + var(--cp-mbar-h, 68px) + 12px) !important;
    }
}
.cp-mbar .mv { line-height: 1.25; min-width: 0; }
.cp-mbar .mv b { color: var(--deal); font-size: 20px; font-weight: 800; white-space: nowrap; }
.cp-mbar .mv small { display: block; font-size: 11.5px; color: var(--muted); }
.cp-mbar .btn { flex: 1; min-height: 48px; font-size: 14px; padding: 0 12px; }

.cp-overlay { position: fixed; inset: 0; z-index: 100; background: rgba(8,24,30,.5); backdrop-filter: blur(4px); display: flex; align-items: center; justify-content: center; padding: 20px; opacity: 0; visibility: hidden; transition: opacity .3s var(--ease), visibility 0s .3s; }
.cp-overlay.open { opacity: 1; visibility: visible; transition: opacity .3s var(--ease); }
.cp-overlay .modal { width: min(520px, 100%); max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); overflow: auto; overscroll-behavior: contain; background: #fff; border-radius: 24px; box-shadow: var(--sh-3); transform: translateY(20px) scale(.98); transition: transform .4s var(--ease); position: relative; }
.cp-overlay.open .modal { transform: none; }
.cp-overlay .grab { display: none; width: 40px; height: 5px; border-radius: 9px; background: #d9dfe1; margin: 8px auto 0; }
.cp-overlay .m-head { position: sticky; top: 0; background: #fff; z-index: 2; display: flex; align-items: center; gap: 10px; padding: 16px 20px; border-bottom: 1px solid var(--line-2); }
.cp-overlay .m-head h3 { margin: 0; font-size: 16px; font-weight: 800; flex: 1; }
.cp .x { width: 44px; height: 44px; border-radius: 12px; background: var(--bg); display: grid; place-items: center; flex: none; }
.cp .x:hover { background: var(--line); }
.cp-overlay .m-body { padding: 20px; }
.cp-overlay .steps { display: flex; gap: 6px; margin-bottom: 16px; }
.cp-overlay .steps i { flex: 1; height: 4px; border-radius: 9px; background: var(--line-2); overflow: hidden; position: relative; }
.cp-overlay .steps i.on::after { content: ""; position: absolute; inset: 0; background: var(--brand); animation: cp-fill .5s var(--ease) both; transform-origin: right; }
@keyframes cp-fill { from { transform: scaleX(0); } to { transform: none; } }
.cp-overlay .m-offer { display: flex; gap: 14px; align-items: center; }
.cp-overlay .m-offer .t-img { width: 72px; height: 72px; flex: none; }
.cp-overlay .m-offer h4 { margin: 0; font-size: 15px; line-height: 1.7; font-weight: 800; }
.cp-overlay .m-offer .val { text-align: center; flex: none; }
.cp-overlay .m-offer .val b { font-size: 28px; }
.cp-overlay .m-offer .val.txt b { font-size: 18px; }
.cp-overlay .m-desc { margin: 14px 0 0; color: var(--ink-2); font-size: 14px; white-space: pre-line; background: var(--bg); border-radius: 14px; padding: 14px; max-height: 180px; overflow: auto; line-height: 1.95; overflow-wrap: anywhere; }
.cp-overlay .cond { margin: 14px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 13.5px; color: var(--ink-2); }
.cp-overlay .cond li { display: flex; gap: 8px; align-items: flex-start; }
.cp-overlay .cond .ic { color: var(--ok); margin-top: 4px; }
.cp-overlay .m-foot { display: flex; flex-direction: column; gap: 8px; margin-top: 18px; }
.cp-overlay .m-note { font-size: 12px; color: var(--muted); text-align: center; display: flex; gap: 6px; justify-content: center; align-items: center; }
.cp-overlay .m-err { margin: 12px 0 0; padding: 10px 12px; border-radius: 12px; background: var(--deal-50); color: #a52a20; font-size: 13.5px; }
.cp-overlay .loading { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 40px 0; color: var(--muted); font-size: 14px; }
.cp-overlay .spinner { width: 44px; height: 44px; border-radius: 50%; border: 4px solid var(--brand-100); border-top-color: var(--brand); animation: cp-spin .8s linear infinite; }
@keyframes cp-spin { to { transform: rotate(360deg); } }
.cp-overlay .coupon { position: relative; border-radius: 20px; background: linear-gradient(140deg, var(--brand) 0%, var(--brand-700) 100%); color: #fff; padding: 20px; overflow: hidden; animation: cp-pop .5s var(--ease) both; }
@keyframes cp-pop { from { transform: scale(.92); opacity: 0; } to { transform: none; opacity: 1; } }
.cp-overlay .coupon::before { content: ""; position: absolute; width: 240px; height: 240px; border-radius: 50%; background: rgba(255,255,255,.07); top: -110px; inset-inline-start: -60px; }
.cp-overlay .coupon .row1 { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; position: relative; }
.cp-overlay .coupon .cv b { font-size: 34px; font-weight: 800; line-height: 1.1; }
.cp-overlay .coupon .cv small { display: block; opacity: .9; font-size: 12.5px; margin-top: 6px; }
.cp-overlay .coupon .brandmark { font-weight: 800; opacity: .9; font-size: 13px; white-space: nowrap; }
.cp-overlay .coupon .cut { height: 0; border-top: 2px dashed rgba(255,255,255,.35); margin: 18px -20px; position: relative; }
.cp-overlay .coupon .cut::before, .cp-overlay .coupon .cut::after { content: ""; position: absolute; top: -12px; width: 22px; height: 22px; border-radius: 50%; background: #fff; }
.cp-overlay .coupon .cut::before { right: -11px; }
.cp-overlay .coupon .cut::after { left: -11px; }
.cp-overlay .coupon .row2 { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 14px; align-items: center; position: relative; }
.cp-overlay .coupon .row2.one { grid-template-columns: 1fr; }
.cp-overlay .code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 22px; font-weight: 700; letter-spacing: 2px; direction: ltr; unicode-bidi: isolate; text-align: left; overflow-wrap: anywhere; }
.cp-overlay .qr { width: 112px; height: 112px; background: #fff; border-radius: 12px; padding: 6px; }
.cp-overlay .qr img { width: 100%; height: 100%; image-rendering: pixelated; }
.cp-overlay .copy { margin-top: 10px; min-height: 40px; border-radius: 10px; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3); color: #fff; font-weight: 700; font-size: 13px; padding: 0 14px; display: inline-flex; gap: 6px; align-items: center; }
.cp-overlay .copy:hover { background: rgba(255,255,255,.26); }
.cp-overlay .coupon .exp { font-size: 12px; opacity: .9; margin-top: 8px; }
.cp-overlay .coupon .site { margin-top: 10px; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 700; color: #fff; text-decoration: underline; }
.cp-overlay .use { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.cp-overlay .use > div { background: var(--bg); border-radius: 14px; padding: 12px 10px; font-size: 12.5px; color: var(--ink-2); text-align: center; line-height: 1.7; }
.cp-overlay .use i { display: grid; place-items: center; width: 28px; height: 28px; margin: 0 auto 6px; border-radius: 9px; background: #fff; border: 1px solid var(--line); font-style: normal; font-weight: 800; color: var(--brand-700); }
.cp-overlay .invite { margin-top: 14px; border: 1px solid var(--line); border-radius: 16px; padding: 14px; display: flex; gap: 12px; align-items: center; }
.cp-overlay .invite > .ic { color: var(--gold); }
.cp-overlay .invite b { font-size: 14px; display: block; }
.cp-overlay .invite small { color: var(--muted); font-size: 12.5px; }
.cp-overlay .invite .chipbtn { margin-inline-start: auto; min-height: 40px; flex: none; }
.cp-overlay .redirect { text-align: center; padding: 14px 0 4px; }
.cp-overlay .redirect .avatar { margin: 0 auto; width: 72px; height: 72px; font-size: 28px; border-radius: 20px; box-shadow: var(--sh-2); }
.cp-overlay .redirect h3 { margin: 16px 0 4px; font-size: 17px; font-weight: 800; }
.cp-overlay .redirect p { margin: 0; color: var(--muted); font-size: 14px; }
.cp-overlay .redirect .bar2 { height: 6px; border-radius: 9px; background: var(--line-2); overflow: hidden; margin: 16px 0; }
.cp-overlay .redirect .bar2 span { display: block; height: 100%; width: 0; background: var(--brand); animation: cp-load 1.4s var(--ease) forwards; }
@keyframes cp-load { to { width: 100%; } }
.cp-overlay .redirect .dest { font-family: ui-monospace, monospace; direction: ltr; unicode-bidi: isolate; font-size: 13px; background: var(--bg); padding: 8px 12px; border-radius: 10px; display: inline-block; color: var(--ink-2); max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.cp-lb { position: fixed; inset: 0; z-index: 100; background: rgba(6,16,20,.94); display: flex; flex-direction: column; opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s .3s; color: #fff; }
.cp-lb.open { opacity: 1; visibility: visible; transition: opacity .3s; }
.cp-lb .lb-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; font-size: 14px; }
.cp-lb .x { background: rgba(255,255,255,.1); color: #fff; }
.cp-lb .lb-stage { flex: 1; display: flex; align-items: center; justify-content: center; position: relative; min-height: 0; padding: 0 70px; }
.cp-lb .lb-stage img { max-width: 100%; max-height: 100%; border-radius: 12px; object-fit: contain; animation: cp-pop .35s var(--ease); }
.cp-lb .lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; }
.cp-lb .lb-nav:hover { background: rgba(255,255,255,.22); }
.cp-lb .lb-prev { right: 14px; }
.cp-lb .lb-next { left: 14px; }
.cp-lb .lb-thumbs { display: flex; gap: 8px; justify-content: center; padding: 14px; overflow-x: auto; }
.cp-lb .lb-thumbs button { width: 62px; height: 46px; border-radius: 8px; overflow: hidden; opacity: .45; flex: none; border: 2px solid transparent; transition: .2s; }
.cp-lb .lb-thumbs button.on { opacity: 1; border-color: #fff; }
.cp-lb .lb-thumbs img { width: 100%; height: 100%; object-fit: cover; }

.cp-toast { position: fixed; bottom: calc(24px + var(--cp-bottom-nav, 0px)); left: 50%; transform: translate(-50%, 30px); background: var(--navy); color: #fff; padding: 11px 18px; border-radius: 14px; font-size: 14px; font-weight: 600; z-index: 110; opacity: 0; transition: .35s var(--ease); display: flex; gap: 8px; align-items: center; box-shadow: var(--sh-3); pointer-events: none; max-width: calc(100% - 32px); }
.cp-toast.show { opacity: 1; transform: translate(-50%, 0); }
.cp-toast .ic { color: #6fe0bf; }
body.cp-locked { overflow: hidden; }

/* ---------- responsive ---------- */
@media (max-width: 1060px) {
    /* Tablet: campaigns/about/gallery full-width; then reviews | contact (reviews a bit wider). */
    .cp .layout {
        display: grid;
        grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.85fr);
        gap: 0 20px;
        align-items: start;
    }
    .cp .main-col { display: contents; }
    .cp #offers,
    .cp #about,
    .cp #gallery { grid-column: 1 / -1; width: 100%; max-width: 100%; }
    .cp #offers { order: 1; }
    .cp #about { order: 2; }
    .cp #gallery { order: 3; }
    .cp #reviews { grid-column: 1; order: 4; min-width: 0; }
    .cp .layout > aside { grid-column: 2; order: 4; position: static; margin-bottom: 0; min-width: 0; }
    .cp .side { width: 100%; max-width: 100%; }
    .cp .idcard { grid-template-columns: 1fr; }
    .cp .bestpanel { border-inline-start: 0; border-top: 1px solid var(--line); border-start-end-radius: 0; border-end-end-radius: var(--r-lg); border-end-start-radius: var(--r-lg); }
    .cp .ticket { grid-template-columns: 96px minmax(0,1fr) minmax(140px, 160px); }
    .cp .val b { font-size: 32px; }
    .cp .faq2 { grid-template-columns: 1fr; }
    .cp .fq-panel { display: none; }
    .cp .fq-a { padding: 4px 58px 14px 12px; color: var(--ink-2); font-size: var(--fs-secondary); line-height: 1.9; }
    .cp .fq-item.on .fq-a { display: block; }
    .cp .fq-item.on .fq-q > .ic:last-child { transform: rotate(-90deg); }
    .cp .bgrid { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 820px) {
    .cp {
        --fs-body: 14px;
        --fs-secondary: 13px;
        --fs-meta: 12px;
        --fs-button: 13.5px;
        --fs-h1: 22px;
        --fs-h2: 17px;
        --fs-h3: 15px;
        font-size: var(--fs-body);
    }
    .cp .btn { min-height: 44px; padding: 0 14px; }
    .cp .chipbtn { min-height: 40px; font-size: var(--fs-meta); }
    .cp .pill { min-height: 32px; font-size: 12px; padding: 0 12px; }
    .cp .wrap { padding: 0 16px; }
    .cp .cover { height: 210px; border-radius: 18px; }
    .cp .cover .chips { display: none; }
    .cp .idcard { grid-template-columns: 1fr; margin: -64px 10px 0; }
    .cp .idmain { padding: 0 18px 18px; grid-template-columns: 1fr; }
    .cp .avatar { width: 88px; height: 88px; border-radius: 22px; margin-top: -44px; margin-bottom: 10px; font-size: 34px; }
    .cp .bestpanel { border-inline-start: 0; border-top: 1px solid var(--line); border-radius: 0 0 var(--r-lg) var(--r-lg); padding: 18px; }
    .cp .bp-value b { font-size: 40px; }
    .cp .facts { gap: 6px; }
    .cp .fact { padding: 6px 10px; font-size: var(--fs-meta); }
    .cp .kicker { font-size: var(--fs-meta); }
    .cp .secnav { margin-top: 18px; }
    .cp .secnav .mini { display: none; }
    .cp .layout {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding-top: 18px;
    }
    .cp #offers,
    .cp #about,
    .cp #gallery,
    .cp #reviews,
    .cp .layout > aside { grid-column: auto; width: 100%; max-width: 100%; }
    .cp #offers { order: 1; }
    .cp #about { order: 2; }
    .cp #gallery { order: 3; }
    .cp .layout > aside { order: 4; margin-bottom: 16px; }
    .cp #reviews { order: 5; }
    .cp .cp-block { padding: 18px; border-radius: 20px; margin-bottom: 16px; }
    .cp .secnav a { font-size: 13px; padding: 7px 12px; min-height: 36px; }
    .cp .ticket { grid-template-columns: 76px minmax(0,1fr); grid-template-areas: "m b" "s s"; }
    .cp .t-media { grid-area: m; padding: 14px; padding-inline-end: 0; padding-bottom: 0; }
    .cp .t-body { grid-area: b; padding: 14px 12px 12px 14px; }
    .cp .t-stub { grid-area: s; border-inline-start: 0; border-top: 2px dashed #e3e7e8; flex-direction: row; justify-content: space-between; padding: 12px 14px; text-align: start; }
    .cp .t-stub::before, .cp .t-stub::after { top: -11px; bottom: auto; inset-inline-start: auto; }
    .cp .t-stub::before { right: -11px; clip-path: inset(0 50% 0 0); }
    .cp .t-stub::after { left: -11px; clip-path: inset(0 0 0 50%); }
    .cp .val b { font-size: 28px; }
    .cp .val small { display: inline; margin: 0 6px 0 0; }
    .cp .t-stub .btn { width: auto; flex: none; padding: 0 14px; min-height: 40px; }
    .cp .how { grid-template-columns: 1fr; }
    .cp .how > div { font-size: var(--fs-meta); }
    .cp .how b { font-size: var(--fs-secondary); }
    .cp .side > h3 { font-size: 14px; }
    .cp .crow b { font-size: 13px; }
    .cp .rv p { font-size: var(--fs-secondary); }
    .cp .rv-score b { font-size: 40px; }
    .cp .empty .row .btn,
    .cp .side-btns .btn { font-size: var(--fs-button); min-height: 42px; }
    .cp .empty { grid-template-columns: 1fr; text-align: center; }
    .cp .empty .art { margin: 0 auto; }
    .cp .empty .row { justify-content: center; }
    .cp .bento, .cp .bento.n3, .cp .bento.n4 { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 120px; }
    .cp .bento button:first-child { grid-column: 1 / 3; grid-row: auto; }
    .cp .bento button:nth-child(n+4) { display: none; }
    .cp .bento.n2 { grid-template-rows: 180px; }
    .cp .bento.n2 button:first-child { grid-column: auto; }
    .cp .bento.n1 { grid-template-columns: 1fr; grid-template-rows: 220px; }
    .cp .bento.n1 button:first-child { grid-column: auto; }
    .cp .rv-top { grid-template-columns: 1fr; gap: 14px; }
    .cp .rv-side { align-items: center; text-align: center; }
    .cp .endzone { padding-bottom: 30px; }
    .cp .fq-side { padding: 16px; }
    .cp .fq-q { font-size: 13.5px; min-height: 42px; padding: 8px 10px; gap: 10px; }
    .cp .fq-a { padding: 2px 12px 12px 42px; font-size: 13px; line-height: 1.85; }
    .cp .ib-tx b { font-size: 15px; }
    .cp .ib-tx small { font-size: var(--fs-meta); }
    .cp-mbar .btn { font-size: var(--fs-button); min-height: 44px; }
    .cp-mbar .mv b { font-size: 18px; }
    .cp .bgrid { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
    .cp .bgrid > * { scroll-snap-align: start; }
    .cp .similar .ez-all { display: none; }
    .cp .similar .sm-all { display: flex; }
    .cp .invite-band { flex-direction: column; align-items: stretch; padding: 16px; gap: 12px; }
    .cp .ib-ic { width: 44px; height: 44px; border-radius: 12px; }
    .cp .ib-tx { flex: 0 0 auto; width: 100%; max-width: 100%; min-width: 0; }
    .cp .ib-link { align-self: stretch; width: 100%; max-width: 100%; }
    .cp .ib-actions { width: 100%; margin: 0; }
    .cp-root.has-mbar { padding-bottom: 84px; }
    .cp-mbar { display: flex; }
    .cp-overlay { align-items: flex-end; padding: 0; }
    .cp-overlay .modal { border-radius: 24px 24px 0 0; max-height: 92vh; max-height: 92dvh; transform: translateY(100%); padding-bottom: env(safe-area-inset-bottom, 0px); }
    .cp-overlay .grab { display: block; }
    .cp-overlay .use { grid-template-columns: 1fr; }
    .cp-overlay .use > div { display: flex; gap: 10px; align-items: center; text-align: start; }
    .cp-overlay .use i { margin: 0; flex: none; }
    .cp-lb .lb-stage { padding: 0 10px; }
    .cp-lb .lb-nav { display: none; }
}
@media (max-width: 400px) {
    .cp .t-stub { flex-wrap: wrap; }
    .cp .t-stub .btn { flex: 1 1 auto; }
    .cp .coupon .row2 { grid-template-columns: 1fr; }
    .cp-overlay .qr { margin: 0 auto; }
}
@media (prefers-reduced-motion: reduce) {
    .cp *, .cp *::before, .cp *::after, .cp-overlay, .cp-lb, .cp-mbar, .cp-toast { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
    .cp.js-reveal .rv-in { opacity: 1; transform: none; transition: none; }
}
