/* ==========================================================================
   9999 online check - viewport dynamic stylesheet
   Site: 9999onlinecheck.click (bn-BD)
   Design language: warm dark canvas, stroke-dominant panels, restrained
   rounding, square high-contrast CTAs, geometric headings + neutral body,
   step-progress information rhythm, sliding focus indicators.
   All classes and custom properties use the layer0e2e7- prefix.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
  --layer0e2e7-canvas: #17130f;
  --layer0e2e7-bg: #262626;
  --layer0e2e7-bg-deep: #1e1b17;
  --layer0e2e7-bg-raise: #2e2b26;
  --layer0e2e7-brand: #8B4513;
  --layer0e2e7-brand-soft: #a55d28;
  --layer0e2e7-rose: #DB7093;
  --layer0e2e7-rose-hi: #f096b3;
  --layer0e2e7-cream: #FFDEAD;
  --layer0e2e7-wheat: #F5DEB3;
  --layer0e2e7-mist: #CCCCCC;
  --layer0e2e7-ink: #241a12;
  --layer0e2e7-line: rgba(245, 222, 179, 0.16);
  --layer0e2e7-line-strong: rgba(245, 222, 179, 0.34);
  --layer0e2e7-rose-line: rgba(219, 112, 147, 0.55);
  --layer0e2e7-font-head: 'Anek Bangla', 'Noto Sans Bengali', 'Hind Siliguri', system-ui, sans-serif;
  --layer0e2e7-font-body: 'Hind Siliguri', 'Noto Sans Bengali', system-ui, sans-serif;
  --layer0e2e7-r1: 2px;
  --layer0e2e7-r2: 5px;
}

/* --------------------------------------------------------------------------
   2. Base / reset
   -------------------------------------------------------------------------- */
* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--layer0e2e7-canvas);
  color: var(--layer0e2e7-wheat);
  font-family: var(--layer0e2e7-font-body);
  font-size: 14px;
  line-height: 1.7;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

body.layer0e2e7-noscroll { overflow: hidden; }

img { max-width: 100%; }

h1, h2, h3, p { margin: 0; overflow-wrap: break-word; }

button {
  font-family: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

a { color: var(--layer0e2e7-cream); }

:focus-visible {
  outline: 2px solid var(--layer0e2e7-rose);
  outline-offset: 2px;
}

::selection {
  background: var(--layer0e2e7-rose);
  color: var(--layer0e2e7-ink);
}

/* Hide horizontal scrollbars for chip rails while keeping them scrollable */
.layer0e2e7-tabstrip,
.layer0e2e7-trust,
.layer0e2e7-shortcuts {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.layer0e2e7-tabstrip::-webkit-scrollbar,
.layer0e2e7-trust::-webkit-scrollbar,
.layer0e2e7-shortcuts::-webkit-scrollbar { display: none; }

/* --------------------------------------------------------------------------
   3. Phone canvas shell (stable 320-430px column, centered on wide screens)
   -------------------------------------------------------------------------- */
.layer0e2e7-shell {
  position: relative;
  max-width: 430px;
  margin-inline: auto;
  min-height: 100dvh;
  background: var(--layer0e2e7-bg);
}

@media (min-width: 480px) {
  .layer0e2e7-shell {
    border-inline: 1px solid var(--layer0e2e7-line-strong);
    box-shadow: 0 0 44px rgba(0, 0, 0, 0.55);
  }
}

.layer0e2e7-main {
  padding: calc(102px + env(safe-area-inset-top, 0px)) 12px
            calc(112px + env(safe-area-inset-bottom, 0px));
}

/* --------------------------------------------------------------------------
   4. Fixed top bar: brand row + tab strip + drawer trigger
   -------------------------------------------------------------------------- */
.layer0e2e7-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  margin-inline: auto;
  max-width: 430px;
  z-index: 60;
  background: rgba(30, 27, 23, 0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--layer0e2e7-line-strong);
  padding-top: env(safe-area-inset-top, 0px);
}

.layer0e2e7-brandrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  min-height: 52px;
}

.layer0e2e7-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  text-decoration: none;
}

