/* ==========================================================================
   filbit.homes — site palette, layout and components
   Canvas: mobile-first 320-430px, centered as a phone canvas on wide screens.
   Class prefix: surfacee7646-
   Design tone: humanist serif headings / clear sans body, stroke-led panels
   with restrained radii, horizontal icon-name game strips, square CTAs,
   slide-in stacked menu, center-raised bottom bar.
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
  --surfacee7646-void: #141D28;
  --surfacee7646-ink: #2E4057;
  --surfacee7646-ink-soft: #27384C;
  --surfacee7646-panel: #1F2E3D;
  --surfacee7646-panel-deep: #1A2734;
  --surfacee7646-ember: #FF5722;
  --surfacee7646-ember-deep: #E65100;
  --surfacee7646-ember-dim: rgba(255, 87, 34, 0.16);
  --surfacee7646-paper: #F3EDE3;
  --surfacee7646-mist: #A7B6C8;
  --surfacee7646-line: rgba(243, 237, 227, 0.16);
  --surfacee7646-line-strong: rgba(243, 237, 227, 0.32);
  --surfacee7646-radius: 6px;
  --surfacee7646-radius-lg: 10px;
  --surfacee7646-head-font: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, "Times New Roman", serif;
  --surfacee7646-body-font: "Segoe UI", Roboto, "Helvetica Neue", Arial, system-ui, sans-serif;
  --surfacee7646-canvas: 430px;
  --surfacee7646-topbar: 58px;
  --surfacee7646-bottombar: 66px;
  --surfacee7646-tap: 44px;
}

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

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

body {
  margin: 0;
  background: var(--surfacee7646-void);
  color: var(--surfacee7646-paper);
  font-family: var(--surfacee7646-body-font);
  font-size: 15px;
  line-height: 1.62;
  overflow-x: hidden;
}

/* Phone canvas: on wide screens the site stays a centered 430px column. */
.surfacee7646-page {
  position: relative;
  max-width: var(--surfacee7646-canvas);
  margin: 0 auto;
  min-height: 100vh;
  background:
    radial-gradient(120% 42% at 50% 0%, rgba(255, 87, 34, 0.10), transparent 62%),
    linear-gradient(180deg, var(--surfacee7646-ink) 0%, var(--surfacee7646-panel) 58%, var(--surfacee7646-void) 100%);
  box-shadow: 0 0 0 1px rgba(243, 237, 227, 0.06);
  padding-bottom: calc(var(--surfacee7646-bottombar) + 34px + env(safe-area-inset-bottom, 0px));
}

.surfacee7646-main {
  display: block;
  padding: calc(var(--surfacee7646-topbar) + 14px) 14px 8px;
}

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

h1, h2, h3, h4 {
  font-family: var(--surfacee7646-head-font);
  color: var(--surfacee7646-paper);
  margin: 0 0 10px;
  line-height: 1.22;
  font-weight: 700;
  letter-spacing: 0.1px;
}

h1 { font-size: 27px; }
h2 { font-size: 21px; }
h3 { font-size: 17px; }

p { margin: 0 0 12px; }

a { color: var(--surfacee7646-ember); text-decoration: none; }
a:hover { color: #FF8A5C; text-decoration: underline; }

ul, ol { margin: 0 0 14px; padding-left: 20px; }
li { margin: 0 0 7px; }

strong { color: #FFFFFF; font-weight: 700; }

:focus-visible {
  outline: 2px solid var(--surfacee7646-ember);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Skip link */
.surfacee7646-skip {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 120;
  background: var(--surfacee7646-ember);
  color: #16100B;
  font-weight: 700;
  font-size: 13px;
  padding: 9px 14px;
  border-radius: 0;
  transition: top 0.18s ease;
}
.surfacee7646-skip:focus { top: 8px; text-decoration: none; color: #16100B; }

/* ---------- header: asymmetric brand bar ---------- */
.surfacee7646-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--surfacee7646-canvas);
  height: var(--surfacee7646-topbar);
  z-index: 90;
  background: rgba(20, 29, 40, 0.97);
  border-bottom: 1px solid var(--surfacee7646-line);
  display: flex;
  align-items: stretch;
}

/* asymmetric ember rule: the left 42% of the header base is ember */
.surfacee7646-header::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 42%;
  height: 2px;
  background: linear-gradient(90deg, var(--surfacee7646-ember), var(--surfacee7646-ember-deep));
}

.surfacee7646-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 10px 0 12px;
  min-width: 0;
  flex: 1 1 auto;
}

