/* jeedbuz.click - Mobile-first Ledger & Verification Interface */
:root {
  --layer6347e-bg: #262626;
  --layer6347e-bg-deep: #1d1d1d;
  --layer6347e-surface: #2C3E50;
  --layer6347e-surface-alt: #32465a;
  --layer6347e-accent: #6F4E37;
  --layer6347e-accent-hi: #8c6549;
  --layer6347e-text: #FFFFFF;
  --layer6347e-text-soft: #F8F8FF;
  --layer6347e-muted: #C0C0C0;
  --layer6347e-border: rgba(192, 192, 192, 0.22);
  --layer6347e-border-accent: rgba(140, 101, 73, 0.55);
  --layer6347e-radius-card: 10px;
  --layer6347e-radius-btn: 7px;
  --layer6347e-font-head: 'Nunito', 'Hind Siliguri', 'Noto Sans Bengali', system-ui, -apple-system, sans-serif;
  --layer6347e-font-body: 'Noto Sans Bengali', 'Segoe UI', system-ui, -apple-system, sans-serif;
  --layer6347e-header-h: 56px;
  --layer6347e-bnav-h: 64px;
  --layer6347e-ease: 0.18s ease;
}

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

[hidden] {
  display: none !important;
}

html {
  font-size: 15px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background-color: var(--layer6347e-bg-deep);
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--layer6347e-font-body);
  background-color: var(--layer6347e-bg-deep);
  color: var(--layer6347e-text-soft);
  line-height: 1.56;
  overflow-x: hidden;
}

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

a {
  color: var(--layer6347e-text);
  text-decoration-color: var(--layer6347e-muted);
  text-underline-offset: 3px;
}

a:hover {
  color: #f0d7c4;
}

button {
  font-family: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid #f0d7c4;
  outline-offset: 2px;
}

/* Mobile Canvas Shell */
.layer6347e-shell {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background-color: var(--layer6347e-bg);
  position: relative;
  box-shadow: 0 0 28px rgba(0, 0, 0, 0.45);
}

/* Shared Top Header (Compact Brand Bar + Slide-up Route Panel) */
.layer6347e-header {
  position: sticky;
  top: 0;
  z-index: 90;
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  background-color: #202020;
  border-bottom: 1px solid var(--layer6347e-border);
}

.layer6347e-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  min-height: var(--layer6347e-header-h);
  padding: 6px 10px;
}

.layer6347e-brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  min-height: 44px;
  padding: 2px 4px;
  border-radius: var(--layer6347e-radius-btn);
  transition: transform var(--layer6347e-ease), color var(--layer6347e-ease);
}

.layer6347e-brand:active {
  transform: scale(0.96);
}

.layer6347e-logo {
  width: 32px;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}

.layer6347e-brand-name {
  font-family: var(--layer6347e-font-head);
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--layer6347e-text);
  line-height: 1;
}

.layer6347e-header-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

.layer6347e-auth-btn {
  min-height: 36px;
  padding: 6px 10px;
  border-radius: var(--layer6347e-radius-btn);
  font-size: 0.84rem;
  font-weight: 700;
  border: 1px solid var(--layer6347e-border);
  background-color: var(--layer6347e-surface);
  color: var(--layer6347e-text);
  transition: transform var(--layer6347e-ease), background-color var(--layer6347e-ease);
}

.layer6347e-auth-btn-reg {
  background-color: var(--layer6347e-accent);
  border-color: var(--layer6347e-accent-hi);
  color: var(--layer6347e-text);
}

.layer6347e-auth-btn:hover {
  background-color: var(--layer6347e-surface-alt);
}

.layer6347e-auth-btn-reg:hover {
  background-color: var(--layer6347e-accent-hi);
}

.layer6347e-auth-btn:active,
.layer6347e-menu-trigger:active {
  transform: scale(0.95);
}

.layer6347e-menu-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: var(--layer6347e-radius-btn);
  border: 1px solid var(--layer6347e-border);
  background-color: #2b2b2b;
  color: var(--layer6347e-text);
  transition: transform var(--layer6347e-ease), background-color var(--layer6347e-ease);
}