.layer0e2e7-logo {
  flex: none;
  width: 32px;
  height: 32px;
  object-fit: cover;
  border: 1px solid var(--layer0e2e7-line-strong);
  border-radius: 4px;
  background: var(--layer0e2e7-bg-deep);
}

.layer0e2e7-sitename {
  font-family: var(--layer0e2e7-font-head);
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: 0.1px;
  color: var(--layer0e2e7-cream);
  white-space: nowrap;
}

@media (min-width: 380px) {
  .layer0e2e7-sitename { font-size: 14.5px; }
}

.layer0e2e7-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: none;
}

/* Square-corner high-contrast CTA buttons */
.layer0e2e7-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: var(--layer0e2e7-r1);
  font-family: var(--layer0e2e7-font-head);
  font-weight: 700;
  font-size: 12.5px;
  line-height: 1;
  padding: 9px 12px;
  min-height: 38px;
  white-space: nowrap;
  transition: background 0.18s, color 0.18s, border-color 0.18s, transform 0.12s;
}

.layer0e2e7-btn-solid {
  background: var(--layer0e2e7-rose);
  color: var(--layer0e2e7-ink);
  border: 1px solid var(--layer0e2e7-rose);
}

.layer0e2e7-btn-solid:active {
  background: var(--layer0e2e7-rose-hi);
  transform: translateY(1px);
}

.layer0e2e7-btn-ghost {
  background: transparent;
  color: var(--layer0e2e7-cream);
  border: 1px solid var(--layer0e2e7-line-strong);
}

.layer0e2e7-btn-ghost:active {
  background: rgba(255, 222, 173, 0.12);
  transform: translateY(1px);
}

.layer0e2e7-btn-wide { width: 100%; }

/* Tab strip row: scrollable folder tabs + pinned menu trigger */
.layer0e2e7-striprow {
  display: flex;
  align-items: stretch;
  border-top: 1px solid var(--layer0e2e7-line);
  height: 42px;
}

.layer0e2e7-tabstrip {
  display: flex;
  gap: 4px;
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  padding: 5px 6px 0;
}

.layer0e2e7-tab {
  flex: none;
  display: inline-flex;
  align-items: center;
  padding: 0 11px;
  min-height: 32px;
  font-family: var(--layer0e2e7-font-head);
  font-weight: 600;
  font-size: 12.3px;
  line-height: 1;
  color: var(--layer0e2e7-mist);
  text-decoration: none;
  border: 1px solid transparent;
  border-bottom: 0;
  border-radius: 7px 7px 0 0;
  transition: color 0.18s, background 0.18s, border-color 0.18s;
}

.layer0e2e7-tab:active { color: var(--layer0e2e7-cream); }

.layer0e2e7-tab-on,
.layer0e2e7-tab-on:active {
  background: var(--layer0e2e7-cream);
  border-color: var(--layer0e2e7-cream);
  color: var(--layer0e2e7-ink);
  font-weight: 700;
}

.layer0e2e7-menubtn {
  flex: none;
  width: 46px;
  border: 0;
  border-left: 1px solid var(--layer0e2e7-line);
  background: transparent;
  color: var(--layer0e2e7-cream);
  display: grid;
  place-items: center;
}

.layer0e2e7-menubtn:active { background: rgba(255, 222, 173, 0.1); }

/* --------------------------------------------------------------------------
   5. Side drawer menu + scrim
   -------------------------------------------------------------------------- */
.layer0e2e7-scrim {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(14, 11, 8, 0.62);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.26s, visibility 0.26s;
}

.layer0e2e7-scrim-on { opacity: 1; visibility: visible; }

.layer0e2e7-drawer {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 80;
  width: min(84%, 328px);
  display: flex;
  flex-direction: column;
  background: var(--layer0e2e7-bg-deep);
  border-right: 1px solid var(--layer0e2e7-line-strong);
  transform: translateX(-103%);
  transition: transform 0.28s ease;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.layer0e2e7-drawer-on { transform: translateX(0); }

.layer0e2e7-drawerhead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--layer0e2e7-line);
}

