/* ============================================================
   Cricket Express – Live Cricket Widgets
   6 styles: card / list / ticker / fixtures / results / grid
   ============================================================ */

.cel-w {
	--cel-accent: #22c55e;
	--cel-h: 250px;
	--cel-radius: 14px;
	--cel-bg1: #14241e;
	--cel-bg2: #0a1310;
	--cel-surf: rgba(255, 255, 255, .045);
	--cel-surf2: rgba(255, 255, 255, .07);
	--cel-line: rgba(255, 255, 255, .09);
	--cel-txt: #f1f6f3;
	--cel-mut: #93a9a0;
	--cel-live: #ff5a5f;
	--cel-shadow: 0 10px 30px rgba(4, 14, 10, .28);

	box-sizing: border-box;
	position: relative;
	color: var(--cel-txt);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, "Helvetica Neue", Arial, sans-serif;
	-webkit-font-smoothing: antialiased;
	line-height: 1.35;
}

.cel-w.cel-light {
	--cel-bg1: #ffffff;
	--cel-bg2: #f3f7f5;
	--cel-surf: rgba(9, 30, 23, .035);
	--cel-surf2: rgba(9, 30, 23, .06);
	--cel-line: rgba(9, 30, 23, .10);
	--cel-txt: #0d221b;
	--cel-mut: #61756d;
	--cel-live: #e11d48;
	--cel-shadow: 0 8px 24px rgba(9, 30, 23, .10);
}

.cel-w *,
.cel-w *::before,
.cel-w *::after { box-sizing: border-box; }

.cel-w a { text-decoration: none; color: inherit; }
.cel-w img { max-width: none; }

/* ---------- shared surface ---------- */
.cel-surface {
	background: linear-gradient(158deg, var(--cel-bg1) 0%, var(--cel-bg2) 70%);
	border: 1px solid var(--cel-line);
	border-radius: var(--cel-radius);
	box-shadow: var(--cel-shadow);
	overflow: hidden;
	position: relative;
}
.cel-surface::before {
	content: "";
	position: absolute;
	inset: 0 0 auto 0;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--cel-accent), transparent);
	opacity: .55;
}

