
:root {
  --ux-bg: #120d1d;
  --ux-surface: #1c1530;
  --ux-surface2: #251c40;
  --ux-line: #3a2c5c;
  --ux-ink: #f3eefc;
  --ux-mute: #b9acd6;
  --ux-accent: #ff9770;
  --ux-accent2: #70d6ff;
  --ux-warn: #ffd166;
}

/* 01. Reset and global document defaults */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  overflow-x: clip;
}

html.ux-lock body {
  overflow: hidden;
}

body {
  font-family: 'Thasadith', 'Noto Sans Thai', sans-serif;
  font-size: 19px;
  line-height: 1.8;
  background-color: var(--ux-bg);
  color: var(--ux-ink);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

body.ux-body {
  background-color: var(--ux-bg);
  color: var(--ux-ink);
}

@media (min-width: 1100px) {
  body.ux-body {
    padding-right: 64px;
  }
}

@media (max-width: 1099.98px) {
  body.ux-body {
    padding-bottom: 78px;
  }
}

img {
  max-width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

svg {
  display: block;
}

svg.ux-ic {
  fill: none;
  stroke: currentColor;
  flex-shrink: 0;
}

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--ux-accent2);
  outline-offset: 2px;
}

a.ux-skip {
  display: none;
}

/* 02. Page layout containers */
.ux-wrap {
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  width: 100%;
}

@media (max-width: 1099.98px) {
  .ux-wrap {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* 03. Core button system */
.ux-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 20px;
  border-radius: 12px;
  font-family: 'Thasadith', 'Noto Sans Thai', sans-serif;
  font-weight: 700;
  font-size: 17px;
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
  border: none;
  line-height: 1;
  transition: background-color 160ms ease, color 160ms ease, filter 160ms ease;
}

.ux-btn-fill {
  background-color: var(--ux-accent);
  color: #120d1d;
}

.ux-btn-fill:hover {
  filter: brightness(1.1);
}

.ux-btn-ghost {
  background-color: transparent;
  border: 1.5px solid var(--ux-accent2);
  color: var(--ux-accent2);
}

.ux-btn-ghost:hover {
  background-color: rgba(112, 214, 255, 0.12);
}

.ux-btn-lg {
  min-height: 52px;
  padding: 0 28px;
  font-size: 19px;
}

/* 04. Sticky header and mobile drawer */
header.ux-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: #120d1d;
  border-bottom: 1px solid var(--ux-line);
}

header.ux-head.is-scrolled {
  box-shadow: 0 8px 24px rgba(18, 13, 29, 0.85);
}

.ux-head-in {
  display: flex;
  align-items: center;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
  height: 64px;
  width: 100%;
}

@media (max-width: 1099.98px) {
  .ux-head-in {
    height: 56px;
    padding: 0 12px;
  }
}

a.ux-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

a.ux-logo > img {
  height: 36px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

@media (max-width: 1099.98px) {
  a.ux-logo > img {
    height: 30px;
  }
}

.ux-head-cta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.ux-head-cta .ux-btn {
  padding: 0 14px;
}

@media (max-width: 1099.98px) {
  .ux-head-cta .ux-btn {
    min-height: 40px;
    font-size: 16px;
  }
}

@media (max-width: 429.98px) {
  .ux-head-cta .ux-btn-ghost {
    display: none;
  }
}

button.ux-burger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--ux-line);
  border-radius: 10px;
  background-color: transparent;
  color: var(--ux-ink);
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

@media (max-width: 1099.98px) {
  button.ux-burger {
    display: inline-flex;
  }
}

.ux-drawer {
  display: none;
}

.ux-drawer.is-open {
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  max-height: calc(100vh - 56px);
  overflow-y: auto;
  background-color: #17102a;
  border-bottom: 1px solid var(--ux-line);
}

@media (min-width: 1100px) {
  .ux-drawer,
  .ux-drawer.is-open {
    display: none !important;
  }
}

