/* ============================================================
   shbeta.homes — mobile-first base stylesheet
   Prefix: layer55f87-
   Palette reference: #7CFC00 #98FB98 #4A4A4A #212F3D #F0F0F0 #3CB371
   Direction: round titles + compact body, light overlay game cards,
   focus indicator slide, full-width primary CTA.
   ============================================================ */

/* ---------- Design tokens ---------- */
:root{
  --layer55f87-bg:#212F3D;
  --layer55f87-bg-deep:#172534;
  --layer55f87-bg-soft:#1d2e3f;
  --layer55f87-surface:#243748;
  --layer55f87-surface-2:#2b4156;
  --layer55f87-grey:#4A4A4A;
  --layer55f87-text:#F0F0F0;
  --layer55f87-text-dim:#bccad6;
  --layer55f87-text-mute:#8ea2b2;
  --layer55f87-accent:#7CFC00;
  --layer55f87-accent-soft:#98FB98;
  --layer55f87-sea:#3CB371;
  --layer55f87-line:rgba(124,252,0,.16);
  --layer55f87-line-soft:rgba(240,240,240,.08);
  --layer55f87-shadow:0 14px 28px rgba(0,0,0,.34);
  --layer55f87-shadow-soft:0 8px 18px rgba(0,0,0,.22);
  --layer55f87-radius-card:14px;
  --layer55f87-radius-btn:10px;
  --layer55f87-radius-pill:999px;
  --layer55f87-gap:14px;
  --layer55f87-header-h:60px;
  --layer55f87-bottomnav-h:66px;
  --layer55f87-max:480px;
  --layer55f87-font-title:"Baloo 2","Nunito","Quicksand",system-ui,Segoe UI,Round Sans,ui-rounded,Arial,"Helvetica Neue",sans-serif;
  --layer55f87-font-body:"Inter","Nunito Sans",system-ui,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
}

/* ---------- Reset ---------- */
*,*::before,*::after{box-sizing:border-box}
html{ -webkit-text-size-adjust:100%; text-size-adjust:100%; }
body{
  margin:0;
  font-family:var(--layer55f87-font-body);
  background:var(--layer55f87-bg);
  color:var(--layer55f87-text);
  line-height:1.55;
  font-size:15px;
  min-height:100vh;
  overflow-x:hidden;
}
img{max-width:100%;display:block;border:0}
a{color:var(--layer55f87-accent-soft);text-decoration:none}
a:hover{color:var(--layer55f87-accent)}
button{font:inherit;color:inherit;border:0;background:transparent;cursor:pointer}
ul,ol{margin:0;padding:0;list-style:none}
h1,h2,h3,h4{font-family:var(--layer55f87-font-title);font-weight:700;line-height:1.28;margin:0 0 10px;letter-spacing:.2px}
h1{font-size:24px}
h2{font-size:20px}
h3{font-size:17px}
p{margin:0 0 12px}
small{font-size:12.5px;color:var(--layer55f87-text-mute)}
:focus-visible{outline:2px solid var(--layer55f87-accent);outline-offset:2px;border-radius:6px}

/* ---------- Page shell (centered phone canvas) ---------- */
.layer55f87-page{
  max-width:var(--layer55f87-max);
  margin:0 auto;
  background:
    radial-gradient(120% 60% at 80% -10%, rgba(124,252,0,.07), transparent 60%),
    radial-gradient(120% 60% at -10% 0%, rgba(60,179,113,.08), transparent 60%),
    var(--layer55f87-bg);
  min-height:100vh;
  position:relative;
  box-shadow:var(--layer55f87-shadow);
}

/* ---------- Skip link ---------- */
.layer55f87-skip{
  position:absolute;left:-9999px;top:0;background:var(--layer55f87-accent);color:#0c1a23;
  padding:10px 14px;border-radius:0 0 10px 0;font-weight:700;z-index:200;
}
.layer55f87-skip:focus{left:0}