.surfacee7646-brand-tile {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  padding: 3px;
  background: var(--surfacee7646-ink);
  border: 1px solid var(--surfacee7646-ember-deep);
  border-radius: var(--surfacee7646-radius);
  transform: rotate(-2deg);
  transition: transform 0.2s ease;
}
.surfacee7646-brand:hover .surfacee7646-brand-tile { transform: rotate(0deg); }

.surfacee7646-brand-tile img { width: 100%; height: 100%; object-fit: contain; }

.surfacee7646-brand-name {
  display: block;
  font-family: var(--surfacee7646-head-font);
  font-size: 22px;
  font-weight: 700;
  color: var(--surfacee7646-paper);
  letter-spacing: 0.4px;
  line-height: 1;
}
.surfacee7646-brand:hover .surfacee7646-brand-name { text-decoration: none; }

/* header action cluster sits outside the brand block */
.surfacee7646-head-actions {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 10px 0 6px;
  flex: 0 0 auto;
}

/* ---------- buttons: square, high contrast ---------- */
.surfacee7646-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--surfacee7646-tap);
  padding: 9px 16px;
  font-family: var(--surfacee7646-body-font);
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.35px;
  border-radius: 0; /* square CTAs by design */
  border: 1px solid transparent;
  cursor: pointer;
  text-transform: uppercase;
  transition: transform 0.15s ease, background-color 0.15s ease, color 0.15s ease;
  background: none;
  color: var(--surfacee7646-paper);
}
.surfacee7646-btn:active { transform: translateY(1px); }

.surfacee7646-btn--ember {
  background: var(--surfacee7646-ember);
  border-color: var(--surfacee7646-ember);
  color: #16100B;
}
.surfacee7646-btn--ember:hover {
  background: #FF6E41;
  color: #16100B;
  text-decoration: none;
}

.surfacee7646-btn--ghost {
  border-color: var(--surfacee7646-line-strong);
  color: var(--surfacee7646-paper);
  background: rgba(243, 237, 227, 0.03);
}
.surfacee7646-btn--ghost:hover { border-color: var(--surfacee7646-ember); color: #FF8A5C; text-decoration: none; }

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

/* menu trigger */
.surfacee7646-menu-btn {
  width: var(--surfacee7646-tap);
  height: var(--surfacee7646-tap);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: transparent;
  border: 1px solid var(--surfacee7646-line-strong);
  border-radius: var(--surfacee7646-radius);
  cursor: pointer;
  padding: 0;
}
.surfacee7646-menu-btn span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--surfacee7646-paper);
  transition: transform 0.22s ease, opacity 0.18s ease;
}
.surfacee7646-menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.surfacee7646-menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.surfacee7646-menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- stacked slide-in menu overlay ---------- */
.surfacee7646-menu {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--surfacee7646-canvas);
  z-index: 110;
  visibility: hidden;
  pointer-events: none;
}
.surfacee7646-menu[data-open="true"] { visibility: visible; pointer-events: auto; }

.surfacee7646-menu-veil {
  position: absolute;
  inset: 0;
  background: rgba(10, 15, 22, 0.72);
  opacity: 0;
  transition: opacity 0.24s ease;
}
.surfacee7646-menu[data-open="true"] .surfacee7646-menu-veil { opacity: 1; }

.surfacee7646-menu-panel {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: min(86%, 320px);
  min-height: 430px; /* keeps the stacked list usable on short viewports too */
  background: var(--surfacee7646-panel-deep);
  border-right: 1px solid var(--surfacee7646-line);
  transform: translateX(-102%);
  transition: transform 0.26s cubic-bezier(0.32, 0.72, 0.34, 1);
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 18px 0 22px;
  -webkit-overflow-scrolling: touch;
}
.surfacee7646-menu[data-open="true"] .surfacee7646-menu-panel { transform: translateX(0); }