.ux-drawer-in {
  padding: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.ux-dr-g {
  border-left: 2px solid var(--ux-accent);
  padding-left: 12px;
}

.ux-dr-h {
  font-size: 14px;
  color: var(--ux-accent);
  font-weight: 700;
  margin-bottom: 6px;
}

a.ux-dr-a {
  display: block;
  padding: 10px 0;
  font-size: 17px;
  min-height: 44px;
  color: var(--ux-ink);
  text-decoration: none;
  line-height: 24px;
}

.ux-dr-cta {
  grid-column: span 2;
  width: 100%;
}

.ux-dr-cta .ux-btn {
  width: 100%;
  justify-content: center;
}

/* 05. Desktop rail navigation */
nav.ux-rail {
  display: none;
}

@media (min-width: 1100px) {
  nav.ux-rail {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: fixed;
    right: 0;
    top: 64px;
    bottom: 0;
    width: 64px;
    background-color: var(--ux-surface);
    border-left: 1px solid var(--ux-line);
    z-index: 40;
    padding: 14px 0;
    overflow: visible;
  }
}

.ux-rail-g {
  position: relative;
  width: 64px;
}

a.ux-rail-main {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 48px;
  color: var(--ux-mute);
  text-decoration: none;
  position: relative;
  transition: color 160ms ease;
}

a.ux-rail-main:hover,
.ux-rail-g.ux-on a.ux-rail-main {
  color: var(--ux-accent);
}

a.ux-rail-main:hover::after,
.ux-rail-g.ux-on a.ux-rail-main::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background-color: var(--ux-accent);
}

span.ux-rail-t {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.ux-rail-fly {
  position: absolute;
  right: 64px;
  top: 0;
  min-width: 210px;
  background-color: var(--ux-surface2);
  border: 1px solid var(--ux-line);
  border-radius: 12px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(8px);
  transition: opacity 160ms ease, visibility 160ms ease, transform 160ms ease;
  pointer-events: none;
}

.ux-rail-g:hover .ux-rail-fly,
.ux-rail-g:focus-within .ux-rail-fly,
.ux-rail-g.is-hot .ux-rail-fly {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  pointer-events: auto;
}

a.ux-rail-sub {
  display: block;
  white-space: nowrap;
  padding: 10px 12px;
  font-size: 17px;
  color: var(--ux-ink);
  text-decoration: none;
  border-radius: 8px;
  transition: background-color 160ms ease, color 160ms ease;
}

a.ux-rail-sub:hover {
  background-color: rgba(255, 151, 112, 0.12);
}

a.ux-rail-sub[aria-current="page"] {
  color: var(--ux-accent);
  font-weight: 700;
}

/* 06. Hero section with compass theme */
section.ux-hero {
  position: relative;
  padding: 40px 0 28px;
  background: radial-gradient(circle at 10% 10%, var(--ux-surface) 0%, rgba(18, 13, 29, 0) 65%), var(--ux-bg);
}

section.ux-hero::after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 10px;
  background: repeating-linear-gradient(90deg, var(--ux-line) 0px, var(--ux-line) 2px, transparent 2px, transparent 14px);
}

.ux-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 36px;
  align-items: center;
}

@media (max-width: 899.98px) {
  .ux-hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .ux-hero-art {
    order: -1;
  }
}

.ux-hero-art {
  display: flex;
  align-items: center;
  justify-content: center;
}

svg.ux-compass {
  max-width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(112, 214, 255, 0.18));
}

@media (min-width: 1100px) {
  svg.ux-compass {
    max-width: 420px;
  }
}

@media (max-width: 1099.98px) {
  svg.ux-compass {
    max-width: 260px;
  }
}

.ux-eyebrow {
  font-size: 15px;
  font-weight: 700;
  color: var(--ux-accent2);
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  display: block;
}

h1.ux-h1 {
  font-size: clamp(28px, 5vw, 46px);
  line-height: 1.3;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--ux-ink);
  overflow-wrap: anywhere;
  min-width: 0;
}

.ux-lead {
  font-size: 20px;
  color: var(--ux-mute);
  max-width: 60ch;
  line-height: 1.8;
  margin-bottom: 24px;
}

.ux-hero-ways {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

a.ux-way {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: 999px;
  border: 1px solid var(--ux-accent2);
  font-size: 16px;
  min-height: 36px;
  color: var(--ux-accent2);
  text-decoration: none;
  transition: background-color 160ms ease, color 160ms ease;
}

a.ux-way:hover {
  background-color: var(--ux-accent2);
  color: #120d1d;
}

.ux-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* 07. Standard sections and typography */
section.ux-sec {
  padding: 44px 0;
}

@media (max-width: 1099.98px) {
  section.ux-sec {
    padding: 32px 0;
  }
}

.ux-sechead {
  margin-bottom: 22px;
}

h2.ux-h2 {
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 700;
  line-height: 1.35;
  color: var(--ux-ink);
  position: relative;
  padding-top: 12px;
  margin: 0;
  overflow-wrap: anywhere;
  min-width: 0;
}

h2.ux-h2::before {
  content: "";
  display: block;
  width: 36px;
  height: 4px;
  background-color: var(--ux-accent);
  border-radius: 2px;
  margin-bottom: 12px;
}

h3.ux-h3 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ux-ink);
  overflow-wrap: anywhere;
  min-width: 0;
}

