/* IPL Retention: site styles. */

/* Light "auction catalogue" look by default; dark is opt-in via the header toggle. */
:root {
	--bg: #f6f3ec;
	--paper: #fffdf8;
	--paper-2: #f0ebe0;
	--ink: #0f1b3d;
	--ink-2: #3c4766;
	--muted: #6b7287;
	--line: #e3dccd;
	--navy: #0f1b3d;
	--navy-2: #1a2a5c;
	--saffron: #ff7a1a;
	--saffron-ink: #ffffff;
	--saffron-soft: #fff0e3;
	--gold: #f4b63f;
	--good: #0f8a5f;
	--radius: 18px;
	--radius-sm: 10px;
	--shadow: 0 1px 0 rgba(15, 27, 61, .04), 0 10px 30px -18px rgba(15, 27, 61, .35);
	--display: "Bricolage Grotesque", "Manrope", system-ui, sans-serif;
	--font: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
	color-scheme: light;
}

html[data-theme="dark"] {
	--bg: #0a1024;
	--paper: #111a36;
	--paper-2: #18244a;
	--ink: #f3f1ea;
	--ink-2: #c9cde0;
	--muted: #8f97b5;
	--line: #243262;
	--navy: #050a1a;
	--navy-2: #111a36;
	--saffron-soft: rgba(255, 122, 26, .14);
	--shadow: 0 10px 30px -18px rgba(0, 0, 0, .8);
	color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; letter-spacing: -.025em; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
table { width: 100%; border-collapse: collapse; font-size: .92rem; }
th, td { text-align: left; padding: .7rem .9rem; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { color: var(--muted); font-weight: 700; font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; background: var(--paper-2); }
.num { text-align: right; font-variant-numeric: tabular-nums; }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 2px; }
[hidden] { display: none !important; }

.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
@media (max-width: 560px) { .wrap { padding: 0 16px; } }

/* ------------------------------ Ticker + header ------------------------------ */
.ticker { background: var(--navy); color: #fff; font-size: .8rem; font-weight: 600; }
.ticker .wrap { display: flex; gap: 10px 22px; align-items: center; justify-content: center; min-height: 36px; flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px; text-align: center; }
.ticker b { color: var(--gold); }
.ticker .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--saffron); box-shadow: 0 0 0 4px rgba(255, 122, 26, .25); display: inline-block; margin-right: 6px; animation: pulse 1.8s infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(255, 122, 26, 0); } }

.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 18px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; white-space: nowrap; }
.brand-mark { width: 36px; height: 36px; border-radius: 10px; background: var(--saffron); color: #fff; display: grid; place-items: center; font: 800 1.05rem/1 var(--display); transform: rotate(-6deg); box-shadow: 3px 3px 0 var(--navy); }
html[data-theme="dark"] .brand-mark { box-shadow: 3px 3px 0 var(--gold); }
.brand b { display: block; font: 800 1.1rem/1 var(--display); letter-spacing: -.02em; }
.brand small { display: block; font-size: .68rem; font-weight: 700; color: var(--saffron); letter-spacing: .12em; text-transform: uppercase; margin-top: 3px; }
.nav { display: flex; gap: 4px; flex: 1; justify-content: flex-end; overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { padding: 8px 12px; border-radius: 999px; text-decoration: none; color: var(--ink-2); font-size: .88rem; font-weight: 600; white-space: nowrap; }
.nav a:hover { background: var(--paper-2); color: var(--ink); }
.theme-toggle { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--paper); color: var(--ink); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.theme-toggle:hover { border-color: var(--ink-2); }
.theme-toggle .sun, html[data-theme="dark"] .theme-toggle .moon { display: none; }
html[data-theme="dark"] .theme-toggle .sun { display: block; }
@media (max-width: 820px) {
	.site-header .wrap { flex-wrap: wrap; gap: 0 12px; padding-top: 10px; }
	.theme-toggle { margin-left: auto; }
	.nav { order: 3; flex-basis: 100%; justify-content: flex-start; margin: 6px -12px 0; padding: 0 0 8px; }
}

/* ---------------------------------- Buttons ---------------------------------- */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font-weight: 800; font-size: .95rem; text-decoration: none; background: var(--saffron); color: var(--saffron-ink); border: 2px solid var(--saffron); transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 20px -10px var(--saffron); }
.btn.alt { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.alt:hover { box-shadow: 0 10px 20px -12px var(--ink); }
.btn .arr { transition: transform .15s; }
.btn:hover .arr { transform: translateX(3px); }

/* ----------------------------------- Hero ----------------------------------- */
.hero { padding: 56px 0 40px; position: relative; }
.hero-grid { display: grid; gap: 36px; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: center; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero { padding-top: 32px; } }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: var(--saffron-soft); color: var(--saffron); font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 18px; }
.hero h1 { font-size: clamp(2.5rem, 6.4vw, 4.6rem); font-weight: 800; letter-spacing: -.045em; line-height: .98; margin-bottom: 20px; }
.hero h1 em { font-style: normal; color: var(--saffron); position: relative; white-space: nowrap; }
.hero h1 em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .04em; height: .12em; background: var(--gold); border-radius: 4px; z-index: -1; opacity: .7; }
.hero .lede { font-size: 1.08rem; color: var(--ink-2); max-width: 58ch; margin-bottom: 28px; }
.btns { display: flex; gap: 12px; flex-wrap: wrap; }

