/* ==========================================================================
   Creative Pop — main stylesheet
   1. Tokens   2. Base   3. Comic pop system   4. Loader & overlays
   5. Header & burger & lamp   6. Fullscreen menu   7. Categories
   8. Grid & cards   9. Single   10. Forms & buttons   11. Modal
   12. Auth   13. Account   14. Contact & FAQ   15. Misc   16. Responsive
   ========================================================================== */

/* 1. Tokens ---------------------------------------------------------------- */
:root {
	--accent: #FFE600;
	--pulse: #1FE05A;
	--reserved: #FF9F1C;
	--sold: #9a9a9a;
	--heart: #FF2E63;

	--bg: #ffffff;
	--fg: #161616;
	--muted: #6f6f6f;
	--line: rgba(22, 22, 22, .42);
	--line-soft: rgba(22, 22, 22, .12);
	--soft: #f8f8f7;
	--card: #ffffff;
	--ink: #0b0b0b;
	--on-ink: #ffffff;
	--bun: #ffffff;

	--font-display: 'Bricolage Grotesque', 'Poppins', ui-sans-serif, system-ui, sans-serif;
	--font-body: 'Instrument Sans', 'Poppins', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
	--font-accent: 'Instrument Serif', 'Poppins', Georgia, serif;
	--font: var(--font-body);
	--paint: #0b0b0b;
	--on-paint: #ffffff;
	--paint-dim: rgba(255, 255, 255, .55);
	--gutter: clamp(16px, 2.6vw, 28px);
	--gap: clamp(14px, 2.2vw, 26px);
	--wrap: 1180px;
	--radius: 8px;
	--comic: 5px 5px 0 var(--fg);

	--ease-out: cubic-bezier(.16, 1, .3, 1);
	--ease-spring: cubic-bezier(.34, 1.56, .64, 1);
	--ease-io: cubic-bezier(.76, 0, .24, 1);

	color-scheme: light;
}

html[data-theme="dark"] {
	--bg: #0b0b0b;
	--fg: #f2f2f0;
	--muted: #9b9b98;
	--line: rgba(255, 255, 255, .26);
	--line-soft: rgba(255, 255, 255, .09);
	--soft: #151515;
	--card: #111111;
	--ink: #000000;
	--on-ink: #ffffff;
	--bun: #161616;
	--paint: #f3f1ec;
	--on-paint: #0b0b0b;
	--paint-dim: rgba(11, 11, 11, .55);
	color-scheme: dark;
}

/* 2. Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--fg);
	font-family: var(--font-body);
	font-weight: 400;
	font-size: 15px;
	font-optical-sizing: auto;
	line-height: 1.55;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
	transition: background-color .5s var(--ease-out), color .5s var(--ease-out);
}
img, svg, video { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--fg); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--accent); color: #111; }

.screen-reader-text, .cp-hp {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.cp-skip { position: fixed; left: 12px; top: -60px; z-index: 999; background: var(--fg); color: var(--bg); padding: 8px 14px; border-radius: 99px; }
.cp-skip:focus { top: 12px; }

.cp-wrap { width: calc(100% - var(--gutter) * 2); margin-inline: auto; }
.cp-main { min-height: 70vh; padding-bottom: 80px; }
.cp-h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(26px, 3.2vw, 34px); line-height: 1.1; letter-spacing: -.01em; margin: 0 0 12px; }
.cp-display { font-family: var(--font-display); font-weight: 700; font-size: clamp(40px, 7vw, 96px); line-height: .95; letter-spacing: -.035em; margin: 0 0 18px; }
.cp-eyebrow { font-family: var(--font-accent); font-style: italic; font-weight: 400; font-size: 15px; color: var(--muted); margin: 0 0 6px; }
.cp-muted { color: var(--muted); }
.cp-label { font-family: var(--font-accent); font-style: italic; font-weight: 400; font-size: 15px; color: var(--fg); opacity: .85; margin: 0 0 8px; }
.cp-prose { line-height: 1.7; }
.cp-prose > :first-child { margin-top: 0; }
.cp-prose--sm { font-size: 14px; color: var(--fg); opacity: .86; margin-bottom: 18px; }
.cp-prose a { text-decoration: underline; text-underline-offset: 3px; }
.cp-link { font-family: var(--font-accent); font-style: italic; text-decoration: underline; text-underline-offset: 3px; }
.cp-link:disabled { opacity: .45; cursor: default; text-decoration: none; }
.cp-row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* split-text reveal (JS wraps words) */
.cp-split .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.cp-split .w > span { display: inline-block; transform: translateY(105%); transition: transform .9s var(--ease-out); transition-delay: calc(var(--i) * 45ms + 120ms); }
.cp-split.is-in .w > span { transform: none; }

/* 3. Comic pop system ----------------------------------------------------- */
@keyframes cp-pop {
	0% { scale: 1; rotate: 0deg; }
	22% { scale: 1.18 .84; rotate: -4deg; }
	46% { scale: .92 1.1; rotate: 3deg; }
	68% { scale: 1.05 .96; rotate: -1deg; }
	100% { scale: 1; rotate: 0deg; }
}
@keyframes cp-pop-sm {
	0% { scale: 1; rotate: 0deg; }
	30% { scale: 1.035 .972; rotate: -.7deg; }
	60% { scale: .99 1.016; rotate: .45deg; }
	100% { scale: 1; rotate: 0deg; }
}
@keyframes cp-burst-in {
	0% { transform: scale(0) rotate(-40deg); opacity: 0; }
	60% { transform: scale(1.12) rotate(6deg); opacity: 1; }
	100% { transform: scale(1) rotate(0); opacity: 1; }
}
@keyframes cp-spin-slow { to { transform: rotate(360deg); } }

.pop { transition: transform .35s var(--ease-spring), box-shadow .25s var(--ease-out), background-color .2s, color .2s; }
.pop:hover, .pop:focus-visible { animation: cp-pop .55s var(--ease-out); }

.pop-burst { position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; }
.pop-burst > :not(.cp-burst) { position: relative; z-index: 1; }
.cp-burst {
	position: absolute; z-index: 0; inset: -55%; pointer-events: none;
	background:
		radial-gradient(circle, rgba(0, 0, 0, .14) 1.1px, transparent 1.5px) 0 0 / 6px 6px,
		var(--accent);
	clip-path: polygon(50% 0%, 59% 22%, 79% 7%, 75% 31%, 98% 28%, 82% 46%, 100% 61%, 77% 66%, 87% 89%, 64% 79%, 55% 100%, 45% 80%, 24% 94%, 29% 70%, 3% 74%, 19% 54%, 0% 38%, 24% 33%, 16% 9%, 39% 21%);
	transform: scale(0) rotate(-40deg); opacity: 0;
	transition: transform .3s var(--ease-out), opacity .2s;
}
.pop-burst:hover > .cp-burst, .pop-burst:focus-visible > .cp-burst { animation: cp-burst-in .5s var(--ease-out) forwards; }
.pop-burst:hover, .pop-burst:focus-visible { animation: cp-pop .6s var(--ease-out); }

