/* ==========================================================================
   a44.click — interface stylesheet (site: a44, bn-BD)
   Class prefix ......... layer5d2d2-
   Custom props ......... --layer5d2d2-*
   Canvas ............... 320–430px mobile-first; wide screens keep the phone
                          canvas centered (shell capped at 430px).
   Visual tone .......... dark navy canvas, near-square tool corners,
                          horizontal icon+name game bars, step-driven rhythm,
                          sliding focus indicators, full-width CTAs.
   ========================================================================== */

:root{
  --layer5d2d2-bg:      #14141F;
  --layer5d2d2-surface: #1A1A2E;
  --layer5d2d2-surface2:#20203A;
  --layer5d2d2-surface3:#262649;
  --layer5d2d2-line:    #32325A;
  --layer5d2d2-text:    #F0F0F0;
  --layer5d2d2-muted:   #A9A9C6;
  --layer5d2d2-flame:   #FF5722;
  --layer5d2d2-violet:  #C71585;
  --layer5d2d2-sun:     #FFEB3B;
  --layer5d2d2-coral:   #FF7F50;
  --layer5d2d2-r:       4px;   /* near-square tool feel */
  --layer5d2d2-r-lg:    6px;
  --layer5d2d2-shell:   430px; /* phone canvas cap */
  --layer5d2d2-top-h:   96px;
  --layer5d2d2-bn-h:    66px;
  --layer5d2d2-font: "Segoe UI","Nirmala UI","Noto Sans Bengali","Hind Siliguri",
                     Roboto,system-ui,-apple-system,sans-serif;
}

/* ---------- base ---------- */
*,*::before,*::after{ box-sizing:border-box; }

html{
  -webkit-text-size-adjust:100%;
  scroll-behavior:smooth;
}

html,body{
  max-width:100%;
  overflow-x:hidden;
}

body{
  margin:0;
  background:#0D0D16;
  color:var(--layer5d2d2-text);
  font-family:var(--layer5d2d2-font);
  font-size:15px;
  line-height:1.65;
}

img{ max-width:100%; display:block; }

a{ color:var(--layer5d2d2-coral); text-decoration:none; }
a:hover{ color:var(--layer5d2d2-sun); text-decoration:underline; }

button{
  font-family:inherit;
  color:inherit;
  border:0;
  background:none;
  cursor:pointer;
}

:focus-visible{
  outline:2px solid var(--layer5d2d2-sun);
  outline-offset:2px;
  border-radius:var(--layer5d2d2-r);
}