.layer0e2e7-drawerhead b {
  font-family: var(--layer0e2e7-font-head);
  font-size: 15px;
  color: var(--layer0e2e7-cream);
}

.layer0e2e7-drawerclose {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  background: transparent;
  border: 1px solid var(--layer0e2e7-line);
  border-radius: var(--layer0e2e7-r1);
  color: var(--layer0e2e7-cream);
}

.layer0e2e7-drawergroup {
  margin: 16px 14px 6px;
  font-family: var(--layer0e2e7-font-head);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--layer0e2e7-rose);
}

.layer0e2e7-drawerlink {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 10px;
  padding: 11px 12px;
  min-height: 44px;
  font-size: 13.8px;
  color: var(--layer0e2e7-wheat);
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: 4px;
  transition: background 0.16s, border-color 0.16s;
}

.layer0e2e7-drawerlink:active {
  background: rgba(245, 222, 179, 0.08);
  border-color: var(--layer0e2e7-line-strong);
}

.layer0e2e7-drawerlink .layer0e2e7-drawerdot {
  flex: none;
  width: 6px;
  height: 6px;
  border: 1px solid var(--layer0e2e7-rose);
  background: transparent;
  transition: background 0.16s;
}

.layer0e2e7-drawerlink:active .layer0e2e7-drawerdot { background: var(--layer0e2e7-rose); }

.layer0e2e7-drawercta {
  margin-top: auto;
  display: grid;
  gap: 8px;
  padding: 16px 14px calc(18px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--layer0e2e7-line);
}

/* --------------------------------------------------------------------------
   6. Hero block
   -------------------------------------------------------------------------- */
.layer0e2e7-hero { padding: 6px 2px 2px; }

.layer0e2e7-kicker {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  border: 1px solid var(--layer0e2e7-line-strong);
  border-left: 3px solid var(--layer0e2e7-rose);
  border-radius: var(--layer0e2e7-r1);
  font-family: var(--layer0e2e7-font-head);
  font-weight: 600;
  font-size: 11.4px;
  letter-spacing: 0.4px;
  color: var(--layer0e2e7-wheat);
}

.layer0e2e7-h1 {
  margin: 11px 0 9px;
  font-family: var(--layer0e2e7-font-head);
  font-weight: 800;
  font-size: 25px;
  line-height: 1.34;
  letter-spacing: -0.2px;
  color: var(--layer0e2e7-cream);
}

@media (min-width: 392px) {
  .layer0e2e7-h1 { font-size: 27px; }
}

.layer0e2e7-herosub {
  color: var(--layer0e2e7-mist);
  font-size: 13.4px;
  line-height: 1.75;
  margin-bottom: 14px;
}

.layer0e2e7-ctarow {
  display: flex;
  gap: 8px;
}

.layer0e2e7-ctarow .layer0e2e7-btn { flex: 1; font-size: 14px; padding: 12px 12px; min-height: 46px; }

/* --------------------------------------------------------------------------
   7. Promo banner carousel (sliding track + focus indicator dots)
   -------------------------------------------------------------------------- */
.layer0e2e7-carousel {
  margin-top: 14px;
  border: 1px solid var(--layer0e2e7-line-strong);
  border-radius: 6px;
  overflow: hidden;
  background: var(--layer0e2e7-bg-deep);
}

.layer0e2e7-ctrack {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.layer0e2e7-slide {
  position: relative;
  flex: 0 0 100%;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  touch-action: pan-y;
}

.layer0e2e7-slideimg {
  display: block;
  width: 100%;
  aspect-ratio: 430 / 216;
  object-fit: cover;
  background: #191512;
}

.layer0e2e7-slidecap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  padding: 30px 12px 10px;
  background: linear-gradient(180deg, rgba(23, 19, 15, 0) 0%, rgba(23, 19, 15, 0.9) 82%);
}

.layer0e2e7-slidecap strong {
  display: block;
  font-family: var(--layer0e2e7-font-head);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.3;
  color: var(--layer0e2e7-cream);
}

.layer0e2e7-slidecap em {
  display: block;
  font-style: normal;
  font-size: 11.4px;
  line-height: 1.4;
  color: var(--layer0e2e7-wheat);
  margin-top: 2px;
}

