/* ============================================================
   558h bet apk - site display stylesheet
   Canvas: mobile-first 320-430px, centered phone frame on wide screens
   Palette anchors: #273746 deep slate / #EEEEEE light / #00FFFF cyan / #4DB6AC teal
   ============================================================ */

:root{
  --shellacdf3-ink:#EEEEEE;
  --shellacdf3-ink-dim:rgba(238,238,238,.74);
  --shellacdf3-ink-faint:rgba(238,238,238,.52);
  --shellacdf3-base:#273746;
  --shellacdf3-base-deep:#202d3a;
  --shellacdf3-base-raise:#2f4254;
  --shellacdf3-line:rgba(238,238,238,.14);
  --shellacdf3-cyan:#00FFFF;
  --shellacdf3-teal:#4DB6AC;
  --shellacdf3-radius:12px;
  --shellacdf3-radius-sm:8px;
  --shellacdf3-tap:44px;
  --shellacdf3-pad:14px;
}

/* ---------- reset & base ---------- */
*{box-sizing:border-box;margin:0;padding:0}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{
  background:#1a2430;
  color:var(--shellacdf3-ink);
  font-family:'Noto Sans Bengali','Hind Siliguri','SolaimanLipi',system-ui,-apple-system,'Segoe UI',sans-serif;
  font-weight:300;
  font-size:15px;
  line-height:1.7;
  min-height:100vh;
}
img{display:block;max-width:100%;height:auto;border:0}
a{color:var(--shellacdf3-teal);text-decoration:none}
a:hover{color:var(--shellacdf3-cyan)}
ul,ol{list-style:none}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer;-webkit-tap-highlight-color:transparent}
::selection{background:rgba(0,255,255,.3);color:#fff}
:focus-visible{outline:2px solid var(--shellacdf3-cyan);outline-offset:2px;border-radius:4px}

/* screen-reader only helper */
.shellacdf3-vh{
  position:absolute;width:1px;height:1px;padding:0;margin:-1px;
  overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;
}

/* ---------- phone canvas ---------- */
.shellacdf3-canvas{
  position:relative;
  max-width:430px;
  margin:0 auto;
  min-height:100vh;
  min-height:100dvh;
  background:var(--shellacdf3-base);
  box-shadow:0 0 36px rgba(0,0,0,.45);
  overflow-x:hidden;
}

/* ---------- top bar: asymmetric brand head + action band ---------- */
.shellacdf3-topbar{
  position:sticky;top:0;z-index:60;
  background:linear-gradient(180deg,#2c3e50 0%,#273746 100%);
  border-bottom:1px solid var(--shellacdf3-line);
}
.shellacdf3-toprow{
  display:flex;align-items:center;justify-content:space-between;gap:8px;
  min-height:58px;padding:9px var(--shellacdf3-pad) 5px;
}
.shellacdf3-brand{
  display:flex;align-items:center;gap:10px;
  min-height:var(--shellacdf3-tap);
  color:var(--shellacdf3-ink);
  position:relative;
}
/* cyan edge marker gives the head its asymmetric accent */
.shellacdf3-brand::before{
  content:"";position:absolute;left:-10px;top:9px;bottom:9px;width:3px;
  border-radius:0 3px 3px 0;
  background:linear-gradient(180deg,var(--shellacdf3-cyan),var(--shellacdf3-teal));
}
.shellacdf3-logo{
  width:40px;height:40px;flex:0 0 auto;
  border-radius:10px;padding:2px;
  background:linear-gradient(135deg,rgba(0,255,255,.22),rgba(77,182,172,.25));
  border:1px solid rgba(0,255,255,.4);
}
.shellacdf3-brandname{
  font-weight:800;font-size:17px;line-height:1.15;letter-spacing:.2px;
  display:flex;flex-direction:column;
}
.shellacdf3-brandname span{
  font-size:11px;font-weight:600;color:var(--shellacdf3-teal);letter-spacing:.6px;
}
.shellacdf3-menubtn{
  display:flex;align-items:center;justify-content:center;
  width:var(--shellacdf3-tap);height:var(--shellacdf3-tap);
  border-radius:10px;
  background:var(--shellacdf3-base-raise);
  border:1px solid var(--shellacdf3-line);
  transition:background .2s ease,border-color .2s ease;
}
.shellacdf3-menubtn:active{border-color:rgba(0,255,255,.55)}
.shellacdf3-burger{position:relative;width:20px;height:14px}
.shellacdf3-burger i{
  position:absolute;left:0;width:100%;height:2px;border-radius:2px;
  background:var(--shellacdf3-cyan);
  transition:top .22s ease,transform .22s ease,opacity .18s ease;
}
.shellacdf3-burger i:nth-child(1){top:1px}
.shellacdf3-burger i:nth-child(2){top:6px}
.shellacdf3-burger i:nth-child(3){top:11px}
.shellacdf3-menubtn[aria-expanded="true"] .shellacdf3-burger i:nth-child(1){top:6px;transform:rotate(45deg)}
.shellacdf3-menubtn[aria-expanded="true"] .shellacdf3-burger i:nth-child(2){opacity:0}
.shellacdf3-menubtn[aria-expanded="true"] .shellacdf3-burger i:nth-child(3){top:6px;transform:rotate(-45deg)}

/* compact action band: register + login text buttons */
.shellacdf3-actband{display:flex;gap:8px;padding:0 var(--shellacdf3-pad) 10px}
.shellacdf3-join,.shellacdf3-signin{
  flex:1;min-height:42px;
  border-radius:var(--shellacdf3-radius-sm);
  font-weight:700;font-size:14.5px;text-align:center;
  transition:transform .15s ease,filter .15s ease;
}
.shellacdf3-join{background:var(--shellacdf3-teal);color:#10312c}
.shellacdf3-signin{background:transparent;color:var(--shellacdf3-cyan);border:1px solid rgba(0,255,255,.55)}
.shellacdf3-join:active,.shellacdf3-signin:active{transform:scale(.97)}

/* ---------- expandable drawer navigation ---------- */
.shellacdf3-drawer{
  max-height:0;overflow:hidden;
  transition:max-height .32s ease;
  background:var(--shellacdf3-base-deep);
}
.shellacdf3-drawer.is-open{max-height:560px;border-top:1px solid var(--shellacdf3-line)}
.shellacdf3-drawergroups{display:grid;gap:12px;padding:12px var(--shellacdf3-pad) 16px}
.shellacdf3-dlabel{
  font-size:11px;font-weight:700;letter-spacing:1.4px;
  color:var(--shellacdf3-cyan);margin-bottom:6px;
}
.shellacdf3-dlinks{display:grid;grid-template-columns:1fr 1fr;gap:6px 8px}
.shellacdf3-dlinks a{
  display:flex;align-items:center;min-height:42px;
  padding:6px 11px;border-radius:var(--shellacdf3-radius-sm);
  background:var(--shellacdf3-base-raise);
  border:1px solid transparent;
  font-size:13px;color:var(--shellacdf3-ink);
  transition:border-color .2s ease;
}
.shellacdf3-dlinks a:active{border-color:rgba(0,255,255,.5)}
.shellacdf3-dlinks a[aria-current="page"]{
  background:rgba(0,255,255,.15);
  border-color:rgba(0,255,255,.45);
  color:var(--shellacdf3-cyan);font-weight:700;
}

/* ---------- main + hero slider ---------- */
.shellacdf3-main{padding-bottom:108px}
.shellacdf3-hero{padding:12px var(--shellacdf3-pad) 0}
.shellacdf3-slider{
  position:relative;border-radius:14px;overflow:hidden;
  border:1px solid var(--shellacdf3-line);
  background:var(--shellacdf3-base-deep);
}
.shellacdf3-track{display:flex;transition:transform .5s cubic-bezier(.4,0,.2,1)}
.shellacdf3-slide{
  position:relative;flex:0 0 100%;width:100%;
  display:block;text-align:left;
}
.shellacdf3-slide img{width:100%;aspect-ratio:5/3;object-fit:cover}
.shellacdf3-slidecaption{
  position:absolute;left:0;right:0;bottom:0;
  padding:30px 13px 11px;
  background:linear-gradient(180deg,rgba(32,45,58,0) 0%,rgba(32,45,58,.94) 78%);
  font-weight:700;font-size:13.5px;line-height:1.5;color:var(--shellacdf3-ink);
}
.shellacdf3-dots{display:flex;justify-content:center;gap:7px;padding:10px 0 2px}
.shellacdf3-dot{
  width:34px;height:16px;border-radius:8px;
  display:flex;align-items:center;justify-content:center;
}
.shellacdf3-dot i{
  display:block;width:22px;height:5px;border-radius:3px;
  background:rgba(238,238,238,.3);
  transition:width .25s ease,background .25s ease;
}
.shellacdf3-dot.is-on i{width:30px;background:var(--shellacdf3-cyan)}

/* fact strip: bold summary line that leads an info block */
.shellacdf3-fact{
  display:flex;gap:10px;align-items:flex-start;
  margin:14px var(--shellacdf3-pad) 0;
  padding:12px 14px;border-radius:var(--shellacdf3-radius);
  background:rgba(0,255,255,.08);
  border-left:3px solid var(--shellacdf3-cyan);
  font-size:13.5px;line-height:1.65;color:var(--shellacdf3-ink-dim);
}
.shellacdf3-fact b{color:var(--shellacdf3-cyan);font-weight:800}
.shellacdf3-fact--teal{background:rgba(77,182,172,.1);border-left-color:var(--shellacdf3-teal)}

/* ---------- intro ---------- */
.shellacdf3-intro{padding:20px var(--shellacdf3-pad) 4px}
.shellacdf3-intro h1{
  font-size:21px;font-weight:800;line-height:1.4;
  color:var(--shellacdf3-ink);margin-bottom:10px;
}
.shellacdf3-lead{color:var(--shellacdf3-ink-dim);font-size:14.5px;margin-bottom:10px}
.shellacdf3-lead a{border-bottom:1px dashed rgba(77,182,172,.6)}

/* ---------- game club sections (grouped cover cards) ---------- */
.shellacdf3-club{padding-top:24px}
.shellacdf3-clubhead{
  display:flex;align-items:center;gap:10px;
  padding:0 var(--shellacdf3-pad) 6px;
}
.shellacdf3-clubtag{
  flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;
  min-width:44px;height:40px;padding:0 11px;
  border-radius:10px;
  background:rgba(77,182,172,.16);
  border:1px solid rgba(77,182,172,.5);
  color:var(--shellacdf3-teal);font-weight:800;font-size:12px;
}
.shellacdf3-clubhead h2{font-size:16.5px;font-weight:800;line-height:1.45}
.shellacdf3-clublead{padding:0 var(--shellacdf3-pad) 10px;color:var(--shellacdf3-ink-dim);font-size:13.5px}
.shellacdf3-clublinks{display:flex;flex-wrap:wrap;gap:7px;padding:0 var(--shellacdf3-pad) 12px}
.shellacdf3-clublinks a{
  display:inline-flex;align-items:center;min-height:36px;
  padding:5px 12px;border-radius:999px;
  background:rgba(0,255,255,.08);
  border:1px solid rgba(0,255,255,.28);
  font-size:12px;font-weight:600;color:var(--shellacdf3-ink);
}
.shellacdf3-clublinks a:active{border-color:var(--shellacdf3-cyan)}
.shellacdf3-grid{
  display:grid;grid-template-columns:repeat(4,1fr);gap:8px;
  padding:0 10px;
}
.shellacdf3-tile{
  display:flex;flex-direction:column;gap:5px;
  padding:5px;border-radius:11px;
  background:var(--shellacdf3-base-raise);
  border:1px solid var(--shellacdf3-line);
  text-align:center;
  transition:transform .16s ease,border-color .2s ease;
}
.shellacdf3-tile:active{transform:scale(.94);border-color:rgba(0,255,255,.6)}
.shellacdf3-tile img{
  width:100%;aspect-ratio:1/1;object-fit:cover;
  border-radius:var(--shellacdf3-radius-sm);
  background:var(--shellacdf3-base-deep);
}
.shellacdf3-tile-name{
  font-size:11px;font-weight:600;line-height:1.35;color:var(--shellacdf3-ink);
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;
  overflow:hidden;min-height:2.7em;
  padding:0 1px 1px;
}

/* ---------- content modules ---------- */
.shellacdf3-module{margin-top:30px;padding:0 var(--shellacdf3-pad)}
.shellacdf3-module > h2{
  font-size:17px;font-weight:800;line-height:1.5;margin-bottom:10px;
  padding-left:10px;border-left:3px solid var(--shellacdf3-teal);
}
.shellacdf3-module > .shellacdf3-fact{margin:0 0 12px}
.shellacdf3-modnote{margin-top:12px;font-size:13.5px;color:var(--shellacdf3-ink-dim)}
.shellacdf3-modnote a{font-weight:600}

/* reader-goal rows */
.shellacdf3-goals{display:grid;gap:8px}
.shellacdf3-goal{
  display:grid;grid-template-columns:56px 1fr;gap:10px;align-items:start;
  padding:11px 12px;border-radius:11px;
  background:var(--shellacdf3-base-raise);
  border:1px solid var(--shellacdf3-line);
}
.shellacdf3-goalnum{
  font-weight:800;color:var(--shellacdf3-cyan);font-size:12.5px;
  letter-spacing:.4px;padding-top:2px;line-height:1.5;
}
.shellacdf3-goal h3{font-size:14px;font-weight:700;margin-bottom:3px}
.shellacdf3-goal p{font-size:13px;color:var(--shellacdf3-ink-dim)}

/* security checkpoints */
.shellacdf3-checks{display:grid;gap:8px}
.shellacdf3-checks li{
  display:flex;gap:10px;align-items:flex-start;
  padding:11px 12px;border-radius:10px;
  background:rgba(77,182,172,.09);
  border:1px solid rgba(77,182,172,.28);
  font-size:13.5px;color:var(--shellacdf3-ink-dim);line-height:1.65;
}
.shellacdf3-checks li::before{
  content:"✓";flex:0 0 auto;
  width:22px;height:22px;margin-top:1px;
  display:inline-flex;align-items:center;justify-content:center;
  border-radius:7px;background:rgba(77,182,172,.22);
  color:var(--shellacdf3-teal);font-weight:800;font-size:12px;
}
.shellacdf3-checks b{color:var(--shellacdf3-ink);font-weight:700}

/* numbered steps */
.shellacdf3-steps{counter-reset:shellacdf3-step;display:grid;gap:8px}
.shellacdf3-step{
  counter-increment:shellacdf3-step;position:relative;
  padding:11px 12px 11px 46px;border-radius:10px;
  background:var(--shellacdf3-base-raise);
  border:1px solid var(--shellacdf3-line);
  font-size:13.5px;color:var(--shellacdf3-ink-dim);line-height:1.65;
}
.shellacdf3-step::before{
  content:counter(shellacdf3-step);
  position:absolute;left:11px;top:11px;
  width:24px;height:24px;border-radius:8px;
  display:flex;align-items:center;justify-content:center;
  background:rgba(0,255,255,.13);
  color:var(--shellacdf3-cyan);font-weight:800;font-size:12.5px;
}
.shellacdf3-step b{color:var(--shellacdf3-ink);font-weight:700}

/* category highlight mini cards */
.shellacdf3-hilite{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.shellacdf3-hcard{
  padding:11px;border-radius:11px;
  background:var(--shellacdf3-base-raise);
  border:1px solid var(--shellacdf3-line);
}
.shellacdf3-hcard--wide{grid-column:1/-1}
.shellacdf3-hcard h3{font-size:13.5px;font-weight:800;color:var(--shellacdf3-teal);margin-bottom:4px}
.shellacdf3-hcard p{font-size:12.5px;color:var(--shellacdf3-ink-dim);line-height:1.6}

/* FAQ accordion */
.shellacdf3-faq{display:grid;gap:8px}
.shellacdf3-faq details{
  border-radius:11px;overflow:hidden;
  background:var(--shellacdf3-base-raise);
  border:1px solid var(--shellacdf3-line);
}
.shellacdf3-faq summary{
  list-style:none;cursor:pointer;
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  min-height:48px;padding:12px 13px;
  font-weight:700;font-size:13.5px;color:var(--shellacdf3-ink);
}
.shellacdf3-faq summary::-webkit-details-marker{display:none}
.shellacdf3-faq summary::after{
  content:"+";flex:0 0 auto;
  color:var(--shellacdf3-cyan);font-size:19px;font-weight:800;line-height:1;
  transition:transform .2s ease;
}
.shellacdf3-faq details[open] summary::after{transform:rotate(45deg)}
.shellacdf3-answer{padding:0 13px 13px;font-size:13px;color:var(--shellacdf3-ink-dim);line-height:1.7}

/* requirement chips */
.shellacdf3-chips{display:flex;flex-wrap:wrap;gap:8px}
.shellacdf3-chip{
  display:inline-flex;align-items:center;
  min-height:40px;padding:8px 14px;border-radius:999px;
  background:rgba(0,255,255,.09);
  border:1px solid rgba(0,255,255,.3);
  font-size:12.5px;font-weight:600;color:var(--shellacdf3-ink);
}

/* ---------- extended footer (home-only blocks) ---------- */
.shellacdf3-ext{
  margin-top:32px;
  padding:20px var(--shellacdf3-pad) 10px;
  background:var(--shellacdf3-base-deep);
  border-top:1px solid var(--shellacdf3-line);
}
.shellacdf3-extitle{font-size:14px;font-weight:800;color:var(--shellacdf3-cyan);margin:18px 0 8px}
.shellacdf3-extitle:first-child{margin-top:0}
.shellacdf3-extbrand p{font-size:13px;color:var(--shellacdf3-ink-dim)}
.shellacdf3-dir{display:grid;grid-template-columns:1fr 1fr;gap:6px 8px}
.shellacdf3-dir a{
  display:flex;align-items:center;min-height:44px;
  padding:7px 11px;border-radius:var(--shellacdf3-radius-sm);
  background:var(--shellacdf3-base-raise);
  font-size:12.5px;color:var(--shellacdf3-ink-dim);line-height:1.45;
}
.shellacdf3-dir a b{color:var(--shellacdf3-ink);font-weight:600}
.shellacdf3-dir a:active{color:var(--shellacdf3-cyan)}
.shellacdf3-promos{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.shellacdf3-promoact{
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;
  min-height:60px;padding:10px 8px;border-radius:11px;
  background:rgba(77,182,172,.13);
  border:1px solid rgba(77,182,172,.45);
  font-size:12.5px;font-weight:700;color:var(--shellacdf3-ink);text-align:center;
  transition:transform .15s ease;
}
.shellacdf3-promoact:active{transform:scale(.96)}
.shellacdf3-promoact svg{width:19px;height:19px;fill:none;stroke:var(--shellacdf3-cyan);stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.shellacdf3-note{
  margin-top:16px;padding:11px 13px;border-radius:10px;
  background:rgba(238,238,238,.06);
  font-size:11.5px;line-height:1.7;color:var(--shellacdf3-ink-faint);
}

/* ---------- common footer + floating dock ---------- */
.shellacdf3-foot{
  padding:16px var(--shellacdf3-pad) 24px;text-align:center;
  background:var(--shellacdf3-base-deep);
}
.shellacdf3-copy{font-size:11.5px;color:var(--shellacdf3-ink-faint)}
.shellacdf3-dock{
  position:fixed;bottom:10px;left:50%;transform:translateX(-50%);
  width:calc(100% - 24px);max-width:406px;z-index:70;
  display:grid;grid-template-columns:repeat(5,1fr);gap:4px;
  padding:6px;border-radius:16px;
  background:rgba(30,42,55,.92);
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
  border:1px solid rgba(0,255,255,.22);
  box-shadow:0 10px 26px rgba(0,0,0,.5);
}
.shellacdf3-dockitem{
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;
  min-height:52px;padding:4px 2px;border-radius:12px;
  color:var(--shellacdf3-ink-dim);
  font-size:10px;font-weight:600;line-height:1.3;
  transition:background .2s ease,color .2s ease;
}
.shellacdf3-dockitem svg{
  width:20px;height:20px;
  fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;
  transition:transform .2s ease;
}
.shellacdf3-dockitem:active svg{transform:scale(.8)}
.shellacdf3-dockitem.is-here{background:rgba(0,255,255,.16);color:var(--shellacdf3-cyan)}
.shellacdf3-dockitem.is-here svg{transform:translateY(-1px) scale(1.1)}

/* ---------- help page visual language ---------- */
.shellacdf3-helphead{padding:22px var(--shellacdf3-pad) 14px;border-bottom:1px solid var(--shellacdf3-line);background:linear-gradient(135deg,rgba(0,255,255,.08),rgba(77,182,172,.04))}
.shellacdf3-eyebrow{font-size:11px;letter-spacing:1.8px;text-transform:uppercase;color:var(--shellacdf3-cyan);font-weight:800;margin-bottom:6px}
.shellacdf3-helphead h1{font-size:22px;line-height:1.4;font-weight:800;margin-bottom:9px}
.shellacdf3-helpintro{font-size:14px;color:var(--shellacdf3-ink-dim);line-height:1.75}
.shellacdf3-prompt{margin:14px 0 0;padding:12px 13px;border-radius:10px;background:rgba(77,182,172,.12);border:1px solid rgba(77,182,172,.3);font-size:13px;color:var(--shellacdf3-ink);line-height:1.65}
.shellacdf3-callouts{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:16px var(--shellacdf3-pad) 0}
.shellacdf3-callout{min-height:86px;padding:11px;border-radius:11px;background:var(--shellacdf3-base-raise);border:1px solid var(--shellacdf3-line)}
.shellacdf3-callout strong{display:block;font-size:12px;color:var(--shellacdf3-cyan);margin-bottom:3px}
.shellacdf3-callout span{display:block;font-size:12.5px;color:var(--shellacdf3-ink-dim);line-height:1.55}
.shellacdf3-rail{position:relative;margin:0 var(--shellacdf3-pad);display:grid;gap:10px}
.shellacdf3-rail::before{content:"";position:absolute;left:19px;top:8px;bottom:8px;width:1px;background:linear-gradient(var(--shellacdf3-cyan),rgba(77,182,172,.1))}
.shellacdf3-railitem{position:relative;display:grid;grid-template-columns:40px 1fr;gap:10px;align-items:start}
.shellacdf3-railno{position:relative;z-index:1;width:40px;height:40px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:var(--shellacdf3-base);border:1px solid var(--shellacdf3-cyan);color:var(--shellacdf3-cyan);font-weight:800;font-size:12px}
.shellacdf3-railcopy{padding:10px 11px;border-radius:10px;background:var(--shellacdf3-base-raise);border:1px solid var(--shellacdf3-line);font-size:13px;color:var(--shellacdf3-ink-dim);line-height:1.65}
.shellacdf3-railcopy h3{font-size:14px;color:var(--shellacdf3-ink);margin-bottom:3px}
.shellacdf3-termgrid{display:grid;gap:7px}
.shellacdf3-term{display:grid;grid-template-columns:102px 1fr;gap:9px;padding:10px 11px;border-bottom:1px solid var(--shellacdf3-line);font-size:12.8px;line-height:1.6}
.shellacdf3-term b{color:var(--shellacdf3-teal);font-size:13px}
.shellacdf3-term span{color:var(--shellacdf3-ink-dim)}
.shellacdf3-branchgrid{display:grid;gap:8px}
.shellacdf3-branch{padding:11px 12px;border-left:3px solid var(--shellacdf3-teal);background:rgba(77,182,172,.09);border-radius:0 10px 10px 0}
.shellacdf3-branch h3{font-size:14px;color:var(--shellacdf3-ink);margin-bottom:3px}
.shellacdf3-branch p{font-size:13px;color:var(--shellacdf3-ink-dim);line-height:1.65}
.shellacdf3-actionrow{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}
.shellacdf3-action{display:flex;align-items:center;justify-content:center;min-height:45px;padding:7px 9px;border-radius:9px;background:var(--shellacdf3-teal);color:#10312c;font-size:12.5px;font-weight:800;text-align:center}
.shellacdf3-action--outline{background:transparent;color:var(--shellacdf3-cyan);border:1px solid rgba(0,255,255,.5)}
.shellacdf3-page-links{display:grid;gap:7px}
.shellacdf3-page-link{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:46px;padding:8px 11px;border-radius:9px;background:var(--shellacdf3-base-raise);border:1px solid var(--shellacdf3-line);font-size:13px;color:var(--shellacdf3-ink)}
.shellacdf3-page-link span{color:var(--shellacdf3-teal);font-size:11px}
.shellacdf3-moneyflow{display:grid;gap:8px}
.shellacdf3-moneyrow{display:grid;grid-template-columns:28px 1fr;gap:9px;align-items:start;padding:10px 11px;border-radius:10px;background:var(--shellacdf3-base-raise);border:1px solid var(--shellacdf3-line)}
.shellacdf3-moneyrow b{width:28px;height:28px;border-radius:8px;display:flex;align-items:center;justify-content:center;background:rgba(0,255,255,.13);color:var(--shellacdf3-cyan);font-size:12px}
.shellacdf3-moneyrow h3{font-size:13.5px;color:var(--shellacdf3-ink);margin-bottom:2px}
.shellacdf3-moneyrow p{font-size:12.8px;color:var(--shellacdf3-ink-dim);line-height:1.62}
.shellacdf3-mistakes{display:grid;gap:8px}
.shellacdf3-mistake{display:grid;grid-template-columns:22px 1fr;gap:9px;padding:10px 11px;border-radius:10px;background:rgba(238,238,238,.055);border:1px solid var(--shellacdf3-line)}
.shellacdf3-mistake i{font-style:normal;color:#ffcf66;font-size:18px;line-height:1.2}
.shellacdf3-mistake h3{font-size:13.5px;color:var(--shellacdf3-ink);margin-bottom:2px}
.shellacdf3-mistake p{font-size:12.8px;color:var(--shellacdf3-ink-dim);line-height:1.62}
.shellacdf3-relation{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.shellacdf3-relation article{padding:11px;border-radius:10px;background:var(--shellacdf3-base-raise);border-top:2px solid var(--shellacdf3-cyan)}
.shellacdf3-relation article:nth-child(3n){border-top-color:var(--shellacdf3-teal)}
.shellacdf3-relation h3{font-size:13px;color:var(--shellacdf3-ink);margin-bottom:3px}
.shellacdf3-relation p{font-size:12.5px;color:var(--shellacdf3-ink-dim);line-height:1.58}
.shellacdf3-factribbon{padding:13px 14px;border-radius:12px;background:linear-gradient(120deg,rgba(0,255,255,.13),rgba(77,182,172,.13));border:1px solid rgba(0,255,255,.32)}
.shellacdf3-factribbon strong{display:block;color:var(--shellacdf3-cyan);font-size:13px;margin-bottom:3px}
.shellacdf3-factribbon p{font-size:13.5px;color:var(--shellacdf3-ink);line-height:1.7}

/* ---------- responsive tuning ---------- */
@media (min-width:360px){
  .shellacdf3-grid{gap:9px;padding:0 11px}
  .shellacdf3-intro h1{font-size:22px}
}
@media (min-width:375px){
  body{font-size:15.5px}
  .shellacdf3-clubhead h2{font-size:17px}
  .shellacdf3-module > h2{font-size:17.5px}
}
@media (min-width:400px){
  /* wider canvas gets a fifth game column */
  .shellacdf3-grid{grid-template-columns:repeat(5,1fr)}
}
@media (max-width:430px){
  /* canvas fills the phone viewport below the frame cap */
  .shellacdf3-canvas{box-shadow:none}
}
@media (min-width:431px){
  body{padding:0}
  .shellacdf3-canvas{border-radius:18px;margin-top:14px;min-height:calc(100vh - 28px)}
  .shellacdf3-topbar{border-radius:18px 18px 0 0}
}
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{transition-duration:.01ms !important;animation-duration:.01ms !important}
  html{scroll-behavior:auto}
}