.layer6347e-menu-trigger:hover {
  background-color: var(--layer6347e-surface);
}

/* Slide-up Route Panel */
.layer6347e-drawer {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background-color: rgba(12, 14, 16, 0.72);
}

.layer6347e-drawer-sheet {
  width: 100%;
  max-width: 430px;
  max-height: 82vh;
  overflow-y: auto;
  background-color: #22262b;
  border-top: 2px solid var(--layer6347e-accent-hi);
  border-radius: 16px 16px 0 0;
  padding: 14px 14px 20px;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.55);
  animation: layer6347e-slide-up 0.2s ease-out;
}

@keyframes layer6347e-slide-up {
  from {
    transform: translateY(28px);
    opacity: 0.65;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.layer6347e-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid var(--layer6347e-border);
}

.layer6347e-drawer-title {
  margin: 0;
  font-family: var(--layer6347e-font-head);
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--layer6347e-text);
}

.layer6347e-drawer-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--layer6347e-radius-btn);
  border: 1px solid var(--layer6347e-border);
  background-color: var(--layer6347e-surface);
  color: var(--layer6347e-text);
  font-size: 1.2rem;
}

.layer6347e-drawer-nav {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
}

.layer6347e-drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: var(--layer6347e-radius-btn);
  background-color: #2b3036;
  border: 1px solid var(--layer6347e-border);
  color: var(--layer6347e-text-soft);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  transition: background-color var(--layer6347e-ease), color var(--layer6347e-ease), transform var(--layer6347e-ease);
}

.layer6347e-drawer-link:hover {
  background-color: var(--layer6347e-surface);
  color: var(--layer6347e-text);
}

.layer6347e-drawer-link:active {
  transform: scale(0.98);
}

.layer6347e-drawer-link.layer6347e-is-active {
  background-color: var(--layer6347e-accent);
  border-color: var(--layer6347e-accent-hi);
  color: var(--layer6347e-text);
}

/* Main Content Container */
.layer6347e-main {
  padding: 12px 12px calc(var(--layer6347e-bnav-h) + 24px);
}

/* Breadcrumb (Inner Pages) */
.layer6347e-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
  font-size: 0.82rem;
  color: var(--layer6347e-muted);
}

.layer6347e-breadcrumb a {
  color: var(--layer6347e-muted);
  text-decoration: none;
}

.layer6347e-breadcrumb a:hover {
  color: var(--layer6347e-text);
  text-decoration: underline;
}

.layer6347e-breadcrumb-sep {
  opacity: 0.6;
}

/* Headings */
.layer6347e-h1 {
  margin: 4px 0 12px;
  font-family: var(--layer6347e-font-head);
  font-size: 1.34rem;
  font-weight: 800;
  line-height: 1.32;
  color: var(--layer6347e-text);
  letter-spacing: 0.01em;
}

.layer6347e-h2 {
  margin: 0 0 10px;
  font-family: var(--layer6347e-font-head);
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.34;
  color: var(--layer6347e-text);
}

.layer6347e-h3 {
  margin: 0 0 6px;
  font-family: var(--layer6347e-font-head);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--layer6347e-text);
}

.layer6347e-kicker {
  display: inline-block;
  margin: 0 0 6px;
  padding: 2px 8px;
  border-radius: 5px;
  background-color: rgba(111, 78, 55, 0.32);
  border: 1px solid var(--layer6347e-border-accent);
  color: #f0d7c4;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

/* Carousel */
.layer6347e-carousel {
  position: relative;
  margin: 0 0 14px;
  border-radius: var(--layer6347e-radius-card);
  overflow: hidden;
  border: 1px solid var(--layer6347e-border);
  background-color: #1c242c;
}

.layer6347e-carousel-track {
  display: flex;
  transition: transform 0.3s ease;
}

.layer6347e-slide {
  min-width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  display: block;
}

.layer6347e-slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 8;
  object-fit: cover;
}