.layer0e2e7-slidechip {
  flex: none;
  padding: 7px 11px;
  background: var(--layer0e2e7-rose);
  color: var(--layer0e2e7-ink);
  font-family: var(--layer0e2e7-font-head);
  font-weight: 700;
  font-size: 11.5px;
  border-radius: var(--layer0e2e7-r1);
  white-space: nowrap;
}

.layer0e2e7-cdots {
  display: flex;
  justify-content: center;
  gap: 7px;
  padding: 9px 0;
  border-top: 1px solid var(--layer0e2e7-line);
  background: var(--layer0e2e7-bg-deep);
}

.layer0e2e7-dot {
  width: 20px;
  height: 6px;
  padding: 0;
  border: 1px solid var(--layer0e2e7-line-strong);
  border-radius: 2px;
  background: transparent;
  transition: width 0.28s, background 0.28s, border-color 0.28s;
}

.layer0e2e7-dot-on {
  width: 34px;
  background: var(--layer0e2e7-rose);
  border-color: var(--layer0e2e7-rose);
}

/* --------------------------------------------------------------------------
   8. Trust chips rail
   -------------------------------------------------------------------------- */
.layer0e2e7-trust {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin: 12px 0 2px;
  padding-bottom: 2px;
}

.layer0e2e7-trustchip {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 11px;
  border: 1px solid var(--layer0e2e7-line);
  border-radius: 3px;
  background: rgba(245, 222, 179, 0.05);
  font-family: var(--layer0e2e7-font-head);
  font-weight: 600;
  font-size: 12px;
  color: var(--layer0e2e7-wheat);
  white-space: nowrap;
}

.layer0e2e7-trustchip b { color: var(--layer0e2e7-rose); font-weight: 800; }

/* --------------------------------------------------------------------------
   9. Content sections + game grids
   -------------------------------------------------------------------------- */
.layer0e2e7-section {
  margin-top: 28px;
  scroll-margin-top: 108px;
}

.layer0e2e7-sechead {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--layer0e2e7-line);
}

.layer0e2e7-secchip {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border: 1px solid var(--layer0e2e7-rose-line);
  border-radius: var(--layer0e2e7-r1);
  font-family: var(--layer0e2e7-font-head);
  font-weight: 700;
  font-size: 10.8px;
  letter-spacing: 0.6px;
  color: var(--layer0e2e7-rose);
}

.layer0e2e7-h2 {
  font-family: var(--layer0e2e7-font-head);
  font-weight: 700;
  font-size: 18.5px;
  line-height: 1.42;
  color: var(--layer0e2e7-cream);
}

.layer0e2e7-secnote {
  color: var(--layer0e2e7-mist);
  font-size: 12.8px;
  line-height: 1.75;
}

/* Game card: square icon with bottom name bar (stroke-dominant frame) */
.layer0e2e7-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

@media (min-width: 400px) {
  .layer0e2e7-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 9px;
  }
}

.layer0e2e7-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 1px solid var(--layer0e2e7-line);
  border-radius: var(--layer0e2e7-r2);
  background: var(--layer0e2e7-bg-raise);
  overflow: hidden;
  transition: border-color 0.18s, transform 0.16s;
}

.layer0e2e7-card:active {
  transform: scale(0.96);
  border-color: var(--layer0e2e7-rose);
}

.layer0e2e7-cardimg {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: #1b1815;
  border-bottom: 1px solid var(--layer0e2e7-line);
}

.layer0e2e7-cardname {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  padding: 5px 4px 6px;
  min-height: 37px;
  font-weight: 600;
  font-size: 11px;
  line-height: 1.32;
  text-align: center;
  color: var(--layer0e2e7-wheat);
}

/* --------------------------------------------------------------------------
   10. Step blocks (step-progress rhythm)
   -------------------------------------------------------------------------- */