/* 08. Route guide cards */
.ux-routes {
  width: 100%;
}

.ux-route-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 799.98px) {
  .ux-route-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

article.ux-route {
  background-color: var(--ux-surface);
  border: 1px solid var(--ux-line);
  border-radius: 14px;
  padding: 22px;
  border-left: 4px solid var(--ux-accent);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

span.ux-route-n {
  font-family: 'Rubik Mono One', monospace;
  font-size: 30px;
  color: var(--ux-accent2);
  opacity: 0.9;
  line-height: 1;
}

/* 09. Game showcase cards and partner logos */
.ux-games {
  width: 100%;
}

.ux-ggrid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 639.98px) {
  .ux-ggrid {
    grid-template-columns: minmax(0, 1fr);
  }
}

article.ux-gcard {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  min-height: 240px;
  border: 1px solid var(--ux-line);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

@media (max-width: 1099.98px) {
  article.ux-gcard {
    min-height: 200px;
  }
}

img.ux-gc-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  max-width: 100%;
}

.ux-gc-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: var(--ux-surface2);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ux-gc-art svg {
  max-width: 100%;
  height: auto;
}

.ux-gc-txt {
  position: relative;
  z-index: 1;
  padding: 18px;
  background: linear-gradient(0deg, rgba(18, 13, 29, 0.95) 40%, rgba(18, 13, 29, 0) 100%);
  color: var(--ux-ink);
}

.ux-gc-txt h3.ux-h3 {
  margin-bottom: 6px;
}

.ux-gc-txt p {
  font-size: 17px;
  color: var(--ux-mute);
  line-height: 1.6;
  margin: 0;
}

ul.ux-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  margin-top: 24px;
  padding: 0;
}

li.ux-logo-i {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background-color: #0e0a18;
  border: 1px solid var(--ux-line);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  flex-shrink: 0;
}

img.ux-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-width: 100%;
}

/* 10. Long form article prose */
.ux-long {
  width: 100%;
}

.ux-prose {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  color: var(--ux-ink);
  line-height: 1.8;
}

.ux-prose h2 {
  font-size: clamp(24px, 3.4vw, 34px);
  font-weight: 700;
  line-height: 1.35;
  color: var(--ux-ink);
  margin-top: 40px;
  margin-bottom: 16px;
}

.ux-prose h3 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ux-ink);
  margin-top: 26px;
  margin-bottom: 12px;
}

.ux-prose p {
  margin: 0 0 18px 0;
}

.ux-prose ul,
.ux-prose ol {
  padding-left: 22px;
  margin: 0 0 18px 0;
}

.ux-prose li {
  margin: 8px 0;
}

.ux-prose a {
  color: var(--ux-accent2);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.ux-prose strong {
  color: #ffffff;
  font-weight: 700;
}

.ux-prose table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--ux-line);
  display: block;
  overflow-x: auto;
  margin: 24px 0;
}

.ux-prose th,
.ux-prose td {
  border: 1px solid var(--ux-line);
  padding: 10px 14px;
  text-align: left;
}

.ux-prose th {
  background-color: var(--ux-surface);
  color: var(--ux-accent2);
  font-weight: 700;
}

aside.ux-mid {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  background-color: var(--ux-surface2);
  border: 1.5px dashed var(--ux-accent);
  border-radius: 14px;
  padding: 16px 20px;
  margin: 30px 0;
}

/* 11. Feature grid with visual assets */
.ux-fl {
  width: 100%;
}

.ux-fl-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

@media (max-width: 799.98px) {
  .ux-fl-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.ux-fl-imgs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

img.ux-fl-img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 10px;
  width: 100%;
  max-width: 100%;
}

.ux-fl-art {
  display: flex;
  align-items: center;
  justify-content: center;
}

svg.ux-fishart {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
}

.ux-fl-col p {
  margin-top: 14px;
  margin-bottom: 0;
  line-height: 1.8;
}

/* 12. Interactive accordion FAQ */
section.ux-faq {
  padding: 44px 0;
}