/* ---------- header ---------- */
.cel-hd {
	display: flex;
	align-items: center;
	gap: 7px;
	padding: 10px 12px;
	border-bottom: 1px solid var(--cel-line);
	background: var(--cel-surf);
	flex: 0 0 auto;
}
.cel-badge {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	font-size: 9px;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
	padding: 4px 8px;
	border-radius: 999px;
	background: var(--cel-surf2);
	color: var(--cel-mut);
	flex: 0 0 auto;
	white-space: nowrap;
}
.cel-badge.is-live { background: rgba(255, 90, 95, .16); background: color-mix(in srgb, var(--cel-live) 18%, transparent); color: var(--cel-live); }
.cel-badge.is-up   { background: rgba(34, 197, 94, .15); background: color-mix(in srgb, var(--cel-accent) 16%, transparent); color: var(--cel-accent); }
.cel-dot {
	width: 6px; height: 6px; border-radius: 50%;
	background: currentColor; flex: 0 0 auto;
}
.cel-badge.is-live .cel-dot { animation: cel-pulse 1.5s ease-out infinite; }
@keyframes cel-pulse {
	0%   { box-shadow: 0 0 0 0 currentColor; opacity: 1; }
	70%  { box-shadow: 0 0 0 6px transparent; opacity: .7; }
	100% { box-shadow: 0 0 0 0 transparent; opacity: 1; }
}
.cel-series {
	flex: 1 1 auto; min-width: 0;
	font-size: 10.5px; font-weight: 600; color: var(--cel-mut);
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cel-fmt {
	flex: 0 0 auto;
	font-size: 9px; font-weight: 800; letter-spacing: .06em;
	color: var(--cel-accent);
	padding: 3px 6px; border-radius: 5px;
	background: rgba(34, 197, 94, .13);
	background: color-mix(in srgb, var(--cel-accent) 13%, transparent);
}

/* ---------- avatars ---------- */
.cel-av {
	position: relative;
	display: inline-flex; align-items: center; justify-content: center;
	width: 38px; height: 38px; border-radius: 50%;
	background: var(--cel-surf2);
	border: 1px solid var(--cel-line);
	font-size: 11px; font-weight: 800; letter-spacing: .02em;
	color: var(--cel-accent);
	overflow: hidden; flex: 0 0 auto;
}
.cel-av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.cel-av.cel-sm { width: 28px; height: 28px; font-size: 9px; }

/* ============================================================
   1. FEATURED CARD  (300x250)
   ============================================================ */
.cel-t-card {
	width: 300px; max-width: 100%;
	height: var(--cel-h);
	display: flex; flex-direction: column;
}
.cel-t-card .cel-surface { display: flex; flex-direction: column; height: 100%; }

.cel-duel {
	flex: 1 1 auto;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 6px;
	padding: 12px 10px 8px;
	min-height: 0;
}
.cel-side { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; text-align: center; }
.cel-side .cel-tn {
	font-size: 11px; font-weight: 700; line-height: 1.2;
	max-width: 100%;
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
	overflow: hidden;
}
.cel-side .cel-sc {
	font-size: 19px; font-weight: 800; letter-spacing: -.5px;
	font-variant-numeric: tabular-nums; line-height: 1;
}
.cel-side .cel-sc small { font-size: 12px; font-weight: 700; opacity: .75; }
.cel-side .cel-ov { font-size: 9.5px; color: var(--cel-mut); font-weight: 600; }
.cel-side.is-dim { opacity: .55; }
.cel-side.is-dim .cel-av { filter: grayscale(.4); }

.cel-vs {
	display: flex; flex-direction: column; align-items: center; gap: 4px;
	font-size: 9px; font-weight: 800; letter-spacing: .12em; color: var(--cel-mut);
	padding: 0 2px;
}
.cel-vs::before, .cel-vs::after {
	content: ""; width: 1px; height: 16px;
	background: linear-gradient(var(--cel-line), transparent);
}
.cel-vs::after { background: linear-gradient(transparent, var(--cel-line)); }

.cel-prog {
	height: 3px; margin: 0 12px 8px;
	background: var(--cel-surf2); border-radius: 999px; overflow: hidden;
}
.cel-prog i {
	display: block; height: 100%; border-radius: 999px;
	background: var(--cel-accent);
	background: linear-gradient(90deg, var(--cel-accent), color-mix(in srgb, var(--cel-accent) 40%, #ffffff));
	transition: width .6s ease;
}
.cel-msg {
	flex: 0 0 auto;
	margin: 0 10px 8px;
	padding: 7px 9px;
	border-radius: 8px;
	background: var(--cel-surf);
	border-left: 2px solid var(--cel-accent);
	font-size: 10.5px; font-weight: 600; color: var(--cel-txt);
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
	min-height: 32px;
}
.cel-ft {
	flex: 0 0 auto;
	display: flex; align-items: center; justify-content: space-between; gap: 8px;
	padding: 0 12px 10px;
}
.cel-pips { display: flex; gap: 4px; }
.cel-pip {
	width: 5px; height: 5px; padding: 0; border: 0; border-radius: 999px;
	background: var(--cel-mut); opacity: .3; cursor: pointer;
	transition: width .25s, opacity .25s;
}
.cel-pip.is-on { width: 16px; opacity: 1; background: var(--cel-accent); }
.cel-ago { font-size: 9px; color: var(--cel-mut); white-space: nowrap; letter-spacing: .02em; }
.cel-fade { animation: cel-in .35s ease both; }
@keyframes cel-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }

/* countdown pill inside card */
.cel-cd {
	display: inline-flex; align-items: baseline; gap: 3px;
	font-size: 13px; font-weight: 800; font-variant-numeric: tabular-nums;
	color: var(--cel-accent);
}
.cel-cd span { font-size: 8.5px; font-weight: 700; color: var(--cel-mut); letter-spacing: .05em; }

/* ============================================================
   2. SCORE LIST  (sidebar, scrollable)
   ============================================================ */
.cel-t-list { width: 300px; max-width: 100%; }
.cel-t-list .cel-surface { display: flex; flex-direction: column; max-height: var(--cel-h); }
.cel-scroll {
	overflow-y: auto; overscroll-behavior: contain;
	scrollbar-width: thin; scrollbar-color: var(--cel-surf2) transparent;
}
.cel-scroll::-webkit-scrollbar { width: 4px; }
.cel-scroll::-webkit-scrollbar-thumb { background: var(--cel-surf2); border-radius: 999px; }

.cel-item {
	display: block; padding: 10px 12px;
	border-bottom: 1px solid var(--cel-line);
	transition: background .18s;
}
.cel-item:last-child { border-bottom: 0; }
.cel-item:hover { background: var(--cel-surf); }
.cel-item-top {
	display: flex; align-items: center; gap: 6px; margin-bottom: 7px;
}
.cel-tag {
	font-size: 8px; font-weight: 800; letter-spacing: .09em; text-transform: uppercase;
	padding: 2px 5px; border-radius: 4px; background: var(--cel-surf2); color: var(--cel-mut); flex: 0 0 auto;
}
.cel-tag.is-live { background: rgba(255, 90, 95, .16); background: color-mix(in srgb, var(--cel-live) 18%, transparent); color: var(--cel-live); }
.cel-tag.is-up { background: rgba(34, 197, 94, .14); background: color-mix(in srgb, var(--cel-accent) 15%, transparent); color: var(--cel-accent); }
.cel-item-top .cel-series { font-size: 9.5px; }

.cel-row {
	display: flex; align-items: center; gap: 8px; padding: 3px 0;
}
.cel-row .cel-tn {
	flex: 1 1 auto; min-width: 0;
	font-size: 12px; font-weight: 700;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cel-row .cel-sc {
	flex: 0 0 auto; font-size: 12.5px; font-weight: 800;
	font-variant-numeric: tabular-nums; letter-spacing: -.2px;
}
.cel-row .cel-sc small { font-size: 9.5px; font-weight: 600; color: var(--cel-mut); margin-left: 2px; }
.cel-row.is-dim { opacity: .58; }
.cel-row.is-win .cel-tn { color: var(--cel-accent); }
.cel-row.is-win .cel-tn::after {
	content: "▲"; font-size: 6px; margin-left: 5px; vertical-align: middle; opacity: .9;
}
.cel-note {
	margin-top: 7px; font-size: 9.5px; color: var(--cel-mut); font-weight: 600;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ============================================================
   3. TICKER  (full width strip)
   ============================================================ */
.cel-t-ticker { width: 100%; }
.cel-t-ticker .cel-surface { border-radius: 10px; }
.cel-tk {
	display: flex; align-items: stretch; min-height: 46px;
}
.cel-tk-label {
	display: flex; align-items: center; gap: 6px;
	padding: 0 12px; flex: 0 0 auto;
	background: rgba(34, 197, 94, .15);
	background: color-mix(in srgb, var(--cel-accent) 16%, transparent);
	color: var(--cel-accent);
	font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
	border-right: 1px solid var(--cel-line);
}
.cel-tk-mask { flex: 1 1 auto; overflow: hidden; position: relative; }
.cel-tk-mask::after {
	content: ""; position: absolute; inset: 0 0 0 auto; width: 40px; pointer-events: none;
	background: linear-gradient(90deg, transparent, var(--cel-bg2));
}
.cel-tk-track {
	display: flex; align-items: center; gap: 0;
	width: max-content;
	animation: cel-marq linear infinite;
}
.cel-tk:hover .cel-tk-track, .cel-tk-track:hover { animation-play-state: paused; }
@keyframes cel-marq { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.cel-tk-item {
	display: flex; align-items: center; gap: 8px;
	padding: 0 16px; height: 46px;
	border-right: 1px solid var(--cel-line);
	white-space: nowrap;
}
.cel-tk-item .cel-tk-fmt {
	font-size: 8px; font-weight: 800; letter-spacing: .08em;
	padding: 2px 5px; border-radius: 4px;
	background: var(--cel-surf2); color: var(--cel-mut);
}
.cel-tk-item.is-live .cel-tk-fmt { background: rgba(255, 90, 95, .16); background: color-mix(in srgb, var(--cel-live) 18%, transparent); color: var(--cel-live); }
.cel-tk-team { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; }
.cel-tk-team b { font-weight: 800; font-variant-numeric: tabular-nums; }
.cel-tk-team.is-dim { opacity: .6; }
.cel-tk-sep { font-size: 9px; color: var(--cel-mut); font-weight: 700; }
.cel-tk-note { font-size: 10px; color: var(--cel-mut); font-weight: 600; max-width: 230px; overflow: hidden; text-overflow: ellipsis; }

/* ============================================================
   4. FIXTURES  (countdown)
   ============================================================ */
.cel-t-fixtures { width: 300px; max-width: 100%; }
.cel-t-fixtures .cel-surface { display: flex; flex-direction: column; max-height: var(--cel-h); }
.cel-fx {
	display: flex; align-items: center; gap: 10px;
	padding: 11px 12px; border-bottom: 1px solid var(--cel-line);
}
.cel-fx:last-child { border-bottom: 0; }
.cel-fx-when {
	flex: 0 0 auto; width: 54px; text-align: center;
	padding: 5px 3px; border-radius: 8px;
	background: var(--cel-surf); border: 1px solid var(--cel-line);
}
.cel-fx-when b { display: block; font-size: 13px; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.cel-fx-when span { display: block; font-size: 8px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--cel-mut); margin-top: 2px; }
.cel-fx-main { flex: 1 1 auto; min-width: 0; }
.cel-fx-teams { font-size: 12px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cel-fx-teams i { font-style: normal; color: var(--cel-mut); font-weight: 600; margin: 0 4px; font-size: 10px; }
.cel-fx-meta { font-size: 9.5px; color: var(--cel-mut); font-weight: 600; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cel-fx-cd {
	flex: 0 0 auto; font-size: 10px; font-weight: 800; color: var(--cel-accent);
	font-variant-numeric: tabular-nums; letter-spacing: -.1px;
}

/* ============================================================
   5. RESULTS
   ============================================================ */
.cel-t-results { width: 300px; max-width: 100%; }
.cel-t-results .cel-surface { display: flex; flex-direction: column; max-height: var(--cel-h); }
.cel-rs { padding: 11px 12px; border-bottom: 1px solid var(--cel-line); position: relative; }
.cel-rs:last-child { border-bottom: 0; }
.cel-rs-win {
	display: inline-flex; align-items: center; gap: 4px;
	font-size: 9px; font-weight: 700; color: var(--cel-accent);
	margin-top: 7px;
}
.cel-rs-win::before {
	content: ""; width: 12px; height: 12px; flex: 0 0 auto;
	background: currentColor;
	-webkit-mask: no-repeat center/12px url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
	mask: no-repeat center/12px url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
}

/* ============================================================
   6. GRID  (full width page section)
   ============================================================ */
.cel-t-grid { width: 100%; }
.cel-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); /* fallback */
	grid-template-columns: repeat(var(--cel-cols, 4), minmax(0, 1fr));
	gap: 14px;
}
.cel-gc {
	display: flex; flex-direction: column;
	background: linear-gradient(158deg, var(--cel-bg1) 0%, var(--cel-bg2) 70%);
	border: 1px solid var(--cel-line);
	border-radius: var(--cel-radius);
	box-shadow: var(--cel-shadow);
	overflow: hidden;
	transition: transform .2s ease, box-shadow .2s ease;
}
.cel-gc:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(4, 14, 10, .32); }
.cel-gc-body { padding: 12px; display: flex; flex-direction: column; gap: 9px; }
.cel-gc .cel-row .cel-sc { font-size: 14px; }
.cel-gc-foot {
	padding: 9px 12px; border-top: 1px solid var(--cel-line);
	background: var(--cel-surf);
	font-size: 10px; font-weight: 600; color: var(--cel-mut);
	display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.cel-gc-foot span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ============================================================
   7. SKYSCRAPER  (single article sidebar — scores + your news)
   ============================================================ */
.cel-t-skyscraper { width: var(--cel-w, 300px); max-width: 100%; }
.cel-t-skyscraper .cel-surface {
	display: flex; flex-direction: column;
	height: var(--cel-h, 600px);
}
.cel-live-slot { flex: 0 0 auto; border-bottom: 1px solid var(--cel-line); }

.cel-sky {
	padding-bottom: 9px;
}
.cel-sky .cel-row { padding: 4px 12px; }
.cel-sky-note {
	margin: 6px 12px 0;
	padding: 6px 8px;
	border-radius: 7px;
	background: var(--cel-surf);
	border-left: 2px solid var(--cel-accent);
	font-size: 10px; font-weight: 600; color: var(--cel-txt);
	display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.cel-sky-ft {
	display: flex; align-items: center; justify-content: space-between;
	padding: 8px 12px 0;
}

/* section divider */
.cel-sec {
	display: flex; align-items: center; gap: 8px;
	padding: 10px 12px;
	flex: 0 0 auto;
	background: var(--cel-surf);
	border-bottom: 1px solid var(--cel-line);
}
.cel-sec-bar {
	width: 3px; height: 12px; border-radius: 2px; flex: 0 0 auto;
	background: var(--cel-accent);
}
.cel-sec b {
	font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
	color: var(--cel-txt);
}

/* news list */
.cel-news { flex: 1 1 auto; min-height: 0; }
.cel-post {
	display: flex; gap: 10px; align-items: flex-start;
	padding: 10px 12px;
	border-bottom: 1px solid var(--cel-line);
	transition: background .18s;
}
.cel-post:last-child { border-bottom: 0; }
.cel-post:hover { background: var(--cel-surf); }
.cel-post:hover .cel-post-t { color: var(--cel-accent); }
.cel-post-th {
	width: 56px; height: 46px; flex: 0 0 auto;
	border-radius: 8px; object-fit: cover; display: block;
	background: var(--cel-surf2); border: 1px solid var(--cel-line);
}
.cel-post-ph {
	display: flex; align-items: center; justify-content: center;
	font-size: 16px; font-weight: 800; color: var(--cel-accent);
}
.cel-post-b { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cel-post-t {
	font-size: 11.5px; font-weight: 700; line-height: 1.35;
	display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
	transition: color .18s;
}
.cel-post-m { font-size: 9px; color: var(--cel-mut); font-weight: 600; }
.cel-post-m em { font-style: normal; color: var(--cel-accent); }

.cel-more {
	display: flex; align-items: center; justify-content: center; gap: 6px;
	flex: 0 0 auto;
	padding: 11px 12px;
	border-top: 1px solid var(--cel-line);
	background: var(--cel-surf);
	font-size: 10.5px; font-weight: 800; letter-spacing: .04em;
	color: var(--cel-accent);
	transition: background .18s;
}
.cel-more:hover { background: var(--cel-surf2); }
.cel-more i {
	width: 12px; height: 12px; background: currentColor;
	-webkit-mask: no-repeat center/12px url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
	mask: no-repeat center/12px url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
	transition: transform .18s;
}
.cel-more:hover i { transform: translateX(3px); }

/* ============================================================
   States: skeleton / empty / demo
   ============================================================ */
.cel-skel {
	display: flex; flex-direction: column; gap: 12px;
	padding: 16px 14px;
	min-height: 160px;
	border-radius: var(--cel-radius);
	border: 1px solid var(--cel-line);
	background: linear-gradient(158deg, var(--cel-bg1), var(--cel-bg2));
}
.cel-t-ticker .cel-skel { min-height: 46px; padding: 12px; }
.cel-sk {
	display: block; height: 11px; border-radius: 7px;
	background: linear-gradient(90deg, var(--cel-surf), var(--cel-surf2), var(--cel-surf));
	background-size: 200% 100%;
	animation: cel-shine 1.25s linear infinite;
}
@keyframes cel-shine { from { background-position: 200% 0; } to { background-position: -200% 0; } }

.cel-empty {
	display: flex; flex-direction: column; align-items: center; justify-content: center;
	gap: 6px; padding: 26px 18px; text-align: center; min-height: 120px;
}
.cel-empty strong { font-size: 13px; font-weight: 800; }
.cel-empty span { font-size: 11px; color: var(--cel-mut); line-height: 1.5; }
.cel-empty .cel-ball {
	width: 26px; height: 26px; border-radius: 50%; margin-bottom: 2px;
	background: var(--cel-surf2); border: 1px solid var(--cel-line);
	position: relative;
}
.cel-empty .cel-ball::after {
	content: ""; position: absolute; left: 50%; top: 3px; bottom: 3px; width: 1px;
	background: var(--cel-mut); opacity: .5;
}
.cel-demo {
	position: absolute; top: 8px; right: 8px; z-index: 3;
	font-size: 8px; font-weight: 800; letter-spacing: .09em;
	padding: 2px 5px; border-radius: 4px;
	background: rgba(234, 179, 8, .2); color: #eab308;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1100px) {
	.cel-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
}

@media (max-width: 782px) {
	.cel-t-card, .cel-t-list, .cel-t-fixtures, .cel-t-results, .cel-t-skyscraper {
		width: 100%; max-width: 340px; margin-left: auto; margin-right: auto;
	}
	.cel-t-skyscraper .cel-surface { height: auto; max-height: var(--cel-h, 600px); }
	.cel-grid { grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
}

@media (max-width: 480px) {
	.cel-t-card { height: auto; min-height: var(--cel-h); }
	.cel-duel { padding: 14px 8px 10px; }
	.cel-side .cel-sc { font-size: 18px; }
	.cel-side .cel-tn { font-size: 10.5px; }
	.cel-tk-label { padding: 0 9px; font-size: 9px; }
	.cel-tk-item { padding: 0 12px; }
	.cel-tk-note { display: none; }
	.cel-grid { grid-template-columns: 1fr; }
	.cel-fx-when { width: 48px; }
	.cel-t-skyscraper .cel-surface { height: auto; max-height: none; }
	.cel-news { max-height: 420px; overflow-y: auto; }
}

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