/* ==========================================================================
   The website's design system, v3 (2026-11-20).

   The owner, 2026-11-20: "ওয়েব সাইট এর অবস্থা ভয়াবহ … দুনিয়া সেরা ওয়েবসাইট
   বানাও". One system for the public pages and the account pages, in the TV
   app's own Jade palette (TvTokens.kt): deep navy, jade light, glass panes.

   Rules kept from before: nothing is loaded from another site (fonts arrive
   self-hosted once approved; until then the system faces below), contrast
   measured (jade on navy 10.11:1; ink-2 on navy 11.9:1; ink-3 on navy 6.8:1),
   and white is never set on jade (1.86:1) - jade buttons carry navy ink.
   ========================================================================== */

:root {
  /* colour */
  --bg: #060A18;
  --bg-2: #0A1028;
  --bg-3: #0E1733;
  --glass: rgba(255, 255, 255, .045);
  --glass-2: rgba(255, 255, 255, .075);
  --glass-3: rgba(255, 255, 255, .11);
  --line: rgba(255, 255, 255, .09);
  --line-2: rgba(255, 255, 255, .16);
  --line-3: rgba(255, 255, 255, .26);
  --ink: #F5F8FC;
  --ink-2: #CBD5E3;
  --ink-3: #96A5BB;
  --jade: #16DDBC;
  --jade-2: #12C4A7;
  --jade-deep: #0A9E86;
  --jade-ink: #03231D;
  --jade-glow: rgba(22, 221, 188, .35);
  --danger: #FF8E8E;
  --danger-bg: rgba(255, 110, 110, .10);
  --warm: #FFC979;

  /* type */
  --f-sans: "Sora", "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, Roboto, "Noto Sans",
    "Noto Sans Bengali", "Nirmala UI", "Noto Sans Devanagari", sans-serif;
  --f-body: "Noto Sans", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, Roboto,
    "Noto Sans Bengali", "Nirmala UI", "Noto Sans Devanagari", sans-serif;
  --f-mono: ui-monospace, "Cascadia Mono", Consolas, "SF Mono", Menlo, monospace;
  --t-xs: .8125rem;
  --t-sm: .9375rem;
  --t-md: 1rem;
  --t-lg: 1.125rem;
  --t-xl: clamp(1.25rem, 1.1rem + .6vw, 1.5rem);
  --t-2xl: clamp(1.6rem, 1.3rem + 1.3vw, 2.25rem);
  --t-3xl: clamp(2.1rem, 1.5rem + 2.6vw, 3.5rem);
  --t-4xl: clamp(2.6rem, 1.6rem + 4.4vw, 5.25rem);

  /* space, shape, depth */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 72px; --s-9: 112px;
  --r-sm: 10px; --r-md: 14px; --r-lg: 20px; --r-xl: 28px; --r-pill: 999px;
  --shadow-1: 0 1px 0 rgba(255, 255, 255, .06) inset, 0 10px 30px -12px rgba(0, 0, 0, .55);
  --shadow-2: 0 1px 0 rgba(255, 255, 255, .08) inset, 0 30px 80px -24px rgba(0, 0, 0, .75);
  --ring: 0 0 0 3px var(--bg), 0 0 0 6px var(--jade);

  /* motion */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --fast: 160ms;
  --mid: 260ms;

  color-scheme: dark;
}