.layer0e2e7-steps {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.layer0e2e7-step {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 11px;
  padding: 12px;
  border: 1px solid var(--layer0e2e7-line);
  border-radius: var(--layer0e2e7-r2);
  background: var(--layer0e2e7-bg-raise);
}

.layer0e2e7-stepnum {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--layer0e2e7-rose-line);
  border-radius: 3px;
  background: rgba(219, 112, 147, 0.08);
  font-family: var(--layer0e2e7-font-head);
  font-weight: 800;
  font-size: 17px;
  color: var(--layer0e2e7-rose);
}

.layer0e2e7-step h3 {
  font-family: var(--layer0e2e7-font-head);
  font-weight: 700;
  font-size: 14.6px;
  line-height: 1.4;
  color: var(--layer0e2e7-cream);
  margin-bottom: 4px;
}

.layer0e2e7-step p {
  color: var(--layer0e2e7-mist);
  font-size: 12.7px;
  line-height: 1.68;
  margin-bottom: 10px;
}

.layer0e2e7-step .layer0e2e7-btn { align-self: flex-start; }

/* --------------------------------------------------------------------------
   11. Latest winners list
   -------------------------------------------------------------------------- */
.layer0e2e7-winners {
  margin-top: 14px;
  border: 1px solid var(--layer0e2e7-line);
  border-radius: var(--layer0e2e7-r2);
  overflow: hidden;
  background: var(--layer0e2e7-bg-raise);
}

.layer0e2e7-winrow {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--layer0e2e7-line);
}

.layer0e2e7-winrow:last-of-type { border-bottom: 0; }

.layer0e2e7-winnum {
  flex: none;
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border: 1px solid var(--layer0e2e7-line-strong);
  border-radius: var(--layer0e2e7-r1);
  font-family: var(--layer0e2e7-font-head);
  font-weight: 700;
  font-size: 12px;
  color: var(--layer0e2e7-wheat);
}

.layer0e2e7-winmeta { flex: 1; min-width: 0; }

.layer0e2e7-winmeta b {
  display: block;
  font-family: var(--layer0e2e7-font-head);
  font-weight: 700;
  font-size: 13px;
  color: var(--layer0e2e7-cream);
}

.layer0e2e7-winmeta span {
  display: block;
  font-size: 11.4px;
  color: var(--layer0e2e7-mist);
}

.layer0e2e7-winamt { flex: none; text-align: right; }

.layer0e2e7-winamt b {
  display: block;
  font-family: var(--layer0e2e7-font-head);
  font-weight: 800;
  font-size: 13.5px;
  color: var(--layer0e2e7-rose);
}

.layer0e2e7-winamt span {
  display: block;
  font-size: 10.4px;
  color: var(--layer0e2e7-mist);
}

.layer0e2e7-winfoot {
  padding: 10px 12px;
  border-top: 1px dashed var(--layer0e2e7-line-strong);
  font-size: 11.8px;
  color: var(--layer0e2e7-mist);
  background: rgba(245, 222, 179, 0.03);
}

/* --------------------------------------------------------------------------
   12. Reviews
   -------------------------------------------------------------------------- */
.layer0e2e7-reviews {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.layer0e2e7-review {
  padding: 12px 13px;
  border: 1px solid var(--layer0e2e7-line);
  border-left: 3px solid var(--layer0e2e7-brand-soft);
  border-radius: var(--layer0e2e7-r2);
  background: var(--layer0e2e7-bg-raise);
}

.layer0e2e7-reviewstars {
  display: block;
  margin-bottom: 6px;
  color: var(--layer0e2e7-rose);
  font-size: 12.5px;
  letter-spacing: 2.5px;
}

.layer0e2e7-review q {
  display: block;
  quotes: '\201C' '\201D';
  color: var(--layer0e2e7-wheat);
  font-size: 13px;
  line-height: 1.72;
}

.layer0e2e7-reviewmeta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 9px;
  padding-top: 8px;
  border-top: 1px solid var(--layer0e2e7-line);
  font-size: 11.5px;
  color: var(--layer0e2e7-mist);
}

.layer0e2e7-reviewmeta b {
  font-family: var(--layer0e2e7-font-head);
  color: var(--layer0e2e7-cream);
  font-size: 12.4px;
}

