/* Montserrat is bundled in www/fonts (SIL OFL), so the app looks the same with or without internet. */
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 400; font-display: swap; src: local("Montserrat-Regular"), url("../fonts/Montserrat-Regular.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 500; font-display: swap; src: local("Montserrat-Medium"), url("../fonts/Montserrat-Medium.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 600; font-display: swap; src: local("Montserrat-SemiBold"), url("../fonts/Montserrat-SemiBold.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 700; font-display: swap; src: local("Montserrat-Bold"), url("../fonts/Montserrat-Bold.woff2") format("woff2"); }
@font-face { font-family: "Montserrat"; font-style: normal; font-weight: 800; font-display: swap; src: local("Montserrat-ExtraBold"), url("../fonts/Montserrat-ExtraBold.woff2") format("woff2"); }
/* bsubflix v26 theme: Bongo-style black + strong red (#DA0B2A), Montserrat. Loaded last, so it wins over site.css and app.css. */
:root, :root[data-theme="dark"], :root[data-theme="light"] {
  --bg: #110F0F; --surface: #181818; --surface-2: #232222; --line: #2d2b2b;
  --fg: #F9F9F9; --fg-soft: #E2E2E2; --muted: #A6A6A6; --placeholder: #77706f;
  --accent: #DA0B2A; --accent-2: #DA0B2A; --accent-fg: #fff; --teal: #DA0B2A; --gold: #F5C451;
  --red: #DA0B2A; --red-dark: #A80820;
  --bg-glow-1: rgba(218, 11, 42, .16); --bg-glow-2: rgba(218, 11, 42, 0);
  --header-bg: #141212; --badge-bg: rgba(17, 15, 15, .88); --overlay: rgba(8, 6, 6, .78);
  --pricebar-bg: #2a0a10;
  --dl-1: #DA0B2A; --dl-2: #DA0B2A; --dl-fg: #fff; --dl-glow: rgba(218, 11, 42, .5);
  --tag-bg: #2a0c12; --tag-line: #DA0B2A; --sel-bg: #2a0c12; --sel-fg: #ffd9de;
  --newmsg-bg: #200b10; --info-bg: #1f1b1b; --success-bg: #1f1b1b; --warning-bg: #2d2410;
  --err-bg: #2a0c12; --err-line: #7a1626; --err-fg: #ffd0d6;
  --font-display: "Montserrat", "Segoe UI", system-ui, "Noto Sans Bengali", sans-serif;
  --font-body: "Montserrat", "Segoe UI", system-ui, "Noto Sans Bengali", sans-serif;
  color-scheme: dark;
}
body { background: radial-gradient(700px 360px at 50% -6%, var(--bg-glow-1), transparent 70%), var(--bg); background-attachment: fixed; font-weight: 500; }
h1, h2, h3 { font-weight: 700; }
:focus-visible { outline: 3px solid var(--red); }
input:focus, select:focus, textarea:focus, .search input:focus { border-color: var(--red) !important; box-shadow: 0 0 0 3px rgba(218, 11, 42, .25) !important; outline: none; }
input[type=search], input[type=text], input[type=url], input[type=number], input:not([type]), select, textarea { background: #1b1919; border-color: #333030; }
::selection { background: var(--red); color: #fff; }

/* ---------- buttons: solid red, no gradients ---------- */
.btn { background: var(--red); color: #fff; box-shadow: none; border-radius: 999px; font-weight: 700; letter-spacing: .01em; }
.btn:hover { filter: brightness(1.1); box-shadow: none; transform: none; }
.btn.ghost, .btn.danger { background: transparent; color: var(--fg); border-color: #3a3737; box-shadow: none; }
.btn.danger { color: #ff6b7d; border-color: var(--err-line); }
.btn.locked { background: var(--surface-2); color: var(--muted); }
.btn.teal { background: var(--red); }
.btn.ok { background: var(--red); color: #fff; }
.tabs .chip.on, .admin-nav a.on { background: var(--red); border-color: var(--red); color: #fff; }
.tabs .chip:hover, .tile:hover { border-color: var(--red); }
.chip.btnchip.on { background: var(--tag-bg); border-color: var(--red); }
.gbtn { border-radius: 999px; font-weight: 700; }

/* ---------- header ---------- */
.header { background: var(--header-bg); backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom: 1px solid var(--line); }
.header .wrap { min-height: 60px; gap: 8px; }
.brand { background: none; -webkit-text-fill-color: #fff; color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 20px; letter-spacing: .01em; gap: 9px; padding: 0; }
.brand img { width: 34px; height: 34px; filter: none; border-radius: 9px; }
#hdr-user { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.subbtn { min-height: 34px; padding: 0 14px; font-size: 13px; font-weight: 700; border-radius: 999px; background: var(--red); color: #fff; white-space: nowrap; }
.icon-btn { width: 38px; height: 38px; border-radius: 50%; color: #fff; border: 2px solid transparent !important; background: transparent; position: relative; display: grid; place-items: center; transition: background-color .2s, border-color .2s; }
.icon-btn svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* message icon: red ring and transparent normally; solid red when a new message is waiting */
.icon-btn.mail { border-color: var(--red) !important; }
.icon-btn.mail.unread { background: var(--red); border-color: var(--red) !important; box-shadow: 0 0 0 4px rgba(218, 11, 42, .22); }
.icon-btn .dot { display: none; }

/* ---------- price bar and banner ---------- */
.pricebar { background: var(--pricebar-bg); border-bottom: 1px solid #4a1019; font-size: 13px; font-weight: 600; }
.pricebar b { color: #fff; }
.banner { background: var(--surface-2); }

/* ---------- bottom tabs ---------- */
.tabbar { background: #181717; backdrop-filter: none; -webkit-backdrop-filter: none; border-top: 1px solid #2a2828; border-radius: 18px 18px 0 0; }
.tabbar a { font-size: 12px; font-weight: 600; color: #9b9696; padding: 9px 0 7px; gap: 3px; }
.tabbar a svg { width: 26px; height: 26px; stroke-width: 1.8; }
.tabbar a.on { color: var(--red); }
.tabbar a .dot { display: block; top: 6px; left: calc(50% + 8px); width: 9px; height: 9px; background: var(--red); border: 2px solid #181717; }

/* ---------- home hero ---------- */
.hero { padding: 26px 0 22px; }
.hero h1 { background: none; -webkit-text-fill-color: #fff; color: #fff; font-size: clamp(38px, 11.5vw, 56px); font-weight: 800; line-height: 1.08; letter-spacing: -.01em; text-transform: uppercase; }
.hero h1 em { font-style: normal; color: var(--red); -webkit-text-fill-color: var(--red); }
.hero p { color: #a6a6a6; font-size: 17px; font-weight: 500; max-width: 340px; margin: 18px auto 6px; }
.srch-box input { background: #1b1919; border: 1px solid #302d2d; height: 54px; font-size: 16px; }
.srch-box svg { color: #9b9696; }
.section > h2 { font-size: 20px; text-transform: uppercase; letter-spacing: .01em; padding-left: 12px; }
.section > h2::before { background: var(--red); width: 4px; }
.page-title { text-transform: uppercase; font-weight: 800; }

/* ---------- cards and tiles ---------- */
.card .poster { border-radius: 10px; border: 1px solid #2a2727; box-shadow: none; }
.card:hover .poster { transform: none; border-color: var(--red); box-shadow: 0 0 0 1px var(--red); }
.kind { background: rgba(17, 15, 15, .88); border-color: #3a3737; color: #fff; }
.kind.k-tv, .kind.k-web { background: var(--red); border-color: var(--red); color: #fff; }
.rating { color: var(--gold); }
.tile { background: var(--surface); border-color: #2a2727; border-radius: 12px; }
.tile:hover { background: #1f1c1c; transform: none; box-shadow: none; }
.tile .n { font-weight: 700; }
.panel, .pcard, .stat, .slide { background: var(--surface); border-color: #2a2727; box-shadow: none; }
.empty { border-color: #3a3737; }

/* ---------- download buttons ---------- */
.btn.dlbtn { box-shadow: 0 8px 22px -10px var(--dl-glow); }
.btn.dlbtn.q-480  { --dl-1: #A80820; --dl-2: #A80820; --dl-glow: rgba(168, 8, 32, .55); }
.btn.dlbtn.q-720  { --dl-1: #DA0B2A; --dl-2: #DA0B2A; --dl-glow: rgba(218, 11, 42, .55); }
.btn.dlbtn.q-1080 { --dl-1: #DA0B2A; --dl-2: #DA0B2A; --dl-glow: rgba(218, 11, 42, .55); }
.btn.dlbtn.q-def  { --dl-1: #DA0B2A; --dl-2: #DA0B2A; }
.btn.dlbtn.q-4k   { --dl-1: #F5C451; --dl-2: #F5C451; --dl-fg: #1b1200; --dl-glow: rgba(245, 196, 81, .45); --dl-ico-bg: rgba(0, 0, 0, .14); --dl-sep: rgba(0, 0, 0, .28); }
.btn.dlbtn.q-sub  { --dl-1: #F9F9F9; --dl-2: #F9F9F9; --dl-fg: #110F0F; --dl-glow: rgba(255, 255, 255, .25); --dl-ico-bg: rgba(218, 11, 42, .14); --dl-sep: rgba(0, 0, 0, .25); }
.btn.dlbtn.q-sub .dl-ico { color: var(--red); }
.btn.dlbtn.done:not(.locked) { background: #1d1717; color: #fff; border-color: var(--red); }
.btn.dlbtn.done .dl-ico, .btn.dlbtn.done:not(.locked) .dl-ico { background: var(--red); color: #fff; }

/* ---------- messages, plans, payment cards ---------- */
.msg, .msg.new { background: var(--surface) !important; border: 1px solid #2f2c2c !important; }
.msg.new { background: #200b10 !important; border-color: var(--red) !important; }
.plan { border-color: var(--red); background: #230a10; }
.plan b, .plan span { color: #fff; }
.price { color: var(--red); }
.pcard.ok .pt { color: var(--gold); }
.method input:checked + span { border-color: var(--red); box-shadow: 0 0 0 2px var(--red) inset; }
.seg input:checked + span { border-color: var(--red); background: var(--tag-bg); }
dialog.modal { background: #181818; border-color: #302d2d; border-radius: 18px; }
dialog.modal.msg .modal-ico { background: var(--err-bg); color: var(--red); }
dialog.modal.ok .modal-ico { background: #2a0c12; color: var(--red); border-color: var(--red); }
dialog.modal.ok.congrats h2 { color: #fff; }
dialog.modal.ok.congrats .modal-ico { box-shadow: 0 0 0 8px rgba(218, 11, 42, .16); }
.overlay-term { background: rgba(17, 15, 15, .7); }
.status.ok { background: #14261c; color: #46d68c; }
.status.bad { background: #2a0c12; color: #ff6b7d; }
.status.pending { background: #2d2410; color: #f5c451; }

/* ---------- More page ---------- */
.more { display: block; max-width: 560px; margin: 0 auto; padding-bottom: 8px; }
.mcard { display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 16px; border: 1.5px solid var(--red); border-radius: 14px; background: transparent; color: var(--fg); font: inherit; font-weight: 600; text-align: left; cursor: pointer; }
.mcard .mi { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.mcard .mi b { font-size: 16px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mcard .mi span { font-size: 13px; color: var(--muted); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.mcard > b { flex: 1; font-size: 17px; font-weight: 700; }
.mcard > svg, .row-link > svg.chev, .mlink > svg.chev { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.av { position: relative; flex: none; width: 48px; height: 48px; border-radius: 50%; background: #2e2b2b; color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 20px; }
.av img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.av > svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.av.prem { box-shadow: 0 0 0 2px #110F0F, 0 0 0 4px var(--gold); }
.av .crown { position: absolute; right: -6px; bottom: -6px; width: 22px; height: 22px; border-radius: 50%; background: var(--gold); color: #1b1200; display: grid; place-items: center; border: 2px solid #110F0F; }
.av .crown svg { width: 12px; height: 12px; fill: currentColor; stroke: none; }
.mlist { margin-top: 18px; display: flex; flex-direction: column; }
.mlink { display: flex; align-items: center; gap: 22px; width: 100%; padding: 17px 10px; background: none; border: 0; color: var(--fg); font: inherit; font-size: 17px; font-weight: 500; text-align: left; cursor: pointer; }
.mlink:active { background: #1b1919; }
.mlink > svg:first-child, .mlink .ico { width: 28px; height: 28px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.mlink .txt { flex: 1; }
.mlink.red { color: var(--red); }
.msep { height: 1px; background: #353232; margin: 10px 8px; }
.mfoot { display: flex; justify-content: center; align-items: center; gap: 10px; margin: 34px 0 10px; opacity: .95; }
.mfoot img { width: 40px; height: 40px; border-radius: 10px; }
.mfoot span { font-weight: 800; font-size: 24px; letter-spacing: .01em; color: #fff; }
.mfoot span i { font-style: normal; color: var(--red); }

/* ---------- My Profile page ---------- */
.prof { max-width: 560px; margin: 0 auto; }
.prof-head { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 6px 0 20px; }
.prof-head .av { width: 92px; height: 92px; font-size: 36px; margin-bottom: 12px; }
.prof-head .av .crown { width: 28px; height: 28px; right: -2px; bottom: -2px; }
.prof-head .av .crown svg { width: 16px; height: 16px; }
.prof-head h1 { font-size: 22px; text-transform: uppercase; letter-spacing: .02em; }
.prof-head .em { color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }
.chip-prem { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; padding: 5px 14px; border-radius: 999px; border: 1px solid var(--gold); color: var(--gold); font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.chip-prem svg { width: 14px; height: 14px; fill: currentColor; stroke: none; }
.subcard { background: var(--surface); border: 1px solid #2a2727; border-radius: 16px; padding: 18px; margin-bottom: 14px; }
.subcard.prem { border-color: rgba(245, 196, 81, .5); background: linear-gradient(180deg, #1d1810, #181818); }
.subcard .sc-t { font-size: 12px; font-weight: 800; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }
.subcard.prem .sc-t { color: var(--gold); }
.subcard .sc-big { font-size: 26px; font-weight: 800; margin: 6px 0 2px; }
.subcard .sc-big small { font-size: 14px; font-weight: 600; color: var(--muted); margin-left: 6px; }
.subcard .sc-big.soon { color: #ff6b7d; }
.subcard p { margin: 4px 0 0; color: var(--muted); font-size: 14px; }
.bar { height: 8px; border-radius: 8px; background: #2c2929; overflow: hidden; margin-top: 14px; }
.bar > i { display: block; height: 100%; background: var(--red); border-radius: 8px; }
.subcard.prem .bar > i { background: var(--gold); }
.subcard .btn { margin-top: 14px; width: 100%; }
.subcard dl.kv { margin-top: 12px; font-size: 14px; }
.rows { display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }
.row-link { display: flex; align-items: center; gap: 16px; width: 100%; padding: 18px; border: 0; border-radius: 14px; background: #232222; color: var(--fg); font: inherit; font-size: 16px; font-weight: 700; text-align: left; cursor: pointer; }
.row-link:active { background: #2c2929; }
.row-link > svg:first-child { width: 26px; height: 26px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.row-link .txt { flex: 1; }
.row-link .badge { margin-left: 6px; }
.row-link.red > svg:first-child, .row-link.red { color: #fff; }
.row-link.red { background: var(--red); }
.row-link.out { background: transparent; border: 1px solid #3a3737; }
.paylist { display: grid; gap: 12px; }
.payrow { background: var(--surface); border: 1px solid #2a2727; border-radius: 14px; padding: 14px 16px; }
.payrow .pr-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.payrow .pr-top b { font-size: 15px; text-transform: capitalize; }
.payrow .pr-sub { margin-top: 8px; color: var(--muted); font-size: 13px; display: grid; gap: 2px; overflow-wrap: anywhere; }

@media (max-width: 420px) {
  .brand { font-size: 17px; gap: 7px; } .brand img { width: 28px; height: 28px; }
  .header .wrap { gap: 6px; } #hdr-user { gap: 6px; }
  .subbtn { padding: 0 11px; font-size: 12px; min-height: 32px; }
  .icon-btn { width: 36px; height: 36px; }
}
@media (max-width: 340px) { .brand span { display: none; } }

/* ---------- overrides for older hard-coded colours in app.css ---------- */
.header { background: #141212 !important; }
.tabbar { background: #181717 !important; border-top: 1px solid #2a2828 !important; }
.brand img { box-shadow: none !important; border-radius: 9px; }
.brand { text-transform: uppercase; font-weight: 800 !important; letter-spacing: .01em !important; font-size: 20px; }
@media (max-width: 420px) { .brand { font-size: 17px; } }
.srch-box input, .srch-box input[type=search] { background: #1b1919 !important; border: 1px solid #302d2d !important; box-shadow: none !important; height: 54px; }
.srch-box input::placeholder { color: #8f8988; font-weight: 500; }
.srch-box > svg { color: #9b9696; }
.srch-box input:focus, .srch-box input[type=search]:focus { background: #1b1919 !important; border-color: var(--red) !important; box-shadow: 0 0 0 3px rgba(218, 11, 42, .25) !important; }
.srch-box:focus-within > svg { color: var(--red); }
.srch-box:focus-within, .search:focus-within input { box-shadow: none !important; }
input:focus, select:focus, textarea:focus, .search input:focus { border-color: var(--red) !important; box-shadow: 0 0 0 3px rgba(218, 11, 42, .25) !important; }
:focus-visible { outline-color: var(--red); }
.update-card h2 { color: #fff; } .updfill { background: var(--red); }
.pleft.soon, b.soon { color: #ff6b7d; }
.note.pend { border-color: var(--red); }
.pricebar .btn { display: none; }
.pricebar { padding: 8px 0; }
.pricebar .wrap { gap: 0; }

svg.lang, .mlink > svg.lang, .row-link > svg.lang { fill: currentColor !important; stroke: none !important; }
svg.lang text { fill: currentColor; stroke: none; }

/* ---------- logo: the full "Main logo on dark" from the brand sheet ---------- */
.brand.logo { padding: 0; gap: 0; }
.brand.logo img { width: auto; height: clamp(28px, 8.6vw, 36px); border-radius: 0 !important; box-shadow: none !important; flex: none; }
.mfoot img.mlogo { width: auto; height: 46px; border-radius: 0; }

/* ---------- Movie / Series tag: a flat red corner label, like the "EXCLUSIVE" tag ---------- */
.kind, .kind.k-movie, .kind.k-tv, .kind.k-web { top: 0; right: 0; padding: 6px 11px 6px 12px; border: 0; border-radius: 0 0 0 8px; background: var(--red); color: #fff; font-size: 10.5px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; line-height: 1.2; }

/* logged-out header: the login button takes the place of the messages icon */
button.icon-btn.loginbtn { padding: 0; cursor: pointer; font: inherit; }


/* ---------- search: red-edged box, red button on the RIGHT, Genre / Language buttons below ---------- */
.sbar { display: flex; align-items: stretch; height: 54px; margin: 0 0 14px; border: 1.5px solid var(--red); border-radius: 16px; overflow: hidden; background: #1b1919; transition: box-shadow .2s; }
.sbar:focus-within { box-shadow: 0 0 0 3px rgba(218, 11, 42, .25); }
.sbar input[type=search] { flex: 1; min-width: 0; height: auto; padding: 0 14px 0 18px; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; color: #fff; font-size: 16px; font-weight: 500; -webkit-appearance: none; appearance: none; }
.sbar input[type=search]:focus { border: 0 !important; box-shadow: none !important; outline: none; }
.sbar input[type=search]::placeholder { color: #8f8988; font-weight: 500; }
.sbar input[type=search]::-webkit-search-cancel-button, .sbar input[type=search]::-webkit-search-decoration { -webkit-appearance: none; display: none; }
.sbar .sbtn { flex: none; width: 60px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 0; background: var(--red); color: #fff; cursor: pointer; transition: background .15s; }
.sbar .sbtn:active { background: var(--red-dark); }
.sbar .sbtn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; position: static; transform: none; }
/* home page: same box, but it is a link to the search page */
.sbar-link { margin: 0 0 22px; text-decoration: none; color: inherit; }
.sbar-link .sph { flex: 1; display: flex; align-items: center; padding: 0 18px; color: #8f8988; font-size: 16px; font-weight: 500; }

.sfilters { display: flex; gap: 10px; margin: 0 0 14px; }
.sf { display: inline-flex; align-items: center; gap: 8px; height: 42px; padding: 0 14px 0 12px; border: 1.5px solid #4a4646; border-radius: 999px; background: transparent; color: #e8e4e4; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.sf > svg { width: 19px; height: 19px; flex: none; }
.sf > svg:not(.lang) { fill: none; stroke: currentColor; stroke-width: 2; }
.sf > svg:last-child { width: 15px; height: 15px; margin-left: -2px; transform: rotate(90deg); transition: transform .2s; opacity: .8; stroke-width: 2.4; }
.sf:active { background: rgba(255, 255, 255, .06); }
.sf.on { border-color: var(--red); background: var(--red); color: #fff; }
.sf.on > svg:last-child { transform: rotate(-90deg); }

.spanel { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; padding: 14px; border: 1px solid #302d2d; border-radius: 16px; background: #1b1919; }
.spanel[hidden] { display: none; }
.pill { display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px; border: 1px solid #3a3636; border-radius: 999px; background: #232222; color: #f1eded; font-size: 14px; font-weight: 600; text-decoration: none; }
.pill small { color: #9b9696; font-size: 12px; font-weight: 600; }
.pill:active { border-color: var(--red); background: rgba(218, 11, 42, .16); }

/* empty / no-result state in the same red family */
.s-ico { border: 1.5px solid rgba(218, 11, 42, .45); background: radial-gradient(circle at 30% 25%, rgba(218, 11, 42, .25), rgba(218, 11, 42, .05) 70%); }
.s-ico svg { stroke: var(--red); }

/* admin user list: email on top, action buttons wrap underneath (there are more buttons now) */
.ulrow { flex-direction: column; align-items: stretch !important; gap: 10px; }
.ulrow .t { min-width: 0; overflow-wrap: anywhere; }
.ulrow .row { flex-wrap: wrap; gap: 8px; }

/* round ring around every profile picture (More page card and My Profile): red, gold for premium members */
.av { box-shadow: 0 0 0 2px #110F0F, 0 0 0 4.5px var(--red); }
.av.prem { box-shadow: 0 0 0 2px #110F0F, 0 0 0 4.5px var(--gold); }
.prof-head .av { box-shadow: 0 0 0 3px #110F0F, 0 0 0 6px var(--red); }
.prof-head .av.prem { box-shadow: 0 0 0 3px #110F0F, 0 0 0 6px var(--gold); }

.listrow .badge { flex: none; white-space: nowrap; }

/* v62: home rows scroll sideways; header = title left, arrows + See all right; spacing; jump buttons */
.hero { padding: 18px 0 4px; }
.hero p { margin-bottom: 0; }
.home-first { margin-top: 10px; }
.section.rowsec { margin-top: 26px; }
.rowhead { display: flex; align-items: center; gap: 6px; margin-bottom: 14px; }
.rowhead h2 { flex: 1 1 auto; min-width: 0; margin: 0 !important; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rowarr { flex: none; width: 28px; height: 28px; display: grid; place-items: center; padding: 0; border-radius: 50%; border: 1.5px solid #3a3636; background: #1b1919; color: #fff; cursor: pointer; transition: border-color .15s, opacity .15s; -webkit-tap-highlight-color: transparent; }
.rowarr svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.rowarr.on { border-color: var(--red); color: #fff; }
.rowarr:disabled { opacity: .35; cursor: default; }
.seeall { height: auto; border: 0; border-radius: 0; margin-top: 0; flex: none; display: inline-flex; align-items: center; gap: 6px; color: var(--red); font-size: 12.5px; font-weight: 700; text-decoration: none; white-space: nowrap; margin-left: 0; background: none; }
.seeall svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.hrow { display: flex; gap: 12px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x proximity; scrollbar-width: none; margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px; -webkit-overflow-scrolling: touch; }
.hrow::-webkit-scrollbar { display: none; }
.hrow .card { flex: 0 0 calc((100% - 12px) / 2.35); scroll-snap-align: start; }
#jump { position: fixed; right: 16px; z-index: 45; width: 48px; height: 48px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 50%; background: var(--red); color: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.45); cursor: pointer; opacity: 0; transform: scale(.7); pointer-events: none; transition: opacity .2s, transform .2s; -webkit-tap-highlight-color: transparent; }
#jump.show { opacity: 1; transform: none; pointer-events: auto; }
#jump:active { background: var(--red-dark); }
#jump svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
#jump { bottom: calc(76px + env(safe-area-inset-bottom, 0px)); }
#jump .dn { display: none; }
#jump.down .up { display: none; }
#jump.down .dn { display: block; }

/* v64: everything scaled to the smaller section titles (20px -> 16px, about 0.8x). */
.section > h2, .rowhead h2 { font-size: 15px; letter-spacing: 0; }
.rowhead h2 { position: relative; padding-left: 12px; text-transform: uppercase; }
.rowhead h2::before { content: ""; position: absolute; left: 0; top: 14%; bottom: 14%; width: 4px; border-radius: 4px; background: var(--red); }
.section { margin-top: 32px; }
.section > h2 { margin-bottom: 13px; }
.tiles { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.tile { padding: 13px 13px 11px; border-radius: 10px; }
.tile .n { font-size: clamp(12px, 3.5vw, 16px); }
.tile .c { font-size: 11px; }
.hero h1 { font-size: clamp(30px, 9.2vw, 45px); }
.hero p { font-size: 14px; max-width: 280px; margin-top: 14px; }

/* v65: page titles and the Home » ... » trail, scaled down; the separator is a red » */
.page-title { font-size: clamp(19px, 5.8vw, 28px); line-height: 1.2; margin-bottom: 16px; }
.crumbs { font-size: 12px; gap: 4px 8px; margin-bottom: 11px; }
.crumbs span.sep { opacity: 1; color: var(--red); font-weight: 800; font-size: 14px; line-height: 1; align-self: center; }
