/* Homepage — faithful reproduction of /reference/reference_homepage.html visual language.
   Scoped under #home so it never clobbers the shared app.css used by dashboard/exam/admin. */
#home{
  --bg:#f5f7f6;--surface:#ffffff;--surface2:#f8faf9;--soft:#f1f5f3;--text:#1d2b26;--muted:#5d7269;
  --primary:#6a4ccf;--primary2:#8d58e2;--blue:#2f6fe8;--cyan:#0ca7b8;--orange:#e58a22;--amber:#dca11b;
  --green:#1ca46d;--pink:#d65cb3;--dark:#1a2a23;--border:#e5ece7;--shadow:0 20px 42px rgba(53,97,76,.08);--radius:18px;
  /* One standard breath between sections — used by every block on the landing page. */
  --section-gap:34px;
  background:radial-gradient(680px 380px at 92% -6%,rgba(29,164,109,.08),transparent 60%),
             radial-gradient(620px 360px at -6% 8%,rgba(47,111,232,.06),transparent 60%),var(--bg);
  color:var(--text);font-size:17px;line-height:1.7;
  font-family:Inter,"Noto Sans Bengali","Noto Sans",system-ui,-apple-system,sans-serif;}
#home *,#home *::before,#home *::after{box-sizing:border-box}
#home a{text-decoration:none;color:inherit}
#home h1,#home h2,#home h3,#home .panelBrand,#home .accessCard b,#home .featureTitle{font-family:"Baloo Da 2","Noto Sans Bengali",Inter,system-ui,sans-serif}
#home .container{width:min(var(--wrap-home),calc(100% - 32px));margin-inline:auto}
#home .btn{border:1px solid #dfe3ed;background:#fff;color:var(--text);padding:10px 15px;border-radius:10px;font-size:15px;font-weight:800;cursor:pointer;transition:.2s;display:inline-flex;align-items:center;justify-content:center;gap:6px}
#home .btn:hover{transform:translateY(-1px);box-shadow:0 6px 18px rgba(40,45,80,.08)}
#home .btn.primary{background:#2dbb6a;border-color:transparent;color:#fff;box-shadow:0 10px 22px rgba(45,187,106,.22)}
#home .btn.dark{background:var(--dark);border-color:var(--dark);color:#fff}
#home .brandmark{width:30px;height:30px;border-radius:9px;background:linear-gradient(135deg,var(--primary),var(--pink));color:#fff;display:grid;place-items:center;box-shadow:0 6px 14px rgba(124,58,237,.35)}

/* HERO */
#home .hero{padding:46px 0 var(--section-gap);position:relative;overflow:hidden}
#home .heroGrid{display:grid;grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);gap:35px;align-items:center;position:relative;z-index:1}
#home .eyebrow{display:inline-flex;align-items:center;gap:7px;color:#2c7a5c;background:#ebf9f0;border:1px solid #d9f1e3;padding:8px 12px;border-radius:999px;font-size:13px;font-weight:900}
#home .pulse{width:6px;height:6px;border-radius:50%;background:#1db873;box-shadow:0 0 0 5px rgba(29,184,115,.12)}
#home h1{font-size:clamp(36px,4.6vw,54px);line-height:1.12;letter-spacing:-1.1px;margin:16px 0 13px;overflow-wrap:break-word}
#home .gradient{background:linear-gradient(90deg,#2dbb6a,#6a4ccf 55%,#d65cb3);-webkit-background-clip:text;background-clip:text;color:transparent}
#home .lead{font-size:18px;line-height:1.8;color:var(--muted);max-width:610px;margin:0}
/* Four hero benefits always stay in a balanced two-column, two-row layout. */
#home .heroBenefits{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 12px;margin-top:13px;color:var(--muted);font-size:12.5px;line-height:1.5;font-weight:700}
#home .heroBenefits span{display:flex;align-items:flex-start;gap:7px;min-width:0}
#home .heroBenefits i{display:grid;place-items:center;width:17px;height:17px;flex:0 0 17px;border-radius:50%;background:#e4f8ec;color:#15965f;font-size:11px;font-style:normal;font-weight:900;margin-top:1px}
#home .heroBtns{display:flex;gap:9px;flex-wrap:wrap;margin-top:20px}
#home .trust{display:flex;gap:18px;flex-wrap:wrap;margin-top:16px;color:#7b8495;font-size:12.5px;font-weight:700}
#home .trust span{display:flex;align-items:center;gap:5px}
#home .keycaps{position:absolute;inset:0;z-index:0;pointer-events:none}
#home .keycaps span{position:absolute;display:grid;place-items:center;width:38px;height:38px;border-radius:10px;font:800 13px "Baloo Da 2",sans-serif;color:#fff;opacity:.9;box-shadow:0 10px 20px rgba(30,20,70,.14);animation:floatKey 6s ease-in-out infinite}
#home .keycaps span:nth-child(1){top:6%;left:4%;background:linear-gradient(135deg,#7c3aed,#c026d3);transform:rotate(-9deg)}
#home .keycaps span:nth-child(2){top:62%;left:1%;background:linear-gradient(135deg,#f97316,#f59e0b);transform:rotate(7deg);animation-delay:.6s}
#home .keycaps span:nth-child(3){top:14%;left:47%;background:linear-gradient(135deg,#06b6d4,#2563eb);transform:rotate(5deg);animation-delay:1.1s}
#home .keycaps span:nth-child(4){top:80%;left:42%;background:linear-gradient(135deg,#10b981,#06b6d4);transform:rotate(-6deg);animation-delay:1.6s}
#home .keycaps span:nth-child(5){top:2%;left:88%;background:linear-gradient(135deg,#ec4899,#f97316);transform:rotate(10deg);animation-delay:.3s}
#home .keycaps span:nth-child(6){top:46%;left:95%;background:linear-gradient(135deg,#7c3aed,#2563eb);transform:rotate(-4deg);animation-delay:.9s}
@keyframes floatKey{0%,100%{transform:translateY(0) rotate(0deg)}50%{transform:translateY(-10px) rotate(3deg)}}
#home .heroPanel{background:linear-gradient(165deg,#fff 0%,#f8fbf9 52%,#eef8f2 100%);border:1px solid var(--border);border-radius:20px;padding:17px;box-shadow:0 20px 44px rgba(31,66,51,.08);position:relative;overflow:hidden}
#home .heroPanel:after{content:"";position:absolute;width:230px;height:230px;border-radius:50%;right:-100px;top:-120px;background:radial-gradient(circle,rgba(45,187,106,.14),rgba(106,76,207,.1) 60%,transparent 75%)}
#home .heroPanel:before{content:"";position:absolute;width:170px;height:170px;border-radius:50%;left:-80px;bottom:-90px;background:radial-gradient(circle,rgba(47,111,232,.10),transparent 70%)}
#home .panelTop{display:flex;justify-content:space-between;align-items:center;position:relative;z-index:1}
#home .panelBrand{display:flex;align-items:center;gap:7px;font-size:13.5px;font-weight:900;color:var(--text)}
#home .panelBadge{font-size:11.5px;color:#2d7d63;background:#ebf9f0;padding:6px 8px;border-radius:999px;border:1px solid #d9f1e3}
#home .typeScreen{margin-top:12px;background:#f7faf8;border:1px solid #e5eee9;border-radius:13px;padding:16px;min-height:150px;position:relative;z-index:1}
#home .screenLabel{font-size:11.5px;color:#5f756b;margin-bottom:11px}
/* Fixed typewriter: every phrase shares one fixed text area. Invisible copies reserve the same layout
   before and during typing, so the panel never grows, shrinks, or scrolls as the words change. */
