/* ==========================================================================
   jili-evo mobile lobby stylesheet  (palette-compact-76e1f8)
   Palette: #34495E / #36454F / #FFE135 / #FFCC33 / #BDB76B
   Direction: minimal top action strip, stacked overlay menu, floating dock,
   stroke-led restrained corners, grouped cover cards, icon micro-states.
   Class prefix: layer6e1f8-
   ========================================================================== */

:root {
  --layer6e1f8-deep: #34495E;
  --layer6e1f8-panel: #36454F;
  --layer6e1f8-yellow: #FFE135;
  --layer6e1f8-gold: #FFCC33;
  --layer6e1f8-sand: #BDB76B;
  --layer6e1f8-paper: #F2EDDE;
  --layer6e1f8-ink: #22303B;
  --layer6e1f8-line: rgba(189, 183, 107, 0.45);
  --layer6e1f8-line-soft: rgba(189, 183, 107, 0.22);
  --layer6e1f8-edge: rgba(21, 30, 38, 0.55);
  --layer6e1f8-radius: 6px;
  --layer6e1f8-topbar: 58px;
  --layer6e1f8-dock: 66px;
  --layer6e1f8-display: "Trebuchet MS", "Segoe UI", Verdana, sans-serif;
  --layer6e1f8-body: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: #29343F;
  color: var(--layer6e1f8-paper);
  font-family: var(--layer6e1f8-body);
  font-size: 15px;
  line-height: 1.62;
}

.layer6e1f8-locked { overflow: hidden; }

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

a { color: var(--layer6e1f8-gold); text-decoration: none; }
a:hover, a:focus-visible { text-decoration: underline; }

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

:focus-visible {
  outline: 2px solid var(--layer6e1f8-yellow);
  outline-offset: 2px;
  border-radius: 3px;
}

/* --------------------------------------------------------------------------
   Phone canvas: 320-430px, centered on wide screens
   -------------------------------------------------------------------------- */

.layer6e1f8-shell {
  position: relative;
  max-width: 430px;
  margin: 0 auto;
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(54, 69, 79, 0.55) 0%, rgba(52, 73, 94, 0) 220px),
    var(--layer6e1f8-deep);
  border-left: 1px solid var(--layer6e1f8-line-soft);
  border-right: 1px solid var(--layer6e1f8-line-soft);
}

/* --------------------------------------------------------------------------
   Top action strip (fixed): brand block left, actions right
   -------------------------------------------------------------------------- */

.layer6e1f8-topbar {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  height: var(--layer6e1f8-topbar);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  background: rgba(41, 52, 63, 0.96);
  border-bottom: 1px solid var(--layer6e1f8-line);
  z-index: 60;
}

.layer6e1f8-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 0;
  flex: 1 1 auto;
}

.layer6e1f8-logo {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  border: 1px solid var(--layer6e1f8-sand);
  flex: 0 0 auto;
}