/* 4. Loader & overlays ---------------------------------------------------- */
.cp-loader { display: none; }
html.cp-loading { overflow: hidden; }
html.cp-loading .cp-loader {
	position: fixed; inset: 0; z-index: 400; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
	background: var(--paint); color: var(--on-paint); --fg: var(--on-paint); --bun: var(--paint);
	clip-path: ellipse(160% 120% at 50% 0%);
	transition: clip-path 1.05s var(--ease-io);
}
html.cp-loading .cp-loader.is-done { clip-path: ellipse(160% 0% at 50% 0%); }
html.cp-loading .cp-loader.is-painted { transition: none; clip-path: none; opacity: 0; }
.cp-loader__stack { position: relative; display: grid; place-items: center; }
.cp-loader__burger { width: 132px; overflow: visible; }
.cp-loader__burger .ld { fill: var(--bun); stroke: var(--fg); stroke-width: 2.2; stroke-linejoin: round; transform-box: fill-box; transform-origin: center; opacity: 0; animation: cp-drop .7s var(--ease-spring) forwards; }
.cp-loader__burger .ld-bottom { animation-delay: .1s; }
.cp-loader__burger .ld-patty { animation-delay: .32s; fill: var(--fg); }
.cp-loader__burger .ld-cheese { animation-delay: .5s; fill: var(--accent); }
.cp-loader__burger .ld-lettuce { animation-delay: .66s; fill: none; stroke: var(--pulse); stroke-width: 3; stroke-linecap: round; }
.cp-loader__burger .ld-top { animation-delay: .84s; }
.cp-loader__burger .ld-seeds { animation: cp-seed .4s var(--ease-spring) 1.3s forwards; fill: var(--fg); stroke: none; }
.cp-loader.is-done .cp-loader__burger { animation: cp-jump .5s var(--ease-out); }
@keyframes cp-drop { 0% { opacity: 0; transform: translateY(-160px) scaleY(1.2); } 70% { opacity: 1; transform: translateY(4px) scaleY(.86); } 100% { opacity: 1; transform: none; } }
@keyframes cp-seed { 0% { opacity: 0; transform: scale(0); } 100% { opacity: 1; transform: none; } }
@keyframes cp-jump { 40% { transform: translateY(-26px) scale(1.06, .94); } 100% { transform: translateY(0); } }
.cp-loader__count { font-family: var(--font-display); position: absolute; right: -64px; bottom: -4px; font-weight: 700; font-size: 15px; font-variant-numeric: tabular-nums; }
.cp-loader__text { margin: 0; font-family: var(--font-accent); font-style: italic; color: var(--paint-dim); font-size: 17px; letter-spacing: .02em; }

.cp-ink {
	position: fixed; inset: 0; z-index: 250; pointer-events: none;
	background: var(--paint);
	clip-path: circle(0% at var(--x, 50%) var(--y, 50%));
	visibility: hidden;
}
.cp-ink.is-on { visibility: visible; pointer-events: all; transition: clip-path .62s var(--ease-io); clip-path: circle(150% at var(--x, 50%) var(--y, 50%)); }
html.cp-ink-in .cp-ink { visibility: visible; clip-path: circle(150% at var(--x, 50%) var(--y, 50%)); }
.cp-ink.is-out { visibility: visible; transition: clip-path .75s var(--ease-io); clip-path: circle(0% at var(--x, 50%) var(--y, 50%)) !important; }

.cp-outage { position: fixed; inset: 0; z-index: 300; pointer-events: none; opacity: 0; background: #000; }

.cp-drip.is-top { z-index: 260; }
.cp-drip { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 90; pointer-events: none; display: none; }
.cp-drip.is-active { display: block; }
.cp-drip-fallback {
	position: fixed; inset: 0; z-index: 90; pointer-events: none; background: var(--paint);
	transform: translateY(-115%); transition: transform .9s var(--ease-io);
}
.cp-drip-fallback::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 90px; background: radial-gradient(14px 46px at 10% 0, var(--paint) 98%, transparent) , radial-gradient(10px 70px at 33% 0, var(--paint) 98%, transparent), radial-gradient(16px 40px at 58% 0, var(--paint) 98%, transparent), radial-gradient(9px 84px at 81% 0, var(--paint) 98%, transparent); }
.cp-drip-fallback.is-open { transform: none; }

/* 5. Header, burger, lamp, account --------------------------------------- */
.cp-header {
	position: sticky; top: 0; z-index: 100;
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	padding: 14px var(--gutter);
	background: color-mix(in srgb, var(--bg) 82%, transparent);
	-webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
	transition: transform .5s var(--ease-out), background-color .4s, box-shadow .4s;
}
.cp-header.is-scrolled { box-shadow: 0 1px 0 var(--line-soft); }
.cp-header.is-hidden { transform: translateY(-110%); }
body.menu-anim .cp-header { background: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; transform: none; }
body.menu-open .cp-header { background: transparent; box-shadow: none; color: var(--on-paint); -webkit-backdrop-filter: none; backdrop-filter: none; transform: none; }
body.menu-open { overflow: hidden; }
.cp-header__left, .cp-header__right { display: flex; align-items: center; gap: clamp(12px, 2vw, 22px); }

/* burger */
.cp-burger { position: relative; width: 40px; height: 38px; display: grid; place-items: center; }
.cp-burger__icon { display: block; width: 32px; transition: opacity .3s, transform .45s var(--ease-spring); }
.cp-burger-svg { width: 32px; overflow: visible; }
.cp-burger-svg g { transform-box: fill-box; transform-origin: 50% 50%; transition: transform .5s var(--ease-spring); }
.cp-burger-svg path, .cp-burger-svg rect { fill: var(--bun); stroke: currentColor; stroke-width: 1.35; stroke-linejoin: round; transition: fill .4s; }
.cp-burger-svg .b-lettuce path { fill: none; stroke-linecap: round; }
.cp-burger-svg .seed { fill: currentColor; stroke: none; }
.cp-burger:hover .cp-burger__icon, .cp-burger:focus-visible .cp-burger__icon { animation: cp-burger-jump .55s var(--ease-out); }
.cp-burger:hover .b-top, .cp-burger:focus-visible .b-top { transform: translate(-1.5px, -8px) rotate(-14deg); }
.cp-burger:hover .b-lettuce, .cp-burger:focus-visible .b-lettuce { transform: translate(-3px, -2.5px) rotate(5deg); }
.cp-burger:hover .b-patty, .cp-burger:focus-visible .b-patty { transform: translate(2px, 1px) scale(1.1, .9) rotate(-3deg); }
.cp-burger:hover .b-bottom, .cp-burger:focus-visible .b-bottom { transform: translate(1.5px, 7px) rotate(10deg); }
.cp-burger:hover .cp-burger-svg path:not(.b-lettuce path), .cp-burger:hover rect { fill: var(--accent); }
.cp-burger.is-custom:hover .cp-burger__icon { animation: cp-pop .6s var(--ease-out); }
@keyframes cp-burger-jump { 0% { transform: translateY(0); } 30% { transform: translateY(-7px) scale(1.06, .94); } 60% { transform: translateY(1px) scale(.97, 1.04); } 100% { transform: translateY(0); } }
.cp-crumb { position: fixed; z-index: 120; width: 6px; height: 3px; border-radius: 3px; background: var(--fg); pointer-events: none; }
.cp-crumb.is-acc { background: var(--accent); width: 5px; height: 5px; }
.cp-crumb.is-green { background: var(--pulse); }