/* --------------------------------------------------------------------------
   13. Direct answer block + prose
   -------------------------------------------------------------------------- */
.layer0e2e7-answer {
  margin-top: 14px;
  padding: 14px 13px;
  border: 1px solid var(--layer0e2e7-rose-line);
  border-left: 4px solid var(--layer0e2e7-rose);
  border-radius: var(--layer0e2e7-r2);
  background: rgba(219, 112, 147, 0.06);
}

.layer0e2e7-answer p {
  color: var(--layer0e2e7-wheat);
  font-size: 13.1px;
  line-height: 1.78;
}

.layer0e2e7-answer p + p { margin-top: 10px; }

.layer0e2e7-prose { margin-top: 14px; }

.layer0e2e7-prose p {
  color: var(--layer0e2e7-mist);
  font-size: 13.1px;
  line-height: 1.8;
}

.layer0e2e7-prose p + p { margin-top: 10px; }

/* Internal body links: cream text with rose underline marker */
.layer0e2e7-prose a,
.layer0e2e7-answer a,
.layer0e2e7-secnote a,
.layer0e2e7-winfoot a {
  color: var(--layer0e2e7-cream);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(219, 112, 147, 0.65);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

/* Inline promo text link (button styled as a link) */
.layer0e2e7-textlink {
  display: inline;
  padding: 0;
  border: 0;
  background: none;
  color: var(--layer0e2e7-rose-hi);
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-decoration-style: dashed;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

.layer0e2e7-textlink:active { color: var(--layer0e2e7-cream); }

/* --------------------------------------------------------------------------
   14. Extended footer (homepage): brand > shortcuts > directory > disclaimer
   -------------------------------------------------------------------------- */
.layer0e2e7-xfoot {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--layer0e2e7-line-strong);
  display: grid;
  gap: 18px;
}

.layer0e2e7-xfootbrand {
  display: flex;
  gap: 11px;
  align-items: flex-start;
}

.layer0e2e7-xfootbrand img {
  flex: none;
  width: 38px;
  height: 38px;
  object-fit: cover;
  border: 1px solid var(--layer0e2e7-line-strong);
  border-radius: 4px;
  background: var(--layer0e2e7-bg-deep);
}

.layer0e2e7-xfootbrand b {
  display: block;
  font-family: var(--layer0e2e7-font-head);
  font-size: 14px;
  color: var(--layer0e2e7-cream);
  margin-bottom: 3px;
}

.layer0e2e7-xfootbrand p {
  color: var(--layer0e2e7-mist);
  font-size: 12.2px;
  line-height: 1.72;
}

.layer0e2e7-shortcuts {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 0 4px;
}

.layer0e2e7-shortcut {
  flex: none;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 13px;
  min-height: 44px;
  border: 1px solid var(--layer0e2e7-line-strong);
  border-radius: 3px;
  background: rgba(245, 222, 179, 0.05);
  font-family: var(--layer0e2e7-font-head);
  font-weight: 700;
  font-size: 12.4px;
  color: var(--layer0e2e7-cream);
  white-space: nowrap;
  transition: background 0.16s, color 0.16s, border-color 0.16s;
}

.layer0e2e7-shortcut svg { color: var(--layer0e2e7-rose); }

.layer0e2e7-shortcut:active {
  background: var(--layer0e2e7-rose);
  border-color: var(--layer0e2e7-rose);
  color: var(--layer0e2e7-ink);
}

.layer0e2e7-shortcut:active svg { color: var(--layer0e2e7-ink); }

.layer0e2e7-dirgroup + .layer0e2e7-dirgroup { margin-top: 12px; }

.layer0e2e7-dircap {
  margin-bottom: 7px;
  font-family: var(--layer0e2e7-font-head);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.8px;
  color: var(--layer0e2e7-rose);
}

.layer0e2e7-dirgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.layer0e2e7-dirlink {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 10px;
  border: 1px solid var(--layer0e2e7-line);
  border-radius: 3px;
  background: rgba(245, 222, 179, 0.04);
  color: var(--layer0e2e7-wheat);
  text-decoration: none;
  font-size: 12.2px;
  line-height: 1.4;
  transition: border-color 0.16s, background 0.16s;
}

.layer0e2e7-dirlink:active {
  border-color: var(--layer0e2e7-rose);
  background: rgba(219, 112, 147, 0.1);
}

.layer0e2e7-disclaimer {
  padding: 11px 12px;
  border: 1px dashed var(--layer0e2e7-line-strong);
  border-radius: 4px;
  color: var(--layer0e2e7-mist);
  font-size: 11.6px;
  line-height: 1.72;
}

.layer0e2e7-disclaimer b {
  display: block;
  margin-bottom: 4px;
  font-family: var(--layer0e2e7-font-head);
  font-weight: 700;
  font-size: 12.2px;
  color: var(--layer0e2e7-wheat);
}

/* --------------------------------------------------------------------------
   15. Common footer (copyright only) + bottom nav + back-to-top
   -------------------------------------------------------------------------- */
.layer0e2e7-footer {
  margin-top: 18px;
  padding: 14px 0 4px;
  border-top: 1px solid var(--layer0e2e7-line);
  text-align: center;
  font-size: 11.6px;
  color: var(--layer0e2e7-mist);
}

.layer0e2e7-bottomnav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  margin-inline: auto;
  max-width: 430px;
  z-index: 60;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: end;
  height: calc(62px + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: rgba(26, 22, 18, 0.97);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--layer0e2e7-line-strong);
}