.layer6e1f8-brandname {
  font-family: var(--layer6e1f8-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.4px;
  color: var(--layer6e1f8-yellow);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.layer6e1f8-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
}

.layer6e1f8-cta {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 36px;
  padding: 7px 10px;
  border-radius: var(--layer6e1f8-radius);
  border: 1px solid var(--layer6e1f8-yellow);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  line-height: 1;
  white-space: nowrap;
}

.layer6e1f8-cta svg { width: 13px; height: 13px; flex: 0 0 auto; }

.layer6e1f8-cta--reg {
  background: var(--layer6e1f8-yellow);
  color: var(--layer6e1f8-ink);
}

.layer6e1f8-cta--log {
  background: transparent;
  color: var(--layer6e1f8-yellow);
}

.layer6e1f8-menubtn {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 44px;
  height: 44px;
  border: 1px solid var(--layer6e1f8-line);
  border-radius: var(--layer6e1f8-radius);
  color: var(--layer6e1f8-sand);
}

.layer6e1f8-menulines {
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  box-shadow: 0 -5px 0 currentColor, 0 5px 0 currentColor;
}

.layer6e1f8-menulabel {
  font-size: 9px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   Stacked overlay menu
   -------------------------------------------------------------------------- */

.layer6e1f8-drawer {
  position: fixed;
  top: var(--layer6e1f8-topbar);
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  background: var(--layer6e1f8-panel);
  border-bottom: 2px solid var(--layer6e1f8-gold);
  border-left: 1px solid var(--layer6e1f8-line-soft);
  border-right: 1px solid var(--layer6e1f8-line-soft);
  box-shadow: 0 16px 26px rgba(15, 22, 28, 0.5);
  z-index: 58;
  padding: 6px 0 10px;
}

.layer6e1f8-drawer a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 16px;
  color: var(--layer6e1f8-paper);
  border-bottom: 1px solid var(--layer6e1f8-line-soft);
  font-size: 14.5px;
}

.layer6e1f8-drawer a:last-child { border-bottom: 0; }

.layer6e1f8-drawer a::before {
  content: "";
  width: 7px;
  height: 7px;
  border: 1.5px solid var(--layer6e1f8-gold);
  transform: rotate(45deg);
  flex: 0 0 auto;
}

.layer6e1f8-drawer a:hover,
.layer6e1f8-drawer a:focus-visible {
  background: rgba(255, 225, 53, 0.1);
  text-decoration: none;
}

.layer6e1f8-drawer a[aria-current="page"] {
  background: var(--layer6e1f8-yellow);
  color: var(--layer6e1f8-ink);
  font-weight: 700;
}

.layer6e1f8-drawer a[aria-current="page"]::before { border-color: var(--layer6e1f8-ink); }

.layer6e1f8-scrim {
  position: fixed;
  inset: 0;
  background: rgba(20, 28, 35, 0.66);
  z-index: 55;
}

/* --------------------------------------------------------------------------
   Main column
   -------------------------------------------------------------------------- */

.layer6e1f8-main {
  padding: calc(var(--layer6e1f8-topbar) + 12px) 12px
           calc(var(--layer6e1f8-dock) + 26px + env(safe-area-inset-bottom));
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.layer6e1f8-hero { padding-top: 4px; }

.layer6e1f8-hero h1 {
  font-family: var(--layer6e1f8-display);
  font-size: 25px;
  line-height: 1.22;
  letter-spacing: 0.2px;
  margin: 0 0 4px;
  color: var(--layer6e1f8-yellow);
  text-wrap: balance;
}

.layer6e1f8-herokicker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--layer6e1f8-sand);
  border: 1px solid var(--layer6e1f8-line);
  border-radius: 999px;
  padding: 4px 10px;
  margin-bottom: 10px;
}

.layer6e1f8-hero p { margin: 8px 0; }

.layer6e1f8-chiprow {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  padding: 10px 0 4px;
  scrollbar-width: none;
}

.layer6e1f8-chiprow::-webkit-scrollbar { display: none; }

.layer6e1f8-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 34px;
  padding: 6px 11px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--layer6e1f8-gold);
  border: 1px solid var(--layer6e1f8-line);
  border-radius: 999px;
  background: rgba(54, 69, 79, 0.65);
}

.layer6e1f8-chip:hover,
.layer6e1f8-chip:focus-visible {
  background: rgba(255, 204, 51, 0.14);
  text-decoration: none;
}

.layer6e1f8-chip svg { width: 12px; height: 12px; }

/* --------------------------------------------------------------------------
   Banner carousel (2:1 promo banners)
   -------------------------------------------------------------------------- */

.layer6e1f8-stage {
  position: relative;
  margin: 14px 0 4px;
  border: 1px solid var(--layer6e1f8-line);
  border-radius: var(--layer6e1f8-radius);
  overflow: hidden;
  background: var(--layer6e1f8-panel);
}

.layer6e1f8-track {
  position: relative;
  aspect-ratio: 2 / 1;
}

.layer6e1f8-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  opacity: 0;
  transform: translateX(6px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  pointer-events: none;
}