.surfacee7646-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px 14px;
  border-bottom: 1px solid var(--surfacee7646-line);
  margin-bottom: 8px;
}
.surfacee7646-menu-top-title {
  font-family: var(--surfacee7646-head-font);
  font-size: 17px;
  color: var(--surfacee7646-paper);
  margin: 0;
}
.surfacee7646-menu-close {
  min-width: 40px;
  min-height: 40px;
  border: 1px solid var(--surfacee7646-line-strong);
  border-radius: var(--surfacee7646-radius);
  background: transparent;
  color: var(--surfacee7646-paper);
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
}
.surfacee7646-menu-close:hover { border-color: var(--surfacee7646-ember); color: #FF8A5C; }

/* stacked rows, numbered like a table of contents */
.surfacee7646-menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.surfacee7646-menu-list li { margin: 0; border-bottom: 1px solid var(--surfacee7646-line); }

.surfacee7646-menu-link {
  display: flex;
  align-items: baseline;
  gap: 12px;
  min-height: var(--surfacee7646-tap);
  padding: 12px 16px;
  color: var(--surfacee7646-paper);
  font-size: 15px;
  transition: background-color 0.15s ease, padding-left 0.15s ease;
}
.surfacee7646-menu-link:hover {
  background: var(--surfacee7646-ember-dim);
  color: var(--surfacee7646-paper);
  text-decoration: none;
  padding-left: 20px;
}
.surfacee7646-menu-link em {
  font-style: normal;
  font-family: var(--surfacee7646-head-font);
  font-size: 12px;
  color: var(--surfacee7646-ember);
  min-width: 18px;
}
.surfacee7646-menu-link[aria-current="page"] { color: #FF8A5C; }

.surfacee7646-menu-cta {
  margin: 18px 16px 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

/* ---------- hero ---------- */
.surfacee7646-hero { margin: 4px 0 6px; }

.surfacee7646-hero h1 { margin-bottom: 12px; }

.surfacee7646-hero-lede {
  font-size: 15px;
  color: var(--surfacee7646-paper);
  margin-bottom: 14px;
}

/* ---------- carousel ---------- */
.surfacee7646-stage {
  position: relative;
  border: 1px solid var(--surfacee7646-line-strong);
  border-radius: var(--surfacee7646-radius-lg);
  overflow: hidden;
  background: var(--surfacee7646-panel-deep);
  margin: 0 0 8px;
}

.surfacee7646-slide {
  position: relative;
  display: none;
  aspect-ratio: 2 / 1;
}
.surfacee7646-slide[data-active="true"] { display: block; }

.surfacee7646-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.surfacee7646-slide-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 34px 14px 12px;
  background: linear-gradient(180deg, rgba(20, 29, 40, 0) 0%, rgba(20, 29, 40, 0.88) 62%);
  display: block;
  width: 100%;
  border: 0;
  text-align: left;
  cursor: pointer;
  min-height: var(--surfacee7646-tap);
}
.surfacee7646-slide-caption:hover { text-decoration: none; }

.surfacee7646-slide-caption strong {
  display: block;
  font-family: var(--surfacee7646-head-font);
  font-size: 16.5px;
  color: #FFFFFF;
  line-height: 1.25;
}
.surfacee7646-slide-caption span {
  display: block;
  font-size: 12.5px;
  color: var(--surfacee7646-mist);
  margin-top: 3px;
}

.surfacee7646-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 0 2px;
}
.surfacee7646-dot {
  width: 30px;
  height: 6px;
  padding: 0;
  border: 1px solid var(--surfacee7646-line-strong);
  border-radius: 3px;
  background: transparent;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}
.surfacee7646-dot[data-active="true"] {
  background: var(--surfacee7646-ember);
  border-color: var(--surfacee7646-ember);
}

/* ---------- fact strip ---------- */
.surfacee7646-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--surfacee7646-line);
  border-radius: var(--surfacee7646-radius);
  margin: 14px 0 6px;
  background: rgba(243, 237, 227, 0.03);
}
.surfacee7646-fact {
  padding: 10px 8px 9px;
  text-align: center;
  border-left: 1px solid var(--surfacee7646-line);
}
.surfacee7646-fact:first-child { border-left: 0; }
.surfacee7646-fact b {
  display: block;
  font-family: var(--surfacee7646-head-font);
  font-size: 19px;
  color: var(--surfacee7646-ember);
  line-height: 1.1;
}
.surfacee7646-fact small {
  display: block;
  font-size: 11px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--surfacee7646-mist);
  margin-top: 3px;
}