.ux-qs {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

details.ux-q {
  background-color: var(--ux-surface);
  border: 1px solid var(--ux-line);
  border-radius: 12px;
  margin-bottom: 10px;
  overflow: hidden;
}

summary.ux-q-s {
  padding: 16px 48px 16px 18px;
  font-size: 19px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  position: relative;
  min-height: 52px;
  display: flex;
  align-items: center;
  color: var(--ux-ink);
  user-select: none;
}

summary.ux-q-s::-webkit-details-marker {
  display: none;
}

summary.ux-q-s::after {
  content: "+";
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  font-weight: 700;
  color: var(--ux-accent2);
  line-height: 1;
}

details.ux-q[open] > summary.ux-q-s::after {
  content: "-";
}

.ux-q-a {
  padding: 0 18px 16px;
  color: var(--ux-mute);
  font-size: 18px;
  line-height: 1.8;
}

/* 13. Prominent bottom call to action */
.ux-cta-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(120deg, #2a1f4d, #1c1530);
  border: 1px solid var(--ux-accent);
  border-radius: 18px;
  padding: 28px;
}

@media (max-width: 1099.98px) {
  .ux-cta-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

/* 14. Subpage hero header and badge */
section.ux-phero {
  padding: 28px 0 22px;
  background-color: var(--ux-surface);
  border-bottom: 1px solid var(--ux-line);
}

.ux-phero-grid {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.ux-phero-mark {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ux-phero-mark svg {
  width: 96px;
  height: 96px;
  max-width: 100%;
}

@media (max-width: 699.98px) {
  .ux-phero-mark {
    display: none;
  }
}

p.ux-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  font-size: 15px;
  color: var(--ux-mute);
  margin: 10px 0 16px 0;
  align-items: center;
}

span.ux-b18 {
  font-family: 'Rubik Mono One', monospace;
  font-size: 13px;
  border: 1.5px solid var(--ux-warn);
  color: var(--ux-warn);
  border-radius: 6px;
  padding: 2px 7px;
  display: inline-block;
  line-height: 1.2;
}

.ux-body-sec {
  padding-top: 36px;
}

/* 15. Breadcrumb trail */
nav.ux-crumbs {
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  padding: 14px 20px;
  font-size: 15px;
}

ol.ux-bc {
  display: flex;
  flex-wrap: wrap;
  list-style: none;
  gap: 4px;
  padding: 0;
  margin: 0;
  align-items: center;
}

li.ux-bc-i {
  display: inline-flex;
  align-items: center;
}

li.ux-bc-i + li.ux-bc-i::before {
  content: "›";
  color: var(--ux-line);
  margin-right: 6px;
}

li.ux-bc-i a {
  color: var(--ux-mute);
  text-decoration: none;
  transition: color 160ms ease;
}

li.ux-bc-i a:hover {
  color: var(--ux-accent2);
}

/* 16. Child category navigation cards */
.ux-kid-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 699.98px) {
  .ux-kid-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

a.ux-kid {
  display: flex;
  flex-direction: row;
  background-color: var(--ux-surface);
  border: 1px solid var(--ux-line);
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: var(--ux-ink);
  transition: border-color 160ms ease;
}

a.ux-kid:hover {
  border-color: var(--ux-accent);
}

@media (max-width: 699.98px) {
  a.ux-kid {
    flex-direction: column;
  }
}

img.ux-kid-img,
.ux-kid-art {
  width: 38%;
  min-height: 150px;
  object-fit: cover;
  background-color: var(--ux-surface2);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ux-kid-art svg {
  max-width: 100%;
  height: auto;
}

@media (max-width: 699.98px) {
  img.ux-kid-img,
  .ux-kid-art {
    width: 100%;
  }
}

.ux-kid-b {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  justify-content: center;
}

strong.ux-kid-t {
  font-size: 20px;
  font-weight: 700;
  color: var(--ux-ink);
  line-height: 1.4;
}

span.ux-kid-d {
  font-size: 16px;
  color: var(--ux-mute);
  line-height: 1.6;
}

/* 17. Image galleries and visual motifs */
ul.ux-gal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

@media (max-width: 1099.98px) {
  ul.ux-gal-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 559.98px) {
  ul.ux-gal-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

li.ux-gal-i {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background-color: #0e0a18;
  border: 1px solid var(--ux-line);
  display: flex;
  flex-direction: column;
}

img.ux-gal-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  max-width: 100%;
}

span.ux-gal-n {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(18, 13, 29, 0.88);
  padding: 6px 8px;
  font-size: 14px;
  color: var(--ux-ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
}

ul.ux-gal-live {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

@media (max-width: 1099.98px) {
  ul.ux-gal-live {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

ul.ux-gal-live img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

.ux-artrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.ux-artrow svg {
  max-width: 320px;
  width: 100%;
  height: auto;
}

/* 18. Site footer and security advisories */
footer.ux-foot {
  background-color: #0d0916;
  border-top: 1px solid var(--ux-line);
  padding: 36px 0 24px;
}

@media (max-width: 1099.98px) {
  footer.ux-foot {
    padding-bottom: 90px;
  }
}

.ux-foot-in {
  max-width: 1160px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

@media (max-width: 1099.98px) {
  .ux-foot-in {
    padding: 0 16px;
  }
}

.ux-tips {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

@media (max-width: 799.98px) {
  .ux-tips {
    grid-template-columns: minmax(0, 1fr);
  }
}

div.ux-tip {
  background-color: var(--ux-surface);
  border: 1px dashed var(--ux-accent2);
  border-radius: 12px;
  padding: 14px 16px;
}

div.ux-tip strong {
  display: block;
  color: var(--ux-accent2);
  font-weight: 700;
  margin-bottom: 4px;
}

div.ux-tip span {
  font-size: 16px;
  color: var(--ux-mute);
  line-height: 1.6;
}

.ux-fgrid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  margin: 28px 0;
}

@media (max-width: 799.98px) {
  .ux-fgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 479.98px) {
  .ux-fgrid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.ux-fh {
  font-size: 17px;
  color: var(--ux-accent);
  font-weight: 700;
  margin-bottom: 12px;
  display: block;
}

.ux-fcol a {
  display: block;
  padding: 6px 0;
  font-size: 17px;
  color: var(--ux-mute);
  min-height: 36px;
  text-decoration: none;
  line-height: 24px;
  transition: color 160ms ease;
}

.ux-fcol a:hover {
  color: var(--ux-ink);
}

.ux-fbot {
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--ux-line);
  padding-top: 16px;
  font-size: 15px;
  color: var(--ux-mute);
  flex-wrap: wrap;
}

/* 19. Mobile bottom fixed navigation bar */
nav.ux-bnav {
  display: none;
}

@media (max-width: 1099.98px) {
  nav.ux-bnav {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    height: 64px;
    z-index: 60;
    background-color: #17102a;
    border-top: 1px solid var(--ux-line);
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    padding-bottom: env(safe-area-inset-bottom);
  }
}

a.ux-bn-a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  font-size: 12px;
  color: var(--ux-mute);
  text-decoration: none;
  transition: color 160ms ease;
}

a.ux-bn-a svg.ux-ic {
  width: 22px;
  height: 22px;
}

a.ux-bn-a.ux-on {
  color: var(--ux-accent);
}

a.ux-bn-cta {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--ux-accent);
  color: #120d1d;
  margin-top: -18px;
  justify-self: center;
  align-self: center;
  box-shadow: 0 0 0 5px #17102a;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: filter 160ms ease;
}

a.ux-bn-cta:hover {
  filter: brightness(1.1);
}

a.ux-bn-cta svg.ux-ic {
  width: 22px;
  height: 22px;
  stroke: #120d1d;
}

/* 20. Error 404 layout */
.ux-404 {
  text-align: center;
  padding: 60px 0;
}

.ux-404 h1.ux-h1 {
  margin-bottom: 16px;
}

.ux-404 p {
  color: var(--ux-mute);
  max-width: 50ch;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 24px;
}

/* 21. Motion preferences and accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
/* 22. Supplement: structural wrappers and CTA band */
.ux-main { display: block; min-width: 0; }
.ux-cta { padding-top: 40px; padding-bottom: 40px; }
.ux-cta-t { min-width: 0; flex: 1 1 280px; }
.ux-cta-b { flex: 0 0 auto; display: flex; align-items: center; }
.ux-gal, .ux-kids, .ux-hero-txt, .ux-fbrand { min-width: 0; }
.ux-phoneart, .ux-fishart { display: block; max-width: 100%; height: auto; margin-left: auto; margin-right: auto; }
.ux-cp-l { font-family: 'Rubik Mono One', sans-serif; }
@media (max-width: 639.98px) {
  .ux-cta-b { width: 100%; }
  .ux-cta-b .ux-btn { width: 100%; justify-content: center; }
}
.ux-prose a.ux-btn-fill, .ux-mid a.ux-btn-fill { color: #120d1d; text-decoration: none; }
.ux-prose a.ux-btn-ghost, .ux-mid a.ux-btn-ghost { text-decoration: none; }
a.ux-logo { min-height: 44px; }
.ux-gc-txt { background: linear-gradient(to top, rgba(18, 13, 29, 0.94), rgba(18, 13, 29, 0.78) 70%, rgba(18, 13, 29, 0)); }
.ux-gc-txt p { color: #f3eefc; }
