/*
 * custom_hero (PLAN-0005 frente B, user decisions of 2026-10-28): character page of the tibiacom template
 * (characters.html.twig). Black marble and gold like the What's New pages, scoped to .chc so the tibiacom layout
 * (basic.css) is not touched. Art: images/character/*.png (PixelLab, config/custom_hero/media.json
 * image-site-character-*). Light animations, all turned off with prefers-reduced-motion.
 */
@font-face {
	font-family: 'CH Uncial';
	src: url('../fonts/UncialAntiqua-Regular.ttf') format('truetype');
	font-display: swap;
}

.chc {
	--g1: #fbefc3;
	--g2: #e7c56b;
	--g3: #b8903e;
	--g4: #6b4e1c;
	--ink: #0e0c0a;
	--ink2: #17130f;
	--txt: #f1e7d0;
	--mut: #c3b291;
	--line: rgba(231, 197, 107, .28);
	--fire: #ff8a3d;
	--good: #5aff7a;
	--bad: #ff6b6b;
	--marble: url('../images/header/custom-hero-marble.png');
	--ease: cubic-bezier(.2, .8, .2, 1);
	--spring: cubic-bezier(.34, 1.56, .64, 1);
	position: relative;
	max-width: 1100px;
	margin: 0 auto 12px;
	font-family: Verdana, Arial, sans-serif;
	font-size: 12px;
	line-height: 1.5;
	color: var(--txt);
}
.chc *, .chc *::before, .chc *::after { box-sizing: border-box; }
.chc a, .chc a:visited { color: var(--g1); }
.chc a:hover { color: #fff; }
.chc-gold { color: var(--g2); }
.chc-good { color: var(--good); }
.chc-bad { color: var(--bad); font-style: italic; }
.chc-on { color: var(--good); }
.chc-off { color: var(--bad); }
.chc-edit, .chc-edit:visited { display: inline-flex; align-items: center; gap: 4px; margin: 0 0 8px; color: #4a2c0c !important; font-weight: bold; }

/* ------------------------------------------------------------------ reveal on scroll (only with JavaScript) */
.chc-js .chc-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: var(--d, 0s); }
.chc-js .chc-reveal.is-in { opacity: 1; transform: none; }

/* ------------------------------------------------------------------ hero card */
.chc-hero {
	position: relative; overflow: hidden; display: flex; align-items: flex-end; gap: 18px; min-height: 250px; padding: 18px 20px;
	margin-bottom: 14px; border-radius: 14px; border: 1px solid var(--g3); background: var(--ink);
	box-shadow: inset 0 0 0 1px rgba(251, 239, 195, .14), 0 10px 26px rgba(40, 20, 0, .45);
}
.chc-hero-backdrop {
	position: absolute; inset: -10px; z-index: 0; pointer-events: none;
	background:
		linear-gradient(90deg, rgba(10, 8, 7, .15) 0, rgba(10, 8, 7, .55) 34%, rgba(10, 8, 7, .9) 62%),
		var(--chc-backdrop, none) 30% 80% / cover no-repeat,
		var(--marble);
	image-rendering: pixelated;
	transform: translate(var(--px, 0), var(--py, 0)) scale(1.04);
	transition: transform .4s var(--ease);
}
.chc-hero::after {
	content: ''; position: absolute; inset: 7px; z-index: 1; border-radius: 10px; pointer-events: none; border: 1px solid rgba(231, 197, 107, .22);
}
.chc-hero::before {
	content: ''; position: absolute; top: -20%; left: -60%; z-index: 1; width: 35%; height: 140%; pointer-events: none;
	background: linear-gradient(100deg, transparent, rgba(255, 236, 170, .14), transparent);
	transform: skewX(-18deg); animation: chc-sweep 8s ease-in-out infinite;
}
.chc-sparks { position: absolute; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.chc-spark {
	position: absolute; bottom: -8px; width: var(--s, 3px); height: var(--s, 3px); border-radius: 50%; opacity: 0;
	background: radial-gradient(circle, #fff6d0, var(--g2) 60%, transparent 70%); box-shadow: 0 0 6px var(--g2);
	animation: chc-rise var(--t, 6s) linear infinite; animation-delay: var(--delay, 0s);
}

.chc-stage { position: relative; z-index: 2; flex: none; width: 200px; height: 230px; }
.chc-stage-glow {
	position: absolute; left: 20px; bottom: 30px; width: 160px; height: 70px; border-radius: 50%;
	background: radial-gradient(ellipse, rgba(255, 214, 120, .55), rgba(255, 170, 60, .15) 55%, transparent 70%);
	animation: chc-glow 3.2s ease-in-out infinite;
}
.chc-pedestal { position: absolute; left: 4px; bottom: 10px; width: 192px; height: 96px; image-rendering: pixelated; filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .7)); }
.chc-pedestal--css {
	height: 56px; bottom: 30px; border-radius: 50%; border: 3px solid var(--g3);
	background: radial-gradient(ellipse at 50% 35%, #6d6a66, #2c2a28 70%); box-shadow: 0 8px 0 #1c1a18, 0 10px 14px rgba(0, 0, 0, .7);
}
/* outfits/animoutfit.php images are 64x64 with the outfit at the bottom right (32x32 frame): shown at 2x, the frame
   centre (x 96) sits over the pedestal centre (x 100) and the feet on its top face (y 157 of the stage); moved 8px
   right and down because outfit frames are drawn up and to the left of their tile (checked on a screenshot). */
.chc-outfit {
	position: absolute; left: 12px; bottom: 62px; width: 128px; height: 128px; image-rendering: pixelated;
	filter: drop-shadow(0 4px 2px rgba(0, 0, 0, .55)) drop-shadow(0 0 10px rgba(255, 220, 140, .35));
	animation: chc-float 4s ease-in-out infinite;
}
.chc-hero-body { position: relative; z-index: 2; flex: 1 1 auto; min-width: 0; }
.chc-name-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.chc-name {
	margin: 0; font: normal 30px/1.15 'CH Uncial', Georgia, serif; letter-spacing: .02em; color: transparent;
	background: linear-gradient(180deg, #fff6d8 10%, var(--g2) 55%, var(--g3) 95%); -webkit-background-clip: text; background-clip: text;
	filter: drop-shadow(0 2px 1px rgba(0, 0, 0, .8));
}
.chc-flag img { vertical-align: middle; }
.chc-status {
	display: inline-flex; align-items: center; gap: 5px; padding: 2px 10px; border-radius: 12px; font-size: 10px; font-weight: bold;
	text-transform: uppercase; letter-spacing: .08em; color: var(--mut); border: 1px solid rgba(255, 255, 255, .15); background: rgba(0, 0, 0, .45);
}
.is-online .chc-status { color: #c9ffd5; border-color: rgba(90, 255, 122, .5); }
.chc-status i { width: 8px; height: 8px; border-radius: 50%; background: var(--good); box-shadow: 0 0 8px var(--good); animation: chc-ping 1.8s ease-out infinite; }
.chc-title-line { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 6px 0 12px; }
.chc-title-badge {
	padding: 2px 12px; border-radius: 12px; font: bold 13px Georgia, 'Times New Roman', serif; letter-spacing: .03em; color: #241505;
	background: linear-gradient(180deg, var(--g1), var(--g2) 55%, var(--g3)); box-shadow: 0 0 12px rgba(231, 197, 107, .45);
}
.chc-guild { color: var(--mut); }
.chc-skull { image-rendering: pixelated; }

.chc-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 8px; }
.chc-stat {
	position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 66px; padding: 8px 10px; border-radius: 10px;
	border: 1px solid var(--line); background: linear-gradient(180deg, rgba(231, 197, 107, .12), rgba(0, 0, 0, .55));
	transition: transform .3s var(--spring), border-color .3s, box-shadow .3s;
}
.chc-stat:hover { transform: translateY(-3px); border-color: var(--g2); box-shadow: 0 0 16px rgba(231, 197, 107, .3); }
.chc-stat small { color: var(--mut); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.chc-stat b { font-size: 22px; line-height: 1.1; color: var(--g1); text-shadow: 0 0 12px rgba(231, 197, 107, .5); word-break: break-all; }
.chc-stat em { font-style: normal; color: var(--mut); font-size: 10px; }
.chc-stat img { position: absolute; top: 4px; right: 4px; width: 40px; height: 40px; image-rendering: pixelated; opacity: .95; transition: transform .4s var(--spring); }
.chc-stat:hover img { transform: scale(1.15) rotate(-6deg); }
.chc-stat--resets img { animation: chc-float 3.6s ease-in-out infinite; }
.chc-stat--gold b { color: #ffe27a; }

/* the three rates: server rate + the bonus of every reset that chose it (PLAN-0005 second revision) */
.chc-rates { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 8px; margin-top: 8px; }
.chc-rate {
	display: flex; flex-direction: column; padding: 6px 10px; border-radius: 10px; cursor: help;
	border: 1px solid color-mix(in srgb, var(--accent) 60%, transparent);
	background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 24%, transparent), rgba(0, 0, 0, .55));
	transition: transform .3s var(--spring), box-shadow .3s;
}
.chc-rate:hover { transform: translateY(-3px); box-shadow: 0 0 16px color-mix(in srgb, var(--accent) 45%, transparent); }
.chc-rate small { color: var(--mut); font-size: 9px; text-transform: uppercase; letter-spacing: .08em; }
.chc-rate b { font-size: 20px; line-height: 1.15; color: #fff; text-shadow: 0 0 12px var(--accent); }
.chc-rate em { font-style: normal; font-size: 10px; color: var(--accent); }
.chc-note { margin: 6px 0 0; color: var(--mut); font-size: 11px; font-style: italic; }
.chc-bonus-tag {
	display: inline-block; padding: 1px 8px; border-radius: 10px; font-size: 11px; font-weight: bold; color: #1d1204;
	background: var(--accent); box-shadow: 0 0 8px color-mix(in srgb, var(--accent) 60%, transparent); white-space: nowrap;
}
.chc-reset-summary > div[style] { border-color: color-mix(in srgb, var(--accent) 55%, transparent); background: radial-gradient(ellipse at top, color-mix(in srgb, var(--accent) 22%, transparent), rgba(0, 0, 0, .35) 70%); }

.chc-progress { margin-top: 10px; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); background: rgba(0, 0, 0, .5); }
.chc-progress-head { display: flex; justify-content: space-between; gap: 8px; color: var(--g1); font-weight: bold; font-size: 11px; }
.chc-progress-foot { margin-top: 5px; color: var(--mut); font-size: 11px; }
.chc-progress-foot a { margin-left: 4px; font-weight: bold; }
.chc-bar { position: relative; display: block; height: 10px; margin-top: 5px; border-radius: 6px; overflow: hidden; background: rgba(255, 255, 255, .08); box-shadow: inset 0 1px 2px rgba(0, 0, 0, .7); }
.chc-bar i { position: relative; display: block; height: 100%; border-radius: 6px; overflow: hidden; background: linear-gradient(90deg, var(--g3), var(--g1)); box-shadow: 0 0 10px var(--g2); transition: width 1.2s var(--ease); }
.chc-js .chc-bar:not(.is-filled) i { width: 0 !important; }
.chc-bar i::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .45), transparent); transform: translateX(-100%); animation: chc-shimmer 2.6s ease-in-out infinite; }
.chc-bar--thin { height: 6px; margin-top: 3px; }
.chc-progress.is-ready { border-color: rgba(255, 138, 61, .7); box-shadow: 0 0 16px rgba(255, 138, 61, .35); }
.chc-progress.is-ready .chc-bar i { background: linear-gradient(90deg, #c4561c, #ffc58a); box-shadow: 0 0 14px var(--fire); }

/* ------------------------------------------------------------------ panels */
.chc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; margin-bottom: 14px; }
.chc-grid--gear { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.chc-panel {
	position: relative; padding: 14px 16px; margin-bottom: 14px; border-radius: 12px; color: var(--txt);
	background: linear-gradient(180deg, rgba(23, 19, 15, .94), rgba(12, 10, 9, .97)), var(--marble);
	border: 1px solid var(--g4); box-shadow: 0 0 0 1px rgba(0, 0, 0, .55), inset 0 0 0 1px rgba(251, 239, 195, .07), 0 8px 20px rgba(40, 20, 0, .28);
}
.chc-grid > .chc-panel { margin-bottom: 0; }
.chc-panel::before {
	content: ''; position: absolute; inset: 5px; pointer-events: none; border-radius: 8px; opacity: .8;
	background:
		linear-gradient(var(--g3), var(--g3)) top left / 14px 2px no-repeat, linear-gradient(var(--g3), var(--g3)) top left / 2px 14px no-repeat,
		linear-gradient(var(--g3), var(--g3)) top right / 14px 2px no-repeat, linear-gradient(var(--g3), var(--g3)) top right / 2px 14px no-repeat,
		linear-gradient(var(--g3), var(--g3)) bottom left / 14px 2px no-repeat, linear-gradient(var(--g3), var(--g3)) bottom left / 2px 14px no-repeat,
		linear-gradient(var(--g3), var(--g3)) bottom right / 14px 2px no-repeat, linear-gradient(var(--g3), var(--g3)) bottom right / 2px 14px no-repeat;
}
.chc-panel-title {
	display: flex; align-items: center; gap: 8px; margin: 0 0 10px; padding-bottom: 6px; border-bottom: 1px solid var(--line);
	font: normal 18px/1.2 'CH Uncial', Georgia, serif; color: var(--g1); text-shadow: 0 0 12px rgba(231, 197, 107, .35);
}
.chc-panel-title img { image-rendering: pixelated; }
.chc-empty { margin: 6px 0; color: var(--mut); font-style: italic; }
.chc-more { display: inline-block; margin-top: 8px; font-weight: bold; }

/* facts list */
.chc-facts { margin: 0; }
.chc-facts > div { display: grid; grid-template-columns: minmax(110px, 36%) 1fr; gap: 8px; padding: 5px 6px; border-radius: 6px; transition: background .2s; }
.chc-facts > div:nth-child(odd) { background: rgba(255, 255, 255, .035); }
.chc-facts > div:hover { background: rgba(231, 197, 107, .1); }
.chc-facts dt { color: var(--mut); }
.chc-facts dd { margin: 0; min-width: 0; overflow-wrap: anywhere; }
.chc-house { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.chc-house form { margin: 0; }

/* attributes */
.chc-points { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-bottom: 10px; }
.chc-donut {
	position: relative; display: grid; place-items: center; flex: none; width: 116px; height: 116px; border-radius: 50%;
	background: conic-gradient(rgba(255, 255, 255, .1) 0 100%); box-shadow: 0 0 18px rgba(231, 197, 107, .3);
	transition: transform .6s var(--spring);
}
.chc-donut::before { content: ''; position: absolute; inset: 14px; border-radius: 50%; background: radial-gradient(circle, #1d1813, #0d0b09); box-shadow: inset 0 0 12px rgba(0, 0, 0, .8); }
.chc-donut span { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; }
.chc-donut b { font-size: 20px; color: var(--g1); line-height: 1.1; }
.chc-donut small { font-size: 9px; color: var(--mut); text-transform: uppercase; letter-spacing: .06em; max-width: 70px; }
.chc-js .chc-attrs:not(.is-in) .chc-donut { transform: rotate(-90deg) scale(.7); }
.chc-points-list { flex: 1 1 160px; padding: 0; margin: 0; list-style: none; }
.chc-points-list li { display: flex; justify-content: space-between; gap: 8px; padding: 3px 0; border-bottom: 1px dashed rgba(231, 197, 107, .15); }
.chc-points-list span { color: var(--mut); }
.chc-groups { display: grid; gap: 6px; }
.chc-group { border-radius: 8px; border: 1px solid color-mix(in srgb, var(--accent) 40%, transparent); background: color-mix(in srgb, var(--accent) 8%, rgba(0, 0, 0, .35)); }
.chc-group summary {
	display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 2px 8px; padding: 6px 8px; cursor: pointer; list-style: none;
}
.chc-group summary::-webkit-details-marker { display: none; }
.chc-group summary img { grid-row: span 2; image-rendering: pixelated; }
.chc-group-name { font-weight: bold; color: var(--accent); }
.chc-group-points { color: var(--txt); font-size: 11px; }
.chc-group-bar { grid-column: 2 / -1; height: 4px; border-radius: 3px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.chc-group-bar i { display: block; height: 100%; background: var(--accent); box-shadow: 0 0 6px var(--accent); }
.chc-group ul { padding: 0 8px 6px; margin: 0; list-style: none; }
.chc-group li { display: grid; grid-template-columns: 1fr auto; gap: 0 8px; padding: 4px 6px; border-radius: 6px; border-left: 2px solid transparent; transition: background .2s, border-color .2s; }
.chc-group li:hover { background: color-mix(in srgb, var(--accent) 14%, transparent); border-left-color: var(--accent); }
.chc-group li b { color: var(--accent); text-align: right; white-space: nowrap; }
.chc-group li small { grid-column: 1 / -1; color: var(--mut); font-size: 10px; }
.chc-group[open] ul { animation: chc-fade-up .35s var(--ease); }

/* skills */
.chc-skill-list { padding: 0; margin: 0; list-style: none; display: grid; gap: 8px; }
.chc-skill-list li { display: grid; grid-template-columns: 1fr auto; align-items: baseline; }
.chc-skill-list .chc-bar { grid-column: 1 / -1; }
.chc-skill-list .chc-bar i { transition-delay: var(--d, 0s); }
.chc-skill-name { color: var(--mut); text-transform: capitalize; }
.chc-skill-value { font-size: 16px; color: var(--g1); }
.chc-quests { padding: 0; margin: 0; list-style: none; }
.chc-quests li { display: flex; align-items: center; gap: 6px; padding: 3px 0; color: var(--mut); }
.chc-quests li.is-done { color: var(--txt); }

/* equipment: the Tibia inventory layout */
.chc-paperdoll { display: flex; justify-content: center; align-items: flex-start; gap: 6px; padding: 8px; border-radius: 10px; background: radial-gradient(ellipse at center, rgba(231, 197, 107, .12), transparent 70%); }
.chc-slots { display: flex; flex-direction: column; gap: 6px; }
.chc-slots:not(:nth-child(2)) { margin-top: 18px; }
.chc-slot {
	display: grid; place-items: center; width: 42px; height: 42px; border-radius: 8px; border: 1px solid rgba(231, 197, 107, .3);
	background: radial-gradient(circle, #2f251a, #0f0c0a); box-shadow: inset 0 0 10px rgba(0, 0, 0, .8);
	transition: transform .25s var(--spring), border-color .25s, box-shadow .25s;
}
.chc-slot:hover { transform: translateY(-2px) scale(1.06); border-color: var(--g2); box-shadow: inset 0 0 10px rgba(0, 0, 0, .8), 0 0 14px rgba(231, 197, 107, .5); }
.chc-slot img { image-rendering: pixelated; }
.chc-slot--skull { height: 20px; border: 0; background: none; box-shadow: none; }

/* resets */
.chc-resets .chc-panel-title img { width: 32px; height: 32px; animation: chc-float 3.6s ease-in-out infinite; }
.chc-reset-summary { display: grid; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); gap: 8px; margin-bottom: 10px; }
.chc-reset-summary > div { display: flex; flex-direction: column; padding: 8px 10px; border-radius: 10px; border: 1px solid rgba(255, 138, 61, .35); background: radial-gradient(ellipse at top, rgba(255, 138, 61, .18), rgba(0, 0, 0, .35) 70%); }
.chc-reset-summary small { color: var(--mut); font-size: 9px; text-transform: uppercase; letter-spacing: .06em; }
.chc-reset-summary b { font-size: 17px; color: #ffd9b0; }
.chc .chc-table { width: 100%; border-collapse: separate; border-spacing: 0 4px; }
.chc .chc-table th { padding: 4px 8px; color: var(--g2); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; text-align: left; background: none; }
.chc .chc-table td { padding: 6px 8px; color: var(--txt); background: rgba(255, 255, 255, .04); border-top: 1px solid rgba(231, 197, 107, .12); border-bottom: 1px solid rgba(231, 197, 107, .12); }
.chc .chc-table td:first-child { border-left: 3px solid var(--fire); border-radius: 6px 0 0 6px; }
.chc .chc-table td:last-child { border-radius: 0 6px 6px 0; }
.chc .chc-table tr:hover td { background: rgba(255, 138, 61, .1); }
.chc-reset-num {
	display: inline-grid; place-items: center; min-width: 24px; height: 24px; padding: 0 6px; border-radius: 12px; font-weight: bold; color: #241505;
	background: linear-gradient(180deg, #ffc58a, var(--fire)); box-shadow: 0 0 8px rgba(255, 138, 61, .5);
}

/* deaths, frags */
.chc-feed { padding: 0; margin: 0; list-style: none; display: grid; gap: 4px; }
.chc-feed li { display: grid; grid-template-columns: minmax(120px, 28%) 1fr; gap: 8px; padding: 6px 8px; border-radius: 6px; background: rgba(255, 255, 255, .035); border-left: 2px solid var(--bad); }
.chc-feed time { color: var(--mut); font-size: 11px; }

/* account characters */
.chc-roster { padding: 0; margin: 0; list-style: none; display: grid; gap: 6px; }
.chc-roster li {
	display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 4px 10px; padding: 6px 8px; border-radius: 8px;
	background: rgba(255, 255, 255, .035); border: 1px solid transparent; transition: border-color .2s, background .2s;
}
.chc-roster li:hover { border-color: var(--line); background: rgba(231, 197, 107, .08); }
.chc-roster li.is-online { border-left: 3px solid var(--good); }
.chc-roster-num { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font-weight: bold; color: #241505; background: linear-gradient(180deg, var(--g1), var(--g3)); }
.chc-roster-name { font-weight: bold; color: var(--g1); }
.chc-roster-meta { grid-column: 2; grid-row: 2; color: var(--mut); font-size: 11px; }
.chc-roster-status { grid-column: 3; grid-row: 1 / span 2; }
.chc-roster form { grid-column: 4; grid-row: 1 / span 2; margin: 0; }

/* ------------------------------------------------------------------ narrow content column (small windows, phones) */
@media (max-width: 760px) {
	.chc-hero { flex-direction: column; align-items: stretch; padding: 14px; }
	.chc-stage { align-self: center; height: 200px; }
	.chc-hero-backdrop { background: linear-gradient(180deg, rgba(10, 8, 7, .2) 0, rgba(10, 8, 7, .6) 38%, rgba(10, 8, 7, .92) 60%), var(--chc-backdrop, none) 50% 0 / auto 260px no-repeat, var(--marble); }
	.chc-name { font-size: 24px; }
	.chc-feed li { grid-template-columns: 1fr; gap: 2px; }
	.chc-facts > div { grid-template-columns: 1fr; gap: 0; }
	.chc-roster li { grid-template-columns: auto 1fr auto; }
	.chc-roster-status { grid-column: 2; grid-row: 3; }
	.chc-roster form { grid-column: 3; }
	.chc .chc-table th:nth-child(4), .chc .chc-table td:nth-child(4) { display: none; }
}

/* ------------------------------------------------------------------ keyframes */
@keyframes chc-sweep { 0%, 55% { left: -60%; } 100% { left: 130%; } }
@keyframes chc-rise { 0% { transform: translateY(0) scale(.6); opacity: 0; } 10% { opacity: .9; } 80% { opacity: .6; } 100% { transform: translateY(-240px) translateX(var(--x, 0px)) scale(1); opacity: 0; } }
@keyframes chc-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
@keyframes chc-glow { 0%, 100% { opacity: .7; transform: scale(1); } 50% { opacity: 1; transform: scale(1.08); } }
@keyframes chc-ping { 0% { box-shadow: 0 0 0 0 rgba(90, 255, 122, .7); } 100% { box-shadow: 0 0 0 8px rgba(90, 255, 122, 0); } }
@keyframes chc-shimmer { 0% { transform: translateX(-100%); } 60%, 100% { transform: translateX(200%); } }
@keyframes chc-fade-up { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
	.chc *, .chc *::before, .chc *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	.chc-js .chc-reveal { opacity: 1; transform: none; }
}