.layer6347e-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background-color: rgba(38, 38, 38, 0.75);
  color: var(--layer6347e-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: background-color var(--layer6347e-ease);
}

.layer6347e-carousel-btn:hover {
  background-color: var(--layer6347e-accent);
}

.layer6347e-carousel-prev {
  left: 8px;
}

.layer6347e-carousel-next {
  right: 8px;
}

.layer6347e-carousel-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 12px;
  background-color: rgba(20, 20, 20, 0.65);
}

.layer6347e-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background-color: var(--layer6347e-muted);
  opacity: 0.55;
  transition: opacity var(--layer6347e-ease), background-color var(--layer6347e-ease), transform var(--layer6347e-ease);
}

.layer6347e-dot.layer6347e-dot-active {
  background-color: var(--layer6347e-text);
  opacity: 1;
  transform: scale(1.2);
}

/* Lead / Definition Paragraph */
.layer6347e-lead {
  margin: 0 0 14px;
  padding: 12px 13px;
  background-color: var(--layer6347e-surface);
  border-left: 3px solid var(--layer6347e-accent-hi);
  border-radius: var(--layer6347e-radius-card);
  font-size: 0.94rem;
  color: var(--layer6347e-text-soft);
}

/* Content Section Container */
.layer6347e-section {
  margin: 0 0 16px;
  padding: 14px 13px;
  background-color: #2b2f34;
  border: 1px solid var(--layer6347e-border);
  border-radius: var(--layer6347e-radius-card);
}

.layer6347e-section p {
  margin: 0 0 10px;
  font-size: 0.92rem;
  color: var(--layer6347e-text-soft);
}

.layer6347e-section p:last-child {
  margin-bottom: 0;
}

/* Entity Facts Card */
.layer6347e-facts-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.layer6347e-facts-list li {
  padding: 9px 11px;
  background-color: var(--layer6347e-surface);
  border: 1px solid var(--layer6347e-border);
  border-radius: 8px;
  font-size: 0.89rem;
  color: var(--layer6347e-text-soft);
}

/* Grouped Cover Game Cards */
.layer6347e-game-group {
  margin: 0 0 14px;
  padding: 10px;
  background-color: #222830;
  border: 1px solid var(--layer6347e-border);
  border-radius: var(--layer6347e-radius-card);
}

.layer6347e-game-group:last-child {
  margin-bottom: 0;
}

.layer6347e-game-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 9px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--layer6347e-border);
}

.layer6347e-game-group-title {
  margin: 0;
  font-family: var(--layer6347e-font-head);
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--layer6347e-text);
}

.layer6347e-game-count {
  font-size: 0.76rem;
  font-weight: 700;
  color: #f0d7c4;
  background-color: rgba(111, 78, 55, 0.35);
  padding: 2px 7px;
  border-radius: 5px;
}

.layer6347e-game-grid,
.layer6347e-related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
}

@media (min-width: 390px) {
  .layer6347e-game-grid,
  .layer6347e-related-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

.layer6347e-game-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4px 4px 6px;
  border-radius: 8px;
  border: 1px solid var(--layer6347e-border);
  background-color: #2c3540;
  color: var(--layer6347e-text-soft);
  text-align: center;
  transition: transform var(--layer6347e-ease), border-color var(--layer6347e-ease), background-color var(--layer6347e-ease);
}

.layer6347e-game-card:hover {
  border-color: var(--layer6347e-accent-hi);
  background-color: var(--layer6347e-surface-alt);
}

.layer6347e-game-card:active {
  transform: scale(0.95);
}

.layer6347e-game-img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 5px;
  background-color: #1c2229;
}

.layer6347e-game-name {
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.24;
  color: var(--layer6347e-text-soft);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

/* Inner-Page Game Hero */
.layer6347e-game-hero {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px;
  margin: 0 0 14px;
  background-color: var(--layer6347e-surface);
  border: 1px solid var(--layer6347e-border-accent);
  border-radius: var(--layer6347e-radius-card);
}

.layer6347e-game-hero-icon-btn {
  padding: 0;
  border: 0;
  background: transparent;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  transition: transform var(--layer6347e-ease);
}

.layer6347e-game-hero-icon-btn:active {
  transform: scale(0.95);
}

.layer6347e-game-hero-img {
  width: 84px;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--layer6347e-border);
}