.cp-burger__x { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.cp-burger__x i { position: absolute; width: 26px; height: 2px; border-radius: 2px; background: currentColor; transform: scaleX(0) rotate(45deg); transition: transform .45s var(--ease-spring); }
.cp-burger__x i:last-child { transform: scaleX(0) rotate(-45deg); }
body.menu-open .cp-burger__icon { opacity: 0; transform: scale(.4) rotate(-30deg); }
body.menu-open .cp-burger__x i { transform: scaleX(1) rotate(45deg); transition-delay: .35s; }
body.menu-open .cp-burger__x i:last-child { transform: scaleX(1) rotate(-45deg); transition-delay: .42s; }

/* logo */
.cp-logo { height: 40px; padding: 0 2px; }
.cp-logo__text { font-size: clamp(27px, 3.2vw, 35px); font-weight: 400; font-family: var(--font-accent); font-style: italic; letter-spacing: -.01em; line-height: 1; white-space: nowrap; }
.cp-logo__text b { font-family: var(--font-display); font-weight: 800; font-style: normal; margin-right: .02em; letter-spacing: -.04em; }
.cp-logo__text .ch { display: inline-block; transform-origin: 50% 100%; }
.cp-logo:hover .ch, .cp-logo:focus-visible .ch { animation: cp-letter .62s var(--ease-out) both; animation-delay: calc(var(--i) * 32ms); }
.cp-logo.pop-burst:hover, .cp-logo.pop-burst:focus-visible { animation: none; }
@keyframes cp-letter { 0% { transform: none; } 28% { transform: translateY(-9px) scale(.9, 1.18) rotate(-6deg); } 52% { transform: translateY(1px) scale(1.14, .86); } 74% { transform: translateY(-2px) scale(.97, 1.04); } 100% { transform: none; } }
.cp-logo__img { height: 38px; width: auto; }
.cp-logo__img.is-dark { display: none; }
html[data-theme="dark"] .cp-logo__img.is-light { display: none; }
html[data-theme="dark"] .cp-logo__img.is-dark { display: block; }
.cp-logo__img.is-invert { filter: invert(1) hue-rotate(180deg); }
body.menu-open .cp-logo { opacity: 0; pointer-events: none; transition: opacity .3s; }

/* lamp — hanging filament bulb, --glow 0..1 drives everything */
.cp-lamp { --glow: 1; width: 34px; height: 40px; margin-top: -10px; display: grid; place-items: start center; }
html[data-theme="dark"] .cp-lamp { --glow: 0; }
.cp-lamp-svg { width: 26px; overflow: visible; transform-origin: 50% 0; transition: rotate .6s var(--ease-spring); filter: drop-shadow(0 2px calc(var(--glow) * 9px) rgba(255, 184, 64, calc(var(--glow) * .85))); }
.cp-lamp-svg * { stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; fill: none; }
.cp-lamp-svg .l-socket { fill: currentColor; }
.cp-lamp-svg .l-thread { stroke: var(--bg); stroke-width: .9; }
.cp-lamp-svg .l-glass { fill: #FFD452; fill-opacity: calc(var(--glow) * .95); }
.cp-lamp-svg .l-filament { stroke: color-mix(in srgb, #FF8A1F calc(var(--glow) * 100%), currentColor); stroke-width: calc(1.1px + var(--glow) * .5px); }
.cp-lamp-svg .l-rays path { stroke: #F2A516; opacity: 0; transition: opacity .3s; }
.cp-lamp:hover .cp-lamp-svg { rotate: -7deg; }
.cp-lamp:hover .l-rays path { opacity: calc(var(--glow) * 1); }
.cp-lamp.is-swing .cp-lamp-svg { animation: cp-swing 1.6s cubic-bezier(.25, .7, .35, 1); }
@keyframes cp-swing { 0% { transform: rotate(0); } 10% { transform: rotate(18deg); } 26% { transform: rotate(-13deg); } 42% { transform: rotate(8deg); } 58% { transform: rotate(-5deg); } 74% { transform: rotate(2.5deg); } 88% { transform: rotate(-1deg); } 100% { transform: rotate(0); } }
.cp-lamp__img { display: grid; opacity: calc(.25 + var(--glow) * .75); }
.cp-lamp__img.is-off { display: none; }
html[data-theme="dark"] .cp-lamp__img.is-on { display: none; }
html[data-theme="dark"] .cp-lamp__img.is-off { display: grid; opacity: 1; }
.cp-icon-img { width: 28px; height: 28px; object-fit: contain; }

/* account */
.cp-account { width: 34px; height: 34px; }
.cp-account-svg { width: 25px; fill: currentColor; }
.cp-account__dot { position: absolute; z-index: 2; right: 2px; bottom: 4px; width: 9px; height: 9px; border-radius: 50%; background: var(--pulse); box-shadow: 0 0 0 2px var(--bg); }

/* 6. Fullscreen menu ------------------------------------------------------ */
.cp-menu { position: fixed; inset: 0; z-index: 95; color: var(--on-paint); display: flex; align-items: center; overflow-y: auto; padding: 110px var(--gutter) 48px; }
.cp-menu[hidden] { display: none; }
.cp-menu__inner { width: 100%; margin: auto; display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: end; }
.cp-menu__list { list-style: none; margin: 0; padding: 0; }
.cp-menu__list li { overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; }
.cp-menu__list a {
	display: inline-flex; align-items: baseline; gap: .3em; position: relative;
	font-family: var(--font-display); font-weight: 700; font-size: clamp(46px, 8.6vw, 116px); line-height: 1.02; letter-spacing: -.045em;
	transition: color .25s, letter-spacing .4s var(--ease-out);
}
.cp-menu__label { display: inline-block; transform: translateY(110%) rotate(4deg); transform-origin: left bottom; transition: transform .9s var(--ease-out); transition-delay: calc(var(--i, 0) * 70ms + 380ms); }
.cp-menu.is-open .cp-menu__label { transform: none; }
.cp-menu.is-closing .cp-menu__label { transform: translateY(-110%); transition-duration: .45s; transition-delay: calc(var(--i, 0) * 30ms); transition-timing-function: var(--ease-io); }
.cp-menu__list a { transition: color .3s, opacity .4s, letter-spacing .5s var(--ease-out), translate .6s var(--ease-out); }
.cp-menu__list:hover a { opacity: .22; }
.cp-menu__list a:hover, .cp-menu__list a:focus-visible { opacity: 1; translate: 18px 0; font-weight: 400; font-family: var(--font-accent); font-style: italic; letter-spacing: -.03em; }
html[data-theme="dark"] .cp-menu__list a:hover { color: var(--on-paint); }
.cp-menu__list a:hover { color: var(--accent); }
.cp-menu__list a::before { content: "→"; font-weight: 300; font-size: .5em; width: 0; overflow: hidden; display: inline-block; transition: width .45s var(--ease-out); }
.cp-menu__list a:hover::before { width: 1.2em; }
.cp-menu__list .current-menu-item > a { color: var(--accent); }
.cp-menu__side { opacity: 0; transform: translateY(24px); transition: opacity .6s, transform .8s var(--ease-out); transition-delay: .7s; font-size: 15px; }
.cp-menu.is-open .cp-menu__side { opacity: 1; transform: none; }
.cp-menu.is-closing .cp-menu__side { opacity: 0; transition-delay: 0s; transition-duration: .2s; }
.cp-menu__tagline { font-family: var(--font-accent); font-style: italic; font-size: 18px; color: var(--paint-dim); margin: 0 0 24px; }
.cp-menu__social { list-style: none; padding: 0; margin: 0 0 24px; display: flex; flex-wrap: wrap; gap: 10px; }
.cp-menu__social a, .cp-menu__auth a { display: inline-block; border: 1px solid var(--paint-dim); border-radius: 99px; padding: 5px 14px; font-size: 16px; font-family: var(--font-accent); font-style: italic; transition: background .2s, color .2s, transform .35s var(--ease-spring); }
.cp-menu__social a:hover, .cp-menu__auth a:hover { background: var(--accent); color: #111; border-color: var(--accent); transform: rotate(-3deg) scale(1.06); }
.cp-menu__auth { color: var(--paint-dim); margin: 0; }

/* 7. Categories ----------------------------------------------------------- */
.cp-cats { position: relative; display: flex; flex-wrap: wrap; gap: 6px; margin: 18px 0 22px; isolation: isolate; }
.cp-cats__blob { position: absolute; z-index: -1; left: 0; top: 0; height: 24px; width: 0; border-radius: 6px; background: var(--fg); transition: transform .55s var(--ease-spring), width .45s var(--ease-spring), height .3s; opacity: 0; }
.cp-cats.is-ready .cp-cats__blob { opacity: 1; }
.cp-pill {
	display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 18px;
	border: 1px solid var(--line); border-radius: 6px;
	font-family: var(--font-accent); font-style: italic; font-weight: 400; font-size: 16px; line-height: 1;
	color: var(--fg); background: transparent; white-space: nowrap;
}
.cp-pill svg { width: 13px; height: 13px; fill: currentColor; }
.cp-pill.is-active { background: var(--fg); color: var(--bg); border-color: var(--fg); min-width: 66px; justify-content: center; }
.cp-cats.is-ready .cp-pill.is-active { background: transparent; }
.cp-pill:hover, .cp-pill:focus-visible { box-shadow: 3px 3px 0 var(--fg); }
.cp-pill.is-active:hover { box-shadow: 3px 3px 0 var(--accent); }

/* 8. Grid & cards --------------------------------------------------------- */
.cp-feed { --cols: 5; position: relative; }
@media (max-width: 1800px) { .cp-feed { --cols: 4; } }
@media (max-width: 1320px) { .cp-feed { --cols: 3; } }
.cp-feed__title { font-family: var(--font-display); font-weight: 700; font-size: 22px; margin: 96px 0 18px; letter-spacing: -.01em; }
.cp-grid__src { columns: var(--cols); column-gap: var(--gap); }
.cp-grid__src > .cp-card { break-inside: avoid; margin-bottom: calc(var(--gap) * .85); }
.cp-grid.is-masonry { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: var(--gap); align-items: start; }
.cp-grid.is-masonry .cp-grid__src { display: none; }
.cp-col { display: flex; flex-direction: column; gap: calc(var(--gap) * .85); min-width: 0; }

.cp-card {
	position: relative; border: 1px solid var(--line); border-radius: var(--radius);
	background: var(--card); overflow: hidden; isolation: isolate;
	transition: transform .45s var(--ease-spring), box-shadow .3s var(--ease-out), border-color .3s;
	will-change: transform;
}
.cp-card__media { margin: 0; aspect-ratio: 1 / var(--ratio, 1.5); background: var(--soft); overflow: hidden; }
.cp-card__img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.001); transition: transform 1.1s var(--ease-out), opacity .6s; opacity: 0; }
.cp-card__img.is-loaded, .cp-card__img[data-ok] { opacity: 1; }
.cp-card__placeholder { display: grid; place-items: center; height: 100%; font-family: var(--font-accent); font-style: italic; color: var(--muted); padding: 20px; text-align: center; }
.cp-card__link { display: block; color: inherit; }
.cp-card__meta {
	position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
	display: flex; justify-content: space-between; align-items: end; gap: 10px;
	padding: 34px 14px 12px; color: #fff;
	background: linear-gradient(transparent, rgba(0, 0, 0, .62));
	opacity: 0; transform: translateY(12px); transition: opacity .35s, transform .5s var(--ease-out);
}
.cp-card__title { font-family: var(--font-display); font-weight: 700; font-size: 15px; line-height: 1.2; }
.cp-card__type { font-family: var(--font-accent); font-style: italic; font-size: 14px; opacity: .85; white-space: nowrap; }

.cp-card:hover, .cp-card:focus-within { border-color: color-mix(in srgb, var(--fg) 55%, transparent); transform: translateY(-4px) scale(1.018); box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .35), 0 2px 6px -2px rgba(0, 0, 0, .12); z-index: 3; }
.cp-card:active { transform: translateY(-1px) scale(.985); transition-duration: .15s; }
.cp-card:hover .cp-card__img { transform: scale(1.035); }
.cp-card:hover .cp-card__meta, .cp-card:focus-within .cp-card__meta { opacity: 1; transform: none; }

.cp-card__actions { position: absolute; top: 8px; right: 8px; z-index: 4; display: flex; flex-direction: column; gap: 4px; }
.cp-act {
	width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%;
	color: var(--fg); background: color-mix(in srgb, var(--card) 78%, transparent);
	-webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
	opacity: 0; transform: translateX(10px) scale(.7);
	transition: opacity .25s, transform .45s var(--ease-spring), background .2s;
}
.cp-act:nth-child(2) { transition-delay: .04s; }
.cp-act svg { width: 19px; height: 19px; }
.cp-heart-svg path { fill: transparent; stroke: currentColor; stroke-width: 1.6; transition: fill .25s, stroke .25s; }
.cp-bolt-svg path { fill: currentColor; stroke: currentColor; stroke-width: .6; stroke-linejoin: round; transition: fill .25s; }
.cp-card:hover .cp-act, .cp-card:focus-within .cp-act, .cp-act[aria-pressed="true"] { opacity: 1; transform: none; }
.cp-act:hover { background: var(--card); transform: scale(1.15) rotate(-6deg) !important; }
.cp-act[aria-pressed="true"].cp-like .cp-heart-svg path { fill: var(--heart); stroke: var(--heart); }
.cp-act[aria-pressed="true"].cp-boost { background: var(--accent); color: #111; }
.cp-act.is-bump { animation: cp-pop .5s var(--ease-out); }

/* live dot on cards */
.cp-dot { position: absolute; top: 12px; left: 12px; z-index: 4; width: 9px; height: 9px; border-radius: 50%; background: var(--pulse); box-shadow: 0 0 0 2px var(--card); }
.cp-dot.is-available::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--pulse); animation: cp-pulse 1.8s var(--ease-out) infinite; }
.cp-dot.is-reserved { background: var(--reserved); }
.cp-dot.is-sold { background: var(--sold); }
@keyframes cp-pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(3.2); opacity: 0; } }