/* ---------- Header / compact brand bar ---------- */
.layer55f87-header{
  position:sticky;top:0;z-index:90;
  background:linear-gradient(180deg,#1b2c3d 0%, #18273a 100%);
  border-bottom:1px solid var(--layer55f87-line);
  height:var(--layer55f87-header-h);
  display:flex;align-items:center;
  padding:0 12px;
  gap:10px;
}
.layer55f87-brand{
  display:flex;align-items:center;gap:10px;min-width:0;flex:1;
}
.layer55f87-brand-img{
  width:40px;height:40px;border-radius:10px;
  object-fit:cover;
  background:radial-gradient(circle at 30% 30%, #2c4458, #16243a);
  box-shadow:0 0 0 2px rgba(124,252,0,.35), 0 4px 10px rgba(0,0,0,.3);
}
.layer55f87-brand-name{
  font-family:var(--layer55f87-font-title);
  font-weight:800;font-size:20px;letter-spacing:.4px;
  color:var(--layer55f87-text);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;
}
.layer55f87-brand-name b{color:var(--layer55f87-accent)}

.layer55f87-actions{display:flex;align-items:center;gap:6px}
.layer55f87-btn{
  display:inline-flex;align-items:center;justify-content:center;gap:6px;
  min-height:40px;padding:0 14px;
  border-radius:var(--layer55f87-radius-btn);
  font-weight:700;font-size:13.5px;letter-spacing:.3px;
  transition:transform .14s ease, box-shadow .14s ease, background .14s ease;
  white-space:nowrap;
}
.layer55f87-btn:active{transform:translateY(1px)}
.layer55f87-btn-ghost{
  background:transparent;color:var(--layer55f87-text);
  border:1px solid var(--layer55f87-line-soft);
}
.layer55f87-btn-ghost:hover{border-color:var(--layer55f87-line);color:var(--layer55f87-accent-soft)}
.layer55f87-btn-primary{
  background:linear-gradient(135deg, #7CFC00 0%, #3CB371 100%);
  color:#0c1a23;font-weight:800;
  box-shadow:0 6px 14px rgba(124,252,0,.22);
}
.layer55f87-btn-primary:hover{box-shadow:0 8px 18px rgba(124,252,0,.32)}

.layer55f87-menu-btn{
  width:42px;height:42px;border-radius:10px;
  border:1px solid var(--layer55f87-line-soft);
  display:inline-flex;align-items:center;justify-content:center;
  background:rgba(255,255,255,.04);
}
.layer55f87-menu-btn:hover{border-color:var(--layer55f87-line)}
.layer55f87-menu-btn span{
  display:block;width:18px;height:2px;background:var(--layer55f87-text);
  position:relative;border-radius:2px;
}
.layer55f87-menu-btn span::before,
.layer55f87-menu-btn span::after{
  content:"";position:absolute;left:0;width:18px;height:2px;background:var(--layer55f87-text);border-radius:2px;
}
.layer55f87-menu-btn span::before{top:-6px}
.layer55f87-menu-btn span::after{top:6px}

/* ---------- Mobile slide-down menu ---------- */
.layer55f87-menu{
  position:fixed;inset:0 0 0 auto;
  width:min(86%,360px);
  background:var(--layer55f87-bg-deep);
  border-left:1px solid var(--layer55f87-line);
  box-shadow:var(--layer55f87-shadow);
  transform:translateX(110%);
  transition:transform .26s cubic-bezier(.22,.7,.3,1);
  z-index:120;display:flex;flex-direction:column;
  visibility:hidden;
}
.layer55f87-menu[data-open="true"]{transform:translateX(0);visibility:visible}
.layer55f87-menu-head{
  display:flex;align-items:center;justify-content:space-between;
  padding:14px 16px;border-bottom:1px solid var(--layer55f87-line-soft);
}
.layer55f87-menu-head .layer55f87-brand-name{font-size:18px}
.layer55f87-menu-close{
  width:38px;height:38px;border-radius:10px;
  background:rgba(255,255,255,.05);
  display:inline-flex;align-items:center;justify-content:center;
  color:var(--layer55f87-text);font-size:18px;line-height:1;
}
.layer55f87-menu-close:hover{background:rgba(124,252,0,.12)}
.layer55f87-menu-body{padding:10px 12px 24px;overflow-y:auto;flex:1}
.layer55f87-menu-section{margin:14px 0 6px;font-size:12px;color:var(--layer55f87-text-mute);text-transform:uppercase;letter-spacing:.12em}
.layer55f87-menu-link{
  display:flex;align-items:center;justify-content:space-between;
  padding:13px 12px;border-radius:10px;
  color:var(--layer55f87-text);font-weight:600;font-size:15px;
  border:1px solid transparent;
}
.layer55f87-menu-link:hover{background:rgba(124,252,0,.08);border-color:var(--layer55f87-line-soft)}
.layer55f87-menu-link::after{
  content:"›";color:var(--layer55f87-accent);font-weight:800;font-size:18px;
}
.layer55f87-menu-cta{
  display:flex;gap:8px;padding:14px 4px 6px;
}
.layer55f87-menu-cta .layer55f87-btn{flex:1;width:100%}
.layer55f87-backdrop{
  position:fixed;inset:0;background:rgba(6,12,20,.55);
  opacity:0;visibility:hidden;transition:opacity .26s ease;z-index:110;
}
.layer55f87-backdrop[data-open="true"]{opacity:1;visibility:visible}

/* ---------- Main ---------- */
.layer55f87-main{padding:14px 12px calc(var(--layer55f87-bottomnav-h) + 28px)}

/* ---------- Breadcrumb ---------- */
.layer55f87-crumbs{
  display:flex;flex-wrap:wrap;gap:6px;font-size:12.5px;color:var(--layer55f87-text-mute);
  margin:4px 0 10px;
}
.layer55f87-crumbs a{color:var(--layer55f87-text-dim)}
.layer55f87-crumbs span{color:var(--layer55f87-text-mute)}

/* ---------- Hero / Carousel ---------- */
.layer55f87-hero{margin:0 0 16px;border-radius:18px;overflow:hidden;box-shadow:var(--layer55f87-shadow-soft)}
.layer55f87-carousel{position:relative;border-radius:18px;overflow:hidden;background:#0d1826}
.layer55f87-track{display:flex;transition:transform .42s cubic-bezier(.25,.75,.3,1)}
.layer55f87-slide{
  flex:0 0 100%;position:relative;
  aspect-ratio:16/9;background:#0d1826;
}
.layer55f87-slide img{width:100%;height:100%;object-fit:cover}
.layer55f87-slide-caption{
  position:absolute;left:12px;right:12px;bottom:12px;
  background:linear-gradient(0deg, rgba(8,15,24,.85), rgba(8,15,24,0));
  padding:24px 12px 10px;border-radius:14px;
}
.layer55f87-slide-caption strong{
  display:block;font-family:var(--layer55f87-font-title);
  font-size:17px;color:var(--layer55f87-accent);letter-spacing:.3px;line-height:1.25;
}
.layer55f87-slide-caption span{display:block;font-size:12.5px;color:var(--layer55f87-text-dim);margin-top:2px}
.layer55f87-slide-cta{
  display:inline-flex;align-items:center;gap:6px;
  margin-top:10px;padding:8px 14px;border-radius:var(--layer55f87-radius-btn);
  background:linear-gradient(135deg,#7CFC00,#3CB371);color:#0c1a23;
  font-weight:800;font-size:13px;
}
.layer55f87-carousel-arrow{
  position:absolute;top:50%;transform:translateY(-50%);
  width:36px;height:36px;border-radius:50%;
  background:rgba(8,15,24,.55);color:#fff;
  display:inline-flex;align-items:center;justify-content:center;
  font-size:18px;font-weight:700;
  border:1px solid rgba(255,255,255,.15);
  z-index:2;
}
.layer55f87-carousel-arrow:hover{background:rgba(124,252,0,.25)}
.layer55f87-arrow-prev{left:8px}
.layer55f87-arrow-next{right:8px}
.layer55f87-dots{
  position:absolute;left:0;right:0;bottom:8px;
  display:flex;justify-content:center;gap:6px;z-index:2;
}
.layer55f87-dot{
  width:7px;height:7px;border-radius:50%;
  background:rgba(255,255,255,.4);transition:all .2s ease;padding:0;
}
.layer55f87-dot[aria-current="true"]{width:20px;border-radius:6px;background:var(--layer55f87-accent)}

/* ---------- Section heading ---------- */
.layer55f87-section{margin:18px 0 22px}
.layer55f87-section-head{
  display:flex;align-items:center;justify-content:space-between;
  margin:0 0 12px;gap:8px;
}
.layer55f87-section-title{
  display:inline-flex;align-items:center;gap:8px;
  font-family:var(--layer55f87-font-title);font-weight:800;font-size:18px;
  color:var(--layer55f87-text);margin:0;
}
.layer55f87-section-title::before{
  content:"";width:6px;height:22px;border-radius:4px;
  background:linear-gradient(180deg,var(--layer55f87-accent),var(--layer55f87-sea));
}
.layer55f87-section-tag{
  font-size:11.5px;color:var(--layer55f87-text-mute);
  border:1px dashed var(--layer55f87-line-soft);
  padding:3px 8px;border-radius:999px;
}

/* ---------- Game grid (compact overlay cards) ---------- */
.layer55f87-grid{
  display:grid;
  grid-template-columns:repeat(4, 1fr);
  gap:9px;
}
.layer55f87-card{
  position:relative;border-radius:12px;overflow:hidden;
  background:var(--layer55f87-surface);
  border:1px solid var(--layer55f87-line-soft);
  box-shadow:0 4px 10px rgba(0,0,0,.18);
  display:flex;flex-direction:column;
  transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease;
  outline:none;
}
.layer55f87-card:hover,
.layer55f87-card:focus-visible{
  transform:translateY(-3px);
  border-color:var(--layer55f87-line);
  box-shadow:0 10px 18px rgba(0,0,0,.28);
}
.layer55f87-card-thumb{
  position:relative;aspect-ratio:1/1;background:#0d1826;
}
.layer55f87-card-thumb img{width:100%;height:100%;object-fit:cover}
.layer55f87-card-thumb::after{
  content:"";position:absolute;inset:0;
  background:linear-gradient(180deg, rgba(8,15,24,0) 45%, rgba(8,15,24,.5) 100%);
  pointer-events:none;
}
.layer55f87-card-badge{
  position:absolute;top:5px;left:5px;
  font-size:9.5px;letter-spacing:.06em;text-transform:uppercase;
  background:rgba(124,252,0,.92);color:#0c1a23;
  padding:2px 6px;border-radius:6px;font-weight:800;
}
.layer55f87-card-name{
  padding:6px 7px 8px;font-size:11.5px;line-height:1.25;
  color:var(--layer55f87-text-dim);font-weight:600;
  text-align:center;min-height:32px;
  display:flex;align-items:center;justify-content:center;
}
.layer55f87-card-name b{color:var(--layer55f87-accent-soft);font-weight:700}

/* wider grid beyond 430px breakpoint */
@media (min-width:430px){
  .layer55f87-grid{grid-template-columns:repeat(5, 1fr);gap:10px}
  .layer55f87-card-name{font-size:12px}
}

/* ---------- Feature / module cards ---------- */
.layer55f87-panel{
  background:var(--layer55f87-surface);
  border:1px solid var(--layer55f87-line-soft);
  border-radius:var(--layer55f87-radius-card);
  padding:16px;margin:14px 0;
  box-shadow:var(--layer55f87-shadow-soft);
}
.layer55f87-panel h2{margin-top:0}
.layer55f87-panel p:last-child{margin-bottom:0}

.layer55f87-lede{
  font-size:15.5px;color:var(--layer55f87-text);font-weight:500;
  border-left:3px solid var(--layer55f87-accent);padding:4px 0 4px 12px;
  margin:0 0 12px;
}
.layer55f87-lead-answer{
  background:rgba(124,252,0,.07);
  border:1px solid var(--layer55f87-line);
  border-radius:12px;padding:12px 14px;margin:0 0 14px;
  color:var(--layer55f87-text);
}
.layer55f87-lead-answer strong{color:var(--layer55f87-accent)}

/* ---------- Highlights grid (category highlights) ---------- */
.layer55f87-highlights{
  display:grid;grid-template-columns:repeat(2,1fr);gap:10px;
}
.layer55f87-highlight{
  background:var(--layer55f87-surface-2);
  border:1px solid var(--layer55f87-line-soft);
  border-radius:12px;padding:12px;
  display:flex;flex-direction:column;gap:6px;
  min-height:0;
}
.layer55f87-highlight-title{
  font-family:var(--layer55f87-font-title);font-weight:700;font-size:14.5px;
  color:var(--layer55f87-accent-soft);margin:0;
  display:flex;align-items:center;gap:6px;
}
.layer55f87-highlight-title .layer55f87-pill{
  background:var(--layer55f87-accent);color:#0c1a23;
  font-size:10px;font-weight:800;padding:2px 7px;border-radius:6px;
  font-family:var(--layer55f87-font-body);
}
.layer55f87-highlight p{margin:0;font-size:12.8px;color:var(--layer55f87-text-dim);line-height:1.5}

/* ---------- Steps / numbered list ---------- */
.layer55f87-steps{counter-reset:step;display:flex;flex-direction:column;gap:10px;margin:6px 0}
.layer55f87-step{
  position:relative;padding:10px 12px 10px 44px;
  background:var(--layer55f87-surface-2);
  border:1px solid var(--layer55f87-line-soft);
  border-radius:10px;
}
.layer55f87-step::before{
  counter-increment:step;content:counter(step);
  position:absolute;left:8px;top:50%;transform:translateY(-50%);
  width:28px;height:28px;border-radius:8px;
  background:linear-gradient(135deg,var(--layer55f87-accent),var(--layer55f87-sea));
  color:#0c1a23;font-weight:800;font-size:13px;
  display:inline-flex;align-items:center;justify-content:center;
}
.layer55f87-step strong{color:var(--layer55f87-accent-soft)}
.layer55f87-step p{margin:0;font-size:13.2px;color:var(--layer55f87-text-dim)}

/* ---------- Checklist ---------- */
.layer55f87-checklist{display:flex;flex-direction:column;gap:8px;margin:6px 0}
.layer55f87-checkitem{
  display:flex;gap:10px;align-items:flex-start;
  background:var(--layer55f87-surface-2);
  border:1px solid var(--layer55f87-line-soft);
  border-radius:10px;padding:10px 12px;
}
.layer55f87-checkitem::before{
  content:"✓";flex:0 0 22px;height:22px;width:22px;
  display:inline-flex;align-items:center;justify-content:center;
  background:var(--layer55f87-accent);color:#0c1a23;
  border-radius:6px;font-weight:900;font-size:13px;
}
.layer55f87-checkitem span{font-size:13.4px;color:var(--layer55f87-text);line-height:1.45}
.layer55f87-checkitem b{color:var(--layer55f87-accent-soft)}

/* ---------- Promo inline strip ---------- */
.layer55f87-promo-strip{
  display:flex;flex-direction:column;gap:10px;
  background:linear-gradient(135deg, rgba(124,252,0,.12), rgba(60,179,113,.12));
  border:1px solid var(--layer55f87-line);
  border-radius:var(--layer55f87-radius-card);
  padding:14px;margin:14px 0;
}
.layer55f87-promo-strip h3{
  margin:0;color:var(--layer55f87-accent);
  font-family:var(--layer55f87-font-title);font-size:16.5px;
}
.layer55f87-promo-strip p{margin:0;font-size:13px;color:var(--layer55f87-text-dim)}
.layer55f87-promo-row{display:flex;gap:8px;flex-wrap:wrap}
.layer55f87-promo-row .layer55f87-btn{flex:1 1 130px;width:100%}

/* ---------- Scenario answer block ---------- */
.layer55f87-scenario{
  background:var(--layer55f87-surface-2);
  border:1px solid var(--layer55f87-line-soft);
  border-radius:12px;padding:14px;margin:8px 0;
}
.layer55f87-scenario h3{margin:0 0 8px;color:var(--layer55f87-accent-soft)}
.layer55f87-scenario p{margin:0;font-size:13.4px;color:var(--layer55f87-text-dim)}
.layer55f87-scenario + .layer55f87-scenario{margin-top:10px}

/* ---------- Selection guide table-like ---------- */
.layer55f87-guide{display:flex;flex-direction:column;gap:10px}
.layer55f87-guide-row{
  display:grid;grid-template-columns:96px 1fr;gap:10px;
  background:var(--layer55f87-surface-2);
  border:1px solid var(--layer55f87-line-soft);
  border-radius:10px;padding:10px 12px;align-items:center;
}
.layer55f87-guide-tag{
  font-family:var(--layer55f87-font-title);font-weight:800;color:var(--layer55f87-accent);
  font-size:13.5px;letter-spacing:.04em;
}
.layer55f87-guide-tag small{display:block;color:var(--layer55f87-text-mute);font-size:10.5px;font-weight:600;letter-spacing:.02em}
.layer55f87-guide-text{font-size:12.8px;color:var(--layer55f87-text-dim);line-height:1.45}

/* ---------- App download showcase ---------- */
.layer55f87-app{
  display:flex;flex-direction:column;gap:12px;
  background:linear-gradient(135deg, #18283b, #21384f);
  border:1px solid var(--layer55f87-line);
  border-radius:var(--layer55f87-radius-card);
  padding:14px;margin:14px 0;
}
.layer55f87-app-head{display:flex;align-items:center;gap:10px}
.layer55f87-app-logo{
  width:46px;height:46px;border-radius:12px;object-fit:cover;
  background:#0d1826;border:1px solid var(--layer55f87-line);
}
.layer55f87-app-head h3{margin:0;font-size:16px}
.layer55f87-app-head small{color:var(--layer55f87-text-mute);font-size:11.5px}
.layer55f87-app-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.layer55f87-app-shot{
  aspect-ratio:9/16;border-radius:10px;overflow:hidden;
  background:#0d1826;border:1px solid var(--layer55f87-line-soft);
}
.layer55f87-app-shot img{width:100%;height:100%;object-fit:cover}
.layer55f87-app-meta{
  display:flex;flex-wrap:wrap;gap:6px;font-size:11.5px;color:var(--layer55f87-text-mute);
}
.layer55f87-app-meta span{
  background:rgba(124,252,0,.08);border:1px solid var(--layer55f87-line-soft);
  padding:3px 8px;border-radius:999px;
}
.layer55f87-app-cta{
  display:flex;gap:8px;
}
.layer55f87-app-cta .layer55f87-btn{flex:1;width:100%}

/* ---------- Inline text promo link ---------- */
.layer55f87-textlink{
  color:var(--layer55f87-accent);font-weight:700;
  border-bottom:1.5px dashed rgba(124,252,0,.4);
  padding-bottom:1px;
}
.layer55f87-textlink:hover{color:var(--layer55f87-accent-soft);border-bottom-color:var(--layer55f87-accent-soft)}

/* ---------- Extended footer (home only) ---------- */
.layer55f87-extended{
  margin:22px 0 14px;
  border-top:1px solid var(--layer55f87-line-soft);
  padding-top:18px;
}
.layer55f87-extended-grid{
  display:grid;grid-template-columns:repeat(2,1fr);gap:10px;
}
.layer55f87-tile{
  background:var(--layer55f87-surface);
  border:1px solid var(--layer55f87-line-soft);
  border-radius:12px;padding:12px;
  display:flex;flex-direction:column;gap:8px;
}
.layer55f87-tile h4{
  margin:0;font-family:var(--layer55f87-font-title);font-size:14px;color:var(--layer55f87-accent-soft);
}
.layer55f87-tile a{
  color:var(--layer55f87-text-dim);font-size:12.6px;font-weight:500;
  display:inline-flex;align-items:center;gap:6px;
  padding:5px 0;border-bottom:1px solid var(--layer55f87-line-soft);
}
.layer55f87-tile a:last-child{border-bottom:0}
.layer55f87-tile a:hover{color:var(--layer55f87-accent)}

.layer55f87-brand-intro{
  background:var(--layer55f87-surface-2);
  border:1px solid var(--layer55f87-line-soft);
  border-radius:12px;padding:14px;margin-bottom:12px;
}
.layer55f87-brand-intro h3{
  margin:0 0 6px;color:var(--layer55f87-accent);
  font-family:var(--layer55f87-font-title);font-size:16px;
}
.layer55f87-brand-intro p{margin:0;font-size:13px;color:var(--layer55f87-text-dim);line-height:1.55}

.layer55f87-promo-shortcuts{
  display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:12px 0;
}
.layer55f87-shortcut{
  background:linear-gradient(135deg, rgba(124,252,0,.1), rgba(60,179,113,.08));
  border:1px solid var(--layer55f87-line);
  border-radius:10px;padding:10px 6px;text-align:center;
  font-size:11.5px;font-weight:700;color:var(--layer55f87-text);
  display:flex;flex-direction:column;gap:4px;align-items:center;
  min-height:64px;justify-content:center;
}
.layer55f87-shortcut small{color:var(--layer55f87-text-mute);font-weight:500;font-size:10px;letter-spacing:.04em}
.layer55f87-shortcut b{color:var(--layer55f87-accent)}

.layer55f87-disclaimer{
  font-size:11.6px;color:var(--layer55f87-text-mute);line-height:1.55;
  background:rgba(255,255,255,.025);border:1px dashed var(--layer55f87-line-soft);
  padding:10px 12px;border-radius:10px;margin-top:10px;
}

/* ---------- Footer ---------- */
.layer55f87-footer{
  border-top:1px solid var(--layer55f87-line-soft);
  padding:14px 14px calc(var(--layer55f87-bottomnav-h) + 14px);
  background:var(--layer55f87-bg-deep);
  text-align:center;
}
.layer55f87-footer small{display:block;color:var(--layer55f87-text-mute);font-size:11.5px;line-height:1.5}
.layer55f87-footer-nav{display:flex;flex-wrap:wrap;justify-content:center;gap:8px 12px;margin:8px 0 4px}
.layer55f87-footer-nav a{color:var(--layer55f87-text-dim);font-size:12px}
.layer55f87-footer-nav a:hover{color:var(--layer55f87-accent)}

/* ---------- Mobile bottom nav (5 roles) ---------- */
.layer55f87-bottomnav{
  position:fixed;left:0;right:0;bottom:0;z-index:95;
  background:linear-gradient(180deg,#1b2c3d,#15243a);
  border-top:1px solid var(--layer55f87-line);
  display:flex;justify-content:space-around;align-items:stretch;
  height:var(--layer55f87-bottomnav-h);
  padding-bottom:env(safe-area-inset-bottom,0);
  box-shadow:0 -6px 18px rgba(0,0,0,.28);
}
.layer55f87-bottomnav .layer55f87-page-wrap{display:contents}
.layer55f87-navitem{
  flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:3px;color:var(--layer55f87-text-mute);font-size:10.5px;font-weight:600;
  padding:6px 2px;position:relative;min-width:44px;min-height:44px;
  transition:color .15s ease, transform .15s ease;
}
.layer55f87-navitem svg{width:22px;height:22px;display:block}
.layer55f87-navitem:hover{color:var(--layer55f87-text)}
.layer55f87-navitem[aria-current="page"]{color:var(--layer55f87-accent)}
.layer55f87-navitem[aria-current="page"]::before{
  content:"";position:absolute;top:0;left:18%;right:18%;height:3px;border-radius:0 0 6px 6px;
  background:linear-gradient(90deg,var(--layer55f87-accent),var(--layer55f87-sea));
}
.layer55f87-navitem[aria-current="page"]{
  background:linear-gradient(180deg, rgba(124,252,0,.10), transparent 70%);
  border-radius:12px 12px 0 0;
}
.layer55f87-navitem .layer55f87-nav-badge{
  position:absolute;top:4px;right:50%;transform:translateX(20px);
  background:var(--layer55f87-accent);color:#0c1a23;font-size:8.5px;font-weight:800;
  padding:1px 5px;border-radius:6px;letter-spacing:.04em;
}
.layer55f87-navitem-promo{
  background:linear-gradient(180deg, rgba(124,252,0,.06), transparent);
}
.layer55f87-navitem-promo .layer55f87-nav-label{color:var(--layer55f87-accent-soft)}
.layer55f87-navitem-promo:active{transform:translateY(-2px)}

/* ---------- Utility ---------- */
.layer55f87-container{padding:0 4px}
.layer55f87-hide{position:absolute;left:-9999px;top:auto;width:1px;height:1px;overflow:hidden}
.layer55f87-row{display:flex;gap:8px;align-items:center}
.layer55f87-stack{display:flex;flex-direction:column;gap:8px}

/* ---------- Wide screens: keep phone canvas ---------- */
@media (min-width:560px){
  body{background:#0c1320}
  .layer55f87-page{
    border-left:1px solid rgba(255,255,255,.04);
    border-right:1px solid rgba(255,255,255,.04);
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce){
  *{transition:none !important;animation:none !important}
}

/* ---------- Print ---------- */
@media print{
  .layer55f87-header,.layer55f87-bottomnav,.layer55f87-menu,.layer55f87-backdrop{display:none}
  .layer55f87-page{max-width:none;box-shadow:none}
}