/* --- base ------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html, body { margin: 0; background: var(--bg); color: var(--ink); }
body {
  font: 400 var(--t-md)/1.6 var(--f-body);
  min-height: 100vh; min-height: 100dvh;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--jade); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: #5FF0D7; }
h1, h2, h3, h4 { font-family: var(--f-sans); color: var(--ink); margin: 0; text-wrap: balance; letter-spacing: -.02em; }
h1 { font-size: var(--t-3xl); line-height: 1.08; font-weight: 700; }
h2 { font-size: var(--t-2xl); line-height: 1.15; font-weight: 650; }
h3 { font-size: var(--t-xl); line-height: 1.25; font-weight: 600; letter-spacing: -.01em; }
p { margin: 0 0 var(--s-4); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 650; color: var(--ink); }
:focus-visible { outline: none; box-shadow: var(--ring); border-radius: var(--r-sm); }
::selection { background: rgba(22, 221, 188, .35); color: var(--ink); }
.muted { color: var(--ink-3); }
.lead { color: var(--ink-2); font-size: var(--t-lg); line-height: 1.6; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font: 600 var(--t-xs)/1 var(--f-sans);
  letter-spacing: .14em; text-transform: uppercase; color: var(--jade); margin-bottom: var(--s-4); }
.eyebrow::before { content: ""; width: 18px; height: 1px; background: currentColor; opacity: .7; }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Bengali and Devanagari: taller lines for the marks above and below, never letter-spacing. */
:lang(bn), :lang(hi) { letter-spacing: normal; }
:lang(bn) body, :lang(hi) body, body:lang(bn), body:lang(hi) { line-height: 1.75; }
:lang(bn) h1, :lang(bn) h2, :lang(bn) h3, :lang(hi) h1, :lang(hi) h2, :lang(hi) h3 { letter-spacing: 0; line-height: 1.35; }
:lang(bn) .eyebrow, :lang(hi) .eyebrow { letter-spacing: 0; text-transform: none; font-size: var(--t-sm); }

/* --- the shell -------------------------------------------------------------- */
.skip { position: absolute; left: -9999px; top: 10px; z-index: 50; padding: 10px 16px; border-radius: var(--r-pill);
  background: var(--jade); color: var(--jade-ink); font-weight: 650; text-decoration: none; }
.skip:focus { left: 12px; }
.wrap { width: min(1200px, 100% - 40px); margin-inline: auto; }
.wrap.narrow { width: min(760px, 100% - 40px); }

.topbar { position: sticky; top: 0; z-index: 40; backdrop-filter: saturate(140%) blur(18px);
  -webkit-backdrop-filter: saturate(140%) blur(18px);
  background: linear-gradient(to bottom, rgba(6, 10, 24, .86), rgba(6, 10, 24, .62));
  border-bottom: 1px solid var(--line); }
.topbar .wrap { display: flex; align-items: center; gap: var(--s-5); min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none;
  font: 700 1.125rem/1 var(--f-sans); letter-spacing: -.01em; }
.brand:hover { color: var(--ink); }
.brand-mark { width: 34px; height: 34px; border-radius: 10px; flex: none;
  background: linear-gradient(145deg, #3CF0D2, var(--jade-deep)); color: var(--jade-ink);
  display: grid; place-items: center; box-shadow: 0 6px 18px -6px var(--jade-glow), 0 1px 0 rgba(255, 255, 255, .45) inset; }
.brand-mark svg { width: 20px; height: 20px; }
.nav { display: flex; align-items: center; gap: var(--s-1); margin-left: auto; }
.nav a { color: var(--ink-2); text-decoration: none; font: 500 var(--t-sm)/1 var(--f-sans);
  padding: 10px 12px; border-radius: var(--r-pill); transition: color var(--fast) var(--ease), background var(--fast) var(--ease); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); background: var(--glass-2); }
.nav .btn { margin-left: var(--s-2); }
.nav form { margin: 0; }
.lang-links { display: inline-flex; padding: 3px; border-radius: var(--r-pill); border: 1px solid var(--line-2); background: var(--glass); }
.lang-links a { padding: 7px 11px; font-size: var(--t-xs); }
.lang-links a[aria-current="page"] { background: var(--glass-3); color: var(--ink); }
@media (max-width: 860px) {
  .nav .hide-sm { display: none; }
}
@media (max-width: 560px) {
  .topbar .wrap { gap: var(--s-3); min-height: 60px; }
  .nav a { padding: 9px 9px; }
  .brand span { display: none; }
}

.site-main { padding-block: var(--s-7) var(--s-9);
  background:
    radial-gradient(60% 45% at 50% -8%, rgba(22, 221, 188, .11), transparent 62%),
    radial-gradient(40% 35% at 92% 0%, rgba(110, 120, 255, .08), transparent 60%); }
