/* f1684.homes - mobile-first base stylesheet
   Canvas: 320-430px phone layout, centered as a phone canvas on wide screens.
   All class names and custom properties use the site prefix c6e114-. */

:root {
  --c6e114-ink: #0a0a0a;
  --c6e114-ink-2: #131313;
  --c6e114-ink-3: #1a1a1a;
  --c6e114-line: #262626;
  --c6e114-line-soft: #1f1f1f;
  --c6e114-text: #bbbbbb;
  --c6e114-text-strong: #e6e6e6;
  --c6e114-text-dim: #8a8a8a;
  --c6e114-teal: #80cbc4;
  --c6e114-teal-deep: #5db3ab;
  --c6e114-teal-ink: #052722;
  --c6e114-radius: 6px;
  --c6e114-head-h: 56px;
  --c6e114-bnav-h: 62px;
  --c6e114-font-head: "Alegreya Sans", "Seravek", "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  --c6e114-font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--c6e114-ink);
  color: var(--c6e114-text);
  font-family: var(--c6e114-font-body);
  font-size: 14px;
  line-height: 1.55;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; }

a { color: var(--c6e114-teal); text-decoration: none; }
a:hover { color: var(--c6e114-text-strong); }

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

/* ---------- phone canvas frame ---------- */
.c6e114-shell {
  max-width: 480px;
  margin: 0 auto;
  padding: calc(var(--c6e114-head-h) + 8px) 12px calc(var(--c6e114-bnav-h) + 26px);
  background: var(--c6e114-ink);
  min-height: 100vh;
}

.c6e114-skip {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--c6e114-teal);
  color: var(--c6e114-teal-ink);
  padding: 8px 14px;
  font-weight: 700;
  z-index: 60;
}
.c6e114-skip:focus { left: 8px; top: 8px; }

/* ---------- fixed top bar ---------- */
.c6e114-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  max-width: 480px;
  height: var(--c6e114-head-h);
  background: rgba(10, 10, 10, 0.97);
  border-bottom: 1px solid var(--c6e114-line);
  z-index: 40;
}

.c6e114-brandrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  height: var(--c6e114-head-h);
  padding: 0 8px 0 10px;
}

.c6e114-brand {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--c6e114-text-strong);
  min-height: 44px;
}

.c6e114-logo {
  width: 30px;
  height: 30px;
  border-radius: var(--c6e114-radius);
  border: 1px solid var(--c6e114-line);
  display: block;
}

.c6e114-brandname {
  font-family: var(--c6e114-font-head);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.4px;
  color: var(--c6e114-teal);
}

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

/* CTA: solid primary + outlined secondary */
.c6e114-btn {
  font-family: var(--c6e114-font-body);
  font-size: 12.5px;
  font-weight: 700;
  min-height: 44px;
  padding: 8px 11px;
  border-radius: var(--c6e114-radius);
  border: 1px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}

.c6e114-btn-solid {
  background: var(--c6e114-teal);
  color: var(--c6e114-teal-ink);
}
.c6e114-btn-solid:hover { background: #a4dbd5; color: var(--c6e114-teal-ink); }

.c6e114-btn-line {
  background: transparent;
  color: var(--c6e114-teal);
  border-color: var(--c6e114-teal-deep);
}
.c6e114-btn-line:hover {
  background: rgba(128, 203, 196, 0.12);
  color: var(--c6e114-teal);
}

/* hamburger trigger */
.c6e114-menubtn {
  width: 44px;
  height: 44px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: transparent;
  border: 1px solid var(--c6e114-line);
  border-radius: var(--c6e114-radius);
  cursor: pointer;
}
.c6e114-menubtn:hover { border-color: var(--c6e114-teal-deep); }
.c6e114-menubar {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--c6e114-text-strong);
}
.c6e114-menubtn[aria-expanded="true"] .c6e114-menubar { background: var(--c6e114-teal); }

/* ---------- layered dropdown menu ---------- */
.c6e114-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--c6e114-ink-2);
  border-bottom: 1px solid var(--c6e114-line);
  max-height: calc(100vh - var(--c6e114-head-h));
  overflow-y: auto;
  padding: 6px 0 14px;
}
.c6e114-menu.c6e114-open { display: block; }