.layer6e1f8-slide--on {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

.layer6e1f8-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.layer6e1f8-slidecap {
  position: absolute;
  left: 10px;
  bottom: 10px;
  max-width: calc(100% - 20px);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.4px;
  color: var(--layer6e1f8-ink);
  background: var(--layer6e1f8-yellow);
  border-radius: 4px;
  padding: 4px 8px;
}

.layer6e1f8-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--layer6e1f8-yellow);
  background: rgba(34, 48, 59, 0.78);
  border: 1px solid var(--layer6e1f8-line);
  border-radius: 4px;
  z-index: 3;
}

.layer6e1f8-arrow svg { width: 14px; height: 14px; }

.layer6e1f8-arrow--prev { left: 6px; }
.layer6e1f8-arrow--next { right: 6px; }

.layer6e1f8-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  display: flex;
  justify-content: center;
  gap: 7px;
  z-index: 3;
}

.layer6e1f8-dot {
  width: 22px;
  height: 8px;
  padding: 0;
  border-radius: 999px;
  border: 1px solid var(--layer6e1f8-yellow);
  background: transparent;
}

.layer6e1f8-dot--on { background: var(--layer6e1f8-yellow); }

/* --------------------------------------------------------------------------
   Game groups (grouped cover cards)
   -------------------------------------------------------------------------- */

.layer6e1f8-group {
  margin: 20px 0 0;
  border: 1px solid var(--layer6e1f8-line);
  border-radius: var(--layer6e1f8-radius);
  background: rgba(54, 69, 79, 0.42);
  overflow: hidden;
}

.layer6e1f8-grouphead {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  background: linear-gradient(90deg, rgba(255, 204, 51, 0.16), rgba(255, 204, 51, 0) 70%);
  border-bottom: 1px solid var(--layer6e1f8-line-soft);
}

.layer6e1f8-groupicon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--layer6e1f8-gold);
  border-radius: 5px;
  color: var(--layer6e1f8-gold);
  flex: 0 0 auto;
}

.layer6e1f8-groupicon svg { width: 15px; height: 15px; }

.layer6e1f8-grouphead h2 {
  font-family: var(--layer6e1f8-display);
  font-size: 16.5px;
  line-height: 1.25;
  margin: 0;
  color: var(--layer6e1f8-yellow);
  flex: 1 1 auto;
}

.layer6e1f8-groupcount {
  flex: 0 0 auto;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.6px;
  color: var(--layer6e1f8-sand);
  border: 1px solid var(--layer6e1f8-line);
  border-radius: 999px;
  padding: 3px 8px;
  white-space: nowrap;
}

.layer6e1f8-groupnote {
  margin: 0;
  padding: 10px 12px 2px;
  font-size: 13.5px;
}

.layer6e1f8-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 10px 12px 12px;
}

.layer6e1f8-tile {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 5px 4px 7px;
  border: 1px solid var(--layer6e1f8-line-soft);
  border-radius: var(--layer6e1f8-radius);
  background: var(--layer6e1f8-panel);
  text-align: center;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.layer6e1f8-tile:hover,
.layer6e1f8-tile:focus-visible {
  border-color: var(--layer6e1f8-gold);
}

.layer6e1f8-press { transform: scale(0.965); }

.layer6e1f8-tile img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 4px;
  border: 1px solid rgba(21, 30, 38, 0.4);
}

.layer6e1f8-tile span {
  font-size: 11px;
  line-height: 1.3;
  color: var(--layer6e1f8-paper);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.6em;
  word-break: break-word;
}

/* --------------------------------------------------------------------------
   Prose articles (scenario-branched rhythm)
   -------------------------------------------------------------------------- */

.layer6e1f8-article {
  margin: 22px 0 0;
  padding: 14px 13px;
  border: 1px solid var(--layer6e1f8-line-soft);
  border-left: 3px solid var(--layer6e1f8-gold);
  border-radius: var(--layer6e1f8-radius);
  background: rgba(54, 69, 79, 0.3);
}

.layer6e1f8-article h2 {
  font-family: var(--layer6e1f8-display);
  font-size: 18px;
  line-height: 1.3;
  margin: 0 0 8px;
  color: var(--layer6e1f8-yellow);
}