/* enter / leave */
.cp-card.is-entering { opacity: 0; transform: translateY(16px) scale(.94); }
.cp-card.is-entered { opacity: 1; transform: none; transition: opacity .45s var(--ease-out), transform .7s var(--ease-spring); transition-delay: calc(var(--d, 0) * 1ms); }
.cp-card.is-leaving { opacity: 0; transform: scale(.94); transition: opacity .22s, transform .3s var(--ease-io); transition-delay: calc(var(--d, 0) * 1ms); }

.cp-feed__sentinel { height: 80px; display: grid; place-items: center; }
.cp-feed[data-more="0"] .cp-mini-burger { display: none; }
.cp-mini-burger { display: none; gap: 3px; flex-direction: column; width: 22px; }
.cp-feed.is-loading .cp-mini-burger { display: flex; }
.cp-mini-burger i { height: 4px; border-radius: 4px; background: var(--fg); animation: cp-stack .9s var(--ease-spring) infinite alternate; }
.cp-mini-burger i:nth-child(1) { border-radius: 8px 8px 2px 2px; height: 6px; }
.cp-mini-burger i:nth-child(2) { background: var(--accent); animation-delay: .1s; }
.cp-mini-burger i:nth-child(3) { animation-delay: .2s; }
@keyframes cp-stack { to { transform: translateY(-5px) scaleX(1.15); } }
.cp-feed__end { text-align: center; font-family: var(--font-accent); font-style: italic; color: var(--muted); font-size: 13px; margin: 10px 0 0; }
.cp-feed__empty { text-align: center; font-family: var(--font-accent); font-style: italic; color: var(--muted); padding: 60px 0; margin: 0; }

/* 9. Single ---------------------------------------------------------------- */
.cp-single { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(28px, 5vw, 56px); align-items: start; }
.cp-single.is-wide { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1.65fr); }
.cp-single__media { position: sticky; top: 86px; }
.cp-single__media .cp-card { cursor: zoom-in; }
.cp-single__media .cp-act { opacity: 1; transform: none; }
.cp-single__info { padding-top: 2px; max-width: 640px; }
.cp-single__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 3.3vw, 34px); line-height: 1.08; letter-spacing: -.015em; margin: 0 0 14px; }
.cp-panel-box { background: var(--soft); border-radius: var(--radius); padding: 16px 20px 18px; min-height: 220px; transition: background .5s; }
.cp-specs { margin: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
.cp-specs__row { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; border-bottom: 1px dashed var(--line-soft); font-size: 14px; }
.cp-specs dt { color: var(--muted); font-family: var(--font-accent); font-style: italic; }
.cp-specs dd { margin: 0; font-weight: 500; text-align: right; }
.cp-btn--live { margin-top: 32px; }
.cp-status { display: flex; align-items: center; gap: 10px; margin: 34px 0 30px; font-size: 16px; }
.cp-status strong { font-family: var(--font-display); font-weight: 700; }
.cp-status__label { font-family: var(--font-accent); font-style: italic; font-weight: 400; font-size: 17px; color: var(--pulse); transition: color .3s; }
.cp-status__label.is-reserved { color: var(--reserved); }
.cp-status__label.is-sold { color: var(--sold); text-decoration: line-through; }
.cp-status__live { font-size: 10px; font-weight: 500; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); border: 1px solid var(--line-soft); padding: 1px 6px; border-radius: 4px; }
.cp-status.is-changed { animation: cp-pop .6s var(--ease-out); }
.cp-pulse { position: relative; width: 10px; height: 10px; }
.cp-pulse i, .cp-pulse::before, .cp-pulse::after { position: absolute; inset: 0; border-radius: 50%; background: var(--pulse); content: ""; }
.cp-pulse::before { animation: cp-pulse 1.8s var(--ease-out) infinite; }
.cp-pulse::after { animation: cp-pulse 1.8s var(--ease-out) .6s infinite; }
.cp-pulse.is-reserved i, .cp-pulse.is-reserved::before, .cp-pulse.is-reserved::after { background: var(--reserved); }
.cp-pulse.is-sold i { background: var(--sold); }
.cp-pulse.is-sold::before, .cp-pulse.is-sold::after { display: none; }
.cp-offer-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.cp-offer-actions .cp-btn { min-width: 186px; }
.cp-offer-actions[data-sold] .cp-btn { opacity: .4; pointer-events: none; }
.cp-single__counts { display: flex; gap: 18px; margin: 26px 0 0; color: var(--muted); font-size: 13px; }
.cp-single__counts span { display: inline-flex; align-items: center; gap: 6px; }
.cp-single__counts svg { width: 15px; }
.cp-single__counts .cp-heart-svg path { fill: var(--heart); stroke: var(--heart); }