#home .typeText{font:14px/2 ui-monospace,SFMono-Regular,Menlo,monospace;color:#1b2d26;
  height:8em;min-height:8em;max-height:8em;display:grid;grid-template-rows:minmax(0,1fr);
  width:100%;max-width:100%;min-width:0;overflow:hidden;overflow-wrap:anywhere;contain:layout paint}
#home .typeText::after{content:attr(data-text);white-space:pre-wrap;grid-area:1/1}
#home .typeText.typing::after{content:none}
#home .twLive,#home .twGhost{grid-area:1/1;display:block;min-width:0;max-width:100%;white-space:pre-wrap;overflow:hidden}
#home .twGhost{visibility:hidden;pointer-events:none;user-select:none}
#home .typeScreen{height:190px;min-height:190px;max-height:190px;min-width:0;overflow:hidden}
@media(max-width:600px){#home .typeText{height:8em;min-height:8em;max-height:8em}#home .typeScreen{height:190px;min-height:190px;max-height:190px}}
#home .twText{white-space:pre-wrap}
#home .twCaret{display:none;width:2px;height:1.15em;background:var(--blue);margin-left:1px;vertical-align:-.2em}
#home .typeText.typing .twCaret{display:inline-block;animation:typeBlink 1s step-end infinite}
@keyframes typeBlink{0%,100%{opacity:1}50%{opacity:0}}
#home .panelStats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:8px;position:relative;z-index:1}
#home .panelStat{background:#fff;border:1px solid #e7efe8;padding:10px;border-radius:10px}
#home .panelStat small{display:block;color:#61786e;font-size:11px}
#home .panelStat b{font-size:15px;color:var(--text)}
#home .liveStats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:22px;position:relative;z-index:2}
#home .liveStatCard{display:flex;align-items:center;gap:12px;background:rgba(255,255,255,.94);border:1px solid var(--border);border-radius:15px;padding:12px 14px;box-shadow:0 10px 26px rgba(103,49,220,.08)}
#home .liveStatIcon{width:39px;height:39px;border-radius:11px;display:grid;place-items:center;flex:0 0 auto}
#home .liveStatIcon.purple{background:#f0e9ff;color:var(--primary)}
#home .liveStatIcon.green{background:#e4f9ef;color:#0a9f69}
#home .liveStatIcon.blue{background:#e7f0ff;color:var(--blue)}
#home .liveStatIcon.amber{background:#fff3e2;color:#b96c14}
#home .liveStatCard small{display:block;color:#7e7890;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.3px}
#home .liveStatCard strong{display:block;font-size:23px;line-height:1.1;margin-top:2px}
#home .liveStatCard div span:not(.liveDot){display:block;color:var(--muted);font-size:11px;margin-top:3px}
#home .liveStatCard small .liveDot{margin-left:3px;vertical-align:middle}
#home .liveDot{width:7px;height:7px;border-radius:50%;display:inline-block;background:#19b66f;box-shadow:0 0 0 0 rgba(25,182,111,.55);animation:liveBlink 1.35s infinite}
@keyframes liveBlink{0%,100%{opacity:1;box-shadow:0 0 0 0 rgba(25,182,111,.5)}50%{opacity:.42;box-shadow:0 0 0 6px rgba(25,182,111,0)}}

/* SECTIONS */
#home .section{padding:var(--section-gap) 0}
#home .section.soft{background:var(--surface2)}
#home .sectionHead{text-align:center;margin-bottom:20px}
#home .sectionEyebrow{display:inline-flex;align-items:center;gap:6px;padding:7px 12px;border-radius:999px;font-size:12.5px;font-weight:900}
#home .sectionEyebrow.c-primary{color:var(--primary);background:#f0e9ff}
#home .sectionEyebrow.c-blue{color:var(--blue);background:#e8f0ff}

/* FEATURES */
#home .featureGrid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
#home .featureCard{background:#fff;border:1px solid var(--border);border-radius:16px;padding:15px;min-height:158px;box-shadow:0 10px 26px rgba(103,49,220,.07);transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease;position:relative;overflow:hidden}
#home .featureCard:before{content:"";position:absolute;left:0;right:0;top:0;height:3px;background:linear-gradient(90deg,var(--primary),var(--pink));opacity:.8}
#home .featureCard:hover{transform:translateY(-4px);box-shadow:0 18px 38px rgba(103,49,220,.13);border-color:#ddd0ff}
#home .featureIcon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;color:var(--primary);background:#f0e9ff;margin-bottom:11px}
#home .featureCard:nth-child(4n+2) .featureIcon{background:#e8f0ff;color:var(--blue)}
#home .featureCard:nth-child(4n+3) .featureIcon{background:#e2f7fb;color:var(--cyan)}
#home .featureCard:nth-child(4n) .featureIcon{background:#e2f8ee;color:var(--green)}
#home .featureTitle{margin:0 0 6px;font-size:18.5px;line-height:1.25;font-weight:800}
#home .featureText{margin:0;color:var(--muted);font-size:13.5px;line-height:1.65}
#home .featureNumber{position:absolute;right:12px;top:12px;font-size:11px;font-weight:900;color:#b3a9cc;letter-spacing:.5px}

/* HIGHLIGHTS SLIDER — keep every uploaded image inside a fixed 16:9 frame. */
#home .slideWrap{position:relative;overflow:hidden;border-radius:22px;background:#f2f3f7;border:1px solid var(--border);box-shadow:0 18px 44px rgba(38,35,90,.10);isolation:isolate;width:100%;margin-inline:auto;box-sizing:border-box}
#home .slideTrack{display:flex;width:100%;transition:transform .65s cubic-bezier(.22,.8,.22,1);will-change:transform}
#home .imageSlide{position:relative;display:block;flex:0 0 100%;width:100%;min-width:100%;max-width:100%;box-sizing:border-box;overflow:hidden}
#home .imageSlide.is-active{z-index:1}
#home .slideStage{position:relative;display:block;width:100%;max-width:100%;aspect-ratio:16/9;overflow:hidden;background:#f4f5f9;box-sizing:border-box}
#home .slideStage picture{display:block;width:100%;height:100%;max-width:100%;overflow:hidden}
#home .slideImg{display:block;width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center;pointer-events:none}
/* Admin-managed slide text belongs to its own slide, below the image. */
#home .slideCopy{padding:clamp(16px,2.4vw,26px) clamp(18px,3vw,34px) 22px;text-align:center;background:#fff;border-top:1px solid var(--border);box-sizing:border-box}
#home .slideEyebrow{display:inline-flex;align-items:center;justify-content:center;margin:0 0 7px;padding:4px 11px;border-radius:999px;background:#f0e9ff;color:var(--primary);font-size:12px;font-weight:800;line-height:1.5}
#home .slideTitle{margin:0;color:var(--ink);font-size:clamp(18px,2.4vw,26px);line-height:1.35;font-weight:850}
#home .slideCaption{max-width:820px;margin:8px auto 0;color:var(--muted);font-size:14px;line-height:1.75;overflow-wrap:anywhere}
@media(max-width:600px){#home .slideCopy{padding:14px 15px 17px}#home .slideEyebrow{font-size:11px}#home .slideTitle{font-size:18px}#home .slideCaption{font-size:13px;line-height:1.65}}
#home .slideControls{position:absolute;top:50%;left:0;right:0;z-index:3;display:flex;justify-content:space-between;gap:10px;padding:0 14px;transform:translateY(-50%);pointer-events:none}
#home .slideControls button{pointer-events:auto;width:42px;height:42px;border-radius:50%;border:1px solid rgba(19,26,23,.06);background:rgba(255,255,255,.94);color:#241d47;cursor:pointer;display:grid;place-items:center;transition:.2s ease;box-shadow:0 8px 20px rgba(20,16,50,.16)}
#home .slideControls button:hover{background:#fff;color:var(--primary);transform:translateY(-1px)}
#home .slideControls button:focus-visible{outline:3px solid rgba(124,58,237,.55);outline-offset:3px}
#home .slideDots{display:flex;align-items:center;justify-content:center;gap:6px;padding:12px 0 0}
#home .slideDots button{width:24px;height:4px;border:0;border-radius:10px;background:#d8d5e4;cursor:pointer;padding:0;transition:.25s ease}
#home .slideDots button.active{width:38px;background:var(--primary)}
#home .slideProgress{height:3px;margin:12px 16px 14px;border-radius:999px;background:#eceaf4;overflow:hidden}
#home .slideProgress span{display:block;width:0;height:100%;background:linear-gradient(90deg,var(--primary),#c026d3);animation:slideProgress 5500ms linear infinite}
@keyframes slideProgress{from{width:0}to{width:100%}}
#home .slideWrap.is-paused .slideProgress span{animation-play-state:paused}

/* LAB STATUS BAND (item J §11–§15) — deliberately short: one line of chips under the hero copy, active labs are
   the only ones with a route, planned labs stay plain text. Status reads from the word + icon, not the colour.
   Owner 2026-11-04: the chips were the smallest type on the homepage and read as fine print; the label, the chip and
   its status word all step up one size, with the padding widened to keep the pill proportional. */
#home .labStatus{display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap;margin:22px auto 16px;position:relative;z-index:3}
#home .labStatusKey{display:inline-flex;align-items:center;gap:6px;font-size:13px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
#home .labStatusKey svg{width:16px;height:16px}
#home .labStatusRow{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;min-width:0;flex:1 1 100%}
#home .labStatusChip{display:inline-flex;align-items:center;gap:8px;padding:9px 15px;border-radius:999px;font-size:14.5px;font-weight:800;line-height:1.25;border:1px solid transparent}
#home .labStatusChip em{display:inline-flex;align-items:center;gap:5px;font-style:normal;font-size:13px;font-weight:900;letter-spacing:.02em}
#home .labStatusChip em svg{width:15px;height:15px}
#home .labStatusChip.live{background:#e9f8f0;color:#0b6b46;border-color:#c7eedb}
#home .labStatusChip.live:hover{background:#dcf3e7;transform:translateY(-1px)}
#home .labStatusChip.live:focus-visible{outline:2px solid var(--primary);outline-offset:2px}
/* §14: Coming Soon is muted slate/soft purple — never red, which is reserved for a real problem. */
#home .labStatusChip.soon{background:#f1f2f7;color:#5d6478;border-color:#e2e4ee}
#home .labStatusChip.soon em{color:#7a8296}

/* Owner revision 2026-10-26, kept on the owner's word 2026-10-29: প্রিমিয়াম অ্যাক্সেস and সাধারণ জিজ্ঞাসা
   close the page as two ~50/50 columns stretched to one outer height, so opening a question grows the section
   instead of shrinking the type. The premium panel fills its column and stops where its own content ends; below
   980 px the two stack, premium first, FAQ second. হাইলাইট is not part of this pair — it runs full width above
   সুবিধাসমূহ, so the pictures get the whole container. */
#home .highlightFaq .hfGrid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px;align-items:stretch}
#home .hfCol{display:flex;flex-direction:column;min-width:0}
#home .hfPremium{align-self:start}
#home .hfPremium .subscriptionHero{width:100%;display:grid;grid-template-columns:minmax(0,1fr);gap:18px;padding:24px}
#home .hfPremium .subscriptionHero h2{font-size:clamp(24px,2.2vw,30px)}
#home .hfPremium .subVisual{display:flex}
#home .highlightFaq .faqList{max-width:none;margin:0}
#home .highlightFaq .faqItem{flex:0 0 auto}

/* LEADERBOARD */
#home .lbFullCard{width:100%;box-sizing:border-box;margin:0 0 22px;padding:22px;background:rgba(255,255,255,.84);border:1px solid var(--border);border-radius:22px;box-shadow:0 14px 38px rgba(38,35,90,.075)}
#home .lbFullCard:last-of-type{margin-bottom:0}
#home .lbSectionHead{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap;padding-bottom:16px;margin-bottom:14px;border-bottom:1px solid var(--border)}
#home .lbSectionHead>.lbStatStrip{max-width:min(600px,100%);margin-left:auto;justify-content:flex-end}
#home .lbSectionHead>.lbStatSwaps{max-width:min(600px,100%);margin-left:auto}
#home .lbTitleWrap{min-width:0;display:flex;align-items:center;gap:12px}
#home .lbIcon{width:44px;height:44px;flex:0 0 44px;display:grid;place-items:center;border-radius:13px;background:linear-gradient(135deg,#6d4aff,#2f6df6);color:#fff}
#home .lbIcon svg{width:20px;height:20px}
#home .lbTitleWrap h3{margin:0;color:var(--text);font-size:22px;line-height:1.2;font-weight:900}
#home .lbTitleWrap p{margin:4px 0 0;color:var(--muted);font-size:13px;line-height:1.4}
#home .lbFilters{display:flex;align-items:center;gap:7px}
#home .lbFilter{border:1px solid #ddd8ff;background:#fff;color:#6545e8;border-radius:999px;padding:9px 15px;font-size:13px;line-height:1;font-weight:800;cursor:pointer;transition:.18s ease}
#home .lbFilter:hover{transform:translateY(-1px);box-shadow:0 5px 15px rgba(101,69,232,.12)}
#home .lbFilter.active{background:linear-gradient(135deg,#6847ee,#486ff2);color:#fff;border-color:transparent}
#home .lbBadge{display:inline-flex;align-items:center;padding:8px 12px;border-radius:999px;background:#f1edff;color:#6648df;font-size:11.5px;font-weight:800;white-space:nowrap}
/* Boards are one column each: every rank is a full-width row. */
#home .lbRows{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
#home .lbRows[hidden]{display:none}
#home .lbStatStrip{display:flex;flex-wrap:wrap;align-items:center;gap:7px}
/* The writers card keeps one aggregate strip per category in its head, exactly like the practice card. */
#home .lbStatSwaps{display:grid;min-width:0}
#home .lbStatSwap{display:none}
#home .lbStatSwap.on{display:block}
#home .lbStatSwap>.lbStatStrip{justify-content:flex-end}
#home .lbStatChip{display:inline-flex;align-items:baseline;gap:5px;padding:7px 11px;border-radius:10px;background:#f6f4ff;border:1px solid #e7e1ff}
#home .lbStatChip b{font-size:14.5px;font-weight:900;color:#3b3466;font-variant-numeric:tabular-nums}
#home .lbStatChip small{color:#7d7695;font-size:11px;font-weight:800;white-space:nowrap}
#home .lbTabGroups{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
#home .lbTabGroups>.lbFilters+.lbFilters{padding-left:10px;border-left:1px solid var(--border)}
#home .lbBadge svg,#home .lbNote svg{width:13px;height:13px}
#home .lbBadge{gap:6px}
#home .lbMedal{position:absolute;right:-7px;bottom:-7px;display:grid;place-items:center;width:16px;height:16px;border-radius:50%;background:#fff;box-shadow:0 1px 5px rgba(40,38,90,.2)}
#home .lbMedal svg{width:13px;height:13px;color:#f3a71b}
#home .lbRow.top1{background:linear-gradient(90deg,#fff8e4,#fffdf7 62%,#fff);border-color:#f1ddaa}
#home .lbRow.top2{background:linear-gradient(90deg,#f4f7fb,#fbfcfe 62%,#fff);border-color:#dae1ea}
#home .lbRow.top3{background:linear-gradient(90deg,#fdf1e7,#fffaf7 62%,#fff);border-color:#edd0b8}
#home .lbRow.top1:hover{border-color:#e5c87f}#home .lbRow.top2:hover{border-color:#c4cfdd}#home .lbRow.top3:hover{border-color:#dfae83}
#home .lbMetric b{font-variant-numeric:tabular-nums}
#home .lbNote{display:flex;align-items:center;gap:6px;margin:12px 0 0;color:#8b93a7;font-size:11.5px;font-weight:600}
#home .lbEmpty{opacity:.75;grid-template-columns:minmax(0,1fr)}
#home .lbTableHead{display:grid;align-items:center;gap:8px;padding:0 10px 7px;color:#8b93a7;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.35px}
#home .lbTableHead .lbNum{text-align:right}
#home .lbRow{min-width:0;display:grid;align-items:center;gap:8px;min-height:60px;padding:7px 9px;border:1px solid #edf0f6;border-radius:12px;background:#fff;box-sizing:border-box;transition:.16s ease}
#home .cols-official{grid-template-columns:30px 38px minmax(0,1fr) 66px 80px 68px 66px 70px 68px}
#home .cols-practice{grid-template-columns:30px 38px minmax(0,1fr) 84px 86px 86px 78px}
#home .lbRow:hover{transform:translateY(-1px);border-color:#ddd6ff;box-shadow:0 7px 20px rgba(40,38,90,.06)}
#home .lbRank{position:relative;width:27px;height:27px;display:grid;place-items:center;margin:auto;border-radius:8px;background:#f3f0ff;color:#6545e8;font-size:11px;font-weight:900}
#home .lbRank.top1{background:linear-gradient(135deg,#ffd76a,#f3a71b);color:#4a3300}
#home .lbRank.top2{background:linear-gradient(135deg,#eef1f6,#b9c3d5);color:#3b4352}
#home .lbRank.top3{background:linear-gradient(135deg,#f2c29b,#d98245);color:#4b2c16}
#home .lbAvatar{width:38px;height:38px;border-radius:50%;display:grid;place-items:center;overflow:hidden;background:linear-gradient(135deg,#7048ed,#3d73f3);color:#fff;font-size:11px;font-weight:900;border:2px solid #fff;box-shadow:0 0 0 1px #e3e5ee}
#home .lbUser{min-width:0}
#home .lbUserName{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#26304a;font-size:13.5px;font-weight:800}
#home .lbUserMeta{display:block;margin-top:2px;color:#8b93a7;font-size:11px}
#home .lbMetric{text-align:right;white-space:nowrap}
#home .lbMetric b{display:block;font-size:14.5px;font-weight:900}
#home .lbMetric small{display:block;margin-top:1px;color:#8b93a7;font-size:11px;font-weight:700}
#home .lbMetric.wpm b{color:#6045df}
#home .lbMetric.acc b{color:#0a9f69}
#home .lbMetric.time b{color:#2563eb}
#home .lbMetric.words b{color:#b45309}
#home .lbMetric.wrong b{color:#c53b40}
#home .lbMetric.err b{color:#8a5a12}
#home .lbMetric.mark b{font-size:13px;font-weight:900;letter-spacing:.2px}
#home .lbMetric.mark-good b{color:#2563eb}
#home .lbMetric.mark-better b{color:#6045df}
#home .lbMetric.mark-best b{color:#0a9f69}

/* PREMIUM */
#home .subscriptionHero{background:linear-gradient(115deg,#150f2e,#7c3aed 55%,#c026d3 100%);border-radius:20px;color:#fff;padding:28px 31px;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);align-items:center;overflow:hidden;position:relative;box-shadow:0 24px 58px rgba(103,49,220,.28)}
#home .subscriptionHero:after{content:"";position:absolute;width:300px;height:300px;border-radius:50%;right:-100px;top:-130px;background:radial-gradient(circle,rgba(249,115,22,.35),transparent 70%)}
#home .subscriptionHero h2{font-size:36px;letter-spacing:-1px;margin:10px 0 7px}
#home .subscriptionHero p{font-size:15px;color:#d5dbef;line-height:1.75;max-width:560px;margin:0}
#home .subBtns{display:flex;gap:8px;margin-top:15px}
#home .subBtns .btn:first-child{background:#fff;color:#3322a6;border-color:#fff}
#home .subVisual{display:flex;justify-content:center;position:relative;z-index:2}
/* The premium panel lists what the plan actually contains — a solid white card with real rows on the gradient,
   no mock dashboard, no progress meter, no invented figure. */
/* The premium card is the hero's own information block, so it fills the purple box: a titled head, four
   capability rows on alternating ground, and the payment methods as chips. Nothing here is invented — every
   row names a feature the application actually ships. */
#home .accessCard{width:100%;display:flex;flex-direction:column;background:#fff;color:#1d2522;border:1px solid rgba(255,255,255,.65);border-radius:16px;padding:15px 15px 13px;box-shadow:0 20px 44px rgba(20,10,60,.24)}
#home .accessHead{display:flex;align-items:center;gap:9px;padding-bottom:11px;border-bottom:1px solid #eef0f2}
#home .accessHead b{font-size:15px;letter-spacing:.2px}
#home .accessIcon{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#f0e9ff;color:var(--primary);flex:0 0 auto}
#home .accessIcon svg{width:17px;height:17px}
#home .accessList{list-style:none;margin:0;padding:8px 0;display:grid;gap:4px}
#home .accessList li{display:flex;align-items:center;gap:10px;padding:10px 9px;border-radius:10px;font-size:13.5px;line-height:1.45;color:#3d4a44}
#home .accessList li:nth-child(even){background:#f7f6fb}
#home .accessIco{display:grid;place-items:center;width:26px;height:26px;border-radius:8px;background:#fff;border:1px solid #ece7f7;color:var(--primary);flex:0 0 auto}
#home .accessIco svg{width:14px;height:14px}
#home .accessFoot{display:flex;align-items:center;gap:6px;flex-wrap:wrap;padding-top:11px;border-top:1px solid #eef0f2;font-size:11.5px;color:#7a847f}
#home .accessFoot em{font-style:normal;font-size:11px;font-weight:800;color:#3d4a44;background:#f2f3f7;border:1px solid #e6e8ee;border-radius:999px;padding:3px 9px}

/* FAQ ACCORDION (item G §41–§43) — it sits where the final CTA band used to be. */
#home .faqList{display:grid;gap:9px;max-width:880px;margin:0 auto}
#home .faqItem{background:#fff;border:1px solid var(--border);border-radius:14px;overflow:hidden;transition:border-color .15s ease,box-shadow .15s ease}
#home .faqItem[open]{border-color:#ddd0ff;box-shadow:0 12px 30px rgba(103,49,220,.09)}
#home .faqQ{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:11px;padding:13px 15px;cursor:pointer;list-style:none;font-size:15px;font-weight:800;color:var(--text)}
#home .faqQ::-webkit-details-marker{display:none}
#home .faqQ:focus-visible{outline:2px solid var(--primary);outline-offset:-3px;border-radius:12px}
#home .faqNum{font-size:11px;font-weight:900;color:#b3a9cc;letter-spacing:.5px}
#home .faqText{min-width:0;overflow-wrap:anywhere}
#home .faqChev{display:grid;place-items:center;color:var(--primary);transition:transform .18s ease}
#home .faqChev svg{width:17px;height:17px}
#home .faqItem[open] .faqChev{transform:rotate(180deg)}
#home .faqA{padding:0 15px 14px 40px;color:var(--muted);font-size:13.5px;line-height:1.7}

/* FOOTER (item J §29–§33): the homepage has no footer styles of its own any more — it renders the one global
   .site-footer that every other page uses, so there is exactly one footer contract in the codebase. */

/* TOPBAR marketing links (only on home) */
.topbar .mk-links{display:flex;align-items:center;gap:22px;font-size:14px;font-weight:700;color:#4f5e59;margin-inline:auto}
.topbar .mk-links a{display:flex;align-items:center;gap:5px;position:relative;padding-bottom:3px}
.topbar .mk-links a:after{content:"";position:absolute;left:0;right:100%;bottom:-2px;height:2px;border-radius:2px;background:linear-gradient(90deg,var(--primary,#6a4ccf),var(--green,#1ca46d));transition:right .2s ease}
.topbar .mk-links a:hover{color:#6a4ccf}
.topbar .mk-links a:hover:after{right:0}

/* RESPONSIVE */
@media(max-width:980px){#home .highlightFaq .hfGrid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:1000px){#home .featureGrid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1080px){#home .liveStats{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){#home .heroGrid,#home .subscriptionHero{grid-template-columns:minmax(0,1fr)}#home .heroPanel{max-width:620px;margin:auto}#home .featureGrid{grid-template-columns:repeat(2,minmax(0,1fr))}#home .subscriptionHero{gap:20px}#home .keycaps{display:none}}
@media(max-width:900px){#home .slideControls button{width:38px;height:38px}}
@media(max-width:900px){#home .cols-official{grid-template-columns:28px 36px minmax(0,1fr) 60px 72px 60px 60px 62px 60px}#home .cols-practice{grid-template-columns:28px 36px minmax(0,1fr) 74px 78px 68px 66px}}
@media(max-width:760px){#home .lbTableHead{display:none}#home .lbRow{gap:6px;padding:7px}#home .lbRow.cols-official,#home .cols-official{grid-template-columns:26px 34px minmax(0,1fr) auto auto auto auto auto}#home .lbRow.cols-practice,#home .cols-practice{grid-template-columns:26px 34px minmax(0,1fr) auto auto auto}#home .lbRow.lbEmpty{grid-template-columns:minmax(0,1fr)}#home .lbHide{display:none}#home .lbMetric b{font-size:12px}#home .lbAvatar{width:34px;height:34px}#home .lbSectionHead>.lbStatStrip,#home .lbSectionHead>.lbStatSwaps{max-width:100%;margin-left:0}#home .lbStatSwap>.lbStatStrip{justify-content:flex-start}}
@media(max-width:600px){#home .heroBenefits{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px 8px;font-size:11px;line-height:1.4}#home .heroBenefits i{width:15px;height:15px;flex-basis:15px;font-size:10px}#home .container{width:min(100% - 22px,var(--wrap-home))}#home .liveStats{grid-template-columns:minmax(0,1fr)}#home .liveStatCard{padding:11px}#home .liveStatCard strong{font-size:19px}#home .hero{padding:38px 0 30px}#home h1{font-size:clamp(27px,7.2vw,36px);line-height:1.16;letter-spacing:-.6px}#home .lead{font-size:15px}#home .featureGrid{grid-template-columns:minmax(0,1fr)}#home .featureCard{min-height:auto}#home .panelStats{grid-template-columns:minmax(0,1fr)}#home .subscriptionHero{padding:23px 19px}#home .subscriptionHero h2{font-size:27px}#home .hfPremium .subscriptionHero{padding:22px 18px}#home .subBtns{flex-direction:column}#home .subBtns .btn{width:100%}#home .faqQ{padding:11px 12px;font-size:14px}#home .faqA{padding:0 12px 12px 35px;font-size:13px}#home .faqList{gap:7px}#home .slideControls{padding:0 10px}#home .accessCard{padding:14px 14px 12px}}
@media(prefers-reduced-motion:reduce){#home .keycaps span,#home .liveDot,#home .slideProgress span,#home .twCaret{animation:none}#home .faqChev,#home .faqItem{transition:none}}

/* PASS 19 §D: on phones the marketing anchor row yields to the single account action so the header never overflows the viewport. */
@media(max-width:900px){.topbar .mk-links{display:none}}

/* Owner revision 2026-10-29: the hero carries one inspiring line and nothing else — the .heroSub second
   supporting paragraph is deleted from the view, so its rule is gone with it rather than left as dead style. */

/* Item V §2.2: the social cards now live inside the global footer (public/assets/css/app.css, .sfSocial*),
   so the homepage no longer carries its own strip and these rules went with it. */

/* TyperBD mobile polish: marketing pages have no sidebar drawer; keep the header uncluttered. */
@media(max-width:980px){.topbar .marketing-menu-hidden{display:none!important}}
@media(max-width:760px){#home .lbRow.cols-official,#home .cols-official{grid-template-columns:25px 32px minmax(0,1fr) 48px 54px;gap:5px}#home .lbRow.cols-practice,#home .cols-practice{grid-template-columns:25px 32px minmax(0,1fr) 52px 58px 55px;gap:5px}#home .lbRow .lbMetric.wrong,#home .lbRow .lbMetric.err,#home .lbRow .lbMetric.time,#home .lbRow .lbMetric.words{display:none!important}#home .lbRow .lbUserMeta{white-space:normal;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}#home .lbMetric small{font-size:9px}#home .lbMetric b{font-size:12px}#home .lbAvatar{width:30px;height:30px}}
@media(max-width:420px){#home .lbRow{padding:6px 5px}#home .lbRow .lbUserName{font-size:12px}#home .lbRow .lbMetric b{font-size:11px}#home .lbSectionHead{gap:9px}#home .lbStatChip{padding:5px 7px}}

/* Owner 2026-11-06 — hero lab band: planned labs read like running ones; the row closes with one "আরও +" chip. */
#home .labStatusChip.soon{background:#f4f5fb;color:#4f566b;border-color:#e0e3f0}
#home .labStatusChip.more{background:transparent;color:var(--primary);border:1.5px dashed #c9bdf2;font-weight:900;gap:6px}
#home .labStatusChip.more span{display:inline-grid;place-items:center;width:20px;height:20px;border-radius:50%;background:var(--primary);color:#fff;font-size:15px;line-height:1}
#home .labStatusChip.more:hover{background:#f6f2ff}
#home .labStatus{margin-bottom:26px}
@media(max-width:620px){#home .labStatusChip{font-size:13.5px;padding:8px 12px}#home .labStatusChip em{font-size:12px}}

/* ===== LEADERBOARD v2 (homepage) — appended; nothing above is edited ===== */
#home .hpLbTitle{margin:12px 0 4px;font-size:clamp(24px,3vw,32px);line-height:1.25;font-weight:900;color:var(--text)}
#home .hpLbSub{margin:0;color:var(--muted);font-size:14.5px}
#home .hpMain{border-color:#e0d8ff;box-shadow:0 18px 48px rgba(88,62,220,.12)}
/* podium */
#home .hpPodium{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;align-items:end;margin:4px 0 18px}
#home .hpPod{display:flex;flex-direction:column;align-items:center;text-align:center;gap:4px;padding:16px 10px 14px;border-radius:18px;border:1px solid #edf0f6;background:#fff;min-width:0}
#home .hpPod1{padding-top:22px;padding-bottom:20px;background:linear-gradient(180deg,#fff6d8,#fffdf6 70%);border-color:#f1d88e;box-shadow:0 14px 34px rgba(243,167,27,.2)}
#home .hpPod2{background:linear-gradient(180deg,#f1f5fa,#fff 75%);border-color:#d5dde8}
#home .hpPod3{background:linear-gradient(180deg,#fdeee1,#fff 75%);border-color:#ecc9ad}
#home .hpPodRank{display:inline-flex;align-items:center;gap:4px;padding:3px 10px;border-radius:999px;font-size:12px;font-weight:900;background:#f3f0ff;color:#6545e8}
#home .hpPodRank svg{width:13px;height:13px}
#home .hpPod1 .hpPodRank{background:linear-gradient(135deg,#ffd76a,#f3a71b);color:#4a3300}
#home .hpPod2 .hpPodRank{background:linear-gradient(135deg,#eef1f6,#b9c3d5);color:#3b4352}
#home .hpPod3 .hpPodRank{background:linear-gradient(135deg,#f2c29b,#d98245);color:#4b2c16}
#home .hpPodAvatar{display:grid;place-items:center;margin-top:4px;border-radius:50%;border:3px solid #fff;box-shadow:0 0 0 2px #e3e5ee}
#home .hpPod1 .hpPodAvatar{box-shadow:0 0 0 3px #f3c24f}
#home .hpPodName{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px;font-weight:900;color:#26304a}
#home .hpPodMeta{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;color:#8b93a7}
#home .hpPodWpm{display:flex;align-items:baseline;gap:4px;margin-top:4px;color:#6045df}
#home .hpPodWpm b{font-size:32px;line-height:1;font-weight:900;font-variant-numeric:tabular-nums}
#home .hpPod1 .hpPodWpm b{font-size:42px;color:#b9770e}
#home .hpPodWpm small{font-size:12px;font-weight:900;color:#8b93a7}
#home .hpPodSub{display:flex;flex-wrap:wrap;justify-content:center;gap:4px 12px;font-size:11.5px;color:#7d7695}
#home .hpPodSub b{color:#0a9f69;font-variant-numeric:tabular-nums}
#home .hpPodSub span+span b{color:#2563eb}
/* rows 4+: WPM + accuracy lead, the rest recedes */
#home .hpMain .lbRow .lbMetric.wpm b{font-size:18px}
#home .hpMain .lbRow .lbMetric.acc b{font-size:15.5px}
#home .hpMain .lbRow .lbMetric.words b,#home .hpMain .lbRow .lbMetric.wrong b,#home .hpMain .lbRow .lbMetric.err b,#home .hpMain .lbRow .lbMetric.time b{font-size:13px;font-weight:700;color:#7b8499}
#home .hpMain .lbRow .lbMetric.words small,#home .hpMain .lbRow .lbMetric.wrong small,#home .hpMain .lbRow .lbMetric.err small,#home .hpMain .lbRow .lbMetric.time small{font-size:10px;font-weight:600;color:#a3aabb}
#home .hpMain .lbRows>.lbTableHead{margin-top:2px}
/* rank rule folded away */
#home .lbRule{margin-top:12px;color:#8b93a7;font-size:12px}
#home .lbRule summary{display:inline-flex;align-items:center;gap:6px;cursor:pointer;font-weight:800;list-style:none}
#home .lbRule summary::-webkit-details-marker{display:none}
#home .lbRule svg{width:13px;height:13px}
#home .lbRule p{margin:8px 0 0;line-height:1.7;font-weight:600}
/* practice board = quieter second card */
#home .hpSecondary{background:rgba(255,255,255,.6);box-shadow:none}
#home .hpSecondary .lbTitleWrap h3{font-size:18px}
#home .hpSecondary .lbIcon{background:#eef0f7;color:#6b7390}
@media(max-width:760px){
#home .hpPodium{gap:6px}
#home .hpPod{padding:12px 5px 10px;border-radius:14px}
#home .hpPod1{padding-top:16px}
#home .hpPodName{font-size:12px}
#home .hpPodMeta{display:none}
#home .hpPodWpm b{font-size:22px}
#home .hpPod1 .hpPodWpm b{font-size:28px}
#home .hpPodSub{font-size:10px;flex-direction:column;gap:1px}
#home .hpPodRank{font-size:11px;padding:2px 8px}
#home .hpMain .lbRow .lbMetric.wpm b{font-size:15px}
#home .hpMain .lbRow .lbMetric.acc b{font-size:12.5px}
}

/* own seat highlight (logged-in viewer only) */
#home .lbRow.is-me{background:linear-gradient(90deg,#efe9ff,#faf8ff 70%,#fff);border-color:#9d85f5;box-shadow:inset 4px 0 0 #6d4aff,0 6px 18px rgba(109,74,255,.14)}
#home .lbRow.is-me .lbUserName::after{content:"আপনি";display:inline-block;margin-left:7px;padding:2px 8px;border-radius:999px;background:#6d4aff;color:#fff;font-size:10.5px;font-weight:800;vertical-align:1px}
#home .hpPod.is-me{outline:3px solid #8b6cf7;outline-offset:2px}
#home .hpPodMe{padding:2px 10px;border-radius:999px;background:#6d4aff;color:#fff;font-size:11px;font-weight:800}
#home .lbMeHint{margin:10px 2px 0;font-size:12.5px;color:#7d7695;font-weight:700}
#home .lbMeHint a{color:#6545e8;text-decoration:underline;text-underline-offset:3px}

/* ===== hero typing panel: the two live figures (replaces the four-card band) ===== */
#home .panelLive{display:grid;grid-template-columns:repeat(auto-fit,minmax(132px,1fr));gap:7px;margin-top:10px;position:relative;z-index:1}
#home .panelLiveCell{display:flex;align-items:center;gap:8px;background:#fff;border:1px solid #e7efe8;border-radius:11px;padding:8px 9px;min-width:0}
#home .plIcon{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;flex:0 0 auto}
#home .plIcon.green{background:#e4f9ef;color:#0a9f69}
#home .plIcon.amber{background:#fff3e2;color:#b96c14}
#home .panelLiveCell small{display:block;color:#61786e;font-size:11px;font-weight:800}
#home .panelLiveCell strong{display:block;font-size:21px;line-height:1.1;margin-top:2px;color:var(--text);font-variant-numeric:tabular-nums}
#home .panelLiveCell div>span{display:block;color:var(--muted);font-size:11px;margin-top:2px}
#home .panelLiveCell small .liveDot{margin-left:3px;vertical-align:middle}
@media(max-width:420px){#home .panelLive{grid-template-columns:repeat(auto-fit,minmax(132px,1fr))}}



/* Footer (homepage): three columns — আমাদের সম্পর্কে (wide), গুরুত্বপূর্ণ লিংক, সোশ্যাল মিডিয়া. Cells stretch to one
   row height and the review pill is pinned to the bottom of the about block, so its bottom edge lines up with the
   other two columns. */
.site-footer .sfCols{grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1.25fr);gap:30px;align-items:stretch}
.site-footer .sfBrand{display:flex;flex-direction:column}
.site-footer .sfBrand .sfRating{margin-top:auto}
.site-footer .sfBrand .sfTag{margin-bottom:14px}
@media(max-width:1000px){
  .site-footer .sfCols{grid-template-columns:repeat(2,minmax(0,1fr))}
  .site-footer .sfBrand{grid-column:1/-1}
  .site-footer .sfBrand .sfRating{margin-top:14px}
}
@media(max-width:620px){
  .site-footer .sfCols{grid-template-columns:minmax(0,1fr)}
}

/* Homepage primary navigation — centered between the brand and account actions. */
@media(min-width:901px){
  .topbar:has(.mk-links){display:grid;grid-template-columns:minmax(150px,1fr) minmax(0,auto) minmax(150px,1fr);column-gap:16px}
  .topbar:has(.mk-links)>.mk-links{grid-column:2;justify-content:center;justify-self:center;margin-inline:0;gap:clamp(12px,1.8vw,22px);white-space:nowrap}
  .topbar:has(.mk-links)>.top-actions{grid-column:3;justify-self:end}
}

/* Final small-screen refinements: restore the red active indicator and keep all three live stats
   on one compact row, as in the earlier mobile layout. */
#home .panelLive{grid-template-columns:repeat(3,minmax(0,1fr))}
#home .panelLiveCell{gap:5px;padding:7px 6px;border-radius:10px}
#home .plIcon{width:28px;height:28px;border-radius:8px}
#home .plIcon svg{width:15px;height:15px}
#home .panelLiveCell small{font-size:9px;line-height:1.2;white-space:nowrap}
#home .panelLiveCell strong{font-size:17px;line-height:1.1}
#home .panelLiveCell div>span{font-size:9px;line-height:1.2}
#home .panelLiveCell small .liveDot{background:#ef4444;box-shadow:0 0 0 0 rgba(239,68,68,.55)}
@keyframes liveBlink{0%,100%{opacity:1;box-shadow:0 0 0 0 rgba(239,68,68,.55)}50%{opacity:.42;box-shadow:0 0 0 5px rgba(239,68,68,0)}}
@media(max-width:360px){
  #home .panelLiveCell{gap:4px;padding:6px 4px}
  #home .plIcon{width:25px;height:25px}
  #home .panelLiveCell small{font-size:8px}
  #home .panelLiveCell strong{font-size:15px}
}


/* FAQ full-width layout: the Premium Access column is no longer rendered on the homepage. */
#home .highlightFaq .hfGrid {
  grid-template-columns: minmax(0, 1fr);
}
#home .highlightFaq .hfFaq {
  width: 100%;
  max-width: none;
  min-width: 0;
}
#home .highlightFaq .faqList {
  width: 100%;
  max-width: none;
}

/* মেধাক্রম — compact top three (any duration, any language) */
#home .hpTop3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;max-width:860px;margin:0 auto 22px;align-items:stretch}
#home .hpT{display:flex;flex-direction:column;align-items:center;text-align:center;gap:3px;min-width:0;padding:16px 12px 14px;border-radius:16px;border:1px solid #e6e9f2;background:#fff;box-shadow:0 6px 18px rgba(40,40,90,.06)}
#home .hpT1{order:2;background:linear-gradient(180deg,#fff6d8,#fffdf6 70%);border-color:#f1d88e;box-shadow:0 10px 26px rgba(243,167,27,.18)}
#home .hpT2{order:1;background:linear-gradient(180deg,#f1f5fa,#fff 75%);border-color:#d5dde8}
#home .hpT3{order:3;background:linear-gradient(180deg,#fdeee1,#fff 75%);border-color:#ecc9ad}
#home .hpTRank{display:inline-flex;align-items:center;gap:4px;padding:2px 10px;border-radius:999px;font-size:12px;font-weight:900;background:#f3f0ff;color:#6545e8}
#home .hpTRank svg{width:13px;height:13px}
#home .hpT1 .hpTRank{background:linear-gradient(135deg,#ffd76a,#f3a71b);color:#4a3300}
#home .hpT2 .hpTRank{background:linear-gradient(135deg,#eef1f6,#b9c3d5);color:#3b4352}
#home .hpT3 .hpTRank{background:linear-gradient(135deg,#f2c29b,#d98245);color:#4b2c16}
#home .hpTAvatar{display:grid;place-items:center;margin-top:6px;border-radius:50%;border:3px solid #fff;box-shadow:0 0 0 2px #e3e5ee}
#home .hpT1 .hpTAvatar{box-shadow:0 0 0 3px #f3c24f}
#home .hpTName{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:15px;font-weight:900;color:#26304a}
#home .hpTMeta{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11.5px;color:#8b93a7}
#home .hpTPost{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;color:#8b93a7}
#home .hpTWpm{display:flex;align-items:baseline;gap:4px;margin-top:6px;color:#6045df}
#home .hpTWpm b{font-size:30px;line-height:1;font-weight:900;font-variant-numeric:tabular-nums}
#home .hpT1 .hpTWpm b{color:#b9770e}
#home .hpTWpm small{font-size:12px;font-weight:900;color:#8b93a7}
#home .hpTAcc{font-size:12px;color:#7d7695}
#home .hpTAcc b{color:#0a9f69;font-variant-numeric:tabular-nums}
#home .hpT.is-me{outline:3px solid #8b6cf7;outline-offset:2px}
#home .hpTopEmpty{text-align:center;color:var(--muted);margin:10px 0}
#home .hpTopMore{text-align:center;margin-top:18px}
html[data-theme="dark"] #home .hpT{background:var(--surface);border-color:var(--border)}
html[data-theme="dark"] #home .hpT1{background:linear-gradient(180deg,#3a3010,var(--surface) 70%)}
html[data-theme="dark"] #home .hpT2{background:linear-gradient(180deg,#27323a,var(--surface) 75%)}
html[data-theme="dark"] #home .hpT3{background:linear-gradient(180deg,#3b2a1c,var(--surface) 75%)}
html[data-theme="dark"] #home .hpTName{color:var(--text)}
@media(max-width:640px){
  #home .hpTop3{grid-template-columns:minmax(0,1fr);max-width:420px;gap:10px}
  #home .hpT1,#home .hpT2,#home .hpT3{order:0}
  #home .hpT{flex-direction:row;flex-wrap:wrap;justify-content:flex-start;text-align:left;gap:2px 12px;padding:12px 14px}
  #home .hpTRank{order:0}
  #home .hpTAvatar{margin:0}
  #home .hpTName{flex:1 1 120px}
  #home .hpTMeta,#home .hpTPost{flex-basis:100%}
  #home .hpTWpm{margin:0 0 0 auto}
}

/* ===== hero stat cards: equal share of the row, whatever number the admin switched on =====
   1 card = full width, 2 = halves, 3 = thirds, 4 = 2 + 2, 5+ = rows of three that stretch to fill. */
#home .panelLive{display:flex;flex-wrap:wrap;gap:7px}
#home .panelLiveCell{flex:1 1 calc(100% / var(--cols,3) - 7px);min-width:0;justify-content:center}
#home .plIcon.blue{background:#e6f0ff;color:#2563eb}
#home .plIcon.violet{background:#efe9ff;color:#6d4ae0}
@media(max-width:360px){#home .panelLiveCell{flex-basis:calc(100% / var(--cols,3) - 5px)}}

/* ===== footer v3 (2026-11-16): colourful full-width about band, rating beneath, social icons in one row ===== */
.site-footer.sfx{margin-top:auto;background:#f3f7f4;border-top:0;padding:30px 0 14px;font-size:14px;color:#4f6157}
.sfx .sfxInner{width:min(1200px,100%);margin:0 auto;padding:0 22px;display:flex;flex-direction:column;gap:16px}
.sfx .sfxAbout{position:relative;overflow:hidden;border-radius:22px;padding:30px 32px;color:#fff;
  background:linear-gradient(120deg,#0f766e 0%,#1d6fd8 52%,#7c3aed 100%);box-shadow:0 16px 36px rgba(37,99,235,.20)}
.sfx .sfxBlob{position:absolute;border-radius:50%;background:rgba(255,255,255,.10);pointer-events:none}
.sfx .sfxBlob1{width:240px;height:240px;right:-70px;top:-90px}
.sfx .sfxBlob2{width:160px;height:160px;left:-50px;bottom:-70px;background:rgba(255,255,255,.08)}
.sfx .sfxAboutHead{position:relative;display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:12px}
.sfx .sfxLogo{display:inline-flex;align-items:center;gap:10px;font-size:19px;font-weight:900;color:#fff;text-decoration:none}
.sfx .sfxLogo .logo{width:40px;height:40px;border-radius:12px}
.sfx .sfxTitle{margin:0;font-size:15px;font-weight:900;letter-spacing:.3px;padding:6px 14px;border-radius:999px;background:rgba(255,255,255,.18);border:1px solid rgba(255,255,255,.35)}
.sfx .sfxIntro{position:relative;margin:0;line-height:1.85;font-size:15.5px;color:rgba(255,255,255,.95);text-align:justify;hyphens:auto}
.sfx .sfxMotto{position:relative;margin:14px 0 0;font-weight:800;font-style:italic;font-size:15.5px;text-align:center;color:#fff}
.sfx .sfxPass{position:relative;margin:12px 0 0;text-align:center;font-weight:700;line-height:1.9;color:#eafff3}
.sfx .sfxPass span{display:inline-block;padding:1px 12px;border-radius:999px;background:#dcfce7;color:#15803d;font-weight:900;white-space:nowrap}
.sfx .sfxReview{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:14px 18px;border-radius:16px;background:#fff;border:1px solid #e3ece6}
.sfx .sfxRate{display:flex;align-items:center;flex-wrap:wrap;gap:8px;color:#3f5348;font-size:14px}
.sfx .sfxRate b{font-size:17px;color:#16241e}.sfx .sfxRate .stars{font-size:18px}
.sfx .sfxFeedback{display:inline-flex;align-items:center;gap:7px;padding:8px 16px;border-radius:999px;font-weight:800;font-size:13.5px;color:#15803d;background:#ecfdf3;border:1px solid #bbf0d1;text-decoration:none}
.sfx .sfxFeedback:hover{background:#dcfce7;text-decoration:none}
.sfx .sfxFeedback svg{width:16px;height:16px}
.sfx .sfxSocial ul{list-style:none;margin:0;padding:0;display:flex;gap:10px}
.sfx .sfxSocial li{flex:1 1 0;min-width:0;display:flex}
.sfx .sfxSocial a{flex:1;min-width:0;display:flex;align-items:center;justify-content:center;gap:9px;padding:12px 10px;border-radius:14px;
  background:var(--tint,#475569);color:#fff;font-weight:800;font-size:14.5px;text-decoration:none;transition:transform .15s,box-shadow .15s}
.sfx .sfxSocial a:hover{transform:translateY(-2px);box-shadow:0 10px 22px rgba(15,23,42,.20);color:#fff;text-decoration:none}
.sfx .sfxSocial a:focus-visible{outline:3px solid #0f172a;outline-offset:2px}
.sfx .sfxIco{display:inline-flex;flex:none}.sfx .sfxIco svg{width:22px;height:22px;display:block}
.sfx .sfxName{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sfx .sfxBar{display:flex;align-items:center;justify-content:center;gap:6px 18px;flex-wrap:wrap;text-align:center;padding-top:12px;border-top:1px solid #dce9e1;font-size:13px;color:#5c6f66}
.sfx .sfxBar a{color:#3f5348;text-decoration:none}
@media(max-width:640px){
  .sfx .sfxInner{padding:0 14px}.sfx .sfxAbout{padding:22px 18px;border-radius:18px}
  .sfx .sfxIntro{font-size:14.5px;text-align:left}
  .sfx .sfxName{display:none}.sfx .sfxSocial a{padding:12px 6px}
  .sfx .sfxReview{justify-content:center;text-align:center}.sfx .sfxBar{justify-content:center;text-align:center}
}
html[data-theme="dark"] .site-footer.sfx{background:#101a15}
html[data-theme="dark"] .sfx .sfxReview{background:#16221c;border-color:#26382e}
html[data-theme="dark"] .sfx .sfxRate,html[data-theme="dark"] .sfx .sfxBar,html[data-theme="dark"] .sfx .sfxBar a{color:#b8c9bf}
html[data-theme="dark"] .sfx .sfxRate b{color:#eef6f0}
html[data-theme="dark"] .sfx .sfxBar{border-color:#26382e}

/* 2026-11: homepage podium — small standard cards, same size for every rank */
#home .hpPodium{align-items:stretch;gap:10px;max-width:720px;margin-left:auto;margin-right:auto}
#home .hpPod,#home .hpPod1{padding:12px 8px 10px;border-radius:14px;box-shadow:none;gap:3px}
#home .hpPod1{background:linear-gradient(180deg,#fff6d8,#fffdf6 70%)}
#home .hpPodAvatar{margin-top:2px}
#home .hpPodName{font-size:13.5px}
#home .hpPodWpm b,#home .hpPod1 .hpPodWpm b{font-size:22px}
#home .hpPodWpm{margin-top:2px}
#home .hpPodWpm small{font-size:11px}
#home .hpPodSub{font-size:11px}


/* 2026-11: tighten the transition from the hero to the first homepage section.
   Keep enough breathing room without leaving an oversized blank band. */
#home .hero{padding-bottom:12px}
#home .labStatus{margin:14px auto 0}
#home > .hero + .section{padding-top:20px}
@media(max-width:640px){
  #home .hero{padding-bottom:10px}
  #home .labStatus{margin-top:12px}
  #home > .hero + .section{padding-top:18px}
}