.deadline { background: var(--navy); color: #fff; border-radius: 24px; padding: 26px; position: relative; overflow: hidden; box-shadow: var(--shadow); }
html[data-theme="dark"] .deadline { background: linear-gradient(160deg, #1a2a5c, #0b1430); border: 1px solid var(--line); }
.deadline::before { content: "2027"; position: absolute; right: -10px; bottom: -34px; font: 800 7.5rem/1 var(--display); color: rgba(255, 255, 255, .05); letter-spacing: -.05em; pointer-events: none; }
.deadline .lbl { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.deadline h2 { font-size: 1.5rem; margin: 6px 0 18px; color: #fff; }
.count { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 20px; }
.count div { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .1); border-radius: 12px; padding: 12px 4px; text-align: center; }
.count b { display: block; font: 800 1.9rem/1 var(--display); font-variant-numeric: tabular-nums; }
.count span { font-size: .66rem; text-transform: uppercase; letter-spacing: .1em; color: rgba(255, 255, 255, .6); }
.keydates { display: grid; gap: 10px; position: relative; }
.keydate { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 12px; background: rgba(255, 255, 255, .06); }
.keydate .cal { flex: none; width: 46px; text-align: center; border-radius: 8px; overflow: hidden; background: #fff; color: var(--navy); }
.keydate .cal small { display: block; background: var(--saffron); color: #fff; font-size: .6rem; font-weight: 800; letter-spacing: .08em; padding: 2px 0; }
.keydate .cal b { display: block; font: 800 1.2rem/1.5 var(--display); }
.keydate strong { display: block; font-size: .95rem; }
.keydate p { margin: 0; font-size: .8rem; color: rgba(255, 255, 255, .65); }

.figures { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 44px; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); }
.figures div { padding: 18px 16px; border-right: 1px solid var(--line); }
.figures div:last-child { border-right: 0; }
.figures b { display: block; font: 800 1.9rem/1.1 var(--display); letter-spacing: -.03em; }
.figures span { font-size: .8rem; color: var(--muted); font-weight: 600; }
@media (max-width: 700px) { .figures { grid-template-columns: repeat(2, 1fr); } .figures div:nth-child(2) { border-right: 0; } .figures div:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }

/* --------------------------------- Sections --------------------------------- */
.sec { padding: 56px 0 0; scroll-margin-top: 80px; }
.sec-head { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; align-items: end; margin-bottom: 22px; }
.sec-num { font: 800 .8rem/1 var(--display); color: var(--saffron); letter-spacing: .1em; grid-row: 1; }
.sec-head h2 { grid-column: 1 / -1; font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 800; margin: 0; }
.sec-head .lede { grid-column: 1 / -1; color: var(--ink-2); max-width: 75ch; margin: 8px 0 0; }

.panel { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.panel p { color: var(--ink-2); }
.panel p:last-child { margin-bottom: 0; }
.panel strong { color: var(--ink); }

.datanote { display: flex; gap: 14px; align-items: flex-start; margin-top: 40px; padding: 16px 18px; border-radius: var(--radius-sm); background: var(--saffron-soft); border-left: 4px solid var(--saffron); font-size: .88rem; color: var(--ink-2); }
.datanote .ico { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--saffron); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .8rem; }
.datanote p { margin: 0; }

.about-grid { display: grid; gap: 18px; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }
.about-grid .panel p { font-size: 1.02rem; }
.flow { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.flow li { counter-increment: s; position: relative; padding: 0 0 22px 46px; }
.flow li:last-child { padding-bottom: 0; }
.flow li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: #fff; font: 800 .9rem/32px var(--display); text-align: center; }
html[data-theme="dark"] .flow li::before { background: var(--saffron); }
.flow li:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 34px; bottom: 2px; border-left: 2px dashed var(--line); }
.flow b { display: block; font-family: var(--display); font-size: 1.05rem; }
.flow span { font-size: .86rem; color: var(--muted); }

/* ------------------------------- Team picker ------------------------------- */
.team-tabs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-bottom: 18px; }
@media (max-width: 820px) { .team-tabs { grid-template-columns: repeat(5, minmax(84px, 1fr)); overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; } }
.team-tabs button { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); font: inherit; cursor: pointer; text-align: left; position: relative; overflow: hidden; transition: border-color .15s, transform .15s; }
.team-tabs button::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--tc, var(--ink)); }
.team-tabs button b { font: 800 1.1rem/1.1 var(--display); }
.team-tabs button small { font-size: .7rem; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.team-tabs button:hover { transform: translateY(-2px); border-color: var(--tc, var(--ink)); }
.team-tabs button.on { background: var(--tc, var(--ink)); border-color: var(--tc, var(--ink)); color: var(--tc-ink, #fff); }
.team-tabs button.on small { color: inherit; opacity: .8; }
@media (max-width: 820px) { .team-tabs button small { display: none; } .team-tabs button { align-items: center; } }

.squad { --tc: var(--navy); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); scroll-margin-top: 80px; }
.squad-banner { background: var(--tc); color: var(--tc-ink, #fff); padding: 24px 26px; position: relative; overflow: hidden; display: flex; flex-wrap: wrap; gap: 16px 24px; align-items: flex-end; justify-content: space-between; }
.squad-banner::after { content: attr(data-abbr); position: absolute; right: 14px; top: -22px; font: 800 7rem/1 var(--display); letter-spacing: -.05em; opacity: .12; pointer-events: none; }
.squad-banner h3 { font-size: clamp(1.4rem, 3vw, 2rem); margin: 0 0 12px; font-weight: 800; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { padding: 5px 11px; border-radius: 999px; background: rgba(255, 255, 255, .18); font-size: .8rem; font-weight: 700; }
.squad-banner[data-light] .chips span { background: rgba(0, 0, 0, .1); }
.search { position: relative; z-index: 1; width: 100%; max-width: 260px; padding: 10px 14px; border-radius: 999px; border: 0; background: rgba(255, 255, 255, .92); color: #0f1b3d; font: inherit; font-size: .88rem; }
.search::placeholder { color: #6b7287; }
.squad td.p { font-weight: 700; color: var(--ink); }
.squad tbody tr:hover td { background: var(--paper-2); }
.squad tbody tr:last-child td { border-bottom: 0; }
.squad td { color: var(--ink-2); }
.squad td.num { font-weight: 800; color: var(--ink); font-family: var(--display); }
.ovs { display: inline-block; margin-left: 8px; padding: 1px 6px; border-radius: 4px; font-size: .62rem; font-weight: 800; letter-spacing: .06em; background: var(--saffron-soft); color: var(--saffron); vertical-align: middle; }
.role { display: inline-block; padding: 3px 9px; border-radius: 999px; font-size: .74rem; font-weight: 700; white-space: nowrap; }
.role.bat { background: #e6efff; color: #1d4ed8; }
.role.wk { background: #f3e8ff; color: #7e22ce; }
.role.ar { background: #e3f7ee; color: #0f8a5f; }
.role.bowl { background: #ffeede; color: #c2410c; }
html[data-theme="dark"] .role.bat { background: rgba(59, 130, 246, .18); color: #93c5fd; }
html[data-theme="dark"] .role.wk { background: rgba(168, 85, 247, .18); color: #d8b4fe; }
html[data-theme="dark"] .role.ar { background: rgba(16, 185, 129, .18); color: #6ee7b7; }
html[data-theme="dark"] .role.bowl { background: rgba(249, 115, 22, .18); color: #fdba74; }
.table-wrap { overflow-x: auto; }
@media (max-width: 560px) { .hide-sm { display: none; } th, td { padding: .6rem .6rem; } .squad-banner { padding: 20px 18px; } .search { max-width: none; } }

/* ------------------------------ Trades ------------------------------ */
.trades { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); margin-top: 18px; }
.trade { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); position: relative; }
.trade .fee { position: absolute; top: 18px; right: 18px; font: 800 1rem/1 var(--display); color: var(--good); }
.trade b { display: block; font: 800 1.15rem/1.2 var(--display); margin-bottom: 12px; padding-right: 90px; }
.trade .move { display: flex; align-items: center; gap: 8px; font-size: .84rem; color: var(--ink-2); }
.trade .move i { font-style: normal; color: var(--saffron); font-weight: 800; }
.trade .move span { flex: 1; min-width: 0; }

/* --------------------------- Status / pending --------------------------- */
.split { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.pending { border: 2px dashed var(--line); background: transparent; box-shadow: none; }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: .74rem; font-weight: 800; letter-spacing: .04em; background: var(--navy); color: #fff; margin-bottom: 14px; }
html[data-theme="dark"] .tag { background: var(--saffron); }
.tag.warn { background: var(--gold); color: #3b2600; }
.pending h3 { font-size: 1.35rem; }

.auction { display: grid; gap: 18px; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: start; }
@media (max-width: 900px) { .auction { grid-template-columns: 1fr; } }
.kv { border-radius: var(--radius); overflow: hidden; }
.kv td { padding: .85rem 1.1rem; font-size: .94rem; }
.kv td:first-child { color: var(--muted); font-weight: 600; width: 44%; }
.kv td:last-child { font-weight: 700; }
.kv tr:last-child td { border-bottom: 0; }

/* ------------------------------------ FAQ ------------------------------------ */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; transition: border-color .15s; }
.faq details[open] { border-color: var(--saffron); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; font: 700 1.02rem/1.35 var(--display); position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); width: 28px; height: 28px; border-radius: 50%; background: var(--paper-2); display: grid; place-items: center; font: 600 1.2rem/1 var(--font); transition: transform .2s, background .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--saffron); color: #fff; }
.faq details p { color: var(--ink-2); margin: 0 0 18px; }

/* ---------------------------------- CTA band ---------------------------------- */
.band { margin-top: 72px; background: var(--saffron); color: #fff; position: relative; overflow: hidden; }
.band .wrap { padding-top: 56px; padding-bottom: 56px; display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; position: relative; }
.band::before { content: "17.11"; position: absolute; left: -20px; top: 50%; transform: translateY(-50%); font: 800 14rem/1 var(--display); color: rgba(255, 255, 255, .1); letter-spacing: -.06em; pointer-events: none; }
.band h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin: 0 0 8px; font-weight: 800; }
.band p { margin: 0; max-width: 56ch; opacity: .92; }
.band .btn { background: var(--navy); border-color: var(--navy); color: #fff; }

/* ---------------------------------- Footer ---------------------------------- */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .7); padding: 48px 0 28px; font-size: .88rem; }
html[data-theme="dark"] .site-footer { border-top: 1px solid var(--line); }
.site-footer .cols { display: grid; gap: 28px; grid-template-columns: 1.4fr repeat(3, 1fr); margin-bottom: 32px; }
@media (max-width: 820px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer h4 { color: #fff; margin: 0 0 12px; font: 700 .78rem/1 var(--font); text-transform: uppercase; letter-spacing: .12em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 8px 0; }
.site-footer a { color: rgba(255, 255, 255, .7); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.disclaimer { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 20px; font-size: .78rem; margin: 0; }

.entry { padding: 48px 0; }
.entry-content { max-width: 75ch; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } html { scroll-behavior: auto; } }

/* ------------------------- Block-editor content mapping ------------------------- */
body { overflow-x: clip; }
.home-blocks > * + * { margin-top: 0; }
.wp-block-group { box-sizing: border-box; }
figure.wp-block-table { margin: 0; }
.wp-block-table table { border-collapse: collapse; width: 100%; }
.wp-block-table thead { border-bottom: 0; }
.wp-block-table td, .wp-block-table th { border: 0; border-bottom: 1px solid var(--line); padding: .7rem .9rem; }
.wp-block-table th { text-align: left; }
.wp-block-table td:nth-child(4), .wp-block-table th:nth-child(4) { text-align: right; }

/* Hero */
.hero h1 { color: var(--ink); }
.hero-copy > .eyebrow { margin-top: 0; }
.wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
.wp-block-button { margin: 0; }
.wp-block-button__link, .wp-block-button__link.wp-element-button { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; font: 800 .95rem/1.2 var(--font); text-decoration: none; background: var(--saffron); color: var(--saffron-ink); border: 2px solid var(--saffron); transition: transform .15s, box-shadow .15s; }
.wp-block-button__link:hover { transform: translateY(-2px); box-shadow: 0 10px 20px -10px var(--saffron); color: var(--saffron-ink); }
.wp-block-button:first-child .wp-block-button__link::after { content: "→"; }
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--ink); border-color: var(--ink); }
.wp-block-button.is-style-outline .wp-block-button__link:hover { box-shadow: 0 10px 20px -12px var(--ink); }
.figures p { margin: 0; padding: 18px 16px; border-right: 1px solid var(--line); font-size: .8rem; color: var(--muted); font-weight: 600; }
.figures p:last-child { border-right: 0; }
.figures p strong { display: block; font: 800 1.9rem/1.1 var(--display); letter-spacing: -.03em; color: var(--ink); }
@media (max-width: 700px) { .figures p:nth-child(2) { border-right: 0; } .figures p:nth-child(-n+2) { border-bottom: 1px solid var(--line); } }
p.datanote::before { content: "i"; flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--saffron); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: .8rem; }
p.datanote strong { color: var(--ink); margin-right: 4px; }

/* Section heads made of blocks: number, h2, optional lede */
.sec > .sec-num { margin: 0 0 10px; }
.sec > h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 800; margin: 0 0 22px; }
.sec > .lede { color: var(--ink-2); max-width: 75ch; margin: -10px 0 22px; }
.panel > h3 { font-size: 1.15rem; margin-bottom: 16px; }
ul.flow b { color: var(--ink); }

/* Trades table as a ledger */
.trades-table { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.trades-table td:first-child { font: 800 1.02rem/1.3 var(--display); color: var(--ink); }
.trades-table td:nth-child(2) { color: var(--ink-2); }
.trades-table td:nth-child(3), .trades-table th:nth-child(3) { text-align: right; font: 800 1rem/1.3 var(--display); color: var(--good); white-space: nowrap; }
.trades-table tr:last-child td { border-bottom: 0; }

.split > .sec { padding-top: 56px; }
.split .panel.pending { height: calc(100% - 0px); }
p.tag { margin: 0 0 14px; }
.kv-table { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.kv-table td { padding: .85rem 1.1rem; font-size: .94rem; }
.kv-table td:first-child { color: var(--muted); font-weight: 600; width: 44%; }
.kv-table td:last-child { font-weight: 700; text-align: left; }
.kv-table tr:last-child td { border-bottom: 0; }
.panel .updated, p.updated { font-size: .82rem; color: var(--muted); }

/* FAQ from core/details */
.faq details.wp-block-details { background: var(--paper); border: 1px solid var(--line); border-radius: 14px; padding: 0 20px; margin: 0; }
.faq details.wp-block-details[open] { border-color: var(--saffron); }
.faq details.wp-block-details > p { color: var(--ink-2); margin: 0 0 18px; }

/* Full-bleed band */
.band { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); padding: 56px max(20px, calc(50vw - 560px)); display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; justify-content: space-between; }
.band > * { position: relative; }
.band-copy h2 { color: #fff; }
.band .wp-block-button__link { background: var(--navy); border-color: var(--navy); color: #fff; }
.band .wp-block-button__link:hover { box-shadow: 0 10px 20px -10px var(--navy); color: #fff; }
body.home main { padding-bottom: 0; }
body.home .site-footer { margin-top: 0; }

/* Team colours (tab + banner) */
.team-csk { --tc: #f9cd05; --tc-ink: #1a1a1a; }
.team-dc { --tc: #17479e; }
.team-gt { --tc: #1b2133; }
.team-kkr { --tc: #3a225d; }
.team-lsg { --tc: #0057a8; }
.team-mi { --tc: #004ba0; }
.team-pbks { --tc: #d71920; }
.team-rr { --tc: #e4007c; }
.team-rcb { --tc: #b3171e; }
.team-srh { --tc: #f26522; }
html[data-theme="dark"] .team-gt { --tc: #2f3b5c; }
.squad > .squad-banner { margin: 0; }
.squad-banner > div { position: relative; z-index: 1; }

/* Inner pages */
.entry { padding: 40px 0 72px; max-width: 820px; }
.entry h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -.04em; margin: 8px 0 6px; }
.entry > .updated { margin-bottom: 24px; }
.entry-content { max-width: none; font-size: 1.02rem; }
.entry-content h2 { font-size: 1.4rem; margin: 1.6em 0 .5em; }
.entry-content h2:first-child { margin-top: 0; }
.entry-content p, .entry-content li { color: var(--ink-2); }
.entry-content a { color: var(--saffron); font-weight: 700; }
.crumbs { font-size: .82rem; color: var(--muted); }
.crumbs a { color: var(--ink-2); text-decoration: none; font-weight: 600; }
.crumbs a:hover { color: var(--saffron); }
.contact-form { display: grid; gap: 14px; max-width: 560px; }
.contact-form label { display: grid; gap: 6px; font-weight: 700; font-size: .9rem; }
.contact-form input, .contact-form textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--bg); color: var(--ink); font: inherit; font-weight: 500; }
.contact-form input:focus, .contact-form textarea:focus { outline: 0; border-color: var(--saffron); box-shadow: 0 0 0 3px var(--saffron-soft); }
.contact-form .btn { justify-self: start; cursor: pointer; }
.contact-form .hp { position: absolute; left: -9999px; }
.form-msg { padding: 12px 16px; border-radius: 12px; background: var(--saffron-soft); color: var(--ink); font-weight: 600; }
.form-msg.ok { background: #e3f7ee; color: #0f8a5f; }
.wp-block-table table.has-fixed-layout { table-layout: auto; }
/* Classic themes wrap group children in an inner container; let the children join the parent's grid/flex. */
.wp-block-group__inner-container { display: contents; }
.squad td.num { white-space: nowrap; }