/* ---------- provider rail ---------- */
.surfacee7646-providers {
  margin: 16px 0 4px;
}
.surfacee7646-providers h2 { font-size: 15px; letter-spacing: 0.4px; color: var(--surfacee7646-mist); font-family: var(--surfacee7646-body-font); font-weight: 600; text-transform: uppercase; }
.surfacee7646-provider-rail {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 8px 0 6px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.surfacee7646-provider-rail::-webkit-scrollbar { display: none; }
.surfacee7646-provider-chip {
  flex: 0 0 auto;
  width: 84px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--surfacee7646-line);
  border-radius: var(--surfacee7646-radius);
  background: rgba(243, 237, 227, 0.04);
  padding: 5px;
}
.surfacee7646-provider-chip img { max-height: 100%; width: auto; object-fit: contain; }

/* ---------- sections: lead-in rhythm ---------- */
.surfacee7646-section { margin: 26px 0 0; }

.surfacee7646-kicker {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--surfacee7646-ember);
}
.surfacee7646-kicker::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(90deg, var(--surfacee7646-ember-dim), transparent);
}

.surfacee7646-section > h2 { margin-bottom: 8px; }

.surfacee7646-lead {
  color: var(--surfacee7646-paper);
  font-size: 14.5px;
}
.surfacee7646-note {
  color: var(--surfacee7646-mist);
  font-size: 13.5px;
}

/* category head band */
.surfacee7646-cat-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 6px;
}
.surfacee7646-cat-head h2 { margin: 0; font-size: 19.5px; }
.surfacee7646-cat-count {
  flex: 0 0 auto;
  font-family: var(--surfacee7646-head-font);
  font-size: 13px;
  color: var(--surfacee7646-ember);
  border: 1px solid var(--surfacee7646-ember-deep);
  border-radius: var(--surfacee7646-radius);
  padding: 2px 8px;
  white-space: nowrap;
}

.surfacee7646-related {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin: 10px 0 12px;
  font-size: 12.5px;
  color: var(--surfacee7646-mist);
}
.surfacee7646-related a { color: var(--surfacee7646-mist); border-bottom: 1px dotted var(--surfacee7646-line-strong); }
.surfacee7646-related a:hover { color: #FF8A5C; border-bottom-color: var(--surfacee7646-ember); text-decoration: none; }

/* ---------- game grid: horizontal icon-name strips ---------- */
.surfacee7646-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 4px 0 6px;
}

.surfacee7646-strip {
  display: flex;
  align-items: center;
  gap: 9px;
  width: 100%;
  min-height: 60px;
  padding: 6px 8px;
  background: rgba(243, 237, 227, 0.035);
  border: 1px solid var(--surfacee7646-line);
  border-radius: var(--surfacee7646-radius);
  cursor: pointer;
  text-align: left;
  font-family: var(--surfacee7646-body-font);
  transition: transform 0.16s ease, border-color 0.16s ease, background-color 0.16s ease;
  -webkit-tap-highlight-color: transparent;
}
.surfacee7646-strip:hover,
.surfacee7646-strip:focus-visible {
  transform: translateY(-2px); /* light card lift */
  border-color: var(--surfacee7646-ember);
  background: var(--surfacee7646-ember-dim);
  text-decoration: none;
}
.surfacee7646-strip:active { transform: translateY(0); }

.surfacee7646-strip-icon {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border: 1px solid var(--surfacee7646-line);
  border-radius: 4px;
  object-fit: cover;
  background: var(--surfacee7646-panel-deep);
}