/* lightbox */
.cp-lightbox { position: fixed; inset: 0; z-index: 180; display: grid; place-items: center; background: rgba(8, 8, 8, .88); opacity: 0; transition: opacity .35s; cursor: zoom-out; padding: 4vh 4vw; }
.cp-lightbox.is-open { opacity: 1; }
.cp-lightbox img { max-height: 92vh; width: auto; border-radius: 10px; transform-origin: top left; box-shadow: 0 30px 80px rgba(0, 0, 0, .5); }

/* 10. Forms & buttons ------------------------------------------------------ */
.cp-btn {
	position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; overflow: hidden; isolation: isolate;
	height: 32px; padding: 0 22px; border: 1px solid var(--line); border-radius: 6px;
	font-family: var(--font-accent); font-style: italic; font-weight: 400; font-size: 16px; color: var(--fg); background: transparent; white-space: nowrap;
	transition: color .3s, border-color .3s, box-shadow .3s, transform .4s var(--ease-spring);
}
.cp-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--fg); transform: translateY(101%); border-radius: inherit; transition: transform .45s var(--ease-out); }
.cp-btn:hover, .cp-btn:focus-visible { color: var(--bg); border-color: var(--fg); box-shadow: 4px 4px 0 var(--accent); }
.cp-btn:hover::before, .cp-btn:focus-visible::before { transform: none; }
.cp-btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--accent); }
.cp-btn--wide { width: 100%; }
.cp-btn--solid { background: var(--fg); color: var(--bg); border-color: var(--fg); height: 44px; font-size: 15px; }
.cp-btn--solid::before { background: var(--accent); }
.cp-btn--solid:hover, .cp-btn--solid:focus-visible { color: #111; box-shadow: 4px 4px 0 var(--fg); }
.cp-btn__arrow { width: 16px; display: inline-grid; transition: transform .45s var(--ease-spring); }
.cp-btn__arrow svg { width: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cp-btn:hover .cp-btn__arrow { transform: translateX(5px) rotate(-30deg); }
.cp-btn.is-busy { pointer-events: none; opacity: .7; }
.cp-btn.is-busy::after { content: ""; width: 14px; height: 14px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: cp-spin-slow .7s linear infinite; }

.cp-form { display: grid; gap: 16px; }
.cp-input { display: grid; gap: 6px; }
.cp-input__label { font-family: var(--font-accent); font-style: italic; font-size: 15px; color: var(--muted); }
.cp-input input, .cp-input textarea, .cp-input select {
	width: 100%; font: inherit; font-weight: 400; color: var(--fg); background: var(--card);
	border: 1px solid var(--line); border-radius: var(--radius); padding: 11px 14px; outline: none;
	transition: border-color .2s, box-shadow .3s var(--ease-out), transform .3s var(--ease-spring);
}
.cp-input textarea { resize: vertical; min-height: 64px; }
.cp-input input:focus, .cp-input textarea:focus { border-color: var(--fg); box-shadow: 4px 4px 0 var(--accent); transform: translate(-1px, -1px); }
.cp-input input:disabled { opacity: .55; }
.cp-input__wrap { display: flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); transition: border-color .2s, box-shadow .3s; }
.cp-input__wrap:focus-within { border-color: var(--fg); box-shadow: 4px 4px 0 var(--accent); }
.cp-input__wrap em { padding-left: 14px; font-style: normal; font-weight: 700; }
.cp-input__wrap input { border: 0; box-shadow: none !important; transform: none !important; font-size: 22px; font-weight: 700; padding: 10px 14px 10px 8px; background: transparent; }
input[type="number"] { -moz-appearance: textfield; appearance: textfield; }
input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.cp-input__hint { font-size: 12px; color: var(--muted); font-family: var(--font-accent); font-style: italic; }
.cp-form__error { margin: 0; min-height: 0; color: var(--heart); font-size: 13px; font-family: var(--font-accent); font-style: italic; }
.cp-form__error:empty { display: none; }
.cp-form.is-shake { animation: cp-shake .45s var(--ease-out); }
@keyframes cp-shake { 20% { transform: translateX(-8px) rotate(-1deg); } 40% { transform: translateX(7px) rotate(1deg); } 60% { transform: translateX(-4px); } 80% { transform: translateX(3px); } }
.cp-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.cp-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.cp-chip { border: 1px solid var(--line); border-radius: 99px; padding: 4px 12px; font-size: 13px; font-family: var(--font-accent); font-style: italic; }
.cp-chip:hover, .cp-chip.is-on { background: var(--accent); color: #111; border-color: #111; box-shadow: 2px 2px 0 #111; }

.cp-radio-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.cp-radio-cards label { cursor: pointer; }
.cp-radio-cards input { position: absolute; opacity: 0; }
.cp-radio-cards span { display: grid; gap: 2px; border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 14px; transition: all .3s var(--ease-spring); }
.cp-radio-cards small { color: var(--muted); font-family: var(--font-accent); font-style: italic; font-size: 12px; }
.cp-radio-cards input:checked + span { border-color: var(--fg); box-shadow: 4px 4px 0 var(--fg); transform: translate(-2px, -2px); background: color-mix(in srgb, var(--accent) 18%, var(--card)); }
.cp-radio-cards input:focus-visible + span { outline: 2px solid var(--fg); outline-offset: 2px; }

/* 11. Modal --------------------------------------------------------------- */
.cp-modal { border: 0; padding: 0; background: transparent; color: var(--fg); max-width: min(520px, calc(100vw - 24px)); width: 100%; overflow: visible; }
.cp-modal::backdrop { background: rgba(10, 10, 10, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.cp-modal[open] .cp-modal__card { animation: cp-modal-in .6s var(--ease-spring); }
.cp-modal.is-closing .cp-modal__card { animation: cp-modal-out .28s var(--ease-io) forwards; }
@keyframes cp-modal-in { 0% { opacity: 0; transform: translateY(40px) scale(.7) rotate(-5deg); } 100% { opacity: 1; transform: none; } }
@keyframes cp-modal-out { to { opacity: 0; transform: translateY(20px) scale(.85) rotate(3deg); } }
.cp-modal__card { position: relative; background: var(--card); border: 1.5px solid var(--fg); border-radius: 16px; box-shadow: 8px 8px 0 var(--fg); max-height: calc(100vh - 40px); overflow: auto; }
.cp-modal__body { padding: 28px clamp(20px, 4vw, 32px) 30px; }
.cp-modal__title { font-family: var(--font-display); font-weight: 700; font-size: 26px; margin: 0 0 16px; letter-spacing: -.01em; }
.cp-modal__close { position: absolute; top: 14px; right: 14px; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 50%; transition: transform .4s var(--ease-spring), background .2s; z-index: 2; }
.cp-modal__close svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; }
.cp-modal__close:hover { transform: rotate(90deg) scale(1.1); background: var(--soft); }
.cp-modal [data-when] { display: none; }
.cp-modal[data-kind="bid"] [data-when="bid"], .cp-modal[data-kind="trade"] [data-when="trade"] { display: revert; }
.cp-modal__success { padding: 40px 28px 34px; text-align: center; display: grid; justify-items: center; gap: 12px; }
.cp-modal__success[hidden] { display: none; }

.cp-seg { justify-self: start; position: relative; display: inline-grid; grid-auto-flow: column; border: 1px solid var(--line); border-radius: 99px; padding: 3px; margin-bottom: 18px; isolation: isolate; }
.cp-seg__btn { position: relative; z-index: 1; padding: 6px 22px; border-radius: 99px; font-family: var(--font-accent); font-style: italic; font-size: 16px; transition: color .3s; }
.cp-seg__btn.is-on { color: var(--bg); }
.cp-seg__blob { position: absolute; z-index: 0; top: 3px; bottom: 3px; left: 3px; border-radius: 99px; background: var(--fg); transition: transform .5s var(--ease-spring), width .4s var(--ease-spring); }

.cp-pow { position: relative; width: 150px; height: 120px; display: grid; place-items: center; animation: cp-pop .7s var(--ease-out); }
.cp-pow::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle, rgba(0, 0, 0, .15) 1.2px, transparent 1.6px) 0 0 / 7px 7px, var(--accent); clip-path: polygon(50% 0%, 59% 22%, 79% 7%, 75% 31%, 98% 28%, 82% 46%, 100% 61%, 77% 66%, 87% 89%, 64% 79%, 55% 100%, 45% 80%, 24% 94%, 29% 70%, 3% 74%, 19% 54%, 0% 38%, 24% 33%, 16% 9%, 39% 21%); animation: cp-burst-in .6s var(--ease-spring); }
.cp-pow span { position: relative; font-family: var(--font-display); font-weight: 800; font-style: normal; font-size: 30px; color: #111; letter-spacing: -.02em; transform: rotate(-8deg); text-shadow: 2px 2px 0 #fff; }

/* 12. Auth ---------------------------------------------------------------- */
.cp-auth { display: grid; grid-template-columns: minmax(0, 470px) 1fr; gap: 48px; align-items: center; min-height: calc(100vh - 220px); padding: 24px 0; }
.cp-auth__card { position: relative; border: 1.5px solid var(--fg); border-radius: 18px; padding: clamp(24px, 4vw, 40px); background: var(--card); box-shadow: 10px 10px 0 var(--fg); overflow: hidden; }
.cp-auth__steps { display: flex; gap: 6px; margin-bottom: 24px; }
.cp-auth__steps i { height: 4px; width: 26px; border-radius: 4px; background: var(--line-soft); transition: background .4s, width .5s var(--ease-spring); }
.cp-auth__steps i.is-on { background: var(--fg); width: 44px; }
.cp-auth__step { display: none; }
.cp-auth__step.is-active { display: grid; gap: 16px; animation: cp-step-in .6s var(--ease-out); }
@keyframes cp-step-in { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: none; } }
.cp-auth__step .cp-muted { margin: -6px 0 6px; }
.cp-auth__done { text-align: center; justify-items: center; }
.cp-auth__alt { margin: 0; text-align: center; color: var(--muted); font-size: 13px; }
.cp-auth__foot { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid var(--line-soft); font-size: 13px; color: var(--muted); text-align: center; }
.cp-auth__foot a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; font-family: var(--font-accent); font-style: italic; }
.cp-auth__art { display: grid; place-items: center; min-height: 360px; }
.cp-auth__bubble { font-family: var(--font-display); font-weight: 800; font-style: normal; font-size: clamp(42px, 6vw, 82px); letter-spacing: -.04em; padding: 30px; transform: rotate(-6deg); animation: cp-float 5s ease-in-out infinite; }
.cp-auth__bubble .cp-burst { inset: -10%; transform: none; opacity: 1; animation: cp-spin-slow 40s linear infinite; }
.cp-auth__bubble > :not(.cp-burst) { color: #111; }
@keyframes cp-float { 50% { transform: rotate(-3deg) translateY(-12px); } }
.cp-code { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.cp-code input { width: 100%; height: 60px; text-align: center; font: 700 26px var(--font-display); color: var(--fg); background: var(--card); border: 1px solid var(--line); border-radius: 10px; outline: none; transition: border-color .2s, box-shadow .3s, transform .35s var(--ease-spring); }
.cp-code input:focus { border-color: var(--fg); box-shadow: 3px 3px 0 var(--accent); transform: translateY(-2px); }
.cp-code input.is-filled { animation: cp-pop .45s var(--ease-out); border-color: var(--fg); }
.cp-code.is-wrong input { border-color: var(--heart); animation: cp-shake .45s; }
.cp-code.is-ok input { background: var(--pulse); color: #111; border-color: #111; }

/* 13. Account ------------------------------------------------------------- */
.cp-profile { display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center; padding: 26px 0 8px; }
.cp-avatar { width: 84px; height: 84px; border-radius: 50%; }
.cp-avatar b { font-family: var(--font-display); display: grid; place-items: center; width: 84px; height: 84px; border-radius: 50%; background: var(--fg); color: var(--bg); font-size: 34px; font-weight: 700; }
.cp-profile__who .cp-h1 { margin-bottom: 2px; }
.cp-profile__who .cp-muted { margin: 0; font-size: 14px; }
.cp-stats { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; }
.cp-stats li { display: grid; text-align: center; border: 1px solid var(--line); border-radius: 12px; padding: 10px 16px; min-width: 88px; transition: transform .4s var(--ease-spring), box-shadow .3s; }
.cp-stats li:hover { transform: translate(-2px, -2px) rotate(-2deg); box-shadow: 4px 4px 0 var(--fg); }
.cp-stats b { font-family: var(--font-display); font-size: 24px; font-weight: 700; line-height: 1.1; }
.cp-stats span { font-size: 12px; font-family: var(--font-accent); font-style: italic; color: var(--muted); }
.cp-tabpanel[hidden] { display: none; }
.cp-tabpanel.is-active { animation: cp-step-in .5s var(--ease-out); }
.cp-offers { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cp-offer { display: grid; grid-template-columns: 64px 1fr auto; gap: 16px; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 10px 16px 10px 10px; transition: transform .4s var(--ease-spring), box-shadow .3s; }
.cp-offer:hover { transform: translate(-2px, -2px); box-shadow: 5px 5px 0 var(--fg); }
.cp-offer__thumb img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; }
.cp-offer__title { font-family: var(--font-display); font-weight: 700; }
.cp-offer .cp-muted { margin: 2px 0 0; font-size: 13px; }
.cp-tag { font-size: 12px; font-family: var(--font-accent); font-style: italic; border-radius: 99px; padding: 3px 12px; border: 1px solid var(--line); white-space: nowrap; }
.cp-tag.is-new { background: var(--accent); color: #111; border-color: #111; }
.cp-tag.is-accepted { background: var(--pulse); color: #111; border-color: #111; }
.cp-tag.is-declined { color: var(--muted); text-decoration: line-through; }
.cp-profile-form { max-width: 480px; }

/* 14. Contact & FAQ -------------------------------------------------------- */
.cp-contact { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 80px); padding: 40px 0; align-items: start; }
.cp-contact .cp-panel-box { padding: 26px; min-height: 0; }
.cp-faq { max-width: 860px; padding: 40px 0; }
.cp-faq__list { border-top: 1px solid var(--line); margin-top: 30px; }
.cp-faq__item { border-bottom: 1px solid var(--line); }
.cp-faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 20px; cursor: pointer; list-style: none; padding: 22px 4px; font-family: var(--font-display); font-weight: 500; font-size: clamp(17px, 2vw, 21px); transition: padding .4s var(--ease-out); }
.cp-faq__item summary::-webkit-details-marker { display: none; }
.cp-faq__item summary:hover { padding-left: 14px; }
.cp-faq__item summary i { position: relative; flex: none; width: 32px; height: 32px; border: 1px solid var(--line); border-radius: 50%; transition: transform .5s var(--ease-spring), background .2s; }
.cp-faq__item summary i::before, .cp-faq__item summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: currentColor; transform: translate(-50%, -50%); }
.cp-faq__item summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .4s var(--ease-spring); }
.cp-faq__item[open] summary i { transform: rotate(180deg); background: var(--accent); color: #111; border-color: #111; }
.cp-faq__item[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
.cp-faq__a { padding: 0 4px 24px; color: var(--muted); max-width: 680px; animation: cp-step-in .45s var(--ease-out); }
.cp-faq__more { margin-top: 40px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; font-family: var(--font-accent); font-style: italic; }

/* 15. Misc ---------------------------------------------------------------- */
.cp-page { max-width: 760px; padding: 40px 0; }
.cp-404 { text-align: center; padding: 80px 0; display: grid; justify-items: center; gap: 16px; }
.cp-404__big { font-family: var(--font-display); font-size: clamp(90px, 18vw, 200px); font-weight: 700; letter-spacing: -.06em; margin: 0; line-height: 1; padding: 20px 40px; }
.cp-footer { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px var(--gutter); border-top: 1px solid var(--line-soft); font-size: 13px; font-family: var(--font-accent); font-style: italic; color: var(--muted); }
.cp-footer nav { display: flex; gap: 16px; }
.cp-footer a:hover { color: var(--fg); }

.cp-toasts { position: fixed; z-index: 500; left: 50%; bottom: 24px; transform: translateX(-50%); display: grid; gap: 8px; justify-items: center; pointer-events: none; width: max-content; max-width: calc(100vw - 24px); }
.cp-toast { pointer-events: auto; display: flex; align-items: center; gap: 12px; background: var(--fg); color: var(--bg); padding: 10px 12px 10px 18px; border-radius: 99px; box-shadow: 4px 4px 0 var(--accent); font-size: 14px; font-family: var(--font-accent); font-style: italic; animation: cp-toast-in .55s var(--ease-spring); }
.cp-toast a { background: var(--accent); color: #111; padding: 4px 12px; border-radius: 99px; font-style: normal; font-weight: 500; }
.cp-toast.is-out { animation: cp-toast-out .3s var(--ease-io) forwards; }
@keyframes cp-toast-in { from { opacity: 0; transform: translateY(30px) scale(.7) rotate(-4deg); } }
@keyframes cp-toast-out { to { opacity: 0; transform: translateY(16px) scale(.9); } }

.cp-spark { position: fixed; z-index: 160; pointer-events: none; width: 7px; height: 7px; border-radius: 2px; }


/* 15b. Premium motion layer ------------------------------------------------ */
/* comic glove cursor (JS follows the pointer; native cursor stays on text fields) */
.cp-glove { position: fixed; left: 0; top: 0; z-index: 700; pointer-events: none; will-change: transform; }
.cp-glove img { display: block; width: 44px; height: 44px; transform-origin: 22% 4%; transition: scale .35s var(--ease-spring), rotate .45s var(--ease-spring), opacity .2s; filter: drop-shadow(1px 2px 0 rgba(0, 0, 0, .12)); }
.cp-glove.is-link img { rotate: -10deg; scale: 1.08; }
.cp-glove.is-down img { scale: .84; rotate: 6deg; transition-duration: .12s; }
.cp-glove.is-hidden img { opacity: 0; }
.cp-glove__bubble { position: absolute; left: 34px; top: 30px; padding: 5px 12px 6px; border: 1.5px solid #111; border-radius: 14px 14px 14px 4px; background: var(--accent); color: #111; font: italic 700 15px var(--font-accent); white-space: nowrap; box-shadow: 2px 2px 0 #111; opacity: 0; scale: .4; transform-origin: 0 0; transition: opacity .2s, scale .4s var(--ease-spring); }
.cp-glove.is-card .cp-glove__bubble { opacity: 1; scale: 1; }
html.has-cursor, html.has-cursor body, html.has-cursor a, html.has-cursor button, html.has-cursor summary, html.has-cursor label, html.has-cursor .cp-card, html.has-cursor [role="tab"] { cursor: none; }
html.has-cursor input, html.has-cursor textarea, html.has-cursor select { cursor: auto; }

/* minimal pop reveal on scroll */
.cp-card.is-veil { opacity: 0; scale: .93; translate: 0 22px; }
.cp-card.is-unveil { opacity: 1; scale: 1; translate: 0 0; transition: opacity .5s var(--ease-out), scale .75s var(--ease-spring), translate .75s var(--ease-spring), transform .45s var(--ease-spring), box-shadow .3s; transition-delay: var(--vd, 0ms); }

/* scroll-velocity skew */
.cp-col { transform: skewY(var(--skew, 0deg)); transform-origin: 50% 0; }

/* rise / curtain on page intro (JS adds .is-in; failsafe after 3s) */
.cp-js .cp-rise { opacity: 0; translate: 0 28px; transition: opacity .9s var(--ease-out), translate 1.1s var(--ease-out); transition-delay: calc(var(--i, 0) * 75ms + 140ms); animation: cp-failsafe 0s 3s forwards; }
.cp-js .cp-rise.is-in { opacity: 1; translate: 0 0; animation: none; }
.cp-js .cp-curtain { clip-path: inset(0 0 100% 0 round var(--radius)); transition: clip-path 1.3s var(--ease-io) .05s; animation: cp-failsafe 0s 3s forwards; }
.cp-js .cp-curtain .cp-card__img { scale: 1.25; transition: scale 1.8s var(--ease-out) .05s, opacity .6s; }
.cp-js .cp-curtain.is-in { clip-path: inset(-12px -12px -12px -12px); animation: none; }
.cp-js .cp-curtain.is-in .cp-card__img { scale: 1; }
@keyframes cp-failsafe { to { opacity: 1; translate: 0 0; clip-path: none; } }

/* leaving the page: content sinks a touch under the paint */
body.is-leaving .cp-main { transition: translate .8s var(--ease-io), opacity .8s; translate: 0 40px; opacity: .6; }

/* comic font set: Bangers has one weight and likes air between letters */
.font-comic { font-synthesis: none; }
.font-comic .cp-h1, .font-comic .cp-display, .font-comic .cp-single__title, .font-comic .cp-feed__title, .font-comic .cp-modal__title, .font-comic .cp-menu__list a, .font-comic .cp-404__big, .font-comic .cp-pow span, .font-comic .cp-auth__bubble, .font-comic .cp-logo__text b, .font-comic .cp-up__step legend b { font-weight: 400; letter-spacing: .02em; }
.font-comic .cp-display { font-size: clamp(46px, 8vw, 108px); line-height: .92; }
.font-comic .cp-single__title, .font-comic .cp-h1 { font-size: clamp(32px, 3.8vw, 44px); line-height: 1; }
.font-comic .cp-menu__list a { font-size: clamp(54px, 10vw, 136px); line-height: .98; }
.font-comic .cp-menu__list a:hover { letter-spacing: .01em; }
.font-comic .cp-logo__text b { font-size: 1.12em; margin-right: .04em; }
.font-comic .cp-card__title, .font-comic .cp-stats b, .font-comic .cp-offer__title, .font-comic .cp-status strong, .font-comic .cp-faq__item summary { font-family: var(--font-body); font-weight: 700; letter-spacing: 0; }
.font-comic .cp-feed__title { font-size: 30px; }


/* boost: electric flicker ------------------------------------------------- */
.cp-boost.is-zap { animation: cp-zap .42s steps(1, end); }
.cp-boost.is-zap svg { animation: cp-zap-icon .42s steps(1, end); }
@keyframes cp-zap { 0% { filter: brightness(2.2) drop-shadow(0 0 6px var(--accent)); } 16% { filter: none; opacity: .35; } 28% { filter: brightness(2.6) drop-shadow(0 0 9px var(--accent)); opacity: 1; } 44% { filter: none; opacity: .5; } 56% { filter: brightness(1.8) drop-shadow(0 0 5px var(--accent)); opacity: 1; } 72% { filter: none; } 100% { filter: none; } }
@keyframes cp-zap-icon { 0% { translate: 1px -1px; } 16% { translate: -1px 1px; } 28% { translate: 1px 0; } 44% { translate: 0 0; } 100% { translate: 0 0; } }
.cp-card.is-zapped .cp-card__media { animation: cp-card-zap .38s steps(1, end); }
@keyframes cp-card-zap { 0% { filter: brightness(1.25) contrast(1.1); } 20% { filter: brightness(.85); } 40% { filter: brightness(1.18) saturate(1.3); } 60% { filter: none; } 100% { filter: none; } }
.cp-volt { position: fixed; z-index: 160; pointer-events: none; width: 16px; height: 26px; margin: -13px 0 0 -8px; }
.cp-volt path { fill: none; stroke: var(--accent); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 3px var(--accent)); }

/* like: soft pop */
.cp-like.is-popping svg { animation: cp-heart .5s var(--ease-spring); }
@keyframes cp-heart { 0% { scale: 1; } 25% { scale: .7; } 60% { scale: 1.32; } 100% { scale: 1; } }
.cp-ring-pop { position: fixed; z-index: 160; pointer-events: none; width: 36px; height: 36px; margin: -18px 0 0 -18px; border-radius: 50%; border: 2px solid var(--heart); }

/* header + (admins) */
.cp-add { width: 34px; height: 34px; border: 1.5px solid currentColor; border-radius: 50%; }
.cp-add svg { width: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; transition: rotate .5s var(--ease-spring); }
.cp-add:hover svg { rotate: 90deg; }

/* front-end uploader ------------------------------------------------------- */
.cp-up { padding: 28px 0 40px; }
.cp-up__head { margin-bottom: 28px; }
.cp-up__head .cp-display { margin: 0; }
.cp-up__grid { display: grid; grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.6fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.cp-up__preview { position: sticky; top: 92px; display: grid; gap: 10px; }
.cp-up__stage { display: grid; place-items: center; min-height: min(70vh, 640px); padding: 28px; border-radius: 18px; background: var(--soft); background-image: radial-gradient(circle, var(--line-soft) 1px, transparent 1.4px); background-size: 16px 16px; }
.cp-up__card { width: 100%; max-width: calc(min(70vh, 640px) / var(--ratio) - 56px / var(--ratio)); transition: max-width .7s var(--ease-spring), transform .45s var(--ease-spring), box-shadow .3s; }
.cp-up__card .cp-card__media { transition: aspect-ratio .7s var(--ease-spring); }
.cp-up__card .cp-card__meta.is-static { opacity: 1; transform: none; }
.cp-up__card.is-morph { animation: cp-heart .55s var(--ease-spring); }
.cp-up__empty { display: grid; place-items: center; height: 100%; padding: 20px; text-align: center; font: italic 400 17px var(--font-accent); color: var(--muted); }
.cp-up__dims { margin: 0; font-size: 13px; text-align: center; min-height: 1.4em; font-variant-numeric: tabular-nums; }
.cp-up__fields { display: grid; gap: 18px; min-width: 0; }
.cp-up__step { margin: 0; border: 1px solid var(--line-soft); border-radius: 16px; padding: 22px clamp(16px, 3vw, 28px) 24px; display: grid; gap: 16px; background: var(--card); min-width: 0; }
.cp-up__step legend { padding: 0 8px; margin-left: -8px; font: 700 18px var(--font-body); display: flex; align-items: center; gap: 10px; }
.cp-up__step legend b { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--fg); color: var(--bg); font: 400 17px var(--font-display); }
.cp-drop { position: relative; display: grid; justify-items: center; gap: 8px; padding: 30px 20px; border: 1.5px dashed var(--line); border-radius: 14px; text-align: center; cursor: pointer; transition: border-color .2s, background-color .2s, scale .4s var(--ease-spring); }
.cp-drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.cp-drop:hover, .cp-drop.is-over { border-color: var(--fg); background: color-mix(in srgb, var(--accent) 14%, transparent); }
.cp-drop.is-over { scale: 1.015; }
.cp-drop__icon svg { width: 30px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cp-drop__text { font-size: 14px; color: var(--muted); }
.cp-drop__text b { color: var(--fg); display: block; font-size: 16px; }
.cp-drop__file { font: italic 400 15px var(--font-accent); }
.cp-formats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.cp-format { position: relative; display: grid; justify-items: center; align-content: end; gap: 6px; padding: 16px 10px 12px; min-height: 150px; border: 1px solid var(--line); border-radius: 14px; cursor: pointer; text-align: center; }
.cp-format input { position: absolute; opacity: 0; }
.cp-format__shape { height: 64px; max-width: 100%; border: 1.5px solid var(--fg); border-radius: 6px; background: var(--soft); transition: background-color .3s, scale .5s var(--ease-spring); }
.cp-format__name { font-weight: 600; font-size: 14px; }
.cp-format__dims { font: italic 400 14px var(--font-accent); color: var(--muted); font-variant-numeric: tabular-nums; }
.cp-format:has(input:checked) { border-color: var(--fg); box-shadow: 0 10px 26px -14px rgba(0, 0, 0, .45); }
.cp-format:has(input:checked) .cp-format__shape { background: var(--accent); scale: 1.08; }
.cp-format:has(input:focus-visible) { outline: 2px solid var(--fg); outline-offset: 2px; }
.cp-up__hint { margin: 0; padding: 10px 14px; border-radius: 10px; background: color-mix(in srgb, var(--reserved) 16%, transparent); font-size: 14px; }
.cp-up__hint.is-good { background: color-mix(in srgb, var(--pulse) 16%, transparent); }
.cp-check { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; cursor: pointer; }
.cp-check input { width: 18px; height: 18px; accent-color: var(--fg); }
.cp-chiprow { display: flex; flex-wrap: wrap; gap: 8px; }
.cp-chip-radio { cursor: pointer; }
.cp-chip-radio input { position: absolute; opacity: 0; }
.cp-chip-radio span { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border: 1px solid var(--line); border-radius: 99px; font-size: 14px; transition: background-color .2s, color .2s, border-color .2s, scale .4s var(--ease-spring); }
.cp-chip-radio input:checked + span { background: var(--fg); color: var(--bg); border-color: var(--fg); scale: 1.04; }
.cp-chip-radio input:focus-visible + span { outline: 2px solid var(--fg); outline-offset: 2px; }
.cp-chip-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--pulse); }
.cp-chip-radio.is-reserved .cp-chip-dot { background: var(--reserved); }
.cp-chip-radio.is-sold .cp-chip-dot { background: var(--sold); }
.cp-input select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%); background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 36px; }
.cp-specs-edit { display: grid; gap: 8px; }
.cp-spec-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) 34px; gap: 8px; animation: cp-step-in .4s var(--ease-out); }
.cp-spec-row input { width: 100%; font: inherit; color: var(--fg); background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 9px 12px; outline: none; transition: border-color .2s, box-shadow .3s; }
.cp-spec-row input:focus { border-color: var(--fg); box-shadow: 3px 3px 0 var(--accent); }
.cp-spec-row__x { border-radius: 8px; font-size: 20px; color: var(--muted); transition: color .2s, background-color .2s; }
.cp-spec-row__x:hover { color: var(--heart); background: var(--soft); }
.cp-up__bar { position: sticky; bottom: 12px; z-index: 5; display: grid; gap: 10px; padding: 14px 18px; border-radius: 16px; background: color-mix(in srgb, var(--bg) 85%, transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid var(--line-soft); }
.cp-up__progress { height: 4px; border-radius: 4px; background: var(--line-soft); overflow: hidden; }
.cp-up__progress i { display: block; height: 100%; width: 0; background: var(--fg); transition: width .25s var(--ease-out); }
.cp-up__done { display: grid; justify-items: center; text-align: center; gap: 14px; padding: 60px 0; animation: cp-step-in .6s var(--ease-out); }
@media (max-width: 980px) {
	.cp-up__grid { grid-template-columns: 1fr; }
	.cp-up__preview { position: relative; top: 0; }
	.cp-up__stage { min-height: 0; }
	.cp-up__card { max-width: min(100%, 420px); }
}
@media (max-width: 600px) {
	.cp-formats { grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
	.cp-format { min-height: 120px; padding: 12px 6px 10px; }
	.cp-format__shape { height: 46px; }
	.cp-format__name { font-size: 12px; }
	.cp-spec-row { grid-template-columns: 1fr 1fr 30px; }
}

/* 16. Responsive ------------------------------------------------------------ */
@media (max-width: 980px) {
	.cp-feed { --cols: 2; }
	.cp-single, .cp-single.is-wide { grid-template-columns: 1fr; }
	.cp-single__media { position: relative; top: 0; max-width: 520px; }
	.cp-single.is-wide .cp-single__media { max-width: none; }
	.cp-menu__inner { grid-template-columns: 1fr; gap: 36px; }
	.cp-auth { grid-template-columns: 1fr; }
	.cp-auth__art { display: none; }
	.cp-contact { grid-template-columns: 1fr; }
	.cp-profile { grid-template-columns: auto 1fr; }
	.cp-stats { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
	.cp-specs { grid-template-columns: 1fr; }
	.cp-offer-actions .cp-btn { flex: 1; min-width: 0; }
	.cp-grid-2 { grid-template-columns: 1fr; }
	.cp-code input { height: 52px; font-size: 22px; }
	.cp-stats li { flex: 1; min-width: 0; }
	.cp-offer { grid-template-columns: 52px 1fr; }
	.cp-offer .cp-tag { grid-column: 2; justify-self: start; }
	.cp-cats { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 4px 6px 8px 0; margin-right: calc(var(--gutter) * -1); }
}
@media (max-width: 420px) { .cp-feed { --cols: 1; } }
@media (hover: none) {
	.cp-act { opacity: 1; transform: none; }
	.cp-card__meta { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
	.cp-js .cp-rise, .cp-js .cp-curtain { opacity: 1 !important; translate: none !important; clip-path: none !important; }
	.cp-card.is-veil { opacity: 1; scale: 1; translate: none; }
	.cp-glove { display: none; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
	.cp-split .w > span, .cp-menu__label { transform: none !important; }
}

/* visually hidden native radios/checkboxes inside custom controls */
.cp-chip-radio, .cp-radio-cards label, .cp-format { position: relative; }
.cp-chip-radio input, .cp-radio-cards input, .cp-format input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; margin: 0; opacity: 0; pointer-events: none; }