.footer { border-top: 1px solid var(--line); background: linear-gradient(to bottom, var(--bg), #040712);
  padding: var(--s-8) 0 var(--s-7); color: var(--ink-3); font-size: var(--t-sm); }
.footer .cols { display: grid; gap: var(--s-6); grid-template-columns: 1.4fr repeat(3, 1fr); }
.footer h2 { font: 600 var(--t-sm)/1.2 var(--f-sans); color: var(--ink); letter-spacing: 0; margin-bottom: var(--s-4); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { color: var(--ink-3); text-decoration: none; }
.footer a:hover { color: var(--ink); }
.footer .statement-sm { margin-top: var(--s-4); max-width: 46ch; }
.footer .legal-line { margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-3); }
@media (max-width: 860px) { .footer .cols { grid-template-columns: 1fr 1fr; } .footer .cols > :first-child { grid-column: 1 / -1; } }

/* --- buttons ---------------------------------------------------------------- */
.btn, button {
  -webkit-appearance: none; appearance: none;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 46px; padding: 0 22px; border-radius: var(--r-pill);
  border: 1px solid transparent; cursor: pointer; text-decoration: none; white-space: nowrap;
  font: 650 var(--t-sm)/1 var(--f-sans); letter-spacing: 0;
  background: linear-gradient(180deg, #2BF0CE, var(--jade-2)); color: var(--jade-ink);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .5) inset, 0 10px 28px -10px var(--jade-glow);
  transition: transform var(--fast) var(--ease), box-shadow var(--fast) var(--ease), background var(--fast) var(--ease);
}
.btn:hover, button:hover { color: var(--jade-ink); transform: translateY(-1px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .55) inset, 0 16px 36px -12px var(--jade-glow); }
.btn:active, button:active { transform: translateY(0); }
.btn.secondary, button.secondary { background: var(--glass-2); color: var(--ink); border-color: var(--line-2);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .06) inset; }
.btn.secondary:hover, button.secondary:hover { background: var(--glass-3); color: var(--ink); border-color: var(--line-3); }
.btn.ghost, button.ghost { background: transparent; color: var(--ink-2); box-shadow: none; border-color: transparent; }
.btn.ghost:hover, button.ghost:hover { color: var(--ink); background: var(--glass); }
.btn.danger, button.danger { background: linear-gradient(180deg, #FF9B9B, #F06A6A); color: #2A0606;
  box-shadow: 0 10px 28px -12px rgba(255, 110, 110, .5); }
.btn.small, button.small { min-height: 38px; padding: 0 16px; font-size: var(--t-xs); }
.btn.block, button.block { width: 100%; }
button.link { background: none; border: 0; box-shadow: none; min-height: 0; padding: 0; color: var(--ink-2);
  font: 500 var(--t-sm)/1 var(--f-sans); }
button.link:hover { color: var(--ink); transform: none; box-shadow: none; }
.btn svg, button svg { width: 18px; height: 18px; flex: none; }
.row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-3); margin-top: var(--s-5); }
.inline { display: inline; }

/* Google's own button, dark theme (Google Identity branding guidelines): the
   four-colour "G" on #131314, a #8E918F rim, #E3E3E3 text. */
.google-form { margin: 0; }
button.google { width: 100%; background: #131314; color: #E3E3E3; border: 1px solid #8E918F; box-shadow: none;
  font: 500 var(--t-sm)/1 Roboto, var(--f-body); gap: 12px; }
button.google:hover { background: #1C1D1F; color: #F1F1F1; box-shadow: none; transform: none; }
button.google svg { width: 18px; height: 18px; }

/* --- surfaces --------------------------------------------------------------- */
.card { position: relative; background: linear-gradient(180deg, var(--glass-2), var(--glass));
  border: 1px solid var(--line); border-radius: var(--r-lg); padding: var(--s-6); box-shadow: var(--shadow-1); }
.card + .card { margin-top: var(--s-4); }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: var(--r-pill);
  border: 1px solid var(--line-2); font: 600 var(--t-xs)/1 var(--f-sans); color: var(--ink-3); white-space: nowrap; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge.works { color: var(--jade); border-color: rgba(22, 221, 188, .45); background: rgba(22, 221, 188, .08); }
.badge.inprogress { color: var(--warm); border-color: rgba(255, 201, 121, .4); background: rgba(255, 201, 121, .07); }
.badge.planned { color: var(--ink-3); }

.notice, .error { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-md);
  font-size: var(--t-sm); line-height: 1.5; margin: 0 0 var(--s-5); }
