/* Chickenti Games — red stage, gold frames, cream cards (matches the Chickenti Games concept screens). */
:root {
	--g-red: #C8102E;
	--g-red-d: #8E0A1E;
	--g-red-dd: #5A0613;
	--g-gold: #F2A900;
	--g-gold-l: #FFD34D;
	--g-cream: #FFF6E6;
	--g-cream-d: #F4E3C3;
	--g-ink: #2A140A;
	--g-brown: #6B3A1E;
	--g-ok: #22A45D;
	--g-font: "Poetsen One", "Arial Black", sans-serif;
	--g-body: "Montserrat", system-ui, sans-serif;
	--g-glow: 0 0 0 3px rgba(255, 211, 77, .9), 0 0 22px rgba(255, 190, 40, .55);
}

/* ---------- stage ---------- */
.chg { font-family: var(--g-body); color: #fff; }
.chg-stage {
	position: relative; min-height: 70vh; padding: 28px 16px 64px; overflow: hidden;
	background:
		radial-gradient(ellipse 50% 40% at 15% 0%, rgba(255, 210, 120, .28), transparent 70%),
		radial-gradient(ellipse 50% 40% at 85% 0%, rgba(255, 210, 120, .28), transparent 70%),
		repeating-linear-gradient(90deg, rgba(0, 0, 0, .18) 0 18px, rgba(255, 255, 255, .03) 18px 40px, rgba(0, 0, 0, .12) 40px 58px),
		linear-gradient(180deg, #B30F28 0%, #8E0A1E 55%, #5A0613 100%);
}
.chg-page .site-footer { margin-top: 0; }
.chg-wrap { position: relative; max-width: 1080px; margin: 0 auto; display: flex; flex-direction: column; gap: 18px; }
.chg--play .chg-wrap, .chg--profil .chg-wrap, .chg--odullerim .chg-wrap, .chg--kasa .chg-wrap { max-width: 760px; }
.chg-center { text-align: center; }
.chg-boot { text-align: center; padding: 60px 0; }
.chg-boot img { width: 140px; height: auto; animation: chg-bob 1.6s ease-in-out infinite; }
.chg-noscript { background: #fff; color: var(--g-ink); padding: 20px; text-align: center; }

/* ---------- type ---------- */
.chg-title { margin: 0; line-height: .9; font-family: var(--g-font); font-weight: 400; text-transform: uppercase; letter-spacing: .5px; display: flex; flex-direction: column; align-items: center; }
.chg-title__a, .chg-title__b { display: block; -webkit-text-stroke: 2px var(--g-red-dd); paint-order: stroke fill; text-shadow: 0 4px 0 var(--g-red-dd), 0 8px 18px rgba(0, 0, 0, .45); }
.chg-title__a { font-size: clamp(40px, 9vw, 76px); color: #FFD34D; }
.chg-title__b { font-size: clamp(46px, 11vw, 92px); color: #FFF8EC; }
.chg-title--sm .chg-title__a { font-size: clamp(28px, 5vw, 44px); }
.chg-title--sm .chg-title__b { font-size: clamp(30px, 5.4vw, 50px); }
.chg-h2 { font-family: var(--g-font); font-weight: 400; font-size: clamp(22px, 4vw, 30px); margin: 0 0 8px; line-height: 1.1; color: inherit; }
.chg-h3 { font-family: var(--g-font); font-weight: 400; font-size: 20px; margin: 0 0 12px; color: var(--g-gold-l); }
.chg-h3 small { font-family: var(--g-body); font-size: 14px; color: #fff; }
.chg-small { font-size: 14px; opacity: .9; margin: 8px 0 0; }
.chg-eyebrow { font-weight: 800; letter-spacing: 1.5px; font-size: 12px; color: var(--g-brown); }
.chg-tags { display: inline-flex; flex-wrap: wrap; justify-content: center; gap: 8px; align-items: center; margin: 12px 0 0; padding: 7px 18px; border-radius: 999px; background: linear-gradient(180deg, var(--g-gold-l), var(--g-gold)); color: var(--g-ink); font-weight: 800; font-size: 14px; box-shadow: 0 4px 0 #b37800; }
.chg-tags i { font-style: normal; opacity: .6; }

/* ---------- cards ---------- */
.chg-card { position: relative; background: linear-gradient(180deg, rgba(120, 8, 24, .92), rgba(84, 5, 17, .94)); border: 2px solid rgba(255, 211, 77, .75); border-radius: 22px; padding: 20px; box-shadow: 0 0 22px rgba(255, 180, 30, .28), inset 0 1px 0 rgba(255, 255, 255, .12); }
.chg-card__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.chg-cols { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .chg-cols { grid-template-columns: 1fr 1fr; } }

/* ---------- buttons ---------- */
.chg-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 22px; border: 0; border-radius: 999px; cursor: pointer; text-decoration: none; font: 800 16px/1.1 var(--g-body); color: #fff; background: linear-gradient(180deg, #F0263F, #B00C24); box-shadow: 0 4px 0 #6d0715, 0 0 0 2px rgba(255, 211, 77, .7); transition: transform .15s, filter .15s; }
.chg-btn:hover { filter: brightness(1.08); color: #fff; }
.chg-btn:active { transform: translateY(2px) scale(.98); box-shadow: 0 2px 0 #6d0715, 0 0 0 2px rgba(255, 211, 77, .7); }
.chg-btn:disabled { opacity: .55; cursor: default; }
.chg-btn.is-busy { opacity: .7; cursor: progress; }
.chg-btn--xl { min-height: 60px; padding: 16px 34px; font-size: 20px; font-family: var(--g-font); font-weight: 400; background: linear-gradient(180deg, var(--g-gold-l), var(--g-gold)); color: var(--g-ink); box-shadow: 0 5px 0 #a86d00, var(--g-glow); margin: 12px 0 4px; }
.chg-btn--xl:hover { color: var(--g-ink); }
.chg-btn--gold { background: linear-gradient(180deg, var(--g-gold-l), var(--g-gold)); color: var(--g-ink); box-shadow: 0 4px 0 #a86d00; }
.chg-btn--gold:hover { color: var(--g-ink); }
.chg-btn--ghost { background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 2px rgba(255, 211, 77, .6); }
.chg-btn--danger { background: #3a0610; box-shadow: inset 0 0 0 2px #ff6b7d; }
.chg-btn--sm { min-height: 40px; padding: 8px 14px; font-size: 14px; }
.chg-btn--ig { background: linear-gradient(45deg, #f9ce34, #ee2a7b 55%, #6228d7); margin-top: 10px; }
.chg-btn:focus-visible, .chg-opt:focus-visible, .chg-person:focus-visible, .chg-vote__opt:focus-visible, .chg-avgrid button:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

/* ---------- pills / status ---------- */
.chg-pill { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; letter-spacing: .5px; background: rgba(255, 255, 255, .14); color: #fff; white-space: nowrap; }
.chg-prog .chg-pill--queued, .adm-prog .chg-pill--queued { background: #EADCC4; color: #6B3A1E; }
.chg-pill--running { background: var(--g-gold); color: var(--g-ink); animation: chg-pulse 1.4s infinite; }
.chg-pill--selected { background: #fff; color: var(--g-red); }
.chg-pill--completed { background: rgba(34, 164, 93, .9); }
.chg-live { display: inline-block; padding: 6px 12px; border-radius: 999px; background: rgba(0, 0, 0, .3); font-weight: 800; font-size: 13px; color: var(--g-gold-l); }
.chg-live.is-live { color: #fff; background: #1f8f4e; }
.chg-warn { background: rgba(255, 211, 77, .16); border: 1px solid rgba(255, 211, 77, .6); border-radius: 12px; padding: 10px 14px; }
.chg-warn a { color: var(--g-gold-l); }

/* ---------- hero ---------- */
.chg-hero { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; }
.chg-hero__m { width: clamp(150px, 30vw, 250px); height: auto; filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .45)); animation: chg-bob 3s ease-in-out infinite; }
.chg-hero__t { text-align: center; }
.chg-closed p { font-size: 17px; max-width: 520px; margin: 8px auto; }
.chg-count-big { font-size: 18px; }
.chg-count-big b { color: var(--g-gold-l); font-size: 22px; }
.chg-join .chg-small a, .chg-consent a { color: var(--g-gold-l); }
.chg-consent { display: flex; gap: 12px; align-items: flex-start; text-align: left; max-width: 560px; margin: 14px auto 0; padding: 12px 14px; background: rgba(0, 0, 0, .22); border-radius: 14px; font-size: 14px; line-height: 1.45; cursor: pointer; }
.chg-consent input { width: 24px; height: 24px; flex: none; accent-color: var(--g-gold); margin-top: 2px; }

/* ---------- catalog cards ---------- */
.chg-games { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
@media (min-width: 640px) { .chg-games { grid-template-columns: repeat(3, 1fr); } }
.chg-gcard { background: linear-gradient(180deg, var(--g-red), var(--g-red-d)); border-radius: 18px; padding: 10px 10px 14px; text-align: center; box-shadow: var(--g-glow); }
.chg-gcard:nth-child(even) { background: linear-gradient(180deg, var(--g-gold-l), var(--g-gold)); color: var(--g-ink); }
.chg-gcard img { width: 100%; height: auto; border-radius: 12px; display: block; }
.chg-gcard h3 { font-family: var(--g-font); font-weight: 400; font-size: 19px; margin: 8px 0 4px; line-height: 1.1; color: inherit; }
.chg-gcard p { font-size: 13px; margin: 0; line-height: 1.35; }
.chg-more { text-align: center; font-size: 13px; opacity: .85; margin: 0; }

/* ---------- prize ---------- */
.chg-prize p { margin: 10px 0 0; text-align: center; }
.chg-podium-mini { display: flex; justify-content: center; align-items: flex-end; gap: 10px; }
.chg-podium-mini div { width: 86px; padding: 10px 0; border-radius: 14px 14px 6px 6px; background: rgba(255, 255, 255, .12); text-align: center; }
.chg-podium-mini div.is-1 { padding: 18px 0; background: linear-gradient(180deg, var(--g-gold-l), var(--g-gold)); color: var(--g-ink); }
.chg-podium-mini b { display: block; font-family: var(--g-font); font-size: 30px; font-weight: 400; }
.chg-podium-mini span { font-size: 12px; font-weight: 700; }

/* ---------- top bar ---------- */
.chg-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.chg-top__me { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; background: rgba(0, 0, 0, .25); padding: 6px 14px 6px 6px; border-radius: 999px; }
.chg-top__me b { display: block; font-size: 15px; }
.chg-top__me small { color: var(--g-gold-l); font-weight: 700; }
.chg-av { border-radius: 50%; object-fit: cover; flex: none; background: var(--g-red-d); }

/* ---------- program / roster / leaderboard ---------- */
.chg-prog ol, .chg-lb ol, .chg-roster ul, .chg-hist ul { list-style: none; margin: 0; padding: 0; }
.chg-prog li { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 12px; background: var(--g-cream); color: var(--g-ink); margin-bottom: 8px; }
.chg-prog li img { border-radius: 8px; object-fit: cover; }
.chg-prog li b { flex: 1; font-size: 15px; }
.chg-prog li.is-running { box-shadow: var(--g-glow); }
.chg-prog li.is-completed { opacity: .7; }
.chg-roster ul { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 8px; }
.chg-roster li { display: flex; align-items: center; gap: 8px; background: rgba(255, 255, 255, .08); border-radius: 999px; padding: 4px 12px 4px 4px; font-size: 14px; font-weight: 700; min-width: 0; }
.chg-roster li span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chg-lb li { display: flex; align-items: center; gap: 10px; padding: 6px 10px; border-radius: 999px; background: var(--g-cream); color: var(--g-ink); margin-bottom: 7px; }
.chg-lb li.r1 { background: linear-gradient(180deg, var(--g-gold-l), var(--g-gold)); box-shadow: var(--g-glow); }
.chg-lb li b { flex: 1; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chg-lb li em { font-style: normal; font-weight: 900; }
.chg-rank { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--g-red); color: #fff; font-weight: 900; font-size: 14px; flex: none; }

/* ---------- waiting ---------- */
.chg-wait img { width: 130px; height: auto; }
.chg-bob { animation: chg-bob 2.4s ease-in-out infinite; }

/* ---------- timer ---------- */
.chg-timer { --p: 1; display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; background: linear-gradient(180deg, #E21B35, #9C0A1F); box-shadow: 0 0 0 3px var(--g-gold-l), 0 0 18px rgba(255, 190, 40, .6); font-family: var(--g-font); color: #fff; }
.chg-timer svg { width: 22px; height: 22px; color: var(--g-gold-l); }
.chg-timer b { font-size: 22px; font-weight: 400; letter-spacing: 1px; }
.chg-timer--big { padding: 10px 22px; }
.chg-timer--big b { font-size: 40px; }
.chg-timer--big svg { width: 34px; height: 34px; }
.chg-timer.is-low { animation: chg-shake .5s infinite; background: linear-gradient(180deg, #ff3b52, #c40a24); }
.chg-timer.is-done { opacity: .7; }

/* ---------- vote ---------- */
.chg-vote__list { display: grid; gap: 10px; }
.chg-vote__opt { display: flex; align-items: center; gap: 12px; width: 100%; padding: 8px 14px 8px 8px; border: 0; border-radius: 16px; background: var(--g-cream); color: var(--g-ink); cursor: pointer; text-align: left; font: inherit; position: relative; transition: transform .15s; }
.chg-vote__opt:active { transform: scale(.98); }
.chg-vote__opt img { border-radius: 10px; object-fit: cover; }
.chg-vote__opt span { flex: 1; }
.chg-vote__opt b { display: block; font-family: var(--g-font); font-weight: 400; font-size: 19px; margin-bottom: 6px; }
.chg-vote__opt em { font-style: normal; font-weight: 900; font-size: 20px; color: var(--g-red); }
.chg-vote__opt small { position: absolute; top: -8px; right: 12px; background: var(--g-ok); color: #fff; font-weight: 800; padding: 2px 8px; border-radius: 999px; }
.chg-vote__opt.is-mine { box-shadow: var(--g-glow); background: #FFF1C7; }
.chg-vote__opt:disabled { cursor: default; }
.chg-bar { display: block; height: 10px; border-radius: 999px; background: rgba(0, 0, 0, .15); overflow: hidden; }
.chg-bar > i { display: block; height: 100%; background: linear-gradient(90deg, var(--g-red), #ff5a6e); border-radius: inherit; transition: width .6s cubic-bezier(.2, .8, .2, 1); }
.chg-bar--gold > i { background: linear-gradient(90deg, var(--g-gold), var(--g-gold-l)); }

/* ---------- round ---------- */
.chg-ghead { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.chg-ghead img { border-radius: 10px; object-fit: cover; }
.chg-ghead div { flex: 1; }
.chg-ghead b { display: block; font-family: var(--g-font); font-weight: 400; font-size: 22px; line-height: 1; }
.chg-ghead small { color: var(--g-gold-l); font-weight: 700; }
.chg-alert { text-align: center; padding: 10px; border-radius: 16px; margin-bottom: 12px; background: linear-gradient(180deg, #E21B35, #9C0A1F); box-shadow: 0 0 0 2px var(--g-gold-l); font-family: var(--g-font); font-size: 20px; color: #fff; }
.chg-alert small { display: block; font-size: 15px; color: var(--g-gold-l); }
.chg-q { background: var(--g-cream); color: var(--g-ink); border-radius: 20px; padding: 18px; text-align: center; box-shadow: 0 0 0 3px var(--g-gold-l), 0 0 24px rgba(255, 190, 40, .45); margin-bottom: 14px; }
.chg-q h2 { margin: 0; font-family: var(--g-font); font-weight: 400; font-size: clamp(22px, 5vw, 32px); line-height: 1.15; color: var(--g-ink); }
.chg-emoji { font-size: clamp(52px, 14vw, 88px); line-height: 1.1; letter-spacing: 6px; margin-bottom: 4px; }
.chg-cat { display: inline-block; margin-bottom: 6px; padding: 3px 12px; border-radius: 999px; background: var(--g-red); color: #fff; font-weight: 800; }
.chg-opts { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .chg-opts:not(.chg-opts--list) { grid-template-columns: 1fr 1fr; } }
.chg-opt { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 62px; padding: 8px 16px 8px 8px; border: 0; border-radius: 999px; cursor: pointer; text-align: left; font: inherit; background: linear-gradient(180deg, #FFF4D8, var(--g-cream-d)); color: var(--g-ink); box-shadow: 0 4px 0 #c9a15a; transition: transform .15s, box-shadow .15s; position: relative; }
.chg-opt:active:not(:disabled) { transform: translateY(2px) scale(.98); }
.chg-opt:disabled { cursor: default; }
.chg-opt__l { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--g-red); color: #fff; font-family: var(--g-font); font-size: 22px; }
.chg-opt__t { flex: 1; font-family: var(--g-font); font-size: 20px; line-height: 1.15; }
.chg-opt__t small { font-family: var(--g-body); font-size: 13px; font-weight: 700; }
.chg-opt em { font-style: normal; font-weight: 900; }
.chg-opt.is-picked { background: linear-gradient(180deg, var(--g-gold-l), var(--g-gold)); box-shadow: 0 4px 0 #a86d00, var(--g-glow); }
.chg-opt.is-correct { background: linear-gradient(180deg, #6EE7A0, #22A45D); color: #062b15; box-shadow: 0 4px 0 #136b3a, 0 0 22px rgba(80, 230, 140, .7); animation: chg-glow 1s ease-in-out 2; }
.chg-opt.is-correct .chg-opt__l { background: #0f6b37; }
.chg-opt.is-wrong { background: linear-gradient(180deg, #ff8a98, #d92b42); color: #fff; box-shadow: 0 4px 0 #7a0a1a; }
.chg-opt.is-truth { background: linear-gradient(180deg, #e9e2d6, #c9bba6); color: var(--g-ink); box-shadow: 0 4px 0 #8b7a60; }
.chg-opt.is-truth::after { content: "DOĞRU · 0 puan"; position: absolute; right: 14px; top: -10px; background: var(--g-ink); color: #fff; font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 999px; }
.chg-opt .chg-bar { position: absolute; left: 66px; right: 20px; bottom: 6px; height: 5px; }
.chg-opts--list .chg-opt { border-radius: 18px; flex-wrap: wrap; }
.chg-opts--list .chg-opt__t { padding-left: 8px; }
.chg-badge { display: inline-block; padding: 3px 10px; border-radius: 999px; background: rgba(0, 0, 0, .12); font-weight: 800; font-size: 12px; }
.chg-badge--ok { background: #0f6b37; color: #fff; }
.chg-gain { margin-top: 14px; text-align: center; font-family: var(--g-font); font-size: 26px; color: var(--g-gold-l); }
.chg-gain.is-win { animation: chg-pop .6s cubic-bezier(.2, 1.4, .4, 1); text-shadow: 0 0 18px rgba(255, 211, 77, .8); }
.chg-locked { text-align: center; padding: 18px; border-radius: 18px; background: rgba(0, 0, 0, .22); font-size: 18px; }
.chg-locked b { color: var(--g-gold-l); }
.chg-locked small { display: block; margin-top: 6px; opacity: .85; }

/* ---------- forms ---------- */
.chg-form { display: flex; gap: 10px; flex-wrap: wrap; align-items: flex-end; }
.chg-label { width: 100%; font-weight: 700; font-size: 15px; }
.chg-input { flex: 1; min-width: 0; min-height: 50px; padding: 10px 16px; border-radius: 14px; border: 2px solid var(--g-gold-l); background: #fff; color: var(--g-ink); font: 700 18px var(--g-body); }
.chg-input:focus { outline: 3px solid rgba(255, 211, 77, .6); }
.chg-input--sm { max-width: 110px; flex: none; }
select.chg-input { font-size: 15px; }
textarea.chg-input { font-size: 15px; font-weight: 500; }
.chg-form--grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.chg-form--grid label { display: flex; flex-direction: column; gap: 6px; font-weight: 700; font-size: 14px; }
.chg-form--grid .is-wide, .chg-form--grid fieldset { grid-column: 1 / -1; }
.chg-form fieldset { border: 1px solid rgba(255, 211, 77, .5); border-radius: 14px; padding: 10px 14px; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 6px; }
.chg-check { display: flex !important; flex-direction: row !important; align-items: center; gap: 8px; font-weight: 600 !important; }
.chg-check input { width: 20px; height: 20px; accent-color: var(--g-gold); }
.chg-check.is-off { opacity: .55; }

/* ---------- people / imposter ---------- */
.chg-people { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; }
.chg-person { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 12px 8px; border: 0; border-radius: 18px; background: var(--g-cream); color: var(--g-ink); cursor: pointer; font: inherit; transition: transform .15s; }
.chg-person:active:not(:disabled) { transform: scale(.96); }
.chg-person b { font-size: 14px; line-height: 1.2; text-align: center; }
.chg-person em { font-style: normal; font-weight: 900; color: var(--g-red); }
.chg-person.is-picked { background: linear-gradient(180deg, var(--g-gold-l), var(--g-gold)); box-shadow: var(--g-glow); }
.chg-person.is-top { box-shadow: 0 0 0 4px #6EE7A0, 0 0 24px rgba(80, 230, 140, .7); }
.chg-person:disabled { cursor: default; }
.chg-role { display: block; width: 100%; max-width: 360px; margin: 0 auto 14px; aspect-ratio: 3 / 3.4; border: 0; padding: 0; background: none; cursor: pointer; perspective: 1000px; font: inherit; color: inherit; }
.chg-role__in { position: relative; display: block; width: 100%; height: 100%; transition: transform .45s cubic-bezier(.2, .8, .2, 1); transform-style: preserve-3d; }
.chg-role.is-flipped .chg-role__in { transform: rotateY(180deg); }
.chg-role__front, .chg-role__back { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 18px; border-radius: 22px; backface-visibility: hidden; -webkit-backface-visibility: hidden; text-align: center; box-shadow: var(--g-glow); }
.chg-role__front { background: linear-gradient(180deg, var(--g-red), var(--g-red-dd)); }
.chg-role__front img { width: 110px; height: auto; border-radius: 16px; }
.chg-role__front b { font-family: var(--g-font); font-size: 26px; font-weight: 400; color: var(--g-gold-l); }
.chg-role__back { transform: rotateY(180deg); background: var(--g-cream); color: var(--g-ink); }
.chg-role__back small { font-weight: 900; letter-spacing: 1.5px; color: var(--g-red); }
.chg-role__back b { font-family: var(--g-font); font-weight: 400; font-size: 22px; }
.chg-role__big { font-size: 40px !important; color: var(--g-red); line-height: 1; }
.chg-role__back em { font-style: normal; font-size: 14px; font-weight: 600; }
.chg-role.is-imp .chg-role__back { background: linear-gradient(180deg, #2a0710, #5A0613); color: #fff; }
.chg-role.is-imp .chg-role__big { color: var(--g-gold-l); }
.chg-role.is-spec { display: block; text-align: center; padding: 18px; aspect-ratio: auto; background: rgba(0, 0, 0, .25); border-radius: 18px; cursor: default; }
.chg-role.is-spec small { display: block; }
.chg-clues { display: grid; gap: 8px; margin-bottom: 14px; }
.chg-clues > div { display: flex; align-items: center; gap: 10px; background: var(--g-cream); color: var(--g-ink); border-radius: 999px; padding: 5px 16px 5px 5px; }
.chg-clues b { font-size: 14px; }
.chg-clues span { margin-left: auto; font-family: var(--g-font); font-size: 19px; color: var(--g-red); }
.chg-reveal { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; padding: 18px; border-radius: 22px; animation: chg-pop .6s cubic-bezier(.2, 1.4, .4, 1); }
.chg-reveal.is-ok { background: linear-gradient(180deg, rgba(34, 164, 93, .35), rgba(0, 0, 0, .2)); }
.chg-reveal.is-bad { background: rgba(0, 0, 0, .3); }
.chg-reveal > b { font-family: var(--g-font); font-weight: 400; font-size: 32px; color: var(--g-gold-l); }

/* ---------- ended / podium ---------- */
.chg-podium { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: end; gap: 10px; margin: 18px 0; }
.chg-podium__p { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 12px 6px; border-radius: 18px 18px 8px 8px; background: rgba(255, 255, 255, .1); animation: chg-rise .6s cubic-bezier(.2, 1.2, .4, 1) both; }
.chg-podium__p.r1 { padding-top: 26px; background: linear-gradient(180deg, var(--g-gold-l), var(--g-gold)); color: var(--g-ink); animation-delay: .3s; }
.chg-podium__p.r2 { animation-delay: .15s; }
.chg-podium__p b { font-size: 14px; }
.chg-podium__p em { font-style: normal; font-weight: 900; }
.chg-podium__p span { font-family: var(--g-font); font-size: 34px; }
.chg-podium__p small { font-size: 11px; font-weight: 800; }

/* ---------- profile / rewards ---------- */
.chg-prof { display: flex; align-items: center; gap: 16px; }
.chg-avgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(76px, 1fr)); gap: 10px; margin-top: 12px; }
.chg-avgrid button { position: relative; border: 0; background: none; padding: 4px; border-radius: 50%; cursor: pointer; transition: transform .15s; }
.chg-avgrid button img { width: 100%; height: auto; display: block; border-radius: 50%; }
.chg-avgrid button small { position: absolute; bottom: 0; right: 2px; background: var(--g-ink); color: #fff; font-size: 10px; font-weight: 800; padding: 1px 5px; border-radius: 999px; }
.chg-avgrid button.is-on { box-shadow: 0 0 0 4px var(--g-gold-l), 0 0 18px rgba(255, 190, 40, .8); transform: scale(1.06); }
.chg-points { background: linear-gradient(180deg, #FFF6E6, #F1DDB6); color: var(--g-ink); border-color: #c9a15a; text-align: center; }
.chg-points__n { font-family: var(--g-font); font-size: 22px; }
.chg-points__n b { font-size: 64px; font-weight: 400; color: var(--g-brown); }
.chg-points .chg-bar { max-width: 360px; margin: 6px auto 10px; height: 14px; }
.chg-coupon { display: flex; gap: 14px; align-items: center; padding: 14px; margin-bottom: 10px; border-radius: 20px; background: linear-gradient(135deg, #7a3d1c, #4a220e); border: 2px dashed var(--g-gold-l); }
.chg-coupon__qr { width: 116px; flex: none; background: #fff; border-radius: 12px; padding: 4px; }
.chg-coupon__qr:empty { display: none; }
.chg-coupon__qr svg { width: 100%; height: auto; display: block; }
.chg-coupon small { color: var(--g-gold-l); font-weight: 800; letter-spacing: 1px; font-size: 11px; display: block; }
.chg-coupon b { display: block; font-family: var(--g-font); font-weight: 400; font-size: 24px; }
.chg-code { display: inline-block; margin: 4px 0; font: 900 20px/1 ui-monospace, Consolas, monospace; letter-spacing: 2px; background: rgba(0, 0, 0, .3); padding: 6px 10px; border-radius: 8px; }
.chg-coupon em { display: block; font-style: normal; font-size: 13px; }
.chg-coupon.is-redeemed, .chg-coupon.is-expired, .chg-coupon.is-cancelled { filter: grayscale(.8); opacity: .7; }
.chg-hist li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.chg-hist li small { display: block; opacity: .75; font-size: 12px; }
.chg-hist .is-plus { color: #7CF0A8; }
.chg-hist .is-minus { color: #ff9aa6; }
.chg-scan video { width: 100%; max-height: 320px; border-radius: 16px; background: #000; margin-top: 12px; }

/* ---------- loyalty card add-on ---------- */
.chg-cardaddon { max-width: 560px; margin: 18px auto; }
.chg-cardaddon__in { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 20px; background: linear-gradient(135deg, #C8102E, #7d0a17); color: #fff; box-shadow: 0 0 0 2px #FFD34D, 0 10px 24px rgba(0, 0, 0, .2); font-family: var(--g-body); }
.chg-cardaddon__in img { border-radius: 50%; flex: none; }
.chg-cardaddon__in div { flex: 1; min-width: 0; }
.chg-cardaddon__in small { display: block; font-size: 11px; font-weight: 800; letter-spacing: 1px; color: #FFD34D; }
.chg-cardaddon__in b { display: block; font-size: 17px; margin: 2px 0 6px; }
.chg-cardaddon__in span { display: block; font-size: 13px; margin-top: 6px; }
.chg-cardaddon__in a { flex: none; color: #2A140A; background: #FFD34D; padding: 10px 14px; border-radius: 999px; font-weight: 800; font-size: 13px; text-decoration: none; }

/* ---------- host panel ---------- */
.adm-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.adm-head .chg-title { align-items: flex-start; }
.adm-state { text-align: right; }
.adm-state small { display: block; margin-top: 6px; }
.adm-tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; }
.adm-tabs button { flex: none; border: 0; border-radius: 999px; padding: 10px 16px; font: 800 14px var(--g-body); background: rgba(0, 0, 0, .3); color: #fff; cursor: pointer; }
.adm-tabs button.is-on { background: var(--g-gold); color: var(--g-ink); }
.adm-row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 10px; }
.adm-row:last-child { margin-bottom: 0; }
.adm-mode { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; }
.adm-mode select { border-radius: 10px; padding: 8px; font: 700 14px var(--g-body); }
.adm-secret { background: rgba(0, 0, 0, .3); padding: 8px 12px; border-radius: 10px; }
.adm-secret b { color: var(--g-gold-l); }
.adm-prog, .adm-people, .adm-coupons, .adm-mod { list-style: none; margin: 0; padding: 0; }
.adm-prog li, .adm-people li, .adm-coupons li, .adm-mod li { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 8px; border-radius: 14px; background: rgba(255, 255, 255, .07); margin-bottom: 8px; }
.adm-prog li img { border-radius: 8px; object-fit: cover; }
.adm-prog li > b, .adm-people li > b, .adm-coupons li > b { flex: 1; min-width: 140px; }
.adm-prog small, .adm-people small, .adm-coupons small { display: block; font-weight: 500; font-size: 12px; opacity: .8; }
.adm-acts { display: flex; gap: 6px; flex-wrap: wrap; }
.adm-acts .chg-btn { min-height: 36px; padding: 6px 12px; }
.adm-tally { display: grid; grid-template-columns: 1fr 2fr auto auto; gap: 10px; align-items: center; margin-bottom: 8px; }
.adm-cands { display: flex; flex-wrap: wrap; gap: 6px 16px; width: 100%; }
.adm-add { margin-top: 10px; }
.adm-mod li span { flex: 1; font-family: var(--g-font); font-size: 18px; }
.adm-mod li.is-hidden span { text-decoration: line-through; opacity: .6; }
.adm-adj { align-items: center; padding: 8px; border-radius: 14px; background: rgba(255, 255, 255, .07); margin-top: 8px; }
.adm-people li.is-removed, .adm-people li.is-banned { opacity: .6; }
.adm-stand { margin: 0; padding-left: 0; list-style: none; columns: 2; }
@media (max-width: 560px) { .adm-tally { grid-template-columns: 1fr; } .adm-stand { columns: 1; } }

/* ---------- toast / overlays ---------- */
.chg-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 40px); opacity: 0; z-index: 99999; max-width: calc(100% - 32px); padding: 12px 20px; border-radius: 14px; background: #1f8f4e; color: #fff; font: 700 15px var(--g-body); box-shadow: 0 10px 30px rgba(0, 0, 0, .35); transition: all .25s; pointer-events: none; }
.chg-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.chg-toast.is-bad { background: #b00c24; }
.chg-count { position: fixed; inset: 0; z-index: 99998; display: grid; place-items: center; background: rgba(90, 6, 19, .6); pointer-events: none; }
.chg-count span { font-family: var(--g-font); font-size: 34vmin; color: var(--g-gold-l); -webkit-text-stroke: 6px var(--g-red-dd); paint-order: stroke fill; animation: chg-count .75s cubic-bezier(.2, 1.4, .4, 1) both; }
.chg-confetti { position: fixed; inset: 0; pointer-events: none; z-index: 99997; overflow: hidden; }
.chg-confetti i { position: absolute; top: -12px; width: 10px; height: 14px; border-radius: 2px; animation: chg-fall 1.2s ease-in forwards; }

@keyframes chg-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes chg-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 211, 77, .7); } 50% { box-shadow: 0 0 0 6px rgba(255, 211, 77, 0); } }
@keyframes chg-shake { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-2deg); } 75% { transform: rotate(2deg); } }
@keyframes chg-glow { 50% { filter: brightness(1.2); } }
@keyframes chg-pop { 0% { transform: scale(.7); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
@keyframes chg-rise { 0% { transform: translateY(30px); opacity: 0; } 100% { transform: none; opacity: 1; } }
@keyframes chg-count { 0% { transform: scale(.9); opacity: 0; } 30% { transform: scale(1.12); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
@keyframes chg-fall { 0% { transform: translate(0, 0) rotate(0); opacity: 1; } 100% { transform: translate(var(--dx), 105vh) rotate(var(--rot)); opacity: .8; } }

@media (prefers-reduced-motion: reduce) {
	.chg *, .chg *::before, .chg *::after { animation: none !important; transition: none !important; }
}

/* ================================================================ TV (16:9 big screen) */
.chg-tvbody { margin: 0; background: #5A0613; overflow: hidden; }
.chg--tv .chg-stage--tv { min-height: 100vh; height: 100vh; padding: 1.6vw 2vw; box-sizing: border-box; }
.chg--tv .chg-wrap { max-width: none; height: 100%; gap: 1.2vw; }
.chg--tv { font-size: 1.15vw; }
.tv-bar { display: flex; align-items: center; gap: 1vw; padding: .6vw 1.4vw; border-radius: 1.4vw; background: linear-gradient(180deg, rgba(120, 8, 24, .95), rgba(84, 5, 17, .95)); border: 2px solid rgba(255, 211, 77, .7); }
.tv-bar img { width: 3.2vw; height: 3.2vw; border-radius: 50%; }
.tv-bar > b { font-family: var(--g-font); font-weight: 400; font-size: 1.8vw; color: var(--g-gold-l); line-height: .9; }
.tv-bar > b span { display: block; color: #fff; }
.tv-bar > i { flex: 1; }
.tv-bar__g { color: #fff !important; }
.tv-chip { padding: .4vw 1vw; border-radius: 999px; background: rgba(0, 0, 0, .35); font-weight: 800; font-size: 1.1vw; }
.tv-chip--gold { background: var(--g-gold); color: var(--g-ink); }
.tv-grid { flex: 1; min-height: 0; display: grid; grid-template-columns: 20vw 1fr 22vw; gap: 1.4vw; align-items: stretch; }
.tv-mascot { align-self: end; width: 100%; max-height: 100%; object-fit: contain; border-radius: 2vw; -webkit-mask-image: linear-gradient(180deg, #000 80%, transparent); mask-image: linear-gradient(180deg, #000 80%, transparent); }
.tv-main { min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.tv-side { min-width: 0; overflow: hidden; display: flex; flex-direction: column; justify-content: center; }
.tv-side .chg-card { padding: 1.2vw; }
.tv-side .chg-lb li b, .tv-side .chg-prog li b { font-size: 1.1vw; }
.tv-side .chg-h3 { font-size: 1.5vw; }
.tv-panel { display: flex; flex-direction: column; gap: 1vw; }
.tv-head { display: flex; flex-direction: column; align-items: center; gap: .4vw; }
.tv-meta { display: flex; gap: 1vw; align-items: center; }
.chg--tv .chg-title--tv .chg-title__a { font-size: 6vw; }
.chg--tv .chg-title--tv .chg-title__b { font-size: 7vw; }
.chg--tv .chg-title--sm .chg-title__a { font-size: 3.2vw; }
.chg--tv .chg-title--sm .chg-title__b { font-size: 3.4vw; }
.chg--tv .chg-tags { font-size: 1.1vw; padding: .4vw 1.4vw; }
.chg--tv .chg-timer--big b { font-size: 3vw; }
.chg--tv .chg-timer--big svg { width: 2.6vw; height: 2.6vw; }
.tv-lead { font-size: 1.6vw; text-align: center; margin: .4vw 0; }
.tv-lead b { color: var(--g-gold-l); }
.chg-q--tv { padding: 1.4vw; margin: 0; }
.chg-q--tv h2 { font-size: 2.6vw; }
.chg--tv .chg-emoji { font-size: 6vw; }
.chg--tv .chg-cat { font-size: 1.1vw; }
.chg-opts--tv { grid-template-columns: 1fr 1fr !important; gap: 1vw; }
.chg-opts--tv .chg-opt { min-height: 4.6vw; padding: .5vw 1.2vw .5vw .5vw; cursor: default; }
.chg-opts--tv .chg-opt__l { width: 3.2vw; height: 3.2vw; font-size: 1.7vw; }
.chg-opts--tv .chg-opt__t { font-size: 1.8vw; }
.chg-opts--tv .chg-opt em { font-size: 1.5vw; }
.chg-opts--tv .chg-bar { left: 4.4vw; }
.chg-alert--tv { font-size: 1.8vw; margin: 0; }
.chg-alert--tv small { font-size: 1.2vw; }
.tv-join { display: flex; align-items: center; gap: 2vw; padding: 1.4vw 2vw; margin-top: 1vw; border-radius: 2vw; background: linear-gradient(180deg, rgba(120, 8, 24, .95), rgba(84, 5, 17, .95)); border: 3px solid var(--g-gold-l); box-shadow: 0 0 2vw rgba(255, 190, 40, .45); text-align: left; }
.tv-join h2 { font-family: var(--g-font); font-weight: 400; font-size: 2.6vw; margin: 0; }
.tv-join p { font-size: 1.3vw; margin: .4vw 0 1vw; }
.tv-qr { background: #fff; padding: .6vw; border-radius: 1vw; width: 12vw; flex: none; }
.tv-qr svg { width: 100%; height: auto; display: block; }
.tv-main > .chg-center .tv-qr { margin: 1.4vw auto 0; display: flex; flex-direction: column; align-items: center; gap: .4vw; color: var(--g-ink); font-weight: 700; font-size: 1.1vw; text-align: center; }
.tv-code { display: inline-block; padding: .6vw 1.4vw; border-radius: 999px; background: linear-gradient(180deg, var(--g-gold-l), var(--g-gold)); color: var(--g-ink); font-weight: 800; font-size: 1.3vw; }
.tv-code b { font-family: var(--g-font); font-weight: 400; font-size: 2.4vw; margin-left: .6vw; letter-spacing: .2vw; }
.tv-avs { display: flex; flex-wrap: wrap; justify-content: center; gap: .8vw; margin-top: 1.2vw; }
.tv-avs span { display: flex; flex-direction: column; align-items: center; gap: .2vw; animation: chg-pop .5s both; }
.tv-avs .chg-av { width: 4.2vw; height: 4.2vw; box-shadow: 0 0 0 .2vw var(--g-gold-l); }
.tv-avs small { font-weight: 800; font-size: .95vw; }
.tv-avs--vote .chg-av { width: 6vw; height: 6vw; }
.tv-avs--vote span { padding: .6vw; border-radius: 1.2vw; background: rgba(255, 255, 255, .08); min-width: 8vw; }
.tv-avs--vote span.is-top { background: rgba(34, 164, 93, .45); box-shadow: 0 0 1.4vw rgba(80, 230, 140, .7); }
.tv-avs--vote b { color: var(--g-gold-l); font-size: 1.3vw; }
.tv-vote { display: grid; gap: 1vw; }
.tv-vote__c { display: grid; grid-template-columns: 8vw 1fr 14vw 5vw; gap: 1vw; align-items: center; background: var(--g-cream); color: var(--g-ink); padding: .6vw 1.2vw .6vw .6vw; border-radius: 1.4vw; }
.tv-vote__c img { width: 100%; border-radius: .8vw; }
.tv-vote__c b { font-family: var(--g-font); font-weight: 400; font-size: 2vw; }
.tv-vote__c em { font-style: normal; font-weight: 900; font-size: 2vw; color: var(--g-red); }
.tv-vote__c .chg-bar { height: 1vw; }
.tv-truth { text-align: center; font-family: var(--g-font); font-size: 2.2vw; color: var(--g-gold-l); }
.tv-truth b { color: #fff; }
.tv-imp { display: flex; align-items: center; gap: 2vw; justify-content: center; }
.tv-imp img { width: 14vw; border-radius: 1.4vw; }
.tv-imp h2 { font-family: var(--g-font); font-weight: 400; font-size: 3vw; margin: 0; }
.tv-imp p { font-size: 1.6vw; }
.chg-clues--tv > div { padding: .4vw 1.6vw .4vw .4vw; }
.chg-clues--tv b { font-size: 1.2vw; }
.chg-clues--tv span { font-size: 1.8vw; }
.chg-clues--tv .chg-av { width: 3vw; height: 3vw; }
.chg-reveal--tv > b { font-size: 3.2vw; }
.chg-reveal--tv span { font-size: 1.6vw; }
.chg-reveal--tv .chg-av { width: 8vw; height: 8vw; }
.tv-gains { display: flex; justify-content: center; gap: 1vw; flex-wrap: wrap; }
.tv-gains span { display: flex; align-items: center; gap: .5vw; background: var(--g-cream); color: var(--g-ink); padding: .3vw 1vw .3vw .3vw; border-radius: 999px; animation: chg-rise .5s both; }
.tv-gains .chg-av { width: 2.6vw; height: 2.6vw; }
.tv-gains b { font-size: 1.1vw; }
.tv-gains em { font-style: normal; font-weight: 900; color: var(--g-ok); font-size: 1.3vw; }
.chg--tv .chg-ended { font-size: 1.4vw; }
.chg--tv .chg-podium .chg-av { width: 7vw; height: 7vw; }
.chg--tv .chg-podium__p b { font-size: 1.4vw; }
.chg--tv .chg-podium__p small { font-size: 1vw; }
@media (max-aspect-ratio: 4/3) {
	.tv-grid { grid-template-columns: 1fr; }
	.tv-mascot, .tv-side { display: none; }
	.chg--tv { font-size: 2.2vw; }
}

/* dark mode of the theme: stage is already dark; keep cards readable */
html[data-theme="dark"] .chg-stage { filter: none; }