.c6e114-menugroup {
  margin: 12px 14px 4px;
  font-family: var(--c6e114-font-head);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--c6e114-teal);
}

.c6e114-menu ul { list-style: none; margin: 0; padding: 0; }

.c6e114-menu a {
  display: block;
  min-height: 44px;
  padding: 11px 16px;
  color: var(--c6e114-text);
  font-size: 13.5px;
  border-left: 3px solid transparent;
}
.c6e114-menu a:hover {
  color: var(--c6e114-text-strong);
  background: var(--c6e114-ink-3);
  border-left-color: var(--c6e114-teal);
}
.c6e114-menu a[aria-current="page"] {
  color: var(--c6e114-teal);
  border-left-color: var(--c6e114-teal);
  background: rgba(128, 203, 196, 0.08);
}

.c6e114-scrim {
  position: fixed;
  inset: 0;
  background: rgba(4, 4, 4, 0.66);
  z-index: 30;
}

/* ---------- hero ---------- */
.c6e114-hero { padding-top: 6px; }

.c6e114-hero h1 {
  font-family: var(--c6e114-font-head);
  font-size: 21px;
  line-height: 1.32;
  font-weight: 800;
  color: var(--c6e114-text-strong);
  margin: 0 0 8px;
}

.c6e114-lede {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--c6e114-text);
}

.c6e114-ctarow {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.c6e114-ctarow .c6e114-btn { flex: 1 1 auto; text-align: center; }

/* ---------- banner carousel ---------- */
.c6e114-carousel { margin: 4px 0 16px; }

.c6e114-cviewport {
  overflow: hidden;
  border-radius: var(--c6e114-radius);
  border: 1px solid var(--c6e114-line);
  background: var(--c6e114-ink-2);
}

.c6e114-ctrack {
  display: flex;
  transition: transform 0.35s ease;
}

.c6e114-slide {
  position: relative;
  display: block;
  flex: 0 0 100%;
  min-width: 100%;
}

.c6e114-slide img {
  display: block;
  width: 100%;
  aspect-ratio: 2 / 1;
  object-fit: cover;
}

.c6e114-slidecap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 26px 12px 9px;
  background: linear-gradient(180deg, rgba(10, 10, 10, 0) 0%, rgba(10, 10, 10, 0.88) 78%);
  color: var(--c6e114-text-strong);
  font-family: var(--c6e114-font-head);
  font-size: 14px;
  font-weight: 700;
}

.c6e114-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 9px;
}

.c6e114-dot {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.c6e114-dot::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 4px;
  background: var(--c6e114-line);
}
.c6e114-dot:hover::before { background: var(--c6e114-text-dim); }
.c6e114-dot.c6e114-on::before { width: 18px; background: var(--c6e114-teal); }

/* ---------- quick fact chips ---------- */
.c6e114-chips {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin: 0 0 16px;
  list-style: none;
  padding: 0;
}

.c6e114-chip {
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 44px;
  padding: 7px 9px;
  background: var(--c6e114-ink-2);
  border: 1px solid var(--c6e114-line-soft);
  border-radius: var(--c6e114-radius);
  font-size: 12px;
  color: var(--c6e114-text);
}
.c6e114-chip b { color: var(--c6e114-text-strong); font-weight: 700; }

/* ---------- sections and game grid ---------- */
.c6e114-sec { margin-bottom: 20px; }

.c6e114-sec-head { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; }

.c6e114-sec h2 {
  font-family: var(--c6e114-font-head);
  font-size: 16.5px;
  line-height: 1.35;
  font-weight: 800;
  color: var(--c6e114-text-strong);
  margin: 0 0 4px;
  flex: 1 1 100%;
}

.c6e114-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.8px;
  color: var(--c6e114-teal-ink);
  background: var(--c6e114-teal);
  border-radius: 4px;
  padding: 2px 7px;
}

.c6e114-count {
  font-size: 11px;
  color: var(--c6e114-text-dim);
}

.c6e114-secdesc {
  margin: 0 0 10px;
  font-size: 12.5px;
  color: var(--c6e114-text-dim);
}

/* compact square catalog: 4 columns on small phones */
.c6e114-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.c6e114-gcard {
  background: var(--c6e114-ink-2);
  border: 1px solid var(--c6e114-line-soft);
  border-radius: var(--c6e114-radius);
  padding: 5px 4px 6px;
}