.layer6347e-game-hero-body {
  flex: 1;
  min-width: 0;
}

/* Two-Column Comparison */
.layer6347e-compare {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 10px 0;
}

.layer6347e-compare-col {
  padding: 10px;
  background-color: var(--layer6347e-surface);
  border: 1px solid var(--layer6347e-border);
  border-radius: 8px;
}

.layer6347e-compare-col ul {
  margin: 6px 0 0;
  padding-left: 16px;
  font-size: 0.85rem;
}

.layer6347e-compare-col li {
  margin-bottom: 5px;
}

/* Metric Summary Grid */
.layer6347e-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 10px 0;
}

.layer6347e-metric-card {
  padding: 10px;
  background-color: var(--layer6347e-surface);
  border: 1px solid var(--layer6347e-border);
  border-top: 2px solid var(--layer6347e-accent-hi);
  border-radius: 8px;
}

.layer6347e-metric-val {
  display: block;
  font-family: var(--layer6347e-font-head);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--layer6347e-text);
  margin-bottom: 3px;
}

.layer6347e-metric-label {
  display: block;
  font-size: 0.82rem;
  color: var(--layer6347e-muted);
  line-height: 1.35;
}

/* Tables */
.layer6347e-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin: 10px 0;
  border-radius: 8px;
  border: 1px solid var(--layer6347e-border);
}

.layer6347e-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
  background-color: #232a32;
}

.layer6347e-table th,
.layer6347e-table td {
  padding: 8px 9px;
  text-align: left;
  border-bottom: 1px solid var(--layer6347e-border);
}

.layer6347e-table th {
  background-color: var(--layer6347e-surface);
  color: var(--layer6347e-text);
  font-weight: 700;
}

.layer6347e-table tr:last-child td {
  border-bottom: 0;
}

/* Ordered Steps & Timeline */
.layer6347e-steps,
.layer6347e-timeline {
  margin: 10px 0;
  padding: 0;
  list-style: none;
  counter-reset: layer6347e-step;
  display: grid;
  gap: 8px;
}

.layer6347e-steps li,
.layer6347e-timeline li {
  counter-increment: layer6347e-step;
  position: relative;
  padding: 9px 11px 9px 38px;
  background-color: var(--layer6347e-surface);
  border: 1px solid var(--layer6347e-border);
  border-radius: 8px;
  font-size: 0.89rem;
}