.layer0e2e7-bnitem {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 3px;
  padding: 8px 2px 8px;
  min-height: 44px;
  border: 0;
  background: none;
  color: var(--layer0e2e7-mist);
  text-decoration: none;
  transition: transform 0.18s, color 0.18s;
}

.layer0e2e7-bnicon {
  width: 22px;
  height: 22px;
  display: block;
  transition: transform 0.2s;
}

.layer0e2e7-bnlabel {
  font-size: 10.3px;
  font-weight: 600;
  letter-spacing: 0.2px;
  color: var(--layer0e2e7-mist);
  opacity: 0.78;
  transform: translateY(2px);
  transition: opacity 0.2s, transform 0.2s, color 0.2s;
}

/* Active state: slight lift + label reveal */
.layer0e2e7-bnitem-on { color: var(--layer0e2e7-rose-hi); }

.layer0e2e7-bnitem-on .layer0e2e7-bnicon { transform: translateY(-2px); }

.layer0e2e7-bnitem-on .layer0e2e7-bnlabel {
  opacity: 1;
  transform: translateY(0);
  color: var(--layer0e2e7-cream);
}

.layer0e2e7-bnitem:active { transform: translateY(-2px); }

.layer0e2e7-bnitem:active .layer0e2e7-bnlabel {
  opacity: 1;
  transform: translateY(0);
}

/* Center raised promo orb (square-corner CTA lifted above the bar) */
.layer0e2e7-bncenter { justify-content: flex-start; padding-top: 0; }

.layer0e2e7-bnorb {
  width: 52px;
  height: 52px;
  margin-top: -26px;
  display: grid;
  place-items: center;
  background: var(--layer0e2e7-rose);
  border: 1px solid rgba(255, 222, 173, 0.55);
  border-radius: 8px;
  color: var(--layer0e2e7-ink);
  box-shadow: 0 8px 18px rgba(219, 112, 147, 0.35);
  transition: transform 0.18s;
}

.layer0e2e7-bnorb svg { width: 26px; height: 26px; display: block; }

.layer0e2e7-bncenter:active .layer0e2e7-bnorb { transform: translateY(-3px); }

.layer0e2e7-bncenter .layer0e2e7-bnlabel { opacity: 1; transform: none; color: var(--layer0e2e7-rose-hi); }

.layer0e2e7-backtop {
  position: fixed;
  z-index: 55;
  bottom: calc(78px + env(safe-area-inset-bottom, 0px));
  right: max(12px, calc(50% - 203px));
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--layer0e2e7-line-strong);
  border-radius: 4px;
  background: rgba(36, 26, 18, 0.94);
  color: var(--layer0e2e7-cream);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
}

.layer0e2e7-backtop-on {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

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