.c6e114-glink { display: block; color: var(--c6e114-text); }
.c6e114-glink:hover { color: var(--c6e114-text-strong); }
.c6e114-gcard:hover, .c6e114-gcard:focus-within { border-color: var(--c6e114-teal-deep); }

.c6e114-glink img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 4px;
  background: var(--c6e114-ink-3);
}

.c6e114-gname {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  margin-top: 4px;
  font-size: 11px;
  line-height: 1.3;
  text-align: center;
  word-break: break-word;
}

/* ---------- content panels ---------- */
.c6e114-panel {
  background: var(--c6e114-ink-2);
  border: 1px solid var(--c6e114-line-soft);
  border-radius: var(--c6e114-radius);
  padding: 13px 13px 15px;
  margin-bottom: 13px;
}

.c6e114-panel h2 {
  font-family: var(--c6e114-font-head);
  font-size: 16.5px;
  line-height: 1.35;
  font-weight: 800;
  color: var(--c6e114-text-strong);
  margin: 0 0 7px;
}

.c6e114-panel h3 {
  font-family: var(--c6e114-font-head);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--c6e114-teal);
  margin: 12px 0 4px;
}

.c6e114-panel p { margin: 0 0 9px; font-size: 13px; }
.c6e114-panel p:last-child { margin-bottom: 0; }

.c6e114-leadin { color: var(--c6e114-text-strong); }

/* scannable feature duo grid */
.c6e114-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  list-style: none;
  margin: 4px 0 10px;
  padding: 0;
}

.c6e114-fact {
  background: var(--c6e114-ink-3);
  border-left: 3px solid var(--c6e114-teal);
  border-radius: 4px;
  padding: 8px 9px;
  font-size: 12px;
  line-height: 1.45;
}
.c6e114-fact b {
  display: block;
  color: var(--c6e114-text-strong);
  font-size: 12.5px;
  margin-bottom: 2px;
}

/* numbered steps */
.c6e114-steps {
  margin: 4px 0 10px;
  padding-left: 0;
  list-style: none;
  counter-reset: c6e114-step;
}