.layer6347e-steps li::before,
.layer6347e-timeline li::before {
  content: counter(layer6347e-step);
  position: absolute;
  left: 10px;
  top: 9px;
  width: 21px;
  height: 21px;
  border-radius: 50%;
  background-color: var(--layer6347e-accent);
  color: var(--layer6347e-text);
  font-size: 0.78rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Bullets & Checklist */
.layer6347e-bullets,
.layer6347e-checklist {
  margin: 10px 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 7px;
}

.layer6347e-bullets li,
.layer6347e-checklist li {
  position: relative;
  padding: 8px 10px 8px 26px;
  background-color: #242b33;
  border: 1px solid var(--layer6347e-border);
  border-radius: 7px;
  font-size: 0.89rem;
}

.layer6347e-bullets li::before {
  content: "•";
  position: absolute;
  left: 11px;
  top: 8px;
  color: #e6c3a8;
  font-weight: 800;
}

.layer6347e-checklist li::before {
  content: "✓";
  position: absolute;
  left: 9px;
  top: 8px;
  color: #e6c3a8;
  font-weight: 800;
}

/* Definition List */
.layer6347e-deflist {
  margin: 10px 0;
  display: grid;
  gap: 8px;
}

.layer6347e-deflist dt {
  font-weight: 700;
  color: var(--layer6347e-text);
  font-size: 0.9rem;
}

.layer6347e-deflist dd {
  margin: 3px 0 0;
  padding: 0 0 8px;
  border-bottom: 1px solid var(--layer6347e-border);
  font-size: 0.87rem;
  color: var(--layer6347e-muted);
}

.layer6347e-deflist dd:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

/* Worked Calculation Box */
.layer6347e-calc-box {
  margin: 10px 0;
  padding: 11px 12px;
  background-color: #222931;
  border: 1px dashed var(--layer6347e-accent-hi);
  border-radius: 8px;
  font-size: 0.88rem;
}

.layer6347e-calc-title {
  margin: 0 0 6px;
  font-family: var(--layer6347e-font-head);
  font-size: 0.92rem;
  font-weight: 700;
  color: #f0d7c4;
}

/* Scenario Paragraph Card */
.layer6347e-scenario {
  margin: 0 0 9px;
  padding: 10px 12px;
  background-color: var(--layer6347e-surface);
  border-radius: 8px;
  border-left: 3px solid var(--layer6347e-muted);
}

.layer6347e-scenario:last-child {
  margin-bottom: 0;
}

/* Static Q&A Block */
.layer6347e-qa-list {
  display: grid;
  gap: 8px;
  margin: 10px 0;
}

.layer6347e-qa-item {
  padding: 10px 12px;
  background-color: var(--layer6347e-surface);
  border: 1px solid var(--layer6347e-border);
  border-radius: 8px;
}

.layer6347e-qa-item h3 {
  margin: 0 0 5px;
  font-family: var(--layer6347e-font-head);
  font-size: 0.94rem;
  color: var(--layer6347e-text);
}

.layer6347e-qa-item p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--layer6347e-text-soft);
}

/* Expandable FAQ Item */
.layer6347e-faq-item {
  margin: 0 0 8px;
  background-color: var(--layer6347e-surface);
  border: 1px solid var(--layer6347e-border);
  border-radius: 8px;
  overflow: hidden;
}

.layer6347e-faq-item:last-child {
  margin-bottom: 0;
}

.layer6347e-faq-item summary {
  padding: 11px 12px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--layer6347e-font-head);
  font-size: 0.93rem;
  font-weight: 700;
  color: var(--layer6347e-text);
  cursor: pointer;
  list-style: none;
}

.layer6347e-faq-item summary::-webkit-details-marker {
  display: none;
}

.layer6347e-faq-item summary::after {
  content: "+";
  font-size: 1.1rem;
  color: #f0d7c4;
  flex-shrink: 0;
}

.layer6347e-faq-item[open] summary::after {
  content: "−";
}

.layer6347e-faq-body {
  padding: 0 12px 11px;
  font-size: 0.88rem;
  color: var(--layer6347e-text-soft);
  border-top: 1px solid var(--layer6347e-border);
  padding-top: 9px;
}

/* CTA Button Group, Action Bar, Entry Card & Inline Promo */
.layer6347e-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.layer6347e-btn-primary,
.layer6347e-btn-secondary {
  flex: 1 1 130px;
  min-height: 44px;
  padding: 10px 14px;
  border-radius: var(--layer6347e-radius-btn);
  font-family: var(--layer6347e-font-head);
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
  border: 1px solid transparent;
  transition: transform var(--layer6347e-ease), background-color var(--layer6347e-ease);
}

.layer6347e-btn-primary {
  background-color: var(--layer6347e-accent);
  border-color: var(--layer6347e-accent-hi);
  color: var(--layer6347e-text);
}

.layer6347e-btn-primary:hover {
  background-color: var(--layer6347e-accent-hi);
}

.layer6347e-btn-secondary {
  background-color: var(--layer6347e-surface);
  border-color: var(--layer6347e-border);
  color: var(--layer6347e-text);
}

.layer6347e-btn-secondary:hover {
  background-color: var(--layer6347e-surface-alt);
}

.layer6347e-btn-primary:active,
.layer6347e-btn-secondary:active {
  transform: scale(0.96);
}