.notice { background: rgba(22, 221, 188, .08); border: 1px solid rgba(22, 221, 188, .35); color: var(--ink); }
.error { background: var(--danger-bg); border: 1px solid rgba(255, 142, 142, .4); color: #FFD3D3; }
.notice::before, .error::before { content: ""; flex: none; width: 8px; height: 8px; margin-top: 7px; border-radius: 50%; }
.notice::before { background: var(--jade); box-shadow: 0 0 0 4px rgba(22, 221, 188, .18); }
.error::before { background: var(--danger); box-shadow: 0 0 0 4px rgba(255, 142, 142, .18); }

/* --- forms ------------------------------------------------------------------ */
label { display: block; margin: 0 0 8px; color: var(--ink-2); font: 500 var(--t-sm)/1.3 var(--f-sans); }
.field { margin-bottom: var(--s-5); }
input[type=email], input[type=password], input[type=text] {
  width: 100%; min-height: 50px; padding: 0 16px; border-radius: var(--r-md);
  border: 1px solid var(--line-2); background: rgba(3, 7, 20, .55); color: var(--ink);
  font: 400 var(--t-md)/1.2 var(--f-body);
  transition: border-color var(--fast) var(--ease), box-shadow var(--fast) var(--ease), background var(--fast) var(--ease);
}
input::placeholder { color: #6B7A91; }
input:hover { border-color: var(--line-3); }
input:focus, input:focus-visible { outline: none; border-color: var(--jade); background: rgba(3, 7, 20, .8);
  box-shadow: 0 0 0 4px rgba(22, 221, 188, .16); border-radius: var(--r-md); }
.hint { margin-top: 8px; color: var(--ink-3); font-size: var(--t-xs); }
.divider { display: flex; align-items: center; gap: 14px; margin: var(--s-5) 0; color: var(--ink-3);
  font: 500 var(--t-xs)/1 var(--f-sans); text-transform: uppercase; letter-spacing: .12em; }
.divider::before, .divider::after { content: ""; height: 1px; flex: 1; background: var(--line-2); }
:lang(bn) .divider, :lang(hi) .divider { letter-spacing: 0; text-transform: none; }
.code { font: 650 1.9rem/1.2 var(--f-mono); letter-spacing: .22em; text-transform: uppercase; }
input.code { min-height: 64px; text-align: center; font-size: 1.6rem; }

/* --- the account area ------------------------------------------------------- */
.page { width: min(980px, 100% - 40px); margin-inline: auto; }
.page-head { margin-bottom: var(--s-6); }
.page-head h1 { font-size: var(--t-3xl); }
.page-head .lead { margin-top: var(--s-3); max-width: 60ch; }
.account-grid { display: grid; gap: var(--s-5); grid-template-columns: 1.1fr .9fr; align-items: start; }
.account-grid > *, .page > section.card { margin: 0; }
@media (max-width: 860px) { .account-grid { grid-template-columns: 1fr; } }
.profile { display: flex; gap: var(--s-4); align-items: center; }
.avatar { width: 56px; height: 56px; border-radius: 50%; flex: none; display: grid; place-items: center;
  font: 700 1.25rem/1 var(--f-sans); color: var(--jade-ink);
  background: radial-gradient(circle at 30% 25%, #6FF7DF, var(--jade-deep)); box-shadow: 0 10px 24px -10px var(--jade-glow); }
.profile h2 { font-size: var(--t-xl); }
.facts { list-style: none; padding: 0; margin: var(--s-5) 0 0; display: grid; gap: 0; }
.facts li { display: flex; justify-content: space-between; gap: var(--s-4); padding: 14px 0; border-top: 1px solid var(--line);
  color: var(--ink-3); font-size: var(--t-sm); }
.facts li span:last-child { color: var(--ink); text-align: right; }
.tiles { display: grid; gap: var(--s-3); }
.tile { display: flex; align-items: center; gap: var(--s-4); padding: var(--s-4) var(--s-5); border-radius: var(--r-md);
  background: var(--glass); border: 1px solid var(--line); color: var(--ink); text-decoration: none;
  transition: background var(--fast) var(--ease), border-color var(--fast) var(--ease), transform var(--fast) var(--ease); }
.tile:hover { background: var(--glass-2); border-color: var(--line-2); color: var(--ink); transform: translateY(-1px); }
.ico { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; flex: none;
  background: rgba(22, 221, 188, .1); color: var(--jade); border: 1px solid rgba(22, 221, 188, .25); }
.ico svg { width: 20px; height: 20px; }
.tile strong { display: block; font: 600 var(--t-md)/1.3 var(--f-sans); }
.tile small { display: block; color: var(--ink-3); font-size: var(--t-xs); margin-top: 3px; }
.tile.danger .ico { background: var(--danger-bg); color: var(--danger); border-color: rgba(255, 142, 142, .3); }
.tile .chev { margin-left: auto; color: var(--ink-3); }
ul.devices { list-style: none; padding: 0; margin: 0; }
ul.devices li { display: flex; align-items: center; justify-content: space-between; gap: var(--s-4); padding: var(--s-4) 0;
  border-top: 1px solid var(--line); }
ul.devices li:first-child { border-top: 0; padding-top: 0; }
fieldset.replace { border: 0; padding: 0; margin: var(--s-4) 0 0; }
fieldset.replace legend { padding: 0; margin-bottom: var(--s-3); }
fieldset.replace label { display: flex; align-items: center; gap: var(--s-3); cursor: pointer; }
fieldset.replace input[type=radio] { width: 18px; height: 18px; accent-color: var(--jade); flex: none; }
.meter { display: flex; gap: 6px; margin-top: var(--s-3); }
.meter i { flex: 1; height: 6px; border-radius: 3px; background: var(--glass-3); }
.meter i.on { background: linear-gradient(90deg, var(--jade), #7CF5E0); box-shadow: 0 0 12px -2px var(--jade-glow); }

/* --- signing in: one card over a quiet wall of posters ---------------------- */
.auth { position: relative; min-height: calc(100vh - 68px); min-height: calc(100dvh - 68px); display: grid;
  place-items: center; padding: var(--s-7) 20px calc(var(--s-7) + 28px); overflow: hidden; isolation: isolate; }
.auth-wall { position: absolute; inset: -14% -10%; z-index: -2; display: grid; gap: 18px;
  grid-template-columns: repeat(8, minmax(120px, 1fr)); transform: rotate(-8deg) scale(1.08); opacity: .95;
  pointer-events: none; }
.auth::before { content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(34% 58% at 50% 46%, rgba(6, 10, 24, .86), rgba(6, 10, 24, .5) 70%, rgba(6, 10, 24, .38)),
    linear-gradient(to bottom, rgba(6, 10, 24, .75), rgba(6, 10, 24, 0) 30%, rgba(6, 10, 24, 0) 70%, rgba(6, 10, 24, .9)); }
.wall-tile { aspect-ratio: 2 / 3; border-radius: 14px; overflow: hidden; position: relative;
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .9); border: 1px solid rgba(255, 255, 255, .06); }
.wall-tile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.wall-tile:nth-child(8n+2), .wall-tile:nth-child(8n+5), .wall-tile:nth-child(8n+7) { transform: translateY(40%); }
@media (max-width: 760px) { .auth-wall { grid-template-columns: repeat(4, minmax(90px, 1fr)); opacity: .35; } }
/* CC BY asks for the credit where the posters are shown. */
.auth-credit { position: absolute; left: 20px; right: 20px; bottom: 14px; margin: 0; text-align: center;
  font-size: var(--t-xs); color: var(--ink-3); text-shadow: 0 1px 8px rgba(0, 0, 0, .8); }
.auth-credit a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }

.auth-card { width: min(440px, 100%); padding: var(--s-6) var(--s-6) var(--s-5);
  background: linear-gradient(180deg, rgba(20, 30, 54, .78), rgba(10, 16, 36, .86));
  border: 1px solid var(--line-2); border-radius: var(--r-xl); box-shadow: var(--shadow-2);
  backdrop-filter: blur(22px) saturate(140%); -webkit-backdrop-filter: blur(22px) saturate(140%); }
.auth-card .brand { margin-bottom: var(--s-5); }
.auth-card h1 { font-size: clamp(1.7rem, 1.4rem + 1.2vw, 2.1rem); }
.auth-card .sub { color: var(--ink-3); margin: 8px 0 var(--s-5); font-size: var(--t-sm); }
.auth-card form .btn, .auth-card form button[type=submit]:not(.google) { width: 100%; }
.auth-foot { margin-top: var(--s-5); padding-top: var(--s-4); border-top: 1px solid var(--line);
  color: var(--ink-3); font-size: var(--t-sm); text-align: center; }

/* --- the public pages (kept until each is redrawn on the new system) -------- */
.page.wide { width: min(1200px, 100% - 40px); }
.page.wide > h1 { font-size: var(--t-4xl); line-height: 1.04; margin-bottom: var(--s-4); max-width: 18ch; }
.page.wide > h1 + .lead { max-width: 62ch; margin-bottom: var(--s-7); }
.page.wide section > h2 { margin-bottom: var(--s-3); }
.card h2 { font-size: var(--t-xl); line-height: 1.25; margin-bottom: var(--s-3); }
.card h2 + p { color: var(--ink-2); }
.hero { padding: var(--s-6) 0 var(--s-2); }
.hero h1 { font-size: var(--t-4xl); line-height: 1.04; max-width: 20ch; }
section { margin: var(--s-8) 0; }
.statement { color: var(--ink-2); border-left: 3px solid var(--jade-deep); padding: 4px 0 4px 16px; margin: var(--s-6) 0; }
.grid { display: grid; gap: var(--s-4); }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid .card { margin: 0; }
ul.sources { list-style: none; padding: 0; margin: var(--s-4) 0; display: grid; gap: 10px;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
ul.sources li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 16px;
  background: var(--glass); border: 1px solid var(--line); border-radius: var(--r-md); }
ul.source-list { list-style: none; padding: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
ul.source-list .card { margin: 0; }
ul.source-list h2 { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; font-size: var(--t-lg); }
dl.marks { display: grid; grid-template-columns: max-content 1fr; gap: 10px 16px; align-items: center; }
dl.marks dd { margin: 0; color: var(--ink-2); }
.scroll { overflow-x: auto; }
table.compare { width: 100%; border-collapse: collapse; }
table.compare th, table.compare td { text-align: left; vertical-align: top; padding: 14px 12px; border-bottom: 1px solid var(--line); }
table.compare thead th { color: var(--ink-2); font-weight: 600; font-family: var(--f-sans); }
details { margin: 10px 0; padding: 16px 20px; background: var(--glass); border: 1px solid var(--line); border-radius: var(--r-md); }
details[open] { background: var(--glass-2); border-color: var(--line-2); }
summary { cursor: pointer; font: 600 var(--t-md)/1.4 var(--f-sans); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--jade); font-size: 1.3em; line-height: 1; }
details[open] summary::after { content: "–"; }
details p { margin: 12px 0 0; color: var(--ink-2); }
ul.languages { list-style: none; padding: 0; }
ul.languages li { margin: 10px 0; }
.draft { padding: 12px 16px; border: 1px dashed var(--line-3); border-radius: var(--r-md); color: var(--ink-2); }

/* Store and device cards: an icon, a mark, a name, a line. */
.store-grid { display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-bottom: var(--s-6); }
.store-grid.four { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.store-card { margin: 0 !important; display: grid; gap: var(--s-3); align-content: start;
  transition: transform var(--mid) var(--ease), border-color var(--mid) var(--ease); }
.store-card:hover { transform: translateY(-3px); border-color: var(--line-2); }
.store-card .ico { width: 52px; height: 52px; border-radius: 16px; }
.store-card .ico svg { width: 26px; height: 26px; }
.store-card .badge { justify-self: start; }
.store-card h2 { margin: 4px 0 0; }
.muted-ico { background: var(--glass-2); color: var(--ink-3); border-color: var(--line-2); }
.card.trust { display: flex; gap: var(--s-5); align-items: flex-start; margin: 0 0 var(--s-6); }
.card.trust h2 { margin-bottom: var(--s-3); }
ul.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
ul.ticks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); }
ul.ticks svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--jade); }
@media (max-width: 560px) { .card.trust { flex-direction: column; } }

/* Sources: an abbreviation tile, the name with its mark, a line. */
ul.source-list { gap: var(--s-4); grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); margin-bottom: var(--s-6); }
.source-card { display: flex; gap: var(--s-4); align-items: flex-start; }
.source-card h2 { font-size: var(--t-lg); display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; margin-bottom: 6px; }
.ico.abbr { width: 48px; height: 48px; font: 700 .75rem/1 var(--f-sans); letter-spacing: .04em; color: var(--ink); }
.chips-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s-4); }