::selection{ background:var(--layer5d2d2-violet); color:#fff; }

/* ---------- shell: the phone canvas ---------- */
.layer5d2d2-shell{
  position:relative;
  width:100%;
  max-width:var(--layer5d2d2-shell);
  margin:0 auto;
  min-height:100vh;
  min-height:430px;
  background:var(--layer5d2d2-bg);
  box-shadow:0 0 0 1px #000;
}

@media (min-width:431px){
  .layer5d2d2-shell{
    box-shadow:0 0 0 1px var(--layer5d2d2-line),0 0 44px rgba(199,21,133,.18);
  }
}

/* ---------- utilities ---------- */
.layer5d2d2-sr-only{
  position:absolute;width:1px;height:1px;margin:-1px;
  overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0;padding:0;
}

.layer5d2d2-skip{
  position:absolute;left:12px;top:-60px;z-index:120;
  background:var(--layer5d2d2-flame);color:#fff;
  padding:10px 16px;border-radius:var(--layer5d2d2-r);
  font-weight:700;transition:top .2s ease;
}
.layer5d2d2-skip:focus{ top:8px; }

/* ==========================================================================
   Top bar — centered identity strip + separate action strip
   ========================================================================== */
.layer5d2d2-topbar{
  position:fixed;top:0;left:50%;
  transform:translateX(-50%);
  width:100%;max-width:var(--layer5d2d2-shell);
  z-index:90;
  background:linear-gradient(180deg,#16162B 0%,rgba(22,22,43,.97) 100%);
  border-bottom:1px solid var(--layer5d2d2-line);
}

.layer5d2d2-identity{
  position:relative;
  display:flex;align-items:center;justify-content:center;
  min-height:52px;
  padding:8px 56px;
}

.layer5d2d2-brand{
  display:inline-flex;align-items:center;gap:9px;
  color:var(--layer5d2d2-text);
}
.layer5d2d2-brand:hover{ color:var(--layer5d2d2-text); text-decoration:none; }

.layer5d2d2-logo{
  width:32px;height:32px;
  border-radius:3px;
  border:1px solid var(--layer5d2d2-line);
  background:#0E0E18;
  object-fit:cover;
}

.layer5d2d2-brand-name{
  font-size:20px;font-weight:800;letter-spacing:2px;
  line-height:1;
}

.layer5d2d2-menu-btn{
  position:absolute;right:8px;top:50%;
  transform:translateY(-50%);
  width:44px;height:44px;
  display:inline-flex;align-items:center;justify-content:center;
  border:1px solid var(--layer5d2d2-line);
  border-radius:var(--layer5d2d2-r);
  background:var(--layer5d2d2-surface2);
  color:var(--layer5d2d2-text);
  transition:transform .12s ease,border-color .12s ease;
}
.layer5d2d2-menu-btn:active{ transform:translateY(-50%) scale(.92); border-color:var(--layer5d2d2-flame); }

.layer5d2d2-actions{
  display:flex;gap:8px;
  padding:0 10px 10px;
}

/* ---------- buttons (full-width main CTA direction) ---------- */
.layer5d2d2-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  min-height:44px;
  padding:10px 14px;
  border-radius:var(--layer5d2d2-r);
  font-size:14px;font-weight:700;line-height:1.2;
  text-align:center;
  transition:transform .12s ease,filter .12s ease,border-color .12s ease;
  -webkit-tap-highlight-color:transparent;
}
.layer5d2d2-btn:active{ transform:scale(.97); }

.layer5d2d2-btn-primary{
  background:linear-gradient(135deg,var(--layer5d2d2-flame) 0%,var(--layer5d2d2-violet) 130%);
  color:#fff;
  box-shadow:0 3px 0 rgba(0,0,0,.35);
}
.layer5d2d2-btn-primary:hover{ filter:brightness(1.08); color:#fff; text-decoration:none; }

.layer5d2d2-btn-ghost{
  background:transparent;
  border:1px solid var(--layer5d2d2-flame);
  color:var(--layer5d2d2-coral);
}
.layer5d2d2-btn-ghost:hover{ border-color:var(--layer5d2d2-sun); color:var(--layer5d2d2-sun); text-decoration:none; }

.layer5d2d2-btn-block{ flex:1 1 50%; width:100%; }

/* ==========================================================================
   Route panel (slide-up routing sheet) + veil
   ========================================================================== */
.layer5d2d2-veil{
  position:fixed;inset:0;z-index:95;
  background:rgba(8,8,15,.66);
  opacity:0;pointer-events:none;
  transition:opacity .25s ease;
}
.layer5d2d2-veil-show{ opacity:1;pointer-events:auto; }

.layer5d2d2-route-panel{
  position:fixed;bottom:0;left:50%;
  transform:translate(-50%,105%);
  width:100%;max-width:var(--layer5d2d2-shell);
  max-height:76vh;overflow-y:auto;
  z-index:100;
  background:var(--layer5d2d2-surface);
  border:1px solid var(--layer5d2d2-line);border-bottom:0;
  border-radius:10px 10px 0 0;
  padding:0 14px calc(18px + env(safe-area-inset-bottom));
  transition:transform .3s cubic-bezier(.2,.8,.25,1);
}
.layer5d2d2-route-open{ transform:translate(-50%,0); }

.layer5d2d2-route-head{
  position:sticky;top:0;
  display:flex;align-items:center;justify-content:space-between;
  padding:14px 0 10px;
  background:var(--layer5d2d2-surface);
  border-bottom:1px dashed var(--layer5d2d2-line);
}
.layer5d2d2-route-title{
  font-size:13px;font-weight:800;letter-spacing:2px;text-transform:uppercase;
  color:var(--layer5d2d2-sun);
}
.layer5d2d2-route-close{
  width:40px;height:40px;
  display:inline-flex;align-items:center;justify-content:center;
  border:1px solid var(--layer5d2d2-line);border-radius:var(--layer5d2d2-r);
  color:var(--layer5d2d2-text);
  transition:transform .12s ease;
}
.layer5d2d2-route-close:active{ transform:scale(.9); }

.layer5d2d2-route-list{
  list-style:none;margin:8px 0 0;padding:0;
}

.layer5d2d2-route-list a{
  display:flex;align-items:center;gap:12px;
  min-height:48px;
  padding:8px 8px;
  border-bottom:1px solid rgba(50,50,90,.45);
  color:var(--layer5d2d2-text);
  font-weight:600;font-size:15px;
  transition:background .12s ease,color .12s ease;
}
.layer5d2d2-route-list a:hover{
  background:var(--layer5d2d2-surface2);
  color:var(--layer5d2d2-sun);
  text-decoration:none;
}
.layer5d2d2-route-list a:active{ transform:scale(.985); }

.layer5d2d2-route-code{
  flex:0 0 auto;
  min-width:34px;height:26px;
  display:inline-flex;align-items:center;justify-content:center;
  font-size:12px;font-weight:800;letter-spacing:1px;
  color:var(--layer5d2d2-coral);
  border:1px solid var(--layer5d2d2-line);
  border-radius:3px;
  background:#101020;
}

body.layer5d2d2-noscroll{ overflow:hidden; }

/* ==========================================================================
   Main column rhythm
   ========================================================================== */
.layer5d2d2-main{
  padding:calc(var(--layer5d2d2-top-h) + 10px) 12px
          calc(var(--layer5d2d2-bn-h) + 56px + env(safe-area-inset-bottom));
}

.layer5d2d2-sec{
  margin:0 0 30px;
  scroll-margin-top:calc(var(--layer5d2d2-top-h) + 14px);
}

/* ---------- hero ---------- */
.layer5d2d2-hero{
  padding:14px 2px 4px;
}

.layer5d2d2-kicker{
  display:inline-block;
  margin:0 0 10px;
  padding:4px 10px;
  font-size:11px;font-weight:800;letter-spacing:1.6px;
  color:var(--layer5d2d2-sun);
  border:1px solid var(--layer5d2d2-line);
  border-left:3px solid var(--layer5d2d2-flame);
  border-radius:3px;
  background:var(--layer5d2d2-surface2);
}

.layer5d2d2-h1{
  margin:0 0 10px;
  font-size:clamp(21px,6.4vw,26px);
  line-height:1.3;
  font-weight:800;
  letter-spacing:.2px;
  color:#fff;
  text-wrap:balance;
}

.layer5d2d2-lede{
  margin:0 0 16px;
  color:var(--layer5d2d2-muted);
  font-size:14.5px;
}
.layer5d2d2-lede strong{ color:var(--layer5d2d2-text); }

.layer5d2d2-cta-row{
  display:flex;gap:8px;
  margin:0 0 18px;
}

/* ==========================================================================
   Carousel — banner rail with sliding focus pill
   ========================================================================== */
.layer5d2d2-carousel{
  position:relative;
  margin:0 0 16px;
  border:1px solid var(--layer5d2d2-line);
  border-radius:var(--layer5d2d2-r-lg);
  overflow:hidden;
  background:var(--layer5d2d2-surface2);
}

.layer5d2d2-ctrack{
  display:flex;
  width:100%;
  transition:transform .45s cubic-bezier(.25,.8,.3,1);
}

.layer5d2d2-cslide{
  position:relative;
  flex:0 0 100%;
  width:100%;
  padding:0;
  aspect-ratio:16/9;
  min-height:170px;
  overflow:hidden;
  display:block;
}

.layer5d2d2-cslide img{
  width:100%;height:100%;
  object-fit:cover;
}

.layer5d2d2-cslide:active img{ transform:scale(1.03); }
.layer5d2d2-cslide img{ transition:transform .4s ease; }

.layer5d2d2-ccap{
  position:absolute;left:0;right:0;bottom:0;
  display:flex;align-items:center;justify-content:space-between;gap:8px;
  padding:26px 12px 10px;
  background:linear-gradient(180deg,rgba(20,20,31,0) 0%,rgba(13,13,22,.92) 100%);
  text-align:left;
}
.layer5d2d2-ccap-txt{
  font-size:13.5px;font-weight:700;color:#fff;line-height:1.35;
}
.layer5d2d2-ccap-go{
  flex:0 0 auto;
  font-size:11px;font-weight:800;letter-spacing:1px;
  color:#0D0D16;
  background:var(--layer5d2d2-sun);
  border-radius:3px;
  padding:5px 9px;
}

.layer5d2d2-cdots{
  position:absolute;top:10px;right:10px;
  display:flex;align-items:center;gap:8px;
  padding:5px 6px;
  background:rgba(13,13,22,.55);
  border-radius:999px;
}
.layer5d2d2-cdot{
  width:14px;height:14px;
  border-radius:50%;
  position:relative;
}
.layer5d2d2-cdot::after{
  content:"";position:absolute;inset:3px;
  border-radius:50%;
  background:rgba(240,240,240,.45);
  transition:background .2s ease;
}
.layer5d2d2-cglide{
  position:absolute;top:5px;left:6px;
  width:14px;height:14px;border-radius:50%;
  border:2px solid var(--layer5d2d2-sun);
  transition:transform .35s cubic-bezier(.3,.8,.3,1);
  pointer-events:none;
}

/* ==========================================================================
   Quick category route strip — chips with sliding indicator
   ========================================================================== */
.layer5d2d2-quick{
  margin:0 0 22px;
}

.layer5d2d2-quick-strip{
  position:relative;
  display:flex;gap:8px;
  overflow-x:auto;
  padding:5px 3px 9px;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
}
.layer5d2d2-quick-strip::-webkit-scrollbar{ display:none; }

.layer5d2d2-chip{
  flex:0 0 auto;
  min-height:44px;
  display:inline-flex;align-items:center;
  padding:9px 15px;
  border:1px solid var(--layer5d2d2-line);
  border-radius:3px;
  background:var(--layer5d2d2-surface2);
  color:var(--layer5d2d2-muted);
  font-size:13px;font-weight:700;letter-spacing:.3px;
  transition:color .18s ease,border-color .18s ease,transform .12s ease;
}
.layer5d2d2-chip:active{ transform:scale(.95); }
.layer5d2d2-chip-on{
  color:#fff;
  border-color:var(--layer5d2d2-violet);
}

.layer5d2d2-quick-glider{
  position:absolute;bottom:2px;left:0;
  height:3px;width:44px;
  border-radius:2px;
  background:linear-gradient(90deg,var(--layer5d2d2-flame),var(--layer5d2d2-violet));
  transition:transform .3s cubic-bezier(.3,.8,.3,1),width .3s ease;
  pointer-events:none;
}

/* ==========================================================================
   Game sections — horizontal icon+name bars on a 2-col track
   ========================================================================== */
.layer5d2d2-gsec-head{
  display:flex;align-items:baseline;justify-content:space-between;gap:10px;
  margin:0 0 6px;
}

.layer5d2d2-gsec-head h2{
  margin:0;
  font-size:17.5px;line-height:1.35;font-weight:800;color:#fff;
}

.layer5d2d2-count{
  flex:0 0 auto;
  font-size:11px;font-weight:800;letter-spacing:.6px;
  color:#0D0D16;
  background:var(--layer5d2d2-sun);
  border-radius:3px;
  padding:3px 8px;
}

.layer5d2d2-gsec-intro{
  margin:0 0 12px;
  font-size:13.5px;
  color:var(--layer5d2d2-muted);
}
.layer5d2d2-gsec-intro a{ color:var(--layer5d2d2-coral); font-weight:700; }
.layer5d2d2-gsec-intro a:hover{ color:var(--layer5d2d2-sun); }

.layer5d2d2-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
}

.layer5d2d2-gbar{
  display:flex;align-items:center;gap:9px;
  width:100%;
  min-height:56px;
  padding:6px 8px;
  background:var(--layer5d2d2-surface);
  border:1px solid var(--layer5d2d2-line);
  border-left:3px solid var(--layer5d2d2-line);
  border-radius:var(--layer5d2d2-r);
  text-align:left;
  transition:transform .12s ease,border-color .15s ease,background .15s ease;
  -webkit-tap-highlight-color:transparent;
}
.layer5d2d2-gbar:active{
  transform:scale(.96);
  background:var(--layer5d2d2-surface2);
  border-left-color:var(--layer5d2d2-flame);
}
@media (hover:hover){
  .layer5d2d2-gbar:hover{ border-color:var(--layer5d2d2-violet); border-left-color:var(--layer5d2d2-violet); }
}

.layer5d2d2-gbar-ico{
  flex:0 0 44px;
  width:44px;height:44px;
  border-radius:3px;
  object-fit:cover;
  background:#0E0E18;
  border:1px solid rgba(50,50,90,.6);
}

.layer5d2d2-gbar-name{
  min-width:0;
  font-size:12.5px;font-weight:700;line-height:1.3;
  color:var(--layer5d2d2-text);
  display:-webkit-box;
  -webkit-line-clamp:2;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

/* per-category accent for the bar rail */
.layer5d2d2-tint-live   .layer5d2d2-gbar:active{ border-left-color:var(--layer5d2d2-coral); }
.layer5d2d2-tint-slot   .layer5d2d2-gbar:active{ border-left-color:var(--layer5d2d2-sun); }
.layer5d2d2-tint-fish   .layer5d2d2-gbar:active{ border-left-color:#3EC1D3; }
.layer5d2d2-tint-hot    .layer5d2d2-gbar:active{ border-left-color:var(--layer5d2d2-flame); }
.layer5d2d2-tint-poker  .layer5d2d2-gbar:active{ border-left-color:var(--layer5d2d2-violet); }

/* ==========================================================================
   Content modules (category map / steps / FAQ / mobile path / checklist)
   ========================================================================== */
.layer5d2d2-mod{
  border:1px solid var(--layer5d2d2-line);
  border-radius:var(--layer5d2d2-r-lg);
  background:var(--layer5d2d2-surface);
  padding:16px 13px 8px;
  margin:0 0 26px;
}

.layer5d2d2-mod > h2{
  margin:0 0 6px;
  font-size:17.5px;line-height:1.4;font-weight:800;color:#fff;
}

.layer5d2d2-mod-lead{
  margin:0 0 14px;
  font-size:13.5px;color:var(--layer5d2d2-muted);
}

/* category map blocks */
.layer5d2d2-cat-item{
  border-left:3px solid var(--layer5d2d2-flame);
  background:var(--layer5d2d2-surface2);
  border-radius:0 var(--layer5d2d2-r) var(--layer5d2d2-r) 0;
  padding:10px 12px;
  margin:0 0 10px;
}
.layer5d2d2-cat-item:nth-child(2){ border-left-color:var(--layer5d2d2-sun); }
.layer5d2d2-cat-item:nth-child(3){ border-left-color:#3EC1D3; }
.layer5d2d2-cat-item:nth-child(4){ border-left-color:var(--layer5d2d2-coral); }
.layer5d2d2-cat-item:nth-child(5){ border-left-color:var(--layer5d2d2-violet); }

.layer5d2d2-cat-item h3{
  margin:0 0 4px;
  font-size:14.5px;font-weight:800;color:var(--layer5d2d2-sun);
}
.layer5d2d2-cat-item p{
  margin:0;
  font-size:13px;color:var(--layer5d2d2-muted);
}
.layer5d2d2-cat-item a{ font-weight:700; }

/* step rhythm */
.layer5d2d2-steps{
  list-style:none;
  margin:0 0 10px;padding:0;
  counter-reset:layer5d2d2step;
}
.layer5d2d2-steps li{
  position:relative;
  counter-increment:layer5d2d2step;
  padding:0 0 14px 44px;
}
.layer5d2d2-steps li::before{
  content:counter(layer5d2d2step,decimal-leading-zero);
  position:absolute;left:0;top:1px;
  width:30px;height:30px;
  display:inline-flex;align-items:center;justify-content:center;
  font-size:12px;font-weight:800;
  color:#fff;
  background:linear-gradient(135deg,var(--layer5d2d2-flame),var(--layer5d2d2-violet));
  border-radius:3px;
}
.layer5d2d2-steps li:not(:last-child)::after{
  content:"";position:absolute;left:14px;top:34px;bottom:2px;width:2px;
  background:var(--layer5d2d2-line);
}
.layer5d2d2-steps h3{
  margin:2px 0 3px;font-size:14px;font-weight:800;color:var(--layer5d2d2-text);
}
.layer5d2d2-steps p{ margin:0;font-size:13px;color:var(--layer5d2d2-muted); }
.layer5d2d2-steps a{ font-weight:700; }

/* FAQ accordion (native details) */
.layer5d2d2-faq{
  border:1px solid var(--layer5d2d2-line);
  border-radius:var(--layer5d2d2-r);
  background:var(--layer5d2d2-surface2);
  margin:0 0 10px;
  overflow:hidden;
}
.layer5d2d2-faq summary{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
  min-height:48px;
  padding:11px 12px;
  cursor:pointer;
  list-style:none;
  font-size:13.5px;font-weight:700;color:var(--layer5d2d2-text);
  transition:background .15s ease;
}
.layer5d2d2-faq summary::-webkit-details-marker{ display:none; }
.layer5d2d2-faq summary:hover{ background:#262649; }
.layer5d2d2-faq summary::after{
  content:"+";flex:0 0 auto;
  width:22px;height:22px;
  display:inline-flex;align-items:center;justify-content:center;
  font-weight:800;color:var(--layer5d2d2-flame);
  border:1px solid var(--layer5d2d2-line);
  border-radius:3px;
}
.layer5d2d2-faq[open] summary::after{ content:"–"; color:var(--layer5d2d2-sun); }
.layer5d2d2-faq-a{
  padding:0 12px 12px;
  font-size:13px;color:var(--layer5d2d2-muted);
}
.layer5d2d2-faq-a p{ margin:0; }
.layer5d2d2-faq-a a{ font-weight:700; }

/* checklist */
.layer5d2d2-check{
  list-style:none;margin:0 0 10px;padding:0;
}
.layer5d2d2-check li{
  position:relative;
  padding:9px 10px 9px 36px;
  margin:0 0 8px;
  font-size:13px;color:var(--layer5d2d2-muted);
  background:var(--layer5d2d2-surface2);
  border:1px solid var(--layer5d2d2-line);
  border-radius:var(--layer5d2d2-r);
}
.layer5d2d2-check li::before{
  content:"";
  position:absolute;left:10px;top:12px;
  width:14px;height:14px;
  border:2px solid var(--layer5d2d2-sun);
  border-radius:2px;
}
.layer5d2d2-check strong{ color:var(--layer5d2d2-text); }

/* ==========================================================================
   Extended site footer (brand > directory > promo actions > disclaimer)
   ========================================================================== */
.layer5d2d2-xfoot{
  margin:6px 0 0;
  padding:18px 13px 14px;
  border:1px solid var(--layer5d2d2-line);
  border-radius:var(--layer5d2d2-r-lg) var(--layer5d2d2-r-lg) 0 0;
  background:linear-gradient(180deg,var(--layer5d2d2-surface2) 0%,#15152A 100%);
}

.layer5d2d2-xfoot h2{
  margin:0 0 8px;
  font-size:16.5px;font-weight:800;color:#fff;
}
.layer5d2d2-xfoot h3{
  margin:18px 0 8px;
  font-size:12px;font-weight:800;letter-spacing:1.8px;text-transform:uppercase;
  color:var(--layer5d2d2-coral);
}
.layer5d2d2-xfoot h3::after{
  content:"";display:block;height:2px;margin-top:5px;
  background:linear-gradient(90deg,var(--layer5d2d2-flame),transparent);
}

.layer5d2d2-xfoot p{ font-size:13px;color:var(--layer5d2d2-muted);margin:0 0 6px; }

.layer5d2d2-dir{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
  margin:0 0 4px;
}
.layer5d2d2-dir a{
  display:flex;align-items:center;gap:8px;
  min-height:44px;
  padding:8px 10px;
  background:var(--layer5d2d2-surface);
  border:1px solid var(--layer5d2d2-line);
  border-radius:var(--layer5d2d2-r);
  color:var(--layer5d2d2-text);
  font-size:12.5px;font-weight:700;line-height:1.3;
  transition:transform .12s ease,border-color .15s ease;
}
.layer5d2d2-dir a:hover{ border-color:var(--layer5d2d2-sun); color:var(--layer5d2d2-sun); text-decoration:none; }
.layer5d2d2-dir a:active{ transform:scale(.96); }

.layer5d2d2-dir-ico{
  flex:0 0 10px;width:10px;height:10px;
  border:2px solid var(--layer5d2d2-coral);
  border-radius:2px;
  background:transparent;
}

.layer5d2d2-xpromo{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
  margin:0 0 4px;
}
.layer5d2d2-xpromo .layer5d2d2-btn{ min-height:48px;font-size:13px;padding:8px 8px; }

.layer5d2d2-note{
  margin:16px 0 0;
  padding:10px 12px;
  border:1px dashed var(--layer5d2d2-line);
  border-left:3px solid var(--layer5d2d2-sun);
  border-radius:var(--layer5d2d2-r);
  font-size:12px;
  color:var(--layer5d2d2-muted);
}

/* common copyright bar */
.layer5d2d2-foot{
  padding:14px 13px 16px;
  background:#101020;
  border-top:1px solid var(--layer5d2d2-line);
  text-align:center;
}
.layer5d2d2-foot p{
  margin:0;
  font-size:12px;letter-spacing:.4px;
  color:var(--layer5d2d2-muted);
}

/* ==========================================================================
   Mobile bottom nav — center-raised five-role dock
   ========================================================================== */
.layer5d2d2-bn{
  position:fixed;bottom:0;left:50%;
  transform:translateX(-50%);
  width:100%;max-width:var(--layer5d2d2-shell);
  z-index:92;
  display:grid;
  grid-template-columns:repeat(5,1fr);
  align-items:end;
  background:rgba(16,16,32,.98);
  border-top:1px solid var(--layer5d2d2-line);
  padding:6px 4px calc(6px + env(safe-area-inset-bottom));
}

.layer5d2d2-bn-item{
  position:relative;
  display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:3px;
  min-height:44px;
  padding:4px 2px;
  color:var(--layer5d2d2-muted);
  border-radius:var(--layer5d2d2-r);
  transition:color .15s ease,transform .12s ease;
}
.layer5d2d2-bn-item:active{ transform:scale(.92); }

.layer5d2d2-bn-ico{
  display:inline-flex;align-items:center;justify-content:center;
  width:24px;height:24px;
}
.layer5d2d2-bn-ico svg{ width:22px;height:22px;display:block; }

.layer5d2d2-bn-label{
  font-size:10px;font-weight:700;letter-spacing:.2px;line-height:1;
}

/* active role: icon fill flips on */
.layer5d2d2-bn-on{ color:var(--layer5d2d2-sun); }
.layer5d2d2-bn-on .layer5d2d2-bn-ico svg *{ fill:currentColor; stroke:currentColor; }
.layer5d2d2-bn-on::after{
  content:"";position:absolute;top:0;left:50%;
  transform:translateX(-50%);
  width:22px;height:3px;border-radius:0 0 2px 2px;
  background:var(--layer5d2d2-sun);
}

/* center raised promo hub */
.layer5d2d2-bn-mid{
  color:#fff;
  transform:translateY(-16px);
  transition:transform .15s ease;
}
.layer5d2d2-bn-mid:active{ transform:translateY(-16px) scale(.9); }
.layer5d2d2-bn-mid .layer5d2d2-bn-ico{
  width:54px;height:54px;
  margin-bottom:2px;
  border-radius:50%;
  background:linear-gradient(140deg,var(--layer5d2d2-flame) 15%,var(--layer5d2d2-violet) 110%);
  border:2px solid var(--layer5d2d2-surface3);
  box-shadow:0 6px 16px rgba(255,87,34,.38);
}
.layer5d2d2-bn-mid .layer5d2d2-bn-ico svg{ width:26px;height:26px; }
.layer5d2d2-bn-mid .layer5d2d2-bn-ico svg *{ stroke:#fff; }

/* ==========================================================================
   Responsive polish inside the 320–430px canvas
   ========================================================================== */
@media (min-width:360px){
  .layer5d2d2-gsec-head h2,
  .layer5d2d2-mod > h2{ font-size:18.5px; }
  .layer5d2d2-gbar-name{ font-size:13px; }
}

@media (min-width:430px){
  .layer5d2d2-main{ padding-left:16px; padding-right:16px; }
  .layer5d2d2-h1{ font-size:27px; }
  .layer5d2d2-grid{ gap:10px; }
  .layer5d2d2-gbar{ min-height:60px; padding:7px 10px; }
  .layer5d2d2-gbar-ico{ width:48px;height:48px;flex-basis:48px; }
  .layer5d2d2-cslide{ min-height:180px; }
}

/* keep the canvas honest on very narrow phones */
@media (max-width:339px){
  .layer5d2d2-brand-name{ font-size:18px; letter-spacing:1.2px; }
  .layer5d2d2-cta-row{ flex-direction:column; }
  .layer5d2d2-gbar-name{ font-size:12px; }
}

/* ---------- motion budget ---------- */
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{
    animation-duration:.01ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.01ms !important;
    scroll-behavior:auto !important;
  }
}