.layer6347e-action-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  margin: 12px 0;
  background-color: #212830;
  border: 1px solid var(--layer6347e-border-accent);
  border-radius: 8px;
}

.layer6347e-action-bar p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--layer6347e-text-soft);
}

.layer6347e-entry-card {
  padding: 12px;
  margin: 10px 0;
  background-color: var(--layer6347e-surface);
  border: 1px solid var(--layer6347e-border);
  border-radius: var(--layer6347e-radius-card);
  display: grid;
  gap: 8px;
}

.layer6347e-inline-promo {
  display: inline;
  padding: 0;
  border: 0;
  background: transparent;
  color: #f0d7c4;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Homepage Extended Footer (Before Shared Footer) */
.layer6347e-ext-footer {
  margin: 18px 0 4px;
  padding: 14px 13px;
  background-color: #21252a;
  border: 1px solid var(--layer6347e-border);
  border-radius: var(--layer6347e-radius-card);
  display: grid;
  gap: 14px;
}

.layer6347e-ext-block {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--layer6347e-border);
}

.layer6347e-ext-block:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.layer6347e-ext-title {
  margin: 0 0 8px;
  font-family: var(--layer6347e-font-head);
  font-size: 0.88rem;
  font-weight: 800;
  color: #f0d7c4;
  letter-spacing: 0.02em;
}

.layer6347e-ext-promos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.layer6347e-ext-promo-btn {
  min-height: 44px;
  padding: 8px 10px;
  border-radius: var(--layer6347e-radius-btn);
  border: 1px solid var(--layer6347e-border-accent);
  background-color: var(--layer6347e-surface);
  color: var(--layer6347e-text);
  font-size: 0.83rem;
  font-weight: 700;
  text-align: center;
  transition: transform var(--layer6347e-ease), background-color var(--layer6347e-ease);
}

.layer6347e-ext-promo-btn:hover {
  background-color: var(--layer6347e-accent);
}

.layer6347e-ext-promo-btn:active {
  transform: scale(0.96);
}

.layer6347e-ext-links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

.layer6347e-ext-links a {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding: 6px 8px;
  border-radius: 6px;
  background-color: #292f36;
  border: 1px solid var(--layer6347e-border);
  font-size: 0.81rem;
  text-decoration: none;
  color: var(--layer6347e-text-soft);
}

.layer6347e-ext-links a:hover {
  background-color: var(--layer6347e-surface);
  color: var(--layer6347e-text);
}

.layer6347e-ext-summary {
  margin: 0;
  font-size: 0.83rem;
  color: var(--layer6347e-muted);
}

/* Shared Bottom Footer + Fixed 5-Item Mobile Navigation Rail */
.layer6347e-footer {
  width: 100%;
  max-width: 430px;
  margin: 0 auto;
  padding: 10px 12px calc(var(--layer6347e-bnav-h) + 12px);
  text-align: center;
  background-color: #1f1f1f;
  border-top: 1px solid var(--layer6347e-border);
}

.layer6347e-copy {
  margin: 0;
  font-size: 0.78rem;
  color: var(--layer6347e-muted);
}

.layer6347e-bnav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: var(--layer6347e-bnav-h);
  z-index: 95;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  background-color: #1d232a;
  border-top: 1px solid var(--layer6347e-border-accent);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.4);
}

.layer6347e-bnav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 44px;
  padding: 6px 2px;
  border: 0;
  background: transparent;
  color: var(--layer6347e-muted);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 700;
  position: relative;
  transition: color var(--layer6347e-ease), transform var(--layer6347e-ease);
}

.layer6347e-bnav-item svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.layer6347e-bnav-item:hover {
  color: var(--layer6347e-text);
}

.layer6347e-bnav-item:active {
  transform: scale(0.92);
}

.layer6347e-bnav-item.layer6347e-is-active {
  color: #f0d7c4;
}

.layer6347e-bnav-item.layer6347e-is-active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 22%;
  right: 22%;
  height: 3px;
  border-radius: 0 0 3px 3px;
  background-color: var(--layer6347e-accent-hi);
}