.layer6e1f8-article h3 {
  font-family: var(--layer6e1f8-display);
  font-size: 14.5px;
  margin: 16px 0 4px;
  color: var(--layer6e1f8-gold);
}

.layer6e1f8-article p { margin: 8px 0; font-size: 14px; }

.layer6e1f8-steps {
  list-style: none;
  margin: 10px 0;
  padding: 0;
  counter-reset: layer6e1f8step;
}

.layer6e1f8-steps li {
  counter-increment: layer6e1f8step;
  position: relative;
  padding: 7px 0 7px 36px;
  border-bottom: 1px dashed var(--layer6e1f8-line-soft);
  font-size: 14px;
}

.layer6e1f8-steps li:last-child { border-bottom: 0; }

.layer6e1f8-steps li::before {
  content: counter(layer6e1f8step);
  position: absolute;
  left: 0;
  top: 9px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--layer6e1f8-ink);
  background: var(--layer6e1f8-gold);
  border-radius: 50%;
}

.layer6e1f8-checks {
  list-style: none;
  margin: 10px 0;
  padding: 0;
}

.layer6e1f8-checks li {
  position: relative;
  padding: 6px 0 6px 24px;
  font-size: 14px;
}

.layer6e1f8-checks li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 13px;
  width: 9px;
  height: 5px;
  border-left: 2px solid var(--layer6e1f8-yellow);
  border-bottom: 2px solid var(--layer6e1f8-yellow);
  transform: rotate(-45deg);
}

.layer6e1f8-case {
  margin: 10px 0 0;
  border: 1px solid var(--layer6e1f8-line-soft);
  border-radius: var(--layer6e1f8-radius);
  background: var(--layer6e1f8-panel);
  padding: 10px 11px;
}

.layer6e1f8-casetag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--layer6e1f8-ink);
  background: var(--layer6e1f8-yellow);
  border-radius: 3px;
  padding: 3px 7px;
  margin-bottom: 6px;
}

.layer6e1f8-case p { margin: 4px 0 6px; font-size: 13.5px; }

.layer6e1f8-inlinecta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  min-height: 40px;
  padding: 8px 13px;
  margin: 4px 0;
  border-radius: var(--layer6e1f8-radius);
  background: var(--layer6e1f8-yellow);
  color: var(--layer6e1f8-ink);
  font-size: 13px;
  font-weight: 700;
  border: 1px solid var(--layer6e1f8-yellow);
}

.layer6e1f8-inlinecta svg { width: 13px; height: 13px; }

.layer6e1f8-inlinecta:hover { text-decoration: none; filter: brightness(1.05); }

/* --------------------------------------------------------------------------
   Homepage extended footer: two-column directory, brand, promotions, note
   -------------------------------------------------------------------------- */

.layer6e1f8-homefoot {
  margin: 24px 12px 0;
  padding: 14px 12px;
  border: 1px solid var(--layer6e1f8-line);
  border-radius: var(--layer6e1f8-radius);
  background: rgba(54, 69, 79, 0.5);
}

.layer6e1f8-homefoot h2 {
  font-family: var(--layer6e1f8-display);
  font-size: 16.5px;
  margin: 0 0 10px;
  color: var(--layer6e1f8-yellow);
}

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

.layer6e1f8-dirlink {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 8px 9px;
  border: 1px solid var(--layer6e1f8-line-soft);
  border-radius: var(--layer6e1f8-radius);
  background: var(--layer6e1f8-panel);
  color: var(--layer6e1f8-paper);
  font-size: 12.5px;
  line-height: 1.3;
}

.layer6e1f8-dirlink svg {
  width: 15px;
  height: 15px;
  color: var(--layer6e1f8-gold);
  flex: 0 0 auto;
}

.layer6e1f8-dirlink:hover,
.layer6e1f8-dirlink:focus-visible {
  border-color: var(--layer6e1f8-gold);
  text-decoration: none;
}

.layer6e1f8-footblock { margin-top: 14px; }