.surfacee7646-strip-name {
  display: block;
  min-width: 0;
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.28;
  color: var(--surfacee7646-paper);
  /* controlled two-line wrapping for long titles */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ---------- guide blocks ---------- */
.surfacee7646-block {
  border: 1px solid var(--surfacee7646-line);
  border-left: 3px solid var(--surfacee7646-ember-deep);
  border-radius: var(--surfacee7646-radius);
  background: rgba(243, 237, 227, 0.03);
  padding: 14px 14px 6px;
  margin: 0 0 12px;
}

.surfacee7646-steps {
  list-style: none;
  counter-reset: surfacee7646-step;
  padding: 0;
  margin: 0 0 10px;
}
.surfacee7646-steps li {
  counter-increment: surfacee7646-step;
  position: relative;
  padding: 0 0 12px 40px;
  margin: 0;
}
.surfacee7646-steps li::before {
  content: counter(surfacee7646-step, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1px;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--surfacee7646-head-font);
  font-size: 13px;
  color: var(--surfacee7646-ember);
  border: 1px solid var(--surfacee7646-ember-deep);
  border-radius: 50%;
}
.surfacee7646-steps b { display: block; color: #FFFFFF; font-size: 14px; margin-bottom: 2px; }

/* compact Q&A rows */
.surfacee7646-qa {
  border-top: 1px solid var(--surfacee7646-line);
  padding: 12px 2px 4px;
  margin: 0 0 4px;
}
.surfacee7646-qa h3 { margin: 0 0 6px; font-size: 15.5px; }
.surfacee7646-qa p { margin: 0 0 8px; font-size: 14px; }

/* condition checklist */
.surfacee7646-check {
  list-style: none;
  padding: 0;
  margin: 0 0 10px;
}
.surfacee7646-check li {
  position: relative;
  padding: 0 0 9px 26px;
  margin: 0;
  font-size: 14px;
}
.surfacee7646-check li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 6px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--surfacee7646-ember);
  border-radius: 2px;
}

/* CTA band between content and footer */
.surfacee7646-cta-band {
  border: 1px solid var(--surfacee7646-ember-deep);
  border-radius: var(--surfacee7646-radius);
  background:
    linear-gradient(135deg, rgba(255, 87, 34, 0.14), rgba(230, 81, 0, 0.05)),
    var(--surfacee7646-panel-deep);
  padding: 16px 14px;
  margin: 22px 0 0;
}
.surfacee7646-cta-band h2 { font-size: 19px; margin-bottom: 6px; }
.surfacee7646-cta-band p { font-size: 13.5px; color: var(--surfacee7646-mist); margin-bottom: 12px; }
.surfacee7646-cta-row { display: flex; flex-direction: column; gap: 8px; }

/* ---------- extended footer (homepage directory) ---------- */
.surfacee7646-xfooter {
  margin: 30px 0 0;
  border-top: 1px solid var(--surfacee7646-line-strong);
  padding: 18px 0 4px;
}

.surfacee7646-xfooter-section { margin: 0 0 20px; }
.surfacee7646-xfooter h2 {
  font-size: 15px;
  font-family: var(--surfacee7646-body-font);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--surfacee7646-mist);
  margin: 0 0 10px;
}

/* two-column page directory */
.surfacee7646-directory {
  columns: 2;
  column-gap: 18px;
  border: 1px solid var(--surfacee7646-line);
  border-radius: var(--surfacee7646-radius);
  background: rgba(243, 237, 227, 0.03);
  padding: 12px 14px;
}
.surfacee7646-directory ul { list-style: none; margin: 0; padding: 0; }
.surfacee7646-directory li {
  margin: 0 0 10px;
  break-inside: avoid;
  border-bottom: 1px dotted var(--surfacee7646-line);
  padding-bottom: 8px;
}
.surfacee7646-directory a {
  display: block;
  color: var(--surfacee7646-paper);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}