/* Credits: the picture beside its credit line. */
.credits-grid { display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fill, minmax(420px, 1fr)); margin-bottom: var(--s-6); }
@media (max-width: 520px) { .credits-grid { grid-template-columns: 1fr; } }
.credit-card { margin: 0 !important; display: flex; gap: var(--s-4); align-items: flex-start; }
.credit-card img { flex: none; border-radius: 10px; object-fit: cover; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .8); }
.credit-card img.tall { width: 84px; height: 126px; }
.credit-card img.wide { width: 140px; height: 79px; }
.credit-card h2 { font-size: var(--t-md); margin-bottom: 6px; }
.credit-card p { font-size: var(--t-xs); margin-bottom: 4px; }
.credit-card code { font: 400 .75rem/1.4 var(--f-mono); color: var(--ink-3); word-break: break-all; }

/* Plans: two cards, the planned one lit. */
.plan-grid { display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); margin-bottom: var(--s-5); }
.plan-card { margin: 0 !important; display: grid; gap: var(--s-3); align-content: start; }
.plan-card h2 { display: flex; align-items: center; gap: 10px; font-size: var(--t-2xl); }
.plan-card .price { font: 650 var(--t-lg)/1.2 var(--f-sans); color: var(--jade); margin: 0; }
.plan-card.pro { border-color: rgba(22, 221, 188, .35);
  background: radial-gradient(90% 60% at 80% 0%, rgba(22, 221, 188, .12), transparent 60%), linear-gradient(180deg, var(--glass-2), var(--glass)); }