.c6e114-steps li {
  counter-increment: c6e114-step;
  position: relative;
  padding: 7px 8px 7px 34px;
  margin-bottom: 6px;
  background: var(--c6e114-ink-3);
  border-radius: 4px;
  font-size: 12.5px;
}
.c6e114-steps li::before {
  content: counter(c6e114-step);
  position: absolute;
  left: 9px;
  top: 8px;
  width: 19px;
  height: 19px;
  border-radius: 4px;
  background: var(--c6e114-teal);
  color: var(--c6e114-teal-ink);
  font-size: 11.5px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* checklist */
.c6e114-check {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
}
.c6e114-check li {
  position: relative;
  padding: 7px 8px 7px 30px;
  margin-bottom: 6px;
  background: var(--c6e114-ink-3);
  border-radius: 4px;
  font-size: 12.5px;
}
.c6e114-check li::before {
  content: "\2713";
  position: absolute;
  left: 9px;
  top: 7px;
  color: var(--c6e114-teal);
  font-weight: 800;
  font-size: 13px;
}

/* category highlight rows */
.c6e114-catrow {
  border-left: 3px solid var(--c6e114-line);
  padding: 2px 0 2px 10px;
  margin-bottom: 11px;
}
.c6e114-catrow:last-child { margin-bottom: 0; }
.c6e114-catrow h3 { margin: 0 0 3px; font-size: 13.5px; }
.c6e114-catrow p { margin: 0; font-size: 12.5px; }

/* ---------- extended footer ---------- */
.c6e114-ext {
  margin-top: 22px;
  border-top: 1px solid var(--c6e114-line);
  padding-top: 16px;
}

.c6e114-extbrand {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}
.c6e114-extbrand img {
  width: 34px;
  height: 34px;
  border-radius: var(--c6e114-radius);
  border: 1px solid var(--c6e114-line);
}
.c6e114-extbrand p { margin: 0; font-size: 12.5px; color: var(--c6e114-text-dim); }
.c6e114-extbrand b {
  display: block;
  font-family: var(--c6e114-font-head);
  font-size: 15px;
  color: var(--c6e114-teal);
  margin-bottom: 2px;
}

.c6e114-exttitle {
  font-family: var(--c6e114-font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.1px;
  text-transform: uppercase;
  color: var(--c6e114-teal);
  margin: 0 0 8px;
}

.c6e114-promogrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-bottom: 16px;
  padding: 0;
  list-style: none;
}

.c6e114-pcell {
  display: block;
  width: 100%;
  min-height: 46px;
  padding: 9px 10px;
  background: var(--c6e114-ink-2);
  border: 1px solid var(--c6e114-line);
  border-radius: var(--c6e114-radius);
  color: var(--c6e114-text-strong);
  font-family: var(--c6e114-font-body);
  font-size: 12.5px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}
.c6e114-pcell::after {
  content: "\203A";
  float: right;
  color: var(--c6e114-teal);
  font-weight: 800;
  margin-left: 6px;
}
.c6e114-pcell:hover {
  background: var(--c6e114-ink-3);
  border-color: var(--c6e114-teal-deep);
  color: var(--c6e114-teal);
}

.c6e114-dir {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}
.c6e114-dir a {
  display: block;
  min-height: 44px;
  padding: 10px 9px;
  background: var(--c6e114-ink-2);
  border: 1px solid var(--c6e114-line-soft);
  border-radius: 4px;
  font-size: 12px;
  line-height: 1.3;
  color: var(--c6e114-text);
}
.c6e114-dir a:hover {
  color: var(--c6e114-teal);
  border-color: var(--c6e114-teal-deep);
}
.c6e114-dir b { color: var(--c6e114-text-strong); font-weight: 700; }

.c6e114-note {
  margin: 0;
  padding: 10px 11px;
  background: rgba(128, 203, 196, 0.06);
  border: 1px solid rgba(128, 203, 196, 0.25);
  border-radius: var(--c6e114-radius);
  font-size: 11.5px;
  line-height: 1.5;
  color: var(--c6e114-text-dim);
}
.c6e114-note b { color: var(--c6e114-teal); font-weight: 700; }

/* ---------- generic footer ---------- */
.c6e114-foot {
  margin-top: 8px;
  padding: 12px 0 4px;
  border-top: 1px solid var(--c6e114-line-soft);
  text-align: center;
  font-size: 11px;
  color: var(--c6e114-text-dim);
}
.c6e114-foot p { margin: 0; }

/* ---------- fixed bottom action bar ---------- */
.c6e114-bnav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  max-width: 480px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  height: calc(var(--c6e114-bnav-h) + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
  background: rgba(12, 12, 12, 0.98);
  border-top: 1px solid var(--c6e114-line);
  z-index: 35;
}

.c6e114-bitem {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 44px;
  padding: 6px 2px 4px;
  background: transparent;
  border: 0;
  color: var(--c6e114-text-dim);
  font-family: var(--c6e114-font-body);
  font-size: 10px;
  line-height: 1.2;
  cursor: pointer;
  position: relative;
}
.c6e114-bitem svg { width: 21px; height: 21px; display: block; }
.c6e114-bitem:hover { color: var(--c6e114-text); }

.c6e114-bitem.c6e114-on {
  color: var(--c6e114-teal);
  transform: translateY(-2px);
}
.c6e114-bitem.c6e114-on::after {
  content: "";
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--c6e114-teal);
}

/* ---------- breakpoints ---------- */
/* 430px and up: five game columns per row, roomier gutters */
@media (min-width: 430px) {
  .c6e114-grid { grid-template-columns: repeat(5, 1fr); gap: 10px 8px; }
  .c6e114-gname { font-size: 11.5px; }
  .c6e114-hero h1 { font-size: 23px; }
  .c6e114-shell { padding-left: 16px; padding-right: 16px; }
}

/* wide screens: keep the centered phone canvas and its chrome */
@media (min-width: 768px) {
  body { background: #050505; }
  .c6e114-shell {
    border-left: 1px solid var(--c6e114-line-soft);
    border-right: 1px solid var(--c6e114-line-soft);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.6);
  }
}

/* respect users who prefer no motion */
@media (prefers-reduced-motion: reduce) {
  .c6e114-ctrack { transition: none; }
  .c6e114-bitem.c6e114-on { transform: none; }
}