.layer6e1f8-footblock h3 {
  font-family: var(--layer6e1f8-display);
  font-size: 13.5px;
  margin: 0 0 6px;
  color: var(--layer6e1f8-gold);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.layer6e1f8-footblock p { margin: 0 0 6px; font-size: 12.5px; color: var(--layer6e1f8-paper); }

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

.layer6e1f8-promoitem {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 46px;
  padding: 8px 9px;
  border: 1px solid var(--layer6e1f8-gold);
  border-radius: var(--layer6e1f8-radius);
  color: var(--layer6e1f8-yellow);
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.25;
  text-align: left;
}

.layer6e1f8-promoitem svg { width: 14px; height: 14px; flex: 0 0 auto; }

.layer6e1f8-promoitem:hover { background: rgba(255, 225, 53, 0.12); text-decoration: none; }

.layer6e1f8-note {
  margin: 14px 0 0;
  padding: 9px 11px;
  border-left: 3px solid var(--layer6e1f8-sand);
  background: rgba(41, 52, 63, 0.6);
  font-size: 11.5px;
  color: var(--layer6e1f8-sand);
  border-radius: 0 4px 4px 0;
}

/* --------------------------------------------------------------------------
   Common copyright footer
   -------------------------------------------------------------------------- */

.layer6e1f8-copyright {
  margin-top: 16px;
  padding: 12px 12px calc(var(--layer6e1f8-dock) + 18px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--layer6e1f8-line-soft);
  text-align: center;
  font-size: 11.5px;
  color: var(--layer6e1f8-sand);
}

/* --------------------------------------------------------------------------
   Floating dock (5 roles, fixed to the phone canvas bottom)
   -------------------------------------------------------------------------- */

.layer6e1f8-dock {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 430px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: calc(var(--layer6e1f8-dock) + env(safe-area-inset-bottom));
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
  background: rgba(41, 52, 63, 0.97);
  border-top: 1px solid var(--layer6e1f8-line);
  border-left: 1px solid var(--layer6e1f8-line-soft);
  border-right: 1px solid var(--layer6e1f8-line-soft);
  z-index: 50;
}

.layer6e1f8-dockbtn,
.layer6e1f8-docklink {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-width: 44px;
  min-height: 48px;
  border-radius: var(--layer6e1f8-radius);
  color: var(--layer6e1f8-sand);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.3px;
  line-height: 1;
  text-align: center;
}

.layer6e1f8-dockicon {
  width: 21px;
  height: 21px;
  transition: transform 0.16s ease;
}

.layer6e1f8-dockbtn:hover .layer6e1f8-dockicon,
.layer6e1f8-docklink:hover .layer6e1f8-dockicon {
  transform: translateY(-2px) scale(1.1);
  color: var(--layer6e1f8-yellow);
}

.layer6e1f8-docklink:hover { text-decoration: none; color: var(--layer6e1f8-yellow); }

.layer6e1f8-docklink[aria-current="page"] {
  background: var(--layer6e1f8-yellow);
  color: var(--layer6e1f8-ink);
}

.layer6e1f8-docklink[aria-current="page"] .layer6e1f8-dockicon { color: var(--layer6e1f8-ink); }

.layer6e1f8-dockpromo .layer6e1f8-dockicon { color: var(--layer6e1f8-gold); }

/* --------------------------------------------------------------------------
   Breakpoints
   -------------------------------------------------------------------------- */

/* 4 columns up to 374px, 5 columns from 375px through the 430px canvas */
@media (min-width: 375px) {
  .layer6e1f8-grid { grid-template-columns: repeat(5, 1fr); }
  .layer6e1f8-hero h1 { font-size: 27px; }
}

@media (min-width: 430px) {
  .layer6e1f8-shell { box-shadow: 0 0 34px rgba(12, 18, 24, 0.55); }
  .layer6e1f8-tile span { font-size: 11.5px; }
}

@media (max-width: 359px) {
  .layer6e1f8-cta { padding: 7px 8px; font-size: 11.5px; }
  .layer6e1f8-cta svg { display: none; }
  .layer6e1f8-brandname { font-size: 15.5px; }
  .layer6e1f8-promorow,
  .layer6e1f8-dirgrid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Reduced motion
   -------------------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .layer6e1f8-slide { transition: none; }
  .layer6e1f8-dockicon,
  .layer6e1f8-tile { transition: none; }
  .layer6e1f8-dockbtn:hover .layer6e1f8-dockicon,
  .layer6e1f8-docklink:hover .layer6e1f8-dockicon { transform: none; }
  .layer6e1f8-press { transform: none; }
}

/* Compatible additions for long labels, reachable controls and help pages. */
[hidden] { display: none !important; }
html { scroll-padding-top: 74px; }
.layer6e1f8-main { padding-bottom: 18px; }
.layer6e1f8-cta, .layer6e1f8-chip, .layer6e1f8-inlinecta { min-height: 44px; min-width: 44px; }
.layer6e1f8-arrow { width: 44px; height: 44px; }
.layer6e1f8-dot { width: 44px; height: 44px; border: 0; border-radius: 0; position: relative; background: transparent; }
.layer6e1f8-dot::after { content: ''; display: block; height: 8px; width: 22px; margin: auto; border: 1px solid var(--layer6e1f8-yellow); border-radius: 8px; }
.layer6e1f8-dot--on::after { background: var(--layer6e1f8-yellow); }
.layer6e1f8-dots { bottom: 0; gap: 0; }
.layer6e1f8-slidecap { bottom: 45px; }
.layer6e1f8-drawer { max-height: calc(100dvh - 58px); overflow-y: auto; overscroll-behavior: contain; }
.layer6e1f8-menubtn[aria-expanded='true'] .layer6e1f8-menulines { transform: rotate(45deg); box-shadow: none; }
.layer6e1f8-menubtn[aria-expanded='true'] .layer6e1f8-menulines::after { content: ''; position: absolute; inset: 0; background: currentColor; transform: rotate(90deg); }
.layer6e1f8-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; padding: 10px 8px; align-items: start; }
.layer6e1f8-tile { min-width: 0; min-height: 44px; width: 100%; }
.layer6e1f8-tile img { height: auto; }
.layer6e1f8-groupnote a { display: inline-block; min-height: 44px; padding: 11px 0; text-decoration: underline; }
.layer6e1f8-tile span { display: block; overflow: visible; -webkit-line-clamp: unset; overflow-wrap: anywhere; }
.layer6e1f8-groupcount { padding: 3px 5px; }
.layer6e1f8-article a { display: inline-block; padding: 9px 0; min-height: 44px; text-decoration: underline; }
.layer6e1f8-case h3 { margin-top: 0; }
.layer6e1f8-article dl { margin: 12px 0; }
.layer6e1f8-article dt { color: var(--layer6e1f8-yellow); font-weight: 700; margin-top: 15px; }
.layer6e1f8-article dd { margin: 5px 0 0; font-size: 14px; }
.layer6e1f8-contrast { background: var(--layer6e1f8-paper); color: var(--layer6e1f8-ink); border-left-color: var(--layer6e1f8-gold); }
.layer6e1f8-contrast h2, .layer6e1f8-contrast h3, .layer6e1f8-contrast dt { color: var(--layer6e1f8-ink); }
.layer6e1f8-contrast a { color: #34495E; }
.layer6e1f8-decision { margin: 12px 0; border-top: 1px solid var(--layer6e1f8-line); padding-top: 12px; }
.layer6e1f8-decision strong { color: var(--layer6e1f8-yellow); }
.layer6e1f8-dirgrid, .layer6e1f8-promorow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.layer6e1f8-helpcrumb { display: flex; flex-wrap: wrap; gap: 10px; font-size: 12px; margin: 5px 0 12px; }
.layer6e1f8-helpcrumb span { padding: 8px 0; }
@media (min-width: 375px) { .layer6e1f8-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 359px) { .layer6e1f8-topbar { gap: 4px; padding: 0 7px; } .layer6e1f8-brand { gap: 5px; } .layer6e1f8-actions { gap: 4px; } .layer6e1f8-cta { padding: 7px 6px; } }
