@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&family=Noto+Sans+Devanagari:wght@400;500;600&display=swap');

:root {
    --ink: #073d48;
    --teal: #006d7b;
    --deep: #003d4b;
    --bar-blue: #0d47a1;
    --footer-blue: #0a357c;
    --aqua: #d7f1ee;
    --paper: #ffffff;
    --gold: #e7be76;
    --line: #d5e1de;
    --muted: #516e72;
    --white: #ffffff;
    --shadow: 0 12px 36px #003d4b0b;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 15px/1.72 'DM Sans', 'Noto Sans Devanagari', sans-serif; }
button, input, select, textarea { font: inherit; }
a { color: var(--teal); text-underline-offset: 4px; }
a:hover { color: var(--deep); }
button, .button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .7; }
button, input, select, textarea { border: 1px solid var(--line); border-radius: 10px; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid #c18c30; outline-offset: 4px; }
button, .button { padding: 11px 17px; background: var(--teal); color: white; text-decoration: none; font-weight: 700; display: inline-flex; gap: 9px; align-items: center; justify-content: center; min-height: 44px; border: 1px solid transparent; }
button:hover, .button:hover { background: var(--deep); color: white; }
.button.secondary, button.secondary { background: transparent; border-color: var(--teal); color: var(--teal); }
.button.gold { background: var(--gold); color: var(--deep); }
svg { width: 19px; height: 19px; flex-shrink: 0; vertical-align: middle; }
small { font-size: 12px; }
[hidden] { display: none !important; }
.shell { width: min(100% - 32px, 800px); margin-inline: auto; }
.age-bar { background: var(--bar-blue); color: #e8eefc; font-size: 10px; line-height: 1.55; padding: 8px 0; text-align: center; }
.site-header { position: sticky; top: 0; z-index: 30; background: #fffffff5; border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding-block: 13px; }
.brand { text-decoration: none; display: flex; align-items: center; gap: 8px; flex: 1 1 135px; min-width: 0; }
.brand-name { font: 800 11px/1.3 'Manrope', sans-serif; text-transform: uppercase; max-width: 140px; letter-spacing: .04em; }
.brand .app-icon { width: 34px; height: 34px; border-radius: 10px; font-size: 19px; flex-basis: 34px; }
.site-nav { display: flex; gap: 15px; align-items: center; flex-shrink: 0; }
.site-nav a { font-size: 11px; font-weight: 700; text-decoration: none; white-space: nowrap; }
.site-nav a[aria-current='page'] { color: var(--teal); border-bottom: 2px solid var(--gold); }
.menu-toggle { display: none; }
.breadcrumbs { font-size: 11px; display: flex; flex-wrap: wrap; gap: 7px; color: var(--muted); padding-block: 18px 6px; }
.breadcrumbs a { text-decoration: none; }
main { padding-bottom: 60px; }
h1, h2, h3, h4 { font-family: 'Manrope', 'Noto Sans Devanagari', sans-serif; line-height: 1.25; letter-spacing: -.035em; }
h1 { font-size: clamp(29px, 5.5vw, 47px); margin: 12px 0 18px; font-weight: 800; }
h2 { font-size: clamp(22px, 3.7vw, 29px); margin: 0 0 18px; }
h3 { font-size: 18px; margin: 0 0 10px; }
h4 { font-size: 15px; }
p { margin: 0 0 15px; }
.eyebrow { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .17em; color: var(--teal); display: flex; gap: 10px; align-items: center; margin-bottom: 11px; }
.eyebrow::before { content: ''; width: 27px; height: 2px; background: var(--gold); }
.hero { position: relative; overflow: hidden; padding: 29px 0 35px; border-bottom: 1px solid var(--line); }
.hero::after { content: '❋'; position: absolute; top: -85px; right: -35px; font-size: 330px; line-height: 1; color: #007a8707; pointer-events: none; z-index: -1; }
.hero h1 { max-width: 650px; }
.hero .lead { max-width: 650px; font-size: 16px; color: var(--muted); }
.hero-topline { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.edition { border: 1px solid var(--line); border-radius: 30px; padding: 3px 11px; color: var(--muted); font-size: 10px; }
.searchbar { display: flex; align-items: center; gap: 8px; background: white; padding: 7px; border: 1px solid var(--line); border-radius: 13px; margin: 23px 0 12px; box-shadow: var(--shadow); }
.searchbar input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 8px 10px; }
.searchbar button { border-radius: 8px; }
.search-label { font-size: 11px; display: block; margin-top: 20px; font-weight: 700; }
.search-status { color: var(--muted); font-size: 12px; min-height: 18px; }
.chips { display: flex; gap: 7px; flex-wrap: wrap; align-items: center; }
.chip { text-decoration: none; font-size: 10px; font-weight: 600; padding: 5px 10px; border: 1px solid var(--line); border-radius: 30px; background: white; }
.micro-note { font-size: 11px; color: var(--muted); display: flex; gap: 9px; margin-top: 16px; align-items: flex-start; }
.section { padding-block: 34px 0; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.section-heading h2 { margin: 0; }
.section-heading > a { font-size: 11px; white-space: nowrap; }
.surface { background: white; border: 1px solid var(--line); border-radius: 16px; padding: 23px; box-shadow: var(--shadow); }
.app-icon { position: relative; overflow: hidden; display: inline-grid; place-items: center; width: 48px; height: 48px; flex: 0 0 48px; border-radius: 13px; background: #d8eeea; color: var(--teal); border: 1px solid #b8d4ce; font-size: 25px; }
.app-icon img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; font-size: 0; }
.app-icon img.is-missing { display: none; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 13px; background: white; }
table { width: 100%; border-collapse: collapse; text-align: left; font-size: 12px; }
th { background: #e4efeb; color: var(--deep); font-size: 10px; letter-spacing: .02em; }
th, td { padding: 13px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
tr:last-child td { border: 0; }
tbody tr:nth-child(even) { background: #f8faf8; }
td:first-child { font-weight: 700; }
td .button { padding: 7px 10px; min-height: 34px; font-size: 10px; }
.tabs { display: flex; gap: 7px; border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 15px; }
.tabs button { border-radius: 30px; padding: 7px 19px; min-height: 38px; background: #e5ede9; color: var(--muted); }
.tabs [aria-selected='true'] { background: var(--deep); color: white; }
.app-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px; }
.app-row { display: flex; align-items: center; gap: 10px; padding: 12px; background: white; border: 1px solid var(--line); border-radius: 12px; min-width: 0; }
.app-copy { min-width: 0; flex: 1; }
.app-name { font-size: 11px; line-height: 1.4; font-weight: 800; display: block; text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.app-bonus { font-size: 10px; color: var(--muted); display: block; margin-top: 3px; overflow-wrap: anywhere; }
.app-row .arrow { border: 1px solid var(--line); border-radius: 9px; width: 35px; height: 35px; display: grid; place-items: center; text-decoration: none; flex-shrink: 0; background: #f4f8f5; }
.article-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
.article-card { display: flex; gap: 13px; padding: 17px; background: white; border: 1px solid var(--line); border-radius: 12px; text-decoration: none; }
.article-card .article-emoji { font-size: 22px; background: #e4f1ec; border-radius: 10px; width: 40px; height: 40px; flex: 0 0 40px; display: grid; place-items: center; }
.article-card strong { font-size: 12px; line-height: 1.5; display: block; }
.article-card small { font-size: 10px; color: var(--muted); display: block; margin-top: 5px; }
.choice-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; }
.choice { padding: 21px 17px; background: #e3eeea; border-top: 3px solid var(--teal); border-radius: 0 0 12px 12px; }
.choice:nth-child(2) { background: #e8ebdf; border-color: #b58f50; }
.choice:nth-child(3) { background: #e5eaef; border-color: #728d9c; }
.choice p { font-size: 12px; color: var(--muted); }
.choice .suit { font-size: 28px; display: block; margin-bottom: 14px; }
.choice h3 { font-size: 18px; }
.trust-row { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; border-block: 1px solid var(--line); padding: 18px 0; margin-top: 34px; }
.trust-row > div { display: flex; flex-direction: column; align-items: center; text-align: center; font-size: 10px; gap: 4px; }
.trust-row b { font-size: 12px; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); padding: 16px 0; }
summary { display: flex; align-items: baseline; gap: 9px; cursor: pointer; font-size: 13px; font-weight: 700; list-style: none; }
summary::after { content: '+'; margin-left: auto; font-size: 20px; color: var(--teal); }
details[open] summary::after { content: '−'; }
details p { font-size: 13px; color: var(--muted); padding: 13px 0 0 28px; }
.alert { background: #fff0d9; border: 1px solid #e5c291; border-left: 4px solid #b77929; padding: 19px; border-radius: 10px; font-size: 12px; margin-top: 24px; }
.alert p:last-child { margin-bottom: 0; }
.footer { background: var(--footer-blue); color: #dce6f8; padding: 35px 0 24px; }
.footer a { color: #e8eefc; }
.footer-nav { display: flex; gap: 13px; flex-wrap: wrap; font-size: 11px; padding-bottom: 20px; border-bottom: 1px solid #ffffff26; }
.footer p { font-size: 10px; color: #b8c8e6; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 10px; border-top: 1px solid #ffffff26; padding-top: 17px; }
.float-controls { position: fixed; right: max(10px, calc((100vw - 910px) / 2)); bottom: 20px; display: grid; gap: 7px; z-index: 20; }
.float-controls button { width: 36px; height: 36px; min-height: 36px; padding: 0; background: var(--footer-blue); border: 1px solid #ffffff55; box-shadow: 0 3px 10px #0a357c40; }

/* Floating CS — vertically centered on the right edge of all pages */
.ayo-float-cs {
	position: fixed;
	right: 8px;
	top: 50%;
	transform: translateY(-50%);
	z-index: 9999;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	pointer-events: auto;
}
.ayo-float-cs-close {
	width: 28px;
	height: 28px;
	min-height: 28px;
	padding: 0;
	border-radius: 50%;
	border: 0;
	background: transparent;
	background-color: transparent;
	color: #8b4513;
	font-size: 18px;
	line-height: 1;
	font-weight: 700;
	cursor: pointer;
	box-shadow: none;
}
.ayo-float-cs-close:hover { background: transparent; background-color: transparent; color: #5a2d0c; }
.ayo-float-cs-stack {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
}
.ayo-float-cs-btn {
	display: block;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	overflow: hidden;
	border: 3px solid #fff;
	box-shadow: 0 4px 14px #00000040;
	text-decoration: none;
	background: #229ed9;
	transition: transform .18s ease, box-shadow .18s ease;
}
.ayo-float-cs-btn:hover {
	transform: scale(1.06);
	box-shadow: 0 6px 18px #00000055;
	color: inherit;
}
.ayo-float-cs-btn img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.ayo-float-cs-reopen {
	width: 28px;
	height: 28px;
	min-height: 28px;
	padding: 0;
	border-radius: 50%;
	border: 0;
	background: var(--teal);
	color: #fff;
	font-size: 12px;
	cursor: pointer;
	box-shadow: 0 2px 8px #00000033;
}
.ayo-float-cs.is-collapsed .ayo-float-cs-close,
.ayo-float-cs.is-collapsed .ayo-float-cs-stack { display: none; }
.ayo-float-cs.is-collapsed .ayo-float-cs-reopen { display: grid; place-items: center; }
.ayo-float-cs-reopen[hidden] { display: none !important; }

@media (max-width: 520px) {
	.ayo-float-cs { right: 4px; gap: 6px; }
	.ayo-float-cs-btn { width: 52px; height: 52px; border-width: 2px; }
}
.filter-form { display: flex; gap: 8px; flex-wrap: wrap; align-items: flex-end; background: #e5eeea; border-radius: 12px; padding: 14px; margin: 21px 0 17px; }
.filter-form label { flex: 1; min-width: 135px; font-size: 10px; font-weight: 700; }
.filter-form input, .filter-form select { display: block; width: 100%; background: white; padding: 10px; margin-top: 4px; min-height: 43px; }
.filter-count { font-size: 11px; margin-bottom: 15px; color: var(--muted); }
.app-heading { display: flex; gap: 16px; align-items: center; }
.app-heading h1 { font-size: clamp(28px,4vw,40px); margin: 0; overflow-wrap: anywhere; }
.app-heading .app-icon { flex-basis: 70px; width: 70px; height: 70px; border-radius: 19px; font-size: 37px; }
.metrics { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); margin: 24px 0 18px; border: 1px solid var(--line); border-radius: 12px; background: white; padding: 16px 0; }
.metric { padding: 0 8px; min-width: 0; text-align: center; border-right: 1px solid var(--line); }
.metric:last-child { border: 0; }
.metric small { font-size: 10px; display: block; color: var(--muted); }
.metric strong { font-size: 11px; display: block; overflow-wrap: anywhere; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 17px; }
.actions.stack { display: grid; grid-template-columns: 1fr; }
.spotlight { padding: 27px; background: var(--deep); color: #e7f4ef; border: 1px solid #075768; border-radius: 18px; margin-top: 34px; position: relative; overflow: hidden; }
.spotlight::after { content: '❋'; position: absolute; right: -50px; top: -80px; font-size: 310px; opacity: .04; pointer-events: none; }
.spotlight h2 { font-size: 25px; }
.spotlight .app-row { background: #ffffff0a; border-color: #ffffff2c; color: white; margin-bottom: 19px; }
.spotlight .rule-divider { border-top: 1px solid #ffffff33; padding-top: 16px; margin-top: 16px; font-size: 12px; }
.spotlight a { color: #efd5a6; }
.spotlight .button { color: var(--deep); background: var(--gold); }
.spotlight .button.secondary { color: white; border-color: #ffffff66; background: transparent; }
.horizontal-list { width: 100%; max-width: 100%; min-width: 0; display: flex; gap: 10px; overflow-x: auto; padding-bottom: 13px; scrollbar-color: var(--teal) #e0ebe6; }
.horizontal-list .app-row { flex: 0 0 235px; }
.query-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px; }
.query-grid span { border: 1px solid var(--line); border-radius: 9px; padding: 10px; font-size: 10px; background: white; }
.steps { counter-reset: step; padding: 0; list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; min-width: 0; max-width: 100%; }
.steps > li { min-width: 0; max-width: 100%; overflow-wrap: anywhere; counter-increment: step; position: relative; padding: 15px 17px 15px 53px; background: white; border: 1px solid var(--line); border-radius: 12px; font-size: 13px; }
.steps > li::before { content: counter(step, decimal-leading-zero); position: absolute; left: 14px; top: 14px; color: var(--teal); font-size: 15px; font-weight: 800; }
.toc { background: #e6efeb; border-radius: 13px; padding: 21px; margin-top: 24px; }
.toc ul { columns: 2; padding-left: 18px; margin-bottom: 0; font-size: 12px; }
.toc li { break-inside: avoid; margin-bottom: 7px; }
.article-body { font-size: 15px; }
.article-body section { padding-top: 29px; }
.article-body h2 { font-size: 25px; }
.article-meta { color: var(--muted); font-size: 12px; }
.author-card { display: flex; gap: 15px; background: #e5eeea; border-radius: 13px; padding: 20px; margin-top: 24px; font-size: 12px; }
.author-avatar { width: 44px; flex: 0 0 44px; height: 44px; border-radius: 50%; background: var(--deep); color: var(--gold); display: grid; place-items: center; font-weight: 800; }
blockquote { margin: 20px 0; border-left: 3px solid var(--gold); background: #e8f0eb; padding: 19px; font-size: 15px; }
blockquote cite { display: block; margin-top: 7px; font-size: 11px; color: var(--muted); }
.content-form { display: grid; gap: 13px; margin-top: 20px; }
.content-form label { font-size: 12px; font-weight: 700; }
.content-form input, .content-form textarea { display: block; width: 100%; margin-top: 5px; padding: 11px; background: white; }
.content-form textarea { resize: vertical; min-height: 110px; }
.content-form .check-label { display: flex; align-items: start; gap: 10px; font-weight: 400; }
.content-form [type='checkbox'] { width: 18px; height: 18px; margin: 3px 0 0; }
.form-status { font-size: 12px; color: var(--teal); }
.saved-comment { border: 1px solid var(--line); padding: 16px; border-radius: 10px; margin-top: 12px; background: white; }
.source-list { font-size: 12px; }
.data-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.team-card { padding: 23px; background: white; border: 1px solid var(--line); border-radius: 13px; }
.team-card small { color: var(--teal); display: block; margin-bottom: 12px; }
.team-card p { font-size: 13px; }
.badge { display: inline-block; padding: 4px 9px; border-radius: 6px; background: var(--aqua); font-size: 10px; }
.checklist { display: grid; gap: 10px; padding: 0; list-style: none; }
.checklist label { display: flex; align-items: start; gap: 10px; padding: 14px; background: white; border: 1px solid var(--line); border-radius: 10px; font-size: 13px; }
.checklist input { margin-top: 5px; accent-color: var(--teal); }
.progress { height: 8px; background: #dce7e2; border-radius: 9px; overflow: hidden; }
.progress div { height: 100%; background: var(--teal); width: 0; transition: width .2s; }
.lotus-rule { height: 10px; margin-bottom: 17px; opacity: .45; background: radial-gradient(circle at 50% 100%, transparent 4px, #bd9659 4px, #bd9659 5px, transparent 5px) 0 0 / 18px 10px repeat-x; }
@media (min-width: 740px) { .hero { padding-block: 35px 40px; } }
@media (max-width: 650px) {
    .shell { width: min(100% - 28px,800px); }
    .header-inner { justify-content: space-between; }
    .brand-name { max-width: 190px; font-size: 11px; }
    .menu-toggle { display: inline-flex; background: transparent; color: var(--deep); border: 1px solid var(--line); padding: 7px 12px; min-height: 36px; font-size: 11px; }
    .site-nav { display: none; width: 100%; flex-wrap: wrap; gap: 0; padding-top: 9px; border-top: 1px solid var(--line); }
    .site-nav.is-open { display: flex; }
    .site-nav a { width: 50%; padding: 12px; font-size: 13px; }
    .hero-topline { align-items: flex-start; }
    .edition { font-size: 9px; white-space: nowrap; }
    .eyebrow { font-size: 9px; letter-spacing: .09em; }
    .app-list, .article-list { grid-template-columns: 1fr; }
    .app-row { padding: 12px 14px; }
    .app-name { font-size: 13px; }
    .app-bonus { font-size: 11px; }
    .app-row .arrow { width: 40px; height: 40px; }
    .choice-grid { gap: 8px; }
    .choice { padding: 17px 10px; }
    .choice h3 { font-size: 15px; }
    .choice p { font-size: 10px; line-height: 1.7; }
    .choice a { font-size: 10px; }
    .section-heading > a { font-size: 10px; }
    .section-heading h2 { font-size: 22px; }
    .surface, .spotlight { padding: 19px; }
    .metrics { padding-block: 13px; }
    .metric { padding-inline: 4px; }
    .metric strong { font-size: 9px; }
    .metric small { font-size: 9px; }
    .query-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
    .data-grid { grid-template-columns: 1fr; }
    .toc ul { columns: 1; }
    th, td { padding: 11px 9px; }
    .float-controls { right: 5px; bottom: 14px; opacity: .9; }
    .float-controls button { width: 32px; height: 32px; min-height: 32px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

.article-list > div > .article-list { display: block; height: 100%; }
.article-list > div > .article-list .article-card { height: 100%; }

.data-caption {
    margin: 10px 0 12px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.5;
}
.spotlight .data-caption { color: #c5ded8; }

/* Brand lockup: two deliberate lines keep the logo and navigation balanced. */
.brand { flex: 1 1 160px; gap: 10px; }
.brand-name { display: grid; gap: 4px; max-width: 180px; text-transform: none; }
.brand-title { font: 800 12px/1.2 'Manrope', sans-serif; letter-spacing: -.015em; }
.brand-subtitle { font: 500 9px/1.3 'DM Sans', sans-serif; color: var(--muted); letter-spacing: .025em; }
.brand .app-icon { flex-basis: 40px; width: 40px; height: 40px; border-radius: 12px; }

/* Detail masthead: the app icon sits above a title with room to wrap naturally. */
.app-heading { flex-direction: column; align-items: center; gap: 17px; text-align: center; padding-top: 8px; min-width: 0; }
.app-heading .app-icon { flex: none; width: 82px; height: 82px; border-radius: 24px; box-shadow: 0 7px 22px #006d7b14; border: 5px solid var(--white); outline: 1px solid #c9dcd5; }
.app-heading-copy { width: 100%; min-width: 0; max-width: 680px; }
.app-heading-kicker { display: block; color: var(--teal); font-size: 10px; letter-spacing: .15em; text-transform: uppercase; font-weight: 700; margin-bottom: 9px; }
.app-heading h1 { max-width: 100%; margin: 0 auto; font-size: clamp(28px, 4.6vw, 42px); line-height: 1.22; overflow-wrap: break-word; text-wrap: balance; }
.app-heading-caption { display: block; margin-top: 12px; font-size: 11px; color: var(--muted); letter-spacing: .025em; }
.app-hero .lead { margin: 22px auto 0 !important; text-align: center; max-width: 650px; font-size: 14px; }
.app-hero > .eyebrow { justify-content: center; }
.app-hero > .chips, .app-hero > .actions:not(.stack) { justify-content: center; }

/* The carousel owns its scroll area outside the numbered grid. */
#overview { min-width: 0; max-width: 100%; }
.overview-layout, .overview-layout > .steps { width: 100%; min-width: 0; max-width: 100%; }
.overview-layout .steps { margin: 0; }
.overview-layout .steps > li { padding: 20px 20px 20px 61px; line-height: 1.85; }
.overview-layout .steps > li::before { top: 20px; left: 17px; border-bottom: 2px solid var(--gold); padding-bottom: 4px; }
.overview-games { min-width: 0; max-width: 100%; margin-top: 13px; padding: 20px; border: 1px solid var(--line); border-radius: 14px; background: #eaf1ec; }
.overview-games-heading { display: flex; gap: 15px; align-items: flex-start; min-width: 0; }
.overview-step { flex: 0 0 29px; color: var(--teal); border-bottom: 2px solid var(--gold); font-weight: 800; font-size: 15px; padding-bottom: 4px; }
.overview-games-heading > div { min-width: 0; }
.overview-games h3 { font-size: 17px; margin-bottom: 5px; }
.overview-games-heading p { font-size: 11px; color: var(--muted); margin-bottom: 8px; }
.overview-games .horizontal-list { margin-top: 13px; padding-bottom: 13px; overscroll-behavior-x: contain; scroll-snap-type: x proximity; }
.overview-games .app-row { flex: 0 0 min(248px, 90%); scroll-snap-align: start; }
.overview-related { min-width: 0; max-width: 100%; margin-top: 17px; border-left: 3px solid var(--gold); padding: 4px 0 4px 16px; font-size: 13px; line-height: 1.85; overflow-wrap: anywhere; }
.overview-related p { margin-bottom: 0; }

/* Editorial monograms: fixed-size framed avatars with a distinct palette per role. */
.team-grid { gap: 16px; }
.team-card { --avatar-from: #006d7b; --avatar-to: #003d4b; --avatar-ink: #f6dfad; padding: 24px; border-radius: 19px; border-color: #d0dfd8; background: linear-gradient(150deg, #ffffff 70%, #eef4ee); box-shadow: 0 8px 24px #003d4b06; overflow: hidden; position: relative; }
.team-theme-2 { --avatar-from: #436c66; --avatar-to: #173e40; --avatar-ink: #f4dfb4; }
.team-theme-3 { --avatar-from: #496878; --avatar-to: #203e4b; --avatar-ink: #e4f0e9; }
.team-theme-4 { --avatar-from: #9b7747; --avatar-to: #59462f; --avatar-ink: #fff3d8; }
.team-card-top { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 23px; }
.author-avatar.team-avatar { position: relative; flex: 0 0 76px; width: 76px; height: 76px; border-radius: 24px; border: 5px solid white; outline: 1px solid #cadbd3; background: radial-gradient(ellipse at 25% 0%, #ffffff1c, transparent 70%), linear-gradient(145deg, var(--avatar-from), var(--avatar-to)); color: var(--avatar-ink); box-shadow: 0 6px 15px #003d4b12; isolation: isolate; }
.team-avatar::before { content: ''; position: absolute; inset: 6px; border: 1px solid #e7be764d; border-radius: 14px; z-index: -1; }
.avatar-initials { font: 700 24px/1 'Manrope', sans-serif; letter-spacing: -.045em; }
.avatar-mark { position: absolute; bottom: -6px; right: -7px; display: grid; place-items: center; width: 25px; height: 25px; border-radius: 50%; background: #f0dba9; border: 3px solid white; color: var(--avatar-to); font-size: 13px; line-height: 1; }
.team-index { color: #77918c; font-size: 8px; font-weight: 700; letter-spacing: .14em; text-align: right; line-height: 1.7; }
.team-index > span { display: block; font-family: 'Manrope', sans-serif; font-size: 27px; font-weight: 500; letter-spacing: -.04em; color: #cedcd3; }
.team-identity { padding-bottom: 16px; margin-bottom: 16px; border-bottom: 1px solid var(--line); min-height: 78px; }
.team-identity h3 { font-size: 21px; margin-bottom: 8px; letter-spacing: -.025em; }
.team-card .team-identity small { font-size: 11px; line-height: 1.5; margin: 0; color: var(--teal); }
.team-card > p { font-size: 13px; color: var(--muted); line-height: 1.85; }
.team-card-footer { margin-top: 19px; display: flex; gap: 7px; align-items: center; font-size: 10px; color: var(--teal); font-weight: 600; }
.team-card-footer > span { display: grid; place-items: center; background: #e6eee6; color: var(--teal); width: 24px; height: 24px; border-radius: 7px; font-size: 13px; }
@media (max-width: 650px) {
    .brand-title { font-size: 12px; }
    .brand-subtitle { font-size: 9px; }
    .app-heading .app-icon { width: 76px; height: 76px; border-radius: 22px; }
    .app-heading h1 { font-size: clamp(27px, 7vw, 35px); }
    .app-heading-caption { font-size: 10px; }
    .overview-layout .steps > li { padding: 17px 15px 17px 49px; font-size: 12px; }
    .overview-layout .steps > li::before { top: 17px; left: 13px; font-size: 14px; }
    .overview-games { padding: 16px; }
    .overview-games h3 { font-size: 16px; }
    .team-card { padding: 23px; }
    .team-identity { min-height: 0; }
    .team-card-top { margin-bottom: 21px; }
}

/* Homepage podium — visual order Top 2 | Top 1 | Top 3 */
.podium-section .data-caption { margin-top: -8px; margin-bottom: 22px; color: var(--muted); font-size: 13px; }
.podium-stage {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	align-items: end;
	padding: 8px 4px 4px;
}
.podium-stand {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	text-decoration: none;
	color: inherit;
	background: white;
	border: 1px solid var(--line);
	border-radius: 16px 16px 10px 10px;
	padding: 14px 10px 16px;
	box-shadow: var(--shadow);
	min-width: 0;
	transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.podium-stand:hover {
	transform: translateY(-4px);
	border-color: #9fc4bc;
	box-shadow: 0 16px 36px #003d4b14;
	color: inherit;
}
.podium-place-label {
	display: inline-block;
	font: 800 10px/1 'Manrope', sans-serif;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--deep);
	background: #e4efeb;
	border-radius: 999px;
	padding: 5px 10px;
	margin-bottom: 12px;
}
.podium-stand .app-icon {
	width: 56px;
	height: 56px;
	flex-basis: 56px;
	border-radius: 16px;
	font-size: 28px;
	margin-bottom: 10px;
}
.podium-stand-name {
	font-size: 12px;
	line-height: 1.35;
	font-weight: 800;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 2.7em;
	margin-bottom: 6px;
}
.podium-stand-rating {
	font-size: 11px;
	font-weight: 700;
	color: #b8860b;
	margin-bottom: 4px;
}
.podium-stand-bonus {
	font-size: 11px;
	font-weight: 700;
	color: var(--teal);
	margin-bottom: 2px;
}
.podium-stand-min {
	font-size: 10px;
	color: var(--muted);
	margin-bottom: 12px;
}
.podium-stand-cta {
	font-size: 10px;
	font-weight: 800;
	color: white;
	background: var(--teal);
	border-radius: 8px;
	padding: 8px 12px;
	width: 100%;
}
.podium-stand:hover .podium-stand-cta { background: var(--deep); }
.podium-place-1 {
	padding-top: 28px;
	padding-bottom: 26px;
	min-height: 292px;
	border-color: #c9b07a;
	background: linear-gradient(180deg, #fff9ec 0%, #ffffff 48%);
	order: 2;
}
.podium-place-1 .podium-place-label {
	background: var(--gold);
	color: var(--deep);
}
.podium-place-1 .app-icon {
	width: 72px;
	height: 72px;
	flex-basis: 72px;
	border-radius: 20px;
	font-size: 34px;
	border-color: #d4b978;
}
.podium-place-2 { order: 1; min-height: 252px; padding-top: 18px; }
.podium-place-2 .podium-place-label { background: #dce8ef; color: #2a4a5c; }
.podium-place-3 { order: 3; min-height: 228px; padding-top: 12px; }
.podium-place-3 .podium-place-label { background: #efe4d6; color: #6a4a28; }

@media (max-width: 520px) {
	.podium-stage { gap: 6px; }
	.podium-stand { padding: 12px 6px 14px; border-radius: 14px 14px 8px 8px; }
	.podium-stand-name { font-size: 10px; min-height: 2.8em; }
	.podium-stand-bonus, .podium-stand-min { font-size: 9px; }
	.podium-stand .app-icon { width: 44px; height: 44px; flex-basis: 44px; border-radius: 12px; font-size: 22px; }
	.podium-place-1 { min-height: 250px; padding-top: 20px; padding-bottom: 18px; }
	.podium-place-1 .app-icon { width: 58px; height: 58px; flex-basis: 58px; border-radius: 16px; font-size: 28px; }
	.podium-place-2 { min-height: 220px; }
	.podium-place-3 { min-height: 200px; }
	.podium-stand-cta { padding: 7px 6px; font-size: 9px; }
}

/* Friendship links + centered footer (kept from later fixes) */
.friend-links { margin: 18px 0 22px; padding-top: 8px; text-align: center; }
.friend-links-list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 14px; justify-content: center; }
.friend-links-list a { font-size: 11px; text-decoration: none; color: #d4e9e6; border-bottom: 1px solid #ffffff33; padding-bottom: 2px; }
.friend-links-list a:hover { color: #efd5a6; }
.footer { text-align: center; }
.footer-nav { justify-content: center; }
.footer p { text-align: center; margin-left: auto; margin-right: auto; max-width: 640px; }
.footer-bottom { justify-content: center; text-align: center; }

@media (min-width: 960px) {
  .shell { width: min(100% - 48px, 860px); }
  .app-list { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px; }
  .article-list { gap: 12px; }
}