.surfacee7646-directory a:hover { color: #FF8A5C; text-decoration: none; }
.surfacee7646-directory small {
  display: block;
  font-size: 11.5px;
  color: var(--surfacee7646-mist);
  font-weight: 400;
  margin-top: 2px;
  line-height: 1.35;
}

.surfacee7646-brandnote {
  border: 1px solid var(--surfacee7646-line);
  border-radius: var(--surfacee7646-radius);
  padding: 12px 14px;
  font-size: 13px;
  color: var(--surfacee7646-mist);
  background: rgba(243, 237, 227, 0.03);
}
.surfacee7646-brandnote p { margin: 0; }

/* 7 promo entrances: 3 square buttons stacked, 4 inline text links */
.surfacee7646-promo-stack { display: flex; flex-direction: column; gap: 8px; margin: 0 0 12px; }
.surfacee7646-promo-links { font-size: 13px; line-height: 2; }
.surfacee7646-textlink {
  background: none;
  border: none;
  padding: 0;
  margin: 0;
  color: var(--surfacee7646-ember);
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  text-align: left;
  border-bottom: 1px dotted var(--surfacee7646-line-strong);
  min-height: 0;
}
.surfacee7646-textlink:hover {
  color: #FF8A5C;
  border-bottom-color: var(--surfacee7646-ember);
  text-decoration: none;
}

.surfacee7646-disclaimer {
  border-top: 1px solid var(--surfacee7646-line);
  padding-top: 12px;
  font-size: 12px;
  color: var(--surfacee7646-mist);
  line-height: 1.55;
}
.surfacee7646-disclaimer p { margin: 0 0 6px; }

/* ---------- common footer ---------- */
.surfacee7646-footer {
  margin: 10px 0 0;
  padding: 14px 0 6px;
  border-top: 1px solid var(--surfacee7646-line);
  text-align: center;
  color: var(--surfacee7646-mist);
  font-size: 12px;
}
.surfacee7646-footer p { margin: 0; }

/* ---------- bottom navigation: center-raised bar ---------- */
.surfacee7646-bottombar {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--surfacee7646-canvas);
  z-index: 95;
  background: rgba(20, 29, 40, 0.98);
  border-top: 1px solid var(--surfacee7646-line);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.surfacee7646-tabs {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  height: var(--surfacee7646-bottombar);
}

/* sliding accent indicator */
.surfacee7646-tab-indicator {
  position: absolute;
  top: 0;
  left: 0;
  width: 20%;
  height: 2px;
  background: var(--surfacee7646-ember);
  transition: transform 0.28s cubic-bezier(0.4, 0.6, 0.2, 1), width 0.28s cubic-bezier(0.4, 0.6, 0.2, 1);
  transform: translateX(0);
}

.surfacee7646-tab {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  height: 100%;
  min-height: var(--surfacee7646-tap);
  background: none;
  border: 0;
  padding: 6px 2px 8px;
  color: var(--surfacee7646-mist);
  font-family: var(--surfacee7646-body-font);
  font-size: 10.5px;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.16s ease, transform 0.16s ease;
  -webkit-tap-highlight-color: transparent;
}
.surfacee7646-tab:hover { color: var(--surfacee7646-paper); text-decoration: none; transform: translateY(-2px); }

.surfacee7646-tab svg {
  width: 21px;
  height: 21px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.surfacee7646-tab[data-active="true"] {
  color: var(--surfacee7646-ember);
  transform: translateY(-2px); /* active lift */
  font-weight: 700;
}

/* raised center item */
.surfacee7646-tab--raised { height: auto; padding: 0 2px 8px; }
.surfacee7646-tab--raised .surfacee7646-tab-orb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin-top: -24px; /* lifts the orb above the bar */
  background: linear-gradient(160deg, var(--surfacee7646-ember), var(--surfacee7646-ember-deep));
  border: 2px solid var(--surfacee7646-void);
  border-radius: 50%;
  color: #16100B;
  box-shadow: 0 6px 14px rgba(230, 81, 0, 0.35);
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.surfacee7646-tab--raised:hover .surfacee7646-tab-orb,
.surfacee7646-tab--raised[data-active="true"] .surfacee7646-tab-orb {
  transform: translateY(-3px);
  box-shadow: 0 9px 18px rgba(230, 81, 0, 0.45);
}
.surfacee7646-tab--raised svg { width: 23px; height: 23px; stroke-width: 2; }

/* ---------- wide-screen behaviour: keep the phone canvas ---------- */
@media (min-width: 480px) {
  .surfacee7646-page { box-shadow: 0 0 0 1px rgba(243, 237, 227, 0.08), 0 24px 60px rgba(0, 0, 0, 0.45); }
}

@media (min-width: 430px) {
  .surfacee7646-grid { gap: 9px; }
  .surfacee7646-strip { min-height: 62px; }
  .surfacee7646-strip-name { font-size: 13px; }
}

/* slightly roomier strips on very narrow phones */
@media (max-width: 340px) {
  .surfacee7646-strip { gap: 7px; padding: 5px 6px; }
  .surfacee7646-strip-icon { width: 42px; height: 42px; }
  .surfacee7646-fact small { font-size: 10px; }
}

/* ---------- compatible mobile and reading refinements ---------- */
.surfacee7646-skip { min-height: 44px; }
.surfacee7646-header .surfacee7646-btn { padding: 7px 8px; font-size: 11px; letter-spacing: 0; }
.surfacee7646-head-actions { gap: 4px; padding-right: 7px; padding-left: 0; }
.surfacee7646-brand { gap: 6px; padding-left: 8px; padding-right: 5px; }
.surfacee7646-brand-name { font-size: 20px; }
.surfacee7646-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 5px; }
.surfacee7646-strip { display: block; min-height: 104px; padding: 5px; overflow-wrap: normal; }
.surfacee7646-strip-icon { display: inline-block; float: none; vertical-align: middle; width: 24px; height: 24px; margin: 0 3px 3px 0; aspect-ratio: 1; }
.surfacee7646-strip-name { display: inline; overflow: visible; font-size: 10px; line-height: 1.5; font-weight: 600; word-break: normal; -webkit-line-clamp: unset; }
.surfacee7646-strip::after { content: ''; display: block; clear: both; }
.surfacee7646-cat-head { display: block; }
.surfacee7646-cat-count { display: inline-block; margin: 6px 0 4px; }
.surfacee7646-dot { width: 44px; height: 44px; border: 0; border-radius: 0; position: relative; }
.surfacee7646-dot::before { content: ''; position: absolute; left: 6px; right: 6px; top: 20px; height: 5px; background: var(--surfacee7646-mist); }
.surfacee7646-dot[data-active='true'] { background: transparent; }
.surfacee7646-dot[data-active='true']::before { background: var(--surfacee7646-ember); }
.surfacee7646-menu-close { min-width: 44px; min-height: 44px; }
.surfacee7646-textlink { min-height: 44px; padding: 8px 0; color: #FF966D; }
.surfacee7646-main p a, .surfacee7646-main li a { display: inline-block; min-height: 44px; padding-top: 8px; padding-bottom: 8px; color: #FF966D; text-decoration: underline; text-underline-offset: 3px; }
.surfacee7646-directory a { min-height: 44px; }
.surfacee7646-directory { columns: unset; padding: 10px; }
.surfacee7646-directory ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 12px; }
.surfacee7646-directory li { margin: 0; }
.surfacee7646-section, .surfacee7646-hero { scroll-margin-top: 74px; }
.surfacee7646-slide { aspect-ratio: auto; }
.surfacee7646-slide img { position: static; aspect-ratio: 2 / 1; width: 100%; height: auto; object-fit: contain; }
.surfacee7646-banner-image { display: block; width: 100%; min-height: 44px; padding: 0; border: 0; background: var(--surfacee7646-panel-deep); cursor: pointer; }
.surfacee7646-slide-caption { position: static; padding: 12px; background: var(--surfacee7646-panel-deep); }
.surfacee7646-breadcrumb { font-size: 12px; color: var(--surfacee7646-mist); margin-bottom: 12px; }
.surfacee7646-boundary { border: 1px solid var(--surfacee7646-ember-deep); padding: 12px; margin: 14px 0; font-size: 14px; }
.surfacee7646-glossary { margin: 14px 0; }
.surfacee7646-glossary dt { font-family: var(--surfacee7646-head-font); font-weight: 700; padding: 10px 0 4px; border-top: 1px solid var(--surfacee7646-line); }
.surfacee7646-glossary dd { margin: 0 0 12px; font-size: 14px; }
.surfacee7646-decision { border-bottom: 1px solid var(--surfacee7646-line); padding: 16px 0; }
.surfacee7646-decision h3 { margin-bottom: 8px; }
.surfacee7646-brief { margin: 16px 0; padding: 12px; border: 1px solid var(--surfacee7646-line-strong); background: var(--surfacee7646-panel-deep); }
.surfacee7646-brief li { padding: 6px 0; }
.surfacee7646-pause { display: block; margin: 0 auto 8px; }
@media (min-width: 410px) { .surfacee7646-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
@media (max-width: 340px) { .surfacee7646-strip { padding: 5px; } .surfacee7646-strip-icon { width: 24px; height: 24px; } }

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