.card.scroll { padding: var(--s-3) var(--s-5); margin-bottom: var(--s-5); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; animation-iteration-count: 1 !important; }
}

/* A language's own name on a page in another language ("বাংলা" and "हिन्दी" on the English
   pages, the other one on each Indian-language page): drawn in the device's own font. Measured
   on 2026-11-20, these two words alone made the English home download 223 KB of Bengali and
   Devanagari typefaces. No family named here is one of the site's own web fonts, so nothing is
   fetched for them; Android draws them in its own Noto, Windows in Nirmala UI. */
html[lang="en"] [lang="bn"], html[lang="en"] [lang="bn"] *, html[lang="en"] [lang="hi"], html[lang="en"] [lang="hi"] *,
html[lang="bn"] [lang="hi"], html[lang="bn"] [lang="hi"] *, html[lang="hi"] [lang="bn"], html[lang="hi"] [lang="bn"] * {
  --f-display: system-ui, -apple-system, "Segoe UI", "Nirmala UI", Roboto, sans-serif;
  --f-sans: system-ui, -apple-system, "Segoe UI", "Nirmala UI", Roboto, sans-serif;
  --f-body: system-ui, -apple-system, "Segoe UI", "Nirmala UI", Roboto, sans-serif;
  font-family: system-ui, -apple-system, "Segoe UI", "Nirmala UI", Roboto, sans-serif;
}